@pantograph/vue 0.22.6 → 0.23.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.
- package/dist/ActionButton/index.js +1 -1
- package/dist/ActionButton/index.umd.cjs +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-BuoyyieN.js → ActionButton.vue_vue_type_script_setup_true_lang-C40QLnax.js} +3 -3
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-DaglRgvB.js → ActionButton.vue_vue_type_script_setup_true_lang-Zbt1lDGL.js} +1 -1
- package/dist/Alert/index.js +1 -1
- package/dist/Alert/index.umd.cjs +1 -1
- package/dist/{Alert.vue_vue_type_style_index_0_lang-0LOAObnE.js → Alert.vue_vue_type_style_index_0_lang-DugtMNn6.js} +5 -5
- package/dist/{Alert.vue_vue_type_style_index_0_lang-CJp5SNlM.js → Alert.vue_vue_type_style_index_0_lang-x6PDS57O.js} +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/Avatar/index.umd.cjs +1 -1
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-C7WmfBbR.js → Avatar.vue_vue_type_style_index_0_lang-DTxpdu2k.js} +5 -5
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-CQkfLDC5.js → Avatar.vue_vue_type_style_index_0_lang-Dbdnz5VW.js} +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/AvatarGroup/index.umd.cjs +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Badge/index.umd.cjs +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-CXsn0nkw.js → Badge.vue_vue_type_script_setup_true_lang-Dc6rezGr.js} +3 -3
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-lu-gu5b5.js → Badge.vue_vue_type_script_setup_true_lang-hG6klYy2.js} +1 -1
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BuXOyFVD.js → BaseBadge.vue_vue_type_style_index_0_lang-BMX9MX3W.js} +2 -2
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BLAg02qH.js → BaseBadge.vue_vue_type_style_index_0_lang-VEdsFDiH.js} +1 -1
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-CLVtjY8d.js → BaseButton.vue_vue_type_style_index_0_lang-BGYEuhbj.js} +6 -6
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-L4DRwvWw.js → BaseButton.vue_vue_type_style_index_0_lang-CcVDY3yV.js} +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/Button/index.umd.cjs +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-DY2BNT1y.js → Button.vue_vue_type_script_setup_true_lang--np1Hw7N.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-DQesYwzL.js → Button.vue_vue_type_script_setup_true_lang-bjhWtH8H.js} +3 -3
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/ButtonGroup/index.umd.cjs +1 -1
- package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-pO76J3IF.js → ButtonGroup.vue_vue_type_script_setup_true_lang-BF_Oo7Zk.js} +1 -1
- package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-MzFTjLDZ.js → ButtonGroup.vue_vue_type_script_setup_true_lang-CfOMjVlH.js} +1 -1
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/Checkbox/index.umd.cjs +1 -1
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-cKjwhSu-.js → Checkbox.vue_vue_type_style_index_0_lang-5tG-1ejh.js} +3 -3
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-BdcW-RZN.js → Checkbox.vue_vue_type_style_index_0_lang-DaWMPx_d.js} +1 -1
- package/dist/CheckboxGroup/index.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs +1 -1
- package/dist/Chip/index.js +2 -2
- package/dist/Chip/index.umd.cjs +1 -1
- package/dist/Chip.vue_vue_type_style_index_0_lang-Ci2Oqnfd.js +121 -0
- package/dist/Chip.vue_vue_type_style_index_0_lang-DqVcmql_.js +1 -0
- package/dist/ChipGroup/ChipGroup.d.ts +3 -0
- package/dist/ChipGroup/index.js +1 -1
- package/dist/ChipGroup/index.umd.cjs +1 -1
- package/dist/ChipGroup.vue_vue_type_style_index_0_lang-Bln1W3La.js +77 -0
- package/dist/ChipGroup.vue_vue_type_style_index_0_lang-ZlvXsJHD.js +1 -0
- package/dist/ColorPicker/index.js +1 -1
- package/dist/ColorPicker/index.umd.cjs +1 -1
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-D9uXTo6A.js → ColorPicker.vue_vue_type_style_index_0_lang-B8rVS60w.js} +3 -3
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-C_oiAMBb.js → ColorPicker.vue_vue_type_style_index_0_lang-BnjCOPow.js} +1 -1
- package/dist/ColorSwatch/index.js +1 -1
- package/dist/ColorSwatch/index.umd.cjs +1 -1
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-3IRstZgE.js → ColorSwatch.vue_vue_type_style_index_0_lang-BCkqRsud.js} +1 -1
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-CONqtEmS.js → ColorSwatch.vue_vue_type_style_index_0_lang-CjQa4I-g.js} +4 -4
- package/dist/ColorSwatchGroup/index.js +1 -1
- package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-rZ0DAGiR.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-BxBlKgbC.js} +5 -5
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-BMyF1WYM.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-DBbTuynH.js} +1 -1
- package/dist/ColorTrigger/index.js +1 -1
- package/dist/ColorTrigger/index.umd.cjs +1 -1
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-D5A9MniE.js → ColorTrigger.vue_vue_type_style_index_0_lang-BNTg203W.js} +4 -4
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-B-HxrWXr.js → ColorTrigger.vue_vue_type_style_index_0_lang-Brci1et_.js} +1 -1
- package/dist/ConfigProvider/index.js +2 -2
- package/dist/ConfigProvider/index.umd.cjs +1 -1
- package/dist/DataTable/index.js +1 -1
- package/dist/DataTable/index.umd.cjs +1 -1
- package/dist/DataTable/useLazyLoading.d.ts +8 -0
- package/dist/{DataTable.vue_vue_type_style_index_0_lang-Z5d8lFtY.js → DataTable.vue_vue_type_style_index_0_lang-CRVmec4j.js} +270 -279
- package/dist/DataTable.vue_vue_type_style_index_0_lang-ygPXw5Mi.js +1 -0
- package/dist/Divider/index.js +1 -1
- package/dist/Divider/index.umd.cjs +1 -1
- package/dist/{Divider.vue_vue_type_style_index_0_lang-DapqjSGc.js → Divider.vue_vue_type_style_index_0_lang-B6fQsp1Y.js} +1 -1
- package/dist/{Divider.vue_vue_type_style_index_0_lang-DuAAwNmp.js → Divider.vue_vue_type_style_index_0_lang-DoEWjJx6.js} +1 -1
- package/dist/DropZone/index.js +1 -1
- package/dist/DropZone/index.umd.cjs +1 -1
- package/dist/{DropZone.vue_vue_type_style_index_0_lang-BV4SAR-C.js → DropZone.vue_vue_type_style_index_0_lang-CH23eQwT.js} +3 -3
- package/dist/{DropZone.vue_vue_type_style_index_0_lang-BKZKDO-V.js → DropZone.vue_vue_type_style_index_0_lang-oJc56iXj.js} +1 -1
- package/dist/Empty/index.js +1 -1
- package/dist/Empty/index.umd.cjs +1 -1
- package/dist/{Empty.vue_vue_type_style_index_0_lang-Do6r0xM0.js → Empty.vue_vue_type_style_index_0_lang-C4a5JepF.js} +2 -2
- package/dist/{Empty.vue_vue_type_style_index_0_lang-o-PAGM69.js → Empty.vue_vue_type_style_index_0_lang-DHvpu4sq.js} +1 -1
- package/dist/FloatButton/index.js +1 -1
- package/dist/FloatButton/index.umd.cjs +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-Dp8_A9bR.js → FloatButton.vue_vue_type_script_setup_true_lang-BGZBnlXi.js} +3 -3
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BM21wcnb.js → FloatButton.vue_vue_type_script_setup_true_lang-CaKIkb0P.js} +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/Form/index.umd.cjs +1 -1
- package/dist/GOPicker/GOPicker.d.ts +2 -2
- package/dist/GOPicker/index.js +1 -1
- package/dist/GOPicker/index.umd.cjs +1 -1
- package/dist/{GOPicker.vue_vue_type_style_index_0_lang-BCRl-aBB.js → GOPicker.vue_vue_type_style_index_0_lang-CjqAqI_W.js} +1 -1
- package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CX_x2Kmv.js → GOPicker.vue_vue_type_style_index_0_lang-cFBk9_vx.js} +11 -11
- package/dist/GraphicalObject/index.js +1 -1
- package/dist/GraphicalObject/index.umd.cjs +1 -1
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-geqZb2IY.js → GraphicalObject.vue_vue_type_script_setup_true_lang-BZCn44kG.js} +4 -4
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-Cs85tVJU.js → GraphicalObject.vue_vue_type_script_setup_true_lang-Byz-BOG1.js} +1 -1
- package/dist/GraphicalObjectGroup/index.js +1 -1
- package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
- package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DSIv18t_.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-COvFyzfP.js} +3 -3
- package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-C2ubwE2W.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DiSPJXBZ.js} +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/Icon/index.umd.cjs +1 -1
- package/dist/{Icon.vue_vue_type_style_index_0_lang-DCBjku2G.js → Icon.vue_vue_type_style_index_0_lang-Cc8Uh2lr.js} +3 -3
- package/dist/{Icon.vue_vue_type_style_index_0_lang-m8dwDy4r.js → Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js} +11 -11
- package/dist/IconButton/index.js +1 -1
- package/dist/IconButton/index.umd.cjs +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-Di_GIbFf.js → IconButton.vue_vue_type_script_setup_true_lang-BjFzPsUi.js} +3 -3
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-C49Y9h7k.js → IconButton.vue_vue_type_script_setup_true_lang-CGb0HxvX.js} +1 -1
- package/dist/Image/index.js +1 -1
- package/dist/Image/index.umd.cjs +1 -1
- package/dist/{Image.vue_vue_type_style_index_0_lang-CIWgfjfn.js → Image.vue_vue_type_style_index_0_lang-3vJwTwh4.js} +3 -3
- package/dist/{Image.vue_vue_type_style_index_0_lang-4AzaV6m3.js → Image.vue_vue_type_style_index_0_lang-DVDZ0ova.js} +1 -1
- package/dist/IndentLevel/index.js +1 -1
- package/dist/IndentLevel/index.umd.cjs +1 -1
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BnU3U7f0.js → IndentLevel.vue_vue_type_style_index_0_lang-BWLdpspA.js} +5 -5
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-CeUKjmVg.js → IndentLevel.vue_vue_type_style_index_0_lang-DVx2S15S.js} +1 -1
- package/dist/Indicator/index.js +1 -1
- package/dist/Indicator/index.umd.cjs +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-D8LgY6cc.js → Indicator.vue_vue_type_script_setup_true_lang-B1mn9s7i.js} +3 -3
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-vbGXlfQf.js → Indicator.vue_vue_type_script_setup_true_lang-_V0q7Zly.js} +1 -1
- package/dist/Input/Input.d.ts +2 -2
- package/dist/Input/index.js +1 -1
- package/dist/Input/index.umd.cjs +1 -1
- package/dist/{Input.vue_vue_type_style_index_0_lang-CPZg-HuC.js → Input.vue_vue_type_style_index_0_lang-BFNYYFfe.js} +4 -4
- package/dist/{Input.vue_vue_type_style_index_0_lang-Cfjllz6E.js → Input.vue_vue_type_style_index_0_lang-HuiLdgsj.js} +1 -1
- package/dist/Kbd/index.js +1 -1
- package/dist/Kbd/index.umd.cjs +1 -1
- package/dist/{Kbd.vue_vue_type_style_index_0_lang-DCL5O9Je.js → Kbd.vue_vue_type_style_index_0_lang-CuYfgo6l.js} +1 -1
- package/dist/{Kbd.vue_vue_type_style_index_0_lang-Bd2oUt5y.js → Kbd.vue_vue_type_style_index_0_lang-uEudChpD.js} +2 -2
- package/dist/Label/index.js +1 -1
- package/dist/Label/index.umd.cjs +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/Link/index.umd.cjs +1 -1
- package/dist/{Link.vue_vue_type_style_index_0_lang-jkeeGcel.js → Link.vue_vue_type_style_index_0_lang-AsoIRQm_.js} +2 -2
- package/dist/{Link.vue_vue_type_style_index_0_lang-CZtbe6e7.js → Link.vue_vue_type_style_index_0_lang-BgwJE1ku.js} +1 -1
- package/dist/Menu/index.js +1 -1
- package/dist/Menu/index.umd.cjs +1 -1
- package/dist/{Menu.vue_vue_type_style_index_0_lang-BTYGoWOL.js → Menu.vue_vue_type_style_index_0_lang-CFuwm984.js} +4 -4
- package/dist/{Menu.vue_vue_type_style_index_0_lang-BkAp2Lox.js → Menu.vue_vue_type_style_index_0_lang-CiyZmFBO.js} +1 -1
- package/dist/MenuItem/index.js +1 -1
- package/dist/MenuItem/index.umd.cjs +1 -1
- package/dist/Popover/Popover.d.ts +15 -14
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/Popover/index.umd.cjs +1 -1
- package/dist/Popover/utils.d.ts +25 -0
- package/dist/Popover.vue_vue_type_style_index_0_lang-B-MX4Q7D.js +242 -0
- package/dist/Popover.vue_vue_type_style_index_0_lang-BnKgARrA.js +1 -0
- package/dist/RadioGroup/index.js +1 -1
- package/dist/RadioGroup/index.umd.cjs +1 -1
- package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-xBg4P78b.js → RadioGroup.vue_vue_type_script_setup_true_lang-Dq66i_P9.js} +1 -1
- package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Cymmyiys.js → RadioGroup.vue_vue_type_script_setup_true_lang-bWA97IMn.js} +3 -3
- package/dist/ScrollContainer/ScrollContainer.d.ts +6 -398
- package/dist/ScrollContainer/index.js +1 -1
- package/dist/ScrollContainer/index.umd.cjs +1 -1
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-CMdXXxZr.js +1 -0
- package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-CSCDhOQB.js → ScrollContainer.vue_vue_type_style_index_0_lang-CZgFGbH_.js} +47 -47
- package/dist/Select/Select.d.ts +55 -0
- package/dist/Select/Select.model.d.ts +4 -0
- package/dist/Select/SelectLabel.d.ts +16 -0
- package/dist/Select/SelectOption.d.ts +19 -0
- package/dist/Select/SelectTrigger.d.ts +11 -0
- package/dist/Select/SelectWrapper.d.ts +4 -0
- package/dist/Select/context.d.ts +28 -0
- package/dist/Select/index.d.ts +6 -0
- package/dist/Select/index.js +10 -0
- package/dist/Select/index.umd.cjs +1 -0
- package/dist/Select/types.d.ts +126 -0
- package/dist/Select.vue_vue_type_style_index_0_lang-ClYkFAEj.js +696 -0
- package/dist/Select.vue_vue_type_style_index_0_lang-RdNEKYeJ.js +1 -0
- package/dist/Shortcut/index.js +1 -1
- package/dist/Shortcut/index.umd.cjs +1 -1
- package/dist/{Shortcut.vue_vue_type_style_index_0_lang-DH3I9lTB.js → Shortcut.vue_vue_type_style_index_0_lang-DIDsOrKm.js} +1 -1
- package/dist/{Shortcut.vue_vue_type_style_index_0_lang-CPjV7eLg.js → Shortcut.vue_vue_type_style_index_0_lang-DXBz4Ysp.js} +3 -3
- package/dist/Skeleton/index.js +1 -1
- package/dist/Skeleton/index.umd.cjs +1 -1
- package/dist/{Skeleton.vue_vue_type_style_index_0_lang-BRov9v5C.js → Skeleton.vue_vue_type_style_index_0_lang-CWNX_-Jl.js} +1 -1
- package/dist/{Skeleton.vue_vue_type_style_index_0_lang-aSGb2hn6.js → Skeleton.vue_vue_type_style_index_0_lang-Xi8CteLp.js} +1 -1
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner/index.umd.cjs +1 -1
- package/dist/{Spinner.vue_vue_type_style_index_0_lang-Cm7J5cBI.js → Spinner.vue_vue_type_style_index_0_lang-17QUeFmj.js} +1 -1
- package/dist/{Spinner.vue_vue_type_style_index_0_lang-DAY9kBO9.js → Spinner.vue_vue_type_style_index_0_lang-DxV3D_9N.js} +2 -2
- package/dist/Switch/Switch.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/Switch/index.umd.cjs +1 -1
- package/dist/{Switch.vue_vue_type_style_index_0_lang-DT_Mfcov.js → Switch.vue_vue_type_style_index_0_lang-BrkQxi9f.js} +3 -3
- package/dist/{Switch.vue_vue_type_style_index_0_lang-RuK62YKH.js → Switch.vue_vue_type_style_index_0_lang-DISD-AzJ.js} +1 -1
- package/dist/{THead.vue_vue_type_style_index_0_lang-DHLQWjez.js → THead.vue_vue_type_style_index_0_lang-BcVlFS1z.js} +2 -2
- package/dist/{THead.vue_vue_type_style_index_0_lang-B63h1RF2.js → THead.vue_vue_type_style_index_0_lang-Ck81v68E.js} +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/Table/index.umd.cjs +1 -1
- package/dist/Textarea/Textarea.d.ts +15 -1109
- package/dist/Textarea/index.js +1 -1
- package/dist/Textarea/index.umd.cjs +1 -1
- package/dist/Textarea.vue_vue_type_style_index_0_lang-CJHHqEWa.js +1 -0
- package/dist/Textarea.vue_vue_type_style_index_0_lang-DnQgUyjY.js +164 -0
- package/dist/Tree/Tree.d.ts +1 -3
- package/dist/Tree/Tree.model.d.ts +15 -17
- package/dist/Tree/TreeNode.d.ts +0 -2
- package/dist/Tree/index.js +1 -1
- package/dist/Tree/index.umd.cjs +1 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-B1CdkAl_.js +1805 -0
- package/dist/Tree.vue_vue_type_style_index_0_lang-Br1Uyot0.js +6 -0
- package/dist/element-BfQuKSll.js +47 -0
- package/dist/element-BjE0SVc4.js +1 -0
- package/dist/{index-IdtPmXeP.js → index-BbGUveIH.js} +4 -4
- package/dist/{index-BRvIONa8.js → index-zMkg_RCw.js} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +125 -117
- package/dist/index.umd.cjs +1 -1
- package/dist/options-CWrQ7gsa.js +1 -0
- package/dist/options-D4et5euX.js +10 -0
- package/dist/style/index.css +1 -1
- package/dist/types/index.d.ts +8 -0
- package/dist/{uniq--f9h-zgJ.js → uniq-Ci_ZUo6O.js} +1 -1
- package/dist/{uniq-Dci8Hrey.js → uniq-D8HAKpFq.js} +5 -5
- package/dist/{useInputDataStates-6_JS7YSj.js → useInputDataStates-BVOCxFWp.js} +1 -1
- package/dist/{useInputDataStates-B4OO_nST.js → useInputDataStates-C6bS7MJv.js} +1 -1
- package/dist/useLazyLoading-H6VG5aE-.js +1 -0
- package/dist/useLazyLoading-Zo-PEp2E.js +26 -0
- package/dist/utils/element.d.ts +6 -5
- package/dist/utils/index.js +3 -3
- package/dist/utils/index.umd.cjs +1 -1
- package/dist/utils/options.d.ts +1 -0
- package/dist/utils/useInputDataStates.d.ts +2 -2
- package/package.json +14 -11
- package/dist/Chip.vue_vue_type_style_index_0_lang-Dm0XEZi9.js +0 -1
- package/dist/Chip.vue_vue_type_style_index_0_lang-Ds9wwrDe.js +0 -114
- package/dist/ChipGroup.vue_vue_type_style_index_0_lang-CQQWaqyE.js +0 -74
- package/dist/ChipGroup.vue_vue_type_style_index_0_lang-DBzKqYIo.js +0 -1
- package/dist/DataTable.vue_vue_type_style_index_0_lang-BgpOZZrN.js +0 -1
- package/dist/Popover.vue_vue_type_style_index_0_lang-BDJSd1rV.js +0 -152
- package/dist/Popover.vue_vue_type_style_index_0_lang-BXkQ071D.js +0 -1
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-CmXa5MIq.js +0 -1
- package/dist/Textarea.vue_vue_type_style_index_0_lang-Boeqy4Fg.js +0 -163
- package/dist/Textarea.vue_vue_type_style_index_0_lang-CO_e3cQV.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-B4vwt46r.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-Dv5zm7Sb.js +0 -528
- package/dist/element-BURaVF00.js +0 -1
- package/dist/element-CayrDxFe.js +0 -30
- package/dist/options-B4iSAKol.js +0 -1
- package/dist/options-JBqnVZUl.js +0 -9
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Popover, type PopoverProps, default } from './Popover';
|
|
1
|
+
export { default as Popover, type PopoverProps, type GetPopupContainer, default, } from './Popover';
|
|
2
2
|
export * from './Popover.model';
|
package/dist/Popover/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Popover.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Popover.vue_vue_type_style_index_0_lang-BnKgARrA.js");exports.Popover=e._sfc_main;exports.PopoverPlacements=e.PopoverPlacements;exports.PopoverSizes=e.PopoverSizes;exports.default=e._sfc_main;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { PopoverContentProps } from 'reka-ui';
|
|
3
|
+
import { Direction, FlipOnDir } from '../ConfigProvider/index.js';
|
|
4
|
+
export declare const getAsChildOnPopoverTrigger: <T extends object>(slotName?: keyof T) => ComputedRef<boolean>;
|
|
5
|
+
declare const popoverPortalPropsKeys: readonly ["to", "disabled", "forceMount"];
|
|
6
|
+
type PopoverPortalPropsName = Partial<Record<(typeof popoverPortalPropsKeys)[number], string>>;
|
|
7
|
+
export declare const getPopoverPortalProps: ({ triggerRef, props: _props }: {
|
|
8
|
+
triggerRef: Ref<any>;
|
|
9
|
+
props?: object;
|
|
10
|
+
}, propsName?: PopoverPortalPropsName) => ComputedRef<{
|
|
11
|
+
to: string | HTMLElement;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
forceMount: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
declare const popoverContainerPropsKeys: readonly ["prioritizePosition", "placement", "sideOffset", "alignOffset", "sticky", "collisionBoundary", "avoidCollisions", "collisionPadding", "forceMount", "disableUpdateOnLayoutShift", "hideWhenDetached", "positionStrategy", "reference", "updatePositionStrategy", "autoFocusInside", "containerProps"];
|
|
16
|
+
type PopoverContainerPropsName = Partial<Record<(typeof popoverContainerPropsKeys)[number], string>>;
|
|
17
|
+
export declare const getPopoverContentProps: <T extends Record<string, any>>({ props: _props, flip, _dir, controlAutoFocus, extraPropNames, emitsAsProps, }: {
|
|
18
|
+
props?: object;
|
|
19
|
+
flip: ComputedRef<FlipOnDir | undefined>;
|
|
20
|
+
_dir: ComputedRef<Direction | undefined>;
|
|
21
|
+
controlAutoFocus?: boolean;
|
|
22
|
+
extraPropNames?: (keyof T)[];
|
|
23
|
+
emitsAsProps: Record<string, any>;
|
|
24
|
+
}, propsName?: PopoverContainerPropsName) => ComputedRef<PopoverContentProps>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { computed as f, getCurrentInstance as H, unref as u, defineComponent as ae, useSlots as le, ref as ce, createBlock as F, openBlock as z, resolveDynamicComponent as A, mergeProps as W, withCtx as w, renderSlot as R, normalizeProps as pe, guardReactiveProps as de, withDirectives as ue, vShow as fe } from "vue";
|
|
2
|
+
import { getBemBlock as me, getBemElement as V, generateVariantClassList as ge } from "@pantograph/utils";
|
|
3
|
+
import { cva as Pe } from "class-variance-authority";
|
|
4
|
+
import { useEmitAsProps as ye, HoverCardRoot as ve, PopoverRoot as he, HoverCardTrigger as Oe, PopoverTrigger as Ce, HoverCardPortal as De, PopoverPortal as Se, HoverCardContent as be, PopoverContent as Be } from "reka-ui";
|
|
5
|
+
import { g as Ne } from "./options-D4et5euX.js";
|
|
6
|
+
import { v as t, q as Fe, o as ze, j, s as Ae, u as we } from "./Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js";
|
|
7
|
+
import { f as Ie, a as Me, i as ke } from "./element-BfQuKSll.js";
|
|
8
|
+
const Ee = ["sm", "md", "lg"], Ge = [
|
|
9
|
+
"top",
|
|
10
|
+
"top-start",
|
|
11
|
+
"top-end",
|
|
12
|
+
"bottom",
|
|
13
|
+
"bottom-start",
|
|
14
|
+
"bottom-end",
|
|
15
|
+
"right",
|
|
16
|
+
"right-start",
|
|
17
|
+
"right-end",
|
|
18
|
+
"left",
|
|
19
|
+
"left-start",
|
|
20
|
+
"left-end"
|
|
21
|
+
], Le = (r = "default") => f(() => {
|
|
22
|
+
var n, p;
|
|
23
|
+
const a = H(), c = Ie((p = (n = a == null ? void 0 : a.slots) == null ? void 0 : n[r]) == null ? void 0 : p.call(n, {})) ?? null, l = c.length === 1 ? c[0] : c;
|
|
24
|
+
return l ? Me(l) && !ke(l) : !0;
|
|
25
|
+
}), Ue = ["to", "disabled", "forceMount"], s = Object.fromEntries(Ue.map((r) => [r, r])), $e = ({ triggerRef: r, props: a }, c = s) => f(() => {
|
|
26
|
+
var y, v, h, O, C;
|
|
27
|
+
const {
|
|
28
|
+
to: l = s.to,
|
|
29
|
+
forceMount: n = s.forceMount,
|
|
30
|
+
disabled: p = s.disabled
|
|
31
|
+
} = c, m = H(), o = a ?? (m == null ? void 0 : m.props) ?? {}, e = t(o, l), P = t(o, p), D = t(o, n);
|
|
32
|
+
let g = ((y = u(e)) == null ? void 0 : y.$el) ?? u(e);
|
|
33
|
+
if (e instanceof Function) {
|
|
34
|
+
const S = ((h = (v = r.value) == null ? void 0 : v.$el) == null ? void 0 : h.nodeName) !== "#text" ? (O = r.value) == null ? void 0 : O.$el : (C = r.value) == null ? void 0 : C.$el.nextSibling;
|
|
35
|
+
g = e(S);
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
to: g,
|
|
39
|
+
disabled: P,
|
|
40
|
+
forceMount: D
|
|
41
|
+
};
|
|
42
|
+
}), We = [
|
|
43
|
+
"prioritizePosition",
|
|
44
|
+
"placement",
|
|
45
|
+
"sideOffset",
|
|
46
|
+
"alignOffset",
|
|
47
|
+
"sticky",
|
|
48
|
+
"collisionBoundary",
|
|
49
|
+
"avoidCollisions",
|
|
50
|
+
"collisionPadding",
|
|
51
|
+
"forceMount",
|
|
52
|
+
"disableUpdateOnLayoutShift",
|
|
53
|
+
"hideWhenDetached",
|
|
54
|
+
"positionStrategy",
|
|
55
|
+
"reference",
|
|
56
|
+
"updatePositionStrategy",
|
|
57
|
+
"autoFocusInside",
|
|
58
|
+
"containerProps"
|
|
59
|
+
], je = Object.fromEntries(We.map((r) => [r, r])), He = ({
|
|
60
|
+
props: r,
|
|
61
|
+
flip: a,
|
|
62
|
+
_dir: c,
|
|
63
|
+
controlAutoFocus: l,
|
|
64
|
+
extraPropNames: n,
|
|
65
|
+
emitsAsProps: p
|
|
66
|
+
}, m = je) => f(() => {
|
|
67
|
+
var _;
|
|
68
|
+
const o = H(), e = r ?? (o == null ? void 0 : o.props) ?? {}, {
|
|
69
|
+
prioritizePosition: P = s.prioritizePosition,
|
|
70
|
+
placement: D = s.placement,
|
|
71
|
+
sideOffset: g = s.sideOffset,
|
|
72
|
+
alignOffset: y = s.alignOffset,
|
|
73
|
+
sticky: v = s.sticky,
|
|
74
|
+
collisionBoundary: h = s.collisionBoundary,
|
|
75
|
+
avoidCollisions: O = s.avoidCollisions,
|
|
76
|
+
collisionPadding: C = s.collisionPadding,
|
|
77
|
+
forceMount: S = s.forceMount,
|
|
78
|
+
disableUpdateOnLayoutShift: I = s.disableUpdateOnLayoutShift,
|
|
79
|
+
hideWhenDetached: M = s.hideWhenDetached,
|
|
80
|
+
positionStrategy: k = s.positionStrategy,
|
|
81
|
+
reference: E = s.reference,
|
|
82
|
+
updatePositionStrategy: L = s.updatePositionStrategy,
|
|
83
|
+
autoFocusInside: i = s.autoFocusInside,
|
|
84
|
+
containerProps: K = s.containerProps
|
|
85
|
+
} = m, U = t(e, P), b = t(e, D), q = t(e, g), x = t(e, y), G = t(e, v), J = t(e, h), Q = t(e, O), X = t(e, C), Y = t(e, S), Z = t(e, I), ee = t(e, M), oe = t(e, k), te = t(e, E), se = t(e, L), T = t(e, i), ne = t(e, K);
|
|
86
|
+
let [
|
|
87
|
+
N = "bottom",
|
|
88
|
+
re = "center"
|
|
89
|
+
] = ((_ = b == null ? void 0 : b.split) == null ? void 0 : _.call(b, "-")) || ["bottom", "center"];
|
|
90
|
+
a.value && c.value && c.value === a.value && (N = {
|
|
91
|
+
right: "left",
|
|
92
|
+
left: "right"
|
|
93
|
+
}[N] ?? N);
|
|
94
|
+
const $ = {};
|
|
95
|
+
l && ($.onCloseAutoFocus = (d) => {
|
|
96
|
+
var B;
|
|
97
|
+
T || d.preventDefault(), (B = o == null ? void 0 : o.emit) == null || B.call(o, "closeAutoFocus", d);
|
|
98
|
+
}, $.onOpenAutoFocus = (d) => {
|
|
99
|
+
var B;
|
|
100
|
+
T || d.preventDefault(), (B = o == null ? void 0 : o.emit) == null || B.call(o, "openAutoFocus", d);
|
|
101
|
+
});
|
|
102
|
+
const ie = Fe(
|
|
103
|
+
Object.fromEntries(
|
|
104
|
+
(Array.isArray(n) ? n : []).map((d) => [d, t(e, d)])
|
|
105
|
+
),
|
|
106
|
+
Ae
|
|
107
|
+
);
|
|
108
|
+
return {
|
|
109
|
+
...j(
|
|
110
|
+
p,
|
|
111
|
+
"onEscapeKeyDown",
|
|
112
|
+
"onFocusOutside",
|
|
113
|
+
"onInteractOutside",
|
|
114
|
+
"onPointerDownOutside"
|
|
115
|
+
),
|
|
116
|
+
...ze(ne ?? {}, "class"),
|
|
117
|
+
...ie,
|
|
118
|
+
sticky: G,
|
|
119
|
+
prioritizePosition: U,
|
|
120
|
+
side: N,
|
|
121
|
+
align: re,
|
|
122
|
+
sideOffset: q,
|
|
123
|
+
alignOffset: x,
|
|
124
|
+
collisionBoundary: J,
|
|
125
|
+
avoidCollisions: Q,
|
|
126
|
+
collisionPadding: X,
|
|
127
|
+
forceMount: Y,
|
|
128
|
+
disableUpdateOnLayoutShift: Z,
|
|
129
|
+
hideWhenDetached: ee,
|
|
130
|
+
positionStrategy: oe,
|
|
131
|
+
reference: te,
|
|
132
|
+
updatePositionStrategy: se,
|
|
133
|
+
...$
|
|
134
|
+
};
|
|
135
|
+
}), Je = /* @__PURE__ */ ae({
|
|
136
|
+
...Ne("Popover", !1),
|
|
137
|
+
__name: "Popover",
|
|
138
|
+
props: {
|
|
139
|
+
dir: {},
|
|
140
|
+
class: {},
|
|
141
|
+
containerCls: {},
|
|
142
|
+
containerProps: {},
|
|
143
|
+
trigger: { default: "hover" },
|
|
144
|
+
size: { default: "md" },
|
|
145
|
+
to: {},
|
|
146
|
+
placement: { default: "bottom" },
|
|
147
|
+
reversePlacementOnDir: {},
|
|
148
|
+
autoFocusInside: { type: Boolean },
|
|
149
|
+
zIndex: {},
|
|
150
|
+
defaultOpen: { type: Boolean },
|
|
151
|
+
open: { type: Boolean, default: void 0 },
|
|
152
|
+
openDelay: {},
|
|
153
|
+
closeDelay: {},
|
|
154
|
+
disabled: { type: Boolean },
|
|
155
|
+
defer: { type: Boolean },
|
|
156
|
+
forceMount: { type: Boolean },
|
|
157
|
+
sideOffset: {},
|
|
158
|
+
alignOffset: {},
|
|
159
|
+
avoidCollisions: { type: Boolean },
|
|
160
|
+
collisionBoundary: {},
|
|
161
|
+
collisionPadding: {},
|
|
162
|
+
arrowPadding: {},
|
|
163
|
+
sticky: { default: "always" },
|
|
164
|
+
hideWhenDetached: { type: Boolean },
|
|
165
|
+
positionStrategy: {},
|
|
166
|
+
updatePositionStrategy: {},
|
|
167
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
168
|
+
prioritizePosition: { type: Boolean, default: !0 },
|
|
169
|
+
reference: {},
|
|
170
|
+
disableOutsidePointerEvents: { type: Boolean }
|
|
171
|
+
},
|
|
172
|
+
emits: ["update:open", "escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
173
|
+
setup(r, { emit: a }) {
|
|
174
|
+
const l = ye(a), n = r, p = me("popover"), m = V(p, "trigger"), o = V(p, "content"), e = Pe(o, {
|
|
175
|
+
variants: {
|
|
176
|
+
size: ge(Ee, o)
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
le();
|
|
180
|
+
const P = Le(), D = f(() => ({
|
|
181
|
+
...j(n, "open", "defaultOpen"),
|
|
182
|
+
...j(l, "onUpdate:open")
|
|
183
|
+
})), g = ce(), y = $e({ triggerRef: g }), v = f(() => n.trigger === "hover" ? ve : he), h = f(() => n.trigger === "hover" ? Oe : Ce), O = f(() => n.trigger === "hover" ? De : Se), C = f(() => n.trigger === "hover" ? be : Be), { getFlipOnDir: S, getDir: I } = we(), M = S("reversePlacementOnDir"), k = I(), E = He({
|
|
184
|
+
emitsAsProps: l,
|
|
185
|
+
flip: M,
|
|
186
|
+
_dir: k,
|
|
187
|
+
controlAutoFocus: !0
|
|
188
|
+
}), L = (i) => {
|
|
189
|
+
n.trigger === "hover" && i.stopPropagation();
|
|
190
|
+
};
|
|
191
|
+
return (i, K) => (z(), F(A(v.value), W({
|
|
192
|
+
key: u(P)
|
|
193
|
+
}, D.value, {
|
|
194
|
+
openDelay: i.openDelay,
|
|
195
|
+
closeDelay: i.closeDelay
|
|
196
|
+
}), {
|
|
197
|
+
default: w(({ open: U }) => [
|
|
198
|
+
(z(), F(A(h.value), W({
|
|
199
|
+
asChild: u(P),
|
|
200
|
+
as: "span",
|
|
201
|
+
class: [u(m), n.class],
|
|
202
|
+
onPointerdown: L
|
|
203
|
+
}, i.$attrs, {
|
|
204
|
+
dir: i.dir,
|
|
205
|
+
ref_key: "triggerRef",
|
|
206
|
+
ref: g
|
|
207
|
+
}), {
|
|
208
|
+
default: w(() => [
|
|
209
|
+
R(i.$slots, "default")
|
|
210
|
+
]),
|
|
211
|
+
_: 3
|
|
212
|
+
}, 16, ["asChild", "class", "dir"])),
|
|
213
|
+
(z(), F(A(O.value), pe(de(u(y))), {
|
|
214
|
+
default: w(() => [
|
|
215
|
+
ue((z(), F(A(C.value), W({
|
|
216
|
+
style: { zIndex: i.zIndex }
|
|
217
|
+
}, u(E), {
|
|
218
|
+
class: [u(e)({ size: i.size }), i.$attrs.containerClass, i.containerCls]
|
|
219
|
+
}), {
|
|
220
|
+
default: w(() => [
|
|
221
|
+
R(i.$slots, "content")
|
|
222
|
+
]),
|
|
223
|
+
_: 2
|
|
224
|
+
}, 1040, ["style", "class"])), [
|
|
225
|
+
[fe, U]
|
|
226
|
+
])
|
|
227
|
+
]),
|
|
228
|
+
_: 2
|
|
229
|
+
}, 1040))
|
|
230
|
+
]),
|
|
231
|
+
_: 3
|
|
232
|
+
}, 16, ["openDelay", "closeDelay"]));
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
export {
|
|
236
|
+
Ee as P,
|
|
237
|
+
Je as _,
|
|
238
|
+
Ge as a,
|
|
239
|
+
$e as b,
|
|
240
|
+
He as c,
|
|
241
|
+
Le as g
|
|
242
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),k=require("@pantograph/utils"),re=require("class-variance-authority"),g=require("reka-ui"),se=require("./options-CWrQ7gsa.js"),o=require("./Icon.vue_vue_type_style_index_0_lang-Cc8Uh2lr.js"),U=require("./element-BjE0SVc4.js"),W=["sm","md","lg"],ie=["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"],T=(i="default")=>e.computed(()=>{var s,d;const l=e.getCurrentInstance(),c=U.filterEmpty((d=(s=l==null?void 0:l.slots)==null?void 0:s[i])==null?void 0:d.call(s,{}))??null,p=c.length===1?c[0]:c;return p?U.isValidElement(p)&&!U.isFragment(p):!0}),ae=["to","disabled","forceMount"],r=Object.fromEntries(ae.map(i=>[i,i])),_=({triggerRef:i,props:l},c=r)=>e.computed(()=>{var v,y,h,C,O;const{to:p=r.to,forceMount:s=r.forceMount,disabled:d=r.disabled}=c,f=e.getCurrentInstance(),n=l??(f==null?void 0:f.props)??{},t=o.get(n,p),P=o.get(n,d),B=o.get(n,s);let m=((v=e.unref(t))==null?void 0:v.$el)??e.unref(t);if(t instanceof Function){const D=((h=(y=i.value)==null?void 0:y.$el)==null?void 0:h.nodeName)!=="#text"?(C=i.value)==null?void 0:C.$el:(O=i.value)==null?void 0:O.$el.nextSibling;m=t(D)}return{to:m,disabled:P,forceMount:B}}),le=["prioritizePosition","placement","sideOffset","alignOffset","sticky","collisionBoundary","avoidCollisions","collisionPadding","forceMount","disableUpdateOnLayoutShift","hideWhenDetached","positionStrategy","reference","updatePositionStrategy","autoFocusInside","containerProps"],ce=Object.fromEntries(le.map(i=>[i,i])),H=({props:i,flip:l,_dir:c,controlAutoFocus:p,extraPropNames:s,emitsAsProps:d},f=ce)=>e.computed(()=>{var q;const n=e.getCurrentInstance(),t=i??(n==null?void 0:n.props)??{},{prioritizePosition:P=r.prioritizePosition,placement:B=r.placement,sideOffset:m=r.sideOffset,alignOffset:v=r.alignOffset,sticky:y=r.sticky,collisionBoundary:h=r.collisionBoundary,avoidCollisions:C=r.avoidCollisions,collisionPadding:O=r.collisionPadding,forceMount:D=r.forceMount,disableUpdateOnLayoutShift:F=r.disableUpdateOnLayoutShift,hideWhenDetached:z=r.hideWhenDetached,positionStrategy:w=r.positionStrategy,reference:A=r.reference,updatePositionStrategy:I=r.updatePositionStrategy,autoFocusInside:a=r.autoFocusInside,containerProps:L=r.containerProps}=f,M=o.get(t,P),S=o.get(t,B),K=o.get(t,m),j=o.get(t,v),x=o.get(t,y),R=o.get(t,h),V=o.get(t,C),G=o.get(t,O),J=o.get(t,D),Q=o.get(t,F),X=o.get(t,z),Y=o.get(t,w),Z=o.get(t,A),ee=o.get(t,I),$=o.get(t,a),oe=o.get(t,L);let[N="bottom",te="center"]=((q=S==null?void 0:S.split)==null?void 0:q.call(S,"-"))||["bottom","center"];l.value&&c.value&&c.value===l.value&&(N={right:"left",left:"right"}[N]??N);const E={};p&&(E.onCloseAutoFocus=u=>{var b;$||u.preventDefault(),(b=n==null?void 0:n.emit)==null||b.call(n,"closeAutoFocus",u)},E.onOpenAutoFocus=u=>{var b;$||u.preventDefault(),(b=n==null?void 0:n.emit)==null||b.call(n,"openAutoFocus",u)});const ne=o.omitBy(Object.fromEntries((Array.isArray(s)?s:[]).map(u=>[u,o.get(t,u)])),o.isUndefined);return{...o.pick(d,"onEscapeKeyDown","onFocusOutside","onInteractOutside","onPointerDownOutside"),...o.omit(oe??{},"class"),...ne,sticky:x,prioritizePosition:M,side:N,align:te,sideOffset:K,alignOffset:j,collisionBoundary:R,avoidCollisions:V,collisionPadding:G,forceMount:J,disableUpdateOnLayoutShift:Q,hideWhenDetached:X,positionStrategy:Y,reference:Z,updatePositionStrategy:ee,...E}}),pe=e.defineComponent({...se.getComponentOptions("Popover",!1),__name:"Popover",props:{dir:{},class:{},containerCls:{},containerProps:{},trigger:{default:"hover"},size:{default:"md"},to:{},placement:{default:"bottom"},reversePlacementOnDir:{},autoFocusInside:{type:Boolean},zIndex:{},defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},openDelay:{},closeDelay:{},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{default:"always"},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},disableOutsidePointerEvents:{type:Boolean}},emits:["update:open","escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(i,{emit:l}){const c=l,p=g.useEmitAsProps(c),s=i,d=k.getBemBlock("popover"),f=k.getBemElement(d,"trigger"),n=k.getBemElement(d,"content"),t=re.cva(n,{variants:{size:k.generateVariantClassList(W,n)}});e.useSlots();const P=T(),B=e.computed(()=>({...o.pick(s,"open","defaultOpen"),...o.pick(p,"onUpdate:open")})),m=e.ref(),v=_({triggerRef:m}),y=e.computed(()=>s.trigger==="hover"?g.HoverCardRoot:g.PopoverRoot),h=e.computed(()=>s.trigger==="hover"?g.HoverCardTrigger:g.PopoverTrigger),C=e.computed(()=>s.trigger==="hover"?g.HoverCardPortal:g.PopoverPortal),O=e.computed(()=>s.trigger==="hover"?g.HoverCardContent:g.PopoverContent),{getFlipOnDir:D,getDir:F}=o.useConfig(),z=D("reversePlacementOnDir"),w=F(),A=H({emitsAsProps:p,flip:z,_dir:w,controlAutoFocus:!0}),I=a=>{s.trigger==="hover"&&a.stopPropagation()};return(a,L)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value),e.mergeProps({key:e.unref(P)},B.value,{openDelay:a.openDelay,closeDelay:a.closeDelay}),{default:e.withCtx(({open:M})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h.value),e.mergeProps({asChild:e.unref(P),as:"span",class:[e.unref(f),s.class],onPointerdown:I},a.$attrs,{dir:a.dir,ref_key:"triggerRef",ref:m}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["asChild","class","dir"])),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.value),e.normalizeProps(e.guardReactiveProps(e.unref(v))),{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(e.resolveDynamicComponent(O.value),e.mergeProps({style:{zIndex:a.zIndex}},e.unref(A),{class:[e.unref(t)({size:a.size}),a.$attrs.containerClass,a.containerCls]}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"content")]),_:2},1040,["style","class"])),[[e.vShow,M]])]),_:2},1040))]),_:3},16,["openDelay","closeDelay"]))}});exports.PopoverPlacements=ie;exports.PopoverSizes=W;exports._sfc_main=pe;exports.getAsChildOnPopoverTrigger=T;exports.getPopoverContentProps=H;exports.getPopoverPortalProps=_;
|
package/dist/RadioGroup/index.js
CHANGED
|
@@ -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-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../RadioGroup.vue_vue_type_script_setup_true_lang-Dq66i_P9.js");exports.RadioGroup=e._sfc_main;exports.RadioGroupItem=e._sfc_main$1;exports.default=e._sfc_main;
|
|
@@ -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-
|
|
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-
|
|
5
|
-
import { g as x } from "./options-
|
|
6
|
-
import { U as O, u as U } from "./useInputDataStates-
|
|
4
|
+
import { o as P } from "./Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js";
|
|
5
|
+
import { g as x } from "./options-D4et5euX.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"),
|