@watermarkinsights/ripple 5.12.0-9 → 5.14.0-alpha.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/LICENSE +21 -0
- package/dist/{esm/chartFunctions-1478f4db.js → components/chartFunctions.js} +31 -11
- package/dist/components/functions.js +17465 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/{collection/global/global.js → components/index.js} +52 -2
- package/dist/{collection/global → components}/interfaces.js +6 -4
- package/dist/{esm/intl-6426ba51.js → components/intl.js} +104 -2
- package/dist/components/priv-calendar.d.ts +11 -0
- package/dist/components/priv-calendar.js +6 -0
- package/dist/{esm/priv-calendar.entry.js → components/priv-calendar2.js} +38 -16
- package/dist/components/priv-chart-popover.d.ts +11 -0
- package/dist/components/priv-chart-popover.js +6 -0
- package/dist/{esm/priv-chart-popover.entry.js → components/priv-chart-popover2.js} +30 -12
- package/dist/components/priv-navigator-button.d.ts +11 -0
- package/dist/components/priv-navigator-button.js +6 -0
- package/dist/{esm/priv-navigator-button.entry.js → components/priv-navigator-button2.js} +26 -9
- package/dist/components/priv-navigator-item.d.ts +11 -0
- package/dist/components/priv-navigator-item.js +6 -0
- package/dist/{esm/priv-navigator-item.entry.js → components/priv-navigator-item2.js} +27 -9
- package/dist/components/priv-option-list.d.ts +11 -0
- package/dist/components/priv-option-list.js +6 -0
- package/dist/{esm/priv-option-list.entry.js → components/priv-option-list2.js} +63 -68
- package/dist/components/wm-action-menu.d.ts +11 -0
- package/dist/components/wm-action-menu.js +6 -0
- package/dist/{cjs/wm-pagination.cjs.entry.js → components/wm-action-menu2.js} +216 -161
- package/dist/components/wm-button.d.ts +11 -0
- package/dist/components/wm-button.js +6 -0
- package/dist/{esm/wm-button.entry.js → components/wm-button2.js} +48 -20
- 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/{esm/wm-chart.entry.js → components/wm-chart.js} +70 -25
- package/dist/components/wm-date-range.d.ts +11 -0
- package/dist/{esm/wm-date-range.entry.js → components/wm-date-range.js} +79 -26
- package/dist/components/wm-datepicker.d.ts +11 -0
- package/dist/{esm/wm-datepicker.entry.js → components/wm-datepicker.js} +53 -16
- package/dist/components/wm-file-list.d.ts +11 -0
- package/dist/{esm/wm-file-list.entry.js → components/wm-file-list.js} +28 -9
- package/dist/components/wm-file.d.ts +11 -0
- package/dist/{esm/wm-file.entry.js → components/wm-file.js} +58 -20
- package/dist/components/wm-input.d.ts +11 -0
- package/dist/{esm/wm-input.entry.js → components/wm-input.js} +53 -22
- package/dist/components/wm-line-chart.d.ts +11 -0
- package/dist/{esm/wm-line-chart.entry.js → components/wm-line-chart.js} +77 -36
- package/dist/components/wm-menuitem.d.ts +11 -0
- package/dist/components/wm-menuitem.js +6 -0
- package/dist/{cjs/wm-optgroup.cjs.entry.js → components/wm-menuitem2.js} +130 -58
- 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/{cjs/priv-chart-popover.cjs.entry.js → components/wm-modal-pss-footer.js} +58 -129
- 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/{cjs/wm-textarea.cjs.entry.js → components/wm-modal-pss.js} +141 -67
- package/dist/components/wm-modal.d.ts +11 -0
- package/dist/{cjs/wm-input.cjs.entry.js → components/wm-modal.js} +140 -104
- package/dist/components/wm-navigation-hamburger.d.ts +11 -0
- package/dist/{esm-es5/priv-chart-popover.entry.js → components/wm-navigation-hamburger.js} +70 -1
- package/dist/components/wm-navigation-item.d.ts +11 -0
- package/dist/{ripple/p-713ea307.entry.js → components/wm-navigation-item.js} +40 -1
- package/dist/components/wm-navigation.d.ts +11 -0
- package/dist/{ripple/p-165b5d3d.system.entry.js → components/wm-navigation.js} +144 -1
- package/dist/components/wm-navigator.d.ts +11 -0
- package/dist/{esm/wm-navigator.entry.js → components/wm-navigator.js} +106 -19
- package/dist/components/wm-nested-select.d.ts +11 -0
- package/dist/{esm/wm-nested-select.entry.js → components/wm-nested-select.js} +63 -70
- package/dist/components/wm-optgroup.d.ts +11 -0
- package/dist/{esm/wm-optgroup.entry.js → components/wm-optgroup.js} +48 -11
- package/dist/components/wm-option.d.ts +11 -0
- package/dist/components/wm-option.js +6 -0
- package/dist/{cjs/wm-search.cjs.entry.js → components/wm-option2.js} +168 -166
- package/dist/components/wm-pagination.d.ts +11 -0
- package/dist/{esm/wm-pagination.entry.js → components/wm-pagination.js} +105 -26
- package/dist/components/wm-progress-indicator.d.ts +11 -0
- package/dist/{esm/wm-progress-indicator_3.entry.js → components/wm-progress-indicator.js} +51 -105
- package/dist/components/wm-progress-monitor.d.ts +11 -0
- package/dist/{ripple/p-d530c703.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/{esm/wm-search.entry.js → components/wm-search.js} +74 -14
- package/dist/components/wm-select.d.ts +11 -0
- package/dist/components/wm-select.js +6 -0
- package/dist/components/wm-select2.js +294 -0
- package/dist/components/wm-snackbar.d.ts +11 -0
- package/dist/{esm/wm-snackbar.entry.js → components/wm-snackbar.js} +46 -17
- 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/{cjs/wm-uploader.cjs.entry.js → components/wm-tab-list.js} +174 -282
- package/dist/components/wm-tab-panel.d.ts +11 -0
- package/dist/{cjs/wm-file-list.cjs.entry.js → components/wm-tab-panel.js} +46 -17
- package/dist/components/wm-tag-input.d.ts +11 -0
- package/dist/{esm/wm-tag-input.entry.js → components/wm-tag-input.js} +86 -49
- 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/{esm/wm-textarea.entry.js → components/wm-textarea.js} +46 -17
- package/dist/components/wm-timepicker.d.ts +11 -0
- package/dist/{esm/wm-timepicker.entry.js → components/wm-timepicker.js} +49 -19
- package/dist/components/wm-toggletip.d.ts +11 -0
- package/dist/{esm/wm-toggletip.entry.js → components/wm-toggletip.js} +37 -16
- package/dist/components/wm-uploader.d.ts +11 -0
- package/dist/{esm/wm-uploader.entry.js → components/wm-uploader.js} +50 -23
- package/dist/components/wm-wrapper.d.ts +11 -0
- package/dist/components/wm-wrapper.js +34 -0
- package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +0 -6
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +6 -0
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +1 -0
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +1 -0
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +2 -1
- package/dist/types/global/intl.d.ts +22 -0
- package/dist/types/stencil-public-runtime.d.ts +28 -0
- package/package.json +5 -9
- package/dist/cjs/app-globals-b8352f28.js +0 -92
- package/dist/cjs/chartFunctions-7314b414.js +0 -712
- package/dist/cjs/functions-5ac8a62f.js +0 -8462
- package/dist/cjs/index-788526f5.js +0 -1859
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/interfaces-85d78ae9.js +0 -37
- package/dist/cjs/intl-07aaf53c.js +0 -180
- package/dist/cjs/loader.cjs.js +0 -15
- package/dist/cjs/priv-calendar.cjs.entry.js +0 -574
- package/dist/cjs/priv-navigator-button.cjs.entry.js +0 -29
- package/dist/cjs/priv-navigator-item.cjs.entry.js +0 -35
- package/dist/cjs/priv-option-list.cjs.entry.js +0 -430
- package/dist/cjs/ripple.cjs.js +0 -25
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +0 -335
- package/dist/cjs/wm-button.cjs.entry.js +0 -207
- package/dist/cjs/wm-chart-slice.cjs.entry.js +0 -27
- package/dist/cjs/wm-chart.cjs.entry.js +0 -156
- package/dist/cjs/wm-date-range.cjs.entry.js +0 -473
- package/dist/cjs/wm-datepicker.cjs.entry.js +0 -254
- package/dist/cjs/wm-file.cjs.entry.js +0 -194
- package/dist/cjs/wm-line-chart.cjs.entry.js +0 -460
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +0 -217
- package/dist/cjs/wm-modal_3.cjs.entry.js +0 -215
- package/dist/cjs/wm-navigation_3.cjs.entry.js +0 -188
- package/dist/cjs/wm-navigator.cjs.entry.js +0 -327
- package/dist/cjs/wm-nested-select.cjs.entry.js +0 -354
- package/dist/cjs/wm-option_2.cjs.entry.js +0 -439
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +0 -204
- package/dist/cjs/wm-snackbar.cjs.entry.js +0 -177
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +0 -258
- package/dist/cjs/wm-tag-input.cjs.entry.js +0 -886
- package/dist/cjs/wm-tag-option.cjs.entry.js +0 -43
- package/dist/cjs/wm-timepicker.cjs.entry.js +0 -307
- package/dist/cjs/wm-toggletip.cjs.entry.js +0 -183
- package/dist/cjs/wm-wrapper.cjs.entry.js +0 -21
- package/dist/collection/collection-manifest.json +0 -191
- package/dist/collection/components/charts/chartFunctions.js +0 -645
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +0 -908
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +0 -257
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +0 -125
- package/dist/collection/components/charts/wm-chart/wm-chart.css +0 -1274
- package/dist/collection/components/charts/wm-chart/wm-chart.js +0 -415
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +0 -1067
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +0 -722
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +0 -1274
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +0 -264
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +0 -909
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +0 -151
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +0 -121
- package/dist/collection/components/datepickers/datepicker.css +0 -1043
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +0 -1279
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +0 -840
- package/dist/collection/components/datepickers/wm-date-range.js +0 -838
- package/dist/collection/components/datepickers/wm-datepicker.js +0 -524
- package/dist/collection/components/selects/priv-option-list/priv-option-list.css +0 -918
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +0 -817
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +0 -1181
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +0 -659
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +0 -830
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +0 -258
- package/dist/collection/components/selects/wm-option/wm-option.css +0 -931
- package/dist/collection/components/selects/wm-option/wm-option.js +0 -530
- package/dist/collection/components/selects/wm-select/wm-select.css +0 -1104
- package/dist/collection/components/selects/wm-select/wm-select.js +0 -596
- package/dist/collection/components/wm-action-menu/wm-action-menu.css +0 -891
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +0 -435
- package/dist/collection/components/wm-button/wm-button.css +0 -1261
- package/dist/collection/components/wm-button/wm-button.js +0 -489
- package/dist/collection/components/wm-file/wm-file.css +0 -927
- package/dist/collection/components/wm-file/wm-file.js +0 -412
- package/dist/collection/components/wm-file-list/wm-file-list.css +0 -820
- package/dist/collection/components/wm-file-list/wm-file-list.js +0 -45
- package/dist/collection/components/wm-input/wm-input.css +0 -992
- package/dist/collection/components/wm-input/wm-input.js +0 -471
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -891
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +0 -419
- package/dist/collection/components/wm-modal/wm-modal-footer.css +0 -852
- package/dist/collection/components/wm-modal/wm-modal-footer.js +0 -141
- package/dist/collection/components/wm-modal/wm-modal-header.css +0 -846
- package/dist/collection/components/wm-modal/wm-modal-header.js +0 -78
- package/dist/collection/components/wm-modal/wm-modal.css +0 -890
- package/dist/collection/components/wm-modal/wm-modal.js +0 -350
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +0 -852
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +0 -138
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +0 -846
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +0 -82
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +0 -927
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +0 -362
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +0 -847
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +0 -119
- package/dist/collection/components/wm-navigation/wm-navigation-item.css +0 -856
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +0 -98
- package/dist/collection/components/wm-navigation/wm-navigation.css +0 -898
- package/dist/collection/components/wm-navigation/wm-navigation.js +0 -190
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -849
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +0 -86
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +0 -830
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +0 -124
- package/dist/collection/components/wm-navigator/wm-navigator.css +0 -903
- package/dist/collection/components/wm-navigator/wm-navigator.js +0 -496
- package/dist/collection/components/wm-pagination/wm-pagination.css +0 -971
- package/dist/collection/components/wm-pagination/wm-pagination.js +0 -311
- package/dist/collection/components/wm-search/wm-search.css +0 -895
- package/dist/collection/components/wm-search/wm-search.js +0 -427
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -1077
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +0 -264
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +0 -868
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +0 -175
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +0 -840
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +0 -268
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +0 -825
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +0 -87
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +0 -1275
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +0 -1221
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +0 -243
- package/dist/collection/components/wm-textarea/wm-textarea.css +0 -979
- package/dist/collection/components/wm-textarea/wm-textarea.js +0 -313
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +0 -1093
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +0 -547
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +0 -1153
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +0 -289
- package/dist/collection/components/wm-uploader/wm-uploader.css +0 -1563
- package/dist/collection/components/wm-uploader/wm-uploader.js +0 -603
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +0 -28
- package/dist/collection/dev/button.js +0 -0
- package/dist/collection/dev/chart-small.js +0 -56
- package/dist/collection/dev/chart.js +0 -18
- package/dist/collection/dev/date-range.js +0 -6
- package/dist/collection/dev/datepicker.js +0 -46
- package/dist/collection/dev/file-list.js +0 -16
- package/dist/collection/dev/file.js +0 -0
- package/dist/collection/dev/input.js +0 -6
- package/dist/collection/dev/line-chart.js +0 -0
- package/dist/collection/dev/modal.js +0 -48
- package/dist/collection/dev/navigation.js +0 -13
- package/dist/collection/dev/navigator.js +0 -34
- package/dist/collection/dev/nested-select.js +0 -36
- package/dist/collection/dev/pagination.js +0 -7
- package/dist/collection/dev/progress-monitor.js +0 -0
- package/dist/collection/dev/pss-modal.js +0 -8
- package/dist/collection/dev/scripts.js +0 -49
- package/dist/collection/dev/search.js +0 -72
- package/dist/collection/dev/select.js +0 -57
- package/dist/collection/dev/snackbar.js +0 -54
- package/dist/collection/dev/tabs.js +0 -44
- package/dist/collection/dev/tag-input.js +0 -32
- package/dist/collection/dev/textarea.js +0 -28
- package/dist/collection/dev/timepicker.js +0 -32
- package/dist/collection/dev/toggletip.js +0 -9
- package/dist/collection/dev/uploader.js +0 -139
- package/dist/collection/global/__mocks__/functions.js +0 -6
- package/dist/collection/global/functions.js +0 -825
- package/dist/collection/global/intl.js +0 -172
- package/dist/collection/global/services/__mocks__/http-service.js +0 -130
- package/dist/collection/global/services/http-service.js +0 -50
- package/dist/collection/lang/lang.js +0 -5
- package/dist/collection/lang/missing.js +0 -43
- package/dist/collection/lang/piglatin.js +0 -93
- package/dist/esm/app-globals-f3dbaf3e.js +0 -90
- package/dist/esm/functions-f53b3537.js +0 -8422
- package/dist/esm/index-130e07bb.js +0 -1828
- package/dist/esm/index.js +0 -1
- package/dist/esm/interfaces-cc5b177f.js +0 -34
- package/dist/esm/loader.js +0 -11
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/ripple.js +0 -20
- package/dist/esm/wm-action-menu_2.entry.js +0 -330
- package/dist/esm/wm-chart-slice.entry.js +0 -23
- package/dist/esm/wm-modal-pss_3.entry.js +0 -211
- package/dist/esm/wm-modal_3.entry.js +0 -209
- package/dist/esm/wm-navigation_3.entry.js +0 -182
- package/dist/esm/wm-option_2.entry.js +0 -434
- package/dist/esm/wm-tab-item_3.entry.js +0 -252
- package/dist/esm/wm-tag-option.entry.js +0 -39
- package/dist/esm/wm-wrapper.entry.js +0 -17
- package/dist/esm-es5/app-globals-f3dbaf3e.js +0 -1
- package/dist/esm-es5/chartFunctions-1478f4db.js +0 -1
- package/dist/esm-es5/functions-f53b3537.js +0 -1
- package/dist/esm-es5/index-130e07bb.js +0 -1
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/interfaces-cc5b177f.js +0 -1
- package/dist/esm-es5/intl-6426ba51.js +0 -1
- package/dist/esm-es5/loader.js +0 -1
- package/dist/esm-es5/priv-calendar.entry.js +0 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +0 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +0 -1
- package/dist/esm-es5/priv-option-list.entry.js +0 -1
- package/dist/esm-es5/ripple.js +0 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +0 -1
- package/dist/esm-es5/wm-button.entry.js +0 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +0 -1
- package/dist/esm-es5/wm-chart.entry.js +0 -1
- package/dist/esm-es5/wm-date-range.entry.js +0 -1
- package/dist/esm-es5/wm-datepicker.entry.js +0 -1
- package/dist/esm-es5/wm-file-list.entry.js +0 -1
- package/dist/esm-es5/wm-file.entry.js +0 -1
- package/dist/esm-es5/wm-input.entry.js +0 -1
- package/dist/esm-es5/wm-line-chart.entry.js +0 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +0 -1
- package/dist/esm-es5/wm-modal_3.entry.js +0 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +0 -1
- package/dist/esm-es5/wm-navigator.entry.js +0 -1
- package/dist/esm-es5/wm-nested-select.entry.js +0 -1
- package/dist/esm-es5/wm-optgroup.entry.js +0 -1
- package/dist/esm-es5/wm-option_2.entry.js +0 -1
- package/dist/esm-es5/wm-pagination.entry.js +0 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +0 -1
- package/dist/esm-es5/wm-search.entry.js +0 -1
- package/dist/esm-es5/wm-snackbar.entry.js +0 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +0 -1
- package/dist/esm-es5/wm-tag-input.entry.js +0 -1
- package/dist/esm-es5/wm-tag-option.entry.js +0 -1
- package/dist/esm-es5/wm-textarea.entry.js +0 -1
- package/dist/esm-es5/wm-timepicker.entry.js +0 -1
- package/dist/esm-es5/wm-toggletip.entry.js +0 -1
- package/dist/esm-es5/wm-uploader.entry.js +0 -1
- package/dist/esm-es5/wm-wrapper.entry.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/loader/cdn.js +0 -2
- package/dist/loader/index.cjs.js +0 -2
- package/dist/loader/index.d.ts +0 -24
- package/dist/loader/index.es2017.js +0 -2
- package/dist/loader/index.js +0 -3
- package/dist/loader/package.json +0 -11
- package/dist/ripple/index.esm.js +0 -0
- package/dist/ripple/p-02bd68af.system.entry.js +0 -1
- package/dist/ripple/p-02e60a11.system.entry.js +0 -1
- package/dist/ripple/p-03fafb82.entry.js +0 -1
- package/dist/ripple/p-043901ab.system.entry.js +0 -1
- package/dist/ripple/p-0d163672.system.entry.js +0 -1
- package/dist/ripple/p-13b1d775.entry.js +0 -1
- package/dist/ripple/p-1f174e18.system.entry.js +0 -1
- package/dist/ripple/p-20b137a3.system.entry.js +0 -1
- package/dist/ripple/p-226217d3.system.entry.js +0 -1
- package/dist/ripple/p-233f14ec.system.entry.js +0 -1
- package/dist/ripple/p-243a7a17.system.entry.js +0 -1
- package/dist/ripple/p-263e42e0.entry.js +0 -1
- package/dist/ripple/p-2732bddd.js +0 -1
- package/dist/ripple/p-27ff3a85.js +0 -1
- package/dist/ripple/p-28f9e202.system.entry.js +0 -1
- package/dist/ripple/p-2c8153c1.entry.js +0 -1
- package/dist/ripple/p-3376581a.system.entry.js +0 -1
- package/dist/ripple/p-368e9ee9.entry.js +0 -1
- package/dist/ripple/p-3a2a3b70.entry.js +0 -1
- package/dist/ripple/p-3b5d106d.entry.js +0 -1
- package/dist/ripple/p-42fa7a77.system.js +0 -1
- package/dist/ripple/p-45b5d2d2.entry.js +0 -1
- package/dist/ripple/p-486b3b56.system.entry.js +0 -1
- package/dist/ripple/p-49e24926.entry.js +0 -1
- package/dist/ripple/p-4fbe205e.system.entry.js +0 -1
- package/dist/ripple/p-50294e3f.entry.js +0 -1
- package/dist/ripple/p-50ea2036.system.js +0 -1
- package/dist/ripple/p-529f179c.system.entry.js +0 -1
- package/dist/ripple/p-53400bc4.system.entry.js +0 -1
- package/dist/ripple/p-55f8aa05.entry.js +0 -1
- package/dist/ripple/p-58734b13.entry.js +0 -1
- package/dist/ripple/p-59cc46a6.entry.js +0 -1
- package/dist/ripple/p-5c62e26d.entry.js +0 -1
- package/dist/ripple/p-6136d0d7.entry.js +0 -1
- package/dist/ripple/p-658f146a.system.entry.js +0 -1
- package/dist/ripple/p-66141f19.entry.js +0 -1
- package/dist/ripple/p-727175e1.system.entry.js +0 -1
- package/dist/ripple/p-73056e10.system.js +0 -1
- package/dist/ripple/p-76f9acec.entry.js +0 -1
- package/dist/ripple/p-791513e7.entry.js +0 -1
- package/dist/ripple/p-7959c4bd.system.entry.js +0 -1
- package/dist/ripple/p-7a1bb29b.js +0 -1
- package/dist/ripple/p-81ac8d49.entry.js +0 -1
- package/dist/ripple/p-823d7b4e.system.entry.js +0 -1
- package/dist/ripple/p-82819500.system.entry.js +0 -1
- package/dist/ripple/p-8634abad.system.entry.js +0 -1
- package/dist/ripple/p-864158de.system.entry.js +0 -1
- package/dist/ripple/p-8c95493c.js +0 -1
- package/dist/ripple/p-94dc80a0.entry.js +0 -1
- package/dist/ripple/p-94fbf6f6.system.entry.js +0 -1
- package/dist/ripple/p-9b739280.entry.js +0 -1
- package/dist/ripple/p-a0edf336.system.entry.js +0 -1
- package/dist/ripple/p-a2544443.system.js +0 -1
- package/dist/ripple/p-a280d710.entry.js +0 -1
- package/dist/ripple/p-a9a7731b.system.entry.js +0 -1
- package/dist/ripple/p-b16f07f1.system.entry.js +0 -1
- package/dist/ripple/p-b78d8ab1.system.js +0 -1
- package/dist/ripple/p-c550716e.js +0 -1
- package/dist/ripple/p-ccae5bec.entry.js +0 -1
- package/dist/ripple/p-cd0cc88d.entry.js +0 -1
- package/dist/ripple/p-cef8a45b.system.js +0 -2
- package/dist/ripple/p-d96291e7.entry.js +0 -1
- package/dist/ripple/p-d9da0502.js +0 -2
- package/dist/ripple/p-e2fbed8c.system.entry.js +0 -1
- package/dist/ripple/p-e6e36701.system.entry.js +0 -1
- package/dist/ripple/p-e8cfa832.entry.js +0 -1
- package/dist/ripple/p-e973024a.entry.js +0 -1
- package/dist/ripple/p-ed24dc42.entry.js +0 -1
- package/dist/ripple/p-ee825214.entry.js +0 -1
- package/dist/ripple/p-ef75bf23.system.entry.js +0 -1
- package/dist/ripple/p-f28106ea.entry.js +0 -1
- package/dist/ripple/p-f471ee29.system.js +0 -1
- package/dist/ripple/p-f66480de.entry.js +0 -1
- package/dist/ripple/p-f778baf4.system.entry.js +0 -1
- package/dist/ripple/p-f9a71cf6.entry.js +0 -1
- package/dist/ripple/p-fc7965e4.system.entry.js +0 -1
- package/dist/ripple/p-fdfa3579.system.entry.js +0 -1
- package/dist/ripple/p-ff60375d.system.entry.js +0 -1
- package/dist/ripple/p-ffbb9fc0.system.js +0 -1
- package/dist/ripple/ripple.css +0 -1
- package/dist/ripple/ripple.esm.js +0 -1
- package/dist/ripple/ripple.js +0 -127
- /package/dist/{collection/dev/action-menu.js → types/test-setup.d.ts} +0 -0
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
2
|
-
import { generateId, hideTooltip, showTooltip } from "../../global/functions";
|
|
3
|
-
import { globalMessages } from "../../global/intl";
|
|
4
|
-
export class Snackbar {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.parsedNotifications = [];
|
|
7
|
-
this.uid = this.el.id ? this.el.id : generateId();
|
|
8
|
-
this.focusOnDismiss = null;
|
|
9
|
-
this.timers = {};
|
|
10
|
-
this.notifications = "[]";
|
|
11
|
-
this.isTabbing = false;
|
|
12
|
-
this.announcement = "";
|
|
13
|
-
}
|
|
14
|
-
componentDidLoad() {
|
|
15
|
-
const snackObserver = new MutationObserver((snackMutations) => snackMutations.forEach((mutationRecord) => this.handleSnackMutation(mutationRecord)));
|
|
16
|
-
snackObserver.observe(this.snackAreaEl, { childList: true });
|
|
17
|
-
}
|
|
18
|
-
handleSnackMutation(mutationRecord) {
|
|
19
|
-
const addedSnacks = Array.from(mutationRecord.addedNodes);
|
|
20
|
-
if (addedSnacks.length > 0) {
|
|
21
|
-
addedSnacks.forEach((s) => s.querySelector(".wm-snackbar").classList.add("grow"));
|
|
22
|
-
addedSnacks[0].scrollIntoView();
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
updateSnacks(newValue) {
|
|
26
|
-
const prevParsedNotifications = [...this.parsedNotifications];
|
|
27
|
-
this.parsedNotifications = [...JSON.parse(newValue)];
|
|
28
|
-
this.resetUpdatedNotifications(prevParsedNotifications);
|
|
29
|
-
if (prevParsedNotifications.length < this.parsedNotifications.length) {
|
|
30
|
-
const latestNotification = this.parsedNotifications[0];
|
|
31
|
-
if (!latestNotification.link) {
|
|
32
|
-
const newTimer = window.setTimeout(() => this.snackExpired(latestNotification.id), 6000);
|
|
33
|
-
this.timers = Object.assign({ [latestNotification.id]: newTimer }, this.timers);
|
|
34
|
-
}
|
|
35
|
-
// don't announce link if user is tabbing because link is focused after announcement
|
|
36
|
-
this.announce(`${latestNotification.message} ${this.isTabbing ? "" : latestNotification.link}`);
|
|
37
|
-
if (this.isTabbing && latestNotification.link) {
|
|
38
|
-
this.focusOnDismiss = document.activeElement ? document.activeElement : null;
|
|
39
|
-
this.stopTimer(latestNotification);
|
|
40
|
-
// allow snack to render before focusing
|
|
41
|
-
window.requestAnimationFrame(() => {
|
|
42
|
-
const link = this.el.shadowRoot.querySelector(`#action-${latestNotification.id}`);
|
|
43
|
-
link.focus();
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
this.setMinWidths();
|
|
48
|
-
}
|
|
49
|
-
setMinWidths() {
|
|
50
|
-
// wait for render to get updated scrollWidth
|
|
51
|
-
requestAnimationFrame(() => {
|
|
52
|
-
const msgEls = this.el.shadowRoot.querySelectorAll(".msg");
|
|
53
|
-
msgEls.forEach((msgEl) => {
|
|
54
|
-
msgEl.classList.remove("long");
|
|
55
|
-
if (msgEl.scrollWidth > 216) {
|
|
56
|
-
msgEl.classList.add("long");
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
resetUpdatedNotifications(prevNotifications) {
|
|
62
|
-
let updatedNotifications = [];
|
|
63
|
-
prevNotifications.forEach((prevNotification) => {
|
|
64
|
-
this.parsedNotifications.forEach((newNotification) => {
|
|
65
|
-
if (newNotification.id == prevNotification.id && newNotification.message != prevNotification.message) {
|
|
66
|
-
updatedNotifications.push(newNotification);
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
updatedNotifications.forEach((updatedNotification) => {
|
|
71
|
-
const notifEl = this.el.shadowRoot.querySelector(`#snack-${updatedNotification.id}`);
|
|
72
|
-
if (notifEl) {
|
|
73
|
-
notifEl.classList.remove("grow");
|
|
74
|
-
window.requestAnimationFrame(() => notifEl.classList.add("grow"));
|
|
75
|
-
}
|
|
76
|
-
this.stopTimer(updatedNotification);
|
|
77
|
-
if (!updatedNotification.link) {
|
|
78
|
-
const newTimer = window.setTimeout(() => this.snackExpired(updatedNotification.id), 6000);
|
|
79
|
-
this.timers = Object.assign({ [updatedNotification.id]: newTimer }, this.timers);
|
|
80
|
-
}
|
|
81
|
-
this.announce(`${updatedNotification.message} ${this.isTabbing ? "" : updatedNotification.link}`);
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
checkForTabbing(ev) {
|
|
85
|
-
if (ev.key === "Tab") {
|
|
86
|
-
this.isTabbing = true;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
// Workaround for screenreader's triggering click event on "enter"
|
|
90
|
-
// This is why we manually handle this.isTabbing instead of listening to wmUserIsTabbing
|
|
91
|
-
handleMouse() {
|
|
92
|
-
this.isTabbing = false;
|
|
93
|
-
}
|
|
94
|
-
snackDismissed(notification) {
|
|
95
|
-
this.endSnack(notification);
|
|
96
|
-
// Focus should only be returned if it was moved in the first place, i.e., there was a link and the user was tabbing. Otherwise, for a mouse user, the user's focus would jump back to the triggering element.
|
|
97
|
-
if (notification.link && this.isTabbing && this.focusOnDismiss) {
|
|
98
|
-
this.focusOnDismiss.focus();
|
|
99
|
-
this.focusOnDismiss = null;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
//Remove snack from notification list once timer runs out
|
|
103
|
-
snackExpired(expiredID) {
|
|
104
|
-
const expiredNotification = this.parsedNotifications.find((n) => n.id == expiredID);
|
|
105
|
-
if (expiredNotification) {
|
|
106
|
-
this.endSnack(expiredNotification);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
endSnack(notification) {
|
|
110
|
-
//App listens for wmSnackbarSnackFinished event and deletes the emitted notification.
|
|
111
|
-
this.stopTimer(notification);
|
|
112
|
-
const notifEl = this.el.shadowRoot.querySelector(`#snack-${notification.id}`);
|
|
113
|
-
notifEl.classList.add("shrink");
|
|
114
|
-
setTimeout(() => {
|
|
115
|
-
// wait for animation to complete, then emit event for removal
|
|
116
|
-
this.wmSnackbarSnackFinished.emit({
|
|
117
|
-
id: notification.id,
|
|
118
|
-
message: notification.message,
|
|
119
|
-
link: notification.link,
|
|
120
|
-
newWindow: notification.newWindow,
|
|
121
|
-
});
|
|
122
|
-
}, 250);
|
|
123
|
-
}
|
|
124
|
-
snackLinkClicked(notification) {
|
|
125
|
-
//App listens for wmSnackbarActionTriggered event, deletes emitted notification, and takes over focus.
|
|
126
|
-
this.stopTimer(notification);
|
|
127
|
-
this.wmSnackbarActionTriggered.emit({
|
|
128
|
-
id: notification.id,
|
|
129
|
-
message: notification.message,
|
|
130
|
-
link: notification.link,
|
|
131
|
-
newWindow: notification.newWindow,
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
//Delete the timer corresponding to the dismissed notification
|
|
135
|
-
stopTimer(notification) {
|
|
136
|
-
if (this.timers[notification.id]) {
|
|
137
|
-
clearTimeout(this.timers[notification.id]);
|
|
138
|
-
delete this.timers[notification.id];
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
announce(message) {
|
|
142
|
-
if (this.liveRegionEl.textContent === message) {
|
|
143
|
-
message += "\u00A0";
|
|
144
|
-
}
|
|
145
|
-
this.announcement = message;
|
|
146
|
-
}
|
|
147
|
-
renderSnackbars() {
|
|
148
|
-
return this.parsedNotifications.map((notification) => (h("div", { class: "wm-snack-wrapper", key: `snack-${notification.id}` }, h("div", { id: `snack-${notification.id}`, class: "wm-snackbar active neutral" }, h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) }), h("div", { class: "content-wrapper" }, h("div", { class: "msg-wrapper" }, h("span", { class: "msg" }, notification.message), notification.link && (h("a", { id: `action-${notification.id}`, class: `link ${notification.newWindow ? "new-window" : ""}`, "aria-label": `Click to ${notification.link}...${notification.newWindow ? " " + globalMessages.newWindow : ""}`, tabindex: 0, onClick: () => {
|
|
149
|
-
this.snackLinkClicked(notification);
|
|
150
|
-
}, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link), notification.newWindow && h("div", { class: "svg-icon svg-open-in-new" })))), h("button", { id: `close-button-${notification.id}`, "aria-label": "Close this notification", class: "closesnack", tabindex: notification.link ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() }, h("div", { class: "svg-icon svg-close" }))), h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
|
|
151
|
-
}
|
|
152
|
-
render() {
|
|
153
|
-
return (h(Host, { key: '4a20ad18b5f35266c9bb1b2000c6dd4a56260850' }, h("div", { key: 'c732bd432d88c8522096491c4e28750e18912832', ref: (el) => (this.snackAreaEl = el), class: {
|
|
154
|
-
"list-wrapper": true,
|
|
155
|
-
"user-is-tabbing": this.isTabbing,
|
|
156
|
-
empty: this.parsedNotifications.length == 0,
|
|
157
|
-
} }, this.renderSnackbars()), h("div", { key: '88d92b97479e3914bd99958c3045e95048e527c2', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
158
|
-
}
|
|
159
|
-
static get is() { return "wm-snackbar"; }
|
|
160
|
-
static get encapsulation() { return "shadow"; }
|
|
161
|
-
static get originalStyleUrls() {
|
|
162
|
-
return {
|
|
163
|
-
"$": ["wm-snackbar.scss"]
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
static get styleUrls() {
|
|
167
|
-
return {
|
|
168
|
-
"$": ["wm-snackbar.css"]
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
static get properties() {
|
|
172
|
-
return {
|
|
173
|
-
"notifications": {
|
|
174
|
-
"type": "string",
|
|
175
|
-
"mutable": true,
|
|
176
|
-
"complexType": {
|
|
177
|
-
"original": "string",
|
|
178
|
-
"resolved": "string",
|
|
179
|
-
"references": {}
|
|
180
|
-
},
|
|
181
|
-
"required": false,
|
|
182
|
-
"optional": false,
|
|
183
|
-
"docs": {
|
|
184
|
-
"tags": [],
|
|
185
|
-
"text": ""
|
|
186
|
-
},
|
|
187
|
-
"attribute": "notifications",
|
|
188
|
-
"reflect": true,
|
|
189
|
-
"defaultValue": "\"[]\""
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
static get states() {
|
|
194
|
-
return {
|
|
195
|
-
"isTabbing": {},
|
|
196
|
-
"announcement": {}
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
static get events() {
|
|
200
|
-
return [{
|
|
201
|
-
"method": "wmSnackbarSnackFinished",
|
|
202
|
-
"name": "wmSnackbarSnackFinished",
|
|
203
|
-
"bubbles": true,
|
|
204
|
-
"cancelable": true,
|
|
205
|
-
"composed": true,
|
|
206
|
-
"docs": {
|
|
207
|
-
"tags": [],
|
|
208
|
-
"text": ""
|
|
209
|
-
},
|
|
210
|
-
"complexType": {
|
|
211
|
-
"original": "Object",
|
|
212
|
-
"resolved": "Object",
|
|
213
|
-
"references": {
|
|
214
|
-
"Object": {
|
|
215
|
-
"location": "global",
|
|
216
|
-
"id": "global::Object"
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}, {
|
|
221
|
-
"method": "wmSnackbarActionTriggered",
|
|
222
|
-
"name": "wmSnackbarActionTriggered",
|
|
223
|
-
"bubbles": true,
|
|
224
|
-
"cancelable": true,
|
|
225
|
-
"composed": true,
|
|
226
|
-
"docs": {
|
|
227
|
-
"tags": [],
|
|
228
|
-
"text": ""
|
|
229
|
-
},
|
|
230
|
-
"complexType": {
|
|
231
|
-
"original": "Object",
|
|
232
|
-
"resolved": "Object",
|
|
233
|
-
"references": {
|
|
234
|
-
"Object": {
|
|
235
|
-
"location": "global",
|
|
236
|
-
"id": "global::Object"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}];
|
|
241
|
-
}
|
|
242
|
-
static get elementRef() { return "el"; }
|
|
243
|
-
static get watchers() {
|
|
244
|
-
return [{
|
|
245
|
-
"propName": "notifications",
|
|
246
|
-
"methodName": "updateSnacks"
|
|
247
|
-
}];
|
|
248
|
-
}
|
|
249
|
-
static get listeners() {
|
|
250
|
-
return [{
|
|
251
|
-
"name": "keydown",
|
|
252
|
-
"method": "checkForTabbing",
|
|
253
|
-
"target": "document",
|
|
254
|
-
"capture": false,
|
|
255
|
-
"passive": false
|
|
256
|
-
}, {
|
|
257
|
-
"name": "mouseover",
|
|
258
|
-
"method": "handleMouse",
|
|
259
|
-
"target": "document",
|
|
260
|
-
"capture": false,
|
|
261
|
-
"passive": true
|
|
262
|
-
}];
|
|
263
|
-
}
|
|
264
|
-
}
|