@corva/ui 0.76.0-8 → 0.76.0-rc.0
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/assets/6fa6f1128bc0185126482345243bcd42.svg +1 -0
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
- package/cjs-bundle/components/Chart/components/ChartButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/cjs-bundle/components/Counter/index.js +1 -1
- package/cjs-bundle/components/DatePicker/index.js +1 -1
- package/cjs-bundle/components/DateTimePicker/index.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientManagerWithStorage/GradientManagerWithStorage.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/useDialogState.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
- package/cjs-bundle/components/Select/index.js +1 -1
- package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
- package/cjs-bundle/components/Stepper/Step.js +1 -1
- package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
- package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
- package/cjs-bundle/config/theme/index.js +1 -1
- package/cjs-bundle/config/theme/tooltipOverrides.js +1 -1
- package/cjs-bundle/constants/goals.js +1 -1
- package/cjs-bundle/icons/index.js +1 -1
- package/cjs-bundle/utils/convert.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.d.ts +2 -2
- package/components/AssetEditor/SingleAssetEditor.d.ts +2 -2
- package/components/Button/index.d.ts +1 -1
- package/components/Chart/DonutChart/constants.d.ts +3 -0
- package/components/Chart/DonutChart/constants.d.ts.map +1 -0
- package/components/Chart/DonutChart/dataMock.d.ts +7 -0
- package/components/Chart/DonutChart/dataMock.d.ts.map +1 -0
- package/components/Chart/DonutChart/index.d.ts +3 -0
- package/components/Chart/DonutChart/index.d.ts.map +1 -0
- package/components/Chart/DonutChart/options.d.ts +104 -0
- package/components/Chart/DonutChart/options.d.ts.map +1 -0
- package/components/Chart/components/ChartButton.d.ts.map +1 -1
- package/components/Chart/components/ChartButton.js +1 -1
- package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/components/Chart/components/buttons/PanButton.js +1 -1
- package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/components/ChartActionsList/ChartActionsList.d.ts +1 -1
- package/components/Chip/index.d.ts +1 -1
- package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.d.ts.map +1 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/components/CommentInput/index.d.ts +2 -2
- package/components/ConfirmationDialog.d.ts +1 -1
- package/components/Counter/index.d.ts.map +1 -1
- package/components/Counter/index.js +1 -1
- package/components/DatePicker/index.d.ts.map +1 -1
- package/components/DatePicker/index.js +1 -1
- package/components/DateTimePicker/index.d.ts.map +1 -1
- package/components/DateTimePicker/index.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/FilesLoader/FilesLoader.d.ts.map +1 -1
- package/components/FilesLoader/FilesLoader.js +1 -1
- package/components/Formula/CloseSuggestion.d.ts.map +1 -1
- package/components/Formula/useFormulaStyles.d.ts +1 -1
- package/components/Formula/useFormulaStyles.d.ts.map +1 -1
- package/components/GradientManager/GradientManagerWithStorage/GradientManagerWithStorage.d.ts.map +1 -1
- package/components/GradientManager/GradientManagerWithStorage/GradientManagerWithStorage.js +1 -1
- package/components/IconMenu/index.d.ts +7 -7
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.d.ts +1 -1
- package/components/OffsetWellPickerV2/components/Filter/RadiusInput.d.ts +2 -2
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.d.ts +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.d.ts +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.d.ts +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.d.ts.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/PadOffsetsPickerV2/useDialogState.d.ts +2 -2
- package/components/PadOffsetsPickerV2/useDialogState.d.ts.map +1 -1
- package/components/PadOffsetsPickerV2/useDialogState.js +1 -1
- package/components/ParameterCharts/components/DataLoadingIndicator.d.ts +1 -1
- package/components/ParameterCharts/components/TraceHeader.d.ts +1 -1
- package/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/components/ParameterCharts/components/TraceSelect.d.ts +1 -1
- package/components/ParameterCharts/components/TraceSettings.d.ts +1 -1
- package/components/PostPreviewDialog/index.d.ts +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts.map +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.d.ts.map +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
- package/components/Search/components/Listbox.d.ts +1 -1
- package/components/Select/index.d.ts.map +1 -1
- package/components/Select/index.js +1 -1
- package/components/SettingEditors/ColorEditor/index.d.ts +3 -3
- 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 +3 -3
- package/components/Stepper/Step.d.ts.map +1 -1
- package/components/Stepper/Step.js +1 -1
- package/components/Table/TableCell/TableCell.d.ts.map +1 -1
- package/components/Table/TableCell/TableCell.js +1 -1
- package/components/Table/TableSortLabel/TableSortLabel.d.ts.map +1 -1
- package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
- package/components/Typography.d.ts +18 -18
- package/components/UserCard/index.d.ts +2 -2
- package/components/VirtualizedTable/VirtualizedTable.d.ts +2 -2
- package/config/theme/index.d.ts.map +1 -1
- package/config/theme/index.js +1 -1
- package/config/theme/tooltipOverrides.js +1 -1
- package/constants/goals.js +1 -1
- package/icons/index.d.ts +7 -0
- package/icons/index.d.ts.map +1 -1
- package/icons/index.js +1 -1
- package/package.json +2 -2
- package/utils/__tests__/convert/convert.test.d.ts.map +1 -0
- package/utils/__tests__/convert/customUnitsConvert.test.d.ts +2 -0
- package/utils/__tests__/convert/customUnitsConvert.test.d.ts.map +1 -0
- package/utils/convert.d.ts +42 -4
- package/utils/convert.d.ts.map +1 -1
- package/utils/convert.js +1 -1
- package/utils/index.d.ts +3 -3
- package/utils/metrics/metricsConfig.js +1 -1
- package/assets/c7e056a4353978b8b0393473f0d750ae.svg +0 -3
- package/cjs-bundle/components/FilesLoader/Icons/IconRefresh.js +0 -1
- package/cjs-bundle/components/FilesLoader/Icons/IconSuccess.js +0 -1
- package/cjs-bundle/components/FilesLoader/Icons/UploadIcon.js +0 -1
- package/components/FilesLoader/Icons/IconRefresh.d.ts +0 -3
- package/components/FilesLoader/Icons/IconRefresh.d.ts.map +0 -1
- package/components/FilesLoader/Icons/IconRefresh.js +0 -1
- package/components/FilesLoader/Icons/IconSuccess.d.ts +0 -6
- package/components/FilesLoader/Icons/IconSuccess.d.ts.map +0 -1
- package/components/FilesLoader/Icons/IconSuccess.js +0 -1
- package/components/FilesLoader/Icons/UploadIcon.d.ts +0 -3
- package/components/FilesLoader/Icons/UploadIcon.d.ts.map +0 -1
- package/components/FilesLoader/Icons/UploadIcon.js +0 -1
- package/utils/__tests__/convert.test.d.ts.map +0 -1
- /package/utils/__tests__/{convert.test.d.ts → convert/convert.test.d.ts} +0 -0
|
@@ -4,6 +4,6 @@ declare type Variation = 'primary' | 'secondary' | 'tertiary' | 'dangerPrimary'
|
|
|
4
4
|
export interface ButtonProps extends MUIButtonProps {
|
|
5
5
|
variation?: Variation;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Pick<ButtonProps, "
|
|
7
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Pick<ButtonProps, "type" | "name" | "key" | "value" | "title" | "size" | "id" | "form" | "slot" | "style" | "children" | "href" | "className" | "onClick" | "tabIndex" | "role" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "classes" | "innerRef" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "disableFocusRipple" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "fullWidth" | "variant" | "disableElevation" | "endIcon" | "startIcon" | "variation"> & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/DonutChart/constants.js"],"names":[],"mappings":"AAAA,wCAAyC;AAEzC,oCA+BE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataMock.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/DonutChart/dataMock.js"],"names":[],"mappings":"AAAA;;;;;IA+BE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/DonutChart/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export function getAppUsageOptions({ appNumber, data, isFullChartLegendVisible }: {
|
|
2
|
+
appNumber: any;
|
|
3
|
+
data: any;
|
|
4
|
+
isFullChartLegendVisible: any;
|
|
5
|
+
}): {
|
|
6
|
+
chart: {
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
type: string;
|
|
9
|
+
animation: boolean;
|
|
10
|
+
};
|
|
11
|
+
plotOptions: {
|
|
12
|
+
pie: {
|
|
13
|
+
animation: boolean;
|
|
14
|
+
allowPointSelect: boolean;
|
|
15
|
+
cursor: string;
|
|
16
|
+
dataLabels: {
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
};
|
|
19
|
+
colors: string[];
|
|
20
|
+
showInLegend: boolean;
|
|
21
|
+
borderColor: any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
yAxis: {};
|
|
25
|
+
xAxis: {};
|
|
26
|
+
legend: {
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
itemHoverStyle: {
|
|
29
|
+
color: string;
|
|
30
|
+
};
|
|
31
|
+
itemStyle: {
|
|
32
|
+
color: string;
|
|
33
|
+
fontSize: string;
|
|
34
|
+
fontWeight: string;
|
|
35
|
+
fontFamily: string;
|
|
36
|
+
};
|
|
37
|
+
itemDistance: number;
|
|
38
|
+
symbolWidth: number;
|
|
39
|
+
symbolHeight: number;
|
|
40
|
+
symbolPadding: number;
|
|
41
|
+
maxHeight: number;
|
|
42
|
+
alignColumns: boolean;
|
|
43
|
+
itemMarginBottom: number;
|
|
44
|
+
navigation: {
|
|
45
|
+
arrowSize: number;
|
|
46
|
+
activeColor: string;
|
|
47
|
+
inactiveColor: string;
|
|
48
|
+
style: {
|
|
49
|
+
color: string;
|
|
50
|
+
fontFamily: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
tooltip: {
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
formatter: typeof tooltipFormatter;
|
|
57
|
+
borderWidth: number;
|
|
58
|
+
borderRadius: number;
|
|
59
|
+
outside: boolean;
|
|
60
|
+
shadow: boolean;
|
|
61
|
+
style: {
|
|
62
|
+
fontSize: number;
|
|
63
|
+
color: string;
|
|
64
|
+
lineHeight: string;
|
|
65
|
+
fontFamily: string;
|
|
66
|
+
};
|
|
67
|
+
useHTML: boolean;
|
|
68
|
+
};
|
|
69
|
+
title: {
|
|
70
|
+
text: string;
|
|
71
|
+
};
|
|
72
|
+
credits: {
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
};
|
|
75
|
+
exporting: {
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
};
|
|
78
|
+
} & {
|
|
79
|
+
legend: {
|
|
80
|
+
maxHeight: any;
|
|
81
|
+
};
|
|
82
|
+
} & {
|
|
83
|
+
plotOptions: {
|
|
84
|
+
pie: {
|
|
85
|
+
colors: string[];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
} & {
|
|
89
|
+
series: {
|
|
90
|
+
name: string;
|
|
91
|
+
colorByPoint: boolean;
|
|
92
|
+
tooltip: {
|
|
93
|
+
tooltipValueSuffix: string;
|
|
94
|
+
};
|
|
95
|
+
innerSize: string;
|
|
96
|
+
data: any;
|
|
97
|
+
}[];
|
|
98
|
+
xAxis: {
|
|
99
|
+
categories: any;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
declare function tooltipFormatter(): any;
|
|
103
|
+
export {};
|
|
104
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/DonutChart/options.js"],"names":[],"mappings":"AA2IO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBN;AAvJD,yCA2BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/components/ChartButton.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ChartButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/components/ChartButton.js"],"names":[],"mappings":";AAqDA;;;;;;;;;gBAiCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/objectWithoutProperties";import t from"classnames";import{makeStyles as o,Tooltip as i}from"@material-ui/core";import{jsx as n}from"react/jsx-runtime";var c=["onClick","className","children","tooltipProps","isActive","isHidden","disabled"];function a(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var s=o((function(r){var e=r.palette;return{button:{display:"flex",justifyContent:"center",alignItems:"center",width:30,height:30,borderRadius:"4px",color:e.primary.text6,background:e.background.b6,marginBottom:"4px","&:hover":{color:e.primary.contrastText,background:e.background.b7,cursor:"pointer"},"&:active":{background:e.background.b8,"& .MuiSvgIcon-root":{color:e.primary.main}},"& .MuiSvgIcon-root":{width:16,height:16},"& .MuiSvgIcon-root:active":{color:e.primary.main}
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/objectWithoutProperties";import t from"classnames";import{makeStyles as o,Tooltip as i}from"@material-ui/core";import{jsx as n}from"react/jsx-runtime";var c=["onClick","className","children","tooltipProps","isActive","isHidden","disabled"];function a(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var s=o((function(r){var e=r.palette;return{button:{display:"flex",justifyContent:"center",alignItems:"center",width:30,height:30,borderRadius:"4px",color:e.primary.text6,background:e.background.b6,marginBottom:"4px","&:hover":{color:e.primary.contrastText,background:e.background.b7,cursor:"pointer"},"&:active":{background:e.background.b8,"& .MuiSvgIcon-root":{color:e.primary.main}},"& .MuiSvgIcon-root":{width:16,height:16},"& .MuiSvgIcon-root:active":{color:e.primary.main}},isActive:{color:e.primary.main,"&:hover":{color:e.primary.main}},isHidden:{visibility:"hidden"},disabled:{cursor:"not-allowed !important","&:hover":{background:e.background.b6},"& .MuiSvgIcon-root":{color:"".concat(e.primary.text6," !important")}}}})),p=function(o){var a,p=o.onClick,d=o.className,u=o.children,b=o.tooltipProps,m=o.isActive,f=o.isHidden,g=o.disabled,v=e(o,c),y=s(),h=n("div",l(l({className:t(y.button,d,(a={},r(a,y.isHidden,f),r(a,y.disabled,g),r(a,y.isActive,m),a)),onClick:g?null:p},v),{},{children:u}));return g?h:n(i,l(l({placement:"left",title:""},b),{},{children:h}))};export{p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/slicedToArray";import{useContext as r,useState as o}from"react";import e from"classnames";import{makeStyles as n}from"@material-ui/core";import{LineChartIcon as a,HistogramIcon as i}from"../../../../icons/index.js";import c from"../ChartButton.js";import m from"../../ChartWrapperContext.js";import{jsxs as s,jsx as u}from"react/jsx-runtime";var d=n((function(t){var r=t.palette;return{container:{display:"flex",marginRight:4,"&:hover $button":{background:"red !important"}},lineChartButton:{borderTopRightRadius:0,borderBottomRightRadius:0,marginBottom:0,"&:active":{background:r.background.b7}},barChartButton:{borderTopLeftRadius:0,borderBottomLeftRadius:0,marginBottom:0,"&:active":{background:r.background.b7}},hoveredContainer:{background:r.background.b7}}})),l="spline",p="bar",h=function(n){var h=n.className,b=n.onClick,f=r(m),C=f.chartType,g=f.handleChartTypeChange,v=o(!1),k=t(v,2),B=k[0],R=k[1],x=d();return s("div",{className:e(x.container,h),onMouseEnter:function(){R(!0)},onMouseLeave:function(){R(!1)},children:[u(c,{className:e(x.lineChartButton,B&&x.hoveredContainer),tooltipProps:{title:"Line Chart",placement:"bottom"},isActive:C===l,onClick:function(){g(l),b(l)},children:u(a,{})}),u(c,{className:e(x.barChartButton,B&&x.hoveredContainer),tooltipProps:{title:"Bar Chart",placement:"bottom"},isActive:C===p,onClick:function(){g(p),b(p)},children:u(i,{})})]})};h.defaultProps={onClick:function(){},isHidden:!1};export{h as default};
|
|
1
|
+
import t from"@babel/runtime/helpers/slicedToArray";import{useContext as r,useState as o}from"react";import e from"classnames";import{makeStyles as n}from"@material-ui/core";import{LineChartIcon as a,HistogramIcon as i}from"../../../../icons/index.js";import c from"../ChartButton.js";import m from"../../ChartWrapperContext.js";import{jsxs as s,jsx as u}from"react/jsx-runtime";var d=n((function(t){var r=t.palette;return{container:{display:"flex",marginRight:4,"&:hover $button":{background:"red !important"}},lineChartButton:{borderTopRightRadius:0,borderBottomRightRadius:0,marginBottom:0,"&:active":{background:r.background.b7}},barChartButton:{borderTopLeftRadius:0,borderBottomLeftRadius:0,marginBottom:0,"&:active":{background:r.background.b7}},hoveredContainer:{background:r.background.b7}}})),l="spline",p="bar",h=function(n){var h=n.className,b=n.onClick,f=r(m),C=f.chartType,g=f.handleChartTypeChange,v=o(!1),k=t(v,2),B=k[0],R=k[1],x=d();return s("div",{className:e(x.container,h),onMouseEnter:function(){R(!0)},onMouseLeave:function(){R(!1)},children:[u(c,{className:e(x.lineChartButton,B&&x.hoveredContainer),tooltipProps:{title:"Line Chart",placement:"bottom"},isActive:C===l,onClick:function(){g(l),b(l)},children:u(a,{size:16})}),u(c,{className:e(x.barChartButton,B&&x.hoveredContainer),tooltipProps:{title:"Bar Chart",placement:"bottom"},isActive:C===p,onClick:function(){g(p),b(p)},children:u(i,{size:16})})]})};h.defaultProps={onClick:function(){},isHidden:!1};export{h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as t}from"react";import{MoveInIcon as o}from"../../../../icons/index.js";import i from"../ChartButton.js";import n from"../../ChartWrapperContext.js";import{jsx as p}from"react/jsx-runtime";var c=["onClick","isHidden"];function s(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function a(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var l=function(r){var s=r.onClick,l=r.isHidden,f=e(r,c),m=t(n),u=m.isMinHeightChart,b=m.isZoomEnabled,d=m.handleIsZoomEnabledChange;return p(i,a(a({},f),{},{tooltipProps:a({title:"Drag To Zoom"},f.tooltipProps),isActive:b,onClick:function(){d(!0),s()},isHidden:u||l,children:p(o,{size:16})}))};l.defaultProps={onClick:function(){},isHidden:!1,tooltipProps:{}};export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as t}from"react";import o from"classnames";import{makeStyles as i}from"@material-ui/core";import{ExpandIcon as s,CollapseIcon as n}from"../../../../icons/index.js";import a from"../ChartButton.js";import p from"../../ChartWrapperContext.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import{useHideAxes as c}from"../../effects/useHideAxes.js";import"../../effects/useChartModifier.js";import{jsx as m}from"react/jsx-runtime";var l=["onClick","isHidden"];function f(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 u(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var d=i({icon:{top:0,transform:"rotate(45deg)"}}),h=function(e){e.onClick,e.isHidden;var i=r(e,l),f=t(p),h=f.chart,b=f.handleChangeChartStyles,j=c({chart:h,onChartStylesChange:b}),O=j.isHiddenAxes,y=j.handleAxesHide,P=d();return m(a,u(u({},i),{},{className:o(P.hideAxesButton,i.className),tooltipProps:u({title:O?"Show Axes":"Hide Axes"},i.tooltipProps),onClick:y,children:m(O?s:n,{className:P.icon})}))};h.defaultProps={tooltipProps:{}};export{h as default};
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as t}from"react";import o from"classnames";import{makeStyles as i}from"@material-ui/core";import{ExpandIcon as s,CollapseIcon as n}from"../../../../icons/index.js";import a from"../ChartButton.js";import p from"../../ChartWrapperContext.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import{useHideAxes as c}from"../../effects/useHideAxes.js";import"../../effects/useChartModifier.js";import{jsx as m}from"react/jsx-runtime";var l=["onClick","isHidden"];function f(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 u(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var d=i({icon:{top:0,transform:"rotate(45deg)"}}),h=function(e){e.onClick,e.isHidden;var i=r(e,l),f=t(p),h=f.chart,b=f.handleChangeChartStyles,j=c({chart:h,onChartStylesChange:b}),O=j.isHiddenAxes,y=j.handleAxesHide,P=d();return m(a,u(u({},i),{},{className:o(P.hideAxesButton,i.className),tooltipProps:u({title:O?"Show Axes":"Hide Axes"},i.tooltipProps),onClick:y,children:m(O?s:n,{className:P.icon,size:16})}))};h.defaultProps={tooltipProps:{}};export{h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import{FiveIcon as o}from"../../../../icons/index.js";import i from"../ChartButton.js";import n from"../../ChartWrapperContext.js";import{jsx as s}from"react/jsx-runtime";var p=["onClick","isHidden"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function a(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?c(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var l=function(e){var c=e.onClick,l=e.isHidden,f=t(e,p),m=r(n),u=m.zoomStatus,b=m.isMinHeightChart,d=m.isZoomEnabled,O=m.handleIsZoomEnabledChange;return s(i,a(a({},f),{},{disabled:u.isReset,tooltipProps:a({title:"Pan"},f.tooltipProps),isActive:!d,onClick:function(){O(!1),c()},isHidden:b||l,children:s(o,{size:16})}))};l.defaultProps={onClick:function(){},isHidden:!1,tooltipProps:{}};export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import{UndoIcon as o}from"../../../../icons/index.js";import i from"../../ChartWrapperContext.js";import n from"../ChartButton.js";import{jsx as s}from"react/jsx-runtime";var p=["onClick","isHidden","isVisible"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function l(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?c(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var f=function(e){var c=e.onClick,f=e.isHidden,a=e.isVisible,m=t(e,p),u=r(i),b=u.isMinHeightChart,O=u.handleResetZoom,d=u.zoomStatus.isReset||b||f;return s(n,l(l({},m),{},{onClick:function(){O(),c()},tooltipProps:l({title:"Reset Zoom"},m.tooltipProps),isHidden:d&&!a,children:s(o,{})}))};f.defaultProps={onClick:function(){},isHidden:!1,isVisible:!1,tooltipProps:{}};export{f as default};
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import{UndoIcon as o}from"../../../../icons/index.js";import i from"../../ChartWrapperContext.js";import n from"../ChartButton.js";import{jsx as s}from"react/jsx-runtime";var p=["onClick","isHidden","isVisible"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function l(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?c(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var f=function(e){var c=e.onClick,f=e.isHidden,a=e.isVisible,m=t(e,p),u=r(i),b=u.isMinHeightChart,O=u.handleResetZoom,d=u.zoomStatus.isReset||b||f;return s(n,l(l({},m),{},{onClick:function(){O(),c()},tooltipProps:l({title:"Reset Zoom"},m.tooltipProps),isHidden:d&&!a,children:s(o,{size:16})}))};f.defaultProps={onClick:function(){},isHidden:!1,isVisible:!1,tooltipProps:{}};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as e}from"react";import{PlusIcon as o}from"../../../../icons/index.js";import i from"../../ChartWrapperContext.js";import{ZOOM_TYPE as n,HOT_KEYS as p}from"../../constants.js";import c from"../ChartButton.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import{useKeyboardControl as s}from"../../effects/useKeyboardControl.js";import"../../effects/useChartModifier.js";import{jsx as a}from"react/jsx-runtime";var f=["onClick"];function l(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,o)}return e}function m(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?l(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}var u=function(r){var l=r.onClick,u=t(r,f),b=e(i),j=b.zoomStatus,O=b.handleZoomEvent,d=function(){O(n.zoomIn),l()};return s({keyCode:p.arrowUp,callback:d}),a(c,m(m({},u),{},{onClick:d,disabled:j.isMax,tooltipProps:m({title:"Zoom In"},u.tooltipProps),children:a(o,{})}))};u.defaultProps={onClick:function(){},tooltipProps:{}};export{u as default};
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as e}from"react";import{PlusIcon as o}from"../../../../icons/index.js";import i from"../../ChartWrapperContext.js";import{ZOOM_TYPE as n,HOT_KEYS as p}from"../../constants.js";import c from"../ChartButton.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import{useKeyboardControl as s}from"../../effects/useKeyboardControl.js";import"../../effects/useChartModifier.js";import{jsx as a}from"react/jsx-runtime";var f=["onClick"];function l(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,o)}return e}function m(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?l(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}var u=function(r){var l=r.onClick,u=t(r,f),b=e(i),j=b.zoomStatus,O=b.handleZoomEvent,d=function(){O(n.zoomIn),l()};return s({keyCode:p.arrowUp,callback:d}),a(c,m(m({},u),{},{onClick:d,disabled:j.isMax,tooltipProps:m({title:"Zoom In"},u.tooltipProps),children:a(o,{size:16})}))};u.defaultProps={onClick:function(){},tooltipProps:{}};export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as e}from"react";import{MinusIcon as o}from"../../../../icons/index.js";import i from"../../ChartWrapperContext.js";import{ZOOM_TYPE as n,HOT_KEYS as p}from"../../constants.js";import
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as e}from"react";import{MinusIcon as o}from"../../../../icons/index.js";import i from"../../ChartWrapperContext.js";import{ZOOM_TYPE as n,HOT_KEYS as p}from"../../constants.js";import s from"../ChartButton.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import{useKeyboardControl as c}from"../../effects/useKeyboardControl.js";import"../../effects/useChartModifier.js";import{jsx as a}from"react/jsx-runtime";var f=["onClick"];function l(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,o)}return e}function m(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?l(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}var u=function(r){var l=r.onClick,u=t(r,f),b=e(i),j=b.handleZoomEvent,O=b.zoomStatus,d=function(){j(n.zoomOut),l()};return c({keyCode:p.arrowDown,callback:d}),a(s,m(m({},u),{},{onClick:d,tooltipProps:m({title:"Zoom Out"},u.tooltipProps),disabled:O.isReset,children:a(o,{size:16})}))};u.defaultProps={onClick:function(){},tooltipProps:{}};export{u as default};
|
|
@@ -12,7 +12,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<{
|
|
|
12
12
|
left: PropTypes.Validator<number>;
|
|
13
13
|
right: PropTypes.Validator<number>;
|
|
14
14
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
15
|
-
}>, "min" | "right" | "max" | "
|
|
15
|
+
}>, "min" | "right" | "max" | "onChange" | "left" | "classes">, "min" | "right" | "max" | "onChange" | "left"> & import("@material-ui/core").StyledComponentProps<"input">>;
|
|
16
16
|
export default _default;
|
|
17
17
|
import PropTypes from "prop-types";
|
|
18
18
|
//# sourceMappingURL=ChartActionsList.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { ChipProps as MuiChipProps } from '@material-ui/core';
|
|
|
4
4
|
interface ChipProps extends Omit<MuiChipProps, 'variant'>, PropTypes.InferProps<typeof chipPropTypes> {
|
|
5
5
|
variant?: 'default' | 'outlined' | 'basic';
|
|
6
6
|
}
|
|
7
|
-
declare const Chip: import("react").ForwardRefExoticComponent<Pick<ChipProps, "key" | "label" | "title" | "size" | "id" | "slot" | "style" | "children" | "className" | "data-testid" | "onClick" | "tabIndex" | "role" | "
|
|
7
|
+
declare const Chip: import("react").ForwardRefExoticComponent<Pick<ChipProps, "key" | "label" | "title" | "size" | "id" | "slot" | "style" | "children" | "className" | "data-testid" | "onClick" | "tabIndex" | "role" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "icon" | "disabled" | "classes" | "innerRef" | "checked" | "variant" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const chipPropTypes: {
|
|
9
9
|
checked: PropTypes.Requireable<boolean>;
|
|
10
10
|
'data-testid': PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":";;AAqMA,wBAuDsB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as e,jsx as r}from"react/jsx-runtime";import{useState as t,useRef as n,useEffect as
|
|
1
|
+
import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as e,jsx as r}from"react/jsx-runtime";import{useState as t,useRef as n,useEffect as i}from"react";import a from"prop-types";import{withStyles as l,InputLabel as s,Tooltip as c,IconButton as p,Popover as b}from"@material-ui/core";import g from"chroma-js";import u from"classnames";import m from"validate-color";import h from"./PaletteChromePicker/PaletteChromePicker.js";import{PaletteIcon as d}from"../../icons/index.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)}},v=function(a){var l,h,v,x=a.label,C=a.value,L=a.converter,P=a.onChange,k=a.buttonClassName,T=a.popoverAnchorOrigin,O=a.popoverTransformOrigin,y=a.labelPosition,R=a.hideLabel,z=a.pickerComponent,j=a.classes,I=a.lensColor,N=a.enableTransparencyPalette,S=a["data-testid"],w=a.tooltipProps,B=t(null),D=B[0],_=B[1],q=t("#03BCD4"),A=q[0],F=q[1],E=n();i((function(){var o=null==C?void 0:C.trim();o&&m(o)?F(o):console.error("The color value(".concat(C,") is not valid, please check it."))}),[C]);return e("div",o({className:u(j.root,(l={},l[j.topLabelRoot]="top"===y,l[j.rightLabelRoot]="right"===y,l))},{children:[!R&&r(s,o({className:u((h={},h[j.topLabel]="top"===y,h[j.rightLabel]="right"===y,h)),shrink:!0},{children:x})),r(c,o({title:w.title},w,{children:r(p,o({"data-testid":"".concat(S,"_icon_").concat(x),className:u(j.button,k,(v={},v[j.buttonTransparrent]=0===g(A).alpha(),v)),disableRipple:!0,style:{backgroundColor:A,color:I},onClick:function(o){_(o.currentTarget)},size:"small"},{children:r(d,{size:16,className:j.colorLensIcon})}))})),r(b,o({id:"colors-popper",action:E,open:Boolean(D),anchorEl:D,onClose:function(){_(null)},anchorOrigin:T,transformOrigin:O},{children:r(z,{color:A,onChange:function(o){var e=f[L](o);F(e),P(e)},onSizeChange:function(){E.current&&E.current.updatePosition()},enableTransparencyPalette:N})}))]}))},x=a.shape({vertical:a.oneOfType([a.oneOf(["top","center","bottom"]),a.number]),horizontal:a.oneOfType([a.oneOf(["left","center","right"]),a.number])}),C={buttonClassName:a.string,label:a.string,value:a.string.isRequired,onChange:a.func.isRequired,converter:a.oneOf(Object.keys(f)),classes:a.shape({button:a.string.isRequired,root:a.string,topLabelRoot:a.string,rightLabelRoot:a.string,topLabel:a.string,rightLabel:a.string,buttonTransparrent:a.string,colorLensIcon:a.string}).isRequired,pickerComponent:a.elementType,labelPosition:a.oneOf(["top","right"]),popoverAnchorOrigin:x,popoverTransformOrigin:x,tooltipProps:a.shape({title:a.string}),hideLabel:a.bool,lensColor:a.string,enableTransparencyPalette:a.bool,"data-testid":a.string};v.propTypes=C,v.defaultProps={label:"Color",buttonClassName:null,converter:"rgba_hex",pickerComponent:h,hideLabel:!1,popoverAnchorOrigin:{vertical:"bottom",horizontal:"left"},popoverTransformOrigin:{vertical:"top",horizontal:"left"},tooltipProps:{title:"Change color"},labelPosition:"top",lensColor:"#fff",enableTransparencyPalette:!1,"data-testid":"ColorPicker"};var L=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"}})(v);export{L as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaletteChromePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"PaletteChromePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js"],"names":[],"mappings":";;WAwGc,MAAM;sBACE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,GAAG,CAAC;QAAC,GAAG,EAAE,GAAG,CAAC;KAAE,KAAK,IAAI;mBACrD,MAAM,IAAI;gCACV,OAAO;;AALrB;;;;;;GAMG;AAEH,4IAyDE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{forwardRef as t,useState as r,useLayoutEffect as i}from"react";import{ChromePicker as n}from"react-color";import a from"classnames";import{makeStyles as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{forwardRef as t,useState as r,useLayoutEffect as i}from"react";import{ChromePicker as n}from"react-color";import a from"classnames";import{makeStyles as c,Tooltip as l,IconButton as p}from"@material-ui/core";import{PaletteIcon as d,PickerIcon as s}from"../../../icons/index.js";import m from"./Palette/Palette.js";import{jsxs as b,jsx as f}from"react/jsx-runtime";var h="PALETTE",x="CHROME_PICKER",u={default:{picker:{width:"100%",boxShadow:"none"},body:{backgroundColor:"#3b3b3b",padding:"16px 16px 0"},color:{width:"32px",height:"32px",marginRight:"16px",borderRadius:"2px"},swatch:{marginTop:0,width:"100%",height:"100%",borderRadius:0,position:"relative",overflow:"hidden"},toggles:{display:"flex",flexDirection:"column",justifyContent:"space-between"},Alpha:{checkboard:{display:"none"},gradient:{borderRadius:"5px"}}}},g=c({container:{backgroundColor:"#3b3b3b",boxShadow:"0px 3px 10px rgba(0, 0, 0, 0.4)",width:"250px",paddingBottom:"8px",borderRadius:"4px","& input":{border:"1px solid #616161 !important",backgroundColor:"#3b3b3b",color:"#fff !important",boxShadow:"none !important",outline:"none"}},chromePickerPalette:{margin:"0 8px",paddingTop:"8px"},buttonsContainer:{display:"flex",justifyContent:"center",marginTop:"8px"},iconButton:{padding:"8px","&:hover":{backgroundColor:"#333333"},"&:hover $icon":{color:"#fff"}},icon:{color:"#bdbdbd",fontSize:"24px"},iconActive:{color:"#fff"},tooltip:{background:"#414141",color:"#fff",boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.12)",borderRadius:"4px",opacity:1,fontSize:"11px"}}),C=t((function(t,c){var C=t.color,P=t.onChange,k=t.onSizeChange,w=t.enableTransparencyPalette,y=g(),v=r(h),R=e(v,2),T=R[0],N=R[1];return i(k,[T]),b("div",{className:y.container,ref:c,children:[T===h&&f(m,{className:y.chromePickerPalette,color:C,onChange:P,enableTransparencyPalette:w}),T===x&&f(n,{styles:u,color:C,onChange:P}),b("div",{className:y.buttonsContainer,children:[f(l,{title:"Palette",classes:{tooltip:y.tooltip},children:f(p,{"data-testid":"".concat("PaletteChromePicker","_palette"),className:y.iconButton,onClick:function(){return N(h)},children:f(d,{className:a(y.icon,o({},y.iconActive,T===h)),size:24})})}),f(l,{title:"Pick your own",classes:{tooltip:y.tooltip},children:f(p,{"data-testid":"".concat("PaletteChromePicker","_pickOwn"),className:y.iconButton,onClick:function(){return N(x)},children:f(s,{className:a(y.icon,o({},y.iconActive,T===x)),size:24})})})]})]})}));export{C as default};
|
|
@@ -30,8 +30,8 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
30
30
|
}>, "classes" | "postComment"> & {
|
|
31
31
|
companyId?: number;
|
|
32
32
|
currentUser?: PropTypes.InferProps<PropTypes.ValidationMap<any>>;
|
|
33
|
-
autoFocus?: boolean;
|
|
34
33
|
disabled?: boolean;
|
|
34
|
+
autoFocus?: boolean;
|
|
35
35
|
inputRef?: PropTypes.InferProps<{
|
|
36
36
|
current: PropTypes.Requireable<PropTypes.InferProps<{
|
|
37
37
|
focus: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
54
54
|
}>;
|
|
55
55
|
editComment?: string;
|
|
56
56
|
parentId?: string;
|
|
57
|
-
} & {}, "companyId" | "currentUser" | "
|
|
57
|
+
} & {}, "companyId" | "currentUser" | "disabled" | "autoFocus" | "inputRef" | "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
|
|
@@ -10,7 +10,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
10
10
|
disableOk: PropTypes.Requireable<boolean>;
|
|
11
11
|
isShowCancel: PropTypes.Requireable<boolean>;
|
|
12
12
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
13
|
-
}>, "text" | "
|
|
13
|
+
}>, "text" | "open" | "classes"> & {
|
|
14
14
|
title?: string;
|
|
15
15
|
handleClose?: (...args: any[]) => any;
|
|
16
16
|
handleOk?: (...args: any[]) => any;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AA4FpG,UAAU,YACR,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EACtD,SAAS,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC;IAC/C,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{__assign as i}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as e}from"react/jsx-runtime";import
|
|
1
|
+
import{__assign as i}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as e}from"react/jsx-runtime";import t from"prop-types";import o from"classnames";import{capitalize as p}from"lodash";import{makeStyles as r,Tooltip as a,Chip as l}from"@material-ui/core";import{CloseSmallIcon as s}from"../../icons/index.js";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:{marginRight:"-2px !important",marginLeft:"2px !important",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"}}}})),m=function(t){var r=t.classes,m=t.size,c=t.limited,d=t.clickable,x=t.tooltip,g=n();return e(a,i({title:x,classes:{tooltip:g.tooltip}},{children:e(l,i({},t,{classes:i(i({},r),{root:o(r.root,g.rootChip,g["size".concat(p(m))],c&&g["size".concat(p(m),"Limited")],d&&g["size".concat(p(m),"Clickable")])}),clickable:d,deleteIcon:e(s,{className:g.closeIcon,size:16})}))}))},c={classes:t.shape({root:t.string}),size:t.oneOf(["small","medium","large"]),limited:t.bool,clickable:t.bool,label:t.string.isRequired,tooltip:t.string};m.propTypes=c,m.defaultProps={classes:{},size:"medium",limited:!1,clickable:!1,tooltip:""};export{m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAsB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAsB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAmCnF,UAAU,eAAgB,SAAQ,uBAAuB;IACvD,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,UAAU;iDAAgD,eAAe,GAAG,WAAW;;;;;;;;;;;CAqB5F,CAAC;AAcF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as o,__assign as r}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as t}from"react/jsx-runtime";import e from"classnames";import a from"prop-types";import{KeyboardDatePicker as i}from"@material-ui/pickers";import{makeStyles as s}from"@material-ui/core";import m from"moment";import{DATE_FORMAT as p}from"../../constants/dateTimeFormat.js";import{CalendarIcon as n,RightIcon as c,LeftIcon as l}from"../../icons/index.js";var u=s((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:-
|
|
1
|
+
import{__rest as o,__assign as r}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as t}from"react/jsx-runtime";import e from"classnames";import a from"prop-types";import{KeyboardDatePicker as i}from"@material-ui/pickers";import{makeStyles as s}from"@material-ui/core";import m from"moment";import{DATE_FORMAT as p}from"../../constants/dateTimeFormat.js";import{CalendarIcon as n,RightIcon as c,LeftIcon as l}from"../../icons/index.js";var u=s((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},"&:hover .MuiIconButton-root":{color:o.palette.primary.contrastText},"& .MuiIconButton-root":{color:o.palette.primary.text6,fontSize:"unset",marginRight:-3,marginBottom:-8,padding:6},"& .MuiIconButton-root > span > span svg":{fill:"transparent !important"}},paper:{marginTop:8}}})),f=function(a){var s=a.className,f=a.PopoverProps,d=o(a,["className","PopoverProps"]),P=u();return t(i,r({disableToolbar:!0,variant:"inline",keyboardIcon:t(n,{size:16}),rightArrowIcon:t(c,{size:24}),leftArrowIcon:t(l,{size:24}),format:p,placeholder:m().format(p),refuse:/[^(\w|\d)]+/gi},d,{PopoverProps:r({className:e(P.paper,f.className)},f),className:e(P.dateTimePickerInput,s)}))};f.propTypes={PopoverProps:a.shape({className:a.string}),className:a.string},f.defaultProps={PopoverProps:{},className:""};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAkC3F,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,YAAY,EACZ,MAAM,EACN,GAAG,UAAU,EACd,EAAE,2BAA2B,GAAG,GAAG,CAAC,OAAO,CAkB3C;kBAvBQ,cAAc;;;;;;;;;;;;;;AAuCvB,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as o,__assign as r}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as t}from"react/jsx-runtime";import e from"classnames";import a from"prop-types";import i from"moment";import{KeyboardDateTimePicker as m}from"@material-ui/pickers";import{makeStyles as s}from"@material-ui/core";import{CalendarIcon as p,TimeIcon as n,RightIcon as c,LeftIcon as
|
|
1
|
+
import{__rest as o,__assign as r}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as t}from"react/jsx-runtime";import e from"classnames";import a from"prop-types";import i from"moment";import{KeyboardDateTimePicker as m}from"@material-ui/pickers";import{makeStyles as s}from"@material-ui/core";import{CalendarIcon as p,TimeIcon as n,RightIcon as c,LeftIcon as l}from"../../icons/index.js";import{DATE_TIME_FORMAT as u}from"../../constants/dateTimeFormat.js";var f=s((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},"&:hover .MuiIconButton-root":{color:o.palette.primary.contrastText},"& .MuiIconButton-root":{color:o.palette.primary.text6,fontSize:"unset",marginRight:-3,marginBottom:-8,padding:6},"& .MuiIconButton-root > span > span svg":{fill:"transparent !important"}},paper:{marginTop:8}}}));function d(a){var s=a.className,u=a.PopoverProps,d=a.format,g=o(a,["className","PopoverProps","format"]),P=f();return t(m,r({dateRangeIcon:t(p,{size:24}),timeIcon:t(n,{size:24}),rightArrowIcon:t(c,{size:24}),leftArrowIcon:t(l,{size:24}),keyboardIcon:t(p,{size:16}),format:d,refuse:/[^(\w|\d)]+/gi,placeholder:i().format(d)},g,{PopoverProps:r({className:P.paper},u),className:e(P.dateTimePickerInput,s)}))}d.propTypes={className:a.string,PopoverProps:a.shape({className:a.string}),format:a.string},d.defaultProps={className:"",PopoverProps:{},format:u};export{d as default};
|