@watermarkinsights/ripple 5.16.0-alpha.10 → 5.16.0-alpha.12
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-1079ca72.js +92 -0
- package/dist/cjs/{chartFunctions-C8PCmGmn.js → chartFunctions-ce91b2c9.js} +3 -2
- package/dist/cjs/{functions-DfuY5Jtp.js → functions-ea3eae05.js} +95 -78
- package/dist/cjs/{index-DwhNqnaT.js → index-788526f5.js} +410 -777
- package/dist/cjs/{intl-Bl-0Yn5n.js → intl-ea56dd40.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/priv-calendar.cjs.entry.js +12 -6
- package/dist/cjs/priv-chart-popover.cjs.entry.js +8 -4
- package/dist/cjs/priv-navigator-button.cjs.entry.js +5 -2
- package/dist/cjs/priv-navigator-item.cjs.entry.js +5 -2
- package/dist/cjs/priv-option-list.cjs.entry.js +16 -10
- package/dist/cjs/ripple.cjs.js +7 -7
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +18 -9
- package/dist/cjs/wm-button.cjs.entry.js +16 -8
- package/dist/cjs/wm-chart-slice.cjs.entry.js +8 -1
- package/dist/cjs/wm-chart.cjs.entry.js +18 -14
- package/dist/cjs/wm-date-range.cjs.entry.js +14 -9
- package/dist/cjs/wm-datepicker.cjs.entry.js +11 -6
- package/dist/cjs/wm-file-list.cjs.entry.js +5 -2
- package/dist/cjs/wm-file.cjs.entry.js +15 -5
- package/dist/cjs/wm-flyout.cjs.entry.js +16 -5
- package/dist/cjs/wm-input.cjs.entry.js +17 -5
- package/dist/cjs/wm-line-chart.cjs.entry.js +28 -18
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +14 -8
- package/dist/cjs/wm-modal_3.cjs.entry.js +14 -7
- package/dist/cjs/wm-navigation_3.cjs.entry.js +18 -9
- package/dist/cjs/wm-navigator.cjs.entry.js +15 -17
- package/dist/cjs/wm-nested-select.cjs.entry.js +16 -11
- package/dist/cjs/wm-optgroup.cjs.entry.js +7 -3
- package/dist/cjs/wm-option_2.cjs.entry.js +17 -10
- package/dist/cjs/wm-pagination.cjs.entry.js +13 -10
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +27 -10
- package/dist/cjs/wm-search.cjs.entry.js +9 -25
- package/dist/cjs/wm-snackbar.cjs.entry.js +10 -8
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +16 -20
- package/dist/cjs/wm-tag-input.cjs.entry.js +25 -12
- package/dist/cjs/wm-tag-option.cjs.entry.js +8 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +12 -5
- package/dist/cjs/wm-timepicker.cjs.entry.js +14 -9
- package/dist/cjs/wm-toggletip.cjs.entry.js +12 -7
- package/dist/cjs/wm-uploader.cjs.entry.js +24 -11
- package/dist/cjs/wm-wrapper.cjs.entry.js +3 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +4 -8
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +12 -15
- package/dist/collection/components/charts/wm-chart/wm-chart.js +22 -45
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +33 -52
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +16 -23
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +6 -9
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +12 -15
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +12 -21
- package/dist/collection/components/datepickers/wm-date-range.js +19 -39
- package/dist/collection/components/datepickers/wm-datepicker.js +13 -27
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +16 -27
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +22 -46
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +5 -12
- package/dist/collection/components/selects/wm-option/wm-option.js +6 -15
- package/dist/collection/components/selects/wm-select/wm-select.js +19 -41
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +15 -24
- package/dist/collection/components/wm-button/wm-button.js +22 -43
- package/dist/collection/components/wm-file/wm-file.js +18 -29
- package/dist/collection/components/wm-file-list/wm-file-list.js +1 -3
- package/dist/collection/components/wm-flyout/wm-flyout.js +19 -31
- package/dist/collection/components/wm-input/wm-input.js +28 -55
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +4 -10
- package/dist/collection/components/wm-modal/wm-modal-footer.js +5 -15
- package/dist/collection/components/wm-modal/wm-modal-header.js +2 -6
- package/dist/collection/components/wm-modal/wm-modal.js +7 -13
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +5 -15
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +2 -6
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +7 -14
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +4 -5
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +8 -9
- package/dist/collection/components/wm-navigation/wm-navigation.js +2 -4
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +2 -6
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +3 -9
- package/dist/collection/components/wm-navigator/wm-navigator.js +15 -34
- package/dist/collection/components/wm-pagination/wm-pagination.js +11 -21
- package/dist/collection/components/wm-search/wm-search.js +10 -45
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +4 -7
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +6 -18
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +6 -9
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +2 -12
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +32 -50
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +10 -18
- package/dist/collection/components/wm-textarea/wm-textarea.js +16 -34
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +15 -27
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +11 -19
- package/dist/collection/components/wm-uploader/wm-uploader.js +28 -40
- package/dist/esm/app-globals-1087214a.js +90 -0
- package/dist/esm/{chartFunctions-BocRhQ0T.js → chartFunctions-ebe4f673.js} +4 -3
- package/dist/esm/{functions-B9BrPorY.js → functions-fbf8519f.js} +96 -79
- package/dist/esm/{index-C20glyTb.js → index-130e07bb.js} +406 -774
- package/dist/esm/{intl-D-bH9lQF.js → intl-30a9319d.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/priv-calendar.entry.js +10 -6
- package/dist/esm/priv-chart-popover.entry.js +6 -4
- package/dist/esm/priv-navigator-button.entry.js +3 -2
- package/dist/esm/priv-navigator-item.entry.js +3 -2
- package/dist/esm/priv-option-list.entry.js +14 -10
- package/dist/esm/ripple.js +5 -6
- package/dist/esm/wm-action-menu_2.entry.js +16 -9
- package/dist/esm/wm-button.entry.js +14 -8
- package/dist/esm/wm-chart-slice.entry.js +6 -1
- package/dist/esm/wm-chart.entry.js +16 -14
- package/dist/esm/wm-date-range.entry.js +12 -9
- package/dist/esm/wm-datepicker.entry.js +9 -6
- package/dist/esm/wm-file-list.entry.js +3 -2
- package/dist/esm/wm-file.entry.js +13 -5
- package/dist/esm/wm-flyout.entry.js +14 -5
- package/dist/esm/wm-input.entry.js +15 -5
- package/dist/esm/wm-line-chart.entry.js +26 -18
- package/dist/esm/wm-modal-pss_3.entry.js +12 -8
- package/dist/esm/wm-modal_3.entry.js +12 -7
- package/dist/esm/wm-navigation_3.entry.js +16 -9
- package/dist/esm/wm-navigator.entry.js +13 -17
- package/dist/esm/wm-nested-select.entry.js +14 -11
- package/dist/esm/wm-optgroup.entry.js +5 -3
- package/dist/esm/wm-option_2.entry.js +15 -10
- package/dist/esm/wm-pagination.entry.js +11 -10
- package/dist/esm/wm-progress-indicator_3.entry.js +25 -10
- package/dist/esm/wm-search.entry.js +7 -25
- package/dist/esm/wm-snackbar.entry.js +8 -8
- package/dist/esm/wm-tab-item_3.entry.js +14 -20
- package/dist/esm/wm-tag-input.entry.js +23 -12
- package/dist/esm/wm-tag-option.entry.js +6 -2
- package/dist/esm/wm-textarea.entry.js +10 -5
- package/dist/esm/wm-timepicker.entry.js +12 -9
- package/dist/esm/wm-toggletip.entry.js +10 -7
- package/dist/esm/wm-uploader.entry.js +22 -11
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-1087214a.js +1 -0
- package/dist/esm-es5/chartFunctions-ebe4f673.js +1 -0
- package/dist/esm-es5/functions-fbf8519f.js +1 -0
- package/dist/esm-es5/index-130e07bb.js +1 -0
- package/dist/esm-es5/{intl-D-bH9lQF.js → intl-30a9319d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-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/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/loader/package.json +11 -0
- package/dist/ripple/p-02951ad1.system.js +1 -0
- package/dist/ripple/{p-59f7cfd7.system.entry.js → p-03381d63.system.entry.js} +1 -1
- package/dist/ripple/{p-70cdc5ce.system.entry.js → p-043901ab.system.entry.js} +1 -1
- package/dist/ripple/{p-d11e4c6e.system.entry.js → p-086c2905.system.entry.js} +1 -1
- package/dist/ripple/{p-85afd9bf.system.entry.js → p-09f61d38.system.entry.js} +1 -1
- package/dist/ripple/p-0d3a26ff.entry.js +1 -0
- package/dist/ripple/{p-a1cd3c29.entry.js → p-12174831.entry.js} +1 -1
- package/dist/ripple/p-13b1d775.entry.js +1 -0
- package/dist/ripple/p-13ddc53d.entry.js +1 -0
- package/dist/ripple/p-17e93d1b.entry.js +1 -0
- package/dist/ripple/{p-4a50f797.system.entry.js → p-22d9b079.system.entry.js} +1 -1
- package/dist/ripple/{p-caef27f1.system.entry.js → p-2a85d4ce.system.entry.js} +1 -1
- package/dist/ripple/p-2be53f45.entry.js +1 -0
- package/dist/ripple/{p-81783193.system.entry.js → p-2e10a2dc.system.entry.js} +1 -1
- package/dist/ripple/{p-03e28e65.system.entry.js → p-31d35d2d.system.entry.js} +1 -1
- package/dist/ripple/{p-de4c51e2.system.entry.js → p-324aed64.system.entry.js} +1 -1
- package/dist/ripple/{p-1b8f9ff1.system.entry.js → p-34808b52.system.entry.js} +1 -1
- package/dist/ripple/{p-5a728ced.system.entry.js → p-42174be5.system.entry.js} +1 -1
- package/dist/ripple/p-4436c014.entry.js +1 -0
- package/dist/ripple/{p-d17bf683.system.entry.js → p-4af5ad94.system.entry.js} +1 -1
- package/dist/ripple/{p-3fa20b7a.entry.js → p-4df89f8f.entry.js} +1 -1
- package/dist/ripple/{p-b2604e2b.system.entry.js → p-4e97bf26.system.entry.js} +1 -1
- package/dist/ripple/p-4f13d03e.entry.js +1 -0
- package/dist/ripple/p-535165fc.system.js +1 -0
- package/dist/ripple/{p-d1ea5d4c.system.entry.js → p-5405f9d3.system.entry.js} +1 -1
- package/dist/ripple/p-55f979d4.system.js +1 -0
- package/dist/ripple/p-57bce206.system.js +1 -0
- package/dist/ripple/{p-734d06dc.system.entry.js → p-5a5d5833.system.entry.js} +1 -1
- package/dist/ripple/p-5b7d56aa.entry.js +1 -0
- package/dist/ripple/p-5c0db525.entry.js +1 -0
- package/dist/ripple/{p-27c1933e.system.entry.js → p-5f9d81df.system.entry.js} +1 -1
- package/dist/ripple/p-67109fb1.entry.js +1 -0
- package/dist/ripple/{p-cf3defe6.system.entry.js → p-6723e469.system.entry.js} +1 -1
- package/dist/ripple/{p-1a96dc5e.entry.js → p-6b4e1fe9.entry.js} +1 -1
- package/dist/ripple/{p-d3d5306c.system.entry.js → p-75ad7567.system.entry.js} +1 -1
- package/dist/ripple/{p-c164a1cb.entry.js → p-76aef56f.entry.js} +1 -1
- package/dist/ripple/{p-e63b30bd.system.entry.js → p-7b06e308.system.entry.js} +1 -1
- package/dist/ripple/{p-0a9f8d0d.entry.js → p-7c6e0168.entry.js} +1 -1
- package/dist/ripple/{p-e2e2929f.system.entry.js → p-80664bf3.system.entry.js} +1 -1
- package/dist/ripple/p-823d7b4e.system.entry.js +1 -0
- package/dist/ripple/{p-7ea000d6.system.entry.js → p-840ad3a3.system.entry.js} +1 -1
- package/dist/ripple/{p-fb4367a8.system.entry.js → p-86c752be.system.entry.js} +1 -1
- package/dist/ripple/p-8905ad76.entry.js +1 -0
- package/dist/ripple/{p-5827cae3.system.entry.js → p-8a64e2bd.system.entry.js} +1 -1
- package/dist/ripple/p-8c2f8f78.entry.js +1 -0
- package/dist/ripple/{p-757b04eb.entry.js → p-8c33cb29.entry.js} +1 -1
- package/dist/ripple/{p-82a66121.system.entry.js → p-8ee90e17.system.entry.js} +1 -1
- package/dist/ripple/p-904f4c90.entry.js +1 -0
- package/dist/ripple/{p-0616bd1c.entry.js → p-924ab54c.entry.js} +1 -1
- package/dist/ripple/p-94c6bde9.js +1 -0
- package/dist/ripple/p-9627b8a6.entry.js +1 -0
- package/dist/ripple/{p-DAuKYO5n.js → p-9c6bacb9.js} +1 -1
- package/dist/ripple/p-9f2b6c58.entry.js +1 -0
- package/dist/ripple/{p-ef56fc5a.system.entry.js → p-a424e0a7.system.entry.js} +1 -1
- package/dist/ripple/p-b8dd9e8c.entry.js +1 -0
- package/dist/ripple/{p-b593e93c.system.entry.js → p-b9d609fb.system.entry.js} +1 -1
- package/dist/ripple/{p-ebd318c6.entry.js → p-be3213fc.entry.js} +1 -1
- package/dist/ripple/{p-476e2913.entry.js → p-c242e70f.entry.js} +1 -1
- package/dist/ripple/{p-d293be99.system.entry.js → p-c4b48cd4.system.entry.js} +1 -1
- package/dist/ripple/p-c6ba7e07.entry.js +1 -0
- package/dist/ripple/{p-d61938ca.entry.js → p-c7a57fc7.entry.js} +1 -1
- package/dist/ripple/{p-b140b04d.system.entry.js → p-c8d2c849.system.entry.js} +1 -1
- package/dist/ripple/{p-5166de03.system.entry.js → p-c9e9ce61.system.entry.js} +1 -1
- package/dist/ripple/{p-5cc5b46b.entry.js → p-cd0cc88d.entry.js} +1 -1
- package/dist/ripple/p-cef8a45b.system.js +2 -0
- package/dist/ripple/p-d210db32.entry.js +1 -0
- package/dist/ripple/{p-f878d184.system.entry.js → p-d2b60968.system.entry.js} +1 -1
- package/dist/ripple/p-d45bcccf.js +1 -0
- package/dist/ripple/p-d9da0502.js +2 -0
- package/dist/ripple/p-dc7acef5.entry.js +1 -0
- package/dist/ripple/p-dd62178f.system.entry.js +1 -0
- package/dist/ripple/p-e0d21c51.entry.js +1 -0
- package/dist/ripple/{p-BVUnLeDz.system.js → p-e71b1146.system.js} +1 -1
- package/dist/ripple/p-e7d03cf5.js +1 -0
- package/dist/ripple/p-efe8c61e.entry.js +1 -0
- package/dist/ripple/p-f0eae6dc.entry.js +1 -0
- package/dist/ripple/p-f0f57f41.system.entry.js +1 -0
- package/dist/ripple/{p-dca6cfbd.entry.js → p-f3b31fae.entry.js} +1 -1
- package/dist/ripple/p-f46983da.entry.js +1 -0
- package/dist/ripple/{p-719b7087.system.entry.js → p-f9f9fbae.system.entry.js} +1 -1
- package/dist/ripple/{p-e6e4e23a.system.entry.js → p-fde1212a.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components.d.ts +0 -986
- package/dist/types/stencil-public-runtime.d.ts +2 -37
- package/package.json +2 -2
- package/dist/cjs/app-globals-C-IAhycr.js +0 -7
- package/dist/esm/app-globals-CrcR41XQ.js +0 -5
- package/dist/esm-es5/app-globals-CrcR41XQ.js +0 -1
- package/dist/esm-es5/chartFunctions-BocRhQ0T.js +0 -1
- package/dist/esm-es5/functions-B9BrPorY.js +0 -1
- package/dist/esm-es5/index-C20glyTb.js +0 -1
- package/dist/ripple/p-088a84b6.entry.js +0 -1
- package/dist/ripple/p-09116c34.entry.js +0 -1
- package/dist/ripple/p-21728198.entry.js +0 -1
- package/dist/ripple/p-25227bec.entry.js +0 -1
- package/dist/ripple/p-264fb4fc.entry.js +0 -1
- package/dist/ripple/p-27de107e.entry.js +0 -1
- package/dist/ripple/p-338835e6.entry.js +0 -1
- package/dist/ripple/p-3678e285.entry.js +0 -1
- package/dist/ripple/p-384f6dc8.entry.js +0 -1
- package/dist/ripple/p-5026b7e8.entry.js +0 -1
- package/dist/ripple/p-5c8e802a.system.entry.js +0 -1
- package/dist/ripple/p-6c66e270.entry.js +0 -1
- package/dist/ripple/p-6ffa9bfc.entry.js +0 -1
- package/dist/ripple/p-8eWf5O5Z.system.js +0 -1
- package/dist/ripple/p-90d11417.system.entry.js +0 -1
- package/dist/ripple/p-979cd9f4.entry.js +0 -1
- package/dist/ripple/p-B0uE_ID-.system.js +0 -2
- package/dist/ripple/p-B9BrPorY.js +0 -1
- package/dist/ripple/p-BOTV28v8.system.js +0 -1
- package/dist/ripple/p-Bboe1S7O.js +0 -1
- package/dist/ripple/p-C20glyTb.js +0 -2
- package/dist/ripple/p-CKTNcFzW.system.js +0 -1
- package/dist/ripple/p-D_issjBT.system.js +0 -1
- package/dist/ripple/p-a634e9f5.entry.js +0 -1
- package/dist/ripple/p-b0653ac3.entry.js +0 -1
- package/dist/ripple/p-b2433a3c.system.entry.js +0 -1
- package/dist/ripple/p-c344e3c0.entry.js +0 -1
- package/dist/ripple/p-d3bc9393.entry.js +0 -1
- package/dist/ripple/p-d5232e7d.entry.js +0 -1
- package/dist/ripple/p-dECFx5ly.js +0 -1
- package/dist/ripple/p-dc3e43aa.entry.js +0 -1
- package/dist/ripple/p-e9b67596.entry.js +0 -1
- package/dist/ripple/p-ee0e88ed.entry.js +0 -1
- package/dist/ripple/p-fc35bcf9.entry.js +0 -1
- package/dist/ripple/p-ffd7de48.entry.js +0 -1
- /package/dist/cjs/{interfaces-C7YbtGnk.js → interfaces-85d78ae9.js} +0 -0
- /package/dist/esm/{interfaces-COwzv5zO.js → interfaces-cc5b177f.js} +0 -0
- /package/dist/esm-es5/{interfaces-COwzv5zO.js → interfaces-cc5b177f.js} +0 -0
- /package/dist/ripple/{p-COwzv5zO.js → p-2732bddd.js} +0 -0
- /package/dist/ripple/{p-ClUp3GkF.system.js → p-42fa7a77.system.js} +0 -0
- /package/dist/ripple/{p-YWpyar7R.system.js → p-50ea2036.system.js} +0 -0
|
@@ -2,12 +2,6 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { intl, shouldOpenUp, toBool, handleDisabledAttribute, showTooltip, hideTooltip } from "../../global/functions";
|
|
3
3
|
export class Timepicker {
|
|
4
4
|
constructor() {
|
|
5
|
-
this.disabled = false;
|
|
6
|
-
this.value = "";
|
|
7
|
-
this.label = "";
|
|
8
|
-
this.labelPosition = "top";
|
|
9
|
-
this.requiredField = false;
|
|
10
|
-
this.isExpanded = false;
|
|
11
5
|
this.twelveHrValid = /^(0?[0-9]|1[0-2])\s*:?\s*([0-5][0-9])?\s?(a|p|am|pm)?$/i;
|
|
12
6
|
this.twentyFourHrValid = /^(0?[0-9]|1[0-9]|2[0-4])\s*:?\s*([0-5][0-9])?$/;
|
|
13
7
|
this.timeFormat = "hh:mm";
|
|
@@ -18,6 +12,14 @@ export class Timepicker {
|
|
|
18
12
|
defaultMessage: "Select time",
|
|
19
13
|
description: "Button text for screen readers.",
|
|
20
14
|
});
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
this.value = "";
|
|
17
|
+
this.errorMessage = undefined;
|
|
18
|
+
this.label = "";
|
|
19
|
+
this.labelPosition = "top";
|
|
20
|
+
this.requiredField = false;
|
|
21
|
+
this.preselected = undefined;
|
|
22
|
+
this.isExpanded = false;
|
|
21
23
|
}
|
|
22
24
|
get selectedOption() {
|
|
23
25
|
return this.optionsList.filter((option) => option.tabIndex === 0)[0];
|
|
@@ -304,7 +306,6 @@ export class Timepicker {
|
|
|
304
306
|
return {
|
|
305
307
|
"disabled": {
|
|
306
308
|
"type": "boolean",
|
|
307
|
-
"attribute": "disabled",
|
|
308
309
|
"mutable": false,
|
|
309
310
|
"complexType": {
|
|
310
311
|
"original": "boolean",
|
|
@@ -317,14 +318,12 @@ export class Timepicker {
|
|
|
317
318
|
"tags": [],
|
|
318
319
|
"text": ""
|
|
319
320
|
},
|
|
320
|
-
"
|
|
321
|
-
"setter": false,
|
|
321
|
+
"attribute": "disabled",
|
|
322
322
|
"reflect": false,
|
|
323
323
|
"defaultValue": "false"
|
|
324
324
|
},
|
|
325
325
|
"value": {
|
|
326
326
|
"type": "string",
|
|
327
|
-
"attribute": "value",
|
|
328
327
|
"mutable": true,
|
|
329
328
|
"complexType": {
|
|
330
329
|
"original": "string",
|
|
@@ -337,14 +336,12 @@ export class Timepicker {
|
|
|
337
336
|
"tags": [],
|
|
338
337
|
"text": ""
|
|
339
338
|
},
|
|
340
|
-
"
|
|
341
|
-
"setter": false,
|
|
339
|
+
"attribute": "value",
|
|
342
340
|
"reflect": false,
|
|
343
341
|
"defaultValue": "\"\""
|
|
344
342
|
},
|
|
345
343
|
"errorMessage": {
|
|
346
344
|
"type": "string",
|
|
347
|
-
"attribute": "error-message",
|
|
348
345
|
"mutable": false,
|
|
349
346
|
"complexType": {
|
|
350
347
|
"original": "string",
|
|
@@ -357,13 +354,11 @@ export class Timepicker {
|
|
|
357
354
|
"tags": [],
|
|
358
355
|
"text": ""
|
|
359
356
|
},
|
|
360
|
-
"
|
|
361
|
-
"setter": false,
|
|
357
|
+
"attribute": "error-message",
|
|
362
358
|
"reflect": false
|
|
363
359
|
},
|
|
364
360
|
"label": {
|
|
365
361
|
"type": "string",
|
|
366
|
-
"attribute": "label",
|
|
367
362
|
"mutable": false,
|
|
368
363
|
"complexType": {
|
|
369
364
|
"original": "string",
|
|
@@ -376,14 +371,12 @@ export class Timepicker {
|
|
|
376
371
|
"tags": [],
|
|
377
372
|
"text": ""
|
|
378
373
|
},
|
|
379
|
-
"
|
|
380
|
-
"setter": false,
|
|
374
|
+
"attribute": "label",
|
|
381
375
|
"reflect": false,
|
|
382
376
|
"defaultValue": "\"\""
|
|
383
377
|
},
|
|
384
378
|
"labelPosition": {
|
|
385
379
|
"type": "string",
|
|
386
|
-
"attribute": "label-position",
|
|
387
380
|
"mutable": false,
|
|
388
381
|
"complexType": {
|
|
389
382
|
"original": "\"top\" | \"left\" | \"none\"",
|
|
@@ -396,14 +389,12 @@ export class Timepicker {
|
|
|
396
389
|
"tags": [],
|
|
397
390
|
"text": ""
|
|
398
391
|
},
|
|
399
|
-
"
|
|
400
|
-
"setter": false,
|
|
392
|
+
"attribute": "label-position",
|
|
401
393
|
"reflect": false,
|
|
402
394
|
"defaultValue": "\"top\""
|
|
403
395
|
},
|
|
404
396
|
"requiredField": {
|
|
405
397
|
"type": "boolean",
|
|
406
|
-
"attribute": "required-field",
|
|
407
398
|
"mutable": false,
|
|
408
399
|
"complexType": {
|
|
409
400
|
"original": "boolean",
|
|
@@ -416,14 +407,12 @@ export class Timepicker {
|
|
|
416
407
|
"tags": [],
|
|
417
408
|
"text": ""
|
|
418
409
|
},
|
|
419
|
-
"
|
|
420
|
-
"setter": false,
|
|
410
|
+
"attribute": "required-field",
|
|
421
411
|
"reflect": false,
|
|
422
412
|
"defaultValue": "false"
|
|
423
413
|
},
|
|
424
414
|
"preselected": {
|
|
425
415
|
"type": "string",
|
|
426
|
-
"attribute": "preselected",
|
|
427
416
|
"mutable": false,
|
|
428
417
|
"complexType": {
|
|
429
418
|
"original": "string",
|
|
@@ -436,8 +425,7 @@ export class Timepicker {
|
|
|
436
425
|
"tags": [],
|
|
437
426
|
"text": ""
|
|
438
427
|
},
|
|
439
|
-
"
|
|
440
|
-
"setter": false,
|
|
428
|
+
"attribute": "preselected",
|
|
441
429
|
"reflect": false
|
|
442
430
|
}
|
|
443
431
|
};
|
|
@@ -2,10 +2,6 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
import { showTooltip, hideTooltip, shouldOpenUp, shouldOpenDown, shouldShiftLeft, shouldShiftRight, intl, debounce, findAllScrollableParents, getCumulativeScrollOffset, } from "../../global/functions";
|
|
3
3
|
export class Toggletip {
|
|
4
4
|
constructor() {
|
|
5
|
-
this.tooltipPosition = "bottom-right";
|
|
6
|
-
this.targetSize = "small";
|
|
7
|
-
this.toggletipType = "info";
|
|
8
|
-
this.isHidden = true; // initially toggletip is hidden so it can be measured and replaced before it is displayed. It is also hidden while the user is scrolling in browsers that don't fully implement the popover API (as of this day FF and Safari don't know about anchor())
|
|
9
5
|
this.scrollableParents = [];
|
|
10
6
|
this.tooltipInfoMessage = intl.formatMessage({
|
|
11
7
|
id: "toggletip.moreInformation",
|
|
@@ -24,6 +20,12 @@ export class Toggletip {
|
|
|
24
20
|
this.debouncedResize = debounce(() => {
|
|
25
21
|
this.scrollableParents = findAllScrollableParents(this.el);
|
|
26
22
|
}, 200);
|
|
23
|
+
this.label = undefined;
|
|
24
|
+
this.tooltip = undefined;
|
|
25
|
+
this.tooltipPosition = "bottom-right";
|
|
26
|
+
this.targetSize = "small";
|
|
27
|
+
this.toggletipType = "info";
|
|
28
|
+
this.isHidden = true;
|
|
27
29
|
}
|
|
28
30
|
get isOpen() {
|
|
29
31
|
return this.toggletipEl.matches(":popover-open");
|
|
@@ -240,7 +242,6 @@ export class Toggletip {
|
|
|
240
242
|
return {
|
|
241
243
|
"label": {
|
|
242
244
|
"type": "string",
|
|
243
|
-
"attribute": "label",
|
|
244
245
|
"mutable": false,
|
|
245
246
|
"complexType": {
|
|
246
247
|
"original": "string",
|
|
@@ -253,13 +254,11 @@ export class Toggletip {
|
|
|
253
254
|
"tags": [],
|
|
254
255
|
"text": ""
|
|
255
256
|
},
|
|
256
|
-
"
|
|
257
|
-
"setter": false,
|
|
257
|
+
"attribute": "label",
|
|
258
258
|
"reflect": false
|
|
259
259
|
},
|
|
260
260
|
"tooltip": {
|
|
261
261
|
"type": "string",
|
|
262
|
-
"attribute": "tooltip",
|
|
263
262
|
"mutable": false,
|
|
264
263
|
"complexType": {
|
|
265
264
|
"original": "string",
|
|
@@ -272,13 +271,11 @@ export class Toggletip {
|
|
|
272
271
|
"tags": [],
|
|
273
272
|
"text": ""
|
|
274
273
|
},
|
|
275
|
-
"
|
|
276
|
-
"setter": false,
|
|
274
|
+
"attribute": "tooltip",
|
|
277
275
|
"reflect": false
|
|
278
276
|
},
|
|
279
277
|
"tooltipPosition": {
|
|
280
278
|
"type": "string",
|
|
281
|
-
"attribute": "tooltip-position",
|
|
282
279
|
"mutable": false,
|
|
283
280
|
"complexType": {
|
|
284
281
|
"original": "TooltipPlacement",
|
|
@@ -297,14 +294,12 @@ export class Toggletip {
|
|
|
297
294
|
"tags": [],
|
|
298
295
|
"text": ""
|
|
299
296
|
},
|
|
300
|
-
"
|
|
301
|
-
"setter": false,
|
|
297
|
+
"attribute": "tooltip-position",
|
|
302
298
|
"reflect": false,
|
|
303
299
|
"defaultValue": "\"bottom-right\""
|
|
304
300
|
},
|
|
305
301
|
"targetSize": {
|
|
306
302
|
"type": "string",
|
|
307
|
-
"attribute": "target-size",
|
|
308
303
|
"mutable": false,
|
|
309
304
|
"complexType": {
|
|
310
305
|
"original": "\"small\" | \"large\"",
|
|
@@ -317,14 +312,12 @@ export class Toggletip {
|
|
|
317
312
|
"tags": [],
|
|
318
313
|
"text": ""
|
|
319
314
|
},
|
|
320
|
-
"
|
|
321
|
-
"setter": false,
|
|
315
|
+
"attribute": "target-size",
|
|
322
316
|
"reflect": false,
|
|
323
317
|
"defaultValue": "\"small\""
|
|
324
318
|
},
|
|
325
319
|
"toggletipType": {
|
|
326
320
|
"type": "string",
|
|
327
|
-
"attribute": "toggletip-type",
|
|
328
321
|
"mutable": false,
|
|
329
322
|
"complexType": {
|
|
330
323
|
"original": "\"info\" | \"ai\"",
|
|
@@ -337,8 +330,7 @@ export class Toggletip {
|
|
|
337
330
|
"tags": [],
|
|
338
331
|
"text": ""
|
|
339
332
|
},
|
|
340
|
-
"
|
|
341
|
-
"setter": false,
|
|
333
|
+
"attribute": "toggletip-type",
|
|
342
334
|
"reflect": false,
|
|
343
335
|
"defaultValue": "\"info\""
|
|
344
336
|
}
|
|
@@ -3,16 +3,23 @@ import { uploaderMessages } from "../../global/intl";
|
|
|
3
3
|
import { intl, hideTooltip, showTooltip } from "../../global/functions";
|
|
4
4
|
export class Uploader {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.batchCount = 0; // used to calculate the aggregate upload progress
|
|
7
|
+
this.prevUploadCount = 0; // comparison to determine whether or not to announce updated count
|
|
8
|
+
this.fileIdToDelete = "";
|
|
9
|
+
this.label = undefined;
|
|
6
10
|
this.uploaderType = "select";
|
|
7
11
|
this.dropArea = "component";
|
|
12
|
+
this.buttonText = undefined;
|
|
13
|
+
this.icon = undefined;
|
|
8
14
|
this.fileTypes = "pdf txt log xml doc docx xls xlsx ppt pptx gif jpg jpeg png csv";
|
|
15
|
+
this.maxSize = undefined;
|
|
16
|
+
this.maxFiles = undefined;
|
|
17
|
+
this.errorMessage = undefined;
|
|
18
|
+
this.requiredField = undefined;
|
|
9
19
|
this.showInfo = "time";
|
|
10
20
|
this.isTabbing = false;
|
|
11
|
-
this.notif = "";
|
|
21
|
+
this.notif = "";
|
|
12
22
|
this.isCondensed = false;
|
|
13
|
-
this.batchCount = 0; // used to calculate the aggregate upload progress
|
|
14
|
-
this.prevUploadCount = 0; // comparison to determine whether or not to announce updated count
|
|
15
|
-
this.fileIdToDelete = "";
|
|
16
23
|
}
|
|
17
24
|
get isDisabled() {
|
|
18
25
|
// disable if is the uploader is maxed out or if something is uploading
|
|
@@ -173,6 +180,7 @@ export class Uploader {
|
|
|
173
180
|
mutationRecord.oldValue &&
|
|
174
181
|
parseInt(mutationRecord.oldValue) < 100) {
|
|
175
182
|
// if final file progress completes
|
|
183
|
+
this.uploadButtonEl.value = "";
|
|
176
184
|
this.notif = uploaderMessages.finishedUploading;
|
|
177
185
|
this.announce(uploaderMessages.finishedUploading, this.assertiveLiveRegionEl);
|
|
178
186
|
clearInterval(this.srProgress);
|
|
@@ -214,6 +222,9 @@ export class Uploader {
|
|
|
214
222
|
this.announce(uploaderMessages.fileLimitReached, this.assertiveLiveRegionEl);
|
|
215
223
|
}
|
|
216
224
|
}
|
|
225
|
+
else {
|
|
226
|
+
this.uploadButtonEl.value = ""; // when making a new selection, always reset the value so onChange is triggered (even if the same file is selected)
|
|
227
|
+
}
|
|
217
228
|
}
|
|
218
229
|
handleUploadButtonChange() {
|
|
219
230
|
if (this.uploadButtonEl.files) {
|
|
@@ -222,7 +233,6 @@ export class Uploader {
|
|
|
222
233
|
this.batchCount = files.length;
|
|
223
234
|
this.wmUploaderFilesSelected.emit(files);
|
|
224
235
|
}
|
|
225
|
-
this.uploadButtonEl.value = ""; // reset to ensure that onChange is triggered when the same file is selected a second time
|
|
226
236
|
}
|
|
227
237
|
}
|
|
228
238
|
handleLabelMouseEnter(ev) {
|
|
@@ -299,9 +309,9 @@ export class Uploader {
|
|
|
299
309
|
return (h("div", { class: `drop-area -${this.dropArea}`, ref: (el) => (this.dropAreaEl = el), onDragEnter: (ev) => this.handleDragEnter(ev), onDragOver: (ev) => this.handleDragOver(ev), onDragLeave: (ev) => this.handleDragLeave(ev), onDrop: (ev) => this.handleDrop(ev) }, this.dropArea == "page" && (h("div", { ref: (el) => (this.dropOverlayEl = el), class: "drop-overlay", popover: "manual" }, h("span", { class: "upload-arrow" }), h("span", null, "Drop to Upload")))));
|
|
300
310
|
}
|
|
301
311
|
render() {
|
|
302
|
-
return (h(Host, { key: '
|
|
312
|
+
return (h(Host, { key: '5e31c446aa655b9f43fd0067791ff78d0598b7c3', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: 'b506e26760d3e6ea6f91936e9738837d6ff5019a', ref: (el) => (this.assertiveLiveRegionEl = el), class: "live-region sr-only", "aria-live": "assertive" // since it's directly linked to the action the user took, it should be read in priority. With polite, some messages get dismissed in favor of the page title
|
|
303
313
|
,
|
|
304
|
-
"aria-atomic": "true" }), h("div", { key: '
|
|
314
|
+
"aria-atomic": "true" }), h("div", { key: 'ce16fc6627ec05dc8b44d48b19f89f79276745ae', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
305
315
|
}
|
|
306
316
|
static get is() { return "wm-uploader"; }
|
|
307
317
|
static get encapsulation() { return "shadow"; }
|
|
@@ -320,7 +330,6 @@ export class Uploader {
|
|
|
320
330
|
return {
|
|
321
331
|
"label": {
|
|
322
332
|
"type": "string",
|
|
323
|
-
"attribute": "label",
|
|
324
333
|
"mutable": false,
|
|
325
334
|
"complexType": {
|
|
326
335
|
"original": "string",
|
|
@@ -333,13 +342,11 @@ export class Uploader {
|
|
|
333
342
|
"tags": [],
|
|
334
343
|
"text": ""
|
|
335
344
|
},
|
|
336
|
-
"
|
|
337
|
-
"setter": false,
|
|
345
|
+
"attribute": "label",
|
|
338
346
|
"reflect": false
|
|
339
347
|
},
|
|
340
348
|
"uploaderType": {
|
|
341
349
|
"type": "string",
|
|
342
|
-
"attribute": "uploader-type",
|
|
343
350
|
"mutable": false,
|
|
344
351
|
"complexType": {
|
|
345
352
|
"original": "\"select\" | \"drop\"",
|
|
@@ -352,14 +359,12 @@ export class Uploader {
|
|
|
352
359
|
"tags": [],
|
|
353
360
|
"text": ""
|
|
354
361
|
},
|
|
355
|
-
"
|
|
356
|
-
"setter": false,
|
|
362
|
+
"attribute": "uploader-type",
|
|
357
363
|
"reflect": false,
|
|
358
364
|
"defaultValue": "\"select\""
|
|
359
365
|
},
|
|
360
366
|
"dropArea": {
|
|
361
367
|
"type": "string",
|
|
362
|
-
"attribute": "drop-area",
|
|
363
368
|
"mutable": false,
|
|
364
369
|
"complexType": {
|
|
365
370
|
"original": "\"component\" | \"page\"",
|
|
@@ -372,14 +377,12 @@ export class Uploader {
|
|
|
372
377
|
"tags": [],
|
|
373
378
|
"text": ""
|
|
374
379
|
},
|
|
375
|
-
"
|
|
376
|
-
"setter": false,
|
|
380
|
+
"attribute": "drop-area",
|
|
377
381
|
"reflect": false,
|
|
378
382
|
"defaultValue": "\"component\""
|
|
379
383
|
},
|
|
380
384
|
"buttonText": {
|
|
381
385
|
"type": "string",
|
|
382
|
-
"attribute": "button-text",
|
|
383
386
|
"mutable": false,
|
|
384
387
|
"complexType": {
|
|
385
388
|
"original": "string",
|
|
@@ -392,13 +395,11 @@ export class Uploader {
|
|
|
392
395
|
"tags": [],
|
|
393
396
|
"text": ""
|
|
394
397
|
},
|
|
395
|
-
"
|
|
396
|
-
"setter": false,
|
|
398
|
+
"attribute": "button-text",
|
|
397
399
|
"reflect": false
|
|
398
400
|
},
|
|
399
401
|
"icon": {
|
|
400
402
|
"type": "string",
|
|
401
|
-
"attribute": "icon",
|
|
402
403
|
"mutable": false,
|
|
403
404
|
"complexType": {
|
|
404
405
|
"original": "string",
|
|
@@ -411,13 +412,11 @@ export class Uploader {
|
|
|
411
412
|
"tags": [],
|
|
412
413
|
"text": ""
|
|
413
414
|
},
|
|
414
|
-
"
|
|
415
|
-
"setter": false,
|
|
415
|
+
"attribute": "icon",
|
|
416
416
|
"reflect": false
|
|
417
417
|
},
|
|
418
418
|
"fileTypes": {
|
|
419
419
|
"type": "string",
|
|
420
|
-
"attribute": "file-types",
|
|
421
420
|
"mutable": false,
|
|
422
421
|
"complexType": {
|
|
423
422
|
"original": "string",
|
|
@@ -430,14 +429,12 @@ export class Uploader {
|
|
|
430
429
|
"tags": [],
|
|
431
430
|
"text": ""
|
|
432
431
|
},
|
|
433
|
-
"
|
|
434
|
-
"setter": false,
|
|
432
|
+
"attribute": "file-types",
|
|
435
433
|
"reflect": false,
|
|
436
434
|
"defaultValue": "\"pdf txt log xml doc docx xls xlsx ppt pptx gif jpg jpeg png csv\""
|
|
437
435
|
},
|
|
438
436
|
"maxSize": {
|
|
439
437
|
"type": "string",
|
|
440
|
-
"attribute": "max-size",
|
|
441
438
|
"mutable": false,
|
|
442
439
|
"complexType": {
|
|
443
440
|
"original": "string",
|
|
@@ -450,13 +447,11 @@ export class Uploader {
|
|
|
450
447
|
"tags": [],
|
|
451
448
|
"text": ""
|
|
452
449
|
},
|
|
453
|
-
"
|
|
454
|
-
"setter": false,
|
|
450
|
+
"attribute": "max-size",
|
|
455
451
|
"reflect": false
|
|
456
452
|
},
|
|
457
453
|
"maxFiles": {
|
|
458
454
|
"type": "number",
|
|
459
|
-
"attribute": "max-files",
|
|
460
455
|
"mutable": false,
|
|
461
456
|
"complexType": {
|
|
462
457
|
"original": "number",
|
|
@@ -469,13 +464,11 @@ export class Uploader {
|
|
|
469
464
|
"tags": [],
|
|
470
465
|
"text": ""
|
|
471
466
|
},
|
|
472
|
-
"
|
|
473
|
-
"setter": false,
|
|
467
|
+
"attribute": "max-files",
|
|
474
468
|
"reflect": false
|
|
475
469
|
},
|
|
476
470
|
"errorMessage": {
|
|
477
471
|
"type": "string",
|
|
478
|
-
"attribute": "error-message",
|
|
479
472
|
"mutable": false,
|
|
480
473
|
"complexType": {
|
|
481
474
|
"original": "string",
|
|
@@ -488,13 +481,11 @@ export class Uploader {
|
|
|
488
481
|
"tags": [],
|
|
489
482
|
"text": ""
|
|
490
483
|
},
|
|
491
|
-
"
|
|
492
|
-
"setter": false,
|
|
484
|
+
"attribute": "error-message",
|
|
493
485
|
"reflect": false
|
|
494
486
|
},
|
|
495
487
|
"requiredField": {
|
|
496
488
|
"type": "boolean",
|
|
497
|
-
"attribute": "required-field",
|
|
498
489
|
"mutable": false,
|
|
499
490
|
"complexType": {
|
|
500
491
|
"original": "boolean",
|
|
@@ -507,13 +498,11 @@ export class Uploader {
|
|
|
507
498
|
"tags": [],
|
|
508
499
|
"text": ""
|
|
509
500
|
},
|
|
510
|
-
"
|
|
511
|
-
"setter": false,
|
|
501
|
+
"attribute": "required-field",
|
|
512
502
|
"reflect": false
|
|
513
503
|
},
|
|
514
504
|
"showInfo": {
|
|
515
505
|
"type": "string",
|
|
516
|
-
"attribute": "show-info",
|
|
517
506
|
"mutable": false,
|
|
518
507
|
"complexType": {
|
|
519
508
|
"original": "\"size\" | \"time\" | \"none\"",
|
|
@@ -526,8 +515,7 @@ export class Uploader {
|
|
|
526
515
|
"tags": [],
|
|
527
516
|
"text": ""
|
|
528
517
|
},
|
|
529
|
-
"
|
|
530
|
-
"setter": false,
|
|
518
|
+
"attribute": "show-info",
|
|
531
519
|
"reflect": false,
|
|
532
520
|
"defaultValue": "\"time\""
|
|
533
521
|
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import './index-130e07bb.js';
|
|
2
|
+
|
|
3
|
+
const version = "5.16.0-alpha.12";
|
|
4
|
+
|
|
5
|
+
// PRINT RIPPLE VERSION IN CONSOLE
|
|
6
|
+
// test envs return 0 for plugin.length
|
|
7
|
+
// do not print version number there as it causes issues
|
|
8
|
+
if (window.navigator.plugins.length > 0) {
|
|
9
|
+
console.log("%cRipple component library %c%s", "color: #575195; font-weight: bold", "font-weight: bold", version);
|
|
10
|
+
}
|
|
11
|
+
// Dispatching events to track whether user is navigating with keyboard or mouse
|
|
12
|
+
// no longer necessary for keyboard focus indicators (thanks to :focus-visible)
|
|
13
|
+
// but still used in several components for other things (search for isTabbing)
|
|
14
|
+
function wmComponentKeys(ev) {
|
|
15
|
+
if (ev.key == "Tab") {
|
|
16
|
+
var event = new Event("wmUserIsTabbing");
|
|
17
|
+
window.dispatchEvent(event);
|
|
18
|
+
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
19
|
+
}
|
|
20
|
+
if (ev.key == "ArrowLeft" || ev.key == "ArrowUp" || ev.key == "ArrowRight" || ev.key == "ArrowDown") {
|
|
21
|
+
var event = new Event("wmUserIsKeying");
|
|
22
|
+
window.dispatchEvent(event);
|
|
23
|
+
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function wmComponentMouseDownOnce() {
|
|
27
|
+
var event = new Event("wmUserIsNotTabbing");
|
|
28
|
+
window.dispatchEvent(event);
|
|
29
|
+
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
30
|
+
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
31
|
+
}
|
|
32
|
+
window.addEventListener("keydown", wmComponentKeys);
|
|
33
|
+
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
34
|
+
// TOOLTIP
|
|
35
|
+
// Add a tooltip element
|
|
36
|
+
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
37
|
+
// Element is added withing a container to avoid performance impact
|
|
38
|
+
const tooltipContainer = document.createElement("div");
|
|
39
|
+
tooltipContainer.id = "wm-tooltip-container";
|
|
40
|
+
const tooltipEl = document.createElement("div");
|
|
41
|
+
tooltipEl.id = "wm-tooltip";
|
|
42
|
+
tooltipEl.classList.add("wm-tooltip");
|
|
43
|
+
tooltipEl.setAttribute("popover", "manual");
|
|
44
|
+
tooltipEl.setAttribute("aria-hidden", "true");
|
|
45
|
+
const tooltipStyles = document.createElement("style");
|
|
46
|
+
tooltipStyles.textContent = `
|
|
47
|
+
.wm-tooltip {
|
|
48
|
+
position: fixed;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
line-height: normal;
|
|
52
|
+
font-family: inherit;
|
|
53
|
+
font-size: 0.875rem;
|
|
54
|
+
text-transform: none;
|
|
55
|
+
font-weight: normal;
|
|
56
|
+
background: var(--wmcolor-tooltip-background);
|
|
57
|
+
color: var(--wmcolor-tooltip-text);
|
|
58
|
+
z-index: 999999;
|
|
59
|
+
max-width: var(--wmTooltipMaxWidth, 13.75rem);
|
|
60
|
+
margin-right: 1.5rem;
|
|
61
|
+
padding: 0.375rem;
|
|
62
|
+
transition-property: opacity;
|
|
63
|
+
transition-delay: 0s;
|
|
64
|
+
opacity: 0;
|
|
65
|
+
inset: unset;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
transform: translateZ(0);
|
|
69
|
+
will-change: transform;
|
|
70
|
+
transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));
|
|
71
|
+
border: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.wm-tooltip:popover-open {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.wm-tooltip.show {
|
|
79
|
+
transition-delay: 500ms;
|
|
80
|
+
opacity: 1;
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
83
|
+
document.head.appendChild(tooltipStyles);
|
|
84
|
+
tooltipContainer.appendChild(tooltipEl);
|
|
85
|
+
document.querySelector("body").appendChild(tooltipContainer);
|
|
86
|
+
const globalFn = () => { };
|
|
87
|
+
|
|
88
|
+
const globalScripts = globalFn;
|
|
89
|
+
|
|
90
|
+
export { globalScripts as g };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { i as intl,
|
|
1
|
+
import { h } from './index-130e07bb.js';
|
|
2
|
+
import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-fbf8519f.js';
|
|
3
3
|
|
|
4
4
|
const colors = {
|
|
5
5
|
salmon: "#ff5f4e",
|
|
6
6
|
cyan: "#19a1a9",
|
|
7
7
|
forest: "#088000",
|
|
8
|
+
sleet: "#7f97ad",
|
|
8
9
|
midnight: "#2e1b46",
|
|
9
10
|
lavender: "#8b86ca",
|
|
10
11
|
periwinkle: "#575195",
|
|
@@ -721,4 +722,4 @@ function renderHiddenValuesMessage() {
|
|
|
721
722
|
seeDetailsMessage));
|
|
722
723
|
}
|
|
723
724
|
|
|
724
|
-
export { allChartsDetails as a,
|
|
725
|
+
export { allChartsDetails as a, renderSimpleBar as b, renderStackedBar as c, renderDoughnut as d, renderInstructionsText as e, renderLegend as f, getDetails as g, handleChartKeydown as h, renderHiddenValuesMessage as i, exitChart as j, amountToPercent as k, renderCompletionMessage as l, renderLegendItem as m, abbrNumber as n, getInterval as o, removeSegmentInfoHighlight as r };
|