@alaarab/ogrid-vue-radix 2.0.7 → 2.0.9

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/dist/esm/index.js CHANGED
@@ -4,10 +4,12 @@ export { default as DataGridTable } from './DataGridTable/DataGridTable.vue';
4
4
  export { default as ColumnChooser } from './ColumnChooser/ColumnChooser.vue';
5
5
  export { default as ColumnHeaderFilter } from './ColumnHeaderFilter/ColumnHeaderFilter.vue';
6
6
  export { default as PaginationControls } from './PaginationControls/PaginationControls.vue';
7
+ // ColumnHeaderMenu
8
+ export { default as ColumnHeaderMenu } from './ColumnHeaderMenu/ColumnHeaderMenu.vue';
9
+ // Re-export shared components from base
10
+ export { StatusBar, MarchingAntsOverlay } from '@alaarab/ogrid-vue';
7
11
  // DataGridTable sub-components
8
- export { default as StatusBar } from './DataGridTable/StatusBar.vue';
9
12
  export { default as GridContextMenu } from './DataGridTable/GridContextMenu.vue';
10
- export { default as MarchingAntsOverlay } from './DataGridTable/MarchingAntsOverlay.vue';
11
13
  export { default as InlineCellEditor } from './DataGridTable/InlineCellEditor.vue';
12
14
  // Re-export everything from @alaarab/ogrid-vue (which re-exports from @alaarab/ogrid-core)
13
15
  export * from '@alaarab/ogrid-vue';
@@ -0,0 +1,7 @@
1
+ import type { IColumnDefinition } from '@alaarab/ogrid-vue';
2
+ export interface IColumnChooserProps {
3
+ columns: IColumnDefinition[];
4
+ visibleColumns: Set<string>;
5
+ onVisibilityChange: (columnKey: string, visible: boolean) => void;
6
+ className?: string;
7
+ }
@@ -0,0 +1,20 @@
1
+ import type { ColumnFilterType, IDateFilterValue, UserLike } from '@alaarab/ogrid-vue';
2
+ export interface IColumnHeaderFilterProps {
3
+ columnKey: string;
4
+ columnName: string;
5
+ filterType: ColumnFilterType;
6
+ isSorted?: boolean;
7
+ isSortedDescending?: boolean;
8
+ onSort?: () => void;
9
+ selectedValues?: string[];
10
+ onFilterChange?: (values: string[]) => void;
11
+ options?: string[];
12
+ isLoadingOptions?: boolean;
13
+ textValue?: string;
14
+ onTextChange?: (value: string) => void;
15
+ selectedUser?: UserLike;
16
+ onUserChange?: (user: UserLike | undefined) => void;
17
+ peopleSearch?: (query: string) => Promise<UserLike[]>;
18
+ dateValue?: IDateFilterValue;
19
+ onDateChange?: (value: IDateFilterValue | undefined) => void;
20
+ }
@@ -0,0 +1,11 @@
1
+ export interface ColumnHeaderMenuProps {
2
+ isOpen: boolean;
3
+ anchorElement: HTMLElement | null;
4
+ onClose: () => void;
5
+ onPinLeft: () => void;
6
+ onPinRight: () => void;
7
+ onUnpin: () => void;
8
+ canPinLeft: boolean;
9
+ canPinRight: boolean;
10
+ canUnpin: boolean;
11
+ }
@@ -0,0 +1,10 @@
1
+ export interface IPaginationControlsProps {
2
+ currentPage: number;
3
+ pageSize: number;
4
+ totalCount: number;
5
+ onPageChange: (page: number) => void;
6
+ onPageSizeChange: (pageSize: number) => void;
7
+ pageSizeOptions?: number[];
8
+ entityLabelPlural?: string;
9
+ className?: string;
10
+ }
@@ -1,10 +1,14 @@
1
1
  export { default as OGrid } from './OGrid/OGrid.vue';
2
2
  export { default as DataGridTable } from './DataGridTable/DataGridTable.vue';
3
3
  export { default as ColumnChooser } from './ColumnChooser/ColumnChooser.vue';
4
+ export type { IColumnChooserProps } from './ColumnChooser/types';
4
5
  export { default as ColumnHeaderFilter } from './ColumnHeaderFilter/ColumnHeaderFilter.vue';
6
+ export type { IColumnHeaderFilterProps } from './ColumnHeaderFilter/types';
5
7
  export { default as PaginationControls } from './PaginationControls/PaginationControls.vue';
6
- export { default as StatusBar } from './DataGridTable/StatusBar.vue';
8
+ export type { IPaginationControlsProps } from './PaginationControls/types';
9
+ export { default as ColumnHeaderMenu } from './ColumnHeaderMenu/ColumnHeaderMenu.vue';
10
+ export type { ColumnHeaderMenuProps } from './ColumnHeaderMenu/types';
11
+ export { StatusBar, MarchingAntsOverlay } from '@alaarab/ogrid-vue';
7
12
  export { default as GridContextMenu } from './DataGridTable/GridContextMenu.vue';
8
- export { default as MarchingAntsOverlay } from './DataGridTable/MarchingAntsOverlay.vue';
9
13
  export { default as InlineCellEditor } from './DataGridTable/InlineCellEditor.vue';
10
14
  export * from '@alaarab/ogrid-vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alaarab/ogrid-vue-radix",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "OGrid Vue Radix – Lightweight data grid with sorting, filtering, pagination, column chooser, and CSV export. Built with Headless UI Vue.",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -39,7 +39,7 @@
39
39
  "node": ">=18"
40
40
  },
41
41
  "dependencies": {
42
- "@alaarab/ogrid-vue": "2.0.7",
42
+ "@alaarab/ogrid-vue": "2.0.9",
43
43
  "@headlessui/vue": "^1.7.23"
44
44
  },
45
45
  "peerDependencies": {