@momentum-ui/web-components 2.17.15 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (735) hide show
  1. package/dist/109.js +11 -0
  2. package/dist/1107.js +1 -0
  3. package/dist/1200.js +26 -0
  4. package/dist/1250.js +1 -0
  5. package/dist/1270.js +1 -0
  6. package/dist/1323.js +26 -0
  7. package/dist/1392.js +1 -0
  8. package/dist/1439.js +1 -0
  9. package/dist/144.js +1 -0
  10. package/dist/1572.js +1 -0
  11. package/dist/1598.js +1 -0
  12. package/dist/1625.js +1 -0
  13. package/dist/1705.js +1 -0
  14. package/dist/182.js +1 -0
  15. package/dist/1869.js +1 -0
  16. package/dist/1890.js +1 -0
  17. package/dist/195.js +1 -0
  18. package/dist/2019.js +1 -0
  19. package/dist/2043.js +1 -0
  20. package/dist/2176.js +1 -0
  21. package/dist/2215.js +1 -0
  22. package/dist/2243.js +1 -0
  23. package/dist/2547.js +218 -0
  24. package/dist/2576.js +1 -0
  25. package/dist/2798.js +1 -0
  26. package/dist/2972.js +1 -0
  27. package/dist/2984.js +1 -0
  28. package/dist/300.js +1 -0
  29. package/dist/3001.js +1 -0
  30. package/dist/3112.js +1 -0
  31. package/dist/3135.js +1 -0
  32. package/dist/3192.js +23 -0
  33. package/dist/3553.js +1 -0
  34. package/dist/3604.js +1 -0
  35. package/dist/3625.js +1 -0
  36. package/dist/3663.js +1 -0
  37. package/dist/3866.js +1 -0
  38. package/dist/4006.js +1 -0
  39. package/dist/4392.js +1 -0
  40. package/dist/4400.js +1 -0
  41. package/dist/4548.js +1 -0
  42. package/dist/4624.js +1 -0
  43. package/dist/4663.js +1 -0
  44. package/dist/4974.js +1 -0
  45. package/dist/4977.js +1 -0
  46. package/dist/5211.js +1 -0
  47. package/dist/528.js +12 -0
  48. package/dist/5382.js +1 -0
  49. package/dist/{chunks/md-2.js → 5433.js} +1 -1
  50. package/dist/5467.js +1 -0
  51. package/dist/573.js +1 -0
  52. package/dist/5801.js +22 -0
  53. package/dist/587.js +1 -0
  54. package/dist/591.js +1 -0
  55. package/dist/6015.js +1 -0
  56. package/dist/6067.js +1 -0
  57. package/dist/6272.js +1 -0
  58. package/dist/6273.js +45 -0
  59. package/dist/630.js +1 -0
  60. package/dist/6325.js +1 -0
  61. package/dist/6366.js +1 -0
  62. package/dist/6396.js +9 -0
  63. package/dist/6400.js +1 -0
  64. package/dist/6408.js +124 -0
  65. package/dist/6441.js +1 -0
  66. package/dist/6652.js +47 -0
  67. package/dist/6677.js +1 -0
  68. package/dist/6700.js +1 -0
  69. package/dist/671.js +1 -0
  70. package/dist/6754.js +17 -0
  71. package/dist/6795.js +1 -0
  72. package/dist/6798.js +77 -0
  73. package/dist/6875.js +1 -0
  74. package/dist/6979.js +1 -0
  75. package/dist/7030.js +1 -0
  76. package/dist/7092.js +1 -0
  77. package/dist/7103.js +1 -0
  78. package/dist/7251.js +1 -0
  79. package/dist/7330.js +1 -0
  80. package/dist/7502.js +1 -0
  81. package/dist/754.js +1 -0
  82. package/dist/76.js +1 -0
  83. package/dist/768.js +1 -0
  84. package/dist/7719.js +1 -0
  85. package/dist/7763.js +1 -0
  86. package/dist/779.js +1 -0
  87. package/dist/7814.js +8 -0
  88. package/dist/7833.js +1 -0
  89. package/dist/7875.js +1 -0
  90. package/dist/7919.js +1 -0
  91. package/dist/8028.js +44 -0
  92. package/dist/8171.js +16 -0
  93. package/dist/8210.js +1 -0
  94. package/dist/8227.js +1 -0
  95. package/dist/8373.js +1 -0
  96. package/dist/8387.js +1 -0
  97. package/dist/8521.js +1 -0
  98. package/dist/8728.js +1 -0
  99. package/dist/8841.js +1 -0
  100. package/dist/8889.js +1 -0
  101. package/dist/9058.js +1 -0
  102. package/dist/9618.js +1 -0
  103. package/dist/9719.js +1 -0
  104. package/dist/9788.js +7 -0
  105. package/dist/9813.js +1 -0
  106. package/dist/984.js +8 -0
  107. package/dist/assets/styles/fonts.css +13 -0
  108. package/dist/chunks/md-1012.js +1 -0
  109. package/dist/chunks/md-1036.js +1 -0
  110. package/dist/chunks/md-108.js +1 -1
  111. package/dist/chunks/md-1180.js +1 -0
  112. package/dist/chunks/md-1192.js +1 -0
  113. package/dist/chunks/md-1297.js +1 -0
  114. package/dist/chunks/md-1352.js +1 -0
  115. package/dist/chunks/md-1497.js +1 -0
  116. package/dist/chunks/md-1519.js +1 -0
  117. package/dist/chunks/md-1533.js +1 -0
  118. package/dist/chunks/md-1679.js +1 -0
  119. package/dist/chunks/md-1786.js +1 -0
  120. package/dist/chunks/md-181.js +1 -1
  121. package/dist/chunks/md-1870.js +1 -0
  122. package/dist/chunks/md-1942.js +1 -0
  123. package/dist/chunks/md-1983.js +1 -0
  124. package/dist/chunks/md-2052.js +1 -0
  125. package/dist/chunks/md-2086.js +1 -0
  126. package/dist/chunks/md-2224.js +1 -0
  127. package/dist/chunks/md-2241.js +1 -0
  128. package/dist/chunks/md-2292.js +1 -0
  129. package/dist/chunks/md-2329.js +1 -0
  130. package/dist/chunks/md-2402.js +1 -0
  131. package/dist/chunks/md-2539.js +1 -0
  132. package/dist/chunks/md-258.js +1 -1
  133. package/dist/chunks/md-2670.js +1 -0
  134. package/dist/chunks/md-2698.js +1 -0
  135. package/dist/chunks/md-2701.js +1 -0
  136. package/dist/chunks/md-2731.js +1 -0
  137. package/dist/chunks/md-279.js +1 -1
  138. package/dist/chunks/md-2825.js +1 -0
  139. package/dist/chunks/md-2896.js +1 -0
  140. package/dist/chunks/md-2904.js +1 -0
  141. package/dist/chunks/md-2923.js +1 -0
  142. package/dist/chunks/md-2962.js +1 -0
  143. package/dist/chunks/md-2970.js +1 -0
  144. package/dist/chunks/md-2978.js +1 -0
  145. package/dist/chunks/md-3035.js +1 -0
  146. package/dist/chunks/md-3105.js +1 -0
  147. package/dist/chunks/md-3195.js +1 -0
  148. package/dist/chunks/md-3206.js +1 -0
  149. package/dist/chunks/md-3231.js +1 -0
  150. package/dist/chunks/md-3255.js +1 -0
  151. package/dist/chunks/md-3270.js +1 -0
  152. package/dist/chunks/md-3315.js +1 -0
  153. package/dist/chunks/md-3399.js +1 -0
  154. package/dist/chunks/md-3402.js +1 -0
  155. package/dist/chunks/md-3409.js +1 -0
  156. package/dist/chunks/md-3447.js +1 -0
  157. package/dist/chunks/md-3458.js +1 -0
  158. package/dist/chunks/md-3543.js +1 -0
  159. package/dist/chunks/md-3557.js +1 -0
  160. package/dist/chunks/md-3618.js +1 -0
  161. package/dist/chunks/md-364.js +1 -0
  162. package/dist/chunks/md-3666.js +1 -0
  163. package/dist/chunks/md-3712.js +1 -0
  164. package/dist/chunks/md-3732.js +1 -0
  165. package/dist/chunks/md-3838.js +1 -0
  166. package/dist/chunks/md-4058.js +1 -0
  167. package/dist/chunks/md-4108.js +1 -0
  168. package/dist/chunks/md-4113.js +1 -0
  169. package/dist/chunks/md-4125.js +1 -0
  170. package/dist/chunks/md-414.js +1 -0
  171. package/dist/chunks/md-4177.js +1 -0
  172. package/dist/chunks/md-4205.js +1 -0
  173. package/dist/chunks/md-431.js +1 -0
  174. package/dist/chunks/md-4321.js +1 -0
  175. package/dist/chunks/md-436.js +1 -0
  176. package/dist/chunks/md-4412.js +1 -0
  177. package/dist/chunks/md-4460.js +1 -0
  178. package/dist/chunks/md-4490.js +1 -0
  179. package/dist/chunks/md-4561.js +1 -0
  180. package/dist/chunks/md-4564.js +1 -0
  181. package/dist/chunks/md-4608.js +1 -0
  182. package/dist/chunks/md-4635.js +1 -0
  183. package/dist/chunks/md-4659.js +1 -0
  184. package/dist/chunks/md-4701.js +1 -0
  185. package/dist/chunks/md-4714.js +1 -0
  186. package/dist/chunks/md-4745.js +1 -0
  187. package/dist/chunks/md-4893.js +1 -0
  188. package/dist/chunks/md-4896.js +1 -0
  189. package/dist/chunks/md-4904.js +1 -0
  190. package/dist/chunks/md-5076.js +1 -0
  191. package/dist/chunks/md-5089.js +1 -0
  192. package/dist/chunks/md-5093.js +1 -0
  193. package/dist/chunks/md-5117.js +1 -0
  194. package/dist/chunks/md-5133.js +1 -0
  195. package/dist/chunks/md-5320.js +1 -0
  196. package/dist/chunks/md-5331.js +1 -0
  197. package/dist/chunks/md-5344.js +1 -0
  198. package/dist/chunks/md-5439.js +1 -0
  199. package/dist/chunks/md-5449.js +1 -0
  200. package/dist/chunks/md-5468.js +1 -0
  201. package/dist/chunks/md-5506.js +1 -0
  202. package/dist/chunks/md-5579.js +1 -0
  203. package/dist/chunks/md-5610.js +1 -0
  204. package/dist/chunks/md-5617.js +1 -0
  205. package/dist/chunks/md-5672.js +1 -0
  206. package/dist/chunks/md-5754.js +1 -0
  207. package/dist/chunks/md-5772.js +1 -0
  208. package/dist/chunks/md-5790.js +1 -0
  209. package/dist/chunks/md-581.js +1 -0
  210. package/dist/chunks/md-5812.js +1 -0
  211. package/dist/chunks/md-5814.js +1 -0
  212. package/dist/chunks/md-5892.js +1 -0
  213. package/dist/chunks/md-593.js +1 -0
  214. package/dist/chunks/md-5976.js +1 -0
  215. package/dist/chunks/md-6023.js +1 -0
  216. package/dist/chunks/md-6033.js +1 -0
  217. package/dist/chunks/md-6122.js +1 -0
  218. package/dist/chunks/md-6269.js +1 -0
  219. package/dist/chunks/md-634.js +1 -0
  220. package/dist/chunks/md-6384.js +1 -0
  221. package/dist/chunks/md-6414.js +1 -0
  222. package/dist/chunks/md-6427.js +1 -0
  223. package/dist/chunks/md-6478.js +1 -0
  224. package/dist/chunks/md-6503.js +1 -0
  225. package/dist/chunks/md-6571.js +1 -0
  226. package/dist/chunks/md-6617.js +1 -0
  227. package/dist/chunks/md-6685.js +1 -0
  228. package/dist/chunks/md-6722.js +1 -0
  229. package/dist/chunks/md-6756.js +1 -0
  230. package/dist/chunks/md-6809.js +1 -0
  231. package/dist/chunks/md-6891.js +1 -0
  232. package/dist/chunks/md-7003.js +1 -0
  233. package/dist/chunks/md-7005.js +1 -0
  234. package/dist/chunks/md-7015.js +1 -0
  235. package/dist/chunks/md-7040.js +1 -0
  236. package/dist/chunks/md-7044.js +1 -0
  237. package/dist/chunks/md-7053.js +1 -0
  238. package/dist/chunks/md-7186.js +1 -0
  239. package/dist/chunks/md-7192.js +1 -0
  240. package/dist/chunks/md-7204.js +1 -0
  241. package/dist/chunks/md-7220.js +1 -0
  242. package/dist/chunks/md-7246.js +1 -0
  243. package/dist/chunks/md-7285.js +1 -0
  244. package/dist/chunks/md-7292.js +1 -0
  245. package/dist/chunks/md-736.js +1 -0
  246. package/dist/chunks/md-7492.js +1 -0
  247. package/dist/chunks/md-7522.js +1 -0
  248. package/dist/chunks/md-7533.js +1 -0
  249. package/dist/chunks/md-7556.js +1 -0
  250. package/dist/chunks/md-7601.js +1 -0
  251. package/dist/chunks/md-7909.js +1 -0
  252. package/dist/chunks/md-7918.js +1 -0
  253. package/dist/chunks/md-7939.js +1 -0
  254. package/dist/chunks/md-8100.js +1 -0
  255. package/dist/chunks/md-8103.js +1 -0
  256. package/dist/chunks/md-8126.js +1 -0
  257. package/dist/chunks/md-8130.js +1 -0
  258. package/dist/chunks/md-8186.js +1 -0
  259. package/dist/chunks/md-8199.js +1 -0
  260. package/dist/chunks/md-8206.js +1 -0
  261. package/dist/chunks/md-8254.js +1 -0
  262. package/dist/chunks/md-8327.js +1 -0
  263. package/dist/chunks/md-8333.js +1 -0
  264. package/dist/chunks/md-8385.js +1 -0
  265. package/dist/chunks/md-8425.js +1 -0
  266. package/dist/chunks/md-8451.js +1 -0
  267. package/dist/chunks/md-8454.js +1 -0
  268. package/dist/chunks/md-8514.js +1 -0
  269. package/dist/chunks/md-8557.js +1 -0
  270. package/dist/chunks/md-8670.js +1 -0
  271. package/dist/chunks/md-8713.js +1 -0
  272. package/dist/chunks/md-8811.js +1 -0
  273. package/dist/chunks/md-8891.js +1 -0
  274. package/dist/chunks/md-9040.js +1 -0
  275. package/dist/chunks/md-9081.js +1 -0
  276. package/dist/chunks/md-9104.js +1 -0
  277. package/dist/chunks/md-9115.js +1 -0
  278. package/dist/chunks/md-9129.js +1 -0
  279. package/dist/chunks/md-9139.js +1 -0
  280. package/dist/chunks/md-9156.js +1 -0
  281. package/dist/chunks/md-9277.js +1 -0
  282. package/dist/chunks/md-9350.js +1 -0
  283. package/dist/chunks/md-9387.js +1 -0
  284. package/dist/chunks/md-9405.js +1 -0
  285. package/dist/chunks/md-9407.js +1 -0
  286. package/dist/chunks/md-9412.js +1 -0
  287. package/dist/chunks/md-9428.js +1 -0
  288. package/dist/chunks/md-9433.js +1 -0
  289. package/dist/chunks/md-945.js +1 -0
  290. package/dist/chunks/md-9497.js +1 -0
  291. package/dist/chunks/md-9559.js +1 -0
  292. package/dist/chunks/md-959.js +1 -0
  293. package/dist/chunks/md-9614.js +1 -0
  294. package/dist/chunks/md-9688.js +1 -0
  295. package/dist/chunks/md-9689.js +1 -0
  296. package/dist/chunks/md-9721.js +1 -0
  297. package/dist/chunks/md-9789.js +1 -0
  298. package/dist/chunks/md-9927.js +1 -0
  299. package/dist/chunks/md-9934.js +1 -0
  300. package/dist/chunks/md-9975.js +1 -0
  301. package/dist/chunks/md-9980.js +1 -0
  302. package/dist/comp/md-accordion-entry.js +5 -1
  303. package/dist/comp/md-accordion-item-entry.js +38 -1
  304. package/dist/comp/md-accordion-item.js +1 -15
  305. package/dist/comp/md-accordion.js +1 -11
  306. package/dist/comp/md-activity-button-entry.js +13 -1
  307. package/dist/comp/md-activity-button.js +1 -9
  308. package/dist/comp/md-advance-list-entry.js +35 -1
  309. package/dist/comp/md-advance-list.js +1 -7
  310. package/dist/comp/md-alert-banner-entry.js +36 -1
  311. package/dist/comp/md-alert-banner.js +1 -9
  312. package/dist/comp/md-alert-entry.js +156 -1
  313. package/dist/comp/md-alert.js +1 -10
  314. package/dist/comp/md-audio-player-entry.js +98 -1
  315. package/dist/comp/md-audio-player.js +1 -17
  316. package/dist/comp/md-avatar-entry.js +44 -1
  317. package/dist/comp/md-avatar.js +1 -11
  318. package/dist/comp/md-badge-entry.js +33 -1
  319. package/dist/comp/md-badge.js +1 -4
  320. package/dist/comp/md-breadcrumb-entry.js +11 -1
  321. package/dist/comp/md-breadcrumb.js +1 -4
  322. package/dist/comp/md-button-entry.js +77 -1
  323. package/dist/comp/md-button-group-entry.js +5 -1
  324. package/dist/comp/md-button-group.js +1 -10
  325. package/dist/comp/md-button.js +1 -6
  326. package/dist/comp/md-card-ai-entry.js +77 -1
  327. package/dist/comp/md-card-ai.js +1 -9
  328. package/dist/comp/md-card-entry.js +98 -1
  329. package/dist/comp/md-card.js +1 -23
  330. package/dist/comp/md-chat-message-entry.js +28 -1
  331. package/dist/comp/md-chat-message.js +1 -12
  332. package/dist/comp/md-checkbox-entry.js +14 -1
  333. package/dist/comp/md-checkbox.js +1 -11
  334. package/dist/comp/md-checkboxgroup-entry.js +5 -1
  335. package/dist/comp/md-checkboxgroup.js +1 -11
  336. package/dist/comp/md-chip-entry.js +71 -1
  337. package/dist/comp/md-chip.js +1 -14
  338. package/dist/comp/md-coachmark-entry.js +22 -1
  339. package/dist/comp/md-coachmark-popover-entry.js +72 -1
  340. package/dist/comp/md-coachmark-popover.js +1 -15
  341. package/dist/comp/md-coachmark.js +1 -13
  342. package/dist/comp/md-combobox-entry.js +218 -1
  343. package/dist/comp/md-combobox.js +1 -17
  344. package/dist/comp/md-composite-avatar-entry.js +5 -1
  345. package/dist/comp/md-composite-avatar.js +1 -5
  346. package/dist/comp/md-date-range-picker-entry.js +1 -1
  347. package/dist/comp/md-date-range-picker.js +1 -26
  348. package/dist/comp/md-date-time-picker-entry.js +24 -1
  349. package/dist/comp/md-date-time-picker.js +1 -19
  350. package/dist/comp/md-datepicker-calendar-entry.js +47 -1
  351. package/dist/comp/md-datepicker-calendar.js +1 -14
  352. package/dist/comp/md-datepicker-day-entry.js +17 -1
  353. package/dist/comp/md-datepicker-day.js +1 -9
  354. package/dist/comp/md-datepicker-entry.js +45 -1
  355. package/dist/comp/md-datepicker-month-entry.js +8 -1
  356. package/dist/comp/md-datepicker-month.js +1 -11
  357. package/dist/comp/md-datepicker-week-entry.js +8 -1
  358. package/dist/comp/md-datepicker-week.js +1 -10
  359. package/dist/comp/md-datepicker.js +1 -25
  360. package/dist/comp/md-draggable-entry.js +5 -1
  361. package/dist/comp/md-draggable-item-entry.js +11 -1
  362. package/dist/comp/md-draggable-item.js +1 -11
  363. package/dist/comp/md-draggable.js +1 -12
  364. package/dist/comp/md-dropdown-entry.js +138 -1
  365. package/dist/comp/md-dropdown.js +1 -15
  366. package/dist/comp/md-editable-field-entry.js +153 -1
  367. package/dist/comp/md-editable-field.js +1 -15
  368. package/dist/comp/md-favorite-entry.js +23 -1
  369. package/dist/comp/md-favorite.js +1 -14
  370. package/dist/comp/md-floating-minimize-entry.js +30 -1
  371. package/dist/comp/md-floating-minimize.js +1 -15
  372. package/dist/comp/md-floating-modal-entry.js +99 -1
  373. package/dist/comp/md-floating-modal.js +1 -16
  374. package/dist/comp/md-form-entry.js +19 -1
  375. package/dist/comp/md-form.js +1 -9
  376. package/dist/comp/md-grabber-entry.js +22 -1
  377. package/dist/comp/md-grabber.js +1 -15
  378. package/dist/comp/md-help-text-entry.js +11 -1
  379. package/dist/comp/md-help-text.js +1 -4
  380. package/dist/comp/md-icon-entry.js +26 -1
  381. package/dist/comp/md-icon.js +1 -8
  382. package/dist/comp/md-inpu.js +1 -12
  383. package/dist/comp/md-input-entry.js +124 -1
  384. package/dist/comp/md-input-file.js +17 -1
  385. package/dist/comp/md-input.js +1 -13
  386. package/dist/comp/md-label-entry.js +9 -1
  387. package/dist/comp/md-label.js +1 -4
  388. package/dist/comp/md-link-entry.js +36 -1
  389. package/dist/comp/md-link.js +1 -4
  390. package/dist/comp/md-list-entry.js +5 -1
  391. package/dist/comp/md-list-item-entry.js +5 -1
  392. package/dist/comp/md-list-item.js +1 -11
  393. package/dist/comp/md-list.js +1 -11
  394. package/dist/comp/md-loading-entry.js +7 -1
  395. package/dist/comp/md-loading.js +1 -4
  396. package/dist/comp/md-meeting-alert-entry.js +55 -1
  397. package/dist/comp/md-meeting-alert.js +1 -12
  398. package/dist/comp/md-menu-entry.js +7 -1
  399. package/dist/comp/md-menu-item-entry.js +16 -1
  400. package/dist/comp/md-menu-item.js +1 -4
  401. package/dist/comp/md-menu-overlay-entry.js +26 -1
  402. package/dist/comp/md-menu-overlay.js +1 -9
  403. package/dist/comp/md-menu.js +1 -8
  404. package/dist/comp/md-modal-entry.js +73 -1
  405. package/dist/comp/md-modal.js +1 -15
  406. package/dist/comp/md-pagination-entry.js +78 -1
  407. package/dist/comp/md-pagination.js +1 -9
  408. package/dist/comp/md-phone-input-entry.js +71 -1
  409. package/dist/comp/md-phone-input.js +1 -20
  410. package/dist/comp/md-popover-entry.js +26 -1
  411. package/dist/comp/md-popover.js +1 -14
  412. package/dist/comp/md-progress-bar-entry.js +21 -1
  413. package/dist/comp/md-progress-bar.js +1 -4
  414. package/dist/comp/md-radio-entry.js +17 -1
  415. package/dist/comp/md-radio.js +1 -11
  416. package/dist/comp/md-radiogroup-entry.js +5 -1
  417. package/dist/comp/md-radiogroup.js +1 -11
  418. package/dist/comp/md-slider-entry.js +19 -1
  419. package/dist/comp/md-slider.js +1 -10
  420. package/dist/comp/md-spinner-entry.js +1 -1
  421. package/dist/comp/md-spinner.js +1 -4
  422. package/dist/comp/md-tab-entry.js +27 -1
  423. package/dist/comp/md-tab-panel-entry.js +1 -1
  424. package/dist/comp/md-tab-panel.js +1 -11
  425. package/dist/comp/md-tab.js +1 -11
  426. package/dist/comp/md-table-advanced-entry.js +168 -1
  427. package/dist/comp/md-table-advanced.js +1 -15
  428. package/dist/comp/md-table-entry.js +43 -1
  429. package/dist/comp/md-table.js +1 -9
  430. package/dist/comp/md-tabs-entry.js +129 -1
  431. package/dist/comp/md-tabs.js +1 -22
  432. package/dist/comp/md-task-item-entry.js +114 -1
  433. package/dist/comp/md-task-item.js +1 -10
  434. package/dist/comp/md-theme-entry.js +12 -1
  435. package/dist/comp/md-theme.js +1 -4
  436. package/dist/comp/md-timepicker-entry.js +45 -1
  437. package/dist/comp/md-timepicker.js +1 -22
  438. package/dist/comp/md-toggle-switch-entry.js +34 -1
  439. package/dist/comp/md-toggle-switch.js +1 -11
  440. package/dist/comp/md-tooltip-entry.js +23 -1
  441. package/dist/comp/md-tooltip.js +1 -12
  442. package/dist/index-entry.js +2615 -2
  443. package/dist/index.js +1 -94
  444. package/dist/managers/thememanager-entry.js +1 -1
  445. package/dist/managers/thememanager.js +1 -2
  446. package/dist/types/components/accordion/Accordion.d.ts +2 -2
  447. package/dist/types/components/card-ai/CardAi.d.ts +2 -0
  448. package/dist/types/components/date-range-picker/DateRangePicker.d.ts +3 -4
  449. package/dist/types/components/date-time-picker/DateTimePicker.d.ts +6 -7
  450. package/dist/types/components/datepicker/DatePicker.d.ts +3 -3
  451. package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +3 -1
  452. package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +1 -1
  453. package/dist/types/components/input/Input.d.ts +1 -0
  454. package/dist/types/components/timepicker/TimePicker.d.ts +1 -2
  455. package/dist/types/utils/dateUtils.d.ts +19 -4
  456. package/package.json +6 -6
  457. package/dist/chunks/md-0.js +0 -1
  458. package/dist/chunks/md-1.js +0 -1
  459. package/dist/chunks/md-10.js +0 -1
  460. package/dist/chunks/md-100.js +0 -1
  461. package/dist/chunks/md-101.js +0 -1
  462. package/dist/chunks/md-102.js +0 -1
  463. package/dist/chunks/md-103.js +0 -1
  464. package/dist/chunks/md-104.js +0 -1
  465. package/dist/chunks/md-105.js +0 -1
  466. package/dist/chunks/md-106.js +0 -1
  467. package/dist/chunks/md-107.js +0 -1
  468. package/dist/chunks/md-109.js +0 -1
  469. package/dist/chunks/md-11.js +0 -1
  470. package/dist/chunks/md-110.js +0 -1
  471. package/dist/chunks/md-111.js +0 -1
  472. package/dist/chunks/md-112.js +0 -1
  473. package/dist/chunks/md-113.js +0 -1
  474. package/dist/chunks/md-114.js +0 -1
  475. package/dist/chunks/md-115.js +0 -1
  476. package/dist/chunks/md-116.js +0 -1
  477. package/dist/chunks/md-117.js +0 -1
  478. package/dist/chunks/md-118.js +0 -1
  479. package/dist/chunks/md-119.js +0 -1
  480. package/dist/chunks/md-12.js +0 -1
  481. package/dist/chunks/md-120.js +0 -1
  482. package/dist/chunks/md-121.js +0 -1
  483. package/dist/chunks/md-122.js +0 -1
  484. package/dist/chunks/md-123.js +0 -1
  485. package/dist/chunks/md-124.js +0 -1
  486. package/dist/chunks/md-125.js +0 -1
  487. package/dist/chunks/md-126.js +0 -1
  488. package/dist/chunks/md-127.js +0 -1
  489. package/dist/chunks/md-128.js +0 -1
  490. package/dist/chunks/md-129.js +0 -1
  491. package/dist/chunks/md-13.js +0 -1
  492. package/dist/chunks/md-130.js +0 -1
  493. package/dist/chunks/md-131.js +0 -1
  494. package/dist/chunks/md-132.js +0 -1
  495. package/dist/chunks/md-133.js +0 -1
  496. package/dist/chunks/md-134.js +0 -1
  497. package/dist/chunks/md-135.js +0 -1
  498. package/dist/chunks/md-136.js +0 -1
  499. package/dist/chunks/md-137.js +0 -1
  500. package/dist/chunks/md-138.js +0 -1
  501. package/dist/chunks/md-139.js +0 -1
  502. package/dist/chunks/md-14.js +0 -11
  503. package/dist/chunks/md-140.js +0 -1
  504. package/dist/chunks/md-141.js +0 -1
  505. package/dist/chunks/md-142.js +0 -1
  506. package/dist/chunks/md-143.js +0 -1
  507. package/dist/chunks/md-144.js +0 -1
  508. package/dist/chunks/md-145.js +0 -1
  509. package/dist/chunks/md-146.js +0 -1
  510. package/dist/chunks/md-147.js +0 -1
  511. package/dist/chunks/md-148.js +0 -1
  512. package/dist/chunks/md-149.js +0 -1
  513. package/dist/chunks/md-15.js +0 -9
  514. package/dist/chunks/md-150.js +0 -1
  515. package/dist/chunks/md-151.js +0 -1
  516. package/dist/chunks/md-152.js +0 -1
  517. package/dist/chunks/md-153.js +0 -1
  518. package/dist/chunks/md-154.js +0 -1
  519. package/dist/chunks/md-155.js +0 -1
  520. package/dist/chunks/md-156.js +0 -1
  521. package/dist/chunks/md-157.js +0 -1
  522. package/dist/chunks/md-158.js +0 -1
  523. package/dist/chunks/md-159.js +0 -1
  524. package/dist/chunks/md-16.js +0 -1
  525. package/dist/chunks/md-160.js +0 -1
  526. package/dist/chunks/md-161.js +0 -1
  527. package/dist/chunks/md-162.js +0 -1
  528. package/dist/chunks/md-163.js +0 -1
  529. package/dist/chunks/md-164.js +0 -1
  530. package/dist/chunks/md-165.js +0 -1
  531. package/dist/chunks/md-166.js +0 -1
  532. package/dist/chunks/md-167.js +0 -1
  533. package/dist/chunks/md-168.js +0 -1
  534. package/dist/chunks/md-169.js +0 -1
  535. package/dist/chunks/md-17.js +0 -26
  536. package/dist/chunks/md-170.js +0 -1
  537. package/dist/chunks/md-171.js +0 -1
  538. package/dist/chunks/md-172.js +0 -1
  539. package/dist/chunks/md-173.js +0 -1
  540. package/dist/chunks/md-174.js +0 -1
  541. package/dist/chunks/md-175.js +0 -1
  542. package/dist/chunks/md-176.js +0 -1
  543. package/dist/chunks/md-177.js +0 -1
  544. package/dist/chunks/md-178.js +0 -1
  545. package/dist/chunks/md-179.js +0 -1
  546. package/dist/chunks/md-18.js +0 -124
  547. package/dist/chunks/md-180.js +0 -1
  548. package/dist/chunks/md-182.js +0 -1
  549. package/dist/chunks/md-183.js +0 -1
  550. package/dist/chunks/md-184.js +0 -1
  551. package/dist/chunks/md-185.js +0 -1
  552. package/dist/chunks/md-186.js +0 -1
  553. package/dist/chunks/md-187.js +0 -1
  554. package/dist/chunks/md-188.js +0 -1
  555. package/dist/chunks/md-189.js +0 -1
  556. package/dist/chunks/md-19.js +0 -1
  557. package/dist/chunks/md-190.js +0 -1
  558. package/dist/chunks/md-191.js +0 -1
  559. package/dist/chunks/md-192.js +0 -1
  560. package/dist/chunks/md-193.js +0 -1
  561. package/dist/chunks/md-194.js +0 -1
  562. package/dist/chunks/md-195.js +0 -1
  563. package/dist/chunks/md-196.js +0 -1
  564. package/dist/chunks/md-197.js +0 -1
  565. package/dist/chunks/md-198.js +0 -1
  566. package/dist/chunks/md-199.js +0 -1
  567. package/dist/chunks/md-20.js +0 -17
  568. package/dist/chunks/md-200.js +0 -1
  569. package/dist/chunks/md-201.js +0 -1
  570. package/dist/chunks/md-202.js +0 -1
  571. package/dist/chunks/md-203.js +0 -1
  572. package/dist/chunks/md-204.js +0 -1
  573. package/dist/chunks/md-205.js +0 -1
  574. package/dist/chunks/md-206.js +0 -1
  575. package/dist/chunks/md-207.js +0 -1
  576. package/dist/chunks/md-208.js +0 -1
  577. package/dist/chunks/md-209.js +0 -1
  578. package/dist/chunks/md-21.js +0 -23
  579. package/dist/chunks/md-210.js +0 -1
  580. package/dist/chunks/md-211.js +0 -1
  581. package/dist/chunks/md-212.js +0 -1
  582. package/dist/chunks/md-213.js +0 -1
  583. package/dist/chunks/md-214.js +0 -1
  584. package/dist/chunks/md-215.js +0 -1
  585. package/dist/chunks/md-216.js +0 -1
  586. package/dist/chunks/md-217.js +0 -1
  587. package/dist/chunks/md-218.js +0 -1
  588. package/dist/chunks/md-219.js +0 -1
  589. package/dist/chunks/md-22.js +0 -8
  590. package/dist/chunks/md-220.js +0 -1
  591. package/dist/chunks/md-221.js +0 -1
  592. package/dist/chunks/md-222.js +0 -1
  593. package/dist/chunks/md-223.js +0 -1
  594. package/dist/chunks/md-224.js +0 -1
  595. package/dist/chunks/md-225.js +0 -1
  596. package/dist/chunks/md-226.js +0 -1
  597. package/dist/chunks/md-227.js +0 -1
  598. package/dist/chunks/md-228.js +0 -1
  599. package/dist/chunks/md-229.js +0 -1
  600. package/dist/chunks/md-23.js +0 -1
  601. package/dist/chunks/md-230.js +0 -1
  602. package/dist/chunks/md-231.js +0 -1
  603. package/dist/chunks/md-232.js +0 -1
  604. package/dist/chunks/md-233.js +0 -1
  605. package/dist/chunks/md-234.js +0 -1
  606. package/dist/chunks/md-235.js +0 -1
  607. package/dist/chunks/md-236.js +0 -1
  608. package/dist/chunks/md-237.js +0 -1
  609. package/dist/chunks/md-238.js +0 -1
  610. package/dist/chunks/md-239.js +0 -1
  611. package/dist/chunks/md-24.js +0 -1
  612. package/dist/chunks/md-240.js +0 -1
  613. package/dist/chunks/md-241.js +0 -1
  614. package/dist/chunks/md-242.js +0 -1
  615. package/dist/chunks/md-243.js +0 -1
  616. package/dist/chunks/md-244.js +0 -1
  617. package/dist/chunks/md-245.js +0 -1
  618. package/dist/chunks/md-246.js +0 -1
  619. package/dist/chunks/md-247.js +0 -1
  620. package/dist/chunks/md-248.js +0 -1
  621. package/dist/chunks/md-249.js +0 -1
  622. package/dist/chunks/md-25.js +0 -7
  623. package/dist/chunks/md-250.js +0 -1
  624. package/dist/chunks/md-251.js +0 -1
  625. package/dist/chunks/md-252.js +0 -1
  626. package/dist/chunks/md-253.js +0 -1
  627. package/dist/chunks/md-254.js +0 -1
  628. package/dist/chunks/md-255.js +0 -1
  629. package/dist/chunks/md-256.js +0 -1
  630. package/dist/chunks/md-257.js +0 -1
  631. package/dist/chunks/md-259.js +0 -1
  632. package/dist/chunks/md-26.js +0 -8
  633. package/dist/chunks/md-260.js +0 -1
  634. package/dist/chunks/md-261.js +0 -1
  635. package/dist/chunks/md-262.js +0 -1
  636. package/dist/chunks/md-263.js +0 -1
  637. package/dist/chunks/md-264.js +0 -1
  638. package/dist/chunks/md-265.js +0 -1
  639. package/dist/chunks/md-266.js +0 -1
  640. package/dist/chunks/md-267.js +0 -1
  641. package/dist/chunks/md-268.js +0 -1
  642. package/dist/chunks/md-269.js +0 -1
  643. package/dist/chunks/md-27.js +0 -1
  644. package/dist/chunks/md-270.js +0 -1
  645. package/dist/chunks/md-271.js +0 -1
  646. package/dist/chunks/md-272.js +0 -1
  647. package/dist/chunks/md-273.js +0 -1
  648. package/dist/chunks/md-274.js +0 -1
  649. package/dist/chunks/md-275.js +0 -1
  650. package/dist/chunks/md-276.js +0 -1
  651. package/dist/chunks/md-277.js +0 -1
  652. package/dist/chunks/md-278.js +0 -1
  653. package/dist/chunks/md-28.js +0 -1
  654. package/dist/chunks/md-280.js +0 -1
  655. package/dist/chunks/md-281.js +0 -1
  656. package/dist/chunks/md-282.js +0 -1
  657. package/dist/chunks/md-283.js +0 -1
  658. package/dist/chunks/md-29.js +0 -55
  659. package/dist/chunks/md-3.js +0 -1
  660. package/dist/chunks/md-30.js +0 -1
  661. package/dist/chunks/md-31.js +0 -216
  662. package/dist/chunks/md-32.js +0 -49
  663. package/dist/chunks/md-33.js +0 -1
  664. package/dist/chunks/md-34.js +0 -1
  665. package/dist/chunks/md-35.js +0 -36
  666. package/dist/chunks/md-36.js +0 -33
  667. package/dist/chunks/md-37.js +0 -23
  668. package/dist/chunks/md-38.js +0 -5
  669. package/dist/chunks/md-39.js +0 -5
  670. package/dist/chunks/md-4.js +0 -1
  671. package/dist/chunks/md-40.js +0 -1
  672. package/dist/chunks/md-41.js +0 -21
  673. package/dist/chunks/md-42.js +0 -26
  674. package/dist/chunks/md-43.js +0 -44
  675. package/dist/chunks/md-44.js +0 -1
  676. package/dist/chunks/md-45.js +0 -30
  677. package/dist/chunks/md-46.js +0 -16
  678. package/dist/chunks/md-47.js +0 -1
  679. package/dist/chunks/md-48.js +0 -27
  680. package/dist/chunks/md-49.js +0 -5
  681. package/dist/chunks/md-5.js +0 -1
  682. package/dist/chunks/md-50.js +0 -38
  683. package/dist/chunks/md-51.js +0 -13
  684. package/dist/chunks/md-52.js +0 -35
  685. package/dist/chunks/md-53.js +0 -36
  686. package/dist/chunks/md-54.js +0 -121
  687. package/dist/chunks/md-55.js +0 -98
  688. package/dist/chunks/md-56.js +0 -11
  689. package/dist/chunks/md-57.js +0 -5
  690. package/dist/chunks/md-58.js +0 -77
  691. package/dist/chunks/md-59.js +0 -68
  692. package/dist/chunks/md-6.js +0 -1
  693. package/dist/chunks/md-60.js +0 -28
  694. package/dist/chunks/md-61.js +0 -14
  695. package/dist/chunks/md-62.js +0 -5
  696. package/dist/chunks/md-63.js +0 -51
  697. package/dist/chunks/md-64.js +0 -22
  698. package/dist/chunks/md-65.js +0 -47
  699. package/dist/chunks/md-66.js +0 -5
  700. package/dist/chunks/md-67.js +0 -1
  701. package/dist/chunks/md-68.js +0 -23
  702. package/dist/chunks/md-69.js +0 -5
  703. package/dist/chunks/md-7.js +0 -77
  704. package/dist/chunks/md-70.js +0 -11
  705. package/dist/chunks/md-71.js +0 -138
  706. package/dist/chunks/md-72.js +0 -30
  707. package/dist/chunks/md-73.js +0 -70
  708. package/dist/chunks/md-74.js +0 -19
  709. package/dist/chunks/md-75.js +0 -22
  710. package/dist/chunks/md-76.js +0 -17
  711. package/dist/chunks/md-77.js +0 -76
  712. package/dist/chunks/md-78.js +0 -7
  713. package/dist/chunks/md-79.js +0 -73
  714. package/dist/chunks/md-8.js +0 -1
  715. package/dist/chunks/md-80.js +0 -78
  716. package/dist/chunks/md-81.js +0 -71
  717. package/dist/chunks/md-82.js +0 -17
  718. package/dist/chunks/md-83.js +0 -5
  719. package/dist/chunks/md-84.js +0 -19
  720. package/dist/chunks/md-85.js +0 -1
  721. package/dist/chunks/md-86.js +0 -168
  722. package/dist/chunks/md-87.js +0 -43
  723. package/dist/chunks/md-88.js +0 -103
  724. package/dist/chunks/md-89.js +0 -82
  725. package/dist/chunks/md-9.js +0 -26
  726. package/dist/chunks/md-90.js +0 -12
  727. package/dist/chunks/md-91.js +0 -43
  728. package/dist/chunks/md-92.js +0 -34
  729. package/dist/chunks/md-93.js +0 -1
  730. package/dist/chunks/md-94.js +0 -1
  731. package/dist/chunks/md-95.js +0 -1
  732. package/dist/chunks/md-96.js +0 -1
  733. package/dist/chunks/md-97.js +0 -1
  734. package/dist/chunks/md-98.js +0 -1
  735. package/dist/chunks/md-99.js +0 -1
@@ -1 +1,72 @@
1
- !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("lit-element"),require("lit-html"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("@popperjs/core/lib/popper-lite"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("lit-html/directives/if-defined.js"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html","lit-html/directives/if-defined","lit-html/directives/class-map","lit-html/directives/style-map","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","@popperjs/core/lib/popper-lite","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","lit-html/directives/if-defined.js"],r);else{var i="object"==typeof exports?r(require("lit-element"),require("lit-html"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("@popperjs/core/lib/popper-lite"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("lit-html/directives/if-defined.js")):r(e["lit-element"],e["lit-html"],e["lit-html/directives/if-defined"],e["lit-html/directives/class-map"],e["lit-html/directives/style-map"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["@popperjs/core/lib/popper-lite"],e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e["lit-html/directives/if-defined.js"]);for(var t in i)("object"==typeof exports?exports:e)[t]=i[t]}}(window,(function(e,r,i,t,o,n,l,p,s,u,f,m,c){return function(e){function r(r){for(var t,l,p=r[0],s=r[1],u=r[2],m=0,c=[];m<p.length;m++)l=p[m],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&c.push(o[l][0]),o[l]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t]);for(f&&f(r);c.length;)c.shift()();return n.push.apply(n,u||[]),i()}function i(){for(var e,r=0;r<n.length;r++){for(var i=n[r],t=!0,p=1;p<i.length;p++){var s=i[p];0!==o[s]&&(t=!1)}t&&(n.splice(r--,1),e=l(l.s=i[0]))}return e}var t={},o={303:0,284:0,286:0,289:0,290:0,292:0,294:0,295:0,299:0,300:0,301:0,302:0,305:0,314:0,317:0,320:0,322:0,323:0,327:0,328:0,329:0,333:0,334:0,336:0,338:0,339:0,340:0,341:0,343:0,344:0,345:0,349:0,353:0},n=[];function l(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,l),i.l=!0,i.exports}l.m=e,l.c=t,l.d=function(e,r,i){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:i})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(l.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var t in e)l.d(i,t,function(r){return e[r]}.bind(null,t));return i},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var p=window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[],s=p.push.bind(p);p.push=r,p=p.slice();for(var u=0;u<p.length;u++)r(p[u]);var f=s;return n.push([121,10,0,1,2,3,4,5,7,6,9,12,13,42,65]),i()}({0:function(r,i){r.exports=e},10:function(e,r){e.exports=n},12:function(e,r){e.exports=l},18:function(e,r){e.exports=p},2:function(e,i){e.exports=r},22:function(e,r){e.exports=s},23:function(e,r){e.exports=u},24:function(e,r){e.exports=f},25:function(e,r){e.exports=m},3:function(e,r){e.exports=i},4:function(e,r){e.exports=t},47:function(e,r){e.exports=c},8:function(e,r){e.exports=o}})}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit-html/directives/if-defined.js"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/style-map","lit-html","lit-html/directives/class-map","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","@popperjs/core/lib/popper-lite","lit-html/directives/if-defined.js"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit-html/directives/if-defined.js")):t(e["lit-element"],e["lit-html/directives/style-map"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/if-defined"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e["@popperjs/core/lib/popper-lite"],e["lit-html/directives/if-defined.js"]);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,((e,t,i,o,r,n,s,l,p,a,d,c,h)=>(()=>{"use strict";var u,v={4863:e=>{e.exports=c},8229:e=>{e.exports=t},22962:e=>{e.exports=l},23968:e=>{e.exports=o},29895:(e,t,i)=>{i.r(t),i.d(t,{CoachmarkPopover:()=>o}),i(96798),i(61200),i(71128);var o,r=i(31890),n=i(26272),s=i(41488),l=i(23968),p=i(40587),a=function(e,t,i,o){var r,n=arguments.length,s=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(s=(n<3?r(s):n>3?r(t,i,s):r(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s};!function(e){let t=class extends s.LitElement{constructor(){super(...arguments),this.placement="bottom",this.headerIconName=void 0,this.header=void 0,this.message=void 0,this.show=!1,this.hideCloseButton=!1,this.href="",this.slotContent=null}static get styles(){return[n.A,p.A]}connectedCallback(){super.connectedCallback()}notifyCustomEvent(e){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:{placement:this.placement,triggerComponent:this.triggerComponent,popper:this.popper}}))}notifyCoachCreate(){this.notifyCustomEvent("coach-create")}notifyPrimaryButtonAction(){this.notifyCustomEvent("primary-button-action")}notifySecondaryButtonAction(){this.notifyCustomEvent("secondary-button-action")}notifyLinkAction(){this.notifyCustomEvent("link-action")}notifyCoachClose(){this.notifyCustomEvent("coachmark-close")}handleSlotChange(e){const t=e.target;if(t){const e=t.assignedElements({flatten:!0});e.length&&(this.slotContent=e)}}updated(e){super.updated(e),e.has("show")&&(this.show?this.notifyCoachCreate():this.notifyCoachClose())}coachmarkContentTemplate(){return s.html`
2
+ <div class="md-coachmark__content">
3
+ ${this.message?this.message:s.html` <slot name="coachmark-content" @slotchange=${this.handleSlotChange}></slot> `}
4
+ </div>
5
+ `}renderHeader(){return s.html`
6
+ <div class="header-container ${(0,l.classMap)({"hide-close":this.hideCloseButton})}">
7
+ ${this.headerIconName?s.html`<md-icon name=${this.headerIconName} size="16" iconSet="momentumDesign"></md-icon>`:""}
8
+ ${this.header?s.html`<span class="header-title">${this.header}</span>`:""}
9
+ </div>
10
+ `}renderBody(){return s.html` <div class="body-container">${this.coachmarkContentTemplate()}</div> `}renderFooter(){return s.html`
11
+ <div class="footer-container">
12
+ ${this.primaryButton?s.html`<md-button
13
+ variant="inverted-primary"
14
+ size="28"
15
+ @button-click=${()=>this.notifyPrimaryButtonAction()}
16
+ >
17
+ ${this.primaryButton}</md-button
18
+ >`:""}
19
+ ${this.secondaryButton?s.html`<md-button
20
+ variant="inverted-secondary"
21
+ size="28"
22
+ @button-click=${()=>this.notifySecondaryButtonAction()}
23
+ >
24
+ ${this.secondaryButton}</md-button
25
+ >`:""}
26
+ ${this.linkText?s.html`<a href=${this.href} @click=${()=>this.notifyLinkAction()} target="_blank" rel="noreferrer">
27
+ ${this.linkText}</a
28
+ >`:""}
29
+ </div>
30
+ `}render(){return s.html`
31
+ <md-popover
32
+ class="md-coachmark"
33
+ ?is-open=${this.show}
34
+ role="dialog"
35
+ show-arrow
36
+ ?show-close=${!this.hideCloseButton}
37
+ interactive
38
+ trigger="manual"
39
+ placement=${this.placement}
40
+ @popover-open-changed="${e=>{e.detail.isOpen||this.notifyCoachClose()}}"
41
+ >
42
+ <slot slot="triggerElement"></slot>
43
+ <div class="md-coachmark__popper" tabindex="-1">
44
+ ${this.renderHeader()} ${this.renderBody()} ${this.renderFooter()}
45
+ </div>
46
+ </md-popover>
47
+ `}};a([(0,s.property)({type:String})],t.prototype,"placement",void 0),a([(0,s.property)({type:String})],t.prototype,"headerIconName",void 0),a([(0,s.property)({type:String})],t.prototype,"header",void 0),a([(0,s.property)({type:String})],t.prototype,"message",void 0),a([(0,s.property)({type:Boolean})],t.prototype,"show",void 0),a([(0,s.property)({type:Boolean,reflect:!0,attribute:"hide-close-button"})],t.prototype,"hideCloseButton",void 0),a([(0,s.property)({type:String})],t.prototype,"primaryButton",void 0),a([(0,s.property)({type:String})],t.prototype,"secondaryButton",void 0),a([(0,s.property)({type:String})],t.prototype,"linkText",void 0),a([(0,s.property)({type:String})],t.prototype,"href",void 0),a([(0,s.query)(".md-coachmark__trigger-component")],t.prototype,"triggerComponent",void 0),a([(0,s.query)(".md-coachmark__popper")],t.prototype,"popper",void 0),t=a([(0,r.w)("md-coachmark-popover")],t),e.ELEMENT=t}(o||(o={}))},32022:e=>{e.exports=n},40333:e=>{e.exports=i},41488:t=>{t.exports=e},60554:e=>{e.exports=s},68250:e=>{e.exports=a},69371:e=>{e.exports=d},71128:(e,t,i)=>{i(96798),i(61200);var o,r=i(90195),n=i(31890),s=i(28373),l=i(66677),p=i(26283),a=i(22962),d=i.n(a),c=i(84157),h=i.n(c),u=i(68250),v=i.n(u),m=i(69371),g=i.n(m),f=i(4863),y=i(41488),b=i(40333),O=i(73679),E=i(35211),C=i(50325),w=function(e,t,i,o){var r,n=arguments.length,s=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(s=(n<3?r(s):n>3?r(t,i,s):r(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},k=function(e,t,i,o){return new(i||(i=Promise))((function(r,n){function s(e){try{p(o.next(e))}catch(e){n(e)}}function l(e){try{p(o.throw(e))}catch(e){n(e)}}function p(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,l)}p((o=o.apply(e,t||[])).next())}))};!function(e){let t=class extends((0,s.d)(y.LitElement)){constructor(){super(...arguments),this.placement="bottom",this.isOpen=!1,this.showArrow=!0,this.showClose=!1,this.interactive=!1,this.shouldWrapFocus=()=>this.interactive,this.role="dialog",this.ariaLabel=null,this.offsetDistance=5,this.trigger="click",this.triggerElement=null,this.popperInstance=null,this.isMouseOver=!1,this.onOutsideOverlayClick=e=>{var t;if(null===(t=this.trigger)||void 0===t?void 0:t.includes("manual"))return;let i=!1;const o=e.composedPath();o.length&&(i=!!o.find((e=>e===this)),i||(this.isOpen=!1))},this.onWindowBlurEvent=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("manual"))||this.isOpen&&(this.isOpen=!1)},this.onOutsideOverlayKeydown=e=>k(this,void 0,void 0,(function*(){this.isOpen&&e.code===r.Uz.Escape&&(e.preventDefault(),this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onTriggerElementClicked=()=>{this.toggleOverlay()},this.onTriggerElementKeydown=e=>k(this,void 0,void 0,(function*(){(0,p.o)(e.code)&&(e.preventDefault(),this.toggleOverlay()),e.code===r.Uz.Escape&&this.isOpen&&(this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onFocusInTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&(this.isOpen=!0)},this.onFocusOutTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&!this.isMouseOver&&(this.isOpen=!1)},this.onMouseEnteredTriggerOrPopup=e=>{var t;this.isMouseOver=!0,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&this.setIsOpenDebounced(!0)},this.onMouseLeaveTriggerOrPopup=e=>{var t;this.isMouseOver=!1,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&!this.shouldStayOpenOnTriggerFocus()&&this.setIsOpenDebounced(!1)},this.setIsOpenDebounced=(0,l.sg)((e=>{this.isOpen=e}),100)}static get styles(){return[C.A]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){var e,t,i,o,r;super.disconnectedCallback(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.removeEventListener("click",this.onTriggerElementClicked),this.triggerElement.removeEventListener("keydown",this.onTriggerElementKeydown)),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(o=this.popoverContainer)||void 0===o||o.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(r=this.trigger)||void 0===r?void 0:r.includes("focus"))&&(this.triggerElement.removeEventListener("focusin",this.onFocusInTrigger),this.triggerElement.removeEventListener("focusout",this.onFocusOutTrigger)))}setupTriggerEvents(){var e,t,i,o,r;this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.addEventListener("click",this.onTriggerElementClicked.bind(this)),this.triggerElement.addEventListener("keydown",this.onTriggerElementKeydown.bind(this))),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(o=this.popoverContainer)||void 0===o||o.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(r=this.trigger)||void 0===r?void 0:r.includes("focus"))&&(this.triggerElement.addEventListener("focusin",this.onFocusInTrigger),this.triggerElement.addEventListener("focusout",this.onFocusOutTrigger)))}handleTriggerElementSlotChange(){const e=this.triggerSlot.assignedElements({flatten:!0});this.triggerElement=e.length>0?e[0]:null}onContentSlotChanged(){}shouldStayOpenOnTriggerFocus(){var e;return!!(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&this.getRootNode().activeElement===this.triggerElement}firstUpdated(e){var t;super.firstUpdated(e),this.handleTriggerElementSlotChange(),this.setupTriggerEvents(),this.popoverContainer&&this.isOpen&&(this.createInstance(),null===(t=this.popoverContainer)||void 0===t||t.setAttribute("data-show",""))}focusInsideOverlay(){var e,t;this.focusableElements&&(this.focusableElements.length>1?null===(e=this.setInitialFocus)||void 0===e||e.call(this,1):this.focusableElements.length&&(null===(t=this.setInitialFocus)||void 0===t||t.call(this)))}focusOnTrigger(){return k(this,void 0,void 0,(function*(){requestAnimationFrame((()=>{var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.focusableElements[0].focus()}))}))}toggleOverlay(){var e;(null===(e=this.triggerElement)||void 0===e?void 0:e.hasAttribute("disabled"))||(this.isOpen=!this.isOpen)}handleCreatePopperFirstUpdate(){return k(this,void 0,void 0,(function*(){var e;this.isOpen&&this.interactive&&(null===(e=this.setFocusableElements)||void 0===e||e.call(this),yield this.updateComplete,this.focusInsideOverlay())}))}createInstance(){this.triggerElement?this.popperInstance=(0,f.createPopper)(this.triggerElement,this.popoverContainer,{onFirstUpdate:()=>{this.isOpen&&this.handleCreatePopperFirstUpdate()},placement:this.placement,modifiers:[...f.defaultModifiers,h(),v(),g(),d(),{name:"preventOverflow",options:{padding:16}},{name:"offset",options:{offset:({placement:e,reference:t})=>"left"===e||"right"===e?[t.height+t.y+this.offsetDistance,E.KC]:[0,this.showArrow?E.KC+this.offsetDistance:this.offsetDistance]}},{name:"arrow",options:{element:this.popoverArrow,padding:E.KC}},{name:"computeStyles",options:{adaptive:!0}}]}):console.warn("No trigger element not creating popper instance")}destroyInstance(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}updated(e){if(super.updated(e),e.has("isOpen")){const t=e.get("isOpen");this.isOpenUpdated(t,this.isOpen)}}isOpenUpdated(e,t){var i,o,r,n,s,l;e!==t&&(t?(this.createInstance(),this.dispatchPopoverIsOpenChanged(t),window.addEventListener("blur",this.onWindowBlurEvent),document.addEventListener("click",this.onOutsideOverlayClick),document.addEventListener("keydown",this.onOutsideOverlayKeydown),this.interactive&&(null===(i=this.activateFocusTrap)||void 0===i||i.call(this)),null===(o=this.triggerElement)||void 0===o||o.setAttribute("aria-expanded","true"),null===(r=this.popoverContainer)||void 0===r||r.setAttribute("data-show","")):(this.destroyInstance(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.dispatchPopoverIsOpenChanged(t),null===(n=this.deactivateFocusTrap)||void 0===n||n.call(this),null===(s=this.triggerElement)||void 0===s||s.removeAttribute("aria-expanded"),null===(l=this.popoverContainer)||void 0===l||l.removeAttribute("data-show")))}dispatchPopoverIsOpenChanged(e){this.dispatchEvent(new CustomEvent("popover-open-changed",{detail:{isOpen:e},composed:!0,bubbles:!0}))}render(){var e;return y.html`
48
+ <div class="md-popover">
49
+ <slot name="triggerElement" aria-expanded=${this.isOpen}></slot>
50
+ <div
51
+ part="popover"
52
+ class="popover-container"
53
+ role=${this.role}
54
+ aria-modal=${(0,O.ifDefined)(this.interactive?"true":void 0)}
55
+ aria-label=${(0,O.ifDefined)(null!==(e=this.ariaLabel)&&void 0!==e?e:void 0)}
56
+ >
57
+ ${this.showClose?y.html`<md-button
58
+ class="cancel-icon-button"
59
+ size="20"
60
+ hasRemoveStyle
61
+ circle
62
+ @button-click=${()=>this.isOpen=!1}
63
+ >
64
+ <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
65
+ </md-button>`:b.nothing}
66
+ ${this.showArrow?y.html`<div id="arrow" class="popover-arrow"></div>`:b.nothing}
67
+ <div class="popover-content" part="popover-content">
68
+ <slot @slotchange=${this.onContentSlotChanged}></slot>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ `}};w([(0,y.property)({type:String})],t.prototype,"placement",void 0),w([(0,y.property)({type:Boolean,attribute:"is-open"})],t.prototype,"isOpen",void 0),w([(0,y.property)({type:Boolean,attribute:"show-arrow"})],t.prototype,"showArrow",void 0),w([(0,y.property)({type:Boolean,attribute:"show-close"})],t.prototype,"showClose",void 0),w([(0,y.property)({type:Boolean})],t.prototype,"interactive",void 0),w([(0,y.property)({type:String,attribute:"role"})],t.prototype,"role",void 0),w([(0,y.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),w([(0,y.property)({type:Number,attribute:"offset-distance"})],t.prototype,"offsetDistance",void 0),w([(0,y.query)('slot[name="triggerElement"]')],t.prototype,"triggerSlot",void 0),w([(0,y.query)(".popover-container")],t.prototype,"popoverContainer",void 0),w([(0,y.query)(".popover-arrow")],t.prototype,"popoverArrow",void 0),w([(0,y.property)({type:String})],t.prototype,"trigger",void 0),w([(0,y.internalProperty)()],t.prototype,"isMouseOver",void 0),t=w([(0,n.w)("md-popover")],t),e.ELEMENT=t}(o||(o={}))},73679:e=>{e.exports=h},84157:e=>{e.exports=p},97822:e=>{e.exports=r}},m={};function g(e){var t=m[e];if(void 0!==t)return t.exports;var i=m[e]={exports:{}};return v[e](i,i.exports,g),i.exports}g.m=v,u=[],g.O=(e,t,i,o)=>{if(!t){var r=1/0;for(p=0;p<u.length;p++){for(var[t,i,o]=u[p],n=!0,s=0;s<t.length;s++)(!1&o||r>=o)&&Object.keys(g.O).every((e=>g.O[e](t[s])))?t.splice(s--,1):(n=!1,o<r&&(r=o));if(n){u.splice(p--,1);var l=i();void 0!==l&&(e=l)}}return e}o=o||0;for(var p=u.length;p>0&&u[p-1][2]>o;p--)u[p]=u[p-1];u[p]=[t,i,o]},g.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return g.d(t,{a:t}),t},g.d=(e,t)=>{for(var i in t)g.o(t,i)&&!g.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},g.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={3413:0,4131:0};g.O.j=t=>0===e[t];var t=(t,i)=>{var o,r,[n,s,l]=i,p=0;if(n.some((t=>0!==e[t]))){for(o in s)g.o(s,o)&&(g.m[o]=s[o]);if(l)var a=l(g)}for(t&&t(i);p<n.length;p++)r=n[p],g.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return g.O(a)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var f=g.O(void 0,[7502,1890,6272,6325,6875,2176,6798,9813,1200,2576,8210,6677,1270,3135,4663,587],(()=>g(29895)));return g.O(f)})()));
@@ -1,15 +1 @@
1
- require("../chunks/md-10");
2
- require("../chunks/md-0");
3
- require("../chunks/md-1");
4
- require("../chunks/md-2");
5
- require("../chunks/md-3");
6
- require("../chunks/md-4");
7
- require("../chunks/md-5");
8
- require("../chunks/md-7");
9
- require("../chunks/md-6");
10
- require("../chunks/md-9");
11
- require("../chunks/md-12");
12
- require("../chunks/md-13");
13
- require("../chunks/md-42");
14
- require("../chunks/md-65");
15
- module.exports = require("../comp/md-coachmark-popover-entry");
1
+ require("../7502"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../2576"),require("../8210"),require("../6677"),require("../1270"),require("../3135"),require("../4663"),require("../587"),module.exports=require("../comp/md-coachmark-popover-entry");
@@ -1,13 +1 @@
1
- require("../chunks/md-0");
2
- require("../chunks/md-1");
3
- require("../chunks/md-2");
4
- require("../chunks/md-3");
5
- require("../chunks/md-4");
6
- require("../chunks/md-5");
7
- require("../chunks/md-7");
8
- require("../chunks/md-6");
9
- require("../chunks/md-8");
10
- require("../chunks/md-11");
11
- require("../chunks/md-12");
12
- require("../chunks/md-64");
13
- module.exports = require("../comp/md-coachmark-entry");
1
+ require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../8889"),require("../300"),require("../2576"),require("../4624"),require("../591"),require("../768"),require("../3135"),require("../9058"),require("../2043"),require("../7763"),module.exports=require("../comp/md-coachmark-entry");
@@ -1 +1,218 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("lit-virtualizer"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html","lit-html/directives/if-defined","lit-html/directives/class-map","lit-html/directives/style-map","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","lit-html/directives/repeat","lit-virtualizer"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-html"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("lit-virtualizer")):t(e["lit-element"],e["lit-html"],e["lit-html/directives/if-defined"],e["lit-html/directives/class-map"],e["lit-html/directives/style-map"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["lit-html/directives/repeat"],e["lit-virtualizer"]);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(window,(function(e,t,i,r,n,o,l,u,m){return function(e){function t(t){for(var r,l,u=t[0],m=t[1],s=t[2],a=0,f=[];a<u.length;a++)l=u[a],Object.prototype.hasOwnProperty.call(n,l)&&n[l]&&f.push(n[l][0]),n[l]=0;for(r in m)Object.prototype.hasOwnProperty.call(m,r)&&(e[r]=m[r]);for(c&&c(t);f.length;)f.shift()();return o.push.apply(o,s||[]),i()}function i(){for(var e,t=0;t<o.length;t++){for(var i=o[t],r=!0,u=1;u<i.length;u++){var m=i[u];0!==n[m]&&(r=!1)}r&&(o.splice(t--,1),e=l(l.s=i[0]))}return e}var r={},n={304:0,284:0,286:0,287:0,289:0,290:0,292:0,293:0,294:0,295:0,299:0,300:0,301:0,302:0,305:0,314:0,317:0,320:0,322:0,323:0,327:0,328:0,329:0,333:0,336:0,339:0,340:0,341:0,342:0,343:0,344:0,345:0,349:0,353:0},o=[];function l(t){if(r[t])return r[t].exports;var i=r[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,l),i.l=!0,i.exports}l.m=e,l.c=r,l.d=function(e,t,i){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(l.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)l.d(i,r,function(t){return e[t]}.bind(null,r));return i},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var u=window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[],m=u.push.bind(u);u.push=t,u=u.slice();for(var s=0;s<u.length;s++)t(u[s]);var c=m;return o.push([57,10,28,0,1,2,3,4,5,7,6,9,8,11,12,14,31]),i()}({0:function(t,i){t.exports=e},10:function(e,t){e.exports=o},12:function(e,t){e.exports=l},13:function(e,t){e.exports=u},2:function(e,i){e.exports=t},3:function(e,t){e.exports=i},32:function(e,t){e.exports=m},4:function(e,t){e.exports=r},8:function(e,t){e.exports=n}})}));
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit-element"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("lit-virtualizer"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/class-map","lit-html/directives/style-map","lit-html","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","lit-html/directives/repeat","lit-virtualizer"],e);else{var i="object"==typeof exports?e(require("lit-element"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("lit-virtualizer")):e(t["lit-element"],t["lit-html/directives/class-map"],t["lit-html/directives/style-map"],t["lit-html"],t["lit-html/directives/if-defined"],t["@momentum-ui/icons/data/momentumUiIconsNames.json"],t["@momentum-ui/utils/lib/getColorValue"],t["lit-html/directives/repeat"],t["lit-virtualizer"]);for(var s in i)("object"==typeof exports?exports:t)[s]=i[s]}}(self,((t,e,i,s,o,l,n,r,a)=>(()=>{"use strict";var h,d={4928:(t,e,i)=>{i.r(e),i.d(e,{ComboBox:()=>s}),i(20109),i(61200);var s,o=i(90195),l=i(3001),n=i(31890),r=i(66677),a=i(26272),h=i(41488),d=i(40333),p=i(23968),u=i(97822),c=i(22818),m=i(8229),b=i(86635),g=i(97103),f=i(46795),x=function(t,e,i,s){var o,l=arguments.length,n=l<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(l<3?o(n):l>3?o(e,i,n):o(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n},v=function(t,e,i,s){return new(i||(i=Promise))((function(o,l){function n(t){try{a(s.next(t))}catch(t){l(t)}}function r(t){try{a(s.throw(t))}catch(t){l(t)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(n,r)}a((s=s.apply(t,e||[])).next())}))};!function(t){class e{determineMessageType(t){return t.reduce(((t,e)=>"error"===e?t:e.type),"")}filterMessagesByType(t,e){return t.reduce(((t,i)=>i.type===e?t.concat(i.message):t),[])}}t.MessageController=e;let i=class extends((0,l.yC)(h.LitElement)){constructor(){super(...arguments),this._focusedIndex=-1,this._focusedGroupIndex=-1,this.label="Options",this.options=[],this.customOptions=[],this.placeholder="",this.isMulti=!1,this.useVirtualScroll=!1,this.disabled=!1,this.ordered=!1,this.expanded=!1,this.groupExpandedList=[],this.searchItem=!1,this.compact=!1,this.noClearIcon=!1,this.selectWhenInFocus=!1,this.selectedOptions=[],this.visibleOptions=8,this.optionId="",this.optionValue="",this.isCustomContent=!1,this.searchable=!1,this.shape="none",this.value=[],this.inputValue="",this.allowCustomValue=!1,this.autofocus=!1,this.resultsTextLocalization="No Results",this.optionsTextLocalization="No Options",this.trimSpace=!1,this.invalid=!1,this.invalidText="",this.ariaLabel="",this.searchResultAriaLabel="",this.ariaLabelForComboBox="",this.clearAriaLabel="Clear",this.arrowAriaLabel="Expand",this.clearIconHeight="auto",this.allTextLocalization="All",this.selectAllTextLocalization="Select All",this.selectedTextLocalization="Selected",this.allowSelectAll=!1,this.showCustomError=!1,this.showLoader=!1,this.showSelectedCount=!1,this.popupChevronAriaHidden="true",this.newMomentum=!1,this.showFilterIcon=!1,this.preventFilter=!1,this.isDropdownArrow=!1,this.comboboxId="",this.helpText="",this.messageArr=[],this.htmlId="",this.readOnly=!1,this.messageController=new e,this.isOptGroup=!1,this.isSelectAllChecked=!1,this.multiSelectedIndex=-1,this.multiSelected=[],this.customContent=[],this.notifySelectedChange=(0,r.sg)((t=>{this.dispatchEvent(new CustomEvent("change-selected",{composed:!0,bubbles:!0,detail:t}))}),0),this.handleGroupFilter=t=>{const e=t.filter((t=>{if("string"!=typeof t&&"true"===t.isLabel)return t.groupName}));return this.searchItem=!0,this.groupExpandedList=e.map((t=>{if("string"!=typeof t)return t.groupName})),t.filter((e=>"string"==typeof e||"true"!==e.isLabel||!!t.find((t=>{if("string"!=typeof e&&"string"!=typeof t)return e.groupName===t.groupName&&"false"===t.isLabel}))))},this.notifyInputValueChanged=(0,r.sg)((t=>{this.dispatchEvent(new CustomEvent("combobox-input",{composed:!0,bubbles:!0,detail:{value:t}})),this.notifySearchResultCount(),this.focusedGroupIndex=0,requestAnimationFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}),250),this.handleOutsideClick=t=>{let e=!1;const i=t.composedPath();i.length&&(e=!!i.find((t=>t===this)),e||(this.setVisualListbox(!1),this.unselectedAllMultiTag()))}}get focusedIndex(){return this._focusedIndex}set focusedIndex(t){this.updateFocusedIndex(t)}updateFocusedIndex(t){var e;const i=this._focusedIndex;if(this.checkForVirtualScroll()){let i;i=this.allowSelectAll?0===t?"selectAll":this.getOptionId(this.filteredOptions[t-1]):this.getOptionId(this.filteredOptions[t]);const s=this.lists?null===(e=[...this.lists])||void 0===e?void 0:e.find((t=>0!==t.offsetHeight&&t.id===i)):"";this.lists&&[...this.lists].forEach((t=>{t.toggleAttribute("focused",!1)})),s&&(null==s||s.toggleAttribute("focused",!0))}else if(this.lists){const e=this.lists[i];e&&e.toggleAttribute("focused",!1);const s=this.lists[t];s&&s.toggleAttribute("focused",!0)}this._focusedIndex=t,this.requestUpdate("focusedIndex",i)}get focusedGroupIndex(){return this._focusedGroupIndex}set focusedGroupIndex(t){const e=this._focusedGroupIndex;if(this.labels&&0!==this.labels.length){const i=this.labels[e];i&&i.toggleAttribute("focused",!1);const s=this.labels[t];s&&(s.toggleAttribute("focused",!0),s.focus())}this._focusedGroupIndex=t,this.requestUpdate("focusedGroupIndex",e)}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}notifySearchResultCount(){if(this.searchResultAriaLabel){const t=/{{.*?}}/g;this.ariaLabelForComboBox=this.searchResultAriaLabel.replace(t,this.filteredOptions.length.toString())}else this.ariaLabel?this.ariaLabelForComboBox=`${this.ariaLabel}, ${this.filteredOptions.length} results found.`:this.ariaLabelForComboBox=`ComboBox Element, ${this.filteredOptions.length} results found.`}firstUpdated(t){this.ariaLabelForComboBox=this.ariaLabel?this.ariaLabel:"ComboBox Element",super.firstUpdated(t),this.isCustomContent&&(this.optionId="id",this.optionValue="value",this.setOptionCustomContent()),this.setInitialValue()}updated(t){super.updated(t),t.has("expanded")&&(this.expanded?(this.resizeListbox(),this.checkSelectedOptions()):this.unCheckAllOptions()),t.has("focusedIndex")&&this.focusedIndex>=0&&(this.checkForVirtualScroll()||this.scrollToOption()),t.has("value")&&0===this.selectedOptions.length&&this.setInitialValue(),t.has("customOptions")&&this.isCustomContent&&(this.setOptionCustomContent(),this.resizeListbox()),t.has("showCustomError")&&this.resizeListbox(),t.has("showLoader")&&this.resizeListbox(),t.has("searchItem")&&this.resizeListbox()}handleFocusIn(t){this.disabled&&!this.readOnly||(this.noClearIcon&&(requestAnimationFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1})),this.selectWhenInFocus&&this.input.select()),super.handleFocusIn&&super.handleFocusIn(t)),this.dispatchEvent(new CustomEvent("combobox-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(t){super.handleFocusOut&&super.handleFocusOut(t),this.dispatchEvent(new CustomEvent("combobox-focus-out",{composed:!0,bubbles:!0}))}findFilteredOption(t){return this.isOptionObject(t)?this.filteredOptions.findIndex((e=>this.getOptionId(e)===this.getOptionId(t)&&this.getOptionValue(e)===this.getOptionValue(t))):this.filteredOptions.indexOf(t)}setInitialValue(){var t;if(this.value.length)if(this.isMulti)this.value.forEach((t=>{-1!==this.findFilteredOption(t)&&this.setSelectedOption(t)}));else{const e=this.value[0],i=this.findFilteredOption(e);-1!==i&&(this.setSelectedOption(e),this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e)),this.focusedIndex=i,this.focusedGroupIndex=-1)}}isOptionObject(t){return"object"==typeof t&&null!==t}setOptionCustomContent(){if(this.isOptGroup){const t=[...this.querySelectorAll("optgroup")],e=[];for(const i of t){const t=i.getAttribute("label"),s=[...i.querySelectorAll("[slot]")];e.push({isLabel:"true",[this.optionValue]:t,groupName:t});for(const i of s){const s=i.getAttribute("aria-label"),o=i.getAttribute("display-value"),l=i.getAttribute("slot");s&&o&&e.push({[this.optionId]:s,[this.optionValue]:o,isLabel:"false",groupName:t,slot:l})}}this.options=e}else this.customContent=[...this.querySelectorAll("[slot]")],this.customContent&&this.customContent.length?this.options=this.customContent.map((t=>{const e=t.getAttribute("aria-label"),i=t.getAttribute("display-value");if(e&&i)return{[this.optionId]:e,[this.optionValue]:i}})):this.options=[]}getOptionValue(t){return this.isOptionObject(t)?t[this.optionValue]:t}getOptionGroupName(t){return null==t?void 0:t.groupName}getOptionId(t){return this.isOptionObject(t)?t[this.optionId]:t}getFocusedItem(t){if(t>=0)return this.filteredOptions[t]}setupEvents(){document.addEventListener("click",this.handleOutsideClick),this.addEventListener("remove-all-selected",this.removeAllSelected),this.addEventListener("selected-changed",this.selectedChange)}teardownEvents(){document.removeEventListener("click",this.handleOutsideClick),this.removeEventListener("remove-all-selected",this.removeAllSelected),this.removeEventListener("selected-changed",this.selectedChange)}setVisualListbox(t){this.expanded=t}setGroupList(t){this.groupExpandedList.includes(t)?(this.groupExpandedList.splice(this.groupExpandedList.indexOf(t),1),this.groupExpandedList=[...this.groupExpandedList]):this.searchItem?this.groupExpandedList.push(t):this.groupExpandedList=[t]}findSelectedOption(t){return this.optionId&&t?this.selectedOptions.findIndex((e=>e&&e[this.optionId]===t[this.optionId])):this.selectedOptions.indexOf(t)}findOptionIndex(t){const e=t.composedPath();if(this.checkForVirtualScroll()){let t="";return[...this.lists].forEach((i=>{e.includes(i)&&(t=i.id)})),this.filteredOptions.findIndex((e=>this.getOptionId(e)===t))}return[...this.lists].findIndex((t=>e.includes(t)))}checkSelectedOptions(){if(this.checkForVirtualScroll()){const t=this.selectedOptions.map((t=>this.getOptionId(t))),e=[...this.lists].filter((t=>"selectAll"!==t.id));null==e||e.forEach((e=>{t.includes(e.id)?(this.isMulti&&(null==e||e.setAttribute("aria-checked","true")),null==e||e.setAttribute("aria-selected","true")):this.isMulti&&(null==e||e.setAttribute("aria-checked","false"))}))}}unCheckAllOptions(){var t;this.checkForVirtualScroll()&&this.isMulti&&(null===(t=[...this.lists])||void 0===t||t.forEach((t=>{"selectAll"!==(null==t?void 0:t.id)&&(null==t||t.setAttribute("aria-checked","false"))})))}setSelectedOption(t){this.isMulti||(this.selectedOptions=[]);const e=this.findSelectedOption(t);if(-1!==e){const t=this.selectedOptions[e];this.selectedOptions.splice(e,1),this.notifySelectedChange({value:t,selected:this.selectedOptions})}else this.selectedOptions.push(t),this.notifySelectedChange({value:t,selected:this.selectedOptions});this.checkSelectedOptions(),this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()),this.requestUpdate()}filterOptions(t){if(this.preventFilter)return this.searchItem=!1,this.options;if(t&&t.length){const e=this.options.filter((e=>this.isOptGroup&&"string"!=typeof e&&"true"===e.isLabel?e:(this.isCustomContent?this.getOptionId(e):this.getOptionValue(e)).toLowerCase().includes(t.toLowerCase())));return this.isOptGroup?this.handleGroupFilter(e):e}return this.searchItem=!1,this.options}getListBoxVerticalPadding(){if(this.listBox){const t=window.getComputedStyle(this.listBox,null),e=parseInt(t.getPropertyValue("padding-top"))+parseInt(t.getPropertyValue("padding-bottom"));if(!isNaN(e))return e+2}return 10}resizeListbox(){this.updateOnNextFrame((()=>{var t;let e=0,i=0,s=0;const o=this.getListBoxVerticalPadding();if(this.lists){const t=this.checkForVirtualScroll()?[...this.lists].filter((t=>0!==t.offsetHeight)):[...this.lists];e=t.slice(0,this.visibleOptions).reduce(((t,e)=>t+e.offsetHeight),0),s=this.checkForVirtualScroll()&&this.allowSelectAll?t.slice(1,this.visibleOptions).reduce(((t,e)=>t+e.offsetHeight),0):t.slice(0,this.visibleOptions).reduce(((t,e)=>t+e.offsetHeight),0)}if(this.labels&&(i=[...this.labels].slice(0,this.visibleOptions).reduce(((t,e)=>t+e.offsetHeight),0)),this.listBox&&(this.listBox.style.maxHeight=`${e+i+o}px`),this.virtualizer&&(this.virtualizer.style.height=`${s+o}px`),this.showCustomError||this.showLoader){const e=null===(t=this.listBox)||void 0===t?void 0:t.querySelector("[slot]");this.listBox&&e&&(this.listBox.style.height=`${e.clientHeight+o}px`,this.listBox.style.maxHeight=`${e.clientHeight+o}px`)}}))}setInputValue(t=""){this.input.value=t}updateOnNextFrame(t){requestAnimationFrame(t)}unCheckedAllOptions(){this.isMulti&&(this.lists.forEach(((t,e)=>this.unCheckedOption(e))),this.isSelectAllChecked=!1)}unCheckedOption(t){this.isMulti&&(this.lists[t].setAttribute("aria-checked","false"),this.notifySelectedChange({value:this.filteredOptions[t],selected:this.selectedOptions}))}checkAllOptions(){this.isMulti&&this.lists.forEach(((t,e)=>this.checkOption(e)))}checkOption(t){this.isMulti&&(this.lists[t].setAttribute("aria-checked","true"),this.notifySelectedChange({value:this.filteredOptions[t],selected:this.selectedOptions}))}isSelectAllSelected(){return this.selectedOptions.length===this.options.length}setFocusOnHost(t){this.setFocus&&this.setFocus(t)}isOptionFocused(t){return this.focusedIndex===t}getAriaState(t){return this.isOptionFocused(t)}scrollToOption(){var t,e;let i=0;const{top:s,bottom:o}=this.listBox.getBoundingClientRect(),l=this.lists[this.focusedIndex],n=null===(t=this.lists[this.focusedIndex+1]||l)||void 0===t?void 0:t.getBoundingClientRect(),r=null===(e=this.lists[this.focusedIndex-1]||l)||void 0===e?void 0:e.getBoundingClientRect();(null==n?void 0:n.bottom)>o?i=n.bottom-o+2:(null==r?void 0:r.top)<s&&(i=r.top-s-2),this.updateOnNextFrame((()=>{this.listBox.scrollTop+=i}))}getCustomContentName(t){const e=this.options.indexOf(t);if(this.isOptGroup){const t=this.options[e];if(t&&"string"!=typeof t)return t.slot}else if(-1!==e)return this.customContent[e].slot}setInputSelectionRange(t,e){this.input.setSelectionRange(t,e)}isOptionChecked(t){return-1!==this.findSelectedOption(t)?"true":"false"}getInputSelection(){return this.input.selectionStart}canMultiSelect(){return 0===this.getInputSelection()&&0!==this.selectedOptions.length&&this.isMulti}removeMultiTag(){this.selected&&this.multiSelected.forEach((t=>{const e=this.selected[t];e&&e.hasAttribute("selected")&&this.removeSelected(this.selectedOptions[t])}))}unselectedAllMultiTag(){this.selected&&this.selected.forEach((t=>t.removeAttribute("selected"))),this.multiSelectedIndex=-1}findLastMultiSelected(){return this.selected[this.multiSelectedIndex]}toggleMultiSelectedTag(t,e){t&&t.toggleAttribute("selected",e)}selectMultiTag(t){if(this.canMultiSelect()){if(!t){this.multiSelected=[];const t=this.findLastMultiSelected();this.toggleMultiSelectedTag(t,!1)}this.multiSelectedIndex<=0?this.multiSelectedIndex=this.selectedOptions.length-1:this.multiSelectedIndex--,this.multiSelected.push(this.multiSelectedIndex);const e=this.findLastMultiSelected();this.toggleMultiSelectedTag(e,!0)}}handleListClick(t){return v(this,void 0,void 0,(function*(){this.dispatchEvent(new CustomEvent("selected-changed",{detail:{event:t}})),yield this.updateComplete,this.isMulti?this.setVisualListbox(!0):this.setVisualListbox(!1),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}))}handleSelectAll(){return v(this,void 0,void 0,(function*(){this.isSelectAllChecked=!this.isSelectAllChecked,this.isSelectAllChecked?(this.selectedOptions=[...this.options],this.checkAllOptions()):(this.selectedOptions=[],this.unCheckedAllOptions()),yield this.updateComplete,this.setVisualListbox(!0),this.notifySelectedChange({selected:this.selectedOptions})}))}handleInputKeyUp(t){switch(t.code){case o.Uz.Escape:break;case o.Uz.Backspace:this.setFocusOnHost(!0),this.setVisualListbox(!0),this.resizeListbox(),this.removeMultiTag();break;case o.Uz.ArrowLeft:this.isMulti&&(t.shiftKey?this.selectMultiTag(!0):this.selectMultiTag(!1));break;default:this.isMulti&&this.unselectedAllMultiTag()}}handleInput(t){const e=t.target.value;this.inputValue=e.trim(),this.notifyInputValueChanged(e.trim())}removeAllSelected(){var t;this.focusedIndex=-1,this.focusedGroupIndex=-1,this.selectedOptions=[],this.inputValue="",this.setInputValue(),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,""),this.setVisualListbox(!1),this.unCheckedAllOptions(),this.setSelectedAttribute(void 0),this.updateOnNextFrame((()=>{this.input.focus()})),this.notifySelectedChange({selected:this.selectedOptions})}removeSelected(t){const e=this.findSelectedOption(t),i=this.filteredOptions.indexOf(t);-1!==i&&this.unCheckedOption(i),-1!==e&&(this.selectedOptions.splice(e,1),this.requestUpdate()),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}selectedChange(t){var e;const{event:i}=t.detail;let s=this.findOptionIndex(i);if(-1!==s){this.focusedIndex=this.allowSelectAll&&this.checkForVirtualScroll()?s+1:s,this.isMulti&&this.allowSelectAll&&!this.checkForVirtualScroll()&&(s-=1);const t=this.getFocusedItem(s);this.setSelectedAttribute(t),t&&(this.setSelectedOption(t),this.isMulti?this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()):(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t))))}}setSelectedAttribute(t){var e;let i="";t&&(i=this.getOptionId(t)),null===(e=this.lists)||void 0===e||e.forEach(((t,e)=>{(null==t?void 0:t.id)===i?null==t||t.setAttribute("selected","true"):null==t||t.setAttribute("selected","false")}))}shouldChangeButton(){const t=this.input&&this.input.value.length>0&&!this.noClearIcon||this.isMulti&&this.selectedOptions.length&&!this.noClearIcon;return t&&document.dispatchEvent(new CustomEvent("on-widget-update")),t}setCustomValue(){this.optionId||this.optionValue||(this.options=[...this.options,this.inputValue],this.setSelectedOption(this.inputValue),this.isMulti||this.updateOnNextFrame((()=>{var t;this.focusedIndex=this.filteredOptions.length-1;const e=this.getFocusedItem(this.focusedIndex);e&&(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e)))})),this.dispatchEvent(new CustomEvent("custom-value-add",{composed:!0,bubbles:!0,detail:{value:this.inputValue}}))),this.inputValue=""}handleGroupFocus(){this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.filteredGroupOptions.length>0&&-1===this.focusedGroupIndex&&(this.focusedGroupIndex=this.filteredGroupOptions.findIndex((t=>"string"!=typeof t&&t.groupName===this.groupExpandedList[0]))),this.updateOnNextFrame((()=>{-1===this.focusedGroupIndex||!this.allowSelectAll&&this.focusedGroupIndex>=this.filteredGroupOptions.length-1||this.allowSelectAll&&this.focusedGroupIndex>=this.filteredGroupOptions.length?this.focusedGroupIndex=0:this.focusedGroupIndex++})),this.focusedIndex=-1}handleInputKeyDown(t){var e,i;switch(t.code){case o.Uz.Backspace:this.focusedIndex=-1;break;case o.Uz.Tab:case o.Uz.Enter:if(this.setFocusOnHost(!0),this.expanded&&this.updateOnNextFrame((()=>{var t;const e=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);this.allowCustomValue&&this.input&&this.input.value.length&&-1===this.findFilteredOption(this.inputValue)?this.setCustomValue():(e&&(this.setSelectedAttribute(e),this.setSelectedOption(e),this.showSelectedCount||(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e)))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll())})),this.setVisualListbox(!1),t.code===o.Uz.Tab&&this.isMulti)return;break;case o.Uz.ArrowDown:if(this.isOptGroup&&0===this.filteredOptions.length)return void this.handleGroupFocus();this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame((()=>{var t;-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const e=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(e)],!this.showSelectedCount&&e&&(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e))),this.focusedGroupIndex=-1}));break;case o.Uz.ArrowUp:if(this.isOptGroup&&0===this.filteredOptions.length)return void this.handleGroupFocus();this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame((()=>{var t;this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const e=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(e)],e&&!this.showSelectedCount&&(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e)),this.focusedGroupIndex=-1)}));break;case o.Uz.ArrowLeft:case o.Uz.ArrowRight:t.stopPropagation();break;case o.Uz.Escape:this.setFocusOnHost(!0),this.expanded?(t.stopPropagation(),this.setVisualListbox(!1)):(this.setInputValue(),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,""),this.focusedIndex=-1,this.focusedGroupIndex=-1,this.removeAllSelected(),this.setSelectedAttribute(void 0));break;case o.Uz.Home:this.setInputSelectionRange(0,0);break;case o.Uz.End:{const{length:t}=this.inputValue;this.setInputSelectionRange(t,t)}break;case o.Uz.Space:if(this.isMulti&&this.expanded){t.preventDefault();const e=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);e&&(this.setSelectedOption(e),this.setSelectedAttribute(e),this.showSelectedCount||(this.setInputValue(),null===(i=this.input)||void 0===i||i.setAttribute(o.iw.AriaActivedescendant,""))),0===this.focusedIndex&&this.allowSelectAll&&this.handleSelectAll()}this.expanded=!0}}handleGroupLabelKeyDown(t,e){switch(t.code){case o.Uz.Tab:this.handleGroupFocus();break;case o.Uz.Enter:case o.Uz.Space:-1!==this.focusedGroupIndex?this.toggleGroupListBox(t,e.value):(this.setFocusOnHost(!0),this.setVisualListbox(!1),this.updateOnNextFrame((()=>{var t;const e=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);e&&(this.setSelectedOption(e),this.showSelectedCount||(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e)),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1})))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll()})));break;case o.Uz.ArrowDown:if(0===this.filteredOptions.length)return;this.setFocusOnHost(!1),this.updateOnNextFrame((()=>{var t;-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const e=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(e)],!this.showSelectedCount&&e&&(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e))),this.focusedGroupIndex=-1}));break;case o.Uz.ArrowUp:if(this.isOptGroup&&0===this.filteredOptions.length)return;this.setFocusOnHost(!1),this.updateOnNextFrame((()=>{var t;this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const e=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(e)],e&&!this.showSelectedCount&&(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e)))}));break;case o.Uz.Escape:this.focusedGroupIndex=-1,this.setVisualListbox(!1),this.setFocusOnHost(!0),this.input.focus();break;default:this.setVisualListbox(!0)}}toggleVisualListBox(t){var e,i;if(!this.readOnly){if(t.target.classList.contains("md-combobox-listbox"))t.target.focus();else if("md-icon"===t.target.localName){const s=null===(i=null===(e=t.target.parentElement)||void 0===e?void 0:e.parentElement)||void 0===i?void 0:i.parentElement;if(s){const t=s.querySelector(".md-combobox-listbox");(0,g.setTimeout)((()=>{t.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(),this.setGroupList(""),this.focusedGroupIndex=-1}}toggleGroupListBox(t,e){t.stopPropagation(),this.focusedGroupIndex=this.filteredGroupOptions.findIndex((t=>"string"!=typeof t&&t.groupName===e)),this.setGroupList(e),this.resizeListbox()}handleRemoveAll(t){t.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}connectedCallback(){super.connectedCallback(),this.setupEvents(),this.querySelector("optgroup")&&(this.isOptGroup=!0)}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}static get styles(){return[a.A,f.A]}get listItemOptionMap(){return{"md-combobox-multiselect":this.isMulti,compact:this.compact,"md-combobox-dropdown-arrow":this.isDropdownArrow}}get filteredOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter((t=>!this.isOptGroup||("string"!=typeof t&&this.groupExpandedList.includes(this.getOptionGroupName(t))?"false"===t.isLabel:void 0)))}get filteredGroupOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter((t=>!this.isOptGroup||("string"!=typeof t?"true"===t.isLabel:void 0)))}get comboBoxTemplateClassMap(){return{[`md-combobox--${this.shape}`]:!!this.shape,"md-combobox-searchable":this.searchable,"md-combobox-has-leading-icon":this.searchable||this.showFilterIcon,"md-new-combobox":this.newMomentum,[`md-${this.messageType}`]:!!this.messageType,"md-combobox-readonly":this.readOnly,"md-combobox-compact":this.compact,"md-combobox-dropdown-arrow":this.isDropdownArrow}}searchIconTemplate(){return this.leadingIconTemplate("search-bold","search-icon")}filterIconTemplate(){return this.leadingIconTemplate("filter-bold","filter-icon")}leadingIconTemplate(t,e){return h.html`
2
+ <md-icon
3
+ name=${t}
4
+ class=${e}
5
+ size="16"
6
+ iconSet="momentumDesign"
7
+ @click=${this.toggleVisualListBox}
8
+ ></md-icon>
9
+ `}selectedOptionTemplate(t){return h.html`
10
+ <div class="md-combobox-selected-item">
11
+ <span>${this.getOptionValue(t)}</span>
12
+ <md-icon
13
+ class="remove-item"
14
+ name="cancel-bold"
15
+ size=${this.newMomentum?"16":"8"}
16
+ iconSet="momentumDesign"
17
+ @click=${()=>this.removeSelected(t)}
18
+ ></md-icon>
19
+ </div>
20
+ `}clearButtonTemplate(){return h.html`
21
+ <button
22
+ type="button"
23
+ class="md-combobox-button clear"
24
+ aria-label=${this.clearAriaLabel}
25
+ aria-controls="md-combobox-listbox"
26
+ tabindex="0"
27
+ ?disabled=${this.disabled}
28
+ ?readonly=${this.readOnly}
29
+ @click=${this.handleRemoveAll}
30
+ >
31
+ <md-icon
32
+ class="md-input__icon-clear"
33
+ name="cancel-bold"
34
+ size="14"
35
+ iconSet="momentumDesign"
36
+ style="height: ${this.clearIconHeight};"
37
+ ></md-icon>
38
+ </button>
39
+ `}arrowButtonTemplate(){return h.html`
40
+ <button
41
+ type="button"
42
+ class="md-combobox-button arrow-down"
43
+ part="combobox-button-arrow"
44
+ aria-expanded=${this.expanded}
45
+ aria-label=${(0,u.ifDefined)("true"===this.popupChevronAriaHidden?void 0:this.arrowAriaLabel)}
46
+ aria-controls="md-combobox-listbox"
47
+ tabindex="-1"
48
+ aria-hidden=${(0,u.ifDefined)("true"===this.popupChevronAriaHidden?"true":void 0)}
49
+ ?disabled=${this.disabled}
50
+ ?readonly=${this.readOnly}
51
+ @click=${this.toggleVisualListBox}
52
+ >
53
+ <md-icon name="arrow-down-bold" size="16" iconSet="momentumDesign"></md-icon>
54
+ </button>
55
+ `}groupArrowButtonTemplate(t){const e=this.groupExpandedList.includes(t)?"arrow-up-bold":"arrow-down-bold";return h.html`
56
+ <button
57
+ type="button"
58
+ class="md-combobox-button"
59
+ part="combobox-button-arrow"
60
+ aria-label=${(0,u.ifDefined)("true"===this.popupChevronAriaHidden?void 0:this.arrowAriaLabel)}
61
+ aria-controls="md-combobox-listbox"
62
+ tabindex="-1"
63
+ aria-hidden=${"true"===this.popupChevronAriaHidden?"true":"false"}
64
+ ?disabled=${this.disabled}
65
+ ?readonly=${this.readOnly}
66
+ @click=${e=>this.toggleGroupListBox(e,t)}
67
+ >
68
+ <span>
69
+ <md-icon name=${e} size="12" iconSet="momentumDesign"></md-icon>
70
+ </span>
71
+ </button>
72
+ `}getSelectAllOption(){const t=this.checkForVirtualScroll()?`, 1 of ${this.options.length+1}`:"";return h.html`
73
+ <div
74
+ id="selectAll"
75
+ part="combobox-option"
76
+ class="md-combobox-option ${(0,p.classMap)(this.listItemOptionMap)}"
77
+ @click=${this.handleSelectAll}
78
+ aria-label="${this.selectAllTextLocalization}${t}"
79
+ aria-checked=${(0,u.ifDefined)(this.isSelectAllChecked?"true":void 0)}
80
+ role="checkbox"
81
+ >
82
+ <span class="select-option" aria-hidden="true">
83
+ <md-icon name="check-bold" size="14" iconSet="momentumDesign"></md-icon>
84
+ </span>
85
+
86
+ <span part="label" class="select-label" aria-hidden="true">${this.selectAllTextLocalization}</span>
87
+ </div>
88
+ `}getSelctedCount(){return 0===this.selectedOptions.length?d.nothing:this.isSelectAllSelected()?h.html` <span class="selected-count">${this.allTextLocalization}</span> `:h.html`
89
+ <span class="selected-count">${this.selectedOptions.length} ${this.selectedTextLocalization}</span>
90
+ `}checkForVirtualScroll(){return this.useVirtualScroll&&!this.isOptGroup}rangeChanged(){this.updateFocusedIndex(this.focusedIndex),this.checkSelectedOptions(),this.resizeListbox()}getCustomErrorContent(){const t=this.querySelector("[slot]")||this.shadowRoot.querySelector("[slot]");return document.createRange().createContextualFragment(`${null==t?void 0:t.outerHTML}`)}getCustomContent(t){const e=this.getCustomContentName(t);if(this.isOptGroup){const t=[...this.querySelectorAll("[slot]")].find((t=>t.slot===e));return t?document.createRange().createContextualFragment(`${t.outerHTML}`):h.html``}return h.html` <slot name=${(0,u.ifDefined)(e)}></slot> `}renderGroupLabelHeader(t,e){return h.html`
91
+ <div
92
+ part="group-label"
93
+ class="group-label"
94
+ role="listbox"
95
+ aria-controls="md-combobox-listbox"
96
+ aria-label=${t.value}
97
+ @click=${e=>this.toggleGroupListBox(e,t.value)}
98
+ @keydown=${e=>{this.handleGroupLabelKeyDown(e,t)}}
99
+ tabindex="1"
100
+ aria-selected=${this.getAriaState(e)}
101
+ >
102
+ <span part="group-label">${t.value}</span>
103
+ ${this.groupArrowButtonTemplate(t.value)}
104
+ </div>
105
+ `}renderWithoutVirtualScroll(){return(0,c.repeat)(this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue),(t=>this.getOptionId(t)),((t,e)=>"string"!=typeof t&&this.isOptGroup&&"true"===t.isLabel?this.renderGroupLabelHeader(t,e):!this.isOptGroup||this.groupExpandedList.includes(this.getOptionGroupName(t))?this.renderItem(t,e):void 0))}highlightingSearchedText(t){return(0,r.ws)(this.getOptionValue(t),this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).map((({text:t,matching:e})=>e?h.html` <span class="highlight-text" part="select-label">${t}</span> `:h.html` <span class="selected-label-text" part="select-label">${t}</span> `))}addStyle(){const t=!this.expanded||this.options.length&&0===this.filteredOptions.length&&this.inputValue&&this.allowCustomValue;return this.checkForVirtualScroll()?(0,m.styleMap)({visibility:t?"hidden":"visible","z-index":t?"-1":"99",overflow:"hidden"}):(0,m.styleMap)({display:t?"none":"block","z-index":"99",overflow:"auto"})}renderItem(t,e){const i=this.allowSelectAll?e+2:e+1,s=this.allowSelectAll?this.options.length+1:this.options.length,o=this.checkForVirtualScroll()?`, ${i} of ${s}`:"";return h.html`
106
+ <div
107
+ id=${this.getOptionId(t)}
108
+ title="${this.getOptionValue(t)}"
109
+ part="combobox-option"
110
+ class="md-combobox-option"
111
+ aria-posinset=${i}
112
+ aria-setsize=${s}
113
+ role=${this.isMulti?"checkbox":"listitem"}
114
+ aria-label="${this.isCustomContent?this.getOptionId(t):this.getOptionValue(t)}${o}"
115
+ tabindex="-1"
116
+ @click=${this.handleListClick}
117
+ aria-checked=${(0,u.ifDefined)(this.isMulti?this.isOptionChecked.call(this,t):void 0)}
118
+ >
119
+ ${this.isMulti?h.html`
120
+ <span class="select-option" aria-hidden="true">
121
+ <md-icon name="check-bold" size="14" iconSet="momentumDesign"></md-icon>
122
+ </span>
123
+ `:d.nothing}
124
+ <span part="label" class="select-label" aria-hidden="true">
125
+ ${this.isCustomContent?this.getCustomContent(t):this.highlightingSearchedText(t)}
126
+ </span>
127
+ </div>
128
+ `}inputTitle(){return this.isMulti?this.selectedOptions.length>0?`${this.selectedOptions.length} ${this.selectedTextLocalization}`:this.placeholder:this.selectedOptions.length>0?this.getOptionValue(this.selectedOptions[0]):this.placeholder}helpTextTemplate(){return this.helpText?h.html`
129
+ <md-help-text
130
+ class="help-text ${(0,p.classMap)({disabled:this.disabled,newMomentum:this.newMomentum})}"
131
+ .message=${this.helpText}
132
+ style=${(0,m.styleMap)({width:"100%"})}
133
+ ></md-help-text>
134
+ `:d.nothing}messagesTemplate(){return this.messages&&this.messages.length?h.html`
135
+ <div id="${this.htmlId}-message" part="message" class="md-combobox__messages">
136
+ ${(0,c.repeat)(this.messages,((t,e)=>h.html`
137
+ <md-help-text
138
+ .message=${t}
139
+ .id=${this.messageArr[e].id||""}
140
+ .ariaLive=${this.messageArr[e].ariaLive||"polite"}
141
+ .messageType=${this.messageType}
142
+ ></md-help-text>
143
+ `))}
144
+ </div>
145
+ `:d.nothing}get newArrowButtonTemplate(){return h.html`<div class="md-combobox-right-arrow">${this.arrowButtonTemplate()}</div>`}get renderNewMomentumArrow(){return h.html` ${this.isDropdownArrow?this.arrowButtonTemplate():this.newArrowButtonTemplate} `}get renderTrailingInputControls(){const t=this.shouldChangeButton();return this.newMomentum?t&&this.isDropdownArrow?h.html`${this.clearButtonTemplate()}`:t?h.html`${this.clearButtonTemplate()} ${this.renderNewMomentumArrow}`:this.renderNewMomentumArrow:this.compact?h.html`${d.nothing}`:h.html`${t?this.clearButtonTemplate():this.arrowButtonTemplate()}`}render(){return h.html`
146
+ <div part="combobox" class="md-combobox md-combobox-list ${(0,p.classMap)(this.comboBoxTemplateClassMap)}">
147
+ <div part="group" class="group ${(0,p.classMap)(this.listItemOptionMap)}">
148
+ ${this.searchable?this.searchIconTemplate():this.showFilterIcon?this.filterIconTemplate():d.nothing}
149
+ <div class="md-combobox__multiwrap" part="multiwrap">
150
+ ${this.isMulti?this.isMulti&&!this.showSelectedCount?(0,c.repeat)(this.selectedOptions,(t=>this.selectedOptionTemplate(t))):this.getSelctedCount():d.nothing}
151
+ <input
152
+ id=${(0,u.ifDefined)(this.comboboxId||void 0)}
153
+ class="md-combobox-listbox"
154
+ type="text"
155
+ role="combobox"
156
+ aria-autocomplete="both"
157
+ aria-label=${this.ariaLabelForComboBox}
158
+ part="multiwrap-input"
159
+ aria-expanded=${this.expanded}
160
+ placeholder=${this.isMulti&&this.showSelectedCount&&0!==this.selectedOptions.length?"":this.placeholder}
161
+ aria-controls="md-combobox-listbox"
162
+ ?readonly=${this.allowSelectAll||this.readOnly}
163
+ ?disabled=${this.disabled}
164
+ ?autofocus=${this.autofocus}
165
+ title=${(0,u.ifDefined)(this.inputTitle())}
166
+ .value=${this.inputValue}
167
+ @click=${this.toggleVisualListBox}
168
+ @input=${this.handleInput}
169
+ @keyup=${this.handleInputKeyUp}
170
+ @keydown=${this.handleInputKeyDown}
171
+ />
172
+ </div>
173
+ ${this.renderTrailingInputControls}
174
+ </div>
175
+
176
+ ${this.showLoader||this.showCustomError?h.html`
177
+ <div
178
+ id="md-combobox-listbox"
179
+ part="combobox-options"
180
+ aria-label=${this.ariaLabel}
181
+ style=${(0,m.styleMap)({display:this.expanded?"block":"none","z-index":"99"})}
182
+ >
183
+ ${this.getCustomErrorContent()}
184
+ </div>
185
+ `:h.html`
186
+ <div
187
+ id="md-combobox-listbox"
188
+ part="combobox-options"
189
+ aria-label=${this.ariaLabel||this.label}
190
+ style=${this.addStyle()}
191
+ role=${(0,u.ifDefined)(this.checkForVirtualScroll()?void 0:"list")}
192
+ >
193
+ ${this.isMulti&&this.allowSelectAll&&this.expanded?this.getSelectAllOption():d.nothing}
194
+ ${this.checkForVirtualScroll()?0!==this.options.length&&this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).length>0?h.html`
195
+ <div class="virtual-scroll" @rangechange=${this.rangeChanged}>
196
+ ${(0,b.scroll)({items:this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue),renderItem:(t,e)=>this.renderItem(t,e||0),useShadowDOM:!1,scrollToIndex:{index:this.focusedIndex,position:-1===this.focusedIndex?"start":"center"}})}
197
+ </div>
198
+ `:d.nothing:this.renderWithoutVirtualScroll()}
199
+ ${this.options.length&&0===this.filteredOptions.length&&this.inputValue&&!this.allowCustomValue?h.html`
200
+ <div class="no-result md-combobox-option" role="option" aria-selected="false" tabindex="-1">
201
+ ${this.resultsTextLocalization.trim()}
202
+ </div>
203
+ `:d.nothing}
204
+ ${0===this.options.length?h.html`
205
+ <div class="no-result md-combobox-option" role="option" aria-selected="false" tabindex="-1">
206
+ ${this.optionsTextLocalization.trim()}
207
+ </div>
208
+ `:d.nothing}
209
+ </div>
210
+ `}
211
+ </div>
212
+ ${this.invalid?h.html`
213
+ <div part="message" class="md-combobox-error ${(0,p.classMap)({"md-new-combobox-error":this.newMomentum})}">
214
+ <md-help-text .message=${this.invalidText} messageType="error"></md-help-text>
215
+ </div>
216
+ `:d.nothing}
217
+ ${this.messagesTemplate()} ${this.helpTextTemplate()}
218
+ `}};x([(0,h.property)({type:String})],i.prototype,"label",void 0),x([(0,h.property)({type:Array})],i.prototype,"options",void 0),x([(0,h.property)({type:Array,attribute:"custom-options"})],i.prototype,"customOptions",void 0),x([(0,h.property)({type:String})],i.prototype,"placeholder",void 0),x([(0,h.property)({type:Boolean,attribute:"is-multi"})],i.prototype,"isMulti",void 0),x([(0,h.property)({type:Boolean,attribute:"use-virtual-scroll"})],i.prototype,"useVirtualScroll",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"disabled",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"ordered",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"expanded",void 0),x([(0,h.property)({type:Array,reflect:!0})],i.prototype,"groupExpandedList",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"searchItem",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"compact",void 0),x([(0,h.property)({type:Boolean,attribute:"no-clear-icon"})],i.prototype,"noClearIcon",void 0),x([(0,h.property)({type:Boolean,attribute:"select-when-in-focus"})],i.prototype,"selectWhenInFocus",void 0),x([(0,h.property)({type:Array})],i.prototype,"selectedOptions",void 0),x([(0,h.property)({type:Number,attribute:"visible-option",reflect:!0})],i.prototype,"visibleOptions",void 0),x([(0,h.property)({type:String,attribute:"option-id",reflect:!0})],i.prototype,"optionId",void 0),x([(0,h.property)({type:String,attribute:"option-value",reflect:!0})],i.prototype,"optionValue",void 0),x([(0,h.property)({type:Boolean,attribute:"with-custom-content"})],i.prototype,"isCustomContent",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"searchable",void 0),x([(0,h.property)({type:String})],i.prototype,"shape",void 0),x([(0,h.property)({type:Array})],i.prototype,"value",void 0),x([(0,h.property)({type:String,attribute:"input-value",reflect:!0})],i.prototype,"inputValue",void 0),x([(0,h.property)({type:Boolean,attribute:"allow-custom-value",reflect:!0})],i.prototype,"allowCustomValue",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"autofocus",void 0),x([(0,h.property)({type:String,attribute:"no-results-i18n"})],i.prototype,"resultsTextLocalization",void 0),x([(0,h.property)({type:String,attribute:"no-options-i18n"})],i.prototype,"optionsTextLocalization",void 0),x([(0,h.property)({type:Boolean,reflect:!0,attribute:"search-trim-space"})],i.prototype,"trimSpace",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"invalid",void 0),x([(0,h.property)({type:String,reflect:!0,attribute:"invalid-text-i18n"})],i.prototype,"invalidText",void 0),x([(0,h.property)({type:String,reflect:!0})],i.prototype,"ariaLabel",void 0),x([(0,h.property)({type:String,attribute:"search-result-aria-label"})],i.prototype,"searchResultAriaLabel",void 0),x([(0,h.internalProperty)()],i.prototype,"ariaLabelForComboBox",void 0),x([(0,h.property)({type:String,attribute:"clear-aria-label"})],i.prototype,"clearAriaLabel",void 0),x([(0,h.property)({type:String,attribute:"arrow-aria-label"})],i.prototype,"arrowAriaLabel",void 0),x([(0,h.property)({type:String,attribute:"clear-icon-height"})],i.prototype,"clearIconHeight",void 0),x([(0,h.property)({type:String,attribute:"all-i18n"})],i.prototype,"allTextLocalization",void 0),x([(0,h.property)({type:String,attribute:"select-all-i18n"})],i.prototype,"selectAllTextLocalization",void 0),x([(0,h.property)({type:String,attribute:"selected-all-i18n"})],i.prototype,"selectedTextLocalization",void 0),x([(0,h.property)({type:Boolean,attribute:"allow-select-all",reflect:!0})],i.prototype,"allowSelectAll",void 0),x([(0,h.property)({type:Boolean,attribute:"show-custom-error",reflect:!0})],i.prototype,"showCustomError",void 0),x([(0,h.property)({type:Boolean,attribute:"show-loader",reflect:!0})],i.prototype,"showLoader",void 0),x([(0,h.property)({type:Boolean,attribute:"show-selected-count",reflect:!0})],i.prototype,"showSelectedCount",void 0),x([(0,h.property)({type:String,attribute:"popup-chevron-aria-hidden"})],i.prototype,"popupChevronAriaHidden",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"newMomentum",void 0),x([(0,h.property)({type:Boolean,attribute:"show-filter-icon"})],i.prototype,"showFilterIcon",void 0),x([(0,h.property)({type:Boolean,attribute:"prevent-filter"})],i.prototype,"preventFilter",void 0),x([(0,h.property)({type:Boolean,attribute:"is-dropdown-arrow"})],i.prototype,"isDropdownArrow",void 0),x([(0,h.property)({type:String})],i.prototype,"comboboxId",void 0),x([(0,h.property)({type:String})],i.prototype,"helpText",void 0),x([(0,h.property)({type:Array})],i.prototype,"messageArr",void 0),x([(0,h.property)({type:String})],i.prototype,"htmlId",void 0),x([(0,h.property)({type:Boolean,reflect:!0})],i.prototype,"readOnly",void 0),x([(0,h.internalProperty)()],i.prototype,"isOptGroup",void 0),x([(0,h.internalProperty)()],i.prototype,"isSelectAllChecked",void 0),x([(0,h.query)(".group")],i.prototype,"group",void 0),x([(0,h.query)(".md-combobox-listbox")],i.prototype,"input",void 0),x([(0,h.query)(".md-combobox-button")],i.prototype,"button",void 0),x([(0,h.query)("div#md-combobox-listbox")],i.prototype,"listBox",void 0),x([(0,h.query)(".virtual-scroll")],i.prototype,"virtualizer",void 0),x([(0,h.queryAll)("div.md-combobox-option")],i.prototype,"lists",void 0),x([(0,h.queryAll)(".group-label")],i.prototype,"labels",void 0),x([(0,h.queryAll)(".md-combobox-selected-item")],i.prototype,"selected",void 0),i=x([(0,n.w)("md-combobox")],i),t.ELEMENT=i}(s||(s={}))},8229:t=>{t.exports=i},22818:t=>{t.exports=r},23968:t=>{t.exports=e},32022:t=>{t.exports=l},40333:t=>{t.exports=s},41488:e=>{e.exports=t},60554:t=>{t.exports=n},86635:t=>{t.exports=a},97822:t=>{t.exports=o}},p={};function u(t){var e=p[t];if(void 0!==e)return e.exports;var i=p[t]={exports:{}};return d[t].call(i.exports,i,i.exports,u),i.exports}u.m=d,h=[],u.O=(t,e,i,s)=>{if(!e){var o=1/0;for(a=0;a<h.length;a++){for(var[e,i,s]=h[a],l=!0,n=0;n<e.length;n++)(!1&s||o>=s)&&Object.keys(u.O).every((t=>u.O[t](e[n])))?e.splice(n--,1):(l=!1,s<o&&(o=s));if(l){h.splice(a--,1);var r=i();void 0!==r&&(t=r)}}return t}s=s||0;for(var a=h.length;a>0&&h[a-1][2]>s;a--)h[a]=h[a-1];h[a]=[e,i,s]},u.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return u.d(e,{a:e}),e},u.d=(t,e)=>{for(var i in e)u.o(e,i)&&!u.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),u.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),u.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={2169:0,2547:0};u.O.j=e=>0===t[e];var e=(e,i)=>{var s,o,[l,n,r]=i,a=0;if(l.some((e=>0!==t[e]))){for(s in n)u.o(n,s)&&(u.m[s]=n[s]);if(r)var h=r(u)}for(e&&e(i);a<l.length;a++)o=l[a],u.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return u.O(h)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var c=u.O(void 0,[7502,7103,1890,6272,6325,6875,2176,6798,9813,1200,8889,300,8373,4624,591,768,3001,4977,109,6795,1439,5433],(()=>u(4928)));return u.O(c)})()));
@@ -1,17 +1 @@
1
- require("../chunks/md-10");
2
- require("../chunks/md-28");
3
- require("../chunks/md-0");
4
- require("../chunks/md-1");
5
- require("../chunks/md-2");
6
- require("../chunks/md-3");
7
- require("../chunks/md-4");
8
- require("../chunks/md-5");
9
- require("../chunks/md-7");
10
- require("../chunks/md-6");
11
- require("../chunks/md-9");
12
- require("../chunks/md-8");
13
- require("../chunks/md-11");
14
- require("../chunks/md-12");
15
- require("../chunks/md-14");
16
- require("../chunks/md-31");
17
- module.exports = require("../comp/md-combobox-entry");
1
+ require("../7502"),require("../7103"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../8889"),require("../300"),require("../8373"),require("../4624"),require("../591"),require("../768"),require("../3001"),require("../4977"),require("../109"),require("../6795"),require("../1439"),require("../5433"),module.exports=require("../comp/md-combobox-entry");
@@ -1 +1,5 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/class-map"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/class-map"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/class-map")):t(e["lit-element"],e["lit-html/directives/class-map"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(e,t){return function(e){function t(t){for(var n,l,u=t[0],f=t[1],c=t[2],s=0,a=[];s<u.length;s++)l=u[s],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&a.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(t);a.length;)a.shift()();return i.push.apply(i,c||[]),r()}function r(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,u=1;u<r.length;u++){var f=r[u];0!==o[f]&&(n=!1)}n&&(i.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={305:0,284:0,295:0,299:0,300:0,322:0,329:0,339:0,341:0,345:0,353:0},i=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var u=window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[],f=u.push.bind(u);u.push=t,u=u.slice();for(var c=0;c<u.length;c++)t(u[c]);var p=f;return i.push([93,0,1,24,66]),r()}([function(t,r){t.exports=e},,,,function(e,r){e.exports=t}])}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/class-map"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/class-map"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/class-map")):t(e["lit-element"],e["lit-html/directives/class-map"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t)=>(()=>{"use strict";var r,o={2207:(e,t,r)=>{r.r(t),r.d(t,{CompositeAvatar:()=>o});var o,i=r(26272),s=r(31890),l=r(41488),a=r(23968),n=r(3553),p=function(e,t,r,o){var i,s=arguments.length,l=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(s<3?i(l):s>3?i(t,r,l):i(t,r))||l);return s>3&&l&&Object.defineProperty(t,r,l),l};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.size=0}static get styles(){return[i.A,n.A]}get avatarClassMap(){return{[`md-composite-avatar--${this.size}`]:!!this.size}}render(){return l.html`
2
+ <div class="md-composite-avatar ${(0,a.classMap)(this.avatarClassMap)}">
3
+ <slot></slot>
4
+ </div>
5
+ `}};p([(0,l.property)({type:Number})],t.prototype,"size",void 0),t=p([(0,s.w)("md-composite-avatar")],t),e.ELEMENT=t}(o||(o={}))},23968:e=>{e.exports=t},41488:t=>{t.exports=e}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,s),r.exports}s.m=o,r=[],s.O=(e,t,o,i)=>{if(!t){var l=1/0;for(c=0;c<r.length;c++){for(var[t,o,i]=r[c],a=!0,n=0;n<t.length;n++)(!1&i||l>=i)&&Object.keys(s.O).every((e=>s.O[e](t[n])))?t.splice(n--,1):(a=!1,i<l&&(l=i));if(a){r.splice(c--,1);var p=o();void 0!==p&&(e=p)}}return e}i=i||0;for(var c=r.length;c>0&&r[c-1][2]>i;c--)r[c]=r[c-1];r[c]=[t,o,i]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6085:0};s.O.j=t=>0===e[t];var t=(t,r)=>{var o,i,[l,a,n]=r,p=0;if(l.some((t=>0!==e[t]))){for(o in a)s.o(a,o)&&(s.m[o]=a[o]);if(n)var c=n(s)}for(t&&t(r);p<l.length;p++)i=l[p],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return s.O(c)},r=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var l=s.O(void 0,[1890,6272,3553],(()=>s(2207)));return s.O(l)})()));
@@ -1,5 +1 @@
1
- require("../chunks/md-0");
2
- require("../chunks/md-1");
3
- require("../chunks/md-24");
4
- require("../chunks/md-66");
5
- module.exports = require("../comp/md-composite-avatar-entry");
1
+ require("../1890"),require("../6272"),require("../3553"),module.exports=require("../comp/md-composite-avatar-entry");
@@ -1 +1 @@
1
- !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("lit-element"),require("lit-html"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("lit-html/directives/class-map.js"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("luxon"),require("@popperjs/core/lib/popper-lite"),require("mobx"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html","lit-html/directives/if-defined","lit-html/directives/class-map","lit-html/directives/style-map","@momentum-ui/icons/data/momentumUiIconsNames.json","lit-html/directives/class-map.js","@momentum-ui/utils/lib/getColorValue","lit-html/directives/repeat","luxon","@popperjs/core/lib/popper-lite","mobx","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow"],r);else{var i="object"==typeof exports?r(require("lit-element"),require("lit-html"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("lit-html/directives/style-map"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("lit-html/directives/class-map.js"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("luxon"),require("@popperjs/core/lib/popper-lite"),require("mobx"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow")):r(e["lit-element"],e["lit-html"],e["lit-html/directives/if-defined"],e["lit-html/directives/class-map"],e["lit-html/directives/style-map"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["lit-html/directives/class-map.js"],e["@momentum-ui/utils/lib/getColorValue"],e["lit-html/directives/repeat"],e.luxon,e["@popperjs/core/lib/popper-lite"],e.mobx,e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"]);for(var t in i)("object"==typeof exports?exports:e)[t]=i[t]}}(window,(function(e,r,i,t,o,l,n,p,s,u,m,c,f,a,d,b){return function(e){function r(r){for(var t,n,p=r[0],s=r[1],u=r[2],c=0,f=[];c<p.length;c++)n=p[c],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&f.push(o[n][0]),o[n]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t]);for(m&&m(r);f.length;)f.shift()();return l.push.apply(l,u||[]),i()}function i(){for(var e,r=0;r<l.length;r++){for(var i=l[r],t=!0,p=1;p<i.length;p++){var s=i[p];0!==o[s]&&(t=!1)}t&&(l.splice(r--,1),e=n(n.s=i[0]))}return e}var t={},o={306:0,284:0,286:0,288:0,289:0,290:0,292:0,293:0,294:0,295:0,296:0,297:0,299:0,300:0,301:0,302:0,305:0,307:0,308:0,309:0,310:0,311:0,312:0,314:0,315:0,317:0,320:0,321:0,322:0,323:0,324:0,326:0,327:0,328:0,329:0,330:0,333:0,334:0,335:0,336:0,339:0,340:0,341:0,342:0,343:0,344:0,345:0,349:0,352:0,353:0,355:0},l=[];function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,r,i){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var t in e)n.d(i,t,function(r){return e[r]}.bind(null,t));return i},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="/";var p=window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[],s=p.push.bind(p);p.push=r,p=p.slice();for(var u=0;u<p.length;u++)r(p[u]);var m=s;return l.push([98,10,0,1,2,3,4,5,7,6,9,12,13,15,14,16,18,17,20,23,22,26,27,32,43,67]),i()}([function(r,i){r.exports=e},,function(e,i){e.exports=r},function(e,r){e.exports=i},function(e,r){e.exports=t},,,,function(e,r){e.exports=o},,function(e,r){e.exports=l},function(e,r){e.exports=n},function(e,r){e.exports=p},function(e,r){e.exports=s},,function(e,r){e.exports=u},,,function(e,r){e.exports=m},,function(e,r){e.exports=c},,function(e,r){e.exports=f},function(e,r){e.exports=a},function(e,r){e.exports=d},function(e,r){e.exports=b}])}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("luxon"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/class-map.js"),require("lit-html/directives/repeat"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit-element","luxon","lit-html/directives/style-map","lit-html","lit-html/directives/class-map","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","lit-html/directives/class-map.js","lit-html/directives/repeat","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","@popperjs/core/lib/popper-lite","mobx"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("luxon"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/class-map.js"),require("lit-html/directives/repeat"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("mobx")):t(e["lit-element"],e.luxon,e["lit-html/directives/style-map"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/if-defined"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["lit-html/directives/class-map.js"],e["lit-html/directives/repeat"],e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e["@popperjs/core/lib/popper-lite"],e.mobx);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,((e,t,r,i,o,s,l,a,p,n,d,m,c,u,f,h)=>(()=>{"use strict";var v,b={4863:e=>{e.exports=f},8229:e=>{e.exports=r},17518:e=>{e.exports=p},22818:e=>{e.exports=n},22962:e=>{e.exports=d},23968:e=>{e.exports=o},32022:e=>{e.exports=l},40333:e=>{e.exports=i},41488:t=>{t.exports=e},60554:e=>{e.exports=a},65796:e=>{e.exports=t},68250:e=>{e.exports=c},69371:e=>{e.exports=u},69494:(e,t,r)=>{r.r(t),r.d(t,{DateRangePicker:()=>i});var i,o=r(31890),s=r(41488),l=r(65796),a=r(38654),p=function(e,t,r,i){var o,s=arguments.length,l=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(l=(s<3?o(l):s>3?o(t,r,l):o(t,r))||l);return s>3&&l&&Object.defineProperty(t,r,l),l};!function(e){let t=class extends a.DatePicker.ELEMENT{constructor(){super(...arguments),this.startDate=void 0,this.endDate=void 0,this.updateValue=()=>{this.startDate&&this.endDate&&(this.value=`${this.sqlDateToSlashes(this.startDate)} - ${this.sqlDateToSlashes(this.endDate)}`)},this.handleDateSelection=e=>{const t=e.detail.data;this.startDate?this.endDate?(this.startDate=this.dateToSqlTranslate(t),this.endDate=void 0):t<l.DateTime.fromISO(this.startDate)?(this.endDate=this.startDate,this.startDate=this.dateToSqlTranslate(t)):this.endDate=this.dateToSqlTranslate(t):this.startDate=this.dateToSqlTranslate(t),this.emitDateRange(),this.updateValue()}}connectedCallback(){super.connectedCallback(),super.render(),this.addEventListener("date-selection-change",this.handleDateSelection)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("date-selection-change",this.handleDateSelection)}dateToSqlTranslate(e){return e.toSQLDate()}sqlDateToSlashes(e){return e.replace(/-+/g,"/")}emitDateRange(){if(!this.startDate||!this.endDate)return;const e=new CustomEvent("date-range-change",{detail:{startDate:this.startDate,endDate:this.endDate}});this.dispatchEvent(e)}};p([(0,s.property)({type:String,attribute:"start-date",reflect:!0})],t.prototype,"startDate",void 0),p([(0,s.property)({type:String,attribute:"end-date",reflect:!0})],t.prototype,"endDate",void 0),t=p([(0,o.w)("md-date-range-picker")],t),e.ELEMENT=t}(i||(i={}))},84157:e=>{e.exports=m},85314:e=>{e.exports=h},97822:e=>{e.exports=s}},j={};function q(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={exports:{}};return b[e](r,r.exports,q),r.exports}q.m=b,v=[],q.O=(e,t,r,i)=>{if(!t){var o=1/0;for(p=0;p<v.length;p++){for(var[t,r,i]=v[p],s=!0,l=0;l<t.length;l++)(!1&i||o>=i)&&Object.keys(q.O).every((e=>q.O[e](t[l])))?t.splice(l--,1):(s=!1,i<o&&(o=i));if(s){v.splice(p--,1);var a=r();void 0!==a&&(e=a)}}return e}i=i||0;for(var p=v.length;p>0&&v[p-1][2]>i;p--)v[p]=v[p-1];v[p]=[t,r,i]},q.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return q.d(t,{a:t}),t},q.d=(e,t)=>{for(var r in t)q.o(t,r)&&!q.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},q.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),q.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={2105:0};q.O.j=t=>0===e[t];var t=(t,r)=>{var i,o,[s,l,a]=r,p=0;if(s.some((t=>0!==e[t]))){for(i in l)q.o(l,i)&&(q.m[i]=l[i]);if(a)var n=a(q)}for(t&&t(r);p<s.length;p++)o=s[p],q.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return q.O(n)},r=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var D=q.O(void 0,[7502,1890,6272,6325,6875,2176,6798,9813,1200,2576,8210,1270,3135,1598,4977,1572,6396,6366,109,4974,1323,6408,6754,4548,7719,984,1625,7814,6273,6652],(()=>q(69494)));return q.O(D)})()));