@pantograph/vue 0.22.5 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-DaglRgvB.js → ActionButton.vue_vue_type_script_setup_true_lang-9KLDmGYU.js} +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-BuoyyieN.js → ActionButton.vue_vue_type_script_setup_true_lang-CcQqao00.js} +3 -3
- 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-CJp5SNlM.js → Alert.vue_vue_type_style_index_0_lang-BO0hGV-5.js} +1 -1
- package/dist/{Alert.vue_vue_type_style_index_0_lang-0LOAObnE.js → Alert.vue_vue_type_style_index_0_lang-Dc6uFy38.js} +5 -5
- 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-CQkfLDC5.js → Avatar.vue_vue_type_style_index_0_lang-B-Ag5VWz.js} +1 -1
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-C7WmfBbR.js → Avatar.vue_vue_type_style_index_0_lang-BIoHlavX.js} +5 -5
- 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-lu-gu5b5.js → Badge.vue_vue_type_script_setup_true_lang-C1EgUY0e.js} +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-CXsn0nkw.js → Badge.vue_vue_type_script_setup_true_lang-CTSx6U_M.js} +3 -3
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BuXOyFVD.js → BaseBadge.vue_vue_type_style_index_0_lang-B_yMpWXJ.js} +2 -2
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BLAg02qH.js → BaseBadge.vue_vue_type_style_index_0_lang-DCuagJOf.js} +1 -1
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-CLVtjY8d.js → BaseButton.vue_vue_type_style_index_0_lang-C2y_wKyY.js} +6 -6
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-L4DRwvWw.js → BaseButton.vue_vue_type_style_index_0_lang-DBPimVAm.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-FfYrgTkY.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-DQesYwzL.js → Button.vue_vue_type_script_setup_true_lang-KulThQVd.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-BdcW-RZN.js → Checkbox.vue_vue_type_style_index_0_lang-C98z6Uaw.js} +1 -1
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-cKjwhSu-.js → Checkbox.vue_vue_type_style_index_0_lang-D8rc8anP.js} +3 -3
- 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-CRT0bmU6.js +121 -0
- package/dist/Chip.vue_vue_type_style_index_0_lang-DEYLbYPA.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-17_5KeUm.js +1 -0
- package/dist/ChipGroup.vue_vue_type_style_index_0_lang-DWT3Gtws.js +77 -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-C_oiAMBb.js → ColorPicker.vue_vue_type_style_index_0_lang-PdEaUt0-.js} +1 -1
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-D9uXTo6A.js → ColorPicker.vue_vue_type_style_index_0_lang-URr3Uh2g.js} +3 -3
- 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-CONqtEmS.js → ColorSwatch.vue_vue_type_style_index_0_lang-CfFSkFNC.js} +4 -4
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-3IRstZgE.js → ColorSwatch.vue_vue_type_style_index_0_lang-D3kS4OhB.js} +1 -1
- 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-BMyF1WYM.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-B8cJsDqQ.js} +1 -1
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-rZ0DAGiR.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-C8rQPWGD.js} +5 -5
- 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-B-HxrWXr.js → ColorTrigger.vue_vue_type_style_index_0_lang-BUiBupQ9.js} +1 -1
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-D5A9MniE.js → ColorTrigger.vue_vue_type_style_index_0_lang-ocCOj1IG.js} +4 -4
- 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-D2Y8MDt8.js} +270 -279
- package/dist/DataTable.vue_vue_type_style_index_0_lang-DKKQFsl6.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-DLNj8j_C.js} +3 -3
- package/dist/{DropZone.vue_vue_type_style_index_0_lang-BKZKDO-V.js → DropZone.vue_vue_type_style_index_0_lang-DmwUpuJI.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-CuQcDV5E.js} +2 -2
- package/dist/{Empty.vue_vue_type_style_index_0_lang-o-PAGM69.js → Empty.vue_vue_type_style_index_0_lang-DT5JnUqN.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-BM21wcnb.js → FloatButton.vue_vue_type_script_setup_true_lang-CVGgB-Tm.js} +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-Dp8_A9bR.js → FloatButton.vue_vue_type_script_setup_true_lang-pRCc5F-L.js} +3 -3
- 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-CPqOVLZ9.js} +1 -1
- package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CX_x2Kmv.js → GOPicker.vue_vue_type_style_index_0_lang-iOq-J-RN.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-BuLWC_UH.js} +4 -4
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-Cs85tVJU.js → GraphicalObject.vue_vue_type_script_setup_true_lang-DPne-4SI.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-C2ubwE2W.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-B1xCzMBX.js} +1 -1
- package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DSIv18t_.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CrBvNPZc.js} +3 -3
- 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-BjAp2TPg.js} +2 -2
- package/dist/{Icon.vue_vue_type_style_index_0_lang-m8dwDy4r.js → Icon.vue_vue_type_style_index_0_lang-DwTaEYnw.js} +9 -9
- 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-Cc4O_tGW.js} +3 -3
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-C49Y9h7k.js → IconButton.vue_vue_type_script_setup_true_lang-DN9Pg95b.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-BNx8S5ED.js} +3 -3
- package/dist/{Image.vue_vue_type_style_index_0_lang-4AzaV6m3.js → Image.vue_vue_type_style_index_0_lang-M9u3w_Xx.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-CeUKjmVg.js → IndentLevel.vue_vue_type_style_index_0_lang-BspMh5vS.js} +1 -1
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BnU3U7f0.js → IndentLevel.vue_vue_type_style_index_0_lang-DbECAb3_.js} +5 -5
- 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-vbGXlfQf.js → Indicator.vue_vue_type_script_setup_true_lang-CbazOYtZ.js} +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-D8LgY6cc.js → Indicator.vue_vue_type_script_setup_true_lang-Cn0dPSWi.js} +3 -3
- 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-B36ODtKB.js} +4 -4
- package/dist/{Input.vue_vue_type_style_index_0_lang-Cfjllz6E.js → Input.vue_vue_type_style_index_0_lang-C3wHsLuO.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-Bd2oUt5y.js → Kbd.vue_vue_type_style_index_0_lang-BXF6Pwx_.js} +2 -2
- package/dist/{Kbd.vue_vue_type_style_index_0_lang-DCL5O9Je.js → Kbd.vue_vue_type_style_index_0_lang-Nh7YxSKh.js} +1 -1
- 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-DBcWxMUI.js} +2 -2
- package/dist/{Link.vue_vue_type_style_index_0_lang-CZtbe6e7.js → Link.vue_vue_type_style_index_0_lang-ZS5gldRN.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-BkAp2Lox.js → Menu.vue_vue_type_style_index_0_lang-CubIX9qe.js} +1 -1
- package/dist/{Menu.vue_vue_type_style_index_0_lang-BTYGoWOL.js → Menu.vue_vue_type_style_index_0_lang-DJUI0cDL.js} +4 -4
- package/dist/MenuItem/index.js +1 -1
- package/dist/MenuItem/index.umd.cjs +1 -1
- package/dist/Popover/Popover.d.ts +117 -15
- 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-1N-p2jeN.js +242 -0
- package/dist/Popover.vue_vue_type_style_index_0_lang-CyMu3Xx0.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-Bc_8IXPT.js} +1 -1
- package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Cymmyiys.js → RadioGroup.vue_vue_type_script_setup_true_lang-CgRUMlpC.js} +3 -3
- package/dist/ScrollContainer/ScrollContainer.d.ts +9 -9
- 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-CmXa5MIq.js → ScrollContainer.vue_vue_type_style_index_0_lang-BgwgYelV.js} +1 -1
- package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-CSCDhOQB.js → ScrollContainer.vue_vue_type_style_index_0_lang-CSLCU0p6.js} +1 -1
- 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-BTgHRXX_.js +1 -0
- package/dist/Select.vue_vue_type_style_index_0_lang-DCJ67w-X.js +696 -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-CciPWuSf.js} +1 -1
- package/dist/{Shortcut.vue_vue_type_style_index_0_lang-CPjV7eLg.js → Shortcut.vue_vue_type_style_index_0_lang-CiUggE_F.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-DAY9kBO9.js → Spinner.vue_vue_type_style_index_0_lang-CtV8D35S.js} +2 -2
- package/dist/{Spinner.vue_vue_type_style_index_0_lang-Cm7J5cBI.js → Spinner.vue_vue_type_style_index_0_lang-U9S8eFoU.js} +1 -1
- 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-CbPa8rrd.js} +3 -3
- package/dist/{Switch.vue_vue_type_style_index_0_lang-RuK62YKH.js → Switch.vue_vue_type_style_index_0_lang-T01ZPIDf.js} +1 -1
- package/dist/{THead.vue_vue_type_style_index_0_lang-B63h1RF2.js → THead.vue_vue_type_style_index_0_lang-Bs2eiSIK.js} +1 -1
- package/dist/{THead.vue_vue_type_style_index_0_lang-DHLQWjez.js → THead.vue_vue_type_style_index_0_lang-CPVnfFwH.js} +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/Table/index.umd.cjs +1 -1
- package/dist/Textarea/Textarea.d.ts +19 -609
- 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-D9qOlkQi.js +164 -0
- package/dist/Textarea.vue_vue_type_style_index_0_lang-DSq3XynL.js +1 -0
- 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-B4vwt46r.js → Tree.vue_vue_type_style_index_0_lang-CojL7dhn.js} +1 -1
- package/dist/{Tree.vue_vue_type_style_index_0_lang-Dv5zm7Sb.js → Tree.vue_vue_type_style_index_0_lang-DWj8WAj6.js} +6 -6
- package/dist/element-BfQuKSll.js +47 -0
- package/dist/element-BjE0SVc4.js +1 -0
- 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-D1JzwKWa.js} +1 -1
- package/dist/{uniq-Dci8Hrey.js → uniq-D7FwKSyV.js} +5 -5
- package/dist/{useInputDataStates-B4OO_nST.js → useInputDataStates-D6nrxMSF.js} +1 -1
- package/dist/{useInputDataStates-6_JS7YSj.js → useInputDataStates-DdGDk2Hm.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 +11 -8
- 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/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/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
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { computed as f, getCurrentInstance as T, unref as u, defineComponent as ae, useSlots as le, useTemplateRef as ce, createBlock as F, openBlock as z, resolveDynamicComponent as A, mergeProps as W, withCtx as w, renderSlot as _, 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 as R, s as Ae, u as we } from "./Icon.vue_vue_type_style_index_0_lang-DwTaEYnw.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 = T(), 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 = T(), 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
|
+
], Re = Object.fromEntries(We.map((r) => [r, r])), Te = ({
|
|
60
|
+
props: r,
|
|
61
|
+
flip: a,
|
|
62
|
+
_dir: c,
|
|
63
|
+
controlAutoFocus: l,
|
|
64
|
+
extraPropNames: n,
|
|
65
|
+
emitsAsProps: p
|
|
66
|
+
}, m = Re) => f(() => {
|
|
67
|
+
var K;
|
|
68
|
+
const o = T(), 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: j = 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), H = t(e, i), ne = t(e, j);
|
|
86
|
+
let [
|
|
87
|
+
N = "bottom",
|
|
88
|
+
re = "center"
|
|
89
|
+
] = ((K = b == null ? void 0 : b.split) == null ? void 0 : K.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
|
+
H || d.preventDefault(), (B = o == null ? void 0 : o.emit) == null || B.call(o, "closeAutoFocus", d);
|
|
98
|
+
}, $.onOpenAutoFocus = (d) => {
|
|
99
|
+
var B;
|
|
100
|
+
H || 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
|
+
...R(
|
|
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
|
+
...R(n, "open", "defaultOpen"),
|
|
182
|
+
...R(l, "onUpdate:open")
|
|
183
|
+
})), g = ce("triggerRef"), 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 = Te({
|
|
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, j) => (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
|
+
_(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
|
+
_(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
|
+
Te 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-BjAp2TPg.js"),U=require("./element-BjE0SVc4.js"),T=["sm","md","lg"],ie=["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"],W=(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])),R=({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])),_=({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),H=o.get(t,m),K=o.get(t,v),j=o.get(t,y),x=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:j,prioritizePosition:M,side:N,align:te,sideOffset:H,alignOffset:K,collisionBoundary:x,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(T,n)}});e.useSlots();const P=W(),B=e.computed(()=>({...o.pick(s,"open","defaultOpen"),...o.pick(p,"onUpdate:open")})),m=e.useTemplateRef("triggerRef"),v=R({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=_({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=T;exports._sfc_main=pe;exports.getAsChildOnPopoverTrigger=W;exports.getPopoverContentProps=_;exports.getPopoverPortalProps=R;
|
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-Bc_8IXPT.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-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,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-DwTaEYnw.js";
|
|
5
|
+
import { g as x } from "./options-D4et5euX.js";
|
|
6
|
+
import { U as O, u as U } from "./useInputDataStates-DdGDk2Hm.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"),
|
|
@@ -27,7 +27,7 @@ declare function __VLS_template(): {
|
|
|
27
27
|
$: import('vue').ComponentInternalInstance;
|
|
28
28
|
$data: {};
|
|
29
29
|
$props: {
|
|
30
|
-
readonly type?: ("scroll" | "auto" | "
|
|
30
|
+
readonly type?: ("scroll" | "auto" | "always" | "hover") | undefined;
|
|
31
31
|
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
32
32
|
readonly scrollHideDelay?: number | undefined;
|
|
33
33
|
readonly asChild?: boolean | undefined;
|
|
@@ -52,7 +52,7 @@ declare function __VLS_template(): {
|
|
|
52
52
|
scrollTop: () => void;
|
|
53
53
|
scrollTopLeft: () => void;
|
|
54
54
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
55
|
-
type: "scroll" | "auto" | "
|
|
55
|
+
type: "scroll" | "auto" | "always" | "hover";
|
|
56
56
|
scrollHideDelay: number;
|
|
57
57
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
58
58
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -75,7 +75,7 @@ declare function __VLS_template(): {
|
|
|
75
75
|
$nextTick: typeof import('vue').nextTick;
|
|
76
76
|
$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;
|
|
77
77
|
} & Readonly<{
|
|
78
|
-
type: "scroll" | "auto" | "
|
|
78
|
+
type: "scroll" | "auto" | "always" | "hover";
|
|
79
79
|
scrollHideDelay: number;
|
|
80
80
|
}> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
81
81
|
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -362,7 +362,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProp
|
|
|
362
362
|
$: import('vue').ComponentInternalInstance;
|
|
363
363
|
$data: {};
|
|
364
364
|
$props: {
|
|
365
|
-
readonly type?: ("scroll" | "auto" | "
|
|
365
|
+
readonly type?: ("scroll" | "auto" | "always" | "hover") | undefined;
|
|
366
366
|
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
367
367
|
readonly scrollHideDelay?: number | undefined;
|
|
368
368
|
readonly asChild?: boolean | undefined;
|
|
@@ -387,7 +387,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProp
|
|
|
387
387
|
scrollTop: () => void;
|
|
388
388
|
scrollTopLeft: () => void;
|
|
389
389
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
390
|
-
type: "scroll" | "auto" | "
|
|
390
|
+
type: "scroll" | "auto" | "always" | "hover";
|
|
391
391
|
scrollHideDelay: number;
|
|
392
392
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
393
393
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -410,7 +410,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProp
|
|
|
410
410
|
$nextTick: typeof import('vue').nextTick;
|
|
411
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
412
|
} & Readonly<{
|
|
413
|
-
type: "scroll" | "auto" | "
|
|
413
|
+
type: "scroll" | "auto" | "always" | "hover";
|
|
414
414
|
scrollHideDelay: number;
|
|
415
415
|
}> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
416
416
|
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -436,7 +436,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProp
|
|
|
436
436
|
$: import('vue').ComponentInternalInstance;
|
|
437
437
|
$data: {};
|
|
438
438
|
$props: {
|
|
439
|
-
readonly type?: ("scroll" | "auto" | "
|
|
439
|
+
readonly type?: ("scroll" | "auto" | "always" | "hover") | undefined;
|
|
440
440
|
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
441
441
|
readonly scrollHideDelay?: number | undefined;
|
|
442
442
|
readonly asChild?: boolean | undefined;
|
|
@@ -461,7 +461,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProp
|
|
|
461
461
|
scrollTop: () => void;
|
|
462
462
|
scrollTopLeft: () => void;
|
|
463
463
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
464
|
-
type: "scroll" | "auto" | "
|
|
464
|
+
type: "scroll" | "auto" | "always" | "hover";
|
|
465
465
|
scrollHideDelay: number;
|
|
466
466
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
467
467
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -484,7 +484,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollContainerProp
|
|
|
484
484
|
$nextTick: typeof import('vue').nextTick;
|
|
485
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
486
|
} & Readonly<{
|
|
487
|
-
type: "scroll" | "auto" | "
|
|
487
|
+
type: "scroll" | "auto" | "always" | "hover";
|
|
488
488
|
scrollHideDelay: number;
|
|
489
489
|
}> & Omit<Readonly<import('reka-ui', { with: { "resolution-mode": "import" } }).ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
490
490
|
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -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-
|
|
1
|
+
import { _ as r, a as e, S as l, _ as n } from "../ScrollContainer.vue_vue_type_style_index_0_lang-CSLCU0p6.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-
|
|
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 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("reka-ui"),A=require("class-variance-authority"),s=require("@pantograph/utils"),n=require("@vueuse/core"),X=require("./Icon.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const e=require("vue"),a=require("reka-ui"),A=require("class-variance-authority"),s=require("@pantograph/utils"),n=require("@vueuse/core"),X=require("./Icon.vue_vue_type_style_index_0_lang-BjAp2TPg.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=A.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(v,b)=>(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"],L=["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,v=t,b=A.cva(l,{variants:{size:s.generateVariantClassList(L,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:O}=X.useConfig(),q=e.computed(()=>i.dir?i.dir:O.dir.value),V=e.useTemplateRef("top"),D=n.useElementVisibility(V),y=e.useTemplateRef("end"),H=n.useElementVisibility(y),h=e.useTemplateRef("start"),P=n.useElementVisibility(h),g=e.useTemplateRef("bottom"),m=e.shallowRef(!1),{stop:$}=n.useIntersectionObserver(g,([{isIntersecting:r}])=>{r?(v("loadMore"),m.value=!0):m.value=!1});e.onBeforeUnmount($);const o=e.useTemplateRef("root"),B=e.useTemplateRef("container"),k=e.useTemplateRef("wrap"),w=e.shallowRef(!1),E=e.shallowRef(!1),d=n.useDebounceFn(()=>{var r,p,z,S,N,_,R,T,M;e.unref((r=o.value)==null?void 0:r.viewport)&&(w.value=(((z=(p=e.unref(o.value))==null?void 0:p.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=(((R=(_=e.unref(o.value))==null?void 0:_.viewport)==null?void 0:R.offsetHeight)||0)<(((M=(T=e.unref(o.value))==null?void 0:T.viewport)==null?void 0:M.scrollHeight)||0))},10);return e.onMounted(()=>d()),n.useResizeObserver(o,d),n.useResizeObserver(k,d),u({container:B,root:o}),(r,p)=>(e.openBlock(),e.createBlock(e.unref(a.ScrollAreaRoot),e.mergeProps({class:[e.unref(b)({overlay:r.overlay,isOverflowX:w.value,isOverflowY:E.value,hasMask:r.hasMask,size:r.size}),r.rootCls],scrollHideDelay:i.scrollHideDelay,dir:q.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(D),bottomVisible:m.value,endVisible:e.unref(H),startVisible:e.unref(P)},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=L;exports.ScrollContainerTypes=F;exports._sfc_main=U;
|
|
@@ -3,7 +3,7 @@ import { ScrollAreaRoot as ae, ScrollAreaViewport as ie, ScrollAreaScrollbar as
|
|
|
3
3
|
import { cva as J } from "class-variance-authority";
|
|
4
4
|
import { getBemBlock as ce, getBemElement as r, generateVariantClassList as i } from "@pantograph/utils";
|
|
5
5
|
import { useElementVisibility as w, useIntersectionObserver as ue, useDebounceFn as fe, useResizeObserver as j } from "@vueuse/core";
|
|
6
|
-
import { u as pe } from "./Icon.vue_vue_type_style_index_0_lang-
|
|
6
|
+
import { u as pe } from "./Icon.vue_vue_type_style_index_0_lang-DwTaEYnw.js";
|
|
7
7
|
const l = ce("scroll_container"), ve = /* @__PURE__ */ q({
|
|
8
8
|
__name: "Mask",
|
|
9
9
|
props: {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { SelectProps, SelectSlots } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: Readonly<SelectSlots> & SelectSlots;
|
|
4
|
+
refs: {};
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<SelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: import('reka-ui', { with: { "resolution-mode": "import" } }).AcceptableValue) => any;
|
|
10
|
+
closeAutoFocus: (event: Event) => any;
|
|
11
|
+
"update:open": (value: boolean) => any;
|
|
12
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
14
|
+
originalEvent: PointerEvent;
|
|
15
|
+
}>) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: import('reka-ui', { with: { "resolution-mode": "import" } }).AcceptableValue) => any) | undefined;
|
|
18
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
21
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
22
|
+
originalEvent: PointerEvent;
|
|
23
|
+
}>) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
size: import('./Select.model.ts', { with: { "resolution-mode": "import" } }).SelectSize;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
placement: import('../index.ts', { with: { "resolution-mode": "import" } }).PopoverPlacement;
|
|
28
|
+
forceMount: boolean;
|
|
29
|
+
prioritizePosition: boolean;
|
|
30
|
+
sideOffset: number;
|
|
31
|
+
avoidCollisions: boolean;
|
|
32
|
+
collisionPadding: number | Partial<Record<"top" | "bottom" | "right" | "left", number>>;
|
|
33
|
+
disableUpdateOnLayoutShift: boolean;
|
|
34
|
+
hideWhenDetached: boolean;
|
|
35
|
+
positionStrategy: "absolute" | "fixed";
|
|
36
|
+
defaultOpen: boolean;
|
|
37
|
+
open: boolean;
|
|
38
|
+
trailingIcon: string;
|
|
39
|
+
bordered: boolean;
|
|
40
|
+
multiple: boolean;
|
|
41
|
+
loadingRowCount: number;
|
|
42
|
+
position: "item-aligned" | "popper";
|
|
43
|
+
selectedItemIconAsTrailingIcon: boolean;
|
|
44
|
+
indicatorIcon: string;
|
|
45
|
+
clearOnChangeMultiple: boolean;
|
|
46
|
+
samePopupWidth: boolean;
|
|
47
|
+
popupHeight: string | number;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SlotsType } from 'vue';
|
|
2
|
+
import { SelectOptionItem, SelectOptionSlots } from './types';
|
|
3
|
+
export interface SelectOptionProps {
|
|
4
|
+
option: SelectOptionItem;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
option: {
|
|
8
|
+
type: () => SelectOptionItem;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
option: {
|
|
15
|
+
type: () => SelectOptionItem;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}>> & Readonly<{}>, {}, SlotsType<SelectOptionSlots>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CheckNode } from '../utils';
|
|
2
|
+
import { SelectOptionSlotsKeys } from './types';
|
|
3
|
+
type GetOptionSlot = (name: SelectOptionSlotsKeys, value?: string) => (() => CheckNode[] | undefined) | undefined;
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
getOptionSlot: GetOptionSlot;
|
|
6
|
+
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
getOptionSlot: GetOptionSlot;
|
|
10
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SelectEmitObject, SelectOptionType, SelectOptionItem, SelectProps } from './types';
|
|
2
|
+
import { injectSelectRootContext } from 'reka-ui';
|
|
3
|
+
import { ComputedRef, Ref } from 'vue';
|
|
4
|
+
import { SelectSize, SelectStatus } from './Select.model';
|
|
5
|
+
export type SelectRootContext = Exclude<ReturnType<typeof injectSelectRootContext>, undefined | null>;
|
|
6
|
+
export interface _SelectContext {
|
|
7
|
+
props: SelectProps;
|
|
8
|
+
attrs: Record<string, any>;
|
|
9
|
+
emitsAsProps: SelectEmitObject;
|
|
10
|
+
emit: any;
|
|
11
|
+
}
|
|
12
|
+
export interface SelectContext extends SelectRootContext, Omit<_SelectContext, 'emitsAsProps'> {
|
|
13
|
+
modelValue: Ref<string | string[] | undefined>;
|
|
14
|
+
getOptionValue: (option?: SelectOptionItem) => string | undefined;
|
|
15
|
+
getOptionLabel: (option?: SelectOptionItem) => string | undefined;
|
|
16
|
+
getOptionDisabled: (option?: SelectOptionItem) => boolean | undefined;
|
|
17
|
+
getOptionIcon: (option?: SelectOptionItem) => string | undefined;
|
|
18
|
+
getOptionGroupLabel: (option?: SelectOptionItem) => string | undefined;
|
|
19
|
+
getOptionGroupOptions: (option?: SelectOptionType) => SelectOptionItem[] | undefined;
|
|
20
|
+
getOptionByValue: (value: string) => SelectOptionItem | undefined;
|
|
21
|
+
getLabelByValue: (value: string) => string | undefined;
|
|
22
|
+
getDisabled: ComputedRef<boolean>;
|
|
23
|
+
getStatus: ComputedRef<SelectStatus>;
|
|
24
|
+
getSize: ComputedRef<SelectSize>;
|
|
25
|
+
}
|
|
26
|
+
export declare const injectSelectContext: <T extends SelectContext | null | undefined = SelectContext>(fallback?: T | undefined) => T extends null ? SelectContext | null : SelectContext, provideSelectContext: (contextValue: SelectContext) => SelectContext;
|
|
27
|
+
export declare const _injectSelectContext: <T extends _SelectContext | null | undefined = _SelectContext>(fallback?: T | undefined) => T extends null ? _SelectContext | null : _SelectContext, _provideSelectContext: (contextValue: _SelectContext) => _SelectContext;
|
|
28
|
+
export declare const selectPrefix: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Select } from './Select';
|
|
2
|
+
export { default as SelectOption, type SelectOptionProps } from './SelectOption';
|
|
3
|
+
export { default as SelectLabel } from './SelectLabel';
|
|
4
|
+
export { type SelectSize, type SelectStatus, SelectSizes, SelectStatuses } from './Select.model';
|
|
5
|
+
export type { SelectSlots, SelectProps, SelectEmits, SelectOptionType } from './types';
|
|
6
|
+
export { provideSelectContext, injectSelectContext, type SelectContext } from './context';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { _ as a, a as s, S, b as c, c as l, i as o, p as i } from "../Select.vue_vue_type_style_index_0_lang-DCJ67w-X.js";
|
|
2
|
+
export {
|
|
3
|
+
a as Select,
|
|
4
|
+
s as SelectLabel,
|
|
5
|
+
S as SelectOption,
|
|
6
|
+
c as SelectSizes,
|
|
7
|
+
l as SelectStatuses,
|
|
8
|
+
o as injectSelectContext,
|
|
9
|
+
i as provideSelectContext
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select.vue_vue_type_style_index_0_lang-BTgHRXX_.js");exports.Select=e._sfc_main;exports.SelectLabel=e._sfc_main$1;exports.SelectOption=e.SelectOption;exports.SelectSizes=e.SelectSizes;exports.SelectStatuses=e.SelectStatuses;exports.injectSelectContext=e.injectSelectContext;exports.provideSelectContext=e.provideSelectContext;
|