@pantograph/vue 0.25.4 → 0.25.6
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/ActionButton.d.ts +174 -11
- 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-uwPzOpXQ.js → ActionButton.vue_vue_type_script_setup_true_lang-BOiXNbKw.js} +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-DgRldvF-.js → ActionButton.vue_vue_type_script_setup_true_lang-DBykKGHQ.js} +1 -1
- package/dist/Alert/Alert.d.ts +4 -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-CsM-N2Dn.js → Alert.vue_vue_type_style_index_0_lang-B1JrRGlL.js} +21 -19
- package/dist/Alert.vue_vue_type_style_index_0_lang-iIyhPLmR.js +1 -0
- package/dist/Avatar/Avatar.d.ts +4 -4
- 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-BU_5Uc1h.js → Avatar.vue_vue_type_style_index_0_lang-560JMJs8.js} +3 -3
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-BmD6RFO6.js → Avatar.vue_vue_type_style_index_0_lang-B2n3kzDz.js} +1 -1
- package/dist/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/AvatarGroup/index.umd.cjs +1 -1
- package/dist/Badge/Badge.d.ts +2 -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-BNoY52kq.js → Badge.vue_vue_type_script_setup_true_lang-Btr5ZeJl.js} +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-D4qWXPmE.js → Badge.vue_vue_type_script_setup_true_lang-Kd8vLJ1r.js} +1 -1
- package/dist/Base/BaseBadge/BaseBadge.d.ts +3 -2
- package/dist/Base/BaseButton/BaseButton.d.ts +45 -7
- package/dist/Base/BaseInput/BaseInput.d.ts +1 -1
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-iBj3bp4f.js → BaseBadge.vue_vue_type_style_index_0_lang-no7MMMcb.js} +21 -21
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-tjWWO1Eb.js +1 -0
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C_rzn0QQ.js → BaseButton.vue_vue_type_style_index_0_lang-DyR-qPkq.js} +1 -1
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C90xeF5w.js → BaseButton.vue_vue_type_style_index_0_lang-gx7pLyR8.js} +5 -5
- package/dist/{BaseInput.vue_vue_type_style_index_0_lang-D1-OgRQO.js → BaseInput.vue_vue_type_style_index_0_lang-BOCVi3J8.js} +1 -1
- package/dist/{BaseInput.vue_vue_type_style_index_0_lang-Bh5c8r40.js → BaseInput.vue_vue_type_style_index_0_lang-CZMdvNIt.js} +1 -1
- package/dist/Button/Button.d.ts +179 -16
- 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-DayZ7O-B.js → Button.vue_vue_type_script_setup_true_lang-CKt4CFcG.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-BEUgRSHQ.js → Button.vue_vue_type_script_setup_true_lang-iY6wC5I7.js} +1 -1
- package/dist/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/Checkbox/Checkbox.d.ts +3 -3
- 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-DIUFXgde.js → Checkbox.vue_vue_type_style_index_0_lang-Q8nvY8Va.js} +2 -2
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-B7TCf8DD.js → Checkbox.vue_vue_type_style_index_0_lang-srZfoj7r.js} +1 -1
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +2 -2
- package/dist/CheckboxGroup/index.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs +1 -1
- package/dist/Chip/Chip.d.ts +3 -2
- 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-B4vliBhP.js → Chip.vue_vue_type_style_index_0_lang-BjBptRQ-.js} +1 -1
- package/dist/{Chip.vue_vue_type_style_index_0_lang-C-YVGRd5.js → Chip.vue_vue_type_style_index_0_lang-DZpyBQK1.js} +2 -2
- package/dist/ChipGroup/ChipGroup.d.ts +1 -1
- 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-Cb48sFjZ.js → ChipGroup.vue_vue_type_style_index_0_lang-CeTQpuIw.js} +2 -2
- package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Dz90pq2v.js → ChipGroup.vue_vue_type_style_index_0_lang-D3YTcBs3.js} +1 -1
- package/dist/ColorPicker/ColorPicker.d.ts +3 -1
- package/dist/ColorPicker/ColorPickerSpace.d.ts +1 -1
- 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-Bbua4gDp.js → ColorPicker.vue_vue_type_style_index_0_lang-Bn5JW2Gt.js} +2 -2
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-Cs_uP8_-.js → ColorPicker.vue_vue_type_style_index_0_lang-DL_ZJmhv.js} +27 -18
- package/dist/ColorSwatch/ColorSwatch.d.ts +3 -2
- package/dist/ColorSwatch/index.js +1 -1
- package/dist/ColorSwatch/index.umd.cjs +1 -1
- package/dist/{ColorSwatch-BVj268xm.js → ColorSwatch-BMQgaieC.js} +1 -1
- package/dist/{ColorSwatch-BTd2qIvs.js → ColorSwatch-BmsX5hTJ.js} +1 -1
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-D9jCB_qS.js → ColorSwatch.vue_vue_type_style_index_0_lang-C4Kg1zF7.js} +2 -2
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-DotrlbV2.js → ColorSwatch.vue_vue_type_style_index_0_lang-DcE8KBJ4.js} +1 -1
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -2
- 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-uGNt1Zw7.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-DcQU4Avw.js} +1 -1
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-CMUC9JP1.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-baZQlRfW.js} +7 -6
- package/dist/ColorTrigger/ColorTrigger.d.ts +3 -2
- 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-BphrM3jX.js → ColorTrigger.vue_vue_type_style_index_0_lang-9NjMxcKG.js} +1 -1
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-CjRJLrjc.js → ColorTrigger.vue_vue_type_style_index_0_lang-D7z5WQlE.js} +3 -3
- package/dist/Combobox/Combobox.d.ts +16 -15
- package/dist/Combobox/ComboboxLabel.d.ts +3 -2
- package/dist/Combobox/index.js +1 -1
- package/dist/Combobox/index.umd.cjs +1 -1
- package/dist/Combobox/types.d.ts +2 -2
- package/dist/Combobox.vue_vue_type_style_index_0_lang-AGxBlqh_.js +1 -0
- package/dist/{Combobox.vue_vue_type_style_index_0_lang-C1ceC-d6.js → Combobox.vue_vue_type_style_index_0_lang-CrMJYH_U.js} +410 -349
- package/dist/Comment/Comment.d.ts +1 -1
- package/dist/Comment/CommentActions.d.ts +384 -1
- package/dist/Comment/CommentEditor.d.ts +867 -81
- package/dist/Comment/CommentMention.d.ts +2 -1
- package/dist/Comment/CommentReactions.d.ts +193 -1
- package/dist/Comment/CommentTrigger.d.ts +3 -2
- package/dist/Comment/index.js +14 -14
- package/dist/Comment/index.umd.cjs +1 -1
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/{ConfigProvider.vue_vue_type_script_setup_true_lang-DSKgXw-g.js → ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js} +10 -10
- package/dist/DataTable/DataTable.d.ts +106 -12
- package/dist/DataTable/index.js +1 -1
- package/dist/DataTable/index.umd.cjs +1 -1
- package/dist/DataTable/useSelection.d.ts +1 -1
- package/dist/DataTable.vue_vue_type_style_index_0_lang-DNX8ray0.js +1 -0
- package/dist/{DataTable.vue_vue_type_style_index_0_lang-BIEqP-0I.js → DataTable.vue_vue_type_style_index_0_lang-a06ynWLy.js} +36 -30
- package/dist/Divider/Divider.d.ts +3 -2
- package/dist/DropZone/DropZone.d.ts +4 -3
- 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-B9y7TlwK.js → DropZone.vue_vue_type_style_index_0_lang-B2XNdFr7.js} +1 -1
- package/dist/{DropZone.vue_vue_type_style_index_0_lang-EJIu65Kx.js → DropZone.vue_vue_type_style_index_0_lang-Dq0K__t6.js} +2 -2
- package/dist/Empty/Empty.d.ts +3 -2
- 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-BUUZkqKK.js → Empty.vue_vue_type_style_index_0_lang-BkLWzc14.js} +1 -1
- package/dist/{Empty.vue_vue_type_style_index_0_lang-CzxHjKoM.js → Empty.vue_vue_type_style_index_0_lang-C1kPtilP.js} +1 -1
- package/dist/FloatButton/FloatButton.d.ts +178 -15
- 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-BkkyOUA7.js → FloatButton.vue_vue_type_script_setup_true_lang-CxSElBbb.js} +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-09oykls8.js → FloatButton.vue_vue_type_script_setup_true_lang-sIUaExTM.js} +1 -1
- package/dist/Form/Form.d.ts +18 -18
- package/dist/Form/FormItem.d.ts +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/Form/index.umd.cjs +1 -1
- package/dist/FormValidation/FormValidation.d.ts +7 -6
- package/dist/GOPicker/GOItemSkeleton.d.ts +1 -1
- package/dist/GOPicker/GOPicker.d.ts +45 -44
- 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-kynTp-m5.js → GOPicker.vue_vue_type_style_index_0_lang-CR7s37Os.js} +17 -15
- package/dist/{GOPicker.vue_vue_type_style_index_0_lang-BE8x9dGA.js → GOPicker.vue_vue_type_style_index_0_lang-rSEkCO3H.js} +1 -1
- package/dist/GraphicalObject/GraphicalObject.d.ts +2 -1
- 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-BZWcWAd8.js → GraphicalObject.vue_vue_type_script_setup_true_lang-CpstWkLR.js} +2 -2
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-X3qLlz8e.js → GraphicalObject.vue_vue_type_script_setup_true_lang-WjnCG0pe.js} +1 -1
- package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +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-eUYKt1g8.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-BXpVeN5_.js} +2 -2
- package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-HhLovMZS.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-i6Leg2rQ.js} +1 -1
- package/dist/Icon/Icon.d.ts +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-BMu3U4-l.js → Icon.vue_vue_type_style_index_0_lang-DkeXz23k.js} +175 -172
- package/dist/{Icon.vue_vue_type_style_index_0_lang-5yqYwaOw.js → Icon.vue_vue_type_style_index_0_lang-DyeL9Lem.js} +3 -3
- package/dist/IconButton/IconButton.d.ts +179 -16
- 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-DGXtxJVO.js → IconButton.vue_vue_type_script_setup_true_lang-Bz66rcDQ.js} +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-B2mwpDQo.js → IconButton.vue_vue_type_script_setup_true_lang-CudH1Czj.js} +1 -1
- package/dist/Image/Image.d.ts +3 -2
- 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-Dxp0n_0A.js → Image.vue_vue_type_style_index_0_lang-D7buZGTj.js} +1 -1
- package/dist/{Image.vue_vue_type_style_index_0_lang-_1Vqh4mv.js → Image.vue_vue_type_style_index_0_lang-D8BJOCro.js} +2 -2
- package/dist/IndentLevel/IndentLevel.d.ts +3 -2
- 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-DPL6yVwu.js → IndentLevel.vue_vue_type_style_index_0_lang-DkVpxqkS.js} +3 -3
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BNXXU--A.js → IndentLevel.vue_vue_type_style_index_0_lang-iaGGd8NQ.js} +1 -1
- package/dist/Indicator/Indicator.d.ts +2 -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-BAJid2ch.js → Indicator.vue_vue_type_script_setup_true_lang-BTt9LTh1.js} +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-BZQujvXX.js → Indicator.vue_vue_type_script_setup_true_lang-C6C6qnFI.js} +1 -1
- package/dist/Input/Input.d.ts +9 -6
- package/dist/Input/index.js +2 -2
- package/dist/Input/index.umd.cjs +1 -1
- package/dist/{Input.vue_vue_type_script_setup_true_lang-BhpGixbX.js → Input.vue_vue_type_script_setup_true_lang-Dtkw6-JD.js} +10 -10
- package/dist/{Input.vue_vue_type_script_setup_true_lang-P-pBp4sf.js → Input.vue_vue_type_script_setup_true_lang-Dws8FarS.js} +1 -1
- package/dist/InputNumber/InputNumber.d.ts +16 -13
- package/dist/InputNumber/index.js +2 -2
- package/dist/InputNumber/index.umd.cjs +1 -1
- package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-DcGG4i1C.js → InputNumber.vue_vue_type_script_setup_true_lang-Cr4YLP4W.js} +1 -1
- package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-yrowDfWL.js → InputNumber.vue_vue_type_script_setup_true_lang-mEje-O-q.js} +27 -27
- package/dist/Kbd/Kbd.d.ts +3 -2
- 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-q3jBcYir.js → Kbd.vue_vue_type_style_index_0_lang-BFlrS9Oh.js} +1 -1
- package/dist/{Kbd.vue_vue_type_style_index_0_lang-XS49-yX4.js → Kbd.vue_vue_type_style_index_0_lang-VXCAjXze.js} +1 -1
- package/dist/Label/Label.d.ts +3 -2
- package/dist/Label/index.js +1 -1
- package/dist/Label/index.umd.cjs +1 -1
- package/dist/Link/Link.d.ts +3 -2
- 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-BRLBWpij.js +1 -0
- package/dist/{Link.vue_vue_type_style_index_0_lang-DAQr5LuP.js → Link.vue_vue_type_style_index_0_lang-DgvyW7Rs.js} +14 -13
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu/MenuItemWrapper.d.ts +2 -1
- package/dist/Menu/index.js +1 -1
- package/dist/Menu/index.umd.cjs +1 -1
- package/dist/MenuItem/MenuItem.d.ts +1 -1
- package/dist/MenuItem/index.js +1 -1
- package/dist/MenuItem/index.umd.cjs +1 -1
- package/dist/{MenuItem.vue_vue_type_style_index_0_lang-DRgLTDF9.js → MenuItem.vue_vue_type_style_index_0_lang-AhI5J805.js} +1 -1
- package/dist/{MenuItem.vue_vue_type_style_index_0_lang-Tx1mw3fx.js → MenuItem.vue_vue_type_style_index_0_lang-BSbQKPOJ.js} +13 -13
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/Pagination/index.umd.cjs +1 -1
- package/dist/{Pagination.vue_vue_type_style_index_0_lang-BJSH2nV1.js → Pagination.vue_vue_type_style_index_0_lang-6HV2JmdQ.js} +1 -1
- package/dist/{Pagination.vue_vue_type_style_index_0_lang-DdoGJbhR.js → Pagination.vue_vue_type_style_index_0_lang-FoV1-lO_.js} +7 -6
- package/dist/Popover/Popover.d.ts +122 -20
- package/dist/Popover/index.js +1 -1
- package/dist/Popover/index.umd.cjs +1 -1
- package/dist/{Popover.vue_vue_type_style_index_0_lang-BgRvygIi.js → Popover.vue_vue_type_style_index_0_lang-BolWR0Oq.js} +2 -2
- package/dist/{Popover.vue_vue_type_style_index_0_lang-D7HUX-0i.js → Popover.vue_vue_type_style_index_0_lang-COPtUT1x.js} +1 -1
- package/dist/Progress/Progress.d.ts +6 -5
- package/dist/Progress/index.js +1 -1
- package/dist/Progress/index.umd.cjs +1 -1
- package/dist/{Progress.vue_vue_type_style_index_0_lang-ByAwM9mc.js → Progress.vue_vue_type_style_index_0_lang-BXhIqXDx.js} +24 -24
- package/dist/{Progress.vue_vue_type_style_index_0_lang-BECdYJmY.js → Progress.vue_vue_type_style_index_0_lang-DNe_dcRZ.js} +1 -1
- package/dist/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/RadioGroup/RadioGroupItem.d.ts +3 -3
- 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-D8f-sgna.js → RadioGroup.vue_vue_type_script_setup_true_lang-D-9WHezS.js} +1 -1
- package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Daq1nx9-.js → RadioGroup.vue_vue_type_script_setup_true_lang-NO2KpdR5.js} +1 -1
- package/dist/ScrollContainer/Mask.d.ts +1 -1
- package/dist/ScrollContainer/ScrollContainer.d.ts +184 -15
- 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-DqKhWsL2.js → ScrollContainer.vue_vue_type_style_index_0_lang-DKfgCbWJ.js} +1 -1
- package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-Cp0bQf0N.js → ScrollContainer.vue_vue_type_style_index_0_lang-Dl1jP8xY.js} +2 -2
- package/dist/Segmented/Segmented.d.ts +4 -3
- package/dist/Segmented/index.js +1 -1
- package/dist/Segmented/index.umd.cjs +1 -1
- package/dist/{Segmented.vue_vue_type_style_index_0_lang-3JqUJ0d7.js → Segmented.vue_vue_type_style_index_0_lang-BKyJdc6h.js} +1 -1
- package/dist/{Segmented.vue_vue_type_style_index_0_lang-B1uEmVPJ.js → Segmented.vue_vue_type_style_index_0_lang-uZeKLoid.js} +2 -2
- package/dist/Select/Select.d.ts +8 -7
- package/dist/Select/SelectLabel.d.ts +3 -2
- package/dist/Select/SelectTrigger.d.ts +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Select/index.umd.cjs +1 -1
- package/dist/Select.vue_vue_type_style_index_0_lang-DzWX4QRp.js +770 -0
- package/dist/Select.vue_vue_type_style_index_0_lang-i_BSOFzK.js +1 -0
- package/dist/Shortcut/Shortcut.d.ts +1 -1
- 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-QKWaOeSf.js → Shortcut.vue_vue_type_style_index_0_lang-2KAzQkhD.js} +2 -2
- package/dist/{Shortcut.vue_vue_type_style_index_0_lang-C7MfNmHi.js → Shortcut.vue_vue_type_style_index_0_lang-e8lB0y-L.js} +1 -1
- package/dist/Skeleton/Skeleton.d.ts +2 -2
- package/dist/Spinner/Spinner.d.ts +4 -3
- 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-y2U5MnVr.js → Spinner.vue_vue_type_style_index_0_lang-CKYCbCZQ.js} +1 -1
- package/dist/{Spinner.vue_vue_type_style_index_0_lang-ypYtsXl_.js → Spinner.vue_vue_type_style_index_0_lang-NYJmdFpB.js} +1 -1
- package/dist/SubMenu/SubMenu.d.ts +4 -2
- package/dist/SubMenu/index.js +1 -1
- package/dist/SubMenu/index.umd.cjs +1 -1
- package/dist/Switch/Switch.d.ts +5 -4
- 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-Dqy63Xsy.js → Switch.vue_vue_type_style_index_0_lang-B6Pt3aij.js} +2 -2
- package/dist/{Switch.vue_vue_type_style_index_0_lang-G67verEB.js → Switch.vue_vue_type_style_index_0_lang-BIe63Ak0.js} +1 -1
- package/dist/{THead.vue_vue_type_style_index_0_lang-Bbxgbizj.js → THead.vue_vue_type_style_index_0_lang-CCUQ2E3U.js} +1 -1
- package/dist/{THead.vue_vue_type_style_index_0_lang-Dg4UjN2s.js → THead.vue_vue_type_style_index_0_lang-DuCJdfy4.js} +1 -1
- package/dist/Table/TBody.d.ts +3 -2
- package/dist/Table/THead.d.ts +3 -2
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Td.d.ts +3 -2
- package/dist/Table/Th.d.ts +3 -2
- package/dist/Table/Tr.d.ts +3 -2
- package/dist/Table/index.js +1 -1
- package/dist/Table/index.umd.cjs +1 -1
- package/dist/Textarea/Textarea.d.ts +462 -14
- 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-Crls15aj.js → Textarea.vue_vue_type_style_index_0_lang-BqUWj9j2.js} +1 -1
- package/dist/{Textarea.vue_vue_type_style_index_0_lang-95EkbeEZ.js → Textarea.vue_vue_type_style_index_0_lang-CgC3wstw.js} +7 -7
- package/dist/Tooltip/Tooltip.d.ts +2 -1
- package/dist/Tree/Tree.d.ts +3 -2
- package/dist/Tree/TreeNode.d.ts +3 -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-DitveB9N.js → Tree.vue_vue_type_style_index_0_lang-BiU1prIp.js} +1 -1
- package/dist/{Tree.vue_vue_type_style_index_0_lang-CauWPkMW.js → Tree.vue_vue_type_style_index_0_lang-wxS0iVAQ.js} +6 -6
- package/dist/Upload/Upload.d.ts +5 -4
- package/dist/Upload/UploadListItem.d.ts +1 -1
- package/dist/Upload/UploadTrigger.d.ts +5 -2
- package/dist/Upload/index.js +1 -1
- package/dist/Upload/index.umd.cjs +1 -1
- package/dist/{Upload.vue_vue_type_style_index_0_lang-B9HYX_QI.js → Upload.vue_vue_type_style_index_0_lang-B_fYzNVt.js} +6 -6
- package/dist/{Upload.vue_vue_type_style_index_0_lang-DhqA32eL.js → Upload.vue_vue_type_style_index_0_lang-BiBzroEH.js} +1 -1
- package/dist/index.js +175 -174
- package/dist/index.umd.cjs +1 -1
- package/dist/style/index.css +1 -1
- package/dist/{useInputDataStates-COzmxWTw.js → useInputDataStates-BNwXgt9l.js} +1 -1
- package/dist/{useInputDataStates-BWZ4Q3rt.js → useInputDataStates-CM2GJM3c.js} +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +10 -9
- package/dist/utils/index.umd.cjs +1 -1
- package/dist/utils/isEmpty.d.ts +1 -0
- package/dist/utils/useInputDataStates.d.ts +2 -2
- package/package.json +25 -33
- package/dist/Alert.vue_vue_type_style_index_0_lang-BWViURUx.js +0 -1
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-MiT5JEP1.js +0 -1
- package/dist/Combobox.vue_vue_type_style_index_0_lang-BSCxn_dP.js +0 -1
- package/dist/DataTable.vue_vue_type_style_index_0_lang-itDia0W9.js +0 -1
- package/dist/Link.vue_vue_type_style_index_0_lang-zFv3zzLA.js +0 -1
- package/dist/Select.vue_vue_type_style_index_0_lang-CarDXTu5.js +0 -712
- package/dist/Select.vue_vue_type_style_index_0_lang-ikZ5_KwB.js +0 -1
|
@@ -5,6 +5,7 @@ export type ActionButtonProps = Partial<Pick<BaseButtonProps, 'class' | 'preIcon
|
|
|
5
5
|
variant?: Exclude<ButtonVariant, 'float'>;
|
|
6
6
|
};
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
9
10
|
refs: {
|
|
10
11
|
buttonRef: ({
|
|
@@ -13,8 +14,8 @@ declare function __VLS_template(): {
|
|
|
13
14
|
$props: {
|
|
14
15
|
readonly class?: import('clsx').ClassValue;
|
|
15
16
|
readonly text?: string | number | undefined;
|
|
16
|
-
readonly size?: import('
|
|
17
|
-
readonly color?: import('
|
|
17
|
+
readonly size?: import('..').ButtonSize | undefined;
|
|
18
|
+
readonly color?: import('..').ButtonColor | undefined;
|
|
18
19
|
readonly noRing?: boolean | undefined;
|
|
19
20
|
readonly type?: ButtonType | undefined;
|
|
20
21
|
readonly variant?: ButtonVariant | undefined;
|
|
@@ -26,10 +27,10 @@ declare function __VLS_template(): {
|
|
|
26
27
|
readonly icon?: string | undefined;
|
|
27
28
|
readonly preIcon?: string | undefined;
|
|
28
29
|
readonly postIcon?: string | undefined;
|
|
29
|
-
readonly flipOnDir?: import('
|
|
30
|
-
readonly preIconFlipOnDir?: import('
|
|
31
|
-
readonly postIconFlipOnDir?: import('
|
|
32
|
-
readonly badgeIconFlipOnDir?: import('
|
|
30
|
+
readonly flipOnDir?: import('..').FlipOnDir | undefined;
|
|
31
|
+
readonly preIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
32
|
+
readonly postIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
33
|
+
readonly badgeIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
33
34
|
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
34
35
|
readonly block?: boolean | undefined;
|
|
35
36
|
readonly disabled?: boolean | undefined;
|
|
@@ -42,6 +43,43 @@ declare function __VLS_template(): {
|
|
|
42
43
|
};
|
|
43
44
|
$refs: {
|
|
44
45
|
[x: string]: unknown;
|
|
46
|
+
} & {
|
|
47
|
+
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
asChild: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
as: {
|
|
53
|
+
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
59
|
+
asChild: boolean;
|
|
60
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
61
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
62
|
+
P: {};
|
|
63
|
+
B: {};
|
|
64
|
+
D: {};
|
|
65
|
+
C: {};
|
|
66
|
+
M: {};
|
|
67
|
+
Defaults: {};
|
|
68
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
69
|
+
asChild: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
as: {
|
|
74
|
+
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}>, {}, {}, {}, {
|
|
80
|
+
asChild: boolean;
|
|
81
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
82
|
+
}> | null;
|
|
45
83
|
};
|
|
46
84
|
$slots: Readonly<{
|
|
47
85
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -59,8 +97,8 @@ declare function __VLS_template(): {
|
|
|
59
97
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
98
|
click: (...args: any[]) => void;
|
|
61
99
|
}, string, {
|
|
100
|
+
color: import('..').ButtonColor;
|
|
62
101
|
type: ButtonType;
|
|
63
|
-
color: import('../Base/BaseButton/BaseButton.model', { with: { "resolution-mode": "import" } }).ButtonColor;
|
|
64
102
|
htmlType: "reset" | "submit" | "button";
|
|
65
103
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
66
104
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -83,25 +121,150 @@ declare function __VLS_template(): {
|
|
|
83
121
|
$nextTick: typeof import('vue').nextTick;
|
|
84
122
|
$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;
|
|
85
123
|
} & Readonly<{
|
|
124
|
+
color: import('..').ButtonColor;
|
|
86
125
|
type: ButtonType;
|
|
87
|
-
color: import('../Base/BaseButton/BaseButton.model', { with: { "resolution-mode": "import" } }).ButtonColor;
|
|
88
126
|
htmlType: "reset" | "submit" | "button";
|
|
89
127
|
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
90
128
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
}>, "blur" | "focus" | ("
|
|
129
|
+
}>, "blur" | "focus" | ("color" | "type" | "htmlType")> & import('vue').ShallowUnwrapRef<{
|
|
92
130
|
focus(): void;
|
|
93
131
|
blur(): void;
|
|
94
132
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
95
133
|
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
96
134
|
}) | null;
|
|
97
135
|
};
|
|
98
|
-
|
|
136
|
+
rootEl: any;
|
|
99
137
|
};
|
|
100
138
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
101
139
|
declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps, {
|
|
102
140
|
focus(): void;
|
|
103
141
|
blur(): void;
|
|
104
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
142
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
143
|
+
buttonRef: ({
|
|
144
|
+
$: import('vue').ComponentInternalInstance;
|
|
145
|
+
$data: {};
|
|
146
|
+
$props: {
|
|
147
|
+
readonly class?: import('clsx').ClassValue;
|
|
148
|
+
readonly text?: string | number | undefined;
|
|
149
|
+
readonly size?: import('..').ButtonSize | undefined;
|
|
150
|
+
readonly color?: import('..').ButtonColor | undefined;
|
|
151
|
+
readonly noRing?: boolean | undefined;
|
|
152
|
+
readonly type?: ButtonType | undefined;
|
|
153
|
+
readonly variant?: ButtonVariant | undefined;
|
|
154
|
+
readonly loading?: boolean | undefined;
|
|
155
|
+
readonly action?: boolean | undefined;
|
|
156
|
+
readonly active?: boolean | undefined;
|
|
157
|
+
readonly badgeText?: string | undefined;
|
|
158
|
+
readonly badgeIcon?: string | undefined;
|
|
159
|
+
readonly icon?: string | undefined;
|
|
160
|
+
readonly preIcon?: string | undefined;
|
|
161
|
+
readonly postIcon?: string | undefined;
|
|
162
|
+
readonly flipOnDir?: import('..').FlipOnDir | undefined;
|
|
163
|
+
readonly preIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
164
|
+
readonly postIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
165
|
+
readonly badgeIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
166
|
+
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
167
|
+
readonly block?: boolean | undefined;
|
|
168
|
+
readonly disabled?: boolean | undefined;
|
|
169
|
+
readonly href?: string | undefined;
|
|
170
|
+
readonly target?: string | undefined;
|
|
171
|
+
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
173
|
+
$attrs: {
|
|
174
|
+
[x: string]: unknown;
|
|
175
|
+
};
|
|
176
|
+
$refs: {
|
|
177
|
+
[x: string]: unknown;
|
|
178
|
+
} & {
|
|
179
|
+
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
180
|
+
asChild: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
as: {
|
|
185
|
+
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
191
|
+
asChild: boolean;
|
|
192
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
193
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
194
|
+
P: {};
|
|
195
|
+
B: {};
|
|
196
|
+
D: {};
|
|
197
|
+
C: {};
|
|
198
|
+
M: {};
|
|
199
|
+
Defaults: {};
|
|
200
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
201
|
+
asChild: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
as: {
|
|
206
|
+
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
207
|
+
default: string;
|
|
208
|
+
};
|
|
209
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
210
|
+
[key: string]: any;
|
|
211
|
+
}>, {}, {}, {}, {
|
|
212
|
+
asChild: boolean;
|
|
213
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
214
|
+
}> | null;
|
|
215
|
+
};
|
|
216
|
+
$slots: Readonly<{
|
|
217
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
218
|
+
}>;
|
|
219
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
220
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
221
|
+
$host: Element | null;
|
|
222
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
223
|
+
$el: any;
|
|
224
|
+
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{
|
|
225
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
226
|
+
}>, {
|
|
227
|
+
focus(): void;
|
|
228
|
+
blur(): void;
|
|
229
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
230
|
+
click: (...args: any[]) => void;
|
|
231
|
+
}, string, {
|
|
232
|
+
color: import('..').ButtonColor;
|
|
233
|
+
type: ButtonType;
|
|
234
|
+
htmlType: "reset" | "submit" | "button";
|
|
235
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
236
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
237
|
+
created?: (() => void) | (() => void)[];
|
|
238
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
239
|
+
mounted?: (() => void) | (() => void)[];
|
|
240
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
241
|
+
updated?: (() => void) | (() => void)[];
|
|
242
|
+
activated?: (() => void) | (() => void)[];
|
|
243
|
+
deactivated?: (() => void) | (() => void)[];
|
|
244
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
245
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
246
|
+
destroyed?: (() => void) | (() => void)[];
|
|
247
|
+
unmounted?: (() => void) | (() => void)[];
|
|
248
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
249
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
250
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
251
|
+
};
|
|
252
|
+
$forceUpdate: () => void;
|
|
253
|
+
$nextTick: typeof import('vue').nextTick;
|
|
254
|
+
$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;
|
|
255
|
+
} & Readonly<{
|
|
256
|
+
color: import('..').ButtonColor;
|
|
257
|
+
type: ButtonType;
|
|
258
|
+
htmlType: "reset" | "submit" | "button";
|
|
259
|
+
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
260
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
}>, "blur" | "focus" | ("color" | "type" | "htmlType")> & import('vue').ShallowUnwrapRef<{
|
|
262
|
+
focus(): void;
|
|
263
|
+
blur(): void;
|
|
264
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
265
|
+
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
266
|
+
}) | null;
|
|
267
|
+
}, any>;
|
|
105
268
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
106
269
|
export default _default;
|
|
107
270
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ActionButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ActionButton.vue_vue_type_script_setup_true_lang-BOiXNbKw.js");exports.ActionButton=e._sfc_main;exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),u=require("es-toolkit"),l=require("./BaseButton.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const e=require("vue"),u=require("es-toolkit"),l=require("./BaseButton.vue_vue_type_style_index_0_lang-DyR-qPkq.js"),_=require("./options-CY2uxp5A.js"),f=e.defineComponent({..._.getComponentOptions("ActionButton",!1),__name:"ActionButton",props:{class:{},preIcon:{},postIcon:{},size:{},text:{},icon:{},active:{type:Boolean},badgeText:{},badgeIcon:{},postIconFlipOnDir:{},preIconFlipOnDir:{},badgeIconFlipOnDir:{},block:{type:Boolean},htmlType:{},type:{},variant:{}},setup(r,{expose:s}){const c=r,i=e.useAttrs(),a=e.computed(()=>({...u.omit(i,["variant","loading","color"]),...c})),o=e.ref();return s({focus(){var t;(t=o.value)==null||t.focus()},blur(){var t;(t=o.value)==null||t.blur()}}),(t,m)=>(e.openBlock(),e.createBlock(l._sfc_main,e.mergeProps(a.value,{action:"",ref_key:"buttonRef",ref:o}),e.createSlots({_:2},[e.renderList(Object.keys(t.$slots),n=>({name:n,fn:e.withCtx(p=>[e.renderSlot(t.$slots,n,e.normalizeProps(e.guardReactiveProps(p)))])}))]),1040))}});exports._sfc_main=f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, useAttrs as l, computed as m, ref as u, createBlock as f, openBlock as b, mergeProps as d, createSlots as _, renderList as g, withCtx as v, renderSlot as y, normalizeProps as B, guardReactiveProps as I } from "vue";
|
|
2
2
|
import { omit as k } from "es-toolkit";
|
|
3
|
-
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-gx7pLyR8.js";
|
|
4
4
|
import { g as x } from "./options-Bh1s18jm.js";
|
|
5
5
|
const P = /* @__PURE__ */ p({
|
|
6
6
|
...x("ActionButton", !1),
|
package/dist/Alert/Alert.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlertType } from './Alert.model';
|
|
2
|
-
import { LinkProps } from '../Link
|
|
2
|
+
import { LinkProps } from '../Link';
|
|
3
3
|
import { ClassValue } from 'class-variance-authority/types';
|
|
4
4
|
export interface AlertProps {
|
|
5
5
|
type?: AlertType;
|
|
@@ -31,9 +31,10 @@ export interface AlertSlots {
|
|
|
31
31
|
link: () => never;
|
|
32
32
|
}
|
|
33
33
|
declare function __VLS_template(): {
|
|
34
|
+
attrs: Partial<{}>;
|
|
34
35
|
slots: Readonly<AlertSlots> & AlertSlots;
|
|
35
36
|
refs: {};
|
|
36
|
-
|
|
37
|
+
rootEl: HTMLDivElement;
|
|
37
38
|
};
|
|
38
39
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
40
|
declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -42,7 +43,7 @@ declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {},
|
|
|
42
43
|
onClose?: ((data: Event) => any) | undefined;
|
|
43
44
|
}>, {
|
|
44
45
|
type: AlertType;
|
|
45
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
46
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
48
|
export default _default;
|
|
48
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/Alert/index.js
CHANGED
package/dist/Alert/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Alert.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Alert.vue_vue_type_style_index_0_lang-iIyhPLmR.js");exports.Alert=e._sfc_main;exports.AlertTypes=e.AlertTypes;exports.default=e._sfc_main;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { defineComponent as h, useSlots as S, computed as V, createElementBlock as c, openBlock as
|
|
1
|
+
import { defineComponent as h, useSlots as S, computed as V, createElementBlock as c, openBlock as i, normalizeStyle as z, normalizeClass as s, unref as o, createBlock as A, createCommentVNode as p, createElementVNode as N, createSlots as P, withCtx as w, renderSlot as n, createTextVNode as f, toDisplayString as g, createVNode as y, normalizeProps as E, guardReactiveProps as I } from "vue";
|
|
2
2
|
import { getBemBlock as T, generateVariantClassList as D, normCls as r, getBemElement as a } from "@pantograph/utils";
|
|
3
3
|
import { cva as L } from "class-variance-authority";
|
|
4
4
|
import { g as M } from "./options-Bh1s18jm.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { _ as
|
|
8
|
-
|
|
5
|
+
import "es-toolkit";
|
|
6
|
+
import "./Icon.vue_vue_type_style_index_0_lang-DkeXz23k.js";
|
|
7
|
+
import { _ as O } from "./IconButton.vue_vue_type_script_setup_true_lang-CudH1Czj.js";
|
|
8
|
+
import { _ as R } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-CpstWkLR.js";
|
|
9
|
+
import { _ as j } from "./Link.vue_vue_type_style_index_0_lang-DgvyW7Rs.js";
|
|
10
|
+
const q = ["info", "success", "danger", "warning", "hint"], Y = /* @__PURE__ */ h({
|
|
9
11
|
...M("Alert"),
|
|
10
12
|
__name: "Alert",
|
|
11
13
|
props: {
|
|
@@ -40,7 +42,7 @@ const q = ["info", "success", "danger", "warning", "hint"], W = /* @__PURE__ */
|
|
|
40
42
|
hint: "tabler:bulb",
|
|
41
43
|
info: "tabler:info-circle"
|
|
42
44
|
}, d = V(() => m.icon ?? v[m.type]);
|
|
43
|
-
return (e, b) => (
|
|
45
|
+
return (e, b) => (i(), c("div", {
|
|
44
46
|
class: s(
|
|
45
47
|
o(r)(
|
|
46
48
|
o(B)({
|
|
@@ -55,7 +57,7 @@ const q = ["info", "success", "danger", "warning", "hint"], W = /* @__PURE__ */
|
|
|
55
57
|
"--ptc-alert-br": e.br
|
|
56
58
|
})
|
|
57
59
|
}, [
|
|
58
|
-
t.icon || d.value ? (
|
|
60
|
+
t.icon || d.value ? (i(), A(R, {
|
|
59
61
|
key: 0,
|
|
60
62
|
size: "md",
|
|
61
63
|
icon: d.value,
|
|
@@ -64,7 +66,7 @@ const q = ["info", "success", "danger", "warning", "hint"], W = /* @__PURE__ */
|
|
|
64
66
|
t.icon ? {
|
|
65
67
|
name: "icon",
|
|
66
68
|
fn: w(() => [
|
|
67
|
-
|
|
69
|
+
n(e.$slots, "icon")
|
|
68
70
|
]),
|
|
69
71
|
key: "0"
|
|
70
72
|
} : void 0
|
|
@@ -72,38 +74,38 @@ const q = ["info", "success", "danger", "warning", "hint"], W = /* @__PURE__ */
|
|
|
72
74
|
N("div", {
|
|
73
75
|
class: s(o(r)(o(a)(o(l), "body"), e.bodyCls))
|
|
74
76
|
}, [
|
|
75
|
-
|
|
76
|
-
e.title || t.title ? (
|
|
77
|
+
n(e.$slots, "default", {}, () => [
|
|
78
|
+
e.title || t.title ? (i(), c("div", {
|
|
77
79
|
key: 0,
|
|
78
80
|
class: s(o(r)(o(a)(o(l), "title"), e.titleCls, "paragraph"))
|
|
79
81
|
}, [
|
|
80
|
-
|
|
82
|
+
n(e.$slots, "title", {}, () => [
|
|
81
83
|
f(g(e.title), 1)
|
|
82
84
|
])
|
|
83
85
|
], 2)) : p("", !0),
|
|
84
|
-
e.description || t.description ? (
|
|
86
|
+
e.description || t.description ? (i(), c("div", {
|
|
85
87
|
key: 1,
|
|
86
88
|
class: s(o(r)(o(a)(o(l), "description"), e.descriptionCls, "paragraph"))
|
|
87
89
|
}, [
|
|
88
|
-
|
|
90
|
+
n(e.$slots, "description", {}, () => [
|
|
89
91
|
f(g(e.description), 1)
|
|
90
92
|
])
|
|
91
93
|
], 2)) : p("", !0),
|
|
92
|
-
e.link || t.link ? (
|
|
94
|
+
e.link || t.link ? (i(), c("div", {
|
|
93
95
|
key: 2,
|
|
94
96
|
class: s(o(a)(o(l), "action"))
|
|
95
97
|
}, [
|
|
96
|
-
|
|
97
|
-
y(j, E(I(e.linkProps)), null, 16)
|
|
98
|
+
n(e.$slots, "link", {}, () => [
|
|
99
|
+
y(o(j), E(I(e.linkProps)), null, 16)
|
|
98
100
|
])
|
|
99
101
|
], 2)) : p("", !0)
|
|
100
102
|
])
|
|
101
103
|
], 2),
|
|
102
|
-
m.closeable || t.closeable ? (
|
|
104
|
+
m.closeable || t.closeable ? (i(), c("div", {
|
|
103
105
|
key: 1,
|
|
104
106
|
class: s(o(r)(o(a)(o(l), "closeable"), e.closeableCls))
|
|
105
107
|
}, [
|
|
106
|
-
|
|
108
|
+
n(e.$slots, "closeable", {}, () => [
|
|
107
109
|
y(O, {
|
|
108
110
|
icon: "tabler:x",
|
|
109
111
|
color: "neutral",
|
|
@@ -117,5 +119,5 @@ const q = ["info", "success", "danger", "warning", "hint"], W = /* @__PURE__ */
|
|
|
117
119
|
});
|
|
118
120
|
export {
|
|
119
121
|
q as A,
|
|
120
|
-
|
|
122
|
+
Y as _
|
|
121
123
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("@pantograph/utils"),C=require("class-variance-authority"),g=require("./options-CY2uxp5A.js");require("es-toolkit");require("./Icon.vue_vue_type_style_index_0_lang-DyeL9Lem.js");const y=require("./IconButton.vue_vue_type_script_setup_true_lang-Bz66rcDQ.js"),B=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-WjnCG0pe.js"),k=require("./Link.vue_vue_type_style_index_0_lang-BRLBWpij.js"),i=["info","success","danger","warning","hint"],b=e.defineComponent({...g.getComponentOptions("Alert"),__name:"Alert",props:{type:{default:"hint"},closeable:{type:Boolean},class:{},icon:{},iconCls:{},bodyCls:{},closeableCls:{},fg:{},br:{},bg:{},title:{},titleCls:{},description:{},descriptionCls:{},link:{type:Boolean},linkProps:{}},emits:["close"],setup(c,{emit:u}){const r=c,m=u,l=t.getBemBlock("alert"),p=C.cva(l,{variants:{type:t.generateVariantClassList(i,l)}}),o=e.useSlots(),d={success:"tabler:circle-check",warning:"tabler:alert-triangle",danger:"tabler:circle-x",hint:"tabler:bulb",info:"tabler:info-circle"},s=e.computed(()=>r.icon??d[r.type]);return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t.normCls)(e.unref(p)({type:n.type}),r.class)),style:e.normalizeStyle({"--ptc-alert-fg":n.fg,"--ptc-alert-bg":n.bg,"--ptc-alert-br":n.br})},[o.icon||s.value?(e.openBlock(),e.createBlock(B._sfc_main,{key:0,size:"md",icon:s.value,class:e.normalizeClass(e.unref(t.normCls)(e.unref(t.getBemElement)(e.unref(l),"icon"),n.iconCls))},e.createSlots({_:2},[o.icon?{name:"icon",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"icon")]),key:"0"}:void 0]),1032,["icon","class"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t.normCls)(e.unref(t.getBemElement)(e.unref(l),"body"),n.bodyCls))},[e.renderSlot(n.$slots,"default",{},()=>[n.title||o.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(t.normCls)(e.unref(t.getBemElement)(e.unref(l),"title"),n.titleCls,"paragraph"))},[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)])],2)):e.createCommentVNode("",!0),n.description||o.description?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(t.normCls)(e.unref(t.getBemElement)(e.unref(l),"description"),n.descriptionCls,"paragraph"))},[e.renderSlot(n.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(n.description),1)])],2)):e.createCommentVNode("",!0),n.link||o.link?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(t.getBemElement)(e.unref(l),"action"))},[e.renderSlot(n.$slots,"link",{},()=>[e.createVNode(e.unref(k._sfc_main),e.normalizeProps(e.guardReactiveProps(n.linkProps)),null,16)])],2)):e.createCommentVNode("",!0)])],2),r.closeable||o.closeable?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(t.normCls)(e.unref(t.getBemElement)(e.unref(l),"closeable"),n.closeableCls))},[e.renderSlot(n.$slots,"closeable",{},()=>[e.createVNode(y._sfc_main,{icon:"tabler:x",color:"neutral",type:"ghost",onClick:a[0]||(a[0]=f=>m("close",f))})])],2)):e.createCommentVNode("",!0)],6))}});exports.AlertTypes=i;exports._sfc_main=b;
|
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { AvatarFallbackProps, AvatarImageProps
|
|
1
|
+
import { AvatarFallbackProps, AvatarImageProps } from 'reka-ui';
|
|
2
2
|
import { BadgeColor } from '../Base/BaseBadge/BaseBadge.model';
|
|
3
3
|
import { AvatarSize, AvatarStroke, AvatarShape, AvatarOnlineAlignment } from './Avatar.model';
|
|
4
4
|
import { ClassValue } from 'class-variance-authority/types';
|
|
5
|
-
|
|
6
|
-
export interface AvatarProps extends Omit<Avatar, 'asChild' | 'as' | 'src'> {
|
|
5
|
+
export interface AvatarProps extends Omit<AvatarImageProps, 'asChild' | 'as' | 'src'>, Omit<AvatarFallbackProps, 'asChild' | 'as' | 'src'> {
|
|
7
6
|
src?: string;
|
|
8
7
|
class?: ClassValue;
|
|
9
8
|
onlineColor?: BadgeColor;
|
|
@@ -22,9 +21,10 @@ export interface AvatarSlots {
|
|
|
22
21
|
fallback?: () => never;
|
|
23
22
|
}
|
|
24
23
|
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
25
|
slots: Readonly<AvatarSlots> & AvatarSlots;
|
|
26
26
|
refs: {};
|
|
27
|
-
|
|
27
|
+
rootEl: any;
|
|
28
28
|
};
|
|
29
29
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
30
|
declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t, c as r, b as e, A, a as v, _ as n } from "../Avatar.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as t, c as r, b as e, A, a as v, _ as n } from "../Avatar.vue_vue_type_style_index_0_lang-560JMJs8.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Avatar,
|
|
4
4
|
r as AvatarOnlineAlignments,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Avatar.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Avatar.vue_vue_type_style_index_0_lang-B2n3kzDz.js");exports.Avatar=e._sfc_main;exports.AvatarOnlineAlignments=e.AvatarOnlineAlignments;exports.AvatarShapes=e.AvatarShapes;exports.AvatarSizes=e.AvatarSizes;exports.AvatarStrokes=e.AvatarStrokes;exports.default=e._sfc_main;
|
|
@@ -3,9 +3,9 @@ import { createContext as H, useEmitAsProps as J, AvatarRoot as K, AvatarImage a
|
|
|
3
3
|
import { getBemBlock as j, getBemElement as f, generateVariantClassList as d, normCls as S } from "@pantograph/utils";
|
|
4
4
|
import { cva as q } from "class-variance-authority";
|
|
5
5
|
import { g as D } from "./options-Bh1s18jm.js";
|
|
6
|
-
import { _ as W } from "./Popover.vue_vue_type_style_index_0_lang-
|
|
7
|
-
import { n as X, e as Y } from "./Icon.vue_vue_type_style_index_0_lang-
|
|
8
|
-
import { _ as Z } from "./Indicator.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as W } from "./Popover.vue_vue_type_style_index_0_lang-BolWR0Oq.js";
|
|
7
|
+
import { n as X, e as Y } from "./Icon.vue_vue_type_style_index_0_lang-DkeXz23k.js";
|
|
8
|
+
import { _ as Z } from "./Indicator.vue_vue_type_script_setup_true_lang-C6C6qnFI.js";
|
|
9
9
|
const [ee, te] = H("AvatarGroup"), me = /* @__PURE__ */ O({
|
|
10
10
|
...D("AvatarGroup"),
|
|
11
11
|
__name: "AvatarGroup",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),p=require("reka-ui"),s=require("@pantograph/utils"),B=require("class-variance-authority"),x=require("./options-CY2uxp5A.js"),b=require("./Popover.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const e=require("vue"),p=require("reka-ui"),s=require("@pantograph/utils"),B=require("class-variance-authority"),x=require("./options-CY2uxp5A.js"),b=require("./Popover.vue_vue_type_style_index_0_lang-COPtUT1x.js"),y=require("./Icon.vue_vue_type_style_index_0_lang-DyeL9Lem.js"),N=require("./Indicator.vue_vue_type_script_setup_true_lang-BTt9LTh1.js"),[S,V]=p.createContext("AvatarGroup"),G=e.defineComponent({...x.getComponentOptions("AvatarGroup"),__name:"AvatarGroup",props:{class:{},gutter:{type:Boolean},size:{},shape:{},popoverProps:{},maxCount:{},noPopover:{type:Boolean}},setup(g){const a=g,v=e.useSlots(),r=e.computed(()=>a.size),n=e.computed(()=>a.shape),f=s.getBemBlock("avatar"),d=s.getBemElement(f,"group"),C=B.cva(d,{variants:{gutter:s.generateVariantClassList("gutter",d)}});V({size:r,shape:n});const l=e.computed(()=>a.maxCount?Number(a.maxCount):0),c=e.computed(()=>C({gutter:a.gutter})),i=e.computed(()=>{switch(a.size){case"2xsm":case"xsm":case"sm":return"sm";case"lg":case"xlg":return"lg";default:return"md"}}),k=()=>{const o=y.flattenChildren(v.default?v.default():[]),m=()=>e.h(P,{text:`+${o.length-l.value}`});return l.value>=1&&o.length>l.value?[...o.filter((t,u)=>u<l.value),a.noPopover?m():e.h(b._sfc_main,{size:i.value,...a.popoverProps??{}},{default:m,content:()=>e.h("div",{class:s.normCls(c.value,a.class)},{default:()=>o.filter((t,u)=>u>=l.value)})})]:o};return(o,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s.normCls)(c.value,a.class))},[e.createVNode(k,{maxCount:o.maxCount},null,8,["maxCount"])],2))}}),_=["2xsm","xsm","sm","md","lg","xlg"],A=["gray","white"],h=["circle","square","rect"],z={start:"online-start",end:"online-end"},P=e.defineComponent({...x.getComponentOptions("Avatar"),__name:"Avatar",props:{src:{default:""},class:{},onlineColor:{default:"lime"},size:{default:"md"},stroke:{},shape:{default:"circle"},online:{type:Boolean},alt:{},fallback:{},text:{},icon:{default:"tabler:user"},onlineAlignment:{default:"start"},referrerPolicy:{},crossOrigin:{},delayMs:{}},emits:["loadingStatusChange"],setup(g,{emit:a}){const v=e.useSlots(),r=s.getBemBlock("avatar"),n=g,f=a,d=p.useEmitAsProps(f),C=B.cva(r,{variants:{size:s.generateVariantClassList(_,r),stroke:s.generateVariantClassList(A,r),shape:s.generateVariantClassList(h,r),onlineAlignment:s.generateVariantClassList(z,r)}}),l=S({size:e.computed(()=>n.size),shape:e.computed(()=>n.shape)}),c=e.computed(()=>l.size.value??n.size),i=e.computed(()=>l.shape.value??n.shape),k=e.computed(()=>{const t=c.value&&_.includes(c.value)?c.value:"md",u=n.stroke&&A.includes(n.stroke)?n.stroke:"none",q=i.value&&h.includes(i.value)?i.value:"circle",E=z[n.onlineAlignment]?n.onlineAlignment:"start";return{size:t,stroke:u,shape:q,onlineAlignment:E}}),o=e.computed(()=>{switch(c.value){case"lg":case"xlg":return"tiny";default:return"tinier"}}),m=e.computed(()=>{switch(c.value){case"lg":case"xlg":return"sm";case"xsm":case"2xsm":return"3xsm";case"sm":case"md":default:return"xsm"}});return(t,u)=>(e.openBlock(),e.createBlock(e.unref(p.AvatarRoot),{as:"div",class:e.normalizeClass(e.unref(s.normCls)(e.unref(C)(k.value),n.class))},{default:e.withCtx(()=>[!v.default&&!t.text?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.src?(e.openBlock(),e.createBlock(e.unref(p.AvatarImage),e.mergeProps({key:0},e.unref(d),{src:t.src,alt:t.alt,class:e.unref(s.getBemElement)(e.unref(r),"image")}),null,16,["src","alt","class"])):e.createCommentVNode("",!0),e.createVNode(e.unref(p.AvatarFallback),{class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(r),"fallback"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"fallback",{},()=>[t.fallback?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(y._sfc_main$2),{key:0,icon:t.icon,size:m.value},null,8,["icon","size"])),e.createTextVNode(" "+e.toDisplayString(t.fallback),1)])]),_:3},8,["class"])],64)):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(r),"image"))},[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])],2)),t.online?(e.openBlock(),e.createBlock(N._sfc_main,{key:2,color:t.onlineColor,size:o.value,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(r),"online"))},null,8,["color","size","class"])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}});exports.AvatarOnlineAlignments=z;exports.AvatarShapes=h;exports.AvatarSizes=_;exports.AvatarStrokes=A;exports._sfc_main=P;exports._sfc_main$1=G;exports.injectAvatarGroupContext=S;exports.provideAvatarGroupContext=V;
|
|
@@ -19,7 +19,7 @@ interface Context {
|
|
|
19
19
|
shape: ComputedRef<AvatarGroupProps['shape']>;
|
|
20
20
|
}
|
|
21
21
|
export declare const injectAvatarGroupContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideAvatarGroupContext: (contextValue: Context) => Context;
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<AvatarGroupSlots> & AvatarGroupSlots>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
25
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Avatar.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Avatar.vue_vue_type_style_index_0_lang-B2n3kzDz.js");exports.AvatarGroup=t._sfc_main$1;exports.injectAvatarGroupContext=t.injectAvatarGroupContext;exports.provideAvatarGroupContext=t.provideAvatarGroupContext;
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -5,9 +5,10 @@ export type BadgeProps = Partial<Pick<BaseBadgeProps, 'class' | 'text' | 'icon'
|
|
|
5
5
|
color?: BadgeColor | BadgeColorSubtle;
|
|
6
6
|
};
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: Readonly<BaseBadgeSlots> & BaseBadgeSlots;
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
14
|
declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
package/dist/Badge/index.js
CHANGED
package/dist/Badge/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Badge.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Badge.vue_vue_type_script_setup_true_lang-Btr5ZeJl.js");exports.Badge=e._sfc_main;exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),f=require("es-toolkit"),B=require("./BaseBadge.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const o=require("vue"),f=require("es-toolkit"),B=require("./BaseBadge.vue_vue_type_style_index_0_lang-tjWWO1Eb.js"),_=require("./options-CY2uxp5A.js"),s=require("./BaseBadge.model-DecqxaGN.js"),r=require("@pantograph/tokens"),m=o.defineComponent({..._.getComponentOptions("Badge",!1),__name:"Badge",props:{class:{},text:{},icon:{},flipOnDir:{},size:{},color:{default:"primary"}},setup(c){const e=c,a=o.useAttrs(),t=[...s.BadgeColors,...s.BadgeColorsSubtle],i=[...s.BadgeColors,...s.BadgeColorsSubtle],u=()=>{if(i.includes(e.color)){if(e.color==="gray-subtle")return r.getCssCoreColor("gray-6");if(e.color==="yellow")return r.getCssCoreColor("grayscale-dark-0");if(s.BadgeColorsSubtle.includes(e.color))return r.getCssCoreColor(`${e.color.replace("-subtle","")}-5`);if(s.BadgeColors.includes(e.color))return r.getCssCoreColor("grayscale-light-0")}},g=()=>{if(t.includes(e.color)){if(e.color==="gray-subtle")return r.getCssCoreColor("gray-1");if(s.BadgeColorsSubtle.includes(e.color))return r.getCssCoreColor(`${e.color.replace("-subtle","")}-0`);if(s.BadgeColors.includes(e.color))return r.getCssCoreColor(`${e.color}-5`)}},C=o.computed(()=>e.color&&t.includes(e.color)?{bg:g(),fg:u()}:{bg:r.getCssCoreColor("primary-5"),fg:r.getCssCoreColor("primary-oncolor")}),d=o.computed(()=>({...f.omit(a,["type"]),...e,...C.value}));return(l,y)=>(o.openBlock(),o.createBlock(B._sfc_main,o.mergeProps(d.value,{type:"pill"}),o.createSlots({_:2},[o.renderList(Object.keys(l.$slots),n=>({name:n,fn:o.withCtx(p=>[o.renderSlot(l.$slots,n,o.normalizeProps(o.guardReactiveProps(p)))])}))]),1040))}});exports._sfc_main=m;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, useAttrs as C, computed as n, createBlock as b, openBlock as _, mergeProps as B, createSlots as $, renderList as k, withCtx as h, renderSlot as v, normalizeProps as O, guardReactiveProps as P } from "vue";
|
|
2
2
|
import { omit as S } from "es-toolkit";
|
|
3
|
-
import { _ as w } from "./BaseBadge.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as w } from "./BaseBadge.vue_vue_type_style_index_0_lang-no7MMMcb.js";
|
|
4
4
|
import { g as x } from "./options-Bh1s18jm.js";
|
|
5
5
|
import { B as e, a as t } from "./BaseBadge.model-D4ZfMIfM.js";
|
|
6
6
|
import { getCssCoreColor as o } from "@pantograph/tokens";
|
|
@@ -17,14 +17,15 @@ export interface BaseBadgeSlots {
|
|
|
17
17
|
icon?: (data?: object) => never;
|
|
18
18
|
}
|
|
19
19
|
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
20
21
|
slots: Readonly<BaseBadgeSlots> & BaseBadgeSlots;
|
|
21
22
|
refs: {};
|
|
22
|
-
|
|
23
|
+
rootEl: any;
|
|
23
24
|
};
|
|
24
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
26
|
declare const __VLS_component: import('vue').DefineComponent<BaseBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseBadgeProps> & Readonly<{}>, {
|
|
26
|
-
type: BadgeType;
|
|
27
27
|
size: BadgeSize;
|
|
28
|
+
type: BadgeType;
|
|
28
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
31
|
export default _default;
|