@momentum-ui/web-components 2.13.9 → 2.13.11

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 (461) hide show
  1. package/dist/assets/styles/fonts.css +30 -22
  2. package/dist/chunks/md-1.js +1 -1
  3. package/dist/chunks/md-10.js +17 -5
  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-12.js +1 -9
  26. package/dist/chunks/md-120.js +1 -1
  27. package/dist/chunks/md-121.js +1 -1
  28. package/dist/chunks/md-122.js +1 -1
  29. package/dist/chunks/md-123.js +1 -1
  30. package/dist/chunks/md-124.js +1 -1
  31. package/dist/chunks/md-125.js +1 -1
  32. package/dist/chunks/md-126.js +1 -1
  33. package/dist/chunks/md-127.js +1 -1
  34. package/dist/chunks/md-128.js +1 -1
  35. package/dist/chunks/md-129.js +1 -1
  36. package/dist/chunks/md-13.js +10 -12
  37. package/dist/chunks/md-130.js +1 -1
  38. package/dist/chunks/md-131.js +1 -1
  39. package/dist/chunks/md-132.js +1 -1
  40. package/dist/chunks/md-133.js +1 -1
  41. package/dist/chunks/md-134.js +1 -1
  42. package/dist/chunks/md-135.js +1 -1
  43. package/dist/chunks/md-136.js +1 -1
  44. package/dist/chunks/md-137.js +1 -1
  45. package/dist/chunks/md-138.js +1 -1
  46. package/dist/chunks/md-139.js +1 -1
  47. package/dist/chunks/md-14.js +9 -1
  48. package/dist/chunks/md-140.js +1 -1
  49. package/dist/chunks/md-141.js +1 -1
  50. package/dist/chunks/md-142.js +1 -1
  51. package/dist/chunks/md-143.js +1 -1
  52. package/dist/chunks/md-144.js +1 -1
  53. package/dist/chunks/md-145.js +1 -1
  54. package/dist/chunks/md-146.js +1 -1
  55. package/dist/chunks/md-147.js +1 -1
  56. package/dist/chunks/md-148.js +1 -1
  57. package/dist/chunks/md-149.js +1 -1
  58. package/dist/chunks/md-15.js +1 -124
  59. package/dist/chunks/md-150.js +1 -1
  60. package/dist/chunks/md-151.js +1 -1
  61. package/dist/chunks/md-152.js +1 -1
  62. package/dist/chunks/md-153.js +1 -1
  63. package/dist/chunks/md-154.js +1 -1
  64. package/dist/chunks/md-155.js +1 -1
  65. package/dist/chunks/md-156.js +1 -1
  66. package/dist/chunks/md-157.js +1 -1
  67. package/dist/chunks/md-158.js +1 -1
  68. package/dist/chunks/md-159.js +1 -1
  69. package/dist/chunks/md-16.js +3 -3
  70. package/dist/chunks/md-160.js +1 -1
  71. package/dist/chunks/md-161.js +1 -1
  72. package/dist/chunks/md-162.js +1 -1
  73. package/dist/chunks/md-163.js +1 -1
  74. package/dist/chunks/md-164.js +1 -1
  75. package/dist/chunks/md-165.js +1 -1
  76. package/dist/chunks/md-166.js +1 -1
  77. package/dist/chunks/md-167.js +1 -1
  78. package/dist/chunks/md-168.js +1 -1
  79. package/dist/chunks/md-169.js +1 -1
  80. package/dist/chunks/md-17.js +122 -17
  81. package/dist/chunks/md-170.js +1 -1
  82. package/dist/chunks/md-171.js +1 -1
  83. package/dist/chunks/md-172.js +1 -1
  84. package/dist/chunks/md-173.js +1 -1
  85. package/dist/chunks/md-174.js +1 -1
  86. package/dist/chunks/md-175.js +1 -1
  87. package/dist/chunks/md-176.js +1 -1
  88. package/dist/chunks/md-177.js +1 -1
  89. package/dist/chunks/md-178.js +1 -1
  90. package/dist/chunks/md-179.js +1 -1
  91. package/dist/chunks/md-18.js +17 -12
  92. package/dist/chunks/md-180.js +1 -1
  93. package/dist/chunks/md-181.js +1 -1
  94. package/dist/chunks/md-182.js +1 -1
  95. package/dist/chunks/md-183.js +1 -1
  96. package/dist/chunks/md-184.js +1 -1
  97. package/dist/chunks/md-185.js +1 -1
  98. package/dist/chunks/md-186.js +1 -1
  99. package/dist/chunks/md-187.js +1 -1
  100. package/dist/chunks/md-188.js +1 -1
  101. package/dist/chunks/md-189.js +1 -1
  102. package/dist/chunks/md-19.js +1 -1
  103. package/dist/chunks/md-190.js +1 -1
  104. package/dist/chunks/md-191.js +1 -1
  105. package/dist/chunks/md-192.js +1 -1
  106. package/dist/chunks/md-193.js +1 -1
  107. package/dist/chunks/md-194.js +1 -1
  108. package/dist/chunks/md-195.js +1 -1
  109. package/dist/chunks/md-196.js +1 -1
  110. package/dist/chunks/md-197.js +1 -1
  111. package/dist/chunks/md-198.js +1 -1
  112. package/dist/chunks/md-199.js +1 -1
  113. package/dist/chunks/md-20.js +8 -7
  114. package/dist/chunks/md-200.js +1 -1
  115. package/dist/chunks/md-201.js +1 -1
  116. package/dist/chunks/md-202.js +1 -1
  117. package/dist/chunks/md-203.js +1 -1
  118. package/dist/chunks/md-204.js +1 -1
  119. package/dist/chunks/md-205.js +1 -1
  120. package/dist/chunks/md-206.js +1 -1
  121. package/dist/chunks/md-207.js +1 -1
  122. package/dist/chunks/md-208.js +1 -1
  123. package/dist/chunks/md-209.js +1 -1
  124. package/dist/chunks/md-21.js +21 -11
  125. package/dist/chunks/md-210.js +1 -1
  126. package/dist/chunks/md-211.js +1 -1
  127. package/dist/chunks/md-212.js +1 -1
  128. package/dist/chunks/md-213.js +1 -1
  129. package/dist/chunks/md-214.js +1 -1
  130. package/dist/chunks/md-215.js +1 -1
  131. package/dist/chunks/md-216.js +1 -1
  132. package/dist/chunks/md-217.js +1 -1
  133. package/dist/chunks/md-218.js +1 -1
  134. package/dist/chunks/md-219.js +1 -1
  135. package/dist/chunks/md-22.js +1 -1
  136. package/dist/chunks/md-220.js +1 -1
  137. package/dist/chunks/md-221.js +1 -1
  138. package/dist/chunks/md-222.js +1 -1
  139. package/dist/chunks/md-223.js +1 -1
  140. package/dist/chunks/md-224.js +1 -1
  141. package/dist/chunks/md-225.js +1 -1
  142. package/dist/chunks/md-226.js +1 -1
  143. package/dist/chunks/md-227.js +1 -1
  144. package/dist/chunks/md-228.js +1 -1
  145. package/dist/chunks/md-229.js +1 -1
  146. package/dist/chunks/md-23.js +7 -1
  147. package/dist/chunks/md-230.js +1 -1
  148. package/dist/chunks/md-231.js +1 -1
  149. package/dist/chunks/md-232.js +1 -1
  150. package/dist/chunks/md-233.js +1 -1
  151. package/dist/chunks/md-234.js +1 -1
  152. package/dist/chunks/md-235.js +1 -1
  153. package/dist/chunks/md-236.js +1 -1
  154. package/dist/chunks/md-237.js +1 -1
  155. package/dist/chunks/md-238.js +1 -1
  156. package/dist/chunks/md-239.js +1 -1
  157. package/dist/chunks/md-24.js +8 -57
  158. package/dist/chunks/md-240.js +1 -1
  159. package/dist/chunks/md-241.js +1 -1
  160. package/dist/chunks/md-242.js +1 -1
  161. package/dist/chunks/md-243.js +1 -1
  162. package/dist/chunks/md-244.js +1 -1
  163. package/dist/chunks/md-245.js +1 -1
  164. package/dist/chunks/md-246.js +1 -1
  165. package/dist/chunks/md-247.js +1 -1
  166. package/dist/chunks/md-248.js +1 -1
  167. package/dist/chunks/md-249.js +1 -1
  168. package/dist/chunks/md-25.js +1 -1
  169. package/dist/chunks/md-250.js +1 -1
  170. package/dist/chunks/md-251.js +1 -1
  171. package/dist/chunks/md-252.js +1 -1
  172. package/dist/chunks/md-253.js +1 -1
  173. package/dist/chunks/md-254.js +1 -1
  174. package/dist/chunks/md-255.js +1 -1
  175. package/dist/chunks/md-256.js +1 -1
  176. package/dist/chunks/md-257.js +1 -1
  177. package/dist/chunks/md-258.js +1 -1
  178. package/dist/chunks/md-259.js +1 -1
  179. package/dist/chunks/md-26.js +1 -1
  180. package/dist/chunks/md-260.js +1 -1
  181. package/dist/chunks/md-261.js +1 -1
  182. package/dist/chunks/md-262.js +1 -1
  183. package/dist/chunks/md-263.js +1 -1
  184. package/dist/chunks/md-264.js +1 -1
  185. package/dist/chunks/md-265.js +1 -1
  186. package/dist/chunks/md-266.js +1 -1
  187. package/dist/chunks/md-267.js +1 -1
  188. package/dist/chunks/md-268.js +1 -1
  189. package/dist/chunks/md-269.js +1 -1
  190. package/dist/chunks/md-27.js +45 -182
  191. package/dist/chunks/md-270.js +1 -1
  192. package/dist/chunks/md-271.js +1 -1
  193. package/dist/chunks/md-272.js +1 -1
  194. package/dist/chunks/md-273.js +1 -1
  195. package/dist/chunks/md-274.js +1 -1
  196. package/dist/chunks/md-275.js +1 -1
  197. package/dist/chunks/md-276.js +1 -0
  198. package/dist/chunks/md-277.js +1 -0
  199. package/dist/chunks/md-28.js +1 -61
  200. package/dist/chunks/md-29.js +192 -1
  201. package/dist/chunks/md-3.js +1 -1
  202. package/dist/chunks/md-30.js +49 -1
  203. package/dist/chunks/md-31.js +1 -33
  204. package/dist/chunks/md-32.js +1 -22
  205. package/dist/chunks/md-33.js +33 -7
  206. package/dist/chunks/md-34.js +23 -5
  207. package/dist/chunks/md-35.js +5 -1
  208. package/dist/chunks/md-36.js +5 -21
  209. package/dist/chunks/md-37.js +1 -24
  210. package/dist/chunks/md-38.js +20 -41
  211. package/dist/chunks/md-39.js +42 -1
  212. package/dist/chunks/md-4.js +1 -1
  213. package/dist/chunks/md-40.js +1 -33
  214. package/dist/chunks/md-41.js +30 -15
  215. package/dist/chunks/md-42.js +16 -1
  216. package/dist/chunks/md-43.js +1 -27
  217. package/dist/chunks/md-44.js +27 -5
  218. package/dist/chunks/md-45.js +4 -33
  219. package/dist/chunks/md-46.js +38 -13
  220. package/dist/chunks/md-47.js +13 -20
  221. package/dist/chunks/md-48.js +18 -45
  222. package/dist/chunks/md-49.js +57 -94
  223. package/dist/chunks/md-5.js +1 -1
  224. package/dist/chunks/md-50.js +98 -13
  225. package/dist/chunks/md-51.js +11 -5
  226. package/dist/chunks/md-52.js +4 -67
  227. package/dist/chunks/md-53.js +64 -20
  228. package/dist/chunks/md-54.js +22 -14
  229. package/dist/chunks/md-55.js +14 -5
  230. package/dist/chunks/md-56.js +5 -43
  231. package/dist/chunks/md-57.js +41 -28
  232. package/dist/chunks/md-58.js +21 -4
  233. package/dist/chunks/md-59.js +5 -1
  234. package/dist/chunks/md-6.js +1 -3
  235. package/dist/chunks/md-60.js +1 -23
  236. package/dist/chunks/md-61.js +23 -5
  237. package/dist/chunks/md-62.js +4 -14
  238. package/dist/chunks/md-63.js +10 -48
  239. package/dist/chunks/md-64.js +48 -29
  240. package/dist/chunks/md-65.js +29 -71
  241. package/dist/chunks/md-66.js +70 -19
  242. package/dist/chunks/md-67.js +19 -17
  243. package/dist/chunks/md-68.js +21 -38
  244. package/dist/chunks/md-69.js +17 -86
  245. package/dist/chunks/md-7.js +6 -16
  246. package/dist/chunks/md-70.js +36 -7
  247. package/dist/chunks/md-71.js +72 -72
  248. package/dist/chunks/md-72.js +6 -71
  249. package/dist/chunks/md-73.js +71 -67
  250. package/dist/chunks/md-74.js +78 -17
  251. package/dist/chunks/md-75.js +65 -4
  252. package/dist/chunks/md-76.js +16 -28
  253. package/dist/chunks/md-77.js +5 -3
  254. package/dist/chunks/md-78.js +18 -186
  255. package/dist/chunks/md-79.js +1 -39
  256. package/dist/chunks/md-8.js +1 -1
  257. package/dist/chunks/md-80.js +159 -83
  258. package/dist/chunks/md-81.js +32 -111
  259. package/dist/chunks/md-82.js +86 -11
  260. package/dist/chunks/md-83.js +79 -41
  261. package/dist/chunks/md-84.js +10 -31
  262. package/dist/chunks/md-85.js +42 -1
  263. package/dist/chunks/md-86.js +34 -1
  264. package/dist/chunks/md-87.js +1 -1
  265. package/dist/chunks/md-88.js +1 -1
  266. package/dist/chunks/md-89.js +1 -1
  267. package/dist/chunks/md-9.js +1 -1
  268. package/dist/chunks/md-90.js +1 -1
  269. package/dist/chunks/md-91.js +1 -1
  270. package/dist/chunks/md-92.js +1 -1
  271. package/dist/chunks/md-93.js +1 -1
  272. package/dist/chunks/md-94.js +1 -1
  273. package/dist/chunks/md-95.js +1 -1
  274. package/dist/chunks/md-96.js +1 -1
  275. package/dist/chunks/md-97.js +1 -1
  276. package/dist/chunks/md-98.js +1 -1
  277. package/dist/chunks/md-99.js +1 -1
  278. package/dist/comp/md-accordion-entry.js +1 -1
  279. package/dist/comp/md-accordion-item-entry.js +1 -1
  280. package/dist/comp/md-accordion-item.js +6 -2
  281. package/dist/comp/md-accordion.js +2 -2
  282. package/dist/comp/md-activity-button-entry.js +1 -1
  283. package/dist/comp/md-activity-button.js +2 -1
  284. package/dist/comp/md-alert-banner-entry.js +1 -1
  285. package/dist/comp/md-alert-banner.js +2 -1
  286. package/dist/comp/md-alert-entry.js +1 -1
  287. package/dist/comp/md-alert.js +2 -1
  288. package/dist/comp/md-audio-player-entry.js +1 -1
  289. package/dist/comp/md-audio-player.js +12 -1
  290. package/dist/comp/md-avatar-entry.js +1 -1
  291. package/dist/comp/md-avatar.js +4 -3
  292. package/dist/comp/md-badge-entry.js +1 -1
  293. package/dist/comp/md-badge.js +1 -1
  294. package/dist/comp/md-breadcrumb-entry.js +1 -1
  295. package/dist/comp/md-breadcrumb.js +1 -1
  296. package/dist/comp/md-button-entry.js +1 -1
  297. package/dist/comp/md-button-group-entry.js +1 -1
  298. package/dist/comp/md-button-group.js +1 -1
  299. package/dist/comp/md-card-entry.js +1 -1
  300. package/dist/comp/md-card.js +9 -4
  301. package/dist/comp/md-chat-message-entry.js +1 -1
  302. package/dist/comp/md-chat-message.js +5 -4
  303. package/dist/comp/md-checkbox-entry.js +1 -1
  304. package/dist/comp/md-checkbox.js +2 -2
  305. package/dist/comp/md-checkboxgroup-entry.js +1 -1
  306. package/dist/comp/md-checkboxgroup.js +2 -2
  307. package/dist/comp/md-chip-entry.js +1 -1
  308. package/dist/comp/md-chip.js +5 -4
  309. package/dist/comp/md-coachmark-entry.js +1 -1
  310. package/dist/comp/md-coachmark.js +2 -2
  311. package/dist/comp/md-combobox-entry.js +1 -1
  312. package/dist/comp/md-combobox.js +4 -3
  313. package/dist/comp/md-composite-avatar-entry.js +1 -1
  314. package/dist/comp/md-composite-avatar.js +2 -2
  315. package/dist/comp/md-date-range-picker-entry.js +1 -1
  316. package/dist/comp/md-date-range-picker.js +9 -8
  317. package/dist/comp/md-date-time-picker-entry.js +1 -1
  318. package/dist/comp/md-date-time-picker.js +4 -3
  319. package/dist/comp/md-datepicker-calendar-entry.js +1 -1
  320. package/dist/comp/md-datepicker-calendar.js +6 -5
  321. package/dist/comp/md-datepicker-day-entry.js +1 -1
  322. package/dist/comp/md-datepicker-day.js +3 -3
  323. package/dist/comp/md-datepicker-entry.js +1 -1
  324. package/dist/comp/md-datepicker-month-entry.js +1 -1
  325. package/dist/comp/md-datepicker-month.js +4 -4
  326. package/dist/comp/md-datepicker-week-entry.js +1 -1
  327. package/dist/comp/md-datepicker-week.js +3 -3
  328. package/dist/comp/md-datepicker.js +8 -7
  329. package/dist/comp/md-draggable-entry.js +1 -1
  330. package/dist/comp/md-draggable-item-entry.js +1 -1
  331. package/dist/comp/md-draggable-item.js +2 -2
  332. package/dist/comp/md-draggable.js +3 -3
  333. package/dist/comp/md-dropdown-entry.js +1 -1
  334. package/dist/comp/md-dropdown.js +2 -1
  335. package/dist/comp/md-editable-field-entry.js +1 -1
  336. package/dist/comp/md-editable-field.js +5 -4
  337. package/dist/comp/md-favorite-entry.js +1 -1
  338. package/dist/comp/md-favorite.js +2 -1
  339. package/dist/comp/md-floating-minimize-entry.js +1 -1
  340. package/dist/comp/md-floating-minimize.js +3 -2
  341. package/dist/comp/md-floating-modal-entry.js +1 -1
  342. package/dist/comp/md-floating-modal.js +4 -3
  343. package/dist/comp/md-form-entry.js +1 -1
  344. package/dist/comp/md-form.js +1 -1
  345. package/dist/comp/md-grabber-entry.js +1 -0
  346. package/dist/comp/md-grabber.js +14 -0
  347. package/dist/comp/md-help-text-entry.js +1 -1
  348. package/dist/comp/md-help-text.js +1 -1
  349. package/dist/comp/md-icon-entry.js +1 -1
  350. package/dist/comp/md-icon.js +1 -0
  351. package/dist/comp/md-inpu.js +1 -1
  352. package/dist/comp/md-input-entry.js +1 -1
  353. package/dist/comp/md-input-file.js +1 -1
  354. package/dist/comp/md-input.js +3 -2
  355. package/dist/comp/md-label-entry.js +1 -1
  356. package/dist/comp/md-label.js +1 -1
  357. package/dist/comp/md-link-entry.js +1 -1
  358. package/dist/comp/md-link.js +1 -1
  359. package/dist/comp/md-list-entry.js +1 -1
  360. package/dist/comp/md-list-item-entry.js +1 -1
  361. package/dist/comp/md-list-item.js +2 -2
  362. package/dist/comp/md-list.js +2 -2
  363. package/dist/comp/md-loading-entry.js +1 -1
  364. package/dist/comp/md-loading.js +1 -1
  365. package/dist/comp/md-meeting-alert-entry.js +1 -1
  366. package/dist/comp/md-meeting-alert.js +5 -4
  367. package/dist/comp/md-menu-entry.js +1 -1
  368. package/dist/comp/md-menu-item-entry.js +1 -1
  369. package/dist/comp/md-menu-item.js +1 -1
  370. package/dist/comp/md-menu-overlay-entry.js +1 -1
  371. package/dist/comp/md-menu-overlay.js +1 -1
  372. package/dist/comp/md-menu.js +2 -2
  373. package/dist/comp/md-modal-entry.js +1 -1
  374. package/dist/comp/md-modal.js +2 -1
  375. package/dist/comp/md-pagination-entry.js +1 -1
  376. package/dist/comp/md-pagination.js +6 -1
  377. package/dist/comp/md-phone-input-entry.js +1 -1
  378. package/dist/comp/md-phone-input.js +7 -6
  379. package/dist/comp/md-progress-bar-entry.js +1 -1
  380. package/dist/comp/md-progress-bar.js +1 -1
  381. package/dist/comp/md-radio-entry.js +1 -1
  382. package/dist/comp/md-radio.js +2 -2
  383. package/dist/comp/md-radiogroup-entry.js +1 -1
  384. package/dist/comp/md-radiogroup.js +2 -2
  385. package/dist/comp/md-slider-entry.js +1 -1
  386. package/dist/comp/md-slider.js +1 -1
  387. package/dist/comp/md-spinner-entry.js +1 -1
  388. package/dist/comp/md-tab-entry.js +1 -1
  389. package/dist/comp/md-tab-panel-entry.js +1 -1
  390. package/dist/comp/md-tab-panel.js +2 -2
  391. package/dist/comp/md-tab.js +2 -2
  392. package/dist/comp/md-table-advanced-entry.js +1 -1
  393. package/dist/comp/md-table-advanced.js +3 -2
  394. package/dist/comp/md-table-entry.js +1 -1
  395. package/dist/comp/md-table.js +1 -1
  396. package/dist/comp/md-tabs-entry.js +1 -1
  397. package/dist/comp/md-tabs.js +6 -5
  398. package/dist/comp/md-task-item-entry.js +1 -1
  399. package/dist/comp/md-task-item.js +3 -2
  400. package/dist/comp/md-theme-entry.js +1 -1
  401. package/dist/comp/md-theme.js +2 -2
  402. package/dist/comp/md-timepicker-entry.js +1 -1
  403. package/dist/comp/md-timepicker.js +7 -6
  404. package/dist/comp/md-toggle-switch-entry.js +1 -1
  405. package/dist/comp/md-toggle-switch.js +2 -2
  406. package/dist/comp/md-tooltip-entry.js +1 -1
  407. package/dist/comp/md-tooltip.js +2 -2
  408. package/dist/index-entry.js +2 -22
  409. package/dist/index.js +51 -49
  410. package/dist/types/components/accordion/AccordionItem.d.ts +8 -0
  411. package/dist/types/components/activity-button/ActivityButton.d.ts +2 -2
  412. package/dist/types/components/alert-banner/AlertBanner.d.ts +2 -2
  413. package/dist/types/components/audio-player/AudioPlayer.d.ts +3 -0
  414. package/dist/types/components/avatar/Avatar.d.ts +12 -2
  415. package/dist/types/components/avatar/CompositeAvatar.d.ts +2 -2
  416. package/dist/types/components/avatar/Presence.d.ts +1 -1
  417. package/dist/types/components/avatar/Presence.utils.d.ts +1 -1
  418. package/dist/types/components/button/Button.d.ts +8 -8
  419. package/dist/types/components/card/Card.d.ts +3 -1
  420. package/dist/types/components/chip/Chip.d.ts +3 -3
  421. package/dist/types/components/coachmark/Coachmark.d.ts +1 -1
  422. package/dist/types/components/combobox/ComboBox.d.ts +1 -1
  423. package/dist/types/components/date-time-picker/DateTimePicker.d.ts +1 -1
  424. package/dist/types/components/datepicker/DatePicker.d.ts +1 -1
  425. package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +2 -2
  426. package/dist/types/components/datepicker/datepicker-month/DatePickerMonth.d.ts +1 -1
  427. package/dist/types/components/editable-textfield/EditableTextfield.d.ts +2 -2
  428. package/dist/types/components/favorite/Favorite.d.ts +2 -2
  429. package/dist/types/components/floating-modal/FloatingModal.d.ts +2 -2
  430. package/dist/types/components/grabber/Grabber.d.ts +2 -2
  431. package/dist/types/components/help-text/HelpText.d.ts +1 -1
  432. package/dist/types/components/icon/Icon.d.ts +22 -10
  433. package/dist/types/components/input/Input.d.ts +3 -3
  434. package/dist/types/components/link/Link.d.ts +3 -3
  435. package/dist/types/components/meeting-alert/MeetingAlert.d.ts +1 -1
  436. package/dist/types/components/menu-overlay/MenuOverlay.d.ts +4 -3
  437. package/dist/types/components/modal/Modal.d.ts +1 -1
  438. package/dist/types/components/pagination/Pagination.d.ts +2 -0
  439. package/dist/types/components/table/Table.d.ts +1 -1
  440. package/dist/types/components/timepicker/TimePicker.d.ts +3 -3
  441. package/dist/types/components/toggle-switch/ToggleSwitch.d.ts +1 -1
  442. package/dist/types/components/tooltip/Tooltip.d.ts +2 -2
  443. package/dist/types/utils/keyboard.d.ts +1 -0
  444. package/package.json +6 -6
  445. package/dist/assets/fonts/MomentumFontIcon.svg +0 -8634
  446. package/dist/assets/fonts/MomentumFontIcon.ttf +0 -0
  447. package/dist/assets/fonts/MomentumFontIcon.woff +0 -0
  448. package/dist/assets/fonts/MomentumFontIcon.woff2 +0 -0
  449. package/dist/assets/fonts/glyphs.json +0 -20120
  450. package/dist/assets/icons/fonts/MomentumFontIcon.svg +0 -8634
  451. package/dist/assets/icons/fonts/MomentumFontIcon.ttf +0 -0
  452. package/dist/assets/icons/fonts/MomentumFontIcon.woff +0 -0
  453. package/dist/assets/icons/fonts/MomentumFontIcon.woff2 +0 -0
  454. package/dist/assets/icons/fonts/glyphs.json +0 -20120
  455. package/dist/assets/styles/MomentumFontIcons.css +0 -11751
  456. package/dist/assets/styles/MomentumFontIcons.min.css +0 -1
  457. package/dist/assets/styles/functions.scss +0 -3
  458. package/dist/assets/styles/icons.scss +0 -2880
  459. package/dist/assets/styles/mixins.scss +0 -2915
  460. package/dist/assets/styles/placeholders.scss +0 -2901
  461. package/dist/assets/styles/variables.scss +0 -2885
@@ -1,7 +1,33 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[33],{69:function(t,e,s){"use strict";s.r(e),s.d(e,"List",(function(){return i}));var i,l=s(1),n=s(7),r=s(6),d=s(5),c=s(0),o=s(2),a=s(59),h=function(t,e,s,i){var l,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(r=(n<3?l(r):n>3?l(e,s,r):l(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r};!function(t){let e=class extends(Object(n.d)(c.LitElement)){constructor(){super(...arguments),this.alignment="vertical",this.label="option",this.activated=-1,this._role="listbox"}firstUpdated(t){super.firstUpdated(t),this.setAttribute("aria-label",this.label)}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}isFocusable(t){return!t.hasAttribute("hidden")}connectedCallback(){super.connectedCallback(),this._role=this.getAttribute("role")||"listbox",this.removeAttribute("role"),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}findListItemIndex(t){const e=t.composedPath();return this.slotted.findIndex(t=>e.includes(t))}switchListItemOnArrowPress(t,e=1){const s=super.getAvailableSelectedIndex(t,e);-1!==s&&(this.selected=s)}setActivated(t){-1!==t&&(this.activated=t,this.selected=t,this.setSelected(t))}findSelectedListItemIndex(){return this.slotted.findIndex(t=>t.selected)}setSelected(t){const e=this.findSelectedListItemIndex();-1!==e&&e!==t&&(this.slotted[e].selected=!1),this.slotted[t]&&(this.slotted[t].selected=!0)}updated(t){super.updated(t),t.has("slotted")&&this.setActivated(this.activated),t.has("activated")&&this.setActivated(this.activated),t.has("label")&&this.setAttribute("aria-label",this.label)}isListItemDisabled(t){return this.slotted[t].disabled}handleClick(t){const e=this.findListItemIndex(t);-1!==e&&(this.isListItemDisabled(e)||(this.setActivated(e),this.notifySelectedChange()))}handleKeyDown(t){const{code:e}=t;switch(e){case l.b.End:this.switchListItemOnArrowPress(this.slotted.length-1);break;case l.b.Home:this.switchListItemOnArrowPress(0);break;case l.b.ArrowUp:case l.b.ArrowLeft:t.preventDefault(),0===this.selected?this.switchListItemOnArrowPress(this.slotted.length-1,-1):this.switchListItemOnArrowPress(this.selected-1,-1);break;case l.b.ArrowDown:case l.b.ArrowRight:t.preventDefault(),this.selected===this.slotted.length-1?this.switchListItemOnArrowPress(0):this.switchListItemOnArrowPress(this.selected+1);break;case l.b.Enter:case l.b.Space:this.isListItemDisabled(this.selected)||(this.setActivated(this.selected),this.notifySelectedChange())}}get slotElement(){return this.listItemSlot}static get styles(){return[d.a,a.a]}render(){return c.html`
2
- <ul
3
- role=${Object(o.ifDefined)("list"!==this._role?this._role:void 0)}
4
- class="md-list" part="list">
5
- <slot name="list-item"></slot>
6
- </ul>
7
- `}};h([Object(c.property)({type:String,reflect:!0})],e.prototype,"alignment",void 0),h([Object(c.property)({type:String})],e.prototype,"label",void 0),h([Object(c.property)({type:Number,reflect:!0})],e.prototype,"activated",void 0),h([Object(c.query)("slot[name='list-item']")],e.prototype,"listItemSlot",void 0),e=h([Object(r.a)("md-list")],e),t.ELEMENT=e}(i||(i={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[33],{53:function(e,o,t){"use strict";t.r(o),t.d(o,"Badge",(function(){return r}));var r,a=t(6),d=t(5),i=t(0),l=t(3),c=t(4),n=t(2),g=i.css`.md-badge{align-items:center;display:inline-flex;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-weight:400;height:2rem;justify-content:flex-start;line-height:1rem;margin-bottom:auto;overflow:hidden;position:relative;text-align:center;text-decoration:none;white-space:nowrap;padding:.25rem 1rem;font-size:var(--body-secondary-font-size,.75rem);background-color:var(--badge-default-bg-color,#f7f7f7);color:var(--badge-default-text-color,#545454)}.md-badge{border-radius:6.25rem}.md-badge:focus{outline:2px solid var(--button-focus-ring-color);outline-offset:2px}.md-badge--small{padding:.1875rem .75rem;font-size:var(--body-secondary-font-size,.75rem);height:1.5rem;min-width:auto}.md-badge--compact,.md-badge--split{padding:.25rem 1rem .25rem .25rem;font-size:var(--body-secondary,.75rem)}.md-badge--circle{padding:.75rem .75rem;font-size:.75rem;height:2.5rem;justify-content:center;min-width:auto;width:2.5rem}.md-badge--circle ::slotted(md-icon){margin:0!important}.md-badge--outline{color:var(--badge-outline-color,#b2b2b2);border:2px solid var(--badge-outline-color,#b2b2b2);background-color:rgba(0,0,0,0);border:1px solid;min-width:auto}.md-badge--gray{background-color:var(--badge-gray-bg-color,#dedede);color:var(--badge-gray-text-color,#121212)}.md-badge--gold{background-color:var(--badge-gold-bg-color,#f5eaa2);color:var(--badge-gold-text-color,#735107)}.md-badge--lime{background-color:var(--badge-lime-bg-color,#ddf2ae);color:var(--badge-lime-text-color,#416116)}.md-badge--blue,.md-badge--cobalt{background-color:var(--badge-blue-bg-color,#c7eeff);color:var(--badge-blue-text-color,#08599c)}.md-badge--mint{background-color:var(--badge-mint-bg-color,#baf5e7);color:var(--badge-mint-text-color,#12615a)}.md-badge--darkmint{background-color:var(--badge-darkmint-bg-color,#16a693);color:var(--badge-darkmint-text-color,#f7f7f7)}.md-badge--green{background-color:var(--badge-green-bg-color,#78f5b8);color:var(--badge-green-text-color,#03612c)}.md-badge--yellow{background-color:var(--badge-yellow-bg-color,#ffd98c);color:var(--badge-yellow-text-color,#7d4705)}.md-badge--red{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color,#a12512)}.md-badge--darkred{background-color:var(--badge-darkred-bg-color,#16a693);color:var(--badge-darkred-text-color,#4a1812)}.md-badge--unreadcount{background-color:var(--badge-unreadcount-bg-color,var(--badge-darkred-bg-color));color:var(--badge-unreadcount-text-color,var(--button-primary-text-color));font-family:var(--brand-font-medium);font-size:var(--label-compact-font-size,.75rem);font-weight:550;padding:0 .25rem;min-width:1.25rem;height:1.25rem;justify-content:center}.md-badge--orange{background-color:var(--badge-orange-bg-color,#fce4c7);color:var(--badge-orange-text-color,#914017)}.md-badge--purple{background-color:var(--badge-purple-bg-color,#fce1fc);color:var(--badge-purple-text-color,#932099)}.md-badge--violet{background-color:var(--badge-violet-bg-color,#f0e3fc);color:var(--badge-violet-text-color,#643abd)}.md-badge--cyan{background-color:var(--badge-cyan-bg-color,#b2f4f7);color:var(--badge-cyan-text-color,#066070)}.md-badge--pink{background-color:var(--badge-pink-bg-color,#ffe0e7);color:var(--badge-pink-text-color,#a12a3a)}.md-badge--hold{background-color:var(--badge-hold-bg-color,#ffecc2);color:var(--badge-hold-text-color,#121212)}.md-badge--disabled{background-color:var(--md-quaternary-two-bg-color,#dedede);color:var(--md-disabled-text-color,#b2b2b2)}.md-badge--disabled ::slotted(md-icon){color:var(--md-disabled-text-color,#b2b2b2)}.md-badge--small.md-badge--circle{height:1.5rem;width:1.5rem}.badge-counter{font-weight:700;margin-left:.5rem}::slotted(md-icon){height:1rem;margin-right:.5rem;width:1rem}::slotted(md-badge){height:1rem;margin-right:.5rem;width:1rem}::slotted(span){align-items:center;display:inline-flex;height:1rem;justify-content:center}.split-separator{margin:0 .5rem;opacity:.4}@media(forced-colors:active){.md-badge{forced-color-adjust:none;background-color:Canvas!important;color:CanvasText!important;outline:1px solid CanvasText!important}}`,b=function(e,o,t,r){var a,d=arguments.length,i=d<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(d<3?a(i):d>3?a(o,t,i):a(o,t))||i);return d>3&&i&&Object.defineProperty(o,t,i),i};!function(e){let o=class extends i.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.color="",this.bgColor="",this.textColor="",this.height="",this.width="",this.outlined=!1,this.compact=!1,this.circle=!1,this.small=!1,this.split=!1,this.disabled=!1,this.tabIndexing="",this.ariaHiddenSplits="",this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:l.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:l.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:l.nothing,this.renderWidth=()=>this.width?`width: ${this.width};`:l.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height||this.width?i.html`
2
+ <style>
3
+ :host .md-badge {
4
+ ${this.renderBgColor()};
5
+ ${this.renderTextColor()};
6
+ ${this.renderHeight()};
7
+ ${this.renderWidth()};
8
+ }
9
+ </style>
10
+ `:l.nothing}static get styles(){return[d.a,g]}render(){const e={"md-badge--circle":this.circle,"md-badge--split":this.split,"md-badge--compact":this.compact,"md-badge--small":this.small,"md-badge--outline":this.outlined,"md-badge--disabled":this.disabled,["md-badge--"+this.color]:!this.disabled&&this.color};return i.html`
11
+ ${this.getStyles()}
12
+ <span
13
+ tabindex=${this.tabIndexing}
14
+ part="badge"
15
+ class="md-badge ${Object(c.classMap)(e)}"
16
+ aria-label=${this.ariaLabel}
17
+ >
18
+ ${this.split?(()=>i.html`
19
+ <slot
20
+ aria-hidden=${Object(n.ifDefined)(this.ariaHiddenSplits||void 0)}
21
+ name="split-left"
22
+ class="split split-left"
23
+ ></slot>
24
+ <span aria-hidden="true" class="split-separator"> | </span>
25
+ <slot
26
+ aria-hidden=${Object(n.ifDefined)(this.ariaHiddenSplits||void 0)}
27
+ name="split-right"
28
+ class="split split-right"
29
+ ></slot>
30
+ `)():l.nothing}
31
+ <slot></slot>
32
+ </span>
33
+ `}};b([Object(i.property)({type:String})],o.prototype,"ariaLabel",void 0),b([Object(i.property)({type:String})],o.prototype,"color",void 0),b([Object(i.property)({type:String})],o.prototype,"bgColor",void 0),b([Object(i.property)({type:String})],o.prototype,"textColor",void 0),b([Object(i.property)({type:String})],o.prototype,"height",void 0),b([Object(i.property)({type:String})],o.prototype,"width",void 0),b([Object(i.property)({type:Boolean})],o.prototype,"outlined",void 0),b([Object(i.property)({type:Boolean})],o.prototype,"compact",void 0),b([Object(i.property)({type:Boolean})],o.prototype,"circle",void 0),b([Object(i.property)({type:Boolean})],o.prototype,"small",void 0),b([Object(i.property)({type:Boolean})],o.prototype,"split",void 0),b([Object(i.property)({type:Boolean})],o.prototype,"disabled",void 0),b([Object(i.property)({type:String})],o.prototype,"tabIndexing",void 0),b([Object(i.property)({type:String})],o.prototype,"ariaHiddenSplits",void 0),o=b([Object(a.a)("md-badge")],o),e.ELEMENT=o}(r||(r={}))}}]);
@@ -1,5 +1,23 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[34],{70:function(e,t,s){"use strict";s.r(t),s.d(t,"ListItem",(function(){return r}));var r,i=s(7),l=s(6),o=s(5),d=s(0),p=s(4),c=s(59),n=function(e,t,s,r){var i,l=arguments.length,o=l<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,s,r);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(o=(l<3?i(o):l>3?i(t,s,o):i(t,s))||o);return l>3&&o&&Object.defineProperty(t,s,o),o};!function(e){let t=class extends(Object(i.a)(d.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",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.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{["md-list-item--"+this.shape]:!!this.shape}}static get styles(){return[o.a,c.a]}render(){return d.html`
2
- <li class="md-list-item ${Object(p.classMap)(this.listItemTemplateClassMap)}" part="list-item">
3
- <slot></slot>
4
- </li>
5
- `}};n([Object(d.property)({type:String,reflect:!0})],t.prototype,"role",void 0),n([Object(d.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),n([Object(d.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),n([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),n([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=n([Object(l.a)("md-list-item")],t),e.ELEMENT=t}(r||(r={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[34],{79:function(e,t,o){"use strict";o.r(t),o.d(t,"Favorite",(function(){return i}));o(13);var i,r=o(1),a=o(7),c=o(6),d=o(5),n=o(0),l=o(4),s=o(2),v=n.css`:host{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center}.md-favorite{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center;border-radius:var(--button-favorite-border-radius,.25rem);height:1.5rem;position:relative;width:1.5rem}.md-favorite input{visibility:hidden}.md-favorite md-icon{position:absolute}.md-favorite md-icon,.md-favorite md-icon::part(icon){color:var(--button-secondary-text-color,#121212);line-height:.8125rem}.md-favorite:hover{background-color:var(--button-favorite-hover-bg-color,#ededed)}.md-favorite:focus{outline:0}.md-favorite:active{background-color:var(--button-favorite-pressed-bg-color,#dedede)}.md-favorite::after{border-radius:var(--button-favorite-border-radius,.25rem);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.md-favorite:focus::after{box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#007aa3)}.md-favorite--disabled{background-color:rgba(0,0,0,0)}.md-favorite--disabled:active,.md-favorite--disabled:hover{background-color:rgba(0,0,0,0)}.md-favorite--disabled md-icon::part(icon){color:var(--button-disabled-text-color,#b2b2b2)}.md-favorite--active md-icon::part(icon){color:var(--button-favorite-icon-color,#d97f00)}.md-favorite--active:hover md-icon::part(icon){color:var(--button-favorite-hover-icon-color,#d97f00)}.md-favorite--active:active md-icon::part(icon){color:var(--button-favorite-pressed-icon-color,#d97f00)}@media(forced-colors:active){:host{border:none}.md-favorite{background-color:ButtonFace}.md-favorite md-icon,.md-favorite md-icon::part(icon){color:ButtonText}.md-favorite:focus{outline:2px solid Highlight}.md-favorite--disabled{background-color:ButtonFace;color:GrayText}.md-favorite--disabled md-icon::part(icon){color:GrayText}.md-favorite--active md-icon::part(icon){color:ButtonText}}`,b=function(e,t,o,i){var r,a=arguments.length,c=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(c=(a<3?r(c):a>3?r(t,o,c):r(t,o))||c);return a>3&&c&&Object.defineProperty(t,o,c),c};!function(e){let t=class extends(Object(a.a)(n.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.value="Select favorite",this.id="",this.label="Favorite",this.customId=""}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleElectKeyDown),this.addEventListener("click",this.handleFavorite)}static get styles(){return[d.a,v]}handleFavorite(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-toggle",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}handleElectKeyDown(e){e.code!==r.b.Enter&&e.code!==r.b.Space||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-keydown",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleElectKeyDown),this.removeEventListener("click",this.handleFavorite)}get favoriteClassMap(){return{"md-favorite--active":this.checked,"md-favorite--disabled":this.disabled}}render(){return n.html`
2
+ <label
3
+ for="favorite-checkbox"
4
+ id="${this.id}"
5
+ class="md-favorite ${Object(l.classMap)(this.favoriteClassMap)}"
6
+ tabindex="0"
7
+ >
8
+ <input
9
+ type="checkbox"
10
+ aria-label=${Object(s.ifDefined)(this.label.length?this.label:void 0)}
11
+ value=${this.value}
12
+ ?checked=${this.checked}
13
+ ?disabled=${this.disabled}
14
+ aria-hidden="true"
15
+ name="favorite-checkbox"
16
+ />
17
+ <md-icon
18
+ name="${this.checked?"favorite-filled":"favorite-bold"}"
19
+ iconSet="momentumDesign"
20
+ size="16"
21
+ ></md-icon>
22
+ </label>
23
+ `}};b([Object(n.property)({type:Boolean})],t.prototype,"disabled",void 0),b([Object(n.property)({type:Boolean})],t.prototype,"checked",void 0),b([Object(n.property)({type:String})],t.prototype,"value",void 0),b([Object(n.property)({type:String})],t.prototype,"id",void 0),b([Object(n.property)({type:String})],t.prototype,"label",void 0),b([Object(n.internalProperty)()],t.prototype,"customId",void 0),t=b([Object(c.a)("md-favorite")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1 +1,5 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[35],{60:function(e,o,r){"use strict";var c=r(0);o.a=c.css`:host(:focus){box-shadow:none;outline:0}:host(md-checkbox){border-radius:.25rem;cursor:pointer;display:inline-flex;position:relative;vertical-align:middle}:host(md-checkbox) .checkbox-input{height:calc(1.25rem + .25rem);position:absolute;visibility:hidden;width:100%}:host(md-checkbox) .checkbox-label{cursor:pointer;display:inline-block;padding-left:2.25rem;padding-right:calc(.25rem/2);position:relative;width:100%;z-index:1}:host(md-checkbox) .checkbox-label::before{background:var(--checkbox-bg-color,#fff);border:.0625rem solid var(--checkbox-border-color,#545454);border-radius:.25rem;height:1.25rem;width:1.25rem}:host(md-checkbox) .checkbox-label::after,:host(md-checkbox) .checkbox-label::before{content:"";left:calc(.75rem*1.25);position:absolute;top:50%;transform:translate(-50%,-50%)}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(:hover:not([disabled])) .checkbox-label::before{background:var(--checkbox-hover-bg-color,#ededed);border:.0625rem solid var(--checkbox-hover-border-color,#545454)}:host(:active:not([disabled])) .checkbox-label::before{background:var(--checkbox-pressed-bg-color,#dedede);border:.0625rem solid var(--checkbox-pressed-border-color,#ccc)}:host([disabled]){opacity:.4}:host([disabled]) .checkbox-label{cursor:not-allowed}:host([disabled]) .checkbox-label::before{background:var(--checkbox-hover-bg-color,#ededed);border:.0625rem solid var(--checkbox-hover-border-color,#545454)}:host([aria-checked=true]) .checkbox-label::after{border:solid var(--checkbox-icon-color,#fff);border-width:0 .12em .12em 0;display:block;height:.6em;transform:translateY(-65%) translateX(-50%) rotate(45deg);width:.35em}:host([aria-checked=true]) .checkbox-label::before{background:var(--checkbox-selected-bg-color,#00a0d1);border:.0625rem solid var(--checkbox-selected-border-color,#00a0d1)}:host([indeterminate]) .checkbox-label::after{border:solid var(--checkbox-icon-color,#fff);border-width:0 0 .12em;display:block;height:.2em;transform:translateY(-85%) translateX(-50%) rotate(0);width:.75em}:host([indeterminate]) .checkbox-label::before{background:var(--checkbox-selected-bg-color,#00a0d1);border:.0625rem solid var(--checkbox-selected-border-color,#00a0d1)}:host([aria-checked=true]:hover:not([disabled])) .checkbox-label::before,:host([indeterminate]:hover:not([disabled])) .checkbox-label::before{background:var(--checkbox-selected-hover-bg-color,#007aa3);border-color:var(--checkbox-selected-hover-border-color,#007aa3)}:host([aria-checked=true]:active:not([disabled])) .checkbox-label::before,:host([indeterminate]:active:not([disabled])) .checkbox-label::before{background:var(--checkbox-selected-pressed-bg-color,#005e7d);border-color:var(--checkbox-selected-pressed-border-color,#005e7d)}@media(forced-colors:active){:host([focus-visible]:not([disabled])){outline:2px solid Highlight;box-shadow:none}}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-checkbox:not(:last-child)){margin-bottom:calc(.25rem*6)}:host([alignment=horizontal]) div{display:flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-checkbox:not(:last-child)){margin-right:calc(.25rem*10)}`}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[35],{71:function(t,e,s){"use strict";s.r(e),s.d(e,"List",(function(){return i}));var i,l=s(1),n=s(7),r=s(6),d=s(5),c=s(0),o=s(2),a=s(62),h=function(t,e,s,i){var l,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(r=(n<3?l(r):n>3?l(e,s,r):l(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r};!function(t){let e=class extends(Object(n.d)(c.LitElement)){constructor(){super(...arguments),this.alignment="vertical",this.label="option",this.activated=-1,this._role="listbox"}firstUpdated(t){super.firstUpdated(t),this.setAttribute("aria-label",this.label)}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}isFocusable(t){return!t.hasAttribute("hidden")}connectedCallback(){super.connectedCallback(),this._role=this.getAttribute("role")||"listbox",this.removeAttribute("role"),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}findListItemIndex(t){const e=t.composedPath();return this.slotted.findIndex(t=>e.includes(t))}switchListItemOnArrowPress(t,e=1){const s=super.getAvailableSelectedIndex(t,e);-1!==s&&(this.selected=s)}setActivated(t){-1!==t&&(this.activated=t,this.selected=t,this.setSelected(t))}findSelectedListItemIndex(){return this.slotted.findIndex(t=>t.selected)}setSelected(t){const e=this.findSelectedListItemIndex();-1!==e&&e!==t&&(this.slotted[e].selected=!1),this.slotted[t]&&(this.slotted[t].selected=!0)}updated(t){super.updated(t),t.has("slotted")&&this.setActivated(this.activated),t.has("activated")&&this.setActivated(this.activated),t.has("label")&&this.setAttribute("aria-label",this.label)}isListItemDisabled(t){return this.slotted[t].disabled}handleClick(t){const e=this.findListItemIndex(t);-1!==e&&(this.isListItemDisabled(e)||(this.setActivated(e),this.notifySelectedChange()))}handleKeyDown(t){const{code:e}=t;switch(e){case l.b.End:this.switchListItemOnArrowPress(this.slotted.length-1);break;case l.b.Home:this.switchListItemOnArrowPress(0);break;case l.b.ArrowUp:case l.b.ArrowLeft:t.preventDefault(),0===this.selected?this.switchListItemOnArrowPress(this.slotted.length-1,-1):this.switchListItemOnArrowPress(this.selected-1,-1);break;case l.b.ArrowDown:case l.b.ArrowRight:t.preventDefault(),this.selected===this.slotted.length-1?this.switchListItemOnArrowPress(0):this.switchListItemOnArrowPress(this.selected+1);break;case l.b.Enter:case l.b.Space:this.isListItemDisabled(this.selected)||(this.setActivated(this.selected),this.notifySelectedChange())}}get slotElement(){return this.listItemSlot}static get styles(){return[d.a,a.a]}render(){return c.html`
2
+ <ul role=${Object(o.ifDefined)("list"!==this._role?this._role:void 0)} class="md-list" part="list">
3
+ <slot name="list-item"></slot>
4
+ </ul>
5
+ `}};h([Object(c.property)({type:String,reflect:!0})],e.prototype,"alignment",void 0),h([Object(c.property)({type:String})],e.prototype,"label",void 0),h([Object(c.property)({type:Number,reflect:!0})],e.prototype,"activated",void 0),h([Object(c.query)("slot[name='list-item']")],e.prototype,"listItemSlot",void 0),e=h([Object(r.a)("md-list")],e),t.ELEMENT=e}(i||(i={}))}}]);
@@ -1,21 +1,5 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[36],{79:function(e,r,t){"use strict";t.r(r),t.d(r,"ProgressBar",(function(){return a}));var a,o=t(6),s=t(5),i=t(0),n=t(4),l=i.css`.progress-bar{background-color:var(--border-color);border-radius:var(--border-radius-small) var(--border-radius-small) 0;box-sizing:border-box;height:4px;margin-bottom:-4px;overflow:hidden;position:relative;width:100%}.progress-bar-value{animation:indeterminateAnimation 1s infinite linear;background-color:var(--link-color);border-radius:var(--border-radius-small) var(--border-radius-small) 0;height:100%;transform-origin:0 50%;width:100%}@keyframes indeterminateAnimation{0%{transform:translateX(0) scaleX(0)}40%{transform:translateX(0) scaleX(.4)}100%{transform:translateX(100%) scaleX(.5)}}.progressbar-label{text-align:left}.progressbar-progress{float:right}.progressbar-label,.progressbar-progress{color:var(--progress-bar-label-text-color,#000);font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:.6875rem}.progress{background-color:var(--progress-bar-track-bg-color,#dedede);height:.25rem;margin-bottom:.625rem;overflow:hidden;padding:0;border-radius:var(--progress-bar-border-radius,4px)}.progress .meter{background:#00a0d1;display:block;height:100%}.progress--indeterminate .meter{animation:indeterminateAnimation 1s infinite linear;transform-origin:0 50%;width:100%}@keyframes indeterminateAnimation{0%{transform:translateX(0) scaleX(0)}40%{transform:translateX(0) scaleX(.4)}100%{transform:translateX(100%) scaleX(.5)}}.progress.secondary .meter{background:#545454;display:block;height:100%}.progress.success .meter{background:#00ab50;display:block;height:100%}.progress.danger .meter{background:#f7644a;display:block;height:100%}.progress.warning .meter{background:#d97f00;display:block;height:100%}.progress.info .meter{background:#16a693;display:block;height:100%}@media(forced-colors:active){.progress{background-color:HighlightText;outline:1px solid Highlight;outline-offset:-1px}.progress .meter{background-color:Highlight}}`,p=function(e,r,t,a){var o,s=arguments.length,i=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,r,t,a);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(i=(s<3?o(i):s>3?o(r,t,i):o(r,t))||i);return s>3&&i&&Object.defineProperty(r,t,i),i};!function(e){let r=class extends i.LitElement{constructor(){super(...arguments),this.dynamic=!1,this.color="",this.label="",this.displayFormat="percentage",this.type="indeterminate",this.min=0,this.max=100,this.value=25,this.adjustedValue=0,this.valueFraction=0,this.meterWidth="100",this.getDisplayFormat=()=>"indeterminate"===this.type?(this.value=100,null):(this.adjustedValue=this.max-this.value<0?this.max:this.value,this.valueFraction=this.adjustedValue/this.max*100||0,this.meterWidth=this.valueFraction.toFixed(0)+"%","none"===this.displayFormat?null:"percentage"===this.displayFormat?this.meterWidth:`${this.adjustedValue} / ${this.max}`),this.getColor=()=>this.color?this.color:this.dynamic?this.valueFraction<25?"success":this.valueFraction<50?"info":this.valueFraction<75?"warning":"danger":void 0}connectedCallback(){super.connectedCallback(),this.requestUpdate("value")}static get styles(){return[s.a,l]}render(){const e={["progress--"+this.type]:this.type,["progress--"+this.color]:this.color};return i.html`
2
- <span>
3
- <div class="progressbar-info" data-key="${this.min}">
4
- <span class="progressbar-label">${this.label}</span>
5
- <span class="progressbar-progress">${this.getDisplayFormat()}</span>
6
- </div>
7
- <div class="progress ${Object(n.classMap)(e)}" data-key="${this.max}">
8
- <span
9
- class="meter"
10
- role="progressbar"
11
- aria-labelledby="progressbar"
12
- aria-valuenow=${this.adjustedValue}
13
- aria-valuemin=${this.min}
14
- aria-valuemax=${this.max}
15
- aria-valuetext=${this.meterWidth}
16
- style="${"width: "+this.meterWidth+"; background: "+this.getColor()}"
17
- >
18
- </span>
19
- </div>
20
- </span>
21
- `}};p([Object(i.property)({type:Boolean})],r.prototype,"dynamic",void 0),p([Object(i.property)({type:String})],r.prototype,"color",void 0),p([Object(i.property)({type:String})],r.prototype,"label",void 0),p([Object(i.property)({type:String})],r.prototype,"displayFormat",void 0),p([Object(i.property)({type:String})],r.prototype,"type",void 0),p([Object(i.property)({type:Number})],r.prototype,"min",void 0),p([Object(i.property)({type:Number})],r.prototype,"max",void 0),p([Object(i.property)({type:Number})],r.prototype,"value",void 0),p([Object(i.property)({type:Number})],r.prototype,"adjustedValue",void 0),p([Object(i.property)({type:Number})],r.prototype,"valueFraction",void 0),p([Object(i.property)({type:String})],r.prototype,"meterWidth",void 0),r=p([Object(o.a)("md-progress-bar")],r),e.ELEMENT=r}(a||(a={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[36],{72:function(e,t,s){"use strict";s.r(t),s.d(t,"ListItem",(function(){return r}));var r,i=s(7),l=s(6),o=s(5),d=s(0),p=s(4),c=s(62),n=function(e,t,s,r){var i,l=arguments.length,o=l<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,s,r);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(o=(l<3?i(o):l>3?i(t,s,o):i(t,s))||o);return l>3&&o&&Object.defineProperty(t,s,o),o};!function(e){let t=class extends(Object(i.a)(d.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",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.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{["md-list-item--"+this.shape]:!!this.shape}}static get styles(){return[o.a,c.a]}render(){return d.html`
2
+ <li class="md-list-item ${Object(p.classMap)(this.listItemTemplateClassMap)}" part="list-item">
3
+ <slot></slot>
4
+ </li>
5
+ `}};n([Object(d.property)({type:String,reflect:!0})],t.prototype,"role",void 0),n([Object(d.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),n([Object(d.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),n([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),n([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=n([Object(l.a)("md-list-item")],t),e.ELEMENT=t}(r||(r={}))}}]);
@@ -1,24 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[37],{71:function(t,e,o){"use strict";o.r(e),o.d(e,"tooltipPlacement",(function(){return d})),o.d(e,"tooltipStrategy",(function(){return h})),o.d(e,"Tooltip",(function(){return u}));var n=o(1),s=o(7),i=o(6),p=o(5),l=o(0),r=o(4),a=o(61),c=function(t,e,o,n){var s,i=arguments.length,p=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(p=(i<3?s(p):i>3?s(e,o,p):s(e,o))||p);return i>3&&p&&Object.defineProperty(e,o,p),p};const d=["auto","auto-start","auto-end","left-start","left","left-end","right-start","right","right-end","top-start","top","top-end","bottom-start","bottom","bottom-end"],h=["fixed","absolute"];var u;!function(t){let e=class extends(Object(s.a)(l.LitElement)){constructor(){super(...arguments),this.message="",this.placement="auto",this.disabled=!1,this.opened=!1,this.slotContent=null,this._keyDownListener=t=>{this.handleKeyDown(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this._keyDownListener)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this._keyDownListener)}handleFocusIn(t){super.handleFocusIn&&super.handleFocusIn(t),this.notifyTooltipCreate()}handleFocusOut(t){super.handleFocusOut&&super.handleFocusOut(t),this.notifyTooltipDestroy()}openTooltip(){this.dispatchEvent(new CustomEvent("tooltip-create",{bubbles:!0,composed:!0,detail:Object.assign({placement:this.placement,reference:this.reference,popper:this.popper},!this.message&&{slotContent:this.slotContent})}))}closeTooltip(){this.dispatchEvent(new CustomEvent("tooltip-destroy",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeMessage(){this.dispatchEvent(new CustomEvent("tooltip-message",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeSlotContent(t){this.dispatchEvent(new CustomEvent("tooltip-slot",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper,slotContent:t}}))}notifyTooltipCreate(){this.disabled||(this.opened=!0)}notifyTooltipDestroy(){this.disabled||(this.opened=!1)}handleKeyDown(t){t.code===n.b.Escape&&this.notifyTooltipDestroy()}handleSlotContentChange(t){const e=t.target;if(e){const t=e.assignedElements({flatten:!0});t.length&&(this.slotContent&&this.changeSlotContent(t),this.slotContent=t)}}updated(t){super.updated(t),t.has("opened")&&(this.opened?this.openTooltip():this.closeTooltip()),t.has("message")&&this.changeMessage()}get tooltipClassMap(){return{"md-tooltip--disabled":this.disabled}}render(){return l.html`
2
- <div class="md-tooltip ${Object(r.classMap)(this.tooltipClassMap)}">
3
- <div class="md-tooltip__popper" role="tooltip" part="tooltip-popper">
4
- <div id="md-tooltip__content" class="md-tooltip__content" part="tooltip-content">
5
- ${this.message?this.message:l.html`
6
- <slot name="tooltip-content" @slotchange=${this.handleSlotContentChange}></slot>
7
- `}
8
- </div>
9
- <div id="arrow" class="md-tooltip__arrow" data-popper-arrow></div>
10
- </div>
11
- <div
12
- class="md-tooltip__reference"
13
- part="tooltip_reference"
14
- @mouseenter=${()=>this.notifyTooltipCreate()}
15
- @mouseleave=${()=>this.notifyTooltipDestroy()}
16
- @focusin=${t=>this.handleFocusIn(t)}
17
- @focusout=${t=>this.handleFocusOut(t)}
18
- @keydown=${t=>this.handleKeyDown(t)}
19
- aria-describedby="md-tooltip__content"
20
- >
21
- <slot></slot>
22
- </div>
23
- </div>
24
- `}static get styles(){return[p.a,a.a]}};c([Object(l.property)({type:String})],e.prototype,"message",void 0),c([Object(l.property)({type:String,reflect:!0})],e.prototype,"placement",void 0),c([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),c([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"opened",void 0),c([Object(l.query)(".md-tooltip__popper")],e.prototype,"popper",void 0),c([Object(l.query)(".md-tooltip__reference")],e.prototype,"reference",void 0),e=c([Object(i.a)("md-tooltip")],e),t.ELEMENT=e}(u||(u={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[37],{63:function(e,o,r){"use strict";var c=r(0);o.a=c.css`:host(:focus){box-shadow:none;outline:0}:host(md-checkbox){border-radius:.25rem;cursor:pointer;display:inline-flex;position:relative;vertical-align:middle}:host(md-checkbox) .checkbox-input{height:calc(1.25rem + .25rem);position:absolute;visibility:hidden;width:100%}:host(md-checkbox) .checkbox-label{cursor:pointer;display:inline-block;padding-left:2.25rem;padding-right:calc(.25rem/2);position:relative;width:100%;z-index:1}:host(md-checkbox) .checkbox-label::before{background:var(--checkbox-bg-color,#fff);border:.0625rem solid var(--checkbox-border-color,#545454);border-radius:.25rem;height:1.25rem;width:1.25rem}:host(md-checkbox) .checkbox-label::after,:host(md-checkbox) .checkbox-label::before{content:"";left:calc(.75rem*1.25);position:absolute;top:50%;transform:translate(-50%,-50%)}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(:hover:not([disabled])) .checkbox-label::before{background:var(--checkbox-hover-bg-color,#ededed);border:.0625rem solid var(--checkbox-hover-border-color,#545454)}:host(:active:not([disabled])) .checkbox-label::before{background:var(--checkbox-pressed-bg-color,#dedede);border:.0625rem solid var(--checkbox-pressed-border-color,#ccc)}:host([disabled]){opacity:.4}:host([disabled]) .checkbox-label{cursor:not-allowed}:host([disabled]) .checkbox-label::before{background:var(--checkbox-hover-bg-color,#ededed);border:.0625rem solid var(--checkbox-hover-border-color,#545454)}:host([aria-checked=true]) .checkbox-label::after{border:solid var(--checkbox-icon-color,#fff);border-width:0 .12em .12em 0;display:block;height:.6em;transform:translateY(-65%) translateX(-50%) rotate(45deg);width:.35em}:host([aria-checked=true]) .checkbox-label::before{background:var(--checkbox-selected-bg-color,#00a0d1);border:.0625rem solid var(--checkbox-selected-border-color,#00a0d1)}:host([indeterminate]) .checkbox-label::after{border:solid var(--checkbox-icon-color,#fff);border-width:0 0 .12em;display:block;height:.2em;transform:translateY(-85%) translateX(-50%) rotate(0);width:.75em}:host([indeterminate]) .checkbox-label::before{background:var(--checkbox-selected-bg-color,#00a0d1);border:.0625rem solid var(--checkbox-selected-border-color,#00a0d1)}:host([aria-checked=true]:hover:not([disabled])) .checkbox-label::before,:host([indeterminate]:hover:not([disabled])) .checkbox-label::before{background:var(--checkbox-selected-hover-bg-color,#007aa3);border-color:var(--checkbox-selected-hover-border-color,#007aa3)}:host([aria-checked=true]:active:not([disabled])) .checkbox-label::before,:host([indeterminate]:active:not([disabled])) .checkbox-label::before{background:var(--checkbox-selected-pressed-bg-color,#005e7d);border-color:var(--checkbox-selected-pressed-border-color,#005e7d)}@media(forced-colors:active){:host([focus-visible]:not([disabled])){outline:2px solid Highlight;box-shadow:none}}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-checkbox:not(:last-child)){margin-bottom:calc(.25rem*6)}:host([alignment=horizontal]) div{display:flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-checkbox:not(:last-child)){margin-right:calc(.25rem*10)}`}}]);
@@ -1,42 +1,21 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[38],{42:function(e,t,a){"use strict";a.r(t),a.d(t,"DatePicker",(function(){return i}));a(72),a(24),a(32);var i,s=a(1),o=a(6),r=a(8),l=a(16),n=a(19),c=a(0),d=a(2),h=a(12),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="true" 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_16"></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>
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[38],{80:function(e,r,t){"use strict";t.r(r),t.d(r,"ProgressBar",(function(){return a}));var a,o=t(6),s=t(5),i=t(0),n=t(4),l=i.css`.progress-bar{background-color:var(--border-color);border-radius:var(--border-radius-small) var(--border-radius-small) 0;box-sizing:border-box;height:4px;margin-bottom:-4px;overflow:hidden;position:relative;width:100%}.progress-bar-value{animation:indeterminateAnimation 1s infinite linear;background-color:var(--link-color);border-radius:var(--border-radius-small) var(--border-radius-small) 0;height:100%;transform-origin:0 50%;width:100%}@keyframes indeterminateAnimation{0%{transform:translateX(0) scaleX(0)}40%{transform:translateX(0) scaleX(.4)}100%{transform:translateX(100%) scaleX(.5)}}.progressbar-label{text-align:left}.progressbar-progress{float:right}.progressbar-label,.progressbar-progress{color:var(--progress-bar-label-text-color,#000);font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:.6875rem}.progress{background-color:var(--progress-bar-track-bg-color,#dedede);height:.25rem;margin-bottom:.625rem;overflow:hidden;padding:0;border-radius:var(--progress-bar-border-radius,4px)}.progress .meter{background:#00a0d1;display:block;height:100%}.progress--indeterminate .meter{animation:indeterminateAnimation 1s infinite linear;transform-origin:0 50%;width:100%}@keyframes indeterminateAnimation{0%{transform:translateX(0) scaleX(0)}40%{transform:translateX(0) scaleX(.4)}100%{transform:translateX(100%) scaleX(.5)}}.progress.secondary .meter{background:#545454;display:block;height:100%}.progress.success .meter{background:#00ab50;display:block;height:100%}.progress.danger .meter{background:#f7644a;display:block;height:100%}.progress.warning .meter{background:#d97f00;display:block;height:100%}.progress.info .meter{background:#16a693;display:block;height:100%}@media(forced-colors:active){.progress{background-color:HighlightText;outline:1px solid Highlight;outline-offset:-1px}.progress .meter{background-color:Highlight}}`,p=function(e,r,t,a){var o,s=arguments.length,i=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,r,t,a);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(i=(s<3?o(i):s>3?o(r,t,i):o(r,t))||i);return s>3&&i&&Object.defineProperty(r,t,i),i};!function(e){let r=class extends i.LitElement{constructor(){super(...arguments),this.dynamic=!1,this.color="",this.label="",this.displayFormat="percentage",this.type="indeterminate",this.min=0,this.max=100,this.value=25,this.adjustedValue=0,this.valueFraction=0,this.meterWidth="100",this.getDisplayFormat=()=>"indeterminate"===this.type?(this.value=100,null):(this.adjustedValue=this.max-this.value<0?this.max:this.value,this.valueFraction=this.adjustedValue/this.max*100||0,this.meterWidth=this.valueFraction.toFixed(0)+"%","none"===this.displayFormat?null:"percentage"===this.displayFormat?this.meterWidth:`${this.adjustedValue} / ${this.max}`),this.getColor=()=>this.color?this.color:this.dynamic?this.valueFraction<25?"success":this.valueFraction<50?"info":this.valueFraction<75?"warning":"danger":void 0}connectedCallback(){super.connectedCallback(),this.requestUpdate("value")}static get styles(){return[s.a,l]}render(){const e={["progress--"+this.type]:this.type,["progress--"+this.color]:this.color};return i.html`
2
+ <span>
3
+ <div class="progressbar-info" data-key="${this.min}">
4
+ <span class="progressbar-label">${this.label}</span>
5
+ <span class="progressbar-progress">${this.getDisplayFormat()}</span>
40
6
  </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={}))}}]);
7
+ <div class="progress ${Object(n.classMap)(e)}" data-key="${this.max}">
8
+ <span
9
+ class="meter"
10
+ role="progressbar"
11
+ aria-labelledby="progressbar"
12
+ aria-valuenow=${this.adjustedValue}
13
+ aria-valuemin=${this.min}
14
+ aria-valuemax=${this.max}
15
+ aria-valuetext=${this.meterWidth}
16
+ style="${"width: "+this.meterWidth+"; background: "+this.getColor()}"
17
+ >
18
+ </span>
19
+ </div>
20
+ </span>
21
+ `}};p([Object(i.property)({type:Boolean})],r.prototype,"dynamic",void 0),p([Object(i.property)({type:String})],r.prototype,"color",void 0),p([Object(i.property)({type:String})],r.prototype,"label",void 0),p([Object(i.property)({type:String})],r.prototype,"displayFormat",void 0),p([Object(i.property)({type:String})],r.prototype,"type",void 0),p([Object(i.property)({type:Number})],r.prototype,"min",void 0),p([Object(i.property)({type:Number})],r.prototype,"max",void 0),p([Object(i.property)({type:Number})],r.prototype,"value",void 0),p([Object(i.property)({type:Number})],r.prototype,"adjustedValue",void 0),p([Object(i.property)({type:Number})],r.prototype,"valueFraction",void 0),p([Object(i.property)({type:String})],r.prototype,"meterWidth",void 0),r=p([Object(o.a)("md-progress-bar")],r),e.ELEMENT=r}(a||(a={}))}}]);
@@ -1 +1,42 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[39],{63: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
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[39],{44:function(e,t,a){"use strict";a.r(t),a.d(t,"DatePicker",(function(){return i}));a(73),a(28),a(30);var i,s=a(1),o=a(6),r=a(9),l=a(17),n=a(19),c=a(0),d=a(2),h=a(12),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 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[4],{33:function(e,t,o){"use strict";o.d(t,"a",(function(){return c}));var s=o(0),n=o(17),u=function(e,t,o,s){var n,u=arguments.length,c=u<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,s);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(u<3?n(c):u>3?n(t,o,c):n(t,o))||c);return u>3&&c&&Object.defineProperty(t,o,c),c};s.LitElement;const c=e=>{if(Object(n.b)(c,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}getActiveElement(){return this.getRootNode().activeElement}getDeepActiveElement(){let e=document.activeElement||document.body;for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}isElementFocused(e){return this.getDeepActiveElement()!==e}disconnectedCallback(){this.removeEventListener("focus",this.handleFocusIn),this.removeEventListener("blur",this.handleFocusOut)}}return u([Object(s.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),Object(n.a)(c,t),t}}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[4],{33:function(e,t,o){"use strict";o.d(t,"a",(function(){return c}));var s=o(0),n=o(18),u=function(e,t,o,s){var n,u=arguments.length,c=u<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,s);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(u<3?n(c):u>3?n(t,o,c):n(t,o))||c);return u>3&&c&&Object.defineProperty(t,o,c),c};s.LitElement;const c=e=>{if(Object(n.b)(c,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}getActiveElement(){return this.getRootNode().activeElement}getDeepActiveElement(){let e=document.activeElement||document.body;for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}isElementFocused(e){return this.getDeepActiveElement()!==e}disconnectedCallback(){this.removeEventListener("focus",this.handleFocusIn),this.removeEventListener("blur",this.handleFocusOut)}}return u([Object(s.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),Object(n.a)(c,t),t}}}]);
@@ -1,33 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[40],{64: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}));var n,o=e(5),a=e(6),r=e(0),s=(e(18),e(15),e(64)),l=e(2),d=e(3),c=(e(45),e(46),e(47),e(48),e(20)),m=e.n(c),h=e(16),p=e(7),f=e(1),u=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(p.a)(r.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[o.a,s.a]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",Object(h.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&&m()(this.container).draggable({autoScroll:!0,allowFrom:this.header,listeners:{move:this.dragMoveListener,end:this.dragEndListener},modifiers:[m.a.modifiers.restrictRect({restriction:document.body.getBoundingClientRect(),endOnly:!0})]})})}handleKeyDown(t){t.code!==f.b.Enter&&t.code!==f.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&&m.a.isSet(this.container)&&m()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance(),window.removeEventListener("resize",Object(h.b)(()=>this.setInteractInstance(),250))}render(){return r.html`
2
- ${this.show?r.html`
3
- <div class="md-floating ${this.minimize?"":"hide"} md-floating-minimize"
4
- @click=${this.handleMinimize}
5
- @keydown="${this.handleKeyDown}"
6
- role="dialog"
7
- tabindex="-1"
8
- part="floating-minimized"
9
- aria-label=${Object(l.ifDefined)(this.label||void 0)}
10
- aria-modal="true"
11
- style=${Object(l.ifDefined)(this.minPosition?`transform: translate(${this.minPosition.x}px, ${this.minPosition.y}px) !important`:`transform: ${this.containerTransform} !important`)}
12
- >
13
- <div tabindex="-1" class="md-floating__header ${this.minimize?"md-floating__header-minimize":""}">
14
- <div class="md-floating__header-text">
15
- ${this.heading?r.html`
16
- ${this.heading}
17
- `:r.html`
18
- <slot></slot>
19
- `}
20
- </div>
21
- <md-button
22
- color="color-none"
23
- class="md-floating__close"
24
- aria-label="${this.closeAriaLabel}"
25
- circle
26
- @click=${this.handleClose}
27
- >
28
- <md-icon name="cancel_16"></md-icon>
29
- </md-button>
30
- </div>
31
- </div>
32
- `:d.nothing}
33
- `}};u([Object(r.property)({type:String})],i.prototype,"heading",void 0),u([Object(r.property)({type:String})],i.prototype,"label",void 0),u([Object(r.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),u([Object(r.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),u([Object(r.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),u([Object(r.property)({type:Object})],i.prototype,"minPosition",void 0),u([Object(r.query)(".md-floating")],i.prototype,"container",void 0),u([Object(r.query)(".md-floating__header")],i.prototype,"header",void 0),u([Object(r.internalProperty)()],i.prototype,"dragOccured",void 0),u([Object(r.internalProperty)()],i.prototype,"containerTransform",void 0),i=u([Object(a.a)("md-floating-modal-minimized")],i),t.ELEMENT=i}(n||(n={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[40],{65: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,15 +1,30 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[41],{56: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(2),m=d(65),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
- <a href="${Object(r.ifDefined)(this.href||void 0)}">
12
- <slot></slot>
13
- </a>
14
- </li>
15
- `}};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={}))},65: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([[41],{66: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}`},77:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingMinimizedModal",(function(){return n}));var n,o=e(5),a=e(6),r=e(0),s=(e(16),e(13),e(66)),l=e(2),d=e(3),c=(e(47),e(48),e(49),e(50),e(21)),m=e.n(c),h=e(17),p=e(7),f=e(1),u=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(p.a)(r.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[o.a,s.a]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",Object(h.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&&m()(this.container).draggable({autoScroll:!0,allowFrom:this.header,listeners:{move:this.dragMoveListener,end:this.dragEndListener},modifiers:[m.a.modifiers.restrictRect({restriction:document.body.getBoundingClientRect(),endOnly:!0})]})})}handleKeyDown(t){t.code!==f.b.Enter&&t.code!==f.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&&m.a.isSet(this.container)&&m()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance(),window.removeEventListener("resize",Object(h.b)(()=>this.setInteractInstance(),250))}render(){return r.html`
2
+ ${this.show?r.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(l.ifDefined)(this.label||void 0)}
11
+ aria-modal="true"
12
+ style=${Object(l.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?r.html` ${this.heading} `:r.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_16"></md-icon>
26
+ </md-button>
27
+ </div>
28
+ </div>
29
+ `:d.nothing}
30
+ `}};u([Object(r.property)({type:String})],i.prototype,"heading",void 0),u([Object(r.property)({type:String})],i.prototype,"label",void 0),u([Object(r.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),u([Object(r.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),u([Object(r.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),u([Object(r.property)({type:Object})],i.prototype,"minPosition",void 0),u([Object(r.query)(".md-floating")],i.prototype,"container",void 0),u([Object(r.query)(".md-floating__header")],i.prototype,"header",void 0),u([Object(r.internalProperty)()],i.prototype,"dragOccured",void 0),u([Object(r.internalProperty)()],i.prototype,"containerTransform",void 0),i=u([Object(a.a)("md-floating-modal-minimized")],i),t.ELEMENT=i}(n||(n={}))}}]);