@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,510 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { getIconCodeFromName } from "../../global/interfaces";
|
|
3
|
+
import { generateId, hideTooltip, handleDisabledAttribute, showTooltip, toBool, triggerFormSubmit, } from "../../global/functions";
|
|
4
|
+
export class Button {
|
|
5
|
+
constructor() {
|
|
6
|
+
// icon and tooltip have reflect set to true. Without reflect, the react wrappers don't expose the attribute
|
|
7
|
+
// and the component throws errors when they are required (when buttonType is icononly or navigational)
|
|
8
|
+
this.disabled = false;
|
|
9
|
+
this.buttonType = "secondary";
|
|
10
|
+
this.tooltipPosition = "bottom-right";
|
|
11
|
+
this.permanentlyDelete = false;
|
|
12
|
+
this.textWrap = true;
|
|
13
|
+
this.isSubmit = false;
|
|
14
|
+
this.isTabbing = false;
|
|
15
|
+
this.id = generateId();
|
|
16
|
+
this.ariaPopup = false;
|
|
17
|
+
}
|
|
18
|
+
get isDisabled() {
|
|
19
|
+
// string "false" needs to be treated as bool False because react wrappers convert bool to string.
|
|
20
|
+
return toBool(this.disabled);
|
|
21
|
+
}
|
|
22
|
+
get isTruncated() {
|
|
23
|
+
return !!this.buttonEl && this.buttonType === "textonly" && this.buttonEl.offsetWidth < this.buttonEl.scrollWidth;
|
|
24
|
+
}
|
|
25
|
+
get hasTooltip() {
|
|
26
|
+
// tooltip is only rendered for icononly and navigational types, or if the button text is truncated
|
|
27
|
+
return ["icononly", "navigational"].includes(this.buttonType) || this.isTruncated;
|
|
28
|
+
}
|
|
29
|
+
get buttonClasses() {
|
|
30
|
+
let classes = "wm-button";
|
|
31
|
+
classes += this.permanentlyDelete ? " -permanentlydelete" : "";
|
|
32
|
+
classes += this.buttonType ? " -" + this.buttonType : " -secondary";
|
|
33
|
+
classes += this.textWrap ? "" : " nowrap";
|
|
34
|
+
classes += this.isTabbing ? " user-is-tabbing" : "";
|
|
35
|
+
classes += this.isTruncated ? " -truncated" : "";
|
|
36
|
+
classes += this.customBackground === "dark" ? " dark" : "";
|
|
37
|
+
return classes;
|
|
38
|
+
}
|
|
39
|
+
toggleTabbingOn() {
|
|
40
|
+
this.isTabbing = true;
|
|
41
|
+
}
|
|
42
|
+
toggleTabbingOff() {
|
|
43
|
+
this.isTabbing = false;
|
|
44
|
+
}
|
|
45
|
+
// we need to listen for scroll events during the capture phase because they do not bubble up
|
|
46
|
+
// there can be layouts where the main content has 100vh and overflows
|
|
47
|
+
// in these cases window will register no scroll events unless we catch on they way down
|
|
48
|
+
handleScroll() {
|
|
49
|
+
hideTooltip();
|
|
50
|
+
}
|
|
51
|
+
validateType(newValue) {
|
|
52
|
+
const valid = [
|
|
53
|
+
"primary",
|
|
54
|
+
"secondary",
|
|
55
|
+
"textonly",
|
|
56
|
+
"icononly",
|
|
57
|
+
"navigational",
|
|
58
|
+
"selector",
|
|
59
|
+
"selector-primary",
|
|
60
|
+
"pairpositive",
|
|
61
|
+
"pairnegative",
|
|
62
|
+
].includes(newValue);
|
|
63
|
+
if (!valid) {
|
|
64
|
+
this.buttonType = "secondary";
|
|
65
|
+
}
|
|
66
|
+
this.validateIcon();
|
|
67
|
+
}
|
|
68
|
+
updateIcon() {
|
|
69
|
+
this.icon = getIconCodeFromName(this.icon);
|
|
70
|
+
}
|
|
71
|
+
handleDisabledChange() {
|
|
72
|
+
handleDisabledAttribute(this.el, this.isDisabled);
|
|
73
|
+
}
|
|
74
|
+
validateIcon() {
|
|
75
|
+
switch (this.buttonType) {
|
|
76
|
+
case "icononly":
|
|
77
|
+
case "navigational":
|
|
78
|
+
// if the style is icononly or navigational...
|
|
79
|
+
// - an icon must be provided
|
|
80
|
+
if (!this.icon) {
|
|
81
|
+
console.error("wm-button should have a valid 'icon' property when button-type is set to 'icononly' or 'navigational'.");
|
|
82
|
+
}
|
|
83
|
+
// - if no tooltip text was passed and we couldn't generate one, throw an error
|
|
84
|
+
if (!this.tooltip) {
|
|
85
|
+
console.error("wm-button should have a valid 'tooltip' property when button-type is set to 'icononly' or 'navigational'.");
|
|
86
|
+
}
|
|
87
|
+
break;
|
|
88
|
+
case "pairpositive":
|
|
89
|
+
this.icon = "f12c";
|
|
90
|
+
break;
|
|
91
|
+
case "pairnegative":
|
|
92
|
+
this.icon = "f739";
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
handleKeydown(ev) {
|
|
97
|
+
switch (ev.key) {
|
|
98
|
+
case "Enter":
|
|
99
|
+
ev.preventDefault();
|
|
100
|
+
if (!this.isDisabled) {
|
|
101
|
+
this.el.click();
|
|
102
|
+
}
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
handleMouseEnter(ev) {
|
|
107
|
+
if (this.hasTooltip) {
|
|
108
|
+
let tooltipText = "";
|
|
109
|
+
if (this.isTruncated && this.el.textContent) {
|
|
110
|
+
// when truncated, tooltip text is the button's content
|
|
111
|
+
tooltipText = this.el.textContent;
|
|
112
|
+
}
|
|
113
|
+
else if (this.tooltip) {
|
|
114
|
+
// otherwise it is the tooltip property if present
|
|
115
|
+
tooltipText = this.tooltip;
|
|
116
|
+
}
|
|
117
|
+
showTooltip(this.tooltipPosition, ev.target, tooltipText);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
handleFocus(ev) {
|
|
121
|
+
if (this.hasTooltip && this.isTabbing) {
|
|
122
|
+
let tooltipText = "";
|
|
123
|
+
if (this.isTruncated && this.el.textContent) {
|
|
124
|
+
// when truncated, tooltip text is the button's content
|
|
125
|
+
tooltipText = this.el.textContent;
|
|
126
|
+
}
|
|
127
|
+
else if (this.tooltip) {
|
|
128
|
+
// otherwise it is the tooltip property if present
|
|
129
|
+
tooltipText = this.tooltip;
|
|
130
|
+
}
|
|
131
|
+
showTooltip(this.tooltipPosition, ev.target, tooltipText);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
componentWillLoad() {
|
|
135
|
+
this.validateType(this.buttonType);
|
|
136
|
+
if (this.icon) {
|
|
137
|
+
this.icon = this.icon = getIconCodeFromName(this.icon);
|
|
138
|
+
}
|
|
139
|
+
handleDisabledAttribute(this.el, this.isDisabled);
|
|
140
|
+
}
|
|
141
|
+
componentDidLoad() {
|
|
142
|
+
if (document.body.classList.contains("wmcl-user-is-tabbing")) {
|
|
143
|
+
this.toggleTabbingOn();
|
|
144
|
+
}
|
|
145
|
+
this.isSubmit && this.el.addEventListener("click", () => triggerFormSubmit(this.el.closest("form")));
|
|
146
|
+
this.ariaPopup = !!this.el.getAttribute("aria-haspopup");
|
|
147
|
+
}
|
|
148
|
+
getAriaLabel() {
|
|
149
|
+
if (this.buttonType === "icononly" || this.buttonType === "navigational") {
|
|
150
|
+
return this.labelForIdenticalButtons || this.tooltip;
|
|
151
|
+
}
|
|
152
|
+
if (this.labelForIdenticalButtons) {
|
|
153
|
+
return this.labelForIdenticalButtons;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
renderIcon() {
|
|
157
|
+
const defaultIconSize = this.buttonType == "navigational" || this.buttonType == "icononly" ? "1.125rem" : "0.875rem";
|
|
158
|
+
let transformStyle = "";
|
|
159
|
+
transformStyle += this.iconRotate ? `rotate(${this.iconRotate}deg)` : "";
|
|
160
|
+
transformStyle += this.iconFlip === "horizontal" ? `scaleX(-1)` : "";
|
|
161
|
+
transformStyle += this.iconFlip === "vertical" ? `scaleY(-1)` : "";
|
|
162
|
+
const iconStyles = Object.assign({
|
|
163
|
+
fontSize: this.iconSize ? this.iconSize : defaultIconSize,
|
|
164
|
+
"--icon-size": this.iconSize ? this.iconSize : defaultIconSize,
|
|
165
|
+
}, ((this.iconRotate || this.iconFlip) && { transform: transformStyle }));
|
|
166
|
+
if (this.icon.match(/^#/)) {
|
|
167
|
+
// Icon ID
|
|
168
|
+
return h("span", { class: `svg-icon svg-${this.icon.slice(1)}`, style: iconStyles });
|
|
169
|
+
}
|
|
170
|
+
else if (this.icon.match(/^\/\S*[#]\S*/)) {
|
|
171
|
+
// starts with /, any number of non-whitespace characters, followed by #, followed by any non-whitespace characters
|
|
172
|
+
// Relative Path & Symbol
|
|
173
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "svg-icon", style: Object.assign(Object.assign({}, iconStyles), { "--icon-fill": "currentColor" }), fill: "currentColor" }, h("use", { href: this.icon })));
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
// MDI
|
|
177
|
+
return (h("span", { class: "mdi", style: iconStyles, "aria-hidden": "true" }, String.fromCodePoint(parseInt(`0x${this.icon}`))));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
render() {
|
|
181
|
+
return (h(Host, { key: 'ae038ae6dddcd3220b1c3d027390d743e85ff3bc', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: 'e10a7276c46e73fc93b2e26b6f2f81b37625d08e', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && this.renderIcon(), h("span", { key: '3dbdd426484b9265107fe994c160af6f2bbd6958', class: "button-text" }, h("slot", { key: 'f5e28ec3acb64b330185f9b65d0f221fd95f1399' })), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: 'c2b16a69daf975cf6996aa365756574d1f74920f', class: "selector-icon svg-icon svg-expand-more" })))));
|
|
182
|
+
}
|
|
183
|
+
static get is() { return "wm-button"; }
|
|
184
|
+
static get encapsulation() { return "shadow"; }
|
|
185
|
+
static get delegatesFocus() { return true; }
|
|
186
|
+
static get originalStyleUrls() {
|
|
187
|
+
return {
|
|
188
|
+
"$": ["wm-button.scss"]
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
static get styleUrls() {
|
|
192
|
+
return {
|
|
193
|
+
"$": ["wm-button.css"]
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
static get properties() {
|
|
197
|
+
return {
|
|
198
|
+
"disabled": {
|
|
199
|
+
"type": "boolean",
|
|
200
|
+
"attribute": "disabled",
|
|
201
|
+
"mutable": false,
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "boolean",
|
|
204
|
+
"resolved": "boolean",
|
|
205
|
+
"references": {}
|
|
206
|
+
},
|
|
207
|
+
"required": false,
|
|
208
|
+
"optional": false,
|
|
209
|
+
"docs": {
|
|
210
|
+
"tags": [],
|
|
211
|
+
"text": ""
|
|
212
|
+
},
|
|
213
|
+
"getter": false,
|
|
214
|
+
"setter": false,
|
|
215
|
+
"reflect": true,
|
|
216
|
+
"defaultValue": "false"
|
|
217
|
+
},
|
|
218
|
+
"buttonType": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"attribute": "button-type",
|
|
221
|
+
"mutable": true,
|
|
222
|
+
"complexType": {
|
|
223
|
+
"original": "validButtonTypes",
|
|
224
|
+
"resolved": "\"icononly\" | \"navigational\" | \"pairnegative\" | \"pairpositive\" | \"primary\" | \"secondary\" | \"selector\" | \"selector-primary\" | \"textonly\"",
|
|
225
|
+
"references": {
|
|
226
|
+
"validButtonTypes": {
|
|
227
|
+
"location": "import",
|
|
228
|
+
"path": "../../global/interfaces",
|
|
229
|
+
"id": "src/global/interfaces.ts::validButtonTypes"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": false,
|
|
234
|
+
"optional": false,
|
|
235
|
+
"docs": {
|
|
236
|
+
"tags": [],
|
|
237
|
+
"text": ""
|
|
238
|
+
},
|
|
239
|
+
"getter": false,
|
|
240
|
+
"setter": false,
|
|
241
|
+
"reflect": false,
|
|
242
|
+
"defaultValue": "\"secondary\""
|
|
243
|
+
},
|
|
244
|
+
"icon": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"attribute": "icon",
|
|
247
|
+
"mutable": true,
|
|
248
|
+
"complexType": {
|
|
249
|
+
"original": "string",
|
|
250
|
+
"resolved": "string | undefined",
|
|
251
|
+
"references": {}
|
|
252
|
+
},
|
|
253
|
+
"required": false,
|
|
254
|
+
"optional": true,
|
|
255
|
+
"docs": {
|
|
256
|
+
"tags": [],
|
|
257
|
+
"text": ""
|
|
258
|
+
},
|
|
259
|
+
"getter": false,
|
|
260
|
+
"setter": false,
|
|
261
|
+
"reflect": true
|
|
262
|
+
},
|
|
263
|
+
"iconSize": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"attribute": "icon-size",
|
|
266
|
+
"mutable": false,
|
|
267
|
+
"complexType": {
|
|
268
|
+
"original": "string",
|
|
269
|
+
"resolved": "string | undefined",
|
|
270
|
+
"references": {}
|
|
271
|
+
},
|
|
272
|
+
"required": false,
|
|
273
|
+
"optional": true,
|
|
274
|
+
"docs": {
|
|
275
|
+
"tags": [],
|
|
276
|
+
"text": ""
|
|
277
|
+
},
|
|
278
|
+
"getter": false,
|
|
279
|
+
"setter": false,
|
|
280
|
+
"reflect": false
|
|
281
|
+
},
|
|
282
|
+
"iconRotate": {
|
|
283
|
+
"type": "number",
|
|
284
|
+
"attribute": "icon-rotate",
|
|
285
|
+
"mutable": false,
|
|
286
|
+
"complexType": {
|
|
287
|
+
"original": "number",
|
|
288
|
+
"resolved": "number | undefined",
|
|
289
|
+
"references": {}
|
|
290
|
+
},
|
|
291
|
+
"required": false,
|
|
292
|
+
"optional": true,
|
|
293
|
+
"docs": {
|
|
294
|
+
"tags": [],
|
|
295
|
+
"text": ""
|
|
296
|
+
},
|
|
297
|
+
"getter": false,
|
|
298
|
+
"setter": false,
|
|
299
|
+
"reflect": false
|
|
300
|
+
},
|
|
301
|
+
"iconFlip": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"attribute": "icon-flip",
|
|
304
|
+
"mutable": false,
|
|
305
|
+
"complexType": {
|
|
306
|
+
"original": "\"horizontal\" | \"vertical\"",
|
|
307
|
+
"resolved": "\"horizontal\" | \"vertical\" | undefined",
|
|
308
|
+
"references": {}
|
|
309
|
+
},
|
|
310
|
+
"required": false,
|
|
311
|
+
"optional": true,
|
|
312
|
+
"docs": {
|
|
313
|
+
"tags": [],
|
|
314
|
+
"text": ""
|
|
315
|
+
},
|
|
316
|
+
"getter": false,
|
|
317
|
+
"setter": false,
|
|
318
|
+
"reflect": false
|
|
319
|
+
},
|
|
320
|
+
"tooltip": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"attribute": "tooltip",
|
|
323
|
+
"mutable": true,
|
|
324
|
+
"complexType": {
|
|
325
|
+
"original": "string",
|
|
326
|
+
"resolved": "string | undefined",
|
|
327
|
+
"references": {}
|
|
328
|
+
},
|
|
329
|
+
"required": false,
|
|
330
|
+
"optional": true,
|
|
331
|
+
"docs": {
|
|
332
|
+
"tags": [],
|
|
333
|
+
"text": ""
|
|
334
|
+
},
|
|
335
|
+
"getter": false,
|
|
336
|
+
"setter": false,
|
|
337
|
+
"reflect": true
|
|
338
|
+
},
|
|
339
|
+
"labelForIdenticalButtons": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"attribute": "label-for-identical-buttons",
|
|
342
|
+
"mutable": false,
|
|
343
|
+
"complexType": {
|
|
344
|
+
"original": "string",
|
|
345
|
+
"resolved": "string | undefined",
|
|
346
|
+
"references": {}
|
|
347
|
+
},
|
|
348
|
+
"required": false,
|
|
349
|
+
"optional": true,
|
|
350
|
+
"docs": {
|
|
351
|
+
"tags": [],
|
|
352
|
+
"text": ""
|
|
353
|
+
},
|
|
354
|
+
"getter": false,
|
|
355
|
+
"setter": false,
|
|
356
|
+
"reflect": false
|
|
357
|
+
},
|
|
358
|
+
"tooltipPosition": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"attribute": "tooltip-position",
|
|
361
|
+
"mutable": false,
|
|
362
|
+
"complexType": {
|
|
363
|
+
"original": "TooltipPlacement",
|
|
364
|
+
"resolved": "\"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"right\" | \"top\" | \"top-left\" | \"top-right\"",
|
|
365
|
+
"references": {
|
|
366
|
+
"TooltipPlacement": {
|
|
367
|
+
"location": "import",
|
|
368
|
+
"path": "../../global/interfaces",
|
|
369
|
+
"id": "src/global/interfaces.ts::TooltipPlacement"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"required": false,
|
|
374
|
+
"optional": false,
|
|
375
|
+
"docs": {
|
|
376
|
+
"tags": [],
|
|
377
|
+
"text": ""
|
|
378
|
+
},
|
|
379
|
+
"getter": false,
|
|
380
|
+
"setter": false,
|
|
381
|
+
"reflect": false,
|
|
382
|
+
"defaultValue": "\"bottom-right\""
|
|
383
|
+
},
|
|
384
|
+
"permanentlyDelete": {
|
|
385
|
+
"type": "boolean",
|
|
386
|
+
"attribute": "permanently-delete",
|
|
387
|
+
"mutable": false,
|
|
388
|
+
"complexType": {
|
|
389
|
+
"original": "boolean",
|
|
390
|
+
"resolved": "boolean | undefined",
|
|
391
|
+
"references": {}
|
|
392
|
+
},
|
|
393
|
+
"required": false,
|
|
394
|
+
"optional": true,
|
|
395
|
+
"docs": {
|
|
396
|
+
"tags": [],
|
|
397
|
+
"text": ""
|
|
398
|
+
},
|
|
399
|
+
"getter": false,
|
|
400
|
+
"setter": false,
|
|
401
|
+
"reflect": false,
|
|
402
|
+
"defaultValue": "false"
|
|
403
|
+
},
|
|
404
|
+
"textWrap": {
|
|
405
|
+
"type": "boolean",
|
|
406
|
+
"attribute": "text-wrap",
|
|
407
|
+
"mutable": false,
|
|
408
|
+
"complexType": {
|
|
409
|
+
"original": "boolean",
|
|
410
|
+
"resolved": "boolean",
|
|
411
|
+
"references": {}
|
|
412
|
+
},
|
|
413
|
+
"required": false,
|
|
414
|
+
"optional": false,
|
|
415
|
+
"docs": {
|
|
416
|
+
"tags": [],
|
|
417
|
+
"text": ""
|
|
418
|
+
},
|
|
419
|
+
"getter": false,
|
|
420
|
+
"setter": false,
|
|
421
|
+
"reflect": false,
|
|
422
|
+
"defaultValue": "true"
|
|
423
|
+
},
|
|
424
|
+
"customBackground": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"attribute": "custom-background",
|
|
427
|
+
"mutable": false,
|
|
428
|
+
"complexType": {
|
|
429
|
+
"original": "string",
|
|
430
|
+
"resolved": "string | undefined",
|
|
431
|
+
"references": {}
|
|
432
|
+
},
|
|
433
|
+
"required": false,
|
|
434
|
+
"optional": true,
|
|
435
|
+
"docs": {
|
|
436
|
+
"tags": [],
|
|
437
|
+
"text": ""
|
|
438
|
+
},
|
|
439
|
+
"getter": false,
|
|
440
|
+
"setter": false,
|
|
441
|
+
"reflect": false
|
|
442
|
+
},
|
|
443
|
+
"isSubmit": {
|
|
444
|
+
"type": "boolean",
|
|
445
|
+
"attribute": "is-submit",
|
|
446
|
+
"mutable": false,
|
|
447
|
+
"complexType": {
|
|
448
|
+
"original": "boolean",
|
|
449
|
+
"resolved": "boolean",
|
|
450
|
+
"references": {}
|
|
451
|
+
},
|
|
452
|
+
"required": false,
|
|
453
|
+
"optional": false,
|
|
454
|
+
"docs": {
|
|
455
|
+
"tags": [],
|
|
456
|
+
"text": ""
|
|
457
|
+
},
|
|
458
|
+
"getter": false,
|
|
459
|
+
"setter": false,
|
|
460
|
+
"reflect": false,
|
|
461
|
+
"defaultValue": "false"
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
static get states() {
|
|
466
|
+
return {
|
|
467
|
+
"isTabbing": {}
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
static get elementRef() { return "el"; }
|
|
471
|
+
static get watchers() {
|
|
472
|
+
return [{
|
|
473
|
+
"propName": "buttonType",
|
|
474
|
+
"methodName": "validateType"
|
|
475
|
+
}, {
|
|
476
|
+
"propName": "icon",
|
|
477
|
+
"methodName": "updateIcon"
|
|
478
|
+
}, {
|
|
479
|
+
"propName": "disabled",
|
|
480
|
+
"methodName": "handleDisabledChange"
|
|
481
|
+
}];
|
|
482
|
+
}
|
|
483
|
+
static get listeners() {
|
|
484
|
+
return [{
|
|
485
|
+
"name": "wmUserIsTabbing",
|
|
486
|
+
"method": "toggleTabbingOn",
|
|
487
|
+
"target": "window",
|
|
488
|
+
"capture": false,
|
|
489
|
+
"passive": false
|
|
490
|
+
}, {
|
|
491
|
+
"name": "wmUserIsNotTabbing",
|
|
492
|
+
"method": "toggleTabbingOff",
|
|
493
|
+
"target": "window",
|
|
494
|
+
"capture": false,
|
|
495
|
+
"passive": false
|
|
496
|
+
}, {
|
|
497
|
+
"name": "scroll",
|
|
498
|
+
"method": "handleScroll",
|
|
499
|
+
"target": "window",
|
|
500
|
+
"capture": true,
|
|
501
|
+
"passive": true
|
|
502
|
+
}, {
|
|
503
|
+
"name": "keydown",
|
|
504
|
+
"method": "handleKeydown",
|
|
505
|
+
"target": undefined,
|
|
506
|
+
"capture": false,
|
|
507
|
+
"passive": false
|
|
508
|
+
}];
|
|
509
|
+
}
|
|
510
|
+
}
|