genesys-spark-chart-components 4.155.1 → 4.156.1
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/dist/cjs/color-palette-D0WSZbAp.js +96 -0
- package/dist/cjs/genesys-chart-webcomponents.cjs.js +7 -8
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +4 -7
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +5 -8
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +5 -8
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +5 -8
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +5 -8
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +45549 -40654
- package/dist/cjs/{index-e390a39a.js → index-D32B1d05.js} +390 -304
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/beta/gux-chart-column/gux-chart-column.js +13 -10
- package/dist/collection/components/beta/gux-chart-donut/gux-chart-donut.js +19 -16
- package/dist/collection/components/beta/gux-chart-line/gux-chart-line.js +16 -14
- package/dist/collection/components/beta/gux-chart-pie/gux-chart-pie.js +9 -7
- package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.js +14 -12
- package/dist/collection/components/beta/gux-visualization/gux-visualization.js +2 -0
- package/dist/esm/color-palette-BExqYJSa.js +91 -0
- package/dist/esm/genesys-chart-webcomponents.js +5 -5
- package/dist/esm/gux-chart-column-beta.entry.js +4 -5
- package/dist/esm/gux-chart-donut-beta.entry.js +5 -6
- package/dist/esm/gux-chart-line-beta.entry.js +5 -6
- package/dist/esm/gux-chart-pie-beta.entry.js +5 -6
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +5 -6
- package/dist/esm/gux-visualization-beta.entry.js +45550 -40653
- package/dist/esm/{index-eabc38b4.js → index-7ILyl2XS.js} +387 -300
- package/dist/esm/loader.js +3 -4
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/p-30dcd0b3.entry.js +11 -0
- package/dist/genesys-chart-webcomponents/p-59176c7b.entry.js +1 -0
- package/dist/genesys-chart-webcomponents/p-6bcb5650.entry.js +1 -0
- package/dist/genesys-chart-webcomponents/p-7ILyl2XS.js +2 -0
- package/dist/genesys-chart-webcomponents/{p-97417448.entry.js → p-91b25b0e.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/p-BExqYJSa.js +1 -0
- package/dist/genesys-chart-webcomponents/p-da7802da.entry.js +1 -0
- package/dist/genesys-chart-webcomponents/p-deed4545.entry.js +1 -0
- package/dist/types/components.d.ts +48 -0
- package/dist/types/stencil-public-runtime.d.ts +23 -1
- package/package.json +11 -16
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/color-palette-be056d9b.js +0 -224
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/color-palette-02460f9e.js +0 -219
- package/dist/genesys-chart-webcomponents/p-04c23e5f.entry.js +0 -1
- package/dist/genesys-chart-webcomponents/p-1681d47e.entry.js +0 -1
- package/dist/genesys-chart-webcomponents/p-82be62e8.entry.js +0 -11
- package/dist/genesys-chart-webcomponents/p-90b67456.js +0 -1
- package/dist/genesys-chart-webcomponents/p-97297b0f.entry.js +0 -1
- package/dist/genesys-chart-webcomponents/p-977a4087.js +0 -2
- package/dist/genesys-chart-webcomponents/p-d2cfd9f4.entry.js +0 -1
- package/dist/genesys-chart-webcomponents/p-e1255160.js +0 -1
- package/dist/loader/package.json +0 -11
- /package/dist/cjs/{log-error-8f448752.js → log-error-BMPVm36Q.js} +0 -0
- /package/dist/esm/{log-error-fbbfc3ab.js → log-error-nsqlWzyl.js} +0 -0
- /package/dist/genesys-chart-webcomponents/{p-23610106.js → p-nsqlWzyl.js} +0 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const version = "4.156.1";
|
|
4
|
+
var packageInfo = {
|
|
5
|
+
version: version};
|
|
6
|
+
|
|
7
|
+
// The number of actions to process every interval
|
|
8
|
+
const ACTION_BATCH_SIZE = 20;
|
|
9
|
+
const NR_LIMIT_INTERVAL = 30000; // 30s
|
|
10
|
+
/**
|
|
11
|
+
* A queue of events that should be tracked by NewRelic.
|
|
12
|
+
* We initialize it with the library version to make sure that's always reported.
|
|
13
|
+
*/
|
|
14
|
+
const actionQueue = [
|
|
15
|
+
getVersionEvent(packageInfo.version)
|
|
16
|
+
];
|
|
17
|
+
/**
|
|
18
|
+
* Process the next batch items in the queue, set a timeout to recur.
|
|
19
|
+
* We use a recurring timeout instead of an interval because it guarantees
|
|
20
|
+
* a minimum of NR_LMIT_INTERVAL between batches, even if the browser is
|
|
21
|
+
* held up by processing elsewhere.
|
|
22
|
+
*/
|
|
23
|
+
function processActionQueue() {
|
|
24
|
+
const newrelic = window.newrelic;
|
|
25
|
+
if (!newrelic) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
for (let i = 0; i < ACTION_BATCH_SIZE; i++) {
|
|
29
|
+
if (actionQueue.length == 0) {
|
|
30
|
+
setTimeout(processActionQueue, NR_LIMIT_INTERVAL);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
const action = actionQueue.shift();
|
|
34
|
+
newrelic.addPageAction(action.name, Object.assign(Object.assign({}, action.metadata), { queueDepth: actionQueue.length }));
|
|
35
|
+
}
|
|
36
|
+
setTimeout(processActionQueue, NR_LIMIT_INTERVAL);
|
|
37
|
+
}
|
|
38
|
+
let trackingStarted = false;
|
|
39
|
+
/**
|
|
40
|
+
* Begin action processing loop if it hasn't started.
|
|
41
|
+
*/
|
|
42
|
+
function ensureTracking() {
|
|
43
|
+
if (!trackingStarted) {
|
|
44
|
+
trackingStarted = true;
|
|
45
|
+
processActionQueue();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Submits a component for tracking by NewRelic.
|
|
50
|
+
*/
|
|
51
|
+
function trackComponent(element, metadata) {
|
|
52
|
+
if (!window.newrelic) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
ensureTracking();
|
|
56
|
+
// Ignore components in the shadow DOM of another component
|
|
57
|
+
// e.g. Only track components used directly by the app
|
|
58
|
+
if (!document.contains(element)) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
actionQueue.push({
|
|
62
|
+
name: 'spark-component',
|
|
63
|
+
metadata: Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version })
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function getVersionEvent(packageInfoVersion) {
|
|
67
|
+
const [major, minor, ...patch] = packageInfoVersion.split('.');
|
|
68
|
+
return {
|
|
69
|
+
name: 'spark-library',
|
|
70
|
+
metadata: {
|
|
71
|
+
fullVersion: `${major}.${minor}.${patch.join('.')}`,
|
|
72
|
+
majorVersion: major,
|
|
73
|
+
minorVersion: `${major}.${minor}`
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const VISUALIZATION_COLORS = [
|
|
79
|
+
'#203B73',
|
|
80
|
+
'#1DA8B3',
|
|
81
|
+
'#75A8FF',
|
|
82
|
+
'#8452CF',
|
|
83
|
+
'#B5B5EB',
|
|
84
|
+
'#CC3EBE',
|
|
85
|
+
'#5E5782',
|
|
86
|
+
'#FF8FDD',
|
|
87
|
+
'#868C1E',
|
|
88
|
+
'#DDD933'
|
|
89
|
+
];
|
|
90
|
+
const DEFAULT_LABEL_COLOR = '#596373';
|
|
91
|
+
const DEFAULT_DOMAIN_COLOR = '#596373';
|
|
92
|
+
|
|
93
|
+
exports.DEFAULT_DOMAIN_COLOR = DEFAULT_DOMAIN_COLOR;
|
|
94
|
+
exports.DEFAULT_LABEL_COLOR = DEFAULT_LABEL_COLOR;
|
|
95
|
+
exports.VISUALIZATION_COLORS = VISUALIZATION_COLORS;
|
|
96
|
+
exports.trackComponent = trackComponent;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e390a39a.js');
|
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
3
|
+
var index = require('./index-D32B1d05.js');
|
|
7
4
|
|
|
5
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
8
6
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
7
|
+
Stencil Client Patch Browser v4.35.1 | MIT Licensed | https://stenciljs.com
|
|
10
8
|
*/
|
|
9
|
+
|
|
11
10
|
var patchBrowser = () => {
|
|
12
|
-
const importMeta = (typeof document === 'undefined' ?
|
|
11
|
+
const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('genesys-chart-webcomponents.cjs.js', document.baseURI).href));
|
|
13
12
|
const opts = {};
|
|
14
13
|
if (importMeta !== "") {
|
|
15
14
|
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
@@ -18,8 +17,8 @@ var patchBrowser = () => {
|
|
|
18
17
|
};
|
|
19
18
|
|
|
20
19
|
patchBrowser().then(async (options) => {
|
|
21
|
-
await
|
|
22
|
-
return index.bootstrapLazy([["gux-visualization-beta.cjs",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["gux-chart-column-beta.cjs",[[1,"gux-chart-column-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-donut-beta.cjs",[[1,"gux-chart-donut-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-line-beta.cjs",[[1,"gux-chart-line-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-pie-beta.cjs",[[1,"gux-chart-pie-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16]},null,{"chartData":["parseData"]}]]],["gux-chart-scatter-plot-beta.cjs",[[1,"gux-chart-scatter-plot-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16]},null,{"chartData":["parseData"]}]]]], options);
|
|
20
|
+
await index.globalScripts();
|
|
21
|
+
return index.bootstrapLazy([["gux-visualization-beta.cjs",[[1,"gux-visualization-beta",{"visualizationSpec":[16,"visualization-spec"],"embedOptions":[16,"embed-options"]}]]],["gux-chart-column-beta.cjs",[[1,"gux-chart-column-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16,"chart-layers"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-donut-beta.cjs",[[1,"gux-chart-donut-beta",{"chartData":[16,"chart-data"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16,"tooltip-options"],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-line-beta.cjs",[[1,"gux-chart-line-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-pie-beta.cjs",[[1,"gux-chart-pie-beta",{"chartData":[16,"chart-data"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-scatter-plot-beta.cjs",[[1,"gux-chart-scatter-plot-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]]], options);
|
|
23
22
|
});
|
|
24
23
|
|
|
25
24
|
exports.setNonce = index.setNonce;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const colorPalette = require('./color-palette-be056d9b.js');
|
|
7
|
-
const logError = require('./log-error-8f448752.js');
|
|
3
|
+
var index = require('./index-D32B1d05.js');
|
|
4
|
+
var colorPalette = require('./color-palette-D0WSZbAp.js');
|
|
5
|
+
var logError = require('./log-error-BMPVm36Q.js');
|
|
8
6
|
|
|
9
7
|
const guxChartColumnCss = "gux-visualization-beta{height:fit-content;color:#2e394c;}gux-visualization-beta .mark-rect.layer_0_marks path{fill:url(#diagonalHatch0)}gux-visualization-beta .mark-rect.layer_1_marks path{fill:#1da8b3}";
|
|
10
|
-
const GuxChartColumnBetaStyle0 = guxChartColumnCss;
|
|
11
8
|
|
|
12
9
|
const GuxColumnChart = class {
|
|
13
10
|
constructor(hostRef) {
|
|
@@ -136,6 +133,6 @@ const GuxColumnChart = class {
|
|
|
136
133
|
"chartData": ["parseData"]
|
|
137
134
|
}; }
|
|
138
135
|
};
|
|
139
|
-
GuxColumnChart.style =
|
|
136
|
+
GuxColumnChart.style = guxChartColumnCss;
|
|
140
137
|
|
|
141
138
|
exports.gux_chart_column_beta = GuxColumnChart;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const colorPalette = require('./color-palette-be056d9b.js');
|
|
7
|
-
const logError = require('./log-error-8f448752.js');
|
|
3
|
+
var index = require('./index-D32B1d05.js');
|
|
4
|
+
var colorPalette = require('./color-palette-D0WSZbAp.js');
|
|
5
|
+
var logError = require('./log-error-BMPVm36Q.js');
|
|
8
6
|
|
|
9
7
|
const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
10
|
-
const GuxChartDonutBetaStyle0 = guxChartDonutCss;
|
|
11
8
|
|
|
12
9
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
13
10
|
const DEFAULT_LABEL_FIELD_NAME = 'value';
|
|
@@ -83,7 +80,7 @@ const GuxDonutChart = class {
|
|
|
83
80
|
this.baseChartSpec.encoding.color.legend = null;
|
|
84
81
|
}
|
|
85
82
|
const colorFieldName = this.colorFieldName || DEFAULT_COLOR_FIELD_NAME;
|
|
86
|
-
|
|
83
|
+
{
|
|
87
84
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
88
85
|
}
|
|
89
86
|
const legendTitle = this.legendTitle;
|
|
@@ -208,6 +205,6 @@ const GuxDonutChart = class {
|
|
|
208
205
|
"chartData": ["parseData"]
|
|
209
206
|
}; }
|
|
210
207
|
};
|
|
211
|
-
GuxDonutChart.style =
|
|
208
|
+
GuxDonutChart.style = guxChartDonutCss;
|
|
212
209
|
|
|
213
210
|
exports.gux_chart_donut_beta = GuxDonutChart;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const colorPalette = require('./color-palette-be056d9b.js');
|
|
7
|
-
const logError = require('./log-error-8f448752.js');
|
|
3
|
+
var index = require('./index-D32B1d05.js');
|
|
4
|
+
var colorPalette = require('./color-palette-D0WSZbAp.js');
|
|
5
|
+
var logError = require('./log-error-BMPVm36Q.js');
|
|
8
6
|
|
|
9
7
|
const guxChartLineCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
10
|
-
const GuxChartLineBetaStyle0 = guxChartLineCss;
|
|
11
8
|
|
|
12
9
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
13
10
|
const GuxLineChart = class {
|
|
@@ -95,7 +92,7 @@ const GuxLineChart = class {
|
|
|
95
92
|
if (yAxisTitle) {
|
|
96
93
|
this.baseChartSpec.encoding.y.title = yAxisTitle;
|
|
97
94
|
}
|
|
98
|
-
|
|
95
|
+
{
|
|
99
96
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
100
97
|
}
|
|
101
98
|
if (legendTitle) {
|
|
@@ -128,6 +125,6 @@ const GuxLineChart = class {
|
|
|
128
125
|
"chartData": ["parseData"]
|
|
129
126
|
}; }
|
|
130
127
|
};
|
|
131
|
-
GuxLineChart.style =
|
|
128
|
+
GuxLineChart.style = guxChartLineCss;
|
|
132
129
|
|
|
133
130
|
exports.gux_chart_line_beta = GuxLineChart;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const colorPalette = require('./color-palette-be056d9b.js');
|
|
7
|
-
const logError = require('./log-error-8f448752.js');
|
|
3
|
+
var index = require('./index-D32B1d05.js');
|
|
4
|
+
var colorPalette = require('./color-palette-D0WSZbAp.js');
|
|
5
|
+
var logError = require('./log-error-BMPVm36Q.js');
|
|
8
6
|
|
|
9
7
|
const guxChartPieCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
10
|
-
const GuxChartPieBetaStyle0 = guxChartPieCss;
|
|
11
8
|
|
|
12
9
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
13
10
|
const DEFAULT_LABEL_FIELD_NAME = 'value';
|
|
@@ -62,7 +59,7 @@ const GuxPieChart = class {
|
|
|
62
59
|
this.baseChartSpec.config.legend.orient = this.legendPosition;
|
|
63
60
|
}
|
|
64
61
|
const colorFieldName = this.colorFieldName || DEFAULT_COLOR_FIELD_NAME;
|
|
65
|
-
|
|
62
|
+
{
|
|
66
63
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
67
64
|
}
|
|
68
65
|
const legendTitle = this.legendTitle;
|
|
@@ -101,6 +98,6 @@ const GuxPieChart = class {
|
|
|
101
98
|
"chartData": ["parseData"]
|
|
102
99
|
}; }
|
|
103
100
|
};
|
|
104
|
-
GuxPieChart.style =
|
|
101
|
+
GuxPieChart.style = guxChartPieCss;
|
|
105
102
|
|
|
106
103
|
exports.gux_chart_pie_beta = GuxPieChart;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const colorPalette = require('./color-palette-be056d9b.js');
|
|
7
|
-
const logError = require('./log-error-8f448752.js');
|
|
3
|
+
var index = require('./index-D32B1d05.js');
|
|
4
|
+
var colorPalette = require('./color-palette-D0WSZbAp.js');
|
|
5
|
+
var logError = require('./log-error-BMPVm36Q.js');
|
|
8
6
|
|
|
9
7
|
const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
10
|
-
const GuxChartScatterPlotBetaStyle0 = guxChartScatterPlotCss;
|
|
11
8
|
|
|
12
9
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
13
10
|
const GuxScatterPlotChart = class {
|
|
@@ -106,7 +103,7 @@ const GuxScatterPlotChart = class {
|
|
|
106
103
|
if (yAxisTitle) {
|
|
107
104
|
this.baseChartSpec.encoding.y.title = yAxisTitle;
|
|
108
105
|
}
|
|
109
|
-
|
|
106
|
+
{
|
|
110
107
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
111
108
|
}
|
|
112
109
|
if (legendTitle) {
|
|
@@ -138,6 +135,6 @@ const GuxScatterPlotChart = class {
|
|
|
138
135
|
"chartData": ["parseData"]
|
|
139
136
|
}; }
|
|
140
137
|
};
|
|
141
|
-
GuxScatterPlotChart.style =
|
|
138
|
+
GuxScatterPlotChart.style = guxChartScatterPlotCss;
|
|
142
139
|
|
|
143
140
|
exports.gux_chart_scatter_plot_beta = GuxScatterPlotChart;
|