@watermarkinsights/ripple 5.11.0-9 → 5.12.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{esm/global-0b62026b.js → cjs/app-globals-3cfb5688.js} +10 -1
- package/dist/cjs/{chartFunctions-b47a5431.js → chartFunctions-7314b414.js} +3 -3
- package/dist/cjs/{functions-e24249e6.js → functions-5ac8a62f.js} +104 -7
- package/dist/cjs/index-788526f5.js +1859 -0
- package/dist/cjs/{intl-a70cf8c2.js → intl-07aaf53c.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/priv-calendar.cjs.entry.js +6 -5
- package/dist/cjs/priv-chart-popover.cjs.entry.js +6 -5
- package/dist/cjs/priv-navigator-button.cjs.entry.js +4 -3
- package/dist/cjs/priv-navigator-item.cjs.entry.js +4 -3
- package/dist/cjs/priv-option-list.cjs.entry.js +5 -4
- package/dist/cjs/ripple.cjs.js +13 -12
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +8 -6
- package/dist/cjs/wm-button.cjs.entry.js +5 -4
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +7 -6
- package/dist/cjs/wm-date-range.cjs.entry.js +10 -9
- package/dist/cjs/wm-datepicker.cjs.entry.js +10 -9
- package/dist/cjs/wm-file-list.cjs.entry.js +4 -3
- package/dist/cjs/wm-file.cjs.entry.js +5 -4
- package/dist/cjs/wm-input.cjs.entry.js +7 -6
- package/dist/cjs/wm-line-chart.cjs.entry.js +15 -14
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +13 -10
- package/dist/cjs/wm-modal_3.cjs.entry.js +13 -10
- package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -10
- package/dist/cjs/wm-navigator.cjs.entry.js +4 -3
- package/dist/cjs/wm-nested-select.cjs.entry.js +9 -8
- package/dist/cjs/wm-optgroup.cjs.entry.js +5 -4
- package/dist/cjs/wm-option_2.cjs.entry.js +12 -10
- package/dist/cjs/wm-pagination.cjs.entry.js +5 -4
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +9 -7
- package/dist/cjs/wm-search.cjs.entry.js +7 -6
- package/dist/cjs/wm-snackbar.cjs.entry.js +7 -6
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +11 -8
- package/dist/cjs/wm-tag-input.cjs.entry.js +9 -8
- package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +7 -6
- package/dist/cjs/wm-timepicker.cjs.entry.js +7 -6
- package/dist/cjs/wm-toggletip.cjs.entry.js +62 -36
- package/dist/cjs/wm-uploader.cjs.entry.js +8 -7
- package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/charts/chartFunctions.js +1 -1
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
- package/dist/collection/components/charts/wm-chart/wm-chart.js +1 -1
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +9 -9
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +1 -1
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
- package/dist/collection/components/datepickers/datepicker.css +3 -0
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
- package/dist/collection/components/datepickers/wm-date-range.js +17 -13
- package/dist/collection/components/datepickers/wm-datepicker.js +17 -13
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -5
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +3 -0
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
- package/dist/collection/components/selects/wm-option/wm-option.css +1 -0
- package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
- package/dist/collection/components/selects/wm-select/wm-select.css +3 -0
- package/dist/collection/components/selects/wm-select/wm-select.js +2 -2
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
- package/dist/collection/components/wm-button/wm-button.js +1 -1
- package/dist/collection/components/wm-file/wm-file.js +1 -1
- package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
- package/dist/collection/components/wm-input/wm-input.css +3 -0
- package/dist/collection/components/wm-input/wm-input.js +1 -1
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal.js +2 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
- package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
- package/dist/collection/components/wm-search/wm-search.js +5 -4
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +3 -0
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
- package/dist/collection/components/wm-textarea/wm-textarea.css +3 -0
- package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +3 -0
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +107 -34
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +62 -37
- package/dist/collection/components/wm-uploader/wm-uploader.css +3 -0
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/{cjs/global-cfead82d.js → esm/app-globals-8867159c.js} +7 -2
- package/dist/esm/{chartFunctions-d2ecde7f.js → chartFunctions-ef4089f9.js} +3 -3
- package/dist/esm/{functions-8800c690.js → functions-a3c016ae.js} +105 -8
- package/dist/esm/index-130e07bb.js +1828 -0
- package/dist/esm/{intl-cf443c87.js → intl-66ad4bcd.js} +1 -1
- package/dist/esm/loader.js +6 -5
- package/dist/esm/priv-calendar.entry.js +6 -5
- package/dist/esm/priv-chart-popover.entry.js +6 -5
- package/dist/esm/priv-navigator-button.entry.js +4 -3
- package/dist/esm/priv-navigator-item.entry.js +4 -3
- package/dist/esm/priv-option-list.entry.js +5 -4
- package/dist/esm/ripple.js +14 -13
- package/dist/esm/wm-action-menu_2.entry.js +8 -6
- package/dist/esm/wm-button.entry.js +5 -4
- package/dist/esm/wm-chart-slice.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +7 -6
- package/dist/esm/wm-date-range.entry.js +10 -9
- package/dist/esm/wm-datepicker.entry.js +10 -9
- package/dist/esm/wm-file-list.entry.js +4 -3
- package/dist/esm/wm-file.entry.js +5 -4
- package/dist/esm/wm-input.entry.js +7 -6
- package/dist/esm/wm-line-chart.entry.js +15 -14
- package/dist/esm/wm-modal-pss_3.entry.js +13 -10
- package/dist/esm/wm-modal_3.entry.js +13 -10
- package/dist/esm/wm-navigation_3.entry.js +13 -10
- package/dist/esm/wm-navigator.entry.js +4 -3
- package/dist/esm/wm-nested-select.entry.js +9 -8
- package/dist/esm/wm-optgroup.entry.js +5 -4
- package/dist/esm/wm-option_2.entry.js +12 -10
- package/dist/esm/wm-pagination.entry.js +5 -4
- package/dist/esm/wm-progress-indicator_3.entry.js +9 -7
- package/dist/esm/wm-search.entry.js +7 -6
- package/dist/esm/wm-snackbar.entry.js +7 -6
- package/dist/esm/wm-tab-item_3.entry.js +11 -8
- package/dist/esm/wm-tag-input.entry.js +9 -8
- package/dist/esm/wm-tag-option.entry.js +2 -2
- package/dist/esm/wm-textarea.entry.js +7 -6
- package/dist/esm/wm-timepicker.entry.js +7 -6
- package/dist/esm/wm-toggletip.entry.js +62 -36
- package/dist/esm/wm-uploader.entry.js +8 -7
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-8867159c.js +1 -0
- package/dist/esm-es5/{chartFunctions-d2ecde7f.js → chartFunctions-ef4089f9.js} +1 -1
- package/dist/esm-es5/functions-a3c016ae.js +1 -0
- package/dist/esm-es5/index-130e07bb.js +1 -0
- package/dist/esm-es5/{intl-cf443c87.js → intl-66ad4bcd.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover.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/priv-option-list.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-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.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-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.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-tag-option.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.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/loader/cdn.js +1 -2
- package/dist/loader/index.cjs.js +1 -2
- package/dist/loader/index.d.ts +3 -0
- package/dist/loader/index.es2017.js +1 -2
- package/dist/loader/index.js +1 -2
- package/dist/ripple/{p-3322823d.system.js → p-0204a0fe.system.js} +1 -1
- package/dist/ripple/p-03071693.js +1 -0
- package/dist/ripple/{p-65d26233.system.entry.js → p-043901ab.system.entry.js} +1 -1
- package/dist/ripple/{p-e2c6052b.system.entry.js → p-0d18809d.system.entry.js} +1 -1
- package/dist/ripple/{p-9dd401f8.entry.js → p-120bc89b.entry.js} +1 -1
- package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
- package/dist/ripple/{p-68e04222.entry.js → p-1403e680.entry.js} +1 -1
- package/dist/ripple/p-1419b29f.entry.js +1 -0
- package/dist/ripple/{p-704be1e8.system.entry.js → p-146bc712.system.entry.js} +1 -1
- package/dist/ripple/{p-1a71d867.system.entry.js → p-165b5d3d.system.entry.js} +1 -1
- package/dist/ripple/p-16ec9711.system.entry.js +1 -0
- package/dist/ripple/p-1804d8dd.entry.js +1 -0
- package/dist/ripple/{p-878fd4af.system.entry.js → p-19c4e55f.system.entry.js} +1 -1
- package/dist/ripple/{p-7478303e.entry.js → p-1abd114f.entry.js} +1 -1
- package/dist/ripple/p-1dc791dd.system.js +1 -0
- package/dist/ripple/p-1dd1ce52.entry.js +1 -0
- package/dist/ripple/{p-55e9e0cb.entry.js → p-1ec431e6.entry.js} +1 -1
- package/dist/ripple/p-24b23624.entry.js +1 -0
- package/dist/ripple/p-27b22d31.entry.js +1 -0
- package/dist/ripple/{p-608f69c1.system.entry.js → p-28d6a7b4.system.entry.js} +1 -1
- package/dist/ripple/{p-a04ef164.system.entry.js → p-3376581a.system.entry.js} +1 -1
- package/dist/ripple/{p-a9a22fe9.system.entry.js → p-391f300f.system.entry.js} +1 -1
- package/dist/ripple/{p-e71ee9f4.system.js → p-3a2b3dcd.system.js} +1 -1
- package/dist/ripple/{p-5415aaf9.system.entry.js → p-45a2ea03.system.entry.js} +1 -1
- package/dist/ripple/{p-d57e8196.entry.js → p-47f21da9.system.entry.js} +1 -1
- package/dist/ripple/p-4a5e7fd4.entry.js +1 -0
- package/dist/ripple/p-5429827a.entry.js +1 -0
- package/dist/ripple/{p-e9b8a6a9.entry.js → p-5c62e26d.entry.js} +1 -1
- package/dist/ripple/{p-366920dc.js → p-5e5524a1.js} +1 -1
- package/dist/ripple/{p-b52742ca.system.entry.js → p-5eaa2392.entry.js} +1 -1
- package/dist/ripple/{p-1a4b6b02.system.entry.js → p-658f146a.system.entry.js} +1 -1
- package/dist/ripple/{p-ce44ba70.entry.js → p-688f175a.entry.js} +1 -1
- package/dist/ripple/{p-0ba2e506.system.entry.js → p-6be11c03.system.entry.js} +1 -1
- package/dist/ripple/{p-c7e30eb0.system.entry.js → p-6fafc1f1.system.entry.js} +1 -1
- package/dist/ripple/p-708640d3.system.js +1 -0
- package/dist/ripple/{p-544925c2.entry.js → p-724c9ebf.entry.js} +1 -1
- package/dist/ripple/p-7271dbdd.system.entry.js +1 -0
- package/dist/ripple/{p-2b21c6f5.system.entry.js → p-7649cbfe.system.entry.js} +1 -1
- package/dist/ripple/p-76f9acec.entry.js +1 -0
- package/dist/ripple/{p-710c6115.js → p-78faed97.js} +1 -1
- package/dist/ripple/{p-4743176d.system.entry.js → p-79ad7be0.system.entry.js} +1 -1
- package/dist/ripple/{p-7cf5993c.system.entry.js → p-7c4757c8.system.entry.js} +1 -1
- package/dist/ripple/{p-0e36d5b8.system.entry.js → p-7d0c9c6a.system.entry.js} +1 -1
- package/dist/ripple/p-7d212e00.js +1 -0
- package/dist/ripple/{p-d6e58820.system.entry.js → p-7f2bd4c9.system.entry.js} +1 -1
- package/dist/ripple/p-7f8a93dc.entry.js +1 -0
- package/dist/ripple/p-7fa67af6.entry.js +1 -0
- package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
- package/dist/ripple/{p-de272ae7.system.entry.js → p-89121330.system.entry.js} +1 -1
- package/dist/ripple/p-8a596bc9.entry.js +1 -0
- package/dist/ripple/p-93b1503a.entry.js +1 -0
- package/dist/ripple/p-a2171118.entry.js +1 -0
- package/dist/ripple/{p-9d461de5.entry.js → p-a2b40881.entry.js} +1 -1
- package/dist/ripple/{p-58668e84.system.entry.js → p-a538aa2b.system.entry.js} +1 -1
- package/dist/ripple/p-a8f1f6ce.entry.js +1 -0
- package/dist/ripple/{p-b976c84b.entry.js → p-add4b737.entry.js} +1 -1
- package/dist/ripple/{p-f6eff655.system.entry.js → p-ba0614f5.system.entry.js} +1 -1
- package/dist/ripple/{p-21b87733.system.entry.js → p-bd9fb348.system.entry.js} +1 -1
- package/dist/ripple/p-be92ae6c.entry.js +1 -0
- package/dist/ripple/{p-ba6705f0.system.entry.js → p-c2e95216.system.entry.js} +1 -1
- package/dist/ripple/{p-f779ec68.system.entry.js → p-c59f9246.system.entry.js} +1 -1
- package/dist/ripple/{p-88ebddd7.entry.js → p-cd0cc88d.entry.js} +1 -1
- package/dist/ripple/p-cef8a45b.system.js +2 -0
- package/dist/ripple/p-d8c6b2f0.system.entry.js +1 -0
- package/dist/ripple/p-d9da0502.js +2 -0
- package/dist/ripple/{p-ddcbb694.system.entry.js → p-dcf62788.system.entry.js} +1 -1
- package/dist/ripple/p-ddd6addd.entry.js +1 -0
- package/dist/ripple/p-df1c9682.entry.js +1 -0
- package/dist/ripple/p-e13f558e.entry.js +1 -0
- package/dist/ripple/{p-915289ac.system.entry.js → p-e19ff8fc.system.entry.js} +1 -1
- package/dist/ripple/p-e9032dfc.entry.js +1 -0
- package/dist/ripple/p-ecd07575.system.js +1 -0
- package/dist/ripple/p-ed9031a2.entry.js +1 -0
- package/dist/ripple/{p-6b014a04.system.entry.js → p-ef6be458.system.entry.js} +1 -1
- package/dist/ripple/{p-55d837e7.system.entry.js → p-ef91a9d6.system.entry.js} +1 -1
- package/dist/ripple/{p-a1fa6df5.system.entry.js → p-f2578643.system.entry.js} +1 -1
- package/dist/ripple/p-f850a628.entry.js +1 -0
- package/dist/ripple/p-f9182339.system.entry.js +1 -0
- package/dist/ripple/p-f9a71cf6.entry.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +6 -3
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/package.json +1 -1
- package/dist/cjs/index-e86c28b6.js +0 -2649
- package/dist/collection/components/charts/chartFunctions.spec.js +0 -16
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +0 -81
- package/dist/collection/components/charts/screenshots.e2e.js +0 -96
- package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +0 -213
- package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +0 -37
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +0 -176
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +0 -163
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +0 -69
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +0 -79
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.spec.js +0 -89
- package/dist/collection/components/datepickers/wm-date-range.e2e.js +0 -443
- package/dist/collection/components/datepickers/wm-date-range.spec.js +0 -22
- package/dist/collection/components/datepickers/wm-datepicker.e2e.js +0 -382
- package/dist/collection/components/datepickers/wm-datepicker.spec.js +0 -21
- package/dist/collection/components/selects/wm-option/wm-option.e2e.js +0 -22
- package/dist/collection/components/selects/wm-option/wm-option.spec.js +0 -63
- package/dist/collection/components/selects/wm-select/wm-select.e2e.js +0 -521
- package/dist/collection/components/selects/wm-select/wm-select.spec.js +0 -271
- package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +0 -200
- package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +0 -48
- package/dist/collection/components/wm-button/wm-button.e2e.js +0 -55
- package/dist/collection/components/wm-button/wm-button.spec.js +0 -74
- package/dist/collection/components/wm-file/wm-file.spec.js +0 -194
- package/dist/collection/components/wm-file-list/wm-file-list.spec.js +0 -69
- package/dist/collection/components/wm-input/wm-input.e2e.js +0 -32
- package/dist/collection/components/wm-input/wm-input.spec.js +0 -173
- package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +0 -23
- package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +0 -54
- package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +0 -11
- package/dist/collection/components/wm-modal/wm-modal-header.spec.js +0 -8
- package/dist/collection/components/wm-modal/wm-modal.e2e.js +0 -104
- package/dist/collection/components/wm-modal/wm-modal.spec.js +0 -30
- package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +0 -102
- package/dist/collection/components/wm-navigation/wm-navigation.spec.js +0 -91
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +0 -50
- package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +0 -209
- package/dist/collection/components/wm-navigator/wm-navigator.spec.js +0 -177
- package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +0 -312
- package/dist/collection/components/wm-search/wm-search.e2e.js +0 -76
- package/dist/collection/components/wm-search/wm-search.spec.js +0 -71
- package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +0 -112
- package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +0 -9
- package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +0 -91
- package/dist/collection/components/wm-tabs/wm-tabs.spec.js +0 -12
- package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +0 -204
- package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +0 -195
- package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +0 -41
- package/dist/collection/components/wm-textarea/wm-textarea.spec.js +0 -79
- package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +0 -163
- package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +0 -147
- package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +0 -69
- package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +0 -21
- package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +0 -70
- package/dist/collection/components/wm-uploader/wm-uploader.spec.js +0 -234
- package/dist/collection/global/functions.spec.js +0 -126
- package/dist/collection/lang/lang.spec.js +0 -20
- package/dist/esm/index-558b5a82.js +0 -2618
- package/dist/esm-es5/functions-8800c690.js +0 -1
- package/dist/esm-es5/global-0b62026b.js +0 -1
- package/dist/esm-es5/index-558b5a82.js +0 -1
- package/dist/ripple/p-159c4e96.entry.js +0 -1
- package/dist/ripple/p-1b6e0f20.system.js +0 -1
- package/dist/ripple/p-1c486c10.entry.js +0 -1
- package/dist/ripple/p-1fce9f27.entry.js +0 -1
- package/dist/ripple/p-32507c13.system.entry.js +0 -1
- package/dist/ripple/p-39e26322.entry.js +0 -1
- package/dist/ripple/p-417ee34d.entry.js +0 -1
- package/dist/ripple/p-44f426ad.entry.js +0 -1
- package/dist/ripple/p-4de728e1.entry.js +0 -1
- package/dist/ripple/p-4ff87702.system.entry.js +0 -1
- package/dist/ripple/p-568c595f.js +0 -2
- package/dist/ripple/p-5e9c9f0d.entry.js +0 -1
- package/dist/ripple/p-64b1e73b.entry.js +0 -1
- package/dist/ripple/p-74b56394.entry.js +0 -1
- package/dist/ripple/p-79043436.entry.js +0 -1
- package/dist/ripple/p-797d65b7.entry.js +0 -1
- package/dist/ripple/p-8d72d140.entry.js +0 -1
- package/dist/ripple/p-94495341.entry.js +0 -1
- package/dist/ripple/p-94717864.entry.js +0 -1
- package/dist/ripple/p-9eaa0acb.system.entry.js +0 -1
- package/dist/ripple/p-a69425b0.entry.js +0 -1
- package/dist/ripple/p-ab8d78cc.system.js +0 -2
- package/dist/ripple/p-adc254e6.entry.js +0 -1
- package/dist/ripple/p-b02048a9.entry.js +0 -1
- package/dist/ripple/p-bab9379d.js +0 -1
- package/dist/ripple/p-bc52ce59.entry.js +0 -1
- package/dist/ripple/p-bfc1065f.system.entry.js +0 -1
- package/dist/ripple/p-c699a3a7.system.js +0 -1
- package/dist/ripple/p-d585c49a.entry.js +0 -1
- package/dist/ripple/p-dc77d98a.entry.js +0 -1
- package/dist/ripple/p-dd01bd48.entry.js +0 -1
- package/dist/ripple/p-eca78c2b.js +0 -1
- package/dist/ripple/p-edd87140.system.js +0 -1
|
@@ -11,12 +11,12 @@ export class LineChart {
|
|
|
11
11
|
this.displayedXIntervals = [];
|
|
12
12
|
this.yIntervals = [];
|
|
13
13
|
this.lineStyles = [
|
|
14
|
-
{ color: "#8b86ca", icon: "triangle" },
|
|
15
|
-
{ color: "#2e1b46", icon: "circle" },
|
|
16
|
-
{ color: "#0089e4", icon: "square" },
|
|
17
|
-
{ color: "#088000", icon: "star" },
|
|
18
|
-
{ color: "#ea8500", icon: "rhombus" },
|
|
19
|
-
{ color: "#d54f41", icon: "triangle-inverted" },
|
|
14
|
+
{ color: "#8b86ca", icon: "triangle" }, // lavender
|
|
15
|
+
{ color: "#2e1b46", icon: "circle" }, // midnight
|
|
16
|
+
{ color: "#0089e4", icon: "square" }, // blue
|
|
17
|
+
{ color: "#088000", icon: "star" }, // forest
|
|
18
|
+
{ color: "#ea8500", icon: "rhombus" }, // orange
|
|
19
|
+
{ color: "#d54f41", icon: "triangle-inverted" }, // red
|
|
20
20
|
{ color: "#146ca9", icon: "pentagon" }, // blue
|
|
21
21
|
];
|
|
22
22
|
this.debouncedResize = debounce(async () => {
|
|
@@ -396,7 +396,7 @@ export class LineChart {
|
|
|
396
396
|
popoverStyle = {
|
|
397
397
|
"--leftPosition": `0%`,
|
|
398
398
|
"--topPosition": "0%",
|
|
399
|
-
maxWidth: Math.min(this.el.clientWidth - 2, 400) + "px",
|
|
399
|
+
maxWidth: Math.min(this.el.clientWidth - 2, 400) + "px", // take up no more max-width than is visually available
|
|
400
400
|
transform: `translateX(calc(${displaceLeft}))`, // align with left edge of component
|
|
401
401
|
};
|
|
402
402
|
}
|
|
@@ -436,9 +436,9 @@ export class LineChart {
|
|
|
436
436
|
return h("div", { class: "highlight", style: highlightStyle });
|
|
437
437
|
}
|
|
438
438
|
render() {
|
|
439
|
-
return (h(Host, { onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { class: "chart-wrapper" }, h("div", { class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
|
|
439
|
+
return (h(Host, { key: '4ddac80582553966d0220bf23227946830071c2c', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: '0449968192d808926652fac96cfa2067471b0dfb', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: '4f1b3b0a9b5979fa34a2444201cac973015c0994', class: "chart-wrapper" }, h("div", { key: '88ded396f08aff0a52558c5f07a4577db39417bf', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: '417b81ee9507d4513120033a82ed30eaa44f960a', ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
|
|
440
440
|
"--backgroundSize": `${this.dataPointMatrix[0][this.xIntervals.indexOf(this.displayedXIntervals[1])].xPositionPercent}%`,
|
|
441
|
-
} }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
441
|
+
} }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: '89ba3ebc74778a9cea23786ecaffe2314e3781fa', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: 'ef3dab4aea3e3600db34017e74903d6f5e0f6cff', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: '8ed7658d881d03f1b22e0b3c39046c9170c870bb', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
442
442
|
}
|
|
443
443
|
static get is() { return "wm-line-chart"; }
|
|
444
444
|
static get encapsulation() { return "shadow"; }
|
|
@@ -95,7 +95,7 @@ export class ProgressIndicator {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(Host, { onBlur: () => exitChart.call(this) }, h("div", { ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.mode} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: "0", "aria-roledescription": this.chartRoleDescription, "aria-describedby": `chart-instructions` }, h("label", { id: `label-${this.uid}`, class: "label", htmlFor: `graphic-${this.uid}` }, h("span", { class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.mode && this.renderBarOrDoughnut(), this.mode === "doughnut" ? renderLegend.call(this, this.mode) : "", h("priv-chart-popover", { class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.mode === "doughnut" ? renderCompletionMessage.call(this) : ""), renderInstructionsText()));
|
|
98
|
+
return (h(Host, { key: '05666b54ac54aa245610f80b91f44f15ab242b23', onBlur: () => exitChart.call(this) }, h("div", { key: '0bae0b3024cbf29cc8a6da5e68884004772c4380', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.mode} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: "0", "aria-roledescription": this.chartRoleDescription, "aria-describedby": `chart-instructions` }, h("label", { key: 'b43987a6beb4fb9526a59aefd5d7fb265fcff8f7', id: `label-${this.uid}`, class: "label", htmlFor: `graphic-${this.uid}` }, h("span", { key: 'ead5c96e6147c1461419914f46b3cc05b792b78d', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.mode && this.renderBarOrDoughnut(), this.mode === "doughnut" ? renderLegend.call(this, this.mode) : "", h("priv-chart-popover", { key: '502cd128a387accac34456f289bb78802a52a650', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.mode === "doughnut" ? renderCompletionMessage.call(this) : ""), renderInstructionsText()));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "wm-progress-indicator"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class ProgressMonitor {
|
|
|
59
59
|
}))));
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { class: this.mode === "doughnut" ? "row" : "column" }, this.modeInitialized && this.groupLegend && this.mode === "bar" && this.renderLegend(), this.modeInitialized && h("slot",
|
|
62
|
+
return (h(Host, { key: '402d49cded01a03166bcf88d9a97116fe36d4586', class: this.mode === "doughnut" ? "row" : "column" }, this.modeInitialized && this.groupLegend && this.mode === "bar" && this.renderLegend(), this.modeInitialized && h("slot", { key: '137935e1ee1337a58d7b09412522e4ab0bdcdf4b' })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "wm-progress-monitor"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -908,6 +908,9 @@
|
|
|
908
908
|
:host .wrapper.invalid .label:after {
|
|
909
909
|
display: inline-block;
|
|
910
910
|
margin-inline-start: 0.25rem;
|
|
911
|
+
vertical-align: middle;
|
|
912
|
+
flex-shrink: 0;
|
|
913
|
+
transform: translateY(-1px);
|
|
911
914
|
}
|
|
912
915
|
:host .wrapper.rtl.label-left .label {
|
|
913
916
|
margin-right: 0;
|
|
@@ -544,11 +544,11 @@ export class PrivCalendar {
|
|
|
544
544
|
}), class: "header-btn arw-btn" }, h("span", { class: "svg-icon svg-next" }))), h("div", { "aria-labelledby": "popup-title-year", role: "grid", class: "months" }, h("div", { role: "row", class: "month-row" }, calendar_months.slice(0, 3).map((month, index) => this.renderMonth(month, index))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(3, 6).map((month, index) => this.renderMonth(month, index + 3))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(6, 9).map((month, index) => this.renderMonth(month, index + 6))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(9).map((month, index) => this.renderMonth(month, index + 9))))));
|
|
545
545
|
}
|
|
546
546
|
render() {
|
|
547
|
-
return (h(Host, { onMouseOut: (ev) => {
|
|
547
|
+
return (h(Host, { key: '500ef2d223ffe8e8b5ff8303b45f26b7538adb06', onMouseOut: (ev) => {
|
|
548
548
|
// @ts-ignore
|
|
549
549
|
if (!this.el.parentElement.contains(ev.toElement))
|
|
550
550
|
this.outOfCal.emit();
|
|
551
|
-
}, role: "application", "aria-describedby": "application" }, this.view === "day" ? this.renderDayView() : this.renderMonthView(), h("div", { id: "application", class: "sr-only" }, this.calName, this.calInstructions)));
|
|
551
|
+
}, role: "application", "aria-describedby": "application" }, this.view === "day" ? this.renderDayView() : this.renderMonthView(), h("div", { key: 'd91690922cc11ad991937dd87cd618d175bca76f', id: "application", class: "sr-only" }, this.calName, this.calInstructions)));
|
|
552
552
|
}
|
|
553
553
|
static get is() { return "priv-calendar"; }
|
|
554
554
|
static get originalStyleUrls() {
|
|
@@ -429,23 +429,23 @@ export class DateRange {
|
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
render() {
|
|
432
|
-
return (h(Host, { "aria-busy": "false" }, h("div", { ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { class: "label-wrapper", id: "start-label-wrapper" }, h("label", { ref: (e) => (this.labelEl = e), id: "startlabel", htmlFor: "start-date-input", class: "label", title: `${this.labelStart} (${this.dateFormat})` }, this.labelStart, this.requiredField && (h("span", { "aria-hidden": "true", class: "required" }, "*")))), h("div", { class: "label-wrapper", id: "end-label-wrapper" }, h("label", { id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { "aria-hidden": "true", class: "required" }, "*")))), h("input", { disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { id: "hyphen" }, "\u00A0-\u00A0"), h("input", { disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
|
|
432
|
+
return (h(Host, { key: 'ffe68e278952d867cd9d1bf4945a91a9218aff41', "aria-busy": "false" }, h("div", { key: '256076b4ecb500f80bde6a0f4b74e0e090a8ebba', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '1a16aee3f2c90b120fea6c3de7853a5f58f95c2b', class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { key: '2bf81bc7b7820b71820fa903f612247deb6b8592', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '09e8a0ee78eb5f19f6a3e94ce8c2bfefaff4a909', ref: (e) => (this.labelEl = e), id: "startlabel", htmlFor: "start-date-input", class: "label", title: `${this.labelStart} (${this.dateFormat})` }, this.labelStart, this.requiredField && (h("span", { key: '0deb9d862a52d6b044572a06645408805be1126e', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: 'ec5368e1736f8b83290238b483965aab0f9f3945', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '6cb070abde6ce9064a030c408894f29af6118984', id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { key: 'e4def58969ee10495955c76ff6df4af0b721d98b', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: '141c909bdeae5c05fc5ca24bfe3f62c756c59bb1', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '71e1f4d5bfac5687c6c0dc78b0c7bf0e23963932', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: '66da2b524e10f19471dfe98e8088f29223fcf1e5', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'd13e35362381766550f1555db5bc86043f29ae55', class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { key: '083f289ad53ef80ebf5bcb04f28cb85f4bf1cce6', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
|
|
433
433
|
id: "date.selectRange",
|
|
434
434
|
defaultMessage: "Select range",
|
|
435
435
|
description: "Button text for screen readers.",
|
|
436
|
-
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { class: "svg-icon svg-date" }), h("span", { class: "calendar", title: intl.formatMessage({
|
|
436
|
+
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'aaf8d91de0e48349c656f77b83bb1867c4d6112b', class: "svg-icon svg-date" }), h("span", { key: '1f039559814e2496d546050eb7d2094645aaafa7', class: "calendar", title: intl.formatMessage({
|
|
437
437
|
id: "date.calendarView",
|
|
438
438
|
defaultMessage: "Calendar View",
|
|
439
439
|
description: "Calendar button",
|
|
440
|
-
}) })))), this.renderCalendars()), h("div",
|
|
440
|
+
}) })))), this.renderCalendars()), h("div", { key: '67c7e28e52c6c313904b42c34691be97eee3cd50' }, h("div", { key: 'a92f68b19779455c45670da21cc9babffc1969e3', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: 'ce61a020e7bc6f2dfa99b69d1b68e810794981f0', id: "month-title", class: "sr-only" }, intl.formatMessage({
|
|
441
441
|
id: "date.selectMonth",
|
|
442
442
|
defaultMessage: "Activate to select a month.",
|
|
443
443
|
description: "Calendar button",
|
|
444
|
-
})), h("div", { id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
444
|
+
})), h("div", { key: 'e0190e6aa9d78c1c32ca90bd8d69fed2150486cc', id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
445
445
|
id: "date.selectYear",
|
|
446
446
|
defaultMessage: "Activate to select a year.",
|
|
447
447
|
description: "Calendar button",
|
|
448
|
-
}))), h("div", { id: "error", class: "error" }, this.errorMessage), h("div", { ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
|
|
448
|
+
}))), h("div", { key: 'f800f3929fd69ab91412adc22cfde50540b7cc25', id: "error", class: "error" }, this.errorMessage), h("div", { key: '95f777e0b9b2f86ee93c879c261056d5534d95d5', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
|
|
449
449
|
}
|
|
450
450
|
static get is() { return "wm-date-range"; }
|
|
451
451
|
static get encapsulation() { return "shadow"; }
|
|
@@ -720,14 +720,17 @@ export class DateRange {
|
|
|
720
720
|
"complexType": {
|
|
721
721
|
"signature": "(inputFormat: string, outputFormat: string, date?: string) => Promise<string>",
|
|
722
722
|
"parameters": [{
|
|
723
|
-
"
|
|
724
|
-
"
|
|
723
|
+
"name": "inputFormat",
|
|
724
|
+
"type": "string",
|
|
725
|
+
"docs": ""
|
|
725
726
|
}, {
|
|
726
|
-
"
|
|
727
|
-
"
|
|
727
|
+
"name": "outputFormat",
|
|
728
|
+
"type": "string",
|
|
729
|
+
"docs": ""
|
|
728
730
|
}, {
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
+
"name": "date",
|
|
732
|
+
"type": "string | undefined",
|
|
733
|
+
"docs": ""
|
|
731
734
|
}],
|
|
732
735
|
"references": {
|
|
733
736
|
"Promise": {
|
|
@@ -746,8 +749,9 @@ export class DateRange {
|
|
|
746
749
|
"complexType": {
|
|
747
750
|
"signature": "(input?: string) => Promise<boolean>",
|
|
748
751
|
"parameters": [{
|
|
749
|
-
"
|
|
750
|
-
"
|
|
752
|
+
"name": "input",
|
|
753
|
+
"type": "string | undefined",
|
|
754
|
+
"docs": ""
|
|
751
755
|
}],
|
|
752
756
|
"references": {
|
|
753
757
|
"Promise": {
|
|
@@ -212,23 +212,23 @@ export class DatePicker {
|
|
|
212
212
|
this.liveRegionEl.textContent = message;
|
|
213
213
|
}
|
|
214
214
|
render() {
|
|
215
|
-
return (h(Host, { "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { "aria-hidden": "true", class: "required" }, "*"))))), h("div",
|
|
215
|
+
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({
|
|
216
216
|
id: "date.selectDate",
|
|
217
217
|
defaultMessage: "Select date",
|
|
218
218
|
description: "Button text for screen readers.",
|
|
219
|
-
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { class: "svg-icon svg-date" }), h("span", { class: "calendar", title: intl.formatMessage({
|
|
219
|
+
}), "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({
|
|
220
220
|
id: "date.calendarView",
|
|
221
221
|
defaultMessage: "Calendar View",
|
|
222
222
|
description: "Calendar button",
|
|
223
|
-
}) })), h("div", { 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", { tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { id: "month-title", class: "sr-only" }, intl.formatMessage({
|
|
223
|
+
}) })), 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({
|
|
224
224
|
id: "date.selectMonth",
|
|
225
225
|
defaultMessage: "Activate to select a month.",
|
|
226
226
|
description: "Calendar button",
|
|
227
|
-
})), h("div", { id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
227
|
+
})), h("div", { key: '37b0366f3742eff0d38993c60e132759683cfc18', id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
228
228
|
id: "date.selectYear",
|
|
229
229
|
defaultMessage: "Activate to select a year.",
|
|
230
230
|
description: "Calendar button",
|
|
231
|
-
})))), h("div", { id: "error", class: "error" }, this.errorMessage), h("div", { ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
|
|
231
|
+
})))), 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" })))));
|
|
232
232
|
}
|
|
233
233
|
static get is() { return "wm-datepicker"; }
|
|
234
234
|
static get encapsulation() { return "shadow"; }
|
|
@@ -433,14 +433,17 @@ export class DatePicker {
|
|
|
433
433
|
"complexType": {
|
|
434
434
|
"signature": "(inputFormat: string, outputFormat: string, date?: string) => Promise<string>",
|
|
435
435
|
"parameters": [{
|
|
436
|
-
"
|
|
437
|
-
"
|
|
436
|
+
"name": "inputFormat",
|
|
437
|
+
"type": "string",
|
|
438
|
+
"docs": ""
|
|
438
439
|
}, {
|
|
439
|
-
"
|
|
440
|
-
"
|
|
440
|
+
"name": "outputFormat",
|
|
441
|
+
"type": "string",
|
|
442
|
+
"docs": ""
|
|
441
443
|
}, {
|
|
442
|
-
"
|
|
443
|
-
"
|
|
444
|
+
"name": "date",
|
|
445
|
+
"type": "string | undefined",
|
|
446
|
+
"docs": ""
|
|
444
447
|
}],
|
|
445
448
|
"references": {
|
|
446
449
|
"Promise": {
|
|
@@ -459,8 +462,9 @@ export class DatePicker {
|
|
|
459
462
|
"complexType": {
|
|
460
463
|
"signature": "(input?: string) => Promise<boolean>",
|
|
461
464
|
"parameters": [{
|
|
462
|
-
"
|
|
463
|
-
"
|
|
465
|
+
"name": "input",
|
|
466
|
+
"type": "string | undefined",
|
|
467
|
+
"docs": ""
|
|
464
468
|
}],
|
|
465
469
|
"references": {
|
|
466
470
|
"Promise": {
|
|
@@ -406,7 +406,7 @@ export class PrivOptionList {
|
|
|
406
406
|
return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
|
|
407
407
|
}
|
|
408
408
|
render() {
|
|
409
|
-
return (h("div", { class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot",
|
|
409
|
+
return (h("div", { key: '2039eeefe0c847fd75fb72bebef8343eb72477de', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '6c03e692d7ab60c7f1211487773a64581be3587b', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: 'a9f9df0dfcab3a75ba946f9ce6f20c109705d82f' })), h("div", { key: '435485d90c3c9f225c5d8290c1398d851a282514', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
410
410
|
}
|
|
411
411
|
static get is() { return "priv-option-list"; }
|
|
412
412
|
static get originalStyleUrls() {
|
|
@@ -690,8 +690,9 @@ export class PrivOptionList {
|
|
|
690
690
|
"complexType": {
|
|
691
691
|
"signature": "(option: HTMLElement) => Promise<void>",
|
|
692
692
|
"parameters": [{
|
|
693
|
-
"
|
|
694
|
-
"
|
|
693
|
+
"name": "option",
|
|
694
|
+
"type": "HTMLElement",
|
|
695
|
+
"docs": ""
|
|
695
696
|
}],
|
|
696
697
|
"references": {
|
|
697
698
|
"Promise": {
|
|
@@ -714,8 +715,9 @@ export class PrivOptionList {
|
|
|
714
715
|
"complexType": {
|
|
715
716
|
"signature": "(optionToSelect?: \"next\" | \"previous\") => Promise<void>",
|
|
716
717
|
"parameters": [{
|
|
717
|
-
"
|
|
718
|
-
"
|
|
718
|
+
"name": "optionToSelect",
|
|
719
|
+
"type": "\"next\" | \"previous\" | undefined",
|
|
720
|
+
"docs": ""
|
|
719
721
|
}],
|
|
720
722
|
"references": {
|
|
721
723
|
"Promise": {
|
|
@@ -325,16 +325,16 @@ export class NestedSelect {
|
|
|
325
325
|
this.isExpanded ? this.close() : this.open();
|
|
326
326
|
},
|
|
327
327
|
};
|
|
328
|
-
return (h(Host, { onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, h("label", { class: "label", id: "label", htmlFor: "selectbtn" }, this.label,
|
|
328
|
+
return (h(Host, { key: '129bfabd72ffc407846c652aa90d1d4a59ba31ce', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: 'f24e954d1c81f48b1939ed0e86ddf638440d114f', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '044688af81b6a7ef8a854f07dd9a5c303d7458df', class: "label-wrapper" }, h("label", { key: 'de5ba657188d7949016bd5901bc5d51f81cf8eb2', class: "label", id: "label", htmlFor: "selectbtn" }, this.label,
|
|
329
329
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
330
|
-
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : (""))), h("div", { class: "button-wrapper" }, h("button", Object.assign({}, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { class: "overflowcontrol" }, h("span", { class: "button-text" }, this.renderButtonText())), h("div", { class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, h("div", { ref: (el) => (this.menuEl = el), class: "menu", style: { "--max-height": this.constrainedMaxHeight }, tabIndex: -1 }, this.renderClearSelectionButton(), this.optgroupEls.map((optgroupEl) => {
|
|
330
|
+
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : (""))), h("div", { key: '53d75b954ddcb150a4c83d869875d1fb9148475d', class: "button-wrapper" }, h("button", Object.assign({ key: '4c1c81d0c19caffbca99a143d09bbec9be3abf75' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: 'ee0f2c447a73c2628de40782d0a318abb3a6aade', class: "overflowcontrol" }, h("span", { key: 'd9c0bac44dc766b6cc6246f3921f13e765f99a5a', class: "button-text" }, this.renderButtonText())), h("div", { key: '8e5541f4b6f01ba8c8ff9573e2b3caff50007c64', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: 'eac4a57813a907ec8d786f90830f705e9f45af48', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '8a48edf4b6dff7980990bf51da320f2cedb5f928', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, h("div", { key: '2df3bde417cb9ebaafeeff47f34ce056db6e0ba7', ref: (el) => (this.menuEl = el), class: "menu", style: { "--max-height": this.constrainedMaxHeight }, tabIndex: -1 }, this.renderClearSelectionButton(), this.optgroupEls.map((optgroupEl) => {
|
|
331
331
|
return (h("button", { class: `menuitem group-btn ${optgroupEl.disabled ? "disabled" : ""}`, role: "menuitem", "data-label": optgroupEl.label, tabindex: -1, "aria-disabled": optgroupEl.disabled, onClick: () => {
|
|
332
332
|
if (!optgroupEl.disabled) {
|
|
333
333
|
optgroupEl.isExpanded = !optgroupEl.isExpanded;
|
|
334
334
|
forceUpdate(this.el);
|
|
335
335
|
}
|
|
336
336
|
}, onKeyDown: (ev) => this.handleMenuitemKeydown(ev) }, h("span", null, optgroupEl.label), this.renderSelectionCount(optgroupEl), optgroupEl.disabled && h("div", { class: "disabled-indication" }, "Disabled"), h("div", { class: "svg-icon svg-next" })));
|
|
337
|
-
})), h("div", { ref: (el) => (this.optListWrapperEl = el), class: "option-list-wrapper hidden" }, h("slot",
|
|
337
|
+
})), h("div", { key: 'a6e4250cfbf9f9c17edec627e74889157c9fce88', ref: (el) => (this.optListWrapperEl = el), class: "option-list-wrapper hidden" }, h("slot", { key: '1c3088473874beb3d093b0fb86623469c9eea7dc' }))), h("div", { key: 'f9757986331dc70934b90697d40d43599645b6e4', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: '5a1dc6e684ffb0e59aaba71d20825836efb480db', id: "nestedselect-announcement", "aria-live": "assertive", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
338
338
|
}
|
|
339
339
|
static get is() { return "wm-nested-select"; }
|
|
340
340
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@ export class Optgroup {
|
|
|
48
48
|
handleDisabledAttribute(this.el, this.isDisabled);
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host,
|
|
51
|
+
return (h(Host, { key: 'bba30132f0e662bcfc6f9a4280558aa4426673f4' }, h("div", { key: '757e663ad18a9a451169f994f54faf8f9182e1d9', class: `list-wrapper` }, h("priv-option-list", { key: '1bfda628a518f2508084a2382cc7a2f19754859e', ref: (el) => (this.optionListEl = el), multiple: this.parentNestedSelect.multiple, search: this.parentNestedSelect.search, maxHeight: this.parentNestedSelect.constrainedMaxHeight, searchPlaceholder: this.parentNestedSelect.searchPlaceholder, optgroupLabel: this.label, selectAll: this.parentNestedSelect.selectAll, onOptionListAllSelected: () => this.wmOptgroupAllSelected.emit(), onOptionListAllDeselected: () => this.wmOptgroupAllDeselected.emit() }, h("slot", { key: 'd584feb13518107132003e262c5bcc818b677c5c' })))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "wm-optgroup"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -143,7 +143,7 @@ export class Option {
|
|
|
143
143
|
this.parentOptionList.addEventListener("optionListSearchChanged", (ev) => this.handleSearch(ev));
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
|
-
return (h(Host, { role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { class: "sr-only" }, this.el.textContent)), h("div", { class: "subinfo" }, this.subinfo)));
|
|
146
|
+
return (h(Host, { key: '613fb3ff6678fbe5793a432817705b46c502ae06', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: '8f9e3e8a88bf839e6b5801f01e6b451d297bce55', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { key: '82c0706404571fda0937308433b9def82f021666', class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { key: '8c657048302620555e49630a4adc94171894b0a3', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: '879fad664edef7a7188a8dfac862b29d7f78af42', class: "sr-only" }, this.el.textContent)), h("div", { key: 'bf5a1372a0daf05ef3cf8af196eddcaacd7ee049', class: "subinfo" }, this.subinfo)));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "wm-option"; }
|
|
149
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -240,9 +240,9 @@ export class Select {
|
|
|
240
240
|
["aria-expanded"]: this.isExpanded ? "true" : "false",
|
|
241
241
|
onClick: () => (this.isExpanded ? this.close() : this.open()),
|
|
242
242
|
};
|
|
243
|
-
return (h(Host, { onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { ref: (el) => (this.labelEl = el), class: "label-wrapper" }, h("label", { class: "label", id: "label", htmlFor: "selectbtn" }, this.label,
|
|
243
|
+
return (h(Host, { key: 'e3fcf83e06764c3eea899653ec5c6d86b33e512b', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: 'd579e6b54136c752da4443cb02f80054ba2260a0', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '2318b1176e9851d0ed00038789b32f6ccebf2429', ref: (el) => (this.labelEl = el), class: "label-wrapper" }, h("label", { key: '57b0bae0589eae306d3147ef8d94dc62482dac46', class: "label", id: "label", htmlFor: "selectbtn" }, this.label,
|
|
244
244
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
245
|
-
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : (""))), h("div", { class: "button-wrapper" }, h("button", Object.assign({}, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { class: `dropdown ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, h("priv-option-list", { ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => this.close(), onOptionListAllSelected: () => this.wmSelectAllSelected.emit(), onOptionListAllDeselected: () => this.wmSelectAllDeselected.emit() }, h("slot",
|
|
245
|
+
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : (""))), h("div", { key: '38b934c9786af128b08753a91a7e6563414612ba', class: "button-wrapper" }, h("button", Object.assign({ key: '02b535f97ba5292a80f81caba43844debfd75f49' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: 'cfa62114c5c2613ff509f6c38c31211bdb4749ab', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: '40cc50c1b5ffc248ec4234a657e1a6de141d1164', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: '36a1b5c0200419956fa03ce4d486b3573589e782', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '1fbb90628253b2464601480ade55d32e05e33859', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: 'e66f2a0f3001b8cc53542fd635cfaa6df1dd3825', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '19a5f0d454d47395ccb1163c8a5bbb205240b4bb', class: `dropdown ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, h("priv-option-list", { key: 'ee9d3cf19e7dc9cec99d9e7e64bdd42dd3228316', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => this.close(), onOptionListAllSelected: () => this.wmSelectAllSelected.emit(), onOptionListAllDeselected: () => this.wmSelectAllDeselected.emit() }, h("slot", { key: '346fdd25fc798cdaf95b79dc7f9d38df947ec6ef' }))), h("div", { key: '22ffe762889ddae3ddc6ab73c971415cfb4c1a0f', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '8a43d2cbbe1f5352b604715cbb89cfb7701c5fcf', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
|
|
246
246
|
}
|
|
247
247
|
static get is() { return "wm-select"; }
|
|
248
248
|
static get encapsulation() { return "shadow"; }
|
|
@@ -190,7 +190,7 @@ export class ActionMenu {
|
|
|
190
190
|
return null;
|
|
191
191
|
}
|
|
192
192
|
render() {
|
|
193
|
-
return (h(Host, { onBlur: () => this.close(false) }, h("div", { class: getTextDir() }, h("wm-button", { "button-type": this.internalButtonType, tooltip: this.tooltip, "custom-background": this.darkMode ? "dark" : undefined, "label-for-identical-buttons": this.labelForIdenticalButtons, icon: this.actionMenuType === "icon" ? "#more-options" : "", iconSize: this.actionMenuType === "icon" ? "24px" : undefined, id: "menubtn", onClick: () => (this.isExpanded ? this.close() : this.open()), onBlur: (ev) => this.handleButtonBlur(ev), disabled: this.disabled, ref: (el) => (this.wmButtonEl = el), "tooltip-position": this.tooltipPosition || this.horizontalPosition, "aria-haspopup": "true", "aria-expanded": this.isExpanded ? "true" : "false", "aria-controls": "menu" }, this.buttonText), h("div", { class: `dropdown ${this.openUp ? "open-up" : ""} ${this.horizontalPosition} ${this.isExpanded ? "open" : ""} hidden`, id: "menu", tabindex: -1, role: "menu", ref: (el) => (this.itemsEl = el) }, h("slot",
|
|
193
|
+
return (h(Host, { key: 'c6dfb14c3fe2e1a65238554ca585e94c7a5e8ed8', onBlur: () => this.close(false) }, h("div", { key: 'ae43b9b2e4da167c035ab018620f55f06cfdf17d', class: getTextDir() }, h("wm-button", { key: '22fbc47fb5e2430e2607bce4e820066906959ab7', "button-type": this.internalButtonType, tooltip: this.tooltip, "custom-background": this.darkMode ? "dark" : undefined, "label-for-identical-buttons": this.labelForIdenticalButtons, icon: this.actionMenuType === "icon" ? "#more-options" : "", iconSize: this.actionMenuType === "icon" ? "24px" : undefined, id: "menubtn", onClick: () => (this.isExpanded ? this.close() : this.open()), onBlur: (ev) => this.handleButtonBlur(ev), disabled: this.disabled, ref: (el) => (this.wmButtonEl = el), "tooltip-position": this.tooltipPosition || this.horizontalPosition, "aria-haspopup": "true", "aria-expanded": this.isExpanded ? "true" : "false", "aria-controls": "menu" }, this.buttonText), h("div", { key: '90dd3b0691b50a06eb8cc4c27d2f7febdc6a00a4', class: `dropdown ${this.openUp ? "open-up" : ""} ${this.horizontalPosition} ${this.isExpanded ? "open" : ""} hidden`, id: "menu", tabindex: -1, role: "menu", ref: (el) => (this.itemsEl = el) }, h("slot", { key: '5c6eeb1aa8b90c2b679d593d81f90cde7d10ff79' })))));
|
|
194
194
|
}
|
|
195
195
|
static get is() { return "wm-action-menu"; }
|
|
196
196
|
static get encapsulation() { return "shadow"; }
|
|
@@ -183,7 +183,7 @@ export class Button {
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
render() {
|
|
186
|
-
return (h(Host, { class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { 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", { class: "button-text" }, h("slot",
|
|
186
|
+
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" })))));
|
|
187
187
|
}
|
|
188
188
|
static get is() { return "wm-button"; }
|
|
189
189
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,7 +171,7 @@ export class File {
|
|
|
171
171
|
return (h("div", { class: `file-wrapper` }, h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""}` }, this.renderFileName(), !this.errorMessage && (h("div", { class: "right-group" }, this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (h("wm-button", { "permanently-delete": true, "button-type": "textonly", "label-for-identical-buttons": this.generateClearButtonLabel(this.name), onClick: () => this.wmFileErrorCleared.emit() }, this.clearButtonText)), this.progress == 100 && h("span", { class: "svg-icon svg-success" })), this.errorMessage && h("div", { class: "error-message" }, this.errorMessage)));
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return h(Host, { role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
174
|
+
return h(Host, { key: '534c481a5423a9f1a1ec811ec6b736e462a981ea', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "wm-file"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class FileList {
|
|
|
4
4
|
this.showInfo = "last-updated";
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { role: "list", class: "list-wrapper" }, h("slot",
|
|
7
|
+
return (h("div", { key: '69e557483f15721fc39315353da4cc1db7b6405d', role: "list", class: "list-wrapper" }, h("slot", { key: '1f00bd3aa0961aa99298eacb90b65717e8a5fd87' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "wm-file-list"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -879,6 +879,9 @@
|
|
|
879
879
|
:host .wrapper.invalid .label:after {
|
|
880
880
|
display: inline-block;
|
|
881
881
|
margin-inline-start: 0.25rem;
|
|
882
|
+
vertical-align: middle;
|
|
883
|
+
flex-shrink: 0;
|
|
884
|
+
transform: translateY(-1px);
|
|
882
885
|
}
|
|
883
886
|
:host .wrapper.rtl.label-left .label {
|
|
884
887
|
margin-right: 0;
|
|
@@ -101,7 +101,7 @@ export class Input {
|
|
|
101
101
|
: `info error`;
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { class: "label-wrapper" }, h("label", { htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))), h("div", { class: "inner-wrapper" }, h("div", { class: "text-after-wrapper" }, h("div", { class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { id: "info", class: "info" }, this.info)), h("div", { id: "error", class: "error-message" }, this.errorMessage), h("div", { class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
104
|
+
return (h("div", { key: '62f9860ec2c3ab8b8889a3cb16782cd751c785fb', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: '5ee7f338762c085696e47d58e8f75f93bf4d4a6f', class: "label-wrapper" }, h("label", { key: '65f22de9893c6f5edb02a60229a8b45869ff0807', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: '43577e74f14b26a0f41d77d326cd88d3d171e6b7', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: '440bf0ce343f6735ab26a4b3926da12353bf855f', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: 'ab920b6710d5a7d1aeb4a118d64da53c74e1edae', class: "inner-wrapper" }, h("div", { key: '9cb24ca5e904bbbbf3df16efe6b09ea2cacfd44c', class: "text-after-wrapper" }, h("div", { key: '78fa02386934097655347c80ce4e7b76e1531900', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: 'a34b2dd76159a2662bf4f0c693a2ff3a76483b32', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '361b681383669fd62399818fde3010bc67a484e2', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { key: 'dcb784ead7dc9e468f260b3821957fe85c47fc0d', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: 'd133d5ae885d18c52fba9e09b54918eef2005fba', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: 'e2ff90b30e75517d3aa96ad2a80af2a1875f4ba8', id: "info", class: "info" }, this.info)), h("div", { key: '68f36477a50cce27e642b47e49448e8f2502b275', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '8b86d3977cad2208e5428226ed83245b5747049d', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "wm-input"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -98,7 +98,7 @@ export class Menuitem {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, this.icon && this.renderIcon(), this.el.textContent, this.description ? h("div", { class: "description" }, this.description) : "")));
|
|
101
|
+
return (h(Host, { key: '16c2fc6ddfd8439be81e11534f9a7303c121c6f8', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: '138d8175228c5de3132e2b8c491baf5ea4ffeaaf', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, this.icon && this.renderIcon(), this.el.textContent, this.description ? h("div", { class: "description" }, this.description) : "")));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "wm-menuitem"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,7 +30,7 @@ export class ModalFooter {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
|
|
33
|
+
return (h("div", { key: '10a9f1254c1b643ba9f89ac1ee0fae7858de6c9a', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '0952172dfbf984b1bade03bd46961ea87dcbf0fb', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: 'cadbb6b7d1049d8569622d942a8ef729b7e3a433', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: 'd200b5ab6bf7345416584317b472644107beb221', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: 'a549abb82c93025ad46f15efd73e0e064819d00c', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "wm-modal-footer"; }
|
|
36
36
|
static get originalStyleUrls() {
|
|
@@ -21,7 +21,7 @@ export class ModalHeader {
|
|
|
21
21
|
parentModal.emitCloseEvent();
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host,
|
|
24
|
+
return (h(Host, { key: 'b47b9c7312835b262a989a6767e22cb8989e11fa' }, h("div", { key: 'f630fc530287907277206152fd5f136464dfd4c1', class: "wm-wrapper" }, h("div", { key: '1905201146dc1822f4f94a8b6cfa555d8e8b48e4' }, h("h2", { key: '48c5208a4901e205fa75a97090ff94834cea72b2', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: 'b446719f776cad720d022078d7638f96541f24d1', class: "subtitle" }, this.subheading))), h("wm-button", { key: '7d7e003f445142544a26c80005801cdb7bd44d4f', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "wm-modal-header"; }
|
|
27
27
|
static get originalStyleUrls() {
|
|
@@ -108,11 +108,11 @@ export class Modal {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("dialog", { class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
111
|
+
return (h("dialog", { key: '180b70af975b675f000a254775207ed546b77568', class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'e56f1ec368d2b1adf786c3621e25a7d4854dbb59', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
112
112
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
113
113
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
114
114
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
115
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { class: "wm-tooltip" }), h("slot",
|
|
115
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: 'ab6538a71ffbdafb09b8921e69f5cfc6ebec2f43', class: "wm-tooltip" }), h("slot", { key: '4de24a0170c9ad81ec726f2fc899f10dedc81142' }), h("div", { key: 'acfccf69bdc7c9b57f77f5fb4fc47907921030c7', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
116
116
|
this.focusFirstElement.emit();
|
|
117
117
|
} })));
|
|
118
118
|
}
|
|
@@ -27,7 +27,7 @@ export class ModalPssFooter {
|
|
|
27
27
|
parentModal.emitSecondaryEvent();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
|
|
30
|
+
return (h("div", { key: 'd7053a0ac25d4ac0fd6a8113393610aafb01faf1', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '413ea32764100a255732fdf7a0e1eadfd3d8eabb', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '79c0c4d739c49d38e5eeaa3845432e37ee0959ce', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: 'cb0b336e44560a517c396e9a8452c9920c89f994', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '22815a7eadac603d768db2453cd1387626ab4b77', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "wm-modal-pss-footer"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -25,7 +25,7 @@ export class ModalPssHeader {
|
|
|
25
25
|
// this.headingElement.focus();
|
|
26
26
|
// }
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host,
|
|
28
|
+
return (h(Host, { key: 'ff40133791edec6ccf46344723a61ecca7962381' }, h("div", { key: '348f09f6418d16f01aa89566999ac1a65bb73790', class: "wm-wrapper" }, h("div", { key: '45197f8c1e4b475d3227e0c0aaff01ce5bf20055' }, h("h2", { key: '299a0875fbff68154b8f370b50f9965d5e43a082', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '4ebdd6dc8a29c9615c74c33f4a85d95a26867164', class: "subtitle" }, this.subheading))), h("wm-button", { key: '157e933ac7bbbe451ede2f45e0a9840833ff4df6', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "wm-modal-pss-header"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -112,9 +112,9 @@ export class ModalPss {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (h(Host, { class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
|
|
115
|
+
return (h(Host, { key: '4c8851746efcbbe4b172bb27b77a71158dd6dc04', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
|
|
116
116
|
this.focusLastElement.emit();
|
|
117
|
-
} }, h("div", { class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
117
|
+
} }, h("div", { key: 'bd96e1abafd5ee50e4c2857a81c36b885eb10423', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'e107d2cac3f3acefddd17db95e14870c503718cf', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
118
118
|
this.focusFirstElement.emit();
|
|
119
119
|
} })));
|
|
120
120
|
}
|