@deot/vc 1.0.64 → 1.0.66
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/index.cjs +212 -225
- package/dist/index.d.ts +404 -181
- package/dist/index.iife.js +127309 -139864
- package/dist/index.js +199 -215
- package/dist/index.umd.cjs +127311 -139866
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,217 +1,201 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export * from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
TransitionSlide,
|
|
192
|
-
MTransitionSlide,
|
|
193
|
-
TransitionZoom,
|
|
194
|
-
MTransitionZoom,
|
|
195
|
-
TransitionCollapse,
|
|
196
|
-
MTransitionCollapse,
|
|
197
|
-
Tree,
|
|
198
|
-
MTree,
|
|
199
|
-
TreeSelect,
|
|
200
|
-
MTreeSelect,
|
|
201
|
-
Upload,
|
|
202
|
-
MUpload,
|
|
203
|
-
UploadPicker,
|
|
204
|
-
MUploadPicker
|
|
1
|
+
import { Utils } from "@deot/vc-shared";
|
|
2
|
+
import { ActionSheet, Affix, Alert, Artboard, Button, ButtonGroup, Calendar, Card, Carousel, CarouselItem, Cascader, Chart, Checkbox, CheckboxGroup, Clipboard, Collapse, CollapseItem, ColorPicker, Countdown, Counter, Customer, DatePicker, Debounce, Defer, Divider, Drawer, DrawerView, Dropdown, DropdownItem, DropdownMenu, Editor, EditorView, Expand, Form, FormItem, Fragment, Icon, Image, ImageCrop, ImagePreview, ImageProcessing, Input, InputNumber, InputSearch, List, ListItem, MActionSheet, MAffix, MAlert, MArtboard, MButton, MButtonGroup, MCalendar, MCard, MCarousel, MCarouselItem, MCascader, MChart, MCheckbox, MCheckboxGroup, MClipboard, MCollapse, MCollapseItem, MColorPicker, MCountdown, MCounter, MCustomer, MDatePicker, MDebounce, MDefer, MDivider, MDrawer, MDrawerView, MDropdown, MDropdownItem, MDropdownMenu, MEditor, MEditorView, MExpand, MForm, MFormItem, MFragment, MIcon, MImage, MImageCrop, MImagePreview, MImageProcessing, MInput, MInputNumber, MInputSearch, MList, MListItem, MMarquee, MModal, MModalView, MNotice, MOption, MPagination, MPicker, MPopconfirm, MPopover, MPopup, MPrint, MProgress, MRadio, MRadioButton, MRadioGroup, MRate, MRecycleList, MResizer, MScroller, MSelect, MSlider, MSnapshot, MSortList, MSpin, MSteps, MSwitch, MTable, MTableColumn, MTabs, MTabsPane, MTag, MText, MTextarea, MTimePicker, MTimeline, MTouch, MTransition, MTransitionCollapse, MTransitionFade, MTransitionScale, MTransitionSlide, MTransitionZoom, MTree, MTreeSelect, MUpload, MUploadPicker, Marquee, Modal, ModalView, Notice, Option, Pagination, Picker, Popconfirm, Popover, Popup, Print, Progress, Radio, RadioButton, RadioGroup, Rate, RecycleList, Resizer, Scroller, Select, Slider, Snapshot, SortList, Spin, Steps, Switch, Table, TableColumn, Tabs, TabsPane, Tag, Text, Textarea, TimePicker, Timeline, Touch, Transition, TransitionCollapse, TransitionFade, TransitionScale, TransitionSlide, TransitionZoom, Tree, TreeSelect, Upload, UploadPicker, VcInstance } from "@deot/vc-components";
|
|
3
|
+
export * from "@deot/vc-hooks";
|
|
4
|
+
export * from "@deot/vc-components";
|
|
5
|
+
//#region packages/index/src/index.ts
|
|
6
|
+
var Components = {
|
|
7
|
+
ActionSheet,
|
|
8
|
+
MActionSheet,
|
|
9
|
+
Affix,
|
|
10
|
+
MAffix,
|
|
11
|
+
Alert,
|
|
12
|
+
MAlert,
|
|
13
|
+
Artboard,
|
|
14
|
+
MArtboard,
|
|
15
|
+
Button,
|
|
16
|
+
MButton,
|
|
17
|
+
ButtonGroup,
|
|
18
|
+
MButtonGroup,
|
|
19
|
+
Calendar,
|
|
20
|
+
MCalendar,
|
|
21
|
+
Card,
|
|
22
|
+
MCard,
|
|
23
|
+
Carousel,
|
|
24
|
+
MCarousel,
|
|
25
|
+
CarouselItem,
|
|
26
|
+
MCarouselItem,
|
|
27
|
+
Cascader,
|
|
28
|
+
MCascader,
|
|
29
|
+
Chart,
|
|
30
|
+
MChart,
|
|
31
|
+
Checkbox,
|
|
32
|
+
MCheckbox,
|
|
33
|
+
CheckboxGroup,
|
|
34
|
+
MCheckboxGroup,
|
|
35
|
+
Clipboard,
|
|
36
|
+
MClipboard,
|
|
37
|
+
Collapse,
|
|
38
|
+
MCollapse,
|
|
39
|
+
CollapseItem,
|
|
40
|
+
MCollapseItem,
|
|
41
|
+
ColorPicker,
|
|
42
|
+
MColorPicker,
|
|
43
|
+
Countdown,
|
|
44
|
+
MCountdown,
|
|
45
|
+
Counter,
|
|
46
|
+
MCounter,
|
|
47
|
+
Customer,
|
|
48
|
+
MCustomer,
|
|
49
|
+
DatePicker,
|
|
50
|
+
MDatePicker,
|
|
51
|
+
Debounce,
|
|
52
|
+
MDebounce,
|
|
53
|
+
Defer,
|
|
54
|
+
MDefer,
|
|
55
|
+
Divider,
|
|
56
|
+
MDivider,
|
|
57
|
+
Drawer,
|
|
58
|
+
MDrawer,
|
|
59
|
+
DrawerView,
|
|
60
|
+
MDrawerView,
|
|
61
|
+
Dropdown,
|
|
62
|
+
MDropdown,
|
|
63
|
+
DropdownItem,
|
|
64
|
+
MDropdownItem,
|
|
65
|
+
DropdownMenu,
|
|
66
|
+
MDropdownMenu,
|
|
67
|
+
Editor,
|
|
68
|
+
MEditor,
|
|
69
|
+
EditorView,
|
|
70
|
+
MEditorView,
|
|
71
|
+
Expand,
|
|
72
|
+
MExpand,
|
|
73
|
+
Form,
|
|
74
|
+
MForm,
|
|
75
|
+
FormItem,
|
|
76
|
+
MFormItem,
|
|
77
|
+
Fragment,
|
|
78
|
+
MFragment,
|
|
79
|
+
Snapshot,
|
|
80
|
+
MSnapshot,
|
|
81
|
+
Icon,
|
|
82
|
+
MIcon,
|
|
83
|
+
Image,
|
|
84
|
+
MImage,
|
|
85
|
+
ImageCrop,
|
|
86
|
+
MImageCrop,
|
|
87
|
+
ImagePreview,
|
|
88
|
+
MImagePreview,
|
|
89
|
+
ImageProcessing,
|
|
90
|
+
MImageProcessing,
|
|
91
|
+
Input,
|
|
92
|
+
MInput,
|
|
93
|
+
InputNumber,
|
|
94
|
+
MInputNumber,
|
|
95
|
+
InputSearch,
|
|
96
|
+
MInputSearch,
|
|
97
|
+
List,
|
|
98
|
+
MList,
|
|
99
|
+
ListItem,
|
|
100
|
+
MListItem,
|
|
101
|
+
Marquee,
|
|
102
|
+
MMarquee,
|
|
103
|
+
Modal,
|
|
104
|
+
MModal,
|
|
105
|
+
ModalView,
|
|
106
|
+
MModalView,
|
|
107
|
+
Notice,
|
|
108
|
+
MNotice,
|
|
109
|
+
Option,
|
|
110
|
+
MOption,
|
|
111
|
+
Pagination,
|
|
112
|
+
MPagination,
|
|
113
|
+
Picker,
|
|
114
|
+
MPicker,
|
|
115
|
+
Popconfirm,
|
|
116
|
+
MPopconfirm,
|
|
117
|
+
Popover,
|
|
118
|
+
MPopover,
|
|
119
|
+
Popup,
|
|
120
|
+
MPopup,
|
|
121
|
+
Print,
|
|
122
|
+
MPrint,
|
|
123
|
+
Progress,
|
|
124
|
+
MProgress,
|
|
125
|
+
Radio,
|
|
126
|
+
RadioButton,
|
|
127
|
+
MRadio,
|
|
128
|
+
MRadioButton,
|
|
129
|
+
RadioGroup,
|
|
130
|
+
MRadioGroup,
|
|
131
|
+
Rate,
|
|
132
|
+
MRate,
|
|
133
|
+
RecycleList,
|
|
134
|
+
MRecycleList,
|
|
135
|
+
Resizer,
|
|
136
|
+
MResizer,
|
|
137
|
+
Scroller,
|
|
138
|
+
MScroller,
|
|
139
|
+
Select,
|
|
140
|
+
MSelect,
|
|
141
|
+
Slider,
|
|
142
|
+
MSlider,
|
|
143
|
+
SortList,
|
|
144
|
+
MSortList,
|
|
145
|
+
Spin,
|
|
146
|
+
MSpin,
|
|
147
|
+
Steps,
|
|
148
|
+
MSteps,
|
|
149
|
+
Switch,
|
|
150
|
+
MSwitch,
|
|
151
|
+
Table,
|
|
152
|
+
MTable,
|
|
153
|
+
TableColumn,
|
|
154
|
+
MTableColumn,
|
|
155
|
+
Tabs,
|
|
156
|
+
MTabs,
|
|
157
|
+
TabsPane,
|
|
158
|
+
MTabsPane,
|
|
159
|
+
Tag,
|
|
160
|
+
MTag,
|
|
161
|
+
Text,
|
|
162
|
+
MText,
|
|
163
|
+
Textarea,
|
|
164
|
+
MTextarea,
|
|
165
|
+
Timeline,
|
|
166
|
+
MTimeline,
|
|
167
|
+
TimePicker,
|
|
168
|
+
MTimePicker,
|
|
169
|
+
Touch,
|
|
170
|
+
MTouch,
|
|
171
|
+
Transition,
|
|
172
|
+
MTransition,
|
|
173
|
+
TransitionFade,
|
|
174
|
+
MTransitionFade,
|
|
175
|
+
TransitionScale,
|
|
176
|
+
MTransitionScale,
|
|
177
|
+
TransitionSlide,
|
|
178
|
+
MTransitionSlide,
|
|
179
|
+
TransitionZoom,
|
|
180
|
+
MTransitionZoom,
|
|
181
|
+
TransitionCollapse,
|
|
182
|
+
MTransitionCollapse,
|
|
183
|
+
Tree,
|
|
184
|
+
MTree,
|
|
185
|
+
TreeSelect,
|
|
186
|
+
MTreeSelect,
|
|
187
|
+
Upload,
|
|
188
|
+
MUpload,
|
|
189
|
+
UploadPicker,
|
|
190
|
+
MUploadPicker
|
|
205
191
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
};
|
|
192
|
+
var createVcPlugin = (options, transfromComponentKey = (x) => x) => {
|
|
193
|
+
return { install: (app) => {
|
|
194
|
+
app.config.globalProperties.$vc = VcInstance.configure(options);
|
|
195
|
+
Object.keys(Components).forEach((key) => {
|
|
196
|
+
app.component(transfromComponentKey(key) || key, Components[key]);
|
|
197
|
+
});
|
|
198
|
+
} };
|
|
215
199
|
};
|
|
216
|
-
|
|
217
|
-
export { Components, createVcPlugin };
|
|
200
|
+
//#endregion
|
|
201
|
+
export { Components, Utils, createVcPlugin };
|