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
|
@@ -105,6 +105,7 @@ export class GuxPieChart {
|
|
|
105
105
|
return {
|
|
106
106
|
"chartData": {
|
|
107
107
|
"type": "unknown",
|
|
108
|
+
"attribute": "chart-data",
|
|
108
109
|
"mutable": false,
|
|
109
110
|
"complexType": {
|
|
110
111
|
"original": "Record<string, any>",
|
|
@@ -127,6 +128,7 @@ export class GuxPieChart {
|
|
|
127
128
|
},
|
|
128
129
|
"includeLegend": {
|
|
129
130
|
"type": "boolean",
|
|
131
|
+
"attribute": "include-legend",
|
|
130
132
|
"mutable": false,
|
|
131
133
|
"complexType": {
|
|
132
134
|
"original": "boolean",
|
|
@@ -141,11 +143,11 @@ export class GuxPieChart {
|
|
|
141
143
|
},
|
|
142
144
|
"getter": false,
|
|
143
145
|
"setter": false,
|
|
144
|
-
"attribute": "include-legend",
|
|
145
146
|
"reflect": false
|
|
146
147
|
},
|
|
147
148
|
"legendPosition": {
|
|
148
149
|
"type": "string",
|
|
150
|
+
"attribute": "legend-position",
|
|
149
151
|
"mutable": false,
|
|
150
152
|
"complexType": {
|
|
151
153
|
"original": "| 'left'\n | 'right'\n | 'top'\n | 'bottom'\n | 'top-left'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-right'\n | 'none'",
|
|
@@ -160,12 +162,12 @@ export class GuxPieChart {
|
|
|
160
162
|
},
|
|
161
163
|
"getter": false,
|
|
162
164
|
"setter": false,
|
|
163
|
-
"attribute": "legend-position",
|
|
164
165
|
"reflect": false,
|
|
165
166
|
"defaultValue": "'right'"
|
|
166
167
|
},
|
|
167
168
|
"legendTitle": {
|
|
168
169
|
"type": "string",
|
|
170
|
+
"attribute": "legend-title",
|
|
169
171
|
"mutable": false,
|
|
170
172
|
"complexType": {
|
|
171
173
|
"original": "string",
|
|
@@ -180,11 +182,11 @@ export class GuxPieChart {
|
|
|
180
182
|
},
|
|
181
183
|
"getter": false,
|
|
182
184
|
"setter": false,
|
|
183
|
-
"attribute": "legend-title",
|
|
184
185
|
"reflect": false
|
|
185
186
|
},
|
|
186
187
|
"colorFieldName": {
|
|
187
188
|
"type": "string",
|
|
189
|
+
"attribute": "color-field-name",
|
|
188
190
|
"mutable": false,
|
|
189
191
|
"complexType": {
|
|
190
192
|
"original": "string",
|
|
@@ -199,11 +201,11 @@ export class GuxPieChart {
|
|
|
199
201
|
},
|
|
200
202
|
"getter": false,
|
|
201
203
|
"setter": false,
|
|
202
|
-
"attribute": "color-field-name",
|
|
203
204
|
"reflect": false
|
|
204
205
|
},
|
|
205
206
|
"outerRadius": {
|
|
206
207
|
"type": "number",
|
|
208
|
+
"attribute": "outer-radius",
|
|
207
209
|
"mutable": false,
|
|
208
210
|
"complexType": {
|
|
209
211
|
"original": "number",
|
|
@@ -218,11 +220,11 @@ export class GuxPieChart {
|
|
|
218
220
|
},
|
|
219
221
|
"getter": false,
|
|
220
222
|
"setter": false,
|
|
221
|
-
"attribute": "outer-radius",
|
|
222
223
|
"reflect": false
|
|
223
224
|
},
|
|
224
225
|
"labelRadius": {
|
|
225
226
|
"type": "number",
|
|
227
|
+
"attribute": "label-radius",
|
|
226
228
|
"mutable": false,
|
|
227
229
|
"complexType": {
|
|
228
230
|
"original": "number",
|
|
@@ -237,11 +239,11 @@ export class GuxPieChart {
|
|
|
237
239
|
},
|
|
238
240
|
"getter": false,
|
|
239
241
|
"setter": false,
|
|
240
|
-
"attribute": "label-radius",
|
|
241
242
|
"reflect": false
|
|
242
243
|
},
|
|
243
244
|
"labelField": {
|
|
244
245
|
"type": "string",
|
|
246
|
+
"attribute": "label-field",
|
|
245
247
|
"mutable": false,
|
|
246
248
|
"complexType": {
|
|
247
249
|
"original": "string",
|
|
@@ -256,11 +258,11 @@ export class GuxPieChart {
|
|
|
256
258
|
},
|
|
257
259
|
"getter": false,
|
|
258
260
|
"setter": false,
|
|
259
|
-
"attribute": "label-field",
|
|
260
261
|
"reflect": false
|
|
261
262
|
},
|
|
262
263
|
"embedOptions": {
|
|
263
264
|
"type": "unknown",
|
|
265
|
+
"attribute": "embed-options",
|
|
264
266
|
"mutable": false,
|
|
265
267
|
"complexType": {
|
|
266
268
|
"original": "EmbedOptions",
|
|
@@ -142,6 +142,7 @@ export class GuxScatterPlotChart {
|
|
|
142
142
|
return {
|
|
143
143
|
"labelColor": {
|
|
144
144
|
"type": "string",
|
|
145
|
+
"attribute": "label-color",
|
|
145
146
|
"mutable": false,
|
|
146
147
|
"complexType": {
|
|
147
148
|
"original": "string",
|
|
@@ -156,12 +157,12 @@ export class GuxScatterPlotChart {
|
|
|
156
157
|
},
|
|
157
158
|
"getter": false,
|
|
158
159
|
"setter": false,
|
|
159
|
-
"attribute": "label-color",
|
|
160
160
|
"reflect": false,
|
|
161
161
|
"defaultValue": "VisualizationColorUtil.DEFAULT_LABEL_COLOR"
|
|
162
162
|
},
|
|
163
163
|
"domainColor": {
|
|
164
164
|
"type": "string",
|
|
165
|
+
"attribute": "domain-color",
|
|
165
166
|
"mutable": false,
|
|
166
167
|
"complexType": {
|
|
167
168
|
"original": "string",
|
|
@@ -176,12 +177,12 @@ export class GuxScatterPlotChart {
|
|
|
176
177
|
},
|
|
177
178
|
"getter": false,
|
|
178
179
|
"setter": false,
|
|
179
|
-
"attribute": "domain-color",
|
|
180
180
|
"reflect": false,
|
|
181
181
|
"defaultValue": "VisualizationColorUtil.DEFAULT_DOMAIN_COLOR"
|
|
182
182
|
},
|
|
183
183
|
"chartData": {
|
|
184
184
|
"type": "unknown",
|
|
185
|
+
"attribute": "chart-data",
|
|
185
186
|
"mutable": false,
|
|
186
187
|
"complexType": {
|
|
187
188
|
"original": "Record<string, any>",
|
|
@@ -204,6 +205,7 @@ export class GuxScatterPlotChart {
|
|
|
204
205
|
},
|
|
205
206
|
"xTickLabelSlant": {
|
|
206
207
|
"type": "boolean",
|
|
208
|
+
"attribute": "x-tick-label-slant",
|
|
207
209
|
"mutable": false,
|
|
208
210
|
"complexType": {
|
|
209
211
|
"original": "boolean",
|
|
@@ -218,11 +220,11 @@ export class GuxScatterPlotChart {
|
|
|
218
220
|
},
|
|
219
221
|
"getter": false,
|
|
220
222
|
"setter": false,
|
|
221
|
-
"attribute": "x-tick-label-slant",
|
|
222
223
|
"reflect": false
|
|
223
224
|
},
|
|
224
225
|
"includeLegend": {
|
|
225
226
|
"type": "boolean",
|
|
227
|
+
"attribute": "include-legend",
|
|
226
228
|
"mutable": false,
|
|
227
229
|
"complexType": {
|
|
228
230
|
"original": "boolean",
|
|
@@ -237,11 +239,11 @@ export class GuxScatterPlotChart {
|
|
|
237
239
|
},
|
|
238
240
|
"getter": false,
|
|
239
241
|
"setter": false,
|
|
240
|
-
"attribute": "include-legend",
|
|
241
242
|
"reflect": false
|
|
242
243
|
},
|
|
243
244
|
"legendPosition": {
|
|
244
245
|
"type": "string",
|
|
246
|
+
"attribute": "legend-position",
|
|
245
247
|
"mutable": false,
|
|
246
248
|
"complexType": {
|
|
247
249
|
"original": "| 'left'\n | 'right'\n | 'top'\n | 'bottom'\n | 'top-left'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-right'\n | 'none'",
|
|
@@ -256,12 +258,12 @@ export class GuxScatterPlotChart {
|
|
|
256
258
|
},
|
|
257
259
|
"getter": false,
|
|
258
260
|
"setter": false,
|
|
259
|
-
"attribute": "legend-position",
|
|
260
261
|
"reflect": false,
|
|
261
262
|
"defaultValue": "'right'"
|
|
262
263
|
},
|
|
263
264
|
"xFieldName": {
|
|
264
265
|
"type": "string",
|
|
266
|
+
"attribute": "x-field-name",
|
|
265
267
|
"mutable": false,
|
|
266
268
|
"complexType": {
|
|
267
269
|
"original": "string",
|
|
@@ -276,11 +278,11 @@ export class GuxScatterPlotChart {
|
|
|
276
278
|
},
|
|
277
279
|
"getter": false,
|
|
278
280
|
"setter": false,
|
|
279
|
-
"attribute": "x-field-name",
|
|
280
281
|
"reflect": false
|
|
281
282
|
},
|
|
282
283
|
"xAxisTitle": {
|
|
283
284
|
"type": "string",
|
|
285
|
+
"attribute": "x-axis-title",
|
|
284
286
|
"mutable": false,
|
|
285
287
|
"complexType": {
|
|
286
288
|
"original": "string",
|
|
@@ -295,11 +297,11 @@ export class GuxScatterPlotChart {
|
|
|
295
297
|
},
|
|
296
298
|
"getter": false,
|
|
297
299
|
"setter": false,
|
|
298
|
-
"attribute": "x-axis-title",
|
|
299
300
|
"reflect": false
|
|
300
301
|
},
|
|
301
302
|
"yFieldName": {
|
|
302
303
|
"type": "string",
|
|
304
|
+
"attribute": "y-field-name",
|
|
303
305
|
"mutable": false,
|
|
304
306
|
"complexType": {
|
|
305
307
|
"original": "string",
|
|
@@ -314,11 +316,11 @@ export class GuxScatterPlotChart {
|
|
|
314
316
|
},
|
|
315
317
|
"getter": false,
|
|
316
318
|
"setter": false,
|
|
317
|
-
"attribute": "y-field-name",
|
|
318
319
|
"reflect": false
|
|
319
320
|
},
|
|
320
321
|
"yAxisTitle": {
|
|
321
322
|
"type": "string",
|
|
323
|
+
"attribute": "y-axis-title",
|
|
322
324
|
"mutable": false,
|
|
323
325
|
"complexType": {
|
|
324
326
|
"original": "string",
|
|
@@ -333,11 +335,11 @@ export class GuxScatterPlotChart {
|
|
|
333
335
|
},
|
|
334
336
|
"getter": false,
|
|
335
337
|
"setter": false,
|
|
336
|
-
"attribute": "y-axis-title",
|
|
337
338
|
"reflect": false
|
|
338
339
|
},
|
|
339
340
|
"legendTitle": {
|
|
340
341
|
"type": "string",
|
|
342
|
+
"attribute": "legend-title",
|
|
341
343
|
"mutable": false,
|
|
342
344
|
"complexType": {
|
|
343
345
|
"original": "string",
|
|
@@ -352,11 +354,11 @@ export class GuxScatterPlotChart {
|
|
|
352
354
|
},
|
|
353
355
|
"getter": false,
|
|
354
356
|
"setter": false,
|
|
355
|
-
"attribute": "legend-title",
|
|
356
357
|
"reflect": false
|
|
357
358
|
},
|
|
358
359
|
"colorFieldName": {
|
|
359
360
|
"type": "string",
|
|
361
|
+
"attribute": "color-field-name",
|
|
360
362
|
"mutable": false,
|
|
361
363
|
"complexType": {
|
|
362
364
|
"original": "string",
|
|
@@ -371,11 +373,11 @@ export class GuxScatterPlotChart {
|
|
|
371
373
|
},
|
|
372
374
|
"getter": false,
|
|
373
375
|
"setter": false,
|
|
374
|
-
"attribute": "color-field-name",
|
|
375
376
|
"reflect": false
|
|
376
377
|
},
|
|
377
378
|
"useShape": {
|
|
378
379
|
"type": "string",
|
|
380
|
+
"attribute": "use-shape",
|
|
379
381
|
"mutable": false,
|
|
380
382
|
"complexType": {
|
|
381
383
|
"original": "string",
|
|
@@ -390,11 +392,11 @@ export class GuxScatterPlotChart {
|
|
|
390
392
|
},
|
|
391
393
|
"getter": false,
|
|
392
394
|
"setter": false,
|
|
393
|
-
"attribute": "use-shape",
|
|
394
395
|
"reflect": false
|
|
395
396
|
},
|
|
396
397
|
"embedOptions": {
|
|
397
398
|
"type": "unknown",
|
|
399
|
+
"attribute": "embed-options",
|
|
398
400
|
"mutable": false,
|
|
399
401
|
"complexType": {
|
|
400
402
|
"original": "EmbedOptions",
|
|
@@ -83,6 +83,7 @@ export class GuxVisualization {
|
|
|
83
83
|
return {
|
|
84
84
|
"visualizationSpec": {
|
|
85
85
|
"type": "unknown",
|
|
86
|
+
"attribute": "visualization-spec",
|
|
86
87
|
"mutable": false,
|
|
87
88
|
"complexType": {
|
|
88
89
|
"original": "VisualizationSpec",
|
|
@@ -106,6 +107,7 @@ export class GuxVisualization {
|
|
|
106
107
|
},
|
|
107
108
|
"embedOptions": {
|
|
108
109
|
"type": "unknown",
|
|
110
|
+
"attribute": "embed-options",
|
|
109
111
|
"mutable": false,
|
|
110
112
|
"complexType": {
|
|
111
113
|
"original": "EmbedOptions",
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const version = "4.156.1";
|
|
2
|
+
var packageInfo = {
|
|
3
|
+
version: version};
|
|
4
|
+
|
|
5
|
+
// The number of actions to process every interval
|
|
6
|
+
const ACTION_BATCH_SIZE = 20;
|
|
7
|
+
const NR_LIMIT_INTERVAL = 30000; // 30s
|
|
8
|
+
/**
|
|
9
|
+
* A queue of events that should be tracked by NewRelic.
|
|
10
|
+
* We initialize it with the library version to make sure that's always reported.
|
|
11
|
+
*/
|
|
12
|
+
const actionQueue = [
|
|
13
|
+
getVersionEvent(packageInfo.version)
|
|
14
|
+
];
|
|
15
|
+
/**
|
|
16
|
+
* Process the next batch items in the queue, set a timeout to recur.
|
|
17
|
+
* We use a recurring timeout instead of an interval because it guarantees
|
|
18
|
+
* a minimum of NR_LMIT_INTERVAL between batches, even if the browser is
|
|
19
|
+
* held up by processing elsewhere.
|
|
20
|
+
*/
|
|
21
|
+
function processActionQueue() {
|
|
22
|
+
const newrelic = window.newrelic;
|
|
23
|
+
if (!newrelic) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
for (let i = 0; i < ACTION_BATCH_SIZE; i++) {
|
|
27
|
+
if (actionQueue.length == 0) {
|
|
28
|
+
setTimeout(processActionQueue, NR_LIMIT_INTERVAL);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const action = actionQueue.shift();
|
|
32
|
+
newrelic.addPageAction(action.name, Object.assign(Object.assign({}, action.metadata), { queueDepth: actionQueue.length }));
|
|
33
|
+
}
|
|
34
|
+
setTimeout(processActionQueue, NR_LIMIT_INTERVAL);
|
|
35
|
+
}
|
|
36
|
+
let trackingStarted = false;
|
|
37
|
+
/**
|
|
38
|
+
* Begin action processing loop if it hasn't started.
|
|
39
|
+
*/
|
|
40
|
+
function ensureTracking() {
|
|
41
|
+
if (!trackingStarted) {
|
|
42
|
+
trackingStarted = true;
|
|
43
|
+
processActionQueue();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Submits a component for tracking by NewRelic.
|
|
48
|
+
*/
|
|
49
|
+
function trackComponent(element, metadata) {
|
|
50
|
+
if (!window.newrelic) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
ensureTracking();
|
|
54
|
+
// Ignore components in the shadow DOM of another component
|
|
55
|
+
// e.g. Only track components used directly by the app
|
|
56
|
+
if (!document.contains(element)) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
actionQueue.push({
|
|
60
|
+
name: 'spark-component',
|
|
61
|
+
metadata: Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version })
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function getVersionEvent(packageInfoVersion) {
|
|
65
|
+
const [major, minor, ...patch] = packageInfoVersion.split('.');
|
|
66
|
+
return {
|
|
67
|
+
name: 'spark-library',
|
|
68
|
+
metadata: {
|
|
69
|
+
fullVersion: `${major}.${minor}.${patch.join('.')}`,
|
|
70
|
+
majorVersion: major,
|
|
71
|
+
minorVersion: `${major}.${minor}`
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const VISUALIZATION_COLORS = [
|
|
77
|
+
'#203B73',
|
|
78
|
+
'#1DA8B3',
|
|
79
|
+
'#75A8FF',
|
|
80
|
+
'#8452CF',
|
|
81
|
+
'#B5B5EB',
|
|
82
|
+
'#CC3EBE',
|
|
83
|
+
'#5E5782',
|
|
84
|
+
'#FF8FDD',
|
|
85
|
+
'#868C1E',
|
|
86
|
+
'#DDD933'
|
|
87
|
+
];
|
|
88
|
+
const DEFAULT_LABEL_COLOR = '#596373';
|
|
89
|
+
const DEFAULT_DOMAIN_COLOR = '#596373';
|
|
90
|
+
|
|
91
|
+
export { DEFAULT_LABEL_COLOR as D, VISUALIZATION_COLORS as V, DEFAULT_DOMAIN_COLOR as a, trackComponent as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
3
|
-
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
1
|
+
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-7ILyl2XS.js';
|
|
2
|
+
export { s as setNonce } from './index-7ILyl2XS.js';
|
|
4
3
|
|
|
5
4
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.35.1 | MIT Licensed | https://stenciljs.com
|
|
7
6
|
*/
|
|
7
|
+
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
10
10
|
const opts = {};
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["gux-visualization-beta",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["gux-chart-column-beta",[[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",[[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",[[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",[[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",[[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);
|
|
19
|
+
return bootstrapLazy([["gux-visualization-beta",[[1,"gux-visualization-beta",{"visualizationSpec":[16,"visualization-spec"],"embedOptions":[16,"embed-options"]}]]],["gux-chart-column-beta",[[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",[[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",[[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",[[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",[[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);
|
|
20
20
|
});
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
3
|
-
import { l as logError } from './log-error-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-7ILyl2XS.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BExqYJSa.js';
|
|
3
|
+
import { l as logError } from './log-error-nsqlWzyl.js';
|
|
4
4
|
|
|
5
5
|
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}";
|
|
6
|
-
const GuxChartColumnBetaStyle0 = guxChartColumnCss;
|
|
7
6
|
|
|
8
7
|
const GuxColumnChart = class {
|
|
9
8
|
constructor(hostRef) {
|
|
@@ -132,6 +131,6 @@ const GuxColumnChart = class {
|
|
|
132
131
|
"chartData": ["parseData"]
|
|
133
132
|
}; }
|
|
134
133
|
};
|
|
135
|
-
GuxColumnChart.style =
|
|
134
|
+
GuxColumnChart.style = guxChartColumnCss;
|
|
136
135
|
|
|
137
136
|
export { GuxColumnChart as gux_chart_column_beta };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
3
|
-
import { l as logError } from './log-error-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-7ILyl2XS.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BExqYJSa.js';
|
|
3
|
+
import { l as logError } from './log-error-nsqlWzyl.js';
|
|
4
4
|
|
|
5
5
|
const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
6
|
-
const GuxChartDonutBetaStyle0 = guxChartDonutCss;
|
|
7
6
|
|
|
8
7
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
9
8
|
const DEFAULT_LABEL_FIELD_NAME = 'value';
|
|
@@ -79,7 +78,7 @@ const GuxDonutChart = class {
|
|
|
79
78
|
this.baseChartSpec.encoding.color.legend = null;
|
|
80
79
|
}
|
|
81
80
|
const colorFieldName = this.colorFieldName || DEFAULT_COLOR_FIELD_NAME;
|
|
82
|
-
|
|
81
|
+
{
|
|
83
82
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
84
83
|
}
|
|
85
84
|
const legendTitle = this.legendTitle;
|
|
@@ -204,6 +203,6 @@ const GuxDonutChart = class {
|
|
|
204
203
|
"chartData": ["parseData"]
|
|
205
204
|
}; }
|
|
206
205
|
};
|
|
207
|
-
GuxDonutChart.style =
|
|
206
|
+
GuxDonutChart.style = guxChartDonutCss;
|
|
208
207
|
|
|
209
208
|
export { GuxDonutChart as gux_chart_donut_beta };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
3
|
-
import { l as logError } from './log-error-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-7ILyl2XS.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BExqYJSa.js';
|
|
3
|
+
import { l as logError } from './log-error-nsqlWzyl.js';
|
|
4
4
|
|
|
5
5
|
const guxChartLineCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
6
|
-
const GuxChartLineBetaStyle0 = guxChartLineCss;
|
|
7
6
|
|
|
8
7
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
9
8
|
const GuxLineChart = class {
|
|
@@ -91,7 +90,7 @@ const GuxLineChart = class {
|
|
|
91
90
|
if (yAxisTitle) {
|
|
92
91
|
this.baseChartSpec.encoding.y.title = yAxisTitle;
|
|
93
92
|
}
|
|
94
|
-
|
|
93
|
+
{
|
|
95
94
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
96
95
|
}
|
|
97
96
|
if (legendTitle) {
|
|
@@ -124,6 +123,6 @@ const GuxLineChart = class {
|
|
|
124
123
|
"chartData": ["parseData"]
|
|
125
124
|
}; }
|
|
126
125
|
};
|
|
127
|
-
GuxLineChart.style =
|
|
126
|
+
GuxLineChart.style = guxChartLineCss;
|
|
128
127
|
|
|
129
128
|
export { GuxLineChart as gux_chart_line_beta };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
3
|
-
import { l as logError } from './log-error-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-7ILyl2XS.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BExqYJSa.js';
|
|
3
|
+
import { l as logError } from './log-error-nsqlWzyl.js';
|
|
4
4
|
|
|
5
5
|
const guxChartPieCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
6
|
-
const GuxChartPieBetaStyle0 = guxChartPieCss;
|
|
7
6
|
|
|
8
7
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
9
8
|
const DEFAULT_LABEL_FIELD_NAME = 'value';
|
|
@@ -58,7 +57,7 @@ const GuxPieChart = class {
|
|
|
58
57
|
this.baseChartSpec.config.legend.orient = this.legendPosition;
|
|
59
58
|
}
|
|
60
59
|
const colorFieldName = this.colorFieldName || DEFAULT_COLOR_FIELD_NAME;
|
|
61
|
-
|
|
60
|
+
{
|
|
62
61
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
63
62
|
}
|
|
64
63
|
const legendTitle = this.legendTitle;
|
|
@@ -97,6 +96,6 @@ const GuxPieChart = class {
|
|
|
97
96
|
"chartData": ["parseData"]
|
|
98
97
|
}; }
|
|
99
98
|
};
|
|
100
|
-
GuxPieChart.style =
|
|
99
|
+
GuxPieChart.style = guxChartPieCss;
|
|
101
100
|
|
|
102
101
|
export { GuxPieChart as gux_chart_pie_beta };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
3
|
-
import { l as logError } from './log-error-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-7ILyl2XS.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BExqYJSa.js';
|
|
3
|
+
import { l as logError } from './log-error-nsqlWzyl.js';
|
|
4
4
|
|
|
5
5
|
const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
6
|
-
const GuxChartScatterPlotBetaStyle0 = guxChartScatterPlotCss;
|
|
7
6
|
|
|
8
7
|
const DEFAULT_COLOR_FIELD_NAME = 'category';
|
|
9
8
|
const GuxScatterPlotChart = class {
|
|
@@ -102,7 +101,7 @@ const GuxScatterPlotChart = class {
|
|
|
102
101
|
if (yAxisTitle) {
|
|
103
102
|
this.baseChartSpec.encoding.y.title = yAxisTitle;
|
|
104
103
|
}
|
|
105
|
-
|
|
104
|
+
{
|
|
106
105
|
this.baseChartSpec.encoding.color.field = colorFieldName;
|
|
107
106
|
}
|
|
108
107
|
if (legendTitle) {
|
|
@@ -134,6 +133,6 @@ const GuxScatterPlotChart = class {
|
|
|
134
133
|
"chartData": ["parseData"]
|
|
135
134
|
}; }
|
|
136
135
|
};
|
|
137
|
-
GuxScatterPlotChart.style =
|
|
136
|
+
GuxScatterPlotChart.style = guxChartScatterPlotCss;
|
|
138
137
|
|
|
139
138
|
export { GuxScatterPlotChart as gux_chart_scatter_plot_beta };
|