@spectrum-charts/constants 1.18.1 → 1.19.0-alpha
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.
|
@@ -78,6 +78,11 @@ export declare const DONUT_SUMMARY_MAX_FONT_SIZE = 60;
|
|
|
78
78
|
export declare const DONUT_SUMMARY_FONT_SIZE_RATIO = 0.35;
|
|
79
79
|
/** Min inner radius to display the summary metric. If the inner radius is less than this, the summary metric is hidden. */
|
|
80
80
|
export declare const DONUT_SUMMARY_MIN_RADIUS = 45;
|
|
81
|
+
export declare const DEFAULT_VENN_COLOR = "sets";
|
|
82
|
+
/** default key in data for the metric in the venn diagram */
|
|
83
|
+
export declare const DEFAULT_VENN_METRIC = "size";
|
|
84
|
+
/** default key in data for the label inside the venn*/
|
|
85
|
+
export declare const DEFAULT_VENN_LABEL = "label";
|
|
81
86
|
export declare const HIGHLIGHT_CONTRAST_RATIO = 5;
|
|
82
87
|
export declare const LEGEND_TOOLTIP_DELAY = 350;
|
|
83
88
|
export declare const BACKGROUND_COLOR = "chartBackgroundColor";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../constants.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,sBAAsB,SAAS,CAAC;AAC7C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,6BAA6B,aAAa,CAAC;AACxD,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,wBAAwB,gBAAgB,CAAC;AACtD,eAAO,MAAM,wBAAwB,WAAW,CAAC;AACjD,eAAO,MAAM,6BAA6B,aAAa,CAAC;AACxD,eAAO,MAAM,aAAa,WAAW,CAAC;AACtC,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAC5C,eAAO,MAAM,4BAA4B,WAAW,CAAC;AACrD,eAAO,MAAM,iBAAiB,KAAK,CA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,mBAAmB,+JAC8H,CAAC;AAE/J,eAAO,MAAM,SAAS,kyBAC2wB,CAAC;AAElyB,eAAO,MAAM,0BAA0B,gaACwX,CAAC;AAEha,eAAO,MAAM,0BAA0B,m2BAC2zB,CAAC;AAEn2B,eAAO,MAAM,uBAAuB,y5BACo3B,CAAC;AAEz5B,eAAO,MAAM,sBAAsB,kjBAC8gB,CAAC;AAEljB,eAAO,MAAM,uBAAuB,ydACob,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
!function(E
|
|
2
|
+
!function(A,E){"object"==typeof exports&&"object"==typeof module?module.exports=E():"function"==typeof define&&define.amd?define([],E):"object"==typeof exports?exports.spectrumChartsConstants=E():A.spectrumChartsConstants=E()}(this,(()=>(()=>{"use strict";var A={d:(E,_)=>{for(var T in _)A.o(_,T)&&!A.o(E,T)&&Object.defineProperty(E,T,{enumerable:!0,get:_[T]})},o:(A,E)=>Object.prototype.hasOwnProperty.call(A,E),r:A=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})}},E={};A.r(E),A.d(E,{ANNOTATION_FONT_SIZE:()=>_,ANNOTATION_FONT_WEIGHT:()=>T,ANNOTATION_PADDING:()=>e,ANNOTATION_RANGED_ICON_SVG:()=>yA,ANNOTATION_SINGLE_ICON_SVG:()=>pA,BACKGROUND_COLOR:()=>dA,COLOR_SCALE:()=>AA,COMPONENT_NAME:()=>j,CORNER_RADIUS:()=>OA,DATE_PATH:()=>uA,DEFAULT_AXIS_ANNOTATION_COLOR:()=>I,DEFAULT_AXIS_ANNOTATION_OFFSET:()=>L,DEFAULT_BACKGROUND_COLOR:()=>S,DEFAULT_BULLET_DIRECTION:()=>N,DEFAULT_CATEGORICAL_DIMENSION:()=>O,DEFAULT_COLOR:()=>a,DEFAULT_COLOR_SCHEME:()=>D,DEFAULT_DIMENSION_SCALE_TYPE:()=>t,DEFAULT_FONT_COLOR:()=>o,DEFAULT_FONT_SIZE:()=>R,DEFAULT_GRANULARITY:()=>r,DEFAULT_HIDDEN_SERIES:()=>M,DEFAULT_INTERACTION_MODE:()=>Y,DEFAULT_LABEL_ALIGN:()=>U,DEFAULT_LABEL_FONT_WEIGHT:()=>C,DEFAULT_LABEL_ORIENTATION:()=>s,DEFAULT_LABEL_POSITION:()=>l,DEFAULT_LINEAR_DIMENSION:()=>F,DEFAULT_LINE_TYPES:()=>H,DEFAULT_LINE_WIDTHS:()=>i,DEFAULT_LOCALE:()=>n,DEFAULT_METRIC:()=>d,DEFAULT_OPACITY_RULE:()=>NA,DEFAULT_SCALE_TYPE:()=>h,DEFAULT_SCALE_VALUE:()=>c,DEFAULT_SECONDARY_COLOR:()=>G,DEFAULT_SYMBOL_SHAPES:()=>P,DEFAULT_SYMBOL_SIZE:()=>V,DEFAULT_SYMBOL_SIZES:()=>Z,DEFAULT_SYMBOL_STROKE_WIDTH:()=>m,DEFAULT_TIME_DIMENSION:()=>u,DEFAULT_TITLE_FONT_WEIGHT:()=>y,DEFAULT_TRANSFORMED_TIME_DIMENSION:()=>p,DEFAULT_VENN_COLOR:()=>lA,DEFAULT_VENN_LABEL:()=>iA,DEFAULT_VENN_METRIC:()=>HA,DISCRETE_PADDING:()=>aA,DONUT_RADIUS:()=>oA,DONUT_SEGMENT_LABEL_MIN_ANGLE:()=>rA,DONUT_SUMMARY_FONT_SIZE_RATIO:()=>CA,DONUT_SUMMARY_MAX_FONT_SIZE:()=>UA,DONUT_SUMMARY_MIN_FONT_SIZE:()=>MA,DONUT_SUMMARY_MIN_RADIUS:()=>sA,FILTERED_TABLE:()=>B,FIRST_RSC_SERIES_ID:()=>$,GROUP_DATA:()=>f,HIGHLIGHTED_GROUP:()=>X,HIGHLIGHTED_ITEM:()=>K,HIGHLIGHTED_SERIES:()=>z,HIGHLIGHT_CONTRAST_RATIO:()=>FA,HOVER_SHAPE:()=>ZA,HOVER_SHAPE_COUNT:()=>VA,HOVER_SIZE:()=>PA,INTERACTION_MODE:()=>GA,LAST_RSC_SERIES_ID:()=>J,LEGEND_TOOLTIP_DELAY:()=>nA,LINEAR_COLOR_SCALE:()=>_A,LINEAR_PADDING:()=>tA,LINE_TYPE_SCALE:()=>EA,LINE_WIDTH_SCALE:()=>TA,MARK_ID:()=>g,MOUSE_OVER_SERIES:()=>Q,MS_PER_DAY:()=>hA,OPACITY_SCALE:()=>eA,PADDING_RATIO:()=>DA,ROUNDED_SQUARE_PATH:()=>mA,SELECTED_GROUP:()=>q,SELECTED_ITEM:()=>k,SELECTED_SERIES:()=>w,SENTIMENT_NEGATIVE_PATH:()=>YA,SENTIMENT_NEUTRAL_PATH:()=>bA,SENTIMENT_POSITIVE_PATH:()=>BA,SERIES_ID:()=>v,STACK_ID:()=>W,SYMBOL_PATH_WIDTH_SCALE:()=>SA,SYMBOL_SHAPE_SCALE:()=>IA,SYMBOL_SIZE_SCALE:()=>LA,TABLE:()=>b,TIME:()=>cA,TRELLIS_PADDING:()=>RA,TRENDLINE_VALUE:()=>x});const _=12,T="bold",e=4,I="gray-600",L=80,S="transparent",N="column",O="category",a="series",D="light",t="linear",R=14,o="gray-800",r="day",M=[],U="center",C="normal",s="horizontal",l="top",H=["solid","dashed","dotted","dotDash","longDash","twoDash"],i=["M"],F="x",n="en-US",d="value",h="normal",c=100,G="subSeries",P=["rounded-square"],V=100,Z=["XS","XL"],m=2,u="datetime",p=`${u}0`,y="bold",Y="nearest",b="table",B="filteredTable",f="rscGroupData",g="rscMarkId",v="rscSeriesId",W="rscStackId",j="rscComponentName",x="rscTrendlineValue",K="highlightedItem",X="highlightedGroup",z="highlightedSeries",k="selectedItem",w="selectedSeries",q="selectedGroup",Q="mousedOverSeries",$="firstRscSeriesId",J="lastRscSeriesId",AA="color",EA="lineType",_A="linearColor",TA="lineWidth",eA="opacity",IA="symbolShape",LA="symbolSize",SA="symbolPathWidth",NA={value:1},OA=6,aA=.5,DA=.4,tA=0,RA=.2,oA="(min(width, height) / 2 - 2)",rA=.3,MA=28,UA=60,CA=.35,sA=45,lA="sets",HA="size",iA="label",FA=5,nA=350,dA="chartBackgroundColor",hA=864e5,cA="time";var GA;!function(A){A.NEAREST="nearest",A.ITEM="item"}(GA||(GA={}));const PA=3e3,VA=3,ZA="diamond",mA="M -0.55 -1 h 1.1 a 0.45 0.45 0 0 1 0.45 0.45 v 1.1 a 0.45 0.45 0 0 1 -0.45 0.45 h -1.1 a 0.45 0.45 0 0 1 -0.45 -0.45 v -1.1 a 0.45 0.45 0 0 1 0.45 -0.45 z",uA="M 0.88 -0.66 H 0.605 V -0.825 a 0.055 0.055 90 0 0 -0.055 -0.055 h -0.11 a 0.055 0.055 90 0 0 -0.055 0.055 V -0.66 H -0.385 V -0.825 A 0.055 0.055 90 0 0 -0.44 -0.88 h -0.11 a 0.055 0.055 90 0 0 -0.055 0.055 V -0.66 H -0.88 a 0.055 0.055 90 0 0 -0.055 0.055 v 1.43 a 0.055 0.055 90 0 0 0.055 0.055 h 1.76 a 0.055 0.055 90 0 0 0.055 -0.055 V -0.605 A 0.055 0.055 90 0 0 0.88 -0.66 Z M 0.825 0.77 H -0.825 V -0.55 H -0.605 v 0.055 a 0.055 0.055 90 0 0 0.055 0.055 h 0.11 A 0.055 0.055 90 0 0 -0.385 -0.495 V -0.55 h 0.77 v 0.055 a 0.055 0.055 90 0 0 0.055 0.055 h 0.11 a 0.055 0.055 90 0 0 0.055 -0.055 V -0.55 h 0.22 Z M 0.165 0.165 v 0.33 a 0.055 0.055 90 0 0 0.055 0.055 h 0.33 a 0.055 0.055 90 0 0 0.055 -0.055 v -0.33 a 0.055 0.055 90 0 0 -0.055 -0.055 h -0.33 a 0.055 0.055 90 0 0 -0.055 0.055",pA="M 6.86 -8.32 H -7.79 a 0.53 0.53 90 0 0 -0.53 0.53 v 14.65 a 0.53 0.53 90 0 0 0.53 0.53 H 1.72 V 2.9 a 1.06 1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.1 a 0.2 0.2 90 0 1 0.3 -0 l 1.9 1.9 a 0.2 0.2 90 0 1 0 0.2 Z",YA="M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M 0.3421 -0.598 A 0.2149 0.2149 90 0 1 0.5296 -0.3636 A 0.2149 0.2149 90 0 1 0.3421 -0.1292 A 0.2149 0.2149 90 0 1 0.1546 -0.3636 A 0.2149 0.2149 90 0 1 0.3421 -0.598 Z M -0.3522 -0.5916 A 0.2148 0.2148 90 0 1 -0.1647 -0.3574 A 0.2149 0.2149 90 0 1 -0.3522 -0.123 A 0.2149 0.2149 90 0 1 -0.5397 -0.3574 A 0.2148 0.2148 90 0 1 -0.3522 -0.5916 Z M 0.5548 0.4151 L 0.4959 0.4449 A 0.0625 0.0625 90 0 1 0.4257 0.4354 C 0.4049 0.4166 0.3802 0.3942 0.3739 0.3898 A 0.6554 0.6554 90 0 0 0.0026 0.2813 A 0.6546 0.6546 90 0 0 -0.3724 0.3919 C -0.3802 0.3974 -0.403 0.4184 -0.4224 0.4368 A 0.0625 0.0625 90 0 1 -0.4933 0.4468 L -0.5513 0.4174 A 0.0625 0.0625 90 0 1 -0.5694 0.3197 C -0.5549 0.3036 -0.5418 0.2895 -0.5366 0.2848 A 0.813 0.813 90 0 1 0.0026 0.0938 A 0.8106 0.8106 90 0 1 0.5481 0.2906 C 0.5511 0.2933 0.5611 0.3043 0.5731 0.3176 A 0.0625 0.0625 90 0 1 0.5548 0.4151 Z",bA="M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M -0.3522 -0.4666 A 0.2149 0.2149 90 0 1 -0.1647 -0.2322 A 0.2149 0.2149 90 0 1 -0.3522 0.0021 A 0.2149 0.2149 90 0 1 -0.5397 -0.2322 A 0.2149 0.2149 90 0 1 -0.3522 -0.4666 Z M 0.325 0.5 H -0.325 A 0.05 0.05 90 0 1 -0.375 0.45 V 0.425 A 0.05 0.05 90 0 1 -0.325 0.375 H 0.325 A 0.05 0.05 90 0 1 0.375 0.425 V 0.45 A 0.05 0.05 90 0 1 0.325 0.5 Z M 0.3421 -0.0042 A 0.2149 0.2149 90 0 1 0.1546 -0.2386 A 0.2149 0.2149 90 0 1 0.3421 -0.473 A 0.2149 0.2149 90 0 1 0.5296 -0.2386 A 0.2149 0.2149 90 0 1 0.3421 -0.0043 Z",BA="M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M -0.3522 -0.5916 A 0.215 0.215 90 0 1 -0.1647 -0.3572 A 0.215 0.215 90 0 1 -0.3522 -0.1229 A 0.215 0.215 90 0 1 -0.5397 -0.3572 A 0.2149 0.2149 90 0 1 -0.3522 -0.5916 Z M 0.3421 -0.598 A 0.215 0.215 90 0 1 0.5296 -0.3635 A 0.2149 0.2149 90 0 1 0.3421 -0.1291 A 0.2149 0.2149 90 0 1 0.1546 -0.3635 A 0.215 0.215 90 0 1 0.3421 -0.598 Z M 0 0.6275 A 0.6161 0.6161 90 0 1 -0.625 0.1187 H 0.625 A 0.6161 0.6161 90 0 1 0 0.6275 Z";return E})()));
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @spectrum-charts/constants@v1.
|
|
1
|
+
/*! @spectrum-charts/constants@v1.19.0-alpha */
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAiC,wBAAID,IAErCD,EAA8B,wBAAIC,GACnC,CATD,CASGK,MAAM,IACT,sCCiHA,IAAYC,g7DA9GC,EAAAC,qBAAuB,GACvB,EAAAC,uBAAyB,OACzB,EAAAC,mBAAqB,EACrB,EAAAC,8BAAgC,WAChC,EAAAC,+BAAiC,GACjC,EAA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AAoB,aACpB,EAAAC,wBAA0B,kBAG1B,EAAAC,qBAAuB,CAAEC,MAAO,GAGhC,EAAAC,cAAgB,EAGhB,EAAAC,iBAAmB,GACnB,EAAAC,cAAgB,GAChB,EAAAC,eAAiB,EACjB,EAAAC,gBAAkB,GAIlB,EAAAC,aAAe,+BAEf,EAAAC,8BAAgC,GAEhC,EAAAC,4BAA8B,GAE9B,EAAAC,4BAA8B,GAE9B,EAAAC,8BAAgC,IAEhC,EAAAC,yBAA2B,GAG3B,EAAAC,yBAA2B,EAG3B,EAAAC,qBAAuB,IAIvB,EAAAC,iBAAmB,uBAGnB,EAAAC,WAAa,MACb,EAAAC,KAAO,OAGpB,SAAY9E,GACX,oBACA,aACA,CAHD,CAAYA,IAAgB,mBAAhBA,EAAgB,KAIf,EAAA+E,WAAa,IACb,EAAAC,kBAAoB,EACpB,EAAAC,YAAc,UAGd,EAAAC,oBACZ,6JAEY,EAAAC,UACZ,gyBAEY,EAAAC,2BACZ,8ZAEY,EAAAC,2BACZ,i2BAEY,EAAAC,wBACZ,u5BAEY,EAAAC,uBACZ,gjBAEY,EAAAC,wBACZ,i9BC3ID,cCXIC,EAA2B,CAAC,SAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAajG,QAGrB,IAAIC,EAAS6F,EAAyBE,GAAY,CAGjDhG,QAAS,CAAC,GAOX,OAHAmG,EAAoBH,GAAUI,KAAKnG,EAAOD,QAASC,EAAQA,EAAOD,QAAS+F,GAGpE9F,EAAOD,OACf,CCnB0B+F,CAAoB,MJO9C","sources":["webpack://spectrumChartsConstants/webpack/universalModuleDefinition","webpack://spectrumChartsConstants/./constants.ts","webpack://spectrumChartsConstants/./index.ts","webpack://spectrumChartsConstants/webpack/bootstrap","webpack://spectrumChartsConstants/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"spectrumChartsConstants\"] = factory();\n\telse\n\t\troot[\"spectrumChartsConstants\"] = factory();\n})(this, () => {\nreturn ","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// prop defaults\nexport const ANNOTATION_FONT_SIZE = 12;\nexport const ANNOTATION_FONT_WEIGHT = 'bold';\nexport const ANNOTATION_PADDING = 4;\nexport const DEFAULT_AXIS_ANNOTATION_COLOR = 'gray-600';\nexport const DEFAULT_AXIS_ANNOTATION_OFFSET = 80;\nexport const DEFAULT_BACKGROUND_COLOR = 'transparent';\nexport const DEFAULT_BULLET_DIRECTION = 'column';\nexport const DEFAULT_CATEGORICAL_DIMENSION = 'category';\nexport const DEFAULT_COLOR = 'series';\nexport const DEFAULT_COLOR_SCHEME = 'light';\nexport const DEFAULT_DIMENSION_SCALE_TYPE = 'linear';\nexport const DEFAULT_FONT_SIZE = 14;\nexport const DEFAULT_FONT_COLOR = 'gray-800';\nexport const DEFAULT_GRANULARITY = 'day';\nexport const DEFAULT_HIDDEN_SERIES = [];\nexport const DEFAULT_LABEL_ALIGN = 'center';\nexport const DEFAULT_LABEL_FONT_WEIGHT = 'normal';\nexport const DEFAULT_LABEL_ORIENTATION = 'horizontal';\nexport const DEFAULT_LABEL_POSITION = 'top';\nexport const DEFAULT_LINE_TYPES = ['solid', 'dashed', 'dotted', 'dotDash', 'longDash', 'twoDash'];\nexport const DEFAULT_LINE_WIDTHS = ['M'];\nexport const DEFAULT_LINEAR_DIMENSION = 'x';\nexport const DEFAULT_LOCALE = 'en-US';\nexport const DEFAULT_METRIC = 'value';\nexport const DEFAULT_SCALE_TYPE = 'normal';\nexport const DEFAULT_SCALE_VALUE = 100;\nexport const DEFAULT_SECONDARY_COLOR = 'subSeries';\nexport const DEFAULT_SYMBOL_SHAPES = ['rounded-square'];\nexport const DEFAULT_SYMBOL_SIZE = 100;\nexport const DEFAULT_SYMBOL_SIZES = ['XS', 'XL'];\nexport const DEFAULT_SYMBOL_STROKE_WIDTH = 2;\nexport const DEFAULT_TIME_DIMENSION = 'datetime';\nexport const DEFAULT_TRANSFORMED_TIME_DIMENSION = `${DEFAULT_TIME_DIMENSION}0`;\nexport const DEFAULT_TITLE_FONT_WEIGHT = 'bold';\nexport const DEFAULT_INTERACTION_MODE = 'nearest';\n\n// vega data table name\nexport const TABLE = 'table';\nexport const FILTERED_TABLE = 'filteredTable';\n\n// vega data field names\nexport const GROUP_DATA = 'rscGroupData';\nexport const MARK_ID = 'rscMarkId';\nexport const SERIES_ID = 'rscSeriesId';\nexport const STACK_ID = 'rscStackId';\nexport const COMPONENT_NAME = 'rscComponentName';\nexport const TRENDLINE_VALUE = 'rscTrendlineValue';\n\n// signal names\nexport const HIGHLIGHTED_ITEM = 'highlightedItem'; // data point\nexport const HIGHLIGHTED_GROUP = 'highlightedGroup'; // data point\nexport const HIGHLIGHTED_SERIES = 'highlightedSeries'; // series\nexport const SELECTED_ITEM = 'selectedItem'; // data point\nexport const SELECTED_SERIES = 'selectedSeries'; // series\nexport const SELECTED_GROUP = 'selectedGroup'; // data point\nexport const MOUSE_OVER_SERIES = 'mousedOverSeries'; // mouse over series for dual y-axis\nexport const FIRST_RSC_SERIES_ID = 'firstRscSeriesId'; // first series for dual y-axis\nexport const LAST_RSC_SERIES_ID = 'lastRscSeriesId'; // last series for dual y-axis\n\n// scale names\nexport const COLOR_SCALE = 'color';\nexport const LINE_TYPE_SCALE = 'lineType';\nexport const LINEAR_COLOR_SCALE = 'linearColor';\nexport const LINE_WIDTH_SCALE = 'lineWidth';\nexport const OPACITY_SCALE = 'opacity';\nexport const SYMBOL_SHAPE_SCALE = 'symbolShape';\nexport const SYMBOL_SIZE_SCALE = 'symbolSize';\nexport const SYMBOL_PATH_WIDTH_SCALE = 'symbolPathWidth';\n\n// encode rules\nexport const DEFAULT_OPACITY_RULE = { value: 1 };\n\n// corner radius\nexport const CORNER_RADIUS = 6;\n\n// padding constants\nexport const DISCRETE_PADDING = 0.5;\nexport const PADDING_RATIO = 0.4;\nexport const LINEAR_PADDING = 0;\nexport const TRELLIS_PADDING = 0.2;\n\n// donut constants\n/** Calculation for donut radius, subtract 2 pixels to make room for the selection ring */\nexport const DONUT_RADIUS = '(min(width, height) / 2 - 2)';\n/** Min arc angle radians to display a segment label. If the arc angle is less than this, the segment label will be hidden. */\nexport const DONUT_SEGMENT_LABEL_MIN_ANGLE = 0.3;\n/** Min font size for the donut summary metric value */\nexport const DONUT_SUMMARY_MIN_FONT_SIZE = 28;\n/** Max font size for the donut summary metric value */\nexport const DONUT_SUMMARY_MAX_FONT_SIZE = 60;\n/** Ratio of the donut summary matric value font size to the inner donut raidus */\nexport const DONUT_SUMMARY_FONT_SIZE_RATIO = 0.35;\n/** Min inner radius to display the summary metric. If the inner radius is less than this, the summary metric is hidden. */\nexport const DONUT_SUMMARY_MIN_RADIUS = 45;\n\n// ratio that each opacity is divded by when hovering or highlighting from legend\nexport const HIGHLIGHT_CONTRAST_RATIO = 5;\n\n// legend tooltips\nexport const LEGEND_TOOLTIP_DELAY = 350;\n\n// signal names\n// 'backgroundColor' is an undocumented protected signal name used by vega\nexport const BACKGROUND_COLOR = 'chartBackgroundColor';\n\n// time constants\nexport const MS_PER_DAY = 86400000;\nexport const TIME = 'time';\n\n// mark constants\nexport enum INTERACTION_MODE {\n\tNEAREST = 'nearest',\n\tITEM = 'item',\n}\nexport const HOVER_SIZE = 3000;\nexport const HOVER_SHAPE_COUNT = 3;\nexport const HOVER_SHAPE = 'diamond';\n\n//SVG Paths\nexport const ROUNDED_SQUARE_PATH =\n\t'M -0.55 -1 h 1.1 a 0.45 0.45 0 0 1 0.45 0.45 v 1.1 a 0.45 0.45 0 0 1 -0.45 0.45 h -1.1 a 0.45 0.45 0 0 1 -0.45 -0.45 v -1.1 a 0.45 0.45 0 0 1 0.45 -0.45 z';\n\nexport const DATE_PATH =\n\t'M 0.88 -0.66 H 0.605 V -0.825 a 0.055 0.055 90 0 0 -0.055 -0.055 h -0.11 a 0.055 0.055 90 0 0 -0.055 0.055 V -0.66 H -0.385 V -0.825 A 0.055 0.055 90 0 0 -0.44 -0.88 h -0.11 a 0.055 0.055 90 0 0 -0.055 0.055 V -0.66 H -0.88 a 0.055 0.055 90 0 0 -0.055 0.055 v 1.43 a 0.055 0.055 90 0 0 0.055 0.055 h 1.76 a 0.055 0.055 90 0 0 0.055 -0.055 V -0.605 A 0.055 0.055 90 0 0 0.88 -0.66 Z M 0.825 0.77 H -0.825 V -0.55 H -0.605 v 0.055 a 0.055 0.055 90 0 0 0.055 0.055 h 0.11 A 0.055 0.055 90 0 0 -0.385 -0.495 V -0.55 h 0.77 v 0.055 a 0.055 0.055 90 0 0 0.055 0.055 h 0.11 a 0.055 0.055 90 0 0 0.055 -0.055 V -0.55 h 0.22 Z M 0.165 0.165 v 0.33 a 0.055 0.055 90 0 0 0.055 0.055 h 0.33 a 0.055 0.055 90 0 0 0.055 -0.055 v -0.33 a 0.055 0.055 90 0 0 -0.055 -0.055 h -0.33 a 0.055 0.055 90 0 0 -0.055 0.055';\n\nexport const ANNOTATION_SINGLE_ICON_SVG =\n\t'M 6.86 -8.32 H -7.79 a 0.53 0.53 90 0 0 -0.53 0.53 v 14.65 a 0.53 0.53 90 0 0 0.53 0.53 H 1.72 V 2.9 a 1.06 1.06 90 0 1 1.06 -1.06 h 4.49 V -7.79 A 0.53 0.53 90 0 0 6.86 -8.32 Z M -0.4 2.9 H -5.02 V 1.72 H -0.4 Z m 4.49 -3.3 H -5.02 V -1.58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ATIVE_PATH =\n\t'M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M 0.3421 -0.598 A 0.2149 0.2149 90 0 1 0.5296 -0.3636 A 0.2149 0.2149 90 0 1 0.3421 -0.1292 A 0.2149 0.2149 90 0 1 0.1546 -0.3636 A 0.2149 0.2149 90 0 1 0.3421 -0.598 Z M -0.3522 -0.5916 A 0.2148 0.2148 90 0 1 -0.1647 -0.3574 A 0.2149 0.2149 90 0 1 -0.3522 -0.123 A 0.2149 0.2149 90 0 1 -0.5397 -0.3574 A 0.2148 0.2148 90 0 1 -0.3522 -0.5916 Z M 0.5548 0.4151 L 0.4959 0.4449 A 0.0625 0.0625 90 0 1 0.4257 0.4354 C 0.4049 0.4166 0.3802 0.3942 0.3739 0.3898 A 0.6554 0.6554 90 0 0 0.0026 0.2813 A 0.6546 0.6546 90 0 0 -0.3724 0.3919 C -0.3802 0.3974 -0.403 0.4184 -0.4224 0.4368 A 0.0625 0.0625 90 0 1 -0.4933 0.4468 L -0.5513 0.4174 A 0.0625 0.0625 90 0 1 -0.5694 0.3197 C -0.5549 0.3036 -0.5418 0.2895 -0.5366 0.2848 A 0.813 0.813 90 0 1 0.0026 0.0938 A 0.8106 0.8106 90 0 1 0.5481 0.2906 C 0.5511 0.2933 0.5611 0.3043 0.5731 0.3176 A 0.0625 0.0625 90 0 1 0.5548 0.4151 Z';\n\nexport const SENTIMENT_NEUTRAL_PATH =\n\t'M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M -0.3522 -0.4666 A 0.2149 0.2149 90 0 1 -0.1647 -0.2322 A 0.2149 0.2149 90 0 1 -0.3522 0.0021 A 0.2149 0.2149 90 0 1 -0.5397 -0.2322 A 0.2149 0.2149 90 0 1 -0.3522 -0.4666 Z M 0.325 0.5 H -0.325 A 0.05 0.05 90 0 1 -0.375 0.45 V 0.425 A 0.05 0.05 90 0 1 -0.325 0.375 H 0.325 A 0.05 0.05 90 0 1 0.375 0.425 V 0.45 A 0.05 0.05 90 0 1 0.325 0.5 Z M 0.3421 -0.0042 A 0.2149 0.2149 90 0 1 0.1546 -0.2386 A 0.2149 0.2149 90 0 1 0.3421 -0.473 A 0.2149 0.2149 90 0 1 0.5296 -0.2386 A 0.2149 0.2149 90 0 1 0.3421 -0.0043 Z';\n\nexport const SENTIMENT_POSITIVE_PATH =\n\t'M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M -0.3522 -0.5916 A 0.215 0.215 90 0 1 -0.1647 -0.3572 A 0.215 0.215 90 0 1 -0.3522 -0.1229 A 0.215 0.215 90 0 1 -0.5397 -0.3572 A 0.2149 0.2149 90 0 1 -0.3522 -0.5916 Z M 0.3421 -0.598 A 0.215 0.215 90 0 1 0.5296 -0.3635 A 0.2149 0.2149 90 0 1 0.3421 -0.1291 A 0.2149 0.2149 90 0 1 0.1546 -0.3635 A 0.215 0.215 90 0 1 0.3421 -0.598 Z M 0 0.6275 A 0.6161 0.6161 90 0 1 -0.625 0.1187 H 0.625 A 0.6161 0.6161 90 0 1 0 0.6275 Z';\n","/*\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport * from './constants';\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(938);\n"],"names":["root","factory","exports","module","define","amd","this","INTERACTION_MODE","ANNOTATION_FONT_SIZE","ANNOTATION_FONT_WEIGHT","ANNOTATION_PADDING","DEFAULT_AXIS_ANNOTATION_COLOR","DEFAULT_AXIS_ANNOTATION_OFFSET","DEFAULT_BACKGROUND_COLOR","DEFAULT_BULLET_DIRECTION","DEFAULT_CATEGORICAL_DIMENSION","DEFAULT_COLOR","DEFAULT_COLOR_SCHEME","DEFAULT_DIMENSION_SCALE_TYPE","DEFAULT_FONT_SIZE","DEFAULT_FONT_COLOR","DEFAULT_GRANULARITY","DEFAULT_HIDDEN_SERIES","DEFAULT_LABEL_ALIGN","DEFAULT_LABEL_FONT_WEIGHT","DEFAULT_LABEL_ORIENTATION","DEFAULT_LABEL_POSITION","DEFAULT_LINE_TYPES","DEFAULT_LINE_WIDTHS","DEFAULT_LINEAR_DIMENSION","DEFAULT_LOCALE","DEFAULT_METRIC","DEFAULT_SCALE_TYPE","DEFAULT_SCALE_VALUE","DEFAULT_SECONDARY_COLOR","DEFAULT_SYMBOL_SHAPES","DEFAULT_SYMBOL_SIZE","DEFAULT_SYMBOL_SIZES","DEFAULT_SYMBOL_STROKE_WIDTH","DEFAULT_TIME_DIMENSION","DEFAULT_TRANSFORMED_TIME_DIMENSION","DEFAULT_TITLE_FONT_WEIGHT","DEFAULT_INTERACTION_MODE","TABLE","FILTERED_TABLE","GROUP_DATA","MARK_ID","SERIES_ID","STACK_ID","COMPONENT_NAME","TRENDLINE_VALUE","HIGHLIGHTED_ITEM","HIGHLIGHTED_GROUP","HIGHLIGHTED_SERIES","SELECTED_ITEM","SELECTED_SERIES","SELECTED_GROUP","MOUSE_OVER_SERIES","FIRST_RSC_SERIES_ID","LAST_RSC_SERIES_ID","COLOR_SCALE","LINE_TYPE_SCALE","LINEAR_COLOR_SCALE","LINE_WIDTH_SCALE","OPACITY_SCALE","SYMBOL_SHAPE_SCALE","SYMBOL_SIZE_SCALE","SYMBOL_PATH_WIDTH_SCALE","DEFAULT_OPACITY_RULE","value","CORNER_RADIUS","DISCRETE_PADDING","PADDING_RATIO","LINEAR_PADDING","TRELLIS_PADDING","DONUT_RADIUS","DONUT_SEGMENT_LABEL_MIN_ANGLE","DONUT_SUMMARY_MIN_FONT_SIZE","DONUT_SUMMARY_MAX_FONT_SIZE","DONUT_SUMMARY_FONT_SIZE_RATIO","DONUT_SUMMARY_MIN_RADIUS","HIGHLIGHT_CONTRAST_RATIO","LEGEND_TOOLTIP_DELAY","BACKGROUND_COLOR","MS_PER_DAY","TIME","HOVER_SIZE","HOVER_SHAPE_COUNT","HOVER_SHAPE","ROUNDED_SQUARE_PATH","DATE_PATH","ANNOTATION_SINGLE_ICON_SVG","ANNOTATION_RANGED_ICON_SVG","SENTIMENT_NEGATIVE_PATH","SENTIMENT_NEUTRAL_PATH","SENTIMENT_POSITIVE_PATH","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","call"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"index.js","mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAiC,wBAAID,IAErCD,EAA8B,wBAAIC,GACnC,CATD,CASGK,MAAM,IACT,mBCTA,IAAIC,EAAsB,CCA1BA,EAAwB,CAACL,EAASM,KACjC,IAAI,IAAIC,KAAOD,EACXD,EAAoBG,EAAEF,EAAYC,KAASF,EAAoBG,EAAER,EAASO,IAC5EE,OAAOC,eAAeV,EAASO,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC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GAGhC8D,GAAgB,EAGhBC,GAAmB,GACnBC,GAAgB,GAChBC,GAAiB,EACjBC,GAAkB,GAIlBC,GAAe,+BAEfC,GAAgC,GAEhCC,GAA8B,GAE9BC,GAA8B,GAE9BC,GAAgC,IAEhCC,GAA2B,GAG3BC,GAAqB,OAErBC,GAAsB,OAEtBC,GAAqB,QAGrBC,GAA2B,EAG3BC,GAAuB,IAIvBC,GAAmB,uBAGnBC,GAAa,MACbC,GAAO,OAGpB,IAAYC,IAAZ,SAAYA,GACV,oBACA,aACD,CAHD,CAAYA,KAAAA,GAAgB,KAIrB,MAAMC,GAAa,IACbC,GAAoB,EACpBC,GAAc,UAGdC,GACX,6JAEWC,GACX,gyBAEWC,GACX,8ZAEWC,GACX,i2BAEWC,GACX,u5BAEWC,GACX,gjBAEWC,GACX,ieLpJF","sources":["webpack://spectrumChartsConstants/webpack/universalModuleDefinition","webpack://spectrumChartsConstants/webpack/bootstrap","webpack://spectrumChartsConstants/webpack/runtime/define property getters","webpack://spectrumChartsConstants/webpack/runtime/hasOwnProperty shorthand","webpack://spectrumChartsConstants/webpack/runtime/make namespace object","webpack://spectrumChartsConstants/./constants.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"spectrumChartsConstants\"] = factory();\n\telse\n\t\troot[\"spectrumChartsConstants\"] = factory();\n})(this, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// prop defaults\nexport const ANNOTATION_FONT_SIZE = 12;\nexport const ANNOTATION_FONT_WEIGHT = 'bold';\nexport const ANNOTATION_PADDING = 4;\nexport const DEFAULT_AXIS_ANNOTATION_COLOR = 'gray-600';\nexport const DEFAULT_AXIS_ANNOTATION_OFFSET = 80;\nexport const DEFAULT_BACKGROUND_COLOR = 'transparent';\nexport const DEFAULT_BULLET_DIRECTION = 'column';\nexport const DEFAULT_CATEGORICAL_DIMENSION = 'category';\nexport const DEFAULT_COLOR = 'series';\nexport const DEFAULT_COLOR_SCHEME = 'light';\nexport const DEFAULT_DIMENSION_SCALE_TYPE = 'linear';\nexport const DEFAULT_FONT_SIZE = 14;\nexport const DEFAULT_FONT_COLOR = 'gray-800';\nexport const DEFAULT_GRANULARITY = 'day';\nexport const DEFAULT_HIDDEN_SERIES = [];\nexport const DEFAULT_LABEL_ALIGN = 'center';\nexport const DEFAULT_LABEL_FONT_WEIGHT = 'normal';\nexport const DEFAULT_LABEL_ORIENTATION = 'horizontal';\nexport const DEFAULT_LABEL_POSITION = 'top';\nexport const DEFAULT_LINE_TYPES = ['solid', 'dashed', 'dotted', 'dotDash', 'longDash', 'twoDash'];\nexport const DEFAULT_LINE_WIDTHS = ['M'];\nexport const DEFAULT_LINEAR_DIMENSION = 'x';\nexport const DEFAULT_LOCALE = 'en-US';\nexport const DEFAULT_METRIC = 'value';\nexport const DEFAULT_SCALE_TYPE = 'normal';\nexport const DEFAULT_SCALE_VALUE = 100;\nexport const DEFAULT_SECONDARY_COLOR = 'subSeries';\nexport const DEFAULT_SYMBOL_SHAPES = ['rounded-square'];\nexport const DEFAULT_SYMBOL_SIZE = 100;\nexport const DEFAULT_SYMBOL_SIZES = ['XS', 'XL'];\nexport const DEFAULT_SYMBOL_STROKE_WIDTH = 2;\nexport const DEFAULT_TIME_DIMENSION = 'datetime';\nexport const DEFAULT_TRANSFORMED_TIME_DIMENSION = `${DEFAULT_TIME_DIMENSION}0`;\nexport const DEFAULT_TITLE_FONT_WEIGHT = 'bold';\nexport const DEFAULT_INTERACTION_MODE = 'nearest';\n\n// vega data table name\nexport const TABLE = 'table';\nexport const FILTERED_TABLE = 'filteredTable';\n\n// vega data field names\nexport const GROUP_DATA = 'rscGroupData';\nexport const MARK_ID = 'rscMarkId';\nexport const SERIES_ID = 'rscSeriesId';\nexport const STACK_ID = 'rscStackId';\nexport const COMPONENT_NAME = 'rscComponentName';\nexport const TRENDLINE_VALUE = 'rscTrendlineValue';\n\n// signal names\nexport const HIGHLIGHTED_ITEM = 'highlightedItem'; // data point\nexport const HIGHLIGHTED_GROUP = 'highlightedGroup'; // data point\nexport const HIGHLIGHTED_SERIES = 'highlightedSeries'; // series\nexport const SELECTED_ITEM = 'selectedItem'; // data point\nexport const SELECTED_SERIES = 'selectedSeries'; // series\nexport const SELECTED_GROUP = 'selectedGroup'; // data point\nexport const MOUSE_OVER_SERIES = 'mousedOverSeries'; // mouse over series for dual y-axis\nexport const FIRST_RSC_SERIES_ID = 'firstRscSeriesId'; // first series for dual y-axis\nexport const LAST_RSC_SERIES_ID = 'lastRscSeriesId'; // last series for dual y-axis\n\n// scale names\nexport const COLOR_SCALE = 'color';\nexport const LINE_TYPE_SCALE = 'lineType';\nexport const LINEAR_COLOR_SCALE = 'linearColor';\nexport const LINE_WIDTH_SCALE = 'lineWidth';\nexport const OPACITY_SCALE = 'opacity';\nexport const SYMBOL_SHAPE_SCALE = 'symbolShape';\nexport const SYMBOL_SIZE_SCALE = 'symbolSize';\nexport const SYMBOL_PATH_WIDTH_SCALE = 'symbolPathWidth';\n\n// encode rules\nexport const DEFAULT_OPACITY_RULE = { value: 1 };\n\n// corner radius\nexport const CORNER_RADIUS = 6;\n\n// padding constants\nexport const DISCRETE_PADDING = 0.5;\nexport const PADDING_RATIO = 0.4;\nexport const LINEAR_PADDING = 0;\nexport const TRELLIS_PADDING = 0.2;\n\n// donut constants\n/** Calculation for donut radius, subtract 2 pixels to make room for the selection ring */\nexport const DONUT_RADIUS = '(min(width, height) / 2 - 2)';\n/** Min arc angle radians to display a segment label. If the arc angle is less than this, the segment label will be hidden. */\nexport const DONUT_SEGMENT_LABEL_MIN_ANGLE = 0.3;\n/** Min font size for the donut summary metric value */\nexport const DONUT_SUMMARY_MIN_FONT_SIZE = 28;\n/** Max font size for the donut summary metric value */\nexport const DONUT_SUMMARY_MAX_FONT_SIZE = 60;\n/** Ratio of the donut summary matric value font size to the inner donut raidus */\nexport const DONUT_SUMMARY_FONT_SIZE_RATIO = 0.35;\n/** Min inner radius to display the summary metric. If the inner radius is less than this, the summary metric is hidden. */\nexport const DONUT_SUMMARY_MIN_RADIUS = 45;\n\n// venn constant\nexport const DEFAULT_VENN_COLOR = 'sets';\n/** default key in data for the metric in the venn diagram */\nexport const DEFAULT_VENN_METRIC = 'size';\n/** default key in data for the label inside the venn*/\nexport const DEFAULT_VENN_LABEL = 'label';\n\n// ratio that each opacity is divded by when hovering or highlighting from legend\nexport const HIGHLIGHT_CONTRAST_RATIO = 5;\n\n// legend tooltips\nexport const LEGEND_TOOLTIP_DELAY = 350;\n\n// signal names\n// 'backgroundColor' is an undocumented protected signal name used by vega\nexport const BACKGROUND_COLOR = 'chartBackgroundColor';\n\n// time constants\nexport const MS_PER_DAY = 86400000;\nexport const TIME = 'time';\n\n// mark constants\nexport enum INTERACTION_MODE {\n NEAREST = 'nearest',\n ITEM = 'item',\n}\nexport const HOVER_SIZE = 3000;\nexport const HOVER_SHAPE_COUNT = 3;\nexport const HOVER_SHAPE = 'diamond';\n\n//SVG Paths\nexport const ROUNDED_SQUARE_PATH =\n 'M -0.55 -1 h 1.1 a 0.45 0.45 0 0 1 0.45 0.45 v 1.1 a 0.45 0.45 0 0 1 -0.45 0.45 h -1.1 a 0.45 0.45 0 0 1 -0.45 -0.45 v -1.1 a 0.45 0.45 0 0 1 0.45 -0.45 z';\n\nexport const DATE_PATH =\n 'M 0.88 -0.66 H 0.605 V -0.825 a 0.055 0.055 90 0 0 -0.055 -0.055 h -0.11 a 0.055 0.055 90 0 0 -0.055 0.055 V -0.66 H -0.385 V -0.825 A 0.055 0.055 90 0 0 -0.44 -0.88 h -0.11 a 0.055 0.055 90 0 0 -0.055 0.055 V -0.66 H -0.88 a 0.055 0.055 90 0 0 -0.055 0.055 v 1.43 a 0.055 0.055 90 0 0 0.055 0.055 h 1.76 a 0.055 0.055 90 0 0 0.055 -0.055 V -0.605 A 0.055 0.055 90 0 0 0.88 -0.66 Z M 0.825 0.77 H -0.825 V -0.55 H -0.605 v 0.055 a 0.055 0.055 90 0 0 0.055 0.055 h 0.11 A 0.055 0.055 90 0 0 -0.385 -0.495 V -0.55 h 0.77 v 0.055 a 0.055 0.055 90 0 0 0.055 0.055 h 0.11 a 0.055 0.055 90 0 0 0.055 -0.055 V -0.55 h 0.22 Z M 0.165 0.165 v 0.33 a 0.055 0.055 90 0 0 0.055 0.055 h 0.33 a 0.055 0.055 90 0 0 0.055 -0.055 v -0.33 a 0.055 0.055 90 0 0 -0.055 -0.055 h -0.33 a 0.055 0.055 90 0 0 -0.055 0.055';\n\nexport const ANNOTATION_SINGLE_ICON_SVG =\n 'M 6.86 -8.32 H -7.79 a 0.53 0.53 90 0 0 -0.53 0.53 v 14.65 a 0.53 0.53 90 0 0 0.53 0.53 H 1.72 V 2.9 a 1.06 1.06 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 -0.1 a 0.2 0.2 90 0 1 0 -0.1 a 0.2 0.2 90 0 1 0.3 -0 l 1.9 1.9 a 0.2 0.2 90 0 1 0 0.2 Z';\n\nexport const SENTIMENT_NEGATIVE_PATH =\n 'M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M 0.3421 -0.598 A 0.2149 0.2149 90 0 1 0.5296 -0.3636 A 0.2149 0.2149 90 0 1 0.3421 -0.1292 A 0.2149 0.2149 90 0 1 0.1546 -0.3636 A 0.2149 0.2149 90 0 1 0.3421 -0.598 Z M -0.3522 -0.5916 A 0.2148 0.2148 90 0 1 -0.1647 -0.3574 A 0.2149 0.2149 90 0 1 -0.3522 -0.123 A 0.2149 0.2149 90 0 1 -0.5397 -0.3574 A 0.2148 0.2148 90 0 1 -0.3522 -0.5916 Z M 0.5548 0.4151 L 0.4959 0.4449 A 0.0625 0.0625 90 0 1 0.4257 0.4354 C 0.4049 0.4166 0.3802 0.3942 0.3739 0.3898 A 0.6554 0.6554 90 0 0 0.0026 0.2813 A 0.6546 0.6546 90 0 0 -0.3724 0.3919 C -0.3802 0.3974 -0.403 0.4184 -0.4224 0.4368 A 0.0625 0.0625 90 0 1 -0.4933 0.4468 L -0.5513 0.4174 A 0.0625 0.0625 90 0 1 -0.5694 0.3197 C -0.5549 0.3036 -0.5418 0.2895 -0.5366 0.2848 A 0.813 0.813 90 0 1 0.0026 0.0938 A 0.8106 0.8106 90 0 1 0.5481 0.2906 C 0.5511 0.2933 0.5611 0.3043 0.5731 0.3176 A 0.0625 0.0625 90 0 1 0.5548 0.4151 Z';\n\nexport const SENTIMENT_NEUTRAL_PATH =\n 'M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M -0.3522 -0.4666 A 0.2149 0.2149 90 0 1 -0.1647 -0.2322 A 0.2149 0.2149 90 0 1 -0.3522 0.0021 A 0.2149 0.2149 90 0 1 -0.5397 -0.2322 A 0.2149 0.2149 90 0 1 -0.3522 -0.4666 Z M 0.325 0.5 H -0.325 A 0.05 0.05 90 0 1 -0.375 0.45 V 0.425 A 0.05 0.05 90 0 1 -0.325 0.375 H 0.325 A 0.05 0.05 90 0 1 0.375 0.425 V 0.45 A 0.05 0.05 90 0 1 0.325 0.5 Z M 0.3421 -0.0042 A 0.2149 0.2149 90 0 1 0.1546 -0.2386 A 0.2149 0.2149 90 0 1 0.3421 -0.473 A 0.2149 0.2149 90 0 1 0.5296 -0.2386 A 0.2149 0.2149 90 0 1 0.3421 -0.0043 Z';\n\nexport const SENTIMENT_POSITIVE_PATH =\n 'M 0 -1 A 1 1 90 1 0 1 0 A 1 1 90 0 0 0 -1 Z M -0.3522 -0.5916 A 0.215 0.215 90 0 1 -0.1647 -0.3572 A 0.215 0.215 90 0 1 -0.3522 -0.1229 A 0.215 0.215 90 0 1 -0.5397 -0.3572 A 0.2149 0.2149 90 0 1 -0.3522 -0.5916 Z M 0.3421 -0.598 A 0.215 0.215 90 0 1 0.5296 -0.3635 A 0.2149 0.2149 90 0 1 0.3421 -0.1291 A 0.2149 0.2149 90 0 1 0.1546 -0.3635 A 0.215 0.215 90 0 1 0.3421 -0.598 Z M 0 0.6275 A 0.6161 0.6161 90 0 1 -0.625 0.1187 H 0.625 A 0.6161 0.6161 90 0 1 0 0.6275 Z';\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","ANNOTATION_FONT_SIZE","ANNOTATION_FONT_WEIGHT","ANNOTATION_PADDING","DEFAULT_AXIS_ANNOTATION_COLOR","DEFAULT_AXIS_ANNOTATION_OFFSET","DEFAULT_BACKGROUND_COLOR","DEFAULT_BULLET_DIRECTION","DEFAULT_CATEGORICAL_DIMENSION","DEFAULT_COLOR","DEFAULT_COLOR_SCHEME","DEFAULT_DIMENSION_SCALE_TYPE","DEFAULT_FONT_SIZE","DEFAULT_FONT_COLOR","DEFAULT_GRANULARITY","DEFAULT_HIDDEN_SERIES","DEFAULT_LABEL_ALIGN","DEFAULT_LABEL_FONT_WEIGHT","DEFAULT_LABEL_ORIENTATION","DEFAULT_LABEL_POSITION","DEFAULT_LINE_TYPES","DEFAULT_LINE_WIDTHS","DEFAULT_LINEAR_DIMENSION","DEFAULT_LOCALE","DEFAULT_METRIC","DEFAULT_SCALE_TYPE","DEFAULT_SCALE_VALUE","DEFAULT_SECONDARY_COLOR","DEFAULT_SYMBOL_SHAPES","DEFAULT_SYMBOL_SIZE","DEFAULT_SYMBOL_SIZES","DEFAULT_SYMBOL_STROKE_WIDTH","DEFAULT_TIME_DIMENSION","DEFAULT_TRANSFORMED_TIME_DIMENSION","DEFAULT_TITLE_FONT_WEIGHT","DEFAULT_INTERACTION_MODE","TABLE","FILTERED_TABLE","GROUP_DATA","MARK_ID","SERIES_ID","STACK_ID","COMPONENT_NAME","TRENDLINE_VALUE","HIGHLIGHTED_ITEM","HIGHLIGHTED_GROUP","HIGHLIGHTED_SERIES","SELECTED_ITEM","SELECTED_SERIES","SELECTED_GROUP","MOUSE_OVER_SERIES","FIRST_RSC_SERIES_ID","LAST_RSC_SERIES_ID","COLOR_SCALE","LINE_TYPE_SCALE","LINEAR_COLOR_SCALE","LINE_WIDTH_SCALE","OPACITY_SCALE","SYMBOL_SHAPE_SCALE","SYMBOL_SIZE_SCALE","SYMBOL_PATH_WIDTH_SCALE","DEFAULT_OPACITY_RULE","CORNER_RADIUS","DISCRETE_PADDING","PADDING_RATIO","LINEAR_PADDING","TRELLIS_PADDING","DONUT_RADIUS","DONUT_SEGMENT_LABEL_MIN_ANGLE","DONUT_SUMMARY_MIN_FONT_SIZE","DONUT_SUMMARY_MAX_FONT_SIZE","DONUT_SUMMARY_FONT_SIZE_RATIO","DONUT_SUMMARY_MIN_RADIUS","DEFAULT_VENN_COLOR","DEFAULT_VENN_METRIC","DEFAULT_VENN_LABEL","HIGHLIGHT_CONTRAST_RATIO","LEGEND_TOOLTIP_DELAY","BACKGROUND_COLOR","MS_PER_DAY","TIME","INTERACTION_MODE","HOVER_SIZE","HOVER_SHAPE_COUNT","HOVER_SHAPE","ROUNDED_SQUARE_PATH","DATE_PATH","ANNOTATION_SINGLE_ICON_SVG","ANNOTATION_RANGED_ICON_SVG","SENTIMENT_NEGATIVE_PATH","SENTIMENT_NEUTRAL_PATH","SENTIMENT_POSITIVE_PATH"],"sourceRoot":""}
|