@watermarkinsights/ripple 5.13.0-alpha.2 → 5.13.0-alpha.3
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-DztnjEf7.js +92 -0
- package/dist/cjs/chartFunctions-CM2Nah_s.js +731 -0
- package/dist/cjs/functions-CoXfjC6r.js +10450 -0
- package/dist/cjs/index-Cig4P4gJ.js +2082 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/interfaces-C7YbtGnk.js +37 -0
- package/dist/cjs/intl-DVt1J717.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 +702 -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-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/cjs/wm-navigation-item.cjs.entry.js +20 -0
- package/dist/cjs/wm-navigation.cjs.entry.js +118 -0
- package/dist/cjs/wm-navigator.cjs.entry.js +329 -0
- package/dist/cjs/wm-nested-select.cjs.entry.js +310 -0
- 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 +58 -0
- package/dist/collection/components/charts/chartFunctions.js +665 -0
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +908 -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 +1274 -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 +1067 -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 +1274 -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 +909 -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 +1044 -0
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +1279 -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 +918 -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 +1181 -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 +830 -0
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +265 -0
- package/dist/collection/components/selects/wm-option/wm-option.css +931 -0
- package/dist/collection/components/selects/wm-option/wm-option.js +539 -0
- package/dist/collection/components/selects/wm-select/wm-select.css +1104 -0
- package/dist/collection/components/selects/wm-select/wm-select.js +606 -0
- package/dist/collection/components/wm-action-menu/wm-action-menu.css +891 -0
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +444 -0
- package/dist/collection/components/wm-button/wm-button.css +1261 -0
- package/dist/collection/components/wm-button/wm-button.js +510 -0
- package/dist/collection/components/wm-file/wm-file.css +927 -0
- package/dist/collection/components/wm-file/wm-file.js +423 -0
- package/dist/collection/components/wm-file-list/wm-file-list.css +820 -0
- package/dist/collection/components/wm-file-list/wm-file-list.js +47 -0
- package/dist/collection/components/wm-input/wm-input.css +993 -0
- package/dist/collection/components/wm-input/wm-input.js +498 -0
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +891 -0
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +425 -0
- package/dist/collection/components/wm-modal/wm-modal-footer.css +845 -0
- package/dist/collection/components/wm-modal/wm-modal-footer.js +152 -0
- package/dist/collection/components/wm-modal/wm-modal-header.css +844 -0
- package/dist/collection/components/wm-modal/wm-modal-header.js +83 -0
- package/dist/collection/components/wm-modal/wm-modal.css +892 -0
- package/dist/collection/components/wm-modal/wm-modal.js +356 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +852 -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 +846 -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 +928 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +369 -0
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +847 -0
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +120 -0
- package/dist/collection/components/wm-navigation/wm-navigation-item.css +856 -0
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +99 -0
- package/dist/collection/components/wm-navigation/wm-navigation.css +898 -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 +850 -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 +830 -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 +903 -0
- package/dist/collection/components/wm-navigator/wm-navigator.js +515 -0
- package/dist/collection/components/wm-pagination/wm-pagination.css +971 -0
- package/dist/collection/components/wm-pagination/wm-pagination.js +373 -0
- package/dist/collection/components/wm-search/wm-search.css +896 -0
- package/dist/collection/components/wm-search/wm-search.js +462 -0
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +1078 -0
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +280 -0
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +869 -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 +841 -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 +825 -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 +1276 -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 +980 -0
- package/dist/collection/components/wm-textarea/wm-textarea.js +331 -0
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +1094 -0
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +559 -0
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +1152 -0
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +295 -0
- package/dist/collection/components/wm-uploader/wm-uploader.css +1563 -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/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/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 +825 -0
- package/dist/collection/global/global.js +88 -0
- package/dist/collection/global/interfaces.js +51 -0
- 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/chartFunctions.js +714 -0
- package/dist/components/functions.js +10410 -0
- package/dist/components/index.js +91 -0
- package/dist/components/interfaces.js +34 -0
- package/dist/components/intl.js +277 -0
- package/dist/components/priv-calendar.js +6 -0
- package/dist/components/priv-calendar2.js +592 -0
- package/dist/components/priv-chart-popover.js +6 -0
- package/dist/components/priv-chart-popover2.js +154 -0
- package/dist/components/priv-navigator-button.js +6 -0
- package/dist/components/priv-navigator-button2.js +42 -0
- package/dist/components/priv-navigator-item.js +6 -0
- package/dist/components/priv-navigator-item2.js +49 -0
- package/dist/components/priv-option-list.js +6 -0
- package/dist/components/priv-option-list2.js +421 -0
- package/dist/components/wm-action-menu.js +6 -0
- package/dist/components/wm-action-menu2.js +231 -0
- package/dist/components/wm-button.js +6 -0
- package/dist/components/wm-button2.js +231 -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-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-menuitem2.js +146 -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/components/wm-nested-select.js +343 -0
- package/dist/components/wm-optgroup.js +107 -0
- package/dist/components/wm-option.js +6 -0
- package/dist/components/wm-option2.js +196 -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-select2.js +294 -0
- package/dist/components/wm-snackbar.js +210 -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-9HoPoE5v.js +90 -0
- package/dist/esm/chartFunctions-BFCUD5JX.js +714 -0
- package/dist/esm/functions-ZDMCMR3o.js +10410 -0
- package/dist/esm/index-EopL5zo4.js +2071 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/interfaces-CyJHzEjr.js +34 -0
- package/dist/esm/intl-DYVRT1s6.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 +697 -0
- package/dist/esm/wm-chart-slice.entry.js +18 -0
- 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/esm/wm-file.entry.js +182 -0
- package/dist/esm/wm-input.entry.js +111 -0
- package/dist/esm/wm-line-chart.entry.js +449 -0
- package/dist/esm/wm-modal-footer.entry.js +44 -0
- package/dist/esm/wm-modal-header.entry.js +36 -0
- package/dist/esm/wm-modal-pss-footer.entry.js +40 -0
- package/dist/esm/wm-modal-pss-header.entry.js +39 -0
- 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/esm/wm-navigation-item.entry.js +18 -0
- package/dist/esm/wm-navigation.entry.js +116 -0
- package/dist/esm/wm-navigator.entry.js +327 -0
- package/dist/esm/wm-nested-select.entry.js +308 -0
- 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/esm/wm-progress-slice.entry.js +13 -0
- 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/esm/wm-tag-option.entry.js +35 -0
- 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/esm/wm-wrapper.entry.js +17 -0
- package/dist/esm-es5/app-globals-9HoPoE5v.js +1 -0
- package/dist/esm-es5/chartFunctions-BFCUD5JX.js +1 -0
- package/dist/esm-es5/functions-ZDMCMR3o.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-DYVRT1s6.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/esm-es5/wm-datepicker.entry.js +1 -0
- package/dist/esm-es5/wm-file-list.entry.js +1 -0
- package/dist/esm-es5/wm-file.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/esm-es5/wm-modal-footer.entry.js +1 -0
- 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/esm-es5/wm-progress-indicator.entry.js +1 -0
- 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 -0
- package/dist/ripple/p-032f127e.entry.js +1 -0
- package/dist/ripple/p-0bd43518.system.entry.js +1 -0
- package/dist/ripple/p-0dccd9b4.system.entry.js +1 -0
- package/dist/ripple/p-0dffa9ff.system.entry.js +1 -0
- package/dist/ripple/p-10d2b86e.entry.js +1 -0
- package/dist/ripple/p-1818d7f9.entry.js +1 -0
- package/dist/ripple/p-18d22114.system.entry.js +1 -0
- package/dist/ripple/p-1a769629.system.entry.js +1 -0
- package/dist/ripple/p-271ba485.system.entry.js +1 -0
- package/dist/ripple/p-2d41fbed.system.entry.js +1 -0
- package/dist/ripple/p-2f26b6ac.entry.js +1 -0
- package/dist/ripple/p-3065bbe5.system.entry.js +1 -0
- package/dist/ripple/p-306caa10.entry.js +1 -0
- package/dist/ripple/p-32f2f3b4.system.entry.js +1 -0
- package/dist/ripple/p-340b73a9.system.entry.js +1 -0
- package/dist/ripple/p-42f9cd3d.entry.js +1 -0
- package/dist/ripple/p-47b525bd.entry.js +1 -0
- package/dist/ripple/p-492a8a9f.entry.js +1 -0
- package/dist/ripple/p-4c316652.system.entry.js +1 -0
- package/dist/ripple/p-54aeadde.entry.js +1 -0
- package/dist/ripple/p-568e29d3.entry.js +1 -0
- package/dist/ripple/p-588a86ed.system.entry.js +1 -0
- package/dist/ripple/p-591fd100.entry.js +1 -0
- package/dist/ripple/p-5a6cbc14.system.entry.js +1 -0
- package/dist/ripple/p-5abe1171.system.entry.js +1 -0
- package/dist/ripple/p-5ae17300.system.entry.js +1 -0
- package/dist/ripple/p-5b02ae40.entry.js +1 -0
- package/dist/ripple/p-5e438798.system.entry.js +1 -0
- package/dist/ripple/p-5ed4177e.entry.js +1 -0
- package/dist/ripple/p-6133160d.system.entry.js +1 -0
- package/dist/ripple/p-620aff89.entry.js +1 -0
- package/dist/ripple/p-65db2c0f.entry.js +1 -0
- package/dist/ripple/p-70ed57bf.entry.js +1 -0
- package/dist/ripple/p-735d033a.entry.js +1 -0
- package/dist/ripple/p-74b1e110.entry.js +1 -0
- package/dist/ripple/p-77a8306c.entry.js +1 -0
- package/dist/ripple/p-7886fe5e.system.entry.js +1 -0
- package/dist/ripple/p-7ce09692.system.entry.js +1 -0
- package/dist/ripple/p-7cf1d9eb.system.entry.js +1 -0
- package/dist/ripple/p-7e786c28.system.entry.js +1 -0
- package/dist/ripple/p-812615ae.entry.js +1 -0
- package/dist/ripple/p-8a33538f.entry.js +1 -0
- package/dist/ripple/p-8b9c4e3e.entry.js +1 -0
- package/dist/ripple/p-90925ea9.entry.js +1 -0
- package/dist/ripple/p-959afdcf.entry.js +1 -0
- package/dist/ripple/p-997bdd2e.system.entry.js +1 -0
- package/dist/ripple/p-9db5f78e.entry.js +1 -0
- package/dist/ripple/p-BexWEx3U.system.js +1 -0
- package/dist/ripple/p-BgmAsS86.system.js +1 -0
- package/dist/ripple/p-Buh1DT2-.js +1 -0
- package/dist/ripple/p-CLZytLAw.system.js +1 -0
- package/dist/ripple/p-CTau6pR2.system.js +2 -0
- package/dist/ripple/p-CwkTkxrj.system.js +1 -0
- package/dist/ripple/p-CyJHzEjr.js +1 -0
- package/dist/ripple/p-DXsimRMV.js +1 -0
- package/dist/ripple/p-EopL5zo4.js +2 -0
- package/dist/ripple/p-GXdCI-yj.system.js +1 -0
- package/dist/ripple/p-UJrCrAlw.system.js +1 -0
- package/dist/ripple/p-YWpyar7R.system.js +1 -0
- package/dist/ripple/p-ZDMCMR3o.js +1 -0
- package/dist/ripple/p-b0b94ac4.system.entry.js +1 -0
- package/dist/ripple/p-b12640bd.entry.js +1 -0
- package/dist/ripple/p-b16431b0.system.entry.js +1 -0
- package/dist/ripple/p-b43cc69f.entry.js +1 -0
- package/dist/ripple/p-b4917824.entry.js +1 -0
- package/dist/ripple/p-b55babe1.system.entry.js +1 -0
- package/dist/ripple/p-ba48d47a.entry.js +1 -0
- package/dist/ripple/p-ba8ca46b.system.entry.js +1 -0
- package/dist/ripple/p-bee35fef.entry.js +1 -0
- package/dist/ripple/p-c273bb1c.system.entry.js +1 -0
- package/dist/ripple/p-cdebe76b.system.entry.js +1 -0
- package/dist/ripple/p-ce9634a2.entry.js +1 -0
- package/dist/ripple/p-d20ed498.entry.js +1 -0
- package/dist/ripple/p-d3e6498c.system.entry.js +1 -0
- package/dist/ripple/p-d40b6ef1.system.entry.js +1 -0
- package/dist/ripple/p-d4481342.system.entry.js +1 -0
- package/dist/ripple/p-d5bcab58.entry.js +1 -0
- package/dist/ripple/p-d7660e7d.entry.js +1 -0
- package/dist/ripple/p-d85f017a.system.entry.js +1 -0
- package/dist/ripple/p-da5ad94c.system.entry.js +1 -0
- package/dist/ripple/p-dcca5771.system.entry.js +1 -0
- package/dist/ripple/p-dd236f42.system.entry.js +1 -0
- package/dist/ripple/p-de33fd67.entry.js +1 -0
- package/dist/ripple/p-e0c9798d.system.entry.js +1 -0
- package/dist/ripple/p-e3700f4c.entry.js +1 -0
- package/dist/ripple/p-e901154b.entry.js +1 -0
- package/dist/ripple/p-e9fc862d.entry.js +1 -0
- package/dist/ripple/p-ea885cf3.system.entry.js +1 -0
- package/dist/ripple/p-f4c4218c.system.entry.js +1 -0
- package/dist/ripple/p-f57eb234.system.entry.js +1 -0
- package/dist/ripple/p-f858f5f9.system.entry.js +1 -0
- package/dist/ripple/p-f8721463.system.entry.js +1 -0
- package/dist/ripple/p-f881be15.entry.js +1 -0
- package/dist/ripple/p-f98949ad.entry.js +1 -0
- package/dist/ripple/p-fdcbcdf5.entry.js +1 -0
- package/dist/ripple/p-sXfORL9J.js +1 -0
- package/dist/ripple/ripple.css +1 -0
- package/dist/ripple/ripple.esm.js +1 -0
- package/dist/ripple/ripple.js +127 -0
- package/package.json +2 -2
- /package/dist/{types/test-setup.d.ts → collection/dev/action-menu.js} +0 -0
|
@@ -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
|
+
}
|