@watermarkinsights/ripple 5.13.1-0 → 5.13.1-alpha.1
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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/cjs/{app-globals-12979223.js → app-globals-BEHiDpgR.js} +2 -2
- package/dist/cjs/{chartFunctions-5a8c4095.js → chartFunctions-uCzSt0yo.js} +2 -3
- package/dist/cjs/{functions-0774d303.js → functions-CqAwq8Fq.js} +232 -185
- package/dist/cjs/{index-788526f5.js → index-Cig4P4gJ.js} +540 -345
- package/dist/cjs/{intl-4a204fe7.js → intl-BUs7ck9m.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/priv-calendar.cjs.entry.js +6 -12
- package/dist/cjs/priv-chart-popover.cjs.entry.js +4 -8
- package/dist/cjs/priv-navigator-button.cjs.entry.js +2 -5
- package/dist/cjs/priv-navigator-item.cjs.entry.js +2 -5
- package/dist/cjs/priv-option-list.cjs.entry.js +10 -16
- package/dist/cjs/ripple.cjs.js +7 -7
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +9 -18
- package/dist/cjs/wm-button.cjs.entry.js +8 -16
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -8
- package/dist/cjs/wm-chart.cjs.entry.js +14 -18
- package/dist/cjs/wm-date-range.cjs.entry.js +9 -14
- package/dist/cjs/wm-datepicker.cjs.entry.js +6 -11
- package/dist/cjs/wm-file-list.cjs.entry.js +2 -5
- package/dist/cjs/wm-file.cjs.entry.js +5 -15
- package/dist/cjs/wm-flyout.cjs.entry.js +5 -16
- package/dist/cjs/wm-input.cjs.entry.js +5 -17
- package/dist/cjs/wm-line-chart.cjs.entry.js +18 -28
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +8 -14
- package/dist/cjs/wm-modal_3.cjs.entry.js +7 -14
- package/dist/cjs/wm-navigation_3.cjs.entry.js +9 -18
- package/dist/cjs/wm-navigator.cjs.entry.js +17 -15
- package/dist/cjs/wm-nested-select.cjs.entry.js +11 -16
- package/dist/cjs/wm-optgroup.cjs.entry.js +3 -7
- package/dist/cjs/wm-option_2.cjs.entry.js +10 -17
- package/dist/cjs/wm-pagination.cjs.entry.js +10 -13
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +10 -27
- package/dist/cjs/wm-search.cjs.entry.js +25 -9
- package/dist/cjs/wm-snackbar.cjs.entry.js +8 -10
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +20 -16
- package/dist/cjs/wm-tag-input.cjs.entry.js +12 -25
- package/dist/cjs/wm-tag-option.cjs.entry.js +2 -8
- package/dist/cjs/wm-textarea.cjs.entry.js +5 -12
- package/dist/cjs/wm-timepicker.cjs.entry.js +9 -14
- package/dist/cjs/wm-toggletip.cjs.entry.js +6 -11
- package/dist/cjs/wm-uploader.cjs.entry.js +8 -18
- package/dist/cjs/wm-wrapper.cjs.entry.js +1 -3
- package/dist/collection/collection-manifest.json +2 -7
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +0 -122
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +8 -4
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +15 -12
- package/dist/collection/components/charts/wm-chart/wm-chart.css +0 -209
- package/dist/collection/components/charts/wm-chart/wm-chart.js +45 -22
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +0 -122
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +52 -33
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +0 -209
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +23 -16
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +0 -138
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +9 -6
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +15 -12
- package/dist/collection/components/datepickers/datepicker.css +0 -122
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +0 -122
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +21 -12
- package/dist/collection/components/datepickers/wm-date-range.js +39 -19
- package/dist/collection/components/datepickers/wm-datepicker.js +27 -13
- package/dist/collection/components/selects/priv-option-list/priv-option-list.css +0 -122
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +27 -16
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +0 -122
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +46 -22
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +0 -122
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +12 -5
- package/dist/collection/components/selects/wm-option/wm-option.css +0 -122
- package/dist/collection/components/selects/wm-option/wm-option.js +15 -6
- package/dist/collection/components/selects/wm-select/wm-select.css +0 -122
- package/dist/collection/components/selects/wm-select/wm-select.js +41 -19
- package/dist/collection/components/wm-action-menu/wm-action-menu.css +0 -122
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +24 -15
- package/dist/collection/components/wm-button/wm-button.css +0 -200
- package/dist/collection/components/wm-button/wm-button.js +43 -22
- package/dist/collection/components/wm-file/wm-file.css +0 -122
- package/dist/collection/components/wm-file/wm-file.js +29 -18
- package/dist/collection/components/wm-file-list/wm-file-list.css +0 -122
- package/dist/collection/components/wm-file-list/wm-file-list.js +3 -1
- package/dist/collection/components/wm-flyout/wm-flyout.css +0 -122
- package/dist/collection/components/wm-flyout/wm-flyout.js +31 -19
- package/dist/collection/components/wm-input/wm-input.css +0 -122
- package/dist/collection/components/wm-input/wm-input.js +55 -28
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -122
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +10 -4
- package/dist/collection/components/wm-modal/wm-modal-footer.css +0 -122
- package/dist/collection/components/wm-modal/wm-modal-footer.js +15 -5
- package/dist/collection/components/wm-modal/wm-modal-header.css +0 -122
- package/dist/collection/components/wm-modal/wm-modal-header.js +6 -2
- package/dist/collection/components/wm-modal/wm-modal.css +0 -122
- package/dist/collection/components/wm-modal/wm-modal.js +13 -7
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +0 -122
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +15 -5
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +0 -122
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +6 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +0 -122
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +14 -7
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +0 -122
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +5 -4
- package/dist/collection/components/wm-navigation/wm-navigation-item.css +0 -122
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +9 -8
- package/dist/collection/components/wm-navigation/wm-navigation.css +0 -122
- package/dist/collection/components/wm-navigation/wm-navigation.js +4 -2
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -122
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +6 -2
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +0 -122
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +9 -3
- package/dist/collection/components/wm-navigator/wm-navigator.css +0 -122
- package/dist/collection/components/wm-navigator/wm-navigator.js +34 -15
- package/dist/collection/components/wm-pagination/wm-pagination.css +0 -122
- package/dist/collection/components/wm-pagination/wm-pagination.js +21 -11
- package/dist/collection/components/wm-search/wm-search.css +0 -122
- package/dist/collection/components/wm-search/wm-search.js +45 -10
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -122
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +7 -4
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +0 -122
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +18 -6
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +0 -122
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +9 -6
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +0 -122
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +12 -2
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +0 -122
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +50 -32
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +18 -10
- package/dist/collection/components/wm-textarea/wm-textarea.css +0 -122
- package/dist/collection/components/wm-textarea/wm-textarea.js +34 -16
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +0 -122
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +27 -15
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +0 -122
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +15 -9
- package/dist/collection/components/wm-uploader/wm-uploader.css +0 -200
- package/dist/collection/components/wm-uploader/wm-uploader.js +37 -22
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +85 -0
- package/dist/components/p-BlQdbOh_.js +294 -0
- package/dist/components/p-BvE5BEYe.js +146 -0
- package/dist/components/p-BzGDMpdL.js +592 -0
- package/dist/{ripple/p-8303bd1e.entry.js → components/p-CLem5EoD.js} +42 -1
- package/dist/components/p-CWx2NF6K.js +231 -0
- package/dist/components/p-D9GMUh0-.js +231 -0
- package/dist/components/p-DCSxoWXP.js +421 -0
- package/dist/{ripple/p-e8f5c8cd.entry.js → components/p-DG_w4q3M.js} +196 -1
- package/dist/{esm/intl-e0444831.js → components/p-DStPjkvu.js} +1 -1
- package/dist/{esm/functions-682e95b4.js → components/p-DdlNyc6u.js} +233 -186
- package/dist/components/p-DvXS4oTB.js +49 -0
- package/dist/components/p-HPnDWE3g.js +1686 -0
- package/dist/{esm/chartFunctions-4095a787.js → components/p-K9lgwbAO.js} +3 -4
- package/dist/components/p-e_A35rK5.js +154 -0
- package/dist/components/priv-calendar.d.ts +11 -0
- package/dist/components/priv-calendar.js +6 -0
- package/dist/components/priv-chart-popover.d.ts +11 -0
- package/dist/components/priv-chart-popover.js +6 -0
- package/dist/components/priv-navigator-button.d.ts +11 -0
- package/dist/components/priv-navigator-button.js +6 -0
- package/dist/components/priv-navigator-item.d.ts +11 -0
- package/dist/components/priv-navigator-item.js +6 -0
- package/dist/components/priv-option-list.d.ts +11 -0
- package/dist/components/priv-option-list.js +6 -0
- package/dist/components/wm-action-menu.d.ts +11 -0
- package/dist/components/wm-action-menu.js +6 -0
- package/dist/components/wm-button.d.ts +11 -0
- package/dist/components/wm-button.js +6 -0
- package/dist/components/wm-chart-slice.d.ts +11 -0
- package/dist/components/wm-chart-slice.js +41 -0
- package/dist/components/wm-chart.d.ts +11 -0
- package/dist/components/wm-chart.js +197 -0
- package/dist/components/wm-date-range.d.ts +11 -0
- package/dist/components/wm-date-range.js +522 -0
- package/dist/components/wm-datepicker.d.ts +11 -0
- package/dist/components/wm-datepicker.js +287 -0
- package/dist/components/wm-file-list.d.ts +11 -0
- package/dist/components/wm-file-list.js +38 -0
- package/dist/components/wm-file.d.ts +11 -0
- package/dist/components/wm-file.js +228 -0
- package/dist/components/wm-flyout.d.ts +11 -0
- package/dist/components/wm-flyout.js +208 -0
- package/dist/components/wm-input.d.ts +11 -0
- package/dist/components/wm-input.js +152 -0
- package/dist/components/wm-line-chart.d.ts +11 -0
- package/dist/components/wm-line-chart.js +497 -0
- package/dist/components/wm-menuitem.d.ts +11 -0
- package/dist/components/wm-menuitem.js +6 -0
- package/dist/components/wm-modal-footer.d.ts +11 -0
- package/dist/components/wm-modal-footer.js +73 -0
- package/dist/components/wm-modal-header.d.ts +11 -0
- package/dist/components/wm-modal-header.js +61 -0
- package/dist/components/wm-modal-pss-footer.d.ts +11 -0
- package/dist/components/wm-modal-pss-footer.js +69 -0
- package/dist/components/wm-modal-pss-header.d.ts +11 -0
- package/dist/components/wm-modal-pss-header.js +64 -0
- package/dist/components/wm-modal-pss.d.ts +11 -0
- package/dist/components/wm-modal-pss.js +162 -0
- package/dist/components/wm-modal.d.ts +11 -0
- package/dist/components/wm-modal.js +161 -0
- package/dist/components/wm-navigation-hamburger.d.ts +11 -0
- package/dist/components/wm-navigation-hamburger.js +70 -0
- package/dist/components/wm-navigation-item.d.ts +11 -0
- package/dist/components/wm-navigation-item.js +40 -0
- package/dist/components/wm-navigation.d.ts +11 -0
- package/dist/components/wm-navigation.js +144 -0
- package/dist/components/wm-navigator.d.ts +11 -0
- package/dist/components/wm-navigator.js +369 -0
- package/dist/components/wm-nested-select.d.ts +11 -0
- package/dist/components/wm-nested-select.js +343 -0
- package/dist/components/wm-optgroup.d.ts +11 -0
- package/dist/components/wm-optgroup.js +107 -0
- package/dist/components/wm-option.d.ts +11 -0
- package/dist/components/wm-option.js +6 -0
- package/dist/components/wm-pagination.d.ts +11 -0
- package/dist/components/wm-pagination.js +251 -0
- package/dist/components/wm-progress-indicator.d.ts +11 -0
- package/dist/components/wm-progress-indicator.js +144 -0
- package/dist/components/wm-progress-monitor.d.ts +11 -0
- package/dist/{ripple/p-afa213ca.entry.js → components/wm-progress-monitor.js} +93 -1
- package/dist/components/wm-progress-slice.d.ts +11 -0
- package/dist/components/wm-progress-slice.js +37 -0
- package/dist/components/wm-search.d.ts +11 -0
- package/dist/components/wm-search.js +250 -0
- package/dist/components/wm-select.d.ts +11 -0
- package/dist/components/wm-select.js +6 -0
- package/dist/components/wm-snackbar.d.ts +11 -0
- package/dist/components/wm-snackbar.js +209 -0
- package/dist/components/wm-tab-item.d.ts +11 -0
- package/dist/components/wm-tab-item.js +85 -0
- package/dist/components/wm-tab-list.d.ts +11 -0
- package/dist/components/wm-tab-list.js +217 -0
- package/dist/components/wm-tab-panel.d.ts +11 -0
- package/dist/components/wm-tab-panel.js +52 -0
- package/dist/components/wm-tag-input.d.ts +11 -0
- package/dist/components/wm-tag-input.js +919 -0
- package/dist/components/wm-tag-option.d.ts +11 -0
- package/dist/components/wm-tag-option.js +63 -0
- package/dist/components/wm-textarea.d.ts +11 -0
- package/dist/components/wm-textarea.js +113 -0
- package/dist/components/wm-timepicker.d.ts +11 -0
- package/dist/components/wm-timepicker.js +333 -0
- package/dist/components/wm-toggletip.d.ts +11 -0
- package/dist/{ripple/p-b1e4f8d0.entry.js → components/wm-toggletip.js} +200 -1
- package/dist/components/wm-uploader.d.ts +11 -0
- package/dist/components/wm-uploader.js +348 -0
- package/dist/components/wm-wrapper.d.ts +11 -0
- package/dist/components/wm-wrapper.js +34 -0
- package/dist/esm/{app-globals-8110c96f.js → app-globals-CAbvPlgr.js} +2 -2
- package/dist/esm/chartFunctions-Cmh1Ji0o.js +724 -0
- package/dist/esm/functions-C2kwukaR.js +10485 -0
- package/dist/esm/{index-130e07bb.js → index-EopL5zo4.js} +539 -324
- package/dist/esm/interfaces-COwzv5zO.js +34 -0
- package/dist/esm/intl-DeM2tf6d.js +277 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/priv-calendar.entry.js +6 -10
- package/dist/esm/priv-chart-popover.entry.js +4 -6
- package/dist/esm/priv-navigator-button.entry.js +2 -3
- package/dist/esm/priv-navigator-item.entry.js +2 -3
- package/dist/esm/priv-option-list.entry.js +10 -14
- package/dist/esm/ripple.js +6 -5
- package/dist/esm/wm-action-menu_2.entry.js +9 -16
- package/dist/esm/wm-button.entry.js +8 -14
- package/dist/esm/wm-chart-slice.entry.js +1 -6
- package/dist/esm/wm-chart.entry.js +14 -16
- package/dist/esm/wm-date-range.entry.js +9 -12
- package/dist/esm/wm-datepicker.entry.js +6 -9
- package/dist/esm/wm-file-list.entry.js +2 -3
- package/dist/esm/wm-file.entry.js +5 -13
- package/dist/esm/wm-flyout.entry.js +5 -14
- package/dist/esm/wm-input.entry.js +5 -15
- package/dist/esm/wm-line-chart.entry.js +18 -26
- package/dist/esm/wm-modal-pss_3.entry.js +8 -12
- package/dist/esm/wm-modal_3.entry.js +7 -12
- package/dist/esm/wm-navigation_3.entry.js +9 -16
- package/dist/esm/wm-navigator.entry.js +17 -13
- package/dist/esm/wm-nested-select.entry.js +11 -14
- package/dist/esm/wm-optgroup.entry.js +3 -5
- package/dist/esm/wm-option_2.entry.js +10 -15
- package/dist/esm/wm-pagination.entry.js +10 -11
- package/dist/esm/wm-progress-indicator_3.entry.js +10 -25
- package/dist/esm/wm-search.entry.js +25 -7
- package/dist/esm/wm-snackbar.entry.js +8 -8
- package/dist/esm/wm-tab-item_3.entry.js +20 -14
- package/dist/esm/wm-tag-input.entry.js +12 -23
- package/dist/esm/wm-tag-option.entry.js +2 -6
- package/dist/esm/wm-textarea.entry.js +5 -10
- package/dist/esm/wm-timepicker.entry.js +9 -12
- package/dist/esm/wm-toggletip.entry.js +6 -9
- package/dist/esm/wm-uploader.entry.js +8 -16
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-CAbvPlgr.js +1 -0
- package/dist/esm-es5/chartFunctions-Cmh1Ji0o.js +1 -0
- package/dist/esm-es5/functions-C2kwukaR.js +1 -0
- package/dist/esm-es5/index-EopL5zo4.js +1 -0
- package/dist/esm-es5/{intl-e0444831.js → intl-DeM2tf6d.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/ripple/p-090ee1d9.entry.js +1 -0
- package/dist/ripple/p-25e1a9f9.entry.js +1 -0
- package/dist/ripple/{p-9d8c5fb4.system.entry.js → p-27ecd83a.system.entry.js} +1 -1
- package/dist/ripple/{p-72b88618.system.entry.js → p-2f1ffab1.system.entry.js} +1 -1
- package/dist/ripple/{p-e9c4ed97.entry.js → p-3042aae4.entry.js} +1 -1
- package/dist/ripple/p-30fb07a2.entry.js +1 -0
- package/dist/ripple/{p-199fd014.system.entry.js → p-31b8fe9c.system.entry.js} +1 -1
- package/dist/ripple/p-338b089a.entry.js +1 -0
- package/dist/ripple/p-340b73a9.system.entry.js +1 -0
- package/dist/ripple/p-3611aa0e.entry.js +1 -0
- package/dist/ripple/{p-c3ab1c4b.system.entry.js → p-384d9208.system.entry.js} +1 -1
- package/dist/ripple/{p-b73936b2.system.entry.js → p-3b0aaa5d.system.entry.js} +1 -1
- package/dist/ripple/p-3b828dcd.entry.js +1 -0
- package/dist/ripple/{p-ec4c1020.system.entry.js → p-3bee6a44.system.entry.js} +1 -1
- package/dist/ripple/p-3c54de9c.entry.js +1 -0
- package/dist/ripple/{p-ac241e42.system.entry.js → p-3e5a7fee.system.entry.js} +1 -1
- package/dist/ripple/{p-b4a9a118.entry.js → p-4862126f.entry.js} +1 -1
- package/dist/ripple/{p-cd0cc88d.entry.js → p-492a8a9f.entry.js} +1 -1
- package/dist/ripple/{p-11aef4e8.entry.js → p-49c9063a.entry.js} +1 -1
- package/dist/ripple/p-52e54dca.entry.js +1 -0
- package/dist/ripple/p-54aeadde.entry.js +1 -0
- package/dist/ripple/{p-015af452.system.entry.js → p-61c089e4.system.entry.js} +1 -1
- package/dist/ripple/{p-91a8e524.system.entry.js → p-63bb5240.system.entry.js} +1 -1
- package/dist/ripple/{p-7360ce37.entry.js → p-64e6e3b7.entry.js} +1 -1
- package/dist/ripple/{p-14b3b062.system.entry.js → p-6785cd06.system.entry.js} +1 -1
- package/dist/ripple/p-6838c144.entry.js +1 -0
- package/dist/ripple/{p-e7ee2171.system.entry.js → p-68705f8f.system.entry.js} +1 -1
- package/dist/ripple/{p-932922ed.system.entry.js → p-69d1e480.system.entry.js} +1 -1
- package/dist/ripple/{p-d8f0c9b4.system.entry.js → p-6f8eecda.system.entry.js} +1 -1
- package/dist/ripple/{p-f2c40a23.system.entry.js → p-74243614.system.entry.js} +1 -1
- package/dist/ripple/p-774c49cd.entry.js +1 -0
- package/dist/ripple/p-782951b7.system.entry.js +1 -0
- package/dist/ripple/p-7aa9c503.entry.js +1 -0
- package/dist/ripple/{p-5a564d92.system.entry.js → p-84a4735d.system.entry.js} +1 -1
- package/dist/ripple/p-85bdcfc2.entry.js +1 -0
- package/dist/ripple/{p-cf77cdd0.system.entry.js → p-86815489.system.entry.js} +1 -1
- package/dist/ripple/{p-1d43bc57.system.entry.js → p-8d09ca95.system.entry.js} +1 -1
- package/dist/ripple/p-9111db61.entry.js +1 -0
- package/dist/ripple/{p-feaa4c19.entry.js → p-957e8a70.entry.js} +1 -1
- package/dist/ripple/p-9583f20a.entry.js +1 -0
- package/dist/ripple/{p-cd5c59ef.system.entry.js → p-99d53b0e.system.entry.js} +1 -1
- package/dist/ripple/{p-55f880af.entry.js → p-9a0216ba.entry.js} +1 -1
- package/dist/ripple/{p-7c9bf5f6.system.entry.js → p-9a72e53c.system.entry.js} +1 -1
- package/dist/ripple/{p-371c36f5.entry.js → p-9e10d3eb.entry.js} +1 -1
- package/dist/ripple/p-C2kwukaR.js +1 -0
- package/dist/ripple/p-CG434V5a.system.js +1 -0
- package/dist/ripple/p-CPBFbOkl.js +1 -0
- package/dist/ripple/p-CTau6pR2.system.js +2 -0
- package/dist/ripple/{p-7a08da5c.system.js → p-ClenAAhT.system.js} +1 -1
- package/dist/ripple/p-CxDIDZPI.js +1 -0
- package/dist/ripple/{p-187c694f.js → p-D7x793ET.js} +1 -1
- package/dist/ripple/p-DB8VIjQe.system.js +1 -0
- package/dist/ripple/p-DwoNKeBh.system.js +1 -0
- package/dist/ripple/p-EopL5zo4.js +2 -0
- package/dist/ripple/p-a121c779.entry.js +1 -0
- package/dist/ripple/p-a3c4aa31.entry.js +1 -0
- package/dist/ripple/p-a46a28c9.entry.js +1 -0
- package/dist/ripple/p-a6890863.entry.js +1 -0
- package/dist/ripple/{p-bbb37d6e.entry.js → p-a7f2af01.entry.js} +1 -1
- package/dist/ripple/{p-7a6f535f.system.entry.js → p-a95f9245.system.entry.js} +1 -1
- package/dist/ripple/{p-6439b435.system.entry.js → p-ae58e2d1.system.entry.js} +1 -1
- package/dist/ripple/p-b077fe55.system.entry.js +1 -0
- package/dist/ripple/{p-61f8a6d4.system.entry.js → p-b0a47a43.system.entry.js} +1 -1
- package/dist/ripple/{p-dbd8a6c4.system.entry.js → p-ba6080a6.system.entry.js} +1 -1
- package/dist/ripple/p-c0440211.entry.js +1 -0
- package/dist/ripple/{p-704bacb9.system.entry.js → p-c78fa8d0.system.entry.js} +1 -1
- package/dist/ripple/{p-e12e6b00.system.entry.js → p-cd81d7de.system.entry.js} +1 -1
- package/dist/ripple/p-d77338ae.entry.js +1 -0
- package/dist/ripple/{p-849384be.system.entry.js → p-d92218e6.system.entry.js} +1 -1
- package/dist/ripple/{p-043901ab.system.entry.js → p-da5ad94c.system.entry.js} +1 -1
- package/dist/ripple/{p-5642cfb5.system.entry.js → p-dc7feffa.system.entry.js} +1 -1
- package/dist/ripple/p-e3fb63fd.entry.js +1 -0
- package/dist/ripple/p-e3fc3c6b.entry.js +1 -0
- package/dist/ripple/{p-18d6408f.system.entry.js → p-e77d4c21.system.entry.js} +1 -1
- package/dist/ripple/{p-31da9108.system.entry.js → p-ea7a4ac1.system.entry.js} +1 -1
- package/dist/ripple/p-ec611502.entry.js +1 -0
- package/dist/ripple/{p-d1950a60.entry.js → p-edc1b7cb.entry.js} +1 -1
- package/dist/ripple/{p-f65448ac.entry.js → p-ee8d7025.entry.js} +1 -1
- package/dist/ripple/{p-d4ac08de.system.entry.js → p-fce91d27.system.entry.js} +1 -1
- package/dist/ripple/{p-927df284.system.entry.js → p-fe31bd98.system.entry.js} +1 -1
- package/dist/ripple/p-wFWSStJ9.system.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +28 -0
- package/package.json +32 -12
- package/dist/esm-es5/app-globals-8110c96f.js +0 -1
- package/dist/esm-es5/chartFunctions-4095a787.js +0 -1
- package/dist/esm-es5/functions-682e95b4.js +0 -1
- package/dist/esm-es5/index-130e07bb.js +0 -1
- package/dist/loader/package.json +0 -11
- package/dist/ripple/p-00baa278.entry.js +0 -1
- package/dist/ripple/p-039a53d7.entry.js +0 -1
- package/dist/ripple/p-0528bf4d.entry.js +0 -1
- package/dist/ripple/p-0d4c017e.system.entry.js +0 -1
- package/dist/ripple/p-13b1d775.entry.js +0 -1
- package/dist/ripple/p-15712a55.entry.js +0 -1
- package/dist/ripple/p-29d32ee5.system.js +0 -1
- package/dist/ripple/p-37301ba0.system.js +0 -1
- package/dist/ripple/p-43a28379.entry.js +0 -1
- package/dist/ripple/p-44577815.entry.js +0 -1
- package/dist/ripple/p-45f831ef.entry.js +0 -1
- package/dist/ripple/p-5f09e972.entry.js +0 -1
- package/dist/ripple/p-6747a274.system.js +0 -1
- package/dist/ripple/p-733c7bd5.system.js +0 -1
- package/dist/ripple/p-8194ee04.entry.js +0 -1
- package/dist/ripple/p-823d7b4e.system.entry.js +0 -1
- package/dist/ripple/p-8cd5206a.entry.js +0 -1
- package/dist/ripple/p-8dde12bd.entry.js +0 -1
- package/dist/ripple/p-95d5618f.js +0 -1
- package/dist/ripple/p-9859635f.entry.js +0 -1
- package/dist/ripple/p-9e7e5948.system.entry.js +0 -1
- package/dist/ripple/p-a02cdb4f.js +0 -1
- package/dist/ripple/p-a399fb79.entry.js +0 -1
- package/dist/ripple/p-a4c26c21.entry.js +0 -1
- package/dist/ripple/p-a685a5fa.entry.js +0 -1
- package/dist/ripple/p-a70f8d7a.entry.js +0 -1
- package/dist/ripple/p-bb00a18f.js +0 -1
- package/dist/ripple/p-cef8a45b.system.js +0 -2
- package/dist/ripple/p-d9da0502.js +0 -2
- package/dist/ripple/p-dc600a24.entry.js +0 -1
- package/dist/ripple/p-dc82b6d2.entry.js +0 -1
- package/dist/ripple/p-ee01e771.entry.js +0 -1
- /package/dist/cjs/{interfaces-85d78ae9.js → interfaces-C7YbtGnk.js} +0 -0
- /package/dist/{esm/interfaces-cc5b177f.js → components/p-COwzv5zO.js} +0 -0
- /package/dist/esm-es5/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
- /package/dist/ripple/{p-2732bddd.js → p-COwzv5zO.js} +0 -0
- /package/dist/ripple/{p-42fa7a77.system.js → p-ClUp3GkF.system.js} +0 -0
- /package/dist/ripple/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
|
@@ -3,23 +3,16 @@ import { uploaderMessages } from "../../global/intl";
|
|
|
3
3
|
import { intl } 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;
|
|
10
6
|
this.uploaderType = "select";
|
|
11
7
|
this.dropArea = "component";
|
|
12
|
-
this.buttonText = undefined;
|
|
13
|
-
this.icon = undefined;
|
|
14
8
|
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;
|
|
19
9
|
this.showInfo = "time";
|
|
20
10
|
this.isTabbing = false;
|
|
21
|
-
this.notif = "";
|
|
11
|
+
this.notif = ""; // for upload notifications
|
|
22
12
|
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 = "";
|
|
23
16
|
}
|
|
24
17
|
get isDisabled() {
|
|
25
18
|
// disable if is the uploader is maxed out or if something is uploading
|
|
@@ -321,6 +314,7 @@ export class Uploader {
|
|
|
321
314
|
return {
|
|
322
315
|
"label": {
|
|
323
316
|
"type": "string",
|
|
317
|
+
"attribute": "label",
|
|
324
318
|
"mutable": false,
|
|
325
319
|
"complexType": {
|
|
326
320
|
"original": "string",
|
|
@@ -333,11 +327,13 @@ export class Uploader {
|
|
|
333
327
|
"tags": [],
|
|
334
328
|
"text": ""
|
|
335
329
|
},
|
|
336
|
-
"
|
|
330
|
+
"getter": false,
|
|
331
|
+
"setter": false,
|
|
337
332
|
"reflect": false
|
|
338
333
|
},
|
|
339
334
|
"uploaderType": {
|
|
340
335
|
"type": "string",
|
|
336
|
+
"attribute": "uploader-type",
|
|
341
337
|
"mutable": false,
|
|
342
338
|
"complexType": {
|
|
343
339
|
"original": "\"select\" | \"drop\"",
|
|
@@ -350,12 +346,14 @@ export class Uploader {
|
|
|
350
346
|
"tags": [],
|
|
351
347
|
"text": ""
|
|
352
348
|
},
|
|
353
|
-
"
|
|
349
|
+
"getter": false,
|
|
350
|
+
"setter": false,
|
|
354
351
|
"reflect": false,
|
|
355
352
|
"defaultValue": "\"select\""
|
|
356
353
|
},
|
|
357
354
|
"dropArea": {
|
|
358
355
|
"type": "string",
|
|
356
|
+
"attribute": "drop-area",
|
|
359
357
|
"mutable": false,
|
|
360
358
|
"complexType": {
|
|
361
359
|
"original": "\"component\" | \"page\"",
|
|
@@ -368,12 +366,14 @@ export class Uploader {
|
|
|
368
366
|
"tags": [],
|
|
369
367
|
"text": ""
|
|
370
368
|
},
|
|
371
|
-
"
|
|
369
|
+
"getter": false,
|
|
370
|
+
"setter": false,
|
|
372
371
|
"reflect": false,
|
|
373
372
|
"defaultValue": "\"component\""
|
|
374
373
|
},
|
|
375
374
|
"buttonText": {
|
|
376
375
|
"type": "string",
|
|
376
|
+
"attribute": "button-text",
|
|
377
377
|
"mutable": false,
|
|
378
378
|
"complexType": {
|
|
379
379
|
"original": "string",
|
|
@@ -386,11 +386,13 @@ export class Uploader {
|
|
|
386
386
|
"tags": [],
|
|
387
387
|
"text": ""
|
|
388
388
|
},
|
|
389
|
-
"
|
|
389
|
+
"getter": false,
|
|
390
|
+
"setter": false,
|
|
390
391
|
"reflect": false
|
|
391
392
|
},
|
|
392
393
|
"icon": {
|
|
393
394
|
"type": "string",
|
|
395
|
+
"attribute": "icon",
|
|
394
396
|
"mutable": false,
|
|
395
397
|
"complexType": {
|
|
396
398
|
"original": "string",
|
|
@@ -403,11 +405,13 @@ export class Uploader {
|
|
|
403
405
|
"tags": [],
|
|
404
406
|
"text": ""
|
|
405
407
|
},
|
|
406
|
-
"
|
|
408
|
+
"getter": false,
|
|
409
|
+
"setter": false,
|
|
407
410
|
"reflect": false
|
|
408
411
|
},
|
|
409
412
|
"fileTypes": {
|
|
410
413
|
"type": "string",
|
|
414
|
+
"attribute": "file-types",
|
|
411
415
|
"mutable": false,
|
|
412
416
|
"complexType": {
|
|
413
417
|
"original": "string",
|
|
@@ -420,12 +424,14 @@ export class Uploader {
|
|
|
420
424
|
"tags": [],
|
|
421
425
|
"text": ""
|
|
422
426
|
},
|
|
423
|
-
"
|
|
427
|
+
"getter": false,
|
|
428
|
+
"setter": false,
|
|
424
429
|
"reflect": false,
|
|
425
430
|
"defaultValue": "\"pdf txt log xml doc docx xls xlsx ppt pptx gif jpg jpeg png csv\""
|
|
426
431
|
},
|
|
427
432
|
"maxSize": {
|
|
428
433
|
"type": "string",
|
|
434
|
+
"attribute": "max-size",
|
|
429
435
|
"mutable": false,
|
|
430
436
|
"complexType": {
|
|
431
437
|
"original": "string",
|
|
@@ -438,11 +444,13 @@ export class Uploader {
|
|
|
438
444
|
"tags": [],
|
|
439
445
|
"text": ""
|
|
440
446
|
},
|
|
441
|
-
"
|
|
447
|
+
"getter": false,
|
|
448
|
+
"setter": false,
|
|
442
449
|
"reflect": false
|
|
443
450
|
},
|
|
444
451
|
"maxFiles": {
|
|
445
452
|
"type": "number",
|
|
453
|
+
"attribute": "max-files",
|
|
446
454
|
"mutable": false,
|
|
447
455
|
"complexType": {
|
|
448
456
|
"original": "number",
|
|
@@ -455,11 +463,13 @@ export class Uploader {
|
|
|
455
463
|
"tags": [],
|
|
456
464
|
"text": ""
|
|
457
465
|
},
|
|
458
|
-
"
|
|
466
|
+
"getter": false,
|
|
467
|
+
"setter": false,
|
|
459
468
|
"reflect": false
|
|
460
469
|
},
|
|
461
470
|
"errorMessage": {
|
|
462
471
|
"type": "string",
|
|
472
|
+
"attribute": "error-message",
|
|
463
473
|
"mutable": false,
|
|
464
474
|
"complexType": {
|
|
465
475
|
"original": "string",
|
|
@@ -472,11 +482,13 @@ export class Uploader {
|
|
|
472
482
|
"tags": [],
|
|
473
483
|
"text": ""
|
|
474
484
|
},
|
|
475
|
-
"
|
|
485
|
+
"getter": false,
|
|
486
|
+
"setter": false,
|
|
476
487
|
"reflect": false
|
|
477
488
|
},
|
|
478
489
|
"requiredField": {
|
|
479
490
|
"type": "boolean",
|
|
491
|
+
"attribute": "required-field",
|
|
480
492
|
"mutable": false,
|
|
481
493
|
"complexType": {
|
|
482
494
|
"original": "boolean",
|
|
@@ -489,11 +501,13 @@ export class Uploader {
|
|
|
489
501
|
"tags": [],
|
|
490
502
|
"text": ""
|
|
491
503
|
},
|
|
492
|
-
"
|
|
504
|
+
"getter": false,
|
|
505
|
+
"setter": false,
|
|
493
506
|
"reflect": false
|
|
494
507
|
},
|
|
495
508
|
"showInfo": {
|
|
496
509
|
"type": "string",
|
|
510
|
+
"attribute": "show-info",
|
|
497
511
|
"mutable": false,
|
|
498
512
|
"complexType": {
|
|
499
513
|
"original": "\"size\" | \"time\" | \"none\"",
|
|
@@ -506,7 +520,8 @@ export class Uploader {
|
|
|
506
520
|
"tags": [],
|
|
507
521
|
"text": ""
|
|
508
522
|
},
|
|
509
|
-
"
|
|
523
|
+
"getter": false,
|
|
524
|
+
"setter": false,
|
|
510
525
|
"reflect": false,
|
|
511
526
|
"defaultValue": "\"time\""
|
|
512
527
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the base path to where the assets can be found. Use "setAssetPath(path)"
|
|
3
|
+
* if the path needs to be customized.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getAssetPath: (path: string) => string;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Used to manually set the base path where assets can be found.
|
|
9
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
10
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
|
11
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
12
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
|
13
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
14
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
15
|
+
* will have to ensure the static assets are copied to its build directory.
|
|
16
|
+
*/
|
|
17
|
+
export declare const setAssetPath: (path: string) => void;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
21
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
22
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
23
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
24
|
+
* will result in the same behavior.
|
|
25
|
+
*/
|
|
26
|
+
export declare const setNonce: (nonce: string) => void
|
|
27
|
+
|
|
28
|
+
export interface SetPlatformOptions {
|
|
29
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
30
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
31
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
32
|
+
}
|
|
33
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-HPnDWE3g.js';
|
|
2
|
+
|
|
3
|
+
const version = "5.13.1-alpha.1";
|
|
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);
|