@dialpad/dialtone-vue 3.120.0 → 3.120.2

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 (425) hide show
  1. package/dist/chunks/_plugin-vue_export-helper-caHeSgYY.js +11 -0
  2. package/dist/chunks/_plugin-vue_export-helper-caHeSgYY.js.map +1 -0
  3. package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js +10 -0
  4. package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js.map +1 -0
  5. package/dist/chunks/{dropdown-eWOvBvwq.js → dropdown-Hn-TeTvZ.js} +151 -104
  6. package/dist/chunks/{dropdown-UO3UJalk.js.map → dropdown-Hn-TeTvZ.js.map} +1 -1
  7. package/dist/chunks/dropdown-w8Do29L5.js +442 -0
  8. package/dist/chunks/{dropdown-eWOvBvwq.js.map → dropdown-w8Do29L5.js.map} +1 -1
  9. package/dist/chunks/dropdown_constants-2pGCXy7m.js +8 -0
  10. package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +1 -0
  11. package/dist/chunks/dropdown_constants-w1MXGC3Z.js +9 -0
  12. package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +1 -0
  13. package/dist/chunks/{icon_constants-OpYAAKwF.js → icon_constants-Dy4MEUJL.js} +7 -6
  14. package/dist/chunks/{icon_constants-2S_OSQ1t.js.map → icon_constants-Dy4MEUJL.js.map} +1 -1
  15. package/dist/chunks/icon_constants-QYpmdE0R.js +16 -0
  16. package/dist/chunks/{icon_constants-OpYAAKwF.js.map → icon_constants-QYpmdE0R.js.map} +1 -1
  17. package/dist/chunks/index-4qgKeErp.js +446 -0
  18. package/dist/chunks/{index-b4iXYvId.js.map → index-4qgKeErp.js.map} +1 -1
  19. package/dist/chunks/index-b_MgDylR.js +447 -0
  20. package/dist/chunks/{index-6tYeqbgP.js.map → index-b_MgDylR.js.map} +1 -1
  21. package/dist/chunks/{input-4UQWegUk.js → input-NmYDD5bn.js} +83 -60
  22. package/dist/chunks/{input-0Uksk4DP.js.map → input-NmYDD5bn.js.map} +1 -1
  23. package/dist/chunks/input-ttnte8zB.js +295 -0
  24. package/dist/chunks/{input-4UQWegUk.js.map → input-ttnte8zB.js.map} +1 -1
  25. package/dist/chunks/input_group-M-D25pOJ.js +152 -0
  26. package/dist/chunks/{input_group-bBKaq3Wi.js.map → input_group-M-D25pOJ.js.map} +1 -1
  27. package/dist/chunks/{input_group-bBKaq3Wi.js → input_group-jWnq2DJT.js} +27 -24
  28. package/dist/chunks/{input_group-AS760Cp7.js.map → input_group-jWnq2DJT.js.map} +1 -1
  29. package/dist/chunks/keyboard_list_navigation-ScXhrxya.js +284 -0
  30. package/dist/chunks/{keyboard_list_navigation-N74Bpdq7.js.map → keyboard_list_navigation-ScXhrxya.js.map} +1 -1
  31. package/dist/chunks/keyboard_list_navigation-fJnl_Iox.js +283 -0
  32. package/dist/chunks/{keyboard_list_navigation-F0O8nht0.js.map → keyboard_list_navigation-fJnl_Iox.js.map} +1 -1
  33. package/dist/chunks/link_constants-Huj7D_hm.js +22 -0
  34. package/dist/chunks/{link_constants-Kn6kP4i1.js.map → link_constants-Huj7D_hm.js.map} +1 -1
  35. package/dist/chunks/link_constants-nWVlXQBs.js +23 -0
  36. package/dist/chunks/{link_constants-vIUB92L4.js.map → link_constants-nWVlXQBs.js.map} +1 -1
  37. package/dist/chunks/list_item_constants-EiqkqZvP.js +13 -0
  38. package/dist/chunks/{list_item_constants-Tsz5CO1m.js.map → list_item_constants-EiqkqZvP.js.map} +1 -1
  39. package/dist/chunks/list_item_constants-u1xcN9Dd.js +14 -0
  40. package/dist/chunks/{list_item_constants-LTUc74pD.js.map → list_item_constants-u1xcN9Dd.js.map} +1 -1
  41. package/dist/chunks/modal-VgxXAQFP.js +105 -0
  42. package/dist/chunks/{modal-qEzlo0Sj.js.map → modal-VgxXAQFP.js.map} +1 -1
  43. package/dist/chunks/modal-XOr4kiNZ.js +106 -0
  44. package/dist/chunks/{modal-VuMFkZFH.js.map → modal-XOr4kiNZ.js.map} +1 -1
  45. package/dist/chunks/notice_action-WTucGhvr.js +222 -0
  46. package/dist/chunks/{notice_action-tJfD5Qw1.js.map → notice_action-WTucGhvr.js.map} +1 -1
  47. package/dist/chunks/notice_action-p-ePanW_.js +223 -0
  48. package/dist/chunks/{notice_action-jO199emq.js.map → notice_action-p-ePanW_.js.map} +1 -1
  49. package/dist/chunks/notice_constants-7Qt2CQEY.js +7 -0
  50. package/dist/chunks/{notice_constants-mC6al2Dm.js.map → notice_constants-7Qt2CQEY.js.map} +1 -1
  51. package/dist/chunks/notice_constants-UXo9e3bS.js +6 -0
  52. package/dist/chunks/{notice_constants-c--hBFQw.js.map → notice_constants-UXo9e3bS.js.map} +1 -1
  53. package/dist/chunks/popover_constants-JwBF9h1Z.js +143 -0
  54. package/dist/chunks/{popover_constants-hOEhklvr.js.map → popover_constants-JwBF9h1Z.js.map} +1 -1
  55. package/dist/chunks/popover_constants-Qkpb0yh2.js +144 -0
  56. package/dist/chunks/{popover_constants-qjlEkroB.js.map → popover_constants-Qkpb0yh2.js.map} +1 -1
  57. package/dist/chunks/{sr_only_close_button-7O-Ev8uM.js → sr_only_close_button-3EdsV-dH.js} +28 -24
  58. package/dist/chunks/{sr_only_close_button-iD7s1Pbj.js.map → sr_only_close_button-3EdsV-dH.js.map} +1 -1
  59. package/dist/chunks/sr_only_close_button-xGrHFjwA.js +91 -0
  60. package/dist/chunks/{sr_only_close_button-7O-Ev8uM.js.map → sr_only_close_button-xGrHFjwA.js.map} +1 -1
  61. package/dist/chunks/stack_constants-HraCekPm.js +15 -0
  62. package/dist/chunks/{stack_constants-m9Ickqw0.js.map → stack_constants-HraCekPm.js.map} +1 -1
  63. package/dist/chunks/stack_constants-SMzMWnAQ.js +14 -0
  64. package/dist/chunks/{stack_constants-u7tNqGtc.js.map → stack_constants-SMzMWnAQ.js.map} +1 -1
  65. package/dist/chunks/tab-RTDgnD9-.js +391 -0
  66. package/dist/chunks/{tab-at7WWglk.js.map → tab-RTDgnD9-.js.map} +1 -1
  67. package/dist/chunks/tab-qc3f42Yp.js +390 -0
  68. package/dist/chunks/{tab-GQZFMq83.js.map → tab-qc3f42Yp.js.map} +1 -1
  69. package/dist/common/constants.cjs +60 -0
  70. package/dist/{lib → common}/constants.cjs.map +1 -1
  71. package/dist/{lib → common}/constants.js +25 -18
  72. package/dist/{lib → common}/constants.js.map +1 -1
  73. package/dist/common/dates.cjs +72 -0
  74. package/dist/{lib → common}/dates.cjs.map +1 -1
  75. package/dist/common/dates.js +72 -0
  76. package/dist/{lib → common}/dates.js.map +1 -1
  77. package/dist/common/emoji.cjs +163 -0
  78. package/dist/common/emoji.cjs.map +1 -0
  79. package/dist/common/emoji.js +168 -0
  80. package/dist/common/emoji.js.map +1 -0
  81. package/dist/common/mixins.cjs +17 -0
  82. package/dist/{lib → common}/mixins.cjs.map +1 -1
  83. package/dist/common/mixins.js +17 -0
  84. package/dist/common/utils.cjs +243 -0
  85. package/dist/{lib → common}/utils.cjs.map +1 -1
  86. package/dist/common/utils.js +243 -0
  87. package/dist/{lib → common}/utils.js.map +1 -1
  88. package/dist/common/validators.cjs +23 -0
  89. package/dist/{lib → common}/validators.cjs.map +1 -1
  90. package/dist/common/validators.js +23 -0
  91. package/dist/{lib → common}/validators.js.map +1 -1
  92. package/dist/dialtone-vue.cjs +373 -1
  93. package/dist/dialtone-vue.cjs.map +1 -1
  94. package/dist/dialtone-vue.js +328 -327
  95. package/dist/dialtone-vue.js.map +1 -1
  96. package/dist/lib/attachment-carousel.cjs +345 -1
  97. package/dist/lib/attachment-carousel.cjs.map +1 -1
  98. package/dist/lib/attachment-carousel.js +126 -108
  99. package/dist/lib/attachment-carousel.js.map +1 -1
  100. package/dist/lib/avatar.cjs +447 -1
  101. package/dist/lib/avatar.cjs.map +1 -1
  102. package/dist/lib/avatar.js +135 -101
  103. package/dist/lib/avatar.js.map +1 -1
  104. package/dist/lib/badge.cjs +206 -1
  105. package/dist/lib/badge.cjs.map +1 -1
  106. package/dist/lib/badge.js +64 -48
  107. package/dist/lib/badge.js.map +1 -1
  108. package/dist/lib/banner.cjs +242 -2
  109. package/dist/lib/banner.cjs.map +1 -1
  110. package/dist/lib/banner.js +81 -71
  111. package/dist/lib/banner.js.map +1 -1
  112. package/dist/lib/breadcrumbs.cjs +150 -1
  113. package/dist/lib/breadcrumbs.cjs.map +1 -1
  114. package/dist/lib/breadcrumbs.js +60 -52
  115. package/dist/lib/breadcrumbs.js.map +1 -1
  116. package/dist/lib/button-group.cjs +41 -1
  117. package/dist/lib/button-group.cjs.map +1 -1
  118. package/dist/lib/button-group.js +15 -14
  119. package/dist/lib/button-group.js.map +1 -1
  120. package/dist/lib/button.cjs +356 -1
  121. package/dist/lib/button.cjs.map +1 -1
  122. package/dist/lib/button.js +108 -88
  123. package/dist/lib/button.js.map +1 -1
  124. package/dist/lib/callbar-button-with-popover.cjs +322 -1
  125. package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
  126. package/dist/lib/callbar-button-with-popover.js +101 -83
  127. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  128. package/dist/lib/callbar-button.cjs +200 -1
  129. package/dist/lib/callbar-button.cjs.map +1 -1
  130. package/dist/lib/callbar-button.js +52 -45
  131. package/dist/lib/callbar-button.js.map +1 -1
  132. package/dist/lib/callbox.cjs +217 -1
  133. package/dist/lib/callbox.cjs.map +1 -1
  134. package/dist/lib/callbox.js +80 -67
  135. package/dist/lib/callbox.js.map +1 -1
  136. package/dist/lib/card.cjs +91 -1
  137. package/dist/lib/card.cjs.map +1 -1
  138. package/dist/lib/card.js +27 -27
  139. package/dist/lib/card.js.map +1 -1
  140. package/dist/lib/checkbox-group.cjs +115 -1
  141. package/dist/lib/checkbox-group.cjs.map +1 -1
  142. package/dist/lib/checkbox-group.js +34 -23
  143. package/dist/lib/checkbox-group.js.map +1 -1
  144. package/dist/lib/checkbox.cjs +156 -1
  145. package/dist/lib/checkbox.cjs.map +1 -1
  146. package/dist/lib/checkbox.js +72 -60
  147. package/dist/lib/checkbox.js.map +1 -1
  148. package/dist/lib/chip.cjs +235 -1
  149. package/dist/lib/chip.cjs.map +1 -1
  150. package/dist/lib/chip.js +84 -67
  151. package/dist/lib/chip.js.map +1 -1
  152. package/dist/lib/codeblock.cjs +23 -2
  153. package/dist/lib/codeblock.cjs.map +1 -1
  154. package/dist/lib/codeblock.js +13 -13
  155. package/dist/lib/codeblock.js.map +1 -1
  156. package/dist/lib/collapsible.cjs +398 -1
  157. package/dist/lib/collapsible.cjs.map +1 -1
  158. package/dist/lib/collapsible.js +123 -100
  159. package/dist/lib/collapsible.js.map +1 -1
  160. package/dist/lib/combobox-multi-select.cjs +589 -1
  161. package/dist/lib/combobox-multi-select.cjs.map +1 -1
  162. package/dist/lib/combobox-multi-select.js +270 -177
  163. package/dist/lib/combobox-multi-select.js.map +1 -1
  164. package/dist/lib/combobox-with-popover.cjs +452 -1
  165. package/dist/lib/combobox-with-popover.cjs.map +1 -1
  166. package/dist/lib/combobox-with-popover.js +172 -127
  167. package/dist/lib/combobox-with-popover.js.map +1 -1
  168. package/dist/lib/combobox.cjs +18 -1
  169. package/dist/lib/combobox.cjs.map +1 -1
  170. package/dist/lib/combobox.js +9 -9
  171. package/dist/lib/contact-info.cjs +205 -1
  172. package/dist/lib/contact-info.cjs.map +1 -1
  173. package/dist/lib/contact-info.js +69 -60
  174. package/dist/lib/contact-info.js.map +1 -1
  175. package/dist/lib/contact-row.cjs +246 -1
  176. package/dist/lib/contact-row.cjs.map +1 -1
  177. package/dist/lib/contact-row.js +67 -63
  178. package/dist/lib/contact-row.js.map +1 -1
  179. package/dist/lib/datepicker.cjs +854 -1
  180. package/dist/lib/datepicker.cjs.map +1 -1
  181. package/dist/lib/datepicker.js +585 -441
  182. package/dist/lib/datepicker.js.map +1 -1
  183. package/dist/lib/description-list.cjs +116 -1
  184. package/dist/lib/description-list.cjs.map +1 -1
  185. package/dist/lib/description-list.js +56 -24
  186. package/dist/lib/description-list.js.map +1 -1
  187. package/dist/lib/dropdown.cjs +36 -1
  188. package/dist/lib/dropdown.cjs.map +1 -1
  189. package/dist/lib/dropdown.js +22 -21
  190. package/dist/lib/dropdown.js.map +1 -1
  191. package/dist/lib/editor.cjs +711 -1
  192. package/dist/lib/editor.cjs.map +1 -1
  193. package/dist/lib/editor.js +271 -235
  194. package/dist/lib/editor.js.map +1 -1
  195. package/dist/lib/emoji-picker.cjs +1277 -1
  196. package/dist/lib/emoji-picker.cjs.map +1 -1
  197. package/dist/lib/emoji-picker.js +859 -569
  198. package/dist/lib/emoji-picker.js.map +1 -1
  199. package/dist/lib/emoji-row.cjs +128 -1
  200. package/dist/lib/emoji-row.cjs.map +1 -1
  201. package/dist/lib/emoji-row.js +89 -75
  202. package/dist/lib/emoji-row.js.map +1 -1
  203. package/dist/lib/emoji-text-wrapper.cjs +102 -1
  204. package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
  205. package/dist/lib/emoji-text-wrapper.js +42 -31
  206. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  207. package/dist/lib/emoji.cjs +158 -1
  208. package/dist/lib/emoji.cjs.map +1 -1
  209. package/dist/lib/emoji.js +153 -6
  210. package/dist/lib/emoji.js.map +1 -1
  211. package/dist/lib/feed-item-row.cjs +296 -1
  212. package/dist/lib/feed-item-row.cjs.map +1 -1
  213. package/dist/lib/feed-item-row.js +119 -100
  214. package/dist/lib/feed-item-row.js.map +1 -1
  215. package/dist/lib/feed-pill.cjs +173 -1
  216. package/dist/lib/feed-pill.cjs.map +1 -1
  217. package/dist/lib/feed-pill.js +70 -57
  218. package/dist/lib/feed-pill.js.map +1 -1
  219. package/dist/lib/general-row.cjs +518 -1
  220. package/dist/lib/general-row.cjs.map +1 -1
  221. package/dist/lib/general-row.js +186 -148
  222. package/dist/lib/general-row.js.map +1 -1
  223. package/dist/lib/group-row.cjs +116 -1
  224. package/dist/lib/group-row.cjs.map +1 -1
  225. package/dist/lib/group-row.js +37 -35
  226. package/dist/lib/group-row.js.map +1 -1
  227. package/dist/lib/grouped-chip.cjs +96 -1
  228. package/dist/lib/grouped-chip.cjs.map +1 -1
  229. package/dist/lib/grouped-chip.js +51 -46
  230. package/dist/lib/grouped-chip.js.map +1 -1
  231. package/dist/lib/hovercard.cjs +223 -1
  232. package/dist/lib/hovercard.cjs.map +1 -1
  233. package/dist/lib/hovercard.js +115 -80
  234. package/dist/lib/hovercard.js.map +1 -1
  235. package/dist/lib/icon.cjs +58 -1
  236. package/dist/lib/icon.cjs.map +1 -1
  237. package/dist/lib/icon.js +20 -20
  238. package/dist/lib/icon.js.map +1 -1
  239. package/dist/lib/image-viewer.cjs +243 -1
  240. package/dist/lib/image-viewer.cjs.map +1 -1
  241. package/dist/lib/image-viewer.js +104 -80
  242. package/dist/lib/image-viewer.js.map +1 -1
  243. package/dist/lib/input-group.cjs +91 -1
  244. package/dist/lib/input-group.cjs.map +1 -1
  245. package/dist/lib/input-group.js +41 -39
  246. package/dist/lib/input-group.js.map +1 -1
  247. package/dist/lib/input.cjs +578 -1
  248. package/dist/lib/input.cjs.map +1 -1
  249. package/dist/lib/input.js +185 -137
  250. package/dist/lib/input.js.map +1 -1
  251. package/dist/lib/item-layout.cjs +91 -1
  252. package/dist/lib/item-layout.cjs.map +1 -1
  253. package/dist/lib/item-layout.js +45 -39
  254. package/dist/lib/item-layout.js.map +1 -1
  255. package/dist/lib/ivr-node.cjs +263 -1
  256. package/dist/lib/ivr-node.cjs.map +1 -1
  257. package/dist/lib/ivr-node.js +130 -112
  258. package/dist/lib/ivr-node.js.map +1 -1
  259. package/dist/lib/keyboard-shortcut.cjs +119 -1
  260. package/dist/lib/keyboard-shortcut.cjs.map +1 -1
  261. package/dist/lib/keyboard-shortcut.js +58 -48
  262. package/dist/lib/keyboard-shortcut.js.map +1 -1
  263. package/dist/lib/lazy-show.cjs +82 -1
  264. package/dist/lib/lazy-show.cjs.map +1 -1
  265. package/dist/lib/lazy-show.js +21 -19
  266. package/dist/lib/lazy-show.js.map +1 -1
  267. package/dist/lib/link.cjs +43 -1
  268. package/dist/lib/link.cjs.map +1 -1
  269. package/dist/lib/link.js +20 -19
  270. package/dist/lib/link.js.map +1 -1
  271. package/dist/lib/list-item-group.cjs +67 -1
  272. package/dist/lib/list-item-group.cjs.map +1 -1
  273. package/dist/lib/list-item-group.js +24 -22
  274. package/dist/lib/list-item-group.js.map +1 -1
  275. package/dist/lib/list-item.cjs +216 -1
  276. package/dist/lib/list-item.cjs.map +1 -1
  277. package/dist/lib/list-item.js +71 -60
  278. package/dist/lib/list-item.js.map +1 -1
  279. package/dist/lib/message-input.cjs +708 -1
  280. package/dist/lib/message-input.cjs.map +1 -1
  281. package/dist/lib/message-input.js +232 -206
  282. package/dist/lib/message-input.js.map +1 -1
  283. package/dist/lib/modal.cjs +444 -2
  284. package/dist/lib/modal.cjs.map +1 -1
  285. package/dist/lib/modal.js +153 -120
  286. package/dist/lib/modal.js.map +1 -1
  287. package/dist/lib/notice.cjs +197 -1
  288. package/dist/lib/notice.cjs.map +1 -1
  289. package/dist/lib/notice.js +66 -63
  290. package/dist/lib/notice.js.map +1 -1
  291. package/dist/lib/pagination.cjs +205 -1
  292. package/dist/lib/pagination.cjs.map +1 -1
  293. package/dist/lib/pagination.js +96 -81
  294. package/dist/lib/pagination.js.map +1 -1
  295. package/dist/lib/popover.cjs +1080 -1
  296. package/dist/lib/popover.cjs.map +1 -1
  297. package/dist/lib/popover.js +447 -267
  298. package/dist/lib/popover.js.map +1 -1
  299. package/dist/lib/presence.cjs +70 -1
  300. package/dist/lib/presence.cjs.map +1 -1
  301. package/dist/lib/presence.js +33 -27
  302. package/dist/lib/presence.js.map +1 -1
  303. package/dist/lib/radio-group.cjs +88 -1
  304. package/dist/lib/radio-group.cjs.map +1 -1
  305. package/dist/lib/radio-group.js +18 -18
  306. package/dist/lib/radio-group.js.map +1 -1
  307. package/dist/lib/radio.cjs +162 -1
  308. package/dist/lib/radio.cjs.map +1 -1
  309. package/dist/lib/radio.js +66 -57
  310. package/dist/lib/radio.js.map +1 -1
  311. package/dist/lib/rich-text-editor.cjs +1137 -1
  312. package/dist/lib/rich-text-editor.cjs.map +1 -1
  313. package/dist/lib/rich-text-editor.js +567 -386
  314. package/dist/lib/rich-text-editor.js.map +1 -1
  315. package/dist/lib/root-layout.cjs +158 -1
  316. package/dist/lib/root-layout.cjs.map +1 -1
  317. package/dist/lib/root-layout.js +33 -31
  318. package/dist/lib/root-layout.js.map +1 -1
  319. package/dist/lib/scroller.cjs +1090 -1
  320. package/dist/lib/scroller.cjs.map +1 -1
  321. package/dist/lib/scroller.js +668 -345
  322. package/dist/lib/scroller.js.map +1 -1
  323. package/dist/lib/select-menu.cjs +312 -1
  324. package/dist/lib/select-menu.cjs.map +1 -1
  325. package/dist/lib/select-menu.js +124 -79
  326. package/dist/lib/select-menu.js.map +1 -1
  327. package/dist/lib/settings-menu-button.cjs +77 -1
  328. package/dist/lib/settings-menu-button.cjs.map +1 -1
  329. package/dist/lib/settings-menu-button.js +31 -30
  330. package/dist/lib/settings-menu-button.js.map +1 -1
  331. package/dist/lib/skeleton.cjs +635 -1
  332. package/dist/lib/skeleton.cjs.map +1 -1
  333. package/dist/lib/skeleton.js +189 -152
  334. package/dist/lib/skeleton.js.map +1 -1
  335. package/dist/lib/stack.cjs +123 -1
  336. package/dist/lib/stack.cjs.map +1 -1
  337. package/dist/lib/stack.js +61 -53
  338. package/dist/lib/stack.js.map +1 -1
  339. package/dist/lib/tabs.cjs +102 -1
  340. package/dist/lib/tabs.cjs.map +1 -1
  341. package/dist/lib/tabs.js +47 -41
  342. package/dist/lib/tabs.js.map +1 -1
  343. package/dist/lib/time-pill.cjs +41 -1
  344. package/dist/lib/time-pill.cjs.map +1 -1
  345. package/dist/lib/time-pill.js +18 -14
  346. package/dist/lib/time-pill.js.map +1 -1
  347. package/dist/lib/toast.cjs +281 -1
  348. package/dist/lib/toast.cjs.map +1 -1
  349. package/dist/lib/toast.js +96 -74
  350. package/dist/lib/toast.js.map +1 -1
  351. package/dist/lib/toggle.cjs +192 -1
  352. package/dist/lib/toggle.cjs.map +1 -1
  353. package/dist/lib/toggle.js +60 -49
  354. package/dist/lib/toggle.js.map +1 -1
  355. package/dist/lib/tooltip-directive.cjs +84 -1
  356. package/dist/lib/tooltip-directive.cjs.map +1 -1
  357. package/dist/lib/tooltip-directive.js +56 -42
  358. package/dist/lib/tooltip-directive.js.map +1 -1
  359. package/dist/lib/tooltip.cjs +460 -1
  360. package/dist/lib/tooltip.cjs.map +1 -1
  361. package/dist/lib/tooltip.js +162 -103
  362. package/dist/lib/tooltip.js.map +1 -1
  363. package/dist/lib/top-banner-info.cjs +71 -1
  364. package/dist/lib/top-banner-info.cjs.map +1 -1
  365. package/dist/lib/top-banner-info.js +27 -22
  366. package/dist/lib/top-banner-info.js.map +1 -1
  367. package/dist/lib/unread-pill.cjs +73 -1
  368. package/dist/lib/unread-pill.cjs.map +1 -1
  369. package/dist/lib/unread-pill.js +28 -25
  370. package/dist/lib/unread-pill.js.map +1 -1
  371. package/dist/lib/validation-messages.cjs +89 -1
  372. package/dist/lib/validation-messages.cjs.map +1 -1
  373. package/dist/lib/validation-messages.js +41 -36
  374. package/dist/lib/validation-messages.js.map +1 -1
  375. package/dist/style.css +1257 -1
  376. package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +2 -2
  377. package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +2 -2
  378. package/package.json +30 -29
  379. package/dist/chunks/_plugin-vue_export-helper-6_y-gaV6.js +0 -2
  380. package/dist/chunks/_plugin-vue_export-helper-6_y-gaV6.js.map +0 -1
  381. package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.js +0 -10
  382. package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.js.map +0 -1
  383. package/dist/chunks/dropdown-UO3UJalk.js +0 -2
  384. package/dist/chunks/dropdown_constants-EUcDxBrX.js +0 -9
  385. package/dist/chunks/dropdown_constants-EUcDxBrX.js.map +0 -1
  386. package/dist/chunks/dropdown_constants-KHFvVI2L.js +0 -2
  387. package/dist/chunks/dropdown_constants-KHFvVI2L.js.map +0 -1
  388. package/dist/chunks/icon_constants-2S_OSQ1t.js +0 -2
  389. package/dist/chunks/index-6tYeqbgP.js +0 -3
  390. package/dist/chunks/index-IBtQ5jRJ.js +0 -2
  391. package/dist/chunks/index-IBtQ5jRJ.js.map +0 -1
  392. package/dist/chunks/index-b4iXYvId.js +0 -399
  393. package/dist/chunks/index-mRmwpCBG.js +0 -256
  394. package/dist/chunks/index-mRmwpCBG.js.map +0 -1
  395. package/dist/chunks/input-0Uksk4DP.js +0 -2
  396. package/dist/chunks/input_group-AS760Cp7.js +0 -2
  397. package/dist/chunks/keyboard_list_navigation-F0O8nht0.js +0 -197
  398. package/dist/chunks/keyboard_list_navigation-N74Bpdq7.js +0 -2
  399. package/dist/chunks/link_constants-Kn6kP4i1.js +0 -2
  400. package/dist/chunks/link_constants-vIUB92L4.js +0 -16
  401. package/dist/chunks/list_item_constants-LTUc74pD.js +0 -13
  402. package/dist/chunks/list_item_constants-Tsz5CO1m.js +0 -2
  403. package/dist/chunks/modal-VuMFkZFH.js +0 -82
  404. package/dist/chunks/modal-qEzlo0Sj.js +0 -2
  405. package/dist/chunks/notice_action-jO199emq.js +0 -2
  406. package/dist/chunks/notice_action-tJfD5Qw1.js +0 -209
  407. package/dist/chunks/notice_constants-c--hBFQw.js +0 -6
  408. package/dist/chunks/notice_constants-mC6al2Dm.js +0 -2
  409. package/dist/chunks/popover_constants-hOEhklvr.js +0 -2
  410. package/dist/chunks/popover_constants-qjlEkroB.js +0 -114
  411. package/dist/chunks/sr_only_close_button-iD7s1Pbj.js +0 -3
  412. package/dist/chunks/stack_constants-m9Ickqw0.js +0 -2
  413. package/dist/chunks/stack_constants-u7tNqGtc.js +0 -13
  414. package/dist/chunks/tab-GQZFMq83.js +0 -367
  415. package/dist/chunks/tab-at7WWglk.js +0 -2
  416. package/dist/lib/constants.cjs +0 -2
  417. package/dist/lib/dates.cjs +0 -2
  418. package/dist/lib/dates.js +0 -57
  419. package/dist/lib/mixins.cjs +0 -2
  420. package/dist/lib/mixins.js +0 -17
  421. package/dist/lib/utils.cjs +0 -2
  422. package/dist/lib/utils.js +0 -171
  423. package/dist/lib/validators.cjs +0 -2
  424. package/dist/lib/validators.js +0 -12
  425. /package/dist/{lib → common}/mixins.js.map +0 -0
@@ -1,39 +1,50 @@
1
- import { openBlock as n, createElementBlock as r, normalizeClass as h, normalizeStyle as _, createCommentVNode as E, resolveComponent as l, Fragment as w, renderList as C, createBlock as u, createVNode as k, createElementVNode as v, mergeProps as c } from "vue";
2
- import { _ as f } from "../chunks/_plugin-vue_export-helper-hUChTQA_.js";
3
- const T = 3e6, y = {
1
+ import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createCommentVNode, resolveComponent, Fragment, renderList, createBlock, createVNode, createElementVNode, mergeProps } from "vue";
2
+ import { _export_sfc } from "../chunks/_plugin-vue_export-helper-caHeSgYY.js";
3
+ const SKELETON_RIPPLE_DURATION = 3e6;
4
+ const SKELETON_SHAPES = {
4
5
  circle: "d-bar-circle",
5
6
  square: "d-bar2"
6
- }, I = [
7
+ };
8
+ const SKELETON_TEXT_TYPES = [
7
9
  "body",
8
10
  "heading"
9
- ], L = {
11
+ ];
12
+ const SKELETON_SHAPE_SIZES = {
10
13
  sm: "24px",
11
14
  md: "32px",
12
15
  lg: "48px"
13
- }, g = {
16
+ };
17
+ const SKELETON_HEADING_HEIGHTS = {
14
18
  sm: "d-h16",
15
19
  md: "d-h24",
16
20
  lg: "d-h32"
17
- }, S = {
21
+ };
22
+ const SkeletonAnimation = {
18
23
  computed: {
19
24
  skeletonOffset() {
20
- const e = this.$refs.skeleton;
21
- if (!e)
25
+ const skeletonText = this.$refs.skeleton;
26
+ if (!skeletonText) {
22
27
  return this.offset;
23
- const { top: a, height: t } = e.getBoundingClientRect();
24
- return a + t / 2;
28
+ }
29
+ const { top, height } = skeletonText.getBoundingClientRect();
30
+ return top + height / 2;
25
31
  },
26
32
  skeletonStyle() {
27
- const e = {};
28
- if (this.skeletonOffset === -1 || !this.animate && this.animationDuration === -1)
29
- return e;
30
- const a = this.skeletonOffset * T / 1e3, t = this.animationDuration === -1 ? 1e3 : this.animationDuration;
31
- return e.animationDelay = `${a}ms`, e.animationDuration = `${t}ms`, e;
33
+ const style = {};
34
+ if (this.skeletonOffset === -1 || !this.animate && this.animationDuration === -1) {
35
+ return style;
36
+ }
37
+ const animationDelay = this.skeletonOffset * SKELETON_RIPPLE_DURATION / 1e3;
38
+ const animationDuration = this.animationDuration === -1 ? 1e3 : this.animationDuration;
39
+ style.animationDelay = `${animationDelay}ms`;
40
+ style.animationDuration = `${animationDuration}ms`;
41
+ return style;
32
42
  }
33
43
  }
34
- }, B = {
44
+ };
45
+ const _sfc_main$4 = {
35
46
  name: "DtSkeletonShape",
36
- mixins: [S],
47
+ mixins: [SkeletonAnimation],
37
48
  props: {
38
49
  /**
39
50
  * Defines the shape of the skeleton, accepts circle or square.
@@ -42,7 +53,7 @@ const T = 3e6, y = {
42
53
  shape: {
43
54
  type: String,
44
55
  default: "circle",
45
- validator: (e) => Object.keys(y).includes(e)
56
+ validator: (shape) => Object.keys(SKELETON_SHAPES).includes(shape)
46
57
  },
47
58
  /**
48
59
  * Size of the shape
@@ -65,7 +76,7 @@ const T = 3e6, y = {
65
76
  */
66
77
  animate: {
67
78
  type: Boolean,
68
- default: !0
79
+ default: true
69
80
  },
70
81
  /**
71
82
  * RippleDuration controls how long the delay is for the animation of a
@@ -89,40 +100,41 @@ const T = 3e6, y = {
89
100
  },
90
101
  data() {
91
102
  return {
92
- SKELETON_SHAPES: y
103
+ SKELETON_SHAPES
93
104
  };
94
105
  },
95
106
  computed: {
96
107
  shapeStyles() {
97
- const e = L[this.size] || this.size;
108
+ const size = SKELETON_SHAPE_SIZES[this.size] || this.size;
98
109
  return {
99
110
  ...this.skeletonStyle,
100
- "min-width": e,
101
- "max-width": e,
102
- "min-height": e,
103
- "max-height": e
111
+ "min-width": size,
112
+ "max-width": size,
113
+ "min-height": size,
114
+ "max-height": size
104
115
  };
105
116
  }
106
117
  }
107
118
  };
108
- function P(e, a, t, o, i, s) {
109
- return n(), r("div", {
119
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
120
+ return openBlock(), createElementBlock("div", {
110
121
  ref: "skeleton",
111
122
  "data-qa": "skeleton-shape",
112
- class: h([
123
+ class: normalizeClass([
113
124
  "skeleton-placeholder",
114
- i.SKELETON_SHAPES[t.shape],
125
+ $data.SKELETON_SHAPES[$props.shape],
115
126
  {
116
- "skeleton-placeholder--animate": t.animate
127
+ "skeleton-placeholder--animate": $props.animate
117
128
  },
118
- t.contentClass
129
+ $props.contentClass
119
130
  ]),
120
- style: _(s.shapeStyles)
131
+ style: normalizeStyle($options.shapeStyles)
121
132
  }, null, 6);
122
133
  }
123
- const O = /* @__PURE__ */ f(B, [["render", P]]), z = {
134
+ const DtSkeletonShape = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]);
135
+ const _sfc_main$3 = {
124
136
  name: "DtSkeletonText",
125
- mixins: [S],
137
+ mixins: [SkeletonAnimation],
126
138
  props: {
127
139
  /**
128
140
  * Skeleton type
@@ -131,7 +143,7 @@ const O = /* @__PURE__ */ f(B, [["render", P]]), z = {
131
143
  type: {
132
144
  type: String,
133
145
  default: "body",
134
- validator: (e) => I.includes(e)
146
+ validator: (type) => SKELETON_TEXT_TYPES.includes(type)
135
147
  },
136
148
  /**
137
149
  * Heading height
@@ -140,7 +152,7 @@ const O = /* @__PURE__ */ f(B, [["render", P]]), z = {
140
152
  headingHeight: {
141
153
  type: String,
142
154
  default: "md",
143
- validator: (e) => Object.keys(g).includes(e)
155
+ validator: (headingHeight) => Object.keys(SKELETON_HEADING_HEIGHTS).includes(headingHeight)
144
156
  },
145
157
  /**
146
158
  * Width of the skeleton
@@ -162,7 +174,7 @@ const O = /* @__PURE__ */ f(B, [["render", P]]), z = {
162
174
  */
163
175
  animate: {
164
176
  type: Boolean,
165
- default: !1
177
+ default: false
166
178
  },
167
179
  /**
168
180
  * RippleDuration controls how long the delay is for the animation of a
@@ -186,50 +198,52 @@ const O = /* @__PURE__ */ f(B, [["render", P]]), z = {
186
198
  },
187
199
  data() {
188
200
  return {
189
- SKELETON_HEADING_HEIGHTS: g
201
+ SKELETON_HEADING_HEIGHTS
190
202
  };
191
203
  }
192
204
  };
193
- function A(e, a, t, o, i, s) {
194
- return t.type === "body" ? (n(), r("div", {
205
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
206
+ return $props.type === "body" ? (openBlock(), createElementBlock("div", {
195
207
  key: 0,
196
208
  ref: "skeleton",
197
209
  "data-qa": "skeleton-text-body",
198
- class: h([
210
+ class: normalizeClass([
199
211
  "d-skeleton-text",
200
212
  "skeleton-placeholder",
201
213
  {
202
- "skeleton-placeholder--animate": t.animate
214
+ "skeleton-placeholder--animate": $props.animate
203
215
  },
204
- t.contentClass
216
+ $props.contentClass
205
217
  ]),
206
- style: _({
207
- width: t.width,
208
- ...e.skeletonStyle
218
+ style: normalizeStyle({
219
+ width: $props.width,
220
+ ..._ctx.skeletonStyle
209
221
  })
210
- }, null, 6)) : t.type === "heading" ? (n(), r("div", {
222
+ }, null, 6)) : $props.type === "heading" ? (openBlock(), createElementBlock("div", {
211
223
  key: 1,
212
224
  ref: "skeleton",
213
225
  "data-qa": "skeleton-text-heading",
214
- class: h([
215
- i.SKELETON_HEADING_HEIGHTS[t.headingHeight],
226
+ class: normalizeClass([
227
+ $data.SKELETON_HEADING_HEIGHTS[$props.headingHeight],
216
228
  "d-skeleton-text--heading",
217
229
  "skeleton-placeholder",
218
230
  {
219
- "skeleton-placeholder--animate": t.animate
231
+ "skeleton-placeholder--animate": $props.animate
220
232
  },
221
- t.contentClass
233
+ $props.contentClass
222
234
  ]),
223
- style: _({
224
- width: t.width,
225
- ...e.skeletonStyle
235
+ style: normalizeStyle({
236
+ width: $props.width,
237
+ ..._ctx.skeletonStyle
226
238
  })
227
- }, null, 6)) : E("", !0);
239
+ }, null, 6)) : createCommentVNode("", true);
228
240
  }
229
- const b = /* @__PURE__ */ f(z, [["render", A]]), p = (e) => e !== "" && !Number.isNaN(Number(e)), W = {
241
+ const DtSkeletonText = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
242
+ const validator = (number) => number !== "" && !Number.isNaN(Number(number));
243
+ const _sfc_main$2 = {
230
244
  name: "DtSkeletonParagraph",
231
245
  components: {
232
- DtSkeletonText: b
246
+ DtSkeletonText
233
247
  },
234
248
  props: {
235
249
  /**
@@ -238,7 +252,7 @@ const b = /* @__PURE__ */ f(z, [["render", A]]), p = (e) => e !== "" && !Number.
238
252
  rows: {
239
253
  type: [Number, String],
240
254
  default: 3,
241
- validator: p
255
+ validator
242
256
  },
243
257
  /**
244
258
  * This property has higher priority than "option.animate"
@@ -246,7 +260,7 @@ const b = /* @__PURE__ */ f(z, [["render", A]]), p = (e) => e !== "" && !Number.
246
260
  */
247
261
  animate: {
248
262
  type: Boolean,
249
- default: !0
263
+ default: true
250
264
  },
251
265
  /**
252
266
  * Controls the min width of paragraphs
@@ -254,7 +268,7 @@ const b = /* @__PURE__ */ f(z, [["render", A]]), p = (e) => e !== "" && !Number.
254
268
  minWidth: {
255
269
  type: [Number, String],
256
270
  default: 30,
257
- validator: p
271
+ validator
258
272
  },
259
273
  /**
260
274
  * Controls the max width of paragraphs
@@ -262,7 +276,7 @@ const b = /* @__PURE__ */ f(z, [["render", A]]), p = (e) => e !== "" && !Number.
262
276
  maxWidth: {
263
277
  type: [Number, String],
264
278
  default: 100,
265
- validator: p
279
+ validator
266
280
  },
267
281
  /**
268
282
  * Controls the width of paragraphs
@@ -277,7 +291,7 @@ const b = /* @__PURE__ */ f(z, [["render", A]]), p = (e) => e !== "" && !Number.
277
291
  */
278
292
  randomWidth: {
279
293
  type: Boolean,
280
- default: !1
294
+ default: false
281
295
  },
282
296
  /**
283
297
  * RippleDuration controls how long the delay is for the animation of a
@@ -320,41 +334,57 @@ const b = /* @__PURE__ */ f(z, [["render", A]]), p = (e) => e !== "" && !Number.
320
334
  },
321
335
  methods: {
322
336
  randomWidthPercentage() {
323
- const e = Math.min(this.minWidth, this.maxWidth), a = Math.max(this.minWidth, this.maxWidth);
324
- return `${Math.round(Math.random() * (a - e)) + e}%`;
325
- },
326
- getSizeParagraphRow(e) {
327
- const a = this.width, t = Array.isArray(a), o = a == null ? void 0 : a[e - 1], i = e === this.rows;
328
- return this.randomWidth ? this.randomWidthPercentage() : a && !t ? a : a && t && o ? o : i ? "38%" : "100%";
337
+ const min = Math.min(this.minWidth, this.maxWidth);
338
+ const max = Math.max(this.minWidth, this.maxWidth);
339
+ return `${Math.round(Math.random() * (max - min)) + min}%`;
340
+ },
341
+ getSizeParagraphRow(row) {
342
+ const paragraphWidth = this.width;
343
+ const isArrayWidth = Array.isArray(paragraphWidth);
344
+ const currentWidth = paragraphWidth == null ? void 0 : paragraphWidth[row - 1];
345
+ const isLastRow = row === this.rows;
346
+ if (this.randomWidth) {
347
+ return this.randomWidthPercentage();
348
+ }
349
+ if (paragraphWidth && !isArrayWidth) {
350
+ return paragraphWidth;
351
+ }
352
+ if (paragraphWidth && isArrayWidth && currentWidth) {
353
+ return currentWidth;
354
+ }
355
+ return isLastRow ? "38%" : "100%";
329
356
  }
330
357
  }
331
358
  };
332
- function j(e, a, t, o, i, s) {
333
- const m = l("dt-skeleton-text");
334
- return n(), r("div", {
335
- class: h([
359
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
360
+ const _component_dt_skeleton_text = resolveComponent("dt-skeleton-text");
361
+ return openBlock(), createElementBlock("div", {
362
+ class: normalizeClass([
336
363
  "d-skeleton-paragraph",
337
- t.contentClass
364
+ $props.contentClass
338
365
  ]),
339
366
  contentClass: "",
340
367
  "data-qa": "skeleton-paragraph"
341
368
  }, [
342
- (n(!0), r(w, null, C(s.integerRows, (d) => (n(), u(m, {
343
- key: d,
344
- "data-qa": "skeleton-paragraph-row",
345
- "content-class": t.rowClass,
346
- animate: t.animate,
347
- offset: t.offset,
348
- "animation-duration": t.animationDuration,
349
- width: s.getSizeParagraphRow(d)
350
- }, null, 8, ["content-class", "animate", "offset", "animation-duration", "width"]))), 128))
369
+ (openBlock(true), createElementBlock(Fragment, null, renderList($options.integerRows, (row) => {
370
+ return openBlock(), createBlock(_component_dt_skeleton_text, {
371
+ key: row,
372
+ "data-qa": "skeleton-paragraph-row",
373
+ "content-class": $props.rowClass,
374
+ animate: $props.animate,
375
+ offset: $props.offset,
376
+ "animation-duration": $props.animationDuration,
377
+ width: $options.getSizeParagraphRow(row)
378
+ }, null, 8, ["content-class", "animate", "offset", "animation-duration", "width"]);
379
+ }), 128))
351
380
  ], 2);
352
381
  }
353
- const x = /* @__PURE__ */ f(W, [["render", j]]), H = {
382
+ const DtSkeletonParagraph = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
383
+ const _sfc_main$1 = {
354
384
  name: "DtSkeletonListItem",
355
385
  components: {
356
- DtSkeletonShape: O,
357
- DtSkeletonParagraph: x
386
+ DtSkeletonShape,
387
+ DtSkeletonParagraph
358
388
  },
359
389
  props: {
360
390
  /**
@@ -364,7 +394,7 @@ const x = /* @__PURE__ */ f(W, [["render", j]]), H = {
364
394
  shape: {
365
395
  type: String,
366
396
  default: "circle",
367
- validator: (e) => Object.keys(y).includes(e)
397
+ validator: (shape) => Object.keys(SKELETON_SHAPES).includes(shape)
368
398
  },
369
399
  /**
370
400
  * Size of the shape
@@ -380,7 +410,7 @@ const x = /* @__PURE__ */ f(W, [["render", j]]), H = {
380
410
  */
381
411
  paragraphs: {
382
412
  type: Object,
383
- default: () => ({ rows: 3, randomWidth: !0 })
413
+ default: () => ({ rows: 3, randomWidth: true })
384
414
  },
385
415
  /**
386
416
  * Duration time of the animation (ms), set -1 for an infinite animation.
@@ -395,7 +425,7 @@ const x = /* @__PURE__ */ f(W, [["render", j]]), H = {
395
425
  */
396
426
  animate: {
397
427
  type: Boolean,
398
- default: !0
428
+ default: true
399
429
  },
400
430
  /**
401
431
  * RippleDuration controls how long the delay is for the animation of a
@@ -424,44 +454,47 @@ const x = /* @__PURE__ */ f(W, [["render", j]]), H = {
424
454
  default: ""
425
455
  }
426
456
  }
427
- }, R = { class: "d-skeleton-list-item__paragraph-container" };
428
- function q(e, a, t, o, i, s) {
429
- const m = l("dt-skeleton-shape"), d = l("dt-skeleton-paragraph");
430
- return n(), r("div", {
457
+ };
458
+ const _hoisted_1$1 = { class: "d-skeleton-list-item__paragraph-container" };
459
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
460
+ const _component_dt_skeleton_shape = resolveComponent("dt-skeleton-shape");
461
+ const _component_dt_skeleton_paragraph = resolveComponent("dt-skeleton-paragraph");
462
+ return openBlock(), createElementBlock("div", {
431
463
  "data-qa": "skeleton-list-item",
432
- class: h([
464
+ class: normalizeClass([
433
465
  "d-skeleton-list-item",
434
466
  {
435
- "d-skeleton-list-item--single": t.paragraphs.rows === 1
467
+ "d-skeleton-list-item--single": $props.paragraphs.rows === 1
436
468
  },
437
- t.contentClass
469
+ $props.contentClass
438
470
  ])
439
471
  }, [
440
- k(m, {
472
+ createVNode(_component_dt_skeleton_shape, {
441
473
  class: "d-skeleton-list-item__shape",
442
- size: t.shapeSize,
443
- shape: t.shape,
444
- "animation-duration": t.animationDuration,
445
- animate: t.animate,
446
- offset: t.offset,
447
- "content-class": t.shapeClass
474
+ size: $props.shapeSize,
475
+ shape: $props.shape,
476
+ "animation-duration": $props.animationDuration,
477
+ animate: $props.animate,
478
+ offset: $props.offset,
479
+ "content-class": $props.shapeClass
448
480
  }, null, 8, ["size", "shape", "animation-duration", "animate", "offset", "content-class"]),
449
- v("div", R, [
450
- k(d, c(t.paragraphs, {
451
- "animation-duration": t.animationDuration,
452
- animate: t.animate,
453
- offset: t.offset
481
+ createElementVNode("div", _hoisted_1$1, [
482
+ createVNode(_component_dt_skeleton_paragraph, mergeProps($props.paragraphs, {
483
+ "animation-duration": $props.animationDuration,
484
+ animate: $props.animate,
485
+ offset: $props.offset
454
486
  }), null, 16, ["animation-duration", "animate", "offset"])
455
487
  ])
456
488
  ], 2);
457
489
  }
458
- const K = /* @__PURE__ */ f(H, [["render", q]]), M = {
490
+ const DtSkeletonListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
491
+ const _sfc_main = {
459
492
  name: "DtSkeleton",
460
493
  components: {
461
- DtSkeletonText: b,
462
- DtSkeletonShape: O,
463
- DtSkeletonListItem: K,
464
- DtSkeletonParagraph: x
494
+ DtSkeletonText,
495
+ DtSkeletonShape,
496
+ DtSkeletonListItem,
497
+ DtSkeletonParagraph
465
498
  },
466
499
  props: {
467
500
  /**
@@ -516,7 +549,7 @@ const K = /* @__PURE__ */ f(H, [["render", q]]), M = {
516
549
  */
517
550
  animate: {
518
551
  type: Boolean,
519
- default: !0
552
+ default: true
520
553
  },
521
554
  /**
522
555
  * RippleDuration controls how long the delay is for the animation of a
@@ -543,57 +576,61 @@ const K = /* @__PURE__ */ f(H, [["render", q]]), M = {
543
576
  },
544
577
  watch: {
545
578
  $props: {
546
- immediate: !0,
579
+ immediate: true,
547
580
  handler: "validator"
548
581
  }
549
582
  },
550
583
  methods: {
551
584
  validator() {
552
- const e = Object.entries(this.validationOptions).filter(([a, t]) => t);
553
- if (e.length >= 2) {
554
- const a = `Use only one of ${e.map(([t]) => t).join(" | ")} options at the same time`;
555
- console.error(a);
585
+ const filtered = Object.entries(this.validationOptions).filter(([_, option]) => option);
586
+ if (filtered.length >= 2) {
587
+ const errorMessage = `Use only one of ${filtered.map(([key]) => key).join(" | ")} options at the same time`;
588
+ console.error(errorMessage);
556
589
  }
557
590
  }
558
591
  }
559
- }, G = ["aria-label"];
560
- function V(e, a, t, o, i, s) {
561
- const m = l("dt-skeleton-list-item"), d = l("dt-skeleton-shape"), D = l("dt-skeleton-paragraph"), N = l("dt-skeleton-text");
562
- return n(), r("div", {
592
+ };
593
+ const _hoisted_1 = ["aria-label"];
594
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
595
+ const _component_dt_skeleton_list_item = resolveComponent("dt-skeleton-list-item");
596
+ const _component_dt_skeleton_shape = resolveComponent("dt-skeleton-shape");
597
+ const _component_dt_skeleton_paragraph = resolveComponent("dt-skeleton-paragraph");
598
+ const _component_dt_skeleton_text = resolveComponent("dt-skeleton-text");
599
+ return openBlock(), createElementBlock("div", {
563
600
  "aria-busy": "true",
564
601
  role: "status",
565
- "aria-label": t.ariaLabel
602
+ "aria-label": $props.ariaLabel
566
603
  }, [
567
- t.listItemOption ? (n(), u(m, c({ key: 0 }, t.listItemOption === !0 ? {} : t.listItemOption, {
568
- "animation-duration": t.animationDuration,
569
- animate: t.animate,
570
- offset: t.offset
571
- }), null, 16, ["animation-duration", "animate", "offset"])) : t.shapeOption ? (n(), u(d, c({ key: 1 }, t.shapeOption === !0 ? {} : t.shapeOption, {
572
- "animation-duration": t.animationDuration,
573
- animate: t.animate,
574
- offset: t.offset
575
- }), null, 16, ["animation-duration", "animate", "offset"])) : t.paragraphOption ? (n(), u(D, c({ key: 2 }, t.paragraphOption === !0 ? {} : t.paragraphOption, {
576
- "animation-duration": t.animationDuration,
577
- animate: t.animate,
578
- offset: t.offset
579
- }), null, 16, ["animation-duration", "animate", "offset"])) : (n(), u(N, c({ key: 3 }, t.textOption || {}, {
580
- "animation-duration": t.animationDuration,
581
- animate: t.animate,
582
- offset: t.offset
604
+ $props.listItemOption ? (openBlock(), createBlock(_component_dt_skeleton_list_item, mergeProps({ key: 0 }, $props.listItemOption === true ? {} : $props.listItemOption, {
605
+ "animation-duration": $props.animationDuration,
606
+ animate: $props.animate,
607
+ offset: $props.offset
608
+ }), null, 16, ["animation-duration", "animate", "offset"])) : $props.shapeOption ? (openBlock(), createBlock(_component_dt_skeleton_shape, mergeProps({ key: 1 }, $props.shapeOption === true ? {} : $props.shapeOption, {
609
+ "animation-duration": $props.animationDuration,
610
+ animate: $props.animate,
611
+ offset: $props.offset
612
+ }), null, 16, ["animation-duration", "animate", "offset"])) : $props.paragraphOption ? (openBlock(), createBlock(_component_dt_skeleton_paragraph, mergeProps({ key: 2 }, $props.paragraphOption === true ? {} : $props.paragraphOption, {
613
+ "animation-duration": $props.animationDuration,
614
+ animate: $props.animate,
615
+ offset: $props.offset
616
+ }), null, 16, ["animation-duration", "animate", "offset"])) : (openBlock(), createBlock(_component_dt_skeleton_text, mergeProps({ key: 3 }, $props.textOption || {}, {
617
+ "animation-duration": $props.animationDuration,
618
+ animate: $props.animate,
619
+ offset: $props.offset
583
620
  }), null, 16, ["animation-duration", "animate", "offset"]))
584
- ], 8, G);
621
+ ], 8, _hoisted_1);
585
622
  }
586
- const X = /* @__PURE__ */ f(M, [["render", V]]);
623
+ const DtSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
587
624
  export {
588
- X as DtSkeleton,
589
- K as DtSkeletonListItem,
590
- x as DtSkeletonParagraph,
591
- O as DtSkeletonShape,
592
- b as DtSkeletonText,
593
- g as SKELETON_HEADING_HEIGHTS,
594
- T as SKELETON_RIPPLE_DURATION,
595
- y as SKELETON_SHAPES,
596
- L as SKELETON_SHAPE_SIZES,
597
- I as SKELETON_TEXT_TYPES
625
+ DtSkeleton,
626
+ DtSkeletonListItem,
627
+ DtSkeletonParagraph,
628
+ DtSkeletonShape,
629
+ DtSkeletonText,
630
+ SKELETON_HEADING_HEIGHTS,
631
+ SKELETON_RIPPLE_DURATION,
632
+ SKELETON_SHAPES,
633
+ SKELETON_SHAPE_SIZES,
634
+ SKELETON_TEXT_TYPES
598
635
  };
599
636
  //# sourceMappingURL=skeleton.js.map