@momentum-ui/web-components 2.17.14 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (738) hide show
  1. package/dist/109.js +11 -0
  2. package/dist/1107.js +1 -0
  3. package/dist/1200.js +26 -0
  4. package/dist/1250.js +1 -0
  5. package/dist/1270.js +1 -0
  6. package/dist/1323.js +26 -0
  7. package/dist/1392.js +1 -0
  8. package/dist/1439.js +1 -0
  9. package/dist/144.js +1 -0
  10. package/dist/1572.js +1 -0
  11. package/dist/1598.js +1 -0
  12. package/dist/1625.js +1 -0
  13. package/dist/1705.js +1 -0
  14. package/dist/182.js +1 -0
  15. package/dist/1869.js +1 -0
  16. package/dist/1890.js +1 -0
  17. package/dist/195.js +1 -0
  18. package/dist/2019.js +1 -0
  19. package/dist/2043.js +1 -0
  20. package/dist/2176.js +1 -0
  21. package/dist/2215.js +1 -0
  22. package/dist/2243.js +1 -0
  23. package/dist/2547.js +218 -0
  24. package/dist/2576.js +1 -0
  25. package/dist/2798.js +1 -0
  26. package/dist/2972.js +1 -0
  27. package/dist/2984.js +1 -0
  28. package/dist/300.js +1 -0
  29. package/dist/3001.js +1 -0
  30. package/dist/3112.js +1 -0
  31. package/dist/3135.js +1 -0
  32. package/dist/3192.js +23 -0
  33. package/dist/3553.js +1 -0
  34. package/dist/3604.js +1 -0
  35. package/dist/3625.js +1 -0
  36. package/dist/3663.js +1 -0
  37. package/dist/3866.js +1 -0
  38. package/dist/4006.js +1 -0
  39. package/dist/4392.js +1 -0
  40. package/dist/4400.js +1 -0
  41. package/dist/4548.js +1 -0
  42. package/dist/4624.js +1 -0
  43. package/dist/4663.js +1 -0
  44. package/dist/4974.js +1 -0
  45. package/dist/4977.js +1 -0
  46. package/dist/5211.js +1 -0
  47. package/dist/528.js +12 -0
  48. package/dist/5382.js +1 -0
  49. package/dist/{chunks/md-2.js → 5433.js} +1 -1
  50. package/dist/5467.js +1 -0
  51. package/dist/573.js +1 -0
  52. package/dist/5801.js +22 -0
  53. package/dist/587.js +1 -0
  54. package/dist/591.js +1 -0
  55. package/dist/6015.js +1 -0
  56. package/dist/6067.js +1 -0
  57. package/dist/6272.js +1 -0
  58. package/dist/6273.js +45 -0
  59. package/dist/630.js +1 -0
  60. package/dist/6325.js +1 -0
  61. package/dist/6366.js +1 -0
  62. package/dist/6396.js +9 -0
  63. package/dist/6400.js +1 -0
  64. package/dist/6408.js +124 -0
  65. package/dist/6441.js +1 -0
  66. package/dist/6652.js +47 -0
  67. package/dist/6677.js +1 -0
  68. package/dist/6700.js +1 -0
  69. package/dist/671.js +1 -0
  70. package/dist/6754.js +17 -0
  71. package/dist/6795.js +1 -0
  72. package/dist/6798.js +77 -0
  73. package/dist/6875.js +1 -0
  74. package/dist/6979.js +1 -0
  75. package/dist/7030.js +1 -0
  76. package/dist/7092.js +1 -0
  77. package/dist/7103.js +1 -0
  78. package/dist/7251.js +1 -0
  79. package/dist/7330.js +1 -0
  80. package/dist/7502.js +1 -0
  81. package/dist/754.js +1 -0
  82. package/dist/76.js +1 -0
  83. package/dist/768.js +1 -0
  84. package/dist/7719.js +1 -0
  85. package/dist/7763.js +1 -0
  86. package/dist/779.js +1 -0
  87. package/dist/7814.js +8 -0
  88. package/dist/7833.js +1 -0
  89. package/dist/7875.js +1 -0
  90. package/dist/7919.js +1 -0
  91. package/dist/8028.js +44 -0
  92. package/dist/8171.js +16 -0
  93. package/dist/8210.js +1 -0
  94. package/dist/8227.js +1 -0
  95. package/dist/8373.js +1 -0
  96. package/dist/8387.js +1 -0
  97. package/dist/8521.js +1 -0
  98. package/dist/8728.js +1 -0
  99. package/dist/8841.js +1 -0
  100. package/dist/8889.js +1 -0
  101. package/dist/9058.js +1 -0
  102. package/dist/9618.js +1 -0
  103. package/dist/9719.js +1 -0
  104. package/dist/9788.js +7 -0
  105. package/dist/9813.js +1 -0
  106. package/dist/984.js +8 -0
  107. package/dist/assets/styles/fonts.css +13 -0
  108. package/dist/chunks/md-1012.js +1 -0
  109. package/dist/chunks/md-1036.js +1 -0
  110. package/dist/chunks/md-108.js +1 -1
  111. package/dist/chunks/md-1180.js +1 -0
  112. package/dist/chunks/md-1192.js +1 -0
  113. package/dist/chunks/md-1297.js +1 -0
  114. package/dist/chunks/md-1352.js +1 -0
  115. package/dist/chunks/md-1497.js +1 -0
  116. package/dist/chunks/md-1519.js +1 -0
  117. package/dist/chunks/md-1533.js +1 -0
  118. package/dist/chunks/md-1679.js +1 -0
  119. package/dist/chunks/md-1786.js +1 -0
  120. package/dist/chunks/md-181.js +1 -1
  121. package/dist/chunks/md-1870.js +1 -0
  122. package/dist/chunks/md-1942.js +1 -0
  123. package/dist/chunks/md-1983.js +1 -0
  124. package/dist/chunks/md-2052.js +1 -0
  125. package/dist/chunks/md-2086.js +1 -0
  126. package/dist/chunks/md-2224.js +1 -0
  127. package/dist/chunks/md-2241.js +1 -0
  128. package/dist/chunks/md-2292.js +1 -0
  129. package/dist/chunks/md-2329.js +1 -0
  130. package/dist/chunks/md-2402.js +1 -0
  131. package/dist/chunks/md-2539.js +1 -0
  132. package/dist/chunks/md-258.js +1 -1
  133. package/dist/chunks/md-2670.js +1 -0
  134. package/dist/chunks/md-2698.js +1 -0
  135. package/dist/chunks/md-2701.js +1 -0
  136. package/dist/chunks/md-2731.js +1 -0
  137. package/dist/chunks/md-279.js +1 -1
  138. package/dist/chunks/md-2825.js +1 -0
  139. package/dist/chunks/md-2896.js +1 -0
  140. package/dist/chunks/md-2904.js +1 -0
  141. package/dist/chunks/md-2923.js +1 -0
  142. package/dist/chunks/md-2962.js +1 -0
  143. package/dist/chunks/md-2970.js +1 -0
  144. package/dist/chunks/md-2978.js +1 -0
  145. package/dist/chunks/md-3035.js +1 -0
  146. package/dist/chunks/md-3105.js +1 -0
  147. package/dist/chunks/md-3195.js +1 -0
  148. package/dist/chunks/md-3206.js +1 -0
  149. package/dist/chunks/md-3231.js +1 -0
  150. package/dist/chunks/md-3255.js +1 -0
  151. package/dist/chunks/md-3270.js +1 -0
  152. package/dist/chunks/md-3315.js +1 -0
  153. package/dist/chunks/md-3399.js +1 -0
  154. package/dist/chunks/md-3402.js +1 -0
  155. package/dist/chunks/md-3409.js +1 -0
  156. package/dist/chunks/md-3447.js +1 -0
  157. package/dist/chunks/md-3458.js +1 -0
  158. package/dist/chunks/md-3543.js +1 -0
  159. package/dist/chunks/md-3557.js +1 -0
  160. package/dist/chunks/md-3618.js +1 -0
  161. package/dist/chunks/md-364.js +1 -0
  162. package/dist/chunks/md-3666.js +1 -0
  163. package/dist/chunks/md-3712.js +1 -0
  164. package/dist/chunks/md-3732.js +1 -0
  165. package/dist/chunks/md-3838.js +1 -0
  166. package/dist/chunks/md-4058.js +1 -0
  167. package/dist/chunks/md-4108.js +1 -0
  168. package/dist/chunks/md-4113.js +1 -0
  169. package/dist/chunks/md-4125.js +1 -0
  170. package/dist/chunks/md-414.js +1 -0
  171. package/dist/chunks/md-4177.js +1 -0
  172. package/dist/chunks/md-4205.js +1 -0
  173. package/dist/chunks/md-431.js +1 -0
  174. package/dist/chunks/md-4321.js +1 -0
  175. package/dist/chunks/md-436.js +1 -0
  176. package/dist/chunks/md-4412.js +1 -0
  177. package/dist/chunks/md-4460.js +1 -0
  178. package/dist/chunks/md-4490.js +1 -0
  179. package/dist/chunks/md-4561.js +1 -0
  180. package/dist/chunks/md-4564.js +1 -0
  181. package/dist/chunks/md-4608.js +1 -0
  182. package/dist/chunks/md-4635.js +1 -0
  183. package/dist/chunks/md-4659.js +1 -0
  184. package/dist/chunks/md-4701.js +1 -0
  185. package/dist/chunks/md-4714.js +1 -0
  186. package/dist/chunks/md-4745.js +1 -0
  187. package/dist/chunks/md-4893.js +1 -0
  188. package/dist/chunks/md-4896.js +1 -0
  189. package/dist/chunks/md-4904.js +1 -0
  190. package/dist/chunks/md-5076.js +1 -0
  191. package/dist/chunks/md-5089.js +1 -0
  192. package/dist/chunks/md-5093.js +1 -0
  193. package/dist/chunks/md-5117.js +1 -0
  194. package/dist/chunks/md-5133.js +1 -0
  195. package/dist/chunks/md-5320.js +1 -0
  196. package/dist/chunks/md-5331.js +1 -0
  197. package/dist/chunks/md-5344.js +1 -0
  198. package/dist/chunks/md-5439.js +1 -0
  199. package/dist/chunks/md-5449.js +1 -0
  200. package/dist/chunks/md-5468.js +1 -0
  201. package/dist/chunks/md-5506.js +1 -0
  202. package/dist/chunks/md-5579.js +1 -0
  203. package/dist/chunks/md-5610.js +1 -0
  204. package/dist/chunks/md-5617.js +1 -0
  205. package/dist/chunks/md-5672.js +1 -0
  206. package/dist/chunks/md-5754.js +1 -0
  207. package/dist/chunks/md-5772.js +1 -0
  208. package/dist/chunks/md-5790.js +1 -0
  209. package/dist/chunks/md-581.js +1 -0
  210. package/dist/chunks/md-5812.js +1 -0
  211. package/dist/chunks/md-5814.js +1 -0
  212. package/dist/chunks/md-5892.js +1 -0
  213. package/dist/chunks/md-593.js +1 -0
  214. package/dist/chunks/md-5976.js +1 -0
  215. package/dist/chunks/md-6023.js +1 -0
  216. package/dist/chunks/md-6033.js +1 -0
  217. package/dist/chunks/md-6122.js +1 -0
  218. package/dist/chunks/md-6269.js +1 -0
  219. package/dist/chunks/md-634.js +1 -0
  220. package/dist/chunks/md-6384.js +1 -0
  221. package/dist/chunks/md-6414.js +1 -0
  222. package/dist/chunks/md-6427.js +1 -0
  223. package/dist/chunks/md-6478.js +1 -0
  224. package/dist/chunks/md-6503.js +1 -0
  225. package/dist/chunks/md-6571.js +1 -0
  226. package/dist/chunks/md-6617.js +1 -0
  227. package/dist/chunks/md-6685.js +1 -0
  228. package/dist/chunks/md-6722.js +1 -0
  229. package/dist/chunks/md-6756.js +1 -0
  230. package/dist/chunks/md-6809.js +1 -0
  231. package/dist/chunks/md-6891.js +1 -0
  232. package/dist/chunks/md-7003.js +1 -0
  233. package/dist/chunks/md-7005.js +1 -0
  234. package/dist/chunks/md-7015.js +1 -0
  235. package/dist/chunks/md-7040.js +1 -0
  236. package/dist/chunks/md-7044.js +1 -0
  237. package/dist/chunks/md-7053.js +1 -0
  238. package/dist/chunks/md-7186.js +1 -0
  239. package/dist/chunks/md-7192.js +1 -0
  240. package/dist/chunks/md-7204.js +1 -0
  241. package/dist/chunks/md-7220.js +1 -0
  242. package/dist/chunks/md-7246.js +1 -0
  243. package/dist/chunks/md-7285.js +1 -0
  244. package/dist/chunks/md-7292.js +1 -0
  245. package/dist/chunks/md-736.js +1 -0
  246. package/dist/chunks/md-7492.js +1 -0
  247. package/dist/chunks/md-7522.js +1 -0
  248. package/dist/chunks/md-7533.js +1 -0
  249. package/dist/chunks/md-7556.js +1 -0
  250. package/dist/chunks/md-7601.js +1 -0
  251. package/dist/chunks/md-7909.js +1 -0
  252. package/dist/chunks/md-7918.js +1 -0
  253. package/dist/chunks/md-7939.js +1 -0
  254. package/dist/chunks/md-8100.js +1 -0
  255. package/dist/chunks/md-8103.js +1 -0
  256. package/dist/chunks/md-8126.js +1 -0
  257. package/dist/chunks/md-8130.js +1 -0
  258. package/dist/chunks/md-8186.js +1 -0
  259. package/dist/chunks/md-8199.js +1 -0
  260. package/dist/chunks/md-8206.js +1 -0
  261. package/dist/chunks/md-8254.js +1 -0
  262. package/dist/chunks/md-8327.js +1 -0
  263. package/dist/chunks/md-8333.js +1 -0
  264. package/dist/chunks/md-8385.js +1 -0
  265. package/dist/chunks/md-8425.js +1 -0
  266. package/dist/chunks/md-8451.js +1 -0
  267. package/dist/chunks/md-8454.js +1 -0
  268. package/dist/chunks/md-8514.js +1 -0
  269. package/dist/chunks/md-8557.js +1 -0
  270. package/dist/chunks/md-8670.js +1 -0
  271. package/dist/chunks/md-8713.js +1 -0
  272. package/dist/chunks/md-8811.js +1 -0
  273. package/dist/chunks/md-8891.js +1 -0
  274. package/dist/chunks/md-9040.js +1 -0
  275. package/dist/chunks/md-9081.js +1 -0
  276. package/dist/chunks/md-9104.js +1 -0
  277. package/dist/chunks/md-9115.js +1 -0
  278. package/dist/chunks/md-9129.js +1 -0
  279. package/dist/chunks/md-9139.js +1 -0
  280. package/dist/chunks/md-9156.js +1 -0
  281. package/dist/chunks/md-9277.js +1 -0
  282. package/dist/chunks/md-9350.js +1 -0
  283. package/dist/chunks/md-9387.js +1 -0
  284. package/dist/chunks/md-9405.js +1 -0
  285. package/dist/chunks/md-9407.js +1 -0
  286. package/dist/chunks/md-9412.js +1 -0
  287. package/dist/chunks/md-9428.js +1 -0
  288. package/dist/chunks/md-9433.js +1 -0
  289. package/dist/chunks/md-945.js +1 -0
  290. package/dist/chunks/md-9497.js +1 -0
  291. package/dist/chunks/md-9559.js +1 -0
  292. package/dist/chunks/md-959.js +1 -0
  293. package/dist/chunks/md-9614.js +1 -0
  294. package/dist/chunks/md-9688.js +1 -0
  295. package/dist/chunks/md-9689.js +1 -0
  296. package/dist/chunks/md-9721.js +1 -0
  297. package/dist/chunks/md-9789.js +1 -0
  298. package/dist/chunks/md-9927.js +1 -0
  299. package/dist/chunks/md-9934.js +1 -0
  300. package/dist/chunks/md-9975.js +1 -0
  301. package/dist/chunks/md-9980.js +1 -0
  302. package/dist/comp/md-accordion-entry.js +5 -1
  303. package/dist/comp/md-accordion-item-entry.js +38 -1
  304. package/dist/comp/md-accordion-item.js +1 -15
  305. package/dist/comp/md-accordion.js +1 -11
  306. package/dist/comp/md-activity-button-entry.js +13 -1
  307. package/dist/comp/md-activity-button.js +1 -9
  308. package/dist/comp/md-advance-list-entry.js +35 -1
  309. package/dist/comp/md-advance-list.js +1 -7
  310. package/dist/comp/md-alert-banner-entry.js +36 -1
  311. package/dist/comp/md-alert-banner.js +1 -9
  312. package/dist/comp/md-alert-entry.js +156 -1
  313. package/dist/comp/md-alert.js +1 -10
  314. package/dist/comp/md-audio-player-entry.js +98 -1
  315. package/dist/comp/md-audio-player.js +1 -17
  316. package/dist/comp/md-avatar-entry.js +44 -1
  317. package/dist/comp/md-avatar.js +1 -11
  318. package/dist/comp/md-badge-entry.js +33 -1
  319. package/dist/comp/md-badge.js +1 -4
  320. package/dist/comp/md-breadcrumb-entry.js +11 -1
  321. package/dist/comp/md-breadcrumb.js +1 -4
  322. package/dist/comp/md-button-entry.js +77 -1
  323. package/dist/comp/md-button-group-entry.js +5 -1
  324. package/dist/comp/md-button-group.js +1 -10
  325. package/dist/comp/md-button.js +1 -6
  326. package/dist/comp/md-card-ai-entry.js +77 -1
  327. package/dist/comp/md-card-ai.js +1 -9
  328. package/dist/comp/md-card-entry.js +98 -1
  329. package/dist/comp/md-card.js +1 -23
  330. package/dist/comp/md-chat-message-entry.js +28 -1
  331. package/dist/comp/md-chat-message.js +1 -12
  332. package/dist/comp/md-checkbox-entry.js +14 -1
  333. package/dist/comp/md-checkbox.js +1 -11
  334. package/dist/comp/md-checkboxgroup-entry.js +5 -1
  335. package/dist/comp/md-checkboxgroup.js +1 -11
  336. package/dist/comp/md-chip-entry.js +71 -1
  337. package/dist/comp/md-chip.js +1 -14
  338. package/dist/comp/md-coachmark-entry.js +22 -1
  339. package/dist/comp/md-coachmark-popover-entry.js +72 -1
  340. package/dist/comp/md-coachmark-popover.js +1 -15
  341. package/dist/comp/md-coachmark.js +1 -13
  342. package/dist/comp/md-combobox-entry.js +218 -1
  343. package/dist/comp/md-combobox.js +1 -17
  344. package/dist/comp/md-composite-avatar-entry.js +5 -1
  345. package/dist/comp/md-composite-avatar.js +1 -5
  346. package/dist/comp/md-date-range-picker-entry.js +1 -1
  347. package/dist/comp/md-date-range-picker.js +1 -26
  348. package/dist/comp/md-date-time-picker-entry.js +24 -1
  349. package/dist/comp/md-date-time-picker.js +1 -19
  350. package/dist/comp/md-datepicker-calendar-entry.js +47 -1
  351. package/dist/comp/md-datepicker-calendar.js +1 -14
  352. package/dist/comp/md-datepicker-day-entry.js +17 -1
  353. package/dist/comp/md-datepicker-day.js +1 -9
  354. package/dist/comp/md-datepicker-entry.js +45 -1
  355. package/dist/comp/md-datepicker-month-entry.js +8 -1
  356. package/dist/comp/md-datepicker-month.js +1 -11
  357. package/dist/comp/md-datepicker-week-entry.js +8 -1
  358. package/dist/comp/md-datepicker-week.js +1 -10
  359. package/dist/comp/md-datepicker.js +1 -25
  360. package/dist/comp/md-draggable-entry.js +5 -1
  361. package/dist/comp/md-draggable-item-entry.js +11 -1
  362. package/dist/comp/md-draggable-item.js +1 -11
  363. package/dist/comp/md-draggable.js +1 -12
  364. package/dist/comp/md-dropdown-entry.js +138 -1
  365. package/dist/comp/md-dropdown.js +1 -15
  366. package/dist/comp/md-editable-field-entry.js +153 -1
  367. package/dist/comp/md-editable-field.js +1 -15
  368. package/dist/comp/md-favorite-entry.js +23 -1
  369. package/dist/comp/md-favorite.js +1 -14
  370. package/dist/comp/md-floating-minimize-entry.js +30 -1
  371. package/dist/comp/md-floating-minimize.js +1 -15
  372. package/dist/comp/md-floating-modal-entry.js +99 -1
  373. package/dist/comp/md-floating-modal.js +1 -16
  374. package/dist/comp/md-form-entry.js +19 -1
  375. package/dist/comp/md-form.js +1 -9
  376. package/dist/comp/md-grabber-entry.js +22 -1
  377. package/dist/comp/md-grabber.js +1 -15
  378. package/dist/comp/md-help-text-entry.js +11 -1
  379. package/dist/comp/md-help-text.js +1 -4
  380. package/dist/comp/md-icon-entry.js +26 -1
  381. package/dist/comp/md-icon.js +1 -8
  382. package/dist/comp/md-inpu.js +1 -12
  383. package/dist/comp/md-input-entry.js +124 -1
  384. package/dist/comp/md-input-file.js +17 -1
  385. package/dist/comp/md-input.js +1 -13
  386. package/dist/comp/md-label-entry.js +9 -1
  387. package/dist/comp/md-label.js +1 -4
  388. package/dist/comp/md-link-entry.js +36 -1
  389. package/dist/comp/md-link.js +1 -4
  390. package/dist/comp/md-list-entry.js +5 -1
  391. package/dist/comp/md-list-item-entry.js +5 -1
  392. package/dist/comp/md-list-item.js +1 -11
  393. package/dist/comp/md-list.js +1 -11
  394. package/dist/comp/md-loading-entry.js +7 -1
  395. package/dist/comp/md-loading.js +1 -4
  396. package/dist/comp/md-meeting-alert-entry.js +55 -1
  397. package/dist/comp/md-meeting-alert.js +1 -12
  398. package/dist/comp/md-menu-entry.js +7 -1
  399. package/dist/comp/md-menu-item-entry.js +16 -1
  400. package/dist/comp/md-menu-item.js +1 -4
  401. package/dist/comp/md-menu-overlay-entry.js +26 -1
  402. package/dist/comp/md-menu-overlay.js +1 -9
  403. package/dist/comp/md-menu.js +1 -8
  404. package/dist/comp/md-modal-entry.js +73 -1
  405. package/dist/comp/md-modal.js +1 -15
  406. package/dist/comp/md-pagination-entry.js +78 -1
  407. package/dist/comp/md-pagination.js +1 -9
  408. package/dist/comp/md-phone-input-entry.js +71 -1
  409. package/dist/comp/md-phone-input.js +1 -20
  410. package/dist/comp/md-popover-entry.js +26 -1
  411. package/dist/comp/md-popover.js +1 -14
  412. package/dist/comp/md-progress-bar-entry.js +21 -1
  413. package/dist/comp/md-progress-bar.js +1 -4
  414. package/dist/comp/md-radio-entry.js +17 -1
  415. package/dist/comp/md-radio.js +1 -11
  416. package/dist/comp/md-radiogroup-entry.js +5 -1
  417. package/dist/comp/md-radiogroup.js +1 -11
  418. package/dist/comp/md-slider-entry.js +19 -1
  419. package/dist/comp/md-slider.js +1 -10
  420. package/dist/comp/md-spinner-entry.js +1 -1
  421. package/dist/comp/md-spinner.js +1 -4
  422. package/dist/comp/md-tab-entry.js +27 -1
  423. package/dist/comp/md-tab-panel-entry.js +1 -1
  424. package/dist/comp/md-tab-panel.js +1 -11
  425. package/dist/comp/md-tab.js +1 -11
  426. package/dist/comp/md-table-advanced-entry.js +168 -1
  427. package/dist/comp/md-table-advanced.js +1 -15
  428. package/dist/comp/md-table-entry.js +43 -1
  429. package/dist/comp/md-table.js +1 -9
  430. package/dist/comp/md-tabs-entry.js +129 -1
  431. package/dist/comp/md-tabs.js +1 -22
  432. package/dist/comp/md-task-item-entry.js +114 -1
  433. package/dist/comp/md-task-item.js +1 -10
  434. package/dist/comp/md-theme-entry.js +12 -1
  435. package/dist/comp/md-theme.js +1 -4
  436. package/dist/comp/md-timepicker-entry.js +45 -1
  437. package/dist/comp/md-timepicker.js +1 -22
  438. package/dist/comp/md-toggle-switch-entry.js +34 -1
  439. package/dist/comp/md-toggle-switch.js +1 -11
  440. package/dist/comp/md-tooltip-entry.js +23 -1
  441. package/dist/comp/md-tooltip.js +1 -12
  442. package/dist/index-entry.js +2615 -2
  443. package/dist/index.js +1 -94
  444. package/dist/managers/thememanager-entry.js +1 -1
  445. package/dist/managers/thememanager.js +1 -2
  446. package/dist/types/components/accordion/Accordion.d.ts +2 -2
  447. package/dist/types/components/advance-list/AdvanceList.d.ts +1 -0
  448. package/dist/types/components/card-ai/CardAi.d.ts +2 -0
  449. package/dist/types/components/date-range-picker/DateRangePicker.d.ts +3 -4
  450. package/dist/types/components/date-time-picker/DateTimePicker.d.ts +6 -7
  451. package/dist/types/components/datepicker/DatePicker.d.ts +1 -1
  452. package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +3 -1
  453. package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +1 -1
  454. package/dist/types/components/grabber/Grabber.d.ts +1 -1
  455. package/dist/types/components/input/Input.d.ts +1 -0
  456. package/dist/types/components/timepicker/TimePicker.d.ts +2 -3
  457. package/dist/types/utils/dateUtils.d.ts +19 -4
  458. package/dist/types/utils/helpers.d.ts +1 -1
  459. package/package.json +6 -6
  460. package/dist/chunks/md-0.js +0 -1
  461. package/dist/chunks/md-1.js +0 -1
  462. package/dist/chunks/md-10.js +0 -1
  463. package/dist/chunks/md-100.js +0 -1
  464. package/dist/chunks/md-101.js +0 -1
  465. package/dist/chunks/md-102.js +0 -1
  466. package/dist/chunks/md-103.js +0 -1
  467. package/dist/chunks/md-104.js +0 -1
  468. package/dist/chunks/md-105.js +0 -1
  469. package/dist/chunks/md-106.js +0 -1
  470. package/dist/chunks/md-107.js +0 -1
  471. package/dist/chunks/md-109.js +0 -1
  472. package/dist/chunks/md-11.js +0 -1
  473. package/dist/chunks/md-110.js +0 -1
  474. package/dist/chunks/md-111.js +0 -1
  475. package/dist/chunks/md-112.js +0 -1
  476. package/dist/chunks/md-113.js +0 -1
  477. package/dist/chunks/md-114.js +0 -1
  478. package/dist/chunks/md-115.js +0 -1
  479. package/dist/chunks/md-116.js +0 -1
  480. package/dist/chunks/md-117.js +0 -1
  481. package/dist/chunks/md-118.js +0 -1
  482. package/dist/chunks/md-119.js +0 -1
  483. package/dist/chunks/md-12.js +0 -1
  484. package/dist/chunks/md-120.js +0 -1
  485. package/dist/chunks/md-121.js +0 -1
  486. package/dist/chunks/md-122.js +0 -1
  487. package/dist/chunks/md-123.js +0 -1
  488. package/dist/chunks/md-124.js +0 -1
  489. package/dist/chunks/md-125.js +0 -1
  490. package/dist/chunks/md-126.js +0 -1
  491. package/dist/chunks/md-127.js +0 -1
  492. package/dist/chunks/md-128.js +0 -1
  493. package/dist/chunks/md-129.js +0 -1
  494. package/dist/chunks/md-13.js +0 -1
  495. package/dist/chunks/md-130.js +0 -1
  496. package/dist/chunks/md-131.js +0 -1
  497. package/dist/chunks/md-132.js +0 -1
  498. package/dist/chunks/md-133.js +0 -1
  499. package/dist/chunks/md-134.js +0 -1
  500. package/dist/chunks/md-135.js +0 -1
  501. package/dist/chunks/md-136.js +0 -1
  502. package/dist/chunks/md-137.js +0 -1
  503. package/dist/chunks/md-138.js +0 -1
  504. package/dist/chunks/md-139.js +0 -1
  505. package/dist/chunks/md-14.js +0 -11
  506. package/dist/chunks/md-140.js +0 -1
  507. package/dist/chunks/md-141.js +0 -1
  508. package/dist/chunks/md-142.js +0 -1
  509. package/dist/chunks/md-143.js +0 -1
  510. package/dist/chunks/md-144.js +0 -1
  511. package/dist/chunks/md-145.js +0 -1
  512. package/dist/chunks/md-146.js +0 -1
  513. package/dist/chunks/md-147.js +0 -1
  514. package/dist/chunks/md-148.js +0 -1
  515. package/dist/chunks/md-149.js +0 -1
  516. package/dist/chunks/md-15.js +0 -9
  517. package/dist/chunks/md-150.js +0 -1
  518. package/dist/chunks/md-151.js +0 -1
  519. package/dist/chunks/md-152.js +0 -1
  520. package/dist/chunks/md-153.js +0 -1
  521. package/dist/chunks/md-154.js +0 -1
  522. package/dist/chunks/md-155.js +0 -1
  523. package/dist/chunks/md-156.js +0 -1
  524. package/dist/chunks/md-157.js +0 -1
  525. package/dist/chunks/md-158.js +0 -1
  526. package/dist/chunks/md-159.js +0 -1
  527. package/dist/chunks/md-16.js +0 -1
  528. package/dist/chunks/md-160.js +0 -1
  529. package/dist/chunks/md-161.js +0 -1
  530. package/dist/chunks/md-162.js +0 -1
  531. package/dist/chunks/md-163.js +0 -1
  532. package/dist/chunks/md-164.js +0 -1
  533. package/dist/chunks/md-165.js +0 -1
  534. package/dist/chunks/md-166.js +0 -1
  535. package/dist/chunks/md-167.js +0 -1
  536. package/dist/chunks/md-168.js +0 -1
  537. package/dist/chunks/md-169.js +0 -1
  538. package/dist/chunks/md-17.js +0 -26
  539. package/dist/chunks/md-170.js +0 -1
  540. package/dist/chunks/md-171.js +0 -1
  541. package/dist/chunks/md-172.js +0 -1
  542. package/dist/chunks/md-173.js +0 -1
  543. package/dist/chunks/md-174.js +0 -1
  544. package/dist/chunks/md-175.js +0 -1
  545. package/dist/chunks/md-176.js +0 -1
  546. package/dist/chunks/md-177.js +0 -1
  547. package/dist/chunks/md-178.js +0 -1
  548. package/dist/chunks/md-179.js +0 -1
  549. package/dist/chunks/md-18.js +0 -124
  550. package/dist/chunks/md-180.js +0 -1
  551. package/dist/chunks/md-182.js +0 -1
  552. package/dist/chunks/md-183.js +0 -1
  553. package/dist/chunks/md-184.js +0 -1
  554. package/dist/chunks/md-185.js +0 -1
  555. package/dist/chunks/md-186.js +0 -1
  556. package/dist/chunks/md-187.js +0 -1
  557. package/dist/chunks/md-188.js +0 -1
  558. package/dist/chunks/md-189.js +0 -1
  559. package/dist/chunks/md-19.js +0 -1
  560. package/dist/chunks/md-190.js +0 -1
  561. package/dist/chunks/md-191.js +0 -1
  562. package/dist/chunks/md-192.js +0 -1
  563. package/dist/chunks/md-193.js +0 -1
  564. package/dist/chunks/md-194.js +0 -1
  565. package/dist/chunks/md-195.js +0 -1
  566. package/dist/chunks/md-196.js +0 -1
  567. package/dist/chunks/md-197.js +0 -1
  568. package/dist/chunks/md-198.js +0 -1
  569. package/dist/chunks/md-199.js +0 -1
  570. package/dist/chunks/md-20.js +0 -17
  571. package/dist/chunks/md-200.js +0 -1
  572. package/dist/chunks/md-201.js +0 -1
  573. package/dist/chunks/md-202.js +0 -1
  574. package/dist/chunks/md-203.js +0 -1
  575. package/dist/chunks/md-204.js +0 -1
  576. package/dist/chunks/md-205.js +0 -1
  577. package/dist/chunks/md-206.js +0 -1
  578. package/dist/chunks/md-207.js +0 -1
  579. package/dist/chunks/md-208.js +0 -1
  580. package/dist/chunks/md-209.js +0 -1
  581. package/dist/chunks/md-21.js +0 -23
  582. package/dist/chunks/md-210.js +0 -1
  583. package/dist/chunks/md-211.js +0 -1
  584. package/dist/chunks/md-212.js +0 -1
  585. package/dist/chunks/md-213.js +0 -1
  586. package/dist/chunks/md-214.js +0 -1
  587. package/dist/chunks/md-215.js +0 -1
  588. package/dist/chunks/md-216.js +0 -1
  589. package/dist/chunks/md-217.js +0 -1
  590. package/dist/chunks/md-218.js +0 -1
  591. package/dist/chunks/md-219.js +0 -1
  592. package/dist/chunks/md-22.js +0 -8
  593. package/dist/chunks/md-220.js +0 -1
  594. package/dist/chunks/md-221.js +0 -1
  595. package/dist/chunks/md-222.js +0 -1
  596. package/dist/chunks/md-223.js +0 -1
  597. package/dist/chunks/md-224.js +0 -1
  598. package/dist/chunks/md-225.js +0 -1
  599. package/dist/chunks/md-226.js +0 -1
  600. package/dist/chunks/md-227.js +0 -1
  601. package/dist/chunks/md-228.js +0 -1
  602. package/dist/chunks/md-229.js +0 -1
  603. package/dist/chunks/md-23.js +0 -1
  604. package/dist/chunks/md-230.js +0 -1
  605. package/dist/chunks/md-231.js +0 -1
  606. package/dist/chunks/md-232.js +0 -1
  607. package/dist/chunks/md-233.js +0 -1
  608. package/dist/chunks/md-234.js +0 -1
  609. package/dist/chunks/md-235.js +0 -1
  610. package/dist/chunks/md-236.js +0 -1
  611. package/dist/chunks/md-237.js +0 -1
  612. package/dist/chunks/md-238.js +0 -1
  613. package/dist/chunks/md-239.js +0 -1
  614. package/dist/chunks/md-24.js +0 -1
  615. package/dist/chunks/md-240.js +0 -1
  616. package/dist/chunks/md-241.js +0 -1
  617. package/dist/chunks/md-242.js +0 -1
  618. package/dist/chunks/md-243.js +0 -1
  619. package/dist/chunks/md-244.js +0 -1
  620. package/dist/chunks/md-245.js +0 -1
  621. package/dist/chunks/md-246.js +0 -1
  622. package/dist/chunks/md-247.js +0 -1
  623. package/dist/chunks/md-248.js +0 -1
  624. package/dist/chunks/md-249.js +0 -1
  625. package/dist/chunks/md-25.js +0 -7
  626. package/dist/chunks/md-250.js +0 -1
  627. package/dist/chunks/md-251.js +0 -1
  628. package/dist/chunks/md-252.js +0 -1
  629. package/dist/chunks/md-253.js +0 -1
  630. package/dist/chunks/md-254.js +0 -1
  631. package/dist/chunks/md-255.js +0 -1
  632. package/dist/chunks/md-256.js +0 -1
  633. package/dist/chunks/md-257.js +0 -1
  634. package/dist/chunks/md-259.js +0 -1
  635. package/dist/chunks/md-26.js +0 -8
  636. package/dist/chunks/md-260.js +0 -1
  637. package/dist/chunks/md-261.js +0 -1
  638. package/dist/chunks/md-262.js +0 -1
  639. package/dist/chunks/md-263.js +0 -1
  640. package/dist/chunks/md-264.js +0 -1
  641. package/dist/chunks/md-265.js +0 -1
  642. package/dist/chunks/md-266.js +0 -1
  643. package/dist/chunks/md-267.js +0 -1
  644. package/dist/chunks/md-268.js +0 -1
  645. package/dist/chunks/md-269.js +0 -1
  646. package/dist/chunks/md-27.js +0 -1
  647. package/dist/chunks/md-270.js +0 -1
  648. package/dist/chunks/md-271.js +0 -1
  649. package/dist/chunks/md-272.js +0 -1
  650. package/dist/chunks/md-273.js +0 -1
  651. package/dist/chunks/md-274.js +0 -1
  652. package/dist/chunks/md-275.js +0 -1
  653. package/dist/chunks/md-276.js +0 -1
  654. package/dist/chunks/md-277.js +0 -1
  655. package/dist/chunks/md-278.js +0 -1
  656. package/dist/chunks/md-28.js +0 -1
  657. package/dist/chunks/md-280.js +0 -1
  658. package/dist/chunks/md-281.js +0 -1
  659. package/dist/chunks/md-282.js +0 -1
  660. package/dist/chunks/md-283.js +0 -1
  661. package/dist/chunks/md-29.js +0 -55
  662. package/dist/chunks/md-3.js +0 -1
  663. package/dist/chunks/md-30.js +0 -1
  664. package/dist/chunks/md-31.js +0 -216
  665. package/dist/chunks/md-32.js +0 -49
  666. package/dist/chunks/md-33.js +0 -1
  667. package/dist/chunks/md-34.js +0 -1
  668. package/dist/chunks/md-35.js +0 -36
  669. package/dist/chunks/md-36.js +0 -33
  670. package/dist/chunks/md-37.js +0 -23
  671. package/dist/chunks/md-38.js +0 -5
  672. package/dist/chunks/md-39.js +0 -5
  673. package/dist/chunks/md-4.js +0 -1
  674. package/dist/chunks/md-40.js +0 -1
  675. package/dist/chunks/md-41.js +0 -21
  676. package/dist/chunks/md-42.js +0 -26
  677. package/dist/chunks/md-43.js +0 -44
  678. package/dist/chunks/md-44.js +0 -1
  679. package/dist/chunks/md-45.js +0 -30
  680. package/dist/chunks/md-46.js +0 -16
  681. package/dist/chunks/md-47.js +0 -1
  682. package/dist/chunks/md-48.js +0 -27
  683. package/dist/chunks/md-49.js +0 -5
  684. package/dist/chunks/md-5.js +0 -1
  685. package/dist/chunks/md-50.js +0 -38
  686. package/dist/chunks/md-51.js +0 -13
  687. package/dist/chunks/md-52.js +0 -35
  688. package/dist/chunks/md-53.js +0 -36
  689. package/dist/chunks/md-54.js +0 -121
  690. package/dist/chunks/md-55.js +0 -98
  691. package/dist/chunks/md-56.js +0 -11
  692. package/dist/chunks/md-57.js +0 -5
  693. package/dist/chunks/md-58.js +0 -77
  694. package/dist/chunks/md-59.js +0 -68
  695. package/dist/chunks/md-6.js +0 -1
  696. package/dist/chunks/md-60.js +0 -28
  697. package/dist/chunks/md-61.js +0 -14
  698. package/dist/chunks/md-62.js +0 -5
  699. package/dist/chunks/md-63.js +0 -51
  700. package/dist/chunks/md-64.js +0 -22
  701. package/dist/chunks/md-65.js +0 -47
  702. package/dist/chunks/md-66.js +0 -5
  703. package/dist/chunks/md-67.js +0 -1
  704. package/dist/chunks/md-68.js +0 -23
  705. package/dist/chunks/md-69.js +0 -5
  706. package/dist/chunks/md-7.js +0 -77
  707. package/dist/chunks/md-70.js +0 -11
  708. package/dist/chunks/md-71.js +0 -138
  709. package/dist/chunks/md-72.js +0 -30
  710. package/dist/chunks/md-73.js +0 -70
  711. package/dist/chunks/md-74.js +0 -19
  712. package/dist/chunks/md-75.js +0 -22
  713. package/dist/chunks/md-76.js +0 -17
  714. package/dist/chunks/md-77.js +0 -76
  715. package/dist/chunks/md-78.js +0 -7
  716. package/dist/chunks/md-79.js +0 -73
  717. package/dist/chunks/md-8.js +0 -1
  718. package/dist/chunks/md-80.js +0 -78
  719. package/dist/chunks/md-81.js +0 -71
  720. package/dist/chunks/md-82.js +0 -17
  721. package/dist/chunks/md-83.js +0 -5
  722. package/dist/chunks/md-84.js +0 -19
  723. package/dist/chunks/md-85.js +0 -1
  724. package/dist/chunks/md-86.js +0 -168
  725. package/dist/chunks/md-87.js +0 -43
  726. package/dist/chunks/md-88.js +0 -103
  727. package/dist/chunks/md-89.js +0 -82
  728. package/dist/chunks/md-9.js +0 -26
  729. package/dist/chunks/md-90.js +0 -12
  730. package/dist/chunks/md-91.js +0 -43
  731. package/dist/chunks/md-92.js +0 -34
  732. package/dist/chunks/md-93.js +0 -1
  733. package/dist/chunks/md-94.js +0 -1
  734. package/dist/chunks/md-95.js +0 -1
  735. package/dist/chunks/md-96.js +0 -1
  736. package/dist/chunks/md-97.js +0 -1
  737. package/dist/chunks/md-98.js +0 -1
  738. package/dist/chunks/md-99.js +0 -1
@@ -1,12 +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-5");
6
- require("../chunks/md-7");
7
- require("../chunks/md-9");
8
- require("../chunks/md-24");
9
- require("../chunks/md-25");
10
- require("../chunks/md-29");
11
- require("../chunks/md-77");
12
- module.exports = require("../comp/md-meeting-alert-entry");
1
+ require("../7502"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../2576"),require("../3553"),require("../6700"),require("../528"),require("../9788"),require("../8028"),require("../5801"),module.exports=require("../comp/md-meeting-alert-entry");
@@ -1 +1,7 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("nanoid"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/if-defined","lit-html/directives/class-map","nanoid"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"),require("nanoid")):t(e["lit-element"],e["lit-html/directives/if-defined"],e["lit-html/directives/class-map"],e.nanoid);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(e,t,r,n){return function(e){function t(t){for(var n,l,u=t[0],f=t[1],c=t[2],s=0,d=[];s<u.length;s++)l=u[s],Object.prototype.hasOwnProperty.call(i,l)&&i[l]&&d.push(i[l][0]),i[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(t);d.length;)d.shift()();return o.push.apply(o,c||[]),r()}function r(){for(var e,t=0;t<o.length;t++){for(var r=o[t],n=!0,u=1;u<r.length;u++){var f=r[u];0!==i[f]&&(n=!1)}n&&(o.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},i={332:0,284:0,295:0,299:0,300:0,305:0,320:0,322:0,327:0,328:0,329:0,333:0,339:0,340:0,341:0,344:0,345:0,353:0},o=[];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 o.push([103,0,1,2,3,8,46,78]),r()}({0:function(t,r){t.exports=e},27:function(e,t){e.exports=n},3:function(e,r){e.exports=t},4:function(e,t){e.exports=r}})}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/class-map"),require("nanoid"),require("lit-html/directives/if-defined"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/class-map","nanoid","lit-html/directives/if-defined"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/class-map"),require("nanoid"),require("lit-html/directives/if-defined")):t(e["lit-element"],e["lit-html/directives/class-map"],e.nanoid,e["lit-html/directives/if-defined"]);for(var n in i)("object"==typeof exports?exports:e)[n]=i[n]}}(self,((e,t,i,n)=>(()=>{"use strict";var s,r={23968:e=>{e.exports=t},41488:t=>{t.exports=e},84032:(e,t,i)=>{i.r(t),i.d(t,{MORE_MENU_ITEM_COPY_ID_PREFIX:()=>p,Menu:()=>v});var n=i(90195),s=i(31890),r=i(84624),o=i(68387),d=i(26272),l=i(41488),c=i(23968),a=i(98199),m=i(48171),h=i(49719),u=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o},f=function(e,t,i,n){return new(i||(i=Promise))((function(s,r){function o(e){try{l(n.next(e))}catch(e){r(e)}}function d(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,d)}l((n=n.apply(e,t||[])).next())}))};const p="more-menu-item-";var v;!function(e){let t=class extends((0,o.T)((0,r.I)(l.LitElement))){constructor(){super(...arguments),this.justified=!1,this.direction="horizontal",this.items=[],this.itemsHash={},this.itemsIdxHash={}}getNormalizedItemId(e){return e.replace(p,"")}static get styles(){return[d.A,h.A]}get slotItem(){return this.menuSlotElement}linkMenuItems(){return f(this,void 0,void 0,(function*(){const{items:e}=this;e.forEach(((e,t)=>{const i=(0,a.nanoid)();e.setAttribute("id",i),e.setAttribute("aria-controls",i),e.selected=this.selected===t})),this.itemsHash=this.items.reduce(((e,t)=>(e[t.id]=t,e)),{}),this.itemsIdxHash=this.items.reduce(((e,t,i)=>(e[t.id]=i,e)),{})}))}setupMenuItems(){if(this.menuSlotElement){const e=this.menuSlotElement.assignedElements({flatten:!0});this.getChildrenFromTree({children:e},this.items)}}getChildrenFromTree(e,t){e.children.forEach((e=>{e instanceof m.MenuItem.ELEMENT&&t.push(e),this.getChildrenFromTree({children:Array.from(e.children)},t)}))}updateSelectedItem(e){const t=this.slotted.findIndex((e=>e.hasAttribute("selected")));t!==e&&(this.items&&[t,e].forEach((e=>{const t=this.items[e];t&&t.toggleAttribute("selected")})),this.dispatchEvent(new CustomEvent("selected-menu-item",{detail:{value:e},composed:!0,bubbles:!0})),this.changeSelectedItemIdx(e))}changeSelectedItemIdx(e){this.selected=e}handleItemClick(e){const{id:t}=e.detail,i=this.itemsHash[this.getNormalizedItemId(t)];if(i&&!i.disabled){const e=this.itemsIdxHash[i.id];-1!==e&&this.updateSelectedItem(e)}}handleItemKeydown(e){const{key:t,id:i}=e.detail;switch(t){case n.Uz.End:this.changeSelectedItemIdx(this.items.length-1);break;case n.Uz.Home:this.changeSelectedItemIdx(0);break;case n.Uz.ArrowLeft:case n.Uz.ArrowUp:0===this.selected?this.changeSelectedItemIdx(this.items.length-1):this.changeSelectedItemIdx(this.selected-1);break;case n.Uz.ArrowRight:case n.Uz.ArrowDown:this.selected===this.items.length-1?this.changeSelectedItemIdx(0):this.changeSelectedItemIdx(this.selected+1);break;case n.Uz.Enter:case n.Uz.Space:const e=this.slotted.findIndex((e=>e.id===i&&!e.disabled));-1!==e&&this.updateSelectedItem(e)}}connectedCallback(){super.connectedCallback(),this.addEventListener("menu-item-click",this.handleItemClick),this.addEventListener("menu-item-keydown",this.handleItemKeydown)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return f(this,void 0,void 0,(function*(){t.updated.call(this,e),e.has("slotted")&&(this.setupMenuItems(),this.linkMenuItems())}))}disconnectedCallback(){super.connectedCallback(),this.removeEventListener("menu-item-click",this.handleItemClick),this.removeEventListener("menu-item-keydown",this.handleItemKeydown)}get menuClassMap(){return{[`md-menu--${this.direction}`]:this.direction,justified:this.justified}}render(){return l.html`
2
+ <nav class="md-menu ${(0,c.classMap)(this.menuClassMap)}">
3
+ <ul class="md-menu-list">
4
+ <slot></slot>
5
+ </ul>
6
+ </nav>
7
+ `}};u([(0,l.property)({type:Boolean})],t.prototype,"justified",void 0),u([(0,l.property)({type:String})],t.prototype,"direction",void 0),u([(0,l.query)("slot")],t.prototype,"menuSlotElement",void 0),u([(0,l.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=u([(0,s.w)("md-menu")],t),e.ELEMENT=t}(v||(v={}))},97822:e=>{e.exports=n},98199:e=>{e.exports=i}},o={};function d(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return r[e](i,i.exports,d),i.exports}d.m=r,s=[],d.O=(e,t,i,n)=>{if(!t){var r=1/0;for(a=0;a<s.length;a++){for(var[t,i,n]=s[a],o=!0,l=0;l<t.length;l++)(!1&n||r>=n)&&Object.keys(d.O).every((e=>d.O[e](t[l])))?t.splice(l--,1):(o=!1,n<r&&(r=n));if(o){s.splice(a--,1);var c=i();void 0!==c&&(e=c)}}return e}n=n||0;for(var a=s.length;a>0&&s[a-1][2]>n;a--)s[a]=s[a-1];s[a]=[t,i,n]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var i in t)d.o(t,i)&&!d.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={1037:0};d.O.j=t=>0===e[t];var t=(t,i)=>{var n,s,[r,o,l]=i,c=0;if(r.some((t=>0!==e[t]))){for(n in o)d.o(o,n)&&(d.m[n]=o[n]);if(l)var a=l(d)}for(t&&t(i);c<r.length;c++)s=r[c],d.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return d.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 l=d.O(void 0,[1890,6272,2576,1270,2243,3625,9719,8171],(()=>d(84032)));return d.O(l)})()));
@@ -1 +1,16 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/if-defined","lit-html/directives/class-map"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/if-defined"),require("lit-html/directives/class-map")):t(e["lit-element"],e["lit-html/directives/if-defined"],e["lit-html/directives/class-map"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(e,t,r){return function(e){function t(t){for(var n,l,u=t[0],f=t[1],c=t[2],s=0,d=[];s<u.length;s++)l=u[s],Object.prototype.hasOwnProperty.call(i,l)&&i[l]&&d.push(i[l][0]),i[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(t);d.length;)d.shift()();return o.push.apply(o,c||[]),r()}function r(){for(var e,t=0;t<o.length;t++){for(var r=o[t],n=!0,u=1;u<r.length;u++){var f=r[u];0!==i[f]&&(n=!1)}n&&(o.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},i={333:0,284:0,295:0,299:0,300:0,305:0,320:0,322:0,327:0,328:0,329:0,339:0,340:0,341:0,344:0,345:0,353:0},o=[];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 o.push([61,0,1,46]),r()}([function(t,r){t.exports=e},,,function(e,r){e.exports=t},function(e,t){e.exports=r}])}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/class-map","lit-html/directives/if-defined"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined")):t(e["lit-element"],e["lit-html/directives/class-map"],e["lit-html/directives/if-defined"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,((e,t,i)=>(()=>{"use strict";var s,r={23968:e=>{e.exports=t},41488:t=>{t.exports=e},48171:(e,t,i)=>{i.r(t),i.d(t,{MenuItem:()=>s});var s,r=i(26272),l=i(31890),d=i(41488),n=i(23968),o=i(97822),a=i(49719),p=function(e,t,i,s){var r,l=arguments.length,d=l<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(d=(l<3?r(d):l>3?r(t,i,d):r(t,i))||d);return l>3&&d&&Object.defineProperty(t,i,d),d};!function(e){let t=class extends d.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}static get styles(){return[r.A,a.A]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",`${this.disabled}`))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return d.html`
2
+ <li
3
+ role="menuitem"
4
+ part="menu-item"
5
+ class="md-menu-item ${(0,n.classMap)(this.menuItemClassMap)}"
6
+ ?disabled=${this.disabled}
7
+ tabindex="-1"
8
+ aria-hidden="true"
9
+ aria-selected="false"
10
+ aria-label=${(0,o.ifDefined)(this.label)}
11
+ >
12
+ <a href="${(0,o.ifDefined)(this.href||void 0)}">
13
+ <slot></slot>
14
+ </a>
15
+ </li>
16
+ `}};p([(0,d.property)({type:String})],t.prototype,"href",void 0),p([(0,d.property)({type:String})],t.prototype,"label",void 0),p([(0,d.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),p([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),p([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=p([(0,l.w)("md-menu-item")],t),e.ELEMENT=t}(s||(s={}))},97822:e=>{e.exports=i}},l={};function d(e){var t=l[e];if(void 0!==t)return t.exports;var i=l[e]={exports:{}};return r[e](i,i.exports,d),i.exports}d.m=r,s=[],d.O=(e,t,i,r)=>{if(!t){var l=1/0;for(p=0;p<s.length;p++){for(var[t,i,r]=s[p],n=!0,o=0;o<t.length;o++)(!1&r||l>=r)&&Object.keys(d.O).every((e=>d.O[e](t[o])))?t.splice(o--,1):(n=!1,r<l&&(l=r));if(n){s.splice(p--,1);var a=i();void 0!==a&&(e=a)}}return e}r=r||0;for(var p=s.length;p>0&&s[p-1][2]>r;p--)s[p]=s[p-1];s[p]=[t,i,r]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var i in t)d.o(t,i)&&!d.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={4825:0,8171:0};d.O.j=t=>0===e[t];var t=(t,i)=>{var s,r,[l,n,o]=i,a=0;if(l.some((t=>0!==e[t]))){for(s in n)d.o(n,s)&&(d.m[s]=n[s]);if(o)var p=o(d)}for(t&&t(i);a<l.length;a++)r=l[a],d.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return d.O(p)},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 n=d.O(void 0,[1890,6272,9719],(()=>d(48171)));return d.O(n)})()));
@@ -1,4 +1 @@
1
- require("../chunks/md-0");
2
- require("../chunks/md-1");
3
- require("../chunks/md-46");
4
- module.exports = require("../comp/md-menu-item-entry");
1
+ require("../1890"),require("../6272"),require("../9719"),module.exports=require("../comp/md-menu-item-entry");
@@ -1 +1,26 @@
1
- !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("lit-element"),require("lit-html/directives/if-defined"),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"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/if-defined","@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"],r);else{var o="object"==typeof exports?r(require("lit-element"),require("lit-html/directives/if-defined"),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")):r(e["lit-element"],e["lit-html/directives/if-defined"],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"]);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(window,(function(e,r,o,i,t,p,n){return function(e){function r(r){for(var i,n,f=r[0],l=r[1],s=r[2],c=0,d=[];c<f.length;c++)n=f[c],Object.prototype.hasOwnProperty.call(t,n)&&t[n]&&d.push(t[n][0]),t[n]=0;for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(e[i]=l[i]);for(u&&u(r);d.length;)d.shift()();return p.push.apply(p,s||[]),o()}function o(){for(var e,r=0;r<p.length;r++){for(var o=p[r],i=!0,f=1;f<o.length;f++){var l=o[f];0!==t[l]&&(i=!1)}i&&(p.splice(r--,1),e=n(n.s=o[0]))}return e}var i={},t={334:0,284:0,295:0,299:0,300:0,320:0,328:0,340:0,341:0,345:0},p=[];function n(r){if(i[r])return i[r].exports;var o=i[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=i,n.d=function(e,r,o){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)n.d(o,i,function(r){return e[r]}.bind(null,i));return o},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 f=window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[],l=f.push.bind(f);f.push=r,f=f.slice();for(var s=0;s<f.length;s++)r(f[s]);var u=l;return p.push([37,0,2,3,4,6,12,13,17]),o()}({0:function(r,o){r.exports=e},18:function(e,r){e.exports=o},22:function(e,r){e.exports=i},23:function(e,r){e.exports=t},24:function(e,r){e.exports=p},25:function(e,r){e.exports=n},3:function(e,o){e.exports=r}})}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),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"));else if("function"==typeof define&&define.amd)define(["lit-element","@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"],t);else{var i="object"==typeof exports?t(require("lit-element"),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")):t(e["lit-element"],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"]);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(self,((e,t,i,r,o,s,n)=>(()=>{"use strict";var l,a={4863:e=>{e.exports=s},11323:(e,t,i)=>{i.r(t),i.d(t,{MenuOverlay:()=>T,OverlaySizes:()=>r,menuOverlayPlacement:()=>L,menuOverlayRole:()=>C,menuOverlaySize:()=>x});var r,o=i(35211),s=i(90195),n=i(31890),l=i(28373),a=i(66677),p=i(22962),d=i.n(p),h=i(84157),u=i.n(h),v=i(68250),c=i.n(v),m=i(69371),g=i.n(m),y=i(4863),f=i(41488),O=i(97822),E=i(16366),b=function(e,t,i,r){var o,s=arguments.length,n=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(s<3?o(n):s>3?o(t,i,n):o(t,i))||n);return s>3&&n&&Object.defineProperty(t,i,n),n},w=function(e,t,i,r){return new(i||(i=Promise))((function(o,s){function n(e){try{a(r.next(e))}catch(e){s(e)}}function l(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,l)}a((r=r.apply(e,t||[])).next())}))};!function(e){e.small="260px",e.large="370px"}(r||(r={}));const x=["small","large"],L=o.W,C=["menu","dialog"];var T;!function(e){let t=class extends((0,l.d)(f.LitElement)){constructor(){super(...arguments),this._isOpen=!1,this.size="large",this.maxHeight="",this.customWidth="",this.showArrow=!1,this.disabled=!1,this.placement="bottom",this.allowHoverToggle=!1,this.ariaRole="menu",this.ariaLabel="",this.isDatePicker=!1,this.overlayOffset=15,this.keepOpenOnWindowBlur=!1,this.popperInstance=null,this.triggerElement=null,this.shouldWrapFocus=()=>"dialog"===this.ariaRole,this.updateActiveMenuOverlayOpened=t=>{var i;this===t.target&&(null===(i=e.ELEMENT.activeOverlay)||void 0===i||i.push(t.target))},this.updateActiveMenuOverlayClosed=t=>{var i,r;const o=e.ELEMENT.activeOverlay.indexOf(t.target);this===t.target&&-1!==o&&(e.ELEMENT.activeOverlay.splice(o,1),e.ELEMENT.activeOverlay.length>0?(null===(i=e.ELEMENT.activeOverlay[e.ELEMENT.activeOverlay.length-1])||void 0===i||i.setFocusableElements(),null===(r=e.ELEMENT.activeOverlay[e.ELEMENT.activeOverlay.length-1])||void 0===r||r.focusOnNestedTrigger(this.triggerElement)):this.setFocusableElements())},this.handleTriggerClick=()=>{this.toggleOverlay()},this.setOverlay=(0,a.sg)((e=>{this.disabled||(this.isOpen=e)}),100),this.expandPopup=()=>{this.setOverlay(!0)},this.collapsePopup=()=>{this.setOverlay(!1)},this.handleOutsideOverlayKeydown=t=>w(this,void 0,void 0,(function*(){let i=!1;const r=t.composedPath();r.length&&(i=!!r.find((e=>e===this)),!i)||!this.overlayContainer||t.code!==s.Uz.Escape||(t.preventDefault(),(e.ELEMENT.activeOverlay.length>0?e.ELEMENT.activeOverlay[e.ELEMENT.activeOverlay.length-1]:void 0)===this&&(this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger()))})),this.handleTriggerKeyDown=e=>w(this,void 0,void 0,(function*(){switch(e.code){case s.Uz.Space:case s.Uz.Enter:e.preventDefault(),this.toggleOverlay(),this.isOpen||(yield this.updateComplete,this.focusOnTrigger())}})),this.handleOutsideOverlayClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find((e=>e===this)),t||this.preventClickOutside||(this.isOpen=!1))}}get isOpen(){return this._isOpen}set isOpen(e){const t=this._isOpen;this._isOpen=e,this.handleInstance(e),this.overlayContainer&&this.overlayContainer.toggleAttribute("data-show",e),this.requestUpdate("isOpen",t)}renderMaxHeight(){return this.maxHeight?`max-height: ${this.maxHeight};`:"max-height: calc(100vh - 48px);"}renderOverflowY(){return this.isDatePicker?"overflow-y: visible;":"overflow-y: auto;"}renderWidth(){return this.customWidth?`width: ${this.customWidth};`:"small"===this.size?`width: ${r.small};`:`width: ${r.large};`}getStyles(){return f.html`
2
+ <style>
3
+ :host .md-menu-overlay .overlay-content {
4
+ ${this.renderMaxHeight()};
5
+ ${this.renderWidth()};
6
+ ${this.renderOverflowY()};
7
+ }
8
+ </style>
9
+ `}connectedCallback(){super.connectedCallback(),this.handleWindowBlurEvent=this.handleWindowBlurEvent.bind(this),window.addEventListener("blur",this.handleWindowBlurEvent),document.addEventListener("click",this.handleOutsideOverlayClick),document.addEventListener("keydown",this.handleOutsideOverlayKeydown),this.addEventListener("menu-overlay-open",this.updateActiveMenuOverlayOpened),this.addEventListener("menu-overlay-close",this.updateActiveMenuOverlayClosed)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideOverlayClick),document.removeEventListener("keydown",this.handleOutsideOverlayKeydown),window.removeEventListener("blur",this.handleWindowBlurEvent),this.removeEventListener("menu-overlay-open",this.updateActiveMenuOverlayOpened),this.removeEventListener("menu-overlay-close",this.updateActiveMenuOverlayClosed),this.triggerElement&&(this.triggerElement.removeEventListener("click",this.handleTriggerClick),this.triggerElement.removeEventListener("keydown",this.handleTriggerKeyDown),this.allowHoverToggle&&(this.triggerElement.removeEventListener("mouseenter",this.expandPopup),this.triggerElement.removeEventListener("mouseleave",this.collapsePopup),this.overlayContainer.removeEventListener("mouseenter",this.expandPopup),this.overlayContainer.removeEventListener("mouseleave",this.collapsePopup)),this.triggerElement=null)}checkIsInputField(e){var t;return"md-input"===(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLowerCase())}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return w(this,void 0,void 0,(function*(){t.firstUpdated.call(this,e),yield new Promise((e=>setTimeout(e,0))),this.trigger&&(this.triggerElement=this.trigger[0],this.triggerElement.addEventListener("click",this.handleTriggerClick),this.allowHoverToggle&&(this.triggerElement.addEventListener("mouseenter",this.expandPopup),this.triggerElement.addEventListener("mouseleave",this.collapsePopup),this.overlayContainer.addEventListener("mouseenter",this.expandPopup),this.overlayContainer.addEventListener("mouseleave",this.collapsePopup)),this.checkIsInputField(this.triggerElement)||this.triggerElement.addEventListener("keydown",this.handleTriggerKeyDown),this.triggerElement.setAttribute("aria-haspopup","true")),this.overlayContainer&&this.isOpen&&(this.handleInstance(!0),this.overlayContainer.toggleAttribute("data-show",!0)),this.arrow&&this.showArrow&&this.arrow.toggleAttribute("data-show",!0),e.has("isOpen")&&(this.isOpen?this.triggerElement&&this.triggerElement.setAttribute("aria-expanded","true"):this.triggerElement&&this.triggerElement.setAttribute("aria-expanded","false"))}))}update(e){super.update(e),e.has("isOpen")&&(this.isOpen?(this.activateFocusTrap(),document.addEventListener("menu-item-click",this.handleTriggerClick)):(this.deactivateFocusTrap(),document.removeEventListener("menu-item-click",this.handleTriggerClick)))}updated(e){super.updated(e),e.has("isOpen")&&(this.isOpen?(this.dispatchMenuOpen(),this.triggerElement&&(this.triggerElement.setAttribute("aria-expanded","true"),this.triggerElement.hasAttribute("ariaexpanded")&&this.triggerElement.setAttribute("ariaexpanded","true"))):(this.dispatchMenuClose(),this.triggerElement&&(this.triggerElement.removeAttribute("aria-expanded"),this.triggerElement.hasAttribute("ariaexpanded")&&this.triggerElement.setAttribute("ariaexpanded","false"))))}dispatchMenuOpen(){this.dispatchEvent(new CustomEvent("menu-overlay-open",{composed:!0,bubbles:!0}))}dispatchMenuClose(){this.dispatchEvent(new CustomEvent("menu-overlay-close",{composed:!0,bubbles:!0}))}handleInstance(e){e?this.create():this.destroy()}create(){this.triggerElement&&(this.popperInstance=(0,y.createPopper)(this.triggerElement,this.overlayContainer,{onFirstUpdate:()=>w(this,void 0,void 0,(function*(){var e;this.isOpen&&(null===(e=this.popperInstance)||void 0===e||e.update(),this.setFocusableElements(),yield this.updateComplete,this.focusInsideOverlay())})),placement:this.placement,modifiers:[...y.defaultModifiers,u(),c(),g(),d(),{name:"preventOverflow",options:{padding:16}},{name:"offset",options:{offset:({placement:e,reference:t})=>"left-end"===e||"right-end"===e?[t.height+t.y+3,14]:[0,this.overlayOffset]}},{name:"arrow",options:{element:this.arrow,padding:5}},{name:"computeStyles",options:{adaptive:!1}}]}))}destroy(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}toggleOverlay(){this.disabled||(this.isOpen=!this.isOpen)}focusOnTrigger(){requestAnimationFrame((()=>{var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.focusableElements[0].focus()}))}focusInsideOverlay(){this.focusableElements&&(this.focusableElements.length>1?this.setInitialFocus(1):this.focusableElements.length&&this.setInitialFocus())}focusOnNestedTrigger(e){var t;null===(t=this.setFocusOnTrigger)||void 0===t||t.call(this,e)}handleWindowBlurEvent(){this._isOpen&&!this.keepOpenOnWindowBlur&&(this.isOpen=!1)}static get styles(){return[E.A]}render(){return f.html`
10
+ ${this.getStyles()}
11
+ <div class="md-menu-overlay">
12
+ <slot name="menu-trigger"></slot>
13
+ <div
14
+ part="overlay"
15
+ class="overlay-container"
16
+ role=${this.ariaRole}
17
+ aria-modal=${(0,O.ifDefined)("dialog"===this.ariaRole?"true":void 0)}
18
+ aria-label=${(0,O.ifDefined)(this.ariaLabel||void 0)}
19
+ >
20
+ <div id="arrow" class="overlay-arrow" data-popper-arrow></div>
21
+ <div class="overlay-content" part="overlay-content">
22
+ <slot></slot>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ `}};t.activeOverlay=[],b([(0,f.property)({type:Boolean,attribute:"is-open",reflect:!0})],t.prototype,"isOpen",null),b([(0,f.property)({type:String})],t.prototype,"size",void 0),b([(0,f.property)({type:String,attribute:"max-height"})],t.prototype,"maxHeight",void 0),b([(0,f.property)({type:String,attribute:"custom-width"})],t.prototype,"customWidth",void 0),b([(0,f.property)({type:Boolean,attribute:"show-arrow"})],t.prototype,"showArrow",void 0),b([(0,f.property)({type:Boolean})],t.prototype,"disabled",void 0),b([(0,f.property)({type:String})],t.prototype,"placement",void 0),b([(0,f.property)({type:Boolean,attribute:"allow-hover-toggle"})],t.prototype,"allowHoverToggle",void 0),b([(0,f.property)({type:String})],t.prototype,"ariaRole",void 0),b([(0,f.property)({type:String})],t.prototype,"ariaLabel",void 0),b([(0,f.property)({type:Boolean,attribute:"is-date-picker"})],t.prototype,"isDatePicker",void 0),b([(0,f.property)({type:Number,attribute:"overlay-offset"})],t.prototype,"overlayOffset",void 0),b([(0,f.property)({type:Boolean,attribute:"keep-open-on-window-blur"})],t.prototype,"keepOpenOnWindowBlur",void 0),b([(0,f.query)(".overlay-container")],t.prototype,"overlayContainer",void 0),b([(0,f.query)(".overlay-arrow")],t.prototype,"arrow",void 0),b([(0,f.queryAssignedNodes)("menu-trigger",!0)],t.prototype,"trigger",void 0),t=b([(0,n.w)("md-menu-overlay")],t),e.ELEMENT=t}(T||(T={}))},22962:e=>{e.exports=t},41488:t=>{t.exports=e},68250:e=>{e.exports=r},69371:e=>{e.exports=o},84157:e=>{e.exports=i},97822:e=>{e.exports=n}},p={};function d(e){var t=p[e];if(void 0!==t)return t.exports;var i=p[e]={exports:{}};return a[e](i,i.exports,d),i.exports}d.m=a,l=[],d.O=(e,t,i,r)=>{if(!t){var o=1/0;for(p=0;p<l.length;p++){for(var[t,i,r]=l[p],s=!0,n=0;n<t.length;n++)(!1&r||o>=r)&&Object.keys(d.O).every((e=>d.O[e](t[n])))?t.splice(n--,1):(s=!1,r<o&&(o=r));if(s){l.splice(p--,1);var a=i();void 0!==a&&(e=a)}}return e}r=r||0;for(var p=l.length;p>0&&l[p-1][2]>r;p--)l[p]=l[p-1];l[p]=[t,i,r]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var i in t)d.o(t,i)&&!d.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={1323:0,1682:0};d.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[s,n,l]=i,a=0;if(s.some((t=>0!==e[t]))){for(r in n)d.o(n,r)&&(d.m[r]=n[r]);if(l)var p=l(d)}for(t&&t(i);a<s.length;a++)o=s[a],d.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return d.O(p)},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 h=d.O(void 0,[1890,2576,8210,6677,1270,3135,6366,5211],(()=>d(11323)));return d.O(h)})()));
@@ -1,9 +1 @@
1
- require("../chunks/md-0");
2
- require("../chunks/md-2");
3
- require("../chunks/md-3");
4
- require("../chunks/md-4");
5
- require("../chunks/md-6");
6
- require("../chunks/md-12");
7
- require("../chunks/md-13");
8
- require("../chunks/md-17");
9
- module.exports = require("../comp/md-menu-overlay-entry");
1
+ require("../1890"),require("../2576"),require("../8210"),require("../6677"),require("../1270"),require("../3135"),require("../6366"),require("../5211"),module.exports=require("../comp/md-menu-overlay-entry");
@@ -1,8 +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-8");
6
- require("../chunks/md-46");
7
- require("../chunks/md-78");
8
- module.exports = require("../comp/md-menu-entry");
1
+ require("../1890"),require("../6272"),require("../2576"),require("../1270"),require("../2243"),require("../3625"),require("../9719"),require("../8171"),module.exports=require("../comp/md-menu-entry");
@@ -1 +1,73 @@
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("mobx"));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","mobx"],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("mobx")):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.mobx);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(window,(function(e,t,i,r,o,n,l,u){return function(e){function t(t){for(var r,l,u=t[0],m=t[1],s=t[2],f=0,a=[];f<u.length;f++)l=u[f],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&a.push(o[l][0]),o[l]=0;for(r in m)Object.prototype.hasOwnProperty.call(m,r)&&(e[r]=m[r]);for(c&&c(t);a.length;)a.shift()();return n.push.apply(n,s||[]),i()}function i(){for(var e,t=0;t<n.length;t++){for(var i=n[t],r=!0,u=1;u<i.length;u++){var m=i[u];0!==o[m]&&(r=!1)}r&&(n.splice(t--,1),e=l(l.s=i[0]))}return e}var r={},o={335: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,321:0,322:0,323:0,327:0,328:0,329:0,333:0,336:0,339:0,340:0,341:0,343:0,344:0,345:0,349:0,353:0,355:0},n=[];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 n.push([128,10,0,1,2,3,4,5,7,6,9,8,11,23,79]),i()}([function(t,i){t.exports=e},,function(e,i){e.exports=t},function(e,t){e.exports=i},function(e,t){e.exports=r},,,,function(e,t){e.exports=o},,function(e,t){e.exports=n},,function(e,t){e.exports=l},,,,,,,,function(e,t){e.exports=u}])}));
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("mobx"));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","mobx"],t);else{var o="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("mobx")):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.mobx);for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,((e,t,o,i,a,r,s,l)=>(()=>{"use strict";var n,d={8229:e=>{e.exports=t},9871:(e,t,o)=>{o.r(t),o.d(t,{Modal:()=>y,modalAlignment:()=>v,modalType:()=>u}),o(96798),o(61200);var i=o(90195),a=o(37719),r=o(3001),s=o(31890),l=o(26272),n=o(41488),d=o(40333),m=o(23968),p=o(97822),h=o(48521),c=function(e,t,o,i){var a,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(s=(r<3?a(s):r>3?a(t,o,s):a(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s};const u=["default","full","large","small","dialog"],v=["leading","center"];var y;!function(e){let t=class extends((0,r.dY)(n.LitElement)){constructor(){super(...arguments),this.show=!1,this.headerLabel="",this.headerMessage="",this.htmlId="",this.ariaLabel="modal",this.ariaLabelClose="Close Modal",this.ariaLabelCancel="Cancel Modal",this.ariaLabelSubmit="Submit Modal",this.ariaDescription="",this.showCloseButton=!1,this.backdropClickExit=!1,this.noExitOnEsc=!1,this.size="default",this.closeBtnName="",this.hideFooter=!1,this.hideHeader=!1,this.disableInitialFocus=!1,this.alignment=void 0,this.animating=!1,this.handleCloseOutside=e=>{e.code===i.Uz.Escape&&(e.preventDefault(),this.show&&!this.noExitOnEsc&&(this.show=!1))}}static get styles(){return[l.A,h.A]}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleCloseOutside)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleCloseOutside)}update(e){super.update(e),e.has("show")&&(this.show?this.modalFadeIn():!0===e.get("show")&&this.modalFadeOut())}get computedAlignment(){return void 0===this.alignment?a.themeManager.isMomentumV2Enabled?"leading":"center":this.alignment}notifyModalClose(){this.dispatchEvent(new CustomEvent("close-modal",{composed:!0,bubbles:!0}))}focusInsideModal(){var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.setInitialFocus()}handleKeyDown(e){e.code!==i.Uz.Enter&&e.code!==i.Uz.Space||this.show&&(this.show=!0)}transitionPromise(e){return new Promise((t=>{const o=()=>{e.removeEventListener("transitionend",o),this.activateFocusTrap(),this.setFocusableElements(),requestAnimationFrame((()=>{t()}))},i=()=>{e.removeEventListener("transitioncancel",i),this.deactivateFocusTrap(),this.modalFadeOut(),t()};e.addEventListener("transitionend",o),e.addEventListener("transitioncancel",i),setTimeout((()=>{this.animating=!0}),13)}))}modalFadeIn(){return e=this,t=void 0,i=function*(){this.backDrop&&(yield this.transitionPromise(this.backDrop),this.disableInitialFocus||this.focusInsideModal())},new((o=void 0)||(o=Promise))((function(a,r){function s(e){try{n(i.next(e))}catch(e){r(e)}}function l(e){try{n(i.throw(e))}catch(e){r(e)}}function n(e){var t;e.done?a(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,l)}n((i=i.apply(e,t||[])).next())}));var e,t,o,i}modalFadeOut(){this.animating=!1,this.deactivateFocusTrap(),this.notifyModalClose()}handleCloseBackdrop(){this.backdropClickExit&&(this.show=!1)}hideModal(){this.animating=!1,this.show=!1}topCloseBtnTemplate(){return n.html`
2
+ ${this.showCloseButton?n.html`
3
+ <md-button
4
+ variant="ghost"
5
+ size="20"
6
+ circle
7
+ class="md-close md-modal__close"
8
+ @click="${this.hideModal}"
9
+ @keydown="${this.handleKeyDown}"
10
+ ariaLabel=${this.ariaLabelClose}
11
+ >
12
+ <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
13
+ </md-button>
14
+ `:d.nothing}
15
+ `}handleFooterClick(){this.show=!1}headerTemplate(){return this.hideHeader?n.html`
16
+ <div id="modal_header" part="modal-header" class="md-modal__header">
17
+ <slot name="header"></slot>
18
+ </div>
19
+ `:n.html`
20
+ <div id="modal_header" part="modal-header" class="md-modal__header">
21
+ <h2 class="md-modal__title">${this.headerLabel}</h2>
22
+ ${this.headerMessage?n.html` <span class="md-modal__message">${this.headerMessage}</span> `:d.nothing}
23
+ </div>
24
+ `}footerTemplate(){return this.hideFooter?n.html`
25
+ <div part="modal-footer" class="md-modal__footer">
26
+ <slot name="footer"></slot>
27
+ </div>
28
+ `:n.html`
29
+ <div part="modal-footer" class="md-modal__footer">
30
+ <md-button
31
+ aria-label=${this.ariaLabelCancel}
32
+ @click="${this.handleFooterClick}"
33
+ @keydown="${this.handleKeyDown}"
34
+ variant="secondary"
35
+ >
36
+ <span>Cancel</span>
37
+ </md-button>
38
+ <md-button
39
+ type="submit"
40
+ variant="primary"
41
+ aria-label=${this.ariaLabelSubmit}
42
+ @click="${this.handleFooterClick}"
43
+ @keydown="${this.handleKeyDown}"
44
+ >
45
+ <span>${this.closeBtnName}</span>
46
+ </md-button>
47
+ </div>
48
+ `}get modalBackDropClassMap(){return{in:this.show&&this.animating}}get modalContainerClassMap(){return{in:this.show,[`md-modal--${this.size}`]:!!this.size,[`md-modal--${this.computedAlignment}`]:!!this.computedAlignment}}render(){return n.html`
49
+ ${this.show?n.html`
50
+ <div part="modal-backdrop" class="md-modal__backdrop fade ${(0,m.classMap)(this.modalBackDropClassMap)}">
51
+ ${this.backdropClickExit?n.html` <div class="md-modal_overlay" @click="${this.handleCloseBackdrop}"></div> `:d.nothing}
52
+
53
+ <div
54
+ part="modal-container"
55
+ role="dialog"
56
+ id="${this.htmlId}"
57
+ class="md-modal ${(0,m.classMap)(this.modalContainerClassMap)}"
58
+ aria-label="${(0,p.ifDefined)(this.headerLabel||this.ariaLabel||void 0)}"
59
+ aria-describedby=${(0,p.ifDefined)(this.ariaDescription||void 0)}
60
+ >
61
+ <div part="modal-content" class="md-modal__content">
62
+ <div class="md-modal__flex-container" part="modal-flex-container">
63
+ ${this.headerTemplate()} ${this.topCloseBtnTemplate()}
64
+ <div id="modal-body" part="modal-body" class="md-modal__body">
65
+ <slot></slot>
66
+ </div>
67
+ ${this.footerTemplate()}
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ `:d.nothing}
73
+ `}};c([(0,n.property)({type:Boolean})],t.prototype,"show",void 0),c([(0,n.property)({type:String})],t.prototype,"headerLabel",void 0),c([(0,n.property)({type:String})],t.prototype,"headerMessage",void 0),c([(0,n.property)({type:String})],t.prototype,"htmlId",void 0),c([(0,n.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),c([(0,n.property)({type:String})],t.prototype,"ariaLabelClose",void 0),c([(0,n.property)({type:String})],t.prototype,"ariaLabelCancel",void 0),c([(0,n.property)({type:String})],t.prototype,"ariaLabelSubmit",void 0),c([(0,n.property)({type:String})],t.prototype,"ariaDescription",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"showCloseButton",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"backdropClickExit",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"noExitOnEsc",void 0),c([(0,n.property)({type:String})],t.prototype,"size",void 0),c([(0,n.property)({type:String})],t.prototype,"closeBtnName",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"hideFooter",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"hideHeader",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"disableInitialFocus",void 0),c([(0,n.property)({type:String})],t.prototype,"alignment",void 0),c([(0,n.internalProperty)()],t.prototype,"animating",void 0),c([(0,n.query)(".md-modal__backdrop")],t.prototype,"backDrop",void 0),t=c([(0,s.w)("md-modal")],t),e.ELEMENT=t}(y||(y={}))},23968:e=>{e.exports=i},32022:e=>{e.exports=r},40333:e=>{e.exports=o},41488:t=>{t.exports=e},60554:e=>{e.exports=s},85314:e=>{e.exports=l},97822:e=>{e.exports=a}},m={};function p(e){var t=m[e];if(void 0!==t)return t.exports;var o=m[e]={exports:{}};return d[e](o,o.exports,p),o.exports}p.m=d,n=[],p.O=(e,t,o,i)=>{if(!t){var a=1/0;for(d=0;d<n.length;d++){for(var[t,o,i]=n[d],r=!0,s=0;s<t.length;s++)(!1&i||a>=i)&&Object.keys(p.O).every((e=>p.O[e](t[s])))?t.splice(s--,1):(r=!1,i<a&&(a=i));if(r){n.splice(d--,1);var l=o();void 0!==l&&(e=l)}}return e}i=i||0;for(var d=n.length;d>0&&n[d-1][2]>i;d--)n[d]=n[d-1];n[d]=[t,o,i]},p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var o in t)p.o(t,o)&&!p.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6433:0};p.O.j=t=>0===e[t];var t=(t,o)=>{var i,a,[r,s,l]=o,n=0;if(r.some((t=>0!==e[t]))){for(i in s)p.o(s,i)&&(p.m[i]=s[i]);if(l)var d=l(p)}for(t&&t(o);n<r.length;n++)a=r[n],p.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return p.O(d)},o=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var h=p.O(void 0,[7502,1890,6272,6325,6875,2176,6798,9813,1200,8889,300,2576,4624,591,768,3135,7719,8521,7763],(()=>p(9871)));return p.O(h)})()));
@@ -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-8");
12
- require("../chunks/md-11");
13
- require("../chunks/md-23");
14
- require("../chunks/md-79");
15
- module.exports = require("../comp/md-modal-entry");
1
+ require("../7502"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../8889"),require("../300"),require("../2576"),require("../4624"),require("../591"),require("../768"),require("../3135"),require("../7719"),require("../8521"),require("../7763"),module.exports=require("../comp/md-modal-entry");
@@ -1 +1,78 @@
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"));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"],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")):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"]);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(window,(function(e,t,i,r,n,o,l){return function(e){function t(t){for(var r,l,u=t[0],m=t[1],s=t[2],f=0,a=[];f<u.length;f++)l=u[f],Object.prototype.hasOwnProperty.call(n,l)&&n[l]&&a.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);a.length;)a.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={336: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,339:0,340:0,341: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([129,10,0,1,2,5,7,9,80]),i()}([function(t,i){t.exports=e},,function(e,i){e.exports=t},function(e,t){e.exports=i},function(e,t){e.exports=r},,,,function(e,t){e.exports=n},,function(e,t){e.exports=o},,function(e,t){e.exports=l}])}));
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(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"));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"],e);else{var i="object"==typeof exports?e(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")):e(t["lit-element"],t["lit-html/directives/style-map"],t["lit-html"],t["lit-html/directives/class-map"],t["lit-html/directives/if-defined"],t["@momentum-ui/icons/data/momentumUiIconsNames.json"],t["@momentum-ui/utils/lib/getColorValue"]);for(var r in i)("object"==typeof exports?exports:t)[r]=i[r]}}(self,((t,e,i,r,a,o,s)=>(()=>{"use strict";var n,l={8229:t=>{t.exports=e},23026:(t,e,i)=>{i.r(e),i.d(e,{Pagination:()=>r}),i(96798),i(61200);var r,a=i(31890),o=i(26272),s=i(41488),n=i(40333),l=i(4392),u=function(t,e,i,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(s=(o<3?a(s):o>3?a(e,i,s):a(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this._currentPage=1,this.hasDots=!1,this.onlyDots=!1,this.noNavigation=!1,this.totalPage=0,this.visiblePage=3}get currentPage(){return this._currentPage}set currentPage(t){const e=this._currentPage;this._currentPage=t,this.notifyPageChange(e,t),this.requestUpdate("currentPage",e)}static get styles(){return[o.A,l.A]}computePrevious(t){1!==t&&t!==this.currentPage&&(this.currentPage-=1)}computeNext(t){t<=this.totalPage&&t!==this.currentPage&&(this.currentPage+=1)}computeFirst(){this.currentPage>=1&&(this.currentPage=1)}computeLast(){this.currentPage>=1&&(this.currentPage=this.totalPage)}computeCurrent(t){this.currentPage=t}notifyPageChange(t,e){this.dispatchEvent(new CustomEvent("page-change",{composed:!0,bubbles:!0,detail:{oldPage:t,newPage:e}}))}get hasPreviousPage(){return this.currentPage<=1}get hasNextPage(){return this.currentPage>=this.totalPage}computePageList(t){if(this.totalPage>this.visiblePage&&t){const[t,e,i]=[this.currentPage-1,this.currentPage,this.currentPage+1];let r=[];if(e<=this.visiblePage-1)return r=[...Array(this.visiblePage)].map(((t,e)=>1+e)),r.push("..."),r.push(this.totalPage),r;if(this.totalPage-e<=this.visiblePage-2){r=[],r.push(1),r.push("...");const t=[...Array(this.visiblePage)].map(((t,e)=>this.totalPage-this.visiblePage+1+e));return r.concat(t)}return[1,"...",t,e,i,"...",this.totalPage]}return[...Array(this.totalPage)].map(((t,e)=>1+e))}pagesTemplate(t){return this.computePageList(t).map((t=>"..."===t?s.html` <li class="page-ellipsis">${t}</li> `:s.html`
2
+ <li @click=${()=>this.computeCurrent(t)} aria-current=${t===this.currentPage}>
3
+ ${t}
4
+ </li>
5
+ `))}dotsTemplate(t){return this.computePageList(t).map((t=>"..."===t?n.nothing:s.html`
6
+ <li @click=${()=>this.computeCurrent(t)} aria-current=${t===this.currentPage}></li>
7
+ `))}render(){return s.html`
8
+ <nav class="md-pagination" role="navigation" part="pagination">
9
+ ${this.noNavigation?n.nothing:s.html`
10
+ <md-button
11
+ class="md-pagination-nav"
12
+ ariaLabel="First Page"
13
+ ?disabled=${this.hasPreviousPage}
14
+ @click=${this.computeFirst}
15
+ part="pagination-first"
16
+ variant="ghost"
17
+ size="24"
18
+ circle
19
+ >
20
+ <md-icon name="overflow-left-bold" size="16" iconSet="momentumDesign"></md-icon>
21
+ </md-button>
22
+ <md-button
23
+ class="md-pagination-nav"
24
+ ariaLabel="Next Page"
25
+ ?disabled=${this.hasPreviousPage}
26
+ @click=${()=>this.computePrevious(this.currentPage-1)}
27
+ part="pagination-prev"
28
+ variant="ghost"
29
+ size="24"
30
+ circle
31
+ >
32
+ <md-icon name="arrow-left-bold" size="16" iconSet="momentumDesign"></md-icon>
33
+ </md-button>
34
+ `}
35
+ <div class="md-pagination-container">
36
+ ${this.onlyDots?s.html`
37
+ <ul class="md-pagination-dots" part="pagination-only-dots">
38
+ ${this.dotsTemplate(!1)}
39
+ </ul>
40
+ `:s.html`
41
+ <ul class="md-pagination-list" part=pagination-list">
42
+ ${this.pagesTemplate(!0)}
43
+ </ul>
44
+ `}
45
+ ${this.hasDots&&!this.onlyDots?s.html`
46
+ <ul class="md-pagination-dots" part="pagination-dots">
47
+ ${this.dotsTemplate(!0)}
48
+ </ul>
49
+ `:n.nothing}
50
+ </div>
51
+ ${this.noNavigation?n.nothing:s.html`
52
+ <md-button
53
+ class="md-pagination-nav"
54
+ ariaLabel="Previous Page"
55
+ ?disabled=${this.hasNextPage}
56
+ @click=${()=>this.computeNext(this.currentPage+1)}
57
+ part="pagination-next"
58
+ variant="ghost"
59
+ size="24"
60
+ circle
61
+ >
62
+ <md-icon name="arrow-right-bold" size="16" iconSet="momentumDesign"></md-icon>
63
+ </md-button>
64
+ <md-button
65
+ class="md-pagination-nav"
66
+ ariaLabel="Last Page"
67
+ ?disabled=${this.hasNextPage}
68
+ @click=${this.computeLast}
69
+ part="pagination-last"
70
+ variant="ghost"
71
+ size="24"
72
+ circle
73
+ >
74
+ <md-icon name="overflow-right-bold" size="16" iconSet="momentumDesign"></md-icon>
75
+ </md-button>
76
+ `}
77
+ </nav>
78
+ `}};u([(0,s.property)({type:Boolean,attribute:"dots"})],e.prototype,"hasDots",void 0),u([(0,s.property)({type:Boolean,reflect:!0,attribute:"only-dots"})],e.prototype,"onlyDots",void 0),u([(0,s.property)({type:Boolean,reflect:!0,attribute:"no-navigation"})],e.prototype,"noNavigation",void 0),u([(0,s.property)({type:Number,reflect:!0,attribute:"total-page"})],e.prototype,"totalPage",void 0),u([(0,s.property)({type:Number,reflect:!0,attribute:"visible-page"})],e.prototype,"visiblePage",void 0),u([(0,s.property)({type:Number,reflect:!0,attribute:"current-page"})],e.prototype,"currentPage",null),e=u([(0,a.w)("md-pagination")],e),t.ELEMENT=e}(r||(r={}))},23968:t=>{t.exports=r},32022:t=>{t.exports=o},40333:t=>{t.exports=i},41488:e=>{e.exports=t},60554:t=>{t.exports=s},97822:t=>{t.exports=a}},u={};function m(t){var e=u[t];if(void 0!==e)return e.exports;var i=u[t]={exports:{}};return l[t](i,i.exports,m),i.exports}m.m=l,n=[],m.O=(t,e,i,r)=>{if(!e){var a=1/0;for(u=0;u<n.length;u++){for(var[e,i,r]=n[u],o=!0,s=0;s<e.length;s++)(!1&r||a>=r)&&Object.keys(m.O).every((t=>m.O[t](e[s])))?e.splice(s--,1):(o=!1,r<a&&(a=r));if(o){n.splice(u--,1);var l=i();void 0!==l&&(t=l)}}return t}r=r||0;for(var u=n.length;u>0&&n[u-1][2]>r;u--)n[u]=n[u-1];n[u]=[e,i,r]},m.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return m.d(e,{a:e}),e},m.d=(t,e)=>{for(var i in e)m.o(e,i)&&!m.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},m.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),m.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={1788:0};m.O.j=e=>0===t[e];var e=(e,i)=>{var r,a,[o,s,n]=i,l=0;if(o.some((e=>0!==t[e]))){for(r in s)m.o(s,r)&&(m.m[r]=s[r]);if(n)var u=n(m)}for(e&&e(i);l<o.length;l++)a=o[l],m.o(t,a)&&t[a]&&t[a][0](),t[a]=0;return m.O(u)},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=m.O(void 0,[7502,1890,6272,6325,6875,2176,6798,9813,1200,2576,4392],(()=>m(23026)));return m.O(c)})()));
@@ -1,9 +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-5");
6
- require("../chunks/md-7");
7
- require("../chunks/md-9");
8
- require("../chunks/md-80");
9
- module.exports = require("../comp/md-pagination-entry");
1
+ require("../7502"),require("../1890"),require("../6272"),require("../6325"),require("../6875"),require("../2176"),require("../6798"),require("../9813"),require("../1200"),require("../2576"),require("../4392"),module.exports=require("../comp/md-pagination-entry");
@@ -1 +1,71 @@
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("lit-html/directives/class-map.js"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("lit-virtualizer"),require("libphonenumber-js"),require("country-codes-list"),require("country-flags-svg"),require("lit-html/directives/repeat.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","lit-html/directives/class-map.js","@momentum-ui/utils/lib/getColorValue","lit-html/directives/repeat","lit-virtualizer","libphonenumber-js","country-codes-list","country-flags-svg","lit-html/directives/repeat.js"],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("lit-html/directives/class-map.js"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-html/directives/repeat"),require("lit-virtualizer"),require("libphonenumber-js"),require("country-codes-list"),require("country-flags-svg"),require("lit-html/directives/repeat.js")):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["lit-html/directives/class-map.js"],e["@momentum-ui/utils/lib/getColorValue"],e["lit-html/directives/repeat"],e["lit-virtualizer"],e["libphonenumber-js"],e["country-codes-list"],e["country-flags-svg"],e["lit-html/directives/repeat.js"]);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(window,(function(e,t,i,r,n,o,l,u,s,m,c,a,p,f){return function(e){function t(t){for(var r,l,u=t[0],s=t[1],m=t[2],a=0,p=[];a<u.length;a++)l=u[a],Object.prototype.hasOwnProperty.call(n,l)&&n[l]&&p.push(n[l][0]),n[l]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(c&&c(t);p.length;)p.shift()();return o.push.apply(o,m||[]),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 s=i[u];0!==n[s]&&(r=!1)}r&&(o.splice(t--,1),e=l(l.s=i[0]))}return e}var r={},n={337:0,284:0,286:0,287:0,288:0,289:0,290:0,292:0,293:0,294:0,295:0,296:0,299:0,300:0,301:0,302:0,304:0,305:0,314:0,315:0,317:0,320:0,322:0,323:0,324:0,326:0,327:0,328:0,329:0,330:0,333:0,336:0,339:0,340:0,341:0,342:0,343:0,344:0,345:0,349:0,352: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]"]||[],s=u.push.bind(u);u.push=t,u=u.slice();for(var m=0;m<u.length;m++)t(u[m]);var c=s;return o.push([130,10,28,0,1,2,3,4,5,7,6,9,8,11,12,15,14,18,31,81]),i()}({0:function(t,i){t.exports=e},10:function(e,t){e.exports=o},11:function(e,t){e.exports=l},12:function(e,t){e.exports=u},13:function(e,t){e.exports=s},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},71:function(e,t){e.exports=c},8:function(e,t){e.exports=n},86:function(e,t){e.exports=a},87:function(e,t){e.exports=p},88:function(e,t){e.exports=f}})}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(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"),require("lit-html/directives/class-map.js"),require("country-codes-list"),require("country-flags-svg"),require("libphonenumber-js"),require("lit-html/directives/repeat.js"));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","lit-html/directives/class-map.js","country-codes-list","country-flags-svg","libphonenumber-js","lit-html/directives/repeat.js"],t);else{var i="object"==typeof exports?t(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"),require("lit-html/directives/class-map.js"),require("country-codes-list"),require("country-flags-svg"),require("libphonenumber-js"),require("lit-html/directives/repeat.js")):t(e["lit-element"],e["lit-html/directives/class-map"],e["lit-html/directives/style-map"],e["lit-html"],e["lit-html/directives/if-defined"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["lit-html/directives/repeat"],e["lit-virtualizer"],e["lit-html/directives/class-map.js"],e["country-codes-list"],e["country-flags-svg"],e["libphonenumber-js"],e["lit-html/directives/repeat.js"]);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(self,((e,t,i,r,o,l,s,a,n,d,u,p,h,c)=>(()=>{"use strict";var m,y={860:e=>{e.exports=h},6963:e=>{e.exports=c},8229:e=>{e.exports=i},13060:e=>{e.exports=u},17518:e=>{e.exports=d},22818:e=>{e.exports=a},23968:e=>{e.exports=t},32022:e=>{e.exports=l},40333:e=>{e.exports=r},41488:t=>{t.exports=e},60554:e=>{e.exports=s},65875:e=>{e.exports=p},84205:(e,t,i)=>{i.r(t),i.d(t,{PhoneInput:()=>r}),i(4928),i(96408);var r,o=i(31890),l=i(26272),s=i(13060),a=i(65875),n=i(860),d=i(41488),u=i(40333),p=i(23968),h=i(6963),c=i(77833),m=function(e,t,i,r){var o,l=arguments.length,s=l<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(l<3?o(s):l>3?o(t,i,s):o(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};!function(e){let t=class extends d.LitElement{constructor(){super(...arguments),this.codePlaceholder="+1",this.numberPlaceholder="Enter Phone Number",this.countryCallingCode="",this.showFlags=!1,this.pill=!1,this.disabled=!1,this.value="",this.errorMessage="",this.showErrorMessage=!1,this.clearIconHeight="auto",this.countryCodeAriaLabel="",this.dialNumberAriaLabel="",this.clearAriaLabel="Clear Input",this.clearCountryCodeAriaLabel="Clear Country Code",this.id="",this.newMomentum=!1,this.countryCode="US",this.codeList=[],this.formattedValue="",this.isValid=!0}connectedCallback(){super.connectedCallback(),this.codeList=(0,s.customArray)({name:"{countryNameEn}",value:"{countryCallingCode}",code:"{countryCode}"}),""===this.id&&(this.id=`md-phone-input-${Math.random().toString(36).substring(2,6)}`),this.validateInput(this.value)}getCountryFlag(e){return d.html`
2
+ <span class="flag-svg-wrapper">
3
+ <img src="${(0,a.findFlagUrlByIso2Code)(e)}" />
4
+ </span>
5
+ `}countryCodeOptionTemplate(e,t){return d.html`
6
+ <div
7
+ part="option"
8
+ class="md-phone-input__option"
9
+ display-value="+${e.value}"
10
+ slot=${t}
11
+ aria-label="+${e.value}, ${e.name}, ${e.code}"
12
+ >
13
+ ${this.showFlags?this.getCountryFlag(e.code):u.nothing}
14
+ <span>${e.name}</span>
15
+ <span>+${e.value}</span>
16
+ </div>
17
+ `}validateNumber(){this.isValid=!this.value||(0,n.isValidNumberForRegion)(this.value,this.countryCode)}handleCountryChange(e){var t,i;e.detail.value&&(null===(t=e.detail.value)||void 0===t?void 0:t.id)?(this.countryCallingCode=e.detail.value.id,this.countryCode=null===(i=e.detail.value.id.split(",")[2])||void 0===i?void 0:i.trim()):(this.countryCode="US",this.countryCallingCode=""),this.validateNumber(),this.dispatchEvent(new CustomEvent("countrycode-change",{bubbles:!0,composed:!0,detail:{srcEvent:e,isValid:this.isValid}}))}handlePhoneChange(e){this.value=e.detail.value,e.stopPropagation(),this.dispatchEvent(new CustomEvent("phoneinput-change",{bubbles:!0,composed:!0,detail:{srcEvent:e,value:`${this.countryCallingCode}${this.value}`,isValid:this.isValid,phoneNumber:this.value}}))}handleKeydown(e){this.isValid=!0,e.stopPropagation(),this.dispatchEvent(new CustomEvent("phoneinput-keydown",{bubbles:!0,composed:!0,detail:{srcEvent:e,value:`${this.countryCallingCode}${this.value}`,isValid:this.isValid,phoneNumber:this.value}}))}handleBlur(e){this.validateInput(this.value),this.validateNumber(),e.stopPropagation(),this.removeCountryCode(),this.dispatchEvent(new CustomEvent("phoneinput-blur",{bubbles:!0,composed:!0,detail:{srcEvent:e,value:`${this.countryCallingCode}${this.value}`,isValid:this.isValid,phoneNumber:this.value}}))}removeCountryCode(){var e;const t=null===(e=this.countryCallingCode.split(",")[0])||void 0===e?void 0:e.trim();if(this.value.startsWith(t)){const e=this.value.slice(t.length).replace(/^-/,"");this.value=e}}validateInput(e){this.formattedValue=new n.AsYouType(this.countryCode).input(e)}get flagClassMap(){return{"new-momentum":this.newMomentum}}getFormatedCountryCallingCode(){var e;return{id:this.countryCallingCode,value:null===(e=this.countryCallingCode.split(",")[0])||void 0===e?void 0:e.trim()}}getModStyle(){return d.html`
18
+ <style>
19
+ .md-phone-input__container md-combobox {
20
+ width: 5.625rem;
21
+ }
22
+
23
+ md-combobox::part(group) {
24
+ border-left-style: none;
25
+ border-bottom-left-radius: 0;
26
+ border-top-left-radius: 0;
27
+ padding-left: 0;
28
+ }
29
+ </style>
30
+ `}static get styles(){return[l.A,c.A]}render(){return d.html`
31
+ ${this.showFlags?this.getModStyle():u.nothing}
32
+ <div class="md-phone-input__container">
33
+ ${this.showFlags?d.html`
34
+ <span class="flag-box ${(0,p.classMap)(this.flagClassMap)}">${this.getCountryFlag(this.countryCode)}</span>
35
+ `:u.nothing}
36
+ <md-combobox
37
+ part="combobox"
38
+ ?disabled=${this.disabled}
39
+ shape="${this.pill?"pill":"none"}"
40
+ ariaLabel=${this.countryCodeAriaLabel}
41
+ placeholder="${this.codePlaceholder}"
42
+ .value="${this.countryCallingCode?[this.getFormatedCountryCallingCode()]:[]}"
43
+ @change-selected="${e=>this.handleCountryChange(e)}"
44
+ clear-icon-height="${this.clearIconHeight}"
45
+ with-custom-content
46
+ ?newMomentum=${this.newMomentum}
47
+ is-dropdown-arrow
48
+ .clearAriaLabel="${this.clearCountryCodeAriaLabel}"
49
+ >
50
+ ${(0,h.repeat)(this.codeList,(e=>e.name),((e,t)=>this.countryCodeOptionTemplate(e,t)))}
51
+ </md-combobox>
52
+ <md-input
53
+ part="md-input"
54
+ ?disabled=${this.disabled}
55
+ placeholder=${this.numberPlaceholder}
56
+ .ariaInvalid=${this.isValid?"false":"true"}
57
+ .ariaLabel=${`${this.dialNumberAriaLabel}`}
58
+ @input-change="${e=>this.handlePhoneChange(e)}"
59
+ @input-blur="${e=>this.handleBlur(e)}"
60
+ @input-keydown="${e=>this.handleKeydown(e)}"
61
+ shape="${this.pill?"pill":"none"}"
62
+ .ariaControls=${this.id}
63
+ clear
64
+ ?newMomentum=${this.newMomentum}
65
+ clearAriaLabel="${this.clearAriaLabel}"
66
+ type="tel"
67
+ value="${this.formattedValue}"
68
+ .messageArr="${!this.isValid||this.showErrorMessage?[{type:"error",id:this.id,ariaLive:"polite",message:this.errorMessage}]:[]}"
69
+ ></md-input>
70
+ </div>
71
+ `}};m([(0,d.property)({type:String,reflect:!0})],t.prototype,"codePlaceholder",void 0),m([(0,d.property)({type:String})],t.prototype,"numberPlaceholder",void 0),m([(0,d.property)({type:String,attribute:"country-calling-code"})],t.prototype,"countryCallingCode",void 0),m([(0,d.property)({type:Boolean,attribute:"show-flags"})],t.prototype,"showFlags",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"pill",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"disabled",void 0),m([(0,d.property)({type:String})],t.prototype,"value",void 0),m([(0,d.property)({type:String})],t.prototype,"errorMessage",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"showErrorMessage",void 0),m([(0,d.property)({type:String,attribute:"clear-icon-height"})],t.prototype,"clearIconHeight",void 0),m([(0,d.property)({type:String})],t.prototype,"countryCodeAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"dialNumberAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"clearAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"clearCountryCodeAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"id",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"newMomentum",void 0),m([(0,d.internalProperty)()],t.prototype,"countryCode",void 0),m([(0,d.internalProperty)()],t.prototype,"codeList",void 0),m([(0,d.internalProperty)()],t.prototype,"formattedValue",void 0),m([(0,d.internalProperty)()],t.prototype,"isValid",void 0),m([(0,d.query)("md-combobox")],t.prototype,"combobox",void 0),t=m([(0,o.w)("md-phone-input")],t),e.ELEMENT=t}(r||(r={}))},86635:e=>{e.exports=n},97822:e=>{e.exports=o}},v={};function b(e){var t=v[e];if(void 0!==t)return t.exports;var i=v[e]={exports:{}};return y[e].call(i.exports,i,i.exports,b),i.exports}b.m=y,m=[],b.O=(e,t,i,r)=>{if(!t){var o=1/0;for(n=0;n<m.length;n++){for(var[t,i,r]=m[n],l=!0,s=0;s<t.length;s++)(!1&r||o>=r)&&Object.keys(b.O).every((e=>b.O[e](t[s])))?t.splice(s--,1):(l=!1,r<o&&(o=r));if(l){m.splice(n--,1);var a=i();void 0!==a&&(e=a)}}return e}r=r||0;for(var n=m.length;n>0&&m[n-1][2]>r;n--)m[n]=m[n-1];m[n]=[t,i,r]},b.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return b.d(t,{a:t}),t},b.d=(e,t)=>{for(var i in t)b.o(t,i)&&!b.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={445:0};b.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[l,s,a]=i,n=0;if(l.some((t=>0!==e[t]))){for(r in s)b.o(s,r)&&(b.m[r]=s[r]);if(a)var d=a(b)}for(t&&t(i);n<l.length;n++)o=l[n],b.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return b.O(d)},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 g=b.O(void 0,[7502,7103,1890,6272,6325,6875,2176,6798,9813,1200,8889,300,8373,4624,591,768,3001,1598,4977,1572,6396,109,6408,6795,1439,5433,2547,7833],(()=>b(84205)));return b.O(g)})()));