scorer-ui-kit 2.0.1 → 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.
Files changed (178) hide show
  1. package/package.json +3 -3
  2. package/dist/Alerts/atom/AlertBar.d.ts +0 -16
  3. package/dist/Alerts/atom/Notification.d.ts +0 -22
  4. package/dist/Alerts/index.d.ts +0 -5
  5. package/dist/CameraPanels/atoms/MediaStream.d.ts +0 -14
  6. package/dist/CameraPanels/atoms/PanelMetaData.d.ts +0 -11
  7. package/dist/CameraPanels/index.d.ts +0 -6
  8. package/dist/CameraPanels/molecules/CameraPanel.d.ts +0 -14
  9. package/dist/CameraPanels/organisms/CameraPanels.d.ts +0 -7
  10. package/dist/Filters/FilterTypes.d.ts +0 -51
  11. package/dist/Filters/atoms/DateTimeBlock.d.ts +0 -12
  12. package/dist/Filters/atoms/FilterButton.d.ts +0 -10
  13. package/dist/Filters/atoms/FilterDropHandler.d.ts +0 -13
  14. package/dist/Filters/atoms/FilterDropdownContainer.d.ts +0 -7
  15. package/dist/Filters/atoms/LoadingBox.d.ts +0 -6
  16. package/dist/Filters/index.d.ts +0 -11
  17. package/dist/Filters/molecules/DatePicker.d.ts +0 -22
  18. package/dist/Filters/molecules/DropdownDatePicker.d.ts +0 -13
  19. package/dist/Filters/molecules/FilterDropdown.d.ts +0 -21
  20. package/dist/Filters/molecules/FilterInputs.d.ts +0 -12
  21. package/dist/Filters/molecules/FiltersResults.d.ts +0 -21
  22. package/dist/Filters/molecules/SortDropdown.d.ts +0 -16
  23. package/dist/Filters/organisms/FilterBar.d.ts +0 -21
  24. package/dist/Form/Form.d.ts +0 -7
  25. package/dist/Form/atoms/Button.d.ts +0 -9
  26. package/dist/Form/atoms/ButtonWithIcon.d.ts +0 -8
  27. package/dist/Form/atoms/ButtonWithLoading.d.ts +0 -8
  28. package/dist/Form/atoms/Checkbox.d.ts +0 -15
  29. package/dist/Form/atoms/CropArea.d.ts +0 -7
  30. package/dist/Form/atoms/DropArea.d.ts +0 -8
  31. package/dist/Form/atoms/FilterOption.d.ts +0 -12
  32. package/dist/Form/atoms/IconButton.d.ts +0 -8
  33. package/dist/Form/atoms/Input.d.ts +0 -12
  34. package/dist/Form/atoms/InputFileButton.d.ts +0 -11
  35. package/dist/Form/atoms/Label.d.ts +0 -12
  36. package/dist/Form/atoms/RadioButton.d.ts +0 -8
  37. package/dist/Form/atoms/SelectField.d.ts +0 -16
  38. package/dist/Form/atoms/SliderInput.d.ts +0 -22
  39. package/dist/Form/atoms/SmallInput.d.ts +0 -10
  40. package/dist/Form/atoms/Switch.d.ts +0 -19
  41. package/dist/Form/atoms/TextArea.d.ts +0 -9
  42. package/dist/Form/index.d.ts +0 -38
  43. package/dist/Form/molecules/ActionButtons.d.ts +0 -9
  44. package/dist/Form/molecules/CropTool.d.ts +0 -18
  45. package/dist/Form/molecules/DurationSlider.d.ts +0 -11
  46. package/dist/Form/molecules/PasswordField.d.ts +0 -11
  47. package/dist/Form/molecules/PercentageSlider.d.ts +0 -15
  48. package/dist/Form/molecules/TextAreaField.d.ts +0 -11
  49. package/dist/Form/molecules/TextField.d.ts +0 -12
  50. package/dist/Form/organisms/AreaUploadManager.d.ts +0 -13
  51. package/dist/Form/organisms/AvatarUploader.d.ts +0 -19
  52. package/dist/Global/atoms/CloseButton.d.ts +0 -8
  53. package/dist/Global/atoms/ContextItem.d.ts +0 -16
  54. package/dist/Global/atoms/DrawerBottomMenu.d.ts +0 -9
  55. package/dist/Global/atoms/Layout.d.ts +0 -13
  56. package/dist/Global/atoms/MobileLogoLink.d.ts +0 -8
  57. package/dist/Global/atoms/MobileNavbarContent.d.ts +0 -6
  58. package/dist/Global/atoms/NavigationItem.d.ts +0 -15
  59. package/dist/Global/atoms/NotificationItem.d.ts +0 -4
  60. package/dist/Global/index.d.ts +0 -80
  61. package/dist/Global/molecules/MobileUserMenu.d.ts +0 -7
  62. package/dist/Global/molecules/NotificationsHistory.d.ts +0 -4
  63. package/dist/Global/molecules/Sidebar.d.ts +0 -17
  64. package/dist/Global/molecules/TopBar.d.ts +0 -4
  65. package/dist/Global/molecules/UserMenu.d.ts +0 -7
  66. package/dist/Global/organisms/MainMenu.d.ts +0 -4
  67. package/dist/Global/organisms/MobileMenu.d.ts +0 -7
  68. package/dist/Global/organisms/MobileNavbar.d.ts +0 -9
  69. package/dist/Global/templates/GlobalUI.d.ts +0 -9
  70. package/dist/Icons/Icon.d.ts +0 -14
  71. package/dist/Icons/StatusIcon.d.ts +0 -9
  72. package/dist/Indicators/Spinner.d.ts +0 -8
  73. package/dist/LineUI/Contexts.d.ts +0 -8
  74. package/dist/LineUI/Control.d.ts +0 -5
  75. package/dist/LineUI/HandleUnit.d.ts +0 -23
  76. package/dist/LineUI/LineReducer.d.ts +0 -41
  77. package/dist/LineUI/LineSet.d.ts +0 -14
  78. package/dist/LineUI/LineUI.d.ts +0 -14
  79. package/dist/LineUI/LineUIRTC.d.ts +0 -18
  80. package/dist/LineUI/LineUIVideo.d.ts +0 -18
  81. package/dist/LineUI/LineUnit.d.ts +0 -20
  82. package/dist/LineUI/index.d.ts +0 -61
  83. package/dist/Misc/atoms/ActionsBar.d.ts +0 -16
  84. package/dist/Misc/atoms/BasicSearchInput.d.ts +0 -13
  85. package/dist/Misc/atoms/BigIconsSummary.d.ts +0 -9
  86. package/dist/Misc/atoms/MediaBox.d.ts +0 -21
  87. package/dist/Misc/atoms/Tag.d.ts +0 -14
  88. package/dist/Misc/index.d.ts +0 -9
  89. package/dist/Misc/molecules/DebouncedSearcher.d.ts +0 -8
  90. package/dist/Misc/molecules/TagList.d.ts +0 -8
  91. package/dist/Modals/ConfirmationModal.d.ts +0 -14
  92. package/dist/Modals/Modal.d.ts +0 -13
  93. package/dist/Modals/index.d.ts +0 -3
  94. package/dist/PTZControl/atoms/Down.d.ts +0 -5
  95. package/dist/PTZControl/atoms/Left.d.ts +0 -5
  96. package/dist/PTZControl/atoms/Right.d.ts +0 -5
  97. package/dist/PTZControl/atoms/Up.d.ts +0 -5
  98. package/dist/PTZControl/atoms/ZoomIn.d.ts +0 -5
  99. package/dist/PTZControl/atoms/ZoomOut.d.ts +0 -5
  100. package/dist/PTZControl/index.d.ts +0 -5
  101. package/dist/PTZControl/molecules/Base.d.ts +0 -5
  102. package/dist/PTZControl/molecules/ZoomBase.d.ts +0 -5
  103. package/dist/PTZControl/organisms/Controls.d.ts +0 -6
  104. package/dist/PTZControl/state/PTZProvider.d.ts +0 -30
  105. package/dist/PTZControl/state/PTZReducer.d.ts +0 -56
  106. package/dist/PTZControl/state/usePTZ.d.ts +0 -26
  107. package/dist/Pages/atoms/IntroductionText.d.ts +0 -5
  108. package/dist/Pages/atoms/PageTitle.d.ts +0 -11
  109. package/dist/Pages/index.d.ts +0 -5
  110. package/dist/Pages/molecules/MultilineContent.d.ts +0 -9
  111. package/dist/Pages/molecules/PageHeader.d.ts +0 -12
  112. package/dist/Tables/atoms/TableHeaderTitle.d.ts +0 -12
  113. package/dist/Tables/atoms/TableRowThumbnail.d.ts +0 -14
  114. package/dist/Tables/atoms/TypeTableCell.d.ts +0 -16
  115. package/dist/Tables/atoms/TypeTableDeviceStatus.d.ts +0 -8
  116. package/dist/Tables/atoms/TypeTableRow.d.ts +0 -14
  117. package/dist/Tables/index.d.ts +0 -55
  118. package/dist/Tables/molecules/EditCell.d.ts +0 -12
  119. package/dist/Tables/molecules/TypeTableHeader.d.ts +0 -18
  120. package/dist/Tables/organisms/TypeTable.d.ts +0 -21
  121. package/dist/Tabs/TabContent.d.ts +0 -7
  122. package/dist/Tabs/TabList.d.ts +0 -8
  123. package/dist/Tabs/Tabs.d.ts +0 -9
  124. package/dist/Tabs/atoms/MobileTab.d.ts +0 -11
  125. package/dist/Tabs/atoms/Tab.d.ts +0 -7
  126. package/dist/Tabs/atoms/TabWithIcon.d.ts +0 -9
  127. package/dist/Tabs/index.d.ts +0 -8
  128. package/dist/Tabs/molecules/TabsWithIconBar.d.ts +0 -12
  129. package/dist/WebRTCClient.d.ts +0 -13
  130. package/dist/common/index.d.ts +0 -5
  131. package/dist/context/ModalContext.d.ts +0 -10
  132. package/dist/context/NotificationContext.d.ts +0 -11
  133. package/dist/context/index.d.ts +0 -3
  134. package/dist/fonts/index.d.ts +0 -2
  135. package/dist/helpers/cropToolHelpers.d.ts +0 -50
  136. package/dist/helpers/index.d.ts +0 -19
  137. package/dist/hooks/index.d.ts +0 -13
  138. package/dist/hooks/useBreakpoints.d.ts +0 -15
  139. package/dist/hooks/useClickOutside.d.ts +0 -2
  140. package/dist/hooks/useCopyToClipboard.d.ts +0 -3
  141. package/dist/hooks/useInterval.d.ts +0 -1
  142. package/dist/hooks/useMediaModal.d.ts +0 -10
  143. package/dist/hooks/useMediaQuery.d.ts +0 -4
  144. package/dist/hooks/useMenu.d.ts +0 -14
  145. package/dist/hooks/useModal.d.ts +0 -19
  146. package/dist/hooks/useNotification.d.ts +0 -1
  147. package/dist/hooks/usePoll.d.ts +0 -1
  148. package/dist/hooks/useTitle.d.ts +0 -1
  149. package/dist/hooks/useTo.d.ts +0 -1
  150. package/dist/index.d.ts +0 -31
  151. package/dist/index.js +0 -14548
  152. package/dist/index.js.map +0 -1
  153. package/dist/index.modern.js +0 -14433
  154. package/dist/index.modern.js.map +0 -1
  155. package/dist/index.test.d.ts +0 -1
  156. package/dist/svg/AvatarPlaceholder.d.ts +0 -3
  157. package/dist/svg/Invalid.d.ts +0 -3
  158. package/dist/svg/LogoMark.d.ts +0 -3
  159. package/dist/svg/LogoText.d.ts +0 -3
  160. package/dist/svg/PasswordHide.d.ts +0 -3
  161. package/dist/svg/PasswordShow.d.ts +0 -3
  162. package/dist/svg/Required.d.ts +0 -3
  163. package/dist/svg/Success.d.ts +0 -3
  164. package/dist/svg/checkmark.d.ts +0 -3
  165. package/dist/svg/index.d.ts +0 -9
  166. package/dist/svg/input.d.ts +0 -2
  167. package/dist/themes/common.d.ts +0 -99
  168. package/dist/themes/dark/colors.d.ts +0 -24
  169. package/dist/themes/dark/custom.d.ts +0 -139
  170. package/dist/themes/dark/dark.d.ts +0 -1051
  171. package/dist/themes/dark/styles.d.ts +0 -301
  172. package/dist/themes/dark/typography.d.ts +0 -485
  173. package/dist/themes/light/colors.d.ts +0 -41
  174. package/dist/themes/light/custom.d.ts +0 -139
  175. package/dist/themes/light/light.d.ts +0 -1612
  176. package/dist/themes/light/styles.d.ts +0 -536
  177. package/dist/themes/light/typography.d.ts +0 -794
  178. package/dist/themes/themeFallbackHelper.d.ts +0 -5
@@ -1,38 +0,0 @@
1
- import Button from './atoms/Button';
2
- import ButtonWithIcon from './atoms/ButtonWithIcon';
3
- import ButtonWithLoading from './atoms/ButtonWithLoading';
4
- import IconButton, { IconButtonData } from './atoms/IconButton';
5
- import ActionButtons from './molecules/ActionButtons';
6
- import Input from './atoms/Input';
7
- import SmallInput from './atoms/SmallInput';
8
- import Label from './atoms/Label';
9
- import Switch from './atoms/Switch';
10
- import Checkbox from './atoms/Checkbox';
11
- import RadioButton from './atoms/RadioButton';
12
- import TextArea from './atoms/TextArea';
13
- import SelectField, { SelectWrapper } from './atoms/SelectField';
14
- import SliderInput, { ISliderMark } from './atoms/SliderInput';
15
- import InputFileButton from './atoms/InputFileButton';
16
- import DurationSlider from './molecules/DurationSlider';
17
- import PercentageSlider from './molecules/PercentageSlider';
18
- import PasswordField from './molecules/PasswordField';
19
- import TextField from './molecules/TextField';
20
- import TextAreaField from './molecules/TextAreaField';
21
- import DropArea from './atoms/DropArea';
22
- import CropTool from './molecules/CropTool';
23
- import AvatarUploader from './organisms/AvatarUploader';
24
- import AreaUploadManager from './organisms/AreaUploadManager';
25
- import Form from './Form';
26
- import { ButtonHTMLAttributes } from 'react';
27
- export { Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, ActionButtons, SmallInput, Input, Label, Checkbox, Switch, PasswordField, TextField, TextArea, TextAreaField, SliderInput, DurationSlider, PercentageSlider, InputFileButton, AvatarUploader, DropArea, CropTool, SelectField, SelectWrapper, AreaUploadManager, RadioButton, };
28
- export declare type TypeFieldState = 'default' | 'disabled' | 'required' | 'valid' | 'invalid' | 'processing';
29
- export declare type TypeButtonDesigns = 'primary' | 'secondary' | 'danger';
30
- export declare type TypeButtonSizes = 'xsmall' | 'small' | 'normal' | 'large';
31
- export declare type ISelectSizes = 'small' | 'normal';
32
- export declare type IInputOptionsType = "text" | "checkbox" | "radio";
33
- interface ButtonProps {
34
- size?: TypeButtonSizes;
35
- design?: TypeButtonDesigns;
36
- }
37
- export declare type IButtonProps = ButtonProps & ButtonHTMLAttributes<HTMLButtonElement>;
38
- export type { IconButtonData, ISliderMark };
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { IconButtonData } from '../atoms/IconButton';
3
- declare type IAlignmentOptions = 'left' | 'center' | 'right';
4
- declare type IGroupButtonsData = {
5
- buttonsConfig: IconButtonData[];
6
- alignment?: IAlignmentOptions;
7
- };
8
- declare const ActionButtons: React.FC<IGroupButtonsData>;
9
- export default ActionButtons;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- interface ICrop {
3
- title?: string;
4
- cancelBtnTxt?: string;
5
- cropBtnTxt?: string;
6
- imgUrl: string;
7
- isResizable?: boolean;
8
- cropHeight?: number;
9
- cropWidth?: number;
10
- canvasHeight: number;
11
- canvasWidth: number;
12
- aspectRatio?: number;
13
- onCrop?: (newFileUrl: string, fileType: string) => void;
14
- onClose?: () => void;
15
- onError?: (msg: string) => void;
16
- }
17
- declare const CropTool: React.FC<ICrop>;
18
- export default CropTool;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { ITimeUnit } from '../../index';
3
- import { ISlider } from '../atoms/SliderInput';
4
- interface IDurationSliderProps {
5
- title: string;
6
- timeUnit: ITimeUnit | string;
7
- controlledValue?: number;
8
- }
9
- declare type IDurationSlider = IDurationSliderProps & ISlider;
10
- declare const DurationSlider: React.FC<IDurationSlider>;
11
- export default DurationSlider;
@@ -1,11 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { TypeFieldState } from '..';
3
- interface OwnProps {
4
- name: string;
5
- label: string;
6
- fieldState: TypeFieldState;
7
- feedbackMessage?: string;
8
- }
9
- declare type Props = OwnProps & InputHTMLAttributes<HTMLInputElement>;
10
- declare const PasswordField: React.FC<Props>;
11
- export default PasswordField;
@@ -1,15 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { ISliderMark } from '../atoms/SliderInput';
3
- import { IFeedbackColor } from '../../index';
4
- interface IPercentageSliderProps {
5
- step?: number;
6
- marks?: ISliderMark[];
7
- defaultValue?: number;
8
- value?: number;
9
- inputCallback?: (value: number) => void;
10
- updateThumbColor?: (value: number) => IFeedbackColor;
11
- updateTitle?: (value: number) => string;
12
- }
13
- declare type IPercentageSlider = IPercentageSliderProps & InputHTMLAttributes<HTMLInputElement>;
14
- declare const PercentageSlider: React.FC<IPercentageSlider>;
15
- export default PercentageSlider;
@@ -1,11 +0,0 @@
1
- import React, { TextareaHTMLAttributes } from 'react';
2
- import { TypeFieldState } from '..';
3
- interface OwnProps {
4
- name: string;
5
- label: string;
6
- fieldState: TypeFieldState;
7
- feedbackMessage?: string;
8
- }
9
- declare type Props = OwnProps & TextareaHTMLAttributes<HTMLTextAreaElement>;
10
- declare const TextAreaField: React.FC<Props>;
11
- export default TextAreaField;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from '../atoms/Input';
3
- import { TypeFieldState } from '..';
4
- interface OwnProps {
5
- name: string;
6
- label: string;
7
- fieldState: TypeFieldState;
8
- feedbackMessage?: string;
9
- }
10
- declare type Props = OwnProps & InputProps;
11
- declare const TextField: React.FC<Props>;
12
- export default TextField;
@@ -1,13 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- interface IAreaUploaderManager {
3
- title?: string;
4
- description?: string;
5
- fileIcons?: string[];
6
- selectFilesText?: string;
7
- addMoreFilesText?: string;
8
- allowedFileTypes?: string[];
9
- customComponent?: ReactElement;
10
- onChangeCallback?: (goodFiles: FileList, rejectedFiles: FileList) => void;
11
- }
12
- declare const AreaUploadManager: React.FC<IAreaUploaderManager>;
13
- export default AreaUploadManager;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- interface IAvatar {
3
- title?: string;
4
- photoText?: string;
5
- buttonText?: string;
6
- buttonTextReplace?: string;
7
- cropToolTitle?: string;
8
- cropToolCancelTxt?: string;
9
- cropToolConfirmTxt?: string;
10
- uploaderCropText?: string;
11
- deletePhotoText?: string;
12
- currentImg?: string;
13
- hasCrop?: boolean;
14
- onAvatarUpdate?: (imgFile: File) => void;
15
- onError?: (msg: string) => void;
16
- onRemove?: () => void;
17
- }
18
- declare const AvatarUploader: React.FC<IAvatar>;
19
- export default AvatarUploader;
@@ -1,8 +0,0 @@
1
- import React, { ButtonHTMLAttributes } from 'react';
2
- interface ICloseProps {
3
- closeId: string;
4
- closeText?: string;
5
- }
6
- declare type IClose = ICloseProps & ButtonHTMLAttributes<HTMLButtonElement>;
7
- declare const CloseButton: React.FC<IClose>;
8
- export default CloseButton;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- interface IProps {
3
- title: string;
4
- icon: string;
5
- isActive: boolean;
6
- menuOpen?: boolean;
7
- submenuOpen?: boolean;
8
- hasSubmenu?: boolean;
9
- contextKey?: number;
10
- href?: string;
11
- compact?: boolean;
12
- isExternalLink?: boolean;
13
- onClickCallback?: (...args: any[]) => void;
14
- }
15
- declare const ContextItem: React.FC<IProps>;
16
- export default ContextItem;
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- interface IDrawerBottomMenu {
3
- icon: string;
4
- title: string;
5
- subTitle: string;
6
- onClickCallback?: () => void;
7
- }
8
- declare const DrawerBottomMenu: FC<IDrawerBottomMenu>;
9
- export default DrawerBottomMenu;
@@ -1,13 +0,0 @@
1
- export declare const MOBILE_CLOSE_HEIGHT = 50;
2
- export declare const MOBILE_NAVBAR_HEIGHT = 68;
3
- export declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const MobileLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const Content: import("styled-components").StyledComponent<"div", any, {
6
- maxWidth?: string | undefined;
7
- padBottom?: boolean | undefined;
8
- }, never>;
9
- export declare const MainContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const ContentArea: import("styled-components").StyledComponent<"div", any, {
11
- maxWidth?: string | undefined;
12
- paddingOverride?: string | undefined;
13
- }, never>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface ILogoLink {
3
- closeId: string;
4
- logoMark?: string;
5
- home?: string;
6
- }
7
- declare const MobileLogoLink: React.FC<ILogoLink>;
8
- export default MobileLogoLink;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface OwnProps {
3
- closeId: string;
4
- }
5
- declare const MobileNavbarContent: React.FC<OwnProps>;
6
- export default MobileNavbarContent;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { IMenuItemTop } from '..';
3
- interface IProps {
4
- item: IMenuItemTop;
5
- contextKey: number;
6
- submenuOpen: boolean;
7
- loading: boolean;
8
- menuOpen?: boolean;
9
- topLevelPath: string;
10
- minHeight?: number;
11
- onClickCallback?: (...args: any[]) => void;
12
- readyCallback?: (...args: any[]) => void;
13
- }
14
- declare const NavigationItem: React.FC<IProps>;
15
- export default NavigationItem;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { INotificationItem } from '../index';
3
- declare const NotificationItem: React.FC<INotificationItem>;
4
- export default NotificationItem;
@@ -1,80 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { Content, Layout, MainContainer } from './atoms/Layout';
3
- import MainMenu from './organisms/MainMenu';
4
- import TopBar from './molecules/TopBar';
5
- import GlobalUI from './templates/GlobalUI';
6
- import { IStatusDot } from '..';
7
- export { SidebarBox, SidebarLink, SidebarHeading, Logo, SidebarLinkHeading, BackLink, default as Sidebar } from './molecules/Sidebar';
8
- export { Content, Layout, MainMenu, TopBar, MainContainer, GlobalUI };
9
- export interface IMenuTop {
10
- items: IMenuItemTop[];
11
- }
12
- export interface IMenuItemTop {
13
- title: string;
14
- icon?: any;
15
- href?: string;
16
- isExternalLink?: boolean;
17
- submenu?: IMenuItemSubmenu[];
18
- }
19
- export interface IMenuItemSubmenu {
20
- title: string;
21
- href?: string;
22
- isExternalLink?: boolean;
23
- }
24
- export interface IMenu {
25
- content: IMenuTop;
26
- home?: string;
27
- openWidth?: number;
28
- logoMark?: string;
29
- logoText?: string;
30
- supportUrl?: string;
31
- keepOpenText?: string;
32
- autoHideText?: string;
33
- defaultMenuOpen?: boolean;
34
- canAlwaysPin?: boolean;
35
- }
36
- export interface ICustomDrawer {
37
- customComponent: ReactElement;
38
- icon: string;
39
- status?: IStatusDot;
40
- counter?: number;
41
- width?: string;
42
- }
43
- export interface ITopBar {
44
- hasNotifications?: boolean;
45
- userSubmenu?: any[];
46
- loggedInUser: string;
47
- hasLanguage?: boolean;
48
- selectedLanguageText?: string;
49
- hasLogout?: boolean;
50
- logoutText?: string;
51
- logoutLink?: string;
52
- hasSearch?: boolean;
53
- hasCurrentUser?: boolean;
54
- currentUserText?: string;
55
- accountOptionText?: string;
56
- searchPlaceholder?: string;
57
- userDrawerBespoke?: ReactElement;
58
- notificationsHistory?: INotificationsHistory;
59
- customDrawer?: ICustomDrawer;
60
- hasSwitchTheme?: boolean;
61
- isLightMode?: boolean;
62
- switchThemeText?: string;
63
- selectedThemeText?: string;
64
- onLogout?: () => void;
65
- onLanguageToggle?: () => void;
66
- onThemeToggle?: () => void;
67
- }
68
- export interface INotificationItem {
69
- imgUrl?: string;
70
- title: string;
71
- message: string;
72
- time: string;
73
- }
74
- export interface INotificationsHistory {
75
- read: INotificationItem[];
76
- unread: INotificationItem[];
77
- noNotificationsText?: string;
78
- readNotificationsText?: string;
79
- unreadNotificationsText?: string;
80
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ITopBar } from '../index';
3
- interface IMobileUserMenu extends ITopBar {
4
- closeId: string;
5
- }
6
- declare const MobileUserMenu: React.FC<IMobileUserMenu>;
7
- export default MobileUserMenu;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { INotificationsHistory } from '../index';
3
- declare const NotificationsHistory: React.FC<INotificationsHistory>;
4
- export default NotificationsHistory;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { Link } from 'react-router-dom';
3
- export declare const SidebarBox: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const SidebarHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const SidebarLinkHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const BackLink: import("styled-components").StyledComponent<typeof Link, any, {}, never>;
7
- export declare const SidebarLink: React.FC<{
8
- title: string;
9
- to: string;
10
- }>;
11
- interface LogoProps {
12
- logoTextTop: string;
13
- logoTextBottom: string;
14
- }
15
- export declare const Logo: React.FC<LogoProps>;
16
- declare const Sidebar: React.FC;
17
- export default Sidebar;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ITopBar } from '../index';
3
- declare const TopBar: React.FC<ITopBar>;
4
- export default TopBar;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ITopBar } from '../index';
3
- interface IUserMenu extends ITopBar {
4
- closeOnClick?: () => void;
5
- }
6
- declare const UserMenu: React.FC<IUserMenu>;
7
- export default UserMenu;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IMenu } from '..';
3
- declare const MainMenu: React.FC<IMenu>;
4
- export default MainMenu;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { IMenu } from '..';
3
- interface IMobileMenu extends IMenu {
4
- closeId: string;
5
- }
6
- declare const MobileMenu: React.FC<IMobileMenu>;
7
- export default MobileMenu;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { IMenu, ITopBar, INotificationsHistory } from '..';
3
- interface OwnProps {
4
- closeText?: string;
5
- notificationsHistory?: INotificationsHistory;
6
- }
7
- declare type IMobileNavbar = OwnProps & IMenu & ITopBar;
8
- declare const MobileNavbar: React.FC<IMobileNavbar>;
9
- export default MobileNavbar;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { IMenu, ITopBar } from '..';
3
- interface OwnProps {
4
- maxWidth?: string;
5
- paddingOverride?: string;
6
- }
7
- declare type INavigation = OwnProps & IMenu & ITopBar;
8
- declare const GlobalUI: React.FC<INavigation>;
9
- export default GlobalUI;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { IconSVGs } from '@future-standard/icons';
3
- declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- declare const IconWrapperForSVG: import("styled-components").StyledComponent<"g", any, {}, never>;
5
- export { IconWrapper, IconWrapperForSVG, IconSVGs };
6
- export interface IconProps {
7
- icon: string;
8
- size?: number;
9
- weight?: 'light' | 'regular' | 'heavy' | 'strong';
10
- color?: ISvgIcons['color'];
11
- forSvgUsage?: boolean;
12
- }
13
- declare const Icon: React.FC<IconProps>;
14
- export default Icon;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { IStatusDot } from '..';
3
- interface IStatusIcon {
4
- icon: string;
5
- status?: IStatusDot;
6
- counter?: number;
7
- }
8
- declare const StatusIcon: React.FC<IStatusIcon>;
9
- export default StatusIcon;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- declare type SpinnerSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
3
- interface IProps {
4
- size: SpinnerSize;
5
- styling: string;
6
- }
7
- declare const Spinner: React.FC<IProps>;
8
- export default Spinner;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { IPointSet } from '.';
3
- interface IContextProps {
4
- state: IPointSet[];
5
- dispatch: any;
6
- }
7
- export declare const LineSetContext: import("react").Context<IContextProps>;
8
- export {};
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface IControlProps {
3
- }
4
- export declare const Control: React.FC<IControlProps>;
5
- export default Control;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { IDragLineUISharedOptions } from '.';
3
- interface IHandleUnitProps {
4
- lineSetId: number;
5
- index: number;
6
- angle: number | null;
7
- useAngles: boolean;
8
- unit: number;
9
- size: number;
10
- x: number;
11
- y: number;
12
- Icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>> & {
13
- rotate?: number;
14
- };
15
- rotate?: number;
16
- moveCallback: any;
17
- moveEndCB?: () => void;
18
- options: IDragLineUISharedOptions;
19
- readOnlyHandle?: boolean;
20
- styling?: string;
21
- }
22
- declare const HandleUnit: React.FC<IHandleUnitProps>;
23
- export default HandleUnit;
@@ -1,41 +0,0 @@
1
- import { IPointSet } from './';
2
- export declare type IReducerActions = UpdateAction | LoadAction | AddSetAction | RemoveAction | AddPointAction | RemovePointAction | UpdateSetOptions | RenameSetAction;
3
- interface AddSetAction {
4
- type: 'ADD_SET';
5
- data: IPointSet;
6
- }
7
- interface UpdateAction {
8
- type: 'UPDATE' | 'UPDATE_SET_POINTS';
9
- index: number;
10
- data: IPointSet;
11
- }
12
- interface RenameSetAction {
13
- type: 'RENAME_SET';
14
- index: number;
15
- data: {
16
- name: string;
17
- };
18
- }
19
- interface UpdateSetOptions {
20
- type: 'UPDATE_SET_OPTIONS';
21
- index: number;
22
- data: Partial<IPointSet>;
23
- }
24
- interface RemoveAction {
25
- type: 'REMOVE_SET';
26
- index: number;
27
- }
28
- interface LoadAction {
29
- type: 'LOAD';
30
- state: IPointSet[];
31
- }
32
- interface AddPointAction {
33
- type: 'ADD_POINT';
34
- index: number;
35
- }
36
- interface RemovePointAction {
37
- type: 'REMOVE_POINT';
38
- index: number;
39
- }
40
- declare const _default: (state: IPointSet[], action: IReducerActions) => IPointSet[];
41
- export default _default;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { IPointSet, IDragLineUISharedOptions } from '.';
3
- interface ILineSetProps {
4
- lineSetId: number;
5
- boundaries: any;
6
- size: number;
7
- unit: number;
8
- lineData: IPointSet;
9
- options: IDragLineUISharedOptions;
10
- onLineMoveEnd: () => void;
11
- getCTM: () => DOMMatrix | null;
12
- }
13
- declare const LineSet: React.FC<ILineSetProps>;
14
- export default LineSet;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { LineUIOptions } from '.';
3
- interface LineUIProps {
4
- src: string;
5
- onSizeChange?: (size: {
6
- h: number;
7
- w: number;
8
- }) => void;
9
- onLineMoveEnd?: () => void;
10
- options?: LineUIOptions;
11
- showDirectionMark?: boolean;
12
- }
13
- declare const LineUI: React.FC<LineUIProps>;
14
- export default LineUI;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { LineUIOptions, LineUIVideoOptions } from '.';
3
- interface LineUIProps {
4
- ws: string;
5
- onSizeChange?: (size: {
6
- h: number;
7
- w: number;
8
- }) => void;
9
- onLineMoveEnd?: () => void;
10
- onLoaded?: (metadata: {
11
- height: number;
12
- width: number;
13
- }) => void;
14
- options?: LineUIOptions;
15
- videoOptions?: LineUIVideoOptions;
16
- }
17
- declare const LineUI: React.FC<LineUIProps>;
18
- export default LineUI;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { LineUIOptions, LineUIVideoOptions } from '.';
3
- interface LineUIProps {
4
- src: string;
5
- onSizeChange?: (size: {
6
- h: number;
7
- w: number;
8
- }) => void;
9
- onLineMoveEnd?: () => void;
10
- onLoaded?: (metadata: {
11
- height: number;
12
- width: number;
13
- }) => void;
14
- options?: LineUIOptions;
15
- videoOptions: LineUIVideoOptions;
16
- }
17
- declare const LineUIVideo: React.FC<LineUIProps>;
18
- export default LineUIVideo;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { IDragLineUISharedOptions } from '.';
3
- interface ILineUnitProps {
4
- lineSetId: number;
5
- options: IDragLineUISharedOptions;
6
- x1: number;
7
- y1: number;
8
- x2: number;
9
- y2: number;
10
- unit: number;
11
- lineMoveCallback: any;
12
- lineMoveStartCallback: any;
13
- moveEndCB?: () => void;
14
- label?: string;
15
- styling?: string;
16
- showSmallDirectionMark?: boolean;
17
- overrideShowMoveHandle?: boolean;
18
- }
19
- declare const LineUnit: React.FC<ILineUnitProps>;
20
- export default LineUnit;