@memobit/libs 1.0.11 → 1.0.13
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.css +1 -1
- package/dist/index.d.ts +16 -7
- package/dist/index.esm.js +3228 -3218
- package/dist/version.json +4 -4
- package/package.json +3 -10
package/dist/index.d.ts
CHANGED
|
@@ -353,12 +353,6 @@ declare interface ChangePasswordModalProps {
|
|
|
353
353
|
onClose: () => void;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export declare const ChatBot: FC<ChatBotProp>;
|
|
357
|
-
|
|
358
|
-
export declare interface ChatBotProp {
|
|
359
|
-
apiKey: string;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
356
|
export declare const Checkbox: FC<CheckboxProps>;
|
|
363
357
|
|
|
364
358
|
declare interface CheckboxProps {
|
|
@@ -788,7 +782,7 @@ declare interface CountryWithFlagProps {
|
|
|
788
782
|
className?: string;
|
|
789
783
|
}
|
|
790
784
|
|
|
791
|
-
declare function DataView_2<T>({ columns, data, rowKey, pinnedIds, selectable, onSelectionChange, selectedIds: controlledSelectedIds, pageSizeOptions, initialPageSize, showPageSize, card, actions, actionsWidth, timeline, onRowClick, rowHref, rowClassName, rowDetail, empty, initialSortKey, initialSortDirection, sortKey: controlledSortKey, sortDirection: controlledSortDirection, onSortChange, miniSort, showCardSortControls, desktopView, cardMaxWidth, className, onPageChange, onPageSizeChange, currentPage: controlledCurrentPage, totalItems: controlledTotalItems, group, showResultsCount, totalCount, itemNoun, }: DataViewProps<T>): JSX.Element;
|
|
785
|
+
declare function DataView_2<T>({ columns, data, rowKey, pinnedIds, selectable, onSelectionChange, selectedIds: controlledSelectedIds, pageSizeOptions, initialPageSize, showPageSize, card, actions, actionsWidth, timeline, onRowClick, rowHref, rowClassName, rowDetail, empty, initialSortKey, initialSortDirection, sortKey: controlledSortKey, sortDirection: controlledSortDirection, onSortChange, miniSort, showCardSortControls, desktopView, cardMaxWidth, className, onPageChange, onPageSizeChange, currentPage: controlledCurrentPage, totalItems: controlledTotalItems, group, showResultsCount, totalCount, itemNoun, columnSelector, }: DataViewProps<T>): JSX.Element;
|
|
792
786
|
export { DataView_2 as DataView }
|
|
793
787
|
|
|
794
788
|
export declare interface DataViewCardConfig<T> {
|
|
@@ -819,6 +813,19 @@ export declare interface DataViewColumn<T> {
|
|
|
819
813
|
hideInMobile?: boolean;
|
|
820
814
|
}
|
|
821
815
|
|
|
816
|
+
export declare interface DataViewColumnSelectorConfig {
|
|
817
|
+
options: DataViewColumnSelectorOption[];
|
|
818
|
+
selectedKeys: string[];
|
|
819
|
+
onChange: (selectedKeys: string[]) => void;
|
|
820
|
+
/** Trigger button label. Defaults to "Columns". */
|
|
821
|
+
label?: string;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export declare interface DataViewColumnSelectorOption {
|
|
825
|
+
key: string;
|
|
826
|
+
label: string;
|
|
827
|
+
}
|
|
828
|
+
|
|
822
829
|
export declare type DataViewDisplayMode = 'table' | 'cards';
|
|
823
830
|
|
|
824
831
|
export declare interface DataViewEmptyConfig {
|
|
@@ -929,6 +936,8 @@ export declare interface DataViewProps<T> {
|
|
|
929
936
|
totalCount?: number;
|
|
930
937
|
/** Noun appended to the results-count label, e.g. "books". */
|
|
931
938
|
itemNoun?: string;
|
|
939
|
+
/** Optional column-visibility selector rendered in the top controls. Hidden when `options` is empty. */
|
|
940
|
+
columnSelector?: DataViewColumnSelectorConfig;
|
|
932
941
|
}
|
|
933
942
|
|
|
934
943
|
export declare interface DataViewTimelineConfig<T> {
|