@watermarkinsights/ripple 5.13.0 → 5.13.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-6l2OXl3R.js +92 -0
- package/dist/cjs/chartFunctions-uCzSt0yo.js +741 -0
- package/dist/cjs/functions-CqAwq8Fq.js +10526 -0
- package/dist/cjs/index-Cig4P4gJ.js +2086 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/interfaces-C7YbtGnk.js +37 -0
- package/dist/cjs/intl-BUs7ck9m.js +283 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/priv-calendar.cjs.entry.js +568 -0
- package/dist/cjs/priv-chart-popover.cjs.entry.js +136 -0
- package/dist/cjs/priv-navigator-button_2.cjs.entry.js +54 -0
- package/dist/cjs/priv-option-list_2.cjs.entry.js +556 -0
- package/dist/cjs/ripple.cjs.js +25 -0
- package/dist/cjs/wm-action-menu_4.cjs.entry.js +701 -0
- package/dist/cjs/wm-chart-slice.cjs.entry.js +20 -0
- package/dist/cjs/wm-chart.cjs.entry.js +159 -0
- package/dist/cjs/wm-date-range.cjs.entry.js +479 -0
- package/dist/cjs/wm-datepicker.cjs.entry.js +249 -0
- package/dist/cjs/wm-file-list.cjs.entry.js +20 -0
- package/dist/cjs/wm-file.cjs.entry.js +184 -0
- package/dist/cjs/wm-flyout.cjs.entry.js +169 -0
- package/dist/cjs/wm-input.cjs.entry.js +113 -0
- package/dist/cjs/wm-line-chart.cjs.entry.js +451 -0
- package/dist/cjs/wm-modal-footer.cjs.entry.js +46 -0
- package/dist/cjs/wm-modal-header.cjs.entry.js +38 -0
- package/dist/cjs/wm-modal-pss-footer.cjs.entry.js +42 -0
- package/dist/cjs/wm-modal-pss-header.cjs.entry.js +41 -0
- package/dist/cjs/wm-modal-pss.cjs.entry.js +137 -0
- package/dist/cjs/wm-modal.cjs.entry.js +135 -0
- package/dist/cjs/wm-navigation-hamburger.cjs.entry.js +50 -0
- package/dist/{ripple/wm-tab-panel.entry.js → cjs/wm-navigation-item.cjs.entry.js} +12 -24
- package/dist/cjs/wm-navigation.cjs.entry.js +118 -0
- package/dist/cjs/wm-navigator.cjs.entry.js +329 -0
- package/dist/{ripple/wm-search.entry.js → cjs/wm-nested-select.cjs.entry.js} +273 -171
- package/dist/cjs/wm-optgroup.cjs.entry.js +70 -0
- package/dist/cjs/wm-pagination.cjs.entry.js +225 -0
- package/dist/cjs/wm-progress-indicator.cjs.entry.js +109 -0
- package/dist/cjs/wm-progress-monitor.cjs.entry.js +73 -0
- package/dist/cjs/wm-progress-slice.cjs.entry.js +15 -0
- package/dist/cjs/wm-search.cjs.entry.js +210 -0
- package/dist/cjs/wm-select.cjs.entry.js +251 -0
- package/dist/cjs/wm-tab-item.cjs.entry.js +65 -0
- package/dist/cjs/wm-tab-list.cjs.entry.js +177 -0
- package/dist/cjs/wm-tab-panel.cjs.entry.js +34 -0
- package/dist/cjs/wm-tag-input.cjs.entry.js +879 -0
- package/dist/cjs/wm-tag-option.cjs.entry.js +37 -0
- package/dist/cjs/wm-textarea.cjs.entry.js +81 -0
- package/dist/cjs/wm-timepicker.cjs.entry.js +302 -0
- package/dist/cjs/wm-toggletip.cjs.entry.js +178 -0
- package/dist/cjs/wm-uploader.cjs.entry.js +315 -0
- package/dist/cjs/wm-wrapper.cjs.entry.js +19 -0
- package/dist/collection/collection-manifest.json +59 -0
- package/dist/collection/components/charts/chartFunctions.js +675 -0
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +922 -0
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +261 -0
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +128 -0
- package/dist/collection/components/charts/wm-chart/wm-chart.css +1288 -0
- package/dist/collection/components/charts/wm-chart/wm-chart.js +445 -0
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +1080 -0
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +742 -0
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +1288 -0
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +271 -0
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +922 -0
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +154 -0
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +124 -0
- package/dist/collection/components/datepickers/datepicker.css +1057 -0
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +1292 -0
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +849 -0
- package/dist/collection/components/datepickers/wm-date-range.js +869 -0
- package/dist/collection/components/datepickers/wm-datepicker.js +538 -0
- package/dist/collection/components/selects/priv-option-list/priv-option-list.css +931 -0
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +791 -0
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +1194 -0
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +644 -0
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +843 -0
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +265 -0
- package/dist/collection/components/selects/wm-option/wm-option.css +944 -0
- package/dist/collection/components/selects/wm-option/wm-option.js +539 -0
- package/dist/collection/components/selects/wm-select/wm-select.css +1117 -0
- package/dist/collection/components/selects/wm-select/wm-select.js +606 -0
- package/dist/collection/components/wm-action-menu/wm-action-menu.css +904 -0
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +444 -0
- package/dist/collection/components/wm-button/wm-button.css +1371 -0
- package/dist/collection/components/wm-button/wm-button.js +510 -0
- package/dist/collection/components/wm-file/wm-file.css +940 -0
- package/dist/collection/components/wm-file/wm-file.js +423 -0
- package/dist/collection/components/wm-file-list/wm-file-list.css +833 -0
- package/dist/collection/components/wm-file-list/wm-file-list.js +47 -0
- package/dist/collection/components/wm-flyout/wm-flyout.css +1027 -0
- package/dist/collection/components/wm-flyout/wm-flyout.js +460 -0
- package/dist/collection/components/wm-input/wm-input.css +1017 -0
- package/dist/collection/components/wm-input/wm-input.js +498 -0
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +904 -0
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +425 -0
- package/dist/collection/components/wm-modal/wm-modal-footer.css +858 -0
- package/dist/collection/components/wm-modal/wm-modal-footer.js +152 -0
- package/dist/collection/components/wm-modal/wm-modal-header.css +857 -0
- package/dist/collection/components/wm-modal/wm-modal-header.js +83 -0
- package/dist/collection/components/wm-modal/wm-modal.css +905 -0
- package/dist/collection/components/wm-modal/wm-modal.js +356 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +865 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +148 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +859 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +86 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +941 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +369 -0
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +860 -0
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +120 -0
- package/dist/collection/components/wm-navigation/wm-navigation-item.css +869 -0
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +99 -0
- package/dist/collection/components/wm-navigation/wm-navigation.css +911 -0
- package/dist/collection/components/wm-navigation/wm-navigation.js +192 -0
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +863 -0
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +90 -0
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +843 -0
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +130 -0
- package/dist/collection/components/wm-navigator/wm-navigator.css +916 -0
- package/dist/collection/components/wm-navigator/wm-navigator.js +515 -0
- package/dist/collection/components/wm-pagination/wm-pagination.css +984 -0
- package/dist/collection/components/wm-pagination/wm-pagination.js +373 -0
- package/dist/collection/components/wm-search/wm-search.css +909 -0
- package/dist/collection/components/wm-search/wm-search.js +462 -0
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +1091 -0
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +279 -0
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +882 -0
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +187 -0
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +854 -0
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +276 -0
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +838 -0
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +97 -0
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +1289 -0
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +1245 -0
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +251 -0
- package/dist/collection/components/wm-textarea/wm-textarea.css +993 -0
- package/dist/collection/components/wm-textarea/wm-textarea.js +331 -0
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +1107 -0
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +559 -0
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +1165 -0
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +295 -0
- package/dist/collection/components/wm-uploader/wm-uploader.css +1673 -0
- package/dist/collection/components/wm-uploader/wm-uploader.js +618 -0
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +28 -0
- package/dist/collection/dev/action-menu.js +0 -0
- package/dist/collection/dev/button.js +0 -0
- package/dist/collection/dev/chart-small.js +56 -0
- package/dist/collection/dev/chart.js +18 -0
- package/dist/collection/dev/date-range.js +6 -0
- package/dist/collection/dev/datepicker.js +46 -0
- package/dist/collection/dev/file-list.js +16 -0
- package/dist/collection/dev/file.js +0 -0
- package/dist/collection/dev/flyout.js +194 -0
- package/dist/collection/dev/input.js +6 -0
- package/dist/collection/dev/line-chart.js +0 -0
- package/dist/collection/dev/modal.js +48 -0
- package/dist/collection/dev/navigation.js +13 -0
- package/dist/collection/dev/navigator.js +34 -0
- package/dist/collection/dev/nested-select.js +36 -0
- package/dist/collection/dev/pagination.js +7 -0
- package/dist/collection/dev/progress-monitor.js +0 -0
- package/dist/collection/dev/pss-modal.js +8 -0
- package/dist/collection/dev/scripts.js +49 -0
- package/dist/collection/dev/search.js +72 -0
- package/dist/collection/dev/select.js +57 -0
- package/dist/collection/dev/snackbar.js +60 -0
- package/dist/collection/dev/tabs.js +44 -0
- package/dist/collection/dev/tag-input.js +32 -0
- package/dist/collection/dev/textarea.js +28 -0
- package/dist/collection/dev/timepicker.js +32 -0
- package/dist/collection/dev/toggletip.js +9 -0
- package/dist/collection/dev/uploader.js +139 -0
- package/dist/collection/global/__mocks__/functions.js +6 -0
- package/dist/collection/global/functions.js +841 -0
- package/dist/{ripple/app-globals-B7cOtGhY.js → collection/global/global.js} +2 -84
- package/dist/{ripple/interfaces-CrANcZM9.js → collection/global/interfaces.js} +4 -6
- package/dist/collection/global/intl.js +274 -0
- package/dist/collection/global/services/__mocks__/http-service.js +130 -0
- package/dist/collection/global/services/http-service.js +50 -0
- package/dist/collection/lang/lang.js +5 -0
- package/dist/collection/lang/missing.js +43 -0
- package/dist/collection/lang/piglatin.js +101 -0
- package/dist/components/index.js +85 -0
- package/dist/components/p-BlQdbOh_.js +294 -0
- package/dist/components/p-BvE5BEYe.js +146 -0
- package/dist/components/p-BzGDMpdL.js +592 -0
- package/dist/{ripple/wm-modal-header.entry.js → components/p-CLem5EoD.js} +35 -29
- package/dist/components/p-COwzv5zO.js +34 -0
- package/dist/components/p-CWx2NF6K.js +231 -0
- package/dist/{ripple/wm-progress-monitor.entry.js → components/p-D9GMUh0-.js} +217 -57
- package/dist/{ripple/wm-option.entry.js → components/p-DCSxoWXP.js} +384 -134
- package/dist/components/p-DG_w4q3M.js +196 -0
- package/dist/{ripple/intl-7p27BJSM.js → components/p-DStPjkvu.js} +1 -1
- package/dist/components/p-DdlNyc6u.js +10485 -0
- package/dist/{ripple/wm-toggletip.entry.js → components/p-DvXS4oTB.js} +44 -171
- package/dist/components/p-HPnDWE3g.js +1686 -0
- package/dist/components/p-K9lgwbAO.js +724 -0
- package/dist/{ripple/wm-textarea.entry.js → components/p-e_A35rK5.js} +132 -57
- package/dist/components/priv-calendar.js +6 -0
- package/dist/components/priv-chart-popover.js +6 -0
- package/dist/components/priv-navigator-button.js +6 -0
- package/dist/components/priv-navigator-item.js +6 -0
- package/dist/components/priv-option-list.js +6 -0
- package/dist/components/wm-action-menu.js +6 -0
- package/dist/components/wm-button.js +6 -0
- package/dist/components/wm-chart-slice.js +41 -0
- package/dist/components/wm-chart.js +197 -0
- package/dist/components/wm-date-range.js +522 -0
- package/dist/components/wm-datepicker.js +287 -0
- package/dist/components/wm-file-list.js +38 -0
- package/dist/components/wm-file.js +228 -0
- package/dist/components/wm-flyout.js +208 -0
- package/dist/components/wm-input.js +152 -0
- package/dist/components/wm-line-chart.js +497 -0
- package/dist/components/wm-menuitem.js +6 -0
- package/dist/components/wm-modal-footer.js +73 -0
- package/dist/components/wm-modal-header.js +61 -0
- package/dist/components/wm-modal-pss-footer.js +69 -0
- package/dist/components/wm-modal-pss-header.js +64 -0
- package/dist/components/wm-modal-pss.js +162 -0
- package/dist/components/wm-modal.js +161 -0
- package/dist/components/wm-navigation-hamburger.js +70 -0
- package/dist/components/wm-navigation-item.js +40 -0
- package/dist/components/wm-navigation.js +144 -0
- package/dist/components/wm-navigator.js +369 -0
- package/dist/{ripple/wm-flyout.entry.js → components/wm-nested-select.js} +313 -137
- package/dist/components/wm-optgroup.js +107 -0
- package/dist/components/wm-option.js +6 -0
- package/dist/components/wm-pagination.js +251 -0
- package/dist/components/wm-progress-indicator.js +144 -0
- package/dist/components/wm-progress-monitor.js +93 -0
- package/dist/components/wm-progress-slice.js +37 -0
- package/dist/components/wm-search.js +250 -0
- package/dist/components/wm-select.js +6 -0
- package/dist/components/wm-snackbar.js +209 -0
- package/dist/components/wm-tab-item.js +85 -0
- package/dist/components/wm-tab-list.js +217 -0
- package/dist/components/wm-tab-panel.js +52 -0
- package/dist/components/wm-tag-input.js +919 -0
- package/dist/components/wm-tag-option.js +63 -0
- package/dist/components/wm-textarea.js +113 -0
- package/dist/components/wm-timepicker.js +333 -0
- package/dist/components/wm-toggletip.js +200 -0
- package/dist/components/wm-uploader.js +348 -0
- package/dist/components/wm-wrapper.js +34 -0
- package/dist/esm/app-globals-eAJzxs1b.js +90 -0
- package/dist/{ripple/chartFunctions-CmeM8Tyx.js → esm/chartFunctions-C4yzutWl.js} +3 -4
- package/dist/{ripple/functions-DVLl0rH_.js → esm/functions-CU95tthb.js} +144 -7767
- package/dist/esm/index-EopL5zo4.js +2075 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/interfaces-CyJHzEjr.js +34 -0
- package/dist/esm/intl-CN471tL5.js +277 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/priv-calendar.entry.js +566 -0
- package/dist/esm/priv-chart-popover.entry.js +134 -0
- package/dist/esm/priv-navigator-button_2.entry.js +51 -0
- package/dist/esm/priv-option-list_2.entry.js +553 -0
- package/dist/esm/ripple.js +21 -0
- package/dist/esm/wm-action-menu_4.entry.js +696 -0
- package/dist/{ripple → esm}/wm-chart-slice.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +157 -0
- package/dist/esm/wm-date-range.entry.js +477 -0
- package/dist/esm/wm-datepicker.entry.js +247 -0
- package/dist/esm/wm-file-list.entry.js +18 -0
- package/dist/{ripple/wm-chart.entry.js → esm/wm-file.entry.js} +161 -136
- package/dist/esm/wm-flyout.entry.js +167 -0
- package/dist/esm/wm-input.entry.js +111 -0
- package/dist/esm/wm-line-chart.entry.js +449 -0
- package/dist/{ripple/wm-modal.entry.js → esm/wm-modal-footer.entry.js} +28 -117
- package/dist/{ripple/wm-input.entry.js → esm/wm-modal-header.entry.js} +24 -99
- package/dist/{ripple/wm-menuitem.entry.js → esm/wm-modal-pss-footer.entry.js} +28 -113
- package/dist/{ripple/wm-optgroup.entry.js → esm/wm-modal-pss-header.entry.js} +28 -57
- package/dist/esm/wm-modal-pss.entry.js +135 -0
- package/dist/esm/wm-modal.entry.js +133 -0
- package/dist/esm/wm-navigation-hamburger.entry.js +48 -0
- package/dist/{ripple/wm-file-list.entry.js → esm/wm-navigation-item.entry.js} +7 -7
- package/dist/{ripple/wm-file.entry.js → esm/wm-navigation.entry.js} +91 -157
- package/dist/esm/wm-navigator.entry.js +327 -0
- package/dist/{ripple/wm-select.entry.js → esm/wm-nested-select.entry.js} +193 -134
- package/dist/esm/wm-optgroup.entry.js +68 -0
- package/dist/esm/wm-pagination.entry.js +223 -0
- package/dist/esm/wm-progress-indicator.entry.js +107 -0
- package/dist/esm/wm-progress-monitor.entry.js +71 -0
- package/dist/{ripple → esm}/wm-progress-slice.entry.js +1 -1
- package/dist/esm/wm-search.entry.js +208 -0
- package/dist/esm/wm-select.entry.js +249 -0
- package/dist/esm/wm-tab-item.entry.js +63 -0
- package/dist/esm/wm-tab-list.entry.js +175 -0
- package/dist/esm/wm-tab-panel.entry.js +32 -0
- package/dist/esm/wm-tag-input.entry.js +877 -0
- package/dist/{ripple → esm}/wm-tag-option.entry.js +2 -2
- package/dist/esm/wm-textarea.entry.js +79 -0
- package/dist/esm/wm-timepicker.entry.js +300 -0
- package/dist/esm/wm-toggletip.entry.js +176 -0
- package/dist/esm/wm-uploader.entry.js +313 -0
- package/dist/{ripple → esm}/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-eAJzxs1b.js +1 -0
- package/dist/esm-es5/chartFunctions-C4yzutWl.js +1 -0
- package/dist/esm-es5/functions-CU95tthb.js +1 -0
- package/dist/esm-es5/index-EopL5zo4.js +1 -0
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/interfaces-CyJHzEjr.js +1 -0
- package/dist/esm-es5/intl-CN471tL5.js +1 -0
- package/dist/esm-es5/loader.js +1 -0
- package/dist/esm-es5/priv-calendar.entry.js +1 -0
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -0
- package/dist/esm-es5/priv-navigator-button_2.entry.js +1 -0
- package/dist/esm-es5/priv-option-list_2.entry.js +1 -0
- package/dist/esm-es5/ripple.js +1 -0
- package/dist/esm-es5/wm-action-menu_4.entry.js +1 -0
- package/dist/esm-es5/wm-chart-slice.entry.js +1 -0
- package/dist/esm-es5/wm-chart.entry.js +1 -0
- package/dist/esm-es5/wm-date-range.entry.js +1 -0
- package/dist/{ripple/wm-uploader.entry.js → esm-es5/wm-datepicker.entry.js} +1 -313
- package/dist/{ripple/wm-tab-item.entry.js → esm-es5/wm-file-list.entry.js} +1 -63
- package/dist/esm-es5/wm-file.entry.js +1 -0
- package/dist/esm-es5/wm-flyout.entry.js +1 -0
- package/dist/esm-es5/wm-input.entry.js +1 -0
- package/dist/esm-es5/wm-line-chart.entry.js +1 -0
- package/dist/{ripple/wm-navigation.entry.js → esm-es5/wm-modal-footer.entry.js} +1 -116
- package/dist/esm-es5/wm-modal-header.entry.js +1 -0
- package/dist/esm-es5/wm-modal-pss-footer.entry.js +1 -0
- package/dist/esm-es5/wm-modal-pss-header.entry.js +1 -0
- package/dist/esm-es5/wm-modal-pss.entry.js +1 -0
- package/dist/esm-es5/wm-modal.entry.js +1 -0
- package/dist/esm-es5/wm-navigation-hamburger.entry.js +1 -0
- package/dist/esm-es5/wm-navigation-item.entry.js +1 -0
- package/dist/esm-es5/wm-navigation.entry.js +1 -0
- package/dist/esm-es5/wm-navigator.entry.js +1 -0
- package/dist/esm-es5/wm-nested-select.entry.js +1 -0
- package/dist/esm-es5/wm-optgroup.entry.js +1 -0
- package/dist/esm-es5/wm-pagination.entry.js +1 -0
- package/dist/{ripple/wm-modal-footer.entry.js → esm-es5/wm-progress-indicator.entry.js} +1 -44
- package/dist/esm-es5/wm-progress-monitor.entry.js +1 -0
- package/dist/esm-es5/wm-progress-slice.entry.js +1 -0
- package/dist/esm-es5/wm-search.entry.js +1 -0
- package/dist/esm-es5/wm-select.entry.js +1 -0
- package/dist/esm-es5/wm-tab-item.entry.js +1 -0
- package/dist/esm-es5/wm-tab-list.entry.js +1 -0
- package/dist/esm-es5/wm-tab-panel.entry.js +1 -0
- package/dist/esm-es5/wm-tag-input.entry.js +1 -0
- package/dist/esm-es5/wm-tag-option.entry.js +1 -0
- package/dist/esm-es5/wm-textarea.entry.js +1 -0
- package/dist/esm-es5/wm-timepicker.entry.js +1 -0
- package/dist/esm-es5/wm-toggletip.entry.js +1 -0
- package/dist/esm-es5/wm-uploader.entry.js +1 -0
- package/dist/esm-es5/wm-wrapper.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +2 -0
- package/dist/loader/index.cjs.js +2 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +2 -0
- package/dist/loader/index.js +3 -0
- package/dist/ripple/index.esm.js +0 -1
- package/dist/ripple/p-007883c7.entry.js +1 -0
- package/dist/ripple/p-01456c1a.system.entry.js +1 -0
- package/dist/ripple/p-0b716fc3.system.entry.js +1 -0
- package/dist/ripple/p-11c9e7ee.system.entry.js +1 -0
- package/dist/ripple/p-176778bc.system.entry.js +1 -0
- package/dist/ripple/p-1f7e1851.entry.js +1 -0
- package/dist/ripple/p-28e8965b.system.entry.js +1 -0
- package/dist/ripple/p-29302f19.entry.js +1 -0
- package/dist/ripple/p-2bd007af.system.entry.js +1 -0
- package/dist/ripple/p-2f629074.system.entry.js +1 -0
- package/dist/ripple/{priv-navigator-item.entry.js → p-3042aae4.entry.js} +1 -30
- package/dist/ripple/p-340b73a9.system.entry.js +1 -0
- package/dist/ripple/p-369b764a.entry.js +1 -0
- package/dist/ripple/p-384d9208.system.entry.js +1 -0
- package/dist/ripple/p-3b08f15d.system.entry.js +1 -0
- package/dist/ripple/p-3d459e5a.entry.js +1 -0
- package/dist/ripple/p-3e1202c6.entry.js +1 -0
- package/dist/ripple/p-3e9a2ef6.system.entry.js +1 -0
- package/dist/ripple/p-418e3d1a.system.entry.js +1 -0
- package/dist/ripple/p-44d2ecd5.entry.js +1 -0
- package/dist/ripple/p-4841e9cd.entry.js +1 -0
- package/dist/ripple/p-492a8a9f.entry.js +1 -0
- package/dist/ripple/p-4a28da80.system.entry.js +1 -0
- package/dist/ripple/{priv-option-list.entry.js → p-4b264fb2.entry.js} +1 -385
- package/dist/ripple/p-4b4671e7.entry.js +1 -0
- package/dist/ripple/p-4b5bb9c8.entry.js +1 -0
- package/dist/ripple/{wm-modal-pss-header.entry.js → p-4f4868cb.system.entry.js} +1 -39
- package/dist/ripple/p-54aeadde.entry.js +1 -0
- package/dist/ripple/p-56422175.entry.js +1 -0
- package/dist/ripple/p-568bb1f9.entry.js +1 -0
- package/dist/ripple/p-5802a317.system.entry.js +1 -0
- package/dist/ripple/p-5ae17300.system.entry.js +1 -0
- package/dist/ripple/p-5e3fbe45.entry.js +1 -0
- package/dist/ripple/p-60363868.entry.js +1 -0
- package/dist/ripple/p-792f7c79.entry.js +1 -0
- package/dist/ripple/p-7aa1c452.system.entry.js +1 -0
- package/dist/ripple/p-7fbbb63a.system.entry.js +1 -0
- package/dist/ripple/p-812615ae.entry.js +1 -0
- package/dist/ripple/{wm-snackbar.entry.js → p-86b22f7b.entry.js} +1 -185
- package/dist/ripple/p-8cbefd04.entry.js +1 -0
- package/dist/ripple/{wm-progress-indicator.entry.js → p-8ee4401f.entry.js} +1 -107
- package/dist/ripple/{priv-chart-popover.entry.js → p-94e4dc77.system.entry.js} +1 -134
- package/dist/ripple/p-9a8e3525.entry.js +1 -0
- package/dist/ripple/p-9c14176e.system.entry.js +1 -0
- package/dist/ripple/p-9c993a3e.system.entry.js +1 -0
- package/dist/ripple/p-BIzU753x.system.js +1 -0
- package/dist/ripple/p-BNmjUWhs.js +1 -0
- package/dist/ripple/p-CDk__KSi.system.js +1 -0
- package/dist/ripple/p-CFV9VgE2.system.js +1 -0
- package/dist/ripple/p-CGHKc6U6.js +1 -0
- package/dist/ripple/p-CTau6pR2.system.js +2 -0
- package/dist/ripple/p-CU95tthb.js +1 -0
- package/dist/ripple/p-CcozwjO1.js +1 -0
- package/dist/ripple/p-CwkTkxrj.system.js +1 -0
- package/dist/ripple/p-CyJHzEjr.js +1 -0
- package/dist/ripple/p-EopL5zo4.js +2 -0
- package/dist/ripple/p-GtT-372c.system.js +1 -0
- package/dist/ripple/p-YWpyar7R.system.js +1 -0
- package/dist/ripple/p-a4d4a752.entry.js +1 -0
- package/dist/ripple/p-a7b4f720.system.entry.js +1 -0
- package/dist/ripple/p-adffc8d9.system.entry.js +1 -0
- package/dist/ripple/p-b53e397f.entry.js +1 -0
- package/dist/ripple/p-b6956929.system.entry.js +1 -0
- package/dist/ripple/p-b79f5594.system.entry.js +1 -0
- package/dist/ripple/p-b94e08f4.system.entry.js +1 -0
- package/dist/ripple/p-bb930411.entry.js +1 -0
- package/dist/ripple/p-bd0f8d31.system.entry.js +1 -0
- package/dist/ripple/p-be146306.system.entry.js +1 -0
- package/dist/ripple/p-c59fa446.system.entry.js +1 -0
- package/dist/ripple/p-c7269416.entry.js +1 -0
- package/dist/ripple/p-c7f446e9.system.entry.js +1 -0
- package/dist/ripple/p-ca8c26b0.entry.js +1 -0
- package/dist/ripple/p-cccfdbb8.entry.js +1 -0
- package/dist/ripple/p-cfb2bbf1.system.entry.js +1 -0
- package/dist/ripple/p-d298ef0a.system.entry.js +1 -0
- package/dist/ripple/p-d66f8dfc.system.entry.js +1 -0
- package/dist/ripple/p-d715f567.system.entry.js +1 -0
- package/dist/ripple/p-d8cd69fb.entry.js +1 -0
- package/dist/ripple/p-d9033c6b.entry.js +1 -0
- package/dist/ripple/p-da5ad94c.system.entry.js +1 -0
- package/dist/ripple/p-da6646bf.entry.js +1 -0
- package/dist/ripple/p-dc44a726.entry.js +1 -0
- package/dist/ripple/p-e04561b5.system.entry.js +1 -0
- package/dist/ripple/p-e8cdf66c.entry.js +1 -0
- package/dist/ripple/p-ec1c0b3e.system.entry.js +1 -0
- package/dist/ripple/p-ef9c66dd.entry.js +1 -0
- package/dist/ripple/p-f44dafc1.entry.js +1 -0
- package/dist/ripple/p-f4c59921.system.entry.js +1 -0
- package/dist/ripple/p-f6e9cb0e.entry.js +1 -0
- package/dist/ripple/p-faa45b92.system.entry.js +1 -0
- package/dist/ripple/p-faf34fd1.system.entry.js +1 -0
- package/dist/ripple/{wm-tab-list.entry.js → p-fd006ae2.entry.js} +1 -175
- package/dist/ripple/p-fd9c8220.system.entry.js +1 -0
- package/dist/ripple/p-fe1ac4e0.entry.js +1 -0
- package/dist/ripple/p-fe5c9681.entry.js +1 -0
- package/dist/ripple/p-feb343ad.system.entry.js +1 -0
- package/dist/ripple/p-ff3cbb1d.entry.js +1 -0
- package/dist/ripple/p-rbkCjczS.system.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -48
- package/dist/ripple/ripple.js +127 -0
- package/package.json +2 -2
- package/dist/ripple/index-CU5QNCKv.js +0 -4167
- package/dist/ripple/priv-calendar.entry.js +0 -566
- package/dist/ripple/priv-navigator-button.entry.js +0 -24
- package/dist/ripple/wm-action-menu.entry.js +0 -201
- package/dist/ripple/wm-button.entry.js +0 -197
- package/dist/ripple/wm-date-range.entry.js +0 -477
- package/dist/ripple/wm-datepicker.entry.js +0 -247
- package/dist/ripple/wm-line-chart.entry.js +0 -449
- package/dist/ripple/wm-modal-pss-footer.entry.js +0 -40
- package/dist/ripple/wm-modal-pss.entry.js +0 -135
- package/dist/ripple/wm-navigation-hamburger.entry.js +0 -48
- package/dist/ripple/wm-navigation-item.entry.js +0 -18
- package/dist/ripple/wm-navigator.entry.js +0 -368
- package/dist/ripple/wm-nested-select.entry.js +0 -308
- package/dist/ripple/wm-pagination.entry.js +0 -223
- package/dist/ripple/wm-tag-input.entry.js +0 -877
- package/dist/ripple/wm-timepicker.entry.js +0 -300
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { intl, handleDisabledAttribute, toBool } from "../../global/functions";
|
|
3
|
+
import { globalMessages } from "../../global/intl";
|
|
4
|
+
export class Search {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.searchType = "basic";
|
|
7
|
+
this.disabled = false;
|
|
8
|
+
/**
|
|
9
|
+
* Props required for both variants.
|
|
10
|
+
*/
|
|
11
|
+
this.placeholder = "";
|
|
12
|
+
this.label = "";
|
|
13
|
+
this.numResults = 0;
|
|
14
|
+
/**
|
|
15
|
+
* This exposes the input's value on the host component so that the app can access it.
|
|
16
|
+
*/
|
|
17
|
+
this.value = "";
|
|
18
|
+
/**
|
|
19
|
+
* If the user is tabbing, the search and find variant will display a link to jump to a search result.
|
|
20
|
+
*/
|
|
21
|
+
this.isTabbing = false;
|
|
22
|
+
/**
|
|
23
|
+
* Prop specifically for the search and find variant. The id points to the id of the option currently highlighted,
|
|
24
|
+
* so that tabbing and screen reader users can jump to this option rather than tab through the list to find it.
|
|
25
|
+
*/
|
|
26
|
+
this.highlightedId = "";
|
|
27
|
+
this.highlightedName = null;
|
|
28
|
+
/**
|
|
29
|
+
* Indicates which of the search results is currently highlighted. It will be displayed as "[highlightedNum] of [numResults]" next to the input in the search and find variant.
|
|
30
|
+
* This number updates as the user browses using the buttons.
|
|
31
|
+
*/
|
|
32
|
+
this.highlightedNum = 0;
|
|
33
|
+
this.previousBlurredValue = "";
|
|
34
|
+
/**
|
|
35
|
+
* Live region announcement
|
|
36
|
+
*/
|
|
37
|
+
this.announcement = "";
|
|
38
|
+
this.linkEl = null;
|
|
39
|
+
}
|
|
40
|
+
get isDisabled() {
|
|
41
|
+
// string "false" needs to be treated as bool False because react wrappers convert bool to string.
|
|
42
|
+
return toBool(this.disabled);
|
|
43
|
+
}
|
|
44
|
+
get resultCount() {
|
|
45
|
+
let message = "";
|
|
46
|
+
const basicMessage = intl.formatMessage({
|
|
47
|
+
id: "search.resultsFound",
|
|
48
|
+
defaultMessage: "{numResults, plural, =0 {No results} one {1 result} other {# results}} found",
|
|
49
|
+
}, { numResults: this.numResults });
|
|
50
|
+
const findMessage = intl.formatMessage({
|
|
51
|
+
id: "search.xOfYResults",
|
|
52
|
+
defaultMessage: "{numResults, plural, =0 {No results found} other {{current} of {numResults} results}}",
|
|
53
|
+
}, { numResults: this.numResults, current: this.highlightedNum });
|
|
54
|
+
if (this.searchType === "basic") {
|
|
55
|
+
message = basicMessage;
|
|
56
|
+
}
|
|
57
|
+
else if (this.searchType === "find") {
|
|
58
|
+
message = findMessage;
|
|
59
|
+
}
|
|
60
|
+
return message;
|
|
61
|
+
}
|
|
62
|
+
toggleTabbingOn() {
|
|
63
|
+
this.isTabbing = true;
|
|
64
|
+
this.linkEl && this.linkEl.classList.remove("sr-only");
|
|
65
|
+
this.linkEl && this.linkEl.classList.add("user-is-tabbing");
|
|
66
|
+
}
|
|
67
|
+
toggleTabbingOff() {
|
|
68
|
+
this.isTabbing = false;
|
|
69
|
+
this.linkEl && this.linkEl.classList.add("sr-only");
|
|
70
|
+
this.linkEl && this.linkEl.classList.remove("user-is-tabbing");
|
|
71
|
+
}
|
|
72
|
+
componentWillLoad() {
|
|
73
|
+
if (this.placeholder === "") {
|
|
74
|
+
console.error("You must set the placeholder property for the wm-search component.");
|
|
75
|
+
}
|
|
76
|
+
if (this.label === "") {
|
|
77
|
+
console.error("You must set the label property for the wm-search component.");
|
|
78
|
+
}
|
|
79
|
+
this.hookToModal();
|
|
80
|
+
handleDisabledAttribute(this.el, this.isDisabled);
|
|
81
|
+
}
|
|
82
|
+
hookToModal() {
|
|
83
|
+
// if the search is in a modal we want to clear the input when the modal closes
|
|
84
|
+
let el = this.el;
|
|
85
|
+
while (!!el) {
|
|
86
|
+
if (el.tagName === "WM-MODAL") {
|
|
87
|
+
this.parentModal = el;
|
|
88
|
+
}
|
|
89
|
+
el = el.parentElement;
|
|
90
|
+
}
|
|
91
|
+
if (this.parentModal) {
|
|
92
|
+
const events = ["wmModalCloseTriggered", "wmModalPrimaryTriggered", "wmModalSecondaryTriggered"];
|
|
93
|
+
events.map((event) => {
|
|
94
|
+
this.parentModal.addEventListener(event, () => {
|
|
95
|
+
this.updateValue("");
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
// this undocumented method is needed in hookToModal (needs to be exposed so we can set the callback func)
|
|
101
|
+
async updateValue(value) {
|
|
102
|
+
this.value = value;
|
|
103
|
+
//For search-and-find, the results should always restart at "[1 or 0] of ..." after any new input.
|
|
104
|
+
//Reset the highlight count here just in case the new value doesn't end up changing the number of results.
|
|
105
|
+
this.resetHighlightCountToStart();
|
|
106
|
+
}
|
|
107
|
+
handleNumResultsUpdate() {
|
|
108
|
+
this.resetHighlightCountToStart();
|
|
109
|
+
if (this.value) {
|
|
110
|
+
this.announceChanges();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
handleDisabledChange() {
|
|
114
|
+
handleDisabledAttribute(this.el, this.isDisabled);
|
|
115
|
+
}
|
|
116
|
+
resetHighlightCountToStart() {
|
|
117
|
+
if (this.searchType === "find") {
|
|
118
|
+
this.highlightedNum = this.numResults ? 1 : 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
announce(message) {
|
|
122
|
+
if (this.resultsLiveRegion.textContent === message) {
|
|
123
|
+
message += "\u00A0";
|
|
124
|
+
}
|
|
125
|
+
this.announcement = message;
|
|
126
|
+
}
|
|
127
|
+
announceChanges() {
|
|
128
|
+
window.requestAnimationFrame(() => {
|
|
129
|
+
// requestAnimationFrame to allow all changes to occur before announcing results
|
|
130
|
+
let messageToAnnounce = this.resultCount;
|
|
131
|
+
// if a result is found, also include it after the liveregion message
|
|
132
|
+
if (this.searchType === "find" && this.highlightedName) {
|
|
133
|
+
messageToAnnounce += `, ${this.highlightedName}`;
|
|
134
|
+
}
|
|
135
|
+
this.announce(messageToAnnounce);
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
changeHighlightedNum(newNum) {
|
|
139
|
+
if (this.numResults) {
|
|
140
|
+
if (newNum < 1) {
|
|
141
|
+
// we were on the first item, going down: go to last item
|
|
142
|
+
this.highlightedNum = this.numResults;
|
|
143
|
+
}
|
|
144
|
+
else if (newNum > this.numResults) {
|
|
145
|
+
// we were on the last item, going up: go to first item
|
|
146
|
+
this.highlightedNum = 1;
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
this.highlightedNum = newNum;
|
|
150
|
+
}
|
|
151
|
+
this.wmSearchBrowseResults.emit({ position: this.highlightedNum });
|
|
152
|
+
this.announceChanges();
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
handleBlur() {
|
|
156
|
+
if (this.previousBlurredValue !== this.value) {
|
|
157
|
+
this.wmSearchValueChanged.emit({ value: this.value });
|
|
158
|
+
}
|
|
159
|
+
this.previousBlurredValue = this.value;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Functions that return elements specifically for search-and-find.
|
|
163
|
+
*/
|
|
164
|
+
renderResultsAndBrowseButtons() {
|
|
165
|
+
return (h("div", { class: "wm-find-elements" }, h("div", { id: "results-display", class: "results" }, !!this.value && this.resultCount), h("div", { class: "wm-button-collection" }, h("wm-button", { "button-type": "icononly", icon: "#move-up", tooltip: globalMessages.previous, "tooltip-position": "bottom", onClick: () => this.changeHighlightedNum(this.highlightedNum - 1), disabled: this.isDisabled || this.numResults < 2, "label-for-identical-buttons": intl.formatMessage({
|
|
166
|
+
id: "search.previousResult",
|
|
167
|
+
defaultMessage: "Press to hear previous matching result",
|
|
168
|
+
}) }), h("wm-button", { "button-type": "icononly", icon: "#move-down", tooltip: globalMessages.next, "tooltip-position": "bottom", onClick: () => this.changeHighlightedNum(this.highlightedNum + 1), disabled: this.isDisabled || this.numResults < 2, "label-for-identical-buttons": intl.formatMessage({
|
|
169
|
+
id: "search.nextResult",
|
|
170
|
+
defaultMessage: "Press to hear next matching result",
|
|
171
|
+
}) }))));
|
|
172
|
+
}
|
|
173
|
+
renderJumpToLink() {
|
|
174
|
+
if (this.numResults && this.highlightedId) {
|
|
175
|
+
return (h("a", { ref: (el) => (this.linkEl = el), href: `#${this.highlightedId}`, class: "jump-results sr-only" }, intl.formatMessage({
|
|
176
|
+
id: "search.jumpToResult",
|
|
177
|
+
defaultMessage: "Jump to search result in list",
|
|
178
|
+
})));
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
return null;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* End search and find render helpers
|
|
186
|
+
*/
|
|
187
|
+
render() {
|
|
188
|
+
return (h(Host, { key: '44fb666bb24ce19be5c1bb2b49da8e293d42f1de' }, h("div", { key: '134ffa5150ae4fbb63bffc6f2c34d42fad590205', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: 'ac167e75f10db71531d4b9beea9c9e2ff3e1bdb1', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
|
|
189
|
+
id: "search.typeToFilterResults",
|
|
190
|
+
defaultMessage: "Type to filter the results",
|
|
191
|
+
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '0c180be6082de7eddb06b2d15307fa85192915dc', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '794b85e73e667dabcf8c0004d8e44a16f7a4197d', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
|
|
192
|
+
}
|
|
193
|
+
static get is() { return "wm-search"; }
|
|
194
|
+
static get encapsulation() { return "shadow"; }
|
|
195
|
+
static get delegatesFocus() { return true; }
|
|
196
|
+
static get originalStyleUrls() {
|
|
197
|
+
return {
|
|
198
|
+
"$": ["wm-search.scss"]
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
static get styleUrls() {
|
|
202
|
+
return {
|
|
203
|
+
"$": ["wm-search.css"]
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
static get properties() {
|
|
207
|
+
return {
|
|
208
|
+
"searchType": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"attribute": "search-type",
|
|
211
|
+
"mutable": true,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "\"basic\" | \"find\"",
|
|
214
|
+
"resolved": "\"basic\" | \"find\"",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": false,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": ""
|
|
222
|
+
},
|
|
223
|
+
"getter": false,
|
|
224
|
+
"setter": false,
|
|
225
|
+
"reflect": false,
|
|
226
|
+
"defaultValue": "\"basic\""
|
|
227
|
+
},
|
|
228
|
+
"disabled": {
|
|
229
|
+
"type": "boolean",
|
|
230
|
+
"attribute": "disabled",
|
|
231
|
+
"mutable": false,
|
|
232
|
+
"complexType": {
|
|
233
|
+
"original": "boolean",
|
|
234
|
+
"resolved": "boolean",
|
|
235
|
+
"references": {}
|
|
236
|
+
},
|
|
237
|
+
"required": false,
|
|
238
|
+
"optional": false,
|
|
239
|
+
"docs": {
|
|
240
|
+
"tags": [],
|
|
241
|
+
"text": ""
|
|
242
|
+
},
|
|
243
|
+
"getter": false,
|
|
244
|
+
"setter": false,
|
|
245
|
+
"reflect": true,
|
|
246
|
+
"defaultValue": "false"
|
|
247
|
+
},
|
|
248
|
+
"placeholder": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"attribute": "placeholder",
|
|
251
|
+
"mutable": false,
|
|
252
|
+
"complexType": {
|
|
253
|
+
"original": "string",
|
|
254
|
+
"resolved": "string",
|
|
255
|
+
"references": {}
|
|
256
|
+
},
|
|
257
|
+
"required": false,
|
|
258
|
+
"optional": false,
|
|
259
|
+
"docs": {
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": "Props required for both variants."
|
|
262
|
+
},
|
|
263
|
+
"getter": false,
|
|
264
|
+
"setter": false,
|
|
265
|
+
"reflect": false,
|
|
266
|
+
"defaultValue": "\"\""
|
|
267
|
+
},
|
|
268
|
+
"label": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"attribute": "label",
|
|
271
|
+
"mutable": false,
|
|
272
|
+
"complexType": {
|
|
273
|
+
"original": "string",
|
|
274
|
+
"resolved": "string",
|
|
275
|
+
"references": {}
|
|
276
|
+
},
|
|
277
|
+
"required": false,
|
|
278
|
+
"optional": false,
|
|
279
|
+
"docs": {
|
|
280
|
+
"tags": [],
|
|
281
|
+
"text": ""
|
|
282
|
+
},
|
|
283
|
+
"getter": false,
|
|
284
|
+
"setter": false,
|
|
285
|
+
"reflect": false,
|
|
286
|
+
"defaultValue": "\"\""
|
|
287
|
+
},
|
|
288
|
+
"numResults": {
|
|
289
|
+
"type": "number",
|
|
290
|
+
"attribute": "num-results",
|
|
291
|
+
"mutable": true,
|
|
292
|
+
"complexType": {
|
|
293
|
+
"original": "number",
|
|
294
|
+
"resolved": "number",
|
|
295
|
+
"references": {}
|
|
296
|
+
},
|
|
297
|
+
"required": false,
|
|
298
|
+
"optional": false,
|
|
299
|
+
"docs": {
|
|
300
|
+
"tags": [],
|
|
301
|
+
"text": ""
|
|
302
|
+
},
|
|
303
|
+
"getter": false,
|
|
304
|
+
"setter": false,
|
|
305
|
+
"reflect": false,
|
|
306
|
+
"defaultValue": "0"
|
|
307
|
+
},
|
|
308
|
+
"value": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"attribute": "value",
|
|
311
|
+
"mutable": true,
|
|
312
|
+
"complexType": {
|
|
313
|
+
"original": "string",
|
|
314
|
+
"resolved": "string",
|
|
315
|
+
"references": {}
|
|
316
|
+
},
|
|
317
|
+
"required": false,
|
|
318
|
+
"optional": false,
|
|
319
|
+
"docs": {
|
|
320
|
+
"tags": [],
|
|
321
|
+
"text": "This exposes the input's value on the host component so that the app can access it."
|
|
322
|
+
},
|
|
323
|
+
"getter": false,
|
|
324
|
+
"setter": false,
|
|
325
|
+
"reflect": true,
|
|
326
|
+
"defaultValue": "\"\""
|
|
327
|
+
},
|
|
328
|
+
"highlightedId": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"attribute": "highlighted-id",
|
|
331
|
+
"mutable": false,
|
|
332
|
+
"complexType": {
|
|
333
|
+
"original": "string",
|
|
334
|
+
"resolved": "string",
|
|
335
|
+
"references": {}
|
|
336
|
+
},
|
|
337
|
+
"required": false,
|
|
338
|
+
"optional": false,
|
|
339
|
+
"docs": {
|
|
340
|
+
"tags": [],
|
|
341
|
+
"text": "Prop specifically for the search and find variant. The id points to the id of the option currently highlighted,\nso that tabbing and screen reader users can jump to this option rather than tab through the list to find it."
|
|
342
|
+
},
|
|
343
|
+
"getter": false,
|
|
344
|
+
"setter": false,
|
|
345
|
+
"reflect": false,
|
|
346
|
+
"defaultValue": "\"\""
|
|
347
|
+
},
|
|
348
|
+
"highlightedName": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"attribute": "highlighted-name",
|
|
351
|
+
"mutable": false,
|
|
352
|
+
"complexType": {
|
|
353
|
+
"original": "string | null",
|
|
354
|
+
"resolved": "null | string",
|
|
355
|
+
"references": {}
|
|
356
|
+
},
|
|
357
|
+
"required": false,
|
|
358
|
+
"optional": false,
|
|
359
|
+
"docs": {
|
|
360
|
+
"tags": [],
|
|
361
|
+
"text": ""
|
|
362
|
+
},
|
|
363
|
+
"getter": false,
|
|
364
|
+
"setter": false,
|
|
365
|
+
"reflect": false,
|
|
366
|
+
"defaultValue": "null"
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
static get states() {
|
|
371
|
+
return {
|
|
372
|
+
"isTabbing": {},
|
|
373
|
+
"highlightedNum": {},
|
|
374
|
+
"previousBlurredValue": {},
|
|
375
|
+
"parentModal": {},
|
|
376
|
+
"announcement": {}
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
static get events() {
|
|
380
|
+
return [{
|
|
381
|
+
"method": "wmSearchBrowseResults",
|
|
382
|
+
"name": "wmSearchBrowseResults",
|
|
383
|
+
"bubbles": true,
|
|
384
|
+
"cancelable": true,
|
|
385
|
+
"composed": true,
|
|
386
|
+
"docs": {
|
|
387
|
+
"tags": [],
|
|
388
|
+
"text": "Emitted when the buttons in the search-and-find variant are pressed."
|
|
389
|
+
},
|
|
390
|
+
"complexType": {
|
|
391
|
+
"original": "{ position: number }",
|
|
392
|
+
"resolved": "{ position: number; }",
|
|
393
|
+
"references": {}
|
|
394
|
+
}
|
|
395
|
+
}, {
|
|
396
|
+
"method": "wmSearchValueChanged",
|
|
397
|
+
"name": "wmSearchValueChanged",
|
|
398
|
+
"bubbles": true,
|
|
399
|
+
"cancelable": true,
|
|
400
|
+
"composed": true,
|
|
401
|
+
"docs": {
|
|
402
|
+
"tags": [],
|
|
403
|
+
"text": ""
|
|
404
|
+
},
|
|
405
|
+
"complexType": {
|
|
406
|
+
"original": "{ value: string }",
|
|
407
|
+
"resolved": "{ value: string; }",
|
|
408
|
+
"references": {}
|
|
409
|
+
}
|
|
410
|
+
}];
|
|
411
|
+
}
|
|
412
|
+
static get methods() {
|
|
413
|
+
return {
|
|
414
|
+
"updateValue": {
|
|
415
|
+
"complexType": {
|
|
416
|
+
"signature": "(value: string) => Promise<void>",
|
|
417
|
+
"parameters": [{
|
|
418
|
+
"name": "value",
|
|
419
|
+
"type": "string",
|
|
420
|
+
"docs": ""
|
|
421
|
+
}],
|
|
422
|
+
"references": {
|
|
423
|
+
"Promise": {
|
|
424
|
+
"location": "global",
|
|
425
|
+
"id": "global::Promise"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"return": "Promise<void>"
|
|
429
|
+
},
|
|
430
|
+
"docs": {
|
|
431
|
+
"text": "",
|
|
432
|
+
"tags": []
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
static get elementRef() { return "el"; }
|
|
438
|
+
static get watchers() {
|
|
439
|
+
return [{
|
|
440
|
+
"propName": "numResults",
|
|
441
|
+
"methodName": "handleNumResultsUpdate"
|
|
442
|
+
}, {
|
|
443
|
+
"propName": "disabled",
|
|
444
|
+
"methodName": "handleDisabledChange"
|
|
445
|
+
}];
|
|
446
|
+
}
|
|
447
|
+
static get listeners() {
|
|
448
|
+
return [{
|
|
449
|
+
"name": "wmUserIsTabbing",
|
|
450
|
+
"method": "toggleTabbingOn",
|
|
451
|
+
"target": "window",
|
|
452
|
+
"capture": false,
|
|
453
|
+
"passive": false
|
|
454
|
+
}, {
|
|
455
|
+
"name": "wmUserIsNotTabbing",
|
|
456
|
+
"method": "toggleTabbingOff",
|
|
457
|
+
"target": "window",
|
|
458
|
+
"capture": false,
|
|
459
|
+
"passive": false
|
|
460
|
+
}];
|
|
461
|
+
}
|
|
462
|
+
}
|