@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
|
@@ -3,6 +3,12 @@ import { debounce, intl } from "../../global/functions";
|
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class Pagination {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.currentPage = 1;
|
|
7
|
+
this.totalItems = undefined;
|
|
8
|
+
this.itemsPerPage = undefined;
|
|
9
|
+
this.value = 1;
|
|
10
|
+
this.isLargeSize = window.innerWidth > 600; // first estimate is based on window size, then actual measurement takes place on resize
|
|
11
|
+
this.srAnnouncement = "";
|
|
6
12
|
this.totalPages = 0;
|
|
7
13
|
this.navigationLabel = intl.formatMessage({
|
|
8
14
|
id: "pagination.navLabel",
|
|
@@ -34,12 +40,6 @@ export class Pagination {
|
|
|
34
40
|
}
|
|
35
41
|
return coreBtns;
|
|
36
42
|
};
|
|
37
|
-
this.currentPage = 1;
|
|
38
|
-
this.totalItems = undefined;
|
|
39
|
-
this.itemsPerPage = undefined;
|
|
40
|
-
this.value = 1;
|
|
41
|
-
this.isLargeSize = window.innerWidth > 600;
|
|
42
|
-
this.srAnnouncement = "";
|
|
43
43
|
}
|
|
44
44
|
pageButtonLabel(pageNum) {
|
|
45
45
|
return intl.formatMessage({
|
|
@@ -203,7 +203,7 @@ export class Pagination {
|
|
|
203
203
|
render() {
|
|
204
204
|
return (
|
|
205
205
|
// do not render the component if there's only one page
|
|
206
|
-
this.totalItems > this.itemsPerPage && (h("nav", { key: '
|
|
206
|
+
this.totalItems > this.itemsPerPage && (h("nav", { key: '4915b3425f35f85d5684893fbc82e6d6a29b9d0f', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '56b83b74efa2372e03f27ea654c808a2bb86a85b', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
|
|
207
207
|
}
|
|
208
208
|
static get is() { return "wm-pagination"; }
|
|
209
209
|
static get encapsulation() { return "shadow"; }
|
|
@@ -222,6 +222,7 @@ export class Pagination {
|
|
|
222
222
|
return {
|
|
223
223
|
"currentPage": {
|
|
224
224
|
"type": "number",
|
|
225
|
+
"attribute": "current-page",
|
|
225
226
|
"mutable": false,
|
|
226
227
|
"complexType": {
|
|
227
228
|
"original": "number",
|
|
@@ -234,12 +235,14 @@ export class Pagination {
|
|
|
234
235
|
"tags": [],
|
|
235
236
|
"text": ""
|
|
236
237
|
},
|
|
237
|
-
"
|
|
238
|
+
"getter": false,
|
|
239
|
+
"setter": false,
|
|
238
240
|
"reflect": false,
|
|
239
241
|
"defaultValue": "1"
|
|
240
242
|
},
|
|
241
243
|
"totalItems": {
|
|
242
244
|
"type": "number",
|
|
245
|
+
"attribute": "total-items",
|
|
243
246
|
"mutable": false,
|
|
244
247
|
"complexType": {
|
|
245
248
|
"original": "number",
|
|
@@ -252,12 +255,14 @@ export class Pagination {
|
|
|
252
255
|
"tags": [],
|
|
253
256
|
"text": ""
|
|
254
257
|
},
|
|
255
|
-
"
|
|
258
|
+
"getter": false,
|
|
259
|
+
"setter": false,
|
|
256
260
|
"reflect": false,
|
|
257
261
|
"defaultValue": "undefined"
|
|
258
262
|
},
|
|
259
263
|
"itemsPerPage": {
|
|
260
264
|
"type": "number",
|
|
265
|
+
"attribute": "items-per-page",
|
|
261
266
|
"mutable": false,
|
|
262
267
|
"complexType": {
|
|
263
268
|
"original": "number",
|
|
@@ -270,12 +275,14 @@ export class Pagination {
|
|
|
270
275
|
"tags": [],
|
|
271
276
|
"text": ""
|
|
272
277
|
},
|
|
273
|
-
"
|
|
278
|
+
"getter": false,
|
|
279
|
+
"setter": false,
|
|
274
280
|
"reflect": false,
|
|
275
281
|
"defaultValue": "undefined"
|
|
276
282
|
},
|
|
277
283
|
"value": {
|
|
278
284
|
"type": "number",
|
|
285
|
+
"attribute": "value",
|
|
279
286
|
"mutable": false,
|
|
280
287
|
"complexType": {
|
|
281
288
|
"original": "number",
|
|
@@ -288,12 +295,14 @@ export class Pagination {
|
|
|
288
295
|
"tags": [],
|
|
289
296
|
"text": ""
|
|
290
297
|
},
|
|
291
|
-
"
|
|
298
|
+
"getter": false,
|
|
299
|
+
"setter": false,
|
|
292
300
|
"reflect": false,
|
|
293
301
|
"defaultValue": "1"
|
|
294
302
|
},
|
|
295
303
|
"isLargeSize": {
|
|
296
304
|
"type": "boolean",
|
|
305
|
+
"attribute": "is-large-size",
|
|
297
306
|
"mutable": false,
|
|
298
307
|
"complexType": {
|
|
299
308
|
"original": "boolean",
|
|
@@ -306,7 +315,8 @@ export class Pagination {
|
|
|
306
315
|
"tags": [],
|
|
307
316
|
"text": ""
|
|
308
317
|
},
|
|
309
|
-
"
|
|
318
|
+
"getter": false,
|
|
319
|
+
"setter": false,
|
|
310
320
|
"reflect": false,
|
|
311
321
|
"defaultValue": "window.innerWidth > 600"
|
|
312
322
|
}
|
|
@@ -3,20 +3,39 @@ import { intl, handleDisabledAttribute, toBool } from "../../global/functions";
|
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class Search {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.linkEl = null;
|
|
7
6
|
this.searchType = "basic";
|
|
8
7
|
this.disabled = false;
|
|
8
|
+
/**
|
|
9
|
+
* Props required for both variants.
|
|
10
|
+
*/
|
|
9
11
|
this.placeholder = "";
|
|
10
12
|
this.label = "";
|
|
11
13
|
this.numResults = 0;
|
|
14
|
+
/**
|
|
15
|
+
* This exposes the input's value on the host component so that the app can access it.
|
|
16
|
+
*/
|
|
12
17
|
this.value = "";
|
|
18
|
+
/**
|
|
19
|
+
* If the user is tabbing, the search and find variant will display a link to jump to a search result.
|
|
20
|
+
*/
|
|
13
21
|
this.isTabbing = false;
|
|
22
|
+
/**
|
|
23
|
+
* Prop specifically for the search and find variant. The id points to the id of the option currently highlighted,
|
|
24
|
+
* so that tabbing and screen reader users can jump to this option rather than tab through the list to find it.
|
|
25
|
+
*/
|
|
14
26
|
this.highlightedId = "";
|
|
15
27
|
this.highlightedName = null;
|
|
28
|
+
/**
|
|
29
|
+
* Indicates which of the search results is currently highlighted. It will be displayed as "[highlightedNum] of [numResults]" next to the input in the search and find variant.
|
|
30
|
+
* This number updates as the user browses using the buttons.
|
|
31
|
+
*/
|
|
16
32
|
this.highlightedNum = 0;
|
|
17
33
|
this.previousBlurredValue = "";
|
|
18
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Live region announcement
|
|
36
|
+
*/
|
|
19
37
|
this.announcement = "";
|
|
38
|
+
this.linkEl = null;
|
|
20
39
|
}
|
|
21
40
|
get isDisabled() {
|
|
22
41
|
// string "false" needs to be treated as bool False because react wrappers convert bool to string.
|
|
@@ -168,10 +187,10 @@ export class Search {
|
|
|
168
187
|
* End search and find render helpers
|
|
169
188
|
*/
|
|
170
189
|
render() {
|
|
171
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: 'cd7f595a342f69a27e507f9110b1bd67ca536b14' }, h("div", { key: '613883fa806fee9b523776e2c81abcc9c7c80eaf', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '5c944cc9756d6bba9396ef768c0d26cdd4fe7b88', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
|
|
172
191
|
id: "search.typeToFilterResults",
|
|
173
192
|
defaultMessage: "Type to filter the results",
|
|
174
|
-
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '
|
|
193
|
+
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: 'd6dd15a45a5e449a5b177263e369d5016ae81a4d', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '4c3d42a0e159512713a54f99c403ca4a06549d06', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
|
|
175
194
|
}
|
|
176
195
|
static get is() { return "wm-search"; }
|
|
177
196
|
static get encapsulation() { return "shadow"; }
|
|
@@ -190,6 +209,7 @@ export class Search {
|
|
|
190
209
|
return {
|
|
191
210
|
"searchType": {
|
|
192
211
|
"type": "string",
|
|
212
|
+
"attribute": "search-type",
|
|
193
213
|
"mutable": true,
|
|
194
214
|
"complexType": {
|
|
195
215
|
"original": "\"basic\" | \"find\"",
|
|
@@ -202,12 +222,14 @@ export class Search {
|
|
|
202
222
|
"tags": [],
|
|
203
223
|
"text": ""
|
|
204
224
|
},
|
|
205
|
-
"
|
|
225
|
+
"getter": false,
|
|
226
|
+
"setter": false,
|
|
206
227
|
"reflect": false,
|
|
207
228
|
"defaultValue": "\"basic\""
|
|
208
229
|
},
|
|
209
230
|
"disabled": {
|
|
210
231
|
"type": "boolean",
|
|
232
|
+
"attribute": "disabled",
|
|
211
233
|
"mutable": false,
|
|
212
234
|
"complexType": {
|
|
213
235
|
"original": "boolean",
|
|
@@ -220,12 +242,14 @@ export class Search {
|
|
|
220
242
|
"tags": [],
|
|
221
243
|
"text": ""
|
|
222
244
|
},
|
|
223
|
-
"
|
|
245
|
+
"getter": false,
|
|
246
|
+
"setter": false,
|
|
224
247
|
"reflect": true,
|
|
225
248
|
"defaultValue": "false"
|
|
226
249
|
},
|
|
227
250
|
"placeholder": {
|
|
228
251
|
"type": "string",
|
|
252
|
+
"attribute": "placeholder",
|
|
229
253
|
"mutable": false,
|
|
230
254
|
"complexType": {
|
|
231
255
|
"original": "string",
|
|
@@ -238,12 +262,14 @@ export class Search {
|
|
|
238
262
|
"tags": [],
|
|
239
263
|
"text": "Props required for both variants."
|
|
240
264
|
},
|
|
241
|
-
"
|
|
265
|
+
"getter": false,
|
|
266
|
+
"setter": false,
|
|
242
267
|
"reflect": false,
|
|
243
268
|
"defaultValue": "\"\""
|
|
244
269
|
},
|
|
245
270
|
"label": {
|
|
246
271
|
"type": "string",
|
|
272
|
+
"attribute": "label",
|
|
247
273
|
"mutable": false,
|
|
248
274
|
"complexType": {
|
|
249
275
|
"original": "string",
|
|
@@ -256,12 +282,14 @@ export class Search {
|
|
|
256
282
|
"tags": [],
|
|
257
283
|
"text": ""
|
|
258
284
|
},
|
|
259
|
-
"
|
|
285
|
+
"getter": false,
|
|
286
|
+
"setter": false,
|
|
260
287
|
"reflect": false,
|
|
261
288
|
"defaultValue": "\"\""
|
|
262
289
|
},
|
|
263
290
|
"numResults": {
|
|
264
291
|
"type": "number",
|
|
292
|
+
"attribute": "num-results",
|
|
265
293
|
"mutable": true,
|
|
266
294
|
"complexType": {
|
|
267
295
|
"original": "number",
|
|
@@ -274,12 +302,14 @@ export class Search {
|
|
|
274
302
|
"tags": [],
|
|
275
303
|
"text": ""
|
|
276
304
|
},
|
|
277
|
-
"
|
|
305
|
+
"getter": false,
|
|
306
|
+
"setter": false,
|
|
278
307
|
"reflect": false,
|
|
279
308
|
"defaultValue": "0"
|
|
280
309
|
},
|
|
281
310
|
"value": {
|
|
282
311
|
"type": "string",
|
|
312
|
+
"attribute": "value",
|
|
283
313
|
"mutable": true,
|
|
284
314
|
"complexType": {
|
|
285
315
|
"original": "string",
|
|
@@ -292,12 +322,14 @@ export class Search {
|
|
|
292
322
|
"tags": [],
|
|
293
323
|
"text": "This exposes the input's value on the host component so that the app can access it."
|
|
294
324
|
},
|
|
295
|
-
"
|
|
325
|
+
"getter": false,
|
|
326
|
+
"setter": false,
|
|
296
327
|
"reflect": true,
|
|
297
328
|
"defaultValue": "\"\""
|
|
298
329
|
},
|
|
299
330
|
"highlightedId": {
|
|
300
331
|
"type": "string",
|
|
332
|
+
"attribute": "highlighted-id",
|
|
301
333
|
"mutable": false,
|
|
302
334
|
"complexType": {
|
|
303
335
|
"original": "string",
|
|
@@ -310,12 +342,14 @@ export class Search {
|
|
|
310
342
|
"tags": [],
|
|
311
343
|
"text": "Prop specifically for the search and find variant. The id points to the id of the option currently highlighted,\nso that tabbing and screen reader users can jump to this option rather than tab through the list to find it."
|
|
312
344
|
},
|
|
313
|
-
"
|
|
345
|
+
"getter": false,
|
|
346
|
+
"setter": false,
|
|
314
347
|
"reflect": false,
|
|
315
348
|
"defaultValue": "\"\""
|
|
316
349
|
},
|
|
317
350
|
"highlightedName": {
|
|
318
351
|
"type": "string",
|
|
352
|
+
"attribute": "highlighted-name",
|
|
319
353
|
"mutable": false,
|
|
320
354
|
"complexType": {
|
|
321
355
|
"original": "string | null",
|
|
@@ -328,7 +362,8 @@ export class Search {
|
|
|
328
362
|
"tags": [],
|
|
329
363
|
"text": ""
|
|
330
364
|
},
|
|
331
|
-
"
|
|
365
|
+
"getter": false,
|
|
366
|
+
"setter": false,
|
|
332
367
|
"reflect": false,
|
|
333
368
|
"defaultValue": "null"
|
|
334
369
|
}
|
|
@@ -3,18 +3,19 @@ import { generateId, hideTooltip, intl, showTooltip } from "../../global/functio
|
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class Snackbar {
|
|
5
5
|
constructor() {
|
|
6
|
+
//Prop receives notifications as JSON string, which is later parsed into an array of objects.
|
|
7
|
+
this.notifications = "[]";
|
|
6
8
|
this.parsedNotifications = [];
|
|
7
9
|
this.uid = this.el.id ? this.el.id : generateId();
|
|
8
10
|
this.focusOnDismiss = null;
|
|
9
11
|
this.timers = {};
|
|
12
|
+
this.isTabbing = false;
|
|
13
|
+
this.announcement = "";
|
|
10
14
|
this.closeSnackMessage = intl.formatMessage({
|
|
11
15
|
id: "snackbar.closeNotification",
|
|
12
16
|
defaultMessage: "Close this notification",
|
|
13
17
|
description: "Notification refers to a notification UI element that can be dismissed",
|
|
14
18
|
});
|
|
15
|
-
this.notifications = "[]";
|
|
16
|
-
this.isTabbing = false;
|
|
17
|
-
this.announcement = "";
|
|
18
19
|
}
|
|
19
20
|
componentDidLoad() {
|
|
20
21
|
const snackObserver = new MutationObserver((snackMutations) => snackMutations.forEach((mutationRecord) => this.handleSnackMutation(mutationRecord)));
|
|
@@ -162,11 +163,11 @@ export class Snackbar {
|
|
|
162
163
|
}, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link), notification.newWindow && h("div", { class: "svg-icon svg-open-in-new" })))), h("button", { id: `close-button-${notification.id}`, "aria-label": this.closeSnackMessage, class: "closesnack", tabindex: notification.link ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() }, h("div", { class: "svg-icon svg-close" }))), h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
|
|
163
164
|
}
|
|
164
165
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
166
|
+
return (h(Host, { key: '9b55b8fa05817c3dd826b1318c3b7fdc35d65a51' }, h("div", { key: '8debb1dfc460b20abdc86238a5850e44949364cc', ref: (el) => (this.snackAreaEl = el), class: {
|
|
166
167
|
"list-wrapper": true,
|
|
167
168
|
"user-is-tabbing": this.isTabbing,
|
|
168
169
|
empty: this.parsedNotifications.length == 0,
|
|
169
|
-
} }, this.renderSnackbars()), h("div", { key: '
|
|
170
|
+
} }, this.renderSnackbars()), h("div", { key: 'bd51da7d83c448ea676f4f2530dd3ad8ac529c2f', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
170
171
|
}
|
|
171
172
|
static get is() { return "wm-snackbar"; }
|
|
172
173
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,6 +185,7 @@ export class Snackbar {
|
|
|
184
185
|
return {
|
|
185
186
|
"notifications": {
|
|
186
187
|
"type": "string",
|
|
188
|
+
"attribute": "notifications",
|
|
187
189
|
"mutable": true,
|
|
188
190
|
"complexType": {
|
|
189
191
|
"original": "string",
|
|
@@ -196,7 +198,8 @@ export class Snackbar {
|
|
|
196
198
|
"tags": [],
|
|
197
199
|
"text": ""
|
|
198
200
|
},
|
|
199
|
-
"
|
|
201
|
+
"getter": false,
|
|
202
|
+
"setter": false,
|
|
200
203
|
"reflect": true,
|
|
201
204
|
"defaultValue": "\"[]\""
|
|
202
205
|
}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TabItem {
|
|
3
3
|
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Indicates whether the tab is currently active
|
|
6
|
+
*/
|
|
7
|
+
this.selected = false;
|
|
8
|
+
this.show = true;
|
|
9
|
+
/**
|
|
10
|
+
* The id of the tab, linked to a tab panel.
|
|
11
|
+
*/
|
|
12
|
+
this.tabId = "";
|
|
4
13
|
this.tabClicked = (ev) => {
|
|
5
14
|
ev.preventDefault();
|
|
6
15
|
this.wmTabSelected.emit({ tabId: this.tabId });
|
|
@@ -16,9 +25,6 @@ export class TabItem {
|
|
|
16
25
|
this.keydownOnTabItem.emit({ tabItem: this.el, key: ev.key });
|
|
17
26
|
}
|
|
18
27
|
};
|
|
19
|
-
this.selected = false;
|
|
20
|
-
this.show = true;
|
|
21
|
-
this.tabId = "";
|
|
22
28
|
}
|
|
23
29
|
get parentTabList() {
|
|
24
30
|
return this.el.parentElement;
|
|
@@ -40,7 +46,7 @@ export class TabItem {
|
|
|
40
46
|
"background-size": `calc(100% - ${bkgSize}${units}) 3px`,
|
|
41
47
|
};
|
|
42
48
|
}
|
|
43
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'bcfcc1fcb3cd91456ea38458f7eb26200f27dabb', role: "presentation" }, h("li", { key: '9ece015d01a832e52af9b520695cc303a674a22e', class: "tab-item", role: "presentation" }, h("a", { key: '8b43cebd1ff8a19aa81b23db7ce0265525f79a8a', class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", { key: 'b04fa980a8eaffd3ffb64258941e943e14343cfc' })))));
|
|
44
50
|
}
|
|
45
51
|
static get is() { return "wm-tab-item"; }
|
|
46
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,6 +65,7 @@ export class TabItem {
|
|
|
59
65
|
return {
|
|
60
66
|
"selected": {
|
|
61
67
|
"type": "boolean",
|
|
68
|
+
"attribute": "selected",
|
|
62
69
|
"mutable": false,
|
|
63
70
|
"complexType": {
|
|
64
71
|
"original": "boolean",
|
|
@@ -71,12 +78,14 @@ export class TabItem {
|
|
|
71
78
|
"tags": [],
|
|
72
79
|
"text": "Indicates whether the tab is currently active"
|
|
73
80
|
},
|
|
74
|
-
"
|
|
81
|
+
"getter": false,
|
|
82
|
+
"setter": false,
|
|
75
83
|
"reflect": false,
|
|
76
84
|
"defaultValue": "false"
|
|
77
85
|
},
|
|
78
86
|
"show": {
|
|
79
87
|
"type": "boolean",
|
|
88
|
+
"attribute": "show",
|
|
80
89
|
"mutable": false,
|
|
81
90
|
"complexType": {
|
|
82
91
|
"original": "boolean",
|
|
@@ -89,12 +98,14 @@ export class TabItem {
|
|
|
89
98
|
"tags": [],
|
|
90
99
|
"text": ""
|
|
91
100
|
},
|
|
92
|
-
"
|
|
101
|
+
"getter": false,
|
|
102
|
+
"setter": false,
|
|
93
103
|
"reflect": false,
|
|
94
104
|
"defaultValue": "true"
|
|
95
105
|
},
|
|
96
106
|
"tabId": {
|
|
97
107
|
"type": "string",
|
|
108
|
+
"attribute": "tab-id",
|
|
98
109
|
"mutable": false,
|
|
99
110
|
"complexType": {
|
|
100
111
|
"original": "string",
|
|
@@ -107,7 +118,8 @@ export class TabItem {
|
|
|
107
118
|
"tags": [],
|
|
108
119
|
"text": "The id of the tab, linked to a tab panel."
|
|
109
120
|
},
|
|
110
|
-
"
|
|
121
|
+
"getter": false,
|
|
122
|
+
"setter": false,
|
|
111
123
|
"reflect": false,
|
|
112
124
|
"defaultValue": "\"\""
|
|
113
125
|
}
|
|
@@ -13,9 +13,6 @@ export class TabList {
|
|
|
13
13
|
}
|
|
14
14
|
forceUpdate(this.el);
|
|
15
15
|
}, 10);
|
|
16
|
-
this.customBackground = undefined;
|
|
17
|
-
this.customPadding = undefined;
|
|
18
|
-
this.selectedTab = undefined;
|
|
19
16
|
}
|
|
20
17
|
/**
|
|
21
18
|
* Set to true when the tab list exceeds the parent width. Component will render the menu layout.
|
|
@@ -160,7 +157,7 @@ export class TabList {
|
|
|
160
157
|
} }, t.textContent)));
|
|
161
158
|
}
|
|
162
159
|
render() {
|
|
163
|
-
return h(Host, { key: '
|
|
160
|
+
return h(Host, { key: 'd4a1e7380e109d5707d2215418d980a9fe319f40', class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
|
|
164
161
|
}
|
|
165
162
|
static get is() { return "wm-tab-list"; }
|
|
166
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -179,6 +176,7 @@ export class TabList {
|
|
|
179
176
|
return {
|
|
180
177
|
"customBackground": {
|
|
181
178
|
"type": "string",
|
|
179
|
+
"attribute": "custom-background",
|
|
182
180
|
"mutable": false,
|
|
183
181
|
"complexType": {
|
|
184
182
|
"original": "\"dark\" | \"\"",
|
|
@@ -191,11 +189,13 @@ export class TabList {
|
|
|
191
189
|
"tags": [],
|
|
192
190
|
"text": ""
|
|
193
191
|
},
|
|
194
|
-
"
|
|
192
|
+
"getter": false,
|
|
193
|
+
"setter": false,
|
|
195
194
|
"reflect": false
|
|
196
195
|
},
|
|
197
196
|
"customPadding": {
|
|
198
197
|
"type": "string",
|
|
198
|
+
"attribute": "custom-padding",
|
|
199
199
|
"mutable": false,
|
|
200
200
|
"complexType": {
|
|
201
201
|
"original": "string",
|
|
@@ -208,11 +208,13 @@ export class TabList {
|
|
|
208
208
|
"tags": [],
|
|
209
209
|
"text": ""
|
|
210
210
|
},
|
|
211
|
-
"
|
|
211
|
+
"getter": false,
|
|
212
|
+
"setter": false,
|
|
212
213
|
"reflect": false
|
|
213
214
|
},
|
|
214
215
|
"selectedTab": {
|
|
215
216
|
"type": "string",
|
|
217
|
+
"attribute": "selected-tab",
|
|
216
218
|
"mutable": false,
|
|
217
219
|
"complexType": {
|
|
218
220
|
"original": "string",
|
|
@@ -225,7 +227,8 @@ export class TabList {
|
|
|
225
227
|
"tags": [],
|
|
226
228
|
"text": ""
|
|
227
229
|
},
|
|
228
|
-
"
|
|
230
|
+
"getter": false,
|
|
231
|
+
"setter": false,
|
|
229
232
|
"reflect": false
|
|
230
233
|
}
|
|
231
234
|
};
|
|
@@ -2,7 +2,13 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
import { generateId } from "../../../global/functions";
|
|
3
3
|
export class TabPanel {
|
|
4
4
|
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* Indicates whether the panel should be displayed or not.
|
|
7
|
+
*/
|
|
5
8
|
this.active = false;
|
|
9
|
+
/**
|
|
10
|
+
* The id of the panel, linked to a tabItem in the tablist.
|
|
11
|
+
*/
|
|
6
12
|
this.tabId = "";
|
|
7
13
|
}
|
|
8
14
|
componentWillLoad() {
|
|
@@ -12,7 +18,7 @@ export class TabPanel {
|
|
|
12
18
|
this.tabPanelLoaded.emit({ tabId: this.tabId });
|
|
13
19
|
}
|
|
14
20
|
render() {
|
|
15
|
-
return h(Host, { key: '
|
|
21
|
+
return h(Host, { key: '760cc80a7e445fa0edae74157392fb49afb10fb0', role: "tabpanel", class: { "tab-hidden": !this.active } });
|
|
16
22
|
}
|
|
17
23
|
static get is() { return "wm-tab-panel"; }
|
|
18
24
|
static get originalStyleUrls() {
|
|
@@ -29,6 +35,7 @@ export class TabPanel {
|
|
|
29
35
|
return {
|
|
30
36
|
"active": {
|
|
31
37
|
"type": "boolean",
|
|
38
|
+
"attribute": "active",
|
|
32
39
|
"mutable": true,
|
|
33
40
|
"complexType": {
|
|
34
41
|
"original": "boolean",
|
|
@@ -41,12 +48,14 @@ export class TabPanel {
|
|
|
41
48
|
"tags": [],
|
|
42
49
|
"text": "Indicates whether the panel should be displayed or not."
|
|
43
50
|
},
|
|
44
|
-
"
|
|
51
|
+
"getter": false,
|
|
52
|
+
"setter": false,
|
|
45
53
|
"reflect": false,
|
|
46
54
|
"defaultValue": "false"
|
|
47
55
|
},
|
|
48
56
|
"tabId": {
|
|
49
57
|
"type": "string",
|
|
58
|
+
"attribute": "tab-id",
|
|
50
59
|
"mutable": true,
|
|
51
60
|
"complexType": {
|
|
52
61
|
"original": "string",
|
|
@@ -59,7 +68,8 @@ export class TabPanel {
|
|
|
59
68
|
"tags": [],
|
|
60
69
|
"text": "The id of the panel, linked to a tabItem in the tablist."
|
|
61
70
|
},
|
|
62
|
-
"
|
|
71
|
+
"getter": false,
|
|
72
|
+
"setter": false,
|
|
63
73
|
"reflect": false,
|
|
64
74
|
"defaultValue": "\"\""
|
|
65
75
|
}
|