@pantograph/vue 0.30.9 → 0.30.11
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 +15 -0
- package/dist/ActionButton/index.d.ts +6 -0
- 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-CBomTo6K.js → ActionButton.vue_vue_type_script_setup_true_lang-DUTQMgx0.js} +16 -10
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-md1ppHCX.js +1 -0
- package/dist/Alert/Alert.d.ts +82 -1
- package/dist/Alert/Alert.model.d.ts +6 -0
- package/dist/Alert/index.d.ts +9 -0
- package/dist/Alert/index.js +67 -67
- package/dist/Alert/index.umd.cjs +1 -1
- package/dist/Avatar/Avatar.d.ts +58 -1
- package/dist/Avatar/Avatar.model.d.ts +24 -0
- package/dist/Avatar/index.d.ts +9 -0
- package/dist/Avatar/index.js +4 -4
- package/dist/Avatar/index.umd.cjs +1 -1
- package/dist/Avatar.vue_vue_type_style_index_0_lang-CMZWw-cd.js +201 -0
- package/dist/Avatar.vue_vue_type_style_index_0_lang-KicZdDY5.js +1 -0
- package/dist/AvatarGroup/AvatarGroup.d.ts +44 -1
- package/dist/AvatarGroup/index.d.ts +6 -0
- package/dist/AvatarGroup/index.js +3 -3
- package/dist/AvatarGroup/index.umd.cjs +1 -1
- package/dist/Badge/Badge.d.ts +10 -0
- package/dist/Badge/index.d.ts +6 -0
- 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-B4ny-e_O.js +58 -0
- package/dist/Badge.vue_vue_type_script_setup_true_lang-CQFRqDV5.js +1 -0
- package/dist/Base/BaseBadge/BaseBadge.d.ts +45 -1
- package/dist/Base/BaseBadge/BaseBadge.model.d.ts +32 -0
- package/dist/Base/BaseButton/BaseButton.d.ts +124 -1
- package/dist/Base/BaseButton/BaseButton.model.d.ts +24 -0
- package/dist/Base/BaseInput/BaseInput.d.ts +98 -1
- package/dist/Base/BaseInput/BaseInput.model.d.ts +12 -0
- package/dist/{BaseBadge.model-CahZXsyM.js → BaseBadge.model-D4ZfMIfM.js} +2 -2
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-DDBBnMzY.js +1 -0
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-Xgu4prlJ.js → BaseBadge.vue_vue_type_style_index_0_lang-h6OJcaiv.js} +27 -27
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-C_Z9AE3Z.js +1 -0
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-D34wKLFG.js +216 -0
- package/dist/BaseInput.vue_vue_type_style_index_0_lang-B7wt1KZf.js +1 -0
- package/dist/BaseInput.vue_vue_type_style_index_0_lang-BOyQQwR1.js +159 -0
- package/dist/Blanket/Blanket.d.ts +14 -2
- package/dist/Blanket/index.d.ts +7 -1
- package/dist/Blanket/index.js +6 -2
- package/dist/Blanket/index.umd.cjs +1 -1
- package/dist/Blanket.vue_vue_type_style_index_0_lang-DSXcWX6s.js +22 -0
- package/dist/Blanket.vue_vue_type_style_index_0_lang-WQSz_s3C.js +1 -0
- package/dist/Button/Button.d.ts +12 -0
- package/dist/Button/index.d.ts +6 -0
- 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-COsqOG6i.js +1 -0
- package/dist/{Button.vue_vue_type_script_setup_true_lang-d-VCkYuL.js → Button.vue_vue_type_script_setup_true_lang-Dj0TeKv5.js} +25 -19
- package/dist/ButtonGroup/ButtonGroup.d.ts +26 -1
- package/dist/ButtonGroup/index.d.ts +6 -0
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/ButtonGroup/index.umd.cjs +1 -1
- package/dist/Card/Card.d.ts +77 -1
- package/dist/Card/Card.model.d.ts +12 -0
- package/dist/Card/index.d.ts +6 -0
- package/dist/Card/index.js +69 -69
- package/dist/Card/index.umd.cjs +1 -1
- package/dist/Checkbox/Checkbox.d.ts +58 -1
- package/dist/Checkbox/Checkbox.model.d.ts +16 -0
- package/dist/Checkbox/index.d.ts +6 -0
- package/dist/Checkbox/index.js +3 -3
- package/dist/Checkbox/index.umd.cjs +1 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-BjhfMpGt.js +224 -0
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-DHP7ASJN.js +1 -0
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +45 -0
- package/dist/CheckboxGroup/index.d.ts +6 -0
- package/dist/CheckboxGroup/index.js +2 -2
- package/dist/CheckboxGroup/index.umd.cjs +1 -1
- package/dist/Chip/Chip.d.ts +93 -1
- package/dist/Chip/Chip.model.d.ts +12 -0
- package/dist/Chip/index.d.ts +6 -0
- package/dist/Chip/index.js +4 -4
- package/dist/Chip/index.umd.cjs +1 -1
- package/dist/Chip.vue_vue_type_style_index_0_lang-C8hcmlvc.js +144 -0
- package/dist/Chip.vue_vue_type_style_index_0_lang-CSqQRmWd.js +1 -0
- package/dist/ChipGroup/ChipGroup.d.ts +58 -1
- package/dist/ChipGroup/index.d.ts +6 -0
- package/dist/ChipGroup/index.js +1 -1
- package/dist/ChipGroup/index.umd.cjs +1 -1
- package/dist/ColorPicker/ColorPicker.d.ts +58 -1
- package/dist/ColorPicker/index.d.ts +6 -0
- package/dist/ColorPicker/index.js +2 -2
- package/dist/ColorPicker/index.umd.cjs +1 -1
- package/dist/ColorPicker/types.d.ts +150 -0
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-BDXrVKWB.js → ColorPicker.vue_vue_type_style_index_0_lang-BA4TIDHU.js} +88 -88
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-BI2oaC3F.js → ColorPicker.vue_vue_type_style_index_0_lang-BoN40EEa.js} +2 -2
- package/dist/ColorSwatch/ColorSwatch.d.ts +30 -0
- package/dist/ColorSwatch/ColorSwatch.model.d.ts +12 -0
- package/dist/ColorSwatch/index.d.ts +6 -0
- package/dist/ColorSwatch/index.js +47 -47
- package/dist/ColorSwatch/index.umd.cjs +1 -1
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +68 -1
- package/dist/ColorSwatchGroup/index.d.ts +6 -0
- 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-BILXrJyo.js +171 -0
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-C0UtVUEV.js +1 -0
- package/dist/ColorTrigger/ColorTrigger.d.ts +29 -0
- package/dist/ColorTrigger/ColorTrigger.model.d.ts +6 -0
- package/dist/ColorTrigger/index.d.ts +6 -0
- package/dist/ColorTrigger/index.js +2 -2
- package/dist/ColorTrigger/index.umd.cjs +1 -1
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-B6h8UYUo.js +1 -0
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-Bvi_UHyF.js +89 -0
- package/dist/Combobox/Combobox.model.d.ts +12 -0
- package/dist/Combobox/index.js +398 -398
- package/dist/Combobox/index.umd.cjs +1 -1
- package/dist/Combobox/types.d.ts +1 -1
- package/dist/Comment/Comment.d.ts +102 -1
- package/dist/Comment/CommentAction.d.ts +19 -0
- package/dist/Comment/CommentEditor.d.ts +57 -10
- package/dist/Comment/CommentReaction.d.ts +9 -0
- package/dist/Comment/CommentTrigger.d.ts +43 -1
- package/dist/Comment/index.d.ts +47 -0
- package/dist/Comment/index.js +428 -432
- package/dist/Comment/index.umd.cjs +1 -1
- package/dist/ComponentMap-DzT4fz00.js +1 -0
- package/dist/{ComponentMap-ezeVsRku.js → ComponentMap-xNWQmNEj.js} +3 -1
- package/dist/ComponentMap.d.ts +1 -1
- package/dist/ConfigProvider/ConfigProvider.d.ts +51 -0
- package/dist/ConfigProvider/index.d.ts +6 -0
- package/dist/ConfigProvider/utils.d.ts +21 -0
- package/dist/DataTable/index.js +1019 -1011
- package/dist/DataTable/index.umd.cjs +1 -1
- package/dist/DataTable/types/cell.d.ts +1 -1
- package/dist/DataTable/types/index.d.ts +1 -1
- package/dist/DataTable/utils/useColumnFixed.d.ts +2 -1
- package/dist/DataTable/utils/useColumnSize.d.ts +4 -1
- package/dist/Dialog/Dialog.d.ts +496 -0
- package/dist/Dialog/Dialog.model.d.ts +6 -0
- package/dist/Dialog/index.d.ts +3 -0
- package/dist/Dialog/index.js +14 -0
- package/dist/Dialog/index.umd.cjs +1 -0
- package/dist/Dialog.vue_vue_type_style_index_0_lang-B24S30cT.js +1 -0
- package/dist/Dialog.vue_vue_type_style_index_0_lang-CHMjyqjt.js +390 -0
- package/dist/Divider/Divider.d.ts +11 -1
- package/dist/Divider/Divider.model.d.ts +6 -0
- package/dist/Divider/index.d.ts +6 -0
- package/dist/Divider/index.js +2 -2
- package/dist/Divider/index.umd.cjs +1 -1
- package/dist/Divider.vue_vue_type_style_index_0_lang-Heq87yk1.js +1 -0
- package/dist/{Divider.vue_vue_type_style_index_0_lang-GfWcHNix.js → Divider.vue_vue_type_style_index_0_lang-eXMD78c3.js} +15 -15
- package/dist/Drawer/Drawer.d.ts +71 -0
- package/dist/Drawer/Drawer.model.d.ts +16 -0
- package/dist/Drawer/index.d.ts +9 -0
- package/dist/Drawer/index.js +80 -0
- package/dist/Drawer/index.umd.cjs +1 -0
- package/dist/DropZone/DropZone.d.ts +84 -1
- package/dist/DropZone/DropZone.model.d.ts +12 -0
- package/dist/DropZone/index.d.ts +6 -0
- package/dist/DropZone/index.js +71 -71
- package/dist/DropZone/index.umd.cjs +1 -1
- package/dist/Empty/Empty.d.ts +57 -1
- package/dist/Empty/Empty.model.d.ts +6 -0
- package/dist/Empty/index.d.ts +6 -0
- package/dist/Empty/index.js +2 -2
- package/dist/Empty/index.umd.cjs +1 -1
- package/dist/Empty.vue_vue_type_style_index_0_lang-BNHYA3-k.js +1 -0
- package/dist/{Empty.vue_vue_type_style_index_0_lang-DnH-eKDp.js → Empty.vue_vue_type_style_index_0_lang-CjN-zB7k.js} +68 -68
- package/dist/FloatButton/FloatButton.d.ts +20 -1
- package/dist/FloatButton/index.d.ts +7 -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-BuUin84o.js → FloatButton.vue_vue_type_script_setup_true_lang-DFZD1E5T.js} +17 -11
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-Dadp9ViH.js +1 -0
- package/dist/Form/Form.d.ts +169 -1
- package/dist/Form/FormItem.d.ts +122 -3
- package/dist/Form/defineRules.d.ts +5 -0
- package/dist/Form/index.d.ts +15 -0
- package/dist/Form/index.js +396 -396
- package/dist/Form/index.umd.cjs +3 -3
- package/dist/FormValidation/FormValidation.d.ts +26 -1
- package/dist/FormValidation/index.d.ts +9 -0
- package/dist/FormValidation/index.js +1 -1
- package/dist/FormValidation/index.umd.cjs +1 -1
- package/dist/FormValidation.vue_vue_type_style_index_0_lang-DcXAThgj.js +1 -0
- package/dist/FormValidation.vue_vue_type_style_index_0_lang-FGFyFCis.js +45 -0
- package/dist/GOPicker/GOPicker.d.ts +360 -19
- package/dist/GOPicker/GOPicker.model.d.ts +16 -101
- package/dist/GOPicker/emojis.d.ts +4 -0
- package/dist/GOPicker/getEmojiList.d.ts +4 -0
- package/dist/GOPicker/icons.d.ts +4 -0
- package/dist/GOPicker/index.d.ts +13 -1
- package/dist/GOPicker/index.js +235 -231
- package/dist/GOPicker/index.umd.cjs +1 -1
- package/dist/GraphicalObject/GraphicalObject.d.ts +16 -0
- package/dist/GraphicalObject/GraphicalObject.model.d.ts +22 -0
- package/dist/GraphicalObject/index.d.ts +6 -0
- 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-BDZKksip.js +1 -0
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-km5VsLBH.js → GraphicalObject.vue_vue_type_script_setup_true_lang-D8zWdo89.js} +15 -15
- package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +32 -1
- package/dist/GraphicalObjectGroup/index.d.ts +6 -0
- package/dist/GraphicalObjectGroup/index.js +28 -28
- package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
- package/dist/HoverCard/HoverCard.d.ts +11 -0
- package/dist/HoverCard/index.d.ts +9 -0
- package/dist/HoverCard/index.js +43 -42
- package/dist/HoverCard/index.umd.cjs +1 -1
- package/dist/Icon/Icon.d.ts +26 -1
- package/dist/Icon/Icon.model.d.ts +7 -0
- package/dist/Icon/index.d.ts +9 -0
- package/dist/Icon/index.js +2 -2
- package/dist/Icon/index.umd.cjs +1 -1
- package/dist/Icon.vue_vue_type_style_index_0_lang-D7PiBbDb.js +59 -0
- package/dist/Icon.vue_vue_type_style_index_0_lang-D9YESScE.js +1 -0
- package/dist/IconButton/IconButton.d.ts +15 -0
- package/dist/IconButton/index.d.ts +6 -0
- 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-BwL7lOA2.js → IconButton.vue_vue_type_script_setup_true_lang-BR82Bz96.js} +16 -10
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-i5ZOiWt-.js +1 -0
- package/dist/Image/Image.d.ts +60 -1
- package/dist/Image/Image.model.d.ts +18 -0
- package/dist/Image/index.d.ts +9 -0
- package/dist/Image/index.js +2 -2
- package/dist/Image/index.umd.cjs +1 -1
- package/dist/Image.vue_vue_type_style_index_0_lang-BBxqLThg.js +1 -0
- package/dist/Image.vue_vue_type_style_index_0_lang-D_yC06RN.js +121 -0
- package/dist/IndentLevel/IndentLevel.d.ts +37 -1
- package/dist/IndentLevel/IndentLevel.model.d.ts +12 -0
- package/dist/IndentLevel/index.d.ts +9 -0
- package/dist/IndentLevel/index.js +2 -2
- package/dist/IndentLevel/index.umd.cjs +1 -1
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-2IAeKcy_.js +1 -0
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-C9CGzPFs.js +98 -0
- 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-DRwrazbG.js +1 -0
- package/dist/Indicator.vue_vue_type_script_setup_true_lang-Ds4syJ4w.js +38 -0
- package/dist/Input/index.js +1 -1
- package/dist/Input/index.umd.cjs +1 -1
- package/dist/Input.vue_vue_type_script_setup_true_lang-DDHvQSGa.js +127 -0
- package/dist/Input.vue_vue_type_script_setup_true_lang-U7P9WS1i.js +1 -0
- package/dist/InputNumber/index.js +1 -1
- package/dist/InputNumber/index.umd.cjs +1 -1
- package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-DcxalTaC.js → InputNumber.vue_vue_type_script_setup_true_lang-CPuU9AZr.js} +149 -149
- package/dist/InputNumber.vue_vue_type_script_setup_true_lang-DTKmNnrT.js +1 -0
- package/dist/Kbd/Kbd.d.ts +1 -1
- package/dist/Kbd/index.js +26 -26
- package/dist/Kbd/index.umd.cjs +1 -1
- package/dist/Label/Label.d.ts +1 -1
- package/dist/Label/index.js +2 -2
- package/dist/Label/index.umd.cjs +1 -1
- package/dist/Label.vue_vue_type_style_index_0_lang-B5m20cLB.js +128 -0
- package/dist/Label.vue_vue_type_style_index_0_lang-teg6eTkO.js +1 -0
- package/dist/Link/Link.d.ts +1 -1
- package/dist/Link/index.js +40 -40
- package/dist/Link/index.umd.cjs +1 -1
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu/index.js +2 -2
- package/dist/Menu/index.umd.cjs +1 -1
- package/dist/MenuItem/MenuItemContent.d.ts +1 -1
- package/dist/MenuItem/index.js +2 -2
- package/dist/MenuItem/index.umd.cjs +1 -1
- package/dist/MenuItem.vue_vue_type_style_index_0_lang-CeuY0Gxw.js +1 -0
- package/dist/MenuItem.vue_vue_type_style_index_0_lang-DGpWxfmd.js +595 -0
- package/dist/Modal/Modal.d.ts +70 -0
- package/dist/Modal/Modal.model.d.ts +2 -0
- package/dist/Modal/index.d.ts +3 -0
- package/dist/Modal/index.js +79 -0
- package/dist/Modal/index.umd.cjs +1 -0
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/Pagination/index.js +130 -130
- package/dist/Pagination/index.umd.cjs +1 -1
- package/dist/Popover/index.js +94 -8
- package/dist/Popover/index.umd.cjs +1 -1
- package/dist/Popover/type.d.ts +1 -1
- package/dist/Popover/utils.d.ts +1 -1
- package/dist/Progress/index.js +2 -2
- package/dist/Progress/index.umd.cjs +1 -1
- package/dist/Progress/types.d.ts +1 -1
- package/dist/Progress.vue_vue_type_style_index_0_lang-B-OM1USr.js +1 -0
- package/dist/{Progress.vue_vue_type_style_index_0_lang-Ba_Fby6M.js → Progress.vue_vue_type_style_index_0_lang-BGm_UZSY.js} +168 -168
- package/dist/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup/RadioGroupItem.d.ts +1 -1
- 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-CKst3QRj.js +105 -0
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Cvo452s0.js +1 -0
- package/dist/ScrollContainer/Mask.d.ts +1 -1
- package/dist/ScrollContainer/ScrollContainer.d.ts +1 -1
- package/dist/ScrollContainer/index.js +2 -2
- package/dist/ScrollContainer/index.umd.cjs +1 -1
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-DGrpXPJ1.js +227 -0
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-XfGedoBb.js +1 -0
- package/dist/Segmented/Segmented.d.ts +1 -1
- package/dist/Segmented/index.js +2 -2
- package/dist/Segmented/index.umd.cjs +1 -1
- package/dist/Segmented.vue_vue_type_style_index_0_lang-CCAxhINA.js +169 -0
- package/dist/Segmented.vue_vue_type_style_index_0_lang-DyOI710D.js +1 -0
- package/dist/Select/index.js +2 -2
- package/dist/Select/index.umd.cjs +1 -1
- package/dist/Select/types.d.ts +1 -1
- package/dist/Select.vue_vue_type_style_index_0_lang-B_Mr84-V.js +1 -0
- package/dist/{Select.vue_vue_type_style_index_0_lang-BiFW4jfz.js → Select.vue_vue_type_style_index_0_lang-DpmdsyD2.js} +272 -272
- 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-D_Nl5CG7.js +31 -0
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-DnugoLzl.js +1 -0
- package/dist/Skeleton/Skeleton.d.ts +1 -1
- package/dist/Skeleton/index.js +2 -2
- package/dist/Skeleton/index.umd.cjs +1 -1
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-aI8FTL_w.js +57 -0
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-oMsTff2I.js +1 -0
- package/dist/Spinner/Spinner.d.ts +1 -1
- package/dist/Spinner/index.js +2 -2
- package/dist/Spinner/index.umd.cjs +1 -1
- package/dist/Spinner.vue_vue_type_style_index_0_lang-B7KhPt_X.js +1 -0
- package/dist/{Spinner.vue_vue_type_style_index_0_lang-BCf2tJzR.js → Spinner.vue_vue_type_style_index_0_lang-C-Pajopx.js} +27 -27
- package/dist/Steps/Step.d.ts +1 -1
- package/dist/Steps/Steps.d.ts +1 -1
- package/dist/Steps/index.js +126 -126
- package/dist/Steps/index.umd.cjs +1 -1
- package/dist/SubMenu/index.js +1 -1
- package/dist/SubMenu/index.umd.cjs +1 -1
- package/dist/Switch/Switch.d.ts +1 -1
- package/dist/Switch/index.js +2 -2
- package/dist/Switch/index.umd.cjs +1 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-BmsIxVHQ.js +137 -0
- package/dist/Switch.vue_vue_type_style_index_0_lang-DGgteB6-.js +1 -0
- package/dist/Table/TBody.d.ts +1 -1
- package/dist/Table/TFoot.d.ts +1 -1
- package/dist/Table/THead.d.ts +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Td.d.ts +1 -1
- package/dist/Table/Th.d.ts +1 -1
- package/dist/Table/Tr.d.ts +1 -1
- package/dist/Table/index.js +141 -141
- package/dist/Table/index.umd.cjs +1 -1
- package/dist/Tabs/TabList.d.ts +1 -1
- package/dist/Tabs/TabTrigger.d.ts +1 -1
- package/dist/Tabs/index.js +193 -193
- package/dist/Tabs/index.umd.cjs +1 -1
- package/dist/Textarea/Textarea.d.ts +1 -1
- package/dist/Textarea/index.js +53 -53
- package/dist/Textarea/index.umd.cjs +1 -1
- package/dist/Toast/Toast.d.ts +11 -19
- package/dist/Toast/index.js +110 -108
- package/dist/Toast/index.umd.cjs +1 -1
- package/dist/Tree/Tree.model.d.ts +1 -1
- package/dist/Tree/index.js +1 -1
- package/dist/Tree/index.umd.cjs +1 -1
- package/dist/Upload/index.js +375 -375
- package/dist/Upload/index.umd.cjs +1 -1
- package/dist/Upload/types.d.ts +1 -1
- package/dist/index-B1i4l7x_.js +1 -0
- package/dist/index-BOecemV4.js +1 -0
- package/dist/index-BQAmXDSs.js +58 -0
- package/dist/{index-_lrD3ofV.js → index-C0VS23FW.js} +239 -239
- package/dist/index-CZ5v-Cfi.js +1 -0
- package/dist/{index-BCPptNhu.js → index-GgakTU7m.js} +23 -23
- package/dist/index.d.ts +3 -0
- package/dist/index.js +366 -344
- package/dist/index.umd.cjs +1 -1
- package/dist/nuxt/index.js +1 -1
- package/dist/nuxt/index.umd.cjs +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/resolver/index.umd.cjs +1 -1
- package/dist/style/index.css +1 -1
- package/dist/use/index.js +386 -332
- package/dist/use/index.umd.cjs +1 -1
- package/dist/utils-DeYtvqtV.js +197 -0
- package/dist/utils-V8eBZdnq.js +1 -0
- package/package.json +18 -2
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-CH_Oquxt.js +0 -1
- package/dist/Avatar.vue_vue_type_style_index_0_lang-Br3Z0y8H.js +0 -201
- package/dist/Avatar.vue_vue_type_style_index_0_lang-DldQzFne.js +0 -1
- package/dist/Badge.vue_vue_type_script_setup_true_lang-BVE5H-tP.js +0 -1
- package/dist/Badge.vue_vue_type_script_setup_true_lang-BYCiP2uS.js +0 -58
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-DQMQ2WbE.js +0 -1
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-CLFsLZTl.js +0 -1
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-f9XsnFlF.js +0 -226
- package/dist/BaseInput.vue_vue_type_style_index_0_lang-DdjridzV.js +0 -1
- package/dist/BaseInput.vue_vue_type_style_index_0_lang-Djl15xzS.js +0 -159
- package/dist/Blanket.vue_vue_type_style_index_0_lang-BZDbPoxP.js +0 -22
- package/dist/Blanket.vue_vue_type_style_index_0_lang-CDrlnkqH.js +0 -1
- package/dist/Button.vue_vue_type_script_setup_true_lang-BjM34N0T.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-BfiCl2A5.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-D-7D_c_A.js +0 -224
- package/dist/Chip.vue_vue_type_style_index_0_lang-BgTLPRMz.js +0 -1
- package/dist/Chip.vue_vue_type_style_index_0_lang-CmXECWtq.js +0 -144
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-C4bagGpG.js +0 -1
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-oV_EmLx_.js +0 -171
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-CAok_I9N.js +0 -89
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-Yg82Jn5N.js +0 -1
- package/dist/ComponentMap-BOa7P0Pi.js +0 -1
- package/dist/Divider.vue_vue_type_style_index_0_lang-D3wrVsBd.js +0 -1
- package/dist/Empty.vue_vue_type_style_index_0_lang-CRS28Wia.js +0 -1
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-D2jtoN59.js +0 -1
- package/dist/FormValidation.vue_vue_type_style_index_0_lang-5tWE2LgD.js +0 -45
- package/dist/FormValidation.vue_vue_type_style_index_0_lang-p8foP-Nc.js +0 -1
- package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-mMrUHRm_.js +0 -1
- package/dist/Icon.vue_vue_type_style_index_0_lang-CD9EvvB5.js +0 -59
- package/dist/Icon.vue_vue_type_style_index_0_lang-DOQsa_aO.js +0 -1
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-CxiVq3Pa.js +0 -1
- package/dist/Image.vue_vue_type_style_index_0_lang-BK_dgR8l.js +0 -1
- package/dist/Image.vue_vue_type_style_index_0_lang-CQv-I6_G.js +0 -121
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-CkvTqlkt.js +0 -98
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-ra2hBDxs.js +0 -1
- package/dist/Indicator.vue_vue_type_script_setup_true_lang-Cd4asWR8.js +0 -38
- package/dist/Indicator.vue_vue_type_script_setup_true_lang-DFuzzwXK.js +0 -1
- package/dist/Input.vue_vue_type_script_setup_true_lang-CzKEJH7a.js +0 -127
- package/dist/Input.vue_vue_type_script_setup_true_lang-DTTGUaRI.js +0 -1
- package/dist/InputNumber.vue_vue_type_script_setup_true_lang-DDwIkrP0.js +0 -1
- package/dist/Label.vue_vue_type_style_index_0_lang-6bIJ5i7z.js +0 -128
- package/dist/Label.vue_vue_type_style_index_0_lang-Gvoq3arA.js +0 -1
- package/dist/MenuItem.vue_vue_type_style_index_0_lang-BhdOsuVb.js +0 -595
- package/dist/MenuItem.vue_vue_type_style_index_0_lang-DYhvQVbp.js +0 -1
- package/dist/Progress.vue_vue_type_style_index_0_lang-D_g_XsJ4.js +0 -1
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Dnuebynm.js +0 -105
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-MqvqH3uR.js +0 -1
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-Br7-ZHr3.js +0 -1
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-CRjnv1ii.js +0 -227
- package/dist/Segmented.vue_vue_type_style_index_0_lang-CRoZKg2q.js +0 -1
- package/dist/Segmented.vue_vue_type_style_index_0_lang-D20lEgXh.js +0 -169
- package/dist/Select.vue_vue_type_style_index_0_lang-DI_YhCCT.js +0 -1
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-DTdKfRum.js +0 -31
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-ahrcqk01.js +0 -1
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-DOsf2SEN.js +0 -57
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-vZBJnVJj.js +0 -1
- package/dist/Spinner.vue_vue_type_style_index_0_lang-C6vFiHl7.js +0 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-BWuuLt7A.js +0 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-DM0BBZ3s.js +0 -137
- package/dist/index--fAgg2DC.js +0 -281
- package/dist/index-CUuaEiq_.js +0 -1
- package/dist/index-CaXYyVxq.js +0 -1
- package/dist/index-ClFtJyYC.js +0 -58
- package/dist/index-DzG8mnap.js +0 -1
- package/dist/index-SHgIzWWT.js +0 -1
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { BaseButtonSlots, BaseButtonProps } from '../Base/BaseButton/BaseButton';
|
|
2
2
|
import { ButtonType, ButtonVariant } from '../Base/BaseButton/BaseButton.model';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the ActionButton component
|
|
5
|
+
*/
|
|
3
6
|
export type ActionButtonProps = Partial<Omit<BaseButtonProps, 'color' | 'type' | 'variant' | 'action'>> & {
|
|
7
|
+
/**
|
|
8
|
+
* The type of button (outline or ghost, excluding 'fill')
|
|
9
|
+
*/
|
|
4
10
|
type?: Exclude<ButtonType, 'fill'>;
|
|
11
|
+
/**
|
|
12
|
+
* The variant of button (simple or icon, excluding 'float')
|
|
13
|
+
*/
|
|
5
14
|
variant?: Exclude<ButtonVariant, 'float'>;
|
|
6
15
|
};
|
|
7
16
|
declare function __VLS_template(): {
|
|
@@ -144,7 +153,13 @@ declare function __VLS_template(): {
|
|
|
144
153
|
};
|
|
145
154
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
146
155
|
declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps, {
|
|
156
|
+
/**
|
|
157
|
+
* Focus the button element
|
|
158
|
+
*/
|
|
147
159
|
focus(): void;
|
|
160
|
+
/**
|
|
161
|
+
* Blur the button element
|
|
162
|
+
*/
|
|
148
163
|
blur(): void;
|
|
149
164
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
|
|
150
165
|
disabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t } from "../ActionButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as t } from "../ActionButton.vue_vue_type_script_setup_true_lang-DUTQMgx0.js";
|
|
2
2
|
import { installComponent as o } from "@pantograph/utils-vue";
|
|
3
3
|
import { getComponentName as n } from "@pantograph/utils";
|
|
4
4
|
const r = o(t, n("ActionButton"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../ActionButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../ActionButton.vue_vue_type_script_setup_true_lang-md1ppHCX.js"),e=require("@pantograph/utils-vue"),n=require("@pantograph/utils"),u=e.installComponent(t._sfc_main,n.getComponentName("ActionButton"));exports.ActionButton=t._sfc_main;exports.default=t._sfc_main;exports.ActionButtonPlugin=u;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as c, useAttrs as l, computed as
|
|
1
|
+
import { defineComponent as c, useAttrs as l, computed as u, ref as m, createBlock as f, openBlock as y, mergeProps as d, createSlots as B, renderList as b, withCtx as g, renderSlot as _, normalizeProps as v, guardReactiveProps as k } from "vue";
|
|
2
2
|
import { omit as I } from "es-toolkit";
|
|
3
|
-
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { getComponentOptions as
|
|
5
|
-
const
|
|
6
|
-
...
|
|
3
|
+
import { _ as O } from "./BaseButton.vue_vue_type_style_index_0_lang-D34wKLFG.js";
|
|
4
|
+
import { getComponentOptions as S } from "@pantograph/utils";
|
|
5
|
+
const R = /* @__PURE__ */ c({
|
|
6
|
+
...S("ActionButton", !1),
|
|
7
7
|
__name: "ActionButton",
|
|
8
8
|
props: {
|
|
9
9
|
as: {},
|
|
10
|
-
class: {},
|
|
10
|
+
class: { type: [Array, Object, String, Number, null, Boolean] },
|
|
11
11
|
text: {},
|
|
12
12
|
size: {},
|
|
13
13
|
noRing: { type: Boolean },
|
|
@@ -35,20 +35,26 @@ const A = /* @__PURE__ */ c({
|
|
|
35
35
|
variant: {}
|
|
36
36
|
},
|
|
37
37
|
setup(n, { expose: r }) {
|
|
38
|
-
const a = n, p = l(), s =
|
|
38
|
+
const a = n, p = l(), s = u(() => ({
|
|
39
39
|
...I(p, ["color", "type", "variant", "action"]),
|
|
40
40
|
...a
|
|
41
|
-
})), e =
|
|
41
|
+
})), e = m();
|
|
42
42
|
return r({
|
|
43
|
+
/**
|
|
44
|
+
* Focus the button element
|
|
45
|
+
*/
|
|
43
46
|
focus() {
|
|
44
47
|
var o;
|
|
45
48
|
(o = e.value) == null || o.focus();
|
|
46
49
|
},
|
|
50
|
+
/**
|
|
51
|
+
* Blur the button element
|
|
52
|
+
*/
|
|
47
53
|
blur() {
|
|
48
54
|
var o;
|
|
49
55
|
(o = e.value) == null || o.blur();
|
|
50
56
|
}
|
|
51
|
-
}), (o,
|
|
57
|
+
}), (o, h) => (y(), f(O, d(s.value, {
|
|
52
58
|
action: "",
|
|
53
59
|
ref_key: "buttonRef",
|
|
54
60
|
ref: e
|
|
@@ -63,5 +69,5 @@ const A = /* @__PURE__ */ c({
|
|
|
63
69
|
}
|
|
64
70
|
});
|
|
65
71
|
export {
|
|
66
|
-
|
|
72
|
+
R as _
|
|
67
73
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),p=require("es-toolkit"),u=require("./BaseButton.vue_vue_type_style_index_0_lang-C_Z9AE3Z.js"),y=require("@pantograph/utils"),_=e.defineComponent({...y.getComponentOptions("ActionButton",!1),__name:"ActionButton",props:{as:{},class:{type:[Array,Object,String,Number,null,Boolean]},text:{},size:{},noRing:{type:Boolean},loading:{type:Boolean},active:{type:Boolean},badgeText:{},badgeIcon:{},icon:{},preIcon:{},postIcon:{},customStroke:{type:Boolean},preIconCustomStroke:{type:Boolean},postIconCustomStroke:{type:Boolean},flipOnDir:{},preIconFlipOnDir:{},postIconFlipOnDir:{},badgeIconFlipOnDir:{},htmlType:{},block:{type:Boolean},disabled:{type:Boolean,default:void 0},hover:{type:Boolean},href:{},target:{},type:{},variant:{}},setup(r,{expose:s}){const a=r,c=e.useAttrs(),i=e.computed(()=>({...p.omit(c,["color","type","variant","action"]),...a})),t=e.ref();return s({focus(){var o;(o=t.value)==null||o.focus()},blur(){var o;(o=t.value)==null||o.blur()}}),(o,f)=>(e.openBlock(),e.createBlock(u._sfc_main,e.mergeProps(i.value,{action:"",ref_key:"buttonRef",ref:t}),e.createSlots({_:2},[e.renderList(Object.keys(o.$slots),n=>({name:n,fn:e.withCtx(l=>[e.renderSlot(o.$slots,n,e.normalizeProps(e.guardReactiveProps(l)))])}))]),1040))}});exports._sfc_main=_;
|
package/dist/Alert/Alert.d.ts
CHANGED
|
@@ -1,33 +1,114 @@
|
|
|
1
1
|
import { AlertType } from './Alert.model';
|
|
2
2
|
import { LinkProps } from '../Link';
|
|
3
|
-
import { ClassValue } from '
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the Alert component
|
|
6
|
+
*/
|
|
4
7
|
export interface AlertProps {
|
|
8
|
+
/**
|
|
9
|
+
* The type of alert which determines its color and icon
|
|
10
|
+
* @default 'hint'
|
|
11
|
+
*/
|
|
5
12
|
type?: AlertType;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the alert can be closed by the user
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
6
17
|
closeable?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* CSS classes to apply to the alert container
|
|
20
|
+
*/
|
|
7
21
|
class?: ClassValue;
|
|
22
|
+
/**
|
|
23
|
+
* Custom icon for the alert. If not provided, a default icon is used based on the type
|
|
24
|
+
*/
|
|
8
25
|
icon?: string;
|
|
26
|
+
/**
|
|
27
|
+
* CSS classes to apply to the icon element
|
|
28
|
+
*/
|
|
9
29
|
iconCls?: ClassValue;
|
|
30
|
+
/**
|
|
31
|
+
* CSS classes to apply to the body element
|
|
32
|
+
*/
|
|
10
33
|
bodyCls?: ClassValue;
|
|
34
|
+
/**
|
|
35
|
+
* CSS classes to apply to the closeable element
|
|
36
|
+
*/
|
|
11
37
|
closeableCls?: ClassValue;
|
|
38
|
+
/**
|
|
39
|
+
* Custom foreground color for the alert
|
|
40
|
+
*/
|
|
12
41
|
fg?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Custom border color for the alert
|
|
44
|
+
*/
|
|
13
45
|
br?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Custom background color for the alert
|
|
48
|
+
*/
|
|
14
49
|
bg?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Title text for the alert
|
|
52
|
+
*/
|
|
15
53
|
title?: string;
|
|
54
|
+
/**
|
|
55
|
+
* CSS classes to apply to the title element
|
|
56
|
+
*/
|
|
16
57
|
titleCls?: ClassValue;
|
|
58
|
+
/**
|
|
59
|
+
* Description text for the alert
|
|
60
|
+
*/
|
|
17
61
|
description?: string;
|
|
62
|
+
/**
|
|
63
|
+
* CSS classes to apply to the description element
|
|
64
|
+
*/
|
|
18
65
|
descriptionCls?: ClassValue;
|
|
66
|
+
/**
|
|
67
|
+
* Whether to show a link in the alert
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
19
70
|
link?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Props to pass to the link component
|
|
73
|
+
*/
|
|
20
74
|
linkProps?: LinkProps;
|
|
21
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Events emitted by the Alert component
|
|
78
|
+
*/
|
|
22
79
|
export interface AlertEmits {
|
|
80
|
+
/**
|
|
81
|
+
* Emitted when the alert is closed
|
|
82
|
+
*/
|
|
23
83
|
(e: 'close', data: Event): void;
|
|
24
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Slots available in the Alert component
|
|
87
|
+
*/
|
|
25
88
|
export interface AlertSlots {
|
|
89
|
+
/**
|
|
90
|
+
* Default slot for custom content
|
|
91
|
+
*/
|
|
26
92
|
default: () => never;
|
|
93
|
+
/**
|
|
94
|
+
* Custom icon content
|
|
95
|
+
*/
|
|
27
96
|
icon: () => never;
|
|
97
|
+
/**
|
|
98
|
+
* Custom title content
|
|
99
|
+
*/
|
|
28
100
|
title: () => never;
|
|
101
|
+
/**
|
|
102
|
+
* Custom description content
|
|
103
|
+
*/
|
|
29
104
|
description: () => never;
|
|
105
|
+
/**
|
|
106
|
+
* Custom closeable content
|
|
107
|
+
*/
|
|
30
108
|
closeable: () => never;
|
|
109
|
+
/**
|
|
110
|
+
* Custom link content
|
|
111
|
+
*/
|
|
31
112
|
link: () => never;
|
|
32
113
|
}
|
|
33
114
|
declare function __VLS_template(): {
|
package/dist/Alert/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin for the Alert component
|
|
3
|
+
*/
|
|
1
4
|
export declare const AlertPlugin: import('vue').Plugin;
|
|
5
|
+
/**
|
|
6
|
+
* Alert component and related types
|
|
7
|
+
*/
|
|
2
8
|
export { default as Alert, type AlertProps, type AlertEmits, type AlertSlots, default, } from './Alert';
|
|
9
|
+
/**
|
|
10
|
+
* Alert model exports (types and constants)
|
|
11
|
+
*/
|
|
3
12
|
export * from './Alert.model';
|
package/dist/Alert/index.js
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getComponentOptions as
|
|
3
|
-
import { cva as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { Link as
|
|
7
|
-
import { installComponent as
|
|
8
|
-
const
|
|
9
|
-
...
|
|
1
|
+
import { defineComponent as N, useSlots as S, computed as $, createElementBlock as m, openBlock as r, normalizeStyle as h, normalizeClass as o, unref as e, createBlock as O, createCommentVNode as b, createElementVNode as j, createSlots as P, withCtx as V, renderSlot as i, createTextVNode as g, toDisplayString as p, createVNode as f, normalizeProps as z, guardReactiveProps as w } from "vue";
|
|
2
|
+
import { getComponentOptions as E, getBemBlock as I, generateVariantClassList as L, normCls as s, getBemElement as c, getComponentName as T } from "@pantograph/utils";
|
|
3
|
+
import { cva as x } from "class-variance-authority";
|
|
4
|
+
import { _ as D } from "../IconButton.vue_vue_type_script_setup_true_lang-BR82Bz96.js";
|
|
5
|
+
import { _ as M } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-D8zWdo89.js";
|
|
6
|
+
import { Link as R } from "../Link/index.js";
|
|
7
|
+
import { installComponent as q } from "@pantograph/utils-vue";
|
|
8
|
+
const F = ["info", "success", "danger", "warning", "hint"], G = /* @__PURE__ */ N({
|
|
9
|
+
...E("Alert"),
|
|
10
10
|
__name: "Alert",
|
|
11
11
|
props: {
|
|
12
12
|
type: { default: "hint" },
|
|
13
13
|
closeable: { type: Boolean },
|
|
14
|
-
class: {},
|
|
14
|
+
class: { type: [Array, Object, String, Number, null, Boolean] },
|
|
15
15
|
icon: {},
|
|
16
|
-
iconCls: {},
|
|
17
|
-
bodyCls: {},
|
|
18
|
-
closeableCls: {},
|
|
16
|
+
iconCls: { type: [Array, Object, String, Number, null, Boolean] },
|
|
17
|
+
bodyCls: { type: [Array, Object, String, Number, null, Boolean] },
|
|
18
|
+
closeableCls: { type: [Array, Object, String, Number, null, Boolean] },
|
|
19
19
|
fg: {},
|
|
20
20
|
br: {},
|
|
21
21
|
bg: {},
|
|
22
22
|
title: {},
|
|
23
|
-
titleCls: {},
|
|
23
|
+
titleCls: { type: [Array, Object, String, Number, null, Boolean] },
|
|
24
24
|
description: {},
|
|
25
|
-
descriptionCls: {},
|
|
25
|
+
descriptionCls: { type: [Array, Object, String, Number, null, Boolean] },
|
|
26
26
|
link: { type: Boolean },
|
|
27
27
|
linkProps: {}
|
|
28
28
|
},
|
|
29
29
|
emits: ["close"],
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
30
|
+
setup(t, { emit: C }) {
|
|
31
|
+
const u = t, B = C, l = I("alert"), k = x(l, {
|
|
32
32
|
variants: {
|
|
33
|
-
type:
|
|
33
|
+
type: L(F, l)
|
|
34
34
|
// hasChild: generateVariantClassList('has-child', prefix),
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), n = S(), v = {
|
|
37
37
|
success: "tabler:circle-check",
|
|
38
38
|
warning: "tabler:alert-triangle",
|
|
39
39
|
danger: "tabler:circle-x",
|
|
40
40
|
hint: "tabler:bulb",
|
|
41
41
|
info: "tabler:info-circle"
|
|
42
|
-
},
|
|
43
|
-
return (
|
|
44
|
-
class:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
type:
|
|
42
|
+
}, y = $(() => u.icon ?? v[u.type]);
|
|
43
|
+
return (a, d) => (r(), m("div", {
|
|
44
|
+
class: o(
|
|
45
|
+
e(s)(
|
|
46
|
+
e(k)({
|
|
47
|
+
type: t.type
|
|
48
48
|
}),
|
|
49
|
-
|
|
49
|
+
u.class
|
|
50
50
|
)
|
|
51
51
|
),
|
|
52
|
-
style:
|
|
53
|
-
"--ptc-alert-fg":
|
|
54
|
-
"--ptc-alert-bg":
|
|
55
|
-
"--ptc-alert-br":
|
|
52
|
+
style: h({
|
|
53
|
+
"--ptc-alert-fg": t.fg,
|
|
54
|
+
"--ptc-alert-bg": t.bg,
|
|
55
|
+
"--ptc-alert-br": t.br
|
|
56
56
|
})
|
|
57
57
|
}, [
|
|
58
|
-
|
|
58
|
+
n.icon || y.value ? (r(), O(M, {
|
|
59
59
|
key: 0,
|
|
60
60
|
size: "md",
|
|
61
|
-
icon:
|
|
62
|
-
class:
|
|
63
|
-
},
|
|
64
|
-
|
|
61
|
+
icon: y.value,
|
|
62
|
+
class: o(e(s)(e(c)(e(l), "icon"), t.iconCls))
|
|
63
|
+
}, P({ _: 2 }, [
|
|
64
|
+
n.icon ? {
|
|
65
65
|
name: "icon",
|
|
66
|
-
fn:
|
|
67
|
-
i(
|
|
66
|
+
fn: V(() => [
|
|
67
|
+
i(a.$slots, "icon")
|
|
68
68
|
]),
|
|
69
69
|
key: "0"
|
|
70
70
|
} : void 0
|
|
71
|
-
]), 1032, ["icon", "class"])) :
|
|
72
|
-
|
|
73
|
-
class:
|
|
71
|
+
]), 1032, ["icon", "class"])) : b("", !0),
|
|
72
|
+
j("div", {
|
|
73
|
+
class: o(e(s)(e(c)(e(l), "body"), t.bodyCls))
|
|
74
74
|
}, [
|
|
75
|
-
i(
|
|
76
|
-
|
|
75
|
+
i(a.$slots, "default", {}, () => [
|
|
76
|
+
t.title || n.title ? (r(), m("div", {
|
|
77
77
|
key: 0,
|
|
78
|
-
class:
|
|
78
|
+
class: o(e(s)(e(c)(e(l), "title"), t.titleCls, "paragraph"))
|
|
79
79
|
}, [
|
|
80
|
-
i(
|
|
81
|
-
|
|
80
|
+
i(a.$slots, "title", {}, () => [
|
|
81
|
+
g(p(t.title), 1)
|
|
82
82
|
])
|
|
83
|
-
], 2)) :
|
|
84
|
-
|
|
83
|
+
], 2)) : b("", !0),
|
|
84
|
+
t.description || n.description ? (r(), m("div", {
|
|
85
85
|
key: 1,
|
|
86
|
-
class:
|
|
86
|
+
class: o(e(s)(e(c)(e(l), "description"), t.descriptionCls, "paragraph"))
|
|
87
87
|
}, [
|
|
88
|
-
i(
|
|
89
|
-
|
|
88
|
+
i(a.$slots, "description", {}, () => [
|
|
89
|
+
g(p(t.description), 1)
|
|
90
90
|
])
|
|
91
|
-
], 2)) :
|
|
92
|
-
|
|
91
|
+
], 2)) : b("", !0),
|
|
92
|
+
t.link || n.link ? (r(), m("div", {
|
|
93
93
|
key: 2,
|
|
94
|
-
class:
|
|
94
|
+
class: o(e(c)(e(l), "action"))
|
|
95
95
|
}, [
|
|
96
|
-
i(
|
|
97
|
-
|
|
96
|
+
i(a.$slots, "link", {}, () => [
|
|
97
|
+
f(e(R), z(w(t.linkProps)), null, 16)
|
|
98
98
|
])
|
|
99
|
-
], 2)) :
|
|
99
|
+
], 2)) : b("", !0)
|
|
100
100
|
])
|
|
101
101
|
], 2),
|
|
102
|
-
|
|
102
|
+
u.closeable || n.closeable ? (r(), m("div", {
|
|
103
103
|
key: 1,
|
|
104
|
-
class:
|
|
104
|
+
class: o(e(s)(e(c)(e(l), "closeable"), t.closeableCls))
|
|
105
105
|
}, [
|
|
106
|
-
i(
|
|
107
|
-
|
|
106
|
+
i(a.$slots, "closeable", {}, () => [
|
|
107
|
+
f(D, {
|
|
108
108
|
icon: "tabler:x",
|
|
109
109
|
color: "neutral",
|
|
110
110
|
type: "ghost",
|
|
111
|
-
onClick:
|
|
111
|
+
onClick: d[0] || (d[0] = (A) => B("close", A))
|
|
112
112
|
})
|
|
113
113
|
])
|
|
114
|
-
], 2)) :
|
|
114
|
+
], 2)) : b("", !0)
|
|
115
115
|
], 6));
|
|
116
116
|
}
|
|
117
|
-
}),
|
|
117
|
+
}), Y = q(G, T("Alert"));
|
|
118
118
|
export {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
G as Alert,
|
|
120
|
+
Y as AlertPlugin,
|
|
121
|
+
F as AlertTypes,
|
|
122
|
+
G as default
|
|
123
123
|
};
|
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("vue"),l=require("@pantograph/utils"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("@pantograph/utils"),f=require("class-variance-authority"),C=require("../IconButton.vue_vue_type_script_setup_true_lang-i5ZOiWt-.js"),p=require("../GraphicalObject.vue_vue_type_script_setup_true_lang-BDZKksip.js"),B=require("../Link/index.umd.cjs"),k=require("@pantograph/utils-vue"),u=["info","success","danger","warning","hint"],a=e.defineComponent({...l.getComponentOptions("Alert"),__name:"Alert",props:{type:{default:"hint"},closeable:{type:Boolean},class:{type:[Array,Object,String,Number,null,Boolean]},icon:{},iconCls:{type:[Array,Object,String,Number,null,Boolean]},bodyCls:{type:[Array,Object,String,Number,null,Boolean]},closeableCls:{type:[Array,Object,String,Number,null,Boolean]},fg:{},br:{},bg:{},title:{},titleCls:{type:[Array,Object,String,Number,null,Boolean]},description:{},descriptionCls:{type:[Array,Object,String,Number,null,Boolean]},link:{type:Boolean},linkProps:{}},emits:["close"],setup(t,{emit:m}){const s=t,d=m,n=l.getBemBlock("alert"),g=f.cva(n,{variants:{type:l.generateVariantClassList(u,n)}}),r=e.useSlots(),y={success:"tabler:circle-check",warning:"tabler:alert-triangle",danger:"tabler:circle-x",hint:"tabler:bulb",info:"tabler:info-circle"},i=e.computed(()=>s.icon??y[s.type]);return(o,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(l.normCls)(e.unref(g)({type:t.type}),s.class)),style:e.normalizeStyle({"--ptc-alert-fg":t.fg,"--ptc-alert-bg":t.bg,"--ptc-alert-br":t.br})},[r.icon||i.value?(e.openBlock(),e.createBlock(p._sfc_main,{key:0,size:"md",icon:i.value,class:e.normalizeClass(e.unref(l.normCls)(e.unref(l.getBemElement)(e.unref(n),"icon"),t.iconCls))},e.createSlots({_:2},[r.icon?{name:"icon",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"icon")]),key:"0"}:void 0]),1032,["icon","class"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l.normCls)(e.unref(l.getBemElement)(e.unref(n),"body"),t.bodyCls))},[e.renderSlot(o.$slots,"default",{},()=>[t.title||r.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l.normCls)(e.unref(l.getBemElement)(e.unref(n),"title"),t.titleCls,"paragraph"))},[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2)):e.createCommentVNode("",!0),t.description||r.description?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(l.normCls)(e.unref(l.getBemElement)(e.unref(n),"description"),t.descriptionCls,"paragraph"))},[e.renderSlot(o.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])],2)):e.createCommentVNode("",!0),t.link||r.link?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(l.getBemElement)(e.unref(n),"action"))},[e.renderSlot(o.$slots,"link",{},()=>[e.createVNode(e.unref(B.Link),e.normalizeProps(e.guardReactiveProps(t.linkProps)),null,16)])],2)):e.createCommentVNode("",!0)])],2),s.closeable||r.closeable?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(l.normCls)(e.unref(l.getBemElement)(e.unref(n),"closeable"),t.closeableCls))},[e.renderSlot(o.$slots,"closeable",{},()=>[e.createVNode(C._sfc_main,{icon:"tabler:x",color:"neutral",type:"ghost",onClick:c[0]||(c[0]=b=>d("close",b))})])],2)):e.createCommentVNode("",!0)],6))}}),v=k.installComponent(a,l.getComponentName("Alert"));exports.Alert=a;exports.AlertPlugin=v;exports.AlertTypes=u;exports.default=a;
|
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -1,24 +1,81 @@
|
|
|
1
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
|
-
import { ClassValue } from '
|
|
4
|
+
import { ClassValue } from 'clsx';
|
|
5
|
+
/**
|
|
6
|
+
* Props for the Avatar component
|
|
7
|
+
*/
|
|
5
8
|
export interface AvatarProps extends Omit<AvatarImageProps, 'asChild' | 'as' | 'src'>, Omit<AvatarFallbackProps, 'asChild' | 'as' | 'src'> {
|
|
9
|
+
/**
|
|
10
|
+
* Path to the profile image, typically a URL or local path
|
|
11
|
+
*/
|
|
6
12
|
src?: string;
|
|
13
|
+
/**
|
|
14
|
+
* CSS classes to apply to the avatar
|
|
15
|
+
*/
|
|
7
16
|
class?: ClassValue;
|
|
17
|
+
/**
|
|
18
|
+
* Color of the online status indicator
|
|
19
|
+
* @default 'lime'
|
|
20
|
+
*/
|
|
8
21
|
onlineColor?: BadgeColor;
|
|
22
|
+
/**
|
|
23
|
+
* Size of the avatar
|
|
24
|
+
* @default 'md'
|
|
25
|
+
*/
|
|
9
26
|
size?: AvatarSize;
|
|
27
|
+
/**
|
|
28
|
+
* Color of the border around the avatar
|
|
29
|
+
*/
|
|
10
30
|
stroke?: AvatarStroke;
|
|
31
|
+
/**
|
|
32
|
+
* Shape of the avatar
|
|
33
|
+
* @default 'circle'
|
|
34
|
+
*/
|
|
11
35
|
shape?: AvatarShape;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to show the online status indicator
|
|
38
|
+
*/
|
|
12
39
|
online?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to not extend parent context
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
13
44
|
unExtendParent?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Alternative text for the avatar image
|
|
47
|
+
*/
|
|
14
48
|
alt?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Fallback content to display when the avatar image fails to load
|
|
51
|
+
*/
|
|
15
52
|
fallback?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Text to display inside the avatar, such as initials
|
|
55
|
+
*/
|
|
16
56
|
text?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Icon to display inside the avatar instead of image or text
|
|
59
|
+
* @default 'tabler:user'
|
|
60
|
+
*/
|
|
17
61
|
icon?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Alignment of the online status indicator
|
|
64
|
+
* @default 'start'
|
|
65
|
+
*/
|
|
18
66
|
onlineAlignment?: AvatarOnlineAlignment;
|
|
19
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Slots for the Avatar component
|
|
70
|
+
*/
|
|
20
71
|
export interface AvatarSlots {
|
|
72
|
+
/**
|
|
73
|
+
* Default slot for custom content
|
|
74
|
+
*/
|
|
21
75
|
default?: () => never;
|
|
76
|
+
/**
|
|
77
|
+
* Fallback slot for content to display when the avatar image fails to load
|
|
78
|
+
*/
|
|
22
79
|
fallback?: () => never;
|
|
23
80
|
}
|
|
24
81
|
declare function __VLS_template(): {
|
|
@@ -1,11 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Array of available avatar sizes
|
|
3
|
+
*/
|
|
1
4
|
export declare const AvatarSizes: readonly ["2xsm", "xsm", "sm", "md", "lg", "xlg"];
|
|
5
|
+
/**
|
|
6
|
+
* Type representing the possible avatar sizes
|
|
7
|
+
*/
|
|
2
8
|
export type AvatarSize = (typeof AvatarSizes)[number];
|
|
9
|
+
/**
|
|
10
|
+
* Array of available avatar stroke options
|
|
11
|
+
*/
|
|
3
12
|
export declare const AvatarStrokes: readonly ["gray-subtle", "white", "primary", "gray", "red", "orange", "amber", "yellow", "lime", "green", "teal", "cyan", "sky", "blue", "ocean", "violet", "amethyst", "fuchsia", "pink", "mallard"];
|
|
13
|
+
/**
|
|
14
|
+
* Type representing the possible avatar stroke options
|
|
15
|
+
*/
|
|
4
16
|
export type AvatarStroke = (typeof AvatarStrokes)[number];
|
|
17
|
+
/**
|
|
18
|
+
* Array of available avatar shapes
|
|
19
|
+
*/
|
|
5
20
|
export declare const AvatarShapes: readonly ["circle", "square", "rect"];
|
|
21
|
+
/**
|
|
22
|
+
* Type representing the possible avatar shapes
|
|
23
|
+
*/
|
|
6
24
|
export type AvatarShape = (typeof AvatarShapes)[number];
|
|
25
|
+
/**
|
|
26
|
+
* Object mapping online alignment options to their CSS class values
|
|
27
|
+
*/
|
|
7
28
|
export declare const AvatarOnlineAlignments: {
|
|
8
29
|
start: string;
|
|
9
30
|
end: string;
|
|
10
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Type representing the possible avatar online alignment options
|
|
34
|
+
*/
|
|
11
35
|
export type AvatarOnlineAlignment = keyof typeof AvatarOnlineAlignments;
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin for the Avatar component
|
|
3
|
+
*/
|
|
1
4
|
export declare const AvatarPlugin: import('vue').Plugin;
|
|
5
|
+
/**
|
|
6
|
+
* Avatar component and related types
|
|
7
|
+
*/
|
|
2
8
|
export { default as Avatar, type AvatarProps, default } from './Avatar';
|
|
9
|
+
/**
|
|
10
|
+
* Avatar model exports
|
|
11
|
+
*/
|
|
3
12
|
export * from './Avatar.model';
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as a } from "../Avatar.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as a } from "../Avatar.vue_vue_type_style_index_0_lang-CMZWw-cd.js";
|
|
2
|
+
import { b as p, c as A, d as v, e as f } from "../Avatar.vue_vue_type_style_index_0_lang-CMZWw-cd.js";
|
|
3
3
|
import { installComponent as t } from "@pantograph/utils-vue";
|
|
4
4
|
import { getComponentName as r } from "@pantograph/utils";
|
|
5
5
|
const m = t(a, r("Avatar"));
|
|
6
6
|
export {
|
|
7
7
|
a as Avatar,
|
|
8
|
-
|
|
8
|
+
p as AvatarOnlineAlignments,
|
|
9
9
|
m as AvatarPlugin,
|
|
10
|
-
|
|
10
|
+
A as AvatarShapes,
|
|
11
11
|
v as AvatarSizes,
|
|
12
12
|
f as AvatarStrokes,
|
|
13
13
|
a as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../Avatar.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../Avatar.vue_vue_type_style_index_0_lang-KicZdDY5.js"),t=require("@pantograph/utils-vue"),e=require("@pantograph/utils"),r=t.installComponent(a._sfc_main,e.getComponentName("Avatar"));exports.Avatar=a._sfc_main;exports.AvatarOnlineAlignments=a.AvatarOnlineAlignments;exports.AvatarShapes=a.AvatarShapes;exports.AvatarSizes=a.AvatarSizes;exports.AvatarStrokes=a.AvatarStrokes;exports.default=a._sfc_main;exports.AvatarPlugin=r;
|