@deot/vc 1.0.1 → 1.0.3
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 +3 -4
- package/dist/index.d.ts +468 -146
- package/dist/index.iife.js +83336 -1876
- package/dist/index.js +4 -5
- package/dist/index.umd.cjs +83336 -1876
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Utils } from '@deot/vc-shared';
|
|
2
2
|
export * from '@deot/vc-hooks';
|
|
3
|
-
import { MUploadPicker, UploadPicker, MUpload, Upload, MTree, Tree, MTransitionCollapse, TransitionCollapse, MTransitionZoom, TransitionZoom, MTransitionSlide, TransitionSlide, MTransitionScale, TransitionScale, MTransitionFade, TransitionFade, MTransition, Transition, MTouch, Touch, MTimePicker, TimePicker, MTimeline, Timeline, MTextarea, Textarea, MText, Text, MTag, Tag, MTabs, Tabs, MTable, Table, MSwitch, Switch, MSteps, Steps, MSpin, Spin, MSortList, SortList, MSlider, Slider, MSelect, Select, MScroller, Scroller, MRecycleList, RecycleList, MRate, Rate, MRadio, Radio, MProgress, Progress, MPrint, Print, MPopup, Popup, MPopover, Popover, MPopconfirm, Popconfirm, MPicker, Picker, MPage, Page, MOption, Option, MNotice, Notice, MModal, Modal, MMarquee, Marquee, MListItem, ListItem, MList, List, MInputSearch, InputSearch, MInputNumber, InputNumber, MInput, Input, MImageProcessing, ImageProcessing, MImagePreview, ImagePreview, MImageCrop, ImageCrop, MImage, Image, MIcon, Icon, MHTMLToImage, HTMLToImage, MFragment, Fragment, MFormItem, FormItem, MForm, Form, MExpand, Expand, MEditor, Editor, MDropdown, Dropdown, MDrawer, Drawer, MDivider, Divider, MDebounce, Debounce, MDatePicker, DatePicker, MCustomer, Customer, MCountdown, Countdown, MColorPicker, ColorPicker, MCollapse, Collapse, MClipboard, Clipboard, MCheckbox, Checkbox, MChart, Chart, MCascader, Cascader, MCarousel, Carousel, MCard, Card, MCalendar, Calendar, MButtonGroup, ButtonGroup, MButton, Button, MArtboard, Artboard, MAlert, Alert, MActionSheet, ActionSheet, VcInstance } from '@deot/vc-components';
|
|
3
|
+
import { MUploadPicker, UploadPicker, MUpload, Upload, MTree, Tree, MTransitionCollapse, TransitionCollapse, MTransitionZoom, TransitionZoom, MTransitionSlide, TransitionSlide, MTransitionScale, TransitionScale, MTransitionFade, TransitionFade, MTransition, Transition, MTouch, Touch, MTimePicker, TimePicker, MTimeline, Timeline, MTextarea, Textarea, MText, Text, MTag, Tag, MTabsPane, TabsPane, MTabs, Tabs, MTable, Table, MSwitch, Switch, MSteps, Steps, MSpin, Spin, MSortList, SortList, MSlider, Slider, MSelect, Select, MScroller, Scroller, MRecycleList, RecycleList, MRate, Rate, MRadio, Radio, MProgress, Progress, MPrint, Print, MPopup, Popup, MPopover, Popover, MPopconfirm, Popconfirm, MPicker, Picker, MPage, Page, MOption, Option, MNotice, Notice, MModal, Modal, MMarquee, Marquee, MListItem, ListItem, MList, List, MInputSearch, InputSearch, MInputNumber, InputNumber, MInput, Input, MImageProcessing, ImageProcessing, MImagePreview, ImagePreview, MImageCrop, ImageCrop, MImage, Image, MIcon, Icon, MHTMLToImage, HTMLToImage, MFragment, Fragment, MFormItem, FormItem, MForm, Form, MExpand, Expand, MEditor, Editor, MDropdown, Dropdown, MDrawer, Drawer, MDivider, Divider, MDebounce, Debounce, MDatePicker, DatePicker, MCustomer, Customer, MCountdown, Countdown, MColorPicker, ColorPicker, MCollapse, Collapse, MClipboard, Clipboard, MCheckbox, Checkbox, MChart, Chart, MCascader, Cascader, MCarousel, Carousel, MCard, Card, MCalendar, Calendar, MButtonGroup, ButtonGroup, MButton, Button, MArtboard, Artboard, MAlert, Alert, MActionSheet, ActionSheet, VcInstance } from '@deot/vc-components';
|
|
4
4
|
|
|
5
5
|
const Components = {
|
|
6
6
|
ActionSheet,
|
|
@@ -153,8 +153,8 @@ const Components = {
|
|
|
153
153
|
// MTableColumn,
|
|
154
154
|
Tabs,
|
|
155
155
|
MTabs,
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
TabsPane,
|
|
157
|
+
MTabsPane,
|
|
158
158
|
Tag,
|
|
159
159
|
MTag,
|
|
160
160
|
Text,
|
|
@@ -195,8 +195,7 @@ const createVcPlugin = (options, transfromComponentKey = (x) => x) => {
|
|
|
195
195
|
install: (app) => {
|
|
196
196
|
app.config.globalProperties.$vc = VcInstance.configure(options);
|
|
197
197
|
Object.keys(Components).forEach((key) => {
|
|
198
|
-
|
|
199
|
-
app.component(key, Components[key]);
|
|
198
|
+
app.component(transfromComponentKey(key) || key, Components[key]);
|
|
200
199
|
});
|
|
201
200
|
}
|
|
202
201
|
};
|