@pantograph/vue 0.26.0 → 0.27.1

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 (396) hide show
  1. package/dist/ActionButton/ActionButton.d.ts +20 -12
  2. package/dist/ActionButton/index.js +1 -1
  3. package/dist/ActionButton/index.umd.cjs +1 -1
  4. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-BVeWGfr7.js +1 -0
  5. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-D4l05YZz.js +69 -0
  6. package/dist/Alert/index.js +1 -1
  7. package/dist/Alert/index.umd.cjs +1 -1
  8. package/dist/Alert.vue_vue_type_script_setup_true_lang-CZzHeneB.js +1 -0
  9. package/dist/Alert.vue_vue_type_script_setup_true_lang-D5F_9ZwU.js +128 -0
  10. package/dist/Avatar/index.js +1 -1
  11. package/dist/Avatar/index.umd.cjs +1 -1
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-DmIuHoi3.js → Avatar.vue_vue_type_script_setup_true_lang-CH_6o8dq.js} +57 -52
  13. package/dist/Avatar.vue_vue_type_script_setup_true_lang-QZhssZnQ.js +1 -0
  14. package/dist/AvatarGroup/index.js +1 -1
  15. package/dist/AvatarGroup/index.umd.cjs +1 -1
  16. package/dist/Badge/index.js +1 -1
  17. package/dist/Badge/index.umd.cjs +1 -1
  18. package/dist/Badge.vue_vue_type_script_setup_true_lang-DKswgB1B.js +1 -0
  19. package/dist/{Badge.vue_vue_type_script_setup_true_lang-DvZc9U-W.js → Badge.vue_vue_type_script_setup_true_lang-GQnZqeaV.js} +20 -15
  20. package/dist/Base/BaseButton/BaseButton.d.ts +2 -0
  21. package/dist/Base/BaseInput/BaseInput.d.ts +1 -1
  22. package/dist/{BaseBadge.model-D4ZfMIfM.js → BaseBadge.model-CahZXsyM.js} +2 -2
  23. package/dist/BaseBadge.vue_vue_type_script_setup_true_lang-8tuJTjkU.js +1 -0
  24. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-Cekbj5do.js → BaseBadge.vue_vue_type_script_setup_true_lang-BVEnU-L5.js} +27 -21
  25. package/dist/BaseButton.vue_vue_type_script_setup_true_lang-B6fHU-br.js +1 -0
  26. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-Bwa2jAT_.js → BaseButton.vue_vue_type_script_setup_true_lang-u4Fvon7Z.js} +53 -47
  27. package/dist/BaseInput.vue_vue_type_script_setup_true_lang-BEeid52h.js +1 -0
  28. package/dist/BaseInput.vue_vue_type_script_setup_true_lang-Ca0LOJfn.js +141 -0
  29. package/dist/Button/Button.d.ts +29 -21
  30. package/dist/Button/index.js +1 -1
  31. package/dist/Button/index.umd.cjs +1 -1
  32. package/dist/Button.vue_vue_type_script_setup_true_lang-3EriUXFH.js +1 -0
  33. package/dist/Button.vue_vue_type_script_setup_true_lang-CSKn-kYb.js +72 -0
  34. package/dist/ButtonGroup/index.js +1 -1
  35. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-DPtJY6ad.js → ButtonGroup.vue_vue_type_script_setup_true_lang-BWfa7L2L.js} +4 -4
  36. package/dist/Checkbox/Checkbox.d.ts +1 -0
  37. package/dist/Checkbox/index.js +1 -1
  38. package/dist/Checkbox/index.umd.cjs +1 -1
  39. package/dist/Checkbox.vue_vue_type_script_setup_true_lang-B5hrYP5E.js +1 -0
  40. package/dist/Checkbox.vue_vue_type_script_setup_true_lang-DiG3cLmy.js +226 -0
  41. package/dist/CheckboxGroup/CheckboxGroup.d.ts +4 -4
  42. package/dist/CheckboxGroup/index.js +1 -1
  43. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  44. package/dist/Chip/Chip.d.ts +4 -1
  45. package/dist/Chip/index.js +1 -1
  46. package/dist/Chip/index.umd.cjs +1 -1
  47. package/dist/Chip.vue_vue_type_script_setup_true_lang-DOIPsHk_.js +217 -0
  48. package/dist/Chip.vue_vue_type_script_setup_true_lang-Dn-EkG3e.js +1 -0
  49. package/dist/ChipGroup/index.js +1 -1
  50. package/dist/ChipGroup/index.umd.cjs +1 -1
  51. package/dist/ColorPicker/ColorPicker.d.ts +1 -0
  52. package/dist/ColorPicker/index.js +1 -1
  53. package/dist/ColorPicker/index.umd.cjs +1 -1
  54. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-CFWIxkoW.js → ColorPicker.vue_vue_type_script_setup_true_lang-Bz_mnMXB.js} +765 -763
  55. package/dist/ColorPicker.vue_vue_type_script_setup_true_lang-D6k_f_bV.js +4 -0
  56. package/dist/ColorSwatch/ColorSwatch.d.ts +2 -0
  57. package/dist/ColorSwatch/index.js +1 -1
  58. package/dist/ColorSwatch/index.umd.cjs +1 -1
  59. package/dist/ColorSwatch-BUx8Adlm.js +4 -0
  60. package/dist/ColorSwatch-CyLiiscO.js +1 -0
  61. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-DsriVs5P.js → ColorSwatch.vue_vue_type_script_setup_true_lang-DBTZCpNP.js} +38 -29
  62. package/dist/ColorSwatch.vue_vue_type_script_setup_true_lang-mEt98xi2.js +1 -0
  63. package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -1
  64. package/dist/ColorSwatchGroup/index.js +1 -1
  65. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  66. package/dist/ColorSwatchGroup.vue_vue_type_script_setup_true_lang-B-cLoom6.js +175 -0
  67. package/dist/ColorSwatchGroup.vue_vue_type_script_setup_true_lang-D1yZXDV3.js +1 -0
  68. package/dist/ColorTrigger/ColorTrigger.d.ts +1 -0
  69. package/dist/ColorTrigger/index.js +1 -1
  70. package/dist/ColorTrigger/index.umd.cjs +1 -1
  71. package/dist/ColorTrigger.vue_vue_type_script_setup_true_lang-BbT6N2FL.js +94 -0
  72. package/dist/ColorTrigger.vue_vue_type_script_setup_true_lang-DIzDCzvv.js +1 -0
  73. package/dist/Combobox/Combobox.d.ts +912 -31
  74. package/dist/Combobox/ComboboxInput.d.ts +20 -1
  75. package/dist/Combobox/ComboboxLabel.d.ts +3 -15
  76. package/dist/Combobox/ComboboxOption.d.ts +4 -17
  77. package/dist/Combobox/ComboboxTrigger.d.ts +1 -3
  78. package/dist/Combobox/context.d.ts +22 -25
  79. package/dist/Combobox/index.js +1 -1
  80. package/dist/Combobox/index.umd.cjs +1 -1
  81. package/dist/Combobox/types.d.ts +73 -49
  82. package/dist/Combobox.vue_vue_type_script_setup_true_lang-CSN9cqZh.js +1120 -0
  83. package/dist/Combobox.vue_vue_type_script_setup_true_lang-NkTBG9kI.js +1 -0
  84. package/dist/Comment/Comment.d.ts +1 -1
  85. package/dist/Comment/CommentActions.d.ts +58 -44
  86. package/dist/Comment/CommentEditor.d.ts +248 -215
  87. package/dist/Comment/CommentMention.d.ts +1 -1
  88. package/dist/Comment/CommentReaction.d.ts +1 -1
  89. package/dist/Comment/CommentReactions.d.ts +29 -22
  90. package/dist/Comment/index.js +325 -327
  91. package/dist/Comment/index.umd.cjs +1 -1
  92. package/dist/ConfigProvider/index.js +1 -1
  93. package/dist/{ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js → ConfigProvider.vue_vue_type_script_setup_true_lang-DiuPi_DT.js} +1 -1
  94. package/dist/DataTable/index.js +1 -1
  95. package/dist/DataTable/index.umd.cjs +1 -1
  96. package/dist/DataTable.vue_vue_type_script_setup_true_lang-BbVKnjxN.js +1 -0
  97. package/dist/{DataTable.vue_vue_type_style_index_0_lang-DFOwpMxF.js → DataTable.vue_vue_type_script_setup_true_lang-BfTiBQMt.js} +105 -106
  98. package/dist/Divider/index.js +1 -1
  99. package/dist/Divider/index.umd.cjs +1 -1
  100. package/dist/Divider.vue_vue_type_script_setup_true_lang-BHkXVZCN.js +43 -0
  101. package/dist/Divider.vue_vue_type_script_setup_true_lang-BfrE098V.js +1 -0
  102. package/dist/DropZone/DropZone.d.ts +1 -0
  103. package/dist/DropZone/index.js +1 -1
  104. package/dist/DropZone/index.umd.cjs +1 -1
  105. package/dist/DropZone.vue_vue_type_script_setup_true_lang-C8PIE0KC.js +131 -0
  106. package/dist/DropZone.vue_vue_type_script_setup_true_lang-DEK0OBo2.js +1 -0
  107. package/dist/Empty/index.js +1 -1
  108. package/dist/Empty/index.umd.cjs +1 -1
  109. package/dist/Empty.vue_vue_type_script_setup_true_lang-BHsAnkd7.js +1 -0
  110. package/dist/{Empty.vue_vue_type_style_index_0_lang-Bk2nO0VN.js → Empty.vue_vue_type_script_setup_true_lang-CnJOScIi.js} +41 -35
  111. package/dist/FloatButton/FloatButton.d.ts +28 -20
  112. package/dist/FloatButton/index.js +1 -1
  113. package/dist/FloatButton/index.umd.cjs +1 -1
  114. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-D03EBWv5.js +67 -0
  115. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-t22bWN9j.js +1 -0
  116. package/dist/Form/Form.d.ts +35 -29
  117. package/dist/Form/FormItem.d.ts +14 -3
  118. package/dist/Form/index.js +1 -1
  119. package/dist/Form/index.umd.cjs +1 -1
  120. package/dist/FormValidation/FormValidation.d.ts +1 -1
  121. package/dist/GOPicker/GOPicker.d.ts +44 -43
  122. package/dist/GOPicker/index.js +1 -1
  123. package/dist/GOPicker/index.umd.cjs +1 -1
  124. package/dist/GOPicker.vue_vue_type_script_setup_true_lang-BOyOH_qb.js +1 -0
  125. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CJ-yY8X0.js → GOPicker.vue_vue_type_script_setup_true_lang-Cx2WQErE.js} +162 -163
  126. package/dist/GraphicalObject/index.js +1 -1
  127. package/dist/GraphicalObject/index.umd.cjs +1 -1
  128. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-D6ppQA4I.js +1 -0
  129. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-DFogOMOj.js → GraphicalObject.vue_vue_type_script_setup_true_lang-Dwf4A9T3.js} +9 -9
  130. package/dist/GraphicalObjectGroup/index.js +1 -1
  131. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  132. package/dist/GraphicalObjectGroup.vue_vue_type_script_setup_true_lang-CAvd-28M.js +68 -0
  133. package/dist/GraphicalObjectGroup.vue_vue_type_script_setup_true_lang-CXyuthQS.js +1 -0
  134. package/dist/HoverCard/HoverCard.d.ts +12 -133
  135. package/dist/HoverCard/index.d.ts +1 -1
  136. package/dist/HoverCard/index.js +2 -2
  137. package/dist/HoverCard/index.umd.cjs +1 -1
  138. package/dist/HoverCard.vue_vue_type_script_setup_true_lang-CbT9IDH_.js +1 -0
  139. package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DBOk4tYh.js +100 -0
  140. package/dist/Icon/Icon.d.ts +18 -1
  141. package/dist/Icon/index.js +1 -1
  142. package/dist/Icon/index.umd.cjs +1 -1
  143. package/dist/Icon.vue_vue_type_script_setup_true_lang-BDTw4CRD.js +9 -0
  144. package/dist/Icon.vue_vue_type_script_setup_true_lang-DJv20Efl.js +2839 -0
  145. package/dist/IconButton/IconButton.d.ts +27 -21
  146. package/dist/IconButton/index.js +1 -1
  147. package/dist/IconButton/index.umd.cjs +1 -1
  148. package/dist/IconButton.vue_vue_type_script_setup_true_lang-CRdinhW6.js +66 -0
  149. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DtB1BlrH.js +1 -0
  150. package/dist/Image/index.js +1 -1
  151. package/dist/Image/index.umd.cjs +1 -1
  152. package/dist/Image.vue_vue_type_script_setup_true_lang-C8IFCQ1Z.js +1 -0
  153. package/dist/Image.vue_vue_type_script_setup_true_lang-DUAcgVt3.js +131 -0
  154. package/dist/IndentLevel/IndentLevel.d.ts +1 -1
  155. package/dist/IndentLevel/index.js +1 -1
  156. package/dist/IndentLevel/index.umd.cjs +1 -1
  157. package/dist/IndentLevel.vue_vue_type_script_setup_true_lang-CZIskYG5.js +105 -0
  158. package/dist/IndentLevel.vue_vue_type_script_setup_true_lang-DejchDVl.js +1 -0
  159. package/dist/Indicator/index.js +1 -1
  160. package/dist/Indicator/index.umd.cjs +1 -1
  161. package/dist/Indicator.vue_vue_type_script_setup_true_lang-C5X3Ptal.js +1 -0
  162. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-Bfc2cDZW.js → Indicator.vue_vue_type_script_setup_true_lang-CUzJo6Dq.js} +6 -6
  163. package/dist/Input/index.js +2 -2
  164. package/dist/Input/index.umd.cjs +1 -1
  165. package/dist/{Input.vue_vue_type_script_setup_true_lang-BZidgKiU.js → Input.vue_vue_type_script_setup_true_lang-BBOWLata.js} +32 -27
  166. package/dist/Input.vue_vue_type_script_setup_true_lang-DQaTM8t7.js +1 -0
  167. package/dist/InputNumber/index.js +2 -2
  168. package/dist/InputNumber/index.umd.cjs +1 -1
  169. package/dist/InputNumber.vue_vue_type_script_setup_true_lang-B2XDVABX.js +1 -0
  170. package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-y1SYHqAR.js → InputNumber.vue_vue_type_script_setup_true_lang-Dg-C7-Gw.js} +20 -15
  171. package/dist/Kbd/index.js +1 -1
  172. package/dist/Kbd/index.umd.cjs +1 -1
  173. package/dist/Kbd.vue_vue_type_script_setup_true_lang-Bts8h3Rc.js +1 -0
  174. package/dist/Kbd.vue_vue_type_script_setup_true_lang-CZvbn4oA.js +53 -0
  175. package/dist/Label/index.js +1 -1
  176. package/dist/Label/index.umd.cjs +1 -1
  177. package/dist/Link/index.js +1 -1
  178. package/dist/Link/index.umd.cjs +1 -1
  179. package/dist/Link.vue_vue_type_script_setup_true_lang-B9UfwACd.js +1 -0
  180. package/dist/{Link.vue_vue_type_style_index_0_lang-CXRcuM5F.js → Link.vue_vue_type_script_setup_true_lang-Dc6IcnzY.js} +26 -20
  181. package/dist/Menu/Menu.d.ts +5 -3
  182. package/dist/Menu/index.js +1 -1
  183. package/dist/Menu/index.umd.cjs +1 -1
  184. package/dist/MenuItem/MenuItem.d.ts +5 -5
  185. package/dist/MenuItem/MenuItemContent.d.ts +16 -10
  186. package/dist/MenuItem/index.js +1 -1
  187. package/dist/MenuItem/index.umd.cjs +1 -1
  188. package/dist/MenuItem.vue_vue_type_script_setup_true_lang-BhAWfw04.js +616 -0
  189. package/dist/MenuItem.vue_vue_type_script_setup_true_lang-DweYhLgr.js +1 -0
  190. package/dist/Pagination/Pagination.d.ts +3 -1
  191. package/dist/Pagination/index.js +1 -1
  192. package/dist/Pagination/index.umd.cjs +1 -1
  193. package/dist/Pagination.vue_vue_type_script_setup_true_lang-CH2sZBOw.js +246 -0
  194. package/dist/Pagination.vue_vue_type_script_setup_true_lang-qyR_Occn.js +1 -0
  195. package/dist/Popover/Popover.d.ts +10 -131
  196. package/dist/Popover/Popover.model.d.ts +1 -1
  197. package/dist/Popover/index.d.ts +2 -1
  198. package/dist/Popover/index.js +1 -1
  199. package/dist/Popover/index.umd.cjs +1 -1
  200. package/dist/Popover/type.d.ts +27 -0
  201. package/dist/Popover/utils.d.ts +48 -4
  202. package/dist/Popover.vue_vue_type_script_setup_true_lang-Bye1k1gb.js +1 -0
  203. package/dist/Popover.vue_vue_type_script_setup_true_lang-D-Jebwr9.js +281 -0
  204. package/dist/Progress/index.js +1 -1
  205. package/dist/Progress/index.umd.cjs +1 -1
  206. package/dist/Progress.vue_vue_type_script_setup_true_lang-QIJAJeT9.js +1 -0
  207. package/dist/{Progress.vue_vue_type_style_index_0_lang-DHMo6akY.js → Progress.vue_vue_type_script_setup_true_lang-fxFcm9WO.js} +106 -100
  208. package/dist/RadioGroup/RadioGroup.d.ts +7 -1
  209. package/dist/RadioGroup/RadioGroupItem.d.ts +1 -1
  210. package/dist/RadioGroup/index.js +1 -1
  211. package/dist/RadioGroup/index.umd.cjs +1 -1
  212. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-B_-7GgYM.js +1 -0
  213. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-w2aa6VhW.js +110 -0
  214. package/dist/ScrollContainer/ScrollContainer.d.ts +13 -17
  215. package/dist/ScrollContainer/index.js +1 -1
  216. package/dist/ScrollContainer/index.umd.cjs +1 -1
  217. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-ioHY1esc.js → ScrollContainer.vue_vue_type_script_setup_true_lang-BU7qU1LR.js} +39 -36
  218. package/dist/ScrollContainer.vue_vue_type_script_setup_true_lang-u50YBozy.js +1 -0
  219. package/dist/Segmented/Segmented.d.ts +4 -2
  220. package/dist/Segmented/index.js +1 -1
  221. package/dist/Segmented/index.umd.cjs +1 -1
  222. package/dist/Segmented.vue_vue_type_script_setup_true_lang-CoJCKPrs.js +1 -0
  223. package/dist/Segmented.vue_vue_type_script_setup_true_lang-D7yf-Ezy.js +171 -0
  224. package/dist/Select/Select.d.ts +9 -5
  225. package/dist/Select/index.js +1 -1
  226. package/dist/Select/index.umd.cjs +1 -1
  227. package/dist/Select/types.d.ts +6 -5
  228. package/dist/Select.vue_vue_type_script_setup_true_lang-B8L_locv.js +787 -0
  229. package/dist/Select.vue_vue_type_script_setup_true_lang-BxOgh92J.js +1 -0
  230. package/dist/Shortcut/index.js +1 -1
  231. package/dist/Shortcut/index.umd.cjs +1 -1
  232. package/dist/Shortcut.vue_vue_type_script_setup_true_lang-CByKa08f.js +1 -0
  233. package/dist/Shortcut.vue_vue_type_script_setup_true_lang-CPeD8ZFo.js +38 -0
  234. package/dist/Skeleton/index.js +1 -1
  235. package/dist/Skeleton/index.umd.cjs +1 -1
  236. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-BPGtJ7m9.js +65 -0
  237. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CZd6jGSK.js +1 -0
  238. package/dist/Spinner/index.js +1 -1
  239. package/dist/Spinner/index.umd.cjs +1 -1
  240. package/dist/Spinner.vue_vue_type_script_setup_true_lang-BLbh3cW9.js +1 -0
  241. package/dist/{Spinner.vue_vue_type_style_index_0_lang-Bflf_h7p.js → Spinner.vue_vue_type_script_setup_true_lang-plOMCeJw.js} +33 -27
  242. package/dist/SubMenu/SubMenu.d.ts +2 -2
  243. package/dist/SubMenu/index.js +1 -1
  244. package/dist/SubMenu/index.umd.cjs +1 -1
  245. package/dist/Switch/index.js +1 -1
  246. package/dist/Switch/index.umd.cjs +1 -1
  247. package/dist/Switch.vue_vue_type_script_setup_true_lang--nKqQaQz.js +1 -0
  248. package/dist/{Switch.vue_vue_type_style_index_0_lang-DprBpzXg.js → Switch.vue_vue_type_script_setup_true_lang-Br5agMiY.js} +41 -37
  249. package/dist/THead.vue_vue_type_script_setup_true_lang-B8EBMO33.js +214 -0
  250. package/dist/THead.vue_vue_type_script_setup_true_lang-midXJwsE.js +1 -0
  251. package/dist/TabContent.vue_vue_type_script_setup_true_lang-B3v-gPTa.js +1 -0
  252. package/dist/TabContent.vue_vue_type_script_setup_true_lang-DUqgKpvl.js +379 -0
  253. package/dist/Table/index.js +1 -1
  254. package/dist/Table/index.umd.cjs +1 -1
  255. package/dist/Tabs/TabContent.d.ts +18 -0
  256. package/dist/Tabs/TabList.d.ts +302 -0
  257. package/dist/Tabs/TabTrigger.d.ts +41 -0
  258. package/dist/Tabs/Tabs.d.ts +53 -0
  259. package/dist/Tabs/index.d.ts +5 -1
  260. package/dist/Tabs/index.js +11 -1
  261. package/dist/Tabs/index.umd.cjs +1 -1
  262. package/dist/Textarea/Textarea.d.ts +32 -36
  263. package/dist/Textarea/index.js +1 -1
  264. package/dist/Textarea/index.umd.cjs +1 -1
  265. package/dist/{Textarea.vue_vue_type_style_index_0_lang-CYHt1v8A.js → Textarea.vue_vue_type_script_setup_true_lang-BTywGT0W.js} +28 -25
  266. package/dist/Textarea.vue_vue_type_script_setup_true_lang-ZvXSpOuD.js +1 -0
  267. package/dist/Tree/Tree.d.ts +34 -5
  268. package/dist/Tree/Tree.model.d.ts +34 -13
  269. package/dist/Tree/index.js +1 -1
  270. package/dist/Tree/index.umd.cjs +1 -1
  271. package/dist/Tree/utils.d.ts +29 -13
  272. package/dist/Tree.vue_vue_type_script_setup_true_lang-B5khp8Fw.js +726 -0
  273. package/dist/Tree.vue_vue_type_script_setup_true_lang-C7AJKgHE.js +1 -0
  274. package/dist/Upload/Upload.d.ts +2 -1
  275. package/dist/Upload/UploadListItem.d.ts +1 -1
  276. package/dist/Upload/UploadTrigger.d.ts +5 -3
  277. package/dist/Upload/index.js +1 -1
  278. package/dist/Upload/index.umd.cjs +1 -1
  279. package/dist/Upload/types.d.ts +2 -2
  280. package/dist/Upload/utils/extension.d.ts +1 -1
  281. package/dist/Upload/utils/transformFile.d.ts +1 -1
  282. package/dist/Upload.vue_vue_type_script_setup_true_lang-BNiFkx47.js +1027 -0
  283. package/dist/Upload.vue_vue_type_script_setup_true_lang-ClLueLCg.js +1 -0
  284. package/dist/bodyLock-DBGsJvTg.js +14 -0
  285. package/dist/bodyLock-DM_fELbd.js +1 -0
  286. package/dist/collection-BFrS9-RP.js +1 -0
  287. package/dist/collection-DUgtxIW2.js +70 -0
  288. package/dist/exports.d.ts +1 -6
  289. package/dist/index.js +272 -257
  290. package/dist/index.umd.cjs +1 -1
  291. package/dist/isEmpty-CgVXdsCr.js +40 -0
  292. package/dist/isEmpty-cyU2mCRb.js +1 -0
  293. package/dist/{options-Bh1s18jm.js → options-J8HfRMSU.js} +2 -2
  294. package/dist/style/index.css +1 -1
  295. package/dist/useInputDataStates-CVQJAe1K.js +1 -0
  296. package/dist/useInputDataStates-DCxDvkM-.js +50 -0
  297. package/dist/useVirtualScroll-3vEZzPrF.js +1 -0
  298. package/dist/useVirtualScroll-CXkmR_v2.js +32 -0
  299. package/dist/useVmodel-BU5qtyne.js +1 -0
  300. package/dist/useVmodel-DlyNieM5.js +52 -0
  301. package/dist/utils/bodyLock.d.ts +2 -0
  302. package/dist/utils/collection.d.ts +32 -0
  303. package/dist/utils/index.d.ts +10 -5
  304. package/dist/utils/index.js +32 -15
  305. package/dist/utils/index.umd.cjs +1 -1
  306. package/dist/utils/style.d.ts +1 -0
  307. package/dist/utils/useInputDataStates.d.ts +1 -1
  308. package/dist/utils/useVirtualScroll.d.ts +23 -0
  309. package/dist/utils/useVmodel.d.ts +69 -0
  310. package/package.json +9 -8
  311. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-C-yubDE0.js +0 -1
  312. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-C8Q6waTJ.js +0 -56
  313. package/dist/Alert.vue_vue_type_style_index_0_lang-DxlwdpVq.js +0 -123
  314. package/dist/Alert.vue_vue_type_style_index_0_lang-Q2swor45.js +0 -1
  315. package/dist/Avatar.vue_vue_type_style_index_0_lang-UzInGmo8.js +0 -1
  316. package/dist/Badge.vue_vue_type_script_setup_true_lang-BBMB72Mz.js +0 -1
  317. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-BNlyoiRz.js +0 -1
  318. package/dist/BaseButton.vue_vue_type_style_index_0_lang-DQGK3rUl.js +0 -1
  319. package/dist/BaseInput.vue_vue_type_style_index_0_lang-CalBdGIB.js +0 -133
  320. package/dist/BaseInput.vue_vue_type_style_index_0_lang-b7Cyp0zn.js +0 -1
  321. package/dist/Button.vue_vue_type_script_setup_true_lang-BGNxRN3s.js +0 -53
  322. package/dist/Button.vue_vue_type_script_setup_true_lang-C_XW_RxE.js +0 -1
  323. package/dist/Checkbox.vue_vue_type_style_index_0_lang-BftwQBSo.js +0 -1
  324. package/dist/Checkbox.vue_vue_type_style_index_0_lang-QBA04hd1.js +0 -223
  325. package/dist/Chip.vue_vue_type_style_index_0_lang-CRI3QwLZ.js +0 -192
  326. package/dist/Chip.vue_vue_type_style_index_0_lang-z_hK7usq.js +0 -1
  327. package/dist/ColorPicker.vue_vue_type_style_index_0_lang-CcSrQKRq.js +0 -4
  328. package/dist/ColorSwatch-B8Atg6sw.js +0 -4
  329. package/dist/ColorSwatch-Bjf8zaRk.js +0 -1
  330. package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-CXCshLKX.js +0 -1
  331. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-CczGrgYd.js +0 -1
  332. package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-amI55LMo.js +0 -156
  333. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-BIaTcjVN.js +0 -90
  334. package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-Bny3csr4.js +0 -1
  335. package/dist/Combobox/ComboboxWrapper.d.ts +0 -4
  336. package/dist/Combobox.vue_vue_type_style_index_0_lang-C5lxH1Cg.js +0 -1
  337. package/dist/Combobox.vue_vue_type_style_index_0_lang-DLgal2Q-.js +0 -949
  338. package/dist/DataTable.vue_vue_type_style_index_0_lang-CRv9-elM.js +0 -1
  339. package/dist/Divider.vue_vue_type_style_index_0_lang-B1VnMpBg.js +0 -1
  340. package/dist/Divider.vue_vue_type_style_index_0_lang-CfBklijs.js +0 -36
  341. package/dist/DropZone.vue_vue_type_style_index_0_lang-B0T34FXZ.js +0 -124
  342. package/dist/DropZone.vue_vue_type_style_index_0_lang-CjskWVFc.js +0 -1
  343. package/dist/Empty.vue_vue_type_style_index_0_lang-2ZPIGpdZ.js +0 -1
  344. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-CqI5GHuN.js +0 -58
  345. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-DObfA5pf.js +0 -1
  346. package/dist/GOPicker.vue_vue_type_style_index_0_lang-BieXIwrY.js +0 -1
  347. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-BqtvZ4Zu.js +0 -1
  348. package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CFIKZKMj.js +0 -64
  349. package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CnsHb2Lb.js +0 -1
  350. package/dist/HoverCard.vue_vue_type_style_index_0_lang-DGhlQaO0.js +0 -124
  351. package/dist/HoverCard.vue_vue_type_style_index_0_lang-tPtCNI95.js +0 -1
  352. package/dist/Icon.vue_vue_type_style_index_0_lang-26YK1SwL.js +0 -2909
  353. package/dist/Icon.vue_vue_type_style_index_0_lang-CRquOLJG.js +0 -9
  354. package/dist/IconButton.vue_vue_type_script_setup_true_lang-Dvu9WpEN.js +0 -58
  355. package/dist/IconButton.vue_vue_type_script_setup_true_lang-ZUsEmKon.js +0 -1
  356. package/dist/Image.vue_vue_type_style_index_0_lang-BabuXXFH.js +0 -126
  357. package/dist/Image.vue_vue_type_style_index_0_lang-Dcqwbt4T.js +0 -1
  358. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-CZ95qLkr.js +0 -99
  359. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-LYssIii4.js +0 -1
  360. package/dist/Indicator.vue_vue_type_script_setup_true_lang-B-oDEbiu.js +0 -1
  361. package/dist/Input.vue_vue_type_script_setup_true_lang-BVbKTWVG.js +0 -1
  362. package/dist/InputNumber.vue_vue_type_script_setup_true_lang-DEgVgZ_0.js +0 -1
  363. package/dist/Kbd.vue_vue_type_style_index_0_lang-1ITCVp0q.js +0 -47
  364. package/dist/Kbd.vue_vue_type_style_index_0_lang-Cjc5Rk3l.js +0 -1
  365. package/dist/Link.vue_vue_type_style_index_0_lang-gFBGdIkN.js +0 -1
  366. package/dist/MenuItem.vue_vue_type_style_index_0_lang-BC0hNIHn.js +0 -1
  367. package/dist/MenuItem.vue_vue_type_style_index_0_lang-CK2KrtJa.js +0 -587
  368. package/dist/Pagination.vue_vue_type_style_index_0_lang-DOwVgreM.js +0 -1
  369. package/dist/Pagination.vue_vue_type_style_index_0_lang-Dgx-vviE.js +0 -235
  370. package/dist/Popover.vue_vue_type_style_index_0_lang-22ewjJ6F.js +0 -1
  371. package/dist/Popover.vue_vue_type_style_index_0_lang-BrLhsdZu.js +0 -247
  372. package/dist/Progress.vue_vue_type_style_index_0_lang-8m4aQ4CZ.js +0 -1
  373. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-B9rRuGDt.js +0 -1
  374. package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Zo3ozdqk.js +0 -101
  375. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-DRYmVHMT.js +0 -1
  376. package/dist/Segmented.vue_vue_type_style_index_0_lang-BPt9_TEH.js +0 -165
  377. package/dist/Segmented.vue_vue_type_style_index_0_lang-BSt3GUbV.js +0 -1
  378. package/dist/Select.vue_vue_type_style_index_0_lang-D7VjqOBv.js +0 -1
  379. package/dist/Select.vue_vue_type_style_index_0_lang-XLlU2Du1.js +0 -769
  380. package/dist/Shortcut.vue_vue_type_style_index_0_lang-CllMPygM.js +0 -1
  381. package/dist/Shortcut.vue_vue_type_style_index_0_lang-D9NQzaRd.js +0 -32
  382. package/dist/Skeleton.vue_vue_type_style_index_0_lang-2rpO7HY2.js +0 -58
  383. package/dist/Skeleton.vue_vue_type_style_index_0_lang-vYeWc1nI.js +0 -1
  384. package/dist/Spinner.vue_vue_type_style_index_0_lang-D0mZzwBr.js +0 -1
  385. package/dist/Switch.vue_vue_type_style_index_0_lang-CLIDvWMp.js +0 -1
  386. package/dist/THead.vue_vue_type_style_index_0_lang-Bk62FCuE.js +0 -1
  387. package/dist/THead.vue_vue_type_style_index_0_lang-CDQ98k-9.js +0 -200
  388. package/dist/Textarea.vue_vue_type_style_index_0_lang-CY82h4f9.js +0 -1
  389. package/dist/Tree.vue_vue_type_style_index_0_lang-BrdekqZ8.js +0 -1
  390. package/dist/Tree.vue_vue_type_style_index_0_lang-i9HBxbnw.js +0 -737
  391. package/dist/Upload.vue_vue_type_style_index_0_lang-Bej4zFFq.js +0 -1020
  392. package/dist/Upload.vue_vue_type_style_index_0_lang-CTtVPcxp.js +0 -1
  393. package/dist/style-BEhqkSEE.js +0 -20
  394. package/dist/style-CYb6EX2Q.js +0 -1
  395. package/dist/useInputDataStates-D-XvZURF.js +0 -52
  396. package/dist/useInputDataStates-DvfSqKSa.js +0 -1
@@ -1,13 +1,18 @@
1
- import { defineComponent as b, ref as Q, watch as U, computed as k, createBlock as x, openBlock as p, unref as n, withCtx as se, createElementVNode as A, createElementBlock as S, createCommentVNode as X, normalizeClass as M, normalizeStyle as O, h as u, Fragment as N, createVNode as B, renderList as Y, useSlots as ne } from "vue";
1
+ import { defineComponent as b, ref as Q, watch as U, computed as x, createBlock as k, openBlock as p, unref as n, withCtx as se, createElementVNode as G, createElementBlock as S, createCommentVNode as X, normalizeClass as M, normalizeStyle as q, h as u, Fragment as N, createVNode as B, renderList as Y, useSlots as ne } from "vue";
2
2
  import { getBemBlock as oe, getBemElement as m, generateVariantClassList as T, normCls as Z, usePCId as ae } from "@pantograph/utils";
3
3
  import { cva as F } from "class-variance-authority";
4
- import { a as le, g as ce } from "./BaseBadge.model-D4ZfMIfM.js";
5
- import { createContext as ie, Primitive as pe } from "reka-ui";
6
- import { g as $ } from "./options-Bh1s18jm.js";
4
+ import { a as le, g as ie } from "./BaseBadge.model-CahZXsyM.js";
5
+ import { createContext as ce, Primitive as pe } from "reka-ui";
6
+ import { a as $ } from "./options-J8HfRMSU.js";
7
+ import "@pantograph/tokens";
7
8
  import { sortBy as ue } from "es-toolkit";
8
- import { k as z, e as de, w as me, n as ge, q as ve } from "./Icon.vue_vue_type_style_index_0_lang-26YK1SwL.js";
9
- import { _ as fe } from "./Divider.vue_vue_type_style_index_0_lang-CfBklijs.js";
10
- import { u as _e } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js";
9
+ import { g as z, e as de, A as me, u as ge, w as fe } from "./Icon.vue_vue_type_script_setup_true_lang-DJv20Efl.js";
10
+ import "@vueuse/core";
11
+ import "@tanstack/vue-virtual";
12
+ import { _ as ve } from "./Divider.vue_vue_type_script_setup_true_lang-BHkXVZCN.js";
13
+ import { i as _e } from "./isEmpty-CgVXdsCr.js";
14
+ import { u as he } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-DiuPi_DT.js";
15
+ import ye from "@pantograph/style/progress.css?raw";
11
16
  const L = [
12
17
  "red",
13
18
  "orange",
@@ -26,7 +31,7 @@ const L = [
26
31
  "amethyst",
27
32
  "fuchsia",
28
33
  "mallard"
29
- ], Ge = [...L, "primary", ...le], h = oe("progress"), G = m(h, "circle"), V = m(h, "line"), he = ["2xsm", "xsm", "sm", "md", "lg"], ye = ["progress", "warning", "error", "success"], ke = ["circle", "line"], [R, xe] = ie("progress"), Pe = ["d", "stroke-width", "stroke-linecap", "stroke"], Ce = ["from", "to", "dur"], W = /* @__PURE__ */ b({
34
+ ], Je = [...L, "primary", ...le], h = oe("progress"), A = m(h, "circle"), V = m(h, "line"), xe = ["2xsm", "xsm", "sm", "md", "lg"], ke = ["progress", "warning", "error", "success"], Pe = ["circle", "line"], [R, Ce] = ce("progress"), Se = ["d", "stroke-width", "stroke-linecap", "stroke"], be = ["from", "to", "dur"], W = /* @__PURE__ */ b({
30
35
  ...$("ProgressCirclePath"),
31
36
  __name: "ProgressCirclePath",
32
37
  props: {
@@ -40,10 +45,10 @@ const L = [
40
45
  color: {}
41
46
  },
42
47
  setup(P) {
43
- const e = P, i = m(G, "path"), o = F(i, {
48
+ const e = P, c = m(A, "path"), o = F(c, {
44
49
  variants: {
45
- trail: T("trail", i),
46
- indeterminate: T("indeterminate", i)
50
+ trail: T("trail", c),
51
+ indeterminate: T("indeterminate", c)
47
52
  }
48
53
  }), s = R(), l = Q(0);
49
54
  U(
@@ -60,10 +65,10 @@ const L = [
60
65
  immediate: !0
61
66
  }
62
67
  );
63
- const a = k(() => e.circleRadius - e.strokeWidth / 2), y = k(() => {
68
+ const a = x(() => e.circleRadius - e.strokeWidth / 2), y = x(() => {
64
69
  const t = e.circleRadius * 2 - e.strokeWidth;
65
70
  return `M ${e.circleRadius},${e.circleRadius} m 0,-${a.value} a ${a.value},${a.value} 0 1 1 0,${t} a ${a.value},${a.value} 0 1 1 0,-${t}`;
66
- }), f = k(() => {
71
+ }), v = x(() => {
67
72
  const t = 2 * Math.PI * a.value, r = l.value / 100;
68
73
  return {
69
74
  "stroke-dasharray": e.trail ? void 0 : t,
@@ -71,21 +76,21 @@ const L = [
71
76
  "--ptc-progress-animation-duration": s.duration.value
72
77
  };
73
78
  });
74
- return (t, r) => (p(), x(n(pe), {
79
+ return (t, r) => (p(), k(n(pe), {
75
80
  as: "g",
76
81
  "as-child": !t.indeterminate,
77
82
  key: String(t.indeterminate)
78
83
  }, {
79
84
  default: se(() => [
80
- A("path", {
85
+ G("path", {
81
86
  d: y.value,
82
87
  "stroke-width": t.strokeWidth,
83
88
  fill: "none",
84
- style: O(f.value),
89
+ style: q(v.value),
85
90
  "stroke-linecap": t.strokeLinecap,
86
91
  class: M(n(o)({ trail: t.trail, indeterminate: t.indeterminate })),
87
92
  stroke: t.color ?? "currentColor"
88
- }, null, 14, Pe),
93
+ }, null, 14, Se),
89
94
  t.indeterminate ? (p(), S("animateTransform", {
90
95
  key: 0,
91
96
  attributeName: "transform",
@@ -94,7 +99,7 @@ const L = [
94
99
  to: `360 ${e.circleRadius} ${e.circleRadius}`,
95
100
  dur: `${n(s).duration.value || 700}s`,
96
101
  repeatCount: "indefinite"
97
- }, null, 8, Ce)) : X("", !0)
102
+ }, null, 8, be)) : X("", !0)
98
103
  ]),
99
104
  _: 1
100
105
  }, 8, ["as-child"]));
@@ -103,7 +108,7 @@ const L = [
103
108
  ...$("ProgressLabel"),
104
109
  __name: "ProgressLabel",
105
110
  setup(P) {
106
- const e = R(), i = () => {
111
+ const e = R(), c = () => {
107
112
  var l, a;
108
113
  const o = (a = (l = e.slots).label) == null ? void 0 : a.call(l, {}), s = !z(o);
109
114
  return s || e.props.label ? u(
@@ -112,13 +117,13 @@ const L = [
112
117
  s ? o : e.props.label
113
118
  ) : null;
114
119
  };
115
- return (o, s) => (p(), x(i));
120
+ return (o, s) => (p(), k(c));
116
121
  }
117
122
  }), J = /* @__PURE__ */ b({
118
123
  ...$("ProgressHelperText"),
119
124
  __name: "ProgressHelperText",
120
125
  setup(P) {
121
- const e = R(), i = () => {
126
+ const e = R(), c = () => {
122
127
  var l, a;
123
128
  const o = (a = (l = e.slots).helperText) == null ? void 0 : a.call(l, {}), s = !z(o);
124
129
  return s || e.props.helperText ? u(
@@ -127,38 +132,38 @@ const L = [
127
132
  s ? o : e.props.helperText
128
133
  ) : null;
129
134
  };
130
- return (o, s) => (p(), x(i));
135
+ return (o, s) => (p(), k(c));
131
136
  }
132
137
  }), te = /* @__PURE__ */ b({
133
138
  ...$("ProgressLegend"),
134
139
  __name: "ProgressLegend",
135
140
  setup(P) {
136
- const e = R(), i = m(h, "legend"), o = m(i, "item"), s = (r) => u("div", {
141
+ const e = R(), c = m(h, "legend"), o = m(c, "item"), s = (r) => u("div", {
137
142
  class: m(o, "indicator"),
138
143
  style: { background: e.getColor(r.color) }
139
144
  }), l = (r) => u("div", { class: m(o, "title") }, r.title), a = (r) => u("div", { class: Z(m(o, "percent"), "en") }, `(${r._percent}%)`), y = (r) => u("div", { class: o }, [
140
145
  s(r),
141
146
  l(r),
142
147
  a(r)
143
- ]), f = () => {
148
+ ]), v = () => {
144
149
  var r;
145
150
  return (r = e.getSteps.value) == null ? void 0 : r.map((d) => {
146
151
  var g, _;
147
- const c = (_ = (g = e.slots).legendItem) == null ? void 0 : _.call(g, d);
148
- return z(c) ? y(d) : c;
152
+ const i = (_ = (g = e.slots).legendItem) == null ? void 0 : _.call(g, d);
153
+ return z(i) ? y(d) : i;
149
154
  });
150
155
  }, t = () => {
151
- var c, g, _;
152
- const r = (g = (c = e.slots).legend) == null ? void 0 : g.call(c, {}), d = !z(r);
153
- return d || e.props.legend && ((_ = e.getSteps.value) != null && _.length) ? u("div", { class: i }, d ? r : f()) : null;
156
+ var i, g, _;
157
+ const r = (g = (i = e.slots).legend) == null ? void 0 : g.call(i, {}), d = !z(r);
158
+ return d || e.props.legend && ((_ = e.getSteps.value) != null && _.length) ? u("div", { class: c }, d ? r : v()) : null;
154
159
  };
155
- return (r, d) => (p(), x(t));
160
+ return (r, d) => (p(), k(t));
156
161
  }
157
- }), Se = { viewBox: "0 0 32 32" }, be = /* @__PURE__ */ b({
162
+ }), $e = { viewBox: "0 0 32 32" }, Ie = /* @__PURE__ */ b({
158
163
  ...$("ProgressCircle"),
159
164
  __name: "ProgressCircle",
160
165
  setup(P) {
161
- const e = R(), i = k(() => {
166
+ const e = R(), c = x(() => {
162
167
  switch (e.props.size) {
163
168
  case "2xsm":
164
169
  case "xsm":
@@ -170,32 +175,32 @@ const L = [
170
175
  case "lg":
171
176
  return "sm";
172
177
  }
173
- }), o = F(G, {
178
+ }), o = F(A, {
174
179
  variants: {
175
- size: T(he, G)
180
+ size: T(xe, A)
176
181
  }
177
182
  }), s = () => {
178
- var f, t;
179
- const a = (t = (f = e.slots).icon) == null ? void 0 : t.call(f, {}), y = !z(a);
183
+ var v, t;
184
+ const a = (t = (v = e.slots).icon) == null ? void 0 : t.call(v, {}), y = !z(a);
180
185
  if (e.statusIcon.value || y) {
181
186
  let r = a;
182
187
  return y || (r = u(de, {
183
188
  icon: e.statusIcon.value,
184
- size: i.value
185
- })), u("div", { class: m(G, "content") }, r);
189
+ size: c.value
190
+ })), u("div", { class: m(A, "content") }, r);
186
191
  }
187
192
  return null;
188
- }, l = k(
193
+ }, l = x(
189
194
  () => ue(e.getSteps.value ?? [], ["percent"]).reverse()
190
195
  );
191
196
  return (a, y) => {
192
- var f;
197
+ var v;
193
198
  return p(), S(N, null, [
194
- A("div", {
199
+ G("div", {
195
200
  class: M(n(o)(n(e).props))
196
201
  }, [
197
- (p(), S("svg", Se, [
198
- n(e).props.indeterminate ? (p(), x(W, {
202
+ (p(), S("svg", $e, [
203
+ n(e).props.indeterminate ? (p(), k(W, {
199
204
  key: 1,
200
205
  indeterminate: "",
201
206
  "stroke-linecap": "round",
@@ -205,12 +210,12 @@ const L = [
205
210
  "stroke-linecap": n(e).props.strokeLinecap,
206
211
  trail: ""
207
212
  }, null, 8, ["stroke-linecap"]),
208
- (f = n(e).getSteps.value) != null && f.length ? (p(!0), S(N, { key: 0 }, Y(l.value, (t) => (p(), x(W, {
213
+ (v = n(e).getSteps.value) != null && v.length ? (p(!0), S(N, { key: 0 }, Y(l.value, (t) => (p(), k(W, {
209
214
  key: t.step_id,
210
215
  "stroke-linecap": n(e).props.strokeLinecap,
211
216
  color: n(e).getColor(t.color),
212
217
  percent: t.percent
213
- }, null, 8, ["stroke-linecap", "color", "percent"]))), 128)) : (p(), x(W, {
218
+ }, null, 8, ["stroke-linecap", "color", "percent"]))), 128)) : (p(), k(W, {
214
219
  key: 1,
215
220
  "stroke-linecap": n(e).props.strokeLinecap,
216
221
  color: n(e).props.status ? void 0 : n(e).getColor(n(e).props.color),
@@ -226,11 +231,11 @@ const L = [
226
231
  ], 64);
227
232
  };
228
233
  }
229
- }), $e = /* @__PURE__ */ b({
234
+ }), Le = /* @__PURE__ */ b({
230
235
  ...$("ProgressValidationMessage"),
231
236
  __name: "ProgressValidationMessage",
232
237
  setup(P) {
233
- const e = R(), i = () => {
238
+ const e = R(), c = () => {
234
239
  var o, s;
235
240
  if (e.props.status) {
236
241
  const l = (s = (o = e.slots).validationMessage) == null ? void 0 : s.call(o, {});
@@ -245,13 +250,13 @@ const L = [
245
250
  }
246
251
  return null;
247
252
  };
248
- return (o, s) => (p(), x(i));
253
+ return (o, s) => (p(), k(c));
249
254
  }
250
- }), Ie = /* @__PURE__ */ b({
255
+ }), Be = /* @__PURE__ */ b({
251
256
  ...$("ProgressLine"),
252
257
  __name: "ProgressLine",
253
258
  setup(P) {
254
- const e = R(), i = m(V, "value"), o = F(V, {
259
+ const e = R(), c = m(V, "value"), o = F(V, {
255
260
  variants: {
256
261
  notRounded: T("not-rounded", V),
257
262
  indeterminate: T("indeterminate", V)
@@ -276,7 +281,7 @@ const L = [
276
281
  if (!((t = e.getSteps.value) != null && t.length))
277
282
  return e.getColor(e.props.color);
278
283
  }
279
- }, a = k(() => ({
284
+ }, a = x(() => ({
280
285
  width: s.value ? `${s.value}%` : void 0,
281
286
  background: l(),
282
287
  "--ptc-progress-animation-duration": e.duration.value
@@ -292,11 +297,11 @@ const L = [
292
297
  );
293
298
  }
294
299
  return null;
295
- }, f = () => {
300
+ }, v = () => {
296
301
  if (e.props.status || e.props.indeterminate) {
297
- const t = u(J), r = u($e), d = [], c = ge(e.slots.label || e.props.label) && (e.slots.helperText || e.props.helperText);
298
- if (c && d.push(t), (e.slots.validationMessage || e.props.validationMessage) && !e.props.indeterminate && e.statusIcon.value && (c && d.push(
299
- u(fe, { type: "vertical", class: m(h, "divider") })
302
+ const t = u(J), r = u(Le), d = [], i = _e(e.slots.label || e.props.label) && (e.slots.helperText || e.props.helperText);
303
+ if (i && d.push(t), (e.slots.validationMessage || e.props.validationMessage) && !e.props.indeterminate && e.statusIcon.value && (i && d.push(
304
+ u(ve, { type: "vertical", class: m(h, "divider") })
300
305
  ), d.push(r)), d.length)
301
306
  return u("div", { class: m(h, "line_validation_box") }, d);
302
307
  } else
@@ -307,7 +312,7 @@ const L = [
307
312
  var d;
308
313
  return p(), S(N, null, [
309
314
  B(y),
310
- A("div", {
315
+ G("div", {
311
316
  class: M(
312
317
  n(o)({
313
318
  notRounded: n(e).props.notRounded,
@@ -315,22 +320,22 @@ const L = [
315
320
  })
316
321
  )
317
322
  }, [
318
- A("div", {
319
- class: M(n(i)),
320
- style: O(a.value)
323
+ G("div", {
324
+ class: M(n(c)),
325
+ style: q(a.value)
321
326
  }, [
322
- (d = n(e).getSteps.value) != null && d.length && !n(e).props.indeterminate ? (p(!0), S(N, { key: 0 }, Y(n(e).getSteps.value, (c) => (p(), S("div", {
323
- class: M(n(m)(n(i), "step")),
324
- key: c.step_id,
325
- style: O({ background: n(e).getColor(c.color), width: `${c.percent ?? 0}%` })
327
+ (d = n(e).getSteps.value) != null && d.length && !n(e).props.indeterminate ? (p(!0), S(N, { key: 0 }, Y(n(e).getSteps.value, (i) => (p(), S("div", {
328
+ class: M(n(m)(n(c), "step")),
329
+ key: i.step_id,
330
+ style: q({ background: n(e).getColor(i.color), width: `${i.percent ?? 0}%` })
326
331
  }, null, 6))), 128)) : X("", !0)
327
332
  ], 6)
328
333
  ], 2),
329
- B(f)
334
+ B(v)
330
335
  ], 64);
331
336
  };
332
337
  }
333
- }), Le = ["dir"], Ae = /* @__PURE__ */ b({
338
+ }), Te = ["dir"], Ke = /* @__PURE__ */ b({
334
339
  ...$("Progress"),
335
340
  __name: "Progress",
336
341
  props: {
@@ -357,46 +362,47 @@ const L = [
357
362
  color: { default: "primary" }
358
363
  },
359
364
  setup(P) {
360
- const e = P, i = ne(), o = ce, s = (c, g = !0) => {
361
- const _ = Number(c);
365
+ ge("progress", ye);
366
+ const e = P, c = ne(), o = ie, s = (i, g = !0) => {
367
+ const _ = Number(i);
362
368
  if (!(isNaN(_) || g && (_ > 100 || _ < 0)))
363
369
  return _;
364
- }, l = k(() => s(e.percent) ?? 0), a = k(() => {
365
- var c;
366
- if ((c = e.steps) != null && c.length && !e.status) {
367
- const g = e.steps.map((v) => ({
368
- ...v,
370
+ }, l = x(() => s(e.percent) ?? 0), a = x(() => {
371
+ var i;
372
+ if ((i = e.steps) != null && i.length && !e.status) {
373
+ const g = e.steps.map((f) => ({
374
+ ...f,
369
375
  step_id: ae(h)
370
376
  }));
371
377
  let _ = 0;
372
- const j = g.reduce((v, C) => {
378
+ const j = g.reduce((f, C) => {
373
379
  const w = s(C.percent);
374
380
  w === void 0 && _++;
375
381
  const H = g.findIndex((I) => I.step_id === C.step_id);
376
- return H !== -1 && (g[H].percent = w), v + (w || 0);
382
+ return H !== -1 && (g[H].percent = w), f + (w || 0);
377
383
  }, 0);
378
384
  if (l.value > 100 || l.value < 0 || j > 100 || j < 0)
379
385
  throw "Invalid percentage";
380
386
  let E = 0;
381
- const q = g.map((v) => L.findIndex((C) => C === v.color)).sort(), re = Array.from({ length: L.length }, (v, C) => C).filter(
382
- (v) => !q.includes(v)
387
+ const D = g.map((f) => L.findIndex((C) => C === f.color)).sort(), re = Array.from({ length: L.length }, (f, C) => C).filter(
388
+ (f) => !D.includes(f)
383
389
  );
384
390
  let K = -1;
385
- return g.map((v) => {
386
- const C = (100 - j) / _, w = (I = !0) => v.percent === void 0 ? e.type === "circle" && I ? (E += C, E * ((l.value || 100) / 100)) : C : e.type === "circle" && I ? (E += v.percent, E) : v.percent, H = () => {
387
- const I = o(v.color);
391
+ return g.map((f) => {
392
+ const C = (100 - j) / _, w = (I = !0) => f.percent === void 0 ? e.type === "circle" && I ? (E += C, E * ((l.value || 100) / 100)) : C : e.type === "circle" && I ? (E += f.percent, E) : f.percent, H = () => {
393
+ const I = o(f.color);
388
394
  if (!I) {
389
- if (L.length !== q.length) {
390
- const D = re.shift();
391
- if (ve(D))
392
- return q.push(D), L[D];
395
+ if (L.length !== D.length) {
396
+ const O = re.shift();
397
+ if (fe(O))
398
+ return D.push(O), L[O];
393
399
  }
394
400
  return K++, L[K % L.length];
395
401
  }
396
402
  return I;
397
403
  };
398
404
  return {
399
- ...v,
405
+ ...f,
400
406
  percent: w(),
401
407
  _percent: w(!1),
402
408
  color: H()
@@ -405,10 +411,10 @@ const L = [
405
411
  }
406
412
  }), y = F(h, {
407
413
  variants: {
408
- status: T(ye, h),
409
- type: T(ke, h)
414
+ status: T(ke, h),
415
+ type: T(Pe, h)
410
416
  }
411
- }), f = k(() => e.noAnimate ? 0 : (s(e.duration, !1) || 0) / 1e3), { getDir: t } = _e(), r = t(), d = k(() => {
417
+ }), v = x(() => e.noAnimate ? 0 : (s(e.duration, !1) || 0) / 1e3), { getDir: t } = he(), r = t(), d = x(() => {
412
418
  switch (e.status) {
413
419
  case "success":
414
420
  return e.type === "circle" ? "tabler:check" : "tabler:circle-check";
@@ -418,33 +424,33 @@ const L = [
418
424
  return e.type === "circle" ? "tabler:x" : "tabler:circle-x";
419
425
  }
420
426
  });
421
- return xe({
427
+ return Ce({
422
428
  props: e,
423
429
  getColor: o,
424
430
  getSteps: a,
425
431
  percentProp: l,
426
432
  getPercent: s,
427
- duration: f,
428
- slots: i,
433
+ duration: v,
434
+ slots: c,
429
435
  statusIcon: d
430
- }), (c, g) => (p(), S("div", {
436
+ }), (i, g) => (p(), S("div", {
431
437
  class: M(n(y)(e)),
432
438
  dir: n(r)
433
439
  }, [
434
- c.type === "circle" ? (p(), x(be, { key: 0 })) : (p(), x(Ie, { key: 1 }))
435
- ], 10, Le));
440
+ i.type === "circle" ? (p(), k(Ie, { key: 0 })) : (p(), k(Be, { key: 1 }))
441
+ ], 10, Te));
436
442
  }
437
443
  });
438
444
  export {
439
445
  L as P,
440
- Ae as _,
441
- Ge as a,
446
+ Ke as _,
447
+ Je as a,
442
448
  h as b,
443
- G as c,
449
+ A as c,
444
450
  V as d,
445
- he as e,
446
- ye as f,
447
- ke as g,
451
+ xe as e,
452
+ ke as f,
453
+ Pe as g,
448
454
  R as i,
449
- xe as p
455
+ Ce as p
450
456
  };
@@ -1,4 +1,4 @@
1
- import { RadioGroupRootProps } from 'reka-ui';
1
+ import { RadioGroupRootEmits, RadioGroupRootProps } from 'reka-ui';
2
2
  import { RadioGroupItemProps } from './RadioGroupItem';
3
3
  import { RadioGroupSize } from './RadioGroup.model';
4
4
  import { ClassValue } from 'class-variance-authority/types';
@@ -9,6 +9,9 @@ export interface RadioGroupProps extends RadioGroupRootProps {
9
9
  size?: RadioGroupSize;
10
10
  class?: ClassValue;
11
11
  }
12
+ export interface RadioGroupEmits extends RadioGroupRootEmits {
13
+ change: RadioGroupRootEmits['update:modelValue'];
14
+ }
12
15
  declare function __VLS_template(): {
13
16
  attrs: Partial<{}>;
14
17
  slots: {
@@ -20,10 +23,13 @@ declare function __VLS_template(): {
20
23
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
24
  declare const __VLS_component: import('vue').DefineComponent<RadioGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
25
  "update:modelValue": (payload: string) => any;
26
+ change: (payload: string) => any;
23
27
  }, string, import('vue').PublicProps, Readonly<RadioGroupProps> & Readonly<{
24
28
  "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
29
+ onChange?: ((payload: string) => any) | undefined;
25
30
  }>, {
26
31
  size: RadioGroupSize;
32
+ disabled: boolean;
27
33
  orientation: "horizontal" | "vertical";
28
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,12 +1,12 @@
1
1
  import { RadioGroupItemProps as RadixRadioGroupItemProps } from 'reka-ui';
2
2
  import { ClassValue } from 'class-variance-authority/types';
3
+ export declare const radioGroupPrefix: string;
3
4
  export interface RadioGroupItemProps extends Omit<RadixRadioGroupItemProps, 'asChild' | 'as'> {
4
5
  class?: ClassValue;
5
6
  rootCls?: ClassValue;
6
7
  labelCls?: ClassValue;
7
8
  label?: string;
8
9
  }
9
- export declare const radioGroupPrefix: string;
10
10
  export interface RadioGroupSlots {
11
11
  label?: () => never;
12
12
  }
@@ -1,4 +1,4 @@
1
- import { _ as r, a as d, _ as e } from "../RadioGroup.vue_vue_type_script_setup_true_lang-Zo3ozdqk.js";
1
+ import { _ as r, a as d, _ as e } from "../RadioGroup.vue_vue_type_script_setup_true_lang-w2aa6VhW.js";
2
2
  export {
3
3
  r as RadioGroup,
4
4
  d as RadioGroupItem,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../RadioGroup.vue_vue_type_script_setup_true_lang-B9rRuGDt.js");exports.RadioGroup=e._sfc_main;exports.RadioGroupItem=e._sfc_main$1;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../RadioGroup.vue_vue_type_script_setup_true_lang-B_-7GgYM.js");exports.RadioGroup=e._sfc_main;exports.RadioGroupItem=e._sfc_main$1;exports.default=e._sfc_main;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),f=require("reka-ui"),k=require("class-variance-authority"),B=require("es-toolkit"),_=require("./options-CY2uxp5A.js"),q=require("./Icon.vue_vue_type_script_setup_true_lang-BDTw4CRD.js"),b=require("./useInputDataStates-CVQJAe1K.js");require("@vueuse/core");require("@tanstack/vue-virtual");const V=require("@pantograph/style/radio.css?raw"),o=require("@pantograph/utils");require("@pantograph/tokens");const h=["for"],i=o.getBemBlock("radio_group"),v=e.defineComponent({..._.getComponentOptions("RadioGroupItem"),__name:"RadioGroupItem",props:{class:{},rootCls:{},labelCls:{},label:{},id:{},value:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","blur","focus"],setup(u,{emit:c}){q.useComponentStyle("radio",V);const t=u,s=o.getBemElement(i,"item"),d=e.useSlots(),m=c,n=e.computed(()=>t.id??o.usePCId(s)),{rootBindings:p,inputBindings:l}=b.UseInputDataStates({getDisabled:()=>t.disabled,emit:m}),a=e.computed(()=>({...B.omit(t,["class","id","rootCls","labelCls","label"]),id:n.value,...l.value})),C=e.computed(()=>!!(d.label||t.label));return(r,g)=>(e.openBlock(),e.createElementBlock("label",e.mergeProps({class:e.unref(o.normCls)(e.unref(o.getBemElement)(e.unref(s),"root"),r.rootCls)},e.unref(p),{for:n.value}),[e.createVNode(e.unref(f.RadioGroupItem),e.mergeProps({class:e.unref(o.normCls)(e.unref(s),t.class)},a.value),{default:e.withCtx(()=>[e.createVNode(e.unref(f.RadioGroupIndicator),{class:e.normalizeClass(e.unref(o.getBemElement)(e.unref(s),"indicator")),as:"div"},null,8,["class"])]),_:1},16,["class"]),C.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(o.normCls)(e.unref(o.getBemElement)(e.unref(s),"label"),r.labelCls))},[e.renderSlot(r.$slots,"label",{},()=>[e.createTextVNode(e.toDisplayString(r.label),1)])],2)):e.createCommentVNode("",!0)],16,h))}}),y=["2xsm","xsm"],G=e.defineComponent({..._.getComponentOptions("RadioGroup"),__name:"RadioGroup",props:{items:{},options:{},size:{default:"xsm"},class:{},modelValue:{},defaultValue:{},disabled:{type:Boolean,default:void 0},orientation:{default:"vertical"},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean}},emits:["change","update:modelValue"],setup(u,{emit:c}){const t=u,s=c,d=e.computed(()=>B.omit(t,["items","options","class"])),m=a=>{s("update:modelValue",a),s("change",a)},n=k.cva(i,{variants:{size:o.generateVariantClassList(y,i),orientation:o.generateVariantClassList(["vertical","horizontal"],i)}}),{getDisabled:p}=b.useFormInput(),l=e.computed(()=>t.options??t.items);return(a,C)=>(e.openBlock(),e.createBlock(e.unref(f.RadioGroupRoot),e.mergeProps({...d.value,disabled:e.unref(p)},{"onUpdate:modelValue":m,class:e.unref(o.normCls)(e.unref(n)(t),t.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>{var r;return[(r=l.value)!=null&&r.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.value,g=>(e.openBlock(),e.createBlock(v,e.mergeProps({ref_for:!0},g),null,16))),256)):e.createCommentVNode("",!0)]})]),_:3},16,["class"]))}});exports._sfc_main=G;exports._sfc_main$1=v;
@@ -0,0 +1,110 @@
1
+ import { defineComponent as R, useSlots as D, computed as l, createElementBlock as v, openBlock as r, mergeProps as u, unref as e, createVNode as h, createCommentVNode as I, withCtx as k, normalizeClass as y, renderSlot as x, createTextVNode as P, toDisplayString as U, createBlock as V, Fragment as L, renderList as N } from "vue";
2
+ import { RadioGroupItem as $, RadioGroupIndicator as q, RadioGroupRoot as w } from "reka-ui";
3
+ import { cva as E } from "class-variance-authority";
4
+ import { omit as S } from "es-toolkit";
5
+ import { a as z } from "./options-J8HfRMSU.js";
6
+ import { u as F } from "./Icon.vue_vue_type_script_setup_true_lang-DJv20Efl.js";
7
+ import { U as O, u as T } from "./useInputDataStates-DCxDvkM-.js";
8
+ import "@vueuse/core";
9
+ import "@tanstack/vue-virtual";
10
+ import j from "@pantograph/style/radio.css?raw";
11
+ import { getBemBlock as A, getBemElement as d, usePCId as H, normCls as m, generateVariantClassList as G } from "@pantograph/utils";
12
+ import "@pantograph/tokens";
13
+ const J = ["for"], p = A("radio_group"), K = /* @__PURE__ */ R({
14
+ ...z("RadioGroupItem"),
15
+ __name: "RadioGroupItem",
16
+ props: {
17
+ class: {},
18
+ rootCls: {},
19
+ labelCls: {},
20
+ label: {},
21
+ id: {},
22
+ value: {},
23
+ disabled: { type: Boolean },
24
+ name: {},
25
+ required: { type: Boolean }
26
+ },
27
+ emits: ["update:modelValue", "blur", "focus"],
28
+ setup(c, { emit: f }) {
29
+ F("radio", j);
30
+ const o = c, t = d(p, "item"), b = D(), C = f, i = l(() => o.id ?? H(t)), { rootBindings: g, inputBindings: n } = O({
31
+ getDisabled: () => o.disabled,
32
+ emit: C
33
+ }), s = l(() => ({
34
+ ...S(o, ["class", "id", "rootCls", "labelCls", "label"]),
35
+ id: i.value,
36
+ ...n.value
37
+ })), B = l(() => !!(b.label || o.label));
38
+ return (a, _) => (r(), v("label", u({
39
+ class: e(m)(e(d)(e(t), "root"), a.rootCls)
40
+ }, e(g), { for: i.value }), [
41
+ h(e($), u({
42
+ class: e(m)(e(t), o.class)
43
+ }, s.value), {
44
+ default: k(() => [
45
+ h(e(q), {
46
+ class: y(e(d)(e(t), "indicator")),
47
+ as: "div"
48
+ }, null, 8, ["class"])
49
+ ]),
50
+ _: 1
51
+ }, 16, ["class"]),
52
+ B.value ? (r(), v("span", {
53
+ key: 0,
54
+ class: y(e(m)(e(d)(e(t), "label"), a.labelCls))
55
+ }, [
56
+ x(a.$slots, "label", {}, () => [
57
+ P(U(a.label), 1)
58
+ ])
59
+ ], 2)) : I("", !0)
60
+ ], 16, J));
61
+ }
62
+ }), M = ["2xsm", "xsm"], ie = /* @__PURE__ */ R({
63
+ ...z("RadioGroup"),
64
+ __name: "RadioGroup",
65
+ props: {
66
+ items: {},
67
+ options: {},
68
+ size: { default: "xsm" },
69
+ class: {},
70
+ modelValue: {},
71
+ defaultValue: {},
72
+ disabled: { type: Boolean, default: void 0 },
73
+ orientation: { default: "vertical" },
74
+ dir: {},
75
+ loop: { type: Boolean },
76
+ asChild: { type: Boolean },
77
+ as: {},
78
+ name: {},
79
+ required: { type: Boolean }
80
+ },
81
+ emits: ["change", "update:modelValue"],
82
+ setup(c, { emit: f }) {
83
+ const o = c, t = f, b = l(() => S(o, ["items", "options", "class"])), C = (s) => {
84
+ t("update:modelValue", s), t("change", s);
85
+ }, i = E(p, {
86
+ variants: {
87
+ size: G(M, p),
88
+ orientation: G(["vertical", "horizontal"], p)
89
+ }
90
+ }), { getDisabled: g } = T(), n = l(() => o.options ?? o.items);
91
+ return (s, B) => (r(), V(e(w), u({ ...b.value, disabled: e(g) }, {
92
+ "onUpdate:modelValue": C,
93
+ class: e(m)(e(i)(o), o.class)
94
+ }), {
95
+ default: k(() => [
96
+ x(s.$slots, "default", {}, () => {
97
+ var a;
98
+ return [
99
+ (a = n.value) != null && a.length ? (r(!0), v(L, { key: 0 }, N(n.value, (_) => (r(), V(K, u({ ref_for: !0 }, _), null, 16))), 256)) : I("", !0)
100
+ ];
101
+ })
102
+ ]),
103
+ _: 3
104
+ }, 16, ["class"]));
105
+ }
106
+ });
107
+ export {
108
+ ie as _,
109
+ K as a
110
+ };