@momentum-ui/web-components 3.2.1 → 3.2.3

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 (348) hide show
  1. package/dist/2492.js +1 -1
  2. package/dist/4700.js +1 -1
  3. package/dist/4739.js +1 -1
  4. package/dist/5584.js +1 -1
  5. package/dist/7557.js +1 -1
  6. package/dist/8441.js +1 -1
  7. package/dist/861.js +2 -2
  8. package/dist/8881.js +1 -1
  9. package/dist/9488.js +1 -1
  10. package/dist/953.js +18 -18
  11. package/dist/9938.js +1 -1
  12. package/dist/comp/md-accordion-entry.js +2 -2
  13. package/dist/comp/md-accordion-item-entry.js +2 -2
  14. package/dist/comp/md-activity-button-entry.js +2 -2
  15. package/dist/comp/md-advance-list-entry.js +2 -2
  16. package/dist/comp/md-alert-banner-entry.js +2 -2
  17. package/dist/comp/md-alert-entry.js +37 -37
  18. package/dist/comp/md-audio-player-entry.js +2 -2
  19. package/dist/comp/md-avatar-entry.js +2 -2
  20. package/dist/comp/md-badge-entry.js +2 -2
  21. package/dist/comp/md-breadcrumb-entry.js +2 -2
  22. package/dist/comp/md-button-entry.js +2 -2
  23. package/dist/comp/md-button-group-entry.js +2 -2
  24. package/dist/comp/md-card-ai-entry.js +2 -2
  25. package/dist/comp/md-card-entry.js +26 -26
  26. package/dist/comp/md-card-v2-entry.js +2 -2
  27. package/dist/comp/md-chat-message-entry.js +2 -2
  28. package/dist/comp/md-checkbox-entry.js +2 -2
  29. package/dist/comp/md-checkboxgroup-entry.js +2 -2
  30. package/dist/comp/md-chip-entry.js +2 -2
  31. package/dist/comp/md-coachmark-entry.js +2 -2
  32. package/dist/comp/md-coachmark-popover-entry.js +18 -18
  33. package/dist/comp/md-combobox-entry.js +2 -2
  34. package/dist/comp/md-composite-avatar-entry.js +2 -2
  35. package/dist/comp/md-country-code-picker-entry.js +2 -2
  36. package/dist/comp/md-date-range-picker-entry.js +1 -1
  37. package/dist/comp/md-date-time-picker-entry.js +2 -2
  38. package/dist/comp/md-datepicker-calendar-entry.js +2 -2
  39. package/dist/comp/md-datepicker-day-entry.js +2 -2
  40. package/dist/comp/md-datepicker-entry.js +2 -2
  41. package/dist/comp/md-datepicker-month-entry.js +2 -2
  42. package/dist/comp/md-datepicker-week-entry.js +2 -2
  43. package/dist/comp/md-draggable-entry.js +2 -2
  44. package/dist/comp/md-draggable-item-entry.js +2 -2
  45. package/dist/comp/md-dropdown-entry.js +2 -2
  46. package/dist/comp/md-editable-field-entry.js +2 -2
  47. package/dist/comp/md-favorite-entry.js +1 -1
  48. package/dist/comp/md-floating-minimize-entry.js +2 -2
  49. package/dist/comp/md-floating-modal-entry.js +44 -44
  50. package/dist/comp/md-form-entry.js +2 -2
  51. package/dist/comp/md-grabber-entry.js +2 -2
  52. package/dist/comp/md-help-text-entry.js +2 -2
  53. package/dist/comp/md-icon-entry.js +2 -2
  54. package/dist/comp/md-input-entry.js +2 -2
  55. package/dist/comp/md-input-file.js +2 -2
  56. package/dist/comp/md-label-entry.js +2 -2
  57. package/dist/comp/md-link-entry.js +2 -2
  58. package/dist/comp/md-list-entry.js +2 -2
  59. package/dist/comp/md-list-item-entry.js +2 -2
  60. package/dist/comp/md-loading-entry.js +2 -2
  61. package/dist/comp/md-meeting-alert-entry.js +2 -2
  62. package/dist/comp/md-menu-entry.js +2 -2
  63. package/dist/comp/md-menu-item-entry.js +2 -2
  64. package/dist/comp/md-menu-overlay-entry.js +2 -2
  65. package/dist/comp/md-modal-entry.js +2 -2
  66. package/dist/comp/md-pagination-entry.js +2 -2
  67. package/dist/comp/md-phone-input-entry.js +38 -38
  68. package/dist/comp/md-popover-entry.js +2 -2
  69. package/dist/comp/md-presence-entry.js +2 -2
  70. package/dist/comp/md-progress-bar-entry.js +2 -2
  71. package/dist/comp/md-radio-entry.js +2 -2
  72. package/dist/comp/md-radiogroup-entry.js +2 -2
  73. package/dist/comp/md-slider-entry.js +2 -2
  74. package/dist/comp/md-spinner-entry.js +2 -2
  75. package/dist/comp/md-tab-entry.js +1 -1
  76. package/dist/comp/md-tab-panel-entry.js +1 -1
  77. package/dist/comp/md-table-advanced-entry.js +2 -2
  78. package/dist/comp/md-table-entry.js +2 -2
  79. package/dist/comp/md-tabs-entry.js +2 -2
  80. package/dist/comp/md-task-item-entry.js +34 -34
  81. package/dist/comp/md-theme-entry.js +4 -4
  82. package/dist/comp/md-timepicker-entry.js +2 -2
  83. package/dist/comp/md-toggle-switch-entry.js +2 -2
  84. package/dist/comp/md-tooltip-entry.js +2 -2
  85. package/dist/esm/2492.js +1 -1
  86. package/dist/esm/405.js +1 -1
  87. package/dist/esm/4700.js +1 -1
  88. package/dist/esm/4739.js +1 -1
  89. package/dist/esm/5584.js +1 -1
  90. package/dist/esm/7557.js +1 -1
  91. package/dist/esm/8441.js +1 -1
  92. package/dist/esm/861.js +2 -2
  93. package/dist/esm/8881.js +1 -1
  94. package/dist/esm/9488.js +1 -1
  95. package/dist/esm/953.js +18 -18
  96. package/dist/esm/9938.js +1 -1
  97. package/dist/esm/comp/md-accordion-entry.js +2 -2
  98. package/dist/esm/comp/md-accordion-item-entry.js +2 -2
  99. package/dist/esm/comp/md-activity-button-entry.js +2 -2
  100. package/dist/esm/comp/md-alert-banner-entry.js +2 -2
  101. package/dist/esm/comp/md-alert-entry.js +37 -37
  102. package/dist/esm/comp/md-audio-player-entry.js +2 -2
  103. package/dist/esm/comp/md-avatar-entry.js +1 -1
  104. package/dist/esm/comp/md-badge-entry.js +1 -1
  105. package/dist/esm/comp/md-breadcrumb-entry.js +2 -2
  106. package/dist/esm/comp/md-button-entry.js +2 -2
  107. package/dist/esm/comp/md-button-group-entry.js +1 -1
  108. package/dist/esm/comp/md-card-ai-entry.js +2 -2
  109. package/dist/esm/comp/md-card-entry.js +26 -26
  110. package/dist/esm/comp/md-card-v2-entry.js +2 -2
  111. package/dist/esm/comp/md-chat-message-entry.js +2 -2
  112. package/dist/esm/comp/md-checkbox-entry.js +2 -2
  113. package/dist/esm/comp/md-checkboxgroup-entry.js +2 -2
  114. package/dist/esm/comp/md-chip-entry.js +2 -2
  115. package/dist/esm/comp/md-coachmark-entry.js +2 -2
  116. package/dist/esm/comp/md-coachmark-popover-entry.js +18 -18
  117. package/dist/esm/comp/md-combobox-entry.js +1 -1
  118. package/dist/esm/comp/md-composite-avatar-entry.js +2 -2
  119. package/dist/esm/comp/md-country-code-picker-entry.js +1 -1
  120. package/dist/esm/comp/md-date-range-picker-entry.js +1 -1
  121. package/dist/esm/comp/md-date-time-picker-entry.js +2 -2
  122. package/dist/esm/comp/md-datepicker-calendar-entry.js +1 -1
  123. package/dist/esm/comp/md-datepicker-day-entry.js +1 -1
  124. package/dist/esm/comp/md-datepicker-entry.js +2 -2
  125. package/dist/esm/comp/md-datepicker-month-entry.js +1 -1
  126. package/dist/esm/comp/md-datepicker-week-entry.js +1 -1
  127. package/dist/esm/comp/md-draggable-entry.js +2 -2
  128. package/dist/esm/comp/md-draggable-item-entry.js +2 -2
  129. package/dist/esm/comp/md-dropdown-entry.js +2 -2
  130. package/dist/esm/comp/md-editable-field-entry.js +4 -4
  131. package/dist/esm/comp/md-favorite-entry.js +1 -1
  132. package/dist/esm/comp/md-floating-minimize-entry.js +1 -1
  133. package/dist/esm/comp/md-floating-modal-entry.js +44 -44
  134. package/dist/esm/comp/md-form-entry.js +2 -2
  135. package/dist/esm/comp/md-grabber-entry.js +2 -2
  136. package/dist/esm/comp/md-help-text-entry.js +1 -1
  137. package/dist/esm/comp/md-icon-entry.js +2 -2
  138. package/dist/esm/comp/md-input-entry.js +2 -2
  139. package/dist/esm/comp/md-input-file.js +2 -2
  140. package/dist/esm/comp/md-label-entry.js +1 -1
  141. package/dist/esm/comp/md-link-entry.js +2 -2
  142. package/dist/esm/comp/md-list-entry.js +1 -1
  143. package/dist/esm/comp/md-list-item-entry.js +1 -1
  144. package/dist/esm/comp/md-loading-entry.js +1 -1
  145. package/dist/esm/comp/md-meeting-alert-entry.js +2 -2
  146. package/dist/esm/comp/md-menu-entry.js +2 -2
  147. package/dist/esm/comp/md-menu-item-entry.js +2 -2
  148. package/dist/esm/comp/md-menu-overlay-entry.js +2 -2
  149. package/dist/esm/comp/md-modal-entry.js +2 -2
  150. package/dist/esm/comp/md-pagination-entry.js +2 -2
  151. package/dist/esm/comp/md-phone-input-entry.js +38 -38
  152. package/dist/esm/comp/md-popover-entry.js +1 -1
  153. package/dist/esm/comp/md-presence-entry.js +1 -1
  154. package/dist/esm/comp/md-progress-bar-entry.js +1 -1
  155. package/dist/esm/comp/md-radio-entry.js +2 -2
  156. package/dist/esm/comp/md-radiogroup-entry.js +2 -2
  157. package/dist/esm/comp/md-slider-entry.js +2 -2
  158. package/dist/esm/comp/md-spinner-entry.js +1 -1
  159. package/dist/esm/comp/md-tab-entry.js +2 -2
  160. package/dist/esm/comp/md-tab-panel-entry.js +1 -1
  161. package/dist/esm/comp/md-table-advanced-entry.js +2 -2
  162. package/dist/esm/comp/md-table-entry.js +2 -2
  163. package/dist/esm/comp/md-tabs-entry.js +3 -3
  164. package/dist/esm/comp/md-task-item-entry.js +34 -34
  165. package/dist/esm/comp/md-theme-entry.js +4 -4
  166. package/dist/esm/comp/md-timepicker-entry.js +2 -2
  167. package/dist/esm/comp/md-toggle-switch-entry.js +2 -2
  168. package/dist/esm/comp/md-tooltip-entry.js +2 -2
  169. package/dist/esm/index-entry.js +1887 -1887
  170. package/dist/index-entry.js +2256 -2256
  171. package/dist/types/[sandbox]/examples/AdvanceList/components/ErrorLoader/ErrorLoader.d.ts +2 -2
  172. package/dist/types/[sandbox]/examples/AdvanceList/components/ParentComponentError.d.ts +1 -1
  173. package/dist/types/[sandbox]/examples/AdvanceList/components/ParentComponentGeneric.d.ts +2 -2
  174. package/dist/types/[sandbox]/examples/AdvanceList/components/ParentComponentPreSelect.d.ts +2 -2
  175. package/dist/types/[sandbox]/examples/AdvanceList/components/ParentComponentWithMdOverlay.d.ts +6 -6
  176. package/dist/types/[sandbox]/examples/accordion.d.ts +3 -3
  177. package/dist/types/[sandbox]/examples/advance-list.d.ts +1 -1
  178. package/dist/types/[sandbox]/examples/alert-banner.d.ts +4 -4
  179. package/dist/types/[sandbox]/examples/alert.d.ts +3 -3
  180. package/dist/types/[sandbox]/examples/audio-player.d.ts +1 -1
  181. package/dist/types/[sandbox]/examples/avatar.d.ts +3 -3
  182. package/dist/types/[sandbox]/examples/badge.d.ts +3 -3
  183. package/dist/types/[sandbox]/examples/breadcrumb.d.ts +1 -1
  184. package/dist/types/[sandbox]/examples/button-group.d.ts +3 -3
  185. package/dist/types/[sandbox]/examples/button.d.ts +6 -6
  186. package/dist/types/[sandbox]/examples/card-ai.d.ts +1 -1
  187. package/dist/types/[sandbox]/examples/card-v2.d.ts +2 -2
  188. package/dist/types/[sandbox]/examples/card.d.ts +2 -2
  189. package/dist/types/[sandbox]/examples/chat-message.d.ts +6 -6
  190. package/dist/types/[sandbox]/examples/checkbox.d.ts +2 -2
  191. package/dist/types/[sandbox]/examples/chip.d.ts +2 -2
  192. package/dist/types/[sandbox]/examples/coachmark.d.ts +6 -6
  193. package/dist/types/[sandbox]/examples/code-editor.d.ts +1 -1
  194. package/dist/types/[sandbox]/examples/colorTable.d.ts +1 -1
  195. package/dist/types/[sandbox]/examples/combobox.d.ts +3 -3
  196. package/dist/types/[sandbox]/examples/country-code-picker.d.ts +2 -2
  197. package/dist/types/[sandbox]/examples/date-range-picker.d.ts +6 -6
  198. package/dist/types/[sandbox]/examples/date-time-picker.d.ts +1 -1
  199. package/dist/types/[sandbox]/examples/datepicker.d.ts +6 -6
  200. package/dist/types/[sandbox]/examples/draggable.d.ts +5 -5
  201. package/dist/types/[sandbox]/examples/editable-field.d.ts +2 -2
  202. package/dist/types/[sandbox]/examples/favorite.d.ts +1 -1
  203. package/dist/types/[sandbox]/examples/floating-button-bar.d.ts +1 -1
  204. package/dist/types/[sandbox]/examples/floating-modal.d.ts +2 -2
  205. package/dist/types/[sandbox]/examples/form.d.ts +3 -3
  206. package/dist/types/[sandbox]/examples/grabber.d.ts +3 -3
  207. package/dist/types/[sandbox]/examples/icon.d.ts +1 -1
  208. package/dist/types/[sandbox]/examples/input-file.d.ts +1 -1
  209. package/dist/types/[sandbox]/examples/input.d.ts +2 -2
  210. package/dist/types/[sandbox]/examples/label.d.ts +1 -1
  211. package/dist/types/[sandbox]/examples/link.d.ts +1 -1
  212. package/dist/types/[sandbox]/examples/list-v2.d.ts +5 -5
  213. package/dist/types/[sandbox]/examples/list.d.ts +2 -2
  214. package/dist/types/[sandbox]/examples/loading.d.ts +1 -1
  215. package/dist/types/[sandbox]/examples/meeting-alert.d.ts +3 -3
  216. package/dist/types/[sandbox]/examples/menu-item.d.ts +3 -3
  217. package/dist/types/[sandbox]/examples/menu-overlay.d.ts +12 -12
  218. package/dist/types/[sandbox]/examples/modal.d.ts +16 -16
  219. package/dist/types/[sandbox]/examples/pagination.d.ts +1 -1
  220. package/dist/types/[sandbox]/examples/phone-input.d.ts +2 -2
  221. package/dist/types/[sandbox]/examples/popover.d.ts +10 -10
  222. package/dist/types/[sandbox]/examples/presence.d.ts +1 -1
  223. package/dist/types/[sandbox]/examples/progress-bar.d.ts +1 -1
  224. package/dist/types/[sandbox]/examples/radio-group.d.ts +4 -4
  225. package/dist/types/[sandbox]/examples/skeleton.d.ts +1 -1
  226. package/dist/types/[sandbox]/examples/slider.d.ts +1 -1
  227. package/dist/types/[sandbox]/examples/spinner.d.ts +1 -1
  228. package/dist/types/[sandbox]/examples/table-advanced.d.ts +1 -1
  229. package/dist/types/[sandbox]/examples/table.d.ts +3 -3
  230. package/dist/types/[sandbox]/examples/tabs.d.ts +16 -16
  231. package/dist/types/[sandbox]/examples/task-item.d.ts +4 -4
  232. package/dist/types/[sandbox]/examples/timepicker.d.ts +2 -2
  233. package/dist/types/[sandbox]/examples/toggle-switch.d.ts +1 -1
  234. package/dist/types/[sandbox]/examples/tooltip.d.ts +4 -4
  235. package/dist/types/[sandbox]/sandbox.d.ts +2 -2
  236. package/dist/types/[sandbox]/sandbox.mock.d.ts +1 -1
  237. package/dist/types/components/accordion/Accordion.test.d.ts +1 -1
  238. package/dist/types/components/accordion/AccordionItem.d.ts +1 -1
  239. package/dist/types/components/advance-list/AdvanceList.d.ts +1 -1
  240. package/dist/types/components/advance-list/AdvanceList.stories.d.ts +2 -2
  241. package/dist/types/components/advance-list/AdvanceList.test.d.ts +2 -2
  242. package/dist/types/components/alert/Alert.stories.d.ts +1 -1
  243. package/dist/types/components/alert-banner/AlertBanner.stories.d.ts +1 -1
  244. package/dist/types/components/audio-player/AudioPlayer.stories.d.ts +1 -1
  245. package/dist/types/components/avatar/Avatar.stories.d.ts +2 -2
  246. package/dist/types/components/badge/Badge.stories.d.ts +2 -2
  247. package/dist/types/components/badge/Badge.test.d.ts +1 -1
  248. package/dist/types/components/breadcrumb/Breadcrumb.stories.d.ts +1 -1
  249. package/dist/types/components/button/Button.stories.d.ts +3 -3
  250. package/dist/types/components/button/Button.test.d.ts +1 -1
  251. package/dist/types/components/button-group/ButtonGroup.d.ts +1 -1
  252. package/dist/types/components/button-group/ButtonGroup.stories.d.ts +2 -2
  253. package/dist/types/components/button-group/ButtonGroup.test.d.ts +1 -1
  254. package/dist/types/components/card/Card.stories.d.ts +3 -3
  255. package/dist/types/components/card/Card.test.d.ts +1 -1
  256. package/dist/types/components/card-ai/CardAi.stories.d.ts +1 -1
  257. package/dist/types/components/chat-message/ChatMessage.stories.d.ts +3 -3
  258. package/dist/types/components/checkbox/Checkbox.d.ts +1 -1
  259. package/dist/types/components/checkbox/Checkbox.stories.d.ts +2 -2
  260. package/dist/types/components/chip/Chip.stories.d.ts +2 -2
  261. package/dist/types/components/chip/Chip.test.d.ts +1 -1
  262. package/dist/types/components/coachmark/Coachmark.d.ts +1 -1
  263. package/dist/types/components/coachmark/Coachmark.stories.d.ts +2 -2
  264. package/dist/types/components/coachmark/Coachmark.test.d.ts +1 -1
  265. package/dist/types/components/code-editor/CodeEditor.stories.d.ts +1 -1
  266. package/dist/types/components/combobox/ComboBox.d.ts +2 -2
  267. package/dist/types/components/combobox/ComboBox.stories.d.ts +3 -3
  268. package/dist/types/components/combobox/ComboBox.test.d.ts +1 -1
  269. package/dist/types/components/country-code-picker/CountryCodePicker.stories.d.ts +2 -2
  270. package/dist/types/components/date-range-picker/DateRangePicker.stories.d.ts +1 -1
  271. package/dist/types/components/date-time-picker/DateTimePicker.stories.d.ts +3 -3
  272. package/dist/types/components/datepicker/DatePicker.stories.d.ts +1 -1
  273. package/dist/types/components/datepicker/datepicker-calendar/DatePickerCalendar.d.ts +1 -1
  274. package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +1 -1
  275. package/dist/types/components/datepicker/datepicker-month/DatePickerMonth.d.ts +1 -1
  276. package/dist/types/components/datepicker/datepicker-week/DatePickerWeek.d.ts +1 -1
  277. package/dist/types/components/draggable/Draggable.stories.d.ts +3 -3
  278. package/dist/types/components/draggable/DraggableItem.d.ts +1 -1
  279. package/dist/types/components/draggable/DraggableItem.test.d.ts +1 -1
  280. package/dist/types/components/dropdown/Dropdown.d.ts +1 -1
  281. package/dist/types/components/dropdown/Dropdown.stories.d.ts +2 -2
  282. package/dist/types/components/dropdown/Dropdown.test.d.ts +2 -2
  283. package/dist/types/components/editable-textfield/EditableTextfield.d.ts +1 -1
  284. package/dist/types/components/editable-textfield/EditableTextfield.stories.d.ts +1 -1
  285. package/dist/types/components/favorite/Favorite.d.ts +1 -1
  286. package/dist/types/components/favorite/Favorite.stories.d.ts +2 -2
  287. package/dist/types/components/favorite/Favorite.test.d.ts +1 -1
  288. package/dist/types/components/floating-button-bar/FloatingButtonBar.stories.d.ts +1 -1
  289. package/dist/types/components/floating-modal/FloatingMinimizedModal.d.ts +1 -1
  290. package/dist/types/components/floating-modal/FloatingModal.d.ts +1 -1
  291. package/dist/types/components/floating-modal/FloatingModal.stories.d.ts +4 -4
  292. package/dist/types/components/form/Form.stories.d.ts +2 -2
  293. package/dist/types/components/form/Form.test.d.ts +2 -2
  294. package/dist/types/components/grabber/Grabber.d.ts +1 -1
  295. package/dist/types/components/grabber/Grabber.stories.d.ts +1 -1
  296. package/dist/types/components/grabber/Grabber.test.d.ts +1 -1
  297. package/dist/types/components/icon/Icon.stories.d.ts +2 -2
  298. package/dist/types/components/input/Input.d.ts +1 -1
  299. package/dist/types/components/input/Input.stories.d.ts +2 -2
  300. package/dist/types/components/input-file/InputFile.stories.d.ts +1 -1
  301. package/dist/types/components/label/Label.stories.d.ts +3 -3
  302. package/dist/types/components/link/Link.stories.d.ts +1 -1
  303. package/dist/types/components/list/List.stories.d.ts +2 -2
  304. package/dist/types/components/list/ListItem.d.ts +1 -1
  305. package/dist/types/components/list-v2/list-item-v2.stories.d.ts +3 -3
  306. package/dist/types/components/list-v2/list-item-v2.test.d.ts +1 -1
  307. package/dist/types/components/list-v2/list-v2.stories.d.ts +5 -5
  308. package/dist/types/components/loading/Loading.stories.d.ts +1 -1
  309. package/dist/types/components/meeting-alert/MeetingAlert.stories.d.ts +1 -1
  310. package/dist/types/components/menu/Menu.d.ts +1 -1
  311. package/dist/types/components/menu/Menu.stories.d.ts +4 -4
  312. package/dist/types/components/menu/Menu.test.d.ts +1 -1
  313. package/dist/types/components/menu-overlay/MenuOverlay.d.ts +1 -1
  314. package/dist/types/components/menu-overlay/MenuOverlay.stories.d.ts +5 -5
  315. package/dist/types/components/menu-overlay/MenuOverlay.test.d.ts +2 -2
  316. package/dist/types/components/modal/Modal.d.ts +1 -1
  317. package/dist/types/components/modal/Modal.stories.d.ts +1 -1
  318. package/dist/types/components/pagination/Pagination.stories.d.ts +1 -1
  319. package/dist/types/components/phone-input/PhoneInput.stories.d.ts +2 -2
  320. package/dist/types/components/popover/Popover.d.ts +1 -1
  321. package/dist/types/components/progress-bar/ProgressBar.stories.d.ts +1 -1
  322. package/dist/types/components/radio/Radio.d.ts +1 -1
  323. package/dist/types/components/radio/RadioGroup.stories.d.ts +3 -3
  324. package/dist/types/components/skeleton/Skeleton.stories.d.ts +1 -1
  325. package/dist/types/components/slider/Slider.d.ts +1 -1
  326. package/dist/types/components/slider/Slider.stories.d.ts +2 -2
  327. package/dist/types/components/spinner/Spinner.stories.d.ts +2 -2
  328. package/dist/types/components/table/Table.stories.d.ts +2 -2
  329. package/dist/types/components/table-advanced/TableAdvanced.d.ts +1 -1
  330. package/dist/types/components/table-advanced/TableAdvanced.stories.d.ts +1 -1
  331. package/dist/types/components/tabs/Tab.d.ts +1 -1
  332. package/dist/types/components/tabs/TabPanel.d.ts +1 -1
  333. package/dist/types/components/tabs/Tabs.stories.d.ts +5 -5
  334. package/dist/types/components/tabs/Tabs.test.d.ts +1 -1
  335. package/dist/types/components/taskitem/TaskItem.stories.d.ts +3 -3
  336. package/dist/types/components/timepicker/TimePicker.d.ts +1 -1
  337. package/dist/types/components/toggle-switch/ToggleSwitch.d.ts +1 -1
  338. package/dist/types/components/toggle-switch/ToggleSwitch.stories.d.ts +1 -1
  339. package/dist/types/components/tooltip/Tooltip.d.ts +1 -1
  340. package/dist/types/components/tooltip/Tooltip.stories.d.ts +3 -3
  341. package/dist/types/components/tooltip/Tooltip.test.d.ts +2 -2
  342. package/dist/types/internal-components/color-table/ColorTable.d.ts +1 -1
  343. package/dist/types/internal-components/color-table/ColorTable.stories.d.ts +1 -1
  344. package/dist/types/managers/ThemeManager.d.ts +1 -1
  345. package/dist/types/mixins/FocusMixin.d.ts +16 -3
  346. package/dist/types/mixins/FocusTrapMixin.d.ts +25 -12
  347. package/dist/types/mixins/FocusTrapMixin.test.d.ts +2 -2
  348. package/package.json +1 -1
package/dist/7557.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[4700,7557,9938],{9938(e,t,s){s.d(t,{d:()=>r});var i=s(2900),n=(s(7161),s(429)),o=s(2364),a=s(3203),c=function(e,t,s,i){var n,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(a=(o<3?n(a):o>3?n(t,s,a):n(t,s))||a);return o>3&&a&&Object.defineProperty(t,s,a),a},l=function(e,t,s,i){return new(s||(s=Promise))(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function c(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof s?t:new s(function(e){e(t)})).then(a,c)}l((i=i.apply(e,t||[])).next())})};const r=e=>{if((0,o.V)(r,e))return e;class t extends((0,a.y)(e)){constructor(){super(...arguments),this.focusableElements=[],this.initialFocusComplete=!1,this.focusableTimer=null,this.activeFocusTrap=!1,this.preventClickOutside=!1,this.focusTrapIndex=-1,this.preventScroll=!1,this.shouldWrapFocus=()=>!0,this.useLegacyFindFocusable=()=>!0,this.handleFocusOnClear=()=>{this.trapFocus(!0)},this.handleKeydownFocusTrap=e=>{e.code!==i.Uz.Tab||e.shiftKey&&e.code!==i.Uz.Tab||this.activeFocusTrap&&this.focusableElements.length&&(e.shiftKey?(e.preventDefault(),this.trapFocus(!0)):(e.preventDefault(),this.trapFocus(!1)))},this.handleOutsideTrapClick=e=>{let t=!1;const s=e.composedPath();s.length&&(t=!!s.find(e=>e===this),t||this.preventClickOutside||!this.activeFocusTrap?t&&this.activeFocusTrap&&this.initialFocusComplete&&this.handleClickInsideTrap(e):this.deactivateFocusTrap())},this.updateFocusableElements=()=>{this.focusableTimer&&clearTimeout(this.focusableTimer),this.focusableElements=[],this.focusableTimer=setTimeout(()=>{this.setFocusableElements()},10)},this.handleChildFocusTrap=e=>{e.target!==this&&(e.stopPropagation(),this.deactivateFocusTrap(!1))},this.handleChildFocusUntrap=e=>{e.target!==this&&(e.stopPropagation(),this.activateFocusTrap(!1))}}updated(e){if(super.updated(e),e.has("focusTrapIndex")){const t=e.get("focusTrapIndex"),s=this.focusableElements[t];s&&(s.blur(),s.toggleAttribute("focus-visible",!1));const i=this.focusableElements[this.focusTrapIndex];i&&this.tryFocus(i)}}tryFocus(e){requestAnimationFrame(()=>l(this,void 0,void 0,function*(){this.isElementFocused(e)&&e.focus({preventScroll:this.preventScroll}),void 0!==e.updateComplete&&(yield e.updateComplete),document.hasFocus()&&this.isElementFocused(e)&&e.focus({preventScroll:this.preventScroll}),this.initialFocusComplete||(this.initialFocusComplete=!0)}))}domRectCollection(e){return 0===e.getClientRects().length}viewportPosition(e){const{width:t,height:s}=e.getBoundingClientRect(),{offsetWidth:i,offsetHeight:n}=e;return i+n+s+t===0}isNotVisible(e){return"SLOT"!==e.tagName&&(this.viewportPosition(e)||this.domRectCollection(e))}hasHiddenStyle(e){const t=e.style;return t?"none"===t.display||"0"===t.opacity||"hidden"===t.visibility||"collapse"===t.visibility:e instanceof HTMLElement==0}hasComputedHidden(e){const t=getComputedStyle(e);return"hidden"===t.visibility||"0"===t.height}isHidden(e){return e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden")||this.hasHiddenStyle(e)||this.isNotVisible(e)||this.hasComputedHidden(e)}isNotTabbable(e){return"-1"===e.getAttribute("tabindex")}isInteractiveElement(e){return e instanceof HTMLButtonElement||e instanceof HTMLDetailsElement||e instanceof HTMLEmbedElement||e instanceof HTMLIFrameElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||!!(e instanceof HTMLAnchorElement&&e.hasAttribute("href"))||e instanceof HTMLInputElement&&"hidden"!==e.type||!(!(e instanceof HTMLAudioElement||e instanceof HTMLVideoElement)||!e.hasAttribute("controls"))||!(!(e instanceof HTMLImageElement||e instanceof HTMLObjectElement)||!e.hasAttribute("usemap"))||!!(e.hasAttribute("tabindex")&&e.tabIndex>-1)}isFocusable(e){return!this.isHidden(e)&&!this.isNotTabbable(e)&&!!this.isInteractiveElement(e)}shouldSkipFocus(e){var t;return(null===(t=null==e?void 0:e.id)||void 0===t?void 0:t.split(" ").indexOf("md-combobox-listbox"))>-1}handleFindFocusableSlot(e,t){const s=e.assignedNodes().filter(e=>e.nodeType===e.ELEMENT_NODE);if(s.length){const e=s[0].parentElement;e&&this.findFocusable(e,t)}}findFocusable(e,t){return this.useLegacyFindFocusable()?this.legacyFindFocusable(e,t):this.newFindFocusable(e,t)}legacyFindFocusable(e,t){const s=Array.from(e.children);for(const e of s)if(!this.isHidden(e)){if(this.shouldSkipFocus(e))break;if(this.isFocusable(e)&&t.add(e),e.shadowRoot)this.findFocusable(e.shadowRoot,t);else if("SLOT"===e.tagName){const s=e;this.handleFindFocusableSlot(s,t)}else this.findFocusable(e,t)}return[...t]}newFindFocusable(e,t){const s=Array.from(e.children);for(const e of s)if(!this.isHidden(e)){if(this.shouldSkipFocus(e))break;if(this.isFocusable(e)&&t.add(e),e.shadowRoot)this.findFocusable(e.shadowRoot,t);else if("SLOT"===e.tagName){const s=e;this.handleFindFocusableSlot(s,t)}else this.findFocusable(e,t)}return[...t]}isEqualFocusNode(e,t){return e.nodeType>=0&&t.isEqualNode(e)&&t==e}findElement(e){return this.focusableElements.findIndex(t=>this.isEqualFocusNode(e,t))}calculateNextFocusIndex(e,t){return t?e>0?e-1:this.shouldWrapFocus()?this.focusableElements.length-1:0:e+1<this.focusableElements.length?e+1:this.shouldWrapFocus()?0:this.focusableElements.length-1}trapFocus(e){const t=this.getDeepActiveElement(),s=this.findElement(t);if(e)-1===s&&this.focusTrapIndex-1>0?this.focusTrapIndex--:this.focusTrapIndex=this.calculateNextFocusIndex(s,e);else if(-1===s&&this.focusTrapIndex+1<this.focusableElements.length)this.focusTrapIndex++;else if(s===this.focusableElements.length-1&&0===this.focusTrapIndex){const e=this.focusableElements[this.focusTrapIndex];e&&this.tryFocus(e)}else this.focusTrapIndex=this.calculateNextFocusIndex(s,e)}hasAutofocus(e){return e.hasAttribute("autofocus")}setInitialFocus(e=0,t=!1){let s=-1;this.initialFocusComplete=!1,this.focusableElements.length&&!t&&(s=this.focusableElements.findIndex(this.hasAutofocus)),this.focusableElements.length&&-1===s&&("object"==typeof e?s=this.findElement(e):"number"==typeof e&&(s=e)),this.focusableElements[s]&&(this.focusTrapIndex=s)}setFocusOnTrigger(e){if(!e)return;const t=this.getDeepNestedTriggerElement(e);if(t.length>0){const e=this.findElement(t[0]);this.focusTrapIndex=e}}setFocusOnDeepestNestedElement(e){if(!e)return;const t=this.getDeepNestedTriggerElement(e);if(t.length>0){const e=t[0],s=this.findElement(e);this.focusTrapIndex=s,e.focus()}}getDeepNestedTriggerElement(e){return e.shadowRoot?this.findFocusable(e.shadowRoot,new Set):this.isFocusable(e)?[e]:this.findFocusable(e,new Set)}setFocusableElements(){this.shadowRoot?this.focusableElements=this.findFocusable(this.shadowRoot,new Set):console.warn("shadow root is not available")}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return l(this,void 0,void 0,function*(){t.firstUpdated.call(this,e),yield new Promise(e=>setTimeout(e,0)),this.setFocusableElements()})}activateFocusTrap(e=!0){e&&this.dispatchEvent(new CustomEvent("on-focus-trap",{bubbles:!0,composed:!0,cancelable:!0})),this.activeFocusTrap=!0}deactivateFocusTrap(e=!0){this.activeFocusTrap=!1,this.focusTrapIndex=-1,this.removeAttribute("focus-trap-index"),e&&this.dispatchEvent(new CustomEvent("on-focus-untrap",{bubbles:!0,composed:!0,cancelable:!0}))}handleClickInsideTrap(e){const t=e.composedPath(),s=t.findIndex(e=>-1!==this.findElement(e));if(-1!==s){const e=t[s],i=this.findElement(e);-1!==i&&(this.focusTrapIndex=i)}}manageNewElement(e){requestAnimationFrame(()=>{this.setFocusableElements();const t=this.findElement(e);-1!==t&&(this.focusTrapIndex=t)})}handleFocusVisible(e){const t=(e.detail?e.detail.sourceEvent:e).composedPath()[0];-1===(e.detail?this.findElement(t):-1)&&t!==this&&this.manageNewElement(t)}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeydownFocusTrap),this.addEventListener("focus-visible",this.handleFocusVisible),this.addEventListener("on-focus-trap",this.handleChildFocusTrap),this.addEventListener("on-focus-untrap",this.handleChildFocusUntrap),document.addEventListener("click",this.handleOutsideTrapClick),document.addEventListener("on-widget-update",this.updateFocusableElements),this.addEventListener("input-clear",this.handleFocusOnClear)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeydownFocusTrap),this.removeEventListener("focus-visible",this.handleFocusVisible),this.removeEventListener("on-focus-trap",this.handleChildFocusTrap),this.removeEventListener("on-focus-untrap",this.handleChildFocusUntrap),document.removeEventListener("click",this.handleOutsideTrapClick),document.removeEventListener("on-widget-update",this.updateFocusableElements),this.removeEventListener("input-clear",this.handleFocusOnClear),this.focusableTimer&&clearTimeout(this.focusableTimer)}}return c([(0,n.state)()],t.prototype,"focusableElements",void 0),c([(0,n.state)()],t.prototype,"initialFocusComplete",void 0),c([(0,n.state)()],t.prototype,"focusableTimer",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"active-focus-trap"})],t.prototype,"activeFocusTrap",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"prevent-click-outside"})],t.prototype,"preventClickOutside",void 0),c([(0,n.property)({type:Number,reflect:!0,attribute:"focus-trap-index"})],t.prototype,"focusTrapIndex",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],t.prototype,"preventScroll",void 0),(0,o.B)(r,t),t}}}]);
1
+ "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[4700,7557,9938],{9938(e,t,s){s.d(t,{d:()=>r});var i=s(2900),n=s(429),o=s(2364),a=s(3203),c=function(e,t,s,i){var n,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(a=(o<3?n(a):o>3?n(t,s,a):n(t,s))||a);return o>3&&a&&Object.defineProperty(t,s,a),a},l=function(e,t,s,i){return new(s||(s=Promise))(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function c(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof s?t:new s(function(e){e(t)})).then(a,c)}l((i=i.apply(e,t||[])).next())})};const r=e=>{if((0,o.V)(r,e))return e;const t=(0,a.y)(e);class s extends t{constructor(){super(...arguments),this.focusableElements=[],this.initialFocusComplete=!1,this.focusableTimer=null,this.activeFocusTrap=!1,this.preventClickOutside=!1,this.focusTrapIndex=-1,this.preventScroll=!1,this.shouldWrapFocus=()=>!0,this.useLegacyFindFocusable=()=>!0,this.handleFocusOnClear=()=>{this.trapFocus(!0)},this.handleKeydownFocusTrap=e=>{e.code!==i.Uz.Tab||e.shiftKey&&e.code!==i.Uz.Tab||this.activeFocusTrap&&this.focusableElements.length&&(e.shiftKey?(e.preventDefault(),this.trapFocus(!0)):(e.preventDefault(),this.trapFocus(!1)))},this.handleOutsideTrapClick=e=>{let t=!1;const s=e.composedPath();s.length&&(t=!!s.find(e=>e===this),t||this.preventClickOutside||!this.activeFocusTrap?t&&this.activeFocusTrap&&this.initialFocusComplete&&this.handleClickInsideTrap(e):this.deactivateFocusTrap())},this.updateFocusableElements=()=>{this.focusableTimer&&clearTimeout(this.focusableTimer),this.focusableElements=[],this.focusableTimer=setTimeout(()=>{this.setFocusableElements()},10)},this.handleChildFocusTrap=e=>{e.target!==this&&(e.stopPropagation(),this.deactivateFocusTrap(!1))},this.handleChildFocusUntrap=e=>{e.target!==this&&(e.stopPropagation(),this.activateFocusTrap(!1))}}updated(e){if(super.updated(e),e.has("focusTrapIndex")){const t=e.get("focusTrapIndex"),s=this.focusableElements[t];s&&(s.blur(),s.toggleAttribute("focus-visible",!1));const i=this.focusableElements[this.focusTrapIndex];i&&this.tryFocus(i)}}tryFocus(e){requestAnimationFrame(()=>l(this,void 0,void 0,function*(){this.isElementFocused(e)&&e.focus({preventScroll:this.preventScroll}),void 0!==e.updateComplete&&(yield e.updateComplete),document.hasFocus()&&this.isElementFocused(e)&&e.focus({preventScroll:this.preventScroll}),this.initialFocusComplete||(this.initialFocusComplete=!0)}))}domRectCollection(e){return 0===e.getClientRects().length}viewportPosition(e){const{width:t,height:s}=e.getBoundingClientRect(),{offsetWidth:i,offsetHeight:n}=e;return i+n+s+t===0}isNotVisible(e){return"SLOT"!==e.tagName&&(this.viewportPosition(e)||this.domRectCollection(e))}hasHiddenStyle(e){const t=e.style;return t?"none"===t.display||"0"===t.opacity||"hidden"===t.visibility||"collapse"===t.visibility:e instanceof HTMLElement==0}hasComputedHidden(e){const t=getComputedStyle(e);return"hidden"===t.visibility||"0"===t.height}isHidden(e){return e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden")||this.hasHiddenStyle(e)||this.isNotVisible(e)||this.hasComputedHidden(e)}isNotTabbable(e){return"-1"===e.getAttribute("tabindex")}isInteractiveElement(e){return e instanceof HTMLButtonElement||e instanceof HTMLDetailsElement||e instanceof HTMLEmbedElement||e instanceof HTMLIFrameElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||!!(e instanceof HTMLAnchorElement&&e.hasAttribute("href"))||e instanceof HTMLInputElement&&"hidden"!==e.type||!(!(e instanceof HTMLAudioElement||e instanceof HTMLVideoElement)||!e.hasAttribute("controls"))||!(!(e instanceof HTMLImageElement||e instanceof HTMLObjectElement)||!e.hasAttribute("usemap"))||!!(e.hasAttribute("tabindex")&&e.tabIndex>-1)}isFocusable(e){return!this.isHidden(e)&&!this.isNotTabbable(e)&&!!this.isInteractiveElement(e)}shouldSkipFocus(e){var t;return(null===(t=null==e?void 0:e.id)||void 0===t?void 0:t.split(" ").indexOf("md-combobox-listbox"))>-1}handleFindFocusableSlot(e,t){const s=e.assignedNodes().filter(e=>e.nodeType===e.ELEMENT_NODE);if(s.length){const e=s[0].parentElement;e&&this.findFocusable(e,t)}}findFocusable(e,t){return this.useLegacyFindFocusable()?this.legacyFindFocusable(e,t):this.newFindFocusable(e,t)}legacyFindFocusable(e,t){const s=Array.from(e.children);for(const e of s)if(!this.isHidden(e)){if(this.shouldSkipFocus(e))break;if(this.isFocusable(e)&&t.add(e),e.shadowRoot)this.findFocusable(e.shadowRoot,t);else if("SLOT"===e.tagName){const s=e;this.handleFindFocusableSlot(s,t)}else this.findFocusable(e,t)}return[...t]}newFindFocusable(e,t){const s=Array.from(e.children);for(const e of s)if(!this.isHidden(e)){if(this.shouldSkipFocus(e))break;if(this.isFocusable(e)&&t.add(e),e.shadowRoot)this.findFocusable(e.shadowRoot,t);else if("SLOT"===e.tagName){const s=e;this.handleFindFocusableSlot(s,t)}else this.findFocusable(e,t)}return[...t]}isEqualFocusNode(e,t){return e.nodeType>=0&&t.isEqualNode(e)&&t==e}findElement(e){return this.focusableElements.findIndex(t=>this.isEqualFocusNode(e,t))}calculateNextFocusIndex(e,t){return t?e>0?e-1:this.shouldWrapFocus()?this.focusableElements.length-1:0:e+1<this.focusableElements.length?e+1:this.shouldWrapFocus()?0:this.focusableElements.length-1}trapFocus(e){const t=this.getDeepActiveElement(),s=this.findElement(t);if(e)-1===s&&this.focusTrapIndex-1>0?this.focusTrapIndex--:this.focusTrapIndex=this.calculateNextFocusIndex(s,e);else if(-1===s&&this.focusTrapIndex+1<this.focusableElements.length)this.focusTrapIndex++;else if(s===this.focusableElements.length-1&&0===this.focusTrapIndex){const e=this.focusableElements[this.focusTrapIndex];e&&this.tryFocus(e)}else this.focusTrapIndex=this.calculateNextFocusIndex(s,e)}hasAutofocus(e){return e.hasAttribute("autofocus")}setInitialFocus(e=0,t=!1){let s=-1;this.initialFocusComplete=!1,this.focusableElements.length&&!t&&(s=this.focusableElements.findIndex(this.hasAutofocus)),this.focusableElements.length&&-1===s&&("object"==typeof e?s=this.findElement(e):"number"==typeof e&&(s=e)),this.focusableElements[s]&&(this.focusTrapIndex=s)}setFocusOnTrigger(e){if(!e)return;const t=this.getDeepNestedTriggerElement(e);if(t.length>0){const e=this.findElement(t[0]);this.focusTrapIndex=e}}setFocusOnDeepestNestedElement(e){if(!e)return;const t=this.getDeepNestedTriggerElement(e);if(t.length>0){const e=t[0],s=this.findElement(e);this.focusTrapIndex=s,e.focus()}}getDeepNestedTriggerElement(e){return e.shadowRoot?this.findFocusable(e.shadowRoot,new Set):this.isFocusable(e)?[e]:this.findFocusable(e,new Set)}setFocusableElements(){this.shadowRoot?this.focusableElements=this.findFocusable(this.shadowRoot,new Set):console.warn("shadow root is not available")}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return l(this,void 0,void 0,function*(){t.firstUpdated.call(this,e),yield new Promise(e=>setTimeout(e,0)),this.setFocusableElements()})}activateFocusTrap(e=!0){e&&this.dispatchEvent(new CustomEvent("on-focus-trap",{bubbles:!0,composed:!0,cancelable:!0})),this.activeFocusTrap=!0}deactivateFocusTrap(e=!0){this.activeFocusTrap=!1,this.focusTrapIndex=-1,this.removeAttribute("focus-trap-index"),e&&this.dispatchEvent(new CustomEvent("on-focus-untrap",{bubbles:!0,composed:!0,cancelable:!0}))}handleClickInsideTrap(e){const t=e.composedPath(),s=t.findIndex(e=>-1!==this.findElement(e));if(-1!==s){const e=t[s],i=this.findElement(e);-1!==i&&(this.focusTrapIndex=i)}}manageNewElement(e){requestAnimationFrame(()=>{this.setFocusableElements();const t=this.findElement(e);-1!==t&&(this.focusTrapIndex=t)})}handleFocusVisible(e){const t=(e.detail?e.detail.sourceEvent:e).composedPath()[0];-1===(e.detail?this.findElement(t):-1)&&t!==this&&this.manageNewElement(t)}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeydownFocusTrap),this.addEventListener("focus-visible",this.handleFocusVisible),this.addEventListener("on-focus-trap",this.handleChildFocusTrap),this.addEventListener("on-focus-untrap",this.handleChildFocusUntrap),document.addEventListener("click",this.handleOutsideTrapClick),document.addEventListener("on-widget-update",this.updateFocusableElements),this.addEventListener("input-clear",this.handleFocusOnClear)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeydownFocusTrap),this.removeEventListener("focus-visible",this.handleFocusVisible),this.removeEventListener("on-focus-trap",this.handleChildFocusTrap),this.removeEventListener("on-focus-untrap",this.handleChildFocusUntrap),document.removeEventListener("click",this.handleOutsideTrapClick),document.removeEventListener("on-widget-update",this.updateFocusableElements),this.removeEventListener("input-clear",this.handleFocusOnClear),this.focusableTimer&&clearTimeout(this.focusableTimer)}}return c([(0,n.state)()],s.prototype,"focusableElements",void 0),c([(0,n.state)()],s.prototype,"initialFocusComplete",void 0),c([(0,n.state)()],s.prototype,"focusableTimer",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"active-focus-trap"})],s.prototype,"activeFocusTrap",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"prevent-click-outside"})],s.prototype,"preventClickOutside",void 0),c([(0,n.property)({type:Number,reflect:!0,attribute:"focus-trap-index"})],s.prototype,"focusTrapIndex",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],s.prototype,"preventScroll",void 0),(0,o.B)(r,s),s}}}]);
package/dist/8441.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[3203,5584,8441],{3203(e,t,s){s.d(t,{y:()=>u}),s(7161);var o=s(429),n=s(2364);const u=e=>{if((0,n.V)(u,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}getActiveElement(){return this.getRootNode().activeElement}getDeepActiveElement(){var e;let t=document.activeElement||document.body;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}isElementFocused(e){return this.getDeepActiveElement()!==e}disconnectedCallback(){this.removeEventListener("focus",this.handleFocusIn),this.removeEventListener("blur",this.handleFocusOut)}}return function(e,t,s,o){var n,u=arguments.length,c=u<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,o);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(u<3?n(c):u>3?n(t,s,c):n(t,s))||c);u>3&&c&&Object.defineProperty(t,s,c)}([(0,o.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),(0,n.B)(u,t),t}}}]);
1
+ "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[3203,5584,8441],{3203(e,t,s){s.d(t,{y:()=>u}),s(7161);var o=s(429),n=s(2364);const u=e=>{if((0,n.V)(u,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}getActiveElement(){return this.getRootNode().activeElement}getDeepActiveElement(){var e;let t=document.activeElement||document.body;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}isElementFocused(e){return this.getDeepActiveElement()!==e}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.handleFocusIn),this.removeEventListener("blur",this.handleFocusOut)}}return function(e,t,s,o){var n,u=arguments.length,c=u<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,o);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(u<3?n(c):u>3?n(t,s,c):n(t,s))||c);u>3&&c&&Object.defineProperty(t,s,c)}([(0,o.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),(0,n.B)(u,t),t}}}]);
package/dist/861.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[861,9244],{5076(e,t,a){a.d(t,{LG:()=>r,Um:()=>c,i0:()=>n});var i=a(7161),o=a(9244);const n=(e,t,a,o,n)=>i.html`${e?s(t,a,o,n):l(t,a,n)}`,m=(e,t,a,o)=>i.html`<md-avatar
1
+ "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[861,9244],{8634(e,t,a){a.d(t,{A:()=>i});const i=a(7161).css`:host{width:100%}.md-taskitem{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:stretch;border-radius:.5rem;color:var(--md-secondary-text-color);cursor:pointer;margin-bottom:4px;min-height:5rem;padding:.75rem;position:relative;width:auto;z-index:0}.md-taskitem.selected{background-color:var(--taskitem-pressed-bg-color,#fff);box-shadow:0 .125rem .25rem rgba(0,0,0,.16)}.md-taskitem.selected .md-taskitem__content_chat,.md-taskitem.selected .md-taskitem__content_popover_title,.md-taskitem.selected .md-taskitem__content_queue{color:var(--taskitem-selected-text-color)}.md-taskitem.selected .md-taskitem__content_title.mainTitle{color:var(--taskitem-selected-text-color)}.md-taskitem:hover{background-color:var(--taskitem-hover-bg-color)}.md-taskitem:hover .md-taskitem__content_chat,.md-taskitem:hover .md-taskitem__content_popover_title,.md-taskitem:hover .md-taskitem__content_queue{color:var(--taskitem-selected-text-color)}.md-taskitem:hover .md-taskitem__content_title.mainTitle{color:var(--taskitem-selected-text-color)}.md-taskitem:active{background-color:var(--taskitem-pressed-bg-color)}.md-taskitem:active .md-taskitem__content_chat,.md-taskitem:active .md-taskitem__content_popover_title,.md-taskitem:active .md-taskitem__content_queue{color:var(--taskitem-selected-text-color)}.md-taskitem:active .md-taskitem__content_title.mainTitle{color:var(--taskitem-selected-text-color)}.md-taskitem:focus{background:var(--taskitem-focus-bg-color);box-shadow:none;outline:0}.md-taskitem:focus::after{box-shadow:0 0 0 .125rem var(--taskitem-focus-border-color,#007aa3)}.md-taskitem::after{bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0;z-index:-1;border-radius:.5rem;margin:-.125rem}.md-taskitem__mediatype{margin-inline-end:.5rem;position:relative;width:2.625rem}.md-taskitem__mediatype img{max-width:fit-content}.md-taskitem__mediatype .md-taskitem__status{align-items:center;display:inline-flex;justify-content:space-around;position:absolute;background:var(--taskitem-status-bg-color);border-radius:50%;bottom:-4px;color:var(--taskitem-status-text-color);height:1.25rem;right:-4px;width:1.25rem}.md-taskitem__mediatype .md-taskitem__status md-icon{height:.75rem}.md-taskitem__mediatype .md-taskitem__status md-icon::part(icon){vertical-align:top}.md-taskitem__mediatype .md-taskitem__status.hold{background:var(--taskitem-status-pause-bg-color)}.md-taskitem__content{align-content:stretch;align-items:flex-start;align-self:stretch;display:flex;flex:0 1 auto;flex-direction:column;justify-content:center;width:calc(100% - (2.625rem + 6.25rem))}.md-taskitem__content_popover_title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--taskitem-text-color);font-family:var(--brand-font-bold, "CiscoSansTT Bold", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:14px;line-height:.9375rem;margin-bottom:.5rem;width:100%}.md-taskitem__content_popover_title.popover-item-title{margin-bottom:0}.md-taskitem__content_title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.1875rem;margin-bottom:.5rem;width:100%}.md-taskitem__content_title.mainTitle{color:var(--taskitem-text-color);font-family:var(--brand-font-bold, "CiscoSansTT Bold", "Helvetica Neue", Helvetica, Arial, sans-serif)}.md-taskitem__content_title.display-only-title{margin-bottom:0;width:6.25rem}.md-taskitem__content_inner{display:flex;flex:0 1 auto;width:100%}.md-taskitem__content_queue{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:.875rem;width:100%}.md-taskitem__content_chat{color:var(--taskitem-chat-text-color);display:flex;font-size:12px;line-height:.875rem;margin-top:.5rem;position:relative;width:100%}.md-taskitem__content_chat .new-chat_massages{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline-end:2.5rem;width:calc(100% - .5rem)}.md-taskitem__addition{align-items:flex-end;display:flex;flex-direction:column;margin-inline-start:.5rem;text-align:end;width:6.25rem}.md-taskitem__addition .new-chat-quantity{background:var(--taskitem-chat-quantity-bg-color);border-radius:9px;color:var(--taskitem-chat-quantity-text-color);display:inline-block;font-size:10px;line-height:.875rem;min-width:18px;padding:.125rem .25rem;text-align:center}:host([is-restyle]) .md-taskitem{padding:.5rem .75rem;justify-content:space-between}:host([is-restyle]) .md-taskitem__mediatype{margin-inline-end:.75rem;white-space:nowrap;width:auto}:host([is-restyle]) .md-taskitem .md-taskitem__content{width:auto;min-width:0;flex:1}:host([is-restyle]) .md-taskitem .md-taskitem__content_popover_title,:host([is-restyle]) .md-taskitem .md-taskitem__content_title{font-size:1rem;font-weight:500;line-height:24px;margin:0;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);color:var(--taskitem-restyle-text-color)}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue{font-size:.875rem;line-height:20px;color:var(--taskitem-text-color);width:auto}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue_time{font-size:.875rem;line-height:20px;color:var(--taskitem-text-color);margin-inline-start:4px;min-width:4.375rem;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue_time_dot{background-color:var(--taskitem-restyle-dot-color);border-radius:50%;height:.25rem;width:.25rem;display:inline-flex;margin:3px 0}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue_time ::slotted(*){display:inline-flex}:host([is-restyle]) .md-taskitem .md-taskitem__content_chat{margin:0;font-size:.875rem;line-height:20px;color:var(--taskitem-text-color)}:host([is-restyle]) .md-taskitem .md-taskitem__content_chat .new-chat_massages{padding:0}:host([is-restyle]) .md-taskitem__addition{white-space:nowrap;margin-inline-start:.75rem;width:auto}:host([is-restyle]) .md-taskitem__addition.empty_addition{margin:0}:host([is-restyle]) .md-taskitem .avatar-badge::part(badge){height:2rem;width:2rem;background-color:var(--avatar-darkgray-bg-color)}:host([is-restyle]) .md-taskitem.selected .avatar-badge::part(badge){background-color:var(--avatar-white-bg-color)}:host([is-restyle]) .md-taskitem.selected .md-taskitem__content_popover_title,:host([is-restyle]) .md-taskitem.selected .md-taskitem__content_title{font-family:var(--brand-font-bold, "CiscoSansTT Bold", "Helvetica Neue", Helvetica, Arial, sans-serif)}:host([is-restyle]) .md-taskitem::after{margin:0}:host([is-restyle][disabled]) .md-taskitem{cursor:not-allowed;pointer-events:none}:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_chat,:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_popover_title,:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_queue,:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_title{color:var(--taskitem-restyle-text-disabled-color)}:host([is-restyle][has-messages=true]) .md-taskitem__content_popover_title ::part(tooltip_reference),:host([is-restyle][has-messages=true]) .md-taskitem__content_title ::part(tooltip_reference){font-weight:700!important}:host([is-restyle][has-messages=true]) .md-taskitem__addition{margin-inline-end:.75rem!important}@media(forced-colors:active){.md-taskitem:focus{outline:1px solid Highlight}.md-taskitem.selected,.md-taskitem:hover{forced-color-adjust:none;outline:1px solid Highlight;background-color:Highlight;color:HighlightText;box-shadow:none}.md-taskitem:active{forced-color-adjust:none;outline:1px solid HighlightText;background-color:Highlight;color:HighlightText;box-shadow:none}.md-taskitem__addition .new-chat-quantity{forced-color-adjust:auto}}`},9244(e,t,a){a.d(t,{j:()=>i,r:()=>o});const i={CONSULTING:"consulting",PLAY:"play",HOLD:"hold",CONFERENCE:"conference",TRANSFERED:"transfered",COURTESY_CALLBACK:"courtesy_callback",CAMPAIGN:"campaign"},o={TELEPHONY:"telephony",OUTBOUND_TELEPHONY:"outbound telephony",INBOUND_TELEPHONY:"inbound telephony",OUTBOUND_CAMPAIGN:"outbound-campaign",CALLBACK:"callback",CHAT:"chat",PROGRESSIVE_CAMPAIGN:"progressive_campaign",MIDCALL_TELEPHONY:"midcall telephony",APPLE_MESSAGES:"applemessages",ICON_SRC:"icon src",EMAIL:"email",SMS:"sms",FACEBOOK:"facebook",WHATSAPP:"whatsapp",MESSENGER:"messenger",OUTBOUND_EMAIL:"outboundemail",OUTBOUND_SMS:"outboundsms",SOCIAL_X:"socialx",VIBER:"viber",WECHAT:"wechat",WEBEX:"webex",GOOGLE_MESSAGES:"googlemessages",OUTBOUND_CHAT:"outbound_chat",WORKITEM:"workitem"}},5076(e,t,a){a.d(t,{LG:()=>r,Um:()=>c,i0:()=>n});var i=a(7161),o=a(9244);const n=(e,t,a,o,n)=>i.html`${e?s(t,a,o,n):l(t,a,n)}`,m=(e,t,a,o)=>i.html`<md-avatar
2
2
  size="32"
3
3
  type=${a}
4
4
  state=${e?"active":"rest"}
@@ -67,4 +67,4 @@
67
67
  avatar-style="default"
68
68
  state=${t?"active":"rest"}
69
69
  ></md-avatar>
70
- `;default:return i.html` <slot name="task-type"></slot> `}},c=(e,t,a)=>{if(e<=0)return a.removeAttribute("has-messages"),i.nothing;a.setAttribute("has-messages","true");const o=e>99?"99+":e.toString();return t?i.html` <md-badge color="unreadcount"> ${o} </md-badge>`:i.html` <span class="new-chat-quantity">${o}</span> `}},8634(e,t,a){a.d(t,{A:()=>i});const i=a(7161).css`:host{width:100%}.md-taskitem{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:stretch;border-radius:.5rem;color:var(--md-secondary-text-color);cursor:pointer;margin-bottom:4px;min-height:5rem;padding:.75rem;position:relative;width:auto;z-index:0}.md-taskitem.selected{background-color:var(--taskitem-pressed-bg-color,#fff);box-shadow:0 .125rem .25rem rgba(0,0,0,.16)}.md-taskitem.selected .md-taskitem__content_chat,.md-taskitem.selected .md-taskitem__content_popover_title,.md-taskitem.selected .md-taskitem__content_queue{color:var(--taskitem-selected-text-color)}.md-taskitem.selected .md-taskitem__content_title.mainTitle{color:var(--taskitem-selected-text-color)}.md-taskitem:hover{background-color:var(--taskitem-hover-bg-color)}.md-taskitem:hover .md-taskitem__content_chat,.md-taskitem:hover .md-taskitem__content_popover_title,.md-taskitem:hover .md-taskitem__content_queue{color:var(--taskitem-selected-text-color)}.md-taskitem:hover .md-taskitem__content_title.mainTitle{color:var(--taskitem-selected-text-color)}.md-taskitem:active{background-color:var(--taskitem-pressed-bg-color)}.md-taskitem:active .md-taskitem__content_chat,.md-taskitem:active .md-taskitem__content_popover_title,.md-taskitem:active .md-taskitem__content_queue{color:var(--taskitem-selected-text-color)}.md-taskitem:active .md-taskitem__content_title.mainTitle{color:var(--taskitem-selected-text-color)}.md-taskitem:focus{background:var(--taskitem-focus-bg-color);box-shadow:none;outline:0}.md-taskitem:focus::after{box-shadow:0 0 0 .125rem var(--taskitem-focus-border-color,#007aa3)}.md-taskitem::after{bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0;z-index:-1;border-radius:.5rem;margin:-.125rem}.md-taskitem__mediatype{margin-inline-end:.5rem;position:relative;width:2.625rem}.md-taskitem__mediatype img{max-width:fit-content}.md-taskitem__mediatype .md-taskitem__status{align-items:center;display:inline-flex;justify-content:space-around;position:absolute;background:var(--taskitem-status-bg-color);border-radius:50%;bottom:-4px;color:var(--taskitem-status-text-color);height:1.25rem;right:-4px;width:1.25rem}.md-taskitem__mediatype .md-taskitem__status md-icon{height:.75rem}.md-taskitem__mediatype .md-taskitem__status md-icon::part(icon){vertical-align:top}.md-taskitem__mediatype .md-taskitem__status.hold{background:var(--taskitem-status-pause-bg-color)}.md-taskitem__content{align-content:stretch;align-items:flex-start;align-self:stretch;display:flex;flex:0 1 auto;flex-direction:column;justify-content:center;width:calc(100% - (2.625rem + 6.25rem))}.md-taskitem__content_popover_title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--taskitem-text-color);font-family:var(--brand-font-bold, "CiscoSansTT Bold", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:14px;line-height:.9375rem;margin-bottom:.5rem;width:100%}.md-taskitem__content_popover_title.popover-item-title{margin-bottom:0}.md-taskitem__content_title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.1875rem;margin-bottom:.5rem;width:100%}.md-taskitem__content_title.mainTitle{color:var(--taskitem-text-color);font-family:var(--brand-font-bold, "CiscoSansTT Bold", "Helvetica Neue", Helvetica, Arial, sans-serif)}.md-taskitem__content_title.display-only-title{margin-bottom:0;width:6.25rem}.md-taskitem__content_inner{display:flex;flex:0 1 auto;width:100%}.md-taskitem__content_queue{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:.875rem;width:100%}.md-taskitem__content_chat{color:var(--taskitem-chat-text-color);display:flex;font-size:12px;line-height:.875rem;margin-top:.5rem;position:relative;width:100%}.md-taskitem__content_chat .new-chat_massages{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline-end:2.5rem;width:calc(100% - .5rem)}.md-taskitem__addition{align-items:flex-end;display:flex;flex-direction:column;margin-inline-start:.5rem;text-align:end;width:6.25rem}.md-taskitem__addition .new-chat-quantity{background:var(--taskitem-chat-quantity-bg-color);border-radius:9px;color:var(--taskitem-chat-quantity-text-color);display:inline-block;font-size:10px;line-height:.875rem;min-width:18px;padding:.125rem .25rem;text-align:center}:host([is-restyle]) .md-taskitem{padding:.5rem .75rem;justify-content:space-between}:host([is-restyle]) .md-taskitem__mediatype{margin-inline-end:.75rem;white-space:nowrap;width:auto}:host([is-restyle]) .md-taskitem .md-taskitem__content{width:auto;min-width:0;flex:1}:host([is-restyle]) .md-taskitem .md-taskitem__content_popover_title,:host([is-restyle]) .md-taskitem .md-taskitem__content_title{font-size:1rem;font-weight:500;line-height:24px;margin:0;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);color:var(--taskitem-restyle-text-color)}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue{font-size:.875rem;line-height:20px;color:var(--taskitem-text-color);width:auto}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue_time{font-size:.875rem;line-height:20px;color:var(--taskitem-text-color);margin-inline-start:4px;min-width:4.375rem;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue_time_dot{background-color:var(--taskitem-restyle-dot-color);border-radius:50%;height:.25rem;width:.25rem;display:inline-flex;margin:3px 0}:host([is-restyle]) .md-taskitem .md-taskitem__content_queue_time ::slotted(*){display:inline-flex}:host([is-restyle]) .md-taskitem .md-taskitem__content_chat{margin:0;font-size:.875rem;line-height:20px;color:var(--taskitem-text-color)}:host([is-restyle]) .md-taskitem .md-taskitem__content_chat .new-chat_massages{padding:0}:host([is-restyle]) .md-taskitem__addition{white-space:nowrap;margin-inline-start:.75rem;width:auto}:host([is-restyle]) .md-taskitem__addition.empty_addition{margin:0}:host([is-restyle]) .md-taskitem .avatar-badge::part(badge){height:2rem;width:2rem;background-color:var(--avatar-darkgray-bg-color)}:host([is-restyle]) .md-taskitem.selected .avatar-badge::part(badge){background-color:var(--avatar-white-bg-color)}:host([is-restyle]) .md-taskitem.selected .md-taskitem__content_popover_title,:host([is-restyle]) .md-taskitem.selected .md-taskitem__content_title{font-family:var(--brand-font-bold, "CiscoSansTT Bold", "Helvetica Neue", Helvetica, Arial, sans-serif)}:host([is-restyle]) .md-taskitem::after{margin:0}:host([is-restyle][disabled]) .md-taskitem{cursor:not-allowed;pointer-events:none}:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_chat,:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_popover_title,:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_queue,:host([is-restyle][disabled]) .md-taskitem .md-taskitem__content_title{color:var(--taskitem-restyle-text-disabled-color)}:host([is-restyle][has-messages=true]) .md-taskitem__content_popover_title ::part(tooltip_reference),:host([is-restyle][has-messages=true]) .md-taskitem__content_title ::part(tooltip_reference){font-weight:700!important}:host([is-restyle][has-messages=true]) .md-taskitem__addition{margin-inline-end:.75rem!important}@media(forced-colors:active){.md-taskitem:focus{outline:1px solid Highlight}.md-taskitem.selected,.md-taskitem:hover{forced-color-adjust:none;outline:1px solid Highlight;background-color:Highlight;color:HighlightText;box-shadow:none}.md-taskitem:active{forced-color-adjust:none;outline:1px solid HighlightText;background-color:Highlight;color:HighlightText;box-shadow:none}.md-taskitem__addition .new-chat-quantity{forced-color-adjust:auto}}`},9244(e,t,a){a.d(t,{j:()=>i,r:()=>o});const i={CONSULTING:"consulting",PLAY:"play",HOLD:"hold",CONFERENCE:"conference",TRANSFERED:"transfered",COURTESY_CALLBACK:"courtesy_callback",CAMPAIGN:"campaign"},o={TELEPHONY:"telephony",OUTBOUND_TELEPHONY:"outbound telephony",INBOUND_TELEPHONY:"inbound telephony",OUTBOUND_CAMPAIGN:"outbound-campaign",CALLBACK:"callback",CHAT:"chat",PROGRESSIVE_CAMPAIGN:"progressive_campaign",MIDCALL_TELEPHONY:"midcall telephony",APPLE_MESSAGES:"applemessages",ICON_SRC:"icon src",EMAIL:"email",SMS:"sms",FACEBOOK:"facebook",WHATSAPP:"whatsapp",MESSENGER:"messenger",OUTBOUND_EMAIL:"outboundemail",OUTBOUND_SMS:"outboundsms",SOCIAL_X:"socialx",VIBER:"viber",WECHAT:"wechat",WEBEX:"webex",GOOGLE_MESSAGES:"googlemessages",OUTBOUND_CHAT:"outbound_chat",WORKITEM:"workitem"}}}]);
70
+ `;default:return i.html` <slot name="task-type"></slot> `}},c=(e,t,a)=>{if(e<=0)return a.removeAttribute("has-messages"),i.nothing;a.setAttribute("has-messages","true");const o=e>99?"99+":e.toString();return t?i.html` <md-badge color="unreadcount"> ${o} </md-badge>`:i.html` <span class="new-chat-quantity">${o}</span> `}}}]);
package/dist/8881.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[8881],{597(e,r,t){function o(e=250){return function(r,t,o){let a;return function(e,r){if(e.descriptor=e.descriptor||Object.getOwnPropertyDescriptor(e.target,e.key),"function"!=typeof e.descriptor.value)return console.warn(e.key,"Decorator must be used on function"),e.descriptor;const t=e.descriptor.value,o=e.target.constructor.name;return e.descriptor.value=function(...e){return r.call(this,t,e,o)},e.descriptor}({target:r,key:t,descriptor:o},function(r,t){clearTimeout(a),a=window.setTimeout(()=>{clearTimeout(a),r.apply(this,t)},e)})}}function a(){return(e,r)=>{const t={get(){return new l(this,void 0!==r?r:e.key)},enumerable:!0,configurable:!0};return void 0!==r?Object.defineProperty(e,r,t):{kind:"method",placement:"prototype",key:e.key,descriptor:t}}}t.d(r,{Wj:()=>a,sg:()=>o});class l{constructor(e,r){this.target=e,this.eventName=r}emit(e,r={bubbles:!0,composed:!0,cancelable:!1}){this.target.dispatchEvent(new CustomEvent(this.eventName,Object.assign({detail:e},r)))}}},4841(e,r,t){t.d(r,{A:()=>o});const o=t(7161).css`:host{display:block}.md-table-advanced{width:100%}table{border-collapse:separate;border-spacing:0;max-width:100%;position:relative;width:100%}table.sticky-header{height:100%}table.sticky-header thead th:first-child{border-left:1px solid var(--table-advanced-border-color)}table.sticky-header thead th{background-color:var(--table-advanced-header-bg-color);border-left:0;border-top:0;position:sticky;top:0;z-index:1}table.sticky-header thead th::before{border-top:1px solid var(--table-advanced-border-color);bottom:0;content:" ";left:0;position:absolute;top:0;width:100%}table.sticky-header thead tr:last-child th{top:2.5rem}table.sticky-header thead tr:last-child th::before{border-bottom:1px solid var(--table-advanced-border-color);border-top:1px solid var(--table-advanced-border-color)}table.sticky-header thead tr:first-child th{height:calc(2.5rem + .0625rem*2);top:0}table.sticky-header thead tr:first-child th::before{border-bottom:1px solid var(--table-advanced-border-color);border-top:1px solid var(--table-advanced-border-color)}table.sticky-header thead tr:focus{outline:0}table.sticky-header thead tr:focus th:first-child{border-left:2px solid var(--md-focus-border-color)}table.sticky-header thead tr:focus th:last-child{border-right:2px solid var(--md-focus-border-color)}table.sticky-header thead tr:focus th::before{border-bottom:2px solid var(--md-focus-border-color);border-top:2px solid var(--md-focus-border-color)}thead th:first-child{border-left:1px solid var(--table-advanced-border-color)}thead th{background-color:var(--table-advanced-header-bg-color);border:1px solid var(--table-advanced-border-color);border-left:0;color:var(--md-secondary-text-color);font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:14px;height:2.5rem;max-width:0;padding:0 .375rem;position:relative;text-align:left}thead th .filter{display:inline-block;height:auto;margin-top:calc(.25rem/2)}thead th .resize{background-color:rgba(0,0,0,0);cursor:col-resize;height:100%;left:calc(-.25rem/2);position:absolute;top:0;width:.25rem;z-index:1}thead .head-inner-cell{align-items:center;display:flex;min-width:.875rem}thead .head-inner-cell .filter-wrap{align-items:center;display:inline-flex;flex:1;justify-content:flex-end}thead .head-inner-cell .filter-icon{color:var(--md-primary-text-color);cursor:pointer;display:inline-block;height:1.5rem;min-width:1.25rem;position:relative;z-index:1;border-radius:4px}thead .head-inner-cell .filter-icon::part(button){padding:.25rem;text-align:center;width:1.5rem}thead .head-inner-cell .filter-icon:hover{background-color:var(--table-advanced-filter-hover-bg-color)}thead .head-inner-cell .filter-icon:active{background-color:var(--table-advanced-filter-pressed-bg-color)}thead .head-inner-cell span{display:inline-block;overflow:hidden;padding-right:calc(.25rem*1.25);text-overflow:ellipsis;white-space:nowrap;width:100%}thead .head-inner-cell .sortable{background:rgba(0,0,0,0);border:0;color:var(--md-secondary-text-color);display:inline-flex;align-items:center;min-width:calc(1rem*2.5);overflow:hidden;padding-right:calc(.25rem*4);text-overflow:ellipsis;white-space:nowrap;width:auto}thead md-menu-overlay::part(overlay){top:-.375rem;white-space:normal}@supports(-moz-appearance:none){thead md-menu-overlay::part(overlay){top:-.25rem;white-space:normal}}thead .drag-area-col{cursor:grab;display:block;height:calc(.25rem*10);left:.25rem;position:absolute;right:.25rem;top:0;z-index:1}thead .drag-area-col.drag{border:2px dashed var(--table-advanced-filter-border-color);opacity:1}thead .drag-area-col.over{background-color:#a87ff1;height:100%;opacity:.1}thead .sortable{cursor:pointer;z-index:1;gap:.5rem}.filter-active{display:inline-block;height:1.25rem;text-align:center;vertical-align:bottom;width:1.25rem}.filter-active::part(icon){line-height:.875rem}.filter-menu{background-color:var(--table-advanced-filter-bg-color);padding:calc(.25rem*3);position:relative;z-index:1}.filter-menu select{background-color:var(--table-advanced-filter-bg-color);border:1px solid var(--table-advanced-filter-border-color);color:var(--md-secondary-text-color);min-height:calc(.875rem*1.8);width:100%}.filter-menu input{background-color:var(--table-advanced-filter-bg-color);border:1px solid var(--table-advanced-filter-border-color);color:var(--md-secondary-text-color);margin-top:calc(.25rem*2);width:100%}tbody tr{position:relative}tbody tr td:first-child{border-left:1px solid var(--table-advanced-border-color)}tbody tr td{border-bottom:1px solid var(--table-advanced-border-color);border-right:1px solid var(--table-advanced-border-color);font-size:14px;height:2.5rem;max-width:0;padding:calc(.25rem*1.5);position:relative}tbody tr th:first-child{border-top:1px solid var(--table-advanced-border-color)}tbody tr th{background-color:var(--table-advanced-header-bg-color);border-bottom:1px solid var(--table-advanced-border-color);border-right:1px solid var(--table-advanced-border-color);font-size:14px;max-width:0;padding:0 calc(.25rem*4);position:relative;text-align:left}tbody tr .inner-cell{display:flex;white-space:nowrap;align-items:center}tbody tr .inner-cell .warn-icon{display:inline-block;margin-left:.25rem;max-height:1.25rem;position:relative;vertical-align:middle;z-index:0}tbody tr .inner-cell md-icon::part(icon){line-height:1.25rem}tbody tr .inner-cell span{align-self:center;display:inline-block;flex:1;overflow:hidden;padding:0 .25rem;text-overflow:ellipsis;vertical-align:middle}tbody tr .drag-handle{cursor:grab;float:left;margin-right:calc(.25rem*1.5)}tbody tr .drag-area{height:50%;left:0;opacity:.3;position:absolute;right:0}tbody tr .drag-area.top{top:0}tbody tr .drag-area.bottom{background-color:rgba(0,0,0,0);bottom:0}tbody tr.ghost{opacity:.3}tbody tr:hover{background-color:var(--table-advanced-hover-bg-color)}tbody tr:hover td,tbody tr:hover th{background-color:var(--table-advanced-hover-bg-color)}tbody tr.selected,tbody tr:active{background-color:var(--table-advanced-selected-bg-color)}tbody tr.selected td,tbody tr.selected th,tbody tr:active td,tbody tr:active th{background-color:var(--table-advanced-selected-bg-color)}button.row-collapsible{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;width:1.25rem;margin-right:calc(.25rem*1.5);background-color:rgba(0,0,0,0);border:1px solid var(--table-advanced-border-color);border-radius:2px}button.row-collapsible:hover{background-color:var(--table-advanced-filter-hover-bg-color);border:0}button.row-collapsible:active{background-color:var(--table-advanced-filter-pressed-bg-color);border:0}`},9125(e,r,t){var o;t.d(r,{d:()=>o}),function(e){const r={placeholder:"Filter..."};e.OPTIONS={equals:{label:"Equals",input:r,predicate:(e,r)=>e==r},notEqual:{label:"Not equal",input:r,predicate:(e,r)=>e!=r},contains:{label:"Contains",input:r,predicate:(e,r)=>e.includes(r)},notContains:{label:"Not contains",input:r,predicate:(e,r)=>!e.includes(r)},startsWith:{label:"Starts with",input:r,predicate:(e,r)=>e.startsWith(r)},endsWith:{label:"Ends with",input:r,predicate:(e,r)=>e.endsWith(r)},lessThan:{label:"Less than",input:r,predicate:(e,r)=>e<r},lessThanOrEquals:{label:"Less than or equals",input:r,predicate:(e,r)=>e<=r},greaterThan:{label:"Greater than",input:r,predicate:(e,r)=>e>r},greaterThanOrEquals:{label:"Greater than or equals",input:r,predicate:(e,r)=>e>=r}},e.optionsString=[e.OPTIONS.equals,e.OPTIONS.notEqual,e.OPTIONS.contains,e.OPTIONS.notContains,e.OPTIONS.startsWith,e.OPTIONS.endsWith],e.optionsNumber=[e.OPTIONS.equals,e.OPTIONS.notEqual,e.OPTIONS.lessThan,e.OPTIONS.lessThanOrEquals,e.OPTIONS.greaterThan,e.OPTIONS.greaterThanOrEquals]}(o||(o={}))}}]);
1
+ "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[8881],{4841(e,r,t){t.d(r,{A:()=>o});const o=t(7161).css`:host{display:block}.md-table-advanced{width:100%}table{border-collapse:separate;border-spacing:0;max-width:100%;position:relative;width:100%}table.sticky-header{height:100%}table.sticky-header thead th:first-child{border-left:1px solid var(--table-advanced-border-color)}table.sticky-header thead th{background-color:var(--table-advanced-header-bg-color);border-left:0;border-top:0;position:sticky;top:0;z-index:1}table.sticky-header thead th::before{border-top:1px solid var(--table-advanced-border-color);bottom:0;content:" ";left:0;position:absolute;top:0;width:100%}table.sticky-header thead tr:last-child th{top:2.5rem}table.sticky-header thead tr:last-child th::before{border-bottom:1px solid var(--table-advanced-border-color);border-top:1px solid var(--table-advanced-border-color)}table.sticky-header thead tr:first-child th{height:calc(2.5rem + .0625rem*2);top:0}table.sticky-header thead tr:first-child th::before{border-bottom:1px solid var(--table-advanced-border-color);border-top:1px solid var(--table-advanced-border-color)}table.sticky-header thead tr:focus{outline:0}table.sticky-header thead tr:focus th:first-child{border-left:2px solid var(--md-focus-border-color)}table.sticky-header thead tr:focus th:last-child{border-right:2px solid var(--md-focus-border-color)}table.sticky-header thead tr:focus th::before{border-bottom:2px solid var(--md-focus-border-color);border-top:2px solid var(--md-focus-border-color)}thead th:first-child{border-left:1px solid var(--table-advanced-border-color)}thead th{background-color:var(--table-advanced-header-bg-color);border:1px solid var(--table-advanced-border-color);border-left:0;color:var(--md-secondary-text-color);font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:14px;height:2.5rem;max-width:0;padding:0 .375rem;position:relative;text-align:left}thead th .filter{display:inline-block;height:auto;margin-top:calc(.25rem/2)}thead th .resize{background-color:rgba(0,0,0,0);cursor:col-resize;height:100%;left:calc(-.25rem/2);position:absolute;top:0;width:.25rem;z-index:1}thead .head-inner-cell{align-items:center;display:flex;min-width:.875rem}thead .head-inner-cell .filter-wrap{align-items:center;display:inline-flex;flex:1;justify-content:flex-end}thead .head-inner-cell .filter-icon{color:var(--md-primary-text-color);cursor:pointer;display:inline-block;height:1.5rem;min-width:1.25rem;position:relative;z-index:1;border-radius:4px}thead .head-inner-cell .filter-icon::part(button){padding:.25rem;text-align:center;width:1.5rem}thead .head-inner-cell .filter-icon:hover{background-color:var(--table-advanced-filter-hover-bg-color)}thead .head-inner-cell .filter-icon:active{background-color:var(--table-advanced-filter-pressed-bg-color)}thead .head-inner-cell span{display:inline-block;overflow:hidden;padding-right:calc(.25rem*1.25);text-overflow:ellipsis;white-space:nowrap;width:100%}thead .head-inner-cell .sortable{background:rgba(0,0,0,0);border:0;color:var(--md-secondary-text-color);display:inline-flex;align-items:center;min-width:calc(1rem*2.5);overflow:hidden;padding-right:calc(.25rem*4);text-overflow:ellipsis;white-space:nowrap;width:auto}thead md-menu-overlay::part(overlay){top:-.375rem;white-space:normal}@supports(-moz-appearance:none){thead md-menu-overlay::part(overlay){top:-.25rem;white-space:normal}}thead .drag-area-col{cursor:grab;display:block;height:calc(.25rem*10);left:.25rem;position:absolute;right:.25rem;top:0;z-index:1}thead .drag-area-col.drag{border:2px dashed var(--table-advanced-filter-border-color);opacity:1}thead .drag-area-col.over{background-color:#a87ff1;height:100%;opacity:.1}thead .sortable{cursor:pointer;z-index:1;gap:.5rem}.filter-active{display:inline-block;height:1.25rem;text-align:center;vertical-align:bottom;width:1.25rem}.filter-active::part(icon){line-height:.875rem}.filter-menu{background-color:var(--table-advanced-filter-bg-color);padding:calc(.25rem*3);position:relative;z-index:1}.filter-menu select{background-color:var(--table-advanced-filter-bg-color);border:1px solid var(--table-advanced-filter-border-color);color:var(--md-secondary-text-color);min-height:calc(.875rem*1.8);width:100%}.filter-menu input{background-color:var(--table-advanced-filter-bg-color);border:1px solid var(--table-advanced-filter-border-color);color:var(--md-secondary-text-color);margin-top:calc(.25rem*2);width:100%}tbody tr{position:relative}tbody tr td:first-child{border-left:1px solid var(--table-advanced-border-color)}tbody tr td{border-bottom:1px solid var(--table-advanced-border-color);border-right:1px solid var(--table-advanced-border-color);font-size:14px;height:2.5rem;max-width:0;padding:calc(.25rem*1.5);position:relative}tbody tr th:first-child{border-top:1px solid var(--table-advanced-border-color)}tbody tr th{background-color:var(--table-advanced-header-bg-color);border-bottom:1px solid var(--table-advanced-border-color);border-right:1px solid var(--table-advanced-border-color);font-size:14px;max-width:0;padding:0 calc(.25rem*4);position:relative;text-align:left}tbody tr .inner-cell{display:flex;white-space:nowrap;align-items:center}tbody tr .inner-cell .warn-icon{display:inline-block;margin-left:.25rem;max-height:1.25rem;position:relative;vertical-align:middle;z-index:0}tbody tr .inner-cell md-icon::part(icon){line-height:1.25rem}tbody tr .inner-cell span{align-self:center;display:inline-block;flex:1;overflow:hidden;padding:0 .25rem;text-overflow:ellipsis;vertical-align:middle}tbody tr .drag-handle{cursor:grab;float:left;margin-right:calc(.25rem*1.5)}tbody tr .drag-area{height:50%;left:0;opacity:.3;position:absolute;right:0}tbody tr .drag-area.top{top:0}tbody tr .drag-area.bottom{background-color:rgba(0,0,0,0);bottom:0}tbody tr.ghost{opacity:.3}tbody tr:hover{background-color:var(--table-advanced-hover-bg-color)}tbody tr:hover td,tbody tr:hover th{background-color:var(--table-advanced-hover-bg-color)}tbody tr.selected,tbody tr:active{background-color:var(--table-advanced-selected-bg-color)}tbody tr.selected td,tbody tr.selected th,tbody tr:active td,tbody tr:active th{background-color:var(--table-advanced-selected-bg-color)}button.row-collapsible{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;width:1.25rem;margin-right:calc(.25rem*1.5);background-color:rgba(0,0,0,0);border:1px solid var(--table-advanced-border-color);border-radius:2px}button.row-collapsible:hover{background-color:var(--table-advanced-filter-hover-bg-color);border:0}button.row-collapsible:active{background-color:var(--table-advanced-filter-pressed-bg-color);border:0}`},597(e,r,t){function o(e=250){return function(r,t,o){let a;return function(e,r){if(e.descriptor=e.descriptor||Object.getOwnPropertyDescriptor(e.target,e.key),"function"!=typeof e.descriptor.value)return console.warn(e.key,"Decorator must be used on function"),e.descriptor;const t=e.descriptor.value,o=e.target.constructor.name;return e.descriptor.value=function(...e){return r.call(this,t,e,o)},e.descriptor}({target:r,key:t,descriptor:o},function(r,t){clearTimeout(a),a=window.setTimeout(()=>{clearTimeout(a),r.apply(this,t)},e)})}}function a(){return(e,r)=>{const t={get(){return new l(this,void 0!==r?r:e.key)},enumerable:!0,configurable:!0};return void 0!==r?Object.defineProperty(e,r,t):{kind:"method",placement:"prototype",key:e.key,descriptor:t}}}t.d(r,{Wj:()=>a,sg:()=>o});class l{constructor(e,r){this.target=e,this.eventName=r}emit(e,r={bubbles:!0,composed:!0,cancelable:!1}){this.target.dispatchEvent(new CustomEvent(this.eventName,Object.assign({detail:e},r)))}}},9125(e,r,t){var o;t.d(r,{d:()=>o}),function(e){const r={placeholder:"Filter..."};e.OPTIONS={equals:{label:"Equals",input:r,predicate:(e,r)=>e==r},notEqual:{label:"Not equal",input:r,predicate:(e,r)=>e!=r},contains:{label:"Contains",input:r,predicate:(e,r)=>e.includes(r)},notContains:{label:"Not contains",input:r,predicate:(e,r)=>!e.includes(r)},startsWith:{label:"Starts with",input:r,predicate:(e,r)=>e.startsWith(r)},endsWith:{label:"Ends with",input:r,predicate:(e,r)=>e.endsWith(r)},lessThan:{label:"Less than",input:r,predicate:(e,r)=>e<r},lessThanOrEquals:{label:"Less than or equals",input:r,predicate:(e,r)=>e<=r},greaterThan:{label:"Greater than",input:r,predicate:(e,r)=>e>r},greaterThanOrEquals:{label:"Greater than or equals",input:r,predicate:(e,r)=>e>=r}},e.optionsString=[e.OPTIONS.equals,e.OPTIONS.notEqual,e.OPTIONS.contains,e.OPTIONS.notContains,e.OPTIONS.startsWith,e.OPTIONS.endsWith],e.optionsNumber=[e.OPTIONS.equals,e.OPTIONS.notEqual,e.OPTIONS.lessThan,e.OPTIONS.lessThanOrEquals,e.OPTIONS.greaterThan,e.OPTIONS.greaterThanOrEquals]}(o||(o={}))}}]);