vue-devui 1.5.7 → 1.5.9
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/alert/index.es.js +13 -3
- package/alert/index.umd.js +11 -1
- package/auto-complete/index.es.js +7 -1
- package/auto-complete/index.umd.js +7 -7
- package/auto-complete/style.css +1 -1
- package/avatar/index.es.js +10 -2
- package/avatar/index.umd.js +9 -1
- package/checkbox/index.es.js +7 -1
- package/checkbox/index.umd.js +13 -13
- package/checkbox/style.css +1 -1
- package/code-editor/index.es.js +13 -12
- package/code-editor/index.umd.js +5 -5
- package/code-review/index.es.js +589 -21
- package/code-review/index.umd.js +76 -19
- package/code-review/style.css +1 -1
- package/date-picker-pro/index.es.js +7 -1
- package/date-picker-pro/index.umd.js +8 -8
- package/date-picker-pro/style.css +1 -1
- package/dragdrop/index.es.js +158 -0
- package/dragdrop/index.umd.js +1 -0
- package/dragdrop/package.json +8 -0
- package/editor-md/style.css +1 -1
- package/form/index.es.js +7 -1
- package/form/index.umd.js +7 -7
- package/form/style.css +1 -1
- package/git-graph/index.es.js +6061 -0
- package/git-graph/index.umd.js +32 -0
- package/git-graph/package.json +8 -0
- package/global.d.ts +2 -0
- package/input/index.es.js +7 -1
- package/input/index.umd.js +6 -6
- package/input/style.css +1 -1
- package/input-number/index.es.js +7 -1
- package/input-number/index.umd.js +10 -10
- package/input-number/style.css +1 -1
- package/mention/index.es.js +7 -1
- package/mention/index.umd.js +9 -9
- package/mention/style.css +1 -1
- package/modal/index.es.js +2 -1
- package/modal/index.umd.js +1 -1
- package/nuxt/components/GitGraph.js +2 -0
- package/nuxt/components/gitGraphProps.js +2 -0
- package/package.json +2 -1
- package/pagination/index.es.js +14 -2
- package/pagination/index.umd.js +13 -7
- package/pagination/style.css +1 -1
- package/radio/index.es.js +7 -1
- package/radio/index.umd.js +13 -13
- package/radio/style.css +1 -1
- package/search/index.es.js +7 -1
- package/search/index.umd.js +8 -8
- package/search/style.css +1 -1
- package/select/index.es.js +14 -2
- package/select/index.umd.js +11 -5
- package/select/style.css +1 -1
- package/splitter/index.es.js +14 -3
- package/splitter/index.umd.js +12 -12
- package/style.css +1 -1
- package/switch/index.es.js +7 -1
- package/switch/index.umd.js +14 -14
- package/switch/style.css +1 -1
- package/table/index.es.js +7 -1
- package/table/index.umd.js +5 -5
- package/table/style.css +1 -1
- package/textarea/index.es.js +7 -1
- package/textarea/index.umd.js +12 -12
- package/textarea/style.css +1 -1
- package/time-picker/index.es.js +7 -1
- package/time-picker/index.umd.js +7 -7
- package/time-picker/style.css +1 -1
- package/time-select/index.es.js +14 -2
- package/time-select/index.umd.js +11 -5
- package/time-select/style.css +1 -1
- package/tree/index.es.js +7 -1
- package/tree/index.umd.js +7 -7
- package/tree/style.css +1 -1
- package/types/avatar/src/components/icon-body.d.ts +1 -1
- package/types/code-editor/src/code-editor-types.d.ts +1 -1
- package/types/code-editor/src/code-editor.d.ts +1 -1
- package/types/code-editor/src/composables/use-code-editor.d.ts +2 -2
- package/types/code-review/src/code-review-types.d.ts +20 -0
- package/types/code-review/src/code-review.d.ts +16 -1
- package/types/code-review/src/components/code-review-icons.d.ts +4 -0
- package/types/code-review/src/composables/use-code-review-comment.d.ts +13 -0
- package/types/code-review/src/composables/use-code-review-expand.d.ts +6 -0
- package/types/code-review/src/composables/use-code-review-fold.d.ts +6 -0
- package/types/code-review/src/composables/use-code-review.d.ts +6 -3
- package/types/code-review/src/const.d.ts +2 -0
- package/types/code-review/src/utils.d.ts +15 -0
- package/types/dragdrop/src/const.d.ts +0 -1
- package/types/dragdrop/src/draggable-directive.d.ts +1 -18
- package/types/dragdrop/src/droppable-directive.d.ts +1 -14
- package/types/dragdrop/src/sortable-directive.d.ts +1 -15
- package/types/dragdrop/src/utils.d.ts +2 -80
- package/types/form/src/form-types.d.ts +4 -0
- package/types/form/src/form.d.ts +9 -0
- package/types/git-graph/index.d.ts +11 -0
- package/types/git-graph/src/git-graph-class.d.ts +43 -0
- package/types/git-graph/src/git-graph-types.d.ts +84 -0
- package/types/git-graph/src/git-graph.d.ts +10 -0
- package/types/git-graph/src/use-git-graph.d.ts +6 -0
- package/types/modal/src/modal-types.d.ts +1 -1
- package/types/modal/src/modal.d.ts +2 -1
- package/types/vue-devui.d.ts +2 -1
- package/vue-devui.es.js +1411 -225
- package/vue-devui.umd.js +140 -60
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Ref, SetupContext } from "vue";
|
|
2
|
+
import { GitGraphData, GitGraphProps } from "./git-graph-types";
|
|
3
|
+
export default function useGitGraph(props: GitGraphProps, ctx: SetupContext, isDark: Ref<boolean>): {
|
|
4
|
+
initTheme: () => void;
|
|
5
|
+
initGraph: (element: HTMLElement, options: GitGraphData, isDarkMode: boolean) => void;
|
|
6
|
+
};
|
|
@@ -53,7 +53,7 @@ export declare const modalProps: {
|
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
export declare type EmitName = 'update:modelValue';
|
|
56
|
+
export declare type EmitName = 'update:modelValue' | 'close';
|
|
57
57
|
export declare type EmitEventFn = (event: EmitName, result?: boolean) => void;
|
|
58
58
|
export interface UseModal {
|
|
59
59
|
execClose: () => void;
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
56
|
modelValue: {
|
|
57
57
|
type: BooleanConstructor;
|
|
58
58
|
default: boolean;
|
|
@@ -105,6 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
105
|
default: boolean;
|
|
106
106
|
};
|
|
107
107
|
}>> & {
|
|
108
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
108
109
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
109
110
|
}, {
|
|
110
111
|
type: ModalType;
|
package/types/vue-devui.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { EditorMd, MdRender } from './editor-md';
|
|
|
30
30
|
import { Form, FormItem, FormOperation } from './form';
|
|
31
31
|
import { Fullscreen } from './fullscreen';
|
|
32
32
|
import { Gantt } from './gantt';
|
|
33
|
+
import { GitGraph } from './git-graph';
|
|
33
34
|
import { Row, Col } from './grid';
|
|
34
35
|
import { Icon, IconGroup } from './icon';
|
|
35
36
|
import { ImagePreviewDirective, ImagePreviewService } from './image-preview';
|
|
@@ -83,7 +84,7 @@ import { TreeSelect } from './tree-select';
|
|
|
83
84
|
import { Upload, fileDropDirective } from './upload';
|
|
84
85
|
import { VirtualList } from './virtual-list';
|
|
85
86
|
import './style/devui.scss';
|
|
86
|
-
export { Accordion, ActionTimeline, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Card, Carousel, CarouselItem, Cascader, Checkbox, CheckboxGroup, CheckboxButton, CodeEditor, CodeReview, Collapse, CollapseItem, ColorPicker, Comment, Countdown, DatePicker, StickSlider, DatePickerPro, DRangeDatePickerPro, DraggableDirective, DroppableDirective, SortableDirective, Drawer, DrawerService, Dropdown, DropdownMenu, DChart, EditableSelect, EditorMd, MdRender, Form, FormItem, FormOperation, Fullscreen, Gantt, Row, Col, Icon, IconGroup, ImagePreviewDirective, ImagePreviewService, Input, InputIcon, InputNumber, Layout, Content, Header, Footer, Aside, List, ListItem, LoadingService, LoadingDirective, Mention, Menu, SubMenu, MenuItem, Message, Modal, ModalHeader, ModalBody, ModalFooter, MultiAutoComplete, NavSprite, Notification, NotificationService, FlexibleOverlay, FixedOverlay, Pagination, Panel, PanelHeader, PanelBody, PanelFooter, Popover, Progress, QuadrantDiagram, Radio, RadioGroup, RadioButton, Rate, ReadTip, Result, RippleDirective, Search, Select, Option, OptionGroup, Skeleton, SkeletonItem, Slider, Splitter, SplitterPane, Statistic, Status, Steps, Step, StepsGuide, StepsGuideDirective, Sticky, Switch, Table, Column, Tabs, Tab, Tag, TagInput, Textarea, TimePicker, TimeSelect, Timeline, TimelineItem, Tooltip, Transfer, Tree, TreeSelect, Upload, fileDropDirective, VirtualList };
|
|
87
|
+
export { Accordion, ActionTimeline, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Card, Carousel, CarouselItem, Cascader, Checkbox, CheckboxGroup, CheckboxButton, CodeEditor, CodeReview, Collapse, CollapseItem, ColorPicker, Comment, Countdown, DatePicker, StickSlider, DatePickerPro, DRangeDatePickerPro, DraggableDirective, DroppableDirective, SortableDirective, Drawer, DrawerService, Dropdown, DropdownMenu, DChart, EditableSelect, EditorMd, MdRender, Form, FormItem, FormOperation, Fullscreen, Gantt, GitGraph, Row, Col, Icon, IconGroup, ImagePreviewDirective, ImagePreviewService, Input, InputIcon, InputNumber, Layout, Content, Header, Footer, Aside, List, ListItem, LoadingService, LoadingDirective, Mention, Menu, SubMenu, MenuItem, Message, Modal, ModalHeader, ModalBody, ModalFooter, MultiAutoComplete, NavSprite, Notification, NotificationService, FlexibleOverlay, FixedOverlay, Pagination, Panel, PanelHeader, PanelBody, PanelFooter, Popover, Progress, QuadrantDiagram, Radio, RadioGroup, RadioButton, Rate, ReadTip, Result, RippleDirective, Search, Select, Option, OptionGroup, Skeleton, SkeletonItem, Slider, Splitter, SplitterPane, Statistic, Status, Steps, Step, StepsGuide, StepsGuideDirective, Sticky, Switch, Table, Column, Tabs, Tab, Tag, TagInput, Textarea, TimePicker, TimeSelect, Timeline, TimelineItem, Tooltip, Transfer, Tree, TreeSelect, Upload, fileDropDirective, VirtualList };
|
|
87
88
|
declare const _default: {
|
|
88
89
|
version: string;
|
|
89
90
|
install(app: App): void;
|