@gears-frontx/ui-kit 0.5.0 → 0.7.1
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/README.md +2 -2
- package/dist/accordion.js +2 -34
- package/dist/accordion.js.map +1 -1
- package/dist/alert-dialog.js +2 -96
- package/dist/alert-dialog.js.map +1 -1
- package/dist/alert.js +2 -49
- package/dist/alert.js.map +1 -1
- package/dist/aspect-ratio.js +2 -18
- package/dist/aspect-ratio.js.map +1 -1
- package/dist/attachment.js +2 -181
- package/dist/attachment.js.map +1 -1
- package/dist/avatar.js +2 -86
- package/dist/avatar.js.map +1 -1
- package/dist/badge.js +2 -71
- package/dist/badge.js.map +1 -1
- package/dist/breadcrumb.js +2 -80
- package/dist/breadcrumb.js.map +1 -1
- package/dist/bubble.js +2 -94
- package/dist/bubble.js.map +1 -1
- package/dist/button-group.js +2 -60
- package/dist/button-group.js.map +1 -1
- package/dist/button.js +2 -82
- package/dist/button.js.map +1 -1
- package/dist/calendar.js +2 -133
- package/dist/calendar.js.map +1 -1
- package/dist/card.js +2 -113
- package/dist/card.js.map +1 -1
- package/dist/carousel.js +2 -162
- package/dist/carousel.js.map +1 -1
- package/dist/chart.js +1 -268
- package/dist/chart.js.map +1 -1
- package/dist/checkbox.js +2 -20
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/components/accordion/accordion.js +28 -0
- package/dist/chunks/components/accordion/accordion.js.map +1 -0
- package/dist/chunks/components/accordion/accordion.module.css.js +21 -0
- package/dist/chunks/components/accordion/accordion.module.css.js.map +1 -0
- package/dist/chunks/components/alert/alert.js +44 -0
- package/dist/chunks/components/alert/alert.js.map +1 -0
- package/dist/chunks/components/alert/alert.module.css.js +21 -0
- package/dist/chunks/components/alert/alert.module.css.js.map +1 -0
- package/dist/chunks/components/alert-dialog/alert-dialog.js +92 -0
- package/dist/chunks/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/chunks/components/alert-dialog/alert-dialog.module.css.js +21 -0
- package/dist/chunks/components/alert-dialog/alert-dialog.module.css.js.map +1 -0
- package/dist/chunks/components/aspect-ratio/aspect-ratio.js +18 -0
- package/dist/chunks/components/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/chunks/components/aspect-ratio/aspect-ratio.module.css.js +9 -0
- package/dist/chunks/components/aspect-ratio/aspect-ratio.module.css.js.map +1 -0
- package/dist/chunks/components/attachment/attachment.js +167 -0
- package/dist/chunks/components/attachment/attachment.js.map +1 -0
- package/dist/chunks/components/attachment/attachment.module.css.js +39 -0
- package/dist/chunks/components/attachment/attachment.module.css.js.map +1 -0
- package/dist/chunks/components/avatar/avatar.js +71 -0
- package/dist/chunks/components/avatar/avatar.js.map +1 -0
- package/dist/chunks/components/avatar/avatar.module.css.js +41 -0
- package/dist/chunks/components/avatar/avatar.module.css.js.map +1 -0
- package/dist/chunks/components/badge/badge.js +57 -0
- package/dist/chunks/components/badge/badge.js.map +1 -0
- package/dist/chunks/components/badge/badge.module.css.js +39 -0
- package/dist/chunks/components/badge/badge.module.css.js.map +1 -0
- package/dist/chunks/components/breadcrumb/breadcrumb.js +73 -0
- package/dist/chunks/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/chunks/components/breadcrumb/breadcrumb.module.css.js +23 -0
- package/dist/chunks/components/breadcrumb/breadcrumb.module.css.js.map +1 -0
- package/dist/chunks/components/bubble/bubble.js +81 -0
- package/dist/chunks/components/bubble/bubble.js.map +1 -0
- package/dist/chunks/components/bubble/bubble.module.css.js +37 -0
- package/dist/chunks/components/bubble/bubble.module.css.js.map +1 -0
- package/dist/chunks/components/button/button.js +67 -0
- package/dist/chunks/components/button/button.js.map +1 -0
- package/dist/chunks/components/button/button.module.css.js +41 -0
- package/dist/chunks/components/button/button.module.css.js.map +1 -0
- package/dist/chunks/components/button-group/button-group.js +57 -0
- package/dist/chunks/components/button-group/button-group.js.map +1 -0
- package/dist/chunks/components/button-group/button-group.module.css.js +17 -0
- package/dist/chunks/components/button-group/button-group.module.css.js.map +1 -0
- package/dist/chunks/components/calendar/calendar.js +106 -0
- package/dist/chunks/components/calendar/calendar.js.map +1 -0
- package/dist/chunks/components/calendar/calendar.module.css.js +65 -0
- package/dist/chunks/components/calendar/calendar.module.css.js.map +1 -0
- package/dist/chunks/components/card/card.js +100 -0
- package/dist/chunks/components/card/card.js.map +1 -0
- package/dist/chunks/components/card/card.module.css.js +37 -0
- package/dist/chunks/components/card/card.module.css.js.map +1 -0
- package/dist/chunks/components/carousel/carousel.js +158 -0
- package/dist/chunks/components/carousel/carousel.js.map +1 -0
- package/dist/chunks/components/carousel/carousel.module.css.js +19 -0
- package/dist/chunks/components/carousel/carousel.module.css.js.map +1 -0
- package/dist/chunks/components/chart/chart.js +249 -0
- package/dist/chunks/components/chart/chart.js.map +1 -0
- package/dist/chunks/components/chart/chart.module.css.js +51 -0
- package/dist/chunks/components/chart/chart.module.css.js.map +1 -0
- package/dist/chunks/components/checkbox/checkbox.js +16 -0
- package/dist/chunks/components/checkbox/checkbox.js.map +1 -0
- package/dist/chunks/components/checkbox/checkbox.module.css.js +17 -0
- package/dist/chunks/components/checkbox/checkbox.module.css.js.map +1 -0
- package/dist/chunks/components/code-block/code-block.js +132 -0
- package/dist/chunks/components/code-block/code-block.js.map +1 -0
- package/dist/chunks/components/code-block/code-block.module.css.js +49 -0
- package/dist/chunks/components/code-block/code-block.module.css.js.map +1 -0
- package/dist/chunks/components/collapsible/collapsible.js +20 -0
- package/dist/chunks/components/collapsible/collapsible.js.map +1 -0
- package/dist/chunks/components/collapsible/collapsible.module.css.js +11 -0
- package/dist/chunks/components/collapsible/collapsible.module.css.js.map +1 -0
- package/dist/chunks/components/combobox/combobox.js +158 -0
- package/dist/chunks/components/combobox/combobox.js.map +1 -0
- package/dist/chunks/components/combobox/combobox.module.css.js +53 -0
- package/dist/chunks/components/combobox/combobox.module.css.js.map +1 -0
- package/dist/chunks/components/command/command.js +77 -0
- package/dist/chunks/components/command/command.js.map +1 -0
- package/dist/chunks/components/command/command.module.css.js +33 -0
- package/dist/chunks/components/command/command.module.css.js.map +1 -0
- package/dist/chunks/components/context-menu/context-menu.js +189 -0
- package/dist/chunks/components/context-menu/context-menu.js.map +1 -0
- package/dist/chunks/components/context-menu/context-menu.module.css.js +39 -0
- package/dist/chunks/components/context-menu/context-menu.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/data-grid-content.js +23 -0
- package/dist/chunks/components/data-grid/components/data-grid-content.js.map +1 -0
- package/dist/chunks/components/data-grid/components/data-grid-empty-state.js +19 -0
- package/dist/chunks/components/data-grid/components/data-grid-empty-state.js.map +1 -0
- package/dist/chunks/components/data-grid/components/data-grid-empty-state.module.Dj-_w0zs.css +1 -0
- package/dist/chunks/components/data-grid/components/data-grid-empty-state.module.css.js +9 -0
- package/dist/chunks/components/data-grid/components/data-grid-empty-state.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/data-grid-spinner.js +12 -0
- package/dist/chunks/components/data-grid/components/data-grid-spinner.js.map +1 -0
- package/dist/chunks/components/data-grid/components/data-grid-spinner.module.DK-b-DLO.css +1 -0
- package/dist/chunks/components/data-grid/components/data-grid-spinner.module.css.js +9 -0
- package/dist/chunks/components/data-grid/components/data-grid-spinner.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-chip.js +24 -0
- package/dist/chunks/components/data-grid/components/filter-chip.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-chip.module.css.js +13 -0
- package/dist/chunks/components/data-grid/components/filter-chip.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-chip.module.mM_jL7aO.css +1 -0
- package/dist/chunks/components/data-grid/components/filter-control-area.js +14 -0
- package/dist/chunks/components/data-grid/components/filter-control-area.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-control-area.module.css.js +10 -0
- package/dist/chunks/components/data-grid/components/filter-control-area.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-control-area.module.oazHimWA.css +1 -0
- package/dist/chunks/components/data-grid/components/filter-options-search-input.js +29 -0
- package/dist/chunks/components/data-grid/components/filter-options-search-input.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-popover-content.js +11 -0
- package/dist/chunks/components/data-grid/components/filter-popover-content.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-popover-content.module.DzrnHFtZ.css +1 -0
- package/dist/chunks/components/data-grid/components/filter-popover-content.module.css.js +9 -0
- package/dist/chunks/components/data-grid/components/filter-popover-content.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-reset-button.js +27 -0
- package/dist/chunks/components/data-grid/components/filter-reset-button.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-reset-button.module.-67D76EF.css +1 -0
- package/dist/chunks/components/data-grid/components/filter-reset-button.module.css.js +11 -0
- package/dist/chunks/components/data-grid/components/filter-reset-button.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.js +10 -0
- package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.js.map +1 -0
- package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.module.Cze-YqHc.css +1 -0
- package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.module.css.js +9 -0
- package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/load-controlled.js +19 -0
- package/dist/chunks/components/data-grid/components/load-controlled.js.map +1 -0
- package/dist/chunks/components/data-grid/components/load-controlled.module.css.js +9 -0
- package/dist/chunks/components/data-grid/components/load-controlled.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/components/load-controlled.module.nids5tbv.css +1 -0
- package/dist/chunks/components/data-grid/components/segment.js +19 -0
- package/dist/chunks/components/data-grid/components/segment.js.map +1 -0
- package/dist/chunks/components/data-grid/create-data-grid.js +61 -0
- package/dist/chunks/components/data-grid/create-data-grid.js.map +1 -0
- package/dist/chunks/components/data-grid/data-grid.js +60 -0
- package/dist/chunks/components/data-grid/data-grid.js.map +1 -0
- package/dist/chunks/components/data-grid/data-grid.module.css.js +9 -0
- package/dist/chunks/components/data-grid/data-grid.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/data-grid.module.wZc8o37a.css +1 -0
- package/dist/chunks/{messages.js → components/data-grid/messages.js} +25 -5
- package/dist/chunks/components/data-grid/messages.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions/actions-plugin.js +30 -0
- package/dist/chunks/components/data-grid/plugins/actions/actions-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.js +12 -0
- package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/actions-menu-plugin.js +34 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/actions-menu-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.js +32 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.js +64 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-cells.js +28 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-cells.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-menu-items.js +13 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-menu-items.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.js +147 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/csv-formatter.js +38 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/csv-formatter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/excel-formatter.js +69 -0
- package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/excel-formatter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.js +27 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.js +68 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.js +105 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop.module.css.js +29 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/drag-data.js +15 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/drag-data.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/drag-drop-plugin.js +82 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/drag-drop-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/drag-preview.js +11 -0
- package/dist/chunks/components/data-grid/plugins/drag-drop/drag-preview.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/empty-state/empty-state-plugin.js +29 -0
- package/dist/chunks/components/data-grid/plugins/empty-state/empty-state-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.js +27 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.module.DcNGXhAH.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.js +46 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.module.CR1KYuXn.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-dialog.js +23 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-dialog.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.js +42 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.module.B3c_OUtq.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.module.css.js +15 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-label.js +25 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-label.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.js +40 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.module.XH3lJApo.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-single.js +11 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filter-single.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.js +23 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.module.css.js +13 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.module.ktjQBXI0.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.js +25 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.js +68 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.module.B53xtE6B.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.module.css.js +13 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.js +25 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.js +26 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.js +32 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.js +26 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.js +24 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-selection.js +9 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-selection.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-value.js +21 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-value.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/filter-date-range.js +24 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/filter-date-range.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/entities.js +8 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/entities.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/search/filter-search.js +15 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/search/filter-search.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/search/search-quick-filter.js +27 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/search/search-quick-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.js +25 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.js +25 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.js +42 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.module.DMknNrbm.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.module.css.js +11 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.js +25 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/filter-toggle.js +15 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/filter-toggle.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.js +16 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/filter-tree.js +29 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/filter-tree.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.js +16 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.js +16 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-list.js +30 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-list.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.js +16 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.js +54 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.module.Bybt3yVC.css +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.module.css.js +11 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/use-tree-search.js +37 -0
- package/dist/chunks/components/data-grid/plugins/filters/entities/tree/use-tree-search.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/filters-plugin.js +103 -0
- package/dist/chunks/components/data-grid/plugins/filters/filters-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/services/read-option-values.js +8 -0
- package/dist/chunks/components/data-grid/plugins/filters/services/read-option-values.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/services/use-async-filter-search.js +24 -0
- package/dist/chunks/components/data-grid/plugins/filters/services/use-async-filter-search.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/filters/services/use-filter-search.js +27 -0
- package/dist/chunks/components/data-grid/plugins/filters/services/use-filter-search.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.js +89 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.js.map +1 -0
- package/dist/chunks/{order.D7Jg_Mg8.css → components/data-grid/plugins/order/components/data-grid-order-button.module.BD_CGkvN.css} +1 -1
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.module.css.js +13 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.js +24 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.module.CPL0Ezlu.css +1 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-icon.js +25 -0
- package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-icon.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/order/order-plugin.js +129 -0
- package/dist/chunks/components/data-grid/plugins/order/order-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/order/services/order-labels.js +18 -0
- package/dist/chunks/components/data-grid/plugins/order/services/order-labels.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/order/services/order-option.js +12 -0
- package/dist/chunks/components/data-grid/plugins/order/services/order-option.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.js +27 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.module.Dmd6RNxK.css +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/pager.js +100 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/pager.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/pager.module.BW26KvxI.css +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/pager.module.css.js +17 -0
- package/dist/chunks/components/data-grid/plugins/pagination/components/pager.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/pagination-plugin.js +83 -0
- package/dist/chunks/components/data-grid/plugins/pagination/pagination-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/pagination/services/pagination-items.js +49 -0
- package/dist/chunks/components/data-grid/plugins/pagination/services/pagination-items.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.js +23 -0
- package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-actions/row-actions-plugin.js +35 -0
- package/dist/chunks/components/data-grid/plugins/row-actions/row-actions-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.js +55 -0
- package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-click/row-click-plugin.js +19 -0
- package/dist/chunks/components/data-grid/plugins/row-click/row-click-plugin.js.map +1 -0
- package/dist/chunks/{row-click-utils.js → components/data-grid/plugins/row-click/row-click-utils.js} +6 -5
- package/dist/chunks/components/data-grid/plugins/row-click/row-click-utils.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.js +12 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.js +41 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.js +32 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail.module.BMHqCTxL.css +1 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail.module.css.js +19 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/row-detail-plugin.js +61 -0
- package/dist/chunks/components/data-grid/plugins/row-detail/row-detail-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.js +15 -0
- package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-number/row-number-plugin.js +27 -0
- package/dist/chunks/components/data-grid/plugins/row-number/row-number-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-number/services/row-number-formula.js +8 -0
- package/dist/chunks/components/data-grid/plugins/row-number/services/row-number-formula.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.js +30 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.module.BksgyLuk.css +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.module.css.js +11 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.js +14 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.module.Cw1HlJDm.css +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.module.css.js +9 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-header.js +19 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-header.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.js +23 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.module.css.js +15 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.module.y5T1W0Lg.css +1 -0
- package/dist/chunks/components/data-grid/plugins/row-select/row-select-plugin.js +231 -0
- package/dist/chunks/components/data-grid/plugins/row-select/row-select-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.js +35 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.js +43 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.js +29 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.js +43 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.js +50 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.module.css.js +29 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/table-configuration-plugin.js +13 -0
- package/dist/chunks/components/data-grid/plugins/table-configuration/table-configuration-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-body-cell-content.js +30 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-body-cell-content.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.js +28 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.js +55 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree.module.css.js +23 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-helpers.js +14 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-plugin.js +141 -0
- package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-plugin.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.js +43 -0
- package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.module.css.js +11 -0
- package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/plugins/text-search/text-search-plugin.js +66 -0
- package/dist/chunks/components/data-grid/plugins/text-search/text-search-plugin.js.map +1 -0
- package/dist/chunks/{create-column-auto-size.js → components/data-grid/services/columns/create-column-auto-size.js} +9 -8
- package/dist/chunks/components/data-grid/services/columns/create-column-auto-size.js.map +1 -0
- package/dist/chunks/components/data-grid/services/core/core-service.js +22 -0
- package/dist/chunks/components/data-grid/services/core/core-service.js.map +1 -0
- package/dist/chunks/components/data-grid/services/core/data-grid-context.js +23 -0
- package/dist/chunks/components/data-grid/services/core/data-grid-context.js.map +1 -0
- package/dist/chunks/components/data-grid/services/core/data-grid-label-context.js +11 -0
- package/dist/chunks/components/data-grid/services/core/data-grid-label-context.js.map +1 -0
- package/dist/chunks/components/data-grid/services/core/data-grid-messages-context.js +26 -0
- package/dist/chunks/components/data-grid/services/core/data-grid-messages-context.js.map +1 -0
- package/dist/chunks/{data-grid-portal-container-context.js → components/data-grid/services/core/data-grid-portal-container-context.js} +7 -6
- package/dist/chunks/components/data-grid/services/core/data-grid-portal-container-context.js.map +1 -0
- package/dist/chunks/components/data-grid/services/hooked/hooked.js +15 -0
- package/dist/chunks/components/data-grid/services/hooked/hooked.js.map +1 -0
- package/dist/chunks/components/data-grid/services/internal/internal-helpers.js +6 -0
- package/dist/chunks/components/data-grid/services/internal/internal-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.js +18 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.module.BO8J1cNo.css +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.module.css.js +9 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main-slot-selector.js +27 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main-slot-selector.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.js +16 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.module.B3fZD1rH.css +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.module.css.js +9 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-slot.js +11 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-slot.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.js +17 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.module.D4Hm6Sbm.css +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.module.css.js +17 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.js +35 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.module.VXwHLv91.css +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.module.css.js +11 -0
- package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/components/toolbar-lines.js +30 -0
- package/dist/chunks/components/data-grid/services/layout/components/toolbar-lines.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/data-grid-view.js +15 -0
- package/dist/chunks/components/data-grid/services/layout/data-grid-view.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/layout-service.js +51 -0
- package/dist/chunks/components/data-grid/services/layout/layout-service.js.map +1 -0
- package/dist/chunks/components/data-grid/services/layout/layout-slot-ids.js +7 -0
- package/dist/chunks/components/data-grid/services/layout/layout-slot-ids.js.map +1 -0
- package/dist/chunks/components/data-grid/services/load/load-instance.js +76 -0
- package/dist/chunks/components/data-grid/services/load/load-instance.js.map +1 -0
- package/dist/chunks/components/data-grid/services/load/load-service.js +73 -0
- package/dist/chunks/components/data-grid/services/load/load-service.js.map +1 -0
- package/dist/chunks/components/data-grid/services/load/use-data-grid-loading.js +10 -0
- package/dist/chunks/components/data-grid/services/load/use-data-grid-loading.js.map +1 -0
- package/dist/chunks/components/data-grid/services/persistent-state/persistent-state-service.js +90 -0
- package/dist/chunks/components/data-grid/services/persistent-state/persistent-state-service.js.map +1 -0
- package/dist/chunks/components/data-grid/services/plugins/plugins-helpers.js +25 -0
- package/dist/chunks/components/data-grid/services/plugins/plugins-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/services/plugins/plugins-service.js +37 -0
- package/dist/chunks/components/data-grid/services/plugins/plugins-service.js.map +1 -0
- package/dist/chunks/components/data-grid/services/storage/storage-helpers.js +13 -0
- package/dist/chunks/components/data-grid/services/storage/storage-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/services/storage/storage-service.js +104 -0
- package/dist/chunks/components/data-grid/services/storage/storage-service.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/column-sort-state.js +24 -0
- package/dist/chunks/components/data-grid/services/table/column-sort-state.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-body-cell-content.js +19 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-body-cell-content.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.js +60 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.module.css.js +15 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-content.js +9 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-content.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-body-columns.js +23 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-body-columns.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-cell.js +29 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-cell.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-columns.js +25 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-columns.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-content.js +10 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-content.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-label.js +12 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-label.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.js +60 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.module.BRqcrt13.css +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.module.css.js +13 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-group.js +31 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-header-group.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-row.js +39 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-row.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-body.js +13 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-body.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.js +74 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.module.6E7f_VLO.css +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.module.css.js +9 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-record.js +13 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-record.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-records.js +12 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-records.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-slot.js +12 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table-slot.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table.js +39 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table.module.CSesZ6vp.css +1 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table.module.css.js +17 -0
- package/dist/chunks/components/data-grid/services/table/components/data-grid-table.module.css.js.map +1 -0
- package/dist/chunks/{data-grid-record-context.js → components/data-grid/services/table/data-grid-record-context.js} +6 -5
- package/dist/chunks/components/data-grid/services/table/data-grid-record-context.js.map +1 -0
- package/dist/chunks/{ignore-row-click.js → components/data-grid/services/table/ignore-row-click.js} +4 -3
- package/dist/chunks/components/data-grid/services/table/ignore-row-click.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/resolve-body-cell-props.js +11 -0
- package/dist/chunks/components/data-grid/services/table/resolve-body-cell-props.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/resolve-column-style.js +44 -0
- package/dist/chunks/components/data-grid/services/table/resolve-column-style.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-columns-persistence.js +25 -0
- package/dist/chunks/components/data-grid/services/table/table-columns-persistence.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-columns.js +82 -0
- package/dist/chunks/components/data-grid/services/table/table-columns.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-context.js +9 -0
- package/dist/chunks/components/data-grid/services/table/table-context.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-extra-columns.js +74 -0
- package/dist/chunks/components/data-grid/services/table/table-extra-columns.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-header.js +80 -0
- package/dist/chunks/components/data-grid/services/table/table-header.js.map +1 -0
- package/dist/chunks/{table-helpers.js → components/data-grid/services/table/table-helpers.js} +6 -5
- package/dist/chunks/components/data-grid/services/table/table-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-min-content-width.js +25 -0
- package/dist/chunks/components/data-grid/services/table/table-min-content-width.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-service.js +158 -0
- package/dist/chunks/components/data-grid/services/table/table-service.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-slots.js +25 -0
- package/dist/chunks/components/data-grid/services/table/table-slots.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-sticky.js +117 -0
- package/dist/chunks/components/data-grid/services/table/table-sticky.js.map +1 -0
- package/dist/chunks/components/data-grid/services/table/table-store.js +24 -0
- package/dist/chunks/components/data-grid/services/table/table-store.js.map +1 -0
- package/dist/chunks/{table-types.js → components/data-grid/services/table/table-types.js} +5 -4
- package/dist/chunks/components/data-grid/services/table/table-types.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-actions.js +38 -0
- package/dist/chunks/components/data-grid/tree/components/tree-actions.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-actions.module.DQPl9i6K.css +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-actions.module.css.js +13 -0
- package/dist/chunks/components/data-grid/tree/components/tree-actions.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-content.js +13 -0
- package/dist/chunks/components/data-grid/tree/components/tree-content.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-layout-slot.js +17 -0
- package/dist/chunks/components/data-grid/tree/components/tree-layout-slot.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-left-slot.js +10 -0
- package/dist/chunks/components/data-grid/tree/components/tree-left-slot.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-left-slot.module.Cy5FpwQw.css +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-left-slot.module.css.js +9 -0
- package/dist/chunks/components/data-grid/tree/components/tree-left-slot.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-list-item.js +69 -0
- package/dist/chunks/components/data-grid/tree/components/tree-list-item.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-list-item.module.Bo4Xd0cG.css +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-list-item.module.css.js +15 -0
- package/dist/chunks/components/data-grid/tree/components/tree-list-item.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-main.js +31 -0
- package/dist/chunks/components/data-grid/tree/components/tree-main.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-main.module.css.js +9 -0
- package/dist/chunks/components/data-grid/tree/components/tree-main.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-main.module.xTzg4Rhi.css +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-content.js +19 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-content.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.js +49 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.module.DUUvXFew.css +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.module.css.js +11 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-leaf.js +29 -0
- package/dist/chunks/components/data-grid/tree/components/tree-node-leaf.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-nodes.js +46 -0
- package/dist/chunks/components/data-grid/tree/components/tree-nodes.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-nodes.module.DboZTYNn.css +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-nodes.module.css.js +11 -0
- package/dist/chunks/components/data-grid/tree/components/tree-nodes.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-placeholder.js +21 -0
- package/dist/chunks/components/data-grid/tree/components/tree-placeholder.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-placeholder.module.CrNZwM1Y.css +1 -0
- package/dist/chunks/components/data-grid/tree/components/tree-placeholder.module.css.js +9 -0
- package/dist/chunks/components/data-grid/tree/components/tree-placeholder.module.css.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/create-tree.js +45 -0
- package/dist/chunks/components/data-grid/tree/create-tree.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/core/tree-context.js +23 -0
- package/dist/chunks/components/data-grid/tree/services/core/tree-context.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/focus/focus-service.js +80 -0
- package/dist/chunks/components/data-grid/tree/services/focus/focus-service.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/focus/navigation-helpers.js +23 -0
- package/dist/chunks/components/data-grid/tree/services/focus/navigation-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/hooked/hooked.js +15 -0
- package/dist/chunks/components/data-grid/tree/services/hooked/hooked.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/internal/internal-helpers.js +6 -0
- package/dist/chunks/components/data-grid/tree/services/internal/internal-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/layout/layout-service.js +86 -0
- package/dist/chunks/components/data-grid/tree/services/layout/layout-service.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/plugins/plugins-helpers.js +22 -0
- package/dist/chunks/components/data-grid/tree/services/plugins/plugins-helpers.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/plugins/plugins-service.js +37 -0
- package/dist/chunks/components/data-grid/tree/services/plugins/plugins-service.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/services/settings/settings-service.js +14 -0
- package/dist/chunks/components/data-grid/tree/services/settings/settings-service.js.map +1 -0
- package/dist/chunks/components/data-grid/tree/tree.js +32 -0
- package/dist/chunks/components/data-grid/tree/tree.js.map +1 -0
- package/dist/chunks/components/data-grid/tree-structure/tree-structure.js +193 -0
- package/dist/chunks/components/data-grid/tree-structure/tree-structure.js.map +1 -0
- package/dist/chunks/components/data-grid/utils/components-stack.js +20 -0
- package/dist/chunks/components/data-grid/utils/components-stack.js.map +1 -0
- package/dist/chunks/{debounce.js → components/data-grid/utils/debounce.js} +4 -3
- package/dist/chunks/components/data-grid/utils/debounce.js.map +1 -0
- package/dist/chunks/{deep-equal.js → components/data-grid/utils/deep-equal.js} +4 -3
- package/dist/chunks/components/data-grid/utils/deep-equal.js.map +1 -0
- package/dist/chunks/{hooked.js → components/data-grid/utils/hooked.js} +13 -12
- package/dist/chunks/components/data-grid/utils/hooked.js.map +1 -0
- package/dist/chunks/components/data-grid/utils/is-filter-value-active.js +8 -0
- package/dist/chunks/components/data-grid/utils/is-filter-value-active.js.map +1 -0
- package/dist/chunks/{is-record.js → components/data-grid/utils/is-record.js} +4 -3
- package/dist/chunks/components/data-grid/utils/is-record.js.map +1 -0
- package/dist/chunks/components/data-grid/utils/load-state.js +46 -0
- package/dist/chunks/components/data-grid/utils/load-state.js.map +1 -0
- package/dist/chunks/components/data-grid/utils/use-is-tablet-up.js +19 -0
- package/dist/chunks/components/data-grid/utils/use-is-tablet-up.js.map +1 -0
- package/dist/chunks/{use-latest.js → components/data-grid/utils/use-latest.js} +5 -4
- package/dist/chunks/components/data-grid/utils/use-latest.js.map +1 -0
- package/dist/chunks/components/data-table/data-table.js +155 -0
- package/dist/chunks/components/data-table/data-table.js.map +1 -0
- package/dist/chunks/components/data-table/data-table.module.css.js +23 -0
- package/dist/chunks/components/data-table/data-table.module.css.js.map +1 -0
- package/dist/chunks/components/date-picker/date-picker.js +174 -0
- package/dist/chunks/components/date-picker/date-picker.js.map +1 -0
- package/dist/chunks/components/date-picker/date-picker.module.css.js +11 -0
- package/dist/chunks/components/date-picker/date-picker.module.css.js.map +1 -0
- package/dist/chunks/components/description-list/description-list.js +69 -0
- package/dist/chunks/components/description-list/description-list.js.map +1 -0
- package/dist/chunks/components/description-list/description-list.module.css.js +27 -0
- package/dist/chunks/components/description-list/description-list.module.css.js.map +1 -0
- package/dist/chunks/components/dialog/dialog.js +63 -0
- package/dist/chunks/components/dialog/dialog.js.map +1 -0
- package/dist/chunks/components/dialog/dialog.module.css.js +23 -0
- package/dist/chunks/components/dialog/dialog.module.css.js.map +1 -0
- package/dist/chunks/components/drawer/drawer.js +110 -0
- package/dist/chunks/components/drawer/drawer.js.map +1 -0
- package/dist/chunks/components/drawer/drawer.module.css.js +33 -0
- package/dist/chunks/components/drawer/drawer.module.css.js.map +1 -0
- package/dist/chunks/components/dropdown-menu/dropdown-menu.js +153 -0
- package/dist/chunks/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/chunks/components/dropdown-menu/dropdown-menu.module.css.js +39 -0
- package/dist/chunks/components/dropdown-menu/dropdown-menu.module.css.js.map +1 -0
- package/dist/chunks/components/empty/empty.js +60 -0
- package/dist/chunks/components/empty/empty.js.map +1 -0
- package/dist/chunks/components/empty/empty.module.css.js +29 -0
- package/dist/chunks/components/empty/empty.module.css.js.map +1 -0
- package/dist/chunks/components/field/field.js +95 -0
- package/dist/chunks/components/field/field.js.map +1 -0
- package/dist/chunks/components/field/field.module.css.js +43 -0
- package/dist/chunks/components/field/field.module.css.js.map +1 -0
- package/dist/chunks/components/grid/grid-config-check.js +43 -0
- package/dist/chunks/components/grid/grid-config-check.js.map +1 -0
- package/dist/chunks/components/grid/grid-config.js +21 -0
- package/dist/chunks/components/grid/grid-config.js.map +1 -0
- package/dist/chunks/components/grid/grid-default-config.json.js +17 -0
- package/dist/chunks/components/grid/grid-default-config.json.js.map +1 -0
- package/dist/chunks/components/grid/grid-solver.js +121 -0
- package/dist/chunks/components/grid/grid-solver.js.map +1 -0
- package/dist/chunks/components/grid/grid-steps.CiIpot7S.css +1 -0
- package/dist/chunks/components/grid/grid.js +59 -0
- package/dist/chunks/components/grid/grid.js.map +1 -0
- package/dist/chunks/components/grid/grid.module.Dk1hl4Un.css +1 -0
- package/dist/chunks/components/grid/grid.module.css.js +13 -0
- package/dist/chunks/components/grid/grid.module.css.js.map +1 -0
- package/dist/chunks/components/heading/heading.js +33 -0
- package/dist/chunks/components/heading/heading.js.map +1 -0
- package/dist/chunks/components/heading/heading.module.css.js +15 -0
- package/dist/chunks/components/heading/heading.module.css.js.map +1 -0
- package/dist/chunks/components/hover-card/hover-card.js +44 -0
- package/dist/chunks/components/hover-card/hover-card.js.map +1 -0
- package/dist/chunks/components/hover-card/hover-card.module.css.js +11 -0
- package/dist/chunks/components/hover-card/hover-card.module.css.js.map +1 -0
- package/dist/chunks/components/input/input.js +30 -0
- package/dist/chunks/components/input/input.js.map +1 -0
- package/dist/chunks/components/input/input.module.css.js +19 -0
- package/dist/chunks/components/input/input.module.css.js.map +1 -0
- package/dist/chunks/components/input-group/input-group.js +101 -0
- package/dist/chunks/components/input-group/input-group.js.map +1 -0
- package/dist/chunks/components/input-group/input-group.module.css.js +35 -0
- package/dist/chunks/components/input-group/input-group.module.css.js.map +1 -0
- package/dist/chunks/components/input-otp/input-otp.js +39 -0
- package/dist/chunks/components/input-otp/input-otp.js.map +1 -0
- package/dist/chunks/components/input-otp/input-otp.module.css.js +15 -0
- package/dist/chunks/components/input-otp/input-otp.module.css.js.map +1 -0
- package/dist/chunks/components/item/item.js +132 -0
- package/dist/chunks/components/item/item.js.map +1 -0
- package/dist/chunks/components/item/item.module.css.js +55 -0
- package/dist/chunks/components/item/item.module.css.js.map +1 -0
- package/dist/chunks/components/kbd/kbd.js +15 -0
- package/dist/chunks/components/kbd/kbd.js.map +1 -0
- package/dist/chunks/components/kbd/kbd.module.css.js +11 -0
- package/dist/chunks/components/kbd/kbd.module.css.js.map +1 -0
- package/dist/chunks/components/label/label.js +11 -0
- package/dist/chunks/components/label/label.js.map +1 -0
- package/dist/chunks/components/label/label.module.css.js +9 -0
- package/dist/chunks/components/label/label.module.css.js.map +1 -0
- package/dist/chunks/components/link/link.js +52 -0
- package/dist/chunks/components/link/link.js.map +1 -0
- package/dist/chunks/components/link/link.module.css.js +15 -0
- package/dist/chunks/components/link/link.module.css.js.map +1 -0
- package/dist/chunks/components/marker/marker.js +48 -0
- package/dist/chunks/components/marker/marker.js.map +1 -0
- package/dist/chunks/components/marker/marker.module.css.js +19 -0
- package/dist/chunks/components/marker/marker.module.css.js.map +1 -0
- package/dist/chunks/components/menubar/menubar.js +48 -0
- package/dist/chunks/components/menubar/menubar.js.map +1 -0
- package/dist/chunks/components/menubar/menubar.module.css.js +11 -0
- package/dist/chunks/components/menubar/menubar.module.css.js.map +1 -0
- package/dist/chunks/components/message/message.js +31 -0
- package/dist/chunks/components/message/message.js.map +1 -0
- package/dist/chunks/components/message/message.module.css.js +19 -0
- package/dist/chunks/components/message/message.module.css.js.map +1 -0
- package/dist/chunks/components/message-scroller/message-scroller.js +64 -0
- package/dist/chunks/components/message-scroller/message-scroller.js.map +1 -0
- package/dist/chunks/components/message-scroller/message-scroller.module.css.js +17 -0
- package/dist/chunks/components/message-scroller/message-scroller.module.css.js.map +1 -0
- package/dist/chunks/components/native-select/native-select.js +37 -0
- package/dist/chunks/components/native-select/native-select.js.map +1 -0
- package/dist/chunks/components/native-select/native-select.module.css.js +19 -0
- package/dist/chunks/components/native-select/native-select.module.css.js.map +1 -0
- package/dist/chunks/components/navigation-menu/navigation-menu.js +102 -0
- package/dist/chunks/components/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/chunks/components/navigation-menu/navigation-menu.module.css.js +37 -0
- package/dist/chunks/components/navigation-menu/navigation-menu.module.css.js.map +1 -0
- package/dist/chunks/components/page-header/page-header.js +75 -0
- package/dist/chunks/components/page-header/page-header.js.map +1 -0
- package/dist/chunks/components/page-header/page-header.module.css.js +35 -0
- package/dist/chunks/components/page-header/page-header.module.css.js.map +1 -0
- package/dist/chunks/components/pagination/pagination.js +127 -0
- package/dist/chunks/components/pagination/pagination.js.map +1 -0
- package/dist/chunks/components/pagination/pagination.module.css.js +25 -0
- package/dist/chunks/components/pagination/pagination.module.css.js.map +1 -0
- package/dist/chunks/components/popover/popover.js +58 -0
- package/dist/chunks/components/popover/popover.js.map +1 -0
- package/dist/chunks/components/popover/popover.module.css.js +17 -0
- package/dist/chunks/components/popover/popover.module.css.js.map +1 -0
- package/dist/chunks/components/portal-container/portal-container.js +66 -0
- package/dist/chunks/components/portal-container/portal-container.js.map +1 -0
- package/dist/chunks/components/progress/progress.js +31 -0
- package/dist/chunks/components/progress/progress.js.map +1 -0
- package/dist/chunks/components/progress/progress.module.css.js +17 -0
- package/dist/chunks/components/progress/progress.module.css.js.map +1 -0
- package/dist/chunks/components/questionnaire/questionnaire.js +189 -0
- package/dist/chunks/components/questionnaire/questionnaire.js.map +1 -0
- package/dist/chunks/components/questionnaire/questionnaire.module.css.js +47 -0
- package/dist/chunks/components/questionnaire/questionnaire.module.css.js.map +1 -0
- package/dist/chunks/components/radio-group/radio-group.js +17 -0
- package/dist/chunks/components/radio-group/radio-group.js.map +1 -0
- package/dist/chunks/components/radio-group/radio-group.module.css.js +15 -0
- package/dist/chunks/components/radio-group/radio-group.module.css.js.map +1 -0
- package/dist/chunks/components/resizable/resizable.js +21 -0
- package/dist/chunks/components/resizable/resizable.js.map +1 -0
- package/dist/chunks/components/resizable/resizable.module.css.js +13 -0
- package/dist/chunks/components/resizable/resizable.module.css.js.map +1 -0
- package/dist/chunks/components/scroll-area/scroll-area.js +28 -0
- package/dist/chunks/components/scroll-area/scroll-area.js.map +1 -0
- package/dist/chunks/components/scroll-area/scroll-area.module.css.js +15 -0
- package/dist/chunks/components/scroll-area/scroll-area.module.css.js.map +1 -0
- package/dist/chunks/components/select/select.js +127 -0
- package/dist/chunks/components/select/select.js.map +1 -0
- package/dist/chunks/components/select/select.module.css.js +47 -0
- package/dist/chunks/components/select/select.module.css.js.map +1 -0
- package/dist/chunks/components/separator/separator.js +12 -0
- package/dist/chunks/components/separator/separator.js.map +1 -0
- package/dist/chunks/components/separator/separator.module.css.js +9 -0
- package/dist/chunks/components/separator/separator.module.css.js.map +1 -0
- package/dist/chunks/components/sheet/sheet.js +84 -0
- package/dist/chunks/components/sheet/sheet.js.map +1 -0
- package/dist/chunks/components/sheet/sheet.module.css.js +31 -0
- package/dist/chunks/components/sheet/sheet.module.css.js.map +1 -0
- package/dist/chunks/components/sidebar/sidebar.js +353 -0
- package/dist/chunks/components/sidebar/sidebar.js.map +1 -0
- package/dist/chunks/components/sidebar/sidebar.module.css.js +89 -0
- package/dist/chunks/components/sidebar/sidebar.module.css.js.map +1 -0
- package/dist/chunks/components/sidebar/use-mobile.js +15 -0
- package/dist/chunks/components/sidebar/use-mobile.js.map +1 -0
- package/dist/chunks/components/skeleton/skeleton.js +11 -0
- package/dist/chunks/components/skeleton/skeleton.js.map +1 -0
- package/dist/chunks/components/skeleton/skeleton.module.css.js +9 -0
- package/dist/chunks/components/skeleton/skeleton.module.css.js.map +1 -0
- package/dist/chunks/components/slider/slider.js +48 -0
- package/dist/chunks/components/slider/slider.js.map +1 -0
- package/dist/chunks/components/slider/slider.module.css.js +17 -0
- package/dist/chunks/components/slider/slider.module.css.js.map +1 -0
- package/dist/chunks/components/spinner/spinner.js +51 -0
- package/dist/chunks/components/spinner/spinner.js.map +1 -0
- package/dist/chunks/components/spinner/spinner.module.css.js +17 -0
- package/dist/chunks/components/spinner/spinner.module.css.js.map +1 -0
- package/dist/chunks/components/status-dot/status-dot.js +69 -0
- package/dist/chunks/components/status-dot/status-dot.js.map +1 -0
- package/dist/chunks/components/status-dot/status-dot.module.css.js +23 -0
- package/dist/chunks/components/status-dot/status-dot.module.css.js.map +1 -0
- package/dist/chunks/components/switch/switch.js +23 -0
- package/dist/chunks/components/switch/switch.js.map +1 -0
- package/dist/chunks/components/switch/switch.module.css.js +14 -0
- package/dist/chunks/components/switch/switch.module.css.js.map +1 -0
- package/dist/chunks/components/table/table.js +253 -0
- package/dist/chunks/components/table/table.js.map +1 -0
- package/dist/chunks/components/table/table.module.css.js +37 -0
- package/dist/chunks/components/table/table.module.css.js.map +1 -0
- package/dist/chunks/components/tabs/tabs.js +50 -0
- package/dist/chunks/components/tabs/tabs.js.map +1 -0
- package/dist/chunks/components/tabs/tabs.module.css.js +25 -0
- package/dist/chunks/components/tabs/tabs.module.css.js.map +1 -0
- package/dist/chunks/components/text/text.js +44 -0
- package/dist/chunks/components/text/text.js.map +1 -0
- package/dist/chunks/components/text/text.module.css.js +27 -0
- package/dist/chunks/components/text/text.module.css.js.map +1 -0
- package/dist/chunks/components/textarea/textarea.js +19 -0
- package/dist/chunks/components/textarea/textarea.js.map +1 -0
- package/dist/chunks/components/textarea/textarea.module.css.js +9 -0
- package/dist/chunks/components/textarea/textarea.module.css.js.map +1 -0
- package/dist/chunks/components/toast/toast.js +74 -0
- package/dist/chunks/components/toast/toast.js.map +1 -0
- package/dist/chunks/components/toast/toast.module.css.js +31 -0
- package/dist/chunks/components/toast/toast.module.css.js.map +1 -0
- package/dist/chunks/components/toggle/toggle.js +44 -0
- package/dist/chunks/components/toggle/toggle.js.map +1 -0
- package/dist/chunks/components/toggle/toggle.module.css.js +19 -0
- package/dist/chunks/components/toggle/toggle.module.css.js.map +1 -0
- package/dist/chunks/components/toggle-group/toggle-group.js +60 -0
- package/dist/chunks/components/toggle-group/toggle-group.js.map +1 -0
- package/dist/chunks/components/toggle-group/toggle-group.module.css.js +11 -0
- package/dist/chunks/components/toggle-group/toggle-group.module.css.js.map +1 -0
- package/dist/chunks/components/tooltip/tooltip.js +51 -0
- package/dist/chunks/components/tooltip/tooltip.js.map +1 -0
- package/dist/chunks/components/tooltip/tooltip.module.css.js +13 -0
- package/dist/chunks/components/tooltip/tooltip.module.css.js.map +1 -0
- package/dist/chunks/components/visually-hidden/visually-hidden.js +17 -0
- package/dist/chunks/components/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/chunks/components/visually-hidden/visually-hidden.module.css.js +9 -0
- package/dist/chunks/components/visually-hidden/visually-hidden.module.css.js.map +1 -0
- package/dist/code-block.js +2 -151
- package/dist/code-block.js.map +1 -1
- package/dist/collapsible.js +2 -21
- package/dist/collapsible.js.map +1 -1
- package/dist/combobox.js +2 -177
- package/dist/combobox.js.map +1 -1
- package/dist/command.js +2 -89
- package/dist/command.js.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.d.ts +5 -3
- package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/components/combobox/combobox.d.ts +5 -3
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/context-menu/context-menu.d.ts +9 -4
- package/dist/components/context-menu/context-menu.d.ts.map +1 -1
- package/dist/components/data-grid/components/data-grid-empty-state.d.ts.map +1 -1
- package/dist/components/data-grid/components/filter-options-search-input.d.ts.map +1 -1
- package/dist/components/data-grid/components/filter-reset-button.d.ts.map +1 -1
- package/dist/components/data-grid/components/load-controlled.d.ts.map +1 -1
- package/dist/components/data-grid/data-grid-types.d.ts +28 -4
- package/dist/components/data-grid/data-grid-types.d.ts.map +1 -1
- package/dist/components/data-grid/data-grid.d.ts +1 -1
- package/dist/components/data-grid/data-grid.d.ts.map +1 -1
- package/dist/components/data-grid/messages.d.ts +16 -0
- package/dist/components/data-grid/messages.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/drag-drop/drag-drop-plugin.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/filters/components/all-filters-button.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/filters/components/all-filters-dialog.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/filters/components/dialog-filter-item.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/filters/entities/search/search-quick-filter.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/filters/filters-plugin.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/order/components/data-grid-order-button.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/order/components/data-grid-order-icon.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/order/order-plugin.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/order/services/order-labels.d.ts +7 -2
- package/dist/components/data-grid/plugins/order/services/order-labels.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/pagination/components/data-grid-pagination.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/pagination/components/pager.d.ts +7 -0
- package/dist/components/data-grid/plugins/pagination/components/pager.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/pagination/pagination-plugin.d.ts +2 -0
- package/dist/components/data-grid/plugins/pagination/pagination-plugin.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/row-click/components/data-grid-row-click.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-detail/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-detail/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-detail/row-detail-plugin.d.ts +5 -0
- package/dist/components/data-grid/plugins/row-detail/row-detail-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-detail/row-detail-types.d.ts +47 -0
- package/dist/components/data-grid/plugins/row-detail/row-detail-types.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-top.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/table-tree/table-tree-plugin.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/text-search/components/data-grid-text-search.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/text-search/text-search-plugin.d.ts +7 -0
- package/dist/components/data-grid/plugins/text-search/text-search-plugin.d.ts.map +1 -1
- package/dist/components/data-grid/public.d.ts +2 -1
- package/dist/components/data-grid/public.d.ts.map +1 -1
- package/dist/components/data-grid/services/core/data-grid-messages-context.d.ts +92 -0
- package/dist/components/data-grid/services/core/data-grid-messages-context.d.ts.map +1 -0
- package/dist/components/data-grid/services/layout/components/data-grid-layout-main-slot-selector.d.ts.map +1 -1
- package/dist/components/data-grid/services/storage/storage-service.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/column-sort-state.d.ts +13 -0
- package/dist/components/data-grid/services/table/column-sort-state.d.ts.map +1 -0
- package/dist/components/data-grid/services/table/components/data-grid-cell.d.ts +8 -1
- package/dist/components/data-grid/services/table/components/data-grid-cell.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/components/data-grid-header-cell.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/components/data-grid-row.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/table-service.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/table-store.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/table-types.d.ts +35 -1
- package/dist/components/data-grid/services/table/table-types.d.ts.map +1 -1
- package/dist/components/data-grid/tree/components/tree-node-directory-item.d.ts.map +1 -1
- package/dist/components/data-grid/tree/components/tree-placeholder.d.ts.map +1 -1
- package/dist/components/data-grid/utils/hooked.d.ts +4 -1
- package/dist/components/data-grid/utils/hooked.d.ts.map +1 -1
- package/dist/components/data-grid/utils/is-filter-value-active.d.ts +10 -0
- package/dist/components/data-grid/utils/is-filter-value-active.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +5 -3
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts +5 -4
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +9 -4
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/hover-card/hover-card.d.ts +5 -3
- package/dist/components/hover-card/hover-card.d.ts.map +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts +6 -4
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/components/popover/popover.d.ts +5 -3
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/portal-container/portal-container.d.ts +169 -0
- package/dist/components/portal-container/portal-container.d.ts.map +1 -0
- package/dist/components/portal-container/public.d.ts +2 -0
- package/dist/components/portal-container/public.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +5 -3
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/sheet/sheet.d.ts +4 -2
- package/dist/components/sheet/sheet.d.ts.map +1 -1
- package/dist/components/toast/toast.d.ts +5 -4
- package/dist/components/toast/toast.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts +5 -3
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/context-menu.js +2 -200
- package/dist/context-menu.js.map +1 -1
- package/dist/data-grid/actions-menu.js +3 -373
- package/dist/data-grid/actions-menu.js.map +1 -1
- package/dist/data-grid/actions.js +2 -35
- package/dist/data-grid/actions.js.map +1 -1
- package/dist/data-grid/drag-drop.js +2 -260
- package/dist/data-grid/drag-drop.js.map +1 -1
- package/dist/data-grid/empty-state.js +2 -26
- package/dist/data-grid/empty-state.js.map +1 -1
- package/dist/data-grid/filters.js +9 -1637
- package/dist/data-grid/filters.js.map +1 -1
- package/dist/data-grid/order.js +3 -254
- package/dist/data-grid/order.js.map +1 -1
- package/dist/data-grid/pagination.js +2 -224
- package/dist/data-grid/pagination.js.map +1 -1
- package/dist/data-grid/row-actions.js +2 -51
- package/dist/data-grid/row-actions.js.map +1 -1
- package/dist/data-grid/row-click.js +2 -61
- package/dist/data-grid/row-click.js.map +1 -1
- package/dist/data-grid/row-detail.d.ts +1 -0
- package/dist/data-grid/row-detail.js +3 -0
- package/dist/data-grid/row-detail.js.map +1 -0
- package/dist/data-grid/row-number.js +2 -37
- package/dist/data-grid/row-number.js.map +1 -1
- package/dist/data-grid/row-select.js +2 -292
- package/dist/data-grid/row-select.js.map +1 -1
- package/dist/data-grid/table-configuration.js +2 -176
- package/dist/data-grid/table-configuration.js.map +1 -1
- package/dist/data-grid/table-tree.js +2 -232
- package/dist/data-grid/table-tree.js.map +1 -1
- package/dist/data-grid/text-search.js +2 -99
- package/dist/data-grid/text-search.js.map +1 -1
- package/dist/data-grid.js +6 -1515
- package/dist/data-grid.js.map +1 -1
- package/dist/data-table.js +2 -161
- package/dist/data-table.js.map +1 -1
- package/dist/date-picker.js +2 -174
- package/dist/date-picker.js.map +1 -1
- package/dist/description-list.js +2 -77
- package/dist/description-list.js.map +1 -1
- package/dist/dialog.js +2 -68
- package/dist/dialog.js.map +1 -1
- package/dist/direction.js +2 -5
- package/dist/direction.js.map +1 -1
- package/dist/docs/alert-dialog.md +5 -5
- package/dist/docs/bubble.md +3 -3
- package/dist/docs/combobox.md +3 -4
- package/dist/docs/context-menu.md +12 -5
- package/dist/docs/data-grid.md +167 -25
- package/dist/docs/dialog.md +5 -4
- package/dist/docs/drawer.md +11 -2
- package/dist/docs/dropdown-menu.md +12 -5
- package/dist/docs/hover-card.md +11 -5
- package/dist/docs/navigation-menu.md +6 -5
- package/dist/docs/popover.md +5 -5
- package/dist/docs/portal-container.md +195 -0
- package/dist/docs/select.md +3 -4
- package/dist/docs/sheet.md +5 -4
- package/dist/docs/toast.md +11 -5
- package/dist/docs/tooltip.md +10 -5
- package/dist/drawer.js +2 -119
- package/dist/drawer.js.map +1 -1
- package/dist/dropdown-menu.js +2 -164
- package/dist/dropdown-menu.js.map +1 -1
- package/dist/empty.js +2 -70
- package/dist/empty.js.map +1 -1
- package/dist/field.js +2 -112
- package/dist/field.js.map +1 -1
- package/dist/grid.js +3 -226
- package/dist/grid.js.map +1 -1
- package/dist/heading.js +2 -35
- package/dist/heading.js.map +1 -1
- package/dist/hover-card.js +2 -43
- package/dist/hover-card.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +105 -528
- package/dist/index.js.map +1 -1
- package/dist/input-group.js +2 -113
- package/dist/input-group.js.map +1 -1
- package/dist/input-otp.js +2 -41
- package/dist/input-otp.js.map +1 -1
- package/dist/input.js +2 -35
- package/dist/input.js.map +1 -1
- package/dist/item.js +2 -154
- package/dist/item.js.map +1 -1
- package/dist/kbd.js +2 -16
- package/dist/kbd.js.map +1 -1
- package/dist/label.js +2 -11
- package/dist/label.js.map +1 -1
- package/dist/link.js +2 -54
- package/dist/link.js.map +1 -1
- package/dist/marker.js +2 -52
- package/dist/marker.js.map +1 -1
- package/dist/menubar.js +2 -49
- package/dist/menubar.js.map +1 -1
- package/dist/message-scroller.js +3 -68
- package/dist/message-scroller.js.map +1 -1
- package/dist/message.js +2 -36
- package/dist/message.js.map +1 -1
- package/dist/native-select.js +2 -42
- package/dist/native-select.js.map +1 -1
- package/dist/navigation-menu.js +2 -115
- package/dist/navigation-menu.js.map +1 -1
- package/dist/page-header.js +2 -87
- package/dist/page-header.js.map +1 -1
- package/dist/pagination.js +2 -134
- package/dist/pagination.js.map +1 -1
- package/dist/popover.js +2 -60
- package/dist/popover.js.map +1 -1
- package/dist/portal-container.d.ts +1 -0
- package/dist/portal-container.js +7 -0
- package/dist/portal-container.js.map +1 -0
- package/dist/progress.js +2 -35
- package/dist/progress.js.map +1 -1
- package/dist/questionnaire.js +2 -208
- package/dist/questionnaire.js.map +1 -1
- package/dist/radio-group.js +2 -20
- package/dist/radio-group.js.map +1 -1
- package/dist/resizable.js +2 -23
- package/dist/resizable.js.map +1 -1
- package/dist/scroll-area.js +2 -31
- package/dist/scroll-area.js.map +1 -1
- package/dist/select.js +2 -144
- package/dist/select.js.map +1 -1
- package/dist/separator.js +2 -12
- package/dist/separator.js.map +1 -1
- package/dist/sheet.js +2 -93
- package/dist/sheet.js.map +1 -1
- package/dist/sidebar.js +2 -399
- package/dist/sidebar.js.map +1 -1
- package/dist/skeleton.js +2 -11
- package/dist/skeleton.js.map +1 -1
- package/dist/slider.js +2 -52
- package/dist/slider.js.map +1 -1
- package/dist/spinner.js +2 -55
- package/dist/spinner.js.map +1 -1
- package/dist/status-dot.js +2 -75
- package/dist/status-dot.js.map +1 -1
- package/dist/switch.js +2 -25
- package/dist/switch.js.map +1 -1
- package/dist/table.js +2 -266
- package/dist/table.js.map +1 -1
- package/dist/tabs.js +2 -58
- package/dist/tabs.js.map +1 -1
- package/dist/text.js +2 -52
- package/dist/text.js.map +1 -1
- package/dist/textarea.js +2 -19
- package/dist/textarea.js.map +1 -1
- package/dist/toast.js +2 -83
- package/dist/toast.js.map +1 -1
- package/dist/toggle-group.js +2 -60
- package/dist/toggle-group.js.map +1 -1
- package/dist/toggle.js +2 -48
- package/dist/toggle.js.map +1 -1
- package/dist/tooltip.js +2 -51
- package/dist/tooltip.js.map +1 -1
- package/dist/visually-hidden.js +2 -17
- package/dist/visually-hidden.js.map +1 -1
- package/llms.txt +24 -8
- package/package.json +2 -1
- package/dist/chunks/create-column-auto-size.js.map +0 -1
- package/dist/chunks/data-grid-portal-container-context.js.map +0 -1
- package/dist/chunks/data-grid-record-context.js.map +0 -1
- package/dist/chunks/data-grid.DSkYrsay.css +0 -1
- package/dist/chunks/debounce.js.map +0 -1
- package/dist/chunks/deep-equal.js.map +0 -1
- package/dist/chunks/filters.DQtlBXh7.css +0 -1
- package/dist/chunks/grid.BvRXPN-7.css +0 -1
- package/dist/chunks/hooked.js.map +0 -1
- package/dist/chunks/ignore-row-click.js.map +0 -1
- package/dist/chunks/is-record.js.map +0 -1
- package/dist/chunks/messages.js.map +0 -1
- package/dist/chunks/pagination.DPVITj_D.css +0 -1
- package/dist/chunks/plugins-helpers.js +0 -41
- package/dist/chunks/plugins-helpers.js.map +0 -1
- package/dist/chunks/resolve-body-cell-props.js +0 -124
- package/dist/chunks/resolve-body-cell-props.js.map +0 -1
- package/dist/chunks/row-click-utils.js.map +0 -1
- package/dist/chunks/row-select.BjKdiMf5.css +0 -1
- package/dist/chunks/segment.js +0 -25
- package/dist/chunks/segment.js.map +0 -1
- package/dist/chunks/storage-helpers.js +0 -40
- package/dist/chunks/storage-helpers.js.map +0 -1
- package/dist/chunks/table-context.js +0 -8
- package/dist/chunks/table-context.js.map +0 -1
- package/dist/chunks/table-helpers.js.map +0 -1
- package/dist/chunks/table-types.js.map +0 -1
- package/dist/chunks/use-latest.js.map +0 -1
- /package/dist/chunks/{accordion.CXlSdkrc.css → components/accordion/accordion.module.CXlSdkrc.css} +0 -0
- /package/dist/chunks/{alert.Csv2-ccF.css → components/alert/alert.module.Csv2-ccF.css} +0 -0
- /package/dist/chunks/{alert-dialog.C4aLtUC8.css → components/alert-dialog/alert-dialog.module.C4aLtUC8.css} +0 -0
- /package/dist/chunks/{aspect-ratio.DJbPE7BX.css → components/aspect-ratio/aspect-ratio.module.DJbPE7BX.css} +0 -0
- /package/dist/chunks/{attachment.BRyIQq3F.css → components/attachment/attachment.module.BRyIQq3F.css} +0 -0
- /package/dist/chunks/{avatar.7EUG65-M.css → components/avatar/avatar.module.7EUG65-M.css} +0 -0
- /package/dist/chunks/{badge.BwUxa9PB.css → components/badge/badge.module.BwUxa9PB.css} +0 -0
- /package/dist/chunks/{breadcrumb.QKz32ceR.css → components/breadcrumb/breadcrumb.module.QKz32ceR.css} +0 -0
- /package/dist/chunks/{bubble.Ccu0e3lY.css → components/bubble/bubble.module.Ccu0e3lY.css} +0 -0
- /package/dist/chunks/{button.BWdRnIvz.css → components/button/button.module.BWdRnIvz.css} +0 -0
- /package/dist/chunks/{button-group.BB-_2uav.css → components/button-group/button-group.module.BB-_2uav.css} +0 -0
- /package/dist/chunks/{calendar.Dtndav4F.css → components/calendar/calendar.module.Dtndav4F.css} +0 -0
- /package/dist/chunks/{card.DSiUMxGK.css → components/card/card.module.DSiUMxGK.css} +0 -0
- /package/dist/chunks/{carousel.CjaKGN_D.css → components/carousel/carousel.module.CjaKGN_D.css} +0 -0
- /package/dist/chunks/{chart.B9cGEno8.css → components/chart/chart.module.B9cGEno8.css} +0 -0
- /package/dist/chunks/{checkbox.CrdIZhi1.css → components/checkbox/checkbox.module.CrdIZhi1.css} +0 -0
- /package/dist/chunks/{code-block.r7Cm0ncj.css → components/code-block/code-block.module.r7Cm0ncj.css} +0 -0
- /package/dist/chunks/{collapsible.BkLeBug_.css → components/collapsible/collapsible.module.BkLeBug_.css} +0 -0
- /package/dist/chunks/{combobox.CKhQGu5a.css → components/combobox/combobox.module.CKhQGu5a.css} +0 -0
- /package/dist/chunks/{command.BBW1Cy-M.css → components/command/command.module.BBW1Cy-M.css} +0 -0
- /package/dist/chunks/{context-menu.D_HuTgqL.css → components/context-menu/context-menu.module.D_HuTgqL.css} +0 -0
- /package/dist/chunks/{actions.iasfkjWq.css → components/data-grid/plugins/actions/components/data-grid-actions-wrapper.module.iasfkjWq.css} +0 -0
- /package/dist/chunks/{drag-drop.BASVe3_O.css → components/data-grid/plugins/drag-drop/components/data-grid-drag-drop.module.BASVe3_O.css} +0 -0
- /package/dist/chunks/{row-actions.BprAXgu2.css → components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.module.BprAXgu2.css} +0 -0
- /package/dist/chunks/{row-click.DAYTmSBO.css → components/data-grid/plugins/row-click/components/data-grid-row-click.module.DAYTmSBO.css} +0 -0
- /package/dist/chunks/{row-number.BxFT_3yP.css → components/data-grid/plugins/row-number/components/data-grid-row-number-cell.module.BxFT_3yP.css} +0 -0
- /package/dist/chunks/{table-configuration.a6C_fp7B.css → components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.module.a6C_fp7B.css} +0 -0
- /package/dist/chunks/{table-tree.DMtpMddS.css → components/data-grid/plugins/table-tree/components/data-grid-table-tree.module.DMtpMddS.css} +0 -0
- /package/dist/chunks/{text-search.BeZYac6V.css → components/data-grid/plugins/text-search/components/data-grid-text-search.module.BeZYac6V.css} +0 -0
- /package/dist/chunks/{resolve-body-cell-props.BA5IRWq0.css → components/data-grid/services/table/components/data-grid-cell.module.BA5IRWq0.css} +0 -0
- /package/dist/chunks/{data-table.DJJaM7bh.css → components/data-table/data-table.module.DJJaM7bh.css} +0 -0
- /package/dist/chunks/{date-picker.BcRqyOg8.css → components/date-picker/date-picker.module.BcRqyOg8.css} +0 -0
- /package/dist/chunks/{description-list.Cx-vFGJL.css → components/description-list/description-list.module.Cx-vFGJL.css} +0 -0
- /package/dist/chunks/{dialog.CIR9bQoU.css → components/dialog/dialog.module.CIR9bQoU.css} +0 -0
- /package/dist/chunks/{drawer.D8l6-G8t.css → components/drawer/drawer.module.D8l6-G8t.css} +0 -0
- /package/dist/chunks/{dropdown-menu.DT1_JLqL.css → components/dropdown-menu/dropdown-menu.module.DT1_JLqL.css} +0 -0
- /package/dist/chunks/{empty.Cfg5lE0n.css → components/empty/empty.module.Cfg5lE0n.css} +0 -0
- /package/dist/chunks/{field.CDoJmJUe.css → components/field/field.module.CDoJmJUe.css} +0 -0
- /package/dist/chunks/{heading.DQxQs5po.css → components/heading/heading.module.DQxQs5po.css} +0 -0
- /package/dist/chunks/{hover-card.D00tbys5.css → components/hover-card/hover-card.module.D00tbys5.css} +0 -0
- /package/dist/chunks/{input.DORly3Cx.css → components/input/input.module.DORly3Cx.css} +0 -0
- /package/dist/chunks/{input-group.C7XgalVn.css → components/input-group/input-group.module.C7XgalVn.css} +0 -0
- /package/dist/chunks/{input-otp.Dvxlngb4.css → components/input-otp/input-otp.module.Dvxlngb4.css} +0 -0
- /package/dist/chunks/{item.BQ70Khqj.css → components/item/item.module.BQ70Khqj.css} +0 -0
- /package/dist/chunks/{kbd.DZuUVB_m.css → components/kbd/kbd.module.DZuUVB_m.css} +0 -0
- /package/dist/chunks/{label.s0Wrm1i-.css → components/label/label.module.s0Wrm1i-.css} +0 -0
- /package/dist/chunks/{link.BOE4f-aB.css → components/link/link.module.BOE4f-aB.css} +0 -0
- /package/dist/chunks/{marker.DDxI_rZn.css → components/marker/marker.module.DDxI_rZn.css} +0 -0
- /package/dist/chunks/{menubar.CJcVQhPq.css → components/menubar/menubar.module.CJcVQhPq.css} +0 -0
- /package/dist/chunks/{message.B9Rexp_f.css → components/message/message.module.B9Rexp_f.css} +0 -0
- /package/dist/chunks/{message-scroller.CBjPcz8Y.css → components/message-scroller/message-scroller.module.CBjPcz8Y.css} +0 -0
- /package/dist/chunks/{native-select.BosBdRAx.css → components/native-select/native-select.module.BosBdRAx.css} +0 -0
- /package/dist/chunks/{navigation-menu.CuXMCPRN.css → components/navigation-menu/navigation-menu.module.CuXMCPRN.css} +0 -0
- /package/dist/chunks/{page-header.72nfJNkg.css → components/page-header/page-header.module.72nfJNkg.css} +0 -0
- /package/dist/chunks/{pagination.DJ7HJSFX.css → components/pagination/pagination.module.DJ7HJSFX.css} +0 -0
- /package/dist/chunks/{popover.BYhwNKnZ.css → components/popover/popover.module.BYhwNKnZ.css} +0 -0
- /package/dist/chunks/{progress.DjSEXfxh.css → components/progress/progress.module.DjSEXfxh.css} +0 -0
- /package/dist/chunks/{questionnaire.C-YTRjPE.css → components/questionnaire/questionnaire.module.C-YTRjPE.css} +0 -0
- /package/dist/chunks/{radio-group.CisvBT6g.css → components/radio-group/radio-group.module.CisvBT6g.css} +0 -0
- /package/dist/chunks/{resizable.B71V-1lR.css → components/resizable/resizable.module.B71V-1lR.css} +0 -0
- /package/dist/chunks/{scroll-area.B0OVmDRX.css → components/scroll-area/scroll-area.module.B0OVmDRX.css} +0 -0
- /package/dist/chunks/{select.C3sLDoZI.css → components/select/select.module.C3sLDoZI.css} +0 -0
- /package/dist/chunks/{separator.DdRRkJW4.css → components/separator/separator.module.DdRRkJW4.css} +0 -0
- /package/dist/chunks/{sheet.BkZyzAbA.css → components/sheet/sheet.module.BkZyzAbA.css} +0 -0
- /package/dist/chunks/{sidebar.Dw_e0Jqw.css → components/sidebar/sidebar.module.Dw_e0Jqw.css} +0 -0
- /package/dist/chunks/{skeleton.BhWSzPnI.css → components/skeleton/skeleton.module.BhWSzPnI.css} +0 -0
- /package/dist/chunks/{slider.DY1XDCPw.css → components/slider/slider.module.DY1XDCPw.css} +0 -0
- /package/dist/chunks/{spinner.CLQsj9Ky.css → components/spinner/spinner.module.CLQsj9Ky.css} +0 -0
- /package/dist/chunks/{status-dot.39NKkKQF.css → components/status-dot/status-dot.module.39NKkKQF.css} +0 -0
- /package/dist/chunks/{switch.BYqd9jlJ.css → components/switch/switch.module.BYqd9jlJ.css} +0 -0
- /package/dist/chunks/{table.biUlW2U6.css → components/table/table.module.biUlW2U6.css} +0 -0
- /package/dist/chunks/{tabs.BqhiMRUP.css → components/tabs/tabs.module.BqhiMRUP.css} +0 -0
- /package/dist/chunks/{text.7frjnkUr.css → components/text/text.module.7frjnkUr.css} +0 -0
- /package/dist/chunks/{textarea.DMphp0qh.css → components/textarea/textarea.module.DMphp0qh.css} +0 -0
- /package/dist/chunks/{toast.Dw-jW4YY.css → components/toast/toast.module.Dw-jW4YY.css} +0 -0
- /package/dist/chunks/{toggle.B82Id2zR.css → components/toggle/toggle.module.B82Id2zR.css} +0 -0
- /package/dist/chunks/{toggle-group.BpWF6enM.css → components/toggle-group/toggle-group.module.BpWF6enM.css} +0 -0
- /package/dist/chunks/{tooltip.CFJyyz-O.css → components/tooltip/tooltip.module.CFJyyz-O.css} +0 -0
- /package/dist/chunks/{visually-hidden.Bd2oAR5D.css → components/visually-hidden/visually-hidden.module.Bd2oAR5D.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions-menu.js","sources":["../../src/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.tsx","../../src/components/data-grid/plugins/actions-menu/actions-menu-plugin.tsx","../../src/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-cells.ts","../../src/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/csv-formatter.ts","../../src/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/excel-formatter.ts","../../src/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.ts","../../src/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.tsx","../../src/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-menu-items.ts"],"sourcesContent":["import { EllipsisIcon } from 'lucide-react';\n\nimport { Button } from '../../../../button/public.js';\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuTrigger,\n} from '../../../../dropdown-menu/public.js';\nimport { messages } from '../../../messages';\nimport { useDataGrid } from '../../../services/core/data-grid-context';\nimport { useDataGridPortalContainer } from '../../../services/core/data-grid-portal-container-context';\nimport type { DataGridActionsMenuPluginApi } from '../actions-menu-types';\n\nexport function DataGridActionsMenu() {\n const grid = useDataGrid();\n const actionsMenu = grid.getPlugin<DataGridActionsMenuPluginApi>('actionsMenu')!;\n const menuItems = actionsMenu.useMenuItems();\n const portalContainer = useDataGridPortalContainer();\n\n return (\n <DropdownMenu>\n <DropdownMenuTrigger\n render={\n <Button\n variant=\"ghost\"\n size=\"sm\"\n icon={<EllipsisIcon />}\n aria-label={messages.actionsMenu.actions}\n />\n }\n />\n <DropdownMenuContent side=\"bottom\" align=\"end\" container={portalContainer}>\n {menuItems.map((menuItem) => (\n <menuItem.component key={menuItem.id} params={menuItem.params} />\n ))}\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n","// Load-bearing: a plugin is rendered as a child of <DataGrid>, so a Server Component can import\n// and render it, and the component it returns calls hooks. This directive puts the banner on the\n// plugin's own entry chunk (dist/data-grid/<plugin>.js). client-boundaries.test.ts only scans a\n// component's top-level files, so scripts/verify-consumer.sh is what checks the built banner of\n// every plugin entry.\n'use client';\n\nimport { create } from 'zustand';\nimport type { DataGridItem } from '../../data-grid-types';\nimport { createDataGridPlugin } from '../../services/plugins/plugins-helpers';\nimport type {\n DataGridActionsMenuItem,\n DataGridActionsMenuItemOption,\n DataGridActionsMenuPluginApi,\n DataGridActionsMenuPluginProps,\n} from './actions-menu-types';\nimport { DataGridActionsMenu } from './components/data-grid-actions-menu';\n\ninterface ActionsMenuStore {\n menuItems: DataGridActionsMenuItem[];\n}\n\nexport const DataGridActionsMenuPlugin = createDataGridPlugin<\n DataGridItem,\n 'actionsMenu',\n DataGridActionsMenuPluginProps,\n DataGridActionsMenuPluginApi\n>('actionsMenu', (context) => {\n const useStore = create<ActionsMenuStore>(() => ({\n menuItems: [],\n }));\n\n context.registerSlot('top-end', {\n id: 'actionsMenu',\n component: DataGridActionsMenu,\n order: 100,\n });\n\n const useMenuItems = () => useStore((s) => s.menuItems);\n\n const api: DataGridActionsMenuPluginApi = {\n registerMenuItem,\n useMenuItems,\n onPropsChange,\n };\n\n return api;\n\n function registerMenuItem(options: DataGridActionsMenuItemOption) {\n const id = Math.random().toString();\n const currentItems = useStore.getState().menuItems;\n const order = options.order ?? (currentItems.length + 1) * 10;\n const newMenuItem = { id, ...options, order };\n const updatedItems = [...currentItems, newMenuItem].sort((a, b) => a.order - b.order);\n useStore.setState({ menuItems: updatedItems });\n }\n\n function onPropsChange(props: DataGridActionsMenuPluginProps) {\n const items: DataGridActionsMenuItem[] = props.menuItems.map((options, index) => {\n const id = Math.random().toString();\n const order = options.order ?? (index + 1) * 10;\n return { id, ...options, order } satisfies DataGridActionsMenuItem;\n });\n items.sort((a, b) => a.order - b.order);\n useStore.setState({ menuItems: items });\n }\n});\n","import type { DataGridItem } from '../../../../data-grid-types';\nimport type { DataGridPluginContext } from '../../../../services/plugins/plugins-types';\nimport type { DataGridExportColumn, DataGridExportOptions } from './export-types';\n\n// What a formatter does to one cell, apart from the service that uses the formatters: the service\n// imports them, so they cannot import it back.\n\nexport function getCellValue<Item extends DataGridItem = DataGridItem>(\n item: Item,\n column: DataGridExportColumn,\n): { raw: unknown; formatted: string } {\n const rawValue = column.key ? item[column.key] : item[column.id];\n\n let formattedValue: string;\n if (column.formatter) {\n formattedValue = column.formatter(rawValue);\n } else {\n formattedValue = String(rawValue ?? '');\n }\n\n return { raw: rawValue, formatted: formattedValue };\n}\n\nexport function applyCellTextTransformation<Item extends DataGridItem = DataGridItem>({\n item,\n column,\n cellValue,\n transformCellText,\n gridContext,\n}: {\n item: Item;\n column: DataGridExportColumn;\n cellValue: { raw: unknown; formatted: string };\n transformCellText: DataGridExportOptions<Item>['transformCellText'];\n gridContext: DataGridPluginContext<Item>;\n}): string {\n const transformer = transformCellText?.[column.id];\n\n if (!transformer) {\n return cellValue.formatted;\n }\n\n return transformer(\n {\n value: cellValue.raw,\n formattedValue: cellValue.formatted,\n row: item,\n },\n gridContext,\n );\n}\n","import type { DataGridItem } from '../../../../../data-grid-types';\nimport { applyCellTextTransformation, getCellValue } from '../export-cells';\nimport type { DataGridExportFormatter, DataGridExportFormatterParams } from '../export-types';\n\nexport const csvFormatter: DataGridExportFormatter = <Item extends DataGridItem>(\n exportContext: DataGridExportFormatterParams<Item>,\n): Promise<string> => {\n const { data, columns, options, gridContext } = exportContext;\n const delimiter = options.delimiter || ',';\n const includeHeaders = options.includeHeaders ?? true;\n const rows: string[] = [];\n\n if (includeHeaders) {\n const headerRow = columns\n .map((column) => escapeCsvValue(column.label, delimiter))\n .join(delimiter);\n rows.push(headerRow);\n }\n\n for (const item of data) {\n const row: string[] = [];\n\n for (const column of columns) {\n const cellValue = getCellValue(item, column);\n\n const transformedValue = applyCellTextTransformation({\n item,\n column,\n cellValue,\n transformCellText: options.transformCellText,\n gridContext,\n });\n\n row.push(escapeCsvValue(transformedValue, delimiter));\n }\n\n rows.push(row.join(delimiter));\n }\n\n return Promise.resolve(rows.join('\\n'));\n};\n\nconst csvInjectionChars = /^[=+\\-@\\t\\r]/;\n\nfunction escapeCsvValue(value: string, delimiter: string): string {\n const stringValue = String(value ?? '');\n\n const needsQuoting =\n stringValue.includes(delimiter) ||\n stringValue.includes('\\n') ||\n stringValue.includes('\"') ||\n csvInjectionChars.test(stringValue);\n\n if (needsQuoting) {\n const escaped = stringValue.replace(/\"/g, '\"\"');\n // Prefix with tab to prevent CSV injection (CWE-1236) when value starts with a formula character\n const prefix = csvInjectionChars.test(stringValue) ? '\\t' : '';\n return `\"${prefix}${escaped}\"`;\n }\n\n return stringValue;\n}\n","import type { DataGridItem } from '../../../../../data-grid-types';\nimport { applyCellTextTransformation, getCellValue } from '../export-cells';\nimport type {\n DataGridExcelJsApi,\n DataGridExcelJsModule,\n DataGridExportFormatter,\n DataGridExportFormatterParams,\n} from '../export-types';\n\nexport const excelFormatter: DataGridExportFormatter = async <Item extends DataGridItem>(\n exportContext: DataGridExportFormatterParams<Item>,\n): Promise<Blob> => {\n const { data, columns, options, gridContext } = exportContext;\n\n if (!options.loadExcelJs) {\n throw new Error(\n 'Exporting to Excel needs `loadExcelJs`, a function that loads the exceljs package: the grid does not import it itself.',\n );\n }\n const excelJs = resolveExcelJs(await options.loadExcelJs());\n\n const workbook = new excelJs.Workbook();\n const worksheet = workbook.addWorksheet(options.sheetName);\n\n const includeHeaders = options.includeHeaders ?? true;\n let currentRow = 1;\n\n if (includeHeaders) {\n const headerRow = worksheet.getRow(currentRow);\n\n columns.forEach((column, index) => {\n const cell = headerRow.getCell(index + 1);\n cell.value = column.label;\n });\n\n currentRow++;\n }\n\n for (const item of data) {\n const row = worksheet.getRow(currentRow);\n\n for (const [columnIndex, column] of columns.entries()) {\n const cellValue = getCellValue(item, column);\n\n const transformedValue = applyCellTextTransformation({\n item,\n column,\n cellValue,\n transformCellText: options.transformCellText,\n gridContext,\n });\n\n const cell = row.getCell(columnIndex + 1);\n\n cell.value = processExcelValue(cellValue.raw, transformedValue);\n }\n\n currentRow++;\n }\n\n const buffer = await workbook.xlsx.writeBuffer();\n return new Blob([buffer], {\n type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n });\n};\n\nfunction hasDefault(module: DataGridExcelJsModule): module is { default: DataGridExcelJsApi } {\n return 'default' in module && !!module.default;\n}\n\n// A CommonJS package imported dynamically arrives as the module itself under one bundler and as\n// `{ default: module }` under another, so the loader's result is read either way.\nfunction resolveExcelJs(module: DataGridExcelJsModule): DataGridExcelJsApi {\n const api = hasDefault(module) ? module.default : module;\n if (typeof api.Workbook !== 'function') {\n throw new Error('`loadExcelJs` has to resolve to the exceljs package, which exports `Workbook`.');\n }\n return api;\n}\n\nexport function processExcelValue(\n rawValue: unknown,\n transformedValue: string,\n): string | number | boolean | Date {\n if (transformedValue !== String(rawValue ?? '')) {\n return transformedValue;\n }\n\n if (rawValue === null || rawValue === undefined) {\n return '';\n }\n\n if (typeof rawValue === 'number') {\n return rawValue;\n }\n\n if (typeof rawValue === 'boolean') {\n return rawValue;\n }\n\n if (rawValue instanceof Date) {\n return rawValue;\n }\n\n if (typeof rawValue === 'string') {\n const dateRegex = /^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})?)?$/;\n if (dateRegex.test(rawValue)) {\n const date = new Date(rawValue);\n if (!isNaN(date.getTime())) {\n return date;\n }\n }\n\n const trimmed = rawValue.trim();\n if (\n trimmed !== '' &&\n !isNaN(Number(trimmed)) &&\n !/[eE]/.test(trimmed) &&\n !(trimmed.length > 1 && trimmed.startsWith('0') && trimmed[1] !== '.')\n ) {\n return Number(trimmed);\n }\n }\n\n return String(rawValue);\n}\n","import type { DataGridItem } from '../../../../data-grid-types';\nimport type { DataGridPluginContext } from '../../../../services/plugins/plugins-types';\nimport type {\n DataGridItemId,\n DataGridRecord,\n DataGridSection,\n} from '../../../../services/storage/storage-types';\nimport type { PaginationPluginApi } from '../../../pagination/pagination-plugin';\nimport type { DataGridTableTreePluginApi } from '../../../table-tree/table-tree-types';\nimport type {\n DataGridExportColumn,\n DataGridExportOptions,\n DataGridExportService,\n} from './export-types';\nimport { csvFormatter } from './formatters/csv-formatter';\nimport { excelFormatter } from './formatters/excel-formatter';\n\nexport function createExportService<\n Item extends DataGridItem = DataGridItem,\n>(): DataGridExportService<Item> {\n return {\n exportToCSV,\n exportToExcel,\n downloadFile,\n getAllData,\n };\n\n async function exportToCSV(\n data: Item[],\n columns: DataGridExportColumn[],\n options: DataGridExportOptions<Item>,\n gridContext: DataGridPluginContext<Item>,\n ): Promise<void> {\n const csvOptions = { ...options, format: 'csv' as const };\n try {\n const csvContent = await csvFormatter<Item>({\n data,\n columns,\n options: csvOptions,\n gridContext,\n });\n\n const filename = generateFilename(options.filename, 'csv');\n downloadFile(csvContent, filename, 'text/csv');\n } catch (error) {\n if (options.onError) {\n options.onError(toError(error));\n } else {\n throw error;\n }\n }\n }\n\n async function exportToExcel(\n data: Item[],\n columns: DataGridExportColumn[],\n options: DataGridExportOptions<Item>,\n gridContext: DataGridPluginContext<Item>,\n ): Promise<void> {\n const excelOptions = { ...options, format: 'xlsx' as const };\n try {\n const excelBlob = await excelFormatter<Item>({\n data,\n columns,\n options: excelOptions,\n gridContext,\n });\n\n const filename = generateFilename(options.filename, 'xlsx');\n downloadFile(\n excelBlob,\n filename,\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n );\n } catch (error) {\n if (options.onError) {\n options.onError(toError(error));\n } else {\n throw error;\n }\n }\n }\n\n function downloadFile(content: string | Blob, filename: string, mimeType: string): void {\n const blob = content instanceof Blob ? content : new Blob([content], { type: mimeType });\n const url = URL.createObjectURL(blob);\n\n const link = document.createElement('a');\n link.href = url;\n link.download = filename;\n link.style.display = 'none';\n\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n\n URL.revokeObjectURL(url);\n }\n\n async function getAllData(gridContext: DataGridPluginContext<Item>): Promise<Item[]> {\n // The export reads the pagination and the tree plugin by name: with neither registered, what\n // is on screen is everything there is.\n const paginationPlugin = gridContext.getPlugin<PaginationPluginApi>('pagination');\n const treePlugin = gridContext.getPlugin<DataGridTableTreePluginApi<Item>>('tableTree');\n\n if (treePlugin && paginationPlugin) {\n return await getAllTreeDataWithPagination(gridContext, treePlugin, paginationPlugin);\n } else if (treePlugin) {\n return await getAllTreeData(gridContext, treePlugin);\n } else if (paginationPlugin) {\n return await getAllDataPageByPage(gridContext, paginationPlugin);\n }\n\n const records = gridContext.useStore.getState().visibleRecords;\n return records.map((record) => record.item);\n }\n\n async function getAllTreeData(\n gridContext: DataGridPluginContext<Item>,\n treePlugin: DataGridTableTreePluginApi<Item>,\n ): Promise<Item[]> {\n const allData: Item[] = [];\n const visitedIds = new Set<DataGridItemId>();\n const records = gridContext.useStore.getState().visibleRecords;\n\n await collectTreeDataFromRecords(gridContext, records, allData, visitedIds, treePlugin);\n return allData;\n }\n\n async function getAllTreeDataWithPagination(\n gridContext: DataGridPluginContext<Item>,\n treePlugin: DataGridTableTreePluginApi<Item>,\n paginationPlugin: PaginationPluginApi,\n ): Promise<Item[]> {\n const originalState = { page: paginationPlugin.getPage(), limit: paginationPlugin.getLimit() };\n const allData: Item[] = [];\n const visitedIds = new Set<DataGridItemId>();\n let currentPage = 1;\n let hasMorePages = true;\n\n while (hasMorePages) {\n const loadInstance = gridContext.triggerLoad({\n loadContext: {\n pagination: { ...originalState, page: currentPage },\n tree: { parentId: null },\n },\n store: false,\n });\n\n await loadInstance.promise;\n\n if (loadInstance.processResult) {\n const pageData = loadInstance.processResult.results;\n\n if (pageData.length === 0) {\n hasMorePages = false;\n } else {\n // A page is not stored, so it has no records of the grid's own; the tree is walked\n // over records made for it.\n const pageRecords = pageData.map((item, index) => ({\n id: gridContext.getItemId(item),\n item,\n index,\n section: rootSection<Item>(),\n }));\n\n await collectTreeDataFromRecords(\n gridContext,\n pageRecords,\n allData,\n visitedIds,\n treePlugin,\n );\n\n currentPage++;\n\n if (pageData.length < originalState.limit) {\n hasMorePages = false;\n }\n }\n } else {\n hasMorePages = false;\n }\n }\n\n return allData;\n }\n\n async function collectTreeDataFromRecords(\n gridContext: DataGridPluginContext<Item>,\n records: DataGridRecord<Item>[],\n allData: Item[],\n visitedIds: Set<DataGridItemId>,\n treePlugin: DataGridTableTreePluginApi<Item>,\n ): Promise<void> {\n for (const record of records) {\n if (visitedIds.has(record.id)) {\n continue;\n }\n\n visitedIds.add(record.id);\n allData.push(record.item);\n\n const expandable = treePlugin.isExpandable(record);\n if (expandable) {\n // Load children if not already loaded\n const loadedSections = gridContext.getSectionsByParentId(record.id);\n if (!loadedSections.length) {\n const loadInstance = gridContext.triggerLoad({\n loadContext: { tree: { parentId: record.id } },\n });\n await loadInstance.promise;\n }\n\n const childRecords = gridContext.getRecordsByParentId(record.id);\n if (childRecords.length > 0) {\n await collectTreeDataFromRecords(\n gridContext,\n childRecords,\n allData,\n visitedIds,\n treePlugin,\n );\n }\n }\n }\n }\n\n async function getAllDataPageByPage(\n gridContext: DataGridPluginContext<Item>,\n paginationPlugin: PaginationPluginApi,\n ): Promise<Item[]> {\n const originalState = { page: paginationPlugin.getPage(), limit: paginationPlugin.getLimit() };\n\n const allData: Item[] = [];\n let currentPage = 1;\n let hasMorePages = true;\n\n while (hasMorePages) {\n const loadInstance = gridContext.triggerLoad({\n loadContext: {\n pagination: { ...originalState, page: currentPage },\n },\n store: false,\n });\n\n await loadInstance.promise;\n\n if (loadInstance.processResult) {\n const pageData = loadInstance.processResult.results;\n\n if (pageData.length === 0) {\n hasMorePages = false;\n } else {\n allData.push(...pageData);\n currentPage++;\n\n if (pageData.length < originalState.limit) {\n hasMorePages = false;\n }\n\n if (\n loadInstance.processResult.total &&\n allData.length >= loadInstance.processResult.total\n ) {\n hasMorePages = false;\n }\n }\n } else {\n hasMorePages = false;\n }\n }\n\n return allData;\n }\n}\n\nfunction rootSection<Item extends DataGridItem>(): DataGridSection<Item> {\n return { id: '', visible: true, loadContext: {}, parentId: null, records: [] };\n}\n\nfunction toError(error: unknown): Error {\n return error instanceof Error ? error : new Error(String(error));\n}\n\nexport function generateFilename(\n filename: string | (() => string) | undefined,\n extension: string,\n): string {\n if (typeof filename === 'function') {\n return filename();\n }\n\n if (typeof filename === 'string') {\n return filename.endsWith(`.${extension}`) ? filename : `${filename}.${extension}`;\n }\n\n const timestamp = new Date().toISOString().slice(0, 19).replace(/:/g, '-');\n return `${timestamp}.${extension}`;\n}\n","import { ArrowDownToLineIcon } from 'lucide-react';\nimport { useState } from 'react';\nimport { DropdownMenuItem } from '../../../../../dropdown-menu/public.js';\nimport { messages } from '../../../../messages';\nimport { useDataGridPluginContext } from '../../../../services/core/data-grid-context';\nimport { resolveLabel } from '../../../../services/table/table-helpers';\nimport { useTableService } from '../../../../services/table/table-context';\nimport { isRecord } from '../../../../utils/is-record';\nimport { createExportService } from './export-service';\nimport type {\n DataGridExportColumn,\n DataGridExportFormat,\n DataGridExportOptions,\n} from './export-types';\n\ninterface DataGridExportMenuItemParams {\n type: DataGridExportFormat;\n exportConfig?: Partial<DataGridExportOptions>;\n}\n\nexport interface DataGridExportMenuItemProps {\n params?: Record<string, unknown>;\n}\n\n// The menu hands every item `params` as a plain record, so the item reads its own back with these.\n// `exportConfig` is only known to be an object here: `exportMenuItems` is what typed it.\nfunction isExportFormat(value: unknown): value is DataGridExportFormat {\n return value === 'csv' || value === 'xlsx';\n}\n\nfunction isExportConfig(value: unknown): value is Partial<DataGridExportOptions> {\n return isRecord(value);\n}\n\nfunction readParams(params: Record<string, unknown> | undefined): DataGridExportMenuItemParams | undefined {\n if (!params || !isExportFormat(params.type)) return undefined;\n\n return {\n type: params.type,\n exportConfig: isExportConfig(params.exportConfig) ? params.exportConfig : undefined,\n };\n}\n\nexport function DataGridExportMenuItem({ params: rawParams }: DataGridExportMenuItemProps) {\n const params = readParams(rawParams);\n const pluginContext = useDataGridPluginContext();\n // useTableService is needed for useVisibleColumns which isn't exposed in the public API\n const tableService = useTableService();\n const [isExporting, setIsExporting] = useState(false);\n\n const visibleColumns = tableService.useVisibleColumns();\n const exportType = params?.type === 'csv' ? 'CSV' : 'Excel';\n\n async function handleSelect() {\n if (isExporting || !params) return;\n\n setIsExporting(true);\n\n try {\n const exportService = createExportService();\n\n const allData = await exportService.getAllData(pluginContext);\n\n const columns: DataGridExportColumn[] = visibleColumns.map((column) => {\n const label = resolveLabel(column.label);\n return {\n id: column.id,\n label,\n key: column.key,\n formatter: column.formatter,\n };\n });\n\n const defaultOptions: DataGridExportOptions = {\n format: params.type,\n filename: messages.exportMenuItem.defaultFilename,\n includeHeaders: true,\n ...(params.type === 'xlsx' ? { sheetName: messages.exportMenuItem.defaultSheetName } : {}),\n };\n\n const options: DataGridExportOptions = {\n ...defaultOptions,\n ...params.exportConfig,\n };\n\n const method =\n params.type === 'csv' ? exportService.exportToCSV : exportService.exportToExcel;\n\n await method(allData, columns, options, pluginContext);\n } catch (error) {\n console.error('Export failed:', error);\n } finally {\n setIsExporting(false);\n }\n }\n\n return (\n <DropdownMenuItem disabled={isExporting} onClick={handleSelect}>\n <ArrowDownToLineIcon />\n {messages.exportMenuItem.exportAs(exportType)}\n </DropdownMenuItem>\n );\n}\n","// `.js` on each relative import: they land verbatim in the shipped declaration file, where\n// `moduleResolution: \"nodenext\"` rejects an extensionless one and the type behind it goes untyped.\nimport type { DataGridItem } from '../../../../data-grid-types.js';\nimport type { DataGridActionsMenuItemOption } from '../../actions-menu-types.js';\nimport { DataGridExportMenuItem } from './data-grid-export-menu-item';\nimport type { DataGridExportOptions } from './export-types.js';\n\n/**\n * The items that export the grid's rows: Excel, when `loadExcelJs` is given, and CSV. Both read the\n * whole data set, not just the page on screen.\n */\nexport function exportMenuItems<Item extends DataGridItem = DataGridItem>(\n config?: Partial<DataGridExportOptions<Item>>,\n): DataGridActionsMenuItemOption[] {\n const csv: DataGridActionsMenuItemOption = {\n component: DataGridExportMenuItem,\n params: { type: 'csv', exportConfig: config },\n };\n\n // exceljs is the consumer's to load, so an Excel item with no way to load it would only fail.\n if (!config?.loadExcelJs) return [csv];\n\n return [{ component: DataGridExportMenuItem, params: { type: 'xlsx', exportConfig: config } }, csv];\n}\n"],"names":["DataGridActionsMenu","menuItems","useDataGrid","portalContainer","useDataGridPortalContainer","DropdownMenu","jsx","DropdownMenuTrigger","Button","EllipsisIcon","messages","DropdownMenuContent","menuItem","DataGridActionsMenuPlugin","createDataGridPlugin","context","useStore","create","registerMenuItem","s","onPropsChange","options","id","currentItems","order","newMenuItem","updatedItems","a","b","props","items","index","getCellValue","item","column","rawValue","formattedValue","applyCellTextTransformation","cellValue","transformCellText","gridContext","transformer","csvFormatter","exportContext","data","columns","delimiter","includeHeaders","rows","headerRow","escapeCsvValue","row","transformedValue","csvInjectionChars","value","stringValue","escaped","excelFormatter","excelJs","resolveExcelJs","workbook","worksheet","currentRow","cell","columnIndex","processExcelValue","buffer","hasDefault","module","api","date","trimmed","createExportService","exportToCSV","exportToExcel","downloadFile","getAllData","csvOptions","csvContent","filename","generateFilename","error","toError","excelOptions","excelBlob","content","mimeType","blob","url","link","paginationPlugin","treePlugin","getAllTreeDataWithPagination","getAllTreeData","getAllDataPageByPage","record","allData","visitedIds","records","collectTreeDataFromRecords","originalState","currentPage","hasMorePages","loadInstance","pageData","pageRecords","rootSection","childRecords","extension","isExportFormat","isExportConfig","isRecord","readParams","params","DataGridExportMenuItem","rawParams","pluginContext","useDataGridPluginContext","tableService","useTableService","isExporting","setIsExporting","useState","visibleColumns","exportType","handleSelect","exportService","label","resolveLabel","jsxs","DropdownMenuItem","ArrowDownToLineIcon","exportMenuItems","config","csv"],"mappings":";;;;;;;;;;;;;AAaO,SAASA,IAAsB;AAGpC,QAAMC,IAFOC,EAAA,EACY,UAAwC,aAAa,EAChD,aAAA,GACxBC,IAAkBC,EAAA;AAExB,2BACGC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,QACE,gBAAAD;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,SAAQ;AAAA,YACR,MAAK;AAAA,YACL,wBAAOC,GAAA,EAAa;AAAA,YACpB,cAAYC,EAAS,YAAY;AAAA,UAAA;AAAA,QAAA;AAAA,MACnC;AAAA,IAAA;AAAA,IAGJ,gBAAAJ,EAACK,KAAoB,MAAK,UAAS,OAAM,OAAM,WAAWR,GACvD,UAAAF,EAAU,IAAI,CAACW,MACd,gBAAAN,EAACM,EAAS,WAAT,EAAqC,QAAQA,EAAS,OAAA,GAA9BA,EAAS,EAA6B,CAChE,EAAA,CACH;AAAA,EAAA,GACF;AAEJ;AChBO,MAAMC,KAA4BC,EAKvC,eAAe,CAACC,MAAY;AAC5B,QAAMC,IAAWC,EAAyB,OAAO;AAAA,IAC/C,WAAW,CAAA;AAAA,EAAC,EACZ;AAEF,SAAAF,EAAQ,aAAa,WAAW;AAAA,IAC9B,IAAI;AAAA,IACJ,WAAWf;AAAA,IACX,OAAO;AAAA,EAAA,CACR,GAIyC;AAAA,IACxC,kBAAAkB;AAAA,IACA,cAJmB,MAAMF,EAAS,CAACG,MAAMA,EAAE,SAAS;AAAA,IAKpD,eAAAC;AAAA,EAAA;AAKF,WAASF,EAAiBG,GAAwC;AAChE,UAAMC,IAAK,KAAK,OAAA,EAAS,SAAA,GACnBC,IAAeP,EAAS,SAAA,EAAW,WACnCQ,IAAQH,EAAQ,UAAUE,EAAa,SAAS,KAAK,IACrDE,IAAc,EAAE,IAAAH,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,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { u as i, c as a } from "../chunks/plugins-helpers.js";
|
|
4
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
5
|
-
import '../chunks/actions.iasfkjWq.css';const u = "_wrapper_18zhb_1", m = {
|
|
6
|
-
wrapper: u
|
|
7
|
-
};
|
|
8
|
-
function d() {
|
|
9
|
-
const o = i().getPlugin("actions"), t = o.useComponent(), e = o.useProps();
|
|
10
|
-
return t ? /* @__PURE__ */ s("div", { className: m.wrapper, children: /* @__PURE__ */ s(t, { ...e }) }) : null;
|
|
11
|
-
}
|
|
12
|
-
const C = a("actions", (r) => {
|
|
13
|
-
const o = c(() => ({
|
|
14
|
-
component: null,
|
|
15
|
-
props: void 0
|
|
16
|
-
}));
|
|
17
|
-
return r.registerSlot("top-end", {
|
|
18
|
-
id: "actions",
|
|
19
|
-
component: d,
|
|
20
|
-
order: 0
|
|
21
|
-
}), {
|
|
22
|
-
useComponent: () => o((n) => n.component),
|
|
23
|
-
useProps: () => o((n) => n.props),
|
|
24
|
-
onPropsChange: p
|
|
25
|
-
};
|
|
26
|
-
function p(n) {
|
|
27
|
-
o.setState({
|
|
28
|
-
component: n.component,
|
|
29
|
-
props: n.props
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
C as DataGridActionsPlugin
|
|
35
|
-
};
|
|
1
|
+
export { DataGridActionsPlugin } from "../chunks/components/data-grid/plugins/actions/actions-plugin.js";
|
|
2
|
+
|
|
36
3
|
//# sourceMappingURL=actions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sources":[
|
|
1
|
+
{"version":3,"file":"actions.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,261 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { u as L, b as P, c as q } from "../chunks/plugins-helpers.js";
|
|
4
|
-
import { jsx as D, jsxs as y } from "react/jsx-runtime";
|
|
5
|
-
import { cx as C } from "class-variance-authority";
|
|
6
|
-
import { GripVerticalIcon as B } from "lucide-react";
|
|
7
|
-
import { m as H } from "../chunks/messages.js";
|
|
8
|
-
import { I as N } from "../chunks/ignore-row-click.js";
|
|
9
|
-
import { u as O, D as j } from "../chunks/data-grid-record-context.js";
|
|
10
|
-
import { Spinner as F } from "../spinner.js";
|
|
11
|
-
import { combine as h } from "@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/combine.js";
|
|
12
|
-
import { dropTargetForElements as E, monitorForElements as V, draggable as A } from "@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/element/adapter.js";
|
|
13
|
-
import { extractClosestEdge as K, attachClosestEdge as M } from "@atlaskit/pragmatic-drag-and-drop-hitbox/dist/esm/closest-edge.js";
|
|
14
|
-
import { useRef as S, useEffect as G, useState as U } from "react";
|
|
15
|
-
import { i as T } from "../chunks/is-record.js";
|
|
16
|
-
import { pointerOutsideOfPreview as $ } from "@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/element/pointer-outside-of-preview.js";
|
|
17
|
-
import { setCustomNativeDragPreview as k } from "@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/element/set-custom-native-drag-preview.js";
|
|
18
|
-
import { flushSync as z, createPortal as J } from "react-dom";
|
|
19
|
-
import { D as b, r as Q, a as W } from "../chunks/resolve-body-cell-props.js";
|
|
20
|
-
import { u as X } from "../chunks/use-latest.js";
|
|
21
|
-
import { TableRow as Y } from "../table.js";
|
|
22
|
-
import '../chunks/drag-drop.BASVe3_O.css';const Z = "_dragHandler_mre9q_12", rr = "_dragHandlerLoading_mre9q_26", tr = "_dragRow_mre9q_38", or = "_dragRowDragging_mre9q_38", er = "_dragRowDropping_mre9q_60", nr = "_dragRowDropIndicatorTop_mre9q_66", ar = "_dragRowDropIndicatorBottom_mre9q_70", dr = "_dragPreview_mre9q_79", ir = "_content_mre9q_98", gr = "_contentDragging_mre9q_111", sr = "_contentRootDropping_mre9q_122", c = {
|
|
23
|
-
dragHandler: Z,
|
|
24
|
-
dragHandlerLoading: rr,
|
|
25
|
-
dragRow: tr,
|
|
26
|
-
dragRowDragging: or,
|
|
27
|
-
dragRowDropping: er,
|
|
28
|
-
dragRowDropIndicatorTop: nr,
|
|
29
|
-
dragRowDropIndicatorBottom: ar,
|
|
30
|
-
dragPreview: dr,
|
|
31
|
-
content: ir,
|
|
32
|
-
contentDragging: gr,
|
|
33
|
-
contentRootDropping: sr
|
|
34
|
-
};
|
|
35
|
-
function cr() {
|
|
36
|
-
const r = L(), t = O(), { useDropLoadingStore: n } = r.getPlugin("dragDrop"), o = n((i) => !!i.loading[t.id]);
|
|
37
|
-
return /* @__PURE__ */ D(
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
className: C(c.dragHandler, o && c.dragHandlerLoading),
|
|
41
|
-
[N]: "",
|
|
42
|
-
"data-drag-handle": "",
|
|
43
|
-
"aria-label": H.dragDrop.dragHandle,
|
|
44
|
-
children: o ? /* @__PURE__ */ D(F, {}) : /* @__PURE__ */ D(B, {})
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
function pr(r) {
|
|
49
|
-
return typeof r == "string" || typeof r == "number";
|
|
50
|
-
}
|
|
51
|
-
function lr(r) {
|
|
52
|
-
return T(r) && pr(r.id) && T(r.item);
|
|
53
|
-
}
|
|
54
|
-
function v(r) {
|
|
55
|
-
return lr(r.record) ? r.record : void 0;
|
|
56
|
-
}
|
|
57
|
-
function mr({ children: r }) {
|
|
58
|
-
const t = S(null), n = P(), { useDragDropStore: o, handleDrop: i } = n.plugins.getPlugin("dragDrop"), p = o((a) => a.isDragging), l = o((a) => a.isRootDropTarget);
|
|
59
|
-
return G(() => {
|
|
60
|
-
if (t.current)
|
|
61
|
-
return h(
|
|
62
|
-
E({
|
|
63
|
-
element: t.current,
|
|
64
|
-
getData: () => ({ type: "data-grid-root" })
|
|
65
|
-
}),
|
|
66
|
-
V({
|
|
67
|
-
// A page can hold several grids with this plugin, and another grid's rows are drag
|
|
68
|
-
// sources too: only a drag that began in this plugin instance is this one's to track.
|
|
69
|
-
canMonitor: ({ source: a }) => a.data.pluginStore === o,
|
|
70
|
-
onDragStart: ({ source: a }) => {
|
|
71
|
-
const g = v(a.data);
|
|
72
|
-
g && o.setState({ isDragging: !0, draggedRecordId: g.id });
|
|
73
|
-
},
|
|
74
|
-
onDropTargetChange: ({ location: a }) => {
|
|
75
|
-
const g = a.current.dropTargets, e = g.find((w) => w.data.type === "data-grid-row"), s = g.find((w) => w.data.type === "data-grid-root"), m = e ? K(e.data) : null, f = e ? v(e.data) : void 0;
|
|
76
|
-
o.setState({
|
|
77
|
-
dropTargetRecordId: f == null ? void 0 : f.id,
|
|
78
|
-
dropEdge: m === "top" || m === "bottom" ? m : void 0,
|
|
79
|
-
isRootDropTarget: !e && !!s
|
|
80
|
-
});
|
|
81
|
-
},
|
|
82
|
-
onDrop: ({ source: a, location: g }) => {
|
|
83
|
-
const e = g.current.dropTargets, s = v(a.data);
|
|
84
|
-
if (e.length > 0 && s) {
|
|
85
|
-
const m = e.find((f) => f.data.type === "data-grid-row");
|
|
86
|
-
i(s, m ? v(m.data) : void 0);
|
|
87
|
-
}
|
|
88
|
-
o.setState({
|
|
89
|
-
isDragging: !1,
|
|
90
|
-
draggedRecordId: void 0,
|
|
91
|
-
dropTargetRecordId: void 0,
|
|
92
|
-
dropEdge: void 0,
|
|
93
|
-
isRootDropTarget: !1
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
})
|
|
97
|
-
);
|
|
98
|
-
}, [o, i]), /* @__PURE__ */ D(
|
|
99
|
-
"div",
|
|
100
|
-
{
|
|
101
|
-
ref: t,
|
|
102
|
-
className: C(
|
|
103
|
-
c.content,
|
|
104
|
-
p && c.contentDragging,
|
|
105
|
-
p && l && c.contentRootDropping
|
|
106
|
-
),
|
|
107
|
-
children: r
|
|
108
|
-
}
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
function ur(r, t) {
|
|
112
|
-
const n = document.createElement("table"), o = r.closest("table");
|
|
113
|
-
n.className = [o == null ? void 0 : o.className, t].filter(Boolean).join(" "), n.style.width = `${r.getBoundingClientRect().width}px`;
|
|
114
|
-
const i = document.createElement("tbody");
|
|
115
|
-
return i.appendChild(r.cloneNode(!0)), n.appendChild(i), n;
|
|
116
|
-
}
|
|
117
|
-
function Dr({
|
|
118
|
-
record: r
|
|
119
|
-
}) {
|
|
120
|
-
const t = S(null), n = X(r), [o, i] = U(null), p = P(), l = p.table, a = l.useVisibleColumns(), g = l.useTableLayout(), { useDragDropStore: e, renderDragPreview: s } = p.plugins.getPlugin("dragDrop"), m = e((d) => d.draggedRecordId === r.id), f = e((d) => d.dropTargetRecordId === r.id), w = e(
|
|
121
|
-
(d) => d.dropTargetRecordId === r.id ? d.dropEdge : void 0
|
|
122
|
-
), x = l.useComponent("body-cell-content");
|
|
123
|
-
return G(() => {
|
|
124
|
-
if (!t.current) return;
|
|
125
|
-
const d = t.current.querySelector("[data-drag-handle]");
|
|
126
|
-
return h(
|
|
127
|
-
A({
|
|
128
|
-
element: t.current,
|
|
129
|
-
dragHandle: d ?? void 0,
|
|
130
|
-
getInitialData: () => ({
|
|
131
|
-
type: "data-grid-row",
|
|
132
|
-
pluginStore: e,
|
|
133
|
-
recordId: n.current.id,
|
|
134
|
-
record: n.current
|
|
135
|
-
}),
|
|
136
|
-
onGenerateDragPreview: ({ nativeSetDragImage: u }) => {
|
|
137
|
-
k({
|
|
138
|
-
nativeSetDragImage: u,
|
|
139
|
-
getOffset: $({ x: "8px", y: "8px" }),
|
|
140
|
-
render: ({ container: R }) => {
|
|
141
|
-
if (s)
|
|
142
|
-
return z(() => i(R)), () => i(null);
|
|
143
|
-
const _ = t.current;
|
|
144
|
-
_ && R.appendChild(ur(_, c.dragPreview));
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
}),
|
|
149
|
-
E({
|
|
150
|
-
element: t.current,
|
|
151
|
-
canDrop: ({ source: u }) => u.data.pluginStore === e && u.data.recordId !== n.current.id,
|
|
152
|
-
getData: ({ input: u, element: R }) => M(
|
|
153
|
-
{
|
|
154
|
-
type: "data-grid-row",
|
|
155
|
-
recordId: n.current.id,
|
|
156
|
-
record: n.current
|
|
157
|
-
},
|
|
158
|
-
{ input: u, element: R, allowedEdges: ["top", "bottom"] }
|
|
159
|
-
)
|
|
160
|
-
})
|
|
161
|
-
);
|
|
162
|
-
}, [r.id, e, s, n]), /* @__PURE__ */ y(j, { value: r, children: [
|
|
163
|
-
/* @__PURE__ */ y(
|
|
164
|
-
Y,
|
|
165
|
-
{
|
|
166
|
-
ref: t,
|
|
167
|
-
className: C(
|
|
168
|
-
c.dragRow,
|
|
169
|
-
m && c.dragRowDragging,
|
|
170
|
-
f && c.dragRowDropping,
|
|
171
|
-
w === "top" && c.dragRowDropIndicatorTop,
|
|
172
|
-
w === "bottom" && c.dragRowDropIndicatorBottom
|
|
173
|
-
),
|
|
174
|
-
children: [
|
|
175
|
-
/* @__PURE__ */ D(b, { position: "start" }),
|
|
176
|
-
a.map((d) => {
|
|
177
|
-
var _;
|
|
178
|
-
const u = (_ = d.getClassName) == null ? void 0 : _.call(d, r.item), R = Q(d, r.item, g);
|
|
179
|
-
return /* @__PURE__ */ D(
|
|
180
|
-
W,
|
|
181
|
-
{
|
|
182
|
-
columnId: d.id,
|
|
183
|
-
className: u,
|
|
184
|
-
...R,
|
|
185
|
-
children: /* @__PURE__ */ D(x, { column: d, item: r.item })
|
|
186
|
-
},
|
|
187
|
-
d.id
|
|
188
|
-
);
|
|
189
|
-
}),
|
|
190
|
-
/* @__PURE__ */ D(b, { position: "end" })
|
|
191
|
-
]
|
|
192
|
-
}
|
|
193
|
-
),
|
|
194
|
-
o && s ? J(s(r.item), o) : null
|
|
195
|
-
] });
|
|
196
|
-
}
|
|
197
|
-
function Or(r) {
|
|
198
|
-
return q(
|
|
199
|
-
"dragDrop",
|
|
200
|
-
(t) => {
|
|
201
|
-
const n = I(() => ({
|
|
202
|
-
isDragging: !1,
|
|
203
|
-
draggedRecordId: void 0,
|
|
204
|
-
dropTargetRecordId: void 0,
|
|
205
|
-
dropEdge: void 0,
|
|
206
|
-
isRootDropTarget: !1
|
|
207
|
-
})), o = I(() => ({
|
|
208
|
-
loading: {}
|
|
209
|
-
}));
|
|
210
|
-
return t.registerComponent("content", mr), t.registerExtraColumn({
|
|
211
|
-
id: "drag-drop",
|
|
212
|
-
body: cr,
|
|
213
|
-
position: "start",
|
|
214
|
-
order: 0,
|
|
215
|
-
width: "37px"
|
|
216
|
-
}), t.registerComponent("row", Dr), {
|
|
217
|
-
renderDragPreview: r.renderDragPreview,
|
|
218
|
-
useDragDropStore: n,
|
|
219
|
-
useDropLoadingStore: o,
|
|
220
|
-
setDropLoading: i,
|
|
221
|
-
clearDropLoading: p,
|
|
222
|
-
handleDrop: l
|
|
223
|
-
};
|
|
224
|
-
function i(a, g) {
|
|
225
|
-
o.setState((e) => ({ loading: { ...e.loading, [a]: g } }));
|
|
226
|
-
}
|
|
227
|
-
function p(a) {
|
|
228
|
-
o.setState((g) => {
|
|
229
|
-
const e = { ...g.loading };
|
|
230
|
-
return delete e[a], { loading: e };
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
function l(a, g) {
|
|
234
|
-
fr({
|
|
235
|
-
sourceRecord: a,
|
|
236
|
-
targetRecord: g,
|
|
237
|
-
onDrop: (e, s) => r.onDrop({ ...t, item: e, target: s }),
|
|
238
|
-
setDropLoading: i,
|
|
239
|
-
clearDropLoading: p
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
);
|
|
244
|
-
}
|
|
245
|
-
function fr({
|
|
246
|
-
sourceRecord: r,
|
|
247
|
-
targetRecord: t,
|
|
248
|
-
onDrop: n,
|
|
249
|
-
setDropLoading: o,
|
|
250
|
-
clearDropLoading: i
|
|
251
|
-
}) {
|
|
252
|
-
const p = (t == null ? void 0 : t.item) ?? null, l = n(r.item, p);
|
|
253
|
-
l instanceof Promise && (o(r.id, !0), l.catch(() => {
|
|
254
|
-
}).finally(() => {
|
|
255
|
-
i(r.id);
|
|
256
|
-
}));
|
|
257
|
-
}
|
|
258
|
-
export {
|
|
259
|
-
Or as createDataGridDragDropPlugin
|
|
260
|
-
};
|
|
1
|
+
export { createDataGridDragDropPlugin } from "../chunks/components/data-grid/plugins/drag-drop/drag-drop-plugin.js";
|
|
2
|
+
|
|
261
3
|
//# sourceMappingURL=drag-drop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag-drop.js","sources":["../../src/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.tsx","../../src/components/data-grid/plugins/drag-drop/drag-data.ts","../../src/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.tsx","../../src/components/data-grid/plugins/drag-drop/drag-preview.ts","../../src/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.tsx","../../src/components/data-grid/plugins/drag-drop/drag-drop-plugin.tsx"],"sourcesContent":["import { cx } from 'class-variance-authority';\nimport { GripVerticalIcon } from 'lucide-react';\nimport { Spinner } from '../../../../spinner/public.js';\nimport { messages } from '../../../messages';\nimport { useDataGrid } from '../../../services/core/data-grid-context';\nimport { IGNORE_CLICK_ATTRIBUTE } from '../../../services/table/ignore-row-click';\nimport { useDataGridRecord } from '../../../services/table/data-grid-record-context';\nimport type { DataGridDragDropPluginApi } from '../drag-drop-types';\nimport styles from './data-grid-drag-drop.module.css';\n\nexport function DataGridDragDropBodyCell() {\n const grid = useDataGrid();\n const record = useDataGridRecord();\n\n const { useDropLoadingStore } = grid.getPlugin<DataGridDragDropPluginApi>('dragDrop')!;\n\n const isLoading = useDropLoadingStore((s) => !!s.loading[record.id]);\n\n return (\n <div\n className={cx(styles.dragHandler, isLoading && styles.dragHandlerLoading)}\n {...{ [IGNORE_CLICK_ATTRIBUTE]: '' }}\n data-drag-handle=\"\"\n aria-label={messages.dragDrop.dragHandle}\n >\n {isLoading ? <Spinner /> : <GripVerticalIcon />}\n </div>\n );\n}\n","import type { DataGridItemId, DataGridRecord } from '../../services/storage/storage-types';\nimport { isRecord } from '../../utils/is-record';\n\n// What a row puts in the drag data (`getInitialData`) and a drop target reads back is typed\n// `unknown` by the drag library, so each read goes through one of these guards instead of a cast.\n\nfunction isDataGridItemId(value: unknown): value is DataGridItemId {\n return typeof value === 'string' || typeof value === 'number';\n}\n\nfunction isDataGridRecord(value: unknown): value is DataGridRecord {\n return isRecord(value) && isDataGridItemId(value.id) && isRecord(value.item);\n}\n\n/** The record a dragged row or a row used as a drop target carries, or nothing for any other data. */\nexport function readRecord(data: Record<string | symbol, unknown>): DataGridRecord | undefined {\n return isDataGridRecord(data.record) ? data.record : undefined;\n}\n","import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';\nimport {\n dropTargetForElements,\n monitorForElements,\n} from '@atlaskit/pragmatic-drag-and-drop/element/adapter';\nimport { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge';\nimport { cx } from 'class-variance-authority';\nimport type { ReactNode } from 'react';\nimport { useEffect, useRef } from 'react';\nimport { useDataGridContext } from '../../../services/core/data-grid-context';\nimport { readRecord } from '../drag-data';\nimport type { DataGridDragDropPluginApi } from '../drag-drop-types';\nimport styles from './data-grid-drag-drop.module.css';\n\ninterface DataGridDragDropContentProps {\n children?: ReactNode;\n}\n\nexport function DataGridDragDropContent({ children }: DataGridDragDropContentProps) {\n const contentRef = useRef<HTMLDivElement>(null);\n\n const context = useDataGridContext();\n const { useDragDropStore, handleDrop } =\n context.plugins.getPlugin<DataGridDragDropPluginApi>('dragDrop')!;\n\n const isDragging = useDragDropStore((s) => s.isDragging);\n const isRootDropTarget = useDragDropStore((s) => s.isRootDropTarget);\n\n useEffect(() => {\n if (!contentRef.current) return;\n\n return combine(\n dropTargetForElements({\n element: contentRef.current,\n getData: () => ({ type: 'data-grid-root' }),\n }),\n monitorForElements({\n // A page can hold several grids with this plugin, and another grid's rows are drag\n // sources too: only a drag that began in this plugin instance is this one's to track.\n canMonitor: ({ source }) => source.data.pluginStore === useDragDropStore,\n onDragStart: ({ source }) => {\n const record = readRecord(source.data);\n if (!record) return;\n\n useDragDropStore.setState({ isDragging: true, draggedRecordId: record.id });\n },\n onDropTargetChange: ({ location }) => {\n const targets = location.current.dropTargets;\n const rowTarget = targets.find((t) => t.data.type === 'data-grid-row');\n const rootTarget = targets.find((t) => t.data.type === 'data-grid-root');\n const dropEdge = rowTarget ? extractClosestEdge(rowTarget.data) : null;\n const targetRecord = rowTarget ? readRecord(rowTarget.data) : undefined;\n\n useDragDropStore.setState({\n dropTargetRecordId: targetRecord?.id,\n dropEdge: dropEdge === 'top' || dropEdge === 'bottom' ? dropEdge : undefined,\n isRootDropTarget: !rowTarget && !!rootTarget,\n });\n },\n onDrop: ({ source, location }) => {\n const targets = location.current.dropTargets;\n const sourceRecord = readRecord(source.data);\n\n if (targets.length > 0 && sourceRecord) {\n const rowTarget = targets.find((t) => t.data.type === 'data-grid-row');\n handleDrop(sourceRecord, rowTarget ? readRecord(rowTarget.data) : undefined);\n }\n\n useDragDropStore.setState({\n isDragging: false,\n draggedRecordId: undefined,\n dropTargetRecordId: undefined,\n dropEdge: undefined,\n isRootDropTarget: false,\n });\n },\n }),\n );\n }, [useDragDropStore, handleDrop]);\n\n return (\n <div\n ref={contentRef}\n className={cx(\n styles.content,\n isDragging && styles.contentDragging,\n isDragging && isRootDropTarget && styles.contentRootDropping,\n )}\n >\n {children}\n </div>\n );\n}\n","export function buildClonedRowPreview(row: HTMLElement, className: string): HTMLTableElement {\n const table = document.createElement('table');\n const sourceTable = row.closest('table');\n table.className = [sourceTable?.className, className].filter(Boolean).join(' ');\n table.style.width = `${row.getBoundingClientRect().width}px`;\n\n const tbody = document.createElement('tbody');\n tbody.appendChild(row.cloneNode(true));\n table.appendChild(tbody);\n\n return table;\n}\n","import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';\nimport {\n draggable,\n dropTargetForElements,\n} from '@atlaskit/pragmatic-drag-and-drop/element/adapter';\nimport { pointerOutsideOfPreview } from '@atlaskit/pragmatic-drag-and-drop/element/pointer-outside-of-preview';\nimport { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview';\nimport { attachClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge';\nimport { cx } from 'class-variance-authority';\nimport { useEffect, useRef, useState } from 'react';\nimport { createPortal, flushSync } from 'react-dom';\nimport { TableRow } from '../../../../table/public.js';\nimport type { DataGridItem } from '../../../data-grid-types';\nimport { useDataGridContext } from '../../../services/core/data-grid-context';\nimport type { DataGridRecord } from '../../../services/storage/storage-types';\nimport { DataGridCell } from '../../../services/table/components/data-grid-cell';\nimport { DataGridExtraBodyColumns } from '../../../services/table/components/data-grid-extra-body-columns';\nimport { DataGridRecordProvider } from '../../../services/table/data-grid-record-context';\nimport { resolveBodyCellProps } from '../../../services/table/resolve-body-cell-props';\nimport type { DataGridTableColumn } from '../../../services/table/table-types';\nimport { useLatest } from '../../../utils/use-latest';\nimport type { DataGridDragDropPluginApi } from '../drag-drop-types';\nimport { buildClonedRowPreview } from '../drag-preview';\nimport styles from './data-grid-drag-drop.module.css';\n\ninterface DataGridDragDropRowProps<TItem extends DataGridItem> {\n record: DataGridRecord<TItem>;\n}\n\nexport function DataGridDragDropRow<TItem extends DataGridItem>({\n record,\n}: DataGridDragDropRowProps<TItem>) {\n const rowRef = useRef<HTMLTableRowElement>(null);\n // The drag and drop callbacks are registered once per record id and read the record when the\n // event fires, so a refreshed record is what they see.\n const recordRef = useLatest(record);\n\n const [previewContainer, setPreviewContainer] = useState<HTMLElement | null>(null);\n\n const context = useDataGridContext<TItem>();\n const tableService = context.table;\n const columns = tableService.useVisibleColumns();\n const tableLayout = tableService.useTableLayout();\n\n const { useDragDropStore, renderDragPreview } =\n context.plugins.getPlugin<DataGridDragDropPluginApi<TItem>>('dragDrop')!;\n\n const isDragging = useDragDropStore((s) => s.draggedRecordId === record.id);\n const isDropping = useDragDropStore((s) => s.dropTargetRecordId === record.id);\n const dropEdge = useDragDropStore((s) =>\n s.dropTargetRecordId === record.id ? s.dropEdge : undefined,\n );\n\n const BodyCellContent = tableService.useComponent<{\n column: DataGridTableColumn<TItem>;\n item: TItem;\n }>('body-cell-content');\n\n useEffect(() => {\n if (!rowRef.current) return;\n\n const handleEl = rowRef.current.querySelector<HTMLElement>('[data-drag-handle]');\n\n return combine(\n draggable({\n element: rowRef.current,\n dragHandle: handleEl ?? undefined,\n getInitialData: () => ({\n type: 'data-grid-row',\n pluginStore: useDragDropStore,\n recordId: recordRef.current.id,\n record: recordRef.current,\n }),\n onGenerateDragPreview: ({ nativeSetDragImage }) => {\n setCustomNativeDragPreview({\n nativeSetDragImage,\n getOffset: pointerOutsideOfPreview({ x: '8px', y: '8px' }),\n render: ({ container }) => {\n if (renderDragPreview) {\n // Render the consumer's preview inside the live React tree (so it\n // keeps context); flushSync commits the portal before the browser\n // snapshots the preview image.\n flushSync(() => setPreviewContainer(container));\n return () => setPreviewContainer(null);\n }\n const row = rowRef.current;\n if (!row) return undefined;\n container.appendChild(buildClonedRowPreview(row, styles.dragPreview));\n return undefined;\n },\n });\n },\n }),\n dropTargetForElements({\n element: rowRef.current,\n canDrop: ({ source }) =>\n source.data.pluginStore === useDragDropStore &&\n source.data.recordId !== recordRef.current.id,\n getData: ({ input, element }) =>\n attachClosestEdge(\n {\n type: 'data-grid-row',\n recordId: recordRef.current.id,\n record: recordRef.current,\n },\n { input, element, allowedEdges: ['top', 'bottom'] },\n ),\n }),\n );\n }, [record.id, useDragDropStore, renderDragPreview, recordRef]);\n\n return (\n <DataGridRecordProvider value={record}>\n <TableRow\n ref={rowRef}\n className={cx(\n styles.dragRow,\n isDragging && styles.dragRowDragging,\n isDropping && styles.dragRowDropping,\n dropEdge === 'top' && styles.dragRowDropIndicatorTop,\n dropEdge === 'bottom' && styles.dragRowDropIndicatorBottom,\n )}\n >\n <DataGridExtraBodyColumns position=\"start\" />\n {columns.map((col) => {\n const dynamicClassName = col.getClassName?.(record.item);\n const bodyCellProps = resolveBodyCellProps(col, record.item, tableLayout);\n\n return (\n <DataGridCell<TItem>\n key={col.id}\n columnId={col.id}\n className={dynamicClassName}\n {...bodyCellProps}\n >\n <BodyCellContent column={col} item={record.item} />\n </DataGridCell>\n );\n })}\n <DataGridExtraBodyColumns position=\"end\" />\n </TableRow>\n {previewContainer && renderDragPreview\n ? createPortal(renderDragPreview(record.item), previewContainer)\n : null}\n </DataGridRecordProvider>\n );\n}\n","// Load-bearing: a plugin is rendered as a child of <DataGrid>, so a Server Component can import\n// and render it, and the component it returns calls hooks. This directive puts the banner on the\n// plugin's own entry chunk (dist/data-grid/<plugin>.js). client-boundaries.test.ts only scans a\n// component's top-level files, so scripts/verify-consumer.sh is what checks the built banner of\n// every plugin entry.\n'use client';\n\nimport { create } from 'zustand';\n// The `.js` on the type imports below is for the shipped declaration file: this file's\n// `createDataGridDragDropPlugin(config: DataGridDragDropPluginProps)` is a signature a consumer\n// types a callback by, and `moduleResolution: \"nodenext\"` rejects an extensionless relative\n// specifier in it, which turns the parameter into an untyped one.\nimport type { DataGridItem } from '../../data-grid-types.js';\nimport { createDataGridPlugin } from '../../services/plugins/plugins-helpers';\nimport type { DataGridItemId, DataGridRecord } from '../../services/storage/storage-types.js';\nimport { DataGridDragDropBodyCell } from './components/data-grid-drag-drop-body-cell';\nimport { DataGridDragDropContent } from './components/data-grid-drag-drop-content';\nimport { DataGridDragDropRow } from './components/data-grid-drag-drop-row';\nimport type {\n DataGridDragDropPluginApi,\n DataGridDragDropPluginProps,\n DataGridDragDropState,\n DataGridDropLoadingState,\n} from './drag-drop-types.js';\n\n/**\n * Creates a drag-and-drop plugin component for reordering a DataGrid's rows. It is a factory\n * because the callbacks are the plugin's own configuration, not props of the component it\n * returns: create it once, outside render, and render the result as a child of the grid.\n */\nexport function createDataGridDragDropPlugin<TItem extends DataGridItem = DataGridItem>(\n config: DataGridDragDropPluginProps<TItem>,\n) {\n return createDataGridPlugin<TItem, 'dragDrop', Record<string, never>, DataGridDragDropPluginApi<TItem>>(\n 'dragDrop',\n (context) => {\n const useDragDropStore = create<DataGridDragDropState>(() => ({\n isDragging: false,\n draggedRecordId: undefined,\n dropTargetRecordId: undefined,\n dropEdge: undefined,\n isRootDropTarget: false,\n }));\n\n const useDropLoadingStore = create<DataGridDropLoadingState>(() => ({\n loading: {},\n }));\n\n context.registerComponent('content', DataGridDragDropContent);\n context.registerExtraColumn({\n id: 'drag-drop',\n body: DataGridDragDropBodyCell,\n position: 'start',\n order: 0,\n width: '37px',\n });\n context.registerComponent('row', DataGridDragDropRow);\n\n return {\n renderDragPreview: config.renderDragPreview,\n useDragDropStore,\n useDropLoadingStore,\n setDropLoading,\n clearDropLoading,\n handleDrop,\n };\n\n function setDropLoading(id: DataGridItemId, value: boolean) {\n useDropLoadingStore.setState((state) => ({ loading: { ...state.loading, [id]: value } }));\n }\n\n function clearDropLoading(id: DataGridItemId) {\n useDropLoadingStore.setState((state) => {\n const next = { ...state.loading };\n delete next[id];\n return { loading: next };\n });\n }\n\n function handleDrop(\n sourceRecord: DataGridRecord<TItem>,\n targetRecord: DataGridRecord<TItem> | undefined,\n ) {\n executeHandleDrop({\n sourceRecord,\n targetRecord,\n onDrop: (item, target) => config.onDrop({ ...context, item, target }),\n setDropLoading,\n clearDropLoading,\n });\n }\n },\n );\n}\n\n/** @internal Extracted for testability. */\nexport function executeHandleDrop<TItem extends DataGridItem>({\n sourceRecord,\n targetRecord,\n onDrop,\n setDropLoading,\n clearDropLoading,\n}: {\n sourceRecord: Pick<DataGridRecord<TItem>, 'id' | 'item'>;\n targetRecord: Pick<DataGridRecord<TItem>, 'item'> | undefined;\n onDrop: (item: TItem, target: TItem | null) => void | Promise<void>;\n setDropLoading: (id: DataGridItemId, value: boolean) => void;\n clearDropLoading: (id: DataGridItemId) => void;\n}) {\n const target = targetRecord?.item ?? null;\n const drop = onDrop(sourceRecord.item, target);\n\n if (drop instanceof Promise) {\n setDropLoading(sourceRecord.id, true);\n drop\n .catch(() => {\n // Swallow rejection — cleanup happens in finally\n })\n .finally(() => {\n clearDropLoading(sourceRecord.id);\n });\n }\n}\n"],"names":["DataGridDragDropBodyCell","grid","useDataGrid","record","useDataGridRecord","useDropLoadingStore","isLoading","s","jsx","cx","styles","IGNORE_CLICK_ATTRIBUTE","messages","Spinner","GripVerticalIcon","isDataGridItemId","value","isDataGridRecord","isRecord","readRecord","data","DataGridDragDropContent","children","contentRef","useRef","context","useDataGridContext","useDragDropStore","handleDrop","isDragging","isRootDropTarget","useEffect","combine","dropTargetForElements","monitorForElements","source","location","targets","rowTarget","t","rootTarget","dropEdge","extractClosestEdge","targetRecord","sourceRecord","buildClonedRowPreview","row","className","table","sourceTable","tbody","DataGridDragDropRow","rowRef","recordRef","useLatest","previewContainer","setPreviewContainer","useState","tableService","columns","tableLayout","renderDragPreview","isDropping","BodyCellContent","handleEl","draggable","nativeSetDragImage","setCustomNativeDragPreview","pointerOutsideOfPreview","container","flushSync","input","element","attachClosestEdge","jsxs","DataGridRecordProvider","TableRow","DataGridExtraBodyColumns","col","dynamicClassName","_a","bodyCellProps","resolveBodyCellProps","DataGridCell","createPortal","createDataGridDragDropPlugin","config","createDataGridPlugin","create","setDropLoading","clearDropLoading","id","state","next","executeHandleDrop","item","target","onDrop","drop"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUO,SAASA,KAA2B;AACzC,QAAMC,IAAOC,EAAA,GACPC,IAASC,EAAA,GAET,EAAE,qBAAAC,EAAA,IAAwBJ,EAAK,UAAqC,UAAU,GAE9EK,IAAYD,EAAoB,CAACE,MAAM,CAAC,CAACA,EAAE,QAAQJ,EAAO,EAAE,CAAC;AAEnE,SACE,gBAAAK;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAGC,EAAO,aAAaJ,KAAaI,EAAO,kBA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M,MAAM;AAAA,EAEb,CAAC,EACA,QAAQ,MAAM;AACb,IAAAR,EAAiB9C,EAAa,EAAE;AAAA,EAClC,CAAC;AAEP;"}
|
|
1
|
+
{"version":3,"file":"drag-drop.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { create as c } from "zustand";
|
|
4
|
-
import { c as a } from "../chunks/plugins-helpers.js";
|
|
5
|
-
const i = "empty_state", f = a("emptyState", (n) => {
|
|
6
|
-
const o = c(() => ({
|
|
7
|
-
component: null
|
|
8
|
-
}));
|
|
9
|
-
return n.registerSlot("empty", {
|
|
10
|
-
id: i,
|
|
11
|
-
component: p
|
|
12
|
-
}), {
|
|
13
|
-
useComponent: () => o((t) => t.component),
|
|
14
|
-
onPropsChange: e
|
|
15
|
-
};
|
|
16
|
-
function e(t) {
|
|
17
|
-
o.setState({ component: t.component });
|
|
18
|
-
}
|
|
19
|
-
function p() {
|
|
20
|
-
const t = o((m) => m.component);
|
|
21
|
-
return t ? /* @__PURE__ */ r(t, {}) : null;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
export {
|
|
25
|
-
f as DataGridEmptyStatePlugin
|
|
26
|
-
};
|
|
1
|
+
export { DataGridEmptyStatePlugin } from "../chunks/components/data-grid/plugins/empty-state/empty-state-plugin.js";
|
|
2
|
+
|
|
27
3
|
//# sourceMappingURL=empty-state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.js","sources":[
|
|
1
|
+
{"version":3,"file":"empty-state.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|