@watermarkinsights/ripple 5.22.0-alpha.4 → 5.22.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-054d0c9e.js → app-globals-49be3826.js} +19 -17
- package/dist/cjs/{chartFunctions-d9aa9891.js → chartFunctions-60f65883.js} +1 -40
- package/dist/cjs/{functions-505d6601.js → functions-71af585d.js} +2 -6
- package/dist/cjs/index-788526f5.js +2 -10
- package/dist/cjs/{interfaces-069f135e.js → interfaces-85d78ae9.js} +0 -21
- package/dist/cjs/{intl-e7d7e719.js → intl-169a8805.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-calendar.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/wm-button.cjs.entry.js +3 -3
- package/dist/cjs/wm-chart.cjs.entry.js +5 -5
- package/dist/cjs/wm-date-range.cjs.entry.js +6 -6
- package/dist/cjs/wm-datepicker.cjs.entry.js +6 -6
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +2 -2
- package/dist/cjs/wm-flyout.cjs.entry.js +3 -3
- package/dist/cjs/wm-input.cjs.entry.js +3 -3
- package/dist/cjs/wm-line-chart.cjs.entry.js +5 -5
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-modal_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-navigator.cjs.entry.js +2 -2
- package/dist/cjs/wm-nested-select.cjs.entry.js +5 -5
- package/dist/cjs/wm-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/wm-option_2.cjs.entry.js +7 -7
- package/dist/cjs/wm-pagination.cjs.entry.js +3 -3
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +5 -5
- package/dist/cjs/wm-search.cjs.entry.js +4 -4
- package/dist/cjs/wm-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/wm-tag-input.cjs.entry.js +4 -4
- package/dist/cjs/wm-tag-option.cjs.entry.js +1 -1
- package/dist/cjs/wm-textarea.cjs.entry.js +3 -3
- package/dist/cjs/wm-timepicker.cjs.entry.js +3 -3
- package/dist/cjs/wm-toggletip.cjs.entry.js +4 -4
- package/dist/cjs/wm-uploader.cjs.entry.js +4 -4
- package/dist/collection/collection-manifest.json +0 -3
- package/dist/collection/components/charts/chartFunctions.js +1 -36
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +9 -11
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +112 -190
- 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/functions.js +2 -6
- package/dist/collection/global/global.js +18 -16
- package/dist/collection/global/interfaces.js +0 -19
- package/dist/esm/{app-globals-20ff89a4.js → app-globals-fec6fcef.js} +19 -17
- package/dist/esm/{chartFunctions-f22160b5.js → chartFunctions-a834e2a9.js} +2 -37
- package/dist/esm/{functions-14aaf49d.js → functions-9df607f2.js} +2 -6
- package/dist/esm/index-130e07bb.js +2 -10
- package/dist/esm/{interfaces-16deca17.js → interfaces-cc5b177f.js} +1 -20
- package/dist/esm/{intl-7b5f8017.js → intl-86bec8ef.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-fec6fcef.js +1 -0
- package/dist/esm-es5/{chartFunctions-f22160b5.js → chartFunctions-a834e2a9.js} +1 -1
- package/dist/esm-es5/{functions-14aaf49d.js → functions-9df607f2.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-7b5f8017.js → intl-86bec8ef.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-135ecb41.system.entry.js → p-0267046a.system.entry.js} +1 -1
- package/dist/ripple/{p-72643f00.entry.js → p-04fe992d.entry.js} +1 -1
- package/dist/ripple/{p-984b3aa2.system.entry.js → p-0a95f175.system.entry.js} +1 -1
- package/dist/ripple/{p-220fa36a.js → p-0c1396e0.js} +1 -1
- package/dist/ripple/{p-91145304.system.entry.js → p-0e3015f2.system.entry.js} +1 -1
- package/dist/ripple/{p-94ec4e2c.entry.js → p-11ae67a9.entry.js} +1 -1
- package/dist/ripple/p-1db0bb59.system.js +1 -0
- package/dist/ripple/{p-37fbdcf9.system.entry.js → p-1dbd86bf.system.entry.js} +1 -1
- package/dist/ripple/{p-7781f941.entry.js → p-1e4b30ac.entry.js} +1 -1
- package/dist/ripple/{p-e50d77b9.entry.js → p-1f26fdb7.entry.js} +1 -1
- package/dist/ripple/{p-6e6a9598.entry.js → p-2451029c.entry.js} +1 -1
- package/dist/ripple/{p-8c378a26.system.entry.js → p-24d20fc6.system.entry.js} +1 -1
- package/dist/ripple/p-2732bddd.js +1 -0
- package/dist/ripple/{p-3d1098fb.system.entry.js → p-285dbfb9.system.entry.js} +1 -1
- package/dist/ripple/{p-c1cbb630.entry.js → p-28b52ec0.entry.js} +1 -1
- package/dist/ripple/{p-093dd5b3.entry.js → p-31558b0e.entry.js} +1 -1
- package/dist/ripple/{p-6ae45e19.entry.js → p-37e6df61.entry.js} +1 -1
- package/dist/ripple/p-42fa7a77.system.js +1 -0
- package/dist/ripple/{p-366f253f.entry.js → p-44dc020c.entry.js} +1 -1
- package/dist/ripple/{p-7a6d6c76.entry.js → p-484c5cc5.entry.js} +1 -1
- package/dist/ripple/{p-241c2d63.entry.js → p-4c374ff7.entry.js} +1 -1
- package/dist/ripple/{p-1124978e.system.entry.js → p-4e9f0f73.system.entry.js} +1 -1
- package/dist/ripple/{p-2b15945c.system.entry.js → p-59101b39.system.entry.js} +1 -1
- package/dist/ripple/p-59ce4f69.js +1 -0
- package/dist/ripple/{p-b00cdcc6.entry.js → p-5b9441ff.entry.js} +1 -1
- package/dist/ripple/p-5dc32453.js +1 -0
- package/dist/ripple/{p-22cbc43b.entry.js → p-6388bf35.entry.js} +1 -1
- package/dist/ripple/{p-b6d2b2c9.system.entry.js → p-6c267b11.system.entry.js} +1 -1
- package/dist/ripple/{p-8d858325.system.entry.js → p-6d0f7f1d.system.entry.js} +1 -1
- package/dist/ripple/{p-99f4dc24.entry.js → p-7233deea.entry.js} +1 -1
- package/dist/ripple/{p-9ea227e3.system.entry.js → p-73914a64.system.entry.js} +1 -1
- package/dist/ripple/{p-9f089a36.system.entry.js → p-75cf1147.system.entry.js} +1 -1
- package/dist/ripple/{p-d2ed3598.system.entry.js → p-7c379888.system.entry.js} +1 -1
- package/dist/ripple/{p-1b7774ab.entry.js → p-7ca0a3cb.entry.js} +1 -1
- package/dist/ripple/{p-e5af888f.system.entry.js → p-813634c0.system.entry.js} +1 -1
- package/dist/ripple/{p-12eaf2d7.entry.js → p-81c8d038.entry.js} +1 -1
- package/dist/ripple/{p-6643047f.system.entry.js → p-8286ed48.system.entry.js} +1 -1
- package/dist/ripple/{p-b41dfeea.system.entry.js → p-840ed2ca.system.entry.js} +1 -1
- package/dist/ripple/{p-21114d99.entry.js → p-886b50fb.entry.js} +1 -1
- package/dist/{cjs/priv-chart-popover_2.cjs.entry.js → ripple/p-88ec49f1.entry.js} +1 -175
- package/dist/ripple/{p-e0743224.entry.js → p-91194c43.entry.js} +1 -1
- package/dist/ripple/{p-f381b796.system.entry.js → p-92d489c8.system.entry.js} +1 -1
- package/dist/ripple/{p-6a18191e.system.entry.js → p-98a81b33.system.entry.js} +1 -1
- package/dist/ripple/{p-43b61559.system.entry.js → p-a09d66e8.system.entry.js} +1 -1
- package/dist/ripple/{p-d6e81f61.entry.js → p-a111374c.entry.js} +1 -1
- package/dist/ripple/{p-28890409.entry.js → p-a19f81a3.entry.js} +1 -1
- package/dist/{cjs/priv-chart-popover-old.cjs.entry.js → ripple/p-a6240a47.entry.js} +1 -145
- package/dist/ripple/p-ac08b0a8.system.js +1 -0
- package/dist/ripple/{p-87992e3d.system.entry.js → p-ac4370ae.system.entry.js} +1 -1
- package/dist/ripple/{p-1c86be31.entry.js → p-ae138b2c.entry.js} +1 -1
- package/dist/ripple/{p-b2875298.system.entry.js → p-afd0ed83.system.entry.js} +1 -1
- package/dist/ripple/{p-c5c98974.system.entry.js → p-b1e58461.system.entry.js} +1 -1
- package/dist/ripple/{p-7568137d.system.entry.js → p-bbf46f8b.system.entry.js} +1 -1
- package/dist/ripple/{p-04f8cae1.system.entry.js → p-bc29023c.system.entry.js} +1 -1
- package/dist/ripple/{p-31468e67.entry.js → p-c0087cd0.entry.js} +1 -1
- package/dist/ripple/{p-30c0aa58.system.entry.js → p-c02a5e64.system.entry.js} +1 -1
- package/dist/ripple/{p-743536ae.system.entry.js → p-cbb67bc3.system.entry.js} +1 -1
- package/dist/ripple/{p-8bb49d8f.system.entry.js → p-ceaee8b9.system.entry.js} +1 -1
- package/dist/ripple/{p-780de72e.system.entry.js → p-d59ded20.system.entry.js} +1 -1
- package/dist/ripple/{p-12f39b2f.entry.js → p-d9a53822.entry.js} +1 -1
- package/dist/ripple/{p-cc0cbbac.entry.js → p-de9e0582.entry.js} +1 -1
- package/dist/ripple/{p-3967eef9.system.js → p-e075695e.system.js} +1 -1
- package/dist/ripple/{p-c24b745f.entry.js → p-e618af10.entry.js} +1 -1
- package/dist/ripple/{p-4ba001c1.entry.js → p-e66ccd7b.entry.js} +1 -1
- package/dist/ripple/{p-bd7a5b99.system.entry.js → p-e6f6b0f4.system.entry.js} +1 -1
- package/dist/ripple/{p-966f2c9e.entry.js → p-e9038796.entry.js} +1 -1
- package/dist/ripple/{p-7cd03a52.entry.js → p-edbfc15c.entry.js} +1 -1
- package/dist/ripple/{p-b52e3001.entry.js → p-ee25af83.entry.js} +1 -1
- package/dist/ripple/{p-a0b38e60.system.js → p-ee9ff51e.system.js} +1 -1
- package/dist/ripple/{p-221dedba.system.entry.js → p-ef7988fe.system.entry.js} +1 -1
- package/dist/ripple/{p-0b2a0825.system.entry.js → p-f1dea7a8.system.entry.js} +1 -1
- package/dist/ripple/p-f297a080.system.js +1 -0
- package/dist/ripple/{p-909f8797.entry.js → p-f5c59ec1.entry.js} +1 -1
- package/dist/ripple/{p-8f96f4f8.entry.js → p-f680ad0f.entry.js} +1 -1
- package/dist/ripple/{p-e72235c6.js → p-f73dd1e7.js} +1 -1
- package/dist/ripple/{p-b8d69c73.system.entry.js → p-f8c12729.system.entry.js} +1 -1
- package/dist/ripple/{p-a7bddbfd.system.entry.js → p-fe330a72.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/chartFunctions.d.ts +1 -9
- 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 +6 -124
- package/dist/types/global/interfaces.d.ts +0 -41
- package/package.json +2 -2
- package/dist/cjs/wm-chart-bar.cjs.entry.js +0 -299
- package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.css +0 -961
- 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 -1071
- package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +0 -423
- 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 -110
- package/dist/esm/priv-chart-popover-old.entry.js +0 -141
- package/dist/esm/priv-chart-popover_2.entry.js +0 -170
- package/dist/esm/wm-chart-bar.entry.js +0 -295
- package/dist/esm-es5/app-globals-20ff89a4.js +0 -1
- package/dist/esm-es5/interfaces-16deca17.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-0b5e5682.js +0 -1
- package/dist/ripple/p-0d5884f6.system.entry.js +0 -1
- package/dist/ripple/p-1c133402.system.entry.js +0 -1
- package/dist/ripple/p-25e10302.system.js +0 -1
- package/dist/ripple/p-30874e40.entry.js +0 -1
- package/dist/ripple/p-403e834e.entry.js +0 -1
- package/dist/ripple/p-4869f367.system.js +0 -1
- package/dist/ripple/p-55f2245c.js +0 -1
- package/dist/ripple/p-784fc89d.system.js +0 -1
- package/dist/ripple/p-7b6a4bd6.entry.js +0 -1
- package/dist/ripple/p-87e8cef4.system.js +0 -1
- package/dist/ripple/p-c464dfd1.entry.js +0 -1
- package/dist/ripple/p-efa7cdcc.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 -58
- package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +0 -19
|
@@ -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: '46915426478191fda868fc3ca81060a7cee63d59', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: 'e26ad92628a26d2083b5a3271d180d2a6559accc', 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: '0ee2cd14b6f2197d955012a4f6f9d0050463e4d0' })), h("div", { key: '20b1f1e65597a720ff92478381dd970a772913ca', 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: 'dc5487e9db05047df15491b76ec7260b41e75708', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '2c44a15c29ec734589bb14ec507c4b30dc3b9aaf', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'f78d92251a60939e63e7357ea6f712f196f9a6e7', class: "label-wrapper" }, h("label", { key: '65786c470f4303dd9b11bafa98798f7393a7225c', 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: 'c7d1c897c6b8b0ff2dc435d8e0e62b949aafd668', class: "button-wrapper" }, h("button", Object.assign({ key: '2294d021e33e1f1c21265d3316b343ec347e0b42' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: '83dcbcf0abaa22620daf4457f930e036a8ab58db', class: "overflowcontrol" }, h("span", { key: '6b2fe73254f8eb40bf60613017396d5e6bee93b1', class: "button-text" }, this.renderButtonText())), h("div", { key: 'a951b39a068d9fd9bc5feb1862558290abe1e7c4', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: 'b6355ac95e921a6cffa8c9cda1d864aee9a1a9cc', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'ac26ee37fce4396b4d71ca5444c2a702eeec875b', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, this.renderClearSelectionButton(), h("div", { key: '8875760f0a472ea48fa0edf215f9311a94bbe48f', 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: 'bf055f6570f0bd2462dc0f73977fb220bd413f96', class: `option-list-wrapper ${this.isGroupExpanded ? "" : "hidden"}` }, h("slot", { key: 'cab4760d557a4a9cb004e5d1feb860505c2a7835' }))), h("div", { key: 'aa85f502c10e0c4571018def2bf5dced36f397c4', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: '4a8b4030be1627fad5e6d555c85a78d7de08c030', 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: 'd77bf14f995daa7ee2809e248824722f786d1bd9' }, h("div", { key: 'a695e5a0c65767922d05eb38085a81737b1b840e', class: `list-wrapper` }, h("priv-option-list", { key: 'a0eb3e7a12e61b1508f16d20bd7dbddfb2724f38', 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: '106a06b63cccf8436616efd341e22e863021007e' })))));
|
|
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: '3bebc22b8d9c2f28d6d4a40202dbbd5bfcd881a2', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: 'a65b8024c460fc76a188847c383c813110cf9ae1', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { key: '9bb2af43b87a04158ac30263c766d1997ae13902', class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { key: '341516525f8fd5eb4e389eda55ec336961d4010e', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: '69c48602a0954b55ae50f441417e7088ae2f6550', class: "sr-only" }, this.el.textContent)), h("div", { key: 'd9f8a9a104849c65a1e13482a028e0c7b181f54f', class: "subinfo" }, this.subinfo)));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "wm-option"; }
|
|
149
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -314,14 +314,14 @@ export class Select {
|
|
|
314
314
|
}
|
|
315
315
|
render() {
|
|
316
316
|
const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
|
|
317
|
-
return (h(Host, { key: '
|
|
317
|
+
return (h(Host, { key: '7fb824eaafac8e737e8bafb76e6bbac60cf652d1', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '19cf9096a6dd9e534aa35e1aa2ad318cc71f0a17', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'b0c98aeb4a346745064fbbf214fb6647b2a9f32b', class: "label-wrapper" }, h("label", { key: 'fc1fde9175b1e661a6f08a0fcc35aa06a405bca9', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
|
|
318
318
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
319
|
-
this.requiredField && (h("span", { key: '
|
|
319
|
+
this.requiredField && (h("span", { key: '2a322ba30403a27e5f4be402143d5ccc1c5ed134', class: "required" }, h("span", { key: '3461e69bc5773cc2d635aa16b739580314a2bfe6', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '435cd8abf9909ac43455c150c1e8ab7b7c3ee014', "aria-hidden": "true" }, "*")))), h("div", { key: '247e8b19ad5fb48e4f1152e67780218b201c9064', class: "button-wrapper" }, h("button", { key: 'a69404e36e8bbafa5bbd7c9f1c6e381571ce6240', 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: 'da21f5b17347388d719c32f49ffb06878fa5102b', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'c65e84dbf79866af02242917a91146cb85cda6e6', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: 'f57f44de3f21a331b7e996a823a4d88b53835eb0', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '44a7fade429711e38e95abca8d165c1d1cf0ff6c', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '07ad0b8a3e260c58b1291e64d3db2498cb0e503e', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '745291f917c50256155e3a208791417467b25f88',
|
|
320
320
|
// is-open is for the CSS transition in modern browsers
|
|
321
321
|
// hidden is to wait for position calculations in Firefox
|
|
322
322
|
class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
|
|
323
323
|
// @ts-ignore -- don't tell typescript but we're in the future
|
|
324
|
-
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '
|
|
324
|
+
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '185863f82957568eef29a5180afcd0973c5616ad', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
|
|
325
325
|
this.dropdownEl.hidePopover();
|
|
326
326
|
}, onOptionListAllSelected: () => {
|
|
327
327
|
this.returnFocus = true;
|
|
@@ -329,7 +329,7 @@ export class Select {
|
|
|
329
329
|
}, onOptionListAllDeselected: () => {
|
|
330
330
|
this.returnFocus = true;
|
|
331
331
|
this.wmSelectAllDeselected.emit();
|
|
332
|
-
} }, h("slot", { key: '
|
|
332
|
+
} }, h("slot", { key: '580139ee9425c0fe550c793aceddc85b2c4ff472' }))), h("div", { key: '5a99e8a6087b883dba4f97b9ee2a77ed65ea900f', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '01137653e4eeb06386250a901c5663cafd679d08', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
|
|
333
333
|
}
|
|
334
334
|
static get is() { return "wm-select"; }
|
|
335
335
|
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: '6c215ca92b7775278392baade1cbd7238fec554c', onBlur: () => this.close(false) }, h("div", { key: 'd38c5a3fc3cd5faaaeff2e7f5e1e23a7ea7ec1ab', class: getTextDir() }, h("wm-button", { key: '4570f3978bd74038a1832c3bd1583c630eb195f7', "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: '5058056510151dad8e95bd6b1ea6dd322d632331', 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: 'd1a23671f13261238fd3f2c1e33a8f6c277bd31a' })))));
|
|
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: 'e2cb063d8e0c666bfc211bd53e88db0272ac7921', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: '7811155d0e2623f94dcfdebf4170895533afcd9d', 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: '1d4a5c64e24dea05a019b8bc4a8e7127ed32e14d', class: "button-text" }, h("slot", { key: 'bae008635b392c8082b2a63e6670d6a7d6b00205' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: 'fc2760aa3e58026bc1426bd0b3673701e67fee56', 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: 'd1ec4a91453b2274dd4c60800ebbf12c1533b5c0', 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: '50bc377faf106c14b0c4fa9c1e6680b98d066f1b', role: "list", class: "list-wrapper" }, h("slot", { key: '5fad985b96a6cfc72c2baf85c7c5092db510d7fb' })));
|
|
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: '20a838f9732291d5d14c9827a62d0390e98d75c0' }, h("dialog", { key: '0801e848da851e1db85d02fb46136de93c929bea', ref: (el) => (this.dialogEl = el), class: "flyout", "aria-labelledby": "heading", onClose: () => this.wmFlyoutCloseTriggered.emit(), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'a2c0d87b5e0c12fec5e2cde60be7fd5a01313f0b', tabindex: "0", class: "focus-trap", onFocus: () => this.lastFocusableEl.focus(), "aria-hidden": "true" }), this.renderHeader(), h("div", { key: '910fa60554302c056584d9224ecff2f767fcec6d', class: "flyout-content" }, h("slot", { key: '2bbb0647933c339836f772b67adb0ab47b9f7802' })), this.renderFooter(), h("div", { key: '3e627405571d93355d1a4049d5f2848ecd2d99c0', 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: '5e281cdb07413696a1405266627db2bc22ce1674', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: '2aa8b6434a1e649cc88cd9bddb771a7f18af9a5c', class: "label-wrapper" }, h("label", { key: 'd6246e9715693cce6e4ae537792042e8ffd97050', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '0fa5b82940b14472d05a1e8f6f628137d87a36f9', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("div", { key: '05c896add7e40b09ed3bee2cb19840ba9b71ecd4', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: 'ffff813c749cd3432b773e41c07cf4f4fe32d6c6', class: "inner-wrapper" }, h("div", { key: '10e3e09153b703b51fd170cc0b77ca4beedcf63d', class: "text-after-wrapper" }, h("div", { key: 'dbaeab7a9da2a81eb3bd188819e0a1c5396190d8', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '45cd4bde06af5d09ef124ff27c7b40dffc642524', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '0c6b0a7ea54a1f85abb6d82a91cb7afaba5753c6', 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: 'b05bdbea66f4b71913130eff59770d22b573db36', 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: '41c2fb3f492ac63a423caf3ddbe48f1ecf06121a', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: 'f211e673ba9d3b7de1152d92ec2d496932f96772', id: "info", class: "info" }, this.info)), h("div", { key: '699d7f3c818082b4d2d8558b80bbf134587c827e', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '69cf3df248eb4884eaead9e13f1c7414c08f5cd1', 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: '3918e12cfecc1ef4123851608175c4dfe9c41022', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: 'ce62650fb0afee46e8acf66324d65a303931efde', 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: '86b0ac602ef44f1f903993c287ccbf35736f0d6d', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '3eba5847dbf91ed35aa9489c39658794f7cb9870', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: 'f81a1bc7519936e40f400c243bfd6f6b4e19e8f3', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '19cf3c9d718ac7d82e9c073ebe3890163fef6dbd', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: '7f10d760d7fbeea0325a1d6c194e153cfda26ff7', "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: '282b0960d221b5f6872f6259fefa4fde964229eb' }, h("div", { key: '7878bb4bf1fed4f0f980820d0d16b7171c64a0bf', class: "wm-wrapper" }, h("div", { key: 'cdb85926e03539e69d2d5df1d285b6b97a148ce4' }, h("h2", { key: '6c86104ac8b3fe0c177ad20f3ec258cf8ca48d45', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '2a7be253b0d28c95b530af26464f2d303a396dde', class: "subtitle" }, this.subheading))), h("wm-button", { key: '33c15118c3aa70c11889c5d2fc1d75e16e528b19', "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() {
|
|
@@ -116,11 +116,11 @@ export class Modal {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
render() {
|
|
119
|
-
return (h("dialog", { key: '
|
|
119
|
+
return (h("dialog", { key: 'a3ff3f7d9ebed66d80a4ab4c91e41efa58328612', 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: '1b34e405a9fb3315d75891a11c5bfd8be2630b24', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
120
120
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
121
121
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
122
122
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
123
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { key: '
|
|
123
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: '7d59def6c502ff6d68b10f127fc0bbe9b023a237', class: "wm-tooltip" }), h("slot", { key: '79d6e5cfdb5d28434654ea2a600bab29d7c6d711' }), h("div", { key: '824fe3968dcb576661ef99f624279fd6e01620af', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
124
124
|
this.focusFirstElement.emit();
|
|
125
125
|
} })));
|
|
126
126
|
}
|
|
@@ -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: 'f3ed1135a2ccfa49c16dd66daece5bfb993c7534', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '4403427b56f79606065a754d646bf18bc912db9e', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '36862f60cdcacb441672d34120f6badc3bee9048', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '07cba5e6270813ccd39429e8924bdc57f686ef5d', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '05b061ea376bd9b309158b5e59f1058c351efb22', "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: '92583f333f5795b01afa63e9cf083f04a4f563bf' }, h("div", { key: '70e0f04cc75aaed989f813d9a14c741aaee77701', class: "wm-wrapper" }, h("div", { key: '6f1831c376e983766e60257aec2ced5e99b3996d' }, h("h2", { key: 'a1c39702cd6a48914180013835572e4fbead6ed8', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '30ad4c11aad67657ac9d8ac97c91cc1a419bbf79', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'b2bc0b091b769973801080ae1ee63a7b13ffcee9', "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: 'ddf77d980c1751926c10fe86afebb9eef85dc9ac', 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: '0f422c764810c173e093a0c1c92a5248446b3a75', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'b15e362f110ca21ca9ba554b9b884c9db4af9138', 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: 'a43f96c6c9277bcbc28db3f54c1e6dac5a12c711', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'e8d172739a625abdd185201609f43660a43d92b4', "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: '1e6cf4f1d121a4e5b04dcece6a00ac5cffbaecbb', 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: 'bf087268732555bdbe50c267f97c9f0858bba980', role: "listitem" }, h("a", { key: '2b6086ffd77e24e73ea262a9c730825cd9050e94', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '3e2e6f675ad123a095e2ca41f575e988c7949395', class: "icon", "aria-hidden": "true" }, h("slot", { key: '7733614fd071798abf4f8b254293d34cacfd6c5c' })), h("div", { key: 'a5312a7a50264dbfa191ed1136e6433609c337a6', 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: '2d7f11924052f4438243237f1d38141f6652b944', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: 'f92b7cab8cd7e1c63e59cac31afd9efcfda4234f', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '7fec0055e808b49676b8b589e59244b884545ea1', class: "tray" }, h("div", { key: '8ac1ae8da1054a6dceda08f751768de718080bde', class: "toggle-wrapper" }, h("wm-button", { key: 'e36fcb93366baef360df96298cb35c4576a9a916', 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: '22ba6ec5ce572f1c04ccb45301659dde791f3115', class: "navlist" }, h("slot", { key: '3fa52b5bbe4e1346d90e5a556eeeabfeb9a7f4a0' }))), this.isCollapsible && (h("div", { key: 'e7738e6001e65f8e4fecdd775ea40d93b84cd4b4', 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: '37826c509d1b35d0e5ef9915749d521941251722', "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: '7dba57536d9412d9f8865433056a2bcbde2f95aa', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: 'fcfc79489b88184203d8e4163f256e531de9bc67' })));
|
|
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: '6be7673743d44ea45076ea3a7a6bcd4e48d4837d', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: 'd67e8a638a0aad67828a625ac07e5559876b15e8', 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: '54839cc6b1e6c142e3f60d01572f4645816ccf08' }, h("div", { key: '19d72e8d5c578328ca64819a289e974a279ee352', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '1cf69b8f9d3ec4e7fdb0fa6a391fd71c920c7c74', 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: '3495eb2351e9e51a114cb8680206196752623135', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '837a9c6a9c68d19c9bf4cb09158b22867036c128', 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: 'd3e6bea353d66664559f6dce9fa1d3301f99e3db' }, h("div", { key: 'be5bf8d2ebbab807af66cc479929c3b696537fd8', 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: 'defc7a78c6a890a4a9566f57ec55352ecc91dfa0', 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: '32c6aac6411c25d4b82107b6334b1732a0ef2ffa', role: "presentation" }, h("li", { key: 'f6fc4ae969e7a767389b9addf613fb83f8185bae', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: '250ad48a22872b09adbf5bac7de1779ecc3a8a9b', 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: 'ab90abb21cb8617a158aa3dff4d77c7ac4d49b96' })))));
|
|
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: 'e0c149eea66c9d126ad6efd28fcb261bb3e97002' }, h("div", { key: 'a82977738037c8eabb48c74a3893668d8a7e4c34', class: "component-wrapper" }, h("wm-button", { key: '533f416a6beb4fb87ab2213a29e1786b064cee77', 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: '1cb5ae17170fe3776749dde6a2f26d8ea4868a09', 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: '5a629e3ebc7486619801f778ace79f280b9a4998' })), h("wm-button", { key: 'e9c3a8c1ce09faa3b1738047931a2971a71757e3', 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: '4466ae59f3e70c5ce2b6eda1936842498ce62d84', "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: 'ceb067c79994366c790a73ea7277750436abc477', 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() {
|
|
@@ -927,10 +927,10 @@ export class TagInput {
|
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
render() {
|
|
930
|
-
return (h("div", { key: '
|
|
930
|
+
return (h("div", { key: '1ea7a4e18d1edcd6c3e66f7b1a7426058b03e1a1', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'd0779f651e99b8f5bdbb6986daf70e7701f83d81', class: "label-wrapper" }, h("label", { key: '80465bcd2dcedd108c353fd95b57163e84ad266d', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.requiredField && (h("div", { key: '2758d90e08028cac91b7b5894a9bdb919cfa9fe7', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '5d6454cab0ae655c9ad9e5155a2737807552641d', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: '66e23fb5d85d8133e1907f12f354caff5b4f8b09', class: "upper-row" }, h("div", { key: '6b27e970920af73e50e1e6ae04c721f8899bb53b', class: "svg-icon svg-search" }), h("div", { key: 'c67fe9b9a364cb09224abcec3caca9979bcd66a1', class: `tags-and-input-wrapper` }, h("ul", { key: '26e53e16f3498add3b64461b9ad0cc414e7b9cd0', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
931
931
|
this.focusedTagIndex = undefined;
|
|
932
932
|
this.handleBlur(ev);
|
|
933
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: '
|
|
933
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: 'bcb6e30890a2198f54b955a54226f25e1e7e887e', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: 'a00c7fe46e44c232ead4f1ab80f507850dec3185', id: "info", class: "info-text" }, this.info)), h("div", { key: 'de82e4d355b12f88db7b4054f1f318a2452cd4d7', id: "error" }, this.errorMessage), h("div", { key: '318a2efc15622295f94236615d1f6b3e369e77ea', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
934
934
|
}
|
|
935
935
|
static get is() { return "wm-tag-input"; }
|
|
936
936
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class Textarea {
|
|
|
71
71
|
this.announcement = message;
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h("div", { key: '
|
|
74
|
+
return (h("div", { key: '4d66731ba9bd4ba435090f31acc86b7eae07ea25', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '642ce791dc16814534694b36dab601777dc655de', class: "label-wrapper" }, h("label", { key: '2a60aa3829eed6a377f5daecaa9d264dc715b38d', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '76b6ad6c0a639f6fae230a7c1bd13f102fe747c7', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("span", { key: '0d47f3ef8ff15e2c4110cc279f29434f1c1c55ee', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '060b640fcdb2b4a6fc0b310fb152b4a5736a8797', class: "inner-wrapper" }, h("div", { key: '26ec20786b6b6cf22a3b5b042478e8057fcaa471', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '15cc0321f901bd8db6aa9fb8f26ee3906b72d7c7', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: '13f454a13e63f3f583011ab43c7b22409f934a2e', id: "info", class: "info" }, this.info)), h("div", { key: '281885a5098b169ba5f192f5056c7ab14c8d944c', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '32a259bfdda78dc540e71140a4d8fbd1b7e46143', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "wm-textarea"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|