@watermarkinsights/ripple 5.16.0-alpha.1 → 5.16.0-alpha.11
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-DRIUP2B4.js +7 -0
- package/dist/cjs/{chartFunctions-439c6fd4.js → chartFunctions-D441_SCy.js} +2 -3
- package/dist/cjs/{functions-dd27bda3.js → functions-Cv4tH2z-.js} +90 -83
- package/dist/cjs/{index-788526f5.js → index-bkpjhWBk.js} +777 -410
- package/dist/cjs/{intl-6d72b4a0.js → intl-CDsbzEBp.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/priv-calendar.cjs.entry.js +6 -12
- package/dist/cjs/priv-chart-popover.cjs.entry.js +4 -8
- package/dist/cjs/priv-navigator-button.cjs.entry.js +3 -6
- package/dist/cjs/priv-navigator-item.cjs.entry.js +3 -6
- package/dist/cjs/priv-option-list.cjs.entry.js +10 -16
- package/dist/cjs/ripple.cjs.js +7 -7
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +11 -20
- package/dist/cjs/wm-button.cjs.entry.js +9 -17
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -8
- package/dist/cjs/wm-chart.cjs.entry.js +14 -18
- package/dist/cjs/wm-date-range.cjs.entry.js +10 -15
- package/dist/cjs/wm-datepicker.cjs.entry.js +18 -17
- package/dist/cjs/wm-file-list.cjs.entry.js +3 -6
- package/dist/cjs/wm-file.cjs.entry.js +6 -16
- package/dist/cjs/wm-flyout.cjs.entry.js +6 -17
- package/dist/cjs/wm-input.cjs.entry.js +13 -19
- package/dist/cjs/wm-line-chart.cjs.entry.js +18 -28
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +12 -18
- package/dist/cjs/wm-modal_3.cjs.entry.js +12 -19
- package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -22
- package/dist/cjs/wm-navigator.cjs.entry.js +17 -15
- package/dist/cjs/wm-nested-select.cjs.entry.js +21 -20
- package/dist/cjs/wm-optgroup.cjs.entry.js +3 -7
- package/dist/cjs/wm-option_2.cjs.entry.js +19 -20
- package/dist/cjs/wm-pagination.cjs.entry.js +11 -14
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +10 -27
- package/dist/cjs/wm-search.cjs.entry.js +27 -11
- package/dist/cjs/wm-snackbar.cjs.entry.js +10 -12
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +23 -19
- package/dist/cjs/wm-tag-input.cjs.entry.js +42 -48
- package/dist/cjs/wm-tag-option.cjs.entry.js +2 -8
- package/dist/cjs/wm-textarea.cjs.entry.js +13 -14
- package/dist/cjs/wm-timepicker.cjs.entry.js +18 -17
- package/dist/cjs/wm-toggletip.cjs.entry.js +9 -14
- package/dist/cjs/wm-uploader.cjs.entry.js +18 -22
- package/dist/cjs/wm-wrapper.cjs.entry.js +1 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +8 -4
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +15 -12
- package/dist/collection/components/charts/wm-chart/wm-chart.js +45 -22
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +52 -33
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +23 -16
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +9 -6
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +15 -12
- package/dist/collection/components/datepickers/datepicker.css +15 -9
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +21 -12
- package/dist/collection/components/datepickers/wm-date-range.js +39 -19
- package/dist/collection/components/datepickers/wm-datepicker.js +39 -19
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +27 -16
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +15 -9
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +56 -26
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +12 -5
- package/dist/collection/components/selects/wm-option/wm-option.js +15 -6
- package/dist/collection/components/selects/wm-select/wm-select.css +15 -9
- package/dist/collection/components/selects/wm-select/wm-select.js +50 -22
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +25 -16
- package/dist/collection/components/wm-button/wm-button.js +44 -23
- package/dist/collection/components/wm-file/wm-file.js +30 -19
- package/dist/collection/components/wm-file-list/wm-file-list.js +4 -2
- package/dist/collection/components/wm-flyout/wm-flyout.js +32 -20
- package/dist/collection/components/wm-input/wm-input.css +15 -9
- package/dist/collection/components/wm-input/wm-input.js +63 -30
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +11 -5
- package/dist/collection/components/wm-modal/wm-modal-footer.js +16 -6
- package/dist/collection/components/wm-modal/wm-modal-header.js +7 -3
- package/dist/collection/components/wm-modal/wm-modal.css +1 -1
- package/dist/collection/components/wm-modal/wm-modal.js +15 -9
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +16 -6
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +7 -3
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +16 -9
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +6 -5
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +10 -9
- package/dist/collection/components/wm-navigation/wm-navigation.js +6 -4
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +7 -3
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +10 -4
- package/dist/collection/components/wm-navigator/wm-navigator.js +34 -15
- package/dist/collection/components/wm-pagination/wm-pagination.js +22 -12
- package/dist/collection/components/wm-search/wm-search.js +47 -12
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +9 -6
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +19 -7
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +10 -7
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +13 -3
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +23 -17
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +79 -54
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +18 -10
- package/dist/collection/components/wm-textarea/wm-textarea.css +15 -9
- package/dist/collection/components/wm-textarea/wm-textarea.js +42 -18
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +15 -9
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +36 -18
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +21 -13
- package/dist/collection/components/wm-uploader/wm-uploader.css +21 -10
- package/dist/collection/components/wm-uploader/wm-uploader.js +47 -26
- package/dist/collection/global/intl.js +2 -2
- package/dist/esm/app-globals-C7MKvxOg.js +5 -0
- package/dist/esm/{chartFunctions-6749593d.js → chartFunctions-D1WRRNPk.js} +3 -4
- package/dist/esm/{functions-dabfd76f.js → functions-DT2ztGYg.js} +91 -84
- package/dist/esm/{index-130e07bb.js → index-BmU89qgm.js} +774 -406
- package/dist/esm/{intl-43676e71.js → intl-BnrBfoLu.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/priv-calendar.entry.js +6 -10
- package/dist/esm/priv-chart-popover.entry.js +4 -6
- package/dist/esm/priv-navigator-button.entry.js +3 -4
- package/dist/esm/priv-navigator-item.entry.js +3 -4
- package/dist/esm/priv-option-list.entry.js +10 -14
- package/dist/esm/ripple.js +6 -5
- package/dist/esm/wm-action-menu_2.entry.js +11 -18
- package/dist/esm/wm-button.entry.js +9 -15
- package/dist/esm/wm-chart-slice.entry.js +1 -6
- package/dist/esm/wm-chart.entry.js +14 -16
- package/dist/esm/wm-date-range.entry.js +10 -13
- package/dist/esm/wm-datepicker.entry.js +18 -15
- package/dist/esm/wm-file-list.entry.js +3 -4
- package/dist/esm/wm-file.entry.js +6 -14
- package/dist/esm/wm-flyout.entry.js +6 -15
- package/dist/esm/wm-input.entry.js +13 -17
- package/dist/esm/wm-line-chart.entry.js +18 -26
- package/dist/esm/wm-modal-pss_3.entry.js +12 -16
- package/dist/esm/wm-modal_3.entry.js +12 -17
- package/dist/esm/wm-navigation_3.entry.js +13 -20
- package/dist/esm/wm-navigator.entry.js +17 -13
- package/dist/esm/wm-nested-select.entry.js +21 -18
- package/dist/esm/wm-optgroup.entry.js +3 -5
- package/dist/esm/wm-option_2.entry.js +19 -18
- package/dist/esm/wm-pagination.entry.js +11 -12
- package/dist/esm/wm-progress-indicator_3.entry.js +10 -25
- package/dist/esm/wm-search.entry.js +27 -9
- package/dist/esm/wm-snackbar.entry.js +10 -10
- package/dist/esm/wm-tab-item_3.entry.js +23 -17
- package/dist/esm/wm-tag-input.entry.js +42 -46
- package/dist/esm/wm-tag-option.entry.js +2 -6
- package/dist/esm/wm-textarea.entry.js +13 -12
- package/dist/esm/wm-timepicker.entry.js +18 -15
- package/dist/esm/wm-toggletip.entry.js +9 -12
- package/dist/esm/wm-uploader.entry.js +18 -20
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-C7MKvxOg.js +1 -0
- package/dist/esm-es5/chartFunctions-D1WRRNPk.js +1 -0
- package/dist/esm-es5/functions-DT2ztGYg.js +1 -0
- package/dist/esm-es5/index-BmU89qgm.js +1 -0
- package/dist/esm-es5/{intl-43676e71.js → intl-BnrBfoLu.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-flyout.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-tag-option.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/ripple/{p-c7d71181.system.entry.js → p-00cec2a0.system.entry.js} +1 -1
- package/dist/ripple/{p-1955c66a.system.entry.js → p-07cb5512.system.entry.js} +1 -1
- package/dist/ripple/p-08b265a2.entry.js +1 -0
- package/dist/ripple/{p-12d6ab73.system.entry.js → p-0fce4df8.system.entry.js} +1 -1
- package/dist/ripple/{p-59591401.entry.js → p-120c9c9c.entry.js} +1 -1
- package/dist/ripple/{p-57c25b63.entry.js → p-12e14668.entry.js} +1 -1
- package/dist/ripple/p-19f43d88.entry.js +1 -0
- package/dist/ripple/{p-b23c6351.system.entry.js → p-2269f7f7.system.entry.js} +1 -1
- package/dist/ripple/{p-4fb4deb9.entry.js → p-24857d09.entry.js} +1 -1
- package/dist/ripple/{p-89479d02.system.entry.js → p-24a498ec.system.entry.js} +1 -1
- package/dist/ripple/p-29eb4cc7.entry.js +1 -0
- package/dist/ripple/{p-4c2a044d.system.entry.js → p-2a85a48c.system.entry.js} +1 -1
- package/dist/ripple/{p-97ffaa7d.entry.js → p-2f04ea70.entry.js} +1 -1
- package/dist/ripple/{p-f9fa1506.system.entry.js → p-35f0c155.system.entry.js} +1 -1
- package/dist/ripple/p-3d83fdec.system.entry.js +1 -0
- package/dist/ripple/p-423931b7.entry.js +1 -0
- package/dist/ripple/p-44004383.entry.js +1 -0
- package/dist/ripple/p-4adda78c.entry.js +1 -0
- package/dist/ripple/{p-fe71ec64.system.entry.js → p-514af1a7.system.entry.js} +1 -1
- package/dist/ripple/{p-61f9987d.system.entry.js → p-582e730d.system.entry.js} +1 -1
- package/dist/ripple/p-59030f63.entry.js +1 -0
- package/dist/ripple/{p-9b2281e2.system.entry.js → p-5975c901.system.entry.js} +1 -1
- package/dist/ripple/{p-091fbc50.system.entry.js → p-5a10db87.system.entry.js} +1 -1
- package/dist/ripple/{p-72ed488e.system.entry.js → p-5aeb9091.system.entry.js} +1 -1
- package/dist/ripple/p-5b523b9f.system.entry.js +1 -0
- package/dist/ripple/p-5bb7a993.entry.js +1 -0
- package/dist/ripple/{p-74f103dd.entry.js → p-5ecfe800.entry.js} +1 -1
- package/dist/ripple/p-62520534.entry.js +1 -0
- package/dist/ripple/{p-c699aec8.system.entry.js → p-628dfdaf.system.entry.js} +1 -1
- package/dist/ripple/{p-36fd8aed.system.entry.js → p-64a308de.system.entry.js} +1 -1
- package/dist/ripple/p-64f555f9.entry.js +1 -0
- package/dist/ripple/{p-92a50b38.system.entry.js → p-65058356.system.entry.js} +1 -1
- package/dist/ripple/{p-6a082957.entry.js → p-65c38f2b.entry.js} +1 -1
- package/dist/ripple/{p-9328023c.entry.js → p-6650bcad.entry.js} +1 -1
- package/dist/ripple/{p-30236be3.system.entry.js → p-6ed1a615.system.entry.js} +1 -1
- package/dist/ripple/{p-c53f5914.entry.js → p-72c247fb.system.entry.js} +1 -1
- package/dist/ripple/p-81245443.entry.js +1 -0
- package/dist/ripple/p-81870134.entry.js +1 -0
- package/dist/ripple/{p-2f7ca1a7.system.entry.js → p-819382b4.entry.js} +1 -1
- package/dist/ripple/{p-4e6b0a6e.system.entry.js → p-9223a1bf.system.entry.js} +1 -1
- package/dist/ripple/p-9635519f.entry.js +1 -0
- package/dist/ripple/{p-f8995a5e.system.entry.js → p-98c7683b.system.entry.js} +1 -1
- package/dist/ripple/p-9a5a577a.entry.js +1 -0
- package/dist/ripple/p-9a9e1d00.entry.js +1 -0
- package/dist/ripple/{p-f3df715f.entry.js → p-9e353b52.entry.js} +1 -1
- package/dist/ripple/p-B7qucsb3.system.js +1 -0
- package/dist/ripple/p-BRUS9KP_.system.js +1 -0
- package/dist/ripple/p-BmU89qgm.js +2 -0
- package/dist/ripple/p-CLQInGS5.system.js +1 -0
- package/dist/ripple/p-CZkA6XrR.js +1 -0
- package/dist/ripple/{p-49a347e1.js → p-ChCup6OE.js} +1 -1
- package/dist/ripple/p-D1BYKagG.js +1 -0
- package/dist/ripple/p-DT2ztGYg.js +1 -0
- package/dist/ripple/p-Dd2F6qzY.system.js +2 -0
- package/dist/ripple/p-Dg5uzcYb.system.js +1 -0
- package/dist/ripple/{p-ba399879.system.js → p-LmBQIm9U.system.js} +1 -1
- package/dist/ripple/p-a0add2dd.entry.js +1 -0
- package/dist/ripple/p-a1f70a0a.system.entry.js +1 -0
- package/dist/ripple/p-a8eff037.system.entry.js +1 -0
- package/dist/ripple/p-ac310358.entry.js +1 -0
- package/dist/ripple/{p-b01f9572.system.entry.js → p-bda8ce77.system.entry.js} +1 -1
- package/dist/ripple/{p-043901ab.system.entry.js → p-c12eb0fa.system.entry.js} +1 -1
- package/dist/ripple/p-c44cbbea.entry.js +1 -0
- package/dist/ripple/p-c72b5e55.system.entry.js +1 -0
- package/dist/ripple/{p-ceac4dea.system.entry.js → p-c889749f.system.entry.js} +1 -1
- package/dist/ripple/p-cb5c1920.entry.js +1 -0
- package/dist/ripple/{p-0bb576c5.system.entry.js → p-cc9752df.system.entry.js} +1 -1
- package/dist/ripple/{p-cd0cc88d.entry.js → p-cca5dd54.entry.js} +1 -1
- package/dist/ripple/p-d14aedd7.entry.js +1 -0
- package/dist/ripple/p-d1651848.entry.js +1 -0
- package/dist/ripple/{p-2823d02b.system.entry.js → p-d83f36af.system.entry.js} +1 -1
- package/dist/ripple/p-e01688df.system.entry.js +1 -0
- package/dist/ripple/p-e0a1a76d.system.entry.js +1 -0
- package/dist/ripple/{p-8ec2e944.system.entry.js → p-ec6e0106.system.entry.js} +1 -1
- package/dist/ripple/{p-bc4976e6.entry.js → p-ee8649b3.system.entry.js} +1 -1
- package/dist/ripple/p-f073981c.entry.js +1 -0
- package/dist/ripple/{p-a5fb4171.system.entry.js → p-f47bacb5.entry.js} +1 -1
- package/dist/ripple/{p-c4896784.system.entry.js → p-f4a19c56.system.entry.js} +1 -1
- package/dist/ripple/p-f4ad21f8.entry.js +1 -0
- package/dist/ripple/p-f5ca18bb.entry.js +1 -0
- package/dist/ripple/{p-fe93b6b9.system.entry.js → p-fe71211e.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/datepickers/wm-datepicker.d.ts +1 -0
- package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +1 -0
- package/dist/types/components/selects/wm-select/wm-select.d.ts +1 -0
- package/dist/types/components/wm-input/wm-input.d.ts +1 -0
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +1 -0
- package/dist/types/components/wm-textarea/wm-textarea.d.ts +1 -0
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +1 -0
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +1 -0
- package/dist/types/components.d.ts +986 -0
- package/dist/types/stencil-public-runtime.d.ts +37 -2
- package/package.json +2 -2
- package/dist/cjs/app-globals-f56991b7.js +0 -92
- package/dist/esm/app-globals-cc7a1bd5.js +0 -90
- package/dist/esm-es5/app-globals-cc7a1bd5.js +0 -1
- package/dist/esm-es5/chartFunctions-6749593d.js +0 -1
- package/dist/esm-es5/functions-dabfd76f.js +0 -1
- package/dist/esm-es5/index-130e07bb.js +0 -1
- package/dist/loader/package.json +0 -11
- package/dist/ripple/p-0189929d.entry.js +0 -1
- package/dist/ripple/p-0c89b82c.entry.js +0 -1
- package/dist/ripple/p-12ac8f93.js +0 -1
- package/dist/ripple/p-13b1d775.entry.js +0 -1
- package/dist/ripple/p-144ce232.entry.js +0 -1
- package/dist/ripple/p-1497ccfc.entry.js +0 -1
- package/dist/ripple/p-1a3037aa.entry.js +0 -1
- package/dist/ripple/p-22b55b6f.entry.js +0 -1
- package/dist/ripple/p-257d2d5c.entry.js +0 -1
- package/dist/ripple/p-30201dc9.entry.js +0 -1
- package/dist/ripple/p-36d2b888.entry.js +0 -1
- package/dist/ripple/p-3f98056c.js +0 -1
- package/dist/ripple/p-41120a33.system.js +0 -1
- package/dist/ripple/p-492aa9fe.system.entry.js +0 -1
- package/dist/ripple/p-4a29bb8c.entry.js +0 -1
- package/dist/ripple/p-4cebf2d7.entry.js +0 -1
- package/dist/ripple/p-56d54fe6.system.entry.js +0 -1
- package/dist/ripple/p-5cff41e0.entry.js +0 -1
- package/dist/ripple/p-5ef786db.system.entry.js +0 -1
- package/dist/ripple/p-6a03a172.entry.js +0 -1
- package/dist/ripple/p-6abc1227.entry.js +0 -1
- package/dist/ripple/p-6d12cfb7.system.entry.js +0 -1
- package/dist/ripple/p-81ce2697.entry.js +0 -1
- package/dist/ripple/p-823d7b4e.system.entry.js +0 -1
- package/dist/ripple/p-89316785.system.js +0 -1
- package/dist/ripple/p-8a569d3b.entry.js +0 -1
- package/dist/ripple/p-8f987f71.entry.js +0 -1
- package/dist/ripple/p-92cb12d3.entry.js +0 -1
- package/dist/ripple/p-94f776eb.entry.js +0 -1
- package/dist/ripple/p-a2c8937d.js +0 -1
- package/dist/ripple/p-b34552b0.system.entry.js +0 -1
- package/dist/ripple/p-b39ab477.entry.js +0 -1
- package/dist/ripple/p-bb9f6920.entry.js +0 -1
- package/dist/ripple/p-bd48c50a.entry.js +0 -1
- package/dist/ripple/p-c1aa877a.system.js +0 -1
- package/dist/ripple/p-c31e1379.entry.js +0 -1
- package/dist/ripple/p-cef8a45b.system.js +0 -2
- package/dist/ripple/p-d333d851.system.entry.js +0 -1
- package/dist/ripple/p-d9da0502.js +0 -2
- package/dist/ripple/p-e59a48a6.system.js +0 -1
- /package/dist/cjs/{interfaces-85d78ae9.js → interfaces-C7YbtGnk.js} +0 -0
- /package/dist/esm/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
- /package/dist/esm-es5/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
- /package/dist/ripple/{p-2732bddd.js → p-COwzv5zO.js} +0 -0
- /package/dist/ripple/{p-42fa7a77.system.js → p-ClUp3GkF.system.js} +0 -0
- /package/dist/ripple/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
|
@@ -27,7 +27,7 @@ export class ModalPssFooter {
|
|
|
27
27
|
parentModal.emitSecondaryEvent();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '1f7745220c7ad6d0aca3efd4b3cb8c334e680127', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '88168cdc61009781665a8a9edf365fa67907a770', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '2f2314c0cb6160b86e3ce361fd3a8536e06ad154', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '8cd98e5c43a01e42c38c54f8f9421cd20db4f34a', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '3b30db05b3a1101b6865b5986452c284f16733ef', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "wm-modal-pss-footer"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -44,6 +44,7 @@ export class ModalPssFooter {
|
|
|
44
44
|
return {
|
|
45
45
|
"secondaryText": {
|
|
46
46
|
"type": "string",
|
|
47
|
+
"attribute": "secondary-text",
|
|
47
48
|
"mutable": false,
|
|
48
49
|
"complexType": {
|
|
49
50
|
"original": "string",
|
|
@@ -56,12 +57,14 @@ export class ModalPssFooter {
|
|
|
56
57
|
"tags": [],
|
|
57
58
|
"text": ""
|
|
58
59
|
},
|
|
59
|
-
"
|
|
60
|
+
"getter": false,
|
|
61
|
+
"setter": false,
|
|
60
62
|
"reflect": false,
|
|
61
63
|
"defaultValue": "\"\""
|
|
62
64
|
},
|
|
63
65
|
"primaryText": {
|
|
64
66
|
"type": "string",
|
|
67
|
+
"attribute": "primary-text",
|
|
65
68
|
"mutable": false,
|
|
66
69
|
"complexType": {
|
|
67
70
|
"original": "string",
|
|
@@ -74,12 +77,14 @@ export class ModalPssFooter {
|
|
|
74
77
|
"tags": [],
|
|
75
78
|
"text": ""
|
|
76
79
|
},
|
|
77
|
-
"
|
|
80
|
+
"getter": false,
|
|
81
|
+
"setter": false,
|
|
78
82
|
"reflect": false,
|
|
79
83
|
"defaultValue": "\"\""
|
|
80
84
|
},
|
|
81
85
|
"infoText": {
|
|
82
86
|
"type": "string",
|
|
87
|
+
"attribute": "info-text",
|
|
83
88
|
"mutable": false,
|
|
84
89
|
"complexType": {
|
|
85
90
|
"original": "string",
|
|
@@ -92,12 +97,14 @@ export class ModalPssFooter {
|
|
|
92
97
|
"tags": [],
|
|
93
98
|
"text": ""
|
|
94
99
|
},
|
|
95
|
-
"
|
|
100
|
+
"getter": false,
|
|
101
|
+
"setter": false,
|
|
96
102
|
"reflect": false,
|
|
97
103
|
"defaultValue": "\"\""
|
|
98
104
|
},
|
|
99
105
|
"primaryActionDisabled": {
|
|
100
106
|
"type": "boolean",
|
|
107
|
+
"attribute": "primary-action-disabled",
|
|
101
108
|
"mutable": false,
|
|
102
109
|
"complexType": {
|
|
103
110
|
"original": "boolean",
|
|
@@ -110,12 +117,14 @@ export class ModalPssFooter {
|
|
|
110
117
|
"tags": [],
|
|
111
118
|
"text": ""
|
|
112
119
|
},
|
|
113
|
-
"
|
|
120
|
+
"getter": false,
|
|
121
|
+
"setter": false,
|
|
114
122
|
"reflect": false,
|
|
115
123
|
"defaultValue": "false"
|
|
116
124
|
},
|
|
117
125
|
"deleteStyle": {
|
|
118
126
|
"type": "boolean",
|
|
127
|
+
"attribute": "delete-style",
|
|
119
128
|
"mutable": false,
|
|
120
129
|
"complexType": {
|
|
121
130
|
"original": "boolean",
|
|
@@ -128,7 +137,8 @@ export class ModalPssFooter {
|
|
|
128
137
|
"tags": [],
|
|
129
138
|
"text": ""
|
|
130
139
|
},
|
|
131
|
-
"
|
|
140
|
+
"getter": false,
|
|
141
|
+
"setter": false,
|
|
132
142
|
"reflect": false,
|
|
133
143
|
"defaultValue": "false"
|
|
134
144
|
}
|
|
@@ -25,7 +25,7 @@ export class ModalPssHeader {
|
|
|
25
25
|
// this.headingElement.focus();
|
|
26
26
|
// }
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '6298c005e1a4cc648e1311138858845bb121729d' }, h("div", { key: 'af42c86d168c9c5e2e77c39816f74f8801b39e53', class: "wm-wrapper" }, h("div", { key: '23e83cea157490d8db35b6f5b94e4aec59adccef' }, h("h2", { key: 'a2c95748bc7296ba241a1e0c6a6db7316d8c20de', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '0aefd7af87247f19ee926ef097f4ea8f76d49faf', class: "subtitle" }, this.subheading))), h("wm-button", { key: '1a74cb3f9beb7f01a60ae686ac01659a1d8ca23c', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "wm-modal-pss-header"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -42,6 +42,7 @@ export class ModalPssHeader {
|
|
|
42
42
|
return {
|
|
43
43
|
"heading": {
|
|
44
44
|
"type": "string",
|
|
45
|
+
"attribute": "heading",
|
|
45
46
|
"mutable": false,
|
|
46
47
|
"complexType": {
|
|
47
48
|
"original": "string",
|
|
@@ -54,12 +55,14 @@ export class ModalPssHeader {
|
|
|
54
55
|
"tags": [],
|
|
55
56
|
"text": ""
|
|
56
57
|
},
|
|
57
|
-
"
|
|
58
|
+
"getter": false,
|
|
59
|
+
"setter": false,
|
|
58
60
|
"reflect": false,
|
|
59
61
|
"defaultValue": "\"\""
|
|
60
62
|
},
|
|
61
63
|
"subheading": {
|
|
62
64
|
"type": "string",
|
|
65
|
+
"attribute": "subheading",
|
|
63
66
|
"mutable": false,
|
|
64
67
|
"complexType": {
|
|
65
68
|
"original": "string",
|
|
@@ -72,7 +75,8 @@ export class ModalPssHeader {
|
|
|
72
75
|
"tags": [],
|
|
73
76
|
"text": ""
|
|
74
77
|
},
|
|
75
|
-
"
|
|
78
|
+
"getter": false,
|
|
79
|
+
"setter": false,
|
|
76
80
|
"reflect": false,
|
|
77
81
|
"defaultValue": "\"\""
|
|
78
82
|
}
|
|
@@ -3,11 +3,10 @@ import { checkForActiveElInShadow } from "../../global/functions";
|
|
|
3
3
|
import { generateId } from "../../global/functions";
|
|
4
4
|
export class ModalPss {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.bodyFocusListener = () => this.redirectFocusFromBody();
|
|
7
6
|
this.open = false;
|
|
8
|
-
this.elementToFocus = "";
|
|
7
|
+
this.elementToFocus = ""; // primary and secondary point to the corresponding buttons, otherwise focus based on element id
|
|
9
8
|
this.modalType = "modal";
|
|
10
|
-
this.
|
|
9
|
+
this.bodyFocusListener = () => this.redirectFocusFromBody();
|
|
11
10
|
}
|
|
12
11
|
get focusOnOpenEl() {
|
|
13
12
|
let customElementToFocus = null;
|
|
@@ -112,9 +111,9 @@ export class ModalPss {
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
render() {
|
|
115
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: 'bcd5fb7bf017cb1a5263e51a105fab47cb268bdf', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
|
|
116
115
|
this.focusLastElement.emit();
|
|
117
|
-
} }, h("div", { key: '
|
|
116
|
+
} }, h("div", { key: '2398829034757b569a1f4f754ba46697f72b70e0', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: '06975360afd821c91ab816a2585f89f3c9b36565', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
118
117
|
this.focusFirstElement.emit();
|
|
119
118
|
} })));
|
|
120
119
|
}
|
|
@@ -133,6 +132,7 @@ export class ModalPss {
|
|
|
133
132
|
return {
|
|
134
133
|
"open": {
|
|
135
134
|
"type": "boolean",
|
|
135
|
+
"attribute": "open",
|
|
136
136
|
"mutable": true,
|
|
137
137
|
"complexType": {
|
|
138
138
|
"original": "boolean",
|
|
@@ -145,12 +145,14 @@ export class ModalPss {
|
|
|
145
145
|
"tags": [],
|
|
146
146
|
"text": ""
|
|
147
147
|
},
|
|
148
|
-
"
|
|
148
|
+
"getter": false,
|
|
149
|
+
"setter": false,
|
|
149
150
|
"reflect": true,
|
|
150
151
|
"defaultValue": "false"
|
|
151
152
|
},
|
|
152
153
|
"elementToFocus": {
|
|
153
154
|
"type": "string",
|
|
155
|
+
"attribute": "element-to-focus",
|
|
154
156
|
"mutable": true,
|
|
155
157
|
"complexType": {
|
|
156
158
|
"original": "\"primary\" | \"secondary\" | string",
|
|
@@ -163,12 +165,14 @@ export class ModalPss {
|
|
|
163
165
|
"tags": [],
|
|
164
166
|
"text": ""
|
|
165
167
|
},
|
|
166
|
-
"
|
|
168
|
+
"getter": false,
|
|
169
|
+
"setter": false,
|
|
167
170
|
"reflect": false,
|
|
168
171
|
"defaultValue": "\"\""
|
|
169
172
|
},
|
|
170
173
|
"modalType": {
|
|
171
174
|
"type": "string",
|
|
175
|
+
"attribute": "modal-type",
|
|
172
176
|
"mutable": false,
|
|
173
177
|
"complexType": {
|
|
174
178
|
"original": "\"modal\" | \"dialog\"",
|
|
@@ -181,12 +185,14 @@ export class ModalPss {
|
|
|
181
185
|
"tags": [],
|
|
182
186
|
"text": ""
|
|
183
187
|
},
|
|
184
|
-
"
|
|
188
|
+
"getter": false,
|
|
189
|
+
"setter": false,
|
|
185
190
|
"reflect": true,
|
|
186
191
|
"defaultValue": "\"modal\""
|
|
187
192
|
},
|
|
188
193
|
"uid": {
|
|
189
194
|
"type": "string",
|
|
195
|
+
"attribute": "uid",
|
|
190
196
|
"mutable": true,
|
|
191
197
|
"complexType": {
|
|
192
198
|
"original": "string",
|
|
@@ -199,7 +205,8 @@ export class ModalPss {
|
|
|
199
205
|
"tags": [],
|
|
200
206
|
"text": ""
|
|
201
207
|
},
|
|
202
|
-
"
|
|
208
|
+
"getter": false,
|
|
209
|
+
"setter": false,
|
|
203
210
|
"reflect": true
|
|
204
211
|
}
|
|
205
212
|
};
|
|
@@ -2,14 +2,13 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { intl, showTooltip, hideTooltip } from "../../global/functions";
|
|
3
3
|
export class NavigationHamburger {
|
|
4
4
|
constructor() {
|
|
5
|
+
this.isTabbing = false;
|
|
6
|
+
this.open = false;
|
|
5
7
|
this.showNavMessage = intl.formatMessage({
|
|
6
8
|
id: "navigation.showNavigation",
|
|
7
9
|
defaultMessage: "Show navigation",
|
|
8
10
|
description: "For user interface element opening a navigation menu",
|
|
9
11
|
});
|
|
10
|
-
this.navId = undefined;
|
|
11
|
-
this.isTabbing = false;
|
|
12
|
-
this.open = false;
|
|
13
12
|
}
|
|
14
13
|
toggleTabbingOn() {
|
|
15
14
|
this.isTabbing = true;
|
|
@@ -34,7 +33,7 @@ export class NavigationHamburger {
|
|
|
34
33
|
this.wmNavigationHamburgerClicked.emit();
|
|
35
34
|
}
|
|
36
35
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '2b4f6528c7ef852581d56121e8269a12129c8c1a', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'aa6041f59f4333b6ee68da53bfc7206d2733f059', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: '6b58e7ef3f124ba2fc33437e183a9e60844a8cdc', class: "svg-icon svg-menu" }))));
|
|
38
37
|
}
|
|
39
38
|
static get is() { return "wm-navigation-hamburger"; }
|
|
40
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,6 +52,7 @@ export class NavigationHamburger {
|
|
|
53
52
|
return {
|
|
54
53
|
"navId": {
|
|
55
54
|
"type": "string",
|
|
55
|
+
"attribute": "nav-id",
|
|
56
56
|
"mutable": false,
|
|
57
57
|
"complexType": {
|
|
58
58
|
"original": "string",
|
|
@@ -65,7 +65,8 @@ export class NavigationHamburger {
|
|
|
65
65
|
"tags": [],
|
|
66
66
|
"text": ""
|
|
67
67
|
},
|
|
68
|
-
"
|
|
68
|
+
"getter": false,
|
|
69
|
+
"setter": false,
|
|
69
70
|
"reflect": false
|
|
70
71
|
}
|
|
71
72
|
};
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class NavigationItem {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.href = undefined;
|
|
5
|
-
this.text = undefined;
|
|
6
|
-
this.active = undefined;
|
|
7
|
-
}
|
|
8
3
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fa0d860cef87f2af8b3c8ed67b37a2eafd4229c9', role: "listitem" }, h("a", { key: '192898896ee4310c0fb741d8bf5ebe27e57ab8b3', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: 'b0df43e4aaa9786b2d8e57fbeb766eb5cf348336', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'dd4b646b3b48155163c8816344f3c947eb58403a' })), h("div", { key: 'a195cc9d6dc724553a9240896cddcfadceb7424c', class: "text" }, this.text))));
|
|
10
5
|
}
|
|
11
6
|
static get is() { return "wm-navigation-item"; }
|
|
12
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,6 +20,7 @@ export class NavigationItem {
|
|
|
25
20
|
return {
|
|
26
21
|
"href": {
|
|
27
22
|
"type": "string",
|
|
23
|
+
"attribute": "href",
|
|
28
24
|
"mutable": false,
|
|
29
25
|
"complexType": {
|
|
30
26
|
"original": "string",
|
|
@@ -37,11 +33,13 @@ export class NavigationItem {
|
|
|
37
33
|
"tags": [],
|
|
38
34
|
"text": ""
|
|
39
35
|
},
|
|
40
|
-
"
|
|
36
|
+
"getter": false,
|
|
37
|
+
"setter": false,
|
|
41
38
|
"reflect": false
|
|
42
39
|
},
|
|
43
40
|
"text": {
|
|
44
41
|
"type": "string",
|
|
42
|
+
"attribute": "text",
|
|
45
43
|
"mutable": false,
|
|
46
44
|
"complexType": {
|
|
47
45
|
"original": "string",
|
|
@@ -54,11 +52,13 @@ export class NavigationItem {
|
|
|
54
52
|
"tags": [],
|
|
55
53
|
"text": ""
|
|
56
54
|
},
|
|
57
|
-
"
|
|
55
|
+
"getter": false,
|
|
56
|
+
"setter": false,
|
|
58
57
|
"reflect": false
|
|
59
58
|
},
|
|
60
59
|
"active": {
|
|
61
60
|
"type": "boolean",
|
|
61
|
+
"attribute": "active",
|
|
62
62
|
"mutable": false,
|
|
63
63
|
"complexType": {
|
|
64
64
|
"original": "boolean",
|
|
@@ -71,7 +71,8 @@ export class NavigationItem {
|
|
|
71
71
|
"tags": [],
|
|
72
72
|
"text": ""
|
|
73
73
|
},
|
|
74
|
-
"
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false,
|
|
75
76
|
"reflect": false
|
|
76
77
|
}
|
|
77
78
|
};
|
|
@@ -3,13 +3,13 @@ import { intl, throttle } from "../../global/functions";
|
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class Navigation {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.open = false;
|
|
6
7
|
this.mainNavigationMessage = intl.formatMessage({
|
|
7
8
|
id: "navigation.mainNavigation",
|
|
8
9
|
defaultMessage: "Main",
|
|
9
10
|
description: "Label describing the site navigation, for screen reader users",
|
|
10
11
|
});
|
|
11
12
|
this.throttledRerender = throttle(() => forceUpdate(this.el), 50);
|
|
12
|
-
this.open = false;
|
|
13
13
|
}
|
|
14
14
|
get isCollapsible() {
|
|
15
15
|
return window.innerWidth < 1024;
|
|
@@ -96,9 +96,9 @@ export class Navigation {
|
|
|
96
96
|
} }));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '4f3c6aaf5ad09e2274456a581f3cb5f1600eaac7', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '8bf94a53146229835eaec0aaf98e951b43ac799b', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: 'f76c5e0e70f98a4e5fa29e49509c879bac0292bf', class: "tray" }, h("div", { key: 'cfdfd3274efc3b99b0537ea7ca9bffa4f87d7b59', class: "toggle-wrapper" }, h("wm-button", { key: '96b6aa456c319bfa77d2180209c1175647404f5a', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
100
100
|
this.open = !this.open;
|
|
101
|
-
} })), h("ul", { key: '
|
|
101
|
+
} })), h("ul", { key: '342b7a1980f6d9d978405a8c5574ef45fca49ce4', class: "navlist" }, h("slot", { key: '33d14865bb6c4d9602769344916d7d88ecbfa661' }))), this.isCollapsible && (h("div", { key: '4d600f2eb2525ce3238dd09e102063d448ef8526', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "wm-navigation"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -117,6 +117,7 @@ export class Navigation {
|
|
|
117
117
|
return {
|
|
118
118
|
"open": {
|
|
119
119
|
"type": "boolean",
|
|
120
|
+
"attribute": "open",
|
|
120
121
|
"mutable": true,
|
|
121
122
|
"complexType": {
|
|
122
123
|
"original": "boolean",
|
|
@@ -129,7 +130,8 @@ export class Navigation {
|
|
|
129
130
|
"tags": [],
|
|
130
131
|
"text": ""
|
|
131
132
|
},
|
|
132
|
-
"
|
|
133
|
+
"getter": false,
|
|
134
|
+
"setter": false,
|
|
133
135
|
"reflect": true,
|
|
134
136
|
"defaultValue": "false"
|
|
135
137
|
}
|
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js
CHANGED
|
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const { handleClick, altText } = this;
|
|
12
|
-
return (h("button", { key: '
|
|
12
|
+
return (h("button", { key: '2f1ba167d864c88cbbd1f8f5f6192ba024fbb961', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "priv-navigator-button"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,6 +28,7 @@ export class PrivNavigatorButton {
|
|
|
28
28
|
return {
|
|
29
29
|
"expanded": {
|
|
30
30
|
"type": "boolean",
|
|
31
|
+
"attribute": "expanded",
|
|
31
32
|
"mutable": true,
|
|
32
33
|
"complexType": {
|
|
33
34
|
"original": "boolean",
|
|
@@ -40,12 +41,14 @@ export class PrivNavigatorButton {
|
|
|
40
41
|
"tags": [],
|
|
41
42
|
"text": ""
|
|
42
43
|
},
|
|
43
|
-
"
|
|
44
|
+
"getter": false,
|
|
45
|
+
"setter": false,
|
|
44
46
|
"reflect": false,
|
|
45
47
|
"defaultValue": "false"
|
|
46
48
|
},
|
|
47
49
|
"altText": {
|
|
48
50
|
"type": "string",
|
|
51
|
+
"attribute": "alt-text",
|
|
49
52
|
"mutable": false,
|
|
50
53
|
"complexType": {
|
|
51
54
|
"original": "string",
|
|
@@ -58,7 +61,8 @@ export class PrivNavigatorButton {
|
|
|
58
61
|
"tags": [],
|
|
59
62
|
"text": ""
|
|
60
63
|
},
|
|
61
|
-
"
|
|
64
|
+
"getter": false,
|
|
65
|
+
"setter": false,
|
|
62
66
|
"reflect": false,
|
|
63
67
|
"defaultValue": "\"\""
|
|
64
68
|
}
|
|
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
|
|
|
16
16
|
render() {
|
|
17
17
|
const selectedClass = this.selected ? "selected" : "";
|
|
18
18
|
const focusedClass = this.focused ? "focused" : "";
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'd79d559b7d56f0411ed7a2949c841df1975ed626', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '5004ab186708dca16f92e1b71bdd6c95d1080b7d' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "priv-navigator-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,6 +34,7 @@ export class PrivNavigatorItem {
|
|
|
34
34
|
return {
|
|
35
35
|
"selected": {
|
|
36
36
|
"type": "boolean",
|
|
37
|
+
"attribute": "selected",
|
|
37
38
|
"mutable": true,
|
|
38
39
|
"complexType": {
|
|
39
40
|
"original": "boolean",
|
|
@@ -46,12 +47,14 @@ export class PrivNavigatorItem {
|
|
|
46
47
|
"tags": [],
|
|
47
48
|
"text": ""
|
|
48
49
|
},
|
|
49
|
-
"
|
|
50
|
+
"getter": false,
|
|
51
|
+
"setter": false,
|
|
50
52
|
"reflect": false,
|
|
51
53
|
"defaultValue": "false"
|
|
52
54
|
},
|
|
53
55
|
"focused": {
|
|
54
56
|
"type": "boolean",
|
|
57
|
+
"attribute": "focused",
|
|
55
58
|
"mutable": true,
|
|
56
59
|
"complexType": {
|
|
57
60
|
"original": "boolean",
|
|
@@ -64,12 +67,14 @@ export class PrivNavigatorItem {
|
|
|
64
67
|
"tags": [],
|
|
65
68
|
"text": ""
|
|
66
69
|
},
|
|
67
|
-
"
|
|
70
|
+
"getter": false,
|
|
71
|
+
"setter": false,
|
|
68
72
|
"reflect": false,
|
|
69
73
|
"defaultValue": "false"
|
|
70
74
|
},
|
|
71
75
|
"link": {
|
|
72
76
|
"type": "string",
|
|
77
|
+
"attribute": "link",
|
|
73
78
|
"mutable": true,
|
|
74
79
|
"complexType": {
|
|
75
80
|
"original": "string",
|
|
@@ -82,7 +87,8 @@ export class PrivNavigatorItem {
|
|
|
82
87
|
"tags": [],
|
|
83
88
|
"text": ""
|
|
84
89
|
},
|
|
85
|
-
"
|
|
90
|
+
"getter": false,
|
|
91
|
+
"setter": false,
|
|
86
92
|
"reflect": false,
|
|
87
93
|
"defaultValue": "\"\""
|
|
88
94
|
}
|
|
@@ -4,19 +4,24 @@ import { intl, snakeCaseToCamelCase, getNewIndexToFocus } from "../../global/fun
|
|
|
4
4
|
import { getRequest } from "../../global/services/http-service";
|
|
5
5
|
export class Navigator {
|
|
6
6
|
constructor() {
|
|
7
|
+
this.authType = 1; // 1: none or off, 2: username-password or username_password_sso, 3: saml or saml_sso
|
|
8
|
+
// The new way is to retrieve user info from an endpoint
|
|
9
|
+
// dev needs to opt-in by setting loadFromUserinfo to true
|
|
10
|
+
this.loadFromUserinfo = false;
|
|
7
11
|
// comp can check whether the info was successfully retrieved with:
|
|
8
12
|
this.retrievedInfo = !this.loadFromUserinfo; // when in endpoint mode, only render after get request completed
|
|
9
13
|
// used either way to store the products
|
|
10
14
|
this.parsedProducts = [];
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.authType = 1;
|
|
15
|
-
this.connectionName = undefined;
|
|
16
|
-
this.logoutUrl = undefined;
|
|
17
|
-
this.products = undefined;
|
|
18
|
-
this.loadFromUserinfo = false;
|
|
15
|
+
/**
|
|
16
|
+
* Event emitted from child wm-navigator-button updates the state, which is then passed down as a prop by wm-navigator.
|
|
17
|
+
*/
|
|
19
18
|
this.isOpen = false;
|
|
19
|
+
this.openRight = false; // whether the menu should open on the right side
|
|
20
|
+
/**
|
|
21
|
+
* Value is set to the index of the current product on load.
|
|
22
|
+
* Keyboard navigation updates the state to keep track of focus in the dropdown.
|
|
23
|
+
* State resets to the index of the current product when the dropdown closes.
|
|
24
|
+
*/
|
|
20
25
|
this.itemIndexToFocus = 0;
|
|
21
26
|
}
|
|
22
27
|
isSafeUrl(url) {
|
|
@@ -314,6 +319,7 @@ export class Navigator {
|
|
|
314
319
|
return {
|
|
315
320
|
"userName": {
|
|
316
321
|
"type": "string",
|
|
322
|
+
"attribute": "user-name",
|
|
317
323
|
"mutable": false,
|
|
318
324
|
"complexType": {
|
|
319
325
|
"original": "string",
|
|
@@ -326,11 +332,13 @@ export class Navigator {
|
|
|
326
332
|
"tags": [],
|
|
327
333
|
"text": ""
|
|
328
334
|
},
|
|
329
|
-
"
|
|
335
|
+
"getter": false,
|
|
336
|
+
"setter": false,
|
|
330
337
|
"reflect": false
|
|
331
338
|
},
|
|
332
339
|
"email": {
|
|
333
340
|
"type": "string",
|
|
341
|
+
"attribute": "email",
|
|
334
342
|
"mutable": false,
|
|
335
343
|
"complexType": {
|
|
336
344
|
"original": "string",
|
|
@@ -343,11 +351,13 @@ export class Navigator {
|
|
|
343
351
|
"tags": [],
|
|
344
352
|
"text": ""
|
|
345
353
|
},
|
|
346
|
-
"
|
|
354
|
+
"getter": false,
|
|
355
|
+
"setter": false,
|
|
347
356
|
"reflect": false
|
|
348
357
|
},
|
|
349
358
|
"authType": {
|
|
350
359
|
"type": "number",
|
|
360
|
+
"attribute": "auth-type",
|
|
351
361
|
"mutable": false,
|
|
352
362
|
"complexType": {
|
|
353
363
|
"original": "number",
|
|
@@ -360,12 +370,14 @@ export class Navigator {
|
|
|
360
370
|
"tags": [],
|
|
361
371
|
"text": ""
|
|
362
372
|
},
|
|
363
|
-
"
|
|
373
|
+
"getter": false,
|
|
374
|
+
"setter": false,
|
|
364
375
|
"reflect": false,
|
|
365
376
|
"defaultValue": "1"
|
|
366
377
|
},
|
|
367
378
|
"connectionName": {
|
|
368
379
|
"type": "string",
|
|
380
|
+
"attribute": "connection-name",
|
|
369
381
|
"mutable": false,
|
|
370
382
|
"complexType": {
|
|
371
383
|
"original": "string",
|
|
@@ -378,11 +390,13 @@ export class Navigator {
|
|
|
378
390
|
"tags": [],
|
|
379
391
|
"text": ""
|
|
380
392
|
},
|
|
381
|
-
"
|
|
393
|
+
"getter": false,
|
|
394
|
+
"setter": false,
|
|
382
395
|
"reflect": false
|
|
383
396
|
},
|
|
384
397
|
"logoutUrl": {
|
|
385
398
|
"type": "string",
|
|
399
|
+
"attribute": "logout-url",
|
|
386
400
|
"mutable": false,
|
|
387
401
|
"complexType": {
|
|
388
402
|
"original": "string",
|
|
@@ -395,11 +409,13 @@ export class Navigator {
|
|
|
395
409
|
"tags": [],
|
|
396
410
|
"text": ""
|
|
397
411
|
},
|
|
398
|
-
"
|
|
412
|
+
"getter": false,
|
|
413
|
+
"setter": false,
|
|
399
414
|
"reflect": false
|
|
400
415
|
},
|
|
401
416
|
"products": {
|
|
402
417
|
"type": "string",
|
|
418
|
+
"attribute": "products",
|
|
403
419
|
"mutable": false,
|
|
404
420
|
"complexType": {
|
|
405
421
|
"original": "string | []",
|
|
@@ -412,11 +428,13 @@ export class Navigator {
|
|
|
412
428
|
"tags": [],
|
|
413
429
|
"text": ""
|
|
414
430
|
},
|
|
415
|
-
"
|
|
431
|
+
"getter": false,
|
|
432
|
+
"setter": false,
|
|
416
433
|
"reflect": false
|
|
417
434
|
},
|
|
418
435
|
"loadFromUserinfo": {
|
|
419
436
|
"type": "boolean",
|
|
437
|
+
"attribute": "load-from-userinfo",
|
|
420
438
|
"mutable": false,
|
|
421
439
|
"complexType": {
|
|
422
440
|
"original": "boolean",
|
|
@@ -429,7 +447,8 @@ export class Navigator {
|
|
|
429
447
|
"tags": [],
|
|
430
448
|
"text": ""
|
|
431
449
|
},
|
|
432
|
-
"
|
|
450
|
+
"getter": false,
|
|
451
|
+
"setter": false,
|
|
433
452
|
"reflect": false,
|
|
434
453
|
"defaultValue": "false"
|
|
435
454
|
}
|