rez-table-listing-mui 1.0.39 → 1.0.40
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 +6 -25
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/table-settings/index.tsx +3 -5
- package/src/index.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -136,34 +136,11 @@ interface ColumnTabConfigProps {
|
|
|
136
136
|
hide_list?: ColumnItem[];
|
|
137
137
|
tabs?: ColumnTab[];
|
|
138
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
|
-
}
|
|
157
139
|
interface SettingsDataProps {
|
|
158
140
|
quick_tab?: QuickTabConfigProps;
|
|
159
141
|
column?: ColumnTabConfigProps;
|
|
160
142
|
sorting?: SortingConfigProps;
|
|
161
143
|
}
|
|
162
|
-
interface ToggleButtonTabsProps {
|
|
163
|
-
label: string;
|
|
164
|
-
value: boolean;
|
|
165
|
-
isDisabled: boolean;
|
|
166
|
-
}
|
|
167
144
|
|
|
168
145
|
interface CraftTableOptionsProps {
|
|
169
146
|
sorting: SortingState;
|
|
@@ -314,6 +291,8 @@ declare function TableWrapper<T>({ data, columns, tableStates, paginationOptions
|
|
|
314
291
|
|
|
315
292
|
declare function useCraftTable(paginationPageSize?: number): CraftTableOptionsProps;
|
|
316
293
|
|
|
294
|
+
declare function useCraftTableFilterSettings(): craftTableFilterSettingsOptionsProps;
|
|
295
|
+
|
|
317
296
|
interface TabDataProps {
|
|
318
297
|
tab_value: string | null;
|
|
319
298
|
tab_value_count: string | number;
|
|
@@ -331,5 +310,7 @@ declare function TableTabs({ loading, tabsData, activeTab, onClick, tableStates,
|
|
|
331
310
|
|
|
332
311
|
declare function TableFilter({ onClose, columnsData, tableStates, onDeleteFilter, onSaveFilter, onUpdateFilter, dropdownData, }: FilterDrawerProps): react_jsx_runtime.JSX.Element;
|
|
333
312
|
|
|
334
|
-
|
|
335
|
-
|
|
313
|
+
declare function QuickFilterSettings({ show, filterSettingStates, onClose, columnsData, tabsApiData, tabsApiDataLoading, }: QuickFilterModalProps): react_jsx_runtime.JSX.Element;
|
|
314
|
+
|
|
315
|
+
export { TableFilter as CraftTableFilter, QuickFilterSettings as CraftTableSettings, TableTabs as CraftTableTabs, TableWrapper, useCraftTable, useCraftTableFilterSettings };
|
|
316
|
+
export type { CraftTableComponentProps, CraftTableFeatureProps, CraftTableOptionsProps, CraftTablePaginationProps, CraftTableProps, CustomRenderContext, CustomRenderFnMap, FilterOptionsProps, TableHeaderProps, TopbarOptionsProps, craftTableFilterSettingsOptionsProps, settingsOptionsProps };
|