@pantograph/vue 0.23.34 → 0.23.35

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 (229) hide show
  1. package/dist/ActionButton/index.js +1 -1
  2. package/dist/ActionButton/index.umd.cjs +1 -1
  3. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-BMWMRTVO.js → ActionButton.vue_vue_type_script_setup_true_lang-BGrL1xRj.js} +1 -1
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-D3P7aetp.js → ActionButton.vue_vue_type_script_setup_true_lang-jhaE9j9X.js} +2 -2
  5. package/dist/Alert/index.js +1 -1
  6. package/dist/Alert/index.umd.cjs +1 -1
  7. package/dist/{Alert.vue_vue_type_style_index_0_lang-26vzOoFq.js → Alert.vue_vue_type_style_index_0_lang-89bXo9jG.js} +3 -3
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-DuyFnwvt.js → Alert.vue_vue_type_style_index_0_lang-BdhEOwG7.js} +1 -1
  9. package/dist/Avatar/index.js +1 -1
  10. package/dist/Avatar/index.umd.cjs +1 -1
  11. package/dist/{Avatar.vue_vue_type_style_index_0_lang-BV-nR8oq.js → Avatar.vue_vue_type_style_index_0_lang-YkXWR99l.js} +1 -1
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-C6nHTHh-.js → Avatar.vue_vue_type_style_index_0_lang-kaq1iN2X.js} +3 -3
  13. package/dist/AvatarGroup/index.js +1 -1
  14. package/dist/AvatarGroup/index.umd.cjs +1 -1
  15. package/dist/Badge/index.js +1 -1
  16. package/dist/Badge/index.umd.cjs +1 -1
  17. package/dist/{Badge.vue_vue_type_script_setup_true_lang-COSGtWjQ.js → Badge.vue_vue_type_script_setup_true_lang-BAQIKtam.js} +1 -1
  18. package/dist/{Badge.vue_vue_type_script_setup_true_lang-C5oLajS-.js → Badge.vue_vue_type_script_setup_true_lang-C6x4r-P7.js} +3 -3
  19. package/dist/{BaseBadge.model-D4KY5lCI.js → BaseBadge.model-CahZXsyM.js} +13 -9
  20. package/dist/BaseBadge.model-DecqxaGN.js +1 -0
  21. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-C44EG2t2.js → BaseBadge.vue_vue_type_style_index_0_lang-CAdrPXmH.js} +3 -3
  22. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-C3_w-MbS.js → BaseBadge.vue_vue_type_style_index_0_lang-Clv4Io8O.js} +1 -1
  23. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-D9Ty08ta.js → BaseButton.vue_vue_type_style_index_0_lang-Cc9byFK5.js} +1 -1
  24. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-Cjv87N0x.js → BaseButton.vue_vue_type_style_index_0_lang-favf_C7t.js} +6 -6
  25. package/dist/Button/index.js +1 -1
  26. package/dist/Button/index.umd.cjs +1 -1
  27. package/dist/{Button.vue_vue_type_script_setup_true_lang-DtjGCgQa.js → Button.vue_vue_type_script_setup_true_lang-DTZUw0pf.js} +2 -2
  28. package/dist/{Button.vue_vue_type_script_setup_true_lang-Cdjymfr0.js → Button.vue_vue_type_script_setup_true_lang-dyN0fBVx.js} +1 -1
  29. package/dist/ButtonGroup/index.js +1 -1
  30. package/dist/ButtonGroup/index.umd.cjs +1 -1
  31. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-DsTy8z8k.js → ButtonGroup.vue_vue_type_script_setup_true_lang-BflgAkUi.js} +1 -1
  32. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-B78EnlfK.js → ButtonGroup.vue_vue_type_script_setup_true_lang-DwaBBOgk.js} +1 -1
  33. package/dist/Checkbox/index.js +1 -1
  34. package/dist/Checkbox/index.umd.cjs +1 -1
  35. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-DS34zQaJ.js → Checkbox.vue_vue_type_style_index_0_lang-D_UcZD7p.js} +1 -1
  36. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-CKxVodZ0.js → Checkbox.vue_vue_type_style_index_0_lang-Dzren1pf.js} +2 -2
  37. package/dist/CheckboxGroup/index.js +1 -1
  38. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  39. package/dist/Chip/index.js +2 -2
  40. package/dist/Chip/index.umd.cjs +1 -1
  41. package/dist/{Chip.vue_vue_type_style_index_0_lang-aOfSRZac.js → Chip.vue_vue_type_style_index_0_lang-BLjUJgbj.js} +1 -1
  42. package/dist/{Chip.vue_vue_type_style_index_0_lang-D_GnKc9L.js → Chip.vue_vue_type_style_index_0_lang-BPdU3Pgk.js} +2 -2
  43. package/dist/ChipGroup/index.js +1 -1
  44. package/dist/ChipGroup/index.umd.cjs +1 -1
  45. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Dpnpn9cR.js → ChipGroup.vue_vue_type_style_index_0_lang-D4A14AxB.js} +3 -3
  46. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Db0C-2GS.js → ChipGroup.vue_vue_type_style_index_0_lang-vXOtvFCA.js} +1 -1
  47. package/dist/ColorPicker/index.js +1 -1
  48. package/dist/ColorPicker/index.umd.cjs +1 -1
  49. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-Br4NCPFi.js → ColorPicker.vue_vue_type_style_index_0_lang-CAzVW3da.js} +3 -3
  50. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-DrBF8Kn2.js → ColorPicker.vue_vue_type_style_index_0_lang-CYPF-q6f.js} +1 -1
  51. package/dist/ColorSwatch/index.js +1 -1
  52. package/dist/ColorSwatch/index.umd.cjs +1 -1
  53. package/dist/{ColorSwatch-YGnaXc8p.js → ColorSwatch-BRe9OLTq.js} +1 -1
  54. package/dist/{ColorSwatch-n1uveCMC.js → ColorSwatch-LVdDBugO.js} +1 -1
  55. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-BShNUMWy.js → ColorSwatch.vue_vue_type_style_index_0_lang-BnpzS5m2.js} +1 -1
  56. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-AsM8pPUL.js → ColorSwatch.vue_vue_type_style_index_0_lang-htOyCGxU.js} +3 -3
  57. package/dist/ColorSwatchGroup/index.js +1 -1
  58. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  59. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-94m1NgyY.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-Cv2D2XJ5.js} +5 -5
  60. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-cM1d4OKt.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-DFUXE61f.js} +1 -1
  61. package/dist/ColorTrigger/index.js +1 -1
  62. package/dist/ColorTrigger/index.umd.cjs +1 -1
  63. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-BOVOWUiK.js → ColorTrigger.vue_vue_type_style_index_0_lang-CNeFfFIE.js} +4 -4
  64. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-DjDffIL_.js → ColorTrigger.vue_vue_type_style_index_0_lang-nVzcYP7q.js} +1 -1
  65. package/dist/Combobox/index.d.ts +1 -1
  66. package/dist/Combobox/index.js +1 -1
  67. package/dist/Combobox/index.umd.cjs +1 -1
  68. package/dist/Combobox/types.d.ts +3 -2
  69. package/dist/{Combobox.vue_vue_type_style_index_0_lang-Cpy_ypH_.js → Combobox.vue_vue_type_style_index_0_lang-Cj3maBpd.js} +116 -116
  70. package/dist/{Combobox.vue_vue_type_style_index_0_lang-DGrRrs1D.js → Combobox.vue_vue_type_style_index_0_lang-Dtf_JcyR.js} +1 -1
  71. package/dist/Comment/Comment.d.ts +90 -0
  72. package/dist/Comment/CommentAction.d.ts +23 -0
  73. package/dist/Comment/CommentActions.d.ts +2 -0
  74. package/dist/Comment/CommentEditor.d.ts +331 -0
  75. package/dist/Comment/CommentMention.d.ts +19 -0
  76. package/dist/Comment/CommentReaction.d.ts +15 -0
  77. package/dist/Comment/CommentReactions.d.ts +2 -0
  78. package/dist/Comment/CommentTrigger.d.ts +39 -0
  79. package/dist/Comment/index.d.ts +41 -1
  80. package/dist/Comment/index.js +2237 -1
  81. package/dist/Comment/index.umd.cjs +1 -1
  82. package/dist/ConfigProvider/index.js +1 -1
  83. package/dist/DataTable/index.js +1 -1
  84. package/dist/DataTable/index.umd.cjs +1 -1
  85. package/dist/DataTable/useSort.d.ts +1 -1
  86. package/dist/DataTable.vue_vue_type_style_index_0_lang-CW2i09wf.js +878 -0
  87. package/dist/DataTable.vue_vue_type_style_index_0_lang-rouccC9l.js +1 -0
  88. package/dist/DropZone/index.js +1 -1
  89. package/dist/DropZone/index.umd.cjs +1 -1
  90. package/dist/{DropZone.vue_vue_type_style_index_0_lang-BculTc3p.js → DropZone.vue_vue_type_style_index_0_lang-4zdO8B11.js} +1 -1
  91. package/dist/{DropZone.vue_vue_type_style_index_0_lang-A7_vR-Pf.js → DropZone.vue_vue_type_style_index_0_lang-CF9qXlg0.js} +2 -2
  92. package/dist/Empty/index.js +1 -1
  93. package/dist/Empty/index.umd.cjs +1 -1
  94. package/dist/{Empty.vue_vue_type_style_index_0_lang-zMv-EcYu.js → Empty.vue_vue_type_style_index_0_lang-BAbEBeZo.js} +1 -1
  95. package/dist/{Empty.vue_vue_type_style_index_0_lang-C0ZhSBLF.js → Empty.vue_vue_type_style_index_0_lang-CLG9v3ny.js} +1 -1
  96. package/dist/FloatButton/index.js +1 -1
  97. package/dist/FloatButton/index.umd.cjs +1 -1
  98. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BZ5NR8z9.js → FloatButton.vue_vue_type_script_setup_true_lang-BVJZNZm4.js} +1 -1
  99. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-B2TcoWap.js → FloatButton.vue_vue_type_script_setup_true_lang-PYw1Yz9o.js} +2 -2
  100. package/dist/Form/index.js +1 -1
  101. package/dist/Form/index.umd.cjs +1 -1
  102. package/dist/GOPicker/index.js +6 -5
  103. package/dist/GOPicker/index.umd.cjs +1 -1
  104. package/dist/GOPicker.vue_vue_type_style_index_0_lang-Bb05nUVP.js +1 -0
  105. package/dist/GOPicker.vue_vue_type_style_index_0_lang-DVZ2wSgV.js +1712 -0
  106. package/dist/GraphicalObject/index.js +1 -1
  107. package/dist/GraphicalObject/index.umd.cjs +1 -1
  108. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-DoRdIgvj.js → GraphicalObject.vue_vue_type_script_setup_true_lang-C949W-Ro.js} +4 -4
  109. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-C4_sqrIs.js → GraphicalObject.vue_vue_type_script_setup_true_lang-EviuZ52W.js} +1 -1
  110. package/dist/GraphicalObjectGroup/index.js +1 -1
  111. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  112. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-tfWl5T4F.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CYUJM_Vv.js} +2 -2
  113. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-D0BnFb11.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DAXoXPPu.js} +1 -1
  114. package/dist/Icon/index.js +1 -1
  115. package/dist/Icon/index.umd.cjs +1 -1
  116. package/dist/{Icon.vue_vue_type_style_index_0_lang-bJL9KzOJ.js → Icon.vue_vue_type_style_index_0_lang-BUvEzzua.js} +9 -8
  117. package/dist/{Icon.vue_vue_type_style_index_0_lang-C2rIx5h7.js → Icon.vue_vue_type_style_index_0_lang-CPuN4R-k.js} +3 -3
  118. package/dist/IconButton/index.js +1 -1
  119. package/dist/IconButton/index.umd.cjs +1 -1
  120. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-81p8uq2m.js → IconButton.vue_vue_type_script_setup_true_lang-BBnCpnF1.js} +2 -2
  121. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-bTGK4lWE.js → IconButton.vue_vue_type_script_setup_true_lang-DynLmo_n.js} +1 -1
  122. package/dist/Image/index.js +1 -1
  123. package/dist/Image/index.umd.cjs +1 -1
  124. package/dist/{Image.vue_vue_type_style_index_0_lang-ORTGD1mN.js → Image.vue_vue_type_style_index_0_lang-B43Rg3w7.js} +1 -1
  125. package/dist/{Image.vue_vue_type_style_index_0_lang-BJGZ9jYR.js → Image.vue_vue_type_style_index_0_lang-UVOAmZXt.js} +2 -2
  126. package/dist/IndentLevel/index.js +1 -1
  127. package/dist/IndentLevel/index.umd.cjs +1 -1
  128. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-CP-PLrPU.js → IndentLevel.vue_vue_type_style_index_0_lang-59akXJBr.js} +3 -3
  129. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-Dg4d5e9g.js → IndentLevel.vue_vue_type_style_index_0_lang-CELNQ3jz.js} +1 -1
  130. package/dist/Indicator/index.js +1 -1
  131. package/dist/Indicator/index.umd.cjs +1 -1
  132. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-CeiDjELx.js → Indicator.vue_vue_type_script_setup_true_lang-AJV4EFOO.js} +3 -3
  133. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-CAFGcRvZ.js → Indicator.vue_vue_type_script_setup_true_lang-BQqMdFAx.js} +1 -1
  134. package/dist/Input/index.js +1 -1
  135. package/dist/Input/index.umd.cjs +1 -1
  136. package/dist/{Input.vue_vue_type_style_index_0_lang-BMkrAZAs.js → Input.vue_vue_type_style_index_0_lang-D4aCRGW6.js} +2 -2
  137. package/dist/{Input.vue_vue_type_style_index_0_lang-DjQxEODi.js → Input.vue_vue_type_style_index_0_lang-DEQgofJ1.js} +1 -1
  138. package/dist/Kbd/index.js +1 -1
  139. package/dist/Kbd/index.umd.cjs +1 -1
  140. package/dist/{Kbd.vue_vue_type_style_index_0_lang-Dqwmsn2A.js → Kbd.vue_vue_type_style_index_0_lang-CUGyyeHh.js} +1 -1
  141. package/dist/{Kbd.vue_vue_type_style_index_0_lang-A-Q2_bYP.js → Kbd.vue_vue_type_style_index_0_lang-DpjuML9o.js} +1 -1
  142. package/dist/Label/index.js +1 -1
  143. package/dist/Label/index.umd.cjs +1 -1
  144. package/dist/Link/index.js +1 -1
  145. package/dist/Link/index.umd.cjs +1 -1
  146. package/dist/{Link.vue_vue_type_style_index_0_lang-CqKGfCyP.js → Link.vue_vue_type_style_index_0_lang-BfC3SwbG.js} +1 -1
  147. package/dist/{Link.vue_vue_type_style_index_0_lang--WExHqLB.js → Link.vue_vue_type_style_index_0_lang-CsBkek74.js} +1 -1
  148. package/dist/Menu/index.js +1 -1
  149. package/dist/Menu/index.umd.cjs +1 -1
  150. package/dist/MenuItem/index.js +1 -1
  151. package/dist/MenuItem/index.umd.cjs +1 -1
  152. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-BgYTRNdx.js → MenuItem.vue_vue_type_style_index_0_lang-DNlGDoyp.js} +4 -4
  153. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-DS-Q84kP.js → MenuItem.vue_vue_type_style_index_0_lang-fYybuhKO.js} +1 -1
  154. package/dist/Popover/index.js +1 -1
  155. package/dist/Popover/index.umd.cjs +1 -1
  156. package/dist/{Popover.vue_vue_type_style_index_0_lang-DuESzGoY.js → Popover.vue_vue_type_style_index_0_lang-Bdu86hho.js} +2 -2
  157. package/dist/{Popover.vue_vue_type_style_index_0_lang-DGVv8NPn.js → Popover.vue_vue_type_style_index_0_lang-qJ0psPTx.js} +1 -1
  158. package/dist/Progress/Progress.d.ts +21 -0
  159. package/dist/Progress/ProgressCircle.d.ts +2 -0
  160. package/dist/Progress/ProgressHelperText.d.ts +2 -0
  161. package/dist/Progress/ProgressLabel.d.ts +2 -0
  162. package/dist/Progress/ProgressLegend.d.ts +2 -0
  163. package/dist/Progress/ProgressLine.d.ts +2 -0
  164. package/dist/Progress/ProgressValidationMessage.d.ts +2 -0
  165. package/dist/RadioGroup/index.js +1 -1
  166. package/dist/RadioGroup/index.umd.cjs +1 -1
  167. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-DQ4ugvkh.js → RadioGroup.vue_vue_type_script_setup_true_lang-BVfQx8wD.js} +2 -2
  168. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-CF5qIS-k.js → RadioGroup.vue_vue_type_script_setup_true_lang-CQ_nySHu.js} +1 -1
  169. package/dist/ScrollContainer/index.js +1 -1
  170. package/dist/ScrollContainer/index.umd.cjs +1 -1
  171. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-DXlHF6fZ.js → ScrollContainer.vue_vue_type_style_index_0_lang-BLFtmUwR.js} +1 -1
  172. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-BdQQlmfl.js → ScrollContainer.vue_vue_type_style_index_0_lang-DGUSuq_n.js} +2 -2
  173. package/dist/Select/index.d.ts +1 -1
  174. package/dist/Select/index.js +1 -1
  175. package/dist/Select/index.umd.cjs +1 -1
  176. package/dist/{Select.vue_vue_type_style_index_0_lang-DEv7cT5G.js → Select.vue_vue_type_style_index_0_lang-D-dLDaBy.js} +106 -106
  177. package/dist/{Select.vue_vue_type_style_index_0_lang-D8AVBwXB.js → Select.vue_vue_type_style_index_0_lang-Dk38gPKw.js} +1 -1
  178. package/dist/Shortcut/index.js +1 -1
  179. package/dist/Shortcut/index.umd.cjs +1 -1
  180. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-Dsx2BTM-.js → Shortcut.vue_vue_type_style_index_0_lang-BXy0S1__.js} +2 -2
  181. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-NFPFk990.js → Shortcut.vue_vue_type_style_index_0_lang-maaUKoPJ.js} +1 -1
  182. package/dist/Spinner/index.js +1 -1
  183. package/dist/Spinner/index.umd.cjs +1 -1
  184. package/dist/{Spinner.vue_vue_type_style_index_0_lang-DGTYJsUV.js → Spinner.vue_vue_type_style_index_0_lang-BacaASPe.js} +1 -1
  185. package/dist/{Spinner.vue_vue_type_style_index_0_lang-DhCljq0c.js → Spinner.vue_vue_type_style_index_0_lang-D9QAUh3y.js} +1 -1
  186. package/dist/SubMenu/index.js +1 -1
  187. package/dist/SubMenu/index.umd.cjs +1 -1
  188. package/dist/Switch/index.js +1 -1
  189. package/dist/Switch/index.umd.cjs +1 -1
  190. package/dist/{Switch.vue_vue_type_style_index_0_lang-BS8jWY0H.js → Switch.vue_vue_type_style_index_0_lang--RYeL-jW.js} +2 -2
  191. package/dist/{Switch.vue_vue_type_style_index_0_lang-CfeCIKAK.js → Switch.vue_vue_type_style_index_0_lang-gKEdPPxG.js} +1 -1
  192. package/dist/{THead.vue_vue_type_style_index_0_lang-DgucfqoU.js → THead.vue_vue_type_style_index_0_lang-D0RuVLmr.js} +1 -1
  193. package/dist/{THead.vue_vue_type_style_index_0_lang-CePJCNbd.js → THead.vue_vue_type_style_index_0_lang-DfOi9-Nh.js} +1 -1
  194. package/dist/Table/index.js +1 -1
  195. package/dist/Table/index.umd.cjs +1 -1
  196. package/dist/Textarea/index.js +1 -1
  197. package/dist/Textarea/index.umd.cjs +1 -1
  198. package/dist/{Textarea.vue_vue_type_style_index_0_lang-B7_VTAKR.js → Textarea.vue_vue_type_style_index_0_lang-0wTOqfhB.js} +1 -1
  199. package/dist/{Textarea.vue_vue_type_style_index_0_lang-DDtsZTRy.js → Textarea.vue_vue_type_style_index_0_lang-CPto-5VY.js} +3 -3
  200. package/dist/Tree/index.js +1 -1
  201. package/dist/Tree/index.umd.cjs +1 -1
  202. package/dist/{Tree.vue_vue_type_style_index_0_lang-DJ-xiweD.js → Tree.vue_vue_type_style_index_0_lang-D-mTy1Es.js} +6 -6
  203. package/dist/{Tree.vue_vue_type_style_index_0_lang-DyCxuJ0z.js → Tree.vue_vue_type_style_index_0_lang-ZoSOcaY2.js} +1 -1
  204. package/dist/Upload/Upload.d.ts +61 -0
  205. package/dist/Upload/UploadFileGO.d.ts +2 -0
  206. package/dist/Upload/UploadList.d.ts +2 -0
  207. package/dist/Upload/UploadListItem.d.ts +12 -0
  208. package/dist/Upload/UploadListItemCard.d.ts +2 -0
  209. package/dist/Upload/UploadListItemImage.d.ts +2 -0
  210. package/dist/Upload/UploadTrigger.d.ts +37 -0
  211. package/dist/{getEmojiList-2KQU2mwt.js → getEmojiList-CDYsgSBd.js} +8 -1717
  212. package/dist/getEmojiList-DX90Kg6S.js +1 -0
  213. package/dist/{index-CJP02N8y.js → index-BTuMaS--.js} +3 -3
  214. package/dist/index.js +180 -168
  215. package/dist/index.umd.cjs +1 -1
  216. package/dist/sortBy-BoHPhPoZ.js +98 -0
  217. package/dist/sortBy-NRZqvtuE.js +1 -0
  218. package/dist/style/index.css +1 -1
  219. package/dist/{uniq-wfj4w7wM.js → uniq-DA_VCwGV.js} +1 -1
  220. package/dist/{uniq-dQ201l-v.js → uniq-iuU6YkEW.js} +1 -1
  221. package/dist/{useInputDataStates-Q_q7M0Wx.js → useInputDataStates-CJoP9BXy.js} +1 -1
  222. package/dist/{useInputDataStates-BcVhp7Jz.js → useInputDataStates-CXaVG_o2.js} +1 -1
  223. package/dist/utils/index.js +2 -2
  224. package/dist/utils/index.umd.cjs +1 -1
  225. package/package.json +1 -1
  226. package/dist/BaseBadge.model-Bz8P4acF.js +0 -1
  227. package/dist/DataTable.vue_vue_type_style_index_0_lang-C7XHp0gl.js +0 -1
  228. package/dist/DataTable.vue_vue_type_style_index_0_lang-sAmTFA3r.js +0 -971
  229. package/dist/getEmojiList-D8egeGo5.js +0 -1
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),j=require("reka-ui"),a=require("./Icon.vue_vue_type_style_index_0_lang-C2rIx5h7.js"),oe=require("./options-CY2uxp5A.js"),i=require("@pantograph/utils"),b=require("./index-BmcHqJPl.js"),ve=require("class-variance-authority"),Le=require("./Empty.vue_vue_type_style_index_0_lang-C0ZhSBLF.js"),ze=require("./Skeleton.vue_vue_type_style_index_0_lang-vYeWc1nI.js"),fe=require("./Divider.vue_vue_type_style_index_0_lang-B1VnMpBg.js"),xe=require("./useInputDataStates-BcVhp7Jz.js"),De=require("./useLazyLoading-H6VG5aE-.js"),Ve=require("./Popover.vue_vue_type_style_index_0_lang-DGVv8NPn.js"),Me=require("./ScrollContainer.vue_vue_type_style_index_0_lang-DXlHF6fZ.js"),we=require("./Tree.vue_vue_type_style_index_0_lang-DyCxuJ0z.js"),Be=require("./uniq-wfj4w7wM.js"),qe=require("./Chip.vue_vue_type_style_index_0_lang-aOfSRZac.js"),Ae=require("./ChipGroup.vue_vue_type_style_index_0_lang-Db0C-2GS.js"),he=require("./Avatar.vue_vue_type_style_index_0_lang-BV-nR8oq.js"),Ne=require("./GraphicalObjectGroup.vue_vue_type_style_index_0_lang-D0BnFb11.js"),Oe=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-C4_sqrIs.js"),Ke=require("./Input.vue_vue_type_style_index_0_lang-DjQxEODi.js"),Re=require("@vueuse/core"),Fe=require("lodash-es"),We=require("./MenuItem.vue_vue_type_style_index_0_lang-DS-Q84kP.js");require("@iconify/vue");const Ge=require("./Checkbox.vue_vue_type_style_index_0_lang-DS34zQaJ.js");require("@pantograph/tokens");const[ce,Ee]=j.createContext("Combobox"),[je,$e]=j.createContext("_Combobox"),w=i.getBemBlock("combobox");var Ue=1/0;function He(u){var n=u==null?0:u.length;return n?a.baseFlatten(u,Ue):[]}const pe=u=>a.isNumber(u)||b.isString(u);function Ye({getValue:u,arr:n,getChildren:o}){const e=[],g=(c,P)=>{c.forEach(T=>{const S=u(T);if(pe(S)){e.push({...T,_parentKeys:P,_key:S});const C=o(T);C!=null&&C.length&&g(C,[...P??[],S])}})};return g(n),e}const Je=({getData:u,getModel:n,getValue:o,getChildren:e})=>{const g=t.computed(()=>Ye({arr:t.unref(u()),getChildren:e,getValue:o})),c=(s,h=!1)=>{const m=o(s);return g.value.filter(p=>{var O;if(h){const V=a.last(p._parentKeys??[]);return V&&V===m}return(O=p._parentKeys)==null?void 0:O.includes(m)})},P=s=>{if(s&&b.isArray(s))return a.cloneDeep(s);const h=t.unref(n());return h&&b.isArray(h)?a.cloneDeep(h):[]},T=(s,h)=>{const m=P(h),p=c(s);if(p!=null&&p.length)return p.some(O=>{var r;const V=O._key;return V&&((r=m==null?void 0:m.includes)==null?void 0:r.call(m,V))})},S=(s,h)=>{const m=P(h),p=c(s);if(p!=null&&p.length)return p.every(O=>{var r;const V=O._key;return V&&((r=m==null?void 0:m.includes)==null?void 0:r.call(m,V))})},C=(s,h)=>{const m=P(h),p=c(s),O=o(s);return p!=null&&p.length?S(s)?!0:T(s)?"intermediate":!1:m.includes(O)},q=s=>pe(s)?g.value.find(h=>h._key===s):void 0;return{flattenData:g,getNodeChildren:c,isSomeChildrenSelected:T,isAllChildrenSelected:S,isSelected:C,selectValues:(s,h)=>{if(s.length){let m=P();const p=s.filter(pe);h?m.push(...p):m=m.filter(v=>!p.includes(v));const O=m.map(q).filter(v=>v&&v._parentKeys),r=Be.uniq(He(O.map(v=>v._parentKeys))).filter(pe).map(q).filter(Boolean),B=[],L=[];return r.forEach(v=>{const G=o(v);S(v,m)?B.push(G):L.push(G)}),m.push(...B),Be.uniq(m.filter(v=>!L.includes(v)))}}}},ye=["sm","md","lg"],Pe=["error","warning","success"],Qe={key:1},ke=t.defineComponent({...oe.getComponentOptions("ComboboxInput"),__name:"ComboboxInput",setup(u){const n=ce();Re.whenever(()=>n.open.value&&n.headerInputElement.value,()=>{n.headerInputElement.value&&n.open.value&&n.focusOnInput()});const o=t.computed(()=>!a.isEmpty(n.modelValue.value)),e=t.computed(()=>{if(o.value){if(n.props.multiple&&b.isArray(n.modelValue.value)&&!n.props.noLastValueOnPlaceholder)return n.getLabelByValue(Fe.last(n.modelValue.value));if(!n.props.multiple&&!b.isArray(n.modelValue.value))return n.getLabelByValue(n.modelValue.value)}return n.props.placeholder??""}),g=T=>{if(T.key==="Backspace"&&n.props.multiple&&b.isArray(n.modelValue.value)&&a.isEmpty(n.searchModel.value)&&(n.setModelValue(n.modelValue.value.slice(0,-1)),a.isEmpty(n.modelValue.value))){const S=setTimeout(()=>{n.focusOnInput(),clearTimeout(S)},2)}},c=i.getBemElement(w,"input"),P=ve.cva(c,{variants:{valuePlaceholder:i.generateVariantClassList("value-placeholder",c)}});return(T,S)=>(t.openBlock(),t.createBlock(t.unref(j.ComboboxInput),t.mergeProps(t.unref(n).comboboxInputBinding.value,{disabled:t.unref(n).getDisabled.value,placeholder:e.value,"as-child":"",modelValue:t.unref(n).searchModel.value,"onUpdate:modelValue":S[0]||(S[0]=C=>t.unref(n).searchModel.value=C),onKeydown:g,class:t.unref(P)({valuePlaceholder:o.value}),displayValue:()=>""}),{default:t.withCtx(()=>[t.unref(n).props.headerSearch?(t.openBlock(),t.createBlock(Ke._sfc_main,{key:0,ref:t.unref(n).headerInputElement,placeholder:t.unref(n).props.placeholder},{leading:t.withCtx(({iconSize:C})=>[t.createVNode(a._sfc_main$3,{size:C,icon:"tabler:search",flipOnDir:"rtl"},null,8,["size"])]),_:1},8,["placeholder"])):(t.openBlock(),t.createElementBlock("input",Qe))]),_:1},16,["disabled","placeholder","modelValue","class"]))}}),Xe=t.defineComponent({name:oe.getComponentName("ComboboxTrigger"),props:{},setup(u,{slots:n,attrs:o}){const e=ce(),g=({value:r},B)=>{if(B.stopPropagation(),r&&b.isArray(e.modelValue.value)&&!e.getDisabled.value){const L=e.modelValue.value.filter(v=>v!==r);e.setModelValue(L)}},c=i.getBemElement(w,"trigger"),P=ve.cva(c,{variants:{size:i.generateVariantClassList(ye,c),headerSearch:i.generateVariantClassList("header-search",c),status:i.generateVariantClassList(Pe,c),bordered:i.generateVariantClassList("bordered",c),multiple:i.generateVariantClassList("multiple",c),contentFit:i.generateVariantClassList("content-fit",c),wrapped:i.generateVariantClassList("wrapped",c),filled:i.generateVariantClassList("filled",c)}}),T=t.computed(()=>{switch(e.getSize.value){case"sm":return"2xsm";case"md":default:return"xsm"}}),S=t.computed(()=>{if(!e.props.multiple&&b.isString(e.modelValue.value)&&!a.isEmpty(e.modelValue.value))return e.getOptionByValue(e.modelValue.value)}),C=(r=S.value)=>{if(e.props.selectedItemIconAsTrailingIcon&&b.isObject(r)&&"icon"in r)return r.icon},q=t.computed(()=>C()),A=t.computed(()=>{if(!e.props.noTrailing)return e.props.trailingIcon}),s=t.computed(()=>{var L,v;const r=a.cloneDeep(e.modelValue.value),B=b.isArray(e.modelValue.value);return{modelValue:r,open:a.cloneDeep(e.open.value),option:B?void 0:e.getOptionByValue(e.modelValue.value),options:B?(v=(L=e.modelValue.value).map)==null?void 0:v.call(L,e.getOptionByValue).filter(Boolean):void 0}}),h=()=>{e.onOpenChange(!e.open.value)},m=r=>{e.props.headerSearch},p=t.computed(()=>({disabled:e.getDisabled.value,tabindex:e.getDisabled.value||!e.props.headerSearch?-1:0,reference:e.props.reference,"data-disabled":e.getDisabled.value?"":void 0,"aria-disabled":e.getDisabled.value??void 0,"aria-label":"Show popup","aria-haspopup":"listbox","aria-expanded":e.open.value,"aria-controls":e.contentId,"data-state":e.open.value?"open":"closed",class:i.normCls(P({size:e.getSize.value,status:e.getStatus.value==="success"&&a.isEmpty(e.modelValue.value)?void 0:e.getStatus.value,bordered:e.props.bordered,multiple:e.props.multiple,contentFit:e.props.contentFit,wrapped:e.props.wrapped,filled:!a.isEmpty(e.modelValue.value),headerSearch:e.props.headerSearch}),e.props.triggerCls),...o})),O=(r,B=T.value)=>t.h(a._sfc_main$3,{icon:r,size:B}),V=()=>{var L;let r;const B=(L=n.triggerTrailing)==null?void 0:L.call(n,s.value);if(a.isEmptyElement(B)?A.value&&(r=O(A.value)):r=B,r)return t.h("div",{class:i.normCls(i.getBemElement(c,"trailing"),e.props.triggerTrailingCls)},r)};return()=>{var X;const r=(X=n.trigger)==null?void 0:X.call(n,s.value),B=!a.isEmptyElement(r),v=(()=>{if(!B)return!1;const Y=a.filterEmpty(r)??null,J=Y.length===1?Y[0]:Y;return J?a.isValidElement(J)&&!a.isFragment(J):!0})(),{class:G,...H}=p.value;return t.h(j.ComboboxAnchor,{...H,class:B?e.props.triggerCls:G,...e.comboboxTriggerBinding.value,asChild:v,as:v?"template":"button",key:String(v),onKeyUp:m,onClick:h},()=>{if(B)return r;const Y=k=>{var R,N;const K=e.getOptionByValue(k)??{value:k};return t.h(he._sfc_main,{...K?((N=(R=e.props).getTagProps)==null?void 0:N.call(R,K))??{}:{},size:e.getTagSize.value})},J=k=>{var R,N;const K=e.getOptionByValue(k)??{value:k};return t.h(Oe._sfc_main,{...K?((N=(R=e.props).getTagProps)==null?void 0:N.call(R,K))??{}:{},size:e.getTagSize.value})},Q=()=>{if(!e.props.multiple&&!e.props.multiple&&!b.isArray(e.modelValue.value)&&e.modelValue.value&&(e.props.tagRenderMode&&["avatar","go"].includes(e.props.tagRenderMode)||q.value||e.props.leadingIcon)){let k;if(e.props.tagRenderMode==="avatar"?k=Y(e.modelValue.value):e.props.tagRenderMode==="go"?k=J(e.modelValue.value):q.value?k=O(q.value):e.props.leadingIcon&&(k=O(e.props.leadingIcon)),!a.isEmptyElement(k))return t.h("div",{class:i.normCls(i.getBemElement(c,"leading"),e.props.triggerLeadingCls)},k)}},ae=()=>{const k=[],K=[i.getBemElement(c,"tags"),e.props.triggerContentCls,e.props.triggerContentValueCls],N=(()=>{if(e.props.multiple&&b.isArray(e.modelValue.value)){if(e.props.tagRenderMode==="avatar")return t.h(he._sfc_main$1,{maxCount:e.props.maxCount,size:e.getTagSize.value,closeable:!e.getDisabled.value,noPopover:!0,noWrap:!e.props.wrapped,class:K},()=>e.modelValue.value.map(Y));if(e.props.tagRenderMode==="go")return t.h(Ne._sfc_main,{maxCount:e.props.maxCount,size:e.getTagSize.value,closeable:!e.getDisabled.value,noPopover:!0,noWrap:!e.props.wrapped,class:K},()=>e.modelValue.value.map(J));if(e.props.tagRenderMode==="chip")return t.h(Ae._sfc_main,{maxCount:e.props.maxCount,size:e.getTagSize.value,color:"primary",closeable:!e.getDisabled.value,noPopover:!0,noWrap:!e.props.wrapped,class:K,onClose:g},()=>e.modelValue.value.map($=>{var ie,te;const ne=()=>e.getLabelByValue($),de=({size:ge})=>{const ue=C(e.getOptionByValue($))??e.props.leadingIcon;return ue?O(ue,ge):null},le=e.getOptionByValue($);return t.h(qe._sfc_main,{...le?((te=(ie=e.props).getTagProps)==null?void 0:te.call(ie,le))??{}:{},value:$,class:i.normCls(i.getBemElement(c,"tag"),e.props.tagCls),closeIconCls:i.getBemElement(c,"tag__close")},{text:ne,leading:de})}))}})();return N&&k.push(N),e.props.headerSearch?e.props.showLabelValueOnHeaderSearch&&!e.props.multiple&&b.isString(e.modelValue.value)&&k.push(t.h("div",{class:i.getBemElement(c,"content__value")},e.getLabelByValue(e.modelValue.value))):k.push(t.h(ke)),t.h("div",{class:i.getBemElement(c,"content")},k)},ee=[],Z=Q();a.isEmptyElement(Z)||ee.push(Z),ee.push(ae());const se=V();return a.isEmptyElement(se)||ee.push(se),ee})}}}),Ze=t.defineComponent({...oe.getComponentOptions("ComboboxLabel"),__name:"ComboboxLabel",setup(u){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(i.getBemElement)(t.unref(w),"label"))},[t.renderSlot(n.$slots,"default")],2))}}),Se=t.defineComponent({name:oe.getComponentName("ComboboxOption"),props:{option:{type:[Object,String],required:!0}},slots:Object,setup(u,{slots:n}){const o=ce(),e=t.computed(()=>{switch(o.getSize.value){case"sm":return"2xsm";case"lg":return"sm";case"md":default:return"xsm"}}),g=t.computed(()=>o.getOptionValue(u.option)),c=t.computed(()=>o.getOptionNoCheckbox(u.option)),P=t.computed(()=>o.getOptionClear(u.option)),T=t.computed(()=>o.getOptionSingle(u.option)),S=t.computed(()=>o.getOptionLabel(u.option)),C=t.computed(()=>o.getOptionIcon(u.option)),q=t.computed(()=>o.props.tree?void 0:o.getOptionDescription(u.option)),A=t.computed(()=>o.getOptionDisabled(u.option)),s=t.computed(()=>o.isItemSelected(g.value)),h=i.getBemElement(w,"option"),m=()=>{if(!(o.props.tree||!g.value||A.value))if(o.props.multiple)if(P.value)o.setModelValue([]),o.emit("select",void 0,!1);else if(T.value)o.setModelValue([g.value]),o.emit("select",g.value,!0,u.option);else{let p=b.isArray(o.modelValue.value)?o.modelValue.value:[];const O=p.includes(g.value);p.length===1&&o.getSingleByValue(p[0])&&g.value!==p[0]&&(p=[]),O?(o.setModelValue(p.filter(V=>V!==g.value)),o.emit("select",g.value,!0,u.option)):(o.setModelValue([...p,g.value]),o.emit("select",g.value,!1,u.option))}else P.value?(o.setModelValue(void 0),o.emit("select",void 0,!1)):(o.setModelValue(g.value),o.emit("select",g.value,!0,u.option))};if(!u.option)throw new Error("option is required");return()=>{const p=V=>{var L,v,G,H,X;const r=[];!o.props.tree&&o.props.multiple&&o.props.checkbox&&!c.value&&r.push(t.h(Ge._sfc_main,{modelValue:s.value,size:V.checkboxSize,disabled:A.value}));const B=(L=n.leading)==null?void 0:L.call(n,{option:u.option});return a.isEmptyElement(B)?o.props.tagRenderMode==="avatar"?r.push(t.h(he._sfc_main,{...((G=(v=o.props).getTagProps)==null?void 0:G.call(v,u.option))??{},size:o.getTagSize.value})):o.props.tagRenderMode==="go"?r.push(t.h(Oe._sfc_main,{...((X=(H=o.props).getTagProps)==null?void 0:X.call(H,u.option))??{},size:o.getTagSize.value})):C.value&&r.push(t.h(a._sfc_main$3,{icon:C.value,size:e.value})):r.push(B),a.isEmptyElement(r)?null:r};return(()=>{const V=!!q.value;return t.h(We._sfc_main$1,{class:h,description:q.value,title:S.value,key:g.value,selected:s.value,unFocusable:!0,leadingCenter:!V,size:o.getSize.value,disabled:A.value,onClick:m},{leading:p,trailing:()=>{var r;return(r=n.trailing)==null?void 0:r.call(n,{option:u.option})}})})()}}}),et=t.defineComponent({name:oe.getComponentName("ComboboxWrapper"),setup(u,{slots:n}){const o=je(),e=j.injectComboboxRootContext(),g=t.ref();De.useLazyLoading({target:g});const c=t.ref(),P=Ve.getPopoverPortalProps({triggerRef:c,props:o.props}),{getFlipOnDir:T,getDir:S}=b.useConfig(),C=T("reversePlacementOnDir"),q=S(),A=Ve.getPopoverContentProps({props:o.props,flip:C,emitsAsProps:o.emitsAsProps,_dir:q,controlAutoFocus:!1,extraPropNames:["bodyLock","position"]}),s=({key:l,getterKey:d,defaultValue:y,noReturnOption:I})=>_=>{const D=b.isFunction(y)?y(_):y;if(b.isObject(_)){const F=_[l]??D,W=d&&o.props[d];if(W){if(b.isString(W))return _[W]??F;if(b.isFunction(W))return W(_)??F}return F}return b.isString(_)&&!I?_??D:D},h=s({getterKey:"getValue",key:"value"}),m=s({getterKey:"getNoCheckbox",key:"noCheckbox"}),p=s({getterKey:"getSingle",key:"single",noReturnOption:!0}),O=s({getterKey:"getClear",key:"clear",noReturnOption:!0}),V=s({getterKey:"getLabel",key:"label",defaultValue:h}),r=s({getterKey:"getIcon",key:"icon",noReturnOption:!0}),B=s({getterKey:"getDescription",key:"description",noReturnOption:!0}),L=s({getterKey:"getDisabled",key:"disabled",defaultValue:!1,noReturnOption:!0}),v=s({getterKey:"getGroupLabel",key:"label",noReturnOption:!0}),G=s({getterKey:"getGroupOptions",key:"options",noReturnOption:!0}),H=l=>{const d=y=>{if(y!=null&&y.length&&l)for(const I of y){if(h(I)===l)return I;const _=G(I);if(_!=null&&_.length){const D=d(_);if(D)return D}}};return d(o.props.options)},X=l=>{const d=H(l);return d?V(d)??l:l},Y=l=>{const d=H(l);return d?p(d)??!1:!1},{contains:J}=j.useFilter({sensitivity:"base"}),Q=t.computed(()=>{const l=d=>d==null?void 0:d.map(y=>{const I=V(y),_=h(y),D=L(y),F=v(y),W=!o.searchModel.value||I&&J(I,o.searchModel.value),f=G(y),E=!o.props.tree||_;if(f&&E){const x=l(f);if(x!=null&&x.length||W)return{groupLabel:F,title:I,key:_,disabled:D,children:x,_option:y}}return W&&E?{title:I,key:_,disabled:D,_option:y}:null}).filter(Boolean);if(o.props.options)return l(o.props.options)}),{getDisabled:ae,getStatus:ee,getSize:Z}=xe.useFormInput({getDisabled:()=>o.props.disabled,getSize:()=>o.props.size,getStatus:()=>o.props.status}),se=t.computed(()=>{switch(Z.value){case"sm":return"xsm";case"lg":return"md";case"md":default:return"sm"}}),{inputBindings:k,rootBindings:K}=xe.UseInputDataStates({getDisabled:()=>ae.value}),R=t.ref(),N=()=>{var l,d,y,I,_,D,F;e.open.value&&e.inputElement.value&&(o.props.headerSearch&&((l=R.value)!=null&&l.input)?document.activeElement!==((d=R.value)==null?void 0:d.input)&&((_=(I=(y=R.value)==null?void 0:y.input)==null?void 0:I.focus)==null||_.call(I)):document.activeElement!==e.inputElement.value&&((F=(D=e.inputElement.value)==null?void 0:D.focus)==null||F.call(D)))},$=l=>{e.modelValue.value=l,o.emit("update:modelValue",l)},ne=l=>l===void 0?!1:Array.isArray(e.modelValue.value)?!!(l&&e.modelValue.value.includes(l)):e.modelValue.value===l;Ee({...o,getOptionValue:h,getOptionLabel:V,getOptionSingle:p,getOptionClear:O,getOptionNoCheckbox:m,getOptionDescription:B,getOptionDisabled:L,getOptionIcon:r,getOptionByValue:H,isItemSelected:ne,getLabelByValue:X,getSingleByValue:Y,focusOnInput:N,setModelValue:$,headerInputElement:R,getDisabled:ae,getStatus:ee,getSize:Z,getTagSize:se,comboboxInputBinding:k,comboboxTriggerBinding:K,...e,modelValue:e.modelValue}),t.watch(()=>[o.props.clearOnChangeMultiple,o.props.multiple],()=>{o.props.clearOnChangeMultiple&&$(void 0)});const de=t.computed(()=>{const l=o.props.scrollContainerProps??{};return{...l,areaCls:[i.getBemElement(w,"scroll_area"),l==null?void 0:l.class,l==null?void 0:l.areaCls]}}),le=i.getBemElement(w,"popup"),ie=ve.cva(le,{variants:{size:i.generateVariantClassList(ye,le)}}),te=l=>{if(Number(l)>0)return`${l}px`;if(typeof l=="string")return l},ge=t.computed(()=>te(o.props.popupWidth)),ue=t.computed(()=>te(o.props.popupHeight)),_e=t.computed(()=>te(o.props.minWidth)),be=t.computed(()=>({type:Z.value==="sm"?"simple":"advance",...a.omit(o.props.emptyProps??{},"class")})),Ie=t.computed(()=>a.omit(o.props.skeletonProps??{},"class")),{selectValues:Te}=Je({getValue:l=>l==null?void 0:l.key,getChildren:l=>l==null?void 0:l.children,getModel:()=>a.cloneDeep(e.modelValue.value),getData:()=>a.cloneDeep(Q.value??[])});return()=>{var F,W;const l=f=>t.h(Se,{option:f},{trailing:n.optionTrailing,leading:n.optionLeading}),d=[];let y;if(o.props.tree){const E=b.isArray(e.modelValue.value)?e.modelValue.value:e.modelValue.value?[e.modelValue.value]:[];y=t.h(we._sfc_main,{data:Q.value??[],selectable:!0,checkbox:o.props.multiple&&o.props.checkbox,multiple:o.props.multiple,defaultExpandAll:!0,syncCheckboxAndSelect:o.props.multiple,showLine:!0,modelValue:E,checkedKeys:E,onExpand:N,onSelect:(x,M,z)=>{if(o.props.multiple){const U=b.isArray(z)?z:[z];$(Te(U,M))}else $(z)},class:"w-full"},{title:x=>l(x._option)}),d.push(y)}else{let f=!1;const E=[];if((Q.value??[]).forEach(x=>{var M;if((M=x.children)!=null&&M.length){const z=[];x.children.forEach(U=>{const re=l(U._option);ne(h(U._option))&&o.props.sortSelectedItems?E.push(re):z.push(re)}),z.length&&((f||d.length)&&(d.push(t.h(fe._sfc_main)),f=!1),x.groupLabel&&d.push(t.h(Ze,{class:o.props.labelCls},()=>x.groupLabel)),d.push(...z),f=!0)}else{const z=l(x._option);ne(h(x._option))&&o.props.sortSelectedItems?E.push(z):(f&&(d.push(t.h(fe._sfc_main)),f=!1),d.push(z))}}),o.props.sortSelectedItems&&E.length){const x=!!d.length;d.splice(0,0,...E),x&&d.splice(E.length,0,t.h(fe._sfc_main))}}const I=a.flattenChildrenByType(y?[y]:d,Se).filter(f=>{var E;return b.isObject(f==null?void 0:f.props)&&((E=f==null?void 0:f.props)==null?void 0:E.option)}),_=!!(o.props.tree&&((F=Q.value)!=null&&F.length)||I!=null&&I.length),D=()=>{var E,x;const f=[];if(_||o.props.loading){const M=[];if(_&&M.push(...d),o.props.loading){const z=(E=n.loading)==null?void 0:E.call(n,{});if(!a.isEmptyElement(z))M.push(z);else{const U=new Array(_?2:o.props.loadingRowCount).fill(1);M.push(...U.map(()=>t.h(ze._sfc_main,{size:Z.value,class:i.normCls(i.getBemElement(w,"skeleton"),o.props.skeletonCls),...Ie.value})))}}f.push(t.h("div",{class:i.normCls(i.getBemElement(w,"options"),o.props.optionsCls)},M))}else if(!_){const M=(x=n.empty)==null?void 0:x.call(n,be.value);a.isEmptyElement(M)?f.push(t.h(Le._sfc_main,{class:i.normCls(i.getBemElement(w,"empty"),o.props.emptyCls),...be.value},{title:n.emptyTitle,description:n.emptyDescription,actions:n.emptyActions,image:n.emptyImage})):f.push(M)}return o.props.lazyLoading&&f.push(t.h("div",{class:i.getBemElement(w,"lazy_loading")},t.h("div",{class:i.getBemElement(w,"lazy_loading_trigger"),ref:g}))),f};return[o.props.noTrigger?null:t.h(Xe,{ref:c,...o.attrs,style:{...((W=o.attrs)==null?void 0:W.style)??{},"--ptc-combobox-trigger-min-w":_e.value}},{trigger:n.trigger,triggerTrailing:n.triggerTrailing}),t.h(j.ComboboxPortal,P.value,()=>t.h(j.ComboboxContent,{...A.value,vShow:e.open.value,class:i.normCls(ie(o.props),o.props.popupCls),style:{zIndex:o.props.zIndex,"--ptc-combobox-popup-width":o.props.samePopupWidth?void 0:ge.value,"--ptc-combobox-popup-height":ue.value,"--ptc-combobox-trigger-min-w":_e.value},onClick:N},()=>{var z,U,re,Ce;const f=[],E=(U=n.header)==null?void 0:U.call(n,{isEmpty:!((z=Q.value)!=null&&z.length),search:o.searchModel.value}),x=!a.isEmptyElement(E);if(o.props.headerSearch||x){const me=[];x&&me.push(E),o.props.headerSearch&&me.push(t.h(ke)),f.push(t.h("div",{class:i.getBemElement(w,"header")},me))}f.push(t.h(Me._sfc_main,de.value,D));const M=(Ce=n.footer)==null?void 0:Ce.call(n,{isEmpty:!((re=Q.value)!=null&&re.length),search:o.searchModel.value});return a.isEmptyElement(M)||f.push(t.h("div",{class:i.getBemElement(w,"footer")},M)),f}))]}}}),tt=t.defineComponent({...oe.getComponentOptions("Combobox"),__name:"Combobox",props:{size:{default:"md"},status:{},multiple:{type:Boolean,default:void 0},noLastValueOnPlaceholder:{type:Boolean},showLabelValueOnHeaderSearch:{type:Boolean},zIndex:{},checkbox:{type:Boolean,default:!0},tagRenderMode:{default:"chip"},getTagProps:{},tree:{type:Boolean},contentFit:{type:Boolean},wrapped:{type:Boolean},sortSelectedItems:{type:Boolean},noTrailing:{type:Boolean},leadingIcon:{},trailingIcon:{default:"tabler:chevron-down"},selectedItemIconAsTrailingIcon:{type:Boolean,default:!0},maxCount:{},to:{},placeholder:{},indicatorIcon:{default:"tabler:check"},options:{},getDisabled:{},getLabel:{},getDescription:{},getValue:{},getNoCheckbox:{},getSingle:{},getClear:{},getGroupOptions:{},getGroupLabel:{},getIcon:{},placement:{default:"bottom-start"},reversePlacementOnDir:{},loading:{type:Boolean},skeletonProps:{},loadingRowCount:{default:10},lazyLoading:{type:Boolean},bordered:{type:Boolean,default:!0},clearOnChangeMultiple:{type:Boolean,default:!0},triggerCls:{},triggerLeadingCls:{},triggerContentCls:{},triggerContentPlaceholderCls:{},triggerContentValueCls:{},triggerTrailingCls:{},itemLeadingCls:{},optionCls:{},tagCls:{},popupCls:{},labelCls:{},optionsCls:{},optionTextCls:{},optionContentCls:{},emptyCls:{},skeletonCls:{},scrollContainerProps:{},emptyProps:{},samePopupWidth:{type:Boolean,default:!0},popupHeight:{default:384},popupWidth:{},minWidth:{},headerSearch:{type:Boolean},search:{},noTrigger:{type:Boolean},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},resetSearchTermOnBlur:{type:Boolean,default:!0},resetSearchTermOnSelect:{type:Boolean,default:!0},modelValue:{},defaultValue:{},dir:{},disabled:{type:Boolean,default:void 0},highlightOnHover:{type:Boolean},by:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},reference:{},forceMount:{type:Boolean,default:void 0},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean,default:void 0},collisionBoundary:{},collisionPadding:{default:4},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean,default:void 0},positionStrategy:{default:"fixed"},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean,default:void 0},prioritizePosition:{type:Boolean,default:void 0},disableOutsidePointerEvents:{type:Boolean},defer:{type:Boolean}},emits:["update:search","select","update:modelValue","highlight","update:open","escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(u,{emit:n}){const o=u,e=n,g=j.useEmitAsProps(e),c=t.computed(()=>a.omitBy({...a.pick(o,"open","defaultOpen","defaultValue","modelValue","by","dir","multiple","disabled"),...a.pick(g,"onUpdate:modelValue","onUpdate:open"),ignoreFilter:!0},a.isUndefined)),P=a.useVModel(o,"search",e,{passive:o.search===void 0});t.watch(()=>o.open,C=>{C||(P.value=void 0)});const T=t.useSlots(),S=t.useAttrs();return $e({attrs:S,props:o,emit:e,searchModel:P,emitsAsProps:g}),(C,q)=>(t.openBlock(),t.createBlock(t.unref(j.ComboboxRoot),t.mergeProps(c.value,{class:t.unref(w)}),{default:t.withCtx(()=>[t.createVNode(t.unref(et),null,t.createSlots({_:2},[t.renderList(Object.keys(T),A=>({name:A,fn:t.withCtx(s=>[t.renderSlot(C.$slots,A,t.normalizeProps(t.guardReactiveProps(s)))])}))]),1024)]),_:3},16,["class"]))}});exports.ComboboxSizes=ye;exports.ComboboxStatuses=Pe;exports._sfc_main=tt;exports.injectComboboxContext=ce;exports.provideComboboxContext=Ee;
1
+ "use strict";const t=require("vue"),j=require("reka-ui"),a=require("./Icon.vue_vue_type_style_index_0_lang-CPuN4R-k.js"),oe=require("./options-CY2uxp5A.js"),i=require("@pantograph/utils"),b=require("./index-BmcHqJPl.js"),ve=require("class-variance-authority"),Le=require("./Empty.vue_vue_type_style_index_0_lang-CLG9v3ny.js"),ze=require("./Skeleton.vue_vue_type_style_index_0_lang-vYeWc1nI.js"),fe=require("./Divider.vue_vue_type_style_index_0_lang-B1VnMpBg.js"),xe=require("./useInputDataStates-CXaVG_o2.js"),De=require("./useLazyLoading-H6VG5aE-.js"),Ve=require("./Popover.vue_vue_type_style_index_0_lang-qJ0psPTx.js"),Me=require("./ScrollContainer.vue_vue_type_style_index_0_lang-BLFtmUwR.js"),we=require("./Tree.vue_vue_type_style_index_0_lang-ZoSOcaY2.js"),Be=require("./uniq-DA_VCwGV.js"),qe=require("./Chip.vue_vue_type_style_index_0_lang-BLjUJgbj.js"),Ae=require("./ChipGroup.vue_vue_type_style_index_0_lang-vXOtvFCA.js"),he=require("./Avatar.vue_vue_type_style_index_0_lang-YkXWR99l.js"),Ne=require("./GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DAXoXPPu.js"),Oe=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-EviuZ52W.js"),Ke=require("./Input.vue_vue_type_style_index_0_lang-DEQgofJ1.js"),Re=require("@vueuse/core"),Fe=require("lodash-es"),We=require("./MenuItem.vue_vue_type_style_index_0_lang-fYybuhKO.js");require("@iconify/vue");const Ge=require("./Checkbox.vue_vue_type_style_index_0_lang-D_UcZD7p.js");require("@pantograph/tokens");const[ce,Ee]=j.createContext("Combobox"),[je,$e]=j.createContext("_Combobox"),w=i.getBemBlock("combobox");var Ue=1/0;function He(u){var n=u==null?0:u.length;return n?a.baseFlatten(u,Ue):[]}const pe=u=>a.isNumber(u)||b.isString(u);function Ye({getValue:u,arr:n,getChildren:o}){const e=[],g=(c,P)=>{c.forEach(T=>{const S=u(T);if(pe(S)){e.push({...T,_parentKeys:P,_key:S});const C=o(T);C!=null&&C.length&&g(C,[...P??[],S])}})};return g(n),e}const Je=({getData:u,getModel:n,getValue:o,getChildren:e})=>{const g=t.computed(()=>Ye({arr:t.unref(u()),getChildren:e,getValue:o})),c=(s,h=!1)=>{const m=o(s);return g.value.filter(p=>{var O;if(h){const V=a.last(p._parentKeys??[]);return V&&V===m}return(O=p._parentKeys)==null?void 0:O.includes(m)})},P=s=>{if(s&&b.isArray(s))return a.cloneDeep(s);const h=t.unref(n());return h&&b.isArray(h)?a.cloneDeep(h):[]},T=(s,h)=>{const m=P(h),p=c(s);if(p!=null&&p.length)return p.some(O=>{var r;const V=O._key;return V&&((r=m==null?void 0:m.includes)==null?void 0:r.call(m,V))})},S=(s,h)=>{const m=P(h),p=c(s);if(p!=null&&p.length)return p.every(O=>{var r;const V=O._key;return V&&((r=m==null?void 0:m.includes)==null?void 0:r.call(m,V))})},C=(s,h)=>{const m=P(h),p=c(s),O=o(s);return p!=null&&p.length?S(s)?!0:T(s)?"intermediate":!1:m.includes(O)},q=s=>pe(s)?g.value.find(h=>h._key===s):void 0;return{flattenData:g,getNodeChildren:c,isSomeChildrenSelected:T,isAllChildrenSelected:S,isSelected:C,selectValues:(s,h)=>{if(s.length){let m=P();const p=s.filter(pe);h?m.push(...p):m=m.filter(v=>!p.includes(v));const O=m.map(q).filter(v=>v&&v._parentKeys),r=Be.uniq(He(O.map(v=>v._parentKeys))).filter(pe).map(q).filter(Boolean),B=[],L=[];return r.forEach(v=>{const G=o(v);S(v,m)?B.push(G):L.push(G)}),m.push(...B),Be.uniq(m.filter(v=>!L.includes(v)))}}}},ye=["sm","md","lg"],Pe=["error","warning","success"],Qe={key:1},ke=t.defineComponent({...oe.getComponentOptions("ComboboxInput"),__name:"ComboboxInput",setup(u){const n=ce();Re.whenever(()=>n.open.value&&n.headerInputElement.value,()=>{n.headerInputElement.value&&n.open.value&&n.focusOnInput()});const o=t.computed(()=>!a.isEmpty(n.modelValue.value)),e=t.computed(()=>{if(o.value){if(n.props.multiple&&b.isArray(n.modelValue.value)&&!n.props.noLastValueOnPlaceholder)return n.getLabelByValue(Fe.last(n.modelValue.value));if(!n.props.multiple&&!b.isArray(n.modelValue.value))return n.getLabelByValue(n.modelValue.value)}return n.props.placeholder??""}),g=T=>{if(T.key==="Backspace"&&n.props.multiple&&b.isArray(n.modelValue.value)&&a.isEmpty(n.searchModel.value)&&(n.setModelValue(n.modelValue.value.slice(0,-1)),a.isEmpty(n.modelValue.value))){const S=setTimeout(()=>{n.focusOnInput(),clearTimeout(S)},2)}},c=i.getBemElement(w,"input"),P=ve.cva(c,{variants:{valuePlaceholder:i.generateVariantClassList("value-placeholder",c)}});return(T,S)=>(t.openBlock(),t.createBlock(t.unref(j.ComboboxInput),t.mergeProps(t.unref(n).comboboxInputBinding.value,{disabled:t.unref(n).getDisabled.value,placeholder:e.value,"as-child":"",modelValue:t.unref(n).searchModel.value,"onUpdate:modelValue":S[0]||(S[0]=C=>t.unref(n).searchModel.value=C),onKeydown:g,class:t.unref(P)({valuePlaceholder:o.value}),displayValue:()=>""}),{default:t.withCtx(()=>[t.unref(n).props.headerSearch?(t.openBlock(),t.createBlock(Ke._sfc_main,{key:0,ref:t.unref(n).headerInputElement,placeholder:t.unref(n).props.placeholder},{leading:t.withCtx(({iconSize:C})=>[t.createVNode(a._sfc_main$3,{size:C,icon:"tabler:search",flipOnDir:"rtl"},null,8,["size"])]),_:1},8,["placeholder"])):(t.openBlock(),t.createElementBlock("input",Qe))]),_:1},16,["disabled","placeholder","modelValue","class"]))}}),Xe=t.defineComponent({name:oe.getComponentName("ComboboxTrigger"),props:{},setup(u,{slots:n,attrs:o}){const e=ce(),g=({value:r},B)=>{if(B.stopPropagation(),r&&b.isArray(e.modelValue.value)&&!e.getDisabled.value){const L=e.modelValue.value.filter(v=>v!==r);e.setModelValue(L)}},c=i.getBemElement(w,"trigger"),P=ve.cva(c,{variants:{size:i.generateVariantClassList(ye,c),headerSearch:i.generateVariantClassList("header-search",c),status:i.generateVariantClassList(Pe,c),bordered:i.generateVariantClassList("bordered",c),multiple:i.generateVariantClassList("multiple",c),contentFit:i.generateVariantClassList("content-fit",c),wrapped:i.generateVariantClassList("wrapped",c),filled:i.generateVariantClassList("filled",c)}}),T=t.computed(()=>{switch(e.getSize.value){case"sm":return"2xsm";case"md":default:return"xsm"}}),S=t.computed(()=>{if(!e.props.multiple&&b.isString(e.modelValue.value)&&!a.isEmpty(e.modelValue.value))return e.getOptionByValue(e.modelValue.value)}),C=(r=S.value)=>{if(e.props.selectedItemIconAsTrailingIcon&&b.isObject(r)&&"icon"in r)return r.icon},q=t.computed(()=>C()),A=t.computed(()=>{if(!e.props.noTrailing)return e.props.trailingIcon}),s=t.computed(()=>{var L,v;const r=a.cloneDeep(e.modelValue.value),B=b.isArray(e.modelValue.value);return{modelValue:r,open:a.cloneDeep(e.open.value),option:B?void 0:e.getOptionByValue(e.modelValue.value),options:B?(v=(L=e.modelValue.value).map)==null?void 0:v.call(L,e.getOptionByValue).filter(Boolean):void 0}}),h=()=>{e.onOpenChange(!e.open.value)},m=r=>{e.props.headerSearch},p=t.computed(()=>({disabled:e.getDisabled.value,tabindex:e.getDisabled.value||!e.props.headerSearch?-1:0,reference:e.props.reference,"data-disabled":e.getDisabled.value?"":void 0,"aria-disabled":e.getDisabled.value??void 0,"aria-label":"Show popup","aria-haspopup":"listbox","aria-expanded":e.open.value,"aria-controls":e.contentId,"data-state":e.open.value?"open":"closed",class:i.normCls(P({size:e.getSize.value,status:e.getStatus.value==="success"&&a.isEmpty(e.modelValue.value)?void 0:e.getStatus.value,bordered:e.props.bordered,multiple:e.props.multiple,contentFit:e.props.contentFit,wrapped:e.props.wrapped,filled:!a.isEmpty(e.modelValue.value),headerSearch:e.props.headerSearch}),e.props.triggerCls),...o})),O=(r,B=T.value)=>t.h(a._sfc_main$3,{icon:r,size:B}),V=()=>{var L;let r;const B=(L=n.triggerTrailing)==null?void 0:L.call(n,s.value);if(a.isEmptyElement(B)?A.value&&(r=O(A.value)):r=B,r)return t.h("div",{class:i.normCls(i.getBemElement(c,"trailing"),e.props.triggerTrailingCls)},r)};return()=>{var X;const r=(X=n.trigger)==null?void 0:X.call(n,s.value),B=!a.isEmptyElement(r),v=(()=>{if(!B)return!1;const Y=a.filterEmpty(r)??null,J=Y.length===1?Y[0]:Y;return J?a.isValidElement(J)&&!a.isFragment(J):!0})(),{class:G,...H}=p.value;return t.h(j.ComboboxAnchor,{...H,class:B?e.props.triggerCls:G,...e.comboboxTriggerBinding.value,asChild:v,as:v?"template":"button",key:String(v),onKeyUp:m,onClick:h},()=>{if(B)return r;const Y=k=>{var R,N;const K=e.getOptionByValue(k)??{value:k};return t.h(he._sfc_main,{...K?((N=(R=e.props).getTagProps)==null?void 0:N.call(R,K))??{}:{},size:e.getTagSize.value})},J=k=>{var R,N;const K=e.getOptionByValue(k)??{value:k};return t.h(Oe._sfc_main,{...K?((N=(R=e.props).getTagProps)==null?void 0:N.call(R,K))??{}:{},size:e.getTagSize.value})},Q=()=>{if(!e.props.multiple&&!e.props.multiple&&!b.isArray(e.modelValue.value)&&e.modelValue.value&&(e.props.tagRenderMode&&["avatar","go"].includes(e.props.tagRenderMode)||q.value||e.props.leadingIcon)){let k;if(e.props.tagRenderMode==="avatar"?k=Y(e.modelValue.value):e.props.tagRenderMode==="go"?k=J(e.modelValue.value):q.value?k=O(q.value):e.props.leadingIcon&&(k=O(e.props.leadingIcon)),!a.isEmptyElement(k))return t.h("div",{class:i.normCls(i.getBemElement(c,"leading"),e.props.triggerLeadingCls)},k)}},ae=()=>{const k=[],K=[i.getBemElement(c,"tags"),e.props.triggerContentCls,e.props.triggerContentValueCls],N=(()=>{if(e.props.multiple&&b.isArray(e.modelValue.value)){if(e.props.tagRenderMode==="avatar")return t.h(he._sfc_main$1,{maxCount:e.props.maxCount,size:e.getTagSize.value,closeable:!e.getDisabled.value,noPopover:!0,noWrap:!e.props.wrapped,class:K},()=>e.modelValue.value.map(Y));if(e.props.tagRenderMode==="go")return t.h(Ne._sfc_main,{maxCount:e.props.maxCount,size:e.getTagSize.value,closeable:!e.getDisabled.value,noPopover:!0,noWrap:!e.props.wrapped,class:K},()=>e.modelValue.value.map(J));if(e.props.tagRenderMode==="chip")return t.h(Ae._sfc_main,{maxCount:e.props.maxCount,size:e.getTagSize.value,color:"primary",closeable:!e.getDisabled.value,noPopover:!0,noWrap:!e.props.wrapped,class:K,onClose:g},()=>e.modelValue.value.map($=>{var ie,te;const ne=()=>e.getLabelByValue($),de=({size:ge})=>{const ue=C(e.getOptionByValue($))??e.props.leadingIcon;return ue?O(ue,ge):null},le=e.getOptionByValue($);return t.h(qe._sfc_main,{...le?((te=(ie=e.props).getTagProps)==null?void 0:te.call(ie,le))??{}:{},value:$,class:i.normCls(i.getBemElement(c,"tag"),e.props.tagCls),closeIconCls:i.getBemElement(c,"tag__close")},{text:ne,leading:de})}))}})();return N&&k.push(N),e.props.headerSearch?e.props.showLabelValueOnHeaderSearch&&!e.props.multiple&&b.isString(e.modelValue.value)&&k.push(t.h("div",{class:i.getBemElement(c,"content__value")},e.getLabelByValue(e.modelValue.value))):k.push(t.h(ke)),t.h("div",{class:i.getBemElement(c,"content")},k)},ee=[],Z=Q();a.isEmptyElement(Z)||ee.push(Z),ee.push(ae());const se=V();return a.isEmptyElement(se)||ee.push(se),ee})}}}),Ze=t.defineComponent({...oe.getComponentOptions("ComboboxLabel"),__name:"ComboboxLabel",setup(u){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(i.getBemElement)(t.unref(w),"label"))},[t.renderSlot(n.$slots,"default")],2))}}),Se=t.defineComponent({name:oe.getComponentName("ComboboxOption"),props:{option:{type:[Object,String],required:!0}},slots:Object,setup(u,{slots:n}){const o=ce(),e=t.computed(()=>{switch(o.getSize.value){case"sm":return"2xsm";case"lg":return"sm";case"md":default:return"xsm"}}),g=t.computed(()=>o.getOptionValue(u.option)),c=t.computed(()=>o.getOptionNoCheckbox(u.option)),P=t.computed(()=>o.getOptionClear(u.option)),T=t.computed(()=>o.getOptionSingle(u.option)),S=t.computed(()=>o.getOptionLabel(u.option)),C=t.computed(()=>o.getOptionIcon(u.option)),q=t.computed(()=>o.props.tree?void 0:o.getOptionDescription(u.option)),A=t.computed(()=>o.getOptionDisabled(u.option)),s=t.computed(()=>o.isItemSelected(g.value)),h=i.getBemElement(w,"option"),m=()=>{if(!(o.props.tree||!g.value||A.value))if(o.props.multiple)if(P.value)o.setModelValue([]),o.emit("select",void 0,!1);else if(T.value)o.setModelValue([g.value]),o.emit("select",g.value,!0,u.option);else{let p=b.isArray(o.modelValue.value)?o.modelValue.value:[];const O=p.includes(g.value);p.length===1&&o.getSingleByValue(p[0])&&g.value!==p[0]&&(p=[]),O?(o.setModelValue(p.filter(V=>V!==g.value)),o.emit("select",g.value,!0,u.option)):(o.setModelValue([...p,g.value]),o.emit("select",g.value,!1,u.option))}else P.value?(o.setModelValue(void 0),o.emit("select",void 0,!1)):(o.setModelValue(g.value),o.emit("select",g.value,!0,u.option))};if(!u.option)throw new Error("option is required");return()=>{const p=V=>{var L,v,G,H,X;const r=[];!o.props.tree&&o.props.multiple&&o.props.checkbox&&!c.value&&r.push(t.h(Ge._sfc_main,{modelValue:s.value,size:V.checkboxSize,disabled:A.value}));const B=(L=n.leading)==null?void 0:L.call(n,{option:u.option});return a.isEmptyElement(B)?o.props.tagRenderMode==="avatar"?r.push(t.h(he._sfc_main,{...((G=(v=o.props).getTagProps)==null?void 0:G.call(v,u.option))??{},size:o.getTagSize.value})):o.props.tagRenderMode==="go"?r.push(t.h(Oe._sfc_main,{...((X=(H=o.props).getTagProps)==null?void 0:X.call(H,u.option))??{},size:o.getTagSize.value})):C.value&&r.push(t.h(a._sfc_main$3,{icon:C.value,size:e.value})):r.push(B),a.isEmptyElement(r)?null:r};return(()=>{const V=!!q.value;return t.h(We._sfc_main$1,{class:h,description:q.value,title:S.value,key:g.value,selected:s.value,unFocusable:!0,leadingCenter:!V,size:o.getSize.value,disabled:A.value,onClick:m},{leading:p,trailing:()=>{var r;return(r=n.trailing)==null?void 0:r.call(n,{option:u.option})}})})()}}}),et=t.defineComponent({name:oe.getComponentName("ComboboxWrapper"),setup(u,{slots:n}){const o=je(),e=j.injectComboboxRootContext(),g=t.ref();De.useLazyLoading({target:g});const c=t.ref(),P=Ve.getPopoverPortalProps({triggerRef:c,props:o.props}),{getFlipOnDir:T,getDir:S}=b.useConfig(),C=T("reversePlacementOnDir"),q=S(),A=Ve.getPopoverContentProps({props:o.props,flip:C,emitsAsProps:o.emitsAsProps,_dir:q,controlAutoFocus:!1,extraPropNames:["bodyLock","position"]}),s=({key:l,getterKey:d,defaultValue:y,noReturnOption:I})=>_=>{const D=b.isFunction(y)?y(_):y;if(b.isObject(_)){const F=_[l]??D,W=d&&o.props[d];if(W){if(b.isString(W))return _[W]??F;if(b.isFunction(W))return W(_)??F}return F}return b.isString(_)&&!I?_??D:D},h=s({getterKey:"getValue",key:"value"}),m=s({getterKey:"getNoCheckbox",key:"noCheckbox"}),p=s({getterKey:"getSingle",key:"single",noReturnOption:!0}),O=s({getterKey:"getClear",key:"clear",noReturnOption:!0}),V=s({getterKey:"getLabel",key:"label",defaultValue:h}),r=s({getterKey:"getIcon",key:"icon",noReturnOption:!0}),B=s({getterKey:"getDescription",key:"description",noReturnOption:!0}),L=s({getterKey:"getDisabled",key:"disabled",defaultValue:!1,noReturnOption:!0}),v=s({getterKey:"getGroupLabel",key:"label",noReturnOption:!0}),G=s({getterKey:"getGroupOptions",key:"options",noReturnOption:!0}),H=l=>{const d=y=>{if(y!=null&&y.length&&l)for(const I of y){if(h(I)===l)return I;const _=G(I);if(_!=null&&_.length){const D=d(_);if(D)return D}}};return d(o.props.options)},X=l=>{const d=H(l);return d?V(d)??l:l},Y=l=>{const d=H(l);return d?p(d)??!1:!1},{contains:J}=j.useFilter({sensitivity:"base"}),Q=t.computed(()=>{const l=d=>d==null?void 0:d.map(y=>{const I=V(y),_=h(y),D=L(y),F=v(y),W=!o.searchModel.value||I&&J(I,o.searchModel.value),f=G(y),E=!o.props.tree||_;if(f&&E){const x=l(f);if(x!=null&&x.length||W)return{groupLabel:F,title:I,key:_,disabled:D,children:x,_option:y}}return W&&E?{title:I,key:_,disabled:D,_option:y}:null}).filter(Boolean);if(o.props.options)return l(o.props.options)}),{getDisabled:ae,getStatus:ee,getSize:Z}=xe.useFormInput({getDisabled:()=>o.props.disabled,getSize:()=>o.props.size,getStatus:()=>o.props.status}),se=t.computed(()=>{switch(Z.value){case"sm":return"xsm";case"lg":return"md";case"md":default:return"sm"}}),{inputBindings:k,rootBindings:K}=xe.UseInputDataStates({getDisabled:()=>ae.value}),R=t.ref(),N=()=>{var l,d,y,I,_,D,F;e.open.value&&e.inputElement.value&&(o.props.headerSearch&&((l=R.value)!=null&&l.input)?document.activeElement!==((d=R.value)==null?void 0:d.input)&&((_=(I=(y=R.value)==null?void 0:y.input)==null?void 0:I.focus)==null||_.call(I)):document.activeElement!==e.inputElement.value&&((F=(D=e.inputElement.value)==null?void 0:D.focus)==null||F.call(D)))},$=l=>{e.modelValue.value=l,o.emit("update:modelValue",l)},ne=l=>l===void 0?!1:Array.isArray(e.modelValue.value)?!!(l&&e.modelValue.value.includes(l)):e.modelValue.value===l;Ee({...o,getOptionValue:h,getOptionLabel:V,getOptionSingle:p,getOptionClear:O,getOptionNoCheckbox:m,getOptionDescription:B,getOptionDisabled:L,getOptionIcon:r,getOptionByValue:H,isItemSelected:ne,getLabelByValue:X,getSingleByValue:Y,focusOnInput:N,setModelValue:$,headerInputElement:R,getDisabled:ae,getStatus:ee,getSize:Z,getTagSize:se,comboboxInputBinding:k,comboboxTriggerBinding:K,...e,modelValue:e.modelValue}),t.watch(()=>[o.props.clearOnChangeMultiple,o.props.multiple],()=>{o.props.clearOnChangeMultiple&&$(void 0)});const de=t.computed(()=>{const l=o.props.scrollContainerProps??{};return{...l,areaCls:[i.getBemElement(w,"scroll_area"),l==null?void 0:l.class,l==null?void 0:l.areaCls]}}),le=i.getBemElement(w,"popup"),ie=ve.cva(le,{variants:{size:i.generateVariantClassList(ye,le)}}),te=l=>{if(a.isNumber(l))return`${l}px`;if(typeof l=="string")return l},ge=t.computed(()=>te(o.props.popupWidth)),ue=t.computed(()=>te(o.props.popupHeight)),_e=t.computed(()=>te(o.props.minWidth)),be=t.computed(()=>({type:Z.value==="sm"?"simple":"advance",...a.omit(o.props.emptyProps??{},"class")})),Ie=t.computed(()=>a.omit(o.props.skeletonProps??{},"class")),{selectValues:Te}=Je({getValue:l=>l==null?void 0:l.key,getChildren:l=>l==null?void 0:l.children,getModel:()=>a.cloneDeep(e.modelValue.value),getData:()=>a.cloneDeep(Q.value??[])});return()=>{var F,W;const l=f=>t.h(Se,{option:f},{trailing:n.optionTrailing,leading:n.optionLeading}),d=[];let y;if(o.props.tree){const E=b.isArray(e.modelValue.value)?e.modelValue.value:e.modelValue.value?[e.modelValue.value]:[];y=t.h(we._sfc_main,{data:Q.value??[],selectable:!0,checkbox:o.props.multiple&&o.props.checkbox,multiple:o.props.multiple,defaultExpandAll:!0,syncCheckboxAndSelect:o.props.multiple,showLine:!0,modelValue:E,checkedKeys:E,onExpand:N,onSelect:(x,M,z)=>{if(o.props.multiple){const U=b.isArray(z)?z:[z];$(Te(U,M))}else $(z)},class:"w-full"},{title:x=>l(x._option)}),d.push(y)}else{let f=!1;const E=[];if((Q.value??[]).forEach(x=>{var M;if((M=x.children)!=null&&M.length){const z=[];x.children.forEach(U=>{const re=l(U._option);ne(h(U._option))&&o.props.sortSelectedItems?E.push(re):z.push(re)}),z.length&&((f||d.length)&&(d.push(t.h(fe._sfc_main)),f=!1),x.groupLabel&&d.push(t.h(Ze,{class:o.props.labelCls},()=>x.groupLabel)),d.push(...z),f=!0)}else{const z=l(x._option);ne(h(x._option))&&o.props.sortSelectedItems?E.push(z):(f&&(d.push(t.h(fe._sfc_main)),f=!1),d.push(z))}}),o.props.sortSelectedItems&&E.length){const x=!!d.length;d.splice(0,0,...E),x&&d.splice(E.length,0,t.h(fe._sfc_main))}}const I=a.flattenChildrenByType(y?[y]:d,Se).filter(f=>{var E;return b.isObject(f==null?void 0:f.props)&&((E=f==null?void 0:f.props)==null?void 0:E.option)}),_=!!(o.props.tree&&((F=Q.value)!=null&&F.length)||I!=null&&I.length),D=()=>{var E,x;const f=[];if(_||o.props.loading){const M=[];if(_&&M.push(...d),o.props.loading){const z=(E=n.loading)==null?void 0:E.call(n,{});if(!a.isEmptyElement(z))M.push(z);else{const U=new Array(_?2:o.props.loadingRowCount).fill(1);M.push(...U.map(()=>t.h(ze._sfc_main,{size:Z.value,class:i.normCls(i.getBemElement(w,"skeleton"),o.props.skeletonCls),...Ie.value})))}}f.push(t.h("div",{class:i.normCls(i.getBemElement(w,"options"),o.props.optionsCls)},M))}else if(!_){const M=(x=n.empty)==null?void 0:x.call(n,be.value);a.isEmptyElement(M)?f.push(t.h(Le._sfc_main,{class:i.normCls(i.getBemElement(w,"empty"),o.props.emptyCls),...be.value},{title:n.emptyTitle,description:n.emptyDescription,actions:n.emptyActions,image:n.emptyImage})):f.push(M)}return o.props.lazyLoading&&f.push(t.h("div",{class:i.getBemElement(w,"lazy_loading")},t.h("div",{class:i.getBemElement(w,"lazy_loading_trigger"),ref:g}))),f};return[o.props.noTrigger?null:t.h(Xe,{ref:c,...o.attrs,style:{...((W=o.attrs)==null?void 0:W.style)??{},"--ptc-combobox-trigger-min-w":_e.value}},{trigger:n.trigger,triggerTrailing:n.triggerTrailing}),t.h(j.ComboboxPortal,P.value,()=>t.h(j.ComboboxContent,{...A.value,vShow:e.open.value,class:i.normCls(ie(o.props),o.props.popupCls),style:{zIndex:o.props.zIndex,"--ptc-combobox-popup-width":o.props.samePopupWidth?void 0:ge.value,"--ptc-combobox-popup-height":ue.value,"--ptc-combobox-trigger-min-w":_e.value},onClick:N},()=>{var z,U,re,Ce;const f=[],E=(U=n.header)==null?void 0:U.call(n,{isEmpty:!((z=Q.value)!=null&&z.length),search:o.searchModel.value}),x=!a.isEmptyElement(E);if(o.props.headerSearch||x){const me=[];x&&me.push(E),o.props.headerSearch&&me.push(t.h(ke)),f.push(t.h("div",{class:i.getBemElement(w,"header")},me))}f.push(t.h(Me._sfc_main,de.value,D));const M=(Ce=n.footer)==null?void 0:Ce.call(n,{isEmpty:!((re=Q.value)!=null&&re.length),search:o.searchModel.value});return a.isEmptyElement(M)||f.push(t.h("div",{class:i.getBemElement(w,"footer")},M)),f}))]}}}),tt=t.defineComponent({...oe.getComponentOptions("Combobox"),__name:"Combobox",props:{size:{default:"md"},status:{},multiple:{type:Boolean,default:void 0},noLastValueOnPlaceholder:{type:Boolean},showLabelValueOnHeaderSearch:{type:Boolean},zIndex:{},checkbox:{type:Boolean,default:!0},tagRenderMode:{default:"chip"},getTagProps:{},tree:{type:Boolean},contentFit:{type:Boolean},wrapped:{type:Boolean},sortSelectedItems:{type:Boolean},noTrailing:{type:Boolean},leadingIcon:{},trailingIcon:{default:"tabler:chevron-down"},selectedItemIconAsTrailingIcon:{type:Boolean,default:!0},maxCount:{},to:{},placeholder:{},indicatorIcon:{default:"tabler:check"},options:{},getDisabled:{},getLabel:{},getDescription:{},getValue:{},getNoCheckbox:{},getSingle:{},getClear:{},getGroupOptions:{},getGroupLabel:{},getIcon:{},placement:{default:"bottom-start"},reversePlacementOnDir:{},loading:{type:Boolean},skeletonProps:{},loadingRowCount:{default:10},lazyLoading:{type:Boolean},bordered:{type:Boolean,default:!0},clearOnChangeMultiple:{type:Boolean,default:!0},triggerCls:{},triggerLeadingCls:{},triggerContentCls:{},triggerContentPlaceholderCls:{},triggerContentValueCls:{},triggerTrailingCls:{},itemLeadingCls:{},optionCls:{},tagCls:{},popupCls:{},labelCls:{},optionsCls:{},optionTextCls:{},optionContentCls:{},emptyCls:{},skeletonCls:{},scrollContainerProps:{},emptyProps:{},samePopupWidth:{type:Boolean,default:!0},popupHeight:{default:384},popupWidth:{},minWidth:{},headerSearch:{type:Boolean},search:{},noTrigger:{type:Boolean},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},resetSearchTermOnBlur:{type:Boolean,default:!0},resetSearchTermOnSelect:{type:Boolean,default:!0},modelValue:{},defaultValue:{},dir:{},disabled:{type:Boolean,default:void 0},highlightOnHover:{type:Boolean},by:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},reference:{},forceMount:{type:Boolean,default:void 0},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean,default:void 0},collisionBoundary:{},collisionPadding:{default:4},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean,default:void 0},positionStrategy:{default:"fixed"},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean,default:void 0},prioritizePosition:{type:Boolean,default:void 0},disableOutsidePointerEvents:{type:Boolean},defer:{type:Boolean}},emits:["update:search","select","update:modelValue","highlight","update:open","escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(u,{emit:n}){const o=u,e=n,g=j.useEmitAsProps(e),c=t.computed(()=>a.omitBy({...a.pick(o,"open","defaultOpen","defaultValue","modelValue","by","dir","multiple","disabled"),...a.pick(g,"onUpdate:modelValue","onUpdate:open"),ignoreFilter:!0},a.isUndefined)),P=a.useVModel(o,"search",e,{passive:o.search===void 0});t.watch(()=>o.open,C=>{C||(P.value=void 0)});const T=t.useSlots(),S=t.useAttrs();return $e({attrs:S,props:o,emit:e,searchModel:P,emitsAsProps:g}),(C,q)=>(t.openBlock(),t.createBlock(t.unref(j.ComboboxRoot),t.mergeProps(c.value,{class:t.unref(w)}),{default:t.withCtx(()=>[t.createVNode(t.unref(et),null,t.createSlots({_:2},[t.renderList(Object.keys(T),A=>({name:A,fn:t.withCtx(s=>[t.renderSlot(C.$slots,A,t.normalizeProps(t.guardReactiveProps(s)))])}))]),1024)]),_:3},16,["class"]))}});exports.ComboboxSizes=ye;exports.ComboboxStatuses=Pe;exports._sfc_main=tt;exports.injectComboboxContext=ce;exports.provideComboboxContext=Ee;
@@ -0,0 +1,90 @@
1
+ import { AvatarProps } from '../Avatar/index.js';
2
+ import { ClassValue } from 'class-variance-authority/types';
3
+ export interface CommentReactionItem {
4
+ emoji: string;
5
+ count: number;
6
+ active?: boolean;
7
+ }
8
+ export interface CommentProps {
9
+ class?: ClassValue;
10
+ headerCls?: ClassValue;
11
+ actionsCls?: ClassValue;
12
+ bodyCls?: ClassValue;
13
+ datetimeCls?: ClassValue;
14
+ contentCls?: ClassValue;
15
+ authorCls?: ClassValue;
16
+ repliesCls?: ClassValue;
17
+ headerContentCls?: ClassValue;
18
+ reactionsCls?: ClassValue;
19
+ repliesHeaderCls?: ClassValue;
20
+ repliesTitleCls?: ClassValue;
21
+ repliesContentCls?: ClassValue;
22
+ author?: string;
23
+ avatar?: string;
24
+ content?: string;
25
+ datetime?: string;
26
+ repliesCount?: number | string;
27
+ repliesTitle?: string;
28
+ avatarProps?: AvatarProps;
29
+ open?: boolean;
30
+ hasReaction?: boolean;
31
+ hasEdit?: boolean;
32
+ hasDelete?: boolean;
33
+ hasReply?: boolean;
34
+ reactions?: CommentReactionItem[];
35
+ }
36
+ export interface CommentBaseEmits {
37
+ (event: 'openReaction', value: HTMLElement): void;
38
+ }
39
+ export interface CommentEmits extends CommentBaseEmits {
40
+ (event: 'update:open', value: boolean): void;
41
+ (event: 'openActions', value: HTMLElement): void;
42
+ (event: 'reaction', value: string): void;
43
+ (event: 'reply'): void;
44
+ }
45
+ export interface CommentSlots {
46
+ header?: (data?: object) => never;
47
+ author?: (data?: object) => never;
48
+ avatar?: (data?: object) => never;
49
+ content?: (data?: object) => never;
50
+ datetime?: (data?: object) => never;
51
+ repliesHeader?: (data?: {
52
+ open: boolean;
53
+ }) => never;
54
+ repliesTitle?: (data?: object) => never;
55
+ repliesCount?: (data?: object) => never;
56
+ replies?: (data?: object) => never;
57
+ }
58
+ export interface CommentContext {
59
+ props: CommentProps;
60
+ emit: CommentEmits;
61
+ slots: CommentSlots;
62
+ }
63
+ export declare const commentPrefix: string;
64
+ export declare const injectCommentContext: <T extends CommentContext | null | undefined = CommentContext>(fallback?: T | undefined) => T extends null ? CommentContext | null : CommentContext, provideCommentContext: (contextValue: CommentContext) => CommentContext;
65
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CommentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
66
+ "update:open": (value: boolean) => any;
67
+ openActions: (value: HTMLElement) => any;
68
+ openReaction: (value: HTMLElement) => any;
69
+ reaction: (value: string) => any;
70
+ reply: () => any;
71
+ }, string, import('vue').PublicProps, Readonly<CommentProps> & Readonly<{
72
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
73
+ onOpenActions?: ((value: HTMLElement) => any) | undefined;
74
+ onOpenReaction?: ((value: HTMLElement) => any) | undefined;
75
+ onReaction?: ((value: string) => any) | undefined;
76
+ onReply?: (() => any) | undefined;
77
+ }>, {
78
+ open: boolean;
79
+ repliesTitle: string;
80
+ hasReaction: boolean;
81
+ hasEdit: boolean;
82
+ hasDelete: boolean;
83
+ hasReply: boolean;
84
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<CommentSlots> & CommentSlots>;
85
+ export default _default;
86
+ type __VLS_WithTemplateSlots<T, S> = T & {
87
+ new (): {
88
+ $slots: S;
89
+ };
90
+ };
@@ -0,0 +1,23 @@
1
+ import { PopoverProps } from '../Popover';
2
+ export interface CommentActionProps extends PopoverProps {
3
+ hasEdit?: boolean;
4
+ hasDelete?: boolean;
5
+ editText?: string;
6
+ deleteText?: string;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<CommentActionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ delete: () => any;
10
+ "update:open": (value: string) => any;
11
+ edit: () => any;
12
+ }, string, import('vue').PublicProps, Readonly<CommentActionProps> & Readonly<{
13
+ onDelete?: (() => any) | undefined;
14
+ "onUpdate:open"?: ((value: string) => any) | undefined;
15
+ onEdit?: (() => any) | undefined;
16
+ }>, {
17
+ open: boolean;
18
+ hasEdit: boolean;
19
+ hasDelete: boolean;
20
+ editText: string;
21
+ deleteText: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,331 @@
1
+ import { UploadProps, UploadSlots } from '../Upload/types.js';
2
+ import { ClassValue } from 'class-variance-authority/types';
3
+ interface CommentEditorProps {
4
+ class?: ClassValue;
5
+ actionsCls?: ClassValue;
6
+ editorCls?: ClassValue;
7
+ footerCls?: ClassValue;
8
+ disabled?: boolean;
9
+ isEmpty?: boolean;
10
+ mentionsReference?: HTMLElement | undefined;
11
+ uploadProps: UploadProps;
12
+ maxHeight?: string | number;
13
+ }
14
+ declare function __VLS_template(): {
15
+ slots: Readonly<UploadSlots & {
16
+ default: (data?: {}) => never;
17
+ }> & UploadSlots & {
18
+ default: (data?: {}) => never;
19
+ };
20
+ refs: {
21
+ uploadRef: ({
22
+ $: import('vue').ComponentInternalInstance;
23
+ $data: {};
24
+ $props: {
25
+ readonly onDownload?: ((uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => void) | undefined;
26
+ readonly parallelUpload?: boolean | undefined;
27
+ readonly uploadOnSelect?: boolean | undefined;
28
+ readonly pausableChunked?: boolean | undefined;
29
+ readonly noTrigger?: boolean | undefined;
30
+ readonly fileList?: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[] | undefined;
31
+ readonly size?: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadSize | undefined;
32
+ readonly chunkSize?: number | undefined;
33
+ readonly listType?: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadListType | undefined;
34
+ readonly type?: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadType | undefined;
35
+ readonly go?: boolean | undefined;
36
+ readonly maxCount?: number | string | undefined;
37
+ readonly action: (config: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadActionParams) => Promise<any>;
38
+ readonly getFileIcon?: ((file: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => string) | undefined;
39
+ readonly directory?: boolean | undefined;
40
+ readonly multiple?: boolean | undefined;
41
+ readonly disabled?: boolean | undefined;
42
+ readonly accept?: string | undefined;
43
+ readonly onChange?: ((data: {
44
+ file: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile;
45
+ fileList: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[];
46
+ event: "add" | "remove" | "upload" | "failed" | "paused" | "cancel";
47
+ }) => any) | undefined;
48
+ readonly onRemove?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
49
+ readonly "onUpdate:fileList"?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]) => any) | undefined;
50
+ readonly onPreview?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
51
+ readonly onCreateRequest?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
52
+ readonly onResetRequest?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
53
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
54
+ $attrs: {
55
+ [x: string]: unknown;
56
+ };
57
+ $refs: {
58
+ [x: string]: unknown;
59
+ };
60
+ $slots: Readonly<{
61
+ [name: string]: import('vue').Slot<any> | undefined;
62
+ }>;
63
+ $root: import('vue').ComponentPublicInstance | null;
64
+ $parent: import('vue').ComponentPublicInstance | null;
65
+ $host: Element | null;
66
+ $emit: ((event: "change", data: {
67
+ file: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile;
68
+ fileList: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[];
69
+ event: "add" | "remove" | "upload" | "failed" | "paused" | "cancel";
70
+ }) => void) & ((event: "remove", value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => void) & ((event: "update:fileList", value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]) => void) & ((event: "preview", value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => void) & ((event: "createRequest", value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => void) & ((event: "resetRequest", value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => void);
71
+ $el: any;
72
+ $options: import('vue').ComponentOptionsBase<Readonly<UploadProps> & Readonly<{
73
+ onChange?: ((data: {
74
+ file: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile;
75
+ fileList: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[];
76
+ event: "add" | "remove" | "upload" | "failed" | "paused" | "cancel";
77
+ }) => any) | undefined;
78
+ onRemove?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
79
+ "onUpdate:fileList"?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]) => any) | undefined;
80
+ onPreview?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
81
+ onCreateRequest?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
82
+ onResetRequest?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
83
+ }>, {
84
+ props: UploadProps;
85
+ attrs: object;
86
+ slots: UploadSlots;
87
+ progressSize: import('vue').ComputedRef<import('../Progress/Progress.model.ts', { with: { "resolution-mode": "import" } }).ProgressSize>;
88
+ emit: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadEmits;
89
+ createRequest: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => Promise<void>;
90
+ resetRequest: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => Promise<void>;
91
+ remove: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => void;
92
+ canRunUpload: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => boolean;
93
+ addFiles: (files: File[]) => void;
94
+ fileList: Readonly<import('vue').WritableComputedRef<import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]>>;
95
+ uploadableFiles: import('vue').ComputedRef<import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]>;
96
+ goSize: import('vue').ComputedRef<"md" | "sm">;
97
+ uploadingFiles: import('vue').ComputedRef<import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]>;
98
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
99
+ change: (data: {
100
+ file: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile;
101
+ fileList: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[];
102
+ event: "add" | "remove" | "upload" | "failed" | "paused" | "cancel";
103
+ }) => any;
104
+ remove: (value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any;
105
+ "update:fileList": (value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]) => any;
106
+ preview: (value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any;
107
+ createRequest: (value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any;
108
+ resetRequest: (value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any;
109
+ }, string, {
110
+ type: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadType;
111
+ size: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadSize;
112
+ multiple: boolean;
113
+ go: boolean;
114
+ uploadOnSelect: boolean;
115
+ listType: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadListType;
116
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
117
+ beforeCreate?: (() => void) | (() => void)[];
118
+ created?: (() => void) | (() => void)[];
119
+ beforeMount?: (() => void) | (() => void)[];
120
+ mounted?: (() => void) | (() => void)[];
121
+ beforeUpdate?: (() => void) | (() => void)[];
122
+ updated?: (() => void) | (() => void)[];
123
+ activated?: (() => void) | (() => void)[];
124
+ deactivated?: (() => void) | (() => void)[];
125
+ beforeDestroy?: (() => void) | (() => void)[];
126
+ beforeUnmount?: (() => void) | (() => void)[];
127
+ destroyed?: (() => void) | (() => void)[];
128
+ unmounted?: (() => void) | (() => void)[];
129
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
130
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
131
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
132
+ };
133
+ $forceUpdate: () => void;
134
+ $nextTick: typeof import('vue').nextTick;
135
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
136
+ } & Readonly<{
137
+ type: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadType;
138
+ size: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadSize;
139
+ multiple: boolean;
140
+ go: boolean;
141
+ uploadOnSelect: boolean;
142
+ listType: import('../Upload/Upload.model.ts', { with: { "resolution-mode": "import" } }).UploadListType;
143
+ }> & Omit<Readonly<UploadProps> & Readonly<{
144
+ onChange?: ((data: {
145
+ file: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile;
146
+ fileList: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[];
147
+ event: "add" | "remove" | "upload" | "failed" | "paused" | "cancel";
148
+ }) => any) | undefined;
149
+ onRemove?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
150
+ "onUpdate:fileList"?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]) => any) | undefined;
151
+ onPreview?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
152
+ onCreateRequest?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
153
+ onResetRequest?: ((value: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => any) | undefined;
154
+ }>, "props" | "slots" | "attrs" | "emit" | "remove" | "fileList" | "createRequest" | "resetRequest" | "addFiles" | ("type" | "size" | "multiple" | "go" | "uploadOnSelect" | "listType") | "progressSize" | "canRunUpload" | "uploadableFiles" | "goSize" | "uploadingFiles"> & import('vue').ShallowUnwrapRef<{
155
+ props: UploadProps;
156
+ attrs: object;
157
+ slots: UploadSlots;
158
+ progressSize: import('vue').ComputedRef<import('../Progress/Progress.model.ts', { with: { "resolution-mode": "import" } }).ProgressSize>;
159
+ emit: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadEmits;
160
+ createRequest: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => Promise<void>;
161
+ resetRequest: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => Promise<void>;
162
+ remove: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => void;
163
+ canRunUpload: (uploadFile: import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile) => boolean;
164
+ addFiles: (files: File[]) => void;
165
+ fileList: Readonly<import('vue').WritableComputedRef<import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]>>;
166
+ uploadableFiles: import('vue').ComputedRef<import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]>;
167
+ goSize: import('vue').ComputedRef<"md" | "sm">;
168
+ uploadingFiles: import('vue').ComputedRef<import('../Upload/types.js', { with: { "resolution-mode": "import" } }).UploadFile[]>;
169
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
170
+ $slots: Readonly<UploadSlots> & UploadSlots;
171
+ }) | null;
172
+ mentionRef: ({
173
+ $: import('vue').ComponentInternalInstance;
174
+ $data: {};
175
+ $props: {
176
+ readonly class?: import('clsx').ClassValue;
177
+ readonly flipOnDir?: import('../index.ts', { with: { "resolution-mode": "import" } }).FlipOnDir | undefined;
178
+ readonly type?: import('../exports.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
179
+ readonly size?: import('../exports.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
180
+ readonly icon?: string | undefined;
181
+ readonly color?: import('../exports.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
182
+ readonly noRing?: boolean | undefined;
183
+ readonly loading?: boolean | undefined;
184
+ readonly htmlType?: "reset" | "submit" | "button" | undefined;
185
+ readonly block?: boolean | undefined;
186
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
187
+ $attrs: {
188
+ [x: string]: unknown;
189
+ };
190
+ $refs: {
191
+ [x: string]: unknown;
192
+ };
193
+ $slots: Readonly<{
194
+ [name: string]: import('vue').Slot<any> | undefined;
195
+ }>;
196
+ $root: import('vue').ComponentPublicInstance | null;
197
+ $parent: import('vue').ComponentPublicInstance | null;
198
+ $host: Element | null;
199
+ $emit: (event: string, ...args: any[]) => void;
200
+ $el: any;
201
+ $options: import('vue').ComponentOptionsBase<Readonly<Partial<Pick<import('../exports.ts', { with: { "resolution-mode": "import" } }).BaseButtonProps, "class" | "flipOnDir" | "type" | "size" | "icon" | "color" | "noRing" | "loading" | "htmlType" | "block">>> & Readonly<{}>, {
202
+ focus(): void;
203
+ blur(): void;
204
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
205
+ beforeCreate?: (() => void) | (() => void)[];
206
+ created?: (() => void) | (() => void)[];
207
+ beforeMount?: (() => void) | (() => void)[];
208
+ mounted?: (() => void) | (() => void)[];
209
+ beforeUpdate?: (() => void) | (() => void)[];
210
+ updated?: (() => void) | (() => void)[];
211
+ activated?: (() => void) | (() => void)[];
212
+ deactivated?: (() => void) | (() => void)[];
213
+ beforeDestroy?: (() => void) | (() => void)[];
214
+ beforeUnmount?: (() => void) | (() => void)[];
215
+ destroyed?: (() => void) | (() => void)[];
216
+ unmounted?: (() => void) | (() => void)[];
217
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
218
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
219
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
220
+ };
221
+ $forceUpdate: () => void;
222
+ $nextTick: typeof import('vue').nextTick;
223
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
224
+ } & Readonly<{}> & Omit<Readonly<Partial<Pick<import('../exports.ts', { with: { "resolution-mode": "import" } }).BaseButtonProps, "class" | "flipOnDir" | "type" | "size" | "icon" | "color" | "noRing" | "loading" | "htmlType" | "block">>> & Readonly<{}>, "blur" | "focus"> & import('vue').ShallowUnwrapRef<{
225
+ focus(): void;
226
+ blur(): void;
227
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
228
+ $slots: Readonly<{
229
+ icon?: (() => never) | undefined;
230
+ badgeText?: (() => never) | undefined;
231
+ badgeIcon?: ((data?: object) => never) | undefined;
232
+ }> & {
233
+ icon?: (() => never) | undefined;
234
+ badgeText?: (() => never) | undefined;
235
+ badgeIcon?: ((data?: object) => never) | undefined;
236
+ };
237
+ }) | null;
238
+ reactionRef: ({
239
+ $: import('vue').ComponentInternalInstance;
240
+ $data: {};
241
+ $props: {
242
+ readonly class?: import('clsx').ClassValue;
243
+ readonly flipOnDir?: import('../index.ts', { with: { "resolution-mode": "import" } }).FlipOnDir | undefined;
244
+ readonly type?: import('../exports.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
245
+ readonly size?: import('../exports.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
246
+ readonly icon?: string | undefined;
247
+ readonly color?: import('../exports.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
248
+ readonly noRing?: boolean | undefined;
249
+ readonly loading?: boolean | undefined;
250
+ readonly htmlType?: "reset" | "submit" | "button" | undefined;
251
+ readonly block?: boolean | undefined;
252
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
253
+ $attrs: {
254
+ [x: string]: unknown;
255
+ };
256
+ $refs: {
257
+ [x: string]: unknown;
258
+ };
259
+ $slots: Readonly<{
260
+ [name: string]: import('vue').Slot<any> | undefined;
261
+ }>;
262
+ $root: import('vue').ComponentPublicInstance | null;
263
+ $parent: import('vue').ComponentPublicInstance | null;
264
+ $host: Element | null;
265
+ $emit: (event: string, ...args: any[]) => void;
266
+ $el: any;
267
+ $options: import('vue').ComponentOptionsBase<Readonly<Partial<Pick<import('../exports.ts', { with: { "resolution-mode": "import" } }).BaseButtonProps, "class" | "flipOnDir" | "type" | "size" | "icon" | "color" | "noRing" | "loading" | "htmlType" | "block">>> & Readonly<{}>, {
268
+ focus(): void;
269
+ blur(): void;
270
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
271
+ beforeCreate?: (() => void) | (() => void)[];
272
+ created?: (() => void) | (() => void)[];
273
+ beforeMount?: (() => void) | (() => void)[];
274
+ mounted?: (() => void) | (() => void)[];
275
+ beforeUpdate?: (() => void) | (() => void)[];
276
+ updated?: (() => void) | (() => void)[];
277
+ activated?: (() => void) | (() => void)[];
278
+ deactivated?: (() => void) | (() => void)[];
279
+ beforeDestroy?: (() => void) | (() => void)[];
280
+ beforeUnmount?: (() => void) | (() => void)[];
281
+ destroyed?: (() => void) | (() => void)[];
282
+ unmounted?: (() => void) | (() => void)[];
283
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
284
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
285
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
286
+ };
287
+ $forceUpdate: () => void;
288
+ $nextTick: typeof import('vue').nextTick;
289
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
290
+ } & Readonly<{}> & Omit<Readonly<Partial<Pick<import('../exports.ts', { with: { "resolution-mode": "import" } }).BaseButtonProps, "class" | "flipOnDir" | "type" | "size" | "icon" | "color" | "noRing" | "loading" | "htmlType" | "block">>> & Readonly<{}>, "blur" | "focus"> & import('vue').ShallowUnwrapRef<{
291
+ focus(): void;
292
+ blur(): void;
293
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
294
+ $slots: Readonly<{
295
+ icon?: (() => never) | undefined;
296
+ badgeText?: (() => never) | undefined;
297
+ badgeIcon?: ((data?: object) => never) | undefined;
298
+ }> & {
299
+ icon?: (() => never) | undefined;
300
+ badgeText?: (() => never) | undefined;
301
+ badgeIcon?: ((data?: object) => never) | undefined;
302
+ };
303
+ }) | null;
304
+ };
305
+ attrs: Partial<{}>;
306
+ };
307
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
308
+ declare const __VLS_component: import('vue').DefineComponent<CommentEditorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
309
+ blur: (value: InputEvent) => any;
310
+ focus: (value: InputEvent) => any;
311
+ submit: () => any;
312
+ openReaction: (value: HTMLElement) => any;
313
+ mention: (value: string) => any;
314
+ openMention: (value: HTMLElement) => any;
315
+ }, string, import('vue').PublicProps, Readonly<CommentEditorProps> & Readonly<{
316
+ onBlur?: ((value: InputEvent) => any) | undefined;
317
+ onFocus?: ((value: InputEvent) => any) | undefined;
318
+ onSubmit?: (() => any) | undefined;
319
+ onOpenReaction?: ((value: HTMLElement) => any) | undefined;
320
+ onMention?: ((value: string) => any) | undefined;
321
+ onOpenMention?: ((value: HTMLElement) => any) | undefined;
322
+ }>, {
323
+ maxHeight: string | number;
324
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
325
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
326
+ export default _default;
327
+ type __VLS_WithTemplateSlots<T, S> = T & {
328
+ new (): {
329
+ $slots: S;
330
+ };
331
+ };
@@ -0,0 +1,19 @@
1
+ import { ComboboxOptionType, ComboboxProps, ComboboxSlots } from '../Combobox/index.js';
2
+ declare function __VLS_template(): {
3
+ slots: Readonly<ComboboxSlots> & ComboboxSlots;
4
+ refs: {};
5
+ attrs: Partial<{}>;
6
+ };
7
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_component: import('vue').DefineComponent<ComboboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ mention: (value: string | undefined, option?: ComboboxOptionType | undefined) => any;
10
+ }, string, import('vue').PublicProps, Readonly<ComboboxProps> & Readonly<{
11
+ onMention?: ((value: string | undefined, option?: ComboboxOptionType | undefined) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,15 @@
1
+ import { GOPickerProps } from '../GOPicker/GOPicker.model';
2
+ export interface CommentReactionProps extends GOPickerProps {
3
+ reference: HTMLElement;
4
+ open?: boolean;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<CommentReactionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
+ "update:open": (value: string) => any;
8
+ reaction: (value: string) => any;
9
+ }, string, import('vue').PublicProps, Readonly<CommentReactionProps> & Readonly<{
10
+ "onUpdate:open"?: ((value: string) => any) | undefined;
11
+ onReaction?: ((value: string) => any) | undefined;
12
+ }>, {
13
+ open: boolean;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;