@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
|
@@ -860,7 +860,18 @@
|
|
|
860
860
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
priv-chart-popover
|
|
863
|
+
priv-chart-popover {
|
|
864
|
+
position: fixed;
|
|
865
|
+
z-index: 10;
|
|
866
|
+
border-radius: 0.1875rem;
|
|
867
|
+
-webkit-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
|
|
868
|
+
-moz-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
|
|
869
|
+
box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
|
|
870
|
+
background-color: var(--wmcolor-background);
|
|
871
|
+
font-size: 0.875rem;
|
|
872
|
+
text-align: left;
|
|
873
|
+
}
|
|
874
|
+
priv-chart-popover.user-is-tabbing .button-text {
|
|
864
875
|
outline: 3px solid var(--wmcolor-interactive-focus);
|
|
865
876
|
outline-offset: 2px;
|
|
866
877
|
}
|
|
@@ -879,18 +890,7 @@ priv-chart-popover.user-is-keying .button-text {
|
|
|
879
890
|
}
|
|
880
891
|
|
|
881
892
|
.popover {
|
|
882
|
-
|
|
883
|
-
margin: 0;
|
|
884
|
-
padding: 0;
|
|
885
|
-
border: none;
|
|
886
|
-
border-radius: 0.1875rem;
|
|
887
|
-
-webkit-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
|
|
888
|
-
-moz-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
|
|
889
|
-
box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
|
|
890
|
-
background-color: var(--wmcolor-background);
|
|
891
|
-
font-size: 0.875rem;
|
|
892
|
-
text-align: start;
|
|
893
|
-
inline-size: 10.5rem;
|
|
893
|
+
width: 10.5rem;
|
|
894
894
|
padding: 0.625rem 0.9375rem;
|
|
895
895
|
box-sizing: border-box;
|
|
896
896
|
}
|
|
@@ -898,9 +898,9 @@ priv-chart-popover.user-is-keying .button-text {
|
|
|
898
898
|
font-size: 1em;
|
|
899
899
|
font-weight: 500;
|
|
900
900
|
margin: 0;
|
|
901
|
-
padding-
|
|
902
|
-
padding-
|
|
903
|
-
padding-
|
|
901
|
+
padding-top: 0;
|
|
902
|
+
padding-left: 0;
|
|
903
|
+
padding-bottom: 0.25rem;
|
|
904
904
|
}
|
|
905
905
|
.popover .title.positive {
|
|
906
906
|
color: var(--wmcolor-chart-label-text-positive);
|
|
@@ -910,7 +910,7 @@ priv-chart-popover.user-is-keying .button-text {
|
|
|
910
910
|
}
|
|
911
911
|
.popover .text {
|
|
912
912
|
margin: 0;
|
|
913
|
-
margin-
|
|
913
|
+
margin-bottom: 0.5rem;
|
|
914
914
|
}
|
|
915
915
|
.popover .popover-button {
|
|
916
916
|
-webkit-box-shadow: none;
|
|
@@ -918,10 +918,10 @@ priv-chart-popover.user-is-keying .button-text {
|
|
|
918
918
|
box-shadow: none;
|
|
919
919
|
position: relative;
|
|
920
920
|
display: inline-block;
|
|
921
|
-
margin-
|
|
922
|
-
padding-
|
|
923
|
-
padding-
|
|
924
|
-
|
|
921
|
+
margin-left: 1rem;
|
|
922
|
+
padding-left: 0;
|
|
923
|
+
padding-right: 0;
|
|
924
|
+
height: auto;
|
|
925
925
|
border: none;
|
|
926
926
|
background: var(--wmcolor-background-transparent);
|
|
927
927
|
cursor: pointer;
|
|
@@ -931,7 +931,7 @@ priv-chart-popover.user-is-keying .button-text {
|
|
|
931
931
|
text-align: initial;
|
|
932
932
|
font-size: 0.875rem;
|
|
933
933
|
font-weight: 700;
|
|
934
|
-
color: var(--wmcolor-
|
|
934
|
+
color: var(--wmcolor-link-text);
|
|
935
935
|
line-height: normal;
|
|
936
936
|
}
|
|
937
937
|
.popover .popover-button .button-text {
|
|
@@ -939,8 +939,8 @@ priv-chart-popover.user-is-keying .button-text {
|
|
|
939
939
|
}
|
|
940
940
|
.popover .popover-button .btn-icon {
|
|
941
941
|
position: absolute;
|
|
942
|
-
|
|
943
|
-
|
|
942
|
+
top: 0.1875rem;
|
|
943
|
+
left: -1rem;
|
|
944
944
|
}
|
|
945
945
|
.popover .popover-button span {
|
|
946
946
|
text-decoration: underline;
|
|
@@ -2,32 +2,31 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { debounce, findAllScrollableParents, intl } from "../../../global/functions";
|
|
3
3
|
export class ChartPopover {
|
|
4
4
|
constructor() {
|
|
5
|
+
this.chartEl = this.el.parentElement.getRootNode().host;
|
|
5
6
|
this.popoverWidth = 168;
|
|
6
7
|
this.popoverClicked = false;
|
|
7
8
|
this.debouncedClosePopover = debounce(async () => {
|
|
8
9
|
this.open = false;
|
|
9
10
|
}, 10);
|
|
10
|
-
this.chartData = undefined;
|
|
11
|
-
this.header = "";
|
|
12
|
-
this.text = "";
|
|
13
|
-
this.buttonText = "";
|
|
14
|
-
this.coords = { x: 0, y: 0 };
|
|
15
11
|
this.open = false;
|
|
16
|
-
this.
|
|
17
|
-
this.isKeying = false;
|
|
12
|
+
this.sliceDetails = undefined;
|
|
18
13
|
}
|
|
19
|
-
|
|
20
|
-
this.
|
|
14
|
+
get eventToEmit() {
|
|
15
|
+
return this.chartEl.nodeName === "WM-CHART"
|
|
16
|
+
? this.wmChartPopoverButtonTriggered
|
|
17
|
+
: this.wmProgressIndicatorButtonTriggered;
|
|
21
18
|
}
|
|
22
|
-
|
|
23
|
-
this
|
|
24
|
-
|
|
25
|
-
handleClickOnDocument(_ev) {
|
|
19
|
+
handleClickOnDocument(ev) {
|
|
20
|
+
// because this listener is set document-wide, whenever something inside it is clicked
|
|
21
|
+
// the event target returned will always be the host (wm-chart)
|
|
26
22
|
// the element within wm-chart is determined by the other listener and saved as var popoverClicked for use here
|
|
27
23
|
// capture = false in @Listen ensures order of execution
|
|
28
24
|
if (this.open) {
|
|
29
|
-
|
|
30
|
-
this.
|
|
25
|
+
// if the target is the popover's own slice, no need to adjust the open state
|
|
26
|
+
if (ev.target != this.sliceDetails.sliceRef) {
|
|
27
|
+
this.open = this.popoverClicked;
|
|
28
|
+
this.popoverClicked = false;
|
|
29
|
+
}
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
handleClick(ev) {
|
|
@@ -40,8 +39,8 @@ export class ChartPopover {
|
|
|
40
39
|
componentDidLoad() {
|
|
41
40
|
// set up event listeners for scrolling
|
|
42
41
|
// to close popover on page scroll
|
|
43
|
-
const scrollableParents = findAllScrollableParents(this.
|
|
44
|
-
scrollableParents.forEach(
|
|
42
|
+
const scrollableParents = findAllScrollableParents(this.chartEl);
|
|
43
|
+
scrollableParents.forEach(scrollableParent => {
|
|
45
44
|
if (scrollableParent === document.documentElement) {
|
|
46
45
|
// For document element, listen to window scroll event
|
|
47
46
|
window.addEventListener("scroll", () => {
|
|
@@ -57,58 +56,71 @@ export class ChartPopover {
|
|
|
57
56
|
});
|
|
58
57
|
}
|
|
59
58
|
handleOpenChange() {
|
|
60
|
-
this.
|
|
61
|
-
if (this.open) {
|
|
62
|
-
this.popoverEl.showPopover();
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
this.popoverEl.hidePopover();
|
|
66
|
-
}
|
|
59
|
+
this.intChartPopoverOpenChanged.emit(this.open);
|
|
67
60
|
}
|
|
68
61
|
handleDetailsChange() {
|
|
69
|
-
this.
|
|
70
|
-
|
|
71
|
-
handleButtonClick() {
|
|
72
|
-
if (this.chartData) {
|
|
73
|
-
this.wmPopoverButtonClick.emit(this.chartData);
|
|
62
|
+
if (this.sliceDetails && this.sliceDetails.coords) {
|
|
63
|
+
this.positionPopover();
|
|
74
64
|
}
|
|
75
65
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
//
|
|
79
|
-
|
|
80
|
-
|
|
66
|
+
updateHighlightedInfo() {
|
|
67
|
+
// if (this.sliceDetails) {
|
|
68
|
+
// if (this.open) {
|
|
69
|
+
// this.highlightSegmentInfo(this.sliceDetails);
|
|
70
|
+
// } else {
|
|
71
|
+
// this.removeSegmentInfoHighlight();
|
|
72
|
+
// }
|
|
73
|
+
// }
|
|
74
|
+
}
|
|
75
|
+
handleButtonClick() {
|
|
76
|
+
if (this.sliceDetails) {
|
|
77
|
+
const sliceRef = this.sliceDetails.sliceRef;
|
|
78
|
+
sliceRef.click();
|
|
79
|
+
this.eventToEmit.emit(sliceRef);
|
|
81
80
|
}
|
|
82
|
-
this.announcement = message;
|
|
83
81
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
82
|
+
renderLiveRegion() {
|
|
83
|
+
if (this.liveRegion) {
|
|
84
|
+
this.liveRegion.innerHTML = "";
|
|
85
|
+
const wrapper = document.createElement("div");
|
|
86
|
+
const titleEl = document.createElement("span");
|
|
87
|
+
titleEl.innerHTML = this.sliceDetails.title + " " || "";
|
|
88
|
+
wrapper.appendChild(titleEl);
|
|
89
|
+
const textEl = document.createElement("span");
|
|
90
|
+
textEl.innerHTML = this.sliceDetails.text + " " || "";
|
|
91
|
+
wrapper.appendChild(textEl);
|
|
92
|
+
if (this.sliceDetails.buttonText) {
|
|
93
|
+
const buttonEl = document.createElement("span");
|
|
94
|
+
buttonEl.innerHTML =
|
|
95
|
+
this.sliceDetails.buttonText +
|
|
96
|
+
" " +
|
|
97
|
+
intl.formatMessage({
|
|
98
|
+
id: "chart.infoButton",
|
|
99
|
+
defaultMessage: "Button. Click for more information.",
|
|
100
|
+
});
|
|
101
|
+
wrapper.appendChild(buttonEl);
|
|
102
|
+
}
|
|
103
|
+
this.liveRegion.appendChild(wrapper);
|
|
95
104
|
}
|
|
96
|
-
this.announce(contentsMessage);
|
|
97
105
|
}
|
|
98
106
|
positionPopover() {
|
|
99
|
-
this.
|
|
100
|
-
if (window.innerWidth - this.coords.x >= this.popoverWidth + 10) {
|
|
101
|
-
this.
|
|
107
|
+
this.el.style.top = this.sliceDetails.coords.y + "px";
|
|
108
|
+
if (window.innerWidth - this.sliceDetails.coords.x >= this.popoverWidth + 10) {
|
|
109
|
+
this.el.style.left = this.sliceDetails.coords.x + "px"; // opens on the right
|
|
102
110
|
}
|
|
103
111
|
else {
|
|
104
|
-
this.
|
|
112
|
+
this.el.style.left = this.sliceDetails.coords.x - this.popoverWidth + "px"; // opens on the left
|
|
105
113
|
}
|
|
106
114
|
}
|
|
107
115
|
render() {
|
|
108
|
-
const titleAffordance = this.
|
|
109
|
-
|
|
116
|
+
const titleAffordance = this.sliceDetails &&
|
|
117
|
+
this.sliceDetails.title &&
|
|
118
|
+
(this.sliceDetails.title[0] === "-" ? "negative" : this.sliceDetails.title[0] === "+" ? "positive" : "");
|
|
119
|
+
return (h(Host, { key: '25275e7ca9b1744629a4da08abccc1b99f301286' }, !!this.open && this.sliceDetails ? (h("div", { "aria-hidden": "true", class: "popover" }, h("h1", { class: `title ${titleAffordance}` }, this.sliceDetails.title), h("p", { class: "text" }, this.sliceDetails.text), this.sliceDetails.buttonText ? (
|
|
120
|
+
// @ts-ignore
|
|
121
|
+
h("button", { tabindex: "-1",
|
|
110
122
|
// @ts-ignore
|
|
111
|
-
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.buttonText))) : ("")), h("div", { key: '
|
|
123
|
+
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), h("div", { key: 'cdfdb9f58ebcbe375cc50214aac091c890587935', ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
|
|
112
124
|
}
|
|
113
125
|
static get is() { return "priv-chart-popover"; }
|
|
114
126
|
static get originalStyleUrls() {
|
|
@@ -123,69 +135,12 @@ export class ChartPopover {
|
|
|
123
135
|
}
|
|
124
136
|
static get properties() {
|
|
125
137
|
return {
|
|
126
|
-
"
|
|
127
|
-
"type": "
|
|
128
|
-
"mutable":
|
|
129
|
-
"complexType": {
|
|
130
|
-
"original": "ChartData",
|
|
131
|
-
"resolved": "undefined | { [key: string]: any; barLegend: string; amount: number; color?: string | undefined; popoverTitle?: string | undefined; popoverText?: string | undefined; popoverButtonText?: string | undefined; }",
|
|
132
|
-
"references": {
|
|
133
|
-
"ChartData": {
|
|
134
|
-
"location": "import",
|
|
135
|
-
"path": "../../../global/interfaces",
|
|
136
|
-
"id": "src/global/interfaces.ts::ChartData"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"required": false,
|
|
141
|
-
"optional": true,
|
|
142
|
-
"docs": {
|
|
143
|
-
"tags": [],
|
|
144
|
-
"text": ""
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"header": {
|
|
148
|
-
"type": "string",
|
|
149
|
-
"mutable": false,
|
|
150
|
-
"complexType": {
|
|
151
|
-
"original": "string",
|
|
152
|
-
"resolved": "string",
|
|
153
|
-
"references": {}
|
|
154
|
-
},
|
|
155
|
-
"required": false,
|
|
156
|
-
"optional": false,
|
|
157
|
-
"docs": {
|
|
158
|
-
"tags": [],
|
|
159
|
-
"text": ""
|
|
160
|
-
},
|
|
161
|
-
"attribute": "header",
|
|
162
|
-
"reflect": false,
|
|
163
|
-
"defaultValue": "\"\""
|
|
164
|
-
},
|
|
165
|
-
"text": {
|
|
166
|
-
"type": "string",
|
|
167
|
-
"mutable": false,
|
|
168
|
-
"complexType": {
|
|
169
|
-
"original": "string",
|
|
170
|
-
"resolved": "string",
|
|
171
|
-
"references": {}
|
|
172
|
-
},
|
|
173
|
-
"required": false,
|
|
174
|
-
"optional": false,
|
|
175
|
-
"docs": {
|
|
176
|
-
"tags": [],
|
|
177
|
-
"text": ""
|
|
178
|
-
},
|
|
179
|
-
"attribute": "text",
|
|
180
|
-
"reflect": false,
|
|
181
|
-
"defaultValue": "\"\""
|
|
182
|
-
},
|
|
183
|
-
"buttonText": {
|
|
184
|
-
"type": "string",
|
|
185
|
-
"mutable": false,
|
|
138
|
+
"open": {
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"mutable": true,
|
|
186
141
|
"complexType": {
|
|
187
|
-
"original": "
|
|
188
|
-
"resolved": "
|
|
142
|
+
"original": "boolean",
|
|
143
|
+
"resolved": "boolean",
|
|
189
144
|
"references": {}
|
|
190
145
|
},
|
|
191
146
|
"required": false,
|
|
@@ -194,56 +149,37 @@ export class ChartPopover {
|
|
|
194
149
|
"tags": [],
|
|
195
150
|
"text": ""
|
|
196
151
|
},
|
|
197
|
-
"attribute": "
|
|
152
|
+
"attribute": "open",
|
|
198
153
|
"reflect": false,
|
|
199
|
-
"defaultValue": "
|
|
154
|
+
"defaultValue": "false"
|
|
200
155
|
},
|
|
201
|
-
"
|
|
156
|
+
"sliceDetails": {
|
|
202
157
|
"type": "unknown",
|
|
203
158
|
"mutable": false,
|
|
204
159
|
"complexType": {
|
|
205
|
-
"original": "
|
|
206
|
-
"resolved": "{ x: number; y: number; }",
|
|
207
|
-
"references": {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
},
|
|
215
|
-
"defaultValue": "{ x: 0, y: 0 }"
|
|
216
|
-
},
|
|
217
|
-
"open": {
|
|
218
|
-
"type": "boolean",
|
|
219
|
-
"mutable": true,
|
|
220
|
-
"complexType": {
|
|
221
|
-
"original": "boolean",
|
|
222
|
-
"resolved": "boolean",
|
|
223
|
-
"references": {}
|
|
160
|
+
"original": "SliceDetails",
|
|
161
|
+
"resolved": "undefined | { amount: number; visualAmount: number; perc: number; legend: string | null; color: string; offset: number; id: string; title: string | null; text: string | null; buttonText: string | null; sliceRef: Element; inSmallCluster: boolean; index: number; coords?: { x: number; y: number; } | undefined; }",
|
|
162
|
+
"references": {
|
|
163
|
+
"SliceDetails": {
|
|
164
|
+
"location": "import",
|
|
165
|
+
"path": "../../../global/interfaces",
|
|
166
|
+
"id": "src/global/interfaces.ts::SliceDetails"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
224
169
|
},
|
|
225
170
|
"required": false,
|
|
226
|
-
"optional":
|
|
171
|
+
"optional": true,
|
|
227
172
|
"docs": {
|
|
228
173
|
"tags": [],
|
|
229
174
|
"text": ""
|
|
230
|
-
}
|
|
231
|
-
"attribute": "open",
|
|
232
|
-
"reflect": false,
|
|
233
|
-
"defaultValue": "false"
|
|
175
|
+
}
|
|
234
176
|
}
|
|
235
177
|
};
|
|
236
178
|
}
|
|
237
|
-
static get states() {
|
|
238
|
-
return {
|
|
239
|
-
"announcement": {},
|
|
240
|
-
"isKeying": {}
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
179
|
static get events() {
|
|
244
180
|
return [{
|
|
245
|
-
"method": "
|
|
246
|
-
"name": "
|
|
181
|
+
"method": "wmChartPopoverButtonTriggered",
|
|
182
|
+
"name": "wmChartPopoverButtonTriggered",
|
|
247
183
|
"bubbles": true,
|
|
248
184
|
"cancelable": true,
|
|
249
185
|
"composed": true,
|
|
@@ -252,19 +188,18 @@ export class ChartPopover {
|
|
|
252
188
|
"text": ""
|
|
253
189
|
},
|
|
254
190
|
"complexType": {
|
|
255
|
-
"original": "
|
|
256
|
-
"resolved": "
|
|
191
|
+
"original": "HTMLWmChartSliceElement",
|
|
192
|
+
"resolved": "HTMLWmChartSliceElement",
|
|
257
193
|
"references": {
|
|
258
|
-
"
|
|
259
|
-
"location": "
|
|
260
|
-
"
|
|
261
|
-
"id": "src/global/interfaces.ts::ChartData"
|
|
194
|
+
"HTMLWmChartSliceElement": {
|
|
195
|
+
"location": "global",
|
|
196
|
+
"id": "global::HTMLWmChartSliceElement"
|
|
262
197
|
}
|
|
263
198
|
}
|
|
264
199
|
}
|
|
265
200
|
}, {
|
|
266
|
-
"method": "
|
|
267
|
-
"name": "
|
|
201
|
+
"method": "wmProgressIndicatorButtonTriggered",
|
|
202
|
+
"name": "wmProgressIndicatorButtonTriggered",
|
|
268
203
|
"bubbles": true,
|
|
269
204
|
"cancelable": true,
|
|
270
205
|
"composed": true,
|
|
@@ -273,32 +208,31 @@ export class ChartPopover {
|
|
|
273
208
|
"text": ""
|
|
274
209
|
},
|
|
275
210
|
"complexType": {
|
|
276
|
-
"original": "
|
|
277
|
-
"resolved": "
|
|
278
|
-
"references": {}
|
|
279
|
-
}
|
|
280
|
-
}];
|
|
281
|
-
}
|
|
282
|
-
static get methods() {
|
|
283
|
-
return {
|
|
284
|
-
"announceContents": {
|
|
285
|
-
"complexType": {
|
|
286
|
-
"signature": "() => Promise<void>",
|
|
287
|
-
"parameters": [],
|
|
211
|
+
"original": "HTMLWmProgressSliceElement",
|
|
212
|
+
"resolved": "HTMLWmProgressSliceElement",
|
|
288
213
|
"references": {
|
|
289
|
-
"
|
|
214
|
+
"HTMLWmProgressSliceElement": {
|
|
290
215
|
"location": "global",
|
|
291
|
-
"id": "global::
|
|
216
|
+
"id": "global::HTMLWmProgressSliceElement"
|
|
292
217
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}, {
|
|
221
|
+
"method": "intChartPopoverOpenChanged",
|
|
222
|
+
"name": "intChartPopoverOpenChanged",
|
|
223
|
+
"bubbles": true,
|
|
224
|
+
"cancelable": true,
|
|
225
|
+
"composed": true,
|
|
296
226
|
"docs": {
|
|
297
|
-
"
|
|
298
|
-
"
|
|
227
|
+
"tags": [],
|
|
228
|
+
"text": ""
|
|
229
|
+
},
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "boolean",
|
|
232
|
+
"resolved": "boolean",
|
|
233
|
+
"references": {}
|
|
299
234
|
}
|
|
300
|
-
}
|
|
301
|
-
};
|
|
235
|
+
}];
|
|
302
236
|
}
|
|
303
237
|
static get elementRef() { return "el"; }
|
|
304
238
|
static get watchers() {
|
|
@@ -306,24 +240,12 @@ export class ChartPopover {
|
|
|
306
240
|
"propName": "open",
|
|
307
241
|
"methodName": "handleOpenChange"
|
|
308
242
|
}, {
|
|
309
|
-
"propName": "
|
|
243
|
+
"propName": "sliceDetails",
|
|
310
244
|
"methodName": "handleDetailsChange"
|
|
311
245
|
}];
|
|
312
246
|
}
|
|
313
247
|
static get listeners() {
|
|
314
248
|
return [{
|
|
315
|
-
"name": "wmUserIsKeying",
|
|
316
|
-
"method": "toggleTabbingOn",
|
|
317
|
-
"target": "window",
|
|
318
|
-
"capture": false,
|
|
319
|
-
"passive": false
|
|
320
|
-
}, {
|
|
321
|
-
"name": "wmUserIsNotTabbing",
|
|
322
|
-
"method": "toggleTabbingOff",
|
|
323
|
-
"target": "window",
|
|
324
|
-
"capture": false,
|
|
325
|
-
"passive": false
|
|
326
|
-
}, {
|
|
327
249
|
"name": "click",
|
|
328
250
|
"method": "handleClickOnDocument",
|
|
329
251
|
"target": "document",
|
|
@@ -29,7 +29,7 @@ export class Chart {
|
|
|
29
29
|
this.focusedSliceId = undefined;
|
|
30
30
|
}
|
|
31
31
|
get popoverEl() {
|
|
32
|
-
return this.el.shadowRoot.querySelector("priv-chart-popover
|
|
32
|
+
return this.el.shadowRoot.querySelector("priv-chart-popover");
|
|
33
33
|
}
|
|
34
34
|
get sliceEls() {
|
|
35
35
|
return Array.from(this.el.shadowRoot.querySelectorAll(".segment"));
|
|
@@ -145,7 +145,7 @@ export class Chart {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: '495e0455dbad63e662f11ea1c2f61713c9ad52b6', onBlur: () => exitChart.call(this) }, h("div", { key: '8a51cc400c25ea93797a01bb0ae2eb4fdbce8300', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { key: 'c4cf7b324a1347e4fc2d97ca9b7c2e50d5526a63', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '950e135dca88ae28d156047daee4618628753b49', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover", { key: '303b440f6098d37b8c1851b65d9e61d5792441ea', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
|
|
149
149
|
}
|
|
150
150
|
static get is() { return "wm-chart"; }
|
|
151
151
|
static get encapsulation() { return "shadow"; }
|
|
@@ -437,9 +437,9 @@ export class LineChart {
|
|
|
437
437
|
return h("div", { class: "highlight", style: highlightStyle });
|
|
438
438
|
}
|
|
439
439
|
render() {
|
|
440
|
-
return (h(Host, { key: '
|
|
440
|
+
return (h(Host, { key: 'fb0d9a5d98e31e44e873a45a057151abf8422af2', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: '8ad9a77f2ed681fe3e0e12d22e478f578a5f5378', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: '8c75ab0d44e8b843bd00ac7c884010f86a7c32ed', class: "chart-wrapper" }, h("div", { key: '733592d351ba71b9e48591ccc87406c90ba6ee1c', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: 'a5d35aca9eb498bf41641978206cda9504d26531', ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
|
|
441
441
|
"--backgroundSize": `${this.dataPointMatrix[0][this.xIntervals.indexOf(this.displayedXIntervals[1])].xPositionPercent}%`,
|
|
442
|
-
} }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: '
|
|
442
|
+
} }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: '848ec2e4cc1342d06c771dd5043e663c274862d2', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: 'd9db30e4e1d3eaec8a9fd16a60dc6d15dff0d352', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: '7042ad9fe099a30dde2385a71a4a78d9eb022b73', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
443
443
|
}
|
|
444
444
|
static get is() { return "wm-line-chart"; }
|
|
445
445
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class ProgressIndicator {
|
|
|
21
21
|
this.focusedSliceId = undefined;
|
|
22
22
|
}
|
|
23
23
|
get popoverEl() {
|
|
24
|
-
return this.el.shadowRoot.querySelector("priv-chart-popover
|
|
24
|
+
return this.el.shadowRoot.querySelector("priv-chart-popover");
|
|
25
25
|
}
|
|
26
26
|
get sliceEls() {
|
|
27
27
|
return Array.from(this.el.shadowRoot.querySelectorAll(".segment"));
|
|
@@ -95,7 +95,7 @@ export class ProgressIndicator {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '05666b54ac54aa245610f80b91f44f15ab242b23', onBlur: () => exitChart.call(this) }, h("div", { key: '0bae0b3024cbf29cc8a6da5e68884004772c4380', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.mode} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: "0", "aria-roledescription": this.chartRoleDescription, "aria-describedby": `chart-instructions` }, h("label", { key: 'b43987a6beb4fb9526a59aefd5d7fb265fcff8f7', id: `label-${this.uid}`, class: "label", htmlFor: `graphic-${this.uid}` }, h("span", { key: 'ead5c96e6147c1461419914f46b3cc05b792b78d', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.mode && this.renderBarOrDoughnut(), this.mode === "doughnut" ? renderLegend.call(this, this.mode) : "", h("priv-chart-popover", { key: '502cd128a387accac34456f289bb78802a52a650', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.mode === "doughnut" ? renderCompletionMessage.call(this) : ""), renderInstructionsText()));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "wm-progress-indicator"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class ProgressMonitor {
|
|
|
59
59
|
}))));
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '402d49cded01a03166bcf88d9a97116fe36d4586', class: this.mode === "doughnut" ? "row" : "column" }, this.modeInitialized && this.groupLegend && this.mode === "bar" && this.renderLegend(), this.modeInitialized && h("slot", { key: '137935e1ee1337a58d7b09412522e4ab0bdcdf4b' })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "wm-progress-monitor"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -580,11 +580,11 @@ export class PrivCalendar {
|
|
|
580
580
|
return (h("div", { class: "month-view" }, h("div", { "aria-labelledby": "popup-title-year", role: "grid", class: "months" }, h("div", { role: "row", class: "month-row" }, calendar_months.slice(0, 3).map((month, index) => this.renderMonth(month, index))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(3, 6).map((month, index) => this.renderMonth(month, index + 3))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(6, 9).map((month, index) => this.renderMonth(month, index + 6))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(9).map((month, index) => this.renderMonth(month, index + 9))))));
|
|
581
581
|
}
|
|
582
582
|
render() {
|
|
583
|
-
return (h(Host, { key: '
|
|
583
|
+
return (h(Host, { key: '5d4bac93668a03f1f710cf12875e535acc915702', onMouseOut: (ev) => {
|
|
584
584
|
// @ts-ignore
|
|
585
585
|
if (!this.el.parentElement.contains(ev.toElement))
|
|
586
586
|
this.outOfCal.emit();
|
|
587
|
-
}, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: '
|
|
587
|
+
}, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: 'af93d55656e7061a0c34798d5f7007b53fcb20d8', class: `popup ${this.view}-view` }, this.renderHeader(), this.view === "day" ? this.renderDayView() : this.renderMonthView()), h("div", { key: '2d61b428605d558b4cf167ecf17cfc1ef0ad3378', id: `application-${this.uid}`, class: "sr-only" }, this.calName, this.calInstructions), h("div", { key: 'd36f4bdc4b8be99294204e72dca76d339ec9652c', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "assertive", "aria-atomic": "true" }, this.announcement)));
|
|
588
588
|
}
|
|
589
589
|
static get is() { return "priv-calendar"; }
|
|
590
590
|
static get originalStyleUrls() {
|