rez-table-listing-mui 1.3.61 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/listing/components/index.scss +0 -144
- package/src/listing/components/login/index.tsx +4 -4
- package/src/listing/components/pagination/default/index.tsx +108 -138
- package/src/listing/components/pagination/default/pagination.styles.ts +113 -0
- package/src/listing/components/{table-body-dnd-cell.tsx → table-body/table-body-dnd-cell.tsx} +18 -25
- package/src/listing/components/table-body/table-body.styles.ts +64 -0
- package/src/listing/components/{table-body.tsx → table-body/table-body.tsx} +35 -32
- package/src/listing/components/table-head/table-head-dnd-cell.tsx +112 -0
- package/src/listing/components/table-head/table-head-pin.tsx +29 -0
- package/src/listing/components/{table-head-popover.tsx → table-head/table-head-popover.tsx} +4 -16
- package/src/listing/components/table-head/table-head-resizer.tsx +22 -0
- package/src/listing/components/table-head/table-head.styles.ts +115 -0
- package/src/listing/components/{table-head.tsx → table-head/table-head.tsx} +36 -69
- package/src/listing/components/table.tsx +2 -2
- package/src/listing/components/tabs/index.tsx +28 -42
- package/src/listing/components/tabs/tabs.styles.ts +49 -0
- package/src/listing/libs/hooks/useEntityTableAPI.tsx +8 -0
- package/src/listing/libs/hooks/useEntityTableHooks.ts +3 -3
- package/src/listing/libs/services/getLayoutAPI.tsx +1 -1
- package/src/listing/libs/utils/apiColumn.ts +17 -8
- package/src/listing/libs/utils/common.ts +45 -1
- package/src/listing/types/common.ts +1 -0
- package/src/listing/types/table.ts +2 -2
- package/src/view/ListingView.tsx +58 -91
- package/src/listing/components/table-head-dnd-cell.tsx +0 -150
- package/src/listing/components/table-head-pin.tsx +0 -22
- package/src/listing/components/tabs/index.scss +0 -42
- package/src/listing/components/tabs/styles.ts +0 -34
package/dist/index.d.ts
CHANGED
|
@@ -552,7 +552,7 @@ interface CraftTableProps<T> {
|
|
|
552
552
|
filterOptions?: FilterOptionsProps;
|
|
553
553
|
settingsOptions?: settingsOptionsProps;
|
|
554
554
|
craftTableFilterSettingsOptions?: craftTableFilterSettingsOptionsProps;
|
|
555
|
-
activeTab?:
|
|
555
|
+
activeTab?: any;
|
|
556
556
|
}
|
|
557
557
|
interface CraftTableComponentProps<T> {
|
|
558
558
|
table: Table<T>;
|
|
@@ -573,7 +573,7 @@ interface TableHeaderProps<T> {
|
|
|
573
573
|
activeTab?: string;
|
|
574
574
|
featureOptions: CraftTableFeatureProps;
|
|
575
575
|
tableStates: CraftTableOptionsProps;
|
|
576
|
-
filterSettingStates
|
|
576
|
+
filterSettingStates?: craftTableFilterSettingsOptionsProps;
|
|
577
577
|
onSaveSettings?: (columnId: string) => void;
|
|
578
578
|
}
|
|
579
579
|
|
|
@@ -585,15 +585,14 @@ declare function useCraftTableFilterSettings(): craftTableFilterSettingsOptionsP
|
|
|
585
585
|
|
|
586
586
|
interface TabDataProps {
|
|
587
587
|
tab_name: string | null;
|
|
588
|
-
count
|
|
588
|
+
count?: string | number;
|
|
589
589
|
}
|
|
590
590
|
interface TableTabsProps {
|
|
591
591
|
loading?: boolean;
|
|
592
592
|
tabsData?: TabDataProps[];
|
|
593
|
-
activeTab?:
|
|
593
|
+
activeTab?: TabDataProps;
|
|
594
594
|
tableStates: CraftTableOptionsProps;
|
|
595
595
|
onClick: (state: string) => void;
|
|
596
|
-
columns?: any[];
|
|
597
596
|
settingsOptions?: settingsOptionsProps;
|
|
598
597
|
}
|
|
599
598
|
declare function TableTabs({ loading, tabsData, activeTab, onClick, tableStates, settingsOptions, }: TableTabsProps): react_jsx_runtime.JSX.Element;
|