@watermarkinsights/ripple 4.0.0-24 → 4.0.0-25
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-d70c4eb6.js → global-6e29613f.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-tag-input.cjs.entry.js +35 -40
- package/dist/cjs/wm-tag-option.cjs.entry.js +1 -3
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +36 -41
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +2 -4
- package/dist/esm/{global-1031a892.js → global-a2562f72.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-tag-input.entry.js +35 -40
- package/dist/esm/wm-tag-option.entry.js +1 -3
- package/dist/esm-es5/{global-1031a892.js → global-a2562f72.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/ripple/p-06255b79.entry.js +1 -0
- package/dist/ripple/{p-772c0085.system.entry.js → p-afcca96a.system.entry.js} +1 -1
- package/dist/ripple/{p-4bd858fd.js → p-b1ab88e8.js} +1 -1
- package/dist/ripple/{p-02be1746.system.js → p-f2479cb7.system.js} +1 -1
- package/dist/ripple/{p-867b2a05.system.js → p-f312f110.system.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +118 -0
- package/dist/types/components/wm-tag-input/wm-tag-option/wm-tag-option.d.ts +18 -0
- package/package.json +1 -1
- package/dist/ripple/p-5172bd3b.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-6e29613f.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\":[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],\"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\"],\"isExpanded\":[32],\"liveRegionMessage\":[32],\"focusedOption\":[32],\"focusedColumn\":[32],\"focusedTagIndex\":[32],\"tagsList\":[32]},[[0,\"privTagOptionSelected\",\"handleTagOptionSelected\"],[0,\"privTagOptionDeselected\",\"handleTagOptionDeselected\"],[4,\"click\",\"handleClick\"],[11,\"scroll\",\"dismissTooltip\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-tag-option.cjs\",[[0,\"wm-tag-option\",{\"selected\":[1028],\"locked\":[4],\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"emitSelectedEvent\":[64],\"emitDeselectedEvent\":[64]}]]],[\"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\":[1,\"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,\"intCloneClicked\",\"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],\"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\"],\"isExpanded\":[32],\"liveRegionMessage\":[32],\"focusedOption\":[32],\"focusedColumn\":[32],\"focusedTagIndex\":[32],\"tagsList\":[32]},[[0,\"privTagOptionSelected\",\"handleTagOptionSelected\"],[0,\"privTagOptionDeselected\",\"handleTagOptionDeselected\"],[4,\"click\",\"handleClick\"],[11,\"scroll\",\"dismissTooltip\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-tag-option.cjs\",[[0,\"wm-tag-option\",{\"selected\":[1540],\"locked\":[4],\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"emitSelectedEvent\":[64],\"emitDeselectedEvent\":[64]}]]],[\"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\":[1,\"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,\"intCloneClicked\",\"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-6e29613f.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\":[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],\"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\"],\"isExpanded\":[32],\"liveRegionMessage\":[32],\"focusedOption\":[32],\"focusedColumn\":[32],\"focusedTagIndex\":[32],\"tagsList\":[32]},[[0,\"privTagOptionSelected\",\"handleTagOptionSelected\"],[0,\"privTagOptionDeselected\",\"handleTagOptionDeselected\"],[4,\"click\",\"handleClick\"],[11,\"scroll\",\"dismissTooltip\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-tag-option.cjs\",[[0,\"wm-tag-option\",{\"selected\":[1028],\"locked\":[4],\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"emitSelectedEvent\":[64],\"emitDeselectedEvent\":[64]}]]],[\"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\":[1,\"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,\"intCloneClicked\",\"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],\"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\"],\"isExpanded\":[32],\"liveRegionMessage\":[32],\"focusedOption\":[32],\"focusedColumn\":[32],\"focusedTagIndex\":[32],\"tagsList\":[32]},[[0,\"privTagOptionSelected\",\"handleTagOptionSelected\"],[0,\"privTagOptionDeselected\",\"handleTagOptionDeselected\"],[4,\"click\",\"handleClick\"],[11,\"scroll\",\"dismissTooltip\"],[0,\"blur\",\"handleBlur\"]]]]],[\"wm-tag-option.cjs\",[[0,\"wm-tag-option\",{\"selected\":[1540],\"locked\":[4],\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"emitSelectedEvent\":[64],\"emitDeselectedEvent\":[64]}]]],[\"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\":[1,\"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,\"intCloneClicked\",\"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;
|
|
@@ -96,9 +96,7 @@ const TagInput = class {
|
|
|
96
96
|
}
|
|
97
97
|
// for visual stuff (measuring, truncating...)
|
|
98
98
|
get _tagEls() {
|
|
99
|
-
return this.tagAreaEl
|
|
100
|
-
? Array.from(this.tagAreaEl.querySelectorAll(".tag"))
|
|
101
|
-
: [];
|
|
99
|
+
return this.tagAreaEl ? Array.from(this.tagAreaEl.querySelectorAll(".tag")) : [];
|
|
102
100
|
}
|
|
103
101
|
// unlocked and selected tags, i.e. the ones that the user can interact with.
|
|
104
102
|
// (as opposed to locked tags who can't be focused / deleted)
|
|
@@ -112,9 +110,7 @@ const TagInput = class {
|
|
|
112
110
|
}
|
|
113
111
|
// get the wm-tag-option, given the internal representation (dropdown li or table tr)
|
|
114
112
|
tagOptionFromEl(el) {
|
|
115
|
-
return el.id === "add-new-btn"
|
|
116
|
-
? undefined
|
|
117
|
-
: this.el.querySelector("#" + el.id);
|
|
113
|
+
return el.id === "add-new-btn" ? undefined : this.el.querySelector("#" + el.id);
|
|
118
114
|
}
|
|
119
115
|
// get the wm-tag-option, given the internal representation of a tag
|
|
120
116
|
tagOptionFromTag(el) {
|
|
@@ -130,8 +126,7 @@ const TagInput = class {
|
|
|
130
126
|
if (!!this.focusedOption) {
|
|
131
127
|
return this.elFromTagOption(this.focusedOption);
|
|
132
128
|
}
|
|
133
|
-
else if (this.addNewButton &&
|
|
134
|
-
this.addNewButton.classList.contains("focused")) {
|
|
129
|
+
else if (this.addNewButton && this.addNewButton.classList.contains("focused")) {
|
|
135
130
|
return this.addNewButton;
|
|
136
131
|
}
|
|
137
132
|
}
|
|
@@ -207,7 +202,7 @@ const TagInput = class {
|
|
|
207
202
|
}, { tagName: tag });
|
|
208
203
|
}
|
|
209
204
|
isElOrChild(el) {
|
|
210
|
-
return
|
|
205
|
+
return el === this.el || this.el.shadowRoot.contains(el) || this.el.contains(el);
|
|
211
206
|
}
|
|
212
207
|
componentWillLoad() {
|
|
213
208
|
if (!this.placeholder) {
|
|
@@ -246,6 +241,14 @@ const TagInput = class {
|
|
|
246
241
|
this.tagsList = [...lockedTags, ...regularTags];
|
|
247
242
|
}
|
|
248
243
|
componentDidLoad() {
|
|
244
|
+
// Set up observer to announce changes in selected tags, or removed user-added tags
|
|
245
|
+
const observerAnnouncer = new MutationObserver((optionListMutations) => optionListMutations.forEach((mutationRecord) => this.handleChangeAnnouncement(mutationRecord)));
|
|
246
|
+
observerAnnouncer.observe(this.el, {
|
|
247
|
+
subtree: true,
|
|
248
|
+
attributes: true,
|
|
249
|
+
attributeFilter: ["selected"],
|
|
250
|
+
childList: true,
|
|
251
|
+
});
|
|
249
252
|
// Set up observer that ensures parent reload
|
|
250
253
|
// when children wm-tag-options are removed
|
|
251
254
|
const optionListObserver = new MutationObserver((optionListMutations) => optionListMutations.forEach((mutationRecord) => this.handleOptionListChange(mutationRecord)));
|
|
@@ -261,41 +264,41 @@ const TagInput = class {
|
|
|
261
264
|
});
|
|
262
265
|
}
|
|
263
266
|
}
|
|
267
|
+
handleChangeAnnouncement(mutationRecord) {
|
|
268
|
+
const tagOptionEl = mutationRecord.target;
|
|
269
|
+
if (mutationRecord.type == "childList" && mutationRecord.removedNodes.length > 0) {
|
|
270
|
+
// announce deselection of user-added tag, whose element removal is picked up
|
|
271
|
+
this.announce(this.tagRemovedMessage(mutationRecord.removedNodes[0].textContent));
|
|
272
|
+
}
|
|
273
|
+
else if (mutationRecord.type == "attributes") {
|
|
274
|
+
// announce selection or deselection of all kinds of tags
|
|
275
|
+
if (tagOptionEl.selected) {
|
|
276
|
+
this.announce(this.tagAddedMessage(tagOptionEl.textContent));
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
this.announce(this.tagRemovedMessage(tagOptionEl.textContent));
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
264
283
|
handleOptionListChange(record) {
|
|
265
284
|
const addedNodes = Array.from(record.addedNodes);
|
|
266
285
|
if (addedNodes.length > 0) {
|
|
267
286
|
addedNodes.forEach((n) => !this.tagsList.includes(n) && this.tagsList.push(n));
|
|
268
|
-
//const tagNames = addedNodes.map(o => this.getTagName(o)).join(", ")
|
|
269
|
-
// this.announce(this.tagAddedMessage(tagNames));
|
|
270
287
|
}
|
|
271
288
|
const removedNodes = Array.from(record.removedNodes);
|
|
272
289
|
if (removedNodes.length > 0) {
|
|
273
290
|
this.tagsList = this.tagsList.filter((t) => !removedNodes.includes(t));
|
|
274
|
-
//const tagNames = removedNodes.map(o => this.getTagName(o)).join(", ")
|
|
275
|
-
//this.announce(this.tagRemovedMessage(tagNames));
|
|
276
291
|
}
|
|
277
292
|
}
|
|
278
293
|
handleTagOptionSelected(ev) {
|
|
279
294
|
const selOption = ev.target;
|
|
280
295
|
this.tagsList = this.tagsList.concat(selOption);
|
|
281
|
-
//this.announce(this.tagAddedMessage(this.getTagName(selOption)));
|
|
282
296
|
}
|
|
283
297
|
handleTagOptionDeselected(ev) {
|
|
284
298
|
const deselOption = ev.target;
|
|
285
299
|
this.tagsList = this.tagsList.filter((t) => t != deselOption);
|
|
286
|
-
//this.announce(this.tagAddedMessage(this.getTagName(deselOption)));
|
|
287
300
|
}
|
|
288
301
|
handleTagListChange(mutationRecord) {
|
|
289
|
-
const addedNodes = Array.from(mutationRecord.addedNodes);
|
|
290
|
-
if (addedNodes.length > 0) {
|
|
291
|
-
const tagNames = addedNodes.map(t => t.querySelector(".sr-only").textContent).join(", ");
|
|
292
|
-
this.announce(this.tagAddedMessage(tagNames));
|
|
293
|
-
}
|
|
294
|
-
const removedNodes = Array.from(mutationRecord.removedNodes);
|
|
295
|
-
if (removedNodes.length > 0) {
|
|
296
|
-
const tagNames = removedNodes.map(t => t.querySelector(".sr-only").textContent).join(", ");
|
|
297
|
-
this.announce(this.tagRemovedMessage(tagNames));
|
|
298
|
-
}
|
|
299
302
|
// there are 2 cases: the option still exists but is no longer selected,
|
|
300
303
|
// or it was removed altogether
|
|
301
304
|
const removedTag = mutationRecord.removedNodes[0];
|
|
@@ -487,9 +490,7 @@ const TagInput = class {
|
|
|
487
490
|
// user is adding a new tag
|
|
488
491
|
const tagName = this.inputEl.value;
|
|
489
492
|
if (!!tagName) {
|
|
490
|
-
this.isExistingTag(tagName)
|
|
491
|
-
? this.announce(this.tagAlreadyAddedMessage(tagName))
|
|
492
|
-
: this.addTags(tagName);
|
|
493
|
+
this.isExistingTag(tagName) ? this.announce(this.tagAlreadyAddedMessage(tagName)) : this.addTags(tagName);
|
|
493
494
|
this.resetInput();
|
|
494
495
|
}
|
|
495
496
|
}
|
|
@@ -513,9 +514,7 @@ const TagInput = class {
|
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
516
|
else {
|
|
516
|
-
const items = this.filteredOptionEls
|
|
517
|
-
.filter((o) => !o.locked)
|
|
518
|
-
.map((o) => this.elFromTagOption(o));
|
|
517
|
+
const items = this.filteredOptionEls.filter((o) => !o.locked).map((o) => this.elFromTagOption(o));
|
|
519
518
|
const next = functions.findNext(items, this._focusedOption, true);
|
|
520
519
|
this.focusOption(next);
|
|
521
520
|
}
|
|
@@ -538,9 +537,7 @@ const TagInput = class {
|
|
|
538
537
|
}
|
|
539
538
|
}
|
|
540
539
|
else {
|
|
541
|
-
const items = this.filteredOptionEls
|
|
542
|
-
.filter((o) => !o.locked)
|
|
543
|
-
.map((o) => this.elFromTagOption(o));
|
|
540
|
+
const items = this.filteredOptionEls.filter((o) => !o.locked).map((o) => this.elFromTagOption(o));
|
|
544
541
|
const prev = functions.findPrev(items, this._focusedOption, true);
|
|
545
542
|
this.focusOption(prev);
|
|
546
543
|
}
|
|
@@ -734,8 +731,7 @@ const TagInput = class {
|
|
|
734
731
|
this.inputEl.style.width = "100%";
|
|
735
732
|
this.inputEl.classList.add("extended");
|
|
736
733
|
if (lastTag) {
|
|
737
|
-
const spaceAvailable = this.tagAreaEl.getBoundingClientRect().right -
|
|
738
|
-
lastTag.getBoundingClientRect().right;
|
|
734
|
+
const spaceAvailable = this.tagAreaEl.getBoundingClientRect().right - lastTag.getBoundingClientRect().right;
|
|
739
735
|
if (spaceAvailable >= this.inputMinimumWidth) {
|
|
740
736
|
// because the input has right: 0px
|
|
741
737
|
// all thats needed to properly place it is setting position: absolute, top, and width
|
|
@@ -774,11 +770,12 @@ const TagInput = class {
|
|
|
774
770
|
return helpText;
|
|
775
771
|
}
|
|
776
772
|
renderAddNewButton() {
|
|
773
|
+
const inputValue = this.inputEl.value.trim();
|
|
777
774
|
const hasNonWhiteSpaceCharacters = this.inputEl.value.match(/\S/);
|
|
778
775
|
const optionAlreadyExists = this.isExistingTag(this.inputEl.value.trim());
|
|
779
776
|
return (this.addNew &&
|
|
780
777
|
hasNonWhiteSpaceCharacters &&
|
|
781
|
-
!optionAlreadyExists && (index.h("li", { ref: (el) => (this.addNewButton = el), id: "add-new-btn", class: "add-new-btn" }, "Add " +
|
|
778
|
+
!optionAlreadyExists && (index.h("li", { ref: (el) => (this.addNewButton = el), id: "add-new-btn", class: "add-new-btn", onClick: () => this.addTags(inputValue) }, "Add " + inputValue)));
|
|
782
779
|
}
|
|
783
780
|
renderTable() {
|
|
784
781
|
return (index.h("div", { class: "table-wrapper", onScroll: () => this.dismissTooltip() }, index.h("table", { id: "table", role: "grid", class: `${this.colWidths ? "fixed-widths" : ""}`, "aria-label": this.label, "aria-multiselectable": "true" }, this.renderTableHeaders(), this.filteredOptionEls.length ? (this.filteredOptionEls.map((o) => this.renderTableRow(o))) : (index.h("div", { class: "no-results" }, this.noResultsMessage)))));
|
|
@@ -861,9 +858,7 @@ const TagInput = class {
|
|
|
861
858
|
return (index.h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, index.h("div", { class: "label-wrapper" }, index.h("label", { class: "label", htmlFor: "input" }, this.label, this.requiredField && (index.h("span", { class: "required", "aria-hidden": "true" }, "*")))), index.h("div", { class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, index.h("div", { class: "upper-row" }, index.h("div", { class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, index.h("ul", { ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this.focusableTags.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
862
859
|
this.focusedTagIndex = undefined;
|
|
863
860
|
this.handleBlur(ev);
|
|
864
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), index.h("input", { id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""}`, "aria-label": `${this.label} ${this.isDropdown
|
|
865
|
-
? intl.globalMessages.getCharacterLimit(this.characterLimit)
|
|
866
|
-
: ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
|
|
861
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), index.h("input", { id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""}`, "aria-label": `${this.label} ${this.isDropdown ? intl.globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
|
|
867
862
|
this.handleBlur(ev);
|
|
868
863
|
}, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (index.h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (index.h("div", { id: "info", class: "info-text" }, this.info)), this.errorMessage && index.h("div", { id: "error" }, this.errorMessage), index.h("div", { class: "sr-only", "aria-live": "assertive", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
869
864
|
}
|
|
@@ -32,9 +32,7 @@ const TagOption = class {
|
|
|
32
32
|
}
|
|
33
33
|
handleSelected() {
|
|
34
34
|
// to update tag input when options state change.
|
|
35
|
-
this.selected
|
|
36
|
-
? this.privTagOptionSelected.emit()
|
|
37
|
-
: this.privTagOptionDeselected.emit();
|
|
35
|
+
this.selected ? this.privTagOptionSelected.emit() : this.privTagOptionDeselected.emit();
|
|
38
36
|
}
|
|
39
37
|
get el() { return index.getElement(this); }
|
|
40
38
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, forceUpdate
|
|
1
|
+
import { h, forceUpdate } from "@stencil/core";
|
|
2
2
|
import { csvToArray, debounce, hideTooltip, intl, measureText, shouldOpenUp, showTooltip, truncateText, findPrev, findNext, } from "../../global/functions";
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class TagInput {
|
|
@@ -87,9 +87,7 @@ export class TagInput {
|
|
|
87
87
|
}
|
|
88
88
|
// for visual stuff (measuring, truncating...)
|
|
89
89
|
get _tagEls() {
|
|
90
|
-
return this.tagAreaEl
|
|
91
|
-
? Array.from(this.tagAreaEl.querySelectorAll(".tag"))
|
|
92
|
-
: [];
|
|
90
|
+
return this.tagAreaEl ? Array.from(this.tagAreaEl.querySelectorAll(".tag")) : [];
|
|
93
91
|
}
|
|
94
92
|
// unlocked and selected tags, i.e. the ones that the user can interact with.
|
|
95
93
|
// (as opposed to locked tags who can't be focused / deleted)
|
|
@@ -103,9 +101,7 @@ export class TagInput {
|
|
|
103
101
|
}
|
|
104
102
|
// get the wm-tag-option, given the internal representation (dropdown li or table tr)
|
|
105
103
|
tagOptionFromEl(el) {
|
|
106
|
-
return el.id === "add-new-btn"
|
|
107
|
-
? undefined
|
|
108
|
-
: this.el.querySelector("#" + el.id);
|
|
104
|
+
return el.id === "add-new-btn" ? undefined : this.el.querySelector("#" + el.id);
|
|
109
105
|
}
|
|
110
106
|
// get the wm-tag-option, given the internal representation of a tag
|
|
111
107
|
tagOptionFromTag(el) {
|
|
@@ -121,8 +117,7 @@ export class TagInput {
|
|
|
121
117
|
if (!!this.focusedOption) {
|
|
122
118
|
return this.elFromTagOption(this.focusedOption);
|
|
123
119
|
}
|
|
124
|
-
else if (this.addNewButton &&
|
|
125
|
-
this.addNewButton.classList.contains("focused")) {
|
|
120
|
+
else if (this.addNewButton && this.addNewButton.classList.contains("focused")) {
|
|
126
121
|
return this.addNewButton;
|
|
127
122
|
}
|
|
128
123
|
}
|
|
@@ -198,7 +193,7 @@ export class TagInput {
|
|
|
198
193
|
}, { tagName: tag });
|
|
199
194
|
}
|
|
200
195
|
isElOrChild(el) {
|
|
201
|
-
return
|
|
196
|
+
return el === this.el || this.el.shadowRoot.contains(el) || this.el.contains(el);
|
|
202
197
|
}
|
|
203
198
|
componentWillLoad() {
|
|
204
199
|
if (!this.placeholder) {
|
|
@@ -237,6 +232,14 @@ export class TagInput {
|
|
|
237
232
|
this.tagsList = [...lockedTags, ...regularTags];
|
|
238
233
|
}
|
|
239
234
|
componentDidLoad() {
|
|
235
|
+
// Set up observer to announce changes in selected tags, or removed user-added tags
|
|
236
|
+
const observerAnnouncer = new MutationObserver((optionListMutations) => optionListMutations.forEach((mutationRecord) => this.handleChangeAnnouncement(mutationRecord)));
|
|
237
|
+
observerAnnouncer.observe(this.el, {
|
|
238
|
+
subtree: true,
|
|
239
|
+
attributes: true,
|
|
240
|
+
attributeFilter: ["selected"],
|
|
241
|
+
childList: true,
|
|
242
|
+
});
|
|
240
243
|
// Set up observer that ensures parent reload
|
|
241
244
|
// when children wm-tag-options are removed
|
|
242
245
|
const optionListObserver = new MutationObserver((optionListMutations) => optionListMutations.forEach((mutationRecord) => this.handleOptionListChange(mutationRecord)));
|
|
@@ -252,41 +255,41 @@ export class TagInput {
|
|
|
252
255
|
});
|
|
253
256
|
}
|
|
254
257
|
}
|
|
258
|
+
handleChangeAnnouncement(mutationRecord) {
|
|
259
|
+
const tagOptionEl = mutationRecord.target;
|
|
260
|
+
if (mutationRecord.type == "childList" && mutationRecord.removedNodes.length > 0) {
|
|
261
|
+
// announce deselection of user-added tag, whose element removal is picked up
|
|
262
|
+
this.announce(this.tagRemovedMessage(mutationRecord.removedNodes[0].textContent));
|
|
263
|
+
}
|
|
264
|
+
else if (mutationRecord.type == "attributes") {
|
|
265
|
+
// announce selection or deselection of all kinds of tags
|
|
266
|
+
if (tagOptionEl.selected) {
|
|
267
|
+
this.announce(this.tagAddedMessage(tagOptionEl.textContent));
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
this.announce(this.tagRemovedMessage(tagOptionEl.textContent));
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
255
274
|
handleOptionListChange(record) {
|
|
256
275
|
const addedNodes = Array.from(record.addedNodes);
|
|
257
276
|
if (addedNodes.length > 0) {
|
|
258
277
|
addedNodes.forEach((n) => !this.tagsList.includes(n) && this.tagsList.push(n));
|
|
259
|
-
//const tagNames = addedNodes.map(o => this.getTagName(o)).join(", ")
|
|
260
|
-
// this.announce(this.tagAddedMessage(tagNames));
|
|
261
278
|
}
|
|
262
279
|
const removedNodes = Array.from(record.removedNodes);
|
|
263
280
|
if (removedNodes.length > 0) {
|
|
264
281
|
this.tagsList = this.tagsList.filter((t) => !removedNodes.includes(t));
|
|
265
|
-
//const tagNames = removedNodes.map(o => this.getTagName(o)).join(", ")
|
|
266
|
-
//this.announce(this.tagRemovedMessage(tagNames));
|
|
267
282
|
}
|
|
268
283
|
}
|
|
269
284
|
handleTagOptionSelected(ev) {
|
|
270
285
|
const selOption = ev.target;
|
|
271
286
|
this.tagsList = this.tagsList.concat(selOption);
|
|
272
|
-
//this.announce(this.tagAddedMessage(this.getTagName(selOption)));
|
|
273
287
|
}
|
|
274
288
|
handleTagOptionDeselected(ev) {
|
|
275
289
|
const deselOption = ev.target;
|
|
276
290
|
this.tagsList = this.tagsList.filter((t) => t != deselOption);
|
|
277
|
-
//this.announce(this.tagAddedMessage(this.getTagName(deselOption)));
|
|
278
291
|
}
|
|
279
292
|
handleTagListChange(mutationRecord) {
|
|
280
|
-
const addedNodes = Array.from(mutationRecord.addedNodes);
|
|
281
|
-
if (addedNodes.length > 0) {
|
|
282
|
-
const tagNames = addedNodes.map(t => t.querySelector(".sr-only").textContent).join(", ");
|
|
283
|
-
this.announce(this.tagAddedMessage(tagNames));
|
|
284
|
-
}
|
|
285
|
-
const removedNodes = Array.from(mutationRecord.removedNodes);
|
|
286
|
-
if (removedNodes.length > 0) {
|
|
287
|
-
const tagNames = removedNodes.map(t => t.querySelector(".sr-only").textContent).join(", ");
|
|
288
|
-
this.announce(this.tagRemovedMessage(tagNames));
|
|
289
|
-
}
|
|
290
293
|
// there are 2 cases: the option still exists but is no longer selected,
|
|
291
294
|
// or it was removed altogether
|
|
292
295
|
const removedTag = mutationRecord.removedNodes[0];
|
|
@@ -478,9 +481,7 @@ export class TagInput {
|
|
|
478
481
|
// user is adding a new tag
|
|
479
482
|
const tagName = this.inputEl.value;
|
|
480
483
|
if (!!tagName) {
|
|
481
|
-
this.isExistingTag(tagName)
|
|
482
|
-
? this.announce(this.tagAlreadyAddedMessage(tagName))
|
|
483
|
-
: this.addTags(tagName);
|
|
484
|
+
this.isExistingTag(tagName) ? this.announce(this.tagAlreadyAddedMessage(tagName)) : this.addTags(tagName);
|
|
484
485
|
this.resetInput();
|
|
485
486
|
}
|
|
486
487
|
}
|
|
@@ -504,9 +505,7 @@ export class TagInput {
|
|
|
504
505
|
}
|
|
505
506
|
}
|
|
506
507
|
else {
|
|
507
|
-
const items = this.filteredOptionEls
|
|
508
|
-
.filter((o) => !o.locked)
|
|
509
|
-
.map((o) => this.elFromTagOption(o));
|
|
508
|
+
const items = this.filteredOptionEls.filter((o) => !o.locked).map((o) => this.elFromTagOption(o));
|
|
510
509
|
const next = findNext(items, this._focusedOption, true);
|
|
511
510
|
this.focusOption(next);
|
|
512
511
|
}
|
|
@@ -529,9 +528,7 @@ export class TagInput {
|
|
|
529
528
|
}
|
|
530
529
|
}
|
|
531
530
|
else {
|
|
532
|
-
const items = this.filteredOptionEls
|
|
533
|
-
.filter((o) => !o.locked)
|
|
534
|
-
.map((o) => this.elFromTagOption(o));
|
|
531
|
+
const items = this.filteredOptionEls.filter((o) => !o.locked).map((o) => this.elFromTagOption(o));
|
|
535
532
|
const prev = findPrev(items, this._focusedOption, true);
|
|
536
533
|
this.focusOption(prev);
|
|
537
534
|
}
|
|
@@ -725,8 +722,7 @@ export class TagInput {
|
|
|
725
722
|
this.inputEl.style.width = "100%";
|
|
726
723
|
this.inputEl.classList.add("extended");
|
|
727
724
|
if (lastTag) {
|
|
728
|
-
const spaceAvailable = this.tagAreaEl.getBoundingClientRect().right -
|
|
729
|
-
lastTag.getBoundingClientRect().right;
|
|
725
|
+
const spaceAvailable = this.tagAreaEl.getBoundingClientRect().right - lastTag.getBoundingClientRect().right;
|
|
730
726
|
if (spaceAvailable >= this.inputMinimumWidth) {
|
|
731
727
|
// because the input has right: 0px
|
|
732
728
|
// all thats needed to properly place it is setting position: absolute, top, and width
|
|
@@ -765,11 +761,12 @@ export class TagInput {
|
|
|
765
761
|
return helpText;
|
|
766
762
|
}
|
|
767
763
|
renderAddNewButton() {
|
|
764
|
+
const inputValue = this.inputEl.value.trim();
|
|
768
765
|
const hasNonWhiteSpaceCharacters = this.inputEl.value.match(/\S/);
|
|
769
766
|
const optionAlreadyExists = this.isExistingTag(this.inputEl.value.trim());
|
|
770
767
|
return (this.addNew &&
|
|
771
768
|
hasNonWhiteSpaceCharacters &&
|
|
772
|
-
!optionAlreadyExists && (h("li", { ref: (el) => (this.addNewButton = el), id: "add-new-btn", class: "add-new-btn" }, "Add " +
|
|
769
|
+
!optionAlreadyExists && (h("li", { ref: (el) => (this.addNewButton = el), id: "add-new-btn", class: "add-new-btn", onClick: () => this.addTags(inputValue) }, "Add " + inputValue)));
|
|
773
770
|
}
|
|
774
771
|
renderTable() {
|
|
775
772
|
return (h("div", { class: "table-wrapper", onScroll: () => this.dismissTooltip() }, h("table", { id: "table", role: "grid", class: `${this.colWidths ? "fixed-widths" : ""}`, "aria-label": this.label, "aria-multiselectable": "true" }, this.renderTableHeaders(), this.filteredOptionEls.length ? (this.filteredOptionEls.map((o) => this.renderTableRow(o))) : (h("div", { class: "no-results" }, this.noResultsMessage)))));
|
|
@@ -852,9 +849,7 @@ export class TagInput {
|
|
|
852
849
|
return (h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, h("label", { class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))), h("div", { class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { class: "upper-row" }, h("div", { class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this.focusableTags.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
853
850
|
this.focusedTagIndex = undefined;
|
|
854
851
|
this.handleBlur(ev);
|
|
855
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""}`, "aria-label": `${this.label} ${this.isDropdown
|
|
856
|
-
? globalMessages.getCharacterLimit(this.characterLimit)
|
|
857
|
-
: ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
|
|
852
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""}`, "aria-label": `${this.label} ${this.isDropdown ? globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
|
|
858
853
|
this.handleBlur(ev);
|
|
859
854
|
}, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { id: "info", class: "info-text" }, this.info)), this.errorMessage && h("div", { id: "error" }, this.errorMessage), h("div", { class: "sr-only", "aria-live": "assertive", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
860
855
|
}
|