@watermarkinsights/ripple 4.0.0-14 → 4.0.0-15
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-ebdb8dcf.js → global-7210956f.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-option_2.cjs.entry.js +2 -14
- package/dist/collection/components/wm-file/wm-file.js +1 -1
- package/dist/collection/components/wm-select/wm-select.e2e.js +51 -114
- package/dist/collection/components/wm-select/wm-select.js +2 -14
- package/dist/collection/components/wm-select/wm-select.spec.js +9 -11
- package/dist/esm/{global-cc33879f.js → global-ef134574.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-option_2.entry.js +2 -14
- package/dist/esm-es5/{global-cc33879f.js → global-ef134574.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/ripple/{p-c9768a4c.system.entry.js → p-26571f70.system.entry.js} +1 -1
- package/dist/ripple/{p-261c0928.js → p-4a3fb7b9.js} +1 -1
- package/dist/ripple/p-5cb7b4e5.entry.js +1 -0
- package/dist/ripple/p-694d88d4.system.js +1 -0
- package/dist/ripple/{p-3f3eb07e.system.js → p-945e1884.system.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-select/wm-select.d.ts +0 -1
- package/package.json +1 -1
- package/dist/ripple/p-58a0e019.system.js +0 -1
- package/dist/ripple/p-c4fa94ab.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-670c5d2a.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-7210956f.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Esm v3.4.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -15,7 +15,7 @@ const patchEsm = () => {
|
|
|
15
15
|
const defineCustomElements = (win, options) => {
|
|
16
16
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
17
17
|
return patchEsm().then(() => {
|
|
18
|
-
return index.bootstrapLazy(JSON.parse("[[\"wm-file.cjs\",[[17,\"wm-file\",{\"name\":[1],\"type\":[1],\"fileActions\":[1,\"file-actions\"],\"lastUpdated\":[1,\"last-updated\"],\"progress\":[514],\"size\":[1],\"errorMessage\":[1,\"error-message\"],\"showInfo\":[1,\"show-info\"],\"isCondensed\":[32]}]]],[\"wm-tab-item_3.cjs\",[[17,\"wm-tab-list\",{\"customBackground\":[1,\"custom-background\"],\"customPadding\":[1,\"custom-padding\"],\"selectedTab\":[1,\"selected-tab\"]},[[0,\"tabItemLoaded\",\"tabItemLoaded\"],[0,\"keydownOnTabItem\",\"handleKeydown\"],[9,\"resize\",\"setLayout\"]]],[17,\"wm-tab-item\",{\"selected\":[4],\"show\":[4],\"tabId\":[1,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]],[0,\"wm-tab-panel\",{\"active\":[1028],\"tabId\":[1025,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]]]],[\"wm-navigator.cjs\",[[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],\"isTabbing\":[32],\"itemIndexToFocus\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeys\"],[0,\"keydownOnNavItem\",\"handleKeydown\"],[4,\"click\",\"handleClick\"],[0,\"buttonActivated\",\"handleButtonClick\"]]]]],[\"wm-navigation_3.cjs\",[[17,\"wm-navigation\",{\"open\":[1540],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"closeOnEscape\"],[9,\"resize\",\"handleWindowResize\"],[8,\"wmNavigationHamburgerClicked\",\"handleHamburgerClicked\"],[0,\"wmNavigationItemClicked\",\"handleClickOnItem\"]]],[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],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-progress-indicator_3.cjs\",[[17,\"wm-progress-indicator\",{\"label\":[1],\"subinfo\":[1],\"completionMessage\":[1,\"completion-message\"],\"showLegend\":[4,\"show-legend\"],\"isTabbing\":[32],\"mode\":[32],\"userIsNavigating\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmProgressSliceUpdated\",\"handleSliceUpdate\"]]],[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-chart.cjs\",[[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\"],\"labelPosition\":[1,\"label-position\"],\"isTabbing\":[32],\"userIsNavigating\":[32],\"hasHiddenBarValue\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmChartSliceUpdated\",\"handleSliceUpdate\"]]]]],[\"wm-datepicker.cjs\",[[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],\"reformatDate\":[64],\"isValidIso\":[64]},[[0,\"keydown\",\"handleTabbingOn\"],[0,\"click\",\"handleTabbingOff\"],[0,\"popupBlurred\",\"handlePopupBlurred\"],[0,\"cellTriggered\",\"handleCellTriggered\"]]]]],[\"wm-line-chart.cjs\",[[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],\"displayedPopover\":[32],\"focusedLine\":[32],\"hiddenLines\":[32],\"isTabbing\":[32],\"intervalSkip\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-modal-footer.cjs\",[[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\"]}]]],[\"wm-modal-header.cjs\",[[0,\"wm-modal-header\",{\"heading\":[1],\"subheading\":[1]}]]],[\"wm-search.cjs\",[[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\"]]]]],[\"wm-chart-slice.cjs\",[[0,\"wm-chart-slice\",{\"legend\":[1],\"amount\":[1],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"popoverButtonText\":[1,\"popover-button-text\"]}]]],[\"wm-file-list.cjs\",[[17,\"wm-file-list\",{\"showInfo\":[1,\"show-info\"]}]]],[\"wm-input.cjs\",[[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]}]]],[\"wm-modal.cjs\",[[0,\"wm-modal\",{\"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\"]]]]],[\"wm-pagination.cjs\",[[17,\"wm-pagination\",{\"currentPage\":[2,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"itemsPerPage\":[2,\"items-per-page\"],\"value\":[2],\"isLargeSize\":[4,\"is-large-size\"],\"isTabbing\":[32],\"srAnnouncement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-snackbar.cjs\",[[1,\"wm-snackbar\",{\"notifications\":[1537],\"isTabbing\":[32],\"announcement\":[32]},[[4,\"keydown\",\"checkForTabbing\"],[5,\"mouseover\",\"handleMouse\"]]]]],[\"wm-tag-input.cjs\",[[17,\"wm-tag-input\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"options\":[1025],\"selectedTags\":[1537,\"selected-tags\"],\"info\":[1],\"errorMessage\":[1,\"error-message\"],\"addNew\":[4,\"add-new\"],\"placeholder\":[1025],\"requiredField\":[4,\"required-field\"],\"characterLimit\":[2,\"character-limit\"],\"maxTags\":[2,\"max-tags\"],\"tagInputType\":[1,\"tag-input-type\"],\"colHeaders\":[1,\"col-headers\"],\"colWidths\":[1,\"col-widths\"],\"colWrap\":[1,\"col-wrap\"],\"messageConfig\":[1,\"message-config\"],\"focusedListItem\":[32],\"focusedTag\":[32],\"tablePosition\":[32],\"isExpanded\":[32],\"tagsList\":[32],\"optionsList\":[32],\"charCount\":[32],\"liveRegionMessage\":[32]},[[0,\"wmTagInputRowUpdated\",\"handleRowUpdate\"],[4,\"click\",\"closeIfNotElOrChild\"],[11,\"scroll\",\"dismissTooltip\"]]]]],[\"wm-tag-input-row.cjs\",[[0,\"wm-tag-input-row\",{\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"locked\":[4]}]]],[\"wm-timepicker.cjs\",[[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],\"isTabbing\":[32],\"isValidTime\":[64],\"reformatTime\":[64]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKey\"]]]]],[\"wm-toggletip.cjs\",[[17,\"wm-toggletip\",{\"label\":[1],\"tooltip\":[1025],\"tooltipPosition\":[1537,\"tooltip-position\"],\"isOpen\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKeydown\"],[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[4,\"click\",\"handleClick\"]]]]],[\"wm-uploader.cjs\",[[17,\"wm-uploader\",{\"label\":[1],\"buttonText\":[1,\"button-text\"],\"icon\":[1],\"fileTypes\":[1,\"file-types\"],\"maxSize\":[2,\"max-size\"],\"maxFiles\":[2,\"max-files\"],\"errorMessage\":[1,\"error-message\"],\"requiredField\":[4,\"required-field\"],\"showInfo\":[1,\"show-info\"],\"isTabbing\":[32],\"notif\":[32],\"announcement\":[32],\"isCondensed\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmFileErrorCleared\",\"handleFileErrorCleared\"],[0,\"wmFileDelete\",\"storeDeletedId\"]]]]],[\"wm-wrapper.cjs\",[[0,\"wm-wrapper\"]]],[\"priv-datepicker.cjs\",[[0,\"priv-datepicker\",{\"disabled\":[4],\"isExpanded\":[1540,\"is-expanded\"],\"view\":[1025],\"date\":[16],\"selectedYear\":[1026,\"selected-year\"],\"selectedMonth\":[1026,\"selected-month\"],\"selectedDay\":[1026,\"selected-day\"],\"monthInFocus\":[1026,\"month-in-focus\"],\"yearInFocus\":[1026,\"year-in-focus\"],\"dayInFocus\":[1026,\"day-in-focus\"],\"monthNumInFocus\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKey\"],[0,\"keydown\",\"toggleTabbingOn\"],[9,\"mousedown\",\"toggleTabbingOff\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"]]]]],[\"priv-navigator-button.cjs\",[[17,\"priv-navigator-button\",{\"expanded\":[1028],\"altText\":[1,\"alt-text\"],\"isTabbing\":[1028,\"is-tabbing\"]}]]],[\"priv-navigator-item.cjs\",[[1,\"priv-navigator-item\",{\"selected\":[1028],\"focused\":[1028],\"link\":[1025]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"priv-chart-popover.cjs\",[[0,\"priv-chart-popover\",{\"sliceRef\":[16],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"buttonText\":[1,\"button-text\"],\"open\":[1028],\"coords\":[16]},[[4,\"click\",\"handleClickOnDocument\"],[0,\"click\",\"handleClick\"]]]]],[\"wm-option_2.cjs\",[[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\"],\"isTabbing\":[32],\"isExpanded\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"intCloneSelected\",\"handleOptionCloneSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmKeyUpPressed\",\"handleChildUp\"],[0,\"wmKeyDownPressed\",\"handleChildDown\"],[0,\"wmHomeKeyPressed\",\"moveToFirstOption\"],[0,\"wmEndKeyPressed\",\"moveToLastOption\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"wmOptionBlurred\",\"handleOptionBlur\"],[6,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKey\"],[0,\"wmLetterPressed\",\"findAndFocusOption\"]]],[1,\"wm-option\",{\"value\":[1],\"subinfo\":[1025],\"disabled\":[516],\"selected\":[516],\"focused\":[4],\"searchTerm\":[32]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleSelection\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-button.cjs\",[[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\"]]]]],[\"wm-action-menu_2.cjs\",[[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],\"focused\":[4],\"icon\":[1025],\"description\":[1],\"isKeying\":[32]},[[8,\"wmUserIsKeying\",\"toggleKeyingOn\"],[8,\"wmUserIsTabbing\",\"toggleKeyingOn\"],[8,\"wmUserIsNotKeying\",\"toggleKeyingOff\"],[8,\"wmUserIsNotTabbing\",\"toggleKeyingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleClick\"],[0,\"blur\",\"handleBlur\"]]]]]]"), options);
|
|
18
|
+
return index.bootstrapLazy(JSON.parse("[[\"wm-file.cjs\",[[17,\"wm-file\",{\"name\":[1],\"type\":[1],\"fileActions\":[1,\"file-actions\"],\"lastUpdated\":[1,\"last-updated\"],\"progress\":[514],\"size\":[1],\"errorMessage\":[1,\"error-message\"],\"showInfo\":[1025,\"show-info\"],\"isCondensed\":[32]}]]],[\"wm-tab-item_3.cjs\",[[17,\"wm-tab-list\",{\"customBackground\":[1,\"custom-background\"],\"customPadding\":[1,\"custom-padding\"],\"selectedTab\":[1,\"selected-tab\"]},[[0,\"tabItemLoaded\",\"tabItemLoaded\"],[0,\"keydownOnTabItem\",\"handleKeydown\"],[9,\"resize\",\"setLayout\"]]],[17,\"wm-tab-item\",{\"selected\":[4],\"show\":[4],\"tabId\":[1,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]],[0,\"wm-tab-panel\",{\"active\":[1028],\"tabId\":[1025,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]]]],[\"wm-navigator.cjs\",[[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],\"isTabbing\":[32],\"itemIndexToFocus\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeys\"],[0,\"keydownOnNavItem\",\"handleKeydown\"],[4,\"click\",\"handleClick\"],[0,\"buttonActivated\",\"handleButtonClick\"]]]]],[\"wm-navigation_3.cjs\",[[17,\"wm-navigation\",{\"open\":[1540],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"closeOnEscape\"],[9,\"resize\",\"handleWindowResize\"],[8,\"wmNavigationHamburgerClicked\",\"handleHamburgerClicked\"],[0,\"wmNavigationItemClicked\",\"handleClickOnItem\"]]],[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],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-progress-indicator_3.cjs\",[[17,\"wm-progress-indicator\",{\"label\":[1],\"subinfo\":[1],\"completionMessage\":[1,\"completion-message\"],\"showLegend\":[4,\"show-legend\"],\"isTabbing\":[32],\"mode\":[32],\"userIsNavigating\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmProgressSliceUpdated\",\"handleSliceUpdate\"]]],[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-chart.cjs\",[[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\"],\"labelPosition\":[1,\"label-position\"],\"isTabbing\":[32],\"userIsNavigating\":[32],\"hasHiddenBarValue\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmChartSliceUpdated\",\"handleSliceUpdate\"]]]]],[\"wm-datepicker.cjs\",[[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],\"reformatDate\":[64],\"isValidIso\":[64]},[[0,\"keydown\",\"handleTabbingOn\"],[0,\"click\",\"handleTabbingOff\"],[0,\"popupBlurred\",\"handlePopupBlurred\"],[0,\"cellTriggered\",\"handleCellTriggered\"]]]]],[\"wm-line-chart.cjs\",[[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],\"displayedPopover\":[32],\"focusedLine\":[32],\"hiddenLines\":[32],\"isTabbing\":[32],\"intervalSkip\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-modal-footer.cjs\",[[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\"]}]]],[\"wm-modal-header.cjs\",[[0,\"wm-modal-header\",{\"heading\":[1],\"subheading\":[1]}]]],[\"wm-search.cjs\",[[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\"]]]]],[\"wm-chart-slice.cjs\",[[0,\"wm-chart-slice\",{\"legend\":[1],\"amount\":[1],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"popoverButtonText\":[1,\"popover-button-text\"]}]]],[\"wm-file-list.cjs\",[[17,\"wm-file-list\",{\"showInfo\":[1,\"show-info\"]}]]],[\"wm-input.cjs\",[[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]}]]],[\"wm-modal.cjs\",[[0,\"wm-modal\",{\"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\"]]]]],[\"wm-pagination.cjs\",[[17,\"wm-pagination\",{\"currentPage\":[2,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"itemsPerPage\":[2,\"items-per-page\"],\"value\":[2],\"isLargeSize\":[4,\"is-large-size\"],\"isTabbing\":[32],\"srAnnouncement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-snackbar.cjs\",[[1,\"wm-snackbar\",{\"notifications\":[1537],\"isTabbing\":[32],\"announcement\":[32]},[[4,\"keydown\",\"checkForTabbing\"],[5,\"mouseover\",\"handleMouse\"]]]]],[\"wm-tag-input.cjs\",[[17,\"wm-tag-input\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"options\":[1025],\"selectedTags\":[1537,\"selected-tags\"],\"info\":[1],\"errorMessage\":[1,\"error-message\"],\"addNew\":[4,\"add-new\"],\"placeholder\":[1025],\"requiredField\":[4,\"required-field\"],\"characterLimit\":[2,\"character-limit\"],\"maxTags\":[2,\"max-tags\"],\"tagInputType\":[1,\"tag-input-type\"],\"colHeaders\":[1,\"col-headers\"],\"colWidths\":[1,\"col-widths\"],\"colWrap\":[1,\"col-wrap\"],\"messageConfig\":[1,\"message-config\"],\"focusedListItem\":[32],\"focusedTag\":[32],\"tablePosition\":[32],\"isExpanded\":[32],\"tagsList\":[32],\"optionsList\":[32],\"charCount\":[32],\"liveRegionMessage\":[32]},[[0,\"wmTagInputRowUpdated\",\"handleRowUpdate\"],[4,\"click\",\"closeIfNotElOrChild\"],[11,\"scroll\",\"dismissTooltip\"]]]]],[\"wm-tag-input-row.cjs\",[[0,\"wm-tag-input-row\",{\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"locked\":[4]}]]],[\"wm-timepicker.cjs\",[[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],\"isTabbing\":[32],\"isValidTime\":[64],\"reformatTime\":[64]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKey\"]]]]],[\"wm-toggletip.cjs\",[[17,\"wm-toggletip\",{\"label\":[1],\"tooltip\":[1025],\"tooltipPosition\":[1537,\"tooltip-position\"],\"isOpen\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKeydown\"],[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[4,\"click\",\"handleClick\"]]]]],[\"wm-uploader.cjs\",[[17,\"wm-uploader\",{\"label\":[1],\"buttonText\":[1,\"button-text\"],\"icon\":[1],\"fileTypes\":[1,\"file-types\"],\"maxSize\":[2,\"max-size\"],\"maxFiles\":[2,\"max-files\"],\"errorMessage\":[1,\"error-message\"],\"requiredField\":[4,\"required-field\"],\"showInfo\":[1,\"show-info\"],\"isTabbing\":[32],\"notif\":[32],\"announcement\":[32],\"isCondensed\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmFileErrorCleared\",\"handleFileErrorCleared\"],[0,\"wmFileDelete\",\"storeDeletedId\"]]]]],[\"wm-wrapper.cjs\",[[0,\"wm-wrapper\"]]],[\"priv-datepicker.cjs\",[[0,\"priv-datepicker\",{\"disabled\":[4],\"isExpanded\":[1540,\"is-expanded\"],\"view\":[1025],\"date\":[16],\"selectedYear\":[1026,\"selected-year\"],\"selectedMonth\":[1026,\"selected-month\"],\"selectedDay\":[1026,\"selected-day\"],\"monthInFocus\":[1026,\"month-in-focus\"],\"yearInFocus\":[1026,\"year-in-focus\"],\"dayInFocus\":[1026,\"day-in-focus\"],\"monthNumInFocus\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKey\"],[0,\"keydown\",\"toggleTabbingOn\"],[9,\"mousedown\",\"toggleTabbingOff\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"]]]]],[\"priv-navigator-button.cjs\",[[17,\"priv-navigator-button\",{\"expanded\":[1028],\"altText\":[1,\"alt-text\"],\"isTabbing\":[1028,\"is-tabbing\"]}]]],[\"priv-navigator-item.cjs\",[[1,\"priv-navigator-item\",{\"selected\":[1028],\"focused\":[1028],\"link\":[1025]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"priv-chart-popover.cjs\",[[0,\"priv-chart-popover\",{\"sliceRef\":[16],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"buttonText\":[1,\"button-text\"],\"open\":[1028],\"coords\":[16]},[[4,\"click\",\"handleClickOnDocument\"],[0,\"click\",\"handleClick\"]]]]],[\"wm-option_2.cjs\",[[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\"],\"isTabbing\":[32],\"isExpanded\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"intCloneSelected\",\"handleOptionCloneSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmKeyUpPressed\",\"handleChildUp\"],[0,\"wmKeyDownPressed\",\"handleChildDown\"],[0,\"wmHomeKeyPressed\",\"moveToFirstOption\"],[0,\"wmEndKeyPressed\",\"moveToLastOption\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"wmOptionBlurred\",\"handleOptionBlur\"],[6,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKey\"],[0,\"wmLetterPressed\",\"findAndFocusOption\"]]],[1,\"wm-option\",{\"value\":[1],\"subinfo\":[1025],\"disabled\":[516],\"selected\":[516],\"focused\":[4],\"searchTerm\":[32]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleSelection\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-button.cjs\",[[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\"]]]]],[\"wm-action-menu_2.cjs\",[[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],\"focused\":[4],\"icon\":[1025],\"description\":[1],\"isKeying\":[32]},[[8,\"wmUserIsKeying\",\"toggleKeyingOn\"],[8,\"wmUserIsTabbing\",\"toggleKeyingOn\"],[8,\"wmUserIsNotKeying\",\"toggleKeyingOff\"],[8,\"wmUserIsNotTabbing\",\"toggleKeyingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleClick\"],[0,\"blur\",\"handleBlur\"]]]]]]"), options);
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
|
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-670c5d2a.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-7210956f.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v3.4.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -21,7 +21,7 @@ const patchBrowser = () => {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
patchBrowser().then(options => {
|
|
24
|
-
return index.bootstrapLazy(JSON.parse("[[\"wm-file.cjs\",[[17,\"wm-file\",{\"name\":[1],\"type\":[1],\"fileActions\":[1,\"file-actions\"],\"lastUpdated\":[1,\"last-updated\"],\"progress\":[514],\"size\":[1],\"errorMessage\":[1,\"error-message\"],\"showInfo\":[1,\"show-info\"],\"isCondensed\":[32]}]]],[\"wm-tab-item_3.cjs\",[[17,\"wm-tab-list\",{\"customBackground\":[1,\"custom-background\"],\"customPadding\":[1,\"custom-padding\"],\"selectedTab\":[1,\"selected-tab\"]},[[0,\"tabItemLoaded\",\"tabItemLoaded\"],[0,\"keydownOnTabItem\",\"handleKeydown\"],[9,\"resize\",\"setLayout\"]]],[17,\"wm-tab-item\",{\"selected\":[4],\"show\":[4],\"tabId\":[1,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]],[0,\"wm-tab-panel\",{\"active\":[1028],\"tabId\":[1025,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]]]],[\"wm-navigator.cjs\",[[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],\"isTabbing\":[32],\"itemIndexToFocus\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeys\"],[0,\"keydownOnNavItem\",\"handleKeydown\"],[4,\"click\",\"handleClick\"],[0,\"buttonActivated\",\"handleButtonClick\"]]]]],[\"wm-navigation_3.cjs\",[[17,\"wm-navigation\",{\"open\":[1540],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"closeOnEscape\"],[9,\"resize\",\"handleWindowResize\"],[8,\"wmNavigationHamburgerClicked\",\"handleHamburgerClicked\"],[0,\"wmNavigationItemClicked\",\"handleClickOnItem\"]]],[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],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-progress-indicator_3.cjs\",[[17,\"wm-progress-indicator\",{\"label\":[1],\"subinfo\":[1],\"completionMessage\":[1,\"completion-message\"],\"showLegend\":[4,\"show-legend\"],\"isTabbing\":[32],\"mode\":[32],\"userIsNavigating\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmProgressSliceUpdated\",\"handleSliceUpdate\"]]],[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-chart.cjs\",[[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\"],\"labelPosition\":[1,\"label-position\"],\"isTabbing\":[32],\"userIsNavigating\":[32],\"hasHiddenBarValue\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmChartSliceUpdated\",\"handleSliceUpdate\"]]]]],[\"wm-datepicker.cjs\",[[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],\"reformatDate\":[64],\"isValidIso\":[64]},[[0,\"keydown\",\"handleTabbingOn\"],[0,\"click\",\"handleTabbingOff\"],[0,\"popupBlurred\",\"handlePopupBlurred\"],[0,\"cellTriggered\",\"handleCellTriggered\"]]]]],[\"wm-line-chart.cjs\",[[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],\"displayedPopover\":[32],\"focusedLine\":[32],\"hiddenLines\":[32],\"isTabbing\":[32],\"intervalSkip\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-modal-footer.cjs\",[[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\"]}]]],[\"wm-modal-header.cjs\",[[0,\"wm-modal-header\",{\"heading\":[1],\"subheading\":[1]}]]],[\"wm-search.cjs\",[[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\"]]]]],[\"wm-chart-slice.cjs\",[[0,\"wm-chart-slice\",{\"legend\":[1],\"amount\":[1],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"popoverButtonText\":[1,\"popover-button-text\"]}]]],[\"wm-file-list.cjs\",[[17,\"wm-file-list\",{\"showInfo\":[1,\"show-info\"]}]]],[\"wm-input.cjs\",[[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]}]]],[\"wm-modal.cjs\",[[0,\"wm-modal\",{\"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\"]]]]],[\"wm-pagination.cjs\",[[17,\"wm-pagination\",{\"currentPage\":[2,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"itemsPerPage\":[2,\"items-per-page\"],\"value\":[2],\"isLargeSize\":[4,\"is-large-size\"],\"isTabbing\":[32],\"srAnnouncement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-snackbar.cjs\",[[1,\"wm-snackbar\",{\"notifications\":[1537],\"isTabbing\":[32],\"announcement\":[32]},[[4,\"keydown\",\"checkForTabbing\"],[5,\"mouseover\",\"handleMouse\"]]]]],[\"wm-tag-input.cjs\",[[17,\"wm-tag-input\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"options\":[1025],\"selectedTags\":[1537,\"selected-tags\"],\"info\":[1],\"errorMessage\":[1,\"error-message\"],\"addNew\":[4,\"add-new\"],\"placeholder\":[1025],\"requiredField\":[4,\"required-field\"],\"characterLimit\":[2,\"character-limit\"],\"maxTags\":[2,\"max-tags\"],\"tagInputType\":[1,\"tag-input-type\"],\"colHeaders\":[1,\"col-headers\"],\"colWidths\":[1,\"col-widths\"],\"colWrap\":[1,\"col-wrap\"],\"messageConfig\":[1,\"message-config\"],\"focusedListItem\":[32],\"focusedTag\":[32],\"tablePosition\":[32],\"isExpanded\":[32],\"tagsList\":[32],\"optionsList\":[32],\"charCount\":[32],\"liveRegionMessage\":[32]},[[0,\"wmTagInputRowUpdated\",\"handleRowUpdate\"],[4,\"click\",\"closeIfNotElOrChild\"],[11,\"scroll\",\"dismissTooltip\"]]]]],[\"wm-tag-input-row.cjs\",[[0,\"wm-tag-input-row\",{\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"locked\":[4]}]]],[\"wm-timepicker.cjs\",[[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],\"isTabbing\":[32],\"isValidTime\":[64],\"reformatTime\":[64]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKey\"]]]]],[\"wm-toggletip.cjs\",[[17,\"wm-toggletip\",{\"label\":[1],\"tooltip\":[1025],\"tooltipPosition\":[1537,\"tooltip-position\"],\"isOpen\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKeydown\"],[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[4,\"click\",\"handleClick\"]]]]],[\"wm-uploader.cjs\",[[17,\"wm-uploader\",{\"label\":[1],\"buttonText\":[1,\"button-text\"],\"icon\":[1],\"fileTypes\":[1,\"file-types\"],\"maxSize\":[2,\"max-size\"],\"maxFiles\":[2,\"max-files\"],\"errorMessage\":[1,\"error-message\"],\"requiredField\":[4,\"required-field\"],\"showInfo\":[1,\"show-info\"],\"isTabbing\":[32],\"notif\":[32],\"announcement\":[32],\"isCondensed\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmFileErrorCleared\",\"handleFileErrorCleared\"],[0,\"wmFileDelete\",\"storeDeletedId\"]]]]],[\"wm-wrapper.cjs\",[[0,\"wm-wrapper\"]]],[\"priv-datepicker.cjs\",[[0,\"priv-datepicker\",{\"disabled\":[4],\"isExpanded\":[1540,\"is-expanded\"],\"view\":[1025],\"date\":[16],\"selectedYear\":[1026,\"selected-year\"],\"selectedMonth\":[1026,\"selected-month\"],\"selectedDay\":[1026,\"selected-day\"],\"monthInFocus\":[1026,\"month-in-focus\"],\"yearInFocus\":[1026,\"year-in-focus\"],\"dayInFocus\":[1026,\"day-in-focus\"],\"monthNumInFocus\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKey\"],[0,\"keydown\",\"toggleTabbingOn\"],[9,\"mousedown\",\"toggleTabbingOff\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"]]]]],[\"priv-navigator-button.cjs\",[[17,\"priv-navigator-button\",{\"expanded\":[1028],\"altText\":[1,\"alt-text\"],\"isTabbing\":[1028,\"is-tabbing\"]}]]],[\"priv-navigator-item.cjs\",[[1,\"priv-navigator-item\",{\"selected\":[1028],\"focused\":[1028],\"link\":[1025]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"priv-chart-popover.cjs\",[[0,\"priv-chart-popover\",{\"sliceRef\":[16],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"buttonText\":[1,\"button-text\"],\"open\":[1028],\"coords\":[16]},[[4,\"click\",\"handleClickOnDocument\"],[0,\"click\",\"handleClick\"]]]]],[\"wm-option_2.cjs\",[[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\"],\"isTabbing\":[32],\"isExpanded\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"intCloneSelected\",\"handleOptionCloneSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmKeyUpPressed\",\"handleChildUp\"],[0,\"wmKeyDownPressed\",\"handleChildDown\"],[0,\"wmHomeKeyPressed\",\"moveToFirstOption\"],[0,\"wmEndKeyPressed\",\"moveToLastOption\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"wmOptionBlurred\",\"handleOptionBlur\"],[6,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKey\"],[0,\"wmLetterPressed\",\"findAndFocusOption\"]]],[1,\"wm-option\",{\"value\":[1],\"subinfo\":[1025],\"disabled\":[516],\"selected\":[516],\"focused\":[4],\"searchTerm\":[32]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleSelection\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-button.cjs\",[[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\"]]]]],[\"wm-action-menu_2.cjs\",[[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],\"focused\":[4],\"icon\":[1025],\"description\":[1],\"isKeying\":[32]},[[8,\"wmUserIsKeying\",\"toggleKeyingOn\"],[8,\"wmUserIsTabbing\",\"toggleKeyingOn\"],[8,\"wmUserIsNotKeying\",\"toggleKeyingOff\"],[8,\"wmUserIsNotTabbing\",\"toggleKeyingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleClick\"],[0,\"blur\",\"handleBlur\"]]]]]]"), options);
|
|
24
|
+
return index.bootstrapLazy(JSON.parse("[[\"wm-file.cjs\",[[17,\"wm-file\",{\"name\":[1],\"type\":[1],\"fileActions\":[1,\"file-actions\"],\"lastUpdated\":[1,\"last-updated\"],\"progress\":[514],\"size\":[1],\"errorMessage\":[1,\"error-message\"],\"showInfo\":[1025,\"show-info\"],\"isCondensed\":[32]}]]],[\"wm-tab-item_3.cjs\",[[17,\"wm-tab-list\",{\"customBackground\":[1,\"custom-background\"],\"customPadding\":[1,\"custom-padding\"],\"selectedTab\":[1,\"selected-tab\"]},[[0,\"tabItemLoaded\",\"tabItemLoaded\"],[0,\"keydownOnTabItem\",\"handleKeydown\"],[9,\"resize\",\"setLayout\"]]],[17,\"wm-tab-item\",{\"selected\":[4],\"show\":[4],\"tabId\":[1,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]],[0,\"wm-tab-panel\",{\"active\":[1028],\"tabId\":[1025,\"tab-id\"]},[[4,\"keydown\",\"toggleTabbingOn\"],[4,\"click\",\"toggleTabbingOff\"]]]]],[\"wm-navigator.cjs\",[[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],\"isTabbing\":[32],\"itemIndexToFocus\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeys\"],[0,\"keydownOnNavItem\",\"handleKeydown\"],[4,\"click\",\"handleClick\"],[0,\"buttonActivated\",\"handleButtonClick\"]]]]],[\"wm-navigation_3.cjs\",[[17,\"wm-navigation\",{\"open\":[1540],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"closeOnEscape\"],[9,\"resize\",\"handleWindowResize\"],[8,\"wmNavigationHamburgerClicked\",\"handleHamburgerClicked\"],[0,\"wmNavigationItemClicked\",\"handleClickOnItem\"]]],[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],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-progress-indicator_3.cjs\",[[17,\"wm-progress-indicator\",{\"label\":[1],\"subinfo\":[1],\"completionMessage\":[1,\"completion-message\"],\"showLegend\":[4,\"show-legend\"],\"isTabbing\":[32],\"mode\":[32],\"userIsNavigating\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmProgressSliceUpdated\",\"handleSliceUpdate\"]]],[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-chart.cjs\",[[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\"],\"labelPosition\":[1,\"label-position\"],\"isTabbing\":[32],\"userIsNavigating\":[32],\"hasHiddenBarValue\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmChartSliceUpdated\",\"handleSliceUpdate\"]]]]],[\"wm-datepicker.cjs\",[[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],\"reformatDate\":[64],\"isValidIso\":[64]},[[0,\"keydown\",\"handleTabbingOn\"],[0,\"click\",\"handleTabbingOff\"],[0,\"popupBlurred\",\"handlePopupBlurred\"],[0,\"cellTriggered\",\"handleCellTriggered\"]]]]],[\"wm-line-chart.cjs\",[[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],\"displayedPopover\":[32],\"focusedLine\":[32],\"hiddenLines\":[32],\"isTabbing\":[32],\"intervalSkip\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-modal-footer.cjs\",[[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\"]}]]],[\"wm-modal-header.cjs\",[[0,\"wm-modal-header\",{\"heading\":[1],\"subheading\":[1]}]]],[\"wm-search.cjs\",[[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\"]]]]],[\"wm-chart-slice.cjs\",[[0,\"wm-chart-slice\",{\"legend\":[1],\"amount\":[1],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"popoverButtonText\":[1,\"popover-button-text\"]}]]],[\"wm-file-list.cjs\",[[17,\"wm-file-list\",{\"showInfo\":[1,\"show-info\"]}]]],[\"wm-input.cjs\",[[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]}]]],[\"wm-modal.cjs\",[[0,\"wm-modal\",{\"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\"]]]]],[\"wm-pagination.cjs\",[[17,\"wm-pagination\",{\"currentPage\":[2,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"itemsPerPage\":[2,\"items-per-page\"],\"value\":[2],\"isLargeSize\":[4,\"is-large-size\"],\"isTabbing\":[32],\"srAnnouncement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]]]]],[\"wm-snackbar.cjs\",[[1,\"wm-snackbar\",{\"notifications\":[1537],\"isTabbing\":[32],\"announcement\":[32]},[[4,\"keydown\",\"checkForTabbing\"],[5,\"mouseover\",\"handleMouse\"]]]]],[\"wm-tag-input.cjs\",[[17,\"wm-tag-input\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"options\":[1025],\"selectedTags\":[1537,\"selected-tags\"],\"info\":[1],\"errorMessage\":[1,\"error-message\"],\"addNew\":[4,\"add-new\"],\"placeholder\":[1025],\"requiredField\":[4,\"required-field\"],\"characterLimit\":[2,\"character-limit\"],\"maxTags\":[2,\"max-tags\"],\"tagInputType\":[1,\"tag-input-type\"],\"colHeaders\":[1,\"col-headers\"],\"colWidths\":[1,\"col-widths\"],\"colWrap\":[1,\"col-wrap\"],\"messageConfig\":[1,\"message-config\"],\"focusedListItem\":[32],\"focusedTag\":[32],\"tablePosition\":[32],\"isExpanded\":[32],\"tagsList\":[32],\"optionsList\":[32],\"charCount\":[32],\"liveRegionMessage\":[32]},[[0,\"wmTagInputRowUpdated\",\"handleRowUpdate\"],[4,\"click\",\"closeIfNotElOrChild\"],[11,\"scroll\",\"dismissTooltip\"]]]]],[\"wm-tag-input-row.cjs\",[[0,\"wm-tag-input-row\",{\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"locked\":[4]}]]],[\"wm-timepicker.cjs\",[[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],\"isTabbing\":[32],\"isValidTime\":[64],\"reformatTime\":[64]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKey\"]]]]],[\"wm-toggletip.cjs\",[[17,\"wm-toggletip\",{\"label\":[1],\"tooltip\":[1025],\"tooltipPosition\":[1537,\"tooltip-position\"],\"isOpen\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKeydown\"],[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[4,\"click\",\"handleClick\"]]]]],[\"wm-uploader.cjs\",[[17,\"wm-uploader\",{\"label\":[1],\"buttonText\":[1,\"button-text\"],\"icon\":[1],\"fileTypes\":[1,\"file-types\"],\"maxSize\":[2,\"max-size\"],\"maxFiles\":[2,\"max-files\"],\"errorMessage\":[1,\"error-message\"],\"requiredField\":[4,\"required-field\"],\"showInfo\":[1,\"show-info\"],\"isTabbing\":[32],\"notif\":[32],\"announcement\":[32],\"isCondensed\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmFileErrorCleared\",\"handleFileErrorCleared\"],[0,\"wmFileDelete\",\"storeDeletedId\"]]]]],[\"wm-wrapper.cjs\",[[0,\"wm-wrapper\"]]],[\"priv-datepicker.cjs\",[[0,\"priv-datepicker\",{\"disabled\":[4],\"isExpanded\":[1540,\"is-expanded\"],\"view\":[1025],\"date\":[16],\"selectedYear\":[1026,\"selected-year\"],\"selectedMonth\":[1026,\"selected-month\"],\"selectedDay\":[1026,\"selected-day\"],\"monthInFocus\":[1026,\"month-in-focus\"],\"yearInFocus\":[1026,\"year-in-focus\"],\"dayInFocus\":[1026,\"day-in-focus\"],\"monthNumInFocus\":[32],\"isTabbing\":[32]},[[0,\"keydown\",\"handleKey\"],[0,\"keydown\",\"toggleTabbingOn\"],[9,\"mousedown\",\"toggleTabbingOff\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"]]]]],[\"priv-navigator-button.cjs\",[[17,\"priv-navigator-button\",{\"expanded\":[1028],\"altText\":[1,\"alt-text\"],\"isTabbing\":[1028,\"is-tabbing\"]}]]],[\"priv-navigator-item.cjs\",[[1,\"priv-navigator-item\",{\"selected\":[1028],\"focused\":[1028],\"link\":[1025]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"priv-chart-popover.cjs\",[[0,\"priv-chart-popover\",{\"sliceRef\":[16],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"buttonText\":[1,\"button-text\"],\"open\":[1028],\"coords\":[16]},[[4,\"click\",\"handleClickOnDocument\"],[0,\"click\",\"handleClick\"]]]]],[\"wm-option_2.cjs\",[[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\"],\"isTabbing\":[32],\"isExpanded\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"intCloneSelected\",\"handleOptionCloneSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmKeyUpPressed\",\"handleChildUp\"],[0,\"wmKeyDownPressed\",\"handleChildDown\"],[0,\"wmHomeKeyPressed\",\"moveToFirstOption\"],[0,\"wmEndKeyPressed\",\"moveToLastOption\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"wmOptionBlurred\",\"handleOptionBlur\"],[6,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKey\"],[0,\"wmLetterPressed\",\"findAndFocusOption\"]]],[1,\"wm-option\",{\"value\":[1],\"subinfo\":[1025],\"disabled\":[516],\"selected\":[516],\"focused\":[4],\"searchTerm\":[32]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleSelection\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-button.cjs\",[[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\"]]]]],[\"wm-action-menu_2.cjs\",[[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],\"focused\":[4],\"icon\":[1025],\"description\":[1],\"isKeying\":[32]},[[8,\"wmUserIsKeying\",\"toggleKeyingOn\"],[8,\"wmUserIsTabbing\",\"toggleKeyingOn\"],[8,\"wmUserIsNotKeying\",\"toggleKeyingOff\"],[8,\"wmUserIsNotTabbing\",\"toggleKeyingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleClick\"],[0,\"blur\",\"handleBlur\"]]]]]]"), options);
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
exports.setNonce = index.setNonce;
|
|
@@ -325,11 +325,11 @@ const Select = class {
|
|
|
325
325
|
this.allSelected ? this.deselectAllOptions() : this.selectAllOptions();
|
|
326
326
|
}
|
|
327
327
|
selectAllOptions() {
|
|
328
|
-
this.
|
|
328
|
+
this.announce(this.allOptionsSelectedMessage);
|
|
329
329
|
this.wmSelectAllSelected.emit();
|
|
330
330
|
}
|
|
331
331
|
deselectAllOptions() {
|
|
332
|
-
this.
|
|
332
|
+
this.announce(this.allOptionsDeselectedMessage);
|
|
333
333
|
this.wmSelectAllDeselected.emit();
|
|
334
334
|
}
|
|
335
335
|
handleButtonBlur(ev) {
|
|
@@ -663,18 +663,6 @@ const Select = class {
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
|
-
setSelectAllButton() {
|
|
667
|
-
if (this.allSelected) {
|
|
668
|
-
this.selectAllEl.textContent = this.deselectAllMessage;
|
|
669
|
-
this.announce(this.allOptionsSelectedMessage);
|
|
670
|
-
}
|
|
671
|
-
else {
|
|
672
|
-
this.selectAllEl.textContent = this.selectAllMessage;
|
|
673
|
-
if (this.selectedOptions.length === 0) {
|
|
674
|
-
this.announce(this.allOptionsDeselectedMessage);
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
666
|
announce(message) {
|
|
679
667
|
// \u00A0 is a non-breaking space character, which causes the message to be read as a new one
|
|
680
668
|
if (this.liveRegionEl.textContent === message) {
|
|
@@ -6,7 +6,7 @@ describe("wm-select", () => {
|
|
|
6
6
|
page = await newE2EPage();
|
|
7
7
|
await page.setContent(`<html lang='en'><head><title>Page</title></head><body><main><h1>Title</h1>
|
|
8
8
|
<wm-select id='test' label="Make a selection">
|
|
9
|
-
<wm-option id='first'>First option</wm-option>
|
|
9
|
+
<wm-option id='first' selected>First option</wm-option>
|
|
10
10
|
<wm-option id='second'>Second option</wm-option>
|
|
11
11
|
<wm-option id='third'>Third option</wm-option>
|
|
12
12
|
</wm-select>
|
|
@@ -28,12 +28,7 @@ describe("wm-select", () => {
|
|
|
28
28
|
it("has the right WAI_ARIA roles, states and properties", async () => {
|
|
29
29
|
await createPageHelper();
|
|
30
30
|
const button = await page.find("wm-select >>> button");
|
|
31
|
-
const listbox = await page.find("wm-select >>> #list
|
|
32
|
-
// const first = await page.find("#first");
|
|
33
|
-
/* check aria-haspopup attribute */
|
|
34
|
-
// removed because it seems incompatible with aria-expanded (SR won't announce expanded state when haspopup is present)
|
|
35
|
-
// (tested in Chrome/NVDA)
|
|
36
|
-
// expect(button).toEqualAttribute("aria-haspopup", "listbox");
|
|
31
|
+
const listbox = await page.find("wm-select >>> #list");
|
|
37
32
|
/* check aria-expanded attribute */
|
|
38
33
|
expect(button).toEqualAttribute("aria-expanded", "false");
|
|
39
34
|
/* The listbox has tabindex="-1" */
|
|
@@ -55,22 +50,6 @@ describe("wm-select", () => {
|
|
|
55
50
|
const third = await page.find("#third");
|
|
56
51
|
expect(third).toEqualAttribute("tabIndex", "0"); // third is focused...
|
|
57
52
|
expect(first).toEqualAttribute("aria-selected", true); // ...first is still selected (default)
|
|
58
|
-
await page.keyboard.press("Enter"); // close and select
|
|
59
|
-
await page.waitForChanges();
|
|
60
|
-
expect(third).toEqualAttribute("aria-selected", true);
|
|
61
|
-
await page.waitForTimeout(500); // wait for focus to return to button (there's a timeout because SR issue)
|
|
62
|
-
await page.keyboard.press("Enter"); // re-open popup
|
|
63
|
-
await page.waitForChanges();
|
|
64
|
-
await page.keyboard.press("ArrowDown");
|
|
65
|
-
await page.waitForChanges();
|
|
66
|
-
await page.keyboard.press("ArrowDown");
|
|
67
|
-
await page.waitForChanges();
|
|
68
|
-
expect(button).toEqualAttribute("aria-expanded", "true");
|
|
69
|
-
await page.keyboard.press("Enter"); // close and select
|
|
70
|
-
await page.waitForChanges();
|
|
71
|
-
const selected = await page.find("[aria-selected='true']");
|
|
72
|
-
await page.waitForChanges();
|
|
73
|
-
expect(selected.id).toEqual("second");
|
|
74
53
|
});
|
|
75
54
|
it("switches the dropdown direction", async () => {
|
|
76
55
|
// Viewport is 800 x 600 by default
|
|
@@ -79,13 +58,13 @@ describe("wm-select", () => {
|
|
|
79
58
|
page = await newE2EPage();
|
|
80
59
|
await page.setContent(`<html lang='en'><head><title>Page</title></head><body><main><h1>Title</h1>
|
|
81
60
|
<wm-select id='select1' label="Make a selection">
|
|
82
|
-
<wm-option id='first'>First option</wm-option>
|
|
61
|
+
<wm-option id='first' selected>First option</wm-option>
|
|
83
62
|
<wm-option id='second'>Second option</wm-option>
|
|
84
63
|
<wm-option id='third'>Third option</wm-option>
|
|
85
64
|
</wm-select>
|
|
86
65
|
<div style="height: 500px">A big block</div>
|
|
87
66
|
<wm-select id='select2' label="Make a selection">
|
|
88
|
-
<wm-option id='first'>First option</wm-option>
|
|
67
|
+
<wm-option id='first' selected>First option</wm-option>
|
|
89
68
|
<wm-option id='second'>Second option</wm-option>
|
|
90
69
|
<wm-option id='third'>Third option</wm-option>
|
|
91
70
|
</wm-select>
|
|
@@ -137,7 +116,7 @@ describe("wm-select", () => {
|
|
|
137
116
|
/* Up Arrow: Moves focus to the previous option (4). If the listbox is collapsed (5), also expands the list (6). */
|
|
138
117
|
it("handles Up and Down Arrow keys", async () => {
|
|
139
118
|
await createPageHelper();
|
|
140
|
-
const btn = await page.find("wm-select >>> #selectbtn
|
|
119
|
+
const btn = await page.find("wm-select >>> #selectbtn");
|
|
141
120
|
expect(btn.getAttribute("aria-expanded")).toEqual("false"); // 2
|
|
142
121
|
await page.keyboard.press("Tab");
|
|
143
122
|
await page.waitForChanges();
|
|
@@ -163,8 +142,6 @@ describe("wm-select", () => {
|
|
|
163
142
|
await page.waitForChanges();
|
|
164
143
|
await page.keyboard.press("ArrowUp");
|
|
165
144
|
await page.waitForChanges();
|
|
166
|
-
const x = await page.evaluate(() => document.querySelector("[tabindex='0']").id);
|
|
167
|
-
expect(x).toBe("third"); // 4
|
|
168
145
|
expect(btn.getAttribute("aria-expanded")).toEqual("true"); // 6
|
|
169
146
|
});
|
|
170
147
|
/* Home: If the listbox is displayed, moves focus to first option. */
|
|
@@ -205,32 +182,35 @@ describe("wm-select", () => {
|
|
|
205
182
|
expect(focusedEl).toEqualAttribute("tabindex", "0");
|
|
206
183
|
});
|
|
207
184
|
// OPENING / CLOSING POPUP
|
|
208
|
-
|
|
209
|
-
- If the focus is on the button, expands the listbox (1) and places focus on the currently selected option in the list (2).
|
|
210
|
-
- If focus is in the listbox, collapses the listbox (3) and keeps the currently selected option as the button label. (4) */
|
|
211
|
-
it("handles the Enter key", async () => {
|
|
185
|
+
it("Enter key opens and closes the dropdown", async () => {
|
|
212
186
|
await createPageHelper();
|
|
213
187
|
await page.keyboard.press("Tab");
|
|
214
188
|
await page.waitForChanges();
|
|
215
189
|
await page.keyboard.press("Enter");
|
|
216
190
|
await page.waitForChanges();
|
|
217
|
-
const btn = await page.find("wm-select >>> #selectbtn
|
|
191
|
+
const btn = await page.find("wm-select >>> #selectbtn");
|
|
218
192
|
await page.waitForChanges();
|
|
219
|
-
expect(btn.getAttribute("aria-expanded")).toEqual("true");
|
|
193
|
+
expect(btn.getAttribute("aria-expanded")).toEqual("true");
|
|
220
194
|
await page.keyboard.press("ArrowDown");
|
|
221
195
|
await page.waitForChanges();
|
|
222
196
|
await page.keyboard.press("Enter");
|
|
223
197
|
await page.waitForChanges();
|
|
224
|
-
|
|
198
|
+
expect(btn.getAttribute("aria-expanded")).toEqual("false");
|
|
199
|
+
});
|
|
200
|
+
it("Space key opens and closes the dropdown", async () => {
|
|
201
|
+
await createPageHelper();
|
|
202
|
+
await page.keyboard.press("Tab");
|
|
225
203
|
await page.waitForChanges();
|
|
226
|
-
|
|
227
|
-
expect(btntxt.innerText).toEqual("Second option"); // 4
|
|
228
|
-
await page.keyboard.press("Enter");
|
|
204
|
+
await page.keyboard.press("Space");
|
|
229
205
|
await page.waitForChanges();
|
|
230
|
-
|
|
231
|
-
const activeElId = await page.evaluate(() => document.activeElement.id);
|
|
206
|
+
const btn = await page.find("wm-select >>> #selectbtn");
|
|
232
207
|
await page.waitForChanges();
|
|
233
|
-
expect(
|
|
208
|
+
expect(btn.getAttribute("aria-expanded")).toEqual("true");
|
|
209
|
+
await page.keyboard.press("ArrowDown");
|
|
210
|
+
await page.waitForChanges();
|
|
211
|
+
await page.keyboard.press("Space");
|
|
212
|
+
await page.waitForChanges();
|
|
213
|
+
expect(btn.getAttribute("aria-expanded")).toEqual("false");
|
|
234
214
|
});
|
|
235
215
|
/* Spacebar: Should open the popup (we didn't implement, comes for free. test makes sure we don't break it) */
|
|
236
216
|
it("handles the Spacebar key", async () => {
|
|
@@ -239,7 +219,7 @@ describe("wm-select", () => {
|
|
|
239
219
|
await page.waitForChanges();
|
|
240
220
|
await page.keyboard.press("Space");
|
|
241
221
|
await page.waitForChanges();
|
|
242
|
-
const btn = await page.find("wm-select >>> #selectbtn
|
|
222
|
+
const btn = await page.find("wm-select >>> #selectbtn");
|
|
243
223
|
expect(btn.getAttribute("aria-expanded")).toEqual("true");
|
|
244
224
|
});
|
|
245
225
|
/* Escape: If the listbox is displayed, closes the popup and returns focus to the button. */
|
|
@@ -263,10 +243,25 @@ describe("wm-select", () => {
|
|
|
263
243
|
// Label
|
|
264
244
|
it("creates a label element", async () => {
|
|
265
245
|
await createPageHelper();
|
|
266
|
-
await page.waitForTimeout(500);
|
|
267
246
|
let label = await page.find("wm-select >>> label");
|
|
268
247
|
expect(label.textContent).toBe("Make a selection");
|
|
269
248
|
});
|
|
249
|
+
it("emits the proper event when option is clicked", async () => {
|
|
250
|
+
await createPageHelper();
|
|
251
|
+
const wmOptionSelectedSpy = await page.spyOnEvent("wmOptionSelected");
|
|
252
|
+
// Space key
|
|
253
|
+
await page.keyboard.press("Tab");
|
|
254
|
+
await page.keyboard.press("Enter");
|
|
255
|
+
await page.waitForChanges(); // allow dropdown to open
|
|
256
|
+
await page.keyboard.press("Space");
|
|
257
|
+
await page.waitForChanges(); // allow dropdown to close
|
|
258
|
+
expect(wmOptionSelectedSpy).toHaveReceivedEventTimes(1);
|
|
259
|
+
// Enter key
|
|
260
|
+
await page.keyboard.press("Enter");
|
|
261
|
+
await page.waitForChanges(); // allow dropdown to open
|
|
262
|
+
await page.keyboard.press("Enter");
|
|
263
|
+
expect(wmOptionSelectedSpy).toHaveReceivedEventTimes(2);
|
|
264
|
+
});
|
|
270
265
|
/**************
|
|
271
266
|
* MULTISELECT *
|
|
272
267
|
**************/
|
|
@@ -329,64 +324,6 @@ describe("wm-select", () => {
|
|
|
329
324
|
await page.waitForChanges();
|
|
330
325
|
expect(firstOption).toEqualAttribute("tabindex", "0");
|
|
331
326
|
});
|
|
332
|
-
/* Space: changes the selection state of the focused option */
|
|
333
|
-
it("handles the space key - multiselect", async () => {
|
|
334
|
-
page = await newE2EPage();
|
|
335
|
-
await page.setContent(`<html lang='en'><head><title>Page</title></head><body><main><h1>Title</h1>
|
|
336
|
-
<wm-select multiple label="Make a selection">
|
|
337
|
-
<wm-option id='first'>First option</wm-option>
|
|
338
|
-
<wm-option id='second'>Second option</wm-option>
|
|
339
|
-
<wm-option id='third'>Third option</wm-option>
|
|
340
|
-
<wm-option id='fourth'>Fourth option</wm-option>
|
|
341
|
-
<wm-option id='fifth'>Fifth option</wm-option>
|
|
342
|
-
</wm-select>
|
|
343
|
-
</main></body></html>`);
|
|
344
|
-
await page.keyboard.press("Tab");
|
|
345
|
-
await page.waitForChanges();
|
|
346
|
-
await page.keyboard.press("Enter");
|
|
347
|
-
await page.waitForChanges();
|
|
348
|
-
await page.keyboard.press("Space");
|
|
349
|
-
await page.waitForChanges();
|
|
350
|
-
await page.keyboard.press("ArrowDown");
|
|
351
|
-
await page.waitForChanges();
|
|
352
|
-
await page.keyboard.press("Space");
|
|
353
|
-
await page.waitForChanges();
|
|
354
|
-
const firstItem = await page.find("#first");
|
|
355
|
-
const secondItem = await page.find("#second");
|
|
356
|
-
expect(firstItem).toEqualAttribute("aria-selected", "true");
|
|
357
|
-
expect(secondItem).toEqualAttribute("aria-selected", "true");
|
|
358
|
-
const btn = await page.find("wm-select >>> button");
|
|
359
|
-
expect(btn.getAttribute("aria-expanded")).toEqual("true");
|
|
360
|
-
});
|
|
361
|
-
/* Enter Key: Toggles selection of currently focused option, then closes dropdown. */
|
|
362
|
-
it("handles the enter key - multiselect", async () => {
|
|
363
|
-
page = await newE2EPage();
|
|
364
|
-
await page.setContent(`<html lang='en'><head><title>Page</title></head><body><main><h1>Title</h1>
|
|
365
|
-
<wm-select multiple label="Make a selection">
|
|
366
|
-
<wm-option id='first'>First option</wm-option>
|
|
367
|
-
<wm-option id='second'>Second option</wm-option>
|
|
368
|
-
<wm-option id='third'>Third option</wm-option>
|
|
369
|
-
<wm-option id='fourth'>Fourth option</wm-option>
|
|
370
|
-
<wm-option id='fifth'>Fifth option</wm-option>
|
|
371
|
-
</wm-select>
|
|
372
|
-
</main></body></html>`);
|
|
373
|
-
await page.keyboard.press("Tab");
|
|
374
|
-
await page.waitForChanges();
|
|
375
|
-
await page.keyboard.press("Enter");
|
|
376
|
-
await page.waitForChanges();
|
|
377
|
-
await page.keyboard.press("Space");
|
|
378
|
-
await page.waitForChanges();
|
|
379
|
-
await page.keyboard.press("ArrowDown");
|
|
380
|
-
await page.waitForChanges();
|
|
381
|
-
await page.keyboard.press("Enter");
|
|
382
|
-
await page.waitForChanges();
|
|
383
|
-
const firstItem = await page.find("#first");
|
|
384
|
-
const secondItem = await page.find("#second");
|
|
385
|
-
expect(firstItem).toEqualAttribute("aria-selected", "true");
|
|
386
|
-
expect(secondItem).toEqualAttribute("aria-selected", "true");
|
|
387
|
-
const btn = await page.find("wm-select >>> button");
|
|
388
|
-
expect(btn.getAttribute("aria-expanded")).toEqual("false");
|
|
389
|
-
});
|
|
390
327
|
it("recognizes when all are selected", async () => {
|
|
391
328
|
page = await newE2EPage();
|
|
392
329
|
await page.setContent(`<html lang='en'><head><title>Page</title></head><body><main><h1>Title</h1>
|
|
@@ -511,15 +448,15 @@ describe("wm-select", () => {
|
|
|
511
448
|
selectAllBtn = await page.find("wm-select >>> .select-all");
|
|
512
449
|
expect(selectAllBtn).toBeNull();
|
|
513
450
|
});
|
|
514
|
-
it("
|
|
515
|
-
|
|
451
|
+
it("emits the proper select all deselect all events", async () => {
|
|
452
|
+
let page = await newE2EPage();
|
|
516
453
|
await page.setContent(`<wm-select multiple select-all id='test' label="make a selection">
|
|
517
454
|
<wm-option id='first'>first option</wm-option>
|
|
518
455
|
<wm-option id='second'>second option</wm-option>
|
|
519
456
|
<wm-option id='third'>third option</wm-option>
|
|
520
457
|
</wm-select>`);
|
|
521
|
-
const
|
|
522
|
-
const
|
|
458
|
+
const wmSelectAllSelectedSpy = await page.spyOnEvent("wmSelectAllSelected");
|
|
459
|
+
const wmSelectAllDeselectedSpy = await page.spyOnEvent("wmSelectAllDeselected");
|
|
523
460
|
await page.keyboard.press("Tab");
|
|
524
461
|
await page.waitForChanges();
|
|
525
462
|
await page.keyboard.press("Enter");
|
|
@@ -528,17 +465,17 @@ describe("wm-select", () => {
|
|
|
528
465
|
await page.waitForChanges();
|
|
529
466
|
await page.keyboard.press("Space");
|
|
530
467
|
await page.waitForChanges();
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
// dropdown stayed open, focus stayed on button.
|
|
537
|
-
// reactivating it should deselect
|
|
468
|
+
expect(wmSelectAllSelectedSpy).toHaveReceivedEventTimes(1);
|
|
469
|
+
expect(wmSelectAllDeselectedSpy).toHaveReceivedEventTimes(0);
|
|
470
|
+
const options = await page.findAll("wm-option");
|
|
471
|
+
options.forEach((option) => option.setProperty("selected", true));
|
|
472
|
+
await page.waitForChanges();
|
|
473
|
+
// // dropdown stayed open, focus stayed on button.
|
|
474
|
+
// // reactivating it should deselect
|
|
538
475
|
await page.keyboard.press("Enter");
|
|
539
476
|
await page.waitForChanges();
|
|
540
|
-
expect(
|
|
541
|
-
expect(
|
|
477
|
+
expect(wmSelectAllSelectedSpy).toHaveReceivedEventTimes(1);
|
|
478
|
+
expect(wmSelectAllDeselectedSpy).toHaveReceivedEventTimes(1);
|
|
542
479
|
});
|
|
543
480
|
xit("handles keyboard motion", async () => {
|
|
544
481
|
const page = await newE2EPage();
|
|
@@ -168,11 +168,11 @@ export class Select {
|
|
|
168
168
|
this.allSelected ? this.deselectAllOptions() : this.selectAllOptions();
|
|
169
169
|
}
|
|
170
170
|
selectAllOptions() {
|
|
171
|
-
this.
|
|
171
|
+
this.announce(this.allOptionsSelectedMessage);
|
|
172
172
|
this.wmSelectAllSelected.emit();
|
|
173
173
|
}
|
|
174
174
|
deselectAllOptions() {
|
|
175
|
-
this.
|
|
175
|
+
this.announce(this.allOptionsDeselectedMessage);
|
|
176
176
|
this.wmSelectAllDeselected.emit();
|
|
177
177
|
}
|
|
178
178
|
handleButtonBlur(ev) {
|
|
@@ -506,18 +506,6 @@ export class Select {
|
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
setSelectAllButton() {
|
|
510
|
-
if (this.allSelected) {
|
|
511
|
-
this.selectAllEl.textContent = this.deselectAllMessage;
|
|
512
|
-
this.announce(this.allOptionsSelectedMessage);
|
|
513
|
-
}
|
|
514
|
-
else {
|
|
515
|
-
this.selectAllEl.textContent = this.selectAllMessage;
|
|
516
|
-
if (this.selectedOptions.length === 0) {
|
|
517
|
-
this.announce(this.allOptionsDeselectedMessage);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
509
|
announce(message) {
|
|
522
510
|
// \u00A0 is a non-breaking space character, which causes the message to be read as a new one
|
|
523
511
|
if (this.liveRegionEl.textContent === message) {
|