scorer-ui-kit 2.0.2 → 2.0.3
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/package.json +1 -1
- package/dist/Alerts/atom/AlertBar.d.ts +0 -16
- package/dist/Alerts/atom/Notification.d.ts +0 -22
- package/dist/Alerts/index.d.ts +0 -5
- package/dist/CameraPanels/atoms/MediaStream.d.ts +0 -14
- package/dist/CameraPanels/atoms/PanelMetaData.d.ts +0 -11
- package/dist/CameraPanels/index.d.ts +0 -6
- package/dist/CameraPanels/molecules/CameraPanel.d.ts +0 -14
- package/dist/CameraPanels/organisms/CameraPanels.d.ts +0 -7
- package/dist/Filters/FilterTypes.d.ts +0 -51
- package/dist/Filters/atoms/DateTimeBlock.d.ts +0 -12
- package/dist/Filters/atoms/FilterButton.d.ts +0 -10
- package/dist/Filters/atoms/FilterDropHandler.d.ts +0 -13
- package/dist/Filters/atoms/FilterDropdownContainer.d.ts +0 -7
- package/dist/Filters/atoms/LoadingBox.d.ts +0 -6
- package/dist/Filters/index.d.ts +0 -11
- package/dist/Filters/molecules/DatePicker.d.ts +0 -22
- package/dist/Filters/molecules/DropdownDatePicker.d.ts +0 -13
- package/dist/Filters/molecules/FilterDropdown.d.ts +0 -21
- package/dist/Filters/molecules/FilterInputs.d.ts +0 -12
- package/dist/Filters/molecules/FiltersResults.d.ts +0 -21
- package/dist/Filters/molecules/SortDropdown.d.ts +0 -16
- package/dist/Filters/organisms/FilterBar.d.ts +0 -21
- package/dist/Form/Form.d.ts +0 -7
- package/dist/Form/atoms/Button.d.ts +0 -9
- package/dist/Form/atoms/ButtonWithIcon.d.ts +0 -8
- package/dist/Form/atoms/ButtonWithLoading.d.ts +0 -8
- package/dist/Form/atoms/Checkbox.d.ts +0 -15
- package/dist/Form/atoms/CropArea.d.ts +0 -7
- package/dist/Form/atoms/DropArea.d.ts +0 -8
- package/dist/Form/atoms/FilterOption.d.ts +0 -12
- package/dist/Form/atoms/IconButton.d.ts +0 -8
- package/dist/Form/atoms/Input.d.ts +0 -12
- package/dist/Form/atoms/InputFileButton.d.ts +0 -11
- package/dist/Form/atoms/Label.d.ts +0 -12
- package/dist/Form/atoms/RadioButton.d.ts +0 -8
- package/dist/Form/atoms/SelectField.d.ts +0 -16
- package/dist/Form/atoms/SliderInput.d.ts +0 -22
- package/dist/Form/atoms/SmallInput.d.ts +0 -10
- package/dist/Form/atoms/Switch.d.ts +0 -19
- package/dist/Form/atoms/TextArea.d.ts +0 -9
- package/dist/Form/index.d.ts +0 -38
- package/dist/Form/molecules/ActionButtons.d.ts +0 -9
- package/dist/Form/molecules/CropTool.d.ts +0 -18
- package/dist/Form/molecules/DurationSlider.d.ts +0 -11
- package/dist/Form/molecules/PasswordField.d.ts +0 -11
- package/dist/Form/molecules/PercentageSlider.d.ts +0 -15
- package/dist/Form/molecules/TextAreaField.d.ts +0 -11
- package/dist/Form/molecules/TextField.d.ts +0 -12
- package/dist/Form/organisms/AreaUploadManager.d.ts +0 -13
- package/dist/Form/organisms/AvatarUploader.d.ts +0 -19
- package/dist/Global/atoms/CloseButton.d.ts +0 -8
- package/dist/Global/atoms/ContextItem.d.ts +0 -16
- package/dist/Global/atoms/DrawerBottomMenu.d.ts +0 -9
- package/dist/Global/atoms/Layout.d.ts +0 -13
- package/dist/Global/atoms/MobileLogoLink.d.ts +0 -8
- package/dist/Global/atoms/MobileNavbarContent.d.ts +0 -6
- package/dist/Global/atoms/NavigationItem.d.ts +0 -15
- package/dist/Global/atoms/NotificationItem.d.ts +0 -4
- package/dist/Global/index.d.ts +0 -80
- package/dist/Global/molecules/MobileUserMenu.d.ts +0 -7
- package/dist/Global/molecules/NotificationsHistory.d.ts +0 -4
- package/dist/Global/molecules/Sidebar.d.ts +0 -17
- package/dist/Global/molecules/TopBar.d.ts +0 -4
- package/dist/Global/molecules/UserMenu.d.ts +0 -7
- package/dist/Global/organisms/MainMenu.d.ts +0 -4
- package/dist/Global/organisms/MobileMenu.d.ts +0 -7
- package/dist/Global/organisms/MobileNavbar.d.ts +0 -9
- package/dist/Global/templates/GlobalUI.d.ts +0 -9
- package/dist/Icons/Icon.d.ts +0 -14
- package/dist/Icons/StatusIcon.d.ts +0 -9
- package/dist/Indicators/Spinner.d.ts +0 -8
- package/dist/LineUI/Contexts.d.ts +0 -8
- package/dist/LineUI/Control.d.ts +0 -5
- package/dist/LineUI/HandleUnit.d.ts +0 -23
- package/dist/LineUI/LineReducer.d.ts +0 -41
- package/dist/LineUI/LineSet.d.ts +0 -14
- package/dist/LineUI/LineUI.d.ts +0 -14
- package/dist/LineUI/LineUIRTC.d.ts +0 -18
- package/dist/LineUI/LineUIVideo.d.ts +0 -18
- package/dist/LineUI/LineUnit.d.ts +0 -20
- package/dist/LineUI/index.d.ts +0 -61
- package/dist/Misc/atoms/ActionsBar.d.ts +0 -16
- package/dist/Misc/atoms/BasicSearchInput.d.ts +0 -13
- package/dist/Misc/atoms/BigIconsSummary.d.ts +0 -9
- package/dist/Misc/atoms/MediaBox.d.ts +0 -21
- package/dist/Misc/atoms/Tag.d.ts +0 -14
- package/dist/Misc/index.d.ts +0 -9
- package/dist/Misc/molecules/DebouncedSearcher.d.ts +0 -8
- package/dist/Misc/molecules/TagList.d.ts +0 -8
- package/dist/Modals/ConfirmationModal.d.ts +0 -14
- package/dist/Modals/Modal.d.ts +0 -13
- package/dist/Modals/index.d.ts +0 -3
- package/dist/PTZControl/atoms/Down.d.ts +0 -5
- package/dist/PTZControl/atoms/Left.d.ts +0 -5
- package/dist/PTZControl/atoms/Right.d.ts +0 -5
- package/dist/PTZControl/atoms/Up.d.ts +0 -5
- package/dist/PTZControl/atoms/ZoomIn.d.ts +0 -5
- package/dist/PTZControl/atoms/ZoomOut.d.ts +0 -5
- package/dist/PTZControl/index.d.ts +0 -5
- package/dist/PTZControl/molecules/Base.d.ts +0 -5
- package/dist/PTZControl/molecules/ZoomBase.d.ts +0 -5
- package/dist/PTZControl/organisms/Controls.d.ts +0 -6
- package/dist/PTZControl/state/PTZProvider.d.ts +0 -30
- package/dist/PTZControl/state/PTZReducer.d.ts +0 -56
- package/dist/PTZControl/state/usePTZ.d.ts +0 -26
- package/dist/Pages/atoms/IntroductionText.d.ts +0 -5
- package/dist/Pages/atoms/PageTitle.d.ts +0 -11
- package/dist/Pages/index.d.ts +0 -5
- package/dist/Pages/molecules/MultilineContent.d.ts +0 -9
- package/dist/Pages/molecules/PageHeader.d.ts +0 -12
- package/dist/Tables/atoms/TableHeaderTitle.d.ts +0 -12
- package/dist/Tables/atoms/TableRowThumbnail.d.ts +0 -14
- package/dist/Tables/atoms/TypeTableCell.d.ts +0 -16
- package/dist/Tables/atoms/TypeTableDeviceStatus.d.ts +0 -8
- package/dist/Tables/atoms/TypeTableRow.d.ts +0 -14
- package/dist/Tables/index.d.ts +0 -55
- package/dist/Tables/molecules/EditCell.d.ts +0 -12
- package/dist/Tables/molecules/TypeTableHeader.d.ts +0 -18
- package/dist/Tables/organisms/TypeTable.d.ts +0 -21
- package/dist/Tabs/TabContent.d.ts +0 -7
- package/dist/Tabs/TabList.d.ts +0 -8
- package/dist/Tabs/Tabs.d.ts +0 -9
- package/dist/Tabs/atoms/MobileTab.d.ts +0 -11
- package/dist/Tabs/atoms/Tab.d.ts +0 -7
- package/dist/Tabs/atoms/TabWithIcon.d.ts +0 -9
- package/dist/Tabs/index.d.ts +0 -8
- package/dist/Tabs/molecules/TabsWithIconBar.d.ts +0 -12
- package/dist/WebRTCClient.d.ts +0 -13
- package/dist/common/index.d.ts +0 -5
- package/dist/context/ModalContext.d.ts +0 -10
- package/dist/context/NotificationContext.d.ts +0 -11
- package/dist/context/index.d.ts +0 -3
- package/dist/fonts/index.d.ts +0 -2
- package/dist/helpers/cropToolHelpers.d.ts +0 -50
- package/dist/helpers/index.d.ts +0 -19
- package/dist/hooks/index.d.ts +0 -13
- package/dist/hooks/useBreakpoints.d.ts +0 -15
- package/dist/hooks/useClickOutside.d.ts +0 -2
- package/dist/hooks/useCopyToClipboard.d.ts +0 -3
- package/dist/hooks/useInterval.d.ts +0 -1
- package/dist/hooks/useMediaModal.d.ts +0 -10
- package/dist/hooks/useMediaQuery.d.ts +0 -4
- package/dist/hooks/useMenu.d.ts +0 -14
- package/dist/hooks/useModal.d.ts +0 -19
- package/dist/hooks/useNotification.d.ts +0 -1
- package/dist/hooks/usePoll.d.ts +0 -1
- package/dist/hooks/useTitle.d.ts +0 -1
- package/dist/hooks/useTo.d.ts +0 -1
- package/dist/index.d.ts +0 -31
- package/dist/index.js +0 -14548
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js +0 -14433
- package/dist/index.modern.js.map +0 -1
- package/dist/index.test.d.ts +0 -1
- package/dist/svg/AvatarPlaceholder.d.ts +0 -3
- package/dist/svg/Invalid.d.ts +0 -3
- package/dist/svg/LogoMark.d.ts +0 -3
- package/dist/svg/LogoText.d.ts +0 -3
- package/dist/svg/PasswordHide.d.ts +0 -3
- package/dist/svg/PasswordShow.d.ts +0 -3
- package/dist/svg/Required.d.ts +0 -3
- package/dist/svg/Success.d.ts +0 -3
- package/dist/svg/checkmark.d.ts +0 -3
- package/dist/svg/index.d.ts +0 -9
- package/dist/svg/input.d.ts +0 -2
- package/dist/themes/common.d.ts +0 -99
- package/dist/themes/dark/colors.d.ts +0 -24
- package/dist/themes/dark/custom.d.ts +0 -139
- package/dist/themes/dark/dark.d.ts +0 -1051
- package/dist/themes/dark/styles.d.ts +0 -301
- package/dist/themes/dark/typography.d.ts +0 -485
- package/dist/themes/light/colors.d.ts +0 -41
- package/dist/themes/light/custom.d.ts +0 -139
- package/dist/themes/light/light.d.ts +0 -1612
- package/dist/themes/light/styles.d.ts +0 -536
- package/dist/themes/light/typography.d.ts +0 -794
- package/dist/themes/themeFallbackHelper.d.ts +0 -5
package/dist/WebRTCClient.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { VideoHTMLAttributes } from 'react';
|
|
2
|
-
interface OwnProps {
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
peerAddress: string;
|
|
5
|
-
maxConnectionAttempts?: number;
|
|
6
|
-
rtcConfiguration?: RTCConfiguration;
|
|
7
|
-
id?: string;
|
|
8
|
-
setStatus?: (status: string) => void;
|
|
9
|
-
setError?: (error: string | null) => void;
|
|
10
|
-
}
|
|
11
|
-
declare type Props = OwnProps & VideoHTMLAttributes<HTMLVideoElement>;
|
|
12
|
-
declare const WebRTCPlayer: React.FC<Props>;
|
|
13
|
-
export default WebRTCPlayer;
|
package/dist/common/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const RowCss: import("styled-components").FlattenSimpleInterpolation;
|
|
2
|
-
export declare const ColumnCss: import("styled-components").FlattenSimpleInterpolation;
|
|
3
|
-
export declare const resetButtonStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
4
|
-
export declare const removeAutoFillStyle: import("styled-components").FlattenSimpleInterpolation;
|
|
5
|
-
export declare const EllipsisStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IModalProps } from '../Modals/Modal';
|
|
3
|
-
interface ModalContextType {
|
|
4
|
-
modalProps: IModalProps;
|
|
5
|
-
setModalProps: (newProps: IModalProps) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const ModalContext: React.Context<ModalContextType>;
|
|
8
|
-
declare const ModalProvider: React.FC;
|
|
9
|
-
export { ModalContext };
|
|
10
|
-
export default ModalProvider;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { INotificationProps } from '../Alerts/atom/Notification';
|
|
3
|
-
declare type NotificationContextType = {
|
|
4
|
-
sendNotification: (newNotification: INotificationProps) => void;
|
|
5
|
-
clearNotifications: () => void;
|
|
6
|
-
};
|
|
7
|
-
declare const NotificationContext: React.Context<NotificationContextType>;
|
|
8
|
-
declare const NotificationProvider: React.FC;
|
|
9
|
-
export { NotificationContext };
|
|
10
|
-
export type { NotificationContextType };
|
|
11
|
-
export default NotificationProvider;
|
package/dist/context/index.d.ts
DELETED
package/dist/fonts/index.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
declare type ICursorStyles = ('ne-resize' | 'nw-resize' | 'n-resize' | 'se-resize' | 'sw-resize' | 's-resize' | 'e-resize' | 'w-resize' | 'move' | 'default');
|
|
2
|
-
declare const updateCursorStyle: (left: number, top: number, width: number, height: number, clientX: number, clientY: number) => ICursorStyles;
|
|
3
|
-
declare const drawImgValues: (img: HTMLImageElement, canvasHeight: number, canvasWidth: number) => IDrawArea;
|
|
4
|
-
declare const calculateAspectSizes: (baseHeight: number, baseWidth: number, aspectRatio: number) => {
|
|
5
|
-
height: number;
|
|
6
|
-
width: number;
|
|
7
|
-
};
|
|
8
|
-
declare const initialCropValues: (cropWidth: number, cropHeight: number, canvasWidth: number, canvasHeight: number, imgWidth: number, imgHeight: number, aspectRatio?: number | undefined) => {
|
|
9
|
-
left: number;
|
|
10
|
-
top: number;
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
14
|
-
declare const isLeftMouseButton: (e: MouseEvent) => boolean;
|
|
15
|
-
interface ISelectedArea {
|
|
16
|
-
cropLeft: number;
|
|
17
|
-
cropTop: number;
|
|
18
|
-
cropWidth: number;
|
|
19
|
-
cropHeight: number;
|
|
20
|
-
mouseStartX: number;
|
|
21
|
-
mouseStartY: number;
|
|
22
|
-
imgLeft: number;
|
|
23
|
-
imgTop: number;
|
|
24
|
-
imgWidth: number;
|
|
25
|
-
imgHeight: number;
|
|
26
|
-
cursorStart: ICursorStyles;
|
|
27
|
-
isResizing: boolean;
|
|
28
|
-
}
|
|
29
|
-
declare const updateCropValues: (oldSelection: ISelectedArea, newX: number, newY: number) => {
|
|
30
|
-
left: number;
|
|
31
|
-
top: number;
|
|
32
|
-
width: number;
|
|
33
|
-
height: number;
|
|
34
|
-
isUpdateRequired: boolean;
|
|
35
|
-
};
|
|
36
|
-
declare const updateCropWithAspect: (oldSelection: ISelectedArea, newX: number, newY: number, aspectRatio?: number | undefined) => {
|
|
37
|
-
left: number;
|
|
38
|
-
top: number;
|
|
39
|
-
width: number;
|
|
40
|
-
height: number;
|
|
41
|
-
isUpdateRequired: boolean;
|
|
42
|
-
};
|
|
43
|
-
interface IDrawArea {
|
|
44
|
-
left: number;
|
|
45
|
-
top: number;
|
|
46
|
-
width: number;
|
|
47
|
-
height: number;
|
|
48
|
-
}
|
|
49
|
-
export type { ICursorStyles, IDrawArea, ISelectedArea, };
|
|
50
|
-
export { initialCropValues, drawImgValues, updateCursorStyle, isLeftMouseButton, updateCropValues, updateCropWithAspect, calculateAspectSizes, };
|
package/dist/helpers/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ITimeUnit } from '../index';
|
|
2
|
-
declare const isInsideRange: (value: number, min: number, max: number) => boolean;
|
|
3
|
-
declare const clamp: (value: number, minValue: number, maxValue: number) => number;
|
|
4
|
-
/**
|
|
5
|
-
* Helper for adding appropriate text to a time number
|
|
6
|
-
* Default is hours
|
|
7
|
-
*/
|
|
8
|
-
declare const getTextTimeUnit: (value: number, unit: ITimeUnit) => "Second" | "Seconds" | "Minute" | "Minutes" | "Hour" | "Hours";
|
|
9
|
-
/**
|
|
10
|
-
* Helper for adding appropriate text to a time number
|
|
11
|
-
* Default is hours
|
|
12
|
-
*/
|
|
13
|
-
declare const getShortTextTimeUnit: (value: number, unit: string) => "hr" | "sec" | "secs" | "min" | "mins" | "hrs";
|
|
14
|
-
export declare const isTimeUnit: (value: any) => boolean;
|
|
15
|
-
declare const getTopLevelPath: (pathname: string) => string;
|
|
16
|
-
declare const getImageType: (img: HTMLImageElement) => string;
|
|
17
|
-
declare const isValidImage: (file: File) => boolean;
|
|
18
|
-
declare const uniqueID: () => string;
|
|
19
|
-
export { clamp, isValidImage, getImageType, getTextTimeUnit, isInsideRange, getShortTextTimeUnit, getTopLevelPath, uniqueID };
|
package/dist/hooks/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { useInterval } from './useInterval';
|
|
2
|
-
import { useTo } from './useTo';
|
|
3
|
-
import { useTitle } from './useTitle';
|
|
4
|
-
import { useCopyToClipboard } from './useCopyToClipboard';
|
|
5
|
-
import { useModal, IModal } from './useModal';
|
|
6
|
-
import { useNotification } from './useNotification';
|
|
7
|
-
import { useClickOutside } from './useClickOutside';
|
|
8
|
-
import { usePoll } from './usePoll';
|
|
9
|
-
import useBreakpoints from './useBreakpoints';
|
|
10
|
-
import useMediaQuery from './useMediaQuery';
|
|
11
|
-
import { useMediaModal } from './useMediaModal';
|
|
12
|
-
export { useInterval, useTo, useTitle, useCopyToClipboard, useModal, useNotification, useClickOutside, usePoll, useMediaQuery, useBreakpoints, useMediaModal };
|
|
13
|
-
export type { IModal };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get a set of boolean representing which breakpoint is activeScreen
|
|
3
|
-
* and which breakpoints are inactiveScreen.
|
|
4
|
-
*/
|
|
5
|
-
export declare type IBreakpoints = 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge';
|
|
6
|
-
interface OwnProps {
|
|
7
|
-
isSmall: boolean;
|
|
8
|
-
isMedium: boolean;
|
|
9
|
-
isLarge: boolean;
|
|
10
|
-
isXLarge: boolean;
|
|
11
|
-
isXXLarge: boolean;
|
|
12
|
-
activeScreen: IBreakpoints;
|
|
13
|
-
}
|
|
14
|
-
export default function useBreakpoints(): OwnProps;
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useInterval(callback: () => void, delay: number): void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IMediaType } from '..';
|
|
2
|
-
import { IMediaModal } from "../Misc/atoms/MediaBox";
|
|
3
|
-
import { IModal } from "./useModal";
|
|
4
|
-
export declare type ICreateMediaModal = IMediaModal & IModal;
|
|
5
|
-
export declare const useMediaModal: () => {
|
|
6
|
-
createMediaModal: (mediaModal: ICreateMediaModal) => Promise<void>;
|
|
7
|
-
isMediaUrlValid: (src: string, mediaType: IMediaType) => Promise<boolean>;
|
|
8
|
-
isMediaModalOpen: boolean;
|
|
9
|
-
setMediaModalOpen: (newStatus: boolean) => void;
|
|
10
|
-
};
|
package/dist/hooks/useMenu.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IBreakpoints } from './useBreakpoints';
|
|
2
|
-
interface IMenuState {
|
|
3
|
-
desktopSize: IBreakpoints;
|
|
4
|
-
isMenuPinned: boolean;
|
|
5
|
-
isMenuOpen: boolean;
|
|
6
|
-
canPin: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const useMenu: (defaultMenuOpen: boolean, canAlwaysPin: boolean) => {
|
|
9
|
-
menuState: IMenuState;
|
|
10
|
-
setMenuOpen: () => void;
|
|
11
|
-
setMenuClose: () => void;
|
|
12
|
-
togglePinned: () => void;
|
|
13
|
-
};
|
|
14
|
-
export default useMenu;
|
package/dist/hooks/useModal.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* This type is a reduced version of the modalProps
|
|
4
|
-
* but with the possibilities to grow beyond the basic modal
|
|
5
|
-
* features
|
|
6
|
-
*/
|
|
7
|
-
export declare type IModal = {
|
|
8
|
-
closeText?: string;
|
|
9
|
-
isCloseEnable?: boolean;
|
|
10
|
-
width?: string;
|
|
11
|
-
padding?: boolean;
|
|
12
|
-
dismissCallback?: () => void;
|
|
13
|
-
customComponent?: ReactElement;
|
|
14
|
-
};
|
|
15
|
-
export declare const useModal: () => {
|
|
16
|
-
createModal: (modal?: IModal | undefined) => void;
|
|
17
|
-
isModalOpen: boolean;
|
|
18
|
-
setModalOpen: (newStatus: boolean) => void;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useNotification: () => import("../context/NotificationContext").NotificationContextType;
|
package/dist/hooks/usePoll.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const usePoll: (callback?: () => void, interval?: number) => void;
|
package/dist/hooks/useTitle.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTitle: (title: string, area?: string | undefined, delimiter?: string | undefined, update?: boolean) => void;
|
package/dist/hooks/useTo.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTo: () => (url: string) => () => any;
|
package/dist/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import lightTheme from './themes/light/light';
|
|
2
|
-
import darkTheme from './themes/dark/dark';
|
|
3
|
-
import themeFallbackHelper from './themes/themeFallbackHelper';
|
|
4
|
-
import { AlertBar, Notification, INotificationProps, AlertWrapper } from './Alerts';
|
|
5
|
-
import { Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, IconButtonData, ActionButtons, SmallInput, Input, Label, Switch, Checkbox, PasswordField, TextField, TextArea, TextAreaField, SliderInput, ISliderMark, DurationSlider, PercentageSlider, InputFileButton, DropArea, CropTool, AvatarUploader, SelectField, SelectWrapper, AreaUploadManager, RadioButton } from './Form';
|
|
6
|
-
import { DatePicker, DateInterval, isDateInterval, IFilterDatePicker, FilterDropdownContainer, FilterButton, FilterDropdown, SortDropdown, FilterInputs, ISearchFilter, IFilterDropdownExt, FiltersResults, IFilterLabel, FilterBar, IFilterDropdownConfig, IFilterType, IFilterItem, IFilterValue, IFilterResult, isFilterItem } from './Filters';
|
|
7
|
-
import Icon, { IconSVGs } from './Icons/Icon';
|
|
8
|
-
import StatusIcon from './Icons/StatusIcon';
|
|
9
|
-
import { LineUI, LineUIVideo, LineUIRTC, LineSetContext, LineReducer } from './LineUI';
|
|
10
|
-
import { IntroductionText, PageHeader, PageTitle, MultilineContent } from './Pages';
|
|
11
|
-
import { TypeTable, TableRowThumbnail, TableHeaderTitle, EditCell } from './Tables';
|
|
12
|
-
import { Controls, PTZProvider, PTZReducer, usePTZ, PTZContext } from './PTZControl';
|
|
13
|
-
import { CameraPanels, CameraPanelWrapper, ICameraPanel, IMediaStream, IPanelMetaData } from './CameraPanels';
|
|
14
|
-
import { Tag, TagList, ITag, ITagList, TagListWrapper, MediaBox, BasicSearchInput, DebouncedSearcher, ActionsBar, IActionsButton } from './Misc';
|
|
15
|
-
import { ConfirmationModal } from './Modals';
|
|
16
|
-
import { useInterval, useTo, useTitle, useCopyToClipboard, useModal, useNotification, useClickOutside, useMediaModal, IModal, usePoll } from './hooks';
|
|
17
|
-
import { NotificationProvider, ModalContext, ModalProvider } from './context';
|
|
18
|
-
import { resetButtonStyles } from './common';
|
|
19
|
-
import Spinner from './Indicators/Spinner';
|
|
20
|
-
import WebRTCClient from './WebRTCClient';
|
|
21
|
-
import { MainMenu, TopBar, Content, Layout, MainContainer, SidebarBox, SidebarLink, SidebarHeading, Logo, SidebarLinkHeading, BackLink, Sidebar, GlobalUI, INotificationItem, INotificationsHistory, ICustomDrawer } from './Global';
|
|
22
|
-
import { Tabs, TabContext, Tab, TabList, TabContent, TabWithIcon, TabsWithIconBar, ITabIcon } from './Tabs';
|
|
23
|
-
export { darkTheme, lightTheme, themeFallbackHelper, AlertBar, Notification, AlertWrapper, LineUI, LineUIVideo, LineUIRTC, LineSetContext, LineReducer, Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, ActionButtons, Input, SmallInput, Label, Switch, Checkbox, PasswordField, TextField, TextArea, TextAreaField, SliderInput, DurationSlider, PercentageSlider, InputFileButton, DropArea, CropTool, AvatarUploader, SelectField, SelectWrapper, AreaUploadManager, RadioButton, ConfirmationModal, DatePicker, FilterDropdownContainer, FilterButton, FilterDropdown, SortDropdown, FilterInputs, FiltersResults, FilterBar, isFilterItem, isDateInterval, Icon, IconSVGs, StatusIcon, IntroductionText, PageHeader, PageTitle, MultilineContent, Controls, PTZProvider, PTZContext, PTZReducer, usePTZ, TypeTable, TableRowThumbnail, TableHeaderTitle, EditCell, useInterval, useTo, useTitle, useCopyToClipboard, useClickOutside, usePoll, useMediaModal, resetButtonStyles, Spinner, WebRTCClient, MainMenu, TopBar, MainContainer, Layout, Content, SidebarBox, SidebarLink, SidebarHeading, Logo, SidebarLinkHeading, BackLink, Sidebar, GlobalUI, Tabs, TabContext, Tab, TabList, TabContent, TabWithIcon, TabsWithIconBar, CameraPanels, CameraPanelWrapper, Tag, TagList, TagListWrapper, MediaBox, BasicSearchInput, DebouncedSearcher, ActionsBar, NotificationProvider, useNotification, ModalContext, ModalProvider, useModal };
|
|
24
|
-
/**
|
|
25
|
-
* Values based on colors.feedback from theme
|
|
26
|
-
*/
|
|
27
|
-
export declare type IFeedbackColor = 'error' | 'warning' | 'info' | 'success' | 'neutral';
|
|
28
|
-
export declare type ITimeUnit = 'seconds' | 'minutes' | 'hours';
|
|
29
|
-
export declare type IMediaType = 'img' | 'video';
|
|
30
|
-
export declare type IStatusDot = 'caution' | 'danger' | 'good' | 'neutral' | 'highlight';
|
|
31
|
-
export type { IModal, INotificationProps, IconButtonData, ITag, ITagList, ISliderMark, INotificationItem, INotificationsHistory, ICustomDrawer, ISearchFilter, IFilterDropdownExt, IFilterLabel, IFilterDropdownConfig, ITabIcon, IFilterType, IFilterItem, IFilterValue, IFilterResult, DateInterval, IFilterDatePicker, ICameraPanel, IMediaStream, IPanelMetaData, IActionsButton };
|