forked from AT-UI/at-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
252 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Alert from './src/alert.vue' | ||
|
||
Alert.install = function (Vue) { | ||
Vue.component(Alert.name, Alert) | ||
} | ||
|
||
export default Alert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Badge from './src/badge.vue' | ||
|
||
Badge.install = function (Vue) { | ||
Vue.component(Badge.name, Badge) | ||
} | ||
|
||
export default Badge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import BreadcrumbItem from '../breadcrumb/src/breadcrumb-item.vue' | ||
|
||
BreadcrumbItem.install = function (Vue) { | ||
Vue.component(BreadcrumbItem.name, BreadcrumbItem) | ||
} | ||
|
||
export default BreadcrumbItem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Breadcrumb from './src/breadcrumb.vue' | ||
import BreadcrumbItem from './src/breadcrumb-item.vue' | ||
|
||
export { | ||
Breadcrumb, | ||
BreadcrumbItem | ||
Breadcrumb.install = function (Vue) { | ||
Vue.component(Breadcrumb.name, Breadcrumb) | ||
} | ||
|
||
export default Breadcrumb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import ButtonGroup from '../button/src/button-group.vue' | ||
|
||
ButtonGroup.install = function (Vue) { | ||
Vue.component(ButtonGroup.name, ButtonGroup) | ||
} | ||
|
||
export default ButtonGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Button from './src/button.vue' | ||
import ButtonGroup from './src/button-group.vue' | ||
|
||
export { | ||
Button, | ||
ButtonGroup | ||
Button.install = function (Vue) { | ||
Vue.component(Button.name, Button) | ||
} | ||
|
||
export default Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Card from './src/card' | ||
|
||
Card.install = function (Vue) { | ||
Vue.component(Card.name, Card) | ||
} | ||
|
||
export default Card |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import CheckboxGroup from '../checkbox/src/checkbox-group.vue' | ||
|
||
CheckboxGroup.install = function (Vue) { | ||
Vue.component(CheckboxGroup.name, CheckboxGroup) | ||
} | ||
|
||
export default CheckboxGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Checkbox from './src/checkbox.vue' | ||
import CheckboxGroup from './src/checkbox-group.vue' | ||
|
||
export { | ||
Checkbox, | ||
CheckboxGroup | ||
Checkbox.install = function (Vue) { | ||
Vue.component(Checkbox.name, Checkbox) | ||
} | ||
|
||
export default Checkbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import CollapseItem from '../collapse/src/collapse-item.vue' | ||
|
||
CollapseItem.install = function (Vue) { | ||
Vue.component(CollapseItem.name, CollapseItem) | ||
} | ||
|
||
export default CollapseItem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Collapse from './src/collapse' | ||
import CollapseItem from './src/collapse-item' | ||
|
||
export { | ||
Collapse, | ||
CollapseItem | ||
Collapse.install = function (Vue) { | ||
Vue.component(Collapse.name, Collapse) | ||
} | ||
|
||
export default Collapse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Dialog from '../modal/src/dialog.js' | ||
|
||
export default Dialog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import DropdownItem from '../dropdown/src/dropdown-item.vue' | ||
|
||
DropdownItem.install = function (Vue) { | ||
Vue.component(DropdownItem.name, DropdownItem) | ||
} | ||
|
||
export default DropdownItem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import DropdownMenu from '../dropdown/src/dropdown-menu.vue' | ||
|
||
DropdownMenu.install = function (Vue) { | ||
Vue.component(DropdownMenu.name, DropdownMenu) | ||
} | ||
|
||
export default DropdownMenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import Dropdown from './src/dropdown.vue' | ||
import DropdownMenu from './src/dropdown-menu.vue' | ||
import DropdownItem from './src/dropdown-item.vue' | ||
|
||
export { | ||
Dropdown, | ||
DropdownMenu, | ||
DropdownItem | ||
Dropdown.install = function (Vue) { | ||
Vue.component(Dropdown.name, Dropdown) | ||
} | ||
|
||
export default Dropdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import InputNumber from './src/input-number.vue' | ||
|
||
InputNumber.install = function (Vue) { | ||
Vue.component(InputNumber.name, InputNumber) | ||
} | ||
|
||
export default InputNumber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Input from './src/input.vue' | ||
|
||
Input.install = function (Vue) { | ||
Vue.component(Input.name, Input) | ||
} | ||
|
||
export default Input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import MenuItemGroup from '../menu/src/menu-group.vue' | ||
|
||
MenuItemGroup.install = function (Vue) { | ||
Vue.component(MenuItemGroup.name, MenuItemGroup) | ||
} | ||
|
||
export default MenuItemGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import MenuItem from '../menu/src/menu-item.vue' | ||
|
||
MenuItem.install = function (Vue) { | ||
Vue.component(MenuItem.name, MenuItem) | ||
} | ||
|
||
export default MenuItem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import Menu from './src/menu' | ||
import MenuItem from './src/menu-item' | ||
import MenuItemGroup from './src/menu-group' | ||
import Submenu from './src/submenu' | ||
|
||
export { | ||
Menu, | ||
MenuItem, | ||
MenuItemGroup, | ||
Submenu | ||
Menu.install = function (Vue) { | ||
Vue.component(Menu.name, Menu) | ||
} | ||
|
||
export default Menu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Dialog from './src/dialog' | ||
import Modal from './src/modal.vue' | ||
|
||
export { | ||
Modal, | ||
Dialog | ||
Modal.install = function (Vue) { | ||
Vue.component(Modal.name, Modal) | ||
} | ||
|
||
export default Modal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import OptionGroup from '../select/src/option-group.vue' | ||
|
||
OptionGroup.install = function (Vue) { | ||
Vue.component(OptionGroup.name, OptionGroup) | ||
} | ||
|
||
export default OptionGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Option from '../select/src/option.vue' | ||
|
||
Option.install = function (Vue) { | ||
Vue.component(Option.name, Option) | ||
} | ||
|
||
export default Option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Pagination from './src/pagination.vue' | ||
|
||
Pagination.install = function (Vue) { | ||
Vue.component(Pagination.name, Pagination) | ||
} | ||
|
||
export default Pagination |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Popover from './src/popover.vue' | ||
|
||
Popover.install = function (Vue) { | ||
Vue.component(Popover.name, Popover) | ||
} | ||
|
||
export default Popover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Progress from './src/progress.vue' | ||
|
||
Progress.install = function (Vue) { | ||
Vue.component(Progress.name, Progress) | ||
} | ||
|
||
export default Progress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import RadioButton from '../radio/src/radio-button.vue' | ||
|
||
RadioButton.install = function (Vue) { | ||
Vue.component(RadioButton.name, RadioButton) | ||
} | ||
|
||
export default RadioButton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import RadioGroup from '../radio/src/radio-group.vue' | ||
|
||
RadioGroup.install = function (Vue) { | ||
Vue.component(RadioGroup.name, RadioGroup) | ||
} | ||
|
||
export default RadioGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import Radio from './src/radio.vue' | ||
import RadioGroup from './src/radio-group.vue' | ||
import RadioButton from './src/radio-button.vue' | ||
|
||
export { | ||
Radio, | ||
RadioGroup, | ||
RadioButton | ||
Radio.install = function (Vue) { | ||
Vue.component(Radio.name, Radio) | ||
} | ||
|
||
export default Radio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Rate from './src/rate.vue' | ||
|
||
Rate.install = function (Vue) { | ||
Vue.component(Rate.name, Rate) | ||
} | ||
|
||
export default Rate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
/** | ||
* https://github.com/iview/iview/blob/2.0/src/components/select/index.js | ||
*/ | ||
import Select from './src/select.vue' | ||
import Option from './src/option.vue' | ||
import OptionGroup from './src/option-group.vue' | ||
|
||
export { | ||
Select, | ||
Option, | ||
OptionGroup | ||
Select.install = function (Vue) { | ||
Vue.component(Select.name, Select) | ||
} | ||
|
||
export default Select |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Slider from './src/slider.vue' | ||
|
||
Slider.install = function (Vue) { | ||
Vue.component(Slider.name, Slider) | ||
} | ||
|
||
export default Slider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Step from '../steps/src/step.vue' | ||
|
||
Step.install = function (Vue) { | ||
Vue.component(Step.name, Step) | ||
} | ||
|
||
export default Step |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Steps from './src/steps.vue' | ||
import Step from './src/step.vue' | ||
|
||
export { | ||
Steps, | ||
Step | ||
Steps.install = function (Vue) { | ||
Vue.component(Steps.name, Steps) | ||
} | ||
|
||
export default Steps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Submenu from '../menu/src/submenu.vue' | ||
|
||
Submenu.install = function (Vue) { | ||
Vue.component(Submenu.name, Submenu) | ||
} | ||
|
||
export default Submenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Switch from './src/switch.vue' | ||
|
||
Switch.install = function (Vue) { | ||
Vue.component(Switch.name, Switch) | ||
} | ||
|
||
export default Switch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import TabPane from '../tabs/src/tab-pane.vue' | ||
|
||
TabPane.install = function (Vue) { | ||
Vue.component(TabPane.name, TabPane) | ||
} | ||
|
||
export default TabPane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Table from './src/table.vue' | ||
|
||
Table.install = function (Vue) { | ||
Vue.component(Table.name, Table) | ||
} | ||
|
||
export default Table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Tabs from './src/tabs.vue' | ||
import TabPane from './src/tab-pane.vue' | ||
|
||
export { | ||
Tabs, | ||
TabPane | ||
Tabs.install = function (Vue) { | ||
Vue.component(Tabs.name, Tabs) | ||
} | ||
|
||
export default Tabs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Tag from './src/tag.vue' | ||
|
||
Tag.install = function (Vue) { | ||
Vue.component(Tag.name, Tag) | ||
} | ||
|
||
export default Tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
const Textarea = require('./src/textarea.vue') | ||
|
||
Textarea.install = function (Vue) { | ||
Vue.component(Textarea.name, Textarea) | ||
} | ||
|
||
export default Textarea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import TimelineItem from '../timeline/src/timeline-item.vue' | ||
|
||
TimelineItem.install = function (Vue) { | ||
Vue.component(TimelineItem.name, TimelineItem) | ||
} | ||
|
||
export default TimelineItem |
Oops, something went wrong.