@momentum-ui/web-components 2.6.6 → 2.6.9

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 (343) hide show
  1. package/dist/chunks/md-100.js +1 -1
  2. package/dist/chunks/md-101.js +1 -1
  3. package/dist/chunks/md-102.js +1 -1
  4. package/dist/chunks/md-103.js +1 -1
  5. package/dist/chunks/md-104.js +1 -1
  6. package/dist/chunks/md-105.js +1 -1
  7. package/dist/chunks/md-106.js +1 -1
  8. package/dist/chunks/md-107.js +1 -1
  9. package/dist/chunks/md-108.js +1 -1
  10. package/dist/chunks/md-109.js +1 -1
  11. package/dist/chunks/md-110.js +1 -1
  12. package/dist/chunks/md-111.js +1 -1
  13. package/dist/chunks/md-112.js +1 -1
  14. package/dist/chunks/md-113.js +1 -1
  15. package/dist/chunks/md-114.js +1 -1
  16. package/dist/chunks/md-115.js +1 -1
  17. package/dist/chunks/md-116.js +1 -1
  18. package/dist/chunks/md-117.js +1 -1
  19. package/dist/chunks/md-118.js +1 -1
  20. package/dist/chunks/md-119.js +1 -1
  21. package/dist/chunks/md-120.js +1 -1
  22. package/dist/chunks/md-121.js +1 -1
  23. package/dist/chunks/md-122.js +1 -1
  24. package/dist/chunks/md-123.js +1 -1
  25. package/dist/chunks/md-124.js +1 -1
  26. package/dist/chunks/md-125.js +1 -1
  27. package/dist/chunks/md-126.js +1 -1
  28. package/dist/chunks/md-127.js +1 -1
  29. package/dist/chunks/md-128.js +1 -1
  30. package/dist/chunks/md-129.js +1 -1
  31. package/dist/chunks/md-130.js +1 -1
  32. package/dist/chunks/md-131.js +1 -1
  33. package/dist/chunks/md-132.js +1 -1
  34. package/dist/chunks/md-133.js +1 -1
  35. package/dist/chunks/md-134.js +1 -1
  36. package/dist/chunks/md-135.js +1 -1
  37. package/dist/chunks/md-136.js +1 -1
  38. package/dist/chunks/md-137.js +1 -1
  39. package/dist/chunks/md-138.js +1 -1
  40. package/dist/chunks/md-139.js +1 -1
  41. package/dist/chunks/md-140.js +1 -1
  42. package/dist/chunks/md-141.js +1 -1
  43. package/dist/chunks/md-142.js +1 -1
  44. package/dist/chunks/md-143.js +1 -1
  45. package/dist/chunks/md-144.js +1 -1
  46. package/dist/chunks/md-145.js +1 -1
  47. package/dist/chunks/md-146.js +1 -1
  48. package/dist/chunks/md-147.js +1 -1
  49. package/dist/chunks/md-148.js +1 -1
  50. package/dist/chunks/md-149.js +1 -1
  51. package/dist/chunks/md-150.js +1 -1
  52. package/dist/chunks/md-151.js +1 -1
  53. package/dist/chunks/md-152.js +1 -1
  54. package/dist/chunks/md-153.js +1 -1
  55. package/dist/chunks/md-154.js +1 -1
  56. package/dist/chunks/md-155.js +1 -1
  57. package/dist/chunks/md-156.js +1 -1
  58. package/dist/chunks/md-157.js +1 -1
  59. package/dist/chunks/md-158.js +1 -1
  60. package/dist/chunks/md-159.js +1 -1
  61. package/dist/chunks/md-160.js +1 -1
  62. package/dist/chunks/md-161.js +1 -1
  63. package/dist/chunks/md-162.js +1 -1
  64. package/dist/chunks/md-163.js +1 -1
  65. package/dist/chunks/md-164.js +1 -1
  66. package/dist/chunks/md-165.js +1 -1
  67. package/dist/chunks/md-166.js +1 -1
  68. package/dist/chunks/md-167.js +1 -1
  69. package/dist/chunks/md-168.js +1 -1
  70. package/dist/chunks/md-169.js +1 -1
  71. package/dist/chunks/md-170.js +1 -1
  72. package/dist/chunks/md-171.js +1 -1
  73. package/dist/chunks/md-172.js +1 -1
  74. package/dist/chunks/md-173.js +1 -1
  75. package/dist/chunks/md-174.js +1 -1
  76. package/dist/chunks/md-175.js +1 -1
  77. package/dist/chunks/md-176.js +1 -1
  78. package/dist/chunks/md-177.js +1 -1
  79. package/dist/chunks/md-178.js +1 -1
  80. package/dist/chunks/md-179.js +1 -1
  81. package/dist/chunks/md-180.js +1 -1
  82. package/dist/chunks/md-181.js +1 -1
  83. package/dist/chunks/md-182.js +1 -1
  84. package/dist/chunks/md-183.js +1 -1
  85. package/dist/chunks/md-184.js +1 -1
  86. package/dist/chunks/md-185.js +1 -1
  87. package/dist/chunks/md-186.js +1 -1
  88. package/dist/chunks/md-187.js +1 -1
  89. package/dist/chunks/md-188.js +1 -1
  90. package/dist/chunks/md-189.js +1 -1
  91. package/dist/chunks/md-190.js +1 -1
  92. package/dist/chunks/md-191.js +1 -1
  93. package/dist/chunks/md-192.js +1 -1
  94. package/dist/chunks/md-193.js +1 -1
  95. package/dist/chunks/md-194.js +1 -1
  96. package/dist/chunks/md-195.js +1 -1
  97. package/dist/chunks/md-196.js +1 -1
  98. package/dist/chunks/md-197.js +1 -1
  99. package/dist/chunks/md-198.js +1 -1
  100. package/dist/chunks/md-199.js +1 -1
  101. package/dist/chunks/md-200.js +1 -1
  102. package/dist/chunks/md-201.js +1 -1
  103. package/dist/chunks/md-202.js +1 -1
  104. package/dist/chunks/md-203.js +1 -1
  105. package/dist/chunks/md-204.js +1 -1
  106. package/dist/chunks/md-205.js +1 -1
  107. package/dist/chunks/md-206.js +1 -1
  108. package/dist/chunks/md-207.js +1 -1
  109. package/dist/chunks/md-208.js +1 -1
  110. package/dist/chunks/md-209.js +1 -1
  111. package/dist/chunks/md-210.js +1 -1
  112. package/dist/chunks/md-211.js +1 -1
  113. package/dist/chunks/md-212.js +1 -1
  114. package/dist/chunks/md-213.js +1 -1
  115. package/dist/chunks/md-214.js +1 -1
  116. package/dist/chunks/md-215.js +1 -1
  117. package/dist/chunks/md-216.js +1 -1
  118. package/dist/chunks/md-217.js +1 -1
  119. package/dist/chunks/md-218.js +1 -1
  120. package/dist/chunks/md-219.js +1 -1
  121. package/dist/chunks/md-220.js +1 -1
  122. package/dist/chunks/md-221.js +1 -1
  123. package/dist/chunks/md-222.js +1 -1
  124. package/dist/chunks/md-223.js +1 -1
  125. package/dist/chunks/md-224.js +1 -1
  126. package/dist/chunks/md-225.js +1 -1
  127. package/dist/chunks/md-226.js +1 -1
  128. package/dist/chunks/md-227.js +1 -1
  129. package/dist/chunks/md-228.js +1 -1
  130. package/dist/chunks/md-229.js +1 -1
  131. package/dist/chunks/md-230.js +1 -1
  132. package/dist/chunks/md-231.js +1 -1
  133. package/dist/chunks/md-232.js +1 -1
  134. package/dist/chunks/md-233.js +1 -1
  135. package/dist/chunks/md-234.js +1 -1
  136. package/dist/chunks/md-235.js +1 -1
  137. package/dist/chunks/md-236.js +1 -1
  138. package/dist/chunks/md-237.js +1 -1
  139. package/dist/chunks/md-238.js +1 -1
  140. package/dist/chunks/md-239.js +1 -1
  141. package/dist/chunks/md-240.js +1 -1
  142. package/dist/chunks/md-241.js +1 -1
  143. package/dist/chunks/md-242.js +1 -1
  144. package/dist/chunks/md-243.js +1 -1
  145. package/dist/chunks/md-244.js +1 -1
  146. package/dist/chunks/md-245.js +1 -1
  147. package/dist/chunks/md-246.js +1 -1
  148. package/dist/chunks/md-247.js +1 -1
  149. package/dist/chunks/md-248.js +1 -1
  150. package/dist/chunks/md-249.js +1 -1
  151. package/dist/chunks/md-250.js +1 -1
  152. package/dist/chunks/md-251.js +1 -1
  153. package/dist/chunks/md-252.js +1 -1
  154. package/dist/chunks/md-253.js +1 -1
  155. package/dist/chunks/md-254.js +1 -1
  156. package/dist/chunks/md-255.js +1 -1
  157. package/dist/chunks/md-256.js +1 -1
  158. package/dist/chunks/md-257.js +1 -1
  159. package/dist/chunks/md-258.js +1 -1
  160. package/dist/chunks/md-259.js +1 -1
  161. package/dist/chunks/md-260.js +1 -1
  162. package/dist/chunks/md-261.js +1 -1
  163. package/dist/chunks/md-262.js +1 -1
  164. package/dist/chunks/md-263.js +1 -1
  165. package/dist/chunks/md-264.js +1 -1
  166. package/dist/chunks/md-265.js +1 -1
  167. package/dist/chunks/md-266.js +1 -1
  168. package/dist/chunks/md-267.js +1 -1
  169. package/dist/chunks/md-268.js +1 -1
  170. package/dist/chunks/md-269.js +1 -1
  171. package/dist/chunks/md-270.js +1 -1
  172. package/dist/chunks/md-271.js +1 -1
  173. package/dist/chunks/md-272.js +1 -1
  174. package/dist/chunks/md-273.js +1 -1
  175. package/dist/chunks/md-274.js +1 -0
  176. package/dist/chunks/md-36.js +4 -4
  177. package/dist/chunks/md-43.js +1 -5
  178. package/dist/chunks/md-44.js +4 -33
  179. package/dist/chunks/md-45.js +34 -13
  180. package/dist/chunks/md-46.js +13 -20
  181. package/dist/chunks/md-47.js +18 -44
  182. package/dist/chunks/md-48.js +46 -13
  183. package/dist/chunks/md-49.js +13 -5
  184. package/dist/chunks/md-5.js +1 -1
  185. package/dist/chunks/md-50.js +4 -67
  186. package/dist/chunks/md-51.js +64 -20
  187. package/dist/chunks/md-52.js +24 -14
  188. package/dist/chunks/md-53.js +14 -5
  189. package/dist/chunks/md-54.js +5 -39
  190. package/dist/chunks/md-55.js +38 -21
  191. package/dist/chunks/md-56.js +21 -4
  192. package/dist/chunks/md-57.js +5 -1
  193. package/dist/chunks/md-58.js +1 -22
  194. package/dist/chunks/md-59.js +22 -5
  195. package/dist/chunks/md-60.js +4 -14
  196. package/dist/chunks/md-61.js +14 -41
  197. package/dist/chunks/md-62.js +41 -29
  198. package/dist/chunks/md-63.js +29 -71
  199. package/dist/chunks/md-64.js +72 -19
  200. package/dist/chunks/md-65.js +19 -17
  201. package/dist/chunks/md-66.js +17 -22
  202. package/dist/chunks/md-67.js +21 -83
  203. package/dist/chunks/md-68.js +84 -7
  204. package/dist/chunks/md-69.js +7 -77
  205. package/dist/chunks/md-70.js +76 -71
  206. package/dist/chunks/md-71.js +72 -61
  207. package/dist/chunks/md-72.js +59 -14
  208. package/dist/chunks/md-73.js +15 -4
  209. package/dist/chunks/md-74.js +4 -29
  210. package/dist/chunks/md-75.js +30 -3
  211. package/dist/chunks/md-76.js +3 -179
  212. package/dist/chunks/md-77.js +177 -37
  213. package/dist/chunks/md-78.js +37 -83
  214. package/dist/chunks/md-79.js +78 -97
  215. package/dist/chunks/md-80.js +103 -11
  216. package/dist/chunks/md-81.js +11 -42
  217. package/dist/chunks/md-82.js +42 -20
  218. package/dist/chunks/md-83.js +21 -1
  219. package/dist/chunks/md-84.js +1 -1
  220. package/dist/chunks/md-85.js +1 -1
  221. package/dist/chunks/md-86.js +1 -1
  222. package/dist/chunks/md-87.js +1 -1
  223. package/dist/chunks/md-88.js +1 -1
  224. package/dist/chunks/md-89.js +1 -1
  225. package/dist/chunks/md-90.js +1 -1
  226. package/dist/chunks/md-91.js +1 -1
  227. package/dist/chunks/md-92.js +1 -1
  228. package/dist/chunks/md-93.js +1 -1
  229. package/dist/chunks/md-94.js +1 -1
  230. package/dist/chunks/md-95.js +1 -1
  231. package/dist/chunks/md-96.js +1 -1
  232. package/dist/chunks/md-97.js +1 -1
  233. package/dist/chunks/md-98.js +1 -1
  234. package/dist/chunks/md-99.js +1 -1
  235. package/dist/comp/md-accordion-entry.js +1 -1
  236. package/dist/comp/md-accordion-item-entry.js +1 -1
  237. package/dist/comp/md-accordion-item.js +1 -1
  238. package/dist/comp/md-accordion.js +1 -1
  239. package/dist/comp/md-activity-button-entry.js +1 -1
  240. package/dist/comp/md-activity-button.js +1 -1
  241. package/dist/comp/md-alert-banner-entry.js +1 -1
  242. package/dist/comp/md-alert-banner.js +1 -1
  243. package/dist/comp/md-alert-entry.js +1 -1
  244. package/dist/comp/md-alert.js +1 -1
  245. package/dist/comp/md-avatar-entry.js +1 -1
  246. package/dist/comp/md-badge-entry.js +1 -1
  247. package/dist/comp/md-breadcrumb-entry.js +1 -1
  248. package/dist/comp/md-breadcrumb.js +1 -1
  249. package/dist/comp/md-button-entry.js +1 -1
  250. package/dist/comp/md-button-group-entry.js +1 -1
  251. package/dist/comp/md-button-group.js +1 -1
  252. package/dist/comp/md-card-entry.js +1 -1
  253. package/dist/comp/md-card.js +1 -1
  254. package/dist/comp/md-chat-message-entry.js +1 -1
  255. package/dist/comp/md-chat-message.js +1 -1
  256. package/dist/comp/md-checkbox-entry.js +1 -1
  257. package/dist/comp/md-checkbox.js +1 -1
  258. package/dist/comp/md-checkboxgroup-entry.js +1 -1
  259. package/dist/comp/md-checkboxgroup.js +1 -1
  260. package/dist/comp/md-chip-entry.js +1 -1
  261. package/dist/comp/md-chip.js +1 -1
  262. package/dist/comp/md-coachmark-entry.js +1 -1
  263. package/dist/comp/md-coachmark.js +1 -1
  264. package/dist/comp/md-combobox-entry.js +1 -1
  265. package/dist/comp/md-combobox.js +1 -0
  266. package/dist/comp/md-composite-avatar-entry.js +1 -1
  267. package/dist/comp/md-composite-avatar.js +1 -1
  268. package/dist/comp/md-date-range-picker-entry.js +1 -1
  269. package/dist/comp/md-date-range-picker.js +1 -1
  270. package/dist/comp/md-date-time-picker-entry.js +1 -1
  271. package/dist/comp/md-date-time-picker.js +1 -1
  272. package/dist/comp/md-datepicker-calendar-entry.js +1 -1
  273. package/dist/comp/md-datepicker-day-entry.js +1 -1
  274. package/dist/comp/md-datepicker-entry.js +1 -1
  275. package/dist/comp/md-datepicker-month-entry.js +1 -1
  276. package/dist/comp/md-datepicker-week-entry.js +1 -1
  277. package/dist/comp/md-draggable-entry.js +1 -1
  278. package/dist/comp/md-draggable-item-entry.js +1 -1
  279. package/dist/comp/md-draggable-item.js +1 -1
  280. package/dist/comp/md-draggable.js +1 -1
  281. package/dist/comp/md-dropdown-entry.js +1 -1
  282. package/dist/comp/md-dropdown.js +1 -1
  283. package/dist/comp/md-editable-field-entry.js +1 -1
  284. package/dist/comp/md-editable-field.js +1 -1
  285. package/dist/comp/md-favorite-entry.js +1 -1
  286. package/dist/comp/md-floating-minimize-entry.js +1 -1
  287. package/dist/comp/md-floating-modal-entry.js +1 -1
  288. package/dist/comp/md-floating-modal.js +1 -1
  289. package/dist/comp/md-form-entry.js +1 -1
  290. package/dist/comp/md-form.js +1 -1
  291. package/dist/comp/md-help-text-entry.js +1 -1
  292. package/dist/comp/md-icon-entry.js +1 -1
  293. package/dist/comp/md-inpu.js +1 -1
  294. package/dist/comp/md-input-entry.js +1 -1
  295. package/dist/comp/md-input-file.js +1 -1
  296. package/dist/comp/md-label-entry.js +1 -1
  297. package/dist/comp/md-link-entry.js +1 -1
  298. package/dist/comp/md-link.js +1 -1
  299. package/dist/comp/md-list-entry.js +1 -1
  300. package/dist/comp/md-list-item-entry.js +1 -1
  301. package/dist/comp/md-loading-entry.js +1 -1
  302. package/dist/comp/md-meeting-alert-entry.js +1 -1
  303. package/dist/comp/md-meeting-alert.js +1 -1
  304. package/dist/comp/md-menu-entry.js +1 -1
  305. package/dist/comp/md-menu-item-entry.js +1 -1
  306. package/dist/comp/md-menu-overlay-entry.js +1 -1
  307. package/dist/comp/md-menu.js +1 -1
  308. package/dist/comp/md-modal-entry.js +1 -1
  309. package/dist/comp/md-modal.js +1 -1
  310. package/dist/comp/md-pagination-entry.js +1 -1
  311. package/dist/comp/md-pagination.js +1 -1
  312. package/dist/comp/md-phone-input-entry.js +1 -1
  313. package/dist/comp/md-phone-input.js +2 -1
  314. package/dist/comp/md-progress-bar-entry.js +1 -1
  315. package/dist/comp/md-radio-entry.js +1 -1
  316. package/dist/comp/md-radio.js +1 -1
  317. package/dist/comp/md-radiogroup-entry.js +1 -1
  318. package/dist/comp/md-radiogroup.js +1 -1
  319. package/dist/comp/md-slider-entry.js +1 -1
  320. package/dist/comp/md-slider.js +1 -1
  321. package/dist/comp/md-spinner-entry.js +1 -1
  322. package/dist/comp/md-tab-entry.js +1 -1
  323. package/dist/comp/md-tab-panel-entry.js +1 -1
  324. package/dist/comp/md-tab-panel.js +1 -1
  325. package/dist/comp/md-table-advanced-entry.js +1 -1
  326. package/dist/comp/md-table-advanced.js +1 -1
  327. package/dist/comp/md-table-entry.js +1 -1
  328. package/dist/comp/md-table.js +1 -1
  329. package/dist/comp/md-tabs-entry.js +1 -1
  330. package/dist/comp/md-tabs.js +1 -1
  331. package/dist/comp/md-task-item-entry.js +1 -1
  332. package/dist/comp/md-task-item.js +1 -1
  333. package/dist/comp/md-theme-entry.js +1 -1
  334. package/dist/comp/md-theme.js +1 -1
  335. package/dist/comp/md-timepicker-entry.js +1 -1
  336. package/dist/comp/md-timepicker.js +1 -1
  337. package/dist/comp/md-toggle-switch-entry.js +1 -1
  338. package/dist/comp/md-toggle-switch.js +1 -1
  339. package/dist/comp/md-tooltip-entry.js +1 -1
  340. package/dist/index-entry.js +2 -2
  341. package/dist/index.js +29 -28
  342. package/dist/types/components/combobox/ComboBox.d.ts +2 -2
  343. package/package.json +1 -1
@@ -1,22 +1,39 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[55],{108:function(r,o,a){"use strict";a.r(o),a.d(o,"coachmarkPlacement",(function(){return _})),a.d(o,"Coachmark",(function(){return l}));var c=a(7),e=a(4),m=a(0),p=m.css`.md-coachmark{display:inline-flex;position:relative}.md-coachmark__popper{border-radius:.25rem;display:none;min-width:10.625rem;padding:.75rem;position:absolute;width:auto;z-index:1}.md-coachmark__popper .md-coachmark__arrow{height:0;position:absolute;width:0}.md-coachmark__popper--right{animation:coach-fade 1s,coach-slide-right .5s ease;left:calc(100% + 1rem);top:50%;transform:translateY(-50%)}.md-coachmark__popper--right .md-coachmark__arrow{border-bottom:.625rem solid transparent;border-top:.625rem solid transparent;left:-.625rem;top:50%;transform:translateY(-50%)}.md-coachmark__popper--left{animation:coach-fade 1s,coach-slide-left .5s ease;right:calc(100% + 1rem);top:50%;transform:translateY(-50%)}.md-coachmark__popper--left .md-coachmark__arrow{border-bottom:.625rem solid transparent;border-top:.625rem solid transparent;right:-.625rem;top:50%;transform:translateY(-50%)}.md-coachmark__popper--top{animation:coach-fade 1s,coach-slide-top .5s ease;bottom:calc(100% + .5rem);left:50%;transform:translateX(-50%)}.md-coachmark__popper--top .md-coachmark__arrow{border-left:.625rem solid transparent;border-right:.625rem solid transparent;bottom:-.625rem;left:50%;transform:translateX(-50%)}.md-coachmark__popper--bottom{animation:coach-fade 1s,coach-slide-bottom .5s ease;left:50%;top:calc(100% + .5rem);transform:translateX(-50%)}.md-coachmark__popper--bottom .md-coachmark__arrow{border-left:.625rem solid transparent;border-right:.625rem solid transparent;left:50%;top:-.625rem;transform:translateX(-50%)}.md-coachmark__popper--default{background:var(--coachmark-default-bg-color,#f7f7f7);color:var(-coachmark-default-text-color,#545454)}.md-coachmark__popper--default.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--default.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--default.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--default.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--blue{background:var(--coachmark-blue-bg-color,#c7eeff);color:var(--coachmark-blue-text-color,#08599c)}.md-coachmark__popper--blue.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--blue.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--blue.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--blue.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--green{background:var(--coachmark-green-bg-color,#78f5b8);color:var(--coachmark-green-text-color,#03612c)}.md-coachmark__popper--green.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--green.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--green.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--green.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--purple{background:var(--coachmark-purple-bg-color,#fce1fc);color:var(--coachmark-purple-text-color,#932099)}.md-coachmark__popper--purple.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--purple.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--purple.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--purple.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--violet{background:var(--coachmark-violet-bg-color,#f0e3fc);color:var(--coachmark-violet-text-color,#643abd)}.md-coachmark__popper--violet.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--violet.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--violet.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--violet.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--mint{background:var(--coachmark-mint-bg-color,#baf5e7);color:var(--coachmark-mint-text-color,#12615a)}.md-coachmark__popper--mint.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--mint.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--mint.md-coachmark__popper--top .md-coachmark__arrow{border-top:1 .625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--mint.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--darkmint{background:var(--coachmark-darkmint-bg-color,#16a693);color:var(--coachmark-darkmint-text-color,#f7f7f7)}.md-coachmark__popper--darkmint.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--darkmint.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--darkmint.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--darkmint.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--yellow{background:var(--coachmark-yellow-bg-color,#ffd98c);color:var(--coachmark-yellow-text-color,#7d4705)}.md-coachmark__popper--yellow.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--yellow.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--yellow.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--yellow.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--red{background:var(--coachmark-red-bg-color,#ffd5cc);color:var(--coachmark-red-text-color,#a12512)}.md-coachmark__popper--red.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--red.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--red.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--red.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--darkred{background:var(--coachmark-darkred-bg-color,#d4371c);color:var(--coachmark-darkred-text-color,#4a1812)}.md-coachmark__popper--darkred.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--darkred.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--darkred.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--darkred.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--orange{background:var(--coachmark-orange-bg-color,#fce4c7);color:var(--coachmark-orange-text-color,#914017)}.md-coachmark__popper--orange.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--orange.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--orange.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--orange.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--cyan{background:var(--coachmark-cyan-bg-color,#b2f4f7);color:var(--coachmark-cyan-text-color,#066070)}.md-coachmark__popper--cyan.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--cyan.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--cyan.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--cyan.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--outline{background:var(--coachmark-outline-color,#b2b2b2);color:var(--coachmark-outline-text-color,#949494)}.md-coachmark__popper--outline.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark__popper--outline.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark__popper--outline.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark__popper--outline.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark--active .md-coachmark__popper{display:block}@keyframes coach-fade{from{opacity:0}to{opacity:1}}@keyframes coach-slide-right{from{left:100%}to{left:calc(100% + 1rem)}}@keyframes coach-slide-top{from{bottom:100%}to{bottom:calc(100% + .5rem)}}@keyframes coach-slide-left{from{right:100%}to{right:calc(100% + 1rem)}}@keyframes coach-slide-bottom{from{top:100%}to{top:calc(100% + .5rem)}}`,t=a(5),d=a(3),h=(a(17),function(r,o,a,c){var e,m=arguments.length,p=m<3?o:null===c?c=Object.getOwnPropertyDescriptor(o,a):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(r,o,a,c);else for(var t=r.length-1;t>=0;t--)(e=r[t])&&(p=(m<3?e(p):m>3?e(o,a,p):e(o,a))||p);return m>3&&p&&Object.defineProperty(o,a,p),p});const _=["auto","left","right","top","bottom"];var l;!function(r){let o=class extends(Object(c.b)(m.LitElement)){constructor(){super(...arguments),this.message="",this.actionname="Next",this.hidebutton=!1,this.placement="auto",this.show=!1,this.color="default",this.slotContent=null}connectedCallback(){super.connectedCallback()}notifyCoachCreate(){this.dispatchEvent(new CustomEvent("coach-create",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}coachAction(){this.dispatchEvent(new CustomEvent("coach-action",{bubbles:!0,composed:!0,detail:{popper:this.popper}}))}handleSlotChange(r){const o=r.target;if(o){const r=o.assignedElements({flatten:!0});r.length&&(this.slotContent=r)}}update(r){super.update(r),r.has("show")&&this.show&&(this.setFocusableElements(),this.focusableElements&&this.focusableElements.length&&this.focusableElements[0].focus())}get coachWrapClassMap(){return{"md-coachmark--active":!!this.show}}get coachClassMap(){return{["md-coachmark__popper--"+this.placement]:!!this.placement,["md-coachmark__popper--"+this.color]:!!this.color}}static get styles(){return[e.a,p]}render(){return m.html`
2
- <div class="md-coachmark ${Object(d.classMap)(this.coachWrapClassMap)}">
3
- <div class="md-coachmark__popper ${Object(d.classMap)(this.coachClassMap)}" tabindex="0">
4
- <div class="md-coachmark__content" >
5
- ${this.message?this.message:m.html`
6
- <slot name="coachmark-content" @slotchange=${this.handleSlotChange}></slot>
7
- `}
8
- <div class="md-coachmark__action">
9
- ${this.hidebutton?m.html`<slot name="coachmark-action"></slot>`:m.html`<md-button @button-click=${this.coachAction}>${this.actionname}</md-button>`}
10
- </div>
11
- </div>
12
- <div id="arrow" class="md-coachmark__arrow" data-popper-arrow></div>
13
- </div>
14
- <div
15
- class="md-coachmark__reference"
16
- @click=${()=>this.notifyCoachCreate()}
17
- aria-describedby="coachmark"
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[55],{108:function(o,e,r){"use strict";r.r(e),r.d(e,"Chip",(function(){return c}));var c,a=r(1),t=r(4),l=r(5),d=r(0),i=r(2),g=r(3),b=(r(15),r(76),r(68),d.css`:focus{outline:0}.md-chip{border-radius:1.125rem;align-items:center;background-color:var(--md-secondary-bg-color,#f7f7f7);color:var(--md-primary-text-color,#121212);cursor:pointer;display:inline-flex;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;height:2rem;justify-content:space-between;line-height:1rem;margin-bottom:auto;max-width:12.5rem;overflow:auto;position:relative;text-align:center;text-decoration:none;white-space:nowrap;width:auto;padding:.25rem 1rem;font-size:.75rem}.md-chip--small{padding:.1875rem .75rem;font-size:.75rem;height:1.5rem;min-width:auto}.md-chip:focus{box-shadow:0 0 0 .0625rem var(--md-default-focus-outline-color,#005e7d)}.md-chip:hover{background-color:var(--md-tertiary-bg-color,#ededed)}.md-chip:active,.md-chip[aria-selected=true]{background-color:var(--md-quaternary-bg-color,#dedede)}.md-chip--blue,.md-chip--cobalt{background-color:var(--badge-blue-bg-color,#c7eeff);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:hover,.md-chip--cobalt:hover{background-color:var(--badge-blue-bg-color,#c7eeff);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:active,.md-chip--cobalt:active{background-color:var(--badge-blue-bg-color,#c7eeff);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:hover,.md-chip--cobalt:hover{background-color:var(--badge-blue-hover-bg-color,#9df);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:hover:hover,.md-chip--cobalt:hover:hover{background-color:var(--badge-blue-hover-bg-color,#9df);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:hover:active,.md-chip--cobalt:hover:active{background-color:var(--badge-blue-hover-bg-color,#9df);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:active,.md-chip--cobalt:active{background-color:var(--badge-blue-active-bg-color,#5ebff6);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:active:hover,.md-chip--cobalt:active:hover{background-color:var(--badge-blue-active-bg-color,#5ebff6);color:var(--badge-blue-text-color,#08599c)}.md-chip--blue:active:active,.md-chip--cobalt:active:active{background-color:var(--badge-blue-active-bg-color,#5ebff6);color:var(--badge-blue-text-color,#08599c)}.md-chip--gray{background-color:var(--badge-gray-bg-color,#dedede);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:hover{background-color:var(--badge-gray-bg-color,#dedede);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:active{background-color:var(--badge-gray-bg-color,#dedede);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:hover{background-color:var(--badge-gray-hover-bg-color,#ccc);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:hover:hover{background-color:var(--badge-gray-hover-bg-color,#ccc);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:hover:active{background-color:var(--badge-gray-hover-bg-color,#ccc);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:active{background-color:var(--badge-gray-active-bg-color,#ccc);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:active:hover{background-color:var(--badge-gray-active-bg-color,#ccc);color:var(--badge-gray-text-color,#121212)}.md-chip--gray:active:active{background-color:var(--badge-gray-active-bg-color,#ccc);color:var(--badge-gray-text-color,#121212)}.md-chip--mint{background-color:var(--badge-mint-bg-color,#baf5e7);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:hover{background-color:var(--badge-mint-bg-color,#baf5e7);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:active{background-color:var(--badge-mint-bg-color,#baf5e7);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:hover{background-color:var(--badge-mint-hover-bg-color,#74e8d1);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:hover:hover{background-color:var(--badge-mint-hover-bg-color,#74e8d1);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:hover:active{background-color:var(--badge-mint-hover-bg-color,#74e8d1);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:active{background-color:var(--badge-mint-active-bg-color,#30c9b0);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:active:hover{background-color:var(--badge-mint-active-bg-color,#30c9b0);color:var(--badge-mint-text-color,#12615a)}.md-chip--mint:active:active{background-color:var(--badge-mint-active-bg-color,#30c9b0);color:var(--badge-mint-text-color,#12615a)}.md-chip--darkmint{background-color:var(--badge-darkmint-bg-color,#16a693);color:var(--badge-darkmint-text-color,#f7f7f7)}.md-chip--darkmint:hover{background-color:var(--badge-darkmint-bg-color,#16a693);color:var(--badge-darkmint-text-color,#f7f7f7)}.md-chip--darkmint:active{background-color:var(--badge-darkmint-bg-color,#16a693);color:var(--badge-darkmint-text-color,#f7f7f7)}.md-chip--green{background-color:var(--badge-green-bg-color,#78f5b8);color:var(--badge-green-text-color,#03612c)}.md-chip--green:hover{background-color:var(--badge-green-bg-color,#78f5b8);color:var(--badge-green-text-color,#03612c)}.md-chip--green:active{background-color:var(--badge-green-bg-color,#78f5b8);color:var(--badge-green-text-color,#03612c)}.md-chip--yellow{background-color:var(--badge-yellow-bg-color,#ffd98c);color:var(--badge-yellow-text-color,#7d4705)}.md-chip--yellow:hover{background-color:var(--badge-yellow-bg-color,#ffd98c);color:var(--badge-yellow-text-color,#7d4705)}.md-chip--yellow:active{background-color:var(--badge-yellow-bg-color,#ffd98c);color:var(--badge-yellow-text-color,#7d4705)}.md-chip--red{background-color:var(--badge-red-bg-color,#ffd5cc);color:var(--badge-red-text-color,#a12512)}.md-chip--red:hover{background-color:var(--badge-red-bg-color,#ffd5cc);color:var(--badge-red-text-color,#a12512)}.md-chip--red:active{background-color:var(--badge-red-bg-color,#ffd5cc);color:var(--badge-red-text-color,#a12512)}.md-chip--orange{background-color:var(--badge-orange-bg-color,#fce4c7);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:hover{background-color:var(--badge-orange-bg-color,#fce4c7);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:active{background-color:var(--badge-orange-bg-color,#fce4c7);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:hover{background-color:var(--badge-orange-hover-bg-color,#ffca99);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:hover:hover{background-color:var(--badge-orange-hover-bg-color,#ffca99);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:hover:active{background-color:var(--badge-orange-hover-bg-color,#ffca99);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:active{background-color:var(--badge-orange-active-bg-color,#ff9d52);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:active:hover{background-color:var(--badge-orange-active-bg-color,#ff9d52);color:var(--badge-orange-text-color,#914017)}.md-chip--orange:active:active{background-color:var(--badge-orange-active-bg-color,#ff9d52);color:var(--badge-orange-text-color,#914017)}.md-chip--gold{background-color:var(--badge-gold-bg-color,#f5eaa2);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:hover{background-color:var(--badge-gold-bg-color,#f5eaa2);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:active{background-color:var(--badge-gold-bg-color,#f5eaa2);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:hover{background-color:var(--badge-gold-hover-bg-color,#ebd460);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:hover:hover{background-color:var(--badge-gold-hover-bg-color,#ebd460);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:hover:active{background-color:var(--badge-gold-hover-bg-color,#ebd460);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:active{background-color:var(--badge-gold-active-bg-color,#d6b220);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:active:hover{background-color:var(--badge-gold-active-bg-color,#d6b220);color:var(--badge-gold-text-color,#735107)}.md-chip--gold:active:active{background-color:var(--badge-gold-active-bg-color,#d6b220);color:var(--badge-gold-text-color,#735107)}.md-chip--lime{background-color:var(--badge-lime-bg-color,#ddf2ae);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:hover{background-color:var(--badge-lime-bg-color,#ddf2ae);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:active{background-color:var(--badge-lime-bg-color,#ddf2ae);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:hover{background-color:var(--badge-lime-hover-bg-color,#bce36f);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:hover:hover{background-color:var(--badge-lime-hover-bg-color,#bce36f);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:hover:active{background-color:var(--badge-lime-hover-bg-color,#bce36f);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:active{background-color:var(--badge-lime-active-bg-color,#93c437);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:active:hover{background-color:var(--badge-lime-active-bg-color,#93c437);color:var(--badge-lime-text-color,#416116)}.md-chip--lime:active:active{background-color:var(--badge-lime-active-bg-color,#93c437);color:var(--badge-lime-text-color,#416116)}.md-chip--pink{background-color:var(--badge-pink-bg-color,#ffe0e7);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:hover{background-color:var(--badge-pink-bg-color,#ffe0e7);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:active{background-color:var(--badge-pink-bg-color,#ffe0e7);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:hover{background-color:var(--badge-pink-hover-bg-color,#ffc7d2);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:hover:hover{background-color:var(--badge-pink-hover-bg-color,#ffc7d2);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:hover:active{background-color:var(--badge-pink-hover-bg-color,#ffc7d2);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:active{background-color:var(--badge-pink-active-bg-color,#fc97aa);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:active:hover{background-color:var(--badge-pink-active-bg-color,#fc97aa);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--pink:active:active{background-color:var(--badge-pink-active-bg-color,#fc97aa);color:var(--badge-pink-text-color,#a12a3a)}.md-chip--purple{background-color:var(--badge-purple-bg-color,#fce1fc);color:var(--badge-purple-text-color,#932099)}.md-chip--purple:hover{background-color:var(--badge-purple-bg-color,#fce1fc);color:var(--badge-purple-text-color,#932099)}.md-chip--purple:active{background-color:var(--badge-purple-bg-color,#fce1fc);color:var(--badge-purple-text-color,#932099)}.md-chip--violet{background-color:var(--badge-violet-bg-color,#f0e3fc);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:hover{background-color:var(--badge-violet-bg-color,#f0e3fc);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:active{background-color:var(--badge-violet-bg-color,#f0e3fc);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:hover{background-color:var(--badge-violet-hover-bg-color,#e2cafc);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:hover:hover{background-color:var(--badge-violet-hover-bg-color,#e2cafc);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:hover:active{background-color:var(--badge-violet-hover-bg-color,#e2cafc);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:active{background-color:var(--badge-violet-active-bg-color,#c7a5fa);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:active:hover{background-color:var(--badge-violet-active-bg-color,#c7a5fa);color:var(--badge-violet-text-color,#643abd)}.md-chip--violet:active:active{background-color:var(--badge-violet-active-bg-color,#c7a5fa);color:var(--badge-violet-text-color,#643abd)}.md-chip--cyan{background-color:var(--badge-cyan-bg-color,#b2f4f7);color:var(--badge-cyan-text-color,#066070)}.md-chip--cyan:hover{background-color:var(--badge-cyan-bg-color,#b2f4f7);color:var(--badge-cyan-text-color,#066070)}.md-chip--cyan:active{background-color:var(--badge-cyan-bg-color,#b2f4f7);color:var(--badge-cyan-text-color,#066070)}.md-chip .md-chip--clear{height:.875rem;right:.75rem;top:.75rem;width:.875rem;display:flow-root;margin-left:.625rem;margin-right:0}.md-chip .md-chip--clear::before{font-size:.875rem}.md-chip .md-chip--loading{left:0;overflow:hidden;position:absolute;top:-.125rem;width:100%}.md-chip .md-chip--textcontent{max-width:9.375rem}.md-chip md-icon{display:flex;margin-right:.625rem}.md-chip.md-chip--disabled{border-radius:1.125rem;align-items:center;background-color:var(--md-secondary-bg-color,#f7f7f7);color:var(--md-primary-text-color,#121212);cursor:pointer;display:inline-flex;font-family:"CiscoSansTT Regular","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;height:2rem;justify-content:space-between;line-height:1rem;margin-bottom:auto;max-width:12.5rem;overflow:auto;position:relative;text-align:center;text-decoration:none;white-space:nowrap;width:auto;color:var(--md-disabled-text-color,#b2b2b2);cursor:default}.md-chip.md-chip--disabled md-icon{color:var(--md-disabled-text-color,#b2b2b2)}::slotted(*){line-height:normal}::slotted([slot=custom-left-content]){margin-right:.625rem}::slotted([slot=custom-right-content]){margin-left:.625rem}`),n=function(o,e,r,c){var a,t=arguments.length,l=t<3?e:null===c?c=Object.getOwnPropertyDescriptor(e,r):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,e,r,c);else for(var d=o.length-1;d>=0;d--)(a=o[d])&&(l=(t<3?a(l):t>3?a(e,r,l):a(e,r))||l);return t>3&&l&&Object.defineProperty(e,r,l),l};!function(o){let e=class extends d.LitElement{constructor(){super(...arguments),this.color="",this.bgColor="",this.textColor="",this.height="",this.icon="",this.iconColor="",this.role="group",this.id="",this.small=!1,this.readonly=!1,this.selected=!1,this.disabled=!1,this.determinateProgress=0,this.indeterminateProgress=!1,this.value="",this.textOverflow=!1,this.renderedText="",this.MAX_LENGTH=18,this.PRE_TRUNC_CHARS=6,this.POST_TRUNC_CHARS=9,this.DOT_COUNT=3,this.selectionChange=o=>{this.dispatchEvent(new CustomEvent("chip-selected",{composed:!0,bubbles:!0,detail:{selected:o}}))},this.handleClear=o=>{this.dispatchEvent(new CustomEvent("chip-deleted",{composed:!0,bubbles:!0,detail:{id:o}}))},this.handleSelect=()=>{this.disabled||(this.selected=!0,this.selectionChange(!0))},this.handleDeSelect=()=>{this.selected=!1,this.selectionChange(!1)},this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:i.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:i.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:i.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?d.html`
2
+ <style>
3
+ :host .md-chip {
4
+ ${this.renderBgColor()};
5
+ ${this.renderTextColor()};
6
+ ${this.renderHeight()};
7
+ }
8
+ </style>
9
+ `:i.nothing}connectedCallback(){super.connectedCallback(),this.truncStringPortion(this.value),this.setAttribute("role",this.role)}updated(o){super.updated(o),this.truncStringPortion(this.value)}truncStringPortion(o,e=this.PRE_TRUNC_CHARS,r=this.POST_TRUNC_CHARS,c=this.DOT_COUNT){if(this.value.length>this.MAX_LENGTH){let a="";a+=o.substring(0,e),a+=".".repeat(c),a+=o.substring(o.length-r,o.length),this.renderedText=a,this.textOverflow=!0}else this.renderedText=this.value}handleClick(o){this.dispatchEvent(new CustomEvent("chip-interaction",{composed:!0,bubbles:!0,detail:{id:this.id}}))}handleKeydown(o){switch(o.code){case a.a.Space:case a.a.Enter:this.handleSelect(),this.handleClick(o)}}static get styles(){return[t.a,b]}loadingTemplate(){return this.determinateProgress||this.indeterminateProgress?this.determinateProgress?d.html`
10
+ <md-progress-bar
11
+ class="md-chip--loading"
12
+ type="determinate"
13
+ value="${this.determinateProgress}"
14
+ displayFormat="none"
15
+ >
16
+ </md-progress-bar>
17
+ `:d.html`
18
+ <md-progress-bar class="md-chip--loading" type="indeterminate" displayFormat="none"></md-progress-bar>
19
+ `:i.nothing}iconTemplate(){const o=this.disabled?"":this.iconColor;return this.icon?d.html`
20
+ <md-icon class="md-chip--icon" part="chip-icon" name="${this.icon}" color="${o}"></md-icon>
21
+ `:i.nothing}render(){const o={"md-chip--small":this.small,"md-chip--disabled":this.disabled,["md-chip--"+this.color]:this.color};return d.html`
22
+ ${this.getStyles()}
23
+ <md-tooltip ?disabled=${!this.textOverflow} message="${this.value}">
24
+ <span
25
+ tabindex="0"
26
+ class="md-chip ${Object(g.classMap)(o)}"
27
+ part="chip"
28
+ aria-selected=${this.selected}
29
+ aria-readonly=${this.readonly}
30
+ @click=${o=>{this.handleClick(o)}}
31
+ @keydown=${o=>{this.handleKeydown(o)}}
18
32
  >
19
- <slot></slot>
20
- </div>
21
- </div>
22
- `}};h([Object(m.property)({type:String})],o.prototype,"message",void 0),h([Object(m.property)({type:String})],o.prototype,"actionname",void 0),h([Object(m.property)({type:Boolean})],o.prototype,"hidebutton",void 0),h([Object(m.property)({type:String})],o.prototype,"placement",void 0),h([Object(m.property)({type:Boolean})],o.prototype,"show",void 0),h([Object(m.property)({type:String})],o.prototype,"color",void 0),h([Object(m.query)(".md-coachmark__popper")],o.prototype,"popper",void 0),h([Object(m.query)(".md-coachmark__reference")],o.prototype,"reference",void 0),o=h([Object(t.a)("md-coachmark")],o),r.ELEMENT=o}(l||(l={}))}}]);
33
+ ${this.loadingTemplate()} ${this.iconTemplate()}
34
+ <slot name="custom-left-content" part="chip-left"> </slot>
35
+ <span class="md-chip--textcontent"> ${this.renderedText}</span>
36
+ <slot name="custom-right-content" part="chip-right"> </slot>
37
+ </span>
38
+ </md-tooltip>
39
+ `}};n([Object(d.property)({type:String})],e.prototype,"color",void 0),n([Object(d.property)({type:String})],e.prototype,"bgColor",void 0),n([Object(d.property)({type:String})],e.prototype,"textColor",void 0),n([Object(d.property)({type:String})],e.prototype,"height",void 0),n([Object(d.property)({type:String})],e.prototype,"icon",void 0),n([Object(d.property)({type:String})],e.prototype,"iconColor",void 0),n([Object(d.property)({type:String})],e.prototype,"role",void 0),n([Object(d.property)({type:String,reflect:!0})],e.prototype,"id",void 0),n([Object(d.property)({type:Boolean})],e.prototype,"small",void 0),n([Object(d.property)({type:Boolean})],e.prototype,"readonly",void 0),n([Object(d.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),n([Object(d.property)({type:Boolean})],e.prototype,"disabled",void 0),n([Object(d.property)({type:Number})],e.prototype,"determinateProgress",void 0),n([Object(d.property)({type:Boolean})],e.prototype,"indeterminateProgress",void 0),n([Object(d.property)({type:String,hasChanged:(o,e)=>o!==e})],e.prototype,"value",void 0),n([Object(d.internalProperty)({hasChanged:(o,e)=>o!==e})],e.prototype,"textOverflow",void 0),n([Object(d.internalProperty)()],e.prototype,"renderedText",void 0),e=n([Object(l.a)("md-chip")],e),o.ELEMENT=e}(c||(c={}))}}]);
@@ -1,5 +1,22 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[56],{84:function(t,e,r){"use strict";r.r(e),r.d(e,"CompositeAvatar",(function(){return o}));var o,s=r(4),a=r(5),n=r(0),i=r(3),c=r(56),p=function(t,e,r,o){var s,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,o);else for(var i=t.length-1;i>=0;i--)(s=t[i])&&(n=(a<3?s(n):a>3?s(e,r,n):s(e,r))||n);return a>3&&n&&Object.defineProperty(e,r,n),n};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.size=0}static get styles(){return[s.a,c.a]}get avatarClassMap(){return{["md-composite-avatar--"+this.size]:!!this.size}}render(){return n.html`
2
- <div class="md-composite-avatar ${Object(i.classMap)(this.avatarClassMap)}">
3
- <slot></slot>
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[56],{109:function(r,o,a){"use strict";a.r(o),a.d(o,"coachmarkPlacement",(function(){return _})),a.d(o,"Coachmark",(function(){return l}));var c=a(7),e=a(4),m=a(0),p=m.css`.md-coachmark{display:inline-flex;position:relative}.md-coachmark__popper{border-radius:.25rem;display:none;min-width:10.625rem;padding:.75rem;position:absolute;width:auto;z-index:1}.md-coachmark__popper .md-coachmark__arrow{height:0;position:absolute;width:0}.md-coachmark__popper--right{animation:coach-fade 1s,coach-slide-right .5s ease;left:calc(100% + 1rem);top:50%;transform:translateY(-50%)}.md-coachmark__popper--right .md-coachmark__arrow{border-bottom:.625rem solid transparent;border-top:.625rem solid transparent;left:-.625rem;top:50%;transform:translateY(-50%)}.md-coachmark__popper--left{animation:coach-fade 1s,coach-slide-left .5s ease;right:calc(100% + 1rem);top:50%;transform:translateY(-50%)}.md-coachmark__popper--left .md-coachmark__arrow{border-bottom:.625rem solid transparent;border-top:.625rem solid transparent;right:-.625rem;top:50%;transform:translateY(-50%)}.md-coachmark__popper--top{animation:coach-fade 1s,coach-slide-top .5s ease;bottom:calc(100% + .5rem);left:50%;transform:translateX(-50%)}.md-coachmark__popper--top .md-coachmark__arrow{border-left:.625rem solid transparent;border-right:.625rem solid transparent;bottom:-.625rem;left:50%;transform:translateX(-50%)}.md-coachmark__popper--bottom{animation:coach-fade 1s,coach-slide-bottom .5s ease;left:50%;top:calc(100% + .5rem);transform:translateX(-50%)}.md-coachmark__popper--bottom .md-coachmark__arrow{border-left:.625rem solid transparent;border-right:.625rem solid transparent;left:50%;top:-.625rem;transform:translateX(-50%)}.md-coachmark__popper--default{background:var(--coachmark-default-bg-color,#f7f7f7);color:var(-coachmark-default-text-color,#545454)}.md-coachmark__popper--default.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--default.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--default.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--default.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-default-bg-color,#f7f7f7)}.md-coachmark__popper--blue{background:var(--coachmark-blue-bg-color,#c7eeff);color:var(--coachmark-blue-text-color,#08599c)}.md-coachmark__popper--blue.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--blue.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--blue.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--blue.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-blue-bg-color,#c7eeff)}.md-coachmark__popper--green{background:var(--coachmark-green-bg-color,#78f5b8);color:var(--coachmark-green-text-color,#03612c)}.md-coachmark__popper--green.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--green.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--green.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--green.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-green-bg-color,#78f5b8)}.md-coachmark__popper--purple{background:var(--coachmark-purple-bg-color,#fce1fc);color:var(--coachmark-purple-text-color,#932099)}.md-coachmark__popper--purple.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--purple.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--purple.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--purple.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-purple-bg-color,#fce1fc)}.md-coachmark__popper--violet{background:var(--coachmark-violet-bg-color,#f0e3fc);color:var(--coachmark-violet-text-color,#643abd)}.md-coachmark__popper--violet.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--violet.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--violet.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--violet.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-violet-bg-color,#f0e3fc)}.md-coachmark__popper--mint{background:var(--coachmark-mint-bg-color,#baf5e7);color:var(--coachmark-mint-text-color,#12615a)}.md-coachmark__popper--mint.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--mint.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--mint.md-coachmark__popper--top .md-coachmark__arrow{border-top:1 .625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--mint.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-mint-bg-color,#baf5e7)}.md-coachmark__popper--darkmint{background:var(--coachmark-darkmint-bg-color,#16a693);color:var(--coachmark-darkmint-text-color,#f7f7f7)}.md-coachmark__popper--darkmint.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--darkmint.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--darkmint.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--darkmint.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-darkmint-bg-color,#16a693)}.md-coachmark__popper--yellow{background:var(--coachmark-yellow-bg-color,#ffd98c);color:var(--coachmark-yellow-text-color,#7d4705)}.md-coachmark__popper--yellow.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--yellow.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--yellow.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--yellow.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-yellow-bg-color,#ffd98c)}.md-coachmark__popper--red{background:var(--coachmark-red-bg-color,#ffd5cc);color:var(--coachmark-red-text-color,#a12512)}.md-coachmark__popper--red.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--red.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--red.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--red.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-red-bg-color,#ffd5cc)}.md-coachmark__popper--darkred{background:var(--coachmark-darkred-bg-color,#d4371c);color:var(--coachmark-darkred-text-color,#4a1812)}.md-coachmark__popper--darkred.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--darkred.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--darkred.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--darkred.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-darkred-bg-color,#d4371c)}.md-coachmark__popper--orange{background:var(--coachmark-orange-bg-color,#fce4c7);color:var(--coachmark-orange-text-color,#914017)}.md-coachmark__popper--orange.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--orange.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--orange.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--orange.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-orange-bg-color,#fce4c7)}.md-coachmark__popper--cyan{background:var(--coachmark-cyan-bg-color,#b2f4f7);color:var(--coachmark-cyan-text-color,#066070)}.md-coachmark__popper--cyan.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--cyan.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--cyan.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--cyan.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-cyan-bg-color,#b2f4f7)}.md-coachmark__popper--outline{background:var(--coachmark-outline-color,#b2b2b2);color:var(--coachmark-outline-text-color,#949494)}.md-coachmark__popper--outline.md-coachmark__popper--left .md-coachmark__arrow{border-left:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark__popper--outline.md-coachmark__popper--right .md-coachmark__arrow{border-right:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark__popper--outline.md-coachmark__popper--top .md-coachmark__arrow{border-top:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark__popper--outline.md-coachmark__popper--bottom .md-coachmark__arrow{border-bottom:.625rem solid var(--coachmark-outline-color,#b2b2b2)}.md-coachmark--active .md-coachmark__popper{display:block}@keyframes coach-fade{from{opacity:0}to{opacity:1}}@keyframes coach-slide-right{from{left:100%}to{left:calc(100% + 1rem)}}@keyframes coach-slide-top{from{bottom:100%}to{bottom:calc(100% + .5rem)}}@keyframes coach-slide-left{from{right:100%}to{right:calc(100% + 1rem)}}@keyframes coach-slide-bottom{from{top:100%}to{top:calc(100% + .5rem)}}`,t=a(5),d=a(3),h=(a(17),function(r,o,a,c){var e,m=arguments.length,p=m<3?o:null===c?c=Object.getOwnPropertyDescriptor(o,a):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(r,o,a,c);else for(var t=r.length-1;t>=0;t--)(e=r[t])&&(p=(m<3?e(p):m>3?e(o,a,p):e(o,a))||p);return m>3&&p&&Object.defineProperty(o,a,p),p});const _=["auto","left","right","top","bottom"];var l;!function(r){let o=class extends(Object(c.b)(m.LitElement)){constructor(){super(...arguments),this.message="",this.actionname="Next",this.hidebutton=!1,this.placement="auto",this.show=!1,this.color="default",this.slotContent=null}connectedCallback(){super.connectedCallback()}notifyCoachCreate(){this.dispatchEvent(new CustomEvent("coach-create",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}coachAction(){this.dispatchEvent(new CustomEvent("coach-action",{bubbles:!0,composed:!0,detail:{popper:this.popper}}))}handleSlotChange(r){const o=r.target;if(o){const r=o.assignedElements({flatten:!0});r.length&&(this.slotContent=r)}}update(r){super.update(r),r.has("show")&&this.show&&(this.setFocusableElements(),this.focusableElements&&this.focusableElements.length&&this.focusableElements[0].focus())}get coachWrapClassMap(){return{"md-coachmark--active":!!this.show}}get coachClassMap(){return{["md-coachmark__popper--"+this.placement]:!!this.placement,["md-coachmark__popper--"+this.color]:!!this.color}}static get styles(){return[e.a,p]}render(){return m.html`
2
+ <div class="md-coachmark ${Object(d.classMap)(this.coachWrapClassMap)}">
3
+ <div class="md-coachmark__popper ${Object(d.classMap)(this.coachClassMap)}" tabindex="0">
4
+ <div class="md-coachmark__content" >
5
+ ${this.message?this.message:m.html`
6
+ <slot name="coachmark-content" @slotchange=${this.handleSlotChange}></slot>
7
+ `}
8
+ <div class="md-coachmark__action">
9
+ ${this.hidebutton?m.html`<slot name="coachmark-action"></slot>`:m.html`<md-button @button-click=${this.coachAction}>${this.actionname}</md-button>`}
10
+ </div>
11
+ </div>
12
+ <div id="arrow" class="md-coachmark__arrow" data-popper-arrow></div>
13
+ </div>
14
+ <div
15
+ class="md-coachmark__reference"
16
+ @click=${()=>this.notifyCoachCreate()}
17
+ aria-describedby="coachmark"
18
+ >
19
+ <slot></slot>
20
+ </div>
4
21
  </div>
5
- `}};p([Object(n.property)({type:Number})],e.prototype,"size",void 0),e=p([Object(a.a)("md-composite-avatar")],e),t.ELEMENT=e}(o||(o={}))}}]);
22
+ `}};h([Object(m.property)({type:String})],o.prototype,"message",void 0),h([Object(m.property)({type:String})],o.prototype,"actionname",void 0),h([Object(m.property)({type:Boolean})],o.prototype,"hidebutton",void 0),h([Object(m.property)({type:String})],o.prototype,"placement",void 0),h([Object(m.property)({type:Boolean})],o.prototype,"show",void 0),h([Object(m.property)({type:String})],o.prototype,"color",void 0),h([Object(m.query)(".md-coachmark__popper")],o.prototype,"popper",void 0),h([Object(m.query)(".md-coachmark__reference")],o.prototype,"reference",void 0),o=h([Object(t.a)("md-coachmark")],o),r.ELEMENT=o}(l||(l={}))}}]);
@@ -1 +1,5 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[57],{88:function(t,e,a){"use strict";a.r(e),a.d(e,"DateRangePicker",(function(){return s}));var s,i=a(5),n=a(0),r=a(12),o=a(40),l=function(t,e,a,s){var i,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,s);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(r=(n<3?i(r):n>3?i(e,a,r):i(e,a))||r);return n>3&&r&&Object.defineProperty(e,a,r),r};!function(t){let e=class extends o.DatePicker.ELEMENT{constructor(){super(...arguments),this.startDate=void 0,this.endDate=void 0,this.updateValue=()=>{this.startDate&&this.endDate&&(this.value=`${this.sqlDateToSlashes(this.startDate)} - ${this.sqlDateToSlashes(this.endDate)}`)},this.handleDateSelection=t=>{const e=t.detail.data;if(this.startDate&&this.endDate){const t=r.DateTime.fromSQL(this.startDate),a=r.DateTime.fromSQL(this.endDate);e<t||e>a?e<t?this.startDate=this.dateToSqlTranslate(e):this.endDate=this.dateToSqlTranslate(e):Math.abs(e-a)<Math.abs(e-t)?this.endDate=this.dateToSqlTranslate(e):this.startDate=this.dateToSqlTranslate(e)}else if(this.startDate){e>r.DateTime.fromSQL(this.startDate)?this.endDate=this.dateToSqlTranslate(e):(this.endDate=this.startDate,this.startDate=this.dateToSqlTranslate(e))}else this.startDate=this.dateToSqlTranslate(t.detail.data);this.updateValue()}}connectedCallback(){super.connectedCallback(),super.render(),this.addEventListener("date-selection-change",t=>this.handleDateSelection(t))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("date-selection-change",()=>{})}dateToSqlTranslate(t){return t.toSQLDate()}sqlDateToSlashes(t){return t.replace(/-+/g,"/")}};l([Object(n.property)({type:String,attribute:"start-date",reflect:!0})],e.prototype,"startDate",void 0),l([Object(n.property)({type:String,attribute:"end-date",reflect:!0})],e.prototype,"endDate",void 0),e=l([Object(i.a)("md-date-range-picker")],e),t.ELEMENT=e}(s||(s={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[57],{84:function(t,e,r){"use strict";r.r(e),r.d(e,"CompositeAvatar",(function(){return o}));var o,s=r(4),a=r(5),n=r(0),i=r(3),c=r(56),p=function(t,e,r,o){var s,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,o);else for(var i=t.length-1;i>=0;i--)(s=t[i])&&(n=(a<3?s(n):a>3?s(e,r,n):s(e,r))||n);return a>3&&n&&Object.defineProperty(e,r,n),n};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.size=0}static get styles(){return[s.a,c.a]}get avatarClassMap(){return{["md-composite-avatar--"+this.size]:!!this.size}}render(){return n.html`
2
+ <div class="md-composite-avatar ${Object(i.classMap)(this.avatarClassMap)}">
3
+ <slot></slot>
4
+ </div>
5
+ `}};p([Object(n.property)({type:Number})],e.prototype,"size",void 0),e=p([Object(a.a)("md-composite-avatar")],e),t.ELEMENT=e}(o||(o={}))}}]);
@@ -1,22 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[58],{109:function(e,t,i){"use strict";i.r(t),i.d(t,"DateTimePicker",(function(){return a}));i(24),i(32);var a,o=i(1),r=i(8),l=i(4),s=i(5),d=i(0),n=i(6),c=i(12),u=d.css`.included-timepicker-wrapper{border-top:1px solid var(--md-primary-seperator-color);display:flex;justify-content:center;padding:1rem 0;white-space:nowrap}`,p=function(e,t,i,a){var o,r=arguments.length,l=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(l=(r<3?o(l):r>3?o(t,i,l):o(t,i))||l);return r>3&&l&&Object.defineProperty(t,i,l),l},h=function(e,t,i,a){return new(i||(i=Promise))((function(o,r){function l(e){try{d(a.next(e))}catch(e){r(e)}}function s(e){try{d(a.throw(e))}catch(e){r(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(l,s)}d((a=a.apply(e,t||[])).next())}))};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends d.LitElement{constructor(){super(...arguments),this.maxDate=void 0,this.minDate=void 0,this.weekStart="Sunday",this.twoDigitAutoTab=!1,this.twentyFourHourFormat=!1,this.timeSpecificity=o.b.SECOND,this.dateValue=void 0,this.timeValue="00:00:00-08:00",this.value=void 0,this.locale="en-US",this.disabled=!1,this.fullDateTime=void 0,this.selectedTimeObject=void 0,this.selectedDateObject=Object(r.n)(),this.firstCycle=!0,this.handleDateChange=e=>{var t,i;this.selectedDateObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.dateValue=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate(),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleTimeChange=e=>{var t,i;this.selectedTimeObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.timeValue=null===(i=this.selectedTimeObject)||void 0===i?void 0:i.startOf("second").toISOTime({suppressMilliseconds:!0}),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleDateTimeInputChange=e=>{var t,i;(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.value)&&(this.value=null===(i=null==e?void 0:e.detail)||void 0===i?void 0:i.value)},this.parseValueForVisuals=e=>{e&&(this.dateValue=e.split("T")[0],this.timeValue=e.split("T")[1])},this.updateDateTimeObject=()=>{this.value&&(this.fullDateTime=c.DateTime.fromISO(this.value,{locale:this.locale}),this.dispatchEvent(new CustomEvent("date-time-change",{bubbles:!0,composed:!0,detail:{dateTimeString:this.value,dateTime:this.fullDateTime,locale:this.locale,twentyFourHourFormat:this.twentyFourHourFormat}})))},this.combineDateAndTimeValues=(e,t)=>{e&&(this.value=t?`${e}T${t}`:e)}}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});var i;return h(this,void 0,void 0,(function*(){if(t.firstUpdated.call(this,e),!this.value){const e=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate();this.combineDateAndTimeValues(e,this.timeValue)}yield new Promise(e=>setTimeout(e,0)),this.datePicker&&(this.datePicker.addEventListener("date-selection-change",this.handleDateChange),this.datePicker.addEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.addEventListener("time-selection-change",this.handleTimeChange)}))}updated(e){super.updated(e),this.value&&e.has("value")&&(this.parseValueForVisuals(this.value),this.firstCycle?this.firstCycle=!1:this.updateDateTimeObject()),this.dateValue&&this.timeValue&&(e.has("timeValue")||e.has("dateValue"))&&this.combineDateAndTimeValues(this.dateValue,this.timeValue),this.value&&e.has("locale")&&(this.fullDateTime=c.DateTime.fromISO(this.value,{locale:this.locale}))}static get styles(){return[l.a,u]}render(){return d.html`
2
- <md-datepicker
3
- includes-time
4
- ?disabled=${this.disabled}
5
- minDate=${Object(n.ifDefined)(this.minDate)}
6
- maxDate=${Object(n.ifDefined)(this.maxDate)}
7
- value=${Object(n.ifDefined)(this.value)}
8
- weekStart=${this.weekStart}
9
- placeholder="YYYY-MM-DDTHH:MM:SS-HH:MM"
10
- locale=${Object(n.ifDefined)(this.locale)}>
11
- <div slot="time-picker" class="included-timepicker-wrapper">
12
- <md-timepicker
13
- ?two-digit-auto-tab=${this.twoDigitAutoTab}
14
- ?twenty-four-hour-format=${this.twentyFourHourFormat}
15
- timeSpecificity=${this.timeSpecificity}
16
- locale=${this.locale}
17
- value=${this.timeValue}>
18
- </md-timepicker>
19
- </div>
20
- </md-datepicker>
21
- </div>
22
- `}};p([Object(d.property)({type:String})],t.prototype,"maxDate",void 0),p([Object(d.property)({type:String})],t.prototype,"minDate",void 0),p([Object(d.property)({type:String})],t.prototype,"weekStart",void 0),p([Object(d.property)({type:Boolean,attribute:"two-digit-auto-tab"})],t.prototype,"twoDigitAutoTab",void 0),p([Object(d.property)({type:Boolean,attribute:"twenty-four-hour-format"})],t.prototype,"twentyFourHourFormat",void 0),p([Object(d.property)({type:String})],t.prototype,"timeSpecificity",void 0),p([Object(d.property)({type:String,attribute:"date-value"})],t.prototype,"dateValue",void 0),p([Object(d.property)({type:String,attribute:"time-value"})],t.prototype,"timeValue",void 0),p([Object(d.property)({type:String,reflect:!0})],t.prototype,"value",void 0),p([Object(d.property)({type:String})],t.prototype,"locale",void 0),p([Object(d.property)({type:Boolean})],t.prototype,"disabled",void 0),p([Object(d.internalProperty)()],t.prototype,"fullDateTime",void 0),p([Object(d.internalProperty)()],t.prototype,"selectedTimeObject",void 0),p([Object(d.internalProperty)()],t.prototype,"selectedDateObject",void 0),p([Object(d.query)("md-datepicker")],t.prototype,"datePicker",void 0),p([Object(d.query)("md-timepicker")],t.prototype,"timePicker",void 0),t=p([Object(s.a)("md-date-time-picker")],t),e.ELEMENT=t}(a||(a={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[58],{89:function(t,e,a){"use strict";a.r(e),a.d(e,"DateRangePicker",(function(){return s}));var s,i=a(5),n=a(0),r=a(12),o=a(40),l=function(t,e,a,s){var i,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,s);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(r=(n<3?i(r):n>3?i(e,a,r):i(e,a))||r);return n>3&&r&&Object.defineProperty(e,a,r),r};!function(t){let e=class extends o.DatePicker.ELEMENT{constructor(){super(...arguments),this.startDate=void 0,this.endDate=void 0,this.updateValue=()=>{this.startDate&&this.endDate&&(this.value=`${this.sqlDateToSlashes(this.startDate)} - ${this.sqlDateToSlashes(this.endDate)}`)},this.handleDateSelection=t=>{const e=t.detail.data;if(this.startDate&&this.endDate){const t=r.DateTime.fromSQL(this.startDate),a=r.DateTime.fromSQL(this.endDate);e<t||e>a?e<t?this.startDate=this.dateToSqlTranslate(e):this.endDate=this.dateToSqlTranslate(e):Math.abs(e-a)<Math.abs(e-t)?this.endDate=this.dateToSqlTranslate(e):this.startDate=this.dateToSqlTranslate(e)}else if(this.startDate){e>r.DateTime.fromSQL(this.startDate)?this.endDate=this.dateToSqlTranslate(e):(this.endDate=this.startDate,this.startDate=this.dateToSqlTranslate(e))}else this.startDate=this.dateToSqlTranslate(t.detail.data);this.updateValue()}}connectedCallback(){super.connectedCallback(),super.render(),this.addEventListener("date-selection-change",t=>this.handleDateSelection(t))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("date-selection-change",()=>{})}dateToSqlTranslate(t){return t.toSQLDate()}sqlDateToSlashes(t){return t.replace(/-+/g,"/")}};l([Object(n.property)({type:String,attribute:"start-date",reflect:!0})],e.prototype,"startDate",void 0),l([Object(n.property)({type:String,attribute:"end-date",reflect:!0})],e.prototype,"endDate",void 0),e=l([Object(i.a)("md-date-range-picker")],e),t.ELEMENT=e}(s||(s={}))}}]);
@@ -1,5 +1,22 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[59],{89:function(t,e,a){"use strict";a.r(e),a.d(e,"Draggable",(function(){return o}));var o,s=a(0),r=a(30),i=a.n(r),n=a(4),l=a(60),h=a(18),p=a(7),d=function(t,e,a,o){var s,r=arguments.length,i=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,a,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(i=(r<3?s(i):r>3?s(e,a,i):s(e,a))||i);return r>3&&i&&Object.defineProperty(e,a,i),i};!function(t){let e=class extends(Object(p.e)(s.LitElement)){constructor(){super(...arguments),this.delay=0,this.animation=0,this.handle="",this.filter="",this.easing="",this.direction="vertical",this.group=null,this.draggableItems="md-draggable-item",this.ghostClass="",this.chosenClass="",this.dragClass="",this.fallbackClass="",this.swapThreshold=1,this.touchStartThreshold=0,this.forceFallback=!1,this.sort=!1,this.disabled=!1,this.editable=!1,this.sortableInstance=null,this.handleOnChange=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-change",t)},this.handleOnClone=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-clone",t)},this.handleOnUnchoose=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-unchoose",t)},this.handleOnRemove=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-remove",t)},this.handleOnAdd=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-add",t)},this.handleOnChoose=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-choose",t)},this.handleOnEnd=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-end",t)},this.handleOnMove=Object(h.b)(t=>{t.stopPropagation(),this.dispatchDragEvent("drag-move",t)},100),this.handleOnStart=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-start",t)}}static get styles(){return[n.a,l.a]}get slotElement(){return this.draggableSlot}generateOptions(){return Object.assign(Object.assign({},this.group&&{group:this.group}),{disabled:this.disabled,animation:this.animation,sort:this.sort,delay:this.delay,handle:this.handle,easing:this.easing,filter:this.filter,swapThreshold:this.swapThreshold,touchStartThreshold:this.touchStartThreshold,draggable:this.draggableItems,direction:this.direction,ghostClass:this.ghostClass,chosenClass:this.chosenClass,dragClass:this.dragClass,fallbackClass:this.fallbackClass,forceFallback:this.forceFallback,onStart:this.handleOnStart,onMove:this.handleOnMove,onEnd:this.handleOnEnd,onChoose:this.handleOnChoose,onAdd:this.handleOnAdd,onRemove:this.handleOnRemove,onUnchoose:this.handleOnUnchoose,onClone:this.handleOnClone,onChange:this.handleOnChange})}initializeSortable(){this.sortableInstance||(this.sortableInstance=i.a.create(this,this.generateOptions()))}dispatchDragEvent(t,e){this.dispatchEvent(new CustomEvent(t,{composed:!0,bubbles:!0,detail:{srcEvent:e}}))}cleanupSortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}connectedCallback(){super.connectedCallback(),this.initializeSortable()}disconnectedCallback(){super.disconnectedCallback(),this.cleanupSortable()}setSortableOption(t,e){this.sortableInstance&&void 0!==this.sortableInstance.option(t)&&this.sortableInstance.option(t,e)}updateSortableInstance(t){for(const e of t.keys()){const t=this[e];this.setSortableOption(e,t)}}updated(t){super.updated(t),this.updateSortableInstance(t)}slottedChanged(){this.initializeSortable()}render(){return s.html`
2
- <div class="md-draggable" part="draggable" aria-disabled=${this.disabled}>
3
- <slot name="draggable-item"></slot>
4
- </div>
5
- `}};d([Object(s.property)({type:Number})],e.prototype,"delay",void 0),d([Object(s.property)({type:Number})],e.prototype,"animation",void 0),d([Object(s.property)({type:String})],e.prototype,"handle",void 0),d([Object(s.property)({type:String})],e.prototype,"filter",void 0),d([Object(s.property)({type:String})],e.prototype,"easing",void 0),d([Object(s.property)({type:String})],e.prototype,"direction",void 0),d([Object(s.property)({type:Object})],e.prototype,"group",void 0),d([Object(s.property)({type:String,attribute:"draggable-items"})],e.prototype,"draggableItems",void 0),d([Object(s.property)({type:String,attribute:"ghost-class"})],e.prototype,"ghostClass",void 0),d([Object(s.property)({type:String,attribute:"chosen-class"})],e.prototype,"chosenClass",void 0),d([Object(s.property)({type:String,attribute:"drag-class"})],e.prototype,"dragClass",void 0),d([Object(s.property)({type:String,attribute:"fallback-class"})],e.prototype,"fallbackClass",void 0),d([Object(s.property)({type:Number,attribute:"swap-threshold"})],e.prototype,"swapThreshold",void 0),d([Object(s.property)({type:Number,attribute:"touch-start-threshold"})],e.prototype,"touchStartThreshold",void 0),d([Object(s.property)({type:Boolean,attribute:"force-fallback"})],e.prototype,"forceFallback",void 0),d([Object(s.property)({type:Boolean,reflect:!0})],e.prototype,"sort",void 0),d([Object(s.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),d([Object(s.property)({type:Boolean,reflect:!0})],e.prototype,"editable",void 0),d([Object(s.query)("slot[name='draggable-item']")],e.prototype,"draggableSlot",void 0),e=d([Object(p.f)("md-draggable")],e),t.ELEMENT=e}(o||(o={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[59],{110:function(e,t,i){"use strict";i.r(t),i.d(t,"DateTimePicker",(function(){return a}));i(24),i(32);var a,o=i(1),r=i(8),l=i(4),s=i(5),d=i(0),n=i(6),c=i(12),u=d.css`.included-timepicker-wrapper{border-top:1px solid var(--md-primary-seperator-color);display:flex;justify-content:center;padding:1rem 0;white-space:nowrap}`,p=function(e,t,i,a){var o,r=arguments.length,l=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(l=(r<3?o(l):r>3?o(t,i,l):o(t,i))||l);return r>3&&l&&Object.defineProperty(t,i,l),l},h=function(e,t,i,a){return new(i||(i=Promise))((function(o,r){function l(e){try{d(a.next(e))}catch(e){r(e)}}function s(e){try{d(a.throw(e))}catch(e){r(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(l,s)}d((a=a.apply(e,t||[])).next())}))};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends d.LitElement{constructor(){super(...arguments),this.maxDate=void 0,this.minDate=void 0,this.weekStart="Sunday",this.twoDigitAutoTab=!1,this.twentyFourHourFormat=!1,this.timeSpecificity=o.b.SECOND,this.dateValue=void 0,this.timeValue="00:00:00-08:00",this.value=void 0,this.locale="en-US",this.disabled=!1,this.fullDateTime=void 0,this.selectedTimeObject=void 0,this.selectedDateObject=Object(r.n)(),this.firstCycle=!0,this.handleDateChange=e=>{var t,i;this.selectedDateObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.dateValue=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate(),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleTimeChange=e=>{var t,i;this.selectedTimeObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.timeValue=null===(i=this.selectedTimeObject)||void 0===i?void 0:i.startOf("second").toISOTime({suppressMilliseconds:!0}),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleDateTimeInputChange=e=>{var t,i;(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.value)&&(this.value=null===(i=null==e?void 0:e.detail)||void 0===i?void 0:i.value)},this.parseValueForVisuals=e=>{e&&(this.dateValue=e.split("T")[0],this.timeValue=e.split("T")[1])},this.updateDateTimeObject=()=>{this.value&&(this.fullDateTime=c.DateTime.fromISO(this.value,{locale:this.locale}),this.dispatchEvent(new CustomEvent("date-time-change",{bubbles:!0,composed:!0,detail:{dateTimeString:this.value,dateTime:this.fullDateTime,locale:this.locale,twentyFourHourFormat:this.twentyFourHourFormat}})))},this.combineDateAndTimeValues=(e,t)=>{e&&(this.value=t?`${e}T${t}`:e)}}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});var i;return h(this,void 0,void 0,(function*(){if(t.firstUpdated.call(this,e),!this.value){const e=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate();this.combineDateAndTimeValues(e,this.timeValue)}yield new Promise(e=>setTimeout(e,0)),this.datePicker&&(this.datePicker.addEventListener("date-selection-change",this.handleDateChange),this.datePicker.addEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.addEventListener("time-selection-change",this.handleTimeChange)}))}updated(e){super.updated(e),this.value&&e.has("value")&&(this.parseValueForVisuals(this.value),this.firstCycle?this.firstCycle=!1:this.updateDateTimeObject()),this.dateValue&&this.timeValue&&(e.has("timeValue")||e.has("dateValue"))&&this.combineDateAndTimeValues(this.dateValue,this.timeValue),this.value&&e.has("locale")&&(this.fullDateTime=c.DateTime.fromISO(this.value,{locale:this.locale}))}static get styles(){return[l.a,u]}render(){return d.html`
2
+ <md-datepicker
3
+ includes-time
4
+ ?disabled=${this.disabled}
5
+ minDate=${Object(n.ifDefined)(this.minDate)}
6
+ maxDate=${Object(n.ifDefined)(this.maxDate)}
7
+ value=${Object(n.ifDefined)(this.value)}
8
+ weekStart=${this.weekStart}
9
+ placeholder="YYYY-MM-DDTHH:MM:SS-HH:MM"
10
+ locale=${Object(n.ifDefined)(this.locale)}>
11
+ <div slot="time-picker" class="included-timepicker-wrapper">
12
+ <md-timepicker
13
+ ?two-digit-auto-tab=${this.twoDigitAutoTab}
14
+ ?twenty-four-hour-format=${this.twentyFourHourFormat}
15
+ timeSpecificity=${this.timeSpecificity}
16
+ locale=${this.locale}
17
+ value=${this.timeValue}>
18
+ </md-timepicker>
19
+ </div>
20
+ </md-datepicker>
21
+ </div>
22
+ `}};p([Object(d.property)({type:String})],t.prototype,"maxDate",void 0),p([Object(d.property)({type:String})],t.prototype,"minDate",void 0),p([Object(d.property)({type:String})],t.prototype,"weekStart",void 0),p([Object(d.property)({type:Boolean,attribute:"two-digit-auto-tab"})],t.prototype,"twoDigitAutoTab",void 0),p([Object(d.property)({type:Boolean,attribute:"twenty-four-hour-format"})],t.prototype,"twentyFourHourFormat",void 0),p([Object(d.property)({type:String})],t.prototype,"timeSpecificity",void 0),p([Object(d.property)({type:String,attribute:"date-value"})],t.prototype,"dateValue",void 0),p([Object(d.property)({type:String,attribute:"time-value"})],t.prototype,"timeValue",void 0),p([Object(d.property)({type:String,reflect:!0})],t.prototype,"value",void 0),p([Object(d.property)({type:String})],t.prototype,"locale",void 0),p([Object(d.property)({type:Boolean})],t.prototype,"disabled",void 0),p([Object(d.internalProperty)()],t.prototype,"fullDateTime",void 0),p([Object(d.internalProperty)()],t.prototype,"selectedTimeObject",void 0),p([Object(d.internalProperty)()],t.prototype,"selectedDateObject",void 0),p([Object(d.query)("md-datepicker")],t.prototype,"datePicker",void 0),p([Object(d.query)("md-timepicker")],t.prototype,"timePicker",void 0),t=p([Object(s.a)("md-date-time-picker")],t),e.ELEMENT=t}(a||(a={}))}}]);
@@ -1,15 +1,5 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[60],{90:function(e,t,d){"use strict";d.r(t),d.d(t,"DraggableItem",(function(){return n}));var n,o=d(0),r=d(5),a=d(7),i=d(4),l=d(60),s=d(2),c=d(3),p=function(e,t,d,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,d):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(r<3?o(a):r>3?o(t,d,a):o(t,d))||a);return r>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends(Object(a.a)(o.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.extended=!1,this.editable=!1}static get styles(){return[i.a,l.a]}get draggableItemClassMap(){return{extended:this.extended,default:!this.extended,disabled:this.disabled}}render(){return o.html`
2
- <div
3
- class="md-draggable-item ${Object(c.classMap)(this.draggableItemClassMap)}"
4
- part="draggable-item"
5
- aria-disabled=${this.disabled}
6
- >
7
- ${this.extended&&this.editable?o.html`
8
- <md-icon name="panel-control-dragger_16"></md-icon>
9
- `:s.nothing}
10
- <slot></slot>
11
- ${this.extended?o.html`
12
- <slot name="extended"></slot>
13
- `:s.nothing}
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[60],{90:function(t,e,a){"use strict";a.r(e),a.d(e,"Draggable",(function(){return o}));var o,s=a(0),r=a(30),i=a.n(r),n=a(4),l=a(60),h=a(18),p=a(7),d=function(t,e,a,o){var s,r=arguments.length,i=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,a,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(i=(r<3?s(i):r>3?s(e,a,i):s(e,a))||i);return r>3&&i&&Object.defineProperty(e,a,i),i};!function(t){let e=class extends(Object(p.e)(s.LitElement)){constructor(){super(...arguments),this.delay=0,this.animation=0,this.handle="",this.filter="",this.easing="",this.direction="vertical",this.group=null,this.draggableItems="md-draggable-item",this.ghostClass="",this.chosenClass="",this.dragClass="",this.fallbackClass="",this.swapThreshold=1,this.touchStartThreshold=0,this.forceFallback=!1,this.sort=!1,this.disabled=!1,this.editable=!1,this.sortableInstance=null,this.handleOnChange=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-change",t)},this.handleOnClone=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-clone",t)},this.handleOnUnchoose=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-unchoose",t)},this.handleOnRemove=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-remove",t)},this.handleOnAdd=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-add",t)},this.handleOnChoose=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-choose",t)},this.handleOnEnd=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-end",t)},this.handleOnMove=Object(h.b)(t=>{t.stopPropagation(),this.dispatchDragEvent("drag-move",t)},100),this.handleOnStart=t=>{t.stopPropagation(),this.dispatchDragEvent("drag-start",t)}}static get styles(){return[n.a,l.a]}get slotElement(){return this.draggableSlot}generateOptions(){return Object.assign(Object.assign({},this.group&&{group:this.group}),{disabled:this.disabled,animation:this.animation,sort:this.sort,delay:this.delay,handle:this.handle,easing:this.easing,filter:this.filter,swapThreshold:this.swapThreshold,touchStartThreshold:this.touchStartThreshold,draggable:this.draggableItems,direction:this.direction,ghostClass:this.ghostClass,chosenClass:this.chosenClass,dragClass:this.dragClass,fallbackClass:this.fallbackClass,forceFallback:this.forceFallback,onStart:this.handleOnStart,onMove:this.handleOnMove,onEnd:this.handleOnEnd,onChoose:this.handleOnChoose,onAdd:this.handleOnAdd,onRemove:this.handleOnRemove,onUnchoose:this.handleOnUnchoose,onClone:this.handleOnClone,onChange:this.handleOnChange})}initializeSortable(){this.sortableInstance||(this.sortableInstance=i.a.create(this,this.generateOptions()))}dispatchDragEvent(t,e){this.dispatchEvent(new CustomEvent(t,{composed:!0,bubbles:!0,detail:{srcEvent:e}}))}cleanupSortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}connectedCallback(){super.connectedCallback(),this.initializeSortable()}disconnectedCallback(){super.disconnectedCallback(),this.cleanupSortable()}setSortableOption(t,e){this.sortableInstance&&void 0!==this.sortableInstance.option(t)&&this.sortableInstance.option(t,e)}updateSortableInstance(t){for(const e of t.keys()){const t=this[e];this.setSortableOption(e,t)}}updated(t){super.updated(t),this.updateSortableInstance(t)}slottedChanged(){this.initializeSortable()}render(){return s.html`
2
+ <div class="md-draggable" part="draggable" aria-disabled=${this.disabled}>
3
+ <slot name="draggable-item"></slot>
14
4
  </div>
15
- `}};p([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"extended",void 0),p([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"editable",void 0),t=p([Object(r.a)("md-draggable-item")],t),e.ELEMENT=t}(n||(n={}))}}]);
5
+ `}};d([Object(s.property)({type:Number})],e.prototype,"delay",void 0),d([Object(s.property)({type:Number})],e.prototype,"animation",void 0),d([Object(s.property)({type:String})],e.prototype,"handle",void 0),d([Object(s.property)({type:String})],e.prototype,"filter",void 0),d([Object(s.property)({type:String})],e.prototype,"easing",void 0),d([Object(s.property)({type:String})],e.prototype,"direction",void 0),d([Object(s.property)({type:Object})],e.prototype,"group",void 0),d([Object(s.property)({type:String,attribute:"draggable-items"})],e.prototype,"draggableItems",void 0),d([Object(s.property)({type:String,attribute:"ghost-class"})],e.prototype,"ghostClass",void 0),d([Object(s.property)({type:String,attribute:"chosen-class"})],e.prototype,"chosenClass",void 0),d([Object(s.property)({type:String,attribute:"drag-class"})],e.prototype,"dragClass",void 0),d([Object(s.property)({type:String,attribute:"fallback-class"})],e.prototype,"fallbackClass",void 0),d([Object(s.property)({type:Number,attribute:"swap-threshold"})],e.prototype,"swapThreshold",void 0),d([Object(s.property)({type:Number,attribute:"touch-start-threshold"})],e.prototype,"touchStartThreshold",void 0),d([Object(s.property)({type:Boolean,attribute:"force-fallback"})],e.prototype,"forceFallback",void 0),d([Object(s.property)({type:Boolean,reflect:!0})],e.prototype,"sort",void 0),d([Object(s.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),d([Object(s.property)({type:Boolean,reflect:!0})],e.prototype,"editable",void 0),d([Object(s.query)("slot[name='draggable-item']")],e.prototype,"draggableSlot",void 0),e=d([Object(p.f)("md-draggable")],e),t.ELEMENT=e}(o||(o={}))}}]);
@@ -1,42 +1,15 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[61],{110:function(e,t,o){"use strict";o.r(t),o.d(t,"Dropdown",(function(){return u}));o(15);var i=o(1),s=o(7),n=o(4),d=o(0),r=o(2),l=o(13),a=o(36),p=d.css`:host(:focus){box-shadow:none!important;outline:0!important}:host .md-dropdown{display:flex;flex-direction:column;position:relative}:host .md-dropdown-select{display:none}:host .md-dropdown-label{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;background-color:var(--md-primary-bg-color);border:1px solid var(--md-secondary-seperator-color);border-radius:var(--dropdown-group-radius,.25rem);min-height:2rem;padding:0 .75rem}:host .md-dropdown-label--text{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--md-secondary-text-color);line-height:2rem;outline:0;width:6.25rem;flex:1 0 auto}:host .md-dropdown-label--icon{transition:all .15s linear;display:inline-block;background-color:transparent;border:none;cursor:pointer;height:1.75rem;margin:0;margin-left:calc(.25rem * 3);outline:0;padding:0;padding-top:calc(.25rem / 2);position:relative;vertical-align:bottom}:host .md-dropdown-label--icon md-icon{color:var(--md-primary-text-color,#f7f7f7)}:host .md-dropdown-label:hover{background-color:var(--dropdown-bg-color-hover,#dedede)}:host .md-dropdown-label:active{background-color:var(--dropdown-bg-color-active,#ccc)}:host .md-dropdown-list{list-style:none;margin:0;padding:0;display:none;background-color:var(--md-primary-bg-color);border-radius:.5rem;box-shadow:0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16);left:0;overflow:auto;overflow-x:hidden;position:absolute;top:calc(100% + .25rem);width:100%;z-index:1}:host .md-dropdown-option{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;color:var(--md-primary-text-color,#f7f7f7);padding:.4375rem .75rem .5rem}:host .md-dropdown-option .select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:calc(100% - 1rem);display:block}:host .md-dropdown-option:hover{background-color:var(--dropdown-list-item-bg-color-hover,#c9f4ff)}:host .md-dropdown-option[focused]{background-color:var(--dropdown-list-item-bg-color-focus,#91ebff)}:host .md-dropdown__expanded .md-dropdown-list{display:block}:host .md-dropdown__expanded .md-dropdown-label--icon{transform:rotate(180deg)}:host .md-dropdown--pill .md-dropdown-label{border-radius:18px}:host([focus-visible]) .md-dropdown .md-dropdown-label{border-color:var(--dropdown-border-color-focus,#005e7d);box-shadow:none}:host([disabled]) .md-dropdown .md-dropdown-label{background-color:var(--md-tertiary-bg-color)}:host([disabled]) .md-dropdown .md-dropdown-label:active,:host([disabled]) .md-dropdown .md-dropdown-label:hover{background-color:var(--md-tertiary-bg-color);pointer-events:none}:host([disabled]) .md-dropdown .md-dropdown-label:active>md-icon,:host([disabled]) .md-dropdown .md-dropdown-label:hover>md-icon{opacity:.3}`,c=function(e,t,o,i){var s,n=arguments.length,d=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,o,i);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(d=(n<3?s(d):n>3?s(t,o,d):s(t,o))||d);return n>3&&d&&Object.defineProperty(t,o,d),d},h=function(e,t,o,i){return new(o||(o=Promise))((function(s,n){function d(e){try{l(i.next(e))}catch(e){n(e)}}function r(e){try{l(i.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(d,r)}l((i=i.apply(e,t||[])).next())}))};var u;!function(e){let t=class extends(Object(s.a)(d.LitElement)){constructor(){super(...arguments),this.title="Select...",this.options=[],this.optionId="",this.optionValue="",this.defaultOption="",this.disabled=!1,this.allowUnselected=!1,this.visibleOptions=8,this.renderOptions=[],this.selectedKey="",this.expanded=!1,this.focusedIndex=-1,this.lastMaxHeight="",this.onOutsideClick=e=>{let t=!1;const o=e.composedPath();o.length&&(t=!!o.find(e=>e===this),t||this.collapse())},this.onKeyDown=e=>{switch(e.code){case i.a.Enter:this.expanded?(this.select(),this.collapse()):this.expand();break;case i.a.ArrowDown:this.expanded?this.focusNext():this.expand();break;case i.a.ArrowUp:this.expanded?this.focusPrev():this.expand();break;case i.a.Home:this.expanded?this.focusFirst():this.expand();break;case i.a.End:this.expanded?this.focusLast():this.expand();break;case i.a.Escape||i.a.Backspace:this.expanded&&this.collapse()}}}connectedCallback(){super.connectedCallback(),this.setupEvents()}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}firstUpdated(e){super.firstUpdated(e),this.setAttribute("tabindex","0"),e.forEach((e,t)=>{if("defaultOption"===t&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}})}updated(e){super.updated(e),e.forEach((e,t)=>{if("options"===t&&this.updateRenderOptions(),"selectedKey"===t){const e=this.renderOptions.findIndex(e=>e.key===this.selectedKey);-1!==e&&this.focusToIndex(e)}"expanded"===t&&this.updateListDOM(),"focusedIndex"===t&&this.updateListDOM(),"disabled"===t&&this.setAttribute("tabindex",this.disabled?"-1":"0")})}updateRenderOptions(){const e=[];this.focusReset();const t=this.options.reduce((t,o)=>{const{key:i,value:s}=this.getOptionKeyValuePair(o);return-1!==e.indexOf(i)?console.error(`Dropdown already have option key: "${i}". Ignoring `):i?(e.push(i),t.push({key:i,value:s,option:o})):console.error(`Dropdown key is not defined: "${i}". (value: "${s}"). Ignoring `),t},[]);this.allowUnselected&&t.unshift({key:"",value:this.title}),this.renderOptions=t}updateListDOM(){return h(this,void 0,void 0,(function*(){this.expanded&&(yield this.resizeDropdownList(),yield this.scrollToIndex(this.focusedIndex))}))}resizeDropdownList(){return h(this,void 0,void 0,(function*(){yield new Promise(e=>requestAnimationFrame(()=>{if(this.optionsListItems)if(this.optionsListItems.length>this.visibleOptions){const e=[...this.optionsListItems].slice(0,this.visibleOptions).reduce((e,t)=>e+t.offsetHeight,0)+"px";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}else{const e="auto";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}e()}))}))}handleFocusIn(e){this.disabled||super.handleFocusIn&&super.handleFocusIn(e),this.dispatchEvent(new CustomEvent("dropdown-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.dispatchEvent(new CustomEvent("dropdown-focus-out",{composed:!0,bubbles:!0}))}static get styles(){return[n.a,p]}setupEvents(){document.addEventListener("click",this.onOutsideClick),this.addEventListener("keydown",this.onKeyDown)}teardownEvents(){document.removeEventListener("click",this.onOutsideClick),this.removeEventListener("keydown",this.onKeyDown)}expand(){this.expanded=!0,-1===this.focusedIndex&&this.focusNext()}collapse(){this.expanded=!1}toggle(){this.expanded?this.collapse():this.expand()}select(){if(-1!==this.focusedIndex){const e=this.renderOptions[this.focusedIndex],t=e.key;t!==this.selectedKey&&(this.selectedKey=t,this.dispatchEvent(new CustomEvent("dropdown-selected",{composed:!0,bubbles:!0,detail:{option:e.option?e.option:e.key}})))}}onLabelClick(){this.toggle()}focusFirst(){this.renderOptions.length&&(this.focusedIndex=0)}focusLast(){this.renderOptions.length&&(this.focusedIndex=this.renderOptions.length-1)}focusNext(){this.renderOptions.length&&(-1!==this.focusedIndex&&this.focusedIndex<this.renderOptions.length-1?this.focusedIndex++:this.focusFirst())}focusPrev(){this.renderOptions.length&&(this.focusedIndex>0?this.focusedIndex--:this.focusLast())}focusToIndex(e){this.renderOptions.length&&e>=0&&e<=this.renderOptions.length-1&&(this.focusedIndex=e)}focusReset(){this.focusedIndex=-1}scrollToIndex(e){return h(this,void 0,void 0,(function*(){yield new Promise(t=>{requestAnimationFrame(()=>{if(this.optionsListItems&&this.optionsListItems.length>this.visibleOptions&&e>=0&&this.optionsListItems.length>e){let t=0;const{top:o,bottom:i}=this.optionsList.getBoundingClientRect(),s=this.optionsListItems[e],n=this.optionsListItems[e+1]||s,d=this.optionsListItems[e-1]||s,r=n.getBoundingClientRect(),l=d.getBoundingClientRect();r.bottom>i?t=r.bottom-i+2:l.top<o&&(t=l.top-o-2),this.optionsList.scrollTop+=t}t()})})}))}getOptionKeyValuePair(e){if("string"==typeof e)return{key:e.trim(),value:e};if(e&&"object"==typeof e){const t=Object.keys(e),o=Object.values(e);if(t.length){if(1===t.length||!this.optionId)return{key:t[0],value:o[0]};if(this.optionId)return{key:e[this.optionId],value:e[this.optionValue||this.optionId]}}}return{key:"undefined",value:"undefined"}}get labelTitle(){if(this.selectedKey){const e=this.renderOptions.find(e=>e.key===this.selectedKey);if(e)return e.value}return this.title}get dropDownClassMap(){return{"md-dropdown__expanded":this.expanded}}render(){return r.html`
2
- <div class="md-dropdown ${Object(l.classMap)(this.dropDownClassMap)}" part="dropdown">
3
- <label
4
- class="md-dropdown-label"
5
- aria-expanded="${this.expanded}"
6
- aria-label="${this.labelTitle}"
7
- aria-controls="md-dropdown-list"
8
- ?disabled="${this.disabled}"
9
- @click="${()=>this.onLabelClick()}"
10
- part="dropdown-header"
11
- >
12
- <span class="md-dropdown-label--text">${this.labelTitle}</span>
13
- <span class="md-dropdown-label--icon">
14
- <md-icon name="icon-arrow-down_16"></md-icon>
15
- </span>
16
- </label>
17
- <ul
18
- id="md-dropdown-list"
19
- class="md-dropdown-list"
20
- role="listbox"
21
- aria-label="${this.labelTitle}"
22
- aria-hidden="${!this.expanded}"
23
- part="dropdown-options"
24
- >
25
- ${Object(a.repeat)(this.renderOptions,e=>e.key,(e,t)=>r.html`
26
- <li
27
- class="md-dropdown-option"
28
- role="option"
29
- aria-label="${e.value}"
30
- aria-selected="${t===this.focusedIndex}"
31
- part="dropdown-option"
32
- ?focused="${t===this.focusedIndex}"
33
- @click="${()=>{this.focusToIndex(t),this.select(),this.collapse()}}"
34
- >
35
- <span class="select-label" part="label">
36
- <span>${e.value}</span>
37
- </span>
38
- </li>
39
- `)}
40
- </ul>
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[61],{91:function(e,t,d){"use strict";d.r(t),d.d(t,"DraggableItem",(function(){return n}));var n,o=d(0),r=d(5),a=d(7),i=d(4),l=d(60),s=d(2),c=d(3),p=function(e,t,d,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,d):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(r<3?o(a):r>3?o(t,d,a):o(t,d))||a);return r>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends(Object(a.a)(o.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.extended=!1,this.editable=!1}static get styles(){return[i.a,l.a]}get draggableItemClassMap(){return{extended:this.extended,default:!this.extended,disabled:this.disabled}}render(){return o.html`
2
+ <div
3
+ class="md-draggable-item ${Object(c.classMap)(this.draggableItemClassMap)}"
4
+ part="draggable-item"
5
+ aria-disabled=${this.disabled}
6
+ >
7
+ ${this.extended&&this.editable?o.html`
8
+ <md-icon name="panel-control-dragger_16"></md-icon>
9
+ `:s.nothing}
10
+ <slot></slot>
11
+ ${this.extended?o.html`
12
+ <slot name="extended"></slot>
13
+ `:s.nothing}
41
14
  </div>
42
- `}};c([Object(d.property)({type:String,attribute:"title"})],t.prototype,"title",void 0),c([Object(d.property)({type:Array})],t.prototype,"options",void 0),c([Object(d.property)({type:String,attribute:"option-id"})],t.prototype,"optionId",void 0),c([Object(d.property)({type:String,attribute:"option-value"})],t.prototype,"optionValue",void 0),c([Object(d.property)({type:Object})],t.prototype,"defaultOption",void 0),c([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),c([Object(d.property)({type:Boolean,attribute:"allow-unselected",reflect:!0})],t.prototype,"allowUnselected",void 0),c([Object(d.property)({type:Number,attribute:"visible-option",reflect:!0})],t.prototype,"visibleOptions",void 0),c([Object(d.internalProperty)()],t.prototype,"renderOptions",void 0),c([Object(d.internalProperty)()],t.prototype,"selectedKey",void 0),c([Object(d.internalProperty)()],t.prototype,"expanded",void 0),c([Object(d.internalProperty)()],t.prototype,"focusedIndex",void 0),c([Object(d.query)("label")],t.prototype,"label",void 0),c([Object(d.query)("ul.md-dropdown-list")],t.prototype,"optionsList",void 0),c([Object(d.queryAll)("li.md-dropdown-option")],t.prototype,"optionsListItems",void 0),t=c([Object(s.f)("md-dropdown")],t),e.ELEMENT=t}(u||(u={}))}}]);
15
+ `}};p([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"extended",void 0),p([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"editable",void 0),t=p([Object(r.a)("md-draggable-item")],t),e.ELEMENT=t}(n||(n={}))}}]);
@@ -1,30 +1,42 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[62],{111:function(e,t,i){"use strict";i.r(t),i.d(t,"alignment",(function(){return g})),i.d(t,"EditableTextfield",(function(){return u}));var l=i(19),r=i(4),d=i(42),a=i.n(d),s=i(5),o=i(0),n=i(2),c=i(3),h=i(6),b=i(24),p=o.css`:focus{outline:0}.md-editable-textfield{border-radius:.25rem;line-height:calc(19 / 14) rem;min-height:2rem;overflow-y:auto;padding:0 .375rem 0 .375rem}.md-editable-textfield:hover{background-color:var(--editable-textfield-default-hover-bg-color,#ededed)}.md-editable-textfield:active{background-color:var(--editable-textfield-default-pressed-bg-color,#dedede)}.md-editable-textfield:focus{box-shadow:0 0 0 .0625rem var(--md-default-focus-outline-color,#007aa3)}.md-editable-textfield--left .md-input{text-align:left}.md-editable-textfield--center .md-input{text-align:center}.md-editable-textfield--center ::slotted(*){text-align:center}.md-editable-textfield--right .md-input{text-align:right}.md-editable-textfield--right ::slotted(*){text-align:right}.md-editable-textfield--disabled{background-color:transparent;color:var(--md-secondary-text-color,#545454);cursor:default}.md-editable-textfield--disabled:hover{background-color:transparent}.md-editable-textfield--disabled:focus{box-shadow:none;outline:0}.md-editable-textfield--error{background-color:var(--md-alert-error-bg-color,#ffe8e3);border:1px solid var(--editable-textfield-error-border-color,#a12512);color:var(--md-alert-error-text-color,#a12512)}.md-editable-textfield--error:focus{box-shadow:none;outline:0}.md-editable-textfield--warning{background-color:var(--md-alert-warning-bg-color,#ffecc2);border:1px solid var(--editable-textfield-warning-border-color,#d97f00);color:var(--md-alert-warning-text-color,#7d4705)}.md-editable-textfield--warning:focus{box-shadow:none;outline:0}.md-editable-textfield--success{background-color:var(--md-alert-success-bg-color,#befade);border:1px solid var(--editable-textfield-success-border-color,#00ab50);color:var(--md-alert-success-text-color,#03612c)}.md-editable-textfield--success:focus{box-shadow:none;outline:0}.md-editable-textfield--textoverflow{-webkit-box-orient:vertical;display:-webkit-box;overflow-y:hidden;text-overflow:ellipsis}.md-editable-textfield__messages{padding:.375rem 0 0 1rem}`,m=function(e,t,i,l){var r,d=arguments.length,a=d<3?t:null===l?l=Object.getOwnPropertyDescriptor(t,i):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,l);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(d<3?r(a):d>3?r(t,i,a):r(t,i))||a);return d>3&&a&&Object.defineProperty(t,i,a),a};const g=["left","right","center"];var u;!function(e){let t=class extends o.LitElement{constructor(){super(...arguments),this.alignment="left",this.disabled=!1,this.isEditing=!1,this.maxLines="",this.content="Click to edit text",this.message={type:"error",message:"That is not a valid input."},this.alert=!1,this.hideMessage=!1,this.pattern="",this.type=null,this.ariaLabel="editable field",this.ariaDescribedBy="",this.messageController=new b.Input.MessageController,this.reportValidity=()=>{this.dispatchEvent(new Event("invalid",{bubbles:!1,cancelable:!0,composed:!0}))},this.checkValidity=e=>{let t=!0;const i=i=>{null===e.match(i)&&(t=!1)};if(this.pattern){i(new RegExp(this.pattern))}else if(e&&this.type)switch(this.type){case"integer":i(new RegExp(l.a.integerString));break;case"decimal":i(new RegExp(l.a.decimalString))}return t},this.handleFocus=()=>{this.disabled||(this.isEditing=!0,this.setRange())},this.handleKeydown=e=>{var t;const{key:i,code:l}=e;if(["Tab","Meta","Shift","Delete","Backspace","Arrow"].some(e=>l.includes(e)))return;"integer"===this.type&&i.includes(".")&&e.preventDefault();const r=(null===(t=this.editableField)||void 0===t?void 0:t.innerText.trim())+i;if(this.type)if(isNaN(Number(r)))e.preventDefault();else{if("integer"!==this.type||Number.isInteger(Number(r)))return;e.preventDefault()}},this.handleBlur=()=>{var e;this.isEditing=!1,this.maxLines.length>0&&this.editableField&&this.editableField.scrollTo(0,0),this.content=(null===(e=this.editableField)||void 0===e?void 0:e.innerText.trim())||"",this.alert=!1,this.handleValidation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.handleFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.handleFocus)}firstUpdated(e){super.firstUpdated(e),this.innerText&&this.innerText.length>0?this.content=this.innerText.trim():this.innerText=a.a.sanitize(this.content)}updated(e){super.updated(e),e.has("content")&&this.editableField&&(this.editableField.innerText=a.a.sanitize(this.content))}setRange(){var e;if(this.editableField){const t=document.createRange(),i=window.getSelection(),l=null===(e=this.editableField.childNodes[0].nodeValue)||void 0===e?void 0:e.length;if(t.setStart(this.editableField.childNodes[0],l||0),t.collapse(!0),!i||0!==i.toString().length)return;i.removeAllRanges(),i.addRange(t),this.maxLines.length>0&&(this.editableField.scrollTop=this.editableField.scrollHeight)}}handleValidation(){if(this.type||this.pattern){this.checkValidity&&this.checkValidity(this.content)||(this.reportValidity(),this.showAlert())}}showAlert(){this.alert=!0}static get styles(){return[r.a,p]}get overflowStyles(){return this.maxLines.length&&this.maxLines.length>0&&`max-height: ${2*parseInt(this.maxLines)}rem; -webkit-line-clamp: ${this.maxLines}; word-break: break-all;`}messagesTemplate(){var e,t,i;return this.alert?o.html`
2
- <div class="md-editable-textfield__messages" style="display: ${this.hideMessage?"none":"block"}">
3
- <md-help-text
4
- id="alert-message"
5
- role="alert"
6
- aria-live="assertive"
7
- .messageType=${null===(e=this.message)||void 0===e?void 0:e.type}
8
- aria-errormessage=${Object(h.ifDefined)(null===(t=this.message)||void 0===t?void 0:t.message)}
9
- >
10
- ${null===(i=this.message)||void 0===i?void 0:i.message}
11
- </md-help-text>
12
- </div>
13
- `:n.nothing}render(){var e;const t={["md-editable-textfield--"+this.alignment]:this.alignment,"md-editable-textfield--disabled":this.disabled,["md-editable-textfield--"+(null===(e=this.message)||void 0===e?void 0:e.type)]:this.alert&&!!this.message,"md-editable-textfield--textoverflow":this.maxLines.length>0&&!this.isEditing};return o.html`
14
- <div
15
- style="${this.overflowStyles}"
16
- class="md-editable-textfield ${Object(c.classMap)(t)}"
17
- role="textbox"
18
- tabindex=${this.disabled?"-1":"0"}
19
- ?contenteditable=${this.isEditing}
20
- @focus=${this.handleFocus}
21
- @blur=${this.handleBlur}
22
- @keydown=${e=>{this.handleKeydown(e)}}
23
- aria-invalid=${this.alert?"true":"false"}
24
- aria-label=${this.ariaLabel}
25
- aria-describedby=${this.ariaDescribedBy}
26
- >
27
- ${a.a.sanitize(this.content)}
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[62],{111:function(e,t,o){"use strict";o.r(t),o.d(t,"Dropdown",(function(){return u}));o(15);var i=o(1),s=o(7),n=o(4),d=o(0),r=o(2),l=o(13),a=o(36),p=d.css`:host(:focus){box-shadow:none!important;outline:0!important}:host .md-dropdown{display:flex;flex-direction:column;position:relative}:host .md-dropdown-select{display:none}:host .md-dropdown-label{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;background-color:var(--md-primary-bg-color);border:1px solid var(--md-secondary-seperator-color);border-radius:var(--dropdown-group-radius,.25rem);min-height:2rem;padding:0 .75rem}:host .md-dropdown-label--text{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--md-secondary-text-color);line-height:2rem;outline:0;width:6.25rem;flex:1 0 auto}:host .md-dropdown-label--icon{transition:all .15s linear;display:inline-block;background-color:transparent;border:none;cursor:pointer;height:1.75rem;margin:0;margin-left:calc(.25rem * 3);outline:0;padding:0;padding-top:calc(.25rem / 2);position:relative;vertical-align:bottom}:host .md-dropdown-label--icon md-icon{color:var(--md-primary-text-color,#f7f7f7)}:host .md-dropdown-label:hover{background-color:var(--dropdown-bg-color-hover,#dedede)}:host .md-dropdown-label:active{background-color:var(--dropdown-bg-color-active,#ccc)}:host .md-dropdown-list{list-style:none;margin:0;padding:0;display:none;background-color:var(--md-primary-bg-color);border-radius:.5rem;box-shadow:0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16);left:0;overflow:auto;overflow-x:hidden;position:absolute;top:calc(100% + .25rem);width:100%;z-index:1}:host .md-dropdown-option{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;color:var(--md-primary-text-color,#f7f7f7);padding:.4375rem .75rem .5rem}:host .md-dropdown-option .select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:calc(100% - 1rem);display:block}:host .md-dropdown-option:hover{background-color:var(--dropdown-list-item-bg-color-hover,#c9f4ff)}:host .md-dropdown-option[focused]{background-color:var(--dropdown-list-item-bg-color-focus,#91ebff)}:host .md-dropdown__expanded .md-dropdown-list{display:block}:host .md-dropdown__expanded .md-dropdown-label--icon{transform:rotate(180deg)}:host .md-dropdown--pill .md-dropdown-label{border-radius:18px}:host([focus-visible]) .md-dropdown .md-dropdown-label{border-color:var(--dropdown-border-color-focus,#005e7d);box-shadow:none}:host([disabled]) .md-dropdown .md-dropdown-label{background-color:var(--md-tertiary-bg-color)}:host([disabled]) .md-dropdown .md-dropdown-label:active,:host([disabled]) .md-dropdown .md-dropdown-label:hover{background-color:var(--md-tertiary-bg-color);pointer-events:none}:host([disabled]) .md-dropdown .md-dropdown-label:active>md-icon,:host([disabled]) .md-dropdown .md-dropdown-label:hover>md-icon{opacity:.3}`,c=function(e,t,o,i){var s,n=arguments.length,d=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,o,i);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(d=(n<3?s(d):n>3?s(t,o,d):s(t,o))||d);return n>3&&d&&Object.defineProperty(t,o,d),d},h=function(e,t,o,i){return new(o||(o=Promise))((function(s,n){function d(e){try{l(i.next(e))}catch(e){n(e)}}function r(e){try{l(i.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(d,r)}l((i=i.apply(e,t||[])).next())}))};var u;!function(e){let t=class extends(Object(s.a)(d.LitElement)){constructor(){super(...arguments),this.title="Select...",this.options=[],this.optionId="",this.optionValue="",this.defaultOption="",this.disabled=!1,this.allowUnselected=!1,this.visibleOptions=8,this.renderOptions=[],this.selectedKey="",this.expanded=!1,this.focusedIndex=-1,this.lastMaxHeight="",this.onOutsideClick=e=>{let t=!1;const o=e.composedPath();o.length&&(t=!!o.find(e=>e===this),t||this.collapse())},this.onKeyDown=e=>{switch(e.code){case i.a.Enter:this.expanded?(this.select(),this.collapse()):this.expand();break;case i.a.ArrowDown:this.expanded?this.focusNext():this.expand();break;case i.a.ArrowUp:this.expanded?this.focusPrev():this.expand();break;case i.a.Home:this.expanded?this.focusFirst():this.expand();break;case i.a.End:this.expanded?this.focusLast():this.expand();break;case i.a.Escape||i.a.Backspace:this.expanded&&this.collapse()}}}connectedCallback(){super.connectedCallback(),this.setupEvents()}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}firstUpdated(e){super.firstUpdated(e),this.setAttribute("tabindex","0"),e.forEach((e,t)=>{if("defaultOption"===t&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}})}updated(e){super.updated(e),e.forEach((e,t)=>{if("options"===t&&this.updateRenderOptions(),"selectedKey"===t){const e=this.renderOptions.findIndex(e=>e.key===this.selectedKey);-1!==e&&this.focusToIndex(e)}"expanded"===t&&this.updateListDOM(),"focusedIndex"===t&&this.updateListDOM(),"disabled"===t&&this.setAttribute("tabindex",this.disabled?"-1":"0")})}updateRenderOptions(){const e=[];this.focusReset();const t=this.options.reduce((t,o)=>{const{key:i,value:s}=this.getOptionKeyValuePair(o);return-1!==e.indexOf(i)?console.error(`Dropdown already have option key: "${i}". Ignoring `):i?(e.push(i),t.push({key:i,value:s,option:o})):console.error(`Dropdown key is not defined: "${i}". (value: "${s}"). Ignoring `),t},[]);this.allowUnselected&&t.unshift({key:"",value:this.title}),this.renderOptions=t}updateListDOM(){return h(this,void 0,void 0,(function*(){this.expanded&&(yield this.resizeDropdownList(),yield this.scrollToIndex(this.focusedIndex))}))}resizeDropdownList(){return h(this,void 0,void 0,(function*(){yield new Promise(e=>requestAnimationFrame(()=>{if(this.optionsListItems)if(this.optionsListItems.length>this.visibleOptions){const e=[...this.optionsListItems].slice(0,this.visibleOptions).reduce((e,t)=>e+t.offsetHeight,0)+"px";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}else{const e="auto";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}e()}))}))}handleFocusIn(e){this.disabled||super.handleFocusIn&&super.handleFocusIn(e),this.dispatchEvent(new CustomEvent("dropdown-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.dispatchEvent(new CustomEvent("dropdown-focus-out",{composed:!0,bubbles:!0}))}static get styles(){return[n.a,p]}setupEvents(){document.addEventListener("click",this.onOutsideClick),this.addEventListener("keydown",this.onKeyDown)}teardownEvents(){document.removeEventListener("click",this.onOutsideClick),this.removeEventListener("keydown",this.onKeyDown)}expand(){this.expanded=!0,-1===this.focusedIndex&&this.focusNext()}collapse(){this.expanded=!1}toggle(){this.expanded?this.collapse():this.expand()}select(){if(-1!==this.focusedIndex){const e=this.renderOptions[this.focusedIndex],t=e.key;t!==this.selectedKey&&(this.selectedKey=t,this.dispatchEvent(new CustomEvent("dropdown-selected",{composed:!0,bubbles:!0,detail:{option:e.option?e.option:e.key}})))}}onLabelClick(){this.toggle()}focusFirst(){this.renderOptions.length&&(this.focusedIndex=0)}focusLast(){this.renderOptions.length&&(this.focusedIndex=this.renderOptions.length-1)}focusNext(){this.renderOptions.length&&(-1!==this.focusedIndex&&this.focusedIndex<this.renderOptions.length-1?this.focusedIndex++:this.focusFirst())}focusPrev(){this.renderOptions.length&&(this.focusedIndex>0?this.focusedIndex--:this.focusLast())}focusToIndex(e){this.renderOptions.length&&e>=0&&e<=this.renderOptions.length-1&&(this.focusedIndex=e)}focusReset(){this.focusedIndex=-1}scrollToIndex(e){return h(this,void 0,void 0,(function*(){yield new Promise(t=>{requestAnimationFrame(()=>{if(this.optionsListItems&&this.optionsListItems.length>this.visibleOptions&&e>=0&&this.optionsListItems.length>e){let t=0;const{top:o,bottom:i}=this.optionsList.getBoundingClientRect(),s=this.optionsListItems[e],n=this.optionsListItems[e+1]||s,d=this.optionsListItems[e-1]||s,r=n.getBoundingClientRect(),l=d.getBoundingClientRect();r.bottom>i?t=r.bottom-i+2:l.top<o&&(t=l.top-o-2),this.optionsList.scrollTop+=t}t()})})}))}getOptionKeyValuePair(e){if("string"==typeof e)return{key:e.trim(),value:e};if(e&&"object"==typeof e){const t=Object.keys(e),o=Object.values(e);if(t.length){if(1===t.length||!this.optionId)return{key:t[0],value:o[0]};if(this.optionId)return{key:e[this.optionId],value:e[this.optionValue||this.optionId]}}}return{key:"undefined",value:"undefined"}}get labelTitle(){if(this.selectedKey){const e=this.renderOptions.find(e=>e.key===this.selectedKey);if(e)return e.value}return this.title}get dropDownClassMap(){return{"md-dropdown__expanded":this.expanded}}render(){return r.html`
2
+ <div class="md-dropdown ${Object(l.classMap)(this.dropDownClassMap)}" part="dropdown">
3
+ <label
4
+ class="md-dropdown-label"
5
+ aria-expanded="${this.expanded}"
6
+ aria-label="${this.labelTitle}"
7
+ aria-controls="md-dropdown-list"
8
+ ?disabled="${this.disabled}"
9
+ @click="${()=>this.onLabelClick()}"
10
+ part="dropdown-header"
11
+ >
12
+ <span class="md-dropdown-label--text">${this.labelTitle}</span>
13
+ <span class="md-dropdown-label--icon">
14
+ <md-icon name="icon-arrow-down_16"></md-icon>
15
+ </span>
16
+ </label>
17
+ <ul
18
+ id="md-dropdown-list"
19
+ class="md-dropdown-list"
20
+ role="listbox"
21
+ aria-label="${this.labelTitle}"
22
+ aria-hidden="${!this.expanded}"
23
+ part="dropdown-options"
24
+ >
25
+ ${Object(a.repeat)(this.renderOptions,e=>e.key,(e,t)=>r.html`
26
+ <li
27
+ class="md-dropdown-option"
28
+ role="option"
29
+ aria-label="${e.value}"
30
+ aria-selected="${t===this.focusedIndex}"
31
+ part="dropdown-option"
32
+ ?focused="${t===this.focusedIndex}"
33
+ @click="${()=>{this.focusToIndex(t),this.select(),this.collapse()}}"
34
+ >
35
+ <span class="select-label" part="label">
36
+ <span>${e.value}</span>
37
+ </span>
38
+ </li>
39
+ `)}
40
+ </ul>
28
41
  </div>
29
- ${this.messagesTemplate()}
30
- `}};m([Object(o.property)({type:String})],t.prototype,"alignment",void 0),m([Object(o.property)({type:Boolean})],t.prototype,"disabled",void 0),m([Object(o.property)({type:Boolean})],t.prototype,"isEditing",void 0),m([Object(o.property)({type:String,attribute:"max-lines",reflect:!0})],t.prototype,"maxLines",void 0),m([Object(o.property)({type:String,reflect:!0})],t.prototype,"content",void 0),m([Object(o.property)({type:Object})],t.prototype,"message",void 0),m([Object(o.property)({type:Boolean,reflect:!0})],t.prototype,"alert",void 0),m([Object(o.property)({type:Boolean})],t.prototype,"hideMessage",void 0),m([Object(o.property)({type:String})],t.prototype,"pattern",void 0),m([Object(o.property)({type:String})],t.prototype,"type",void 0),m([Object(o.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),m([Object(o.property)({type:String,attribute:"aria-described-by"})],t.prototype,"ariaDescribedBy",void 0),m([Object(o.query)(".md-editable-textfield")],t.prototype,"editableField",void 0),t=m([Object(s.a)("md-editable-field")],t),e.ELEMENT=t}(u||(u={}))}}]);
42
+ `}};c([Object(d.property)({type:String,attribute:"title"})],t.prototype,"title",void 0),c([Object(d.property)({type:Array})],t.prototype,"options",void 0),c([Object(d.property)({type:String,attribute:"option-id"})],t.prototype,"optionId",void 0),c([Object(d.property)({type:String,attribute:"option-value"})],t.prototype,"optionValue",void 0),c([Object(d.property)({type:Object})],t.prototype,"defaultOption",void 0),c([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),c([Object(d.property)({type:Boolean,attribute:"allow-unselected",reflect:!0})],t.prototype,"allowUnselected",void 0),c([Object(d.property)({type:Number,attribute:"visible-option",reflect:!0})],t.prototype,"visibleOptions",void 0),c([Object(d.internalProperty)()],t.prototype,"renderOptions",void 0),c([Object(d.internalProperty)()],t.prototype,"selectedKey",void 0),c([Object(d.internalProperty)()],t.prototype,"expanded",void 0),c([Object(d.internalProperty)()],t.prototype,"focusedIndex",void 0),c([Object(d.query)("label")],t.prototype,"label",void 0),c([Object(d.query)("ul.md-dropdown-list")],t.prototype,"optionsList",void 0),c([Object(d.queryAll)("li.md-dropdown-option")],t.prototype,"optionsListItems",void 0),t=c([Object(s.f)("md-dropdown")],t),e.ELEMENT=t}(u||(u={}))}}]);