rez-table-listing-mui 1.0.38 → 1.0.39
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 +32 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/App.tsx +7 -2
- package/src/components/table-settings/components/column.tsx +0 -4
- package/src/components/table-settings/components/quick-tab.tsx +26 -10
- package/src/components/tabs/index.tsx +1 -1
- package/src/index.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -89,6 +89,14 @@ interface FilterMasterStateProps {
|
|
|
89
89
|
activeFilterTabIndex: number;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
interface QuickFilterModalProps {
|
|
93
|
+
show?: boolean;
|
|
94
|
+
filterSettingStates: craftTableFilterSettingsOptionsProps;
|
|
95
|
+
onClose?: () => void;
|
|
96
|
+
columnsData: FilterColumnsDataProps;
|
|
97
|
+
tabsApiData?: string[];
|
|
98
|
+
tabsApiDataLoading?: boolean;
|
|
99
|
+
}
|
|
92
100
|
type TabName = string;
|
|
93
101
|
type SortingType = "asc" | "desc";
|
|
94
102
|
type QuickTabSortingType = "asc" | "dsc" | "count_asc" | "count_dsc" | "custom";
|
|
@@ -128,11 +136,34 @@ interface ColumnTabConfigProps {
|
|
|
128
136
|
hide_list?: ColumnItem[];
|
|
129
137
|
tabs?: ColumnTab[];
|
|
130
138
|
}
|
|
139
|
+
interface SettingsSortingProps {
|
|
140
|
+
filterSettingStates: craftTableFilterSettingsOptionsProps;
|
|
141
|
+
columnsData: FilterColumnsDataProps;
|
|
142
|
+
}
|
|
143
|
+
interface SettingsQuickTabStateProps {
|
|
144
|
+
attribute?: string;
|
|
145
|
+
sorting?: string;
|
|
146
|
+
hide_list: string[];
|
|
147
|
+
show_list: string[];
|
|
148
|
+
isAllSelected?: boolean;
|
|
149
|
+
isCombineOther?: boolean;
|
|
150
|
+
}
|
|
151
|
+
interface SettingsQuickTabProps {
|
|
152
|
+
filterSettingStates: craftTableFilterSettingsOptionsProps;
|
|
153
|
+
columnsData: FilterColumnsDataProps;
|
|
154
|
+
tabsApiData?: string[];
|
|
155
|
+
tabsApiDataLoading?: boolean;
|
|
156
|
+
}
|
|
131
157
|
interface SettingsDataProps {
|
|
132
158
|
quick_tab?: QuickTabConfigProps;
|
|
133
159
|
column?: ColumnTabConfigProps;
|
|
134
160
|
sorting?: SortingConfigProps;
|
|
135
161
|
}
|
|
162
|
+
interface ToggleButtonTabsProps {
|
|
163
|
+
label: string;
|
|
164
|
+
value: boolean;
|
|
165
|
+
isDisabled: boolean;
|
|
166
|
+
}
|
|
136
167
|
|
|
137
168
|
interface CraftTableOptionsProps {
|
|
138
169
|
sorting: SortingState;
|
|
@@ -301,4 +332,4 @@ declare function TableTabs({ loading, tabsData, activeTab, onClick, tableStates,
|
|
|
301
332
|
declare function TableFilter({ onClose, columnsData, tableStates, onDeleteFilter, onSaveFilter, onUpdateFilter, dropdownData, }: FilterDrawerProps): react_jsx_runtime.JSX.Element;
|
|
302
333
|
|
|
303
334
|
export { TableFilter as CraftTableFilter, TableTabs as CraftTableTabs, TableWrapper, useCraftTable };
|
|
304
|
-
export type { CraftTableComponentProps, CraftTableFeatureProps, CraftTableOptionsProps, CraftTablePaginationProps, CraftTableProps, CustomRenderContext, CustomRenderFnMap, FilterOptionsProps, TableHeaderProps, TopbarOptionsProps, craftTableFilterSettingsOptionsProps, settingsOptionsProps };
|
|
335
|
+
export type { ColumnTabConfigProps, CraftTableComponentProps, CraftTableFeatureProps, CraftTableOptionsProps, CraftTablePaginationProps, CraftTableProps, CustomRenderContext, CustomRenderFnMap, FilterOptionsProps, QuickFilterModalProps, QuickTabConfigProps, QuickTabSortingType, SettingsDataProps, SettingsQuickTabProps, SettingsQuickTabStateProps, SettingsSortingProps, SortingConfigProps, SortingConfigSortByProps, TableHeaderProps, ToggleButtonTabsProps, TopbarOptionsProps, craftTableFilterSettingsOptionsProps, settingsOptionsProps };
|