@watermarkinsights/ripple 5.10.0 → 5.11.0-1
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-12fff65f.js → cjs/app-globals-5e46c5dd.js} +10 -1
- package/dist/cjs/{chartFunctions-c4046c7a.js → chartFunctions-a3a08880.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 +4 -3
- 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 +12 -11
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +8 -6
- package/dist/cjs/wm-button.cjs.entry.js +6 -5
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +8 -7
- package/dist/cjs/wm-date-range.cjs.entry.js +9 -8
- package/dist/cjs/wm-datepicker.cjs.entry.js +9 -8
- 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 +6 -5
- 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 +8 -7
- package/dist/cjs/wm-optgroup.cjs.entry.js +5 -4
- package/dist/cjs/wm-option_2.cjs.entry.js +10 -8
- package/dist/cjs/wm-pagination.cjs.entry.js +5 -4
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +16 -9
- 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 +8 -7
- package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +6 -5
- package/dist/cjs/wm-timepicker.cjs.entry.js +6 -5
- package/dist/cjs/wm-toggletip.cjs.entry.js +6 -5
- 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.css +3 -4
- 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.css +3 -4
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +7 -2
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
- 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.js +3 -3
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
- package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
- 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.css +0 -6
- 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.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.js +3 -3
- package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
- package/dist/collection/components/wm-uploader/wm-uploader.css +0 -6
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/{cjs/global-e99f3b91.js → esm/app-globals-ca017e0d.js} +7 -2
- package/dist/esm/{chartFunctions-5555bab0.js → chartFunctions-21d5a3d3.js} +3 -3
- package/dist/esm/{functions-8800c690.js → functions-f39e6177.js} +105 -8
- package/dist/esm/index-130e07bb.js +1828 -0
- package/dist/esm/{intl-cf443c87.js → intl-a0ebf99e.js} +1 -1
- package/dist/esm/loader.js +5 -4
- 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 +13 -12
- package/dist/esm/wm-action-menu_2.entry.js +8 -6
- package/dist/esm/wm-button.entry.js +6 -5
- package/dist/esm/wm-chart-slice.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +8 -7
- package/dist/esm/wm-date-range.entry.js +9 -8
- package/dist/esm/wm-datepicker.entry.js +9 -8
- 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 +6 -5
- 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 +8 -7
- package/dist/esm/wm-optgroup.entry.js +5 -4
- package/dist/esm/wm-option_2.entry.js +10 -8
- package/dist/esm/wm-pagination.entry.js +5 -4
- package/dist/esm/wm-progress-indicator_3.entry.js +16 -9
- 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 +8 -7
- package/dist/esm/wm-tag-option.entry.js +2 -2
- package/dist/esm/wm-textarea.entry.js +6 -5
- package/dist/esm/wm-timepicker.entry.js +6 -5
- package/dist/esm/wm-toggletip.entry.js +6 -5
- package/dist/esm/wm-uploader.entry.js +8 -7
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-ca017e0d.js +1 -0
- package/dist/esm-es5/{chartFunctions-5555bab0.js → chartFunctions-21d5a3d3.js} +1 -1
- package/dist/esm-es5/functions-f39e6177.js +1 -0
- package/dist/esm-es5/index-130e07bb.js +1 -0
- package/dist/esm-es5/{intl-cf443c87.js → intl-a0ebf99e.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-0335da82.entry.js +1 -0
- package/dist/ripple/{p-65d26233.system.entry.js → p-043901ab.system.entry.js} +1 -1
- package/dist/ripple/{p-3c3c6b29.system.entry.js → p-044cbd11.system.entry.js} +1 -1
- package/dist/ripple/{p-0b4b0741.system.entry.js → p-07087139.system.entry.js} +1 -1
- package/dist/ripple/{p-0d082f95.entry.js → p-0bffed17.entry.js} +1 -1
- package/dist/ripple/{p-d8bc3fd7.system.entry.js → p-0d77c2f2.system.entry.js} +1 -1
- package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
- package/dist/ripple/{p-88c968e7.system.entry.js → p-1c9e0cae.system.entry.js} +1 -1
- package/dist/ripple/p-2686e38f.entry.js +1 -0
- package/dist/ripple/p-26c0304e.entry.js +1 -0
- package/dist/ripple/p-2e1f1f9e.entry.js +1 -0
- package/dist/ripple/p-2f07262e.entry.js +1 -0
- package/dist/ripple/{p-e49d3992.entry.js → p-3405e16e.entry.js} +1 -1
- package/dist/ripple/{p-4edb481f.system.entry.js → p-342e6ba1.system.entry.js} +1 -1
- package/dist/ripple/p-36fa8451.entry.js +1 -0
- package/dist/ripple/{p-2ce69098.system.js → p-37b044c7.system.js} +1 -1
- package/dist/ripple/p-3e144fc5.system.js +1 -0
- package/dist/ripple/p-3f486eed.system.js +1 -0
- package/dist/ripple/{p-b0512477.system.entry.js → p-44b7ac3f.system.entry.js} +1 -1
- package/dist/ripple/p-46979d51.entry.js +1 -0
- package/dist/ripple/p-4b0989d7.entry.js +1 -0
- package/dist/ripple/p-4ffed2a0.system.entry.js +1 -0
- package/dist/ripple/{p-04502e9c.entry.js → p-540dc07f.entry.js} +1 -1
- package/dist/ripple/p-56d7d853.entry.js +1 -0
- package/dist/ripple/p-585d603f.entry.js +1 -0
- package/dist/ripple/{p-bf1c19f7.system.entry.js → p-5a05046a.system.entry.js} +1 -1
- package/dist/ripple/p-5c2fc698.entry.js +1 -0
- package/dist/ripple/p-5f247e4a.entry.js +1 -0
- package/dist/ripple/p-65d2c6b7.entry.js +1 -0
- package/dist/ripple/{p-ef980041.system.entry.js → p-6b119eec.system.entry.js} +1 -1
- package/dist/ripple/{p-a8cee2a3.system.entry.js → p-6c1553b1.system.entry.js} +1 -1
- package/dist/ripple/p-6c716f1c.system.entry.js +1 -0
- package/dist/ripple/p-721c785a.system.entry.js +1 -0
- package/dist/ripple/p-72935ed4.entry.js +1 -0
- package/dist/ripple/{p-b976c84b.entry.js → p-76d248e6.entry.js} +1 -1
- package/dist/ripple/p-7718d572.system.entry.js +1 -0
- package/dist/ripple/p-79b5df24.entry.js +1 -0
- package/dist/ripple/{p-9ca03762.system.entry.js → p-7dec8712.system.entry.js} +1 -1
- package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
- package/dist/ripple/{p-950dc6c4.system.entry.js → p-8270cd9e.system.entry.js} +1 -1
- package/dist/ripple/p-88e4a846.js +1 -0
- package/dist/ripple/p-89a2db02.js +1 -0
- package/dist/ripple/{p-d168b8bc.entry.js → p-8acb1dc0.entry.js} +1 -1
- package/dist/ripple/{p-ac625334.system.entry.js → p-8b983e94.system.entry.js} +1 -1
- package/dist/ripple/p-9160d382.system.entry.js +1 -0
- package/dist/ripple/{p-19c412a2.system.entry.js → p-91fc6acf.system.entry.js} +1 -1
- package/dist/ripple/p-945d47d1.system.js +1 -0
- package/dist/ripple/{p-710c6115.js → p-9708c995.js} +1 -1
- package/dist/ripple/{p-1bb48113.system.entry.js → p-97c524e5.system.entry.js} +1 -1
- package/dist/ripple/p-a173bac6.system.entry.js +1 -0
- package/dist/ripple/{p-7e4bb548.system.entry.js → p-a89a0ce4.system.entry.js} +1 -1
- package/dist/ripple/{p-a0e84979.entry.js → p-a96fd05a.entry.js} +1 -1
- package/dist/ripple/p-aaa18797.entry.js +1 -0
- package/dist/ripple/p-aab342f1.entry.js +1 -0
- package/dist/ripple/{p-7f0ca371.system.entry.js → p-aae83494.system.entry.js} +1 -1
- package/dist/ripple/{p-0fc6dab9.system.entry.js → p-ade89f97.system.entry.js} +1 -1
- package/dist/ripple/{p-dadb480d.system.entry.js → p-b02dfe01.system.entry.js} +1 -1
- package/dist/ripple/{p-34218322.system.entry.js → p-b8912fba.system.entry.js} +1 -1
- package/dist/ripple/{p-3322823d.system.js → p-bb25b9af.system.js} +1 -1
- package/dist/ripple/p-c22b9ac6.entry.js +1 -0
- package/dist/ripple/{p-4743176d.system.entry.js → p-c34c9cbb.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-c75041af.system.entry.js → p-d19f494d.system.entry.js} +1 -1
- package/dist/ripple/{p-88ae8914.system.entry.js → p-d3ffe48c.system.entry.js} +1 -1
- package/dist/ripple/{p-34014c8d.system.entry.js → p-d49cd886.entry.js} +1 -1
- package/dist/ripple/p-d7ce58a3.entry.js +1 -0
- package/dist/ripple/p-d9da0502.js +2 -0
- package/dist/ripple/p-e3083b58.entry.js +1 -0
- package/dist/ripple/{p-e1fb942c.system.entry.js → p-e8023928.system.entry.js} +1 -1
- package/dist/ripple/p-eb832c89.entry.js +1 -0
- package/dist/ripple/p-ecd38ef7.entry.js +1 -0
- package/dist/ripple/p-ee307bf6.entry.js +1 -0
- package/dist/ripple/{p-7c27f475.system.entry.js → p-f1abfaa1.entry.js} +1 -1
- package/dist/ripple/{p-599dd035.js → p-f41ab9ea.js} +1 -1
- package/dist/ripple/p-f4ed6ee8.system.entry.js +1 -0
- package/dist/ripple/{p-cc4cf7a6.system.entry.js → p-f9222794.system.entry.js} +1 -1
- package/dist/ripple/p-fd862f4e.system.entry.js +1 -0
- package/dist/ripple/p-fec7ea2d.entry.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/package.json +5 -5
- 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-12fff65f.js +0 -1
- package/dist/esm-es5/index-558b5a82.js +0 -1
- package/dist/ripple/p-09330cc3.entry.js +0 -1
- package/dist/ripple/p-0eddc626.entry.js +0 -1
- package/dist/ripple/p-1887c39d.entry.js +0 -1
- package/dist/ripple/p-1ad4491d.entry.js +0 -1
- package/dist/ripple/p-221a7c22.entry.js +0 -1
- package/dist/ripple/p-268278c4.entry.js +0 -1
- package/dist/ripple/p-2f49acc5.entry.js +0 -1
- package/dist/ripple/p-34ad1884.entry.js +0 -1
- package/dist/ripple/p-3d99c704.entry.js +0 -1
- package/dist/ripple/p-4627f77f.entry.js +0 -1
- package/dist/ripple/p-4abcb864.entry.js +0 -1
- package/dist/ripple/p-4ecaa6de.entry.js +0 -1
- package/dist/ripple/p-50501e07.entry.js +0 -1
- package/dist/ripple/p-568c595f.js +0 -2
- package/dist/ripple/p-5f78dd11.entry.js +0 -1
- package/dist/ripple/p-658a2086.system.entry.js +0 -1
- package/dist/ripple/p-691c2fcb.system.js +0 -1
- package/dist/ripple/p-72bf2c06.system.entry.js +0 -1
- package/dist/ripple/p-7e0847db.system.js +0 -1
- package/dist/ripple/p-880f1008.system.entry.js +0 -1
- package/dist/ripple/p-8d7ecab9.entry.js +0 -1
- package/dist/ripple/p-8fcebe03.entry.js +0 -1
- package/dist/ripple/p-a4d550b3.entry.js +0 -1
- package/dist/ripple/p-a6cc8bb0.system.entry.js +0 -1
- package/dist/ripple/p-ab8d78cc.system.js +0 -2
- package/dist/ripple/p-b0ada8f7.system.entry.js +0 -1
- package/dist/ripple/p-b1405972.entry.js +0 -1
- package/dist/ripple/p-b72aa60b.entry.js +0 -1
- package/dist/ripple/p-b8803924.js +0 -1
- package/dist/ripple/p-bc566798.entry.js +0 -1
- package/dist/ripple/p-db040939.entry.js +0 -1
- package/dist/ripple/p-df387590.entry.js +0 -1
- package/dist/ripple/p-e5c8a584.entry.js +0 -1
- package/dist/ripple/p-eca78c2b.js +0 -1
- package/dist/ripple/p-edd87140.system.js +0 -1
- package/dist/ripple/p-f1f7dcfd.entry.js +0 -1
- package/dist/ripple/p-f623828b.entry.js +0 -1
- package/dist/ripple/p-fa939c76.entry.js +0 -1
- package/dist/ripple/p-fe89c69f.system.entry.js +0 -1
|
@@ -111,11 +111,11 @@ export class ChartPopover {
|
|
|
111
111
|
const titleAffordance = this.sliceDetails &&
|
|
112
112
|
this.sliceDetails.title &&
|
|
113
113
|
(this.sliceDetails.title[0] === "-" ? "negative" : this.sliceDetails.title[0] === "+" ? "positive" : "");
|
|
114
|
-
return (h(Host,
|
|
114
|
+
return (h(Host, { key: 'd62b06c6554267fda571e17ec1cab1f38e9749cd' }, !!this.open && this.sliceDetails ? (h("div", { "aria-hidden": "true", class: "popover" }, h("h1", { class: `title ${titleAffordance}` }, this.sliceDetails.title), h("p", { class: "text" }, this.sliceDetails.text), this.sliceDetails.buttonText ? (
|
|
115
115
|
// @ts-ignore
|
|
116
116
|
h("button", { tabindex: "-1",
|
|
117
117
|
// @ts-ignore
|
|
118
|
-
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), h("div", { ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
|
|
118
|
+
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), h("div", { key: 'fb7f82f2ea6b6b37a6c25fdc542792244aeb3975', ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "priv-chart-popover"; }
|
|
121
121
|
static get originalStyleUrls() {
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
--wmcolor-chart-label-text: var(--wmcolor-text);
|
|
36
36
|
--wmcolor-chart-subinfo-text: var(--wmcolor-text);
|
|
37
37
|
--wmcolor-chart-value-text: var(--wmcolor-text);
|
|
38
|
+
--custom-label-width: 12rem;
|
|
38
39
|
display: block;
|
|
39
40
|
}
|
|
40
41
|
:host .component-wrapper {
|
|
@@ -65,9 +66,6 @@
|
|
|
65
66
|
width: 100%;
|
|
66
67
|
color: var(--wmcolor-chart-subinfo-text);
|
|
67
68
|
}
|
|
68
|
-
:host .component-wrapper .label.custom-width {
|
|
69
|
-
width: var(--custom-label-width);
|
|
70
|
-
}
|
|
71
69
|
:host .component-wrapper .label.--none {
|
|
72
70
|
display: none;
|
|
73
71
|
}
|
|
@@ -207,6 +205,7 @@
|
|
|
207
205
|
:host .component-wrapper.bar label {
|
|
208
206
|
display: flex;
|
|
209
207
|
flex-direction: column;
|
|
208
|
+
width: unset;
|
|
210
209
|
}
|
|
211
210
|
:host .component-wrapper.bar label .subinfo {
|
|
212
211
|
position: initial;
|
|
@@ -237,7 +236,7 @@
|
|
|
237
236
|
display: flex;
|
|
238
237
|
justify-content: center;
|
|
239
238
|
min-height: 30px;
|
|
240
|
-
width:
|
|
239
|
+
width: var(--custom-label-width);
|
|
241
240
|
text-align: left;
|
|
242
241
|
padding-right: 1.25rem;
|
|
243
242
|
padding-bottom: 0;
|
|
@@ -138,7 +138,7 @@ export class Chart {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
|
-
return (h(Host, { onBlur: () => exitChart.call(this) }, h("div", { ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover", { class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
|
|
141
|
+
return (h(Host, { key: 'ef9b572d9a621ce353e3a9938f742fcbc112bdaa', onBlur: () => exitChart.call(this) }, h("div", { key: '1986f84f897d79ccf0d0b8553bcd8d10470910f1', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { key: 'dce7ee04fed3d9eb491eebf2c90c3b951776b2bb', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '3a88022a876f5e26861cd38f7770dde825a23928', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover", { key: '3eebb869fd86ef29cce02239139019ba833d1e5f', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
|
|
142
142
|
}
|
|
143
143
|
static get is() { return "wm-chart"; }
|
|
144
144
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,12 +11,12 @@ export class LineChart {
|
|
|
11
11
|
this.displayedXIntervals = [];
|
|
12
12
|
this.yIntervals = [];
|
|
13
13
|
this.lineStyles = [
|
|
14
|
-
{ color: "#8b86ca", icon: "f536" },
|
|
15
|
-
{ color: "#2e1b46", icon: "f12f" },
|
|
16
|
-
{ color: "#0089e4", icon: "f763" },
|
|
17
|
-
{ color: "#088000", icon: "f4ce" },
|
|
18
|
-
{ color: "#ea8500", icon: "f70a" },
|
|
19
|
-
{ color: "#d54f41", icon: "f536" },
|
|
14
|
+
{ color: "#8b86ca", icon: "f536" }, // lavender, triangle
|
|
15
|
+
{ color: "#2e1b46", icon: "f12f" }, // midnight, circle
|
|
16
|
+
{ color: "#0089e4", icon: "f763" }, // blue, square
|
|
17
|
+
{ color: "#088000", icon: "f4ce" }, // forest, star
|
|
18
|
+
{ color: "#ea8500", icon: "f70a" }, // orange, rhombus
|
|
19
|
+
{ color: "#d54f41", icon: "f536" }, // red, upside down triangle
|
|
20
20
|
{ color: "#146ca9", icon: "f6ff" }, // blue, upside down triangle
|
|
21
21
|
];
|
|
22
22
|
this.debouncedResize = debounce(async () => {
|
|
@@ -403,7 +403,7 @@ export class LineChart {
|
|
|
403
403
|
popoverStyle = {
|
|
404
404
|
"--leftPosition": `0%`,
|
|
405
405
|
"--topPosition": "0%",
|
|
406
|
-
maxWidth: Math.min(this.el.clientWidth - 2, 400) + "px",
|
|
406
|
+
maxWidth: Math.min(this.el.clientWidth - 2, 400) + "px", // take up no more max-width than is visually available
|
|
407
407
|
transform: `translateX(calc(${displaceLeft}))`, // align with left edge of component
|
|
408
408
|
};
|
|
409
409
|
}
|
|
@@ -443,9 +443,9 @@ export class LineChart {
|
|
|
443
443
|
return h("div", { class: "highlight", style: highlightStyle });
|
|
444
444
|
}
|
|
445
445
|
render() {
|
|
446
|
-
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: {
|
|
446
|
+
return (h(Host, { key: '5a7e6e4c3e644053ad733255c7973d5554a82923', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: '6fa6f50f75654c7959b24d5a1e0a16f91e1e265d', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: '21e0e796d079678eb8b9012907491a014fb6d0c6', class: "chart-wrapper" }, h("div", { key: '3f9306f5d4f4a7a35187669dd0526d6ed8839521', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: '15e94d7886b6aa320a83cb8352655c4e65dba13b', ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
|
|
447
447
|
"--backgroundSize": `${this.dataPointMatrix[0][this.xIntervals.indexOf(this.displayedXIntervals[1])].xPositionPercent}%`,
|
|
448
|
-
} }, 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))));
|
|
448
|
+
} }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: 'd30088ab428ec61c9ee395d0ca30876422ffab15', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: 'dd89ddbb408b35625315be2c77257a9c76f93557', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: '153a8e77d758fe3161c0f2ca0a722de8753ec217', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
449
449
|
}
|
|
450
450
|
static get is() { return "wm-line-chart"; }
|
|
451
451
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
--wmcolor-chart-label-text: var(--wmcolor-text);
|
|
36
36
|
--wmcolor-chart-subinfo-text: var(--wmcolor-text);
|
|
37
37
|
--wmcolor-chart-value-text: var(--wmcolor-text);
|
|
38
|
+
--custom-label-width: 12rem;
|
|
38
39
|
display: block;
|
|
39
40
|
}
|
|
40
41
|
:host .component-wrapper {
|
|
@@ -65,9 +66,6 @@
|
|
|
65
66
|
width: 100%;
|
|
66
67
|
color: var(--wmcolor-chart-subinfo-text);
|
|
67
68
|
}
|
|
68
|
-
:host .component-wrapper .label.custom-width {
|
|
69
|
-
width: var(--custom-label-width);
|
|
70
|
-
}
|
|
71
69
|
:host .component-wrapper .label.--none {
|
|
72
70
|
display: none;
|
|
73
71
|
}
|
|
@@ -207,6 +205,7 @@
|
|
|
207
205
|
:host .component-wrapper.bar label {
|
|
208
206
|
display: flex;
|
|
209
207
|
flex-direction: column;
|
|
208
|
+
width: unset;
|
|
210
209
|
}
|
|
211
210
|
:host .component-wrapper.bar label .subinfo {
|
|
212
211
|
position: initial;
|
|
@@ -237,7 +236,7 @@
|
|
|
237
236
|
display: flex;
|
|
238
237
|
justify-content: center;
|
|
239
238
|
min-height: 30px;
|
|
240
|
-
width:
|
|
239
|
+
width: var(--custom-label-width);
|
|
241
240
|
text-align: left;
|
|
242
241
|
padding-right: 1.25rem;
|
|
243
242
|
padding-bottom: 0;
|
|
@@ -6,7 +6,6 @@ export class ProgressIndicator {
|
|
|
6
6
|
this.uid = generateId();
|
|
7
7
|
// @ts-ignore-- TS warns this is unused, but its needed in the chartFunctions
|
|
8
8
|
this.slicesDetails = [];
|
|
9
|
-
this.barLabelsWidth = this.el.parentElement.barLabelsWidth;
|
|
10
9
|
this.debouncedUpdate = debounce(async () => {
|
|
11
10
|
forceUpdate(this.el);
|
|
12
11
|
}, 10);
|
|
@@ -65,6 +64,12 @@ export class ProgressIndicator {
|
|
|
65
64
|
const resizeObserver = new ResizeObserver(() => this.debouncedUpdate());
|
|
66
65
|
resizeObserver.observe(this.el);
|
|
67
66
|
}
|
|
67
|
+
componentDidLoad() {
|
|
68
|
+
const labelWidth = this.el.parentElement.barLabelsWidth;
|
|
69
|
+
if (labelWidth) {
|
|
70
|
+
this.componentWrapperEl.style.setProperty("--custom-label-width", labelWidth);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
68
73
|
async handleSliceUpdate() {
|
|
69
74
|
await getDetails.call(this, this.mode);
|
|
70
75
|
forceUpdate(this.el);
|
|
@@ -90,7 +95,7 @@ export class ProgressIndicator {
|
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
97
|
render() {
|
|
93
|
-
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:
|
|
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()));
|
|
94
99
|
}
|
|
95
100
|
static get is() { return "wm-progress-indicator"; }
|
|
96
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: 'fc8c83f5b9efcb9a199806192f72d05407c11a55', class: this.mode === "doughnut" ? "row" : "column" }, this.modeInitialized && this.groupLegend && this.mode === "bar" && this.renderLegend(), this.modeInitialized && h("slot", { key: '9dd72db02fb96925e02a97c6e13cd438f1aca36f' })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "wm-progress-monitor"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -544,11 +544,11 @@ export class PrivCalendar {
|
|
|
544
544
|
}), class: "header-btn arw-btn" }, h("span", { class: "mdi" }, "\uF142"))), 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: 'bf3b27c085d62d04e59c469103af514a5652ca39', 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: '3433d2109b066f3e3446cc6d8c486a5e303d6939', 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: "calendar", title: intl.formatMessage({
|
|
436
|
+
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'c127dd1ac1f883218997250dc0455d2cd67b4e54', 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: 'f73ab32bcf2cebc82a8afd9129a1d3fcf9e0bc2b' }, h("div", { key: '2d7f933a92f36483ecfd801c4ae17bf7baa92c71', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: 'ca4fd9da247934ff4644b099c883fed0158d0c86', 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: '22d83e68a09a15072afcc3368fdf957838a5da1f', 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: '6fbc73d0c1d280133b445c9fd4acd14a1be673e0', id: "error", class: "error" }, this.errorMessage), h("div", { key: '4dac5d364845b7a4c656db95e0aae877b902692b', 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: 'daac54e642a4c00b37dff5167cf0fd3322b98874', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '0633196770bcd3965a8fe60ecd1972653ed3e25c', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'ba80e128d0345635d90c4641c508d05eb4d3794e', class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { key: '4905e937c7e6249537c5ed43f77331883d006794', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { key: '637e35c7f255629aa75cf177822154a1e6e6e7b3', "aria-hidden": "true", class: "required" }, "*"))))), h("div", { key: '8676b6e03022cd8787d0a77a0b3e6c4dd8419b59' }, h("div", { key: 'e9f24478e3beb32f38ef65aff197d7872e1f3d67', class: "single-wrapper input" }, h("input", { key: '4661fedeafd62c45e1aec2aad699faede4d750b6', 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: '0a2afc12a5e44bcb8a9deb92c7171945c67289f4', class: "container", id: "wm-container" }, h("button", { key: 'b6b63ef23dee93ff470de4d5a5d2769086bcb808', 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: "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: 'debb3ae89f32960a7a269b9f6c951f5bb7bfd874', 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: '87ff9723a2960d5725f5f731dcc0d30719a8bb09', 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: '989a9bc4bd537394bfb2fe1ecd83311bb57187d4', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '3253b7e256dc7137aae2c4c2a79099e0093ecc65', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: '9cacded01a3163bebd249d6ed4601ca9a6c3dfd0', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: 'fe890d55779f0619bc6c144d1fd47cc2cb26fe04', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '71e28a0c1aaa2c1ddce511bfbf0d9cf6794382ab', 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: '2df13fae273fd2186e35d50ab58d888b45bf0b40', 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: '71ca47b61c3ffd7e19c273ae3e4c68a7f3ef1afd', id: "error", class: "error" }, this.errorMessage), h("div", { key: '5adc31a91d03cd34d01e48a88617481051905341', 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: '28c02863c7c01cbbe56fa4e82166526ddd7f8891', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '091f207da308fc76ec1d8e5867572d959183a78f', 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: '1c2567fcbaab7f48c98258526e3878319c618c8d' })), h("div", { key: 'd235fc36a5862b755dd03583b59166aeab77073f', 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: '0669fabf52f24b6e03d6fb99aa64edc83fd52c18', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '084ddf762d01a6aa631f7757abdc3339ef9c34f9', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '523fa912a6f133af76defda20cd69375eff3d290', class: "label-wrapper" }, h("label", { key: '5322a6d57d6567d32c1b899b42177e61d8521eb6', 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 ${this.isExpanded ? "expanded" : ""}`, ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { class: "overflowcontrol" }, h("span", { class: "button-text" }, this.renderButtonText())), 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: '568bf1ead352bed9e080fa2d366225deee3dba70', class: "button-wrapper" }, h("button", Object.assign({ key: 'b5c2c93abd411f6df28375f961fe7232bc145dec' }, buttonProps, { class: `displayedoption ${this.isExpanded ? "expanded" : ""}`, ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: '9690b4b70ac5049d4a24bcc9b1d2d366e63cae2f', class: "overflowcontrol" }, h("span", { key: '13ec62a16385376bd6242c76189fecae5fb347d4', class: "button-text" }, this.renderButtonText())), this.renderOverflowCount(), h("div", { key: '905ff86d7ce0e2bec718130bbcd5d83f9c8a103e', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '7eb5fb39c2d84bde8712ed77627080f0572a7acc', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, h("div", { key: '2fd0f2d8450baa37171161a86a35940dd5057a29', 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")));
|
|
337
|
-
})), h("div", { ref: (el) => (this.optListWrapperEl = el), class: "option-list-wrapper hidden" }, h("slot",
|
|
337
|
+
})), h("div", { key: 'd7993e9a985e3b6bf4e04f9a721ca7bd1eafc368', ref: (el) => (this.optListWrapperEl = el), class: "option-list-wrapper hidden" }, h("slot", { key: 'd3b7de77e701007e1bb29d9f9f2ed6c8db8a2318' }))), h("div", { key: '2ee6fe98a77317d1a55a838c752c723ba77399ca', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: '4495016bbfb371ba954bea1bca2eb1fecd907c69', 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: 'c7346999bce1b73df8266dc227ae49234ec3fa11' }, h("div", { key: 'f89b86707366f8e05b9b772d9669481478d62f31', class: `list-wrapper` }, h("priv-option-list", { key: '4319602bb92d901947bb1d7b1f0cc4c3c2bb49ce', 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: 'bbb9dd15cf69b940b2febd4ce7096d67f8bd65ab' })))));
|
|
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" : ""}` }, 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: '3eb0ac742c4deec426e3892c918c87a99c16e221', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: '67f56f7490a5dd2e4245c1db1144fb5574cf9d0c', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, h("span", { key: '4aa932174fa6e483c079cc078bfa10b0a0e6cf58', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: '2f9bfcefb78a1807cd5cc945cd2cc9c09250bab0', class: "sr-only" }, this.el.textContent)), h("div", { key: '7a205ace75eec0fb2b61e8aa7f5b168c2ce6e02a', 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: '29ee6998523a594105b5449ebcb0bb4a7a0cc9e3', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '6cb4eaf3d39aeece34bd355118c7330af10e1c53', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '016e7fd81d3f4f80131dc3dc50f8a20e79e8ecde', ref: (el) => (this.labelEl = el), class: "label-wrapper" }, h("label", { key: '40dfff0624ec3c69ded965b9bb3543b51f67b081', 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 ${this.isExpanded ? "expanded" : ""}`, 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)), 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: 'f063d9206c8343e03eec53746d416dc0957fc813', class: "button-wrapper" }, h("button", Object.assign({ key: '78949c979c015f338cfa2fd6a97bd59f87cc0d29' }, buttonProps, { class: `displayedoption ${this.isExpanded ? "expanded" : ""}`, ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: '2a06dc91fac0029fd32a150ed78b0746983fc274', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'fe39fa190474cc4351ffefa6f682fa94e08396d4', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: '052c53d7da559a0b28dbae1147eb25ad04bab3da', class: "subinfo" }, this.selectedOptions[0].subinfo)), this.renderOverflowCount(), h("div", { key: '51234e2f3756aa2bc3bdd16f142009806810f82e', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'e053ee9b70215592c362193f55efc1dee1b4e34e', class: `dropdown ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, h("priv-option-list", { key: '281eb3cfb4b874303955636eae6d5d0d7c9a4283', 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: '1c61bd9f89b61e8e499fd5a4937edd165d915f3a' }))), h("div", { key: 'bf8b183096b67ba25a6eb43aa63cd7d1851671d8', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: 'ba15bcd6bc297e3ac72ad5dc2cc2be5146ec369f', 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" ? "f1d9" : "", 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: '36e8155b6296f8ff6e311de6c2c2069398b5da23', onBlur: () => this.close(false) }, h("div", { key: 'aa3a2fbdf09dd977d396b85f340bf7a675a97651', class: getTextDir() }, h("wm-button", { key: '634a8db4b695741c3c4903e3804b601ca2d27e88', "button-type": this.internalButtonType, tooltip: this.tooltip, "custom-background": this.darkMode ? "dark" : undefined, "label-for-identical-buttons": this.labelForIdenticalButtons, icon: this.actionMenuType === "icon" ? "f1d9" : "", 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: '7e2c9491304f64e432ac4c996aa8651f81969a3a', 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: '17f025a5c4a9bfcbb2471044aa9b27750f16d4a0' })))));
|
|
194
194
|
}
|
|
195
195
|
static get is() { return "wm-action-menu"; }
|
|
196
196
|
static get encapsulation() { return "shadow"; }
|
|
@@ -152,7 +152,6 @@
|
|
|
152
152
|
padding: 0;
|
|
153
153
|
height: auto;
|
|
154
154
|
min-height: unset;
|
|
155
|
-
border-radius: 0;
|
|
156
155
|
line-height: 1;
|
|
157
156
|
overflow-wrap: anywhere;
|
|
158
157
|
border-radius: 2px;
|
|
@@ -301,12 +300,7 @@
|
|
|
301
300
|
border-color: var(--wmcolor-button-background-positive-hover);
|
|
302
301
|
}
|
|
303
302
|
:host .wm-button.-selector, :host .wm-button.-selector-primary {
|
|
304
|
-
-webkit-border-radius: 3px;
|
|
305
|
-
-moz-border-radius: 3px;
|
|
306
|
-
-ms-border-radius: 3px;
|
|
307
|
-
border-radius: 3px;
|
|
308
303
|
display: block;
|
|
309
|
-
border-radius: 3px;
|
|
310
304
|
height: 2.75rem;
|
|
311
305
|
min-width: 11.4375rem;
|
|
312
306
|
padding: 0 1.875rem 0 0.9375rem;
|
|
@@ -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: 'c35425fa7bb6a6ee1c22582581872c391e23d2fa', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: 'fda9104d4017f219b7ecaf128649dba958cbd32c', 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: '648c49b91afca7d9461f32716df7ee01f04e4d19', class: "button-text" }, h("slot", { key: '23e124d4a4519df0f1f825018efe11a3e0584aef' })))));
|
|
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 ${this.progress === 100 ? "checked" : ""}` }, 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.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: '4cfe7b5dc435556cdbd89ecf10c635cad42a55ba', 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: '398a8905ff498ed10cb7057d3c686f26d8f2a36f', role: "list", class: "list-wrapper" }, h("slot", { key: 'c66ff037e9ee2ced8b3ffef541164fe20ae3e125' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "wm-file-list"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '7db24a360d7f3378e69aa3c8fb659aa91b8b913f', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: '746b377195a7e93d1ec73f8de6122756d813992d', class: "label-wrapper" }, h("label", { key: '96ca5bc471e4f23aa6138dc377a38e5797b293e6', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: 'e51d0b811eb04dc446d4140a4adf36a4e85423da', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: '244fcf468648e136e5c4a528c070488dccaa7c94', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '40d75843b86aa0012a5bb7d277c6d17cd9164ff5', class: "inner-wrapper" }, h("div", { key: '1caa12e9919c11f22071aae6916bbc32d37bebc2', class: "text-after-wrapper" }, h("div", { key: '1e07eb06f59c4c343eb6fd6188440b51046d359c', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '84db811d1334653344e90eecbc687bd23d9ae032', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '844dca05f01dde484479577e83176aff952727ab', 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: '6e01dbb081603f9c27e39cb8dd33b144657d9654', 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: 'cde565ddedd1355ea1129cf38c3de4335da38631', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: 'a8d3c096987bd40efa9c5f7416df7cb50c9cc1ff', id: "info", class: "info" }, this.info)), h("div", { key: '48200834cdd3e3f633256afc75b4daacbf4fa0a8', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '8db2be5cc97bbad09213e40464010285857638f5', 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: '3bac72aee850267c275cb86f77dcbaaa6b79ac07', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: '829bf3daebbb0b09dab511867a7bbd55e25b3383', 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"; }
|