@watermarkinsights/ripple 5.13.0-alpha.1 → 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 +1 -2
- package/dist/components/functions.js +844 -7899
- package/dist/components/index.js +1 -48
- package/dist/components/interfaces.js +0 -19
- package/dist/components/wm-chart.js +1 -1
- package/dist/components/wm-file.js +1 -1
- package/dist/components/wm-navigation.js +1 -1
- package/dist/components/wm-navigator.js +0 -41
- package/dist/components/wm-progress-monitor.js +2 -2
- package/dist/components/wm-snackbar.js +23 -15
- package/dist/components/wm-tab-list.js +1 -1
- package/dist/components/wm-tag-input.js +1 -1
- package/dist/components/wm-toggletip.js +1 -1
- 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,538 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { intl, toBool, handleDisabledAttribute, hasRoomRight, shouldOpenUp, dateToISO } from "../../global/functions";
|
|
3
|
+
export class DatePicker {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.value = "";
|
|
6
|
+
this.disabled = false;
|
|
7
|
+
this.dateFormat = "mm/dd/yyyy";
|
|
8
|
+
this.labelPosition = "top";
|
|
9
|
+
this.label = "";
|
|
10
|
+
this.requiredField = false;
|
|
11
|
+
this.openUp = false;
|
|
12
|
+
this.popupClicked = false;
|
|
13
|
+
this.toggleButtonClicked = false;
|
|
14
|
+
this.isExpanded = false;
|
|
15
|
+
}
|
|
16
|
+
get isDisabled() {
|
|
17
|
+
// string "false" needs to be treated as bool False because react wrappers convert bool to string.
|
|
18
|
+
return toBool(this.disabled);
|
|
19
|
+
}
|
|
20
|
+
get calendarDate() {
|
|
21
|
+
let calendarDate = dateToISO(new Date());
|
|
22
|
+
const dateFormatUnits = { "mm/dd/yyyy": "US", "dd/mm/yyyy": "INT", "yyyy/mm/dd": "ISO" };
|
|
23
|
+
if (this.value &&
|
|
24
|
+
dateFormatUnits[this.dateFormat] &&
|
|
25
|
+
this.isValidIsoInternal(this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value))) {
|
|
26
|
+
// if component has value, and value can be parsed to valid ISO
|
|
27
|
+
calendarDate = this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value);
|
|
28
|
+
}
|
|
29
|
+
else if (this.preselected) {
|
|
30
|
+
calendarDate = this.preselected;
|
|
31
|
+
}
|
|
32
|
+
return calendarDate;
|
|
33
|
+
}
|
|
34
|
+
handleDisabledChange() {
|
|
35
|
+
handleDisabledAttribute(this.el, this.isDisabled);
|
|
36
|
+
}
|
|
37
|
+
updateValue() {
|
|
38
|
+
this.inputEl.value = this.value ? this.value : "";
|
|
39
|
+
}
|
|
40
|
+
announceError() {
|
|
41
|
+
if (this.errorMessage) {
|
|
42
|
+
setTimeout(() => this.announce(this.errorMessage), 100);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
togglePopup() {
|
|
46
|
+
this.isExpanded ? this.closePopup() : this.openPopup();
|
|
47
|
+
this.toggleButtonClicked = true;
|
|
48
|
+
}
|
|
49
|
+
closePopup(returnFocus = false) {
|
|
50
|
+
this.isExpanded = false;
|
|
51
|
+
this.calEl.view = "day";
|
|
52
|
+
this.calEl.view = "day";
|
|
53
|
+
this.popupEl.classList.remove("open");
|
|
54
|
+
window.setTimeout(() => {
|
|
55
|
+
//not using display none in order to get measurements of the popup while hidden
|
|
56
|
+
this.popupEl.style.visibility = "hidden";
|
|
57
|
+
}, 250);
|
|
58
|
+
//Reset values so that menu reopens to day view with selected date in focus
|
|
59
|
+
if (returnFocus) {
|
|
60
|
+
this.toggleEl.focus();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
openPopup() {
|
|
64
|
+
this.openUp = shouldOpenUp(this.el, this.popupEl.clientHeight, this.labelWrapperEl.clientHeight);
|
|
65
|
+
if (hasRoomRight(this.el, 336)) {
|
|
66
|
+
this.popupEl.style.left = "0";
|
|
67
|
+
this.popupEl.style.right = "auto";
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
this.popupEl.style.right = "0";
|
|
71
|
+
this.popupEl.style.left = "auto";
|
|
72
|
+
}
|
|
73
|
+
this.popupEl.style.visibility = "visible";
|
|
74
|
+
window.requestAnimationFrame(() => {
|
|
75
|
+
this.popupEl.classList.add("open");
|
|
76
|
+
});
|
|
77
|
+
this.isExpanded = true;
|
|
78
|
+
this.calEl.focusDate = this.calendarDate;
|
|
79
|
+
this.calEl.startDate = this.calendarDate;
|
|
80
|
+
this.calEl.focusCell();
|
|
81
|
+
}
|
|
82
|
+
handleInput(ev) {
|
|
83
|
+
// keep component's value in sync with input's value
|
|
84
|
+
this.value = ev.target.value;
|
|
85
|
+
}
|
|
86
|
+
handleInputBlur() {
|
|
87
|
+
this.dpWrapperEl.classList.remove("focus");
|
|
88
|
+
this.wmDatepickerInputBlurred.emit();
|
|
89
|
+
}
|
|
90
|
+
handleInputFocus() {
|
|
91
|
+
this.dpWrapperEl.classList.add("focus");
|
|
92
|
+
}
|
|
93
|
+
handleInputChange() {
|
|
94
|
+
// forward change externally
|
|
95
|
+
const event = new CustomEvent("change");
|
|
96
|
+
this.el.dispatchEvent(event);
|
|
97
|
+
}
|
|
98
|
+
handleKey(ev) {
|
|
99
|
+
if (ev.key === "Escape" && this.isExpanded) {
|
|
100
|
+
ev.preventDefault();
|
|
101
|
+
ev.stopPropagation(); // prevents closing of parent modal
|
|
102
|
+
this.closePopup(true);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
blurHandler() {
|
|
106
|
+
if (!this.popupClicked && !this.toggleButtonClicked && this.isExpanded) {
|
|
107
|
+
this.closePopup();
|
|
108
|
+
}
|
|
109
|
+
this.popupClicked = false;
|
|
110
|
+
this.toggleButtonClicked = false;
|
|
111
|
+
}
|
|
112
|
+
// for cases where the user clicks or uses a shortcut to leave the document
|
|
113
|
+
handleBlurOnWindow() {
|
|
114
|
+
if (this.isExpanded) {
|
|
115
|
+
this.closePopup();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
handleCellTriggered(ev) {
|
|
119
|
+
let dateElement = ev.detail.cell;
|
|
120
|
+
let isoDate = dateElement.getAttribute("data-year") +
|
|
121
|
+
"-" +
|
|
122
|
+
dateElement.getAttribute("data-month") +
|
|
123
|
+
"-" +
|
|
124
|
+
dateElement.textContent.padStart(2, "0");
|
|
125
|
+
this.wmDatepickerDateSelected.emit({ date: isoDate });
|
|
126
|
+
// Create events to trigger onInput and onChange on host element, to get the updated value
|
|
127
|
+
// Because there are more ways to input than just typing, we are firing this event upon cellTriggered
|
|
128
|
+
const inputEvent = new CustomEvent("input");
|
|
129
|
+
this.el.dispatchEvent(inputEvent);
|
|
130
|
+
const changeEvent = new CustomEvent("change");
|
|
131
|
+
this.el.dispatchEvent(changeEvent);
|
|
132
|
+
this.closePopup(true);
|
|
133
|
+
}
|
|
134
|
+
async reformatDate(inputFormat, outputFormat, date) {
|
|
135
|
+
return this.reformatDateInternal(inputFormat, outputFormat, date);
|
|
136
|
+
}
|
|
137
|
+
reformatDateInternal(inputFormat, outputFormat, date) {
|
|
138
|
+
// this function reformats date strings to/from the storage format ONLY. US -> INT and vice versa is not supported.
|
|
139
|
+
// 1, 2, or 4 digits, separator, 1 or 2 digits, separator, then 1 or 2 or 4 digits
|
|
140
|
+
const parsableEntry = /^(\d{1}|\d{2}|\d{4})[\-\.\/]\d{1,2}[\-\.\/](\d{1}|\d{2}|\d{4})$/;
|
|
141
|
+
if (!date) {
|
|
142
|
+
return "";
|
|
143
|
+
}
|
|
144
|
+
else if (!parsableEntry.test(date)) {
|
|
145
|
+
return date;
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
const dateArr = date.replace(/[\-\.]/gi, "/").split("/");
|
|
149
|
+
switch (outputFormat) {
|
|
150
|
+
case "US":
|
|
151
|
+
return dateArr[1].padStart(2, "0") + "/" + dateArr[2].padStart(2, "0") + "/" + dateArr[0].padStart(4, "20");
|
|
152
|
+
case "INT":
|
|
153
|
+
return dateArr[2].padStart(2, "0") + "/" + dateArr[1].padStart(2, "0") + "/" + dateArr[0].padStart(4, "20");
|
|
154
|
+
case "ISO":
|
|
155
|
+
if (inputFormat === "US") {
|
|
156
|
+
return dateArr[2].padStart(4, "20") + "-" + dateArr[0].padStart(2, "0") + "-" + dateArr[1].padStart(2, "0");
|
|
157
|
+
}
|
|
158
|
+
else if (inputFormat === "INT") {
|
|
159
|
+
return dateArr[2].padStart(4, "20") + "-" + dateArr[1].padStart(2, "0") + "-" + dateArr[0].padStart(2, "0");
|
|
160
|
+
}
|
|
161
|
+
else if (inputFormat === "ISO") {
|
|
162
|
+
return dateArr[0].padStart(4, "20") + "-" + dateArr[1].padStart(2, "0") + "-" + dateArr[2].padStart(2, "0");
|
|
163
|
+
}
|
|
164
|
+
default:
|
|
165
|
+
return dateArr.join("/");
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
async isValidIso(input) {
|
|
170
|
+
return this.isValidIsoInternal(input);
|
|
171
|
+
}
|
|
172
|
+
isValidIsoInternal(input) {
|
|
173
|
+
const isoFormat = /^\d\d\d\d[-]\d\d[-]\d\d$/;
|
|
174
|
+
if (!input || !isoFormat.test(input)) {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
// Parse the ISO date parts to integers
|
|
179
|
+
const parts = input.split("-");
|
|
180
|
+
const day = parseInt(parts[2], 10);
|
|
181
|
+
const month = parseInt(parts[1], 10);
|
|
182
|
+
const year = parseInt(parts[0], 10);
|
|
183
|
+
// Check the ranges of month and year
|
|
184
|
+
if (year < 1000 || year > 3000 || month == 0 || month > 12)
|
|
185
|
+
return false;
|
|
186
|
+
let monthLength = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
187
|
+
// Adjust for leap years
|
|
188
|
+
if (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0))
|
|
189
|
+
monthLength[1] = 29;
|
|
190
|
+
// Check the range of the day
|
|
191
|
+
return day > 0 && day <= monthLength[month - 1];
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
componentWillLoad() {
|
|
195
|
+
if (this.label === "") {
|
|
196
|
+
console.error("You must include a label prop for the datepicker input (for accessibility reasons), even if the label position is none.");
|
|
197
|
+
}
|
|
198
|
+
handleDisabledAttribute(this.el, this.isDisabled);
|
|
199
|
+
}
|
|
200
|
+
componentDidLoad() {
|
|
201
|
+
this.calEl.addEventListener("click", () => {
|
|
202
|
+
this.popupClicked = true;
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
announce(message) {
|
|
206
|
+
// \u00A0 is a non-breaking space character, which causes the message to be read as a new one
|
|
207
|
+
if (this.liveRegionEl.textContent === message) {
|
|
208
|
+
message += "\u00A0";
|
|
209
|
+
}
|
|
210
|
+
this.liveRegionEl.textContent = message;
|
|
211
|
+
}
|
|
212
|
+
render() {
|
|
213
|
+
return (h(Host, { key: '85687dcb3b87ff6b660797b7e8ceef84a9710deb', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'c64159f0ecc1ce84fda38106b54d7fa49a79fc65', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '43bed05cd8ddf12279fd007fac3be60ce20864f8', class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { key: '9acaee7a5ed8a29971813a06a5051c2838c13065', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { key: 'f3e1f8719fcc6ead12968215e2731d95b2603956', "aria-hidden": "true", class: "required" }, "*"))))), h("div", { key: '0c041afacda26e06e15275eb92f430f7d9a16520' }, h("div", { key: '25af5c4db0a4efa3310c039046541651c2f58a25', class: "single-wrapper input" }, h("input", { key: 'ba297de98ddb0c85ddac0b20f5f177b186956ded', disabled: this.isDisabled, type: "text", id: "single-date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'd4c145ebda9243d464b077a250ea272090e1e9bd', class: "container", id: "wm-container" }, h("button", { key: '630191453f20cbe48e919a91928c2120ca41f66e', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-label": intl.formatMessage({
|
|
214
|
+
id: "date.selectDate",
|
|
215
|
+
defaultMessage: "Select date",
|
|
216
|
+
description: "Button text for screen readers.",
|
|
217
|
+
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '8d418c81d6dcb4ab2155729be5634ee7a2566048', class: "svg-icon svg-date" }), h("span", { key: '5100cad9f4ed307d753499710853de95e81c04e8', class: "calendar", title: intl.formatMessage({
|
|
218
|
+
id: "date.calendarView",
|
|
219
|
+
defaultMessage: "Calendar View",
|
|
220
|
+
description: "Calendar button",
|
|
221
|
+
}) })), h("div", { key: '36d24aeb7e59ae59284596ad362eb5459a9ad1de', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.openUp ? "expand-upwards" : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), onClick: () => (this.popupClicked = true) }, h("div", { key: '52e0c98a890204e111f6c508177181bf69c5af28', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '12ed17f4c034aff9be9421046d52ffc4e745c929', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: 'c4b913e51442e1e57805934fd9071cc8796ca551', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: '4194d3665db2426ea6600f01f014735c6f49c7c4', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '538a624beb90096a1368873b8f044b0ff32bf125', id: "month-title", class: "sr-only" }, intl.formatMessage({
|
|
222
|
+
id: "date.selectMonth",
|
|
223
|
+
defaultMessage: "Activate to select a month.",
|
|
224
|
+
description: "Calendar button",
|
|
225
|
+
})), h("div", { key: '37b0366f3742eff0d38993c60e132759683cfc18', id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
226
|
+
id: "date.selectYear",
|
|
227
|
+
defaultMessage: "Activate to select a year.",
|
|
228
|
+
description: "Calendar button",
|
|
229
|
+
})))), h("div", { key: 'b21dcace67f1f10949bfa1ed0238ddbff738a2f5', id: "error", class: "error" }, this.errorMessage), h("div", { key: 'cf362caa31e7a5951365a3e3a63d119d58f746f5', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
|
|
230
|
+
}
|
|
231
|
+
static get is() { return "wm-datepicker"; }
|
|
232
|
+
static get encapsulation() { return "shadow"; }
|
|
233
|
+
static get delegatesFocus() { return true; }
|
|
234
|
+
static get originalStyleUrls() {
|
|
235
|
+
return {
|
|
236
|
+
"$": ["datepicker.scss"]
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
static get styleUrls() {
|
|
240
|
+
return {
|
|
241
|
+
"$": ["datepicker.css"]
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
static get properties() {
|
|
245
|
+
return {
|
|
246
|
+
"value": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"attribute": "value",
|
|
249
|
+
"mutable": true,
|
|
250
|
+
"complexType": {
|
|
251
|
+
"original": "string",
|
|
252
|
+
"resolved": "string | undefined",
|
|
253
|
+
"references": {}
|
|
254
|
+
},
|
|
255
|
+
"required": false,
|
|
256
|
+
"optional": true,
|
|
257
|
+
"docs": {
|
|
258
|
+
"tags": [],
|
|
259
|
+
"text": ""
|
|
260
|
+
},
|
|
261
|
+
"getter": false,
|
|
262
|
+
"setter": false,
|
|
263
|
+
"reflect": false,
|
|
264
|
+
"defaultValue": "\"\""
|
|
265
|
+
},
|
|
266
|
+
"disabled": {
|
|
267
|
+
"type": "boolean",
|
|
268
|
+
"attribute": "disabled",
|
|
269
|
+
"mutable": false,
|
|
270
|
+
"complexType": {
|
|
271
|
+
"original": "boolean",
|
|
272
|
+
"resolved": "boolean",
|
|
273
|
+
"references": {}
|
|
274
|
+
},
|
|
275
|
+
"required": false,
|
|
276
|
+
"optional": false,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [],
|
|
279
|
+
"text": ""
|
|
280
|
+
},
|
|
281
|
+
"getter": false,
|
|
282
|
+
"setter": false,
|
|
283
|
+
"reflect": false,
|
|
284
|
+
"defaultValue": "false"
|
|
285
|
+
},
|
|
286
|
+
"dateFormat": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"attribute": "date-format",
|
|
289
|
+
"mutable": false,
|
|
290
|
+
"complexType": {
|
|
291
|
+
"original": "string",
|
|
292
|
+
"resolved": "string",
|
|
293
|
+
"references": {}
|
|
294
|
+
},
|
|
295
|
+
"required": false,
|
|
296
|
+
"optional": false,
|
|
297
|
+
"docs": {
|
|
298
|
+
"tags": [],
|
|
299
|
+
"text": ""
|
|
300
|
+
},
|
|
301
|
+
"getter": false,
|
|
302
|
+
"setter": false,
|
|
303
|
+
"reflect": false,
|
|
304
|
+
"defaultValue": "\"mm/dd/yyyy\""
|
|
305
|
+
},
|
|
306
|
+
"errorMessage": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"attribute": "error-message",
|
|
309
|
+
"mutable": false,
|
|
310
|
+
"complexType": {
|
|
311
|
+
"original": "string",
|
|
312
|
+
"resolved": "string | undefined",
|
|
313
|
+
"references": {}
|
|
314
|
+
},
|
|
315
|
+
"required": false,
|
|
316
|
+
"optional": true,
|
|
317
|
+
"docs": {
|
|
318
|
+
"tags": [],
|
|
319
|
+
"text": ""
|
|
320
|
+
},
|
|
321
|
+
"getter": false,
|
|
322
|
+
"setter": false,
|
|
323
|
+
"reflect": true
|
|
324
|
+
},
|
|
325
|
+
"labelPosition": {
|
|
326
|
+
"type": "string",
|
|
327
|
+
"attribute": "label-position",
|
|
328
|
+
"mutable": false,
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "\"top\" | \"left\" | \"none\"",
|
|
331
|
+
"resolved": "\"left\" | \"none\" | \"top\"",
|
|
332
|
+
"references": {}
|
|
333
|
+
},
|
|
334
|
+
"required": false,
|
|
335
|
+
"optional": false,
|
|
336
|
+
"docs": {
|
|
337
|
+
"tags": [],
|
|
338
|
+
"text": ""
|
|
339
|
+
},
|
|
340
|
+
"getter": false,
|
|
341
|
+
"setter": false,
|
|
342
|
+
"reflect": false,
|
|
343
|
+
"defaultValue": "\"top\""
|
|
344
|
+
},
|
|
345
|
+
"label": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"attribute": "label",
|
|
348
|
+
"mutable": false,
|
|
349
|
+
"complexType": {
|
|
350
|
+
"original": "string",
|
|
351
|
+
"resolved": "string",
|
|
352
|
+
"references": {}
|
|
353
|
+
},
|
|
354
|
+
"required": false,
|
|
355
|
+
"optional": false,
|
|
356
|
+
"docs": {
|
|
357
|
+
"tags": [],
|
|
358
|
+
"text": ""
|
|
359
|
+
},
|
|
360
|
+
"getter": false,
|
|
361
|
+
"setter": false,
|
|
362
|
+
"reflect": false,
|
|
363
|
+
"defaultValue": "\"\""
|
|
364
|
+
},
|
|
365
|
+
"requiredField": {
|
|
366
|
+
"type": "boolean",
|
|
367
|
+
"attribute": "required-field",
|
|
368
|
+
"mutable": false,
|
|
369
|
+
"complexType": {
|
|
370
|
+
"original": "boolean",
|
|
371
|
+
"resolved": "boolean",
|
|
372
|
+
"references": {}
|
|
373
|
+
},
|
|
374
|
+
"required": false,
|
|
375
|
+
"optional": false,
|
|
376
|
+
"docs": {
|
|
377
|
+
"tags": [],
|
|
378
|
+
"text": ""
|
|
379
|
+
},
|
|
380
|
+
"getter": false,
|
|
381
|
+
"setter": false,
|
|
382
|
+
"reflect": false,
|
|
383
|
+
"defaultValue": "false"
|
|
384
|
+
},
|
|
385
|
+
"preselected": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"attribute": "preselected",
|
|
388
|
+
"mutable": false,
|
|
389
|
+
"complexType": {
|
|
390
|
+
"original": "string",
|
|
391
|
+
"resolved": "string | undefined",
|
|
392
|
+
"references": {}
|
|
393
|
+
},
|
|
394
|
+
"required": false,
|
|
395
|
+
"optional": true,
|
|
396
|
+
"docs": {
|
|
397
|
+
"tags": [],
|
|
398
|
+
"text": ""
|
|
399
|
+
},
|
|
400
|
+
"getter": false,
|
|
401
|
+
"setter": false,
|
|
402
|
+
"reflect": false
|
|
403
|
+
}
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
static get states() {
|
|
407
|
+
return {
|
|
408
|
+
"isExpanded": {}
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
static get events() {
|
|
412
|
+
return [{
|
|
413
|
+
"method": "wmDatepickerDateSelected",
|
|
414
|
+
"name": "wmDatepickerDateSelected",
|
|
415
|
+
"bubbles": true,
|
|
416
|
+
"cancelable": true,
|
|
417
|
+
"composed": true,
|
|
418
|
+
"docs": {
|
|
419
|
+
"tags": [],
|
|
420
|
+
"text": ""
|
|
421
|
+
},
|
|
422
|
+
"complexType": {
|
|
423
|
+
"original": "any",
|
|
424
|
+
"resolved": "any",
|
|
425
|
+
"references": {}
|
|
426
|
+
}
|
|
427
|
+
}, {
|
|
428
|
+
"method": "wmDatepickerInputBlurred",
|
|
429
|
+
"name": "wmDatepickerInputBlurred",
|
|
430
|
+
"bubbles": true,
|
|
431
|
+
"cancelable": true,
|
|
432
|
+
"composed": true,
|
|
433
|
+
"docs": {
|
|
434
|
+
"tags": [],
|
|
435
|
+
"text": ""
|
|
436
|
+
},
|
|
437
|
+
"complexType": {
|
|
438
|
+
"original": "any",
|
|
439
|
+
"resolved": "any",
|
|
440
|
+
"references": {}
|
|
441
|
+
}
|
|
442
|
+
}];
|
|
443
|
+
}
|
|
444
|
+
static get methods() {
|
|
445
|
+
return {
|
|
446
|
+
"reformatDate": {
|
|
447
|
+
"complexType": {
|
|
448
|
+
"signature": "(inputFormat: string, outputFormat: string, date?: string) => Promise<string>",
|
|
449
|
+
"parameters": [{
|
|
450
|
+
"name": "inputFormat",
|
|
451
|
+
"type": "string",
|
|
452
|
+
"docs": ""
|
|
453
|
+
}, {
|
|
454
|
+
"name": "outputFormat",
|
|
455
|
+
"type": "string",
|
|
456
|
+
"docs": ""
|
|
457
|
+
}, {
|
|
458
|
+
"name": "date",
|
|
459
|
+
"type": "string | undefined",
|
|
460
|
+
"docs": ""
|
|
461
|
+
}],
|
|
462
|
+
"references": {
|
|
463
|
+
"Promise": {
|
|
464
|
+
"location": "global",
|
|
465
|
+
"id": "global::Promise"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"return": "Promise<string>"
|
|
469
|
+
},
|
|
470
|
+
"docs": {
|
|
471
|
+
"text": "",
|
|
472
|
+
"tags": []
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"isValidIso": {
|
|
476
|
+
"complexType": {
|
|
477
|
+
"signature": "(input?: string) => Promise<boolean>",
|
|
478
|
+
"parameters": [{
|
|
479
|
+
"name": "input",
|
|
480
|
+
"type": "string | undefined",
|
|
481
|
+
"docs": ""
|
|
482
|
+
}],
|
|
483
|
+
"references": {
|
|
484
|
+
"Promise": {
|
|
485
|
+
"location": "global",
|
|
486
|
+
"id": "global::Promise"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"return": "Promise<boolean>"
|
|
490
|
+
},
|
|
491
|
+
"docs": {
|
|
492
|
+
"text": "",
|
|
493
|
+
"tags": []
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
static get elementRef() { return "el"; }
|
|
499
|
+
static get watchers() {
|
|
500
|
+
return [{
|
|
501
|
+
"propName": "disabled",
|
|
502
|
+
"methodName": "handleDisabledChange"
|
|
503
|
+
}, {
|
|
504
|
+
"propName": "value",
|
|
505
|
+
"methodName": "updateValue"
|
|
506
|
+
}, {
|
|
507
|
+
"propName": "errorMessage",
|
|
508
|
+
"methodName": "announceError"
|
|
509
|
+
}];
|
|
510
|
+
}
|
|
511
|
+
static get listeners() {
|
|
512
|
+
return [{
|
|
513
|
+
"name": "keydown",
|
|
514
|
+
"method": "handleKey",
|
|
515
|
+
"target": undefined,
|
|
516
|
+
"capture": false,
|
|
517
|
+
"passive": false
|
|
518
|
+
}, {
|
|
519
|
+
"name": "click",
|
|
520
|
+
"method": "blurHandler",
|
|
521
|
+
"target": "document",
|
|
522
|
+
"capture": false,
|
|
523
|
+
"passive": false
|
|
524
|
+
}, {
|
|
525
|
+
"name": "blur",
|
|
526
|
+
"method": "handleBlurOnWindow",
|
|
527
|
+
"target": "window",
|
|
528
|
+
"capture": false,
|
|
529
|
+
"passive": false
|
|
530
|
+
}, {
|
|
531
|
+
"name": "cellTriggered",
|
|
532
|
+
"method": "handleCellTriggered",
|
|
533
|
+
"target": undefined,
|
|
534
|
+
"capture": false,
|
|
535
|
+
"passive": false
|
|
536
|
+
}];
|
|
537
|
+
}
|
|
538
|
+
}
|