@watermarkinsights/ripple 5.13.0-alpha.3 → 5.13.0-alpha.4
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/{components/index.js → ripple/app-globals-B7cOtGhY.js} +82 -3
- package/dist/{components/chartFunctions.js → ripple/chartFunctions-KaEM0xh0.js} +3 -2
- package/dist/{components/functions.js → ripple/functions-Dtrjc9kR.js} +7828 -146
- package/dist/ripple/index-CU5QNCKv.js +4167 -0
- package/dist/ripple/index.esm.js +1 -0
- package/dist/{collection/global/interfaces.js → ripple/interfaces-CrANcZM9.js} +6 -4
- package/dist/{esm/intl-DYVRT1s6.js → ripple/intl-BMoOWb_l.js} +1 -1
- package/dist/ripple/priv-calendar.entry.js +566 -0
- package/dist/ripple/{p-65db2c0f.entry.js → priv-chart-popover.entry.js} +134 -1
- package/dist/{esm-es5/wm-modal-pss-header.entry.js → ripple/priv-navigator-button.entry.js} +24 -1
- package/dist/ripple/priv-navigator-item.entry.js +30 -0
- package/dist/{esm-es5/wm-navigation.entry.js → ripple/priv-option-list.entry.js} +385 -1
- package/dist/ripple/ripple.css +1645 -1
- package/dist/ripple/ripple.esm.js +48 -1
- package/dist/ripple/wm-action-menu.entry.js +201 -0
- package/dist/{esm-es5/wm-navigator.entry.js → ripple/wm-button.entry.js} +197 -1
- package/dist/{esm → ripple}/wm-chart-slice.entry.js +1 -1
- package/dist/ripple/wm-chart.entry.js +157 -0
- package/dist/ripple/wm-date-range.entry.js +477 -0
- package/dist/ripple/wm-datepicker.entry.js +247 -0
- package/dist/ripple/wm-file-list.entry.js +18 -0
- package/dist/ripple/wm-file.entry.js +182 -0
- package/dist/ripple/wm-input.entry.js +111 -0
- package/dist/ripple/wm-line-chart.entry.js +449 -0
- package/dist/ripple/wm-menuitem.entry.js +125 -0
- package/dist/{esm-es5/priv-calendar.entry.js → ripple/wm-modal-footer.entry.js} +44 -1
- package/dist/{esm-es5/wm-chart.entry.js → ripple/wm-modal-header.entry.js} +36 -1
- package/dist/ripple/{p-2d41fbed.system.entry.js → wm-modal-pss-footer.entry.js} +40 -1
- package/dist/{esm-es5/wm-modal-header.entry.js → ripple/wm-modal-pss-header.entry.js} +39 -1
- package/dist/ripple/{p-d4481342.system.entry.js → wm-modal-pss.entry.js} +135 -1
- package/dist/ripple/wm-modal.entry.js +133 -0
- package/dist/ripple/wm-navigation-hamburger.entry.js +48 -0
- package/dist/{esm-es5 → ripple}/wm-navigation-item.entry.js +18 -1
- package/dist/ripple/{p-8a33538f.entry.js → wm-navigation.entry.js} +116 -1
- package/dist/ripple/wm-navigator.entry.js +368 -0
- package/dist/ripple/wm-nested-select.entry.js +308 -0
- package/dist/ripple/wm-optgroup.entry.js +68 -0
- package/dist/ripple/{p-997bdd2e.system.entry.js → wm-option.entry.js} +171 -1
- package/dist/ripple/wm-pagination.entry.js +223 -0
- package/dist/ripple/wm-progress-indicator.entry.js +107 -0
- package/dist/ripple/wm-progress-monitor.entry.js +71 -0
- package/dist/{esm → ripple}/wm-progress-slice.entry.js +1 -1
- package/dist/ripple/{p-d20ed498.entry.js → wm-search.entry.js} +208 -1
- package/dist/ripple/{p-e0c9798d.system.entry.js → wm-select.entry.js} +249 -1
- package/dist/ripple/wm-snackbar.entry.js +178 -0
- package/dist/{esm-es5 → ripple}/wm-tab-item.entry.js +63 -1
- package/dist/ripple/{p-8b9c4e3e.entry.js → wm-tab-list.entry.js} +175 -1
- package/dist/ripple/wm-tab-panel.entry.js +32 -0
- package/dist/ripple/wm-tag-input.entry.js +877 -0
- package/dist/{esm → ripple}/wm-tag-option.entry.js +2 -2
- package/dist/ripple/wm-textarea.entry.js +79 -0
- package/dist/ripple/wm-timepicker.entry.js +300 -0
- package/dist/{esm-es5/wm-progress-monitor.entry.js → ripple/wm-toggletip.entry.js} +176 -1
- package/dist/ripple/wm-uploader.entry.js +313 -0
- package/dist/{esm → ripple}/wm-wrapper.entry.js +1 -1
- package/package.json +30 -6
- package/dist/cjs/app-globals-DztnjEf7.js +0 -92
- package/dist/cjs/chartFunctions-CM2Nah_s.js +0 -731
- package/dist/cjs/functions-CoXfjC6r.js +0 -10450
- package/dist/cjs/index-Cig4P4gJ.js +0 -2082
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/interfaces-C7YbtGnk.js +0 -37
- package/dist/cjs/intl-DVt1J717.js +0 -283
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/cjs/priv-calendar.cjs.entry.js +0 -568
- package/dist/cjs/priv-chart-popover.cjs.entry.js +0 -136
- package/dist/cjs/priv-navigator-button_2.cjs.entry.js +0 -54
- package/dist/cjs/priv-option-list_2.cjs.entry.js +0 -556
- package/dist/cjs/ripple.cjs.js +0 -25
- package/dist/cjs/wm-action-menu_4.cjs.entry.js +0 -702
- package/dist/cjs/wm-chart-slice.cjs.entry.js +0 -20
- package/dist/cjs/wm-chart.cjs.entry.js +0 -159
- package/dist/cjs/wm-date-range.cjs.entry.js +0 -479
- package/dist/cjs/wm-datepicker.cjs.entry.js +0 -249
- package/dist/cjs/wm-file-list.cjs.entry.js +0 -20
- package/dist/cjs/wm-file.cjs.entry.js +0 -184
- package/dist/cjs/wm-input.cjs.entry.js +0 -113
- package/dist/cjs/wm-line-chart.cjs.entry.js +0 -451
- package/dist/cjs/wm-modal-footer.cjs.entry.js +0 -46
- package/dist/cjs/wm-modal-header.cjs.entry.js +0 -38
- package/dist/cjs/wm-modal-pss-footer.cjs.entry.js +0 -42
- package/dist/cjs/wm-modal-pss-header.cjs.entry.js +0 -41
- package/dist/cjs/wm-modal-pss.cjs.entry.js +0 -137
- package/dist/cjs/wm-modal.cjs.entry.js +0 -135
- package/dist/cjs/wm-navigation-hamburger.cjs.entry.js +0 -50
- package/dist/cjs/wm-navigation-item.cjs.entry.js +0 -20
- package/dist/cjs/wm-navigation.cjs.entry.js +0 -118
- package/dist/cjs/wm-navigator.cjs.entry.js +0 -329
- package/dist/cjs/wm-nested-select.cjs.entry.js +0 -310
- package/dist/cjs/wm-optgroup.cjs.entry.js +0 -70
- package/dist/cjs/wm-pagination.cjs.entry.js +0 -225
- package/dist/cjs/wm-progress-indicator.cjs.entry.js +0 -109
- package/dist/cjs/wm-progress-monitor.cjs.entry.js +0 -73
- package/dist/cjs/wm-progress-slice.cjs.entry.js +0 -15
- package/dist/cjs/wm-search.cjs.entry.js +0 -210
- package/dist/cjs/wm-select.cjs.entry.js +0 -251
- package/dist/cjs/wm-tab-item.cjs.entry.js +0 -65
- package/dist/cjs/wm-tab-list.cjs.entry.js +0 -177
- package/dist/cjs/wm-tab-panel.cjs.entry.js +0 -34
- package/dist/cjs/wm-tag-input.cjs.entry.js +0 -879
- package/dist/cjs/wm-tag-option.cjs.entry.js +0 -37
- package/dist/cjs/wm-textarea.cjs.entry.js +0 -81
- package/dist/cjs/wm-timepicker.cjs.entry.js +0 -302
- package/dist/cjs/wm-toggletip.cjs.entry.js +0 -178
- package/dist/cjs/wm-uploader.cjs.entry.js +0 -315
- package/dist/cjs/wm-wrapper.cjs.entry.js +0 -19
- package/dist/collection/collection-manifest.json +0 -58
- package/dist/collection/components/charts/chartFunctions.js +0 -665
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +0 -908
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +0 -261
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +0 -128
- package/dist/collection/components/charts/wm-chart/wm-chart.css +0 -1274
- package/dist/collection/components/charts/wm-chart/wm-chart.js +0 -445
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +0 -1067
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +0 -742
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +0 -1274
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +0 -271
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +0 -909
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +0 -154
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +0 -124
- package/dist/collection/components/datepickers/datepicker.css +0 -1044
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +0 -1279
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +0 -849
- package/dist/collection/components/datepickers/wm-date-range.js +0 -869
- package/dist/collection/components/datepickers/wm-datepicker.js +0 -538
- package/dist/collection/components/selects/priv-option-list/priv-option-list.css +0 -918
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +0 -791
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +0 -1181
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +0 -644
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +0 -830
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +0 -265
- package/dist/collection/components/selects/wm-option/wm-option.css +0 -931
- package/dist/collection/components/selects/wm-option/wm-option.js +0 -539
- package/dist/collection/components/selects/wm-select/wm-select.css +0 -1104
- package/dist/collection/components/selects/wm-select/wm-select.js +0 -606
- package/dist/collection/components/wm-action-menu/wm-action-menu.css +0 -891
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +0 -444
- package/dist/collection/components/wm-button/wm-button.css +0 -1261
- package/dist/collection/components/wm-button/wm-button.js +0 -510
- package/dist/collection/components/wm-file/wm-file.css +0 -927
- package/dist/collection/components/wm-file/wm-file.js +0 -423
- package/dist/collection/components/wm-file-list/wm-file-list.css +0 -820
- package/dist/collection/components/wm-file-list/wm-file-list.js +0 -47
- package/dist/collection/components/wm-input/wm-input.css +0 -993
- package/dist/collection/components/wm-input/wm-input.js +0 -498
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -891
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +0 -425
- package/dist/collection/components/wm-modal/wm-modal-footer.css +0 -845
- package/dist/collection/components/wm-modal/wm-modal-footer.js +0 -152
- package/dist/collection/components/wm-modal/wm-modal-header.css +0 -844
- package/dist/collection/components/wm-modal/wm-modal-header.js +0 -83
- package/dist/collection/components/wm-modal/wm-modal.css +0 -892
- package/dist/collection/components/wm-modal/wm-modal.js +0 -356
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +0 -852
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +0 -148
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +0 -846
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +0 -86
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +0 -928
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +0 -369
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +0 -847
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +0 -120
- package/dist/collection/components/wm-navigation/wm-navigation-item.css +0 -856
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +0 -99
- package/dist/collection/components/wm-navigation/wm-navigation.css +0 -898
- package/dist/collection/components/wm-navigation/wm-navigation.js +0 -192
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -850
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +0 -90
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +0 -830
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +0 -130
- package/dist/collection/components/wm-navigator/wm-navigator.css +0 -903
- package/dist/collection/components/wm-navigator/wm-navigator.js +0 -515
- package/dist/collection/components/wm-pagination/wm-pagination.css +0 -971
- package/dist/collection/components/wm-pagination/wm-pagination.js +0 -373
- package/dist/collection/components/wm-search/wm-search.css +0 -896
- package/dist/collection/components/wm-search/wm-search.js +0 -462
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -1078
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +0 -280
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +0 -869
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +0 -187
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +0 -841
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +0 -276
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +0 -825
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +0 -97
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +0 -1276
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +0 -1245
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +0 -251
- package/dist/collection/components/wm-textarea/wm-textarea.css +0 -980
- package/dist/collection/components/wm-textarea/wm-textarea.js +0 -331
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +0 -1094
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +0 -559
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +0 -1152
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +0 -295
- package/dist/collection/components/wm-uploader/wm-uploader.css +0 -1563
- package/dist/collection/components/wm-uploader/wm-uploader.js +0 -618
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +0 -28
- package/dist/collection/dev/action-menu.js +0 -0
- package/dist/collection/dev/button.js +0 -0
- package/dist/collection/dev/chart-small.js +0 -56
- package/dist/collection/dev/chart.js +0 -18
- package/dist/collection/dev/date-range.js +0 -6
- package/dist/collection/dev/datepicker.js +0 -46
- package/dist/collection/dev/file-list.js +0 -16
- package/dist/collection/dev/file.js +0 -0
- package/dist/collection/dev/input.js +0 -6
- package/dist/collection/dev/line-chart.js +0 -0
- package/dist/collection/dev/modal.js +0 -48
- package/dist/collection/dev/navigation.js +0 -13
- package/dist/collection/dev/navigator.js +0 -34
- package/dist/collection/dev/nested-select.js +0 -36
- package/dist/collection/dev/pagination.js +0 -7
- package/dist/collection/dev/progress-monitor.js +0 -0
- package/dist/collection/dev/pss-modal.js +0 -8
- package/dist/collection/dev/scripts.js +0 -49
- package/dist/collection/dev/search.js +0 -72
- package/dist/collection/dev/select.js +0 -57
- package/dist/collection/dev/snackbar.js +0 -60
- package/dist/collection/dev/tabs.js +0 -44
- package/dist/collection/dev/tag-input.js +0 -32
- package/dist/collection/dev/textarea.js +0 -28
- package/dist/collection/dev/timepicker.js +0 -32
- package/dist/collection/dev/toggletip.js +0 -9
- package/dist/collection/dev/uploader.js +0 -139
- package/dist/collection/global/__mocks__/functions.js +0 -6
- package/dist/collection/global/functions.js +0 -825
- package/dist/collection/global/global.js +0 -88
- package/dist/collection/global/intl.js +0 -274
- package/dist/collection/global/services/__mocks__/http-service.js +0 -130
- package/dist/collection/global/services/http-service.js +0 -50
- package/dist/collection/lang/lang.js +0 -5
- package/dist/collection/lang/missing.js +0 -43
- package/dist/collection/lang/piglatin.js +0 -101
- package/dist/components/interfaces.js +0 -34
- package/dist/components/intl.js +0 -277
- package/dist/components/priv-calendar.js +0 -6
- package/dist/components/priv-calendar2.js +0 -592
- package/dist/components/priv-chart-popover.js +0 -6
- package/dist/components/priv-chart-popover2.js +0 -154
- package/dist/components/priv-navigator-button.js +0 -6
- package/dist/components/priv-navigator-button2.js +0 -42
- package/dist/components/priv-navigator-item.js +0 -6
- package/dist/components/priv-navigator-item2.js +0 -49
- package/dist/components/priv-option-list.js +0 -6
- package/dist/components/priv-option-list2.js +0 -421
- package/dist/components/wm-action-menu.js +0 -6
- package/dist/components/wm-action-menu2.js +0 -231
- package/dist/components/wm-button.js +0 -6
- package/dist/components/wm-button2.js +0 -231
- package/dist/components/wm-chart-slice.js +0 -41
- package/dist/components/wm-chart.js +0 -197
- package/dist/components/wm-date-range.js +0 -522
- package/dist/components/wm-datepicker.js +0 -287
- package/dist/components/wm-file-list.js +0 -38
- package/dist/components/wm-file.js +0 -228
- package/dist/components/wm-input.js +0 -152
- package/dist/components/wm-line-chart.js +0 -497
- package/dist/components/wm-menuitem.js +0 -6
- package/dist/components/wm-menuitem2.js +0 -146
- package/dist/components/wm-modal-footer.js +0 -73
- package/dist/components/wm-modal-header.js +0 -61
- package/dist/components/wm-modal-pss-footer.js +0 -69
- package/dist/components/wm-modal-pss-header.js +0 -64
- package/dist/components/wm-modal-pss.js +0 -162
- package/dist/components/wm-modal.js +0 -161
- package/dist/components/wm-navigation-hamburger.js +0 -70
- package/dist/components/wm-navigation-item.js +0 -40
- package/dist/components/wm-navigation.js +0 -144
- package/dist/components/wm-navigator.js +0 -369
- package/dist/components/wm-nested-select.js +0 -343
- package/dist/components/wm-optgroup.js +0 -107
- package/dist/components/wm-option.js +0 -6
- package/dist/components/wm-option2.js +0 -196
- package/dist/components/wm-pagination.js +0 -251
- package/dist/components/wm-progress-indicator.js +0 -144
- package/dist/components/wm-progress-monitor.js +0 -93
- package/dist/components/wm-progress-slice.js +0 -37
- package/dist/components/wm-search.js +0 -250
- package/dist/components/wm-select.js +0 -6
- package/dist/components/wm-select2.js +0 -294
- package/dist/components/wm-snackbar.js +0 -210
- package/dist/components/wm-tab-item.js +0 -85
- package/dist/components/wm-tab-list.js +0 -217
- package/dist/components/wm-tab-panel.js +0 -52
- package/dist/components/wm-tag-input.js +0 -919
- package/dist/components/wm-tag-option.js +0 -63
- package/dist/components/wm-textarea.js +0 -113
- package/dist/components/wm-timepicker.js +0 -333
- package/dist/components/wm-toggletip.js +0 -200
- package/dist/components/wm-uploader.js +0 -348
- package/dist/components/wm-wrapper.js +0 -34
- package/dist/esm/app-globals-9HoPoE5v.js +0 -90
- package/dist/esm/chartFunctions-BFCUD5JX.js +0 -714
- package/dist/esm/functions-ZDMCMR3o.js +0 -10410
- package/dist/esm/index-EopL5zo4.js +0 -2071
- package/dist/esm/index.js +0 -1
- package/dist/esm/interfaces-CyJHzEjr.js +0 -34
- package/dist/esm/loader.js +0 -11
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/priv-calendar.entry.js +0 -566
- package/dist/esm/priv-chart-popover.entry.js +0 -134
- package/dist/esm/priv-navigator-button_2.entry.js +0 -51
- package/dist/esm/priv-option-list_2.entry.js +0 -553
- package/dist/esm/ripple.js +0 -21
- package/dist/esm/wm-action-menu_4.entry.js +0 -697
- package/dist/esm/wm-chart.entry.js +0 -157
- package/dist/esm/wm-date-range.entry.js +0 -477
- package/dist/esm/wm-datepicker.entry.js +0 -247
- package/dist/esm/wm-file-list.entry.js +0 -18
- package/dist/esm/wm-file.entry.js +0 -182
- package/dist/esm/wm-input.entry.js +0 -111
- package/dist/esm/wm-line-chart.entry.js +0 -449
- package/dist/esm/wm-modal-footer.entry.js +0 -44
- package/dist/esm/wm-modal-header.entry.js +0 -36
- package/dist/esm/wm-modal-pss-footer.entry.js +0 -40
- package/dist/esm/wm-modal-pss-header.entry.js +0 -39
- package/dist/esm/wm-modal-pss.entry.js +0 -135
- package/dist/esm/wm-modal.entry.js +0 -133
- package/dist/esm/wm-navigation-hamburger.entry.js +0 -48
- package/dist/esm/wm-navigation-item.entry.js +0 -18
- package/dist/esm/wm-navigation.entry.js +0 -116
- package/dist/esm/wm-navigator.entry.js +0 -327
- package/dist/esm/wm-nested-select.entry.js +0 -308
- package/dist/esm/wm-optgroup.entry.js +0 -68
- package/dist/esm/wm-pagination.entry.js +0 -223
- package/dist/esm/wm-progress-indicator.entry.js +0 -107
- package/dist/esm/wm-progress-monitor.entry.js +0 -71
- package/dist/esm/wm-search.entry.js +0 -208
- package/dist/esm/wm-select.entry.js +0 -249
- package/dist/esm/wm-tab-item.entry.js +0 -63
- package/dist/esm/wm-tab-list.entry.js +0 -175
- package/dist/esm/wm-tab-panel.entry.js +0 -32
- package/dist/esm/wm-tag-input.entry.js +0 -877
- package/dist/esm/wm-textarea.entry.js +0 -79
- package/dist/esm/wm-timepicker.entry.js +0 -300
- package/dist/esm/wm-toggletip.entry.js +0 -176
- package/dist/esm/wm-uploader.entry.js +0 -313
- package/dist/esm-es5/app-globals-9HoPoE5v.js +0 -1
- package/dist/esm-es5/chartFunctions-BFCUD5JX.js +0 -1
- package/dist/esm-es5/functions-ZDMCMR3o.js +0 -1
- package/dist/esm-es5/index-EopL5zo4.js +0 -1
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/interfaces-CyJHzEjr.js +0 -1
- package/dist/esm-es5/intl-DYVRT1s6.js +0 -1
- package/dist/esm-es5/loader.js +0 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +0 -1
- package/dist/esm-es5/priv-navigator-button_2.entry.js +0 -1
- package/dist/esm-es5/priv-option-list_2.entry.js +0 -1
- package/dist/esm-es5/ripple.js +0 -1
- package/dist/esm-es5/wm-action-menu_4.entry.js +0 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +0 -1
- package/dist/esm-es5/wm-date-range.entry.js +0 -1
- package/dist/esm-es5/wm-datepicker.entry.js +0 -1
- package/dist/esm-es5/wm-file-list.entry.js +0 -1
- package/dist/esm-es5/wm-file.entry.js +0 -1
- package/dist/esm-es5/wm-input.entry.js +0 -1
- package/dist/esm-es5/wm-line-chart.entry.js +0 -1
- package/dist/esm-es5/wm-modal-footer.entry.js +0 -1
- package/dist/esm-es5/wm-modal-pss-footer.entry.js +0 -1
- package/dist/esm-es5/wm-modal-pss.entry.js +0 -1
- package/dist/esm-es5/wm-modal.entry.js +0 -1
- package/dist/esm-es5/wm-navigation-hamburger.entry.js +0 -1
- package/dist/esm-es5/wm-nested-select.entry.js +0 -1
- package/dist/esm-es5/wm-optgroup.entry.js +0 -1
- package/dist/esm-es5/wm-pagination.entry.js +0 -1
- package/dist/esm-es5/wm-progress-indicator.entry.js +0 -1
- package/dist/esm-es5/wm-progress-slice.entry.js +0 -1
- package/dist/esm-es5/wm-search.entry.js +0 -1
- package/dist/esm-es5/wm-select.entry.js +0 -1
- package/dist/esm-es5/wm-tab-list.entry.js +0 -1
- package/dist/esm-es5/wm-tab-panel.entry.js +0 -1
- package/dist/esm-es5/wm-tag-input.entry.js +0 -1
- package/dist/esm-es5/wm-tag-option.entry.js +0 -1
- package/dist/esm-es5/wm-textarea.entry.js +0 -1
- package/dist/esm-es5/wm-timepicker.entry.js +0 -1
- package/dist/esm-es5/wm-toggletip.entry.js +0 -1
- package/dist/esm-es5/wm-uploader.entry.js +0 -1
- package/dist/esm-es5/wm-wrapper.entry.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/loader/cdn.js +0 -2
- package/dist/loader/index.cjs.js +0 -2
- package/dist/loader/index.d.ts +0 -24
- package/dist/loader/index.es2017.js +0 -2
- package/dist/loader/index.js +0 -3
- package/dist/ripple/p-032f127e.entry.js +0 -1
- package/dist/ripple/p-0bd43518.system.entry.js +0 -1
- package/dist/ripple/p-0dccd9b4.system.entry.js +0 -1
- package/dist/ripple/p-0dffa9ff.system.entry.js +0 -1
- package/dist/ripple/p-10d2b86e.entry.js +0 -1
- package/dist/ripple/p-1818d7f9.entry.js +0 -1
- package/dist/ripple/p-18d22114.system.entry.js +0 -1
- package/dist/ripple/p-1a769629.system.entry.js +0 -1
- package/dist/ripple/p-271ba485.system.entry.js +0 -1
- package/dist/ripple/p-2f26b6ac.entry.js +0 -1
- package/dist/ripple/p-3065bbe5.system.entry.js +0 -1
- package/dist/ripple/p-306caa10.entry.js +0 -1
- package/dist/ripple/p-32f2f3b4.system.entry.js +0 -1
- package/dist/ripple/p-340b73a9.system.entry.js +0 -1
- package/dist/ripple/p-42f9cd3d.entry.js +0 -1
- package/dist/ripple/p-47b525bd.entry.js +0 -1
- package/dist/ripple/p-492a8a9f.entry.js +0 -1
- package/dist/ripple/p-4c316652.system.entry.js +0 -1
- package/dist/ripple/p-54aeadde.entry.js +0 -1
- package/dist/ripple/p-568e29d3.entry.js +0 -1
- package/dist/ripple/p-588a86ed.system.entry.js +0 -1
- package/dist/ripple/p-591fd100.entry.js +0 -1
- package/dist/ripple/p-5a6cbc14.system.entry.js +0 -1
- package/dist/ripple/p-5abe1171.system.entry.js +0 -1
- package/dist/ripple/p-5ae17300.system.entry.js +0 -1
- package/dist/ripple/p-5b02ae40.entry.js +0 -1
- package/dist/ripple/p-5e438798.system.entry.js +0 -1
- package/dist/ripple/p-5ed4177e.entry.js +0 -1
- package/dist/ripple/p-6133160d.system.entry.js +0 -1
- package/dist/ripple/p-620aff89.entry.js +0 -1
- package/dist/ripple/p-70ed57bf.entry.js +0 -1
- package/dist/ripple/p-735d033a.entry.js +0 -1
- package/dist/ripple/p-74b1e110.entry.js +0 -1
- package/dist/ripple/p-77a8306c.entry.js +0 -1
- package/dist/ripple/p-7886fe5e.system.entry.js +0 -1
- package/dist/ripple/p-7ce09692.system.entry.js +0 -1
- package/dist/ripple/p-7cf1d9eb.system.entry.js +0 -1
- package/dist/ripple/p-7e786c28.system.entry.js +0 -1
- package/dist/ripple/p-812615ae.entry.js +0 -1
- package/dist/ripple/p-90925ea9.entry.js +0 -1
- package/dist/ripple/p-959afdcf.entry.js +0 -1
- package/dist/ripple/p-9db5f78e.entry.js +0 -1
- package/dist/ripple/p-BexWEx3U.system.js +0 -1
- package/dist/ripple/p-BgmAsS86.system.js +0 -1
- package/dist/ripple/p-Buh1DT2-.js +0 -1
- package/dist/ripple/p-CLZytLAw.system.js +0 -1
- package/dist/ripple/p-CTau6pR2.system.js +0 -2
- package/dist/ripple/p-CwkTkxrj.system.js +0 -1
- package/dist/ripple/p-CyJHzEjr.js +0 -1
- package/dist/ripple/p-DXsimRMV.js +0 -1
- package/dist/ripple/p-EopL5zo4.js +0 -2
- package/dist/ripple/p-GXdCI-yj.system.js +0 -1
- package/dist/ripple/p-UJrCrAlw.system.js +0 -1
- package/dist/ripple/p-YWpyar7R.system.js +0 -1
- package/dist/ripple/p-ZDMCMR3o.js +0 -1
- package/dist/ripple/p-b0b94ac4.system.entry.js +0 -1
- package/dist/ripple/p-b12640bd.entry.js +0 -1
- package/dist/ripple/p-b16431b0.system.entry.js +0 -1
- package/dist/ripple/p-b43cc69f.entry.js +0 -1
- package/dist/ripple/p-b4917824.entry.js +0 -1
- package/dist/ripple/p-b55babe1.system.entry.js +0 -1
- package/dist/ripple/p-ba48d47a.entry.js +0 -1
- package/dist/ripple/p-ba8ca46b.system.entry.js +0 -1
- package/dist/ripple/p-bee35fef.entry.js +0 -1
- package/dist/ripple/p-c273bb1c.system.entry.js +0 -1
- package/dist/ripple/p-cdebe76b.system.entry.js +0 -1
- package/dist/ripple/p-ce9634a2.entry.js +0 -1
- package/dist/ripple/p-d3e6498c.system.entry.js +0 -1
- package/dist/ripple/p-d40b6ef1.system.entry.js +0 -1
- package/dist/ripple/p-d5bcab58.entry.js +0 -1
- package/dist/ripple/p-d7660e7d.entry.js +0 -1
- package/dist/ripple/p-d85f017a.system.entry.js +0 -1
- package/dist/ripple/p-da5ad94c.system.entry.js +0 -1
- package/dist/ripple/p-dcca5771.system.entry.js +0 -1
- package/dist/ripple/p-dd236f42.system.entry.js +0 -1
- package/dist/ripple/p-de33fd67.entry.js +0 -1
- package/dist/ripple/p-e3700f4c.entry.js +0 -1
- package/dist/ripple/p-e901154b.entry.js +0 -1
- package/dist/ripple/p-e9fc862d.entry.js +0 -1
- package/dist/ripple/p-ea885cf3.system.entry.js +0 -1
- package/dist/ripple/p-f4c4218c.system.entry.js +0 -1
- package/dist/ripple/p-f57eb234.system.entry.js +0 -1
- package/dist/ripple/p-f858f5f9.system.entry.js +0 -1
- package/dist/ripple/p-f8721463.system.entry.js +0 -1
- package/dist/ripple/p-f881be15.entry.js +0 -1
- package/dist/ripple/p-f98949ad.entry.js +0 -1
- package/dist/ripple/p-fdcbcdf5.entry.js +0 -1
- package/dist/ripple/p-sXfORL9J.js +0 -1
- package/dist/ripple/ripple.js +0 -127
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { setMode } from "@stencil/core";
|
|
2
|
-
import { version } from "../../package.json";
|
|
3
|
-
// PRINT RIPPLE VERSION IN CONSOLE
|
|
4
|
-
// test envs return 0 for plugin.length
|
|
5
|
-
// do not print version number there as it causes issues
|
|
6
|
-
if (window.navigator.plugins.length > 0) {
|
|
7
|
-
console.log("%cRipple component library %c%s", "color: #575195; font-weight: bold", "font-weight: bold", version);
|
|
8
|
-
}
|
|
9
|
-
// Dispatching events to track whether user is navigating with keyboard or mouse
|
|
10
|
-
// no longer necessary for keyboard focus indicators (thanks to :focus-visible)
|
|
11
|
-
// but still used in several components for other things (search for isTabbing)
|
|
12
|
-
function wmComponentKeys(ev) {
|
|
13
|
-
if (ev.key == "Tab") {
|
|
14
|
-
var event = new Event("wmUserIsTabbing");
|
|
15
|
-
window.dispatchEvent(event);
|
|
16
|
-
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
17
|
-
}
|
|
18
|
-
if (ev.key == "ArrowLeft" || ev.key == "ArrowUp" || ev.key == "ArrowRight" || ev.key == "ArrowDown") {
|
|
19
|
-
var event = new Event("wmUserIsKeying");
|
|
20
|
-
window.dispatchEvent(event);
|
|
21
|
-
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function wmComponentMouseDownOnce() {
|
|
25
|
-
var event = new Event("wmUserIsNotTabbing");
|
|
26
|
-
window.dispatchEvent(event);
|
|
27
|
-
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
28
|
-
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
29
|
-
}
|
|
30
|
-
window.addEventListener("keydown", wmComponentKeys);
|
|
31
|
-
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
32
|
-
// MODES (FOR PRODUCT-SPECIFIC STYLING)
|
|
33
|
-
//Checks for mode attribute explicitly set on the document. If "mode" is set on component, it will override the global mode. Falls back to default (Planning styles)
|
|
34
|
-
setMode((elm) => {
|
|
35
|
-
return elm.getAttribute("mode") || document.documentElement.getAttribute("mode") || "planning";
|
|
36
|
-
});
|
|
37
|
-
// TOOLTIP
|
|
38
|
-
// Add a tooltip element
|
|
39
|
-
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
40
|
-
// Element is added withing a container to avoid performance impact
|
|
41
|
-
const tooltipContainer = document.createElement("div");
|
|
42
|
-
tooltipContainer.id = "wm-tooltip-container";
|
|
43
|
-
const tooltipEl = document.createElement("div");
|
|
44
|
-
tooltipEl.id = "wm-tooltip";
|
|
45
|
-
tooltipEl.classList.add("wm-tooltip");
|
|
46
|
-
tooltipEl.setAttribute("popover", "manual");
|
|
47
|
-
tooltipEl.setAttribute("aria-hidden", "true");
|
|
48
|
-
const tooltipStyles = document.createElement("style");
|
|
49
|
-
tooltipStyles.textContent = `
|
|
50
|
-
.wm-tooltip {
|
|
51
|
-
position: fixed;
|
|
52
|
-
overflow: hidden;
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
line-height: normal;
|
|
55
|
-
font-family: inherit;
|
|
56
|
-
font-size: 0.875rem;
|
|
57
|
-
text-transform: none;
|
|
58
|
-
font-weight: normal;
|
|
59
|
-
background: var(--wmcolor-tooltip-background);
|
|
60
|
-
color: var(--wmcolor-tooltip-text);
|
|
61
|
-
z-index: 999999;
|
|
62
|
-
max-width: var(--wmTooltipMaxWidth, 13.75rem);
|
|
63
|
-
margin-right: 1.5rem;
|
|
64
|
-
padding: 0.375rem;
|
|
65
|
-
transition-property: opacity;
|
|
66
|
-
transition-delay: 0s;
|
|
67
|
-
opacity: 0;
|
|
68
|
-
inset: unset;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
transform: translateZ(0);
|
|
72
|
-
will-change: transform;
|
|
73
|
-
transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));
|
|
74
|
-
border: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.wm-tooltip:popover-open {
|
|
78
|
-
opacity: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.wm-tooltip.show {
|
|
82
|
-
transition-delay: 500ms;
|
|
83
|
-
opacity: 1;
|
|
84
|
-
}
|
|
85
|
-
`;
|
|
86
|
-
document.head.appendChild(tooltipStyles);
|
|
87
|
-
tooltipContainer.appendChild(tooltipEl);
|
|
88
|
-
document.querySelector("body").appendChild(tooltipContainer);
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
import { intl } from "./functions";
|
|
2
|
-
export const globalMessages = {
|
|
3
|
-
characterLimitReached: intl.formatMessage({
|
|
4
|
-
id: "global.characterLimitReached",
|
|
5
|
-
defaultMessage: "No additional characters will be entered.",
|
|
6
|
-
description: "for screen readers",
|
|
7
|
-
}),
|
|
8
|
-
close: intl.formatMessage({
|
|
9
|
-
id: "global.closeVerb",
|
|
10
|
-
defaultMessage: "Close",
|
|
11
|
-
description: "For a button, to close a user interface element",
|
|
12
|
-
}),
|
|
13
|
-
genericError: intl.formatMessage({
|
|
14
|
-
id: "global.genericError",
|
|
15
|
-
defaultMessage: "An error occurred. Please try again.",
|
|
16
|
-
}),
|
|
17
|
-
hide: intl.formatMessage({
|
|
18
|
-
id: "global.hideVerb",
|
|
19
|
-
defaultMessage: "Hide",
|
|
20
|
-
description: "For a button, to hide something",
|
|
21
|
-
}),
|
|
22
|
-
locked: intl.formatMessage({
|
|
23
|
-
id: "global.locked",
|
|
24
|
-
defaultMessage: "locked",
|
|
25
|
-
description: "For an interactive element, indicating its state cannot be changed",
|
|
26
|
-
}),
|
|
27
|
-
newWindow: intl.formatMessage({
|
|
28
|
-
id: "global.newWindowLink",
|
|
29
|
-
defaultMessage: "Opens in a new window.",
|
|
30
|
-
description: "Indicates that a focused link will open in a new window",
|
|
31
|
-
}),
|
|
32
|
-
next: intl.formatMessage({
|
|
33
|
-
id: "global.next",
|
|
34
|
-
defaultMessage: "next",
|
|
35
|
-
description: "Button text, indicating an action leading to a 'next' state",
|
|
36
|
-
}),
|
|
37
|
-
open: intl.formatMessage({
|
|
38
|
-
id: "global.openVerb",
|
|
39
|
-
defaultMessage: "Open",
|
|
40
|
-
description: "For a button, to open a user interface element",
|
|
41
|
-
}),
|
|
42
|
-
previous: intl.formatMessage({
|
|
43
|
-
id: "global.previous",
|
|
44
|
-
defaultMessage: "previous",
|
|
45
|
-
description: "Button text, indicating an action leading to a 'previous' state",
|
|
46
|
-
}),
|
|
47
|
-
requiredError: intl.formatMessage({
|
|
48
|
-
id: "global.requiredError",
|
|
49
|
-
defaultMessage: "This field is required.",
|
|
50
|
-
description: "Error displayed under a required field when it has not been filled",
|
|
51
|
-
}),
|
|
52
|
-
requiredField: intl.formatMessage({
|
|
53
|
-
id: "global.requiredField",
|
|
54
|
-
defaultMessage: "required field",
|
|
55
|
-
description: "Screen reader text, indicating the currently focused field is required",
|
|
56
|
-
}),
|
|
57
|
-
show: intl.formatMessage({
|
|
58
|
-
id: "global.showVerb",
|
|
59
|
-
defaultMessage: "Show",
|
|
60
|
-
description: "For a button, to show something",
|
|
61
|
-
}),
|
|
62
|
-
// -------------------------------------------------------------------------- //
|
|
63
|
-
// Functions //
|
|
64
|
-
// -------------------------------------------------------------------------- //
|
|
65
|
-
getCharactersEntered: (charCount, charLimit) => intl.formatMessage({
|
|
66
|
-
id: "global.charactersEntered",
|
|
67
|
-
defaultMessage: "{x, number} of {y, number} characters entered.",
|
|
68
|
-
description: "for screen readers",
|
|
69
|
-
}, { x: charCount, y: charLimit }),
|
|
70
|
-
getCharacterLimit: (characterLimit) => intl.formatMessage({
|
|
71
|
-
id: "global.characterLimit",
|
|
72
|
-
defaultMessage: "{limit, number} characters allowed.",
|
|
73
|
-
description: "for screen readers",
|
|
74
|
-
}, { limit: characterLimit }),
|
|
75
|
-
};
|
|
76
|
-
export const uploaderMessages = {
|
|
77
|
-
duplicateName: intl.formatMessage({
|
|
78
|
-
id: "uploader.duplicateName",
|
|
79
|
-
defaultMessage: "A file with this name already exists.",
|
|
80
|
-
}),
|
|
81
|
-
fileLimitExceeded: intl.formatMessage({
|
|
82
|
-
id: "uploader.fileUploadLimitExceeded",
|
|
83
|
-
defaultMessage: "Upload unsuccessful because file selection would exceed the maximum number of files",
|
|
84
|
-
description: "Message displayed when trying to upload too many files",
|
|
85
|
-
}),
|
|
86
|
-
fileLimitReached: intl.formatMessage({
|
|
87
|
-
id: "uploader.fileUploadLimitReached",
|
|
88
|
-
defaultMessage: "The maximum number of files has been reached",
|
|
89
|
-
description: "Message displayed when trying to upload additional files, but the limit has been reached",
|
|
90
|
-
}),
|
|
91
|
-
finishedUploading: intl.formatMessage({
|
|
92
|
-
id: "uploader.finishedUploading",
|
|
93
|
-
defaultMessage: "Finished uploading",
|
|
94
|
-
}),
|
|
95
|
-
waitToUpload: intl.formatMessage({
|
|
96
|
-
id: "uploader.waitToUpload",
|
|
97
|
-
defaultMessage: "Please wait for current upload to complete before uploading new files.",
|
|
98
|
-
description: "Message for screen reader users",
|
|
99
|
-
}),
|
|
100
|
-
zeroFileSize: intl.formatMessage({
|
|
101
|
-
id: "uploader.zeroFileSize",
|
|
102
|
-
defaultMessage: "The file must be more than 0 bytes",
|
|
103
|
-
description: "Error message when user attempts to upload a file of no size",
|
|
104
|
-
}),
|
|
105
|
-
dropInstructions: intl.formatMessage({
|
|
106
|
-
id: "uploader.dropInstructions",
|
|
107
|
-
defaultMessage: "Browse or Drag Files Here",
|
|
108
|
-
description: "Instructions for how to choose files to upload",
|
|
109
|
-
}),
|
|
110
|
-
dropFile: intl.formatMessage({
|
|
111
|
-
id: "uploader.dropFile",
|
|
112
|
-
defaultMessage: "Drop to Upload",
|
|
113
|
-
description: "Prompt for use to drop the file they're currently dragging",
|
|
114
|
-
}),
|
|
115
|
-
fileRequirements: intl.formatMessage({
|
|
116
|
-
id: "uploader.fileRequirements",
|
|
117
|
-
defaultMessage: "File Requirements",
|
|
118
|
-
description: "Expandable button revealing the uploader's file requirements",
|
|
119
|
-
}),
|
|
120
|
-
// -------------------------------------------------------------------------- //
|
|
121
|
-
// Functions //
|
|
122
|
-
// -------------------------------------------------------------------------- //
|
|
123
|
-
getFilesAdded: (numFiles) => intl.formatMessage({
|
|
124
|
-
id: "uploader.filesAdded",
|
|
125
|
-
defaultMessage: "{numFiles, plural, one {1 file added} other {# files added}}",
|
|
126
|
-
}, { numFiles: numFiles }),
|
|
127
|
-
getFileCount: (fileListLength, maxFiles) => intl.formatMessage({
|
|
128
|
-
id: "uploader.fileCount",
|
|
129
|
-
defaultMessage: "{x} of {y} Files",
|
|
130
|
-
description: "A count of the number of files currently uploaded",
|
|
131
|
-
}, { x: fileListLength, y: maxFiles }),
|
|
132
|
-
getFileTooLarge: (maxSize) => intl.formatMessage({
|
|
133
|
-
id: "uploader.fileTooLarge",
|
|
134
|
-
defaultMessage: "The selected file is too large. Maximum file size is {size}",
|
|
135
|
-
}, { size: maxSize }),
|
|
136
|
-
getFilesUploading: (numFilesUploading) => intl.formatMessage({
|
|
137
|
-
id: "uploader.filesUploading",
|
|
138
|
-
defaultMessage: "{num, plural, one {1 file uploading} other {# files uploading}}",
|
|
139
|
-
}, { num: numFilesUploading }),
|
|
140
|
-
getInvalidFileType: (validTypes) => intl.formatMessage({
|
|
141
|
-
id: "uploader.invalidFileType",
|
|
142
|
-
defaultMessage: "The file type is invalid. Accepted types: {validTypes}",
|
|
143
|
-
}, { validTypes }),
|
|
144
|
-
getUploadProgress: (percentage) => intl.formatMessage({
|
|
145
|
-
id: "uploader.uploadProgress",
|
|
146
|
-
defaultMessage: "Upload progress: {percentage}%",
|
|
147
|
-
}, { percentage: percentage }),
|
|
148
|
-
};
|
|
149
|
-
export const chartMessages = {
|
|
150
|
-
interactiveChart: intl.formatMessage({
|
|
151
|
-
id: "chart.interactiveChart",
|
|
152
|
-
defaultMessage: "Interactive chart",
|
|
153
|
-
description: "For screen readers only, a description clarifying the role of the chart widget",
|
|
154
|
-
}),
|
|
155
|
-
};
|
|
156
|
-
export const lineChartMessages = {
|
|
157
|
-
instructions: intl.formatMessage({
|
|
158
|
-
id: "linechart.instructions",
|
|
159
|
-
defaultMessage: "Use Tab and arrow keys to browse elements.",
|
|
160
|
-
description: "For screen readers only, instructions on how to interact with the line chart component",
|
|
161
|
-
}),
|
|
162
|
-
noData: intl.formatMessage({
|
|
163
|
-
id: "linechart.noData",
|
|
164
|
-
defaultMessage: "No Data",
|
|
165
|
-
description: "Message displayed when a data point has missing data",
|
|
166
|
-
}),
|
|
167
|
-
highlightQualifier: intl.formatMessage({
|
|
168
|
-
id: "linechart.highlightQualifier",
|
|
169
|
-
defaultMessage: "highlighted",
|
|
170
|
-
description: "Descriptor for highlighted areas of a chart",
|
|
171
|
-
}),
|
|
172
|
-
// -------------------------------------------------------------------------- //
|
|
173
|
-
// Functions //
|
|
174
|
-
// -------------------------------------------------------------------------- //
|
|
175
|
-
getChangeSince: (prevXValue) => intl.formatMessage({
|
|
176
|
-
id: "linechart.changeSince",
|
|
177
|
-
defaultMessage: "Change since {time}",
|
|
178
|
-
description: "Indicates a comparison between current and previous data",
|
|
179
|
-
}, {
|
|
180
|
-
time: prevXValue,
|
|
181
|
-
}),
|
|
182
|
-
getToggleButtonLabel: (itemCount) => intl.formatMessage({
|
|
183
|
-
id: "linechart.toggleButtonLabel",
|
|
184
|
-
defaultMessage: "Toggle line visibility, list with {itemCount} items",
|
|
185
|
-
}, {
|
|
186
|
-
itemCount: itemCount,
|
|
187
|
-
}),
|
|
188
|
-
getToggleButtonState: (isPressed) => intl.formatMessage({
|
|
189
|
-
id: "linechart.toggleButtonState",
|
|
190
|
-
defaultMessage: "toggle {isPressed, select, true {pressed} other {}}",
|
|
191
|
-
description: "Descriptor and state for a toggle button UI element",
|
|
192
|
-
}, {
|
|
193
|
-
isPressed: isPressed,
|
|
194
|
-
}),
|
|
195
|
-
getLineFocusAnnouncement: (label, lineNumber, lineTotal, lineLength) => intl.formatMessage({
|
|
196
|
-
id: "linechart.getLineFocusAnnouncement",
|
|
197
|
-
defaultMessage: `{label}, line {lineNumber} of {lineTotal} with {lineLength} data points`,
|
|
198
|
-
}, {
|
|
199
|
-
label: label,
|
|
200
|
-
lineNumber: lineNumber,
|
|
201
|
-
lineTotal: lineTotal,
|
|
202
|
-
lineLength: lineLength,
|
|
203
|
-
}),
|
|
204
|
-
};
|
|
205
|
-
export const selectMessages = {
|
|
206
|
-
multiPlaceholder: intl.formatMessage({
|
|
207
|
-
id: "select.multiPlaceholder",
|
|
208
|
-
defaultMessage: "Make a selection",
|
|
209
|
-
}),
|
|
210
|
-
singlePlaceholder: intl.formatMessage({
|
|
211
|
-
id: "select.singlePlaceholder",
|
|
212
|
-
defaultMessage: "Select an Option",
|
|
213
|
-
}),
|
|
214
|
-
multiClearSelection: intl.formatMessage({
|
|
215
|
-
id: "select.multiClearSelection",
|
|
216
|
-
defaultMessage: "Clear all Selections",
|
|
217
|
-
description: "Clear as in remove. Use imperative",
|
|
218
|
-
}),
|
|
219
|
-
singleClearSelection: intl.formatMessage({
|
|
220
|
-
id: "select.singleClearSelection",
|
|
221
|
-
defaultMessage: "Clear Selection",
|
|
222
|
-
description: "Clear as in remove. Use imperative",
|
|
223
|
-
}),
|
|
224
|
-
selectionCleared: intl.formatMessage({
|
|
225
|
-
id: "select.selectionCleared",
|
|
226
|
-
defaultMessage: "Selection cleared",
|
|
227
|
-
}),
|
|
228
|
-
searchPlaceholder: intl.formatMessage({
|
|
229
|
-
id: "select.searchPlaceholder",
|
|
230
|
-
defaultMessage: "Search",
|
|
231
|
-
description: "Appears in a search field UI element",
|
|
232
|
-
}),
|
|
233
|
-
allSelected: intl.formatMessage({
|
|
234
|
-
id: "select.allSelected",
|
|
235
|
-
defaultMessage: "All selected",
|
|
236
|
-
description: "Indicates all possible options have been selected",
|
|
237
|
-
}),
|
|
238
|
-
selectAllMessage: intl.formatMessage({
|
|
239
|
-
id: "select.selectAll",
|
|
240
|
-
defaultMessage: "Select All",
|
|
241
|
-
}),
|
|
242
|
-
deselectAllMessage: intl.formatMessage({
|
|
243
|
-
id: "select.deselectAll",
|
|
244
|
-
defaultMessage: "Deselect All",
|
|
245
|
-
}),
|
|
246
|
-
allOptionsSelectedMessage: intl.formatMessage({
|
|
247
|
-
id: "select.allOptionsSelected",
|
|
248
|
-
defaultMessage: "All options selected",
|
|
249
|
-
}),
|
|
250
|
-
allOptionsDeselectedMessage: intl.formatMessage({
|
|
251
|
-
id: "select.allOptionsDeselected",
|
|
252
|
-
defaultMessage: "All options deselected",
|
|
253
|
-
}),
|
|
254
|
-
noSearchResults: intl.formatMessage({
|
|
255
|
-
id: "select.noSearchResults",
|
|
256
|
-
defaultMessage: "No results found. Please try your search again.",
|
|
257
|
-
}),
|
|
258
|
-
optgroupSingleSelectionCount: () => intl.formatMessage({
|
|
259
|
-
id: "select.optgroupSingleSelectionCount",
|
|
260
|
-
defaultMessage: "Item Selected",
|
|
261
|
-
description: "Item refers to an option in a list",
|
|
262
|
-
}),
|
|
263
|
-
// -------------------------------------------------------------------------- //
|
|
264
|
-
// Functions //
|
|
265
|
-
// -------------------------------------------------------------------------- //
|
|
266
|
-
getOptgroupMultipleSelectionCount: (selectionCount) => intl.formatMessage({
|
|
267
|
-
id: "select.optgroupMultipleSelectionCount",
|
|
268
|
-
defaultMessage: "{numberSelected} selected",
|
|
269
|
-
}, { numberSelected: selectionCount }),
|
|
270
|
-
getSearchResultsFound: (numResults) => intl.formatMessage({
|
|
271
|
-
id: "select.searchResultsFound",
|
|
272
|
-
defaultMessage: "{numberResults, plural, one {1 option found} other {# options found}}",
|
|
273
|
-
}, { numberResults: numResults }),
|
|
274
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
const state = [
|
|
2
|
-
{
|
|
3
|
-
uuid: "d57a8104-a07e-4e58-97f6-705d55b15845",
|
|
4
|
-
uploader_member_uuid: "fd947ce1-ca75-4b88-ba47-4576104cf845",
|
|
5
|
-
updated_at: "2018-04-16T10:31:48.740000Z",
|
|
6
|
-
organization_uuid: "d57a8104-a07e-4e58-97f6-705d55b15845",
|
|
7
|
-
mime_type: "application/pdf",
|
|
8
|
-
institution_uuid: "c1dac227-b71c-44ae-a4be-eb20929c6e99",
|
|
9
|
-
inserted_at: "2018-09-17T09:33:45.550000Z",
|
|
10
|
-
file_path: "bogusurl.dev",
|
|
11
|
-
file_name: "test.pdf",
|
|
12
|
-
course_uuid: null,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
uuid: "410ee9ed-af53-4f52-90b1-bf3f054ad86b",
|
|
16
|
-
uploader_member_uuid: "fd947ce1-ca75-4b88-ba47-4576104cf845",
|
|
17
|
-
updated_at: "2019-11-26T20:39:38.990000Z",
|
|
18
|
-
organization_uuid: "8d242cdf-4261-4003-9a91-45575eb7d44e",
|
|
19
|
-
mime_type: "application/pdf",
|
|
20
|
-
institution_uuid: "c1dac227-b71c-44ae-a4be-eb20929c6e99",
|
|
21
|
-
inserted_at: "2019-11-26T20:39:38.990000Z",
|
|
22
|
-
file_path: "anotherbogusurl.dev",
|
|
23
|
-
file_name: "brochure.pdf",
|
|
24
|
-
course_uuid: null,
|
|
25
|
-
},
|
|
26
|
-
];
|
|
27
|
-
const firstUploadResponseText = {
|
|
28
|
-
url: "aws-path.url",
|
|
29
|
-
updated_at: "2019-07-03T14:11:08.000Z",
|
|
30
|
-
path: "",
|
|
31
|
-
guid: "12345",
|
|
32
|
-
};
|
|
33
|
-
const secondUploadResponseText = {
|
|
34
|
-
url: "aws-path.url",
|
|
35
|
-
updated_at: "2019-07-02T10:14:29.000Z",
|
|
36
|
-
path: "",
|
|
37
|
-
guid: "67890",
|
|
38
|
-
};
|
|
39
|
-
const navigatorResponse = {
|
|
40
|
-
connection_name: "watermarkinsights-idp-qa",
|
|
41
|
-
current_product_id: "dm",
|
|
42
|
-
email: "user@email.net",
|
|
43
|
-
logout_url: "localhost:3333/logout",
|
|
44
|
-
products: [
|
|
45
|
-
{
|
|
46
|
-
description: "Some Aqua description",
|
|
47
|
-
iconUrl: "https://cdn.watermarkinsights.com/images/login/aqua.svg",
|
|
48
|
-
id: "aqua",
|
|
49
|
-
linkUrl: "https://aqua.taskstream.com/sso/login",
|
|
50
|
-
name: "Aqua",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "Some Digital Measures description",
|
|
54
|
-
iconUrl: "https://cdn.watermarkinsights.com/images/login/digitalmeasures.svg",
|
|
55
|
-
id: "dm",
|
|
56
|
-
linkUrl: "https://www.digitalmeasures.com/login/sso/authenticate",
|
|
57
|
-
name: "Digital Measures",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
description: "Some Planning description",
|
|
61
|
-
iconUrl: "https://cdn.watermarkinsights.com/images/login/planningselfstudy.svg",
|
|
62
|
-
id: "planning",
|
|
63
|
-
linkUrl: "https://planning.watermarkinsights.com/login/sso",
|
|
64
|
-
name: "Planning",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
description: "Checking that the component handles anything throwed at it",
|
|
68
|
-
iconUrl: "https://cdn.watermarkinsights.com/images/login/livetext.svg",
|
|
69
|
-
id: "something_bonkers",
|
|
70
|
-
linkUrl: "https://planning.watermarkinsights.com/login/sso",
|
|
71
|
-
name: "Bonkers",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
description: "c1 = livetext",
|
|
75
|
-
iconUrl: "https://cdn.watermarkinsights.com/images/login/livetext.svg",
|
|
76
|
-
id: "c1",
|
|
77
|
-
linkUrl: "https://livetext.fakeurl/login/sso",
|
|
78
|
-
name: "Livetext",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
description: "something with an id containing admin",
|
|
82
|
-
iconUrl: "not.important",
|
|
83
|
-
id: "banana_admin_shoe",
|
|
84
|
-
linkUrl: "irrelevant",
|
|
85
|
-
name: "Platform Admin",
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
};
|
|
89
|
-
const responses = {
|
|
90
|
-
"get-path.url": state,
|
|
91
|
-
"request-upload-path.url0": firstUploadResponseText,
|
|
92
|
-
"request-upload-path.url1": secondUploadResponseText,
|
|
93
|
-
"/platform/navigator/userinfo": navigatorResponse,
|
|
94
|
-
};
|
|
95
|
-
export const getRequest = async (url) => {
|
|
96
|
-
return Promise.resolve(responses[url]);
|
|
97
|
-
};
|
|
98
|
-
export const postRequest = async (url, payload) => {
|
|
99
|
-
switch (url) {
|
|
100
|
-
case "upload-path.url":
|
|
101
|
-
state.push({
|
|
102
|
-
uuid: payload.document_uuid,
|
|
103
|
-
uploader_member_uuid: "fd947ce1-ca75-4b88-ba47-4576104cf845",
|
|
104
|
-
updated_at: "2019-12-10T20:48:10.138Z",
|
|
105
|
-
organization_uuid: payload.organization_uuid,
|
|
106
|
-
mime_type: payload.mime_type,
|
|
107
|
-
institution_uuid: "c1dac227-b71c-44ae-a4be-eb20929c6e99",
|
|
108
|
-
inserted_at: "2019-12-10T20:48:10.138Z",
|
|
109
|
-
file_path: payload.file_path,
|
|
110
|
-
file_name: payload.file_name,
|
|
111
|
-
course_uuid: null,
|
|
112
|
-
});
|
|
113
|
-
return Promise.resolve();
|
|
114
|
-
case "request-download-path.url":
|
|
115
|
-
return Promise.resolve({ url: "aws-download-path.url" });
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
export const deleteRequest = async (url) => {
|
|
119
|
-
const uuid = url.split("/").pop();
|
|
120
|
-
// console.log("uuid: ", uuid);
|
|
121
|
-
const index = state.findIndex((i) => i.uuid === uuid);
|
|
122
|
-
// console.log("index: ", index);
|
|
123
|
-
state.splice(index, 1);
|
|
124
|
-
// console.log("state from DELETE: ", state, Date.now());
|
|
125
|
-
// return new Promise(resolve => setTimeout(() => resolve(), 300));
|
|
126
|
-
return Promise.resolve();
|
|
127
|
-
};
|
|
128
|
-
export const putRequest = (_url, _file) => {
|
|
129
|
-
return Promise.resolve();
|
|
130
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export const getRequest = async (url) => {
|
|
2
|
-
const response = await fetch(url);
|
|
3
|
-
if (!!response && !!response.ok) {
|
|
4
|
-
return await response.json();
|
|
5
|
-
}
|
|
6
|
-
else {
|
|
7
|
-
throw new Error(response.statusText);
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
export const postRequest = async (url, payload) => {
|
|
11
|
-
const response = await fetch(url, {
|
|
12
|
-
method: "POST",
|
|
13
|
-
headers: { "Content-Type": "application/json; charset=utf-8" },
|
|
14
|
-
body: JSON.stringify(payload),
|
|
15
|
-
});
|
|
16
|
-
if (!!response && !!response.ok) {
|
|
17
|
-
return await response.json();
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error(response.statusText);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export const deleteRequest = async (url) => {
|
|
24
|
-
const response = await fetch(url, { method: "DELETE" });
|
|
25
|
-
if (!!response && !!response.ok) {
|
|
26
|
-
return await response.json();
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
throw new Error(response.statusText);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export const putRequest = (url, file, onProgress) => {
|
|
33
|
-
return new Promise((resolve, reject) => {
|
|
34
|
-
// there's no way to track progress with the fetch API, so using XHR
|
|
35
|
-
const req = new XMLHttpRequest();
|
|
36
|
-
req.upload.addEventListener("progress", (ev) => onProgress(ev));
|
|
37
|
-
req.addEventListener("readystatechange", function () {
|
|
38
|
-
if (this.readyState === 4 && this.status === 200) {
|
|
39
|
-
resolve(this);
|
|
40
|
-
}
|
|
41
|
-
else if (this.readyState === 4 && this.status !== 200) {
|
|
42
|
-
reject();
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
req.onerror = () => reject();
|
|
46
|
-
req.open("PUT", url, true);
|
|
47
|
-
req.setRequestHeader("Content-Disposition", `attachment;filename="${file.name}"`);
|
|
48
|
-
req.send(file);
|
|
49
|
-
});
|
|
50
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* This script is useful when we translate internally, so we know which keys to translate.
|
|
2
|
-
* Currently Martin Maugeais translates to French and Kristian Manrique to Spanish.
|
|
3
|
-
* This script should be run with `npm run missing`. It may fail otherwise, as fs paths are relative to project root.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const fs = require("fs");
|
|
7
|
-
const en = require("./en.json");
|
|
8
|
-
const fr = require("./fr.json");
|
|
9
|
-
const es = require("./es.json");
|
|
10
|
-
|
|
11
|
-
const keys = Object.keys(en);
|
|
12
|
-
|
|
13
|
-
let missingFR = {};
|
|
14
|
-
let missingES = {};
|
|
15
|
-
|
|
16
|
-
keys.map((key) => {
|
|
17
|
-
if (!fr[key]) {
|
|
18
|
-
missingFR[key] = en[key];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
if (!es[key]) {
|
|
22
|
-
missingES[key] = en[key];
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
const dataFR = JSON.stringify(missingFR, null, 2);
|
|
27
|
-
const dataES = JSON.stringify(missingES, null, 2);
|
|
28
|
-
|
|
29
|
-
const totalMissingFR = Object.entries(missingFR).length;
|
|
30
|
-
if (totalMissingFR > 0) {
|
|
31
|
-
fs.writeFile("src/lang/missingTranslationsFR.json", dataFR, (err) => {
|
|
32
|
-
!!err && console.log(err);
|
|
33
|
-
});
|
|
34
|
-
console.log(`${totalMissingFR} french translations missing. See src/lang/missingTranslationsFR.json`);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
const totalMissingES = Object.entries(missingES).length;
|
|
38
|
-
if (totalMissingES > 0) {
|
|
39
|
-
fs.writeFile("src/lang/missingTranslationsES.json", dataES, (err) => {
|
|
40
|
-
!!err && console.log(err);
|
|
41
|
-
});
|
|
42
|
-
console.log(`${totalMissingES} spanish translations missing. See src/lang/missingTranslationsES.json`);
|
|
43
|
-
}
|