rez-table-listing-mui 1.3.16 → 1.3.18
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 +18 -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/kanban/index.tsx +8 -10
- package/src/listing/components/index.scss +25 -0
- package/src/listing/components/login/index.tsx +66 -24
- package/src/listing/components/table-head-pin.tsx +7 -1
- package/src/listing/components/table-settings/common/listing-values.tsx +22 -19
- package/src/listing/components/table-settings/components/column.tsx +13 -8
- package/src/listing/components/table-settings/components/group-by.tsx +1 -1
- package/src/listing/components/table-settings/components/lane.tsx +1 -1
- package/src/listing/components/table-settings/components/quick-tab.tsx +45 -35
- package/src/listing/components/table-settings/components/sorting.tsx +90 -68
- package/src/listing/components/table-settings/index.tsx +6 -2
- package/src/listing/components/topbar/index.tsx +11 -0
- package/src/listing/libs/hooks/useEntityTableAPI.tsx +22 -1
- package/src/listing/libs/services/getLayoutAPI.tsx +1 -1
- package/src/listing/libs/utils/apiColumn.ts +18 -0
- package/src/listing/libs/utils/common.ts +2 -2
- package/src/listing/types/filter-settings.ts +13 -9
- package/src/view/KanbanView.tsx +1 -1
- package/src/view/ListingView.tsx +55 -11
package/dist/index.d.ts
CHANGED
|
@@ -287,8 +287,15 @@ interface QuickFilterModalProps {
|
|
|
287
287
|
filterSettingStates: craftTableFilterSettingsOptionsProps;
|
|
288
288
|
onClose?: () => void;
|
|
289
289
|
columnsData: FilterColumnsDataProps;
|
|
290
|
-
columnsDataLoading
|
|
291
|
-
|
|
290
|
+
columnsDataLoading?: boolean;
|
|
291
|
+
quickTabAttributes?: any[];
|
|
292
|
+
quickTabAttributesLoading?: boolean;
|
|
293
|
+
sortingTabAttributes?: any[];
|
|
294
|
+
sortingTabAttributesLoading?: boolean;
|
|
295
|
+
tabsApiData?: {
|
|
296
|
+
label: string;
|
|
297
|
+
value: string;
|
|
298
|
+
}[];
|
|
292
299
|
tabsApiDataLoading?: boolean;
|
|
293
300
|
onSaveSettingsData?: (data: any) => void;
|
|
294
301
|
}
|
|
@@ -298,8 +305,14 @@ type QuickTabSortingType = "asc" | "dsc" | "count_asc" | "count_dsc" | "custom";
|
|
|
298
305
|
interface QuickTabConfigProps {
|
|
299
306
|
attribute?: string;
|
|
300
307
|
sorting?: QuickTabSortingType;
|
|
301
|
-
hide_list?:
|
|
302
|
-
|
|
308
|
+
hide_list?: {
|
|
309
|
+
label: string;
|
|
310
|
+
value: string;
|
|
311
|
+
}[];
|
|
312
|
+
show_list?: {
|
|
313
|
+
label: string;
|
|
314
|
+
value: string;
|
|
315
|
+
}[];
|
|
303
316
|
isAllSelected?: boolean;
|
|
304
317
|
isCombineOther?: boolean;
|
|
305
318
|
}
|
|
@@ -526,7 +539,7 @@ declare function TableTabs({ loading, tabsData, activeTab, onClick, tableStates,
|
|
|
526
539
|
|
|
527
540
|
declare function TableFilter({ onClose, columnsData, tableStates, onDeleteFilter, onSaveFilter, onUpdateFilter, dropdownData, onChangeFunction, filterComponentOptions, }: FilterDrawerProps): react_jsx_runtime.JSX.Element;
|
|
528
541
|
|
|
529
|
-
declare function QuickFilterSettings({ view, show, filterSettingStates, onClose, columnsData, columnsDataLoading, tabsApiData, tabsApiDataLoading, onSaveSettingsData, }: QuickFilterModalProps): react_jsx_runtime.JSX.Element;
|
|
542
|
+
declare function QuickFilterSettings({ view, show, filterSettingStates, onClose, columnsData, columnsDataLoading, quickTabAttributes, quickTabAttributesLoading, sortingTabAttributes, sortingTabAttributesLoading, tabsApiData, tabsApiDataLoading, onSaveSettingsData, }: QuickFilterModalProps): react_jsx_runtime.JSX.Element;
|
|
530
543
|
|
|
531
544
|
interface TableSearchProps {
|
|
532
545
|
value: string;
|