@momentum-ui/web-components 2.6.7 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) 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/dist/types/components/timepicker/TimePicker.d.ts +1 -1
  344. package/package.json +1 -1
@@ -1 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[272],{311:function(e,n){e.exports=function(e){var n="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),t={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},l={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},b={begin:/\{/,end:/\}/,contains:[l],illegal:"\\n",relevance:0},c={begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},g=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},t,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,c,s],m=[...g];return m.pop(),m.push(i),l.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:g}}}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[272],{312:function(e,n){e.exports=function(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}}}]);
@@ -1 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[273],{312:function(e,n){e.exports=function(e){const n={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},s=e.UNDERSCORE_TITLE_MODE,a={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[s,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,n,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},s]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[s]},{beginKeywords:"use",end:/;/,contains:[s]},{begin:/=>/},n,a]}}}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[273],{313:function(e,n){e.exports=function(e){var n="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),t={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},l={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},b={begin:/\{/,end:/\}/,contains:[l],illegal:"\\n",relevance:0},c={begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},g=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},t,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,c,s],m=[...g];return m.pop(),m.push(i),l.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:g}}}}]);
@@ -0,0 +1 @@
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[274],{314:function(e,n){e.exports=function(e){const n={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},s=e.UNDERSCORE_TITLE_MODE,a={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[s,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,n,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},s]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[s]},{beginKeywords:"use",end:/;/,contains:[s]},{begin:/=>/},n,a]}}}}]);
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[36],{77:function(t,e,o){"use strict";o.r(e),o.d(e,"ComboBox",(function(){return i}));o(50),o(15);var i,s=o(1),l=o(7),n=o(5),r=o(18),c=o(4),a=o(0),d=o(2),p=o(3),h=o(6),u=o(14),b=o(9),m=a.css`:host{--combobox-input-clear-bg:var(--combobox-group-button-bg-color, $lm-combobox-group-button-bg-color-light)}:host() .group{background:var(--combobox-bg-color,#fff)}:host(:focus){box-shadow:none!important;outline:0!important}:host([focus-visible]) .group{border-color:var(--combobox-focus-border-color,#005e7d);box-shadow:none}:host([disabled]) .group,:host([disabled]) .group:active,:host([disabled]) .group:hover{background:var(--combobox-disabled-bg-color,#ededed);pointer-events:none}:host([disabled]) .group:active>md-icon,:host([disabled]) .group:hover>md-icon,:host([disabled]) .group>md-icon{opacity:.3}:host([expanded]) .md-combobox-button.arrow-down{transform:rotate(180deg)}:host([invalid]) .group,:host([invalid]) .group:active,:host([invalid]) .group:hover{background:var(--combobox-invalid-bg-color,#ffe8e3);border-color:var(--combobox-invalid-border-color,#f7644a)}:host([invalid]) .md-combobox-error{padding:.1875rem 0 0 .75rem}.md-combobox-list{position:relative;height:2rem}.md-combobox .group{align-items:start;background:var(--combobox-bg-color,#fff);border:1px solid var(--combobox-border-color,#b2b2b2);border-radius:var(--combobox-group-radius,.25rem);display:flex;padding:0 .75rem;height:2.125rem}.md-combobox .group md-icon{color:var(--md-secondary-text-color,#545454);cursor:pointer;fill:var(--md-secondary-text-color,#545454);height:1.75rem;padding:calc(.25rem / 2)}.md-combobox .group md-icon:focus{box-shadow:none;outline:0;box-shadow:0 0 0 .125rem var(--md-focus-border-color,#91ebff)}.md-combobox .group:hover{background:var(--combobox-hover-bg-color,#dedede)}.md-combobox .group:active{background:var(--combobox-pressed-bg-color,#ccc)}.md-combobox .group.multiselect:hover{background:var(--combobox-bg-color,#fff)}.md-combobox .group.multiselect:active{background:var(--combobox-bg-color,#fff)}.md-combobox .md-combobox-button[disabled] md-icon{color:var(--md-disabled-text-color,#b2b2b2)}.md-combobox--pill .group{border-radius:18px}.md-combobox-button{transition:all .15s linear;background:0 0;border:0;cursor:pointer;margin:0;margin-left:calc(.25rem * 2);outline:0;padding:0;padding-top:calc(.25rem / 2);position:relative;vertical-align:bottom}.md-combobox-button .md-input__icon-clear{display:flex;align-items:center;height:inherit}.md-combobox-button md-icon{color:var(--combobox-dropdown-item-icon-color,#121212)}ul{background-color:var(--combobox-dropdown-bg-color,#fff);border:1px solid var(--combobox-border-color,#b2b2b2);border-radius:.5rem;box-shadow:0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16);box-sizing:border-box;font-size:14px;left:0;list-style:none;margin:0;overflow:auto;overflow-x:hidden;padding:0;position:absolute;top:calc(100% + .25rem);width:100%}ul .no-result{padding:.4375rem .75rem .5rem}.md-combobox-multi-input{width:initial}.highlight-text{font-weight:700}.selected-label-text{white-space:pre-wrap}.group-label{font-weight:400;font-size:14px;line-height:19px;color:var(--combobox-group-label-color);padding:9px 16px;border-top:1px solid var(--combobox-group-label-border-color);border-bottom:1px solid var(--combobox-group-label-border-color);display:block;width:100%;background-color:var(--combobox-group-label-bg-color)}.group-label:hover{background:unset}.md-combobox-option{align-items:center;color:var(--md-primary-text-color,#f7f7f7);display:flex;margin:0;outline:0;padding:.4375rem .75rem .5rem;width:100%}.md-combobox-option .select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;display:block;letter-spacing:normal;width:calc(100% - 1.25rem)}.md-combobox-option .select-label span{margin-right:-.25rem;white-space:nowrap}.md-combobox-option .select-option{background:var(--combobox-dropdown-item-select-bg-color,#fff);border:1px solid var(--combobox-border-color,#b2b2b2);border-radius:calc(.5rem / 2);box-sizing:border-box;cursor:pointer;display:inline-block;height:1.25rem;margin-right:1rem;min-width:1.25rem;position:relative}.md-combobox-option .select-option md-icon{height:1.125rem;left:.125rem;position:absolute;top:-.1875rem;vertical-align:top;visibility:hidden}.md-combobox-option .indeterminate{background:var(--combobox-dropdown-item-checked-bg-color,#00a0d1);border:1px solid var(--combobox-dropdown-item-checked-bg-color,#00a0d1)}.md-combobox-option .indeterminate md-icon{color:var(--combobox-dropdown-item-checked-icon-color,#fff);visibility:visible}.md-combobox-option:hover{background:var(--combobox-dropdown-item-hover-bg-color,#c9f4ff)}.md-combobox-option.md-combobox-multiselect{border-bottom:1px solid var(--md-button-tertiary-outline-color,#545454)}.md-combobox-option[aria-checked=true] .select-option{background:var(--combobox-dropdown-item-checked-bg-color,#00a0d1);border:1px solid var(--combobox-dropdown-item-checked-bg-color,#00a0d1)}.md-combobox-option[aria-checked=true] .select-option md-icon{color:var(--combobox-dropdown-item-checked-icon-color,#fff);visibility:visible}.md-combobox-option[focused]{background:var(--combobox-dropdown-item-focus-bg-color,#91ebff)}.md-combobox__multiwrap{align-items:center;display:inline-flex;flex:1 1 auto;margin-left:0;max-height:calc(1.25rem * 4.5)}.md-combobox__multiwrap .selected-count{color:var(--md-primary-text-color,#f7f7f7)}.md-combobox__multiwrap .md-combobox-selected-item{align-items:center;background:var(--combobox-selected-bg-color,#dedede);border:1px solid var(--combobox-selected-border-color,#ccc);border-radius:.875rem;box-sizing:border-box;cursor:pointer;display:flex;font-size:12px;margin-bottom:calc(.25rem / 2);margin-right:.25rem;margin-top:.25rem;max-height:1.5rem;padding:0 .75rem}.md-combobox__multiwrap .md-combobox-selected-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:calc(1.25rem * 4)}.md-combobox__multiwrap .md-combobox-selected-item .remove-item{height:1.5rem}.md-combobox__multiwrap .md-combobox-selected-item:hover{background:var(--combobox-selected-hover,#b2b2b2)}.md-combobox__multiwrap .md-combobox-selected-item[selected]{background:var(--combobox-selected-hover,#b2b2b2)}.md-combobox__multiwrap input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;color:var(--md-secondary-text-color,#545454);display:inline-block;flex:1 1 auto;height:2rem;outline:0}.md-combobox__multiwrap ::input-placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:calc(100%)}.md-combobox__multiwrap .remove-item{padding-left:calc(.25rem * 3)}.md-combobox-searchable .md-combobox__multiwrap{margin-left:calc(.25rem * 3)}`,x=function(t,e,o,i){var s,l=arguments.length,n=l<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,o,n):s(e,o))||n);return l>3&&n&&Object.defineProperty(e,o,n),n},g=function(t,e,o,i){return new(o||(o=Promise))((function(s,l){function n(t){try{c(i.next(t))}catch(t){l(t)}}function r(t){try{c(i.throw(t))}catch(t){l(t)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(n,r)}c((i=i.apply(t,e||[])).next())}))};!function(t){let e=class extends(Object(l.a)(a.LitElement)){constructor(){super(...arguments),this._focusedIndex=-1,this.label="Options",this.options=[],this.customOptions=[],this.placeholder="",this.isMulti=!1,this.disabled=!1,this.ordered=!1,this.expanded=!1,this.compact=!1,this.noClearIcon=!1,this.selectWhenInFocus=!1,this.selectedOptions=[],this.visibleOptions=8,this.optionId="",this.optionValue="",this.isCustomContent=!1,this.searchable=!1,this.shape="none",this.value=[],this.inputValue="",this.allowCustomValue=!1,this.autofocus=!1,this.resultsTextLocalization="No Results",this.optionsTextLocalization="No Options",this.trimSpace=!1,this.invalid=!1,this.invalidText="",this.ariaLabel="Combobox Input",this.clearAriaLabel="Clear",this.arrowAriaLabel="Expand",this.allTextLocalization="All",this.selectAllTextLocalization="Select All",this.selectedTextLocalization="Selected",this.allowSelectAll=!1,this.showCustomError=!1,this.showSelectedCount=!1,this.isOptGroup=!1,this.isSelectAllChecked=!1,this.multiSelectedIndex=-1,this.multiSelected=[],this.customContent=[],this.notifySelectedChange=Object(r.b)(t=>{this.dispatchEvent(new CustomEvent("change-selected",{composed:!0,bubbles:!0,detail:t}))},0),this.notifyInputValueChanged=Object(r.b)(t=>{this.dispatchEvent(new CustomEvent("combobox-input",{composed:!0,bubbles:!0,detail:{value:t}}))},250),this.handleOutsideClick=t=>{let e=!1;const o=t.composedPath();o.length&&(e=!!o.find(t=>t===this),e||(this.setVisualListbox(!1),this.unselectedAllMultiTag()))}}get focusedIndex(){return this._focusedIndex}set focusedIndex(t){const e=this._focusedIndex;if(this.lists){const o=this.lists[e];o&&o.toggleAttribute("focused",!1);const i=this.lists[t];i&&i.toggleAttribute("focused",!0)}this._focusedIndex=t,this.requestUpdate("focusedIndex",e)}firstUpdated(t){super.firstUpdated(t),this.setAttribute("tabindex","0"),this.isCustomContent&&(this.optionId="id",this.optionValue="value",this.setOptionCustomContent()),this.setInitialValue()}updated(t){super.updated(t),t.has("expanded")&&this.expanded&&this.resizeListbox(),t.has("focusedIndex")&&this.focusedIndex>=0&&this.scrollToOption(),t.has("value")&&0===this.selectedOptions.length&&this.setInitialValue(),t.has("customOptions")&&this.isCustomContent&&(this.setOptionCustomContent(),this.resizeListbox())}handleFocusIn(t){this.disabled||(requestAnimationFrame(()=>{this.input.focus()}),this.selectWhenInFocus&&this.input.select(),super.handleFocusIn&&super.handleFocusIn(t)),this.dispatchEvent(new CustomEvent("combobox-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(t){super.handleFocusOut&&super.handleFocusOut(t),this.dispatchEvent(new CustomEvent("combobox-focus-out",{composed:!0,bubbles:!0}))}findFilteredOption(t){return this.isOptionObject(t)?this.filteredOptions.findIndex(e=>this.getOptionId(e)===this.getOptionId(t)&&this.getOptionValue(e)===this.getOptionValue(t)):this.filteredOptions.indexOf(t)}setInitialValue(){if(this.value.length)if(this.isMulti)this.value.forEach(t=>{-1!==this.findFilteredOption(t)&&this.setSelectedOption(t)});else{const t=this.value[0],e=this.findFilteredOption(t);-1!==e&&(this.setSelectedOption(t),this.setInputValue(this.getOptionValue(t)),this.focusedIndex=e)}}isOptionObject(t){return"object"==typeof t&&null!==t}setOptionCustomContent(){if(this.isOptGroup){const t=[...this.querySelectorAll("optgroup")];let e=[];for(const o of t){const t=o.getAttribute("label"),i=[...o.querySelectorAll("[slot]")];e.push({isLabel:"true",[this.optionValue]:t,groupName:t});for(const o of i){const i=o.getAttribute("aria-label"),s=o.getAttribute("display-value"),l=o.getAttribute("slot");i&&s&&e.push({[this.optionId]:i,[this.optionValue]:s,isLabel:"false",groupName:t,slot:l})}}this.options=e}else this.customContent=[...this.querySelectorAll("[slot]")],this.customContent&&this.customContent.length?this.options=this.customContent.map(t=>{const e=t.getAttribute("aria-label"),o=t.getAttribute("display-value");if(e&&o)return{[this.optionId]:e,[this.optionValue]:o}}):this.options=[]}getOptionValue(t){return this.isOptionObject(t)?t[this.optionValue]:t}getOptionId(t){return this.isOptionObject(t)?t[this.optionId]:t}getFocusedItem(t){if(t>=0)return this.filteredOptions[t]}setupEvents(){document.addEventListener("click",this.handleOutsideClick),this.addEventListener("remove-all-selected",this.removeAllSelected),this.addEventListener("selected-changed",this.selectedChange)}teardownEvents(){document.removeEventListener("click",this.handleOutsideClick),this.removeEventListener("remove-all-selected",this.removeAllSelected),this.removeEventListener("selected-changed",this.selectedChange)}setVisualListbox(t){this.expanded=t}findSelectedOption(t){return this.optionId&&t?this.selectedOptions.findIndex(e=>e&&e[this.optionId]===t[this.optionId]):this.selectedOptions.indexOf(t)}findOptionIndex(t){const e=t.composedPath();return[...this.lists].findIndex(t=>e.includes(t))}setSelectedOption(t){this.isMulti||(this.selectedOptions=[]);const e=this.findSelectedOption(t);if(-1!==e){const t=this.selectedOptions[e];this.selectedOptions.splice(e,1),this.notifySelectedChange({value:t,selected:this.selectedOptions})}else this.selectedOptions.push(t),this.notifySelectedChange({value:t,selected:this.selectedOptions});this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()),this.requestUpdate()}filterOptions(t){if(t&&t.length){const e=this.options.filter(e=>this.isOptGroup&&"string"!=typeof e&&"true"===e.isLabel?e:(this.isCustomContent?this.getOptionId(e):this.getOptionValue(e)).toLowerCase().includes(t.toLowerCase()));return this.isOptGroup?e.filter(t=>{if("string"!=typeof t&&"true"===t.isLabel){return!!e.find(e=>{if("string"!=typeof t&&"string"!=typeof e)return t.groupName===e.groupName&&"false"===e.isLabel})}return!0}):e}return this.options}resizeListbox(){this.updateOnNextFrame(()=>{var t;if(this.lists){const t=[...this.lists].slice(0,this.visibleOptions).reduce((t,e)=>t+e.offsetHeight,0);this.listBox&&(this.listBox.style.maxHeight=t+"px")}if(this.labels&&this.lists){const t=[...this.labels].slice(0,this.visibleOptions).reduce((t,e)=>t+e.offsetHeight,0),e=[...this.lists].slice(0,this.visibleOptions).reduce((t,e)=>t+e.offsetHeight,0);this.listBox&&(this.listBox.style.maxHeight=e+t+"px")}if(this.showCustomError){const e=null===(t=this.listBox)||void 0===t?void 0:t.querySelector("[slot]");this.listBox&&e&&(this.listBox.style.height=e.clientHeight+"px",this.listBox.style.maxHeight=e.clientHeight+"px")}})}setInputValue(t=""){this.input.value=t}updateOnNextFrame(t){requestAnimationFrame(t)}unCheckedAllOptions(){this.isMulti&&(this.lists.forEach((t,e)=>this.unCheckedOption(e)),this.isSelectAllChecked=!1)}unCheckedOption(t){this.isMulti&&(this.lists[t].setAttribute("aria-checked","false"),this.notifySelectedChange({value:this.filteredOptions[t],selected:this.selectedOptions}))}checkAllOptions(){this.isMulti&&this.lists.forEach((t,e)=>this.checkOption(e))}checkOption(t){this.isMulti&&(this.lists[t].setAttribute("aria-checked","true"),this.notifySelectedChange({value:this.filteredOptions[t],selected:this.selectedOptions}))}isSelectAllSelected(){return this.selectedOptions.length===this.options.length}setFocusOnHost(t){this.setFocus&&this.setFocus(t)}isOptionFocused(t){return this.focusedIndex===t}getAriaState(t){return this.isOptionFocused(t)}scrollToOption(){var t,e;let o=0;const{top:i,bottom:s}=this.listBox.getBoundingClientRect(),l=this.lists[this.focusedIndex],n=null===(t=this.lists[this.focusedIndex+1]||l)||void 0===t?void 0:t.getBoundingClientRect(),r=null===(e=this.lists[this.focusedIndex-1]||l)||void 0===e?void 0:e.getBoundingClientRect();n.bottom>s?o=n.bottom-s+2:r.top<i&&(o=r.top-i-2),this.updateOnNextFrame(()=>{this.listBox.scrollTop+=o})}getCustomContentName(t){const e=this.options.indexOf(t);if(this.isOptGroup){const t=this.options[e];if(t&&"string"!=typeof t)return t.slot}else if(-1!==e)return this.customContent[e].slot}setInputSelectionRange(t,e){this.input.setSelectionRange(t,e)}isOptionChecked(t){return-1!==this.findSelectedOption(t)?"true":"false"}getInputSelection(){return this.input.selectionStart}canMultiSelect(){return 0===this.getInputSelection()&&0!==this.selectedOptions.length&&this.isMulti}removeMultiTag(){this.selected&&this.multiSelected.forEach(t=>{const e=this.selected[t];e&&e.hasAttribute("selected")&&this.removeSelected(this.selectedOptions[t])})}unselectedAllMultiTag(){this.selected&&this.selected.forEach(t=>t.removeAttribute("selected")),this.multiSelectedIndex=-1}findLastMultiSelected(){return this.selected[this.multiSelectedIndex]}toggleMultiSelectedTag(t,e){t&&t.toggleAttribute("selected",e)}selectMultiTag(t){if(this.canMultiSelect()){if(!t){this.multiSelected=[];const t=this.findLastMultiSelected();this.toggleMultiSelectedTag(t,!1)}this.multiSelectedIndex<=0?this.multiSelectedIndex=this.selectedOptions.length-1:this.multiSelectedIndex--,this.multiSelected.push(this.multiSelectedIndex);const e=this.findLastMultiSelected();this.toggleMultiSelectedTag(e,!0)}}handleListClick(t){return g(this,void 0,void 0,(function*(){this.dispatchEvent(new CustomEvent("selected-changed",{detail:{event:t}})),yield this.updateComplete,this.isMulti?this.setVisualListbox(!0):this.setVisualListbox(!1),this.updateOnNextFrame(()=>{this.input.focus()})}))}handleSelectAll(){return g(this,void 0,void 0,(function*(){(0===this.selectedOptions.length||this.isSelectAllSelected())&&(this.isSelectAllChecked=!this.isSelectAllChecked,this.isSelectAllChecked?(this.selectedOptions=[...this.options],this.checkAllOptions()):(this.selectedOptions=[],this.unCheckedAllOptions()),yield this.updateComplete,this.setVisualListbox(!0),this.notifySelectedChange({selected:this.selectedOptions}))}))}handleInputKeyUp(t){switch(t.code){case s.a.Escape:return;case s.a.Backspace:this.setFocusOnHost(!0),this.setVisualListbox(!0),this.resizeListbox(),this.removeMultiTag();break;case s.a.ArrowLeft:this.isMulti&&(t.shiftKey?this.selectMultiTag(!0):this.selectMultiTag(!1));break;default:this.isMulti&&this.unselectedAllMultiTag()}}handleInput(t){const e=t.target.value;this.inputValue=e,this.notifyInputValueChanged(e)}removeAllSelected(){this.focusedIndex=-1,this.selectedOptions=[],this.inputValue="",this.setInputValue(),this.setVisualListbox(!1),this.unCheckedAllOptions(),this.updateOnNextFrame(()=>{this.input.focus()}),this.notifySelectedChange({selected:this.selectedOptions})}removeSelected(t){const e=this.findSelectedOption(t),o=this.filteredOptions.indexOf(t);-1!==o&&this.unCheckedOption(o),-1!==e&&(this.selectedOptions.splice(e,1),this.requestUpdate()),this.updateOnNextFrame(()=>{this.input.focus()})}selectedChange(t){const{event:e}=t.detail;let o=this.findOptionIndex(e);if(-1!==o){this.focusedIndex=o,this.isMulti&&this.allowSelectAll&&(o-=1);const t=this.getFocusedItem(o);t&&(this.setSelectedOption(t),this.isMulti?this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()):this.setInputValue(this.getOptionValue(t)))}}shouldChangeButton(){return this.input&&this.input.value.length>0&&!this.noClearIcon||this.isMulti&&this.selectedOptions.length&&!this.noClearIcon}setCustomValue(){this.optionId||this.optionValue||(this.options=[...this.options,this.inputValue],this.setSelectedOption(this.inputValue),this.isMulti||this.updateOnNextFrame(()=>{this.focusedIndex=this.filteredOptions.length-1;const t=this.getFocusedItem(this.focusedIndex);t&&this.setInputValue(this.getOptionValue(t))}),this.dispatchEvent(new CustomEvent("custom-value-add",{composed:!0,bubbles:!0,detail:{value:this.inputValue}}))),this.inputValue=""}handleInputKeyDown(t){switch(t.code){case s.a.Backspace:this.focusedIndex=-1;break;case s.a.Tab:case s.a.Enter:this.setFocusOnHost(!0),this.setVisualListbox(!1),this.updateOnNextFrame(()=>{const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);if(this.allowCustomValue&&this.input&&this.input.value.length){if(-1===this.findFilteredOption(this.inputValue))return void this.setCustomValue()}t&&(this.setSelectedOption(t),this.showSelectedCount||this.setInputValue(this.getOptionValue(t))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll()});break;case s.a.ArrowDown:this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame(()=>{-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const t=this.getFocusedItem(this.focusedIndex);!this.showSelectedCount&&t&&this.setInputValue(this.getOptionValue(t))});break;case s.a.ArrowUp:this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame(()=>{this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const t=this.getFocusedItem(this.focusedIndex);t&&!this.showSelectedCount&&this.setInputValue(this.getOptionValue(t))});break;case s.a.Escape:this.setFocusOnHost(!0),this.expanded?(t.stopPropagation(),this.setVisualListbox(!1)):(this.setInputValue(),this.focusedIndex=-1,this.removeAllSelected());break;case s.a.Home:this.setInputSelectionRange(0,0);break;case s.a.End:{const{length:t}=this.inputValue;this.setInputSelectionRange(t,t)}break;case s.a.Space:if(this.isMulti){t.preventDefault();const e=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);e&&(this.setSelectedOption(e),this.showSelectedCount||this.setInputValue()),0===this.focusedIndex&&this.allowSelectAll&&this.handleSelectAll()}break;default:this.setVisualListbox(!0)}}toggleVisualListBox(){this.expanded?this.setVisualListbox(!1):this.setVisualListbox(!0),this.input.focus()}handleRemoveAll(t){t.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}connectedCallback(){super.connectedCallback(),this.setupEvents();this.querySelector("optgroup")&&(this.isOptGroup=!0)}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}static get styles(){return[c.a,m]}get listItemOptionMap(){return{"md-combobox-multiselect":this.isMulti}}get filteredOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter(t=>!this.isOptGroup||("string"!=typeof t?"false"===t.isLabel:void 0))}get comboBoxTemplateClassMap(){return{["md-combobox--"+this.shape]:!!this.shape,"md-combobox-searchable":this.searchable}}searchIconTemplate(){return a.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[36],{77:function(t,e,o){"use strict";o.r(e),o.d(e,"ComboBox",(function(){return i}));o(50),o(15);var i,s=o(1),l=o(7),n=o(5),r=o(18),c=o(4),a=o(0),d=o(2),p=o(3),h=o(6),u=o(14),b=o(9),m=o(123),x=a.css`:host{--combobox-input-clear-bg:var(--combobox-group-button-bg-color, $lm-combobox-group-button-bg-color-light)}:host() .group{background:var(--combobox-bg-color,#fff)}:host(:focus){box-shadow:none!important;outline:0!important}:host([focus-visible]) .group{border-color:var(--combobox-focus-border-color,#005e7d);box-shadow:none}:host([disabled]) .group,:host([disabled]) .group:active,:host([disabled]) .group:hover{background:var(--combobox-disabled-bg-color,#ededed);pointer-events:none}:host([disabled]) .group:active>md-icon,:host([disabled]) .group:hover>md-icon,:host([disabled]) .group>md-icon{opacity:.3}:host([expanded]) .md-combobox-button.arrow-down{transform:rotate(180deg)}:host([invalid]) .group,:host([invalid]) .group:active,:host([invalid]) .group:hover{background:var(--combobox-invalid-bg-color,#ffe8e3);border-color:var(--combobox-invalid-border-color,#f7644a)}:host([invalid]) .md-combobox-error{padding:.1875rem 0 0 .75rem}.md-combobox-list{position:relative;height:2rem}.md-combobox .group{align-items:start;background:var(--combobox-bg-color,#fff);border:1px solid var(--combobox-border-color,#b2b2b2);border-radius:var(--combobox-group-radius,.25rem);display:flex;padding:0 .75rem;height:2.125rem}.md-combobox .group md-icon{color:var(--md-secondary-text-color,#545454);cursor:pointer;fill:var(--md-secondary-text-color,#545454);height:1.75rem;padding:calc(.25rem / 2)}.md-combobox .group md-icon:focus{box-shadow:none;outline:0;box-shadow:0 0 0 .125rem var(--md-focus-border-color,#91ebff)}.md-combobox .group:hover{background:var(--combobox-hover-bg-color,#dedede)}.md-combobox .group:active{background:var(--combobox-pressed-bg-color,#ccc)}.md-combobox .group.multiselect:hover{background:var(--combobox-bg-color,#fff)}.md-combobox .group.multiselect:active{background:var(--combobox-bg-color,#fff)}.md-combobox .md-combobox-button[disabled] md-icon{color:var(--md-disabled-text-color,#b2b2b2)}.md-combobox--pill .group{border-radius:18px}.md-combobox-button{transition:all .15s linear;background:0 0;border:0;cursor:pointer;margin:0;margin-left:calc(.25rem * 2);outline:0;padding:0;padding-top:calc(.25rem / 2);position:relative;vertical-align:bottom;height:inherit;display:flex}.md-combobox-button .md-input__icon-clear{display:flex;align-items:center;height:inherit}.md-combobox-button md-icon{color:var(--combobox-dropdown-item-icon-color,#121212)}.md-combobox-button.arrow-down:focus,.md-combobox-button.clear:focus{outline:2px solid var(--button-focus-ring-color,#007aa3)}ul{background-color:var(--combobox-dropdown-bg-color,#fff);border:1px solid var(--combobox-border-color,#b2b2b2);border-radius:.5rem;box-shadow:0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16);box-sizing:border-box;font-size:14px;left:0;list-style:none;margin:0;overflow:auto;overflow-x:hidden;padding:0;position:absolute;top:calc(100% + .25rem);width:100%}ul .no-result{padding:.4375rem .75rem .5rem}.md-combobox-multi-input{width:initial}.highlight-text{font-weight:700}.selected-label-text{white-space:pre-wrap}.group-label{font-weight:400;font-size:14px;line-height:19px;color:var(--combobox-group-label-color);padding:9px 16px;border-top:1px solid var(--combobox-group-label-border-color);border-bottom:1px solid var(--combobox-group-label-border-color);display:block;width:100%;background-color:var(--combobox-group-label-bg-color)}.group-label:hover{background:unset}.md-combobox-option{align-items:center;color:var(--md-primary-text-color,#f7f7f7);display:flex;margin:0;outline:0;padding:.4375rem .75rem .5rem;width:100%}.md-combobox-option .select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;display:block;letter-spacing:normal;width:calc(100% - 1.25rem)}.md-combobox-option .select-label span{margin-right:-.25rem;white-space:nowrap}.md-combobox-option .select-option{background:var(--combobox-dropdown-item-select-bg-color,#fff);border:1px solid var(--combobox-border-color,#b2b2b2);border-radius:calc(.5rem / 2);box-sizing:border-box;cursor:pointer;display:inline-block;height:1.25rem;margin-right:1rem;min-width:1.25rem;position:relative}.md-combobox-option .select-option md-icon{height:1.125rem;left:.125rem;position:absolute;top:-.1875rem;vertical-align:top;visibility:hidden}.md-combobox-option .indeterminate{background:var(--combobox-dropdown-item-checked-bg-color,#00a0d1);border:1px solid var(--combobox-dropdown-item-checked-bg-color,#00a0d1)}.md-combobox-option .indeterminate md-icon{color:var(--combobox-dropdown-item-checked-icon-color,#fff);visibility:visible}.md-combobox-option:hover{background:var(--combobox-dropdown-item-hover-bg-color,#c9f4ff)}.md-combobox-option.md-combobox-multiselect{border-bottom:1px solid var(--md-button-tertiary-outline-color,#545454)}.md-combobox-option[aria-checked=true] .select-option{background:var(--combobox-dropdown-item-checked-bg-color,#00a0d1);border:1px solid var(--combobox-dropdown-item-checked-bg-color,#00a0d1)}.md-combobox-option[aria-checked=true] .select-option md-icon{color:var(--combobox-dropdown-item-checked-icon-color,#fff);visibility:visible}.md-combobox-option[focused]{background:var(--combobox-dropdown-item-focus-bg-color,#91ebff)}.md-combobox__multiwrap{align-items:center;display:inline-flex;flex:1 1 auto;margin-left:0;max-height:calc(1.25rem * 4.5)}.md-combobox__multiwrap .selected-count{color:var(--md-primary-text-color,#f7f7f7)}.md-combobox__multiwrap .md-combobox-selected-item{align-items:center;background:var(--combobox-selected-bg-color,#dedede);border:1px solid var(--combobox-selected-border-color,#ccc);border-radius:.875rem;box-sizing:border-box;cursor:pointer;display:flex;font-size:12px;margin-bottom:calc(.25rem / 2);margin-right:.25rem;margin-top:.25rem;max-height:1.5rem;padding:0 .75rem}.md-combobox__multiwrap .md-combobox-selected-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:calc(1.25rem * 4)}.md-combobox__multiwrap .md-combobox-selected-item .remove-item{height:1.5rem}.md-combobox__multiwrap .md-combobox-selected-item:hover{background:var(--combobox-selected-hover,#b2b2b2)}.md-combobox__multiwrap .md-combobox-selected-item[selected]{background:var(--combobox-selected-hover,#b2b2b2)}.md-combobox__multiwrap input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;color:var(--md-secondary-text-color,#545454);display:inline-block;flex:1 1 auto;height:2rem;outline:0}.md-combobox__multiwrap ::input-placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:calc(100%)}.md-combobox__multiwrap .remove-item{padding-left:calc(.25rem * 3)}.md-combobox-searchable .md-combobox__multiwrap{margin-left:calc(.25rem * 3)}`,g=function(t,e,o,i){var s,l=arguments.length,n=l<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,o,n):s(e,o))||n);return l>3&&n&&Object.defineProperty(e,o,n),n},f=function(t,e,o,i){return new(o||(o=Promise))((function(s,l){function n(t){try{c(i.next(t))}catch(t){l(t)}}function r(t){try{c(i.throw(t))}catch(t){l(t)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(n,r)}c((i=i.apply(t,e||[])).next())}))};!function(t){let e=class extends(Object(l.a)(a.LitElement)){constructor(){super(...arguments),this._focusedIndex=-1,this.label="Options",this.options=[],this.customOptions=[],this.placeholder="",this.isMulti=!1,this.disabled=!1,this.ordered=!1,this.expanded=!1,this.compact=!1,this.noClearIcon=!1,this.selectWhenInFocus=!1,this.selectedOptions=[],this.visibleOptions=8,this.optionId="",this.optionValue="",this.isCustomContent=!1,this.searchable=!1,this.shape="none",this.value=[],this.inputValue="",this.allowCustomValue=!1,this.autofocus=!1,this.resultsTextLocalization="No Results",this.optionsTextLocalization="No Options",this.trimSpace=!1,this.invalid=!1,this.invalidText="",this.ariaLabel="Combobox Input",this.clearAriaLabel="Clear",this.arrowAriaLabel="Expand",this.allTextLocalization="All",this.selectAllTextLocalization="Select All",this.selectedTextLocalization="Selected",this.allowSelectAll=!1,this.showCustomError=!1,this.showSelectedCount=!1,this.isOptGroup=!1,this.isSelectAllChecked=!1,this.multiSelectedIndex=-1,this.multiSelected=[],this.customContent=[],this.notifySelectedChange=Object(r.b)(t=>{this.dispatchEvent(new CustomEvent("change-selected",{composed:!0,bubbles:!0,detail:t}))},0),this.notifyInputValueChanged=Object(r.b)(t=>{this.dispatchEvent(new CustomEvent("combobox-input",{composed:!0,bubbles:!0,detail:{value:t}}))},250),this.handleOutsideClick=t=>{let e=!1;const o=t.composedPath();o.length&&(e=!!o.find(t=>t===this),e||(this.setVisualListbox(!1),this.unselectedAllMultiTag()))}}get focusedIndex(){return this._focusedIndex}set focusedIndex(t){const e=this._focusedIndex;if(this.lists){const o=this.lists[e];o&&o.toggleAttribute("focused",!1);const i=this.lists[t];i&&i.toggleAttribute("focused",!0)}this._focusedIndex=t,this.requestUpdate("focusedIndex",e)}firstUpdated(t){super.firstUpdated(t),this.setAttribute("tabindex","0"),this.isCustomContent&&(this.optionId="id",this.optionValue="value",this.setOptionCustomContent()),this.setInitialValue()}updated(t){super.updated(t),t.has("expanded")&&this.expanded&&this.resizeListbox(),t.has("focusedIndex")&&this.focusedIndex>=0&&this.scrollToOption(),t.has("value")&&0===this.selectedOptions.length&&this.setInitialValue(),t.has("customOptions")&&this.isCustomContent&&(this.setOptionCustomContent(),this.resizeListbox())}handleFocusIn(t){this.disabled||(requestAnimationFrame(()=>{this.input.focus()}),this.selectWhenInFocus&&this.input.select(),super.handleFocusIn&&super.handleFocusIn(t)),this.dispatchEvent(new CustomEvent("combobox-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(t){super.handleFocusOut&&super.handleFocusOut(t),this.dispatchEvent(new CustomEvent("combobox-focus-out",{composed:!0,bubbles:!0}))}findFilteredOption(t){return this.isOptionObject(t)?this.filteredOptions.findIndex(e=>this.getOptionId(e)===this.getOptionId(t)&&this.getOptionValue(e)===this.getOptionValue(t)):this.filteredOptions.indexOf(t)}setInitialValue(){if(this.value.length)if(this.isMulti)this.value.forEach(t=>{-1!==this.findFilteredOption(t)&&this.setSelectedOption(t)});else{const t=this.value[0],e=this.findFilteredOption(t);-1!==e&&(this.setSelectedOption(t),this.setInputValue(this.getOptionValue(t)),this.focusedIndex=e)}}isOptionObject(t){return"object"==typeof t&&null!==t}setOptionCustomContent(){if(this.isOptGroup){const t=[...this.querySelectorAll("optgroup")];let e=[];for(const o of t){const t=o.getAttribute("label"),i=[...o.querySelectorAll("[slot]")];e.push({isLabel:"true",[this.optionValue]:t,groupName:t});for(const o of i){const i=o.getAttribute("aria-label"),s=o.getAttribute("display-value"),l=o.getAttribute("slot");i&&s&&e.push({[this.optionId]:i,[this.optionValue]:s,isLabel:"false",groupName:t,slot:l})}}this.options=e}else this.customContent=[...this.querySelectorAll("[slot]")],this.customContent&&this.customContent.length?this.options=this.customContent.map(t=>{const e=t.getAttribute("aria-label"),o=t.getAttribute("display-value");if(e&&o)return{[this.optionId]:e,[this.optionValue]:o}}):this.options=[]}getOptionValue(t){return this.isOptionObject(t)?t[this.optionValue]:t}getOptionId(t){return this.isOptionObject(t)?t[this.optionId]:t}getFocusedItem(t){if(t>=0)return this.filteredOptions[t]}setupEvents(){document.addEventListener("click",this.handleOutsideClick),this.addEventListener("remove-all-selected",this.removeAllSelected),this.addEventListener("selected-changed",this.selectedChange)}teardownEvents(){document.removeEventListener("click",this.handleOutsideClick),this.removeEventListener("remove-all-selected",this.removeAllSelected),this.removeEventListener("selected-changed",this.selectedChange)}setVisualListbox(t){this.expanded=t}findSelectedOption(t){return this.optionId&&t?this.selectedOptions.findIndex(e=>e&&e[this.optionId]===t[this.optionId]):this.selectedOptions.indexOf(t)}findOptionIndex(t){const e=t.composedPath();return[...this.lists].findIndex(t=>e.includes(t))}setSelectedOption(t){this.isMulti||(this.selectedOptions=[]);const e=this.findSelectedOption(t);if(-1!==e){const t=this.selectedOptions[e];this.selectedOptions.splice(e,1),this.notifySelectedChange({value:t,selected:this.selectedOptions})}else this.selectedOptions.push(t),this.notifySelectedChange({value:t,selected:this.selectedOptions});this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()),this.requestUpdate()}filterOptions(t){if(t&&t.length){const e=this.options.filter(e=>this.isOptGroup&&"string"!=typeof e&&"true"===e.isLabel?e:(this.isCustomContent?this.getOptionId(e):this.getOptionValue(e)).toLowerCase().includes(t.toLowerCase()));return this.isOptGroup?e.filter(t=>{if("string"!=typeof t&&"true"===t.isLabel){return!!e.find(e=>{if("string"!=typeof t&&"string"!=typeof e)return t.groupName===e.groupName&&"false"===e.isLabel})}return!0}):e}return this.options}resizeListbox(){this.updateOnNextFrame(()=>{var t;if(this.lists){const t=[...this.lists].slice(0,this.visibleOptions).reduce((t,e)=>t+e.offsetHeight,0);this.listBox&&(this.listBox.style.maxHeight=t+"px")}if(this.labels&&this.lists){const t=[...this.labels].slice(0,this.visibleOptions).reduce((t,e)=>t+e.offsetHeight,0),e=[...this.lists].slice(0,this.visibleOptions).reduce((t,e)=>t+e.offsetHeight,0);this.listBox&&(this.listBox.style.maxHeight=e+t+"px")}if(this.showCustomError){const e=null===(t=this.listBox)||void 0===t?void 0:t.querySelector("[slot]");this.listBox&&e&&(this.listBox.style.height=e.clientHeight+"px",this.listBox.style.maxHeight=e.clientHeight+"px")}})}setInputValue(t=""){this.input.value=t}updateOnNextFrame(t){requestAnimationFrame(t)}unCheckedAllOptions(){this.isMulti&&(this.lists.forEach((t,e)=>this.unCheckedOption(e)),this.isSelectAllChecked=!1)}unCheckedOption(t){this.isMulti&&(this.lists[t].setAttribute("aria-checked","false"),this.notifySelectedChange({value:this.filteredOptions[t],selected:this.selectedOptions}))}checkAllOptions(){this.isMulti&&this.lists.forEach((t,e)=>this.checkOption(e))}checkOption(t){this.isMulti&&(this.lists[t].setAttribute("aria-checked","true"),this.notifySelectedChange({value:this.filteredOptions[t],selected:this.selectedOptions}))}isSelectAllSelected(){return this.selectedOptions.length===this.options.length}setFocusOnHost(t){this.setFocus&&this.setFocus(t)}isOptionFocused(t){return this.focusedIndex===t}getAriaState(t){return this.isOptionFocused(t)}scrollToOption(){var t,e;let o=0;const{top:i,bottom:s}=this.listBox.getBoundingClientRect(),l=this.lists[this.focusedIndex],n=null===(t=this.lists[this.focusedIndex+1]||l)||void 0===t?void 0:t.getBoundingClientRect(),r=null===(e=this.lists[this.focusedIndex-1]||l)||void 0===e?void 0:e.getBoundingClientRect();n.bottom>s?o=n.bottom-s+2:r.top<i&&(o=r.top-i-2),this.updateOnNextFrame(()=>{this.listBox.scrollTop+=o})}getCustomContentName(t){const e=this.options.indexOf(t);if(this.isOptGroup){const t=this.options[e];if(t&&"string"!=typeof t)return t.slot}else if(-1!==e)return this.customContent[e].slot}setInputSelectionRange(t,e){this.input.setSelectionRange(t,e)}isOptionChecked(t){return-1!==this.findSelectedOption(t)?"true":"false"}getInputSelection(){return this.input.selectionStart}canMultiSelect(){return 0===this.getInputSelection()&&0!==this.selectedOptions.length&&this.isMulti}removeMultiTag(){this.selected&&this.multiSelected.forEach(t=>{const e=this.selected[t];e&&e.hasAttribute("selected")&&this.removeSelected(this.selectedOptions[t])})}unselectedAllMultiTag(){this.selected&&this.selected.forEach(t=>t.removeAttribute("selected")),this.multiSelectedIndex=-1}findLastMultiSelected(){return this.selected[this.multiSelectedIndex]}toggleMultiSelectedTag(t,e){t&&t.toggleAttribute("selected",e)}selectMultiTag(t){if(this.canMultiSelect()){if(!t){this.multiSelected=[];const t=this.findLastMultiSelected();this.toggleMultiSelectedTag(t,!1)}this.multiSelectedIndex<=0?this.multiSelectedIndex=this.selectedOptions.length-1:this.multiSelectedIndex--,this.multiSelected.push(this.multiSelectedIndex);const e=this.findLastMultiSelected();this.toggleMultiSelectedTag(e,!0)}}handleListClick(t){return f(this,void 0,void 0,(function*(){this.dispatchEvent(new CustomEvent("selected-changed",{detail:{event:t}})),yield this.updateComplete,this.isMulti?this.setVisualListbox(!0):this.setVisualListbox(!1),this.updateOnNextFrame(()=>{this.input.focus()})}))}handleSelectAll(){return f(this,void 0,void 0,(function*(){(0===this.selectedOptions.length||this.isSelectAllSelected())&&(this.isSelectAllChecked=!this.isSelectAllChecked,this.isSelectAllChecked?(this.selectedOptions=[...this.options],this.checkAllOptions()):(this.selectedOptions=[],this.unCheckedAllOptions()),yield this.updateComplete,this.setVisualListbox(!0),this.notifySelectedChange({selected:this.selectedOptions}))}))}handleInputKeyUp(t){switch(t.code){case s.a.Escape:return;case s.a.Backspace:this.setFocusOnHost(!0),this.setVisualListbox(!0),this.resizeListbox(),this.removeMultiTag();break;case s.a.ArrowLeft:this.isMulti&&(t.shiftKey?this.selectMultiTag(!0):this.selectMultiTag(!1));break;default:this.isMulti&&this.unselectedAllMultiTag()}}handleInput(t){const e=t.target.value;this.inputValue=e,this.notifyInputValueChanged(e)}removeAllSelected(){this.focusedIndex=-1,this.selectedOptions=[],this.inputValue="",this.setInputValue(),this.setVisualListbox(!1),this.unCheckedAllOptions(),this.updateOnNextFrame(()=>{this.input.focus()}),this.notifySelectedChange({selected:this.selectedOptions})}removeSelected(t){const e=this.findSelectedOption(t),o=this.filteredOptions.indexOf(t);-1!==o&&this.unCheckedOption(o),-1!==e&&(this.selectedOptions.splice(e,1),this.requestUpdate()),this.updateOnNextFrame(()=>{this.input.focus()})}selectedChange(t){const{event:e}=t.detail;let o=this.findOptionIndex(e);if(-1!==o){this.focusedIndex=o,this.isMulti&&this.allowSelectAll&&(o-=1);const t=this.getFocusedItem(o);t&&(this.setSelectedOption(t),this.isMulti?this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()):this.setInputValue(this.getOptionValue(t)))}}shouldChangeButton(){return this.input&&this.input.value.length>0&&!this.noClearIcon||this.isMulti&&this.selectedOptions.length&&!this.noClearIcon}setCustomValue(){this.optionId||this.optionValue||(this.options=[...this.options,this.inputValue],this.setSelectedOption(this.inputValue),this.isMulti||this.updateOnNextFrame(()=>{this.focusedIndex=this.filteredOptions.length-1;const t=this.getFocusedItem(this.focusedIndex);t&&this.setInputValue(this.getOptionValue(t))}),this.dispatchEvent(new CustomEvent("custom-value-add",{composed:!0,bubbles:!0,detail:{value:this.inputValue}}))),this.inputValue=""}handleInputKeyDown(t){switch(t.code){case s.a.Backspace:this.focusedIndex=-1;break;case s.a.Tab:case s.a.Enter:this.setFocusOnHost(!0),this.setVisualListbox(!1),this.updateOnNextFrame(()=>{const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);if(this.allowCustomValue&&this.input&&this.input.value.length){if(-1===this.findFilteredOption(this.inputValue))return void this.setCustomValue()}t&&(this.setSelectedOption(t),this.showSelectedCount||this.setInputValue(this.getOptionValue(t))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll()});break;case s.a.ArrowDown:this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame(()=>{-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const t=this.getFocusedItem(this.focusedIndex);!this.showSelectedCount&&t&&this.setInputValue(this.getOptionValue(t))});break;case s.a.ArrowUp:this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame(()=>{this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const t=this.getFocusedItem(this.focusedIndex);t&&!this.showSelectedCount&&this.setInputValue(this.getOptionValue(t))});break;case s.a.Escape:this.setFocusOnHost(!0),this.expanded?(t.stopPropagation(),this.setVisualListbox(!1)):(this.setInputValue(),this.focusedIndex=-1,this.removeAllSelected());break;case s.a.Home:this.setInputSelectionRange(0,0);break;case s.a.End:{const{length:t}=this.inputValue;this.setInputSelectionRange(t,t)}break;case s.a.Space:if(this.isMulti){t.preventDefault();const e=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);e&&(this.setSelectedOption(e),this.showSelectedCount||this.setInputValue()),0===this.focusedIndex&&this.allowSelectAll&&this.handleSelectAll()}break;default:this.setVisualListbox(!0)}}toggleVisualListBox(t){var e,o;if(t.target.classList.contains("md-combobox-listbox"))t.target.focus();else if("md-icon"===t.target.localName){const i=null===(o=null===(e=t.target.parentElement)||void 0===e?void 0:e.parentElement)||void 0===o?void 0:o.parentElement;if(i){const t=i.querySelector(".md-combobox-listbox");Object(m.setTimeout)(()=>{t.focus()},10)}}this.expanded?this.setVisualListbox(!1):this.setVisualListbox(!0),this.input.focus()}handleRemoveAll(t){t.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}connectedCallback(){super.connectedCallback(),this.setupEvents();this.querySelector("optgroup")&&(this.isOptGroup=!0)}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}static get styles(){return[c.a,x]}get listItemOptionMap(){return{"md-combobox-multiselect":this.isMulti}}get filteredOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter(t=>!this.isOptGroup||("string"!=typeof t?"false"===t.isLabel:void 0))}get comboBoxTemplateClassMap(){return{["md-combobox--"+this.shape]:!!this.shape,"md-combobox-searchable":this.searchable}}searchIconTemplate(){return a.html`
2
2
  <md-icon name="icon-search_16" @click=${this.toggleVisualListBox}></md-icon>
3
3
  `}selectedOptionTemplate(t){return a.html`
4
4
  <div class="md-combobox-selected-item">
@@ -12,7 +12,7 @@
12
12
  aria-label=${this.clearAriaLabel}
13
13
  aria-expanded=${this.expanded}
14
14
  aria-controls="md-combobox-listbox"
15
- tabindex="-1"
15
+ tabindex="0"
16
16
  ?disabled=${this.disabled}
17
17
  @click=${this.handleRemoveAll}
18
18
  >
@@ -25,7 +25,7 @@
25
25
  aria-label=${this.arrowAriaLabel}
26
26
  aria-expanded=${this.expanded}
27
27
  aria-controls="md-combobox-listbox"
28
- tabindex="-1"
28
+ tabindex="0"
29
29
  ?disabled=${this.disabled}
30
30
  @click=${this.toggleVisualListBox}
31
31
  >
@@ -155,4 +155,4 @@
155
155
  <md-help-text .message=${this.invalidText} messageType="error"></md-help-text>
156
156
  </div>
157
157
  `:d.nothing}
158
- `}};x([Object(a.property)({type:String})],e.prototype,"label",void 0),x([Object(a.property)({type:Array})],e.prototype,"options",void 0),x([Object(a.property)({type:Array,attribute:"custom-options"})],e.prototype,"customOptions",void 0),x([Object(a.property)({type:String})],e.prototype,"placeholder",void 0),x([Object(a.property)({type:Boolean,attribute:"is-multi"})],e.prototype,"isMulti",void 0),x([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),x([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"ordered",void 0),x([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"expanded",void 0),x([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"compact",void 0),x([Object(a.property)({type:Boolean,attribute:"no-clear-icon"})],e.prototype,"noClearIcon",void 0),x([Object(a.property)({type:Boolean,attribute:"select-when-in-focus"})],e.prototype,"selectWhenInFocus",void 0),x([Object(a.property)({type:Array})],e.prototype,"selectedOptions",void 0),x([Object(a.property)({type:Number,attribute:"visible-option",reflect:!0})],e.prototype,"visibleOptions",void 0),x([Object(a.property)({type:String,attribute:"option-id",reflect:!0})],e.prototype,"optionId",void 0),x([Object(a.property)({type:String,attribute:"option-value",reflect:!0})],e.prototype,"optionValue",void 0),x([Object(a.property)({type:Boolean,attribute:"with-custom-content"})],e.prototype,"isCustomContent",void 0),x([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"searchable",void 0),x([Object(a.property)({type:String})],e.prototype,"shape",void 0),x([Object(a.property)({type:Array})],e.prototype,"value",void 0),x([Object(a.property)({type:String,attribute:"input-value",reflect:!0})],e.prototype,"inputValue",void 0),x([Object(a.property)({type:Boolean,attribute:"allow-custom-value",reflect:!0})],e.prototype,"allowCustomValue",void 0),x([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),x([Object(a.property)({type:String,attribute:"no-results-i18n"})],e.prototype,"resultsTextLocalization",void 0),x([Object(a.property)({type:String,attribute:"no-options-i18n"})],e.prototype,"optionsTextLocalization",void 0),x([Object(a.property)({type:Boolean,reflect:!0,attribute:"search-trim-space"})],e.prototype,"trimSpace",void 0),x([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"invalid",void 0),x([Object(a.property)({type:String,reflect:!0,attribute:"invalid-text-i18n"})],e.prototype,"invalidText",void 0),x([Object(a.property)({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",void 0),x([Object(a.property)({type:String,attribute:"clear-aria-label"})],e.prototype,"clearAriaLabel",void 0),x([Object(a.property)({type:String,attribute:"arrow-aria-label"})],e.prototype,"arrowAriaLabel",void 0),x([Object(a.property)({type:String,attribute:"all-i18n"})],e.prototype,"allTextLocalization",void 0),x([Object(a.property)({type:String,attribute:"select-all-i18n"})],e.prototype,"selectAllTextLocalization",void 0),x([Object(a.property)({type:String,attribute:"selected-all-i18n"})],e.prototype,"selectedTextLocalization",void 0),x([Object(a.property)({type:Boolean,attribute:"allow-select-all",reflect:!0})],e.prototype,"allowSelectAll",void 0),x([Object(a.property)({type:Boolean,attribute:"show-custom-error",reflect:!0})],e.prototype,"showCustomError",void 0),x([Object(a.property)({type:Boolean,attribute:"show-selected-count",reflect:!0})],e.prototype,"showSelectedCount",void 0),x([Object(a.property)({type:Number,attribute:!1}),Object(a.internalProperty)()],e.prototype,"isOptGroup",void 0),x([Object(a.internalProperty)()],e.prototype,"isSelectAllChecked",void 0),x([Object(a.query)(".group")],e.prototype,"group",void 0),x([Object(a.query)(".md-combobox-listbox")],e.prototype,"input",void 0),x([Object(a.query)(".md-combobox-button")],e.prototype,"button",void 0),x([Object(a.query)("ul[role='listbox'")],e.prototype,"listBox",void 0),x([Object(a.queryAll)("li[role='option']")],e.prototype,"lists",void 0),x([Object(a.queryAll)(".group-label")],e.prototype,"labels",void 0),x([Object(a.queryAll)(".md-combobox-selected-item")],e.prototype,"selected",void 0),e=x([Object(n.a)("md-combobox")],e),t.ELEMENT=e}(i||(i={}))}}]);
158
+ `}};g([Object(a.property)({type:String})],e.prototype,"label",void 0),g([Object(a.property)({type:Array})],e.prototype,"options",void 0),g([Object(a.property)({type:Array,attribute:"custom-options"})],e.prototype,"customOptions",void 0),g([Object(a.property)({type:String})],e.prototype,"placeholder",void 0),g([Object(a.property)({type:Boolean,attribute:"is-multi"})],e.prototype,"isMulti",void 0),g([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),g([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"ordered",void 0),g([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"expanded",void 0),g([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"compact",void 0),g([Object(a.property)({type:Boolean,attribute:"no-clear-icon"})],e.prototype,"noClearIcon",void 0),g([Object(a.property)({type:Boolean,attribute:"select-when-in-focus"})],e.prototype,"selectWhenInFocus",void 0),g([Object(a.property)({type:Array})],e.prototype,"selectedOptions",void 0),g([Object(a.property)({type:Number,attribute:"visible-option",reflect:!0})],e.prototype,"visibleOptions",void 0),g([Object(a.property)({type:String,attribute:"option-id",reflect:!0})],e.prototype,"optionId",void 0),g([Object(a.property)({type:String,attribute:"option-value",reflect:!0})],e.prototype,"optionValue",void 0),g([Object(a.property)({type:Boolean,attribute:"with-custom-content"})],e.prototype,"isCustomContent",void 0),g([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"searchable",void 0),g([Object(a.property)({type:String})],e.prototype,"shape",void 0),g([Object(a.property)({type:Array})],e.prototype,"value",void 0),g([Object(a.property)({type:String,attribute:"input-value",reflect:!0})],e.prototype,"inputValue",void 0),g([Object(a.property)({type:Boolean,attribute:"allow-custom-value",reflect:!0})],e.prototype,"allowCustomValue",void 0),g([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),g([Object(a.property)({type:String,attribute:"no-results-i18n"})],e.prototype,"resultsTextLocalization",void 0),g([Object(a.property)({type:String,attribute:"no-options-i18n"})],e.prototype,"optionsTextLocalization",void 0),g([Object(a.property)({type:Boolean,reflect:!0,attribute:"search-trim-space"})],e.prototype,"trimSpace",void 0),g([Object(a.property)({type:Boolean,reflect:!0})],e.prototype,"invalid",void 0),g([Object(a.property)({type:String,reflect:!0,attribute:"invalid-text-i18n"})],e.prototype,"invalidText",void 0),g([Object(a.property)({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",void 0),g([Object(a.property)({type:String,attribute:"clear-aria-label"})],e.prototype,"clearAriaLabel",void 0),g([Object(a.property)({type:String,attribute:"arrow-aria-label"})],e.prototype,"arrowAriaLabel",void 0),g([Object(a.property)({type:String,attribute:"all-i18n"})],e.prototype,"allTextLocalization",void 0),g([Object(a.property)({type:String,attribute:"select-all-i18n"})],e.prototype,"selectAllTextLocalization",void 0),g([Object(a.property)({type:String,attribute:"selected-all-i18n"})],e.prototype,"selectedTextLocalization",void 0),g([Object(a.property)({type:Boolean,attribute:"allow-select-all",reflect:!0})],e.prototype,"allowSelectAll",void 0),g([Object(a.property)({type:Boolean,attribute:"show-custom-error",reflect:!0})],e.prototype,"showCustomError",void 0),g([Object(a.property)({type:Boolean,attribute:"show-selected-count",reflect:!0})],e.prototype,"showSelectedCount",void 0),g([Object(a.property)({type:Number,attribute:!1}),Object(a.internalProperty)()],e.prototype,"isOptGroup",void 0),g([Object(a.internalProperty)()],e.prototype,"isSelectAllChecked",void 0),g([Object(a.query)(".group")],e.prototype,"group",void 0),g([Object(a.query)(".md-combobox-listbox")],e.prototype,"input",void 0),g([Object(a.query)(".md-combobox-button")],e.prototype,"button",void 0),g([Object(a.query)("ul[role='listbox'")],e.prototype,"listBox",void 0),g([Object(a.queryAll)("li[role='option']")],e.prototype,"lists",void 0),g([Object(a.queryAll)(".group-label")],e.prototype,"labels",void 0),g([Object(a.queryAll)(".md-combobox-selected-item")],e.prototype,"selected",void 0),e=g([Object(n.a)("md-combobox")],e),t.ELEMENT=e}(i||(i={}))}}]);
@@ -1,5 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{81:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(5),d=o(4),r=o(0),a=o(54),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.a.Space:case s.a.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.a.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.a.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.a.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.a.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
2
- <div class="md-accordion" part="accordion">
3
- <slot name="accordion-item"></slot>
4
- </div>
5
- `}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{123:function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(315),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(88))},315:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var i,o,r,c,a,u=1,s={},l=!1,f=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){h(e.data)},i=function(e){r.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,i=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):i=function(e){setTimeout(h,0,e)}:(c="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(c)&&h(+t.data.slice(c.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),i=function(t){e.postMessage(c+t,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return s[u]=o,i(u),u++},m.clearImmediate=d}function d(e){delete s[e]}function h(e){if(l)setTimeout(h,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(88),n(316))},316:function(e,t){var n,i,o=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(e){n=r}try{i="function"==typeof clearTimeout?clearTimeout:c}catch(e){i=c}}();var u,s=[],l=!1,f=-1;function m(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=a(m);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===c||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},88:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n}}]);
@@ -1,34 +1,5 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{82:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));var i,n=d(7),o=d(5),s=d(4),a=d(0),l=d(6),r=d(22),c=d(54),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
2
- <div class="md-accordion-item">
3
- <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
- <button
5
- type="button"
6
- aria-expanded=${this.expanded}
7
- class="md-accordion-expander"
8
- aria-label=${Object(l.ifDefined)(this.label||void 0)}
9
- aria-controls="panel-${this.uniqueId}"
10
- aria-disabled=${this.disabled}
11
- ?disabled=${this.disabled}
12
- id="header-${this.uniqueId}"
13
- part="accordion-button"
14
- tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
15
- @mousedown=${this.handleMouseDown}
16
- @keydown=${this.handleKeyDown}
17
- >
18
- <slot name="header-content">
19
- <span class="md-accordion-expander-label">${this.label}</span>
20
- </slot>
21
- <md-icon name=${this.expanded?"icon-arrow-up_12":"icon-arrow-down_12"}></md-icon>
22
- </button>
23
- </div>
24
- <div
25
- role="region"
26
- id="panel-${this.uniqueId}"
27
- aria-labelledby="header-${this.uniqueId}"
28
- class="md-accordion-panel"
29
- part="accordion-panel"
30
- >
31
- <slot></slot>
32
- </div>
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{81:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(5),d=o(4),r=o(0),a=o(54),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.a.Space:case s.a.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.a.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.a.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.a.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.a.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
2
+ <div class="md-accordion" part="accordion">
3
+ <slot name="accordion-item"></slot>
33
4
  </div>
34
- `}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
5
+ `}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
@@ -1,13 +1,34 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{83:function(t,e,i){"use strict";i.r(e),i.d(e,"activityButtonSize",(function(){return c})),i.d(e,"activityButtonType",(function(){return p})),i.d(e,"ActivityButton",(function(){return y}));var r=i(4),n=i(5),o=i(0),s=(i(17),i(15),i(55)),a=function(t,e,i,r){var n,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const c=["56","68","84",56,68,84],p=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var y;!function(t){let e=class extends o.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;p.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,["md-activity__"+this.type]:this.type}}static get styles(){return[r.a,s.a]}render(){return o.html`
2
- <md-button
3
- aria-label=${this.ariaLabel}
4
- circle
5
- .activityType=${this.type}
6
- ?containerLarge=${"84"===this.size}
7
- ?disabled=${this.disabled}
8
- .size=${this.size}
9
- .label=${this.label}
10
- >
11
- <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
12
- </md-button>
13
- `}};a([Object(o.property)({type:String})],e.prototype,"ariaLabel",void 0),a([Object(o.property)({type:Boolean})],e.prototype,"disabled",void 0),a([Object(o.property)({type:String})],e.prototype,"label",void 0),a([Object(o.property)({type:String})],e.prototype,"size",void 0),a([Object(o.property)({type:String})],e.prototype,"type",null),e=a([Object(n.a)("md-activity-button")],e),t.ELEMENT=e}(y||(y={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{82:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));var i,n=d(7),o=d(5),s=d(4),a=d(0),l=d(6),r=d(22),c=d(54),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
2
+ <div class="md-accordion-item">
3
+ <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
+ <button
5
+ type="button"
6
+ aria-expanded=${this.expanded}
7
+ class="md-accordion-expander"
8
+ aria-label=${Object(l.ifDefined)(this.label||void 0)}
9
+ aria-controls="panel-${this.uniqueId}"
10
+ aria-disabled=${this.disabled}
11
+ ?disabled=${this.disabled}
12
+ id="header-${this.uniqueId}"
13
+ part="accordion-button"
14
+ tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
15
+ @mousedown=${this.handleMouseDown}
16
+ @keydown=${this.handleKeyDown}
17
+ >
18
+ <slot name="header-content">
19
+ <span class="md-accordion-expander-label">${this.label}</span>
20
+ </slot>
21
+ <md-icon name=${this.expanded?"icon-arrow-up_12":"icon-arrow-down_12"}></md-icon>
22
+ </button>
23
+ </div>
24
+ <div
25
+ role="region"
26
+ id="panel-${this.uniqueId}"
27
+ aria-labelledby="header-${this.uniqueId}"
28
+ class="md-accordion-panel"
29
+ part="accordion-panel"
30
+ >
31
+ <slot></slot>
32
+ </div>
33
+ </div>
34
+ `}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1,20 +1,13 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{101:function(e,t,r){"use strict";r.r(t),r.d(t,"AlertBanner",(function(){return n}));var n,a=r(1),o=r(4),l=r(5),c=r(0),i=r(13),s=(r(17),r(15),c.css`.md-alert-banner{padding:.75rem;position:relative;text-align:center}.md-alert-banner.md-alert-banner--default{background-color:var(--alert-banner-default-bg-color,#c9f4ff);color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--default md-icon{color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--warning{background-color:var(--alert-banner-warning-bg-color,#ffecc2);color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--warning md-icon{color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--error{background-color:var(--alert-banner-error-bg-color,#ffe8e3);color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--error md-icon{color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner__text{font-size:.875rem;padding:0 1.75rem;text-align:center}.md-alert-banner__text a{color:inherit;text-decoration:underline}.md-alert-banner__close{cursor:pointer;height:1rem;position:absolute;right:1rem;top:.75rem;width:1rem}`),d=function(e,t,r,n){var a,o=arguments.length,l=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l};!function(e){let t=class extends c.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:t}=e;t!==a.a.Enter&&t!==a.a.Space||this.onHide()}static get styles(){return[o.a,s]}render(){const e={"md-alert-banner":!0,["md-alert-banner--"+this.type]:this.type},t=this.closable?c.html`
2
- <md-button
3
- class="md-alert-banner__close"
4
- hasRemoveStyle
5
- ariaLabel=${this.closeAriaLabel}
6
- @click="${this.onHide}"
7
- @keydown="${this.handleKeyDown}"
8
- >
9
- <md-icon name="icon-cancel_16"></md-icon>
10
- </md-button>
11
- `:null;return c.html`
12
- ${this.show?c.html`
13
- <div class="${Object(i.classMap)(e)}">
14
- <div class="md-alert-banner__text">
15
- <slot><span>${this.message}</span></slot>
16
- </div>
17
- ${t}
18
- </div>
19
- `:null}
20
- `}};d([Object(c.property)({type:String})],t.prototype,"type",void 0),d([Object(c.property)({type:String})],t.prototype,"message",void 0),d([Object(c.property)({type:Boolean})],t.prototype,"closable",void 0),d([Object(c.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(c.property)({type:String,attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",void 0),t=d([Object(l.a)("md-alert-banner")],t),e.ELEMENT=t}(n||(n={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{83:function(t,e,i){"use strict";i.r(e),i.d(e,"activityButtonSize",(function(){return c})),i.d(e,"activityButtonType",(function(){return p})),i.d(e,"ActivityButton",(function(){return y}));var r=i(4),n=i(5),o=i(0),s=(i(17),i(15),i(55)),a=function(t,e,i,r){var n,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const c=["56","68","84",56,68,84],p=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var y;!function(t){let e=class extends o.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;p.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,["md-activity__"+this.type]:this.type}}static get styles(){return[r.a,s.a]}render(){return o.html`
2
+ <md-button
3
+ aria-label=${this.ariaLabel}
4
+ circle
5
+ .activityType=${this.type}
6
+ ?containerLarge=${"84"===this.size}
7
+ ?disabled=${this.disabled}
8
+ .size=${this.size}
9
+ .label=${this.label}
10
+ >
11
+ <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
12
+ </md-button>
13
+ `}};a([Object(o.property)({type:String})],e.prototype,"ariaLabel",void 0),a([Object(o.property)({type:Boolean})],e.prototype,"disabled",void 0),a([Object(o.property)({type:String})],e.prototype,"label",void 0),a([Object(o.property)({type:String})],e.prototype,"size",void 0),a([Object(o.property)({type:String})],e.prototype,"type",null),e=a([Object(n.a)("md-activity-button")],e),t.ELEMENT=e}(y||(y={}))}}]);
@@ -1,46 +1,20 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{102:function(e,t,r){"use strict";r.r(t),r.d(t,"Alert",(function(){return o}));var o,l=r(4),i=r(5),a=r(0),n=r(2),s=r(3),c=(r(17),r(15),a.css`:host{--alert-icon-size:var(--alert-default-icon-size, $lm-alert-default-icon-size-light);--alert-close-btn:var(--alert-close-bg-color, $lm-alert-close-bg-color-light)}:host(md-alert){display:flex;flex:1 1 100%}.md-alert{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:.3125rem;border-top-right-radius:.3125rem;border-bottom-left-radius:.3125rem;border-bottom-right-radius:.3125rem;background-color:var(--alert-default-bg-color,#fff);border:1px solid rgba(0,0,0,.12);box-shadow:0 8px 16px 0 rgba(0,0,0,.08);flex:1 1 100%;margin-bottom:.5rem;max-height:19.25rem;max-width:23rem;min-height:4.875rem;padding:.75rem}.md-alert__icon{align-self:center}.md-alert__icon md-icon::part(icon){font-size:var(--alert-default-icon-size,24px)!important;line-height:var(--alert-default-icon-size,24px)!important}.md-alert__content{display:flex;flex-basis:0;flex-direction:column;flex-grow:2;max-width:17rem;padding-left:.75rem;padding-right:.125rem;align-self:center}.md-alert__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--alert-title-text-color,#121212);font-size:var(--alert-title-font-size,1rem);line-height:1.5rem;width:calc(100%)}.md-alert__message{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:var(--alert-default-text-color,#545454);font-family:"CiscoSansTT Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.35;width:calc(100%)}.md-alert__message,.md-alert__title{word-wrap:break-word}.md-alert__button{margin-left:.25rem;align-self:center}.md-alert__button md-button::part(button){align-items:center;background-color:var(--alert-close-bg-color,#fff);border-radius:50%;display:inline-flex;height:var(--alert-close-size,1rem);justify-content:center;width:var(--alert-close-size,1rem)}.md-alert__button md-icon::part(icon){color:var(--alert-close-text-color,#121212)}.md-alert.md-alert__inline{border:0;box-shadow:none;margin-bottom:0}`),d=function(e,t,r,o){var l,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.closable=!1,this.message="",this.show=!1,this.internalClose=!0,this.title="",this.btnlabel="Close",this.type="default",this.inline=!1,this.renderIconTemplate=()=>{switch(this.type){case"error":return a.html`
2
- <md-icon name="icon-warning_32" color="red"></md-icon>
3
- `;case"info":return a.html`
4
- <md-icon name="info_32" color="blue"></md-icon>
5
- `;case"success":return a.html`
6
- <md-icon name="check-circle_36" color="green"></md-icon>
7
- `;case"warn":case"warning":return a.html`
8
- <md-icon name="icon-warning_32" color="orange"></md-icon>
9
- `;default:return a.html`
10
- <slot name="alert-icon"></slot>
11
- `}}}close(){this.dispatchEvent(new CustomEvent("alert-close",{composed:!0,bubbles:!0})),this.internalClose&&(this.show=!1)}static get styles(){return[l.a,c]}get alertClassMap(){return{["md-alert--"+this.type]:!!this.type,"md-alert__inline":this.inline}}render(){return a.html`
12
- ${this.show?a.html`
13
- <div part="alert" class="md-alert ${Object(s.classMap)(this.alertClassMap)}">
14
- <div class="md-alert__icon">
15
- ${this.renderIconTemplate()}
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{102:function(e,t,r){"use strict";r.r(t),r.d(t,"AlertBanner",(function(){return n}));var n,a=r(1),o=r(4),l=r(5),c=r(0),i=r(13),s=(r(17),r(15),c.css`.md-alert-banner{padding:.75rem;position:relative;text-align:center}.md-alert-banner.md-alert-banner--default{background-color:var(--alert-banner-default-bg-color,#c9f4ff);color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--default md-icon{color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--warning{background-color:var(--alert-banner-warning-bg-color,#ffecc2);color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--warning md-icon{color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--error{background-color:var(--alert-banner-error-bg-color,#ffe8e3);color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--error md-icon{color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner__text{font-size:.875rem;padding:0 1.75rem;text-align:center}.md-alert-banner__text a{color:inherit;text-decoration:underline}.md-alert-banner__close{cursor:pointer;height:1rem;position:absolute;right:1rem;top:.75rem;width:1rem}`),d=function(e,t,r,n){var a,o=arguments.length,l=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(l=(o<3?a(l):o>3?a(t,r,l):a(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l};!function(e){let t=class extends c.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:t}=e;t!==a.a.Enter&&t!==a.a.Space||this.onHide()}static get styles(){return[o.a,s]}render(){const e={"md-alert-banner":!0,["md-alert-banner--"+this.type]:this.type},t=this.closable?c.html`
2
+ <md-button
3
+ class="md-alert-banner__close"
4
+ hasRemoveStyle
5
+ ariaLabel=${this.closeAriaLabel}
6
+ @click="${this.onHide}"
7
+ @keydown="${this.handleKeyDown}"
8
+ >
9
+ <md-icon name="icon-cancel_16"></md-icon>
10
+ </md-button>
11
+ `:null;return c.html`
12
+ ${this.show?c.html`
13
+ <div class="${Object(i.classMap)(e)}">
14
+ <div class="md-alert-banner__text">
15
+ <slot><span>${this.message}</span></slot>
16
16
  </div>
17
- <div part="content" class="md-alert__content">
18
- <div aria-label=${this.title} class="md-alert__title" role="heading" aria-level="1">
19
- ${this.title}
20
- </div>
21
- <div aria-label=${this.message} class="md-alert__message" role="textbox">
22
- ${this.message}
23
- <slot name="alert-body"></slot>
24
- </div>
25
- </div>
26
- ${this.closable?a.html`
27
- <div class="md-alert__button">
28
- <md-button
29
- arialabel="${this.btnlabel}"
30
- title="${this.btnlabel}"
31
- hasRemoveStyle
32
- color="color-none"
33
- circle
34
- @click="${()=>this.close()}"
35
- >
36
- <md-icon slot="icon" name="icon-cancel_16"></md-icon>
37
- </md-button>
38
- </div>
39
- `:a.html`
40
- <div class="md-alert__footer">
41
- <slot name="alert-footer"></slot>
42
- </div>
43
- `}
17
+ ${t}
44
18
  </div>
45
- `:n.nothing}
46
- `}};d([Object(a.property)({type:Boolean})],t.prototype,"closable",void 0),d([Object(a.property)({type:String})],t.prototype,"message",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"internalClose",void 0),d([Object(a.property)({type:String})],t.prototype,"title",void 0),d([Object(a.property)({type:String})],t.prototype,"btnlabel",void 0),d([Object(a.property)({type:String})],t.prototype,"type",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"inline",void 0),t=d([Object(i.a)("md-alert")],t),e.ELEMENT=t}(o||(o={}))}}]);
19
+ `:null}
20
+ `}};d([Object(c.property)({type:String})],t.prototype,"type",void 0),d([Object(c.property)({type:String})],t.prototype,"message",void 0),d([Object(c.property)({type:Boolean})],t.prototype,"closable",void 0),d([Object(c.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(c.property)({type:String,attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",void 0),t=d([Object(l.a)("md-alert-banner")],t),e.ELEMENT=t}(n||(n={}))}}]);
@@ -1,13 +1,46 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{103:function(e,r,t){"use strict";t.r(r),t.d(r,"Breadcrumb",(function(){return a}));var a,n=t(4),s=t(5),o=t(0),c=o.css`:host(:focus){box-shadow:none;outline:0!important}:host(md-breadcrumb) .md-breadcrumb ul{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;margin:0;padding:.5625rem .875rem .5625rem;list-style:none}:host(md-breadcrumb) .md-breadcrumb li{display:flex;text-transform:capitalize;font-size:.875rem}:host(md-breadcrumb) .md-breadcrumb li:not(:first-child)::before{display:flex;margin:0 .75rem;color:var(--breadcrumb-color-slash,#949494);content:"/"}:host(md-breadcrumb) .md-breadcrumb a{color:var(--breadcrumb-color,#00a0d1)}:host(md-breadcrumb) .md-breadcrumb a[aria-current=page]{pointer-events:none;cursor:default;color:var(--breadcrumb-color-current,#292929)}`,i=t(14),l=t(6),b=function(e,r,t,a){var n,s=arguments.length,o=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,r,t,a);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(o=(s<3?n(o):s>3?n(r,t,o):n(r,t))||o);return s>3&&o&&Object.defineProperty(r,t,o),o};!function(e){let r=class extends o.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[n.a,c]}setLastAnchorCurrent(){this.anchors&&this.anchors.length&&this.anchors[this.anchors.length-1].setAttribute("aria-current","page")}firstUpdated(e){super.firstUpdated(e),this.setLastAnchorCurrent()}update(e){super.update(e),e.has("navCrumbs")&&this.setLastAnchorCurrent()}handleClick(e){const r=e.target;if(this.anchors&&this.anchors.length){const e=Array.from(this.anchors).indexOf(r);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return o.html`
2
- <nav aria-label="${Object(l.ifDefined)(this.label?this.label:void 0)}" class="md-breadcrumb">
3
- <ul @click=${e=>this.handleClick(e)}>
4
- ${Object(i.repeat)(this.navCrumbs,e=>e.link,e=>o.html`
5
- <li>
6
- <a href="${e.link}">
7
- ${e.label}
8
- </a>
9
- </li>
10
- `)}
11
- </ul>
12
- </nav>
13
- `}};b([Object(o.property)({type:String,attribute:"aria-label"})],r.prototype,"label",void 0),b([Object(o.property)({type:Array,attribute:"nav-crumbs",reflect:!0})],r.prototype,"navCrumbs",void 0),b([Object(o.queryAll)("a[href]")],r.prototype,"anchors",void 0),r=b([Object(s.a)("md-breadcrumb")],r),e.ELEMENT=r}(a||(a={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{103:function(e,t,r){"use strict";r.r(t),r.d(t,"Alert",(function(){return o}));var o,l=r(4),i=r(5),a=r(0),n=r(2),s=r(3),c=(r(17),r(15),a.css`:host{--alert-icon-size:var(--alert-default-icon-size, $lm-alert-default-icon-size-light);--alert-close-btn:var(--alert-close-bg-color, $lm-alert-close-bg-color-light)}:host(md-alert){display:flex;flex:1 1 100%}.md-alert{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:.3125rem;border-top-right-radius:.3125rem;border-bottom-left-radius:.3125rem;border-bottom-right-radius:.3125rem;background-color:var(--alert-default-bg-color,#fff);border:1px solid rgba(0,0,0,.12);box-shadow:0 8px 16px 0 rgba(0,0,0,.08);flex:1 1 100%;margin-bottom:.5rem;max-height:19.25rem;max-width:23rem;min-height:4.875rem;padding:.75rem}.md-alert__icon{align-self:center}.md-alert__icon md-icon::part(icon){font-size:var(--alert-default-icon-size,24px)!important;line-height:var(--alert-default-icon-size,24px)!important}.md-alert__content{display:flex;flex-basis:0;flex-direction:column;flex-grow:2;max-width:17rem;padding-left:.75rem;padding-right:.125rem;align-self:center}.md-alert__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--alert-title-text-color,#121212);font-size:var(--alert-title-font-size,1rem);line-height:1.5rem;width:calc(100%)}.md-alert__message{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:var(--alert-default-text-color,#545454);font-family:"CiscoSansTT Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.35;width:calc(100%)}.md-alert__message,.md-alert__title{word-wrap:break-word}.md-alert__button{margin-left:.25rem;align-self:center}.md-alert__button md-button::part(button){align-items:center;background-color:var(--alert-close-bg-color,#fff);border-radius:50%;display:inline-flex;height:var(--alert-close-size,1rem);justify-content:center;width:var(--alert-close-size,1rem)}.md-alert__button md-icon::part(icon){color:var(--alert-close-text-color,#121212)}.md-alert.md-alert__inline{border:0;box-shadow:none;margin-bottom:0}`),d=function(e,t,r,o){var l,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.closable=!1,this.message="",this.show=!1,this.internalClose=!0,this.title="",this.btnlabel="Close",this.type="default",this.inline=!1,this.renderIconTemplate=()=>{switch(this.type){case"error":return a.html`
2
+ <md-icon name="icon-warning_32" color="red"></md-icon>
3
+ `;case"info":return a.html`
4
+ <md-icon name="info_32" color="blue"></md-icon>
5
+ `;case"success":return a.html`
6
+ <md-icon name="check-circle_36" color="green"></md-icon>
7
+ `;case"warn":case"warning":return a.html`
8
+ <md-icon name="icon-warning_32" color="orange"></md-icon>
9
+ `;default:return a.html`
10
+ <slot name="alert-icon"></slot>
11
+ `}}}close(){this.dispatchEvent(new CustomEvent("alert-close",{composed:!0,bubbles:!0})),this.internalClose&&(this.show=!1)}static get styles(){return[l.a,c]}get alertClassMap(){return{["md-alert--"+this.type]:!!this.type,"md-alert__inline":this.inline}}render(){return a.html`
12
+ ${this.show?a.html`
13
+ <div part="alert" class="md-alert ${Object(s.classMap)(this.alertClassMap)}">
14
+ <div class="md-alert__icon">
15
+ ${this.renderIconTemplate()}
16
+ </div>
17
+ <div part="content" class="md-alert__content">
18
+ <div aria-label=${this.title} class="md-alert__title" role="heading" aria-level="1">
19
+ ${this.title}
20
+ </div>
21
+ <div aria-label=${this.message} class="md-alert__message" role="textbox">
22
+ ${this.message}
23
+ <slot name="alert-body"></slot>
24
+ </div>
25
+ </div>
26
+ ${this.closable?a.html`
27
+ <div class="md-alert__button">
28
+ <md-button
29
+ arialabel="${this.btnlabel}"
30
+ title="${this.btnlabel}"
31
+ hasRemoveStyle
32
+ color="color-none"
33
+ circle
34
+ @click="${()=>this.close()}"
35
+ >
36
+ <md-icon slot="icon" name="icon-cancel_16"></md-icon>
37
+ </md-button>
38
+ </div>
39
+ `:a.html`
40
+ <div class="md-alert__footer">
41
+ <slot name="alert-footer"></slot>
42
+ </div>
43
+ `}
44
+ </div>
45
+ `:n.nothing}
46
+ `}};d([Object(a.property)({type:Boolean})],t.prototype,"closable",void 0),d([Object(a.property)({type:String})],t.prototype,"message",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"internalClose",void 0),d([Object(a.property)({type:String})],t.prototype,"title",void 0),d([Object(a.property)({type:String})],t.prototype,"btnlabel",void 0),d([Object(a.property)({type:String})],t.prototype,"type",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"inline",void 0),t=d([Object(i.a)("md-alert")],t),e.ELEMENT=t}(o||(o={}))}}]);