vue-devui 1.3.1 → 1.3.2
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 +19 -10
- package/button/index.es.js +10 -4
- package/button/index.umd.js +5 -5
- package/button/style.css +1 -1
- package/date-picker-pro/index.es.js +15 -5
- package/date-picker-pro/index.umd.js +8 -8
- package/date-picker-pro/style.css +1 -1
- package/mention/index.es.js +2 -2
- package/mention/index.umd.js +1 -1
- package/package.json +1 -1
- package/pagination/index.es.js +6 -1
- package/pagination/index.umd.js +1 -1
- package/pagination/style.css +1 -1
- package/style.css +1 -1
- package/table/index.es.js +10 -4
- package/table/index.umd.js +1 -1
- package/table/style.css +1 -1
- package/tabs/style.css +1 -1
- package/time-picker/index.es.js +10 -4
- package/time-picker/index.umd.js +5 -5
- package/time-picker/style.css +1 -1
- package/tree/index.es.js +5 -1
- package/tree/index.umd.js +12 -12
- package/types/accordion/src/accordion-item-hreflink.d.ts +2 -2
- package/types/accordion/src/accordion-item-routerlink.d.ts +2 -2
- package/types/accordion/src/accordion-item.d.ts +2 -2
- package/types/accordion/src/accordion-list.d.ts +2 -2
- package/types/accordion/src/accordion-menu.d.ts +2 -2
- package/types/accordion/src/accordion.d.ts +2 -2
- package/types/auto-complete/src/auto-complete.d.ts +1 -1
- package/types/checkbox/src/checkbox-button.d.ts +1 -1
- package/types/checkbox/src/checkbox.d.ts +1 -1
- package/types/collapse/src/collapse.d.ts +1 -1
- package/types/date-picker/src/date-picker.d.ts +1 -1
- package/types/nav-sprite/src/nav-sprite.d.ts +1 -1
- package/types/progress/src/progress.d.ts +1 -1
- package/types/steps-guide/src/steps-guide.d.ts +1 -1
- package/types/table/src/components/column/column.d.ts +1 -1
- package/types/tag-input/src/tag-input.d.ts +1 -1
- package/types/tree/src/components/tree-node.d.ts +1 -1
- package/types/tree/src/tree.d.ts +1 -1
- package/types/vue-devui.d.ts +24 -1
- package/vue-devui.es.js +24 -9
- package/vue-devui.umd.js +17 -17
|
@@ -220,15 +220,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
220
|
}>>, {
|
|
221
221
|
data: import("./accordion.type").AccordionMenuType;
|
|
222
222
|
parent: AccordionMenuItem;
|
|
223
|
-
disabledKey: string;
|
|
224
|
-
itemTemplate: boolean;
|
|
225
223
|
linkType: string;
|
|
226
224
|
titleKey: string;
|
|
227
225
|
loadingKey: string;
|
|
228
226
|
childrenKey: string;
|
|
227
|
+
disabledKey: string;
|
|
229
228
|
activeKey: string;
|
|
230
229
|
openKey: string;
|
|
231
230
|
menuItemTemplate: boolean;
|
|
231
|
+
itemTemplate: boolean;
|
|
232
232
|
menuToggle: (event: MouseEvent) => void;
|
|
233
233
|
itemClick: (event: MouseEvent) => void;
|
|
234
234
|
activeItemChange: (event: MouseEvent) => void;
|
|
@@ -220,15 +220,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
220
|
}>>, {
|
|
221
221
|
data: import("./accordion.type").AccordionMenuType;
|
|
222
222
|
parent: AccordionMenuItem;
|
|
223
|
-
disabledKey: string;
|
|
224
|
-
itemTemplate: boolean;
|
|
225
223
|
linkType: string;
|
|
226
224
|
titleKey: string;
|
|
227
225
|
loadingKey: string;
|
|
228
226
|
childrenKey: string;
|
|
227
|
+
disabledKey: string;
|
|
229
228
|
activeKey: string;
|
|
230
229
|
openKey: string;
|
|
231
230
|
menuItemTemplate: boolean;
|
|
231
|
+
itemTemplate: boolean;
|
|
232
232
|
menuToggle: (event: MouseEvent) => void;
|
|
233
233
|
itemClick: (event: MouseEvent) => void;
|
|
234
234
|
activeItemChange: (event: MouseEvent) => void;
|
|
@@ -220,15 +220,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
220
|
}>>, {
|
|
221
221
|
data: import("./accordion.type").AccordionMenuType;
|
|
222
222
|
parent: AccordionMenuItem;
|
|
223
|
-
disabledKey: string;
|
|
224
|
-
itemTemplate: boolean;
|
|
225
223
|
linkType: string;
|
|
226
224
|
titleKey: string;
|
|
227
225
|
loadingKey: string;
|
|
228
226
|
childrenKey: string;
|
|
227
|
+
disabledKey: string;
|
|
229
228
|
activeKey: string;
|
|
230
229
|
openKey: string;
|
|
231
230
|
menuItemTemplate: boolean;
|
|
231
|
+
itemTemplate: boolean;
|
|
232
232
|
menuToggle: (event: MouseEvent) => void;
|
|
233
233
|
itemClick: (event: MouseEvent) => void;
|
|
234
234
|
activeItemChange: (event: MouseEvent) => void;
|
|
@@ -206,15 +206,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
206
206
|
}>>, {
|
|
207
207
|
data: AccordionMenuItem[];
|
|
208
208
|
parent: AccordionMenuItem;
|
|
209
|
-
disabledKey: string;
|
|
210
|
-
itemTemplate: boolean;
|
|
211
209
|
linkType: string;
|
|
212
210
|
titleKey: string;
|
|
213
211
|
loadingKey: string;
|
|
214
212
|
childrenKey: string;
|
|
213
|
+
disabledKey: string;
|
|
215
214
|
activeKey: string;
|
|
216
215
|
openKey: string;
|
|
217
216
|
menuItemTemplate: boolean;
|
|
217
|
+
itemTemplate: boolean;
|
|
218
218
|
menuToggle: (event: MouseEvent) => void;
|
|
219
219
|
itemClick: (event: MouseEvent) => void;
|
|
220
220
|
activeItemChange: (event: MouseEvent) => void;
|
|
@@ -220,15 +220,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
220
|
}>>, {
|
|
221
221
|
data: import("./accordion.type").AccordionMenuType;
|
|
222
222
|
parent: AccordionMenuItem;
|
|
223
|
-
disabledKey: string;
|
|
224
|
-
itemTemplate: boolean;
|
|
225
223
|
linkType: string;
|
|
226
224
|
titleKey: string;
|
|
227
225
|
loadingKey: string;
|
|
228
226
|
childrenKey: string;
|
|
227
|
+
disabledKey: string;
|
|
229
228
|
activeKey: string;
|
|
230
229
|
openKey: string;
|
|
231
230
|
menuItemTemplate: boolean;
|
|
231
|
+
itemTemplate: boolean;
|
|
232
232
|
menuToggle: (event: MouseEvent) => void;
|
|
233
233
|
itemClick: (event: MouseEvent) => void;
|
|
234
234
|
activeItemChange: (event: MouseEvent) => void;
|
|
@@ -195,15 +195,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
195
195
|
};
|
|
196
196
|
}>>, {
|
|
197
197
|
readonly data: import("./accordion.type").AccordionMenuType;
|
|
198
|
-
readonly disabledKey: string;
|
|
199
|
-
readonly itemTemplate: boolean;
|
|
200
198
|
readonly linkType: string;
|
|
201
199
|
readonly titleKey: string;
|
|
202
200
|
readonly loadingKey: string;
|
|
203
201
|
readonly childrenKey: string;
|
|
202
|
+
readonly disabledKey: string;
|
|
204
203
|
readonly activeKey: string;
|
|
205
204
|
readonly openKey: string;
|
|
206
205
|
readonly menuItemTemplate: boolean;
|
|
206
|
+
readonly itemTemplate: boolean;
|
|
207
207
|
readonly menuToggle: (event: MouseEvent) => void;
|
|
208
208
|
readonly itemClick: (event: MouseEvent) => void;
|
|
209
209
|
readonly activeItemChange: (event: MouseEvent) => void;
|
|
@@ -226,11 +226,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
readonly disabled: boolean;
|
|
227
227
|
readonly size: import("./auto-complete-types").AutoCompleteSize;
|
|
228
228
|
readonly placeholder: string;
|
|
229
|
+
readonly disabledKey: string;
|
|
229
230
|
readonly modelValue: string;
|
|
230
231
|
readonly allowEmptyValueSearch: boolean;
|
|
231
232
|
readonly appendToBody: boolean;
|
|
232
233
|
readonly delay: number;
|
|
233
|
-
readonly disabledKey: string;
|
|
234
234
|
readonly formatter: (item: string | import("./auto-complete-types").SourceItemObj) => string;
|
|
235
235
|
readonly isSearching: boolean;
|
|
236
236
|
readonly sceneType: string;
|
|
@@ -140,8 +140,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
140
|
readonly checked: boolean;
|
|
141
141
|
readonly modelValue: boolean;
|
|
142
142
|
readonly showAnimation: boolean;
|
|
143
|
-
readonly 'onUpdate:checked': (v: boolean) => void;
|
|
144
143
|
readonly halfChecked: boolean;
|
|
144
|
+
readonly 'onUpdate:checked': (v: boolean) => void;
|
|
145
145
|
readonly isShowTitle: boolean;
|
|
146
146
|
readonly beforeChange: (isChecked: boolean, v: string | undefined) => boolean | Promise<boolean>;
|
|
147
147
|
}>;
|
|
@@ -140,8 +140,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
140
|
readonly checked: boolean;
|
|
141
141
|
readonly modelValue: boolean;
|
|
142
142
|
readonly showAnimation: boolean;
|
|
143
|
-
readonly 'onUpdate:checked': (v: boolean) => void;
|
|
144
143
|
readonly halfChecked: boolean;
|
|
144
|
+
readonly 'onUpdate:checked': (v: boolean) => void;
|
|
145
145
|
readonly isShowTitle: boolean;
|
|
146
146
|
readonly beforeChange: (isChecked: boolean, v: string | undefined) => boolean | Promise<boolean>;
|
|
147
147
|
}>;
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
readonly modelValue: CollapseActiveData;
|
|
28
27
|
readonly accordion: boolean;
|
|
28
|
+
readonly modelValue: CollapseActiveData;
|
|
29
29
|
}>;
|
|
30
30
|
export default _default;
|
|
@@ -68,8 +68,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
}>>, {
|
|
69
69
|
readonly range: boolean;
|
|
70
70
|
readonly format: string;
|
|
71
|
-
readonly showTime: boolean;
|
|
72
71
|
readonly autoClose: boolean;
|
|
72
|
+
readonly showTime: boolean;
|
|
73
73
|
readonly rangeSpliter: string;
|
|
74
74
|
}>;
|
|
75
75
|
export default _default;
|
|
@@ -114,8 +114,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
114
|
title: string;
|
|
115
115
|
mode: import("./nav-sprite-types").SpriteMode;
|
|
116
116
|
isOpen: boolean;
|
|
117
|
-
indent: number;
|
|
118
117
|
hashSupport: boolean;
|
|
119
118
|
maxLevel: number;
|
|
119
|
+
indent: number;
|
|
120
120
|
}>;
|
|
121
121
|
export default _default;
|
|
@@ -80,11 +80,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
}>>, {
|
|
81
81
|
height: string;
|
|
82
82
|
strokeWidth: number;
|
|
83
|
+
showContent: boolean;
|
|
83
84
|
percentage: number;
|
|
84
85
|
percentageText: string;
|
|
85
86
|
barBgColor: string;
|
|
86
87
|
isCircle: boolean;
|
|
87
|
-
showContent: boolean;
|
|
88
88
|
percentageTextPlacement: string;
|
|
89
89
|
percentageTextColor: string;
|
|
90
90
|
}>;
|
|
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
"onUpdate:stepIndex"?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
}, {
|
|
59
59
|
readonly zIndex: number;
|
|
60
|
-
readonly showClose: boolean;
|
|
61
60
|
readonly showDots: boolean;
|
|
61
|
+
readonly showClose: boolean;
|
|
62
62
|
readonly stepIndex: number;
|
|
63
63
|
readonly scrollToTargetSwitch: boolean;
|
|
64
64
|
readonly stepChange: Function;
|
|
@@ -175,9 +175,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
175
|
order: number;
|
|
176
176
|
align: import("./column-types").ColumnAlign;
|
|
177
177
|
field: string;
|
|
178
|
+
filterable: boolean;
|
|
178
179
|
sortable: boolean;
|
|
179
180
|
sortDirection: import("./column-types").SortDirection;
|
|
180
|
-
filterable: boolean;
|
|
181
181
|
filterMultiple: boolean;
|
|
182
182
|
filterList: import("./column-types").FilterConfig[];
|
|
183
183
|
showOverflowTooltip: boolean;
|
|
@@ -118,8 +118,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
readonly spellcheck: boolean;
|
|
119
119
|
readonly disabled: boolean;
|
|
120
120
|
readonly placeholder: string;
|
|
121
|
-
readonly modelValue: Suggestion[];
|
|
122
121
|
readonly noData: string;
|
|
122
|
+
readonly modelValue: Suggestion[];
|
|
123
123
|
readonly maxLength: number;
|
|
124
124
|
readonly displayProperty: string;
|
|
125
125
|
readonly minLength: number;
|
|
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
37
|
data: IInnerTreeNode;
|
|
38
|
+
operate: import("../composables").IOperate;
|
|
38
39
|
check: import("../composables").ICheck;
|
|
39
40
|
dragdrop: import("../composables").IDragdrop;
|
|
40
|
-
operate: import("../composables").IOperate;
|
|
41
41
|
}>;
|
|
42
42
|
export default _default;
|
package/types/tree/src/tree.d.ts
CHANGED
|
@@ -41,8 +41,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
};
|
|
42
42
|
}>>, {
|
|
43
43
|
data: import("./composables").ITreeNode[];
|
|
44
|
+
operate: import("./composables").IOperate;
|
|
44
45
|
check: import("./composables").ICheck;
|
|
45
46
|
dragdrop: import("./composables").IDragdrop;
|
|
46
|
-
operate: import("./composables").IOperate;
|
|
47
47
|
}>;
|
|
48
48
|
export default _default;
|
package/types/vue-devui.d.ts
CHANGED
|
@@ -1,38 +1,55 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
|
+
import { Accordion } from './accordion';
|
|
2
3
|
import { Alert } from './alert';
|
|
4
|
+
import { Anchor } from './anchor';
|
|
3
5
|
import { AutoComplete } from './auto-complete';
|
|
4
6
|
import { Avatar } from './avatar';
|
|
7
|
+
import { BackTop } from './back-top';
|
|
5
8
|
import { Badge } from './badge';
|
|
9
|
+
import { Breadcrumb } from './breadcrumb';
|
|
6
10
|
import { Button, ButtonGroup } from './button';
|
|
7
11
|
import { Card } from './card';
|
|
12
|
+
import { Carousel, CarouselItem } from './carousel';
|
|
13
|
+
import { Cascader } from './cascader';
|
|
8
14
|
import { Checkbox, CheckboxGroup, CheckboxButton } from './checkbox';
|
|
9
15
|
import { Collapse, CollapseItem } from './collapse';
|
|
16
|
+
import { ColorPicker } from './color-picker';
|
|
17
|
+
import { Comment } from './comment';
|
|
10
18
|
import { Countdown } from './countdown';
|
|
19
|
+
import { DatePicker, StickSlider } from './date-picker';
|
|
11
20
|
import { DatePickerPro, DRangeDatePickerPro } from './date-picker-pro';
|
|
21
|
+
import { DraggableDirective, DroppableDirective, SortableDirective } from './dragdrop';
|
|
12
22
|
import { Drawer, DrawerService } from './drawer';
|
|
13
23
|
import { Dropdown, DropdownMenu } from './dropdown';
|
|
14
24
|
import { EditableSelect } from './editable-select';
|
|
15
25
|
import { Form, FormItem, FormOperation } from './form';
|
|
16
26
|
import { Fullscreen } from './fullscreen';
|
|
27
|
+
import { Gantt } from './gantt';
|
|
17
28
|
import { Row, Col } from './grid';
|
|
18
29
|
import { Icon, IconGroup } from './icon';
|
|
19
30
|
import { ImagePreviewDirective, ImagePreviewService } from './image-preview';
|
|
20
31
|
import { Input } from './input';
|
|
32
|
+
import { InputIcon } from './input-icon';
|
|
21
33
|
import { InputNumber } from './input-number';
|
|
22
34
|
import { Layout, Content, Header, Footer, Aside } from './layout';
|
|
35
|
+
import { List, ListItem } from './list';
|
|
23
36
|
import { LoadingService, LoadingDirective } from './loading';
|
|
24
37
|
import { Mention } from './mention';
|
|
25
38
|
import { Menu, SubMenu, MenuItem } from './menu';
|
|
26
39
|
import { Message } from './message';
|
|
27
40
|
import { Modal } from './modal';
|
|
41
|
+
import { MultiAutoComplete } from './multi-auto-complete';
|
|
42
|
+
import { NavSprite } from './nav-sprite';
|
|
28
43
|
import { Notification, NotificationService } from './notification';
|
|
29
44
|
import { FlexibleOverlay, FixedOverlay } from './overlay';
|
|
30
45
|
import { Pagination } from './pagination';
|
|
31
46
|
import { Panel, PanelHeader, PanelBody, PanelFooter } from './panel';
|
|
32
47
|
import { Popover } from './popover';
|
|
33
48
|
import { Progress } from './progress';
|
|
49
|
+
import { QuadrantDiagram } from './quadrant-diagram';
|
|
34
50
|
import { Radio, RadioGroup, RadioButton } from './radio';
|
|
35
51
|
import { Rate } from './rate';
|
|
52
|
+
import { ReadTip } from './read-tip';
|
|
36
53
|
import { Result } from './result';
|
|
37
54
|
import { RippleDirective } from './ripple';
|
|
38
55
|
import { Search } from './search';
|
|
@@ -43,19 +60,25 @@ import { Splitter } from './splitter';
|
|
|
43
60
|
import { Statistic } from './statistic';
|
|
44
61
|
import { Status } from './status';
|
|
45
62
|
import { Steps, Step } from './steps';
|
|
63
|
+
import { StepsGuide, StepsGuideDirective } from './steps-guide';
|
|
64
|
+
import { Sticky } from './sticky';
|
|
46
65
|
import { Switch } from './switch';
|
|
47
66
|
import { Table, Column } from './table';
|
|
48
67
|
import { Tabs, Tab } from './tabs';
|
|
49
68
|
import { Tag } from './tag';
|
|
69
|
+
import { TagInput } from './tag-input';
|
|
50
70
|
import { Textarea } from './textarea';
|
|
51
71
|
import { TimePicker } from './time-picker';
|
|
52
72
|
import { TimeSelect } from './time-select';
|
|
53
73
|
import { Timeline, TimelineItem } from './timeline';
|
|
54
74
|
import { Tooltip } from './tooltip';
|
|
75
|
+
import { Transfer } from './transfer';
|
|
55
76
|
import { Tree } from './tree';
|
|
77
|
+
import { TreeSelect } from './tree-select';
|
|
56
78
|
import { Upload } from './upload';
|
|
79
|
+
import { VirtualList } from './virtual-list';
|
|
57
80
|
import './style/devui.scss';
|
|
58
|
-
export { Alert, AutoComplete, Avatar, Badge, Button, ButtonGroup, Card, Checkbox, CheckboxGroup, CheckboxButton, Collapse, CollapseItem, Countdown, DatePickerPro, DRangeDatePickerPro, Drawer, DrawerService, Dropdown, DropdownMenu, EditableSelect, Form, FormItem, FormOperation, Fullscreen, Row, Col, Icon, IconGroup, ImagePreviewDirective, ImagePreviewService, Input, InputNumber, Layout, Content, Header, Footer, Aside, LoadingService, LoadingDirective, Mention, Menu, SubMenu, MenuItem, Message, Modal, Notification, NotificationService, FlexibleOverlay, FixedOverlay, Pagination, Panel, PanelHeader, PanelBody, PanelFooter, Popover, Progress, Radio, RadioGroup, RadioButton, Rate, Result, RippleDirective, Search, Select, Option, OptionGroup, Skeleton, SkeletonItem, Slider, Splitter, Statistic, Status, Steps, Step, Switch, Table, Column, Tabs, Tab, Tag, Textarea, TimePicker, TimeSelect, Timeline, TimelineItem, Tooltip, Tree, Upload };
|
|
81
|
+
export { Accordion, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, Button, ButtonGroup, Card, Carousel, CarouselItem, Cascader, Checkbox, CheckboxGroup, CheckboxButton, Collapse, CollapseItem, ColorPicker, Comment, Countdown, DatePicker, StickSlider, DatePickerPro, DRangeDatePickerPro, DraggableDirective, DroppableDirective, SortableDirective, Drawer, DrawerService, Dropdown, DropdownMenu, EditableSelect, 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, 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, Statistic, Status, Steps, Step, StepsGuide, StepsGuideDirective, Sticky, Switch, Table, Column, Tabs, Tab, Tag, TagInput, Textarea, TimePicker, TimeSelect, Timeline, TimelineItem, Tooltip, Transfer, Tree, TreeSelect, Upload, VirtualList };
|
|
59
82
|
declare const _default: {
|
|
60
83
|
version: string;
|
|
61
84
|
install(app: App): void;
|
package/vue-devui.es.js
CHANGED
|
@@ -33,7 +33,7 @@ var __publicField = (obj, key, value) => {
|
|
|
33
33
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
34
34
|
return value;
|
|
35
35
|
};
|
|
36
|
-
import { createVNode, defineComponent, ref, onMounted, Transition, withDirectives, vShow, nextTick, watch, provide, reactive, toRefs, onUnmounted, mergeProps, unref, withModifiers, Comment, Text, h, Fragment, inject, cloneVNode, computed, Teleport, createTextVNode, onBeforeUnmount, render, getCurrentInstance, resolveDirective, resolveDynamicComponent, isVNode, toRef, shallowRef, onBeforeMount, onUpdated, toRaw, watchEffect, renderSlot, useSlots, createApp,
|
|
36
|
+
import { createVNode, defineComponent, ref, onMounted, Transition, withDirectives, vShow, nextTick, watch, provide, reactive, toRefs, onUnmounted, mergeProps, unref, withModifiers, Comment, Text, h, Fragment, inject, cloneVNode, computed, Teleport, createTextVNode, onBeforeUnmount, render, getCurrentInstance, resolveDirective, resolveDynamicComponent, isVNode, resolveComponent, toRef, shallowRef, onBeforeMount, onUpdated, toRaw, watchEffect, renderSlot, useSlots, createApp, shallowReactive, effect, TransitionGroup } from "vue";
|
|
37
37
|
import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
|
|
38
38
|
import { onClickOutside } from "@vueuse/core";
|
|
39
39
|
const AlertCloseIcon = () => createVNode("svg", {
|
|
@@ -9764,7 +9764,7 @@ var Button = defineComponent({
|
|
|
9764
9764
|
};
|
|
9765
9765
|
return () => {
|
|
9766
9766
|
var _a, _b;
|
|
9767
|
-
return
|
|
9767
|
+
return createVNode("button", {
|
|
9768
9768
|
"class": classes.value,
|
|
9769
9769
|
"disabled": disabled.value,
|
|
9770
9770
|
"onClick": onClick
|
|
@@ -9773,9 +9773,15 @@ var Button = defineComponent({
|
|
|
9773
9773
|
"size": "var(--devui-font-size, 12px)",
|
|
9774
9774
|
"color": "",
|
|
9775
9775
|
"class": iconClass.value
|
|
9776
|
-
}, null), createVNode("
|
|
9776
|
+
}, null), withDirectives(createVNode("div", {
|
|
9777
|
+
"class": "loading-icon__container"
|
|
9778
|
+
}, [createVNode(resolveComponent("d-icon"), {
|
|
9779
|
+
"name": "icon-loading",
|
|
9780
|
+
"class": "button-icon-loading",
|
|
9781
|
+
"color": "#BBDEFB"
|
|
9782
|
+
}, null)]), [[vShow, loading2.value]]), createVNode("span", {
|
|
9777
9783
|
"class": "button-content"
|
|
9778
|
-
}, [(_b = (_a = ctx2.slots).default) == null ? void 0 : _b.call(_a)])])
|
|
9784
|
+
}, [(_b = (_a = ctx2.slots).default) == null ? void 0 : _b.call(_a)])]);
|
|
9779
9785
|
};
|
|
9780
9786
|
}
|
|
9781
9787
|
});
|
|
@@ -12550,6 +12556,7 @@ var VirtualList = defineComponent({
|
|
|
12550
12556
|
const newTop = newScrollTop;
|
|
12551
12557
|
syncScrollTop(newTop);
|
|
12552
12558
|
};
|
|
12559
|
+
const oldScrollTop = ref(0);
|
|
12553
12560
|
const onComponentScroll = (e) => {
|
|
12554
12561
|
var _a, _b;
|
|
12555
12562
|
const {
|
|
@@ -12558,7 +12565,10 @@ var VirtualList = defineComponent({
|
|
|
12558
12565
|
if (Math.abs(newScrollTop - state.scrollTop) >= 1) {
|
|
12559
12566
|
syncScrollTop(newScrollTop);
|
|
12560
12567
|
}
|
|
12561
|
-
|
|
12568
|
+
if (oldScrollTop.value) {
|
|
12569
|
+
(_b = (_a = barRef == null ? void 0 : barRef.value) == null ? void 0 : _a.onShowBar) == null ? void 0 : _b.call(_a);
|
|
12570
|
+
}
|
|
12571
|
+
oldScrollTop.value = newScrollTop;
|
|
12562
12572
|
ctx2.emit("scroll", e);
|
|
12563
12573
|
};
|
|
12564
12574
|
const [onRawWheel, onFireFoxScroll] = useFrameWheel(isVirtual, isScrollAtTop, isScrollAtBottom, (offsetY) => {
|
|
@@ -16988,10 +16998,10 @@ var Mention = defineComponent({
|
|
|
16988
16998
|
if (props.trigger.includes(val[0])) {
|
|
16989
16999
|
showSuggestions.value = true;
|
|
16990
17000
|
if (props.position === "top") {
|
|
16991
|
-
|
|
17001
|
+
setTimeout(() => {
|
|
16992
17002
|
const height = window.getComputedStyle(suggestionsDom.value, null).height;
|
|
16993
17003
|
suggestionsTop.value = -Number(height.replace("px", ""));
|
|
16994
|
-
});
|
|
17004
|
+
}, 0);
|
|
16995
17005
|
}
|
|
16996
17006
|
filteredSuggestions.value = suggestions.value.filter((item) => String(item[props.dmValueParse.value]).toLocaleLowerCase().includes(val.slice(1).toLocaleLowerCase()));
|
|
16997
17007
|
} else {
|
|
@@ -20603,7 +20613,12 @@ var PageSize = defineComponent({
|
|
|
20603
20613
|
prefix: () => createVNode("span", null, [currentPageSize.value])
|
|
20604
20614
|
})]),
|
|
20605
20615
|
menu: () => createVNode("ul", null, [pageSizeOptions.value.map((item, index2) => createVNode("li", {
|
|
20606
|
-
"
|
|
20616
|
+
"class": {
|
|
20617
|
+
active: item === currentPageSize.value
|
|
20618
|
+
},
|
|
20619
|
+
"onClick": withModifiers(pageSizeChange.bind(null, {
|
|
20620
|
+
value: item
|
|
20621
|
+
}), ["stop"]),
|
|
20607
20622
|
"key": index2
|
|
20608
20623
|
}, [item]))])
|
|
20609
20624
|
}), createVNode("span", {
|
|
@@ -30153,7 +30168,7 @@ const installs = [
|
|
|
30153
30168
|
UploadInstall
|
|
30154
30169
|
];
|
|
30155
30170
|
var vueDevui = {
|
|
30156
|
-
version: "1.
|
|
30171
|
+
version: "1.3.1",
|
|
30157
30172
|
install(app) {
|
|
30158
30173
|
installs.forEach((p) => app.use(p));
|
|
30159
30174
|
}
|