@watermarkinsights/ripple 5.26.0-alpha.7 → 5.26.0-alpha.8
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/{app-globals-abde2191.js → app-globals-add4aed2.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-line-chart.cjs.entry.js +22 -8
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +23 -9
- package/dist/collection/dev/line-chart.js +1 -1
- package/dist/esm/{app-globals-01ef4de6.js → app-globals-e1f96b84.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-line-chart.entry.js +22 -8
- package/dist/esm-es5/{app-globals-01ef4de6.js → app-globals-e1f96b84.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/ripple/p-32d6f2d3.entry.js +1 -0
- package/dist/ripple/{p-1085c844.js → p-6068385d.js} +1 -1
- package/dist/ripple/{p-9ce2faab.system.entry.js → p-6e0bb94f.system.entry.js} +1 -1
- package/dist/ripple/{p-efcb35bf.system.js → p-858cb2c5.system.js} +1 -1
- package/dist/ripple/{p-f346d92b.system.js → p-ddd764e5.system.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/wm-line-chart/wm-line-chart.d.ts +2 -0
- package/dist/types/global/interfaces.d.ts +3 -4
- package/package.json +2 -2
- package/dist/ripple/p-d5444661.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-788526f5.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-add4aed2.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
package/dist/cjs/ripple.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-788526f5.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-add4aed2.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -104,6 +104,19 @@ const LineChart = class {
|
|
|
104
104
|
get popoverData() {
|
|
105
105
|
return functions.transposeMatrix(this.dataPointMatrix);
|
|
106
106
|
}
|
|
107
|
+
get spotlightXValue() {
|
|
108
|
+
if (this.spotlightData) {
|
|
109
|
+
const keys = Object.keys(this.spotlightData).filter((key) => key !== "label");
|
|
110
|
+
return keys[0];
|
|
111
|
+
}
|
|
112
|
+
return undefined;
|
|
113
|
+
}
|
|
114
|
+
get spotlightYValue() {
|
|
115
|
+
if (this.spotlightData && this.spotlightXValue) {
|
|
116
|
+
return this.spotlightData[this.spotlightXValue];
|
|
117
|
+
}
|
|
118
|
+
return undefined;
|
|
119
|
+
}
|
|
107
120
|
parseData() {
|
|
108
121
|
if (typeof this.lineData === "string") {
|
|
109
122
|
this.parsedLineData = JSON.parse(this.lineData);
|
|
@@ -349,6 +362,7 @@ const LineChart = class {
|
|
|
349
362
|
renderPoints(lineIdx) {
|
|
350
363
|
const lineDataPoints = this.dataPointMatrix[lineIdx];
|
|
351
364
|
return (index.h("div", { class: "line-icons" }, lineDataPoints.map((dataPoint, pointIdx) => {
|
|
365
|
+
var _a;
|
|
352
366
|
const { lineLabel, xValue, yValue, xPositionPercent, yPositionPercent, highlighted } = dataPoint;
|
|
353
367
|
if (yValue !== null) {
|
|
354
368
|
const { color, icon } = this.lineStyles[lineIdx];
|
|
@@ -364,8 +378,8 @@ const LineChart = class {
|
|
|
364
378
|
const changeSinceMessage = intl.lineChartMessages.getChangeSince(prevDataPoint.xValue);
|
|
365
379
|
ariaLabel += `, ${changeSinceMessage} ${this.calcDelta(dataPoint, prevDataPoint)}`;
|
|
366
380
|
}
|
|
367
|
-
if (this.spotlightData) {
|
|
368
|
-
ariaLabel += `, ${this.spotlightData.label} ${this.yAxisLabel}: ${this.
|
|
381
|
+
if (((_a = this.spotlightData) === null || _a === void 0 ? void 0 : _a.label) && this.spotlightYValue !== undefined) {
|
|
382
|
+
ariaLabel += `, ${this.spotlightData.label} ${this.yAxisLabel}: ${this.spotlightYValue + (this.parsedUnits[1] ? this.parsedUnits[1] : "")}`;
|
|
369
383
|
}
|
|
370
384
|
return (index.h("span", { id: `${lineLabel}-${pointIdx}`, role: "img", "aria-label": ariaLabel, tabIndex: firstPointTabIndex, class: `point svg-icon svg-shape-${icon}`, style: iconStyle, "data-lineidx": lineIdx, "data-pointidx": pointIdx, "data-xvalue": xValue, onKeyDown: (ev) => this.handleDataPointKeydown(ev), onFocus: () => (this.popoverIndex = pointIdx), onClick: (ev) => this.focusDataPointByEl(ev.target), onMouseEnter: () => (this.popoverIndex = pointIdx) }, index.h("span", { class: `point-bg svg-icon svg-shape-${icon}` })));
|
|
371
385
|
}
|
|
@@ -386,13 +400,13 @@ const LineChart = class {
|
|
|
386
400
|
})));
|
|
387
401
|
}
|
|
388
402
|
renderSpotlight() {
|
|
389
|
-
if (!this.spotlightData)
|
|
403
|
+
if (!this.spotlightData || !this.spotlightXValue || this.spotlightYValue === undefined)
|
|
390
404
|
return "";
|
|
391
405
|
const yPositionPercent = 100 -
|
|
392
|
-
functions.calcPercentageInRange(this.
|
|
393
|
-
const xIndex = this.xIntervals.indexOf(this.
|
|
406
|
+
functions.calcPercentageInRange(this.spotlightYValue, this.yIntervals[this.yIntervals.length - 1], this.yIntervals[0]);
|
|
407
|
+
const xIndex = this.xIntervals.indexOf(this.spotlightXValue);
|
|
394
408
|
const iconXPositionPercent = xIndex >= 0 ? (100 / (this.xIntervals.length - 1)) * xIndex : null;
|
|
395
|
-
return (index.h("div", { class: "spotlight", style: { "--yPosition": yPositionPercent + "%" } }, this.
|
|
409
|
+
return (index.h("div", { class: "spotlight", style: { "--yPosition": yPositionPercent + "%" } }, this.spotlightXValue && (index.h("div", { class: "spotlight-icon", style: { "--xPosition": iconXPositionPercent + "%" } }))));
|
|
396
410
|
}
|
|
397
411
|
renderHoverAreas() {
|
|
398
412
|
const hoverAreaStyle = { "--columns": `.5fr repeat(${this.xIntervals.length - 2}, 1fr) .5fr` };
|
|
@@ -440,7 +454,7 @@ const LineChart = class {
|
|
|
440
454
|
renderPopoverTable() {
|
|
441
455
|
var _a;
|
|
442
456
|
const displayedPopoverData = this.popoverData[this.popoverIndex];
|
|
443
|
-
return (index.h("table", { class: "popover-table" },
|
|
457
|
+
return (index.h("table", { class: "popover-table" }, this.spotlightXValue === displayedPopoverData[0].xValue && (index.h("tr", { class: "popover-row" }, index.h("td", null, index.h("div", { class: "svg-icon svg-spotlight" })), index.h("td", { class: "row-label" }, (_a = this.spotlightData) === null || _a === void 0 ? void 0 : _a.label), index.h("td", { class: "row-value" }, this.spotlightYValue, this.spotlightYValue !== null && this.parsedUnits[1] && (index.h("span", { class: "unit --y" }, this.parsedUnits[1]))))), displayedPopoverData.map((dataPoint, lineIdx) => {
|
|
444
458
|
if (!this.hiddenLines.includes(lineIdx)) {
|
|
445
459
|
const { lineLabel, yValue } = dataPoint;
|
|
446
460
|
const prevDataPoint = this.popoverIndex > 0 ? this.popoverData[this.popoverIndex - 1][lineIdx] : null;
|
|
@@ -489,7 +503,7 @@ const LineChart = class {
|
|
|
489
503
|
}
|
|
490
504
|
}
|
|
491
505
|
render() {
|
|
492
|
-
return (index.h(index.Host, { key: '
|
|
506
|
+
return (index.h(index.Host, { key: 'd4bc5197e8a4125989494f6a868f9598759068c2', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, index.h("div", { key: 'b4c8b326a6f888cfaae1883e8d7125bdc03de580', class: "component-wrapper", role: "application", "aria-roledescription": intl.chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), index.h("div", { key: 'd649f4070971e516d52138f5304077f27a4b0907', class: "chart-wrapper" }, index.h("div", { key: '292a44c6f04f62a5cd7d2a0d6e4bd962baf881ff', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), index.h("div", { key: 'b51a149d6c5233bc427b5084d43113a9e5eb8192', ref: (el) => (this.plotAreaEl = el), class: "plot-area" }, this.showGrid && this.renderVerticalGridlines(), this.showGrid && this.renderHorizontalGridlines(), this.renderHighlight(), this.renderData(), this.renderHoverAreas(), this.renderSpotlight()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), index.h("div", { key: '28576ab50f3b03b7dfe74321d5e970a510393006', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), index.h("div", { key: '2f1cf89706b24f6259a30c8584a043127b4ee165', id: "chart-description", class: "sr-only" }, `${intl.lineChartMessages.instructions} ${this.description}`), index.h("div", { key: 'f6f5ae8f1e2a9812148131c1f4e4023c8a071f5f', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
493
507
|
}
|
|
494
508
|
get el() { return index.getElement(this); }
|
|
495
509
|
static get watchers() { return {
|
|
@@ -95,6 +95,19 @@ export class LineChart {
|
|
|
95
95
|
get popoverData() {
|
|
96
96
|
return transposeMatrix(this.dataPointMatrix);
|
|
97
97
|
}
|
|
98
|
+
get spotlightXValue() {
|
|
99
|
+
if (this.spotlightData) {
|
|
100
|
+
const keys = Object.keys(this.spotlightData).filter((key) => key !== "label");
|
|
101
|
+
return keys[0];
|
|
102
|
+
}
|
|
103
|
+
return undefined;
|
|
104
|
+
}
|
|
105
|
+
get spotlightYValue() {
|
|
106
|
+
if (this.spotlightData && this.spotlightXValue) {
|
|
107
|
+
return this.spotlightData[this.spotlightXValue];
|
|
108
|
+
}
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
98
111
|
parseData() {
|
|
99
112
|
if (typeof this.lineData === "string") {
|
|
100
113
|
this.parsedLineData = JSON.parse(this.lineData);
|
|
@@ -340,6 +353,7 @@ export class LineChart {
|
|
|
340
353
|
renderPoints(lineIdx) {
|
|
341
354
|
const lineDataPoints = this.dataPointMatrix[lineIdx];
|
|
342
355
|
return (h("div", { class: "line-icons" }, lineDataPoints.map((dataPoint, pointIdx) => {
|
|
356
|
+
var _a;
|
|
343
357
|
const { lineLabel, xValue, yValue, xPositionPercent, yPositionPercent, highlighted } = dataPoint;
|
|
344
358
|
if (yValue !== null) {
|
|
345
359
|
const { color, icon } = this.lineStyles[lineIdx];
|
|
@@ -355,8 +369,8 @@ export class LineChart {
|
|
|
355
369
|
const changeSinceMessage = lineChartMessages.getChangeSince(prevDataPoint.xValue);
|
|
356
370
|
ariaLabel += `, ${changeSinceMessage} ${this.calcDelta(dataPoint, prevDataPoint)}`;
|
|
357
371
|
}
|
|
358
|
-
if (this.spotlightData) {
|
|
359
|
-
ariaLabel += `, ${this.spotlightData.label} ${this.yAxisLabel}: ${this.
|
|
372
|
+
if (((_a = this.spotlightData) === null || _a === void 0 ? void 0 : _a.label) && this.spotlightYValue !== undefined) {
|
|
373
|
+
ariaLabel += `, ${this.spotlightData.label} ${this.yAxisLabel}: ${this.spotlightYValue + (this.parsedUnits[1] ? this.parsedUnits[1] : "")}`;
|
|
360
374
|
}
|
|
361
375
|
return (h("span", { id: `${lineLabel}-${pointIdx}`, role: "img", "aria-label": ariaLabel, tabIndex: firstPointTabIndex, class: `point svg-icon svg-shape-${icon}`, style: iconStyle, "data-lineidx": lineIdx, "data-pointidx": pointIdx, "data-xvalue": xValue, onKeyDown: (ev) => this.handleDataPointKeydown(ev), onFocus: () => (this.popoverIndex = pointIdx), onClick: (ev) => this.focusDataPointByEl(ev.target), onMouseEnter: () => (this.popoverIndex = pointIdx) }, h("span", { class: `point-bg svg-icon svg-shape-${icon}` })));
|
|
362
376
|
}
|
|
@@ -377,13 +391,13 @@ export class LineChart {
|
|
|
377
391
|
})));
|
|
378
392
|
}
|
|
379
393
|
renderSpotlight() {
|
|
380
|
-
if (!this.spotlightData)
|
|
394
|
+
if (!this.spotlightData || !this.spotlightXValue || this.spotlightYValue === undefined)
|
|
381
395
|
return "";
|
|
382
396
|
const yPositionPercent = 100 -
|
|
383
|
-
calcPercentageInRange(this.
|
|
384
|
-
const xIndex = this.xIntervals.indexOf(this.
|
|
397
|
+
calcPercentageInRange(this.spotlightYValue, this.yIntervals[this.yIntervals.length - 1], this.yIntervals[0]);
|
|
398
|
+
const xIndex = this.xIntervals.indexOf(this.spotlightXValue);
|
|
385
399
|
const iconXPositionPercent = xIndex >= 0 ? (100 / (this.xIntervals.length - 1)) * xIndex : null;
|
|
386
|
-
return (h("div", { class: "spotlight", style: { "--yPosition": yPositionPercent + "%" } }, this.
|
|
400
|
+
return (h("div", { class: "spotlight", style: { "--yPosition": yPositionPercent + "%" } }, this.spotlightXValue && (h("div", { class: "spotlight-icon", style: { "--xPosition": iconXPositionPercent + "%" } }))));
|
|
387
401
|
}
|
|
388
402
|
renderHoverAreas() {
|
|
389
403
|
const hoverAreaStyle = { "--columns": `.5fr repeat(${this.xIntervals.length - 2}, 1fr) .5fr` };
|
|
@@ -431,7 +445,7 @@ export class LineChart {
|
|
|
431
445
|
renderPopoverTable() {
|
|
432
446
|
var _a;
|
|
433
447
|
const displayedPopoverData = this.popoverData[this.popoverIndex];
|
|
434
|
-
return (h("table", { class: "popover-table" },
|
|
448
|
+
return (h("table", { class: "popover-table" }, this.spotlightXValue === displayedPopoverData[0].xValue && (h("tr", { class: "popover-row" }, h("td", null, h("div", { class: "svg-icon svg-spotlight" })), h("td", { class: "row-label" }, (_a = this.spotlightData) === null || _a === void 0 ? void 0 : _a.label), h("td", { class: "row-value" }, this.spotlightYValue, this.spotlightYValue !== null && this.parsedUnits[1] && (h("span", { class: "unit --y" }, this.parsedUnits[1]))))), displayedPopoverData.map((dataPoint, lineIdx) => {
|
|
435
449
|
if (!this.hiddenLines.includes(lineIdx)) {
|
|
436
450
|
const { lineLabel, yValue } = dataPoint;
|
|
437
451
|
const prevDataPoint = this.popoverIndex > 0 ? this.popoverData[this.popoverIndex - 1][lineIdx] : null;
|
|
@@ -480,7 +494,7 @@ export class LineChart {
|
|
|
480
494
|
}
|
|
481
495
|
}
|
|
482
496
|
render() {
|
|
483
|
-
return (h(Host, { key: '
|
|
497
|
+
return (h(Host, { key: 'd4bc5197e8a4125989494f6a868f9598759068c2', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: 'b4c8b326a6f888cfaae1883e8d7125bdc03de580', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: 'd649f4070971e516d52138f5304077f27a4b0907', class: "chart-wrapper" }, h("div", { key: '292a44c6f04f62a5cd7d2a0d6e4bd962baf881ff', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: 'b51a149d6c5233bc427b5084d43113a9e5eb8192', ref: (el) => (this.plotAreaEl = el), class: "plot-area" }, this.showGrid && this.renderVerticalGridlines(), this.showGrid && this.renderHorizontalGridlines(), this.renderHighlight(), this.renderData(), this.renderHoverAreas(), this.renderSpotlight()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: '28576ab50f3b03b7dfe74321d5e970a510393006', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: '2f1cf89706b24f6259a30c8584a043127b4ee165', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: 'f6f5ae8f1e2a9812148131c1f4e4023c8a071f5f', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
484
498
|
}
|
|
485
499
|
static get is() { return "wm-line-chart"; }
|
|
486
500
|
static get encapsulation() { return "shadow"; }
|
|
@@ -752,7 +766,7 @@ export class LineChart {
|
|
|
752
766
|
"mutable": false,
|
|
753
767
|
"complexType": {
|
|
754
768
|
"original": "SpotlightData",
|
|
755
|
-
"resolved": "
|
|
769
|
+
"resolved": "SpotlightData | undefined",
|
|
756
770
|
"references": {
|
|
757
771
|
"SpotlightData": {
|
|
758
772
|
"location": "import",
|
|
@@ -41,5 +41,5 @@ function createRandomData(numLines) {
|
|
|
41
41
|
window.changeData = function (id) {
|
|
42
42
|
let lineCount = Math.round(Math.random() * 6) + 1;
|
|
43
43
|
document.getElementById(id).lineData = createRandomData(lineCount);
|
|
44
|
-
document.getElementById(id).spotlightData = { label: "Spotlight",
|
|
44
|
+
document.getElementById(id).spotlightData = { label: "Spotlight", "1990": 10 };
|
|
45
45
|
};
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as bootstrapLazy } from './index-130e07bb.js';
|
|
2
2
|
export { s as setNonce } from './index-130e07bb.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-e1f96b84.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
package/dist/esm/ripple.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-130e07bb.js';
|
|
2
2
|
export { s as setNonce } from './index-130e07bb.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-e1f96b84.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -100,6 +100,19 @@ const LineChart = class {
|
|
|
100
100
|
get popoverData() {
|
|
101
101
|
return transposeMatrix(this.dataPointMatrix);
|
|
102
102
|
}
|
|
103
|
+
get spotlightXValue() {
|
|
104
|
+
if (this.spotlightData) {
|
|
105
|
+
const keys = Object.keys(this.spotlightData).filter((key) => key !== "label");
|
|
106
|
+
return keys[0];
|
|
107
|
+
}
|
|
108
|
+
return undefined;
|
|
109
|
+
}
|
|
110
|
+
get spotlightYValue() {
|
|
111
|
+
if (this.spotlightData && this.spotlightXValue) {
|
|
112
|
+
return this.spotlightData[this.spotlightXValue];
|
|
113
|
+
}
|
|
114
|
+
return undefined;
|
|
115
|
+
}
|
|
103
116
|
parseData() {
|
|
104
117
|
if (typeof this.lineData === "string") {
|
|
105
118
|
this.parsedLineData = JSON.parse(this.lineData);
|
|
@@ -345,6 +358,7 @@ const LineChart = class {
|
|
|
345
358
|
renderPoints(lineIdx) {
|
|
346
359
|
const lineDataPoints = this.dataPointMatrix[lineIdx];
|
|
347
360
|
return (h("div", { class: "line-icons" }, lineDataPoints.map((dataPoint, pointIdx) => {
|
|
361
|
+
var _a;
|
|
348
362
|
const { lineLabel, xValue, yValue, xPositionPercent, yPositionPercent, highlighted } = dataPoint;
|
|
349
363
|
if (yValue !== null) {
|
|
350
364
|
const { color, icon } = this.lineStyles[lineIdx];
|
|
@@ -360,8 +374,8 @@ const LineChart = class {
|
|
|
360
374
|
const changeSinceMessage = lineChartMessages.getChangeSince(prevDataPoint.xValue);
|
|
361
375
|
ariaLabel += `, ${changeSinceMessage} ${this.calcDelta(dataPoint, prevDataPoint)}`;
|
|
362
376
|
}
|
|
363
|
-
if (this.spotlightData) {
|
|
364
|
-
ariaLabel += `, ${this.spotlightData.label} ${this.yAxisLabel}: ${this.
|
|
377
|
+
if (((_a = this.spotlightData) === null || _a === void 0 ? void 0 : _a.label) && this.spotlightYValue !== undefined) {
|
|
378
|
+
ariaLabel += `, ${this.spotlightData.label} ${this.yAxisLabel}: ${this.spotlightYValue + (this.parsedUnits[1] ? this.parsedUnits[1] : "")}`;
|
|
365
379
|
}
|
|
366
380
|
return (h("span", { id: `${lineLabel}-${pointIdx}`, role: "img", "aria-label": ariaLabel, tabIndex: firstPointTabIndex, class: `point svg-icon svg-shape-${icon}`, style: iconStyle, "data-lineidx": lineIdx, "data-pointidx": pointIdx, "data-xvalue": xValue, onKeyDown: (ev) => this.handleDataPointKeydown(ev), onFocus: () => (this.popoverIndex = pointIdx), onClick: (ev) => this.focusDataPointByEl(ev.target), onMouseEnter: () => (this.popoverIndex = pointIdx) }, h("span", { class: `point-bg svg-icon svg-shape-${icon}` })));
|
|
367
381
|
}
|
|
@@ -382,13 +396,13 @@ const LineChart = class {
|
|
|
382
396
|
})));
|
|
383
397
|
}
|
|
384
398
|
renderSpotlight() {
|
|
385
|
-
if (!this.spotlightData)
|
|
399
|
+
if (!this.spotlightData || !this.spotlightXValue || this.spotlightYValue === undefined)
|
|
386
400
|
return "";
|
|
387
401
|
const yPositionPercent = 100 -
|
|
388
|
-
calcPercentageInRange(this.
|
|
389
|
-
const xIndex = this.xIntervals.indexOf(this.
|
|
402
|
+
calcPercentageInRange(this.spotlightYValue, this.yIntervals[this.yIntervals.length - 1], this.yIntervals[0]);
|
|
403
|
+
const xIndex = this.xIntervals.indexOf(this.spotlightXValue);
|
|
390
404
|
const iconXPositionPercent = xIndex >= 0 ? (100 / (this.xIntervals.length - 1)) * xIndex : null;
|
|
391
|
-
return (h("div", { class: "spotlight", style: { "--yPosition": yPositionPercent + "%" } }, this.
|
|
405
|
+
return (h("div", { class: "spotlight", style: { "--yPosition": yPositionPercent + "%" } }, this.spotlightXValue && (h("div", { class: "spotlight-icon", style: { "--xPosition": iconXPositionPercent + "%" } }))));
|
|
392
406
|
}
|
|
393
407
|
renderHoverAreas() {
|
|
394
408
|
const hoverAreaStyle = { "--columns": `.5fr repeat(${this.xIntervals.length - 2}, 1fr) .5fr` };
|
|
@@ -436,7 +450,7 @@ const LineChart = class {
|
|
|
436
450
|
renderPopoverTable() {
|
|
437
451
|
var _a;
|
|
438
452
|
const displayedPopoverData = this.popoverData[this.popoverIndex];
|
|
439
|
-
return (h("table", { class: "popover-table" },
|
|
453
|
+
return (h("table", { class: "popover-table" }, this.spotlightXValue === displayedPopoverData[0].xValue && (h("tr", { class: "popover-row" }, h("td", null, h("div", { class: "svg-icon svg-spotlight" })), h("td", { class: "row-label" }, (_a = this.spotlightData) === null || _a === void 0 ? void 0 : _a.label), h("td", { class: "row-value" }, this.spotlightYValue, this.spotlightYValue !== null && this.parsedUnits[1] && (h("span", { class: "unit --y" }, this.parsedUnits[1]))))), displayedPopoverData.map((dataPoint, lineIdx) => {
|
|
440
454
|
if (!this.hiddenLines.includes(lineIdx)) {
|
|
441
455
|
const { lineLabel, yValue } = dataPoint;
|
|
442
456
|
const prevDataPoint = this.popoverIndex > 0 ? this.popoverData[this.popoverIndex - 1][lineIdx] : null;
|
|
@@ -485,7 +499,7 @@ const LineChart = class {
|
|
|
485
499
|
}
|
|
486
500
|
}
|
|
487
501
|
render() {
|
|
488
|
-
return (h(Host, { key: '
|
|
502
|
+
return (h(Host, { key: 'd4bc5197e8a4125989494f6a868f9598759068c2', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: 'b4c8b326a6f888cfaae1883e8d7125bdc03de580', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: 'd649f4070971e516d52138f5304077f27a4b0907', class: "chart-wrapper" }, h("div", { key: '292a44c6f04f62a5cd7d2a0d6e4bd962baf881ff', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: 'b51a149d6c5233bc427b5084d43113a9e5eb8192', ref: (el) => (this.plotAreaEl = el), class: "plot-area" }, this.showGrid && this.renderVerticalGridlines(), this.showGrid && this.renderHorizontalGridlines(), this.renderHighlight(), this.renderData(), this.renderHoverAreas(), this.renderSpotlight()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: '28576ab50f3b03b7dfe74321d5e970a510393006', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: '2f1cf89706b24f6259a30c8584a043127b4ee165', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: 'f6f5ae8f1e2a9812148131c1f4e4023c8a071f5f', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
489
503
|
}
|
|
490
504
|
get el() { return getElement(this); }
|
|
491
505
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./index-130e07bb.js";var version="5.26.0-alpha.
|
|
1
|
+
import"./index-130e07bb.js";var version="5.26.0-alpha.8";if(window.navigator.plugins.length>0){console.log("%cRipple component library %c%s","color: #575195; font-weight: bold","font-weight: bold",version)}function wmComponentKeys(o){if(o.key=="Tab"){var n=new Event("wmUserIsTabbing");window.dispatchEvent(n);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(o.key=="ArrowLeft"||o.key=="ArrowUp"||o.key=="ArrowRight"||o.key=="ArrowDown"){var n=new Event("wmUserIsKeying");window.dispatchEvent(n);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function wmComponentMouseDownOnce(){var o=new Event("wmUserIsNotTabbing");window.dispatchEvent(o);document.querySelector("body").classList.remove("wmcl-user-is-tabbing");document.querySelector("body").classList.remove("wmcl-user-is-keying")}window.addEventListener("keydown",wmComponentKeys);window.addEventListener("mousedown",wmComponentMouseDownOnce);var tooltipContainer=document.createElement("div");tooltipContainer.id="wm-tooltip-container";var tooltipEl=document.createElement("div");tooltipEl.id="wm-tooltip";tooltipEl.classList.add("wm-tooltip");tooltipEl.setAttribute("popover","manual");tooltipEl.setAttribute("aria-hidden","true");var tooltipStyles=document.createElement("style");tooltipStyles.textContent="\n.wm-tooltip {\n position: fixed;\n overflow: hidden;\n pointer-events: none;\n line-height: normal;\n font-family: inherit;\n font-size: 0.875rem;\n text-transform: none;\n font-weight: normal;\n background: var(--wmcolor-tooltip-background);\n color: var(--wmcolor-tooltip-text);\n z-index: 999999;\n max-width: var(--wmTooltipMaxWidth, 13.75rem);\n margin-right: 1.5rem;\n padding: 0.375rem;\n transition-property: opacity;\n transition-delay: 0s;\n opacity: 0;\n inset: unset;\n top: 0;\n left: 0;\n transform: translateZ(0);\n will-change: transform;\n transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));\n border: none;\n}\n\n.wm-tooltip:popover-open {\n opacity: 0;\n}\n\n.wm-tooltip.show {\n transition-delay: 500ms;\n opacity: 1;\n}\n";var body=document.querySelector("body");if(body){document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);body.appendChild(tooltipContainer)}else{document.addEventListener("DOMContentLoaded",(function(){var o=document.querySelector("body");document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);o.appendChild(tooltipContainer)}))}var globalFn=function(){};var globalScripts=globalFn;export{globalScripts as g};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,a,t,n){function i(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,l){function o(e){try{d(n.next(e))}catch(e){l(e)}}function r(e){try{d(n["throw"](e))}catch(e){l(e)}}function d(e){e.done?t(e.value):i(e.value).then(o,r)}d((n=n.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},n,i,l,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(e){return function(a){return d([e,a])}}function d(r){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(t=0)),t)try{if(n=1,i&&(l=r[0]&2?i["return"]:r[0]?i["throw"]||((l=i["return"])&&l.call(i),0):i.next)&&!(l=l.call(i,r[1])).done)return l;if(i=0,l)r=[r[0]&2,l.value];switch(r[0]){case 0:case 1:l=r;break;case 4:t.label++;return{value:r[1],done:false};case 5:t.label++;i=r[1];r=[0];continue;case 7:r=t.ops.pop();t.trys.pop();continue;default:if(!(l=t.trys,l=l.length>0&&l[l.length-1])&&(r[0]===6||r[0]===2)){t=0;continue}if(r[0]===3&&(!l||r[1]>l[0]&&r[1]<l[3])){t.label=r[1];break}if(r[0]===6&&t.label<l[1]){t.label=l[1];l=r;break}if(l&&t.label<l[2]){t.label=l[2];t.ops.push(r);break}if(l[2])t.ops.pop();t.trys.pop();continue}r=a.call(e,t)}catch(e){r=[6,e];i=0}finally{n=l=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-130e07bb.js";export{s as setNonce}from"./index-130e07bb.js";import{g as globalScripts}from"./app-globals-01ef4de6.js";var defineCustomElements=function(e,a){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy(JSON.parse('[["wm-file",[[17,"wm-file",{"name":[1],"type":[1],"fileActions":[1,"file-actions"],"lastUpdated":[1,"last-updated"],"progress":[514],"size":[1],"uploadedBy":[1,"uploaded-by"],"errorMessage":[1,"error-message"],"showInfo":[1025,"show-info"]}]]],["wm-navigator",[[17,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"itemIndexToFocus":[32]},[[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]],{"products":["parseData"]}]]],["wm-optgroup",[[17,"wm-optgroup",{"label":[1],"isExpanded":[1028,"is-expanded"],"multiple":[1028],"disabled":[4],"emitDeselection":[64],"handleChildChange":[64]},[[0,"wmKeyLeftPressed","handleOptionKeyLeft"]],{"isExpanded":["isExpandedChanged"]}]]],["wm-chart",[[17,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"labelWidth":[1,"label-width"],"subinfo":[1],"valueFormat":[1,"value-format"],"showGrid":[4,"show-grid"],"showLegend":[4,"show-legend"],"showBarLegend":[4,"show-bar-legend"],"notStartedColor":[4,"not-started-color"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"labelPosition":[1,"label-position"],"isTabbing":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["wm-datepicker",[[17,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1,"label-position"],"label":[1],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"reformatDate":[64],"isValidIso":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"cellTriggered","handleCellTriggered"],[9,"resize","handleWindowResize"]],{"disabled":["handleDisabledChange"],"value":["updateValue"],"errorMessage":["announceError"]}]]],["wm-search",[[17,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"announcement":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"numResults":["handleNumResultsUpdate"],"disabled":["handleDisabledChange"]}]]],["wm-file-list",[[17,"wm-file-list",{"showInfo":[1,"show-info"]}]]],["wm-tag-input",[[17,"wm-tag-input",{"label":[1],"errorMessage":[1,"error-message"],"info":[1],"labelPosition":[1,"label-position"],"maxTags":[2,"max-tags"],"placeholder":[1025],"requiredField":[4,"required-field"],"tagInputType":[1,"tag-input-type"],"helpText":[1,"help-text"],"addNew":[4,"add-new"],"characterLimit":[2,"character-limit"],"colHeaders":[1,"col-headers"],"colWidths":[1,"col-widths"],"colWrap":[1,"col-wrap"],"isKeying":[32],"isExpanded":[32],"liveRegionMessage":[32],"focusedOption":[32],"focusedColumn":[32],"focusedTagIndex":[32],"tagsList":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"privTagOptionSelected","handleTagOptionSelected"],[0,"privTagOptionDeselected","handleTagOptionDeselected"],[4,"click","handleClick"],[11,"scroll","dismissTooltip"],[0,"blur","handleBlur"]],{"errorMessage":["announceError"]}]]],["wm-tag-option",[[0,"wm-tag-option",{"selected":[1540],"locked":[4],"col1":[1],"col2":[1],"col3":[1],"col4":[1],"emitSelectedEvent":[64],"emitDeselectedEvent":[64]},null,{"selected":["handleSelected"]}]]],["wm-toggletip",[[17,"wm-toggletip",{"label":[1],"tooltip":[1],"tooltipPosition":[1,"tooltip-position"],"targetSize":[1,"target-size"],"toggletipType":[1,"toggletip-type"],"isHidden":[32]},[[9,"resize","handleResize"],[0,"keydown","handleKeydown"],[4,"click","handleClick"]]]]],["wm-option_2",[[17,"wm-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"info":[1],"isExpanded":[32],"isHidden":[32],"openUp":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closeDropdownOnEscape"],[0,"keydown","handleKey"],[9,"resize","handleResize"]],{"errorMessage":["announceError"],"disabled":["handleDisabledChange"]}],[1,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4],"searchTerm":[32]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]],{"selected":["syncAriaSelected"],"disabled":["syncAriaDisabled","updateDisabledOnClick"]}]]],["wm-button",[[17,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"icon":[1537],"iconSize":[1,"icon-size"],"iconRotate":[2,"icon-rotate"],"iconFlip":[1,"icon-flip"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"isSubmit":[4,"is-submit"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[11,"scroll","handleScroll"],[0,"keydown","handleKeydown"]],{"buttonType":["validateType"],"icon":["updateIcon"],"disabled":["handleDisabledChange"]}]]],["wm-modal-pss_3",[[0,"wm-modal-pss-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[0,"wm-modal-pss-header",{"heading":[1],"subheading":[1]}],[0,"wm-modal-pss",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},[[0,"click","handleClick"],[0,"keydown","closeModalOnEscape"]],{"open":["toggleModal"]}]]],["wm-modal_3",[[0,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[0,"wm-modal-header",{"heading":[1],"subheading":[1]}],[4,"wm-modal",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"returnFocusEl":[32],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},null,{"open":["toggleModal"]}]]],["wm-chart-bar",[[1,"wm-chart-bar",{"config":[16],"data":[16],"printMode":[4,"print-mode"],"subinfo":[1],"processedData":[32],"gridInfo":[32],"isKeying":[32]},[[4,"wmLegendItemClick","handleLegendItemClick"],[6,"click","handleDocumentClick"],[8,"wmUserIsKeying","handleUserIsKeying"],[8,"wmUserIsNotTabbing","handleUserIsNotKeying"]],{"config":["handleConfigDataChange"],"data":["handleConfigDataChange"],"processedData":["propagateExternalLegendData"]}]]],["wm-chart-column",[[1,"wm-chart-column",{"config":[16],"data":[16],"printMode":[4,"print-mode"],"subinfo":[1],"processedData":[32],"gridInfo":[32],"isKeying":[32]},[[4,"wmLegendItemClick","handleLegendItemClick"],[4,"wmLegendItemHover","handleLegendItemHover"],[6,"click","handleDocumentClick"],[8,"wmUserIsKeying","handleUserIsKeying"],[8,"wmUserIsNotTabbing","handleUserIsNotKeying"]],{"config":["handleConfigDataChange"],"data":["handleConfigDataChange"],"processedData":["propagateExternalLegendData"]}]]],["wm-navigation_3",[[17,"wm-navigation",{"open":[1540]},[[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]],{"open":["handleStateChange"]}],[17,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[17,"wm-navigation-item",{"href":[1],"text":[1],"active":[4]}]]],["wm-progress-indicator_3",[[17,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"isTabbing":[32],"mode":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]],{"mode":["handleModeUpdate"]}],[17,"wm-progress-monitor",{"breakpoint":[8],"groupLegend":[1,"group-legend"],"barLabelsWidth":[1,"bar-labels-width"]}],[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-tab-item_3",[[17,"wm-tab-list",{"customBackground":[1,"custom-background"],"selectedTab":[1,"selected-tab"],"announcement":[32],"containerFadeLeft":[32],"containerFadeRight":[32],"scrollArrowsVisible":[32]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"wmIntTabFocused","wmTabFocused"],[0,"keydownOnTabItem","handleKeydown"]],{"selectedTab":["setSelected"]}],[17,"wm-tab-item",{"selected":[4],"tabId":[1,"tab-id"]}],[0,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]}]]],["wm-date-range",[[17,"wm-date-range",{"dateFormat":[1,"date-format"],"disabled":[4],"errorMessage":[513,"error-message"],"invalidStart":[4,"invalid-start"],"invalidEnd":[4,"invalid-end"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"preselected":[1],"requiredField":[4,"required-field"],"valueStart":[1025,"value-start"],"valueEnd":[1025,"value-end"],"availSpace":[32],"isExpanded":[32],"reformatDate":[64],"isValidISO":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"],[0,"outOfCal","handleOutOfCal"],[0,"cellHovered","handleCellHovered"],[9,"resize","setAvailSpace"]],{"disabled":["handleDisabled"],"valueStart":["updateValueStart"],"valueEnd":["updateValueEnd"],"errorMessage":["handleErrorMessage"]}]]],["wm-flyout",[[1,"wm-flyout",{"eyebrow":[1],"heading":[1],"subheading":[1],"flyoutWidth":[1,"flyout-width"],"primaryText":[1,"primary-text"],"secondaryText":[1,"secondary-text"],"infoText":[1,"info-text"],"breadcrumb":[1],"elementToFocus":[1,"element-to-focus"],"open":[516],"returnFocusEl":[32],"isBreadcrumbsOverflowing":[32],"focusHeading":[64]},null,{"open":["handleOpenChange"],"flyoutWidth":["setFlyoutWidth"]}]]],["wm-line-chart",[[1,"wm-line-chart",{"label":[1],"description":[1],"xAxisLabel":[1,"x-axis-label"],"yAxisLabel":[1,"y-axis-label"],"showGrid":[4,"show-grid"],"lineData":[1025,"line-data"],"units":[1],"labelWidth":[1,"label-width"],"highlightQualifier":[1,"highlight-qualifier"],"highlightStart":[1,"highlight-start"],"highlightEnd":[1,"highlight-end"],"visibilityToggles":[4,"visibility-toggles"],"showDeltas":[4,"show-deltas"],"yRange":[1,"y-range"],"spotlightData":[16],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"]}]]],["wm-chart-slice",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-input",[[17,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"inputWidth":[1,"input-width"],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"symbolBefore":[1,"symbol-before"],"symbolAfter":[1,"symbol-after"],"textAfter":[1,"text-after"],"type":[1],"step":[2],"min":[2],"max":[2],"isSubmit":[4,"is-submit"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-nested-select",[[17,"wm-nested-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"constrainedMaxHeight":[1025,"constrained-max-height"],"isExpanded":[32],"isGroupExpanded":[32],"showClearSelectionButton":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"keydown","handleKeyDown"],[6,"click","handleClick"],[0,"optgroupExpanded","handleOptgroupExpanded"],[0,"optgroupHidden","handleOptgroupHidden"]]]]],["wm-pagination",[[17,"wm-pagination",{"label":[1],"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeSize":[4,"is-large-size"],"srAnnouncement":[32]},null,{"totalItems":["calculateTotalPages"],"itemsPerPage":["calculateTotalPages"]}]]],["wm-snackbar",[[1,"wm-snackbar",{"notifications":[1537],"isTabbing":[32],"announcement":[32]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]],{"notifications":["updateSnacks"]}]]],["wm-textarea",[[1,"wm-textarea",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"inputWidth":[1,"input-width"],"inputHeight":[1,"input-height"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-timepicker",[[17,"wm-timepicker",{"disabled":[4],"value":[1025],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"isValidTime":[64],"reformatTime":[64]},[[0,"keydown","handleKey"]],{"disabled":["handleDisabledChange"],"value":["handleValueChange"],"errorMessage":["announceError"]}]]],["wm-uploader",[[17,"wm-uploader",{"label":[1],"uploaderType":[1,"uploader-type"],"dropArea":[1,"drop-area"],"buttonText":[1,"button-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1,"max-size"],"maxFiles":[2,"max-files"],"errorMessage":[1,"error-message"],"requiredField":[4,"required-field"],"showInfo":[1,"show-info"],"isTabbing":[32],"notif":[32],"isCondensed":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmFileErrorCleared","handleFileErrorCleared"],[0,"wmFileDelete","handleFileDelete"],[5,"dragenter","handleDocumentDragEnter"],[5,"mouseout","handleDocumentMouseOut"],[5,"dragleave","handleDocumentDragLeave"],[4,"visibilitychange","handleDocumentVisibilityChange"]],{"errorMessage":["announceError"]}]]],["wm-wrapper",[[0,"wm-wrapper"]]],["priv-navigator-button",[[17,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"]}]]],["priv-navigator-item",[[1,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["wm-action-menu_2",[[17,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"darkMode":[4,"dark-mode"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[1,"wm-menuitem",{"disabled":[4],"icon":[1025],"description":[1]},[[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]],{"disabled":["setOnClick"]}]]],["priv-option-list",[[4,"priv-option-list",{"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"searchPlaceholder":[1,"search-placeholder"],"optgroupLabel":[1,"optgroup-label"],"maxHeight":[1,"max-height"],"upwardsHeightLimit":[2,"upwards-height-limit"],"announcement":[32],"searchTerm":[32],"handleChildChange":[64],"clearSearch":[64],"focusOption":[64],"handleInitialFocus":[64],"unfocusAll":[64],"updateOptionVisibility":[64]},[[0,"wmLetterPressed","findAndFocusOption"],[0,"wmOptionSelected","handleOptionSelection"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstOption"],[0,"wmEndKeyPressed","moveToLastOption"],[0,"intCloneClicked","handleOptionCloneSelection"]]]]],["priv-calendar",[[0,"priv-calendar",{"disabled":[4],"view":[1025],"focusDate":[1025,"focus-date"],"startDate":[1,"start-date"],"endDate":[1,"end-date"],"hoverDate":[1,"hover-date"],"announcement":[32],"focusFirstFocusable":[64],"focusLastFocusable":[64],"focusCell":[64]},[[0,"keydown","handleKey"]],{"focusDate":["handleFocusDate"]}]]],["priv-chart-popover-old",[[0,"priv-chart-popover-old",{"open":[1028],"sliceDetails":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]],["priv-chart-popover_2",[[0,"priv-chart-popover",{"chartData":[16],"header":[1],"text":[1],"buttonText":[1,"button-text"],"coords":[16],"open":[1028],"announcement":[32],"isKeying":[32],"announceContents":[64]},[[8,"wmUserIsKeying","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"coords":["handleDetailsChange"]}],[17,"wm-chart-legend",{"chartIds":[513,"chart-ids"],"orientation":[1],"processedData":[1040],"printMode":[4,"print-mode"]},[[4,"wmChartBarHighlighted","handleChartBarHighlighted"],[6,"click","handleDocumentClick"]]]]]]'),a)]}}))}))};export{defineCustomElements};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,a,t,n){function i(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,l){function o(e){try{d(n.next(e))}catch(e){l(e)}}function r(e){try{d(n["throw"](e))}catch(e){l(e)}}function d(e){e.done?t(e.value):i(e.value).then(o,r)}d((n=n.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},n,i,l,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(e){return function(a){return d([e,a])}}function d(r){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(t=0)),t)try{if(n=1,i&&(l=r[0]&2?i["return"]:r[0]?i["throw"]||((l=i["return"])&&l.call(i),0):i.next)&&!(l=l.call(i,r[1])).done)return l;if(i=0,l)r=[r[0]&2,l.value];switch(r[0]){case 0:case 1:l=r;break;case 4:t.label++;return{value:r[1],done:false};case 5:t.label++;i=r[1];r=[0];continue;case 7:r=t.ops.pop();t.trys.pop();continue;default:if(!(l=t.trys,l=l.length>0&&l[l.length-1])&&(r[0]===6||r[0]===2)){t=0;continue}if(r[0]===3&&(!l||r[1]>l[0]&&r[1]<l[3])){t.label=r[1];break}if(r[0]===6&&t.label<l[1]){t.label=l[1];l=r;break}if(l&&t.label<l[2]){t.label=l[2];t.ops.push(r);break}if(l[2])t.ops.pop();t.trys.pop();continue}r=a.call(e,t)}catch(e){r=[6,e];i=0}finally{n=l=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-130e07bb.js";export{s as setNonce}from"./index-130e07bb.js";import{g as globalScripts}from"./app-globals-e1f96b84.js";var defineCustomElements=function(e,a){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy(JSON.parse('[["wm-file",[[17,"wm-file",{"name":[1],"type":[1],"fileActions":[1,"file-actions"],"lastUpdated":[1,"last-updated"],"progress":[514],"size":[1],"uploadedBy":[1,"uploaded-by"],"errorMessage":[1,"error-message"],"showInfo":[1025,"show-info"]}]]],["wm-navigator",[[17,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"itemIndexToFocus":[32]},[[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]],{"products":["parseData"]}]]],["wm-optgroup",[[17,"wm-optgroup",{"label":[1],"isExpanded":[1028,"is-expanded"],"multiple":[1028],"disabled":[4],"emitDeselection":[64],"handleChildChange":[64]},[[0,"wmKeyLeftPressed","handleOptionKeyLeft"]],{"isExpanded":["isExpandedChanged"]}]]],["wm-chart",[[17,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"labelWidth":[1,"label-width"],"subinfo":[1],"valueFormat":[1,"value-format"],"showGrid":[4,"show-grid"],"showLegend":[4,"show-legend"],"showBarLegend":[4,"show-bar-legend"],"notStartedColor":[4,"not-started-color"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"labelPosition":[1,"label-position"],"isTabbing":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["wm-datepicker",[[17,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1,"label-position"],"label":[1],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"reformatDate":[64],"isValidIso":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"cellTriggered","handleCellTriggered"],[9,"resize","handleWindowResize"]],{"disabled":["handleDisabledChange"],"value":["updateValue"],"errorMessage":["announceError"]}]]],["wm-search",[[17,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"announcement":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"numResults":["handleNumResultsUpdate"],"disabled":["handleDisabledChange"]}]]],["wm-file-list",[[17,"wm-file-list",{"showInfo":[1,"show-info"]}]]],["wm-tag-input",[[17,"wm-tag-input",{"label":[1],"errorMessage":[1,"error-message"],"info":[1],"labelPosition":[1,"label-position"],"maxTags":[2,"max-tags"],"placeholder":[1025],"requiredField":[4,"required-field"],"tagInputType":[1,"tag-input-type"],"helpText":[1,"help-text"],"addNew":[4,"add-new"],"characterLimit":[2,"character-limit"],"colHeaders":[1,"col-headers"],"colWidths":[1,"col-widths"],"colWrap":[1,"col-wrap"],"isKeying":[32],"isExpanded":[32],"liveRegionMessage":[32],"focusedOption":[32],"focusedColumn":[32],"focusedTagIndex":[32],"tagsList":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"privTagOptionSelected","handleTagOptionSelected"],[0,"privTagOptionDeselected","handleTagOptionDeselected"],[4,"click","handleClick"],[11,"scroll","dismissTooltip"],[0,"blur","handleBlur"]],{"errorMessage":["announceError"]}]]],["wm-tag-option",[[0,"wm-tag-option",{"selected":[1540],"locked":[4],"col1":[1],"col2":[1],"col3":[1],"col4":[1],"emitSelectedEvent":[64],"emitDeselectedEvent":[64]},null,{"selected":["handleSelected"]}]]],["wm-toggletip",[[17,"wm-toggletip",{"label":[1],"tooltip":[1],"tooltipPosition":[1,"tooltip-position"],"targetSize":[1,"target-size"],"toggletipType":[1,"toggletip-type"],"isHidden":[32]},[[9,"resize","handleResize"],[0,"keydown","handleKeydown"],[4,"click","handleClick"]]]]],["wm-option_2",[[17,"wm-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"info":[1],"isExpanded":[32],"isHidden":[32],"openUp":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closeDropdownOnEscape"],[0,"keydown","handleKey"],[9,"resize","handleResize"]],{"errorMessage":["announceError"],"disabled":["handleDisabledChange"]}],[1,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4],"searchTerm":[32]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]],{"selected":["syncAriaSelected"],"disabled":["syncAriaDisabled","updateDisabledOnClick"]}]]],["wm-button",[[17,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"icon":[1537],"iconSize":[1,"icon-size"],"iconRotate":[2,"icon-rotate"],"iconFlip":[1,"icon-flip"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"isSubmit":[4,"is-submit"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[11,"scroll","handleScroll"],[0,"keydown","handleKeydown"]],{"buttonType":["validateType"],"icon":["updateIcon"],"disabled":["handleDisabledChange"]}]]],["wm-modal-pss_3",[[0,"wm-modal-pss-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[0,"wm-modal-pss-header",{"heading":[1],"subheading":[1]}],[0,"wm-modal-pss",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},[[0,"click","handleClick"],[0,"keydown","closeModalOnEscape"]],{"open":["toggleModal"]}]]],["wm-modal_3",[[0,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[0,"wm-modal-header",{"heading":[1],"subheading":[1]}],[4,"wm-modal",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"returnFocusEl":[32],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},null,{"open":["toggleModal"]}]]],["wm-chart-bar",[[1,"wm-chart-bar",{"config":[16],"data":[16],"printMode":[4,"print-mode"],"subinfo":[1],"processedData":[32],"gridInfo":[32],"isKeying":[32]},[[4,"wmLegendItemClick","handleLegendItemClick"],[6,"click","handleDocumentClick"],[8,"wmUserIsKeying","handleUserIsKeying"],[8,"wmUserIsNotTabbing","handleUserIsNotKeying"]],{"config":["handleConfigDataChange"],"data":["handleConfigDataChange"],"processedData":["propagateExternalLegendData"]}]]],["wm-chart-column",[[1,"wm-chart-column",{"config":[16],"data":[16],"printMode":[4,"print-mode"],"subinfo":[1],"processedData":[32],"gridInfo":[32],"isKeying":[32]},[[4,"wmLegendItemClick","handleLegendItemClick"],[4,"wmLegendItemHover","handleLegendItemHover"],[6,"click","handleDocumentClick"],[8,"wmUserIsKeying","handleUserIsKeying"],[8,"wmUserIsNotTabbing","handleUserIsNotKeying"]],{"config":["handleConfigDataChange"],"data":["handleConfigDataChange"],"processedData":["propagateExternalLegendData"]}]]],["wm-navigation_3",[[17,"wm-navigation",{"open":[1540]},[[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]],{"open":["handleStateChange"]}],[17,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[17,"wm-navigation-item",{"href":[1],"text":[1],"active":[4]}]]],["wm-progress-indicator_3",[[17,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"isTabbing":[32],"mode":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]],{"mode":["handleModeUpdate"]}],[17,"wm-progress-monitor",{"breakpoint":[8],"groupLegend":[1,"group-legend"],"barLabelsWidth":[1,"bar-labels-width"]}],[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-tab-item_3",[[17,"wm-tab-list",{"customBackground":[1,"custom-background"],"selectedTab":[1,"selected-tab"],"announcement":[32],"containerFadeLeft":[32],"containerFadeRight":[32],"scrollArrowsVisible":[32]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"wmIntTabFocused","wmTabFocused"],[0,"keydownOnTabItem","handleKeydown"]],{"selectedTab":["setSelected"]}],[17,"wm-tab-item",{"selected":[4],"tabId":[1,"tab-id"]}],[0,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]}]]],["wm-date-range",[[17,"wm-date-range",{"dateFormat":[1,"date-format"],"disabled":[4],"errorMessage":[513,"error-message"],"invalidStart":[4,"invalid-start"],"invalidEnd":[4,"invalid-end"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"preselected":[1],"requiredField":[4,"required-field"],"valueStart":[1025,"value-start"],"valueEnd":[1025,"value-end"],"availSpace":[32],"isExpanded":[32],"reformatDate":[64],"isValidISO":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"],[0,"outOfCal","handleOutOfCal"],[0,"cellHovered","handleCellHovered"],[9,"resize","setAvailSpace"]],{"disabled":["handleDisabled"],"valueStart":["updateValueStart"],"valueEnd":["updateValueEnd"],"errorMessage":["handleErrorMessage"]}]]],["wm-flyout",[[1,"wm-flyout",{"eyebrow":[1],"heading":[1],"subheading":[1],"flyoutWidth":[1,"flyout-width"],"primaryText":[1,"primary-text"],"secondaryText":[1,"secondary-text"],"infoText":[1,"info-text"],"breadcrumb":[1],"elementToFocus":[1,"element-to-focus"],"open":[516],"returnFocusEl":[32],"isBreadcrumbsOverflowing":[32],"focusHeading":[64]},null,{"open":["handleOpenChange"],"flyoutWidth":["setFlyoutWidth"]}]]],["wm-line-chart",[[1,"wm-line-chart",{"label":[1],"description":[1],"xAxisLabel":[1,"x-axis-label"],"yAxisLabel":[1,"y-axis-label"],"showGrid":[4,"show-grid"],"lineData":[1025,"line-data"],"units":[1],"labelWidth":[1,"label-width"],"highlightQualifier":[1,"highlight-qualifier"],"highlightStart":[1,"highlight-start"],"highlightEnd":[1,"highlight-end"],"visibilityToggles":[4,"visibility-toggles"],"showDeltas":[4,"show-deltas"],"yRange":[1,"y-range"],"spotlightData":[16],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"]}]]],["wm-chart-slice",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-input",[[17,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"inputWidth":[1,"input-width"],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"symbolBefore":[1,"symbol-before"],"symbolAfter":[1,"symbol-after"],"textAfter":[1,"text-after"],"type":[1],"step":[2],"min":[2],"max":[2],"isSubmit":[4,"is-submit"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-nested-select",[[17,"wm-nested-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"constrainedMaxHeight":[1025,"constrained-max-height"],"isExpanded":[32],"isGroupExpanded":[32],"showClearSelectionButton":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"keydown","handleKeyDown"],[6,"click","handleClick"],[0,"optgroupExpanded","handleOptgroupExpanded"],[0,"optgroupHidden","handleOptgroupHidden"]]]]],["wm-pagination",[[17,"wm-pagination",{"label":[1],"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeSize":[4,"is-large-size"],"srAnnouncement":[32]},null,{"totalItems":["calculateTotalPages"],"itemsPerPage":["calculateTotalPages"]}]]],["wm-snackbar",[[1,"wm-snackbar",{"notifications":[1537],"isTabbing":[32],"announcement":[32]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]],{"notifications":["updateSnacks"]}]]],["wm-textarea",[[1,"wm-textarea",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"inputWidth":[1,"input-width"],"inputHeight":[1,"input-height"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-timepicker",[[17,"wm-timepicker",{"disabled":[4],"value":[1025],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"isValidTime":[64],"reformatTime":[64]},[[0,"keydown","handleKey"]],{"disabled":["handleDisabledChange"],"value":["handleValueChange"],"errorMessage":["announceError"]}]]],["wm-uploader",[[17,"wm-uploader",{"label":[1],"uploaderType":[1,"uploader-type"],"dropArea":[1,"drop-area"],"buttonText":[1,"button-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1,"max-size"],"maxFiles":[2,"max-files"],"errorMessage":[1,"error-message"],"requiredField":[4,"required-field"],"showInfo":[1,"show-info"],"isTabbing":[32],"notif":[32],"isCondensed":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmFileErrorCleared","handleFileErrorCleared"],[0,"wmFileDelete","handleFileDelete"],[5,"dragenter","handleDocumentDragEnter"],[5,"mouseout","handleDocumentMouseOut"],[5,"dragleave","handleDocumentDragLeave"],[4,"visibilitychange","handleDocumentVisibilityChange"]],{"errorMessage":["announceError"]}]]],["wm-wrapper",[[0,"wm-wrapper"]]],["priv-navigator-button",[[17,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"]}]]],["priv-navigator-item",[[1,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["wm-action-menu_2",[[17,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"darkMode":[4,"dark-mode"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[1,"wm-menuitem",{"disabled":[4],"icon":[1025],"description":[1]},[[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]],{"disabled":["setOnClick"]}]]],["priv-option-list",[[4,"priv-option-list",{"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"searchPlaceholder":[1,"search-placeholder"],"optgroupLabel":[1,"optgroup-label"],"maxHeight":[1,"max-height"],"upwardsHeightLimit":[2,"upwards-height-limit"],"announcement":[32],"searchTerm":[32],"handleChildChange":[64],"clearSearch":[64],"focusOption":[64],"handleInitialFocus":[64],"unfocusAll":[64],"updateOptionVisibility":[64]},[[0,"wmLetterPressed","findAndFocusOption"],[0,"wmOptionSelected","handleOptionSelection"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstOption"],[0,"wmEndKeyPressed","moveToLastOption"],[0,"intCloneClicked","handleOptionCloneSelection"]]]]],["priv-calendar",[[0,"priv-calendar",{"disabled":[4],"view":[1025],"focusDate":[1025,"focus-date"],"startDate":[1,"start-date"],"endDate":[1,"end-date"],"hoverDate":[1,"hover-date"],"announcement":[32],"focusFirstFocusable":[64],"focusLastFocusable":[64],"focusCell":[64]},[[0,"keydown","handleKey"]],{"focusDate":["handleFocusDate"]}]]],["priv-chart-popover-old",[[0,"priv-chart-popover-old",{"open":[1028],"sliceDetails":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]],["priv-chart-popover_2",[[0,"priv-chart-popover",{"chartData":[16],"header":[1],"text":[1],"buttonText":[1,"button-text"],"coords":[16],"open":[1028],"announcement":[32],"isKeying":[32],"announceContents":[64]},[[8,"wmUserIsKeying","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"coords":["handleDetailsChange"]}],[17,"wm-chart-legend",{"chartIds":[513,"chart-ids"],"orientation":[1],"processedData":[1040],"printMode":[4,"print-mode"]},[[4,"wmChartBarHighlighted","handleChartBarHighlighted"],[6,"click","handleDocumentClick"]]]]]]'),a)]}}))}))};export{defineCustomElements};
|