@conboai/app.db.query 0.9.10 → 0.9.11

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.
@@ -0,0 +1,17 @@
1
+ import { DropdownOption } from '../../../../shared/DownloadImageButton/DownloadImageButton';
2
+
3
+ type DownloadImageButtonProps = {
4
+ onClick: () => void;
5
+ onChange: (selected: DropdownOption) => void;
6
+ btnText?: string;
7
+ isBtnDisabled?: boolean;
8
+ loading?: boolean;
9
+ options?: DropdownOption[];
10
+ selectedOption: DropdownOption;
11
+ selectAll?: boolean;
12
+ onSelectAll?: () => void;
13
+ isCheckboxDisabled?: boolean;
14
+ selectedAmount?: number;
15
+ };
16
+ declare const DownloadImagesPanel: ({ onClick, onChange, btnText, isBtnDisabled, isCheckboxDisabled, loading, options, selectedOption, selectAll, onSelectAll, selectedAmount }: DownloadImageButtonProps) => import("react/jsx-runtime").JSX.Element;
17
+ export default DownloadImagesPanel;
@@ -1,3 +1,5 @@
1
1
  import { SxProps } from '@mui/material';
2
2
 
3
3
  export declare const downloadButtonSx: SxProps;
4
+ export declare const selectedImagesSx: SxProps;
5
+ export declare const formControlLabelSx: SxProps;
@@ -13,6 +13,7 @@ type ImageGridProps = {
13
13
  loading?: boolean;
14
14
  loadMoreLoading?: boolean;
15
15
  timezone?: string;
16
+ onSelect?: (selectedId: string) => void;
16
17
  };
17
- declare const _default: import('react').MemoExoticComponent<({ data, onModalOpen, onClick, onLoadMore, showLoadMore, selectedItem, loading, loadMoreLoading, timezone }: ImageGridProps) => import("react/jsx-runtime").JSX.Element>;
18
+ declare const _default: import('react').MemoExoticComponent<({ data, onModalOpen, onClick, onLoadMore, showLoadMore, selectedItem, loading, loadMoreLoading, timezone, onSelect }: ImageGridProps) => import("react/jsx-runtime").JSX.Element>;
18
19
  export default _default;
@@ -14,6 +14,8 @@ type ImageItemProps = {
14
14
  isActive?: boolean;
15
15
  assignedFeedId?: number;
16
16
  timezone?: string;
17
+ onSelect?: (selectedId: string) => void;
18
+ selected: boolean;
17
19
  };
18
- declare const _default: import('react').MemoExoticComponent<({ onClick, onModalOpen, imgUrl, startTime, endTime, duration, id, isActive, assignedFeedId, timezone }: ImageItemProps) => import("react/jsx-runtime").JSX.Element>;
20
+ declare const _default: import('react').MemoExoticComponent<({ onClick, onModalOpen, imgUrl, startTime, endTime, duration, id, isActive, assignedFeedId, timezone, onSelect, selected }: ImageItemProps) => import("react/jsx-runtime").JSX.Element>;
19
21
  export default _default;
@@ -14,3 +14,5 @@ export declare const imageBoxSx: (isActive?: boolean) => SxProps;
14
14
  export declare const loaderBoxSx: SxProps;
15
15
  export declare const loadMoreBoxSx: SxProps;
16
16
  export declare const errorBoxSx: (isActive?: boolean) => SxProps;
17
+ export declare const imageCheckboxSx: SxProps;
18
+ export declare const checkboxSx: SxProps;
@@ -7,8 +7,9 @@ export declare const backdropStyles: {
7
7
  backdropFilter: string;
8
8
  };
9
9
  };
10
- export declare const cardMediaSx: SxProps;
11
10
  export declare const modalContainerSx: SxProps;
11
+ export declare const horizontalImageSx: SxProps;
12
+ export declare const verticalImageSx: SxProps;
12
13
  export declare const typographyBoldSx: SxProps;
13
14
  export declare const typographyRegularSx: SxProps;
14
15
  export declare const imageItemContentBoxSx: SxProps;
@@ -8,5 +8,6 @@ export type Item = {
8
8
  imgUrl?: string;
9
9
  duration?: string;
10
10
  confidence: number;
11
+ selected?: boolean;
11
12
  };
12
13
  export declare const generateData: (a: any[], b: Image[]) => Item[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.10",
3
+ "version": "0.9.11",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",