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.
Files changed (178) hide show
  1. package/package.json +1 -1
  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,16 +0,0 @@
1
- import React from 'react';
2
- import { IButtonWithIcon } from '../../Form/atoms/ButtonWithIcon';
3
- export interface IActionsButton extends IButtonWithIcon {
4
- text: string;
5
- }
6
- export interface IActionsBar {
7
- title?: string;
8
- finishTextButton?: string;
9
- actionButtons?: IActionsButton[];
10
- selectedTemplate?: string;
11
- totalSelected?: number;
12
- totalAvailable?: number;
13
- finishCallback?: () => void;
14
- }
15
- declare const ActionsBar: React.FC<IActionsBar>;
16
- export default ActionsBar;
@@ -1,13 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- interface OwnProps {
3
- color?: 'mono' | 'dimmed' | 'subtle';
4
- hasBorder?: boolean;
5
- iconSize?: number;
6
- noBackground?: boolean;
7
- width?: string;
8
- hasCrossButton?: boolean;
9
- onCrossClick?: () => void;
10
- }
11
- export declare type IBasicSearchInput = OwnProps & InputHTMLAttributes<HTMLInputElement>;
12
- declare const BasicSearchInput: React.FC<IBasicSearchInput>;
13
- export default BasicSearchInput;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface IBigIconsSummary {
3
- icons: string[];
4
- color?: ISvgIcons['color'];
5
- size?: number;
6
- weight?: 'light' | 'regular' | 'heavy' | 'strong';
7
- }
8
- declare const BigIconsSummary: React.FC<IBigIconsSummary>;
9
- export default BigIconsSummary;
@@ -1,21 +0,0 @@
1
- import React, { VideoHTMLAttributes } from 'react';
2
- import { IMediaType } from '../../index';
3
- export declare const MediaBoxWrapper: import("styled-components").StyledComponent<"div", any, {
4
- minWidth?: string | undefined;
5
- minHeight?: string | undefined;
6
- }, never>;
7
- export interface IMediaModal {
8
- src: string;
9
- mediaType: IMediaType;
10
- alt?: string;
11
- videoOptions?: VideoHTMLAttributes<HTMLVideoElement>;
12
- hasModalLimits?: boolean;
13
- retryLoading?: boolean;
14
- retryLimit?: number;
15
- minWidth?: string;
16
- minHeight?: string;
17
- onError?: (e: Event) => void;
18
- onMediaLoad?: () => void;
19
- }
20
- declare const MediaBox: React.FC<IMediaModal>;
21
- export default MediaBox;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from '../../Icons/Icon';
3
- export declare const TagWrapper: import("styled-components").StyledComponent<"div", any, {
4
- hoverColor: ISvgIcons['color'];
5
- enableHover: boolean;
6
- size: number;
7
- }, never>;
8
- interface OwnProps {
9
- label?: string;
10
- linkTo?: string;
11
- }
12
- export declare type ITag = OwnProps & IconProps;
13
- declare const Tag: React.FC<ITag>;
14
- export default Tag;
@@ -1,9 +0,0 @@
1
- import Tag, { ITag } from './atoms/Tag';
2
- import TagList, { ITagList, TagListWrapper } from './molecules/TagList';
3
- import BasicSearchInput from './atoms/BasicSearchInput';
4
- import BigIconsSummary from './atoms/BigIconsSummary';
5
- import MediaBox from './atoms/MediaBox';
6
- import DebouncedSearcher from './molecules/DebouncedSearcher';
7
- import ActionsBar, { IActionsBar, IActionsButton } from './atoms/ActionsBar';
8
- export { Tag, TagList, TagListWrapper, MediaBox, BasicSearchInput, BigIconsSummary, DebouncedSearcher, ActionsBar };
9
- export type { ITagList, ITag, IActionsBar, IActionsButton };
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { IBasicSearchInput } from '../atoms/BasicSearchInput';
3
- interface IDebouncedSearcher extends IBasicSearchInput {
4
- defaultValue?: string;
5
- onDebouncedChange?: (newValue: string) => void;
6
- }
7
- declare const DebouncedSearcher: React.FC<IDebouncedSearcher>;
8
- export default DebouncedSearcher;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { ITag } from '../atoms/Tag';
3
- export declare const TagListWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export interface ITagList {
5
- tagsConfig: ITag[];
6
- }
7
- declare const TagList: React.FC<ITagList>;
8
- export default TagList;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { TypeButtonDesigns } from '../Form';
3
- declare type IConfirmationModal = {
4
- title?: string;
5
- message: string;
6
- leftButtonText?: string;
7
- leftButtonDesign?: TypeButtonDesigns;
8
- leftButtonCallback?: () => void;
9
- rightButtonText?: string;
10
- rightButtonDesign?: TypeButtonDesigns;
11
- rightButtonCallback?: () => void;
12
- };
13
- declare const ConfirmationModal: React.FC<IConfirmationModal>;
14
- export default ConfirmationModal;
@@ -1,13 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- export interface IModalProps {
3
- isOpen: boolean;
4
- isCloseEnable?: boolean;
5
- closeText?: string;
6
- width?: string;
7
- padding?: boolean;
8
- customComponent?: ReactElement;
9
- onDismiss: () => void;
10
- dismissCallback?: () => void;
11
- }
12
- declare const Modal: React.FC<IModalProps>;
13
- export default Modal;
@@ -1,3 +0,0 @@
1
- import Modal from './Modal';
2
- import ConfirmationModal from './ConfirmationModal';
3
- export { Modal, ConfirmationModal, };
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const Down: React.FC<Props>;
5
- export default Down;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const Left: React.FC<Props>;
5
- export default Left;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const Right: React.FC<Props>;
5
- export default Right;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const Up: React.FC<Props>;
5
- export default Up;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const Up: React.FC<Props>;
5
- export default Up;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const Up: React.FC<Props>;
5
- export default Up;
@@ -1,5 +0,0 @@
1
- import Controls from './organisms/Controls';
2
- import PTZProvider, { PTZContext } from './state/PTZProvider';
3
- import usePTZ from './state/usePTZ';
4
- import PTZReducer from './state/PTZReducer';
5
- export { Controls, PTZProvider, PTZReducer, usePTZ, PTZContext };
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const PTZControl: React.FC<Props>;
5
- export default PTZControl;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- }
4
- declare const ZoomBase: React.FC<Props>;
5
- export default ZoomBase;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- debug?: boolean;
4
- }
5
- declare const Controls: React.FC<Props>;
6
- export default Controls;
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { PTZReducerActions, PTZState } from "./PTZReducer";
3
- export interface IPTZContext {
4
- state: PTZState;
5
- dispatch: React.Dispatch<PTZReducerActions>;
6
- actions: PTZActions;
7
- }
8
- interface PTZActions {
9
- move: ({ direction }: {
10
- direction: 'up' | 'down' | 'left' | 'right';
11
- }) => void;
12
- zoom: ({ zooming }: {
13
- zooming: 'in' | 'out';
14
- }) => void;
15
- stop: () => void;
16
- connect: (params: {
17
- username: string;
18
- password: string;
19
- host: string;
20
- port?: number;
21
- }) => void;
22
- disconnect: () => void;
23
- }
24
- export declare const PTZContext: React.Context<IPTZContext>;
25
- interface Props {
26
- socketUrl?: string;
27
- imageRefresh?: number;
28
- }
29
- declare const PTZProvider: React.FC<Props>;
30
- export default PTZProvider;
@@ -1,56 +0,0 @@
1
- export declare type PTZReducerActions = ConnectStartAction | ConnectFailAction | ConnectSuccessAction | DisconnectSuccessAction | MoveStart | Stop | ZoomStart | Home | SetImage | PTZError;
2
- interface ConnectStartAction {
3
- type: 'CONNECTING';
4
- address: string;
5
- }
6
- interface ConnectFailAction {
7
- type: 'CONNECTION_FAIL';
8
- errorMessage: string;
9
- }
10
- interface PTZError {
11
- type: 'PTZ_ERROR';
12
- errorMessage: string;
13
- }
14
- interface ConnectSuccessAction {
15
- type: 'CONNECTED';
16
- }
17
- interface DisconnectSuccessAction {
18
- type: 'DISCONNECTED';
19
- }
20
- interface MoveStart {
21
- type: 'MOVE_START';
22
- direction: MoveDirections;
23
- }
24
- interface ZoomStart {
25
- type: 'ZOOM_START';
26
- zooming: ZoomStates;
27
- }
28
- interface SetImage {
29
- type: 'SET_IMAGE';
30
- image: string;
31
- }
32
- interface Stop {
33
- type: 'STOP';
34
- }
35
- interface Home {
36
- type: 'HOME';
37
- }
38
- export interface PTZCredentials {
39
- host: string;
40
- username: string;
41
- password: string;
42
- }
43
- declare type MoveDirections = 'left' | 'right' | 'up' | 'down' | 'home' | null;
44
- declare type ZoomStates = 'in' | 'out' | null;
45
- export interface PTZState {
46
- connection: 'connected' | 'connecting' | 'error' | 'disconnecting' | 'disconnected';
47
- moving: MoveDirections;
48
- zooming: ZoomStates;
49
- loading: boolean;
50
- image: string;
51
- address?: string;
52
- errorMessage?: string;
53
- stateID: number;
54
- }
55
- declare const _default: (state: PTZState, action: PTZReducerActions) => PTZState;
56
- export default _default;
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- declare const usePTZ: ({ socketUrl, imageRefresh }: {
3
- socketUrl?: string | undefined;
4
- imageRefresh?: number | undefined;
5
- }) => {
6
- state: import("./PTZReducer").PTZState;
7
- dispatch: import("react").Dispatch<import("./PTZReducer").PTZReducerActions>;
8
- actions: {
9
- connect: ({ username: user, password: pass, host: address, port }: {
10
- username: string;
11
- password: string;
12
- host: string;
13
- port?: number | undefined;
14
- }) => Promise<void>;
15
- getImage: () => Promise<void>;
16
- disconnect: () => Promise<void>;
17
- zoom: ({ zooming }: {
18
- zooming: 'in' | 'out';
19
- }) => void;
20
- stop: () => void;
21
- move: ({ direction }: {
22
- direction: 'up' | 'down' | 'left' | 'right';
23
- }) => void;
24
- };
25
- };
26
- export default usePTZ;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface IProps {
3
- }
4
- declare const IntroductionText: React.FC<IProps>;
5
- export default IntroductionText;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- interface IProps {
3
- title: string;
4
- icon?: string;
5
- areaTitle?: string;
6
- areaHref?: string;
7
- updateDocTitle?: boolean;
8
- hideAreaInDocTitle?: boolean;
9
- }
10
- declare const PageTitle: React.FC<IProps>;
11
- export default PageTitle;
@@ -1,5 +0,0 @@
1
- import PageTitle from './atoms/PageTitle';
2
- import IntroductionText from './atoms/IntroductionText';
3
- import PageHeader from './molecules/PageHeader';
4
- import MultilineContent from './molecules/MultilineContent';
5
- export { PageTitle, IntroductionText, PageHeader, MultilineContent };
@@ -1,9 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- /**
3
- * This component creates a column of ReactElements
4
- */
5
- export interface IMultiContent {
6
- contentArray: ReactElement[];
7
- }
8
- declare const MultilineContent: React.FC<IMultiContent>;
9
- export default MultilineContent;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface IProps {
3
- title: string;
4
- areaHref?: string;
5
- areaTitle?: string;
6
- icon?: string;
7
- introductionText?: string;
8
- updateDocTitle?: boolean;
9
- hideAreaInDocTitle?: boolean;
10
- }
11
- declare const PageHeader: React.FC<IProps>;
12
- export default PageHeader;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface IHeaderProps {
3
- isSortActive?: boolean;
4
- header: string;
5
- sortable?: boolean;
6
- ascending?: boolean;
7
- columnId?: string;
8
- indexKey: number;
9
- toggleSort: (dataKey: number, columnId?: string) => void;
10
- }
11
- declare const TableHeaderTitle: React.FC<IHeaderProps>;
12
- export default TableHeaderTitle;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { IMediaType } from '../..';
3
- declare type VideoAspects = '4:3' | '16:9';
4
- interface IProps {
5
- image?: string;
6
- hoverZoom?: boolean;
7
- aspect?: VideoAspects;
8
- mediaUrl?: string;
9
- mediaType?: IMediaType;
10
- retryImageLoad?: boolean;
11
- retryLimit?: number;
12
- }
13
- declare const TableRowThumbnail: React.FC<IProps>;
14
- export default TableRowThumbnail;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { TypeCellStyle, TypeCellAlignment } from '..';
3
- interface IProps {
4
- isLastRow?: boolean;
5
- hideDivider?: boolean;
6
- cellStyle?: TypeCellStyle;
7
- alignment?: TypeCellAlignment;
8
- href?: string;
9
- showUnit?: boolean;
10
- showStatus?: boolean;
11
- unit?: string;
12
- status?: string;
13
- hasCopyButton?: boolean;
14
- }
15
- declare const TypeTableCell: React.FC<IProps>;
16
- export default TypeTableCell;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { IDeviceStatus } from '..';
3
- declare type TypeDeviceStatus = IDeviceStatus;
4
- interface IProps {
5
- status: TypeDeviceStatus;
6
- }
7
- declare const TypeTableDeviceStatus: React.FC<IProps>;
8
- export default TypeTableDeviceStatus;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { ITableColumnConfig, IRowData } from '..';
3
- interface IProps {
4
- isLastRow?: boolean;
5
- selectable?: boolean;
6
- hasStatus?: boolean;
7
- hasThumbnail?: boolean;
8
- hasTypeIcon?: boolean;
9
- columnConfig: ITableColumnConfig[];
10
- rowData: IRowData;
11
- selectCallback?: (event: any, id?: string | number) => void;
12
- }
13
- declare const TypeTableRow: React.FC<IProps>;
14
- export default TypeTableRow;
@@ -1,55 +0,0 @@
1
- import TypeTable from './organisms/TypeTable';
2
- import TableRowThumbnail from './atoms/TableRowThumbnail';
3
- import TableHeaderTitle from './atoms/TableHeaderTitle';
4
- import EditCell from './molecules/EditCell';
5
- import { ReactElement } from 'react';
6
- import { IMediaType } from '..';
7
- export declare type TypeCellStyle = 'firstColumn' | 'lowImportance' | 'normalImportance' | 'highImportance';
8
- export declare type TypeCellAlignment = 'left' | 'center' | 'right';
9
- export interface TableHeaders {
10
- columnHeaders: TableHeaderItem[];
11
- showSelectAll?: boolean;
12
- }
13
- export interface TableHeaderItem {
14
- name: string;
15
- type: 'string' | 'tags' | 'image';
16
- sortable?: boolean;
17
- }
18
- export interface ITableColumnConfig {
19
- columnId?: string;
20
- groupTitle?: string;
21
- header: string;
22
- sortable?: boolean;
23
- sortActive?: boolean;
24
- cellStyle: TypeCellStyle;
25
- alignment?: TypeCellAlignment;
26
- showUnit?: boolean;
27
- showStatus?: boolean;
28
- hasCopyButton?: boolean;
29
- width?: number;
30
- minWidth?: number;
31
- }
32
- export declare type IDeviceStatus = 'caution' | 'danger' | 'folder' | 'good' | 'neutral';
33
- export interface ICellData {
34
- text?: string;
35
- href?: string;
36
- unit?: string;
37
- status?: IDeviceStatus;
38
- customComponent?: ReactElement;
39
- }
40
- export interface IRowHeader {
41
- status?: any;
42
- image?: string;
43
- mediaUrl?: string;
44
- mediaType?: IMediaType;
45
- retryImageLoad?: boolean;
46
- icon?: string;
47
- }
48
- export interface IRowData {
49
- _checked?: boolean;
50
- id?: number | string;
51
- header?: IRowHeader;
52
- columns: ICellData[];
53
- }
54
- export declare type ITypeTableData = IRowData[];
55
- export { TypeTable, TableRowThumbnail, TableHeaderTitle, EditCell, };
@@ -1,12 +0,0 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
- import { TypeCellAlignment } from '../';
3
- export interface OwnProps {
4
- defaultValue: string;
5
- rowKey: string;
6
- alignment?: TypeCellAlignment;
7
- toLink?: string;
8
- saveCallback?: (inputValue: string, rowKey: string) => void;
9
- }
10
- declare type IEditableCell = OwnProps & InputHTMLAttributes<HTMLInputElement>;
11
- declare const EditCell: React.FC<IEditableCell>;
12
- export default EditCell;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { ITableColumnConfig } from '..';
3
- interface ITableHeader {
4
- selectable?: boolean;
5
- hasStatus: boolean;
6
- hasThumbnail: boolean;
7
- hasTypeIcon: boolean;
8
- allChecked: boolean;
9
- isEmptyTable: boolean;
10
- isLoading: boolean;
11
- hasHeaderGroups: boolean;
12
- columnConfig: ITableColumnConfig[];
13
- defaultAscending: boolean;
14
- toggleAllCallback?: (checked: boolean) => void;
15
- sortCallback?: (ascending: boolean, columnId: string) => void;
16
- }
17
- declare const TypeTableHeader: React.FC<ITableHeader>;
18
- export default TypeTableHeader;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { ITableColumnConfig, ITypeTableData } from '..';
3
- interface IProps {
4
- columnConfig: ITableColumnConfig[];
5
- rows: ITypeTableData;
6
- selectable?: boolean;
7
- hasStatus?: boolean;
8
- hasThumbnail?: boolean;
9
- hasTypeIcon?: boolean;
10
- defaultAscending?: boolean;
11
- isLoading?: boolean;
12
- loadingText?: string;
13
- emptyTableTitle?: string;
14
- emptyTableText?: string;
15
- hasHeaderGroups?: boolean;
16
- selectCallback?: (checked: boolean, id?: string | number) => void;
17
- toggleAllCallback?: (checked: boolean) => void;
18
- sortCallback?: (ascending: boolean, columnId: string) => void;
19
- }
20
- declare const TypeTable: React.FC<IProps>;
21
- export default TypeTable;
@@ -1,7 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- interface OwnProps {
3
- tabId: string;
4
- }
5
- declare type Props = OwnProps & HTMLAttributes<HTMLDivElement>;
6
- declare const TabContent: React.FC<Props>;
7
- export { TabContent };
@@ -1,8 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- export declare const TabListWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- interface OwnProps {
4
- defaultTabId: string;
5
- }
6
- declare type Props = OwnProps & HTMLAttributes<HTMLDivElement>;
7
- declare const TabList: React.FC<Props>;
8
- export { TabList };
@@ -1,9 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- export interface ContextProps {
3
- selected: string;
4
- setSelected: (value: string) => void;
5
- }
6
- export declare const TabContext: React.Context<ContextProps>;
7
- declare type Props = HTMLAttributes<HTMLDivElement>;
8
- declare const Tabs: React.FC<Props>;
9
- export { Tabs };
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { IStatusDot } from '../..';
3
- interface IMobileTab {
4
- tabFor: string;
5
- icon: string;
6
- closeId: string;
7
- counter?: number;
8
- status?: IStatusDot;
9
- }
10
- declare const MobileTab: React.FC<IMobileTab>;
11
- export { MobileTab };
@@ -1,7 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- interface OwnProps {
3
- tabFor: string;
4
- }
5
- declare type Props = OwnProps & HTMLAttributes<HTMLDivElement>;
6
- declare const Tab: React.FC<Props>;
7
- export { Tab };
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export interface ITabWithIcon {
3
- icon: string;
4
- title: string;
5
- subtitle?: string;
6
- tabFor: string;
7
- }
8
- declare const TabWithIcon: React.FC<ITabWithIcon>;
9
- export { TabWithIcon };
@@ -1,8 +0,0 @@
1
- export { Tabs, TabContext } from './Tabs';
2
- export { TabList } from './TabList';
3
- export { Tab } from './atoms/Tab';
4
- export { TabContent } from './TabContent';
5
- export { MobileTab } from './atoms/MobileTab';
6
- export { TabWithIcon } from './atoms/TabWithIcon';
7
- export { TabsWithIconBar } from './molecules/TabsWithIconBar';
8
- export type { ITabIcon } from './molecules/TabsWithIconBar';
@@ -1,12 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- import { ITabWithIcon } from '../atoms/TabWithIcon';
3
- export interface ITabIcon extends ITabWithIcon {
4
- customComponent?: ReactElement;
5
- }
6
- export interface ITabsWithIconBar {
7
- defaultTabId: string;
8
- tabList: ITabIcon[];
9
- paddingLeft?: string;
10
- }
11
- declare const TabsWithIconBar: React.FC<ITabsWithIconBar>;
12
- export { TabsWithIconBar };