@conboai/storybook.components 0.1.1
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/README.md +98 -0
- package/dist/assets/icons/ThreeDotsIcon.d.ts +4 -0
- package/dist/assets/icons/index.d.ts +1 -0
- package/dist/assets/styles/colors.d.ts +26 -0
- package/dist/assets/styles/common.d.ts +7 -0
- package/dist/build/index.d.ts +46 -0
- package/dist/components/ActionButton/ActionButton.d.ts +5 -0
- package/dist/components/ActionButton/index.d.ts +1 -0
- package/dist/components/ActionButton/styles.d.ts +1 -0
- package/dist/components/ActionSelect/ActionSelect.d.ts +5 -0
- package/dist/components/ActionSelect/index.d.ts +1 -0
- package/dist/components/ActionSelect/styles.d.ts +3 -0
- package/dist/components/AppTitleBar/AppTitleBar.d.ts +5 -0
- package/dist/components/AppTitleBar/index.d.ts +1 -0
- package/dist/components/ChipsBar/ChipsBar.d.ts +5 -0
- package/dist/components/ChipsBar/index.d.ts +1 -0
- package/dist/components/ChipsMultiSelect/ChipsMultiSelect.d.ts +5 -0
- package/dist/components/ChipsMultiSelect/index.d.ts +1 -0
- package/dist/components/ChipsMultiSelect/styles.d.ts +3 -0
- package/dist/components/CircularProgressBar/CircularProgressBar.d.ts +3 -0
- package/dist/components/CircularProgressBar/CircularProgressWithLabel.d.ts +7 -0
- package/dist/components/CircularProgressBar/index.d.ts +1 -0
- package/dist/components/CircularProgressBar/styles.d.ts +4 -0
- package/dist/components/CustomSelect/CustomSelect.d.ts +12 -0
- package/dist/components/CustomSelect/index.d.ts +1 -0
- package/dist/components/DatePicker/ActionBar.d.ts +5 -0
- package/dist/components/DatePicker/DatePicker.d.ts +5 -0
- package/dist/components/DatePicker/constants.d.ts +20 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/styles.d.ts +5 -0
- package/dist/components/DatePicker/utils.d.ts +1 -0
- package/dist/components/Delimiter/Delimiter.d.ts +4 -0
- package/dist/components/Delimiter/index.d.ts +1 -0
- package/dist/components/DetailsView/DetailsView.d.ts +5 -0
- package/dist/components/DetailsView/index.d.ts +1 -0
- package/dist/components/DetailsViewPanel/DetailsViewPanel.d.ts +7 -0
- package/dist/components/DetailsViewPanel/index.d.ts +1 -0
- package/dist/components/Filter/components/Filter.d.ts +5 -0
- package/dist/components/Filter/components/FilterActionButtons.d.ts +5 -0
- package/dist/components/Filter/components/FilterBody.d.ts +5 -0
- package/dist/components/Filter/components/FilterContent.d.ts +5 -0
- package/dist/components/Filter/components/FilterContentFooter.d.ts +5 -0
- package/dist/components/Filter/components/FilterFooter.d.ts +5 -0
- package/dist/components/Filter/components/FilterHeader.d.ts +5 -0
- package/dist/components/Filter/components/FilterTabPanels.d.ts +5 -0
- package/dist/components/Filter/components/FilterTabs.d.ts +5 -0
- package/dist/components/Filter/constants.d.ts +6 -0
- package/dist/components/Filter/context/index.d.ts +13 -0
- package/dist/components/Filter/index.d.ts +1 -0
- package/dist/components/Filter/styles.d.ts +13 -0
- package/dist/components/FilterBox/FilterBox.d.ts +5 -0
- package/dist/components/FilterBox/index.d.ts +1 -0
- package/dist/components/FilterBox/utils.d.ts +17 -0
- package/dist/components/Header/Header.d.ts +7 -0
- package/dist/components/Header/index.d.ts +1 -0
- package/dist/components/HomeLink/HomeLink.d.ts +8 -0
- package/dist/components/HomeLink/index.d.ts +1 -0
- package/dist/components/Logo/Logo.d.ts +8 -0
- package/dist/components/Logo/index.d.ts +1 -0
- package/dist/components/Logo/styles.d.ts +4 -0
- package/dist/components/MainTable/MainTable.d.ts +5 -0
- package/dist/components/MainTable/index.d.ts +1 -0
- package/dist/components/MainTable/styles.d.ts +1126 -0
- package/dist/components/NotificationBar/NotificationBar.d.ts +8 -0
- package/dist/components/NotificationBar/index.d.ts +1 -0
- package/dist/components/SearchInput/SearchInput.d.ts +9 -0
- package/dist/components/SearchInput/index.d.ts +1 -0
- package/dist/components/SearchInput/styles.d.ts +3 -0
- package/dist/components/Svg/Svg.d.ts +12 -0
- package/dist/components/Svg/icons.d.ts +27 -0
- package/dist/components/Svg/index.d.ts +1 -0
- package/dist/components/Tab/Tab.d.ts +5 -0
- package/dist/components/Tab/index.d.ts +1 -0
- package/dist/components/Tab/styles.d.ts +25 -0
- package/dist/components/TabsBar/TabsBar.d.ts +5 -0
- package/dist/components/TabsBar/index.d.ts +1 -0
- package/dist/components/TabsBox/TabsBox.d.ts +5 -0
- package/dist/components/TabsBox/TabsContainer.d.ts +5 -0
- package/dist/components/TabsBox/TabsContent.d.ts +5 -0
- package/dist/components/TabsBox/index.d.ts +1 -0
- package/dist/components/Toggle/Toggle.d.ts +11 -0
- package/dist/components/Toggle/index.d.ts +1 -0
- package/dist/components/Toggle/styles.d.ts +4 -0
- package/dist/components/UserAvatar/UserAvatar.d.ts +8 -0
- package/dist/components/UserAvatar/index.d.ts +1 -0
- package/dist/components/VerticalTable/VerticalTable.d.ts +17 -0
- package/dist/components/VerticalTable/index.d.ts +1 -0
- package/dist/components/VerticalTable/styles.d.ts +1072 -0
- package/dist/components/VerticalTable/utils.d.ts +1 -0
- package/dist/components/VideoBox/VideoBox.d.ts +7 -0
- package/dist/components/VideoBox/VideoPlayer.d.ts +8 -0
- package/dist/components/VideoBox/index.d.ts +1 -0
- package/dist/components/VideoBox/styles.d.ts +3 -0
- package/dist/helpers/constants.d.ts +14 -0
- package/dist/helpers/utils/date.d.ts +6 -0
- package/dist/helpers/utils/utils.d.ts +1 -0
- package/dist/interfaces/actionButton.d.ts +8 -0
- package/dist/interfaces/actionSelect.d.ts +12 -0
- package/dist/interfaces/appTitleBar.d.ts +4 -0
- package/dist/interfaces/chipsBar.d.ts +9 -0
- package/dist/interfaces/chipsMultiSelect.d.ts +6 -0
- package/dist/interfaces/datePicker.d.ts +21 -0
- package/dist/interfaces/detailsView.d.ts +6 -0
- package/dist/interfaces/filter.d.ts +105 -0
- package/dist/interfaces/mainTable.d.ts +21 -0
- package/dist/interfaces/tab.d.ts +22 -0
- package/dist/interfaces/tabsContainer.d.ts +24 -0
- package/dist/mocks/chipsMultiSelect.d.ts +1 -0
- package/dist/mocks/detailsView.d.ts +25 -0
- package/dist/mocks/filter.d.ts +16 -0
- package/dist/mocks/table.d.ts +33 -0
- package/dist/mocks/tabs.d.ts +5 -0
- package/dist/mocks/time.d.ts +8 -0
- package/dist/storybook.components.mjs +41744 -0
- package/package.json +97 -0
package/README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# storybook.components
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Getting started
|
|
6
|
+
|
|
7
|
+
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
|
|
8
|
+
|
|
9
|
+
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
|
|
10
|
+
|
|
11
|
+
In the project directory, you can run:
|
|
12
|
+
|
|
13
|
+
### `npm i`
|
|
14
|
+
### `npm run storybook`
|
|
15
|
+
|
|
16
|
+
## Add your files
|
|
17
|
+
|
|
18
|
+
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
|
19
|
+
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
cd existing_repo
|
|
23
|
+
git remote add origin https://gitlab.com/conbo_harbour/apps/storybook/storybook.components.git
|
|
24
|
+
git branch -M main
|
|
25
|
+
git push -uf origin main
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Integrate with your tools
|
|
29
|
+
|
|
30
|
+
- [ ] [Set up project integrations](https://gitlab.com/conbo_harbour/apps/storybook/storybook.components/-/settings/integrations)
|
|
31
|
+
|
|
32
|
+
## Collaborate with your team
|
|
33
|
+
|
|
34
|
+
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
|
|
35
|
+
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
|
|
36
|
+
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
|
|
37
|
+
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
|
|
38
|
+
- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
|
|
39
|
+
|
|
40
|
+
## Test and Deploy
|
|
41
|
+
|
|
42
|
+
Use the built-in continuous integration in GitLab.
|
|
43
|
+
|
|
44
|
+
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
|
|
45
|
+
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
|
|
46
|
+
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
|
|
47
|
+
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
|
|
48
|
+
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
|
|
49
|
+
|
|
50
|
+
***
|
|
51
|
+
|
|
52
|
+
# Editing this README
|
|
53
|
+
|
|
54
|
+
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
|
|
55
|
+
|
|
56
|
+
## Suggestions for a good README
|
|
57
|
+
|
|
58
|
+
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
|
|
59
|
+
|
|
60
|
+
## Name
|
|
61
|
+
Choose a self-explaining name for your project.
|
|
62
|
+
|
|
63
|
+
## Description
|
|
64
|
+
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
|
|
65
|
+
|
|
66
|
+
## Badges
|
|
67
|
+
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
|
|
68
|
+
|
|
69
|
+
## Visuals
|
|
70
|
+
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
|
|
71
|
+
|
|
72
|
+
## Installation
|
|
73
|
+
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
|
|
74
|
+
|
|
75
|
+
## Usage
|
|
76
|
+
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
|
|
77
|
+
|
|
78
|
+
## Support
|
|
79
|
+
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
|
|
80
|
+
|
|
81
|
+
## Roadmap
|
|
82
|
+
If you have ideas for releases in the future, it is a good idea to list them in the README.
|
|
83
|
+
|
|
84
|
+
## Contributing
|
|
85
|
+
State if you are open to contributions and what your requirements are for accepting them.
|
|
86
|
+
|
|
87
|
+
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
|
|
88
|
+
|
|
89
|
+
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
|
|
90
|
+
|
|
91
|
+
## Authors and acknowledgment
|
|
92
|
+
Show your appreciation to those who have contributed to the project.
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
For open source projects, say how it is licensed.
|
|
96
|
+
|
|
97
|
+
## Project status
|
|
98
|
+
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ThreeDotsIcon } from './ThreeDotsIcon';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const WHITE = "#ffffff";
|
|
2
|
+
export declare const BLACK = "#000000";
|
|
3
|
+
export declare const BG_GRAY_COLOR = "#F5F6FA";
|
|
4
|
+
export declare const DETAILS_VIEW_BG = "#ECEDEF";
|
|
5
|
+
export declare const DISABLED_CHECKBOX = "rgba(0, 0, 0, 0.26)";
|
|
6
|
+
export declare const HOVER_DARK_BLUE_ICON = "#354290";
|
|
7
|
+
export declare const PASSIVE_BTN_PRIMARY = "#5360AE";
|
|
8
|
+
export declare const HOVER_BTN_PRIMARY = "#3F4C9A";
|
|
9
|
+
export declare const ACTIVE_BTN_PRIMARY = "#303D8B";
|
|
10
|
+
export declare const DISABLED_BTN_PRIMARY = "#CCD0E7";
|
|
11
|
+
export declare const PASSIVE_BTN_SECONDARY = "#FBFBFD";
|
|
12
|
+
export declare const HOVER_BTN_SECONDARY = "#CCD0E7";
|
|
13
|
+
export declare const ACTIVE_BTN_SECONDARY = "#5360AE";
|
|
14
|
+
export declare const DISABLED_BTN_SECONDARY = "#E6E7EB";
|
|
15
|
+
export declare const DISABLED_TEXT = "#989BAF";
|
|
16
|
+
export declare const DISABLED_TEXT_ICON = "#8A8B8D";
|
|
17
|
+
export declare const DISABLED_BORDER = "#8d8ea1";
|
|
18
|
+
export declare const GRAY_BORDER = "#e5e6ea";
|
|
19
|
+
export declare const LIGHT_GRAY_BORDER = "#c2c6db";
|
|
20
|
+
export declare const DARK_BLUE_BORDER = "#4b569d";
|
|
21
|
+
export declare const BETWEEN_GRAY_BORDER = "#CECFD1";
|
|
22
|
+
export declare const BORDER_MAIN_TABLE = "#BABBBD";
|
|
23
|
+
export declare const ACTIVE_TAB = "#323d7b";
|
|
24
|
+
export declare const DEFAULT_TAB = "#535ea4";
|
|
25
|
+
export declare const HOVER_TAB = "#6f79b3";
|
|
26
|
+
export declare const BORDER_TAB = "#646ead";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export { ActionButton } from '../components/ActionButton';
|
|
2
|
+
export { ActionSelect } from '../components/ActionSelect';
|
|
3
|
+
export { ChipsBar } from '../components/ChipsBar';
|
|
4
|
+
export { DatePicker } from '../components/DatePicker';
|
|
5
|
+
export { Filter } from '../components/Filter';
|
|
6
|
+
export { FilterBox } from '../components/FilterBox';
|
|
7
|
+
export { MainTable } from '../components/MainTable';
|
|
8
|
+
export { SearchInput } from '../components/SearchInput';
|
|
9
|
+
export { NotificationBar } from '../components/NotificationBar';
|
|
10
|
+
export { Tab } from '../components/Tab';
|
|
11
|
+
export { TabsBar } from '../components/TabsBar';
|
|
12
|
+
export { Header } from '../components/Header';
|
|
13
|
+
export { HomeLink } from '../components/HomeLink';
|
|
14
|
+
export { Svg } from '../components/Svg';
|
|
15
|
+
export { DetailsView } from '../components/DetailsView';
|
|
16
|
+
export { DetailsViewPanel } from '../components/DetailsViewPanel';
|
|
17
|
+
export { ChipsMultiSelect } from '../components/ChipsMultiSelect';
|
|
18
|
+
export { VideoBox } from '../components/VideoBox';
|
|
19
|
+
export { AppTitleBar } from '../components/AppTitleBar';
|
|
20
|
+
export { Delimiter } from '../components/Delimiter';
|
|
21
|
+
export { Logo } from '../components/Logo';
|
|
22
|
+
export { VerticalTable } from '../components/VerticalTable';
|
|
23
|
+
export { UserAvatar } from '../components/UserAvatar';
|
|
24
|
+
export { Toggle } from '../components/Toggle';
|
|
25
|
+
export * from '../interfaces/filter';
|
|
26
|
+
export * from '../interfaces/tab';
|
|
27
|
+
export * from '../interfaces/detailsView';
|
|
28
|
+
export * from '../interfaces/appTitleBar';
|
|
29
|
+
export * from '../interfaces/chipsMultiSelect';
|
|
30
|
+
export * from '../interfaces/actionButton';
|
|
31
|
+
export * from '../interfaces/actionSelect';
|
|
32
|
+
export * from '../interfaces/chipsBar';
|
|
33
|
+
export * from '../interfaces/datePicker';
|
|
34
|
+
export * from '../interfaces/mainTable';
|
|
35
|
+
export * from '../interfaces/tabsContainer';
|
|
36
|
+
export * from '../helpers/utils/utils';
|
|
37
|
+
export * from '../helpers/utils/date';
|
|
38
|
+
export * from '../helpers/constants';
|
|
39
|
+
export * from '../mocks/chipsMultiSelect';
|
|
40
|
+
export * from '../mocks/detailsView';
|
|
41
|
+
export * from '../mocks/filter';
|
|
42
|
+
export * from '../mocks/table';
|
|
43
|
+
export * from '../mocks/tabs';
|
|
44
|
+
export * from '../mocks/time';
|
|
45
|
+
export * from '../assets/styles/colors';
|
|
46
|
+
export * from '../assets/styles/common';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IActionButton } from '../../interfaces/actionButton';
|
|
3
|
+
|
|
4
|
+
export declare const ActionButton: ({ children, disabled, onClick, variant, size, ...props }: IActionButton) => React.JSX.Element;
|
|
5
|
+
export default ActionButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ActionButton } from './ActionButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getButtonSx: (variant: string, size: string) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ActionSelect } from './ActionSelect';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AppTitleBar } from './AppTitleBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ChipsBar } from './ChipsBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ChipsMultiSelect } from './ChipsMultiSelect';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CircularProgressProps } from '@mui/material/CircularProgress';
|
|
2
|
+
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
declare const CircularProgressWithLabel: (props: CircularProgressProps & {
|
|
5
|
+
value: number;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
export default CircularProgressWithLabel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CircularProgressBar } from './CircularProgressBar';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SelectProps } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
export interface ICustomSelect {
|
|
5
|
+
label: string;
|
|
6
|
+
options: {
|
|
7
|
+
value: string | number;
|
|
8
|
+
label: string;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
declare const CustomSelect: React.FC<ICustomSelect & SelectProps>;
|
|
12
|
+
export default CustomSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CustomSelect } from './CustomSelect';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IDatePicker } from '../../interfaces/datePicker';
|
|
3
|
+
|
|
4
|
+
declare const DatePicker: ({ label, onChange, value, showShortcuts, showAmPmFormat, shortcuts, selectOptions, showActionSelect, format, readonly, disabled, timezone }: IDatePicker) => React.JSX.Element;
|
|
5
|
+
export default DatePicker;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TypeShortcuts } from '../../interfaces/datePicker';
|
|
3
|
+
|
|
4
|
+
export declare const DEFAULT_DATE_FORMAT = "MM/DD/YYYY HH:mm";
|
|
5
|
+
export declare const VIEWS_WITH_NO_TIME: string[];
|
|
6
|
+
export declare const VIEWS_WITH_TIME: string[];
|
|
7
|
+
export declare const slots: {
|
|
8
|
+
openPickerIcon: () => React.JSX.Element;
|
|
9
|
+
leftArrowIcon: () => React.JSX.Element;
|
|
10
|
+
rightArrowIcon: () => React.JSX.Element;
|
|
11
|
+
actionBar: ({ onClear, onSetToday, className }: import('@mui/x-date-pickers').PickersActionBarProps) => React.JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
export declare const slotProps: (showShortcuts: boolean, shortcuts: TypeShortcuts) => {
|
|
14
|
+
shortcuts: {
|
|
15
|
+
items: TypeShortcuts;
|
|
16
|
+
};
|
|
17
|
+
popper: {
|
|
18
|
+
sx: import('@mui/system').SxProps;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DatePicker } from './DatePicker';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setFormat: (showAmPm: boolean, format: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Delimiter } from './Delimiter';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DetailsView } from './DetailsView';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DetailsViewPanel } from './DetailsViewPanel';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IFilter } from '../../../interfaces/filter';
|
|
3
|
+
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ open, anchor, title, placement, width, height, onClose, onDone, data, readonly, notificationText, filterData }: IFilter) => React.JSX.Element>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IFilterActionButtons } from '../../../interfaces/filter';
|
|
3
|
+
|
|
4
|
+
declare const FilterActionButtons: ({ onAdd, onRemove, onAddDisabled, onRemovedDisabled }: IFilterActionButtons) => React.JSX.Element;
|
|
5
|
+
export default FilterActionButtons;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IFilterBody } from '../../../interfaces/filter';
|
|
3
|
+
|
|
4
|
+
declare const FilterBody: ({ data, helperText, setSelectedValues, selectedItems, readonly, filterData, subItemsFlag, setSubItemsFlag, isFilterBlock }: IFilterBody) => React.JSX.Element;
|
|
5
|
+
export default FilterBody;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IFilterContentFooter } from '../../../interfaces/filter';
|
|
3
|
+
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ checkedItems, setCheckedItems, data, setMasterCheckboxStates }: IFilterContentFooter) => React.JSX.Element>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IFilterFooter } from '../../../interfaces/filter';
|
|
3
|
+
|
|
4
|
+
declare const FilterFooter: ({ onCancel, onDone, isNotificationShown, notificationText, onDoneDisabled }: IFilterFooter) => React.JSX.Element;
|
|
5
|
+
export default FilterFooter;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const NOTIFICATION_TEXT = "After changing the selected cameras, the parameters of the selected criteria will be reset.";
|
|
2
|
+
export declare const DISABLED_BTN_TOOLTIP_TITLE = "Select a value";
|
|
3
|
+
export declare const filterInitialValues: {
|
|
4
|
+
data: never[];
|
|
5
|
+
criterias: never[];
|
|
6
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TypeFilterData, TypeSelectedFilterData } from '../../../interfaces/filter';
|
|
2
|
+
|
|
3
|
+
interface IFilterContextType {
|
|
4
|
+
setSelectedValues: (data: any) => void;
|
|
5
|
+
helperText?: string;
|
|
6
|
+
selectedItems?: TypeFilterData;
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
filterData: TypeSelectedFilterData;
|
|
9
|
+
subItemsFlag: boolean;
|
|
10
|
+
isFilterBlock?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const FilterContext: import('react').Context<IFilterContextType>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Filter } from './components/Filter';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
export declare const accordionSx: SxProps;
|
|
4
|
+
export declare const accordionBoxSx: SxProps;
|
|
5
|
+
export declare const checkBoxSx: SxProps;
|
|
6
|
+
export declare const boxSx: (width: string, height: string) => {
|
|
7
|
+
width: string;
|
|
8
|
+
height: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
boxShadow: string;
|
|
11
|
+
padding: string;
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FilterBox } from './FilterBox';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IFilterSourceData } from '../../interfaces/filter';
|
|
2
|
+
import { TypeChips } from '../../interfaces/chipsBar';
|
|
3
|
+
|
|
4
|
+
export declare const generateChips: (filterData: Array<IFilterSourceData>, data: Array<IFilterSourceData>) => {
|
|
5
|
+
label: string;
|
|
6
|
+
key: string;
|
|
7
|
+
}[];
|
|
8
|
+
export declare const generateFilterDataFromChips: (chips: TypeChips, filterData: Array<IFilterSourceData>) => {
|
|
9
|
+
id: string;
|
|
10
|
+
subItemValues: import('../../interfaces/filter').ISubItemValue[] | undefined;
|
|
11
|
+
name: string;
|
|
12
|
+
kit: string;
|
|
13
|
+
groups: string[];
|
|
14
|
+
selected?: boolean | undefined;
|
|
15
|
+
show?: boolean | undefined;
|
|
16
|
+
disabled?: boolean | undefined;
|
|
17
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Header } from './Header';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HomeLink } from './HomeLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Logo } from './Logo';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MainTable } from './MainTable';
|