@watermarkinsights/ripple 4.7.0-10 → 4.7.0-11
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/{global-4a1638c5.js → global-fd8262c4.js} +1 -1
- package/dist/cjs/index-f8ef86de.js +130 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +3 -3
- package/dist/collection/components/charts/wm-chart/wm-chart.js +3 -3
- package/dist/esm/{global-887230f8.js → global-4971d2c4.js} +1 -1
- package/dist/esm/index-f164fbca.js +130 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-chart.entry.js +3 -3
- package/dist/esm-es5/{global-887230f8.js → global-4971d2c4.js} +1 -1
- package/dist/esm-es5/index-f164fbca.js +1 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/ripple/{p-51dcc0dc.system.js → p-09f78f45.system.js} +1 -1
- package/dist/ripple/{p-87c3c850.system.entry.js → p-469eb1e1.system.entry.js} +1 -1
- package/dist/ripple/{p-c5543fde.js → p-adf96c0c.js} +1 -1
- package/dist/ripple/p-c0fdeb76.entry.js +1 -0
- package/dist/ripple/{p-c29f0ebf.system.js → p-c680c233.system.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/package.json +1 -1
- package/dist/ripple/p-f9b4763e.entry.js +0 -1
|
@@ -2356,7 +2356,136 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2356
2356
|
if (module) {
|
|
2357
2357
|
return module[exportName];
|
|
2358
2358
|
}
|
|
2359
|
-
|
|
2359
|
+
|
|
2360
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
2361
|
+
const processMod = importedModule => {
|
|
2362
|
+
cmpModules.set(bundleId, importedModule);
|
|
2363
|
+
return importedModule[exportName];
|
|
2364
|
+
}
|
|
2365
|
+
switch(bundleId) {
|
|
2366
|
+
|
|
2367
|
+
case 'wm-button.cjs':
|
|
2368
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2369
|
+
/* webpackMode: "lazy" */
|
|
2370
|
+
'./wm-button.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2371
|
+
case 'wm-chart.cjs':
|
|
2372
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2373
|
+
/* webpackMode: "lazy" */
|
|
2374
|
+
'./wm-chart.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2375
|
+
case 'wm-datepicker.cjs':
|
|
2376
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2377
|
+
/* webpackMode: "lazy" */
|
|
2378
|
+
'./wm-datepicker.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2379
|
+
case 'wm-file.cjs':
|
|
2380
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2381
|
+
/* webpackMode: "lazy" */
|
|
2382
|
+
'./wm-file.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2383
|
+
case 'wm-file-list.cjs':
|
|
2384
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2385
|
+
/* webpackMode: "lazy" */
|
|
2386
|
+
'./wm-file-list.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2387
|
+
case 'wm-input.cjs':
|
|
2388
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2389
|
+
/* webpackMode: "lazy" */
|
|
2390
|
+
'./wm-input.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2391
|
+
case 'wm-modal.cjs':
|
|
2392
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2393
|
+
/* webpackMode: "lazy" */
|
|
2394
|
+
'./wm-modal.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2395
|
+
case 'wm-navigator.cjs':
|
|
2396
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2397
|
+
/* webpackMode: "lazy" */
|
|
2398
|
+
'./wm-navigator.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2399
|
+
case 'wm-pagination.cjs':
|
|
2400
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2401
|
+
/* webpackMode: "lazy" */
|
|
2402
|
+
'./wm-pagination.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2403
|
+
case 'wm-search.cjs':
|
|
2404
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2405
|
+
/* webpackMode: "lazy" */
|
|
2406
|
+
'./wm-search.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2407
|
+
case 'wm-snackbar.cjs':
|
|
2408
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2409
|
+
/* webpackMode: "lazy" */
|
|
2410
|
+
'./wm-snackbar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2411
|
+
case 'wm-timepicker.cjs':
|
|
2412
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2413
|
+
/* webpackMode: "lazy" */
|
|
2414
|
+
'./wm-timepicker.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2415
|
+
case 'wm-toggletip.cjs':
|
|
2416
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2417
|
+
/* webpackMode: "lazy" */
|
|
2418
|
+
'./wm-toggletip.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2419
|
+
case 'wm-tag-input.cjs':
|
|
2420
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2421
|
+
/* webpackMode: "lazy" */
|
|
2422
|
+
'./wm-tag-input.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2423
|
+
case 'wm-tag-option.cjs':
|
|
2424
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2425
|
+
/* webpackMode: "lazy" */
|
|
2426
|
+
'./wm-tag-option.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2427
|
+
case 'wm-uploader.cjs':
|
|
2428
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2429
|
+
/* webpackMode: "lazy" */
|
|
2430
|
+
'./wm-uploader.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2431
|
+
case 'wm-wrapper.cjs':
|
|
2432
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2433
|
+
/* webpackMode: "lazy" */
|
|
2434
|
+
'./wm-wrapper.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2435
|
+
case 'wm-action-menu_2.cjs':
|
|
2436
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2437
|
+
/* webpackMode: "lazy" */
|
|
2438
|
+
'./wm-action-menu_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2439
|
+
case 'wm-option_2.cjs':
|
|
2440
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2441
|
+
/* webpackMode: "lazy" */
|
|
2442
|
+
'./wm-option_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2443
|
+
case 'wm-navigation_3.cjs':
|
|
2444
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2445
|
+
/* webpackMode: "lazy" */
|
|
2446
|
+
'./wm-navigation_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2447
|
+
case 'wm-progress-indicator_3.cjs':
|
|
2448
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2449
|
+
/* webpackMode: "lazy" */
|
|
2450
|
+
'./wm-progress-indicator_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2451
|
+
case 'wm-tab-item_3.cjs':
|
|
2452
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2453
|
+
/* webpackMode: "lazy" */
|
|
2454
|
+
'./wm-tab-item_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2455
|
+
case 'wm-chart-slice.cjs':
|
|
2456
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2457
|
+
/* webpackMode: "lazy" */
|
|
2458
|
+
'./wm-chart-slice.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2459
|
+
case 'wm-line-chart.cjs':
|
|
2460
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2461
|
+
/* webpackMode: "lazy" */
|
|
2462
|
+
'./wm-line-chart.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2463
|
+
case 'wm-modal-footer.cjs':
|
|
2464
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2465
|
+
/* webpackMode: "lazy" */
|
|
2466
|
+
'./wm-modal-footer.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2467
|
+
case 'wm-modal-header.cjs':
|
|
2468
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2469
|
+
/* webpackMode: "lazy" */
|
|
2470
|
+
'./wm-modal-header.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2471
|
+
case 'priv-datepicker.cjs':
|
|
2472
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2473
|
+
/* webpackMode: "lazy" */
|
|
2474
|
+
'./priv-datepicker.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2475
|
+
case 'priv-navigator-button.cjs':
|
|
2476
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2477
|
+
/* webpackMode: "lazy" */
|
|
2478
|
+
'./priv-navigator-button.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2479
|
+
case 'priv-navigator-item.cjs':
|
|
2480
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2481
|
+
/* webpackMode: "lazy" */
|
|
2482
|
+
'./priv-navigator-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2483
|
+
case 'priv-chart-popover.cjs':
|
|
2484
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2485
|
+
/* webpackMode: "lazy" */
|
|
2486
|
+
'./priv-chart-popover.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2360
2489
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2361
2490
|
/* @vite-ignore */
|
|
2362
2491
|
/* webpackInclude: /\.entry\.js$/ */
|
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-f8ef86de.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-fd8262c4.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = (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-f8ef86de.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-fd8262c4.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v4.8.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -16,7 +16,7 @@ const Chart = class {
|
|
|
16
16
|
// @ts-ignore-- TS warns this is unused, but its needed in chartFunctions
|
|
17
17
|
this.slicesDetails = [];
|
|
18
18
|
this.handleStackedBarResize = functions.debounce(async () => {
|
|
19
|
-
// if any value text overlaps with another, hide it and display warning
|
|
19
|
+
// if any value text overlaps with another, except zeroes, hide it and display warning
|
|
20
20
|
let hasHiddenBarValue = false;
|
|
21
21
|
const textEls = this.el.shadowRoot.querySelectorAll(".value");
|
|
22
22
|
if (textEls.length > 0) {
|
|
@@ -25,8 +25,8 @@ const Chart = class {
|
|
|
25
25
|
textEls.forEach((textEl) => {
|
|
26
26
|
textEl.classList.remove("hidden");
|
|
27
27
|
const currentValue = parseInt(textEl.dataset.value);
|
|
28
|
-
// only proceed if there are prevTextEls to check for overlap
|
|
29
|
-
if (prevTextEls.length > 0) {
|
|
28
|
+
// only proceed if there are prevTextEls to check for overlap, and current value is not 0
|
|
29
|
+
if (prevTextEls.length > 0 && currentValue != 0) {
|
|
30
30
|
const currentLeftEdge = textEl.getBoundingClientRect().left - margin;
|
|
31
31
|
// check for overlap with all prevTextEls & hide the smaller value if overlap occurs
|
|
32
32
|
prevTextEls.forEach((prevTextEl) => {
|
|
@@ -9,7 +9,7 @@ export class Chart {
|
|
|
9
9
|
// @ts-ignore-- TS warns this is unused, but its needed in chartFunctions
|
|
10
10
|
this.slicesDetails = [];
|
|
11
11
|
this.handleStackedBarResize = debounce(async () => {
|
|
12
|
-
// if any value text overlaps with another, hide it and display warning
|
|
12
|
+
// if any value text overlaps with another, except zeroes, hide it and display warning
|
|
13
13
|
let hasHiddenBarValue = false;
|
|
14
14
|
const textEls = this.el.shadowRoot.querySelectorAll(".value");
|
|
15
15
|
if (textEls.length > 0) {
|
|
@@ -18,8 +18,8 @@ export class Chart {
|
|
|
18
18
|
textEls.forEach((textEl) => {
|
|
19
19
|
textEl.classList.remove("hidden");
|
|
20
20
|
const currentValue = parseInt(textEl.dataset.value);
|
|
21
|
-
// only proceed if there are prevTextEls to check for overlap
|
|
22
|
-
if (prevTextEls.length > 0) {
|
|
21
|
+
// only proceed if there are prevTextEls to check for overlap, and current value is not 0
|
|
22
|
+
if (prevTextEls.length > 0 && currentValue != 0) {
|
|
23
23
|
const currentLeftEdge = textEl.getBoundingClientRect().left - margin;
|
|
24
24
|
// check for overlap with all prevTextEls & hide the smaller value if overlap occurs
|
|
25
25
|
prevTextEls.forEach((prevTextEl) => {
|
|
@@ -2334,7 +2334,136 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2334
2334
|
if (module) {
|
|
2335
2335
|
return module[exportName];
|
|
2336
2336
|
}
|
|
2337
|
-
|
|
2337
|
+
|
|
2338
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
2339
|
+
const processMod = importedModule => {
|
|
2340
|
+
cmpModules.set(bundleId, importedModule);
|
|
2341
|
+
return importedModule[exportName];
|
|
2342
|
+
}
|
|
2343
|
+
switch(bundleId) {
|
|
2344
|
+
|
|
2345
|
+
case 'wm-button':
|
|
2346
|
+
return import(
|
|
2347
|
+
/* webpackMode: "lazy" */
|
|
2348
|
+
'./wm-button.entry.js').then(processMod, consoleError);
|
|
2349
|
+
case 'wm-chart':
|
|
2350
|
+
return import(
|
|
2351
|
+
/* webpackMode: "lazy" */
|
|
2352
|
+
'./wm-chart.entry.js').then(processMod, consoleError);
|
|
2353
|
+
case 'wm-datepicker':
|
|
2354
|
+
return import(
|
|
2355
|
+
/* webpackMode: "lazy" */
|
|
2356
|
+
'./wm-datepicker.entry.js').then(processMod, consoleError);
|
|
2357
|
+
case 'wm-file':
|
|
2358
|
+
return import(
|
|
2359
|
+
/* webpackMode: "lazy" */
|
|
2360
|
+
'./wm-file.entry.js').then(processMod, consoleError);
|
|
2361
|
+
case 'wm-file-list':
|
|
2362
|
+
return import(
|
|
2363
|
+
/* webpackMode: "lazy" */
|
|
2364
|
+
'./wm-file-list.entry.js').then(processMod, consoleError);
|
|
2365
|
+
case 'wm-input':
|
|
2366
|
+
return import(
|
|
2367
|
+
/* webpackMode: "lazy" */
|
|
2368
|
+
'./wm-input.entry.js').then(processMod, consoleError);
|
|
2369
|
+
case 'wm-modal':
|
|
2370
|
+
return import(
|
|
2371
|
+
/* webpackMode: "lazy" */
|
|
2372
|
+
'./wm-modal.entry.js').then(processMod, consoleError);
|
|
2373
|
+
case 'wm-navigator':
|
|
2374
|
+
return import(
|
|
2375
|
+
/* webpackMode: "lazy" */
|
|
2376
|
+
'./wm-navigator.entry.js').then(processMod, consoleError);
|
|
2377
|
+
case 'wm-pagination':
|
|
2378
|
+
return import(
|
|
2379
|
+
/* webpackMode: "lazy" */
|
|
2380
|
+
'./wm-pagination.entry.js').then(processMod, consoleError);
|
|
2381
|
+
case 'wm-search':
|
|
2382
|
+
return import(
|
|
2383
|
+
/* webpackMode: "lazy" */
|
|
2384
|
+
'./wm-search.entry.js').then(processMod, consoleError);
|
|
2385
|
+
case 'wm-snackbar':
|
|
2386
|
+
return import(
|
|
2387
|
+
/* webpackMode: "lazy" */
|
|
2388
|
+
'./wm-snackbar.entry.js').then(processMod, consoleError);
|
|
2389
|
+
case 'wm-timepicker':
|
|
2390
|
+
return import(
|
|
2391
|
+
/* webpackMode: "lazy" */
|
|
2392
|
+
'./wm-timepicker.entry.js').then(processMod, consoleError);
|
|
2393
|
+
case 'wm-toggletip':
|
|
2394
|
+
return import(
|
|
2395
|
+
/* webpackMode: "lazy" */
|
|
2396
|
+
'./wm-toggletip.entry.js').then(processMod, consoleError);
|
|
2397
|
+
case 'wm-tag-input':
|
|
2398
|
+
return import(
|
|
2399
|
+
/* webpackMode: "lazy" */
|
|
2400
|
+
'./wm-tag-input.entry.js').then(processMod, consoleError);
|
|
2401
|
+
case 'wm-tag-option':
|
|
2402
|
+
return import(
|
|
2403
|
+
/* webpackMode: "lazy" */
|
|
2404
|
+
'./wm-tag-option.entry.js').then(processMod, consoleError);
|
|
2405
|
+
case 'wm-uploader':
|
|
2406
|
+
return import(
|
|
2407
|
+
/* webpackMode: "lazy" */
|
|
2408
|
+
'./wm-uploader.entry.js').then(processMod, consoleError);
|
|
2409
|
+
case 'wm-wrapper':
|
|
2410
|
+
return import(
|
|
2411
|
+
/* webpackMode: "lazy" */
|
|
2412
|
+
'./wm-wrapper.entry.js').then(processMod, consoleError);
|
|
2413
|
+
case 'wm-action-menu_2':
|
|
2414
|
+
return import(
|
|
2415
|
+
/* webpackMode: "lazy" */
|
|
2416
|
+
'./wm-action-menu_2.entry.js').then(processMod, consoleError);
|
|
2417
|
+
case 'wm-option_2':
|
|
2418
|
+
return import(
|
|
2419
|
+
/* webpackMode: "lazy" */
|
|
2420
|
+
'./wm-option_2.entry.js').then(processMod, consoleError);
|
|
2421
|
+
case 'wm-navigation_3':
|
|
2422
|
+
return import(
|
|
2423
|
+
/* webpackMode: "lazy" */
|
|
2424
|
+
'./wm-navigation_3.entry.js').then(processMod, consoleError);
|
|
2425
|
+
case 'wm-progress-indicator_3':
|
|
2426
|
+
return import(
|
|
2427
|
+
/* webpackMode: "lazy" */
|
|
2428
|
+
'./wm-progress-indicator_3.entry.js').then(processMod, consoleError);
|
|
2429
|
+
case 'wm-tab-item_3':
|
|
2430
|
+
return import(
|
|
2431
|
+
/* webpackMode: "lazy" */
|
|
2432
|
+
'./wm-tab-item_3.entry.js').then(processMod, consoleError);
|
|
2433
|
+
case 'wm-chart-slice':
|
|
2434
|
+
return import(
|
|
2435
|
+
/* webpackMode: "lazy" */
|
|
2436
|
+
'./wm-chart-slice.entry.js').then(processMod, consoleError);
|
|
2437
|
+
case 'wm-line-chart':
|
|
2438
|
+
return import(
|
|
2439
|
+
/* webpackMode: "lazy" */
|
|
2440
|
+
'./wm-line-chart.entry.js').then(processMod, consoleError);
|
|
2441
|
+
case 'wm-modal-footer':
|
|
2442
|
+
return import(
|
|
2443
|
+
/* webpackMode: "lazy" */
|
|
2444
|
+
'./wm-modal-footer.entry.js').then(processMod, consoleError);
|
|
2445
|
+
case 'wm-modal-header':
|
|
2446
|
+
return import(
|
|
2447
|
+
/* webpackMode: "lazy" */
|
|
2448
|
+
'./wm-modal-header.entry.js').then(processMod, consoleError);
|
|
2449
|
+
case 'priv-datepicker':
|
|
2450
|
+
return import(
|
|
2451
|
+
/* webpackMode: "lazy" */
|
|
2452
|
+
'./priv-datepicker.entry.js').then(processMod, consoleError);
|
|
2453
|
+
case 'priv-navigator-button':
|
|
2454
|
+
return import(
|
|
2455
|
+
/* webpackMode: "lazy" */
|
|
2456
|
+
'./priv-navigator-button.entry.js').then(processMod, consoleError);
|
|
2457
|
+
case 'priv-navigator-item':
|
|
2458
|
+
return import(
|
|
2459
|
+
/* webpackMode: "lazy" */
|
|
2460
|
+
'./priv-navigator-item.entry.js').then(processMod, consoleError);
|
|
2461
|
+
case 'priv-chart-popover':
|
|
2462
|
+
return import(
|
|
2463
|
+
/* webpackMode: "lazy" */
|
|
2464
|
+
'./priv-chart-popover.entry.js').then(processMod, consoleError);
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2338
2467
|
return import(
|
|
2339
2468
|
/* @vite-ignore */
|
|
2340
2469
|
/* webpackInclude: /\.entry\.js$/ */
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as bootstrapLazy } from './index-f164fbca.js';
|
|
2
2
|
export { s as setNonce } from './index-f164fbca.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-4971d2c4.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/esm/ripple.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-f164fbca.js';
|
|
2
2
|
export { s as setNonce } from './index-f164fbca.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-4971d2c4.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v4.8.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -12,7 +12,7 @@ const Chart = class {
|
|
|
12
12
|
// @ts-ignore-- TS warns this is unused, but its needed in chartFunctions
|
|
13
13
|
this.slicesDetails = [];
|
|
14
14
|
this.handleStackedBarResize = debounce(async () => {
|
|
15
|
-
// if any value text overlaps with another, hide it and display warning
|
|
15
|
+
// if any value text overlaps with another, except zeroes, hide it and display warning
|
|
16
16
|
let hasHiddenBarValue = false;
|
|
17
17
|
const textEls = this.el.shadowRoot.querySelectorAll(".value");
|
|
18
18
|
if (textEls.length > 0) {
|
|
@@ -21,8 +21,8 @@ const Chart = class {
|
|
|
21
21
|
textEls.forEach((textEl) => {
|
|
22
22
|
textEl.classList.remove("hidden");
|
|
23
23
|
const currentValue = parseInt(textEl.dataset.value);
|
|
24
|
-
// only proceed if there are prevTextEls to check for overlap
|
|
25
|
-
if (prevTextEls.length > 0) {
|
|
24
|
+
// only proceed if there are prevTextEls to check for overlap, and current value is not 0
|
|
25
|
+
if (prevTextEls.length > 0 && currentValue != 0) {
|
|
26
26
|
const currentLeftEdge = textEl.getBoundingClientRect().left - margin;
|
|
27
27
|
// check for overlap with all prevTextEls & hide the smaller value if overlap occurs
|
|
28
28
|
prevTextEls.forEach((prevTextEl) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var version="4.7.0-10";function injectDefaultTheme(){var o="\n :root {\n /* Color Palette */\n --wmcolor-acidwashjeans: #9bb6d7;\n --wmcolor-asphalt: #353b48;\n --wmcolor-asphalt-light: #454b57;\n --wmcolor-blueberry: #667eed;\n --wmcolor-cement: #afadb1;\n --wmcolor-charcoal: #4a4a4a;\n --wmcolor-cowboyjeans: #18314E;\n --wmcolor-cyan: #19a1a9;\n --wmcolor-cyan-dark: #15868d;\n --wmcolor-cyan-darker: #116b71;\n --wmcolor-cyber: #ddf1f2;\n --wmcolor-dadjeans: #244974;\n --wmcolor-firetruck: #c0392b;\n --wmcolor-firetruck-dark: #9a2e22;\n --wmcolor-firetruck-darker: #73221a;\n --wmcolor-firetruck-light: #f6e1df;\n --wmcolor-forest: #088000;\n --wmcolor-forest-dark: #054d00;\n --wmcolor-forest-light: #daecd9;\n --wmcolor-gray: #6b6b6b;\n --wmcolor-gray-light: #A6A6A6;\n --wmcolor-lavender: #8B86CA;\n --wmcolor-linen: #E1E9F3;\n --wmcolor-meteorite: #454b57;\n --wmcolor-midnight: #2e1b46;\n --wmcolor-momjeans: #366dae;\n --wmcolor-orchid: #b36dcd;\n --wmcolor-palelilacgray: #e9e7ec;\n --wmcolor-palelilacgray-dark: #d2d0d4;\n --wmcolor-paleviolet: #eeedf7;\n --wmcolor-periwinkle: #575195;\n --wmcolor-periwinkle-dark: #464177;\n --wmcolor-salmon: #ff5f4e;\n --wmcolor-salmon-dark: #cc4c3e;\n --wmcolor-salmon-darker: #a33d32;\n --wmcolor-snow: #fafafa;\n --wmcolor-transparent: transparent;\n --wmcolor-white: #fff;\n --wmcolor-whitesmoke: #f4f4f4;\n\n /* Base Tokens */\n --wmcolor-background-dark-secondary: var(--wmcolor-meteorite);\n --wmcolor-background-dark: var(--wmcolor-asphalt);\n --wmcolor-background-disabled: var(--wmcolor-whitesmoke);\n --wmcolor-background-error: var(--wmcolor-firetruck-light);\n --wmcolor-background-highlight: var(--wmcolor-cyber);\n --wmcolor-background-positive: var(--wmcolor-forest-light);\n --wmcolor-background-readonly: var(--wmcolor-whitesmoke);\n --wmcolor-background-selected: var(--wmcolor-paleviolet);\n --wmcolor-background-transparent: var(--wmcolor-transparent);\n --wmcolor-background: var(--wmcolor-white);\n --wmcolor-border-dark: var(--wmcolor-charcoal);\n --wmcolor-border-error: var(--wmcolor-negative);\n --wmcolor-border-focus: var(--wmcolor-cyan);\n --wmcolor-border-light: var(--wmcolor-whitesmoke);\n --wmcolor-border: var(--wmcolor-palelilacgray-dark);\n --wmcolor-brand-dark: var(--wmcolor-midnight); \n --wmcolor-brand: var(--wmcolor-periwinkle);\n --wmcolor-card-background: var(--wmcolor-white);\n --wmcolor-icon: var(--wmcolor-charcoal);\n --wmcolor-icon-ondark: var(--wmcolor-text-ondark);\n --wmcolor-icon-accent: var(--wmcolor-gray);\n --wmcolor-interactive-background-focus: var(--wmcolor-palelilacgray);\n --wmcolor-interactive-background-hover: var(--wmcolor-whitesmoke);\n --wmcolor-interactive-delete-hover: var(--wmcolor-firetruck-dark);\n --wmcolor-interactive-delete: var(--wmcolor-firetruck);\n --wmcolor-interactive-disabled-ondark: var(--wmcolor-gray-light);\n --wmcolor-interactive-disabled: var(--wmcolor-gray);\n --wmcolor-interactive-focus-ondark: var(--wmcolor-interactive-focus); /* deprecated */\n --wmcolor-interactive-focus-textonly-ondark: var(--wmcolor-interactive-focus); /* deprecated */\n --wmcolor-interactive-focus-textonly: var(--wmcolor-interactive-focus); /* deprecated */\n --wmcolor-interactive-focus: var(--wmcolor-orchid);\n --wmcolor-interactive-hover-ondark: var(--wmcolor-palelilacgray);\n --wmcolor-interactive-hover: var(--wmcolor-periwinkle-dark);\n --wmcolor-interactive-negative-hover: var(--wmcolor-salmon-darker);\n --wmcolor-interactive-negative: var(--wmcolor-salmon-dark);\n --wmcolor-interactive-ondark: var(--wmcolor-white);\n --wmcolor-interactive-positive-hover: var(--wmcolor-cyan-darker);\n --wmcolor-interactive-positive: var(--wmcolor-cyan-dark);\n --wmcolor-interactive-text-disabled-ondark: var(--wmcolor-asphalt);\n --wmcolor-interactive-text-ondark: var(--wmcolor-brand);\n --wmcolor-interactive-text-selected: var(--wmcolor-interactive-text);\n --wmcolor-interactive-text: var(--wmcolor-white);\n --wmcolor-interactive: var(--wmcolor-brand);\n --wmcolor-link-text: var(--wmcolor-interactive);\n --wmcolor-negative: var(--wmcolor-firetruck);\n --wmcolor-option-background-focus: var(--wmcolor-palelilacgray); \n --wmcolor-option-background-hover: var(--wmcolor-interactive-background-hover);\n --wmcolor-option-background: var(--wmcolor-background);\n --wmcolor-option-background-selected: var(--wmcolor-background-selected);\n --wmcolor-option-border: var(--wmcolor-border-light);\n --wmcolor-option-text-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-option-text: var(--wmcolor-text);\n --wmcolor-overlay: rgba(25,25,25,0.4);\n --wmcolor-page-background: var(--wmcolor-snow);\n --wmcolor-positive-dark: var(--wmcolor-forest-dark);\n --wmcolor-positive: var(--wmcolor-forest);\n --wmcolor-progress: var(--wmcolor-cyan-dark);\n --wmcolor-table-altrow-background: var(--wmcolor-snow);\n --wmcolor-table-header-background: var(--wmcolor-palelilacgray);\n --wmcolor-table-row-background-selected: var(--wmcolor-background-highlight);\n --wmcolor-table-row-background: var(--wmcolor-white);\n --wmcolor-table-row-border-selected: var(--wmcolor-border-focus);\n --wmcolor-table-row-border: var(--wmcolor-border);\n --wmcolor-text-error: var(--wmcolor-negative);\n --wmcolor-text-negative: var(--wmcolor-firetruck);\n --wmcolor-text-ondark: var(--wmcolor-white);\n --wmcolor-text-positive: var(--wmcolor-positive);\n --wmcolor-text-required: var(--wmcolor-negative);\n --wmcolor-text: var(--wmcolor-charcoal);\n --wmcolor-tooltip-background: black; /* EXCEPTION */\n --wmcolor-tooltip-text: var(--wmcolor-text-ondark);\n\n /* Shared Tokens */\n --wmcolor-button-background-delete-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-background-delete-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-delete-hover: var(--wmcolor-interactive-delete-hover);\n --wmcolor-button-background-delete: var(--wmcolor-interactive-delete);\n --wmcolor-button-background-icononly-hover-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-icononly-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-icononly-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-icononly: var(--wmcolor-background);\n --wmcolor-button-background-navigational-hover-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-navigational-hover: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-navigational-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-navigational: var(--wmcolor-background-transparent);\n --wmcolor-button-background-negative-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-negative-hover: var(--wmcolor-interactive-negative-hover);\n --wmcolor-button-background-negative: var(--wmcolor-interactive-negative);\n --wmcolor-button-background-positive-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-positive-hover: var(--wmcolor-interactive-positive-hover);\n --wmcolor-button-background-positive: var(--wmcolor-interactive-positive);\n --wmcolor-button-background-primary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-background-primary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-primary-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-primary-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-primary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-primary: var(--wmcolor-interactive);\n --wmcolor-button-background-secondary-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-secondary-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-secondary-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-secondary: var(--wmcolor-background);\n --wmcolor-button-background-selector-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-selector-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-selector-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-selector: var(--wmcolor-background);\n --wmcolor-button-background-selectorprimary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-background-selectorprimary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-selectorprimary-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-selectorprimary-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-selectorprimary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-selectorprimary: var(--wmcolor-interactive);\n --wmcolor-button-border-icononly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-border-icononly-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-border-icononly-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-border-icononly: var(--wmcolor-interactive);\n --wmcolor-button-border-secondary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-border-secondary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-border-secondary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-border-secondary: var(--wmcolor-interactive);\n --wmcolor-button-border-selector-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-border-selector-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-border-selector-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-border-selector: var(--wmcolor-interactive);\n --wmcolor-button-icon-icononly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-icon-icononly-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-icon-icononly-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-icon-icononly-hover: var(--wmcolor-interactive-ondark);\n --wmcolor-button-icon-icononly-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-icon-icononly: var(--wmcolor-interactive);\n --wmcolor-button-icon-navigational-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-icon-navigational-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-icon-navigational-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-icon-navigational-hover: var(--wmcolor-interactive);\n --wmcolor-button-icon-navigational-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-icon-navigational: var(--wmcolor-interactive);\n --wmcolor-button-text-delete-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);\n --wmcolor-button-text-delete-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-delete: var(--wmcolor-interactive-text);\n --wmcolor-button-text-negative-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-negative: var(--wmcolor-interactive-text);\n --wmcolor-button-text-positive-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-positive: var(--wmcolor-interactive-text);\n --wmcolor-button-text-primary-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);\n --wmcolor-button-text-primary-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-primary-ondark: var(--wmcolor-interactive-text-ondark);\n --wmcolor-button-text-primary: var(--wmcolor-interactive-text);\n --wmcolor-button-text-secondary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-text-secondary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-text-secondary-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-text-secondary-hover: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-secondary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-secondary: var(--wmcolor-interactive);\n --wmcolor-button-text-selector-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-text-selector-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-text-selector-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-text-selector-hover: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-selector-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-selector: var(--wmcolor-interactive);\n --wmcolor-button-text-selectorprimary-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);\n --wmcolor-button-text-selectorprimary-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-selectorprimary-ondark: var(--wmcolor-interactive-text-ondark);\n --wmcolor-button-text-selectorprimary: var(--wmcolor-interactive-text);\n --wmcolor-button-text-textonly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-text-textonly-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-text-textonly-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-textonly: var(--wmcolor-interactive);\n --wmcolor-chart-gridline: var(--wmcolor-border);\n --wmcolor-chart-popover-background: var(--wmcolor-background);\n --wmcolor-input-background-disabled: var(--wmcolor-background-disabled);\n --wmcolor-input-background: var(--wmcolor-background);\n --wmcolor-input-border-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-input-border-error: var(--wmcolor-border-error);\n --wmcolor-input-border-focus: var(--wmcolor-border-focus);\n --wmcolor-input-border: var(--wmcolor-border-dark);\n --wmcolor-input-charcount-background: var(--wmcolor-background-readonly);\n --wmcolor-input-text-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-input-text: var(--wmcolor-text);\n --wmcolor-input-unit-background: var(--wmcolor-background-readonly);\n }\n ";var r=document.createElement("style");r.textContent=o;document.head.appendChild(r)}function injectNeutralTheme(){var o='\n :root[wm-theme="neutral"] {\n --wmcolor-brand: var(--wmcolor-momjeans);\n --wmcolor-brand-dark: var(--wmcolor-cowboyjeans);\n --wmcolor-interactive-focus: var(--wmcolor-blueberry);\n --wmcolor-interactive-hover: var(--wmcolor-dadjeans);\n --wmcolor-background-selected: var(--wmcolor-linen);\n }\n ';var r=document.createElement("style");r.textContent=o;document.head.appendChild(r)}if(window.navigator.plugins.length>0){console.log("Ripple component library",version)}function wmComponentKeys(o){if(o.key=="Tab"){var r=new Event("wmUserIsTabbing");window.dispatchEvent(r);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(o.key=="ArrowLeft"||o.key=="ArrowUp"||o.key=="ArrowRight"||o.key=="ArrowDown"){var r=new Event("wmUserIsKeying");window.dispatchEvent(r);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";document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);document.querySelector("body").appendChild(tooltipContainer);injectDefaultTheme();document.documentElement.getAttribute("wm-theme")=="neutral"&&injectNeutralTheme();
|
|
1
|
+
var version="4.7.0-11";function injectDefaultTheme(){var o="\n :root {\n /* Color Palette */\n --wmcolor-acidwashjeans: #9bb6d7;\n --wmcolor-asphalt: #353b48;\n --wmcolor-asphalt-light: #454b57;\n --wmcolor-blueberry: #667eed;\n --wmcolor-cement: #afadb1;\n --wmcolor-charcoal: #4a4a4a;\n --wmcolor-cowboyjeans: #18314E;\n --wmcolor-cyan: #19a1a9;\n --wmcolor-cyan-dark: #15868d;\n --wmcolor-cyan-darker: #116b71;\n --wmcolor-cyber: #ddf1f2;\n --wmcolor-dadjeans: #244974;\n --wmcolor-firetruck: #c0392b;\n --wmcolor-firetruck-dark: #9a2e22;\n --wmcolor-firetruck-darker: #73221a;\n --wmcolor-firetruck-light: #f6e1df;\n --wmcolor-forest: #088000;\n --wmcolor-forest-dark: #054d00;\n --wmcolor-forest-light: #daecd9;\n --wmcolor-gray: #6b6b6b;\n --wmcolor-gray-light: #A6A6A6;\n --wmcolor-lavender: #8B86CA;\n --wmcolor-linen: #E1E9F3;\n --wmcolor-meteorite: #454b57;\n --wmcolor-midnight: #2e1b46;\n --wmcolor-momjeans: #366dae;\n --wmcolor-orchid: #b36dcd;\n --wmcolor-palelilacgray: #e9e7ec;\n --wmcolor-palelilacgray-dark: #d2d0d4;\n --wmcolor-paleviolet: #eeedf7;\n --wmcolor-periwinkle: #575195;\n --wmcolor-periwinkle-dark: #464177;\n --wmcolor-salmon: #ff5f4e;\n --wmcolor-salmon-dark: #cc4c3e;\n --wmcolor-salmon-darker: #a33d32;\n --wmcolor-snow: #fafafa;\n --wmcolor-transparent: transparent;\n --wmcolor-white: #fff;\n --wmcolor-whitesmoke: #f4f4f4;\n\n /* Base Tokens */\n --wmcolor-background-dark-secondary: var(--wmcolor-meteorite);\n --wmcolor-background-dark: var(--wmcolor-asphalt);\n --wmcolor-background-disabled: var(--wmcolor-whitesmoke);\n --wmcolor-background-error: var(--wmcolor-firetruck-light);\n --wmcolor-background-highlight: var(--wmcolor-cyber);\n --wmcolor-background-positive: var(--wmcolor-forest-light);\n --wmcolor-background-readonly: var(--wmcolor-whitesmoke);\n --wmcolor-background-selected: var(--wmcolor-paleviolet);\n --wmcolor-background-transparent: var(--wmcolor-transparent);\n --wmcolor-background: var(--wmcolor-white);\n --wmcolor-border-dark: var(--wmcolor-charcoal);\n --wmcolor-border-error: var(--wmcolor-negative);\n --wmcolor-border-focus: var(--wmcolor-cyan);\n --wmcolor-border-light: var(--wmcolor-whitesmoke);\n --wmcolor-border: var(--wmcolor-palelilacgray-dark);\n --wmcolor-brand-dark: var(--wmcolor-midnight); \n --wmcolor-brand: var(--wmcolor-periwinkle);\n --wmcolor-card-background: var(--wmcolor-white);\n --wmcolor-icon: var(--wmcolor-charcoal);\n --wmcolor-icon-ondark: var(--wmcolor-text-ondark);\n --wmcolor-icon-accent: var(--wmcolor-gray);\n --wmcolor-interactive-background-focus: var(--wmcolor-palelilacgray);\n --wmcolor-interactive-background-hover: var(--wmcolor-whitesmoke);\n --wmcolor-interactive-delete-hover: var(--wmcolor-firetruck-dark);\n --wmcolor-interactive-delete: var(--wmcolor-firetruck);\n --wmcolor-interactive-disabled-ondark: var(--wmcolor-gray-light);\n --wmcolor-interactive-disabled: var(--wmcolor-gray);\n --wmcolor-interactive-focus-ondark: var(--wmcolor-interactive-focus); /* deprecated */\n --wmcolor-interactive-focus-textonly-ondark: var(--wmcolor-interactive-focus); /* deprecated */\n --wmcolor-interactive-focus-textonly: var(--wmcolor-interactive-focus); /* deprecated */\n --wmcolor-interactive-focus: var(--wmcolor-orchid);\n --wmcolor-interactive-hover-ondark: var(--wmcolor-palelilacgray);\n --wmcolor-interactive-hover: var(--wmcolor-periwinkle-dark);\n --wmcolor-interactive-negative-hover: var(--wmcolor-salmon-darker);\n --wmcolor-interactive-negative: var(--wmcolor-salmon-dark);\n --wmcolor-interactive-ondark: var(--wmcolor-white);\n --wmcolor-interactive-positive-hover: var(--wmcolor-cyan-darker);\n --wmcolor-interactive-positive: var(--wmcolor-cyan-dark);\n --wmcolor-interactive-text-disabled-ondark: var(--wmcolor-asphalt);\n --wmcolor-interactive-text-ondark: var(--wmcolor-brand);\n --wmcolor-interactive-text-selected: var(--wmcolor-interactive-text);\n --wmcolor-interactive-text: var(--wmcolor-white);\n --wmcolor-interactive: var(--wmcolor-brand);\n --wmcolor-link-text: var(--wmcolor-interactive);\n --wmcolor-negative: var(--wmcolor-firetruck);\n --wmcolor-option-background-focus: var(--wmcolor-palelilacgray); \n --wmcolor-option-background-hover: var(--wmcolor-interactive-background-hover);\n --wmcolor-option-background: var(--wmcolor-background);\n --wmcolor-option-background-selected: var(--wmcolor-background-selected);\n --wmcolor-option-border: var(--wmcolor-border-light);\n --wmcolor-option-text-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-option-text: var(--wmcolor-text);\n --wmcolor-overlay: rgba(25,25,25,0.4);\n --wmcolor-page-background: var(--wmcolor-snow);\n --wmcolor-positive-dark: var(--wmcolor-forest-dark);\n --wmcolor-positive: var(--wmcolor-forest);\n --wmcolor-progress: var(--wmcolor-cyan-dark);\n --wmcolor-table-altrow-background: var(--wmcolor-snow);\n --wmcolor-table-header-background: var(--wmcolor-palelilacgray);\n --wmcolor-table-row-background-selected: var(--wmcolor-background-highlight);\n --wmcolor-table-row-background: var(--wmcolor-white);\n --wmcolor-table-row-border-selected: var(--wmcolor-border-focus);\n --wmcolor-table-row-border: var(--wmcolor-border);\n --wmcolor-text-error: var(--wmcolor-negative);\n --wmcolor-text-negative: var(--wmcolor-firetruck);\n --wmcolor-text-ondark: var(--wmcolor-white);\n --wmcolor-text-positive: var(--wmcolor-positive);\n --wmcolor-text-required: var(--wmcolor-negative);\n --wmcolor-text: var(--wmcolor-charcoal);\n --wmcolor-tooltip-background: black; /* EXCEPTION */\n --wmcolor-tooltip-text: var(--wmcolor-text-ondark);\n\n /* Shared Tokens */\n --wmcolor-button-background-delete-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-background-delete-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-delete-hover: var(--wmcolor-interactive-delete-hover);\n --wmcolor-button-background-delete: var(--wmcolor-interactive-delete);\n --wmcolor-button-background-icononly-hover-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-icononly-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-icononly-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-icononly: var(--wmcolor-background);\n --wmcolor-button-background-navigational-hover-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-navigational-hover: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-navigational-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-navigational: var(--wmcolor-background-transparent);\n --wmcolor-button-background-negative-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-negative-hover: var(--wmcolor-interactive-negative-hover);\n --wmcolor-button-background-negative: var(--wmcolor-interactive-negative);\n --wmcolor-button-background-positive-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-positive-hover: var(--wmcolor-interactive-positive-hover);\n --wmcolor-button-background-positive: var(--wmcolor-interactive-positive);\n --wmcolor-button-background-primary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-background-primary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-primary-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-primary-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-primary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-primary: var(--wmcolor-interactive);\n --wmcolor-button-background-secondary-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-secondary-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-secondary-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-secondary: var(--wmcolor-background);\n --wmcolor-button-background-selector-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-selector-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-selector-ondark: var(--wmcolor-background-transparent);\n --wmcolor-button-background-selector: var(--wmcolor-background);\n --wmcolor-button-background-selectorprimary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-background-selectorprimary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-background-selectorprimary-hover-ondark: var(--wmcolor-interactive-hover-ondark);\n --wmcolor-button-background-selectorprimary-hover: var(--wmcolor-interactive-hover);\n --wmcolor-button-background-selectorprimary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-background-selectorprimary: var(--wmcolor-interactive);\n --wmcolor-button-border-icononly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-border-icononly-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-border-icononly-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-border-icononly: var(--wmcolor-interactive);\n --wmcolor-button-border-secondary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-border-secondary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-border-secondary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-border-secondary: var(--wmcolor-interactive);\n --wmcolor-button-border-selector-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-border-selector-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-border-selector-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-border-selector: var(--wmcolor-interactive);\n --wmcolor-button-icon-icononly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-icon-icononly-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-icon-icononly-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-icon-icononly-hover: var(--wmcolor-interactive-ondark);\n --wmcolor-button-icon-icononly-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-icon-icononly: var(--wmcolor-interactive);\n --wmcolor-button-icon-navigational-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-icon-navigational-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-icon-navigational-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-icon-navigational-hover: var(--wmcolor-interactive);\n --wmcolor-button-icon-navigational-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-icon-navigational: var(--wmcolor-interactive);\n --wmcolor-button-text-delete-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);\n --wmcolor-button-text-delete-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-delete: var(--wmcolor-interactive-text);\n --wmcolor-button-text-negative-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-negative: var(--wmcolor-interactive-text);\n --wmcolor-button-text-positive-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-positive: var(--wmcolor-interactive-text);\n --wmcolor-button-text-primary-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);\n --wmcolor-button-text-primary-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-primary-ondark: var(--wmcolor-interactive-text-ondark);\n --wmcolor-button-text-primary: var(--wmcolor-interactive-text);\n --wmcolor-button-text-secondary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-text-secondary-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-text-secondary-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-text-secondary-hover: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-secondary-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-secondary: var(--wmcolor-interactive);\n --wmcolor-button-text-selector-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-text-selector-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-text-selector-hover-ondark: var(--wmcolor-interactive);\n --wmcolor-button-text-selector-hover: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-selector-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-selector: var(--wmcolor-interactive);\n --wmcolor-button-text-selectorprimary-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);\n --wmcolor-button-text-selectorprimary-disabled: var(--wmcolor-interactive-text);\n --wmcolor-button-text-selectorprimary-ondark: var(--wmcolor-interactive-text-ondark);\n --wmcolor-button-text-selectorprimary: var(--wmcolor-interactive-text);\n --wmcolor-button-text-textonly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);\n --wmcolor-button-text-textonly-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-button-text-textonly-ondark: var(--wmcolor-interactive-ondark);\n --wmcolor-button-text-textonly: var(--wmcolor-interactive);\n --wmcolor-chart-gridline: var(--wmcolor-border);\n --wmcolor-chart-popover-background: var(--wmcolor-background);\n --wmcolor-input-background-disabled: var(--wmcolor-background-disabled);\n --wmcolor-input-background: var(--wmcolor-background);\n --wmcolor-input-border-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-input-border-error: var(--wmcolor-border-error);\n --wmcolor-input-border-focus: var(--wmcolor-border-focus);\n --wmcolor-input-border: var(--wmcolor-border-dark);\n --wmcolor-input-charcount-background: var(--wmcolor-background-readonly);\n --wmcolor-input-text-disabled: var(--wmcolor-interactive-disabled);\n --wmcolor-input-text: var(--wmcolor-text);\n --wmcolor-input-unit-background: var(--wmcolor-background-readonly);\n }\n ";var r=document.createElement("style");r.textContent=o;document.head.appendChild(r)}function injectNeutralTheme(){var o='\n :root[wm-theme="neutral"] {\n --wmcolor-brand: var(--wmcolor-momjeans);\n --wmcolor-brand-dark: var(--wmcolor-cowboyjeans);\n --wmcolor-interactive-focus: var(--wmcolor-blueberry);\n --wmcolor-interactive-hover: var(--wmcolor-dadjeans);\n --wmcolor-background-selected: var(--wmcolor-linen);\n }\n ';var r=document.createElement("style");r.textContent=o;document.head.appendChild(r)}if(window.navigator.plugins.length>0){console.log("Ripple component library",version)}function wmComponentKeys(o){if(o.key=="Tab"){var r=new Event("wmUserIsTabbing");window.dispatchEvent(r);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(o.key=="ArrowLeft"||o.key=="ArrowUp"||o.key=="ArrowRight"||o.key=="ArrowDown"){var r=new Event("wmUserIsKeying");window.dispatchEvent(r);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";document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);document.querySelector("body").appendChild(tooltipContainer);injectDefaultTheme();document.documentElement.getAttribute("wm-theme")=="neutral"&&injectNeutralTheme();
|