framework/extensions/statistics/js/dist/admin.js.map

1 line
205 KiB
Plaintext
Raw Normal View History

{"version":3,"sources":["webpack://@flarum/statistics/webpack/bootstrap","webpack://@flarum/statistics/external \"flarum.core.compat['admin/app']\"","webpack://@flarum/statistics/external \"flarum.core.compat['common/utils/abbreviateNumber']\"","webpack://@flarum/statistics/external \"flarum.core.compat['common/extend']\"","webpack://@flarum/statistics/external \"flarum.core.compat['admin/components/DashboardPage']\"","webpack://@flarum/statistics/external \"flarum.core.compat['admin/components/DashboardWidget']\"","webpack://@flarum/statistics/external \"flarum.core.compat['common/components/SelectDropdown']\"","webpack://@flarum/statistics/external \"flarum.core.compat['common/components/Button']\"","webpack://@flarum/statistics/external \"flarum.core.compat['common/helpers/icon']\"","webpack://@flarum/statistics/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@flarum/statistics/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@flarum/statistics/./node_modules/frappe-charts/dist/frappe-charts.esm.js","webpack://@flarum/statistics/./src/admin/components/StatisticsWidget.js","webpack://@flarum/statistics/./src/admin/index.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","flarum","core","compat","_setPrototypeOf","setPrototypeOf","__proto__","_inheritsLoose","subClass","superClass","constructor","$","expr","con","document","querySelector","getOffset","element","rect","getBoundingClientRect","top","documentElement","scrollTop","body","left","scrollLeft","tag","createElement","val","appendChild","ref","parentNode","insertBefore","keys","map","prop","style","setAttribute","BASE_MEASURES","margins","bottom","right","paddings","baseHeight","titleHeight","legendHeight","titleFontSize","getTopOffset","getLeftOffset","getExtraHeight","getExtraWidth","AXIS_DATASET_CHART_TYPES","DEFAULT_CHART_COLORS","DEFAULT_COLORS","bar","line","pie","percentage","heatmap","donut","ANGLE_RATIO","Math","PI","SvgTip","parent","colors","this","titleName","titleValue","listValues","titleValueFirst","x","y","setup","makeTooltip","refresh","fill","calcPosition","container","inside","className","innerHTML","hideTip","title","dataPointList","addEventListener","index","set","color","formatted","li","styles","width","offsetWidth","offsetHeight","maxLeft","pointer","pointerOffset","setValues","valueFirst","opacity","showTip","floatTwo","parseFloat","toFixed","fillArray","array","count","start","length","fillerArray","Array","abs","concat","getStringWidth","string","charWidth","getPositionByAngle","angle","radius","sin","cos","isValidNumber","candidate","nonNegative","Number","isNaN","undefined","isFinite","getBarHeightAndYAttr","yTop","zeroLine","height","equilizeNoOfElements","array1","array2","extraCount","truncateString","txt","len","slice","getSplineCurvePointsStr","xList","yList","points","push","controlPoint","current","previous","next","reverse","pointA","pointB","lengthX","lengthY","sqrt","pow","atan2","command","reduce","acc","point","a","pointStr","cps","cpe","PRESET_COLOR_MAP","limitColor","lightenDarkenColor","amt","col","getColor","usePound","num","parseInt","b","toString","test","exec","ch","$$1","createSVG","createElementNS","setGradientStop","gradElem","offset","makeSVGGroup","transform","args","makePath","pathStr","stroke","strokeWidth","makeGradient","svgDefElem","lighter","gradientId","gradientDef","id","x1","x2","y1","y2","renderVerticalGradient","opacities","heatSquare","size","data","rx","makeText","content","options","fontSize","dy","textAnchor","makeHoriLine","label","lineType","shortenNumbers","number","floor","log10","shortened","round","shortenLargeNumber","text","FONT_SIZE","xLine","pos","makeVertLine","makeOverlay","unit","transformValue","nodeName","getAttribute","childNodes","overlay","cloneNode","up