@watermarkinsights/ripple 5.31.0-alpha.2 → 5.31.0-alpha.3
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-f310dc82.js → app-globals-3f8985a8.js} +1 -1
- package/dist/cjs/app-globals-99bea3b4.js +158 -0
- package/dist/cjs/app-globals-bb5d9637.js +103 -0
- package/dist/cjs/app-globals-bbf82dcc.js +161 -0
- package/dist/cjs/chartFunctions-351edf56.js +906 -0
- package/dist/cjs/chartFunctions-9cd2b447.js +906 -0
- package/dist/cjs/functions-05cd64e3.js +10682 -0
- package/dist/cjs/functions-cf96746b.js +18301 -0
- package/dist/cjs/index-3bd2f5bf.js +3266 -0
- package/dist/cjs/interfaces-082b6d42.js +72 -0
- package/dist/cjs/interfaces-85840d5d.js +91 -0
- package/dist/cjs/intl-140f6bea.js +283 -0
- package/dist/cjs/intl-e322cf64.js +283 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-chart-popover.cjs.entry.js +131 -0
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/shadow-css-7c4dbc43.js +334 -0
- package/dist/cjs/wm-action-menu.cjs.entry.js +365 -0
- package/dist/cjs/wm-chart-legend.cjs.entry.js +77 -0
- package/dist/cjs/wm-menuitem.cjs.entry.js +127 -0
- package/dist/cjs/wm-modal-footer.cjs.entry.js +48 -0
- package/dist/cjs/wm-modal-header.cjs.entry.js +40 -0
- package/dist/cjs/wm-modal-pss-footer.cjs.entry.js +44 -0
- package/dist/cjs/wm-modal-pss-header.cjs.entry.js +43 -0
- package/dist/cjs/wm-modal-pss.cjs.entry.js +143 -0
- package/dist/cjs/wm-modal.cjs.entry.js +160 -0
- package/dist/cjs/wm-navigation-hamburger.cjs.entry.js +53 -0
- package/dist/cjs/wm-navigation-item.cjs.entry.js +25 -0
- package/dist/cjs/wm-navigation.cjs.entry.js +120 -0
- package/dist/cjs/wm-option.cjs.entry.js +176 -0
- package/dist/cjs/wm-progress-indicator.cjs.entry.js +116 -0
- package/dist/cjs/wm-progress-monitor.cjs.entry.js +78 -0
- package/dist/cjs/wm-progress-slice.cjs.entry.js +22 -0
- package/dist/cjs/wm-select.cjs.entry.js +363 -0
- package/dist/cjs/wm-tab-item.cjs.entry.js +51 -0
- package/dist/cjs/wm-tab-list.cjs.entry.js +286 -0
- package/dist/cjs/wm-tab-panel.cjs.entry.js +30 -0
- package/dist/cjs/wm-toggletip.cjs.entry.js +5 -5
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +6 -7
- package/dist/docs/docs.json +2 -2
- package/dist/docs/skill/wm-toggletip.md +1 -2
- package/dist/esm/app-globals-14e8fc38.js +159 -0
- package/dist/esm/app-globals-6ea0c4a8.js +156 -0
- package/dist/esm/{app-globals-0d90343d.js → app-globals-baf4966d.js} +1 -1
- package/dist/esm/app-globals-fbe51289.js +101 -0
- package/dist/esm/chartFunctions-295d929a.js +881 -0
- package/dist/esm/chartFunctions-6dc5067e.js +881 -0
- package/dist/esm/functions-1b74608e.js +18259 -0
- package/dist/esm/functions-438e60c4.js +10640 -0
- package/dist/esm/index-a4aa0209.js +3230 -0
- package/dist/esm/interfaces-09fe24c4.js +67 -0
- package/dist/esm/interfaces-9b4bfae2.js +86 -0
- package/dist/esm/intl-25f6dfb9.js +277 -0
- package/dist/esm/intl-af9ab0c5.js +277 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/priv-chart-popover.entry.js +127 -0
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/shadow-css-7ad5caf8.js +332 -0
- package/dist/esm/wm-action-menu.entry.js +361 -0
- package/dist/esm/wm-chart-legend.entry.js +73 -0
- package/dist/esm/wm-menuitem.entry.js +123 -0
- package/dist/esm/wm-modal-footer.entry.js +44 -0
- package/dist/esm/wm-modal-header.entry.js +36 -0
- package/dist/esm/wm-modal-pss-footer.entry.js +40 -0
- package/dist/esm/wm-modal-pss-header.entry.js +39 -0
- package/dist/esm/wm-modal-pss.entry.js +139 -0
- package/dist/esm/wm-modal.entry.js +156 -0
- package/dist/esm/wm-navigation-hamburger.entry.js +49 -0
- package/dist/esm/wm-navigation-item.entry.js +21 -0
- package/dist/esm/wm-navigation.entry.js +116 -0
- package/dist/esm/wm-option.entry.js +172 -0
- package/dist/esm/wm-progress-indicator.entry.js +112 -0
- package/dist/esm/wm-progress-monitor.entry.js +74 -0
- package/dist/esm/wm-progress-slice.entry.js +18 -0
- package/dist/esm/wm-select.entry.js +359 -0
- package/dist/esm/wm-tab-item.entry.js +47 -0
- package/dist/esm/wm-tab-list.entry.js +282 -0
- package/dist/esm/wm-tab-panel.entry.js +26 -0
- package/dist/esm/wm-toggletip.entry.js +5 -5
- package/dist/esm-es5/app-globals-baf4966d.js +1 -0
- package/dist/esm-es5/app-globals-fbe51289.js +1 -0
- package/dist/esm-es5/chartFunctions-295d929a.js +1 -0
- package/dist/esm-es5/functions-438e60c4.js +1 -0
- package/dist/esm-es5/interfaces-09fe24c4.js +1 -0
- package/dist/esm-es5/intl-25f6dfb9.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/ripple/app-globals-14e8fc38.js +159 -0
- package/dist/ripple/app-globals-674ed33a.system.js +1 -0
- package/dist/ripple/app-globals-6ea0c4a8.js +156 -0
- package/dist/ripple/app-globals-9a6e44cc.system.js +1 -0
- package/dist/ripple/chartFunctions-3a2854e5.system.js +1 -0
- package/dist/ripple/chartFunctions-6dc5067e.js +881 -0
- package/dist/ripple/functions-1b74608e.js +18259 -0
- package/dist/ripple/functions-44e66424.system.js +1 -0
- package/dist/ripple/index-a4aa0209.js +3017 -0
- package/dist/ripple/index-c1f8b17a.system.js +2 -0
- package/dist/ripple/index.system.js +3 -0
- package/dist/ripple/interfaces-5905bd2e.system.js +1 -0
- package/dist/ripple/interfaces-9b4bfae2.js +86 -0
- package/dist/ripple/intl-54e71657.system.js +1 -0
- package/dist/ripple/intl-af9ab0c5.js +277 -0
- package/dist/ripple/{p-8c1dea23.system.entry.js → p-02c8bf15.system.entry.js} +1 -1
- package/dist/ripple/{p-377ca118.entry.js → p-05dae6a0.entry.js} +1 -1
- package/dist/ripple/p-09a44b14.system.entry.js +1 -0
- package/dist/ripple/{p-177c248d.entry.js → p-09d5381c.entry.js} +1 -1
- package/dist/ripple/p-0cdda327.js +1 -0
- package/dist/ripple/{p-85e5a2ef.system.entry.js → p-0db033c3.system.entry.js} +1 -1
- package/dist/ripple/{p-114eeef7.system.entry.js → p-0feaaae9.system.entry.js} +1 -1
- package/dist/ripple/{p-237b9ade.system.entry.js → p-10aea5ee.system.entry.js} +1 -1
- package/dist/ripple/p-131d57c3.entry.js +1 -0
- package/dist/ripple/p-178ba906.js +1 -0
- package/dist/ripple/p-1f051611.system.js +1 -0
- package/dist/ripple/p-1fc894ac.system.entry.js +1 -0
- package/dist/ripple/{p-d90849d8.entry.js → p-227b0af9.entry.js} +1 -1
- package/dist/ripple/p-26f2c47b.system.js +1 -0
- package/dist/ripple/{p-66152ad5.system.entry.js → p-28b8a12e.system.entry.js} +1 -1
- package/dist/ripple/{p-5bcc465d.entry.js → p-2a03f658.entry.js} +1 -1
- package/dist/ripple/p-2cf2f73e.entry.js +1 -0
- package/dist/ripple/p-306f3b47.system.entry.js +1 -0
- package/dist/ripple/{p-ac1683dc.system.entry.js → p-332a3e3d.system.entry.js} +1 -1
- package/dist/ripple/{p-a9a20398.entry.js → p-39bac42a.entry.js} +1 -1
- package/dist/ripple/{p-d1f04ee8.entry.js → p-3bd8537c.entry.js} +1 -1
- package/dist/ripple/{p-5e96eaf7.system.entry.js → p-3e8bfc68.system.entry.js} +1 -1
- package/dist/ripple/p-3f5576b8.system.entry.js +1 -0
- package/dist/ripple/{p-f288148b.entry.js → p-3f69041f.entry.js} +1 -1
- package/dist/ripple/p-40e8071c.system.entry.js +1 -0
- package/dist/ripple/{p-ebef63ec.system.entry.js → p-444feb7d.system.entry.js} +1 -1
- package/dist/ripple/{p-c9822c77.entry.js → p-4533241f.entry.js} +1 -1
- package/dist/ripple/{p-053c9d53.entry.js → p-463be5be.entry.js} +1 -1
- package/dist/ripple/{p-721ecba8.system.entry.js → p-4e7ae2c5.system.entry.js} +1 -1
- package/dist/ripple/p-4f53544d.entry.js +1 -0
- package/dist/ripple/{p-04e6ea9c.system.entry.js → p-503330c1.system.entry.js} +1 -1
- package/dist/ripple/{p-4ff46307.entry.js → p-5173359e.entry.js} +1 -1
- package/dist/ripple/p-54fff8d1.entry.js +1 -0
- package/dist/ripple/p-5afc108c.js +1 -0
- package/dist/ripple/p-5bdd4f8e.system.js +1 -0
- package/dist/ripple/{p-48ed48d4.system.entry.js → p-5f092b39.system.entry.js} +1 -1
- package/dist/ripple/p-6279fb39.system.js +1 -0
- package/dist/ripple/{p-1efc8c25.entry.js → p-6479b06b.entry.js} +1 -1
- package/dist/ripple/{p-e87089e5.entry.js → p-680f5703.entry.js} +1 -1
- package/dist/ripple/{p-4cb5807d.entry.js → p-6de83c6f.entry.js} +1 -1
- package/dist/ripple/{p-dcfdf265.entry.js → p-709d1765.entry.js} +1 -1
- package/dist/ripple/{p-d68527b6.system.entry.js → p-7ca0bb68.system.entry.js} +1 -1
- package/dist/ripple/p-84e04896.entry.js +1 -0
- package/dist/ripple/{p-34755f95.entry.js → p-8e6e868a.entry.js} +1 -1
- package/dist/ripple/p-928b3e5e.entry.js +1 -0
- package/dist/ripple/p-956cb6a9.system.js +1 -0
- package/dist/ripple/p-9a5d11cb.entry.js +1 -0
- package/dist/ripple/{p-9cf98efe.system.entry.js → p-9d345fc7.system.entry.js} +1 -1
- package/dist/ripple/{p-f7fc6350.system.js → p-9f13a0f7.system.js} +1 -1
- package/dist/ripple/p-a03315ce.entry.js +1 -0
- package/dist/ripple/{p-471f1dc5.system.entry.js → p-a0aba3e0.system.entry.js} +1 -1
- package/dist/ripple/{p-f5afa781.system.entry.js → p-a3dd5204.system.entry.js} +1 -1
- package/dist/ripple/p-a6aef87d.system.entry.js +1 -0
- package/dist/ripple/{p-63c94399.system.entry.js → p-a6ef995c.system.entry.js} +1 -1
- package/dist/ripple/p-a7e637a5.system.entry.js +1 -0
- package/dist/ripple/p-aafced54.system.entry.js +1 -0
- package/dist/ripple/p-acac6687.js +1 -0
- package/dist/ripple/{p-1d71e253.system.entry.js → p-b11abb0d.system.entry.js} +1 -1
- package/dist/ripple/{p-d457692c.system.entry.js → p-b1924539.system.entry.js} +1 -1
- package/dist/ripple/{p-d0cf4ccc.system.entry.js → p-b654743f.system.entry.js} +1 -1
- package/dist/ripple/p-b974a535.system.entry.js +1 -0
- package/dist/ripple/{p-6a5c1a8c.system.entry.js → p-bb9f54cf.system.entry.js} +1 -1
- package/dist/ripple/p-bd37dd6f.entry.js +1 -0
- package/dist/ripple/{p-8f80d300.entry.js → p-bdb10d37.entry.js} +1 -1
- package/dist/ripple/{p-4d85b8d3.entry.js → p-bf3eef42.entry.js} +1 -1
- package/dist/ripple/p-bff5c1d5.js +1 -0
- package/dist/ripple/{p-723b7b1e.system.entry.js → p-c04d0eeb.system.entry.js} +1 -1
- package/dist/ripple/{p-6b4e3edc.entry.js → p-c1abc58e.entry.js} +1 -1
- package/dist/ripple/p-c7bd2b6b.js +1 -0
- package/dist/ripple/p-cc028323.entry.js +1 -0
- package/dist/ripple/p-d05b7cd3.entry.js +1 -0
- package/dist/ripple/{p-019b2974.entry.js → p-dab54a9d.entry.js} +1 -1
- package/dist/ripple/{p-439d588b.system.entry.js → p-dbdae848.system.entry.js} +1 -1
- package/dist/ripple/{p-7d51738b.system.entry.js → p-e0c0e8b0.system.entry.js} +1 -1
- package/dist/ripple/p-e1a6ee77.entry.js +1 -0
- package/dist/ripple/p-e427094b.system.js +1 -0
- package/dist/ripple/{p-e3986d43.system.entry.js → p-e65f7933.system.entry.js} +1 -1
- package/dist/ripple/p-e6704efd.system.js +1 -0
- package/dist/ripple/{p-e3e1848b.system.entry.js → p-e78f9572.system.entry.js} +1 -1
- package/dist/ripple/p-eda49f0e.entry.js +1 -0
- package/dist/ripple/{p-845c4a55.entry.js → p-ee26ba53.entry.js} +1 -1
- package/dist/ripple/{p-a7ee35c7.system.entry.js → p-ee729037.system.entry.js} +1 -1
- package/dist/ripple/{p-c6bdcbbc.entry.js → p-f51404f5.entry.js} +1 -1
- package/dist/ripple/{p-da8bc55d.system.entry.js → p-f68e4b39.system.entry.js} +1 -1
- package/dist/ripple/p-f77f1c50.entry.js +1 -0
- package/dist/ripple/{p-b466d6c3.entry.js → p-f94af31c.entry.js} +1 -1
- package/dist/ripple/{p-bf22f7d3.entry.js → p-fb6aee09.entry.js} +1 -1
- package/dist/ripple/{p-e4037ff0.system.entry.js → p-ff6fd274.system.entry.js} +1 -1
- package/dist/ripple/priv-calendar.entry.js +575 -0
- package/dist/ripple/priv-calendar.system.entry.js +1 -0
- package/dist/ripple/priv-chart-popover-old.entry.js +141 -0
- package/dist/ripple/priv-chart-popover-old.system.entry.js +1 -0
- package/dist/ripple/priv-chart-popover.entry.js +127 -0
- package/dist/ripple/priv-chart-popover.system.entry.js +1 -0
- package/dist/ripple/priv-navigator-button.entry.js +24 -0
- package/dist/ripple/priv-navigator-button.system.entry.js +1 -0
- package/dist/ripple/priv-navigator-item.entry.js +30 -0
- package/dist/ripple/priv-navigator-item.system.entry.js +1 -0
- package/dist/ripple/priv-option-list.entry.js +385 -0
- package/dist/ripple/priv-option-list.system.entry.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/ripple/ripple.system.js +1 -0
- package/dist/ripple/shadow-css-52666f6a.system.js +12 -0
- package/dist/ripple/shadow-css-7ad5caf8.js +332 -0
- package/dist/ripple/wm-action-menu.entry.js +361 -0
- package/dist/ripple/wm-action-menu.system.entry.js +1 -0
- package/dist/ripple/wm-button.entry.js +275 -0
- package/dist/ripple/wm-button.system.entry.js +1 -0
- package/dist/ripple/{p-a39da382.entry.js → wm-chart-bar.entry.js} +444 -1
- package/dist/ripple/wm-chart-bar.system.entry.js +1 -0
- package/dist/ripple/wm-chart-column.entry.js +624 -0
- package/dist/ripple/wm-chart-column.system.entry.js +1 -0
- package/dist/ripple/wm-chart-legend.entry.js +73 -0
- package/dist/ripple/{p-683372ca.entry.js → wm-chart-legend.system.entry.js} +1 -1
- package/dist/ripple/wm-chart-slice.entry.js +23 -0
- package/dist/ripple/wm-chart-slice.system.entry.js +1 -0
- package/dist/ripple/wm-chart.entry.js +158 -0
- package/dist/ripple/wm-chart.system.entry.js +1 -0
- package/dist/ripple/wm-date-range.entry.js +586 -0
- package/dist/ripple/wm-date-range.system.entry.js +1 -0
- package/dist/ripple/wm-datepicker.entry.js +394 -0
- package/dist/ripple/wm-datepicker.system.entry.js +1 -0
- package/dist/ripple/wm-file-list.entry.js +18 -0
- package/dist/ripple/wm-file-list.system.entry.js +1 -0
- package/dist/ripple/wm-file.entry.js +205 -0
- package/dist/ripple/wm-file.system.entry.js +1 -0
- package/dist/ripple/wm-flyout.entry.js +181 -0
- package/dist/ripple/wm-flyout.system.entry.js +1 -0
- package/dist/ripple/wm-input.entry.js +126 -0
- package/dist/ripple/wm-input.system.entry.js +1 -0
- package/dist/ripple/wm-line-chart.entry.js +536 -0
- package/dist/ripple/wm-line-chart.system.entry.js +1 -0
- package/dist/ripple/wm-menuitem.entry.js +123 -0
- package/dist/ripple/wm-menuitem.system.entry.js +1 -0
- package/dist/ripple/wm-modal-footer.entry.js +44 -0
- package/dist/ripple/wm-modal-footer.system.entry.js +1 -0
- package/dist/ripple/wm-modal-header.entry.js +36 -0
- package/dist/ripple/wm-modal-header.system.entry.js +1 -0
- package/dist/ripple/wm-modal-pss-footer.entry.js +40 -0
- package/dist/ripple/wm-modal-pss-footer.system.entry.js +1 -0
- package/dist/ripple/wm-modal-pss-header.entry.js +39 -0
- package/dist/ripple/wm-modal-pss-header.system.entry.js +1 -0
- package/dist/ripple/wm-modal-pss.entry.js +139 -0
- package/dist/ripple/wm-modal-pss.system.entry.js +1 -0
- package/dist/ripple/wm-modal.entry.js +156 -0
- package/dist/ripple/wm-modal.system.entry.js +1 -0
- package/dist/ripple/wm-navigation-hamburger.entry.js +49 -0
- package/dist/ripple/wm-navigation-hamburger.system.entry.js +1 -0
- package/dist/ripple/wm-navigation-item.entry.js +21 -0
- package/dist/ripple/wm-navigation-item.system.entry.js +1 -0
- package/dist/ripple/wm-navigation.entry.js +116 -0
- package/dist/ripple/wm-navigation.system.entry.js +1 -0
- package/dist/ripple/wm-navigator.entry.js +370 -0
- package/dist/ripple/wm-navigator.system.entry.js +1 -0
- package/dist/ripple/wm-nested-select.entry.js +315 -0
- package/dist/ripple/wm-nested-select.system.entry.js +1 -0
- package/dist/ripple/wm-optgroup.entry.js +79 -0
- package/dist/ripple/wm-optgroup.system.entry.js +1 -0
- package/dist/ripple/wm-option.entry.js +172 -0
- package/dist/ripple/wm-option.system.entry.js +1 -0
- package/dist/ripple/wm-pagination.entry.js +224 -0
- package/dist/ripple/wm-pagination.system.entry.js +1 -0
- package/dist/ripple/wm-progress-indicator.entry.js +112 -0
- package/dist/ripple/wm-progress-indicator.system.entry.js +1 -0
- package/dist/ripple/wm-progress-monitor.entry.js +74 -0
- package/dist/ripple/wm-progress-monitor.system.entry.js +1 -0
- package/dist/ripple/wm-progress-slice.entry.js +18 -0
- package/dist/ripple/wm-progress-slice.system.entry.js +1 -0
- package/dist/ripple/wm-search.entry.js +191 -0
- package/dist/ripple/wm-search.system.entry.js +1 -0
- package/dist/ripple/wm-select.entry.js +359 -0
- package/dist/ripple/wm-select.system.entry.js +1 -0
- package/dist/ripple/wm-snackbar.entry.js +171 -0
- package/dist/ripple/wm-snackbar.system.entry.js +1 -0
- package/dist/ripple/wm-tab-item.entry.js +47 -0
- package/dist/ripple/wm-tab-item.system.entry.js +1 -0
- package/dist/ripple/wm-tab-list.entry.js +282 -0
- package/dist/ripple/wm-tab-list.system.entry.js +1 -0
- package/dist/ripple/wm-tab-panel.entry.js +26 -0
- package/dist/ripple/wm-tab-panel.system.entry.js +1 -0
- package/dist/ripple/wm-tag-input.entry.js +955 -0
- package/dist/ripple/wm-tag-input.system.entry.js +1 -0
- package/dist/ripple/wm-tag-option.entry.js +47 -0
- package/dist/ripple/wm-tag-option.system.entry.js +1 -0
- package/dist/ripple/wm-textarea.entry.js +89 -0
- package/dist/ripple/wm-textarea.system.entry.js +1 -0
- package/dist/ripple/wm-timepicker.entry.js +320 -0
- package/dist/ripple/wm-timepicker.system.entry.js +1 -0
- package/dist/ripple/wm-toggletip.entry.js +247 -0
- package/dist/ripple/wm-toggletip.system.entry.js +1 -0
- package/dist/ripple/{p-858bd668.entry.js → wm-uploader.entry.js} +336 -1
- package/dist/ripple/wm-uploader.system.entry.js +1 -0
- package/dist/ripple/wm-wrapper.entry.js +17 -0
- package/dist/ripple/wm-wrapper.system.entry.js +1 -0
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +1 -2
- package/dist/types/components.d.ts +4 -8
- package/package.json +2 -2
- package/dist/esm-es5/app-globals-0d90343d.js +0 -1
- package/dist/ripple/p-2f297bf8.js +0 -1
- package/dist/ripple/p-6a7b26a1.system.js +0 -1
- package/dist/ripple/p-e651d0e9.entry.js +0 -1
- package/dist/ripple/p-ee960296.entry.js +0 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
//List of icon codes with more indicative descriptors to create labels for icon-only buttons
|
|
4
|
+
function getIconCodeFromName(icon) {
|
|
5
|
+
return iconCodes[icon] || icon;
|
|
6
|
+
}
|
|
7
|
+
const iconCodes = {
|
|
8
|
+
close: "f156",
|
|
9
|
+
pencil: "f3eb",
|
|
10
|
+
cancel: "f739",
|
|
11
|
+
check: "f12c",
|
|
12
|
+
delete: "f1c0",
|
|
13
|
+
magnify: "f349",
|
|
14
|
+
export: "f207",
|
|
15
|
+
"dots-vertical": "f1d9",
|
|
16
|
+
"arrow-left": "f04d",
|
|
17
|
+
"arrow-right": "f054",
|
|
18
|
+
"chevron-left": "f141",
|
|
19
|
+
"chevron-right": "f142",
|
|
20
|
+
"menu-left": "f35e",
|
|
21
|
+
"menu-down": "f35d",
|
|
22
|
+
"keyboard-backspace": "f30d",
|
|
23
|
+
"file-tree": "f645",
|
|
24
|
+
"sort-alphabetical": "f4bb",
|
|
25
|
+
"checkbox-marked-circle": "f133",
|
|
26
|
+
"account-settings": "f630",
|
|
27
|
+
"backup-restore": "f06f",
|
|
28
|
+
};
|
|
29
|
+
const defaultMode = "planning";
|
|
30
|
+
const getWmMode = (ref) => {
|
|
31
|
+
return (ref.getAttribute("mode") ||
|
|
32
|
+
document.documentElement.getAttribute("mode") ||
|
|
33
|
+
defaultMode);
|
|
34
|
+
};
|
|
35
|
+
const chartPalettes = {
|
|
36
|
+
discrete: [
|
|
37
|
+
"wmcolor-dataviz-discrete-01",
|
|
38
|
+
"wmcolor-dataviz-discrete-02",
|
|
39
|
+
"wmcolor-dataviz-discrete-03",
|
|
40
|
+
"wmcolor-dataviz-discrete-04",
|
|
41
|
+
"wmcolor-dataviz-discrete-05",
|
|
42
|
+
"wmcolor-dataviz-discrete-06",
|
|
43
|
+
"wmcolor-dataviz-discrete-07",
|
|
44
|
+
],
|
|
45
|
+
semantic: [
|
|
46
|
+
"wmcolor-dataviz-semantic-positive-01",
|
|
47
|
+
"wmcolor-dataviz-semantic-positive-02",
|
|
48
|
+
"wmcolor-dataviz-semantic-negative-01",
|
|
49
|
+
"wmcolor-dataviz-semantic-negative-02",
|
|
50
|
+
"wmcolor-dataviz-semantic-neutral-01",
|
|
51
|
+
"wmcolor-dataviz-semantic-neutral-02",
|
|
52
|
+
"wmcolor-dataviz-semantic-neutral-03",
|
|
53
|
+
"wmcolor-dataviz-semantic-unspecified",
|
|
54
|
+
],
|
|
55
|
+
};
|
|
56
|
+
const patternKey = {
|
|
57
|
+
"wmcolor-dataviz-discrete-03": "pattern-discrete-03",
|
|
58
|
+
"wmcolor-dataviz-discrete-05": "pattern-discrete-05",
|
|
59
|
+
"wmcolor-dataviz-discrete-06": "pattern-discrete-06",
|
|
60
|
+
"wmcolor-dataviz-discrete-07": "pattern-discrete-07",
|
|
61
|
+
"wmcolor-dataviz-semantic-positive-02": "pattern-semantic-positive-02",
|
|
62
|
+
"wmcolor-dataviz-semantic-negative-01": "pattern-semantic-negative-01",
|
|
63
|
+
"wmcolor-dataviz-semantic-negative-02": "pattern-semantic-negative-02",
|
|
64
|
+
"wmcolor-dataviz-semantic-neutral-01": "pattern-semantic-neutral-01",
|
|
65
|
+
"wmcolor-dataviz-semantic-neutral-03": "pattern-semantic-neutral-03",
|
|
66
|
+
"wmcolor-dataviz-semantic-unspecified": "pattern-semantic-unspecified",
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
exports.chartPalettes = chartPalettes;
|
|
70
|
+
exports.getIconCodeFromName = getIconCodeFromName;
|
|
71
|
+
exports.getWmMode = getWmMode;
|
|
72
|
+
exports.patternKey = patternKey;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
//List of icon codes with more indicative descriptors to create labels for icon-only buttons
|
|
4
|
+
const iconLabels = {
|
|
5
|
+
f156: "Close",
|
|
6
|
+
f3eb: "Edit",
|
|
7
|
+
f739: "Cancel",
|
|
8
|
+
f12c: "Save",
|
|
9
|
+
f1c0: "Delete",
|
|
10
|
+
f349: "Search",
|
|
11
|
+
f207: "Export info",
|
|
12
|
+
f1d9: "Open dropdown",
|
|
13
|
+
f04d: "Go back",
|
|
14
|
+
f054: "Go forward",
|
|
15
|
+
f141: "Left",
|
|
16
|
+
f142: "Right",
|
|
17
|
+
f35e: "Menu left",
|
|
18
|
+
f35d: "Toggle menu down",
|
|
19
|
+
f30d: "Backspace",
|
|
20
|
+
f645: "Sort hierarchically",
|
|
21
|
+
f4bb: "Sort alphabetically",
|
|
22
|
+
};
|
|
23
|
+
function getIconCodeFromName(icon) {
|
|
24
|
+
return iconCodes[icon] || icon;
|
|
25
|
+
}
|
|
26
|
+
const iconCodes = {
|
|
27
|
+
close: "f156",
|
|
28
|
+
pencil: "f3eb",
|
|
29
|
+
cancel: "f739",
|
|
30
|
+
check: "f12c",
|
|
31
|
+
delete: "f1c0",
|
|
32
|
+
magnify: "f349",
|
|
33
|
+
export: "f207",
|
|
34
|
+
"dots-vertical": "f1d9",
|
|
35
|
+
"arrow-left": "f04d",
|
|
36
|
+
"arrow-right": "f054",
|
|
37
|
+
"chevron-left": "f141",
|
|
38
|
+
"chevron-right": "f142",
|
|
39
|
+
"menu-left": "f35e",
|
|
40
|
+
"menu-down": "f35d",
|
|
41
|
+
"keyboard-backspace": "f30d",
|
|
42
|
+
"file-tree": "f645",
|
|
43
|
+
"sort-alphabetical": "f4bb",
|
|
44
|
+
"checkbox-marked-circle": "f133",
|
|
45
|
+
"account-settings": "f630",
|
|
46
|
+
"backup-restore": "f06f",
|
|
47
|
+
};
|
|
48
|
+
const defaultMode = "planning";
|
|
49
|
+
const getWmMode = (ref) => {
|
|
50
|
+
return (ref.getAttribute("mode") ||
|
|
51
|
+
document.documentElement.getAttribute("mode") ||
|
|
52
|
+
defaultMode);
|
|
53
|
+
};
|
|
54
|
+
const chartPalettes = {
|
|
55
|
+
discrete: [
|
|
56
|
+
"wmcolor-dataviz-discrete-01",
|
|
57
|
+
"wmcolor-dataviz-discrete-02",
|
|
58
|
+
"wmcolor-dataviz-discrete-03",
|
|
59
|
+
"wmcolor-dataviz-discrete-04",
|
|
60
|
+
"wmcolor-dataviz-discrete-05",
|
|
61
|
+
"wmcolor-dataviz-discrete-06",
|
|
62
|
+
"wmcolor-dataviz-discrete-07",
|
|
63
|
+
],
|
|
64
|
+
semantic: [
|
|
65
|
+
"wmcolor-dataviz-semantic-positive-01",
|
|
66
|
+
"wmcolor-dataviz-semantic-positive-02",
|
|
67
|
+
"wmcolor-dataviz-semantic-negative-01",
|
|
68
|
+
"wmcolor-dataviz-semantic-negative-02",
|
|
69
|
+
"wmcolor-dataviz-semantic-neutral-01",
|
|
70
|
+
"wmcolor-dataviz-semantic-neutral-02",
|
|
71
|
+
"wmcolor-dataviz-semantic-neutral-03",
|
|
72
|
+
"wmcolor-dataviz-semantic-unspecified",
|
|
73
|
+
],
|
|
74
|
+
};
|
|
75
|
+
const patternKey = {
|
|
76
|
+
"wmcolor-dataviz-discrete-03": "pattern-discrete-03",
|
|
77
|
+
"wmcolor-dataviz-discrete-05": "pattern-discrete-05",
|
|
78
|
+
"wmcolor-dataviz-discrete-06": "pattern-discrete-06",
|
|
79
|
+
"wmcolor-dataviz-discrete-07": "pattern-discrete-07",
|
|
80
|
+
"wmcolor-dataviz-semantic-positive-02": "pattern-semantic-positive-02",
|
|
81
|
+
"wmcolor-dataviz-semantic-negative-01": "pattern-semantic-negative-01",
|
|
82
|
+
"wmcolor-dataviz-semantic-negative-02": "pattern-semantic-negative-02",
|
|
83
|
+
"wmcolor-dataviz-semantic-neutral-01": "pattern-semantic-neutral-01",
|
|
84
|
+
"wmcolor-dataviz-semantic-neutral-03": "pattern-semantic-neutral-03",
|
|
85
|
+
"wmcolor-dataviz-semantic-unspecified": "pattern-semantic-unspecified",
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
exports.chartPalettes = chartPalettes;
|
|
89
|
+
exports.getIconCodeFromName = getIconCodeFromName;
|
|
90
|
+
exports.getWmMode = getWmMode;
|
|
91
|
+
exports.patternKey = patternKey;
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const functions = require('./functions-05cd64e3.js');
|
|
4
|
+
|
|
5
|
+
const globalMessages = {
|
|
6
|
+
characterLimitReached: functions.intl.formatMessage({
|
|
7
|
+
id: "global.characterLimitReached",
|
|
8
|
+
defaultMessage: "No additional characters will be entered.",
|
|
9
|
+
description: "for screen readers",
|
|
10
|
+
}),
|
|
11
|
+
close: functions.intl.formatMessage({
|
|
12
|
+
id: "global.closeVerb",
|
|
13
|
+
defaultMessage: "Close",
|
|
14
|
+
description: "For a button, to close a user interface element",
|
|
15
|
+
}),
|
|
16
|
+
genericError: functions.intl.formatMessage({
|
|
17
|
+
id: "global.genericError",
|
|
18
|
+
defaultMessage: "An error occurred. Please try again.",
|
|
19
|
+
}),
|
|
20
|
+
hide: functions.intl.formatMessage({
|
|
21
|
+
id: "global.hideVerb",
|
|
22
|
+
defaultMessage: "Hide",
|
|
23
|
+
description: "For a button, to hide something",
|
|
24
|
+
}),
|
|
25
|
+
locked: functions.intl.formatMessage({
|
|
26
|
+
id: "global.locked",
|
|
27
|
+
defaultMessage: "locked",
|
|
28
|
+
description: "For an interactive element, indicating its state cannot be changed",
|
|
29
|
+
}),
|
|
30
|
+
newWindow: functions.intl.formatMessage({
|
|
31
|
+
id: "global.newWindowLink",
|
|
32
|
+
defaultMessage: "Opens in a new window.",
|
|
33
|
+
description: "Indicates that a focused link will open in a new window",
|
|
34
|
+
}),
|
|
35
|
+
next: functions.intl.formatMessage({
|
|
36
|
+
id: "global.next",
|
|
37
|
+
defaultMessage: "Next",
|
|
38
|
+
description: "Button text, indicating an action leading to a 'next' state",
|
|
39
|
+
}),
|
|
40
|
+
open: functions.intl.formatMessage({
|
|
41
|
+
id: "global.openVerb",
|
|
42
|
+
defaultMessage: "Open",
|
|
43
|
+
description: "For a button, to open a user interface element",
|
|
44
|
+
}),
|
|
45
|
+
previous: functions.intl.formatMessage({
|
|
46
|
+
id: "global.previous",
|
|
47
|
+
defaultMessage: "Previous",
|
|
48
|
+
description: "Button text, indicating an action leading to a 'previous' state",
|
|
49
|
+
}),
|
|
50
|
+
requiredError: functions.intl.formatMessage({
|
|
51
|
+
id: "global.requiredError",
|
|
52
|
+
defaultMessage: "This field is required.",
|
|
53
|
+
description: "Error displayed under a required field when it has not been filled",
|
|
54
|
+
}),
|
|
55
|
+
requiredField: functions.intl.formatMessage({
|
|
56
|
+
id: "global.requiredField",
|
|
57
|
+
defaultMessage: "required field",
|
|
58
|
+
description: "Screen reader text, indicating the currently focused field is required",
|
|
59
|
+
}),
|
|
60
|
+
show: functions.intl.formatMessage({
|
|
61
|
+
id: "global.showVerb",
|
|
62
|
+
defaultMessage: "Show",
|
|
63
|
+
description: "For a button, to show something",
|
|
64
|
+
}),
|
|
65
|
+
// -------------------------------------------------------------------------- //
|
|
66
|
+
// Functions //
|
|
67
|
+
// -------------------------------------------------------------------------- //
|
|
68
|
+
getCharactersEntered: (charCount, charLimit) => functions.intl.formatMessage({
|
|
69
|
+
id: "global.charactersEntered",
|
|
70
|
+
defaultMessage: "{x, number} of {y, number} characters entered.",
|
|
71
|
+
description: "for screen readers",
|
|
72
|
+
}, { x: charCount, y: charLimit }),
|
|
73
|
+
getCharacterLimit: (characterLimit) => functions.intl.formatMessage({
|
|
74
|
+
id: "global.characterLimit",
|
|
75
|
+
defaultMessage: "{limit, number} characters allowed.",
|
|
76
|
+
description: "for screen readers",
|
|
77
|
+
}, { limit: characterLimit }),
|
|
78
|
+
};
|
|
79
|
+
const uploaderMessages = {
|
|
80
|
+
duplicateName: functions.intl.formatMessage({
|
|
81
|
+
id: "uploader.duplicateName",
|
|
82
|
+
defaultMessage: "A file with this name already exists.",
|
|
83
|
+
}),
|
|
84
|
+
fileLimitExceeded: functions.intl.formatMessage({
|
|
85
|
+
id: "uploader.fileUploadLimitExceeded",
|
|
86
|
+
defaultMessage: "Upload unsuccessful because file selection would exceed the maximum number of files",
|
|
87
|
+
description: "Message displayed when trying to upload too many files",
|
|
88
|
+
}),
|
|
89
|
+
fileLimitReached: functions.intl.formatMessage({
|
|
90
|
+
id: "uploader.fileUploadLimitReached",
|
|
91
|
+
defaultMessage: "The maximum number of files has been reached",
|
|
92
|
+
description: "Message displayed when trying to upload additional files, but the limit has been reached",
|
|
93
|
+
}),
|
|
94
|
+
finishedUploading: functions.intl.formatMessage({
|
|
95
|
+
id: "uploader.finishedUploading",
|
|
96
|
+
defaultMessage: "Finished uploading",
|
|
97
|
+
}),
|
|
98
|
+
waitToUpload: functions.intl.formatMessage({
|
|
99
|
+
id: "uploader.waitToUpload",
|
|
100
|
+
defaultMessage: "Please wait for current upload to complete before uploading new files.",
|
|
101
|
+
description: "Message for screen reader users",
|
|
102
|
+
}),
|
|
103
|
+
zeroFileSize: functions.intl.formatMessage({
|
|
104
|
+
id: "uploader.zeroFileSize",
|
|
105
|
+
defaultMessage: "The file must be more than 0 bytes",
|
|
106
|
+
description: "Error message when user attempts to upload a file of no size",
|
|
107
|
+
}),
|
|
108
|
+
dropInstructions: functions.intl.formatMessage({
|
|
109
|
+
id: "uploader.dropInstructions",
|
|
110
|
+
defaultMessage: "Browse or Drag Files Here",
|
|
111
|
+
description: "Instructions for how to choose files to upload",
|
|
112
|
+
}),
|
|
113
|
+
dropFile: functions.intl.formatMessage({
|
|
114
|
+
id: "uploader.dropFile",
|
|
115
|
+
defaultMessage: "Drop to Upload",
|
|
116
|
+
description: "Prompt for use to drop the file they're currently dragging",
|
|
117
|
+
}),
|
|
118
|
+
fileRequirements: functions.intl.formatMessage({
|
|
119
|
+
id: "uploader.fileRequirements",
|
|
120
|
+
defaultMessage: "File Requirements",
|
|
121
|
+
description: "Expandable button revealing the uploader's file requirements",
|
|
122
|
+
}),
|
|
123
|
+
// -------------------------------------------------------------------------- //
|
|
124
|
+
// Functions //
|
|
125
|
+
// -------------------------------------------------------------------------- //
|
|
126
|
+
getFilesAdded: (numFiles) => functions.intl.formatMessage({
|
|
127
|
+
id: "uploader.filesAdded",
|
|
128
|
+
defaultMessage: "{numFiles, plural, one {1 file added} other {# files added}}",
|
|
129
|
+
}, { numFiles: numFiles }),
|
|
130
|
+
getFileCount: (fileListLength, maxFiles) => functions.intl.formatMessage({
|
|
131
|
+
id: "uploader.fileCount",
|
|
132
|
+
defaultMessage: "{x} of {y} Files",
|
|
133
|
+
description: "A count of the number of files currently uploaded",
|
|
134
|
+
}, { x: fileListLength, y: maxFiles }),
|
|
135
|
+
getFileTooLarge: (maxSize) => functions.intl.formatMessage({
|
|
136
|
+
id: "uploader.fileTooLarge",
|
|
137
|
+
defaultMessage: "The selected file is too large. Maximum file size is {size}",
|
|
138
|
+
}, { size: maxSize }),
|
|
139
|
+
getFilesUploading: (numFilesUploading) => functions.intl.formatMessage({
|
|
140
|
+
id: "uploader.filesUploading",
|
|
141
|
+
defaultMessage: "{num, plural, one {1 file uploading} other {# files uploading}}",
|
|
142
|
+
}, { num: numFilesUploading }),
|
|
143
|
+
getInvalidFileType: (validTypes) => functions.intl.formatMessage({
|
|
144
|
+
id: "uploader.invalidFileType",
|
|
145
|
+
defaultMessage: "The file type is invalid. Accepted types: {validTypes}",
|
|
146
|
+
}, { validTypes }),
|
|
147
|
+
getUploadProgress: (percentage) => functions.intl.formatMessage({
|
|
148
|
+
id: "uploader.uploadProgress",
|
|
149
|
+
defaultMessage: "Upload progress: {percentage}%",
|
|
150
|
+
}, { percentage: percentage }),
|
|
151
|
+
};
|
|
152
|
+
const chartMessages = {
|
|
153
|
+
interactiveChart: functions.intl.formatMessage({
|
|
154
|
+
id: "chart.interactiveChart",
|
|
155
|
+
defaultMessage: "Interactive chart",
|
|
156
|
+
description: "For screen readers only, a description clarifying the role of the chart widget",
|
|
157
|
+
}),
|
|
158
|
+
};
|
|
159
|
+
const lineChartMessages = {
|
|
160
|
+
instructions: functions.intl.formatMessage({
|
|
161
|
+
id: "linechart.instructions",
|
|
162
|
+
defaultMessage: "Use Tab and arrow keys to browse elements.",
|
|
163
|
+
description: "For screen readers only, instructions on how to interact with the line chart component",
|
|
164
|
+
}),
|
|
165
|
+
noData: functions.intl.formatMessage({
|
|
166
|
+
id: "linechart.noData",
|
|
167
|
+
defaultMessage: "No Data",
|
|
168
|
+
description: "Message displayed when a data point has missing data",
|
|
169
|
+
}),
|
|
170
|
+
highlightQualifier: functions.intl.formatMessage({
|
|
171
|
+
id: "linechart.highlightQualifier",
|
|
172
|
+
defaultMessage: "highlighted",
|
|
173
|
+
description: "Descriptor for highlighted areas of a chart",
|
|
174
|
+
}),
|
|
175
|
+
// -------------------------------------------------------------------------- //
|
|
176
|
+
// Functions //
|
|
177
|
+
// -------------------------------------------------------------------------- //
|
|
178
|
+
getChangeSince: (prevXValue) => functions.intl.formatMessage({
|
|
179
|
+
id: "linechart.changeSince",
|
|
180
|
+
defaultMessage: "Change since {time}",
|
|
181
|
+
description: "Indicates a comparison between current and previous data",
|
|
182
|
+
}, {
|
|
183
|
+
time: prevXValue,
|
|
184
|
+
}),
|
|
185
|
+
getToggleButtonLabel: (itemCount) => functions.intl.formatMessage({
|
|
186
|
+
id: "linechart.toggleButtonLabel",
|
|
187
|
+
defaultMessage: "Toggle line visibility, list with {itemCount} items",
|
|
188
|
+
}, {
|
|
189
|
+
itemCount: itemCount,
|
|
190
|
+
}),
|
|
191
|
+
getToggleButtonState: (isPressed) => functions.intl.formatMessage({
|
|
192
|
+
id: "linechart.toggleButtonState",
|
|
193
|
+
defaultMessage: "toggle {isPressed, select, true {pressed} other {}}",
|
|
194
|
+
description: "Descriptor and state for a toggle button UI element",
|
|
195
|
+
}, {
|
|
196
|
+
isPressed: isPressed,
|
|
197
|
+
}),
|
|
198
|
+
getLineFocusAnnouncement: (label, lineNumber, lineTotal, lineLength) => functions.intl.formatMessage({
|
|
199
|
+
id: "linechart.getLineFocusAnnouncement",
|
|
200
|
+
defaultMessage: `{label}, line {lineNumber} of {lineTotal} with {lineLength} data points`,
|
|
201
|
+
}, {
|
|
202
|
+
label: label,
|
|
203
|
+
lineNumber: lineNumber,
|
|
204
|
+
lineTotal: lineTotal,
|
|
205
|
+
lineLength: lineLength,
|
|
206
|
+
}),
|
|
207
|
+
};
|
|
208
|
+
const selectMessages = {
|
|
209
|
+
multiPlaceholder: functions.intl.formatMessage({
|
|
210
|
+
id: "select.multiPlaceholder",
|
|
211
|
+
defaultMessage: "Make a selection",
|
|
212
|
+
}),
|
|
213
|
+
singlePlaceholder: functions.intl.formatMessage({
|
|
214
|
+
id: "select.singlePlaceholder",
|
|
215
|
+
defaultMessage: "Select an Option",
|
|
216
|
+
}),
|
|
217
|
+
multiClearSelection: functions.intl.formatMessage({
|
|
218
|
+
id: "select.multiClearSelection",
|
|
219
|
+
defaultMessage: "Clear all Selections",
|
|
220
|
+
description: "Clear as in remove. Use imperative",
|
|
221
|
+
}),
|
|
222
|
+
singleClearSelection: functions.intl.formatMessage({
|
|
223
|
+
id: "select.singleClearSelection",
|
|
224
|
+
defaultMessage: "Clear Selection",
|
|
225
|
+
description: "Clear as in remove. Use imperative",
|
|
226
|
+
}),
|
|
227
|
+
selectionCleared: functions.intl.formatMessage({
|
|
228
|
+
id: "select.selectionCleared",
|
|
229
|
+
defaultMessage: "Selection cleared",
|
|
230
|
+
}),
|
|
231
|
+
searchPlaceholder: functions.intl.formatMessage({
|
|
232
|
+
id: "select.searchPlaceholder",
|
|
233
|
+
defaultMessage: "Search",
|
|
234
|
+
description: "Appears in a search field UI element",
|
|
235
|
+
}),
|
|
236
|
+
allSelected: functions.intl.formatMessage({
|
|
237
|
+
id: "select.allSelected",
|
|
238
|
+
defaultMessage: "All selected",
|
|
239
|
+
description: "Indicates all possible options have been selected",
|
|
240
|
+
}),
|
|
241
|
+
selectAllMessage: functions.intl.formatMessage({
|
|
242
|
+
id: "select.selectAll",
|
|
243
|
+
defaultMessage: "Select All",
|
|
244
|
+
}),
|
|
245
|
+
deselectAllMessage: functions.intl.formatMessage({
|
|
246
|
+
id: "select.deselectAll",
|
|
247
|
+
defaultMessage: "Deselect All",
|
|
248
|
+
}),
|
|
249
|
+
allOptionsSelectedMessage: functions.intl.formatMessage({
|
|
250
|
+
id: "select.allOptionsSelected",
|
|
251
|
+
defaultMessage: "All options selected",
|
|
252
|
+
}),
|
|
253
|
+
allOptionsDeselectedMessage: functions.intl.formatMessage({
|
|
254
|
+
id: "select.allOptionsDeselected",
|
|
255
|
+
defaultMessage: "All options deselected",
|
|
256
|
+
}),
|
|
257
|
+
noSearchResults: functions.intl.formatMessage({
|
|
258
|
+
id: "select.noSearchResults",
|
|
259
|
+
defaultMessage: "No results found. Please try your search again.",
|
|
260
|
+
}),
|
|
261
|
+
optgroupSingleSelectionCount: () => functions.intl.formatMessage({
|
|
262
|
+
id: "select.optgroupSingleSelectionCount",
|
|
263
|
+
defaultMessage: "Item Selected",
|
|
264
|
+
description: "Item refers to an option in a list",
|
|
265
|
+
}),
|
|
266
|
+
// -------------------------------------------------------------------------- //
|
|
267
|
+
// Functions //
|
|
268
|
+
// -------------------------------------------------------------------------- //
|
|
269
|
+
getOptgroupMultipleSelectionCount: (selectionCount) => functions.intl.formatMessage({
|
|
270
|
+
id: "select.optgroupMultipleSelectionCount",
|
|
271
|
+
defaultMessage: "{numberSelected} selected",
|
|
272
|
+
}, { numberSelected: selectionCount }),
|
|
273
|
+
getSearchResultsFound: (numResults) => functions.intl.formatMessage({
|
|
274
|
+
id: "select.searchResultsFound",
|
|
275
|
+
defaultMessage: "{numberResults, plural, one {1 option found} other {# options found}}",
|
|
276
|
+
}, { numberResults: numResults }),
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
exports.chartMessages = chartMessages;
|
|
280
|
+
exports.globalMessages = globalMessages;
|
|
281
|
+
exports.lineChartMessages = lineChartMessages;
|
|
282
|
+
exports.selectMessages = selectMessages;
|
|
283
|
+
exports.uploaderMessages = uploaderMessages;
|