@carbon/charts 1.13.8 → 1.13.11
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/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/dist/{_baseEach-8433307e.mjs → _baseEach-_pb8o-nX.mjs} +4 -4
- package/dist/{_baseEach-8433307e.mjs.map → _baseEach-_pb8o-nX.mjs.map} +1 -1
- package/dist/{a11y-7bad4f48.mjs → a11y-SOU26cr5.mjs} +1 -1
- package/dist/{a11y-7bad4f48.mjs.map → a11y-SOU26cr5.mjs.map} +1 -1
- package/dist/{angle-utils-8034b0e5.mjs → angle-utils-lGS6958-.mjs} +5 -5
- package/dist/{angle-utils-8034b0e5.mjs.map → angle-utils-lGS6958-.mjs.map} +1 -1
- package/dist/{choropleth-d532597d.mjs → choropleth-OVZrVx-E.mjs} +431 -431
- package/dist/{choropleth-d532597d.mjs.map → choropleth-OVZrVx-E.mjs.map} +1 -1
- package/dist/{color-scale-utils-2eb80bd2.mjs → color-scale-utils-xGxEq2HZ.mjs} +73 -73
- package/dist/{color-scale-utils-2eb80bd2.mjs.map → color-scale-utils-xGxEq2HZ.mjs.map} +1 -1
- package/dist/components/index.mjs +10 -10
- package/dist/demo/index.mjs +225 -251
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +971 -1053
- package/dist/demo/styles.css.map +1 -1
- package/dist/{enums-a96ef472.mjs → enums-tMKLWMMm.mjs} +1 -1
- package/dist/{enums-a96ef472.mjs.map → enums-tMKLWMMm.mjs.map} +1 -1
- package/dist/{index-ec554115.mjs → index-Ez18Vgtt.mjs} +3 -3
- package/dist/index-Ez18Vgtt.mjs.map +1 -0
- package/dist/index.mjs +60 -60
- package/dist/interfaces/index.mjs +2 -2
- package/dist/model/index.mjs +21 -1111
- package/dist/model/index.mjs.map +1 -1
- package/dist/services/index.mjs +17 -17
- package/dist/styles.css +40 -0
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/dist/umd/bundle.umd.js +14 -14
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/wordcloud-R5RMMPUP.mjs +1108 -0
- package/dist/wordcloud-R5RMMPUP.mjs.map +1 -0
- package/dist/{index-e91144ae.mjs → zoom-WD9MTgCJ.mjs} +51 -51
- package/dist/zoom-WD9MTgCJ.mjs.map +1 -0
- package/package.json +13 -18
- package/scss/demos.scss +4 -5
- package/styles.css +40 -0
- package/styles.min.css +1 -1
- package/dist/index-e91144ae.mjs.map +0 -1
- package/dist/index-ec554115.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums-a96ef472.mjs","sources":["../src/interfaces/events.ts","../src/interfaces/enums.ts"],"sourcesContent":["/**\n * enum of all events related to the chart on the DOM\n */\nexport enum Chart {\n\tRENDER_FINISHED = 'render-finished',\n\tRESIZE = 'chart-resize',\n\tMOUSEOVER = 'chart-mouseover',\n\t// MOUSEMOVE = \"chart-mousemove\",\n\t// CLICK = \"chart-click\",\n\tMOUSEOUT = 'chart-mouseout'\n}\n/**\n * enum of all events related to the overlay modal\n */\nexport enum Modal {\n\tSHOW = 'show-modal',\n\tHIDE = 'hide-modal'\n}\n\n/**\n * enum of all events related to the chart model\n */\nexport enum Model {\n\tUPDATE = 'model-update'\n}\n\n/**\n * enum of all toolbar events\n */\nexport enum Toolbar {\n\tSHOW_OVERFLOW_MENU = 'show-toolbar-overflow-menu',\n\tHIDE_OVERFLOW_MENU = 'hide-toolbar-overflow-menu',\n\tBUTTON_CLICK = 'toolbar-button-click'\n}\n\n/**\n * enum of all events related to the zoom-bar\n */\nexport enum ZoomBar {\n\tUPDATE = 'zoom-bar-update',\n\tSELECTION_START = 'zoom-bar-selection-start',\n\tSELECTION_IN_PROGRESS = 'zoom-bar-selection-in-progress',\n\tSELECTION_END = 'zoom-bar-selection-end'\n}\n\n/**\n * enum of all events related to the zoom domain\n */\nexport enum ZoomDomain {\n\tCHANGE = 'zoom-domain-change'\n}\n\n/** enum of all events related to canvas zoom *\n *\n */\nexport enum CanvasZoom {\n\tCANVAS_ZOOM_IN = 'canvas-zoom-in',\n\tCANVAS_ZOOM_OUT = 'canvas-zoom-out'\n}\n\n/**\n * enum of all axis-related events\n */\nexport enum Axis {\n\tLABEL_MOUSEOVER = 'axis-label-mouseover',\n\tLABEL_MOUSEMOVE = 'axis-label-mousemove',\n\tLABEL_CLICK = 'axis-label-click',\n\tLABEL_MOUSEOUT = 'axis-label-mouseout',\n\tLABEL_FOCUS = 'axis-label-focus',\n\tLABEL_BLUR = 'axis-label-blur',\n\tRENDER_COMPLETE = 'axis-render-complete'\n}\n\n/**\n * enum of all area graph events\n */\nexport enum Area {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all wordcloud graph events\n */\nexport enum WordCloud {\n\tWORD_MOUSEOVER = 'wordcloud-word-mouseover',\n\tWORD_MOUSEMOVE = 'wordcloud-word-mousemove',\n\tWORD_CLICK = 'wordcloud-word-click',\n\tWORD_MOUSEOUT = 'wordcloud-word-mouseout'\n}\n\n/**\n * enum of all pie graph events\n */\nexport enum Pie {\n\tSLICE_MOUSEOVER = 'pie-slice-mouseover',\n\tSLICE_MOUSEMOVE = 'pie-slice-mousemove',\n\tSLICE_CLICK = 'pie-slice-click',\n\tSLICE_MOUSEOUT = 'pie-slice-mouseout'\n}\n\n/**\n * enum of all gauge graph events\n */\nexport enum Gauge {\n\tARC_MOUSEOVER = 'gauge-arc-mouseover',\n\tARC_MOUSEMOVE = 'gauge-arc-mousemove',\n\tARC_CLICK = 'gauge-arc-click',\n\tARC_MOUSEOUT = 'gauge-arc-mouseout'\n}\n\n/**\n * enum of all bar graph events\n */\nexport enum Bar {\n\tBAR_MOUSEOVER = 'bar-mouseover',\n\tBAR_MOUSEMOVE = 'bar-mousemove',\n\tBAR_CLICK = 'bar-click',\n\tBAR_MOUSEOUT = 'bar-mouseout'\n}\n\n/**\n * enum of all boxplot graph events\n */\nexport enum Boxplot {\n\tBOX_MOUSEOVER = 'box-mouseover',\n\tBOX_MOUSEMOVE = 'box-mousemove',\n\tBOX_CLICK = 'box-click',\n\tBOX_MOUSEOUT = 'box-mouseout',\n\tOUTLIER_MOUSEOVER = 'outlier-mouseover',\n\tOUTLIER_MOUSEMOVE = 'outlier-mousemove',\n\tOUTLIER_CLICK = 'outlier-click',\n\tOUTLIER_MOUSEOUT = 'outlier-mouseout'\n}\n\n/**\n * enum of all scatter graph events\n */\nexport enum Scatter {\n\tSCATTER_MOUSEOVER = 'scatter-mouseover',\n\tSCATTER_MOUSEMOVE = 'scatter-mousemove',\n\tSCATTER_CLICK = 'scatter-click',\n\tSCATTER_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all line graph events\n */\nexport enum Line {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all radar graph events\n */\nexport enum Radar {\n\tX_AXIS_MOUSEOVER = 'radar-x-axis-mouseover',\n\tX_AXIS_MOUSEMOVE = 'radar-x-axis-mousemove',\n\tX_AXIS_CLICK = 'radar-x-axis-click',\n\tX_AXIS_MOUSEOUT = 'radar-x-axis-mouseout'\n}\n\n/**\n * enum of all tree graph events\n */\nexport enum Tree {\n\tNODE_MOUSEOVER = 'tree-node-mouseover',\n\tNODE_CLICK = 'tree-node-click',\n\tNODE_MOUSEOUT = 'tree-node-mouseout'\n}\n\n/**\n * enum of all treemap graph events\n */\nexport enum Treemap {\n\tLEAF_MOUSEOVER = 'leaf-mouseover',\n\tLEAF_MOUSEMOVE = 'leaf-mousemove',\n\tLEAF_CLICK = 'leaf-click',\n\tLEAF_MOUSEOUT = 'leaf-mouseout'\n}\n\n/**\n * enum of all tooltip events\n */\nexport enum Tooltip {\n\tSHOW = 'show-tooltip',\n\tMOVE = 'move-tooltip',\n\tHIDE = 'hide-tooltip'\n}\n\n/**\n * enum of all threshold events\n */\nexport enum Threshold {\n\tSHOW = 'show-threshold',\n\tHIDE = 'hide-threshold'\n}\n\n/**\n * enum of all legend related events\n */\nexport enum Legend {\n\tITEM_HOVER = 'legend-item-onhover',\n\tITEM_CLICK = 'legend-item-onclick',\n\tITEM_MOUSEOUT = 'legend-item-onmouseout',\n\tITEMS_UPDATE = 'legend-items-update'\n}\n\n/**\n * enum of all circlepack related events\n */\nexport enum CirclePack {\n\tCIRCLE_MOUSEOVER = 'circle-leaf-mouseover',\n\tCIRCLE_CLICK = 'circle-leaf-click',\n\tCIRCLE_MOUSEOUT = 'circle-leaf-mouseout',\n\tCIRCLE_MOUSEMOVE = 'circle-leaf-mousemove'\n}\n\n/**\n * enum of all alluvial related events\n */\nexport enum Alluvial {\n\tNODE_MOUSEOVER = 'alluvial-node-mouseover',\n\tNODE_CLICK = 'alluvial-node-click',\n\tNODE_MOUSEOUT = 'alluvial-node-mouseout',\n\tNODE_MOUSEMOVE = 'alluvial-node-mousemove',\n\tLINE_MOUSEOVER = 'alluvial-line-mouseover',\n\tLINE_CLICK = 'alluvial-line-click',\n\tLINE_MOUSEOUT = 'alluvial-line-mouseout',\n\tLINE_MOUSEMOVE = 'alluvial-line-mousemove'\n}\n\n/**\n * enum of all meter related events\n */\nexport enum Meter {\n\tMETER_MOUSEOVER = 'meter-mouseover',\n\tMETER_CLICK = 'meter-click',\n\tMETER_MOUSEOUT = 'meter-mouseout',\n\tMETER_MOUSEMOVE = 'meter-mousemove'\n}\n\n/**\n * enum of all heatmap related events\n */\nexport enum Heatmap {\n\tHEATMAP_MOUSEOVER = 'heatmap-mouseover',\n\tHEATMAP_CLICK = 'heatmap-click',\n\tHEATMAP_MOUSEOUT = 'heatmap-mouseout',\n\tHEATMAP_MOUSEMOVE = 'hetmap-mousemove'\n}\n\n/**\n * enum of all choropleth related events\n */\nexport enum Choropleth {\n\tCHOROPLETH_MOUSEOVER = 'choropleth-mouseover',\n\tCHOROPLETH_CLICK = 'choropleth-click',\n\tCHOROPLETH_MOUSEOUT = 'choropleth-mouseout',\n\tCHOROPLETH_MOUSEMOVE = 'choropleth-mousemove',\n}\n","import * as EventEnums from './events'\nexport const Events = EventEnums\n\nexport enum RenderTypes {\n\tHTML = 'html',\n\tSVG = 'svg'\n}\n\n/**\n * enum of all supported chart themes\n */\nexport enum ChartTheme {\n\tWHITE = 'white',\n\tG100 = 'g100',\n\tG90 = 'g90',\n\tG10 = 'g10'\n}\n\n/**\n * enum of all color classname types\n */\nexport enum ColorClassNameTypes {\n\tBACKGROUND = 'background',\n\tFILL = 'fill',\n\tSTROKE = 'stroke',\n\tTOOLTIP = 'tooltip'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum AxisPositions {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum ZoomBarTypes {\n\tGRAPH_VIEW = 'graph_view',\n\tSLIDER_VIEW = 'slider_view'\n}\n\n/**\n * enum of all possible truncation types\n */\nexport enum TruncationTypes {\n\tEND_LINE = 'end_line',\n\tMID_LINE = 'mid_line',\n\tFRONT_LINE = 'front_line',\n\tNONE = 'none'\n}\n\n/**\n * enum of all possible cartesian orientations\n * to be used for determining the orientation\n * of graphs being draw over\n * cartesian scales\n */\nexport enum CartesianOrientations {\n\tVERTICAL = 'vertical',\n\tHORIZONTAL = 'horizontal'\n}\n\n/**\n * enum of all possible scale types\n */\nexport enum ScaleTypes {\n\tTIME = 'time',\n\tLINEAR = 'linear',\n\tLOG = 'log',\n\tLABELS = 'labels',\n\tLABELS_RATIO = 'labels-ratio'\n}\n\n/**\n * enum of all possible legend positions\n */\nexport enum LegendPositions {\n\tRIGHT = 'right',\n\tLEFT = 'left',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible alignments\n */\nexport enum Alignments {\n\tLEFT = 'left',\n\tCENTER = 'center',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible legend orientations\n */\nexport enum LegendOrientations {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical'\n}\n\n/**\n * enum of tree types for the tree chart\n */\nexport enum TreeTypes {\n\tTREE = 'tree',\n\tDENDROGRAM = 'dendrogram'\n}\n\n/**\n * enum of all possible layout directions\n */\nexport enum LayoutDirection {\n\tROW = 'row',\n\tCOLUMN = 'column',\n\tROW_REVERSE = 'row-reverse',\n\tCOLUMN_REVERSE = 'column-reverse'\n}\n\n/**\n * enum of all possible layout growth values\n */\nexport enum LayoutGrowth {\n\tFIXED = 'fixed',\n\tPREFERRED = 'preferred',\n\tSTRETCH = 'stretch'\n}\n\n/**\n * enum of all possible layout align-items values\n */\nexport enum LayoutAlignItems {\n\tCENTER = 'center'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum CalloutDirections {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible skeleton/empty state types\n */\nexport enum Skeletons {\n\tGRID = 'grid',\n\tVERT_OR_HORIZ = 'vertOrHoriz',\n\tPIE = 'pie',\n\tDONUT = 'donut'\n}\n\n/**\n * enum of all possible attributes used to aling text horizontally\n */\nexport enum TextAnchor {\n\tSTART = 'start',\n\tMIDDLE = 'middle',\n\tEND = 'end'\n}\n\n/**\n * enum of all possible attributes used to aling text vertically\n */\nexport enum DominantBaseline {\n\tBASELINE = 'baseline',\n\tMIDDLE = 'middle',\n\tHANGING = 'hanging'\n}\n\nexport enum GaugeTypes {\n\tSEMI = 'semi',\n\tFULL = 'full'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum ArrowDirections {\n\tUP = 'up',\n\tDOWN = 'down'\n}\n\n/**\n * enum of carbon statuses\n */\nexport enum Statuses {\n\tSUCCESS = 'success',\n\tWARNING = 'warning',\n\tDANGER = 'danger'\n}\n\n/**\n * enum of axis ticks rotation\n */\nexport enum TickRotations {\n\tALWAYS = 'always',\n\tAUTO = 'auto',\n\tNEVER = 'never'\n}\n\n/**\n * enum of chartTypes that work with combo chart\n */\nexport enum ChartTypes {\n\tSCATTER = 'scatter',\n\tLINE = 'line',\n\tSIMPLE_BAR = 'simple-bar',\n\tSTACKED_BAR = 'stacked-bar',\n\tGROUPED_BAR = 'grouped-bar',\n\tAREA = 'area',\n\tSTACKED_AREA = 'stacked-area'\n}\n\n/**\n * enum of supported toolbar control types\n */\nexport enum ToolbarControlTypes {\n\tEXPORT_CSV = 'Export as CSV',\n\tEXPORT_PNG = 'Export as PNG',\n\tEXPORT_JPG = 'Export as JPG',\n\tZOOM_IN = 'Zoom in',\n\tZOOM_OUT = 'Zoom out',\n\tRESET_ZOOM = 'Reset zoom',\n\tMAKE_FULLSCREEN = 'Make fullscreen',\n\tSHOW_AS_DATATABLE = 'Show as data-table',\n\tCUSTOM = 'Custom'\n}\n\n/**\n * enum of title orientations for _vertical axes_\n */\nexport enum AxisTitleOrientations {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of legend item type\n */\nexport enum LegendItemType {\n\tCHECKBOX = 'checkbox',\n\tRADIUS = 'radius',\n\tAREA = 'area',\n\tSIZE = 'size',\n\tLINE = 'line',\n\tQUARTILE = 'quartile',\n\tZOOM = 'zoom'\n}\n\n/**\n * enum of color legend types\n */\nexport enum ColorLegendType {\n\tLINEAR = 'linear',\n\tQUANTIZE = 'quantize'\n}\n\n/**\n * enum of divider status for heatmap\n */\nexport enum DividerStatus {\n\tON = 'on',\n\tAUTO = 'auto',\n\tOFF = 'off'\n}\n\n/**\n * enum of axis flavor\n */\nexport enum AxisFlavor {\n\tDEFAULT = 'default',\n\tHOVERABLE = 'hoverable'\n}\n\n/**\n * enum of supported projection types\n */\nexport enum Projection {\n\t// Azimuthal Projections\n\tgeoEqualEarth = 'geoEqualEarth',\n\n\t// Conic projections\n\tgeoAlbers = 'geoAlbers',\n\tgeoConicEqualArea = 'geoConicEqualArea',\n\tgeoConicEquidistant = 'geoConicEquidistant',\n\n\t// Cylindrical projections\n\tgeoEquirectangular = 'geoEquirectangular',\n\tgeoMercator = 'geoMercator',\n\tgeoNaturalEarth1 = 'geoNaturalEarth1',\n}\n"],"names":["Chart","Modal","Model","Toolbar","ZoomBar","ZoomDomain","CanvasZoom","Axis","Area","WordCloud","Pie","Gauge","Bar","Boxplot","Scatter","Line","Radar","Tree","Treemap","Tooltip","Threshold","Legend","CirclePack","Alluvial","Meter","Heatmap","Choropleth","Events","EventEnums","RenderTypes","ChartTheme","ColorClassNameTypes","AxisPositions","ZoomBarTypes","TruncationTypes","CartesianOrientations","ScaleTypes","LegendPositions","Alignments","LegendOrientations","TreeTypes","LayoutDirection","LayoutGrowth","LayoutAlignItems","CalloutDirections","Skeletons","TextAnchor","DominantBaseline","GaugeTypes","ArrowDirections","Statuses","TickRotations","ChartTypes","ToolbarControlTypes","AxisTitleOrientations","LegendItemType","ColorLegendType","DividerStatus","AxisFlavor","Projection"],"mappings":"AAGY,IAAAA,sBAAAA,OACXA,EAAA,kBAAkB,mBAClBA,EAAA,SAAS,gBACTA,EAAA,YAAY,mBAGZA,EAAA,WAAW,kBANAA,IAAAA,KAAA,CAAA,CAAA,GAWAC,sBAAAA,OACXA,EAAA,OAAO,cACPA,EAAA,OAAO,cAFIA,IAAAA,KAAA,CAAA,CAAA,GAQAC,sBAAAA,OACXA,EAAA,SAAS,gBADEA,IAAAA,KAAA,CAAA,CAAA,GAOAC,sBAAAA,OACXA,EAAA,qBAAqB,8BACrBA,EAAA,qBAAqB,8BACrBA,EAAA,eAAe,wBAHJA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACXA,EAAA,SAAS,mBACTA,EAAA,kBAAkB,4BAClBA,EAAA,wBAAwB,kCACxBA,EAAA,gBAAgB,0BAJLA,IAAAA,KAAA,CAAA,CAA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,MACLA,EAAA,OAAO,QACPA,EAAA,MAAM,OAHKA,IAAAA,MAAA,CAAA,CAAA,GASAC,uBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,YAAY,aAFDA,IAAAA,MAAA,CAAA,CAAA,GAQAC,uBAAAA,OAEXA,EAAA,gBAAgB,iBAGhBA,EAAA,YAAY,aACZA,EAAA,oBAAoB,qBACpBA,EAAA,sBAAsB,uBAGtBA,EAAA,qBAAqB,sBACrBA,EAAA,cAAc,eACdA,EAAA,mBAAmB,oBAZRA,IAAAA,MAAA,CAAA,CAAA;"}
|
|
1
|
+
{"version":3,"file":"enums-tMKLWMMm.mjs","sources":["../src/interfaces/events.ts","../src/interfaces/enums.ts"],"sourcesContent":["/**\n * enum of all events related to the chart on the DOM\n */\nexport enum Chart {\n\tRENDER_FINISHED = 'render-finished',\n\tRESIZE = 'chart-resize',\n\tMOUSEOVER = 'chart-mouseover',\n\t// MOUSEMOVE = \"chart-mousemove\",\n\t// CLICK = \"chart-click\",\n\tMOUSEOUT = 'chart-mouseout'\n}\n/**\n * enum of all events related to the overlay modal\n */\nexport enum Modal {\n\tSHOW = 'show-modal',\n\tHIDE = 'hide-modal'\n}\n\n/**\n * enum of all events related to the chart model\n */\nexport enum Model {\n\tUPDATE = 'model-update'\n}\n\n/**\n * enum of all toolbar events\n */\nexport enum Toolbar {\n\tSHOW_OVERFLOW_MENU = 'show-toolbar-overflow-menu',\n\tHIDE_OVERFLOW_MENU = 'hide-toolbar-overflow-menu',\n\tBUTTON_CLICK = 'toolbar-button-click'\n}\n\n/**\n * enum of all events related to the zoom-bar\n */\nexport enum ZoomBar {\n\tUPDATE = 'zoom-bar-update',\n\tSELECTION_START = 'zoom-bar-selection-start',\n\tSELECTION_IN_PROGRESS = 'zoom-bar-selection-in-progress',\n\tSELECTION_END = 'zoom-bar-selection-end'\n}\n\n/**\n * enum of all events related to the zoom domain\n */\nexport enum ZoomDomain {\n\tCHANGE = 'zoom-domain-change'\n}\n\n/** enum of all events related to canvas zoom *\n *\n */\nexport enum CanvasZoom {\n\tCANVAS_ZOOM_IN = 'canvas-zoom-in',\n\tCANVAS_ZOOM_OUT = 'canvas-zoom-out'\n}\n\n/**\n * enum of all axis-related events\n */\nexport enum Axis {\n\tLABEL_MOUSEOVER = 'axis-label-mouseover',\n\tLABEL_MOUSEMOVE = 'axis-label-mousemove',\n\tLABEL_CLICK = 'axis-label-click',\n\tLABEL_MOUSEOUT = 'axis-label-mouseout',\n\tLABEL_FOCUS = 'axis-label-focus',\n\tLABEL_BLUR = 'axis-label-blur',\n\tRENDER_COMPLETE = 'axis-render-complete'\n}\n\n/**\n * enum of all area graph events\n */\nexport enum Area {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all wordcloud graph events\n */\nexport enum WordCloud {\n\tWORD_MOUSEOVER = 'wordcloud-word-mouseover',\n\tWORD_MOUSEMOVE = 'wordcloud-word-mousemove',\n\tWORD_CLICK = 'wordcloud-word-click',\n\tWORD_MOUSEOUT = 'wordcloud-word-mouseout'\n}\n\n/**\n * enum of all pie graph events\n */\nexport enum Pie {\n\tSLICE_MOUSEOVER = 'pie-slice-mouseover',\n\tSLICE_MOUSEMOVE = 'pie-slice-mousemove',\n\tSLICE_CLICK = 'pie-slice-click',\n\tSLICE_MOUSEOUT = 'pie-slice-mouseout'\n}\n\n/**\n * enum of all gauge graph events\n */\nexport enum Gauge {\n\tARC_MOUSEOVER = 'gauge-arc-mouseover',\n\tARC_MOUSEMOVE = 'gauge-arc-mousemove',\n\tARC_CLICK = 'gauge-arc-click',\n\tARC_MOUSEOUT = 'gauge-arc-mouseout'\n}\n\n/**\n * enum of all bar graph events\n */\nexport enum Bar {\n\tBAR_MOUSEOVER = 'bar-mouseover',\n\tBAR_MOUSEMOVE = 'bar-mousemove',\n\tBAR_CLICK = 'bar-click',\n\tBAR_MOUSEOUT = 'bar-mouseout'\n}\n\n/**\n * enum of all boxplot graph events\n */\nexport enum Boxplot {\n\tBOX_MOUSEOVER = 'box-mouseover',\n\tBOX_MOUSEMOVE = 'box-mousemove',\n\tBOX_CLICK = 'box-click',\n\tBOX_MOUSEOUT = 'box-mouseout',\n\tOUTLIER_MOUSEOVER = 'outlier-mouseover',\n\tOUTLIER_MOUSEMOVE = 'outlier-mousemove',\n\tOUTLIER_CLICK = 'outlier-click',\n\tOUTLIER_MOUSEOUT = 'outlier-mouseout'\n}\n\n/**\n * enum of all scatter graph events\n */\nexport enum Scatter {\n\tSCATTER_MOUSEOVER = 'scatter-mouseover',\n\tSCATTER_MOUSEMOVE = 'scatter-mousemove',\n\tSCATTER_CLICK = 'scatter-click',\n\tSCATTER_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all line graph events\n */\nexport enum Line {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all radar graph events\n */\nexport enum Radar {\n\tX_AXIS_MOUSEOVER = 'radar-x-axis-mouseover',\n\tX_AXIS_MOUSEMOVE = 'radar-x-axis-mousemove',\n\tX_AXIS_CLICK = 'radar-x-axis-click',\n\tX_AXIS_MOUSEOUT = 'radar-x-axis-mouseout'\n}\n\n/**\n * enum of all tree graph events\n */\nexport enum Tree {\n\tNODE_MOUSEOVER = 'tree-node-mouseover',\n\tNODE_CLICK = 'tree-node-click',\n\tNODE_MOUSEOUT = 'tree-node-mouseout'\n}\n\n/**\n * enum of all treemap graph events\n */\nexport enum Treemap {\n\tLEAF_MOUSEOVER = 'leaf-mouseover',\n\tLEAF_MOUSEMOVE = 'leaf-mousemove',\n\tLEAF_CLICK = 'leaf-click',\n\tLEAF_MOUSEOUT = 'leaf-mouseout'\n}\n\n/**\n * enum of all tooltip events\n */\nexport enum Tooltip {\n\tSHOW = 'show-tooltip',\n\tMOVE = 'move-tooltip',\n\tHIDE = 'hide-tooltip'\n}\n\n/**\n * enum of all threshold events\n */\nexport enum Threshold {\n\tSHOW = 'show-threshold',\n\tHIDE = 'hide-threshold'\n}\n\n/**\n * enum of all legend related events\n */\nexport enum Legend {\n\tITEM_HOVER = 'legend-item-onhover',\n\tITEM_CLICK = 'legend-item-onclick',\n\tITEM_MOUSEOUT = 'legend-item-onmouseout',\n\tITEMS_UPDATE = 'legend-items-update'\n}\n\n/**\n * enum of all circlepack related events\n */\nexport enum CirclePack {\n\tCIRCLE_MOUSEOVER = 'circle-leaf-mouseover',\n\tCIRCLE_CLICK = 'circle-leaf-click',\n\tCIRCLE_MOUSEOUT = 'circle-leaf-mouseout',\n\tCIRCLE_MOUSEMOVE = 'circle-leaf-mousemove'\n}\n\n/**\n * enum of all alluvial related events\n */\nexport enum Alluvial {\n\tNODE_MOUSEOVER = 'alluvial-node-mouseover',\n\tNODE_CLICK = 'alluvial-node-click',\n\tNODE_MOUSEOUT = 'alluvial-node-mouseout',\n\tNODE_MOUSEMOVE = 'alluvial-node-mousemove',\n\tLINE_MOUSEOVER = 'alluvial-line-mouseover',\n\tLINE_CLICK = 'alluvial-line-click',\n\tLINE_MOUSEOUT = 'alluvial-line-mouseout',\n\tLINE_MOUSEMOVE = 'alluvial-line-mousemove'\n}\n\n/**\n * enum of all meter related events\n */\nexport enum Meter {\n\tMETER_MOUSEOVER = 'meter-mouseover',\n\tMETER_CLICK = 'meter-click',\n\tMETER_MOUSEOUT = 'meter-mouseout',\n\tMETER_MOUSEMOVE = 'meter-mousemove'\n}\n\n/**\n * enum of all heatmap related events\n */\nexport enum Heatmap {\n\tHEATMAP_MOUSEOVER = 'heatmap-mouseover',\n\tHEATMAP_CLICK = 'heatmap-click',\n\tHEATMAP_MOUSEOUT = 'heatmap-mouseout',\n\tHEATMAP_MOUSEMOVE = 'hetmap-mousemove'\n}\n\n/**\n * enum of all choropleth related events\n */\nexport enum Choropleth {\n\tCHOROPLETH_MOUSEOVER = 'choropleth-mouseover',\n\tCHOROPLETH_CLICK = 'choropleth-click',\n\tCHOROPLETH_MOUSEOUT = 'choropleth-mouseout',\n\tCHOROPLETH_MOUSEMOVE = 'choropleth-mousemove',\n}\n","import * as EventEnums from './events'\nexport const Events = EventEnums\n\nexport enum RenderTypes {\n\tHTML = 'html',\n\tSVG = 'svg'\n}\n\n/**\n * enum of all supported chart themes\n */\nexport enum ChartTheme {\n\tWHITE = 'white',\n\tG100 = 'g100',\n\tG90 = 'g90',\n\tG10 = 'g10'\n}\n\n/**\n * enum of all color classname types\n */\nexport enum ColorClassNameTypes {\n\tBACKGROUND = 'background',\n\tFILL = 'fill',\n\tSTROKE = 'stroke',\n\tTOOLTIP = 'tooltip'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum AxisPositions {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum ZoomBarTypes {\n\tGRAPH_VIEW = 'graph_view',\n\tSLIDER_VIEW = 'slider_view'\n}\n\n/**\n * enum of all possible truncation types\n */\nexport enum TruncationTypes {\n\tEND_LINE = 'end_line',\n\tMID_LINE = 'mid_line',\n\tFRONT_LINE = 'front_line',\n\tNONE = 'none'\n}\n\n/**\n * enum of all possible cartesian orientations\n * to be used for determining the orientation\n * of graphs being draw over\n * cartesian scales\n */\nexport enum CartesianOrientations {\n\tVERTICAL = 'vertical',\n\tHORIZONTAL = 'horizontal'\n}\n\n/**\n * enum of all possible scale types\n */\nexport enum ScaleTypes {\n\tTIME = 'time',\n\tLINEAR = 'linear',\n\tLOG = 'log',\n\tLABELS = 'labels',\n\tLABELS_RATIO = 'labels-ratio'\n}\n\n/**\n * enum of all possible legend positions\n */\nexport enum LegendPositions {\n\tRIGHT = 'right',\n\tLEFT = 'left',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible alignments\n */\nexport enum Alignments {\n\tLEFT = 'left',\n\tCENTER = 'center',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible legend orientations\n */\nexport enum LegendOrientations {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical'\n}\n\n/**\n * enum of tree types for the tree chart\n */\nexport enum TreeTypes {\n\tTREE = 'tree',\n\tDENDROGRAM = 'dendrogram'\n}\n\n/**\n * enum of all possible layout directions\n */\nexport enum LayoutDirection {\n\tROW = 'row',\n\tCOLUMN = 'column',\n\tROW_REVERSE = 'row-reverse',\n\tCOLUMN_REVERSE = 'column-reverse'\n}\n\n/**\n * enum of all possible layout growth values\n */\nexport enum LayoutGrowth {\n\tFIXED = 'fixed',\n\tPREFERRED = 'preferred',\n\tSTRETCH = 'stretch'\n}\n\n/**\n * enum of all possible layout align-items values\n */\nexport enum LayoutAlignItems {\n\tCENTER = 'center'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum CalloutDirections {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible skeleton/empty state types\n */\nexport enum Skeletons {\n\tGRID = 'grid',\n\tVERT_OR_HORIZ = 'vertOrHoriz',\n\tPIE = 'pie',\n\tDONUT = 'donut'\n}\n\n/**\n * enum of all possible attributes used to aling text horizontally\n */\nexport enum TextAnchor {\n\tSTART = 'start',\n\tMIDDLE = 'middle',\n\tEND = 'end'\n}\n\n/**\n * enum of all possible attributes used to aling text vertically\n */\nexport enum DominantBaseline {\n\tBASELINE = 'baseline',\n\tMIDDLE = 'middle',\n\tHANGING = 'hanging'\n}\n\nexport enum GaugeTypes {\n\tSEMI = 'semi',\n\tFULL = 'full'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum ArrowDirections {\n\tUP = 'up',\n\tDOWN = 'down'\n}\n\n/**\n * enum of carbon statuses\n */\nexport enum Statuses {\n\tSUCCESS = 'success',\n\tWARNING = 'warning',\n\tDANGER = 'danger'\n}\n\n/**\n * enum of axis ticks rotation\n */\nexport enum TickRotations {\n\tALWAYS = 'always',\n\tAUTO = 'auto',\n\tNEVER = 'never'\n}\n\n/**\n * enum of chartTypes that work with combo chart\n */\nexport enum ChartTypes {\n\tSCATTER = 'scatter',\n\tLINE = 'line',\n\tSIMPLE_BAR = 'simple-bar',\n\tSTACKED_BAR = 'stacked-bar',\n\tGROUPED_BAR = 'grouped-bar',\n\tAREA = 'area',\n\tSTACKED_AREA = 'stacked-area'\n}\n\n/**\n * enum of supported toolbar control types\n */\nexport enum ToolbarControlTypes {\n\tEXPORT_CSV = 'Export as CSV',\n\tEXPORT_PNG = 'Export as PNG',\n\tEXPORT_JPG = 'Export as JPG',\n\tZOOM_IN = 'Zoom in',\n\tZOOM_OUT = 'Zoom out',\n\tRESET_ZOOM = 'Reset zoom',\n\tMAKE_FULLSCREEN = 'Make fullscreen',\n\tSHOW_AS_DATATABLE = 'Show as data-table',\n\tCUSTOM = 'Custom'\n}\n\n/**\n * enum of title orientations for _vertical axes_\n */\nexport enum AxisTitleOrientations {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of legend item type\n */\nexport enum LegendItemType {\n\tCHECKBOX = 'checkbox',\n\tRADIUS = 'radius',\n\tAREA = 'area',\n\tSIZE = 'size',\n\tLINE = 'line',\n\tQUARTILE = 'quartile',\n\tZOOM = 'zoom'\n}\n\n/**\n * enum of color legend types\n */\nexport enum ColorLegendType {\n\tLINEAR = 'linear',\n\tQUANTIZE = 'quantize'\n}\n\n/**\n * enum of divider status for heatmap\n */\nexport enum DividerStatus {\n\tON = 'on',\n\tAUTO = 'auto',\n\tOFF = 'off'\n}\n\n/**\n * enum of axis flavor\n */\nexport enum AxisFlavor {\n\tDEFAULT = 'default',\n\tHOVERABLE = 'hoverable'\n}\n\n/**\n * enum of supported projection types\n */\nexport enum Projection {\n\t// Azimuthal Projections\n\tgeoEqualEarth = 'geoEqualEarth',\n\n\t// Conic projections\n\tgeoAlbers = 'geoAlbers',\n\tgeoConicEqualArea = 'geoConicEqualArea',\n\tgeoConicEquidistant = 'geoConicEquidistant',\n\n\t// Cylindrical projections\n\tgeoEquirectangular = 'geoEquirectangular',\n\tgeoMercator = 'geoMercator',\n\tgeoNaturalEarth1 = 'geoNaturalEarth1',\n}\n"],"names":["Chart","Modal","Model","Toolbar","ZoomBar","ZoomDomain","CanvasZoom","Axis","Area","WordCloud","Pie","Gauge","Bar","Boxplot","Scatter","Line","Radar","Tree","Treemap","Tooltip","Threshold","Legend","CirclePack","Alluvial","Meter","Heatmap","Choropleth","Events","EventEnums","RenderTypes","ChartTheme","ColorClassNameTypes","AxisPositions","ZoomBarTypes","TruncationTypes","CartesianOrientations","ScaleTypes","LegendPositions","Alignments","LegendOrientations","TreeTypes","LayoutDirection","LayoutGrowth","LayoutAlignItems","CalloutDirections","Skeletons","TextAnchor","DominantBaseline","GaugeTypes","ArrowDirections","Statuses","TickRotations","ChartTypes","ToolbarControlTypes","AxisTitleOrientations","LegendItemType","ColorLegendType","DividerStatus","AxisFlavor","Projection"],"mappings":"AAGY,IAAAA,sBAAAA,OACXA,EAAA,kBAAkB,mBAClBA,EAAA,SAAS,gBACTA,EAAA,YAAY,mBAGZA,EAAA,WAAW,kBANAA,IAAAA,KAAA,CAAA,CAAA,GAWAC,sBAAAA,OACXA,EAAA,OAAO,cACPA,EAAA,OAAO,cAFIA,IAAAA,KAAA,CAAA,CAAA,GAQAC,sBAAAA,OACXA,EAAA,SAAS,gBADEA,IAAAA,KAAA,CAAA,CAAA,GAOAC,sBAAAA,OACXA,EAAA,qBAAqB,8BACrBA,EAAA,qBAAqB,8BACrBA,EAAA,eAAe,wBAHJA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACXA,EAAA,SAAS,mBACTA,EAAA,kBAAkB,4BAClBA,EAAA,wBAAwB,kCACxBA,EAAA,gBAAgB,0BAJLA,IAAAA,KAAA,CAAA,CAAA,GAUAC,sBAAAA,OACXA,EAAA,SAAS,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,OAHKA,IAAAA,MAAA,CAAA,CAAA,GASAC,uBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,YAAY,aAFDA,IAAAA,MAAA,CAAA,CAAA,GAQAC,uBAAAA,OAEXA,EAAA,gBAAgB,iBAGhBA,EAAA,YAAY,aACZA,EAAA,oBAAoB,qBACpBA,EAAA,sBAAsB,uBAGtBA,EAAA,qBAAqB,sBACrBA,EAAA,cAAc,eACdA,EAAA,mBAAmB,oBAZRA,IAAAA,MAAA,CAAA,CAAA;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as a } from "./a11y-
|
|
2
|
-
import { A as e, a as s, b as o, c as t, d as n, e as r, f as i, B as l, g as v, C as T, h as m, i as E, j as p, k as d, l as u, m as y, n as C, D as c, o as g, E as h, G as A, p as x, L, q as S, r as B, s as D, t as Z, u as P, v as R, M as b, w as M, P as O, x as f, R as G, y as j, S as _, z as k, F as w, H as I, T as W, I as z, J as F, K as N, N as q, O as H, Q as J, U as K, V as Q, W as U, Z as V, X, Y } from "./enums-
|
|
1
|
+
import { R as a } from "./a11y-SOU26cr5.mjs";
|
|
2
|
+
import { A as e, a as s, b as o, c as t, d as n, e as r, f as i, B as l, g as v, C as T, h as m, i as E, j as p, k as d, l as u, m as y, n as C, D as c, o as g, E as h, G as A, p as x, L, q as S, r as B, s as D, t as Z, u as P, v as R, M as b, w as M, P as O, x as f, R as G, y as j, S as _, z as k, F as w, H as I, T as W, I as z, J as F, K as N, N as q, O as H, Q as J, U as K, V as Q, W as U, Z as V, X, Y } from "./enums-tMKLWMMm.mjs";
|
|
3
3
|
const ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
Alignments: e,
|
|
@@ -59,4 +59,4 @@ const ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
59
59
|
export {
|
|
60
60
|
ea as i
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=index-
|
|
62
|
+
//# sourceMappingURL=index-Ez18Vgtt.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-Ez18Vgtt.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as Bt,
|
|
3
|
-
import { i as vo } from "./index-
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
import { A as wo, a as Eo, b as Ro, c as To, d as bo, f as Oo, B as fo, g as So, C as Ao, h as xo, i as yo, j as Do, k as Fo, m as Lo, n as Po, D as Mo, o as ko, G as Bo, p as Io, s as Ho, v as Go, M as Vo, w as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { C as ms, E as ls, F as ps, T as ds,
|
|
10
|
-
import { D as ws, G as Es } from "./angle-utils-
|
|
11
|
-
import { S as bn, d as On, a as fn, p as Sn, b as An, r as xn } from "./angle-utils-
|
|
1
|
+
import { C as Y, m as l, D as a, E as r, t as J, x as V } from "./color-scale-utils-xGxEq2HZ.mjs";
|
|
2
|
+
import { T as Bt, G as It, H as Ht, I as Gt, J as Vt, K as Ut, L as Nt, n as Zt, M as _t, y as zt, c as Wt, F as $t, N as jt, f as Kt, b as Jt, g as Xt, a as qt, d as Qt, O as Yt, u as eo, i as so, s as to, P as oo, Q as no, R as io, S as ro, U as ao, V as ho, W as co, Z as mo, X as lo, Y as po, _ as Co } from "./color-scale-utils-xGxEq2HZ.mjs";
|
|
3
|
+
import { i as vo } from "./index-Ez18Vgtt.mjs";
|
|
4
|
+
import { C as Re, c as Te, A as be, B as Oe, a as fe, d as Se, e as Ae, P as xe, G as ye, H as De, b as Fe, M as Le, R as Pe, T as Me, f as ke, W as Be } from "./wordcloud-R5RMMPUP.mjs";
|
|
5
|
+
import { _ as $, r as i, q as c, L as Z, y as A, t as U, e as j, S as Ie, u as K, F as p, l as R } from "./enums-tMKLWMMm.mjs";
|
|
6
|
+
import { A as wo, a as Eo, b as Ro, c as To, d as bo, f as Oo, B as fo, g as So, C as Ao, h as xo, i as yo, j as Do, k as Fo, m as Lo, n as Po, D as Mo, o as ko, G as Bo, p as Io, s as Ho, v as Go, M as Vo, w as Uo, P as No, x as Zo, R as _o, z as zo, H as Wo, T as $o, I as jo, J as Ko, K as Jo, N as Xo, O as qo, Q as Qo, U as Yo, V as en, W as sn, Z as tn, X as on, Y as nn } from "./enums-tMKLWMMm.mjs";
|
|
7
|
+
import { a9 as He, L as ee, l as Ge, r as _, T as z, a6 as g, a7 as F, u as se, p as W, C as Ve, a as Ue, q as Ne, o as Ze, c as _e, k as te, v as ze, b as d, G as w, R as B, P as k, w as oe, X as M, _ as C, y as We, Z as I, z as $e, D as je, m as ne, E as Ke, F as Je, a0 as ie, a2 as re, S as N, Y as ae, K as he, a1 as ce, V as Xe, I as qe, J as Qe, N as Ye, B as es, O as ss, $ as ts, Q as os, M as ns, U as is, W as rs, a3 as as, a4 as hs, a5 as cs } from "./choropleth-OVZrVx-E.mjs";
|
|
8
|
+
import { A as an, x as hn, a8 as cn, n as mn, H as ln, d as pn, e as dn, f as Cn, g as un, h as vn, i as gn, j as wn, s as En, t as Rn } from "./choropleth-OVZrVx-E.mjs";
|
|
9
|
+
import { C as ms, E as ls, F as ps, T as ds, b as Cs, a as us, Z as vs, f as gs } from "./zoom-WD9MTgCJ.mjs";
|
|
10
|
+
import { D as ws, G as Es } from "./angle-utils-lGS6958-.mjs";
|
|
11
|
+
import { S as bn, d as On, a as fn, p as Sn, b as An, r as xn } from "./angle-utils-lGS6958-.mjs";
|
|
12
12
|
import "d3";
|
|
13
|
-
import "./a11y-
|
|
14
|
-
import "./_baseEach-
|
|
13
|
+
import "./a11y-SOU26cr5.mjs";
|
|
14
|
+
import "./_baseEach-_pb8o-nX.mjs";
|
|
15
15
|
import "d3-sankey";
|
|
16
16
|
import "d3-cloud";
|
|
17
17
|
function Rs(o, e, s) {
|
|
@@ -32,7 +32,7 @@ function me(o) {
|
|
|
32
32
|
function Fs(o) {
|
|
33
33
|
return o.split("");
|
|
34
34
|
}
|
|
35
|
-
var le = "\\ud800-\\udfff", Ls = "\\u0300-\\u036f", Ps = "\\ufe20-\\ufe2f", Ms = "\\u20d0-\\u20ff", ks = Ls + Ps + Ms, Bs = "\\ufe0e\\ufe0f", Is = "[" + le + "]",
|
|
35
|
+
var le = "\\ud800-\\udfff", Ls = "\\u0300-\\u036f", Ps = "\\ufe20-\\ufe2f", Ms = "\\u20d0-\\u20ff", ks = Ls + Ps + Ms, Bs = "\\ufe0e\\ufe0f", Is = "[" + le + "]", X = "[" + ks + "]", q = "\\ud83c[\\udffb-\\udfff]", Hs = "(?:" + X + "|" + q + ")", pe = "[^" + le + "]", de = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ce = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gs = "\\u200d", ue = Hs + "?", ve = "[" + Bs + "]?", Vs = "(?:" + Gs + "(?:" + [pe, de, Ce].join("|") + ")" + ve + ue + ")*", Us = ve + ue + Vs, Ns = "(?:" + [pe + X + "?", X, de, Ce, Is].join("|") + ")", Zs = RegExp(q + "(?=" + q + ")|" + Ns + Us, "g");
|
|
36
36
|
function _s(o) {
|
|
37
37
|
return o.match(Zs) || [];
|
|
38
38
|
}
|
|
@@ -46,15 +46,15 @@ function Ws(o) {
|
|
|
46
46
|
return n[o]() + t;
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
var
|
|
50
|
-
const
|
|
49
|
+
var $s = Ws("toUpperCase");
|
|
50
|
+
const js = $s;
|
|
51
51
|
function Ks(o) {
|
|
52
|
-
return
|
|
52
|
+
return js(Y(o).toLowerCase());
|
|
53
53
|
}
|
|
54
54
|
var Js = He(function(o, e, s) {
|
|
55
55
|
return e = e.toLowerCase(), o + (s ? Ks(e) : e);
|
|
56
56
|
});
|
|
57
|
-
const
|
|
57
|
+
const Xs = Js;
|
|
58
58
|
class T {
|
|
59
59
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
60
60
|
// @ts-ignore
|
|
@@ -74,10 +74,10 @@ class T {
|
|
|
74
74
|
this.model.set({ holder: e }, { skipUpdate: !0 }), Object.keys(this.services).forEach((n) => {
|
|
75
75
|
const t = this.services[n];
|
|
76
76
|
this.services[n] = new t(this.model, this.services);
|
|
77
|
-
}), this.services.events.addEventListener(
|
|
77
|
+
}), this.services.events.addEventListener($.Model.UPDATE, (n) => {
|
|
78
78
|
const t = !!l(n, "detail", "animate");
|
|
79
79
|
this.update(t);
|
|
80
|
-
}), this.model.setData(s.data), this.services.events.addEventListener(
|
|
80
|
+
}), this.model.setData(s.data), this.services.events.addEventListener($.Chart.RESIZE, () => {
|
|
81
81
|
this.update(!1);
|
|
82
82
|
}), this.components = this.getComponents(), this.update();
|
|
83
83
|
}
|
|
@@ -92,7 +92,7 @@ class T {
|
|
|
92
92
|
}), this.components.forEach((t) => t.render(e));
|
|
93
93
|
const s = this.services.transitions.getPendingTransitions(), n = Object.keys(s).map((t) => s[t].end().catch((m) => m));
|
|
94
94
|
Promise.all(n).then(
|
|
95
|
-
() => this.services.events.dispatchEvent(
|
|
95
|
+
() => this.services.events.dispatchEvent($.Chart.RENDER_FINISHED)
|
|
96
96
|
);
|
|
97
97
|
}
|
|
98
98
|
destroy() {
|
|
@@ -140,7 +140,7 @@ class T {
|
|
|
140
140
|
let f = c.COLUMN;
|
|
141
141
|
if (D) {
|
|
142
142
|
const S = l(n, "legend", "position");
|
|
143
|
-
S === "left" ? (f = c.ROW, n.legend.orientation || (n.legend.orientation =
|
|
143
|
+
S === "left" ? (f = c.ROW, n.legend.orientation || (n.legend.orientation = U.VERTICAL)) : S === "right" ? (f = c.ROW_REVERSE, n.legend.orientation || (n.legend.orientation = U.VERTICAL)) : S === "bottom" && (f = c.COLUMN_REVERSE);
|
|
144
144
|
}
|
|
145
145
|
const P = {
|
|
146
146
|
id: "spacer",
|
|
@@ -193,9 +193,9 @@ class u extends T {
|
|
|
193
193
|
}), this.model = new Te(this.services);
|
|
194
194
|
}
|
|
195
195
|
getAxisChartComponents(e, s) {
|
|
196
|
-
const n = this.model.getOptions(), t = l(n, "zoomBar",
|
|
196
|
+
const n = this.model.getOptions(), t = l(n, "zoomBar", j.TOP, "enabled"), h = l(n, "toolbar", "enabled");
|
|
197
197
|
this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
|
|
198
|
-
const m = this.services.cartesianScales.getMainXAxisPosition(), b = l(n, "axes", m, "scaleType"), O = t && m ===
|
|
198
|
+
const m = this.services.cartesianScales.getMainXAxisPosition(), b = l(n, "axes", m, "scaleType"), O = t && m === j.BOTTOM && b === Ie.TIME, x = this.services.zoom.isZoomBarLocked(j.TOP), L = !!this.model.getOptions().title, y = {
|
|
199
199
|
id: "title",
|
|
200
200
|
components: [new _(this.model, this.services)],
|
|
201
201
|
growth: i.STRETCH
|
|
@@ -228,8 +228,8 @@ class u extends T {
|
|
|
228
228
|
};
|
|
229
229
|
O && !x && e.push(
|
|
230
230
|
new Ve(this.model, this.services),
|
|
231
|
-
new
|
|
232
|
-
), e.push(new
|
|
231
|
+
new Ue(this.model, this.services)
|
|
232
|
+
), e.push(new Ne(this.model, this.services)), e.push(new Ze(this.model, this.services));
|
|
233
233
|
const v = {
|
|
234
234
|
id: "graph-frame",
|
|
235
235
|
components: e,
|
|
@@ -239,7 +239,7 @@ class u extends T {
|
|
|
239
239
|
let S = c.COLUMN;
|
|
240
240
|
if (E) {
|
|
241
241
|
const G = l(this.model.getOptions(), "legend", "position");
|
|
242
|
-
G === K.LEFT ? (S = c.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation =
|
|
242
|
+
G === K.LEFT ? (S = c.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = U.VERTICAL)) : G === K.RIGHT ? (S = c.ROW_REVERSE, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = U.VERTICAL)) : G === K.BOTTOM && (S = c.COLUMN_REVERSE);
|
|
243
243
|
}
|
|
244
244
|
const ge = {
|
|
245
245
|
id: "spacer",
|
|
@@ -351,7 +351,7 @@ class pt extends u {
|
|
|
351
351
|
new d(this.model, this.services),
|
|
352
352
|
new w(this.model, this.services),
|
|
353
353
|
new B(this.model, this.services),
|
|
354
|
-
new
|
|
354
|
+
new $e(this.model, this.services),
|
|
355
355
|
new C(this.model, this.services, {
|
|
356
356
|
skeleton: p.GRID
|
|
357
357
|
})
|
|
@@ -367,7 +367,7 @@ class dt extends u {
|
|
|
367
367
|
const e = [
|
|
368
368
|
new d(this.model, this.services),
|
|
369
369
|
new w(this.model, this.services),
|
|
370
|
-
new
|
|
370
|
+
new je(this.model, this.services),
|
|
371
371
|
new C(this.model, this.services, {
|
|
372
372
|
skeleton: p.GRID
|
|
373
373
|
})
|
|
@@ -483,10 +483,10 @@ const Q = {
|
|
|
483
483
|
[R.LINE]: [k, M],
|
|
484
484
|
[R.SCATTER]: [M],
|
|
485
485
|
[R.AREA]: [oe, k, M],
|
|
486
|
-
[R.STACKED_AREA]: [ie, k, re,
|
|
486
|
+
[R.STACKED_AREA]: [ie, k, re, N],
|
|
487
487
|
[R.SIMPLE_BAR]: [ae],
|
|
488
488
|
[R.GROUPED_BAR]: [he, I],
|
|
489
|
-
[R.STACKED_BAR]: [ce,
|
|
489
|
+
[R.STACKED_BAR]: [ce, N]
|
|
490
490
|
};
|
|
491
491
|
class vt extends u {
|
|
492
492
|
constructor(e, s) {
|
|
@@ -506,7 +506,7 @@ class vt extends u {
|
|
|
506
506
|
`Invalid chart type "${t.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
|
|
507
507
|
), null;
|
|
508
508
|
let b = !1;
|
|
509
|
-
const O = `${
|
|
509
|
+
const O = `${Xs(t.type)}Chart`;
|
|
510
510
|
return m = V(
|
|
511
511
|
{},
|
|
512
512
|
r[O],
|
|
@@ -544,14 +544,14 @@ class vt extends u {
|
|
|
544
544
|
return this.getAxisChartComponents(n);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
class
|
|
547
|
+
class qs extends T {
|
|
548
548
|
// TODO - Optimize the use of "extending"
|
|
549
549
|
constructor(e, s, n = !1) {
|
|
550
550
|
super(e, s), this.model = new xe(this.services), !n && (this.model.setOptions(a(r.pieChart, s.options)), this.init(e, s));
|
|
551
551
|
}
|
|
552
552
|
getComponents() {
|
|
553
553
|
const e = [
|
|
554
|
-
new
|
|
554
|
+
new Xe(this.model, this.services),
|
|
555
555
|
new C(this.model, this.services, {
|
|
556
556
|
skeleton: p.PIE
|
|
557
557
|
})
|
|
@@ -559,13 +559,13 @@ class Xs extends T {
|
|
|
559
559
|
return this.getChartComponents(e);
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
class gt extends
|
|
562
|
+
class gt extends qs {
|
|
563
563
|
constructor(e, s) {
|
|
564
564
|
super(e, s, !0), this.model.setOptions(a(r.donutChart, s.options)), this.init(e, s);
|
|
565
565
|
}
|
|
566
566
|
getComponents() {
|
|
567
567
|
const e = [
|
|
568
|
-
new
|
|
568
|
+
new qe(this.model, this.services),
|
|
569
569
|
new C(this.model, this.services, {
|
|
570
570
|
skeleton: p.DONUT
|
|
571
571
|
})
|
|
@@ -862,7 +862,7 @@ class Ft extends u {
|
|
|
862
862
|
const e = [
|
|
863
863
|
new d(this.model, this.services),
|
|
864
864
|
new w(this.model, this.services),
|
|
865
|
-
new
|
|
865
|
+
new N(this.model, this.services),
|
|
866
866
|
new ie(this.model, this.services),
|
|
867
867
|
new k(this.model, this.services, { stacked: !0 }),
|
|
868
868
|
new re(this.model, this.services, {
|
|
@@ -885,7 +885,7 @@ class Lt extends u {
|
|
|
885
885
|
const e = [
|
|
886
886
|
new d(this.model, this.services),
|
|
887
887
|
new w(this.model, this.services),
|
|
888
|
-
new
|
|
888
|
+
new N(this.model, this.services),
|
|
889
889
|
new ce(this.model, this.services),
|
|
890
890
|
new C(this.model, this.services, {
|
|
891
891
|
skeleton: p.VERT_OR_HORIZ
|
|
@@ -923,7 +923,7 @@ export {
|
|
|
923
923
|
te as AxisChartsTooltip,
|
|
924
924
|
To as AxisEvent,
|
|
925
925
|
bo as AxisFlavor,
|
|
926
|
-
|
|
926
|
+
j as AxisPositions,
|
|
927
927
|
Oo as AxisTitleOrientations,
|
|
928
928
|
hn as Bar,
|
|
929
929
|
fo as BarEvent,
|
|
@@ -932,9 +932,9 @@ export {
|
|
|
932
932
|
lt as BoxplotChart,
|
|
933
933
|
Oe as BoxplotChartModel,
|
|
934
934
|
So as BoxplotEvent,
|
|
935
|
-
|
|
935
|
+
$e as Bubble,
|
|
936
936
|
pt as BubbleChart,
|
|
937
|
-
|
|
937
|
+
je as Bullet,
|
|
938
938
|
dt as BulletChart,
|
|
939
939
|
fe as BulletChartModel,
|
|
940
940
|
Ao as CalloutDirections,
|
|
@@ -944,7 +944,7 @@ export {
|
|
|
944
944
|
yo as CartesianOrientations,
|
|
945
945
|
Cs as CartesianScales,
|
|
946
946
|
T as Chart,
|
|
947
|
-
|
|
947
|
+
Ue as ChartBrush,
|
|
948
948
|
Ve as ChartClip,
|
|
949
949
|
Do as ChartEvent,
|
|
950
950
|
Re as ChartModel,
|
|
@@ -966,7 +966,7 @@ export {
|
|
|
966
966
|
ws as DOMUtils,
|
|
967
967
|
Mo as DividerStatus,
|
|
968
968
|
ko as DominantBaseline,
|
|
969
|
-
|
|
969
|
+
qe as Donut,
|
|
970
970
|
gt as DonutChart,
|
|
971
971
|
ls as Events,
|
|
972
972
|
Ct as ExperimentalChoroplethChart,
|
|
@@ -994,7 +994,7 @@ export {
|
|
|
994
994
|
i as LayoutGrowth,
|
|
995
995
|
ee as Legend,
|
|
996
996
|
Ho as LegendItemType,
|
|
997
|
-
|
|
997
|
+
U as LegendOrientations,
|
|
998
998
|
K as LegendPositions,
|
|
999
999
|
k as Line,
|
|
1000
1000
|
bt as LineChart,
|
|
@@ -1007,11 +1007,11 @@ export {
|
|
|
1007
1007
|
ns as MeterTitle,
|
|
1008
1008
|
W as Modal,
|
|
1009
1009
|
Vo as ModalEvent,
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1010
|
+
Uo as ModelEvent,
|
|
1011
|
+
Xe as Pie,
|
|
1012
|
+
qs as PieChart,
|
|
1013
1013
|
xe as PieChartModel,
|
|
1014
|
-
|
|
1014
|
+
No as PieEvent,
|
|
1015
1015
|
Zo as Projection,
|
|
1016
1016
|
rs as Radar,
|
|
1017
1017
|
St as RadarChart,
|
|
@@ -1034,24 +1034,24 @@ export {
|
|
|
1034
1034
|
Ft as StackedAreaChart,
|
|
1035
1035
|
ce as StackedBar,
|
|
1036
1036
|
Lt as StackedBarChart,
|
|
1037
|
-
|
|
1037
|
+
N as StackedRuler,
|
|
1038
1038
|
re as StackedScatter,
|
|
1039
1039
|
Wo as Statuses,
|
|
1040
1040
|
Bt as TIME_INTERVALS,
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1041
|
+
$o as TextAnchor,
|
|
1042
|
+
Ne as Threshold,
|
|
1043
|
+
jo as ThresholdEvent,
|
|
1044
1044
|
Ko as TickRotations,
|
|
1045
1045
|
_ as Title,
|
|
1046
1046
|
z as Toolbar,
|
|
1047
1047
|
Jo as ToolbarControlTypes,
|
|
1048
1048
|
se as Tooltip,
|
|
1049
|
-
|
|
1049
|
+
Xo as TooltipEvent,
|
|
1050
1050
|
ds as Transitions,
|
|
1051
1051
|
as as Tree,
|
|
1052
1052
|
xt as TreeChart,
|
|
1053
1053
|
Me as TreeChartModel,
|
|
1054
|
-
|
|
1054
|
+
qo as TreeEvent,
|
|
1055
1055
|
Qo as TreeTypes,
|
|
1056
1056
|
hs as Treemap,
|
|
1057
1057
|
yt as TreemapChart,
|
|
@@ -1075,25 +1075,25 @@ export {
|
|
|
1075
1075
|
dn as arrowRight,
|
|
1076
1076
|
Gt as axis,
|
|
1077
1077
|
Vt as baseTooltip,
|
|
1078
|
-
|
|
1078
|
+
Ut as boxplot,
|
|
1079
1079
|
Cn as buildBezierPathString,
|
|
1080
1080
|
un as buildElbowPathString,
|
|
1081
1081
|
vn as buildStraightPathString,
|
|
1082
|
-
|
|
1082
|
+
Nt as canvasZoomSettings,
|
|
1083
1083
|
Zt as carbonPrefix,
|
|
1084
1084
|
gn as circle,
|
|
1085
1085
|
_t as circlePack,
|
|
1086
1086
|
zt as color,
|
|
1087
1087
|
Wt as computeTimeIntervalName,
|
|
1088
|
-
|
|
1089
|
-
|
|
1088
|
+
$t as configurations,
|
|
1089
|
+
jt as defaultLegendAdditionalItems,
|
|
1090
1090
|
On as degToRad,
|
|
1091
1091
|
wn as diamond,
|
|
1092
1092
|
fn as distanceBetweenPointOnCircAndVerticalDiameter,
|
|
1093
1093
|
Kt as formatDateTillMilliSeconds,
|
|
1094
1094
|
Jt as formatTick,
|
|
1095
|
-
|
|
1096
|
-
|
|
1095
|
+
Xt as getColorScale,
|
|
1096
|
+
qt as getDomain,
|
|
1097
1097
|
Qt as getTimeformats,
|
|
1098
1098
|
Yt as grid,
|
|
1099
1099
|
eo as histogram,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as e } from "../a11y-
|
|
2
|
-
import { A as o, a as n, b as r, c as i, d as v, e as T, f as l, B as E, g as p, C as m, h as y, i as d, j as C, k as u, l as c, m as A, n as g, D as h, o as x, E as L, G as D, p as R, L as S, q as B, r as P, s as Z, t as G, u as O, v as b, M as f, w as k, P as w, x as I, R as M, y as j, S as F, z as N, F as W, H as q, T as z, I as H, J, K, N as Q, O as U, Q as V, U as X, V as Y, W as _, Z as $, X as aa, Y as sa } from "../enums-
|
|
1
|
+
import { R as e } from "../a11y-SOU26cr5.mjs";
|
|
2
|
+
import { A as o, a as n, b as r, c as i, d as v, e as T, f as l, B as E, g as p, C as m, h as y, i as d, j as C, k as u, l as c, m as A, n as g, D as h, o as x, E as L, G as D, p as R, L as S, q as B, r as P, s as Z, t as G, u as O, v as b, M as f, w as k, P as w, x as I, R as M, y as j, S as F, z as N, F as W, H as q, T as z, I as H, J, K, N as Q, O as U, Q as V, U as X, V as Y, W as _, Z as $, X as aa, Y as sa } from "../enums-tMKLWMMm.mjs";
|
|
3
3
|
export {
|
|
4
4
|
o as Alignments,
|
|
5
5
|
n as AreaEvent,
|