@watermarkinsights/ripple 5.30.0 → 5.31.0-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/dist/cjs/app-globals-df7ca137.js +103 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-calendar.cjs.entry.js +27 -27
- package/dist/cjs/priv-chart-popover-old.cjs.entry.js +2 -2
- package/dist/cjs/priv-chart-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
- package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +5 -4
- package/dist/cjs/wm-button.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart-column.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +1 -1
- package/dist/cjs/wm-date-range.cjs.entry.js +25 -9
- package/dist/cjs/wm-datepicker.cjs.entry.js +37 -11
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +1 -1
- package/dist/cjs/wm-flyout.cjs.entry.js +6 -1
- package/dist/cjs/wm-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-line-chart.cjs.entry.js +1 -1
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-modal_3.cjs.entry.js +19 -4
- package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
- package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
- package/dist/cjs/wm-optgroup.cjs.entry.js +11 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
- package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/wm-search.cjs.entry.js +2 -2
- package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
- package/dist/cjs/wm-tag-option.cjs.entry.js +8 -0
- package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wm-timepicker.cjs.entry.js +14 -2
- package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
- package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +7 -2
- package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +7 -2
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +58 -6
- package/dist/collection/components/charts/wm-chart/wm-chart.js +139 -13
- package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +134 -7
- package/dist/collection/components/charts/wm-chart-column/wm-chart-column.js +102 -8
- package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +90 -8
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +153 -17
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +63 -7
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +85 -5
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +52 -6
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +47 -47
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +33 -29
- package/dist/collection/components/datepickers/wm-date-range.js +246 -29
- package/dist/collection/components/datepickers/wm-datepicker.js +254 -30
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -1
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +193 -17
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +116 -11
- package/dist/collection/components/selects/wm-option/wm-option.js +153 -18
- package/dist/collection/components/selects/wm-select/wm-select.js +187 -21
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +148 -12
- package/dist/collection/components/wm-button/wm-button.js +212 -18
- package/dist/collection/components/wm-file/wm-file.js +108 -14
- package/dist/collection/components/wm-file-list/wm-file-list.js +74 -2
- package/dist/collection/components/wm-flyout/wm-flyout.js +215 -16
- package/dist/collection/components/wm-input/wm-input.js +195 -20
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +62 -5
- package/dist/collection/components/wm-modal/wm-modal-footer.js +63 -6
- package/dist/collection/components/wm-modal/wm-modal-header.js +34 -3
- package/dist/collection/components/wm-modal/wm-modal.js +181 -14
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +5 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +5 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +6 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +37 -3
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +47 -5
- package/dist/collection/components/wm-navigation/wm-navigation.js +54 -4
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +5 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +5 -1
- package/dist/collection/components/wm-navigator/wm-navigator.js +102 -9
- package/dist/collection/components/wm-pagination/wm-pagination.js +106 -9
- package/dist/collection/components/wm-search/wm-search.js +182 -16
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +96 -5
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +66 -10
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +96 -5
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +42 -6
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +205 -17
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +97 -12
- package/dist/collection/components/wm-textarea/wm-textarea.js +116 -13
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +190 -16
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +87 -8
- package/dist/collection/components/wm-uploader/wm-uploader.js +142 -14
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +3 -0
- package/dist/collection/global/services/__mocks__/http-service.js +1 -1
- package/dist/docs/docs.d.ts +435 -0
- package/dist/docs/docs.json +13915 -0
- package/dist/docs/props-reference.json +2028 -0
- package/dist/docs/skill/index.md +32 -0
- package/dist/docs/skill/wm-action-menu.md +93 -0
- package/dist/docs/skill/wm-button.md +103 -0
- package/dist/docs/skill/wm-chart-bar.md +129 -0
- package/dist/docs/skill/wm-chart-column.md +96 -0
- package/dist/docs/skill/wm-chart-legend.md +67 -0
- package/dist/docs/skill/wm-chart-slice.md +55 -0
- package/dist/docs/skill/wm-chart.md +92 -0
- package/dist/docs/skill/wm-date-range.md +153 -0
- package/dist/docs/skill/wm-datepicker.md +134 -0
- package/dist/docs/skill/wm-file-list.md +97 -0
- package/dist/docs/skill/wm-file.md +78 -0
- package/dist/docs/skill/wm-flyout.md +174 -0
- package/dist/docs/skill/wm-input.md +126 -0
- package/dist/docs/skill/wm-line-chart.md +108 -0
- package/dist/docs/skill/wm-menuitem.md +72 -0
- package/dist/docs/skill/wm-modal-footer.md +73 -0
- package/dist/docs/skill/wm-modal-header.md +65 -0
- package/dist/docs/skill/wm-modal.md +137 -0
- package/dist/docs/skill/wm-navigation-hamburger.md +56 -0
- package/dist/docs/skill/wm-navigation-item.md +69 -0
- package/dist/docs/skill/wm-navigation.md +66 -0
- package/dist/docs/skill/wm-navigator.md +91 -0
- package/dist/docs/skill/wm-nested-select.md +149 -0
- package/dist/docs/skill/wm-optgroup.md +71 -0
- package/dist/docs/skill/wm-option.md +68 -0
- package/dist/docs/skill/wm-pagination.md +95 -0
- package/dist/docs/skill/wm-progress-indicator.md +49 -0
- package/dist/docs/skill/wm-progress-monitor.md +93 -0
- package/dist/docs/skill/wm-progress-slice.md +41 -0
- package/dist/docs/skill/wm-search.md +157 -0
- package/dist/docs/skill/wm-select.md +148 -0
- package/dist/docs/skill/wm-snackbar.md +101 -0
- package/dist/docs/skill/wm-tab-item.md +35 -0
- package/dist/docs/skill/wm-tab-list.md +112 -0
- package/dist/docs/skill/wm-tab-panel.md +33 -0
- package/dist/docs/skill/wm-tag-input.md +165 -0
- package/dist/docs/skill/wm-tag-option.md +59 -0
- package/dist/docs/skill/wm-textarea.md +94 -0
- package/dist/docs/skill/wm-timepicker.md +139 -0
- package/dist/docs/skill/wm-toggletip.md +92 -0
- package/dist/docs/skill/wm-uploader.md +129 -0
- package/dist/docs/skill/wm-wrapper.md +6 -0
- package/dist/docs/wm-action-menu.md +111 -0
- package/dist/docs/wm-button.md +137 -0
- package/dist/docs/wm-chart-bar.md +23 -0
- package/dist/docs/wm-chart-column.md +26 -0
- package/dist/docs/wm-chart-legend.md +31 -0
- package/dist/docs/wm-chart-slice.md +14 -0
- package/dist/docs/wm-chart.md +30 -0
- package/dist/docs/wm-date-range.md +215 -0
- package/dist/docs/wm-datepicker.md +210 -0
- package/dist/docs/wm-file-list.md +95 -0
- package/dist/docs/wm-file.md +34 -0
- package/dist/docs/wm-flyout.md +123 -0
- package/dist/docs/wm-input.md +120 -0
- package/dist/docs/wm-line-chart.md +32 -0
- package/dist/docs/wm-menuitem.md +38 -0
- package/dist/docs/wm-modal-footer.md +106 -0
- package/dist/docs/wm-modal-header.md +100 -0
- package/dist/docs/wm-modal.md +127 -0
- package/dist/docs/wm-navigation-hamburger.md +91 -0
- package/dist/docs/wm-navigation-item.md +98 -0
- package/dist/docs/wm-navigation.md +101 -0
- package/dist/docs/wm-navigator.md +99 -0
- package/dist/docs/wm-nested-select.md +107 -0
- package/dist/docs/wm-optgroup.md +28 -0
- package/dist/docs/wm-option.md +24 -0
- package/dist/docs/wm-pagination.md +94 -0
- package/dist/docs/wm-progress-indicator.md +23 -0
- package/dist/docs/wm-progress-monitor.md +27 -0
- package/dist/docs/wm-progress-slice.md +16 -0
- package/dist/docs/wm-search.md +119 -0
- package/dist/docs/wm-select.md +120 -0
- package/dist/docs/wm-snackbar.md +87 -0
- package/dist/docs/wm-tab-item.md +23 -0
- package/dist/docs/wm-tab-list.md +98 -0
- package/dist/docs/wm-tab-panel.md +18 -0
- package/dist/docs/wm-tag-input.md +123 -0
- package/dist/docs/wm-tag-option.md +33 -0
- package/dist/docs/wm-textarea.md +101 -0
- package/dist/docs/wm-timepicker.md +122 -0
- package/dist/docs/wm-toggletip.md +86 -0
- package/dist/docs/wm-uploader.md +114 -0
- package/dist/docs/wm-wrapper.md +7 -0
- package/dist/esm/app-globals-466ed44b.js +101 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/priv-calendar.entry.js +27 -27
- package/dist/esm/priv-chart-popover-old.entry.js +2 -2
- package/dist/esm/priv-chart-popover_2.entry.js +3 -3
- package/dist/esm/priv-navigator-button.entry.js +1 -1
- package/dist/esm/priv-navigator-item.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-action-menu_2.entry.js +5 -4
- package/dist/esm/wm-button.entry.js +1 -1
- package/dist/esm/wm-chart-bar.entry.js +1 -1
- package/dist/esm/wm-chart-column.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +1 -1
- package/dist/esm/wm-date-range.entry.js +25 -9
- package/dist/esm/wm-datepicker.entry.js +37 -11
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-flyout.entry.js +6 -1
- package/dist/esm/wm-input.entry.js +1 -1
- package/dist/esm/wm-line-chart.entry.js +1 -1
- package/dist/esm/wm-modal-pss_3.entry.js +4 -4
- package/dist/esm/wm-modal_3.entry.js +19 -4
- package/dist/esm/wm-navigation_3.entry.js +4 -4
- package/dist/esm/wm-navigator.entry.js +1 -1
- package/dist/esm/wm-nested-select.entry.js +3 -3
- package/dist/esm/wm-optgroup.entry.js +11 -1
- package/dist/esm/wm-option_2.entry.js +5 -5
- package/dist/esm/wm-pagination.entry.js +1 -1
- package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +2 -2
- package/dist/esm/wm-snackbar.entry.js +2 -2
- package/dist/esm/wm-tab-item_3.entry.js +6 -6
- package/dist/esm/wm-tag-input.entry.js +2 -2
- package/dist/esm/wm-tag-option.entry.js +8 -0
- package/dist/esm/wm-textarea.entry.js +1 -1
- package/dist/esm/wm-timepicker.entry.js +14 -2
- package/dist/esm/wm-toggletip.entry.js +3 -3
- package/dist/esm/wm-uploader.entry.js +2 -2
- package/dist/esm-es5/app-globals-466ed44b.js +1 -0
- 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-old.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover_2.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-bar.entry.js +1 -1
- package/dist/esm-es5/wm-chart-column.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-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-1fc894ac.system.entry.js → p-012bd307.system.entry.js} +1 -1
- package/dist/ripple/p-03f352dc.entry.js +1 -0
- package/dist/ripple/{p-4f53544d.entry.js → p-03ff4f41.entry.js} +1 -1
- package/dist/ripple/{p-2a03f658.entry.js → p-045aa27f.entry.js} +1 -1
- package/dist/ripple/{p-709d1765.entry.js → p-057ffccb.entry.js} +1 -1
- package/dist/ripple/p-06c3dc14.system.entry.js +1 -0
- package/dist/ripple/{p-ff6fd274.system.entry.js → p-09a80f59.system.entry.js} +1 -1
- package/dist/ripple/{p-3bd8537c.entry.js → p-09fb0a09.entry.js} +1 -1
- package/dist/ripple/p-0a05d3a3.js +1 -0
- package/dist/ripple/{p-3f69041f.entry.js → p-0ab9bac7.entry.js} +1 -1
- package/dist/ripple/{p-332a3e3d.system.entry.js → p-1059cdb9.system.entry.js} +1 -1
- package/dist/ripple/{p-dbdae848.system.entry.js → p-106a9459.system.entry.js} +1 -1
- package/dist/ripple/{p-e1a6ee77.entry.js → p-16381033.entry.js} +1 -1
- package/dist/ripple/{p-b11abb0d.system.entry.js → p-181109f0.system.entry.js} +1 -1
- package/dist/ripple/{p-bb9f54cf.system.entry.js → p-1855c3b1.system.entry.js} +1 -1
- package/dist/ripple/{p-4533241f.entry.js → p-1c25838e.entry.js} +1 -1
- package/dist/ripple/{p-fb6aee09.entry.js → p-1f67b172.entry.js} +1 -1
- package/dist/ripple/{p-a3dd5204.system.entry.js → p-22703bcd.system.entry.js} +1 -1
- package/dist/ripple/{p-a6aef87d.system.entry.js → p-237388c5.system.entry.js} +1 -1
- package/dist/ripple/p-237f5977.system.entry.js +1 -0
- package/dist/ripple/p-25d6cc45.system.js +1 -0
- package/dist/ripple/{p-09d5381c.entry.js → p-299d2d8b.entry.js} +1 -1
- package/dist/ripple/{p-e78f9572.system.entry.js → p-2c1d219f.system.entry.js} +1 -1
- package/dist/ripple/{p-84e04896.entry.js → p-2dbf9636.entry.js} +1 -1
- package/dist/ripple/{p-05dae6a0.entry.js → p-2dc1071a.entry.js} +1 -1
- package/dist/ripple/{p-39bac42a.entry.js → p-3216e2e7.entry.js} +1 -1
- package/dist/ripple/p-3252c04b.system.entry.js +1 -0
- package/dist/ripple/{p-7ca0bb68.system.entry.js → p-32bac954.system.entry.js} +1 -1
- package/dist/ripple/p-33eeaa18.entry.js +1 -0
- package/dist/ripple/p-3441da90.entry.js +1 -0
- package/dist/ripple/p-3502fd33.system.entry.js +1 -0
- package/dist/ripple/{p-f51404f5.entry.js → p-351000b9.entry.js} +1 -1
- package/dist/ripple/{p-bf3eef42.entry.js → p-3c0062c5.entry.js} +1 -1
- package/dist/ripple/{p-c1abc58e.entry.js → p-3d3836ad.entry.js} +1 -1
- package/dist/ripple/p-3e8bfc68.system.entry.js +1 -0
- package/dist/ripple/p-3f403a64.system.entry.js +1 -0
- package/dist/ripple/{p-b974a535.system.entry.js → p-43e8d384.system.entry.js} +1 -1
- package/dist/ripple/p-49dc64ba.entry.js +1 -0
- package/dist/ripple/{p-9d345fc7.system.entry.js → p-4a942d74.system.entry.js} +1 -1
- package/dist/ripple/p-4cc09fa3.system.entry.js +1 -0
- package/dist/ripple/p-5177d4fa.entry.js +1 -0
- package/dist/ripple/p-51fff3a7.system.entry.js +1 -0
- package/dist/ripple/p-54ba0eae.entry.js +1 -0
- package/dist/ripple/{p-c04d0eeb.system.entry.js → p-5609bde2.system.entry.js} +1 -1
- package/dist/ripple/{p-86148143.system.entry.js → p-56e1a71d.system.entry.js} +1 -1
- package/dist/ripple/{p-f94af31c.entry.js → p-578b5443.entry.js} +1 -1
- package/dist/ripple/p-57901fc3.entry.js +1 -0
- package/dist/ripple/{p-463be5be.entry.js → p-57a0cb5f.entry.js} +1 -1
- package/dist/ripple/{p-0db033c3.system.entry.js → p-59b3f92b.system.entry.js} +1 -1
- package/dist/ripple/p-5a533e7c.entry.js +1 -0
- package/dist/ripple/{p-5f092b39.system.entry.js → p-61a0ba92.system.entry.js} +1 -1
- package/dist/ripple/{p-6de83c6f.entry.js → p-623b89e0.entry.js} +1 -1
- package/dist/ripple/{p-6479b06b.entry.js → p-668c0758.entry.js} +1 -1
- package/dist/ripple/p-6a6e98c7.entry.js +1 -0
- package/dist/ripple/{p-b654743f.system.entry.js → p-6c46dd9a.system.entry.js} +1 -1
- package/dist/ripple/{p-4e7ae2c5.system.entry.js → p-6ea254d2.system.entry.js} +1 -1
- package/dist/ripple/p-6f875608.system.entry.js +1 -0
- package/dist/ripple/{p-d05b7cd3.entry.js → p-71a38bd2.entry.js} +1 -1
- package/dist/ripple/{p-dab54a9d.entry.js → p-73a2389d.entry.js} +1 -1
- package/dist/ripple/p-759d87de.entry.js +1 -0
- package/dist/ripple/{p-227b0af9.entry.js → p-75c5ec39.entry.js} +1 -1
- package/dist/ripple/{p-ee729037.system.entry.js → p-7bc3b4ee.system.entry.js} +1 -1
- package/dist/ripple/p-7c7988a3.entry.js +1 -0
- package/dist/ripple/p-81735196.entry.js +1 -0
- package/dist/ripple/{p-a0aba3e0.system.entry.js → p-8376699e.system.entry.js} +1 -1
- package/dist/ripple/{p-503330c1.system.entry.js → p-865208b7.system.entry.js} +1 -1
- package/dist/ripple/{p-28b8a12e.system.entry.js → p-8715d758.system.entry.js} +1 -1
- package/dist/ripple/p-8bfb7664.entry.js +1 -0
- package/dist/ripple/{p-680f5703.entry.js → p-8deb22bc.entry.js} +1 -1
- package/dist/ripple/p-8e32e9de.system.entry.js +1 -0
- package/dist/ripple/{p-bdb10d37.entry.js → p-92e3bf68.entry.js} +1 -1
- package/dist/ripple/{p-0feaaae9.system.entry.js → p-942b323c.system.entry.js} +1 -1
- package/dist/ripple/{p-5173359e.entry.js → p-94fd1dcc.entry.js} +1 -1
- package/dist/ripple/p-991455a2.system.entry.js +1 -0
- package/dist/ripple/p-99a112c8.system.entry.js +1 -0
- package/dist/ripple/p-9a8d91d6.entry.js +1 -0
- package/dist/ripple/{p-e0c0e8b0.system.entry.js → p-9afb642d.system.entry.js} +1 -1
- package/dist/ripple/p-9c850273.system.js +1 -0
- package/dist/ripple/p-a3f9e257.entry.js +1 -0
- package/dist/ripple/p-a5b07241.entry.js +1 -0
- package/dist/ripple/{p-d55bd2b9.entry.js → p-a7a6cf55.system.entry.js} +1 -1
- package/dist/ripple/{p-6f2d3297.system.entry.js → p-a917ea86.system.entry.js} +1 -1
- package/dist/ripple/p-ab5664cd.entry.js +1 -0
- package/dist/ripple/{p-cc028323.entry.js → p-acb04e6e.entry.js} +1 -1
- package/dist/ripple/p-b2624d8f.system.entry.js +1 -0
- package/dist/ripple/p-b5b37960.entry.js +1 -0
- package/dist/ripple/p-b713b6de.system.entry.js +1 -0
- package/dist/ripple/p-b75e9e5f.entry.js +1 -0
- package/dist/ripple/{p-b1924539.system.entry.js → p-b7969fd7.system.entry.js} +1 -1
- package/dist/ripple/{p-a7e637a5.system.entry.js → p-b9596bfc.system.entry.js} +1 -1
- package/dist/ripple/p-b9d3d967.system.entry.js +1 -0
- package/dist/ripple/{p-aafced54.system.entry.js → p-bd365c44.system.entry.js} +1 -1
- package/dist/ripple/p-bd9ab5ae.system.entry.js +1 -0
- package/dist/ripple/p-c0028f4d.system.entry.js +1 -0
- package/dist/ripple/p-c7d3ee52.entry.js +1 -0
- package/dist/ripple/p-c8e4e95b.entry.js +1 -0
- package/dist/ripple/p-c996ade8.entry.js +1 -0
- package/dist/ripple/p-ca8378b0.entry.js +1 -0
- package/dist/ripple/{p-bd37dd6f.entry.js → p-cc2176ad.entry.js} +1 -1
- package/dist/ripple/p-cd496e63.entry.js +1 -0
- package/dist/ripple/p-d0653c32.entry.js +1 -0
- package/dist/ripple/{p-9a5d11cb.entry.js → p-d11e5029.entry.js} +1 -1
- package/dist/ripple/p-d3d0b626.entry.js +1 -0
- package/dist/ripple/p-d4899263.entry.js +1 -0
- package/dist/ripple/p-dc82f194.entry.js +1 -0
- package/dist/ripple/{p-a6ef995c.system.entry.js → p-ddfb976f.system.entry.js} +1 -1
- package/dist/ripple/{p-ee26ba53.entry.js → p-e1899945.entry.js} +1 -1
- package/dist/ripple/p-e26b9711.system.entry.js +1 -0
- package/dist/ripple/{p-10aea5ee.system.entry.js → p-e31f597a.system.entry.js} +1 -1
- package/dist/ripple/p-e35de3cd.system.entry.js +1 -0
- package/dist/ripple/p-e3effa1a.system.entry.js +1 -0
- package/dist/ripple/p-e674e6a7.system.entry.js +1 -0
- package/dist/ripple/{p-8e6e868a.entry.js → p-e7ffd796.entry.js} +1 -1
- package/dist/ripple/p-e800717d.entry.js +1 -0
- package/dist/ripple/p-eab35bea.entry.js +1 -0
- package/dist/ripple/{p-df9d5b14.system.entry.js → p-ebdf16fa.system.entry.js} +1 -1
- package/dist/ripple/p-ed9fc1c1.system.entry.js +1 -0
- package/dist/ripple/p-eda49f0e.entry.js +1 -0
- package/dist/ripple/p-ee33fd7f.system.entry.js +1 -0
- package/dist/ripple/p-ee5f43fe.system.entry.js +1 -0
- package/dist/ripple/{p-928b3e5e.entry.js → p-f0ee3616.entry.js} +1 -1
- package/dist/ripple/{p-02c8bf15.system.entry.js → p-f1215c25.system.entry.js} +1 -1
- package/dist/ripple/p-f148ae9d.system.entry.js +1 -0
- package/dist/ripple/p-f307aabe.entry.js +1 -0
- package/dist/ripple/p-f4f6c904.system.entry.js +1 -0
- package/dist/ripple/p-f58833ae.system.entry.js +1 -0
- package/dist/ripple/p-f7fc6350.system.js +1 -1
- package/dist/ripple/p-f881cdc8.system.entry.js +1 -0
- package/dist/ripple/{p-444feb7d.system.entry.js → p-fbb37b4b.system.entry.js} +1 -1
- package/dist/ripple/{p-40e8071c.system.entry.js → p-fc905b2f.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +5 -0
- package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +5 -0
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +52 -0
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +111 -0
- package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +131 -0
- package/dist/types/components/charts/wm-chart-column/wm-chart-column.d.ts +100 -0
- package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +77 -0
- package/dist/types/components/charts/wm-line-chart/wm-line-chart.d.ts +134 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +52 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +84 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +44 -0
- package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +6 -2
- package/dist/types/components/datepickers/wm-date-range.d.ts +186 -0
- package/dist/types/components/datepickers/wm-datepicker.d.ts +170 -2
- package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +6 -0
- package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +162 -0
- package/dist/types/components/selects/wm-optgroup/wm-optgroup.d.ts +87 -0
- package/dist/types/components/selects/wm-option/wm-option.d.ts +117 -0
- package/dist/types/components/selects/wm-select/wm-select.d.ts +164 -0
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +122 -0
- package/dist/types/components/wm-button/wm-button.d.ts +170 -2
- package/dist/types/components/wm-file/wm-file.d.ts +92 -0
- package/dist/types/components/wm-file-list/wm-file-list.d.ts +71 -0
- package/dist/types/components/wm-flyout/wm-flyout.d.ts +193 -0
- package/dist/types/components/wm-input/wm-input.d.ts +158 -0
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +58 -0
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +54 -0
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +30 -0
- package/dist/types/components/wm-modal/wm-modal.d.ts +148 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +4 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +4 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +4 -0
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +34 -0
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +41 -0
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +50 -0
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +4 -0
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +4 -0
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +91 -3
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +90 -0
- package/dist/types/components/wm-search/wm-search.d.ts +148 -5
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +94 -0
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +43 -2
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +93 -0
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +28 -2
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +185 -0
- package/dist/types/components/wm-tag-input/wm-tag-option/wm-tag-option.d.ts +68 -0
- package/dist/types/components/wm-textarea/wm-textarea.d.ts +97 -0
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +145 -0
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +74 -0
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +128 -0
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +3 -0
- package/dist/types/components.d.ts +10513 -57
- package/package.json +2 -2
- package/dist/ripple/p-065b0134.entry.js +0 -1
- package/dist/ripple/p-210773eb.entry.js +0 -1
|
@@ -101,12 +101,27 @@ const Modal = class {
|
|
|
101
101
|
}
|
|
102
102
|
this.dialogEl.addEventListener("close", () => this.handleDialogClose());
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* @description Programmatically fires `wmModalCloseTriggered`. Use when you need to trigger
|
|
106
|
+
* a close from outside the modal without simulating a button click.
|
|
107
|
+
* @returns A promise that resolves once the event has been emitted.
|
|
108
|
+
*/
|
|
104
109
|
async emitCloseEvent() {
|
|
105
110
|
this.wmModalCloseTriggered.emit();
|
|
106
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* @description Programmatically fires `wmModalPrimaryTriggered`. Use when you need to trigger
|
|
114
|
+
* the primary action from outside the modal.
|
|
115
|
+
* @returns A promise that resolves once the event has been emitted.
|
|
116
|
+
*/
|
|
107
117
|
async emitPrimaryEvent() {
|
|
108
118
|
this.wmModalPrimaryTriggered.emit();
|
|
109
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* @description Programmatically fires `wmModalSecondaryTriggered`. Use when you need to trigger
|
|
122
|
+
* the secondary action from outside the modal.
|
|
123
|
+
* @returns A promise that resolves once the event has been emitted.
|
|
124
|
+
*/
|
|
110
125
|
async emitSecondaryEvent() {
|
|
111
126
|
this.wmModalSecondaryTriggered.emit();
|
|
112
127
|
}
|
|
@@ -125,11 +140,11 @@ const Modal = class {
|
|
|
125
140
|
}
|
|
126
141
|
}
|
|
127
142
|
render() {
|
|
128
|
-
return (h("dialog", { key: '
|
|
143
|
+
return (h("dialog", { key: '76ff8c280ec92ae62a2ad7be1cef0ca4b5825a8a', class: `${"wm-" + this.modalType}`, "aria-labelledby": `wm-modal-heading-text-${this.uid}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: '7e5c8cfcd4b4142ad9613e6c95ab1ee30b8d3983', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
129
144
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
130
145
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
131
146
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
132
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { key: '
|
|
147
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: 'ddcc34184581a5c5706c906cfc29ee993db2ad0a', class: "wm-tooltip" }), h("slot", { key: 'e58b8aa324444208bf8ebf1d014bd22512b8dd4f' }), h("div", { key: '0b9e32ac74195ba449dd001890a8d163d36e5e85', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
133
148
|
this.focusFirstElement.emit();
|
|
134
149
|
} })));
|
|
135
150
|
}
|
|
@@ -176,7 +191,7 @@ const ModalFooter = class {
|
|
|
176
191
|
}
|
|
177
192
|
}
|
|
178
193
|
render() {
|
|
179
|
-
return (h("div", { key: '
|
|
194
|
+
return (h("div", { key: '14b6ccec80fbc763345c991d8a04f2169160d4c2', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '8667e9b9d18fcdb3179c5b198b16df412c86fc36', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '7ed466b586ac50c5f7bfacaa9e5248559f0f8bf7', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '570ac1d3f9156fc1f32a4ad88dff22e1dfb34b00', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: '8f9309cf9c35b116c4213a3e22b4dc80534cf180', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
|
|
180
195
|
}
|
|
181
196
|
get el() { return getElement(this); }
|
|
182
197
|
};
|
|
@@ -208,7 +223,7 @@ const ModalHeader = class {
|
|
|
208
223
|
parentModal.emitCloseEvent();
|
|
209
224
|
}
|
|
210
225
|
render() {
|
|
211
|
-
return (h(Host, { key: '
|
|
226
|
+
return (h(Host, { key: '5038197152353331cda2cc523e626d3e8fdb50e4' }, h("div", { key: 'dc542ab951507e7456b99b97508f0c445f4364ab', class: "wm-wrapper" }, h("div", { key: '095107cb1176c9d96f280e40f5178d968a1c14bf' }, h("h2", { key: 'e4e7a73d47b3241337d4990470bb245fd989c7b6', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '55e9a28ce115c683616cc6bcaff11d346e8c91cc', class: "subtitle" }, this.subheading))), h("wm-button", { key: '8d3a7e1e501d7f9ac49ebc32118c26ca48c4fa5d', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
212
227
|
}
|
|
213
228
|
get el() { return getElement(this); }
|
|
214
229
|
};
|
|
@@ -102,9 +102,9 @@ const Navigation = class {
|
|
|
102
102
|
} }));
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '7ce2ecc617d551f0cb7223c261d67ba77ffc94a3', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: 'b1cf578c11f6b77ab8b2941eacaddbf067e8c41f', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: 'd659f52712bf5086105db9dee561974439c2196f', class: "tray" }, h("div", { key: 'f8ab74aee8ef40588e8e1a581b1a2a398b236c67', class: "toggle-wrapper" }, h("wm-button", { key: '585f5cc59d58477daba2645d10b96706151c3a46', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
106
106
|
this.open = !this.open;
|
|
107
|
-
} })), h("ul", { key: '
|
|
107
|
+
} })), h("ul", { key: 'c1bbc03cb4157c9b5a1713a5556438952aa140fa', class: "navlist" }, h("slot", { key: '3175962a28ac681dfe5cd6bb6f05f448641b4f1c' }))), this.isCollapsible && (h("div", { key: '21f7d9c75610ca8d590467a7f7eda4c6e29140e1', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
|
|
108
108
|
}
|
|
109
109
|
static get delegatesFocus() { return true; }
|
|
110
110
|
get el() { return getElement(this); }
|
|
@@ -153,7 +153,7 @@ const NavigationHamburger = class {
|
|
|
153
153
|
this.wmNavigationHamburgerClicked.emit();
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: 'df69ca361664452da552f6f401df3b541e82d112', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: '34e5d08cdf3a131d94e25a6b25e1278ed4988a56', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: '356150524abde1f09b453d4f9fa83c202588a534', class: "svg-icon svg-menu" }))));
|
|
157
157
|
}
|
|
158
158
|
static get delegatesFocus() { return true; }
|
|
159
159
|
get el() { return getElement(this); }
|
|
@@ -172,7 +172,7 @@ const NavigationItem = class {
|
|
|
172
172
|
this.active = undefined;
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: 'a6c1d9806c0da87d12dad513c5137e7a2186d749', role: "listitem" }, h("a", { key: '0d8f022c002d086158f27d3edbdf114c5e9087ba', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '39e7641878440f468c447a755628965ce9268a22', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'b09705b9625d7e8b43232345741c3eca0738650f' })), h("div", { key: '24e76eaae0dbfb701d08770ad0f645812419ac02', class: "text" }, this.text))));
|
|
176
176
|
}
|
|
177
177
|
static get delegatesFocus() { return true; }
|
|
178
178
|
get el() { return getElement(this); }
|
|
@@ -252,7 +252,7 @@ const Navigator = class {
|
|
|
252
252
|
name = product.name;
|
|
253
253
|
icon = product.iconUrl;
|
|
254
254
|
clickRedirect = this.setProductOnClick(product.id);
|
|
255
|
-
if (!!name && !!icon) {
|
|
255
|
+
if (!!name && !!icon && this.isSafeUrl(icon)) {
|
|
256
256
|
isSelected = this.currentProductId === product.id;
|
|
257
257
|
return (h("priv-navigator-item", { selected: isSelected, id: product.id, onClick: () => {
|
|
258
258
|
isSelected ? this.closeMenu() : clickRedirect();
|
|
@@ -297,16 +297,16 @@ const NestedSelect = class {
|
|
|
297
297
|
this.isExpanded ? this.close() : this.open();
|
|
298
298
|
},
|
|
299
299
|
};
|
|
300
|
-
return (h(Host, { key: '
|
|
300
|
+
return (h(Host, { key: '2b2047fde46afe93d6364c697aa186544f5663f9', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '37032e6c0098cb6339f32e82523a7207950579d6', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'd92559365f28d589bb1c47da2fb489ccf20a1f8c', class: "label-wrapper" }, h("label", { key: '1f19bf5a5d5943acdc8a55e01c04f0bc9875d66c', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
|
|
301
301
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
302
|
-
this.labelPosition !== "none" && this.requiredField && (h("span", { key: '
|
|
302
|
+
this.labelPosition !== "none" && this.requiredField && (h("span", { key: '21d397924616a6b3ec214ad438e1fd6a3630a83f', class: "required" }, h("span", { key: '47f761e0718b4feefffa83c58b801310668c7c80', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '765a9ec20cc464e15efd65ab28700953dbdd5299', "aria-hidden": "true" }, "*")))), h("div", { key: '9ed5ab01e3cfc907e3cf65840539fa6c23c949fd', class: "button-wrapper" }, h("button", Object.assign({ key: 'd0407a5647471c985a504d4023af1223b3439c7e' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: '1f050a070e82db4ebf55dab04102f4297a8cc431', class: "overflowcontrol" }, h("span", { key: '9fa87143404b5e0c15051c7c2e31cb0d566c7709', class: "button-text" }, this.renderButtonText())), h("div", { key: '97070ef2749ba4b4122008ed6f37b9b5ac10074f', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: 'b3d36bb8bfe445bef0a2f131f93f683a12aa5b53', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'e18f43067a2aad2012f706e0d17fd9aba64844c3', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, this.renderClearSelectionButton(), h("div", { key: 'c7ddaa0e27eb0fb722467acce7cd9cb57fb2055f', ref: (el) => (this.menuEl = el), id: "menu", role: "menu", class: this.isGroupExpanded ? "hidden" : "", style: { "--max-height": this.constrainedMaxHeight }, tabIndex: -1 }, this.optgroupEls.map((optgroupEl) => {
|
|
303
303
|
return (h("button", { class: `menuitem group-btn ${optgroupEl.disabled ? "disabled" : ""}`, role: "menuitem", "data-label": optgroupEl.label, tabindex: -1, "aria-disabled": optgroupEl.disabled, onClick: () => {
|
|
304
304
|
if (!optgroupEl.disabled) {
|
|
305
305
|
optgroupEl.isExpanded = !optgroupEl.isExpanded;
|
|
306
306
|
forceUpdate(this.el);
|
|
307
307
|
}
|
|
308
308
|
}, onKeyDown: (ev) => this.handleMenuitemKeydown(ev) }, h("div", { class: "option-text" }, h("span", null, optgroupEl.label), this.renderSelectionCount(optgroupEl), optgroupEl.disabled && h("div", { class: "disabled-indication" }, "Disabled")), h("div", { class: "svg-icon svg-next" })));
|
|
309
|
-
})), h("div", { key: '
|
|
309
|
+
})), h("div", { key: '09aa4f1e8277d540b20a8c7bdbafb0f81e8b6e96', class: `option-list-wrapper ${this.isGroupExpanded ? "" : "hidden"}` }, h("slot", { key: 'a33786c858d61d450926d17f514727aa87a4f5e0' }))), h("div", { key: '2022accefbc295da08a807d2a3d600dd38f86a2c', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: '3ac96561df791f14d4163d1f6ef19e8e25fe4040', id: "nestedselect-announcement", "aria-live": "assertive", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
310
310
|
}
|
|
311
311
|
static get delegatesFocus() { return true; }
|
|
312
312
|
get el() { return getElement(this); }
|
|
@@ -44,9 +44,19 @@ const Optgroup = class {
|
|
|
44
44
|
this.optionListEl.updateOptionVisibility();
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* @description Programmatically deselects all options in this group by emitting
|
|
49
|
+
* `wmOptgroupAllDeselected`.
|
|
50
|
+
* @returns `Promise<void>`
|
|
51
|
+
*/
|
|
47
52
|
async emitDeselection() {
|
|
48
53
|
this.wmOptgroupAllDeselected.emit();
|
|
49
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @description Notifies the internal option list that child options have changed so it can
|
|
58
|
+
* refresh clone state — not for application use.
|
|
59
|
+
*/
|
|
50
60
|
async handleChildChange() {
|
|
51
61
|
this.optionListEl.handleChildChange();
|
|
52
62
|
}
|
|
@@ -57,7 +67,7 @@ const Optgroup = class {
|
|
|
57
67
|
handleDisabledAttribute(this.el, this.isDisabled);
|
|
58
68
|
}
|
|
59
69
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '765770ff80d0c9cca3f06a23850306405cf8e5df' }, h("div", { key: 'b503e82de1025ec673496f4f81aae0dad8d0cb8b', class: `list-wrapper` }, h("priv-option-list", { key: 'dc84a7558f8821ff8249cd4ba5702f8d58f13523', ref: (el) => (this.optionListEl = el), multiple: this.parentNestedSelect.multiple, search: this.parentNestedSelect.search, maxHeight: this.parentNestedSelect.constrainedMaxHeight, searchPlaceholder: this.parentNestedSelect.searchPlaceholder, optgroupLabel: this.label, selectAll: this.parentNestedSelect.selectAll, onOptionListAllSelected: () => this.wmOptgroupAllSelected.emit(), onOptionListAllDeselected: () => this.wmOptgroupAllDeselected.emit() }, h("slot", { key: '6ce3bf73ee05bbcddae0ebeca19be9bec51d66a3' })))));
|
|
61
71
|
}
|
|
62
72
|
static get delegatesFocus() { return true; }
|
|
63
73
|
get el() { return getElement(this); }
|
|
@@ -162,7 +162,7 @@ const Option = class {
|
|
|
162
162
|
this.parentOptionList.addEventListener("optionListSearchChanged", (ev) => this.handleSearch(ev));
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: 'aabc8b53087255c967031b5000d873d215bae9c1', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: '5ec8d65e7bc71f5de40c4c43315a72942062cb6a', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { key: 'eb32793019f0d541fd82e2c7378923b805ad3093', class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { key: '9084254732da84361912aacf0bf9d7d7c0028811', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: 'a9fe7e1a71473d958276dd4c897a9a125b5093ac', class: "sr-only" }, this.el.textContent)), h("div", { key: '54d8a8e9c2259e0134c3e91fe9c5932323a224f3', class: "subinfo" }, this.subinfo)));
|
|
166
166
|
}
|
|
167
167
|
get el() { return getElement(this); }
|
|
168
168
|
static get watchers() { return {
|
|
@@ -501,14 +501,14 @@ const Select = class {
|
|
|
501
501
|
}
|
|
502
502
|
render() {
|
|
503
503
|
const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
|
|
504
|
-
return (h(Host, { key: '
|
|
504
|
+
return (h(Host, { key: 'c54f6d584089fc988e1360b77063fb8019a4e61a', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '780d585f50bbc37adc27784195447ad958ac5fd0', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '3d58a763bd7b360d98259aad81f04c4a78e11dc7', class: "label-wrapper" }, h("label", { key: 'b8bde868d9ad20e57f75746421bb2aaa66b6a100', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
|
|
505
505
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
506
|
-
this.labelPosition !== "none" && this.requiredField && (h("span", { key: '
|
|
506
|
+
this.labelPosition !== "none" && this.requiredField && (h("span", { key: 'd1f5815114ed2e2b6d68f49641fd1a889e985756', class: "required" }, h("span", { key: '2c4a42286776c6338fdae10b951634cf1684da25', class: "sr-only" }, globalMessages.requiredField), h("span", { key: 'a74ae2aaf9eda4a2299b490c57454a72f9f260a7', "aria-hidden": "true" }, "*")))), h("div", { key: '93b51bbaa9ca04623e98c1af76860ea22bd4b72d', class: "button-wrapper" }, h("button", { key: 'b25dc16e18051bf99908293ccea902186ae35359', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "info error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: '2f831cf2b13ac257c81707fdae93d7a9567945cf', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: '72020a439bc3ffa29304ee62ab028e2f12084cbe', class: "button-text" }, this.setButtonText()), showSubinfo && h("span", { key: 'cbdd0d38c80e9e08b877df058f498c838a991845', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '131f48af6df1ac0e15d0e1e7156d478e57513304', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '81a6bcdd69a1fb5a589dbb3962d48e935fc92e8d', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'e03cf5762c8be59a54f083ae4166651392d74c5f',
|
|
507
507
|
// is-open is for the CSS transition in modern browsers
|
|
508
508
|
// hidden is to wait for position calculations in Firefox
|
|
509
509
|
class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
|
|
510
510
|
// @ts-ignore -- don't tell typescript but we're in the future
|
|
511
|
-
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '
|
|
511
|
+
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: 'a5379ff676a5f5c0728b4fc37401c8a3057b9088', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
|
|
512
512
|
this.dropdownEl.hidePopover();
|
|
513
513
|
}, onOptionListAllSelected: () => {
|
|
514
514
|
this.returnFocus = true;
|
|
@@ -516,7 +516,7 @@ const Select = class {
|
|
|
516
516
|
}, onOptionListAllDeselected: () => {
|
|
517
517
|
this.returnFocus = true;
|
|
518
518
|
this.wmSelectAllDeselected.emit();
|
|
519
|
-
} }, h("slot", { key: '
|
|
519
|
+
} }, h("slot", { key: '0602b636a304dfb5b2c6514cd3d3baf1c8d8192e' }))), this.info && (h("div", { key: '1fdd831d0166c7553a5c7f16f6fa64f5fcaa25eb', class: "info" }, this.info)), h("div", { key: '9ac07d0fd62ce906e7d7a0aee87a42eb5e42cee6', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '5be4d3add955d50ccf5a89711402b1ba21e1050c', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
|
|
520
520
|
}
|
|
521
521
|
static get delegatesFocus() { return true; }
|
|
522
522
|
get el() { return getElement(this); }
|
|
@@ -211,7 +211,7 @@ const Pagination = class {
|
|
|
211
211
|
render() {
|
|
212
212
|
return (
|
|
213
213
|
// do not render the component if there's only one page
|
|
214
|
-
this.totalItems > this.itemsPerPage && (h("nav", { key: '
|
|
214
|
+
this.totalItems > this.itemsPerPage && (h("nav", { key: '8c094b7e649c43b8203b39f2a6afdd8f1cf727c1', "aria-label": `${this.label || this.defaultLabel}. ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '23aee5fba033dfb71cc355d3dfcf8ebf5086a166', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
|
|
215
215
|
}
|
|
216
216
|
static get delegatesFocus() { return true; }
|
|
217
217
|
get el() { return getElement(this); }
|
|
@@ -100,7 +100,7 @@ const ProgressIndicator = class {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: '85d7f352ae7aae5d78fff9beac81ca31442293a6', onBlur: () => exitChart.call(this) }, h("div", { key: 'd825d1303dda2945217e5cab2b44557f013b131d', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.mode} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: "0", "aria-roledescription": this.chartRoleDescription, "aria-describedby": `chart-instructions` }, h("label", { key: '01e6bb346a880614bb6e831e0926de2d3c804680', id: `label-${this.uid}`, class: "label", htmlFor: `graphic-${this.uid}` }, h("span", { key: '72bbfcb2bb807752e73174c885c1074a29b38805', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.mode && this.renderBarOrDoughnut(), this.mode === "doughnut" ? renderLegend.call(this, this.mode) : "", h("priv-chart-popover-old", { key: '71919459c9cb79897b29771516519354c07bd5a5', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.mode === "doughnut" ? renderCompletionMessage.call(this) : ""), renderInstructionsText()));
|
|
104
104
|
}
|
|
105
105
|
static get delegatesFocus() { return true; }
|
|
106
106
|
get el() { return getElement(this); }
|
|
@@ -173,7 +173,7 @@ const ProgressMonitor = class {
|
|
|
173
173
|
}))));
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h(Host, { key: '
|
|
176
|
+
return (h(Host, { key: '59bb74cea1b1f2e3d58d04654e0e65a482950f3f', class: this.mode === "doughnut" ? "row" : "column" }, this.modeInitialized && this.groupLegend && this.mode === "bar" && this.renderLegend(), this.modeInitialized && h("slot", { key: 'ff92bc4d21f0277b837796b63d1f62804931cd7b' })));
|
|
177
177
|
}
|
|
178
178
|
static get delegatesFocus() { return true; }
|
|
179
179
|
get el() { return getElement(this); }
|
|
@@ -175,10 +175,10 @@ const Search = class {
|
|
|
175
175
|
* End search and find render helpers
|
|
176
176
|
*/
|
|
177
177
|
render() {
|
|
178
|
-
return (h(Host, { key: '
|
|
178
|
+
return (h(Host, { key: 'f6ad1575d3d98598c53acdab13501e852938847b' }, h("div", { key: 'f5cf56ed765036dfd6ffa7b89a306beb5d26bfe3', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: 'bef933845ee4ab06e444c010d6fb27521115d377', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
|
|
179
179
|
id: "search.typeToFilterResults",
|
|
180
180
|
defaultMessage: "Type to filter the results",
|
|
181
|
-
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '
|
|
181
|
+
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '80042b82d4a2d0552a25c4049bf2e07b53c382aa', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: 'fd741eb70958ae07089b0aa962580c6eee95a832', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
|
|
182
182
|
}
|
|
183
183
|
static get delegatesFocus() { return true; }
|
|
184
184
|
get el() { return getElement(this); }
|
|
@@ -156,11 +156,11 @@ const Snackbar = class {
|
|
|
156
156
|
}, 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" }))), (!notification.link && notification.action) && (h("button", { id: `action-${notification.id}`, class: "link", onClick: () => this.snackLinkClicked(notification), onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, notification.action))), h("button", { id: `close-button-${notification.id}`, "aria-label": this.closeSnackMessage, class: "closesnack", tabindex: notification.link || notification.action ? 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 || notification.action ? 0 : -1, onFocus: () => (notification.link || notification.action) && this.snackDismissed(notification) })))));
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: 'f07da5e5b3f84c3204052cf37faa118c64ecfd45' }, h("div", { key: '9c76ca586e69af5035b086f023faa76aab39b239', ref: (el) => (this.snackAreaEl = el), class: {
|
|
160
160
|
"list-wrapper": true,
|
|
161
161
|
"user-is-tabbing": this.isTabbing,
|
|
162
162
|
empty: this.parsedNotifications.length == 0,
|
|
163
|
-
} }, this.renderSnackbars()), h("div", { key: '
|
|
163
|
+
} }, this.renderSnackbars()), h("div", { key: '6cc4cb95390ffccbd6e1f4ec535aed7774184c3a', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
164
164
|
}
|
|
165
165
|
get el() { return getElement(this); }
|
|
166
166
|
static get watchers() { return {
|
|
@@ -37,9 +37,9 @@ const TabItem = class {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const isDark = this.parentTabList && this.parentTabList.customBackground == "dark";
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '09406067cd1ae000a78ddff45e3db8041d599477', role: "presentation" }, h("li", { key: 'f0206a113c2604be1922316c8447622adac13009', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: 'a30638675f1e75fd13bc552c0a46589e7bf37b09', class: `tab`, role: "tab", ref: (el) => (this.linkEl = el), id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1, onClick: this.tabClicked, onFocus: () => {
|
|
41
41
|
this.wmIntTabFocused.emit({ tabItem: this.el });
|
|
42
|
-
} }, h("slot", { key: '
|
|
42
|
+
} }, h("slot", { key: '05aed02e5c3472ea6a19ff066225992e495572ad' })))));
|
|
43
43
|
}
|
|
44
44
|
static get delegatesFocus() { return true; }
|
|
45
45
|
get el() { return getElement(this); }
|
|
@@ -307,15 +307,15 @@ const TabList = class {
|
|
|
307
307
|
this.announcement = message;
|
|
308
308
|
}
|
|
309
309
|
render() {
|
|
310
|
-
return (h(Host, { key: '
|
|
310
|
+
return (h(Host, { key: '7c219aa329454ee23c71fb9190d86fd393e60c97' }, h("div", { key: '87caaf180bb566e91b1c27c42db0d2a63027f23f', class: "component-wrapper" }, h("wm-button", { key: 'cf22c79e116485ca31b7d1053296f504c5807b62', class: `left-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#previous", tooltip: intl.formatMessage({
|
|
311
311
|
id: "tabs.showPreviousTabs",
|
|
312
312
|
defaultMessage: "Show previous tabs",
|
|
313
313
|
description: "Tooltip for button scrolling tab group.",
|
|
314
|
-
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: '
|
|
314
|
+
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: '4c7b517327719497737fc4d36ae1b53288524d53', id: "tablist", ref: (el) => (this.tabContainerEl = el), class: `tabcontainer ${this.customBackground || ""} ${this.containerFadeLeft ? "fade-left" : ""} ${this.containerFadeRight ? "fade-right" : ""}`, role: "tablist", tabIndex: -1 }, h("slot", { key: '7b0ff4de54e705b4296a1e48ccba999143840bac' })), h("wm-button", { key: '77655a0882a65a2cd71f4a7fc8f1f866da8c3c40', class: `right-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#next", tooltip: intl.formatMessage({
|
|
315
315
|
id: "tabs.showNextTabs",
|
|
316
316
|
defaultMessage: "Show next tabs",
|
|
317
317
|
description: "Tooltip for button scrolling tab group.",
|
|
318
|
-
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: '
|
|
318
|
+
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: 'c8b221bda334dcf40c28a4a1e3134de72a868018', "aria-live": "assertive", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
319
319
|
}
|
|
320
320
|
static get delegatesFocus() { return true; }
|
|
321
321
|
get el() { return getElement(this); }
|
|
@@ -342,7 +342,7 @@ const TabPanel = class {
|
|
|
342
342
|
this.tabPanelLoaded.emit({ tabId: this.tabId });
|
|
343
343
|
}
|
|
344
344
|
render() {
|
|
345
|
-
return h(Host, { key: '
|
|
345
|
+
return h(Host, { key: '1e812485c6cc7a99b916a3aff9e105dee4f29522', role: "tabpanel", tabIndex: "-1", class: { "tab-hidden": !this.active } });
|
|
346
346
|
}
|
|
347
347
|
get el() { return getElement(this); }
|
|
348
348
|
};
|
|
@@ -939,10 +939,10 @@ const TagInput = class {
|
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
941
|
render() {
|
|
942
|
-
return (h("div", { key: '
|
|
942
|
+
return (h("div", { key: '8d2095f3a1db6e25151f0b95442d22a3d47998d7', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '851ca7472077c97fd6118989c72d67d9ca7485ff', class: "label-wrapper" }, h("label", { key: 'ef417da80549eeba2a99d6a213b49099e910f55a', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'a66f39755126c99fe1fcf278bdfff4004a96f6cc', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '6435ab846c56f1bb060a446406a2237ce9cf5786', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: 'ae62e931909c8f4e7e6533b70981a7ed6eca8a25', class: "upper-row" }, h("div", { key: 'ecd8bb747597ce4f4929c0d4a8f7b7cfddb88f5d', class: "svg-icon svg-search" }), h("div", { key: 'c58ffdff0a6592e2ccd85363238991ded57cdf8d', class: `tags-and-input-wrapper` }, h("ul", { key: '8304818f05cb42531fed95d87b0f5050ea7cc81d', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-labelledby": "sr-instructions", tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
943
943
|
this.focusedTagIndex = undefined;
|
|
944
944
|
this.handleBlur(ev);
|
|
945
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("div", { key: '
|
|
945
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("div", { key: 'a4cdbcc77d14c8ea4b4037683c77c8c153ee7e7d', class: "sr-only", id: "sr-instructions" }, this.label, ". ", this.tagAreaInstructions), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: '727b79d442e2a9cf23dbdf38bead067f232b8afd', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '906465be7dd186e91f1eaed2c02f460e18a5ee25', id: "info", class: "info-text" }, this.info)), h("div", { key: '483dd46bb26acfe7782a26e3aeab958a5e45bcce', id: "error" }, this.errorMessage), h("div", { key: 'b9d1ccd00c15921e8a5d01cd8bac35d9540cc6da', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
946
946
|
}
|
|
947
947
|
static get delegatesFocus() { return true; }
|
|
948
948
|
get el() { return getElement(this); }
|
|
@@ -15,9 +15,17 @@ const TagOption = class {
|
|
|
15
15
|
this.col3 = undefined;
|
|
16
16
|
this.col4 = undefined;
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @description Programmatically selects this option, adding it as a tag.
|
|
20
|
+
* @returns A promise that resolves once the event has been emitted.
|
|
21
|
+
*/
|
|
18
22
|
async emitSelectedEvent() {
|
|
19
23
|
this.wmTagOptionSelected.emit();
|
|
20
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* @description Programmatically deselects this option, removing it as a tag.
|
|
27
|
+
* @returns A promise that resolves once the event has been emitted.
|
|
28
|
+
*/
|
|
21
29
|
async emitDeselectedEvent() {
|
|
22
30
|
this.wmTagOptionDeselected.emit();
|
|
23
31
|
}
|
|
@@ -77,7 +77,7 @@ const Textarea = class {
|
|
|
77
77
|
this.announcement = message;
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h("div", { key: '
|
|
80
|
+
return (h("div", { key: 'db8960893db7400b6e9df53fc98ac16f4522ba46', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'b4681419e3354e19725cdd9e9ecf3dea565792eb', class: "label-wrapper" }, h("label", { key: '4e10dd8ad84eda66e3a8b3b204557b4b6fad21c9', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '6ae24fb92cac6fdb98f5f526e439d4d2af9a9e14', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.labelPosition !== "none" && this.requiredField && (h("span", { key: 'aafea7d9fa8474c482b92075e8ff81524b34226d', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '62802fb4c7688337126de11803a011209890eee0', class: "inner-wrapper" }, h("div", { key: '62c2dfd068a69a05c958cf60c24ad86ade453a3e', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '8a6f1ad2fdd8019b4371d4b94fbf11287960442d', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: '4f8e50fbbda24c6a687bf1a558f162183e969cb9', id: "info", class: "info" }, this.info)), h("div", { key: 'cd1b582734f4104ddb65268ab72e628b0bbf4448', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '9532c1db53dc29bd69a43b63ffda5ac44741b10b', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
81
81
|
}
|
|
82
82
|
get el() { return getElement(this); }
|
|
83
83
|
static get watchers() { return {
|
|
@@ -38,12 +38,24 @@ const Timepicker = class {
|
|
|
38
38
|
// string "false" needs to be treated as bool False because react wrappers convert bool to string.
|
|
39
39
|
return toBool(this.disabled);
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* @description Validates a time string against both 12-hour and 24-hour formats.
|
|
43
|
+
* @param input The time string to validate.
|
|
44
|
+
* @returns `true` if the string is a valid time, `false` otherwise.
|
|
45
|
+
*/
|
|
41
46
|
async isValidTime(input) {
|
|
42
47
|
return this.isValidTimeInternal(input);
|
|
43
48
|
}
|
|
44
49
|
isValidTimeInternal(input) {
|
|
45
50
|
return this.twelveHrValid.test(input) || this.twentyFourHrValid.test(input);
|
|
46
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* @description Converts a time string between 12-hour and 24-hour formats.
|
|
54
|
+
* @param format The target format: `"12"` for 12-hour (e.g. `"02:30 PM"`), `"24"` for
|
|
55
|
+
* 24-hour (e.g. `"14:30"`).
|
|
56
|
+
* @param time The time string to convert. Accepts both 12-hour and 24-hour input.
|
|
57
|
+
* @returns The reformatted time string.
|
|
58
|
+
*/
|
|
47
59
|
async reformatTime(format, time) {
|
|
48
60
|
return this.reformatTimeInternal(format, time);
|
|
49
61
|
}
|
|
@@ -288,13 +300,13 @@ const Timepicker = class {
|
|
|
288
300
|
return this.times.map((time, index) => (h("li", { id: `option${index + 1}`, "data-time": time, role: "option", onClick: () => this.handleOptionClick(time) }, this.reformatTimeInternal("12", time))));
|
|
289
301
|
}
|
|
290
302
|
render() {
|
|
291
|
-
return (h(Host, { key: '
|
|
303
|
+
return (h(Host, { key: '1831afe766153cef35d069831724265be8648796', onBlur: () => this.close(false) }, h("div", { key: '20aba83b2b72108b4b5e958896b33ff6ea948daa', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '890f7200653f77315cb9a16414a229bb0217eb69', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '866856e67edf3ab87d82ce38ac5df95a2ca2c3b2', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '7eb6c6987c41a6816db95238d82c3de9a987f975', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '3b779c734e9be5f59535d48b9b4c90b508a61a6a' }, h("div", { key: '07e1c25e4c09d0be324ab21c73419710e27475e0', class: "inner-wrapper" }, h("input", { key: '0443feb1b7a9c02fdb3230d420f7dc398f5f5aab', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: 'f34364aa09c04761d53ecb74a6bfca976e19e1a5', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
|
|
292
304
|
// This addresses an issue in Safari, where clicking buttons does not focus them
|
|
293
305
|
// if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
|
|
294
306
|
onMouseDown: (ev) => {
|
|
295
307
|
ev.preventDefault();
|
|
296
308
|
this.buttonEl.focus();
|
|
297
|
-
} }, h("span", { key: '
|
|
309
|
+
} }, h("span", { key: '68eae4f78064e5aad61db87234db57ff1e4ad6d1', class: "svg-icon svg-time" })), h("ul", { key: '3addacc9ac7614159e4875832b9540a295fbab23', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '90044d1948a90a9d97d936f3c0097480eec53e2b', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '436ed4ccb47cca85c3655adaf8f34fe3eaa7243a', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
|
|
298
310
|
}
|
|
299
311
|
static get delegatesFocus() { return true; }
|
|
300
312
|
get el() { return getElement(this); }
|
|
@@ -234,11 +234,11 @@ const Toggletip = class {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
render() {
|
|
237
|
-
return (h(Host, { key: '
|
|
237
|
+
return (h(Host, { key: 'ddac8497dcda9e0189cce22d3dbf1155fb87dc1f', class: `size-${this.targetSize}` }, h("button", { key: 'e3b137bd798f71756e39aa1df07d3aac1ed5e4c0', ref: (el) => (this.buttonEl = el), class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
|
|
238
238
|
// In order to position the tooltip identically to the toggletip, its presence is determined by these four events
|
|
239
|
-
onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '
|
|
239
|
+
onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '65fb469a82de024d88eb7f3f60f16888dd2c8183', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip",
|
|
240
240
|
// @ts-ignore - despite what Typescript says, this is a valid event for popover elements
|
|
241
|
-
onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: '
|
|
241
|
+
onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: 'c3cd8f6083ca5eedbdfb8efa4a60231c9dfb40f8', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
242
242
|
}
|
|
243
243
|
static get delegatesFocus() { return true; }
|
|
244
244
|
get el() { return getElement(this); }
|
|
@@ -322,9 +322,9 @@ const Uploader = class {
|
|
|
322
322
|
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")))));
|
|
323
323
|
}
|
|
324
324
|
render() {
|
|
325
|
-
return (h(Host, { key: '
|
|
325
|
+
return (h(Host, { key: 'ea1278a812caed995ebcc9b895e34ff12f5d06c7', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: '674d1a5a2ef621337fe7d73a5fa07cac8dba45f3', 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
|
|
326
326
|
,
|
|
327
|
-
"aria-atomic": "true" }), h("div", { key: '
|
|
327
|
+
"aria-atomic": "true" }), h("div", { key: '13560fdcf221bbd60fa188abf88189e0f1d1a75d', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
328
328
|
}
|
|
329
329
|
static get delegatesFocus() { return true; }
|
|
330
330
|
get el() { return getElement(this); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./index-3425d80d.js";var version="5.31.0-alpha.1";if(window.navigator.plugins.length>0){console.log("%cRipple component library %c%s","color: #575195; font-weight: bold","font-weight: bold",version)}function wmComponentKeys(o){if(o.key=="Tab"){var n=new Event("wmUserIsTabbing");window.dispatchEvent(n);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(o.key=="ArrowLeft"||o.key=="ArrowUp"||o.key=="ArrowRight"||o.key=="ArrowDown"){var n=new Event("wmUserIsKeying");window.dispatchEvent(n);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function wmComponentMouseDownOnce(){var o=new Event("wmUserIsNotTabbing");window.dispatchEvent(o);document.querySelector("body").classList.remove("wmcl-user-is-tabbing");document.querySelector("body").classList.remove("wmcl-user-is-keying")}window.addEventListener("keydown",wmComponentKeys);window.addEventListener("mousedown",wmComponentMouseDownOnce);var tooltipContainer=document.createElement("div");tooltipContainer.id="wm-tooltip-container";var tooltipEl=document.createElement("div");tooltipEl.id="wm-tooltip";tooltipEl.classList.add("wm-tooltip");tooltipEl.setAttribute("popover","manual");tooltipEl.setAttribute("aria-hidden","true");var tooltipStyles=document.createElement("style");tooltipStyles.textContent="\n.wm-tooltip {\n position: fixed;\n overflow: hidden;\n pointer-events: none;\n line-height: normal;\n font-family: inherit;\n font-size: 0.875rem;\n text-transform: none;\n font-weight: normal;\n background: var(--wmcolor-tooltip-background);\n color: var(--wmcolor-tooltip-text);\n z-index: 999999;\n max-width: var(--wmTooltipMaxWidth, 13.75rem);\n margin-right: 1.5rem;\n padding: 0.375rem;\n transition-property: opacity;\n transition-delay: 0s;\n opacity: 0;\n inset: unset;\n top: 0;\n left: 0;\n transform: translateZ(0);\n will-change: transform;\n transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));\n border: none;\n}\n\n.wm-tooltip:popover-open {\n opacity: 0;\n}\n\n.wm-tooltip.show {\n transition-delay: 500ms;\n opacity: 1;\n}\n";var body=document.querySelector("body");if(body){document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);body.appendChild(tooltipContainer)}else{document.addEventListener("DOMContentLoaded",(function(){var o=document.querySelector("body");document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);o.appendChild(tooltipContainer)}))}var globalFn=function(){};var globalScripts=globalFn;export{globalScripts as g};
|