@momentum-ui/web-components 2.17.15 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (735) hide show
  1. package/dist/109.js +11 -0
  2. package/dist/1107.js +1 -0
  3. package/dist/1200.js +26 -0
  4. package/dist/1250.js +1 -0
  5. package/dist/1270.js +1 -0
  6. package/dist/1323.js +26 -0
  7. package/dist/1392.js +1 -0
  8. package/dist/1439.js +1 -0
  9. package/dist/144.js +1 -0
  10. package/dist/1572.js +1 -0
  11. package/dist/1598.js +1 -0
  12. package/dist/1625.js +1 -0
  13. package/dist/1705.js +1 -0
  14. package/dist/182.js +1 -0
  15. package/dist/1869.js +1 -0
  16. package/dist/1890.js +1 -0
  17. package/dist/195.js +1 -0
  18. package/dist/2019.js +1 -0
  19. package/dist/2043.js +1 -0
  20. package/dist/2176.js +1 -0
  21. package/dist/2215.js +1 -0
  22. package/dist/2243.js +1 -0
  23. package/dist/2547.js +218 -0
  24. package/dist/2576.js +1 -0
  25. package/dist/2798.js +1 -0
  26. package/dist/2972.js +1 -0
  27. package/dist/2984.js +1 -0
  28. package/dist/300.js +1 -0
  29. package/dist/3001.js +1 -0
  30. package/dist/3112.js +1 -0
  31. package/dist/3135.js +1 -0
  32. package/dist/3192.js +23 -0
  33. package/dist/3553.js +1 -0
  34. package/dist/3604.js +1 -0
  35. package/dist/3625.js +1 -0
  36. package/dist/3663.js +1 -0
  37. package/dist/3866.js +1 -0
  38. package/dist/4006.js +1 -0
  39. package/dist/4392.js +1 -0
  40. package/dist/4400.js +1 -0
  41. package/dist/4548.js +1 -0
  42. package/dist/4624.js +1 -0
  43. package/dist/4663.js +1 -0
  44. package/dist/4974.js +1 -0
  45. package/dist/4977.js +1 -0
  46. package/dist/5211.js +1 -0
  47. package/dist/528.js +12 -0
  48. package/dist/5382.js +1 -0
  49. package/dist/{chunks/md-2.js → 5433.js} +1 -1
  50. package/dist/5467.js +1 -0
  51. package/dist/573.js +1 -0
  52. package/dist/5801.js +22 -0
  53. package/dist/587.js +1 -0
  54. package/dist/591.js +1 -0
  55. package/dist/6015.js +1 -0
  56. package/dist/6067.js +1 -0
  57. package/dist/6272.js +1 -0
  58. package/dist/6273.js +45 -0
  59. package/dist/630.js +1 -0
  60. package/dist/6325.js +1 -0
  61. package/dist/6366.js +1 -0
  62. package/dist/6396.js +9 -0
  63. package/dist/6400.js +1 -0
  64. package/dist/6408.js +124 -0
  65. package/dist/6441.js +1 -0
  66. package/dist/6652.js +47 -0
  67. package/dist/6677.js +1 -0
  68. package/dist/6700.js +1 -0
  69. package/dist/671.js +1 -0
  70. package/dist/6754.js +17 -0
  71. package/dist/6795.js +1 -0
  72. package/dist/6798.js +77 -0
  73. package/dist/6875.js +1 -0
  74. package/dist/6979.js +1 -0
  75. package/dist/7030.js +1 -0
  76. package/dist/7092.js +1 -0
  77. package/dist/7103.js +1 -0
  78. package/dist/7251.js +1 -0
  79. package/dist/7330.js +1 -0
  80. package/dist/7502.js +1 -0
  81. package/dist/754.js +1 -0
  82. package/dist/76.js +1 -0
  83. package/dist/768.js +1 -0
  84. package/dist/7719.js +1 -0
  85. package/dist/7763.js +1 -0
  86. package/dist/779.js +1 -0
  87. package/dist/7814.js +8 -0
  88. package/dist/7833.js +1 -0
  89. package/dist/7875.js +1 -0
  90. package/dist/7919.js +1 -0
  91. package/dist/8028.js +44 -0
  92. package/dist/8171.js +16 -0
  93. package/dist/8210.js +1 -0
  94. package/dist/8227.js +1 -0
  95. package/dist/8373.js +1 -0
  96. package/dist/8387.js +1 -0
  97. package/dist/8521.js +1 -0
  98. package/dist/8728.js +1 -0
  99. package/dist/8841.js +1 -0
  100. package/dist/8889.js +1 -0
  101. package/dist/9058.js +1 -0
  102. package/dist/9618.js +1 -0
  103. package/dist/9719.js +1 -0
  104. package/dist/9788.js +7 -0
  105. package/dist/9813.js +1 -0
  106. package/dist/984.js +8 -0
  107. package/dist/assets/styles/fonts.css +13 -0
  108. package/dist/chunks/md-1012.js +1 -0
  109. package/dist/chunks/md-1036.js +1 -0
  110. package/dist/chunks/md-108.js +1 -1
  111. package/dist/chunks/md-1180.js +1 -0
  112. package/dist/chunks/md-1192.js +1 -0
  113. package/dist/chunks/md-1297.js +1 -0
  114. package/dist/chunks/md-1352.js +1 -0
  115. package/dist/chunks/md-1497.js +1 -0
  116. package/dist/chunks/md-1519.js +1 -0
  117. package/dist/chunks/md-1533.js +1 -0
  118. package/dist/chunks/md-1679.js +1 -0
  119. package/dist/chunks/md-1786.js +1 -0
  120. package/dist/chunks/md-181.js +1 -1
  121. package/dist/chunks/md-1870.js +1 -0
  122. package/dist/chunks/md-1942.js +1 -0
  123. package/dist/chunks/md-1983.js +1 -0
  124. package/dist/chunks/md-2052.js +1 -0
  125. package/dist/chunks/md-2086.js +1 -0
  126. package/dist/chunks/md-2224.js +1 -0
  127. package/dist/chunks/md-2241.js +1 -0
  128. package/dist/chunks/md-2292.js +1 -0
  129. package/dist/chunks/md-2329.js +1 -0
  130. package/dist/chunks/md-2402.js +1 -0
  131. package/dist/chunks/md-2539.js +1 -0
  132. package/dist/chunks/md-258.js +1 -1
  133. package/dist/chunks/md-2670.js +1 -0
  134. package/dist/chunks/md-2698.js +1 -0
  135. package/dist/chunks/md-2701.js +1 -0
  136. package/dist/chunks/md-2731.js +1 -0
  137. package/dist/chunks/md-279.js +1 -1
  138. package/dist/chunks/md-2825.js +1 -0
  139. package/dist/chunks/md-2896.js +1 -0
  140. package/dist/chunks/md-2904.js +1 -0
  141. package/dist/chunks/md-2923.js +1 -0
  142. package/dist/chunks/md-2962.js +1 -0
  143. package/dist/chunks/md-2970.js +1 -0
  144. package/dist/chunks/md-2978.js +1 -0
  145. package/dist/chunks/md-3035.js +1 -0
  146. package/dist/chunks/md-3105.js +1 -0
  147. package/dist/chunks/md-3195.js +1 -0
  148. package/dist/chunks/md-3206.js +1 -0
  149. package/dist/chunks/md-3231.js +1 -0
  150. package/dist/chunks/md-3255.js +1 -0
  151. package/dist/chunks/md-3270.js +1 -0
  152. package/dist/chunks/md-3315.js +1 -0
  153. package/dist/chunks/md-3399.js +1 -0
  154. package/dist/chunks/md-3402.js +1 -0
  155. package/dist/chunks/md-3409.js +1 -0
  156. package/dist/chunks/md-3447.js +1 -0
  157. package/dist/chunks/md-3458.js +1 -0
  158. package/dist/chunks/md-3543.js +1 -0
  159. package/dist/chunks/md-3557.js +1 -0
  160. package/dist/chunks/md-3618.js +1 -0
  161. package/dist/chunks/md-364.js +1 -0
  162. package/dist/chunks/md-3666.js +1 -0
  163. package/dist/chunks/md-3712.js +1 -0
  164. package/dist/chunks/md-3732.js +1 -0
  165. package/dist/chunks/md-3838.js +1 -0
  166. package/dist/chunks/md-4058.js +1 -0
  167. package/dist/chunks/md-4108.js +1 -0
  168. package/dist/chunks/md-4113.js +1 -0
  169. package/dist/chunks/md-4125.js +1 -0
  170. package/dist/chunks/md-414.js +1 -0
  171. package/dist/chunks/md-4177.js +1 -0
  172. package/dist/chunks/md-4205.js +1 -0
  173. package/dist/chunks/md-431.js +1 -0
  174. package/dist/chunks/md-4321.js +1 -0
  175. package/dist/chunks/md-436.js +1 -0
  176. package/dist/chunks/md-4412.js +1 -0
  177. package/dist/chunks/md-4460.js +1 -0
  178. package/dist/chunks/md-4490.js +1 -0
  179. package/dist/chunks/md-4561.js +1 -0
  180. package/dist/chunks/md-4564.js +1 -0
  181. package/dist/chunks/md-4608.js +1 -0
  182. package/dist/chunks/md-4635.js +1 -0
  183. package/dist/chunks/md-4659.js +1 -0
  184. package/dist/chunks/md-4701.js +1 -0
  185. package/dist/chunks/md-4714.js +1 -0
  186. package/dist/chunks/md-4745.js +1 -0
  187. package/dist/chunks/md-4893.js +1 -0
  188. package/dist/chunks/md-4896.js +1 -0
  189. package/dist/chunks/md-4904.js +1 -0
  190. package/dist/chunks/md-5076.js +1 -0
  191. package/dist/chunks/md-5089.js +1 -0
  192. package/dist/chunks/md-5093.js +1 -0
  193. package/dist/chunks/md-5117.js +1 -0
  194. package/dist/chunks/md-5133.js +1 -0
  195. package/dist/chunks/md-5320.js +1 -0
  196. package/dist/chunks/md-5331.js +1 -0
  197. package/dist/chunks/md-5344.js +1 -0
  198. package/dist/chunks/md-5439.js +1 -0
  199. package/dist/chunks/md-5449.js +1 -0
  200. package/dist/chunks/md-5468.js +1 -0
  201. package/dist/chunks/md-5506.js +1 -0
  202. package/dist/chunks/md-5579.js +1 -0
  203. package/dist/chunks/md-5610.js +1 -0
  204. package/dist/chunks/md-5617.js +1 -0
  205. package/dist/chunks/md-5672.js +1 -0
  206. package/dist/chunks/md-5754.js +1 -0
  207. package/dist/chunks/md-5772.js +1 -0
  208. package/dist/chunks/md-5790.js +1 -0
  209. package/dist/chunks/md-581.js +1 -0
  210. package/dist/chunks/md-5812.js +1 -0
  211. package/dist/chunks/md-5814.js +1 -0
  212. package/dist/chunks/md-5892.js +1 -0
  213. package/dist/chunks/md-593.js +1 -0
  214. package/dist/chunks/md-5976.js +1 -0
  215. package/dist/chunks/md-6023.js +1 -0
  216. package/dist/chunks/md-6033.js +1 -0
  217. package/dist/chunks/md-6122.js +1 -0
  218. package/dist/chunks/md-6269.js +1 -0
  219. package/dist/chunks/md-634.js +1 -0
  220. package/dist/chunks/md-6384.js +1 -0
  221. package/dist/chunks/md-6414.js +1 -0
  222. package/dist/chunks/md-6427.js +1 -0
  223. package/dist/chunks/md-6478.js +1 -0
  224. package/dist/chunks/md-6503.js +1 -0
  225. package/dist/chunks/md-6571.js +1 -0
  226. package/dist/chunks/md-6617.js +1 -0
  227. package/dist/chunks/md-6685.js +1 -0
  228. package/dist/chunks/md-6722.js +1 -0
  229. package/dist/chunks/md-6756.js +1 -0
  230. package/dist/chunks/md-6809.js +1 -0
  231. package/dist/chunks/md-6891.js +1 -0
  232. package/dist/chunks/md-7003.js +1 -0
  233. package/dist/chunks/md-7005.js +1 -0
  234. package/dist/chunks/md-7015.js +1 -0
  235. package/dist/chunks/md-7040.js +1 -0
  236. package/dist/chunks/md-7044.js +1 -0
  237. package/dist/chunks/md-7053.js +1 -0
  238. package/dist/chunks/md-7186.js +1 -0
  239. package/dist/chunks/md-7192.js +1 -0
  240. package/dist/chunks/md-7204.js +1 -0
  241. package/dist/chunks/md-7220.js +1 -0
  242. package/dist/chunks/md-7246.js +1 -0
  243. package/dist/chunks/md-7285.js +1 -0
  244. package/dist/chunks/md-7292.js +1 -0
  245. package/dist/chunks/md-736.js +1 -0
  246. package/dist/chunks/md-7492.js +1 -0
  247. package/dist/chunks/md-7522.js +1 -0
  248. package/dist/chunks/md-7533.js +1 -0
  249. package/dist/chunks/md-7556.js +1 -0
  250. package/dist/chunks/md-7601.js +1 -0
  251. package/dist/chunks/md-7909.js +1 -0
  252. package/dist/chunks/md-7918.js +1 -0
  253. package/dist/chunks/md-7939.js +1 -0
  254. package/dist/chunks/md-8100.js +1 -0
  255. package/dist/chunks/md-8103.js +1 -0
  256. package/dist/chunks/md-8126.js +1 -0
  257. package/dist/chunks/md-8130.js +1 -0
  258. package/dist/chunks/md-8186.js +1 -0
  259. package/dist/chunks/md-8199.js +1 -0
  260. package/dist/chunks/md-8206.js +1 -0
  261. package/dist/chunks/md-8254.js +1 -0
  262. package/dist/chunks/md-8327.js +1 -0
  263. package/dist/chunks/md-8333.js +1 -0
  264. package/dist/chunks/md-8385.js +1 -0
  265. package/dist/chunks/md-8425.js +1 -0
  266. package/dist/chunks/md-8451.js +1 -0
  267. package/dist/chunks/md-8454.js +1 -0
  268. package/dist/chunks/md-8514.js +1 -0
  269. package/dist/chunks/md-8557.js +1 -0
  270. package/dist/chunks/md-8670.js +1 -0
  271. package/dist/chunks/md-8713.js +1 -0
  272. package/dist/chunks/md-8811.js +1 -0
  273. package/dist/chunks/md-8891.js +1 -0
  274. package/dist/chunks/md-9040.js +1 -0
  275. package/dist/chunks/md-9081.js +1 -0
  276. package/dist/chunks/md-9104.js +1 -0
  277. package/dist/chunks/md-9115.js +1 -0
  278. package/dist/chunks/md-9129.js +1 -0
  279. package/dist/chunks/md-9139.js +1 -0
  280. package/dist/chunks/md-9156.js +1 -0
  281. package/dist/chunks/md-9277.js +1 -0
  282. package/dist/chunks/md-9350.js +1 -0
  283. package/dist/chunks/md-9387.js +1 -0
  284. package/dist/chunks/md-9405.js +1 -0
  285. package/dist/chunks/md-9407.js +1 -0
  286. package/dist/chunks/md-9412.js +1 -0
  287. package/dist/chunks/md-9428.js +1 -0
  288. package/dist/chunks/md-9433.js +1 -0
  289. package/dist/chunks/md-945.js +1 -0
  290. package/dist/chunks/md-9497.js +1 -0
  291. package/dist/chunks/md-9559.js +1 -0
  292. package/dist/chunks/md-959.js +1 -0
  293. package/dist/chunks/md-9614.js +1 -0
  294. package/dist/chunks/md-9688.js +1 -0
  295. package/dist/chunks/md-9689.js +1 -0
  296. package/dist/chunks/md-9721.js +1 -0
  297. package/dist/chunks/md-9789.js +1 -0
  298. package/dist/chunks/md-9927.js +1 -0
  299. package/dist/chunks/md-9934.js +1 -0
  300. package/dist/chunks/md-9975.js +1 -0
  301. package/dist/chunks/md-9980.js +1 -0
  302. package/dist/comp/md-accordion-entry.js +5 -1
  303. package/dist/comp/md-accordion-item-entry.js +38 -1
  304. package/dist/comp/md-accordion-item.js +1 -15
  305. package/dist/comp/md-accordion.js +1 -11
  306. package/dist/comp/md-activity-button-entry.js +13 -1
  307. package/dist/comp/md-activity-button.js +1 -9
  308. package/dist/comp/md-advance-list-entry.js +35 -1
  309. package/dist/comp/md-advance-list.js +1 -7
  310. package/dist/comp/md-alert-banner-entry.js +36 -1
  311. package/dist/comp/md-alert-banner.js +1 -9
  312. package/dist/comp/md-alert-entry.js +156 -1
  313. package/dist/comp/md-alert.js +1 -10
  314. package/dist/comp/md-audio-player-entry.js +98 -1
  315. package/dist/comp/md-audio-player.js +1 -17
  316. package/dist/comp/md-avatar-entry.js +44 -1
  317. package/dist/comp/md-avatar.js +1 -11
  318. package/dist/comp/md-badge-entry.js +33 -1
  319. package/dist/comp/md-badge.js +1 -4
  320. package/dist/comp/md-breadcrumb-entry.js +11 -1
  321. package/dist/comp/md-breadcrumb.js +1 -4
  322. package/dist/comp/md-button-entry.js +77 -1
  323. package/dist/comp/md-button-group-entry.js +5 -1
  324. package/dist/comp/md-button-group.js +1 -10
  325. package/dist/comp/md-button.js +1 -6
  326. package/dist/comp/md-card-ai-entry.js +77 -1
  327. package/dist/comp/md-card-ai.js +1 -9
  328. package/dist/comp/md-card-entry.js +98 -1
  329. package/dist/comp/md-card.js +1 -23
  330. package/dist/comp/md-chat-message-entry.js +28 -1
  331. package/dist/comp/md-chat-message.js +1 -12
  332. package/dist/comp/md-checkbox-entry.js +14 -1
  333. package/dist/comp/md-checkbox.js +1 -11
  334. package/dist/comp/md-checkboxgroup-entry.js +5 -1
  335. package/dist/comp/md-checkboxgroup.js +1 -11
  336. package/dist/comp/md-chip-entry.js +71 -1
  337. package/dist/comp/md-chip.js +1 -14
  338. package/dist/comp/md-coachmark-entry.js +22 -1
  339. package/dist/comp/md-coachmark-popover-entry.js +72 -1
  340. package/dist/comp/md-coachmark-popover.js +1 -15
  341. package/dist/comp/md-coachmark.js +1 -13
  342. package/dist/comp/md-combobox-entry.js +218 -1
  343. package/dist/comp/md-combobox.js +1 -17
  344. package/dist/comp/md-composite-avatar-entry.js +5 -1
  345. package/dist/comp/md-composite-avatar.js +1 -5
  346. package/dist/comp/md-date-range-picker-entry.js +1 -1
  347. package/dist/comp/md-date-range-picker.js +1 -26
  348. package/dist/comp/md-date-time-picker-entry.js +24 -1
  349. package/dist/comp/md-date-time-picker.js +1 -19
  350. package/dist/comp/md-datepicker-calendar-entry.js +47 -1
  351. package/dist/comp/md-datepicker-calendar.js +1 -14
  352. package/dist/comp/md-datepicker-day-entry.js +17 -1
  353. package/dist/comp/md-datepicker-day.js +1 -9
  354. package/dist/comp/md-datepicker-entry.js +45 -1
  355. package/dist/comp/md-datepicker-month-entry.js +8 -1
  356. package/dist/comp/md-datepicker-month.js +1 -11
  357. package/dist/comp/md-datepicker-week-entry.js +8 -1
  358. package/dist/comp/md-datepicker-week.js +1 -10
  359. package/dist/comp/md-datepicker.js +1 -25
  360. package/dist/comp/md-draggable-entry.js +5 -1
  361. package/dist/comp/md-draggable-item-entry.js +11 -1
  362. package/dist/comp/md-draggable-item.js +1 -11
  363. package/dist/comp/md-draggable.js +1 -12
  364. package/dist/comp/md-dropdown-entry.js +138 -1
  365. package/dist/comp/md-dropdown.js +1 -15
  366. package/dist/comp/md-editable-field-entry.js +153 -1
  367. package/dist/comp/md-editable-field.js +1 -15
  368. package/dist/comp/md-favorite-entry.js +23 -1
  369. package/dist/comp/md-favorite.js +1 -14
  370. package/dist/comp/md-floating-minimize-entry.js +30 -1
  371. package/dist/comp/md-floating-minimize.js +1 -15
  372. package/dist/comp/md-floating-modal-entry.js +99 -1
  373. package/dist/comp/md-floating-modal.js +1 -16
  374. package/dist/comp/md-form-entry.js +19 -1
  375. package/dist/comp/md-form.js +1 -9
  376. package/dist/comp/md-grabber-entry.js +22 -1
  377. package/dist/comp/md-grabber.js +1 -15
  378. package/dist/comp/md-help-text-entry.js +11 -1
  379. package/dist/comp/md-help-text.js +1 -4
  380. package/dist/comp/md-icon-entry.js +26 -1
  381. package/dist/comp/md-icon.js +1 -8
  382. package/dist/comp/md-inpu.js +1 -12
  383. package/dist/comp/md-input-entry.js +124 -1
  384. package/dist/comp/md-input-file.js +17 -1
  385. package/dist/comp/md-input.js +1 -13
  386. package/dist/comp/md-label-entry.js +9 -1
  387. package/dist/comp/md-label.js +1 -4
  388. package/dist/comp/md-link-entry.js +36 -1
  389. package/dist/comp/md-link.js +1 -4
  390. package/dist/comp/md-list-entry.js +5 -1
  391. package/dist/comp/md-list-item-entry.js +5 -1
  392. package/dist/comp/md-list-item.js +1 -11
  393. package/dist/comp/md-list.js +1 -11
  394. package/dist/comp/md-loading-entry.js +7 -1
  395. package/dist/comp/md-loading.js +1 -4
  396. package/dist/comp/md-meeting-alert-entry.js +55 -1
  397. package/dist/comp/md-meeting-alert.js +1 -12
  398. package/dist/comp/md-menu-entry.js +7 -1
  399. package/dist/comp/md-menu-item-entry.js +16 -1
  400. package/dist/comp/md-menu-item.js +1 -4
  401. package/dist/comp/md-menu-overlay-entry.js +26 -1
  402. package/dist/comp/md-menu-overlay.js +1 -9
  403. package/dist/comp/md-menu.js +1 -8
  404. package/dist/comp/md-modal-entry.js +73 -1
  405. package/dist/comp/md-modal.js +1 -15
  406. package/dist/comp/md-pagination-entry.js +78 -1
  407. package/dist/comp/md-pagination.js +1 -9
  408. package/dist/comp/md-phone-input-entry.js +71 -1
  409. package/dist/comp/md-phone-input.js +1 -20
  410. package/dist/comp/md-popover-entry.js +26 -1
  411. package/dist/comp/md-popover.js +1 -14
  412. package/dist/comp/md-progress-bar-entry.js +21 -1
  413. package/dist/comp/md-progress-bar.js +1 -4
  414. package/dist/comp/md-radio-entry.js +17 -1
  415. package/dist/comp/md-radio.js +1 -11
  416. package/dist/comp/md-radiogroup-entry.js +5 -1
  417. package/dist/comp/md-radiogroup.js +1 -11
  418. package/dist/comp/md-slider-entry.js +19 -1
  419. package/dist/comp/md-slider.js +1 -10
  420. package/dist/comp/md-spinner-entry.js +1 -1
  421. package/dist/comp/md-spinner.js +1 -4
  422. package/dist/comp/md-tab-entry.js +27 -1
  423. package/dist/comp/md-tab-panel-entry.js +1 -1
  424. package/dist/comp/md-tab-panel.js +1 -11
  425. package/dist/comp/md-tab.js +1 -11
  426. package/dist/comp/md-table-advanced-entry.js +168 -1
  427. package/dist/comp/md-table-advanced.js +1 -15
  428. package/dist/comp/md-table-entry.js +43 -1
  429. package/dist/comp/md-table.js +1 -9
  430. package/dist/comp/md-tabs-entry.js +129 -1
  431. package/dist/comp/md-tabs.js +1 -22
  432. package/dist/comp/md-task-item-entry.js +114 -1
  433. package/dist/comp/md-task-item.js +1 -10
  434. package/dist/comp/md-theme-entry.js +12 -1
  435. package/dist/comp/md-theme.js +1 -4
  436. package/dist/comp/md-timepicker-entry.js +45 -1
  437. package/dist/comp/md-timepicker.js +1 -22
  438. package/dist/comp/md-toggle-switch-entry.js +34 -1
  439. package/dist/comp/md-toggle-switch.js +1 -11
  440. package/dist/comp/md-tooltip-entry.js +23 -1
  441. package/dist/comp/md-tooltip.js +1 -12
  442. package/dist/index-entry.js +2615 -2
  443. package/dist/index.js +1 -94
  444. package/dist/managers/thememanager-entry.js +1 -1
  445. package/dist/managers/thememanager.js +1 -2
  446. package/dist/types/components/accordion/Accordion.d.ts +2 -2
  447. package/dist/types/components/card-ai/CardAi.d.ts +2 -0
  448. package/dist/types/components/date-range-picker/DateRangePicker.d.ts +3 -4
  449. package/dist/types/components/date-time-picker/DateTimePicker.d.ts +6 -7
  450. package/dist/types/components/datepicker/DatePicker.d.ts +3 -3
  451. package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +3 -1
  452. package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +1 -1
  453. package/dist/types/components/input/Input.d.ts +1 -0
  454. package/dist/types/components/timepicker/TimePicker.d.ts +1 -2
  455. package/dist/types/utils/dateUtils.d.ts +19 -4
  456. package/package.json +6 -6
  457. package/dist/chunks/md-0.js +0 -1
  458. package/dist/chunks/md-1.js +0 -1
  459. package/dist/chunks/md-10.js +0 -1
  460. package/dist/chunks/md-100.js +0 -1
  461. package/dist/chunks/md-101.js +0 -1
  462. package/dist/chunks/md-102.js +0 -1
  463. package/dist/chunks/md-103.js +0 -1
  464. package/dist/chunks/md-104.js +0 -1
  465. package/dist/chunks/md-105.js +0 -1
  466. package/dist/chunks/md-106.js +0 -1
  467. package/dist/chunks/md-107.js +0 -1
  468. package/dist/chunks/md-109.js +0 -1
  469. package/dist/chunks/md-11.js +0 -1
  470. package/dist/chunks/md-110.js +0 -1
  471. package/dist/chunks/md-111.js +0 -1
  472. package/dist/chunks/md-112.js +0 -1
  473. package/dist/chunks/md-113.js +0 -1
  474. package/dist/chunks/md-114.js +0 -1
  475. package/dist/chunks/md-115.js +0 -1
  476. package/dist/chunks/md-116.js +0 -1
  477. package/dist/chunks/md-117.js +0 -1
  478. package/dist/chunks/md-118.js +0 -1
  479. package/dist/chunks/md-119.js +0 -1
  480. package/dist/chunks/md-12.js +0 -1
  481. package/dist/chunks/md-120.js +0 -1
  482. package/dist/chunks/md-121.js +0 -1
  483. package/dist/chunks/md-122.js +0 -1
  484. package/dist/chunks/md-123.js +0 -1
  485. package/dist/chunks/md-124.js +0 -1
  486. package/dist/chunks/md-125.js +0 -1
  487. package/dist/chunks/md-126.js +0 -1
  488. package/dist/chunks/md-127.js +0 -1
  489. package/dist/chunks/md-128.js +0 -1
  490. package/dist/chunks/md-129.js +0 -1
  491. package/dist/chunks/md-13.js +0 -1
  492. package/dist/chunks/md-130.js +0 -1
  493. package/dist/chunks/md-131.js +0 -1
  494. package/dist/chunks/md-132.js +0 -1
  495. package/dist/chunks/md-133.js +0 -1
  496. package/dist/chunks/md-134.js +0 -1
  497. package/dist/chunks/md-135.js +0 -1
  498. package/dist/chunks/md-136.js +0 -1
  499. package/dist/chunks/md-137.js +0 -1
  500. package/dist/chunks/md-138.js +0 -1
  501. package/dist/chunks/md-139.js +0 -1
  502. package/dist/chunks/md-14.js +0 -11
  503. package/dist/chunks/md-140.js +0 -1
  504. package/dist/chunks/md-141.js +0 -1
  505. package/dist/chunks/md-142.js +0 -1
  506. package/dist/chunks/md-143.js +0 -1
  507. package/dist/chunks/md-144.js +0 -1
  508. package/dist/chunks/md-145.js +0 -1
  509. package/dist/chunks/md-146.js +0 -1
  510. package/dist/chunks/md-147.js +0 -1
  511. package/dist/chunks/md-148.js +0 -1
  512. package/dist/chunks/md-149.js +0 -1
  513. package/dist/chunks/md-15.js +0 -9
  514. package/dist/chunks/md-150.js +0 -1
  515. package/dist/chunks/md-151.js +0 -1
  516. package/dist/chunks/md-152.js +0 -1
  517. package/dist/chunks/md-153.js +0 -1
  518. package/dist/chunks/md-154.js +0 -1
  519. package/dist/chunks/md-155.js +0 -1
  520. package/dist/chunks/md-156.js +0 -1
  521. package/dist/chunks/md-157.js +0 -1
  522. package/dist/chunks/md-158.js +0 -1
  523. package/dist/chunks/md-159.js +0 -1
  524. package/dist/chunks/md-16.js +0 -1
  525. package/dist/chunks/md-160.js +0 -1
  526. package/dist/chunks/md-161.js +0 -1
  527. package/dist/chunks/md-162.js +0 -1
  528. package/dist/chunks/md-163.js +0 -1
  529. package/dist/chunks/md-164.js +0 -1
  530. package/dist/chunks/md-165.js +0 -1
  531. package/dist/chunks/md-166.js +0 -1
  532. package/dist/chunks/md-167.js +0 -1
  533. package/dist/chunks/md-168.js +0 -1
  534. package/dist/chunks/md-169.js +0 -1
  535. package/dist/chunks/md-17.js +0 -26
  536. package/dist/chunks/md-170.js +0 -1
  537. package/dist/chunks/md-171.js +0 -1
  538. package/dist/chunks/md-172.js +0 -1
  539. package/dist/chunks/md-173.js +0 -1
  540. package/dist/chunks/md-174.js +0 -1
  541. package/dist/chunks/md-175.js +0 -1
  542. package/dist/chunks/md-176.js +0 -1
  543. package/dist/chunks/md-177.js +0 -1
  544. package/dist/chunks/md-178.js +0 -1
  545. package/dist/chunks/md-179.js +0 -1
  546. package/dist/chunks/md-18.js +0 -124
  547. package/dist/chunks/md-180.js +0 -1
  548. package/dist/chunks/md-182.js +0 -1
  549. package/dist/chunks/md-183.js +0 -1
  550. package/dist/chunks/md-184.js +0 -1
  551. package/dist/chunks/md-185.js +0 -1
  552. package/dist/chunks/md-186.js +0 -1
  553. package/dist/chunks/md-187.js +0 -1
  554. package/dist/chunks/md-188.js +0 -1
  555. package/dist/chunks/md-189.js +0 -1
  556. package/dist/chunks/md-19.js +0 -1
  557. package/dist/chunks/md-190.js +0 -1
  558. package/dist/chunks/md-191.js +0 -1
  559. package/dist/chunks/md-192.js +0 -1
  560. package/dist/chunks/md-193.js +0 -1
  561. package/dist/chunks/md-194.js +0 -1
  562. package/dist/chunks/md-195.js +0 -1
  563. package/dist/chunks/md-196.js +0 -1
  564. package/dist/chunks/md-197.js +0 -1
  565. package/dist/chunks/md-198.js +0 -1
  566. package/dist/chunks/md-199.js +0 -1
  567. package/dist/chunks/md-20.js +0 -17
  568. package/dist/chunks/md-200.js +0 -1
  569. package/dist/chunks/md-201.js +0 -1
  570. package/dist/chunks/md-202.js +0 -1
  571. package/dist/chunks/md-203.js +0 -1
  572. package/dist/chunks/md-204.js +0 -1
  573. package/dist/chunks/md-205.js +0 -1
  574. package/dist/chunks/md-206.js +0 -1
  575. package/dist/chunks/md-207.js +0 -1
  576. package/dist/chunks/md-208.js +0 -1
  577. package/dist/chunks/md-209.js +0 -1
  578. package/dist/chunks/md-21.js +0 -23
  579. package/dist/chunks/md-210.js +0 -1
  580. package/dist/chunks/md-211.js +0 -1
  581. package/dist/chunks/md-212.js +0 -1
  582. package/dist/chunks/md-213.js +0 -1
  583. package/dist/chunks/md-214.js +0 -1
  584. package/dist/chunks/md-215.js +0 -1
  585. package/dist/chunks/md-216.js +0 -1
  586. package/dist/chunks/md-217.js +0 -1
  587. package/dist/chunks/md-218.js +0 -1
  588. package/dist/chunks/md-219.js +0 -1
  589. package/dist/chunks/md-22.js +0 -8
  590. package/dist/chunks/md-220.js +0 -1
  591. package/dist/chunks/md-221.js +0 -1
  592. package/dist/chunks/md-222.js +0 -1
  593. package/dist/chunks/md-223.js +0 -1
  594. package/dist/chunks/md-224.js +0 -1
  595. package/dist/chunks/md-225.js +0 -1
  596. package/dist/chunks/md-226.js +0 -1
  597. package/dist/chunks/md-227.js +0 -1
  598. package/dist/chunks/md-228.js +0 -1
  599. package/dist/chunks/md-229.js +0 -1
  600. package/dist/chunks/md-23.js +0 -1
  601. package/dist/chunks/md-230.js +0 -1
  602. package/dist/chunks/md-231.js +0 -1
  603. package/dist/chunks/md-232.js +0 -1
  604. package/dist/chunks/md-233.js +0 -1
  605. package/dist/chunks/md-234.js +0 -1
  606. package/dist/chunks/md-235.js +0 -1
  607. package/dist/chunks/md-236.js +0 -1
  608. package/dist/chunks/md-237.js +0 -1
  609. package/dist/chunks/md-238.js +0 -1
  610. package/dist/chunks/md-239.js +0 -1
  611. package/dist/chunks/md-24.js +0 -1
  612. package/dist/chunks/md-240.js +0 -1
  613. package/dist/chunks/md-241.js +0 -1
  614. package/dist/chunks/md-242.js +0 -1
  615. package/dist/chunks/md-243.js +0 -1
  616. package/dist/chunks/md-244.js +0 -1
  617. package/dist/chunks/md-245.js +0 -1
  618. package/dist/chunks/md-246.js +0 -1
  619. package/dist/chunks/md-247.js +0 -1
  620. package/dist/chunks/md-248.js +0 -1
  621. package/dist/chunks/md-249.js +0 -1
  622. package/dist/chunks/md-25.js +0 -7
  623. package/dist/chunks/md-250.js +0 -1
  624. package/dist/chunks/md-251.js +0 -1
  625. package/dist/chunks/md-252.js +0 -1
  626. package/dist/chunks/md-253.js +0 -1
  627. package/dist/chunks/md-254.js +0 -1
  628. package/dist/chunks/md-255.js +0 -1
  629. package/dist/chunks/md-256.js +0 -1
  630. package/dist/chunks/md-257.js +0 -1
  631. package/dist/chunks/md-259.js +0 -1
  632. package/dist/chunks/md-26.js +0 -8
  633. package/dist/chunks/md-260.js +0 -1
  634. package/dist/chunks/md-261.js +0 -1
  635. package/dist/chunks/md-262.js +0 -1
  636. package/dist/chunks/md-263.js +0 -1
  637. package/dist/chunks/md-264.js +0 -1
  638. package/dist/chunks/md-265.js +0 -1
  639. package/dist/chunks/md-266.js +0 -1
  640. package/dist/chunks/md-267.js +0 -1
  641. package/dist/chunks/md-268.js +0 -1
  642. package/dist/chunks/md-269.js +0 -1
  643. package/dist/chunks/md-27.js +0 -1
  644. package/dist/chunks/md-270.js +0 -1
  645. package/dist/chunks/md-271.js +0 -1
  646. package/dist/chunks/md-272.js +0 -1
  647. package/dist/chunks/md-273.js +0 -1
  648. package/dist/chunks/md-274.js +0 -1
  649. package/dist/chunks/md-275.js +0 -1
  650. package/dist/chunks/md-276.js +0 -1
  651. package/dist/chunks/md-277.js +0 -1
  652. package/dist/chunks/md-278.js +0 -1
  653. package/dist/chunks/md-28.js +0 -1
  654. package/dist/chunks/md-280.js +0 -1
  655. package/dist/chunks/md-281.js +0 -1
  656. package/dist/chunks/md-282.js +0 -1
  657. package/dist/chunks/md-283.js +0 -1
  658. package/dist/chunks/md-29.js +0 -55
  659. package/dist/chunks/md-3.js +0 -1
  660. package/dist/chunks/md-30.js +0 -1
  661. package/dist/chunks/md-31.js +0 -216
  662. package/dist/chunks/md-32.js +0 -49
  663. package/dist/chunks/md-33.js +0 -1
  664. package/dist/chunks/md-34.js +0 -1
  665. package/dist/chunks/md-35.js +0 -36
  666. package/dist/chunks/md-36.js +0 -33
  667. package/dist/chunks/md-37.js +0 -23
  668. package/dist/chunks/md-38.js +0 -5
  669. package/dist/chunks/md-39.js +0 -5
  670. package/dist/chunks/md-4.js +0 -1
  671. package/dist/chunks/md-40.js +0 -1
  672. package/dist/chunks/md-41.js +0 -21
  673. package/dist/chunks/md-42.js +0 -26
  674. package/dist/chunks/md-43.js +0 -44
  675. package/dist/chunks/md-44.js +0 -1
  676. package/dist/chunks/md-45.js +0 -30
  677. package/dist/chunks/md-46.js +0 -16
  678. package/dist/chunks/md-47.js +0 -1
  679. package/dist/chunks/md-48.js +0 -27
  680. package/dist/chunks/md-49.js +0 -5
  681. package/dist/chunks/md-5.js +0 -1
  682. package/dist/chunks/md-50.js +0 -38
  683. package/dist/chunks/md-51.js +0 -13
  684. package/dist/chunks/md-52.js +0 -35
  685. package/dist/chunks/md-53.js +0 -36
  686. package/dist/chunks/md-54.js +0 -121
  687. package/dist/chunks/md-55.js +0 -98
  688. package/dist/chunks/md-56.js +0 -11
  689. package/dist/chunks/md-57.js +0 -5
  690. package/dist/chunks/md-58.js +0 -77
  691. package/dist/chunks/md-59.js +0 -68
  692. package/dist/chunks/md-6.js +0 -1
  693. package/dist/chunks/md-60.js +0 -28
  694. package/dist/chunks/md-61.js +0 -14
  695. package/dist/chunks/md-62.js +0 -5
  696. package/dist/chunks/md-63.js +0 -51
  697. package/dist/chunks/md-64.js +0 -22
  698. package/dist/chunks/md-65.js +0 -47
  699. package/dist/chunks/md-66.js +0 -5
  700. package/dist/chunks/md-67.js +0 -1
  701. package/dist/chunks/md-68.js +0 -23
  702. package/dist/chunks/md-69.js +0 -5
  703. package/dist/chunks/md-7.js +0 -77
  704. package/dist/chunks/md-70.js +0 -11
  705. package/dist/chunks/md-71.js +0 -138
  706. package/dist/chunks/md-72.js +0 -30
  707. package/dist/chunks/md-73.js +0 -70
  708. package/dist/chunks/md-74.js +0 -19
  709. package/dist/chunks/md-75.js +0 -22
  710. package/dist/chunks/md-76.js +0 -17
  711. package/dist/chunks/md-77.js +0 -76
  712. package/dist/chunks/md-78.js +0 -7
  713. package/dist/chunks/md-79.js +0 -73
  714. package/dist/chunks/md-8.js +0 -1
  715. package/dist/chunks/md-80.js +0 -78
  716. package/dist/chunks/md-81.js +0 -71
  717. package/dist/chunks/md-82.js +0 -17
  718. package/dist/chunks/md-83.js +0 -5
  719. package/dist/chunks/md-84.js +0 -19
  720. package/dist/chunks/md-85.js +0 -1
  721. package/dist/chunks/md-86.js +0 -168
  722. package/dist/chunks/md-87.js +0 -43
  723. package/dist/chunks/md-88.js +0 -103
  724. package/dist/chunks/md-89.js +0 -82
  725. package/dist/chunks/md-9.js +0 -26
  726. package/dist/chunks/md-90.js +0 -12
  727. package/dist/chunks/md-91.js +0 -43
  728. package/dist/chunks/md-92.js +0 -34
  729. package/dist/chunks/md-93.js +0 -1
  730. package/dist/chunks/md-94.js +0 -1
  731. package/dist/chunks/md-95.js +0 -1
  732. package/dist/chunks/md-96.js +0 -1
  733. package/dist/chunks/md-97.js +0 -1
  734. package/dist/chunks/md-98.js +0 -1
  735. package/dist/chunks/md-99.js +0 -1
@@ -1,36 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[35],{81:function(e,i,n){"use strict";n.r(i),n.d(i,"linkTag",(function(){return c})),n.d(i,"linkColor",(function(){return k})),n.d(i,"linkRole",(function(){return v})),n.d(i,"linkSize",(function(){return m})),n.d(i,"inlineStyle",(function(){return p})),n.d(i,"Link",(function(){return b}));var t=n(5),l=n(6),r=n(0),o=n(4),d=n(3),a=r.css`.md-link{border-radius:.25rem;cursor:pointer;display:inline-flex;font-size:var(--link-inline-font-size);line-height:170%;width:fit-content;color:var(--link-default)}.md-link:hover{color:var(--link-hover)}.md-link:focus{box-shadow:0 0 0 2px var(--link-focus-outline);color:var(--link-focus)}.md-link.active{color:var(--link-pressed)}.md-link.disabled,.md-link.md-link--inline.disabled{color:var(--link-disabled)!important}.md-link.md-link--inline:not(.md-link--inline-style-default){color:var(--link-inline)}.md-link.md-link--inline:not(.md-link--inline-style-default):hover{color:var(--link-inline-hover)}.md-link.md-link--inline:not(.md-link--inline-style-default):focus{color:var(--link-inline-focus)}.md-link.md-link--inline:not(.md-link--inline-style-default).active{color:var(--link-inline-pressed)}.md-link.inverted{color:var(--link-inverted)}.md-link.inverted:hover{color:var(--link-inverted-hover)}.md-link.inverted:active{color:var(--link-inverted-pressed)}.md-link.inverted:focus{box-shadow:0 0 0 2px var(--link-inverted-focus-outline);color:var(--link-inverted-focus)}.md-link .md-link--blue{color:var(--link-blue)}.md-link .md-link--blue:hover{color:var(--link-blue-hover)}.md-link .md-link--blue.active{color:var(--link-blue-active)}.md-link .md-link--red{color:var(--link-red)}.md-link .md-link--red:hover{color:var(--link-red-hover)}.md-link .md-link--red.active{color:var(--link-red-active)}.md-link .md-link--green{color:var(--link-green)}.md-link .md-link--green:hover{color:var(--link-green-hover)}.md-link .md-link--green.active{color:var(--link-green-active)}.md-link .md-link--yellow{color:var(--link-yellow)}.md-link .md-link--yellow:hover{color:var(--link-yellow-hover)}.md-link .md-link--yellow.active{color:var(--link-yellow-active)}.md-link .md-link--orange{color:var(--link-orange)}.md-link .md-link--orange:hover{color:var(--link-orange-hover)}.md-link .md-link--orange.active{color:var(--link-orange-active)}.md-link:focus{outline:0}.md-link.disabled{pointer-events:none;text-decoration:underline}.md-link--inline{font-size:var(--link-inline-font-size);line-height:100%;text-decoration:underline}.md-link:hover{text-decoration:underline}.md-link:active{text-decoration:underline}.md-link.large{font-size:var(--font-size-body-large,1rem)}.md-link.midsize{font-size:var(--font-size-body-midsize,.875rem)}.md-link.small{font-size:var(--font-size-body-small,.75rem)}@media(forced-colors:active){.md-link:focus{box-shadow:none;outline:2px solid Highlight}.md-link.disabled{color:GrayText!important}}`,s=function(e,i,n,t){var l,r=arguments.length,o=r<3?i:null===t?t=Object.getOwnPropertyDescriptor(i,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,n,t);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(o=(r<3?l(o):r>3?l(i,n,o):l(i,n))||o);return r>3&&o&&Object.defineProperty(i,n,o),o};const c=["a","div","span"],k=["","blue","red","green","yellow","orange"],v=["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],m=["large","midsize","small"],p=["default","error"];var b;!function(e){let i=class extends r.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.inlineStyle=void 0,this.inverted=void 0,this.href="",this.tag="a",this.target="_self",this.size=void 0,this._tabIndex=0}get tabIndex(){return this._tabIndex}set tabIndex(e){const i=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",i)}static get styles(){return[l.a,a]}render(){const e={["md-link--"+this.color]:this.color,"md-link--inline":this.inline,["md-link--inline-style-"+this.inlineStyle]:!!this.inlineStyle,[""+this.size]:!!this.size,inverted:!0===this.inverted,disabled:this.disabled};return r.html` ${(()=>{switch(this.tag){case"div":return r.html`
2
- <div
3
- class="md-link ${Object(o.classMap)(e)}"
4
- tabindex=${this.tabIndex}
5
- aria-label=${Object(d.ifDefined)(this.ariaLabel||void 0)}
6
- aria-disabled=${Object(d.ifDefined)(this.disabled||void 0)}
7
- role=${this.ariaRole}
8
- part="link"
9
- >
10
- <slot></slot>
11
- </div>
12
- `;case"span":return r.html`
13
- <span
14
- class="md-link ${Object(o.classMap)(e)}"
15
- tabindex=${this.tabIndex}
16
- aria-label=${Object(d.ifDefined)(this.ariaLabel||void 0)}
17
- aria-disabled=${Object(d.ifDefined)(this.disabled||void 0)}
18
- role=${this.ariaRole}
19
- part="link"
20
- >
21
- <slot></slot>
22
- </span>
23
- `;default:return r.html`
24
- <a
25
- class="md-link ${Object(o.classMap)(e)}"
26
- .target="${this.target}"
27
- href=${Object(d.ifDefined)(this.disabled?void 0:this.href)}
28
- tabindex=${this.tabIndex}
29
- aria-label=${Object(d.ifDefined)(this.ariaLabel||void 0)}
30
- aria-disabled=${Object(d.ifDefined)(this.disabled||void 0)}
31
- role=${this.ariaRole}
32
- part="link"
33
- >
34
- <slot></slot>
35
- </a>
36
- `}})()} `}};s([Object(r.property)({type:String,attribute:!1})],i.prototype,"color",void 0),s([Object(r.property)({type:String})],i.prototype,"ariaLabel",void 0),s([Object(r.property)({type:String})],i.prototype,"ariaRole",void 0),s([Object(r.property)({type:Boolean})],i.prototype,"disabled",void 0),s([Object(r.property)({type:Boolean})],i.prototype,"inline",void 0),s([Object(r.property)({type:String,attribute:"inline-style"})],i.prototype,"inlineStyle",void 0),s([Object(r.property)({type:Boolean})],i.prototype,"inverted",void 0),s([Object(r.property)({type:String})],i.prototype,"href",void 0),s([Object(r.property)({type:String})],i.prototype,"tag",void 0),s([Object(r.property)({type:String})],i.prototype,"target",void 0),s([Object(r.property)({type:String})],i.prototype,"size",void 0),s([Object(r.property)({type:Number,attribute:"tab-index",reflect:!0})],i.prototype,"tabIndex",null),i=s([Object(t.a)("md-link")],i),e.ELEMENT=i}(b||(b={}))}}]);
@@ -1,33 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[36],{56:function(o,e,t){"use strict";t.r(e),t.d(e,"Badge",(function(){return r}));var r,a=t(5),d=t(6),i=t(0),g=t(2),l=t(4),n=t(3),c=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(--font-size-body-midsize,.75rem);background-color:var(--badge-default-bg-color);color:var(--badge-default-text-color);gap:.5rem}.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(--font-size-body-midsize,.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);border:2px solid var(--badge-outline-color);background-color:rgba(0,0,0,0);border:1px solid;min-width:auto}.md-badge--gray{background-color:var(--badge-gray-bg-color);color:var(--badge-gray-text-color)}.md-badge--gold{background-color:var(--badge-gold-bg-color);color:var(--badge-gold-text-color)}.md-badge--lime{background-color:var(--badge-lime-bg-color);color:var(--badge-lime-text-color)}.md-badge--blue,.md-badge--cobalt{background-color:var(--badge-blue-bg-color);color:var(--badge-blue-text-color)}.md-badge--mint{background-color:var(--badge-mint-bg-color);color:var(--badge-mint-text-color)}.md-badge--darkmint{background-color:var(--badge-darkmint-bg-color);color:var(--badge-darkmint-text-color)}.md-badge--green{background-color:var(--badge-green-bg-color);color:var(--badge-green-text-color)}.md-badge--yellow{background-color:var(--badge-yellow-bg-color);color:var(--badge-yellow-text-color)}.md-badge--red{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color)}.md-badge--darkred{background-color:var(--badge-darkred-bg-color);color:var(--badge-darkred-text-color)}.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:.75rem;font-weight:500;padding:0 .25rem;min-width:1rem;height:1rem;justify-content:center}.md-badge--unreadcount.md-badge--outline{border:1px solid;min-width:1.125rem;height:1.125rem;border-color:var(--md-primary-bg-color)}.md-badge--orange{background-color:var(--badge-orange-bg-color);color:var(--badge-orange-text-color)}.md-badge--purple{background-color:var(--badge-purple-bg-color);color:var(--badge-purple-text-color)}.md-badge--violet{background-color:var(--badge-violet-bg-color);color:var(--badge-violet-text-color)}.md-badge--cyan{background-color:var(--badge-cyan-bg-color);color:var(--badge-cyan-text-color)}.md-badge--pink{background-color:var(--badge-pink-bg-color);color:var(--badge-pink-text-color)}.md-badge--hold{background-color:var(--badge-hold-bg-color);color:var(--badge-hold-text-color)}.md-badge--status-negative{padding:0 4px;padding-right:6px;font-weight:400;font-family:var(--brand-font-regular);background-color:var(--badge-status-negative-bg-color);color:var(--badge-status-negative-text-color);gap:.25rem}.md-badge--status-negative:hover{background-color:var(--badge-status-negative-bg-color)}.md-badge--status-negative:active{background-color:var(--badge-status-negative-bg-color)}.md-badge--status-positive{padding:0 4px;padding-right:6px;font-weight:400;font-family:var(--brand-font-regular);background-color:var(--badge-status-positive-bg-color);color:var(--badge-status-positive-text-color);gap:.25rem}.md-badge--status-positive:hover{background-color:var(--badge-status-positive-bg-color)}.md-badge--status-positive:active{background-color:var(--badge-status-positive-bg-color)}.md-badge--status-warning{padding:0 4px;padding-right:6px;font-weight:400;font-family:var(--brand-font-regular);background-color:var(--badge-status-warning-bg-color);color:var(--badge-status-warning-text-color);gap:.25rem}.md-badge--status-warning:hover{background-color:var(--badge-status-warning-bg-color)}.md-badge--status-warning:active{background-color:var(--badge-status-warning-bg-color)}.md-badge--status-accent{padding:0 4px;padding-right:6px;font-weight:400;font-family:var(--brand-font-regular);background-color:var(--badge-status-accent-bg-color);color:var(--badge-status-accent-text-color);gap:.25rem}.md-badge--status-accent:hover{background-color:var(--badge-status-accent-bg-color)}.md-badge--status-accent:active{background-color:var(--badge-status-accent-bg-color)}.md-badge--status-orange{padding:0 4px;padding-right:6px;font-weight:400;font-family:var(--brand-font-regular);background-color:var(--badge-status-orange-bg-color);color:var(--badge-status-orange-text-color);gap:.25rem}.md-badge--status-orange:hover{background-color:var(--badge-status-orange-bg-color)}.md-badge--status-orange:active{background-color:var(--badge-status-orange-bg-color)}.md-badge--disabled{background-color:var(--md-quaternary-two-bg-color);color:var(--md-disabled-text-color)}.md-badge--disabled ::slotted(md-icon){color:var(--md-disabled-text-color)}.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;width:1rem}::slotted(md-badge){height:1rem;width:1rem}::slotted(span){align-items:center;display:inline-flex;height:1rem;justify-content:center}.split-separator{margin:0 0;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(o,e,t,r){var a,d=arguments.length,i=d<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(o,e,t,r);else for(var g=o.length-1;g>=0;g--)(a=o[g])&&(i=(d<3?a(i):d>3?a(e,t,i):a(e,t))||i);return d>3&&i&&Object.defineProperty(e,t,i),i};!function(o){let e=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};`:g.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:g.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:g.nothing,this.renderWidth=()=>this.width?`width: ${this.width};`:g.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
- `:g.nothing}static get styles(){return[d.a,c]}get computedAriaHiddenSplits(){return"true"===this.ariaHiddenSplits||"false"!==this.ariaHiddenSplits&&void 0}get computedTabIndex(){const o=parseInt(this.tabIndexing);return isNaN(o)?void 0:o}render(){const o={"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=${Object(n.ifDefined)(this.computedTabIndex)}
14
- part="badge"
15
- class="md-badge ${Object(l.classMap)(o)}"
16
- aria-label=${this.ariaLabel}
17
- >
18
- ${this.split?(()=>i.html`
19
- <slot
20
- aria-hidden=${Object(n.ifDefined)(this.computedAriaHiddenSplits)}
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.computedAriaHiddenSplits)}
27
- name="split-right"
28
- class="split split-right"
29
- ></slot>
30
- `)():g.nothing}
31
- <slot></slot>
32
- </span>
33
- `}};b([Object(i.property)({type:String})],e.prototype,"ariaLabel",void 0),b([Object(i.property)({type:String})],e.prototype,"color",void 0),b([Object(i.property)({type:String})],e.prototype,"bgColor",void 0),b([Object(i.property)({type:String})],e.prototype,"textColor",void 0),b([Object(i.property)({type:String})],e.prototype,"height",void 0),b([Object(i.property)({type:String})],e.prototype,"width",void 0),b([Object(i.property)({type:Boolean})],e.prototype,"outlined",void 0),b([Object(i.property)({type:Boolean})],e.prototype,"compact",void 0),b([Object(i.property)({type:Boolean})],e.prototype,"circle",void 0),b([Object(i.property)({type:Boolean})],e.prototype,"small",void 0),b([Object(i.property)({type:Boolean})],e.prototype,"split",void 0),b([Object(i.property)({type:Boolean})],e.prototype,"disabled",void 0),b([Object(i.property)({type:String})],e.prototype,"tabIndexing",void 0),b([Object(i.property)({type:String})],e.prototype,"ariaHiddenSplits",void 0),e=b([Object(a.a)("md-badge")],e),o.ELEMENT=e}(r||(r={}))}}]);
@@ -1,23 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[37],{83:function(e,t,o){"use strict";o.r(t),o.d(t,"Favorite",(function(){return i}));o(14);var i,r=o(1),a=o(7),c=o(5),d=o(6),n=o(0),l=o(4),s=o(3),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:hover{background-color:var(--button-favorite-hover-bg-color)}.md-favorite:focus{outline:0}.md-favorite:active{background-color:var(--button-favorite-pressed-bg-color)}.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 rem-calc(2) var(--md-default-focus-outline-color)}.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)}.md-favorite--active md-icon::part(icon){color:var(--button-favorite-icon-color)}.md-favorite--active:hover md-icon::part(icon){color:var(--button-favorite-hover-icon-color)}.md-favorite--active:active md-icon::part(icon){color:var(--button-favorite-pressed-icon-color)}@media(forced-colors:active){:host{border:none}.md-favorite{background-color:ButtonFace}.md-favorite md-icon,.md-favorite md-icon::part(icon){color:ButtonText;fill: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;fill:GrayText}.md-favorite--active md-icon::part(icon){color:ButtonText;fill: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,5 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[38],{74: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(5),d=s(6),c=s(0),o=s(3),a=s(65),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){var e;const s=this.slotted[t];return null===(e=null==s?void 0:s.disabled)||void 0===e||e}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,5 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[39],{75:function(e,t,s){"use strict";s.r(t),s.d(t,"ListItem",(function(){return r}));var r,i=s(7),l=s(5),o=s(6),d=s(0),p=s(4),c=s(65),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 +0,0 @@
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(19),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(){var e;let t=document.activeElement||document.body;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}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 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[40],{66: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-flex;padding-left:2.125rem;padding-right:calc(.25rem/2);position:relative;width:100%;z-index:1;align-items:center;gap:.5rem}:host(md-checkbox) .checkbox-label::before{background:var(--checkbox-bg-color);border:.0625rem solid var(--checkbox-border-color);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)}:host(:hover:not([disabled])) .checkbox-label::before{background:var(--checkbox-hover-bg-color);border:.0625rem solid var(--checkbox-hover-border-color)}:host(:active:not([disabled])) .checkbox-label::before{background:var(--checkbox-pressed-bg-color);border:.0625rem solid var(--checkbox-pressed-border-color)}:host([disabled]){opacity:.4}:host([disabled]) .checkbox-label{cursor:not-allowed}:host([disabled]) .checkbox-label::before{background:var(--checkbox-hover-bg-color);border:.0625rem solid var(--checkbox-hover-border-color)}:host([aria-checked=true]) .checkbox-label::after{border:solid var(--checkbox-icon-color);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);border:.0625rem solid var(--checkbox-selected-border-color)}:host([indeterminate]) .checkbox-label::after{border:solid var(--checkbox-icon-color);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);border:.0625rem solid var(--checkbox-selected-border-color)}: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);border-color:var(--checkbox-selected-hover-border-color)}: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);border-color:var(--checkbox-selected-pressed-border-color)}@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,21 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[41],{84:function(e,r,t){"use strict";t.r(r),t.d(r,"ProgressBar",(function(){return a}));var a,o=t(5),s=t(6),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,26 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{85:function(e,t,o){"use strict";o.r(t),o.d(t,"Popover",(function(){return i}));o(17),o(14);var i,r=o(1),n=o(5),s=o(34),p=o(16),a=o(28),l=o(22),d=o.n(l),c=o(23),h=o.n(c),v=o(24),u=o.n(v),g=o(25),m=o.n(g),b=o(18),f=o(0),O=o(2),y=o(47),E=o(36),w=f.css`.md-popover{box-sizing:border-box;position:relative;color:var(--popover-text-color)}.md-popover *{box-sizing:inherit}.md-popover .popover-container{filter:drop-shadow(0 0 1px rgba(0, 0, 0, .12)) drop-shadow(0 24px 48px rgba(0, 0, 0, .2));box-sizing:border-box;display:none;position:absolute;z-index:1000;background-color:var(--popover-bg-color);border:1px solid var(--popover-border-color);border-radius:.5rem;padding:.75rem;min-height:24px;min-width:14px;max-width:292px}.md-popover .popover-container[data-show]{display:flex}.md-popover .popover-content{display:flex;justify-content:space-around;width:100%;flex-grow:1;font-size:1rem;font-weight:400;line-height:1.5rem}.md-popover .cancel-icon-button{position:absolute;right:.75rem;top:.75rem;padding-left:.5rem;width:1.25rem;height:1.25rem;cursor:pointer}.md-popover .popover-arrow{position:absolute;width:0;height:0;visibility:hidden}.md-popover .popover-arrow::before{content:"";position:absolute;width:16px;height:16px;background:var(--popover-bg-color);border:1px solid var(--popover-border-color);transform:rotate(45deg);visibility:visible}.popover-container[data-popper-placement^=top]>.popover-arrow{bottom:0}.popover-container[data-popper-placement^=top]>.popover-arrow::before{left:calc(50% - 8px);bottom:-9px;border-top:none;border-left:none;border-bottom-right-radius:3px}.popover-container[data-popper-placement^=bottom]>.popover-arrow{top:0}.popover-container[data-popper-placement^=bottom]>.popover-arrow::before{left:calc(50% - 8px);top:-9px;border-bottom:none;border-right:none;border-top-left-radius:3px}.popover-container[data-popper-placement^=right]>.popover-arrow{left:0}.popover-container[data-popper-placement^=right]>.popover-arrow::before{left:-9px;top:calc(50% - 8px);border-right:none;border-top:none;border-bottom-left-radius:3px}.popover-container[data-popper-placement^=left]>.popover-arrow{right:0}.popover-container[data-popper-placement^=left]>.popover-arrow::before{right:-9px;border-bottom:none;border-left:none;top:calc(50% - 8px);border-top-right-radius:3px}`,x=function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var p=e.length-1;p>=0;p--)(r=e[p])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);return n>3&&s&&Object.defineProperty(t,o,s),s},C=function(e,t,o,i){return new(o||(o=Promise))((function(r,n){function s(e){try{a(i.next(e))}catch(e){n(e)}}function p(e){try{a(i.throw(e))}catch(e){n(e)}}function a(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,p)}a((i=i.apply(e,t||[])).next())}))};!function(e){let t=class extends(Object(s.a)(f.LitElement)){constructor(){super(...arguments),this.placement="bottom",this.isOpen=!1,this.showArrow=!0,this.showClose=!1,this.interactive=!1,this.shouldWrapFocus=()=>this.interactive,this.role="dialog",this.ariaLabel=null,this.offsetDistance=5,this.trigger="click",this.triggerElement=null,this.popperInstance=null,this.isMouseOver=!1,this.onOutsideOverlayClick=e=>{var t;if(null===(t=this.trigger)||void 0===t?void 0:t.includes("manual"))return;let o=!1;const i=e.composedPath();i.length&&(o=!!i.find(e=>e===this),o||(this.isOpen=!1))},this.onWindowBlurEvent=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("manual"))||this.isOpen&&(this.isOpen=!1)},this.onOutsideOverlayKeydown=e=>C(this,void 0,void 0,(function*(){this.isOpen&&e.code===r.b.Escape&&(e.preventDefault(),this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onTriggerElementClicked=()=>{this.toggleOverlay()},this.onTriggerElementKeydown=e=>C(this,void 0,void 0,(function*(){Object(a.a)(e.code)&&(e.preventDefault(),this.toggleOverlay()),e.code===r.b.Escape&&this.isOpen&&(this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onFocusInTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&(this.isOpen=!0)},this.onFocusOutTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&!this.isMouseOver&&(this.isOpen=!1)},this.onMouseEnteredTriggerOrPopup=e=>{var t;this.isMouseOver=!0,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&this.setIsOpenDebounced(!0)},this.onMouseLeaveTriggerOrPopup=e=>{var t;this.isMouseOver=!1,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&!this.shouldStayOpenOnTriggerFocus()&&this.setIsOpenDebounced(!1)},this.setIsOpenDebounced=Object(p.b)(e=>{this.isOpen=e},100)}static get styles(){return[w]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){var e,t,o,i,r;super.disconnectedCallback(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.removeEventListener("click",this.onTriggerElementClicked),this.triggerElement.removeEventListener("keydown",this.onTriggerElementKeydown)),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(o=this.popoverContainer)||void 0===o||o.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(r=this.trigger)||void 0===r?void 0:r.includes("focus"))&&(this.triggerElement.removeEventListener("focusin",this.onFocusInTrigger),this.triggerElement.removeEventListener("focusout",this.onFocusOutTrigger)))}setupTriggerEvents(){var e,t,o,i,r;this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.addEventListener("click",this.onTriggerElementClicked.bind(this)),this.triggerElement.addEventListener("keydown",this.onTriggerElementKeydown.bind(this))),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(o=this.popoverContainer)||void 0===o||o.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(r=this.trigger)||void 0===r?void 0:r.includes("focus"))&&(this.triggerElement.addEventListener("focusin",this.onFocusInTrigger),this.triggerElement.addEventListener("focusout",this.onFocusOutTrigger)))}handleTriggerElementSlotChange(){const e=this.triggerSlot.assignedElements({flatten:!0});this.triggerElement=e.length>0?e[0]:null}onContentSlotChanged(){}shouldStayOpenOnTriggerFocus(){var e;if(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus")){return this.getRootNode().activeElement===this.triggerElement}return!1}firstUpdated(e){var t;super.firstUpdated(e),this.handleTriggerElementSlotChange(),this.setupTriggerEvents(),this.popoverContainer&&this.isOpen&&(this.createInstance(),null===(t=this.popoverContainer)||void 0===t||t.setAttribute("data-show",""))}focusInsideOverlay(){var e,t;this.focusableElements&&(this.focusableElements.length>1?null===(e=this.setInitialFocus)||void 0===e||e.call(this,1):this.focusableElements.length&&(null===(t=this.setInitialFocus)||void 0===t||t.call(this)))}focusOnTrigger(){return C(this,void 0,void 0,(function*(){requestAnimationFrame(()=>{var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.focusableElements[0].focus()})}))}toggleOverlay(){var e;(null===(e=this.triggerElement)||void 0===e?void 0:e.hasAttribute("disabled"))||(this.isOpen=!this.isOpen)}handleCreatePopperFirstUpdate(){return C(this,void 0,void 0,(function*(){var e;this.isOpen&&this.interactive&&(null===(e=this.setFocusableElements)||void 0===e||e.call(this),yield this.updateComplete,this.focusInsideOverlay())}))}createInstance(){this.triggerElement?this.popperInstance=Object(b.createPopper)(this.triggerElement,this.popoverContainer,{onFirstUpdate:()=>{this.isOpen&&this.handleCreatePopperFirstUpdate()},placement:this.placement,modifiers:[...b.defaultModifiers,h.a,u.a,m.a,d.a,{name:"preventOverflow",options:{padding:16}},{name:"offset",options:{offset:({placement:e,reference:t})=>"left"===e||"right"===e?[t.height+t.y+this.offsetDistance,E.a]:[0,this.showArrow?E.a+this.offsetDistance:this.offsetDistance]}},{name:"arrow",options:{element:this.popoverArrow,padding:E.a}},{name:"computeStyles",options:{adaptive:!0}}]}):console.warn("No trigger element not creating popper instance")}destroyInstance(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}updated(e){if(super.updated(e),e.has("isOpen")){const t=e.get("isOpen");this.isOpenUpdated(t,this.isOpen)}}isOpenUpdated(e,t){var o,i,r,n,s,p;e!==t&&(t?(this.createInstance(),this.dispatchPopoverIsOpenChanged(t),window.addEventListener("blur",this.onWindowBlurEvent),document.addEventListener("click",this.onOutsideOverlayClick),document.addEventListener("keydown",this.onOutsideOverlayKeydown),this.interactive&&(null===(o=this.activateFocusTrap)||void 0===o||o.call(this)),null===(i=this.triggerElement)||void 0===i||i.setAttribute("aria-expanded","true"),null===(r=this.popoverContainer)||void 0===r||r.setAttribute("data-show","")):(this.destroyInstance(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.dispatchPopoverIsOpenChanged(t),null===(n=this.deactivateFocusTrap)||void 0===n||n.call(this),null===(s=this.triggerElement)||void 0===s||s.removeAttribute("aria-expanded"),null===(p=this.popoverContainer)||void 0===p||p.removeAttribute("data-show")))}dispatchPopoverIsOpenChanged(e){this.dispatchEvent(new CustomEvent("popover-open-changed",{detail:{isOpen:e},composed:!0,bubbles:!0}))}render(){var e;return f.html`
2
- <div class="md-popover">
3
- <slot name="triggerElement" aria-expanded=${this.isOpen}></slot>
4
- <div
5
- part="popover"
6
- class="popover-container"
7
- role=${this.role}
8
- aria-modal=${Object(y.ifDefined)(this.interactive?"true":void 0)}
9
- aria-label=${Object(y.ifDefined)(null!==(e=this.ariaLabel)&&void 0!==e?e:void 0)}
10
- >
11
- ${this.showClose?f.html`<md-button
12
- class="cancel-icon-button"
13
- size="20"
14
- hasRemoveStyle
15
- circle
16
- @button-click=${()=>this.isOpen=!1}
17
- >
18
- <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
19
- </md-button>`:O.nothing}
20
- ${this.showArrow?f.html`<div id="arrow" class="popover-arrow"></div>`:O.nothing}
21
- <div class="popover-content" part="popover-content">
22
- <slot @slotchange=${this.onContentSlotChanged}></slot>
23
- </div>
24
- </div>
25
- </div>
26
- `}};x([Object(f.property)({type:String})],t.prototype,"placement",void 0),x([Object(f.property)({type:Boolean,attribute:"is-open"})],t.prototype,"isOpen",void 0),x([Object(f.property)({type:Boolean,attribute:"show-arrow"})],t.prototype,"showArrow",void 0),x([Object(f.property)({type:Boolean,attribute:"show-close"})],t.prototype,"showClose",void 0),x([Object(f.property)({type:Boolean})],t.prototype,"interactive",void 0),x([Object(f.property)({type:String,attribute:"role"})],t.prototype,"role",void 0),x([Object(f.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),x([Object(f.property)({type:Number,attribute:"offset-distance"})],t.prototype,"offsetDistance",void 0),x([Object(f.query)('slot[name="triggerElement"]')],t.prototype,"triggerSlot",void 0),x([Object(f.query)(".popover-container")],t.prototype,"popoverContainer",void 0),x([Object(f.query)(".popover-arrow")],t.prototype,"popoverArrow",void 0),x([Object(f.property)({type:String})],t.prototype,"trigger",void 0),x([Object(f.internalProperty)()],t.prototype,"isMouseOver",void 0),t=x([Object(n.a)("md-popover")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1,44 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{46:function(e,t,a){"use strict";a.r(t),a.d(t,"DatePicker",(function(){return i}));a(76),a(30),a(37);var i,s=a(1),o=a(31),r=a(5),n=a(9),l=a(16),c=a(21),d=a(0),h=a(3),p=a(15),u=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 n=e.length-1;n>=0;n--)(s=e[n])&&(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},m=function(e,t,a,i){return new(a||(a=Promise))((function(s,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function n(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(r,n)}l((i=i.apply(e,t||[])).next())}))};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends d.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.newMomentum=void 0,this.compactInput=void 0,this.selectedDate=Object(n.n)(),this.focusedDate=Object(n.n)(),this.filterDate=void 0,this.maxDateData=void 0,this.minDateData=void 0,this.handleDateInputChange=e=>{var t;this.value=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.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(n.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(n.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(n.s)(i,1)),a=!0;break;case"ArrowLeft":this.setPreSelection(Object(n.q)(i,1)),a=!0;break;case"ArrowRight":this.setPreSelection(Object(n.a)(i,1)),a=!0;break;case"ArrowDown":this.setPreSelection(Object(n.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?c.a.dateRangeString:this.includesTime?c.a.ISOString:c.a.ISODateString,a=RegExp(t),i={maxDate:this.maxDateData,minDate:this.minDateData,filterDate:this.filterDate};return!!this.value&&a.test(this.value)&&!Object(n.j)(p.DateTime.fromISO(this.value,{locale:this.locale}),i)}}get computedNewMomentum(){return void 0!==this.newMomentum?this.newMomentum:o.themeManager.isMomentumV2Enabled}connectedCallback(){super.connectedCallback(),this.minDate&&(this.minDateData=p.DateTime.fromISO(this.minDate,{locale:this.locale})),this.maxDate&&(this.maxDateData=p.DateTime.fromISO(this.maxDate,{locale:this.locale}))}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return m(this,void 0,void 0,(function*(){var a,i;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=p.DateTime.fromISO(this.value,{locale:this.locale}),this.setPreSelection(this.selectedDate)}e.has("locale")&&this.render(),this.minDate&&e.has("minDate")&&(this.minDateData=p.DateTime.fromISO(this.minDate,{locale:this.locale})),this.maxDate&&e.has("maxDate")&&(this.maxDateData=p.DateTime.fromISO(this.maxDate,{locale:this.locale}))}get messageArray(){return this.errorMessage?[{message:this.errorMessage,type:"error"}]:this.isValueValid()?[]:[{message:"",type:"error"}]}render(){return d.html`
2
- <md-menu-overlay is-date-picker custom-width="248px" ?disabled=${this.disabled}>
3
- ${this.customTrigger?d.html`
4
- <span slot="menu-trigger">
5
- <slot name="date-trigger"></slot>
6
- </span>
7
- `:d.html`
8
- <md-input
9
- class="date-input"
10
- slot="menu-trigger"
11
- role="combobox"
12
- ?newMomentum=${this.computedNewMomentum}
13
- placeholder=${this.placeholder?this.placeholder:"YYYY-MM-DD"}
14
- value=${Object(h.ifDefined)(this.value)}
15
- htmlId=${this.htmlId}
16
- label=${this.label}
17
- ariaLabel=${this.ariaLabel+this.chosenDateLabel()}
18
- ariaExpanded=${this.isMenuOverlayOpen?"true":"false"}
19
- ariaControls="date-overlay-content"
20
- auxiliaryContentPosition="before"
21
- ?required=${this.required}
22
- @keydown=${e=>this.handleInputKeyDown(e)}
23
- @input-change="${e=>this.handleDateInputChange(e)}"
24
- ?disabled=${this.disabled}
25
- ?hide-message=${!this.errorMessage||this.isValueValid()}
26
- ariaInvalid=${!!this.errorMessage||!this.isValueValid()}
27
- .messageArr=${this.messageArray}
28
- ?compact=${this.compactInput}
29
- >
30
- <md-icon slot="input-section" name="calendar-month-bold" size="16" iconSet="momentumDesign"></md-icon>
31
- </md-input>
32
- `}
33
-
34
- <div class="date-overlay-content">
35
- <md-datepicker-calendar
36
- @day-select=${e=>this.handleSelect(e)}
37
- @day-key-event=${e=>this.handleKeyDown(e)}
38
- .datePickerProps=${{locale:this.locale,selected:this.selectedDate,focused:this.focusedDate,weekStart:this.weekStart}}
39
- .filterParams=${{minDate:this.minDateData,maxDate:this.maxDateData,filterDate:this.filterDate}}
40
- ></md-datepicker-calendar>
41
- <slot name="time-picker"></slot>
42
- </div>
43
- </md-menu-overlay>
44
- `}};u([Object(d.property)({type:Boolean,attribute:"should-close-on-select"})],t.prototype,"shouldCloseOnSelect",void 0),u([Object(d.property)({type:String})],t.prototype,"maxDate",void 0),u([Object(d.property)({type:String})],t.prototype,"minDate",void 0),u([Object(d.property)({type:String,reflect:!0})],t.prototype,"value",void 0),u([Object(d.property)({type:String})],t.prototype,"weekStart",void 0),u([Object(d.property)({type:String,reflect:!0})],t.prototype,"placeholder",void 0),u([Object(d.property)({type:String})],t.prototype,"locale",void 0),u([Object(d.property)({type:Boolean,reflect:!0,attribute:"includes-time"})],t.prototype,"includesTime",void 0),u([Object(d.property)({type:Boolean})],t.prototype,"disabled",void 0),u([Object(d.property)({type:String})],t.prototype,"htmlId",void 0),u([Object(d.property)({type:String})],t.prototype,"label",void 0),u([Object(d.property)({type:String})],t.prototype,"ariaLabel",void 0),u([Object(d.property)({type:Boolean})],t.prototype,"required",void 0),u([Object(d.property)({type:String,reflect:!0})],t.prototype,"errorMessage",void 0),u([Object(d.property)({type:Boolean,attribute:"custom-trigger"})],t.prototype,"customTrigger",void 0),u([Object(d.property)({type:Boolean})],t.prototype,"isMenuOverlayOpen",void 0),u([Object(d.property)({type:Boolean})],t.prototype,"newMomentum",void 0),u([Object(d.property)({type:Boolean,attribute:"compact-input"})],t.prototype,"compactInput",void 0),u([Object(d.internalProperty)()],t.prototype,"selectedDate",void 0),u([Object(d.internalProperty)()],t.prototype,"focusedDate",void 0),u([Object(d.internalProperty)()],t.prototype,"filterDate",void 0),u([Object(d.internalProperty)()],t.prototype,"maxDateData",void 0),u([Object(d.internalProperty)()],t.prototype,"minDateData",void 0),u([Object(d.query)("md-menu-overlay")],t.prototype,"menuOverlay",void 0),t=u([Object(r.a)("md-datepicker")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{68: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,30 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{69: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}`},80:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingMinimizedModal",(function(){return n}));e(17),e(14);var n,o=e(1),a=e(7),r=e(5),s=e(16),l=e(6),d=(e(50),e(51),e(52),e(26)),c=e.n(d),m=(e(53),e(0)),h=e(2),p=e(3),u=e(69),f=function(t,i,e,n){var o,a=arguments.length,r=a<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(i,e,r):o(i,e))||r);return a>3&&r&&Object.defineProperty(i,e,r),r},g=function(t,i,e,n){return new(e||(e=Promise))((function(o,a){function r(t){try{l(n.next(t))}catch(t){a(t)}}function s(t){try{l(n.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?o(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,s)}l((n=n.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(a.a)(m.LitElement)){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.closeAriaLabel="Close Modal",this.minimize=!1,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.minPosition?{initialX:Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.minPosition)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:n}=this.getTransformValues(t);this.setTargetPosition(i,e,n),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[l.a,u.a]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance(),this.setFocusOnContainer()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("minPosition")&&!t.has("show")&&this.setInitialTargetPosition(),t.has("minimize")&&void 0!==t.get("minimize")&&this.setFocusOnContainer()}isNewPositionNotSame(){var t,i,e,n;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.minPosition)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(n=this.minPosition)||void 0===n?void 0:n.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),Number(null===(i=this.minPosition)||void 0===i?void 0:i.y))}setFocusOnContainer(){this.container&&(this.container.setAttribute("tabindex","0"),this.container.focus())}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-minimize-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>g(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&c()(this.container).draggable({autoScroll:!0,allowFrom:this.header,listeners:{move:this.dragMoveListener,end:this.dragEndListener},modifiers:[c.a.modifiers.restrictRect({restriction:document.body.getBoundingClientRect(),endOnly:!0})]})})}handleKeyDown(t){t.code!==o.b.Enter&&t.code!==o.b.Space||this.handleMinimize(t)}handleClose(t){this.show=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),t.stopPropagation()}handleMinimize(t){this.dragOccured||this.dispatchEvent(new CustomEvent("floating-min-modal-minimize",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),this.dragOccured=!1}getTransformValues(t){const{target:i,dx:e,dy:n}=t,{initialX:o,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+o,y:(parseFloat(i.getAttribute("data-y"))||0)+n+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&c.a.isSet(this.container)&&c()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance(),window.removeEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}render(){return m.html`
2
- ${this.show?m.html`
3
- <div
4
- class="md-floating ${this.minimize?"":"hide"} md-floating-minimize"
5
- @click=${this.handleMinimize}
6
- @keydown="${this.handleKeyDown}"
7
- role="dialog"
8
- tabindex="-1"
9
- part="floating-minimized"
10
- aria-label=${Object(p.ifDefined)(this.label||void 0)}
11
- aria-modal="true"
12
- style=${Object(p.ifDefined)(this.minPosition?`transform: translate(${this.minPosition.x}px, ${this.minPosition.y}px) !important`:`transform: ${this.containerTransform} !important`)}
13
- >
14
- <div tabindex="-1" class="md-floating__header ${this.minimize?"md-floating__header-minimize":""}">
15
- <div class="md-floating__header-text">
16
- ${this.heading?m.html` ${this.heading} `:m.html` <slot></slot> `}
17
- </div>
18
- <md-button
19
- color="color-none"
20
- class="md-floating__close"
21
- aria-label="${this.closeAriaLabel}"
22
- circle
23
- @click=${this.handleClose}
24
- >
25
- <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
26
- </md-button>
27
- </div>
28
- </div>
29
- `:h.nothing}
30
- `}};f([Object(m.property)({type:String})],i.prototype,"heading",void 0),f([Object(m.property)({type:String})],i.prototype,"label",void 0),f([Object(m.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),f([Object(m.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),f([Object(m.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),f([Object(m.property)({type:Object})],i.prototype,"minPosition",void 0),f([Object(m.query)(".md-floating")],i.prototype,"container",void 0),f([Object(m.query)(".md-floating__header")],i.prototype,"header",void 0),f([Object(m.internalProperty)()],i.prototype,"dragOccured",void 0),f([Object(m.internalProperty)()],i.prototype,"containerTransform",void 0),i=f([Object(r.a)("md-floating-modal-minimized")],i),t.ELEMENT=i}(n||(n={}))}}]);
@@ -1,16 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{61:function(e,t,d){"use strict";d.r(t),d.d(t,"MenuItem",(function(){return s}));var s,i=d(6),n=d(5),a=d(0),l=d(4),r=d(3),m=d(70),o=function(e,t,d,s){var i,n=arguments.length,a=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,d):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(t,d,a):i(t,d))||a);return n>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[i.a,m.a]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return a.html`
2
- <li
3
- role="menuitem"
4
- part="menu-item"
5
- class="md-menu-item ${Object(l.classMap)(this.menuItemClassMap)}"
6
- ?disabled=${this.disabled}
7
- tabindex="-1"
8
- aria-hidden="true"
9
- aria-selected="false"
10
- aria-label=${Object(r.ifDefined)(this.label)}
11
- >
12
- <a href="${Object(r.ifDefined)(this.href||void 0)}">
13
- <slot></slot>
14
- </a>
15
- </li>
16
- `}};o([Object(a.property)({type:String})],t.prototype,"href",void 0),o([Object(a.property)({type:String})],t.prototype,"label",void 0),o([Object(a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=o([Object(n.a)("md-menu-item")],t),e.ELEMENT=t}(s||(s={}))},70: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 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{72:function(o,e,r){"use strict";var i=r(0);e.a=i.css`:host{--radio-label-text-color:var(--radio-input-text-color)}:host(md-radio) .md-radio-wrapper{max-height:1.4375rem;display:inline-flex;max-width:100%}:host(md-radio) .md-radio-input{height:1.4375rem;position:absolute;visibility:hidden;width:100%}:host(md-radio) .md-radio-label{color:var(--md-primary-text-color);cursor:pointer;font-size:14px;line-height:1.4375rem;padding-left:1.875rem;padding-right:.5rem;pointer-events:none;position:relative;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}:host(md-radio) .md-radio-label::before{content:"";position:absolute;border:.0625rem solid var(--radio-input-border-color);border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-left-radius:50%;border-bottom-right-radius:50%;box-shadow:inset 0 0 0 .36rem var(--radio-input-bg-color),inset 0 0 0 1.25rem var(--radio-input-bg-color);box-sizing:border-box;height:1.25rem;left:.125rem;top:.0625rem;width:1.25rem}:host(:focus){box-shadow:none;outline:0}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color)}:host(:hover:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color)}:host(:active:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-pressed-border-color);box-shadow:inset 0 0 0 .36rem var(--radio-input-pressed-bg-color),inset 0 0 0 1.25rem var(--radio-input-pressed-bg-color)}:host([disabled]){cursor:not-allowed;opacity:.4}:host([disabled]) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color)}:host([aria-checked=true]) .md-radio-label:before{border-color:var(--radio-input-selected-border-color);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-bg-color),inset 0 0 0 1.25rem var(--radio-input-icon-color)}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-hover-border-color);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-hover-bg-color),inset 0 0 0 1.25rem var(--radio-input-icon-color)}:host([aria-checked=true]:active:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-pressed-border-color);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-pressed-bg-color),inset 0 0 0 1.25rem var(--radio-input-icon-color)}@media(forced-colors:active){:host(md-radio) .md-radio-label::before{border:1px solid CanvasText}:host(:active:not([disabled])) .md-radio-label:before,:host(:hover:not([disabled])) .md-radio-label:before{border:none;outline:2px solid Highlight;outline-offset:-1px}:host([aria-checked=true]) .md-radio-label:before{background-color:Highlight;border:none;outline:0}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{background-color:Highlight}:host([aria-checked=true]) .md-radio-label:after{content:"";position:absolute;top:50%;left:12px;transform:translate(-50%,-50%);width:8px;height:8px;background-color:Canvas;border-radius:50%}:host([focus-visible]:not([disabled])){outline:2px solid Highlight;outline-offset:-1px}}:host(md-radiogroup){display:flex}:host(md-radio){border-radius:.25rem;display:inline!important}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-radio){margin-bottom:calc(.25rem*3)}:host([alignment=horizontal]) div{display:inline-flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-radio){margin-right:calc(.25rem*8)}:host([disabled]) div ::slotted(md-radio){pointer-events:none}`}}]);
@@ -1,27 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{48:function(t,e,i){"use strict";i.r(e),i.d(e,"TAB_CROSS_WIDTH",(function(){return b})),i.d(e,"Tab",(function(){return h}));var s=i(1),o=i(7),a=i(5),r=i(6),l=i(0),n=i(4),d=i(3),c=i(43),p=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const b=22;var h;!function(t){let e=class extends(Object(o.a)(l.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this.type="line",this.newMomentum=!1,this.onlyIcon=!1,this.variant="ghost",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",""+t),this.tabIndex=t?-1:0,this.requestUpdate("disabled",e)}get selected(){return this._selected}set selected(t){const e=this._selected;this._selected=t,t&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+t),this.requestUpdate("selected",e)}static get styles(){return[r.a,c.a]}handleClick(t){t.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(t){t.stopPropagation(),t.code===s.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(t){t.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(t){super.update(t),t.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(t){super.firstUpdated(t),this.ariaRole&&this.setAttribute("role",this.ariaRole)}renderCrossButton(){return l.html`
2
- <div
3
- ?disabled=${this.disabled}
4
- tabindex="-1"
5
- class="tab-action-button"
6
- @click=${t=>this.handleCrossClick(t)}
7
- @keydown=${t=>this.handleCrossKeydown(t)}
8
- >
9
- <md-icon tabindex="0" name="cancel-bold" size="14" iconSet="momentumDesign"></md-icon>
10
- </div>
11
- `}render(){return l.html`
12
- <button
13
- type="button"
14
- role="button"
15
- ?disabled=${this.disabled}
16
- aria-selected="false"
17
- aria-label=${Object(d.ifDefined)(this.ariaLabel||void 0)}
18
- aria-hidden="true"
19
- tabindex="-1"
20
- part="tab"
21
- class="${Object(n.classMap)({closable:""!==this.closable,pill:"pill"===this.type,rounded:"rounded"===this.type,line:"line"===this.type,primary:"primary"===this.variant,newMomentum:this.newMomentum,onlyIcon:this.onlyIcon})}"
22
- @click=${t=>this.handleClick(t)}
23
- >
24
- <slot class="tab-slot"></slot>
25
- ${this.isCrossVisible&&this.closable?this.renderCrossButton():""}
26
- </button>
27
- `}};p([Object(l.property)({type:Number,reflect:!0})],e.prototype,"tabIndex",void 0),p([Object(l.property)({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",void 0),p([Object(l.property)({type:String,attribute:"closable"})],e.prototype,"closable",void 0),p([Object(l.property)({type:String,attribute:"name"})],e.prototype,"name",void 0),p([Object(l.property)({type:Boolean,attribute:"cross-visible"})],e.prototype,"isCrossVisible",void 0),p([Object(l.property)({type:String})],e.prototype,"ariaRole",void 0),p([Object(l.property)({type:String})],e.prototype,"type",void 0),p([Object(l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([Object(l.property)({type:Boolean})],e.prototype,"onlyIcon",void 0),p([Object(l.property)({type:String})],e.prototype,"variant",void 0),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",null),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",null),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"vertical",void 0),p([Object(l.property)({type:Boolean,reflect:!0})],e.prototype,"viewportHidden",void 0),e=p([Object(a.a)("md-tab")],e),t.ELEMENT=e}(h||(h={}))}}]);
@@ -1,5 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[49],{90:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(5),d=o(6),r=o(0),a=o(62),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.b.Space:case s.b.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.b.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.b.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.b.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.b.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
2
- <div class="md-accordion" part="accordion">
3
- <slot name="accordion-item"></slot>
4
- </div>
5
- `}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
@@ -1 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[5],{55:function(t,e,i){"use strict";i.r(e),i.d(e,"Spinner",(function(){return n}));var n,r=i(5),o=i(6),s=i(0),a=i(8),d=s.css`:host(:focus){box-shadow:none;outline:0}:host(md-spinner){line-height:1rem}:host(md-spinner) .md-spinner{border-radius:50%;display:block;position:relative;border:1px solid var(--spinner-bg-color)}:host(md-spinner) .md-spinner::after{border-bottom:1px solid transparent;border-left:1px solid var(--spinner-color);border-right:1px solid transparent;border-top:1px solid transparent}:host(md-spinner) .md-spinner::after{border-radius:50%;content:"";height:calc(100% + 2px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}@media(forced-colors:active){:host(md-spinner) .md-spinner:after{border-bottom:2px solid Highlight;border-left:2px solid HighlightText;border-right:2px solid Highlight;border-top:2px solid Highlight}}`,p=function(t,e,i,n){var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.size=56,this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[o.a,d]}get spinnerStyleMap(){return{width:this.size+"px",height:this.size+"px"}}firstUpdated(t){super.firstUpdated(t),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".md-spinner");if(!e)return;let i=null;const n=t=>{if(!this.isAnimating)return;i||(i=t);const r=t-i,o=r/1e3*360;e.style.transform=`rotate(${o}deg)`,r>=1e3&&(i=t),this.animationFrameId=requestAnimationFrame(n)};this.animationFrameId=requestAnimationFrame(n)}stopAnimation(){var t;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".md-spinner");e&&(e.style.transform="")}render(){return s.html` <i class="md-spinner" part="spinner" style=${Object(a.styleMap)(this.spinnerStyleMap)}></i> `}};p([Object(s.property)({type:Number,reflect:!0})],e.prototype,"size",void 0),p([Object(s.internalProperty)()],e.prototype,"isAnimating",void 0),e=p([Object(r.a)("md-spinner")],e),t.ELEMENT=e}(n||(n={}))}}]);
@@ -1,38 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[50],{91:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));d(14);var i,n=d(7),o=d(5),s=d(6),a=d(0),l=d(3),r=d(27),c=d(62),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
2
- <div class="md-accordion-item">
3
- <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
- <button
5
- type="button"
6
- aria-expanded=${this.expanded}
7
- class="md-accordion-expander"
8
- aria-label=${Object(l.ifDefined)(this.label||void 0)}
9
- aria-controls="panel-${this.uniqueId}"
10
- aria-disabled=${this.disabled}
11
- ?disabled=${this.disabled}
12
- id="header-${this.uniqueId}"
13
- part="accordion-button"
14
- tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
15
- @mousedown=${this.handleMouseDown}
16
- @keydown=${this.handleKeyDown}
17
- >
18
- <slot name="header-content">
19
- <span class="md-accordion-expander-label">${this.label}</span>
20
- </slot>
21
- <md-icon
22
- iconSet=${"momentumDesign"}
23
- size="14"
24
- name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
25
- ></md-icon>
26
- </button>
27
- </div>
28
- <div
29
- role="region"
30
- id="panel-${this.uniqueId}"
31
- aria-labelledby="header-${this.uniqueId}"
32
- class="md-accordion-panel"
33
- part="accordion-panel"
34
- >
35
- <slot></slot>
36
- </div>
37
- </div>
38
- `}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1,13 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[51],{92:function(t,e,i){"use strict";i.r(e),i.d(e,"activityButtonSize",(function(){return c})),i.d(e,"activityButtonType",(function(){return p})),i.d(e,"ActivityButton",(function(){return y}));var r=i(6),n=i(5),o=i(0),s=(i(17),i(14),i(63)),a=function(t,e,i,r){var n,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const c=["56","68","84",56,68,84],p=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var y;!function(t){let e=class extends o.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;p.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,["md-activity__"+this.type]:this.type}}static get styles(){return[r.a,s.a]}render(){return o.html`
2
- <md-button
3
- aria-label=${this.ariaLabel}
4
- circle
5
- .activityType=${this.type}
6
- ?containerLarge=${"84"===this.size}
7
- ?disabled=${this.disabled}
8
- .size=${this.size}
9
- .label=${this.label}
10
- >
11
- <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
12
- </md-button>
13
- `}};a([Object(o.property)({type:String})],e.prototype,"ariaLabel",void 0),a([Object(o.property)({type:Boolean})],e.prototype,"disabled",void 0),a([Object(o.property)({type:String})],e.prototype,"label",void 0),a([Object(o.property)({type:String})],e.prototype,"size",void 0),a([Object(o.property)({type:String})],e.prototype,"type",null),e=a([Object(n.a)("md-activity-button")],e),t.ELEMENT=e}(y||(y={}))}}]);
@@ -1,35 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[52],{111:function(t,e,i){"use strict";i.r(e),i.d(e,"AdvanceList",(function(){return s}));var s,r=i(1),d=i(5),o=i(33),l=i(6),a=i(0),n=i(32),c=a.css`:host(md-advance-list){list-style:none;margin:0;padding:2px;overflow:auto;position:relative;line-height:1.125rem;display:flex;flex-direction:column}.virtual-scroll{width:100%;overflow-y:auto;overflow-x:hidden;position:relative;padding:1px}.virtual-scroll:focus-visible{outline:2px solid var(--md-default-focus-outline-color)}.default-wrapper:focus,.default-wrapper:focus-visible{outline:2px solid var(--md-default-focus-outline-color);outline-offset:-2px}.default-wrapper:has([disabled]),.default-wrapper:has([disabled]):hover,.default-wrapper[aria-disabled=true]{color:var(--advance-list-disabled-text-color);background-color:rgba(0,0,0,0)}.spin-loader{display:flex;justify-content:center;width:100%}.default-wrapper.selected{background-color:var(--list-active-background);color:var(--list-active-text-color)}.default-wrapper.focused{outline:2px solid var(--md-default-focus-outline-color);outline-offset:-2px}.default-wrapper{padding:11px 12px;color:var(--advance-list-text-color);cursor:pointer;width:calc(100% - 2px);box-sizing:border-box;position:relative;border-radius:var(--advance-list-border-radius-rounded,0);display:flex;gap:.5rem}.default-wrapper-status-indicator{padding:5px;color:var(--advance-list-text-color);cursor:pointer;width:calc(100% - 2px);box-sizing:border-box;position:relative;border-radius:var(--advance-list-border-radius-rounded,0)}.default-wrapper:hover{background-color:var(--list-hover-background);color:var(--list-hover-text-color)}.default-wrapper.selected:hover{background-color:var(--list-active-background);color:var(--list-active-text-color)}.selected-border-bottom{border-bottom:1px solid var(--md-gray-20)}`,h=function(t,e,i,s){var r,d=arguments.length,o=d<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(o=(d<3?r(o):d>3?r(e,i,o):r(e,i))||o);return d>3&&o&&Object.defineProperty(e,i,o),o};!function(t){t.prefixId="item-";let e=class extends(Object(o.a)(a.LitElement)){constructor(){super(...arguments),this.items=[],this.isLoading=!1,this.isMulti=!1,this.groupOnMultiSelect=!1,this.value=[],this.ariaRoleList="listbox",this.ariaRoleListItem="option",this.ariaLabelList="",this.isError=!1,this.containerHeight="292px",this.lastSelectedIdByOrder="",this.selectAllItems=!1,this.focusReset=!1,this.disabledItems=[],this.totalRecords=0,this.scrollIndex=-1,this.activeId="",this.selectedItemsIds=[],this.isUserNavigated=!1,this.handleKeyDown=e=>{var i;const{ArrowDown:s,ArrowUp:d,Tab:o,Space:l,Enter:a}=r.b,{code:n}=e,c=n===s,h=n===d,p=n===o,u=n===l,v=n===a;if(c||h){if(e.preventDefault(),this.isUserNavigated=!0,""===this.activeId&&this.value.length>0&&""!==this.value[0])return void(this.activeId=this.value[0]);if(""===this.activeId&&!h&&this.items.length>0)return void(this.activeId=this.items[0].id);const t=this.items.findIndex(t=>t.id===this.activeId);c?t<this.items.length-1&&!this.isNextElemenentStatusIndicator(t)&&(this.scrollIndex=t+1,this.activeId=this.items[this.scrollIndex].id):t>0&&(this.scrollIndex=t-1,this.activeId=this.items[this.scrollIndex].id)}else if(p)""===this.activeId&&this.value.length>0&&(this.activeId=this.value[0]);else if((u||v)&&(e.preventDefault(),this.activeId)){const e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`#${t.prefixId}${this.activeId}`);if(e){"true"===e.getAttribute("aria-disabled")||e.hasAttribute("disabled")||this.updateItemSelection(e)}}},this.handleRangeChange=t=>{const{last:e}=t;this.updateSelectedState(),this.items.length<this.totalRecords&&e>=this.items.length-1&&!this.isLoading&&!this.isError&&this.dispatchEvent(new CustomEvent("load-more",{bubbles:!0,composed:!0})),this.isUserNavigated=!1}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClick)}static get styles(){return[l.a,c]}getStyles(){return a.html`
2
- <style>
3
- :host .virtual-scroll {
4
- height: ${this.containerHeight};
5
- }
6
- </style>
7
- `}disconnectedCallback(){var t;super.disconnectedCallback(),this.removeEventListener("click",this.handleClick),null===(t=this.listContainer)||void 0===t||t.removeEventListener("keydown",this.handleKeyDown)}firstUpdated(t){var e;super.firstUpdated(t),null===(e=this.listContainer)||void 0===e||e.addEventListener("keydown",this.handleKeyDown)}updated(t){super.updated(t),t.has("value")&&(void 0!==t.get("value")||this.value.length>0)&&this.requestUpdate().then(()=>{this.selectedItemsIds=this.value,this.updateSelectedState()}),t.has("selectAllItems")&&this.selectAllItems&&(this.selectedItemsIds=this.items.filter(t=>!this.disabledItems.includes(t.id)).map(t=>t.id),this.updateSelectedState(),this.notifySelectedChange()),t.has("focusReset")&&this.focusReset&&(this.activeId="")}setCheckboxAttributes(t,e){var i,s,r,d;!t||(null===(i=e.firstElementChild)||void 0===i?void 0:i.hasAttribute("disabled"))&&"true"===(null===(s=e.firstElementChild)||void 0===s?void 0:s.getAttribute("aria-disabled"))?null===(d=e.querySelector("md-checkbox"))||void 0===d||d.removeAttribute("checked"):null===(r=e.querySelector("md-checkbox"))||void 0===r||r.setAttribute("checked","true")}updateWrapperAttributes(t,e){this.isMulti?this.setCheckboxAttributes(e,t):t.classList.toggle("selected",e),t.setAttribute("selected",e.toString()),t.setAttribute("aria-selected",e.toString()),t.setAttribute("tabindex",e?"0":"-1")}updateSelectedState(){var e;Array.from((null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".default-wrapper"))||[]).forEach(e=>{var i,s;const r=this.selectedItemsIds.some(i=>e.id===`${t.prefixId}${i}`);this.updateWrapperAttributes(e,r),this.groupOnMultiSelect&&this.value.length>0&&this.items.length!==this.value.length&&e.id===`${t.prefixId}${this.lastSelectedIdByOrder}`?e.classList.add("selected-border-bottom"):e.classList.remove("selected-border-bottom"),e.id===`${t.prefixId}${this.activeId}`?(e.setAttribute("tabindex","0"),e.focus()):e.setAttribute("tabindex","-1"),""==this.activeId&&e.id===`${t.prefixId}${this.value[0]}`&&e.setAttribute("tabindex","0");(null===(i=e.firstElementChild)||void 0===i?void 0:i.hasAttribute("disabled"))||"true"===(null===(s=e.firstElementChild)||void 0===s?void 0:s.getAttribute("aria-disabled"))?(e.setAttribute("disabled",""),e.setAttribute("aria-disabled","true")):(e.removeAttribute("disabled"),e.removeAttribute("aria-disabled"))})}findClickedItem(t){var e;const i=Array.from((null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".default-wrapper"))||[]),s=t.composedPath(),r=i.find(t=>s.includes(t));if(r){return(null==r?void 0:r.hasAttribute("disabled"))||"true"===(null==r?void 0:r.getAttribute("aria-disabled"))?0:r}}isNextElemenentStatusIndicator(t){return(this.isLoading||this.isError)&&t===this.items.length-2}updateItemForMultiSelect(t){const e=this.selectedItemsIds.indexOf(t);-1===e?(this.selectedItemsIds.push(this.activeId),this.selectedItemsIds.length===this.items.length-this.disabledItems.length&&(this.selectAllItems=!0)):(this.selectedItemsIds.splice(e,1),this.selectAllItems=!1)}updateItemSelection(t){t&&(this.activeId=t.id.substring(t.id.indexOf("-")+1),this.isMulti?this.updateItemForMultiSelect(this.activeId):this.selectedItemsIds=[this.activeId],this.updateSelectedState(),this.notifySelectedChange())}handleClick(t){t.preventDefault(),this.isUserNavigated=!1;const e=this.findClickedItem(t);e&&(this.scrollIndex=parseInt(e.getAttribute("index")||"0"),this.updateItemSelection(e))}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selectedItemsIds},bubbles:!0,composed:!0}))}renderItem(e,i){return"status-indicator"===e.id?a.html`
8
- <div class="default-wrapper-status-indicator" id="status-indicator">${e.template(e,i)}</div>
9
- `:a.html`
10
- <div
11
- class="default-wrapper ${e.id}"
12
- part="advance-list-item-wrapper"
13
- aria-setsize="${this.totalRecords}"
14
- aria-posinset="${i+1}"
15
- role="${this.ariaRoleListItem}"
16
- aria-label=${e.name}
17
- id="${t.prefixId}${e.id}"
18
- index="${i}"
19
- >
20
- ${e.template(e,i)}
21
- </div>
22
- `}getActiveDescendant(){return this.activeId?`${t.prefixId}${this.activeId}`:this.value?`${t.prefixId}${this.value[0]}`:""}render(){return a.html`
23
- ${this.getStyles()}
24
- <div
25
- class="md-advance-list-wrapper virtual-scroll"
26
- tabindex="0"
27
- aria-activedescendant=${this.getActiveDescendant()}
28
- aria-multiselectable=${this.isMulti}
29
- aria-label=${this.ariaLabelList}
30
- role=${this.ariaRoleList}
31
- @rangechange=${this.handleRangeChange}
32
- >
33
- ${Object(n.scroll)({items:this.items,renderItem:(t,e)=>this.renderItem(t,e||0),useShadowDOM:!0,scrollToIndex:this.isUserNavigated?{index:this.scrollIndex,position:0===this.scrollIndex?"start":"center"}:void 0})}
34
- </div>
35
- `}};h([Object(a.property)({type:Array})],e.prototype,"items",void 0),h([Object(a.property)({type:Boolean})],e.prototype,"isLoading",void 0),h([Object(a.property)({type:Boolean,attribute:"is-multi"})],e.prototype,"isMulti",void 0),h([Object(a.property)({type:Boolean})],e.prototype,"groupOnMultiSelect",void 0),h([Object(a.property)({type:Array})],e.prototype,"value",void 0),h([Object(a.property)({type:String})],e.prototype,"ariaRoleList",void 0),h([Object(a.property)({type:String})],e.prototype,"ariaRoleListItem",void 0),h([Object(a.property)({type:String})],e.prototype,"ariaLabelList",void 0),h([Object(a.property)({type:Boolean})],e.prototype,"isError",void 0),h([Object(a.property)({type:String})],e.prototype,"containerHeight",void 0),h([Object(a.property)({type:String})],e.prototype,"lastSelectedIdByOrder",void 0),h([Object(a.property)({type:Boolean})],e.prototype,"selectAllItems",void 0),h([Object(a.property)({type:Boolean})],e.prototype,"focusReset",void 0),h([Object(a.property)({type:Array})],e.prototype,"disabledItems",void 0),h([Object(a.queryAll)("div.default-wrapper")],e.prototype,"lists",void 0),h([Object(a.query)(".virtual-scroll")],e.prototype,"listContainer",void 0),h([Object(a.property)({type:Number})],e.prototype,"totalRecords",void 0),h([Object(a.internalProperty)()],e.prototype,"scrollIndex",void 0),h([Object(a.internalProperty)()],e.prototype,"activeId",void 0),h([Object(a.internalProperty)()],e.prototype,"selectedItemsIds",void 0),h([Object(a.internalProperty)()],e.prototype,"isUserNavigated",void 0),e=h([Object(d.a)("md-advance-list")],e),t.ELEMENT=e}(s||(s={}))}}]);