@watermarkinsights/ripple 5.22.0 → 5.22.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index-788526f5.js');
4
4
 
5
- const version = "5.22.0";
5
+ const version = "5.22.1-alpha.1";
6
6
 
7
7
  // PRINT RIPPLE VERSION IN CONSOLE
8
8
  // test envs return 0 for plugin.length
@@ -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-49be3826.js');
6
+ const appGlobals = require('./app-globals-79f7a9d2.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
@@ -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-49be3826.js');
6
+ const appGlobals = require('./app-globals-79f7a9d2.js');
7
7
 
8
8
  /*
9
9
  Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
@@ -192,7 +192,6 @@ const Select = class {
192
192
  //////////////////////////////////////
193
193
  // for multiselect button text
194
194
  this.overflowCount = 0;
195
- this.displayedOptions = [];
196
195
  this.previousDisplayedOptions = [];
197
196
  this.debouncedReposition = functions.debounce(() => {
198
197
  this.dropdownPosition();
@@ -456,18 +455,17 @@ const Select = class {
456
455
  this.announcement = message;
457
456
  }
458
457
  renderButtonText() {
459
- this.displayedOptions = this.childOptions.filter((x) => x.selected);
460
- if (this.multiple && this.displayedOptions.length < 1) {
461
- return index.h("span", null, this.placeholder);
462
- }
463
- else if (this.multiple && this.allSelected && this.overflowCount > 0) {
464
- return this.allSelectedMessage;
458
+ if (!this.multiple) {
459
+ const selEl = this.childOptions.filter((x) => x.selected)[0] || this.childOptions[0];
460
+ return selEl.textContent;
465
461
  }
466
462
  else {
467
- // handle overflow + counter for multiselect
468
- // only bother if things have changed
469
- const hasChanged = this.displayedOptions !== this.previousDisplayedOptions;
470
- if (this.multiple && hasChanged) {
463
+ const displayedOptions = this.childOptions.filter((x) => x.selected);
464
+ if (displayedOptions.length < 1 || !this.buttonEl) {
465
+ return this.placeholder;
466
+ }
467
+ else if (displayedOptions !== this.previousDisplayedOptions) {
468
+ // handle overflow + counter for multiselect
471
469
  // this is a fixed measurement accounting for the max width of a 3 character overflow counter
472
470
  const overflowCounterWidth = 38;
473
471
  const computedStyle = window.getComputedStyle(this.buttonEl);
@@ -476,34 +474,42 @@ const Select = class {
476
474
  const paddingRight = parseInt(computedStyle.getPropertyValue("padding-right").slice(0, -2));
477
475
  const availableSpace = this.buttonEl.clientWidth - paddingLeft - paddingRight - overflowCounterWidth;
478
476
  this.overflowCount = 0;
479
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
477
+ this.measurementAreaEl.textContent = displayedOptions.map((x) => x.textContent).join(", ");
480
478
  let optionsTotalWidth = this.measurementAreaEl.clientWidth;
481
- while (optionsTotalWidth > availableSpace && this.displayedOptions.length > 1) {
479
+ while (optionsTotalWidth > availableSpace && displayedOptions.length > 1) {
482
480
  this.overflowCount++;
483
- this.displayedOptions.pop();
484
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
481
+ displayedOptions.pop();
482
+ this.measurementAreaEl.textContent = displayedOptions.map((x) => x.textContent).join(", ");
485
483
  optionsTotalWidth = this.measurementAreaEl.clientWidth;
486
484
  }
487
- this.previousDisplayedOptions = this.displayedOptions;
485
+ if (this.overflowCount > 0 && this.allSelected) {
486
+ this.overflowCount = 0;
487
+ this.buttonText = this.allSelectedMessage;
488
+ }
489
+ else {
490
+ const options = displayedOptions.map((x) => x.textContent);
491
+ this.buttonText = options.join(", ");
492
+ }
488
493
  }
489
- return this.displayedOptions.map((x, idx) => (index.h("span", null, idx > 0 ? ", " : "", x.textContent)));
494
+ this.previousDisplayedOptions = displayedOptions;
495
+ return this.buttonText;
490
496
  }
491
497
  }
492
498
  renderOverflowCount() {
493
- if (this.overflowCount > 0 && !this.allSelected) {
499
+ if (this.overflowCount > 0) {
494
500
  return (index.h("span", null, index.h("span", { class: "overflow-counter" }, "+", this.overflowCount)));
495
501
  }
496
502
  }
497
503
  render() {
498
504
  const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
499
- return (index.h(index.Host, { key: '7fb824eaafac8e737e8bafb76e6bbac60cf652d1', onBlur: (ev) => this.handleComponentBlur(ev) }, index.h("div", { key: '19cf9096a6dd9e534aa35e1aa2ad318cc71f0a17', class: `wrapper ${functions.getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, index.h("div", { key: 'b0c98aeb4a346745064fbbf214fb6647b2a9f32b', class: "label-wrapper" }, index.h("label", { key: 'fc1fde9175b1e661a6f08a0fcc35aa06a405bca9', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => functions.hideTooltip() }, this.label),
505
+ return (index.h(index.Host, { key: 'bc6b5779d135ee85ac26135db1dec315c5215528', onBlur: (ev) => this.handleComponentBlur(ev) }, index.h("div", { key: '04972b23f7ed431a32c063baa758ae4808a25bd6', class: `wrapper ${functions.getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, index.h("div", { key: '0ae21574a07043cec330e285780793f71eefc5f4', class: "label-wrapper" }, index.h("label", { key: '40441ea004700c31f053b3acda872f645f230fce', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => functions.hideTooltip() }, this.label),
500
506
  // we can't use aria-required because the listbox is in a sub-component and it is not announced
501
- this.requiredField && (index.h("span", { key: '2a322ba30403a27e5f4be402143d5ccc1c5ed134', class: "required" }, index.h("span", { key: '3461e69bc5773cc2d635aa16b739580314a2bfe6', class: "sr-only" }, intl.globalMessages.requiredField), index.h("span", { key: '435cd8abf9909ac43455c150c1e8ab7b7c3ee014', "aria-hidden": "true" }, "*")))), index.h("div", { key: '247e8b19ad5fb48e4f1152e67780218b201c9064', class: "button-wrapper" }, index.h("button", { key: 'a69404e36e8bbafa5bbd7c9f1c6e381571ce6240', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, index.h("span", { key: 'da21f5b17347388d719c32f49ffb06878fa5102b', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, index.h("span", { key: 'c65e84dbf79866af02242917a91146cb85cda6e6', class: "button-text" }, this.renderButtonText()), showSubinfo && index.h("span", { key: 'f57f44de3f21a331b7e996a823a4d88b53835eb0', class: "subinfo" }, this.selectedOptions[0].subinfo)), index.h("div", { key: '44a7fade429711e38e95abca8d165c1d1cf0ff6c', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), index.h("div", { key: '07ad0b8a3e260c58b1291e64d3db2498cb0e503e', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), index.h("div", { key: '745291f917c50256155e3a208791417467b25f88',
507
+ this.requiredField && (index.h("span", { key: '0b99e99a08fd3485410d0e3c090e0891a512fbbb', class: "required" }, index.h("span", { key: 'd3ded58a7af2f56a2503b4b917a093227d3f6a62', class: "sr-only" }, intl.globalMessages.requiredField), index.h("span", { key: '1df99df44c720bd55680ef4095f86d4086ba647d', "aria-hidden": "true" }, "*")))), index.h("div", { key: '89e5d9e6f49b6efa643a12d8a549a1cd7dcc30ae', class: "button-wrapper" }, index.h("button", { key: '62bbb0b5d0f48ee9c8781c4111771c706de98911', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, index.h("span", { key: 'd4a379d3d55c723002c8888ced7fc5f649b7f2d4', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, index.h("span", { key: 'a78e8de746a5d2426dd3087f673824dcb1fb6721', class: "button-text" }, this.renderButtonText()), showSubinfo && index.h("span", { key: '022bc660550f5ef438c8759794048c8ca19b06f0', class: "subinfo" }, this.selectedOptions[0].subinfo)), index.h("div", { key: 'b905b24bcc991e65403bd65bdc44cebf5a52aa1f', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), index.h("div", { key: '79e4a3eec74c1172fd5e0f8e3531ef0d9c44eb8d', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), index.h("div", { key: '46fad81e29ca84e822a419958f2740fd7ebd99cd',
502
508
  // is-open is for the CSS transition in modern browsers
503
509
  // hidden is to wait for position calculations in Firefox
504
510
  class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
505
511
  // @ts-ignore -- don't tell typescript but we're in the future
506
- onToggle: (ev) => this.handleToggle(ev) }, index.h("priv-option-list", { key: '185863f82957568eef29a5180afcd0973c5616ad', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
512
+ onToggle: (ev) => this.handleToggle(ev) }, index.h("priv-option-list", { key: '5475546ad4edb9c4305f74152d054a597cdc1b45', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
507
513
  this.dropdownEl.hidePopover();
508
514
  }, onOptionListAllSelected: () => {
509
515
  this.returnFocus = true;
@@ -511,7 +517,7 @@ const Select = class {
511
517
  }, onOptionListAllDeselected: () => {
512
518
  this.returnFocus = true;
513
519
  this.wmSelectAllDeselected.emit();
514
- } }, index.h("slot", { key: '580139ee9425c0fe550c793aceddc85b2c4ff472' }))), index.h("div", { key: '5a99e8a6087b883dba4f97b9ee2a77ed65ea900f', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), index.h("div", { key: '01137653e4eeb06386250a901c5663cafd679d08', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
520
+ } }, index.h("slot", { key: '7d0d307486c90978da2fd14bd01929ce0855e5fe' }))), index.h("div", { key: 'd2a55f3f3742a9afc92c381c5b1c3bee5cb2af03', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), index.h("div", { key: '44890a594f035751419c893eba60619a528f4ea2', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
515
521
  }
516
522
  static get delegatesFocus() { return true; }
517
523
  get el() { return index.getElement(this); }
@@ -10,7 +10,6 @@ export class Select {
10
10
  //////////////////////////////////////
11
11
  // for multiselect button text
12
12
  this.overflowCount = 0;
13
- this.displayedOptions = [];
14
13
  this.previousDisplayedOptions = [];
15
14
  this.debouncedReposition = debounce(() => {
16
15
  this.dropdownPosition();
@@ -274,18 +273,17 @@ export class Select {
274
273
  this.announcement = message;
275
274
  }
276
275
  renderButtonText() {
277
- this.displayedOptions = this.childOptions.filter((x) => x.selected);
278
- if (this.multiple && this.displayedOptions.length < 1) {
279
- return h("span", null, this.placeholder);
280
- }
281
- else if (this.multiple && this.allSelected && this.overflowCount > 0) {
282
- return this.allSelectedMessage;
276
+ if (!this.multiple) {
277
+ const selEl = this.childOptions.filter((x) => x.selected)[0] || this.childOptions[0];
278
+ return selEl.textContent;
283
279
  }
284
280
  else {
285
- // handle overflow + counter for multiselect
286
- // only bother if things have changed
287
- const hasChanged = this.displayedOptions !== this.previousDisplayedOptions;
288
- if (this.multiple && hasChanged) {
281
+ const displayedOptions = this.childOptions.filter((x) => x.selected);
282
+ if (displayedOptions.length < 1 || !this.buttonEl) {
283
+ return this.placeholder;
284
+ }
285
+ else if (displayedOptions !== this.previousDisplayedOptions) {
286
+ // handle overflow + counter for multiselect
289
287
  // this is a fixed measurement accounting for the max width of a 3 character overflow counter
290
288
  const overflowCounterWidth = 38;
291
289
  const computedStyle = window.getComputedStyle(this.buttonEl);
@@ -294,34 +292,42 @@ export class Select {
294
292
  const paddingRight = parseInt(computedStyle.getPropertyValue("padding-right").slice(0, -2));
295
293
  const availableSpace = this.buttonEl.clientWidth - paddingLeft - paddingRight - overflowCounterWidth;
296
294
  this.overflowCount = 0;
297
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
295
+ this.measurementAreaEl.textContent = displayedOptions.map((x) => x.textContent).join(", ");
298
296
  let optionsTotalWidth = this.measurementAreaEl.clientWidth;
299
- while (optionsTotalWidth > availableSpace && this.displayedOptions.length > 1) {
297
+ while (optionsTotalWidth > availableSpace && displayedOptions.length > 1) {
300
298
  this.overflowCount++;
301
- this.displayedOptions.pop();
302
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
299
+ displayedOptions.pop();
300
+ this.measurementAreaEl.textContent = displayedOptions.map((x) => x.textContent).join(", ");
303
301
  optionsTotalWidth = this.measurementAreaEl.clientWidth;
304
302
  }
305
- this.previousDisplayedOptions = this.displayedOptions;
303
+ if (this.overflowCount > 0 && this.allSelected) {
304
+ this.overflowCount = 0;
305
+ this.buttonText = this.allSelectedMessage;
306
+ }
307
+ else {
308
+ const options = displayedOptions.map((x) => x.textContent);
309
+ this.buttonText = options.join(", ");
310
+ }
306
311
  }
307
- return this.displayedOptions.map((x, idx) => (h("span", null, idx > 0 ? ", " : "", x.textContent)));
312
+ this.previousDisplayedOptions = displayedOptions;
313
+ return this.buttonText;
308
314
  }
309
315
  }
310
316
  renderOverflowCount() {
311
- if (this.overflowCount > 0 && !this.allSelected) {
317
+ if (this.overflowCount > 0) {
312
318
  return (h("span", null, h("span", { class: "overflow-counter" }, "+", this.overflowCount)));
313
319
  }
314
320
  }
315
321
  render() {
316
322
  const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
317
- return (h(Host, { key: '7fb824eaafac8e737e8bafb76e6bbac60cf652d1', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '19cf9096a6dd9e534aa35e1aa2ad318cc71f0a17', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'b0c98aeb4a346745064fbbf214fb6647b2a9f32b', class: "label-wrapper" }, h("label", { key: 'fc1fde9175b1e661a6f08a0fcc35aa06a405bca9', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
323
+ return (h(Host, { key: 'bc6b5779d135ee85ac26135db1dec315c5215528', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '04972b23f7ed431a32c063baa758ae4808a25bd6', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '0ae21574a07043cec330e285780793f71eefc5f4', class: "label-wrapper" }, h("label", { key: '40441ea004700c31f053b3acda872f645f230fce', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
318
324
  // we can't use aria-required because the listbox is in a sub-component and it is not announced
319
- this.requiredField && (h("span", { key: '2a322ba30403a27e5f4be402143d5ccc1c5ed134', class: "required" }, h("span", { key: '3461e69bc5773cc2d635aa16b739580314a2bfe6', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '435cd8abf9909ac43455c150c1e8ab7b7c3ee014', "aria-hidden": "true" }, "*")))), h("div", { key: '247e8b19ad5fb48e4f1152e67780218b201c9064', class: "button-wrapper" }, h("button", { key: 'a69404e36e8bbafa5bbd7c9f1c6e381571ce6240', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'da21f5b17347388d719c32f49ffb06878fa5102b', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'c65e84dbf79866af02242917a91146cb85cda6e6', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: 'f57f44de3f21a331b7e996a823a4d88b53835eb0', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '44a7fade429711e38e95abca8d165c1d1cf0ff6c', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '07ad0b8a3e260c58b1291e64d3db2498cb0e503e', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '745291f917c50256155e3a208791417467b25f88',
325
+ this.requiredField && (h("span", { key: '0b99e99a08fd3485410d0e3c090e0891a512fbbb', class: "required" }, h("span", { key: 'd3ded58a7af2f56a2503b4b917a093227d3f6a62', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '1df99df44c720bd55680ef4095f86d4086ba647d', "aria-hidden": "true" }, "*")))), h("div", { key: '89e5d9e6f49b6efa643a12d8a549a1cd7dcc30ae', class: "button-wrapper" }, h("button", { key: '62bbb0b5d0f48ee9c8781c4111771c706de98911', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'd4a379d3d55c723002c8888ced7fc5f649b7f2d4', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'a78e8de746a5d2426dd3087f673824dcb1fb6721', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: '022bc660550f5ef438c8759794048c8ca19b06f0', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: 'b905b24bcc991e65403bd65bdc44cebf5a52aa1f', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '79e4a3eec74c1172fd5e0f8e3531ef0d9c44eb8d', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '46fad81e29ca84e822a419958f2740fd7ebd99cd',
320
326
  // is-open is for the CSS transition in modern browsers
321
327
  // hidden is to wait for position calculations in Firefox
322
328
  class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
323
329
  // @ts-ignore -- don't tell typescript but we're in the future
324
- onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '185863f82957568eef29a5180afcd0973c5616ad', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
330
+ onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '5475546ad4edb9c4305f74152d054a597cdc1b45', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
325
331
  this.dropdownEl.hidePopover();
326
332
  }, onOptionListAllSelected: () => {
327
333
  this.returnFocus = true;
@@ -329,7 +335,7 @@ export class Select {
329
335
  }, onOptionListAllDeselected: () => {
330
336
  this.returnFocus = true;
331
337
  this.wmSelectAllDeselected.emit();
332
- } }, h("slot", { key: '580139ee9425c0fe550c793aceddc85b2c4ff472' }))), h("div", { key: '5a99e8a6087b883dba4f97b9ee2a77ed65ea900f', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '01137653e4eeb06386250a901c5663cafd679d08', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
338
+ } }, h("slot", { key: '7d0d307486c90978da2fd14bd01929ce0855e5fe' }))), h("div", { key: 'd2a55f3f3742a9afc92c381c5b1c3bee5cb2af03', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '44890a594f035751419c893eba60619a528f4ea2', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
333
339
  }
334
340
  static get is() { return "wm-select"; }
335
341
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  import './index-130e07bb.js';
2
2
 
3
- const version = "5.22.0";
3
+ const version = "5.22.1-alpha.1";
4
4
 
5
5
  // PRINT RIPPLE VERSION IN CONSOLE
6
6
  // test envs return 0 for plugin.length
@@ -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-fec6fcef.js';
3
+ import { g as globalScripts } from './app-globals-92ac4d9e.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
@@ -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-fec6fcef.js';
3
+ import { g as globalScripts } from './app-globals-92ac4d9e.js';
4
4
 
5
5
  /*
6
6
  Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
@@ -188,7 +188,6 @@ const Select = class {
188
188
  //////////////////////////////////////
189
189
  // for multiselect button text
190
190
  this.overflowCount = 0;
191
- this.displayedOptions = [];
192
191
  this.previousDisplayedOptions = [];
193
192
  this.debouncedReposition = debounce(() => {
194
193
  this.dropdownPosition();
@@ -452,18 +451,17 @@ const Select = class {
452
451
  this.announcement = message;
453
452
  }
454
453
  renderButtonText() {
455
- this.displayedOptions = this.childOptions.filter((x) => x.selected);
456
- if (this.multiple && this.displayedOptions.length < 1) {
457
- return h("span", null, this.placeholder);
458
- }
459
- else if (this.multiple && this.allSelected && this.overflowCount > 0) {
460
- return this.allSelectedMessage;
454
+ if (!this.multiple) {
455
+ const selEl = this.childOptions.filter((x) => x.selected)[0] || this.childOptions[0];
456
+ return selEl.textContent;
461
457
  }
462
458
  else {
463
- // handle overflow + counter for multiselect
464
- // only bother if things have changed
465
- const hasChanged = this.displayedOptions !== this.previousDisplayedOptions;
466
- if (this.multiple && hasChanged) {
459
+ const displayedOptions = this.childOptions.filter((x) => x.selected);
460
+ if (displayedOptions.length < 1 || !this.buttonEl) {
461
+ return this.placeholder;
462
+ }
463
+ else if (displayedOptions !== this.previousDisplayedOptions) {
464
+ // handle overflow + counter for multiselect
467
465
  // this is a fixed measurement accounting for the max width of a 3 character overflow counter
468
466
  const overflowCounterWidth = 38;
469
467
  const computedStyle = window.getComputedStyle(this.buttonEl);
@@ -472,34 +470,42 @@ const Select = class {
472
470
  const paddingRight = parseInt(computedStyle.getPropertyValue("padding-right").slice(0, -2));
473
471
  const availableSpace = this.buttonEl.clientWidth - paddingLeft - paddingRight - overflowCounterWidth;
474
472
  this.overflowCount = 0;
475
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
473
+ this.measurementAreaEl.textContent = displayedOptions.map((x) => x.textContent).join(", ");
476
474
  let optionsTotalWidth = this.measurementAreaEl.clientWidth;
477
- while (optionsTotalWidth > availableSpace && this.displayedOptions.length > 1) {
475
+ while (optionsTotalWidth > availableSpace && displayedOptions.length > 1) {
478
476
  this.overflowCount++;
479
- this.displayedOptions.pop();
480
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
477
+ displayedOptions.pop();
478
+ this.measurementAreaEl.textContent = displayedOptions.map((x) => x.textContent).join(", ");
481
479
  optionsTotalWidth = this.measurementAreaEl.clientWidth;
482
480
  }
483
- this.previousDisplayedOptions = this.displayedOptions;
481
+ if (this.overflowCount > 0 && this.allSelected) {
482
+ this.overflowCount = 0;
483
+ this.buttonText = this.allSelectedMessage;
484
+ }
485
+ else {
486
+ const options = displayedOptions.map((x) => x.textContent);
487
+ this.buttonText = options.join(", ");
488
+ }
484
489
  }
485
- return this.displayedOptions.map((x, idx) => (h("span", null, idx > 0 ? ", " : "", x.textContent)));
490
+ this.previousDisplayedOptions = displayedOptions;
491
+ return this.buttonText;
486
492
  }
487
493
  }
488
494
  renderOverflowCount() {
489
- if (this.overflowCount > 0 && !this.allSelected) {
495
+ if (this.overflowCount > 0) {
490
496
  return (h("span", null, h("span", { class: "overflow-counter" }, "+", this.overflowCount)));
491
497
  }
492
498
  }
493
499
  render() {
494
500
  const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
495
- return (h(Host, { key: '7fb824eaafac8e737e8bafb76e6bbac60cf652d1', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '19cf9096a6dd9e534aa35e1aa2ad318cc71f0a17', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'b0c98aeb4a346745064fbbf214fb6647b2a9f32b', class: "label-wrapper" }, h("label", { key: 'fc1fde9175b1e661a6f08a0fcc35aa06a405bca9', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
501
+ return (h(Host, { key: 'bc6b5779d135ee85ac26135db1dec315c5215528', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '04972b23f7ed431a32c063baa758ae4808a25bd6', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '0ae21574a07043cec330e285780793f71eefc5f4', class: "label-wrapper" }, h("label", { key: '40441ea004700c31f053b3acda872f645f230fce', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
496
502
  // we can't use aria-required because the listbox is in a sub-component and it is not announced
497
- this.requiredField && (h("span", { key: '2a322ba30403a27e5f4be402143d5ccc1c5ed134', class: "required" }, h("span", { key: '3461e69bc5773cc2d635aa16b739580314a2bfe6', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '435cd8abf9909ac43455c150c1e8ab7b7c3ee014', "aria-hidden": "true" }, "*")))), h("div", { key: '247e8b19ad5fb48e4f1152e67780218b201c9064', class: "button-wrapper" }, h("button", { key: 'a69404e36e8bbafa5bbd7c9f1c6e381571ce6240', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'da21f5b17347388d719c32f49ffb06878fa5102b', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'c65e84dbf79866af02242917a91146cb85cda6e6', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: 'f57f44de3f21a331b7e996a823a4d88b53835eb0', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '44a7fade429711e38e95abca8d165c1d1cf0ff6c', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '07ad0b8a3e260c58b1291e64d3db2498cb0e503e', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '745291f917c50256155e3a208791417467b25f88',
503
+ this.requiredField && (h("span", { key: '0b99e99a08fd3485410d0e3c090e0891a512fbbb', class: "required" }, h("span", { key: 'd3ded58a7af2f56a2503b4b917a093227d3f6a62', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '1df99df44c720bd55680ef4095f86d4086ba647d', "aria-hidden": "true" }, "*")))), h("div", { key: '89e5d9e6f49b6efa643a12d8a549a1cd7dcc30ae', class: "button-wrapper" }, h("button", { key: '62bbb0b5d0f48ee9c8781c4111771c706de98911', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'd4a379d3d55c723002c8888ced7fc5f649b7f2d4', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'a78e8de746a5d2426dd3087f673824dcb1fb6721', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: '022bc660550f5ef438c8759794048c8ca19b06f0', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: 'b905b24bcc991e65403bd65bdc44cebf5a52aa1f', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '79e4a3eec74c1172fd5e0f8e3531ef0d9c44eb8d', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '46fad81e29ca84e822a419958f2740fd7ebd99cd',
498
504
  // is-open is for the CSS transition in modern browsers
499
505
  // hidden is to wait for position calculations in Firefox
500
506
  class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
501
507
  // @ts-ignore -- don't tell typescript but we're in the future
502
- onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '185863f82957568eef29a5180afcd0973c5616ad', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
508
+ onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '5475546ad4edb9c4305f74152d054a597cdc1b45', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
503
509
  this.dropdownEl.hidePopover();
504
510
  }, onOptionListAllSelected: () => {
505
511
  this.returnFocus = true;
@@ -507,7 +513,7 @@ const Select = class {
507
513
  }, onOptionListAllDeselected: () => {
508
514
  this.returnFocus = true;
509
515
  this.wmSelectAllDeselected.emit();
510
- } }, h("slot", { key: '580139ee9425c0fe550c793aceddc85b2c4ff472' }))), h("div", { key: '5a99e8a6087b883dba4f97b9ee2a77ed65ea900f', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '01137653e4eeb06386250a901c5663cafd679d08', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
516
+ } }, h("slot", { key: '7d0d307486c90978da2fd14bd01929ce0855e5fe' }))), h("div", { key: 'd2a55f3f3742a9afc92c381c5b1c3bee5cb2af03', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '44890a594f035751419c893eba60619a528f4ea2', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
511
517
  }
512
518
  static get delegatesFocus() { return true; }
513
519
  get el() { return getElement(this); }
@@ -0,0 +1 @@
1
+ import"./index-130e07bb.js";var version="5.22.1-alpha.1";if(window.navigator.plugins.length>0){console.log("%cRipple component library %c%s","color: #575195; font-weight: bold","font-weight: bold",version)}function wmComponentKeys(n){if(n.key=="Tab"){var o=new Event("wmUserIsTabbing");window.dispatchEvent(o);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(n.key=="ArrowLeft"||n.key=="ArrowUp"||n.key=="ArrowRight"||n.key=="ArrowDown"){var o=new Event("wmUserIsKeying");window.dispatchEvent(o);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function wmComponentMouseDownOnce(){var n=new Event("wmUserIsNotTabbing");window.dispatchEvent(n);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);document.addEventListener("DOMContentLoaded",(function(){var n=document.createElement("div");n.id="wm-tooltip-container";var o=document.createElement("div");o.id="wm-tooltip";o.classList.add("wm-tooltip");o.setAttribute("popover","manual");o.setAttribute("aria-hidden","true");var t=document.createElement("style");t.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(t);n.appendChild(o);document.querySelector("body").appendChild(n)}));var globalFn=function(){};var globalScripts=globalFn;export{globalScripts as g};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,a,t,i){function n(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(i.next(e))}catch(e){l(e)}}function r(e){try{d(i["throw"](e))}catch(e){l(e)}}function d(e){e.done?t(e.value):n(e.value).then(o,r)}d((i=i.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:[]},i,n,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(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(t=0)),t)try{if(i=1,n&&(l=r[0]&2?n["return"]:r[0]?n["throw"]||((l=n["return"])&&l.call(n),0):n.next)&&!(l=l.call(n,r[1])).done)return l;if(n=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++;n=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];n=0}finally{i=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-fec6fcef.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"],"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-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"],"lineData":[513,"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"],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"intervalSkip":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"],"intervalSkip":["handleIntervalSkip"]}]]],["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",{"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"],"focusFirstFocusable":[64],"focusLastFocusable":[64],"focusCell":[64]},[[0,"keydown","handleKey"]],{"focusDate":["handleFocusDate"]}]]],["priv-chart-popover",[[0,"priv-chart-popover",{"open":[1028],"sliceDetails":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]]]'),a)]}}))}))};export{defineCustomElements};
1
+ var __awaiter=this&&this.__awaiter||function(e,a,t,i){function n(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(i.next(e))}catch(e){l(e)}}function r(e){try{d(i["throw"](e))}catch(e){l(e)}}function d(e){e.done?t(e.value):n(e.value).then(o,r)}d((i=i.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:[]},i,n,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(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(t=0)),t)try{if(i=1,n&&(l=r[0]&2?n["return"]:r[0]?n["throw"]||((l=n["return"])&&l.call(n),0):n.next)&&!(l=l.call(n,r[1])).done)return l;if(n=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++;n=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];n=0}finally{i=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-92ac4d9e.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"],"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-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"],"lineData":[513,"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"],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"intervalSkip":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"],"intervalSkip":["handleIntervalSkip"]}]]],["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",{"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"],"focusFirstFocusable":[64],"focusLastFocusable":[64],"focusCell":[64]},[[0,"keydown","handleKey"]],{"focusDate":["handleFocusDate"]}]]],["priv-chart-popover",[[0,"priv-chart-popover",{"open":[1028],"sliceDetails":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]]]'),a)]}}))}))};export{defineCustomElements};