@corva/ui 0.49.0-3 → 0.49.0-4

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 (231) hide show
  1. package/components/AddComment/Popover.js +1 -1
  2. package/components/AddComment/components/Content.js +1 -1
  3. package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.d.ts +1 -1
  4. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +2 -2
  5. package/components/Annotations/components/AnnotationsList/index.d.ts +3 -3
  6. package/components/AppVersionsSelect/AppVersionsSelect.d.ts +1 -1
  7. package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  8. package/components/AssetEditor/AssetEditorAutocomplete.d.ts +4 -4
  9. package/components/AssetEditor/SingleAssetEditor.d.ts +2 -2
  10. package/components/Attachment/index.d.ts +2 -2
  11. package/components/Avatar/index.d.ts +81 -46
  12. package/components/Avatar/index.d.ts.map +1 -1
  13. package/components/Avatar/index.js +1 -1
  14. package/components/BICOffsetPickerDialog/index.js +1 -1
  15. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  16. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  17. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  18. package/components/Chart/options.d.ts +10 -2
  19. package/components/Chart/options.d.ts.map +1 -1
  20. package/components/Chart/tooltip.d.ts +2 -0
  21. package/components/Chart/tooltip.d.ts.map +1 -0
  22. package/components/CollapsableSidebar.d.ts +3 -3
  23. package/components/ColorPicker/ColorPicker.d.ts +2 -43
  24. package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  25. package/components/ColorPicker/ColorPicker.js +1 -1
  26. package/components/ColorPicker/index.d.ts +1 -1
  27. package/components/ColorPicker/index.d.ts.map +1 -1
  28. package/components/ColorPickerPalette/ColorPickerPalette.d.ts +2 -17
  29. package/components/ColorPickerPalette/ColorPickerPalette.d.ts.map +1 -1
  30. package/components/Comment/CommentIcon/index.d.ts +2 -1
  31. package/components/Comment/CommentIcon/index.d.ts.map +1 -1
  32. package/components/Comment/index.d.ts +3 -3
  33. package/components/CommentInput/index.d.ts +5 -5
  34. package/components/CommentsInfo/index.d.ts +3 -3
  35. package/components/ConfirmationDialog.d.ts +3 -3
  36. package/components/Counter/index.d.ts +35 -24
  37. package/components/Counter/index.d.ts.map +1 -1
  38. package/components/Counter/index.js +1 -1
  39. package/components/DateTimePicker/index.d.ts +14 -21
  40. package/components/DateTimePicker/index.d.ts.map +1 -1
  41. package/components/DateTimePicker/index.js +1 -1
  42. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts +31 -25
  43. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts.map +1 -1
  44. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  45. package/components/DevCenter/AppSettingsPopover/index.d.ts +1 -1
  46. package/components/DevCenter/AppSettingsPopover/index.d.ts.map +1 -1
  47. package/components/DevCenter/AppSideBar/AppSideBar.d.ts +58 -66
  48. package/components/DevCenter/AppSideBar/AppSideBar.d.ts.map +1 -1
  49. package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  50. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  51. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  52. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  53. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +1 -1
  54. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  55. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  56. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts +2 -2
  57. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  58. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  59. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  60. package/components/DocumentViewer/DocumentViewer.js +1 -1
  61. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  62. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  63. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  64. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  65. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  66. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  67. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  68. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  69. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  70. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  71. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  72. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  73. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  74. package/components/Drillstring/BHAComponentsTable/components/sharedStyles.d.ts +1 -1
  75. package/components/EditableItem/EditableItem/index.d.ts +33 -37
  76. package/components/EditableItem/EditableItem/index.d.ts.map +1 -1
  77. package/components/EditableItem/EditableItem/index.js +1 -1
  78. package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts +1 -1
  79. package/components/EmbeddedApp/EmbeddedApp.d.ts +1 -1
  80. package/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  81. package/components/FeedItem/FeedItem.d.ts +2 -2
  82. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts +1 -1
  83. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts +20 -2
  84. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts.map +1 -1
  85. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts +1 -1
  86. package/components/FilePreview/index.d.ts +1 -1
  87. package/components/FilesLoader/FilesLoader.d.ts +49 -58
  88. package/components/FilesLoader/FilesLoader.d.ts.map +1 -1
  89. package/components/FilesLoader/FilesLoader.js +1 -1
  90. package/components/FilesLoader/Icons/IconWarning.d.ts +1 -1
  91. package/components/FilesLoader/Icons/IconWarning.js +1 -1
  92. package/components/FilesLoader/index.d.ts +2 -2
  93. package/components/FilesLoader/index.d.ts.map +1 -1
  94. package/components/FilesLoader/useStyles.d.ts +1 -1
  95. package/components/FilesLoader/useStyles.d.ts.map +1 -1
  96. package/components/FilesLoader/useStyles.js +1 -1
  97. package/components/IconButton/index.d.ts +33 -10
  98. package/components/IconButton/index.d.ts.map +1 -1
  99. package/components/IconButton/index.js +1 -1
  100. package/components/IconMenu/index.d.ts +4 -4
  101. package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts +14 -17
  102. package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts.map +1 -1
  103. package/components/LoadingIndicator/FullScreenLoadingIndicator.js +1 -1
  104. package/components/LoadingIndicator/InlineLoadingIndicator.d.ts +14 -17
  105. package/components/LoadingIndicator/InlineLoadingIndicator.d.ts.map +1 -1
  106. package/components/LoadingIndicator/InlineLoadingIndicator.js +1 -1
  107. package/components/LoadingIndicator/Loader.d.ts +14 -15
  108. package/components/LoadingIndicator/Loader.d.ts.map +1 -1
  109. package/components/LoadingIndicator/Loader.js +1 -1
  110. package/components/LoadingIndicator/LoadingIndicator.d.ts +18 -26
  111. package/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  112. package/components/LoadingIndicator/LoadingIndicator.js +1 -1
  113. package/components/LoadingIndicator/types.d.ts +25 -0
  114. package/components/LoadingIndicator/types.d.ts.map +1 -0
  115. package/components/LoadingIndicator/types.js +1 -0
  116. package/components/Modal/CorvaModal.d.ts +60 -69
  117. package/components/Modal/CorvaModal.d.ts.map +1 -1
  118. package/components/Modal/CorvaModal.js +1 -1
  119. package/components/Modal/Modal.d.ts +2 -1
  120. package/components/Modal/Modal.d.ts.map +1 -1
  121. package/components/Modal/Modal.js +1 -1
  122. package/components/Modal/index.d.ts +1 -1
  123. package/components/Modal/index.d.ts.map +1 -1
  124. package/components/Notifications/components/Toast.d.ts +1 -1
  125. package/components/OffsetWellButton/OffsetWellButton.d.ts +29 -28
  126. package/components/OffsetWellButton/OffsetWellButton.d.ts.map +1 -1
  127. package/components/OffsetWellButton/OffsetWellButton.js +1 -1
  128. package/components/OffsetWellButton/index.d.ts +1 -1
  129. package/components/OffsetWellButton/index.d.ts.map +1 -1
  130. package/components/OffsetWellChips/Chip.d.ts +19 -29
  131. package/components/OffsetWellChips/Chip.d.ts.map +1 -1
  132. package/components/OffsetWellChips/Chip.js +1 -1
  133. package/components/OffsetWellChips/ChipsContainer.d.ts +9 -11
  134. package/components/OffsetWellChips/ChipsContainer.d.ts.map +1 -1
  135. package/components/OffsetWellChips/ChipsContainer.js +1 -1
  136. package/components/OffsetWellChips/index.d.ts +2 -2
  137. package/components/OffsetWellChips/index.d.ts.map +1 -1
  138. package/components/OffsetWellChips/types.d.ts +17 -0
  139. package/components/OffsetWellChips/types.d.ts.map +1 -0
  140. package/components/OffsetWellChips/types.js +1 -0
  141. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  142. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  143. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  144. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +2 -2
  145. package/components/OffsetWellPickerV2/constants.d.ts +15 -2
  146. package/components/OffsetWellPickerV2/constants.d.ts.map +1 -1
  147. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  148. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  149. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts +1 -1
  150. package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts +15 -2
  151. package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts.map +1 -1
  152. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  153. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  154. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  155. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  156. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  157. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  158. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  159. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  160. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  161. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  162. package/components/OffsetWellPickerV4/constants.d.ts +15 -2
  163. package/components/OffsetWellPickerV4/constants.d.ts.map +1 -1
  164. package/components/ParameterCharts/AddEditTrack.d.ts +2 -2
  165. package/components/ParameterCharts/components/DataLoadingIndicator.d.ts +1 -1
  166. package/components/ParameterCharts/components/TrackSettings.d.ts +1 -1
  167. package/components/PostPreviewDialog/index.d.ts +5 -5
  168. package/components/RangeSlider/RangeSlider.d.ts +42 -34
  169. package/components/RangeSlider/RangeSlider.d.ts.map +1 -1
  170. package/components/RangeSlider/RangeSlider.js +1 -1
  171. package/components/ResizableTable/ResizableTable.d.ts +8 -10
  172. package/components/ResizableTable/ResizableTable.d.ts.map +1 -1
  173. package/components/ResizableTable/ResizableTable.js +1 -1
  174. package/components/ResizableTable/ResizableTableCell.d.ts +8 -7
  175. package/components/ResizableTable/ResizableTableCell.d.ts.map +1 -1
  176. package/components/ResizableTable/ResizableTableCell.js +1 -1
  177. package/components/ResizableTable/ResizableTableHeaderCell.d.ts +18 -15
  178. package/components/ResizableTable/ResizableTableHeaderCell.d.ts.map +1 -1
  179. package/components/ResizableTable/ResizableTableHeaderCell.js +1 -1
  180. package/components/ResizableTable/index.d.ts +1 -1
  181. package/components/ResizableTable/index.d.ts.map +1 -1
  182. package/components/Search/Search.d.ts +68 -69
  183. package/components/Search/Search.d.ts.map +1 -1
  184. package/components/Search/Search.js +1 -1
  185. package/components/Search/styles.d.ts +1 -1
  186. package/components/Search/styles.d.ts.map +1 -1
  187. package/components/Select/index.d.ts +44 -24
  188. package/components/Select/index.d.ts.map +1 -1
  189. package/components/Select/index.js +1 -1
  190. package/components/SettingEditors/ColorEditor/index.d.ts +82 -45
  191. package/components/SettingEditors/ColorEditor/index.d.ts.map +1 -1
  192. package/components/SettingEditors/ColorEditor/index.js +1 -1
  193. package/components/SettingEditors/DropdownEditor/index.d.ts +1 -1
  194. package/components/SettingEditors/RadioEditor/index.d.ts +25 -21
  195. package/components/SettingEditors/RadioEditor/index.d.ts.map +1 -1
  196. package/components/SettingEditors/RadioEditor/index.js +1 -1
  197. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts +1 -1
  198. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts.map +1 -1
  199. package/components/StageDesignVActual/ElementsComparison/utils.d.ts +4 -1
  200. package/components/StageDesignVActual/ElementsComparison/utils.d.ts.map +1 -1
  201. package/components/Stepper/Step.d.ts +37 -42
  202. package/components/Stepper/Step.d.ts.map +1 -1
  203. package/components/Stepper/Step.js +1 -1
  204. package/components/Stepper/Stepper.d.ts +29 -18
  205. package/components/Stepper/Stepper.d.ts.map +1 -1
  206. package/components/Stepper/Stepper.js +1 -1
  207. package/components/Stepper/StepsWrapper.d.ts +16 -14
  208. package/components/Stepper/StepsWrapper.d.ts.map +1 -1
  209. package/components/Stepper/StepsWrapper.js +1 -1
  210. package/components/SwitchControl/index.d.ts +6 -93
  211. package/components/SwitchControl/index.d.ts.map +1 -1
  212. package/components/Template/TemplateSharingDialog/ChipSelector.d.ts +1 -1
  213. package/components/TextField/index.d.ts +1 -1
  214. package/components/Typography.d.ts +16 -16
  215. package/components/UserMention/index.d.ts +1 -1
  216. package/constants/goals.d.ts +31 -4
  217. package/constants/goals.d.ts.map +1 -1
  218. package/constants/wellSummary.d.ts +14 -0
  219. package/constants/wellSummary.d.ts.map +1 -1
  220. package/hocs/withMUIProvidersHOC.d.ts +1 -1
  221. package/package.json +1 -1
  222. package/types.d.ts +1 -0
  223. package/utils/accuracy.d.ts +1 -1
  224. package/utils/accuracy.d.ts.map +1 -1
  225. package/utils/casing/conversion.d.ts +1 -1
  226. package/utils/casing/conversion.d.ts.map +1 -1
  227. package/utils/completion.d.ts +1 -1
  228. package/utils/completion.d.ts.map +1 -1
  229. package/utils/goals.d.ts +3 -3
  230. package/utils/goals.d.ts.map +1 -1
  231. package/utils/mapbox.d.ts +1 -1
@@ -1,56 +1,93 @@
1
- export function ColorEditor({ onChange, currentValue, defaultValue, classes, condensed, colors, lensColor, }: {
2
- onChange: any;
3
- currentValue: any;
4
- defaultValue: any;
5
- classes: any;
6
- condensed: any;
7
- colors: any;
8
- lensColor: any;
9
- }): JSX.Element;
10
- export namespace ColorEditor {
11
- namespace propTypes {
12
- const currentValue: PropTypes.Validator<string>;
13
- const defaultValue: PropTypes.Requireable<string>;
14
- const condensed: PropTypes.Requireable<boolean>;
15
- const onChange: PropTypes.Validator<(...args: any[]) => any>;
16
- const colors: PropTypes.Requireable<string[]>;
17
- const classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
18
- const lensColor: PropTypes.Requireable<string>;
19
- }
20
- namespace defaultProps {
21
- const condensed_1: boolean;
22
- export { condensed_1 as condensed };
23
- const colors_1: string[];
24
- export { colors_1 as colors };
25
- const defaultValue_1: string;
26
- export { defaultValue_1 as defaultValue };
27
- const lensColor_1: string;
28
- export { lensColor_1 as lensColor };
29
- }
30
- }
31
- declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
32
- onChange: any;
33
- currentValue: any;
34
- defaultValue: any;
35
- classes: any;
36
- condensed: any;
37
- colors: any;
38
- lensColor: any;
39
- }, never> & Pick<PropTypes.InferProps<{
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare type ColorEditorProps = PropTypes.InferProps<typeof colorEditorPropTypes>;
4
+ export declare const ColorEditor: {
5
+ ({ onChange, currentValue, defaultValue, classes, condensed, colors, lensColor, }: ColorEditorProps): JSX.Element;
6
+ propTypes: {
7
+ currentValue: PropTypes.Validator<string>;
8
+ defaultValue: PropTypes.Requireable<string>;
9
+ condensed: PropTypes.Requireable<boolean>;
10
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
11
+ colors: PropTypes.Requireable<string[]>;
12
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
13
+ button: PropTypes.Requireable<string>;
14
+ }>>>;
15
+ lensColor: PropTypes.Requireable<string>;
16
+ };
17
+ defaultProps: {
18
+ condensed: boolean;
19
+ colors: string[];
20
+ defaultValue: string;
21
+ lensColor: string;
22
+ };
23
+ };
24
+ declare const colorEditorPropTypes: {
40
25
  currentValue: PropTypes.Validator<string>;
41
26
  defaultValue: PropTypes.Requireable<string>;
42
27
  condensed: PropTypes.Requireable<boolean>;
43
28
  onChange: PropTypes.Validator<(...args: any[]) => any>;
44
29
  colors: PropTypes.Requireable<string[]>;
45
- classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
30
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
31
+ button: PropTypes.Requireable<string>;
32
+ }>>>;
46
33
  lensColor: PropTypes.Requireable<string>;
47
- }>, "classes" | "onChange" | "defaultValue" | "condensed" | "currentValue" | "colors" | "lensColor">, "classes" | "onChange" | "currentValue"> & {
34
+ };
35
+ declare const _default: import("react").ComponentType<Pick<Pick<Pick<PropTypes.InferPropsInner<Pick<{
36
+ currentValue: PropTypes.Validator<string>;
37
+ defaultValue: PropTypes.Requireable<string>;
38
+ condensed: PropTypes.Requireable<boolean>;
39
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
40
+ colors: PropTypes.Requireable<string[]>;
41
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
42
+ button: PropTypes.Requireable<string>;
43
+ }>>>;
44
+ lensColor: PropTypes.Requireable<string>;
45
+ }, never>> & Partial<PropTypes.InferPropsInner<Pick<{
46
+ currentValue: PropTypes.Validator<string>;
47
+ defaultValue: PropTypes.Requireable<string>;
48
+ condensed: PropTypes.Requireable<boolean>;
49
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
50
+ colors: PropTypes.Requireable<string[]>;
51
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
52
+ button: PropTypes.Requireable<string>;
53
+ }>>>;
54
+ lensColor: PropTypes.Requireable<string>;
55
+ }, "classes" | "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors">>>, "classes" | "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors"> & Pick<PropTypes.InferProps<{
56
+ currentValue: PropTypes.Validator<string>;
57
+ defaultValue: PropTypes.Requireable<string>;
58
+ condensed: PropTypes.Requireable<boolean>;
59
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
60
+ colors: PropTypes.Requireable<string[]>;
61
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
62
+ button: PropTypes.Requireable<string>;
63
+ }>>>;
64
+ lensColor: PropTypes.Requireable<string>;
65
+ }>, never> & Pick<PropTypes.InferPropsInner<Pick<{
66
+ currentValue: PropTypes.Validator<string>;
67
+ defaultValue: PropTypes.Requireable<string>;
68
+ condensed: PropTypes.Requireable<boolean>;
69
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
70
+ colors: PropTypes.Requireable<string[]>;
71
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
72
+ button: PropTypes.Requireable<string>;
73
+ }>>>;
74
+ lensColor: PropTypes.Requireable<string>;
75
+ }, never>> & Partial<PropTypes.InferPropsInner<Pick<{
76
+ currentValue: PropTypes.Validator<string>;
77
+ defaultValue: PropTypes.Requireable<string>;
78
+ condensed: PropTypes.Requireable<boolean>;
79
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
80
+ colors: PropTypes.Requireable<string[]>;
81
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
82
+ button: PropTypes.Requireable<string>;
83
+ }>>>;
84
+ lensColor: PropTypes.Requireable<string>;
85
+ }, "classes" | "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors">>>, never>, "classes" | "onChange" | "currentValue"> & {
48
86
  defaultValue?: string;
49
87
  condensed?: boolean;
50
- colors?: string[];
51
88
  lensColor?: string;
52
- } & {}, "onChange" | "defaultValue" | "condensed" | "currentValue" | "colors" | "lensColor"> & import("@material-ui/core").StyledComponentProps<"button">>;
89
+ colors?: string[];
90
+ } & {}, "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors"> & import("@material-ui/core").StyledComponentProps<"button">>;
53
91
  export default _default;
54
- export function colorEditorForDefinitions(colors: any, defaultValue: any): (props: any) => JSX.Element;
55
- import PropTypes from "prop-types";
92
+ export declare const colorEditorForDefinitions: (colors: any, defaultValue: any) => (props: any) => JSX.Element;
56
93
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/ColorEditor/index.js"],"names":[],"mappings":"AAeO;;;;;;;;gBAiEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBM,uGAEN"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/ColorEditor/index.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAcnC,aAAK,gBAAgB,GAAG,SAAS,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE1E,eAAO,MAAM,WAAW;uFAQrB,gBAAgB,GAAG,WAAW;;;;;;;;;;;;;;;;;;CAyDhC,CAAC;AAEF,QAAA,MAAM,oBAAoB;;;;;;;;;;CAUzB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWF,wBAAkD;AAElD,eAAO,MAAM,yBAAyB,iEAErC,CAAC"}
@@ -1 +1 @@
1
- import"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/slicedToArray";import{useState as r}from"react";import e from"prop-types";import{GithubPicker as n,ChromePicker as t}from"react-color";import{withStyles as i,Button as l,ClickAwayListener as a}from"@material-ui/core";import s from"@material-ui/icons/ColorLens";import c from"./style.css.js";import{jsxs as u,jsx as m}from"react/jsx-runtime";var d=function(e){var i=e.onChange,d=e.currentValue,f=e.defaultValue,p=e.classes,h=e.condensed,C=e.colors,g=e.lensColor,y=r(!1),b=o(y,2),v=b[0],F=b[1],V=r(d||f),k=o(V,2),x=k[0],E=k[1],q=function(){return i(x)};return u("div",{className:c.colorEditor,children:[m(l,{variant:"contained",color:"primary",onClick:function(){return F(!0)},className:p.button,style:{backgroundColor:x,color:g},children:m(s,{})}),v&&m(a,{mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:function(){F(!1),q()},children:m("div",{className:c.colorEditorPickerContainer,children:h?m(n,{color:x,onChange:function(o){E(o.hex),F(!1),q()},colors:C,triangle:"hide"}):m(t,{color:x,onChange:function(o){E(o.hex),q()}})})})]})};d.propTypes={currentValue:e.string.isRequired,defaultValue:e.string,condensed:e.bool,onChange:e.func.isRequired,colors:e.arrayOf(e.string),classes:e.shape({}).isRequired,lensColor:e.string},d.defaultProps={condensed:!1,colors:["#FF0000","#00FF00","#0000FF"],defaultValue:"#FF0000",lensColor:"#fff"};var f=i({button:{marginBottom:16}})(d);export{d as ColorEditor,f as default};
1
+ import{__assign as o}from"../../../_virtual/_tslib.js";import{jsxs as r,jsx as e}from"react/jsx-runtime";import{useState as n}from"react";import t from"prop-types";import{GithubPicker as i,ChromePicker as l}from"react-color";import{withStyles as a,Button as s,ClickAwayListener as c}from"@material-ui/core";import u from"@material-ui/icons/ColorLens";import m from"./style.css.js";var d=function(t){var a=t.onChange,d=t.currentValue,f=t.defaultValue,p=t.classes,h=t.condensed,g=t.colors,C=t.lensColor,v=n(!1),F=v[0],y=v[1],b=n(d||f),V=b[0],k=b[1],x=function(){return a(V)};return r("div",o({className:m.colorEditor},{children:[e(s,o({variant:"contained",color:"primary",onClick:function(){return y(!0)},className:p.button,style:{backgroundColor:V,color:C}},{children:e(u,{})})),F&&e(c,o({mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:function(){y(!1),x()}},{children:e("div",o({className:m.colorEditorPickerContainer},{children:h?e(i,{color:V,onChange:function(o){k(o.hex),y(!1),x()},colors:g,triangle:"hide"}):e(l,{color:V,onChange:function(o){k(o.hex),x()}})}))}))]}))},f={currentValue:t.string.isRequired,defaultValue:t.string,condensed:t.bool,onChange:t.func.isRequired,colors:t.arrayOf(t.string),classes:t.shape({button:t.string}).isRequired,lensColor:t.string};d.propTypes=f,d.defaultProps={condensed:!1,colors:["#FF0000","#00FF00","#0000FF"],defaultValue:"#FF0000",lensColor:"#fff"};var p=a({button:{marginBottom:16}})(d);export{d as ColorEditor,p as default};
@@ -35,6 +35,6 @@ declare const StyledDropdownEditor: import("react").ComponentType<Pick<Pick<Pick
35
35
  currentValue?: NonNullable<string | number | any[]>;
36
36
  errorText?: string;
37
37
  renderValue?: (...args: any[]) => any;
38
- } & {}, "onChange" | "defaultValue" | "placeholder" | "disabled" | "multiple" | "options" | "currentValue" | "errorText" | "renderValue"> & import("@material-ui/core").StyledComponentProps<"selectMenu" | "menuItem" | "formControl" | "multipleMenuItem">>;
38
+ } & {}, "onChange" | "defaultValue" | "placeholder" | "disabled" | "multiple" | "options" | "currentValue" | "errorText" | "renderValue"> & import("@material-ui/core").StyledComponentProps<"selectMenu" | "formControl" | "menuItem" | "multipleMenuItem">>;
39
39
  import PropTypes from "prop-types";
40
40
  //# sourceMappingURL=index.d.ts.map
@@ -1,25 +1,29 @@
1
- export default RadioEditor;
2
- export function radioEditorForDefinitions(options: any, defaultValue: any): (props: any) => JSX.Element;
3
- declare function RadioEditor({ options, currentValue, defaultValue, onChange }: {
4
- options: any;
5
- currentValue: any;
6
- defaultValue: any;
7
- onChange: any;
8
- }): JSX.Element;
9
- declare namespace RadioEditor {
10
- namespace propTypes {
11
- const options: PropTypes.Validator<PropTypes.InferProps<{
1
+ import PropTypes from 'prop-types';
2
+ declare type RadioEditorProps = PropTypes.InferProps<typeof radioEditorPropTypes>;
3
+ declare const RadioEditor: {
4
+ ({ options, currentValue, defaultValue, onChange }: RadioEditorProps): JSX.Element;
5
+ propTypes: {
6
+ options: PropTypes.Validator<PropTypes.InferProps<{
12
7
  value: PropTypes.Requireable<string>;
13
8
  label: PropTypes.Requireable<string>;
14
9
  }>[]>;
15
- const defaultValue: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
16
- const currentValue: PropTypes.Requireable<NonNullable<string | number>>;
17
- const onChange: PropTypes.Validator<(...args: any[]) => any>;
18
- }
19
- namespace defaultProps {
20
- const currentValue_1: any;
21
- export { currentValue_1 as currentValue };
22
- }
23
- }
24
- import PropTypes from "prop-types";
10
+ defaultValue: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
11
+ currentValue: PropTypes.Requireable<NonNullable<string | number>>;
12
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
13
+ };
14
+ defaultProps: {
15
+ currentValue: any;
16
+ };
17
+ };
18
+ declare const radioEditorPropTypes: {
19
+ options: PropTypes.Validator<PropTypes.InferProps<{
20
+ value: PropTypes.Requireable<string>;
21
+ label: PropTypes.Requireable<string>;
22
+ }>[]>;
23
+ defaultValue: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
24
+ currentValue: PropTypes.Requireable<NonNullable<string | number>>;
25
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
26
+ };
27
+ export default RadioEditor;
28
+ export declare const radioEditorForDefinitions: (options: any, defaultValue: any) => (props: any) => JSX.Element;
25
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/RadioEditor/index.js"],"names":[],"mappings":";AAqCO,wGAEN;AAnCD;;;;;gBAgBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/RadioEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,aAAK,gBAAgB,GAAG,SAAS,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE1E,QAAA,MAAM,WAAW;wDAAuD,gBAAgB,GAAG,WAAW;;;;;;;;;;;;;CAgBrG,CAAC;AAEF,QAAA,MAAM,oBAAoB;;;;;;;;CAMzB,CAAA;AAQD,eAAe,WAAW,CAAC;AAG3B,eAAO,MAAM,yBAAyB,kEAErC,CAAC"}
@@ -1 +1 @@
1
- import"@babel/runtime/helpers/defineProperty";import e from"prop-types";import{FormControl as r,RadioGroup as n,FormControlLabel as o,Radio as i}from"@material-ui/core";import{jsx as a}from"react/jsx-runtime";var t=function(e){var t=e.options,u=e.currentValue,l=e.defaultValue,p=e.onChange,s=void 0===u?l:u;return a(r,{component:"fieldset",margin:"dense",fullWidth:!0,children:a(n,{"aria-label":"position",name:"radio_editor",row:!0,children:t.map((function(e){var r=e.value,n=e.label;return a(o,{onChange:function(){return p(r)},control:a(i,{color:"primary",checked:r===s}),label:n},r)}))})})};t.propTypes={options:e.arrayOf(e.shape({value:e.string,label:e.string})).isRequired,defaultValue:e.oneOfType([e.string,e.number]).isRequired,currentValue:e.oneOfType([e.string,e.number]),onChange:e.func.isRequired},t.defaultProps={currentValue:void 0};export{t as default};
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsx as r}from"react/jsx-runtime";import n from"prop-types";import{FormControl as o,RadioGroup as i,FormControlLabel as a,Radio as t}from"@material-ui/core";var u=function(n){var u=n.options,l=n.currentValue,p=n.defaultValue,s=n.onChange,d=void 0===l?p:l;return r(o,e({component:"fieldset",margin:"dense",fullWidth:!0},{children:r(i,e({"aria-label":"position",name:"radio_editor",row:!0},{children:u.map((function(e){var n=e.value,o=e.label;return r(a,{onChange:function(){return s(n)},control:r(t,{color:"primary",checked:n===d}),label:o},n)}))}))}))},l={options:n.arrayOf(n.shape({value:n.string,label:n.string})).isRequired,defaultValue:n.oneOfType([n.string,n.number]).isRequired,currentValue:n.oneOfType([n.string,n.number]),onChange:n.func.isRequired};u.propTypes=l,u.defaultProps={currentValue:void 0};export{u as default};
@@ -6,7 +6,7 @@ declare function ElementsComparison({ rowKey, summaries, sort, order, showBar, v
6
6
  order: any;
7
7
  showBar: any;
8
8
  viewMode: any;
9
- }): any;
9
+ }): JSX.Element[];
10
10
  declare namespace ElementsComparison {
11
11
  namespace propTypes {
12
12
  export { string as rowKey };
@@ -1 +1 @@
1
- {"version":3,"file":"ElementsComparison.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/ElementsComparison.js"],"names":[],"mappings":";AAQA;;;;;;;QAiCC"}
1
+ {"version":3,"file":"ElementsComparison.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/ElementsComparison.js"],"names":[],"mappings":";AAQA;;;;;;;kBAiCC"}
@@ -3,5 +3,8 @@ export function getElementInfo({ designElements, actualElements, rowKey, predict
3
3
  actualElements: any;
4
4
  rowKey: any;
5
5
  predictionSummary: any;
6
- }): any;
6
+ }): {
7
+ elemMax: number;
8
+ elemAmount: any[];
9
+ };
7
10
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/utils.js"],"names":[],"mappings":"AAQO;;;;;QAoDN"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/utils.js"],"names":[],"mappings":"AAQO;;;;;;;;EAoDN"}
@@ -1,45 +1,40 @@
1
- export default Step;
2
- declare function Step({ value, checked, active, error, disabled, size, canGoBack, label, className }: {
3
- value: any;
4
- checked: any;
5
- active: any;
6
- error: any;
7
- disabled: any;
8
- size: any;
9
- canGoBack: any;
10
- label: any;
11
- className: any;
12
- }): JSX.Element;
1
+ import PropTypes from 'prop-types';
2
+ interface StepProps extends PropTypes.InferProps<typeof stepPropTypes> {
3
+ }
4
+ declare function Step({ value, checked, active, error, disabled, size, canGoBack, label, className }: StepProps): JSX.Element;
13
5
  declare namespace Step {
14
- namespace propTypes {
15
- const value: PropTypes.Validator<number>;
16
- const label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
17
- const checked: PropTypes.Requireable<boolean>;
18
- const active: PropTypes.Requireable<boolean>;
19
- const error: PropTypes.Requireable<boolean>;
20
- const disabled: PropTypes.Requireable<boolean>;
21
- const size: PropTypes.Requireable<string>;
22
- const canGoBack: PropTypes.Requireable<boolean>;
23
- const className: PropTypes.Requireable<string>;
24
- }
25
- namespace defaultProps {
26
- const checked_1: boolean;
27
- export { checked_1 as checked };
28
- const active_1: boolean;
29
- export { active_1 as active };
30
- const error_1: boolean;
31
- export { error_1 as error };
32
- const disabled_1: boolean;
33
- export { disabled_1 as disabled };
34
- const size_1: string;
35
- export { size_1 as size };
36
- const canGoBack_1: boolean;
37
- export { canGoBack_1 as canGoBack };
38
- const label_1: string;
39
- export { label_1 as label };
40
- const className_1: string;
41
- export { className_1 as className };
42
- }
6
+ var propTypes: {
7
+ value: PropTypes.Validator<number>;
8
+ label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
9
+ checked: PropTypes.Requireable<boolean>;
10
+ active: PropTypes.Requireable<boolean>;
11
+ error: PropTypes.Requireable<boolean>;
12
+ disabled: PropTypes.Requireable<boolean>;
13
+ size: PropTypes.Requireable<string>;
14
+ canGoBack: PropTypes.Requireable<boolean>;
15
+ className: PropTypes.Requireable<string>;
16
+ };
17
+ var defaultProps: {
18
+ checked: boolean;
19
+ active: boolean;
20
+ error: boolean;
21
+ disabled: boolean;
22
+ size: string;
23
+ canGoBack: boolean;
24
+ label: string;
25
+ className: string;
26
+ };
43
27
  }
44
- import PropTypes from "prop-types";
28
+ declare const stepPropTypes: {
29
+ value: PropTypes.Validator<number>;
30
+ label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
31
+ checked: PropTypes.Requireable<boolean>;
32
+ active: PropTypes.Requireable<boolean>;
33
+ error: PropTypes.Requireable<boolean>;
34
+ disabled: PropTypes.Requireable<boolean>;
35
+ size: PropTypes.Requireable<string>;
36
+ canGoBack: PropTypes.Requireable<boolean>;
37
+ className: PropTypes.Requireable<string>;
38
+ };
39
+ export default Step;
45
40
  //# sourceMappingURL=Step.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Step.js"],"names":[],"mappings":";AAqBA;;;;;;;;;;gBAuBC"}
1
+ {"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Step.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAuBnC,UAAU,SAAU,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzE,iBAAS,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAuBpH;kBAvBQ,IAAI;;;;;;;;;;;;;;;;;;;;;;;AAyBb,QAAA,MAAM,aAAa;;;;;;;;;;CAUlB,CAAC;AAeF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- import e from"classnames";import r from"prop-types";import{SIZES as a}from"./constants.js";import s from"./Step.css.js";import{jsxs as i,jsx as o}from"react/jsx-runtime";var l=function(e){var r=e.size;return o("svg",{width:r,height:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o("path",{d:"M6.0001 10.7799L3.2201 7.9999L2.27344 8.9399L6.0001 12.6666L14.0001 4.66656L13.0601 3.72656L6.0001 10.7799Z",fill:"white"})})};function c(r){var c=r.value,t=r.checked,d=r.active,n=r.error,m=r.disabled,p=r.size,v=r.canGoBack,b=r.label,h=r.className;return i("div",{className:e(s.step,s[p],d&&s.active,n&&s.error,t&&!n&&s.checked,m&&s.disabled,h),children:[o("div",{className:s.stepCircle,children:!t||n||v?c:o(l,{size:p===a.large?24:16})}),b]})}c.propTypes={value:r.number.isRequired,label:r.node,checked:r.bool,active:r.bool,error:r.bool,disabled:r.bool,size:r.string,canGoBack:r.bool,className:r.string},c.defaultProps={checked:!1,active:!1,error:!1,disabled:!1,size:a.medium,canGoBack:!0,label:"",className:""};export{c as default};
1
+ import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as r,jsx as a}from"react/jsx-runtime";import s from"classnames";import i from"prop-types";import{SIZES as o}from"./constants.js";import l from"./Step.css.js";var t=function(r){var s=r.size;return a("svg",e({width:s,height:s,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:a("path",{d:"M6.0001 10.7799L3.2201 7.9999L2.27344 8.9399L6.0001 12.6666L14.0001 4.66656L13.0601 3.72656L6.0001 10.7799Z",fill:"white"})}))};function c(i){var c=i.value,d=i.checked,m=i.active,n=i.error,p=i.disabled,v=i.size,b=i.canGoBack,h=i.label,u=i.className;return r("div",e({className:s(l.step,l[v],m&&l.active,n&&l.error,d&&!n&&l.checked,p&&l.disabled,u)},{children:[a("div",e({className:l.stepCircle},{children:!d||n||b?c:a(t,{size:v===o.large?24:16})})),h]}))}var d={value:i.number.isRequired,label:i.node,checked:i.bool,active:i.bool,error:i.bool,disabled:i.bool,size:i.string,canGoBack:i.bool,className:i.string};c.propTypes=d,c.defaultProps={checked:!1,active:!1,error:!1,disabled:!1,size:o.medium,canGoBack:!0,label:"",className:""};export{c as default};
@@ -1,12 +1,10 @@
1
- export default Stepper;
2
- declare function Stepper({ steps, activeStep, size }: {
3
- steps: any;
4
- activeStep: any;
5
- size: any;
6
- }): JSX.Element;
1
+ import PropTypes from 'prop-types';
2
+ interface StepperProps extends PropTypes.InferProps<typeof stepperPropTypes> {
3
+ }
4
+ declare function Stepper({ steps, activeStep, size }: StepperProps): JSX.Element;
7
5
  declare namespace Stepper {
8
- namespace propTypes {
9
- const steps: PropTypes.Validator<PropTypes.InferProps<{
6
+ var propTypes: {
7
+ steps: PropTypes.Validator<PropTypes.InferProps<{
10
8
  value: PropTypes.Validator<number>;
11
9
  label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
10
  checked: PropTypes.Requireable<boolean>;
@@ -17,15 +15,28 @@ declare namespace Stepper {
17
15
  canGoBack: PropTypes.Requireable<boolean>;
18
16
  className: PropTypes.Requireable<string>;
19
17
  }>[]>;
20
- const activeStep: PropTypes.Requireable<number>;
21
- const size: PropTypes.Requireable<string>;
22
- }
23
- namespace defaultProps {
24
- const activeStep_1: any;
25
- export { activeStep_1 as activeStep };
26
- const size_1: string;
27
- export { size_1 as size };
28
- }
18
+ activeStep: PropTypes.Requireable<number>;
19
+ size: PropTypes.Requireable<string>;
20
+ };
21
+ var defaultProps: {
22
+ activeStep: any;
23
+ size: string;
24
+ };
29
25
  }
30
- import PropTypes from "prop-types";
26
+ declare const stepperPropTypes: {
27
+ steps: PropTypes.Validator<PropTypes.InferProps<{
28
+ value: PropTypes.Validator<number>;
29
+ label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
+ checked: PropTypes.Requireable<boolean>;
31
+ active: PropTypes.Requireable<boolean>;
32
+ error: PropTypes.Requireable<boolean>;
33
+ disabled: PropTypes.Requireable<boolean>;
34
+ size: PropTypes.Requireable<string>;
35
+ canGoBack: PropTypes.Requireable<boolean>;
36
+ className: PropTypes.Requireable<string>;
37
+ }>[]>;
38
+ activeStep: PropTypes.Requireable<number>;
39
+ size: PropTypes.Requireable<string>;
40
+ };
41
+ export default Stepper;
31
42
  //# sourceMappingURL=Stepper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.js"],"names":[],"mappings":";AAKA;;;;gBAgBC"}
1
+ {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,UAAU,YAAa,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAE/E,iBAAS,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAgBvE;kBAhBQ,OAAO;;;;;;;;;;;;;;;;;;;;;AAkBhB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;CAIrB,CAAC;AASF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import r from"prop-types";import t from"./Step.js";import o from"./StepsWrapper.js";import{SIZES as p}from"./constants.js";import{jsx as i}from"react/jsx-runtime";function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function c(r){var p=r.steps,c=r.activeStep,s=r.size;return i(o,{children:p.map((function(r){return i(t,function(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}({checked:r.value<c,active:r.value===c,size:s,disabled:r.disabled,canGoBack:r.canGoBack},r),r.value)}))})}c.propTypes={steps:r.arrayOf(r.shape(t.propTypes)).isRequired,activeStep:r.number,size:r.string},c.defaultProps={activeStep:void 0,size:p.medium};export{c as default};
1
+ import{__assign as e}from"../../_virtual/_tslib.js";import{jsx as r}from"react/jsx-runtime";import t from"prop-types";import p from"./Step.js";import i from"./StepsWrapper.js";import{SIZES as s}from"./constants.js";function a(t){var s=t.steps,a=t.activeStep,o=t.size;return r(i,{children:s.map((function(t){return r(p,e({checked:t.value<a,active:t.value===a,size:o,disabled:t.disabled,canGoBack:t.canGoBack},t),t.value)}))})}var o={steps:t.arrayOf(t.shape(p.propTypes)).isRequired,activeStep:t.number,size:t.string};a.propTypes=o,a.defaultProps={activeStep:void 0,size:s.medium};export{a as default};
@@ -1,17 +1,19 @@
1
- export default StepsWrapper;
2
- declare function StepsWrapper({ children, className }: {
3
- children: any;
4
- className: any;
5
- }): JSX.Element;
1
+ import PropTypes from 'prop-types';
2
+ interface StepsWrapperProps extends PropTypes.InferProps<typeof stepsWrapperPropTypes> {
3
+ }
4
+ declare function StepsWrapper({ children, className }: StepsWrapperProps): JSX.Element;
6
5
  declare namespace StepsWrapper {
7
- namespace propTypes {
8
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
9
- const className: PropTypes.Requireable<string>;
10
- }
11
- namespace defaultProps {
12
- const className_1: string;
13
- export { className_1 as className };
14
- }
6
+ var propTypes: {
7
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
+ className: PropTypes.Requireable<string>;
9
+ };
10
+ var defaultProps: {
11
+ className: string;
12
+ };
15
13
  }
16
- import PropTypes from "prop-types";
14
+ declare const stepsWrapperPropTypes: {
15
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
16
+ className: PropTypes.Requireable<string>;
17
+ };
18
+ export default StepsWrapper;
17
19
  //# sourceMappingURL=StepsWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/StepsWrapper.js"],"names":[],"mappings":";AAIA;;;gBAEC"}
1
+ {"version":3,"file":"StepsWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/StepsWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,UAAU,iBAAkB,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC;CAAG;AAEzF,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAE7E;kBAFQ,YAAY;;;;;;;;;AAIrB,QAAA,MAAM,qBAAqB;;;CAG1B,CAAC;AAQF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- import r from"prop-types";import e from"classnames";import s from"./StepsWrapper.css.js";import{jsx as a}from"react/jsx-runtime";function o(r){var o=r.children,p=r.className;return a("div",{className:e(s.container,p),children:o})}o.propTypes={children:r.node.isRequired,className:r.string},o.defaultProps={className:""};export{o as default};
1
+ import{__assign as r}from"../../_virtual/_tslib.js";import{jsx as s}from"react/jsx-runtime";import e from"prop-types";import a from"classnames";import t from"./StepsWrapper.css.js";function i(e){var i=e.children,o=e.className;return s("div",r({className:a(t.container,o)},{children:i}))}var o={children:e.node.isRequired,className:e.string};i.propTypes=o,i.defaultProps={className:""};export{i as default};
@@ -1,6 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import PropTypes from 'prop-types';
3
- export declare const SwitchControlComponent: import("react").ForwardRefExoticComponent<PropTypes.InferPropsInner<Pick<{
3
+ interface SwitchControlComponentProps extends PropTypes.InferProps<typeof switchControlPropTypes> {
4
+ }
5
+ export declare const SwitchControlComponent: import("react").ForwardRefExoticComponent<SwitchControlComponentProps & import("react").RefAttributes<unknown>>;
6
+ declare const switchControlPropTypes: {
4
7
  title: PropTypes.Requireable<string>;
5
8
  leftLabel: PropTypes.Requireable<string>;
6
9
  rightLabel: PropTypes.Requireable<string>;
@@ -30,97 +33,7 @@ export declare const SwitchControlComponent: import("react").ForwardRefExoticCom
30
33
  rightLabelTooltip: PropTypes.Requireable<string>;
31
34
  leftLabelTooltip: PropTypes.Requireable<string>;
32
35
  'data-testid': PropTypes.Requireable<string>;
33
- }, never>> & Partial<PropTypes.InferPropsInner<Pick<{
34
- title: PropTypes.Requireable<string>;
35
- leftLabel: PropTypes.Requireable<string>;
36
- rightLabel: PropTypes.Requireable<string>;
37
- checked: PropTypes.Validator<boolean>;
38
- onChange: PropTypes.Validator<(...args: any[]) => any>;
39
- disabled: PropTypes.Requireable<boolean>;
40
- classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
41
- label: PropTypes.Requireable<string>;
42
- labelSmall: PropTypes.Requireable<string>;
43
- activeLabel: PropTypes.Requireable<string>;
44
- disabledLabel: PropTypes.Requireable<string>;
45
- root: PropTypes.Requireable<string>;
46
- switchBase: PropTypes.Requireable<string>;
47
- switchBaseDisabledNoLabels: PropTypes.Requireable<string>;
48
- switchBaseDisabled: PropTypes.Requireable<string>;
49
- track: PropTypes.Requireable<string>;
50
- trackDisabledNoLabels: PropTypes.Requireable<string>;
51
- trackDisabled: PropTypes.Requireable<string>;
52
- }>>>;
53
- size: PropTypes.Requireable<string>;
54
- className: PropTypes.Requireable<string>;
55
- customClasses: PropTypes.Requireable<PropTypes.InferProps<{
56
- root: PropTypes.Requireable<string>;
57
- track: PropTypes.Requireable<string>;
58
- switchBase: PropTypes.Requireable<string>;
59
- }>>;
60
- rightLabelTooltip: PropTypes.Requireable<string>;
61
- leftLabelTooltip: PropTypes.Requireable<string>;
62
- 'data-testid': PropTypes.Requireable<string>;
63
- }, "title" | "size" | "className" | "classes" | "onChange" | "disabled" | "checked" | "data-testid" | "leftLabel" | "rightLabel" | "customClasses" | "rightLabelTooltip" | "leftLabelTooltip">>> & import("react").RefAttributes<unknown>>;
64
- declare const _default: import("react").ComponentType<Pick<PropTypes.InferPropsInner<Pick<{
65
- title: PropTypes.Requireable<string>;
66
- leftLabel: PropTypes.Requireable<string>;
67
- rightLabel: PropTypes.Requireable<string>;
68
- checked: PropTypes.Validator<boolean>;
69
- onChange: PropTypes.Validator<(...args: any[]) => any>;
70
- disabled: PropTypes.Requireable<boolean>;
71
- classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
72
- label: PropTypes.Requireable<string>;
73
- labelSmall: PropTypes.Requireable<string>;
74
- activeLabel: PropTypes.Requireable<string>;
75
- disabledLabel: PropTypes.Requireable<string>;
76
- root: PropTypes.Requireable<string>;
77
- switchBase: PropTypes.Requireable<string>;
78
- switchBaseDisabledNoLabels: PropTypes.Requireable<string>;
79
- switchBaseDisabled: PropTypes.Requireable<string>;
80
- track: PropTypes.Requireable<string>;
81
- trackDisabledNoLabels: PropTypes.Requireable<string>;
82
- trackDisabled: PropTypes.Requireable<string>;
83
- }>>>;
84
- size: PropTypes.Requireable<string>;
85
- className: PropTypes.Requireable<string>;
86
- customClasses: PropTypes.Requireable<PropTypes.InferProps<{
87
- root: PropTypes.Requireable<string>;
88
- track: PropTypes.Requireable<string>;
89
- switchBase: PropTypes.Requireable<string>;
90
- }>>;
91
- rightLabelTooltip: PropTypes.Requireable<string>;
92
- leftLabelTooltip: PropTypes.Requireable<string>;
93
- 'data-testid': PropTypes.Requireable<string>;
94
- }, never>> & Partial<PropTypes.InferPropsInner<Pick<{
95
- title: PropTypes.Requireable<string>;
96
- leftLabel: PropTypes.Requireable<string>;
97
- rightLabel: PropTypes.Requireable<string>;
98
- checked: PropTypes.Validator<boolean>;
99
- onChange: PropTypes.Validator<(...args: any[]) => any>;
100
- disabled: PropTypes.Requireable<boolean>;
101
- classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
102
- label: PropTypes.Requireable<string>;
103
- labelSmall: PropTypes.Requireable<string>;
104
- activeLabel: PropTypes.Requireable<string>;
105
- disabledLabel: PropTypes.Requireable<string>;
106
- root: PropTypes.Requireable<string>;
107
- switchBase: PropTypes.Requireable<string>;
108
- switchBaseDisabledNoLabels: PropTypes.Requireable<string>;
109
- switchBaseDisabled: PropTypes.Requireable<string>;
110
- track: PropTypes.Requireable<string>;
111
- trackDisabledNoLabels: PropTypes.Requireable<string>;
112
- trackDisabled: PropTypes.Requireable<string>;
113
- }>>>;
114
- size: PropTypes.Requireable<string>;
115
- className: PropTypes.Requireable<string>;
116
- customClasses: PropTypes.Requireable<PropTypes.InferProps<{
117
- root: PropTypes.Requireable<string>;
118
- track: PropTypes.Requireable<string>;
119
- switchBase: PropTypes.Requireable<string>;
120
- }>>;
121
- rightLabelTooltip: PropTypes.Requireable<string>;
122
- leftLabelTooltip: PropTypes.Requireable<string>;
123
- 'data-testid': PropTypes.Requireable<string>;
124
- }, "title" | "size" | "className" | "classes" | "onChange" | "disabled" | "checked" | "data-testid" | "leftLabel" | "rightLabel" | "customClasses" | "rightLabelTooltip" | "leftLabelTooltip">>> & import("react").RefAttributes<unknown>, "title" | "size" | "className" | "onChange" | "disabled" | "checked" | "data-testid" | "leftLabel" | "rightLabel" | "customClasses" | "rightLabelTooltip" | "leftLabelTooltip" | keyof import("react").RefAttributes<unknown>> & import("@material-ui/core").StyledComponentProps<"label" | "track" | "root" | "labelSmall" | "activeLabel" | "disabledLabel" | "switchBase" | "switchBaseDisabledNoLabels" | "switchBaseDisabled" | "trackDisabledNoLabels" | "trackDisabled">>;
36
+ };
37
+ declare const _default: import("react").ComponentType<Pick<SwitchControlComponentProps & import("react").RefAttributes<unknown>, "title" | "size" | "className" | "onChange" | "disabled" | "checked" | "data-testid" | "rightLabel" | "leftLabel" | "customClasses" | "rightLabelTooltip" | "leftLabelTooltip" | keyof import("react").RefAttributes<unknown>> & import("@material-ui/core").StyledComponentProps<"label" | "track" | "root" | "labelSmall" | "activeLabel" | "disabledLabel" | "switchBase" | "switchBaseDisabledNoLabels" | "switchBaseDisabled" | "trackDisabledNoLabels" | "trackDisabled">>;
125
38
  export default _default;
126
39
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchControl/index.tsx"],"names":[],"mappings":";AAGA,OAAO,SAAS,MAAM,YAAY,CAAC;AAmEnC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0OAgGlC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDF,wBAA6D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchControl/index.tsx"],"names":[],"mappings":";AAGA,OAAO,SAAS,MAAM,YAAY,CAAC;AAiEnC,UAAU,2BAA4B,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC;CAAG;AAEpG,eAAO,MAAM,sBAAsB,iHAgGlC,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B3B,CAAC;;AAkBF,wBAA6D"}
@@ -26,7 +26,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
26
26
  listClasses?: string;
27
27
  hintText?: string;
28
28
  listTitle?: string;
29
- } & {}, "errorText" | "items" | "onAdd" | "selectedItems" | "allowAddNewItems" | "newItems" | "onRemove" | "onAddNew" | "onRemoveNew" | "chipFormatter" | "listItemFormatter" | "listClasses" | "hintText" | "listTitle"> & import("@material-ui/core").StyledComponentProps<"listStyle" | "formControl" | "inputRoot">>;
29
+ } & {}, "items" | "errorText" | "onAdd" | "selectedItems" | "allowAddNewItems" | "newItems" | "onRemove" | "onAddNew" | "onRemoveNew" | "chipFormatter" | "listItemFormatter" | "listClasses" | "hintText" | "listTitle"> & import("@material-ui/core").StyledComponentProps<"listStyle" | "formControl" | "inputRoot">>;
30
30
  export default _default;
31
31
  import PropTypes from "prop-types";
32
32
  //# sourceMappingURL=ChipSelector.d.ts.map