@momentum-ui/web-components 2.17.15 → 2.18.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/dist/109.js +11 -0
- package/dist/1107.js +1 -0
- package/dist/1200.js +26 -0
- package/dist/1250.js +1 -0
- package/dist/1270.js +1 -0
- package/dist/1323.js +26 -0
- package/dist/1392.js +1 -0
- package/dist/1439.js +1 -0
- package/dist/144.js +1 -0
- package/dist/1572.js +1 -0
- package/dist/1598.js +1 -0
- package/dist/1625.js +1 -0
- package/dist/1705.js +1 -0
- package/dist/182.js +1 -0
- package/dist/1869.js +1 -0
- package/dist/1890.js +1 -0
- package/dist/195.js +1 -0
- package/dist/2019.js +1 -0
- package/dist/2043.js +1 -0
- package/dist/2176.js +1 -0
- package/dist/2215.js +1 -0
- package/dist/2243.js +1 -0
- package/dist/2547.js +218 -0
- package/dist/2576.js +1 -0
- package/dist/2798.js +1 -0
- package/dist/2972.js +1 -0
- package/dist/2984.js +1 -0
- package/dist/300.js +1 -0
- package/dist/3001.js +1 -0
- package/dist/3112.js +1 -0
- package/dist/3135.js +1 -0
- package/dist/3192.js +23 -0
- package/dist/3553.js +1 -0
- package/dist/3604.js +1 -0
- package/dist/3625.js +1 -0
- package/dist/3663.js +1 -0
- package/dist/3866.js +1 -0
- package/dist/4006.js +1 -0
- package/dist/4392.js +1 -0
- package/dist/4400.js +1 -0
- package/dist/4548.js +1 -0
- package/dist/4624.js +1 -0
- package/dist/4663.js +1 -0
- package/dist/4974.js +1 -0
- package/dist/4977.js +1 -0
- package/dist/5211.js +1 -0
- package/dist/528.js +12 -0
- package/dist/5382.js +1 -0
- package/dist/{chunks/md-2.js → 5433.js} +1 -1
- package/dist/5467.js +1 -0
- package/dist/573.js +1 -0
- package/dist/5801.js +22 -0
- package/dist/587.js +1 -0
- package/dist/591.js +1 -0
- package/dist/6015.js +1 -0
- package/dist/6067.js +1 -0
- package/dist/6272.js +1 -0
- package/dist/6273.js +45 -0
- package/dist/630.js +1 -0
- package/dist/6325.js +1 -0
- package/dist/6366.js +1 -0
- package/dist/6396.js +9 -0
- package/dist/6400.js +1 -0
- package/dist/6408.js +124 -0
- package/dist/6441.js +1 -0
- package/dist/6652.js +47 -0
- package/dist/6677.js +1 -0
- package/dist/6700.js +1 -0
- package/dist/671.js +1 -0
- package/dist/6754.js +17 -0
- package/dist/6795.js +1 -0
- package/dist/6798.js +77 -0
- package/dist/6875.js +1 -0
- package/dist/6979.js +1 -0
- package/dist/7030.js +1 -0
- package/dist/7092.js +1 -0
- package/dist/7103.js +1 -0
- package/dist/7251.js +1 -0
- package/dist/7330.js +1 -0
- package/dist/7502.js +1 -0
- package/dist/754.js +1 -0
- package/dist/76.js +1 -0
- package/dist/768.js +1 -0
- package/dist/7719.js +1 -0
- package/dist/7763.js +1 -0
- package/dist/779.js +1 -0
- package/dist/7814.js +8 -0
- package/dist/7833.js +1 -0
- package/dist/7875.js +1 -0
- package/dist/7919.js +1 -0
- package/dist/8028.js +44 -0
- package/dist/8171.js +16 -0
- package/dist/8210.js +1 -0
- package/dist/8227.js +1 -0
- package/dist/8373.js +1 -0
- package/dist/8387.js +1 -0
- package/dist/8521.js +1 -0
- package/dist/8728.js +1 -0
- package/dist/8841.js +1 -0
- package/dist/8889.js +1 -0
- package/dist/9058.js +1 -0
- package/dist/9618.js +1 -0
- package/dist/9719.js +1 -0
- package/dist/9788.js +7 -0
- package/dist/9813.js +1 -0
- package/dist/984.js +8 -0
- package/dist/assets/styles/fonts.css +13 -0
- package/dist/chunks/md-1012.js +1 -0
- package/dist/chunks/md-1036.js +1 -0
- package/dist/chunks/md-108.js +1 -1
- package/dist/chunks/md-1180.js +1 -0
- package/dist/chunks/md-1192.js +1 -0
- package/dist/chunks/md-1297.js +1 -0
- package/dist/chunks/md-1352.js +1 -0
- package/dist/chunks/md-1497.js +1 -0
- package/dist/chunks/md-1519.js +1 -0
- package/dist/chunks/md-1533.js +1 -0
- package/dist/chunks/md-1679.js +1 -0
- package/dist/chunks/md-1786.js +1 -0
- package/dist/chunks/md-181.js +1 -1
- package/dist/chunks/md-1870.js +1 -0
- package/dist/chunks/md-1942.js +1 -0
- package/dist/chunks/md-1983.js +1 -0
- package/dist/chunks/md-2052.js +1 -0
- package/dist/chunks/md-2086.js +1 -0
- package/dist/chunks/md-2224.js +1 -0
- package/dist/chunks/md-2241.js +1 -0
- package/dist/chunks/md-2292.js +1 -0
- package/dist/chunks/md-2329.js +1 -0
- package/dist/chunks/md-2402.js +1 -0
- package/dist/chunks/md-2539.js +1 -0
- package/dist/chunks/md-258.js +1 -1
- package/dist/chunks/md-2670.js +1 -0
- package/dist/chunks/md-2698.js +1 -0
- package/dist/chunks/md-2701.js +1 -0
- package/dist/chunks/md-2731.js +1 -0
- package/dist/chunks/md-279.js +1 -1
- package/dist/chunks/md-2825.js +1 -0
- package/dist/chunks/md-2896.js +1 -0
- package/dist/chunks/md-2904.js +1 -0
- package/dist/chunks/md-2923.js +1 -0
- package/dist/chunks/md-2962.js +1 -0
- package/dist/chunks/md-2970.js +1 -0
- package/dist/chunks/md-2978.js +1 -0
- package/dist/chunks/md-3035.js +1 -0
- package/dist/chunks/md-3105.js +1 -0
- package/dist/chunks/md-3195.js +1 -0
- package/dist/chunks/md-3206.js +1 -0
- package/dist/chunks/md-3231.js +1 -0
- package/dist/chunks/md-3255.js +1 -0
- package/dist/chunks/md-3270.js +1 -0
- package/dist/chunks/md-3315.js +1 -0
- package/dist/chunks/md-3399.js +1 -0
- package/dist/chunks/md-3402.js +1 -0
- package/dist/chunks/md-3409.js +1 -0
- package/dist/chunks/md-3447.js +1 -0
- package/dist/chunks/md-3458.js +1 -0
- package/dist/chunks/md-3543.js +1 -0
- package/dist/chunks/md-3557.js +1 -0
- package/dist/chunks/md-3618.js +1 -0
- package/dist/chunks/md-364.js +1 -0
- package/dist/chunks/md-3666.js +1 -0
- package/dist/chunks/md-3712.js +1 -0
- package/dist/chunks/md-3732.js +1 -0
- package/dist/chunks/md-3838.js +1 -0
- package/dist/chunks/md-4058.js +1 -0
- package/dist/chunks/md-4108.js +1 -0
- package/dist/chunks/md-4113.js +1 -0
- package/dist/chunks/md-4125.js +1 -0
- package/dist/chunks/md-414.js +1 -0
- package/dist/chunks/md-4177.js +1 -0
- package/dist/chunks/md-4205.js +1 -0
- package/dist/chunks/md-431.js +1 -0
- package/dist/chunks/md-4321.js +1 -0
- package/dist/chunks/md-436.js +1 -0
- package/dist/chunks/md-4412.js +1 -0
- package/dist/chunks/md-4460.js +1 -0
- package/dist/chunks/md-4490.js +1 -0
- package/dist/chunks/md-4561.js +1 -0
- package/dist/chunks/md-4564.js +1 -0
- package/dist/chunks/md-4608.js +1 -0
- package/dist/chunks/md-4635.js +1 -0
- package/dist/chunks/md-4659.js +1 -0
- package/dist/chunks/md-4701.js +1 -0
- package/dist/chunks/md-4714.js +1 -0
- package/dist/chunks/md-4745.js +1 -0
- package/dist/chunks/md-4893.js +1 -0
- package/dist/chunks/md-4896.js +1 -0
- package/dist/chunks/md-4904.js +1 -0
- package/dist/chunks/md-5076.js +1 -0
- package/dist/chunks/md-5089.js +1 -0
- package/dist/chunks/md-5093.js +1 -0
- package/dist/chunks/md-5117.js +1 -0
- package/dist/chunks/md-5133.js +1 -0
- package/dist/chunks/md-5320.js +1 -0
- package/dist/chunks/md-5331.js +1 -0
- package/dist/chunks/md-5344.js +1 -0
- package/dist/chunks/md-5439.js +1 -0
- package/dist/chunks/md-5449.js +1 -0
- package/dist/chunks/md-5468.js +1 -0
- package/dist/chunks/md-5506.js +1 -0
- package/dist/chunks/md-5579.js +1 -0
- package/dist/chunks/md-5610.js +1 -0
- package/dist/chunks/md-5617.js +1 -0
- package/dist/chunks/md-5672.js +1 -0
- package/dist/chunks/md-5754.js +1 -0
- package/dist/chunks/md-5772.js +1 -0
- package/dist/chunks/md-5790.js +1 -0
- package/dist/chunks/md-581.js +1 -0
- package/dist/chunks/md-5812.js +1 -0
- package/dist/chunks/md-5814.js +1 -0
- package/dist/chunks/md-5892.js +1 -0
- package/dist/chunks/md-593.js +1 -0
- package/dist/chunks/md-5976.js +1 -0
- package/dist/chunks/md-6023.js +1 -0
- package/dist/chunks/md-6033.js +1 -0
- package/dist/chunks/md-6122.js +1 -0
- package/dist/chunks/md-6269.js +1 -0
- package/dist/chunks/md-634.js +1 -0
- package/dist/chunks/md-6384.js +1 -0
- package/dist/chunks/md-6414.js +1 -0
- package/dist/chunks/md-6427.js +1 -0
- package/dist/chunks/md-6478.js +1 -0
- package/dist/chunks/md-6503.js +1 -0
- package/dist/chunks/md-6571.js +1 -0
- package/dist/chunks/md-6617.js +1 -0
- package/dist/chunks/md-6685.js +1 -0
- package/dist/chunks/md-6722.js +1 -0
- package/dist/chunks/md-6756.js +1 -0
- package/dist/chunks/md-6809.js +1 -0
- package/dist/chunks/md-6891.js +1 -0
- package/dist/chunks/md-7003.js +1 -0
- package/dist/chunks/md-7005.js +1 -0
- package/dist/chunks/md-7015.js +1 -0
- package/dist/chunks/md-7040.js +1 -0
- package/dist/chunks/md-7044.js +1 -0
- package/dist/chunks/md-7053.js +1 -0
- package/dist/chunks/md-7186.js +1 -0
- package/dist/chunks/md-7192.js +1 -0
- package/dist/chunks/md-7204.js +1 -0
- package/dist/chunks/md-7220.js +1 -0
- package/dist/chunks/md-7246.js +1 -0
- package/dist/chunks/md-7285.js +1 -0
- package/dist/chunks/md-7292.js +1 -0
- package/dist/chunks/md-736.js +1 -0
- package/dist/chunks/md-7492.js +1 -0
- package/dist/chunks/md-7522.js +1 -0
- package/dist/chunks/md-7533.js +1 -0
- package/dist/chunks/md-7556.js +1 -0
- package/dist/chunks/md-7601.js +1 -0
- package/dist/chunks/md-7909.js +1 -0
- package/dist/chunks/md-7918.js +1 -0
- package/dist/chunks/md-7939.js +1 -0
- package/dist/chunks/md-8100.js +1 -0
- package/dist/chunks/md-8103.js +1 -0
- package/dist/chunks/md-8126.js +1 -0
- package/dist/chunks/md-8130.js +1 -0
- package/dist/chunks/md-8186.js +1 -0
- package/dist/chunks/md-8199.js +1 -0
- package/dist/chunks/md-8206.js +1 -0
- package/dist/chunks/md-8254.js +1 -0
- package/dist/chunks/md-8327.js +1 -0
- package/dist/chunks/md-8333.js +1 -0
- package/dist/chunks/md-8385.js +1 -0
- package/dist/chunks/md-8425.js +1 -0
- package/dist/chunks/md-8451.js +1 -0
- package/dist/chunks/md-8454.js +1 -0
- package/dist/chunks/md-8514.js +1 -0
- package/dist/chunks/md-8557.js +1 -0
- package/dist/chunks/md-8670.js +1 -0
- package/dist/chunks/md-8713.js +1 -0
- package/dist/chunks/md-8811.js +1 -0
- package/dist/chunks/md-8891.js +1 -0
- package/dist/chunks/md-9040.js +1 -0
- package/dist/chunks/md-9081.js +1 -0
- package/dist/chunks/md-9104.js +1 -0
- package/dist/chunks/md-9115.js +1 -0
- package/dist/chunks/md-9129.js +1 -0
- package/dist/chunks/md-9139.js +1 -0
- package/dist/chunks/md-9156.js +1 -0
- package/dist/chunks/md-9277.js +1 -0
- package/dist/chunks/md-9350.js +1 -0
- package/dist/chunks/md-9387.js +1 -0
- package/dist/chunks/md-9405.js +1 -0
- package/dist/chunks/md-9407.js +1 -0
- package/dist/chunks/md-9412.js +1 -0
- package/dist/chunks/md-9428.js +1 -0
- package/dist/chunks/md-9433.js +1 -0
- package/dist/chunks/md-945.js +1 -0
- package/dist/chunks/md-9497.js +1 -0
- package/dist/chunks/md-9559.js +1 -0
- package/dist/chunks/md-959.js +1 -0
- package/dist/chunks/md-9614.js +1 -0
- package/dist/chunks/md-9688.js +1 -0
- package/dist/chunks/md-9689.js +1 -0
- package/dist/chunks/md-9721.js +1 -0
- package/dist/chunks/md-9789.js +1 -0
- package/dist/chunks/md-9927.js +1 -0
- package/dist/chunks/md-9934.js +1 -0
- package/dist/chunks/md-9975.js +1 -0
- package/dist/chunks/md-9980.js +1 -0
- package/dist/comp/md-accordion-entry.js +5 -1
- package/dist/comp/md-accordion-item-entry.js +38 -1
- package/dist/comp/md-accordion-item.js +1 -15
- package/dist/comp/md-accordion.js +1 -11
- package/dist/comp/md-activity-button-entry.js +13 -1
- package/dist/comp/md-activity-button.js +1 -9
- package/dist/comp/md-advance-list-entry.js +35 -1
- package/dist/comp/md-advance-list.js +1 -7
- package/dist/comp/md-alert-banner-entry.js +36 -1
- package/dist/comp/md-alert-banner.js +1 -9
- package/dist/comp/md-alert-entry.js +156 -1
- package/dist/comp/md-alert.js +1 -10
- package/dist/comp/md-audio-player-entry.js +98 -1
- package/dist/comp/md-audio-player.js +1 -17
- package/dist/comp/md-avatar-entry.js +44 -1
- package/dist/comp/md-avatar.js +1 -11
- package/dist/comp/md-badge-entry.js +33 -1
- package/dist/comp/md-badge.js +1 -4
- package/dist/comp/md-breadcrumb-entry.js +11 -1
- package/dist/comp/md-breadcrumb.js +1 -4
- package/dist/comp/md-button-entry.js +77 -1
- package/dist/comp/md-button-group-entry.js +5 -1
- package/dist/comp/md-button-group.js +1 -10
- package/dist/comp/md-button.js +1 -6
- package/dist/comp/md-card-ai-entry.js +77 -1
- package/dist/comp/md-card-ai.js +1 -9
- package/dist/comp/md-card-entry.js +98 -1
- package/dist/comp/md-card.js +1 -23
- package/dist/comp/md-chat-message-entry.js +28 -1
- package/dist/comp/md-chat-message.js +1 -12
- package/dist/comp/md-checkbox-entry.js +14 -1
- package/dist/comp/md-checkbox.js +1 -11
- package/dist/comp/md-checkboxgroup-entry.js +5 -1
- package/dist/comp/md-checkboxgroup.js +1 -11
- package/dist/comp/md-chip-entry.js +71 -1
- package/dist/comp/md-chip.js +1 -14
- package/dist/comp/md-coachmark-entry.js +22 -1
- package/dist/comp/md-coachmark-popover-entry.js +72 -1
- package/dist/comp/md-coachmark-popover.js +1 -15
- package/dist/comp/md-coachmark.js +1 -13
- package/dist/comp/md-combobox-entry.js +218 -1
- package/dist/comp/md-combobox.js +1 -17
- package/dist/comp/md-composite-avatar-entry.js +5 -1
- package/dist/comp/md-composite-avatar.js +1 -5
- package/dist/comp/md-date-range-picker-entry.js +1 -1
- package/dist/comp/md-date-range-picker.js +1 -26
- package/dist/comp/md-date-time-picker-entry.js +24 -1
- package/dist/comp/md-date-time-picker.js +1 -19
- package/dist/comp/md-datepicker-calendar-entry.js +47 -1
- package/dist/comp/md-datepicker-calendar.js +1 -14
- package/dist/comp/md-datepicker-day-entry.js +17 -1
- package/dist/comp/md-datepicker-day.js +1 -9
- package/dist/comp/md-datepicker-entry.js +45 -1
- package/dist/comp/md-datepicker-month-entry.js +8 -1
- package/dist/comp/md-datepicker-month.js +1 -11
- package/dist/comp/md-datepicker-week-entry.js +8 -1
- package/dist/comp/md-datepicker-week.js +1 -10
- package/dist/comp/md-datepicker.js +1 -25
- package/dist/comp/md-draggable-entry.js +5 -1
- package/dist/comp/md-draggable-item-entry.js +11 -1
- package/dist/comp/md-draggable-item.js +1 -11
- package/dist/comp/md-draggable.js +1 -12
- package/dist/comp/md-dropdown-entry.js +138 -1
- package/dist/comp/md-dropdown.js +1 -15
- package/dist/comp/md-editable-field-entry.js +153 -1
- package/dist/comp/md-editable-field.js +1 -15
- package/dist/comp/md-favorite-entry.js +23 -1
- package/dist/comp/md-favorite.js +1 -14
- package/dist/comp/md-floating-minimize-entry.js +30 -1
- package/dist/comp/md-floating-minimize.js +1 -15
- package/dist/comp/md-floating-modal-entry.js +99 -1
- package/dist/comp/md-floating-modal.js +1 -16
- package/dist/comp/md-form-entry.js +19 -1
- package/dist/comp/md-form.js +1 -9
- package/dist/comp/md-grabber-entry.js +22 -1
- package/dist/comp/md-grabber.js +1 -15
- package/dist/comp/md-help-text-entry.js +11 -1
- package/dist/comp/md-help-text.js +1 -4
- package/dist/comp/md-icon-entry.js +26 -1
- package/dist/comp/md-icon.js +1 -8
- package/dist/comp/md-inpu.js +1 -12
- package/dist/comp/md-input-entry.js +124 -1
- package/dist/comp/md-input-file.js +17 -1
- package/dist/comp/md-input.js +1 -13
- package/dist/comp/md-label-entry.js +9 -1
- package/dist/comp/md-label.js +1 -4
- package/dist/comp/md-link-entry.js +36 -1
- package/dist/comp/md-link.js +1 -4
- package/dist/comp/md-list-entry.js +5 -1
- package/dist/comp/md-list-item-entry.js +5 -1
- package/dist/comp/md-list-item.js +1 -11
- package/dist/comp/md-list.js +1 -11
- package/dist/comp/md-loading-entry.js +7 -1
- package/dist/comp/md-loading.js +1 -4
- package/dist/comp/md-meeting-alert-entry.js +55 -1
- package/dist/comp/md-meeting-alert.js +1 -12
- package/dist/comp/md-menu-entry.js +7 -1
- package/dist/comp/md-menu-item-entry.js +16 -1
- package/dist/comp/md-menu-item.js +1 -4
- package/dist/comp/md-menu-overlay-entry.js +26 -1
- package/dist/comp/md-menu-overlay.js +1 -9
- package/dist/comp/md-menu.js +1 -8
- package/dist/comp/md-modal-entry.js +73 -1
- package/dist/comp/md-modal.js +1 -15
- package/dist/comp/md-pagination-entry.js +78 -1
- package/dist/comp/md-pagination.js +1 -9
- package/dist/comp/md-phone-input-entry.js +71 -1
- package/dist/comp/md-phone-input.js +1 -20
- package/dist/comp/md-popover-entry.js +26 -1
- package/dist/comp/md-popover.js +1 -14
- package/dist/comp/md-progress-bar-entry.js +21 -1
- package/dist/comp/md-progress-bar.js +1 -4
- package/dist/comp/md-radio-entry.js +17 -1
- package/dist/comp/md-radio.js +1 -11
- package/dist/comp/md-radiogroup-entry.js +5 -1
- package/dist/comp/md-radiogroup.js +1 -11
- package/dist/comp/md-slider-entry.js +19 -1
- package/dist/comp/md-slider.js +1 -10
- package/dist/comp/md-spinner-entry.js +1 -1
- package/dist/comp/md-spinner.js +1 -4
- package/dist/comp/md-tab-entry.js +27 -1
- package/dist/comp/md-tab-panel-entry.js +1 -1
- package/dist/comp/md-tab-panel.js +1 -11
- package/dist/comp/md-tab.js +1 -11
- package/dist/comp/md-table-advanced-entry.js +168 -1
- package/dist/comp/md-table-advanced.js +1 -15
- package/dist/comp/md-table-entry.js +43 -1
- package/dist/comp/md-table.js +1 -9
- package/dist/comp/md-tabs-entry.js +129 -1
- package/dist/comp/md-tabs.js +1 -22
- package/dist/comp/md-task-item-entry.js +114 -1
- package/dist/comp/md-task-item.js +1 -10
- package/dist/comp/md-theme-entry.js +12 -1
- package/dist/comp/md-theme.js +1 -4
- package/dist/comp/md-timepicker-entry.js +45 -1
- package/dist/comp/md-timepicker.js +1 -22
- package/dist/comp/md-toggle-switch-entry.js +34 -1
- package/dist/comp/md-toggle-switch.js +1 -11
- package/dist/comp/md-tooltip-entry.js +23 -1
- package/dist/comp/md-tooltip.js +1 -12
- package/dist/index-entry.js +2615 -2
- package/dist/index.js +1 -94
- package/dist/managers/thememanager-entry.js +1 -1
- package/dist/managers/thememanager.js +1 -2
- package/dist/types/components/accordion/Accordion.d.ts +2 -2
- package/dist/types/components/card-ai/CardAi.d.ts +2 -0
- package/dist/types/components/date-range-picker/DateRangePicker.d.ts +3 -4
- package/dist/types/components/date-time-picker/DateTimePicker.d.ts +6 -7
- package/dist/types/components/datepicker/DatePicker.d.ts +3 -3
- package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +3 -1
- package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +1 -1
- package/dist/types/components/input/Input.d.ts +1 -0
- package/dist/types/components/timepicker/TimePicker.d.ts +1 -2
- package/dist/types/utils/dateUtils.d.ts +19 -4
- package/package.json +6 -6
- package/dist/chunks/md-0.js +0 -1
- package/dist/chunks/md-1.js +0 -1
- package/dist/chunks/md-10.js +0 -1
- package/dist/chunks/md-100.js +0 -1
- package/dist/chunks/md-101.js +0 -1
- package/dist/chunks/md-102.js +0 -1
- package/dist/chunks/md-103.js +0 -1
- package/dist/chunks/md-104.js +0 -1
- package/dist/chunks/md-105.js +0 -1
- package/dist/chunks/md-106.js +0 -1
- package/dist/chunks/md-107.js +0 -1
- package/dist/chunks/md-109.js +0 -1
- package/dist/chunks/md-11.js +0 -1
- package/dist/chunks/md-110.js +0 -1
- package/dist/chunks/md-111.js +0 -1
- package/dist/chunks/md-112.js +0 -1
- package/dist/chunks/md-113.js +0 -1
- package/dist/chunks/md-114.js +0 -1
- package/dist/chunks/md-115.js +0 -1
- package/dist/chunks/md-116.js +0 -1
- package/dist/chunks/md-117.js +0 -1
- package/dist/chunks/md-118.js +0 -1
- package/dist/chunks/md-119.js +0 -1
- package/dist/chunks/md-12.js +0 -1
- package/dist/chunks/md-120.js +0 -1
- package/dist/chunks/md-121.js +0 -1
- package/dist/chunks/md-122.js +0 -1
- package/dist/chunks/md-123.js +0 -1
- package/dist/chunks/md-124.js +0 -1
- package/dist/chunks/md-125.js +0 -1
- package/dist/chunks/md-126.js +0 -1
- package/dist/chunks/md-127.js +0 -1
- package/dist/chunks/md-128.js +0 -1
- package/dist/chunks/md-129.js +0 -1
- package/dist/chunks/md-13.js +0 -1
- package/dist/chunks/md-130.js +0 -1
- package/dist/chunks/md-131.js +0 -1
- package/dist/chunks/md-132.js +0 -1
- package/dist/chunks/md-133.js +0 -1
- package/dist/chunks/md-134.js +0 -1
- package/dist/chunks/md-135.js +0 -1
- package/dist/chunks/md-136.js +0 -1
- package/dist/chunks/md-137.js +0 -1
- package/dist/chunks/md-138.js +0 -1
- package/dist/chunks/md-139.js +0 -1
- package/dist/chunks/md-14.js +0 -11
- package/dist/chunks/md-140.js +0 -1
- package/dist/chunks/md-141.js +0 -1
- package/dist/chunks/md-142.js +0 -1
- package/dist/chunks/md-143.js +0 -1
- package/dist/chunks/md-144.js +0 -1
- package/dist/chunks/md-145.js +0 -1
- package/dist/chunks/md-146.js +0 -1
- package/dist/chunks/md-147.js +0 -1
- package/dist/chunks/md-148.js +0 -1
- package/dist/chunks/md-149.js +0 -1
- package/dist/chunks/md-15.js +0 -9
- package/dist/chunks/md-150.js +0 -1
- package/dist/chunks/md-151.js +0 -1
- package/dist/chunks/md-152.js +0 -1
- package/dist/chunks/md-153.js +0 -1
- package/dist/chunks/md-154.js +0 -1
- package/dist/chunks/md-155.js +0 -1
- package/dist/chunks/md-156.js +0 -1
- package/dist/chunks/md-157.js +0 -1
- package/dist/chunks/md-158.js +0 -1
- package/dist/chunks/md-159.js +0 -1
- package/dist/chunks/md-16.js +0 -1
- package/dist/chunks/md-160.js +0 -1
- package/dist/chunks/md-161.js +0 -1
- package/dist/chunks/md-162.js +0 -1
- package/dist/chunks/md-163.js +0 -1
- package/dist/chunks/md-164.js +0 -1
- package/dist/chunks/md-165.js +0 -1
- package/dist/chunks/md-166.js +0 -1
- package/dist/chunks/md-167.js +0 -1
- package/dist/chunks/md-168.js +0 -1
- package/dist/chunks/md-169.js +0 -1
- package/dist/chunks/md-17.js +0 -26
- package/dist/chunks/md-170.js +0 -1
- package/dist/chunks/md-171.js +0 -1
- package/dist/chunks/md-172.js +0 -1
- package/dist/chunks/md-173.js +0 -1
- package/dist/chunks/md-174.js +0 -1
- package/dist/chunks/md-175.js +0 -1
- package/dist/chunks/md-176.js +0 -1
- package/dist/chunks/md-177.js +0 -1
- package/dist/chunks/md-178.js +0 -1
- package/dist/chunks/md-179.js +0 -1
- package/dist/chunks/md-18.js +0 -124
- package/dist/chunks/md-180.js +0 -1
- package/dist/chunks/md-182.js +0 -1
- package/dist/chunks/md-183.js +0 -1
- package/dist/chunks/md-184.js +0 -1
- package/dist/chunks/md-185.js +0 -1
- package/dist/chunks/md-186.js +0 -1
- package/dist/chunks/md-187.js +0 -1
- package/dist/chunks/md-188.js +0 -1
- package/dist/chunks/md-189.js +0 -1
- package/dist/chunks/md-19.js +0 -1
- package/dist/chunks/md-190.js +0 -1
- package/dist/chunks/md-191.js +0 -1
- package/dist/chunks/md-192.js +0 -1
- package/dist/chunks/md-193.js +0 -1
- package/dist/chunks/md-194.js +0 -1
- package/dist/chunks/md-195.js +0 -1
- package/dist/chunks/md-196.js +0 -1
- package/dist/chunks/md-197.js +0 -1
- package/dist/chunks/md-198.js +0 -1
- package/dist/chunks/md-199.js +0 -1
- package/dist/chunks/md-20.js +0 -17
- package/dist/chunks/md-200.js +0 -1
- package/dist/chunks/md-201.js +0 -1
- package/dist/chunks/md-202.js +0 -1
- package/dist/chunks/md-203.js +0 -1
- package/dist/chunks/md-204.js +0 -1
- package/dist/chunks/md-205.js +0 -1
- package/dist/chunks/md-206.js +0 -1
- package/dist/chunks/md-207.js +0 -1
- package/dist/chunks/md-208.js +0 -1
- package/dist/chunks/md-209.js +0 -1
- package/dist/chunks/md-21.js +0 -23
- package/dist/chunks/md-210.js +0 -1
- package/dist/chunks/md-211.js +0 -1
- package/dist/chunks/md-212.js +0 -1
- package/dist/chunks/md-213.js +0 -1
- package/dist/chunks/md-214.js +0 -1
- package/dist/chunks/md-215.js +0 -1
- package/dist/chunks/md-216.js +0 -1
- package/dist/chunks/md-217.js +0 -1
- package/dist/chunks/md-218.js +0 -1
- package/dist/chunks/md-219.js +0 -1
- package/dist/chunks/md-22.js +0 -8
- package/dist/chunks/md-220.js +0 -1
- package/dist/chunks/md-221.js +0 -1
- package/dist/chunks/md-222.js +0 -1
- package/dist/chunks/md-223.js +0 -1
- package/dist/chunks/md-224.js +0 -1
- package/dist/chunks/md-225.js +0 -1
- package/dist/chunks/md-226.js +0 -1
- package/dist/chunks/md-227.js +0 -1
- package/dist/chunks/md-228.js +0 -1
- package/dist/chunks/md-229.js +0 -1
- package/dist/chunks/md-23.js +0 -1
- package/dist/chunks/md-230.js +0 -1
- package/dist/chunks/md-231.js +0 -1
- package/dist/chunks/md-232.js +0 -1
- package/dist/chunks/md-233.js +0 -1
- package/dist/chunks/md-234.js +0 -1
- package/dist/chunks/md-235.js +0 -1
- package/dist/chunks/md-236.js +0 -1
- package/dist/chunks/md-237.js +0 -1
- package/dist/chunks/md-238.js +0 -1
- package/dist/chunks/md-239.js +0 -1
- package/dist/chunks/md-24.js +0 -1
- package/dist/chunks/md-240.js +0 -1
- package/dist/chunks/md-241.js +0 -1
- package/dist/chunks/md-242.js +0 -1
- package/dist/chunks/md-243.js +0 -1
- package/dist/chunks/md-244.js +0 -1
- package/dist/chunks/md-245.js +0 -1
- package/dist/chunks/md-246.js +0 -1
- package/dist/chunks/md-247.js +0 -1
- package/dist/chunks/md-248.js +0 -1
- package/dist/chunks/md-249.js +0 -1
- package/dist/chunks/md-25.js +0 -7
- package/dist/chunks/md-250.js +0 -1
- package/dist/chunks/md-251.js +0 -1
- package/dist/chunks/md-252.js +0 -1
- package/dist/chunks/md-253.js +0 -1
- package/dist/chunks/md-254.js +0 -1
- package/dist/chunks/md-255.js +0 -1
- package/dist/chunks/md-256.js +0 -1
- package/dist/chunks/md-257.js +0 -1
- package/dist/chunks/md-259.js +0 -1
- package/dist/chunks/md-26.js +0 -8
- package/dist/chunks/md-260.js +0 -1
- package/dist/chunks/md-261.js +0 -1
- package/dist/chunks/md-262.js +0 -1
- package/dist/chunks/md-263.js +0 -1
- package/dist/chunks/md-264.js +0 -1
- package/dist/chunks/md-265.js +0 -1
- package/dist/chunks/md-266.js +0 -1
- package/dist/chunks/md-267.js +0 -1
- package/dist/chunks/md-268.js +0 -1
- package/dist/chunks/md-269.js +0 -1
- package/dist/chunks/md-27.js +0 -1
- package/dist/chunks/md-270.js +0 -1
- package/dist/chunks/md-271.js +0 -1
- package/dist/chunks/md-272.js +0 -1
- package/dist/chunks/md-273.js +0 -1
- package/dist/chunks/md-274.js +0 -1
- package/dist/chunks/md-275.js +0 -1
- package/dist/chunks/md-276.js +0 -1
- package/dist/chunks/md-277.js +0 -1
- package/dist/chunks/md-278.js +0 -1
- package/dist/chunks/md-28.js +0 -1
- package/dist/chunks/md-280.js +0 -1
- package/dist/chunks/md-281.js +0 -1
- package/dist/chunks/md-282.js +0 -1
- package/dist/chunks/md-283.js +0 -1
- package/dist/chunks/md-29.js +0 -55
- package/dist/chunks/md-3.js +0 -1
- package/dist/chunks/md-30.js +0 -1
- package/dist/chunks/md-31.js +0 -216
- package/dist/chunks/md-32.js +0 -49
- package/dist/chunks/md-33.js +0 -1
- package/dist/chunks/md-34.js +0 -1
- package/dist/chunks/md-35.js +0 -36
- package/dist/chunks/md-36.js +0 -33
- package/dist/chunks/md-37.js +0 -23
- package/dist/chunks/md-38.js +0 -5
- package/dist/chunks/md-39.js +0 -5
- package/dist/chunks/md-4.js +0 -1
- package/dist/chunks/md-40.js +0 -1
- package/dist/chunks/md-41.js +0 -21
- package/dist/chunks/md-42.js +0 -26
- package/dist/chunks/md-43.js +0 -44
- package/dist/chunks/md-44.js +0 -1
- package/dist/chunks/md-45.js +0 -30
- package/dist/chunks/md-46.js +0 -16
- package/dist/chunks/md-47.js +0 -1
- package/dist/chunks/md-48.js +0 -27
- package/dist/chunks/md-49.js +0 -5
- package/dist/chunks/md-5.js +0 -1
- package/dist/chunks/md-50.js +0 -38
- package/dist/chunks/md-51.js +0 -13
- package/dist/chunks/md-52.js +0 -35
- package/dist/chunks/md-53.js +0 -36
- package/dist/chunks/md-54.js +0 -121
- package/dist/chunks/md-55.js +0 -98
- package/dist/chunks/md-56.js +0 -11
- package/dist/chunks/md-57.js +0 -5
- package/dist/chunks/md-58.js +0 -77
- package/dist/chunks/md-59.js +0 -68
- package/dist/chunks/md-6.js +0 -1
- package/dist/chunks/md-60.js +0 -28
- package/dist/chunks/md-61.js +0 -14
- package/dist/chunks/md-62.js +0 -5
- package/dist/chunks/md-63.js +0 -51
- package/dist/chunks/md-64.js +0 -22
- package/dist/chunks/md-65.js +0 -47
- package/dist/chunks/md-66.js +0 -5
- package/dist/chunks/md-67.js +0 -1
- package/dist/chunks/md-68.js +0 -23
- package/dist/chunks/md-69.js +0 -5
- package/dist/chunks/md-7.js +0 -77
- package/dist/chunks/md-70.js +0 -11
- package/dist/chunks/md-71.js +0 -138
- package/dist/chunks/md-72.js +0 -30
- package/dist/chunks/md-73.js +0 -70
- package/dist/chunks/md-74.js +0 -19
- package/dist/chunks/md-75.js +0 -22
- package/dist/chunks/md-76.js +0 -17
- package/dist/chunks/md-77.js +0 -76
- package/dist/chunks/md-78.js +0 -7
- package/dist/chunks/md-79.js +0 -73
- package/dist/chunks/md-8.js +0 -1
- package/dist/chunks/md-80.js +0 -78
- package/dist/chunks/md-81.js +0 -71
- package/dist/chunks/md-82.js +0 -17
- package/dist/chunks/md-83.js +0 -5
- package/dist/chunks/md-84.js +0 -19
- package/dist/chunks/md-85.js +0 -1
- package/dist/chunks/md-86.js +0 -168
- package/dist/chunks/md-87.js +0 -43
- package/dist/chunks/md-88.js +0 -103
- package/dist/chunks/md-89.js +0 -82
- package/dist/chunks/md-9.js +0 -26
- package/dist/chunks/md-90.js +0 -12
- package/dist/chunks/md-91.js +0 -43
- package/dist/chunks/md-92.js +0 -34
- package/dist/chunks/md-93.js +0 -1
- package/dist/chunks/md-94.js +0 -1
- package/dist/chunks/md-95.js +0 -1
- package/dist/chunks/md-96.js +0 -1
- package/dist/chunks/md-97.js +0 -1
- package/dist/chunks/md-98.js +0 -1
- package/dist/chunks/md-99.js +0 -1
|
@@ -1 +1,35 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-virtualizer"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-virtualizer"],t);else{var
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-virtualizer"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-virtualizer"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-virtualizer")):t(e["lit-element"],e["lit-virtualizer"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,((e,t)=>(()=>{"use strict";var i,s={28307:(e,t,i)=>{i.r(t),i.d(t,{AdvanceList:()=>s});var s,r=i(90195),l=i(31890),d=i(32972),o=i(26272),a=i(41488),n=i(86635),h=i(61705),c=function(e,t,i,s){var r,l=arguments.length,d=l<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(d=(l<3?r(d):l>3?r(t,i,d):r(t,i))||d);return l>3&&d&&Object.defineProperty(t,i,d),d};!function(e){e.prefixId="item-";let t=class extends((0,d.y)(a.LitElement)){constructor(){super(...arguments),this.items=[],this.isLoading=!1,this.isMulti=!1,this.groupOnMultiSelect=!1,this.value=[],this.ariaRoleList="listbox",this.ariaRoleListItem="option",this.ariaLabelList="",this.isError=!1,this.containerHeight="292px",this.lastSelectedIdByOrder="",this.selectAllItems=!1,this.focusReset=!1,this.disabledItems=[],this.totalRecords=0,this.scrollIndex=-1,this.activeId="",this.selectedItemsIds=[],this.isUserNavigated=!1,this.handleKeyDown=t=>{var i;const{ArrowDown:s,ArrowUp:l,Tab:d,Space:o,Enter:a}=r.Uz,{code:n}=t,h=n===s,c=n===l,p=n===d,u=n===o,v=n===a;if(h||c){if(t.preventDefault(),this.isUserNavigated=!0,""===this.activeId&&this.value.length>0&&""!==this.value[0])return void(this.activeId=this.value[0]);if(""===this.activeId&&!c&&this.items.length>0)return void(this.activeId=this.items[0].id);const e=this.items.findIndex((e=>e.id===this.activeId));h?e<this.items.length-1&&!this.isNextElemenentStatusIndicator(e)&&(this.scrollIndex=e+1,this.activeId=this.items[this.scrollIndex].id):e>0&&(this.scrollIndex=e-1,this.activeId=this.items[this.scrollIndex].id)}else if(p)""===this.activeId&&this.value.length>0&&(this.activeId=this.value[0]);else if((u||v)&&(t.preventDefault(),this.activeId)){const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`#${e.prefixId}${this.activeId}`);t&&("true"===t.getAttribute("aria-disabled")||t.hasAttribute("disabled")||this.updateItemSelection(t))}},this.handleRangeChange=e=>{const{last:t}=e;this.updateSelectedState(),this.items.length<this.totalRecords&&t>=this.items.length-1&&!this.isLoading&&!this.isError&&this.dispatchEvent(new CustomEvent("load-more",{bubbles:!0,composed:!0})),this.isUserNavigated=!1}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClick)}static get styles(){return[o.A,h.A]}getStyles(){return a.html`
|
|
2
|
+
<style>
|
|
3
|
+
:host .virtual-scroll {
|
|
4
|
+
height: ${this.containerHeight};
|
|
5
|
+
}
|
|
6
|
+
</style>
|
|
7
|
+
`}disconnectedCallback(){var e;super.disconnectedCallback(),this.removeEventListener("click",this.handleClick),null===(e=this.listContainer)||void 0===e||e.removeEventListener("keydown",this.handleKeyDown)}firstUpdated(e){var t;super.firstUpdated(e),null===(t=this.listContainer)||void 0===t||t.addEventListener("keydown",this.handleKeyDown)}updated(e){super.updated(e),e.has("value")&&(void 0!==e.get("value")||this.value.length>0)&&this.requestUpdate().then((()=>{this.selectedItemsIds=this.value,this.updateSelectedState()})),e.has("selectAllItems")&&this.selectAllItems&&(this.selectedItemsIds=this.items.filter((e=>!this.disabledItems.includes(e.id))).map((e=>e.id)),this.updateSelectedState(),this.notifySelectedChange()),e.has("focusReset")&&this.focusReset&&(this.activeId="")}setCheckboxAttributes(e,t){var i,s,r,l;!e||(null===(i=t.firstElementChild)||void 0===i?void 0:i.hasAttribute("disabled"))&&"true"===(null===(s=t.firstElementChild)||void 0===s?void 0:s.getAttribute("aria-disabled"))?null===(l=t.querySelector("md-checkbox"))||void 0===l||l.removeAttribute("checked"):null===(r=t.querySelector("md-checkbox"))||void 0===r||r.setAttribute("checked","true")}updateWrapperAttributes(e,t){this.isMulti?this.setCheckboxAttributes(t,e):e.classList.toggle("selected",t),e.setAttribute("selected",t.toString()),e.setAttribute("aria-selected",t.toString()),e.setAttribute("tabindex",t?"0":"-1")}updateSelectedState(){var t;Array.from((null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".default-wrapper"))||[]).forEach((t=>{var i,s;const r=this.selectedItemsIds.some((i=>t.id===`${e.prefixId}${i}`));this.updateWrapperAttributes(t,r),this.groupOnMultiSelect&&this.value.length>0&&this.items.length!==this.value.length&&t.id===`${e.prefixId}${this.lastSelectedIdByOrder}`?t.classList.add("selected-border-bottom"):t.classList.remove("selected-border-bottom"),t.id===`${e.prefixId}${this.activeId}`?(t.setAttribute("tabindex","0"),t.focus()):t.setAttribute("tabindex","-1"),""==this.activeId&&t.id===`${e.prefixId}${this.value[0]}`&&t.setAttribute("tabindex","0"),(null===(i=t.firstElementChild)||void 0===i?void 0:i.hasAttribute("disabled"))||"true"===(null===(s=t.firstElementChild)||void 0===s?void 0:s.getAttribute("aria-disabled"))?(t.setAttribute("disabled",""),t.setAttribute("aria-disabled","true")):(t.removeAttribute("disabled"),t.removeAttribute("aria-disabled"))}))}findClickedItem(e){var t;const i=Array.from((null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".default-wrapper"))||[]),s=e.composedPath(),r=i.find((e=>s.includes(e)));if(r)return(null==r?void 0:r.hasAttribute("disabled"))||"true"===(null==r?void 0:r.getAttribute("aria-disabled"))?0:r}isNextElemenentStatusIndicator(e){return(this.isLoading||this.isError)&&e===this.items.length-2}updateItemForMultiSelect(e){const t=this.selectedItemsIds.indexOf(e);-1===t?(this.selectedItemsIds.push(this.activeId),this.selectedItemsIds.length===this.items.length-this.disabledItems.length&&(this.selectAllItems=!0)):(this.selectedItemsIds.splice(t,1),this.selectAllItems=!1)}updateItemSelection(e){e&&(this.activeId=e.id.substring(e.id.indexOf("-")+1),this.isMulti?this.updateItemForMultiSelect(this.activeId):this.selectedItemsIds=[this.activeId],this.updateSelectedState(),this.notifySelectedChange())}handleClick(e){e.preventDefault(),this.isUserNavigated=!1;const t=this.findClickedItem(e);t&&(this.scrollIndex=parseInt(t.getAttribute("index")||"0"),this.updateItemSelection(t))}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selectedItemsIds},bubbles:!0,composed:!0}))}renderItem(t,i){return"status-indicator"===t.id?a.html`
|
|
8
|
+
<div class="default-wrapper-status-indicator" id="status-indicator">${t.template(t,i)}</div>
|
|
9
|
+
`:a.html`
|
|
10
|
+
<div
|
|
11
|
+
class="default-wrapper ${t.id}"
|
|
12
|
+
part="advance-list-item-wrapper"
|
|
13
|
+
aria-setsize="${this.totalRecords}"
|
|
14
|
+
aria-posinset="${i+1}"
|
|
15
|
+
role="${this.ariaRoleListItem}"
|
|
16
|
+
aria-label=${t.name}
|
|
17
|
+
id="${e.prefixId}${t.id}"
|
|
18
|
+
index="${i}"
|
|
19
|
+
>
|
|
20
|
+
${t.template(t,i)}
|
|
21
|
+
</div>
|
|
22
|
+
`}getActiveDescendant(){return this.activeId?`${e.prefixId}${this.activeId}`:this.value?`${e.prefixId}${this.value[0]}`:""}render(){return a.html`
|
|
23
|
+
${this.getStyles()}
|
|
24
|
+
<div
|
|
25
|
+
class="md-advance-list-wrapper virtual-scroll"
|
|
26
|
+
tabindex="0"
|
|
27
|
+
aria-activedescendant=${this.getActiveDescendant()}
|
|
28
|
+
aria-multiselectable=${this.isMulti}
|
|
29
|
+
aria-label=${this.ariaLabelList}
|
|
30
|
+
role=${this.ariaRoleList}
|
|
31
|
+
@rangechange=${this.handleRangeChange}
|
|
32
|
+
>
|
|
33
|
+
${(0,n.scroll)({items:this.items,renderItem:(e,t)=>this.renderItem(e,t||0),useShadowDOM:!0,scrollToIndex:this.isUserNavigated?{index:this.scrollIndex,position:0===this.scrollIndex?"start":"center"}:void 0})}
|
|
34
|
+
</div>
|
|
35
|
+
`}};c([(0,a.property)({type:Array})],t.prototype,"items",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"isLoading",void 0),c([(0,a.property)({type:Boolean,attribute:"is-multi"})],t.prototype,"isMulti",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"groupOnMultiSelect",void 0),c([(0,a.property)({type:Array})],t.prototype,"value",void 0),c([(0,a.property)({type:String})],t.prototype,"ariaRoleList",void 0),c([(0,a.property)({type:String})],t.prototype,"ariaRoleListItem",void 0),c([(0,a.property)({type:String})],t.prototype,"ariaLabelList",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"isError",void 0),c([(0,a.property)({type:String})],t.prototype,"containerHeight",void 0),c([(0,a.property)({type:String})],t.prototype,"lastSelectedIdByOrder",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"selectAllItems",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"focusReset",void 0),c([(0,a.property)({type:Array})],t.prototype,"disabledItems",void 0),c([(0,a.queryAll)("div.default-wrapper")],t.prototype,"lists",void 0),c([(0,a.query)(".virtual-scroll")],t.prototype,"listContainer",void 0),c([(0,a.property)({type:Number})],t.prototype,"totalRecords",void 0),c([(0,a.internalProperty)()],t.prototype,"scrollIndex",void 0),c([(0,a.internalProperty)()],t.prototype,"activeId",void 0),c([(0,a.internalProperty)()],t.prototype,"selectedItemsIds",void 0),c([(0,a.internalProperty)()],t.prototype,"isUserNavigated",void 0),t=c([(0,l.w)("md-advance-list")],t),e.ELEMENT=t}(s||(s={}))},41488:t=>{t.exports=e},86635:e=>{e.exports=t}},r={};function l(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return s[e](i,i.exports,l),i.exports}l.m=s,i=[],l.O=(e,t,s,r)=>{if(!t){var d=1/0;for(h=0;h<i.length;h++){for(var[t,s,r]=i[h],o=!0,a=0;a<t.length;a++)(!1&r||d>=r)&&Object.keys(l.O).every((e=>l.O[e](t[a])))?t.splice(a--,1):(o=!1,r<d&&(d=r));if(o){i.splice(h--,1);var n=s();void 0!==n&&(e=n)}}return e}r=r||0;for(var h=i.length;h>0&&i[h-1][2]>r;h--)i[h]=i[h-1];i[h]=[t,s,r]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var i in t)l.o(t,i)&&!l.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={3079:0};l.O.j=t=>0===e[t];var t=(t,i)=>{var s,r,[d,o,a]=i,n=0;if(d.some((t=>0!==e[t]))){for(s in o)l.o(o,s)&&(l.m[s]=o[s]);if(a)var h=a(l)}for(t&&t(i);n<d.length;n++)r=d[n],l.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return l.O(h)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var d=l.O(void 0,[1890,6272,2576,8210,1270,1705],(()=>l(28307)));return l.O(d)})()));
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
require("../
|
|
2
|
-
require("../chunks/md-1");
|
|
3
|
-
require("../chunks/md-2");
|
|
4
|
-
require("../chunks/md-3");
|
|
5
|
-
require("../chunks/md-4");
|
|
6
|
-
require("../chunks/md-52");
|
|
7
|
-
module.exports = require("../comp/md-advance-list-entry");
|
|
1
|
+
require("../1890"),require("../6272"),require("../2576"),require("../8210"),require("../1270"),require("../1705"),module.exports=require("../comp/md-advance-list-entry");
|
|
@@ -1 +1,36 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html"),require("lit-html
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/class-map.js"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/style-map","lit-html","lit-html/directives/class-map","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","lit-html/directives/class-map.js"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/class-map.js")):t(e["lit-element"],e["lit-html/directives/style-map"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/if-defined"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["lit-html/directives/class-map.js"]);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,((e,t,r,i,n,s,o,l)=>(()=>{"use strict";var a,m={8229:e=>{e.exports=t},17518:e=>{e.exports=l},19479:(e,t,r)=>{r.r(t),r.d(t,{AlertBanner:()=>u,alertBannerAlignment:()=>p,alertBannerType:()=>d}),r(96798),r(61200);var i=r(31890),n=r(26283),s=r(26272),o=r(41488),l=r(40333),a=r(17518),m=r(35467),c=function(e,t,r,i){var n,s=arguments.length,o=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,i);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(o=(s<3?n(o):s>3?n(t,r,o):n(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o};const d=["default","accent","warning","error","success","default-momentum","promotional"],p=["center","leading"];var u;!function(e){let t=class extends o.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner",this.showBannerTypeIcon=!1,this.showRefreshButton=!1,this.alignment="center"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:t}=e;(0,n.o)(t)&&this.onHide()}get isLeadingAlignment(){return"leading"===this.alignment}static get styles(){return[s.A,m.A]}getIconForType(){switch(this.type){case"error":return"error-legacy-badge-filled";case"warning":return"warning-filled";case"success":return"check-circle-badge-filled";default:return"info-badge-filled"}}get alertBannerClassMap(){return{"md-alert-banner":!0,[`md-alert-banner--${this.type}`]:this.type,[`md-alert-banner--${this.alignment}`]:this.isLeadingAlignment,closable:this.closable}}get alertBannerTextClassMap(){return{"md-alert-banner__text":!0,leading:this.isLeadingAlignment}}get alertBannerRightClassMap(){return{trailing:this.isLeadingAlignment}}get closeButtonTemplate(){return o.html`
|
|
2
|
+
<div class="close-div">
|
|
3
|
+
<md-button
|
|
4
|
+
class="md-alert-banner__close"
|
|
5
|
+
hasRemoveStyle
|
|
6
|
+
circle
|
|
7
|
+
ariaLabel=${this.closeAriaLabel}
|
|
8
|
+
@click="${this.onHide}"
|
|
9
|
+
@keydown="${this.handleKeyDown}"
|
|
10
|
+
>
|
|
11
|
+
<md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
|
|
12
|
+
</md-button>
|
|
13
|
+
</div>
|
|
14
|
+
`}render(){const e=this.closable?o.html` ${this.closeButtonTemplate} `:null,t=this.showBannerTypeIcon?o.html` <md-icon name="${this.getIconForType()}" iconSet="momentumDesign" size="16"> </md-icon> `:o.html`<slot name="left"></slot>`,r=this.showRefreshButton?o.html` <md-button
|
|
15
|
+
class="refresh-button"
|
|
16
|
+
@click="${()=>this.dispatchEvent(new CustomEvent("alertBanner-refresh-button-click"))}"
|
|
17
|
+
variant="ghostInheritTextColor"
|
|
18
|
+
circle
|
|
19
|
+
size="20"
|
|
20
|
+
>
|
|
21
|
+
<md-icon name="refresh-bold" iconSet="momentumDesign" size="16"></md-icon>
|
|
22
|
+
</md-button>`:l.nothing;return o.html`
|
|
23
|
+
${this.show?o.html`
|
|
24
|
+
<div class="${(0,a.classMap)(this.alertBannerClassMap)}" role="alert">
|
|
25
|
+
<div class="${(0,a.classMap)(this.alertBannerTextClassMap)}">
|
|
26
|
+
${t}
|
|
27
|
+
<slot><span>${this.message}</span></slot>
|
|
28
|
+
${r}
|
|
29
|
+
</div>
|
|
30
|
+
<div class="md-alert-banner__right ${(0,a.classMap)(this.alertBannerRightClassMap)}">
|
|
31
|
+
<slot name="right"></slot>
|
|
32
|
+
</div>
|
|
33
|
+
${e}
|
|
34
|
+
</div>
|
|
35
|
+
`:null}
|
|
36
|
+
`}};c([(0,o.property)({type:String})],t.prototype,"type",void 0),c([(0,o.property)({type:String})],t.prototype,"message",void 0),c([(0,o.property)({type:Boolean})],t.prototype,"closable",void 0),c([(0,o.property)({type:Boolean})],t.prototype,"show",void 0),c([(0,o.property)({type:String,attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",void 0),c([(0,o.property)({type:Boolean})],t.prototype,"showBannerTypeIcon",void 0),c([(0,o.property)({type:Boolean})],t.prototype,"showRefreshButton",void 0),c([(0,o.property)({type:String})],t.prototype,"alignment",void 0),t=c([(0,i.w)("md-alert-banner")],t),e.ELEMENT=t}(u||(u={}))},23968:e=>{e.exports=i},32022:e=>{e.exports=s},40333:e=>{e.exports=r},41488:t=>{t.exports=e},60554:e=>{e.exports=o},97822:e=>{e.exports=n}},c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}};return m[e](r,r.exports,d),r.exports}d.m=m,a=[],d.O=(e,t,r,i)=>{if(!t){var n=1/0;for(m=0;m<a.length;m++){for(var[t,r,i]=a[m],s=!0,o=0;o<t.length;o++)(!1&i||n>=i)&&Object.keys(d.O).every((e=>d.O[e](t[o])))?t.splice(o--,1):(s=!1,i<n&&(n=i));if(s){a.splice(m--,1);var l=r();void 0!==l&&(e=l)}}return e}i=i||0;for(var m=a.length;m>0&&a[m-1][2]>i;m--)a[m]=a[m-1];a[m]=[t,r,i]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6029:0};d.O.j=t=>0===e[t];var t=(t,r)=>{var i,n,[s,o,l]=r,a=0;if(s.some((t=>0!==e[t]))){for(i in o)d.o(o,i)&&(d.m[i]=o[i]);if(l)var m=l(d)}for(t&&t(r);a<s.length;a++)n=s[a],d.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return d.O(m)},r=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var p=d.O(void 0,[7502,1890,6272,6325,6875,2176,6798,9813,1200,2576,5467],(()=>d(19479)));return d.O(p)})()));
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
require("../
|
|
2
|
-
require("../chunks/md-0");
|
|
3
|
-
require("../chunks/md-1");
|
|
4
|
-
require("../chunks/md-2");
|
|
5
|
-
require("../chunks/md-5");
|
|
6
|
-
require("../chunks/md-7");
|
|
7
|
-
require("../chunks/md-9");
|
|
8
|
-
require("../chunks/md-53");
|
|
9
|
-
module.exports = require("../comp/md-alert-banner-entry");
|
|
1
|
+
require("../7502"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../2576"),require("../5467"),module.exports=require("../comp/md-alert-banner-entry");
|
|
@@ -1 +1,156 @@
|
|
|
1
|
-
!function(e
|
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/style-map","lit-html","lit-html/directives/class-map","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue"],e);else{var i="object"==typeof exports?e(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue")):e(t["lit-element"],t["lit-html/directives/style-map"],t["lit-html"],t["lit-html/directives/class-map"],t["lit-html/directives/if-defined"],t["@momentum-ui/icons/data/momentumUiIconsNames.json"],t["@momentum-ui/utils/lib/getColorValue"]);for(var o in i)("object"==typeof exports?exports:t)[o]=i[o]}}(self,((t,e,i,o,r,n,l)=>(()=>{"use strict";var s,a={8229:t=>{t.exports=e},19026:(t,e,i)=>{var o,r=i(31890),n=i(26272),l=i(41488),s=i(23968),a=i(97822),d=i(73112),p=function(t,e,i,o){var r,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(l=(n<3?r(l):n>3?r(e,i,l):r(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};!function(t){let e=class extends l.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.inlineStyle=void 0,this.inverted=void 0,this.href="",this.tag="a",this.target="_self",this.size=void 0,this._tabIndex=0}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}static get styles(){return[n.A,d.A]}render(){const t={[`md-link--${this.color}`]:this.color,"md-link--inline":this.inline,[`md-link--inline-style-${this.inlineStyle}`]:!!this.inlineStyle,[`${this.size}`]:!!this.size,inverted:!0===this.inverted,disabled:this.disabled};return l.html` ${(()=>{switch(this.tag){case"div":return l.html`
|
|
2
|
+
<div
|
|
3
|
+
class="md-link ${(0,s.classMap)(t)}"
|
|
4
|
+
tabindex=${this.tabIndex}
|
|
5
|
+
aria-label=${(0,a.ifDefined)(this.ariaLabel||void 0)}
|
|
6
|
+
aria-disabled=${(0,a.ifDefined)(this.disabled||void 0)}
|
|
7
|
+
role=${this.ariaRole}
|
|
8
|
+
part="link"
|
|
9
|
+
>
|
|
10
|
+
<slot></slot>
|
|
11
|
+
</div>
|
|
12
|
+
`;case"span":return l.html`
|
|
13
|
+
<span
|
|
14
|
+
class="md-link ${(0,s.classMap)(t)}"
|
|
15
|
+
tabindex=${this.tabIndex}
|
|
16
|
+
aria-label=${(0,a.ifDefined)(this.ariaLabel||void 0)}
|
|
17
|
+
aria-disabled=${(0,a.ifDefined)(this.disabled||void 0)}
|
|
18
|
+
role=${this.ariaRole}
|
|
19
|
+
part="link"
|
|
20
|
+
>
|
|
21
|
+
<slot></slot>
|
|
22
|
+
</span>
|
|
23
|
+
`;default:return l.html`
|
|
24
|
+
<a
|
|
25
|
+
class="md-link ${(0,s.classMap)(t)}"
|
|
26
|
+
.target="${this.target}"
|
|
27
|
+
href=${(0,a.ifDefined)(this.disabled?void 0:this.href)}
|
|
28
|
+
tabindex=${this.tabIndex}
|
|
29
|
+
aria-label=${(0,a.ifDefined)(this.ariaLabel||void 0)}
|
|
30
|
+
aria-disabled=${(0,a.ifDefined)(this.disabled||void 0)}
|
|
31
|
+
role=${this.ariaRole}
|
|
32
|
+
part="link"
|
|
33
|
+
>
|
|
34
|
+
<slot></slot>
|
|
35
|
+
</a>
|
|
36
|
+
`}})()} `}};p([(0,l.property)({type:String,attribute:!1})],e.prototype,"color",void 0),p([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),p([(0,l.property)({type:String})],e.prototype,"ariaRole",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"inline",void 0),p([(0,l.property)({type:String,attribute:"inline-style"})],e.prototype,"inlineStyle",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"inverted",void 0),p([(0,l.property)({type:String})],e.prototype,"href",void 0),p([(0,l.property)({type:String})],e.prototype,"tag",void 0),p([(0,l.property)({type:String})],e.prototype,"target",void 0),p([(0,l.property)({type:String})],e.prototype,"size",void 0),p([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),e=p([(0,r.w)("md-link")],e),t.ELEMENT=e}(o||(o={}))},23968:t=>{t.exports=o},32022:t=>{t.exports=n},40333:t=>{t.exports=i},41488:e=>{e.exports=t},60554:t=>{t.exports=l},74896:(t,e,i)=>{i.r(e),i.d(e,{Alert:()=>o}),i(61200),i(19026);var o,r=i(31890),n=i(26272),l=i(41488),s=i(40333),a=i(23968),d=i(62798),p=function(t,e,i,o){var r,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(l=(n<3?r(l):n>3?r(e,i,l):r(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};!function(t){let e=class extends l.LitElement{constructor(){super(...arguments),this.closable=!1,this.message="",this.show=!1,this.internalClose=!0,this.title="",this.btnlabel="Close",this.type="default",this.inline=!1,this.newMomentum=!1,this.primaryButton="",this.primaryButtonVariant="primary",this.primaryButtonColor="",this.secondaryButton="",this.link=!1,this.showMore=!1,this.href="",this.hasFooterSlotContent=!1,this.renderIconTemplate=()=>{switch(this.type){case"error":return l.html`
|
|
37
|
+
<md-icon
|
|
38
|
+
name="error-legacy-bold"
|
|
39
|
+
size="${this.newMomentum?24:32}"
|
|
40
|
+
iconSet="momentumDesign"
|
|
41
|
+
color="var(--md-alert-error-text-color, red)"
|
|
42
|
+
></md-icon>
|
|
43
|
+
`;case"info":return l.html`
|
|
44
|
+
<md-icon
|
|
45
|
+
name="info-circle-bold"
|
|
46
|
+
size="${this.newMomentum?24:32}"
|
|
47
|
+
iconSet="momentumDesign"
|
|
48
|
+
color="var(--md-alert-info-text-color, blue)"
|
|
49
|
+
></md-icon>
|
|
50
|
+
`;case"success":return l.html`
|
|
51
|
+
<md-icon
|
|
52
|
+
name="check-circle-bold"
|
|
53
|
+
size="${this.newMomentum?24:32}"
|
|
54
|
+
iconSet="momentumDesign"
|
|
55
|
+
color="var(--md-alert-success-text-color, green)"
|
|
56
|
+
></md-icon>
|
|
57
|
+
`;case"warn":case"warning":return l.html`
|
|
58
|
+
<md-icon
|
|
59
|
+
name="warning-bold"
|
|
60
|
+
size="${this.newMomentum?24:32}"
|
|
61
|
+
iconSet="momentumDesign"
|
|
62
|
+
color="var(--md-alert-warning-text-color, orange)"
|
|
63
|
+
></md-icon>
|
|
64
|
+
`;case"message":return l.html`
|
|
65
|
+
<md-icon
|
|
66
|
+
name="chat-bold"
|
|
67
|
+
size="${this.newMomentum?24:32}"
|
|
68
|
+
iconSet="momentumDesign"
|
|
69
|
+
color="var(--alert-title-text-color)"
|
|
70
|
+
></md-icon>
|
|
71
|
+
`;case"loading":return l.html`<md-spinner size="24"></md-spinner>`;default:return l.html` <slot name="alert-icon"></slot> `}}}connectedCallback(){super.connectedCallback(),this.updateFooterSlotInUse()}close(){this.dispatchEvent(new CustomEvent("alert-close",{composed:!0,bubbles:!0})),this.internalClose&&(this.show=!1)}static get styles(){return[n.A,d.A]}get alertClassMap(){return{[`md-alert--${this.type}`]:!!this.type,"md-alert__inline":this.inline}}get slottedFooterClassMap(){return{"is-empty":!this.hasFooterSlotContent}}legacyRender(){return l.html`
|
|
72
|
+
<div role="alert" aria-live="polite" part="alert" class="md-alert ${(0,a.classMap)(this.alertClassMap)}">
|
|
73
|
+
<div class="md-alert__icon aria-hidden=true">${this.renderIconTemplate()}</div>
|
|
74
|
+
<div part="content" class="md-alert__content">
|
|
75
|
+
${this.title&&""!==this.title?l.html` <div class="md-alert__title" role="heading" aria-level="1">${this.title}</div> `:s.nothing}
|
|
76
|
+
<div class="md-alert__message">
|
|
77
|
+
${this.message}
|
|
78
|
+
<slot name="alert-body"></slot>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
${this.closable?l.html`
|
|
82
|
+
<div class="md-alert__button">
|
|
83
|
+
<md-button
|
|
84
|
+
ariaLabel="${this.btnlabel}"
|
|
85
|
+
hasRemoveStyle
|
|
86
|
+
color="color-none"
|
|
87
|
+
circle
|
|
88
|
+
@click="${()=>this.close()}"
|
|
89
|
+
>
|
|
90
|
+
<md-icon slot="icon" name="cancel-bold" size="18" iconSet="momentumDesign"></md-icon>
|
|
91
|
+
</md-button>
|
|
92
|
+
</div>
|
|
93
|
+
`:l.html`
|
|
94
|
+
<div class="md-alert__footer">
|
|
95
|
+
<slot name="alert-footer"></slot>
|
|
96
|
+
</div>
|
|
97
|
+
`}
|
|
98
|
+
</div>
|
|
99
|
+
`}renderNewAlertDefaultFooter(){return l.html`
|
|
100
|
+
<div class="md-new-alert__footer">
|
|
101
|
+
${this.link?l.html`
|
|
102
|
+
<md-link href="${this.href}">
|
|
103
|
+
<span class="md-new-alert__link"
|
|
104
|
+
>Link
|
|
105
|
+
<md-icon
|
|
106
|
+
name="pop-out-bold"
|
|
107
|
+
size="16"
|
|
108
|
+
iconSet="momentumDesign"
|
|
109
|
+
color="var(--md-alert-info-text-color, blue)"
|
|
110
|
+
>
|
|
111
|
+
</md-icon>
|
|
112
|
+
</span>
|
|
113
|
+
</md-link>
|
|
114
|
+
`:s.nothing}
|
|
115
|
+
${this.secondaryButton?l.html` <md-button variant="secondary" .clickFunction="${this.secondaryButtonClickFunction}">
|
|
116
|
+
${this.secondaryButton}
|
|
117
|
+
</md-button>`:s.nothing}
|
|
118
|
+
${this.primaryButton?l.html`<md-button
|
|
119
|
+
variant=${this.primaryButtonVariant}
|
|
120
|
+
color=${this.primaryButtonColor}
|
|
121
|
+
.clickFunction="${this.primaryButtonClickFunction}"
|
|
122
|
+
>
|
|
123
|
+
${this.primaryButton}
|
|
124
|
+
</md-button>`:s.nothing}
|
|
125
|
+
</div>
|
|
126
|
+
`}handleSlotContentChange(t){this.updateFooterSlotInUse()}updateFooterSlotInUse(){var t;this.hasFooterSlotContent=(null===(t=this.alertFooterSlot)||void 0===t?void 0:t.assignedNodes().length)>0}renderSlottedFooter(){return l.html` <div class="md-new-alert__footer ${(0,a.classMap)(this.slottedFooterClassMap)}">
|
|
127
|
+
<slot name="alert-footer" @slotchange=${this.handleSlotContentChange}></slot>
|
|
128
|
+
</div>`}newRender(){return l.html`
|
|
129
|
+
<div role="alert" aria-live="polite" part="alert" class="md-new-alert ${(0,a.classMap)(this.alertClassMap)}">
|
|
130
|
+
<div class="md-new-alert__body">
|
|
131
|
+
<div class="md-new-alert__icon aria-hidden=true">${this.renderIconTemplate()}</div>
|
|
132
|
+
<div part="content" class="md-new-alert__content">
|
|
133
|
+
${this.title&&""!==this.title?l.html` <div class="md-new-alert__title" role="heading" aria-level="1">${this.title}</div> `:s.nothing}
|
|
134
|
+
<div class="md-new-alert__message" title="${this.message}">
|
|
135
|
+
${this.message}
|
|
136
|
+
<slot name="alert-body"></slot>
|
|
137
|
+
${this.showMore?l.html`<md-link href=${this.href} inline>Show more...</md-link>`:s.nothing}
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
${this.closable?l.html`
|
|
141
|
+
<div class="md-new-alert__button">
|
|
142
|
+
<md-button
|
|
143
|
+
ariaLabel="${this.btnlabel}"
|
|
144
|
+
hasRemoveStyle
|
|
145
|
+
color="color-none"
|
|
146
|
+
circle
|
|
147
|
+
@click="${()=>this.close()}"
|
|
148
|
+
>
|
|
149
|
+
<md-icon slot="icon" name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
|
|
150
|
+
</md-button>
|
|
151
|
+
</div>
|
|
152
|
+
`:s.nothing}
|
|
153
|
+
</div>
|
|
154
|
+
${this.primaryButton||this.secondaryButton||this.link?this.renderNewAlertDefaultFooter():this.renderSlottedFooter()}
|
|
155
|
+
</div>
|
|
156
|
+
`}get alertRender(){return this.newMomentum?this.newRender():this.legacyRender()}render(){return l.html` ${this.show?this.alertRender:s.nothing} `}};p([(0,l.property)({type:Boolean})],e.prototype,"closable",void 0),p([(0,l.property)({type:String})],e.prototype,"message",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"show",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"internalClose",void 0),p([(0,l.property)({type:String})],e.prototype,"title",void 0),p([(0,l.property)({type:String})],e.prototype,"btnlabel",void 0),p([(0,l.property)({type:String})],e.prototype,"type",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"inline",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButton",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButtonVariant",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButtonColor",void 0),p([(0,l.property)()],e.prototype,"primaryButtonClickFunction",void 0),p([(0,l.property)({type:String})],e.prototype,"secondaryButton",void 0),p([(0,l.property)()],e.prototype,"secondaryButtonClickFunction",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"link",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"showMore",void 0),p([(0,l.property)({type:String})],e.prototype,"href",void 0),p([(0,l.query)('slot[name="alert-footer"]')],e.prototype,"alertFooterSlot",void 0),p([(0,l.internalProperty)()],e.prototype,"hasFooterSlotContent",void 0),e=p([(0,r.w)("md-alert")],e),t.ELEMENT=e}(o||(o={}))},97822:t=>{t.exports=r}},d={};function p(t){var e=d[t];if(void 0!==e)return e.exports;var i=d[t]={exports:{}};return a[t](i,i.exports,p),i.exports}p.m=a,s=[],p.O=(t,e,i,o)=>{if(!e){var r=1/0;for(d=0;d<s.length;d++){for(var[e,i,o]=s[d],n=!0,l=0;l<e.length;l++)(!1&o||r>=o)&&Object.keys(p.O).every((t=>p.O[t](e[l])))?e.splice(l--,1):(n=!1,o<r&&(r=o));if(n){s.splice(d--,1);var a=i();void 0!==a&&(t=a)}}return t}o=o||0;for(var d=s.length;d>0&&s[d-1][2]>o;d--)s[d]=s[d-1];s[d]=[e,i,o]},p.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return p.d(e,{a:e}),e},p.d=(t,e)=>{for(var i in e)p.o(e,i)&&!p.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},p.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),p.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={6132:0,6724:0};p.O.j=e=>0===t[e];var e=(e,i)=>{var o,r,[n,l,s]=i,a=0;if(n.some((e=>0!==t[e]))){for(o in l)p.o(l,o)&&(p.m[o]=l[o]);if(s)var d=s(p)}for(e&&e(i);a<n.length;a++)r=n[a],p.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return p.O(d)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var m=p.O(void 0,[7502,1890,6272,6325,6875,2176,6798,9813,1200,2576,3112,2798],(()=>p(74896)));return p.O(m)})()));
|
package/dist/comp/md-alert.js
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
require("../
|
|
2
|
-
require("../chunks/md-0");
|
|
3
|
-
require("../chunks/md-1");
|
|
4
|
-
require("../chunks/md-2");
|
|
5
|
-
require("../chunks/md-5");
|
|
6
|
-
require("../chunks/md-7");
|
|
7
|
-
require("../chunks/md-9");
|
|
8
|
-
require("../chunks/md-35");
|
|
9
|
-
require("../chunks/md-54");
|
|
10
|
-
module.exports = require("../comp/md-alert-entry");
|
|
1
|
+
require("../7502"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../2576"),require("../3112"),require("../2798"),module.exports=require("../comp/md-alert-entry");
|
|
@@ -1 +1,98 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html"),require("lit-html
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/style-map","lit-html","lit-html/directives/class-map","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue")):t(e["lit-element"],e["lit-html/directives/style-map"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/if-defined"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"]);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,((e,t,i,o,l,a,s)=>(()=>{"use strict";var n,r={8229:e=>{e.exports=t},23779:(e,t,i)=>{i.r(t),i.d(t,{AudioPlayer:()=>c,defaultLabelMap:()=>m,playbackSpeeds:()=>p}),i(96798),i(61200),i(83192);var o=i(90195),l=i(31890),a=i(26272),s=i(41488),n=i(40333),r=i(23968),d=i(92984),u=function(e,t,i,o){var l,a=arguments.length,s=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(s=(a<3?l(s):a>3?l(t,i,s):l(t,i))||s);return a>3&&s&&Object.defineProperty(t,i,s),s};const p=[{value:.25,label:"0.25"},{value:.5,label:"0.50"},{value:.75,label:"0.75"},{value:1,label:"Normal"},{value:1.25,label:"1.25"},{value:1.5,label:"1.50"},{value:1.75,label:"1.75"},{value:2,label:"2"}],m={playBtn:{ariaLabel:"Play",tooltipText:"Play"},pauseBtn:{ariaLabel:"Pause",tooltipText:"Pause"},duration:{ariaLabel:"Duration:",tooltipText:"Duration"},timeline:{ariaLabel:"Audio Seekbar",tooltipText:"Audio Seekbar"},volumeBtn:{ariaLabel:"Mute / Unmute Audio",tooltipText:"Mute / Unmute"},volumeSlider:{ariaLabel:"Volume level",tooltipText:"Volume level"},playbackSpeedBtn:{ariaLabel:"Playback speed",tooltipText:"Playback speed"}};var c;!function(e){let t=class extends s.LitElement{constructor(){super(),this.src="",this.events=[],this.isPlaying=!1,this.isMuted=!1,this.duration=0,this.volume=100,this.currentTime=0,this.showSpeedPopup=!1,this.playbackSpeed=1,this.volumeExpanded=!1,this.bufferedRange=0,this.selectedPlaybackSpeed=this.playbackSpeed,this.currentlySelectingPlaybackSpeed=!1,this.onOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find((e=>"speed-btn"===e.id)),t||(this.showSpeedPopup=!1))},this.handleKeyDown=e=>{const{code:t}=e;switch(t){case o.Uz.ArrowLeft:this.volumeExpanded?this.setVolumeKeydown(this.volume-.01):this.setTimeKeydown(this.currentTime-1);break;case o.Uz.ArrowRight:this.volumeExpanded?this.setVolumeKeydown(this.volume+.01):this.setTimeKeydown(this.currentTime+1);break;case o.Uz.ArrowUp:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex((e=>e.value===this.selectedPlaybackSpeed)),i=Math.max(0,t-1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.ArrowDown:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex((e=>e.value===this.selectedPlaybackSpeed)),i=Math.min(p.length-1,t+1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.Enter:this.showSpeedPopup&&(this.setPlaybackSpeed(this.selectedPlaybackSpeed),e.preventDefault())}},this.audio=new Audio,this.setAudioEventListeners(),this.labelMap=m}firstUpdated(e){super.firstUpdated(e),e.has("src")&&(this.audio.src=this.src)}updated(e){super.updated(e),e.has("src")&&(this.audio.src=this.src)}connectedCallback(){super.connectedCallback(),this.requestUpdate("src"),document.addEventListener("click",this.onOutsideClick),document.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.onOutsideClick),document.removeEventListener("keydown",this.handleKeyDown),this.audio.pause(),this.isPlaying=!1}setAudioEventListeners(){this.audio.onloadeddata=()=>{this.duration=this.audio.duration,this.audio.volume=.75},this.audio.onerror=()=>{this.audio.src&&this.dispatchEvent(new CustomEvent("playback-error",{composed:!0,bubbles:!0}))},this.audio.onended=()=>{this.audio.currentTime=0,this.isPlaying=!1},this.audio.ontimeupdate=()=>{this.currentTime=this.audio.currentTime},this.audio.onvolumechange=()=>{this.volume=this.audio.volume},this.audio.onprogress=()=>{this.audio.buffered.length>0&&(this.bufferedRange=this.audio.buffered.end(this.audio.buffered.length-1))}}togglePlay(){this.isPlaying=!this.isPlaying,this.isPlaying?(this.audio.play(),this.dispatchEvent(new CustomEvent("play-clicked",{composed:!0,bubbles:!0}))):this.audio.pause()}toTimecode(e){const t=Math.floor(e);return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}setTime(e){const t=this.getBarPercentage(e,"timeline"),i=Math.floor(t*this.duration);this.audio.currentTime=i}setVolumeElement(e){this.volumeElement="volume"===e.target.className?e.target:e.target.parentElement}handleVolumeChange(e){let t=!1;this.setVolumeElement(e),this.setVolume(e);const i=e=>{t||(t=!0),this.volumeExpanded?this.setVolume(e):l()},o=()=>{l()},l=()=>{t=!1,window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",o)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",o),e.preventDefault()}getVolumeFromSlider(e){if(null===this.volumeElement)return 0;const t=this.volumeElement.getBoundingClientRect(),i=e.clientX-t.x;return Math.max(0,Math.min(1,i/t.width))}setVolume(e){const t=this.getVolumeFromSlider(e);this.audio.volume=t}getBarPercentage(e,t){const i=(e.target.className===t?e.target:e.target.parentElement).getBoundingClientRect();return(e.clientX-i.x)/i.width}toggleSoundMute(){this.isMuted=!this.isMuted,this.audio.muted=this.isMuted}toggleSpeedPopup(){this.showSpeedPopup=!this.showSpeedPopup}setTimeKeydown(e){e>this.duration?(this.currentTime=this.duration,this.audio.currentTime=this.duration):e<0?(this.currentTime=0,this.audio.currentTime=0):(this.currentTime=e,this.audio.currentTime=e)}setVolumeKeydown(e){e>1?(this.volume=1,this.audio.volume=1):e<0?(this.isMuted||this.toggleSoundMute(),this.volume=0,this.audio.volume=0):(this.isMuted&&this.toggleSoundMute(),this.volume=e,this.audio.volume=e)}get popupClassMap(){return{"popup-open":this.showSpeedPopup}}setPlaybackSpeed(e){this.playbackSpeed=e,this.selectedPlaybackSpeed=e,this.audio.playbackRate=this.playbackSpeed,this.showSpeedPopup=!1}toggleVolumeExpand(e){this.volumeExpanded=e}static get styles(){return[a.A,d.A]}render(){return s.html`
|
|
2
|
+
<div class="md-audio-player">
|
|
3
|
+
<div class="inner-container">
|
|
4
|
+
<div class="play-container">
|
|
5
|
+
<md-tooltip
|
|
6
|
+
placement="top"
|
|
7
|
+
message="${this.isPlaying?this.labelMap.pauseBtn.tooltipText:this.labelMap.playBtn.tooltipText}"
|
|
8
|
+
>
|
|
9
|
+
<md-button
|
|
10
|
+
hasRemoveStyle
|
|
11
|
+
class="play-btn"
|
|
12
|
+
@click="${this.togglePlay}"
|
|
13
|
+
aria-label="${this.isPlaying?this.labelMap.pauseBtn.ariaLabel:this.labelMap.playBtn.ariaLabel}"
|
|
14
|
+
>
|
|
15
|
+
${this.isPlaying?s.html` <md-icon slot="icon" name="pause-bold" size="16" iconSet="momentumDesign"></md-icon> `:s.html` <md-icon slot="icon" name="play-bold" size="16" iconSet="momentumDesign"></md-icon> `}
|
|
16
|
+
</md-button>
|
|
17
|
+
</md-tooltip>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="text-container">
|
|
20
|
+
<md-tooltip placement="top" message="${this.labelMap.duration.tooltipText}">
|
|
21
|
+
<span
|
|
22
|
+
class="duration"
|
|
23
|
+
aria-label="${this.labelMap.duration.ariaLabel} ${this.toTimecode(this.currentTime)}/${this.toTimecode(this.duration)}"
|
|
24
|
+
>
|
|
25
|
+
${this.toTimecode(this.currentTime)} / ${this.toTimecode(this.duration)}
|
|
26
|
+
</span>
|
|
27
|
+
</md-tooltip>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="timeline-container">
|
|
30
|
+
<md-tooltip placement="top" message="${this.labelMap.timeline.tooltipText}">
|
|
31
|
+
<div class="timeline" @click="${this.setTime}" aria-label="${this.labelMap.timeline.ariaLabel}">
|
|
32
|
+
<div class="progress-bar" style="width: ${this.currentTime/this.duration*100}%"></div>
|
|
33
|
+
<div class="buffer-bar" style="width: ${this.bufferedRange/this.duration*100}%"></div>
|
|
34
|
+
</div>
|
|
35
|
+
</md-tooltip>
|
|
36
|
+
</div>
|
|
37
|
+
<div
|
|
38
|
+
class="volume-container"
|
|
39
|
+
@mouseleave="${()=>this.toggleVolumeExpand(!1)}"
|
|
40
|
+
@mouseenter="${()=>this.toggleVolumeExpand(!0)}"
|
|
41
|
+
aria-label="${this.labelMap.volumeSlider.ariaLabel}"
|
|
42
|
+
>
|
|
43
|
+
<md-tooltip
|
|
44
|
+
placement="top"
|
|
45
|
+
message="${this.labelMap.volumeSlider.tooltipText} ${Math.trunc(100*this.volume)}%"
|
|
46
|
+
>
|
|
47
|
+
<div
|
|
48
|
+
class="volume"
|
|
49
|
+
@mousedown="${this.handleVolumeChange}"
|
|
50
|
+
aria-label="${this.labelMap.volumeSlider.ariaLabel} ${Math.trunc(100*this.volume)}%"
|
|
51
|
+
>
|
|
52
|
+
<div class="volume-slider" style="width: ${this.isMuted?0:100*this.volume}%"></div>
|
|
53
|
+
</div>
|
|
54
|
+
</md-tooltip>
|
|
55
|
+
<md-tooltip placement="top" message="${this.labelMap.volumeBtn.tooltipText}">
|
|
56
|
+
<md-button
|
|
57
|
+
hasRemoveStyle
|
|
58
|
+
class="volume-btn"
|
|
59
|
+
aria-label="${this.labelMap.volumeBtn.ariaLabel}"
|
|
60
|
+
@click="${this.toggleSoundMute}"
|
|
61
|
+
>
|
|
62
|
+
${this.isMuted?s.html`
|
|
63
|
+
<md-icon slot="icon" name="speaker-muted-bold" size="16" iconSet="momentumDesign"></md-icon>
|
|
64
|
+
`:s.html` <md-icon slot="icon" name="speaker-bold" size="16" iconSet="momentumDesign"></md-icon> `}
|
|
65
|
+
</md-button>
|
|
66
|
+
</md-tooltip>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="speed-icon-container" aria-label="${this.labelMap.playbackSpeedBtn.ariaLabel}">
|
|
69
|
+
<md-tooltip placement="top" message="${this.labelMap.playbackSpeedBtn.tooltipText}">
|
|
70
|
+
<md-button hasRemoveStyle id="speed-btn" @click="${this.toggleSpeedPopup}">
|
|
71
|
+
<md-icon slot="icon" name="too-fast-bold" size="16" iconSet="momentumDesign"></md-icon>
|
|
72
|
+
</md-button>
|
|
73
|
+
</md-tooltip>
|
|
74
|
+
<div class="speed-popup ${(0,r.classMap)(this.popupClassMap)}">
|
|
75
|
+
<ul id="speed-popup-menu">
|
|
76
|
+
${p.map((e=>{const t=this.selectedPlaybackSpeed==e.value&&!this.currentlySelectingPlaybackSpeed;return s.html`
|
|
77
|
+
<li
|
|
78
|
+
class=${t?"speed-popup-selected-speed":""}
|
|
79
|
+
@click="${()=>this.setPlaybackSpeed(e.value)}"
|
|
80
|
+
>
|
|
81
|
+
<span>${e.label}</span>
|
|
82
|
+
${this.playbackSpeed==e.value?s.html`
|
|
83
|
+
<md-icon
|
|
84
|
+
slot="icon"
|
|
85
|
+
color="md-blue-60"
|
|
86
|
+
name="check-bold"
|
|
87
|
+
size="16"
|
|
88
|
+
iconSet="momentumDesign"
|
|
89
|
+
></md-icon>
|
|
90
|
+
`:n.nothing}
|
|
91
|
+
</li>
|
|
92
|
+
`}))}
|
|
93
|
+
</ul>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
`}};u([(0,s.property)({type:String})],t.prototype,"src",void 0),u([(0,s.property)({type:Object})],t.prototype,"labelMap",void 0),u([(0,s.internalProperty)()],t.prototype,"events",void 0),u([(0,s.internalProperty)()],t.prototype,"audio",void 0),u([(0,s.internalProperty)()],t.prototype,"volumeElement",void 0),u([(0,s.internalProperty)()],t.prototype,"isPlaying",void 0),u([(0,s.internalProperty)()],t.prototype,"isMuted",void 0),u([(0,s.internalProperty)()],t.prototype,"duration",void 0),u([(0,s.internalProperty)()],t.prototype,"volume",void 0),u([(0,s.internalProperty)()],t.prototype,"currentTime",void 0),u([(0,s.internalProperty)()],t.prototype,"showSpeedPopup",void 0),u([(0,s.internalProperty)()],t.prototype,"playbackSpeed",void 0),u([(0,s.internalProperty)()],t.prototype,"volumeExpanded",void 0),u([(0,s.internalProperty)()],t.prototype,"bufferedRange",void 0),u([(0,s.internalProperty)()],t.prototype,"selectedPlaybackSpeed",void 0),u([(0,s.internalProperty)()],t.prototype,"currentlySelectingPlaybackSpeed",void 0),t=u([(0,l.w)("md-audio-player")],t),e.ELEMENT=t}(c||(c={}))},23968:e=>{e.exports=o},32022:e=>{e.exports=a},40333:e=>{e.exports=i},41488:t=>{t.exports=e},60554:e=>{e.exports=s},97822:e=>{e.exports=l}},d={};function u(e){var t=d[e];if(void 0!==t)return t.exports;var i=d[e]={exports:{}};return r[e](i,i.exports,u),i.exports}u.m=r,n=[],u.O=(e,t,i,o)=>{if(!t){var l=1/0;for(d=0;d<n.length;d++){for(var[t,i,o]=n[d],a=!0,s=0;s<t.length;s++)(!1&o||l>=o)&&Object.keys(u.O).every((e=>u.O[e](t[s])))?t.splice(s--,1):(a=!1,o<l&&(l=o));if(a){n.splice(d--,1);var r=i();void 0!==r&&(e=r)}}return e}o=o||0;for(var d=n.length;d>0&&n[d-1][2]>o;d--)n[d]=n[d-1];n[d]=[t,i,o]},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var i in t)u.o(t,i)&&!u.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={8220:0};u.O.j=t=>0===e[t];var t=(t,i)=>{var o,l,[a,s,n]=i,r=0;if(a.some((t=>0!==e[t]))){for(o in s)u.o(s,o)&&(u.m[o]=s[o]);if(n)var d=n(u)}for(t&&t(i);r<a.length;r++)l=a[r],u.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return u.O(d)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var p=u.O(void 0,[7502,1890,6272,6325,6875,2176,6798,9813,1200,8889,300,8373,4624,591,768,195,3001,7251,3192,2984],(()=>u(23779)));return u.O(p)})()));
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
require("../
|
|
2
|
-
require("../chunks/md-0");
|
|
3
|
-
require("../chunks/md-1");
|
|
4
|
-
require("../chunks/md-2");
|
|
5
|
-
require("../chunks/md-3");
|
|
6
|
-
require("../chunks/md-4");
|
|
7
|
-
require("../chunks/md-5");
|
|
8
|
-
require("../chunks/md-7");
|
|
9
|
-
require("../chunks/md-6");
|
|
10
|
-
require("../chunks/md-9");
|
|
11
|
-
require("../chunks/md-8");
|
|
12
|
-
require("../chunks/md-11");
|
|
13
|
-
require("../chunks/md-13");
|
|
14
|
-
require("../chunks/md-19");
|
|
15
|
-
require("../chunks/md-21");
|
|
16
|
-
require("../chunks/md-55");
|
|
17
|
-
module.exports = require("../comp/md-audio-player-entry");
|
|
1
|
+
require("../7502"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../8889"),require("../300"),require("../8373"),require("../4624"),require("../591"),require("../768"),require("../195"),require("../3001"),require("../7251"),require("../3192"),require("../2984"),module.exports=require("../comp/md-audio-player-entry");
|