@dialpad/dialtone-vue 2.152.1 → 2.153.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. package/dist/chunks/{dropdown-6UoczdUY.js → dropdown-YdCyJ5Dq.js} +77 -41
  2. package/dist/chunks/{dropdown-6UoczdUY.js.map → dropdown-YdCyJ5Dq.js.map} +1 -1
  3. package/dist/chunks/{dropdown-pHxnQPzT.js → dropdown-mjrYu_mK.js} +77 -41
  4. package/dist/chunks/{dropdown-pHxnQPzT.js.map → dropdown-mjrYu_mK.js.map} +1 -1
  5. package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +1 -1
  6. package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +1 -1
  7. package/dist/chunks/{icon_constants-Dy4MEUJL.js → icon_constants-TdxqLsS2.js} +3 -2
  8. package/dist/chunks/icon_constants-TdxqLsS2.js.map +1 -0
  9. package/dist/chunks/{icon_constants-QYpmdE0R.js → icon_constants-VEA0wI5C.js} +3 -2
  10. package/dist/chunks/icon_constants-VEA0wI5C.js.map +1 -0
  11. package/dist/chunks/{index-gj1jEXP4.js → index-DyqUqjvI.js} +122 -87
  12. package/dist/chunks/{index-gj1jEXP4.js.map → index-DyqUqjvI.js.map} +1 -1
  13. package/dist/chunks/{index-anN_sx1F.js → index-NYFNZeHH.js} +5 -13
  14. package/dist/chunks/{index-anN_sx1F.js.map → index-NYFNZeHH.js.map} +1 -1
  15. package/dist/chunks/{index-ODod4Oj_.js → index-i65YVk-U.js} +5 -13
  16. package/dist/chunks/{index-ODod4Oj_.js.map → index-i65YVk-U.js.map} +1 -1
  17. package/dist/chunks/{index-eJ-WWRdf.js → index-mBWay1Qb.js} +122 -87
  18. package/dist/chunks/{index-eJ-WWRdf.js.map → index-mBWay1Qb.js.map} +1 -1
  19. package/dist/chunks/{input-Axw-wFj2.js → input-Hqw33WBe.js} +3 -9
  20. package/dist/chunks/{input-Axw-wFj2.js.map → input-Hqw33WBe.js.map} +1 -1
  21. package/dist/chunks/{input-6kbd8Pju.js → input-PhJeBN6r.js} +3 -9
  22. package/dist/chunks/{input-6kbd8Pju.js.map → input-PhJeBN6r.js.map} +1 -1
  23. package/dist/chunks/{input_group-qVZaS5Bb.js → input_group-ZI7aVGEp.js} +4 -2
  24. package/dist/chunks/{input_group-m3cWYUfI.js.map → input_group-ZI7aVGEp.js.map} +1 -1
  25. package/dist/chunks/{input_group-m3cWYUfI.js → input_group-pE6ec9R3.js} +4 -2
  26. package/dist/chunks/{input_group-qVZaS5Bb.js.map → input_group-pE6ec9R3.js.map} +1 -1
  27. package/dist/chunks/{keyboard_list_navigation-ScXhrxya.js → keyboard_list_navigation-YIqTuw1W.js} +6 -5
  28. package/dist/chunks/{keyboard_list_navigation-fJnl_Iox.js.map → keyboard_list_navigation-YIqTuw1W.js.map} +1 -1
  29. package/dist/chunks/{keyboard_list_navigation-fJnl_Iox.js → keyboard_list_navigation-x3D6RcC7.js} +6 -5
  30. package/dist/chunks/{keyboard_list_navigation-ScXhrxya.js.map → keyboard_list_navigation-x3D6RcC7.js.map} +1 -1
  31. package/dist/chunks/link_constants-AfTWrr-n.js.map +1 -1
  32. package/dist/chunks/link_constants-x8NwdqmA.js.map +1 -1
  33. package/dist/chunks/list_item_constants-EiqkqZvP.js.map +1 -1
  34. package/dist/chunks/list_item_constants-u1xcN9Dd.js.map +1 -1
  35. package/dist/chunks/{modal-XOr4kiNZ.js → modal-8X6poIZW.js} +4 -2
  36. package/dist/chunks/{modal-XOr4kiNZ.js.map → modal-8X6poIZW.js.map} +1 -1
  37. package/dist/chunks/{modal-VgxXAQFP.js → modal-OaWxzqNt.js} +4 -2
  38. package/dist/chunks/{modal-VgxXAQFP.js.map → modal-OaWxzqNt.js.map} +1 -1
  39. package/dist/chunks/{notice_action-IRUoLX2d.js → notice_action-qQr3K2TC.js} +71 -46
  40. package/dist/chunks/{notice_action-IRUoLX2d.js.map → notice_action-qQr3K2TC.js.map} +1 -1
  41. package/dist/chunks/{notice_action-P6uDyE9x.js → notice_action-tEvvMg7Q.js} +71 -46
  42. package/dist/chunks/{notice_action-P6uDyE9x.js.map → notice_action-tEvvMg7Q.js.map} +1 -1
  43. package/dist/chunks/notice_constants-7Qt2CQEY.js.map +1 -1
  44. package/dist/chunks/notice_constants-UXo9e3bS.js.map +1 -1
  45. package/dist/chunks/{popover_constants-WsOUIY-m.js → popover_constants-6YkPPbnk.js} +26 -47
  46. package/dist/chunks/{popover_constants-WsOUIY-m.js.map → popover_constants-6YkPPbnk.js.map} +1 -1
  47. package/dist/chunks/{popover_constants-XnGWXaxX.js → popover_constants-h9MD6WUt.js} +26 -47
  48. package/dist/chunks/{popover_constants-XnGWXaxX.js.map → popover_constants-h9MD6WUt.js.map} +1 -1
  49. package/dist/chunks/{sr_only_close_button-ZaGdAHz7.js → sr_only_close_button-2Q9Ny1Nc.js} +24 -18
  50. package/dist/chunks/{sr_only_close_button-ZaGdAHz7.js.map → sr_only_close_button-2Q9Ny1Nc.js.map} +1 -1
  51. package/dist/chunks/{sr_only_close_button-81bHIpPu.js → sr_only_close_button-IjMVfBDE.js} +24 -18
  52. package/dist/chunks/{sr_only_close_button-81bHIpPu.js.map → sr_only_close_button-IjMVfBDE.js.map} +1 -1
  53. package/dist/chunks/stack_constants-HraCekPm.js.map +1 -1
  54. package/dist/chunks/stack_constants-SMzMWnAQ.js.map +1 -1
  55. package/dist/chunks/{tab-FcsV5VmK.js → tab-79yMX6m6.js} +86 -68
  56. package/dist/chunks/{tab-V4cb44Ry.js.map → tab-79yMX6m6.js.map} +1 -1
  57. package/dist/chunks/{tab-V4cb44Ry.js → tab-muPOS7JE.js} +86 -68
  58. package/dist/chunks/{tab-FcsV5VmK.js.map → tab-muPOS7JE.js.map} +1 -1
  59. package/dist/common/constants.cjs.map +1 -1
  60. package/dist/common/constants.js.map +1 -1
  61. package/dist/common/dates.cjs +3 -1
  62. package/dist/common/dates.cjs.map +1 -1
  63. package/dist/common/dates.js +3 -1
  64. package/dist/common/dates.js.map +1 -1
  65. package/dist/common/emoji.cjs +1 -1
  66. package/dist/common/emoji.js +1 -1
  67. package/dist/common/mixins.cjs +3 -3
  68. package/dist/common/mixins.js +3 -3
  69. package/dist/common/utils.cjs +8 -44
  70. package/dist/common/utils.cjs.map +1 -1
  71. package/dist/common/utils.js +8 -44
  72. package/dist/common/utils.js.map +1 -1
  73. package/dist/common/validators.cjs.map +1 -1
  74. package/dist/common/validators.js.map +1 -1
  75. package/dist/component-documentation.json +1 -1
  76. package/dist/dialtone-vue.cjs +12 -12
  77. package/dist/dialtone-vue.js +12 -12
  78. package/dist/lib/attachment-carousel.cjs +172 -48
  79. package/dist/lib/attachment-carousel.cjs.map +1 -1
  80. package/dist/lib/attachment-carousel.js +172 -48
  81. package/dist/lib/attachment-carousel.js.map +1 -1
  82. package/dist/lib/avatar.cjs +75 -58
  83. package/dist/lib/avatar.cjs.map +1 -1
  84. package/dist/lib/avatar.js +75 -58
  85. package/dist/lib/avatar.js.map +1 -1
  86. package/dist/lib/badge.cjs +31 -20
  87. package/dist/lib/badge.cjs.map +1 -1
  88. package/dist/lib/badge.js +31 -20
  89. package/dist/lib/badge.js.map +1 -1
  90. package/dist/lib/banner.cjs +53 -29
  91. package/dist/lib/banner.cjs.map +1 -1
  92. package/dist/lib/banner.js +53 -29
  93. package/dist/lib/banner.js.map +1 -1
  94. package/dist/lib/breadcrumbs.cjs +36 -30
  95. package/dist/lib/breadcrumbs.cjs.map +1 -1
  96. package/dist/lib/breadcrumbs.js +36 -30
  97. package/dist/lib/breadcrumbs.js.map +1 -1
  98. package/dist/lib/button-group.cjs +7 -14
  99. package/dist/lib/button-group.cjs.map +1 -1
  100. package/dist/lib/button-group.js +7 -14
  101. package/dist/lib/button-group.js.map +1 -1
  102. package/dist/lib/button.cjs +55 -62
  103. package/dist/lib/button.cjs.map +1 -1
  104. package/dist/lib/button.js +55 -62
  105. package/dist/lib/button.js.map +1 -1
  106. package/dist/lib/callbar-button-with-popover.cjs +91 -23
  107. package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
  108. package/dist/lib/callbar-button-with-popover.js +91 -23
  109. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  110. package/dist/lib/callbar-button.cjs +49 -33
  111. package/dist/lib/callbar-button.cjs.map +1 -1
  112. package/dist/lib/callbar-button.js +49 -33
  113. package/dist/lib/callbar-button.js.map +1 -1
  114. package/dist/lib/callbox.cjs +78 -15
  115. package/dist/lib/callbox.cjs.map +1 -1
  116. package/dist/lib/callbox.js +78 -15
  117. package/dist/lib/callbox.js.map +1 -1
  118. package/dist/lib/card.cjs +16 -23
  119. package/dist/lib/card.cjs.map +1 -1
  120. package/dist/lib/card.js +16 -23
  121. package/dist/lib/card.js.map +1 -1
  122. package/dist/lib/checkbox-group.cjs +3 -15
  123. package/dist/lib/checkbox-group.cjs.map +1 -1
  124. package/dist/lib/checkbox-group.js +3 -15
  125. package/dist/lib/checkbox-group.js.map +1 -1
  126. package/dist/lib/checkbox.cjs +52 -16
  127. package/dist/lib/checkbox.cjs.map +1 -1
  128. package/dist/lib/checkbox.js +52 -16
  129. package/dist/lib/checkbox.js.map +1 -1
  130. package/dist/lib/chip.cjs +58 -26
  131. package/dist/lib/chip.cjs.map +1 -1
  132. package/dist/lib/chip.js +58 -26
  133. package/dist/lib/chip.js.map +1 -1
  134. package/dist/lib/codeblock.cjs +4 -11
  135. package/dist/lib/codeblock.cjs.map +1 -1
  136. package/dist/lib/codeblock.js +4 -11
  137. package/dist/lib/codeblock.js.map +1 -1
  138. package/dist/lib/collapsible.cjs +91 -34
  139. package/dist/lib/collapsible.cjs.map +1 -1
  140. package/dist/lib/collapsible.js +91 -34
  141. package/dist/lib/collapsible.js.map +1 -1
  142. package/dist/lib/combobox-multi-select.cjs +131 -38
  143. package/dist/lib/combobox-multi-select.cjs.map +1 -1
  144. package/dist/lib/combobox-multi-select.js +131 -38
  145. package/dist/lib/combobox-multi-select.js.map +1 -1
  146. package/dist/lib/combobox-with-popover.cjs +130 -39
  147. package/dist/lib/combobox-with-popover.cjs.map +1 -1
  148. package/dist/lib/combobox-with-popover.js +130 -39
  149. package/dist/lib/combobox-with-popover.js.map +1 -1
  150. package/dist/lib/combobox.cjs +3 -3
  151. package/dist/lib/combobox.js +3 -3
  152. package/dist/lib/contact-centers-row.cjs +86 -29
  153. package/dist/lib/contact-centers-row.cjs.map +1 -1
  154. package/dist/lib/contact-centers-row.js +86 -29
  155. package/dist/lib/contact-centers-row.js.map +1 -1
  156. package/dist/lib/contact-info.cjs +95 -24
  157. package/dist/lib/contact-info.cjs.map +1 -1
  158. package/dist/lib/contact-info.js +95 -24
  159. package/dist/lib/contact-info.js.map +1 -1
  160. package/dist/lib/contact-row.cjs +61 -18
  161. package/dist/lib/contact-row.cjs.map +1 -1
  162. package/dist/lib/contact-row.js +61 -18
  163. package/dist/lib/contact-row.js.map +1 -1
  164. package/dist/lib/datepicker.cjs +361 -102
  165. package/dist/lib/datepicker.cjs.map +1 -1
  166. package/dist/lib/datepicker.js +361 -102
  167. package/dist/lib/datepicker.js.map +1 -1
  168. package/dist/lib/description-list.cjs +11 -12
  169. package/dist/lib/description-list.cjs.map +1 -1
  170. package/dist/lib/description-list.js +11 -12
  171. package/dist/lib/description-list.js.map +1 -1
  172. package/dist/lib/dropdown.cjs +13 -17
  173. package/dist/lib/dropdown.cjs.map +1 -1
  174. package/dist/lib/dropdown.js +13 -17
  175. package/dist/lib/dropdown.js.map +1 -1
  176. package/dist/lib/editor.cjs +409 -109
  177. package/dist/lib/editor.cjs.map +1 -1
  178. package/dist/lib/editor.js +409 -109
  179. package/dist/lib/editor.js.map +1 -1
  180. package/dist/lib/emoji-picker.cjs +512 -234
  181. package/dist/lib/emoji-picker.cjs.map +1 -1
  182. package/dist/lib/emoji-picker.js +512 -234
  183. package/dist/lib/emoji-picker.js.map +1 -1
  184. package/dist/lib/emoji-row.cjs +69 -31
  185. package/dist/lib/emoji-row.cjs.map +1 -1
  186. package/dist/lib/emoji-row.js +69 -31
  187. package/dist/lib/emoji-row.js.map +1 -1
  188. package/dist/lib/emoji-text-wrapper.cjs +14 -22
  189. package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
  190. package/dist/lib/emoji-text-wrapper.js +14 -22
  191. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  192. package/dist/lib/emoji.cjs +40 -13
  193. package/dist/lib/emoji.cjs.map +1 -1
  194. package/dist/lib/emoji.js +40 -13
  195. package/dist/lib/emoji.js.map +1 -1
  196. package/dist/lib/empty-state.cjs +27 -12
  197. package/dist/lib/empty-state.cjs.map +1 -1
  198. package/dist/lib/empty-state.js +27 -12
  199. package/dist/lib/empty-state.js.map +1 -1
  200. package/dist/lib/feed-item-row.cjs +106 -27
  201. package/dist/lib/feed-item-row.cjs.map +1 -1
  202. package/dist/lib/feed-item-row.js +106 -27
  203. package/dist/lib/feed-item-row.js.map +1 -1
  204. package/dist/lib/feed-pill.cjs +90 -35
  205. package/dist/lib/feed-pill.cjs.map +1 -1
  206. package/dist/lib/feed-pill.js +90 -35
  207. package/dist/lib/feed-pill.js.map +1 -1
  208. package/dist/lib/general-row.cjs +184 -75
  209. package/dist/lib/general-row.cjs.map +1 -1
  210. package/dist/lib/general-row.js +184 -75
  211. package/dist/lib/general-row.js.map +1 -1
  212. package/dist/lib/group-row.cjs +27 -16
  213. package/dist/lib/group-row.cjs.map +1 -1
  214. package/dist/lib/group-row.js +27 -16
  215. package/dist/lib/group-row.js.map +1 -1
  216. package/dist/lib/grouped-chip.cjs +68 -20
  217. package/dist/lib/grouped-chip.cjs.map +1 -1
  218. package/dist/lib/grouped-chip.js +68 -20
  219. package/dist/lib/grouped-chip.js.map +1 -1
  220. package/dist/lib/hovercard.cjs +71 -41
  221. package/dist/lib/hovercard.cjs.map +1 -1
  222. package/dist/lib/hovercard.js +71 -41
  223. package/dist/lib/hovercard.js.map +1 -1
  224. package/dist/lib/icon.cjs +10 -12
  225. package/dist/lib/icon.cjs.map +1 -1
  226. package/dist/lib/icon.js +10 -12
  227. package/dist/lib/icon.js.map +1 -1
  228. package/dist/lib/illustration.cjs +9 -12
  229. package/dist/lib/illustration.cjs.map +1 -1
  230. package/dist/lib/illustration.js +9 -12
  231. package/dist/lib/illustration.js.map +1 -1
  232. package/dist/lib/image-viewer.cjs +98 -23
  233. package/dist/lib/image-viewer.cjs.map +1 -1
  234. package/dist/lib/image-viewer.js +98 -23
  235. package/dist/lib/image-viewer.js.map +1 -1
  236. package/dist/lib/input-group.cjs +24 -14
  237. package/dist/lib/input-group.cjs.map +1 -1
  238. package/dist/lib/input-group.js +24 -14
  239. package/dist/lib/input-group.js.map +1 -1
  240. package/dist/lib/input.cjs +108 -40
  241. package/dist/lib/input.cjs.map +1 -1
  242. package/dist/lib/input.js +108 -40
  243. package/dist/lib/input.js.map +1 -1
  244. package/dist/lib/item-layout.cjs +42 -11
  245. package/dist/lib/item-layout.cjs.map +1 -1
  246. package/dist/lib/item-layout.js +42 -11
  247. package/dist/lib/item-layout.js.map +1 -1
  248. package/dist/lib/ivr-node.cjs +135 -47
  249. package/dist/lib/ivr-node.cjs.map +1 -1
  250. package/dist/lib/ivr-node.js +135 -47
  251. package/dist/lib/ivr-node.js.map +1 -1
  252. package/dist/lib/keyboard-shortcut.cjs +35 -23
  253. package/dist/lib/keyboard-shortcut.cjs.map +1 -1
  254. package/dist/lib/keyboard-shortcut.js +35 -23
  255. package/dist/lib/keyboard-shortcut.js.map +1 -1
  256. package/dist/lib/lazy-show.cjs +15 -11
  257. package/dist/lib/lazy-show.cjs.map +1 -1
  258. package/dist/lib/lazy-show.js +15 -11
  259. package/dist/lib/lazy-show.js.map +1 -1
  260. package/dist/lib/link.cjs +9 -15
  261. package/dist/lib/link.cjs.map +1 -1
  262. package/dist/lib/link.js +9 -15
  263. package/dist/lib/link.js.map +1 -1
  264. package/dist/lib/list-item-group.cjs +17 -11
  265. package/dist/lib/list-item-group.cjs.map +1 -1
  266. package/dist/lib/list-item-group.js +17 -11
  267. package/dist/lib/list-item-group.js.map +1 -1
  268. package/dist/lib/list-item.cjs +42 -23
  269. package/dist/lib/list-item.cjs.map +1 -1
  270. package/dist/lib/list-item.js +42 -23
  271. package/dist/lib/list-item.js.map +1 -1
  272. package/dist/lib/message-input.cjs +360 -97
  273. package/dist/lib/message-input.cjs.map +1 -1
  274. package/dist/lib/message-input.js +360 -97
  275. package/dist/lib/message-input.js.map +1 -1
  276. package/dist/lib/modal.cjs +94 -36
  277. package/dist/lib/modal.cjs.map +1 -1
  278. package/dist/lib/modal.js +94 -36
  279. package/dist/lib/modal.js.map +1 -1
  280. package/dist/lib/notice.cjs +40 -21
  281. package/dist/lib/notice.cjs.map +1 -1
  282. package/dist/lib/notice.js +40 -21
  283. package/dist/lib/notice.js.map +1 -1
  284. package/dist/lib/pagination.cjs +81 -20
  285. package/dist/lib/pagination.cjs.map +1 -1
  286. package/dist/lib/pagination.js +81 -20
  287. package/dist/lib/pagination.js.map +1 -1
  288. package/dist/lib/popover.cjs +194 -75
  289. package/dist/lib/popover.cjs.map +1 -1
  290. package/dist/lib/popover.js +195 -76
  291. package/dist/lib/popover.js.map +1 -1
  292. package/dist/lib/presence.cjs +23 -22
  293. package/dist/lib/presence.cjs.map +1 -1
  294. package/dist/lib/presence.js +23 -22
  295. package/dist/lib/presence.js.map +1 -1
  296. package/dist/lib/radio-group.cjs +2 -11
  297. package/dist/lib/radio-group.cjs.map +1 -1
  298. package/dist/lib/radio-group.js +2 -11
  299. package/dist/lib/radio-group.js.map +1 -1
  300. package/dist/lib/radio.cjs +47 -15
  301. package/dist/lib/radio.cjs.map +1 -1
  302. package/dist/lib/radio.js +47 -15
  303. package/dist/lib/radio.js.map +1 -1
  304. package/dist/lib/rich-text-editor.cjs +336 -317
  305. package/dist/lib/rich-text-editor.cjs.map +1 -1
  306. package/dist/lib/rich-text-editor.js +336 -317
  307. package/dist/lib/rich-text-editor.js.map +1 -1
  308. package/dist/lib/root-layout.cjs +33 -15
  309. package/dist/lib/root-layout.cjs.map +1 -1
  310. package/dist/lib/root-layout.js +33 -15
  311. package/dist/lib/root-layout.js.map +1 -1
  312. package/dist/lib/scrollbar-directive.cjs.map +1 -1
  313. package/dist/lib/scrollbar-directive.js.map +1 -1
  314. package/dist/lib/select-menu.cjs +52 -33
  315. package/dist/lib/select-menu.cjs.map +1 -1
  316. package/dist/lib/select-menu.js +52 -33
  317. package/dist/lib/select-menu.js.map +1 -1
  318. package/dist/lib/settings-menu-button.cjs +42 -16
  319. package/dist/lib/settings-menu-button.cjs.map +1 -1
  320. package/dist/lib/settings-menu-button.js +42 -16
  321. package/dist/lib/settings-menu-button.js.map +1 -1
  322. package/dist/lib/skeleton.cjs +118 -93
  323. package/dist/lib/skeleton.cjs.map +1 -1
  324. package/dist/lib/skeleton.js +118 -93
  325. package/dist/lib/skeleton.js.map +1 -1
  326. package/dist/lib/split-button.cjs +164 -64
  327. package/dist/lib/split-button.cjs.map +1 -1
  328. package/dist/lib/split-button.js +164 -64
  329. package/dist/lib/split-button.js.map +1 -1
  330. package/dist/lib/stack.cjs +21 -33
  331. package/dist/lib/stack.cjs.map +1 -1
  332. package/dist/lib/stack.js +21 -33
  333. package/dist/lib/stack.js.map +1 -1
  334. package/dist/lib/tabs.cjs +20 -13
  335. package/dist/lib/tabs.cjs.map +1 -1
  336. package/dist/lib/tabs.js +20 -13
  337. package/dist/lib/tabs.js.map +1 -1
  338. package/dist/lib/time-pill.cjs +8 -11
  339. package/dist/lib/time-pill.cjs.map +1 -1
  340. package/dist/lib/time-pill.js +8 -11
  341. package/dist/lib/time-pill.js.map +1 -1
  342. package/dist/lib/toast.cjs +42 -21
  343. package/dist/lib/toast.cjs.map +1 -1
  344. package/dist/lib/toast.js +42 -21
  345. package/dist/lib/toast.js.map +1 -1
  346. package/dist/lib/toggle.cjs +28 -24
  347. package/dist/lib/toggle.cjs.map +1 -1
  348. package/dist/lib/toggle.js +28 -24
  349. package/dist/lib/toggle.js.map +1 -1
  350. package/dist/lib/tooltip-directive.cjs +32 -26
  351. package/dist/lib/tooltip-directive.cjs.map +1 -1
  352. package/dist/lib/tooltip-directive.js +32 -26
  353. package/dist/lib/tooltip-directive.js.map +1 -1
  354. package/dist/lib/tooltip.cjs +31 -21
  355. package/dist/lib/tooltip.cjs.map +1 -1
  356. package/dist/lib/tooltip.js +32 -22
  357. package/dist/lib/tooltip.js.map +1 -1
  358. package/dist/lib/top-banner-info.cjs +18 -21
  359. package/dist/lib/top-banner-info.cjs.map +1 -1
  360. package/dist/lib/top-banner-info.js +18 -21
  361. package/dist/lib/top-banner-info.js.map +1 -1
  362. package/dist/lib/unread-pill.cjs +18 -12
  363. package/dist/lib/unread-pill.cjs.map +1 -1
  364. package/dist/lib/unread-pill.js +18 -12
  365. package/dist/lib/unread-pill.js.map +1 -1
  366. package/dist/lib/validation-messages.cjs +23 -16
  367. package/dist/lib/validation-messages.cjs.map +1 -1
  368. package/dist/lib/validation-messages.js +23 -16
  369. package/dist/lib/validation-messages.js.map +1 -1
  370. package/dist/types/common/emoji/index.d.ts +2 -59236
  371. package/dist/types/common/emoji/index.d.ts.map +1 -1
  372. package/dist/types/components/button/button.vue.d.ts +1 -1
  373. package/dist/types/components/chip/chip.vue.d.ts +1 -1
  374. package/dist/types/components/combobox/combobox.vue.d.ts +1 -1
  375. package/dist/types/components/icon/icon.vue.d.ts +2 -2
  376. package/dist/types/components/icon/icon_constants.d.ts +1 -1
  377. package/dist/types/components/icon/icon_constants.d.ts.map +1 -1
  378. package/dist/types/components/illustration/illustration.vue.d.ts +2 -2
  379. package/dist/types/components/illustration/illustration_constants.d.ts +1 -1
  380. package/dist/types/components/illustration/illustration_constants.d.ts.map +1 -1
  381. package/dist/types/components/image_viewer/image_viewer.vue.d.ts +21 -0
  382. package/dist/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  383. package/dist/types/components/input/input.vue.d.ts +1 -1
  384. package/dist/types/components/modal/modal.vue.d.ts +1 -1
  385. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
  386. package/dist/types/components/split_button/split_button-alpha.vue.d.ts +1 -1
  387. package/dist/types/components/toast/toast.vue.d.ts +1 -1
  388. package/dist/types/components/tooltip/tooltip.vue.d.ts +1 -1
  389. package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
  390. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +1 -1
  391. package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
  392. package/package.json +3 -2
  393. package/dist/chunks/icon_constants-Dy4MEUJL.js.map +0 -1
  394. package/dist/chunks/icon_constants-QYpmdE0R.js.map +0 -1
@@ -5,14 +5,14 @@ import { DtButton } from "./button.js";
5
5
  import { normalizeComponent } from "../chunks/_plugin-vue2_normalizer-sOSkiPF3.js";
6
6
  import { DtIcon } from "./icon.js";
7
7
  import "../chunks/stack_constants-HraCekPm.js";
8
- import "../chunks/popover_constants-WsOUIY-m.js";
8
+ import "../chunks/popover_constants-6YkPPbnk.js";
9
9
  import "tippy.js";
10
10
  import "../common/utils.js";
11
11
  import "../common/constants.js";
12
12
  import "vue";
13
13
  import "../chunks/link_constants-AfTWrr-n.js";
14
14
  import "@dialpad/dialtone-icons/vue2";
15
- import "../chunks/icon_constants-Dy4MEUJL.js";
15
+ import "../chunks/icon_constants-TdxqLsS2.js";
16
16
  import "@dialpad/dialtone-icons/icons.json";
17
17
  const WEEK_START = 0;
18
18
  const MONTH_FORMAT = "MMMM";
@@ -46,13 +46,15 @@ const getCalendarDays = (month, year, selectedDay) => {
46
46
  const firstDate = _parsedGetDate(new Date(year, month));
47
47
  const lastDate = _parsedGetDate(new Date(year, month + 1, 0));
48
48
  const weekStartsOn = WEEK_START;
49
- const firstDateInCalendar = startOfWeek(firstDate, { weekStartsOn });
49
+ const firstDateInCalendar = startOfWeek(firstDate, {
50
+ weekStartsOn
51
+ });
50
52
  const addDaysToWeek = (date) => {
51
53
  const days = getWeekDays(date, month, selectedDay);
52
- weeks.push({ days });
53
- if (!weeks[weeks.length - 1].days.some(
54
- (day) => isDateEqual(day.value, lastDate)
55
- )) {
54
+ weeks.push({
55
+ days
56
+ });
57
+ if (!weeks[weeks.length - 1].days.some((day) => isDateEqual(day.value, lastDate))) {
56
58
  const nextDate = addDays(date, 7);
57
59
  addDaysToWeek(nextDate);
58
60
  }
@@ -62,14 +64,19 @@ const getCalendarDays = (month, year, selectedDay) => {
62
64
  };
63
65
  const getWeekDayNames = (locale, weekStart) => {
64
66
  const days = [1, 2, 3, 4, 5, 6, 7].map((day) => {
65
- return new Intl.DateTimeFormat(locale, { weekday: "short", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`2017-01-0${day}T00:00:00+00:00`)).slice(0, 2);
67
+ return new Intl.DateTimeFormat(locale, {
68
+ weekday: "short",
69
+ timeZone: "UTC"
70
+ }).format(/* @__PURE__ */ new Date(`2017-01-0${day}T00:00:00+00:00`)).slice(0, 2);
66
71
  });
67
72
  const beforeWeekStart = days.slice(0, weekStart);
68
73
  const afterWeekStart = days.slice(weekStart + 1, days.length);
69
74
  return [days[weekStart]].concat(...afterWeekStart).concat(...beforeWeekStart);
70
75
  };
71
76
  const formatMonth = (month, monthFormat, locale) => {
72
- return new Intl.DateTimeFormat(locale, { month: monthFormat }).format(new Date(2e3, month, 1));
77
+ return new Intl.DateTimeFormat(locale, {
78
+ month: monthFormat
79
+ }).format(new Date(2e3, month, 1));
73
80
  };
74
81
  const calculateNextFocusDate = (currentDate) => {
75
82
  const date = new Date(currentDate);
@@ -93,7 +100,12 @@ const calculatePrevFocusDate = (currentDate) => {
93
100
  };
94
101
  const _sfc_main$2 = {
95
102
  name: "DtDatepickerMonthYearPicker",
96
- components: { DtButton, DtTooltip, DtStack, DtIcon },
103
+ components: {
104
+ DtButton,
105
+ DtTooltip,
106
+ DtStack,
107
+ DtIcon
108
+ },
97
109
  props: {
98
110
  locale: {
99
111
  type: String,
@@ -246,7 +258,10 @@ const _sfc_main$2 = {
246
258
  if (this.selectMonth === 0 && value === -1 || this.selectMonth === 11 && value === 1) {
247
259
  this.selectYear += value;
248
260
  }
249
- const initialDate = set(this.selectedDate, { month: this.selectMonth, year: this.selectYear });
261
+ const initialDate = set(this.selectedDate, {
262
+ month: this.selectMonth,
263
+ year: this.selectYear
264
+ });
250
265
  const newDate = value === 1 ? addMonths(initialDate, 1) : subMonths(initialDate, 1);
251
266
  this.selectMonth = getMonth(newDate);
252
267
  },
@@ -263,47 +278,193 @@ const _sfc_main$2 = {
263
278
  };
264
279
  var _sfc_render$2 = function render() {
265
280
  var _vm = this, _c = _vm._self._c;
266
- return _c("dt-stack", { staticClass: "d-datepicker__month-year", attrs: { "direction": "row", "gap": "300" } }, [_c("dt-stack", { staticClass: "d-datepicker__nav", attrs: { "as": "nav", "direction": "row", "gap": "200" } }, [_c("dt-tooltip", { attrs: { "message": _vm.prevYearLabel, "placement": "top", "fallback-placements": ["top-start", "auto"] }, scopedSlots: _vm._u([{ key: "anchor", fn: function() {
267
- return [_c("dt-button", { ref: _vm.refNames[0], staticClass: "d-datepicker__nav-btn", attrs: { "id": "prevYearButton", "size": "xs", "importance": "clear", "kind": "muted", "circle": true, "type": "button", "aria-label": `${_vm.changeToLabel} ${_vm.prevYearLabel} ${_vm.selectYear - 1}` }, on: { "click": function($event) {
268
- return _vm.changeYear(-1);
269
- }, "keydown": function($event) {
270
- return _vm.handleKeyDown($event);
271
- } } }, [_c("dt-icon", { attrs: { "name": "chevrons-left", "size": "200" } })], 1)];
272
- }, proxy: true }]) }), _c("dt-tooltip", { attrs: { "message": _vm.prevMonthLabel, "placement": "top", "fallback-placements": ["top-end", "auto"] }, scopedSlots: _vm._u([{ key: "anchor", fn: function() {
273
- return [_c("dt-button", { ref: _vm.refNames[1], staticClass: "d-datepicker__nav-btn", attrs: { "id": "prevMonthButton", "size": "xs", "importance": "clear", "kind": "muted", "circle": true, "type": "button", "aria-label": `${_vm.changeToLabel} ${_vm.prevMonthLabel} ${_vm.formattedMonth(_vm.selectMonth - 1)}` }, on: { "click": function($event) {
274
- return _vm.changeMonth(-1);
275
- }, "keydown": function($event) {
276
- return _vm.handleKeyDown($event);
277
- } } }, [_c("dt-icon", { attrs: { "name": "chevron-left", "size": "200" } })], 1)];
278
- }, proxy: true }]) })], 1), _c("div", { staticClass: "d-datepicker__month-year-title", attrs: { "id": "calendar-heading" } }, [_vm._v(" " + _vm._s(_vm.formattedMonth(_vm.selectMonth)) + " " + _vm._s(_vm.selectYear) + " ")]), _c("dt-stack", { staticClass: "d-datepicker__nav", attrs: { "as": "nav", "direction": "row", "gap": "200" } }, [_c("dt-tooltip", { attrs: { "message": _vm.nextMonthLabel, "placement": "top", "fallback-placements": ["top-start", "auto"] }, scopedSlots: _vm._u([{ key: "anchor", fn: function() {
279
- return [_c("dt-button", { ref: _vm.refNames[2], staticClass: "d-datepicker__nav-btn", attrs: { "id": "nextMonthButton", "size": "xs", "importance": "clear", "circle": true, "kind": "muted", "type": "button", "aria-label": `${_vm.changeToLabel} ${_vm.nextMonthLabel} ${_vm.formattedMonth(_vm.selectMonth + 1)}` }, on: { "click": function($event) {
280
- return _vm.changeMonth(1);
281
- }, "keydown": function($event) {
282
- return _vm.handleKeyDown($event);
283
- } } }, [_c("dt-icon", { attrs: { "name": "chevron-right", "size": "200" } })], 1)];
284
- }, proxy: true }]) }), _c("dt-tooltip", { attrs: { "message": _vm.nextYearLabel, "placement": "top", "fallback-placements": ["top-end", "auto"] }, scopedSlots: _vm._u([{ key: "anchor", fn: function() {
285
- return [_c("dt-button", { ref: _vm.refNames[3], staticClass: "d-datepicker__nav-btn", attrs: { "id": "nextYearButton", "size": "xs", "kind": "muted", "circle": true, "importance": "clear", "type": "button", "aria-label": `${_vm.changeToLabel} ${_vm.nextYearLabel} ${_vm.selectYear + 1}` }, on: { "click": function($event) {
286
- return _vm.changeYear(1);
287
- }, "keydown": function($event) {
288
- return _vm.handleKeyDown($event);
289
- } } }, [_c("dt-icon", { attrs: { "name": "chevrons-right", "size": "200" } })], 1)];
290
- }, proxy: true }]) })], 1)], 1);
281
+ return _c("dt-stack", {
282
+ staticClass: "d-datepicker__month-year",
283
+ attrs: {
284
+ "direction": "row",
285
+ "gap": "300"
286
+ }
287
+ }, [_c("dt-stack", {
288
+ staticClass: "d-datepicker__nav",
289
+ attrs: {
290
+ "as": "nav",
291
+ "direction": "row",
292
+ "gap": "200"
293
+ }
294
+ }, [_c("dt-tooltip", {
295
+ attrs: {
296
+ "message": _vm.prevYearLabel,
297
+ "placement": "top",
298
+ "fallback-placements": ["top-start", "auto"]
299
+ },
300
+ scopedSlots: _vm._u([{
301
+ key: "anchor",
302
+ fn: function() {
303
+ return [_c("dt-button", {
304
+ ref: _vm.refNames[0],
305
+ staticClass: "d-datepicker__nav-btn",
306
+ attrs: {
307
+ "id": "prevYearButton",
308
+ "size": "xs",
309
+ "importance": "clear",
310
+ "kind": "muted",
311
+ "circle": true,
312
+ "type": "button",
313
+ "aria-label": `${_vm.changeToLabel} ${_vm.prevYearLabel} ${_vm.selectYear - 1}`
314
+ },
315
+ on: {
316
+ "click": function($event) {
317
+ return _vm.changeYear(-1);
318
+ },
319
+ "keydown": function($event) {
320
+ return _vm.handleKeyDown($event);
321
+ }
322
+ }
323
+ }, [_c("dt-icon", {
324
+ attrs: {
325
+ "name": "chevrons-left",
326
+ "size": "200"
327
+ }
328
+ })], 1)];
329
+ },
330
+ proxy: true
331
+ }])
332
+ }), _c("dt-tooltip", {
333
+ attrs: {
334
+ "message": _vm.prevMonthLabel,
335
+ "placement": "top",
336
+ "fallback-placements": ["top-end", "auto"]
337
+ },
338
+ scopedSlots: _vm._u([{
339
+ key: "anchor",
340
+ fn: function() {
341
+ return [_c("dt-button", {
342
+ ref: _vm.refNames[1],
343
+ staticClass: "d-datepicker__nav-btn",
344
+ attrs: {
345
+ "id": "prevMonthButton",
346
+ "size": "xs",
347
+ "importance": "clear",
348
+ "kind": "muted",
349
+ "circle": true,
350
+ "type": "button",
351
+ "aria-label": `${_vm.changeToLabel} ${_vm.prevMonthLabel} ${_vm.formattedMonth(_vm.selectMonth - 1)}`
352
+ },
353
+ on: {
354
+ "click": function($event) {
355
+ return _vm.changeMonth(-1);
356
+ },
357
+ "keydown": function($event) {
358
+ return _vm.handleKeyDown($event);
359
+ }
360
+ }
361
+ }, [_c("dt-icon", {
362
+ attrs: {
363
+ "name": "chevron-left",
364
+ "size": "200"
365
+ }
366
+ })], 1)];
367
+ },
368
+ proxy: true
369
+ }])
370
+ })], 1), _c("div", {
371
+ staticClass: "d-datepicker__month-year-title",
372
+ attrs: {
373
+ "id": "calendar-heading"
374
+ }
375
+ }, [_vm._v(" " + _vm._s(_vm.formattedMonth(_vm.selectMonth)) + " " + _vm._s(_vm.selectYear) + " ")]), _c("dt-stack", {
376
+ staticClass: "d-datepicker__nav",
377
+ attrs: {
378
+ "as": "nav",
379
+ "direction": "row",
380
+ "gap": "200"
381
+ }
382
+ }, [_c("dt-tooltip", {
383
+ attrs: {
384
+ "message": _vm.nextMonthLabel,
385
+ "placement": "top",
386
+ "fallback-placements": ["top-start", "auto"]
387
+ },
388
+ scopedSlots: _vm._u([{
389
+ key: "anchor",
390
+ fn: function() {
391
+ return [_c("dt-button", {
392
+ ref: _vm.refNames[2],
393
+ staticClass: "d-datepicker__nav-btn",
394
+ attrs: {
395
+ "id": "nextMonthButton",
396
+ "size": "xs",
397
+ "importance": "clear",
398
+ "circle": true,
399
+ "kind": "muted",
400
+ "type": "button",
401
+ "aria-label": `${_vm.changeToLabel} ${_vm.nextMonthLabel} ${_vm.formattedMonth(_vm.selectMonth + 1)}`
402
+ },
403
+ on: {
404
+ "click": function($event) {
405
+ return _vm.changeMonth(1);
406
+ },
407
+ "keydown": function($event) {
408
+ return _vm.handleKeyDown($event);
409
+ }
410
+ }
411
+ }, [_c("dt-icon", {
412
+ attrs: {
413
+ "name": "chevron-right",
414
+ "size": "200"
415
+ }
416
+ })], 1)];
417
+ },
418
+ proxy: true
419
+ }])
420
+ }), _c("dt-tooltip", {
421
+ attrs: {
422
+ "message": _vm.nextYearLabel,
423
+ "placement": "top",
424
+ "fallback-placements": ["top-end", "auto"]
425
+ },
426
+ scopedSlots: _vm._u([{
427
+ key: "anchor",
428
+ fn: function() {
429
+ return [_c("dt-button", {
430
+ ref: _vm.refNames[3],
431
+ staticClass: "d-datepicker__nav-btn",
432
+ attrs: {
433
+ "id": "nextYearButton",
434
+ "size": "xs",
435
+ "kind": "muted",
436
+ "circle": true,
437
+ "importance": "clear",
438
+ "type": "button",
439
+ "aria-label": `${_vm.changeToLabel} ${_vm.nextYearLabel} ${_vm.selectYear + 1}`
440
+ },
441
+ on: {
442
+ "click": function($event) {
443
+ return _vm.changeYear(1);
444
+ },
445
+ "keydown": function($event) {
446
+ return _vm.handleKeyDown($event);
447
+ }
448
+ }
449
+ }, [_c("dt-icon", {
450
+ attrs: {
451
+ "name": "chevrons-right",
452
+ "size": "200"
453
+ }
454
+ })], 1)];
455
+ },
456
+ proxy: true
457
+ }])
458
+ })], 1)], 1);
291
459
  };
292
460
  var _sfc_staticRenderFns$2 = [];
293
- var __component__$2 = /* @__PURE__ */ normalizeComponent(
294
- _sfc_main$2,
295
- _sfc_render$2,
296
- _sfc_staticRenderFns$2,
297
- false,
298
- null,
299
- null,
300
- null,
301
- null
302
- );
461
+ var __component__$2 = /* @__PURE__ */ normalizeComponent(_sfc_main$2, _sfc_render$2, _sfc_staticRenderFns$2, false, null, null, null, null);
303
462
  const MonthYearPicker = __component__$2.exports;
304
463
  const _sfc_main$1 = {
305
464
  name: "DtDatepickerCalendar",
306
- components: { DtButton },
465
+ components: {
466
+ DtButton
467
+ },
307
468
  props: {
308
469
  calendarDays: {
309
470
  type: Array,
@@ -373,7 +534,10 @@ const _sfc_main$1 = {
373
534
  const refKey = `buttonRef_${weekIndex}_${dayIndex}`;
374
535
  const dayButton = this.$refs[refKey];
375
536
  if (dayButton && day2.currentMonth) {
376
- this.daysRef.push({ el: dayButton[0], day: day2 });
537
+ this.daysRef.push({
538
+ el: dayButton[0],
539
+ day: day2
540
+ });
377
541
  }
378
542
  });
379
543
  });
@@ -466,36 +630,75 @@ const _sfc_main$1 = {
466
630
  };
467
631
  var _sfc_render$1 = function render2() {
468
632
  var _vm = this, _c = _vm._self._c;
469
- return _c("table", { staticClass: "d-datepicker__calendar", attrs: { "aria-labelledby": "calendar-heading" } }, [_c("thead", [_c("tr", _vm._l(_vm.weekDays, function(day) {
470
- return _c("th", { key: day, staticClass: "d-datepicker__cell d-datepicker__cell--header", attrs: { "scope": "col" } }, [_c("span", { staticClass: "d-datepicker__weekday", attrs: { "title": day, "aria-label": day } }, [_vm._v(" " + _vm._s(day))])]);
633
+ return _c("table", {
634
+ staticClass: "d-datepicker__calendar",
635
+ attrs: {
636
+ "aria-labelledby": "calendar-heading"
637
+ }
638
+ }, [_c("thead", [_c("tr", _vm._l(_vm.weekDays, function(day) {
639
+ return _c("th", {
640
+ key: day,
641
+ staticClass: "d-datepicker__cell d-datepicker__cell--header",
642
+ attrs: {
643
+ "scope": "col"
644
+ }
645
+ }, [_c("span", {
646
+ staticClass: "d-datepicker__weekday",
647
+ attrs: {
648
+ "title": day,
649
+ "aria-label": day
650
+ }
651
+ }, [_vm._v(" " + _vm._s(day))])]);
471
652
  }), 0)]), _c("tbody", _vm._l(_vm.calendarDays, function(week, indexWeek) {
472
- return _c("tr", { key: indexWeek }, _vm._l(week.days, function(day, indexDays) {
473
- return _c("td", { key: indexWeek + indexDays, staticClass: "d-datepicker__cell", attrs: { "role": "listbox" } }, [_c("dt-button", { ref: `buttonRef_${indexWeek}_${indexDays}`, refInFor: true, staticClass: "d-datepicker__day", class: {
474
- "d-datepicker__day--disabled": !day.currentMonth,
475
- "d-datepicker__day--selected": _vm.selectedDay ? day.text === _vm.selectedDay && day.currentMonth : day.selected
476
- }, attrs: { "circle": true, "size": "sm", "importance": "clear", "disabled": !day.currentMonth, "type": "button", "aria-selected": !!_vm.selectedDay ? day.text === _vm.selectedDay && day.currentMonth : day.selected, "aria-label": _vm.dayAriaLabel(day), "role": "option" }, on: { "click": function($event) {
477
- return _vm.selectDay(day);
478
- }, "keydown": function($event) {
479
- return _vm.handleKeyDown($event);
480
- } } }, [_vm._v(" " + _vm._s(day.text) + " ")])], 1);
653
+ return _c("tr", {
654
+ key: indexWeek
655
+ }, _vm._l(week.days, function(day, indexDays) {
656
+ return _c("td", {
657
+ key: indexWeek + indexDays,
658
+ staticClass: "d-datepicker__cell",
659
+ attrs: {
660
+ "role": "listbox"
661
+ }
662
+ }, [_c("dt-button", {
663
+ ref: `buttonRef_${indexWeek}_${indexDays}`,
664
+ refInFor: true,
665
+ staticClass: "d-datepicker__day",
666
+ class: {
667
+ "d-datepicker__day--disabled": !day.currentMonth,
668
+ "d-datepicker__day--selected": _vm.selectedDay ? day.text === _vm.selectedDay && day.currentMonth : day.selected
669
+ },
670
+ attrs: {
671
+ "circle": true,
672
+ "size": "sm",
673
+ "importance": "clear",
674
+ "disabled": !day.currentMonth,
675
+ "type": "button",
676
+ "aria-selected": !!_vm.selectedDay ? day.text === _vm.selectedDay && day.currentMonth : day.selected,
677
+ "aria-label": _vm.dayAriaLabel(day),
678
+ "role": "option"
679
+ },
680
+ on: {
681
+ "click": function($event) {
682
+ return _vm.selectDay(day);
683
+ },
684
+ "keydown": function($event) {
685
+ return _vm.handleKeyDown($event);
686
+ }
687
+ }
688
+ }, [_vm._v(" " + _vm._s(day.text) + " ")])], 1);
481
689
  }), 0);
482
690
  }), 0)]);
483
691
  };
484
692
  var _sfc_staticRenderFns$1 = [];
485
- var __component__$1 = /* @__PURE__ */ normalizeComponent(
486
- _sfc_main$1,
487
- _sfc_render$1,
488
- _sfc_staticRenderFns$1,
489
- false,
490
- null,
491
- null,
492
- null,
493
- null
494
- );
693
+ var __component__$1 = /* @__PURE__ */ normalizeComponent(_sfc_main$1, _sfc_render$1, _sfc_staticRenderFns$1, false, null, null, null, null);
495
694
  const Calendar = __component__$1.exports;
496
695
  const _sfc_main = {
497
696
  name: "DtDatepicker",
498
- components: { DtStack, MonthYearPicker, Calendar },
697
+ components: {
698
+ DtStack,
699
+ MonthYearPicker,
700
+ Calendar
701
+ },
499
702
  props: {
500
703
  /**
501
704
  * Label for the previous month button
@@ -604,52 +807,108 @@ const _sfc_main = {
604
807
  };
605
808
  var _sfc_render = function render3() {
606
809
  var _vm = this, _c = _vm._self._c;
607
- return _c("dt-stack", { staticClass: "d-datepicker", attrs: { "gap": "400" } }, [_c("div", { staticClass: "d-datepicker__hd" }, [_c("month-year-picker", { ref: "monthYearPicker", attrs: { "locale": _vm.locale, "prev-month-label": _vm.prevMonthLabel, "next-month-label": _vm.nextMonthLabel, "prev-year-label": _vm.prevYearLabel, "next-year-label": _vm.nextYearLabel, "change-to-label": _vm.changeToLabel, "selected-date": _vm.selectedDate }, on: { "calendar-days": _vm.updateCalendarDays, "focus-first-day": function($event) {
608
- return _vm.$refs.calendar.focusFirstDay();
609
- }, "focus-last-day": function($event) {
610
- return _vm.$refs.calendar.focusLastDay();
611
- }, "close-datepicker": function($event) {
612
- return _vm.$emit("close-datepicker");
613
- } } })], 1), _c("div", { staticClass: "d-datepicker__bd" }, [_c("calendar", { ref: "calendar", attrs: { "locale": _vm.locale, "calendar-days": _vm.calendarDays, "select-day-label": _vm.selectDayLabel }, on: { "select-date": function($event) {
614
- return _vm.$emit("selected-date", $event);
615
- }, "focus-month-year-picker": function($event) {
616
- return _vm.$refs.monthYearPicker.focusMonthYearPicker();
617
- }, "close-datepicker": function($event) {
618
- return _vm.$emit("close-datepicker");
619
- }, "go-to-next-month": function($event) {
620
- return _vm.$refs.monthYearPicker.goToNextMonth();
621
- }, "go-to-prev-month": function($event) {
622
- return _vm.$refs.monthYearPicker.goToPrevMonth();
623
- } } })], 1)]);
810
+ return _c("dt-stack", {
811
+ staticClass: "d-datepicker",
812
+ attrs: {
813
+ "gap": "400"
814
+ }
815
+ }, [_c("div", {
816
+ staticClass: "d-datepicker__hd"
817
+ }, [_c("month-year-picker", {
818
+ ref: "monthYearPicker",
819
+ attrs: {
820
+ "locale": _vm.locale,
821
+ "prev-month-label": _vm.prevMonthLabel,
822
+ "next-month-label": _vm.nextMonthLabel,
823
+ "prev-year-label": _vm.prevYearLabel,
824
+ "next-year-label": _vm.nextYearLabel,
825
+ "change-to-label": _vm.changeToLabel,
826
+ "selected-date": _vm.selectedDate
827
+ },
828
+ on: {
829
+ "calendar-days": _vm.updateCalendarDays,
830
+ "focus-first-day": function($event) {
831
+ return _vm.$refs.calendar.focusFirstDay();
832
+ },
833
+ "focus-last-day": function($event) {
834
+ return _vm.$refs.calendar.focusLastDay();
835
+ },
836
+ "close-datepicker": function($event) {
837
+ return _vm.$emit("close-datepicker");
838
+ }
839
+ }
840
+ })], 1), _c("div", {
841
+ staticClass: "d-datepicker__bd"
842
+ }, [_c("calendar", {
843
+ ref: "calendar",
844
+ attrs: {
845
+ "locale": _vm.locale,
846
+ "calendar-days": _vm.calendarDays,
847
+ "select-day-label": _vm.selectDayLabel
848
+ },
849
+ on: {
850
+ "select-date": function($event) {
851
+ return _vm.$emit("selected-date", $event);
852
+ },
853
+ "focus-month-year-picker": function($event) {
854
+ return _vm.$refs.monthYearPicker.focusMonthYearPicker();
855
+ },
856
+ "close-datepicker": function($event) {
857
+ return _vm.$emit("close-datepicker");
858
+ },
859
+ "go-to-next-month": function($event) {
860
+ return _vm.$refs.monthYearPicker.goToNextMonth();
861
+ },
862
+ "go-to-prev-month": function($event) {
863
+ return _vm.$refs.monthYearPicker.goToPrevMonth();
864
+ }
865
+ }
866
+ })], 1)]);
624
867
  };
625
868
  var _sfc_staticRenderFns = [];
626
- var __component__ = /* @__PURE__ */ normalizeComponent(
627
- _sfc_main,
628
- _sfc_render,
629
- _sfc_staticRenderFns,
630
- false,
631
- null,
632
- null,
633
- null,
634
- null
635
- );
869
+ var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
636
870
  const datepicker = __component__.exports;
637
871
  function formatLong(date, locale = "default") {
638
- return new Intl.DateTimeFormat(locale, { weekday: "long", year: "numeric", month: "long", day: "numeric" }).format(date);
872
+ return new Intl.DateTimeFormat(locale, {
873
+ weekday: "long",
874
+ year: "numeric",
875
+ month: "long",
876
+ day: "numeric"
877
+ }).format(date);
639
878
  }
640
879
  function formatMedium(date, locale = "default") {
641
- return new Intl.DateTimeFormat(locale, { year: "numeric", month: "long", day: "numeric" }).format(date);
880
+ return new Intl.DateTimeFormat(locale, {
881
+ year: "numeric",
882
+ month: "long",
883
+ day: "numeric"
884
+ }).format(date);
642
885
  }
643
886
  function formatShort(date, locale = "default", showWeekday = true) {
644
- const options = showWeekday ? { weekday: "short", year: "numeric", month: "short", day: "numeric" } : { year: "numeric", month: "short", day: "numeric" };
887
+ const options = showWeekday ? {
888
+ weekday: "short",
889
+ year: "numeric",
890
+ month: "short",
891
+ day: "numeric"
892
+ } : {
893
+ year: "numeric",
894
+ month: "short",
895
+ day: "numeric"
896
+ };
645
897
  return new Intl.DateTimeFormat(locale, options).format(date);
646
898
  }
647
899
  function formatNoYear(date, locale = "default", abbreviated = false) {
648
900
  const monthFormat = abbreviated ? "short" : "long";
649
- return new Intl.DateTimeFormat(locale, { month: monthFormat, day: "numeric" }).format(date);
901
+ return new Intl.DateTimeFormat(locale, {
902
+ month: monthFormat,
903
+ day: "numeric"
904
+ }).format(date);
650
905
  }
651
906
  function formatNumerical(date, locale = "default") {
652
- return new Intl.DateTimeFormat(locale, { year: "2-digit", month: "2-digit", day: "2-digit" }).format(date);
907
+ return new Intl.DateTimeFormat(locale, {
908
+ year: "2-digit",
909
+ month: "2-digit",
910
+ day: "2-digit"
911
+ }).format(date);
653
912
  }
654
913
  export {
655
914
  datepicker as DtDatepicker,