@watermarkinsights/ripple 3.13.0 → 3.14.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/README.md +3 -3
- package/dist/cjs/{chartFunctions-34fdd3ce.js → chartFunctions-0ea0888f.js} +420 -420
- package/dist/cjs/{functions-120449cf.js → functions-8d3ceccd.js} +1894 -450
- package/dist/cjs/{global-c1940f7b.js → global-39ada944.js} +62 -62
- package/dist/cjs/{http-service-494d81de.js → http-service-9e8c4dd5.js} +49 -49
- package/dist/cjs/{index-acad7ab3.js → index-df6a3611.js} +4 -1
- package/dist/cjs/{interfaces-a3338581.js → interfaces-30a74c1f.js} +29 -29
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/priv-chart-popover.cjs.entry.js +87 -87
- package/dist/cjs/priv-datepicker.cjs.entry.js +658 -658
- package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
- package/dist/cjs/priv-navigator-item.cjs.entry.js +24 -24
- package/dist/cjs/ripple.cjs.js +4 -4
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +336 -336
- package/dist/cjs/wm-button.cjs.entry.js +242 -242
- package/dist/cjs/wm-chart-slice.cjs.entry.js +14 -14
- package/dist/cjs/wm-chart.cjs.entry.js +111 -111
- package/dist/cjs/wm-datepicker.cjs.entry.js +266 -266
- package/dist/cjs/wm-input.cjs.entry.js +135 -135
- package/dist/cjs/wm-modal-footer.cjs.entry.js +34 -34
- package/dist/cjs/wm-modal-header.cjs.entry.js +37 -37
- package/dist/cjs/wm-modal.cjs.entry.js +164 -164
- package/dist/cjs/wm-navigation_3.cjs.entry.js +228 -228
- package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
- package/dist/cjs/wm-network-uploader.cjs.entry.js +455 -455
- package/dist/cjs/wm-option_2.cjs.entry.js +717 -710
- package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +130 -130
- package/dist/cjs/wm-search.cjs.entry.js +233 -233
- package/dist/cjs/wm-snackbar.cjs.entry.js +171 -171
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +297 -297
- package/dist/cjs/wm-tag-input.cjs.entry.js +580 -580
- package/dist/cjs/wm-timepicker.cjs.entry.js +384 -384
- package/dist/cjs/wm-toggletip.cjs.entry.js +125 -125
- package/dist/cjs/wm-uploader.cjs.entry.js +630 -632
- package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +258 -258
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +115 -115
- package/dist/collection/components/charts/wm-chart/wm-chart.js +328 -328
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +195 -195
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +88 -88
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +111 -111
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +448 -448
- package/dist/collection/components/wm-button/wm-button.js +504 -504
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1024 -1024
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +471 -471
- package/dist/collection/components/wm-input/wm-input.js +423 -423
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
- package/dist/collection/components/wm-modal/wm-modal-footer.js +136 -136
- package/dist/collection/components/wm-modal/wm-modal-header.js +87 -87
- package/dist/collection/components/wm-modal/wm-modal.js +461 -461
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +162 -162
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +121 -121
- package/dist/collection/components/wm-navigation/wm-navigation.js +218 -218
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
- package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
- package/dist/collection/components/wm-option/wm-option.css +13 -0
- package/dist/collection/components/wm-option/wm-option.js +427 -419
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.js +480 -480
- package/dist/collection/components/wm-select/wm-select.css +5 -2
- package/dist/collection/components/wm-select/wm-select.js +978 -978
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +787 -787
- package/dist/collection/components/wm-uploader/wm-uploader.js +1072 -1077
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
- package/dist/collection/dev/scripts.js +20 -20
- package/dist/collection/global/__mocks__/functions.js +6 -6
- package/dist/collection/global/chartFunctions.js +421 -421
- package/dist/collection/global/functions.js +441 -441
- package/dist/collection/global/global.js +69 -69
- package/dist/collection/global/interfaces.js +49 -49
- package/dist/collection/global/services/__mocks__/http-service.js +130 -130
- package/dist/collection/global/services/http-service.js +50 -50
- package/dist/collection/lang/lang.js +5 -5
- package/dist/collection/lang/missing.js +43 -43
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{chartFunctions-20f05eb5.js → chartFunctions-6f90586d.js} +420 -420
- package/dist/esm/{functions-036af8dc.js → functions-11c0c4e2.js} +1894 -450
- package/dist/esm/{global-e98c740f.js → global-d36a84c5.js} +62 -62
- package/dist/esm/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +49 -49
- package/dist/esm/{index-7603f98e.js → index-17c79cc6.js} +4 -1
- package/dist/esm/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +29 -29
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/priv-chart-popover.entry.js +87 -87
- package/dist/esm/priv-datepicker.entry.js +658 -658
- package/dist/esm/priv-navigator-button.entry.js +19 -19
- package/dist/esm/priv-navigator-item.entry.js +24 -24
- package/dist/esm/ripple.js +4 -4
- package/dist/esm/wm-action-menu_2.entry.js +336 -336
- package/dist/esm/wm-button.entry.js +242 -242
- package/dist/esm/wm-chart-slice.entry.js +14 -14
- package/dist/esm/wm-chart.entry.js +111 -111
- package/dist/esm/wm-datepicker.entry.js +266 -266
- package/dist/esm/wm-input.entry.js +135 -135
- package/dist/esm/wm-modal-footer.entry.js +34 -34
- package/dist/esm/wm-modal-header.entry.js +37 -37
- package/dist/esm/wm-modal.entry.js +164 -164
- package/dist/esm/wm-navigation_3.entry.js +228 -228
- package/dist/esm/wm-navigator.entry.js +269 -269
- package/dist/esm/wm-network-uploader.entry.js +455 -455
- package/dist/esm/wm-option_2.entry.js +717 -710
- package/dist/esm/wm-pagination.entry.js +168 -168
- package/dist/esm/wm-progress-indicator_3.entry.js +130 -130
- package/dist/esm/wm-search.entry.js +233 -233
- package/dist/esm/wm-snackbar.entry.js +171 -171
- package/dist/esm/wm-tab-item_3.entry.js +297 -297
- package/dist/esm/wm-tag-input.entry.js +580 -580
- package/dist/esm/wm-timepicker.entry.js +384 -384
- package/dist/esm/wm-toggletip.entry.js +125 -125
- package/dist/esm/wm-uploader.entry.js +630 -632
- package/dist/esm/wm-wrapper.entry.js +13 -13
- package/dist/esm-es5/{chartFunctions-20f05eb5.js → chartFunctions-6f90586d.js} +1 -1
- package/dist/esm-es5/functions-11c0c4e2.js +1 -0
- package/dist/esm-es5/{global-e98c740f.js → global-d36a84c5.js} +1 -1
- package/dist/esm-es5/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +0 -0
- package/dist/esm-es5/{index-7603f98e.js → index-17c79cc6.js} +1 -1
- package/dist/esm-es5/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-datepicker.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
- package/dist/esm-es5/wm-modal-header.entry.js +1 -1
- package/dist/esm-es5/wm-modal.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-network-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/ripple/{p-1ccd994d.system.entry.js → p-06012eb7.system.entry.js} +1 -1
- package/dist/ripple/{p-06adbeb9.system.entry.js → p-07ebdcd4.system.entry.js} +1 -1
- package/dist/ripple/{p-f5df5903.system.js → p-08b7ec08.system.js} +0 -0
- package/dist/ripple/{p-7173b0a7.system.entry.js → p-08fc668c.system.entry.js} +1 -1
- package/dist/ripple/p-0e22a3a4.entry.js +1 -0
- package/dist/ripple/p-262c75ff.entry.js +1 -0
- package/dist/ripple/{p-2193190b.js → p-26f94f8f.js} +1 -1
- package/dist/ripple/{p-90ed3268.system.entry.js → p-27253ed2.system.entry.js} +1 -1
- package/dist/ripple/{p-0556279c.system.entry.js → p-2af0b657.system.entry.js} +1 -1
- package/dist/ripple/p-2e5cb321.entry.js +1 -0
- package/dist/ripple/{p-9d02957d.system.js → p-313b6073.system.js} +0 -0
- package/dist/ripple/{p-6bf5cbf4.system.entry.js → p-3e875e87.system.entry.js} +1 -1
- package/dist/ripple/p-4073ac6a.entry.js +1 -0
- package/dist/ripple/p-410687ea.entry.js +1 -0
- package/dist/ripple/p-41374812.system.js +1 -0
- package/dist/ripple/p-42dbd978.entry.js +1 -0
- package/dist/ripple/{p-752da0fb.system.entry.js → p-4439bdd1.system.entry.js} +1 -1
- package/dist/ripple/{p-bbcafbd6.system.entry.js → p-4650a83c.system.entry.js} +1 -1
- package/dist/ripple/{p-4ecd3430.js → p-490dafa4.js} +1 -1
- package/dist/ripple/p-4afa52d4.entry.js +1 -0
- package/dist/ripple/p-4f3f7b2b.entry.js +1 -0
- package/dist/ripple/p-5018f8ae.entry.js +1 -0
- package/dist/ripple/{p-cd3d74d1.system.entry.js → p-57a718f0.system.entry.js} +1 -1
- package/dist/ripple/p-57c94258.entry.js +1 -0
- package/dist/ripple/{p-1df2adee.system.entry.js → p-59678b70.system.entry.js} +1 -1
- package/dist/ripple/p-626d5017.entry.js +1 -0
- package/dist/ripple/{p-3a535823.system.js → p-6a8fd452.system.js} +1 -1
- package/dist/ripple/{p-c1443a0e.system.entry.js → p-6ffdab0d.system.entry.js} +1 -1
- package/dist/ripple/p-70d0e993.js +1 -0
- package/dist/ripple/{p-a0c3ef16.system.js → p-726b9452.system.js} +1 -1
- package/dist/ripple/p-758501d7.entry.js +1 -0
- package/dist/ripple/{p-af3ce4fc.system.entry.js → p-7cb0035a.system.entry.js} +1 -1
- package/dist/ripple/p-80a00759.entry.js +1 -0
- package/dist/ripple/p-80b62707.entry.js +1 -0
- package/dist/ripple/{p-995ba16f.system.entry.js → p-84d0d2ff.system.entry.js} +1 -1
- package/dist/ripple/p-86b9bfcf.system.entry.js +1 -0
- package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
- package/dist/ripple/p-8a2cabf2.entry.js +1 -0
- package/dist/ripple/{p-62eac2d6.system.entry.js → p-8b54c589.system.entry.js} +1 -1
- package/dist/ripple/{p-7ef6a7cf.system.entry.js → p-910b6dd5.system.entry.js} +1 -1
- package/dist/ripple/p-962f51ff.entry.js +1 -0
- package/dist/ripple/p-97683ddc.entry.js +1 -0
- package/dist/ripple/p-9c60325b.entry.js +1 -0
- package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
- package/dist/ripple/p-b0536ddb.entry.js +1 -0
- package/dist/ripple/{p-d48c56c7.system.entry.js → p-b4837126.system.entry.js} +1 -1
- package/dist/ripple/{p-04d8b674.system.js → p-b5b7c71f.system.js} +1 -1
- package/dist/ripple/{p-8612829b.system.entry.js → p-b793bc6f.system.entry.js} +1 -1
- package/dist/ripple/p-c2abdcba.js +1 -0
- package/dist/ripple/{p-04e44b30.system.entry.js → p-c49ef079.system.entry.js} +1 -1
- package/dist/ripple/{p-895f5ec5.system.entry.js → p-c4c21c82.system.entry.js} +1 -1
- package/dist/ripple/p-c656fcf1.entry.js +1 -0
- package/dist/ripple/p-caef11cc.entry.js +1 -0
- package/dist/ripple/p-cb357a84.entry.js +1 -0
- package/dist/ripple/p-d2a11410.entry.js +1 -0
- package/dist/ripple/{p-49fd7ede.system.entry.js → p-d927de70.system.entry.js} +1 -1
- package/dist/ripple/{p-ae6cfbca.system.entry.js → p-db44eb6f.system.entry.js} +1 -1
- package/dist/ripple/p-db899686.system.js +1 -0
- package/dist/ripple/{p-f23b3986.system.entry.js → p-dc7e5609.system.entry.js} +1 -1
- package/dist/ripple/p-dfa80ed1.entry.js +1 -0
- package/dist/ripple/p-e012273a.entry.js +1 -0
- package/dist/ripple/p-e4cb8aad.entry.js +1 -0
- package/dist/ripple/{p-e4439bc3.system.entry.js → p-f0d3ceb1.system.entry.js} +1 -1
- package/dist/ripple/{p-3b3e847c.system.entry.js → p-f17076c4.system.entry.js} +1 -1
- package/dist/ripple/p-fa632547.entry.js +1 -0
- package/dist/ripple/{p-0e9ccc6f.system.entry.js → p-fe4c1194.system.entry.js} +1 -1
- package/dist/ripple/{p-ca383a43.system.entry.js → p-ffc34819.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +27 -27
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +11 -11
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +36 -36
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +27 -27
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +17 -17
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +10 -10
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +47 -47
- package/dist/types/components/wm-button/wm-button.d.ts +43 -43
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
- package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +41 -41
- package/dist/types/components/wm-input/wm-input.d.ts +46 -46
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +14 -14
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +11 -11
- package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +21 -21
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +13 -13
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -28
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
- package/dist/types/components/wm-option/wm-option.d.ts +35 -35
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
- package/dist/types/components/wm-search/wm-search.d.ts +86 -86
- package/dist/types/components/wm-select/wm-select.d.ts +94 -93
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
- package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +118 -119
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
- package/dist/types/components.d.ts +26 -26
- package/dist/types/global/__mocks__/functions.d.ts +6 -6
- package/dist/types/global/chartFunctions.d.ts +29 -29
- package/dist/types/global/functions.d.ts +42 -42
- package/dist/types/global/global.d.ts +1 -1
- package/dist/types/global/interfaces.d.ts +44 -44
- package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
- package/dist/types/global/services/http-service.d.ts +4 -4
- package/dist/types/lang/lang.d.ts +5 -5
- package/package.json +47 -47
- package/dist/esm-es5/functions-036af8dc.js +0 -15
- package/dist/ripple/p-17ceb8c1.entry.js +0 -1
- package/dist/ripple/p-1887286e.entry.js +0 -1
- package/dist/ripple/p-1d795f42.entry.js +0 -1
- package/dist/ripple/p-2996bfe6.entry.js +0 -1
- package/dist/ripple/p-2f860b24.entry.js +0 -1
- package/dist/ripple/p-358bde27.entry.js +0 -1
- package/dist/ripple/p-3680b55d.entry.js +0 -1
- package/dist/ripple/p-3a1d6fc4.entry.js +0 -1
- package/dist/ripple/p-4d59fe86.entry.js +0 -1
- package/dist/ripple/p-6aa6a818.entry.js +0 -1
- package/dist/ripple/p-726c979a.system.js +0 -15
- package/dist/ripple/p-7ae1a630.entry.js +0 -1
- package/dist/ripple/p-7ecbf258.entry.js +0 -1
- package/dist/ripple/p-7fae0cc2.entry.js +0 -1
- package/dist/ripple/p-8de546e8.entry.js +0 -1
- package/dist/ripple/p-93dee724.entry.js +0 -1
- package/dist/ripple/p-97c2b06f.entry.js +0 -1
- package/dist/ripple/p-9ae81a59.system.js +0 -1
- package/dist/ripple/p-9c92c93f.entry.js +0 -1
- package/dist/ripple/p-9e09d7a1.entry.js +0 -1
- package/dist/ripple/p-a04ba6c8.entry.js +0 -1
- package/dist/ripple/p-a9e0ce88.entry.js +0 -1
- package/dist/ripple/p-b3c71506.js +0 -1
- package/dist/ripple/p-bee0b62d.entry.js +0 -1
- package/dist/ripple/p-da403a48.system.entry.js +0 -1
- package/dist/ripple/p-de3367ee.js +0 -16
- package/dist/ripple/p-e083fca6.entry.js +0 -1
- package/dist/ripple/p-e524d462.entry.js +0 -1
- package/dist/ripple/p-e8d39f68.entry.js +0 -1
- package/dist/ripple/p-ed91be1a.entry.js +0 -1
- package/dist/ripple/p-fda61e7e.entry.js +0 -1
- package/dist/ripple/p-fe952112.entry.js +0 -1
|
@@ -1,419 +1,427 @@
|
|
|
1
|
-
import { h, Component, Element, Event, Host, Listen, Prop, State, Watch } from "@stencil/core";
|
|
2
|
-
export class Option {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.subinfo = undefined;
|
|
5
|
-
this.disabled = false;
|
|
6
|
-
this.selected = false;
|
|
7
|
-
this.focused = false;
|
|
8
|
-
this.searchTerm = "";
|
|
9
|
-
}
|
|
10
|
-
get hostClasses() {
|
|
11
|
-
let classes = [];
|
|
12
|
-
if (this.subinfo) {
|
|
13
|
-
classes.push("hassubinfo");
|
|
14
|
-
}
|
|
15
|
-
if (this.parentSelectEl.multiple) {
|
|
16
|
-
classes.push("multi-option");
|
|
17
|
-
}
|
|
18
|
-
if (!this.el.textContent.toLowerCase().includes(this.searchTerm)) {
|
|
19
|
-
classes.push("filtered-out");
|
|
20
|
-
}
|
|
21
|
-
return classes.join(" ");
|
|
22
|
-
}
|
|
23
|
-
get parentSelectEl() {
|
|
24
|
-
var _a;
|
|
25
|
-
return ((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.nodeName) !== "WM-SELECT"
|
|
26
|
-
? this.el.getRootNode().host
|
|
27
|
-
: this.el.parentElement;
|
|
28
|
-
}
|
|
29
|
-
handleKeydown(ev) {
|
|
30
|
-
switch (ev.key) {
|
|
31
|
-
case "ArrowUp":
|
|
32
|
-
ev.preventDefault();
|
|
33
|
-
this.wmKeyUpPressed.emit(this.el);
|
|
34
|
-
break;
|
|
35
|
-
case "ArrowDown":
|
|
36
|
-
ev.preventDefault();
|
|
37
|
-
this.wmKeyDownPressed.emit(this.el);
|
|
38
|
-
break;
|
|
39
|
-
case "Enter":
|
|
40
|
-
ev.preventDefault();
|
|
41
|
-
if (!this.disabled) {
|
|
42
|
-
this.el.click();
|
|
43
|
-
this.wmEnterKeyPressed.emit(this.el);
|
|
44
|
-
}
|
|
45
|
-
break;
|
|
46
|
-
case " ":
|
|
47
|
-
ev.preventDefault();
|
|
48
|
-
this.el.click();
|
|
49
|
-
break;
|
|
50
|
-
case "Escape":
|
|
51
|
-
ev.preventDefault();
|
|
52
|
-
ev.stopPropagation(); // for instance if select is in a modal, esc should close the select but not the modal
|
|
53
|
-
this.wmEscKeyPressed.emit();
|
|
54
|
-
break;
|
|
55
|
-
case "Home":
|
|
56
|
-
ev.preventDefault();
|
|
57
|
-
this.wmHomeKeyPressed.emit();
|
|
58
|
-
break;
|
|
59
|
-
case "End":
|
|
60
|
-
ev.preventDefault();
|
|
61
|
-
this.wmEndKeyPressed.emit();
|
|
62
|
-
break;
|
|
63
|
-
default:
|
|
64
|
-
this.wmLetterPressed.emit(ev.key);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
handleSelection() {
|
|
68
|
-
if (!this.disabled) {
|
|
69
|
-
this.wmOptionSelected.emit(this.el);
|
|
70
|
-
// the parent wm-select is in charge of the actual selection
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
handleBlur(ev) {
|
|
74
|
-
this.wmOptionBlurred.emit({ relatedTarget: ev.relatedTarget });
|
|
75
|
-
}
|
|
76
|
-
syncAriaSelected() {
|
|
77
|
-
// this function only keeps the aria-selected attr in sync with the selected prop
|
|
78
|
-
// all the logic for selecting / deselecting happens in the parent wm-select
|
|
79
|
-
this.selected ? this.el.setAttribute("aria-selected", "true") : this.el.removeAttribute("aria-selected");
|
|
80
|
-
}
|
|
81
|
-
syncAriaDisabled() {
|
|
82
|
-
this.disabled ? this.el.setAttribute("aria-disabled", "true") : this.el.removeAttribute("aria-disabled");
|
|
83
|
-
}
|
|
84
|
-
focusHandler(newValue) {
|
|
85
|
-
if (newValue)
|
|
86
|
-
this.el.focus();
|
|
87
|
-
}
|
|
88
|
-
updateDisabledOnClick() {
|
|
89
|
-
if (this.disabled && this.el.onclick) {
|
|
90
|
-
this.onClickFunc = this.el.onclick;
|
|
91
|
-
this.el.onclick = null;
|
|
92
|
-
}
|
|
93
|
-
else if (!this.disabled && this.onClickFunc) {
|
|
94
|
-
this.el.onclick = this.onClickFunc;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
handleSearch(ev) {
|
|
98
|
-
// filter is case-insensitive, so
|
|
99
|
-
this.searchTerm = ev.detail.searchTerm.toLowerCase();
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
static get
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
"
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
"
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
"
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
"
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
"
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
"
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
"
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
"
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
"
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
"
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
"
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
"
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
"
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
"
|
|
403
|
-
"
|
|
404
|
-
|
|
405
|
-
"
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
"
|
|
412
|
-
|
|
413
|
-
"
|
|
414
|
-
|
|
415
|
-
"
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
|
|
419
|
-
|
|
1
|
+
import { h, Component, Element, Event, Host, Listen, Prop, State, Watch } from "@stencil/core";
|
|
2
|
+
export class Option {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.subinfo = undefined;
|
|
5
|
+
this.disabled = false;
|
|
6
|
+
this.selected = false;
|
|
7
|
+
this.focused = false;
|
|
8
|
+
this.searchTerm = "";
|
|
9
|
+
}
|
|
10
|
+
get hostClasses() {
|
|
11
|
+
let classes = [];
|
|
12
|
+
if (this.subinfo) {
|
|
13
|
+
classes.push("hassubinfo");
|
|
14
|
+
}
|
|
15
|
+
if (this.parentSelectEl.multiple) {
|
|
16
|
+
classes.push("multi-option");
|
|
17
|
+
}
|
|
18
|
+
if (!this.el.textContent.toLowerCase().includes(this.searchTerm)) {
|
|
19
|
+
classes.push("filtered-out");
|
|
20
|
+
}
|
|
21
|
+
return classes.join(" ");
|
|
22
|
+
}
|
|
23
|
+
get parentSelectEl() {
|
|
24
|
+
var _a;
|
|
25
|
+
return ((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.nodeName) !== "WM-SELECT"
|
|
26
|
+
? this.el.getRootNode().host
|
|
27
|
+
: this.el.parentElement;
|
|
28
|
+
}
|
|
29
|
+
handleKeydown(ev) {
|
|
30
|
+
switch (ev.key) {
|
|
31
|
+
case "ArrowUp":
|
|
32
|
+
ev.preventDefault();
|
|
33
|
+
this.wmKeyUpPressed.emit(this.el);
|
|
34
|
+
break;
|
|
35
|
+
case "ArrowDown":
|
|
36
|
+
ev.preventDefault();
|
|
37
|
+
this.wmKeyDownPressed.emit(this.el);
|
|
38
|
+
break;
|
|
39
|
+
case "Enter":
|
|
40
|
+
ev.preventDefault();
|
|
41
|
+
if (!this.disabled) {
|
|
42
|
+
this.el.click();
|
|
43
|
+
this.wmEnterKeyPressed.emit(this.el);
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
case " ":
|
|
47
|
+
ev.preventDefault();
|
|
48
|
+
this.el.click();
|
|
49
|
+
break;
|
|
50
|
+
case "Escape":
|
|
51
|
+
ev.preventDefault();
|
|
52
|
+
ev.stopPropagation(); // for instance if select is in a modal, esc should close the select but not the modal
|
|
53
|
+
this.wmEscKeyPressed.emit();
|
|
54
|
+
break;
|
|
55
|
+
case "Home":
|
|
56
|
+
ev.preventDefault();
|
|
57
|
+
this.wmHomeKeyPressed.emit();
|
|
58
|
+
break;
|
|
59
|
+
case "End":
|
|
60
|
+
ev.preventDefault();
|
|
61
|
+
this.wmEndKeyPressed.emit();
|
|
62
|
+
break;
|
|
63
|
+
default:
|
|
64
|
+
this.wmLetterPressed.emit(ev.key);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
handleSelection() {
|
|
68
|
+
if (!this.disabled) {
|
|
69
|
+
this.wmOptionSelected.emit(this.el);
|
|
70
|
+
// the parent wm-select is in charge of the actual selection
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
handleBlur(ev) {
|
|
74
|
+
this.wmOptionBlurred.emit({ relatedTarget: ev.relatedTarget });
|
|
75
|
+
}
|
|
76
|
+
syncAriaSelected() {
|
|
77
|
+
// this function only keeps the aria-selected attr in sync with the selected prop
|
|
78
|
+
// all the logic for selecting / deselecting happens in the parent wm-select
|
|
79
|
+
this.selected ? this.el.setAttribute("aria-selected", "true") : this.el.removeAttribute("aria-selected");
|
|
80
|
+
}
|
|
81
|
+
syncAriaDisabled() {
|
|
82
|
+
this.disabled ? this.el.setAttribute("aria-disabled", "true") : this.el.removeAttribute("aria-disabled");
|
|
83
|
+
}
|
|
84
|
+
focusHandler(newValue) {
|
|
85
|
+
if (newValue)
|
|
86
|
+
this.el.focus();
|
|
87
|
+
}
|
|
88
|
+
updateDisabledOnClick() {
|
|
89
|
+
if (this.disabled && this.el.onclick) {
|
|
90
|
+
this.onClickFunc = this.el.onclick;
|
|
91
|
+
this.el.onclick = null;
|
|
92
|
+
}
|
|
93
|
+
else if (!this.disabled && this.onClickFunc) {
|
|
94
|
+
this.el.onclick = this.onClickFunc;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
handleSearch(ev) {
|
|
98
|
+
// filter is case-insensitive, so
|
|
99
|
+
this.searchTerm = ev.detail.searchTerm.toLowerCase();
|
|
100
|
+
if (this.searchTerm) {
|
|
101
|
+
const regexp = new RegExp(`${this.searchTerm}`, "gi");
|
|
102
|
+
const boldedText = this.el.textContent.replace(regexp, (match) => `<strong>${match}</strong>`);
|
|
103
|
+
// for voiceover, text splitting is read as separate phrases. i.e. hel<b>lo</b> will be read as "hel lo"
|
|
104
|
+
// aria-hidden and sr-only is used to circumvent this
|
|
105
|
+
this.textEl.innerHTML = boldedText;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
this.textEl.innerHTML = this.el.textContent;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
componentWillLoad() {
|
|
112
|
+
this.syncAriaSelected();
|
|
113
|
+
this.syncAriaDisabled();
|
|
114
|
+
this.updateDisabledOnClick();
|
|
115
|
+
this.parentSelectEl.addEventListener("wmSelectSearchChanged", (ev) => this.handleSearch(ev));
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
return (h(Host, { role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses },
|
|
119
|
+
h("div", { class: `option-wrapper ${this.parentSelectEl.multiple ? "checkbox" : ""}` },
|
|
120
|
+
h("span", { "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent),
|
|
121
|
+
h("span", { class: "sr-only" }, this.el.textContent)),
|
|
122
|
+
h("div", { class: "subinfo" }, this.subinfo)));
|
|
123
|
+
}
|
|
124
|
+
static get is() { return "wm-option"; }
|
|
125
|
+
static get encapsulation() { return "shadow"; }
|
|
126
|
+
static get originalStyleUrls() { return {
|
|
127
|
+
"$": ["wm-option.scss"]
|
|
128
|
+
}; }
|
|
129
|
+
static get styleUrls() { return {
|
|
130
|
+
"$": ["wm-option.css"]
|
|
131
|
+
}; }
|
|
132
|
+
static get properties() { return {
|
|
133
|
+
"value": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"mutable": false,
|
|
136
|
+
"complexType": {
|
|
137
|
+
"original": "string | null",
|
|
138
|
+
"resolved": "null | string | undefined",
|
|
139
|
+
"references": {}
|
|
140
|
+
},
|
|
141
|
+
"required": false,
|
|
142
|
+
"optional": true,
|
|
143
|
+
"docs": {
|
|
144
|
+
"tags": [],
|
|
145
|
+
"text": ""
|
|
146
|
+
},
|
|
147
|
+
"attribute": "value",
|
|
148
|
+
"reflect": false
|
|
149
|
+
},
|
|
150
|
+
"subinfo": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"mutable": true,
|
|
153
|
+
"complexType": {
|
|
154
|
+
"original": "string",
|
|
155
|
+
"resolved": "string | undefined",
|
|
156
|
+
"references": {}
|
|
157
|
+
},
|
|
158
|
+
"required": false,
|
|
159
|
+
"optional": true,
|
|
160
|
+
"docs": {
|
|
161
|
+
"tags": [],
|
|
162
|
+
"text": ""
|
|
163
|
+
},
|
|
164
|
+
"attribute": "subinfo",
|
|
165
|
+
"reflect": false,
|
|
166
|
+
"defaultValue": "undefined"
|
|
167
|
+
},
|
|
168
|
+
"disabled": {
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"mutable": false,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "boolean",
|
|
173
|
+
"resolved": "boolean",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": ""
|
|
181
|
+
},
|
|
182
|
+
"attribute": "disabled",
|
|
183
|
+
"reflect": true,
|
|
184
|
+
"defaultValue": "false"
|
|
185
|
+
},
|
|
186
|
+
"selected": {
|
|
187
|
+
"type": "boolean",
|
|
188
|
+
"mutable": false,
|
|
189
|
+
"complexType": {
|
|
190
|
+
"original": "boolean",
|
|
191
|
+
"resolved": "boolean",
|
|
192
|
+
"references": {}
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"optional": false,
|
|
196
|
+
"docs": {
|
|
197
|
+
"tags": [],
|
|
198
|
+
"text": ""
|
|
199
|
+
},
|
|
200
|
+
"attribute": "selected",
|
|
201
|
+
"reflect": true,
|
|
202
|
+
"defaultValue": "false"
|
|
203
|
+
},
|
|
204
|
+
"focused": {
|
|
205
|
+
"type": "boolean",
|
|
206
|
+
"mutable": false,
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "boolean",
|
|
209
|
+
"resolved": "boolean",
|
|
210
|
+
"references": {}
|
|
211
|
+
},
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": false,
|
|
214
|
+
"docs": {
|
|
215
|
+
"tags": [],
|
|
216
|
+
"text": ""
|
|
217
|
+
},
|
|
218
|
+
"attribute": "focused",
|
|
219
|
+
"reflect": false,
|
|
220
|
+
"defaultValue": "false"
|
|
221
|
+
}
|
|
222
|
+
}; }
|
|
223
|
+
static get states() { return {
|
|
224
|
+
"searchTerm": {}
|
|
225
|
+
}; }
|
|
226
|
+
static get events() { return [{
|
|
227
|
+
"method": "wmOptionSelected",
|
|
228
|
+
"name": "wmOptionSelected",
|
|
229
|
+
"bubbles": true,
|
|
230
|
+
"cancelable": true,
|
|
231
|
+
"composed": true,
|
|
232
|
+
"docs": {
|
|
233
|
+
"tags": [],
|
|
234
|
+
"text": ""
|
|
235
|
+
},
|
|
236
|
+
"complexType": {
|
|
237
|
+
"original": "HTMLWmOptionElement",
|
|
238
|
+
"resolved": "HTMLWmOptionElement",
|
|
239
|
+
"references": {
|
|
240
|
+
"HTMLWmOptionElement": {
|
|
241
|
+
"location": "global"
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}, {
|
|
246
|
+
"method": "wmKeyUpPressed",
|
|
247
|
+
"name": "wmKeyUpPressed",
|
|
248
|
+
"bubbles": true,
|
|
249
|
+
"cancelable": true,
|
|
250
|
+
"composed": true,
|
|
251
|
+
"docs": {
|
|
252
|
+
"tags": [],
|
|
253
|
+
"text": ""
|
|
254
|
+
},
|
|
255
|
+
"complexType": {
|
|
256
|
+
"original": "HTMLWmOptionElement",
|
|
257
|
+
"resolved": "HTMLWmOptionElement",
|
|
258
|
+
"references": {
|
|
259
|
+
"HTMLWmOptionElement": {
|
|
260
|
+
"location": "global"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}, {
|
|
265
|
+
"method": "wmKeyDownPressed",
|
|
266
|
+
"name": "wmKeyDownPressed",
|
|
267
|
+
"bubbles": true,
|
|
268
|
+
"cancelable": true,
|
|
269
|
+
"composed": true,
|
|
270
|
+
"docs": {
|
|
271
|
+
"tags": [],
|
|
272
|
+
"text": ""
|
|
273
|
+
},
|
|
274
|
+
"complexType": {
|
|
275
|
+
"original": "HTMLWmOptionElement",
|
|
276
|
+
"resolved": "HTMLWmOptionElement",
|
|
277
|
+
"references": {
|
|
278
|
+
"HTMLWmOptionElement": {
|
|
279
|
+
"location": "global"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}, {
|
|
284
|
+
"method": "wmEscKeyPressed",
|
|
285
|
+
"name": "wmEscKeyPressed",
|
|
286
|
+
"bubbles": true,
|
|
287
|
+
"cancelable": true,
|
|
288
|
+
"composed": true,
|
|
289
|
+
"docs": {
|
|
290
|
+
"tags": [],
|
|
291
|
+
"text": ""
|
|
292
|
+
},
|
|
293
|
+
"complexType": {
|
|
294
|
+
"original": "HTMLWmOptionElement",
|
|
295
|
+
"resolved": "HTMLWmOptionElement",
|
|
296
|
+
"references": {
|
|
297
|
+
"HTMLWmOptionElement": {
|
|
298
|
+
"location": "global"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}, {
|
|
303
|
+
"method": "wmHomeKeyPressed",
|
|
304
|
+
"name": "wmHomeKeyPressed",
|
|
305
|
+
"bubbles": true,
|
|
306
|
+
"cancelable": true,
|
|
307
|
+
"composed": true,
|
|
308
|
+
"docs": {
|
|
309
|
+
"tags": [],
|
|
310
|
+
"text": ""
|
|
311
|
+
},
|
|
312
|
+
"complexType": {
|
|
313
|
+
"original": "HTMLWmOptionElement",
|
|
314
|
+
"resolved": "HTMLWmOptionElement",
|
|
315
|
+
"references": {
|
|
316
|
+
"HTMLWmOptionElement": {
|
|
317
|
+
"location": "global"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}, {
|
|
322
|
+
"method": "wmEndKeyPressed",
|
|
323
|
+
"name": "wmEndKeyPressed",
|
|
324
|
+
"bubbles": true,
|
|
325
|
+
"cancelable": true,
|
|
326
|
+
"composed": true,
|
|
327
|
+
"docs": {
|
|
328
|
+
"tags": [],
|
|
329
|
+
"text": ""
|
|
330
|
+
},
|
|
331
|
+
"complexType": {
|
|
332
|
+
"original": "HTMLWmOptionElement",
|
|
333
|
+
"resolved": "HTMLWmOptionElement",
|
|
334
|
+
"references": {
|
|
335
|
+
"HTMLWmOptionElement": {
|
|
336
|
+
"location": "global"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}, {
|
|
341
|
+
"method": "wmEnterKeyPressed",
|
|
342
|
+
"name": "wmEnterKeyPressed",
|
|
343
|
+
"bubbles": true,
|
|
344
|
+
"cancelable": true,
|
|
345
|
+
"composed": true,
|
|
346
|
+
"docs": {
|
|
347
|
+
"tags": [],
|
|
348
|
+
"text": ""
|
|
349
|
+
},
|
|
350
|
+
"complexType": {
|
|
351
|
+
"original": "HTMLWmOptionElement",
|
|
352
|
+
"resolved": "HTMLWmOptionElement",
|
|
353
|
+
"references": {
|
|
354
|
+
"HTMLWmOptionElement": {
|
|
355
|
+
"location": "global"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}, {
|
|
360
|
+
"method": "wmLetterPressed",
|
|
361
|
+
"name": "wmLetterPressed",
|
|
362
|
+
"bubbles": true,
|
|
363
|
+
"cancelable": true,
|
|
364
|
+
"composed": true,
|
|
365
|
+
"docs": {
|
|
366
|
+
"tags": [],
|
|
367
|
+
"text": ""
|
|
368
|
+
},
|
|
369
|
+
"complexType": {
|
|
370
|
+
"original": "string",
|
|
371
|
+
"resolved": "string",
|
|
372
|
+
"references": {}
|
|
373
|
+
}
|
|
374
|
+
}, {
|
|
375
|
+
"method": "wmOptionBlurred",
|
|
376
|
+
"name": "wmOptionBlurred",
|
|
377
|
+
"bubbles": true,
|
|
378
|
+
"cancelable": true,
|
|
379
|
+
"composed": true,
|
|
380
|
+
"docs": {
|
|
381
|
+
"tags": [],
|
|
382
|
+
"text": ""
|
|
383
|
+
},
|
|
384
|
+
"complexType": {
|
|
385
|
+
"original": "{ relatedTarget: EventTarget | null }",
|
|
386
|
+
"resolved": "{ relatedTarget: EventTarget | null; }",
|
|
387
|
+
"references": {
|
|
388
|
+
"EventTarget": {
|
|
389
|
+
"location": "global"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}]; }
|
|
394
|
+
static get elementRef() { return "el"; }
|
|
395
|
+
static get watchers() { return [{
|
|
396
|
+
"propName": "selected",
|
|
397
|
+
"methodName": "syncAriaSelected"
|
|
398
|
+
}, {
|
|
399
|
+
"propName": "disabled",
|
|
400
|
+
"methodName": "syncAriaDisabled"
|
|
401
|
+
}, {
|
|
402
|
+
"propName": "focused",
|
|
403
|
+
"methodName": "focusHandler"
|
|
404
|
+
}, {
|
|
405
|
+
"propName": "disabled",
|
|
406
|
+
"methodName": "updateDisabledOnClick"
|
|
407
|
+
}]; }
|
|
408
|
+
static get listeners() { return [{
|
|
409
|
+
"name": "keydown",
|
|
410
|
+
"method": "handleKeydown",
|
|
411
|
+
"target": undefined,
|
|
412
|
+
"capture": false,
|
|
413
|
+
"passive": false
|
|
414
|
+
}, {
|
|
415
|
+
"name": "click",
|
|
416
|
+
"method": "handleSelection",
|
|
417
|
+
"target": undefined,
|
|
418
|
+
"capture": false,
|
|
419
|
+
"passive": false
|
|
420
|
+
}, {
|
|
421
|
+
"name": "blur",
|
|
422
|
+
"method": "handleBlur",
|
|
423
|
+
"target": undefined,
|
|
424
|
+
"capture": false,
|
|
425
|
+
"passive": false
|
|
426
|
+
}]; }
|
|
427
|
+
}
|