@designsystem-se/af 35.4.1-beta.5 → 35.4.1-beta.6

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.
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-a53686b3.js';
2
- import { o as ordinal, i as initRange, r as range, s as select, a as axisLeft, l as linear, b as axisBottom, p as polyInOut, c as interpolate, m as max, d as min, e as linear$1 } from './p-a47b6b5c.js';
2
+ import { o as ordinal, i as initRange, r as range, s as select, a as axisLeft, l as linear, b as axisBottom, m as max, p as polyInOut, c as min, d as linear$1 } from './p-f9a1a787.js';
3
3
  import { _ as _t } from './p-08cf2c0e.js';
4
4
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
5
5
  import { B as BarChartVariation } from './p-dcdffb3c.js';
@@ -349,189 +349,33 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
349
349
  return 'barGroup' + key.replace(/[^A-Z0-9]+/gi, '');
350
350
  };
351
351
  this.updateBars = (fromLoading) => {
352
- this.barChartContainer
352
+ this.barSelection = this.barChartContainer.select('.interactiveElements')
353
353
  .selectAll('.barGroup')
354
354
  .data(this.mappedData)
355
- .join((enter) => {
356
- var _a, _b;
357
- const tempSelection = enter
358
- .append('g')
359
- .attr('class', 'barGroup')
360
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
361
- tempSelection
362
- .append('rect')
363
- .attr('class', 'bar')
364
- .style('cursor', 'pointer')
365
- .attr('ry', 4)
366
- .attr('rx', 4)
367
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
368
- ? this.yScale(d.key)
369
- : this.dims.height - this.margin.bottom)
370
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
371
- ? 2
372
- : this.xScale(d.key))
373
- .attr('width', () => this.afVariation === BarChartVariation.Horizontal
374
- ? 0
375
- : this.xScale.bandwidth())
376
- .attr('height', () => this.afVariation === BarChartVariation.Horizontal
377
- ? this.yScale.bandwidth()
378
- : 0)
379
- .on('mouseenter', this.hover)
380
- .on('mouseleave', this.hoverOut)
381
- .on('click', this.openTooltip)
382
- .transition()
383
- .duration(this.defaultDuration)
384
- .ease(polyInOut)
385
- .attr('width', this.widthFunction)
386
- .attr('y', this.yFunction)
387
- .attr('height', this.heightFunction)
388
- .attr('fill', '#00005a');
389
- if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
390
- return tempSelection;
391
- tempSelection
392
- .append('text')
393
- .text((d) => d.value.toLocaleString())
394
- .attr('class', 'barText')
395
- .attr('font-size', this.fontSize)
396
- .attr('font-weight', '600')
397
- .attr('text-anchor', 'end')
398
- .style('pointer-events', 'none')
399
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
400
- ? this.yScale(d.key) + this.yScale.bandwidth() / 2
401
- : this.dims.height - this.margin.bottom)
402
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
403
- ? 2
404
- : this.xScale(d.key) + this.xScale.bandwidth() / 2)
405
- .transition()
406
- .duration(this.defaultDuration)
407
- .ease(polyInOut)
408
- .attr('font-size', this.fontSize)
409
- .attr('font-weight', '600')
410
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
411
- ? this.xScale(d.value)
412
- : this.xScale(d.key) + this.xScale.bandwidth() / 2)
413
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
414
- ? this.yScale(d.key) + this.yScale.bandwidth() / 2
415
- : this.yScale(d.value))
416
- .attr('text-anchor', (d) => {
417
- if (this.afVariation === BarChartVariation.Vertical)
418
- return 'middle';
419
- return this.xScale(d.value) < d.len + this.tickPadding * 2
420
- ? 'start'
421
- : 'end';
422
- })
423
- .attr('dx', (d) => {
424
- if (this.afVariation === BarChartVariation.Horizontal)
425
- return this.xScale(d.value) < d.len + this.tickPadding * 2
426
- ? this.tickPadding
427
- : -this.tickPadding;
428
- return 0;
429
- })
430
- .attr('fill', (d) => {
431
- if (this.afVariation === BarChartVariation.Vertical)
432
- return 'black';
433
- return this.xScale(d.value) < d.len + this.tickPadding * 2
434
- ? 'black'
435
- : 'white';
436
- })
437
- .attr('dy', () => this.afVariation == BarChartVariation.Horizontal
438
- ? '0.35em'
439
- : '-0.25em')
440
- .style('pointer-events', 'none')
441
- .attrTween('text', (d, i, nodelist) => {
442
- const oldnum = parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
443
- ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
444
- : 0;
445
- const interpolatedValue = interpolate(oldnum, d.value);
446
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
447
- });
448
- return tempSelection;
449
- }, (update) => {
450
- // Update ids to bars
451
- update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
452
- // Mouse interaction to updated loading bars
453
- if (fromLoading) {
454
- update
455
- .select('rect')
456
- .on('mouseenter', this.hover)
457
- .on('mouseleave', this.hoverOut)
458
- .on('click', this.openTooltip)
459
- .attr('x', this.xFunction)
460
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
461
- ? this.yScale(d.key)
462
- : this.dims.height - this.margin.bottom)
463
- .attr('width', this.widthFunction)
464
- .attr('height', () => this.afVariation === BarChartVariation.Horizontal
465
- ? this.yScale.bandwidth()
466
- : 0)
467
- .attr('fill', '#00005a')
468
- .transition()
469
- .duration(this.defaultDuration)
470
- .ease(polyInOut)
471
- .attr('y', this.yFunction)
472
- .attr('height', this.heightFunction)
473
- .on('end', () => this.barChartObserver.observe(this.chartDiv)); // Reset barchartObserver
474
- }
475
- else {
476
- update
477
- .select('rect')
478
- .transition()
479
- .duration(this.defaultDuration)
480
- .ease(polyInOut)
481
- .attr('x', this.xFunction)
482
- .attr('y', this.yFunction)
483
- .attr('width', this.widthFunction)
484
- .attr('height', this.heightFunction)
485
- .attr('fill', '#00005a');
486
- }
487
- return update
488
- .select('text')
489
- .style('display', () => { var _a, _b; return ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; })
490
- .transition()
491
- .duration(this.defaultDuration)
492
- .ease(polyInOut)
493
- .attr('font-size', this.fontSize)
494
- .attr('font-weight', '600')
495
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
496
- ? this.yScale(d.key) + this.yScale.bandwidth() / 2
497
- : this.yScale(d.value))
498
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
499
- ? this.xScale(d.value)
500
- : this.xScale(d.key) + this.xScale.bandwidth() / 2)
501
- .attr('text-anchor', (d) => {
502
- if (this.afVariation === BarChartVariation.Vertical)
503
- return 'middle';
504
- return this.xScale(d.value) < d.len + this.tickPadding * 2
505
- ? 'start'
506
- : 'end';
507
- })
508
- .attr('dx', (d) => {
509
- if (this.afVariation === BarChartVariation.Horizontal)
510
- return this.xScale(d.value) < d.len + this.tickPadding * 2
511
- ? this.tickPadding
512
- : -this.tickPadding;
513
- return 0;
514
- })
515
- .attr('fill', (d) => {
516
- if (this.afVariation === BarChartVariation.Vertical)
517
- return 'black';
518
- return this.xScale(d.value) < d.len + this.tickPadding * 2
519
- ? 'black'
520
- : 'white';
521
- })
522
- .attr('dy', () => this.afVariation == BarChartVariation.Horizontal
523
- ? '0.35em'
524
- : '-0.25em')
525
- .style('pointer-events', 'none')
526
- .attrTween('text', (d, i, nodelist) => {
527
- const oldnum = parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
528
- ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
529
- : 0;
530
- const interpolatedValue = interpolate(oldnum, d.value);
531
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
532
- });
533
- }, (exit) => exit.remove());
534
- this.barSelection = this.barChartContainer.selectAll('rect');
355
+ .join('g')
356
+ .attr('class', 'barGroup')
357
+ .attr('id', (d) => this.barGroupID(d.key));
358
+ this.barSelection.selectAll('.bar')
359
+ .data((d) => {
360
+ return d.series;
361
+ })
362
+ .join('rect')
363
+ .attr('class', 'bar')
364
+ .style('cursor', 'pointer')
365
+ .attr('x', this.xFunction)
366
+ .attr('y', this.yFunction)
367
+ .attr('ry', 4)
368
+ .attr('rx', 4)
369
+ .attr('width', this.widthFunction)
370
+ .attr('height', this.heightFunction)
371
+ .attr('fill', (d) => this.colorFunction(d.serie))
372
+ .on('mouseenter', this.hover)
373
+ .on('mouseleave', this.hoverOut)
374
+ .on('click', this.openTooltip);
375
+ if (fromLoading) {
376
+ this.initLegend();
377
+ }
378
+ this.barSelection = this.barChartContainer.selectAll('.barGroup');
535
379
  this.textSelection = this.barChartContainer.selectAll('.barText');
536
380
  };
537
381
  // Setting position of text according to bar size
@@ -570,7 +414,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
570
414
  };
571
415
  this.reshapeData = () => {
572
416
  const toReturn = [];
573
- if (this.loading || !this.chartData) {
417
+ if (!this.chartData) {
574
418
  this.placeholderTicks.forEach((key) => {
575
419
  const tick = { key: key, series: [] };
576
420
  tick.series.push({
@@ -1217,6 +1061,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1217
1061
  // Hide unusable components
1218
1062
  select(this.titleDiv)
1219
1063
  .append(this.afHeadingLevel)
1064
+ .attr('class', 'loadingHeader')
1220
1065
  .html(`${_t.loading}...`);
1221
1066
  this.initYAxis(true);
1222
1067
  this.initXAxis(true);
@@ -1265,14 +1110,17 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1265
1110
  this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1266
1111
  }
1267
1112
  const animateBars = () => {
1268
- this.barChartContainer.selectAll('.barGroup').remove();
1113
+ this.barChartContainer.selectAll('.interactiveElements').remove();
1269
1114
  this.barSelection = this.barChartContainer
1115
+ .append('g')
1116
+ .attr('class', 'interactiveElements')
1117
+ .style('isolation', 'isolate')
1270
1118
  .selectAll('barGroup')
1271
1119
  .data(this.mappedData)
1272
1120
  .join('g')
1273
1121
  .attr('class', 'barGroup')
1274
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
1275
- this.barSelection.selectAll('.barGroup')
1122
+ .attr('id', (d) => this.barGroupID(d.key));
1123
+ this.barSelection.selectAll('bar')
1276
1124
  .data((d) => {
1277
1125
  return d.series;
1278
1126
  })
@@ -1294,7 +1142,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1294
1142
  .attr('y', this.yFunction)
1295
1143
  .attr('height', this.heightFunction);
1296
1144
  this.barChartContainer.selectAll('.bar')
1297
- .transition()
1145
+ .transition('animateBar')
1298
1146
  .duration(400)
1299
1147
  .ease(linear$1)
1300
1148
  .delay((...[, i]) => i * 150 + 400)
@@ -1309,8 +1157,8 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1309
1157
  };
1310
1158
  const flattenBars = () => {
1311
1159
  this.barChartContainer
1312
- .selectAll('rect')
1313
- .transition()
1160
+ .selectAll('.bar')
1161
+ .transition('animateBar')
1314
1162
  .duration(200)
1315
1163
  .ease(linear$1)
1316
1164
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
@@ -1546,10 +1394,11 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1546
1394
  ]);
1547
1395
  this.setNamedTicks(true);
1548
1396
  // Stop animation
1549
- this.barSelection.selectAll('.barGroup').on('end', null);
1397
+ this.barChartContainer.selectAll('.barGroup').on('end', null);
1398
+ select(this.titleDiv).select('.loadingHeader').remove();
1550
1399
  this.loading = false;
1551
- this.barSelection
1552
- .transition()
1400
+ this.barChartContainer.selectAll('.bar').interrupt('animateBar');
1401
+ this.barChartContainer.selectAll('.bar').transition()
1553
1402
  .duration(this.defaultDuration)
1554
1403
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1555
1404
  ? this.yScale(d.key)
@@ -1739,7 +1588,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1739
1588
  <span style="display:block;margin-top:0.25rem;font-size:0.875rem;color:var(--digi--global--color--neutral--grayscale--darkest-3)">${this.chartData.infoText}</span></p>`;
1740
1589
  }
1741
1590
  }
1742
- return (h(Host, { key: '78d96a495f4d362eb0f599ee48f79465ae6e6f0c', ref: (el) => (this.host = el) }, h("svg", { key: '39537403f0811e8090fc1c95a97bfa6b682df1c5', xmlns: "http://www.w3.org/2000/svg", width: "0", height: "0" }, h("defs", { key: '29a015c3dd10fe55948ebc41835aa04eae31a9ff' }, h("pattern", { key: '0f48268bb9e065e0cf2c7d85a3602a66552b87ce', id: "prognosis", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: 'fc24757af401e96fa228135bbbf17232bff16210', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.evalColorVar(this.colorPalettes[0]), "stroke-width": "8" })), h("pattern", { key: 'e779819d8986d0d23dc799bfe208cac5d0f31211', id: "prognosisInactive", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: '767468e01325e2bd2d5847b9e72f70d421f9fd58', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.evalColorVar('--digi--color--background--secondary-accent'), "stroke-width": "8" })), h("pattern", { key: '63772f52b5ed106d7cbece41143e932301f87bc5', id: "prognosisHighlight", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: '4b89cfdb16e55f992cf7a9e6bcdf94528c7f4706', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.adjustColor(this.colorFunction(0), 50), "stroke-width": "8" })))), h("div", { key: 'd20cc02f768d7a19302b8ed5982f03fff5d82370', class: "topWrapper", ref: (el) => (this.titleDiv = el) }, h("digi-typography", { key: '200a0918a84e054e3579cd7d14854c51bb1fb49c', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '0241efd1a7e114a74d08fb2d9dcc3243765e2c67', class: "buttonWrapper tableButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.activateTable, afAriaLabel: `Visa tabell ${((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.title) ? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.title.toLowerCase() : ''}` }, h("digi-icon-table", { key: '8d3cecf7d3abd7f32c24634e11da3608ba6e1aa8', slot: "icon" }), "Visa tabell"), h("digi-button", { key: 'da15d792de3403b50828e7b951fdb73e213baa9f', style: { display: 'none' }, class: "buttonWrapper chartButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.reInitChart, afAriaLabel: `Visa diagram ${((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.title) ? (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.title.toLowerCase() : ''}` }, h("digi-icon-chart", { key: '05cc0d7e638469f3cd60a4ad0fd93c16aaef1748', slot: "icon" }), "Visa diagram"), h("div", { key: 'e83745a86bcb781a970c0caf1177c3b3c7406a13', class: "scChartStatus", role: "status", ref: (el) => (this.status = el) })), h("div", { key: '8b99b1365bcacccf51a7352c1385d54781ffb227', class: "svgWrap", ref: (el) => (this.chartDiv = el) }, h("div", { key: '9eeb41124c07587a7e9b2cad5fe6597716ec905b', class: "chartTooltip", id: this.afId }, h("div", { key: '19f4428ae23fc9861b6743ef4617a2a5a48c3d02', class: "tooltipHead" }, h("digi-icon-x", { key: 'abb1b56f8d9449aa0fe16bacbf0b8ef8d10f94b7', class: "tooltipClose" })), h("div", { key: '67be9c846f0b0d5fcbae4b49e3a6266a58709c92', class: "tooltipBody" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", { class: "caret" })) : (h("digi-icon-caret-down", { class: "caret" })))), h("div", { key: 'bd56f13ab74501c24279f66a62e879ec25fc72e9', class: "legendWrap", ref: (el) => (this.legendDiv = el) }, h("div", { key: '12089dd98e1e62198ed7a2e054bb454567cc220a', class: "legend" })), h("div", { key: '05c1f726446185113b0bf39e7c2e2cf6bbaba376', class: "table", ref: (el) => (this.tableDiv = el) }, ' ')));
1591
+ return (h(Host, { key: '2e011f2838668e9d58a6b4442e2832b6e1bac21b', ref: (el) => (this.host = el) }, h("svg", { key: 'a91c7bc7ed311fd10f0014d382daf46d97524087', xmlns: "http://www.w3.org/2000/svg", width: "0", height: "0" }, h("defs", { key: 'b28ad4ff2f0029eecd3a7b220d97ae81c646f6d0' }, h("pattern", { key: '2bb838607089932d089c05fdb568e06782cd6ef6', id: "prognosis", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: '4eca3d7dbb9cd2d47bc6367a8f07808ba3767902', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.evalColorVar(this.colorPalettes[0]), "stroke-width": "8" })), h("pattern", { key: '87585e674cc45c2496650eb5309f4eee34f89b3a', id: "prognosisInactive", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: '42bfe1a59192f618e60486105e919b2569fef753', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.evalColorVar('--digi--color--background--secondary-accent'), "stroke-width": "8" })), h("pattern", { key: '2ab36682ad76783cda635db815fc9f5f542fab21', id: "prognosisHighlight", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: 'd5b93bf96f259cdf093a3e61c38ef61bbfd565ba', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.adjustColor(this.colorFunction(0), 50), "stroke-width": "8" })))), h("div", { key: 'f94c18afa372d176500c2d3844212df29c83f16b', class: "topWrapper", ref: (el) => (this.titleDiv = el) }, h("digi-typography", { key: '68dca23f7fd92f024f0b3d7eebc7b7214e636090', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '98d6ade579584a998a1d3e246168f42b19bd277f', class: "buttonWrapper tableButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.activateTable, afAriaLabel: `Visa tabell ${((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.title) ? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.title.toLowerCase() : ''}` }, h("digi-icon-table", { key: '36d1e6f12b90215ba6ce00b814573616772820e7', slot: "icon" }), "Visa tabell"), h("digi-button", { key: 'c94200814deba4524301e7f2c07ad57e94b6381d', style: { display: 'none' }, class: "buttonWrapper chartButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.reInitChart, afAriaLabel: `Visa diagram ${((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.title) ? (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.title.toLowerCase() : ''}` }, h("digi-icon-chart", { key: 'ba94cf5a4ad7e4272d78f1965cd63eee99eb9f8f', slot: "icon" }), "Visa diagram"), h("div", { key: 'be79a632683428a30d01a96bf41f1e446b019061', class: "scChartStatus", role: "status", ref: (el) => (this.status = el) })), h("div", { key: 'd3644914ab02ae8cb8a054a1d4c90dc854fdaede', class: "svgWrap", ref: (el) => (this.chartDiv = el) }, h("div", { key: '6cb1113d71b8cd9ec156d351dc4ea402cdf3f372', class: "chartTooltip", id: this.afId }, h("div", { key: '0c601e94970dd3563bec5bfe070a3e02fd339124', class: "tooltipHead" }, h("digi-icon-x", { key: 'a478d1013f6630767b03029f4491222bc35dc118', class: "tooltipClose" })), h("div", { key: '04de1b3898023ef79ec8c69e501d107d8039351d', class: "tooltipBody" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", { class: "caret" })) : (h("digi-icon-caret-down", { class: "caret" })))), h("div", { key: '335550b9c1d64cadc9d72b14af008a2cffcfe58e', class: "legendWrap", ref: (el) => (this.legendDiv = el) }, h("div", { key: '1bd30ebd1a5c1c6342f102f7adc131c6f85bc8d8', class: "legend" })), h("div", { key: '69ddb91b0befa23212d518c27ed018f8c8912c06', class: "table", ref: (el) => (this.tableDiv = el) }, ' ')));
1743
1592
  }
1744
1593
  get hostElement() { return this; }
1745
1594
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h } from './p-a53686b3.js';
2
2
  import { _ as _t } from './p-08cf2c0e.js';
3
- import { s as select, f as dispatch, r as range, a as axisLeft, g as formatLocale, p as polyInOut, b as axisBottom, l as linear, m as max, d as min, o as ordinal, c as interpolate, e as linear$1 } from './p-a47b6b5c.js';
3
+ import { s as select, e as dispatch, r as range, a as axisLeft, f as formatLocale, p as polyInOut, b as axisBottom, l as linear, m as max, c as min, o as ordinal, g as interpolate, d as linear$1 } from './p-f9a1a787.js';
4
4
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
5
5
  import { d as defineCustomElement$6 } from './p-e8fc33ed.js';
6
6
  import { d as defineCustomElement$5 } from './p-3c9cea93.js';
@@ -3719,4 +3719,4 @@ function linear() {
3719
3719
  return linearish(scale);
3720
3720
  }
3721
3721
 
3722
- export { axisLeft as a, axisBottom as b, interpolate$1 as c, min as d, linear$1 as e, dispatch as f, formatLocale as g, initRange as i, linear as l, max as m, ordinal as o, polyInOut as p, range as r, select as s };
3722
+ export { axisLeft as a, axisBottom as b, min as c, linear$1 as d, dispatch as e, formatLocale as f, interpolate$1 as g, initRange as i, linear as l, max as m, ordinal as o, polyInOut as p, range as r, select as s };