@watermarkinsights/ripple 3.11.0 → 3.11.1-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/README.md +3 -3
- package/dist/cjs/{chartFunctions-847c1e8b.js → chartFunctions-44ae2eee.js} +420 -420
- package/dist/cjs/{functions-e80fc415.js → functions-1a67b971.js} +477 -1921
- package/dist/cjs/{global-8910723e.js → global-a0880797.js} +60 -60
- package/dist/cjs/{http-service-9e8c4dd5.js → http-service-494d81de.js} +49 -49
- package/dist/cjs/{index-df6a3611.js → index-acad7ab3.js} +1 -4
- package/dist/cjs/{interfaces-30a74c1f.js → interfaces-a3338581.js} +29 -29
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/priv-chart-popover.cjs.entry.js +87 -87
- package/dist/cjs/priv-datepicker.cjs.entry.js +658 -658
- package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
- package/dist/cjs/priv-navigator-item.cjs.entry.js +24 -24
- package/dist/cjs/ripple.cjs.js +4 -4
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +336 -336
- package/dist/cjs/wm-button.cjs.entry.js +230 -227
- package/dist/cjs/wm-chart-slice.cjs.entry.js +14 -14
- package/dist/cjs/wm-chart.cjs.entry.js +111 -111
- package/dist/cjs/wm-datepicker.cjs.entry.js +266 -266
- package/dist/cjs/wm-input.cjs.entry.js +135 -135
- package/dist/cjs/wm-modal-footer.cjs.entry.js +34 -34
- package/dist/cjs/wm-modal-header.cjs.entry.js +37 -37
- package/dist/cjs/wm-modal.cjs.entry.js +164 -164
- package/dist/cjs/wm-navigation_3.cjs.entry.js +228 -228
- package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
- package/dist/cjs/wm-network-uploader.cjs.entry.js +453 -453
- package/dist/cjs/wm-option_2.cjs.entry.js +485 -485
- package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +130 -130
- package/dist/cjs/wm-search.cjs.entry.js +233 -233
- package/dist/cjs/wm-snackbar.cjs.entry.js +171 -171
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +297 -297
- package/dist/cjs/wm-tag-input.cjs.entry.js +580 -580
- package/dist/cjs/wm-timepicker.cjs.entry.js +384 -384
- package/dist/cjs/wm-toggletip.cjs.entry.js +125 -125
- package/dist/cjs/wm-uploader.cjs.entry.js +608 -608
- package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +258 -258
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +115 -115
- package/dist/collection/components/charts/wm-chart/wm-chart.js +328 -328
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +195 -195
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +88 -88
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +111 -111
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +448 -448
- package/dist/collection/components/wm-button/wm-button.js +494 -491
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1024 -1024
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +471 -471
- package/dist/collection/components/wm-input/wm-input.js +423 -423
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
- package/dist/collection/components/wm-modal/wm-modal-footer.js +136 -136
- package/dist/collection/components/wm-modal/wm-modal-header.js +87 -87
- package/dist/collection/components/wm-modal/wm-modal.js +461 -461
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +162 -162
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +121 -121
- package/dist/collection/components/wm-navigation/wm-navigation.js +218 -218
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
- package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
- package/dist/collection/components/wm-option/wm-option.js +414 -414
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.js +480 -480
- package/dist/collection/components/wm-select/wm-select.js +718 -718
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +785 -785
- package/dist/collection/components/wm-uploader/wm-uploader.js +1051 -1051
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
- package/dist/collection/dev/scripts.js +20 -20
- package/dist/collection/global/__mocks__/functions.js +6 -6
- package/dist/collection/global/chartFunctions.js +421 -421
- package/dist/collection/global/functions.js +468 -468
- package/dist/collection/global/global.js +67 -67
- package/dist/collection/global/interfaces.js +49 -49
- package/dist/collection/global/services/__mocks__/http-service.js +130 -130
- package/dist/collection/global/services/http-service.js +50 -50
- package/dist/collection/lang/lang.js +5 -5
- package/dist/collection/lang/missing.js +43 -43
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{chartFunctions-60cabc24.js → chartFunctions-8fa800a6.js} +420 -420
- package/dist/esm/{functions-dde318c0.js → functions-61c7bb1f.js} +477 -1921
- package/dist/esm/{global-efcb3f02.js → global-41ad4ccb.js} +60 -60
- package/dist/esm/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +49 -49
- package/dist/esm/{index-17c79cc6.js → index-7603f98e.js} +1 -4
- package/dist/esm/{interfaces-61c6305b.js → interfaces-2b97fab2.js} +29 -29
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/priv-chart-popover.entry.js +87 -87
- package/dist/esm/priv-datepicker.entry.js +658 -658
- package/dist/esm/priv-navigator-button.entry.js +19 -19
- package/dist/esm/priv-navigator-item.entry.js +24 -24
- package/dist/esm/ripple.js +4 -4
- package/dist/esm/wm-action-menu_2.entry.js +336 -336
- package/dist/esm/wm-button.entry.js +230 -227
- package/dist/esm/wm-chart-slice.entry.js +14 -14
- package/dist/esm/wm-chart.entry.js +111 -111
- package/dist/esm/wm-datepicker.entry.js +266 -266
- package/dist/esm/wm-input.entry.js +135 -135
- package/dist/esm/wm-modal-footer.entry.js +34 -34
- package/dist/esm/wm-modal-header.entry.js +37 -37
- package/dist/esm/wm-modal.entry.js +164 -164
- package/dist/esm/wm-navigation_3.entry.js +228 -228
- package/dist/esm/wm-navigator.entry.js +269 -269
- package/dist/esm/wm-network-uploader.entry.js +453 -453
- package/dist/esm/wm-option_2.entry.js +485 -485
- package/dist/esm/wm-pagination.entry.js +168 -168
- package/dist/esm/wm-progress-indicator_3.entry.js +130 -130
- package/dist/esm/wm-search.entry.js +233 -233
- package/dist/esm/wm-snackbar.entry.js +171 -171
- package/dist/esm/wm-tab-item_3.entry.js +297 -297
- package/dist/esm/wm-tag-input.entry.js +580 -580
- package/dist/esm/wm-timepicker.entry.js +384 -384
- package/dist/esm/wm-toggletip.entry.js +125 -125
- package/dist/esm/wm-uploader.entry.js +608 -608
- package/dist/esm/wm-wrapper.entry.js +13 -13
- package/dist/esm-es5/{chartFunctions-60cabc24.js → chartFunctions-8fa800a6.js} +1 -1
- package/dist/esm-es5/functions-61c7bb1f.js +15 -0
- package/dist/esm-es5/global-41ad4ccb.js +1 -0
- package/dist/esm-es5/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +0 -0
- package/dist/esm-es5/{index-17c79cc6.js → index-7603f98e.js} +1 -1
- package/dist/esm-es5/{interfaces-61c6305b.js → interfaces-2b97fab2.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-datepicker.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
- package/dist/esm-es5/wm-modal-header.entry.js +1 -1
- package/dist/esm-es5/wm-modal.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-network-uploader.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-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/ripple/p-00fa3d4b.entry.js +1 -0
- package/dist/ripple/p-0f33461d.entry.js +1 -0
- package/dist/ripple/{p-c62df7fc.system.entry.js → p-1242752c.system.entry.js} +1 -1
- package/dist/ripple/p-15b1c11b.js +16 -0
- package/dist/ripple/p-1d7ea8f0.js +1 -0
- package/dist/ripple/{p-59678b70.system.entry.js → p-1df2adee.system.entry.js} +1 -1
- package/dist/ripple/{p-ad60e3ba.system.entry.js → p-212aac05.system.entry.js} +1 -1
- package/dist/ripple/{p-c1185f13.system.js → p-28bf6a2e.system.js} +1 -1
- package/dist/ripple/p-30745db6.entry.js +1 -0
- package/dist/ripple/p-358bde27.entry.js +1 -0
- package/dist/ripple/p-35cfcf9f.entry.js +1 -0
- package/dist/ripple/p-379b125b.entry.js +1 -0
- package/dist/ripple/p-38fa15f9.system.js +1 -0
- package/dist/ripple/{p-3d4bf3df.system.entry.js → p-398b2486.system.entry.js} +1 -1
- package/dist/ripple/{p-f17076c4.system.entry.js → p-3b3e847c.system.entry.js} +1 -1
- package/dist/ripple/{p-bc207b54.system.entry.js → p-3e6498ea.system.entry.js} +1 -1
- package/dist/ripple/{p-29425d92.system.entry.js → p-3f1d8211.system.entry.js} +1 -1
- package/dist/ripple/{p-8fab569a.system.entry.js → p-42aa51fe.system.entry.js} +1 -1
- package/dist/ripple/{p-888bec42.js → p-43f1298b.js} +0 -0
- package/dist/ripple/{p-bd9e6e7b.system.entry.js → p-44035b02.system.entry.js} +1 -1
- package/dist/ripple/{p-b0ba5460.system.entry.js → p-487f7419.system.entry.js} +1 -1
- package/dist/ripple/p-4d59fe86.entry.js +1 -0
- package/dist/ripple/p-520b0f54.entry.js +1 -0
- package/dist/ripple/{p-d1eff01f.system.entry.js → p-5471864e.system.entry.js} +1 -1
- package/dist/ripple/p-5e041c35.entry.js +1 -0
- package/dist/ripple/{p-72c1052f.system.js → p-5e39a793.system.js} +1 -1
- package/dist/ripple/{p-158f538a.system.entry.js → p-68155230.system.entry.js} +1 -1
- package/dist/ripple/{p-fb4d6afd.system.entry.js → p-72eb5064.system.entry.js} +1 -1
- package/dist/ripple/{p-0e605966.system.entry.js → p-73d66b0a.system.entry.js} +1 -1
- package/dist/ripple/{p-d934e3bb.system.entry.js → p-75ef731b.system.entry.js} +1 -1
- package/dist/ripple/p-76ca7498.system.js +15 -0
- package/dist/ripple/p-7fae0cc2.entry.js +1 -0
- package/dist/ripple/{p-7cb0b2a5.js → p-8aa9f811.js} +1 -1
- package/dist/ripple/p-8caae464.entry.js +1 -0
- package/dist/ripple/p-8d347cd5.entry.js +1 -0
- package/dist/ripple/{p-27253ed2.system.entry.js → p-90ed3268.system.entry.js} +1 -1
- package/dist/ripple/p-92226595.entry.js +1 -0
- package/dist/ripple/{p-313b6073.system.js → p-9d02957d.system.js} +0 -0
- package/dist/ripple/{p-d0369e2f.system.entry.js → p-9f12284b.system.entry.js} +1 -1
- package/dist/ripple/p-9fe64cec.entry.js +1 -0
- package/dist/ripple/{p-726b9452.system.js → p-a0c3ef16.system.js} +1 -1
- package/dist/ripple/p-a82d37d8.entry.js +1 -0
- package/dist/ripple/p-a9e0ce88.entry.js +1 -0
- package/dist/ripple/{p-c78f0984.system.entry.js → p-ac2485a6.system.entry.js} +1 -1
- package/dist/ripple/{p-db44eb6f.system.entry.js → p-ae6cfbca.system.entry.js} +1 -1
- package/dist/ripple/p-b3c71506.js +1 -0
- package/dist/ripple/p-ba168596.entry.js +1 -0
- package/dist/ripple/{p-6bfc949d.system.entry.js → p-c873b490.system.entry.js} +1 -1
- package/dist/ripple/{p-f2959770.system.entry.js → p-cbaa2b18.system.entry.js} +1 -1
- package/dist/ripple/p-cd4fda75.entry.js +1 -0
- package/dist/ripple/p-d3603def.entry.js +1 -0
- package/dist/ripple/{p-35f21755.system.entry.js → p-d3ed8b65.system.entry.js} +1 -1
- package/dist/ripple/{p-3b77a3f7.system.entry.js → p-d81a4e7c.system.entry.js} +1 -1
- package/dist/ripple/{p-fffdb4fb.system.entry.js → p-e180001c.system.entry.js} +1 -1
- package/dist/ripple/p-e49b9a96.entry.js +1 -0
- package/dist/ripple/p-e748e22b.entry.js +1 -0
- package/dist/ripple/p-e75e75e0.entry.js +1 -0
- package/dist/ripple/{p-25696dab.system.entry.js → p-eacd33cc.system.entry.js} +1 -1
- package/dist/ripple/p-ed657559.entry.js +1 -0
- package/dist/ripple/p-ed7169e8.entry.js +1 -0
- package/dist/ripple/{p-1eb5cb0d.system.entry.js → p-eee347b4.system.entry.js} +1 -1
- package/dist/ripple/p-f0656464.entry.js +1 -0
- package/dist/ripple/p-f12a510f.entry.js +1 -0
- package/dist/ripple/p-f36b74bf.entry.js +1 -0
- package/dist/ripple/{p-08b7ec08.system.js → p-f5df5903.system.js} +0 -0
- package/dist/ripple/{p-a6d6eae7.js → p-fd8070fb.js} +0 -0
- package/dist/ripple/{p-4f393ce8.system.entry.js → p-fdc4a599.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/priv-chart-popover/priv-chart-popover.d.ts +27 -27
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +11 -11
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +36 -36
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +27 -27
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +17 -17
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +10 -10
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +47 -47
- package/dist/types/components/wm-button/wm-button.d.ts +43 -43
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
- package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +41 -41
- package/dist/types/components/wm-input/wm-input.d.ts +46 -46
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +14 -14
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +11 -11
- package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +21 -21
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +13 -13
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -28
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
- package/dist/types/components/wm-option/wm-option.d.ts +32 -32
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
- package/dist/types/components/wm-search/wm-search.d.ts +86 -86
- package/dist/types/components/wm-select/wm-select.d.ts +66 -66
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
- package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +115 -115
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
- package/dist/types/components.d.ts +24 -24
- package/dist/types/global/__mocks__/functions.d.ts +6 -6
- package/dist/types/global/chartFunctions.d.ts +29 -29
- package/dist/types/global/functions.d.ts +42 -42
- package/dist/types/global/global.d.ts +1 -1
- package/dist/types/global/interfaces.d.ts +44 -44
- package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
- package/dist/types/global/services/http-service.d.ts +4 -4
- package/dist/types/lang/lang.d.ts +5 -5
- package/package.json +47 -47
- package/dist/esm-es5/functions-dde318c0.js +0 -1
- package/dist/esm-es5/global-efcb3f02.js +0 -1
- package/dist/ripple/p-008292f6.system.js +0 -1
- package/dist/ripple/p-05757c14.entry.js +0 -1
- package/dist/ripple/p-06618a34.entry.js +0 -1
- package/dist/ripple/p-068e874b.entry.js +0 -1
- package/dist/ripple/p-0f4a6a8f.entry.js +0 -1
- package/dist/ripple/p-199f825e.js +0 -1
- package/dist/ripple/p-1cee0339.entry.js +0 -1
- package/dist/ripple/p-262c75ff.entry.js +0 -1
- package/dist/ripple/p-321daa60.entry.js +0 -1
- package/dist/ripple/p-416944fd.entry.js +0 -1
- package/dist/ripple/p-425ef815.entry.js +0 -1
- package/dist/ripple/p-4296b0ba.entry.js +0 -1
- package/dist/ripple/p-43b09b72.entry.js +0 -1
- package/dist/ripple/p-57c94258.entry.js +0 -1
- package/dist/ripple/p-6220c94d.entry.js +0 -1
- package/dist/ripple/p-6dbc79be.entry.js +0 -1
- package/dist/ripple/p-789e0afa.entry.js +0 -1
- package/dist/ripple/p-962f51ff.entry.js +0 -1
- package/dist/ripple/p-98c9b376.entry.js +0 -1
- package/dist/ripple/p-9d069ec5.entry.js +0 -1
- package/dist/ripple/p-9ec9ba5b.entry.js +0 -1
- package/dist/ripple/p-aacdaa79.entry.js +0 -1
- package/dist/ripple/p-b0536ddb.entry.js +0 -1
- package/dist/ripple/p-b1928a70.js +0 -1
- package/dist/ripple/p-b9d5b407.entry.js +0 -1
- package/dist/ripple/p-c0ab18ce.entry.js +0 -1
- package/dist/ripple/p-c2abdcba.js +0 -1
- package/dist/ripple/p-d2996c45.entry.js +0 -1
- package/dist/ripple/p-d9b98c9d.entry.js +0 -1
- package/dist/ripple/p-dee93986.entry.js +0 -1
- package/dist/ripple/p-e4e70417.entry.js +0 -1
- package/dist/ripple/p-fa8569d2.system.js +0 -1
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { i as intl } from './functions-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7603f98e.js';
|
|
2
|
+
import { i as intl } from './functions-61c7bb1f.js';
|
|
3
3
|
|
|
4
4
|
const privChartPopoverCss = "priv-chart-popover{position:fixed;z-index:10;border-radius:0.1875rem;-webkit-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);-moz-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);background-color:#fff;font-size:0.875rem;text-align:left}priv-chart-popover.user-is-tabbing .button-text{background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 3px;background-position:0 1em;border-radius:0;line-height:normal}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.popover{width:10.5rem;padding:0.625rem 0.9375rem;-webkit-box-sizing:border-box;box-sizing:border-box}.popover h1.title{font-size:1em;font-weight:500;margin:0;padding-top:0;padding-left:0;padding-bottom:0.25rem}.popover .text{margin:0;margin-bottom:0.5rem}.popover .popover-button{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;display:inline-block;margin-left:1rem;padding-left:0;padding-right:0;height:auto;border:none;background:transparent;cursor:pointer;text-decoration:none;letter-spacing:0;text-transform:none;text-align:initial;font-size:0.875rem;font-weight:700;color:#575195;line-height:normal}.popover .popover-button .btn-icon{position:absolute;top:0.1875rem;left:-1rem}.popover .popover-button:focus{outline:none}.popover .popover-button::-moz-focus-inner{border:0;outline:none}.popover .popover-button:hover{text-decoration:none;background:none;color:#454077}.popover .popover-button:hover span{text-decoration:underline}";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.wmChartPopoverButtonTriggered = createEvent(this, "wmChartPopoverButtonTriggered", 7);
|
|
10
|
-
this.wmProgressIndicatorButtonTriggered = createEvent(this, "wmProgressIndicatorButtonTriggered", 7);
|
|
11
|
-
this.chartEl = this.el.parentElement.getRootNode().host;
|
|
12
|
-
this.open = false;
|
|
13
|
-
this.coords = {};
|
|
14
|
-
this.popoverWidth = 168;
|
|
15
|
-
this.popoverClicked = false;
|
|
16
|
-
}
|
|
17
|
-
get eventToEmit() {
|
|
18
|
-
return this.chartEl.nodeName === "WM-CHART"
|
|
19
|
-
? this.wmChartPopoverButtonTriggered
|
|
20
|
-
: this.wmProgressIndicatorButtonTriggered;
|
|
21
|
-
}
|
|
22
|
-
handleClickOnDocument() {
|
|
23
|
-
// because this listener is set document-wide, whenever something inside it is clicked
|
|
24
|
-
// the event target returned will always be the host (wm-chart)
|
|
25
|
-
// the element within wm-chart is determined by the other listener and saved as var popoverClicked for use here
|
|
26
|
-
// capture = false in @Listen ensures order of execution
|
|
27
|
-
this.open = this.popoverClicked;
|
|
28
|
-
this.popoverClicked = false;
|
|
29
|
-
}
|
|
30
|
-
handleClick(ev) {
|
|
31
|
-
let popoverBtnClicked = false;
|
|
32
|
-
if (this.btnEl) {
|
|
33
|
-
popoverBtnClicked = ev.target === this.btnEl || this.btnEl.contains(ev.target);
|
|
34
|
-
}
|
|
35
|
-
// if the click is on the popover (except the popover button),
|
|
36
|
-
// set popoverClicked to true. It will be used by the other listener above
|
|
37
|
-
this.popoverClicked = !popoverBtnClicked && (ev.target === this.el || this.el.contains(ev.target));
|
|
38
|
-
}
|
|
39
|
-
handleButtonClick() {
|
|
40
|
-
if (this.sliceRef) {
|
|
41
|
-
this.sliceRef.click();
|
|
42
|
-
this.eventToEmit.emit(this.sliceRef);
|
|
43
|
-
}
|
|
44
|
-
this.open = false;
|
|
45
|
-
}
|
|
46
|
-
renderLiveRegion() {
|
|
47
|
-
if (this.liveRegion) {
|
|
48
|
-
this.liveRegion.innerHTML = "";
|
|
49
|
-
const wrapper = document.createElement("div");
|
|
50
|
-
const titleEl = document.createElement("span");
|
|
51
|
-
titleEl.innerHTML = this.popoverTitle + " " || "";
|
|
52
|
-
wrapper.appendChild(titleEl);
|
|
53
|
-
const textEl = document.createElement("span");
|
|
54
|
-
textEl.innerHTML = this.popoverText + " " || "";
|
|
55
|
-
wrapper.appendChild(textEl);
|
|
56
|
-
if (this.buttonText) {
|
|
57
|
-
const buttonEl = document.createElement("span");
|
|
58
|
-
buttonEl.innerHTML =
|
|
59
|
-
this.buttonText +
|
|
60
|
-
" " +
|
|
61
|
-
intl.formatMessage({
|
|
62
|
-
id: "chart.infoButton",
|
|
63
|
-
defaultMessage: "Button. Click for more information.",
|
|
64
|
-
});
|
|
65
|
-
wrapper.appendChild(buttonEl);
|
|
66
|
-
}
|
|
67
|
-
this.liveRegion.appendChild(wrapper);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
positionPopover() {
|
|
71
|
-
this.el.style.top = this.coords.y + "px";
|
|
72
|
-
if (window.innerWidth - this.coords.x >= this.popoverWidth + 10) {
|
|
73
|
-
this.el.style.left = this.coords.x + "px"; // opens on the right
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
this.el.style.left = this.coords.x - this.popoverWidth + "px"; // opens on the left
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
render() {
|
|
80
|
-
return (h(Host, null, !!this.open ? (h("div", { "aria-hidden": "true", class: "popover" }, h("h1", { class: "title" }, this.popoverTitle), h("p", { class: "text" }, this.popoverText), this.buttonText ? (
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
h("button", { tabindex: "-1",
|
|
83
|
-
// @ts-ignore
|
|
84
|
-
focusable: "false", ref: (el) => (this.btnEl = el), 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", { ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
|
|
85
|
-
}
|
|
86
|
-
get el() { return getElement(this); }
|
|
87
|
-
static get watchers() { return {
|
|
88
|
-
"coords": ["positionPopover"]
|
|
89
|
-
}; }
|
|
90
|
-
};
|
|
6
|
+
let ChartPopover = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.wmChartPopoverButtonTriggered = createEvent(this, "wmChartPopoverButtonTriggered", 7);
|
|
10
|
+
this.wmProgressIndicatorButtonTriggered = createEvent(this, "wmProgressIndicatorButtonTriggered", 7);
|
|
11
|
+
this.chartEl = this.el.parentElement.getRootNode().host;
|
|
12
|
+
this.open = false;
|
|
13
|
+
this.coords = {};
|
|
14
|
+
this.popoverWidth = 168;
|
|
15
|
+
this.popoverClicked = false;
|
|
16
|
+
}
|
|
17
|
+
get eventToEmit() {
|
|
18
|
+
return this.chartEl.nodeName === "WM-CHART"
|
|
19
|
+
? this.wmChartPopoverButtonTriggered
|
|
20
|
+
: this.wmProgressIndicatorButtonTriggered;
|
|
21
|
+
}
|
|
22
|
+
handleClickOnDocument() {
|
|
23
|
+
// because this listener is set document-wide, whenever something inside it is clicked
|
|
24
|
+
// the event target returned will always be the host (wm-chart)
|
|
25
|
+
// the element within wm-chart is determined by the other listener and saved as var popoverClicked for use here
|
|
26
|
+
// capture = false in @Listen ensures order of execution
|
|
27
|
+
this.open = this.popoverClicked;
|
|
28
|
+
this.popoverClicked = false;
|
|
29
|
+
}
|
|
30
|
+
handleClick(ev) {
|
|
31
|
+
let popoverBtnClicked = false;
|
|
32
|
+
if (this.btnEl) {
|
|
33
|
+
popoverBtnClicked = ev.target === this.btnEl || this.btnEl.contains(ev.target);
|
|
34
|
+
}
|
|
35
|
+
// if the click is on the popover (except the popover button),
|
|
36
|
+
// set popoverClicked to true. It will be used by the other listener above
|
|
37
|
+
this.popoverClicked = !popoverBtnClicked && (ev.target === this.el || this.el.contains(ev.target));
|
|
38
|
+
}
|
|
39
|
+
handleButtonClick() {
|
|
40
|
+
if (this.sliceRef) {
|
|
41
|
+
this.sliceRef.click();
|
|
42
|
+
this.eventToEmit.emit(this.sliceRef);
|
|
43
|
+
}
|
|
44
|
+
this.open = false;
|
|
45
|
+
}
|
|
46
|
+
renderLiveRegion() {
|
|
47
|
+
if (this.liveRegion) {
|
|
48
|
+
this.liveRegion.innerHTML = "";
|
|
49
|
+
const wrapper = document.createElement("div");
|
|
50
|
+
const titleEl = document.createElement("span");
|
|
51
|
+
titleEl.innerHTML = this.popoverTitle + " " || "";
|
|
52
|
+
wrapper.appendChild(titleEl);
|
|
53
|
+
const textEl = document.createElement("span");
|
|
54
|
+
textEl.innerHTML = this.popoverText + " " || "";
|
|
55
|
+
wrapper.appendChild(textEl);
|
|
56
|
+
if (this.buttonText) {
|
|
57
|
+
const buttonEl = document.createElement("span");
|
|
58
|
+
buttonEl.innerHTML =
|
|
59
|
+
this.buttonText +
|
|
60
|
+
" " +
|
|
61
|
+
intl.formatMessage({
|
|
62
|
+
id: "chart.infoButton",
|
|
63
|
+
defaultMessage: "Button. Click for more information.",
|
|
64
|
+
});
|
|
65
|
+
wrapper.appendChild(buttonEl);
|
|
66
|
+
}
|
|
67
|
+
this.liveRegion.appendChild(wrapper);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
positionPopover() {
|
|
71
|
+
this.el.style.top = this.coords.y + "px";
|
|
72
|
+
if (window.innerWidth - this.coords.x >= this.popoverWidth + 10) {
|
|
73
|
+
this.el.style.left = this.coords.x + "px"; // opens on the right
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.el.style.left = this.coords.x - this.popoverWidth + "px"; // opens on the left
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
render() {
|
|
80
|
+
return (h(Host, null, !!this.open ? (h("div", { "aria-hidden": "true", class: "popover" }, h("h1", { class: "title" }, this.popoverTitle), h("p", { class: "text" }, this.popoverText), this.buttonText ? (
|
|
81
|
+
// @ts-ignore
|
|
82
|
+
h("button", { tabindex: "-1",
|
|
83
|
+
// @ts-ignore
|
|
84
|
+
focusable: "false", ref: (el) => (this.btnEl = el), 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", { ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
|
|
85
|
+
}
|
|
86
|
+
get el() { return getElement(this); }
|
|
87
|
+
static get watchers() { return {
|
|
88
|
+
"coords": ["positionPopover"]
|
|
89
|
+
}; }
|
|
90
|
+
};
|
|
91
91
|
ChartPopover.style = privChartPopoverCss;
|
|
92
92
|
|
|
93
93
|
export { ChartPopover as priv_chart_popover };
|