@maggioli-design-system/magma 2.0.0-beta.5 → 2.0.1
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/README.md +2 -1
- package/dist/cjs/index.cjs.js +64 -22
- package/dist/cjs/{locale.it-D-rxNDkm.js → locale.it-CfUV2hxK.js} +13 -10
- package/dist/cjs/mds-avatar.cjs.entry.js +27 -32
- package/dist/cjs/mds-badge.cjs.entry.js +3 -2
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +3 -2
- package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
- package/dist/cjs/mds-button_3.cjs.entry.js +36 -10
- package/dist/cjs/mds-dropdown.cjs.entry.js +4 -3
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +18 -18
- package/dist/cjs/mds-file.cjs.entry.js +1 -1
- package/dist/cjs/mds-header.cjs.entry.js +17 -8
- package/dist/cjs/mds-img.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date-range.cjs.entry.js +7 -5
- package/dist/cjs/mds-input-select.cjs.entry.js +10 -8
- package/dist/cjs/mds-input-upload.cjs.entry.js +10 -6
- package/dist/cjs/mds-input.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +8 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +6 -3
- package/dist/cjs/mds-mention.cjs.entry.js +3 -2
- package/dist/cjs/mds-notification.cjs.entry.js +11 -8
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -2
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +3 -2
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +5 -3
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +3 -2
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-text.cjs.entry.js +2 -1
- package/dist/cjs/mds-toast.cjs.entry.js +9 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +4 -4
- package/dist/collection/common/file.js +13 -10
- package/dist/collection/components/mds-avatar/mds-avatar.js +27 -32
- package/dist/collection/components/mds-badge/mds-badge.js +3 -2
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +3 -2
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -3
- package/dist/collection/components/mds-button/mds-button.js +7 -6
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +4 -3
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +6 -7
- package/dist/collection/components/mds-header/mds-header.js +17 -8
- package/dist/collection/components/mds-icon/mds-icon.js +29 -4
- package/dist/collection/components/mds-icon/services/icons-set.service.js +47 -18
- package/dist/collection/components/mds-img/mds-img.js +3 -3
- package/dist/collection/components/mds-input/mds-input.js +4 -4
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +7 -5
- package/dist/collection/components/mds-input-select/mds-input-select.js +10 -8
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +10 -6
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +8 -5
- package/dist/collection/components/mds-mention/mds-mention.js +3 -2
- package/dist/collection/components/mds-notification/mds-notification.js +11 -8
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +3 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +5 -3
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +3 -2
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -2
- package/dist/collection/components/mds-text/mds-text.js +2 -1
- package/dist/collection/components/mds-toast/mds-toast.js +9 -3
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +4 -4
- package/dist/collection/dictionary/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/{p-D3-GP4KF.js → p-6K9sFzLr.js} +1 -1
- package/dist/components/p-BBhbQT2f.js +1 -0
- package/dist/components/{p-B2A_hlV2.js → p-BFpRu7yD.js} +1 -1
- package/dist/components/p-BL63WAAq.js +8 -0
- package/dist/components/{p-Deh5Aia-.js → p-BShLEry5.js} +1 -1
- package/dist/components/{p-BJNK4p33.js → p-BYxxgEE_.js} +1 -1
- package/dist/components/p-BZFyAX-6.js +1 -0
- package/dist/components/p-BtMdmkID.js +1 -0
- package/dist/components/{p-Caksrfcd.js → p-ByaUOMp0.js} +1 -1
- package/dist/components/p-C1xZO_fq.js +1 -0
- package/dist/components/{p-cBZsPiMJ.js → p-C6Q4zFh6.js} +1 -1
- package/dist/components/{p-DLE5TNTp.js → p-CUQ7WIXh.js} +1 -1
- package/dist/components/p-Cd_8zD_I.js +1 -0
- package/dist/components/{p-DtxB7DYE.js → p-CnAeawmf.js} +1 -1
- package/dist/components/{p-Bt4xX5ww.js → p-DCrjf0F0.js} +1 -1
- package/dist/components/p-DlHJvYE7.js +1 -0
- package/dist/components/{p-BH3bWzRT.js → p-DlaJNPdd.js} +1 -1
- package/dist/components/{p-sqRs6oj4.js → p-DnrQaRnh.js} +1 -1
- package/dist/components/{p-CBLAz3_J.js → p-OPg_Naue.js} +1 -1
- package/dist/components/{p-C03KYHGv.js → p-RS4yyl41.js} +1 -1
- package/dist/components/{p--8aaJX-p.js → p-gv3eu44S.js} +1 -1
- package/dist/components/p-kff6xSdW.js +1 -0
- package/dist/components/p-pys1EQ60.js +1 -0
- package/dist/components/p-qketFgr0.js +1 -0
- package/dist/components/{p-B14Ci2fO.js → p-s2Gu6hY7.js} +1 -1
- package/dist/components/p-zml3K7nx.js +1 -0
- package/dist/documentation.json +5 -5
- package/dist/esm/index.js +64 -22
- package/dist/esm/{locale.it-Dj8sWDfj.js → locale.it-Cvxh7La5.js} +13 -10
- package/dist/esm/mds-avatar.entry.js +27 -32
- package/dist/esm/mds-badge.entry.js +3 -2
- package/dist/esm/mds-benchmark-bar.entry.js +3 -2
- package/dist/esm/mds-bibliography.entry.js +4 -3
- package/dist/esm/mds-button_3.entry.js +36 -10
- package/dist/esm/mds-dropdown.entry.js +4 -3
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +18 -18
- package/dist/esm/mds-file.entry.js +1 -1
- package/dist/esm/mds-header.entry.js +17 -8
- package/dist/esm/mds-img.entry.js +3 -3
- package/dist/esm/mds-input-date-range.entry.js +7 -5
- package/dist/esm/mds-input-select.entry.js +10 -8
- package/dist/esm/mds-input-upload.entry.js +10 -6
- package/dist/esm/mds-input.entry.js +4 -4
- package/dist/esm/mds-keyboard-key.entry.js +8 -5
- package/dist/esm/mds-keyboard.entry.js +6 -3
- package/dist/esm/mds-mention.entry.js +3 -2
- package/dist/esm/mds-notification.entry.js +11 -8
- package/dist/esm/mds-pref-language-item.entry.js +3 -2
- package/dist/esm/mds-pref-theme-item.entry.js +3 -2
- package/dist/esm/mds-push-notification-item.entry.js +1 -1
- package/dist/esm/mds-stepper-bar.entry.js +5 -3
- package/dist/esm/mds-tab-bar-item.entry.js +3 -2
- package/dist/esm/mds-table-header-cell.entry.js +2 -2
- package/dist/esm/mds-text.entry.js +2 -1
- package/dist/esm/mds-toast.entry.js +9 -3
- package/dist/esm/mds-tooltip.entry.js +4 -4
- package/dist/esm-es5/index.js +37 -26
- package/dist/esm-es5/locale.it-Cvxh7La5.js +6 -0
- package/dist/esm-es5/mds-avatar.entry.js +4 -2
- package/dist/esm-es5/mds-badge.entry.js +2 -3
- package/dist/esm-es5/mds-benchmark-bar.entry.js +2 -3
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +14 -9
- package/dist/esm-es5/mds-dropdown.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +13 -11
- package/dist/esm-es5/mds-file.entry.js +6 -6
- package/dist/esm-es5/mds-header.entry.js +8 -6
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +5 -3
- package/dist/esm-es5/mds-input-select.entry.js +8 -6
- package/dist/esm-es5/mds-input-upload.entry.js +3 -1
- package/dist/esm-es5/mds-input.entry.js +3 -3
- package/dist/esm-es5/mds-keyboard-key.entry.js +3 -1
- package/dist/esm-es5/mds-keyboard.entry.js +4 -2
- package/dist/esm-es5/mds-mention.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +4 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
- package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -4
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +4 -2
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/hydrate/index.js +283 -174
- package/dist/hydrate/index.mjs +283 -174
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/p-005172ba.entry.js +1 -0
- package/dist/magma-components/{p-9ca7932d.system.entry.js → p-05fa40aa.system.entry.js} +5 -3
- package/dist/magma-components/p-0827a5bd.entry.js +1 -0
- package/dist/magma-components/{p-1a8c5086.system.entry.js → p-15c77a98.system.entry.js} +2 -2
- package/dist/magma-components/p-18473d2f.entry.js +1 -0
- package/dist/magma-components/{p-f0a168f4.system.entry.js → p-18667ae7.system.entry.js} +3 -3
- package/dist/magma-components/p-19adde9d.entry.js +1 -0
- package/dist/magma-components/p-2217a7be.entry.js +1 -0
- package/dist/magma-components/{p-5a7ead55.system.entry.js → p-2386f0d6.system.entry.js} +2 -2
- package/dist/magma-components/p-2b56fc14.entry.js +1 -0
- package/dist/magma-components/p-3f747a63.system.entry.js +1 -0
- package/dist/magma-components/p-3ff30842.system.entry.js +16 -0
- package/dist/magma-components/{p-be692266.system.entry.js → p-49b120cb.system.entry.js} +2 -2
- package/dist/magma-components/{p-6cd7cfe3.entry.js → p-4af76eb3.entry.js} +1 -1
- package/dist/magma-components/p-4ba6cb3f.entry.js +1 -0
- package/dist/magma-components/p-4cadbd49.entry.js +1 -0
- package/dist/magma-components/{p-7f2e3b74.system.entry.js → p-4f107cb2.system.entry.js} +31 -31
- package/dist/magma-components/p-4oB0woT9.system.js +6 -0
- package/dist/magma-components/p-518b55f3.entry.js +1 -0
- package/dist/magma-components/{p-960dc9b5.system.entry.js → p-5eec629c.system.entry.js} +4 -2
- package/dist/magma-components/{p-a8ec3080.system.entry.js → p-646034cb.system.entry.js} +1 -1
- package/dist/magma-components/{p-ce4e1a41.system.entry.js → p-677ab154.system.entry.js} +3 -1
- package/dist/magma-components/p-759133b3.entry.js +1 -0
- package/dist/magma-components/{p-cd5866c8.entry.js → p-7912f877.entry.js} +1 -1
- package/dist/magma-components/{p-3d8e63a2.system.entry.js → p-7d304fd4.system.entry.js} +3 -1
- package/dist/magma-components/{p-07fde74d.system.entry.js → p-7f6d708c.system.entry.js} +6 -4
- package/dist/magma-components/{p-6edc4f16.system.entry.js → p-88564e9b.system.entry.js} +1 -1
- package/dist/magma-components/{p-8103d4d4.system.entry.js → p-8b1abf81.system.entry.js} +12 -10
- package/dist/magma-components/p-8bbee38d.entry.js +1 -0
- package/dist/magma-components/{p-481008e9.system.entry.js → p-8bf680d6.system.entry.js} +5 -3
- package/dist/magma-components/{p-ce0ecc75.system.entry.js → p-8cb3a071.system.entry.js} +2 -2
- package/dist/magma-components/p-8f229eaf.entry.js +1 -0
- package/dist/magma-components/{p-3f7d3060.system.entry.js → p-94fa3396.system.entry.js} +14 -9
- package/dist/magma-components/{p-0ad3b4da.system.entry.js → p-9bbd4193.system.entry.js} +6 -6
- package/dist/magma-components/p-9caffe14.entry.js +1 -0
- package/dist/magma-components/p-9de1ac7f.entry.js +1 -0
- package/dist/magma-components/p-B6mQg6yQ.js +1 -0
- package/dist/magma-components/p-CnXBPjmc.system.js +1 -1
- package/dist/magma-components/{p-CBam2PI8.system.js → p-DVd2EM-q.system.js} +29 -18
- package/dist/magma-components/{p-f1462410.system.entry.js → p-a15da479.system.entry.js} +3 -4
- package/dist/magma-components/{p-e05d2df8.system.entry.js → p-ab997243.system.entry.js} +2 -2
- package/dist/magma-components/{p-efe8d359.entry.js → p-aea6081f.entry.js} +1 -1
- package/dist/magma-components/{p-1c0a7e24.system.entry.js → p-b0539d61.system.entry.js} +7 -5
- package/dist/magma-components/{p-9d9a947b.entry.js → p-b35c26f8.entry.js} +2 -2
- package/dist/magma-components/p-cc033985.system.entry.js +14 -0
- package/dist/magma-components/{p-a3fc2ea4.system.entry.js → p-cd84a264.system.entry.js} +7 -5
- package/dist/magma-components/p-d0457835.entry.js +1 -0
- package/dist/magma-components/p-d64311e2.entry.js +1 -0
- package/dist/magma-components/{p-54b995c2.system.entry.js → p-da4dc390.system.entry.js} +1 -1
- package/dist/magma-components/p-dda7a33b.entry.js +1 -0
- package/dist/magma-components/p-e375c8b1.entry.js +1 -0
- package/dist/magma-components/p-e3fce8ca.entry.js +1 -0
- package/dist/magma-components/{p-9626eaff.system.entry.js → p-e9a16f22.system.entry.js} +3 -3
- package/dist/magma-components/p-ea0091b6.entry.js +1 -0
- package/dist/magma-components/{p-a3279a73.system.entry.js → p-ec00defc.system.entry.js} +6 -4
- package/dist/magma-components/p-edfb0d7a.entry.js +1 -0
- package/dist/magma-components/{p-0715a2cb.system.entry.js → p-f9d9cf7c.system.entry.js} +2 -3
- package/dist/magma-components/p-fa163e86.entry.js +1 -0
- package/dist/magma-components/p-fe19080a.entry.js +8 -0
- package/dist/magma-components/p-ff49fb35.entry.js +1 -0
- package/dist/stats.json +411 -411
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +2 -0
- package/dist/types/components/mds-header/mds-header.d.ts +1 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +10 -9
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +1 -0
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
- package/package.json +11 -11
- package/dist/components/p-B9DJLgwr.js +0 -1
- package/dist/components/p-BouRLCYL.js +0 -1
- package/dist/components/p-CVgKDZPF.js +0 -1
- package/dist/components/p-CatD1iUY.js +0 -1
- package/dist/components/p-CbufYCNj.js +0 -1
- package/dist/components/p-Cehcn85x.js +0 -1
- package/dist/components/p-D8I1RblC.js +0 -1
- package/dist/components/p-DaI5QqNu.js +0 -1
- package/dist/components/p-Dj_oN194.js +0 -1
- package/dist/components/p-DmELzfvf.js +0 -1
- package/dist/components/p-sUKtonkE.js +0 -8
- package/dist/esm-es5/locale.it-Dj8sWDfj.js +0 -1
- package/dist/magma-components/p-03be5c0c.entry.js +0 -1
- package/dist/magma-components/p-0af8d821.entry.js +0 -1
- package/dist/magma-components/p-1780b8ba.entry.js +0 -1
- package/dist/magma-components/p-1dcfb13e.entry.js +0 -1
- package/dist/magma-components/p-241dbf61.entry.js +0 -1
- package/dist/magma-components/p-4297da23.system.entry.js +0 -1
- package/dist/magma-components/p-454c4774.entry.js +0 -1
- package/dist/magma-components/p-59de81ac.entry.js +0 -1
- package/dist/magma-components/p-5e43274a.system.entry.js +0 -15
- package/dist/magma-components/p-66ce2dee.entry.js +0 -1
- package/dist/magma-components/p-69d1b815.entry.js +0 -1
- package/dist/magma-components/p-75fcf1a4.entry.js +0 -1
- package/dist/magma-components/p-78fef00a.entry.js +0 -1
- package/dist/magma-components/p-7d317ff0.entry.js +0 -8
- package/dist/magma-components/p-7fc29447.entry.js +0 -1
- package/dist/magma-components/p-8b7fa8d7.entry.js +0 -1
- package/dist/magma-components/p-9b2ee3fe.entry.js +0 -1
- package/dist/magma-components/p-CSb7Iu19.js +0 -1
- package/dist/magma-components/p-a5ac5e0b.entry.js +0 -1
- package/dist/magma-components/p-a906a02f.system.entry.js +0 -16
- package/dist/magma-components/p-ac544ab1.entry.js +0 -1
- package/dist/magma-components/p-b23a6c83.entry.js +0 -1
- package/dist/magma-components/p-b9fecfd5.entry.js +0 -1
- package/dist/magma-components/p-c1fb2eb7.entry.js +0 -1
- package/dist/magma-components/p-c70d7159.entry.js +0 -1
- package/dist/magma-components/p-ddbdce09.entry.js +0 -1
- package/dist/magma-components/p-e3e893c4.entry.js +0 -1
- package/dist/magma-components/p-e4868ade.entry.js +0 -1
- package/dist/magma-components/p-ihVfCXG4.system.js +0 -1
package/dist/hydrate/index.mjs
CHANGED
|
@@ -7861,9 +7861,25 @@ class MdsAvatar {
|
|
|
7861
7861
|
this.handleImgLoadSuccess = () => {
|
|
7862
7862
|
this.loaded = true;
|
|
7863
7863
|
};
|
|
7864
|
+
// a removed attribute or a null bound by a framework counts as not set, like '' or 0
|
|
7865
|
+
this.hasCount = () => {
|
|
7866
|
+
var _a;
|
|
7867
|
+
const count = (_a = this.count) !== null && _a !== void 0 ? _a : 0;
|
|
7868
|
+
return count !== 0 && !Number.isNaN(count);
|
|
7869
|
+
};
|
|
7870
|
+
this.checkTexts = () => {
|
|
7871
|
+
var _a;
|
|
7872
|
+
const initials = (_a = this.initials) !== null && _a !== void 0 ? _a : '';
|
|
7873
|
+
if (initials !== '')
|
|
7874
|
+
this.checkText(initials);
|
|
7875
|
+
if (this.hasCount())
|
|
7876
|
+
this.checkText(String(this.count));
|
|
7877
|
+
};
|
|
7864
7878
|
this.checkInitialsVariant = () => {
|
|
7865
|
-
|
|
7866
|
-
|
|
7879
|
+
var _a;
|
|
7880
|
+
const initials = (_a = this.initials) !== null && _a !== void 0 ? _a : '';
|
|
7881
|
+
if (initials !== '') {
|
|
7882
|
+
let cleanedInitials = initials
|
|
7867
7883
|
.toLowerCase()
|
|
7868
7884
|
.replace(/[^a-zA-Z0-9]+/g, '')
|
|
7869
7885
|
.substring(0, 2);
|
|
@@ -7884,21 +7900,13 @@ class MdsAvatar {
|
|
|
7884
7900
|
if (this.src !== undefined) {
|
|
7885
7901
|
this.loaded = false;
|
|
7886
7902
|
}
|
|
7887
|
-
|
|
7888
|
-
this.checkText(this.initials);
|
|
7889
|
-
}
|
|
7890
|
-
if (this.count !== undefined && this.count !== 0 && !Number.isNaN(this.count)) {
|
|
7891
|
-
this.checkText(this.count.toString());
|
|
7892
|
-
}
|
|
7903
|
+
this.checkTexts();
|
|
7893
7904
|
}
|
|
7894
7905
|
componentDidRender() {
|
|
7895
7906
|
if (this.textChanged) {
|
|
7896
7907
|
// placed here becase @Watch('initials') is fired
|
|
7897
7908
|
// BEFORE the element .fit is attached on shDOM
|
|
7898
|
-
|
|
7899
|
-
this.checkText(this.initials);
|
|
7900
|
-
if (this.count !== undefined && this.count !== 0 && !Number.isNaN(this.count))
|
|
7901
|
-
this.checkText(this.count.toString());
|
|
7909
|
+
this.checkTexts();
|
|
7902
7910
|
this.textChanged = false;
|
|
7903
7911
|
}
|
|
7904
7912
|
}
|
|
@@ -7921,26 +7929,13 @@ class MdsAvatar {
|
|
|
7921
7929
|
}
|
|
7922
7930
|
}
|
|
7923
7931
|
render() {
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
'avatar--fallback', this.icon && 'avatar--icon', this.loaded ? 'avatar--loaded' : 'avatar--pending'), part: "wrapper" }, this.initials &&
|
|
7932
|
-
(this.count === undefined || this.count === 0 || Number.isNaN(this.count)) &&
|
|
7933
|
-
!this.fallback &&
|
|
7934
|
-
(this.src === undefined || this.src === '') && (hAsync("div", { key: '08dd0918a258022793f5331a9de7b2460a2e1404', class: "initials-text" }, hAsync("span", { key: '69379497bb9096cea56b366c52ba5372adb5506d', class: "fit" }, this.initials.substring(0, 2)))), this.count && !this.fallback && (this.src === undefined || this.src === '') && (hAsync("div", { key: '07c1e94db40562b8a2467605591236433fd6af39', class: "initials-text" }, hAsync("span", { key: '36c2b72540c03d140f97d64304d46583419d23df', class: "fit" }, "+", this.count))), this.src &&
|
|
7935
|
-
(this.count === undefined || this.count === 0 || Number.isNaN(this.count)) &&
|
|
7936
|
-
!this.fallback &&
|
|
7937
|
-
(this.icon === undefined || this.icon === '') && (hAsync("mds-img", { key: '9d6a6d4a12a5142686aede6e9f9a974f592b674f', class: "image", loading: "lazy", onMdsImgLoadError: this.handleImgLoadError, onMdsImgLoadSuccess: this.handleImgLoadSuccess, part: "media", src: this.src })), this.icon &&
|
|
7938
|
-
(this.initials === undefined || this.initials === '') &&
|
|
7939
|
-
(this.count === undefined || this.count === 0 || Number.isNaN(this.count)) && (hAsync("mds-icon", { key: 'b37eae32b77654190b14d8b046d2f9a51801ae2a', class: "icon", part: "icon", name: this.icon })), (this.fallback ||
|
|
7940
|
-
((this.icon === undefined || this.icon === '') &&
|
|
7941
|
-
(this.initials === undefined || this.initials === '') &&
|
|
7942
|
-
(this.count === undefined || this.count === 0 || Number.isNaN(this.count)) &&
|
|
7943
|
-
(this.src === undefined || this.src === ''))) && (hAsync("i", { key: '18d842d4aea1f73adef926ff74a896a9d8a52bc6', class: "fallback-icon", innerHTML: miBaselinePerson })))));
|
|
7932
|
+
var _a, _b, _c, _d;
|
|
7933
|
+
const hasCount = this.hasCount();
|
|
7934
|
+
const icon = (_a = this.icon) !== null && _a !== void 0 ? _a : '';
|
|
7935
|
+
const hasIcon = icon !== '';
|
|
7936
|
+
const hasInitials = ((_b = this.initials) !== null && _b !== void 0 ? _b : '') !== '';
|
|
7937
|
+
const hasSrc = ((_c = this.src) !== null && _c !== void 0 ? _c : '') !== '';
|
|
7938
|
+
return (hAsync(Host, { key: '87e19218bbfe6e9c79f5edd7b4dd0350572b4f84', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast }, hAsync("div", { key: 'b8775a55b682778312539df8ba0d8107075873e1', class: clsx('avatar', hasInitials && !this.fallback && !hasSrc && 'avatar--initials', (this.fallback || (!hasIcon && !hasInitials && !hasSrc)) && 'avatar--fallback', hasIcon && 'avatar--icon', this.loaded ? 'avatar--loaded' : 'avatar--pending'), part: "wrapper" }, hasInitials && !hasCount && !this.fallback && !hasSrc && (hAsync("div", { key: 'acea5faae52d0cfaaa8f03788a22c89c8f0095ad', class: "initials-text" }, hAsync("span", { key: 'aedd03f85b197fc6ed24b4a0238804856145aa4c', class: "fit" }, (_d = this.initials) === null || _d === void 0 ? void 0 : _d.substring(0, 2)))), hasCount && !this.fallback && !hasSrc && (hAsync("div", { key: 'dd8af02204937c6558ab63b26d5993aa34e4df37', class: "initials-text" }, hAsync("span", { key: 'fdf6930557054172bea785b8c6be0decb743887a', class: "fit" }, "+", this.count))), hasSrc && !hasCount && !this.fallback && !hasIcon && (hAsync("mds-img", { key: '4519cc0bd3e701abf9d7bdaf0189f2ca3bcd86ed', class: "image", loading: "lazy", onMdsImgLoadError: this.handleImgLoadError, onMdsImgLoadSuccess: this.handleImgLoadSuccess, part: "media", src: this.src })), hasIcon && !hasInitials && !hasCount && (hAsync("mds-icon", { key: '5958962b68d5797dd46f1322b0e12717bf70c93e', class: "icon", part: "icon", name: icon })), (this.fallback || (!hasIcon && !hasInitials && !hasCount && !hasSrc)) && (hAsync("i", { key: 'e6509636da3e20d93144dde5f3ecce6f1cfc5506', class: "fallback-icon", innerHTML: miBaselinePerson })))));
|
|
7944
7939
|
}
|
|
7945
7940
|
get element() { return getElement(this); }
|
|
7946
7941
|
static get watchers() { return {
|
|
@@ -8058,8 +8053,9 @@ class MdsBadge {
|
|
|
8058
8053
|
*/
|
|
8059
8054
|
this.typography = 'option';
|
|
8060
8055
|
this.onSlotChangeHandler = () => {
|
|
8056
|
+
var _a;
|
|
8061
8057
|
/* this should be removed in the future once slotted text is no longer used, use the label property instead */
|
|
8062
|
-
if (this.label !==
|
|
8058
|
+
if (((_a = this.label) !== null && _a !== void 0 ? _a : '') !== '')
|
|
8063
8059
|
return;
|
|
8064
8060
|
this.label = readSlottedLabel(this.host);
|
|
8065
8061
|
};
|
|
@@ -8068,7 +8064,7 @@ class MdsBadge {
|
|
|
8068
8064
|
this.label = sanitizeLabel(newValue);
|
|
8069
8065
|
}
|
|
8070
8066
|
render() {
|
|
8071
|
-
return (hAsync(Host, { key: '
|
|
8067
|
+
return (hAsync(Host, { key: '30205c3754c77ad904a3a01a695ec9daf058bd81', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-text", { key: '3a850df57ca87e8efbf505094f3d1e4e309deb42', tag: "span", typography: this.typography, variant: "info", text: this.label }, this.label || hAsync("slot", { key: '99531173211bd788d288b9d20d36d5eb7b2dc95e', onSlotchange: this.onSlotChangeHandler }))));
|
|
8072
8068
|
}
|
|
8073
8069
|
get host() { return getElement(this); }
|
|
8074
8070
|
static get watchers() { return {
|
|
@@ -9119,8 +9115,9 @@ class MdsBenchmarkBar {
|
|
|
9119
9115
|
*/
|
|
9120
9116
|
this.size = 'md';
|
|
9121
9117
|
this.onSlotChangeHandler = () => {
|
|
9118
|
+
var _a;
|
|
9122
9119
|
/* this should be removed in the future once slotted text is no longer used, use the label property instead */
|
|
9123
|
-
if (this.label !==
|
|
9120
|
+
if (((_a = this.label) !== null && _a !== void 0 ? _a : '') !== '')
|
|
9124
9121
|
return;
|
|
9125
9122
|
this.label = readSlottedLabel(this.host);
|
|
9126
9123
|
};
|
|
@@ -9130,7 +9127,7 @@ class MdsBenchmarkBar {
|
|
|
9130
9127
|
}
|
|
9131
9128
|
render() {
|
|
9132
9129
|
var _a;
|
|
9133
|
-
return (hAsync(Host, { key: '
|
|
9130
|
+
return (hAsync(Host, { key: 'e07ff600bed598dc0d97144ef596c2a2010efbbd' }, hAsync("div", { key: 'd3493800ec6d4f20e36d38132f10a3b67f565006', class: "infos" }, hAsync("mds-text", { key: '07423f38822e314059dcee2cda38abffbea3bb62', typography: this.typography, class: "label", id: "label", truncate: "word" }, this.label || hAsync("slot", { key: 'e4aff25b3be0d2f87aefb2a88dd6050715c74d56', onSlotchange: this.onSlotChangeHandler })), hAsync("mds-text", { key: '8b1ec4a01389199b881f46a69ccee96c8867446e', typography: this.typography, class: "value", truncate: "word" }, (_a = this.alias) !== null && _a !== void 0 ? _a : this.value)), hAsync("mds-progress", { key: 'bc44dc2a31dd43599393df1129671da224f45f43', "aria-labelledby": "label", "aria-valuetext": this.alias, class: "progress", variant: this.variant, progress: this.value / 100, size: this.size, part: "progress-bar" })));
|
|
9134
9131
|
}
|
|
9135
9132
|
get host() { return getElement(this); }
|
|
9136
9133
|
static get watchers() { return {
|
|
@@ -9241,7 +9238,7 @@ class MdsBibliography {
|
|
|
9241
9238
|
return `${lastName}${lastName !== '' ? ',' : ''} ${formattedFirstName}`;
|
|
9242
9239
|
};
|
|
9243
9240
|
this.formatAuthors = (author) => {
|
|
9244
|
-
var _a;
|
|
9241
|
+
var _a, _b;
|
|
9245
9242
|
const authorName = author.replace(/"/g, "'");
|
|
9246
9243
|
const splitNames = new RegExp(/([A-Za-z ]{2,})/g);
|
|
9247
9244
|
const fullName = (_a = authorName.match(splitNames)) !== null && _a !== void 0 ? _a : authorName;
|
|
@@ -9257,7 +9254,7 @@ class MdsBibliography {
|
|
|
9257
9254
|
};
|
|
9258
9255
|
}
|
|
9259
9256
|
const firstName = fullName[0].split(' ')[0].trim();
|
|
9260
|
-
const lastName = fullName[0].split(' ')[1] !==
|
|
9257
|
+
const lastName = ((_b = fullName[0].split(' ')[1]) !== null && _b !== void 0 ? _b : '').trim();
|
|
9261
9258
|
return {
|
|
9262
9259
|
apa: this.fullNameAPA(firstName, lastName),
|
|
9263
9260
|
firstName,
|
|
@@ -9290,7 +9287,8 @@ class MdsBibliography {
|
|
|
9290
9287
|
};
|
|
9291
9288
|
}
|
|
9292
9289
|
render() {
|
|
9293
|
-
|
|
9290
|
+
var _a, _b, _c;
|
|
9291
|
+
return (hAsync(Host, { key: '4fe352d77a5ceea45f9b82d11fbb4ffe2d887aef' }, hAsync("mds-text", { key: '30052872c829ff3b2c142cd54cb64eebcd558f76', typography: this.typography, variant: this.variant }, this.author && hAsync("span", { key: '14d5043a19e193f34a4502029d7dc21fe2ae8083' }, this.showAuthors(this.normalizeAuthors(this.author))), this.format === 'mla' && (hAsync("span", { key: '7b903d623a57baf664c7cd425e78d7a17fca8331' }, this.name && ' ', ((_a = this.name) !== null && _a !== void 0 ? _a : '') !== '' && this.url !== null ? (hAsync("a", { class: "link", href: this.url, target: "_blank", rel: this.rel }, hAsync("b", null, hAsync("i", null, this.name, ".")))) : (hAsync("b", null, hAsync("i", null, this.name, "."))), this.location && (hAsync("span", { key: '9c52f22dd20cafb9eb7df4835c2f5a99ca71a1a6' }, ' ', this.location, this.publisher !== undefined ? ':' : '.')), this.publisher && (hAsync("span", { key: '3ff1124122ef8d52079fa7337ed51f116fa1f266' }, ' ', this.publisher, this.date !== undefined ? ',' : '.')), this.date && hAsync("time", { key: 'ac4e6e1506bbca2633c95593d44df61622b6e040', dateTime: this.date }, " ", this.dateFormatMLA(this.date), "."))), this.format === 'apa' && (hAsync("span", { key: '71558449f856a09fda8b02f2808c93b1dd72c532' }, this.date && hAsync("time", { key: 'f952a6c0f8be0cbf83a8d04ff13e08b3221cbdc4', dateTime: this.date }, " (", this.dateFormatAPA(this.date), ")."), this.name && ' ', ((_b = this.name) !== null && _b !== void 0 ? _b : '') !== '' && this.url !== null ? (hAsync("a", { class: "link", href: this.url, target: "_blank", rel: this.rel }, hAsync("b", null, hAsync("i", null, " ", this.name, ".")))) : (hAsync("b", null, hAsync("i", null, " ", this.name, "."))), this.location && (hAsync("span", { key: 'ecead881a08e1f08ebe0c08f5016414238b0c0aa' }, ' ', this.location, this.publisher !== undefined ? ':' : '.')), this.publisher && hAsync("span", { key: '7f5caaaecb02bdda257974de0439d0c15e4ebd71' }, " ", this.publisher, "."))), this.format === 'turabian' && (hAsync("span", { key: 'e2869b0cbf35ddb64020edfb9aeab7a5bd94e56d' }, this.name && ' ', ((_c = this.name) !== null && _c !== void 0 ? _c : '') !== '' && this.url !== null ? (hAsync("a", { class: "link", href: this.url, target: "_blank", rel: this.rel }, hAsync("b", null, hAsync("i", null, " ", this.name, ".")))) : (hAsync("b", null, hAsync("i", null, " ", this.name, "."))), this.location && (hAsync("span", { key: '1de156ae83032c28eef77b059c52beed6f7bb8a8' }, ' ', this.location, this.publisher !== undefined ? ':' : ',')), this.publisher && (hAsync("span", { key: 'c82b2387e90227b129d5078561c60492901fb9e3' }, ' ', this.publisher, this.date !== undefined ? ',' : '.')), this.date && hAsync("time", { key: 'fe9da6c7294ee249a0d892cf882a387ba0196159', dateTime: this.date }, " ", this.dateFormatMLA(this.date), "."))))));
|
|
9294
9292
|
}
|
|
9295
9293
|
static get style() { return mdsBibliographyCss(); }
|
|
9296
9294
|
static get cmpMeta() { return {
|
|
@@ -9622,8 +9620,9 @@ class MdsButton {
|
|
|
9622
9620
|
throw Error('Object window is not defined');
|
|
9623
9621
|
};
|
|
9624
9622
|
this.onSlotChangeHandler = () => {
|
|
9623
|
+
var _a;
|
|
9625
9624
|
/* this should be removed in the future once slotted text is no longer used, use the label property instead */
|
|
9626
|
-
if (this.label !==
|
|
9625
|
+
if (((_a = this.label) !== null && _a !== void 0 ? _a : '') !== '')
|
|
9627
9626
|
return;
|
|
9628
9627
|
this.label = readSlottedLabel(this.host);
|
|
9629
9628
|
};
|
|
@@ -9680,8 +9679,9 @@ class MdsButton {
|
|
|
9680
9679
|
}
|
|
9681
9680
|
}
|
|
9682
9681
|
componentWillLoad() {
|
|
9682
|
+
var _a;
|
|
9683
9683
|
this.handleVariantChange(this.variant);
|
|
9684
|
-
if (this.href !==
|
|
9684
|
+
if (((_a = this.href) !== null && _a !== void 0 ? _a : '') !== '') {
|
|
9685
9685
|
this.host.addEventListener('click', (e) => {
|
|
9686
9686
|
var _a;
|
|
9687
9687
|
e.preventDefault();
|
|
@@ -9704,6 +9704,7 @@ class MdsButton {
|
|
|
9704
9704
|
}
|
|
9705
9705
|
}
|
|
9706
9706
|
componentDidLoad() {
|
|
9707
|
+
var _a;
|
|
9707
9708
|
this.km.addElement(this.host);
|
|
9708
9709
|
if (!this.await) {
|
|
9709
9710
|
this.km.attachClickBehavior();
|
|
@@ -9721,9 +9722,7 @@ class MdsButton {
|
|
|
9721
9722
|
if (this.label === '') {
|
|
9722
9723
|
this.label = undefined;
|
|
9723
9724
|
}
|
|
9724
|
-
if ((this.label ===
|
|
9725
|
-
this.icon !== undefined &&
|
|
9726
|
-
this.icon !== '') {
|
|
9725
|
+
if (((_a = this.label) !== null && _a !== void 0 ? _a : '') === '' && this.icon != null && this.icon !== '') {
|
|
9727
9726
|
const iconTitle = unslugName(this.icon);
|
|
9728
9727
|
if (!this.host.hasAttribute('aria-label')) {
|
|
9729
9728
|
setAttributeIfEmpty(this.host, 'title', iconTitle);
|
|
@@ -9752,7 +9751,7 @@ class MdsButton {
|
|
|
9752
9751
|
render() {
|
|
9753
9752
|
var _a;
|
|
9754
9753
|
this.typography = ((_a = buttonSizeTypographyVariant[this.size]) !== null && _a !== void 0 ? _a : buttonSizeTypographyVariant.md);
|
|
9755
|
-
return (hAsync(Host, { key: '
|
|
9754
|
+
return (hAsync(Host, { key: '3d7db80d99477ad9e4ff34c97d0cb0e04160a041', onMouseDown: this.mouseDown, onMouseUp: this.mouseUp, onMouseOut: this.mouseUp, tabindex: "0", "pref-animation": preferenceStore.state.animation, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '133053ee2566972bbbaf1f47faa87c1f9c30b841', class: "await" }, hAsync("mds-spinner", { key: 'ce67aa6522a2c646b1efebf51dcc51d3a987b5c9', class: "spinner", running: this.await })), this.icon && this.iconPosition === 'left' && (hAsync("mds-icon", { key: '81d183d185387f2e6113869e14cb274a57f44f3b', "aria-hidden": "true", class: "icon", name: this.icon, part: "icon" })), hAsync("mds-text", { key: '5ac26dd99519f30bcfe71fcbe0fdd4195055bea2', class: "text", part: "label", tag: "span", typography: this.typography, truncate: this.truncate, animation: this.animation, text: this.label }, this.label || hAsync("slot", { key: 'a56c6946ed59d9b9fe481955027015d7f46bcab1', onSlotchange: this.onSlotChangeHandler })), hAsync("slot", { key: '1f0a279dd9e57ba7510c879e72d1f815adb76b6b', name: "notification" }), this.icon && this.iconPosition === 'right' && (hAsync("mds-icon", { key: 'eb2f6eff668e5195d5725360ba30cb99a6e7a054', "aria-hidden": "true", class: "icon", name: this.icon, part: "icon" }))));
|
|
9756
9755
|
}
|
|
9757
9756
|
static get formAssociated() { return true; }
|
|
9758
9757
|
get host() { return getElement(this); }
|
|
@@ -21449,7 +21448,8 @@ class MdsDropdown {
|
|
|
21449
21448
|
this.floatingController.updatePosition();
|
|
21450
21449
|
}
|
|
21451
21450
|
targetChanged() {
|
|
21452
|
-
|
|
21451
|
+
var _a;
|
|
21452
|
+
if (((_a = this.target) !== null && _a !== void 0 ? _a : '') === '' || this.floatingController == null)
|
|
21453
21453
|
return;
|
|
21454
21454
|
const caller = this.floatingController.updateCaller(this.target);
|
|
21455
21455
|
if (!caller)
|
|
@@ -21518,9 +21518,9 @@ class MdsDropdown {
|
|
|
21518
21518
|
this.km.detachEscapeBehavior();
|
|
21519
21519
|
}
|
|
21520
21520
|
render() {
|
|
21521
|
-
return (hAsync(Host, { key: '
|
|
21521
|
+
return (hAsync(Host, { key: '42bb1259088a7cc15869cd0cbf007ce9f34331cb', style: {
|
|
21522
21522
|
zIndex: `${this.zIndex}`,
|
|
21523
|
-
}, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '
|
|
21523
|
+
}, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '6a2caa47a6dca50fe6ae209229daddcd7791473d', class: "arrow", innerHTML: arrowSvg$1 }), hAsync("slot", { key: '656a32363daa94dc4433cd5fb86d689d80502221' })));
|
|
21524
21524
|
}
|
|
21525
21525
|
get host() { return getElement(this); }
|
|
21526
21526
|
static get watchers() { return {
|
|
@@ -28684,7 +28684,7 @@ class MdsEmoji {
|
|
|
28684
28684
|
}; }
|
|
28685
28685
|
}
|
|
28686
28686
|
|
|
28687
|
-
const mdsEntityCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-spinner):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-entity-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-entity-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-entity-detail-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-entity-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-entity-icon-radius:var(--radius-md,12px);--mds-entity-icon-color:rgb(var(--label-blue-04,63 94 248));align-items:stretch;background-color:var(--mds-entity-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:var(--mds-entity-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:flex;gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*200)}.delete,.preview,.spinner{border-radius:var(--radius-md,12px);flex-shrink:0;width:calc(var(--spacing,.0025rem)*1100)}.preview{--mds-avatar-radius:var(--mds-entity-icon-radius,var(--radius-md,12px))}.preview:not([variant]){--mds-avatar-color:var(--mds-entity-icon-color,rgb(var(--label-blue-04,63 94 248)));--mds-avatar-background-color:var(--mds-entity-icon-background,rgb(var(--label-blue-09,216 222 254)))}.preview,.spinner{align-items:center;aspect-ratio:var(--aspect-square,1/1);display:inline-flex;justify-content:center}.spinner{background-color:#0000;display:none;fill:var(--mds-entity-icon-color,rgb(var(--label-blue-04,63 94 248)))}:host([await]:not([await=false])) .spinner{display:inline-flex}mds-spinner{height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.infos{display:flex;flex-direction:column;flex-grow:1;gap:
|
|
28687
|
+
const mdsEntityCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-spinner):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-entity-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-entity-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-entity-detail-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-entity-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-entity-icon-radius:var(--radius-md,12px);--mds-entity-icon-color:rgb(var(--label-blue-04,63 94 248));align-items:stretch;background-color:var(--mds-entity-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:var(--mds-entity-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:flex;gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*200)}.delete,.preview,.spinner{border-radius:var(--radius-md,12px);flex-shrink:0;width:calc(var(--spacing,.0025rem)*1100)}.preview{--mds-avatar-radius:var(--mds-entity-icon-radius,var(--radius-md,12px))}.preview:not([variant]){--mds-avatar-color:var(--mds-entity-icon-color,rgb(var(--label-blue-04,63 94 248)));--mds-avatar-background-color:var(--mds-entity-icon-background,rgb(var(--label-blue-09,216 222 254)))}.preview,.spinner{align-items:center;aspect-ratio:var(--aspect-square,1/1);display:inline-flex;justify-content:center}.spinner{background-color:#0000;display:none;fill:var(--mds-entity-icon-color,rgb(var(--label-blue-04,63 94 248)))}:host([await]:not([await=false])) .spinner{display:inline-flex}mds-spinner{height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.infos{display:flex;flex-direction:column;flex-grow:1;gap:0;justify-content:center;min-width:0;white-space:nowrap}.details{align-items:baseline;color:var(--mds-entity-detail-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));display:flex;gap:calc(var(--spacing,.0025rem)*100)}.details--hidden{display:none}.actions{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}::slotted([slot=action]){aspect-ratio:var(--aspect-square,1/1);height:auto;width:calc(var(--spacing,.0025rem)*1100)}::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title{display:flex;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([pref-contrast=more]){--mds-entity-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-entity-icon-background:rgb(var(--label-blue-08,200 210 253));--mds-entity-icon-color:rgb(var(--label-blue-03,11 51 246))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-entity-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-entity-icon-background:rgb(var(--label-blue-08,200 210 253));--mds-entity-icon-color:rgb(var(--label-blue-03,11 51 246))}}`;
|
|
28688
28688
|
|
|
28689
28689
|
/**
|
|
28690
28690
|
* @slot - Add `text string`, `HTML elements` or `components` to this slot.
|
|
@@ -36433,21 +36433,24 @@ const sanitizeFilename = (filename, error = 'Attribute "filename" is undefined.'
|
|
|
36433
36433
|
}
|
|
36434
36434
|
return filename;
|
|
36435
36435
|
};
|
|
36436
|
+
/**
|
|
36437
|
+
* Index of the dot that separates the name from the extension: the last one, so that the dots
|
|
36438
|
+
* inside the name are kept (`report.v2.final.docx`). A leading dot is part of the name
|
|
36439
|
+
* (`.env` has no extension). Returns -1 when the filename has no extension.
|
|
36440
|
+
*/
|
|
36441
|
+
const getExtensionSeparator = (filename) => {
|
|
36442
|
+
const dot = filename.lastIndexOf('.');
|
|
36443
|
+
return dot > 0 ? dot : -1;
|
|
36444
|
+
};
|
|
36436
36445
|
const sanitizeSuffix = (rawFilename) => {
|
|
36437
|
-
var _a;
|
|
36438
36446
|
const filename = sanitizeFilename(rawFilename);
|
|
36439
|
-
|
|
36440
|
-
|
|
36441
|
-
}
|
|
36442
|
-
return filename;
|
|
36447
|
+
const dot = getExtensionSeparator(filename);
|
|
36448
|
+
return dot === -1 ? filename : filename.slice(dot + 1);
|
|
36443
36449
|
};
|
|
36444
36450
|
const getName = (rawFilename) => {
|
|
36445
|
-
var _a;
|
|
36446
36451
|
const filename = sanitizeFilename(rawFilename);
|
|
36447
|
-
|
|
36448
|
-
|
|
36449
|
-
}
|
|
36450
|
-
return filename;
|
|
36452
|
+
const dot = getExtensionSeparator(filename);
|
|
36453
|
+
return dot === -1 ? filename : filename.slice(0, dot);
|
|
36451
36454
|
};
|
|
36452
36455
|
const getSuffix = (rawFilename, suffixOverride) => {
|
|
36453
36456
|
const suffix = sanitizeSuffix(rawFilename);
|
|
@@ -36917,13 +36920,13 @@ class MdsFile {
|
|
|
36917
36920
|
}; }
|
|
36918
36921
|
}
|
|
36919
36922
|
|
|
36920
|
-
/**
|
|
36921
|
-
* filesize
|
|
36922
|
-
*
|
|
36923
|
-
* @copyright
|
|
36924
|
-
* @license BSD-3-Clause
|
|
36925
|
-
* @version 10.1.
|
|
36926
|
-
*/
|
|
36923
|
+
/**
|
|
36924
|
+
* filesize
|
|
36925
|
+
*
|
|
36926
|
+
* @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
|
|
36927
|
+
* @license BSD-3-Clause
|
|
36928
|
+
* @version 10.1.6
|
|
36929
|
+
*/
|
|
36927
36930
|
const ARRAY = "array";
|
|
36928
36931
|
const BIT = "bit";
|
|
36929
36932
|
const BITS = "bits";
|
|
@@ -37086,9 +37089,10 @@ const STRINGS = {
|
|
|
37086
37089
|
result[0] = result[0].toString().replace(PERIOD, separator);
|
|
37087
37090
|
}
|
|
37088
37091
|
|
|
37089
|
-
if (pad &&
|
|
37090
|
-
const
|
|
37091
|
-
|
|
37092
|
+
if (pad && round > 0) {
|
|
37093
|
+
const i = result[0].toString(),
|
|
37094
|
+
x = separator || ((i.match(/(\D)/g) || []).pop() || PERIOD),
|
|
37095
|
+
tmp = i.toString().split(x),
|
|
37092
37096
|
s = tmp[1] || EMPTY,
|
|
37093
37097
|
l = s.length,
|
|
37094
37098
|
n = round - l;
|
|
@@ -37183,13 +37187,12 @@ class MdsFilePreview {
|
|
|
37183
37187
|
card === null || card === void 0 ? void 0 : card.removeEventListener('click', this.onClickDownloadEvent);
|
|
37184
37188
|
}
|
|
37185
37189
|
render() {
|
|
37186
|
-
var _a, _b, _c;
|
|
37187
|
-
|
|
37188
|
-
|
|
37189
|
-
|
|
37190
|
-
|
|
37191
|
-
|
|
37192
|
-
: 'preview--status') }, this.icon !== undefined && this.icon !== '' ? (hAsync("mds-icon", { class: "icon", name: this.icon })) : (hAsync("mds-icon", { class: "icon", name: getFormatsVariant(this.filename, this.suffix).icon })), this.message && (hAsync("mds-text", { class: "message", typography: "caption", variant: "info" }, this.message)))), hAsync("mds-text", { key: '32d3359b9c41a845001e17987ce703219ba29843', class: "file-name", typography: "h6", variant: "title", truncate: this.truncate, title: this.filename }, this.filename), hAsync("div", { key: '79e555cedfc5d35b2d54ec6a3aee7591cc0edf2e', class: clsx('infos', this.filesize && 'infos--has-file-size') }, this.filesize && this.filesize === Number(this.filesize).toString() && (hAsync("mds-text", { key: '84e7d78e1d0639e637173a1c781a61f21e459b6d', class: "file-size", truncate: "word", typography: "caption", variant: "info" }, filesize(Number(this.filesize), { standard: 'jedec' }))), this.filesize && this.filesize !== Number(this.filesize).toString() && (hAsync("mds-text", { key: '8945ff2c6224b7a4803390eae2fc12474903a3dd', class: "file-size", truncate: "word", typography: "caption", variant: "info" }, this.filesize)), getSuffix(this.filename, this.suffix) && (hAsync("mds-badge", { key: '5581cb1f4d13f6f15f28c0957094dcd5982f0a0f', variant: getFormatsVariant(this.filename, this.suffix).variant, tone: "weak", class: "suffix", title: (_a = this.description) !== null && _a !== void 0 ? _a : this.t.get(this.getDefaultKeyDescription()) }, getSuffix(this.filename, this.suffix))), (this.filesize === undefined || this.filesize === '') && (hAsync("mds-text", { key: 'd743b838cc6fa9fed0f5cdf7914c7652bfc3e1ac', class: "description", truncate: "word", typography: "caption", variant: "info", title: (_b = this.description) !== null && _b !== void 0 ? _b : this.t.get(this.getDefaultKeyDescription()) }, (_c = this.description) !== null && _c !== void 0 ? _c : this.t.get(this.getDefaultKeyDescription())))))));
|
|
37190
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
37191
|
+
// a removed attribute or a null bound by a framework counts as not set, like an empty value
|
|
37192
|
+
const hasMessage = ((_a = this.message) !== null && _a !== void 0 ? _a : '') !== '';
|
|
37193
|
+
return (hAsync(Host, { key: '4450e7351e840c4b0f7d72c9b1bc441d9087ad7e', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.deletable && (hAsync("mds-button", { key: '8f1d4ced62f8c479a5e1c324b5ce940cf7aa2d84', title: this.t.get('remove'), class: "action-delete", icon: miBaselineCancel, variant: "light", onClick: this.onClickDeletedEvent })), hAsync("div", { key: '45d38745f7466b0da5b8f2724879ef46d6826bfd', class: "card", part: "card", onClick: this.onClickDownloadEvent }, ((_b = this.src) !== null && _b !== void 0 ? _b : '') !== '' &&
|
|
37194
|
+
!hasMessage &&
|
|
37195
|
+
getExtensionInfos(this.filename, this.suffix).preview ? (hAsync("mds-img", { src: this.src, class: "preview preview--image", "aspect-ratio": "1/1" })) : (hAsync("div", { class: clsx('preview', hasMessage ? 'preview--status' : 'preview--icon') }, ((_c = this.icon) !== null && _c !== void 0 ? _c : '') !== '' ? (hAsync("mds-icon", { class: "icon", name: this.icon })) : (hAsync("mds-icon", { class: "icon", name: getFormatsVariant(this.filename, this.suffix).icon })), this.message && (hAsync("mds-text", { class: "message", typography: "caption", variant: "info" }, this.message)))), hAsync("mds-text", { key: 'e87d673948267ccf70636d4c2940fb8885f2fb96', class: "file-name", typography: "h6", variant: "title", truncate: this.truncate, title: this.filename }, this.filename), hAsync("div", { key: '25e05eb7f5bef19a392b87401f2e780bd8e605cd', class: clsx('infos', this.filesize && 'infos--has-file-size') }, this.filesize && this.filesize === Number(this.filesize).toString() && (hAsync("mds-text", { key: 'cdd7ebbbc99f90caee0c49d74a4b8f4ce0769a2a', class: "file-size", truncate: "word", typography: "caption", variant: "info" }, filesize(Number(this.filesize), { standard: 'jedec' }))), this.filesize && this.filesize !== Number(this.filesize).toString() && (hAsync("mds-text", { key: '381998bfae5b4d76fed78c70f38ef2aab5d13f9e', class: "file-size", truncate: "word", typography: "caption", variant: "info" }, this.filesize)), getSuffix(this.filename, this.suffix) && (hAsync("mds-badge", { key: '89f980cf0ec10d220c83f5a6e8ded4a4d9491a0c', variant: getFormatsVariant(this.filename, this.suffix).variant, tone: "weak", class: "suffix", title: (_d = this.description) !== null && _d !== void 0 ? _d : this.t.get(this.getDefaultKeyDescription()) }, getSuffix(this.filename, this.suffix))), ((_e = this.filesize) !== null && _e !== void 0 ? _e : '') === '' && (hAsync("mds-text", { key: 'f29356eb97dbb5bc137d3d278176633ce938111f', class: "description", truncate: "word", typography: "caption", variant: "info", title: (_f = this.description) !== null && _f !== void 0 ? _f : this.t.get(this.getDefaultKeyDescription()) }, (_g = this.description) !== null && _g !== void 0 ? _g : this.t.get(this.getDefaultKeyDescription())))))));
|
|
37193
37196
|
}
|
|
37194
37197
|
get host() { return getElement(this); }
|
|
37195
37198
|
static get watchers() { return {
|
|
@@ -37444,12 +37447,19 @@ class MdsHeader {
|
|
|
37444
37447
|
this.closedEvent.emit({ bar: this.headerBar });
|
|
37445
37448
|
this.headerBar.setOpened(false);
|
|
37446
37449
|
};
|
|
37450
|
+
// a removed attribute leaves null, which turns the auto hide off like 0
|
|
37451
|
+
this.getAutoHide = () => {
|
|
37452
|
+
var _a;
|
|
37453
|
+
const autoHide = (_a = this.autoHide) !== null && _a !== void 0 ? _a : 0;
|
|
37454
|
+
return Number.isNaN(autoHide) ? 0 : autoHide;
|
|
37455
|
+
};
|
|
37447
37456
|
this.handleVisibility = () => {
|
|
37448
|
-
|
|
37457
|
+
const autoHide = this.getAutoHide();
|
|
37458
|
+
if (autoHide === 0) {
|
|
37449
37459
|
return;
|
|
37450
37460
|
}
|
|
37451
37461
|
// reset var if the page is scrolled to top
|
|
37452
|
-
if (window.scrollY <
|
|
37462
|
+
if (window.scrollY < autoHide) {
|
|
37453
37463
|
this.visibility = 'visible';
|
|
37454
37464
|
this.relativeThresholdUp = 0;
|
|
37455
37465
|
this.relativeTresholdDown = 0;
|
|
@@ -37466,9 +37476,9 @@ class MdsHeader {
|
|
|
37466
37476
|
this.relativePosition = this.relativeThresholdUp;
|
|
37467
37477
|
}
|
|
37468
37478
|
// set hidden for the first scroll from top
|
|
37469
|
-
if (this.relativePosition <
|
|
37479
|
+
if (this.relativePosition < autoHide && autoHide - window.scrollY <= 0) {
|
|
37470
37480
|
this.visibility = 'hidden';
|
|
37471
|
-
this.relativePosition =
|
|
37481
|
+
this.relativePosition = autoHide;
|
|
37472
37482
|
}
|
|
37473
37483
|
// update respective threshold if page is scrolled up or down
|
|
37474
37484
|
if (window.scrollY > this.relativeThresholdUp) {
|
|
@@ -37479,11 +37489,13 @@ class MdsHeader {
|
|
|
37479
37489
|
}
|
|
37480
37490
|
};
|
|
37481
37491
|
this.sanitizeAppearance = () => {
|
|
37482
|
-
|
|
37492
|
+
var _a;
|
|
37493
|
+
const appearanceSet = (_a = this.appearanceSet) !== null && _a !== void 0 ? _a : '';
|
|
37494
|
+
if (appearanceSet === '') {
|
|
37483
37495
|
return [this.appearance];
|
|
37484
37496
|
}
|
|
37485
37497
|
const regex = /\b(\w+)\b/g;
|
|
37486
|
-
const matches =
|
|
37498
|
+
const matches = appearanceSet.match(regex);
|
|
37487
37499
|
if (matches) {
|
|
37488
37500
|
return matches;
|
|
37489
37501
|
}
|
|
@@ -37500,7 +37512,7 @@ class MdsHeader {
|
|
|
37500
37512
|
this.handleScroll = () => {
|
|
37501
37513
|
if (typeof window === 'undefined')
|
|
37502
37514
|
return;
|
|
37503
|
-
if (this.
|
|
37515
|
+
if (this.getAutoHide() !== 0) {
|
|
37504
37516
|
this.handleVisibility();
|
|
37505
37517
|
}
|
|
37506
37518
|
if (this.sanitizedAppearance.length > 1) {
|
|
@@ -37579,7 +37591,7 @@ class MdsHeader {
|
|
|
37579
37591
|
}
|
|
37580
37592
|
}
|
|
37581
37593
|
render() {
|
|
37582
|
-
return (hAsync(Host, { key: '
|
|
37594
|
+
return (hAsync(Host, { key: 'f672f81878e181d21c234188d2ad02ded1bdb039', "pref-consumption": preferenceStore.state.consumption, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, !this.hideBackdrop && (hAsync("div", { key: '6bf87ed021bcdb62c728fbee3818a8ad11895b06', class: "backdrop" }, hAsync("div", { key: '6a3ad84c2e41313c14531b514b2752f972986ec4', class: "backdrop-blur-item" }), hAsync("div", { key: 'b8031f912733bcc01f47ae28e756ae9f9f184bf1', class: "backdrop-blur-item" }), hAsync("div", { key: 'b9fddc9c2c459bc1b16ef7cc4fe0dd62c6ae0357', class: "backdrop-blur-item" }), hAsync("div", { key: 'fb97781789e0773d35b31744a3f28bd23816e9eb', class: "backdrop-blur-item" }), hAsync("div", { key: '1d464ccd4d846ac79d1b0ea303ab66f41af84116', class: "backdrop-blur-item" }), hAsync("div", { key: '7ab61f7f2f21da6ad94408442237b8e2a16d32c1', class: "backdrop-blur-item" }), hAsync("div", { key: '90fb7f3244c8047c6a576288dad756451de07cdf', class: "backdrop-blur-item" }), hAsync("div", { key: '955ff4ac62f6a5e50726fcf5d097202622e760d2', class: "backdrop-blur-item" }), hAsync("div", { key: '49e995993b74ce17e06c3a05004e7411442dd694', class: "backdrop-blur-item" }), hAsync("div", { key: 'd0c693752ed5b8eee3f0c6925e158168b4e06822', class: "backdrop-blur-item" }))), hAsync("slot", { key: '564de9025f4cdc11edb1dadf27c0c3e03be5d06d' }), this.hasMenu && (hAsync("div", { key: 'c6cd25b6e417675a67662bbe4e2a8f0c89e1fd74', class: "menu", part: "menu" }, hAsync("mds-modal", { key: 'cb330659a98adcf88e8af18097450edb71cb1423', class: "modal", opened: this.isOpened, onMdsModalClose: this.close, position: "right" }, hAsync("slot", { key: 'd4f1dbcaee3303ad4c2130d7f7d64be3486bdc19', name: "menu" }))))));
|
|
37583
37595
|
}
|
|
37584
37596
|
get host() { return getElement(this); }
|
|
37585
37597
|
static get watchers() { return {
|
|
@@ -37984,10 +37996,23 @@ function promisifyRequest(request) {
|
|
|
37984
37996
|
});
|
|
37985
37997
|
}
|
|
37986
37998
|
function createStore(dbName, storeName) {
|
|
37987
|
-
|
|
37988
|
-
|
|
37989
|
-
|
|
37990
|
-
|
|
37999
|
+
let dbp;
|
|
38000
|
+
const getDB = () => {
|
|
38001
|
+
if (dbp)
|
|
38002
|
+
return dbp;
|
|
38003
|
+
const request = indexedDB.open(dbName);
|
|
38004
|
+
request.onupgradeneeded = () => request.result.createObjectStore(storeName);
|
|
38005
|
+
dbp = promisifyRequest(request);
|
|
38006
|
+
dbp.then((db) => {
|
|
38007
|
+
// It seems like Safari sometimes likes to just close the connection.
|
|
38008
|
+
// It's supposed to fire this event when that happens. Let's hope it does!
|
|
38009
|
+
db.onclose = () => (dbp = undefined);
|
|
38010
|
+
}, () => {
|
|
38011
|
+
dbp = undefined;
|
|
38012
|
+
});
|
|
38013
|
+
return dbp;
|
|
38014
|
+
};
|
|
38015
|
+
return (txMode, callback) => getDB().then((db) => callback(db.transaction(storeName, txMode).objectStore(storeName)));
|
|
37991
38016
|
}
|
|
37992
38017
|
let defaultGetStoreFunc;
|
|
37993
38018
|
function defaultGetStore() {
|
|
@@ -38071,7 +38096,7 @@ class IconsSetController {
|
|
|
38071
38096
|
this._iconsSets = new Map();
|
|
38072
38097
|
this._svgPathUpdate = 'mdsIconSvgPathUpdate';
|
|
38073
38098
|
this.cacheExp = 60 * 60 * 1000 * 24;
|
|
38074
|
-
this.listeners =
|
|
38099
|
+
this.listeners = new Set();
|
|
38075
38100
|
this.memoryCache = {};
|
|
38076
38101
|
// Try to retrieve svg from cache
|
|
38077
38102
|
this.isCacheAvailable = async (url) => {
|
|
@@ -38150,29 +38175,46 @@ class IconsSetController {
|
|
|
38150
38175
|
return { set: this._iconsSets.get(iconName.split('/')[0]) };
|
|
38151
38176
|
}
|
|
38152
38177
|
/**
|
|
38153
|
-
*
|
|
38178
|
+
* Sets the directory of the svg files. Query and fragment are dropped: the icon name is
|
|
38179
|
+
* appended to the path.
|
|
38154
38180
|
*
|
|
38155
|
-
* input path: https://www.abc.com/svg/path
|
|
38156
|
-
* svgPath =
|
|
38181
|
+
* input path: https://www.abc.com/svg/path/
|
|
38182
|
+
* svgPath = https://www.abc.com/svg/path/
|
|
38157
38183
|
*
|
|
38158
|
-
* input path: localhost:9000/svg/path
|
|
38159
|
-
* svgPath = localhost:9000/svg/path
|
|
38184
|
+
* input path: localhost:9000/svg/path/
|
|
38185
|
+
* svgPath = //localhost:9000/svg/path/ (with the protocol of the page)
|
|
38160
38186
|
*
|
|
38161
|
-
* input path: /svg/path
|
|
38162
|
-
* svgPath =
|
|
38187
|
+
* input path: /svg/path/ or svg/path/
|
|
38188
|
+
* svgPath = unchanged, resolved by `fetch` against the document base URL on each request
|
|
38163
38189
|
*
|
|
38164
|
-
* input path:
|
|
38190
|
+
* input path: empty or not a URL
|
|
38165
38191
|
* throw error
|
|
38166
|
-
*
|
|
38167
38192
|
*/
|
|
38168
38193
|
setSvgPath(svgPath) {
|
|
38169
|
-
const
|
|
38170
|
-
|
|
38171
|
-
|
|
38172
|
-
|
|
38194
|
+
const error = Error(`Svg path not recognize ${svgPath}, ensure is a absolute path starting with '/' or a url`);
|
|
38195
|
+
if (typeof svgPath !== 'string' || svgPath.trim() === '') {
|
|
38196
|
+
throw error;
|
|
38197
|
+
}
|
|
38198
|
+
const value = svgPath.trim();
|
|
38199
|
+
// a host with a port and no scheme (`localhost:9000/svg/`) would be read as the scheme `localhost:`
|
|
38200
|
+
const path = /^[\w.-]+:\d+(\/|$)/.test(value) ? `//${value}` : value;
|
|
38201
|
+
let url;
|
|
38202
|
+
try {
|
|
38203
|
+
// the placeholder base only validates a path, which is kept as it is
|
|
38204
|
+
url = new URL(path, 'http://localhost/');
|
|
38205
|
+
}
|
|
38206
|
+
catch (_a) {
|
|
38207
|
+
throw error;
|
|
38173
38208
|
}
|
|
38174
38209
|
if (typeof window !== 'undefined') {
|
|
38175
|
-
|
|
38210
|
+
if (/^[a-z][a-z\d+.-]*:/i.test(path)) {
|
|
38211
|
+
url.search = '';
|
|
38212
|
+
url.hash = '';
|
|
38213
|
+
this._svgPath = url.href;
|
|
38214
|
+
}
|
|
38215
|
+
else {
|
|
38216
|
+
this._svgPath = path.replace(/[?#].*$/, '');
|
|
38217
|
+
}
|
|
38176
38218
|
window.dispatchEvent(new Event(this._svgPathUpdate));
|
|
38177
38219
|
}
|
|
38178
38220
|
}
|
|
@@ -38180,7 +38222,10 @@ class IconsSetController {
|
|
|
38180
38222
|
return this._svgPath;
|
|
38181
38223
|
}
|
|
38182
38224
|
registerListener(callback) {
|
|
38183
|
-
this.listeners.
|
|
38225
|
+
this.listeners.add(callback);
|
|
38226
|
+
}
|
|
38227
|
+
unregisterListener(callback) {
|
|
38228
|
+
this.listeners.delete(callback);
|
|
38184
38229
|
}
|
|
38185
38230
|
setUpListener() {
|
|
38186
38231
|
if (typeof window !== 'undefined') {
|
|
@@ -38200,6 +38245,10 @@ class IconsSetController {
|
|
|
38200
38245
|
if (Build.isServer && !Build.isTesting) {
|
|
38201
38246
|
return '';
|
|
38202
38247
|
}
|
|
38248
|
+
// an icon without the attribute passes an undefined (or null) name: there is nothing to load
|
|
38249
|
+
if (!name) {
|
|
38250
|
+
return '';
|
|
38251
|
+
}
|
|
38203
38252
|
try {
|
|
38204
38253
|
if (!this._svgPath && typeof window === 'undefined') {
|
|
38205
38254
|
throw Error('Cant find svgPath, ensure you set it');
|
|
@@ -38221,9 +38270,14 @@ class IconsSetController {
|
|
|
38221
38270
|
}
|
|
38222
38271
|
}
|
|
38223
38272
|
const src = this._svgPath && !name.startsWith('http') ? this._svgPath.concat(name, '.svg') : name;
|
|
38273
|
+
// Memory first: every instance of an icon already loaded skips the IndexedDB round-trip
|
|
38274
|
+
if (this.memoryCache[src]) {
|
|
38275
|
+
return this.memoryCache[src];
|
|
38276
|
+
}
|
|
38224
38277
|
const lsCache = await this.isCacheAvailable(src);
|
|
38225
|
-
if (
|
|
38226
|
-
|
|
38278
|
+
if (lsCache) {
|
|
38279
|
+
this.memoryCache[src] = lsCache;
|
|
38280
|
+
return lsCache;
|
|
38227
38281
|
}
|
|
38228
38282
|
const response = await fetch(src);
|
|
38229
38283
|
if (!response.ok) {
|
|
@@ -38254,14 +38308,31 @@ const mdsIconCss = () => `@layer reset,vendor,theme,base,components,utilities;:h
|
|
|
38254
38308
|
class MdsIcon {
|
|
38255
38309
|
constructor(hostRef) {
|
|
38256
38310
|
registerInstance(this, hostRef);
|
|
38311
|
+
// Each update supersedes the ones still loading: only the latest one sets the svg
|
|
38312
|
+
this.lastUpdate = 0;
|
|
38313
|
+
this.wasDisconnected = false;
|
|
38314
|
+
this.onSvgPathUpdate = () => {
|
|
38315
|
+
this.updateIcon();
|
|
38316
|
+
};
|
|
38257
38317
|
this.convertBase64ToSvg = () => {
|
|
38258
38318
|
const svgBase64 = this.name.replace(BASE64_SVG_ICON, '').replace(/=/i, '');
|
|
38259
38319
|
return atob(svgBase64);
|
|
38260
38320
|
};
|
|
38261
38321
|
}
|
|
38322
|
+
connectedCallback() {
|
|
38323
|
+
IconsSetService.registerListener(this.onSvgPathUpdate);
|
|
38324
|
+
// the svg path may have changed while the icon was out of the page
|
|
38325
|
+
if (this.wasDisconnected) {
|
|
38326
|
+
this.wasDisconnected = false;
|
|
38327
|
+
this.updateIcon();
|
|
38328
|
+
}
|
|
38329
|
+
}
|
|
38330
|
+
disconnectedCallback() {
|
|
38331
|
+
IconsSetService.unregisterListener(this.onSvgPathUpdate);
|
|
38332
|
+
this.wasDisconnected = true;
|
|
38333
|
+
}
|
|
38262
38334
|
componentWillLoad() {
|
|
38263
38335
|
this.updateIcon();
|
|
38264
|
-
IconsSetService.registerListener(() => this.updateIcon());
|
|
38265
38336
|
}
|
|
38266
38337
|
/**
|
|
38267
38338
|
* Set the path to the directory of svg files
|
|
@@ -38272,8 +38343,13 @@ class MdsIcon {
|
|
|
38272
38343
|
return Promise.resolve();
|
|
38273
38344
|
}
|
|
38274
38345
|
async updateIcon() {
|
|
38275
|
-
|
|
38346
|
+
var _a;
|
|
38347
|
+
const update = ++this.lastUpdate;
|
|
38348
|
+
// `name` is undefined (or null) at runtime when the attribute is missing or removed
|
|
38349
|
+
if (((_a = this.name) !== null && _a !== void 0 ? _a : '') === '') {
|
|
38350
|
+
this.svgHTML = '';
|
|
38276
38351
|
return Promise.resolve();
|
|
38352
|
+
}
|
|
38277
38353
|
if (isIconFormatIsBase64(this.name)) {
|
|
38278
38354
|
this.svgHTML = this.convertBase64ToSvg();
|
|
38279
38355
|
return Promise.resolve();
|
|
@@ -38282,10 +38358,13 @@ class MdsIcon {
|
|
|
38282
38358
|
this.svgHTML = this.name;
|
|
38283
38359
|
return Promise.resolve();
|
|
38284
38360
|
}
|
|
38285
|
-
|
|
38361
|
+
const svgHTML = await IconsSetService.fetchSvg(this.name);
|
|
38362
|
+
if (update === this.lastUpdate) {
|
|
38363
|
+
this.svgHTML = svgHTML;
|
|
38364
|
+
}
|
|
38286
38365
|
}
|
|
38287
38366
|
render() {
|
|
38288
|
-
return (hAsync(Host, { key: '
|
|
38367
|
+
return (hAsync(Host, { key: '9544b1ca2b153e95f6710e0bbed762048676fb48' }, this.svgHTML && hAsync("i", { key: '745b56492d69be55e449b94633b09391972e3d79', "aria-hidden": "true", class: "icon", part: "svg", innerHTML: this.svgHTML })));
|
|
38289
38368
|
}
|
|
38290
38369
|
get hostElement() { return getElement(this); }
|
|
38291
38370
|
static get watchers() { return {
|
|
@@ -38414,14 +38493,14 @@ class MdsImg {
|
|
|
38414
38493
|
this.imageError = false;
|
|
38415
38494
|
}
|
|
38416
38495
|
componentWillLoad() {
|
|
38417
|
-
var _a;
|
|
38496
|
+
var _a, _b;
|
|
38418
38497
|
this.consumptionMode =
|
|
38419
38498
|
(_a = localStorage.getItem('mdsPrefConsumption')) !== null && _a !== void 0 ? _a : 'high';
|
|
38420
|
-
if (this.srcsetConsumption
|
|
38499
|
+
if (this.srcsetConsumption != null && this.srcsetConsumption !== '') {
|
|
38421
38500
|
this.srcsetConsumptionData = this.formatConsumptionData(this.srcsetConsumption);
|
|
38422
38501
|
}
|
|
38423
38502
|
this.image = this.host.querySelector('img');
|
|
38424
|
-
if (this.alt === '') {
|
|
38503
|
+
if (((_b = this.alt) !== null && _b !== void 0 ? _b : '') === '') {
|
|
38425
38504
|
this.alt = this.autoAltName();
|
|
38426
38505
|
}
|
|
38427
38506
|
}
|
|
@@ -38992,7 +39071,7 @@ class MdsInput {
|
|
|
38992
39071
|
}
|
|
38993
39072
|
componentWillLoad() {
|
|
38994
39073
|
// this.valuePristine = this.value
|
|
38995
|
-
var _a;
|
|
39074
|
+
var _a, _b;
|
|
38996
39075
|
// If the mds-input has a tabindex attribute we get the value
|
|
38997
39076
|
// and pass it down to the native input, then remove it from the
|
|
38998
39077
|
// mds-input to avoid causing tabbing twice on the same element
|
|
@@ -39003,7 +39082,7 @@ class MdsInput {
|
|
|
39003
39082
|
}
|
|
39004
39083
|
setFormValue(this.internals, (_a = this.value) !== null && _a !== void 0 ? _a : null);
|
|
39005
39084
|
this.maxLengthChanged(this.maxlength);
|
|
39006
|
-
this.isValid = !(this.required && this.value === '');
|
|
39085
|
+
this.isValid = !(this.required && ((_b = this.value) !== null && _b !== void 0 ? _b : '') === '');
|
|
39007
39086
|
}
|
|
39008
39087
|
componentDidLoad() {
|
|
39009
39088
|
var _a, _b, _c;
|
|
@@ -39128,9 +39207,9 @@ class MdsInput {
|
|
|
39128
39207
|
}
|
|
39129
39208
|
render() {
|
|
39130
39209
|
var _a, _b, _c;
|
|
39131
|
-
return (hAsync(Host, { key: '
|
|
39210
|
+
return (hAsync(Host, { key: '845f538a792b4465e10fcfaf54b10b8fdff8b1e9', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.type === 'number' && this.controlsLayout === 'horizontal' && (hAsync("mds-button", { key: '3e98aeaf32c5fe6904579e7f8750a52bd8ed3779', class: "counter-button counter-button--horizontal counter-button--decrease", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowDown : miBaselineRemove, onClick: this.stepDown, tabindex: "0", title: this.t.get('decrease'), variant: "dark", tone: "text", part: "counter-button-decrease" })), this.type === 'textarea' ? (hAsync("textarea", { "aria-label": this.accessibleName, class: clsx('input', ((_a = this.icon) !== null && _a !== void 0 ? _a : this.await) && 'has-icon', this.mic && 'has-right-icon'), autoFocus: this.autofocus, disabled: this.disabled, maxLength: this.maxlength, minLength: this.minlength, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, part: "field", placeholder: this.placeholder, readOnly: this.readonly, ref: (input) => (this.nativeInput = input), required: this.required, tabIndex: this.tabindex, value: this.value })) : (hAsync("input", { "aria-label": this.accessibleName, class: clsx('input', ((_b = this.icon) !== null && _b !== void 0 ? _b : this.await) && 'has-icon', this.mic && 'has-right-icon'), autoComplete: this.autocomplete, autoFocus: this.autofocus, disabled: this.disabled, max: this.max, maxLength: this.maxlength, min: this.min, minLength: this.minlength, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, pattern: this.pattern, list: this.datalistId, part: "field", placeholder: this.placeholder, readOnly: this.readonly, ref: (input) => (this.nativeInput = input), required: this.required, step: this.step, tabIndex: this.tabindex, type: this.type === 'password' && this.isPasswordVisible ? 'text' : this.type, value: this.value })), this.type === 'number' && this.controlsLayout === 'vertical' && (hAsync("div", { key: '7ab2af1009a7e03a842ed67cd325993c9a21edec', class: "counter counter--vertical" }, hAsync("mds-button", { key: '2ef1243427d235fa097a9b2e5add1fb7e67ae5fc', class: "counter-button", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowUp : miBaselineAdd, onClick: this.stepUp, tabindex: "0", title: this.t.get('increase'), variant: "dark", size: "sm", tone: "text", part: "counter-button-increase" }), hAsync("mds-button", { key: '2053f7c658aa16a8a84a7173f5db555f34800e7a', class: "counter-button", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowDown : miBaselineRemove, onClick: this.stepDown, tabindex: "0", title: this.t.get('decrease'), variant: "dark", size: "sm", tone: "text", part: "counter-button-decrease" }))), this.type === 'number' && this.controlsLayout === 'horizontal' && (hAsync("mds-button", { key: '3efe63b2ca3abe15080f721d383d3cadfaf5f5f3', class: "counter-button counter-button--horizontal counter-button--increase", variant: "dark", tone: "text", icon: this.controlsIcon === 'arrow' ? miBaselineKeyboardArrowUp : miBaselineAdd, onClick: this.stepUp, tabindex: "0", title: this.t.get('increase'), part: "counter-button-increase" })), this.type === 'password' && (hAsync("mds-button", { key: '910df4fde2fb8a423cd12fde3960018a85e1c583', class: "password-toggle-button", variant: "dark", tone: "text", icon: this.isPasswordVisible ? miBaselineVisibleOff : miBaselineVisible, onClick: this.handlePasswordToggleClick, tabindex: "0", title: this.isPasswordVisible ? this.t.get('hidePassword') : this.t.get('showPassword'), part: "password-toggle-button" })), this.type === 'password' && !this.isPasswordVisible && ((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) > 0 && (hAsync("div", { key: '1440dbe88ab432466f355d5864672560c2db204c', class: "password-mask" }, hAsync("div", { key: '864ba9b91cbca7057b4694e371e018c9df62a430', class: "password-mask-items", part: "password-mask-items" }, Array.from({ length: this.value.length }).map((_, index) => (hAsync("div", { key: index, class: "password-mask-item", part: "password-mask-item" })))))), this.mic && (hAsync("mds-button", { key: 'ae60b8787ca87a563823f4f9e5dcc0ec883d88b3', class: clsx('mic-toggle-button', this.isRecording && 'mic-toggle-button--recording'), icon: this.speechToTextIcon, onClick: this.toggleTextRecognition, tabindex: "0", title: this.t.get(this.speechToTextLabelKey), variant: "dark", tone: "text", part: "mic-toggle-button" })), hAsync("mds-input-tip", { key: '428b89c685610212d326639fe26420f42b4c6a6a', position: "top", active: this.hasFocus, part: "tip-top" }, this.disabled && hAsync("mds-input-tip-item", { key: '1c1cefd4812f2053a2a7dac7f671741190e6d1f9', expanded: true, variant: "disabled" }), this.readonly && hAsync("mds-input-tip-item", { key: '345b4aa563e0256ead4ca1d1273c7139d558b372', expanded: true, variant: "readonly" }), this.required && (hAsync("mds-input-tip-item", { key: '490afbec9f2f6bf267909ab3815b0064a5eccbdd', expanded: this.hasFocus, variant: this.isValid ? 'required-success' : 'required' }))), hAsync("mds-input-tip", { key: 'f97f2382bb8333189adaa9cba8b4b36a0e85b0a5', position: "bottom", active: this.hasFocus, part: "tip-bottom" }, this.tip && (hAsync("mds-input-tip-item", { key: '37331d0c0d73c035ef897aab7535eadc9d7e8089', expanded: true, variant: "text" }, this.tip)), this.maxlength && (hAsync("mds-input-tip-item", { key: '2f15cf016309493535f60e924ea17bad3c04aa5c', part: "tip-count", expanded: true, variant: this.countVariant }, this.currentLengthLabel))), this.datalist && (hAsync("datalist", { key: '080fdb03ff33d0b7b4f2097497daba098159db91', id: this.datalistId, class: "datalist" }, this.datalist.map((element, i) => {
|
|
39132
39211
|
return hAsync("option", { key: i, value: element });
|
|
39133
|
-
}))), this.icon && !this.await && (hAsync("mds-icon", { key: '
|
|
39212
|
+
}))), this.icon && !this.await && (hAsync("mds-icon", { key: '8f1a7c1559c81cd7bb0b2418fc81a66055e8b374', class: clsx('icon', this.variant), name: this.icon })), hAsync("mds-spinner", { key: '172dfc79d67b94a453ede3dd6d991ab90a161f1c', running: this.await, class: clsx('await', this.variant) })));
|
|
39134
39213
|
}
|
|
39135
39214
|
static get formAssociated() { return true; }
|
|
39136
39215
|
get el() { return getElement(this); }
|
|
@@ -39719,10 +39798,12 @@ class MdsInputDateRange {
|
|
|
39719
39798
|
this.syncExternalDate('end', newValue);
|
|
39720
39799
|
}
|
|
39721
39800
|
componentWillLoad() {
|
|
39722
|
-
|
|
39723
|
-
|
|
39724
|
-
this.
|
|
39725
|
-
this.
|
|
39801
|
+
var _a, _b;
|
|
39802
|
+
// a null bound by a framework counts as no date, as the watchers already do
|
|
39803
|
+
this.internalStartDate = (_a = this.startDate) !== null && _a !== void 0 ? _a : '';
|
|
39804
|
+
this.internalEndDate = (_b = this.endDate) !== null && _b !== void 0 ? _b : '';
|
|
39805
|
+
this.initialStartDate = this.internalStartDate;
|
|
39806
|
+
this.initialEndDate = this.internalEndDate;
|
|
39726
39807
|
this.visibleCalendarDate = this.resolveVisibleCalendarDate(this.internalStartDate, this.internalEndDate);
|
|
39727
39808
|
// Se max è precedente a min, imposto max uguale a min
|
|
39728
39809
|
if (this.min !== null && this.min !== '' && this.max !== null && this.max !== '') {
|
|
@@ -39904,7 +39985,7 @@ class MdsInputDateRange {
|
|
|
39904
39985
|
return (hAsync("div", { class: "calendars" }, this.renderCalendarPreselectionPanel(), hAsync("mds-calendar", Object.assign({ key: `${this.calendarKey}-start`, hideToday: this.hideToday, hideNextButton: true, disableMonthYearSelection: true, viewDate: this.getCalendarViewDate(), onMdsCalendarNavigate: this.handleCalendarNavigate, onMdsCalendarChange: this.handleCalendarChange, onMdsCalendarPreselect: this.handleCalendarPreselect, startDate: this.internalStartDate, endDate: this.internalEndDate }, (this.min !== null && this.min !== '' ? { min: this.min } : {}), (this.max !== null && this.max !== '' ? { max: this.max } : {}))), hAsync("mds-calendar", Object.assign({ key: `${this.calendarKey}-end`, hideToday: this.hideToday, hidePreviousButton: true, disableMonthYearSelection: true, viewDate: this.getCalendarViewDate(1), onMdsCalendarNavigate: this.handleCalendarNavigate, onMdsCalendarChange: this.handleCalendarChange, onMdsCalendarPreselect: this.handleCalendarPreselect, startDate: this.internalStartDate, endDate: this.internalEndDate }, (this.min !== null && this.min !== '' ? { min: this.min } : {}), (this.max !== null && this.max !== '' ? { max: this.max } : {})))));
|
|
39905
39986
|
}
|
|
39906
39987
|
render() {
|
|
39907
|
-
return (hAsync(Host, { key: '
|
|
39988
|
+
return (hAsync(Host, { key: '718cf4ea938605b2569a5fa19e264cf176282a80', onClick: this.focusDateInput, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: 'f8dade2fe985e70d2943aee08d6f84123e53f38b', class: "inputs" }, hAsync("div", { key: 'be2dd565a6364f3ccf287514ea5726e332577389', class: "input-element" }, hAsync("mds-text", { key: 'a6c3e21e613ee60986acb06edc852f110357fc31', class: "date-label", typography: "detail", onClick: this.focusStartDateInput }, this.t.get('from')), hAsync("div", { key: '08cdedb27bcdcfd35b94e90ae261f64d8694b0ef', class: "input-wrapper" }, hAsync("slot", { key: 'da01b0a0fc65c8cf7094cf0db83be1d942b332b1', name: "start" }))), hAsync("div", { key: '63e620c85a9a23660645a0e28648912cbcd79919', class: "input-element" }, hAsync("mds-text", { key: '801f3a01f11502a5878e0ede645f238ef80fa388', class: "date-label", typography: "detail", onClick: this.focusEndDateInput }, this.t.get('to')), hAsync("div", { key: 'fa57d66e7f8318685256e1febf35b291f7b59f19', class: "input-wrapper" }, hAsync("slot", { key: '68e860a29b253276b3ebb29b502e7c432bb1ea9c', name: "end" })))), hAsync("div", { key: 'cb145bf4822dda4e6dbe07240089944740b090fe', class: "action-open-calendar-wrapper" }, hAsync("mds-button", { key: '9216baaff6c990532db1c8366b054655065a399f', class: "action-open-calendar", variant: "dark", tone: "text", icon: miBaselineCalendarToday, id: "calendar-dropdown", onClick: this.handleOpenCalendarClick })), hAsync("mds-dropdown", { key: '94f181ff090a617de824cd46ea21981806f7f40a', ref: (el) => (this.dropdownRef = el), target: "#calendar-dropdown", "disable-auto-placement": true, placement: "bottom-end", role: "group" }, this.dualCalendar ? this.renderDualCalendars() : this.renderSingleCalendar())));
|
|
39908
39989
|
}
|
|
39909
39990
|
syncFormValue() {
|
|
39910
39991
|
var _a, _b, _c, _d;
|
|
@@ -40420,6 +40501,8 @@ class MdsInputSelect {
|
|
|
40420
40501
|
this.onFocus = () => {
|
|
40421
40502
|
this.hasFocus = true;
|
|
40422
40503
|
};
|
|
40504
|
+
// a removed attribute or a null bound by a framework counts as no placeholder, like ''
|
|
40505
|
+
this.hasPlaceholder = () => { var _a; return ((_a = this.placeholder) !== null && _a !== void 0 ? _a : '') !== ''; };
|
|
40423
40506
|
this.emptyOptions = () => {
|
|
40424
40507
|
var _a;
|
|
40425
40508
|
const select = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('select');
|
|
@@ -40428,10 +40511,10 @@ class MdsInputSelect {
|
|
|
40428
40511
|
return;
|
|
40429
40512
|
}
|
|
40430
40513
|
options.forEach((option, index) => {
|
|
40431
|
-
if (this.
|
|
40514
|
+
if (!this.hasPlaceholder()) {
|
|
40432
40515
|
option.remove();
|
|
40433
40516
|
}
|
|
40434
|
-
if (this.
|
|
40517
|
+
if (this.hasPlaceholder() && index > 0) {
|
|
40435
40518
|
option.remove();
|
|
40436
40519
|
}
|
|
40437
40520
|
});
|
|
@@ -40443,10 +40526,10 @@ class MdsInputSelect {
|
|
|
40443
40526
|
if (options == null) {
|
|
40444
40527
|
return;
|
|
40445
40528
|
}
|
|
40446
|
-
if (
|
|
40529
|
+
if (!this.hasPlaceholder() && options.length > 0) {
|
|
40447
40530
|
this.emptyOptions();
|
|
40448
40531
|
}
|
|
40449
|
-
if (this.
|
|
40532
|
+
if (this.hasPlaceholder() && options.length > 1) {
|
|
40450
40533
|
this.emptyOptions();
|
|
40451
40534
|
}
|
|
40452
40535
|
elements === null || elements === void 0 ? void 0 : elements.forEach((element) => {
|
|
@@ -40464,7 +40547,7 @@ class MdsInputSelect {
|
|
|
40464
40547
|
element.selected = element.value === this.value;
|
|
40465
40548
|
});
|
|
40466
40549
|
}
|
|
40467
|
-
else if (this.
|
|
40550
|
+
else if (!this.hasPlaceholder()) {
|
|
40468
40551
|
this.value = (_a = this.selectEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('option')[0].value;
|
|
40469
40552
|
}
|
|
40470
40553
|
};
|
|
@@ -40503,7 +40586,7 @@ class MdsInputSelect {
|
|
|
40503
40586
|
* @param oldValue placeholder old value
|
|
40504
40587
|
*/
|
|
40505
40588
|
placeholderChanged(newValue, oldValue) {
|
|
40506
|
-
if (newValue
|
|
40589
|
+
if (newValue != null && newValue !== '' && (oldValue !== null && oldValue !== void 0 ? oldValue : '') === '') {
|
|
40507
40590
|
let defaultOption = document.querySelector('.placeholder-option');
|
|
40508
40591
|
if (defaultOption)
|
|
40509
40592
|
defaultOption.remove();
|
|
@@ -40540,12 +40623,12 @@ class MdsInputSelect {
|
|
|
40540
40623
|
}
|
|
40541
40624
|
}
|
|
40542
40625
|
render() {
|
|
40543
|
-
return (hAsync(Host, { key: '
|
|
40626
|
+
return (hAsync(Host, { key: 'd592094ab2ad5a0af7603c62516dcc85961b1986', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("select", { key: '3d8afceda13a8f8cda25008aa159131512607185', "aria-label": this.accessibleName, class: "input", onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, name: this.name, required: this.required, disabled: this.disabled, multiple: this.multiple, size: this.size, part: "select", ref: (el) => (this.selectEl = el) }, hAsync("option", { key: 'd51ff2bc9e48b52042a5a1b11f4cd9249ad3f841', class: "placeholder-option", value: "", disabled: !this.required ? undefined : true, selected: this.defaultValue != null &&
|
|
40544
40627
|
this.defaultValue !== '' &&
|
|
40545
40628
|
this.defaultValue !== 0 &&
|
|
40546
40629
|
!Number.isNaN(this.defaultValue)
|
|
40547
40630
|
? undefined
|
|
40548
|
-
: true }, this.placeholder)), hAsync("div", { key: '
|
|
40631
|
+
: true }, this.placeholder)), hAsync("div", { key: 'e7433aed2a6eb737f729267ae910ac7ad0d66f91', class: "icon-container" }, hAsync("mds-icon", { key: '1000ecef2c0d3967ab36ca6b26492f0d16828e0b', class: "icon", name: miBaselineKeyboardArrowDown })), hAsync("div", { key: 'f50de5c45a4a81a1671c11eb7f5208cf90ad420c', class: "option-container" }, hAsync("slot", { key: '4e81caee891537bb05722c66bd08fdea2656d2f5', onSlotchange: this.onSlotChangeHandler })), hAsync("mds-input-tip", { key: '8b2529c44303088088d451632239594d1029d328', position: "top", active: this.hasFocus, part: "tip-top" }, this.disabled && hAsync("mds-input-tip-item", { key: 'ba2ab348eb11aada0385bb88908ff0f218146a69', expanded: true, variant: "disabled" }), this.required && (hAsync("mds-input-tip-item", { key: 'a4c571f697981eb930b6aed49cd5788dc9a98cfd', expanded: this.hasFocus, variant: this.value === '' ? 'required' : 'required-success' })))));
|
|
40549
40632
|
}
|
|
40550
40633
|
static get formAssociated() { return true; }
|
|
40551
40634
|
get host() { return getElement(this); }
|
|
@@ -41553,21 +41636,25 @@ class MdsInputUpload {
|
|
|
41553
41636
|
return b.id - a.id;
|
|
41554
41637
|
}
|
|
41555
41638
|
isSortTabShown() {
|
|
41556
|
-
|
|
41639
|
+
var _a;
|
|
41640
|
+
// the type has no empty sort, but the attribute can be empty or removed
|
|
41641
|
+
const sort = (_a = this.sort) !== null && _a !== void 0 ? _a : '';
|
|
41642
|
+
return sort !== '' && this.files.length > 1;
|
|
41557
41643
|
}
|
|
41558
41644
|
render() {
|
|
41559
|
-
|
|
41645
|
+
var _a;
|
|
41646
|
+
return (hAsync(Host, { key: '1282e72ee06803608c3814261fe7afb90bba04dd' }, hAsync("div", { key: '5ea63f793cbbac434e17d9970ad1cf46b09babea', class: "drag-area", onDrop: this.onDropHandler, onDragOver: this.onDragOverHandler, onDragEnter: this.onDragEnterHandler, onDragLeave: this.onDragLeaveHandler, ref: (dragArea) => (this.elDragArea = dragArea) }, hAsync("div", { key: 'c578728c760a7c42b58cbe1947c5e210d2c4b513', class: "main-action" }, hAsync("div", { key: '53290a67d9a6c2af46b7fcf980822f25ab9415d2', class: "main-action-icon" }, hAsync("mds-icon", { key: '98bb7709ed2e548c5b1d3ef850cf594fd582f31e', class: "icon", name: miOutlineFileUpload })), hAsync("mds-text", { key: '0b5e87c56e64b00a4a60a678f7b5dc41e4f1a343', animation: this.animateText ? 'yugop' : 'none', variant: "title", typography: "action", text: this.dragging
|
|
41560
41647
|
? this.t.get('dragEnter')
|
|
41561
|
-
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), hAsync("div", { key: '
|
|
41648
|
+
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), hAsync("div", { key: '407e5f6ba315adc4914bac66591ab158858e58a9', class: "main-actions" }, hAsync("mds-button", { key: '21e2bdd0e2c056fbac4324d1e10e8818d738ae4e', variant: "primary", onClick: this.handleAddFileClick, label: this.files != null
|
|
41562
41649
|
? this.t.get('addFile', { maxFiles: this.maxFiles })
|
|
41563
|
-
: this.t.get('selectFile') }), this.files.length > 0 && (hAsync("mds-button", { key: '
|
|
41650
|
+
: this.t.get('selectFile') }), this.files.length > 0 && (hAsync("mds-button", { key: 'c2aa797ea1ffa79e13edaca370ee9a80def808f9', variant: "error", onClick: this.onReset, label: this.t.get('cancel') }))), hAsync("div", { key: 'b74bff2a047a5cb207301017acd6a7277c663f51', class: "main-infos" }, hAsync("mds-progress", { key: '9e46cde334899b47039062c4accaf589cfb7db6e', "aria-hidden": "true", class: "progress-bar", progress: this.progress }), this.files.length < 1 ? (hAsync("mds-text", { variant: "info", typography: "caption" }, this.t.get('maxFilesUpload', { maxFiles: this.maxFiles }))) : (hAsync("mds-text", { variant: "info", typography: "caption" }, ((_a = this.maxFiles) !== null && _a !== void 0 ? _a : 0) !== 0 && !Number.isNaN(this.maxFiles)
|
|
41564
41651
|
? this.t.get('currentFilesWithMax', {
|
|
41565
41652
|
currentFiles: this.files.length,
|
|
41566
41653
|
maxFiles: this.maxFiles,
|
|
41567
41654
|
})
|
|
41568
|
-
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), hAsync("input", { key: '
|
|
41655
|
+
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), hAsync("input", { key: 'c867482029ed15726d1badeee21945ce78fcb9aa', type: "file", accept: this.accept, hidden: true, ref: (i) => (this.nativeInput = i), onChange: this.onAdd, multiple: this.maxFiles > 1 }), hAsync("div", { key: '38bd7d7f7ce6024baf6a037445152b7acc3d3f3b', class: "additional-infos" }, hAsync("div", { key: '6dd3982680177166a93c408ca4f32540efcd17fa', class: clsx('file-specs', this.isSortTabShown() && 'file-specs-sort') }, hAsync("mds-text", { key: '892c2695e43c3b57e31b62cc6f9cb8bf8369c862', variant: "info", typography: "caption" }, this.extensions !== ''
|
|
41569
41656
|
? `${this.t.get('canUpload')} ${this.extensions}`
|
|
41570
|
-
: this.t.get('canUploadAll')), hAsync("mds-text", { key: '
|
|
41657
|
+
: this.t.get('canUploadAll')), hAsync("mds-text", { key: 'b20bee8f4d335453dc457d8abddf07aae13950f5', variant: "info", typography: "caption" }, this.t.get('maxFileSizePerFile', { maxFileSize: this.maxFileSize }))), this.isSortTabShown() && (hAsync("mds-tab", { key: '4e998b760c02e9bee956d9037e1e9ce2af0e3e0d', class: "action-sort", onMdsTabChange: this.handleTabChange }, hAsync("mds-tab-item", { key: '348200582b1d9b6fe9584d17f9939ee1d77274c7', icon: iconSortById, selected: this.userSort === 'date', title: this.t.get('sortByDate'), value: "date" }), hAsync("mds-tab-item", { key: 'e2cedd3bd3c1bf62e7fe682bfc6c19d3f0b57f2a', icon: iconSortByStatus, selected: this.userSort === 'status', title: this.t.get('sortByStatus'), value: "status" })))), hAsync("div", { key: 'b549c38e2fac65c513a3a82b97190831b5ef968f', class: clsx('file-list', this.files.length > this.cssMinCols && 'file-list--more-items') }, this.files.map((file) => {
|
|
41571
41658
|
switch (file.status) {
|
|
41572
41659
|
case Status.ERROR:
|
|
41573
41660
|
return (hAsync("mds-file-preview", { deletable: true, variant: "error", filename: file.file.name, filesize: file.file.size.toString(), onMdsFileDelete: this.handleFileDelete(file.key), message: this.t.get(file.errorKey) }));
|
|
@@ -42465,9 +42552,12 @@ class MdsKeyboard {
|
|
|
42465
42552
|
};
|
|
42466
42553
|
this.updateElements = () => {
|
|
42467
42554
|
this.filteredNodes.forEach((node) => {
|
|
42468
|
-
|
|
42555
|
+
var _a;
|
|
42556
|
+
// the type has no empty name, but the attribute can be empty or removed
|
|
42557
|
+
const name = (_a = node.name) !== null && _a !== void 0 ? _a : '';
|
|
42558
|
+
if (name !== '') {
|
|
42469
42559
|
this.keyEls.push(node);
|
|
42470
|
-
this.keyCombination.add(this.keyCodes(
|
|
42560
|
+
this.keyCombination.add(this.keyCodes(name.toLowerCase()).toString());
|
|
42471
42561
|
}
|
|
42472
42562
|
});
|
|
42473
42563
|
};
|
|
@@ -42583,7 +42673,7 @@ class MdsKeyboard {
|
|
|
42583
42673
|
}
|
|
42584
42674
|
}
|
|
42585
42675
|
render() {
|
|
42586
|
-
return (hAsync(Host, { key: '
|
|
42676
|
+
return (hAsync(Host, { key: '0f22438d7c2df4f9370f9daad1756c065720fded', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '302124ad13826c7dc832a8d4dbfc3866f3bb5af9', class: "shortcuts" }, hAsync("slot", { key: '0e74fab3079d226dbb14d062e24f7e460984e1da' })), this.try && (hAsync("mds-button", { key: '18ad345428615395f0a6e20453c57db4f8ed93f8', icon: this.getButtonIcon(), "aria-label": this.t.get('testKeyCombination'), class: "combination-checker", variant: "dark", tone: "text", onClick: this.startKeyboardShortcutTest })), this.try && (hAsync("mds-tooltip", { key: '545d9abac32f56ce8199d75a1cc1dc114dd442ac', target: ".combination-checker" }, this.testPassed === undefined && this.t.get('testKeyCombination'), this.testPassed === true && this.t.get('testPassed'), this.testPassed === false && (hAsync("div", { key: 'f668a098b0b91658a9db962c2560d90169083a9c', class: "errors" }, [...this.errors].map((error) => (hAsync("mds-text", { typography: "tip" }, this.t.get(error))))))))));
|
|
42587
42677
|
}
|
|
42588
42678
|
get host() { return getElement(this); }
|
|
42589
42679
|
static get watchers() { return {
|
|
@@ -42871,10 +42961,13 @@ class MdsKeyboardKey {
|
|
|
42871
42961
|
});
|
|
42872
42962
|
this.keyboardKeys = keyboardKeysData;
|
|
42873
42963
|
this.getTitle = () => {
|
|
42874
|
-
|
|
42875
|
-
|
|
42876
|
-
|
|
42877
|
-
|
|
42964
|
+
var _a;
|
|
42965
|
+
// the type has no empty name, but the attribute can be empty or removed
|
|
42966
|
+
const name = (_a = this.name) !== null && _a !== void 0 ? _a : '';
|
|
42967
|
+
if (name !== '') {
|
|
42968
|
+
return this.t.get(this.keyboardKeys[name.toLowerCase()].description, {
|
|
42969
|
+
character: this.keyboardKeys[name.toLowerCase()].alias,
|
|
42970
|
+
keyboardPosition: this.keyboardKeys[name.toLowerCase()].keyboardPosition,
|
|
42878
42971
|
});
|
|
42879
42972
|
}
|
|
42880
42973
|
return undefined;
|
|
@@ -42882,7 +42975,7 @@ class MdsKeyboardKey {
|
|
|
42882
42975
|
}
|
|
42883
42976
|
render() {
|
|
42884
42977
|
var _a, _b, _c, _d;
|
|
42885
|
-
return (hAsync(Host, { key: '
|
|
42978
|
+
return (hAsync(Host, { key: 'c6f1c7d6e70627515b3eb3c962967050c41e8e4c', title: this.getTitle() }, hAsync("div", { key: '0b9a357f1a03a8842d01e10e9fab975e14e4c07d', class: "physical-key" }, this.name && icons.has(this.name) ? (hAsync("mds-icon", { name: (_a = icons.get(this.name)) !== null && _a !== void 0 ? _a : miBaselineBrokenImage, class: "shortcut-icon" })) : (hAsync("mds-text", { class: "shortcut-text", typography: "detail" }, this.name && hAsync("b", null, this.keyboardKeys[this.name].alias))), this.name && ((_b = this.keyboardKeys[this.name]) === null || _b === void 0 ? void 0 : _b.keyboardPosition) && (hAsync("mds-text", { key: '47ff355c39a1575159216946af4dd43735bd37e5', typography: "label" }, ((_c = this.keyboardKeys[this.name].keyboardPosition) === null || _c === void 0 ? void 0 : _c.left) && 'l', ((_d = this.keyboardKeys[this.name].keyboardPosition) === null || _d === void 0 ? void 0 : _d.right) && 'r')))));
|
|
42886
42979
|
}
|
|
42887
42980
|
static get style() { return mdsKeyboardKeyCss(); }
|
|
42888
42981
|
static get cmpMeta() { return {
|
|
@@ -43189,8 +43282,9 @@ class MdsMention {
|
|
|
43189
43282
|
};
|
|
43190
43283
|
}
|
|
43191
43284
|
render() {
|
|
43192
|
-
var _a, _b;
|
|
43193
|
-
|
|
43285
|
+
var _a, _b, _c;
|
|
43286
|
+
const icon = (_a = this.icon) !== null && _a !== void 0 ? _a : '';
|
|
43287
|
+
return (hAsync(Host, { key: '914ba108dd94074f6d4cfe55d3ae8f6da5d20c07' }, hAsync("mds-icon", { key: '452fa5eafee76b142b2ca9491f0bdb0ed21649a2', name: icon !== '' ? icon : miBaselineAlternateEmail }), hAsync("mds-text", { key: '1070089d8e8d38d6d9ae477b6ac7b16b7d5bb29a', typography: this.sizeTypography[(_b = this.size) !== null && _b !== void 0 ? _b : 'md'] }, this.size === 'lg' ? this.label : hAsync("b", null, this.label)), this.deletable && (hAsync("mds-button", { key: '958f40a8b6b208f3bdd5572750b7e6e728176f18', class: "action-remove", icon: miBaselineCancel, onClick: this.onDeleteHandler, size: "sm", title: `${this.t.get('remove')} ${(_c = this.label) !== null && _c !== void 0 ? _c : ''}`.trim(), tone: "text", variant: "dark" }))));
|
|
43194
43288
|
}
|
|
43195
43289
|
get host() { return getElement(this); }
|
|
43196
43290
|
static get style() { return mdsMentionCss(); }
|
|
@@ -43657,18 +43751,20 @@ class MdsNotification {
|
|
|
43657
43751
|
});
|
|
43658
43752
|
};
|
|
43659
43753
|
this.clean = (value) => {
|
|
43660
|
-
|
|
43754
|
+
var _a;
|
|
43755
|
+
// a removed attribute leaves null, which counts as no value and no maximum
|
|
43756
|
+
if ((value !== null && value !== void 0 ? value : 0) === 0 || isNaN(value))
|
|
43661
43757
|
return '';
|
|
43662
|
-
|
|
43663
|
-
|
|
43664
|
-
|
|
43665
|
-
}
|
|
43758
|
+
const max = (_a = this.max) !== null && _a !== void 0 ? _a : 0;
|
|
43759
|
+
if (max !== 0 && !Number.isNaN(max) && value > max) {
|
|
43760
|
+
return `+${Number(max).toLocaleString()}`;
|
|
43666
43761
|
}
|
|
43667
43762
|
return Number(value).toLocaleString();
|
|
43668
43763
|
};
|
|
43669
43764
|
}
|
|
43670
43765
|
componentDidRender() {
|
|
43671
|
-
|
|
43766
|
+
var _a;
|
|
43767
|
+
if (((_a = this.target) !== null && _a !== void 0 ? _a : '') === '') {
|
|
43672
43768
|
this.strategy = 'disabled';
|
|
43673
43769
|
return;
|
|
43674
43770
|
}
|
|
@@ -43683,10 +43779,11 @@ class MdsNotification {
|
|
|
43683
43779
|
this.caller = c;
|
|
43684
43780
|
}
|
|
43685
43781
|
componentDidLoad() {
|
|
43782
|
+
var _a;
|
|
43686
43783
|
if (this.strategy === 'disabled') {
|
|
43687
43784
|
return;
|
|
43688
43785
|
}
|
|
43689
|
-
if (this.target !== '' && this.cleanupAutoUpdate == null) {
|
|
43786
|
+
if (((_a = this.target) !== null && _a !== void 0 ? _a : '') !== '' && this.cleanupAutoUpdate == null) {
|
|
43690
43787
|
setTimeout(() => {
|
|
43691
43788
|
this.cleanupAutoUpdate = autoUpdate(this.caller, this.host, this.updatePosition);
|
|
43692
43789
|
}, 100);
|
|
@@ -43702,7 +43799,7 @@ class MdsNotification {
|
|
|
43702
43799
|
}
|
|
43703
43800
|
render() {
|
|
43704
43801
|
var _a;
|
|
43705
|
-
return (hAsync(Host, { key: '
|
|
43802
|
+
return (hAsync(Host, { key: '7ccd6942aef0bc72b1da02625dd1eff455998ef5', "aria-labelledby": this.target, "aria-label": (_a = this.value) !== null && _a !== void 0 ? _a : '0', "pref-animation": preferenceStore.state.animation }, hAsync("mds-text", { key: '8f4283fa8d54781cd37040427fd1c0dc2ee11348', typography: "caption", class: "dot", "aria-hidden": "true" }, this.clean(this.value))));
|
|
43706
43803
|
}
|
|
43707
43804
|
get host() { return getElement(this); }
|
|
43708
43805
|
static get watchers() { return {
|
|
@@ -45841,7 +45938,7 @@ class MdsPrefLanguageItem {
|
|
|
45841
45938
|
// unrecognized code is a real error; empty codes fall back to the `noCode` branch
|
|
45842
45939
|
// already handled in render().
|
|
45843
45940
|
this.validateCode = (code) => {
|
|
45844
|
-
if (code
|
|
45941
|
+
if (code != null && code !== '' && localeDefault[code] === undefined) {
|
|
45845
45942
|
throw Error(`Language code not found: ${code}`);
|
|
45846
45943
|
}
|
|
45847
45944
|
};
|
|
@@ -45856,10 +45953,11 @@ class MdsPrefLanguageItem {
|
|
|
45856
45953
|
this.validateCode(newValue);
|
|
45857
45954
|
}
|
|
45858
45955
|
render() {
|
|
45956
|
+
var _a;
|
|
45859
45957
|
return (
|
|
45860
45958
|
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
45861
45959
|
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
45862
|
-
hAsync(Host, { key: '
|
|
45960
|
+
hAsync(Host, { key: '968d0f761a2c4b2de6652069dc1db4f51d61ee76', onClick: this.handleClick, role: "menuitem" }, ((_a = this.code) !== null && _a !== void 0 ? _a : '') !== '' ? (hAsync("mds-button", { icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text", label: localeDefault[this.code] })) : (hAsync("mds-button", { icon: miBaselineCheckCircle, variant: "error", tone: "text", label: this.t.get('noCode') }))));
|
|
45863
45961
|
}
|
|
45864
45962
|
static get watchers() { return {
|
|
45865
45963
|
"code": [{
|
|
@@ -46396,7 +46494,8 @@ class MdsPrefThemeItem {
|
|
|
46396
46494
|
};
|
|
46397
46495
|
}
|
|
46398
46496
|
componentWillRender() {
|
|
46399
|
-
|
|
46497
|
+
var _a;
|
|
46498
|
+
if (((_a = this.label) !== null && _a !== void 0 ? _a : '') === '') {
|
|
46400
46499
|
this.label = this.name.charAt(0).toUpperCase() + this.name.slice(1).replace(/-/g, ' ');
|
|
46401
46500
|
}
|
|
46402
46501
|
}
|
|
@@ -46404,7 +46503,7 @@ class MdsPrefThemeItem {
|
|
|
46404
46503
|
return (
|
|
46405
46504
|
// the item is an entry of the `menu` the mds-dropdown of the controller opens:
|
|
46406
46505
|
// without the role axe rejects it as a child of that menu (aria-required-children)
|
|
46407
|
-
hAsync(Host, { key: '
|
|
46506
|
+
hAsync(Host, { key: 'd14e86d120deb8ce9c1425dafb96c93e9cba4005', onClick: this.handleClick, role: "menuitem" }, hAsync("mds-button", { key: '60a1cf50d3875d1a6aa5493d6436edab1d96349e', icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text" }, hAsync("div", { key: 'b6cd3b716ea2bf811c90c63156ad5d57e5bd7aed', class: "label" }, hAsync("div", { key: 'cf8468e4b9f3d3b03d5060c9531ae1035555270e', class: "theme-preview" }, hAsync("div", { key: 'b634d507168fdec1c9536d7cac619ff1195ca9f1', class: "theme-color theme-color--variant-primary" }), hAsync("div", { key: '67c459ade780433bde32a6a2ba302ae9814a275c', class: "theme-color theme-color--status-success" }), hAsync("div", { key: 'e68b927681b50d439bf937c55fb33b06b01463f6', class: "theme-color theme-color--status-warning" }), hAsync("div", { key: 'eb392e74cecbeb00d06989d3fe5650977e0328ea', class: "theme-color theme-color--status-error" })), this.label))));
|
|
46408
46507
|
}
|
|
46409
46508
|
static get style() { return mdsPrefThemeItemCss(); }
|
|
46410
46509
|
static get cmpMeta() { return {
|
|
@@ -46914,7 +47013,7 @@ function requireDayjs_min () {
|
|
|
46914
47013
|
if (hasRequiredDayjs_min) return dayjs_min$1.exports;
|
|
46915
47014
|
hasRequiredDayjs_min = 1;
|
|
46916
47015
|
(function (module, exports) {
|
|
46917
|
-
!function(t,e){module.exports=e();}(dayjs_min,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|
|
|
47016
|
+
!function(t,e){module.exports=e();}(dayjs_min,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[p]=true;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,false)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case "YY":return String(e.$y).slice(-2);case "YYYY":return b.s(e.$y,4,"0");case "M":return a+1;case "MM":return b.s(a+1,2,"0");case "MMM":return h(n.monthsShort,a,c,3);case "MMMM":return h(c,a);case "D":return e.$D;case "DD":return b.s(e.$D,2,"0");case "d":return String(e.$W);case "dd":return h(n.weekdaysMin,e.$W,o,2);case "ddd":return h(n.weekdaysShort,e.$W,o,3);case "dddd":return o[e.$W];case "H":return String(s);case "HH":return b.s(s,2,"0");case "h":return d(1);case "hh":return d(2);case "a":return $(s,u,true);case "A":return $(s,u,false);case "m":return String(u);case "mm":return b.s(u,2,"0");case "s":return String(e.$s);case "ss":return b.s(e.$s,2,"0");case "SSS":return b.s(e.$ms,3,"0");case "Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,true);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),Y=_.prototype;return O.prototype=Y,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){Y[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=true),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
|
|
46918
47017
|
} (dayjs_min$1));
|
|
46919
47018
|
return dayjs_min$1.exports;
|
|
46920
47019
|
}
|
|
@@ -47720,11 +47819,13 @@ class MdsStepperBar {
|
|
|
47720
47819
|
this.currentItem = index - 1;
|
|
47721
47820
|
const values = new Array();
|
|
47722
47821
|
this.items.forEach((item, key) => {
|
|
47822
|
+
var _a;
|
|
47723
47823
|
item.done = false;
|
|
47724
47824
|
if (key < this.currentItem) {
|
|
47725
47825
|
item.done = true;
|
|
47726
|
-
|
|
47727
|
-
|
|
47826
|
+
const value = (_a = item.value) !== null && _a !== void 0 ? _a : '';
|
|
47827
|
+
if (value !== '') {
|
|
47828
|
+
values.push(value);
|
|
47728
47829
|
}
|
|
47729
47830
|
}
|
|
47730
47831
|
item.current = false;
|
|
@@ -47802,7 +47903,7 @@ class MdsStepperBar {
|
|
|
47802
47903
|
});
|
|
47803
47904
|
}
|
|
47804
47905
|
render() {
|
|
47805
|
-
return (hAsync(Host, { key: '
|
|
47906
|
+
return (hAsync(Host, { key: '35f536c577499c237e0a5b1865c2dcfaa5735d72' }, hAsync("div", { key: '5c204cc4ca343076982d3357e7645cc8770a22be', class: "items", part: "items" }, hAsync("slot", { key: '69c3b461ada662e58051b875411781a862ff565d' })), hAsync("div", { key: '7fb5381e1126a5227b50ecc202154e44928aab5e', class: "contents", part: "contents" }, hAsync("slot", { key: '535d40033b20590f72e9fef336bda3ed7b06cead', name: "content" }))));
|
|
47806
47907
|
}
|
|
47807
47908
|
get element() { return getElement(this); }
|
|
47808
47909
|
static get watchers() { return {
|
|
@@ -48305,8 +48406,9 @@ class MdsTabBarItem {
|
|
|
48305
48406
|
}
|
|
48306
48407
|
};
|
|
48307
48408
|
this.onSlotChangeHandler = () => {
|
|
48409
|
+
var _a;
|
|
48308
48410
|
/* this should be removed in the future once slotted text is no longer used, use the label property instead */
|
|
48309
|
-
if (this.label !==
|
|
48411
|
+
if (((_a = this.label) !== null && _a !== void 0 ? _a : '') !== '')
|
|
48310
48412
|
return;
|
|
48311
48413
|
this.label = readSlottedLabel(this.element);
|
|
48312
48414
|
};
|
|
@@ -48321,7 +48423,7 @@ class MdsTabBarItem {
|
|
|
48321
48423
|
this.label = sanitizeLabel(newValue);
|
|
48322
48424
|
}
|
|
48323
48425
|
render() {
|
|
48324
|
-
return (hAsync(Host, { key: '
|
|
48426
|
+
return (hAsync(Host, { key: '6e2c08fad0e04d0725ab7ef827c654cf9edecb51', onClick: this.select, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("mds-icon", { key: 'cc8cc878d899d20532b1582ae7eb2aa459a82078', name: this.icon }), hAsync("mds-text", { key: 'ea6030247b5999f34cd64a6a3ea8b15de66ba5ab', typography: this.typography }, this.label || hAsync("slot", { key: 'b922dbfe1b35997ac2c9e9d384e22505838a6994', onSlotchange: this.onSlotChangeHandler }))));
|
|
48325
48427
|
}
|
|
48326
48428
|
get element() { return getElement(this); }
|
|
48327
48429
|
static get watchers() { return {
|
|
@@ -48864,7 +48966,7 @@ class MdsTableHeaderCell {
|
|
|
48864
48966
|
this.tableRowsDefaultSorted = Array.from(this.tableBody.children);
|
|
48865
48967
|
};
|
|
48866
48968
|
this.getValue = (element) => {
|
|
48867
|
-
if (element.value
|
|
48969
|
+
if (element.value != null &&
|
|
48868
48970
|
element.value !== '' &&
|
|
48869
48971
|
element.value !== 0 &&
|
|
48870
48972
|
!Number.isNaN(element.value)) {
|
|
@@ -48947,7 +49049,7 @@ class MdsTableHeaderCell {
|
|
|
48947
49049
|
}
|
|
48948
49050
|
}
|
|
48949
49051
|
render() {
|
|
48950
|
-
return (hAsync(Host, { key: '
|
|
49052
|
+
return (hAsync(Host, { key: 'e7c077673fa918dfd50f25d7b341881f72eaefe2', role: "columnheader", "aria-sort": this.direction, "pref-animation": preferenceStore.state.animation }, this.sortable ? (hAsync("mds-button", { class: "action", icon: clsx(this.direction === 'none' && miBaselineUnfoldMore, this.direction === 'ascending' && miBaselineKeyboardArrowUp, this.direction === 'descending' && miBaselineKeyboardArrowDown), "icon-position": "right", onClick: this.sort, tone: "text", variant: "dark", size: "sm", part: "action", label: this.label })) : (hAsync("mds-text", { class: "label", typography: "label", part: "label" }, this.label))));
|
|
48951
49053
|
}
|
|
48952
49054
|
get element() { return getElement(this); }
|
|
48953
49055
|
static get watchers() { return {
|
|
@@ -49394,7 +49496,8 @@ class MdsText {
|
|
|
49394
49496
|
this.animateText(newValue);
|
|
49395
49497
|
}
|
|
49396
49498
|
render() {
|
|
49397
|
-
|
|
49499
|
+
var _a;
|
|
49500
|
+
return (hAsync(Host, { key: '468c9b04797da9ab100c89474a7a67313aac829b', "pref-animation": preferenceStore.state.animation }, hAsync(this.tag, { key: '245ab42bd31cd0cb4be371f074fee956d3c1c13c', class: "text" }, ((_a = this.text) !== null && _a !== void 0 ? _a : '') === '' ? hAsync("slot", null) : this.text)));
|
|
49398
49501
|
}
|
|
49399
49502
|
get host() { return getElement(this); }
|
|
49400
49503
|
static get watchers() { return {
|
|
@@ -49448,10 +49551,16 @@ class MdsToast {
|
|
|
49448
49551
|
* Sets position of toast
|
|
49449
49552
|
*/
|
|
49450
49553
|
this.position = 'bottom-center';
|
|
49554
|
+
// a removed attribute leaves null, which counts as no duration, like 0
|
|
49555
|
+
this.hasDuration = () => {
|
|
49556
|
+
var _a;
|
|
49557
|
+
const duration = (_a = this.duration) !== null && _a !== void 0 ? _a : 0;
|
|
49558
|
+
return duration !== 0 && !Number.isNaN(duration);
|
|
49559
|
+
};
|
|
49451
49560
|
this.reloadTimeListeners = (visible) => {
|
|
49452
49561
|
if (typeof window === 'undefined')
|
|
49453
49562
|
return;
|
|
49454
|
-
if (this.
|
|
49563
|
+
if (!this.hasDuration()) {
|
|
49455
49564
|
return;
|
|
49456
49565
|
}
|
|
49457
49566
|
if (!visible) {
|
|
@@ -49488,7 +49597,7 @@ class MdsToast {
|
|
|
49488
49597
|
componentWillLoad() {
|
|
49489
49598
|
this.hasText = this.hostElement.innerHTML !== '';
|
|
49490
49599
|
this.hasActions = hasChildWithSlot(this.hostElement, 'action');
|
|
49491
|
-
if (this.
|
|
49600
|
+
if (!this.hasDuration()) {
|
|
49492
49601
|
return;
|
|
49493
49602
|
}
|
|
49494
49603
|
if (this.visible) {
|
|
@@ -49505,7 +49614,7 @@ class MdsToast {
|
|
|
49505
49614
|
this.reloadTimeListeners(!!this.visible);
|
|
49506
49615
|
}
|
|
49507
49616
|
render() {
|
|
49508
|
-
return (hAsync(Host, { key: '
|
|
49617
|
+
return (hAsync(Host, { key: 'd043662b287519f10abe2a4568d2f3458b89857e', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: '5f8945ad6b39700172920d34c405d616c685de61', class: clsx('dialog', this.position && `to-${this.position}`, this.visible && 'dialog--visible') }, hAsync("slot", { key: 'ad778db94450394931cfb554357e91cbf192fe66', name: "icon" }), this.hasText && (hAsync("mds-text", { key: '43ac2cbcd4101ade9b03ec137ec36d512b9fd87e', typography: "caption" }, hAsync("slot", { key: '4ede3cb3db5c6f096fe66ed87f05a1e2deab2b24' }))), hAsync("div", { key: 'd811c95881d28ccba3be66605efb8197235bc1ef', class: clsx('actions', !this.hasActions && 'actions--hidden') }, hAsync("slot", { key: '08e8d1cb3e62bf1eb104a3de3d473ca57a6991e9', name: "action", onSlotchange: this.onActionSlotChange })))));
|
|
49509
49618
|
}
|
|
49510
49619
|
get hostElement() { return getElement(this); }
|
|
49511
49620
|
static get watchers() { return {
|
|
@@ -49628,10 +49737,10 @@ class MdsTooltip {
|
|
|
49628
49737
|
this.floatingController.dismiss();
|
|
49629
49738
|
}
|
|
49630
49739
|
targetChanged() {
|
|
49631
|
-
var _a;
|
|
49632
|
-
if (this.target === '')
|
|
49740
|
+
var _a, _b;
|
|
49741
|
+
if (((_a = this.target) !== null && _a !== void 0 ? _a : '') === '')
|
|
49633
49742
|
return;
|
|
49634
|
-
const caller = (
|
|
49743
|
+
const caller = (_b = this.floatingController) === null || _b === void 0 ? void 0 : _b.updateCaller(this.target);
|
|
49635
49744
|
if (!caller)
|
|
49636
49745
|
return;
|
|
49637
49746
|
this.caller = caller;
|
|
@@ -49653,7 +49762,7 @@ class MdsTooltip {
|
|
|
49653
49762
|
this.floatingController.dismiss();
|
|
49654
49763
|
}
|
|
49655
49764
|
render() {
|
|
49656
|
-
return (hAsync(Host, { key: '
|
|
49765
|
+
return (hAsync(Host, { key: '2031b33e6cc0837318acce18e2298a4bacfc5b0b', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, hAsync("div", { key: 'ba0236540eb28111cba583fc346e4d3717ed0385', class: "arrow", innerHTML: arrowSvg }), hAsync("mds-text", { key: '8aa8abf3be3b4ab25dc1bf4bf85d9fbdb6470639', class: "text", typography: this.typography, part: "text" }, hAsync("slot", { key: '79d6f5b7055890731d8e861985a9de7c5df9c725' }))));
|
|
49657
49766
|
}
|
|
49658
49767
|
get host() { return getElement(this); }
|
|
49659
49768
|
static get watchers() { return {
|