@pantograph/vue 0.23.0 → 0.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) 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-CcQqao00.js → ActionButton.vue_vue_type_script_setup_true_lang-C40QLnax.js} +2 -2
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-9KLDmGYU.js → ActionButton.vue_vue_type_script_setup_true_lang-Zbt1lDGL.js} +1 -1
  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-Dc6uFy38.js → Alert.vue_vue_type_style_index_0_lang-DugtMNn6.js} +4 -4
  8. package/dist/{Alert.vue_vue_type_style_index_0_lang-BO0hGV-5.js → Alert.vue_vue_type_style_index_0_lang-x6PDS57O.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-BIoHlavX.js → Avatar.vue_vue_type_style_index_0_lang-DTxpdu2k.js} +3 -3
  12. package/dist/{Avatar.vue_vue_type_style_index_0_lang-B-Ag5VWz.js → Avatar.vue_vue_type_style_index_0_lang-Dbdnz5VW.js} +1 -1
  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-CTSx6U_M.js → Badge.vue_vue_type_script_setup_true_lang-Dc6rezGr.js} +2 -2
  18. package/dist/{Badge.vue_vue_type_script_setup_true_lang-C1EgUY0e.js → Badge.vue_vue_type_script_setup_true_lang-hG6klYy2.js} +1 -1
  19. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-B_yMpWXJ.js → BaseBadge.vue_vue_type_style_index_0_lang-BMX9MX3W.js} +1 -1
  20. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-DCuagJOf.js → BaseBadge.vue_vue_type_style_index_0_lang-VEdsFDiH.js} +1 -1
  21. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C2y_wKyY.js → BaseButton.vue_vue_type_style_index_0_lang-BGYEuhbj.js} +4 -4
  22. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-DBPimVAm.js → BaseButton.vue_vue_type_style_index_0_lang-CcVDY3yV.js} +1 -1
  23. package/dist/Button/index.js +1 -1
  24. package/dist/Button/index.umd.cjs +1 -1
  25. package/dist/{Button.vue_vue_type_script_setup_true_lang-FfYrgTkY.js → Button.vue_vue_type_script_setup_true_lang--np1Hw7N.js} +1 -1
  26. package/dist/{Button.vue_vue_type_script_setup_true_lang-KulThQVd.js → Button.vue_vue_type_script_setup_true_lang-bjhWtH8H.js} +2 -2
  27. package/dist/Checkbox/index.js +1 -1
  28. package/dist/Checkbox/index.umd.cjs +1 -1
  29. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-D8rc8anP.js → Checkbox.vue_vue_type_style_index_0_lang-5tG-1ejh.js} +2 -2
  30. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-C98z6Uaw.js → Checkbox.vue_vue_type_style_index_0_lang-DaWMPx_d.js} +1 -1
  31. package/dist/CheckboxGroup/index.js +1 -1
  32. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  33. package/dist/Chip/index.js +2 -2
  34. package/dist/Chip/index.umd.cjs +1 -1
  35. package/dist/{Chip.vue_vue_type_style_index_0_lang-CRT0bmU6.js → Chip.vue_vue_type_style_index_0_lang-Ci2Oqnfd.js} +2 -2
  36. package/dist/{Chip.vue_vue_type_style_index_0_lang-DEYLbYPA.js → Chip.vue_vue_type_style_index_0_lang-DqVcmql_.js} +1 -1
  37. package/dist/ChipGroup/index.js +1 -1
  38. package/dist/ChipGroup/index.umd.cjs +1 -1
  39. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-DWT3Gtws.js → ChipGroup.vue_vue_type_style_index_0_lang-Bln1W3La.js} +1 -1
  40. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-17_5KeUm.js → ChipGroup.vue_vue_type_style_index_0_lang-ZlvXsJHD.js} +1 -1
  41. package/dist/ColorPicker/index.js +1 -1
  42. package/dist/ColorPicker/index.umd.cjs +1 -1
  43. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-URr3Uh2g.js → ColorPicker.vue_vue_type_style_index_0_lang-B8rVS60w.js} +3 -3
  44. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-PdEaUt0-.js → ColorPicker.vue_vue_type_style_index_0_lang-BnjCOPow.js} +1 -1
  45. package/dist/ColorSwatch/index.js +1 -1
  46. package/dist/ColorSwatch/index.umd.cjs +1 -1
  47. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-D3kS4OhB.js → ColorSwatch.vue_vue_type_style_index_0_lang-BCkqRsud.js} +1 -1
  48. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-CfFSkFNC.js → ColorSwatch.vue_vue_type_style_index_0_lang-CjQa4I-g.js} +3 -3
  49. package/dist/ColorSwatchGroup/index.js +1 -1
  50. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  51. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-C8rQPWGD.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-BxBlKgbC.js} +4 -4
  52. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-B8cJsDqQ.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-DBbTuynH.js} +1 -1
  53. package/dist/ColorTrigger/index.js +1 -1
  54. package/dist/ColorTrigger/index.umd.cjs +1 -1
  55. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-ocCOj1IG.js → ColorTrigger.vue_vue_type_style_index_0_lang-BNTg203W.js} +3 -3
  56. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-BUiBupQ9.js → ColorTrigger.vue_vue_type_style_index_0_lang-Brci1et_.js} +1 -1
  57. package/dist/ConfigProvider/index.js +1 -1
  58. package/dist/ConfigProvider/index.umd.cjs +1 -1
  59. package/dist/DataTable/index.js +1 -1
  60. package/dist/DataTable/index.umd.cjs +1 -1
  61. package/dist/{DataTable.vue_vue_type_style_index_0_lang-D2Y8MDt8.js → DataTable.vue_vue_type_style_index_0_lang-CRVmec4j.js} +12 -12
  62. package/dist/{DataTable.vue_vue_type_style_index_0_lang-DKKQFsl6.js → DataTable.vue_vue_type_style_index_0_lang-ygPXw5Mi.js} +1 -1
  63. package/dist/DropZone/index.js +1 -1
  64. package/dist/DropZone/index.umd.cjs +1 -1
  65. package/dist/{DropZone.vue_vue_type_style_index_0_lang-DLNj8j_C.js → DropZone.vue_vue_type_style_index_0_lang-CH23eQwT.js} +2 -2
  66. package/dist/{DropZone.vue_vue_type_style_index_0_lang-DmwUpuJI.js → DropZone.vue_vue_type_style_index_0_lang-oJc56iXj.js} +1 -1
  67. package/dist/Empty/index.js +1 -1
  68. package/dist/Empty/index.umd.cjs +1 -1
  69. package/dist/{Empty.vue_vue_type_style_index_0_lang-CuQcDV5E.js → Empty.vue_vue_type_style_index_0_lang-C4a5JepF.js} +1 -1
  70. package/dist/{Empty.vue_vue_type_style_index_0_lang-DT5JnUqN.js → Empty.vue_vue_type_style_index_0_lang-DHvpu4sq.js} +1 -1
  71. package/dist/FloatButton/index.js +1 -1
  72. package/dist/FloatButton/index.umd.cjs +1 -1
  73. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-pRCc5F-L.js → FloatButton.vue_vue_type_script_setup_true_lang-BGZBnlXi.js} +2 -2
  74. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-CVGgB-Tm.js → FloatButton.vue_vue_type_script_setup_true_lang-CaKIkb0P.js} +1 -1
  75. package/dist/Form/index.js +1 -1
  76. package/dist/Form/index.umd.cjs +1 -1
  77. package/dist/GOPicker/index.js +1 -1
  78. package/dist/GOPicker/index.umd.cjs +1 -1
  79. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CPqOVLZ9.js → GOPicker.vue_vue_type_style_index_0_lang-CjqAqI_W.js} +1 -1
  80. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-iOq-J-RN.js → GOPicker.vue_vue_type_style_index_0_lang-cFBk9_vx.js} +11 -11
  81. package/dist/GraphicalObject/index.js +1 -1
  82. package/dist/GraphicalObject/index.umd.cjs +1 -1
  83. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-BuLWC_UH.js → GraphicalObject.vue_vue_type_script_setup_true_lang-BZCn44kG.js} +3 -3
  84. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-DPne-4SI.js → GraphicalObject.vue_vue_type_script_setup_true_lang-Byz-BOG1.js} +1 -1
  85. package/dist/GraphicalObjectGroup/index.js +1 -1
  86. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  87. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CrBvNPZc.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-COvFyzfP.js} +1 -1
  88. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-B1xCzMBX.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DiSPJXBZ.js} +1 -1
  89. package/dist/Icon/index.js +1 -1
  90. package/dist/Icon/index.umd.cjs +1 -1
  91. package/dist/{Icon.vue_vue_type_style_index_0_lang-BjAp2TPg.js → Icon.vue_vue_type_style_index_0_lang-Cc8Uh2lr.js} +2 -2
  92. package/dist/{Icon.vue_vue_type_style_index_0_lang-DwTaEYnw.js → Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js} +2 -2
  93. package/dist/IconButton/index.js +1 -1
  94. package/dist/IconButton/index.umd.cjs +1 -1
  95. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-Cc4O_tGW.js → IconButton.vue_vue_type_script_setup_true_lang-BjFzPsUi.js} +2 -2
  96. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-DN9Pg95b.js → IconButton.vue_vue_type_script_setup_true_lang-CGb0HxvX.js} +1 -1
  97. package/dist/Image/index.js +1 -1
  98. package/dist/Image/index.umd.cjs +1 -1
  99. package/dist/{Image.vue_vue_type_style_index_0_lang-BNx8S5ED.js → Image.vue_vue_type_style_index_0_lang-3vJwTwh4.js} +2 -2
  100. package/dist/{Image.vue_vue_type_style_index_0_lang-M9u3w_Xx.js → Image.vue_vue_type_style_index_0_lang-DVDZ0ova.js} +1 -1
  101. package/dist/IndentLevel/index.js +1 -1
  102. package/dist/IndentLevel/index.umd.cjs +1 -1
  103. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-DbECAb3_.js → IndentLevel.vue_vue_type_style_index_0_lang-BWLdpspA.js} +3 -3
  104. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BspMh5vS.js → IndentLevel.vue_vue_type_style_index_0_lang-DVx2S15S.js} +1 -1
  105. package/dist/Indicator/index.js +1 -1
  106. package/dist/Indicator/index.umd.cjs +1 -1
  107. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-Cn0dPSWi.js → Indicator.vue_vue_type_script_setup_true_lang-B1mn9s7i.js} +2 -2
  108. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-CbazOYtZ.js → Indicator.vue_vue_type_script_setup_true_lang-_V0q7Zly.js} +1 -1
  109. package/dist/Input/index.js +1 -1
  110. package/dist/Input/index.umd.cjs +1 -1
  111. package/dist/{Input.vue_vue_type_style_index_0_lang-B36ODtKB.js → Input.vue_vue_type_style_index_0_lang-BFNYYFfe.js} +2 -2
  112. package/dist/{Input.vue_vue_type_style_index_0_lang-C3wHsLuO.js → Input.vue_vue_type_style_index_0_lang-HuiLdgsj.js} +1 -1
  113. package/dist/Kbd/index.js +1 -1
  114. package/dist/Kbd/index.umd.cjs +1 -1
  115. package/dist/{Kbd.vue_vue_type_style_index_0_lang-Nh7YxSKh.js → Kbd.vue_vue_type_style_index_0_lang-CuYfgo6l.js} +1 -1
  116. package/dist/{Kbd.vue_vue_type_style_index_0_lang-BXF6Pwx_.js → Kbd.vue_vue_type_style_index_0_lang-uEudChpD.js} +1 -1
  117. package/dist/Label/index.js +1 -1
  118. package/dist/Label/index.umd.cjs +1 -1
  119. package/dist/Link/index.js +1 -1
  120. package/dist/Link/index.umd.cjs +1 -1
  121. package/dist/{Link.vue_vue_type_style_index_0_lang-DBcWxMUI.js → Link.vue_vue_type_style_index_0_lang-AsoIRQm_.js} +1 -1
  122. package/dist/{Link.vue_vue_type_style_index_0_lang-ZS5gldRN.js → Link.vue_vue_type_style_index_0_lang-BgwJE1ku.js} +1 -1
  123. package/dist/Menu/index.js +1 -1
  124. package/dist/Menu/index.umd.cjs +1 -1
  125. package/dist/{Menu.vue_vue_type_style_index_0_lang-DJUI0cDL.js → Menu.vue_vue_type_style_index_0_lang-CFuwm984.js} +3 -3
  126. package/dist/{Menu.vue_vue_type_style_index_0_lang-CubIX9qe.js → Menu.vue_vue_type_style_index_0_lang-CiyZmFBO.js} +1 -1
  127. package/dist/MenuItem/index.js +1 -1
  128. package/dist/MenuItem/index.umd.cjs +1 -1
  129. package/dist/Popover/Popover.d.ts +1 -102
  130. package/dist/Popover/index.js +1 -1
  131. package/dist/Popover/index.umd.cjs +1 -1
  132. package/dist/{Popover.vue_vue_type_style_index_0_lang-1N-p2jeN.js → Popover.vue_vue_type_style_index_0_lang-B-MX4Q7D.js} +21 -21
  133. package/dist/{Popover.vue_vue_type_style_index_0_lang-CyMu3Xx0.js → Popover.vue_vue_type_style_index_0_lang-BnKgARrA.js} +1 -1
  134. package/dist/RadioGroup/index.js +1 -1
  135. package/dist/RadioGroup/index.umd.cjs +1 -1
  136. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Bc_8IXPT.js → RadioGroup.vue_vue_type_script_setup_true_lang-Dq66i_P9.js} +1 -1
  137. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-CgRUMlpC.js → RadioGroup.vue_vue_type_script_setup_true_lang-bWA97IMn.js} +2 -2
  138. package/dist/ScrollContainer/ScrollContainer.d.ts +3 -395
  139. package/dist/ScrollContainer/index.js +1 -1
  140. package/dist/ScrollContainer/index.umd.cjs +1 -1
  141. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-CMdXXxZr.js +1 -0
  142. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-CSLCU0p6.js → ScrollContainer.vue_vue_type_style_index_0_lang-CZgFGbH_.js} +47 -47
  143. package/dist/Select/index.js +1 -1
  144. package/dist/Select/index.umd.cjs +1 -1
  145. package/dist/{Select.vue_vue_type_style_index_0_lang-DCJ67w-X.js → Select.vue_vue_type_style_index_0_lang-ClYkFAEj.js} +7 -7
  146. package/dist/{Select.vue_vue_type_style_index_0_lang-BTgHRXX_.js → Select.vue_vue_type_style_index_0_lang-RdNEKYeJ.js} +1 -1
  147. package/dist/Shortcut/index.js +1 -1
  148. package/dist/Shortcut/index.umd.cjs +1 -1
  149. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-CciPWuSf.js → Shortcut.vue_vue_type_style_index_0_lang-DIDsOrKm.js} +1 -1
  150. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-CiUggE_F.js → Shortcut.vue_vue_type_style_index_0_lang-DXBz4Ysp.js} +2 -2
  151. package/dist/Spinner/index.js +1 -1
  152. package/dist/Spinner/index.umd.cjs +1 -1
  153. package/dist/{Spinner.vue_vue_type_style_index_0_lang-U9S8eFoU.js → Spinner.vue_vue_type_style_index_0_lang-17QUeFmj.js} +1 -1
  154. package/dist/{Spinner.vue_vue_type_style_index_0_lang-CtV8D35S.js → Spinner.vue_vue_type_style_index_0_lang-DxV3D_9N.js} +1 -1
  155. package/dist/Switch/index.js +1 -1
  156. package/dist/Switch/index.umd.cjs +1 -1
  157. package/dist/{Switch.vue_vue_type_style_index_0_lang-CbPa8rrd.js → Switch.vue_vue_type_style_index_0_lang-BrkQxi9f.js} +2 -2
  158. package/dist/{Switch.vue_vue_type_style_index_0_lang-T01ZPIDf.js → Switch.vue_vue_type_style_index_0_lang-DISD-AzJ.js} +1 -1
  159. package/dist/{THead.vue_vue_type_style_index_0_lang-CPVnfFwH.js → THead.vue_vue_type_style_index_0_lang-BcVlFS1z.js} +1 -1
  160. package/dist/{THead.vue_vue_type_style_index_0_lang-Bs2eiSIK.js → THead.vue_vue_type_style_index_0_lang-Ck81v68E.js} +1 -1
  161. package/dist/Table/index.js +1 -1
  162. package/dist/Table/index.umd.cjs +1 -1
  163. package/dist/Textarea/Textarea.d.ts +5 -509
  164. package/dist/Textarea/index.js +1 -1
  165. package/dist/Textarea/index.umd.cjs +1 -1
  166. package/dist/{Textarea.vue_vue_type_style_index_0_lang-DSq3XynL.js → Textarea.vue_vue_type_style_index_0_lang-CJHHqEWa.js} +1 -1
  167. package/dist/{Textarea.vue_vue_type_style_index_0_lang-D9qOlkQi.js → Textarea.vue_vue_type_style_index_0_lang-DnQgUyjY.js} +3 -3
  168. package/dist/Tree/Tree.d.ts +1 -3
  169. package/dist/Tree/Tree.model.d.ts +15 -17
  170. package/dist/Tree/TreeNode.d.ts +0 -2
  171. package/dist/Tree/index.js +1 -1
  172. package/dist/Tree/index.umd.cjs +1 -1
  173. package/dist/Tree.vue_vue_type_style_index_0_lang-B9L-4ciK.js +6 -0
  174. package/dist/Tree.vue_vue_type_style_index_0_lang-BRU_5PuO.js +1806 -0
  175. package/dist/{index-IdtPmXeP.js → index-BbGUveIH.js} +4 -4
  176. package/dist/{index-BRvIONa8.js → index-zMkg_RCw.js} +1 -1
  177. package/dist/index.js +39 -39
  178. package/dist/index.umd.cjs +1 -1
  179. package/dist/style/index.css +1 -1
  180. package/dist/{uniq-D1JzwKWa.js → uniq-Ci_ZUo6O.js} +1 -1
  181. package/dist/{uniq-D7FwKSyV.js → uniq-D8HAKpFq.js} +1 -1
  182. package/dist/{useInputDataStates-DdGDk2Hm.js → useInputDataStates-BVOCxFWp.js} +1 -1
  183. package/dist/{useInputDataStates-D6nrxMSF.js → useInputDataStates-C6bS7MJv.js} +1 -1
  184. package/dist/utils/index.js +1 -1
  185. package/dist/utils/index.umd.cjs +1 -1
  186. package/package.json +6 -6
  187. package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-BgwgYelV.js +0 -1
  188. package/dist/Tree.vue_vue_type_style_index_0_lang-CojL7dhn.js +0 -1
  189. package/dist/Tree.vue_vue_type_style_index_0_lang-DWj8WAj6.js +0 -528
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),i=require("reka-ui"),k=require("class-variance-authority"),C=require("./Icon.vue_vue_type_style_index_0_lang-BjAp2TPg.js"),b=require("./options-CWrQ7gsa.js"),v=require("./useInputDataStates-D6nrxMSF.js"),t=require("@pantograph/utils"),V=["for"],l=t.getBemBlock("radio_group"),_=e.defineComponent({...b.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}){const o=u,s=t.getBemElement(l,"item"),d=e.useSlots(),m=c,r=e.computed(()=>o.id??t.usePCId(s)),{rootBindings:p,inputBindings:n}=v.UseInputDataStates({getDisabled:()=>o.disabled,emit:m}),f=e.computed(()=>({...C.omit(o,"class","id","rootCls","labelCls","label"),id:r.value,...n.value})),B=e.computed(()=>!!(d.label||o.label));return(a,g)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:[e.unref(t.getBemElement)(e.unref(s),"root"),a.rootCls]},e.unref(p)),[e.createVNode(e.unref(i.RadioGroupItem),e.mergeProps({class:[e.unref(s),o.class]},f.value),{default:e.withCtx(()=>[e.createVNode(e.unref(i.RadioGroupIndicator),{class:e.normalizeClass(e.unref(t.getBemElement)(e.unref(s),"indicator")),as:"div"},null,8,["class"])]),_:1},16,["class"]),B.value?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass([e.unref(t.getBemElement)(e.unref(s),"label"),a.labelCls]),for:r.value},[e.renderSlot(a.$slots,"label",{},()=>[e.createTextVNode(e.toDisplayString(a.label),1)])],10,V)):e.createCommentVNode("",!0)],16))}}),h=["2xsm","xsm"],y=e.defineComponent({...b.getComponentOptions("RadioGroup"),__name:"RadioGroup",props:{items:{},options:{},size:{default:"xsm"},class:{},modelValue:{},defaultValue:{},disabled:{type:Boolean},orientation:{default:"vertical"},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean}},emits:["update:modelValue"],setup(u,{emit:c}){const o=u,s=c,d=e.computed(()=>C.omit(o,"items","options","class")),m=i.useForwardPropsEmits(d,s),r=k.cva(l,{variants:{size:t.generateVariantClassList(h,l),orientation:t.generateVariantClassList(["vertical","horizontal"],l)}}),{getDisabled:p}=v.useFormInput(),n=e.computed(()=>o.options??o.items);return(f,B)=>(e.openBlock(),e.createBlock(e.unref(i.RadioGroupRoot),e.mergeProps({...e.unref(m),disabled:e.unref(p)},{class:[e.unref(r)(o),o.class]}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},()=>{var a;return[(a=n.value)!=null&&a.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.value,g=>(e.openBlock(),e.createBlock(_,e.mergeProps({ref_for:!0},g),null,16))),256)):e.createCommentVNode("",!0)]})]),_:3},16,["class"]))}});exports._sfc_main=y;exports._sfc_main$1=_;
1
+ "use strict";const e=require("vue"),i=require("reka-ui"),k=require("class-variance-authority"),C=require("./Icon.vue_vue_type_style_index_0_lang-Cc8Uh2lr.js"),b=require("./options-CWrQ7gsa.js"),v=require("./useInputDataStates-C6bS7MJv.js"),t=require("@pantograph/utils"),V=["for"],l=t.getBemBlock("radio_group"),_=e.defineComponent({...b.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}){const o=u,s=t.getBemElement(l,"item"),d=e.useSlots(),m=c,r=e.computed(()=>o.id??t.usePCId(s)),{rootBindings:p,inputBindings:n}=v.UseInputDataStates({getDisabled:()=>o.disabled,emit:m}),f=e.computed(()=>({...C.omit(o,"class","id","rootCls","labelCls","label"),id:r.value,...n.value})),B=e.computed(()=>!!(d.label||o.label));return(a,g)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:[e.unref(t.getBemElement)(e.unref(s),"root"),a.rootCls]},e.unref(p)),[e.createVNode(e.unref(i.RadioGroupItem),e.mergeProps({class:[e.unref(s),o.class]},f.value),{default:e.withCtx(()=>[e.createVNode(e.unref(i.RadioGroupIndicator),{class:e.normalizeClass(e.unref(t.getBemElement)(e.unref(s),"indicator")),as:"div"},null,8,["class"])]),_:1},16,["class"]),B.value?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass([e.unref(t.getBemElement)(e.unref(s),"label"),a.labelCls]),for:r.value},[e.renderSlot(a.$slots,"label",{},()=>[e.createTextVNode(e.toDisplayString(a.label),1)])],10,V)):e.createCommentVNode("",!0)],16))}}),h=["2xsm","xsm"],y=e.defineComponent({...b.getComponentOptions("RadioGroup"),__name:"RadioGroup",props:{items:{},options:{},size:{default:"xsm"},class:{},modelValue:{},defaultValue:{},disabled:{type:Boolean},orientation:{default:"vertical"},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean}},emits:["update:modelValue"],setup(u,{emit:c}){const o=u,s=c,d=e.computed(()=>C.omit(o,"items","options","class")),m=i.useForwardPropsEmits(d,s),r=k.cva(l,{variants:{size:t.generateVariantClassList(h,l),orientation:t.generateVariantClassList(["vertical","horizontal"],l)}}),{getDisabled:p}=v.useFormInput(),n=e.computed(()=>o.options??o.items);return(f,B)=>(e.openBlock(),e.createBlock(e.unref(i.RadioGroupRoot),e.mergeProps({...e.unref(m),disabled:e.unref(p)},{class:[e.unref(r)(o),o.class]}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},()=>{var a;return[(a=n.value)!=null&&a.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.value,g=>(e.openBlock(),e.createBlock(_,e.mergeProps({ref_for:!0},g),null,16))),256)):e.createCommentVNode("",!0)]})]),_:3},16,["class"]))}});exports._sfc_main=y;exports._sfc_main$1=_;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as h, useSlots as z, computed as a, createElementBlock as v, openBlock as l, mergeProps as u, unref as e, createVNode as _, createCommentVNode as V, withCtx as I, normalizeClass as y, renderSlot as k, createTextVNode as S, toDisplayString as D, createBlock as G, Fragment as w, renderList as E } from "vue";
2
2
  import { RadioGroupItem as F, RadioGroupIndicator as L, useForwardPropsEmits as N, RadioGroupRoot as $ } from "reka-ui";
3
3
  import { cva as q } from "class-variance-authority";
4
- import { o as P } from "./Icon.vue_vue_type_style_index_0_lang-DwTaEYnw.js";
4
+ import { o as P } from "./Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js";
5
5
  import { g as x } from "./options-D4et5euX.js";
6
- import { U as O, u as U } from "./useInputDataStates-DdGDk2Hm.js";
6
+ import { U as O, u as U } from "./useInputDataStates-BVOCxFWp.js";
7
7
  import { getBemBlock as T, getBemElement as n, usePCId as j, generateVariantClassList as R } from "@pantograph/utils";
8
8
  const A = ["for"], d = T("radio_group"), H = /* @__PURE__ */ h({
9
9
  ...x("RadioGroupItem"),
@@ -307,120 +307,8 @@ declare function __VLS_template(): {
307
307
  };
308
308
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
309
309
  declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProps, {
310
- container: Readonly<import('vue').ShallowRef<({
311
- $: import('vue').ComponentInternalInstance;
312
- $data: {};
313
- $props: {
314
- readonly nonce?: string | undefined;
315
- readonly asChild?: boolean | undefined;
316
- readonly as?: (import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
317
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
318
- $attrs: {
319
- [x: string]: unknown;
320
- };
321
- $refs: {
322
- [x: string]: unknown;
323
- };
324
- $slots: Readonly<{
325
- [name: string]: import('vue').Slot<any> | undefined;
326
- }>;
327
- $root: import('vue').ComponentPublicInstance | null;
328
- $parent: import('vue').ComponentPublicInstance | null;
329
- $host: Element | null;
330
- $emit: (event: string, ...args: any[]) => void;
331
- $el: any;
332
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaViewportProps> & Readonly<{}>, {
333
- viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
334
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
335
- beforeCreate?: (() => void) | (() => void)[];
336
- created?: (() => void) | (() => void)[];
337
- beforeMount?: (() => void) | (() => void)[];
338
- mounted?: (() => void) | (() => void)[];
339
- beforeUpdate?: (() => void) | (() => void)[];
340
- updated?: (() => void) | (() => void)[];
341
- activated?: (() => void) | (() => void)[];
342
- deactivated?: (() => void) | (() => void)[];
343
- beforeDestroy?: (() => void) | (() => void)[];
344
- beforeUnmount?: (() => void) | (() => void)[];
345
- destroyed?: (() => void) | (() => void)[];
346
- unmounted?: (() => void) | (() => void)[];
347
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
348
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
349
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
350
- };
351
- $forceUpdate: () => void;
352
- $nextTick: typeof import('vue').nextTick;
353
- $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;
354
- } & Readonly<{}> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaViewportProps> & Readonly<{}>, "viewportElement"> & import('vue').ShallowUnwrapRef<{
355
- viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
356
- }> & {} & import('vue').ComponentCustomProperties & {} & {
357
- $slots: {
358
- default?(_: {}): any;
359
- };
360
- }) | null>>;
361
- root: Readonly<import('vue').ShallowRef<({
362
- $: import('vue').ComponentInternalInstance;
363
- $data: {};
364
- $props: {
365
- readonly type?: ("scroll" | "auto" | "always" | "hover") | undefined;
366
- readonly dir?: ("ltr" | "rtl") | undefined;
367
- readonly scrollHideDelay?: number | undefined;
368
- readonly asChild?: boolean | undefined;
369
- readonly as?: (import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
370
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
371
- $attrs: {
372
- [x: string]: unknown;
373
- };
374
- $refs: {
375
- [x: string]: unknown;
376
- };
377
- $slots: Readonly<{
378
- [name: string]: import('vue').Slot<any> | undefined;
379
- }>;
380
- $root: import('vue').ComponentPublicInstance | null;
381
- $parent: import('vue').ComponentPublicInstance | null;
382
- $host: Element | null;
383
- $emit: (event: string, ...args: any[]) => void;
384
- $el: any;
385
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaRootProps> & Readonly<{}>, {
386
- viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
387
- scrollTop: () => void;
388
- scrollTopLeft: () => void;
389
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
390
- type: "scroll" | "auto" | "always" | "hover";
391
- scrollHideDelay: number;
392
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
393
- beforeCreate?: (() => void) | (() => void)[];
394
- created?: (() => void) | (() => void)[];
395
- beforeMount?: (() => void) | (() => void)[];
396
- mounted?: (() => void) | (() => void)[];
397
- beforeUpdate?: (() => void) | (() => void)[];
398
- updated?: (() => void) | (() => void)[];
399
- activated?: (() => void) | (() => void)[];
400
- deactivated?: (() => void) | (() => void)[];
401
- beforeDestroy?: (() => void) | (() => void)[];
402
- beforeUnmount?: (() => void) | (() => void)[];
403
- destroyed?: (() => void) | (() => void)[];
404
- unmounted?: (() => void) | (() => void)[];
405
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
406
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
407
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
408
- };
409
- $forceUpdate: () => void;
410
- $nextTick: typeof import('vue').nextTick;
411
- $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;
412
- } & Readonly<{
413
- type: "scroll" | "auto" | "always" | "hover";
414
- scrollHideDelay: number;
415
- }> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
416
- viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
417
- scrollTop: () => void;
418
- scrollTopLeft: () => void;
419
- }> & {} & import('vue').ComponentCustomProperties & {} & {
420
- $slots: {
421
- default?(_: {}): any;
422
- };
423
- }) | null>>;
310
+ container: import('vue').Ref<any, any>;
311
+ root: import('vue').Ref<any, any>;
424
312
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
425
313
  loadMore: (...args: any[]) => void;
426
314
  }, string, import('vue').PublicProps, Readonly<ScrollContainerProps> & Readonly<{
@@ -431,287 +319,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProp
431
319
  scrollDistance: number;
432
320
  scrollHideDelay: number;
433
321
  overlay: boolean;
434
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
435
- root: ({
436
- $: import('vue').ComponentInternalInstance;
437
- $data: {};
438
- $props: {
439
- readonly type?: ("scroll" | "auto" | "always" | "hover") | undefined;
440
- readonly dir?: ("ltr" | "rtl") | undefined;
441
- readonly scrollHideDelay?: number | undefined;
442
- readonly asChild?: boolean | undefined;
443
- readonly as?: (import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
444
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
445
- $attrs: {
446
- [x: string]: unknown;
447
- };
448
- $refs: {
449
- [x: string]: unknown;
450
- };
451
- $slots: Readonly<{
452
- [name: string]: import('vue').Slot<any> | undefined;
453
- }>;
454
- $root: import('vue').ComponentPublicInstance | null;
455
- $parent: import('vue').ComponentPublicInstance | null;
456
- $host: Element | null;
457
- $emit: (event: string, ...args: any[]) => void;
458
- $el: any;
459
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaRootProps> & Readonly<{}>, {
460
- viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
461
- scrollTop: () => void;
462
- scrollTopLeft: () => void;
463
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
464
- type: "scroll" | "auto" | "always" | "hover";
465
- scrollHideDelay: number;
466
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
467
- beforeCreate?: (() => void) | (() => void)[];
468
- created?: (() => void) | (() => void)[];
469
- beforeMount?: (() => void) | (() => void)[];
470
- mounted?: (() => void) | (() => void)[];
471
- beforeUpdate?: (() => void) | (() => void)[];
472
- updated?: (() => void) | (() => void)[];
473
- activated?: (() => void) | (() => void)[];
474
- deactivated?: (() => void) | (() => void)[];
475
- beforeDestroy?: (() => void) | (() => void)[];
476
- beforeUnmount?: (() => void) | (() => void)[];
477
- destroyed?: (() => void) | (() => void)[];
478
- unmounted?: (() => void) | (() => void)[];
479
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
480
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
481
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
482
- };
483
- $forceUpdate: () => void;
484
- $nextTick: typeof import('vue').nextTick;
485
- $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;
486
- } & Readonly<{
487
- type: "scroll" | "auto" | "always" | "hover";
488
- scrollHideDelay: number;
489
- }> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
490
- viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
491
- scrollTop: () => void;
492
- scrollTopLeft: () => void;
493
- }> & {} & import('vue').ComponentCustomProperties & {} & {
494
- $slots: {
495
- default?(_: {}): any;
496
- };
497
- }) | null;
498
- container: ({
499
- $: import('vue').ComponentInternalInstance;
500
- $data: {};
501
- $props: {
502
- readonly nonce?: string | undefined;
503
- readonly asChild?: boolean | undefined;
504
- readonly as?: (import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
505
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
506
- $attrs: {
507
- [x: string]: unknown;
508
- };
509
- $refs: {
510
- [x: string]: unknown;
511
- };
512
- $slots: Readonly<{
513
- [name: string]: import('vue').Slot<any> | undefined;
514
- }>;
515
- $root: import('vue').ComponentPublicInstance | null;
516
- $parent: import('vue').ComponentPublicInstance | null;
517
- $host: Element | null;
518
- $emit: (event: string, ...args: any[]) => void;
519
- $el: any;
520
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaViewportProps> & Readonly<{}>, {
521
- viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
522
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
523
- beforeCreate?: (() => void) | (() => void)[];
524
- created?: (() => void) | (() => void)[];
525
- beforeMount?: (() => void) | (() => void)[];
526
- mounted?: (() => void) | (() => void)[];
527
- beforeUpdate?: (() => void) | (() => void)[];
528
- updated?: (() => void) | (() => void)[];
529
- activated?: (() => void) | (() => void)[];
530
- deactivated?: (() => void) | (() => void)[];
531
- beforeDestroy?: (() => void) | (() => void)[];
532
- beforeUnmount?: (() => void) | (() => void)[];
533
- destroyed?: (() => void) | (() => void)[];
534
- unmounted?: (() => void) | (() => void)[];
535
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
536
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
537
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
538
- };
539
- $forceUpdate: () => void;
540
- $nextTick: typeof import('vue').nextTick;
541
- $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;
542
- } & Readonly<{}> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaViewportProps> & Readonly<{}>, "viewportElement"> & import('vue').ShallowUnwrapRef<{
543
- viewportElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
544
- }> & {} & import('vue').ComponentCustomProperties & {} & {
545
- $slots: {
546
- default?(_: {}): any;
547
- };
548
- }) | null;
549
- wrap: HTMLDivElement;
550
- top: HTMLDivElement;
551
- end: HTMLDivElement;
552
- start: HTMLDivElement;
553
- bottom: HTMLDivElement;
554
- vertical: ({
555
- $: import('vue').ComponentInternalInstance;
556
- $data: {};
557
- $props: {
558
- readonly orientation?: ("vertical" | "horizontal") | undefined;
559
- readonly forceMount?: boolean | undefined;
560
- readonly asChild?: boolean | undefined;
561
- readonly as?: (import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
562
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
563
- $attrs: {
564
- [x: string]: unknown;
565
- };
566
- $refs: {
567
- [x: string]: unknown;
568
- };
569
- $slots: Readonly<{
570
- [name: string]: import('vue').Slot<any> | undefined;
571
- }>;
572
- $root: import('vue').ComponentPublicInstance | null;
573
- $parent: import('vue').ComponentPublicInstance | null;
574
- $host: Element | null;
575
- $emit: (event: string, ...args: any[]) => void;
576
- $el: any;
577
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
578
- as: import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
579
- orientation: "vertical" | "horizontal";
580
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
581
- beforeCreate?: (() => void) | (() => void)[];
582
- created?: (() => void) | (() => void)[];
583
- beforeMount?: (() => void) | (() => void)[];
584
- mounted?: (() => void) | (() => void)[];
585
- beforeUpdate?: (() => void) | (() => void)[];
586
- updated?: (() => void) | (() => void)[];
587
- activated?: (() => void) | (() => void)[];
588
- deactivated?: (() => void) | (() => void)[];
589
- beforeDestroy?: (() => void) | (() => void)[];
590
- beforeUnmount?: (() => void) | (() => void)[];
591
- destroyed?: (() => void) | (() => void)[];
592
- unmounted?: (() => void) | (() => void)[];
593
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
594
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
595
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
596
- };
597
- $forceUpdate: () => void;
598
- $nextTick: typeof import('vue').nextTick;
599
- $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;
600
- } & Readonly<{
601
- as: import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
602
- orientation: "vertical" | "horizontal";
603
- }> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaScrollbarProps> & Readonly<{}>, "as" | "orientation"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
604
- $slots: {
605
- default?(_: {}): any;
606
- default?(_: {}): any;
607
- default?(_: {}): any;
608
- default?(_: {}): any;
609
- };
610
- }) | null;
611
- horizontal: ({
612
- $: import('vue').ComponentInternalInstance;
613
- $data: {};
614
- $props: {
615
- readonly orientation?: ("vertical" | "horizontal") | undefined;
616
- readonly forceMount?: boolean | undefined;
617
- readonly asChild?: boolean | undefined;
618
- readonly as?: (import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
619
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
620
- $attrs: {
621
- [x: string]: unknown;
622
- };
623
- $refs: {
624
- [x: string]: unknown;
625
- };
626
- $slots: Readonly<{
627
- [name: string]: import('vue').Slot<any> | undefined;
628
- }>;
629
- $root: import('vue').ComponentPublicInstance | null;
630
- $parent: import('vue').ComponentPublicInstance | null;
631
- $host: Element | null;
632
- $emit: (event: string, ...args: any[]) => void;
633
- $el: any;
634
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
635
- as: import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
636
- orientation: "vertical" | "horizontal";
637
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
638
- beforeCreate?: (() => void) | (() => void)[];
639
- created?: (() => void) | (() => void)[];
640
- beforeMount?: (() => void) | (() => void)[];
641
- mounted?: (() => void) | (() => void)[];
642
- beforeUpdate?: (() => void) | (() => void)[];
643
- updated?: (() => void) | (() => void)[];
644
- activated?: (() => void) | (() => void)[];
645
- deactivated?: (() => void) | (() => void)[];
646
- beforeDestroy?: (() => void) | (() => void)[];
647
- beforeUnmount?: (() => void) | (() => void)[];
648
- destroyed?: (() => void) | (() => void)[];
649
- unmounted?: (() => void) | (() => void)[];
650
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
651
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
652
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
653
- };
654
- $forceUpdate: () => void;
655
- $nextTick: typeof import('vue').nextTick;
656
- $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;
657
- } & Readonly<{
658
- as: import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
659
- orientation: "vertical" | "horizontal";
660
- }> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaScrollbarProps> & Readonly<{}>, "as" | "orientation"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
661
- $slots: {
662
- default?(_: {}): any;
663
- default?(_: {}): any;
664
- default?(_: {}): any;
665
- default?(_: {}): any;
666
- };
667
- }) | null;
668
- corner: ({
669
- $: import('vue').ComponentInternalInstance;
670
- $data: {};
671
- $props: {
672
- readonly asChild?: boolean | undefined;
673
- readonly as?: (import('reka-ui', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
674
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
675
- $attrs: {
676
- [x: string]: unknown;
677
- };
678
- $refs: {
679
- [x: string]: unknown;
680
- };
681
- $slots: Readonly<{
682
- [name: string]: import('vue').Slot<any> | undefined;
683
- }>;
684
- $root: import('vue').ComponentPublicInstance | null;
685
- $parent: import('vue').ComponentPublicInstance | null;
686
- $host: Element | null;
687
- $emit: (event: string, ...args: any[]) => void;
688
- $el: any;
689
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaCornerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
690
- beforeCreate?: (() => void) | (() => void)[];
691
- created?: (() => void) | (() => void)[];
692
- beforeMount?: (() => void) | (() => void)[];
693
- mounted?: (() => void) | (() => void)[];
694
- beforeUpdate?: (() => void) | (() => void)[];
695
- updated?: (() => void) | (() => void)[];
696
- activated?: (() => void) | (() => void)[];
697
- deactivated?: (() => void) | (() => void)[];
698
- beforeDestroy?: (() => void) | (() => void)[];
699
- beforeUnmount?: (() => void) | (() => void)[];
700
- destroyed?: (() => void) | (() => void)[];
701
- unmounted?: (() => void) | (() => void)[];
702
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
703
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
704
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
705
- };
706
- $forceUpdate: () => void;
707
- $nextTick: typeof import('vue').nextTick;
708
- $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;
709
- } & Readonly<{}> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaCornerProps> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
710
- $slots: {
711
- default?(_: {}): any;
712
- };
713
- }) | null;
714
- }, any>;
322
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
715
323
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
716
324
  export default _default;
717
325
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,4 +1,4 @@
1
- import { _ as r, a as e, S as l, _ as n } from "../ScrollContainer.vue_vue_type_style_index_0_lang-CSLCU0p6.js";
1
+ import { _ as r, a as e, S as l, _ as n } from "../ScrollContainer.vue_vue_type_style_index_0_lang-CZgFGbH_.js";
2
2
  export {
3
3
  r as ScrollContainer,
4
4
  e as ScrollContainerSizes,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ScrollContainer.vue_vue_type_style_index_0_lang-BgwgYelV.js");exports.ScrollContainer=e._sfc_main;exports.ScrollContainerSizes=e.ScrollContainerSizes;exports.ScrollContainerTypes=e.ScrollContainerTypes;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ScrollContainer.vue_vue_type_style_index_0_lang-CMdXXxZr.js");exports.ScrollContainer=e._sfc_main;exports.ScrollContainerSizes=e.ScrollContainerSizes;exports.ScrollContainerTypes=e.ScrollContainerTypes;exports.default=e._sfc_main;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),a=require("reka-ui"),O=require("class-variance-authority"),s=require("@pantograph/utils"),n=require("@vueuse/core"),X=require("./Icon.vue_vue_type_style_index_0_lang-Cc8Uh2lr.js"),l=s.getBemBlock("scroll_container"),Y=e.defineComponent({__name:"Mask",props:{topVisible:{type:Boolean},bottomVisible:{type:Boolean},endVisible:{type:Boolean},startVisible:{type:Boolean}},setup(c){const u=c,t=s.getBemElement(l,"mask"),i=O.cva(t,{variants:{topVisible:s.generateVariantClassList("top-visible",t),bottomVisible:s.generateVariantClassList("bottom-visible",t),startVisible:s.generateVariantClassList("start-visible",t),endVisible:s.generateVariantClassList("end-visible",t)}});return(b,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i)(u))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(t),"top"))},null,2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(t),"bottom"))},null,2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(t),"start"))},null,2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(t),"end"))},null,2)],2))}}),F=["auto","always","scroll","hover"],R=["sm","md","lg"],U=e.defineComponent({inheritAttrs:!1,__name:"ScrollContainer",props:{scrollDistance:{default:10},scrollHideDelay:{default:200},dir:{},type:{default:"hover"},hasMask:{type:Boolean},size:{default:"md"},scrollbarCls:{},wrapCls:{},areaCls:{},rootCls:{},thumbCls:{},cornerCls:{},rootProps:{},overlay:{type:Boolean,default:!0},color:{}},emits:["loadMore"],setup(c,{expose:u,emit:t}){const i=c,b=t,p=O.cva(l,{variants:{size:s.generateVariantClassList(R,l),overlay:s.generateVariantClassList("overlay",l),isOverflowX:s.generateVariantClassList("overflowed-x",l),isOverflowY:s.generateVariantClassList("overflowed-y",l),hasMask:s.generateVariantClassList("has-mask",l)}}),f=s.getBemElement(l,"scroll_bar"),C=s.getBemElement(f,"thumb"),{config:q}=X.useConfig(),D=e.computed(()=>i.dir?i.dir:q.dir.value),V=e.ref(),H=n.useElementVisibility(V),y=e.ref(),P=n.useElementVisibility(y),h=e.ref(),T=n.useElementVisibility(h),g=e.ref(),m=e.shallowRef(!1),{stop:$}=n.useIntersectionObserver(g,([{isIntersecting:r}])=>{r?(b("loadMore"),m.value=!0):m.value=!1});e.onBeforeUnmount($);const o=e.ref(),B=e.ref(),k=e.ref(),w=e.shallowRef(!1),E=e.shallowRef(!1),d=n.useDebounceFn(()=>{var r,v,z,S,N,_,M,A,L;e.unref((r=o.value)==null?void 0:r.viewport)&&(w.value=(((z=(v=e.unref(o.value))==null?void 0:v.viewport)==null?void 0:z.offsetWidth)||0)<(((N=(S=e.unref(o.value))==null?void 0:S.viewport)==null?void 0:N.scrollWidth)||0),E.value=(((M=(_=e.unref(o.value))==null?void 0:_.viewport)==null?void 0:M.offsetHeight)||0)<(((L=(A=e.unref(o.value))==null?void 0:A.viewport)==null?void 0:L.scrollHeight)||0))},10);return e.onMounted(()=>d()),n.useResizeObserver(o,d),n.useResizeObserver(k,d),u({container:B,root:o}),(r,v)=>(e.openBlock(),e.createBlock(e.unref(a.ScrollAreaRoot),e.mergeProps({class:[e.unref(p)({overlay:r.overlay,isOverflowX:w.value,isOverflowY:E.value,hasMask:r.hasMask,size:r.size}),r.rootCls],scrollHideDelay:i.scrollHideDelay,dir:D.value,type:i.type},r.rootProps,{style:{"--ptc-scroll-container-color":r.color},ref_key:"root",ref:o}),{default:e.withCtx(()=>[e.createVNode(e.unref(a.ScrollAreaViewport),e.mergeProps({class:[e.unref(s.getBemElement)(e.unref(l),"area"),r.areaCls]},r.$attrs,{ref_key:"container",ref:B,"as-child":""}),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(s.getBemElement)(e.unref(l),"area__wrap"),r.wrapCls]),ref_key:"wrap",ref:k},[e.renderSlot(r.$slots,"default"),r.hasMask?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",{ref_key:"top",ref:V,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"top_observer"))},null,2),e.createElementVNode("div",{ref_key:"end",ref:y,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"end_observer"))},null,2),e.createElementVNode("div",{ref_key:"start",ref:h,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"start_observer"))},null,2),e.createElementVNode("div",{ref_key:"bottom",ref:g,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"bottom_observer"))},null,2)],64)):e.createCommentVNode("",!0)],2)]),_:3},16,["class"]),r.hasMask?(e.openBlock(),e.createBlock(Y,{key:0,topVisible:e.unref(H),bottomVisible:m.value,endVisible:e.unref(P),startVisible:e.unref(T)},null,8,["topVisible","bottomVisible","endVisible","startVisible"])):e.createCommentVNode("",!0),e.createVNode(e.unref(a.ScrollAreaScrollbar),{class:e.normalizeClass([e.unref(f),r.scrollbarCls]),orientation:"vertical",ref:"vertical"},{default:e.withCtx(()=>[e.createVNode(e.unref(a.ScrollAreaThumb),{class:e.normalizeClass([e.unref(C),r.thumbCls])},null,8,["class"])]),_:1},8,["class"]),e.createVNode(e.unref(a.ScrollAreaScrollbar),{class:e.normalizeClass([e.unref(f),r.scrollbarCls]),orientation:"horizontal",ref:"horizontal"},{default:e.withCtx(()=>[e.createVNode(e.unref(a.ScrollAreaThumb),{class:e.normalizeClass([e.unref(C),r.thumbCls])},null,8,["class"])]),_:1},8,["class"]),e.createVNode(e.unref(a.ScrollAreaCorner),{ref:"corner",class:e.normalizeClass(r.cornerCls)},null,8,["class"]),e.renderSlot(r.$slots,"root")]),_:3},16,["class","scrollHideDelay","dir","type","style"]))}});exports.ScrollContainerSizes=R;exports.ScrollContainerTypes=F;exports._sfc_main=U;