@watermarkinsights/ripple 5.23.0-alpha.8 → 5.23.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/cjs/{app-globals-100b4517.js → app-globals-1dce8469.js} +1 -1
- package/dist/cjs/{chartFunctions-8d17cbb8.js → chartFunctions-0df7cc7b.js} +0 -57
- package/dist/cjs/index-788526f5.js +2 -10
- package/dist/cjs/{interfaces-8419be91.js → interfaces-85d78ae9.js} +0 -22
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-calendar.cjs.entry.js +2 -2
- package/dist/cjs/priv-chart-popover.cjs.entry.js +145 -0
- package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
- package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +3 -3
- package/dist/cjs/wm-button.cjs.entry.js +2 -2
- package/dist/cjs/wm-chart.cjs.entry.js +3 -3
- package/dist/cjs/wm-date-range.cjs.entry.js +5 -5
- package/dist/cjs/wm-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +1 -1
- package/dist/cjs/wm-flyout.cjs.entry.js +1 -1
- package/dist/cjs/wm-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-line-chart.cjs.entry.js +3 -3
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-modal_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
- package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
- package/dist/cjs/wm-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
- package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-search.cjs.entry.js +2 -2
- package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wm-timepicker.cjs.entry.js +2 -2
- package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
- package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +0 -3
- package/dist/collection/components/charts/chartFunctions.js +1 -53
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +24 -24
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +115 -193
- package/dist/collection/components/charts/wm-chart/wm-chart.js +2 -2
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +2 -2
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +2 -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 +5 -5
- package/dist/collection/components/datepickers/wm-datepicker.js +5 -5
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
- 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 +4 -4
- 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-flyout/wm-flyout.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 +2 -2
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +3 -3
- 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 +2 -2
- package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/collection/global/interfaces.js +0 -21
- package/dist/esm/{app-globals-15abb237.js → app-globals-414c059e.js} +1 -1
- package/dist/esm/{chartFunctions-93592f14.js → chartFunctions-27b48dc4.js} +2 -54
- package/dist/esm/{functions-c1d5f184.js → functions-2c6d93bb.js} +1 -1
- package/dist/esm/index-130e07bb.js +2 -10
- package/dist/esm/{interfaces-7e50d034.js → interfaces-cc5b177f.js} +1 -22
- package/dist/esm/{intl-8c69d10b.js → intl-23e93368.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/priv-calendar.entry.js +3 -3
- package/dist/esm/priv-chart-popover.entry.js +141 -0
- package/dist/esm/priv-navigator-button.entry.js +1 -1
- package/dist/esm/priv-navigator-item.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +3 -3
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +4 -4
- package/dist/esm/wm-button.entry.js +3 -3
- package/dist/esm/wm-chart.entry.js +5 -5
- package/dist/esm/wm-date-range.entry.js +6 -6
- package/dist/esm/wm-datepicker.entry.js +6 -6
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +2 -2
- package/dist/esm/wm-flyout.entry.js +3 -3
- package/dist/esm/wm-input.entry.js +3 -3
- package/dist/esm/wm-line-chart.entry.js +5 -5
- package/dist/esm/wm-modal-pss_3.entry.js +6 -6
- package/dist/esm/wm-modal_3.entry.js +6 -6
- package/dist/esm/wm-navigation_3.entry.js +6 -6
- package/dist/esm/wm-navigator.entry.js +2 -2
- package/dist/esm/wm-nested-select.entry.js +5 -5
- package/dist/esm/wm-optgroup.entry.js +2 -2
- package/dist/esm/wm-option_2.entry.js +7 -7
- package/dist/esm/wm-pagination.entry.js +3 -3
- package/dist/esm/wm-progress-indicator_3.entry.js +5 -5
- package/dist/esm/wm-search.entry.js +4 -4
- package/dist/esm/wm-snackbar.entry.js +4 -4
- package/dist/esm/wm-tab-item_3.entry.js +7 -7
- package/dist/esm/wm-tag-input.entry.js +4 -4
- package/dist/esm/wm-tag-option.entry.js +1 -1
- package/dist/esm/wm-textarea.entry.js +3 -3
- package/dist/esm/wm-timepicker.entry.js +3 -3
- package/dist/esm/wm-toggletip.entry.js +4 -4
- package/dist/esm/wm-uploader.entry.js +4 -4
- package/dist/esm-es5/app-globals-414c059e.js +1 -0
- package/dist/esm-es5/{chartFunctions-93592f14.js → chartFunctions-27b48dc4.js} +1 -1
- package/dist/esm-es5/{functions-c1d5f184.js → functions-2c6d93bb.js} +1 -1
- package/dist/esm-es5/index-130e07bb.js +1 -1
- package/dist/esm-es5/interfaces-cc5b177f.js +1 -0
- package/dist/esm-es5/{intl-8c69d10b.js → intl-23e93368.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 -0
- 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.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-flyout.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/ripple/{p-fc67950d.entry.js → p-05bf4861.entry.js} +1 -1
- package/dist/ripple/{p-3410da36.entry.js → p-0e87b27c.entry.js} +1 -1
- package/dist/{esm/priv-chart-popover-old.entry.js → ripple/p-12be705d.entry.js} +1 -141
- package/dist/ripple/{p-d9d16c9d.entry.js → p-1383232e.entry.js} +1 -1
- package/dist/ripple/{p-55cdf672.system.entry.js → p-13dbee96.system.entry.js} +1 -1
- package/dist/ripple/{p-ffa6f621.entry.js → p-167a1551.entry.js} +1 -1
- package/dist/ripple/{p-fe49bfb7.system.entry.js → p-1b1e8c74.system.entry.js} +1 -1
- package/dist/ripple/{p-724fbe77.entry.js → p-1da9ec6b.entry.js} +1 -1
- package/dist/ripple/{p-c04fad73.entry.js → p-20909c85.entry.js} +1 -1
- package/dist/ripple/p-219fffa2.system.js +1 -0
- package/dist/ripple/{p-3b2e7166.entry.js → p-22b8a7ad.entry.js} +1 -1
- package/dist/ripple/{p-0efafbd8.system.entry.js → p-26025eaf.system.entry.js} +1 -1
- package/dist/ripple/p-2732bddd.js +1 -0
- package/dist/ripple/{p-0e418fe4.system.entry.js → p-27f0bfbe.system.entry.js} +1 -1
- package/dist/ripple/{p-b37fbb7e.entry.js → p-29a35cf1.entry.js} +1 -1
- package/dist/ripple/{p-086da1c5.system.entry.js → p-2c3720f8.system.entry.js} +1 -1
- package/dist/ripple/{p-cd5aa832.system.entry.js → p-2c8a08ba.system.entry.js} +1 -1
- package/dist/ripple/{p-defdef0c.system.entry.js → p-31f9bf67.system.entry.js} +1 -1
- package/dist/ripple/{p-f91c86d2.system.entry.js → p-36ec7139.system.entry.js} +1 -1
- package/dist/ripple/{p-25043b32.entry.js → p-3f729889.entry.js} +1 -1
- package/dist/ripple/{p-da88bdfa.system.entry.js → p-40ffe09f.system.entry.js} +1 -1
- package/dist/ripple/p-42fa7a77.system.js +1 -0
- package/dist/ripple/{p-9bcdb6ae.entry.js → p-433c4b14.entry.js} +1 -1
- package/dist/ripple/{p-90f0283c.system.entry.js → p-4c879bfe.system.entry.js} +1 -1
- package/dist/ripple/{p-4b813987.entry.js → p-4dd7bc41.entry.js} +1 -1
- package/dist/ripple/{p-49b75a61.entry.js → p-52ae2103.entry.js} +1 -1
- package/dist/ripple/{p-2d5bd606.system.entry.js → p-551a76e7.system.entry.js} +1 -1
- package/dist/ripple/{p-fce3ce5c.system.entry.js → p-596f5afb.system.entry.js} +1 -1
- package/dist/ripple/{p-c5030fa3.system.entry.js → p-61a922fe.system.entry.js} +1 -1
- package/dist/ripple/{p-f503991a.system.js → p-61dcb4e2.system.js} +1 -1
- package/dist/ripple/{p-aecb621d.entry.js → p-6b425696.entry.js} +1 -1
- package/dist/ripple/{p-262d5bd5.system.entry.js → p-6f0b18d3.system.entry.js} +1 -1
- package/dist/ripple/{p-48950aef.entry.js → p-6fcf8596.entry.js} +1 -1
- package/dist/ripple/{p-d4051c50.system.entry.js → p-71eb58ff.system.entry.js} +1 -1
- package/dist/ripple/{p-1641d37f.entry.js → p-774aeaec.entry.js} +1 -1
- package/dist/ripple/{p-24ce5997.entry.js → p-79830298.entry.js} +1 -1
- package/dist/ripple/{p-0886099f.system.entry.js → p-7a1357c7.system.entry.js} +1 -1
- package/dist/ripple/p-7a99655b.system.js +1 -0
- package/dist/ripple/{p-367df770.entry.js → p-80d9ecad.entry.js} +1 -1
- package/dist/ripple/{p-275386c1.system.entry.js → p-8cb6d4e3.system.entry.js} +1 -1
- package/dist/ripple/{p-bfe3c687.system.entry.js → p-8d1f1807.system.entry.js} +1 -1
- package/dist/{cjs/priv-chart-popover_2.cjs.entry.js → ripple/p-93b93c0d.entry.js} +1 -175
- package/dist/ripple/{p-7f4a409e.entry.js → p-9584643c.entry.js} +1 -1
- package/dist/ripple/{p-7c103a48.system.entry.js → p-96e50cae.system.entry.js} +1 -1
- package/dist/ripple/{p-08ba2a77.system.entry.js → p-988f6e9e.system.entry.js} +1 -1
- package/dist/ripple/{p-c97b06b5.system.entry.js → p-9b2a0556.system.entry.js} +1 -1
- package/dist/ripple/{p-b1afda53.entry.js → p-9d5d923b.entry.js} +1 -1
- package/dist/ripple/{p-3de0e2b0.entry.js → p-a38ccbb2.entry.js} +1 -1
- package/dist/ripple/{p-2d042b40.system.entry.js → p-a962d037.system.entry.js} +1 -1
- package/dist/ripple/{p-b589b0da.entry.js → p-a9acc631.entry.js} +1 -1
- package/dist/ripple/{p-74b5624a.system.entry.js → p-ab78ff23.system.entry.js} +1 -1
- package/dist/ripple/{p-4934d53f.system.entry.js → p-b279c27c.system.entry.js} +1 -1
- package/dist/ripple/{p-a289d92b.system.entry.js → p-b5242adb.system.entry.js} +1 -1
- package/dist/ripple/{p-94842057.entry.js → p-b64b9fd2.entry.js} +1 -1
- package/dist/ripple/{p-8a4d79dc.system.entry.js → p-b7ff7fc6.system.entry.js} +1 -1
- package/dist/ripple/{p-a402c6bb.system.js → p-bac7a453.system.js} +1 -1
- package/dist/ripple/{p-f2b09954.system.entry.js → p-bd32c897.system.entry.js} +1 -1
- package/dist/ripple/p-c2027a82.system.js +1 -0
- package/dist/ripple/{p-6434eacf.entry.js → p-c35dbb2a.entry.js} +1 -1
- package/dist/ripple/{p-d002e65f.entry.js → p-cb063eaa.entry.js} +1 -1
- package/dist/ripple/{p-ff25bdd6.entry.js → p-cce8848a.entry.js} +1 -1
- package/dist/ripple/{p-35dfeacb.system.entry.js → p-d69863d6.system.entry.js} +1 -1
- package/dist/ripple/{p-e70f1e74.entry.js → p-d80355c4.entry.js} +1 -1
- package/dist/ripple/{p-c3ba7789.entry.js → p-d87e1091.entry.js} +1 -1
- package/dist/ripple/{p-eee663f4.system.entry.js → p-dbdfa041.system.entry.js} +1 -1
- package/dist/ripple/{p-f6844f41.entry.js → p-e2bff587.entry.js} +1 -1
- package/dist/ripple/{p-0356e736.system.entry.js → p-e6400084.system.entry.js} +1 -1
- package/dist/ripple/{p-f031ced7.js → p-ea1034db.js} +1 -1
- package/dist/ripple/{p-af9e6028.system.entry.js → p-ed5fed71.system.entry.js} +1 -1
- package/dist/ripple/{p-86f5e918.entry.js → p-effe3051.entry.js} +1 -1
- package/dist/ripple/{p-17f3fa47.system.entry.js → p-f0ee9638.system.entry.js} +1 -1
- package/dist/ripple/{p-23f08f5a.entry.js → p-f371e94c.entry.js} +1 -1
- package/dist/ripple/{p-6a2fb1a1.js → p-f446c841.js} +1 -1
- package/dist/ripple/p-f8858a30.js +1 -0
- package/dist/ripple/p-f8917d58.js +1 -0
- package/dist/ripple/{p-46c77ecb.system.entry.js → p-f99af0ab.system.entry.js} +1 -1
- package/dist/ripple/{p-3436e819.entry.js → p-fda74191.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/chartFunctions.d.ts +1 -10
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +11 -20
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +1 -1
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
- package/dist/types/components.d.ts +8 -126
- package/dist/types/global/interfaces.d.ts +0 -48
- package/package.json +2 -2
- package/dist/cjs/priv-chart-popover-old.cjs.entry.js +0 -145
- package/dist/cjs/wm-chart-bar.cjs.entry.js +0 -336
- package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.css +0 -963
- package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +0 -262
- package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.css +0 -1078
- package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +0 -474
- package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.css +0 -903
- package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +0 -155
- package/dist/collection/dev/chart-bar.js +0 -137
- package/dist/esm/priv-chart-popover_2.entry.js +0 -170
- package/dist/esm/wm-chart-bar.entry.js +0 -332
- package/dist/esm-es5/app-globals-15abb237.js +0 -1
- package/dist/esm-es5/interfaces-7e50d034.js +0 -1
- package/dist/esm-es5/priv-chart-popover-old.entry.js +0 -1
- package/dist/esm-es5/priv-chart-popover_2.entry.js +0 -1
- package/dist/esm-es5/wm-chart-bar.entry.js +0 -1
- package/dist/ripple/p-09a08b00.system.js +0 -1
- package/dist/ripple/p-1baeb967.entry.js +0 -1
- package/dist/ripple/p-24598e3e.entry.js +0 -1
- package/dist/ripple/p-5e3d8652.js +0 -1
- package/dist/ripple/p-625d4010.entry.js +0 -1
- package/dist/ripple/p-75816848.system.js +0 -1
- package/dist/ripple/p-8ac14bb1.system.js +0 -1
- package/dist/ripple/p-986d1792.entry.js +0 -1
- package/dist/ripple/p-c2e70f44.system.js +0 -1
- package/dist/ripple/p-cda66d45.js +0 -1
- package/dist/ripple/p-e4e3fe1d.system.entry.js +0 -1
- package/dist/ripple/p-f7742db8.system.entry.js +0 -1
- package/dist/ripple/p-fe625125.js +0 -1
- package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +0 -26
- package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +0 -54
- package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +0 -19
|
@@ -444,23 +444,23 @@ export class DateRange {
|
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
render() {
|
|
447
|
-
return (h(Host, { key: '
|
|
447
|
+
return (h(Host, { key: '3ef7ed01702cd08cb88153b157c05870f357b83d', "aria-busy": "false" }, h("div", { key: 'a26ffe7e83d668c81c361a2baf5111d338074f4f', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '5110a41705760e61460ae63222d33983f50cbbcc', class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { key: 'cd73ac4cd1156a08f8433cd5172c308e73f468e5', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '7fa4734f43aecd6a5cb73d93c1162fd5783ad2ac', 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: 'be4ad3de3b7b1fa8b1f20ae86502e661d5561f9c', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: '274e44b68f05bdc28ab25836ee5162876ba2dc37', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '439389958522c3245d79cf03ad3f8abf621adfdd', id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { key: '20a1a75cfc195d9503d7f079d56435f3ac7a3ce2', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: 'c850bd46e4835f8878e2c7d39fe930e38917671c', 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: '4cb1a5498a6378b08915563e628f45367892fe4d', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: 'a321356204252e7c57dff7b3b392f44d6d0b9cf3', 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: 'f6be34dda1f360b99a3708545a151c004b479635', class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { key: '5af514ad9b7fd30f5e83ebe83fd35890fdb53ee5', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
|
|
448
448
|
id: "date.selectRange",
|
|
449
449
|
defaultMessage: "Select range",
|
|
450
450
|
description: "Button text for screen readers.",
|
|
451
|
-
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '
|
|
451
|
+
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'ed9caf670fd667a9959363834c1accebfb0b82cb', class: "svg-icon svg-date" }), h("span", { key: '10bc0a7086071adad12d6cbe5c5c92a82260a619', class: "calendar", title: intl.formatMessage({
|
|
452
452
|
id: "date.calendarView",
|
|
453
453
|
defaultMessage: "Calendar View",
|
|
454
454
|
description: "Calendar button",
|
|
455
|
-
}) })))), this.renderCalendars()), h("div", { key: '
|
|
455
|
+
}) })))), this.renderCalendars()), h("div", { key: '6bcacc7025eef282cacfdc9c8ba44c88d01dfb3c' }, h("div", { key: '45942b8f722908db886d39fe23c7ae2e9c39eca5', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: 'f3613e50ea33148b7027b2fbb9147f8eee2c98a5', id: "month-title", class: "sr-only" }, intl.formatMessage({
|
|
456
456
|
id: "date.selectMonth",
|
|
457
457
|
defaultMessage: "Activate to select a month.",
|
|
458
458
|
description: "Calendar button",
|
|
459
|
-
})), h("div", { key: '
|
|
459
|
+
})), h("div", { key: 'ca798dd858d872a87852078781058699e3ebc5f6', id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
460
460
|
id: "date.selectYear",
|
|
461
461
|
defaultMessage: "Activate to select a year.",
|
|
462
462
|
description: "Calendar button",
|
|
463
|
-
}))), h("div", { key: '
|
|
463
|
+
}))), h("div", { key: 'e77548bc61a4d4c9bf0b0985694aa298383caf3e', id: "error", class: "error" }, this.errorMessage), h("div", { key: 'ec8b80ac48c0c65cfa7be019dc242e8fa7901332', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
|
|
464
464
|
}
|
|
465
465
|
static get is() { return "wm-date-range"; }
|
|
466
466
|
static get encapsulation() { return "shadow"; }
|
|
@@ -244,23 +244,23 @@ export class DatePicker {
|
|
|
244
244
|
this.liveRegionEl.textContent = message;
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
|
-
return (h(Host, { key: '
|
|
247
|
+
return (h(Host, { key: 'e708a7b702e16ab896628a40da86ab055f470239', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '95a725cba2a6584498d6b4bdd06528b6f503b0e6', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'd9c06fd00f24195c975098879221347aa3d15bf4', class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { key: 'a0415f77ff7b905e046b683c0f812207b33cd9b5', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})`, onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'f9f5b2dffd291ad9ef8efa549cbe188cdd91ab46', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '5de094b2394f9517aafbf2a354e08b8d28812d54' }, h("div", { key: '2db3f838409242080ca11817e6e7edd74cd63f5f', class: "single-wrapper input" }, h("input", { key: 'cf2d4bee304b2c8fe8f0ed17265d94a8e0c7f750', 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: '95a4200f59d4e590440ca26e1778a07e65cad511', ref: (el) => (this.buttonContainerEl = el), class: "container", id: "wm-container" }, h("button", { key: 'fef2ff2c96d6f4acabaeeb41f777268ccbbdafbb', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-label": intl.formatMessage({
|
|
248
248
|
id: "date.selectDate",
|
|
249
249
|
defaultMessage: "Select date",
|
|
250
250
|
description: "Button text for screen readers.",
|
|
251
|
-
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '
|
|
251
|
+
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '8840e4a6e51836b8202e886c996c40450dff54f4', class: "svg-icon svg-date" }), h("span", { key: 'ae9853231c111e69b1fb5bc2da1ad1338a8ddff6', class: "calendar", title: intl.formatMessage({
|
|
252
252
|
id: "date.calendarView",
|
|
253
253
|
defaultMessage: "Calendar View",
|
|
254
254
|
description: "Calendar button",
|
|
255
|
-
}) })), h("div", { key: '
|
|
255
|
+
}) })), h("div", { key: '7fa85ff7fb7c8c0ef74792afbfa4963c748c6faf', 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: 'fb71ae8319b5867b521ff45b983c8dd92368a5ff', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: 'b5d831730977c2f23013b5173bfe4819e870c7fd', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: 'e988546871ed5520f8ba1c175b144afef8e8a3da', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: 'ed118033c782ffdf40f2cec2d014215bbf8b7f8f', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '5ccca72007a577bf6c7652dcce65c38c7d6142c6', id: "month-title", class: "sr-only" }, intl.formatMessage({
|
|
256
256
|
id: "date.selectMonth",
|
|
257
257
|
defaultMessage: "Activate to select a month.",
|
|
258
258
|
description: "Calendar button",
|
|
259
|
-
})), h("div", { key: '
|
|
259
|
+
})), h("div", { key: 'cd0f6ae54b21dff099969f83699670e324919d45', id: "year-title", class: "sr-only" }, intl.formatMessage({
|
|
260
260
|
id: "date.selectYear",
|
|
261
261
|
defaultMessage: "Activate to select a year.",
|
|
262
262
|
description: "Calendar button",
|
|
263
|
-
})))), h("div", { key: '
|
|
263
|
+
})))), h("div", { key: '66b8fe166a802681107b0546ec615ffaa4d6e280', id: "error", class: "error" }, this.errorMessage), h("div", { key: '71fdd1819720a5b6f91d25c37f2b1011ead21c3d', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
|
|
264
264
|
}
|
|
265
265
|
static get is() { return "wm-datepicker"; }
|
|
266
266
|
static get encapsulation() { return "shadow"; }
|
|
@@ -367,7 +367,7 @@ export class PrivOptionList {
|
|
|
367
367
|
return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
|
|
368
368
|
}
|
|
369
369
|
render() {
|
|
370
|
-
return (h("div", { key: '
|
|
370
|
+
return (h("div", { key: '92e5e002b2b8f913a4e9562dd21e96281cb04227', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: 'ffbbbd1c29253f7b8d2c25ba33019426867cf556', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-label": this.optgroupLabel, 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: '357b8065a8dc3ae83a58706b330b7c4ba3c425b1' })), h("div", { key: 'c7b509053e528da726a5c602e4c5fe431fe21120', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
371
371
|
}
|
|
372
372
|
static get is() { return "priv-option-list"; }
|
|
373
373
|
static get originalStyleUrls() {
|
|
@@ -291,16 +291,16 @@ export class NestedSelect {
|
|
|
291
291
|
this.isExpanded ? this.close() : this.open();
|
|
292
292
|
},
|
|
293
293
|
};
|
|
294
|
-
return (h(Host, { key: '
|
|
294
|
+
return (h(Host, { key: 'c7b91ed253b028ea575de5651f9cfd87f61156fa', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '8c0d551fba32be64f47dde666e29d49cf05e4b1e', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'b2b581a672a29e694cc4e0872fadfbbe577b63ba', class: "label-wrapper" }, h("label", { key: 'c5ec8997f7e007c9ee089cb377a38cad7f6464e9', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
|
|
295
295
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
296
|
-
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : ("")), h("div", { key: '
|
|
296
|
+
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : ("")), h("div", { key: 'ee7f3657d7159e373d5290a8090479b23cd7ae67', class: "button-wrapper" }, h("button", Object.assign({ key: 'fe6fb88d69268c0d64fc0cb29a0fd156e9724466' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: '93dddb3a3badb8b3b1494cf027d5094f7a54a361', class: "overflowcontrol" }, h("span", { key: 'd79047f4d307fd9fba1f6b10e9d118d9a5ba4206', class: "button-text" }, this.renderButtonText())), h("div", { key: '670accdcc57312f7d424e18543479cf182d692af', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '78f25675e6de918a8b54b2cfa486df17f55df979', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'a8196de37aa41630e857c5f82fd384c6effb7ffe', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, this.renderClearSelectionButton(), h("div", { key: '58d7a719a98483bff263b9f2c13615fe5adebd08', ref: (el) => (this.menuEl = el), id: "menu", role: "menu", class: this.isGroupExpanded ? "hidden" : "", style: { "--max-height": this.constrainedMaxHeight }, tabIndex: -1 }, this.optgroupEls.map((optgroupEl) => {
|
|
297
297
|
return (h("button", { class: `menuitem group-btn ${optgroupEl.disabled ? "disabled" : ""}`, role: "menuitem", "data-label": optgroupEl.label, tabindex: -1, "aria-disabled": optgroupEl.disabled, onClick: () => {
|
|
298
298
|
if (!optgroupEl.disabled) {
|
|
299
299
|
optgroupEl.isExpanded = !optgroupEl.isExpanded;
|
|
300
300
|
forceUpdate(this.el);
|
|
301
301
|
}
|
|
302
302
|
}, onKeyDown: (ev) => this.handleMenuitemKeydown(ev) }, h("div", { class: "option-text" }, h("span", null, optgroupEl.label), this.renderSelectionCount(optgroupEl), optgroupEl.disabled && h("div", { class: "disabled-indication" }, "Disabled")), h("div", { class: "svg-icon svg-next" })));
|
|
303
|
-
})), h("div", { key: '
|
|
303
|
+
})), h("div", { key: '2b93e8e91ea9fbde69cef8ac3e6c252fd71173e8', class: `option-list-wrapper ${this.isGroupExpanded ? "" : "hidden"}` }, h("slot", { key: 'c3c8712062d027adb513318f5cc6410167dd7abc' }))), h("div", { key: '511dcd7fe6a004ab8ff50f296bad182091c248c7', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: '075b0692e4bfaea0bca9ab70703dfb919841c2b1', id: "nestedselect-announcement", "aria-live": "assertive", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
304
304
|
}
|
|
305
305
|
static get is() { return "wm-nested-select"; }
|
|
306
306
|
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, { key: '
|
|
51
|
+
return (h(Host, { key: 'a3482163224c19ae21d9da8426db908ea59ddf8f' }, h("div", { key: '679ae30c813f6211faf67fc9d4f3cac77c5faed5', class: `list-wrapper` }, h("priv-option-list", { key: '23f628c4a81703e6ce1ade84237a37d54e4519ed', 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: '7fedfac94fb20c1720c663fff46001b98ccf7b40' })))));
|
|
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, { key: '
|
|
146
|
+
return (h(Host, { key: '827b9e612f444dd6b081e11ea08e94d6ba11e1b7', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: '9f15c418707a6bdad2d360753f35b7c820f310de', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { key: '59e2fd913b8881e166965d2abb25d67a7867e31e', class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { key: '6e5f064d34de5f16dcab82c63fbe9407673dbfd5', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: '103de8838cd6def5e3e76c64138f767e53f718ea', class: "sr-only" }, this.el.textContent)), h("div", { key: '10cbdef1685f5c127bbdc4cd2ddf5ecd0d290f64', class: "subinfo" }, this.subinfo)));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "wm-option"; }
|
|
149
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -344,14 +344,14 @@ export class Select {
|
|
|
344
344
|
}
|
|
345
345
|
render() {
|
|
346
346
|
const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
|
|
347
|
-
return (h(Host, { key: '
|
|
347
|
+
return (h(Host, { key: '14c7a4c0f087f8d327f394205dfd23061883a158', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: 'bfe1479fe521db66f3e7286153ad7e15cd311df6', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'e3b64a582947cfd0f8b93cad1580431313be6514', class: "label-wrapper" }, h("label", { key: '42a66dc466ce59309edcaae985d8a5b12a20cc40', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
|
|
348
348
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
349
|
-
this.requiredField && (h("span", { key: '
|
|
349
|
+
this.requiredField && (h("span", { key: 'c4331a828fc23d56e43407d5fa16bab673c9e8cd', class: "required" }, h("span", { key: '543cc76b38145b2c8287dcf6a48dfd78a854066d', class: "sr-only" }, globalMessages.requiredField), h("span", { key: 'cd214e935209235d98f5f27c5168346bbfd1fa02', "aria-hidden": "true" }, "*")))), h("div", { key: 'a2345286ca9c10cd866440f34012fc14d88ca618', class: "button-wrapper" }, h("button", { key: '4627b6b251d2dfec2269139e15615d7ddf91bb34', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'c96d51b38170718fdbbef88dff67dbc8102a2186', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: '726b035d043ac88fef5bcba6080ba356cce81d8d', class: "button-text" }, this.setButtonText()), showSubinfo && h("span", { key: 'bb504d76c7176887461cd58a52f3454374da38aa', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '8233f50d24ce28c97257eee7ed01449c0afbe14e', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '3d880c0b4ac0c879bc52bf4d76ebc1e2f75e3cba', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '8d3142040a140c84a2f8143d02382327ca7f0335',
|
|
350
350
|
// is-open is for the CSS transition in modern browsers
|
|
351
351
|
// hidden is to wait for position calculations in Firefox
|
|
352
352
|
class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
|
|
353
353
|
// @ts-ignore -- don't tell typescript but we're in the future
|
|
354
|
-
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '
|
|
354
|
+
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: 'a7f16e74ebf9c896956ccf3edb598414c382a8b1', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
|
|
355
355
|
this.dropdownEl.hidePopover();
|
|
356
356
|
}, onOptionListAllSelected: () => {
|
|
357
357
|
this.returnFocus = true;
|
|
@@ -359,7 +359,7 @@ export class Select {
|
|
|
359
359
|
}, onOptionListAllDeselected: () => {
|
|
360
360
|
this.returnFocus = true;
|
|
361
361
|
this.wmSelectAllDeselected.emit();
|
|
362
|
-
} }, h("slot", { key: '
|
|
362
|
+
} }, h("slot", { key: 'ae8ab926478c102e412b024f304d0bf69783d278' }))), h("div", { key: '70ce2888e6cf5e9a0a6c90916a8f62ef94e80bf1', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '2afbe5bb9c60e92fc6897817a1c961e505bfe9e5', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
|
|
363
363
|
}
|
|
364
364
|
static get is() { return "wm-select"; }
|
|
365
365
|
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, { key: '
|
|
193
|
+
return (h(Host, { key: 'f1622d074d2d1e2265f82451bb10b1d6bdf8a38a', onBlur: () => this.close(false) }, h("div", { key: '693aa2c5a5eb1d8d1eff66eee99a21774b12c9a3', class: getTextDir() }, h("wm-button", { key: 'd6e746d3e7fbc83d16cff0cd5ff26885bf09c767', "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: '3e933996a11ba52549f7bdfe6b53e6534f731f83', 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: '92f452f8a5c9ab53de00ef731e966a396d9ed0b4' })))));
|
|
194
194
|
}
|
|
195
195
|
static get is() { return "wm-action-menu"; }
|
|
196
196
|
static get encapsulation() { return "shadow"; }
|
|
@@ -249,7 +249,7 @@ export class Button {
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
render() {
|
|
252
|
-
return (h(Host, { key: '
|
|
252
|
+
return (h(Host, { key: '02f210258e1f01881a2d49efbcfd8e3831c128a0', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: '8b21dace59bedb4731dcf60f908fdf825ce60bcf', 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.buttonType.endsWith("-ai")) && this.renderIcon(), (!this.buttonType.startsWith("navigational") && !this.buttonType.startsWith("icononly")) && (h("span", { key: '83736f847b75184f82bb7c1c77225a289ee719fc', class: "button-text" }, h("slot", { key: '55426eb5c17818cd7e8d30bc2dd121306499ce47' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: 'b39dd24c5aa126f60ff120c079d1891ebb17cbaa', class: "selector-icon svg-icon svg-expand-more" })))));
|
|
253
253
|
}
|
|
254
254
|
static get is() { return "wm-button"; }
|
|
255
255
|
static get encapsulation() { return "shadow"; }
|
|
@@ -187,7 +187,7 @@ export class File {
|
|
|
187
187
|
return (h("div", { class: `file-wrapper` }, h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""} ${this.isExtraCondensed ? "extra-condensed" : ""}` }, this.renderFileName(), showRightGroup && (h("div", { class: "right-group" }, !this.isExtraCondensed && this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (h("div", { class: "right-group" }, 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)));
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return h(Host, { key: '
|
|
190
|
+
return h(Host, { key: 'bc903032d542dc939f65dd2122c687d8b5716f2d', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
191
191
|
}
|
|
192
192
|
static get is() { return "wm-file"; }
|
|
193
193
|
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", { key: '
|
|
7
|
+
return (h("div", { key: 'eeabc71e95c75f912c3863a53cbbdd3d89ecd1a5', role: "list", class: "list-wrapper" }, h("slot", { key: 'b4104a1397dcd16f515d4bfee2152e220bf92ef9' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "wm-file-list"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,7 +155,7 @@ export class Flyout {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: 'daf3b7c182d2f8e58594266f3376609d2e332267' }, h("dialog", { key: '018ab76cc3310624c5c72e1764a0f8c74ab1f129', ref: (el) => (this.dialogEl = el), class: "flyout", "aria-labelledby": "heading", onClose: () => this.wmFlyoutCloseTriggered.emit(), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: '56400c76a1c288d34975525bc925141b5ffc4c67', tabindex: "0", class: "focus-trap", onFocus: () => this.lastFocusableEl.focus(), "aria-hidden": "true" }), this.renderHeader(), h("div", { key: 'f0eed9b6e4269d6e3f5c25487e1d9fda10a50dee', class: "flyout-content" }, h("slot", { key: 'b5de14a97331ca75e569cb82ac76b05cb2cf8565' })), this.renderFooter(), h("div", { key: 'f2622811f751069dd21468fd4b0ce46a61ed44fc', tabindex: "0", class: "focus-trap", onFocus: () => this.handleEndBookendFocus(), "aria-hidden": "true" }))));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "wm-flyout"; }
|
|
161
161
|
static get encapsulation() { return "shadow"; }
|
|
@@ -107,7 +107,7 @@ export class Input {
|
|
|
107
107
|
: `info error`;
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h("div", { key: '
|
|
110
|
+
return (h("div", { key: '2a93f2ca241f530ebe256a1aedac2d97214d42f8', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: 'd38c8d1d76a0092bfeb90dc85f2888fe7db31c7b', class: "label-wrapper" }, h("label", { key: '6e89fb73b78739e0197da155366f03725c8f618b', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: 'cf320c98d9cacba9e3a93cc69da70635a4e006b7', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("div", { key: '57967ff44c505bfb569abcab41c879280488c594', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '58fc3cf1c4b90d2d12cdf82c09e4f1db70ce70d4', class: "inner-wrapper" }, h("div", { key: '641b38d9239f069cd3fe7894faa0edbfbb581e72', class: "text-after-wrapper" }, h("div", { key: 'c4dabee8ba57a1eb65c6999c2aa03e22e4e6dff9', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '6afcad6a5df9f1c8c2966300add1b04a613f353e', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: 'd7650e1ece1a79aab222ac0d67cc4efbde807dc9', 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: '923f9b0c3af222a4b81524a628528a7d7f9dca06', 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: 'dd9f099938c54e9dc3cbacf5355b4fa29801aac4', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '1c31513981bb20202c927457bb4bf65960c64507', id: "info", class: "info" }, this.info)), h("div", { key: '5406b19011608ea5cc51b847a0ecb8d832201821', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '603651eb765b1828c50dbb056ab49840db02204f', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "wm-input"; }
|
|
113
113
|
static get encapsulation() { return "shadow"; }
|
|
@@ -98,7 +98,7 @@ export class Menuitem {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: 'd29e2e1f413305f270ff85cf72f084a8eb7d730d', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: '14fd50ba518f41b343c6a0ac85ca84e2bd90096e', 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"; }
|
|
@@ -31,7 +31,7 @@ export class ModalFooter {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'ec4d89dc7cbe33882e8c3a730de19b260898aa5d', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '95dafc435b2552d7c581438e43d254266c1ea76e', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: 'be76c779f3749dc93136314e42e23f766280fb4a', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: 'c5ecd7ecd9a334742e725a93ef9314fc7a367b51', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: '5734666efd4a2841f11ad328287d2f49957a0ed7', "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))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "wm-modal-footer"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -22,7 +22,7 @@ export class ModalHeader {
|
|
|
22
22
|
parentModal.emitCloseEvent();
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '182256e22741376faf441fe888ab05d2fe3c33e0' }, h("div", { key: '600da6566f849b23b748f36f38bd353abfea3780', class: "wm-wrapper" }, h("div", { key: 'b1e54555c3920266fea8a62459f5cd8acb300333' }, h("h2", { key: 'bd725ef7653f9fdc4bd6b54759d775fa86580ade', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: 'd4a1a30a9f080a667c989e3706041dc68af43cd9', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'd743707866fade15d397bc03e010856b6165946a', "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() }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "wm-modal-header"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -114,11 +114,11 @@ export class Modal {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
|
-
return (h("dialog", { key: '
|
|
117
|
+
return (h("dialog", { key: 'f5ca5428a28e13e68c2c4cb4a215e80558f4a6f8', class: `${"wm-" + this.modalType}`, "aria-labelledby": `wm-modal-heading-text-${this.uid}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'd41ca7260ee6f5ad1630e2d2ca482b7ff369d0a9', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
118
118
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
119
119
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
120
120
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
121
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { key: '
|
|
121
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: 'c0ada91898cf518dd19cfbfbf47c18df5bafa56e', class: "wm-tooltip" }), h("slot", { key: 'b178438088eb11f6754a76c8329b774f5adab7cb' }), h("div", { key: '6bce5a99b5ba835cd55fdf1b5aeb552ca7b0e196', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
122
122
|
this.focusFirstElement.emit();
|
|
123
123
|
} })));
|
|
124
124
|
}
|
|
@@ -27,7 +27,7 @@ export class ModalPssFooter {
|
|
|
27
27
|
parentModal.emitSecondaryEvent();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '6b303e1b6486ae5616e53a8b54cf18ebef18596a', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '0cb8de8220b7c6c275b53343d1ce0d3e2290f9c6', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '7573be1e85f3e33e2389e7258ced4fe8cf5f59ea', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '5c767a42825fffd9afe04b086c235925578ae8d6', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: 'e11861f8a1e4ea2632c7ac926f1cb947e58f1f8b', "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, { key: '
|
|
28
|
+
return (h(Host, { key: 'c713e1c0ca93adba8927ca800021dc58005d6add' }, h("div", { key: '6802b4a4f0d79b21739302b5f92e6eb37d5589a1', class: "wm-wrapper" }, h("div", { key: 'e8cd4b3b91fc1f2641dfe00040c47d9842268e46' }, h("h2", { key: '3ce81beecb1a272cd4daf0c21aad8eab07199de3', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '5de99790eb2a41da4e601e56fe59e340fa07872c', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'e58f78ab28dfef1e1a697f826684214677c199e4', "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() {
|
|
@@ -115,9 +115,9 @@ export class ModalPss {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'e5d9a03961aacb35e702501a4b696427a27154de', 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: () => {
|
|
119
119
|
this.focusLastElement.emit();
|
|
120
|
-
} }, h("div", { key: '
|
|
120
|
+
} }, h("div", { key: '2d636a8939533539a56fbe0ca4d0e154a903f904', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'b667088bff7954bd0f8ef17c83b6de82ee046850', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
121
121
|
this.focusFirstElement.emit();
|
|
122
122
|
} })));
|
|
123
123
|
}
|
|
@@ -34,7 +34,7 @@ export class NavigationHamburger {
|
|
|
34
34
|
this.wmNavigationHamburgerClicked.emit();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '0da9d6b605488ba2d39619e752c6c4dd146f02a1', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'b565c98c06e9f2ff3de250d61b0948a2ba760fe4', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: 'c5d18e10dfb0c0e342ab1ab950737a183c4bf665', class: "svg-icon svg-menu" }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "wm-navigation-hamburger"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class NavigationItem {
|
|
|
6
6
|
this.active = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '11f3273e61a1e4b9fe219e290fd12777b6c811d4', role: "listitem" }, h("a", { key: '00109f5ac27900974a63a53205d9d55917e3cee0', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '350db0b0ea0c3d50eb44d9a5331510677941b2ef', class: "icon", "aria-hidden": "true" }, h("slot", { key: '552988e785e59cd27a9d74248c54305726f8c13b' })), h("div", { key: 'db29e928dc0a1af8fece0c8a10a7da830fe3b6b4', class: "text" }, this.text))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "wm-navigation-item"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,9 +96,9 @@ export class Navigation {
|
|
|
96
96
|
} }));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '31a21bcdc4fa76543d15b89a5821969396725933', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '3fead04ca5fc72bfc5ed0023a8e1c9f3dad591a7', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '750f16846fdeb1127973d9d8a5477844f715c3fa', class: "tray" }, h("div", { key: '667267699e1346d98203610bf71854d38e973b6c', class: "toggle-wrapper" }, h("wm-button", { key: '949854a36667f085fff6cf78a1a06611f6fd6ce2', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
100
100
|
this.open = !this.open;
|
|
101
|
-
} })), h("ul", { key: '
|
|
101
|
+
} })), h("ul", { key: '99abf6b8d8e1169e75f5c60ac642a6307b2e2181', class: "navlist" }, h("slot", { key: 'b37d42b7e380133c85693ef1cd4eddb3d9cb701d' }))), this.isCollapsible && (h("div", { key: '7c470ba4a160459277eb0c9b01bc0d1e101fcd8b', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "wm-navigation"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js
CHANGED
|
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const { handleClick, altText } = this;
|
|
12
|
-
return (h("button", { key: '
|
|
12
|
+
return (h("button", { key: 'da6c465629d6730a8f09640fe0f9d228b765f8cf', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "priv-navigator-button"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
|
|
|
16
16
|
render() {
|
|
17
17
|
const selectedClass = this.selected ? "selected" : "";
|
|
18
18
|
const focusedClass = this.focused ? "focused" : "";
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '4284114b8c64d5ecff784cf155eaf34c9bdadb99', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: 'b03e287efde84d038255c88e7d6881c5721d735f' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "priv-navigator-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -203,7 +203,7 @@ export class Pagination {
|
|
|
203
203
|
render() {
|
|
204
204
|
return (
|
|
205
205
|
// do not render the component if there's only one page
|
|
206
|
-
this.totalItems > this.itemsPerPage && (h("nav", { key: '
|
|
206
|
+
this.totalItems > this.itemsPerPage && (h("nav", { key: 'd4adb093a3d63c6e72d1f616c08b3f35a74a8d31', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '46c3e0a38528a89b7dc9b2edb9f3db8e7f1d28b1', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
|
|
207
207
|
}
|
|
208
208
|
static get is() { return "wm-pagination"; }
|
|
209
209
|
static get encapsulation() { return "shadow"; }
|
|
@@ -168,10 +168,10 @@ export class Search {
|
|
|
168
168
|
* End search and find render helpers
|
|
169
169
|
*/
|
|
170
170
|
render() {
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '17348dea91583c46ce68d6b5ea88ac1178444293' }, h("div", { key: '7832184ab057a544e94a175b73d063523052fa09', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: 'a44d27b147fd7383637aaeac98587796d8dccc25', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
|
|
172
172
|
id: "search.typeToFilterResults",
|
|
173
173
|
defaultMessage: "Type to filter the results",
|
|
174
|
-
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '
|
|
174
|
+
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: 'bc73bb454c922951d5dff9d894ed76a3e270be85', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '11214abe07df6957b2e2fe9f301ab1f653b9968e', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "wm-search"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,11 +145,11 @@ export class Snackbar {
|
|
|
145
145
|
}, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link), notification.newWindow && h("div", { class: "svg-icon svg-open-in-new" })))), h("button", { id: `close-button-${notification.id}`, "aria-label": this.closeSnackMessage, class: "closesnack", tabindex: notification.link ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() }, h("div", { class: "svg-icon svg-close" }))), h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: 'a06071856df76d16e5bad2922f8db0cb40ba4234' }, h("div", { key: '6bd3615e4caeef743751504e2699890cf7b66082', ref: (el) => (this.snackAreaEl = el), class: {
|
|
149
149
|
"list-wrapper": true,
|
|
150
150
|
"user-is-tabbing": this.isTabbing,
|
|
151
151
|
empty: this.parsedNotifications.length == 0,
|
|
152
|
-
} }, this.renderSnackbars()), h("div", { key: '
|
|
152
|
+
} }, this.renderSnackbars()), h("div", { key: '91af36942080cb99b70d61b3d90ffee7f8bc3723', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
153
153
|
}
|
|
154
154
|
static get is() { return "wm-snackbar"; }
|
|
155
155
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,9 +27,9 @@ export class TabItem {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const isDark = this.parentTabList && this.parentTabList.customBackground == "dark";
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'b7d80bd6260d1a2b006e22d160d852181410683d', role: "presentation" }, h("li", { key: '5b5aedd77ad9ce7d2e8617d05ec94b9220d3fc90', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: '2e0a67f304b1b96d52f92423dce16521d5adbafe', class: `tab`, role: "tab", ref: (el) => (this.linkEl = el), id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1, onClick: this.tabClicked, onFocus: () => {
|
|
31
31
|
this.wmIntTabFocused.emit({ tabItem: this.el });
|
|
32
|
-
} }, h("slot", { key: '
|
|
32
|
+
} }, h("slot", { key: '4fa4fddaf019c6cfa3bae0a12c392314ac5b7ef3' })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "wm-tab-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -257,15 +257,15 @@ export class TabList {
|
|
|
257
257
|
this.announcement = message;
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: '7a969b4a2af109143d501aff715f115113f6e988' }, h("div", { key: 'bd3a13b3025ff8d498fbb1ca4b725ccbb6869f9d', class: "component-wrapper" }, h("wm-button", { key: '5c9f2dd5fe4257aa85986da8342e72fd48aac2ce', class: `left-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#previous", tooltip: intl.formatMessage({
|
|
261
261
|
id: "tabs.showPreviousTabs",
|
|
262
262
|
defaultMessage: "Show previous tabs",
|
|
263
263
|
description: "Tooltip for button scrolling tab group.",
|
|
264
|
-
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: '
|
|
264
|
+
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: 'b9e9d30f93dd9a632d42bb77c6e7737dfca02456', id: "tablist", ref: (el) => (this.tabContainerEl = el), class: `tabcontainer ${this.customBackground || ""} ${this.containerFadeLeft ? "fade-left" : ""} ${this.containerFadeRight ? "fade-right" : ""}`, role: "tablist", tabIndex: -1 }, h("slot", { key: '3e91e31a7e359ef8e12a26e60b28e82303e530e4' })), h("wm-button", { key: '59a7b2cb042d1ee73e909228d98cbfb2a9e63474', class: `right-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#next", tooltip: intl.formatMessage({
|
|
265
265
|
id: "tabs.showNextTabs",
|
|
266
266
|
defaultMessage: "Show next tabs",
|
|
267
267
|
description: "Tooltip for button scrolling tab group.",
|
|
268
|
-
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: '
|
|
268
|
+
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: '90bbf3a17be81da9800f05fd89297279a56fef59', "aria-live": "assertive", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
269
269
|
}
|
|
270
270
|
static get is() { return "wm-tab-list"; }
|
|
271
271
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class TabPanel {
|
|
|
12
12
|
this.tabPanelLoaded.emit({ tabId: this.tabId });
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h(Host, { key: '
|
|
15
|
+
return h(Host, { key: '192b6eb07a9d895626645e37e63ca066ca2e4f03', role: "tabpanel", tabIndex: "-1", class: { "tab-hidden": !this.active } });
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "wm-tab-panel"; }
|
|
18
18
|
static get originalStyleUrls() {
|