@momentum-ui/web-components 2.6.7 → 2.7.0

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.
Files changed (344) hide show
  1. package/dist/chunks/md-100.js +1 -1
  2. package/dist/chunks/md-101.js +1 -1
  3. package/dist/chunks/md-102.js +1 -1
  4. package/dist/chunks/md-103.js +1 -1
  5. package/dist/chunks/md-104.js +1 -1
  6. package/dist/chunks/md-105.js +1 -1
  7. package/dist/chunks/md-106.js +1 -1
  8. package/dist/chunks/md-107.js +1 -1
  9. package/dist/chunks/md-108.js +1 -1
  10. package/dist/chunks/md-109.js +1 -1
  11. package/dist/chunks/md-110.js +1 -1
  12. package/dist/chunks/md-111.js +1 -1
  13. package/dist/chunks/md-112.js +1 -1
  14. package/dist/chunks/md-113.js +1 -1
  15. package/dist/chunks/md-114.js +1 -1
  16. package/dist/chunks/md-115.js +1 -1
  17. package/dist/chunks/md-116.js +1 -1
  18. package/dist/chunks/md-117.js +1 -1
  19. package/dist/chunks/md-118.js +1 -1
  20. package/dist/chunks/md-119.js +1 -1
  21. package/dist/chunks/md-120.js +1 -1
  22. package/dist/chunks/md-121.js +1 -1
  23. package/dist/chunks/md-122.js +1 -1
  24. package/dist/chunks/md-123.js +1 -1
  25. package/dist/chunks/md-124.js +1 -1
  26. package/dist/chunks/md-125.js +1 -1
  27. package/dist/chunks/md-126.js +1 -1
  28. package/dist/chunks/md-127.js +1 -1
  29. package/dist/chunks/md-128.js +1 -1
  30. package/dist/chunks/md-129.js +1 -1
  31. package/dist/chunks/md-130.js +1 -1
  32. package/dist/chunks/md-131.js +1 -1
  33. package/dist/chunks/md-132.js +1 -1
  34. package/dist/chunks/md-133.js +1 -1
  35. package/dist/chunks/md-134.js +1 -1
  36. package/dist/chunks/md-135.js +1 -1
  37. package/dist/chunks/md-136.js +1 -1
  38. package/dist/chunks/md-137.js +1 -1
  39. package/dist/chunks/md-138.js +1 -1
  40. package/dist/chunks/md-139.js +1 -1
  41. package/dist/chunks/md-140.js +1 -1
  42. package/dist/chunks/md-141.js +1 -1
  43. package/dist/chunks/md-142.js +1 -1
  44. package/dist/chunks/md-143.js +1 -1
  45. package/dist/chunks/md-144.js +1 -1
  46. package/dist/chunks/md-145.js +1 -1
  47. package/dist/chunks/md-146.js +1 -1
  48. package/dist/chunks/md-147.js +1 -1
  49. package/dist/chunks/md-148.js +1 -1
  50. package/dist/chunks/md-149.js +1 -1
  51. package/dist/chunks/md-150.js +1 -1
  52. package/dist/chunks/md-151.js +1 -1
  53. package/dist/chunks/md-152.js +1 -1
  54. package/dist/chunks/md-153.js +1 -1
  55. package/dist/chunks/md-154.js +1 -1
  56. package/dist/chunks/md-155.js +1 -1
  57. package/dist/chunks/md-156.js +1 -1
  58. package/dist/chunks/md-157.js +1 -1
  59. package/dist/chunks/md-158.js +1 -1
  60. package/dist/chunks/md-159.js +1 -1
  61. package/dist/chunks/md-160.js +1 -1
  62. package/dist/chunks/md-161.js +1 -1
  63. package/dist/chunks/md-162.js +1 -1
  64. package/dist/chunks/md-163.js +1 -1
  65. package/dist/chunks/md-164.js +1 -1
  66. package/dist/chunks/md-165.js +1 -1
  67. package/dist/chunks/md-166.js +1 -1
  68. package/dist/chunks/md-167.js +1 -1
  69. package/dist/chunks/md-168.js +1 -1
  70. package/dist/chunks/md-169.js +1 -1
  71. package/dist/chunks/md-170.js +1 -1
  72. package/dist/chunks/md-171.js +1 -1
  73. package/dist/chunks/md-172.js +1 -1
  74. package/dist/chunks/md-173.js +1 -1
  75. package/dist/chunks/md-174.js +1 -1
  76. package/dist/chunks/md-175.js +1 -1
  77. package/dist/chunks/md-176.js +1 -1
  78. package/dist/chunks/md-177.js +1 -1
  79. package/dist/chunks/md-178.js +1 -1
  80. package/dist/chunks/md-179.js +1 -1
  81. package/dist/chunks/md-180.js +1 -1
  82. package/dist/chunks/md-181.js +1 -1
  83. package/dist/chunks/md-182.js +1 -1
  84. package/dist/chunks/md-183.js +1 -1
  85. package/dist/chunks/md-184.js +1 -1
  86. package/dist/chunks/md-185.js +1 -1
  87. package/dist/chunks/md-186.js +1 -1
  88. package/dist/chunks/md-187.js +1 -1
  89. package/dist/chunks/md-188.js +1 -1
  90. package/dist/chunks/md-189.js +1 -1
  91. package/dist/chunks/md-190.js +1 -1
  92. package/dist/chunks/md-191.js +1 -1
  93. package/dist/chunks/md-192.js +1 -1
  94. package/dist/chunks/md-193.js +1 -1
  95. package/dist/chunks/md-194.js +1 -1
  96. package/dist/chunks/md-195.js +1 -1
  97. package/dist/chunks/md-196.js +1 -1
  98. package/dist/chunks/md-197.js +1 -1
  99. package/dist/chunks/md-198.js +1 -1
  100. package/dist/chunks/md-199.js +1 -1
  101. package/dist/chunks/md-200.js +1 -1
  102. package/dist/chunks/md-201.js +1 -1
  103. package/dist/chunks/md-202.js +1 -1
  104. package/dist/chunks/md-203.js +1 -1
  105. package/dist/chunks/md-204.js +1 -1
  106. package/dist/chunks/md-205.js +1 -1
  107. package/dist/chunks/md-206.js +1 -1
  108. package/dist/chunks/md-207.js +1 -1
  109. package/dist/chunks/md-208.js +1 -1
  110. package/dist/chunks/md-209.js +1 -1
  111. package/dist/chunks/md-210.js +1 -1
  112. package/dist/chunks/md-211.js +1 -1
  113. package/dist/chunks/md-212.js +1 -1
  114. package/dist/chunks/md-213.js +1 -1
  115. package/dist/chunks/md-214.js +1 -1
  116. package/dist/chunks/md-215.js +1 -1
  117. package/dist/chunks/md-216.js +1 -1
  118. package/dist/chunks/md-217.js +1 -1
  119. package/dist/chunks/md-218.js +1 -1
  120. package/dist/chunks/md-219.js +1 -1
  121. package/dist/chunks/md-220.js +1 -1
  122. package/dist/chunks/md-221.js +1 -1
  123. package/dist/chunks/md-222.js +1 -1
  124. package/dist/chunks/md-223.js +1 -1
  125. package/dist/chunks/md-224.js +1 -1
  126. package/dist/chunks/md-225.js +1 -1
  127. package/dist/chunks/md-226.js +1 -1
  128. package/dist/chunks/md-227.js +1 -1
  129. package/dist/chunks/md-228.js +1 -1
  130. package/dist/chunks/md-229.js +1 -1
  131. package/dist/chunks/md-230.js +1 -1
  132. package/dist/chunks/md-231.js +1 -1
  133. package/dist/chunks/md-232.js +1 -1
  134. package/dist/chunks/md-233.js +1 -1
  135. package/dist/chunks/md-234.js +1 -1
  136. package/dist/chunks/md-235.js +1 -1
  137. package/dist/chunks/md-236.js +1 -1
  138. package/dist/chunks/md-237.js +1 -1
  139. package/dist/chunks/md-238.js +1 -1
  140. package/dist/chunks/md-239.js +1 -1
  141. package/dist/chunks/md-240.js +1 -1
  142. package/dist/chunks/md-241.js +1 -1
  143. package/dist/chunks/md-242.js +1 -1
  144. package/dist/chunks/md-243.js +1 -1
  145. package/dist/chunks/md-244.js +1 -1
  146. package/dist/chunks/md-245.js +1 -1
  147. package/dist/chunks/md-246.js +1 -1
  148. package/dist/chunks/md-247.js +1 -1
  149. package/dist/chunks/md-248.js +1 -1
  150. package/dist/chunks/md-249.js +1 -1
  151. package/dist/chunks/md-250.js +1 -1
  152. package/dist/chunks/md-251.js +1 -1
  153. package/dist/chunks/md-252.js +1 -1
  154. package/dist/chunks/md-253.js +1 -1
  155. package/dist/chunks/md-254.js +1 -1
  156. package/dist/chunks/md-255.js +1 -1
  157. package/dist/chunks/md-256.js +1 -1
  158. package/dist/chunks/md-257.js +1 -1
  159. package/dist/chunks/md-258.js +1 -1
  160. package/dist/chunks/md-259.js +1 -1
  161. package/dist/chunks/md-260.js +1 -1
  162. package/dist/chunks/md-261.js +1 -1
  163. package/dist/chunks/md-262.js +1 -1
  164. package/dist/chunks/md-263.js +1 -1
  165. package/dist/chunks/md-264.js +1 -1
  166. package/dist/chunks/md-265.js +1 -1
  167. package/dist/chunks/md-266.js +1 -1
  168. package/dist/chunks/md-267.js +1 -1
  169. package/dist/chunks/md-268.js +1 -1
  170. package/dist/chunks/md-269.js +1 -1
  171. package/dist/chunks/md-270.js +1 -1
  172. package/dist/chunks/md-271.js +1 -1
  173. package/dist/chunks/md-272.js +1 -1
  174. package/dist/chunks/md-273.js +1 -1
  175. package/dist/chunks/md-274.js +1 -0
  176. package/dist/chunks/md-36.js +4 -4
  177. package/dist/chunks/md-43.js +1 -5
  178. package/dist/chunks/md-44.js +4 -33
  179. package/dist/chunks/md-45.js +34 -13
  180. package/dist/chunks/md-46.js +13 -20
  181. package/dist/chunks/md-47.js +18 -44
  182. package/dist/chunks/md-48.js +46 -13
  183. package/dist/chunks/md-49.js +13 -5
  184. package/dist/chunks/md-5.js +1 -1
  185. package/dist/chunks/md-50.js +4 -67
  186. package/dist/chunks/md-51.js +64 -20
  187. package/dist/chunks/md-52.js +24 -14
  188. package/dist/chunks/md-53.js +14 -5
  189. package/dist/chunks/md-54.js +5 -39
  190. package/dist/chunks/md-55.js +38 -21
  191. package/dist/chunks/md-56.js +21 -4
  192. package/dist/chunks/md-57.js +5 -1
  193. package/dist/chunks/md-58.js +1 -22
  194. package/dist/chunks/md-59.js +22 -5
  195. package/dist/chunks/md-60.js +4 -14
  196. package/dist/chunks/md-61.js +14 -41
  197. package/dist/chunks/md-62.js +41 -29
  198. package/dist/chunks/md-63.js +29 -71
  199. package/dist/chunks/md-64.js +72 -19
  200. package/dist/chunks/md-65.js +19 -17
  201. package/dist/chunks/md-66.js +17 -22
  202. package/dist/chunks/md-67.js +21 -83
  203. package/dist/chunks/md-68.js +84 -7
  204. package/dist/chunks/md-69.js +7 -77
  205. package/dist/chunks/md-70.js +76 -71
  206. package/dist/chunks/md-71.js +72 -61
  207. package/dist/chunks/md-72.js +59 -14
  208. package/dist/chunks/md-73.js +15 -4
  209. package/dist/chunks/md-74.js +4 -29
  210. package/dist/chunks/md-75.js +30 -3
  211. package/dist/chunks/md-76.js +3 -179
  212. package/dist/chunks/md-77.js +177 -37
  213. package/dist/chunks/md-78.js +37 -83
  214. package/dist/chunks/md-79.js +78 -97
  215. package/dist/chunks/md-80.js +103 -11
  216. package/dist/chunks/md-81.js +11 -42
  217. package/dist/chunks/md-82.js +42 -20
  218. package/dist/chunks/md-83.js +21 -1
  219. package/dist/chunks/md-84.js +1 -1
  220. package/dist/chunks/md-85.js +1 -1
  221. package/dist/chunks/md-86.js +1 -1
  222. package/dist/chunks/md-87.js +1 -1
  223. package/dist/chunks/md-88.js +1 -1
  224. package/dist/chunks/md-89.js +1 -1
  225. package/dist/chunks/md-90.js +1 -1
  226. package/dist/chunks/md-91.js +1 -1
  227. package/dist/chunks/md-92.js +1 -1
  228. package/dist/chunks/md-93.js +1 -1
  229. package/dist/chunks/md-94.js +1 -1
  230. package/dist/chunks/md-95.js +1 -1
  231. package/dist/chunks/md-96.js +1 -1
  232. package/dist/chunks/md-97.js +1 -1
  233. package/dist/chunks/md-98.js +1 -1
  234. package/dist/chunks/md-99.js +1 -1
  235. package/dist/comp/md-accordion-entry.js +1 -1
  236. package/dist/comp/md-accordion-item-entry.js +1 -1
  237. package/dist/comp/md-accordion-item.js +1 -1
  238. package/dist/comp/md-accordion.js +1 -1
  239. package/dist/comp/md-activity-button-entry.js +1 -1
  240. package/dist/comp/md-activity-button.js +1 -1
  241. package/dist/comp/md-alert-banner-entry.js +1 -1
  242. package/dist/comp/md-alert-banner.js +1 -1
  243. package/dist/comp/md-alert-entry.js +1 -1
  244. package/dist/comp/md-alert.js +1 -1
  245. package/dist/comp/md-avatar-entry.js +1 -1
  246. package/dist/comp/md-badge-entry.js +1 -1
  247. package/dist/comp/md-breadcrumb-entry.js +1 -1
  248. package/dist/comp/md-breadcrumb.js +1 -1
  249. package/dist/comp/md-button-entry.js +1 -1
  250. package/dist/comp/md-button-group-entry.js +1 -1
  251. package/dist/comp/md-button-group.js +1 -1
  252. package/dist/comp/md-card-entry.js +1 -1
  253. package/dist/comp/md-card.js +1 -1
  254. package/dist/comp/md-chat-message-entry.js +1 -1
  255. package/dist/comp/md-chat-message.js +1 -1
  256. package/dist/comp/md-checkbox-entry.js +1 -1
  257. package/dist/comp/md-checkbox.js +1 -1
  258. package/dist/comp/md-checkboxgroup-entry.js +1 -1
  259. package/dist/comp/md-checkboxgroup.js +1 -1
  260. package/dist/comp/md-chip-entry.js +1 -1
  261. package/dist/comp/md-chip.js +1 -1
  262. package/dist/comp/md-coachmark-entry.js +1 -1
  263. package/dist/comp/md-coachmark.js +1 -1
  264. package/dist/comp/md-combobox-entry.js +1 -1
  265. package/dist/comp/md-combobox.js +1 -0
  266. package/dist/comp/md-composite-avatar-entry.js +1 -1
  267. package/dist/comp/md-composite-avatar.js +1 -1
  268. package/dist/comp/md-date-range-picker-entry.js +1 -1
  269. package/dist/comp/md-date-range-picker.js +1 -1
  270. package/dist/comp/md-date-time-picker-entry.js +1 -1
  271. package/dist/comp/md-date-time-picker.js +1 -1
  272. package/dist/comp/md-datepicker-calendar-entry.js +1 -1
  273. package/dist/comp/md-datepicker-day-entry.js +1 -1
  274. package/dist/comp/md-datepicker-entry.js +1 -1
  275. package/dist/comp/md-datepicker-month-entry.js +1 -1
  276. package/dist/comp/md-datepicker-week-entry.js +1 -1
  277. package/dist/comp/md-draggable-entry.js +1 -1
  278. package/dist/comp/md-draggable-item-entry.js +1 -1
  279. package/dist/comp/md-draggable-item.js +1 -1
  280. package/dist/comp/md-draggable.js +1 -1
  281. package/dist/comp/md-dropdown-entry.js +1 -1
  282. package/dist/comp/md-dropdown.js +1 -1
  283. package/dist/comp/md-editable-field-entry.js +1 -1
  284. package/dist/comp/md-editable-field.js +1 -1
  285. package/dist/comp/md-favorite-entry.js +1 -1
  286. package/dist/comp/md-floating-minimize-entry.js +1 -1
  287. package/dist/comp/md-floating-modal-entry.js +1 -1
  288. package/dist/comp/md-floating-modal.js +1 -1
  289. package/dist/comp/md-form-entry.js +1 -1
  290. package/dist/comp/md-form.js +1 -1
  291. package/dist/comp/md-help-text-entry.js +1 -1
  292. package/dist/comp/md-icon-entry.js +1 -1
  293. package/dist/comp/md-inpu.js +1 -1
  294. package/dist/comp/md-input-entry.js +1 -1
  295. package/dist/comp/md-input-file.js +1 -1
  296. package/dist/comp/md-label-entry.js +1 -1
  297. package/dist/comp/md-link-entry.js +1 -1
  298. package/dist/comp/md-link.js +1 -1
  299. package/dist/comp/md-list-entry.js +1 -1
  300. package/dist/comp/md-list-item-entry.js +1 -1
  301. package/dist/comp/md-loading-entry.js +1 -1
  302. package/dist/comp/md-meeting-alert-entry.js +1 -1
  303. package/dist/comp/md-meeting-alert.js +1 -1
  304. package/dist/comp/md-menu-entry.js +1 -1
  305. package/dist/comp/md-menu-item-entry.js +1 -1
  306. package/dist/comp/md-menu-overlay-entry.js +1 -1
  307. package/dist/comp/md-menu.js +1 -1
  308. package/dist/comp/md-modal-entry.js +1 -1
  309. package/dist/comp/md-modal.js +1 -1
  310. package/dist/comp/md-pagination-entry.js +1 -1
  311. package/dist/comp/md-pagination.js +1 -1
  312. package/dist/comp/md-phone-input-entry.js +1 -1
  313. package/dist/comp/md-phone-input.js +2 -1
  314. package/dist/comp/md-progress-bar-entry.js +1 -1
  315. package/dist/comp/md-radio-entry.js +1 -1
  316. package/dist/comp/md-radio.js +1 -1
  317. package/dist/comp/md-radiogroup-entry.js +1 -1
  318. package/dist/comp/md-radiogroup.js +1 -1
  319. package/dist/comp/md-slider-entry.js +1 -1
  320. package/dist/comp/md-slider.js +1 -1
  321. package/dist/comp/md-spinner-entry.js +1 -1
  322. package/dist/comp/md-tab-entry.js +1 -1
  323. package/dist/comp/md-tab-panel-entry.js +1 -1
  324. package/dist/comp/md-tab-panel.js +1 -1
  325. package/dist/comp/md-table-advanced-entry.js +1 -1
  326. package/dist/comp/md-table-advanced.js +1 -1
  327. package/dist/comp/md-table-entry.js +1 -1
  328. package/dist/comp/md-table.js +1 -1
  329. package/dist/comp/md-tabs-entry.js +1 -1
  330. package/dist/comp/md-tabs.js +1 -1
  331. package/dist/comp/md-task-item-entry.js +1 -1
  332. package/dist/comp/md-task-item.js +1 -1
  333. package/dist/comp/md-theme-entry.js +1 -1
  334. package/dist/comp/md-theme.js +1 -1
  335. package/dist/comp/md-timepicker-entry.js +1 -1
  336. package/dist/comp/md-timepicker.js +1 -1
  337. package/dist/comp/md-toggle-switch-entry.js +1 -1
  338. package/dist/comp/md-toggle-switch.js +1 -1
  339. package/dist/comp/md-tooltip-entry.js +1 -1
  340. package/dist/index-entry.js +2 -2
  341. package/dist/index.js +29 -28
  342. package/dist/types/components/combobox/ComboBox.d.ts +2 -2
  343. package/dist/types/components/timepicker/TimePicker.d.ts +1 -1
  344. package/package.json +1 -1
@@ -1,84 +1,22 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[67],{100: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:"\\f6e5";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:"\\fca0";color:#d97f00}.md-alert.md-alert--warning .md-alert__title{color:#d97f00}.md-alert.md-alert--error .md-alert__icon::before{content:"\\fca0";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.a.Escape&&this.handleClose(t),t.code===o.a.Enter||t.code===o.a.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>
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[67],{114: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
- `: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={}))}}]);
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={}))}}]);
@@ -1,7 +1,84 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[68],{93:function(e,t,i){"use strict";i.r(t),i.d(t,"MORE_MENU_ITEM_COPY_ID_PREFIX",(function(){return I})),i.d(t,"Menu",(function(){return f}));var s=i(5),n=i(0),c=i(53),d=i(1),o=i(22),r=i(35),a=i(52),l=i(3),h=i(4),m=i(62),u=function(e,t,i,s){var n,c=arguments.length,d=c<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--)(n=e[o])&&(d=(c<3?n(d):c>3?n(t,i,d):n(t,i))||d);return c>3&&d&&Object.defineProperty(t,i,d),d},p=function(e,t,i,s){return new(i||(i=Promise))((function(n,c){function d(e){try{r(s.next(e))}catch(e){c(e)}}function o(e){try{r(s.throw(e))}catch(e){c(e)}}function r(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(d,o)}r((s=s.apply(e,t||[])).next())}))};const I="more-menu-item-";var f;!function(e){let t=class extends(Object(r.a)(Object(a.a)(n.LitElement))){constructor(){super(...arguments),this.justified=!1,this.direction="horizontal",this.items=[],this.itemsHash={},this.itemsIdxHash={}}getNormalizedItemId(e){return e.replace(I,"")}static get styles(){return[h.a,m.a]}get slotItem(){return this.menuSlotElement}linkMenuItems(){return p(this,void 0,void 0,(function*(){const{items:e}=this;e.forEach((e,t)=>{const i=Object(o.nanoid)();e.setAttribute("id",i),e.setAttribute("aria-controls",i),e.selected=this.selected===t}),this.itemsHash=this.items.reduce((e,t)=>(e[t.id]=t,e),{}),this.itemsIdxHash=this.items.reduce((e,t,i)=>(e[t.id]=i,e),{})}))}setupMenuItems(){if(this.menuSlotElement){const e=this.menuSlotElement.assignedElements({flatten:!0});this.getChildrenFromTree({children:e},this.items)}}getChildrenFromTree(e,t){for(var i=0;i<e.children.length;i++){var s=e.children[i];s instanceof c.MenuItem.ELEMENT&&t.push(s),this.getChildrenFromTree(s,t)}}updateSelectedItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("selected"));t!==e&&(this.items&&[t,e].forEach(e=>{const t=this.items[e];t&&t.toggleAttribute("selected")}),this.dispatchEvent(new CustomEvent("selected-menu-item",{detail:{value:e},composed:!0,bubbles:!0})),this.changeSelectedItemIdx(e))}changeSelectedItemIdx(e){this.selected=e}handleItemClick(e){const{id:t}=e.detail,i=this.itemsHash[this.getNormalizedItemId(t)];if(i&&!i.disabled){const e=this.itemsIdxHash[i.id];-1!==e&&this.updateSelectedItem(e)}}handleItemKeydown(e){const{key:t,id:i}=e.detail;switch(t){case d.a.End:this.changeSelectedItemIdx(this.items.length-1);break;case d.a.Home:this.changeSelectedItemIdx(0);break;case d.a.ArrowLeft:case d.a.ArrowUp:0===this.selected?this.changeSelectedItemIdx(this.items.length-1):this.changeSelectedItemIdx(this.selected-1);break;case d.a.ArrowRight:case d.a.ArrowDown:this.selected===this.items.length-1?this.changeSelectedItemIdx(0):this.changeSelectedItemIdx(this.selected+1);break;case d.a.Enter:case d.a.Space:const e=this.slotted.findIndex(e=>e.id===i&&!e.disabled);-1!==e&&this.updateSelectedItem(e)}}connectedCallback(){super.connectedCallback(),this.addEventListener("menu-item-click",this.handleItemClick),this.addEventListener("menu-item-keydown",this.handleItemKeydown)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return p(this,void 0,void 0,(function*(){t.updated.call(this,e),e.has("slotted")&&(this.setupMenuItems(),this.linkMenuItems())}))}disconnectedCallback(){super.connectedCallback(),this.removeEventListener("menu-item-click",this.handleItemClick),this.removeEventListener("menu-item-keydown",this.handleItemKeydown)}get menuClassMap(){return{["md-menu--"+this.direction]:this.direction,justified:this.justified}}render(){return n.html`
2
- <nav class="md-menu ${Object(l.classMap)(this.menuClassMap)}">
3
- <ul class="md-menu-list">
4
- <slot></slot>
5
- </ul>
6
- </nav>
7
- `}};u([Object(n.property)({type:Boolean})],t.prototype,"justified",void 0),u([Object(n.property)({type:String})],t.prototype,"direction",void 0),u([Object(n.query)("slot")],t.prototype,"menuSlotElement",void 0),u([Object(n.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=u([Object(s.a)("md-menu")],t),e.ELEMENT=t}(f||(f={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[68],{101: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:"\\f6e5";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:"\\fca0";color:#d97f00}.md-alert.md-alert--warning .md-alert__title{color:#d97f00}.md-alert.md-alert--error .md-alert__icon::before{content:"\\fca0";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.a.Escape&&this.handleClose(t),t.code===o.a.Enter||t.code===o.a.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={}))}}]);
@@ -1,77 +1,7 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[69],{114:function(d,e,m){"use strict";m.r(e),m.d(e,"modalType",(function(){return _})),m.d(e,"Modal",(function(){return f}));m(17),m(15);var o=m(1),a=m(7),l=m(5),t=m(4),i=m(0),n=m(2),r=m(3),s=i.css`.md-modal{color:var(--md-primary-text-color,#121212);display:block;height:100vh;left:0;margin:0 auto;position:fixed;right:0;visibility:visible;width:100vw;width:100vw;max-height:none;top:auto}.md-modal .md-modal__title{color:var(--md-primary-text-color,#707070)}.md-modal .md-modal__content{height:auto;min-height:0;border-radius:var(--modal-main-radius,.5rem);max-height:none}.md-modal:focus{box-shadow:none}.md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;line-height:1.5rem;width:100%;flex-shrink:0;padding-bottom:1rem;padding-left:calc(1rem / 2);padding-right:calc(1rem / 2)}.md-modal__header .md-modal__title{overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.md-modal__header .md-modal__message{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.5rem;width:100%;color:var(--modal-main-text-color,#545454);flex-flow:row wrap;text-align:center}.md-modal__header .md-modal__close{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;border:0;position:absolute}.md-modal__content{background-color:var(--modal-main-bg-color,#fff);box-shadow:0 8px 16px 0 rgba(0,0,0,.16);border:1px solid var(--modal-main-border-color,#dedede);display:flex;flex-direction:column}.md-modal__flex-container{display:flex;flex:1 1 0%;flex-direction:column;max-height:inherit;min-height:inherit;padding:var(--modal-main-padding,1.5rem 1rem);width:100%}.md-modal__body{align-items:stretch;align-self:stretch;background:var(--modal-main-bg-color,#fff);display:flex;flex:1 1 auto;flex-direction:column;margin:0;overflow-x:hidden;overflow-y:auto;padding-left:calc(1rem / 2);padding-right:calc(1rem / 2)}.md-modal__body--padding{padding:0 2rem}.md-modal__footer{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-end;flex-shrink:0;padding-left:calc(1rem / 2);padding-right:calc(1rem / 2);padding-top:1rem;width:100%}.md-modal__footer md-button:not(:first-of-type){margin-left:.75rem}.md-modal__footer ::slotted(md-button){margin-left:.75rem}.md-modal.md-modal--full{width:100vw;max-height:none;top:auto}.md-modal.md-modal--full .md-modal__content{height:100vh;min-height:0;border-radius:0;max-height:none}.md-modal.md-modal--full .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:2.25rem;line-height:3rem;width:100%}.md-modal.md-modal--full .md-modal__header .md-modal__message{font-size:1.25rem;line-height:2rem;padding-top:1.25rem}.md-modal.md-modal--full .md-modal__header .md-modal__close{height:1.25rem;right:1.5rem;top:1.5rem;width:1.25rem}.md-modal.md-modal--full .md-modal__header .md-modal__close::before{font-size:1.25rem}.md-modal.md-modal--full .md-modal__footer{padding-bottom:1.5rem;padding-top:1.5rem}.md-modal.md-modal--large{width:60rem;max-height:none;top:auto}.md-modal.md-modal--large .md-modal__content{min-height:45rem;border-radius:var(--modal-main-radius,.5rem);max-height:none}.md-modal.md-modal--large .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1.625rem;line-height:2rem;width:100%}.md-modal.md-modal--large .md-modal__header .md-modal__message{font-size:1rem;line-height:1.5rem;text-align:left}.md-modal.md-modal--large .md-modal__header .md-modal__close{height:1rem;right:1rem;top:1rem;width:1rem}.md-modal.md-modal--large .md-modal__header .md-modal__close::before{font-size:1rem}@media only screen and (min-width:40.0625em) and (max-width:64em){.md-modal.md-modal--large{width:40rem;max-height:none;top:auto}.md-modal.md-modal--large .md-modal__content{min-height:30rem;max-height:none}.md-modal.md-modal--large .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;line-height:1.5rem;width:100%}.md-modal.md-modal--large .md-modal__header .md-modal__message{font-size:.875rem;line-height:1.5rem;text-align:center}.md-modal.md-modal--large .md-modal__header .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--large .md-modal__header .md-modal__close::before{font-size:.875rem}}@media only screen and (max-height:50em){.md-modal.md-modal--large .md-modal__content{min-height:auto}}.md-modal.md-modal--default,.md-modal.md-modal--medium{width:40rem;max-height:none;top:auto}.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--medium .md-modal__content{min-height:30rem;max-height:none}.md-modal.md-modal--default .md-modal__close,.md-modal.md-modal--medium .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--default .md-modal__close::before,.md-modal.md-modal--medium .md-modal__close::before{font-size:.875rem}@media only screen and (min-width:40.0625em) and (max-width:64em){.md-modal.md-modal--default,.md-modal.md-modal--medium{width:40rem;max-height:none;top:auto}.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--medium .md-modal__content{min-height:30rem;max-height:none}}@media only screen and (max-height:50em){.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--medium .md-modal__content{min-height:auto}}.md-modal.md-modal--small{width:27.5rem;max-height:none;top:auto}.md-modal.md-modal--small .md-modal__content{min-height:23.75rem;max-height:none}.md-modal.md-modal--small .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--small .md-modal__close::before{font-size:.875rem}@media only screen and (min-width:40.0625em) and (max-width:64em){.md-modal.md-modal--small{width:27.5rem;max-height:none;top:auto}.md-modal.md-modal--small .md-modal__content{min-height:23.75rem;max-height:none}}.md-modal.md-modal--dialog{width:27.5rem;max-height:none;top:auto}.md-modal.md-modal--dialog .md-modal__content{height:auto;min-height:0;border-radius:var(--modal-main-radius,.5rem);max-height:none}.md-modal.md-modal--dialog .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--dialog .md-modal__close::before{font-size:.875rem}.md-modal.md-modal--dialog .md-modal__content{flex-direction:row}.md-modal.md-modal--dialog .md-modal__content .md-modal__header{align-items:flex-start;padding:0 0 .75rem 0}.md-modal.md-modal--dialog .md-modal__content .md-modal__title{font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5rem}.md-modal.md-modal--dialog .md-modal__content .md-modal__body{margin-bottom:1.5rem;text-align:left}.md-modal.md-modal--dialog .md-modal__content .md-modal__body>*{font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.375rem}.md-modal.md-modal--dialog .md-modal__content .md-modal__footer{display:flex;justify-content:flex-end;padding:0}.md-modal.md-modal--default,.md-modal.md-modal--dialog,.md-modal.md-modal--full,.md-modal.md-modal--large,.md-modal.md-modal--medium,.md-modal.md-modal--small{display:flex;flex-direction:column;justify-content:center}@media only screen and (max-width:40em){.md-modal.md-modal--default.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--dialog.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--full.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--large.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--medium.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--small.md-modal--dialog .md-modal__flex-container{min-height:calc(100vh - (1.5rem * 2))}}@media only screen and (max-width:40em){.md-modal.md-modal--default,.md-modal.md-modal--dialog,.md-modal.md-modal--full,.md-modal.md-modal--large,.md-modal.md-modal--medium,.md-modal.md-modal--small{width:100vw;max-height:none;top:auto}.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--dialog .md-modal__content,.md-modal.md-modal--full .md-modal__content,.md-modal.md-modal--large .md-modal__content,.md-modal.md-modal--medium .md-modal__content,.md-modal.md-modal--small .md-modal__content{height:100vh;min-height:0;border-radius:0;max-height:none}.md-modal.md-modal--default .md-modal__flex-container,.md-modal.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--full .md-modal__flex-container,.md-modal.md-modal--large .md-modal__flex-container,.md-modal.md-modal--medium .md-modal__flex-container,.md-modal.md-modal--small .md-modal__flex-container{min-height:100vh}.md-modal.md-modal--default .md-modal__header,.md-modal.md-modal--dialog .md-modal__header,.md-modal.md-modal--full .md-modal__header,.md-modal.md-modal--large .md-modal__header,.md-modal.md-modal--medium .md-modal__header,.md-modal.md-modal--small .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.5rem;width:100%}.md-modal.md-modal--default .md-modal__header .md-modal__message,.md-modal.md-modal--dialog .md-modal__header .md-modal__message,.md-modal.md-modal--full .md-modal__header .md-modal__message,.md-modal.md-modal--large .md-modal__header .md-modal__message,.md-modal.md-modal--medium .md-modal__header .md-modal__message,.md-modal.md-modal--small .md-modal__header .md-modal__message{font-size:.875rem;line-height:1.5rem;padding-top:.75rem}.md-modal.md-modal--default .md-modal__header .md-modal__close,.md-modal.md-modal--dialog .md-modal__header .md-modal__close,.md-modal.md-modal--full .md-modal__header .md-modal__close,.md-modal.md-modal--large .md-modal__header .md-modal__close,.md-modal.md-modal--medium .md-modal__header .md-modal__close,.md-modal.md-modal--small .md-modal__header .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--default .md-modal__header .md-modal__close::before,.md-modal.md-modal--dialog .md-modal__header .md-modal__close::before,.md-modal.md-modal--full .md-modal__header .md-modal__close::before,.md-modal.md-modal--large .md-modal__header .md-modal__close::before,.md-modal.md-modal--medium .md-modal__header .md-modal__close::before,.md-modal.md-modal--small .md-modal__header .md-modal__close::before{font-size:.875rem}.md-modal.md-modal--default .md-modal__footer,.md-modal.md-modal--dialog .md-modal__footer,.md-modal.md-modal--full .md-modal__footer,.md-modal.md-modal--large .md-modal__footer,.md-modal.md-modal--medium .md-modal__footer,.md-modal.md-modal--small .md-modal__footer{padding:var(--modal-main-padding,1.5rem 1rem);padding-right:1.5rem}.md-modal.md-modal--default .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--dialog .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--full .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--large .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--medium .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--small .md-modal__footer md-button:not(:first-of-type){margin-left:1rem}}.md-modal__backdrop{background:rgba(0,0,0,.45);bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:1040}.md-modal__backdrop .md-modal_overlay{bottom:0;position:absolute;top:0;width:100%}.md-close{color:#545454;float:right;font-size:21px;font-weight:700;line-height:1;text-shadow:0 1px 0 #fff}.md-close:focus,.md-close:hover{color:#064157;cursor:pointer;text-decoration:none}.md-close{background:0 0;border-radius:0;cursor:pointer;font-weight:400;min-width:initial;padding:0}.md-close::before{font-family:momentum-ui-icons;vertical-align:middle}.md-close:hover{color:#005e7d}.fade{opacity:0;transition:opacity .15s linear}.fade.in{opacity:1}`,h=function(d,e,m,o){var a,l=arguments.length,t=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,m):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)t=Reflect.decorate(d,e,m,o);else for(var i=d.length-1;i>=0;i--)(a=d[i])&&(t=(l<3?a(t):l>3?a(e,m,t):a(e,m))||t);return l>3&&t&&Object.defineProperty(e,m,t),t},c=function(d,e,m,o){return new(m||(m=Promise))((function(a,l){function t(d){try{n(o.next(d))}catch(d){l(d)}}function i(d){try{n(o.throw(d))}catch(d){l(d)}}function n(d){var e;d.done?a(d.value):(e=d.value,e instanceof m?e:new m((function(d){d(e)}))).then(t,i)}n((o=o.apply(d,e||[])).next())}))};const _=["default","full","large","small","dialog"];var f;!function(d){let e=class extends(Object(a.b)(i.LitElement)){constructor(){super(...arguments),this.show=!1,this.headerLabel="",this.headerMessage="",this.htmlId="",this.ariaLabel="modal",this.ariaLabelledBy="",this.ariaLabelClose="Close Modal",this.ariaLabelCancel="Cancel Modal",this.ariaLabelSubmit="Submit Modal",this.ariaDescription="",this.showCloseButton=!1,this.backdropClickExit=!1,this.noExitOnEsc=!1,this.size="default",this.closeBtnName="",this.hideFooter=!1,this.hideHeader=!1,this.disableInitialFocus=!1,this.animating=!1,this.handleCloseOutside=d=>{d.code===o.a.Escape&&(d.preventDefault(),this.show&&!this.noExitOnEsc&&(this.show=!1,this.notifyModalClose()))}}static get styles(){return[t.a,s]}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleCloseOutside)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleCloseOutside)}update(d){super.update(d),d.has("show")&&(this.show?this.modalFadeIn():!0===d.get("show")&&this.modalFadeOut())}notifyModalClose(){this.dispatchEvent(new CustomEvent("close-modal",{composed:!0,bubbles:!0}))}focusInsideModal(){this.focusableElements&&this.focusableElements.length&&this.setInitialFocus()}handleKeyDown(d){d.code!==o.a.Enter&&d.code!==o.a.Space||this.show&&(this.show=!0)}transitionPromise(d){return new Promise(e=>{const m=()=>{d.removeEventListener("transitionend",m),this.activateFocusTrap(),this.setFocusableElements(),requestAnimationFrame(()=>{e()})},o=()=>{d.removeEventListener("transitioncancel",o),this.deactivateFocusTrap(),this.modalFadeOut(),e()};d.addEventListener("transitionend",m),d.addEventListener("transitioncancel",o),setTimeout(()=>{this.animating=!0},13)})}modalFadeIn(){return c(this,void 0,void 0,(function*(){this.backDrop&&(yield this.transitionPromise(this.backDrop),this.disableInitialFocus||this.focusInsideModal())}))}modalFadeOut(){this.animating=!1,this.deactivateFocusTrap(),setTimeout(()=>{this.notifyModalClose()},150)}handleCloseBackdrop(){this.backdropClickExit&&(this.show=!1,this.notifyModalClose())}topCloseBtnTemplate(){return i.html`
2
- ${this.showCloseButton?i.html`
3
- <md-button
4
- hasRemoveStyle
5
- class="md-close md-modal__close"
6
- @click="${this.modalFadeOut}"
7
- @keydown="${this.handleKeyDown}"
8
- aria-label=${this.ariaLabelClose}
9
- >
10
- <md-icon name="cancel_14"></md-icon>
11
- </md-button>
12
- `:n.nothing}
13
- `}handleFooterClick(){this.show=!1,this.notifyModalClose()}headerTemplate(){return this.hideHeader?i.html`
14
- <div part="modal-header" class="md-modal__header">
15
- <slot name="header"></slot>
16
- ${this.topCloseBtnTemplate()}
17
- </div>
18
- `:i.html`
19
- <div part="modal-header" class="md-modal__header">
20
- <span class="md-modal__title">${this.headerLabel}</span>
21
- ${this.headerMessage?i.html`
22
- <span class="md-modal__message">${this.headerMessage}</span>
23
- `:n.nothing}
24
- ${this.topCloseBtnTemplate()}
25
- </div>
26
- `}footerTemplate(){return this.hideFooter?i.html`
27
- <div part="modal-footer" class="md-modal__footer">
28
- <slot name="footer"></slot>
29
- </div>
30
- `:i.html`
31
- <div part="modal-footer" class="md-modal__footer">
32
- <md-button
33
- aria-label=${this.ariaLabelCancel}
34
- @click="${this.handleFooterClick}"
35
- @keydown="${this.handleKeyDown}"
36
- >
37
- <span>Cancel</span>
38
- </md-button>
39
- <md-button
40
- type="submit"
41
- variant="primary"
42
- aria-label=${this.ariaLabelSubmit}
43
- @click="${this.handleFooterClick}"
44
- @keydown="${this.handleKeyDown}"
45
- >
46
- <span>${this.closeBtnName}</span>
47
- </md-button>
48
- </div>
49
- `}get modalBackDropClassMap(){return{in:this.show&&this.animating}}get modalContainerClassMap(){return{in:this.show,["md-modal--"+this.size]:!!this.size}}render(){return i.html`
50
- ${this.show?i.html`
51
- <div part="modal-backdrop" class="md-modal__backdrop fade ${Object(r.classMap)(this.modalBackDropClassMap)}">
52
- ${this.backdropClickExit?i.html`
53
- <div class="md-modal_overlay" @click="${this.handleCloseBackdrop}"></div>
54
- `:n.nothing}
55
-
56
- <div
57
- part="modal-container"
58
- role="dialog"
59
- id="${this.htmlId}"
60
- class="md-modal ${Object(r.classMap)(this.modalContainerClassMap)}"
61
- aria-label="${this.ariaLabel}"
62
- aria-labelledby="${this.ariaLabelledBy}"
63
- aria-describedby="${this.ariaDescription}"
64
- >
65
- <div part="modal-content" class="md-modal__content">
66
- <div class="md-modal__flex-container">
67
- ${this.headerTemplate()}
68
- <div part="modal-body" class="md-modal__body">
69
- <slot></slot>
70
- </div>
71
- ${this.footerTemplate()}
72
- </div>
73
- </div>
74
- </div>
75
- </div>
76
- `:n.nothing}
77
- `}};h([Object(i.property)({type:Boolean})],e.prototype,"show",void 0),h([Object(i.property)({type:String})],e.prototype,"headerLabel",void 0),h([Object(i.property)({type:String})],e.prototype,"headerMessage",void 0),h([Object(i.property)({type:String})],e.prototype,"htmlId",void 0),h([Object(i.property)({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",void 0),h([Object(i.property)({type:String,attribute:"aria-labelled-by"})],e.prototype,"ariaLabelledBy",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaLabelClose",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaLabelCancel",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaLabelSubmit",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaDescription",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"showCloseButton",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"backdropClickExit",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"noExitOnEsc",void 0),h([Object(i.property)({type:String})],e.prototype,"size",void 0),h([Object(i.property)({type:String})],e.prototype,"closeBtnName",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"hideFooter",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"hideHeader",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"disableInitialFocus",void 0),h([Object(i.internalProperty)()],e.prototype,"animating",void 0),h([Object(i.query)(".md-modal__backdrop")],e.prototype,"backDrop",void 0),e=h([Object(l.a)("md-modal")],e),d.ELEMENT=e}(f||(f={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[69],{94:function(e,t,i){"use strict";i.r(t),i.d(t,"MORE_MENU_ITEM_COPY_ID_PREFIX",(function(){return I})),i.d(t,"Menu",(function(){return f}));var s=i(5),n=i(0),c=i(53),d=i(1),o=i(22),r=i(35),a=i(52),l=i(3),h=i(4),m=i(62),u=function(e,t,i,s){var n,c=arguments.length,d=c<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--)(n=e[o])&&(d=(c<3?n(d):c>3?n(t,i,d):n(t,i))||d);return c>3&&d&&Object.defineProperty(t,i,d),d},p=function(e,t,i,s){return new(i||(i=Promise))((function(n,c){function d(e){try{r(s.next(e))}catch(e){c(e)}}function o(e){try{r(s.throw(e))}catch(e){c(e)}}function r(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(d,o)}r((s=s.apply(e,t||[])).next())}))};const I="more-menu-item-";var f;!function(e){let t=class extends(Object(r.a)(Object(a.a)(n.LitElement))){constructor(){super(...arguments),this.justified=!1,this.direction="horizontal",this.items=[],this.itemsHash={},this.itemsIdxHash={}}getNormalizedItemId(e){return e.replace(I,"")}static get styles(){return[h.a,m.a]}get slotItem(){return this.menuSlotElement}linkMenuItems(){return p(this,void 0,void 0,(function*(){const{items:e}=this;e.forEach((e,t)=>{const i=Object(o.nanoid)();e.setAttribute("id",i),e.setAttribute("aria-controls",i),e.selected=this.selected===t}),this.itemsHash=this.items.reduce((e,t)=>(e[t.id]=t,e),{}),this.itemsIdxHash=this.items.reduce((e,t,i)=>(e[t.id]=i,e),{})}))}setupMenuItems(){if(this.menuSlotElement){const e=this.menuSlotElement.assignedElements({flatten:!0});this.getChildrenFromTree({children:e},this.items)}}getChildrenFromTree(e,t){for(var i=0;i<e.children.length;i++){var s=e.children[i];s instanceof c.MenuItem.ELEMENT&&t.push(s),this.getChildrenFromTree(s,t)}}updateSelectedItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("selected"));t!==e&&(this.items&&[t,e].forEach(e=>{const t=this.items[e];t&&t.toggleAttribute("selected")}),this.dispatchEvent(new CustomEvent("selected-menu-item",{detail:{value:e},composed:!0,bubbles:!0})),this.changeSelectedItemIdx(e))}changeSelectedItemIdx(e){this.selected=e}handleItemClick(e){const{id:t}=e.detail,i=this.itemsHash[this.getNormalizedItemId(t)];if(i&&!i.disabled){const e=this.itemsIdxHash[i.id];-1!==e&&this.updateSelectedItem(e)}}handleItemKeydown(e){const{key:t,id:i}=e.detail;switch(t){case d.a.End:this.changeSelectedItemIdx(this.items.length-1);break;case d.a.Home:this.changeSelectedItemIdx(0);break;case d.a.ArrowLeft:case d.a.ArrowUp:0===this.selected?this.changeSelectedItemIdx(this.items.length-1):this.changeSelectedItemIdx(this.selected-1);break;case d.a.ArrowRight:case d.a.ArrowDown:this.selected===this.items.length-1?this.changeSelectedItemIdx(0):this.changeSelectedItemIdx(this.selected+1);break;case d.a.Enter:case d.a.Space:const e=this.slotted.findIndex(e=>e.id===i&&!e.disabled);-1!==e&&this.updateSelectedItem(e)}}connectedCallback(){super.connectedCallback(),this.addEventListener("menu-item-click",this.handleItemClick),this.addEventListener("menu-item-keydown",this.handleItemKeydown)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return p(this,void 0,void 0,(function*(){t.updated.call(this,e),e.has("slotted")&&(this.setupMenuItems(),this.linkMenuItems())}))}disconnectedCallback(){super.connectedCallback(),this.removeEventListener("menu-item-click",this.handleItemClick),this.removeEventListener("menu-item-keydown",this.handleItemKeydown)}get menuClassMap(){return{["md-menu--"+this.direction]:this.direction,justified:this.justified}}render(){return n.html`
2
+ <nav class="md-menu ${Object(l.classMap)(this.menuClassMap)}">
3
+ <ul class="md-menu-list">
4
+ <slot></slot>
5
+ </ul>
6
+ </nav>
7
+ `}};u([Object(n.property)({type:Boolean})],t.prototype,"justified",void 0),u([Object(n.property)({type:String})],t.prototype,"direction",void 0),u([Object(n.query)("slot")],t.prototype,"menuSlotElement",void 0),u([Object(n.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=u([Object(s.a)("md-menu")],t),e.ELEMENT=t}(f||(f={}))}}]);
@@ -1,72 +1,77 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[70],{115:function(t,e,a){"use strict";a.r(e),a.d(e,"Pagination",(function(){return i}));var i,n=a(4),o=a(5),r=a(0),s=a(2),l=r.css`:host(:focus){box-shadow:none;outline:0!important}:host(md-pagination) .md-pagination{color:var(--pagination-nav-color,#545454);display:flex;padding:0;position:relative}:host(md-pagination) .md-pagination-container{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;flex:0 1 100%}:host(md-pagination) .md-pagination-list{margin:0;padding:0;list-style:none;align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;font-size:.875rem;line-height:1;color:var(--pagination-color,#949494)}:host(md-pagination) .md-pagination-list li:not(.page-ellipsis){align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;border-radius:.875rem;cursor:pointer;height:1.25rem;margin:0 .125rem;min-width:1.25rem;padding:.25rem}:host(md-pagination) .md-pagination-list li:not(.page-ellipsis):hover{background:var(--pagination-bg-hover,#007aa3);color:var(--pagination-color-current,#fff)}:host(md-pagination) .md-pagination-list li:not(.page-ellipsis):focus{box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(md-pagination) .md-pagination-list li:not(.page-ellipsis)[aria-current=true]{background:var(--pagination-bg-current,#00a0d1);color:var(--pagination-color-current,#fff);cursor:default;pointer-events:none}:host(md-pagination) .md-pagination-nav{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;background:0 0;border:0;border-radius:.25rem;color:var(--pagination-nav-color,#545454);cursor:pointer;flex:0 0 1.25rem;outline:0;padding:0}:host(md-pagination) .md-pagination-nav:hover{color:var(--pagination-nav-hover,#007aa3)}:host(md-pagination) .md-pagination-nav:disabled{color:var(--pagination-nav-disabled,#ccc);cursor:default}:host(md-pagination) .md-pagination-nav:focus{box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(md-pagination) .md-pagination-dots{margin:0;padding:0;list-style:none;align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center}:host(md-pagination) .md-pagination-dots li{display:block;overflow:hidden;text-indent:-9999px;background:var(--pagination-dots-color,#ccc);border-radius:50%;cursor:pointer;height:.5rem;margin:.25rem;width:.5rem}:host(md-pagination) .md-pagination-dots li:hover,:host(md-pagination) .md-pagination-dots li[aria-current=true]{background:var(--pagination-dots-color-current,#00a0d1)}:host([focus-visible]){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}`,c=function(t,e,a,i){var n,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,i);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(r=(o<3?n(r):o>3?n(e,a,r):n(e,a))||r);return o>3&&r&&Object.defineProperty(e,a,r),r};!function(t){let e=class extends r.LitElement{constructor(){super(...arguments),this._currentPage=1,this.hasDots=!1,this.onlyDots=!1,this.noNavigation=!1,this.totalPage=0,this.visiblePage=3}get currentPage(){return this._currentPage}set currentPage(t){const e=this._currentPage;this._currentPage=t,this.notifyPageChange(e,t),this.requestUpdate("currentPage",e)}static get styles(){return[n.a,l]}computePrevious(t){1!==t&&t!==this.currentPage&&(this.currentPage-=1)}computeNext(t){t<=this.totalPage&&t!==this.currentPage&&(this.currentPage+=1)}computeFirst(){this.currentPage>=1&&(this.currentPage=1)}computeLast(){this.currentPage>=1&&(this.currentPage=this.totalPage)}computeCurrent(t){this.currentPage=t}notifyPageChange(t,e){this.dispatchEvent(new CustomEvent("page-change",{composed:!0,bubbles:!0,detail:{oldPage:t,newPage:e}}))}get hasPreviousPage(){return this.currentPage<=1}get hasNextPage(){return this.currentPage>=this.totalPage}computePageList(t){if(this.totalPage>this.visiblePage&&t){const[t,e,a]=[this.currentPage-1,this.currentPage,this.currentPage+1];let i=[];if(e<=this.visiblePage-1)return i=[...Array(this.visiblePage)].map((t,e)=>1+e),i.push("..."),i.push(this.totalPage),i;if(this.totalPage-e<=this.visiblePage-2){i=[],i.push(1),i.push("...");const t=[...Array(this.visiblePage)].map((t,e)=>this.totalPage-this.visiblePage+1+e);return i.concat(t)}return[1,"...",t,e,a,"...",this.totalPage]}return[...Array(this.totalPage)].map((t,e)=>1+e)}pagesTemplate(t){return this.computePageList(t).map(t=>"..."===t?r.html`
2
- <li class="page-ellipsis">${t}</li>
3
- `:r.html`
4
- <li @click=${()=>this.computeCurrent(t)} aria-current=${t===this.currentPage}>
5
- ${t}
6
- </li>
7
- `)}dotsTemplate(t){return this.computePageList(t).map(t=>"..."===t?s.nothing:r.html`
8
- <li @click=${()=>this.computeCurrent(t)} aria-current=${t===this.currentPage}></li>
9
- `)}render(){return r.html`
10
- <nav class="md-pagination" role="navigation" part="pagination">
11
- ${this.noNavigation?s.nothing:r.html`
12
- <button
13
- class="md-pagination-nav"
14
- aria-label="First Page"
15
- ?disabled=${this.hasPreviousPage}
16
- aria-disabled=${this.hasPreviousPage}
17
- @click=${this.computeFirst}
18
- part="pagination-first"
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[70],{115:function(d,e,m){"use strict";m.r(e),m.d(e,"modalType",(function(){return _})),m.d(e,"Modal",(function(){return f}));m(17),m(15);var o=m(1),a=m(7),l=m(5),t=m(4),i=m(0),n=m(2),r=m(3),s=i.css`.md-modal{color:var(--md-primary-text-color,#121212);display:block;height:100vh;left:0;margin:0 auto;position:fixed;right:0;visibility:visible;width:100vw;width:100vw;max-height:none;top:auto}.md-modal .md-modal__title{color:var(--md-primary-text-color,#707070)}.md-modal .md-modal__content{height:auto;min-height:0;border-radius:var(--modal-main-radius,.5rem);max-height:none}.md-modal:focus{box-shadow:none}.md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;line-height:1.5rem;width:100%;flex-shrink:0;padding-bottom:1rem;padding-left:calc(1rem / 2);padding-right:calc(1rem / 2)}.md-modal__header .md-modal__title{overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.md-modal__header .md-modal__message{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.5rem;width:100%;color:var(--modal-main-text-color,#545454);flex-flow:row wrap;text-align:center}.md-modal__header .md-modal__close{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;border:0;position:absolute}.md-modal__content{background-color:var(--modal-main-bg-color,#fff);box-shadow:0 8px 16px 0 rgba(0,0,0,.16);border:1px solid var(--modal-main-border-color,#dedede);display:flex;flex-direction:column}.md-modal__flex-container{display:flex;flex:1 1 0%;flex-direction:column;max-height:inherit;min-height:inherit;padding:var(--modal-main-padding,1.5rem 1rem);width:100%}.md-modal__body{align-items:stretch;align-self:stretch;background:var(--modal-main-bg-color,#fff);display:flex;flex:1 1 auto;flex-direction:column;margin:0;overflow-x:hidden;overflow-y:auto;padding-left:calc(1rem / 2);padding-right:calc(1rem / 2)}.md-modal__body--padding{padding:0 2rem}.md-modal__footer{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-end;flex-shrink:0;padding-left:calc(1rem / 2);padding-right:calc(1rem / 2);padding-top:1rem;width:100%}.md-modal__footer md-button:not(:first-of-type){margin-left:.75rem}.md-modal__footer ::slotted(md-button){margin-left:.75rem}.md-modal.md-modal--full{width:100vw;max-height:none;top:auto}.md-modal.md-modal--full .md-modal__content{height:100vh;min-height:0;border-radius:0;max-height:none}.md-modal.md-modal--full .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:2.25rem;line-height:3rem;width:100%}.md-modal.md-modal--full .md-modal__header .md-modal__message{font-size:1.25rem;line-height:2rem;padding-top:1.25rem}.md-modal.md-modal--full .md-modal__header .md-modal__close{height:1.25rem;right:1.5rem;top:1.5rem;width:1.25rem}.md-modal.md-modal--full .md-modal__header .md-modal__close::before{font-size:1.25rem}.md-modal.md-modal--full .md-modal__footer{padding-bottom:1.5rem;padding-top:1.5rem}.md-modal.md-modal--large{width:60rem;max-height:none;top:auto}.md-modal.md-modal--large .md-modal__content{min-height:45rem;border-radius:var(--modal-main-radius,.5rem);max-height:none}.md-modal.md-modal--large .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1.625rem;line-height:2rem;width:100%}.md-modal.md-modal--large .md-modal__header .md-modal__message{font-size:1rem;line-height:1.5rem;text-align:left}.md-modal.md-modal--large .md-modal__header .md-modal__close{height:1rem;right:1rem;top:1rem;width:1rem}.md-modal.md-modal--large .md-modal__header .md-modal__close::before{font-size:1rem}@media only screen and (min-width:40.0625em) and (max-width:64em){.md-modal.md-modal--large{width:40rem;max-height:none;top:auto}.md-modal.md-modal--large .md-modal__content{min-height:30rem;max-height:none}.md-modal.md-modal--large .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;line-height:1.5rem;width:100%}.md-modal.md-modal--large .md-modal__header .md-modal__message{font-size:.875rem;line-height:1.5rem;text-align:center}.md-modal.md-modal--large .md-modal__header .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--large .md-modal__header .md-modal__close::before{font-size:.875rem}}@media only screen and (max-height:50em){.md-modal.md-modal--large .md-modal__content{min-height:auto}}.md-modal.md-modal--default,.md-modal.md-modal--medium{width:40rem;max-height:none;top:auto}.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--medium .md-modal__content{min-height:30rem;max-height:none}.md-modal.md-modal--default .md-modal__close,.md-modal.md-modal--medium .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--default .md-modal__close::before,.md-modal.md-modal--medium .md-modal__close::before{font-size:.875rem}@media only screen and (min-width:40.0625em) and (max-width:64em){.md-modal.md-modal--default,.md-modal.md-modal--medium{width:40rem;max-height:none;top:auto}.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--medium .md-modal__content{min-height:30rem;max-height:none}}@media only screen and (max-height:50em){.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--medium .md-modal__content{min-height:auto}}.md-modal.md-modal--small{width:27.5rem;max-height:none;top:auto}.md-modal.md-modal--small .md-modal__content{min-height:23.75rem;max-height:none}.md-modal.md-modal--small .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--small .md-modal__close::before{font-size:.875rem}@media only screen and (min-width:40.0625em) and (max-width:64em){.md-modal.md-modal--small{width:27.5rem;max-height:none;top:auto}.md-modal.md-modal--small .md-modal__content{min-height:23.75rem;max-height:none}}.md-modal.md-modal--dialog{width:27.5rem;max-height:none;top:auto}.md-modal.md-modal--dialog .md-modal__content{height:auto;min-height:0;border-radius:var(--modal-main-radius,.5rem);max-height:none}.md-modal.md-modal--dialog .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--dialog .md-modal__close::before{font-size:.875rem}.md-modal.md-modal--dialog .md-modal__content{flex-direction:row}.md-modal.md-modal--dialog .md-modal__content .md-modal__header{align-items:flex-start;padding:0 0 .75rem 0}.md-modal.md-modal--dialog .md-modal__content .md-modal__title{font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5rem}.md-modal.md-modal--dialog .md-modal__content .md-modal__body{margin-bottom:1.5rem;text-align:left}.md-modal.md-modal--dialog .md-modal__content .md-modal__body>*{font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.375rem}.md-modal.md-modal--dialog .md-modal__content .md-modal__footer{display:flex;justify-content:flex-end;padding:0}.md-modal.md-modal--default,.md-modal.md-modal--dialog,.md-modal.md-modal--full,.md-modal.md-modal--large,.md-modal.md-modal--medium,.md-modal.md-modal--small{display:flex;flex-direction:column;justify-content:center}@media only screen and (max-width:40em){.md-modal.md-modal--default.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--dialog.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--full.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--large.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--medium.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--small.md-modal--dialog .md-modal__flex-container{min-height:calc(100vh - (1.5rem * 2))}}@media only screen and (max-width:40em){.md-modal.md-modal--default,.md-modal.md-modal--dialog,.md-modal.md-modal--full,.md-modal.md-modal--large,.md-modal.md-modal--medium,.md-modal.md-modal--small{width:100vw;max-height:none;top:auto}.md-modal.md-modal--default .md-modal__content,.md-modal.md-modal--dialog .md-modal__content,.md-modal.md-modal--full .md-modal__content,.md-modal.md-modal--large .md-modal__content,.md-modal.md-modal--medium .md-modal__content,.md-modal.md-modal--small .md-modal__content{height:100vh;min-height:0;border-radius:0;max-height:none}.md-modal.md-modal--default .md-modal__flex-container,.md-modal.md-modal--dialog .md-modal__flex-container,.md-modal.md-modal--full .md-modal__flex-container,.md-modal.md-modal--large .md-modal__flex-container,.md-modal.md-modal--medium .md-modal__flex-container,.md-modal.md-modal--small .md-modal__flex-container{min-height:100vh}.md-modal.md-modal--default .md-modal__header,.md-modal.md-modal--dialog .md-modal__header,.md-modal.md-modal--full .md-modal__header,.md-modal.md-modal--large .md-modal__header,.md-modal.md-modal--medium .md-modal__header,.md-modal.md-modal--small .md-modal__header{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;font-family:"CiscoSansTT Bold","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.5rem;width:100%}.md-modal.md-modal--default .md-modal__header .md-modal__message,.md-modal.md-modal--dialog .md-modal__header .md-modal__message,.md-modal.md-modal--full .md-modal__header .md-modal__message,.md-modal.md-modal--large .md-modal__header .md-modal__message,.md-modal.md-modal--medium .md-modal__header .md-modal__message,.md-modal.md-modal--small .md-modal__header .md-modal__message{font-size:.875rem;line-height:1.5rem;padding-top:.75rem}.md-modal.md-modal--default .md-modal__header .md-modal__close,.md-modal.md-modal--dialog .md-modal__header .md-modal__close,.md-modal.md-modal--full .md-modal__header .md-modal__close,.md-modal.md-modal--large .md-modal__header .md-modal__close,.md-modal.md-modal--medium .md-modal__header .md-modal__close,.md-modal.md-modal--small .md-modal__header .md-modal__close{height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-modal.md-modal--default .md-modal__header .md-modal__close::before,.md-modal.md-modal--dialog .md-modal__header .md-modal__close::before,.md-modal.md-modal--full .md-modal__header .md-modal__close::before,.md-modal.md-modal--large .md-modal__header .md-modal__close::before,.md-modal.md-modal--medium .md-modal__header .md-modal__close::before,.md-modal.md-modal--small .md-modal__header .md-modal__close::before{font-size:.875rem}.md-modal.md-modal--default .md-modal__footer,.md-modal.md-modal--dialog .md-modal__footer,.md-modal.md-modal--full .md-modal__footer,.md-modal.md-modal--large .md-modal__footer,.md-modal.md-modal--medium .md-modal__footer,.md-modal.md-modal--small .md-modal__footer{padding:var(--modal-main-padding,1.5rem 1rem);padding-right:1.5rem}.md-modal.md-modal--default .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--dialog .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--full .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--large .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--medium .md-modal__footer md-button:not(:first-of-type),.md-modal.md-modal--small .md-modal__footer md-button:not(:first-of-type){margin-left:1rem}}.md-modal__backdrop{background:rgba(0,0,0,.45);bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:1040}.md-modal__backdrop .md-modal_overlay{bottom:0;position:absolute;top:0;width:100%}.md-close{color:#545454;float:right;font-size:21px;font-weight:700;line-height:1;text-shadow:0 1px 0 #fff}.md-close:focus,.md-close:hover{color:#064157;cursor:pointer;text-decoration:none}.md-close{background:0 0;border-radius:0;cursor:pointer;font-weight:400;min-width:initial;padding:0}.md-close::before{font-family:momentum-ui-icons;vertical-align:middle}.md-close:hover{color:#005e7d}.fade{opacity:0;transition:opacity .15s linear}.fade.in{opacity:1}`,h=function(d,e,m,o){var a,l=arguments.length,t=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,m):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)t=Reflect.decorate(d,e,m,o);else for(var i=d.length-1;i>=0;i--)(a=d[i])&&(t=(l<3?a(t):l>3?a(e,m,t):a(e,m))||t);return l>3&&t&&Object.defineProperty(e,m,t),t},c=function(d,e,m,o){return new(m||(m=Promise))((function(a,l){function t(d){try{n(o.next(d))}catch(d){l(d)}}function i(d){try{n(o.throw(d))}catch(d){l(d)}}function n(d){var e;d.done?a(d.value):(e=d.value,e instanceof m?e:new m((function(d){d(e)}))).then(t,i)}n((o=o.apply(d,e||[])).next())}))};const _=["default","full","large","small","dialog"];var f;!function(d){let e=class extends(Object(a.b)(i.LitElement)){constructor(){super(...arguments),this.show=!1,this.headerLabel="",this.headerMessage="",this.htmlId="",this.ariaLabel="modal",this.ariaLabelledBy="",this.ariaLabelClose="Close Modal",this.ariaLabelCancel="Cancel Modal",this.ariaLabelSubmit="Submit Modal",this.ariaDescription="",this.showCloseButton=!1,this.backdropClickExit=!1,this.noExitOnEsc=!1,this.size="default",this.closeBtnName="",this.hideFooter=!1,this.hideHeader=!1,this.disableInitialFocus=!1,this.animating=!1,this.handleCloseOutside=d=>{d.code===o.a.Escape&&(d.preventDefault(),this.show&&!this.noExitOnEsc&&(this.show=!1,this.notifyModalClose()))}}static get styles(){return[t.a,s]}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleCloseOutside)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleCloseOutside)}update(d){super.update(d),d.has("show")&&(this.show?this.modalFadeIn():!0===d.get("show")&&this.modalFadeOut())}notifyModalClose(){this.dispatchEvent(new CustomEvent("close-modal",{composed:!0,bubbles:!0}))}focusInsideModal(){this.focusableElements&&this.focusableElements.length&&this.setInitialFocus()}handleKeyDown(d){d.code!==o.a.Enter&&d.code!==o.a.Space||this.show&&(this.show=!0)}transitionPromise(d){return new Promise(e=>{const m=()=>{d.removeEventListener("transitionend",m),this.activateFocusTrap(),this.setFocusableElements(),requestAnimationFrame(()=>{e()})},o=()=>{d.removeEventListener("transitioncancel",o),this.deactivateFocusTrap(),this.modalFadeOut(),e()};d.addEventListener("transitionend",m),d.addEventListener("transitioncancel",o),setTimeout(()=>{this.animating=!0},13)})}modalFadeIn(){return c(this,void 0,void 0,(function*(){this.backDrop&&(yield this.transitionPromise(this.backDrop),this.disableInitialFocus||this.focusInsideModal())}))}modalFadeOut(){this.animating=!1,this.deactivateFocusTrap(),setTimeout(()=>{this.notifyModalClose()},150)}handleCloseBackdrop(){this.backdropClickExit&&(this.show=!1,this.notifyModalClose())}topCloseBtnTemplate(){return i.html`
2
+ ${this.showCloseButton?i.html`
3
+ <md-button
4
+ hasRemoveStyle
5
+ class="md-close md-modal__close"
6
+ @click="${this.modalFadeOut}"
7
+ @keydown="${this.handleKeyDown}"
8
+ aria-label=${this.ariaLabelClose}
9
+ >
10
+ <md-icon name="cancel_14"></md-icon>
11
+ </md-button>
12
+ `:n.nothing}
13
+ `}handleFooterClick(){this.show=!1,this.notifyModalClose()}headerTemplate(){return this.hideHeader?i.html`
14
+ <div part="modal-header" class="md-modal__header">
15
+ <slot name="header"></slot>
16
+ ${this.topCloseBtnTemplate()}
17
+ </div>
18
+ `:i.html`
19
+ <div part="modal-header" class="md-modal__header">
20
+ <span class="md-modal__title">${this.headerLabel}</span>
21
+ ${this.headerMessage?i.html`
22
+ <span class="md-modal__message">${this.headerMessage}</span>
23
+ `:n.nothing}
24
+ ${this.topCloseBtnTemplate()}
25
+ </div>
26
+ `}footerTemplate(){return this.hideFooter?i.html`
27
+ <div part="modal-footer" class="md-modal__footer">
28
+ <slot name="footer"></slot>
29
+ </div>
30
+ `:i.html`
31
+ <div part="modal-footer" class="md-modal__footer">
32
+ <md-button
33
+ aria-label=${this.ariaLabelCancel}
34
+ @click="${this.handleFooterClick}"
35
+ @keydown="${this.handleKeyDown}"
36
+ >
37
+ <span>Cancel</span>
38
+ </md-button>
39
+ <md-button
40
+ type="submit"
41
+ variant="primary"
42
+ aria-label=${this.ariaLabelSubmit}
43
+ @click="${this.handleFooterClick}"
44
+ @keydown="${this.handleKeyDown}"
45
+ >
46
+ <span>${this.closeBtnName}</span>
47
+ </md-button>
48
+ </div>
49
+ `}get modalBackDropClassMap(){return{in:this.show&&this.animating}}get modalContainerClassMap(){return{in:this.show,["md-modal--"+this.size]:!!this.size}}render(){return i.html`
50
+ ${this.show?i.html`
51
+ <div part="modal-backdrop" class="md-modal__backdrop fade ${Object(r.classMap)(this.modalBackDropClassMap)}">
52
+ ${this.backdropClickExit?i.html`
53
+ <div class="md-modal_overlay" @click="${this.handleCloseBackdrop}"></div>
54
+ `:n.nothing}
55
+
56
+ <div
57
+ part="modal-container"
58
+ role="dialog"
59
+ id="${this.htmlId}"
60
+ class="md-modal ${Object(r.classMap)(this.modalContainerClassMap)}"
61
+ aria-label="${this.ariaLabel}"
62
+ aria-labelledby="${this.ariaLabelledBy}"
63
+ aria-describedby="${this.ariaDescription}"
19
64
  >
20
- <md-icon name="icon-overflow-left_16"></md-icon>
21
- </button>
22
- <button
23
- class="md-pagination-nav"
24
- aria-label="Next Page"
25
- ?disabled=${this.hasPreviousPage}
26
- aria-disabled=${this.hasPreviousPage}
27
- @click=${()=>this.computePrevious(this.currentPage-1)}
28
- part="pagination-prev"
29
- >
30
- <md-icon name="icon-arrow-left_16"></md-icon>
31
- </button>
32
- `}
33
- <div class="md-pagination-container">
34
- ${this.onlyDots?r.html`
35
- <ul class="md-pagination-dots" part="pagination-only-dots">
36
- ${this.dotsTemplate(!1)}
37
- </ul>
38
- `:r.html`
39
- <ul class="md-pagination-list" part=pagination-list">
40
- ${this.pagesTemplate(!0)}
41
- </ul>
42
- `}
43
- ${this.hasDots&&!this.onlyDots?r.html`
44
- <ul class="md-pagination-dots" part="pagination-dots">
45
- ${this.dotsTemplate(!0)}
46
- </ul>
47
- `:s.nothing}
48
- </div>
49
- ${this.noNavigation?s.nothing:r.html`
50
- <button
51
- class="md-pagination-nav"
52
- aria-label="Previous Page"
53
- ?disabled=${this.hasNextPage}
54
- aria-disabled=${this.hasNextPage}
55
- @click=${()=>this.computeNext(this.currentPage+1)}
56
- part="pagination-next"
57
- >
58
- <md-icon name="icon-arrow-right_16"></md-icon>
59
- </button>
60
- <button
61
- class="md-pagination-nav"
62
- aria-label="Last Page"
63
- ?disabled=${this.hasNextPage}
64
- aria-disabled=${this.hasNextPage}
65
- @click=${this.computeLast}
66
- part="pagination-last"
67
- >
68
- <md-icon name="icon-overflow-right_16"></md-icon>
69
- </button>
70
- `}
71
- </nav>
72
- `}};c([Object(r.property)({type:Boolean,attribute:"dots"})],e.prototype,"hasDots",void 0),c([Object(r.property)({type:Boolean,reflect:!0,attribute:"only-dots"})],e.prototype,"onlyDots",void 0),c([Object(r.property)({type:Boolean,reflect:!0,attribute:"no-navigation"})],e.prototype,"noNavigation",void 0),c([Object(r.property)({type:Number,reflect:!0,attribute:"total-page"})],e.prototype,"totalPage",void 0),c([Object(r.property)({type:Number,reflect:!0,attribute:"visible-page"})],e.prototype,"visiblePage",void 0),c([Object(r.property)({type:Number,reflect:!0,attribute:"current-page"})],e.prototype,"currentPage",null),e=c([Object(o.a)("md-pagination")],e),t.ELEMENT=e}(i||(i={}))}}]);
65
+ <div part="modal-content" class="md-modal__content">
66
+ <div class="md-modal__flex-container">
67
+ ${this.headerTemplate()}
68
+ <div part="modal-body" class="md-modal__body">
69
+ <slot></slot>
70
+ </div>
71
+ ${this.footerTemplate()}
72
+ </div>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ `:n.nothing}
77
+ `}};h([Object(i.property)({type:Boolean})],e.prototype,"show",void 0),h([Object(i.property)({type:String})],e.prototype,"headerLabel",void 0),h([Object(i.property)({type:String})],e.prototype,"headerMessage",void 0),h([Object(i.property)({type:String})],e.prototype,"htmlId",void 0),h([Object(i.property)({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",void 0),h([Object(i.property)({type:String,attribute:"aria-labelled-by"})],e.prototype,"ariaLabelledBy",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaLabelClose",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaLabelCancel",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaLabelSubmit",void 0),h([Object(i.property)({type:String})],e.prototype,"ariaDescription",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"showCloseButton",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"backdropClickExit",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"noExitOnEsc",void 0),h([Object(i.property)({type:String})],e.prototype,"size",void 0),h([Object(i.property)({type:String})],e.prototype,"closeBtnName",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"hideFooter",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"hideHeader",void 0),h([Object(i.property)({type:Boolean})],e.prototype,"disableInitialFocus",void 0),h([Object(i.internalProperty)()],e.prototype,"animating",void 0),h([Object(i.query)(".md-modal__backdrop")],e.prototype,"backDrop",void 0),e=h([Object(l.a)("md-modal")],e),d.ELEMENT=e}(f||(f={}))}}]);