import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as t}from"react";import c from"../../ChartWrapperContext.js";import{ZOOM_TYPE as r,HOT_KEYS as i}from"../../constants.js";import n from"../ChartButton.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../../../utils/main.js";import{useKeyboardControl as e}from"../../effects/useKeyboardControl.js";import"../../effects/useChartModifier.js";import{PlusIcon as m}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import{jsx as p}from"react/jsx-runtime";var u=["onClick"];function l(o,s){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);s&&(c=c.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),t.push.apply(t,c)}return t}function a(s){for(var t=1;t<arguments.length;t++){var c=null!=arguments[t]?arguments[t]:{};t%2?l(Object(c),!0).forEach((function(t){o(s,t,c[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):l(Object(c)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(c,o))}))}return s}var j=function(o){var l=o.onClick,j=void 0===l?function(){}:l,f=s(o,u),d=t(c),b=d.zoomStatus,I=d.handleZoomEvent,h=function(){I(r.zoomIn),j()};return e({keyCode:i.arrowUp,callback:h}),p(n,a(a({},f),{},{onClick:h,disabled:b.isMax,tooltipProps:a({title:"Zoom In",placement:"left"},f.tooltipProps),children:p(m,{size:16})}))};j.defaultProps={onClick:function(){},tooltipProps:{}};export{j as default};
