@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
|
@@ -129,11 +129,11 @@ const ChartPopoverOld = class {
|
|
|
129
129
|
const titleAffordance = this.sliceDetails &&
|
|
130
130
|
this.sliceDetails.title &&
|
|
131
131
|
(this.sliceDetails.title[0] === "-" ? "negative" : this.sliceDetails.title[0] === "+" ? "positive" : "");
|
|
132
|
-
return (index.h(index.Host, { key: '
|
|
132
|
+
return (index.h(index.Host, { key: 'ffd6a3d344b02332b04e67a101b0c0aebc4bf829', class: `${((_a = this.sliceDetails) === null || _a === void 0 ? void 0 : _a.buttonText) && this.open ? "has-interactive" : ""}` }, !!this.open && this.sliceDetails ? (index.h("div", { "aria-hidden": "true", class: "popover" }, index.h("h1", { class: `title ${titleAffordance}` }, this.sliceDetails.title), index.h("p", { class: "text" }, this.sliceDetails.text), this.sliceDetails.buttonText ? (
|
|
133
133
|
// @ts-ignore
|
|
134
134
|
index.h("button", { tabindex: "-1",
|
|
135
135
|
// @ts-ignore
|
|
136
|
-
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, index.h("svg", { class: "btn-icon", height: "9", width: "9" }, index.h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), index.h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), index.h("div", { key: '
|
|
136
|
+
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, index.h("svg", { class: "btn-icon", height: "9", width: "9" }, index.h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), index.h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), index.h("div", { key: '41246afef9c521d8db48d7d272835c6829d5a148', ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
|
|
137
137
|
}
|
|
138
138
|
get el() { return index.getElement(this); }
|
|
139
139
|
static get watchers() { return {
|
|
@@ -118,9 +118,9 @@ const ChartPopover = class {
|
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
120
|
const titleAffordance = this.header && (this.header[0] === "-" ? "negative" : this.header[0] === "+" ? "positive" : "");
|
|
121
|
-
return (index.h(index.Host, { key: '
|
|
121
|
+
return (index.h(index.Host, { key: 'a863ab9a9d4b922fe67492a7139fa64d527f178c', class: this.isKeying ? "user-is-keying" : "" }, index.h("div", { key: '0679e51c1459d5456c0ac037c966a382c33bfd85', ref: (el) => (this.popoverEl = el), popover: "manual", "aria-hidden": "true", class: "popover" }, index.h("h1", { key: '69fb1bd19cb22af5a05dcd7ace7d846947d5f18b', class: `title ${titleAffordance}` }, this.header), index.h("p", { key: '235905a6ad8b3cf5c7114aeb75d326ff442b7dc2', class: "text" }, this.text), this.buttonText ? (index.h("button", { tabindex: "-1",
|
|
122
122
|
// @ts-ignore
|
|
123
|
-
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, index.h("svg", { class: "btn-icon", height: "9", width: "9" }, index.h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), index.h("span", { class: "button-text" }, this.buttonText))) : ("")), index.h("div", { key: '
|
|
123
|
+
focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, index.h("svg", { class: "btn-icon", height: "9", width: "9" }, index.h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), index.h("span", { class: "button-text" }, this.buttonText))) : ("")), index.h("div", { key: '6c336c7d464df02267b4da0e3060d7f69cc12177', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.announcement)));
|
|
124
124
|
}
|
|
125
125
|
get el() { return index.getElement(this); }
|
|
126
126
|
static get watchers() { return {
|
|
@@ -193,7 +193,7 @@ const ChartLegend = class {
|
|
|
193
193
|
return this.processedData.map((item, idx) => (index.h("div", { class: "legend-item", key: item.barLegend, onClick: () => this.handleLegendItemClick(idx), onMouseEnter: () => this.handleLegendItemMouseEnter(idx), onMouseLeave: () => this.handleLegendItemMouseLeave() }, index.h("div", { class: this.getSwatchClassMap(item), style: { "--color": `var(--${item.color})` } }), index.h("div", { class: "label" }, item.barLegend), item.printValue && index.h("span", { class: `print-value` }, "(", item.printValue, ")"))));
|
|
194
194
|
}
|
|
195
195
|
render() {
|
|
196
|
-
return (index.h(index.Host, { key: '
|
|
196
|
+
return (index.h(index.Host, { key: '96690631fc06cb059813cf67adfb96a87a89ea03' }, index.h("div", { key: '68afe8f3ed1452d9e031ba8d0c2dbcbe6d57af78', class: `legend-container --${this.orientation} ${this.printMode ? "print-mode" : ""}`, "aria-hidden": "true" }, this.renderLegendItems())));
|
|
197
197
|
}
|
|
198
198
|
static get delegatesFocus() { return true; }
|
|
199
199
|
get el() { return index.getElement(this); }
|
|
@@ -19,7 +19,7 @@ const PrivNavigatorButton = class {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const { handleClick, altText } = this;
|
|
22
|
-
return (index.h("button", { key: '
|
|
22
|
+
return (index.h("button", { key: '2f94dbb64a96096e852ec572f16264600c7fca8f', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
23
23
|
}
|
|
24
24
|
static get delegatesFocus() { return true; }
|
|
25
25
|
get el() { return index.getElement(this); }
|
|
@@ -26,7 +26,7 @@ const PrivNavigatorItem = class {
|
|
|
26
26
|
render() {
|
|
27
27
|
const selectedClass = this.selected ? "selected" : "";
|
|
28
28
|
const focusedClass = this.focused ? "focused" : "";
|
|
29
|
-
return (index.h("div", { key: '
|
|
29
|
+
return (index.h("div", { key: '427929b24dd60459f8269a3d3ee746ac876ff31f', class: `navoption ${selectedClass} ${focusedClass}` }, index.h("slot", { key: '9c67b8bd2282efc3ca77d8805dd3278d3e0b3c4a' })));
|
|
30
30
|
}
|
|
31
31
|
get el() { return index.getElement(this); }
|
|
32
32
|
};
|
|
@@ -382,7 +382,7 @@ const PrivOptionList = class {
|
|
|
382
382
|
return (index.h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
|
|
383
383
|
}
|
|
384
384
|
render() {
|
|
385
|
-
return (index.h("div", { key: '
|
|
385
|
+
return (index.h("div", { key: 'edfca7bcea21613113e9498ce7f9aa5fc7546ce2', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), index.h("div", { key: '443fbc27fa3f25984f5eaada522a990b6941a5dd', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-label": this.optgroupLabel, ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), index.h("slot", { key: '7f6fb3e4667fcd951e98b7e5466416de817a8e55' })), index.h("div", { key: '8753468e7a2dd5bd17bd1cfdf72d7eac0b4faf6e', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
386
386
|
}
|
|
387
387
|
get el() { return index.getElement(this); }
|
|
388
388
|
};
|
package/dist/cjs/ripple.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-bb947bd5.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-df7ca137.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -347,7 +347,7 @@ const ActionMenu = class {
|
|
|
347
347
|
return null;
|
|
348
348
|
}
|
|
349
349
|
render() {
|
|
350
|
-
return (index.h(index.Host, { key: '
|
|
350
|
+
return (index.h(index.Host, { key: '19a7b9bbd017ed6100d605c56d497f99084bdadc', onBlur: () => this.close(false) }, index.h("div", { key: '02352c77a57c3811d5bc66be6eeed8ebdf413aa9', class: functions.getTextDir() }, index.h("button", { key: '070cea3ac5da73352e952b87d342d4b98716346b', ref: (el) => (this.menubtnEl = el), id: "menubtn", class: `wm-button -${this.internalButtonType}${this.darkMode ? " dark" : ""}${this.isTabbing ? " user-is-tabbing" : ""}`, disabled: this.disabled, "aria-label": this.internalButtonType === "icononly"
|
|
351
351
|
? this.labelForIdenticalButtons || this.tooltip
|
|
352
352
|
: this.labelForIdenticalButtons || undefined, "aria-expanded": this.isExpanded ? "true" : "false", "aria-haspopup": "menu", popoverTarget: "menu", popoverTargetAction: "toggle", onMouseEnter: () => this.actionMenuType === "icon" &&
|
|
353
353
|
functions.showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onMouseLeave: () => functions.hideTooltip(), onFocus: () => this.isTabbing &&
|
|
@@ -355,9 +355,9 @@ const ActionMenu = class {
|
|
|
355
355
|
functions.showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onBlur: (ev) => {
|
|
356
356
|
functions.hideTooltip();
|
|
357
357
|
this.handleButtonBlur(ev);
|
|
358
|
-
} }, this.actionMenuType === "icon" && (index.h("span", { key: '
|
|
358
|
+
} }, this.actionMenuType === "icon" && (index.h("span", { key: '24f876ff7aba8a8f0628c768fd7a3cae4c6b13c1', class: "svg-icon svg-more-options", style: { "--icon-size": "24px" } })), this.actionMenuType !== "icon" && index.h("span", { key: 'dfe646329373fe5839fba003ec15f3345982097e', class: "button-text" }, this.buttonText), (this.actionMenuType === "selector" || this.actionMenuType === "selector-primary") && (index.h("div", { key: '8872e66a185503cd1f6fc298e3fb2e28e67d1ae6', class: "selector-icon svg-icon svg-expand-more" }))), index.h("div", { key: 'a6b8ecffdf3c9886e0b01d4783b22403b2d7c724', class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "open-up" : ""} ${this.horizontalPosition}`, id: "menu", popover: "auto", tabindex: -1, role: "menu", ref: (el) => (this.dropdownEl = el),
|
|
359
359
|
// @ts-ignore -- don't tell typescript but we're in the future
|
|
360
|
-
onToggle: (ev) => this.handleToggle(ev) }, index.h("slot", { key: '
|
|
360
|
+
onToggle: (ev) => this.handleToggle(ev) }, index.h("slot", { key: '3d0b49daa3f5c2c62edb3582a0de2f53888ff2e8' })))));
|
|
361
361
|
}
|
|
362
362
|
static get delegatesFocus() { return true; }
|
|
363
363
|
get el() { return index.getElement(this); }
|
|
@@ -381,6 +381,7 @@ const Menuitem = class {
|
|
|
381
381
|
this.wmTabKeyPressed = index.createEvent(this, "wmTabKeyPressed", 7);
|
|
382
382
|
this.wmLetterPressed = index.createEvent(this, "wmLetterPressed", 7);
|
|
383
383
|
this.wmMenuitemBlurred = index.createEvent(this, "wmMenuitemBlurred", 7);
|
|
384
|
+
this.onClickFunc = null;
|
|
384
385
|
this.descriptionCharLimit = 100;
|
|
385
386
|
this.disabled = false;
|
|
386
387
|
this.icon = undefined;
|
|
@@ -474,7 +475,7 @@ const Menuitem = class {
|
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
477
|
render() {
|
|
477
|
-
return (index.h(index.Host, { key: '
|
|
478
|
+
return (index.h(index.Host, { key: 'ae1d93489feffb5016582d3f1707ce6465b1dcc7', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, index.h("div", { key: '8e06a217bb068a4d612290badbe92e4971483e43', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, index.h("div", { key: '185d673501208073456b6e943c52fd9b14f91023', class: "main-text" }, this.icon && this.renderIcon(), this.el.textContent), this.description ? index.h("div", { class: "description" }, this.description) : "")));
|
|
478
479
|
}
|
|
479
480
|
get el() { return index.getElement(this); }
|
|
480
481
|
static get watchers() { return {
|
|
@@ -265,7 +265,7 @@ const Button = class {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
render() {
|
|
268
|
-
return (index.h(index.Host, { key: '
|
|
268
|
+
return (index.h(index.Host, { key: '76a5421d00532673476644aae829a5e4c1705b1f', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, index.h("button", { key: '576012f5b0262fb6ca7dd435e869c4276cc0da06', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-expanded": this.isAriaExpanded !== undefined ? this.isAriaExpanded.toString() : undefined, "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => functions.hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => functions.hideTooltip(), onClick: () => functions.hideTooltip() }, this.icon && this.renderIcon(), !this.buttonType.startsWith("navigational") && !this.buttonType.startsWith("icononly") && (index.h("span", { key: '2c6548c3708dc18fec38d43dbf75583a0e254cf0', class: "button-text" }, index.h("slot", { key: '07f076ee9011eb1294315b29cdbb350e8e55270f' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (index.h("div", { key: '0332bc4f94a44c5b973cee95da7065a05803d0b7', class: "selector-icon svg-icon svg-expand-more" })))));
|
|
269
269
|
}
|
|
270
270
|
static get delegatesFocus() { return true; }
|
|
271
271
|
get el() { return index.getElement(this); }
|
|
@@ -435,7 +435,7 @@ const ChartBar = class {
|
|
|
435
435
|
render() {
|
|
436
436
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
437
437
|
const rowCount = (this.isGrouped ? this.processedData.size : (_a = this.processedData.get(null)) === null || _a === void 0 ? void 0 : _a.length) || 1; // processedData keys are the group names, ungrouped data belongs under a key of null
|
|
438
|
-
return (index.h(index.Host, { key: '
|
|
438
|
+
return (index.h(index.Host, { key: 'fee905a779328fdabd70ead14d0be757809a20b7' }, index.h("div", { key: '259b8520be79541071c4e9d322d52253b1f31905', class: "popover-wrapper" }, index.h("priv-chart-popover", { key: '4e67366a3e3328621228faf7b7006cc28ea5d6c6', ref: (el) => (this.popoverEl = el), onIntChartPopoverToggled: (ev) => this.handlePopoverToggled(ev) })), index.h("div", { key: '040f5c7d13fa72d062fa82069f9da9f11aefa01c', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${((_b = this.printMode) !== null && _b !== void 0 ? _b : (_c = this.config) === null || _c === void 0 ? void 0 : _c.printMode) ? "print-mode" : ""}`, tabindex: "0", role: "application", onKeyDown: (ev) => this.handleChartKeyDown(ev), onBlur: (ev) => this.handleComponentBlur(ev), "aria-roledescription": intl.chartMessages.interactiveChart, "aria-describedby": "chart-instructions", "aria-label": (_d = this.config) === null || _d === void 0 ? void 0 : _d.label }, ((_f = (_e = this.config) === null || _e === void 0 ? void 0 : _e.showLabel) !== null && _f !== void 0 ? _f : true) && (index.h("label", { key: '913ee009cdccb63eb97d7b089e47b3a95afbd033', id: "label", class: "label" }, index.h("span", { key: 'df61bc316cd501e9747b88705da29c4dff1e8409', class: "label-text" }, (_g = this.config) === null || _g === void 0 ? void 0 : _g.label), this.subinfoText ? index.h("span", { class: "subinfo" }, this.subinfoText) : "")), this.showLegend === "top" && this.renderLegend("horizontal"), index.h("div", { key: '7e62e9b642f8c9c82a85a0444718688b559df321', class: "chart-wrapper" }, index.h("div", { key: '253dec169ae191463f5bae1762927903e28865b9', class: "chart-left-side" }, this.showLegend === "left" && this.renderLegend("vertical"), index.h("div", { key: 'a334e424f2e6d84f2573958392d998918b108282', class: "left-axis-label" }, index.h("span", { key: '3e5ce3a0e0de6c6681e8128285f9cb68d380c455', class: "axis-label-text" }, (_h = this.config) === null || _h === void 0 ? void 0 : _h.categoryAxisLabel))), index.h("div", { key: '6a8569d3747e99acad477eeaa3d23a8e2cd9e86d', class: "chart-center" }, index.h("div", { key: '9fdd5de7923748a3ece1c878b67345c09ade7b16', class: "chart-area", style: { "--row-count": rowCount.toString() } }, this.processedData && (this.isGrouped ? this.renderGroupLegends() : this.renderBarLegends()), index.h("div", { key: '384233d4f76764d9e58d4512398b58c2e08da6fa', class: `bar-area ${this.isKeying ? "user-is-keying" : ""} ${this.isGrouped ? "grouped" : ""}`, ref: (el) => (this.barAreaEl = el) }, this.gridVisible && this.renderGrid(), ((_j = this.config) === null || _j === void 0 ? void 0 : _j.gridMax) != undefined && (this.isGrouped ? this.renderGroupedBars() : this.renderBars()))), index.h("div", { key: '029ce6b851112ba6f3a0bf02f52003fe33ce3236', class: "bottom-axis-label" }, index.h("span", { key: 'e8e23fbf1446d7e3c6639233ee1bdd95d39be38f', class: "axis-label-text" }, (_k = this.config) === null || _k === void 0 ? void 0 : _k.valueAxisLabel)), this.gridVisible && this.renderXAxis()), index.h("div", { key: '0019f06abd0b37f496960c499d10a12ca616a6bb', class: "chart-right-side" }, this.showLegend === "right" && this.renderLegend("vertical"))), this.showLegend === "bottom" && this.renderLegend("horizontal"), chartFunctions.renderInstructionsText())));
|
|
439
439
|
}
|
|
440
440
|
static get delegatesFocus() { return true; }
|
|
441
441
|
get el() { return index.getElement(this); }
|
|
@@ -614,7 +614,7 @@ const ChartColumn = class {
|
|
|
614
614
|
// #endregion rendering
|
|
615
615
|
render() {
|
|
616
616
|
var _a, _b, _c, _d, _e, _f;
|
|
617
|
-
return (index.h(index.Host, { key: '
|
|
617
|
+
return (index.h(index.Host, { key: 'b51ad062997d2af1ef9aa4cc77e69b00417052cc' }, index.h("div", { key: 'e69ca509ec69daf49c384a013cb65929a468dc8b', class: "popover-wrapper" }, index.h("priv-chart-popover", { key: '335e7e4681ce4227e03a83ddd4dd2c1a599fd9b0', ref: (el) => (this.popoverEl = el), onIntChartPopoverToggled: (ev) => this.handlePopoverToggled(ev) })), index.h("div", { key: '2198b8cdb1b1293c4dfb8a18673ec1f941ab252d', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${((_a = this.printMode) !== null && _a !== void 0 ? _a : (_b = this.config) === null || _b === void 0 ? void 0 : _b.printMode) ? "print-mode" : ""}`, style: this.isPlotWidthLimited ? { "--forced-width": `${this.printWidthPx}px` } : undefined, tabindex: "0", role: "application", onKeyDown: (ev) => this.handleChartKeyDown(ev), onBlur: (ev) => this.handleComponentBlur(ev), "aria-roledescription": intl.chartMessages.interactiveChart, "aria-describedby": "chart-instructions", "aria-label": (_c = this.config) === null || _c === void 0 ? void 0 : _c.label }, ((_e = (_d = this.config) === null || _d === void 0 ? void 0 : _d.showLabel) !== null && _e !== void 0 ? _e : true) && (index.h("label", { key: '6a31a705fc24b21eb74df46a440c4e5a70c9d4f4', id: "label", class: "label" }, index.h("span", { key: 'c4b0ab318e570dcc7dfeaab05e4f4e00329de72c', class: "label-text" }, (_f = this.config) === null || _f === void 0 ? void 0 : _f.label), this.subinfoText ? index.h("span", { class: "subinfo" }, this.subinfoText) : "")), this.showLegend === "top" && this.renderLegend("horizontal"), index.h("div", { key: 'e1542b6b9f1e157f1a6e0a02c01a9b66d3954952', class: "chart-wrapper" }, index.h("div", { key: 'dd07a9a03778b3d3665d553e4b581766efbb117d', class: "chart-left-side" }, this.showLegend === "left" && this.renderLegend("vertical")), this.data && this.renderPlotContainers(), index.h("div", { key: '959c73972b14fb2e31a0273364983a61d89405ed', class: "chart-right-side" }, this.showLegend === "right" && this.renderLegend("vertical"))), this.showLegend === "bottom" && this.renderLegend("horizontal"), chartFunctions.renderInstructionsText())));
|
|
618
618
|
}
|
|
619
619
|
static get delegatesFocus() { return true; }
|
|
620
620
|
get el() { return index.getElement(this); }
|
|
@@ -153,7 +153,7 @@ const Chart = class {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (index.h(index.Host, { key: '
|
|
156
|
+
return (index.h(index.Host, { key: 'e0a972bc5e47bead2080f995f6ac7622a9508f4e', onBlur: () => chartFunctions.exitChart.call(this) }, index.h("div", { key: 'a9d2e2b8309229208e9432e7756432f8c4ed0585', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": intl.chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, index.h("label", { key: '5a2acae3749eed0ce29ce20a43eff4a1324790bb', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, index.h("span", { key: '780eb58732f4ec691ca6623dc4e2e6fb05395faf', class: "label-text" }, this.label), this.subinfo ? index.h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && chartFunctions.renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && chartFunctions.renderLegend.call(this, this.currentChartType), index.h("priv-chart-popover-old", { key: '266e79755e835272f69e3f6a9d057fe1dab46837', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && chartFunctions.renderHiddenValuesMessage()), chartFunctions.renderInstructionsText()));
|
|
157
157
|
}
|
|
158
158
|
static get delegatesFocus() { return true; }
|
|
159
159
|
get el() { return index.getElement(this); }
|
|
@@ -288,8 +288,8 @@ const DateRange = class {
|
|
|
288
288
|
this.endCalEl.startDate = undefined;
|
|
289
289
|
this.endCalEl.endDate = undefined;
|
|
290
290
|
this.endCalEl.hoverDate = undefined;
|
|
291
|
-
this.startCalEl.view = "
|
|
292
|
-
this.endCalEl.view = "
|
|
291
|
+
this.startCalEl.view = "month";
|
|
292
|
+
this.endCalEl.view = "month";
|
|
293
293
|
this.isExpanded = false;
|
|
294
294
|
}
|
|
295
295
|
}
|
|
@@ -342,7 +342,7 @@ const DateRange = class {
|
|
|
342
342
|
const oldYear = functions.dateFind.year.asInt(this.oldFocusVal);
|
|
343
343
|
const newMonth = functions.dateFind.month.asInt(newFocusVal);
|
|
344
344
|
const oldMonth = functions.dateFind.month.asInt(this.oldFocusVal);
|
|
345
|
-
if (cal.view === "
|
|
345
|
+
if (cal.view === "month") {
|
|
346
346
|
if (newYear != oldYear || newMonth != oldMonth) {
|
|
347
347
|
this.liveRegionEl.innerHTML = functions.intl.formatMessage({
|
|
348
348
|
id: "date.viewingMonth",
|
|
@@ -455,6 +455,16 @@ const DateRange = class {
|
|
|
455
455
|
this.startCalEl.hoverDate = this.startCalEl.startDate === ev.detail ? undefined : ev.detail;
|
|
456
456
|
this.endCalEl.hoverDate = this.endCalEl.startDate === ev.detail ? undefined : ev.detail;
|
|
457
457
|
}
|
|
458
|
+
/**
|
|
459
|
+
* @description Converts a date string between `"US"` (mm/dd/yyyy), `"INT"` (dd/mm/yyyy),
|
|
460
|
+
* and `"ISO"` (YYYY-MM-DD). Direct US ↔ INT conversion is not supported — route through
|
|
461
|
+
* ISO as an intermediate step.
|
|
462
|
+
* @param inputFormat - Format of the input date string (`"US"`, `"INT"`, or `"ISO"`).
|
|
463
|
+
* @param outputFormat - Desired output format (`"US"`, `"INT"`, or `"ISO"`).
|
|
464
|
+
* @param date - The date string to reformat.
|
|
465
|
+
* @returns The reformatted date string, an empty string if `date` is omitted, or the original
|
|
466
|
+
* string unchanged if it cannot be parsed.
|
|
467
|
+
*/
|
|
458
468
|
async reformatDate(inputFormat, outputFormat, date) {
|
|
459
469
|
return this._reformatDate(inputFormat, outputFormat, date);
|
|
460
470
|
}
|
|
@@ -492,6 +502,12 @@ const DateRange = class {
|
|
|
492
502
|
}
|
|
493
503
|
}
|
|
494
504
|
}
|
|
505
|
+
/**
|
|
506
|
+
* @description Validates whether a string is a well-formed, calendar-correct ISO date
|
|
507
|
+
* (YYYY-MM-DD). Accounts for invalid day-of-month values and leap years.
|
|
508
|
+
* @param input - The string to validate.
|
|
509
|
+
* @returns `true` if the string is a valid ISO date, `false` otherwise.
|
|
510
|
+
*/
|
|
495
511
|
async isValidISO(input) {
|
|
496
512
|
return this._isValidISO(input);
|
|
497
513
|
}
|
|
@@ -541,25 +557,25 @@ const DateRange = class {
|
|
|
541
557
|
}
|
|
542
558
|
render() {
|
|
543
559
|
var _a, _b, _c, _d;
|
|
544
|
-
return (index.h(index.Host, { key: '
|
|
560
|
+
return (index.h(index.Host, { key: '576f553f284eef57b1b80d2770ebaaaa486b2a65', "aria-busy": "false" }, index.h("div", { key: 'd1b8749f84940f811277ea0d4cbdf6548f552a21', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, index.h("div", { key: '4879d908500055bbcf9435445a3c3352e08c8239', class: "range-wrapper cal", ref: (el) => (this.anchorEl = el) }, index.h("div", { key: '7659bcc76e110904961a006f57148c8eaf8ad81e', class: "label-wrapper", id: "start-label-wrapper" }, index.h("label", { key: '824d8f9ec6bd3ea6ec29e2670f30b4c2d83955a3', id: "startlabel", htmlFor: "start-date-input", class: "label" }, this.labelStart, this.requiredField && (index.h("span", { key: '8553c682f6a1be43f6a76a97d22ba67447c90c6d', "aria-hidden": "true", class: "required" }, "*")))), index.h("div", { key: 'f8d28e4e6759cb11622d9386873d6419f4de3fdc', class: "label-wrapper", id: "end-label-wrapper" }, index.h("label", { key: '4c3d0bbf5a58a4a0c567041fe51002f897f29592', id: "endlabel", htmlFor: "end-date-input", class: "label" }, this.labelEnd, this.requiredField && (index.h("span", { key: 'aabf372102b5cb425108c3b95caeebe35a7e890d', "aria-hidden": "true", class: "required" }, "*")))), index.h("input", { key: 'e0f084896c043648d79cae89a1aa192395bf61de', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), index.h("div", { key: '8dc7e190cfe901e308d2a665f93d7d89f2fea731', id: "hyphen" }, "\u00A0-\u00A0"), index.h("input", { key: 'e354bfaa40907bd99b6d0e152869f170b5f90f4f', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), index.h("div", { key: '75e537ec719c5aaabff86531fa5abf8b72a2d3ef', class: "toggle-wrapper", id: "toggle-wrapper" }, this.canOpen && (index.h("button", { key: '5b65696c08716602b4db77a21c329e5b1b53adf9', disabled: this.disabled, "aria-describedby": "start-date-input end-date-input", "aria-label": functions.intl.formatMessage({
|
|
545
561
|
id: "date.selectRange",
|
|
546
562
|
defaultMessage: "Select range",
|
|
547
563
|
description: "Button text for screen readers.",
|
|
548
|
-
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, index.h("span", { key: '
|
|
564
|
+
}), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, index.h("span", { key: '0cc4cbf6dfd6da128d9a33a72e3e89dab812c72a', class: "svg-icon svg-date" }), index.h("span", { key: '9fe596dc14752fa2f505aa6c1ab893ffa1f14b1b', class: "calendar", title: functions.intl.formatMessage({
|
|
549
565
|
id: "date.calendarView",
|
|
550
566
|
defaultMessage: "Calendar View",
|
|
551
567
|
description: "Calendar button",
|
|
552
|
-
}) })))), index.h("div", { key: '
|
|
568
|
+
}) })))), index.h("div", { key: '1b7934722e2b0187ae6424141cc1e08cb5dda8d0', class: `popup-wrapper popup-range ${this.startCalEl && this.startCalEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
|
|
553
569
|
// @ts-ignore -- onToggle is a valid ToggleEvent listener for popover elements
|
|
554
|
-
onToggle: (ev) => this.handleToggle(ev) }, index.h("div", { key: '
|
|
570
|
+
onToggle: (ev) => this.handleToggle(ev) }, index.h("div", { key: 'cde40c3cdaee6e1641f7062debb2c301850d8967', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.endCalEl.focusLastFocusable() }), index.h("priv-calendar", { key: 'c2f18d3d19fd9fded7c3bda37a521843870aae91', ref: (el) => (this.startCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), index.h("priv-calendar", { key: '2f99a6e4dadfe42b53fe207871af112bf2780c56', ref: (el) => (this.endCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), index.h("div", { key: 'df0c41dd0779a7586e666f5b530d7f7d449a54bb', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.startCalEl.focusFirstFocusable() }))), index.h("div", { key: '7f3971b1af72d54ccc07f52531c1d17fecb6d7ab' }, index.h("div", { key: '0bed6cb1cf5f5ada1c926623d8b6dacb5dc34287', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), index.h("div", { key: '237bf9699d0305031f0f0bd04c9d8027c84dc1ed', id: "month-title", class: "sr-only" }, functions.intl.formatMessage({
|
|
555
571
|
id: "date.selectMonth",
|
|
556
572
|
defaultMessage: "Activate to select a month.",
|
|
557
573
|
description: "Calendar button",
|
|
558
|
-
})), index.h("div", { key: '
|
|
574
|
+
})), index.h("div", { key: 'ce586f8192676950d0221ce709b79dba29a956c8', id: "year-title", class: "sr-only" }, functions.intl.formatMessage({
|
|
559
575
|
id: "date.selectYear",
|
|
560
576
|
defaultMessage: "Activate to select a year.",
|
|
561
577
|
description: "Calendar button",
|
|
562
|
-
}))), index.h("div", { key: '
|
|
578
|
+
}))), index.h("div", { key: '913aaac21cc36b8172a1b28b45d9d2c9432e623f', id: "error", class: "error" }, this.errorMessage), index.h("span", { key: '066481609119ee85db50856e30b7c2f188bab078', id: "date-format-hint", class: "sr-only" }, this.dateFormat), index.h("div", { key: '77f64053567c3c2a4e2038205a9787a1cfa846b8', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
|
|
563
579
|
}
|
|
564
580
|
static get delegatesFocus() { return true; }
|
|
565
581
|
get el() { return index.getElement(this); }
|
|
@@ -110,12 +110,17 @@ const DatePicker = class {
|
|
|
110
110
|
}
|
|
111
111
|
get calendarDate() {
|
|
112
112
|
let calendarDate = functions.dateToISO(new Date());
|
|
113
|
-
const dateFormatUnits = {
|
|
113
|
+
const dateFormatUnits = {
|
|
114
|
+
"mm/dd/yyyy": "US",
|
|
115
|
+
"dd/mm/yyyy": "INT",
|
|
116
|
+
"yyyy/mm/dd": "ISO",
|
|
117
|
+
};
|
|
118
|
+
const inputFormat = dateFormatUnits[this.dateFormat];
|
|
114
119
|
if (this.value &&
|
|
115
|
-
|
|
116
|
-
this.isValidIsoInternal(this.reformatDateInternal(
|
|
120
|
+
inputFormat &&
|
|
121
|
+
this.isValidIsoInternal(this.reformatDateInternal(inputFormat, "ISO", this.value))) {
|
|
117
122
|
// if component has value, and value can be parsed to valid ISO
|
|
118
|
-
calendarDate = this.reformatDateInternal(
|
|
123
|
+
calendarDate = this.reformatDateInternal(inputFormat, "ISO", this.value);
|
|
119
124
|
}
|
|
120
125
|
else if (this.preselected) {
|
|
121
126
|
calendarDate = this.preselected;
|
|
@@ -202,7 +207,7 @@ const DatePicker = class {
|
|
|
202
207
|
}
|
|
203
208
|
this.fit = null;
|
|
204
209
|
this.isExpanded = false;
|
|
205
|
-
this.calEl.view = "
|
|
210
|
+
this.calEl.view = "month";
|
|
206
211
|
}
|
|
207
212
|
}
|
|
208
213
|
closePopup(returnFocus = false) {
|
|
@@ -256,6 +261,18 @@ const DatePicker = class {
|
|
|
256
261
|
this.el.dispatchEvent(changeEvent);
|
|
257
262
|
this.closePopup(true);
|
|
258
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* @description Converts a date string between the supported format tokens: `"US"` (mm/dd/yyyy),
|
|
266
|
+
* `"INT"` (dd/mm/yyyy), and `"ISO"` (YYYY-MM-DD). Direct US ↔ INT conversion is not supported —
|
|
267
|
+
* route through ISO as an intermediate step.
|
|
268
|
+
* @param inputFormat - Format of the input date string.
|
|
269
|
+
* @param outputFormat - Desired output format.
|
|
270
|
+
* @param date - The date string to reformat.
|
|
271
|
+
* @returns The reformatted date string, an empty string if `date` is omitted or falsy, or the
|
|
272
|
+
* original string unchanged if it cannot be parsed.
|
|
273
|
+
* @example reformatDate("US", "ISO", "06/20/1969") // → "1969-06-20"
|
|
274
|
+
* @example reformatDate("ISO", "US", "1969-06-20") // → "06/20/1969"
|
|
275
|
+
*/
|
|
259
276
|
async reformatDate(inputFormat, outputFormat, date) {
|
|
260
277
|
return this.reformatDateInternal(inputFormat, outputFormat, date);
|
|
261
278
|
}
|
|
@@ -291,6 +308,15 @@ const DatePicker = class {
|
|
|
291
308
|
}
|
|
292
309
|
}
|
|
293
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* @description Validates whether a string is a well-formed, calendar-correct ISO date
|
|
313
|
+
* (YYYY-MM-DD). Accounts for invalid day-of-month values and leap years.
|
|
314
|
+
* @param input - The string to validate.
|
|
315
|
+
* @returns `true` if the string is a valid ISO date, `false` otherwise.
|
|
316
|
+
* @example isValidIso("1969-06-20") // → true
|
|
317
|
+
* @example isValidIso("1969-06-33") // → false (day 33 does not exist)
|
|
318
|
+
* @example isValidIso("2023-02-29") // → false (2023 is not a leap year)
|
|
319
|
+
*/
|
|
294
320
|
async isValidIso(input) {
|
|
295
321
|
return this.isValidIsoInternal(input);
|
|
296
322
|
}
|
|
@@ -340,25 +366,25 @@ const DatePicker = class {
|
|
|
340
366
|
}
|
|
341
367
|
render() {
|
|
342
368
|
var _a, _b, _c, _d;
|
|
343
|
-
return (index.h(index.Host, { key: '
|
|
369
|
+
return (index.h(index.Host, { key: 'ec737a3904688317e61939e4ed997c0e4d6fa49d', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, index.h("div", { key: 'ba2baa4d174b1fdb229169cd80ee8f60c308254e', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, index.h("div", { key: '4e196f3d7e9dc1ebc0fdd8d63cd4f9bb2888c3ed', class: "label-wrapper" }, this.labelPosition !== "none" && (index.h("label", { key: 'ad751fc53a81f7ea7edc88ded9a632cab9fabac1', id: "datepickerLabel", htmlFor: "date-input", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => functions.hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (index.h("div", { key: '4226a64b138aa35272fffce46265f82503afc25d', "aria-hidden": "true", class: "required" }, "*"))), index.h("div", { key: '175045b72db00588c9b8031cfbf22a2f77759e77' }, index.h("div", { key: '126b7c096ec657766deedb6bab0107f067c8cdd9', class: "single-wrapper input", ref: (el) => (this.anchorEl = el) }, index.h("input", { key: '36560f575003ffc14e2e363c24e682f8e5805f41', disabled: this.isDisabled, type: "text", id: "single-date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), index.h("div", { key: '097142daa1f08d9a135d2ed25c1161434448e3d7', class: "container", id: "wm-container" }, this.canOpen && (index.h("button", { key: 'ad64f7af5d81e3035b791808e9c9c35a537a86a9', disabled: this.disabled, "aria-label": functions.intl.formatMessage({
|
|
344
370
|
id: "date.selectDate",
|
|
345
371
|
defaultMessage: "Select date",
|
|
346
372
|
description: "Button text for screen readers.",
|
|
347
|
-
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, index.h("span", { key: '
|
|
373
|
+
}), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, index.h("span", { key: 'f4860dc16c96322e45dd6f425c1b132bec93edd8', class: "svg-icon svg-date" }), index.h("span", { key: 'b771ffa73b5995cfb5a5a2d15902e8e57a1e9ad6', class: "calendar", title: functions.intl.formatMessage({
|
|
348
374
|
id: "date.calendarView",
|
|
349
375
|
defaultMessage: "Calendar View",
|
|
350
376
|
description: "Calendar button",
|
|
351
|
-
}) }))), index.h("div", { key: '
|
|
377
|
+
}) }))), index.h("div", { key: '27823fcfcb377eea7adf0f725031b67407b8886c', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
|
|
352
378
|
// @ts-ignore -- onToggle is a valid ToggleEvent listener for popover elements
|
|
353
|
-
onToggle: (ev) => this.handleToggle(ev) }, index.h("div", { key: '
|
|
379
|
+
onToggle: (ev) => this.handleToggle(ev) }, index.h("div", { key: '42fb801ee8861ee9d69fd634b01961ca1e751d3b', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), index.h("priv-calendar", { key: 'f6d60feb67ceb253069e3d81f1bc348a58a7c9e0', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), index.h("div", { key: 'a8931fe7482dc487dc19cefd0eac43a6bcb5d2d4', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), index.h("div", { key: '7f934d9c1260c7660f9dd819c5a8c235c703e6cd', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), index.h("div", { key: '0db580e9920000ee2438d0a1a3d55c670dca029f', id: "month-title", class: "sr-only" }, functions.intl.formatMessage({
|
|
354
380
|
id: "date.selectMonth",
|
|
355
381
|
defaultMessage: "Activate to select a month.",
|
|
356
382
|
description: "Calendar button",
|
|
357
|
-
})), index.h("div", { key: '
|
|
383
|
+
})), index.h("div", { key: 'aedeb3b51f4d5178022beb80feb69350019a94e6', id: "year-title", class: "sr-only" }, functions.intl.formatMessage({
|
|
358
384
|
id: "date.selectYear",
|
|
359
385
|
defaultMessage: "Activate to select a year.",
|
|
360
386
|
description: "Calendar button",
|
|
361
|
-
})))), index.h("div", { key: '
|
|
387
|
+
})))), index.h("div", { key: 'd9b334efcd6a1a8732996af354ebb3732984a9da', id: "error", class: "error" }, this.errorMessage), index.h("span", { key: 'ef309d1f21a4e414bb6230bb29a6e2477faf092b', id: "date-format-hint", class: "sr-only" }, this.dateFormat), index.h("div", { key: 'f5487f9e59eb400483ef96362a549dc52e512404', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
|
|
362
388
|
}
|
|
363
389
|
static get delegatesFocus() { return true; }
|
|
364
390
|
get el() { return index.getElement(this); }
|
|
@@ -13,7 +13,7 @@ const FileList = class {
|
|
|
13
13
|
this.showInfo = "last-updated";
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h("div", { key: '
|
|
16
|
+
return (index.h("div", { key: 'c071d6aff339fe632763b226dc5d91b8df4bba25', role: "list", class: "list-wrapper" }, index.h("slot", { key: '46ea0a9a4461767f65a186b8e929bf11daeeef40' })));
|
|
17
17
|
}
|
|
18
18
|
static get delegatesFocus() { return true; }
|
|
19
19
|
get el() { return index.getElement(this); }
|
|
@@ -200,7 +200,7 @@ const File = class {
|
|
|
200
200
|
return (index.h("div", { class: `file-wrapper` }, index.h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""} ${this.isExtraCondensed ? "extra-condensed" : ""}` }, this.renderFileName(), showRightGroup && (index.h("div", { class: "right-group" }, !this.isExtraCondensed && this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (index.h("div", { class: "right-group" }, index.h("wm-button", { "permanently-delete": true, "button-type": "textonly", "label-for-identical-buttons": this.generateClearButtonLabel(this.name), onClick: () => this.wmFileErrorCleared.emit() }, this.clearButtonText))), this.progress == 100 && index.h("span", { class: "svg-icon svg-success" })), this.errorMessage && index.h("div", { class: "error-message" }, this.errorMessage)));
|
|
201
201
|
}
|
|
202
202
|
render() {
|
|
203
|
-
return index.h(index.Host, { key: '
|
|
203
|
+
return index.h(index.Host, { key: 'ab1ef1bbd89e7b604f627fd11db96917cef07821', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
204
204
|
}
|
|
205
205
|
static get delegatesFocus() { return true; }
|
|
206
206
|
get el() { return index.getElement(this); }
|
|
@@ -94,6 +94,11 @@ const Flyout = class {
|
|
|
94
94
|
setFlyoutWidth() {
|
|
95
95
|
this.el.style.setProperty("--flyout-width", this.flyoutWidth);
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* @description Moves focus to the flyout's heading element. Call this after updating flyout
|
|
99
|
+
* content in a multi-step workflow so screen readers announce the new heading to the user.
|
|
100
|
+
* @returns A promise that resolves once focus has been applied.
|
|
101
|
+
*/
|
|
97
102
|
async focusHeading() {
|
|
98
103
|
this.headingEl.focus();
|
|
99
104
|
}
|
|
@@ -168,7 +173,7 @@ const Flyout = class {
|
|
|
168
173
|
}
|
|
169
174
|
}
|
|
170
175
|
render() {
|
|
171
|
-
return (index.h(index.Host, { key: '
|
|
176
|
+
return (index.h(index.Host, { key: 'eb123498c8c9452cae1d4c204842e45fb99a2aeb' }, index.h("dialog", { key: '17a8b8eea564bee116204049747e0e363e77007e', ref: (el) => (this.dialogEl = el), class: "flyout", "aria-labelledby": "heading", onClose: () => this.wmFlyoutCloseTriggered.emit(), onKeyDown: (ev) => this.handleKeyDown(ev) }, index.h("div", { key: '805423bf1ff579a534f05d10c7cc530f89d69c5f', tabindex: "0", class: "focus-trap", onFocus: () => this.lastFocusableEl.focus(), "aria-hidden": "true" }), this.renderHeader(), index.h("div", { key: 'cf31d451909506f531e753bc30c60bc2d0379870', class: "flyout-content" }, index.h("slot", { key: 'e9717213c3a2b075bb67296f5bff9793ec7c1eb2' })), this.renderFooter(), index.h("div", { key: 'ba7cf122b72c12e960bc606b463a045f38f2c1f6', tabindex: "0", class: "focus-trap", onFocus: () => this.handleEndBookendFocus(), "aria-hidden": "true" }))));
|
|
172
177
|
}
|
|
173
178
|
get el() { return index.getElement(this); }
|
|
174
179
|
static get watchers() { return {
|
|
@@ -117,7 +117,7 @@ const Input = class {
|
|
|
117
117
|
: `info error`;
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
|
-
return (index.h("div", { key: '
|
|
120
|
+
return (index.h("div", { key: '62393dadb4a3bf923272b678cdcf218a52ca255a', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, index.h("div", { key: '5b254a63c5a474fc7a0a8544ff2d20cea5b87455', class: "label-wrapper" }, index.h("label", { key: 'cddc497c136920c6386a7f55e64b92bc0547bf64', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => functions.hideTooltip() }, this.label, this.characterLimit && (index.h("span", { key: '42a71d388c700611183a26f0035e866b7943c773', class: "sr-only" }, " ", intl.globalMessages.getCharacterLimit(this.characterLimit)))), this.labelPosition !== "none" && this.requiredField && (index.h("div", { key: 'e2d227386607da6c0bd9999ac894498c1ed705b8', class: "required", "aria-hidden": "true" }, "*"))), index.h("div", { key: '81b64d900744535fa8150e4ffe9e278e73171a56', class: "inner-wrapper" }, index.h("div", { key: 'cfa6eeb8d0ae7d6fb0f3dccbb96a58fee4e17fc3', class: "text-after-wrapper" }, index.h("div", { key: '6e466bd9c2361f62220dcf781515a6bea0fc5151', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (index.h("span", { key: '7417c97f30e2b4ec1757ee7bb50f2175966e57eb', class: "symbol", id: "symbol-before" }, this.symbolBefore)), index.h("input", { key: '9d873bb593b164899c6d6146c639ffc06b86fcdf', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (index.h("span", { key: 'f7e8e36197895b8841c7021afb7eb1d7587620aa', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (index.h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (index.h("span", { key: 'c50e0727a3127d1c86e87106570f2e4400776182', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (index.h("div", { key: '69d3e5ec6a2ad384ee913199c7d9f2062bc66c5e', id: "info", class: "info" }, this.info)), index.h("div", { key: '712f1181f98267bc18b911dd757833c2a106a015', id: "error", class: "error-message" }, this.errorMessage), index.h("div", { key: '3e30d2aec52e47a6ba132946169fc5b900011c67', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
121
121
|
}
|
|
122
122
|
static get delegatesFocus() { return true; }
|
|
123
123
|
get el() { return index.getElement(this); }
|
|
@@ -529,7 +529,7 @@ const LineChart = class {
|
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
render() {
|
|
532
|
-
return (index.h(index.Host, { key: '
|
|
532
|
+
return (index.h(index.Host, { key: 'acf06c018fdcc2a4fadca621ff30c4e751ca421a', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, index.h("div", { key: '0875c154402f16ab666b0ce0d1f94bf64c9a8c9e', class: "component-wrapper", role: "application", "aria-roledescription": intl.chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), index.h("div", { key: 'ec7a7af542b83ed0a44a2321df1fbd63daa44de3', class: "chart-wrapper" }, index.h("div", { key: 'e3c0be9867090427e6f22400d89dfe70c6e37b03', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), index.h("div", { key: 'e2b044e94333e2cfdb18755242422d860c21d475', ref: (el) => (this.plotAreaEl = el), class: "plot-area" }, this.renderVerticalGridlines(), this.renderHorizontalGridlines(), this.renderHighlight(), this.renderData(), this.renderHoverAreas(), this.renderSpotlight()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), index.h("div", { key: '50f05b93e40f6c04dcd3cb5aaebc3301f0f293b1', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), index.h("div", { key: '8003e1ab7e144fa78dfa01c3df54d72f50fb1426', id: "chart-description", class: "sr-only" }, `${intl.lineChartMessages.instructions} ${this.description}`), index.h("div", { key: '27c5dd41e90238f22ba5987be52d274a2c6286a2', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
533
533
|
}
|
|
534
534
|
get el() { return index.getElement(this); }
|
|
535
535
|
static get watchers() { return {
|
|
@@ -129,9 +129,9 @@ const ModalPss = class {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (index.h(index.Host, { key: '
|
|
132
|
+
return (index.h(index.Host, { key: 'aa75d1fe486eb78c8a8f8a7981358ef957f96604', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
|
|
133
133
|
this.focusLastElement.emit();
|
|
134
|
-
} }, index.h("div", { key: '
|
|
134
|
+
} }, index.h("div", { key: '9261a0354ae19956d46d816532c487302cfd2883', class: "overlay", ref: (el) => (this.overlayEl = el) }), index.h("div", { key: 'f746291ba0e49265e418efc506aa023b55c28dfc', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
135
135
|
this.focusFirstElement.emit();
|
|
136
136
|
} })));
|
|
137
137
|
}
|
|
@@ -174,7 +174,7 @@ const ModalPssFooter = class {
|
|
|
174
174
|
parentModal.emitSecondaryEvent();
|
|
175
175
|
}
|
|
176
176
|
render() {
|
|
177
|
-
return (index.h("div", { key: '
|
|
177
|
+
return (index.h("div", { key: 'a52ef670cf97eb4d152898d0893d7980a3017ae8', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, index.h("div", { key: '14761e4c8b346aa64ab3fcda9c30732a3f18f3bc', class: "wm-info", "aria-live": "polite" }, this.infoText), index.h("div", { key: 'fb7411b87b34a4ff4081cda0520c14bd598e5333', class: "wm-button-collection" }, this.secondaryText && (index.h("wm-button", { key: 'af1a0e8a1ce71735c252a8700f334b4b05ec8811', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), index.h("wm-button", { key: '55a18c788134ad22b90ec05ba8ab365b37649358', "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) : null) }, this.primaryText))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
};
|
|
@@ -209,7 +209,7 @@ const ModalPssHeader = class {
|
|
|
209
209
|
// this.headingElement.focus();
|
|
210
210
|
// }
|
|
211
211
|
render() {
|
|
212
|
-
return (index.h(index.Host, { key: '
|
|
212
|
+
return (index.h(index.Host, { key: '04ee8b4b40cd449def589f8b7a3af74289273d2d' }, index.h("div", { key: '718fbd4188d2bfe7a671d548b149569c5bc28c21', class: "wm-wrapper" }, index.h("div", { key: '659db3df52655116df6adc60ead894f3bd815dc5' }, index.h("h2", { key: 'a7e11a02093e20fa6103cbe03a8dd1c8d6187245', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, index.h("span", { key: 'c3f7e5923f6b161fd8b416050957b262e8539cd2', class: "subtitle" }, this.subheading))), index.h("wm-button", { key: '9fc53ae559afdf78354e6831e71e86517f726a71', "button-type": "navigational", icon: "f156", tooltip: intl.globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
213
213
|
}
|
|
214
214
|
get el() { return index.getElement(this); }
|
|
215
215
|
};
|