text: "use strict";exports.__esModule=!0,exports.default=void 0;var _reselect=require("reselect"),_core=require("@superset-ui/core");function _defineProperty(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}var DEFAULT_WIDTH=800,DEFAULT_HEIGHT=600,ChartProps=function(a){void 0===a&&(a={}),_defineProperty(this,"annotationData",void 0),_defineProperty(this,"datasource",void 0),_defineProperty(this,"rawDatasource",void 0),_defineProperty(this,"initialValues",void 0),_defineProperty(this,"formData",void 0),_defineProperty(this,"rawFormData",void 0),_defineProperty(this,"height",void 0),_defineProperty(this,"hooks",void 0),_defineProperty(this,"queryData",void 0),_defineProperty(this,"width",void 0);var b=a,c=b.annotationData,d=void 0===c?{}:c,e=b.datasource,f=void 0===e?{}:e,g=b.formData,h=void 0===g?{}:g,i=b.hooks,j=void 0===i?{}:i,k=b.initialValues,l=void 0===k?[]:k,m=b.queryData,n=void 0===m?[]:m,o=b.width,p=void 0===o?DEFAULT_WIDTH:o,q=b.height,r=void 0===q?DEFAULT_HEIGHT:q;this.width=p,this.height=r,this.annotationData=d,this.datasource=(0,_core.convertKeysToCamelCase)(f),this.rawDatasource=f,this.formData=(0,_core.convertKeysToCamelCase)(h),this.rawFormData=h,this.hooks=j,this.initialValues=l,this.queryData=n};exports.default=ChartProps,_defineProperty(ChartProps,"createSelector",void 0),ChartProps.createSelector=function(){return(0,_reselect.createSelector)(function(a){return a.annotationData},function(a){return a.datasource},function(a){return a.formData},function(a){return a.height},function(a){return a.hooks},function(a){return a.initialValues},function(a){return a.queryData},function(a){return a.width},function(a,b,c,d,e,f,g,h){return new ChartProps({annotationData:a,datasource:b,formData:c,height:d,hooks:e,initialValues:f,queryData:g,width:h})})};