@watermarkinsights/ripple 5.16.0-alpha.1 → 5.16.0-alpha.10
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-C-IAhycr.js +7 -0
- package/dist/cjs/{chartFunctions-439c6fd4.js → chartFunctions-C8PCmGmn.js} +2 -3
- package/dist/cjs/{functions-dd27bda3.js → functions-DfuY5Jtp.js} +74 -79
- package/dist/cjs/{index-788526f5.js → index-DwhNqnaT.js} +777 -410
- package/dist/cjs/{intl-6d72b4a0.js → intl-Bl-0Yn5n.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-CrcR41XQ.js +5 -0
- package/dist/esm/{chartFunctions-6749593d.js → chartFunctions-BocRhQ0T.js} +3 -4
- package/dist/esm/{functions-dabfd76f.js → functions-B9BrPorY.js} +75 -80
- package/dist/esm/{index-130e07bb.js → index-C20glyTb.js} +774 -406
- package/dist/esm/{intl-43676e71.js → intl-D-bH9lQF.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-CrcR41XQ.js +1 -0
- package/dist/esm-es5/chartFunctions-BocRhQ0T.js +1 -0
- package/dist/esm-es5/functions-B9BrPorY.js +1 -0
- package/dist/esm-es5/index-C20glyTb.js +1 -0
- package/dist/esm-es5/{intl-43676e71.js → intl-D-bH9lQF.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-03e28e65.system.entry.js +1 -0
- package/dist/ripple/{p-f3df715f.entry.js → p-0616bd1c.entry.js} +1 -1
- package/dist/ripple/p-088a84b6.entry.js +1 -0
- package/dist/ripple/p-09116c34.entry.js +1 -0
- package/dist/ripple/{p-59591401.entry.js → p-0a9f8d0d.entry.js} +1 -1
- package/dist/ripple/{p-97ffaa7d.entry.js → p-1a96dc5e.entry.js} +1 -1
- package/dist/ripple/{p-b01f9572.system.entry.js → p-1b8f9ff1.system.entry.js} +1 -1
- package/dist/ripple/p-21728198.entry.js +1 -0
- package/dist/ripple/p-25227bec.entry.js +1 -0
- package/dist/ripple/p-264fb4fc.entry.js +1 -0
- package/dist/ripple/{p-61f9987d.system.entry.js → p-27c1933e.system.entry.js} +1 -1
- package/dist/ripple/p-27de107e.entry.js +1 -0
- package/dist/ripple/p-338835e6.entry.js +1 -0
- package/dist/ripple/p-3678e285.entry.js +1 -0
- package/dist/ripple/p-384f6dc8.entry.js +1 -0
- package/dist/ripple/{p-a5fb4171.system.entry.js → p-3fa20b7a.entry.js} +1 -1
- package/dist/ripple/{p-74f103dd.entry.js → p-476e2913.entry.js} +1 -1
- package/dist/ripple/{p-c699aec8.system.entry.js → p-4a50f797.system.entry.js} +1 -1
- package/dist/ripple/p-5026b7e8.entry.js +1 -0
- package/dist/ripple/{p-9b2281e2.system.entry.js → p-5166de03.system.entry.js} +1 -1
- package/dist/ripple/{p-bc4976e6.entry.js → p-5827cae3.system.entry.js} +1 -1
- package/dist/ripple/{p-ceac4dea.system.entry.js → p-59f7cfd7.system.entry.js} +1 -1
- package/dist/ripple/{p-b23c6351.system.entry.js → p-5a728ced.system.entry.js} +1 -1
- package/dist/ripple/p-5c8e802a.system.entry.js +1 -0
- package/dist/ripple/{p-cd0cc88d.entry.js → p-5cc5b46b.entry.js} +1 -1
- package/dist/ripple/{p-2f7ca1a7.system.entry.js → p-6c66e270.entry.js} +1 -1
- package/dist/ripple/p-6ffa9bfc.entry.js +1 -0
- package/dist/ripple/{p-043901ab.system.entry.js → p-70cdc5ce.system.entry.js} +1 -1
- package/dist/ripple/p-719b7087.system.entry.js +1 -0
- package/dist/ripple/{p-fe93b6b9.system.entry.js → p-734d06dc.system.entry.js} +1 -1
- package/dist/ripple/{p-4fb4deb9.entry.js → p-757b04eb.entry.js} +1 -1
- package/dist/ripple/{p-0bb576c5.system.entry.js → p-7ea000d6.system.entry.js} +1 -1
- package/dist/ripple/{p-30236be3.system.entry.js → p-81783193.system.entry.js} +1 -1
- package/dist/ripple/{p-36fd8aed.system.entry.js → p-82a66121.system.entry.js} +1 -1
- package/dist/ripple/p-85afd9bf.system.entry.js +1 -0
- package/dist/ripple/p-8eWf5O5Z.system.js +1 -0
- package/dist/ripple/p-90d11417.system.entry.js +1 -0
- package/dist/ripple/p-979cd9f4.entry.js +1 -0
- package/dist/ripple/p-B0uE_ID-.system.js +2 -0
- package/dist/ripple/p-B9BrPorY.js +1 -0
- package/dist/ripple/p-BOTV28v8.system.js +1 -0
- package/dist/ripple/{p-ba399879.system.js → p-BVUnLeDz.system.js} +1 -1
- package/dist/ripple/p-Bboe1S7O.js +1 -0
- package/dist/ripple/p-C20glyTb.js +2 -0
- package/dist/ripple/p-CKTNcFzW.system.js +1 -0
- package/dist/ripple/{p-49a347e1.js → p-DAuKYO5n.js} +1 -1
- package/dist/ripple/p-D_issjBT.system.js +1 -0
- package/dist/ripple/p-a1cd3c29.entry.js +1 -0
- package/dist/ripple/p-a634e9f5.entry.js +1 -0
- package/dist/ripple/p-b0653ac3.entry.js +1 -0
- package/dist/ripple/{p-89479d02.system.entry.js → p-b140b04d.system.entry.js} +1 -1
- package/dist/ripple/p-b2433a3c.system.entry.js +1 -0
- package/dist/ripple/{p-091fbc50.system.entry.js → p-b2604e2b.system.entry.js} +1 -1
- package/dist/ripple/{p-72ed488e.system.entry.js → p-b593e93c.system.entry.js} +1 -1
- package/dist/ripple/{p-9328023c.entry.js → p-c164a1cb.entry.js} +1 -1
- package/dist/ripple/p-c344e3c0.entry.js +1 -0
- package/dist/ripple/{p-1955c66a.system.entry.js → p-caef27f1.system.entry.js} +1 -1
- package/dist/ripple/{p-f8995a5e.system.entry.js → p-cf3defe6.system.entry.js} +1 -1
- package/dist/ripple/{p-4c2a044d.system.entry.js → p-d11e4c6e.system.entry.js} +1 -1
- package/dist/ripple/{p-c7d71181.system.entry.js → p-d17bf683.system.entry.js} +1 -1
- package/dist/ripple/{p-fe71ec64.system.entry.js → p-d1ea5d4c.system.entry.js} +1 -1
- package/dist/ripple/{p-c53f5914.entry.js → p-d293be99.system.entry.js} +1 -1
- package/dist/ripple/p-d3bc9393.entry.js +1 -0
- package/dist/ripple/{p-4e6b0a6e.system.entry.js → p-d3d5306c.system.entry.js} +1 -1
- package/dist/ripple/p-d5232e7d.entry.js +1 -0
- package/dist/ripple/{p-6a082957.entry.js → p-d61938ca.entry.js} +1 -1
- package/dist/ripple/p-dECFx5ly.js +1 -0
- package/dist/ripple/p-dc3e43aa.entry.js +1 -0
- package/dist/ripple/{p-57c25b63.entry.js → p-dca6cfbd.entry.js} +1 -1
- package/dist/ripple/{p-f9fa1506.system.entry.js → p-de4c51e2.system.entry.js} +1 -1
- package/dist/ripple/{p-8ec2e944.system.entry.js → p-e2e2929f.system.entry.js} +1 -1
- package/dist/ripple/p-e63b30bd.system.entry.js +1 -0
- package/dist/ripple/{p-2823d02b.system.entry.js → p-e6e4e23a.system.entry.js} +1 -1
- package/dist/ripple/p-e9b67596.entry.js +1 -0
- package/dist/ripple/p-ebd318c6.entry.js +1 -0
- package/dist/ripple/p-ee0e88ed.entry.js +1 -0
- package/dist/ripple/{p-92a50b38.system.entry.js → p-ef56fc5a.system.entry.js} +1 -1
- package/dist/ripple/{p-12d6ab73.system.entry.js → p-f878d184.system.entry.js} +1 -1
- package/dist/ripple/{p-c4896784.system.entry.js → p-fb4367a8.system.entry.js} +1 -1
- package/dist/ripple/p-fc35bcf9.entry.js +1 -0
- package/dist/ripple/p-ffd7de48.entry.js +1 -0
- 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
|
@@ -1,28 +1,19 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { triggerFormSubmit, toBool, handleDisabledAttribute } from "../../global/functions";
|
|
2
|
+
import { triggerFormSubmit, toBool, handleDisabledAttribute, hideTooltip, showTooltip } from "../../global/functions";
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class Input {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.previousValue = "";
|
|
7
|
-
this.label = undefined;
|
|
8
6
|
this.labelPosition = "top";
|
|
9
7
|
this.value = "";
|
|
10
8
|
this.disabled = false;
|
|
11
|
-
this.info = undefined;
|
|
12
9
|
this.inputWidth = "";
|
|
13
10
|
this.placeholder = "";
|
|
14
11
|
this.requiredField = false;
|
|
15
|
-
this.errorMessage = undefined;
|
|
16
|
-
this.characterLimit = undefined;
|
|
17
|
-
this.symbolBefore = undefined;
|
|
18
|
-
this.symbolAfter = undefined;
|
|
19
|
-
this.textAfter = undefined;
|
|
20
12
|
this.type = "text";
|
|
21
13
|
this.step = 1;
|
|
22
|
-
this.min = undefined;
|
|
23
|
-
this.max = undefined;
|
|
24
14
|
this.isSubmit = false;
|
|
25
15
|
this.announcement = "";
|
|
16
|
+
this.previousValue = "";
|
|
26
17
|
}
|
|
27
18
|
getInputWidth() {
|
|
28
19
|
return this.inputWidth ? { width: this.inputWidth } : { flex: "1" };
|
|
@@ -58,6 +49,12 @@ export class Input {
|
|
|
58
49
|
this.announce(this.generateCharacterLimitWarning(this.charCount, this.characterLimit));
|
|
59
50
|
}
|
|
60
51
|
}
|
|
52
|
+
handleLabelMouseEnter(ev) {
|
|
53
|
+
const labelEl = ev.target;
|
|
54
|
+
if (labelEl.scrollWidth > labelEl.clientWidth) {
|
|
55
|
+
showTooltip("right", labelEl, this.label);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
61
58
|
handleKeyDown(ev) {
|
|
62
59
|
// in most browsers, onInput doesn't fire if the input's maxLength is reached
|
|
63
60
|
// to handle the case where a user continues to type after reaching the character limit, the keyDown event must be used
|
|
@@ -101,7 +98,7 @@ export class Input {
|
|
|
101
98
|
: `info error`;
|
|
102
99
|
}
|
|
103
100
|
render() {
|
|
104
|
-
return (h("div", { key: '
|
|
101
|
+
return (h("div", { key: 'abe39d76f1df8098aad09d37dae556ffafed9de3', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: 'f6ebdff5ee4efb2f6ce435848379e8f63bcb3f71', class: "label-wrapper" }, h("label", { key: '2c4f2b47f0b0a9c74b5aad022d7cd902324aeeb9', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '502b0bcc0f333fbfbc3c3d33d57491a1a8fe12c4', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("div", { key: 'aa9cee1f7f3c5dfc63dd9deeb934c81b879c3e03', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '53f479d7516f774efa07b782de29fa77d7d5624c', class: "inner-wrapper" }, h("div", { key: 'b03a37a1f631b49e12846156e7959783379c75ae', class: "text-after-wrapper" }, h("div", { key: '73fae0162460f8fa28ffeffb91b75bb7fa84bc4c', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '86272f79015b42f77b7ba506f179922b1855ef44', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '4d3e1e63ec9236862e7c4969713adcf7ee260ce8', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { key: '6b11f19bdde5657a9f15ce82c541be250bc1e243', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: 'c52bb5fa02b5383df5b8eecce28eada592069ad4', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '107479fef114a8294c2243e4f52844fa1098745e', id: "info", class: "info" }, this.info)), h("div", { key: '56d84ddae6595bce7882d98586edfdb977c1a4e0', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'ddfccd79d99b3144acb6733dc89898b07a5a3ca1', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
105
102
|
}
|
|
106
103
|
static get is() { return "wm-input"; }
|
|
107
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -120,6 +117,7 @@ export class Input {
|
|
|
120
117
|
return {
|
|
121
118
|
"label": {
|
|
122
119
|
"type": "string",
|
|
120
|
+
"attribute": "label",
|
|
123
121
|
"mutable": false,
|
|
124
122
|
"complexType": {
|
|
125
123
|
"original": "string",
|
|
@@ -132,11 +130,13 @@ export class Input {
|
|
|
132
130
|
"tags": [],
|
|
133
131
|
"text": ""
|
|
134
132
|
},
|
|
135
|
-
"
|
|
133
|
+
"getter": false,
|
|
134
|
+
"setter": false,
|
|
136
135
|
"reflect": false
|
|
137
136
|
},
|
|
138
137
|
"labelPosition": {
|
|
139
138
|
"type": "string",
|
|
139
|
+
"attribute": "label-position",
|
|
140
140
|
"mutable": false,
|
|
141
141
|
"complexType": {
|
|
142
142
|
"original": "\"top\" | \"left\" | \"none\"",
|
|
@@ -149,12 +149,14 @@ export class Input {
|
|
|
149
149
|
"tags": [],
|
|
150
150
|
"text": ""
|
|
151
151
|
},
|
|
152
|
-
"
|
|
152
|
+
"getter": false,
|
|
153
|
+
"setter": false,
|
|
153
154
|
"reflect": false,
|
|
154
155
|
"defaultValue": "\"top\""
|
|
155
156
|
},
|
|
156
157
|
"value": {
|
|
157
158
|
"type": "string",
|
|
159
|
+
"attribute": "value",
|
|
158
160
|
"mutable": true,
|
|
159
161
|
"complexType": {
|
|
160
162
|
"original": "string",
|
|
@@ -167,12 +169,14 @@ export class Input {
|
|
|
167
169
|
"tags": [],
|
|
168
170
|
"text": ""
|
|
169
171
|
},
|
|
170
|
-
"
|
|
172
|
+
"getter": false,
|
|
173
|
+
"setter": false,
|
|
171
174
|
"reflect": false,
|
|
172
175
|
"defaultValue": "\"\""
|
|
173
176
|
},
|
|
174
177
|
"disabled": {
|
|
175
178
|
"type": "boolean",
|
|
179
|
+
"attribute": "disabled",
|
|
176
180
|
"mutable": false,
|
|
177
181
|
"complexType": {
|
|
178
182
|
"original": "boolean",
|
|
@@ -185,12 +189,14 @@ export class Input {
|
|
|
185
189
|
"tags": [],
|
|
186
190
|
"text": ""
|
|
187
191
|
},
|
|
188
|
-
"
|
|
192
|
+
"getter": false,
|
|
193
|
+
"setter": false,
|
|
189
194
|
"reflect": false,
|
|
190
195
|
"defaultValue": "false"
|
|
191
196
|
},
|
|
192
197
|
"info": {
|
|
193
198
|
"type": "string",
|
|
199
|
+
"attribute": "info",
|
|
194
200
|
"mutable": false,
|
|
195
201
|
"complexType": {
|
|
196
202
|
"original": "string",
|
|
@@ -203,11 +209,13 @@ export class Input {
|
|
|
203
209
|
"tags": [],
|
|
204
210
|
"text": ""
|
|
205
211
|
},
|
|
206
|
-
"
|
|
212
|
+
"getter": false,
|
|
213
|
+
"setter": false,
|
|
207
214
|
"reflect": false
|
|
208
215
|
},
|
|
209
216
|
"inputWidth": {
|
|
210
217
|
"type": "string",
|
|
218
|
+
"attribute": "input-width",
|
|
211
219
|
"mutable": false,
|
|
212
220
|
"complexType": {
|
|
213
221
|
"original": "string",
|
|
@@ -220,12 +228,14 @@ export class Input {
|
|
|
220
228
|
"tags": [],
|
|
221
229
|
"text": ""
|
|
222
230
|
},
|
|
223
|
-
"
|
|
231
|
+
"getter": false,
|
|
232
|
+
"setter": false,
|
|
224
233
|
"reflect": false,
|
|
225
234
|
"defaultValue": "\"\""
|
|
226
235
|
},
|
|
227
236
|
"placeholder": {
|
|
228
237
|
"type": "string",
|
|
238
|
+
"attribute": "placeholder",
|
|
229
239
|
"mutable": false,
|
|
230
240
|
"complexType": {
|
|
231
241
|
"original": "string",
|
|
@@ -238,12 +248,14 @@ export class Input {
|
|
|
238
248
|
"tags": [],
|
|
239
249
|
"text": ""
|
|
240
250
|
},
|
|
241
|
-
"
|
|
251
|
+
"getter": false,
|
|
252
|
+
"setter": false,
|
|
242
253
|
"reflect": false,
|
|
243
254
|
"defaultValue": "\"\""
|
|
244
255
|
},
|
|
245
256
|
"requiredField": {
|
|
246
257
|
"type": "boolean",
|
|
258
|
+
"attribute": "required-field",
|
|
247
259
|
"mutable": false,
|
|
248
260
|
"complexType": {
|
|
249
261
|
"original": "boolean",
|
|
@@ -256,12 +268,14 @@ export class Input {
|
|
|
256
268
|
"tags": [],
|
|
257
269
|
"text": ""
|
|
258
270
|
},
|
|
259
|
-
"
|
|
271
|
+
"getter": false,
|
|
272
|
+
"setter": false,
|
|
260
273
|
"reflect": false,
|
|
261
274
|
"defaultValue": "false"
|
|
262
275
|
},
|
|
263
276
|
"errorMessage": {
|
|
264
277
|
"type": "string",
|
|
278
|
+
"attribute": "error-message",
|
|
265
279
|
"mutable": false,
|
|
266
280
|
"complexType": {
|
|
267
281
|
"original": "string",
|
|
@@ -274,11 +288,13 @@ export class Input {
|
|
|
274
288
|
"tags": [],
|
|
275
289
|
"text": ""
|
|
276
290
|
},
|
|
277
|
-
"
|
|
291
|
+
"getter": false,
|
|
292
|
+
"setter": false,
|
|
278
293
|
"reflect": false
|
|
279
294
|
},
|
|
280
295
|
"characterLimit": {
|
|
281
296
|
"type": "number",
|
|
297
|
+
"attribute": "character-limit",
|
|
282
298
|
"mutable": false,
|
|
283
299
|
"complexType": {
|
|
284
300
|
"original": "number",
|
|
@@ -291,11 +307,13 @@ export class Input {
|
|
|
291
307
|
"tags": [],
|
|
292
308
|
"text": ""
|
|
293
309
|
},
|
|
294
|
-
"
|
|
310
|
+
"getter": false,
|
|
311
|
+
"setter": false,
|
|
295
312
|
"reflect": false
|
|
296
313
|
},
|
|
297
314
|
"symbolBefore": {
|
|
298
315
|
"type": "string",
|
|
316
|
+
"attribute": "symbol-before",
|
|
299
317
|
"mutable": false,
|
|
300
318
|
"complexType": {
|
|
301
319
|
"original": "string",
|
|
@@ -308,11 +326,13 @@ export class Input {
|
|
|
308
326
|
"tags": [],
|
|
309
327
|
"text": ""
|
|
310
328
|
},
|
|
311
|
-
"
|
|
329
|
+
"getter": false,
|
|
330
|
+
"setter": false,
|
|
312
331
|
"reflect": false
|
|
313
332
|
},
|
|
314
333
|
"symbolAfter": {
|
|
315
334
|
"type": "string",
|
|
335
|
+
"attribute": "symbol-after",
|
|
316
336
|
"mutable": false,
|
|
317
337
|
"complexType": {
|
|
318
338
|
"original": "string",
|
|
@@ -325,11 +345,13 @@ export class Input {
|
|
|
325
345
|
"tags": [],
|
|
326
346
|
"text": ""
|
|
327
347
|
},
|
|
328
|
-
"
|
|
348
|
+
"getter": false,
|
|
349
|
+
"setter": false,
|
|
329
350
|
"reflect": false
|
|
330
351
|
},
|
|
331
352
|
"textAfter": {
|
|
332
353
|
"type": "string",
|
|
354
|
+
"attribute": "text-after",
|
|
333
355
|
"mutable": false,
|
|
334
356
|
"complexType": {
|
|
335
357
|
"original": "string",
|
|
@@ -342,11 +364,13 @@ export class Input {
|
|
|
342
364
|
"tags": [],
|
|
343
365
|
"text": ""
|
|
344
366
|
},
|
|
345
|
-
"
|
|
367
|
+
"getter": false,
|
|
368
|
+
"setter": false,
|
|
346
369
|
"reflect": false
|
|
347
370
|
},
|
|
348
371
|
"type": {
|
|
349
372
|
"type": "string",
|
|
373
|
+
"attribute": "type",
|
|
350
374
|
"mutable": false,
|
|
351
375
|
"complexType": {
|
|
352
376
|
"original": "\"number\" | \"text\"",
|
|
@@ -359,12 +383,14 @@ export class Input {
|
|
|
359
383
|
"tags": [],
|
|
360
384
|
"text": ""
|
|
361
385
|
},
|
|
362
|
-
"
|
|
386
|
+
"getter": false,
|
|
387
|
+
"setter": false,
|
|
363
388
|
"reflect": false,
|
|
364
389
|
"defaultValue": "\"text\""
|
|
365
390
|
},
|
|
366
391
|
"step": {
|
|
367
392
|
"type": "number",
|
|
393
|
+
"attribute": "step",
|
|
368
394
|
"mutable": false,
|
|
369
395
|
"complexType": {
|
|
370
396
|
"original": "number",
|
|
@@ -377,12 +403,14 @@ export class Input {
|
|
|
377
403
|
"tags": [],
|
|
378
404
|
"text": ""
|
|
379
405
|
},
|
|
380
|
-
"
|
|
406
|
+
"getter": false,
|
|
407
|
+
"setter": false,
|
|
381
408
|
"reflect": false,
|
|
382
409
|
"defaultValue": "1"
|
|
383
410
|
},
|
|
384
411
|
"min": {
|
|
385
412
|
"type": "number",
|
|
413
|
+
"attribute": "min",
|
|
386
414
|
"mutable": false,
|
|
387
415
|
"complexType": {
|
|
388
416
|
"original": "number",
|
|
@@ -395,11 +423,13 @@ export class Input {
|
|
|
395
423
|
"tags": [],
|
|
396
424
|
"text": ""
|
|
397
425
|
},
|
|
398
|
-
"
|
|
426
|
+
"getter": false,
|
|
427
|
+
"setter": false,
|
|
399
428
|
"reflect": false
|
|
400
429
|
},
|
|
401
430
|
"max": {
|
|
402
431
|
"type": "number",
|
|
432
|
+
"attribute": "max",
|
|
403
433
|
"mutable": false,
|
|
404
434
|
"complexType": {
|
|
405
435
|
"original": "number",
|
|
@@ -412,11 +442,13 @@ export class Input {
|
|
|
412
442
|
"tags": [],
|
|
413
443
|
"text": ""
|
|
414
444
|
},
|
|
415
|
-
"
|
|
445
|
+
"getter": false,
|
|
446
|
+
"setter": false,
|
|
416
447
|
"reflect": false
|
|
417
448
|
},
|
|
418
449
|
"isSubmit": {
|
|
419
450
|
"type": "boolean",
|
|
451
|
+
"attribute": "is-submit",
|
|
420
452
|
"mutable": false,
|
|
421
453
|
"complexType": {
|
|
422
454
|
"original": "boolean",
|
|
@@ -429,7 +461,8 @@ export class Input {
|
|
|
429
461
|
"tags": [],
|
|
430
462
|
"text": ""
|
|
431
463
|
},
|
|
432
|
-
"
|
|
464
|
+
"getter": false,
|
|
465
|
+
"setter": false,
|
|
433
466
|
"reflect": false,
|
|
434
467
|
"defaultValue": "false"
|
|
435
468
|
}
|
|
@@ -2,10 +2,10 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { getIconCodeFromName } from "../../global/interfaces";
|
|
3
3
|
export class Menuitem {
|
|
4
4
|
constructor() {
|
|
5
|
-
this.descriptionCharLimit = 100;
|
|
6
5
|
this.disabled = false;
|
|
7
6
|
this.icon = undefined;
|
|
8
7
|
this.description = undefined;
|
|
8
|
+
this.descriptionCharLimit = 100;
|
|
9
9
|
}
|
|
10
10
|
handleKeydown(ev) {
|
|
11
11
|
const modifierKeyUsed = ev.altKey || ev.ctrlKey || ev.metaKey;
|
|
@@ -98,7 +98,7 @@ export class Menuitem {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: 'e6315d1845768369730087b4e9e0cb52224af68a', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: 'a1e8dc4267cf04c0ec5678744e2928acb39102c0', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, this.icon && this.renderIcon(), this.el.textContent, this.description ? h("div", { class: "description" }, this.description) : "")));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "wm-menuitem"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -116,6 +116,7 @@ export class Menuitem {
|
|
|
116
116
|
return {
|
|
117
117
|
"disabled": {
|
|
118
118
|
"type": "boolean",
|
|
119
|
+
"attribute": "disabled",
|
|
119
120
|
"mutable": false,
|
|
120
121
|
"complexType": {
|
|
121
122
|
"original": "boolean",
|
|
@@ -128,12 +129,14 @@ export class Menuitem {
|
|
|
128
129
|
"tags": [],
|
|
129
130
|
"text": ""
|
|
130
131
|
},
|
|
131
|
-
"
|
|
132
|
+
"getter": false,
|
|
133
|
+
"setter": false,
|
|
132
134
|
"reflect": false,
|
|
133
135
|
"defaultValue": "false"
|
|
134
136
|
},
|
|
135
137
|
"icon": {
|
|
136
138
|
"type": "string",
|
|
139
|
+
"attribute": "icon",
|
|
137
140
|
"mutable": true,
|
|
138
141
|
"complexType": {
|
|
139
142
|
"original": "string",
|
|
@@ -146,12 +149,14 @@ export class Menuitem {
|
|
|
146
149
|
"tags": [],
|
|
147
150
|
"text": ""
|
|
148
151
|
},
|
|
149
|
-
"
|
|
152
|
+
"getter": false,
|
|
153
|
+
"setter": false,
|
|
150
154
|
"reflect": false,
|
|
151
155
|
"defaultValue": "undefined"
|
|
152
156
|
},
|
|
153
157
|
"description": {
|
|
154
158
|
"type": "string",
|
|
159
|
+
"attribute": "description",
|
|
155
160
|
"mutable": false,
|
|
156
161
|
"complexType": {
|
|
157
162
|
"original": "string",
|
|
@@ -164,7 +169,8 @@ export class Menuitem {
|
|
|
164
169
|
"tags": [],
|
|
165
170
|
"text": ""
|
|
166
171
|
},
|
|
167
|
-
"
|
|
172
|
+
"getter": false,
|
|
173
|
+
"setter": false,
|
|
168
174
|
"reflect": false,
|
|
169
175
|
"defaultValue": "undefined"
|
|
170
176
|
}
|
|
@@ -31,7 +31,7 @@ export class ModalFooter {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '019e3ea4b92089f44320cc3f9d256f7cea96cfbc', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: 'e5c34592f8a374bc016fc6cb6125a864f99d17bd', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '6349bd48d3aab79be1f33438f904d758a48066fd', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '4154880503f788a9ea023fe4f0ce05b5f67b0f41', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: 'a48b61feaf42d6da0b237a68af68d5ac8ae49642', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "wm-modal-footer"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -48,6 +48,7 @@ export class ModalFooter {
|
|
|
48
48
|
return {
|
|
49
49
|
"secondaryText": {
|
|
50
50
|
"type": "string",
|
|
51
|
+
"attribute": "secondary-text",
|
|
51
52
|
"mutable": false,
|
|
52
53
|
"complexType": {
|
|
53
54
|
"original": "string",
|
|
@@ -60,12 +61,14 @@ export class ModalFooter {
|
|
|
60
61
|
"tags": [],
|
|
61
62
|
"text": ""
|
|
62
63
|
},
|
|
63
|
-
"
|
|
64
|
+
"getter": false,
|
|
65
|
+
"setter": false,
|
|
64
66
|
"reflect": false,
|
|
65
67
|
"defaultValue": "\"\""
|
|
66
68
|
},
|
|
67
69
|
"primaryText": {
|
|
68
70
|
"type": "string",
|
|
71
|
+
"attribute": "primary-text",
|
|
69
72
|
"mutable": false,
|
|
70
73
|
"complexType": {
|
|
71
74
|
"original": "string",
|
|
@@ -78,12 +81,14 @@ export class ModalFooter {
|
|
|
78
81
|
"tags": [],
|
|
79
82
|
"text": ""
|
|
80
83
|
},
|
|
81
|
-
"
|
|
84
|
+
"getter": false,
|
|
85
|
+
"setter": false,
|
|
82
86
|
"reflect": false,
|
|
83
87
|
"defaultValue": "\"\""
|
|
84
88
|
},
|
|
85
89
|
"infoText": {
|
|
86
90
|
"type": "string",
|
|
91
|
+
"attribute": "info-text",
|
|
87
92
|
"mutable": false,
|
|
88
93
|
"complexType": {
|
|
89
94
|
"original": "string",
|
|
@@ -96,12 +101,14 @@ export class ModalFooter {
|
|
|
96
101
|
"tags": [],
|
|
97
102
|
"text": ""
|
|
98
103
|
},
|
|
99
|
-
"
|
|
104
|
+
"getter": false,
|
|
105
|
+
"setter": false,
|
|
100
106
|
"reflect": false,
|
|
101
107
|
"defaultValue": "\"\""
|
|
102
108
|
},
|
|
103
109
|
"primaryActionDisabled": {
|
|
104
110
|
"type": "boolean",
|
|
111
|
+
"attribute": "primary-action-disabled",
|
|
105
112
|
"mutable": false,
|
|
106
113
|
"complexType": {
|
|
107
114
|
"original": "boolean",
|
|
@@ -114,12 +121,14 @@ export class ModalFooter {
|
|
|
114
121
|
"tags": [],
|
|
115
122
|
"text": ""
|
|
116
123
|
},
|
|
117
|
-
"
|
|
124
|
+
"getter": false,
|
|
125
|
+
"setter": false,
|
|
118
126
|
"reflect": false,
|
|
119
127
|
"defaultValue": "false"
|
|
120
128
|
},
|
|
121
129
|
"deleteStyle": {
|
|
122
130
|
"type": "boolean",
|
|
131
|
+
"attribute": "delete-style",
|
|
123
132
|
"mutable": false,
|
|
124
133
|
"complexType": {
|
|
125
134
|
"original": "boolean",
|
|
@@ -132,7 +141,8 @@ export class ModalFooter {
|
|
|
132
141
|
"tags": [],
|
|
133
142
|
"text": ""
|
|
134
143
|
},
|
|
135
|
-
"
|
|
144
|
+
"getter": false,
|
|
145
|
+
"setter": false,
|
|
136
146
|
"reflect": false,
|
|
137
147
|
"defaultValue": "false"
|
|
138
148
|
}
|
|
@@ -22,7 +22,7 @@ export class ModalHeader {
|
|
|
22
22
|
parentModal.emitCloseEvent();
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'ebb2d8038aa0ac395c53d4f0d91499919aa932f6' }, h("div", { key: '1f5486f23c9a9a32e5e33e47b6edc31c37c37821', class: "wm-wrapper" }, h("div", { key: 'a1192d79c1d5d7fed157386cc6acb92522e14cf7' }, h("h2", { key: 'bf4b908dad455408550d5a2695d3c4fcfcd75c3b', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '32347ba7f539174fee47edfce977f7c8426a3298', class: "subtitle" }, this.subheading))), h("wm-button", { key: '04324e5098e8580bcc3e44a107a348ff6fe5c9df', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "wm-modal-header"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -39,6 +39,7 @@ export class ModalHeader {
|
|
|
39
39
|
return {
|
|
40
40
|
"heading": {
|
|
41
41
|
"type": "string",
|
|
42
|
+
"attribute": "heading",
|
|
42
43
|
"mutable": false,
|
|
43
44
|
"complexType": {
|
|
44
45
|
"original": "string",
|
|
@@ -51,12 +52,14 @@ export class ModalHeader {
|
|
|
51
52
|
"tags": [],
|
|
52
53
|
"text": ""
|
|
53
54
|
},
|
|
54
|
-
"
|
|
55
|
+
"getter": false,
|
|
56
|
+
"setter": false,
|
|
55
57
|
"reflect": false,
|
|
56
58
|
"defaultValue": "\"\""
|
|
57
59
|
},
|
|
58
60
|
"subheading": {
|
|
59
61
|
"type": "string",
|
|
62
|
+
"attribute": "subheading",
|
|
60
63
|
"mutable": false,
|
|
61
64
|
"complexType": {
|
|
62
65
|
"original": "string",
|
|
@@ -69,7 +72,8 @@ export class ModalHeader {
|
|
|
69
72
|
"tags": [],
|
|
70
73
|
"text": ""
|
|
71
74
|
},
|
|
72
|
-
"
|
|
75
|
+
"getter": false,
|
|
76
|
+
"setter": false,
|
|
73
77
|
"reflect": false,
|
|
74
78
|
"defaultValue": "\"\""
|
|
75
79
|
}
|
|
@@ -883,7 +883,7 @@ wm-modal dialog.wm-modal[open] {
|
|
|
883
883
|
flex-direction: column;
|
|
884
884
|
}
|
|
885
885
|
wm-modal dialog.wm-modal > :not(wm-modal-header, wm-modal-footer) {
|
|
886
|
-
flex: 1;
|
|
886
|
+
flex: 1 1 auto;
|
|
887
887
|
}
|
|
888
888
|
wm-modal dialog.wm-modal > wm-modal-header {
|
|
889
889
|
border-bottom: 1px solid var(--wmcolor-modal-border);
|
|
@@ -3,10 +3,8 @@ import { generateId } from "../../global/functions";
|
|
|
3
3
|
export class Modal {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.open = false;
|
|
6
|
-
this.elementToFocus = "";
|
|
6
|
+
this.elementToFocus = ""; // primary and secondary point to the corresponding buttons, otherwise focus based on element id
|
|
7
7
|
this.modalType = "modal";
|
|
8
|
-
this.uid = undefined;
|
|
9
|
-
this.returnFocusEl = undefined;
|
|
10
8
|
}
|
|
11
9
|
get closeButtonEl() {
|
|
12
10
|
return this.el.querySelector(`#wm-modal-close-${this.uid}`);
|
|
@@ -108,11 +106,11 @@ export class Modal {
|
|
|
108
106
|
}
|
|
109
107
|
}
|
|
110
108
|
render() {
|
|
111
|
-
return (h("dialog", { key: '
|
|
109
|
+
return (h("dialog", { key: '37c9534a1839dc5c6e2be8ca838fa9da956d34ba', class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'ce59adc5fa795c32da6fd374468c451147ccca38', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
112
110
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
113
111
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
114
112
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
115
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { key: '
|
|
113
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: 'c62753c1bba03d72707398899b68fe318d285bc8', class: "wm-tooltip" }), h("slot", { key: '24f8462de2987ddadc5a4573bb9ff0a4ad42d95a' }), h("div", { key: '390395f0b4bc778d6811276f2a7facfe3fd8f9da', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
116
114
|
this.focusFirstElement.emit();
|
|
117
115
|
} })));
|
|
118
116
|
}
|
|
@@ -131,6 +129,7 @@ export class Modal {
|
|
|
131
129
|
return {
|
|
132
130
|
"open": {
|
|
133
131
|
"type": "boolean",
|
|
132
|
+
"attribute": "open",
|
|
134
133
|
"mutable": true,
|
|
135
134
|
"complexType": {
|
|
136
135
|
"original": "boolean",
|
|
@@ -143,12 +142,14 @@ export class Modal {
|
|
|
143
142
|
"tags": [],
|
|
144
143
|
"text": ""
|
|
145
144
|
},
|
|
146
|
-
"
|
|
145
|
+
"getter": false,
|
|
146
|
+
"setter": false,
|
|
147
147
|
"reflect": true,
|
|
148
148
|
"defaultValue": "false"
|
|
149
149
|
},
|
|
150
150
|
"elementToFocus": {
|
|
151
151
|
"type": "string",
|
|
152
|
+
"attribute": "element-to-focus",
|
|
152
153
|
"mutable": true,
|
|
153
154
|
"complexType": {
|
|
154
155
|
"original": "\"primary\" | \"secondary\" | string",
|
|
@@ -161,12 +162,14 @@ export class Modal {
|
|
|
161
162
|
"tags": [],
|
|
162
163
|
"text": ""
|
|
163
164
|
},
|
|
164
|
-
"
|
|
165
|
+
"getter": false,
|
|
166
|
+
"setter": false,
|
|
165
167
|
"reflect": false,
|
|
166
168
|
"defaultValue": "\"\""
|
|
167
169
|
},
|
|
168
170
|
"modalType": {
|
|
169
171
|
"type": "string",
|
|
172
|
+
"attribute": "modal-type",
|
|
170
173
|
"mutable": false,
|
|
171
174
|
"complexType": {
|
|
172
175
|
"original": "\"modal\" | \"dialog\"",
|
|
@@ -179,12 +182,14 @@ export class Modal {
|
|
|
179
182
|
"tags": [],
|
|
180
183
|
"text": ""
|
|
181
184
|
},
|
|
182
|
-
"
|
|
185
|
+
"getter": false,
|
|
186
|
+
"setter": false,
|
|
183
187
|
"reflect": true,
|
|
184
188
|
"defaultValue": "\"modal\""
|
|
185
189
|
},
|
|
186
190
|
"uid": {
|
|
187
191
|
"type": "string",
|
|
192
|
+
"attribute": "uid",
|
|
188
193
|
"mutable": true,
|
|
189
194
|
"complexType": {
|
|
190
195
|
"original": "string",
|
|
@@ -197,7 +202,8 @@ export class Modal {
|
|
|
197
202
|
"tags": [],
|
|
198
203
|
"text": ""
|
|
199
204
|
},
|
|
200
|
-
"
|
|
205
|
+
"getter": false,
|
|
206
|
+
"setter": false,
|
|
201
207
|
"reflect": true
|
|
202
208
|
}
|
|
203
209
|
};
|