@expcat/tigercat-vue 2.0.19 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -10
- package/dist/chunk-26QCTL2E.mjs +180 -0
- package/dist/{chunk-7W3NALIL.mjs → chunk-3FPS7XVB.mjs} +26 -27
- package/dist/{chunk-2OI6GWOT.mjs → chunk-3KAHJF7D.mjs} +12 -11
- package/dist/chunk-3OCHBGPF.mjs +835 -0
- package/dist/chunk-3ONCXHE5.mjs +184 -0
- package/dist/{chunk-4HUYX5WW.mjs → chunk-4PQZMDBK.mjs} +29 -8
- package/dist/{chunk-DI6RRAGQ.mjs → chunk-562Z32GR.mjs} +3 -3
- package/dist/{chunk-OQVGB7X6.mjs → chunk-626VUZ2Q.mjs} +1 -1
- package/dist/{chunk-WUQMFKQ6.mjs → chunk-67VS6QHJ.mjs} +29 -15
- package/dist/chunk-6GR3XC5V.mjs +281 -0
- package/dist/chunk-6GR5U4UB.mjs +225 -0
- package/dist/{chunk-KFJIZED5.mjs → chunk-6JAAXPBW.mjs} +7 -6
- package/dist/{chunk-XGXZF27U.mjs → chunk-6NYC7EY2.mjs} +32 -18
- package/dist/{chunk-6BDDX2R4.mjs → chunk-73Z7N7VG.mjs} +1 -4
- package/dist/chunk-7C7SG3SS.mjs +269 -0
- package/dist/{chunk-NNC75I7F.mjs → chunk-7TJE7OYH.mjs} +7 -6
- package/dist/{chunk-AU6IC6K7.mjs → chunk-ABNS4B5V.mjs} +35 -15
- package/dist/chunk-AECXFT7D.mjs +121 -0
- package/dist/chunk-AOLRZG4E.mjs +347 -0
- package/dist/chunk-AY7CGLMO.mjs +368 -0
- package/dist/chunk-BBNCP55O.mjs +156 -0
- package/dist/{chunk-EGIMTTZA.mjs → chunk-BOHE5URZ.mjs} +18 -3
- package/dist/{chunk-5RIHHZF6.mjs → chunk-BQK7LH2L.mjs} +4 -1
- package/dist/{chunk-E6EZHSGY.mjs → chunk-BSOLH6R5.mjs} +0 -1
- package/dist/{chunk-RSM6FOWX.mjs → chunk-CCC3S6LK.mjs} +6 -3
- package/dist/{chunk-U75YXWSA.mjs → chunk-CLTRADS7.mjs} +17 -5
- package/dist/{chunk-BEIPGX74.mjs → chunk-DRLQCY7R.mjs} +162 -7
- package/dist/{chunk-KBJANUZZ.mjs → chunk-E523VGZP.mjs} +1 -1
- package/dist/{chunk-D3U2NJ32.mjs → chunk-FEQ7PZXI.mjs} +8 -2
- package/dist/{chunk-PE5OA4YG.mjs → chunk-FHUGOSEY.mjs} +8 -2
- package/dist/{chunk-OAPIT53X.mjs → chunk-FIEECAJV.mjs} +7 -10
- package/dist/{chunk-7SFB77JR.mjs → chunk-GBPMQJJJ.mjs} +8 -1
- package/dist/{chunk-KOG3HKOF.mjs → chunk-GQOPDD44.mjs} +2 -5
- package/dist/{chunk-5RXYJWNA.mjs → chunk-H4DEIGEG.mjs} +77 -25
- package/dist/{chunk-ZGA66PSG.mjs → chunk-IK2WHKDA.mjs} +32 -18
- package/dist/{chunk-HGXD57QM.mjs → chunk-JBS3AESR.mjs} +65 -23
- package/dist/{chunk-PYRKFQ6J.mjs → chunk-JIU5UEOU.mjs} +70 -26
- package/dist/{chunk-JALHMWKW.mjs → chunk-K5MHUMKR.mjs} +2 -2
- package/dist/{chunk-5E4LINDO.mjs → chunk-LH2V2JMZ.mjs} +26 -10
- package/dist/{chunk-PQBKN2NH.mjs → chunk-LRFKHJDU.mjs} +14 -5
- package/dist/{chunk-OTHJIFDV.mjs → chunk-M4FWWEMX.mjs} +18 -9
- package/dist/{chunk-NGAA73CV.mjs → chunk-N2XV37BL.mjs} +40 -44
- package/dist/{chunk-2LIIMWBR.mjs → chunk-OYU47A57.mjs} +1 -2
- package/dist/{chunk-KU2Q5V3L.mjs → chunk-P62TYR3M.mjs} +18 -2
- package/dist/chunk-P6FMU4AT.mjs +54 -0
- package/dist/{chunk-P5FDKBXG.mjs → chunk-P7X46BAW.mjs} +70 -3
- package/dist/chunk-PFIV5MXD.mjs +48 -0
- package/dist/{chunk-KROVW4AW.mjs → chunk-PJQTRDIG.mjs} +13 -3
- package/dist/{chunk-26OI3TEA.mjs → chunk-PMQSXEMT.mjs} +42 -6
- package/dist/{chunk-XLNK3Z2P.mjs → chunk-POWDTOMF.mjs} +88 -79
- package/dist/{chunk-AXDBME5A.mjs → chunk-PSGVG4TN.mjs} +38 -21
- package/dist/chunk-PWWWACHC.mjs +302 -0
- package/dist/{chunk-UUWTKCMY.mjs → chunk-QWLD5FMJ.mjs} +1 -1
- package/dist/{chunk-ALIUAGJO.mjs → chunk-QZLOF36M.mjs} +7 -13
- package/dist/{chunk-WLYQHKLZ.mjs → chunk-QZRSFGZZ.mjs} +50 -11
- package/dist/{chunk-MAKOSWR6.mjs → chunk-RHQWQJ4I.mjs} +7 -6
- package/dist/{chunk-GS4SV2HK.mjs → chunk-RRLE7QRH.mjs} +43 -22
- package/dist/{chunk-RID7A5V7.mjs → chunk-RRNQL6MJ.mjs} +23 -6
- package/dist/{chunk-VJ6YM2EW.mjs → chunk-S4BKVFQ7.mjs} +1 -1
- package/dist/{chunk-LPZBXTJ6.mjs → chunk-SAC4PAG3.mjs} +4 -4
- package/dist/{chunk-W5RZPTFD.mjs → chunk-SNNT64HK.mjs} +13 -2
- package/dist/{chunk-N3C6YI7I.mjs → chunk-SWMYIORV.mjs} +22 -7
- package/dist/{chunk-2XCXK3NQ.mjs → chunk-SX3NAN4M.mjs} +1 -1
- package/dist/chunk-TBOXTAIA.mjs +94 -0
- package/dist/{chunk-JL3CN4UK.mjs → chunk-TDBMAKTJ.mjs} +10 -3
- package/dist/{chunk-EDBMWZKH.mjs → chunk-TPESRDUG.mjs} +5 -1
- package/dist/chunk-UEGNXN5B.mjs +28 -0
- package/dist/{chunk-NEEGXKJW.mjs → chunk-UGHLEKEZ.mjs} +22 -3
- package/dist/{chunk-HKYRRQS7.mjs → chunk-UNQO7EVG.mjs} +1 -1
- package/dist/chunk-UR5F74ZB.mjs +601 -0
- package/dist/{chunk-VCCK4CDT.mjs → chunk-URPXBKK4.mjs} +23 -5
- package/dist/chunk-UUWPSRNV.mjs +337 -0
- package/dist/chunk-UXJRH72H.mjs +834 -0
- package/dist/chunk-VFS5XAZ3.mjs +602 -0
- package/dist/{chunk-7KCOF5US.mjs → chunk-VY6FVIOZ.mjs} +10 -8
- package/dist/{chunk-KICZSLOX.mjs → chunk-W2ICYZVU.mjs} +1 -1
- package/dist/{chunk-FIVVKBBF.mjs → chunk-W3QOMJKQ.mjs} +8 -6
- package/dist/{chunk-DCMRB3HR.mjs → chunk-WV25G4M3.mjs} +4 -3
- package/dist/{chunk-3KITFMBJ.mjs → chunk-X5LJT76O.mjs} +52 -35
- package/dist/{chunk-BNYA5IUB.mjs → chunk-YNXP34KO.mjs} +39 -38
- package/dist/{chunk-2T2NEZRZ.mjs → chunk-YVDTXHQ6.mjs} +1 -1
- package/dist/{chunk-AUMTHL6N.mjs → chunk-ZOP7PEKY.mjs} +2 -1
- package/dist/components/ActivityFeed.d.mts +29 -11
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/Affix.d.mts +4 -4
- package/dist/components/Affix.mjs +1 -1
- package/dist/components/Alert.d.mts +4 -4
- package/dist/components/Anchor.d.mts +2 -2
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AreaChart.d.mts +3 -3
- package/dist/components/AreaChart.mjs +5 -4
- package/dist/components/AspectRatio.d.mts +44 -0
- package/dist/components/AspectRatio.mjs +8 -0
- package/dist/components/AutoComplete.d.mts +3 -3
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/Avatar.d.mts +2 -2
- package/dist/components/AvatarGroup.d.mts +2 -2
- package/dist/components/BackTop.d.mts +2 -2
- package/dist/components/Badge.d.mts +5 -5
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.mjs +5 -4
- package/dist/components/Breadcrumb.d.mts +2 -2
- package/dist/components/Button.d.mts +5 -5
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/Calendar.d.mts +2 -2
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Card.d.mts +3 -3
- package/dist/components/Carousel.d.mts +3 -3
- package/dist/components/Cascader.d.mts +37 -3
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartCanvas.d.mts +8 -4
- package/dist/components/ChartCanvas.mjs +1 -1
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartLegend.d.mts +2 -2
- package/dist/components/ChartTooltip.d.mts +1 -1
- package/dist/components/ChatWindow.d.mts +29 -11
- package/dist/components/ChatWindow.mjs +4 -4
- package/dist/components/Checkbox.d.mts +1 -1
- package/dist/components/Code.d.mts +33 -6
- package/dist/components/Code.mjs +3 -1
- package/dist/components/CodeEditor.d.mts +1 -1
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/CollapsePanel.mjs +1 -1
- package/dist/components/ColorPicker.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +8 -2
- package/dist/components/ColorSwatch.mjs +1 -1
- package/dist/components/CommentThread.d.mts +63 -27
- package/dist/components/CommentThread.mjs +2 -2
- package/dist/components/Container.d.mts +1 -1
- package/dist/components/ContextMenu.d.mts +234 -0
- package/dist/components/ContextMenu.mjs +17 -0
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/CronEditor.d.mts +3 -3
- package/dist/components/CropUpload.d.mts +1 -1
- package/dist/components/DataExport.d.mts +1 -1
- package/dist/components/DataExport.mjs +2 -2
- package/dist/components/DataTableWithToolbar.d.mts +11 -11
- package/dist/components/DataTableWithToolbar.mjs +8 -8
- package/dist/components/DatePicker.d.mts +5 -5
- package/dist/components/Descriptions.d.mts +3 -3
- package/dist/components/DonutChart.d.mts +3 -3
- package/dist/components/DonutChart.mjs +5 -5
- package/dist/components/Drawer.d.mts +6 -6
- package/dist/components/Dropdown.d.mts +21 -2
- package/dist/components/Dropdown.mjs +1 -1
- package/dist/components/Empty.d.mts +1 -1
- package/dist/components/FileManager.d.mts +10 -4
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.d.mts +37 -7
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.d.mts +2 -2
- package/dist/components/FormWizard.d.mts +4 -4
- package/dist/components/FormWizard.mjs +1 -1
- package/dist/components/FunnelChart.d.mts +4 -4
- package/dist/components/FunnelChart.mjs +4 -4
- package/dist/components/Gantt.d.mts +6 -4
- package/dist/components/Gantt.mjs +2 -2
- package/dist/components/GaugeChart.d.mts +4 -4
- package/dist/components/GaugeChart.mjs +2 -2
- package/dist/components/Header.d.mts +1 -1
- package/dist/components/HeatmapChart.d.mts +3 -3
- package/dist/components/HeatmapChart.mjs +3 -3
- package/dist/components/Highlight.d.mts +146 -0
- package/dist/components/Highlight.mjs +8 -0
- package/dist/components/Icon.d.mts +2 -2
- package/dist/components/Image.d.mts +2 -2
- package/dist/components/Image.mjs +3 -3
- package/dist/components/ImageAnnotation.d.mts +4 -4
- package/dist/components/ImageCompare.d.mts +284 -0
- package/dist/components/ImageCompare.mjs +8 -0
- package/dist/components/ImageCropper.d.mts +1 -1
- package/dist/components/ImageGroup.mjs +2 -2
- package/dist/components/ImagePreview.d.mts +1 -1
- package/dist/components/ImagePreview.mjs +1 -1
- package/dist/components/ImageViewer.d.mts +1 -1
- package/dist/components/InfiniteScroll.d.mts +4 -4
- package/dist/components/Input.d.mts +7 -7
- package/dist/components/Input.mjs +1 -1
- package/dist/components/InputGroup.d.mts +2 -2
- package/dist/components/InputNumber.d.mts +3 -3
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/InputOTP.d.mts +261 -0
- package/dist/components/InputOTP.mjs +11 -0
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/Kbd.d.mts +118 -0
- package/dist/components/Kbd.mjs +8 -0
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.mjs +5 -4
- package/dist/components/Link.d.mts +1 -1
- package/dist/components/List.d.mts +7 -7
- package/dist/components/List.mjs +2 -2
- package/dist/components/Loading.d.mts +7 -7
- package/dist/components/Loading.mjs +1 -1
- package/dist/components/LoadingBar.d.mts +8 -0
- package/dist/components/LoadingBar.mjs +114 -0
- package/dist/components/LoadingBarContainer.d.mts +78 -0
- package/dist/components/LoadingBarContainer.mjs +8 -0
- package/dist/components/LoadingBarRoot.d.mts +6 -0
- package/dist/components/LoadingBarRoot.mjs +6 -0
- package/dist/components/MarkdownEditor.d.mts +4 -4
- package/dist/components/Marquee.d.mts +158 -0
- package/dist/components/Marquee.mjs +8 -0
- package/dist/components/MaskInput.d.mts +207 -0
- package/dist/components/MaskInput.mjs +11 -0
- package/dist/components/Masonry.d.mts +66 -0
- package/dist/components/Masonry.mjs +8 -0
- package/dist/components/Mentions.d.mts +1 -1
- package/dist/components/Menu.d.mts +4 -4
- package/dist/components/Modal.d.mts +7 -7
- package/dist/components/NavigationMenu.d.mts +411 -0
- package/dist/components/NavigationMenu.mjs +25 -0
- package/dist/components/NotificationCenter.d.mts +48 -30
- package/dist/components/NotificationCenter.mjs +4 -4
- package/dist/components/NumberKeyboard.d.mts +4 -4
- package/dist/components/OrgChart.d.mts +4 -4
- package/dist/components/OrgChart.mjs +2 -2
- package/dist/components/PageHeader.d.mts +140 -0
- package/dist/components/PageHeader.mjs +11 -0
- package/dist/components/Pagination.d.mts +5 -5
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/PieChart.d.mts +3 -3
- package/dist/components/PieChart.mjs +4 -4
- package/dist/components/Popconfirm.d.mts +4 -4
- package/dist/components/Popconfirm.mjs +2 -2
- package/dist/components/Popover.d.mts +5 -5
- package/dist/components/Popover.mjs +2 -2
- package/dist/components/Progress.d.mts +7 -7
- package/dist/components/QRCode.d.mts +4 -13
- package/dist/components/QRCode.mjs +1 -1
- package/dist/components/RadarChart.d.mts +3 -3
- package/dist/components/RadarChart.mjs +4 -4
- package/dist/components/Radio.d.mts +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/Rate.d.mts +1 -1
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/RichTextEditor.d.mts +4 -4
- package/dist/components/Row.d.mts +1 -1
- package/dist/components/ScatterChart.d.mts +3 -3
- package/dist/components/ScatterChart.mjs +5 -4
- package/dist/components/ScrollArea.d.mts +136 -0
- package/dist/components/ScrollArea.mjs +8 -0
- package/dist/components/ScrollSpy.d.mts +2 -2
- package/dist/components/ScrollSpy.mjs +1 -1
- package/dist/components/Segmented.d.mts +2 -2
- package/dist/components/Select.d.mts +3 -3
- package/dist/components/Signature.d.mts +6 -6
- package/dist/components/Signature.mjs +1 -1
- package/dist/components/Skeleton.d.mts +2 -2
- package/dist/components/Slider.d.mts +19 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Space.d.mts +2 -2
- package/dist/components/SplitButton.d.mts +286 -0
- package/dist/components/SplitButton.mjs +12 -0
- package/dist/components/Splitter.d.mts +4 -4
- package/dist/components/Splitter.mjs +1 -1
- package/dist/components/Spotlight.d.mts +6 -6
- package/dist/components/Statistic.d.mts +1 -1
- package/dist/components/Stepper.d.mts +7 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Steps.d.mts +1 -1
- package/dist/components/SunburstChart.d.mts +2 -2
- package/dist/components/SunburstChart.mjs +4 -4
- package/dist/components/Switch.d.mts +22 -6
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Table.d.mts +9 -9
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +5 -5
- package/dist/components/Tag.d.mts +3 -3
- package/dist/components/TagsInput.d.mts +214 -0
- package/dist/components/TagsInput.mjs +12 -0
- package/dist/components/TaskBoard.d.mts +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Text.d.mts +3 -3
- package/dist/components/Textarea.d.mts +4 -4
- package/dist/components/Textarea.mjs +1 -1
- package/dist/components/TimePicker.d.mts +6 -6
- package/dist/components/Timeline.d.mts +2 -2
- package/dist/components/Tooltip.d.mts +2 -2
- package/dist/components/Tooltip.mjs +2 -2
- package/dist/components/Tour.d.mts +4 -4
- package/dist/components/Tour.mjs +1 -1
- package/dist/components/Transfer.d.mts +5 -4
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.d.mts +6 -6
- package/dist/components/TreeMapChart.d.mts +3 -3
- package/dist/components/TreeMapChart.mjs +4 -4
- package/dist/components/TreeSelect.d.mts +54 -3
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +5 -5
- package/dist/components/Watermark.d.mts +6 -6
- package/dist/composables/useChartInteraction.d.mts +5 -0
- package/dist/composables/useChartInteraction.mjs +1 -1
- package/dist/index.d.mts +17 -1
- package/dist/index.mjs +406 -0
- package/package.json +117 -2
- package/dist/chunk-OTGGPXDT.mjs +0 -433
- package/dist/chunk-WC5MKASU.mjs +0 -393
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { ScrollAreaDirection, ScrollAreaScrollbarVisibility, ScrollAreaScrollbarSize } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueScrollAreaProps {
|
|
6
|
+
direction?: ScrollAreaDirection;
|
|
7
|
+
scrollbar?: ScrollAreaScrollbarVisibility;
|
|
8
|
+
scrollbarSize?: ScrollAreaScrollbarSize;
|
|
9
|
+
shadow?: boolean;
|
|
10
|
+
minThumbSize?: number;
|
|
11
|
+
height?: number | string;
|
|
12
|
+
maxHeight?: number | string;
|
|
13
|
+
width?: number | string;
|
|
14
|
+
maxWidth?: number | string;
|
|
15
|
+
ariaLabel?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
viewportClassName?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const ScrollArea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
20
|
+
direction: {
|
|
21
|
+
type: PropType<ScrollAreaDirection>;
|
|
22
|
+
default: ScrollAreaDirection;
|
|
23
|
+
};
|
|
24
|
+
scrollbar: {
|
|
25
|
+
type: PropType<ScrollAreaScrollbarVisibility>;
|
|
26
|
+
default: ScrollAreaScrollbarVisibility;
|
|
27
|
+
};
|
|
28
|
+
scrollbarSize: {
|
|
29
|
+
type: PropType<ScrollAreaScrollbarSize>;
|
|
30
|
+
default: ScrollAreaScrollbarSize;
|
|
31
|
+
};
|
|
32
|
+
shadow: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
minThumbSize: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
height: {
|
|
41
|
+
type: PropType<number | string>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
maxHeight: {
|
|
45
|
+
type: PropType<number | string>;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
width: {
|
|
49
|
+
type: PropType<number | string>;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
maxWidth: {
|
|
53
|
+
type: PropType<number | string>;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
ariaLabel: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
className: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
viewportClassName: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "scroll"[], "scroll", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
71
|
+
direction: {
|
|
72
|
+
type: PropType<ScrollAreaDirection>;
|
|
73
|
+
default: ScrollAreaDirection;
|
|
74
|
+
};
|
|
75
|
+
scrollbar: {
|
|
76
|
+
type: PropType<ScrollAreaScrollbarVisibility>;
|
|
77
|
+
default: ScrollAreaScrollbarVisibility;
|
|
78
|
+
};
|
|
79
|
+
scrollbarSize: {
|
|
80
|
+
type: PropType<ScrollAreaScrollbarSize>;
|
|
81
|
+
default: ScrollAreaScrollbarSize;
|
|
82
|
+
};
|
|
83
|
+
shadow: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
minThumbSize: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
height: {
|
|
92
|
+
type: PropType<number | string>;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
maxHeight: {
|
|
96
|
+
type: PropType<number | string>;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
width: {
|
|
100
|
+
type: PropType<number | string>;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
maxWidth: {
|
|
104
|
+
type: PropType<number | string>;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
ariaLabel: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
className: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
viewportClassName: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
}>> & Readonly<{
|
|
120
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
121
|
+
}>, {
|
|
122
|
+
className: string;
|
|
123
|
+
direction: ScrollAreaDirection;
|
|
124
|
+
shadow: boolean;
|
|
125
|
+
ariaLabel: string;
|
|
126
|
+
width: string | number;
|
|
127
|
+
height: string | number;
|
|
128
|
+
scrollbar: ScrollAreaScrollbarVisibility;
|
|
129
|
+
maxWidth: string | number;
|
|
130
|
+
maxHeight: string | number;
|
|
131
|
+
scrollbarSize: ScrollAreaScrollbarSize;
|
|
132
|
+
minThumbSize: number;
|
|
133
|
+
viewportClassName: string;
|
|
134
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
135
|
+
|
|
136
|
+
export { ScrollArea, type VueScrollAreaProps, ScrollArea as default };
|
|
@@ -107,15 +107,15 @@ declare const ScrollSpy: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
107
107
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
"onUpdate:activeKey"?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
}>, {
|
|
110
|
-
|
|
110
|
+
items: ScrollSpyItem[];
|
|
111
111
|
className: string;
|
|
112
112
|
style: Record<string, string | number>;
|
|
113
113
|
direction: ScrollSpyDirection;
|
|
114
114
|
ariaLabel: string;
|
|
115
115
|
sticky: boolean;
|
|
116
|
-
items: ScrollSpyItem[];
|
|
117
116
|
activeKey: ScrollSpyKey;
|
|
118
117
|
defaultActiveKey: ScrollSpyKey;
|
|
118
|
+
offsetTop: number;
|
|
119
119
|
targetOffset: number;
|
|
120
120
|
bounds: number;
|
|
121
121
|
getContainer: () => HTMLElement | Window;
|
|
@@ -59,10 +59,10 @@ declare const Segmented: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
59
59
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
|
-
className: string;
|
|
63
|
-
block: boolean;
|
|
64
62
|
size: ComponentSize;
|
|
63
|
+
className: string;
|
|
65
64
|
disabled: boolean;
|
|
65
|
+
block: boolean;
|
|
66
66
|
modelValue: string | number;
|
|
67
67
|
options: SegmentedOption[];
|
|
68
68
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -285,12 +285,12 @@ declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
285
285
|
"onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
|
|
286
286
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
287
287
|
}>, {
|
|
288
|
-
|
|
288
|
+
size: ComponentSize;
|
|
289
289
|
emptyText: string;
|
|
290
|
+
locale: Partial<TigerLocale>;
|
|
290
291
|
labels: Partial<TigerLocaleSelect>;
|
|
291
|
-
placeholder: string;
|
|
292
|
-
size: ComponentSize;
|
|
293
292
|
disabled: boolean;
|
|
293
|
+
placeholder: string;
|
|
294
294
|
searchable: boolean;
|
|
295
295
|
multiple: boolean;
|
|
296
296
|
virtual: boolean;
|
|
@@ -70,7 +70,7 @@ declare const Signature: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
70
70
|
};
|
|
71
71
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
72
72
|
[key: string]: any;
|
|
73
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
73
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("clear" | "change" | "end" | "update:modelValue" | "begin")[], "clear" | "change" | "end" | "update:modelValue" | "begin", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
74
74
|
modelValue: {
|
|
75
75
|
type: StringConstructor;
|
|
76
76
|
default: undefined;
|
|
@@ -142,18 +142,18 @@ declare const Signature: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
142
142
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
143
143
|
onBegin?: ((...args: any[]) => any) | undefined;
|
|
144
144
|
}>, {
|
|
145
|
+
locale: Partial<TigerLocale>;
|
|
145
146
|
className: string;
|
|
146
147
|
style: Record<string, unknown>;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
locale: Partial<TigerLocale>;
|
|
148
|
+
backgroundColor: string;
|
|
149
|
+
disabled: boolean;
|
|
150
150
|
clearText: string;
|
|
151
151
|
ariaLabel: string;
|
|
152
|
-
disabled: boolean;
|
|
153
152
|
modelValue: string;
|
|
154
153
|
clearable: boolean;
|
|
154
|
+
width: number;
|
|
155
|
+
height: number;
|
|
155
156
|
penColor: string;
|
|
156
|
-
backgroundColor: string;
|
|
157
157
|
lineWidth: number;
|
|
158
158
|
readonly: boolean;
|
|
159
159
|
exportType: SignatureExportType;
|
|
@@ -84,11 +84,11 @@ declare const Skeleton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
84
84
|
}>> & Readonly<{}>, {
|
|
85
85
|
className: string;
|
|
86
86
|
style: Record<string, string | number>;
|
|
87
|
+
variant: SkeletonVariant;
|
|
88
|
+
shape: SkeletonShape;
|
|
87
89
|
width: string;
|
|
88
90
|
height: string;
|
|
89
|
-
variant: SkeletonVariant;
|
|
90
91
|
rows: number;
|
|
91
|
-
shape: SkeletonShape;
|
|
92
92
|
animation: SkeletonAnimation;
|
|
93
93
|
paragraph: boolean;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -4,6 +4,7 @@ import { ComponentSize } from '@expcat/tigercat-core';
|
|
|
4
4
|
|
|
5
5
|
interface VueSliderProps {
|
|
6
6
|
value?: number | [number, number];
|
|
7
|
+
modelValue?: number | [number, number];
|
|
7
8
|
defaultValue?: number | [number, number];
|
|
8
9
|
min?: number;
|
|
9
10
|
max?: number;
|
|
@@ -23,6 +24,12 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
23
24
|
value: {
|
|
24
25
|
type: PropType<number | [number, number]>;
|
|
25
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Slider value (for default v-model) - controlled mode
|
|
29
|
+
*/
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: PropType<number | [number, number]>;
|
|
32
|
+
};
|
|
26
33
|
/**
|
|
27
34
|
* Default slider value - uncontrolled mode
|
|
28
35
|
*/
|
|
@@ -114,6 +121,10 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
114
121
|
* Emitted when value changes (for v-model:value)
|
|
115
122
|
*/
|
|
116
123
|
'update:value': (value: number | [number, number]) => boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Emitted when value changes (for default v-model)
|
|
126
|
+
*/
|
|
127
|
+
'update:modelValue': (value: number | [number, number]) => boolean;
|
|
117
128
|
/**
|
|
118
129
|
* Emitted when value changes
|
|
119
130
|
*/
|
|
@@ -125,6 +136,12 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
125
136
|
value: {
|
|
126
137
|
type: PropType<number | [number, number]>;
|
|
127
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Slider value (for default v-model) - controlled mode
|
|
141
|
+
*/
|
|
142
|
+
modelValue: {
|
|
143
|
+
type: PropType<number | [number, number]>;
|
|
144
|
+
};
|
|
128
145
|
/**
|
|
129
146
|
* Default slider value - uncontrolled mode
|
|
130
147
|
*/
|
|
@@ -212,10 +229,11 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
212
229
|
}>> & Readonly<{
|
|
213
230
|
onChange?: ((value: number | [number, number]) => any) | undefined;
|
|
214
231
|
"onUpdate:value"?: ((value: number | [number, number]) => any) | undefined;
|
|
232
|
+
"onUpdate:modelValue"?: ((value: number | [number, number]) => any) | undefined;
|
|
215
233
|
}>, {
|
|
234
|
+
size: ComponentSize;
|
|
216
235
|
className: string;
|
|
217
236
|
style: Record<string, string | number>;
|
|
218
|
-
size: ComponentSize;
|
|
219
237
|
disabled: boolean;
|
|
220
238
|
min: number;
|
|
221
239
|
max: number;
|
|
@@ -40,10 +40,10 @@ declare const Space: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{}>, {
|
|
43
|
-
direction: "vertical" | "horizontal" | undefined;
|
|
44
43
|
size: SpaceSize;
|
|
44
|
+
direction: "horizontal" | "vertical" | undefined;
|
|
45
|
+
align: "center" | "start" | "end" | "stretch" | "baseline" | undefined;
|
|
45
46
|
wrap: boolean;
|
|
46
|
-
align: "start" | "end" | "center" | "stretch" | "baseline" | undefined;
|
|
47
47
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
48
48
|
|
|
49
49
|
export { Space, type VueSpaceProps, Space as default };
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType, VNode } from 'vue';
|
|
3
|
+
import { ButtonVariant, ButtonSize, ButtonHtmlType, ButtonIconPosition, FloatingPlacement } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueSplitButtonProps {
|
|
6
|
+
variant?: ButtonVariant;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
danger?: boolean;
|
|
11
|
+
block?: boolean;
|
|
12
|
+
htmlType?: ButtonHtmlType;
|
|
13
|
+
iconPosition?: ButtonIconPosition;
|
|
14
|
+
open?: boolean;
|
|
15
|
+
defaultOpen?: boolean;
|
|
16
|
+
closeOnClick?: boolean;
|
|
17
|
+
portal?: boolean;
|
|
18
|
+
triggerAriaLabel?: string;
|
|
19
|
+
placement?: FloatingPlacement;
|
|
20
|
+
offset?: number;
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
declare const SplitButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
25
|
+
/**
|
|
26
|
+
* Visual variant applied to the primary action and the menu trigger
|
|
27
|
+
* @default 'primary'
|
|
28
|
+
*/
|
|
29
|
+
variant: {
|
|
30
|
+
type: PropType<ButtonVariant>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Size applied to the primary action and the menu trigger
|
|
35
|
+
* @default 'md'
|
|
36
|
+
*/
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<ButtonSize>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Whether both the primary action and the menu trigger are disabled
|
|
43
|
+
*/
|
|
44
|
+
disabled: BooleanConstructor;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the primary action is in a loading state. Also disables the menu trigger.
|
|
47
|
+
*/
|
|
48
|
+
loading: BooleanConstructor;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to apply danger/destructive styling to both buttons
|
|
51
|
+
*/
|
|
52
|
+
danger: BooleanConstructor;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the split control should take the full width of its parent
|
|
55
|
+
*/
|
|
56
|
+
block: BooleanConstructor;
|
|
57
|
+
/**
|
|
58
|
+
* HTML button type for the primary action
|
|
59
|
+
* @default 'button'
|
|
60
|
+
*/
|
|
61
|
+
htmlType: {
|
|
62
|
+
type: PropType<ButtonHtmlType>;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Position of the icon relative to the primary action text
|
|
67
|
+
* @default 'left'
|
|
68
|
+
*/
|
|
69
|
+
iconPosition: {
|
|
70
|
+
type: PropType<ButtonIconPosition>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Whether the menu is open (controlled mode)
|
|
75
|
+
*/
|
|
76
|
+
open: {
|
|
77
|
+
type: PropType<boolean | undefined>;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Default open state (uncontrolled mode)
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
defaultOpen: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Whether to close the menu when a menu item is clicked
|
|
90
|
+
* @default true
|
|
91
|
+
*/
|
|
92
|
+
closeOnClick: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Render the menu into document.body (Teleport)
|
|
98
|
+
* @default true
|
|
99
|
+
*/
|
|
100
|
+
portal: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Accessible name for the chevron menu trigger
|
|
106
|
+
* @default 'More options'
|
|
107
|
+
*/
|
|
108
|
+
triggerAriaLabel: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Dropdown placement relative to the chevron trigger
|
|
114
|
+
* @default 'bottom-end'
|
|
115
|
+
*/
|
|
116
|
+
placement: {
|
|
117
|
+
type: PropType<FloatingPlacement>;
|
|
118
|
+
default: FloatingPlacement;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Offset distance from the chevron trigger
|
|
122
|
+
* @default 4
|
|
123
|
+
*/
|
|
124
|
+
offset: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Additional CSS classes
|
|
130
|
+
*/
|
|
131
|
+
className: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Inline styles
|
|
137
|
+
*/
|
|
138
|
+
style: {
|
|
139
|
+
type: PropType<Record<string, unknown>>;
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("click" | "update:open" | "open-change")[], "click" | "update:open" | "open-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
145
|
+
/**
|
|
146
|
+
* Visual variant applied to the primary action and the menu trigger
|
|
147
|
+
* @default 'primary'
|
|
148
|
+
*/
|
|
149
|
+
variant: {
|
|
150
|
+
type: PropType<ButtonVariant>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Size applied to the primary action and the menu trigger
|
|
155
|
+
* @default 'md'
|
|
156
|
+
*/
|
|
157
|
+
size: {
|
|
158
|
+
type: PropType<ButtonSize>;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Whether both the primary action and the menu trigger are disabled
|
|
163
|
+
*/
|
|
164
|
+
disabled: BooleanConstructor;
|
|
165
|
+
/**
|
|
166
|
+
* Whether the primary action is in a loading state. Also disables the menu trigger.
|
|
167
|
+
*/
|
|
168
|
+
loading: BooleanConstructor;
|
|
169
|
+
/**
|
|
170
|
+
* Whether to apply danger/destructive styling to both buttons
|
|
171
|
+
*/
|
|
172
|
+
danger: BooleanConstructor;
|
|
173
|
+
/**
|
|
174
|
+
* Whether the split control should take the full width of its parent
|
|
175
|
+
*/
|
|
176
|
+
block: BooleanConstructor;
|
|
177
|
+
/**
|
|
178
|
+
* HTML button type for the primary action
|
|
179
|
+
* @default 'button'
|
|
180
|
+
*/
|
|
181
|
+
htmlType: {
|
|
182
|
+
type: PropType<ButtonHtmlType>;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Position of the icon relative to the primary action text
|
|
187
|
+
* @default 'left'
|
|
188
|
+
*/
|
|
189
|
+
iconPosition: {
|
|
190
|
+
type: PropType<ButtonIconPosition>;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Whether the menu is open (controlled mode)
|
|
195
|
+
*/
|
|
196
|
+
open: {
|
|
197
|
+
type: PropType<boolean | undefined>;
|
|
198
|
+
default: undefined;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Default open state (uncontrolled mode)
|
|
202
|
+
* @default false
|
|
203
|
+
*/
|
|
204
|
+
defaultOpen: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Whether to close the menu when a menu item is clicked
|
|
210
|
+
* @default true
|
|
211
|
+
*/
|
|
212
|
+
closeOnClick: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Render the menu into document.body (Teleport)
|
|
218
|
+
* @default true
|
|
219
|
+
*/
|
|
220
|
+
portal: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Accessible name for the chevron menu trigger
|
|
226
|
+
* @default 'More options'
|
|
227
|
+
*/
|
|
228
|
+
triggerAriaLabel: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
default: undefined;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Dropdown placement relative to the chevron trigger
|
|
234
|
+
* @default 'bottom-end'
|
|
235
|
+
*/
|
|
236
|
+
placement: {
|
|
237
|
+
type: PropType<FloatingPlacement>;
|
|
238
|
+
default: FloatingPlacement;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Offset distance from the chevron trigger
|
|
242
|
+
* @default 4
|
|
243
|
+
*/
|
|
244
|
+
offset: {
|
|
245
|
+
type: NumberConstructor;
|
|
246
|
+
default: number;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Additional CSS classes
|
|
250
|
+
*/
|
|
251
|
+
className: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default: undefined;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Inline styles
|
|
257
|
+
*/
|
|
258
|
+
style: {
|
|
259
|
+
type: PropType<Record<string, unknown>>;
|
|
260
|
+
default: undefined;
|
|
261
|
+
};
|
|
262
|
+
}>> & Readonly<{
|
|
263
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
265
|
+
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
266
|
+
}>, {
|
|
267
|
+
size: ButtonSize;
|
|
268
|
+
loading: boolean;
|
|
269
|
+
className: string;
|
|
270
|
+
style: Record<string, unknown>;
|
|
271
|
+
variant: ButtonVariant;
|
|
272
|
+
danger: boolean;
|
|
273
|
+
disabled: boolean;
|
|
274
|
+
triggerAriaLabel: string;
|
|
275
|
+
block: boolean;
|
|
276
|
+
iconPosition: ButtonIconPosition;
|
|
277
|
+
htmlType: ButtonHtmlType;
|
|
278
|
+
placement: FloatingPlacement;
|
|
279
|
+
offset: number;
|
|
280
|
+
closeOnClick: boolean;
|
|
281
|
+
open: boolean | undefined;
|
|
282
|
+
defaultOpen: boolean;
|
|
283
|
+
portal: boolean;
|
|
284
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
285
|
+
|
|
286
|
+
export { SplitButton, type VueSplitButtonProps, SplitButton as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SplitButton,
|
|
3
|
+
SplitButton_default
|
|
4
|
+
} from "../chunk-PWWWACHC.mjs";
|
|
5
|
+
import "../chunk-PJQTRDIG.mjs";
|
|
6
|
+
import "../chunk-YZBQ6IR7.mjs";
|
|
7
|
+
import "../chunk-Z2ZECCGD.mjs";
|
|
8
|
+
import "../chunk-Q7Y22OFX.mjs";
|
|
9
|
+
export {
|
|
10
|
+
SplitButton,
|
|
11
|
+
SplitButton_default as default
|
|
12
|
+
};
|
|
@@ -4,7 +4,7 @@ import { SplitDirection } from '@expcat/tigercat-core';
|
|
|
4
4
|
|
|
5
5
|
interface VueSplitterProps {
|
|
6
6
|
direction?: SplitDirection;
|
|
7
|
-
sizes?: number[];
|
|
7
|
+
sizes?: (number | string)[];
|
|
8
8
|
min?: number;
|
|
9
9
|
max?: number;
|
|
10
10
|
gutterSize?: number;
|
|
@@ -18,7 +18,7 @@ declare const Splitter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
18
18
|
default: SplitDirection;
|
|
19
19
|
};
|
|
20
20
|
sizes: {
|
|
21
|
-
type: PropType<number[]>;
|
|
21
|
+
type: PropType<(number | string)[]>;
|
|
22
22
|
default: undefined;
|
|
23
23
|
};
|
|
24
24
|
min: {
|
|
@@ -53,7 +53,7 @@ declare const Splitter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
53
53
|
default: SplitDirection;
|
|
54
54
|
};
|
|
55
55
|
sizes: {
|
|
56
|
-
type: PropType<number[]>;
|
|
56
|
+
type: PropType<(number | string)[]>;
|
|
57
57
|
default: undefined;
|
|
58
58
|
};
|
|
59
59
|
min: {
|
|
@@ -92,7 +92,7 @@ declare const Splitter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
92
92
|
disabled: boolean;
|
|
93
93
|
min: number;
|
|
94
94
|
max: number;
|
|
95
|
-
sizes: number[];
|
|
95
|
+
sizes: (string | number)[];
|
|
96
96
|
gutterSize: number;
|
|
97
97
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
98
98
|
|