hplx-feature-library 1.0.251 → 1.0.253
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/Attachments/components/document-preview/preview-side-pane.d.ts +2 -5
- package/dist/Attachments/index.js +1 -1
- package/dist/Attachments/store/document-store.d.ts +2 -0
- package/dist/Attachments/utils/index.d.ts +1 -0
- package/dist/Attachments-CpxXitsM.cjs +186 -0
- package/dist/{Attachments-CARL1R9N.js → Attachments-mQKY-FFk.js} +4437 -4446
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/Attachments-BSrk5wvX.cjs +0 -186
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { default as React, Dispatch } from 'react';
|
|
2
1
|
import { I_DOCUMENT } from '../../../types/AttachmentsTypes';
|
|
3
2
|
interface PreviewSidePaneProps {
|
|
4
|
-
|
|
5
|
-
selectedPreview: I_DOCUMENT[];
|
|
6
|
-
setSelectedIndex: Dispatch<React.SetStateAction<number>>;
|
|
3
|
+
allImages: I_DOCUMENT[];
|
|
7
4
|
}
|
|
8
5
|
declare function PreviewSidePane(props: PreviewSidePaneProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare const _default:
|
|
6
|
+
declare const _default: import('react').MemoExoticComponent<typeof PreviewSidePane>;
|
|
10
7
|
export default _default;
|
|
@@ -17,6 +17,8 @@ interface I_DOCUMENT_STORE {
|
|
|
17
17
|
setSelectedDocuments: (docs: I_DOCUMENT[]) => void;
|
|
18
18
|
showSaveGroupPreview: boolean;
|
|
19
19
|
setShowSaveGroupPreview: (value: boolean) => void;
|
|
20
|
+
selectedIndex: number;
|
|
21
|
+
setSelectedIndex: (index: number) => void;
|
|
20
22
|
}
|
|
21
23
|
export declare const useDocumentStore: import('zustand').UseBoundStore<import('zustand').StoreApi<I_DOCUMENT_STORE>>;
|
|
22
24
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { I_DOCUMENT, IDOCUMENT_DataItem, IGroupedDocuments } from '../../types/AttachmentsTypes';
|
|
2
2
|
export * from './fileValidation';
|
|
3
3
|
export declare const isSingleDocument: (doc: IDOCUMENT_DataItem) => doc is I_DOCUMENT;
|
|
4
|
+
export declare function isImageDocument(document: IDOCUMENT_DataItem): document is I_DOCUMENT;
|
|
4
5
|
export declare function groupAndSortDocumentsByDate(data: IDOCUMENT_DataItem[]): IGroupedDocuments[];
|