@momentum-ui/web-components 2.7.33 → 2.7.35
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/chunks/md-100.js +1 -1
- package/dist/chunks/md-101.js +1 -1
- package/dist/chunks/md-102.js +1 -1
- package/dist/chunks/md-103.js +1 -1
- package/dist/chunks/md-104.js +1 -1
- package/dist/chunks/md-105.js +1 -1
- package/dist/chunks/md-106.js +1 -1
- package/dist/chunks/md-107.js +1 -1
- package/dist/chunks/md-108.js +1 -1
- package/dist/chunks/md-109.js +1 -1
- package/dist/chunks/md-110.js +1 -1
- package/dist/chunks/md-111.js +1 -1
- package/dist/chunks/md-112.js +1 -1
- package/dist/chunks/md-113.js +1 -1
- package/dist/chunks/md-114.js +1 -1
- package/dist/chunks/md-115.js +1 -1
- package/dist/chunks/md-116.js +1 -1
- package/dist/chunks/md-117.js +1 -1
- package/dist/chunks/md-118.js +1 -1
- package/dist/chunks/md-119.js +1 -1
- package/dist/chunks/md-120.js +1 -1
- package/dist/chunks/md-121.js +1 -1
- package/dist/chunks/md-122.js +1 -1
- package/dist/chunks/md-123.js +1 -1
- package/dist/chunks/md-124.js +1 -1
- package/dist/chunks/md-125.js +1 -1
- package/dist/chunks/md-126.js +1 -1
- package/dist/chunks/md-127.js +1 -1
- package/dist/chunks/md-128.js +1 -1
- package/dist/chunks/md-129.js +1 -1
- package/dist/chunks/md-130.js +1 -1
- package/dist/chunks/md-131.js +1 -1
- package/dist/chunks/md-132.js +1 -1
- package/dist/chunks/md-133.js +1 -1
- package/dist/chunks/md-134.js +1 -1
- package/dist/chunks/md-135.js +1 -1
- package/dist/chunks/md-136.js +1 -1
- package/dist/chunks/md-137.js +1 -1
- package/dist/chunks/md-138.js +1 -1
- package/dist/chunks/md-139.js +1 -1
- package/dist/chunks/md-140.js +1 -1
- package/dist/chunks/md-141.js +1 -1
- package/dist/chunks/md-142.js +1 -1
- package/dist/chunks/md-143.js +1 -1
- package/dist/chunks/md-144.js +1 -1
- package/dist/chunks/md-145.js +1 -1
- package/dist/chunks/md-146.js +1 -1
- package/dist/chunks/md-147.js +1 -1
- package/dist/chunks/md-148.js +1 -1
- package/dist/chunks/md-149.js +1 -1
- package/dist/chunks/md-150.js +1 -1
- package/dist/chunks/md-151.js +1 -1
- package/dist/chunks/md-152.js +1 -1
- package/dist/chunks/md-153.js +1 -1
- package/dist/chunks/md-154.js +1 -1
- package/dist/chunks/md-155.js +1 -1
- package/dist/chunks/md-156.js +1 -1
- package/dist/chunks/md-157.js +1 -1
- package/dist/chunks/md-158.js +1 -1
- package/dist/chunks/md-159.js +1 -1
- package/dist/chunks/md-160.js +1 -1
- package/dist/chunks/md-161.js +1 -1
- package/dist/chunks/md-162.js +1 -1
- package/dist/chunks/md-163.js +1 -1
- package/dist/chunks/md-164.js +1 -1
- package/dist/chunks/md-165.js +1 -1
- package/dist/chunks/md-166.js +1 -1
- package/dist/chunks/md-167.js +1 -1
- package/dist/chunks/md-168.js +1 -1
- package/dist/chunks/md-169.js +1 -1
- package/dist/chunks/md-170.js +1 -1
- package/dist/chunks/md-171.js +1 -1
- package/dist/chunks/md-172.js +1 -1
- package/dist/chunks/md-173.js +1 -1
- package/dist/chunks/md-174.js +1 -1
- package/dist/chunks/md-175.js +1 -1
- package/dist/chunks/md-176.js +1 -1
- package/dist/chunks/md-177.js +1 -1
- package/dist/chunks/md-178.js +1 -1
- package/dist/chunks/md-179.js +1 -1
- package/dist/chunks/md-180.js +1 -1
- package/dist/chunks/md-181.js +1 -1
- package/dist/chunks/md-182.js +1 -1
- package/dist/chunks/md-183.js +1 -1
- package/dist/chunks/md-184.js +1 -1
- package/dist/chunks/md-185.js +1 -1
- package/dist/chunks/md-186.js +1 -1
- package/dist/chunks/md-187.js +1 -1
- package/dist/chunks/md-188.js +1 -1
- package/dist/chunks/md-189.js +1 -1
- package/dist/chunks/md-190.js +1 -1
- package/dist/chunks/md-191.js +1 -1
- package/dist/chunks/md-192.js +1 -1
- package/dist/chunks/md-193.js +1 -1
- package/dist/chunks/md-194.js +1 -1
- package/dist/chunks/md-195.js +1 -1
- package/dist/chunks/md-196.js +1 -1
- package/dist/chunks/md-197.js +1 -1
- package/dist/chunks/md-198.js +1 -1
- package/dist/chunks/md-199.js +1 -1
- package/dist/chunks/md-200.js +1 -1
- package/dist/chunks/md-201.js +1 -1
- package/dist/chunks/md-202.js +1 -1
- package/dist/chunks/md-203.js +1 -1
- package/dist/chunks/md-204.js +1 -1
- package/dist/chunks/md-205.js +1 -1
- package/dist/chunks/md-206.js +1 -1
- package/dist/chunks/md-207.js +1 -1
- package/dist/chunks/md-208.js +1 -1
- package/dist/chunks/md-209.js +1 -1
- package/dist/chunks/md-210.js +1 -1
- package/dist/chunks/md-211.js +1 -1
- package/dist/chunks/md-212.js +1 -1
- package/dist/chunks/md-213.js +1 -1
- package/dist/chunks/md-214.js +1 -1
- package/dist/chunks/md-215.js +1 -1
- package/dist/chunks/md-216.js +1 -1
- package/dist/chunks/md-217.js +1 -1
- package/dist/chunks/md-218.js +1 -1
- package/dist/chunks/md-219.js +1 -1
- package/dist/chunks/md-220.js +1 -1
- package/dist/chunks/md-221.js +1 -1
- package/dist/chunks/md-222.js +1 -1
- package/dist/chunks/md-223.js +1 -1
- package/dist/chunks/md-224.js +1 -1
- package/dist/chunks/md-225.js +1 -1
- package/dist/chunks/md-226.js +1 -1
- package/dist/chunks/md-227.js +1 -1
- package/dist/chunks/md-228.js +1 -1
- package/dist/chunks/md-229.js +1 -1
- package/dist/chunks/md-230.js +1 -1
- package/dist/chunks/md-231.js +1 -1
- package/dist/chunks/md-232.js +1 -1
- package/dist/chunks/md-233.js +1 -1
- package/dist/chunks/md-234.js +1 -1
- package/dist/chunks/md-235.js +1 -1
- package/dist/chunks/md-236.js +1 -1
- package/dist/chunks/md-237.js +1 -1
- package/dist/chunks/md-238.js +1 -1
- package/dist/chunks/md-239.js +1 -1
- package/dist/chunks/md-240.js +1 -1
- package/dist/chunks/md-241.js +1 -1
- package/dist/chunks/md-242.js +1 -1
- package/dist/chunks/md-243.js +1 -1
- package/dist/chunks/md-244.js +1 -1
- package/dist/chunks/md-245.js +1 -1
- package/dist/chunks/md-246.js +1 -1
- package/dist/chunks/md-247.js +1 -1
- package/dist/chunks/md-248.js +1 -1
- package/dist/chunks/md-249.js +1 -1
- package/dist/chunks/md-250.js +1 -1
- package/dist/chunks/md-251.js +1 -1
- package/dist/chunks/md-252.js +1 -1
- package/dist/chunks/md-253.js +1 -1
- package/dist/chunks/md-254.js +1 -1
- package/dist/chunks/md-255.js +1 -1
- package/dist/chunks/md-256.js +1 -1
- package/dist/chunks/md-257.js +1 -1
- package/dist/chunks/md-258.js +1 -1
- package/dist/chunks/md-259.js +1 -1
- package/dist/chunks/md-260.js +1 -1
- package/dist/chunks/md-261.js +1 -1
- package/dist/chunks/md-262.js +1 -1
- package/dist/chunks/md-263.js +1 -1
- package/dist/chunks/md-264.js +1 -1
- package/dist/chunks/md-265.js +1 -1
- package/dist/chunks/md-266.js +1 -1
- package/dist/chunks/md-267.js +1 -1
- package/dist/chunks/md-268.js +1 -1
- package/dist/chunks/md-269.js +1 -1
- package/dist/chunks/md-270.js +1 -1
- package/dist/chunks/md-271.js +1 -1
- package/dist/chunks/md-272.js +1 -1
- package/dist/chunks/md-273.js +1 -1
- package/dist/chunks/md-274.js +1 -1
- package/dist/chunks/md-275.js +1 -0
- package/dist/chunks/md-36.js +1 -1
- package/dist/chunks/md-43.js +1 -1
- package/dist/chunks/md-49.js +86 -13
- package/dist/chunks/md-50.js +13 -5
- package/dist/chunks/md-51.js +4 -67
- package/dist/chunks/md-52.js +64 -20
- package/dist/chunks/md-53.js +24 -14
- package/dist/chunks/md-54.js +14 -5
- package/dist/chunks/md-55.js +5 -39
- package/dist/chunks/md-56.js +38 -21
- package/dist/chunks/md-57.js +21 -4
- package/dist/chunks/md-58.js +5 -1
- package/dist/chunks/md-59.js +1 -22
- package/dist/chunks/md-60.js +22 -5
- package/dist/chunks/md-61.js +4 -14
- package/dist/chunks/md-62.js +14 -44
- package/dist/chunks/md-63.js +44 -29
- package/dist/chunks/md-64.js +29 -71
- package/dist/chunks/md-65.js +72 -19
- package/dist/chunks/md-66.js +19 -17
- package/dist/chunks/md-67.js +17 -22
- package/dist/chunks/md-68.js +21 -83
- package/dist/chunks/md-69.js +84 -7
- package/dist/chunks/md-70.js +7 -77
- package/dist/chunks/md-71.js +76 -71
- package/dist/chunks/md-72.js +72 -64
- package/dist/chunks/md-73.js +62 -14
- package/dist/chunks/md-74.js +15 -4
- package/dist/chunks/md-75.js +4 -29
- package/dist/chunks/md-76.js +30 -3
- package/dist/chunks/md-77.js +3 -179
- package/dist/chunks/md-78.js +177 -37
- package/dist/chunks/md-79.js +37 -84
- package/dist/chunks/md-80.js +79 -105
- package/dist/chunks/md-81.js +111 -11
- package/dist/chunks/md-82.js +11 -42
- package/dist/chunks/md-83.js +42 -25
- package/dist/chunks/md-84.js +26 -1
- package/dist/chunks/md-85.js +1 -1
- package/dist/chunks/md-86.js +1 -1
- package/dist/chunks/md-87.js +1 -1
- package/dist/chunks/md-88.js +1 -1
- package/dist/chunks/md-89.js +1 -1
- package/dist/chunks/md-90.js +1 -1
- package/dist/chunks/md-91.js +1 -1
- package/dist/chunks/md-92.js +1 -1
- package/dist/chunks/md-93.js +1 -1
- package/dist/chunks/md-94.js +1 -1
- package/dist/chunks/md-95.js +1 -1
- package/dist/chunks/md-96.js +1 -1
- package/dist/chunks/md-97.js +1 -1
- package/dist/chunks/md-98.js +1 -1
- package/dist/chunks/md-99.js +1 -1
- package/dist/comp/md-accordion-entry.js +1 -1
- package/dist/comp/md-accordion-item-entry.js +1 -1
- package/dist/comp/md-activity-button-entry.js +1 -1
- package/dist/comp/md-alert-banner-entry.js +1 -1
- package/dist/comp/md-alert-entry.js +1 -1
- package/dist/comp/md-audio-player-entry.js +1 -0
- package/dist/comp/md-audio-player.js +5 -0
- package/dist/comp/md-avatar-entry.js +1 -1
- package/dist/comp/md-badge-entry.js +1 -1
- package/dist/comp/md-breadcrumb-entry.js +1 -1
- package/dist/comp/md-breadcrumb.js +1 -1
- package/dist/comp/md-button-entry.js +1 -1
- package/dist/comp/md-button-group-entry.js +1 -1
- package/dist/comp/md-button-group.js +1 -1
- package/dist/comp/md-card-entry.js +1 -1
- package/dist/comp/md-card.js +1 -1
- package/dist/comp/md-chat-message-entry.js +1 -1
- package/dist/comp/md-chat-message.js +1 -1
- package/dist/comp/md-checkbox-entry.js +1 -1
- package/dist/comp/md-checkbox.js +1 -1
- package/dist/comp/md-checkboxgroup-entry.js +1 -1
- package/dist/comp/md-checkboxgroup.js +1 -1
- package/dist/comp/md-chip-entry.js +1 -1
- package/dist/comp/md-chip.js +1 -1
- package/dist/comp/md-coachmark-entry.js +1 -1
- package/dist/comp/md-coachmark.js +1 -1
- package/dist/comp/md-combobox-entry.js +1 -1
- package/dist/comp/md-composite-avatar-entry.js +1 -1
- package/dist/comp/md-composite-avatar.js +1 -1
- package/dist/comp/md-date-range-picker-entry.js +1 -1
- package/dist/comp/md-date-range-picker.js +1 -1
- package/dist/comp/md-date-time-picker-entry.js +1 -1
- package/dist/comp/md-date-time-picker.js +1 -1
- package/dist/comp/md-datepicker-calendar-entry.js +1 -1
- package/dist/comp/md-datepicker-day-entry.js +1 -1
- package/dist/comp/md-datepicker-entry.js +1 -1
- package/dist/comp/md-datepicker-month-entry.js +1 -1
- package/dist/comp/md-datepicker-week-entry.js +1 -1
- package/dist/comp/md-draggable-entry.js +1 -1
- package/dist/comp/md-draggable-item-entry.js +1 -1
- package/dist/comp/md-draggable-item.js +1 -1
- package/dist/comp/md-draggable.js +1 -1
- package/dist/comp/md-dropdown-entry.js +1 -1
- package/dist/comp/md-dropdown.js +1 -1
- package/dist/comp/md-editable-field-entry.js +1 -1
- package/dist/comp/md-editable-field.js +1 -1
- package/dist/comp/md-favorite-entry.js +1 -1
- package/dist/comp/md-floating-minimize-entry.js +1 -1
- package/dist/comp/md-floating-modal-entry.js +1 -1
- package/dist/comp/md-floating-modal.js +1 -1
- package/dist/comp/md-form-entry.js +1 -1
- package/dist/comp/md-form.js +1 -1
- package/dist/comp/md-help-text-entry.js +1 -1
- package/dist/comp/md-icon-entry.js +1 -1
- package/dist/comp/md-inpu.js +1 -1
- package/dist/comp/md-input-entry.js +1 -1
- package/dist/comp/md-input-file.js +1 -1
- package/dist/comp/md-label-entry.js +1 -1
- package/dist/comp/md-link-entry.js +1 -1
- package/dist/comp/md-link.js +1 -1
- package/dist/comp/md-list-entry.js +1 -1
- package/dist/comp/md-list-item-entry.js +1 -1
- package/dist/comp/md-loading-entry.js +1 -1
- package/dist/comp/md-meeting-alert-entry.js +1 -1
- package/dist/comp/md-meeting-alert.js +1 -1
- package/dist/comp/md-menu-entry.js +1 -1
- package/dist/comp/md-menu-item-entry.js +1 -1
- package/dist/comp/md-menu-overlay-entry.js +1 -1
- package/dist/comp/md-menu.js +1 -1
- package/dist/comp/md-modal-entry.js +1 -1
- package/dist/comp/md-modal.js +1 -1
- package/dist/comp/md-pagination-entry.js +1 -1
- package/dist/comp/md-pagination.js +1 -1
- package/dist/comp/md-phone-input-entry.js +1 -1
- package/dist/comp/md-phone-input.js +1 -1
- package/dist/comp/md-progress-bar-entry.js +1 -1
- package/dist/comp/md-radio-entry.js +1 -1
- package/dist/comp/md-radio.js +1 -1
- package/dist/comp/md-radiogroup-entry.js +1 -1
- package/dist/comp/md-radiogroup.js +1 -1
- package/dist/comp/md-slider-entry.js +1 -1
- package/dist/comp/md-slider.js +1 -1
- package/dist/comp/md-spinner-entry.js +1 -1
- package/dist/comp/md-tab-entry.js +1 -1
- package/dist/comp/md-tab-panel-entry.js +1 -1
- package/dist/comp/md-tab-panel.js +1 -1
- package/dist/comp/md-table-advanced-entry.js +1 -1
- package/dist/comp/md-table-advanced.js +1 -1
- package/dist/comp/md-table-entry.js +1 -1
- package/dist/comp/md-table.js +1 -1
- package/dist/comp/md-tabs-entry.js +1 -1
- package/dist/comp/md-tabs.js +1 -1
- package/dist/comp/md-task-item-entry.js +1 -1
- package/dist/comp/md-task-item.js +1 -1
- package/dist/comp/md-theme-entry.js +1 -1
- package/dist/comp/md-theme.js +1 -1
- package/dist/comp/md-timepicker-entry.js +1 -1
- package/dist/comp/md-timepicker.js +1 -1
- package/dist/comp/md-toggle-switch-entry.js +1 -1
- package/dist/comp/md-toggle-switch.js +1 -1
- package/dist/comp/md-tooltip-entry.js +1 -1
- package/dist/index-entry.js +2 -2
- package/dist/index.js +28 -27
- package/dist/types/components/audio-player/AudioPlayer.d.ts +97 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/chunks/md-65.js
CHANGED
|
@@ -1,19 +1,72 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[65],{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[65],{93:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingModal",(function(){return o}));e(17),e(15);var o,n=e(7),a=e(5),s=e(4),r=(e(44),e(45),e(46),e(20)),l=e.n(r),d=(e(47),e(0)),h=e(2),c=e(6),m=(e(74),e(61)),p=function(t,i,e,o){var n,a=arguments.length,s=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,o);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(s=(a<3?n(s):a>3?n(i,e,s):n(i,e))||s);return a>3&&s&&Object.defineProperty(i,e,s),s},u=function(t,i,e,o){return new(e||(e=Promise))((function(n,a){function s(t){try{l(o.next(t))}catch(t){a(t)}}function r(t){try{l(o.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?n(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(s,r)}l((o=o.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(n.a)(Object(n.e)(d.LitElement))){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.aspectRatio=!1,this.fixed=!1,this.full=!1,this.closeAriaLabel="Close Modal",this.resizeAriaLabel="Resize Modal",this.minimizeAriaLabel="Minimize Modal",this.minimize=!1,this.minimizable=!1,this.containerRect=null,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.resizeMoveListener=t=>{const{target:i}=t;let e=parseFloat(i.getAttribute("data-x"))||0,o=parseFloat(i.getAttribute("data-y"))||0;i.style.setProperty("width",t.rect.width+"px","important"),i.style.setProperty("height",t.rect.height+"px","important");const{initialX:n,initialY:a}=this.getInitialPosition();e+=t.deltaRect.left+n,o+=t.deltaRect.top+a,this.setTargetPosition(i,e,o),this.applyInitialPosition=!1},this.resizeEndListener=()=>{this.setContainerRect()},this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.position?{initialX:Number(null===(t=this.position)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.position)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:o}=this.getTransformValues(t);this.setTargetPosition(i,e,o),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[s.a,m.a]}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("position")&&!t.has("show")&&this.setInitialTargetPosition()}isNewPositionNotSame(){var t,i,e,o;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.position)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(o=this.position)||void 0===o?void 0:o.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.position)||void 0===t?void 0:t.x),Number(null===(i=this.position)||void 0===i?void 0:i.y))}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>u(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerRect=this.container.getBoundingClientRect(),this.dispatchEvent(new CustomEvent("floating-modal-resize",{composed:!0,bubbles:!0,detail:{size:this.containerRect}})),this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&l()(this.container).resizable({edges:{left:!0,right:!0,bottom:!0,top:!0},listeners:{end:this.resizeEndListener,move:this.resizeMoveListener},modifiers:this.aspectRatio?[l.a.modifiers.aspectRatio({ratio:"preserve",equalDelta:!0,modifiers:[l.a.modifiers.restrictSize({max:"parent"})]})]:void 0}).draggable({autoScroll:!0,allowFrom:this.header,ignoreFrom:this.body,listeners:{move:this.dragMoveListener,end:this.dragEndListener}})})}handleClose(t){this.show=!1,this.full=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}}))}handleMinimize(t){this.minimizable&&(this.dragOccured||(this.minimize=!this.minimize,this.dispatchEvent(new CustomEvent("floating-modal-minimize",{composed:!0,bubbles:!0,detail:{minimize:this.minimize}}))),this.dragOccured=!1)}handleToggleExpandCollapse(){this.full=!this.full}getTransformValues(t){const{target:i,dx:e,dy:o}=t,{initialX:n,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+n,y:(parseFloat(i.getAttribute("data-y"))||0)+o+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&l.a.isSet(this.container)&&l()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance()}renderedCallback(){this.containerTransform=this.position?`translate(${this.position.x}px, ${this.position.y}px)`:""}render(){return d.html`
|
|
2
|
+
${this.show?d.html`
|
|
3
|
+
<div
|
|
4
|
+
class="md-floating ${this.fixed?"fixed":""} ${this.minimize?"hide":""}"
|
|
5
|
+
part="floating"
|
|
6
|
+
role="dialog"
|
|
7
|
+
aria-label=${Object(c.ifDefined)(this.label||void 0)}
|
|
8
|
+
aria-modal="true"
|
|
9
|
+
style=${Object(c.ifDefined)(this.containerRect?`width: ${this.full?"100% !important":this.containerRect.width+"px !important"};\n height: ${this.full?"100% !important":this.containerRect.height+"px !important"};\n top: ${this.full?"0 !important":""};\n left: ${this.full?"0 !important":""};\n bottom: ${this.full?"0 !important":""};\n right: ${this.full?"0 !important":""};\n ${this.full?"transform: none !important":""};\n ${this.full?"":`transform: ${this.position?`translate(${this.position.x}px, ${this.position.y}px)`:this.containerTransform} !important`};`:void 0)}
|
|
10
|
+
>
|
|
11
|
+
<div class="md-floating__header">
|
|
12
|
+
<div class="md-floating__header-text">
|
|
13
|
+
${this.heading?d.html`
|
|
14
|
+
${this.heading}
|
|
15
|
+
`:d.html`
|
|
16
|
+
${!this.minimize&&this.headerSlot}
|
|
17
|
+
<slot name="header"></slot>
|
|
18
|
+
`}
|
|
19
|
+
</div>
|
|
20
|
+
${this.minimizable?d.html`
|
|
21
|
+
<md-button
|
|
22
|
+
color="color-none"
|
|
23
|
+
class="md-floating__minimize"
|
|
24
|
+
aria-label="${this.minimizeAriaLabel}"
|
|
25
|
+
circle
|
|
26
|
+
@click=${this.handleMinimize}
|
|
27
|
+
>
|
|
28
|
+
<md-icon name="minus_16"></md-icon>
|
|
29
|
+
</md-button>`:h.nothing}
|
|
30
|
+
|
|
31
|
+
${this.minimize?"":d.html` <md-button
|
|
32
|
+
color="color-none"
|
|
33
|
+
class="md-floating__resize"
|
|
34
|
+
aria-label="${this.resizeAriaLabel}"
|
|
35
|
+
circle
|
|
36
|
+
@click=${this.handleToggleExpandCollapse}
|
|
37
|
+
>
|
|
38
|
+
<md-icon name=${this.full?"minimize_16":"maximize_16"}></md-icon>
|
|
39
|
+
</md-button>`}
|
|
40
|
+
|
|
41
|
+
<md-button
|
|
42
|
+
color="color-none"
|
|
43
|
+
class="md-floating__close"
|
|
44
|
+
aria-label="${this.closeAriaLabel}"
|
|
45
|
+
circle
|
|
46
|
+
@click=${this.handleClose}
|
|
47
|
+
>
|
|
48
|
+
<md-icon name="cancel_16"></md-icon>
|
|
49
|
+
</md-button>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="md-floating__body" part="floating-body">
|
|
52
|
+
<slot></slot>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
${this.minimizable?d.html`
|
|
56
|
+
<div class="md-floating-min-parent" part="minimize-floating" tabindex="-1">
|
|
57
|
+
<md-floating-modal-minimized
|
|
58
|
+
class="float-modal-min"
|
|
59
|
+
part="floating-minimized"
|
|
60
|
+
heading=${this.heading}
|
|
61
|
+
.minimize=${this.minimize}
|
|
62
|
+
.minPosition=${this.minPosition}
|
|
63
|
+
@floating-min-modal-minimize=${t=>this.handleMinimize(t)}
|
|
64
|
+
@floating-modal-close=${this.handleClose}
|
|
65
|
+
?show=${this.show}
|
|
66
|
+
>
|
|
67
|
+
${this.minimize&&this.headerSlot}
|
|
68
|
+
</md-floating-modal-minimized>
|
|
69
|
+
</div>`:h.nothing}
|
|
70
|
+
|
|
71
|
+
`:h.nothing}
|
|
72
|
+
`}};p([Object(d.property)({type:String})],i.prototype,"heading",void 0),p([Object(d.property)({type:String})],i.prototype,"label",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"aspect-ratio"})],i.prototype,"aspectRatio",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"fixed-strategy"})],i.prototype,"fixed",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"full-screen"})],i.prototype,"full",void 0),p([Object(d.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),p([Object(d.property)({type:String,attribute:"resize-aria-label"})],i.prototype,"resizeAriaLabel",void 0),p([Object(d.property)({type:String,attribute:"minimize-aria-label"})],i.prototype,"minimizeAriaLabel",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),p([Object(d.property)({type:Object})],i.prototype,"position",void 0),p([Object(d.property)({type:Object})],i.prototype,"minPosition",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"minimizable",void 0),p([Object(d.property)({type:Object})],i.prototype,"containerRect",void 0),p([Object(d.internalProperty)()],i.prototype,"dragOccured",void 0),p([Object(d.query)(".md-floating")],i.prototype,"container",void 0),p([Object(d.query)(".md-floating__body")],i.prototype,"body",void 0),p([Object(d.query)(".md-floating__header")],i.prototype,"header",void 0),p([Object(d.query)(".md-floating-min-parent")],i.prototype,"minimizedHeader",void 0),p([Object(d.query)('slot[name="header"]')],i.prototype,"headerSlot",void 0),i=p([Object(a.a)("md-floating-modal")],i),t.ELEMENT=i}(o||(o={}))}}]);
|
package/dist/chunks/md-66.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[66],{
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[66],{94:function(t,e,i){"use strict";i.r(e),i.d(e,"Form",(function(){return o}));var o,r=i(0),n=i(6),s=i(7),a=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};!function(t){let e=class extends(Object(s.e)(r.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="GET",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=t=>{t.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=t=>{this.allowRedirect||t.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}isSubmittable(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement}isDisabled(t){return t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")}findSubmittable(t,e){const i=Array.from(t.children);for(const t of i)if(!this.isDisabled(t))if(this.isSubmittable(t)&&e.add(t),t.shadowRoot)this.findSubmittable(t.shadowRoot,e);else if("SLOT"===t.tagName){const i=t.assignedElements();if(i.length){const{parentElement:t}=i[0];t&&this.findSubmittable(t,e)}}else this.findSubmittable(t,e);return[...e]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:t}=this;t.requestSubmit?t.requestSubmit():t.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(t){t.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:t}=this;if(t.length)for(const e of t)this.deleteWrappedForm(e);this.formElement=[]}createWrappedForm(t){const e=document.createElement("form");e.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=t;t.autocomplete=this.token,t.id||(t.id=this.autofillname),t.name||(t.name=this.autofillname),i&&(this.formElement.push(e),i.insertBefore(e,t),e.append(t))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const t=this.findSubmittable(this.form,new Set);if(t.length)for(const e of t)this.createWrappedForm(e)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return r.html`
|
|
2
|
+
<form
|
|
3
|
+
class="md-form"
|
|
4
|
+
role="form"
|
|
5
|
+
name=${Object(n.ifDefined)(this.name||void 0)}
|
|
6
|
+
rel=${Object(n.ifDefined)(this.rel||void 0)}
|
|
7
|
+
action=${Object(n.ifDefined)(this.action||void 0)}
|
|
8
|
+
accept-charset=${this.charset}
|
|
9
|
+
enctype=${this.enctype}
|
|
10
|
+
aria-label=${Object(n.ifDefined)(this.label||void 0)}
|
|
11
|
+
?novalidate=${this.novalidate}
|
|
12
|
+
method=${this.method}
|
|
13
|
+
target=${this.target}
|
|
14
|
+
part="form"
|
|
15
|
+
@submit=${this.handleFormSubmit}
|
|
16
|
+
>
|
|
17
|
+
<slot></slot>
|
|
18
|
+
</form>
|
|
19
|
+
`}};a([Object(r.property)({type:String})],e.prototype,"rel",void 0),a([Object(r.property)({type:String})],e.prototype,"name",void 0),a([Object(r.property)({type:String})],e.prototype,"action",void 0),a([Object(r.property)({type:String})],e.prototype,"label",void 0),a([Object(r.property)({type:String})],e.prototype,"method",void 0),a([Object(r.property)({type:String})],e.prototype,"target",void 0),a([Object(r.property)({type:String})],e.prototype,"enctype",void 0),a([Object(r.property)({type:Boolean,reflect:!0,attribute:"no-validate"})],e.prototype,"novalidate",void 0),a([Object(r.property)({type:String,reflect:!0,attribute:"accept-charset"})],e.prototype,"charset",void 0),a([Object(r.property)({type:Boolean,reflect:!0,attribute:"is-valid"})],e.prototype,"isvalid",void 0),a([Object(r.property)({type:String,attribute:"autofill-token"})],e.prototype,"token",void 0),a([Object(r.property)({type:Boolean,attribute:"allow-redirect"})],e.prototype,"allowRedirect",void 0),a([Object(r.property)({type:String,attribute:"autofill-name"})],e.prototype,"autofillname",void 0),a([Object(r.query)(".md-form")],e.prototype,"form",void 0),e=a([Object(s.f)("md-form")],e),t.ELEMENT=e}(o||(o={}))}}]);
|
package/dist/chunks/md-67.js
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[67],{115:function(e,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
>
|
|
19
|
-
<slot></slot>
|
|
20
|
-
</a>
|
|
21
|
-
`}})()}
|
|
22
|
-
`}};a([Object(r.property)({type:String,attribute:!1})],n.prototype,"color",void 0),a([Object(r.property)({type:Boolean})],n.prototype,"disabled",void 0),a([Object(r.property)({type:Boolean})],n.prototype,"inline",void 0),a([Object(r.property)({type:String})],n.prototype,"href",void 0),a([Object(r.property)({type:String})],n.prototype,"tag",void 0),a([Object(r.property)({type:String})],n.prototype,"target",void 0),a([Object(r.property)({type:Number,attribute:"tab-index",reflect:!0})],n.prototype,"tabIndex",null),n=a([Object(t.a)("md-link")],n),e.ELEMENT=n}(k||(k={}))}}]);
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[67],{115:function(s,e,t){"use strict";t.r(e),t.d(e,"InputFile",(function(){return a}));t(17);var a,i=t(7),r=t(4),l=t(23),n=t.n(l),o=t(0),j=t(2),c=t(6),p=o.css`:host(md-input-file) md-button{margin:.25rem}:host(md-input-file) input[type=file]{display:none}`,u=function(s,e,t,a){var i,r=arguments.length,l=r<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(s,e,t,a);else for(var n=s.length-1;n>=0;n--)(i=s[n])&&(l=(r<3?i(l):r>3?i(e,t,l):i(e,t))||l);return r>3&&l&&Object.defineProperty(e,t,l),l},m=function(s,e,t,a){return new(t||(t=Promise))((function(i,r){function l(s){try{o(a.next(s))}catch(s){r(s)}}function n(s){try{o(a.throw(s))}catch(s){r(s)}}function o(s){var e;s.done?i(s.value):(e=s.value,e instanceof t?e:new t((function(s){s(e)}))).then(l,n)}o((a=a.apply(s,e||[])).next())}))};!function(s){let e=class extends o.LitElement{constructor(){super(...arguments),this.acceptLanguage="javascript",this.getLocalization="Input File",this.acceptTypes="",this.fileName=""}static get styles(){return[r.a,p]}triggerFileLoad(s){s.preventDefault(),this.input.click()}handleFile(s){return m(this,void 0,void 0,(function*(){s.preventDefault();const e=this.input.files;if(e&&0!==e.length)for(const s of e){let e="";this.fileName=s.name;try{e=yield this.readFile(s)}catch(s){e=""}}}))}readFile(s){return new Promise((e,t)=>{const a=new FileReader;a.onload=s=>{e(s.target.result)},a.onerror=s=>t(s),a.readAsText(s)})}importLanguage(s){return m(this,void 0,void 0,(function*(){try{const{default:e}=yield t(88)("./"+s);n.a.registerLanguage(""+s,e),this.setAcceptTypes()}catch(s){console.warn("Please set correct language name")}}))}getAllAcceptTypes(){const s=n.a.listLanguages();return s.length?s.map(s=>n.a.getLanguage(""+s).aliases).map(s=>s.map(s=>"."+s)).join(","):""}setAcceptTypes(){this.acceptTypes=this.getAllAcceptTypes()}updated(s){super.updated(s),s.has("acceptLanguage")&&this.importLanguage(this.acceptLanguage)}render(){return o.html`
|
|
2
|
+
<div class="md-input-file">
|
|
3
|
+
<label for="file-input">
|
|
4
|
+
<md-button color="blue" class="md-input-file-btn" @click=${this.triggerFileLoad}>
|
|
5
|
+
${this.getLocalization.trim()}
|
|
6
|
+
</md-button>
|
|
7
|
+
${this.fileName.length?this.fileName:j.nothing}
|
|
8
|
+
</label>
|
|
9
|
+
<input
|
|
10
|
+
type="file"
|
|
11
|
+
id="file-input"
|
|
12
|
+
name="file-input"
|
|
13
|
+
accept=${Object(c.ifDefined)(this.acceptTypes||void 0)}
|
|
14
|
+
@change=${s=>this.handleFile(s)}
|
|
15
|
+
/>
|
|
16
|
+
</div>
|
|
17
|
+
`}};u([Object(o.property)({type:String,attribute:"accept-language"})],e.prototype,"acceptLanguage",void 0),u([Object(o.property)({type:String})],e.prototype,"getLocalization",void 0),u([Object(o.query)("input[type='file']")],e.prototype,"input",void 0),u([Object(o.internalProperty)()],e.prototype,"acceptTypes",void 0),u([Object(o.internalProperty)()],e.prototype,"fileName",void 0),e=u([Object(i.f)("md-input-file")],e),s.ELEMENT=e}(a||(a={}))},88:function(s,e,t){var a={"./1c":[126,85],"./1c.js":[126,85],"./abnf":[127,86],"./abnf.js":[127,86],"./accesslog":[128,87],"./accesslog.js":[128,87],"./actionscript":[129,88],"./actionscript.js":[129,88],"./ada":[130,89],"./ada.js":[130,89],"./angelscript":[131,90],"./angelscript.js":[131,90],"./apache":[132,91],"./apache.js":[132,91],"./applescript":[133,92],"./applescript.js":[133,92],"./arcade":[134,93],"./arcade.js":[134,93],"./arduino":[135,94],"./arduino.js":[135,94],"./armasm":[136,95],"./armasm.js":[136,95],"./asciidoc":[137,96],"./asciidoc.js":[137,96],"./aspectj":[138,97],"./aspectj.js":[138,97],"./autohotkey":[139,98],"./autohotkey.js":[139,98],"./autoit":[140,99],"./autoit.js":[140,99],"./avrasm":[141,100],"./avrasm.js":[141,100],"./awk":[142,101],"./awk.js":[142,101],"./axapta":[143,102],"./axapta.js":[143,102],"./bash":[144,103],"./bash.js":[144,103],"./basic":[145,104],"./basic.js":[145,104],"./bnf":[146,105],"./bnf.js":[146,105],"./brainfuck":[147,106],"./brainfuck.js":[147,106],"./c":[149,108],"./c-like":[148,107],"./c-like.js":[148,107],"./c.js":[149,108],"./cal":[150,109],"./cal.js":[150,109],"./capnproto":[151,110],"./capnproto.js":[151,110],"./ceylon":[152,111],"./ceylon.js":[152,111],"./clean":[153,112],"./clean.js":[153,112],"./clojure":[155,114],"./clojure-repl":[154,113],"./clojure-repl.js":[154,113],"./clojure.js":[155,114],"./cmake":[156,115],"./cmake.js":[156,115],"./coffeescript":[157,116],"./coffeescript.js":[157,116],"./coq":[158,117],"./coq.js":[158,117],"./cos":[159,118],"./cos.js":[159,118],"./cpp":[160,119],"./cpp.js":[160,119],"./crmsh":[161,120],"./crmsh.js":[161,120],"./crystal":[162,121],"./crystal.js":[162,121],"./csharp":[163,122],"./csharp.js":[163,122],"./csp":[164,123],"./csp.js":[164,123],"./css":[165,124],"./css.js":[165,124],"./d":[166,125],"./d.js":[166,125],"./dart":[167,126],"./dart.js":[167,126],"./delphi":[168,127],"./delphi.js":[168,127],"./diff":[169,128],"./diff.js":[169,128],"./django":[170,129],"./django.js":[170,129],"./dns":[171,130],"./dns.js":[171,130],"./dockerfile":[172,131],"./dockerfile.js":[172,131],"./dos":[173,132],"./dos.js":[173,132],"./dsconfig":[174,133],"./dsconfig.js":[174,133],"./dts":[175,134],"./dts.js":[175,134],"./dust":[176,135],"./dust.js":[176,135],"./ebnf":[177,136],"./ebnf.js":[177,136],"./elixir":[178,137],"./elixir.js":[178,137],"./elm":[179,138],"./elm.js":[179,138],"./erb":[180,139],"./erb.js":[180,139],"./erlang":[182,141],"./erlang-repl":[181,140],"./erlang-repl.js":[181,140],"./erlang.js":[182,141],"./excel":[183,142],"./excel.js":[183,142],"./fix":[184,143],"./fix.js":[184,143],"./flix":[185,144],"./flix.js":[185,144],"./fortran":[186,145],"./fortran.js":[186,145],"./fsharp":[187,146],"./fsharp.js":[187,146],"./gams":[188,147],"./gams.js":[188,147],"./gauss":[189,148],"./gauss.js":[189,148],"./gcode":[190,149],"./gcode.js":[190,149],"./gherkin":[191,150],"./gherkin.js":[191,150],"./glsl":[192,151],"./glsl.js":[192,151],"./gml":[193,152],"./gml.js":[193,152],"./go":[194,153],"./go.js":[194,153],"./golo":[195,154],"./golo.js":[195,154],"./gradle":[196,155],"./gradle.js":[196,155],"./groovy":[197,156],"./groovy.js":[197,156],"./haml":[198,157],"./haml.js":[198,157],"./handlebars":[199,158],"./handlebars.js":[199,158],"./haskell":[200,159],"./haskell.js":[200,159],"./haxe":[201,160],"./haxe.js":[201,160],"./hsp":[202,161],"./hsp.js":[202,161],"./htmlbars":[203,162],"./htmlbars.js":[203,162],"./http":[204,163],"./http.js":[204,163],"./hy":[205,164],"./hy.js":[205,164],"./inform7":[206,165],"./inform7.js":[206,165],"./ini":[207,166],"./ini.js":[207,166],"./irpf90":[208,167],"./irpf90.js":[208,167],"./isbl":[209,168],"./isbl.js":[209,168],"./java":[210,169],"./java.js":[210,169],"./javascript":[211,170],"./javascript.js":[211,170],"./jboss-cli":[212,171],"./jboss-cli.js":[212,171],"./json":[213,172],"./json.js":[213,172],"./julia":[215,174],"./julia-repl":[214,173],"./julia-repl.js":[214,173],"./julia.js":[215,174],"./kotlin":[216,175],"./kotlin.js":[216,175],"./lasso":[217,176],"./lasso.js":[217,176],"./latex":[218,177],"./latex.js":[218,177],"./ldif":[219,178],"./ldif.js":[219,178],"./leaf":[220,179],"./leaf.js":[220,179],"./less":[221,180],"./less.js":[221,180],"./lisp":[222,181],"./lisp.js":[222,181],"./livecodeserver":[223,182],"./livecodeserver.js":[223,182],"./livescript":[224,183],"./livescript.js":[224,183],"./llvm":[225,184],"./llvm.js":[225,184],"./lsl":[226,185],"./lsl.js":[226,185],"./lua":[227,186],"./lua.js":[227,186],"./makefile":[228,187],"./makefile.js":[228,187],"./markdown":[229,188],"./markdown.js":[229,188],"./mathematica":[230,189],"./mathematica.js":[230,189],"./matlab":[231,190],"./matlab.js":[231,190],"./maxima":[232,191],"./maxima.js":[232,191],"./mel":[233,192],"./mel.js":[233,192],"./mercury":[234,193],"./mercury.js":[234,193],"./mipsasm":[235,194],"./mipsasm.js":[235,194],"./mizar":[236,195],"./mizar.js":[236,195],"./mojolicious":[237,196],"./mojolicious.js":[237,196],"./monkey":[238,197],"./monkey.js":[238,197],"./moonscript":[239,198],"./moonscript.js":[239,198],"./n1ql":[240,199],"./n1ql.js":[240,199],"./nginx":[241,200],"./nginx.js":[241,200],"./nim":[242,201],"./nim.js":[242,201],"./nix":[243,202],"./nix.js":[243,202],"./node-repl":[244,203],"./node-repl.js":[244,203],"./nsis":[245,204],"./nsis.js":[245,204],"./objectivec":[246,205],"./objectivec.js":[246,205],"./ocaml":[247,206],"./ocaml.js":[247,206],"./openscad":[248,207],"./openscad.js":[248,207],"./oxygene":[249,208],"./oxygene.js":[249,208],"./parser3":[250,209],"./parser3.js":[250,209],"./perl":[251,210],"./perl.js":[251,210],"./pf":[252,211],"./pf.js":[252,211],"./pgsql":[253,212],"./pgsql.js":[253,212],"./php":[255,214],"./php-template":[254,213],"./php-template.js":[254,213],"./php.js":[255,214],"./plaintext":[256,215],"./plaintext.js":[256,215],"./pony":[257,216],"./pony.js":[257,216],"./powershell":[258,217],"./powershell.js":[258,217],"./processing":[259,218],"./processing.js":[259,218],"./profile":[260,219],"./profile.js":[260,219],"./prolog":[261,220],"./prolog.js":[261,220],"./properties":[262,221],"./properties.js":[262,221],"./protobuf":[263,222],"./protobuf.js":[263,222],"./puppet":[264,223],"./puppet.js":[264,223],"./purebasic":[265,224],"./purebasic.js":[265,224],"./python":[267,226],"./python-repl":[266,225],"./python-repl.js":[266,225],"./python.js":[267,226],"./q":[268,227],"./q.js":[268,227],"./qml":[269,228],"./qml.js":[269,228],"./r":[270,229],"./r.js":[270,229],"./reasonml":[271,230],"./reasonml.js":[271,230],"./rib":[272,231],"./rib.js":[272,231],"./roboconf":[273,232],"./roboconf.js":[273,232],"./routeros":[274,233],"./routeros.js":[274,233],"./rsl":[275,234],"./rsl.js":[275,234],"./ruby":[276,235],"./ruby.js":[276,235],"./ruleslanguage":[277,236],"./ruleslanguage.js":[277,236],"./rust":[278,237],"./rust.js":[278,237],"./sas":[279,238],"./sas.js":[279,238],"./scala":[280,239],"./scala.js":[280,239],"./scheme":[281,240],"./scheme.js":[281,240],"./scilab":[282,241],"./scilab.js":[282,241],"./scss":[283,242],"./scss.js":[283,242],"./shell":[284,243],"./shell.js":[284,243],"./smali":[285,244],"./smali.js":[285,244],"./smalltalk":[286,245],"./smalltalk.js":[286,245],"./sml":[287,246],"./sml.js":[287,246],"./sqf":[288,247],"./sqf.js":[288,247],"./sql":[289,248],"./sql.js":[289,248],"./sql_more":[290,249],"./sql_more.js":[290,249],"./stan":[291,250],"./stan.js":[291,250],"./stata":[292,251],"./stata.js":[292,251],"./step21":[293,252],"./step21.js":[293,252],"./stylus":[294,253],"./stylus.js":[294,253],"./subunit":[295,254],"./subunit.js":[295,254],"./swift":[296,255],"./swift.js":[296,255],"./taggerscript":[297,256],"./taggerscript.js":[297,256],"./tap":[298,257],"./tap.js":[298,257],"./tcl":[299,258],"./tcl.js":[299,258],"./thrift":[300,259],"./thrift.js":[300,259],"./tp":[301,260],"./tp.js":[301,260],"./twig":[302,261],"./twig.js":[302,261],"./typescript":[303,262],"./typescript.js":[303,262],"./vala":[304,263],"./vala.js":[304,263],"./vbnet":[305,264],"./vbnet.js":[305,264],"./vbscript":[307,266],"./vbscript-html":[306,265],"./vbscript-html.js":[306,265],"./vbscript.js":[307,266],"./verilog":[308,267],"./verilog.js":[308,267],"./vhdl":[309,268],"./vhdl.js":[309,268],"./vim":[310,269],"./vim.js":[310,269],"./x86asm":[311,270],"./x86asm.js":[311,270],"./xl":[312,271],"./xl.js":[312,271],"./xml":[313,272],"./xml.js":[313,272],"./xquery":[314,273],"./xquery.js":[314,273],"./yaml":[315,274],"./yaml.js":[315,274],"./zephir":[316,275],"./zephir.js":[316,275]};function i(s){if(!t.o(a,s))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+s+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=a[s],i=e[0];return t.e(e[1]).then((function(){return t.t(i,7)}))}i.keys=function(){return Object.keys(a)},i.id=88,s.exports=i}}]);
|
package/dist/chunks/md-68.js
CHANGED
|
@@ -1,84 +1,22 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[68],{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
vertical-align: middle;
|
|
6
|
-
-ms-interpolation-mode: bicubic;
|
|
7
|
-
height: auto;
|
|
8
|
-
max-width: 100%;
|
|
9
|
-
border-style: none;
|
|
10
|
-
}
|
|
11
|
-
${this.userStyles}
|
|
12
|
-
</style>
|
|
13
|
-
`}static get styles(){return[l.a,m]}render(){const{attendees:t,message:e,onSnooze:r,role:o,src:l,status:a,title:m,closeAriaLabel:s,show:c,onKeyDown:p,snoozeAriaLabel:h}=this;return i.html`
|
|
14
|
-
${this.getStyles()}
|
|
15
|
-
${c?i.html`
|
|
16
|
-
<div
|
|
17
|
-
aria-label="Meeting Alert"
|
|
18
|
-
class=${"md-alert md-alert--meeting"}
|
|
19
|
-
@keydown=${t=>this.handleKeyDown(t)}
|
|
20
|
-
role=${o}
|
|
21
|
-
>
|
|
22
|
-
<slot name="custom-avatar">
|
|
23
|
-
${t.length>=2?(t=>{const e="display: flex;width: 1.625rem;height: 1.625rem;font-size: .56875rem;line-height: .8125rem;";return i.html`
|
|
24
|
-
<div class="md-composite-avatar md-composite-avatar--wc-override" style=${"position: relative; display: block;\n width: 2.5rem;\n height: 2.5rem;\n font-size: 0.875rem;\n line-height: 1.25rem;"}>
|
|
25
|
-
<md-avatar
|
|
26
|
-
slot="avatar"
|
|
27
|
-
class="md-avatar"
|
|
28
|
-
alt=${t[0].alt||t[0].title}
|
|
29
|
-
src=${Object(d.ifDefined)(t[0].src?t[0].src:void 0)}
|
|
30
|
-
title=${t[0].title}
|
|
31
|
-
size="24"
|
|
32
|
-
style=${e+"position: absolute;left: 0px;top: 0px;"}
|
|
33
|
-
></md-avatar>
|
|
34
|
-
<md-avatar
|
|
35
|
-
slot="avatar"
|
|
36
|
-
class="md-avatar"
|
|
37
|
-
alt=${t[1].alt||t[1].title}
|
|
38
|
-
src=${Object(d.ifDefined)(t[1].src?t[1].src:void 0)}
|
|
39
|
-
title=${t[1].title}
|
|
40
|
-
size="24"
|
|
41
|
-
style=${e+"position: absolute;right: 0px;bottom: 0px;"}
|
|
42
|
-
></md-avatar>
|
|
43
|
-
</div>
|
|
44
|
-
`})(t):i.html`
|
|
45
|
-
<md-avatar title=${m} label="avatar" src=${l} tabindex="-1"></md-avatar>
|
|
46
|
-
`}
|
|
47
|
-
</slot>
|
|
48
|
-
<div class=${"md-alert__content "+(r?"":" md-alert__content--wide")}>
|
|
49
|
-
<div class="md-alert__title" title=${m}>
|
|
50
|
-
${m}
|
|
51
|
-
</div>
|
|
52
|
-
<div class="md-alert__status" title=${a}>
|
|
53
|
-
${a}
|
|
54
|
-
</div>
|
|
55
|
-
<div class="md-alert__message" title=${e}>
|
|
56
|
-
${e}
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
${r?i.html`
|
|
60
|
-
<div class="md-alert__button">
|
|
61
|
-
<md-button
|
|
62
|
-
aria-label=${h}
|
|
63
|
-
circle
|
|
64
|
-
@click=${t=>{this.handleSnooze(t)}}
|
|
65
|
-
.size=${40}
|
|
66
|
-
>
|
|
67
|
-
<md-icon name="icon-alarm_16"></md-icon>
|
|
68
|
-
</md-button>
|
|
69
|
-
</div>
|
|
70
|
-
`:n.nothing}
|
|
71
|
-
<slot name="custom-action">
|
|
72
|
-
<md-button
|
|
73
|
-
class="md-alert__button"
|
|
74
|
-
ariaLabel=${s}
|
|
75
|
-
circle
|
|
76
|
-
@click=${t=>{this.handleClose(t)}}
|
|
77
|
-
.size=${40}
|
|
78
|
-
>
|
|
79
|
-
<md-icon name="icon-cancel_16"></md-icon>
|
|
80
|
-
</md-button>
|
|
81
|
-
</slot>
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[68],{116:function(e,n,i){"use strict";i.r(n),i.d(n,"linkTag",(function(){return c})),i.d(n,"linkColor",(function(){return s})),i.d(n,"Link",(function(){return k}));var l=i(4),t=i(5),r=i(0),o=i(3),d=r.css`.md-link{color:var(--link-default,#005e7d);border-radius:.25rem;cursor:pointer;display:inline-flex;font-size:var(--link-inline-font-size,14px);line-height:170%;width:fit-content}.md-link:hover{color:var(--link-hover,#005e7d)}.md-link:focus{box-shadow:0 0 0 2px var(--link-focus-outline,#007aa3);color:var(--link-focus,#005e7d)}.md-link.active{color:var(--link-pressed,#064157)}.md-link.disabled,.md-link.md-link--inline.disabled{color:var(--link-disabled,#b2b2b2)}.md-link.md-link--inline{color:var(--link-inline,#a12512)}.md-link.md-link--inline:hover{color:var(--link-inline-hover,#6e1d13)}.md-link.md-link--inline:focus{color:var(--link-inline-focus,#a12512)}.md-link.md-link--inline.active{color:var(--link-inline-pressed,#4a1812)}.md-link .md-link--blue{color:var(--link-blue,#00a0d1)}.md-link .md-link--blue:hover{color:var(--link-blue-hover,#007aa3)}.md-link .md-link--blue.active{color:var(--link-blue-active,#005e7d)}.md-link .md-link--red{color:var(--link-red,#f7644a)}.md-link .md-link--red:hover{color:var(--link-red-hover,#d4371c)}.md-link .md-link--red.active{color:var(--link-red-active,#a12512)}.md-link .md-link--green{color:var(--link-green,#00ab50)}.md-link .md-link--green:hover{color:var(--link-green-hover,#00853c)}.md-link .md-link--green.active{color:var(--link-green-active,#03612c)}.md-link .md-link--yellow{color:var(--link-yellow,#d97f00)}.md-link .md-link--yellow:hover{color:var(--link-yellow-hover,#a85f00)}.md-link .md-link--yellow.active{color:var(--link-yellow-active,#7d4705)}.md-link .md-link--orange{color:var(--link-orange,#f26b1d)}.md-link .md-link--orange:hover{color:var(--link-orange-hover,#c74f0e)}.md-link .md-link--orange.active{color:var(--link-orange-active,#914017)}.md-link:focus{outline:0}.md-link.disabled{pointer-events:none}.md-link--inline{font-size:var(--link-inline-font-size,14px);line-height:100%;text-decoration:underline}`,a=function(e,n,i,l){var t,r=arguments.length,o=r<3?n:null===l?l=Object.getOwnPropertyDescriptor(n,i):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,n,i,l);else for(var d=e.length-1;d>=0;d--)(t=e[d])&&(o=(r<3?t(o):r>3?t(n,i,o):t(n,i))||o);return r>3&&o&&Object.defineProperty(n,i,o),o};const c=["a","div","span"],s=["","blue","red","green","yellow","orange"];var k;!function(e){let n=class extends r.LitElement{constructor(){super(...arguments),this.color="",this.disabled=!1,this.inline=!1,this.href="",this.tag="a",this.target="_self",this._tabIndex=0}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){const n=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",n)}static get styles(){return[l.a,d]}render(){const e={["md-link--"+this.color]:this.color,"md-link--inline":this.inline,disabled:this.disabled};return r.html`
|
|
2
|
+
${(()=>{switch(this.tag){case"div":return r.html`
|
|
3
|
+
<div class="md-link ${Object(o.classMap)(e)}" tabindex=${this.tabIndex} role="link" part="link">
|
|
4
|
+
<slot></slot>
|
|
82
5
|
</div>
|
|
83
|
-
|
|
84
|
-
|
|
6
|
+
`;case"span":return r.html`
|
|
7
|
+
<span class="md-link ${Object(o.classMap)(e)}" tabindex=${this.tabIndex} role="link" part="link">
|
|
8
|
+
<slot></slot>
|
|
9
|
+
</span>
|
|
10
|
+
`;default:return r.html`
|
|
11
|
+
<a
|
|
12
|
+
class="md-link ${Object(o.classMap)(e)}"
|
|
13
|
+
.target="${this.target}"
|
|
14
|
+
href=${this.href}
|
|
15
|
+
tabindex=${this.tabIndex}
|
|
16
|
+
role="link"
|
|
17
|
+
part="link"
|
|
18
|
+
>
|
|
19
|
+
<slot></slot>
|
|
20
|
+
</a>
|
|
21
|
+
`}})()}
|
|
22
|
+
`}};a([Object(r.property)({type:String,attribute:!1})],n.prototype,"color",void 0),a([Object(r.property)({type:Boolean})],n.prototype,"disabled",void 0),a([Object(r.property)({type:Boolean})],n.prototype,"inline",void 0),a([Object(r.property)({type:String})],n.prototype,"href",void 0),a([Object(r.property)({type:String})],n.prototype,"tag",void 0),a([Object(r.property)({type:String})],n.prototype,"target",void 0),a([Object(r.property)({type:Number,attribute:"tab-index",reflect:!0})],n.prototype,"tabIndex",null),n=a([Object(t.a)("md-link")],n),e.ELEMENT=n}(k||(k={}))}}]);
|
package/dist/chunks/md-69.js
CHANGED
|
@@ -1,7 +1,84 @@
|
|
|
1
|
-
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[69],{
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
(window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[69],{102:function(t,e,r){"use strict";r.r(e),r.d(e,"MeetingAlertRole",(function(){return c})),r.d(e,"MeetingAlert",(function(){return p}));var o=r(1),l=r(4),a=r(5),i=r(0),n=r(2),d=(r(43),r(17),r(15),r(6));var m=i.css`.md-alert__container{position:fixed;z-index:9999}.md-alert__container--top-left{left:1em;top:1em}.md-alert__container--top-center{left:50%;top:1em;transform:translate(-50%)}.md-alert__container--top-right{right:1em;top:1em}.md-alert__container--bottom-left{bottom:1em;left:1em}.md-alert__container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.md-alert__container--bottom-right{bottom:1em;right:1em}.md-alert__container--call{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;left:50%;top:50%;transform:translate(-50%,-50%)}.md-alert{align-content:space-between;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#fff;border:1px solid rgba(0,0,0,.12);box-shadow:0 8px 16px 0 rgba(0,0,0,.08);justify-content:space-between;margin-bottom:.5rem;max-height:19.25rem;min-height:4.875rem;padding:.5rem .8125rem .5rem 1.0625rem;width:21.375rem}.md-alert__icon{font-family:momentum-ui-icons;font-size:2.75rem;line-height:0}.md-alert__icon::before{content:"\\f6e8";color:#00a0d1}.md-alert__content{display:flex;flex-basis:0%;flex-direction:column;flex-grow:2;padding-left:1rem;padding-right:.125rem}.md-alert__title{color:#00a0d1;font-size:1rem;line-height:1.5rem}.md-alert__message,.md-alert__status{font-family:"CiscoSansTT Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.125rem}.md-alert__status{color:#03612c}.md-alert__message{color:#292929}.md-alert__message,.md-alert__title{max-width:10rem;word-wrap:break-word}.md-alert__button{margin-left:.5rem}.md-alert.md-alert--success .md-alert__icon::before{content:"\\f381";color:#00ab50}.md-alert.md-alert--success .md-alert__title{color:#00ab50}.md-alert.md-alert--warning .md-alert__icon::before{content:"\\fca3";color:#d97f00}.md-alert.md-alert--warning .md-alert__title{color:#d97f00}.md-alert.md-alert--error .md-alert__icon::before{content:"\\fca3";color:#f7644a}.md-alert.md-alert--error .md-alert__title{color:#f7644a}.md-alert.md-alert--meeting .md-alert__content{width:10rem}.md-alert.md-alert--meeting .md-alert__content--wide{width:13rem}.md-alert.md-alert--meeting .md-alert__message,.md-alert.md-alert--meeting .md-alert__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-alert.md-alert--meeting .md-alert__title{color:#000}.md-alert.md-alert--call{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin-right:.9375rem;max-height:31.25rem;min-height:17.625rem;padding:.75rem 1.0625rem 1.5625rem 1.0625rem;width:17.375rem}.md-alert.md-alert--call .md-alert__title{color:#000;font-size:.875rem;font-weight:700;line-height:1.375rem;padding-bottom:1.5rem}.md-alert.md-alert--call .md-alert__caller{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center}.md-alert.md-alert--call .md-alert__caller-title{font-size:1rem;font-weight:700;line-height:1.5rem;padding-top:.5rem}.md-alert.md-alert--call .md-alert__caller-subtitle{font-size:.875rem;line-height:1.375rem}.md-alert.md-alert--call .md-alert--call--buttons{padding-top:1.5rem}.md-alert.md-alert--call .md-alert--call--buttons .md-icon{fill:#fff}.md-alert.md-alert--call .md-list{padding-top:.75rem}.md-alert.md-alert--call .md-list .md-list-item{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:hover{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.md-alert.md-alert--call .md-list .md-list-item-header{border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:1px solid rgba(0,0,0,.08)}`,s=function(t,e,r,o){var l,a=arguments.length,i=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,o);else for(var n=t.length-1;n>=0;n--)(l=t[n])&&(i=(a<3?l(i):a>3?l(e,r,i):l(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};const c=["alert","alertdialog","button","checkbox","dialog","link","option","status"];var p;!function(t){let e=class extends i.LitElement{constructor(){super(...arguments),this.attendees=[{title:"Attendee",src:null,alt:"Attendee"}],this.closeAriaLabel="close",this.onKeyDown=null,this.onSnooze=null,this.message="",this.snoozeAriaLabel="snooze",this.role="button",this.show=!1,this.src="",this.status="",this.userStyles="",this.title="",this._onSnooze=t=>{this.dispatchEvent(new CustomEvent("snooze",{composed:!0,detail:{srcEvent:t}}))},this._onClose=t=>{this.dispatchEvent(new CustomEvent("close",{composed:!0,detail:{srcEvent:t}}))},this.handleSnooze=t=>{this.onSnooze?this.onSnooze(t):this._onSnooze(t),t.stopPropagation()},this.handleClose=t=>{this._onClose(t),t.stopPropagation()},this.handleKeyDown=t=>{if(t.code===o.b.Escape&&this.handleClose(t),t.code===o.b.Enter||t.code===o.b.Space){switch(t.target.attributes.getNamedItem("aria-label").value){case"close":this.handleClose(t);break;case"snooze":this.handleSnooze(t)}t.preventDefault()}this.onKeyDown&&this.onKeyDown(t)}}getStyles(){return i.html`
|
|
2
|
+
<style>
|
|
3
|
+
::slotted(img) {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
vertical-align: middle;
|
|
6
|
+
-ms-interpolation-mode: bicubic;
|
|
7
|
+
height: auto;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
border-style: none;
|
|
10
|
+
}
|
|
11
|
+
${this.userStyles}
|
|
12
|
+
</style>
|
|
13
|
+
`}static get styles(){return[l.a,m]}render(){const{attendees:t,message:e,onSnooze:r,role:o,src:l,status:a,title:m,closeAriaLabel:s,show:c,onKeyDown:p,snoozeAriaLabel:h}=this;return i.html`
|
|
14
|
+
${this.getStyles()}
|
|
15
|
+
${c?i.html`
|
|
16
|
+
<div
|
|
17
|
+
aria-label="Meeting Alert"
|
|
18
|
+
class=${"md-alert md-alert--meeting"}
|
|
19
|
+
@keydown=${t=>this.handleKeyDown(t)}
|
|
20
|
+
role=${o}
|
|
21
|
+
>
|
|
22
|
+
<slot name="custom-avatar">
|
|
23
|
+
${t.length>=2?(t=>{const e="display: flex;width: 1.625rem;height: 1.625rem;font-size: .56875rem;line-height: .8125rem;";return i.html`
|
|
24
|
+
<div class="md-composite-avatar md-composite-avatar--wc-override" style=${"position: relative; display: block;\n width: 2.5rem;\n height: 2.5rem;\n font-size: 0.875rem;\n line-height: 1.25rem;"}>
|
|
25
|
+
<md-avatar
|
|
26
|
+
slot="avatar"
|
|
27
|
+
class="md-avatar"
|
|
28
|
+
alt=${t[0].alt||t[0].title}
|
|
29
|
+
src=${Object(d.ifDefined)(t[0].src?t[0].src:void 0)}
|
|
30
|
+
title=${t[0].title}
|
|
31
|
+
size="24"
|
|
32
|
+
style=${e+"position: absolute;left: 0px;top: 0px;"}
|
|
33
|
+
></md-avatar>
|
|
34
|
+
<md-avatar
|
|
35
|
+
slot="avatar"
|
|
36
|
+
class="md-avatar"
|
|
37
|
+
alt=${t[1].alt||t[1].title}
|
|
38
|
+
src=${Object(d.ifDefined)(t[1].src?t[1].src:void 0)}
|
|
39
|
+
title=${t[1].title}
|
|
40
|
+
size="24"
|
|
41
|
+
style=${e+"position: absolute;right: 0px;bottom: 0px;"}
|
|
42
|
+
></md-avatar>
|
|
43
|
+
</div>
|
|
44
|
+
`})(t):i.html`
|
|
45
|
+
<md-avatar title=${m} label="avatar" src=${l} tabindex="-1"></md-avatar>
|
|
46
|
+
`}
|
|
47
|
+
</slot>
|
|
48
|
+
<div class=${"md-alert__content "+(r?"":" md-alert__content--wide")}>
|
|
49
|
+
<div class="md-alert__title" title=${m}>
|
|
50
|
+
${m}
|
|
51
|
+
</div>
|
|
52
|
+
<div class="md-alert__status" title=${a}>
|
|
53
|
+
${a}
|
|
54
|
+
</div>
|
|
55
|
+
<div class="md-alert__message" title=${e}>
|
|
56
|
+
${e}
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
${r?i.html`
|
|
60
|
+
<div class="md-alert__button">
|
|
61
|
+
<md-button
|
|
62
|
+
aria-label=${h}
|
|
63
|
+
circle
|
|
64
|
+
@click=${t=>{this.handleSnooze(t)}}
|
|
65
|
+
.size=${40}
|
|
66
|
+
>
|
|
67
|
+
<md-icon name="icon-alarm_16"></md-icon>
|
|
68
|
+
</md-button>
|
|
69
|
+
</div>
|
|
70
|
+
`:n.nothing}
|
|
71
|
+
<slot name="custom-action">
|
|
72
|
+
<md-button
|
|
73
|
+
class="md-alert__button"
|
|
74
|
+
ariaLabel=${s}
|
|
75
|
+
circle
|
|
76
|
+
@click=${t=>{this.handleClose(t)}}
|
|
77
|
+
.size=${40}
|
|
78
|
+
>
|
|
79
|
+
<md-icon name="icon-cancel_16"></md-icon>
|
|
80
|
+
</md-button>
|
|
81
|
+
</slot>
|
|
82
|
+
</div>
|
|
83
|
+
`:n.nothing}
|
|
84
|
+
`}};s([Object(i.property)({type:Array})],e.prototype,"attendees",void 0),s([Object(i.property)({type:String})],e.prototype,"closeAriaLabel",void 0),s([Object(i.property)({attribute:!1})],e.prototype,"onKeyDown",void 0),s([Object(i.property)({attribute:!1})],e.prototype,"onSnooze",void 0),s([Object(i.property)({type:String})],e.prototype,"message",void 0),s([Object(i.property)({type:String})],e.prototype,"snoozeAriaLabel",void 0),s([Object(i.property)({type:String})],e.prototype,"role",void 0),s([Object(i.property)({type:Boolean})],e.prototype,"show",void 0),s([Object(i.property)({type:String})],e.prototype,"src",void 0),s([Object(i.property)({type:String})],e.prototype,"status",void 0),s([Object(i.property)({type:String})],e.prototype,"userStyles",void 0),s([Object(i.property)({type:String})],e.prototype,"title",void 0),e=s([Object(a.a)("md-meeting-alert")],e),t.ELEMENT=e}(p||(p={}))}}]);
|