@momentum-ui/web-components 2.14.17 → 2.14.18

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 (437) hide show
  1. package/dist/chunks/md-0.js +1 -1
  2. package/dist/chunks/md-1.js +1 -1
  3. package/dist/chunks/md-10.js +1 -26
  4. package/dist/chunks/md-100.js +1 -1
  5. package/dist/chunks/md-101.js +1 -1
  6. package/dist/chunks/md-102.js +1 -1
  7. package/dist/chunks/md-103.js +1 -1
  8. package/dist/chunks/md-104.js +1 -1
  9. package/dist/chunks/md-105.js +1 -1
  10. package/dist/chunks/md-106.js +1 -1
  11. package/dist/chunks/md-107.js +1 -1
  12. package/dist/chunks/md-108.js +1 -1
  13. package/dist/chunks/md-109.js +1 -1
  14. package/dist/chunks/md-11.js +1 -1
  15. package/dist/chunks/md-110.js +1 -1
  16. package/dist/chunks/md-111.js +1 -1
  17. package/dist/chunks/md-112.js +1 -1
  18. package/dist/chunks/md-113.js +1 -1
  19. package/dist/chunks/md-114.js +1 -1
  20. package/dist/chunks/md-115.js +1 -1
  21. package/dist/chunks/md-116.js +1 -1
  22. package/dist/chunks/md-117.js +1 -1
  23. package/dist/chunks/md-118.js +1 -1
  24. package/dist/chunks/md-119.js +1 -1
  25. package/dist/chunks/md-120.js +1 -1
  26. package/dist/chunks/md-121.js +1 -1
  27. package/dist/chunks/md-122.js +1 -1
  28. package/dist/chunks/md-123.js +1 -1
  29. package/dist/chunks/md-124.js +1 -1
  30. package/dist/chunks/md-125.js +1 -1
  31. package/dist/chunks/md-126.js +1 -1
  32. package/dist/chunks/md-127.js +1 -1
  33. package/dist/chunks/md-128.js +1 -1
  34. package/dist/chunks/md-129.js +1 -1
  35. package/dist/chunks/md-13.js +1 -11
  36. package/dist/chunks/md-130.js +1 -1
  37. package/dist/chunks/md-131.js +1 -1
  38. package/dist/chunks/md-132.js +1 -1
  39. package/dist/chunks/md-133.js +1 -1
  40. package/dist/chunks/md-134.js +1 -1
  41. package/dist/chunks/md-135.js +1 -1
  42. package/dist/chunks/md-136.js +1 -1
  43. package/dist/chunks/md-137.js +1 -1
  44. package/dist/chunks/md-138.js +1 -1
  45. package/dist/chunks/md-139.js +1 -1
  46. package/dist/chunks/md-14.js +10 -8
  47. package/dist/chunks/md-140.js +1 -1
  48. package/dist/chunks/md-141.js +1 -1
  49. package/dist/chunks/md-142.js +1 -1
  50. package/dist/chunks/md-143.js +1 -1
  51. package/dist/chunks/md-144.js +1 -1
  52. package/dist/chunks/md-145.js +1 -1
  53. package/dist/chunks/md-146.js +1 -1
  54. package/dist/chunks/md-147.js +1 -1
  55. package/dist/chunks/md-148.js +1 -1
  56. package/dist/chunks/md-149.js +1 -1
  57. package/dist/chunks/md-15.js +9 -1
  58. package/dist/chunks/md-150.js +1 -1
  59. package/dist/chunks/md-151.js +1 -1
  60. package/dist/chunks/md-152.js +1 -1
  61. package/dist/chunks/md-153.js +1 -1
  62. package/dist/chunks/md-154.js +1 -1
  63. package/dist/chunks/md-155.js +1 -1
  64. package/dist/chunks/md-156.js +1 -1
  65. package/dist/chunks/md-157.js +1 -1
  66. package/dist/chunks/md-158.js +1 -1
  67. package/dist/chunks/md-159.js +1 -1
  68. package/dist/chunks/md-16.js +1 -26
  69. package/dist/chunks/md-160.js +1 -1
  70. package/dist/chunks/md-161.js +1 -1
  71. package/dist/chunks/md-162.js +1 -1
  72. package/dist/chunks/md-163.js +1 -1
  73. package/dist/chunks/md-164.js +1 -1
  74. package/dist/chunks/md-165.js +1 -1
  75. package/dist/chunks/md-166.js +1 -1
  76. package/dist/chunks/md-167.js +1 -1
  77. package/dist/chunks/md-168.js +1 -1
  78. package/dist/chunks/md-169.js +1 -1
  79. package/dist/chunks/md-17.js +23 -119
  80. package/dist/chunks/md-170.js +1 -1
  81. package/dist/chunks/md-171.js +1 -1
  82. package/dist/chunks/md-172.js +1 -1
  83. package/dist/chunks/md-173.js +1 -1
  84. package/dist/chunks/md-174.js +1 -1
  85. package/dist/chunks/md-175.js +1 -1
  86. package/dist/chunks/md-176.js +1 -1
  87. package/dist/chunks/md-177.js +1 -1
  88. package/dist/chunks/md-178.js +1 -1
  89. package/dist/chunks/md-179.js +1 -1
  90. package/dist/chunks/md-18.js +122 -17
  91. package/dist/chunks/md-180.js +1 -1
  92. package/dist/chunks/md-181.js +1 -1
  93. package/dist/chunks/md-182.js +1 -1
  94. package/dist/chunks/md-183.js +1 -1
  95. package/dist/chunks/md-184.js +1 -1
  96. package/dist/chunks/md-185.js +1 -1
  97. package/dist/chunks/md-186.js +1 -1
  98. package/dist/chunks/md-187.js +1 -1
  99. package/dist/chunks/md-188.js +1 -1
  100. package/dist/chunks/md-189.js +1 -1
  101. package/dist/chunks/md-19.js +17 -1
  102. package/dist/chunks/md-190.js +1 -1
  103. package/dist/chunks/md-191.js +1 -1
  104. package/dist/chunks/md-192.js +1 -1
  105. package/dist/chunks/md-193.js +1 -1
  106. package/dist/chunks/md-194.js +1 -1
  107. package/dist/chunks/md-195.js +1 -1
  108. package/dist/chunks/md-196.js +1 -1
  109. package/dist/chunks/md-197.js +1 -1
  110. package/dist/chunks/md-198.js +1 -1
  111. package/dist/chunks/md-199.js +1 -1
  112. package/dist/chunks/md-20.js +1 -8
  113. package/dist/chunks/md-200.js +1 -1
  114. package/dist/chunks/md-201.js +1 -1
  115. package/dist/chunks/md-202.js +1 -1
  116. package/dist/chunks/md-203.js +1 -1
  117. package/dist/chunks/md-204.js +1 -1
  118. package/dist/chunks/md-205.js +1 -1
  119. package/dist/chunks/md-206.js +1 -1
  120. package/dist/chunks/md-207.js +1 -1
  121. package/dist/chunks/md-208.js +1 -1
  122. package/dist/chunks/md-209.js +1 -1
  123. package/dist/chunks/md-21.js +8 -23
  124. package/dist/chunks/md-210.js +1 -1
  125. package/dist/chunks/md-211.js +1 -1
  126. package/dist/chunks/md-212.js +1 -1
  127. package/dist/chunks/md-213.js +1 -1
  128. package/dist/chunks/md-214.js +1 -1
  129. package/dist/chunks/md-215.js +1 -1
  130. package/dist/chunks/md-216.js +1 -1
  131. package/dist/chunks/md-217.js +1 -1
  132. package/dist/chunks/md-218.js +1 -1
  133. package/dist/chunks/md-219.js +1 -1
  134. package/dist/chunks/md-22.js +23 -1
  135. package/dist/chunks/md-220.js +1 -1
  136. package/dist/chunks/md-221.js +1 -1
  137. package/dist/chunks/md-222.js +1 -1
  138. package/dist/chunks/md-223.js +1 -1
  139. package/dist/chunks/md-224.js +1 -1
  140. package/dist/chunks/md-225.js +1 -1
  141. package/dist/chunks/md-226.js +1 -1
  142. package/dist/chunks/md-227.js +1 -1
  143. package/dist/chunks/md-228.js +1 -1
  144. package/dist/chunks/md-229.js +1 -1
  145. package/dist/chunks/md-23.js +1 -7
  146. package/dist/chunks/md-230.js +1 -1
  147. package/dist/chunks/md-231.js +1 -1
  148. package/dist/chunks/md-232.js +1 -1
  149. package/dist/chunks/md-233.js +1 -1
  150. package/dist/chunks/md-234.js +1 -1
  151. package/dist/chunks/md-235.js +1 -1
  152. package/dist/chunks/md-236.js +1 -1
  153. package/dist/chunks/md-237.js +1 -1
  154. package/dist/chunks/md-238.js +1 -1
  155. package/dist/chunks/md-239.js +1 -1
  156. package/dist/chunks/md-24.js +7 -8
  157. package/dist/chunks/md-240.js +1 -1
  158. package/dist/chunks/md-241.js +1 -1
  159. package/dist/chunks/md-242.js +1 -1
  160. package/dist/chunks/md-243.js +1 -1
  161. package/dist/chunks/md-244.js +1 -1
  162. package/dist/chunks/md-245.js +1 -1
  163. package/dist/chunks/md-246.js +1 -1
  164. package/dist/chunks/md-247.js +1 -1
  165. package/dist/chunks/md-248.js +1 -1
  166. package/dist/chunks/md-249.js +1 -1
  167. package/dist/chunks/md-25.js +8 -1
  168. package/dist/chunks/md-250.js +1 -1
  169. package/dist/chunks/md-251.js +1 -1
  170. package/dist/chunks/md-252.js +1 -1
  171. package/dist/chunks/md-253.js +1 -1
  172. package/dist/chunks/md-254.js +1 -1
  173. package/dist/chunks/md-255.js +1 -1
  174. package/dist/chunks/md-256.js +1 -1
  175. package/dist/chunks/md-257.js +1 -1
  176. package/dist/chunks/md-258.js +1 -1
  177. package/dist/chunks/md-259.js +1 -1
  178. package/dist/chunks/md-26.js +1 -1
  179. package/dist/chunks/md-260.js +1 -1
  180. package/dist/chunks/md-261.js +1 -1
  181. package/dist/chunks/md-262.js +1 -1
  182. package/dist/chunks/md-263.js +1 -1
  183. package/dist/chunks/md-264.js +1 -1
  184. package/dist/chunks/md-265.js +1 -1
  185. package/dist/chunks/md-266.js +1 -1
  186. package/dist/chunks/md-267.js +1 -1
  187. package/dist/chunks/md-268.js +1 -1
  188. package/dist/chunks/md-269.js +1 -1
  189. package/dist/chunks/md-27.js +1 -61
  190. package/dist/chunks/md-270.js +1 -1
  191. package/dist/chunks/md-271.js +1 -1
  192. package/dist/chunks/md-272.js +1 -1
  193. package/dist/chunks/md-273.js +1 -1
  194. package/dist/chunks/md-274.js +1 -1
  195. package/dist/chunks/md-275.js +1 -1
  196. package/dist/chunks/md-276.js +1 -1
  197. package/dist/chunks/md-277.js +1 -1
  198. package/dist/chunks/md-278.js +1 -1
  199. package/dist/chunks/md-279.js +1 -1
  200. package/dist/chunks/md-28.js +55 -1
  201. package/dist/chunks/md-280.js +1 -0
  202. package/dist/chunks/md-281.js +1 -0
  203. package/dist/chunks/md-282.js +1 -0
  204. package/dist/chunks/md-29.js +1 -221
  205. package/dist/chunks/md-3.js +1 -1
  206. package/dist/chunks/md-30.js +213 -43
  207. package/dist/chunks/md-31.js +49 -1
  208. package/dist/chunks/md-32.js +1 -1
  209. package/dist/chunks/md-33.js +1 -36
  210. package/dist/chunks/md-34.js +36 -33
  211. package/dist/chunks/md-35.js +32 -22
  212. package/dist/chunks/md-36.js +23 -5
  213. package/dist/chunks/md-37.js +5 -5
  214. package/dist/chunks/md-38.js +5 -1
  215. package/dist/chunks/md-39.js +1 -21
  216. package/dist/chunks/md-4.js +1 -1
  217. package/dist/chunks/md-40.js +20 -41
  218. package/dist/chunks/md-41.js +26 -1
  219. package/dist/chunks/md-42.js +42 -30
  220. package/dist/chunks/md-43.js +1 -16
  221. package/dist/chunks/md-44.js +30 -1
  222. package/dist/chunks/md-45.js +12 -23
  223. package/dist/chunks/md-46.js +1 -5
  224. package/dist/chunks/md-47.js +26 -37
  225. package/dist/chunks/md-48.js +5 -13
  226. package/dist/chunks/md-49.js +37 -25
  227. package/dist/chunks/md-5.js +1 -1
  228. package/dist/chunks/md-50.js +13 -20
  229. package/dist/chunks/md-51.js +31 -119
  230. package/dist/chunks/md-52.js +17 -95
  231. package/dist/chunks/md-53.js +121 -11
  232. package/dist/chunks/md-54.js +97 -4
  233. package/dist/chunks/md-55.js +11 -77
  234. package/dist/chunks/md-56.js +4 -67
  235. package/dist/chunks/md-57.js +74 -19
  236. package/dist/chunks/md-58.js +68 -14
  237. package/dist/chunks/md-59.js +21 -4
  238. package/dist/chunks/md-6.js +2 -2
  239. package/dist/chunks/md-60.js +14 -51
  240. package/dist/chunks/md-61.js +4 -21
  241. package/dist/chunks/md-62.js +51 -5
  242. package/dist/chunks/md-63.js +22 -1
  243. package/dist/chunks/md-64.js +46 -22
  244. package/dist/chunks/md-65.js +4 -4
  245. package/dist/chunks/md-66.js +1 -11
  246. package/dist/chunks/md-67.js +22 -141
  247. package/dist/chunks/md-68.js +4 -29
  248. package/dist/chunks/md-69.js +11 -70
  249. package/dist/chunks/md-7.js +1 -1
  250. package/dist/chunks/md-70.js +141 -18
  251. package/dist/chunks/md-71.js +29 -21
  252. package/dist/chunks/md-72.js +70 -17
  253. package/dist/chunks/md-73.js +19 -76
  254. package/dist/chunks/md-74.js +22 -7
  255. package/dist/chunks/md-75.js +17 -72
  256. package/dist/chunks/md-76.js +76 -78
  257. package/dist/chunks/md-77.js +7 -66
  258. package/dist/chunks/md-78.js +72 -17
  259. package/dist/chunks/md-79.js +78 -5
  260. package/dist/chunks/md-8.js +26 -1
  261. package/dist/chunks/md-80.js +65 -18
  262. package/dist/chunks/md-81.js +17 -1
  263. package/dist/chunks/md-82.js +4 -167
  264. package/dist/chunks/md-83.js +18 -42
  265. package/dist/chunks/md-84.js +1 -101
  266. package/dist/chunks/md-85.js +166 -80
  267. package/dist/chunks/md-86.js +42 -11
  268. package/dist/chunks/md-87.js +98 -39
  269. package/dist/chunks/md-88.js +78 -30
  270. package/dist/chunks/md-89.js +12 -1
  271. package/dist/chunks/md-9.js +1 -1
  272. package/dist/chunks/md-90.js +42 -1
  273. package/dist/chunks/md-91.js +34 -1
  274. package/dist/chunks/md-92.js +1 -1
  275. package/dist/chunks/md-93.js +1 -1
  276. package/dist/chunks/md-94.js +1 -1
  277. package/dist/chunks/md-95.js +1 -1
  278. package/dist/chunks/md-96.js +1 -1
  279. package/dist/chunks/md-97.js +1 -1
  280. package/dist/chunks/md-98.js +1 -1
  281. package/dist/chunks/md-99.js +1 -1
  282. package/dist/comp/md-accordion-entry.js +1 -1
  283. package/dist/comp/md-accordion-item-entry.js +1 -1
  284. package/dist/comp/md-accordion-item.js +4 -4
  285. package/dist/comp/md-accordion.js +4 -4
  286. package/dist/comp/md-activity-button-entry.js +1 -1
  287. package/dist/comp/md-activity-button.js +3 -3
  288. package/dist/comp/md-advance-list-entry.js +1 -1
  289. package/dist/comp/md-advance-list.js +1 -1
  290. package/dist/comp/md-alert-banner-entry.js +1 -1
  291. package/dist/comp/md-alert-banner.js +3 -3
  292. package/dist/comp/md-alert-entry.js +1 -1
  293. package/dist/comp/md-alert.js +4 -4
  294. package/dist/comp/md-audio-player-entry.js +1 -1
  295. package/dist/comp/md-audio-player.js +6 -5
  296. package/dist/comp/md-avatar-entry.js +1 -1
  297. package/dist/comp/md-avatar.js +4 -4
  298. package/dist/comp/md-badge-entry.js +1 -1
  299. package/dist/comp/md-badge.js +1 -1
  300. package/dist/comp/md-breadcrumb-entry.js +1 -1
  301. package/dist/comp/md-breadcrumb.js +1 -1
  302. package/dist/comp/md-button-entry.js +1 -1
  303. package/dist/comp/md-button-group-entry.js +1 -1
  304. package/dist/comp/md-button-group.js +3 -3
  305. package/dist/comp/md-card-ai-entry.js +1 -1
  306. package/dist/comp/md-card-ai.js +3 -3
  307. package/dist/comp/md-card-entry.js +1 -1
  308. package/dist/comp/md-card.js +10 -9
  309. package/dist/comp/md-chat-message-entry.js +1 -1
  310. package/dist/comp/md-chat-message.js +5 -5
  311. package/dist/comp/md-checkbox-entry.js +1 -1
  312. package/dist/comp/md-checkbox.js +4 -4
  313. package/dist/comp/md-checkboxgroup-entry.js +1 -1
  314. package/dist/comp/md-checkboxgroup.js +4 -4
  315. package/dist/comp/md-chip-entry.js +1 -1
  316. package/dist/comp/md-chip.js +7 -6
  317. package/dist/comp/md-coachmark-entry.js +1 -1
  318. package/dist/comp/md-coachmark-popover-entry.js +1 -0
  319. package/dist/comp/md-coachmark-popover.js +15 -0
  320. package/dist/comp/md-coachmark.js +3 -3
  321. package/dist/comp/md-combobox-entry.js +1 -1
  322. package/dist/comp/md-combobox.js +5 -5
  323. package/dist/comp/md-composite-avatar-entry.js +1 -1
  324. package/dist/comp/md-composite-avatar.js +2 -2
  325. package/dist/comp/md-date-range-picker-entry.js +1 -1
  326. package/dist/comp/md-date-range-picker.js +10 -9
  327. package/dist/comp/md-date-time-picker-entry.js +1 -1
  328. package/dist/comp/md-date-time-picker.js +6 -5
  329. package/dist/comp/md-datepicker-calendar-entry.js +1 -1
  330. package/dist/comp/md-datepicker-calendar.js +7 -7
  331. package/dist/comp/md-datepicker-day-entry.js +1 -1
  332. package/dist/comp/md-datepicker-day.js +2 -2
  333. package/dist/comp/md-datepicker-entry.js +1 -1
  334. package/dist/comp/md-datepicker-month-entry.js +1 -1
  335. package/dist/comp/md-datepicker-month.js +4 -4
  336. package/dist/comp/md-datepicker-week-entry.js +1 -1
  337. package/dist/comp/md-datepicker-week.js +3 -3
  338. package/dist/comp/md-datepicker.js +9 -8
  339. package/dist/comp/md-draggable-entry.js +1 -1
  340. package/dist/comp/md-draggable-item-entry.js +1 -1
  341. package/dist/comp/md-draggable-item.js +4 -4
  342. package/dist/comp/md-draggable.js +4 -4
  343. package/dist/comp/md-dropdown-entry.js +1 -1
  344. package/dist/comp/md-dropdown.js +3 -3
  345. package/dist/comp/md-editable-field-entry.js +1 -1
  346. package/dist/comp/md-editable-field.js +6 -6
  347. package/dist/comp/md-favorite-entry.js +1 -1
  348. package/dist/comp/md-favorite.js +3 -3
  349. package/dist/comp/md-floating-minimize-entry.js +1 -1
  350. package/dist/comp/md-floating-minimize.js +3 -3
  351. package/dist/comp/md-floating-modal-entry.js +1 -1
  352. package/dist/comp/md-floating-modal.js +4 -4
  353. package/dist/comp/md-form-entry.js +1 -1
  354. package/dist/comp/md-form.js +3 -3
  355. package/dist/comp/md-grabber-entry.js +1 -1
  356. package/dist/comp/md-grabber.js +3 -3
  357. package/dist/comp/md-help-text-entry.js +1 -1
  358. package/dist/comp/md-help-text.js +1 -1
  359. package/dist/comp/md-icon-entry.js +1 -1
  360. package/dist/comp/md-icon.js +2 -2
  361. package/dist/comp/md-inpu.js +3 -3
  362. package/dist/comp/md-input-entry.js +1 -1
  363. package/dist/comp/md-input-file.js +1 -1
  364. package/dist/comp/md-input.js +4 -4
  365. package/dist/comp/md-label-entry.js +1 -1
  366. package/dist/comp/md-label.js +1 -1
  367. package/dist/comp/md-link-entry.js +1 -1
  368. package/dist/comp/md-link.js +1 -1
  369. package/dist/comp/md-list-entry.js +1 -1
  370. package/dist/comp/md-list-item-entry.js +1 -1
  371. package/dist/comp/md-list-item.js +4 -4
  372. package/dist/comp/md-list.js +4 -4
  373. package/dist/comp/md-loading-entry.js +1 -1
  374. package/dist/comp/md-loading.js +1 -1
  375. package/dist/comp/md-meeting-alert-entry.js +1 -1
  376. package/dist/comp/md-meeting-alert.js +5 -5
  377. package/dist/comp/md-menu-entry.js +1 -1
  378. package/dist/comp/md-menu-item-entry.js +1 -1
  379. package/dist/comp/md-menu-item.js +1 -1
  380. package/dist/comp/md-menu-overlay-entry.js +1 -1
  381. package/dist/comp/md-menu-overlay.js +2 -1
  382. package/dist/comp/md-menu.js +3 -3
  383. package/dist/comp/md-modal-entry.js +1 -1
  384. package/dist/comp/md-modal.js +3 -3
  385. package/dist/comp/md-pagination-entry.js +1 -1
  386. package/dist/comp/md-pagination.js +3 -3
  387. package/dist/comp/md-phone-input-entry.js +1 -1
  388. package/dist/comp/md-phone-input.js +7 -7
  389. package/dist/comp/md-popover-entry.js +1 -0
  390. package/dist/comp/md-popover.js +14 -0
  391. package/dist/comp/md-progress-bar-entry.js +1 -1
  392. package/dist/comp/md-progress-bar.js +1 -1
  393. package/dist/comp/md-radio-entry.js +1 -1
  394. package/dist/comp/md-radio.js +4 -4
  395. package/dist/comp/md-radiogroup-entry.js +1 -1
  396. package/dist/comp/md-radiogroup.js +4 -4
  397. package/dist/comp/md-slider-entry.js +1 -1
  398. package/dist/comp/md-slider.js +3 -3
  399. package/dist/comp/md-spinner-entry.js +1 -1
  400. package/dist/comp/md-tab-entry.js +1 -1
  401. package/dist/comp/md-tab-panel-entry.js +1 -1
  402. package/dist/comp/md-tab-panel.js +4 -4
  403. package/dist/comp/md-tab.js +4 -4
  404. package/dist/comp/md-table-advanced-entry.js +1 -1
  405. package/dist/comp/md-table-advanced.js +5 -4
  406. package/dist/comp/md-table-entry.js +1 -1
  407. package/dist/comp/md-table.js +3 -3
  408. package/dist/comp/md-tabs-entry.js +1 -1
  409. package/dist/comp/md-tabs.js +8 -7
  410. package/dist/comp/md-task-item-entry.js +1 -1
  411. package/dist/comp/md-task-item.js +4 -4
  412. package/dist/comp/md-theme-entry.js +1 -1
  413. package/dist/comp/md-theme.js +2 -2
  414. package/dist/comp/md-timepicker-entry.js +1 -1
  415. package/dist/comp/md-timepicker.js +9 -9
  416. package/dist/comp/md-toggle-switch-entry.js +1 -1
  417. package/dist/comp/md-toggle-switch.js +4 -4
  418. package/dist/comp/md-tooltip-entry.js +1 -1
  419. package/dist/comp/md-tooltip.js +5 -4
  420. package/dist/index-entry.js +2 -2
  421. package/dist/index.js +55 -52
  422. package/dist/types/components/advance-list/AdvanceList.d.ts +3 -0
  423. package/dist/types/components/alert/Alert.d.ts +7 -5
  424. package/dist/types/components/avatar/Avatar.d.ts +1 -1
  425. package/dist/types/components/avatar/Presence.d.ts +1 -2
  426. package/dist/types/components/avatar/Presence.utils.d.ts +0 -1
  427. package/dist/types/components/button/Button.d.ts +1 -1
  428. package/dist/types/components/chip/Chip.d.ts +2 -2
  429. package/dist/types/components/coachmark-popover/CoachmarkPopover.d.ts +211 -0
  430. package/dist/types/components/combobox/ComboBox.d.ts +25 -11
  431. package/dist/types/components/grabber/Grabber.d.ts +1 -1
  432. package/dist/types/components/menu-overlay/MenuOverlay.d.ts +1 -1
  433. package/dist/types/components/popover/Popover.d.ts +184 -0
  434. package/dist/types/components/popover/Popover.types.d.ts +8 -0
  435. package/dist/types/components/tooltip/Tooltip.d.ts +3 -2
  436. package/dist/types/index.d.ts +3 -1
  437. package/package.json +1 -1
@@ -1,30 +1,42 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{65:function(t,i,e){"use strict";var n=e(0);i.a=n.css`.md-floating{background-color:var(--floating-modal-main-bg-color,#fff);border:1px solid var(--floating-modal-outer-border-color,#ededed);border-radius:8px;box-shadow:var(--floating-modal-main-box-shadow,0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16));display:flex;flex-direction:column;max-height:100%;max-width:100%;position:absolute;touch-action:none;user-select:none;z-index:1040}.md-floating.fixed{position:fixed}.md-floating.hide{display:block;height:0;visibility:hidden;width:0}.md-floating.md-floating-minimize{background:var(--floating-modal-main-bg-color-alternate,#545454);border-radius:8px;width:100%}.md-floating.md-floating-minimize:focus{box-shadow:0 0 0 .125rem #005e7d;outline:0}.md-floating .md-floating__header{align-items:center;border-bottom:1px solid var(--floating-modal-main-border-color,#dedede);color:var(--floating-modal-main-text-color,#121212);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;max-height:3rem;padding:.5rem .5rem .5rem .75rem;width:100%}.md-floating .md-floating__header-text{flex:2 1 auto;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:16px;line-height:16px;text-align:left}.md-floating .md-floating__body{height:calc(100% - 3rem);overflow:auto;padding:.75rem 1.25rem}.md-floating .md-floating-body-minimize{display:block;height:0;visibility:hidden}.md-floating .md-floating__header-minimize{border-bottom:0;color:var(--floating-modal-main-text-color-alternate,#f7f7f7);font-size:16px;line-height:24px;width:100%}.md-floating-min-parent{bottom:0;height:3rem!important;position:absolute;right:0;width:223px!important}`},76:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingMinimizedModal",(function(){return n}));e(17),e(15);var n,o=e(1),a=e(7),r=e(6),s=e(16),l=e(5),d=(e(46),e(47),e(48),e(21)),c=e.n(d),m=(e(49),e(0)),h=e(2),p=e(3),u=e(65),f=function(t,i,e,n){var o,a=arguments.length,r=a<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(i,e,r):o(i,e))||r);return a>3&&r&&Object.defineProperty(i,e,r),r},g=function(t,i,e,n){return new(e||(e=Promise))((function(o,a){function r(t){try{l(n.next(t))}catch(t){a(t)}}function s(t){try{l(n.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?o(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,s)}l((n=n.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(a.a)(m.LitElement)){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.closeAriaLabel="Close Modal",this.minimize=!1,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.minPosition?{initialX:Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.minPosition)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:n}=this.getTransformValues(t);this.setTargetPosition(i,e,n),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[l.a,u.a]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance(),this.setFocusOnContainer()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("minPosition")&&!t.has("show")&&this.setInitialTargetPosition(),t.has("minimize")&&void 0!==t.get("minimize")&&this.setFocusOnContainer()}isNewPositionNotSame(){var t,i,e,n;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.minPosition)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(n=this.minPosition)||void 0===n?void 0:n.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),Number(null===(i=this.minPosition)||void 0===i?void 0:i.y))}setFocusOnContainer(){this.container&&(this.container.setAttribute("tabindex","0"),this.container.focus())}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-minimize-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>g(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&c()(this.container).draggable({autoScroll:!0,allowFrom:this.header,listeners:{move:this.dragMoveListener,end:this.dragEndListener},modifiers:[c.a.modifiers.restrictRect({restriction:document.body.getBoundingClientRect(),endOnly:!0})]})})}handleKeyDown(t){t.code!==o.b.Enter&&t.code!==o.b.Space||this.handleMinimize(t)}handleClose(t){this.show=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),t.stopPropagation()}handleMinimize(t){this.dragOccured||this.dispatchEvent(new CustomEvent("floating-min-modal-minimize",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),this.dragOccured=!1}getTransformValues(t){const{target:i,dx:e,dy:n}=t,{initialX:o,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+o,y:(parseFloat(i.getAttribute("data-y"))||0)+n+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&c.a.isSet(this.container)&&c()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance(),window.removeEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}render(){return m.html`
2
- ${this.show?m.html`
3
- <div
4
- class="md-floating ${this.minimize?"":"hide"} md-floating-minimize"
5
- @click=${this.handleMinimize}
6
- @keydown="${this.handleKeyDown}"
7
- role="dialog"
8
- tabindex="-1"
9
- part="floating-minimized"
10
- aria-label=${Object(p.ifDefined)(this.label||void 0)}
11
- aria-modal="true"
12
- style=${Object(p.ifDefined)(this.minPosition?`transform: translate(${this.minPosition.x}px, ${this.minPosition.y}px) !important`:`transform: ${this.containerTransform} !important`)}
13
- >
14
- <div tabindex="-1" class="md-floating__header ${this.minimize?"md-floating__header-minimize":""}">
15
- <div class="md-floating__header-text">
16
- ${this.heading?m.html` ${this.heading} `:m.html` <slot></slot> `}
17
- </div>
18
- <md-button
19
- color="color-none"
20
- class="md-floating__close"
21
- aria-label="${this.closeAriaLabel}"
22
- circle
23
- @click=${this.handleClose}
24
- >
25
- <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
26
- </md-button>
27
- </div>
28
- </div>
29
- `:h.nothing}
30
- `}};f([Object(m.property)({type:String})],i.prototype,"heading",void 0),f([Object(m.property)({type:String})],i.prototype,"label",void 0),f([Object(m.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),f([Object(m.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),f([Object(m.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),f([Object(m.property)({type:Object})],i.prototype,"minPosition",void 0),f([Object(m.query)(".md-floating")],i.prototype,"container",void 0),f([Object(m.query)(".md-floating__header")],i.prototype,"header",void 0),f([Object(m.internalProperty)()],i.prototype,"dragOccured",void 0),f([Object(m.internalProperty)()],i.prototype,"containerTransform",void 0),i=f([Object(r.a)("md-floating-modal-minimized")],i),t.ELEMENT=i}(n||(n={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{44:function(e,t,a){"use strict";a.r(t),a.d(t,"DatePicker",(function(){return i}));a(74),a(29),a(35);var i,s=a(1),o=a(5),r=a(9),l=a(16),n=a(20),c=a(0),d=a(3),h=a(15),p=function(e,t,a,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,a,r):s(t,a))||r);return o>3&&r&&Object.defineProperty(t,a,r),r},u=function(e,t,a,i){return new(a||(a=Promise))((function(s,o){function r(e){try{n(i.next(e))}catch(e){o(e)}}function l(e){try{n(i.throw(e))}catch(e){o(e)}}function n(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,l)}n((i=i.apply(e,t||[])).next())}))};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends c.LitElement{constructor(){super(...arguments),this.shouldCloseOnSelect=!1,this.maxDate=void 0,this.minDate=void 0,this.value=void 0,this.weekStart="Sunday",this.placeholder=void 0,this.locale="en-US",this.includesTime=!1,this.disabled=!1,this.htmlId="",this.label="",this.ariaLabel="Choose Date",this.required=!1,this.errorMessage="",this.customTrigger=!1,this.isMenuOverlayOpen=!1,this.selectedDate=Object(r.n)(),this.focusedDate=Object(r.n)(),this.filterDate=void 0,this.maxDateData=void 0,this.minDateData=void 0,this.handleDateInputChange=e=>{var t,a;(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.value)&&(this.value=null===(a=null==e?void 0:e.detail)||void 0===a?void 0:a.value),this.dispatchEvent(new CustomEvent("date-input-change",{bubbles:!0,composed:!0,detail:{sourceEvent:e,value:this.value}}))},this.setOpen=e=>{this.menuOverlay.isOpen=e,this.isMenuOverlayOpen=e},this.handleSelect=e=>{const t=e.detail.date,a=e.detail.sourceEvent;this.setPreSelection(t),this.setSelected(t,a),this.shouldCloseOnSelect&&this.setOpen(!1)},this.setSelected=(e,t)=>{const a={maxDate:this.maxDateData,minDate:this.minDateData,filterDate:this.filterDate};if(!Object(r.j)(e,a)){const t=this.includesTime?e.startOf("second").toISO({suppressMilliseconds:!0}):e.toISODate();this.selectedDate=e,this.value=t}this.dispatchEvent(new CustomEvent("date-selection-change",{bubbles:!0,composed:!0,detail:{sourceEvent:t,data:e}}))},this.setPreSelection=e=>{const t={maxDate:this.maxDateData,minDate:this.minDateData,filterDate:this.filterDate};Object(r.j)(e,t)||(this.focusedDate=e)},this.handleInputKeyDown=e=>{e.code===s.b.ArrowDown&&this.setOpen(!0)},this.handleKeyDown=e=>{const t=e.detail.sourceEvent;let a=!1;const i=this.focusedDate;switch(!t.shiftKey&&t.code){case"Space":case"Enter":this.handleSelect(e),a=!0;break;case"Escape":this.setOpen(!1);break;case"ArrowUp":this.setPreSelection(Object(r.s)(i,1)),a=!0;break;case"ArrowLeft":this.setPreSelection(Object(r.q)(i,1)),a=!0;break;case"ArrowRight":this.setPreSelection(Object(r.a)(i,1)),a=!0;break;case"ArrowDown":this.setPreSelection(Object(r.c)(i,1)),a=!0}a&&(t.stopPropagation(),t.preventDefault())},this.chosenDateLabel=()=>this.selectedDate?`, Selected date is ${this.selectedDate.weekdayLong} ${this.selectedDate.monthLong} ${this.selectedDate.day}, ${this.selectedDate.year}`:void 0,this.isValueValid=()=>{if(!this.value&&""!==this.value)return!0;const e=Object(l.a)("md-date-range-picker",this),t=e&&e.startDate&&e.endDate?n.a.dateRangeString:this.includesTime?n.a.ISOString:n.a.ISODateString,a=RegExp(t),i={maxDate:this.maxDateData,minDate:this.minDateData,filterDate:this.filterDate};return this.value&&a.test(this.value)&&!Object(r.j)(h.DateTime.fromISO(this.value,{locale:this.locale}),i)}}connectedCallback(){super.connectedCallback(),this.minDate&&(this.minDateData=h.DateTime.fromISO(this.minDate,{locale:this.locale})),this.maxDate&&(this.maxDateData=h.DateTime.fromISO(this.maxDate,{locale:this.locale}))}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});var a,i;return u(this,void 0,void 0,(function*(){t.firstUpdated.call(this,e),""===this.value&&(this.value=this.includesTime?null===(a=this.selectedDate)||void 0===a?void 0:a.startOf("second").toISO({suppressMilliseconds:!0}):null===(i=this.selectedDate)||void 0===i?void 0:i.toISODate())}))}updated(e){if(super.updated(e),this.value&&e.has("value")){if(Object(l.a)("md-date-range-picker",this))return;this.selectedDate=h.DateTime.fromISO(this.value,{locale:this.locale}),this.setPreSelection(this.selectedDate)}e.has("locale")&&this.render(),this.minDate&&e.has("minDate")&&(this.minDateData=h.DateTime.fromISO(this.minDate,{locale:this.locale})),this.maxDate&&e.has("maxDate")&&(this.maxDateData=h.DateTime.fromISO(this.maxDate,{locale:this.locale}))}render(){return c.html`
2
+ <md-menu-overlay is-date-picker custom-width="248px" ?disabled=${this.disabled}>
3
+ ${this.customTrigger?c.html`
4
+ <span slot="menu-trigger">
5
+ <slot name="date-trigger"></slot>
6
+ </span>
7
+ `:c.html`
8
+ <md-input
9
+ class="date-input"
10
+ slot="menu-trigger"
11
+ role="combobox"
12
+ placeholder=${this.placeholder?this.placeholder:"YYYY-MM-DD"}
13
+ value=${Object(d.ifDefined)(this.value)}
14
+ htmlId=${this.htmlId}
15
+ label=${this.label}
16
+ ariaLabel=${this.ariaLabel+this.chosenDateLabel()}
17
+ ariaExpanded=${this.isMenuOverlayOpen?"true":"false"}
18
+ ariaControls="date-overlay-content"
19
+ auxiliaryContentPosition="before"
20
+ ?required=${this.required}
21
+ @keydown=${e=>this.handleInputKeyDown(e)}
22
+ @input-change="${e=>this.handleDateInputChange(e)}"
23
+ ?disabled=${this.disabled}
24
+ hide-message=${!this.errorMessage&&this.isValueValid()}
25
+ ariaInvalid=${!!this.errorMessage||!this.isValueValid()}
26
+ .messageArr=${this.errorMessage?[{message:this.errorMessage,type:"error"}]:[{message:"",type:this.isValueValid()?"":"error"}]}
27
+ >
28
+ <md-icon slot="input-section" name="calendar-month-bold" size="16" iconSet="momentumDesign"></md-icon>
29
+ </md-input>
30
+ `}
31
+
32
+ <div class="date-overlay-content">
33
+ <md-datepicker-calendar
34
+ @day-select=${e=>this.handleSelect(e)}
35
+ @day-key-event=${e=>this.handleKeyDown(e)}
36
+ .datePickerProps=${{locale:this.locale,selected:this.selectedDate,focused:this.focusedDate,weekStart:this.weekStart}}
37
+ .filterParams=${{minDate:this.minDateData,maxDate:this.maxDateData,filterDate:this.filterDate}}
38
+ ></md-datepicker-calendar>
39
+ <slot name="time-picker"></slot>
40
+ </div>
41
+ </md-menu-overlay>
42
+ `}};p([Object(c.property)({type:Boolean,attribute:"should-close-on-select"})],t.prototype,"shouldCloseOnSelect",void 0),p([Object(c.property)({type:String})],t.prototype,"maxDate",void 0),p([Object(c.property)({type:String})],t.prototype,"minDate",void 0),p([Object(c.property)({type:String,reflect:!0})],t.prototype,"value",void 0),p([Object(c.property)({type:String})],t.prototype,"weekStart",void 0),p([Object(c.property)({type:String,reflect:!0})],t.prototype,"placeholder",void 0),p([Object(c.property)({type:String})],t.prototype,"locale",void 0),p([Object(c.property)({type:Boolean,reflect:!0,attribute:"includes-time"})],t.prototype,"includesTime",void 0),p([Object(c.property)({type:Boolean})],t.prototype,"disabled",void 0),p([Object(c.property)({type:String})],t.prototype,"htmlId",void 0),p([Object(c.property)({type:String})],t.prototype,"label",void 0),p([Object(c.property)({type:String})],t.prototype,"ariaLabel",void 0),p([Object(c.property)({type:Boolean})],t.prototype,"required",void 0),p([Object(c.property)({type:String,reflect:!0})],t.prototype,"errorMessage",void 0),p([Object(c.property)({type:Boolean,attribute:"custom-trigger"})],t.prototype,"customTrigger",void 0),p([Object(c.property)({type:Boolean})],t.prototype,"isMenuOverlayOpen",void 0),p([Object(c.internalProperty)()],t.prototype,"selectedDate",void 0),p([Object(c.internalProperty)()],t.prototype,"focusedDate",void 0),p([Object(c.internalProperty)()],t.prototype,"filterDate",void 0),p([Object(c.internalProperty)()],t.prototype,"maxDateData",void 0),p([Object(c.internalProperty)()],t.prototype,"minDateData",void 0),p([Object(c.query)("md-menu-overlay")],t.prototype,"menuOverlay",void 0),t=p([Object(o.a)("md-datepicker")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1,16 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{57:function(e,t,d){"use strict";d.r(t),d.d(t,"MenuItem",(function(){return s}));var s,i=d(5),n=d(6),a=d(0),l=d(4),r=d(3),m=d(66),o=function(e,t,d,s){var i,n=arguments.length,a=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,d):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(t,d,a):i(t,d))||a);return n>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[i.a,m.a]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return a.html`
2
- <li
3
- role="menuitem"
4
- part="menu-item"
5
- class="md-menu-item ${Object(l.classMap)(this.menuItemClassMap)}"
6
- ?disabled=${this.disabled}
7
- tabindex="-1"
8
- aria-hidden="true"
9
- aria-selected="false"
10
- aria-label=${Object(r.ifDefined)(this.label)}
11
- >
12
- <a href="${Object(r.ifDefined)(this.href||void 0)}">
13
- <slot></slot>
14
- </a>
15
- </li>
16
- `}};o([Object(a.property)({type:String})],t.prototype,"href",void 0),o([Object(a.property)({type:String})],t.prototype,"label",void 0),o([Object(a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=o([Object(n.a)("md-menu-item")],t),e.ELEMENT=t}(s||(s={}))},66:function(e,t,d){"use strict";var s=d(0);t.a=s.css`.md-menu{margin:0;padding:0}.md-menu--horizontal .md-menu-list ::slotted(*){display:inline-flex}.md-menu--vertical .md-menu-list ::slotted(*){display:flex}.md-menu.justified .md-menu-list{display:flex;justify-content:space-between}.md-menu .md-menu-list{margin:0}.md-menu-item{list-style:none;padding:.125rem}.md-menu-item a{color:var(--menu-text-color,var(--menu-default,#121212));display:flex;padding:.375rem .75rem}.md-menu-item ::slotted(*){padding:0 .1875rem}.md-menu-item:hover{background:var(--menu-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item:active{background:var(--menu-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected{background:var(--menu-selected-default-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected:hover{background:var(--menu-selected-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item--selected:active{background:var(--menu-selected-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item.disabled{pointer-events:none}.md-menu-item.disabled a{background:rgba(0,0,0,0);color:var(--md-disabled-text-color)}@media(forced-colors:active){.md-menu-item--selected,.md-menu-item:active,.md-menu-item:focus,.md-menu-item:hover{outline:1px solid Highlight}.md-menu-item.disabled a{color:GrayText}}`}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{66:function(e,r,d){"use strict";var o=d(0);r.a=o.css`:host{display:block}.md-draggable-item.extended{align-items:center;background-color:var(--md-secondary-white-bg-color);border:1px solid var(--md-menu-overlay-border-color);display:flex;flex-direction:row;padding:.375rem}.md-draggable-item.extended md-icon{cursor:grab;margin-right:.375rem}.md-draggable-item.extended:hover{background-color:var(--md-secondary-bg-color)}.md-draggable-item.extended ::slotted(*){flex:1 1 auto;margin-right:calc(.375rem*2);text-align:left}.md-draggable-item.default{border:2px solid transparent;border-radius:.25rem;cursor:grab;display:flex;padding:calc(.375rem/2) .375rem}.md-draggable-item.default:hover{background-color:var(--md-tertiary-white-bg-color);border:2px solid var(--md-default-focus-outline-color);box-shadow:0 2px 4px rgba(0,0,0,.1),0 0 1px rgba(0,0,0,.18)}.md-draggable-item.disabled{cursor:default}.md-draggable-item.disabled:hover{background-color:rgba(0,0,0,0);border:2px solid transparent;box-shadow:none}@media(forced-colors:active){.md-draggable-item.extended{border:1px solid CanvasText}.md-draggable-item.default{border:none;outline:0}.md-draggable-item.default:hover{outline:1px solid Highlight;border:none}}`}}]);
@@ -1 +1,30 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{68:function(o,e,r){"use strict";var i=r(0);e.a=i.css`:host{--radio-label-text-color:var(--radio-input-text-color, $lm-radio-input-text-color-light)}:host(md-radio) .md-radio-wrapper{max-height:1.4375rem;display:inline-flex;max-width:100%}:host(md-radio) .md-radio-input{height:1.4375rem;position:absolute;visibility:hidden;width:100%}:host(md-radio) .md-radio-label{color:var(--md-primary-text-color,#121212);cursor:pointer;font-size:14px;line-height:1.4375rem;padding-left:1.875rem;padding-right:.5rem;pointer-events:none;position:relative;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}:host(md-radio) .md-radio-label::before{content:"";position:absolute;border:.0625rem solid var(--radio-input-border-color,#545454);border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-left-radius:50%;border-bottom-right-radius:50%;box-shadow:inset 0 0 0 .36rem var(--radio-input-bg-color,#fff),inset 0 0 0 1.25rem var(--radio-input-bg-color,#fff);box-sizing:border-box;height:1.25rem;left:.125rem;top:.0625rem;width:1.25rem}:host(:focus){box-shadow:none;outline:0}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(:hover:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host(:active:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-pressed-border-color,#ccc);box-shadow:inset 0 0 0 .36rem var(--radio-input-pressed-bg-color,#dedede),inset 0 0 0 1.25rem var(--radio-input-pressed-bg-color,#dedede)}:host([disabled]){cursor:not-allowed;opacity:.4}:host([disabled]) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host([aria-checked=true]) .md-radio-label:before{border-color:var(--radio-input-selected-border-color,#00a0d1);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-bg-color,#00a0d1),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-hover-border-color,#007aa3);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-hover-bg-color,#007aa3),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:active:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-pressed-border-color,#005e7d);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-pressed-bg-color,#005e7d),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}@media(forced-colors:active){:host(md-radio) .md-radio-label::before{border:1px solid CanvasText}:host(:active:not([disabled])) .md-radio-label:before,:host(:hover:not([disabled])) .md-radio-label:before{border:none;outline:2px solid Highlight;outline-offset:-1px}:host([aria-checked=true]) .md-radio-label:before{background-color:Highlight;border:none;outline:0}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{background-color:Highlight}:host([aria-checked=true]) .md-radio-label:after{content:"";position:absolute;top:50%;left:12px;transform:translate(-50%,-50%);width:8px;height:8px;background-color:Canvas;border-radius:50%}:host([focus-visible]:not([disabled])){outline:2px solid Highlight;outline-offset:-1px}}:host(md-radiogroup){display:flex}:host(md-radio){border-radius:.25rem;display:inline!important}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-radio){margin-bottom:calc(.25rem*3)}:host([alignment=horizontal]) div{display:inline-flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-radio){margin-right:calc(.25rem*8)}:host([disabled]) div ::slotted(md-radio){pointer-events:none}`}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{67:function(t,i,e){"use strict";var n=e(0);i.a=n.css`.md-floating{background-color:var(--floating-modal-main-bg-color,#fff);border:1px solid var(--floating-modal-outer-border-color,#ededed);border-radius:8px;box-shadow:var(--floating-modal-main-box-shadow,0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16));display:flex;flex-direction:column;max-height:100%;max-width:100%;position:absolute;touch-action:none;user-select:none;z-index:1040}.md-floating.fixed{position:fixed}.md-floating.hide{display:block;height:0;visibility:hidden;width:0}.md-floating.md-floating-minimize{background:var(--floating-modal-main-bg-color-alternate,#545454);border-radius:8px;width:100%}.md-floating.md-floating-minimize:focus{box-shadow:0 0 0 .125rem #005e7d;outline:0}.md-floating .md-floating__header{align-items:center;border-bottom:1px solid var(--floating-modal-main-border-color,#dedede);color:var(--floating-modal-main-text-color,#121212);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;max-height:3rem;padding:.5rem .5rem .5rem .75rem;width:100%}.md-floating .md-floating__header-text{flex:2 1 auto;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:16px;line-height:16px;text-align:left}.md-floating .md-floating__body{height:calc(100% - 3rem);overflow:auto;padding:.75rem 1.25rem}.md-floating .md-floating-body-minimize{display:block;height:0;visibility:hidden}.md-floating .md-floating__header-minimize{border-bottom:0;color:var(--floating-modal-main-text-color-alternate,#f7f7f7);font-size:16px;line-height:24px;width:100%}.md-floating-min-parent{bottom:0;height:3rem!important;position:absolute;right:0;width:223px!important}`},78:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingMinimizedModal",(function(){return n}));e(17),e(14);var n,o=e(1),a=e(7),r=e(5),s=e(16),l=e(6),d=(e(48),e(49),e(50),e(25)),c=e.n(d),m=(e(51),e(0)),h=e(2),p=e(3),u=e(67),f=function(t,i,e,n){var o,a=arguments.length,r=a<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(i,e,r):o(i,e))||r);return a>3&&r&&Object.defineProperty(i,e,r),r},g=function(t,i,e,n){return new(e||(e=Promise))((function(o,a){function r(t){try{l(n.next(t))}catch(t){a(t)}}function s(t){try{l(n.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?o(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,s)}l((n=n.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(a.a)(m.LitElement)){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.closeAriaLabel="Close Modal",this.minimize=!1,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.minPosition?{initialX:Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.minPosition)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:n}=this.getTransformValues(t);this.setTargetPosition(i,e,n),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[l.a,u.a]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance(),this.setFocusOnContainer()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("minPosition")&&!t.has("show")&&this.setInitialTargetPosition(),t.has("minimize")&&void 0!==t.get("minimize")&&this.setFocusOnContainer()}isNewPositionNotSame(){var t,i,e,n;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.minPosition)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(n=this.minPosition)||void 0===n?void 0:n.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),Number(null===(i=this.minPosition)||void 0===i?void 0:i.y))}setFocusOnContainer(){this.container&&(this.container.setAttribute("tabindex","0"),this.container.focus())}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-minimize-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>g(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&c()(this.container).draggable({autoScroll:!0,allowFrom:this.header,listeners:{move:this.dragMoveListener,end:this.dragEndListener},modifiers:[c.a.modifiers.restrictRect({restriction:document.body.getBoundingClientRect(),endOnly:!0})]})})}handleKeyDown(t){t.code!==o.b.Enter&&t.code!==o.b.Space||this.handleMinimize(t)}handleClose(t){this.show=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),t.stopPropagation()}handleMinimize(t){this.dragOccured||this.dispatchEvent(new CustomEvent("floating-min-modal-minimize",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),this.dragOccured=!1}getTransformValues(t){const{target:i,dx:e,dy:n}=t,{initialX:o,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+o,y:(parseFloat(i.getAttribute("data-y"))||0)+n+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&c.a.isSet(this.container)&&c()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance(),window.removeEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}render(){return m.html`
2
+ ${this.show?m.html`
3
+ <div
4
+ class="md-floating ${this.minimize?"":"hide"} md-floating-minimize"
5
+ @click=${this.handleMinimize}
6
+ @keydown="${this.handleKeyDown}"
7
+ role="dialog"
8
+ tabindex="-1"
9
+ part="floating-minimized"
10
+ aria-label=${Object(p.ifDefined)(this.label||void 0)}
11
+ aria-modal="true"
12
+ style=${Object(p.ifDefined)(this.minPosition?`transform: translate(${this.minPosition.x}px, ${this.minPosition.y}px) !important`:`transform: ${this.containerTransform} !important`)}
13
+ >
14
+ <div tabindex="-1" class="md-floating__header ${this.minimize?"md-floating__header-minimize":""}">
15
+ <div class="md-floating__header-text">
16
+ ${this.heading?m.html` ${this.heading} `:m.html` <slot></slot> `}
17
+ </div>
18
+ <md-button
19
+ color="color-none"
20
+ class="md-floating__close"
21
+ aria-label="${this.closeAriaLabel}"
22
+ circle
23
+ @click=${this.handleClose}
24
+ >
25
+ <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
26
+ </md-button>
27
+ </div>
28
+ </div>
29
+ `:h.nothing}
30
+ `}};f([Object(m.property)({type:String})],i.prototype,"heading",void 0),f([Object(m.property)({type:String})],i.prototype,"label",void 0),f([Object(m.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),f([Object(m.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),f([Object(m.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),f([Object(m.property)({type:Object})],i.prototype,"minPosition",void 0),f([Object(m.query)(".md-floating")],i.prototype,"container",void 0),f([Object(m.query)(".md-floating__header")],i.prototype,"header",void 0),f([Object(m.internalProperty)()],i.prototype,"dragOccured",void 0),f([Object(m.internalProperty)()],i.prototype,"containerTransform",void 0),i=f([Object(r.a)("md-floating-modal-minimized")],i),t.ELEMENT=i}(n||(n={}))}}]);
@@ -1,27 +1,16 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{44:function(t,e,i){"use strict";i.r(e),i.d(e,"TAB_CROSS_WIDTH",(function(){return b})),i.d(e,"Tab",(function(){return h}));var s=i(1),o=i(7),a=i(6),r=i(5),l=i(0),n=i(4),d=i(3),c=i(39),p=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const b=22;var h;!function(t){let e=class extends(Object(o.a)(l.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this.type="line",this.newMomentum=!1,this.onlyIcon=!1,this.variant="ghost",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",""+t),this.tabIndex=t?-1:0,this.requestUpdate("disabled",e)}get selected(){return this._selected}set selected(t){const e=this._selected;this._selected=t,t&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+t),this.requestUpdate("selected",e)}static get styles(){return[r.a,c.a]}handleClick(t){t.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(t){t.stopPropagation(),t.code===s.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(t){t.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(t){super.update(t),t.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(t){super.firstUpdated(t),this.ariaRole&&this.setAttribute("role",this.ariaRole)}renderCrossButton(){return l.html`
2
- <div
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{59:function(e,t,d){"use strict";d.r(t),d.d(t,"MenuItem",(function(){return s}));var s,i=d(6),n=d(5),a=d(0),l=d(4),r=d(3),m=d(68),o=function(e,t,d,s){var i,n=arguments.length,a=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,d):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(t,d,a):i(t,d))||a);return n>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[i.a,m.a]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return a.html`
2
+ <li
3
+ role="menuitem"
4
+ part="menu-item"
5
+ class="md-menu-item ${Object(l.classMap)(this.menuItemClassMap)}"
3
6
  ?disabled=${this.disabled}
4
7
  tabindex="-1"
5
- class="tab-action-button"
6
- @click=${t=>this.handleCrossClick(t)}
7
- @keydown=${t=>this.handleCrossKeydown(t)}
8
- >
9
- <md-icon tabindex="0" name="cancel-bold" size="14" iconSet="momentumDesign"></md-icon>
10
- </div>
11
- `}render(){return l.html`
12
- <button
13
- type="button"
14
- role="button"
15
- ?disabled=${this.disabled}
16
- aria-selected="false"
17
- aria-label=${Object(d.ifDefined)(this.ariaLabel||void 0)}
18
8
  aria-hidden="true"
19
- tabindex="-1"
20
- part="tab"
21
- class="${Object(n.classMap)({closable:""!==this.closable,isPill:"pill"===this.type,isRounded:"rounded"===this.type,primary:"primary"===this.variant,newMomentum:this.newMomentum,onlyIcon:this.onlyIcon})}"
22
- @click=${t=>this.handleClick(t)}
9
+ aria-selected="false"
10
+ aria-label=${Object(r.ifDefined)(this.label)}
23
11
  >
24
- <slot class="tab-slot"></slot>
25
- ${this.isCrossVisible&&this.closable?this.renderCrossButton():""}
26
- </button>
27
- `}};p([Object(l.property)({type:Number,reflect:!0})],e.prototype,"tabIndex",void 0),p([Object(l.property)({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",void 0),p([Object(l.property)({type:String,attribute:"closable"})],e.prototype,"closable",void 0),p([Object(l.property)({type:String,attribute:"name"})],e.prototype,"name",void 0),p([Object(l.property)({type:Boolean,attribute:"cross-visible"})],e.prototype,"isCrossVisible",void 0),p([Object(l.property)({type:String})],e.prototype,"ariaRole",void 0),p([Object(l.property)({type:String})],e.prototype,"type",void 0),p([Object(l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([Object(l.property)({type:Boolean})],e.prototype,"onlyIcon",void 0),p([Object(l.property)({type:String})],e.prototype,"variant",void 0),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",null),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",null),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"vertical",void 0),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"viewportHidden",void 0),e=p([Object(a.a)("md-tab")],e),t.ELEMENT=e}(h||(h={}))}}]);
12
+ <a href="${Object(r.ifDefined)(this.href||void 0)}">
13
+ <slot></slot>
14
+ </a>
15
+ </li>
16
+ `}};o([Object(a.property)({type:String})],t.prototype,"href",void 0),o([Object(a.property)({type:String})],t.prototype,"label",void 0),o([Object(a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=o([Object(n.a)("md-menu-item")],t),e.ELEMENT=t}(s||(s={}))},68:function(e,t,d){"use strict";var s=d(0);t.a=s.css`.md-menu{margin:0;padding:0}.md-menu--horizontal .md-menu-list ::slotted(*){display:inline-flex}.md-menu--vertical .md-menu-list ::slotted(*){display:flex}.md-menu.justified .md-menu-list{display:flex;justify-content:space-between}.md-menu .md-menu-list{margin:0}.md-menu-item{list-style:none;padding:.125rem}.md-menu-item a{color:var(--menu-text-color,var(--menu-default,#121212));display:flex;padding:.375rem .75rem}.md-menu-item ::slotted(*){padding:0 .1875rem}.md-menu-item:hover{background:var(--menu-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item:active{background:var(--menu-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected{background:var(--menu-selected-default-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected:hover{background:var(--menu-selected-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item--selected:active{background:var(--menu-selected-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item.disabled{pointer-events:none}.md-menu-item.disabled a{background:rgba(0,0,0,0);color:var(--md-disabled-text-color)}@media(forced-colors:active){.md-menu-item--selected,.md-menu-item:active,.md-menu-item:focus,.md-menu-item:hover{outline:1px solid Highlight}.md-menu-item.disabled a{color:GrayText}}`}}]);
@@ -1,5 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{85:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(6),d=o(5),r=o(0),a=o(58),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.b.Space:case s.b.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.b.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.b.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.b.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.b.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
2
- <div class="md-accordion" part="accordion">
3
- <slot name="accordion-item"></slot>
4
- </div>
5
- `}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{70:function(o,e,r){"use strict";var i=r(0);e.a=i.css`:host{--radio-label-text-color:var(--radio-input-text-color, $lm-radio-input-text-color-light)}:host(md-radio) .md-radio-wrapper{max-height:1.4375rem;display:inline-flex;max-width:100%}:host(md-radio) .md-radio-input{height:1.4375rem;position:absolute;visibility:hidden;width:100%}:host(md-radio) .md-radio-label{color:var(--md-primary-text-color,#121212);cursor:pointer;font-size:14px;line-height:1.4375rem;padding-left:1.875rem;padding-right:.5rem;pointer-events:none;position:relative;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}:host(md-radio) .md-radio-label::before{content:"";position:absolute;border:.0625rem solid var(--radio-input-border-color,#545454);border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-left-radius:50%;border-bottom-right-radius:50%;box-shadow:inset 0 0 0 .36rem var(--radio-input-bg-color,#fff),inset 0 0 0 1.25rem var(--radio-input-bg-color,#fff);box-sizing:border-box;height:1.25rem;left:.125rem;top:.0625rem;width:1.25rem}:host(:focus){box-shadow:none;outline:0}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(:hover:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host(:active:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-pressed-border-color,#ccc);box-shadow:inset 0 0 0 .36rem var(--radio-input-pressed-bg-color,#dedede),inset 0 0 0 1.25rem var(--radio-input-pressed-bg-color,#dedede)}:host([disabled]){cursor:not-allowed;opacity:.4}:host([disabled]) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host([aria-checked=true]) .md-radio-label:before{border-color:var(--radio-input-selected-border-color,#00a0d1);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-bg-color,#00a0d1),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-hover-border-color,#007aa3);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-hover-bg-color,#007aa3),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:active:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-pressed-border-color,#005e7d);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-pressed-bg-color,#005e7d),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}@media(forced-colors:active){:host(md-radio) .md-radio-label::before{border:1px solid CanvasText}:host(:active:not([disabled])) .md-radio-label:before,:host(:hover:not([disabled])) .md-radio-label:before{border:none;outline:2px solid Highlight;outline-offset:-1px}:host([aria-checked=true]) .md-radio-label:before{background-color:Highlight;border:none;outline:0}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{background-color:Highlight}:host([aria-checked=true]) .md-radio-label:after{content:"";position:absolute;top:50%;left:12px;transform:translate(-50%,-50%);width:8px;height:8px;background-color:Canvas;border-radius:50%}:host([focus-visible]:not([disabled])){outline:2px solid Highlight;outline-offset:-1px}}:host(md-radiogroup){display:flex}:host(md-radio){border-radius:.25rem;display:inline!important}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-radio){margin-bottom:calc(.25rem*3)}:host([alignment=horizontal]) div{display:inline-flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-radio){margin-right:calc(.25rem*8)}:host([disabled]) div ::slotted(md-radio){pointer-events:none}`}}]);
@@ -1,38 +1,27 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{86:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));d(15);var i,n=d(7),o=d(6),s=d(5),a=d(0),l=d(3),r=d(22),c=d(58),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
2
- <div class="md-accordion-item">
3
- <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
- <button
5
- type="button"
6
- aria-expanded=${this.expanded}
7
- class="md-accordion-expander"
8
- aria-label=${Object(l.ifDefined)(this.label||void 0)}
9
- aria-controls="panel-${this.uniqueId}"
10
- aria-disabled=${this.disabled}
11
- ?disabled=${this.disabled}
12
- id="header-${this.uniqueId}"
13
- part="accordion-button"
14
- tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
15
- @mousedown=${this.handleMouseDown}
16
- @keydown=${this.handleKeyDown}
17
- >
18
- <slot name="header-content">
19
- <span class="md-accordion-expander-label">${this.label}</span>
20
- </slot>
21
- <md-icon
22
- iconSet=${"momentumDesign"}
23
- size="14"
24
- name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
25
- ></md-icon>
26
- </button>
27
- </div>
28
- <div
29
- role="region"
30
- id="panel-${this.uniqueId}"
31
- aria-labelledby="header-${this.uniqueId}"
32
- class="md-accordion-panel"
33
- part="accordion-panel"
34
- >
35
- <slot></slot>
36
- </div>
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{46:function(t,e,i){"use strict";i.r(e),i.d(e,"TAB_CROSS_WIDTH",(function(){return b})),i.d(e,"Tab",(function(){return h}));var s=i(1),o=i(7),a=i(5),r=i(6),l=i(0),n=i(4),d=i(3),c=i(40),p=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const b=22;var h;!function(t){let e=class extends(Object(o.a)(l.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this.type="line",this.newMomentum=!1,this.onlyIcon=!1,this.variant="ghost",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",""+t),this.tabIndex=t?-1:0,this.requestUpdate("disabled",e)}get selected(){return this._selected}set selected(t){const e=this._selected;this._selected=t,t&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+t),this.requestUpdate("selected",e)}static get styles(){return[r.a,c.a]}handleClick(t){t.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(t){t.stopPropagation(),t.code===s.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(t){t.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(t){super.update(t),t.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(t){super.firstUpdated(t),this.ariaRole&&this.setAttribute("role",this.ariaRole)}renderCrossButton(){return l.html`
2
+ <div
3
+ ?disabled=${this.disabled}
4
+ tabindex="-1"
5
+ class="tab-action-button"
6
+ @click=${t=>this.handleCrossClick(t)}
7
+ @keydown=${t=>this.handleCrossKeydown(t)}
8
+ >
9
+ <md-icon tabindex="0" name="cancel-bold" size="14" iconSet="momentumDesign"></md-icon>
37
10
  </div>
38
- `}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
11
+ `}render(){return l.html`
12
+ <button
13
+ type="button"
14
+ role="button"
15
+ ?disabled=${this.disabled}
16
+ aria-selected="false"
17
+ aria-label=${Object(d.ifDefined)(this.ariaLabel||void 0)}
18
+ aria-hidden="true"
19
+ tabindex="-1"
20
+ part="tab"
21
+ class="${Object(n.classMap)({closable:""!==this.closable,pill:"pill"===this.type,rounded:"rounded"===this.type,line:"line"===this.type,primary:"primary"===this.variant,newMomentum:this.newMomentum,onlyIcon:this.onlyIcon})}"
22
+ @click=${t=>this.handleClick(t)}
23
+ >
24
+ <slot class="tab-slot"></slot>
25
+ ${this.isCrossVisible&&this.closable?this.renderCrossButton():""}
26
+ </button>
27
+ `}};p([Object(l.property)({type:Number,reflect:!0})],e.prototype,"tabIndex",void 0),p([Object(l.property)({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",void 0),p([Object(l.property)({type:String,attribute:"closable"})],e.prototype,"closable",void 0),p([Object(l.property)({type:String,attribute:"name"})],e.prototype,"name",void 0),p([Object(l.property)({type:Boolean,attribute:"cross-visible"})],e.prototype,"isCrossVisible",void 0),p([Object(l.property)({type:String})],e.prototype,"ariaRole",void 0),p([Object(l.property)({type:String})],e.prototype,"type",void 0),p([Object(l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([Object(l.property)({type:Boolean})],e.prototype,"onlyIcon",void 0),p([Object(l.property)({type:String})],e.prototype,"variant",void 0),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",null),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",null),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"vertical",void 0),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"viewportHidden",void 0),e=p([Object(a.a)("md-tab")],e),t.ELEMENT=e}(h||(h={}))}}]);
@@ -1,13 +1,5 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{87:function(t,e,i){"use strict";i.r(e),i.d(e,"activityButtonSize",(function(){return c})),i.d(e,"activityButtonType",(function(){return p})),i.d(e,"ActivityButton",(function(){return y}));var r=i(5),n=i(6),o=i(0),s=(i(17),i(15),i(59)),a=function(t,e,i,r){var n,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const c=["56","68","84",56,68,84],p=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var y;!function(t){let e=class extends o.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;p.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,["md-activity__"+this.type]:this.type}}static get styles(){return[r.a,s.a]}render(){return o.html`
2
- <md-button
3
- aria-label=${this.ariaLabel}
4
- circle
5
- .activityType=${this.type}
6
- ?containerLarge=${"84"===this.size}
7
- ?disabled=${this.disabled}
8
- .size=${this.size}
9
- .label=${this.label}
10
- >
11
- <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
12
- </md-button>
13
- `}};a([Object(o.property)({type:String})],e.prototype,"ariaLabel",void 0),a([Object(o.property)({type:Boolean})],e.prototype,"disabled",void 0),a([Object(o.property)({type:String})],e.prototype,"label",void 0),a([Object(o.property)({type:String})],e.prototype,"size",void 0),a([Object(o.property)({type:String})],e.prototype,"type",null),e=a([Object(n.a)("md-activity-button")],e),t.ELEMENT=e}(y||(y={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{88:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(5),d=o(6),r=o(0),a=o(60),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.b.Space:case s.b.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.b.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.b.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.b.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.b.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
2
+ <div class="md-accordion" part="accordion">
3
+ <slot name="accordion-item"></slot>
4
+ </div>
5
+ `}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
@@ -1,26 +1,38 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[49],{106:function(e,t,i){"use strict";i.r(t),i.d(t,"AdvanceList",(function(){return r}));var r,s=i(1),a=i(6),o=i(30),d=i(5),l=i(0),n=i(29),c=l.css`:host(md-advance-list){list-style:none;margin:0;padding:0;overflow:auto;position:relative}.virtual-scroll{width:100%;overflow-y:auto;height:400px;overflow-x:hidden;position:relative;padding:1px}.virtual-scroll:focus-visible{outline:2px solid var(--md-default-focus-outline-color)}.default-wrapper:focus,.default-wrapper:focus-visible{outline:2px solid var(--md-default-focus-outline-color);outline-offset:-2px}.default-wrapper:has([disabled]),.default-wrapper:has([disabled]):hover,.default-wrapper[aria-disabled=true]{color:var(--advance-list-disabled-text-color);background-color:rgba(0,0,0,0)}.spin-loader{display:flex;justify-content:center;width:100%}.default-wrapper.selected{background-color:var(--list-active-background,#00a0d1);color:var(--list-active-text-color,#121212)}.default-wrapper.focused{outline:2px solid var(--md-default-focus-outline-color);outline-offset:-2px}.default-wrapper{margin-bottom:2px;padding:5px;color:var(--advance-list-text-color,#121212);cursor:pointer;width:calc(100% - 2px);box-sizing:border-box;position:relative}.default-wrapper:hover{background-color:var(--list-hover-background,#91ebff);color:var(--list-hover-text-color,#121212)}.default-wrapper.selected:hover{background-color:var(--list-active-background,#00a0d1);color:var(--list-active-text-color,#121212)}`,p=function(e,t,i,r){var s,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,r);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(o=(a<3?s(o):a>3?s(t,i,o):s(t,i))||o);return a>3&&o&&Object.defineProperty(t,i,o),o};!function(e){e.prefixId="item-";let t=class extends(Object(o.a)(l.LitElement)){constructor(){super(...arguments),this.items=[],this.isLoading=!1,this.selectedItemId="",this.value="",this.ariaRoleList="listbox",this.ariaRoleListItem="option",this.ariaLabelList="",this.isError=!1,this.totalRecords=0,this.scrollIndex=-1,this.activeId="",this.isUserNavigated=!1,this.handleKeyDown=t=>{var i;switch(t.key){case s.b.ArrowDown:t.preventDefault(),this.isUserNavigated=!0,""===this.activeId&&this.value&&(this.activeId=this.value);const r=this.items.findIndex(e=>e.id===this.activeId);r<this.items.length-1&&(this.scrollIndex=r+1,this.activeId=this.items[this.scrollIndex].id);break;case s.b.ArrowUp:t.preventDefault(),this.isUserNavigated=!0,""===this.activeId&&this.value&&(this.activeId=this.value);const a=this.items.findIndex(e=>e.id===this.activeId);a>0&&(this.scrollIndex=a-1,this.activeId=this.items[this.scrollIndex].id);break;case s.b.Enter:if(t.preventDefault(),this.activeId){const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`#${e.prefixId}${this.activeId}`);if(t){"true"===t.getAttribute("aria-disabled")||t.hasAttribute("disabled")||this.selectItem(t)}}}},this.handleRangeChange=e=>{const{last:t}=e;this.updateSelectedState(),this.items.length<this.totalRecords&&t>=this.items.length-1&&!this.isLoading&&!this.isError&&this.dispatchEvent(new CustomEvent("load-more",{bubbles:!0,composed:!0})),this.isUserNavigated=!1}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClick)}static get styles(){return[d.a,c]}disconnectedCallback(){var e;super.disconnectedCallback(),this.removeEventListener("click",this.handleClick),null===(e=this.listContainer)||void 0===e||e.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){var t;null===(t=this.listContainer)||void 0===t||t.addEventListener("keydown",this.handleKeyDown)}updated(e){e.has("value")&&this.requestUpdate().then(()=>{this.selectedItemId=""+this.value,this.updateSelectedState()})}updateWrapperAttributes(e,t){e.classList.toggle("selected",t),e.setAttribute("selected",t.toString()),e.setAttribute("aria-selected",t.toString()),e.setAttribute("tabindex",t?"0":"-1")}updateSelectedState(){var t;Array.from((null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".default-wrapper"))||[]).forEach(t=>{var i,r;const s=t.id===`${e.prefixId}${this.selectedItemId}`;this.updateWrapperAttributes(t,s),t.id===`${e.prefixId}${this.activeId}`?(t.setAttribute("tabindex","0"),t.focus()):t.setAttribute("tabindex","-1"),""==this.activeId&&t.id===`${e.prefixId}${this.value}`&&t.setAttribute("tabindex","0");(null===(i=t.firstElementChild)||void 0===i?void 0:i.hasAttribute("disabled"))||"true"===(null===(r=t.firstElementChild)||void 0===r?void 0:r.getAttribute("aria-disabled"))?(t.setAttribute("disabled",""),t.setAttribute("aria-disabled","true")):(t.removeAttribute("disabled"),t.removeAttribute("aria-disabled"))})}findClickedItem(e){var t;const i=Array.from((null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".default-wrapper"))||[]),r=e.composedPath(),s=i.find(e=>r.includes(e));if(s){return(null==s?void 0:s.hasAttribute("disabled"))||"true"===(null==s?void 0:s.getAttribute("aria-disabled"))?0:s}}selectItem(e){e&&(this.activeId=e.id.substring(e.id.indexOf("-")+1),this.selectedItemId=this.activeId,this.updateSelectedState(),this.notifySelectedChange())}handleClick(e){e.preventDefault(),this.isUserNavigated=!1;const t=this.findClickedItem(e);t&&(this.scrollIndex=parseInt(t.getAttribute("index")||"0"),this.selectItem(t))}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selectedItemId},bubbles:!0,composed:!0}))}renderItem(t,i){return l.html`
2
- <div
3
- class="default-wrapper"
4
- aria-setsize="${this.totalRecords}"
5
- aria-posinset="${i+1}"
6
- role="${this.ariaRoleListItem}"
7
- aria-label=${t.name}
8
- id="${e.prefixId}${t.id}"
9
- index="${i}"
10
- >
11
- ${t.template(t,i)}
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[49],{89:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));d(14);var i,n=d(7),o=d(5),s=d(6),a=d(0),l=d(3),r=d(26),c=d(60),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
2
+ <div class="md-accordion-item">
3
+ <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
+ <button
5
+ type="button"
6
+ aria-expanded=${this.expanded}
7
+ class="md-accordion-expander"
8
+ aria-label=${Object(l.ifDefined)(this.label||void 0)}
9
+ aria-controls="panel-${this.uniqueId}"
10
+ aria-disabled=${this.disabled}
11
+ ?disabled=${this.disabled}
12
+ id="header-${this.uniqueId}"
13
+ part="accordion-button"
14
+ tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
15
+ @mousedown=${this.handleMouseDown}
16
+ @keydown=${this.handleKeyDown}
17
+ >
18
+ <slot name="header-content">
19
+ <span class="md-accordion-expander-label">${this.label}</span>
20
+ </slot>
21
+ <md-icon
22
+ iconSet=${"momentumDesign"}
23
+ size="14"
24
+ name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
25
+ ></md-icon>
26
+ </button>
27
+ </div>
28
+ <div
29
+ role="region"
30
+ id="panel-${this.uniqueId}"
31
+ aria-labelledby="header-${this.uniqueId}"
32
+ class="md-accordion-panel"
33
+ part="accordion-panel"
34
+ >
35
+ <slot></slot>
36
+ </div>
12
37
  </div>
13
- `}getActiveDescendant(){return this.activeId?`${e.prefixId}${this.activeId}`:this.value?`${e.prefixId}${this.value}`:""}render(){return l.html`
14
- <div
15
- class="md-advance-list-wrapper virtual-scroll"
16
- tabindex="0"
17
- aria-live="polite"
18
- aria-activedescendant=${this.getActiveDescendant()}
19
- aria-label=${this.ariaLabelList}
20
- role=${this.ariaRoleList}
21
- @rangechange=${this.handleRangeChange}
22
- >
23
- ${Object(n.scroll)({items:this.items,renderItem:(e,t)=>this.renderItem(e,t||0),useShadowDOM:!0,scrollToIndex:this.isUserNavigated?{index:this.scrollIndex,position:0===this.scrollIndex?"start":"center"}:void 0})}
24
- </div>
25
- ${this.isLoading?l.html`<slot class="spin-loader" name="spin-loader"></slot>`:null}
26
- `}};p([Object(l.property)({type:Array})],t.prototype,"items",void 0),p([Object(l.property)({type:Boolean})],t.prototype,"isLoading",void 0),p([Object(l.property)({type:String})],t.prototype,"selectedItemId",void 0),p([Object(l.property)({type:String})],t.prototype,"value",void 0),p([Object(l.property)({type:String})],t.prototype,"ariaRoleList",void 0),p([Object(l.property)({type:String})],t.prototype,"ariaRoleListItem",void 0),p([Object(l.property)({type:String})],t.prototype,"ariaLabelList",void 0),p([Object(l.property)({type:Boolean})],t.prototype,"isError",void 0),p([Object(l.queryAll)("div.default-wrapper")],t.prototype,"lists",void 0),p([Object(l.query)(".virtual-scroll")],t.prototype,"listContainer",void 0),p([Object(l.property)({type:Number})],t.prototype,"totalRecords",void 0),p([Object(l.internalProperty)()],t.prototype,"scrollIndex",void 0),p([Object(l.internalProperty)()],t.prototype,"activeId",void 0),p([Object(l.internalProperty)()],t.prototype,"isUserNavigated",void 0),t=p([Object(a.a)("md-advance-list")],t),e.ELEMENT=t}(r||(r={}))}}]);
38
+ `}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[5],{51:function(e,t,r){"use strict";r.r(t),r.d(t,"Spinner",(function(){return n}));var n,o=r(5),i=r(8),s=r(0),p=s.css`:host(:focus){box-shadow:none;outline:0}:host(md-spinner){line-height:1rem}:host(md-spinner) .md-spinner{border-radius:50%;display:block;position:relative;border:1px solid var(--spinner-bg-color,#b2b2b2)}:host(md-spinner) .md-spinner::after{border-bottom:1px solid transparent;border-left:1px solid var(--spinner-color,#000);border-right:1px solid transparent;border-top:1px solid transparent}:host(md-spinner) .md-spinner::after{animation:load8 1s infinite linear;border-radius:50%;content:"";height:calc(100% + 2px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@media(forced-colors:active){:host(md-spinner) .md-spinner:after{border-bottom:2px solid Highlight;border-left:2px solid HighlightText;border-right:2px solid Highlight;border-top:2px solid Highlight}}`,d=r(6),l=function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var p=e.length-1;p>=0;p--)(o=e[p])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s};!function(e){let t=class extends s.LitElement{constructor(){super(...arguments),this.size=56}static get styles(){return[o.a,p]}get spinnerStyleMap(){return{width:this.size+"px",height:this.size+"px"}}render(){return s.html` <i class="md-spinner" part="spinner" style=${Object(i.styleMap)(this.spinnerStyleMap)}></i> `}};l([Object(s.property)({type:Number,reflect:!0})],t.prototype,"size",void 0),t=l([Object(d.a)("md-spinner")],t),e.ELEMENT=t}(n||(n={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[5],{53:function(e,t,r){"use strict";r.r(t),r.d(t,"Spinner",(function(){return n}));var n,o=r(6),i=r(8),s=r(0),p=s.css`:host(:focus){box-shadow:none;outline:0}:host(md-spinner){line-height:1rem}:host(md-spinner) .md-spinner{border-radius:50%;display:block;position:relative;border:1px solid var(--spinner-bg-color,#b2b2b2)}:host(md-spinner) .md-spinner::after{border-bottom:1px solid transparent;border-left:1px solid var(--spinner-color,#000);border-right:1px solid transparent;border-top:1px solid transparent}:host(md-spinner) .md-spinner::after{animation:load8 1s infinite linear;border-radius:50%;content:"";height:calc(100% + 2px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@media(forced-colors:active){:host(md-spinner) .md-spinner:after{border-bottom:2px solid Highlight;border-left:2px solid HighlightText;border-right:2px solid Highlight;border-top:2px solid Highlight}}`,d=r(5),l=function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var p=e.length-1;p>=0;p--)(o=e[p])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s};!function(e){let t=class extends s.LitElement{constructor(){super(...arguments),this.size=56}static get styles(){return[o.a,p]}get spinnerStyleMap(){return{width:this.size+"px",height:this.size+"px"}}render(){return s.html` <i class="md-spinner" part="spinner" style=${Object(i.styleMap)(this.spinnerStyleMap)}></i> `}};l([Object(s.property)({type:Number,reflect:!0})],t.prototype,"size",void 0),t=l([Object(d.a)("md-spinner")],t),e.ELEMENT=t}(n||(n={}))}}]);