@corva/ui 0.49.0-2 → 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.
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.d.ts +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +2 -2
- package/components/Annotations/components/AnnotationsList/index.d.ts +3 -3
- package/components/AppVersionsSelect/AppVersionsSelect.d.ts +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.d.ts +4 -4
- package/components/AssetEditor/SingleAssetEditor.d.ts +2 -2
- package/components/Attachment/index.d.ts +2 -2
- package/components/Avatar/index.d.ts +81 -46
- package/components/Avatar/index.d.ts.map +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Chart/components/AxisDropdown.d.ts +11 -0
- package/components/Chart/components/AxisDropdown.d.ts.map +1 -0
- package/components/Chart/components/AxisDropdown.js +1 -0
- package/components/Chart/components/index.d.ts +1 -0
- package/components/Chart/options.d.ts +10 -2
- package/components/Chart/options.d.ts.map +1 -1
- package/components/Chart/tooltip.d.ts +2 -0
- package/components/Chart/tooltip.d.ts.map +1 -0
- package/components/CollapsableSidebar.d.ts +3 -3
- package/components/ColorPicker/ColorPicker.d.ts +2 -43
- package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/ColorPicker/index.d.ts +1 -1
- package/components/ColorPicker/index.d.ts.map +1 -1
- package/components/ColorPickerPalette/ColorPickerPalette.d.ts +2 -17
- package/components/ColorPickerPalette/ColorPickerPalette.d.ts.map +1 -1
- package/components/Comment/CommentIcon/index.d.ts +2 -1
- package/components/Comment/CommentIcon/index.d.ts.map +1 -1
- package/components/Comment/index.d.ts +3 -3
- package/components/CommentInput/index.d.ts +5 -5
- package/components/CommentsInfo/index.d.ts +3 -3
- package/components/ConfirmationDialog.d.ts +3 -3
- package/components/Counter/index.d.ts +35 -24
- package/components/Counter/index.d.ts.map +1 -1
- package/components/Counter/index.js +1 -1
- package/components/DateTimePicker/index.d.ts +14 -21
- package/components/DateTimePicker/index.d.ts.map +1 -1
- package/components/DateTimePicker/index.js +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts +31 -25
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts.map +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/components/DevCenter/AppSettingsPopover/index.d.ts +1 -1
- package/components/DevCenter/AppSettingsPopover/index.d.ts.map +1 -1
- package/components/DevCenter/AppSideBar/AppSideBar.d.ts +58 -66
- package/components/DevCenter/AppSideBar/AppSideBar.d.ts.map +1 -1
- package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts +2 -2
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/sharedStyles.d.ts +1 -1
- package/components/EditableItem/EditableItem/index.d.ts +33 -37
- package/components/EditableItem/EditableItem/index.d.ts.map +1 -1
- package/components/EditableItem/EditableItem/index.js +1 -1
- package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts +1 -1
- package/components/EmbeddedApp/EmbeddedApp.d.ts +1 -1
- package/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/components/FeedItem/FeedItem.d.ts +2 -2
- package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts +20 -2
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts +1 -1
- package/components/FilePreview/index.d.ts +1 -1
- package/components/FilesLoader/FilesLoader.d.ts +49 -58
- package/components/FilesLoader/FilesLoader.d.ts.map +1 -1
- package/components/FilesLoader/FilesLoader.js +1 -1
- package/components/FilesLoader/Icons/IconWarning.d.ts +1 -1
- package/components/FilesLoader/Icons/IconWarning.js +1 -1
- package/components/FilesLoader/index.d.ts +2 -2
- package/components/FilesLoader/index.d.ts.map +1 -1
- package/components/FilesLoader/useStyles.d.ts +1 -1
- package/components/FilesLoader/useStyles.d.ts.map +1 -1
- package/components/FilesLoader/useStyles.js +1 -1
- package/components/IconButton/index.d.ts +33 -10
- package/components/IconButton/index.d.ts.map +1 -1
- package/components/IconButton/index.js +1 -1
- package/components/IconMenu/index.d.ts +4 -4
- package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts +14 -17
- package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/FullScreenLoadingIndicator.js +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.d.ts +14 -17
- package/components/LoadingIndicator/InlineLoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.js +1 -1
- package/components/LoadingIndicator/Loader.d.ts +14 -15
- package/components/LoadingIndicator/Loader.d.ts.map +1 -1
- package/components/LoadingIndicator/Loader.js +1 -1
- package/components/LoadingIndicator/LoadingIndicator.d.ts +18 -26
- package/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/LoadingIndicator.js +1 -1
- package/components/LoadingIndicator/types.d.ts +25 -0
- package/components/LoadingIndicator/types.d.ts.map +1 -0
- package/components/LoadingIndicator/types.js +1 -0
- package/components/Modal/CorvaModal.d.ts +60 -69
- package/components/Modal/CorvaModal.d.ts.map +1 -1
- package/components/Modal/CorvaModal.js +1 -1
- package/components/Modal/Modal.d.ts +2 -1
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/Modal.js +1 -1
- package/components/Modal/index.d.ts +1 -1
- package/components/Modal/index.d.ts.map +1 -1
- package/components/Notifications/components/Toast.d.ts +1 -1
- package/components/OffsetWellButton/OffsetWellButton.d.ts +29 -28
- package/components/OffsetWellButton/OffsetWellButton.d.ts.map +1 -1
- package/components/OffsetWellButton/OffsetWellButton.js +1 -1
- package/components/OffsetWellButton/index.d.ts +1 -1
- package/components/OffsetWellButton/index.d.ts.map +1 -1
- package/components/OffsetWellChips/Chip.d.ts +19 -29
- package/components/OffsetWellChips/Chip.d.ts.map +1 -1
- package/components/OffsetWellChips/Chip.js +1 -1
- package/components/OffsetWellChips/ChipsContainer.d.ts +9 -11
- package/components/OffsetWellChips/ChipsContainer.d.ts.map +1 -1
- package/components/OffsetWellChips/ChipsContainer.js +1 -1
- package/components/OffsetWellChips/index.d.ts +2 -2
- package/components/OffsetWellChips/index.d.ts.map +1 -1
- package/components/OffsetWellChips/types.d.ts +17 -0
- package/components/OffsetWellChips/types.d.ts.map +1 -0
- package/components/OffsetWellChips/types.js +1 -0
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +2 -2
- package/components/OffsetWellPickerV2/constants.d.ts +15 -2
- package/components/OffsetWellPickerV2/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts +15 -2
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/OffsetWellPickerV4/constants.d.ts +15 -2
- package/components/OffsetWellPickerV4/constants.d.ts.map +1 -1
- package/components/ParameterCharts/AddEditTrack.d.ts +2 -2
- package/components/ParameterCharts/components/DataLoadingIndicator.d.ts +1 -1
- package/components/ParameterCharts/components/TrackSettings.d.ts +1 -1
- package/components/PostPreviewDialog/index.d.ts +5 -5
- package/components/RangeSlider/RangeSlider.d.ts +42 -34
- package/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/components/RangeSlider/RangeSlider.js +1 -1
- package/components/ResizableTable/ResizableTable.d.ts +8 -10
- package/components/ResizableTable/ResizableTable.d.ts.map +1 -1
- package/components/ResizableTable/ResizableTable.js +1 -1
- package/components/ResizableTable/ResizableTableCell.d.ts +8 -7
- package/components/ResizableTable/ResizableTableCell.d.ts.map +1 -1
- package/components/ResizableTable/ResizableTableCell.js +1 -1
- package/components/ResizableTable/ResizableTableHeaderCell.d.ts +18 -15
- package/components/ResizableTable/ResizableTableHeaderCell.d.ts.map +1 -1
- package/components/ResizableTable/ResizableTableHeaderCell.js +1 -1
- package/components/ResizableTable/index.d.ts +1 -1
- package/components/ResizableTable/index.d.ts.map +1 -1
- package/components/Search/Search.d.ts +68 -69
- package/components/Search/Search.d.ts.map +1 -1
- package/components/Search/Search.js +1 -1
- package/components/Search/styles.d.ts +1 -1
- package/components/Search/styles.d.ts.map +1 -1
- package/components/Select/index.d.ts +44 -24
- package/components/Select/index.d.ts.map +1 -1
- package/components/Select/index.js +1 -1
- package/components/SettingEditors/ColorEditor/index.d.ts +82 -45
- package/components/SettingEditors/ColorEditor/index.d.ts.map +1 -1
- package/components/SettingEditors/ColorEditor/index.js +1 -1
- package/components/SettingEditors/DropdownEditor/index.d.ts +1 -1
- package/components/SettingEditors/RadioEditor/index.d.ts +25 -21
- package/components/SettingEditors/RadioEditor/index.d.ts.map +1 -1
- package/components/SettingEditors/RadioEditor/index.js +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts.map +1 -1
- package/components/StageDesignVActual/ElementsComparison/utils.d.ts +4 -1
- package/components/StageDesignVActual/ElementsComparison/utils.d.ts.map +1 -1
- package/components/Stepper/Step.d.ts +37 -42
- package/components/Stepper/Step.d.ts.map +1 -1
- package/components/Stepper/Step.js +1 -1
- package/components/Stepper/Stepper.d.ts +29 -18
- package/components/Stepper/Stepper.d.ts.map +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepsWrapper.d.ts +16 -14
- package/components/Stepper/StepsWrapper.d.ts.map +1 -1
- package/components/Stepper/StepsWrapper.js +1 -1
- package/components/SwitchControl/index.d.ts +6 -93
- package/components/SwitchControl/index.d.ts.map +1 -1
- package/components/Template/TemplateSharingDialog/ChipSelector.d.ts +1 -1
- package/components/TextField/index.d.ts +1 -1
- package/components/Typography.d.ts +16 -16
- package/components/UserMention/index.d.ts +1 -1
- package/components/index.d.ts +2 -1
- package/components/index.js +1 -1
- package/constants/goals.d.ts +31 -4
- package/constants/goals.d.ts.map +1 -1
- package/constants/wellSummary.d.ts +14 -0
- package/constants/wellSummary.d.ts.map +1 -1
- package/hocs/withMUIProvidersHOC.d.ts +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -0
- package/utils/accuracy.d.ts +1 -1
- package/utils/accuracy.d.ts.map +1 -1
- package/utils/casing/conversion.d.ts +1 -1
- package/utils/casing/conversion.d.ts.map +1 -1
- package/utils/completion.d.ts +1 -1
- package/utils/completion.d.ts.map +1 -1
- package/utils/goals.d.ts +3 -3
- package/utils/goals.d.ts.map +1 -1
- package/utils/mapbox.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{__assign as o}from"../../_virtual/_tslib.js";import{jsxs as e,jsx as r}from"react/jsx-runtime";import{useState as t,useRef as n,useEffect as a}from"react";import i from"prop-types";import{withStyles as l,InputLabel as c,IconButton as s,Popover as p}from"@material-ui/core";import{ColorLens as b}from"@material-ui/icons";import g from"chroma-js";import u from"classnames";import m from"./PaletteChromePicker/PaletteChromePicker.js";var f={rgba:function(o){return"rgba(".concat(o.rgb.r,", ").concat(o.rgb.g,", ").concat(o.rgb.b,", ").concat(o.rgb.a,")")},rgb:function(o){return"rgb(".concat(o.rgb.r,", ").concat(o.rgb.g,", ").concat(o.rgb.b,")")},hex:function(o){return o.hex},rgba_rgb:function(o){return 1===o.rgb.a?f.rgb(o):f.rgba(o)},rgba_hex:function(o){return 1===o.rgb.a?f.hex(o):f.rgba(o)}},h=function(i){var l,m,h,d=i.label,x=i.value,v=i.converter,C=i.onChange,L=i.buttonClassName,k=i.popoverAnchorOrigin,O=i.popoverTransformOrigin,P=i.labelPosition,T=i.hideLabel,y=i.pickerComponent,R=i.classes,z=i.lensColor,S=i.enableTransparencyPalette,I=t(null),N=I[0],_=I[1],j=t(x),w=j[0],B=j[1],D=n();a((function(){B(x)}),[x]);return e("div",o({className:u(R.root,(l={},l[R.topLabelRoot]="top"===P,l[R.rightLabelRoot]="right"===P,l))},{children:[!T&&r(c,o({className:u((m={},m[R.topLabel]="top"===P,m[R.rightLabel]="right"===P,m)),shrink:!0},{children:d})),r(s,o({"data-testid":"".concat("ColorPicker","_icon_").concat(d),className:u(R.button,L,(h={},h[R.buttonTransparrent]=0===g(w).alpha(),h)),disableRipple:!0,style:{backgroundColor:w,color:z},onClick:function(o){_(o.currentTarget)}},{children:r(b,{fontSize:"small",className:R.colorLensIcon})})),r(p,o({id:"colors-popper",action:D,open:Boolean(N),anchorEl:N,onClose:function(){_(null)},anchorOrigin:k,transformOrigin:O},{children:r(y,{color:w,onChange:function(o){var e=f[v](o);B(e),C(e)},onSizeChange:function(){D.current&&D.current.updatePosition()},enableTransparencyPalette:S})}))]}))},d=i.shape({vertical:i.oneOfType([i.oneOf(["top","center","bottom"]),i.number]),horizontal:i.oneOfType([i.oneOf(["left","center","right"]),i.number])}),x={buttonClassName:i.string,label:i.string,value:i.string.isRequired,onChange:i.func.isRequired,converter:i.oneOf(Object.keys(f)),classes:i.shape({button:i.string.isRequired,root:i.string,topLabelRoot:i.string,rightLabelRoot:i.string,topLabel:i.string,rightLabel:i.string,buttonTransparrent:i.string,colorLensIcon:i.string}).isRequired,pickerComponent:i.elementType,labelPosition:i.oneOf(["top","right"]),popoverAnchorOrigin:d,popoverTransformOrigin:d,hideLabel:i.bool,lensColor:i.string,enableTransparencyPalette:i.bool};h.propTypes=x,h.defaultProps={label:"Color",buttonClassName:null,converter:"rgba_hex",pickerComponent:m,hideLabel:!1,popoverAnchorOrigin:{vertical:"bottom",horizontal:"left"},popoverTransformOrigin:{vertical:"top",horizontal:"left"},labelPosition:"top",lensColor:"#fff",enableTransparencyPalette:!1};var v=l({root:{position:"relative",display:"flex"},topLabelRoot:{flexDirection:"column"},rightLabelRoot:{flexDirection:"row-reverse",justifyContent:"flex-end",alignItems:"center"},button:{width:"36px",height:"24px",boxShadow:"0px 3px 6px rgba(0, 0, 0, 0.161)",borderRadius:"5px"},buttonTransparrent:{position:"relative",backgroundImage:"url(".concat("/static/media/39f55985e0da1489ad22264208b0493d.svg",")"),backgroundSize:"cover",backgroundPosition:"center","&::before":{content:'""',position:"absolute",display:"block",width:"100%",height:"3px",background:"#FF0000",transform:"rotate(148deg)",borderRadius:"2px"}},colorLensIcon:{position:"relative",zIndex:2},popper:{zIndex:1500},topLabel:{marginBottom:"8px",fontSize:"15px",lineHeight:"17px",letterSpacing:"0.4px",color:"#BDBDBD",whiteSpace:"nowrap"},rightLabel:{marginLeft:"8px",fontSize:"16px"}})(h);export{v as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from './ColorPicker';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare type ColorPickerPaletteProps = {
|
|
4
|
-
color: string;
|
|
5
|
-
onChange: (convertedColor: string) => void;
|
|
6
|
-
handleClose: () => void;
|
|
7
|
-
anchorEl?: null | Element | ((element: Element) => Element);
|
|
8
|
-
converter?: string;
|
|
9
|
-
popoverAnchorOrigin?: PopoverOrigin;
|
|
10
|
-
popoverTransformOrigin?: PopoverOrigin;
|
|
11
|
-
pickerComponent?: ElementType;
|
|
12
|
-
classes?: {
|
|
13
|
-
root: string;
|
|
14
|
-
};
|
|
15
|
-
enableTransparencyPalette?: boolean;
|
|
16
|
-
};
|
|
17
|
-
declare const _default: import("react").ComponentType<Pick<ColorPickerPaletteProps, "color" | "onChange" | "anchorEl" | "handleClose" | "enableTransparencyPalette" | "converter" | "popoverAnchorOrigin" | "popoverTransformOrigin" | "pickerComponent"> & import("@material-ui/core").StyledComponentProps<"root" | "popper" | "rightLabel" | "topLabel">>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ComponentType<Pick<{}, never> & import("@material-ui/core").StyledComponentProps<"root" | "popper" | "topLabel" | "rightLabel">>;
|
|
18
3
|
export default _default;
|
|
19
4
|
//# sourceMappingURL=ColorPickerPalette.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPickerPalette.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPickerPalette/ColorPickerPalette.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorPickerPalette.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPickerPalette/ColorPickerPalette.tsx"],"names":[],"mappings":";;AAwFA,wBAoB6B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
|
|
2
|
+
interface CommentIconProps extends PropTypes.InferProps<typeof commentIconProps> {
|
|
3
|
+
}
|
|
3
4
|
declare const CommentIcon: {
|
|
4
5
|
({ displayName, imgSrc, size }: CommentIconProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Comment/CommentIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAiCnC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Comment/CommentIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAiCnC,UAAU,gBAAiB,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAEnF,QAAA,MAAM,WAAW;oCAAmC,gBAAgB,GAAG,WAAW;;;;;;;;;;;CAYjF,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;CAIrB,CAAC;AAUF,eAAe,WAAW,CAAC"}
|
|
@@ -10,15 +10,15 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
10
10
|
currentUser: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
|
|
11
11
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
12
12
|
isNative: PropTypes.Requireable<boolean>;
|
|
13
|
-
}>, "
|
|
13
|
+
}>, "comment" | "classes" | "handleDeleteCallback" | "patchCommentCallback"> & {
|
|
14
14
|
companyId?: number;
|
|
15
15
|
currentUser?: PropTypes.InferProps<PropTypes.ValidationMap<any>>;
|
|
16
|
-
isNative?: boolean;
|
|
17
16
|
handleEdit?: (...args: any[]) => any;
|
|
17
|
+
isNative?: boolean;
|
|
18
18
|
showOnMount?: boolean;
|
|
19
19
|
spaceAround?: boolean;
|
|
20
20
|
handleShowOnMount?: (...args: any[]) => any;
|
|
21
|
-
} & {}, "
|
|
21
|
+
} & {}, "comment" | "companyId" | "currentUser" | "handleDeleteCallback" | "patchCommentCallback" | "handleEdit" | "isNative" | "showOnMount" | "spaceAround" | "handleShowOnMount"> & import("@material-ui/core/styles").StyledComponentProps<"iconButtonRoot" | "commentWrapper" | "timeRoot" | "textRoot" | "userName">>;
|
|
22
22
|
export default _default;
|
|
23
23
|
import PropTypes from "prop-types";
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -28,21 +28,20 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
28
28
|
companyId: PropTypes.Requireable<number>;
|
|
29
29
|
parentId: PropTypes.Requireable<string>;
|
|
30
30
|
}>, "classes" | "postComment"> & {
|
|
31
|
+
companyId?: number;
|
|
31
32
|
autoFocus?: boolean;
|
|
32
33
|
disabled?: boolean;
|
|
33
|
-
companyId?: number;
|
|
34
|
-
currentUser?: PropTypes.InferProps<PropTypes.ValidationMap<any>>;
|
|
35
|
-
isNative?: boolean;
|
|
36
34
|
inputRef?: PropTypes.InferProps<{
|
|
37
35
|
current: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
36
|
focus: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
39
37
|
}>>;
|
|
40
38
|
}>;
|
|
39
|
+
currentUser?: PropTypes.InferProps<PropTypes.ValidationMap<any>>;
|
|
41
40
|
setIsPosting?: (...args: any[]) => any;
|
|
42
41
|
patchCommentCallback?: (...args: any[]) => any;
|
|
43
42
|
postCommentCallback?: (...args: any[]) => any;
|
|
44
43
|
onMount?: (...args: any[]) => any;
|
|
45
|
-
|
|
44
|
+
isNative?: boolean;
|
|
46
45
|
spaceAround?: boolean;
|
|
47
46
|
exitEditMode?: (...args: any[]) => any;
|
|
48
47
|
setIsEditting?: (...args: any[]) => any;
|
|
@@ -54,7 +53,8 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
54
53
|
file_name: PropTypes.Requireable<string>;
|
|
55
54
|
}>;
|
|
56
55
|
editComment?: string;
|
|
57
|
-
|
|
56
|
+
parentId?: string;
|
|
57
|
+
} & {}, "companyId" | "autoFocus" | "disabled" | "inputRef" | "currentUser" | "setIsPosting" | "patchCommentCallback" | "postComment" | "postCommentCallback" | "onMount" | "isNative" | "spaceAround" | "exitEditMode" | "setIsEditting" | "editFeedItemId" | "editCommentId" | "editAttachment" | "editComment" | "parentId"> & import("@material-ui/core").StyledComponentProps<"input" | "inputRoot" | "sendButton" | "inputAdornment" | "paperRoot" | "inputEl" | "additionalActionButton" | "nativeActionButton" | "fileUploadingError" | "inputMain" | "inputHelper" | "cancelText" | "highlightedLabel" | "iconTooltip">>;
|
|
58
58
|
export default _default;
|
|
59
59
|
import PropTypes from "prop-types";
|
|
60
60
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -20,15 +20,15 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
|
20
20
|
isNative: PropTypes.Requireable<boolean>;
|
|
21
21
|
small: PropTypes.Requireable<boolean>;
|
|
22
22
|
currentUser: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
23
|
-
}>, "small" | "classes" | "currentUser" | "
|
|
23
|
+
}>, "small" | "classes" | "currentUser" | "commentsCount" | "isNative" | "usersWhoCommented" | "activeUsersList" | "likesCount" | "usersWhoLike" | "onCommentsClick">, "classes" | "usersWhoCommented" | "activeUsersList"> & {
|
|
24
24
|
small?: boolean;
|
|
25
25
|
currentUser?: PropTypes.InferProps<{}>;
|
|
26
|
-
isNative?: boolean;
|
|
27
26
|
commentsCount?: number;
|
|
27
|
+
isNative?: boolean;
|
|
28
28
|
likesCount?: number;
|
|
29
29
|
usersWhoLike?: PropTypes.InferProps<{}>[];
|
|
30
30
|
onCommentsClick?: (...args: any[]) => any;
|
|
31
|
-
} & {}, "small" | "currentUser" | "
|
|
31
|
+
} & {}, "small" | "currentUser" | "commentsCount" | "isNative" | "usersWhoCommented" | "activeUsersList" | "likesCount" | "usersWhoLike" | "onCommentsClick"> & import("@material-ui/core").StyledComponentProps<"tooltip" | "avatarInList" | "reactionTypographyRoot">>;
|
|
32
32
|
export default _default;
|
|
33
33
|
import PropTypes from "prop-types";
|
|
34
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,14 +12,14 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
12
12
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
13
13
|
}>, "classes" | "text" | "open"> & {
|
|
14
14
|
title?: string;
|
|
15
|
-
isShowCancel?: boolean;
|
|
16
|
-
handleOk?: (...args: any[]) => any;
|
|
17
15
|
handleClose?: (...args: any[]) => any;
|
|
16
|
+
handleOk?: (...args: any[]) => any;
|
|
18
17
|
okText?: string;
|
|
18
|
+
isShowCancel?: boolean;
|
|
19
19
|
confirmation?: string;
|
|
20
20
|
confirmationText?: string;
|
|
21
21
|
disableOk?: boolean;
|
|
22
|
-
} & {}, "title" | "text" | "open" | "
|
|
22
|
+
} & {}, "title" | "text" | "open" | "handleClose" | "handleOk" | "okText" | "isShowCancel" | "confirmation" | "confirmationText" | "disableOk"> & import("@material-ui/core/styles").StyledComponentProps<"actionButton" | "confirmation">>;
|
|
23
23
|
export default _default;
|
|
24
24
|
import PropTypes from "prop-types";
|
|
25
25
|
//# sourceMappingURL=ConfirmationDialog.d.ts.map
|
|
@@ -1,26 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const classes: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
6
|
-
const size: PropTypes.Requireable<string>;
|
|
7
|
-
const limited: PropTypes.Requireable<boolean>;
|
|
8
|
-
const clickable: PropTypes.Requireable<boolean>;
|
|
9
|
-
const label: PropTypes.Validator<string>;
|
|
10
|
-
const tooltip: PropTypes.Requireable<string>;
|
|
11
|
-
}
|
|
12
|
-
namespace defaultProps {
|
|
13
|
-
const classes_1: {};
|
|
14
|
-
export { classes_1 as classes };
|
|
15
|
-
const size_1: string;
|
|
16
|
-
export { size_1 as size };
|
|
17
|
-
const limited_1: boolean;
|
|
18
|
-
export { limited_1 as limited };
|
|
19
|
-
const clickable_1: boolean;
|
|
20
|
-
export { clickable_1 as clickable };
|
|
21
|
-
const tooltip_1: string;
|
|
22
|
-
export { tooltip_1 as tooltip };
|
|
23
|
-
}
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { ChipProps as MuiChipProps } from '@material-ui/core';
|
|
3
|
+
interface CounterProps extends Omit<MuiChipProps, 'classes' | 'size' | 'label'>, PropTypes.InferProps<typeof counterPropTypes> {
|
|
4
|
+
size?: 'small' | 'medium' | 'large';
|
|
24
5
|
}
|
|
25
|
-
|
|
6
|
+
declare const Counter: {
|
|
7
|
+
(props: CounterProps): JSX.Element;
|
|
8
|
+
propTypes: {
|
|
9
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
10
|
+
root: PropTypes.Requireable<string>;
|
|
11
|
+
}>>;
|
|
12
|
+
size: PropTypes.Requireable<string>;
|
|
13
|
+
limited: PropTypes.Requireable<boolean>;
|
|
14
|
+
clickable: PropTypes.Requireable<boolean>;
|
|
15
|
+
label: PropTypes.Validator<string>;
|
|
16
|
+
tooltip: PropTypes.Requireable<string>;
|
|
17
|
+
};
|
|
18
|
+
defaultProps: {
|
|
19
|
+
classes: {};
|
|
20
|
+
size: string;
|
|
21
|
+
limited: boolean;
|
|
22
|
+
clickable: boolean;
|
|
23
|
+
tooltip: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const counterPropTypes: {
|
|
27
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
28
|
+
root: PropTypes.Requireable<string>;
|
|
29
|
+
}>>;
|
|
30
|
+
size: PropTypes.Requireable<string>;
|
|
31
|
+
limited: PropTypes.Requireable<boolean>;
|
|
32
|
+
clickable: PropTypes.Requireable<boolean>;
|
|
33
|
+
label: PropTypes.Validator<string>;
|
|
34
|
+
tooltip: PropTypes.Requireable<string>;
|
|
35
|
+
};
|
|
36
|
+
export default Counter;
|
|
26
37
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAuB,MAAM,mBAAmB,CAAC;AAkGpG,UAAU,YAAa,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC;IAC5H,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,QAAA,MAAM,OAAO;YAAW,YAAY,GAAG,WAAW;;;;;;;;;;;;;;;;;;CAwBjD,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;;;;;;CASrB,CAAC;AAYF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{__assign as i}from"../../_virtual/_tslib.js";import{jsx as t}from"react/jsx-runtime";import e from"prop-types";import o from"classnames";import{capitalize as p}from"lodash";import{makeStyles as r,Tooltip as l,Chip as a}from"@material-ui/core";import{Close as s}from"@material-ui/icons";var n=r((function(i){return{rootChip:{"&.MuiChip-root":{backgroundColor:i.palette.background.b9,color:i.palette.primary.text6,textAlign:"center","&:hover":{color:i.palette.primary.contrastText,"& .MuiSvgIcon-root":{color:i.palette.primary.contrastText}},"& span.MuiChip-label":{padding:0}}},tooltip:{marginTop:"10px"},closeIcon:{"&.MuiSvgIcon-root.MuiChip-deleteIcon":{width:16,height:16,left:18,top:4,margin:"0px 0px 0px 4px",color:i.palette.primary.text6}},sizeSmall:{"&.MuiChip-root":{minWidth:16,height:16,padding:"1px 2px","& span":{fontSize:"11px",lineHeight:"14px"}}},sizeSmallLimited:{"&.MuiChip-root":{padding:"1px 3px"}},sizeMedium:{"&.MuiChip-root":{minWidth:24,height:24,padding:"2px 4px","& span":{fontSize:"14px",lineHeight:"20px"}}},sizeMediumLimited:{"&.MuiChip-root":{padding:"2px 6px"}},sizeMediumClickable:{"&.MuiChip-root":{padding:"2px 6px"}},sizeLarge:{"&.MuiChip-root":{minWidth:32,height:32,padding:"5px 7px","& span":{fontSize:"16px",lineHeight:"22px"}}},sizeLargeLimited:{"&.MuiChip-root":{padding:"5px 8px"}},sizeLargeClickable:{"&.MuiChip-root":{padding:"5px 8px"}}}})),c=function(e){var r=e.classes,c=e.size,m=e.limited,d=e.clickable,x=e.tooltip,h=n();return t(l,i({title:x,classes:{tooltip:h.tooltip}},{children:t(a,i({},e,{classes:i(i({},r),{root:o(r.root,h.rootChip,h["size".concat(p(c))],m&&h["size".concat(p(c),"Limited")],d&&h["size".concat(p(c),"Clickable")])}),clickable:d,deleteIcon:t(s,{className:h.closeIcon,fontSize:"small"})}))}))},m={classes:e.shape({root:e.string}),size:e.oneOf(["small","medium","large"]),limited:e.bool,clickable:e.bool,label:e.string.isRequired,tooltip:e.string};c.propTypes=m,c.defaultProps={classes:{},size:"medium",limited:!1,clickable:!1,tooltip:""};export{c as default};
|
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
className: any;
|
|
5
|
-
PopoverProps: any;
|
|
6
|
-
format: any;
|
|
7
|
-
}): JSX.Element;
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { KeyboardDateTimePickerProps } from '@material-ui/pickers';
|
|
3
|
+
declare function DateTimePicker({ className, PopoverProps, format, ...otherProps }: KeyboardDateTimePickerProps): JSX.Element;
|
|
8
4
|
declare namespace DateTimePicker {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
var propTypes: {
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
PopoverProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
8
|
className: PropTypes.Requireable<string>;
|
|
13
9
|
}>>;
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export { DATE_TIME_FORMAT as format };
|
|
22
|
-
}
|
|
10
|
+
format: PropTypes.Requireable<string>;
|
|
11
|
+
};
|
|
12
|
+
var defaultProps: {
|
|
13
|
+
className: string;
|
|
14
|
+
PopoverProps: {};
|
|
15
|
+
format: string;
|
|
16
|
+
};
|
|
23
17
|
}
|
|
24
|
-
|
|
25
|
-
import { DATE_TIME_FORMAT } from "../../constants/dateTimeFormat";
|
|
18
|
+
export default DateTimePicker;
|
|
26
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,OAAO,EAA0B,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AA4B3F,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,EAAE,2BAA2B,GAAG,GAAG,CAAC,OAAO,CAepH;kBAfQ,cAAc;;;;;;;;;;;;;;AA+BvB,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r
|
|
1
|
+
import{__rest as o,__assign as r}from"../../_virtual/_tslib.js";import{jsx as t}from"react/jsx-runtime";import a from"classnames";import e from"prop-types";import m from"moment";import{KeyboardDateTimePicker as i}from"@material-ui/pickers";import{makeStyles as p}from"@material-ui/core";import{Event as s}from"@material-ui/icons";import{DATE_TIME_FORMAT as n}from"../../constants/dateTimeFormat.js";var c=p((function(o){return{dateTimePickerInput:{width:"100%",paddingBottom:8,"& .MuiFormLabel-root.Mui-focused":{color:o.palette.primary.main},"& .MuiInput-root.Mui-focused .MuiIconButton-root":{color:o.palette.primary.main},"& .MuiIconButton-root":{marginRight:-7,padding:7},"& .MuiSvgIcon-root":{fill:"".concat(o.palette.primary.text6," !important")}},paper:{marginTop:8}}}));function u(e){var p=e.className,n=e.PopoverProps,u=e.format,l=o(e,["className","PopoverProps","format"]),f=c();return t(i,r({dateRangeIcon:t(s,{}),keyboardIcon:t(s,{}),format:u,refuse:/[^(\w|\d)]+/gi,placeholder:m().format(u)},l,{PopoverProps:r({className:f.paper},n),className:a(f.dateTimePickerInput,p)}))}u.propTypes={className:e.string,PopoverProps:e.shape({className:e.string}),format:e.string},u.defaultProps={className:"",PopoverProps:{},format:n};export{u as default};
|
|
@@ -1,30 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
defaultScrollable: any;
|
|
7
|
-
maxHeight: any;
|
|
8
|
-
}): JSX.Element;
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { PopoverProps } from '@material-ui/core';
|
|
3
|
+
interface AppSettingsPopoverProps extends PopoverProps, PropTypes.InferProps<typeof appSettingsPopoverPropTypes> {
|
|
4
|
+
}
|
|
5
|
+
declare function AppSettingsPopover({ children, iconSettingsProps, defaultScrollable, maxHeight, ...popoverProps }: AppSettingsPopoverProps): JSX.Element;
|
|
9
6
|
declare namespace AppSettingsPopover {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const iconSettingsProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
7
|
+
var propTypes: {
|
|
8
|
+
iconSettingsProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
13
9
|
iconSize: PropTypes.Requireable<string>;
|
|
10
|
+
tooltipProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
11
|
+
title: PropTypes.Requireable<string>;
|
|
12
|
+
}>>;
|
|
14
13
|
}>>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const maxHeight_1: any;
|
|
26
|
-
export { maxHeight_1 as maxHeight };
|
|
27
|
-
}
|
|
14
|
+
defaultScrollable: PropTypes.Requireable<boolean>;
|
|
15
|
+
maxHeight: PropTypes.Requireable<number>;
|
|
16
|
+
};
|
|
17
|
+
var defaultProps: {
|
|
18
|
+
iconSettingsProps: {
|
|
19
|
+
iconSize: string;
|
|
20
|
+
};
|
|
21
|
+
defaultScrollable: boolean;
|
|
22
|
+
maxHeight: any;
|
|
23
|
+
};
|
|
28
24
|
}
|
|
29
|
-
|
|
25
|
+
declare const appSettingsPopoverPropTypes: {
|
|
26
|
+
iconSettingsProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
27
|
+
iconSize: PropTypes.Requireable<string>;
|
|
28
|
+
tooltipProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
29
|
+
title: PropTypes.Requireable<string>;
|
|
30
|
+
}>>;
|
|
31
|
+
}>>;
|
|
32
|
+
defaultScrollable: PropTypes.Requireable<boolean>;
|
|
33
|
+
maxHeight: PropTypes.Requireable<number>;
|
|
34
|
+
};
|
|
35
|
+
export default AppSettingsPopover;
|
|
30
36
|
//# sourceMappingURL=AppSettingsPopover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSettingsPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSettingsPopover/AppSettingsPopover.
|
|
1
|
+
{"version":3,"file":"AppSettingsPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSettingsPopover/AppSettingsPopover.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAuB,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAsDtE,UAAU,uBAAwB,SAAQ,YAAY,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC;CAAG;AAEnH,iBAAS,kBAAkB,CAAC,EAC1B,QAAQ,EACR,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,GAAG,YAAY,EAChB,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CA8DvC;kBApEQ,kBAAkB;;;;;;;;;;;;;;;;;;;AAsE3B,QAAA,MAAM,2BAA2B;;;;;;;;;CAIhC,CAAC;AAUF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"
|
|
1
|
+
import{__rest as e,__assign as o}from"../../../_virtual/_tslib.js";import{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import{useState as l}from"react";import n from"prop-types";import a from"classnames";import{makeStyles as c,Popover as p}from"@material-ui/core";import{Settings as s,Close as d}from"@material-ui/icons";import h from"../../IconButton/index.js";var g=c((function(e){return{popoverPaper:{minWidth:286,width:286,overflowY:"hidden",backgroundColor:e.palette.background.b9,maxHeight:function(e){var o=e.maxHeight;return o?o-24:"calc(100% - 24px)"},"&.scrollable":{height:function(e){return e.maxHeight||"100%"}}},popoverHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",height:76,padding:"24px 16px 16px 16px",position:"absolute",left:0,right:0,zIndex:1,"&.scrollable":{background:"linear-gradient(to bottom, ".concat(e.palette.background.b9,", ").concat(e.palette.background.b9," 79%, rgba(65, 65, 65, 0) 100%)")}},headerTitle:{fontSize:20},popoverContentContainer:{marginTop:60,paddingTop:16,overflowX:"hidden",overflowY:"auto","&.scrollable":{height:"calc(100% - 60px)"}},popoverContent:{width:"100%"},shadow:{position:"absolute",bottom:0,width:"100%",height:16,background:"linear-gradient(180deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)")}}}));function m(n){var c,m=n.children,u=n.iconSettingsProps,b=n.defaultScrollable,f=n.maxHeight,v=e(n,["children","iconSettingsProps","defaultScrollable","maxHeight"]),x=g({maxHeight:f}),C=l(null),H=C[0],S=C[1],k=l(!0),w=k[0],P=k[1],T=function(){S(null)},z=Boolean(H);return t(r,{children:[i(h,o({onClick:function(e){return S(e.currentTarget)}},u,{children:i(s,{})})),t(p,o({open:z,anchorEl:H,onClose:T,anchorOrigin:{vertical:w?"top":"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},marginThreshold:12},v,{classes:o(o({},null==v?void 0:v.classes),{paper:a(x.popoverPaper,w&&"scrollable",null===(c=null==v?void 0:v.classes)||void 0===c?void 0:c.paper)})},{children:[t("div",o({className:a(x.popoverHeader,w&&"scrollable")},{children:[i("div",o({className:x.headerTitle},{children:"Settings"})),i(h,o({tooltipProps:{title:"Close"},onClick:T},{children:i(d,{})}))]})),i("div",o({className:a(x.popoverContentContainer,w&&"scrollable"),ref:function(e){e&&e.scrollHeight<=e.clientHeight&&!b&&P(!1)}},{children:i("div",o({className:x.popoverContent},{children:m}))})),i("div",{className:x.shadow})]}))]})}var u={iconSettingsProps:n.shape({iconSize:n.string,tooltipProps:n.shape({title:n.string})}),defaultScrollable:n.bool,maxHeight:n.number};m.propTypes=u,m.defaultProps={iconSettingsProps:{iconSize:"small"},defaultScrollable:!1,maxHeight:null};export{m as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from './AppSettingsPopover';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSettingsPopover/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSettingsPopover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,68 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
drawerPaperClassName: any;
|
|
6
|
-
expandedTooltipTitle: any;
|
|
7
|
-
collapsedTooltipTitle: any;
|
|
8
|
-
header: any;
|
|
9
|
-
headerIcon: any;
|
|
10
|
-
headerTitleIcon: any;
|
|
11
|
-
isOpen: any;
|
|
12
|
-
openedDrawerWidth: any;
|
|
13
|
-
setIsOpen: any;
|
|
14
|
-
size: any;
|
|
15
|
-
allOptionsButtonShown: any;
|
|
16
|
-
isAllOptionsSelected: any;
|
|
17
|
-
onAllOptionsClick: any;
|
|
18
|
-
}): JSX.Element;
|
|
19
|
-
declare namespace AppSideBar {
|
|
20
|
-
namespace propTypes {
|
|
21
|
-
const anchor: PropTypes.Requireable<string>;
|
|
22
|
-
const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
23
|
-
const drawerPaperClassName: PropTypes.Requireable<string>;
|
|
24
|
-
const expandedTooltipTitle: PropTypes.Requireable<string>;
|
|
25
|
-
const collapsedTooltipTitle: PropTypes.Requireable<string>;
|
|
26
|
-
const header: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
27
|
-
const headerIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
28
|
-
const headerTitleIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
29
|
-
const isOpen: PropTypes.Requireable<boolean>;
|
|
30
|
-
const openedDrawerWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
31
|
-
const setIsOpen: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
|
-
const size: PropTypes.Requireable<string>;
|
|
33
|
-
const allOptionsButtonShown: PropTypes.Requireable<boolean>;
|
|
34
|
-
const isAllOptionsSelected: PropTypes.Requireable<boolean>;
|
|
35
|
-
const onAllOptionsClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
36
|
-
}
|
|
37
|
-
namespace defaultProps {
|
|
38
|
-
const anchor_1: string;
|
|
39
|
-
export { anchor_1 as anchor };
|
|
40
|
-
const drawerPaperClassName_1: string;
|
|
41
|
-
export { drawerPaperClassName_1 as drawerPaperClassName };
|
|
42
|
-
const expandedTooltipTitle_1: string;
|
|
43
|
-
export { expandedTooltipTitle_1 as expandedTooltipTitle };
|
|
44
|
-
const collapsedTooltipTitle_1: string;
|
|
45
|
-
export { collapsedTooltipTitle_1 as collapsedTooltipTitle };
|
|
46
|
-
const header_1: any;
|
|
47
|
-
export { header_1 as header };
|
|
48
|
-
const headerIcon_1: any;
|
|
49
|
-
export { headerIcon_1 as headerIcon };
|
|
50
|
-
const headerTitleIcon_1: any;
|
|
51
|
-
export { headerTitleIcon_1 as headerTitleIcon };
|
|
52
|
-
const isOpen_1: boolean;
|
|
53
|
-
export { isOpen_1 as isOpen };
|
|
54
|
-
const openedDrawerWidth_1: number;
|
|
55
|
-
export { openedDrawerWidth_1 as openedDrawerWidth };
|
|
56
|
-
export { noop as setIsOpen };
|
|
57
|
-
const size_1: string;
|
|
58
|
-
export { size_1 as size };
|
|
59
|
-
const allOptionsButtonShown_1: boolean;
|
|
60
|
-
export { allOptionsButtonShown_1 as allOptionsButtonShown };
|
|
61
|
-
const isAllOptionsSelected_1: boolean;
|
|
62
|
-
export { isAllOptionsSelected_1 as isAllOptionsSelected };
|
|
63
|
-
export { noop as onAllOptionsClick };
|
|
64
|
-
}
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
declare type Anchor = 'left' | 'right';
|
|
3
|
+
interface AppSideBarProps extends PropTypes.InferProps<typeof appSideBarPropTypes> {
|
|
4
|
+
anchor: Anchor;
|
|
65
5
|
}
|
|
66
|
-
|
|
67
|
-
|
|
6
|
+
declare const AppSideBar: {
|
|
7
|
+
({ anchor, children, drawerPaperClassName, expandedTooltipTitle, collapsedTooltipTitle, header, headerIcon, headerTitleIcon, isOpen, openedDrawerWidth, setIsOpen, size, allOptionsButtonShown, isAllOptionsSelected, onAllOptionsClick, }: AppSideBarProps): JSX.Element;
|
|
8
|
+
propTypes: {
|
|
9
|
+
anchor: PropTypes.Requireable<string>;
|
|
10
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
11
|
+
drawerPaperClassName: PropTypes.Requireable<string>;
|
|
12
|
+
expandedTooltipTitle: PropTypes.Requireable<string>;
|
|
13
|
+
collapsedTooltipTitle: PropTypes.Requireable<string>;
|
|
14
|
+
header: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
|
+
headerIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
+
headerTitleIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
+
isOpen: PropTypes.Requireable<boolean>;
|
|
18
|
+
openedDrawerWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
19
|
+
setIsOpen: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
size: PropTypes.Requireable<string>;
|
|
21
|
+
allOptionsButtonShown: PropTypes.Requireable<boolean>;
|
|
22
|
+
isAllOptionsSelected: PropTypes.Requireable<boolean>;
|
|
23
|
+
onAllOptionsClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
+
};
|
|
25
|
+
defaultProps: {
|
|
26
|
+
anchor: string;
|
|
27
|
+
drawerPaperClassName: string;
|
|
28
|
+
expandedTooltipTitle: string;
|
|
29
|
+
collapsedTooltipTitle: string;
|
|
30
|
+
header: any;
|
|
31
|
+
headerIcon: any;
|
|
32
|
+
headerTitleIcon: any;
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
openedDrawerWidth: number;
|
|
35
|
+
setIsOpen: (...args: any[]) => void;
|
|
36
|
+
size: string;
|
|
37
|
+
allOptionsButtonShown: boolean;
|
|
38
|
+
isAllOptionsSelected: boolean;
|
|
39
|
+
onAllOptionsClick: (...args: any[]) => void;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
declare const appSideBarPropTypes: {
|
|
43
|
+
anchor: PropTypes.Requireable<string>;
|
|
44
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
45
|
+
drawerPaperClassName: PropTypes.Requireable<string>;
|
|
46
|
+
expandedTooltipTitle: PropTypes.Requireable<string>;
|
|
47
|
+
collapsedTooltipTitle: PropTypes.Requireable<string>;
|
|
48
|
+
header: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
49
|
+
headerIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
50
|
+
headerTitleIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
51
|
+
isOpen: PropTypes.Requireable<boolean>;
|
|
52
|
+
openedDrawerWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
53
|
+
setIsOpen: PropTypes.Requireable<(...args: any[]) => any>;
|
|
54
|
+
size: PropTypes.Requireable<string>;
|
|
55
|
+
allOptionsButtonShown: PropTypes.Requireable<boolean>;
|
|
56
|
+
isAllOptionsSelected: PropTypes.Requireable<boolean>;
|
|
57
|
+
onAllOptionsClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
58
|
+
};
|
|
59
|
+
export default AppSideBar;
|
|
68
60
|
//# sourceMappingURL=AppSideBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSideBar.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSideBar/AppSideBar.
|
|
1
|
+
{"version":3,"file":"AppSideBar.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSideBar/AppSideBar.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAoBnC,aAAK,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/B,UAAU,eAAgB,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC;IAChF,MAAM,EAAE,MAAM,CAAC;CAChB;AAmHD,QAAA,MAAM,UAAU;gPAgBb,eAAe,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+F/B,CAAC;AAEF,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAqBF,eAAe,UAAU,CAAC"}
|