@momentum-ui/web-components 2.17.14 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (738) 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/advance-list/AdvanceList.d.ts +1 -0
  448. package/dist/types/components/card-ai/CardAi.d.ts +2 -0
  449. package/dist/types/components/date-range-picker/DateRangePicker.d.ts +3 -4
  450. package/dist/types/components/date-time-picker/DateTimePicker.d.ts +6 -7
  451. package/dist/types/components/datepicker/DatePicker.d.ts +1 -1
  452. package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +3 -1
  453. package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +1 -1
  454. package/dist/types/components/grabber/Grabber.d.ts +1 -1
  455. package/dist/types/components/input/Input.d.ts +1 -0
  456. package/dist/types/components/timepicker/TimePicker.d.ts +2 -3
  457. package/dist/types/utils/dateUtils.d.ts +19 -4
  458. package/dist/types/utils/helpers.d.ts +1 -1
  459. package/package.json +6 -6
  460. package/dist/chunks/md-0.js +0 -1
  461. package/dist/chunks/md-1.js +0 -1
  462. package/dist/chunks/md-10.js +0 -1
  463. package/dist/chunks/md-100.js +0 -1
  464. package/dist/chunks/md-101.js +0 -1
  465. package/dist/chunks/md-102.js +0 -1
  466. package/dist/chunks/md-103.js +0 -1
  467. package/dist/chunks/md-104.js +0 -1
  468. package/dist/chunks/md-105.js +0 -1
  469. package/dist/chunks/md-106.js +0 -1
  470. package/dist/chunks/md-107.js +0 -1
  471. package/dist/chunks/md-109.js +0 -1
  472. package/dist/chunks/md-11.js +0 -1
  473. package/dist/chunks/md-110.js +0 -1
  474. package/dist/chunks/md-111.js +0 -1
  475. package/dist/chunks/md-112.js +0 -1
  476. package/dist/chunks/md-113.js +0 -1
  477. package/dist/chunks/md-114.js +0 -1
  478. package/dist/chunks/md-115.js +0 -1
  479. package/dist/chunks/md-116.js +0 -1
  480. package/dist/chunks/md-117.js +0 -1
  481. package/dist/chunks/md-118.js +0 -1
  482. package/dist/chunks/md-119.js +0 -1
  483. package/dist/chunks/md-12.js +0 -1
  484. package/dist/chunks/md-120.js +0 -1
  485. package/dist/chunks/md-121.js +0 -1
  486. package/dist/chunks/md-122.js +0 -1
  487. package/dist/chunks/md-123.js +0 -1
  488. package/dist/chunks/md-124.js +0 -1
  489. package/dist/chunks/md-125.js +0 -1
  490. package/dist/chunks/md-126.js +0 -1
  491. package/dist/chunks/md-127.js +0 -1
  492. package/dist/chunks/md-128.js +0 -1
  493. package/dist/chunks/md-129.js +0 -1
  494. package/dist/chunks/md-13.js +0 -1
  495. package/dist/chunks/md-130.js +0 -1
  496. package/dist/chunks/md-131.js +0 -1
  497. package/dist/chunks/md-132.js +0 -1
  498. package/dist/chunks/md-133.js +0 -1
  499. package/dist/chunks/md-134.js +0 -1
  500. package/dist/chunks/md-135.js +0 -1
  501. package/dist/chunks/md-136.js +0 -1
  502. package/dist/chunks/md-137.js +0 -1
  503. package/dist/chunks/md-138.js +0 -1
  504. package/dist/chunks/md-139.js +0 -1
  505. package/dist/chunks/md-14.js +0 -11
  506. package/dist/chunks/md-140.js +0 -1
  507. package/dist/chunks/md-141.js +0 -1
  508. package/dist/chunks/md-142.js +0 -1
  509. package/dist/chunks/md-143.js +0 -1
  510. package/dist/chunks/md-144.js +0 -1
  511. package/dist/chunks/md-145.js +0 -1
  512. package/dist/chunks/md-146.js +0 -1
  513. package/dist/chunks/md-147.js +0 -1
  514. package/dist/chunks/md-148.js +0 -1
  515. package/dist/chunks/md-149.js +0 -1
  516. package/dist/chunks/md-15.js +0 -9
  517. package/dist/chunks/md-150.js +0 -1
  518. package/dist/chunks/md-151.js +0 -1
  519. package/dist/chunks/md-152.js +0 -1
  520. package/dist/chunks/md-153.js +0 -1
  521. package/dist/chunks/md-154.js +0 -1
  522. package/dist/chunks/md-155.js +0 -1
  523. package/dist/chunks/md-156.js +0 -1
  524. package/dist/chunks/md-157.js +0 -1
  525. package/dist/chunks/md-158.js +0 -1
  526. package/dist/chunks/md-159.js +0 -1
  527. package/dist/chunks/md-16.js +0 -1
  528. package/dist/chunks/md-160.js +0 -1
  529. package/dist/chunks/md-161.js +0 -1
  530. package/dist/chunks/md-162.js +0 -1
  531. package/dist/chunks/md-163.js +0 -1
  532. package/dist/chunks/md-164.js +0 -1
  533. package/dist/chunks/md-165.js +0 -1
  534. package/dist/chunks/md-166.js +0 -1
  535. package/dist/chunks/md-167.js +0 -1
  536. package/dist/chunks/md-168.js +0 -1
  537. package/dist/chunks/md-169.js +0 -1
  538. package/dist/chunks/md-17.js +0 -26
  539. package/dist/chunks/md-170.js +0 -1
  540. package/dist/chunks/md-171.js +0 -1
  541. package/dist/chunks/md-172.js +0 -1
  542. package/dist/chunks/md-173.js +0 -1
  543. package/dist/chunks/md-174.js +0 -1
  544. package/dist/chunks/md-175.js +0 -1
  545. package/dist/chunks/md-176.js +0 -1
  546. package/dist/chunks/md-177.js +0 -1
  547. package/dist/chunks/md-178.js +0 -1
  548. package/dist/chunks/md-179.js +0 -1
  549. package/dist/chunks/md-18.js +0 -124
  550. package/dist/chunks/md-180.js +0 -1
  551. package/dist/chunks/md-182.js +0 -1
  552. package/dist/chunks/md-183.js +0 -1
  553. package/dist/chunks/md-184.js +0 -1
  554. package/dist/chunks/md-185.js +0 -1
  555. package/dist/chunks/md-186.js +0 -1
  556. package/dist/chunks/md-187.js +0 -1
  557. package/dist/chunks/md-188.js +0 -1
  558. package/dist/chunks/md-189.js +0 -1
  559. package/dist/chunks/md-19.js +0 -1
  560. package/dist/chunks/md-190.js +0 -1
  561. package/dist/chunks/md-191.js +0 -1
  562. package/dist/chunks/md-192.js +0 -1
  563. package/dist/chunks/md-193.js +0 -1
  564. package/dist/chunks/md-194.js +0 -1
  565. package/dist/chunks/md-195.js +0 -1
  566. package/dist/chunks/md-196.js +0 -1
  567. package/dist/chunks/md-197.js +0 -1
  568. package/dist/chunks/md-198.js +0 -1
  569. package/dist/chunks/md-199.js +0 -1
  570. package/dist/chunks/md-20.js +0 -17
  571. package/dist/chunks/md-200.js +0 -1
  572. package/dist/chunks/md-201.js +0 -1
  573. package/dist/chunks/md-202.js +0 -1
  574. package/dist/chunks/md-203.js +0 -1
  575. package/dist/chunks/md-204.js +0 -1
  576. package/dist/chunks/md-205.js +0 -1
  577. package/dist/chunks/md-206.js +0 -1
  578. package/dist/chunks/md-207.js +0 -1
  579. package/dist/chunks/md-208.js +0 -1
  580. package/dist/chunks/md-209.js +0 -1
  581. package/dist/chunks/md-21.js +0 -23
  582. package/dist/chunks/md-210.js +0 -1
  583. package/dist/chunks/md-211.js +0 -1
  584. package/dist/chunks/md-212.js +0 -1
  585. package/dist/chunks/md-213.js +0 -1
  586. package/dist/chunks/md-214.js +0 -1
  587. package/dist/chunks/md-215.js +0 -1
  588. package/dist/chunks/md-216.js +0 -1
  589. package/dist/chunks/md-217.js +0 -1
  590. package/dist/chunks/md-218.js +0 -1
  591. package/dist/chunks/md-219.js +0 -1
  592. package/dist/chunks/md-22.js +0 -8
  593. package/dist/chunks/md-220.js +0 -1
  594. package/dist/chunks/md-221.js +0 -1
  595. package/dist/chunks/md-222.js +0 -1
  596. package/dist/chunks/md-223.js +0 -1
  597. package/dist/chunks/md-224.js +0 -1
  598. package/dist/chunks/md-225.js +0 -1
  599. package/dist/chunks/md-226.js +0 -1
  600. package/dist/chunks/md-227.js +0 -1
  601. package/dist/chunks/md-228.js +0 -1
  602. package/dist/chunks/md-229.js +0 -1
  603. package/dist/chunks/md-23.js +0 -1
  604. package/dist/chunks/md-230.js +0 -1
  605. package/dist/chunks/md-231.js +0 -1
  606. package/dist/chunks/md-232.js +0 -1
  607. package/dist/chunks/md-233.js +0 -1
  608. package/dist/chunks/md-234.js +0 -1
  609. package/dist/chunks/md-235.js +0 -1
  610. package/dist/chunks/md-236.js +0 -1
  611. package/dist/chunks/md-237.js +0 -1
  612. package/dist/chunks/md-238.js +0 -1
  613. package/dist/chunks/md-239.js +0 -1
  614. package/dist/chunks/md-24.js +0 -1
  615. package/dist/chunks/md-240.js +0 -1
  616. package/dist/chunks/md-241.js +0 -1
  617. package/dist/chunks/md-242.js +0 -1
  618. package/dist/chunks/md-243.js +0 -1
  619. package/dist/chunks/md-244.js +0 -1
  620. package/dist/chunks/md-245.js +0 -1
  621. package/dist/chunks/md-246.js +0 -1
  622. package/dist/chunks/md-247.js +0 -1
  623. package/dist/chunks/md-248.js +0 -1
  624. package/dist/chunks/md-249.js +0 -1
  625. package/dist/chunks/md-25.js +0 -7
  626. package/dist/chunks/md-250.js +0 -1
  627. package/dist/chunks/md-251.js +0 -1
  628. package/dist/chunks/md-252.js +0 -1
  629. package/dist/chunks/md-253.js +0 -1
  630. package/dist/chunks/md-254.js +0 -1
  631. package/dist/chunks/md-255.js +0 -1
  632. package/dist/chunks/md-256.js +0 -1
  633. package/dist/chunks/md-257.js +0 -1
  634. package/dist/chunks/md-259.js +0 -1
  635. package/dist/chunks/md-26.js +0 -8
  636. package/dist/chunks/md-260.js +0 -1
  637. package/dist/chunks/md-261.js +0 -1
  638. package/dist/chunks/md-262.js +0 -1
  639. package/dist/chunks/md-263.js +0 -1
  640. package/dist/chunks/md-264.js +0 -1
  641. package/dist/chunks/md-265.js +0 -1
  642. package/dist/chunks/md-266.js +0 -1
  643. package/dist/chunks/md-267.js +0 -1
  644. package/dist/chunks/md-268.js +0 -1
  645. package/dist/chunks/md-269.js +0 -1
  646. package/dist/chunks/md-27.js +0 -1
  647. package/dist/chunks/md-270.js +0 -1
  648. package/dist/chunks/md-271.js +0 -1
  649. package/dist/chunks/md-272.js +0 -1
  650. package/dist/chunks/md-273.js +0 -1
  651. package/dist/chunks/md-274.js +0 -1
  652. package/dist/chunks/md-275.js +0 -1
  653. package/dist/chunks/md-276.js +0 -1
  654. package/dist/chunks/md-277.js +0 -1
  655. package/dist/chunks/md-278.js +0 -1
  656. package/dist/chunks/md-28.js +0 -1
  657. package/dist/chunks/md-280.js +0 -1
  658. package/dist/chunks/md-281.js +0 -1
  659. package/dist/chunks/md-282.js +0 -1
  660. package/dist/chunks/md-283.js +0 -1
  661. package/dist/chunks/md-29.js +0 -55
  662. package/dist/chunks/md-3.js +0 -1
  663. package/dist/chunks/md-30.js +0 -1
  664. package/dist/chunks/md-31.js +0 -216
  665. package/dist/chunks/md-32.js +0 -49
  666. package/dist/chunks/md-33.js +0 -1
  667. package/dist/chunks/md-34.js +0 -1
  668. package/dist/chunks/md-35.js +0 -36
  669. package/dist/chunks/md-36.js +0 -33
  670. package/dist/chunks/md-37.js +0 -23
  671. package/dist/chunks/md-38.js +0 -5
  672. package/dist/chunks/md-39.js +0 -5
  673. package/dist/chunks/md-4.js +0 -1
  674. package/dist/chunks/md-40.js +0 -1
  675. package/dist/chunks/md-41.js +0 -21
  676. package/dist/chunks/md-42.js +0 -26
  677. package/dist/chunks/md-43.js +0 -44
  678. package/dist/chunks/md-44.js +0 -1
  679. package/dist/chunks/md-45.js +0 -30
  680. package/dist/chunks/md-46.js +0 -16
  681. package/dist/chunks/md-47.js +0 -1
  682. package/dist/chunks/md-48.js +0 -27
  683. package/dist/chunks/md-49.js +0 -5
  684. package/dist/chunks/md-5.js +0 -1
  685. package/dist/chunks/md-50.js +0 -38
  686. package/dist/chunks/md-51.js +0 -13
  687. package/dist/chunks/md-52.js +0 -35
  688. package/dist/chunks/md-53.js +0 -36
  689. package/dist/chunks/md-54.js +0 -121
  690. package/dist/chunks/md-55.js +0 -98
  691. package/dist/chunks/md-56.js +0 -11
  692. package/dist/chunks/md-57.js +0 -5
  693. package/dist/chunks/md-58.js +0 -77
  694. package/dist/chunks/md-59.js +0 -68
  695. package/dist/chunks/md-6.js +0 -1
  696. package/dist/chunks/md-60.js +0 -28
  697. package/dist/chunks/md-61.js +0 -14
  698. package/dist/chunks/md-62.js +0 -5
  699. package/dist/chunks/md-63.js +0 -51
  700. package/dist/chunks/md-64.js +0 -22
  701. package/dist/chunks/md-65.js +0 -47
  702. package/dist/chunks/md-66.js +0 -5
  703. package/dist/chunks/md-67.js +0 -1
  704. package/dist/chunks/md-68.js +0 -23
  705. package/dist/chunks/md-69.js +0 -5
  706. package/dist/chunks/md-7.js +0 -77
  707. package/dist/chunks/md-70.js +0 -11
  708. package/dist/chunks/md-71.js +0 -138
  709. package/dist/chunks/md-72.js +0 -30
  710. package/dist/chunks/md-73.js +0 -70
  711. package/dist/chunks/md-74.js +0 -19
  712. package/dist/chunks/md-75.js +0 -22
  713. package/dist/chunks/md-76.js +0 -17
  714. package/dist/chunks/md-77.js +0 -76
  715. package/dist/chunks/md-78.js +0 -7
  716. package/dist/chunks/md-79.js +0 -73
  717. package/dist/chunks/md-8.js +0 -1
  718. package/dist/chunks/md-80.js +0 -78
  719. package/dist/chunks/md-81.js +0 -71
  720. package/dist/chunks/md-82.js +0 -17
  721. package/dist/chunks/md-83.js +0 -5
  722. package/dist/chunks/md-84.js +0 -19
  723. package/dist/chunks/md-85.js +0 -1
  724. package/dist/chunks/md-86.js +0 -168
  725. package/dist/chunks/md-87.js +0 -43
  726. package/dist/chunks/md-88.js +0 -103
  727. package/dist/chunks/md-89.js +0 -82
  728. package/dist/chunks/md-9.js +0 -26
  729. package/dist/chunks/md-90.js +0 -12
  730. package/dist/chunks/md-91.js +0 -43
  731. package/dist/chunks/md-92.js +0 -34
  732. package/dist/chunks/md-93.js +0 -1
  733. package/dist/chunks/md-94.js +0 -1
  734. package/dist/chunks/md-95.js +0 -1
  735. package/dist/chunks/md-96.js +0 -1
  736. package/dist/chunks/md-97.js +0 -1
  737. package/dist/chunks/md-98.js +0 -1
  738. package/dist/chunks/md-99.js +0 -1
@@ -1,138 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[71],{124:function(e,o,t){"use strict";t.r(o),t.d(o,"Dropdown",(function(){return g}));t(14);var r=t(1),i=t(7),d=t(16),s=t(6),n=t(0),a=t(2),l=t(11),p=t(3),c=t(13),h=t(8),u=n.css`:host(:focus){box-shadow:none!important;outline:0!important}:host .md-dropdown{display:flex;flex-direction:column;position:relative}:host .md-dropdown-select{display:none}:host .md-dropdown-label{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;background-color:var(--md-primary-bg-color);border:1px solid var(--dropdown-border-color,var(--md-secondary-seperator-color));border-radius:var(--dropdown-group-radius);min-height:2rem;padding:0 .75rem}:host .md-dropdown-label--text{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--md-secondary-text-color);line-height:2rem;outline:0;width:6.25rem;flex:1 0 auto}:host .md-dropdown-label--icon{transition:all .15s linear;align-self:center;background:rgba(0,0,0,0);border:0;cursor:pointer;margin:0;margin-left:calc(.25rem*2);outline:0;padding:0;padding-top:calc(.25rem/2);position:relative;vertical-align:bottom;height:inherit;display:flex}:host .md-dropdown-label--icon md-icon{color:var(--md-primary-text-color,#f7f7f7)}:host .md-dropdown-label:hover{background-color:var(--dropdown-bg-color-hover)}:host .md-dropdown-label:active{background-color:var(--dropdown-bg-color-active)}:host .md-dropdown-list{list-style:none;margin:0;padding:0;display:none;background-color:var(--md-primary-bg-color);border:1px solid var(--dropdown-list-border-color);border-radius:.5rem;box-shadow:0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16);left:0;overflow:auto;overflow-x:hidden;position:absolute;top:calc(100% + .25rem);width:100%;z-index:99;padding:calc(var(--dropdown-list-padding)/16*1rem)}:host .md-dropdown-option{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;color:var(--md-primary-text-color,#f7f7f7);padding:.4375rem .75rem .5rem;border-radius:calc(var(--dropdown-list-item-border-radius)/16*1rem);height:calc(var(--dropdown-list-item-height)/16*1rem)}:host .md-dropdown-option .select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:calc(100% - 1rem);display:block}:host .md-dropdown-option:hover{background-color:var(--dropdown-list-item-bg-color-hover)}:host .md-dropdown-option[focused]{background-color:var(--dropdown-list-item-bg-color-hover);box-shadow:none;outline:0;box-shadow:0 0 0 .09375rem var(--dropdown-list-item-border-focus)}:host .md-dropdown-option[selected]{background-color:var(--dropdown-list-item-bg-color-focus);box-shadow:none;outline:0;box-shadow:0 0 0 .09375rem var(--dropdown-list-item-border-focus)}:host .md-dropdown__expanded .md-dropdown-list{display:block}:host .md-dropdown__expanded .md-dropdown-label--icon{transform:rotate(180deg)}:host .md-dropdown__expanded .md-dropdown-button.arrow-down{transform:rotate(180deg)}:host .md-dropdown--pill .group,:host .md-dropdown--pill .md-dropdown-label{border-radius:18px}:host .md-dropdown .group{align-items:start;background-color:var(--md-primary-bg-color);border:1px solid var(--dropdown-border-color,var(--md-secondary-seperator-color));border-radius:var(--dropdown-group-radius);display:flex;min-height:2rem;padding:0 .75rem;height:2.125rem}:host .md-dropdown .group md-icon{color:var(--md-primary-text-color,#545454);cursor:pointer;fill:var(--md-secondary-text-color,#545454);height:100%}:host .md-dropdown .group md-icon:focus{box-shadow:none;outline:0;box-shadow:0 0 0 .125rem var(--md-focus-border-color,#545454)}:host .md-dropdown .group:hover{background-color:var(--dropdown-bg-color-hover)}:host .md-dropdown .group:active{background-color:var(--dropdown-bg-color-active)}:host .md-dropdown .group input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgba(0,0,0,0);border:0;color:var(--md-primary-text-color);display:inline-block;flex:1 1 auto;height:2rem;outline:0}:host .md-dropdown .group input::placeholder{color:var(--md-secondary-text-color)}:host .md-dropdown .group ::input-placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}:host .md-dropdown .group .md-dropdown-left-icon{margin-right:.25rem}:host .md-dropdown .md-dropdown-button[disabled] md-icon{color:var(--md-disabled-text-color,#b2b2b2)}:host .md-dropdown .md-dropdown-input[readonly]{pointer-events:none}:host .md-dropdown.md-error .group,:host .md-dropdown.md-error .group:active{border-color:var(--input-error-border-color)!important}:host .md-dropdown.md-warning .group,:host .md-dropdown.md-warning .group:active{border-color:var(--input-warning-border-color)!important}:host .md-dropdown.md-success .group,:host .md-dropdown.md-success .group:active{border-color:var(--input-success-border-color)!important}:host .help-text,:host .md-dropbox__messages{padding-top:.375rem}:host .group[readonly]{border-color:var(--dropdown-border-color-disabled)!important}:host .group[readonly] md-icon{color:var(--dropdown-bg-color-disabled)!important}:host .md-dropdown-button{transition:all .15s linear;align-self:center;background:rgba(0,0,0,0);border:0;cursor:pointer;margin:0;margin-left:calc(.25rem*2);outline:0;padding:0;position:relative;width:1.25rem;height:1.25rem;display:flex;align-items:center;justify-content:center}:host .md-dropdown-button md-icon{color:var(--combobox-dropdown-item-icon-color)}:host .md-combobox-button.clear{height:auto;padding:.115rem}:host .md-combobox-button.arrow-down:focus,:host .md-combobox-button.clear:focus{outline:2px solid var(--button-focus-ring-color,#007aa3)}:host .md-new-dropdown{height:2rem}:host .md-new-dropdown-label{background-color:var(--dropdown-bg-color-default);border-radius:8px}:host .md-new-dropdown-label--text{color:var(--md-primary-text-color)}:host .md-new-dropdown-label:hover{background-color:var(--dropdown-bg-color-hover)}:host .md-new-dropdown-label:active{background-color:var(--dropdown-bg-color-active)}:host .md-new-dropdown-label:focus{background-color:var(--dropdown-bg-color-focus)}:host .md-new-dropdown .group{height:2rem;border-radius:.5rem;background-color:rgba(0,0,0,0);padding-right:.5rem}:host(:active) .md-new-dropdown .group,:host(:active) .md-new-dropdown-label{outline:2px solid var(--input-default-outline-color);outline-offset:.125rem;box-shadow:none;border:1px solid var(--dropdown-border-color,var(--md-secondary-seperator-color))!important}:host([focus-visible]) .md-dropdown-label{border-color:var(--dropdown-border-color-focus);box-shadow:none;outline:0}:host([focus-visible]) .group{border-color:var(--dropdown-border-color-focus);background-color:var(--dropdown-bg-color-focus)}:host([focus-visible]) .md-new-dropdown .group,:host([focus-visible]) .md-new-dropdown-label{outline:2px solid var(--dropdown-border-color-focus)!important;outline-offset:.125rem!important;box-shadow:none;border-color:var(--combobox-focus-new-border-color)}:host([disabled]) .md-dropdown-label{background-color:var(--md-tertiary-bg-color)}:host([disabled]) .md-dropdown-label:active,:host([disabled]) .md-dropdown-label:hover{background-color:var(--md-tertiary-bg-color);pointer-events:none}:host([disabled]) .md-dropdown-label:active>md-icon,:host([disabled]) .md-dropdown-label:hover>md-icon{opacity:.3}:host([disabled]) .md-dropdown-label:focus-visible{border-color:var(--dropdown-border-color-focus);outline:0}:host([disabled]) .group{background-color:var(--md-tertiary-bg-color)}:host([disabled]) .group md-icon{opacity:.3}:host([disabled]) .group:active,:host([disabled]) .group:hover{background-color:var(--md-tertiary-bg-color);pointer-events:none}:host([disabled]) .group:focus-visible{border-color:var(--dropdown-border-color-focus);outline:0}:host([disabled]) md-help-text{color:var(--md-disabled-text-color,#b2b2b2)}:host([disabled]) .md-new-dropdown-label{background-color:rgba(0,0,0,0);border-color:var(--dropdown-border-color-disabled,#b2b2b2);outline:0!important;box-shadow:none}:host([disabled]) .md-new-dropdown-label--text{color:var(--md-disabled-text-color)}:host([disabled]) .md-new-dropdown-label .md-dropdown-label--icon md-icon{color:var(--md-disabled-text-color)}:host([disabled]) .md-new-dropdown-label:active,:host([disabled]) .md-new-dropdown-label:hover{background-color:rgba(0,0,0,0);pointer-events:none;outline:0!important;box-shadow:none;border-color:var(--dropdown-border-color-disabled,#b2b2b2)}:host([disabled]) .md-new-dropdown-label:focus-visible{border-color:var(--dropdown-border-color-disabled);outline:0!important;box-shadow:none}:host([disabled]) .md-new-dropdown .group{background:rgba(0,0,0,0);border-color:var(--dropdown-border-color-disabled);pointer-events:none;outline:0!important}:host([disabled]) .md-new-dropdown .group input{color:var(--md-disabled-text-color)}:host([disabled]) .md-new-dropdown .group input::placeholder{color:var(--md-disabled-text-color)}:host([disabled]) .md-new-dropdown .group:active,:host([disabled]) .md-new-dropdown .group:hover{border-color:var(--dropdown-border-color-disabled)}:host([disabled]) .md-new-dropdown .group:focus-visible{border-color:var(--dropdown-border-color-disabled)}@media(forced-colors:active){:host([focus-visible]) .md-dropdown .md-dropdown-label{border:2px solid Highlight}:host([focus-visible]) .md-dropdown .md-dropdown-label--text{forced-color-adjust:none;background-color:Canvas;color:CanvasText}:host([focus-visible]) .md-dropdown-list{border:1px solid CanvasText}:host .md-dropdown-option[focused]{forced-color-adjust:none;background-color:Highlight;color:HighlightText}:host .group input{color:HighlightText}:host .group input::placeholder{color:GrayText}:host([disabled]) .md-dropdown .md-dropdown-label{border:1px solid GrayText}:host([disabled]) .group,:host([disabled]) .group:active{border:1px solid GrayText!important;outline:0!important}:host([disabled]) .group input,:host([disabled]) .group:active input{color:GrayText}:host([disabled]) .group input::placeholder,:host([disabled]) .group:active input::placeholder{color:GrayText}}`,b=function(e,o,t,r){var i,d=arguments.length,s=d<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,t,r);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(s=(d<3?i(s):d>3?i(o,t,s):i(o,t))||s);return d>3&&s&&Object.defineProperty(o,t,s),s},m=function(e,o,t,r){return new(t||(t=Promise))((function(i,d){function s(e){try{a(r.next(e))}catch(e){d(e)}}function n(e){try{a(r.throw(e))}catch(e){d(e)}}function a(e){var o;e.done?i(e.value):(o=e.value,o instanceof t?o:new t((function(e){e(o)}))).then(s,n)}a((r=r.apply(e,o||[])).next())}))};var g;!function(e){class o{determineMessageType(e){return e.reduce((e,o)=>"error"===o?e:o.type,"")}filterMessagesByType(e,o){return e.reduce((e,t)=>t.type===o?e.concat(t.message):e,[])}}e.MessageController=o;let t=class extends(Object(i.a)(n.LitElement)){constructor(){super(...arguments),this.title="Select...",this.options=[],this.optionId="",this.optionValue="",this.defaultOption="",this.disabled=!1,this.customTabIndex=0,this.allowUnselected=!1,this.visibleOptions=8,this.newMomentum=!1,this.compact=!1,this.searchable=!1,this.searchItem=!1,this.inputValue="",this.placeholder="Select...",this.readOnly=!1,this.autofocus=!1,this.leftIcon="",this.trimSpace=!1,this.resultsTextLocalization="No Results",this.pill=!1,this.helpText="",this.messageArr=[],this.htmlId="",this.clearAriaLabel="Clear",this.clearIconHeight="auto",this.arrowAriaLabel="Expand",this.popupChevronAriaHidden="true",this.ariaLabel="",this.searchResultAriaLabel="",this.ariaLabelForDropdown="",this.renderOptions=[],this.selectedKey="",this.expanded=!1,this.focusedIndex=-1,this.messageController=new o,this.lastMaxHeight="",this.onOutsideClick=e=>{let o=!1;const t=e.composedPath();t.length&&(o=!!t.find(e=>e===this),o||this.expanded&&this.collapse())},this.onKeyDown=e=>{switch(e.code){case r.b.Tab:this.expanded&&(e.stopPropagation(),this.collapse());break;case r.b.Space:case r.b.Enter:this.expanded?(this.select(),this.collapse()):this.expand();break;case r.b.ArrowDown:this.expanded?this.focusNext():this.expand();break;case r.b.ArrowUp:this.expanded?this.focusPrev():this.expand();break;case r.b.Home:this.expanded?this.focusFirst():this.expand();break;case r.b.End:this.expanded?this.focusLast():this.expand();break;case r.b.Escape||r.b.Backspace:this.expanded&&(e.stopPropagation(),this.collapse())}},this.notifyInputValueChanged=Object(d.b)(e=>{this.dispatchEvent(new CustomEvent("dropdown-input",{composed:!0,bubbles:!0,detail:{value:e}})),this.notifySearchResultCount(),requestAnimationFrame(()=>{this.input.focus()})},250)}connectedCallback(){super.connectedCallback(),this.setupEvents()}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}firstUpdated(e){super.firstUpdated(e),e.forEach((e,o)=>{if("defaultOption"===o&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}}),this.searchable&&this.setInitialValue()}updated(e){super.updated(e),e.forEach((e,o)=>{if("options"===o&&this.updateRenderOptions(),"selectedKey"===o){const e=this.renderOptions.findIndex(e=>e.key===this.selectedKey);-1!==e&&(this.focusToIndex(e),this.searchable&&this.setInitialValue())}if("expanded"===o&&this.updateListDOM(),"focusedIndex"===o&&this.updateListDOM(),"defaultOption"===o&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}})}notifySearchResultCount(){if(this.searchResultAriaLabel){const e=/{{.*?}}/g;this.ariaLabelForDropdown=this.searchResultAriaLabel.replace(e,this.filteredOptions.length.toString())}else this.ariaLabel?this.ariaLabelForDropdown=`${this.ariaLabel}, ${this.filteredOptions.length} results found.`:this.ariaLabelForDropdown=`Dropdown Element, ${this.filteredOptions.length} results found.`}setInitialValue(){var e;if(this.options.length){const o=this.renderOptions.find(e=>e.key===this.selectedKey),t=null==o?void 0:o.option;t&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(r.a.AriaActivedescendant,this.getOptionId(t)),this.notifyInputValueChanged(this.getOptionValue(t)),this.requestUpdate())}}getOptionValue(e){return this.isOptionObject(e)&&!this.optionValue?Object.values(e)[0]:this.isOptionObject(e)?e[this.optionValue]:e}getOptionId(e){return this.isOptionObject(e)?e[this.optionId]:e}isOptionObject(e){return"object"==typeof e&&null!==e}updateRenderOptions(){const e=[];this.focusReset();const o=this.options.reduce((o,t)=>{const{key:r,value:i}=this.getOptionKeyValuePair(t);return-1!==e.indexOf(r)?console.error(`Dropdown already have option key: "${r}". Ignoring `):r?(e.push(r),o.push({key:r,value:i,option:t})):console.error(`Dropdown key is not defined: "${r}". (value: "${i}"). Ignoring `),o},[]);this.allowUnselected&&o.unshift({key:"",value:this.title}),this.renderOptions=o}updateListDOM(){return m(this,void 0,void 0,(function*(){this.expanded&&(yield this.resizeDropdownList(),yield this.scrollToIndex(this.focusedIndex))}))}resizeDropdownList(){return m(this,void 0,void 0,(function*(){yield new Promise(e=>requestAnimationFrame(()=>{if(this.optionsListItems)if(this.optionsListItems.length>this.visibleOptions){const e=[...this.optionsListItems].slice(0,this.visibleOptions).reduce((e,o)=>e+o.offsetHeight,0)+"px";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}else{const e="auto";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}e()}))}))}handleFocusIn(e){this.disabled&&this.readOnly||super.handleFocusIn&&super.handleFocusIn(e),this.dispatchEvent(new CustomEvent("dropdown-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.dispatchEvent(new CustomEvent("dropdown-focus-out",{composed:!0,bubbles:!0}))}static get styles(){return[s.a,u]}get filteredOptions(){const e=this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue;if(!e.trim())return this.renderOptions;const o=this.renderOptions.filter(o=>o.value.toLowerCase().includes(e.toLowerCase()));return 0===o.length?[{key:"no-result",value:"No Result",disabled:!0}]:o}get messageType(){return this.messageArr.length>0?this.messageController.determineMessageType(this.messageArr):null}get messages(){return this.messageType?this.messageController.filterMessagesByType(this.messageArr,this.messageType):null}setVisualListbox(e){this.expanded=e}updateOnNextFrame(e){requestAnimationFrame(e)}setInputValue(e=""){this.input.value=e}shouldChangeButton(){const e=this.input&&this.input.value.length>0;return e&&document.dispatchEvent(new CustomEvent("on-widget-update")),e}toggleVisualListBox(e){var o,t;if(!this.readOnly){if(e.target.classList.contains("md-dropdown-input"))e.target.focus();else if("md-icon"===e.target.localName){const r=null===(t=null===(o=e.target.parentElement)||void 0===o?void 0:o.parentElement)||void 0===t?void 0:t.parentElement;if(r){const e=r.querySelector(".md-dropdown-input");setTimeout(()=>{e.focus()},10)}}this.expanded?this.setVisualListbox(!1):(this.dispatchEvent(new CustomEvent("combobox-on-expand",{composed:!0,bubbles:!0})),this.notifySearchResultCount(),this.setVisualListbox(!0)),this.input.focus()}}handleRemoveAll(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}removeAllSelected(){var e;this.focusReset(),this.selectedKey="",this.inputValue="",this.setInputValue(),null===(e=this.input)||void 0===e||e.setAttribute(r.a.AriaActivedescendant,""),this.setVisualListbox(!1),this.updateOnNextFrame(()=>{this.input.focus()}),this.dispatchEvent(new CustomEvent("dropdown-selection-removed",{composed:!0,bubbles:!0,detail:{}}))}setupEvents(){document.addEventListener("click",this.onOutsideClick),this.addEventListener("keydown",this.onKeyDown),this.addEventListener("remove-all-selected",this.removeAllSelected)}teardownEvents(){document.removeEventListener("click",this.onOutsideClick),this.removeEventListener("keydown",this.onKeyDown),this.removeEventListener("remove-all-selected",this.removeAllSelected)}expand(){this.expanded=!0;const e=-1!==this.focusedIndex?"combo-"+this.focusedIndex:"";document.dispatchEvent(new CustomEvent("on-widget-update")),this.label.setAttribute("aria-activedescendant",e),this.optionsList&&this.optionsList.focus(),-1===this.focusedIndex&&this.focusNext()}collapse(){this.expanded=!1,this.searchable||this.label.setAttribute("aria-activedescendant","")}toggle(){this.expanded?this.collapse():this.expand()}select(){if(-1!==this.focusedIndex){const e=this.renderOptions[this.focusedIndex],o=e.key;o!==this.selectedKey&&(this.selectedKey=o,this.dispatchEvent(new CustomEvent("dropdown-selected",{composed:!0,bubbles:!0,detail:{option:e.option?e.option:e.key}})))}}onLabelClick(){this.label.focus(),this.toggle()}focusFirst(){this.renderOptions.length&&(this.focusedIndex=0)}focusLast(){this.renderOptions.length&&(this.focusedIndex=this.renderOptions.length-1)}focusNext(){this.renderOptions.length&&(-1!==this.focusedIndex&&this.focusedIndex<this.renderOptions.length-1?this.focusedIndex++:this.focusFirst())}focusPrev(){this.renderOptions.length&&(this.focusedIndex>0?this.focusedIndex--:this.focusLast())}focusToIndex(e){this.renderOptions.length&&e>=0&&e<=this.renderOptions.length-1&&(this.focusedIndex=e)}focusToIndexWithOption(e){const o=this.renderOptions.findIndex(o=>o.key===e.key);this.renderOptions.length&&o>=0&&o<=this.renderOptions.length-1&&(this.focusedIndex=o)}focusReset(){this.focusedIndex=-1}scrollToIndex(e){return m(this,void 0,void 0,(function*(){yield new Promise(o=>{requestAnimationFrame(()=>{if(this.optionsListItems&&this.optionsListItems.length>this.visibleOptions&&e>=0&&this.optionsListItems.length>e){let o=0;const{top:t,bottom:r}=this.optionsList.getBoundingClientRect(),i=this.optionsListItems[e],d=this.optionsListItems[e+1]||i,s=this.optionsListItems[e-1]||i,n=d.getBoundingClientRect(),a=s.getBoundingClientRect();n.bottom>r?o=n.bottom-r+2:a.top<t&&(o=a.top-t-2),this.optionsList.scrollTop+=o}o()})})}))}getOptionKeyValuePair(e){if("string"==typeof e)return{key:e.trim(),value:e};if(e&&"object"==typeof e){const o=Object.keys(e),t=Object.values(e);if(o.length){if(1===o.length||!this.optionId)return{key:o[0],value:t[0]};if(this.optionId)return{key:e[this.optionId],value:e[this.optionValue||this.optionId]}}}return{key:"undefined",value:"undefined"}}get labelTitle(){if(this.selectedKey){const e=this.renderOptions.find(e=>e.key===this.selectedKey);if(e)return e.value}return this.title}get dropDownClassMap(){return{"md-dropdown__expanded":this.expanded,["md-"+this.messageType]:!!this.messageType,"md-new-dropdown":this.newMomentum,"md-dropdown--pill":!0===this.pill}}handleInput(e){const o=e.target.value;this.inputValue=o.trim(),this.notifyInputValueChanged(o.trim())}helpTextTemplate(){return this.helpText?a.html`
2
- <md-help-text
3
- class="help-text ${Object(l.classMap)({disabled:this.disabled,newMomentum:this.newMomentum})}"
4
- .message=${this.helpText}
5
- style=${Object(h.styleMap)({width:"100%"})}
6
- ></md-help-text>
7
- `:a.nothing}messagesTemplate(){return this.messages&&this.messages.length?a.html`
8
- <div id="${this.htmlId}-message" part="message" class="md-dropbox__messages">
9
- ${Object(c.repeat)(this.messages,(e,o)=>a.html`
10
- <md-help-text
11
- .message=${e}
12
- .id=${this.messageArr[o].id||""}
13
- .ariaLive=${this.messageArr[o].ariaLive||"polite"}
14
- .messageType=${this.messageType}
15
- ></md-help-text>
16
- `)}
17
- </div>
18
- `:a.nothing}iconTemplate(){return a.html`
19
- <md-icon
20
- class="md-dropdown-left-icon"
21
- name="${this.leftIcon}"
22
- size="16"
23
- iconSet="momentumDesign"
24
- @click=${this.toggleVisualListBox}
25
- ></md-icon>
26
- `}clearButtonTemplate(){return a.html`
27
- <button
28
- type="button"
29
- class="md-dropdown-button clear"
30
- aria-label=${this.clearAriaLabel}
31
- aria-controls="md-dropdown-input"
32
- tabindex="0"
33
- ?readonly=${this.readOnly}
34
- ?disabled=${this.disabled}
35
- @click=${this.handleRemoveAll}
36
- >
37
- <md-icon
38
- class="md-input__icon-clear"
39
- name="cancel-bold"
40
- size="16"
41
- iconSet="momentumDesign"
42
- style="height: ${this.clearIconHeight};"
43
- ></md-icon>
44
- </button>
45
- `}arrowButtonTemplate(){return a.html`
46
- <button
47
- type="button"
48
- class="md-dropdown-button arrow-down"
49
- aria-expanded=${this.expanded}
50
- aria-label=${Object(p.ifDefined)("true"===this.popupChevronAriaHidden?void 0:this.arrowAriaLabel)}
51
- aria-controls="md-dropdown-input"
52
- tabindex="-1"
53
- aria-hidden=${Object(p.ifDefined)("true"===this.popupChevronAriaHidden?"true":void 0)}
54
- ?readonly=${this.readOnly}
55
- ?disabled=${this.disabled}
56
- @click=${this.toggleVisualListBox}
57
- >
58
- <md-icon name="arrow-down-bold" size="16" iconSet="momentumDesign"></md-icon>
59
- </button>
60
- `}render(){return a.html`
61
- <div class="md-dropdown ${Object(l.classMap)(this.dropDownClassMap)}" part="dropdown">
62
- ${this.searchable?a.html`
63
- <div part="group" class="group" ?readonly=${this.readOnly}>
64
- ${this.leftIcon?this.iconTemplate():a.nothing}
65
- <input
66
- class="md-dropdown-input"
67
- type="text"
68
- role="combobox"
69
- aria-autocomplete="both"
70
- aria-label=${this.title}
71
- part="dropdown-input"
72
- aria-expanded=${this.expanded}
73
- placeholder=${this.placeholder}
74
- aria-controls="md-dropdown-list"
75
- ?readonly=${this.readOnly}
76
- ?disabled=${this.disabled}
77
- ?autofocus=${this.autofocus}
78
- title=${this.title}
79
- tabindex="0"
80
- .value=${this.inputValue}
81
- @click=${this.toggleVisualListBox}
82
- @input=${this.handleInput}
83
- />
84
- ${this.compact||!this.searchable?a.nothing:this.shouldChangeButton()?this.clearButtonTemplate():this.arrowButtonTemplate()}
85
- </div>
86
- `:a.html`
87
- <label
88
- class="md-dropdown-label ${Object(l.classMap)({"md-new-dropdown-label":this.newMomentum})}"
89
- aria-expanded="${this.expanded}"
90
- aria-label="${this.title}"
91
- aria-controls="md-dropdown-list"
92
- aria-haspopup="listbox"
93
- ?disabled="${this.disabled}"
94
- @click="${()=>this.onLabelClick()}"
95
- part="dropdown-header"
96
- role="combobox"
97
- tabindex="0"
98
- >
99
- <span class="md-dropdown-label--text ${Object(l.classMap)({"md-new-dropdown-label--text":this.newMomentum})}"
100
- >${this.labelTitle}</span
101
- >
102
- <span class="md-dropdown-label--icon">
103
- <md-icon name="arrow-down-bold" size="16" iconSet="momentumDesign"></md-icon>
104
- </span>
105
- </label>
106
- `}
107
- <ul
108
- id="md-dropdown-list"
109
- class="md-dropdown-list"
110
- role="listbox"
111
- aria-label="${this.labelTitle}"
112
- aria-hidden="${!this.expanded}"
113
- part="dropdown-options"
114
- tabindex=${Object(p.ifDefined)(-1===this.customTabIndex?void 0:this.customTabIndex)}
115
- >
116
- ${this.filteredOptions.map((e,o)=>a.html`
117
- <li
118
- id="combo-${o}"
119
- class="md-dropdown-option"
120
- role="option"
121
- tabindex=${Object(p.ifDefined)(-1===this.customTabIndex?void 0:this.customTabIndex)}
122
- aria-label="${e.value}"
123
- label="${e.value}"
124
- aria-selected="${e.key===this.selectedKey}"
125
- part="dropdown-option"
126
- ?focused="${o===this.focusedIndex}"
127
- ?selected="${e.key===this.selectedKey}"
128
- @click="${()=>{this.focusToIndexWithOption(e),this.select(),this.collapse()}}"
129
- >
130
- <span class="select-label" part="label">
131
- <span>${e.value}</span>
132
- </span>
133
- </li>
134
- `)}
135
- </ul>
136
- </div>
137
- ${this.messagesTemplate()} ${this.helpTextTemplate()}
138
- `}};b([Object(n.property)({type:String,attribute:"title"})],t.prototype,"title",void 0),b([Object(n.property)({type:Array})],t.prototype,"options",void 0),b([Object(n.property)({type:String,attribute:"option-id"})],t.prototype,"optionId",void 0),b([Object(n.property)({type:String,attribute:"option-value"})],t.prototype,"optionValue",void 0),b([Object(n.property)({type:Object})],t.prototype,"defaultOption",void 0),b([Object(n.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),b([Object(n.property)({type:Number,attribute:"custom-tab-index",reflect:!0})],t.prototype,"customTabIndex",void 0),b([Object(n.property)({type:Boolean,attribute:"allow-unselected",reflect:!0})],t.prototype,"allowUnselected",void 0),b([Object(n.property)({type:Number,attribute:"visible-option",reflect:!0})],t.prototype,"visibleOptions",void 0),b([Object(n.property)({type:Boolean})],t.prototype,"newMomentum",void 0),b([Object(n.property)({type:Boolean,reflect:!0})],t.prototype,"compact",void 0),b([Object(n.property)({type:Boolean,reflect:!0})],t.prototype,"searchable",void 0),b([Object(n.property)({type:Boolean,reflect:!0})],t.prototype,"searchItem",void 0),b([Object(n.property)({type:String,attribute:"input-value",reflect:!0})],t.prototype,"inputValue",void 0),b([Object(n.property)({type:String})],t.prototype,"placeholder",void 0),b([Object(n.property)({type:Boolean,reflect:!0})],t.prototype,"readOnly",void 0),b([Object(n.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),b([Object(n.property)({type:String,attribute:"left-icon",reflect:!0})],t.prototype,"leftIcon",void 0),b([Object(n.property)({type:Boolean,reflect:!0,attribute:"search-trim-space"})],t.prototype,"trimSpace",void 0),b([Object(n.property)({type:String,attribute:"no-results-i18n"})],t.prototype,"resultsTextLocalization",void 0),b([Object(n.property)({type:Boolean})],t.prototype,"pill",void 0),b([Object(n.property)({type:String})],t.prototype,"helpText",void 0),b([Object(n.property)({type:Array})],t.prototype,"messageArr",void 0),b([Object(n.property)({type:String})],t.prototype,"htmlId",void 0),b([Object(n.property)({type:String,attribute:"clear-aria-label"})],t.prototype,"clearAriaLabel",void 0),b([Object(n.property)({type:String,attribute:"clear-icon-height"})],t.prototype,"clearIconHeight",void 0),b([Object(n.property)({type:String,attribute:"arrow-aria-label"})],t.prototype,"arrowAriaLabel",void 0),b([Object(n.property)({type:String,attribute:"popup-chevron-aria-hidden"})],t.prototype,"popupChevronAriaHidden",void 0),b([Object(n.property)({type:String,reflect:!0})],t.prototype,"ariaLabel",void 0),b([Object(n.property)({type:String,attribute:"search-result-aria-label"})],t.prototype,"searchResultAriaLabel",void 0),b([Object(n.internalProperty)()],t.prototype,"ariaLabelForDropdown",void 0),b([Object(n.internalProperty)()],t.prototype,"renderOptions",void 0),b([Object(n.internalProperty)()],t.prototype,"selectedKey",void 0),b([Object(n.internalProperty)()],t.prototype,"expanded",void 0),b([Object(n.internalProperty)()],t.prototype,"focusedIndex",void 0),b([Object(n.query)("label")],t.prototype,"label",void 0),b([Object(n.query)(".md-dropdown-input")],t.prototype,"input",void 0),b([Object(n.query)("ul.md-dropdown-list")],t.prototype,"optionsList",void 0),b([Object(n.queryAll)("li.md-dropdown-option")],t.prototype,"optionsListItems",void 0),t=b([Object(i.f)("md-dropdown")],t),e.ELEMENT=t}(g||(g={}))}}]);
@@ -1,30 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[72],{125:function(e,t,i){"use strict";i.r(t),i.d(t,"alignment",(function(){return f})),i.d(t,"EditableTextfield",(function(){return g}));var d=i(21),l=i(6),r=i(49),a=i.n(r),s=i(5),o=i(0),n=i(2),c=i(4),h=i(3),b=i(30),p=o.css`:focus{outline:0}.md-editable-textfield{border-radius:.25rem;line-height:1.3571428571 rem;min-height:2rem;overflow-y:auto;padding:0 .375rem 0 .375rem}.md-editable-textfield:hover{background-color:var(--editable-textfield-default-hover-bg-color,#ededed)}.md-editable-textfield:active{background-color:var(--editable-textfield-default-pressed-bg-color,#dedede)}.md-editable-textfield:focus{box-shadow:0 0 0 .0625rem var(--md-default-focus-outline-color,#007aa3)}.md-editable-textfield--left .md-input{text-align:left}.md-editable-textfield--center .md-input{text-align:center}.md-editable-textfield--center ::slotted(*){text-align:center}.md-editable-textfield--right .md-input{text-align:right}.md-editable-textfield--right ::slotted(*){text-align:right}.md-editable-textfield--disabled{background-color:rgba(0,0,0,0);color:var(--md-secondary-text-color,#545454);cursor:default}.md-editable-textfield--disabled:hover{background-color:rgba(0,0,0,0)}.md-editable-textfield--disabled:focus{box-shadow:none;outline:0}.md-editable-textfield--error{background-color:var(--md-alert-error-bg-color,#ffe8e3);border:1px solid var(--editable-textfield-error-border-color,#a12512);color:var(--md-alert-error-text-color,#a12512)}.md-editable-textfield--error:focus{box-shadow:none;outline:0}.md-editable-textfield--warning{background-color:var(--md-alert-warning-bg-color,#ffecc2);border:1px solid var(--editable-textfield-warning-border-color,#d97f00);color:var(--md-alert-warning-text-color,#7d4705)}.md-editable-textfield--warning:focus{box-shadow:none;outline:0}.md-editable-textfield--success{background-color:var(--md-alert-success-bg-color,#befade);border:1px solid var(--editable-textfield-success-border-color,#00ab50);color:var(--md-alert-success-text-color,#03612c)}.md-editable-textfield--success:focus{box-shadow:none;outline:0}.md-editable-textfield--textoverflow{-webkit-box-orient:vertical;display:-webkit-box;overflow-y:hidden;text-overflow:ellipsis}.md-editable-textfield__messages{padding:.375rem 0 0 1rem}@media(forced-colors:active){.md-editable-textfield:focus{outline:1px solid Highlight;box-shadow:none}.md-editable-textfield--disabled{color:GrayText;cursor:default}.md-editable-textfield--disabled:focus{box-shadow:none;outline:0}}`,m=function(e,t,i,d){var l,r=arguments.length,a=r<3?t:null===d?d=Object.getOwnPropertyDescriptor(t,i):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,d);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(a=(r<3?l(a):r>3?l(t,i,a):l(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a};const f=["left","right","center"];var g;!function(e){let t=class extends o.LitElement{constructor(){super(...arguments),this.alignment="left",this.disabled=!1,this.isEditing=!1,this.maxLines="",this.content="Click to edit text",this.message={type:"error",message:"That is not a valid input."},this.alert=!1,this.hideMessage=!1,this.pattern="",this.type=null,this.ariaLabel="editable field",this.ariaDescribedBy="",this.messageController=new b.Input.MessageController,this.reportValidity=()=>{this.dispatchEvent(new Event("invalid",{bubbles:!1,cancelable:!0,composed:!0}))},this.checkValidity=e=>{let t=!0;const i=i=>{null===e.match(i)&&(t=!1)};if(this.pattern){i(new RegExp(this.pattern))}else if(e&&this.type)switch(this.type){case"integer":i(new RegExp(d.a.integerString));break;case"decimal":i(new RegExp(d.a.decimalString))}return t},this.handleFocus=()=>{this.disabled||(this.isEditing=!0,this.setRange())},this.handleKeydown=e=>{var t;const{key:i,code:d}=e;if(["Tab","Meta","Shift","Delete","Backspace","Arrow"].some(e=>d.includes(e)))return;("integer"===this.type&&i.includes(".")||("integer"===this.type||"decimal"===this.type)&&d.match("Space"))&&e.preventDefault();const l=(null===(t=this.editableField)||void 0===t?void 0:t.innerText.trim())+i;if(this.type)if(isNaN(Number(l)))e.preventDefault();else{if("integer"!==this.type||Number.isInteger(Number(l)))return;e.preventDefault()}},this.handleBlur=()=>{var e;this.isEditing=!1,this.maxLines.length>0&&this.editableField&&this.editableField.scrollTo(0,0),this.content=(null===(e=this.editableField)||void 0===e?void 0:e.innerText.trim())||"",this.alert=!1,this.handleValidation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.handleFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.handleFocus)}firstUpdated(e){super.firstUpdated(e),this.innerText&&this.innerText.length>0?this.content=this.innerText.trim():this.innerText=a.a.sanitize(this.content)}updated(e){super.updated(e),e.has("content")&&this.editableField&&(this.editableField.innerText=a.a.sanitize(this.content))}setRange(){var e;if(this.editableField){const t=document.createRange(),i=window.getSelection(),d=null===(e=this.editableField.childNodes[0].nodeValue)||void 0===e?void 0:e.length;if(t.setStart(this.editableField.childNodes[0],d||0),t.collapse(!0),!i||0!==i.toString().length)return;i.removeAllRanges(),i.addRange(t),this.maxLines.length>0&&(this.editableField.scrollTop=this.editableField.scrollHeight)}}handleValidation(){if(this.type||this.pattern){this.checkValidity&&this.checkValidity(this.content)||(this.reportValidity(),this.showAlert())}}showAlert(){this.alert=!0}static get styles(){return[l.a,p]}get overflowStyles(){return this.maxLines.length&&this.maxLines.length>0&&`max-height: ${2*parseInt(this.maxLines)}rem; -webkit-line-clamp: ${this.maxLines}; word-break: break-all;`}messagesTemplate(){var e,t,i;return this.alert?o.html`
2
- <div class="md-editable-textfield__messages" style="display: ${this.hideMessage?"none":"block"}">
3
- <md-help-text
4
- id="alert-message"
5
- role="alert"
6
- aria-live="assertive"
7
- .messageType=${null===(e=this.message)||void 0===e?void 0:e.type}
8
- aria-errormessage=${Object(h.ifDefined)(null===(t=this.message)||void 0===t?void 0:t.message)}
9
- >
10
- ${null===(i=this.message)||void 0===i?void 0:i.message}
11
- </md-help-text>
12
- </div>
13
- `:n.nothing}render(){var e;const t={["md-editable-textfield--"+this.alignment]:this.alignment,"md-editable-textfield--disabled":this.disabled,["md-editable-textfield--"+(null===(e=this.message)||void 0===e?void 0:e.type)]:this.alert&&!!this.message,"md-editable-textfield--textoverflow":this.maxLines.length>0&&!this.isEditing};return o.html`
14
- <div
15
- style="${this.overflowStyles}"
16
- class="md-editable-textfield ${Object(c.classMap)(t)}"
17
- role=${Object(h.ifDefined)(this.disabled?void 0:"textbox")}
18
- tabindex=${this.disabled?"-1":"0"}
19
- ?contenteditable=${this.isEditing}
20
- @focus=${this.handleFocus}
21
- @blur=${this.handleBlur}
22
- @keydown=${e=>{this.handleKeydown(e)}}
23
- aria-invalid=${Object(h.ifDefined)(this.disabled?void 0:this.alert?"true":"false")}
24
- aria-label=${Object(h.ifDefined)(this.disabled?void 0:this.ariaLabel)}
25
- aria-describedby=${Object(h.ifDefined)(this.disabled?void 0:this.ariaDescribedBy)}
26
- >
27
- ${a.a.sanitize(this.content)}
28
- </div>
29
- ${this.messagesTemplate()}
30
- `}};m([Object(o.property)({type:String})],t.prototype,"alignment",void 0),m([Object(o.property)({type:Boolean})],t.prototype,"disabled",void 0),m([Object(o.property)({type:Boolean})],t.prototype,"isEditing",void 0),m([Object(o.property)({type:String,attribute:"max-lines",reflect:!0})],t.prototype,"maxLines",void 0),m([Object(o.property)({type:String,reflect:!0})],t.prototype,"content",void 0),m([Object(o.property)({type:Object})],t.prototype,"message",void 0),m([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"alert",void 0),m([Object(o.property)({type:Boolean})],t.prototype,"hideMessage",void 0),m([Object(o.property)({type:String})],t.prototype,"pattern",void 0),m([Object(o.property)({type:String})],t.prototype,"type",void 0),m([Object(o.property)({type:String})],t.prototype,"ariaLabel",void 0),m([Object(o.property)({type:String,attribute:"aria-described-by"})],t.prototype,"ariaDescribedBy",void 0),m([Object(o.query)(".md-editable-textfield")],t.prototype,"editableField",void 0),t=m([Object(s.a)("md-editable-field")],t),e.ELEMENT=t}(g||(g={}))}}]);
@@ -1,70 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[73],{101:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingModal",(function(){return o}));e(17),e(14);var o,n=e(7),a=e(5),s=e(6),r=(e(50),e(51),e(52),e(26)),l=e.n(r),d=(e(53),e(0)),c=e(2),h=e(3),m=(e(80),e(69)),p=function(t,i,e,o){var n,a=arguments.length,s=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,o);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(s=(a<3?n(s):a>3?n(i,e,s):n(i,e))||s);return a>3&&s&&Object.defineProperty(i,e,s),s},b=function(t,i,e,o){return new(e||(e=Promise))((function(n,a){function s(t){try{l(o.next(t))}catch(t){a(t)}}function r(t){try{l(o.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?n(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(s,r)}l((o=o.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(n.a)(Object(n.e)(d.LitElement))){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.aspectRatio=!1,this.fixed=!1,this.full=!1,this.closeAriaLabel="Close Modal",this.resizeAriaLabel="Resize Modal",this.maximizeScreenLabel="Maximize Modal",this.minimizeAriaLabel="Minimize Modal",this.minimize=!1,this.minimizable=!1,this.containerRect=null,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.resizeMoveListener=t=>{const{target:i}=t;let e=parseFloat(i.getAttribute("data-x"))||0,o=parseFloat(i.getAttribute("data-y"))||0;i.style.setProperty("width",t.rect.width+"px","important"),i.style.setProperty("height",t.rect.height+"px","important");const{initialX:n,initialY:a}=this.getInitialPosition();e+=t.deltaRect.left+n,o+=t.deltaRect.top+a,this.setTargetPosition(i,e,o),this.applyInitialPosition=!1},this.resizeEndListener=()=>{this.setContainerRect()},this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.position?{initialX:Number(null===(t=this.position)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.position)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:o}=this.getTransformValues(t);this.setTargetPosition(i,e,o),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[s.a,m.a]}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("position")&&!t.has("show")&&this.setInitialTargetPosition()}isNewPositionNotSame(){var t,i,e,o;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.position)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(o=this.position)||void 0===o?void 0:o.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.position)||void 0===t?void 0:t.x),Number(null===(i=this.position)||void 0===i?void 0:i.y))}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>b(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerRect=this.container.getBoundingClientRect(),this.dispatchEvent(new CustomEvent("floating-modal-resize",{composed:!0,bubbles:!0,detail:{size:this.containerRect}})),this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&l()(this.container).resizable({edges:{left:!0,right:!0,bottom:!0,top:!0},listeners:{end:this.resizeEndListener,move:this.resizeMoveListener},modifiers:this.aspectRatio?[l.a.modifiers.aspectRatio({ratio:"preserve",equalDelta:!0,modifiers:[l.a.modifiers.restrictSize({max:"parent"})]})]:void 0}).draggable({autoScroll:!0,allowFrom:this.header,ignoreFrom:this.body,listeners:{move:this.dragMoveListener,end:this.dragEndListener}})})}handleClose(t){this.show=!1,this.full=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}}))}handleMinimize(){this.minimizable&&(this.dragOccured||(this.minimize=!this.minimize,this.dispatchEvent(new CustomEvent("floating-modal-minimize",{composed:!0,bubbles:!0,detail:{minimize:this.minimize}}))),this.dragOccured=!1)}handleToggleExpandCollapse(){this.full=!this.full}getTransformValues(t){const{target:i,dx:e,dy:o}=t,{initialX:n,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+n,y:(parseFloat(i.getAttribute("data-y"))||0)+o+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&l.a.isSet(this.container)&&l()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance()}renderedCallback(){this.containerTransform=this.position?`translate(${this.position.x}px, ${this.position.y}px)`:""}render(){return d.html`
2
- ${this.show?d.html`
3
- <div
4
- class="md-floating ${this.fixed?"fixed":""} ${this.minimize?"hide":""}"
5
- part="floating"
6
- role="dialog"
7
- aria-label=${Object(h.ifDefined)(this.label||void 0)}
8
- aria-modal="true"
9
- style=${Object(h.ifDefined)(this.containerRect?`width: ${this.full?"100% !important":this.containerRect.width+"px !important"};\n height: ${this.full?"100% !important":this.containerRect.height+"px !important"};\n top: ${this.full?"0 !important":""};\n left: ${this.full?"0 !important":""};\n bottom: ${this.full?"0 !important":""};\n right: ${this.full?"0 !important":""};\n ${this.full?"transform: none !important":""};\n ${this.full?"":`transform: ${this.position?`translate(${this.position.x}px, ${this.position.y}px)`:this.containerTransform} !important`};`:void 0)}
10
- >
11
- <div class="md-floating__header">
12
- <div class="md-floating__header-text">
13
- ${this.heading?d.html` ${this.heading} `:d.html`
14
- ${!this.minimize&&this.headerSlot}
15
- <slot name="header"></slot>
16
- `}
17
- </div>
18
- ${this.minimizable?d.html` <md-button
19
- color="color-none"
20
- class="md-floating__minimize"
21
- ariaLabel="${this.minimizeAriaLabel}"
22
- circle
23
- @click=${this.handleMinimize}
24
- >
25
- <md-icon name="minus-bold" size="16" iconSet="momentumDesign"></md-icon>
26
- </md-button>`:c.nothing}
27
- ${this.minimize?"":d.html` <md-button
28
- color="color-none"
29
- class="md-floating__resize"
30
- ariaLabel="${this.full?this.resizeAriaLabel:this.maximizeScreenLabel}"
31
- circle
32
- @click=${this.handleToggleExpandCollapse}
33
- >
34
- <md-icon
35
- name=${this.full?"minimize-bold":"maximize-bold"}
36
- size="16"
37
- iconSet="momentumDesign"
38
- ></md-icon>
39
- </md-button>`}
40
-
41
- <md-button
42
- color="color-none"
43
- class="md-floating__close"
44
- ariaLabel="${this.closeAriaLabel}"
45
- circle
46
- @click=${this.handleClose}
47
- >
48
- <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
49
- </md-button>
50
- </div>
51
- <div class="md-floating__body" part="floating-body">
52
- <slot></slot>
53
- </div>
54
- </div>
55
- ${this.minimizable?d.html` <div class="md-floating-min-parent" part="minimize-floating" tabindex="-1">
56
- <md-floating-modal-minimized
57
- class="float-modal-min"
58
- part="floating-minimized"
59
- heading=${this.heading}
60
- .minimize=${this.minimize}
61
- .minPosition=${this.minPosition}
62
- @floating-min-modal-minimize=${()=>this.handleMinimize()}
63
- @floating-modal-close=${this.handleClose}
64
- ?show=${this.show}
65
- >
66
- ${this.minimize&&this.headerSlot}
67
- </md-floating-modal-minimized>
68
- </div>`:c.nothing}
69
- `:c.nothing}
70
- `}};p([Object(d.property)({type:String})],i.prototype,"heading",void 0),p([Object(d.property)({type:String})],i.prototype,"label",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"aspect-ratio"})],i.prototype,"aspectRatio",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"fixed-strategy"})],i.prototype,"fixed",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"full-screen"})],i.prototype,"full",void 0),p([Object(d.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),p([Object(d.property)({type:String,attribute:"resize-aria-label"})],i.prototype,"resizeAriaLabel",void 0),p([Object(d.property)({type:String,attribute:"maximize-aria-label"})],i.prototype,"maximizeScreenLabel",void 0),p([Object(d.property)({type:String,attribute:"minimize-aria-label"})],i.prototype,"minimizeAriaLabel",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),p([Object(d.property)({type:Object})],i.prototype,"position",void 0),p([Object(d.property)({type:Object})],i.prototype,"minPosition",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"minimizable",void 0),p([Object(d.property)({type:Object})],i.prototype,"containerRect",void 0),p([Object(d.internalProperty)()],i.prototype,"dragOccured",void 0),p([Object(d.query)(".md-floating")],i.prototype,"container",void 0),p([Object(d.query)(".md-floating__body")],i.prototype,"body",void 0),p([Object(d.query)(".md-floating__header")],i.prototype,"header",void 0),p([Object(d.query)(".md-floating-min-parent")],i.prototype,"minimizedHeader",void 0),p([Object(d.query)('slot[name="header"]')],i.prototype,"headerSlot",void 0),i=p([Object(a.a)("md-floating-modal")],i),t.ELEMENT=i}(o||(o={}))}}]);
@@ -1,19 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[74],{102:function(t,e,i){"use strict";i.r(e),i.d(e,"Form",(function(){return o}));var o,r=i(7),n=i(0),s=i(3),a=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};!function(t){let e=class extends(Object(r.e)(n.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="get",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=t=>{t.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=t=>{this.allowRedirect||t.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}get formMethod(){return"GET"===this.method?"get":"POST"===this.method?"post":this.method}isSubmittable(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement}isDisabled(t){return t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")}findSubmittable(t,e){const i=Array.from(t.children);for(const t of i)if(!this.isDisabled(t))if(this.isSubmittable(t)&&e.add(t),t.shadowRoot)this.findSubmittable(t.shadowRoot,e);else if("SLOT"===t.tagName){const i=t.assignedElements();if(i.length){const{parentElement:t}=i[0];t&&this.findSubmittable(t,e)}}else this.findSubmittable(t,e);return[...e]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:t}=this;t.requestSubmit?t.requestSubmit():t.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(t){t.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:t}=this;if(t.length)for(const e of t)this.deleteWrappedForm(e);this.formElement=[]}createWrappedForm(t){const e=document.createElement("form");e.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=t;t.autocomplete=this.token,t.id||(t.id=this.autofillname),t.name||(t.name=this.autofillname),i&&(this.formElement.push(e),i.insertBefore(e,t),e.append(t))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const t=this.findSubmittable(this.form,new Set);if(t.length)for(const e of t)this.createWrappedForm(e)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return n.html`
2
- <form
3
- class="md-form"
4
- role="form"
5
- name=${Object(s.ifDefined)(this.name||void 0)}
6
- rel=${Object(s.ifDefined)(this.rel||void 0)}
7
- action=${Object(s.ifDefined)(this.action||void 0)}
8
- accept-charset=${this.charset}
9
- enctype=${this.enctype}
10
- aria-label=${Object(s.ifDefined)(this.label||void 0)}
11
- ?novalidate=${this.novalidate}
12
- method=${this.formMethod}
13
- target=${this.target}
14
- part="form"
15
- @submit=${this.handleFormSubmit}
16
- >
17
- <slot></slot>
18
- </form>
19
- `}};a([Object(n.property)({type:String})],e.prototype,"rel",void 0),a([Object(n.property)({type:String})],e.prototype,"name",void 0),a([Object(n.property)({type:String})],e.prototype,"action",void 0),a([Object(n.property)({type:String})],e.prototype,"label",void 0),a([Object(n.property)({type:String})],e.prototype,"method",void 0),a([Object(n.property)({type:String})],e.prototype,"target",void 0),a([Object(n.property)({type:String})],e.prototype,"enctype",void 0),a([Object(n.property)({type:Boolean,reflect:!0,attribute:"no-validate"})],e.prototype,"novalidate",void 0),a([Object(n.property)({type:String,reflect:!0,attribute:"accept-charset"})],e.prototype,"charset",void 0),a([Object(n.property)({type:Boolean,reflect:!0,attribute:"is-valid"})],e.prototype,"isvalid",void 0),a([Object(n.property)({type:String,attribute:"autofill-token"})],e.prototype,"token",void 0),a([Object(n.property)({type:Boolean,attribute:"allow-redirect"})],e.prototype,"allowRedirect",void 0),a([Object(n.property)({type:String,attribute:"autofill-name"})],e.prototype,"autofillname",void 0),a([Object(n.query)(".md-form")],e.prototype,"form",void 0),e=a([Object(r.f)("md-form")],e),t.ELEMENT=e}(o||(o={}))}}]);
@@ -1,22 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[75],{126:function(e,r,t){"use strict";t.r(r),t.d(r,"Grabber",(function(){return o}));t(14);var o,a=t(31),i=t(7),b=t(5),d=t(28),n=t(6),s=t(0),l=t(4),c=t(3),g=s.css`:host{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center}.md-grabber__container{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center;overflow:hidden}.md-grabber__container.shadow{transition:box-shadow .15s ease-in-out;box-shadow:var(--grabber-shadow)}.md-grabber__container:focus-within{transition:box-shadow 0 ease-in-out;box-shadow:0 0 0 2px var(--md-default-focus-outline-color)}.md-grabber__container.leading{border-radius:0 var(--grabber-border-radius) var(--grabber-border-radius) 0}.md-grabber__container.trailing{border-radius:var(--grabber-border-radius) 0 0 var(--grabber-border-radius)}.md-grabber__container.top{border-radius:0 0 var(--grabber-border-radius) var(--grabber-border-radius)}.md-grabber__container.bottom{border-radius:var(--grabber-border-radius) var(--grabber-border-radius) 0 0}.md-grabber{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center;position:relative;gap:2px;background-color:var(--grabber-bg-color);border-color:var(--grabber-border-color);justify-content:center;align-items:center;cursor:pointer;transition:transform 150ms ease-in-out}.md-grabber.visible{transform:translate3d(0,0,0)}.md-grabber:hover{background-color:var(--grabber-hover-bg-color)}.md-grabber:active{background-color:var(--grabber-pressed-bg-color)}.md-grabber:focus{outline:0}.md-grabber--leading,.md-grabber--trailing{width:var(--grabber-width,20px);height:40px;border-radius:0 var(--grabber-border-radius) var(--grabber-border-radius) 0;border:1px solid var(--grabber-border-color);border-left-width:0}.md-grabber--leading.md-grabber--dragger,.md-grabber--trailing.md-grabber--dragger{cursor:ew-resize}.md-grabber--leading:not(.visible),.md-grabber--trailing:not(.visible){transform:translate3d(-100%,0,0)}.md-grabber--trailing{rotate:180deg}.md-grabber--bottom,.md-grabber--top{width:40px;height:var(--grabber-width,20px);border-radius:0 0 var(--grabber-border-radius) var(--grabber-border-radius);border:1px solid var(--grabber-border-color);border-top-width:0}.md-grabber--bottom.md-grabber--dragger,.md-grabber--top.md-grabber--dragger{cursor:ns-resize}.md-grabber--bottom:not(.visible),.md-grabber--top:not(.visible){transform:translate3d(0,-100%,0)}.md-grabber--bottom{rotate:180deg}.md-grabber md-icon,.md-grabber md-icon::part(icon){color:var(--grabber-text-color);width:fit-content;height:fit-content}.md-grabber--disabled{background-color:rgba(0,0,0,0)}.md-grabber--disabled:active,.md-grabber--disabled:hover{background-color:rgba(0,0,0,0)}.md-grabber--disabled md-icon::part(icon){color:var(--button-disabled-text-color)}@media(forced-colors:active){.md-grabber__container:focus-within{outline:2px solid ButtonText;outline-offset:1px}.md-grabber{background-color:Highlight}.md-grabber:hover{background-color:Highlight}.md-grabber:active{background-color:Highlight}.md-grabber md-icon,.md-grabber md-icon::part(icon){forced-color-adjust:none;color:HighlightText}}`,h=function(e,r,t,o){var a,i=arguments.length,b=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)b=Reflect.decorate(e,r,t,o);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(b=(i<3?a(b):i>3?a(r,t,b):a(r,t))||b);return i>3&&b&&Object.defineProperty(r,t,b),b};!function(e){let r=class extends(Object(i.a)(s.LitElement)){constructor(){super(...arguments),this.label="Expand",this.checkedLabel="Collapse",this.hovered=!1,this.disabled=!1,this.checked=!1,this.visible=!0,this.focused=!1,this.disableClickToggle=!1,this.alignment="leading",this.dragger=!1,this.shadow=!1}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}static get styles(){return[n.a,g]}toggleGrabber(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("grabber-toggled",{detail:{checked:this.checked},bubbles:!0,composed:!0})))}handleMouseDown(){this.disableClickToggle||this.toggleGrabber()}handleKeyDown(e){this.disableClickToggle||Object(d.a)(e.code)&&(e.preventDefault(),this.toggleGrabber())}handleMouseEnter(){this.hovered=!0,this.dispatchHoverEvent()}handleMouseLeave(){this.hovered=!1,this.dispatchHoverEvent()}handleFocus(){this.focused=!0}handleBlur(){this.focused=!1}dispatchHoverEvent(){this.dispatchEvent(new CustomEvent("grabber-hover-changed",{bubbles:!0,composed:!0,detail:{hovered:this.hovered}}))}get collapsed(){return!this.checked}get grabberClassMap(){return{"md-grabber--active":this.checked,"md-grabber--disabled":this.disabled,"md-grabber--dragger":this.dragger,["md-grabber--"+this.alignment]:this.alignment,visible:this.visible||this.focused}}get grabberContainerClassMap(){return{[""+this.alignment]:!0,shadow:this.shadow&&(this.visible||this.checked)}}get iconName(){return this.dragger?"list-menu-bold":"leading"===this.alignment||"trailing"===this.alignment?this.checked?"arrow-left-bold":"arrow-right-bold":this.checked?"arrow-up-bold":"arrow-down-bold"}get iconSize(){return this.dragger||!1===a.themeManager.isMomentumV2Enabled?"10":"12"}render(){return s.html`
2
- <div class="md-grabber__container ${Object(l.classMap)(this.grabberContainerClassMap)}">
3
- <button
4
- class="md-grabber ${Object(l.classMap)(this.grabberClassMap)}"
5
- part="grabber"
6
- aria-pressed=${this.checked}
7
- ?disabled=${this.disabled}
8
- tabindex="0"
9
- aria-label=${Object(c.ifDefined)(this.label.length?this.label:void 0)}
10
- type="button"
11
- role="button"
12
- @click="${()=>this.handleMouseDown()}"
13
- @keydown="${e=>this.handleKeyDown(e)}"
14
- @mouseenter="${()=>this.handleMouseEnter()}"
15
- @mouseleave="${()=>this.handleMouseLeave()}"
16
- @focus="${()=>this.handleFocus()}"
17
- @blur="${()=>this.handleBlur()}"
18
- >
19
- <md-icon name="${this.iconName}" size="${this.iconSize}" iconSet="momentumDesign"></md-icon>
20
- </button>
21
- </div>
22
- `}};h([Object(s.property)({type:String})],r.prototype,"label",void 0),h([Object(s.property)({type:String})],r.prototype,"checkedLabel",void 0),h([Object(s.property)({type:Boolean})],r.prototype,"hovered",void 0),h([Object(s.property)({type:Boolean})],r.prototype,"disabled",void 0),h([Object(s.property)({type:Boolean})],r.prototype,"checked",void 0),h([Object(s.property)({type:Boolean})],r.prototype,"visible",void 0),h([Object(s.property)({type:Boolean})],r.prototype,"focused",void 0),h([Object(s.property)({type:Boolean,attribute:"disable-click-toggle"})],r.prototype,"disableClickToggle",void 0),h([Object(s.property)({type:String,reflect:!0})],r.prototype,"alignment",void 0),h([Object(s.property)({type:Boolean})],r.prototype,"dragger",void 0),h([Object(s.property)({type:Boolean})],r.prototype,"shadow",void 0),r=h([Object(b.a)("md-grabber")],r),e.ELEMENT=r}(o||(o={}))}}]);
@@ -1,17 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[76],{127:function(s,e,t){"use strict";t.r(e),t.d(e,"InputFile",(function(){return a}));t(17);var a,i=t(7),r=t(6),l=t(29),n=t.n(l),o=t(0),j=t(2),c=t(3),p=o.css`:host(md-input-file) md-button{margin:.25rem}:host(md-input-file) input[type=file]{display:none}`,u=function(s,e,t,a){var i,r=arguments.length,l=r<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(s,e,t,a);else for(var n=s.length-1;n>=0;n--)(i=s[n])&&(l=(r<3?i(l):r>3?i(e,t,l):i(e,t))||l);return r>3&&l&&Object.defineProperty(e,t,l),l},m=function(s,e,t,a){return new(t||(t=Promise))((function(i,r){function l(s){try{o(a.next(s))}catch(s){r(s)}}function n(s){try{o(a.throw(s))}catch(s){r(s)}}function o(s){var e;s.done?i(s.value):(e=s.value,e instanceof t?e:new t((function(s){s(e)}))).then(l,n)}o((a=a.apply(s,e||[])).next())}))};!function(s){let e=class extends o.LitElement{constructor(){super(...arguments),this.acceptLanguage="javascript",this.getLocalization="Input File",this.acceptTypes="",this.fileName=""}static get styles(){return[r.a,p]}triggerFileLoad(s){s.preventDefault(),this.input.click()}handleFile(s){return m(this,void 0,void 0,(function*(){s.preventDefault();const e=this.input.files;if(e&&0!==e.length)for(const s of e){this.fileName=s.name;try{yield this.readFile(s)}catch(s){console.error("Error reading file",s)}}}))}readFile(s){return new Promise((e,t)=>{const a=new FileReader;a.onload=s=>{e(s.target.result)},a.onerror=s=>t(s),a.readAsText(s)})}importLanguage(s){return m(this,void 0,void 0,(function*(){try{const{default:e}=yield t(96)("./"+s);n.a.registerLanguage(""+s,e),this.setAcceptTypes()}catch(s){console.warn("Please set correct language name")}}))}getAllAcceptTypes(){const s=n.a.listLanguages();return s.length?s.map(s=>n.a.getLanguage(""+s).aliases).map(s=>s.map(s=>"."+s)).join(","):""}setAcceptTypes(){this.acceptTypes=this.getAllAcceptTypes()}updated(s){super.updated(s),s.has("acceptLanguage")&&this.importLanguage(this.acceptLanguage)}render(){return o.html`
2
- <div class="md-input-file">
3
- <label for="file-input">
4
- <md-button color="blue" class="md-input-file-btn" @click=${this.triggerFileLoad}>
5
- ${this.getLocalization.trim()}
6
- </md-button>
7
- ${this.fileName.length?this.fileName:j.nothing}
8
- </label>
9
- <input
10
- type="file"
11
- id="file-input"
12
- name="file-input"
13
- accept=${Object(c.ifDefined)(this.acceptTypes||void 0)}
14
- @change=${s=>this.handleFile(s)}
15
- />
16
- </div>
17
- `}};u([Object(o.property)({type:String,attribute:"accept-language"})],e.prototype,"acceptLanguage",void 0),u([Object(o.property)({type:String})],e.prototype,"getLocalization",void 0),u([Object(o.query)("input[type='file']")],e.prototype,"input",void 0),u([Object(o.internalProperty)()],e.prototype,"acceptTypes",void 0),u([Object(o.internalProperty)()],e.prototype,"fileName",void 0),e=u([Object(i.f)("md-input-file")],e),s.ELEMENT=e}(a||(a={}))},96:function(s,e,t){var a={"./1c":[137,93],"./1c.js":[137,93],"./abnf":[138,94],"./abnf.js":[138,94],"./accesslog":[139,95],"./accesslog.js":[139,95],"./actionscript":[140,96],"./actionscript.js":[140,96],"./ada":[141,97],"./ada.js":[141,97],"./angelscript":[142,98],"./angelscript.js":[142,98],"./apache":[143,99],"./apache.js":[143,99],"./applescript":[144,100],"./applescript.js":[144,100],"./arcade":[145,101],"./arcade.js":[145,101],"./arduino":[146,102],"./arduino.js":[146,102],"./armasm":[147,103],"./armasm.js":[147,103],"./asciidoc":[148,104],"./asciidoc.js":[148,104],"./aspectj":[149,105],"./aspectj.js":[149,105],"./autohotkey":[150,106],"./autohotkey.js":[150,106],"./autoit":[151,107],"./autoit.js":[151,107],"./avrasm":[152,108],"./avrasm.js":[152,108],"./awk":[153,109],"./awk.js":[153,109],"./axapta":[154,110],"./axapta.js":[154,110],"./bash":[155,111],"./bash.js":[155,111],"./basic":[156,112],"./basic.js":[156,112],"./bnf":[157,113],"./bnf.js":[157,113],"./brainfuck":[158,114],"./brainfuck.js":[158,114],"./c":[160,116],"./c-like":[159,115],"./c-like.js":[159,115],"./c.js":[160,116],"./cal":[161,117],"./cal.js":[161,117],"./capnproto":[162,118],"./capnproto.js":[162,118],"./ceylon":[163,119],"./ceylon.js":[163,119],"./clean":[164,120],"./clean.js":[164,120],"./clojure":[166,122],"./clojure-repl":[165,121],"./clojure-repl.js":[165,121],"./clojure.js":[166,122],"./cmake":[167,123],"./cmake.js":[167,123],"./coffeescript":[168,124],"./coffeescript.js":[168,124],"./coq":[169,125],"./coq.js":[169,125],"./cos":[170,126],"./cos.js":[170,126],"./cpp":[171,127],"./cpp.js":[171,127],"./crmsh":[172,128],"./crmsh.js":[172,128],"./crystal":[173,129],"./crystal.js":[173,129],"./csharp":[174,130],"./csharp.js":[174,130],"./csp":[175,131],"./csp.js":[175,131],"./css":[176,132],"./css.js":[176,132],"./d":[177,133],"./d.js":[177,133],"./dart":[178,134],"./dart.js":[178,134],"./delphi":[179,135],"./delphi.js":[179,135],"./diff":[180,136],"./diff.js":[180,136],"./django":[181,137],"./django.js":[181,137],"./dns":[182,138],"./dns.js":[182,138],"./dockerfile":[183,139],"./dockerfile.js":[183,139],"./dos":[184,140],"./dos.js":[184,140],"./dsconfig":[185,141],"./dsconfig.js":[185,141],"./dts":[186,142],"./dts.js":[186,142],"./dust":[187,143],"./dust.js":[187,143],"./ebnf":[188,144],"./ebnf.js":[188,144],"./elixir":[189,145],"./elixir.js":[189,145],"./elm":[190,146],"./elm.js":[190,146],"./erb":[191,147],"./erb.js":[191,147],"./erlang":[193,149],"./erlang-repl":[192,148],"./erlang-repl.js":[192,148],"./erlang.js":[193,149],"./excel":[194,150],"./excel.js":[194,150],"./fix":[195,151],"./fix.js":[195,151],"./flix":[196,152],"./flix.js":[196,152],"./fortran":[197,153],"./fortran.js":[197,153],"./fsharp":[198,154],"./fsharp.js":[198,154],"./gams":[199,155],"./gams.js":[199,155],"./gauss":[200,156],"./gauss.js":[200,156],"./gcode":[201,157],"./gcode.js":[201,157],"./gherkin":[202,158],"./gherkin.js":[202,158],"./glsl":[203,159],"./glsl.js":[203,159],"./gml":[204,160],"./gml.js":[204,160],"./go":[205,161],"./go.js":[205,161],"./golo":[206,162],"./golo.js":[206,162],"./gradle":[207,163],"./gradle.js":[207,163],"./groovy":[208,164],"./groovy.js":[208,164],"./haml":[209,165],"./haml.js":[209,165],"./handlebars":[210,166],"./handlebars.js":[210,166],"./haskell":[211,167],"./haskell.js":[211,167],"./haxe":[212,168],"./haxe.js":[212,168],"./hsp":[213,169],"./hsp.js":[213,169],"./htmlbars":[214,170],"./htmlbars.js":[214,170],"./http":[215,171],"./http.js":[215,171],"./hy":[216,172],"./hy.js":[216,172],"./inform7":[217,173],"./inform7.js":[217,173],"./ini":[218,174],"./ini.js":[218,174],"./irpf90":[219,175],"./irpf90.js":[219,175],"./isbl":[220,176],"./isbl.js":[220,176],"./java":[221,177],"./java.js":[221,177],"./javascript":[222,178],"./javascript.js":[222,178],"./jboss-cli":[223,179],"./jboss-cli.js":[223,179],"./json":[224,180],"./json.js":[224,180],"./julia":[226,182],"./julia-repl":[225,181],"./julia-repl.js":[225,181],"./julia.js":[226,182],"./kotlin":[227,183],"./kotlin.js":[227,183],"./lasso":[228,184],"./lasso.js":[228,184],"./latex":[229,185],"./latex.js":[229,185],"./ldif":[230,186],"./ldif.js":[230,186],"./leaf":[231,187],"./leaf.js":[231,187],"./less":[232,188],"./less.js":[232,188],"./lisp":[233,189],"./lisp.js":[233,189],"./livecodeserver":[234,190],"./livecodeserver.js":[234,190],"./livescript":[235,191],"./livescript.js":[235,191],"./llvm":[236,192],"./llvm.js":[236,192],"./lsl":[237,193],"./lsl.js":[237,193],"./lua":[238,194],"./lua.js":[238,194],"./makefile":[239,195],"./makefile.js":[239,195],"./markdown":[240,196],"./markdown.js":[240,196],"./mathematica":[241,197],"./mathematica.js":[241,197],"./matlab":[242,198],"./matlab.js":[242,198],"./maxima":[243,199],"./maxima.js":[243,199],"./mel":[244,200],"./mel.js":[244,200],"./mercury":[245,201],"./mercury.js":[245,201],"./mipsasm":[246,202],"./mipsasm.js":[246,202],"./mizar":[247,203],"./mizar.js":[247,203],"./mojolicious":[248,204],"./mojolicious.js":[248,204],"./monkey":[249,205],"./monkey.js":[249,205],"./moonscript":[250,206],"./moonscript.js":[250,206],"./n1ql":[251,207],"./n1ql.js":[251,207],"./nginx":[252,208],"./nginx.js":[252,208],"./nim":[253,209],"./nim.js":[253,209],"./nix":[254,210],"./nix.js":[254,210],"./node-repl":[255,211],"./node-repl.js":[255,211],"./nsis":[256,212],"./nsis.js":[256,212],"./objectivec":[257,213],"./objectivec.js":[257,213],"./ocaml":[258,214],"./ocaml.js":[258,214],"./openscad":[259,215],"./openscad.js":[259,215],"./oxygene":[260,216],"./oxygene.js":[260,216],"./parser3":[261,217],"./parser3.js":[261,217],"./perl":[262,218],"./perl.js":[262,218],"./pf":[263,219],"./pf.js":[263,219],"./pgsql":[264,220],"./pgsql.js":[264,220],"./php":[266,222],"./php-template":[265,221],"./php-template.js":[265,221],"./php.js":[266,222],"./plaintext":[267,223],"./plaintext.js":[267,223],"./pony":[268,224],"./pony.js":[268,224],"./powershell":[269,225],"./powershell.js":[269,225],"./processing":[270,226],"./processing.js":[270,226],"./profile":[271,227],"./profile.js":[271,227],"./prolog":[272,228],"./prolog.js":[272,228],"./properties":[273,229],"./properties.js":[273,229],"./protobuf":[274,230],"./protobuf.js":[274,230],"./puppet":[275,231],"./puppet.js":[275,231],"./purebasic":[276,232],"./purebasic.js":[276,232],"./python":[278,234],"./python-repl":[277,233],"./python-repl.js":[277,233],"./python.js":[278,234],"./q":[279,235],"./q.js":[279,235],"./qml":[280,236],"./qml.js":[280,236],"./r":[281,237],"./r.js":[281,237],"./reasonml":[282,238],"./reasonml.js":[282,238],"./rib":[283,239],"./rib.js":[283,239],"./roboconf":[284,240],"./roboconf.js":[284,240],"./routeros":[285,241],"./routeros.js":[285,241],"./rsl":[286,242],"./rsl.js":[286,242],"./ruby":[287,243],"./ruby.js":[287,243],"./ruleslanguage":[288,244],"./ruleslanguage.js":[288,244],"./rust":[289,245],"./rust.js":[289,245],"./sas":[290,246],"./sas.js":[290,246],"./scala":[291,247],"./scala.js":[291,247],"./scheme":[292,248],"./scheme.js":[292,248],"./scilab":[293,249],"./scilab.js":[293,249],"./scss":[294,250],"./scss.js":[294,250],"./shell":[295,251],"./shell.js":[295,251],"./smali":[296,252],"./smali.js":[296,252],"./smalltalk":[297,253],"./smalltalk.js":[297,253],"./sml":[298,254],"./sml.js":[298,254],"./sqf":[299,255],"./sqf.js":[299,255],"./sql":[300,256],"./sql.js":[300,256],"./sql_more":[301,257],"./sql_more.js":[301,257],"./stan":[302,258],"./stan.js":[302,258],"./stata":[303,259],"./stata.js":[303,259],"./step21":[304,260],"./step21.js":[304,260],"./stylus":[305,261],"./stylus.js":[305,261],"./subunit":[306,262],"./subunit.js":[306,262],"./swift":[307,263],"./swift.js":[307,263],"./taggerscript":[308,264],"./taggerscript.js":[308,264],"./tap":[309,265],"./tap.js":[309,265],"./tcl":[310,266],"./tcl.js":[310,266],"./thrift":[311,267],"./thrift.js":[311,267],"./tp":[312,268],"./tp.js":[312,268],"./twig":[313,269],"./twig.js":[313,269],"./typescript":[314,270],"./typescript.js":[314,270],"./vala":[315,271],"./vala.js":[315,271],"./vbnet":[316,272],"./vbnet.js":[316,272],"./vbscript":[318,274],"./vbscript-html":[317,273],"./vbscript-html.js":[317,273],"./vbscript.js":[318,274],"./verilog":[319,275],"./verilog.js":[319,275],"./vhdl":[320,276],"./vhdl.js":[320,276],"./vim":[321,277],"./vim.js":[321,277],"./x86asm":[322,278],"./x86asm.js":[322,278],"./xl":[323,279],"./xl.js":[323,279],"./xml":[324,280],"./xml.js":[324,280],"./xquery":[325,281],"./xquery.js":[325,281],"./yaml":[326,282],"./yaml.js":[326,282],"./zephir":[327,283],"./zephir.js":[327,283]};function i(s){if(!t.o(a,s))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+s+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=a[s],i=e[0];return t.e(e[1]).then((function(){return t.t(i,7)}))}i.keys=function(){return Object.keys(a)},i.id=96,s.exports=i}}]);
@@ -1,76 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[77],{110:function(e,t,r){"use strict";r.r(t),r.d(t,"MeetingAlertRole",(function(){return c})),r.d(t,"MeetingAlert",(function(){return p}));r(54),r(17),r(14);var o=r(1),l=r(5),a=r(6),i=r(0),n=r(2),m=r(3);var s=i.css`.md-alert__container{position:fixed;z-index:9999}.md-alert__container--top-left{left:1em;top:1em}.md-alert__container--top-center{left:50%;top:1em;transform:translate(-50%)}.md-alert__container--top-right{right:1em;top:1em}.md-alert__container--bottom-left{bottom:1em;left:1em}.md-alert__container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.md-alert__container--bottom-right{bottom:1em;right:1em}.md-alert__container--call{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;left:50%;top:50%;transform:translate(-50%,-50%)}.md-alert{align-content:space-between;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:var(--meeting-alert-bg-color,#fff);border:1px solid var(--meeting-alert-border-color,rgba(0,0,0,.12));box-shadow:0 8px 16px 0 rgba(0,0,0,.08);justify-content:space-between;margin-bottom:.5rem;max-height:19.25rem;min-height:4.875rem;padding:.5rem .8125rem .5rem 1.0625rem;width:21.375rem}.md-alert__icon{font-family:momentum-ui-icons;font-size:2.75rem;line-height:0}.md-alert__icon::before{content:"\\f6e8";color:var(--meeting-alert-info-text-color,#00a0d1)}.md-alert__content{display:flex;flex-basis:0%;flex-direction:column;flex-grow:2;padding-left:1rem;padding-right:.125rem}.md-alert__title{color:var(--meeting-alert-info-text-color,#00a0d1);font-size:var(--body-primary-font-size,1rem);line-height:1.5rem}.md-alert__message,.md-alert__status{font-size:var(--font-size-body-midsize,.875rem);font-family:var(--brand-font-medium, var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif));line-height:1.125rem}.md-alert__status{color:var(--meeting-alert-success-text-color,#03612c)}.md-alert__message{color:var(--meeting-alert-text-color,#292929)}.md-alert__message,.md-alert__title{max-width:10rem;word-wrap:break-word}.md-alert__button{margin-left:.5rem}.md-alert.md-alert--success .md-alert__icon::before{content:"\\f381";color:var(--meeting-alert-success-text-color,#00ab50)}.md-alert.md-alert--success .md-alert__title{color:var(--meeting-alert-success-text-color,#00ab50)}.md-alert.md-alert--warning .md-alert__icon::before{content:"\\fca3";color:var(--meeting-alert-warning-text-color,#d97f00)}.md-alert.md-alert--warning .md-alert__title{color:var(--meeting-alert-warning-text-color,#d97f00)}.md-alert.md-alert--error .md-alert__icon::before{content:"\\fca3";color:var(--meeting-alert-error-text-color,#f7644a)}.md-alert.md-alert--error .md-alert__title{color:var(--meeting-alert-error-text-color,#f7644a)}.md-alert.md-alert--meeting .md-alert__content{width:10rem}.md-alert.md-alert--meeting .md-alert__content--wide{width:13rem}.md-alert.md-alert--meeting .md-alert__message,.md-alert.md-alert--meeting .md-alert__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-alert.md-alert--meeting .md-alert__title{color:var(--meeting-alert-title-text-color,#000)}.md-alert.md-alert--call{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin-right:.9375rem;max-height:31.25rem;min-height:17.625rem;padding:.75rem 1.0625rem 1.5625rem 1.0625rem;width:17.375rem}.md-alert.md-alert--call .md-alert__title{color:var(--meeting-alert-title-text-color,#000);font-size:.875rem;font-weight:700;line-height:1.375rem;padding-bottom:1.5rem}.md-alert.md-alert--call .md-alert__caller{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center}.md-alert.md-alert--call .md-alert__caller-title{font-size:1rem;font-weight:700;line-height:1.5rem;padding-top:.5rem}.md-alert.md-alert--call .md-alert__caller-subtitle{font-size:.875rem;line-height:1.375rem}.md-alert.md-alert--call .md-alert--call--buttons{padding-top:1.5rem}.md-alert.md-alert--call .md-alert--call--buttons .md-icon{fill:#fff}.md-alert.md-alert--call .md-list{padding-top:.75rem}.md-alert.md-alert--call .md-list .md-list-item{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:hover{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.md-alert.md-alert--call .md-list .md-list-item-header{border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:1px solid rgba(0,0,0,.08)}`,d=function(e,t,r,o){var l,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};const c=["alert","alertdialog","button","checkbox","dialog","link","option","status"];var p;!function(e){let t=class extends i.LitElement{constructor(){super(...arguments),this.attendees=[{title:"Attendee",src:null,alt:"Attendee"}],this.closeAriaLabel="close",this.onKeyDown=null,this.onSnooze=null,this.message="",this.snoozeAriaLabel="snooze",this.role="button",this.show=!1,this.src="",this.status="",this.userStyles="",this.title="",this._onSnooze=e=>{this.dispatchEvent(new CustomEvent("snooze",{composed:!0,detail:{srcEvent:e}}))},this._onClose=e=>{this.dispatchEvent(new CustomEvent("close",{composed:!0,detail:{srcEvent:e}}))},this.handleSnooze=e=>{this.onSnooze?this.onSnooze(e):this._onSnooze(e),e.stopPropagation()},this.handleClose=e=>{this._onClose(e),e.stopPropagation()},this.handleKeyDown=e=>{if(e.code===o.b.Escape&&this.handleClose(e),e.code===o.b.Enter||e.code===o.b.Space){switch(e.target.attributes.getNamedItem("aria-label").value){case"close":this.handleClose(e);break;case"snooze":this.handleSnooze(e)}e.preventDefault()}this.onKeyDown&&this.onKeyDown(e)}}getStyles(){return i.html`
2
- <style>
3
- ::slotted(img) {
4
- display: inline-block;
5
- vertical-align: middle;
6
- -ms-interpolation-mode: bicubic;
7
- height: auto;
8
- max-width: 100%;
9
- border-style: none;
10
- }
11
- ${this.userStyles}
12
- </style>
13
- `}static get styles(){return[a.a,s]}render(){const{attendees:e,message:t,onSnooze:r,role:o,src:l,status:a,title:s,closeAriaLabel:d,show:c,snoozeAriaLabel:p}=this;return i.html`
14
- ${this.getStyles()}
15
- ${c?i.html`
16
- <div
17
- aria-label="Meeting Alert"
18
- class=${"md-alert md-alert--meeting"}
19
- @keydown=${e=>this.handleKeyDown(e)}
20
- role=${o}
21
- >
22
- <slot name="custom-avatar"> ${e.length>=2?(e=>{const t="display: flex;width: 1.625rem;height: 1.625rem;font-size: .56875rem;line-height: .8125rem;";return i.html`
23
- <div class="md-composite-avatar md-composite-avatar--wc-override" style=${"position: relative; display: block;\n width: 2.5rem;\n height: 2.5rem;\n font-size: 0.875rem;\n line-height: 1.25rem;"}>
24
- <md-avatar
25
- slot="avatar"
26
- class="md-avatar"
27
- alt=${e[0].alt||e[0].title}
28
- src=${Object(m.ifDefined)(e[0].src?e[0].src:void 0)}
29
- title=${e[0].title}
30
- size="24"
31
- style=${t+"position: absolute;left: 0px;top: 0px;"}
32
- ></md-avatar>
33
- <md-avatar
34
- slot="avatar"
35
- class="md-avatar"
36
- alt=${e[1].alt||e[1].title}
37
- src=${Object(m.ifDefined)(e[1].src?e[1].src:void 0)}
38
- title=${e[1].title}
39
- size="24"
40
- style=${t+"position: absolute;right: 0px;bottom: 0px;"}
41
- ></md-avatar>
42
- </div>
43
- `})(e):i.html` <md-avatar title=${s} label="avatar" src=${l} tabindex="-1"></md-avatar> `} </slot>
44
- <div class=${"md-alert__content "+(r?"":" md-alert__content--wide")}>
45
- <div class="md-alert__title" title=${s}>${s}</div>
46
- <div class="md-alert__status" title=${a}>${a}</div>
47
- <div class="md-alert__message" title=${t}>${t}</div>
48
- </div>
49
- ${r?i.html`
50
- <div class="md-alert__button">
51
- <md-button
52
- variant="secondary"
53
- aria-label=${p}
54
- circle
55
- @click=${e=>{this.handleSnooze(e)}}
56
- .size=${40}
57
- >
58
- <md-icon name="alarm-bold" size="16" iconSet="momentumDesign"></md-icon>
59
- </md-button>
60
- </div>
61
- `:n.nothing}
62
- <slot name="custom-action">
63
- <md-button
64
- class="md-alert__button"
65
- variant="ghost"
66
- ariaLabel=${d}
67
- circle
68
- @click=${e=>{this.handleClose(e)}}
69
- .size=${40}
70
- >
71
- <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
72
- </md-button>
73
- </slot>
74
- </div>
75
- `:n.nothing}
76
- `}};d([Object(i.property)({type:Array})],t.prototype,"attendees",void 0),d([Object(i.property)({type:String})],t.prototype,"closeAriaLabel",void 0),d([Object(i.property)({attribute:!1})],t.prototype,"onKeyDown",void 0),d([Object(i.property)({attribute:!1})],t.prototype,"onSnooze",void 0),d([Object(i.property)({type:String})],t.prototype,"message",void 0),d([Object(i.property)({type:String})],t.prototype,"snoozeAriaLabel",void 0),d([Object(i.property)({type:String})],t.prototype,"role",void 0),d([Object(i.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(i.property)({type:String})],t.prototype,"src",void 0),d([Object(i.property)({type:String})],t.prototype,"status",void 0),d([Object(i.property)({type:String})],t.prototype,"userStyles",void 0),d([Object(i.property)({type:String})],t.prototype,"title",void 0),t=d([Object(l.a)("md-meeting-alert")],t),e.ELEMENT=t}(p||(p={}))}}]);
@@ -1,7 +0,0 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[78],{103:function(e,t,i){"use strict";i.r(t),i.d(t,"MORE_MENU_ITEM_COPY_ID_PREFIX",(function(){return I})),i.d(t,"Menu",(function(){return b}));var s=i(1),n=i(5),c=i(60),d=i(41),o=i(6),r=i(0),l=i(4),a=i(27),h=i(61),m=i(70),u=function(e,t,i,s){var n,c=arguments.length,d=c<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(n=e[o])&&(d=(c<3?n(d):c>3?n(t,i,d):n(t,i))||d);return c>3&&d&&Object.defineProperty(t,i,d),d},p=function(e,t,i,s){return new(i||(i=Promise))((function(n,c){function d(e){try{r(s.next(e))}catch(e){c(e)}}function o(e){try{r(s.throw(e))}catch(e){c(e)}}function r(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(d,o)}r((s=s.apply(e,t||[])).next())}))};const I="more-menu-item-";var b;!function(e){let t=class extends(Object(d.a)(Object(c.a)(r.LitElement))){constructor(){super(...arguments),this.justified=!1,this.direction="horizontal",this.items=[],this.itemsHash={},this.itemsIdxHash={}}getNormalizedItemId(e){return e.replace(I,"")}static get styles(){return[o.a,m.a]}get slotItem(){return this.menuSlotElement}linkMenuItems(){return p(this,void 0,void 0,(function*(){const{items:e}=this;e.forEach((e,t)=>{const i=Object(a.nanoid)();e.setAttribute("id",i),e.setAttribute("aria-controls",i),e.selected=this.selected===t}),this.itemsHash=this.items.reduce((e,t)=>(e[t.id]=t,e),{}),this.itemsIdxHash=this.items.reduce((e,t,i)=>(e[t.id]=i,e),{})}))}setupMenuItems(){if(this.menuSlotElement){const e=this.menuSlotElement.assignedElements({flatten:!0});this.getChildrenFromTree({children:e},this.items)}}getChildrenFromTree(e,t){e.children.forEach(e=>{e instanceof h.MenuItem.ELEMENT&&t.push(e),this.getChildrenFromTree({children:Array.from(e.children)},t)})}updateSelectedItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("selected"));t!==e&&(this.items&&[t,e].forEach(e=>{const t=this.items[e];t&&t.toggleAttribute("selected")}),this.dispatchEvent(new CustomEvent("selected-menu-item",{detail:{value:e},composed:!0,bubbles:!0})),this.changeSelectedItemIdx(e))}changeSelectedItemIdx(e){this.selected=e}handleItemClick(e){const{id:t}=e.detail,i=this.itemsHash[this.getNormalizedItemId(t)];if(i&&!i.disabled){const e=this.itemsIdxHash[i.id];-1!==e&&this.updateSelectedItem(e)}}handleItemKeydown(e){const{key:t,id:i}=e.detail;switch(t){case s.b.End:this.changeSelectedItemIdx(this.items.length-1);break;case s.b.Home:this.changeSelectedItemIdx(0);break;case s.b.ArrowLeft:case s.b.ArrowUp:0===this.selected?this.changeSelectedItemIdx(this.items.length-1):this.changeSelectedItemIdx(this.selected-1);break;case s.b.ArrowRight:case s.b.ArrowDown:this.selected===this.items.length-1?this.changeSelectedItemIdx(0):this.changeSelectedItemIdx(this.selected+1);break;case s.b.Enter:case s.b.Space:const e=this.slotted.findIndex(e=>e.id===i&&!e.disabled);-1!==e&&this.updateSelectedItem(e)}}connectedCallback(){super.connectedCallback(),this.addEventListener("menu-item-click",this.handleItemClick),this.addEventListener("menu-item-keydown",this.handleItemKeydown)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return p(this,void 0,void 0,(function*(){t.updated.call(this,e),e.has("slotted")&&(this.setupMenuItems(),this.linkMenuItems())}))}disconnectedCallback(){super.connectedCallback(),this.removeEventListener("menu-item-click",this.handleItemClick),this.removeEventListener("menu-item-keydown",this.handleItemKeydown)}get menuClassMap(){return{["md-menu--"+this.direction]:this.direction,justified:this.justified}}render(){return r.html`
2
- <nav class="md-menu ${Object(l.classMap)(this.menuClassMap)}">
3
- <ul class="md-menu-list">
4
- <slot></slot>
5
- </ul>
6
- </nav>
7
- `}};u([Object(r.property)({type:Boolean})],t.prototype,"justified",void 0),u([Object(r.property)({type:String})],t.prototype,"direction",void 0),u([Object(r.query)("slot")],t.prototype,"menuSlotElement",void 0),u([Object(r.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=u([Object(n.a)("md-menu")],t),e.ELEMENT=t}(b||(b={}))}}]);