repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Picker/components/Picker.js
src/components/DataEntry/Picker/components/Picker.js
/** * Created by Aus on 2017/5/6. */ import React from 'react' import classNames from 'classnames' import PickerView from 'components/DataEntry/PickerView/' import Touchable from 'rc-touchable' import '../style/picker.scss' // 选择器组件 class Picker extends React.Component { constructor (props) { super(props...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Switch/index.js
src/components/DataEntry/Switch/index.js
/** * Created by Aus on 2017/7/7. */ import Switch from './components/Switch' export default Switch;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Switch/components/Switch.js
src/components/DataEntry/Switch/components/Switch.js
/** * Created by Aus on 2017/4/11. */ import React from 'react' import classNames from 'classnames' import Touchable from 'rc-touchable' import '../style/index.scss' // 滑动开关组件 class Switch extends React.Component { constructor (props) { super(props); let checked = true; // 如果传入checked 说...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/PickerView/index.js
src/components/DataEntry/PickerView/index.js
/** * Created by Aus on 2017/7/7. */ import PickerView from './components/PickerView' export default PickerView;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/PickerView/components/PickerView.js
src/components/DataEntry/PickerView/components/PickerView.js
/** * Created by Aus on 2017/5/24. */ import React from 'react' import PickerColumn from './PickerColumn' import '../style/picker-view.scss' // 递归寻找value function getNewValue (tree, oldValue, newValue, deep) { // 遍历tree let has; tree.map((item, i)=>{ if(item.value === oldValue[deep]) { ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/PickerView/components/PickerColumn.js
src/components/DataEntry/PickerView/components/PickerColumn.js
/** * Created by Aus on 2017/5/25. */ import React from 'react' import ZScroller from 'zscroller' import classNames from 'classnames' import '../style/picker-column.scss' // picker-view 中的列 class PickerColumn extends React.Component { constructor (props) { super(props); this.state = {}; } ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Uploader/index.js
src/components/DataEntry/Uploader/index.js
/** * Created by Aus on 2017/7/5. */ import Uploader from './components/Uploader' export default Uploader;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Uploader/components/Uploader.js
src/components/DataEntry/Uploader/components/Uploader.js
/** * Created by Aus on 2017/7/4. */ import React from 'react' import EXIF from 'exif-js' import Figure from 'components/DataEntry/Figure/' import Toast from 'components/Feedback/Toast/' import '../style/uploader.scss' // 统计img总数 防止重复 let imgNumber = 0; // 生成唯一的id const getUuid = () => { return 'img-' + new Dat...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Figure/index.js
src/components/DataEntry/Figure/index.js
/** * Created by Aus on 2017/11/6. */ import Figure from './components/Figure' export default Figure
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Figure/components/Figure.js
src/components/DataEntry/Figure/components/Figure.js
/** * Created by Aus on 2017/7/6. */ import React from 'react' import classNames from 'classnames' import '../style/figure.scss' // Figure就是每个图片的容器 以及实现预览的容器 class Figure extends React.Component { constructor(props) { super(props); this.state = {}; this.handlePreview = this.handlePreview....
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Button/index.js
src/components/DataEntry/Button/index.js
/** * Created by Aus on 2017/7/7. */ import Button from './components/Button' export default Button;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataEntry/Button/components/Button.js
src/components/DataEntry/Button/components/Button.js
/** * Created by Aus on 2017/4/7. */ import React from 'react' import classNames from 'classnames' import Touchable from 'rc-touchable' import '../style/index.scss' // button 组件 const Button = (props) => { const {prefixCls, type, disabled, group, inline, loading, activeClassName, iconClass, className, onClick, c...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Gesture/Touchable.js
src/components/Gesture/Touchable.js
/** * Created by Aus on 2017/4/6. */ import React from 'react' // 根据原生触摸事件 封装手势事件 class Touchable extends React.Component { constructor (props) { super(props); this.state = { startX: 0, // touchstart时 记录下初始位置 X Y startY: 0, startTimeStamp: 0, // 按下去的一瞬间的时刻 ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Carousel/index.js
src/components/DataDisplay/Carousel/index.js
/** * Created by Aus on 2017/7/8. */ import Carousel from './components/Carousel' export default Carousel;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Carousel/util/index.js
src/components/DataDisplay/Carousel/util/index.js
/** * Created by Aus on 2017/11/10. */ // 简易实现jq animate // 不断调用setInterval 实现动画 export const animationFunc = (obj, style, time, callback) => { const currentStyle = obj.style; const diffObj = {}; const step = 20, intervalNum = time / step; let num = 0; for(let i in style){ diffObj[i] = (N...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Carousel/components/Carousel.js
src/components/DataDisplay/Carousel/components/Carousel.js
/** * Created by Aus on 2017/6/16. */ import React from 'react' import Hammer from 'hammerjs' import classNames from 'classnames' import {animationFunc} from '../util/' import '../style/carousel.scss' class Carousel extends React.Component { constructor (props) { super(props); this.state = { ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/List/index.js
src/components/DataDisplay/List/index.js
import List from './components/List' export default List;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/List/components/Item.js
src/components/DataDisplay/List/components/Item.js
/** * Created by Aus on 2017/4/1. */ import React from 'react' import classNames from 'classnames' import Touchable from 'rc-touchable' import '../style/item.scss' const Item = (props) => { const {prefixCls, className, activeClassName, thumb, extra, subtitle, arrow, wrap, disabled, onClick, onLongPress, children...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/List/components/List.js
src/components/DataDisplay/List/components/List.js
/** * Created by Aus on 2017/4/1. */ import React from 'react' import Item from './Item' import classNames from 'classnames' import '../style/list.scss' // 用于包裹item的外层组件 const List = (props) => { const { prefixCls, className, renderHeader, renderFooter, children, ...restProps } = props; const wrapClass = cla...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Tag/index.js
src/components/DataDisplay/Tag/index.js
/** * Created by Aus on 2017/7/10. */ import Tag from './components/Tag' export default Tag;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Tag/components/Tag.js
src/components/DataDisplay/Tag/components/Tag.js
/** * Created by Aus on 2017/6/22. */ import React from 'react' import classNames from 'classnames' import Touchable from 'rc-touchable' import '../style/index.scss' const Tag = (props) => { const {content, selected, closeable, disabled, onClick, onClose, style} = props; const handleClick = () => { ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/ListTitle/index.js
src/components/DataDisplay/ListTitle/index.js
/** * Created by Aus on 2017/7/14. */ import ListTitle from './components/ListTitle' export default ListTitle;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/ListTitle/components/ListTitle.js
src/components/DataDisplay/ListTitle/components/ListTitle.js
/** * Created by Aus on 2017/4/1. */ import React from 'react' import classNames from 'classnames' import '../style/index.scss' const ListTitle = (props) => { const {title, align} = props; return ( <div className={classNames(['zby-list-title', {[align]: align}])}>{title}</div> ) }; // 用于展示列表最上方...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Tooltip/index.js
src/components/DataDisplay/Tooltip/index.js
/** * Created by Aus on 2017/11/13. */ import Tooltip from './components/Tooltip' export default Tooltip;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Tooltip/util/index.js
src/components/DataDisplay/Tooltip/util/index.js
/** * Created by Aus on 2017/11/16. */ export const getTipPosition = (elementPosition, titlePosition, direct) => { const result = {}; if(elementPosition === undefined || titlePosition === undefined) return result; const {tipWidth, tipHeight} = titlePosition; const {width, height, x, y} = elementPosi...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Tooltip/components/StateComponent.js
src/components/DataDisplay/Tooltip/components/StateComponent.js
/** * Created by Aus on 2017/11/16. */ import React from 'react' // 不能给传入的children增加div // 但是又要获取其真实 只能用ref // 无状态组件没有this 不能绑定ref // 转化一下 邦到一个有状态组件上 class StateComponent extends React.Component { constructor (props) { super(props); } render () { return this.props.component; } } expo...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Tooltip/components/Tooltip.js
src/components/DataDisplay/Tooltip/components/Tooltip.js
/** * Created by Aus on 2017/11/13. */ import React from 'react' import ReactDOM from 'react-dom' import classNames from 'classnames' import Hammer from 'hammerjs' import StateComponent from './StateComponent' import {getTipPosition, getTitleDOMPosition} from '../util/' import '../style/tooltip.scss' let totalZIndex...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Badge/index.js
src/components/DataDisplay/Badge/index.js
/** * Created by Aus on 2017/11/20. */ import Badge from './components/Badge' export default Badge;
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/DataDisplay/Badge/components/Badge.js
src/components/DataDisplay/Badge/components/Badge.js
/** * Created by Aus on 2017/11/20. */ import React from 'react' import '../style/badge.scss' const Badge = (props) => { const {prefixCls, text, type, overflowCount, style, children} = props; let count = text; if(type === 'dot'){ return ( <div className={`${prefixCls}-wrap`}> ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/index.js
src/components/Form/index.js
/** * Created by Aus on 2017/7/17. */ import Input from './components/Input' import TextArea from './components/TextArea' import DateRange from './components/DateRange' import DateTime from './components/DateTime' import Select from './components/Select' import Checkbox from './components/Checkbox' import Number from...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/util/index.js
src/components/Form/util/index.js
/** * Created by Aus on 2017/11/28. */
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Switch.js
src/components/Form/components/Switch.js
/** * Created by Aus on 2017/7/31. */ import React from 'react' import classNames from 'classnames' import { default as Sw } from '../../DataEntry/Switch/' import '../style/form.scss' const Switch = (props) => { const {required, labelName, readOnly, value, controlled, attachedText, theme, onChange} = props; ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Select.js
src/components/Form/components/Select.js
/** * Created by Aus on 2017/7/19. */ import React from 'react' import Picker from '../../DataEntry/Picker/' import List from '../../DataDisplay/List/' import classNames from 'classnames' import '../style/form.scss' const Select = (props) => { const {required, labelName, value, data, readOnly, error, onChange} =...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Func.js
src/components/Form/components/Func.js
/** * Created by Aus on 2017/8/8. */ // 表单添加报错 export function showError (errorText) { const errorBox = document.createElement('div'); errorBox.className = 'zby-form-error'; errorBox.innerText = errorText; document.body.appendChild(errorBox); } export function clearError () { document.querySelect...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Input.js
src/components/Form/components/Input.js
/** * Created by Aus on 2017/7/17. */ import React from 'react' import classNames from 'classnames' import Icon from 'component-font-awesome' import FormLineHOC from './FormLineHOC' const feedbackIconMap = { success: 'check-circle', warning: 'exclamation-circle', wrong: 'times-circle', loading: 'circ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/TextArea.js
src/components/Form/components/TextArea.js
/** * Created by Aus on 2017/7/18. */ import React from 'react' import classNames from 'classnames' import '../style/form.scss' import {showError, clearError} from './Func' const TextArea = (props) => { const {required, labelName, readOnly, controlled, value, placeHolder, error, onChange} = props; function ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/DateTime.js
src/components/Form/components/DateTime.js
/** * Created by Aus on 2017/7/26. */ import React from 'react' import classNames from 'classnames' import DatePicker from '../../DataEntry/DataPicker/' import List from '../../DataDisplay/List/' import '../style/form.scss' const DateTime = (props) => { const {required, labelName, value, readOnly, kind, onChange...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Form.js
src/components/Form/components/Form.js
/** * Created by Aus on 2017/8/1. */ import React from 'react' import {Input, TextArea, Switch, DateRange, DateTime, Select, Checkbox, Validate} from '../index' import '../style/form.scss' // Form为非受控组件 // 无法动态删除增加表单项 // 以及实时掌控表单数据等问题 // 而且对于非输入框表单项 怎么显示错误信息是个问题 // 所以Form适合简单的表单场景 class Form extends React.Compon...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/DateRange.js
src/components/Form/components/DateRange.js
/** * Created by Aus on 2017/7/24. */ import React from 'react' import classNames from 'classnames' import DatePicker from '../../DataEntry/DataPicker/' import List from '../../DataDisplay/List/' import moment from 'moment' import '../style/form.scss' const DateRange = (props) => { const {required, startLabelNam...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Checkbox.js
src/components/Form/components/Checkbox.js
/** * Created by Aus on 2017/7/27. */ import React from 'react' import classNames from 'classnames' import '../style/form.scss' const Checkbox = (props) => { const {required, labelName, value, options, readOnly, onChange} = props; const itemDOM = []; function handleChange (targetValue) { if(val...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/FormLineHOC.js
src/components/Form/components/FormLineHOC.js
/** * Created by Aus on 2017/12/1. */ import React from 'react' import classNames from 'classnames' import Icon from 'component-font-awesome' import Tooltip from 'components/DataDisplay/Tooltip/' import '../style/form.scss' // 生成表单的HOC export default function FormLineHOC(WrappedComponent) { // 反向继承 return cl...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Number.js
src/components/Form/components/Number.js
/** * Created by Aus on 2017/7/31. */ import React from 'react' import classNames from 'classnames' import '../style/form.scss' const Number = (props) => { const {required, labelName, readOnly, controlled, value, placeHolder, unit, onChange} = props; function handleChange (e) { onChange({value: e.ta...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Form/components/Validate.js
src/components/Form/components/Validate.js
/** * Created by Aus on 2017/8/2. */ // 常规的验证方法 根据给定的数据来验证 // 支持的验证类型有:必填 长度 数值 自定义 // Validate([ // {name: '', value: '', require: true}, // 必填验证 // {name: '', value: '', require: true, errorText: ''}, // 自定义报错文案 // {name: '', value: '', min: '', max: ''}, // 长度验证 // {name: '', value: '', type: 'numb...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/components/Tools/Tools.js
src/components/Tools/Tools.js
/** * Created by Aus on 2017/4/1. */ import { browserHistory } from 'react-router' const Tool = { linkTo (path) { browserHistory.push(path); } }; export default Tool
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/layout/index.js
src/layout/index.js
import React from 'react' import 'normalize.css' import 'sass/index.scss' import 'sass/component.scss' import ReactCSSTransitionGroup from 'react-addons-css-transition-group' require('font-awesome/css/font-awesome.css'); class Layout extends React.Component { render () { return ( <ReactCSSTran...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/AppContainer.js
src/containers/AppContainer.js
// 项目的根组件 import React, { Component } from 'react' import { browserHistory, Router } from 'react-router' class AppContainer extends Component { // 验证参数 static propTypes = { routes : React.PropTypes.object.isRequired }; // 禁止reRender shouldComponentUpdate () { return false } render () { const...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Feedback/PopoverPage.js
src/containers/Feedback/PopoverPage.js
/** * Created by Aus on 2017/9/6. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import Button from '../../components/DataEntry/Button/components/Button' import Popover from '../../components/Feedback/Popover/' import Tools from '../../components/Tools/Tools' const Popov...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/DataDisplay/TagPage.js
src/containers/DataDisplay/TagPage.js
/** * Created by Aus on 2017/6/22. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import Tools from '../../components/Tools/Tools' import Tag from '../../components/DataDisplay/Tag/' const handleTagClick = (item) => { console.log(item); }; const tags = [ {conten...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/DataDisplay/ListPage.js
src/containers/DataDisplay/ListPage.js
/** * Created by Aus on 2017/4/1. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import List from '../../components/DataDisplay/List/' import Tools from '../../components/Tools/Tools' const Item = List.Item; const ListPage = () => { return ( <div className="...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/TextAreaPage.js
src/containers/Form/TextAreaPage.js
/** * Created by Aus on 2017/7/18. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {TextArea} from '../../components/Form/' import Tools from '../../components/Tools/Tools' class TextAreaPage extends React.Component { constructor (props) { super(props);...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/FormPage.js
src/containers/Form/FormPage.js
/** * Created by Aus on 2017/8/1. */ import React from 'react' import {Form} from '../../components/Form/' import Tools from '../../components/Tools/Tools' import Button from '../../components/DataEntry/Button' import Toast from '../../components/Feedback/Toast/components/Toast' import moment from 'moment' class For...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/NumberPage.js
src/containers/Form/NumberPage.js
/** * Created by Aus on 2017/7/31. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {Number} from '../../components/Form/' import Tools from '../../components/Tools/Tools' class NumberPage extends React.Component { constructor (props) { super(props); ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/DateTimePage.js
src/containers/Form/DateTimePage.js
/** * Created by Aus on 2017/7/26. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {DateTime} from '../../components/Form/' import Tools from '../../components/Tools/Tools' import moment from 'moment' class DateTimePage extends React.Component { constructor (pr...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/DateRangePage.js
src/containers/Form/DateRangePage.js
/** * Created by Aus on 2017/7/25. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {DateRange} from '../../components/Form/' import Tools from '../../components/Tools/Tools' import moment from 'moment' class DataRangePage extends React.Component { constructor (...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/SwitchPage.js
src/containers/Form/SwitchPage.js
/** * Created by Aus on 2017/7/31. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {Switch} from '../../components/Form/' import Tools from '../../components/Tools/Tools' class SwitchPage extends React.Component { constructor (props) { super(props); ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/CheckboxPage.js
src/containers/Form/CheckboxPage.js
/** * Created by Aus on 2017/7/27. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {Checkbox} from '../../components/Form/' import Tools from '../../components/Tools/Tools' class CheckboxPage extends React.Component { constructor (props) { super(props);...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/src/containers/Form/SelectPage.js
src/containers/Form/SelectPage.js
/** * Created by Aus on 2017/7/19. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import {Select} from '../../components/Form/' import Tools from '../../components/Tools/Tools' class SelectPage extends React.Component { constructor (props) { super(props); ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/build/webpack-compiler.js
build/webpack-compiler.js
const webpack = require('webpack') const debug = require('debug')('app:build:webpack-compiler') const config = require('../config') function webpackCompiler (webpackConfig, statsFormat) { statsFormat = statsFormat || config.compiler_stats return new Promise((resolve, reject) => { const compiler = webpack(webp...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/build/webpack.config.js
build/webpack.config.js
const webpack = require('webpack') const HtmlWebpackPlugin = require('html-webpack-plugin') const ExtractTextPlugin = require('extract-text-webpack-plugin') const config = require('../config') const px2rem = require('postcss-px2rem'); const autoprefixer = require('autoprefixer'); const debug = require('debug')('app:web...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/bin/compile.js
bin/compile.js
const fs = require('fs-extra') const debug = require('debug')('app:bin:compile') const webpackCompiler = require('../build/webpack-compiler') const webpackConfig = require('../build/webpack.config') const config = require('../config') const paths = config.utils_paths const compile = () => { return Promise.resolve()...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/bin/online.js
bin/online.js
/** * Created by Aus on 2017/11/8. */ // 压缩之后在线运行 const express = require('express') const webpack = require('webpack') const webpackConfig = require('../build/webpack.config') const config = require('../config') const debug = require('debug')('app:prod:online') const fs = require('fs-extra') const webpackCompiler = ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/bin/server.js
bin/server.js
const config = require('../config') const server = require('../server/main') const debug = require('debug')('app:bin:server') const port = config.server_port server.listen(port) debug(`🍺 项目顺利跑起来 http://localhost:${port}.`)
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/server/main.js
server/main.js
const express = require('express') const debug = require('debug')('app:server') const webpack = require('webpack') const webpackConfig = require('../build/webpack.config') const config = require('../config') const app = express() const paths = config.utils_paths app.use(require('connect-history-api-fallback')()) if ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/config/index.js
config/index.js
/* eslint key-spacing:0 spaced-comment:0 */ const path = require('path') const debug = require('debug')('app:config') const argv = require('yargs').argv const ip = require('ip') debug('Creating default configuration.') // ======================================================== // Default Configuration // ===========...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
Aus0049/react-component
https://github.com/Aus0049/react-component/blob/d7380ed03830e97dfd7851cc17615ad46b13a5b9/config/environments.js
config/environments.js
module.exports = { development: (config) => ({ compiler_public_path: `http://${config.server_host}:${config.server_port}/` }), production: (config) => ({ compiler_public_path: '/', compiler_fail_on_warning: false, compiler_hash_type: 'chunkhash', compiler_devtool: null, compiler_stats: { ...
javascript
MIT
d7380ed03830e97dfd7851cc17615ad46b13a5b9
2026-01-05T03:37:00.590105Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/DiscordBot.js
src/DiscordBot.js
const path = require("path") const Discord = require("discord.js-commando") const request = require("request-promise") const config = require("./data/client.json") const DiscordServer = require("./DiscordServer") const { Cache } = require("./GlobalCache") const requestDebug = require("request-debug") const SettingProvi...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/DiscordMember.js
src/DiscordMember.js
/* global Cache */ const { stripIndents } = require("common-tags") const config = require("./data/client.json") const Util = require("./Util") const fs = require("fs") const path = require("path") const request = require("request-promise").defaults({ pool: { maxSockets: Infinity }, }) let DiscordServer const Verifi...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/UpdateServer.js
src/UpdateServer.js
const express = require("express") module.exports = // This function starts the update server. This is used // to cause the bot to download new information about a // target user and update the user's state in all servers. function (shardingManager, config) { const server = express() server.get("/upda...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/proxy.js
src/proxy.js
/* eslint-disable */ // A file for testing requests through fiddler. Add `require('./proxy')()` to the top of index.js to enable this const url = require("url"), http = require("http"), env = process.env, proxy = { protocol: "http:", hostname: "127.0.0.1", port: 8888, }, proxyRequests = function (...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/index.js
src/index.js
// This file is the entry point for the bot. const path = require("path") const request = require("request-promise") const Discord = require("discord.js") const { GlobalCache } = require("./GlobalCache") const config = require("./data/client.json") const updateServer = require("./UpdateServer.js") const Util = require...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/GlobalCache.js
src/GlobalCache.js
const Discord = require("discord.js") const cacheTTLs = { blacklists: Infinity, bindings: 120000, groups: 360000, users: 45000, } /** * The GlobalCache is a singleton that holds an in-memory cache that will hold information * from the sub-processes (shards). It is done on the master process so as to not frag...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/VirtualGroups.js
src/VirtualGroups.js
/* global Cache */ const request = require("request-promise") // VirtualGroups can be used in place of group IDs for // group bindings. They are defined as keys in the // VirtualGroups object. It must be a function that // returns true or false. /** * Check if the given user is in the Roblox Dev Forum. * * @param...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/Util.js
src/Util.js
const crypto = require("crypto") /** * @module Util */ module.exports = { /** * Performs string formatting for things like custom nicknames. * * @param {string} formatString The string to format (contains replacement strings) * @param {object} data The data to replace the string replacements with * ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/Shard.js
src/Shard.js
// This file is the entry point for Shard processes. const config = require("./data/client.json") const DiscordBot = require("./DiscordBot") // Instantiate the bot. const discordBot = new DiscordBot() // Listen for when we need to globally update a member // from the Update Server. process.on("message", (msg) => { ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/DiscordServer.js
src/DiscordServer.js
/* global Cache */ const path = require("path") const fs = require("mz/fs") const request = require("request-promise") const VirtualGroups = require("./VirtualGroups.js") const DiscordMember = require("./DiscordMember") const Util = require("./Util") const config = require("./data/client.json") // The default setting...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/SettingProvider.js
src/commands/SettingProvider.js
class SettingProvider { async init(client) { this.bot = client.discordBot client.on("commandPrefixChange", (guild, prefix) => { this.set(guild, "prefix", prefix) }) } async getSettings(guild) { return (await this.bot.getServer(guild.id)).getSetting("commando") || {} } async setSetting...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/Command.js
src/commands/Command.js
const Commando = require("discord.js-commando") module.exports = class Command extends Commando.Command { constructor(client, info) { info.group = "rover" info.guildOnly = info.guildOnly == null ? true : info.guildOnly info.memberName = info.name info.argsPromptLimit = 1 super(client, info) ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/CreateGroupRanks.js
src/commands/rover/CreateGroupRanks.js
const request = require("request-promise") const Command = require("../Command") const config = require("../../data/client.json") module.exports = class CreateGroupRanksCommand extends Command { constructor(client) { super(client, { name: "creategroupranks", properName: "CreateGroupRanks", alia...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/HelpCommand.js
src/commands/rover/HelpCommand.js
const Command = require("../Command") module.exports = class HelpCommand extends Command { constructor(client) { super(client, { name: "roverhelp", properName: "RoVer", aliases: ["rover"], description: "Displays a description of RoVer", }) } async fn(msg) { const output = `We...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/WhoisCommand.js
src/commands/rover/WhoisCommand.js
/* global Cache */ const Command = require("../Command") const DiscordServer = require("../../DiscordServer") const VirtualGroups = require("../../VirtualGroups") const request = require("request-promise") const Accolades = require("../../Accolades.json") /** * Check if the given user is in the Roblox Dev Forum. * ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/BindGroupCommand.js
src/commands/rover/BindGroupCommand.js
const { stripIndents, oneLine } = require("common-tags") const Command = require("../Command") const Util = require("../../Util") const VirtualGroups = require("../../VirtualGroups.js") const config = require("../../data/client.json") module.exports = class BindGroupCommand extends Command { constructor(client) { ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/Subscription.js
src/commands/rover/Subscription.js
const Command = require("../Command") const Accolades = require("../../Accolades.json") module.exports = class SubscriptionCommand extends Command { constructor(client) { super(client, { name: "subscription", properName: "Subscription", aliases: ["recheck"], description: "Rechecks and dis...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/SupportCommand.js
src/commands/rover/SupportCommand.js
const Command = require("../Command") module.exports = class SupportServerCommand extends Command { constructor(client) { super(client, { name: "support", properName: "Support", aliases: ["server"], userPermissions: [], description: "Posts an invite link to the Official RoVe...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/NotVerifiedRoleCommand.js
src/commands/rover/NotVerifiedRoleCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class NotVerifiedRoleCommand extends Command { constructor(client) { super(client, { name: "unverifiedrole", properName: "UnverifiedRole", aliases: [ "roververifiedremovedrole", ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/NicknameGroupCommand.js
src/commands/rover/NicknameGroupCommand.js
const Command = require("../Command") const request = require("request-promise") const config = require("../../data/client.json") module.exports = class NicknameGroupCommand extends Command { constructor(client) { super(client, { name: "nicknamegroup", properName: "NicknameGroup", aliases: ["r...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/UnverifyCommand.js
src/commands/rover/UnverifyCommand.js
const Command = require("../Command") module.exports = class UnverifyCommand extends Command { constructor(client) { super(client, { name: "unverify", properName: "Unverify", description: "Displays instructions on how to unverify", aliases: ["unlink"], userPermissions: [], }) ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/WelcomeMessageCommand.js
src/commands/rover/WelcomeMessageCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class WelcomeMessageCommand extends Command { constructor(client) { super(client, { name: "welcomemessage", properName: "WelcomeMessage", aliases: ["roverwelcomemessage"], description: ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/BindingsCommand.js
src/commands/rover/BindingsCommand.js
const Command = require("../Command") const DiscordServer = require("../../DiscordServer") const Util = require("../../Util") module.exports = class BindingsCommand extends Command { constructor(client) { super(client, { name: "bindings", properName: "Bindings", aliases: ["listbindings", "rover...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/VerifiedRoleCommand.js
src/commands/rover/VerifiedRoleCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class VerifiedRoleCommand extends Command { constructor(client) { super(client, { name: "verifiedrole", properName: "VerifiedRole", aliases: ["roververifiedrole"], description: ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/InviteCommand.js
src/commands/rover/InviteCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class InviteCommand extends Command { constructor(client) { super(client, { name: "invite", properName: "Invite", aliases: ["roverinvite"], description: "Sends the user an invite link t...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/CreateVerifyChannelCommand.js
src/commands/rover/CreateVerifyChannelCommand.js
const { stripIndents } = require("common-tags") const Command = require("../Command") const Util = require("../../Util") module.exports = class CreateVerifyChannelCommand extends Command { constructor(client) { super(client, { name: "createverifychannel", properName: "CreateVerifyChannel", alia...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/PingCommand.js
src/commands/rover/PingCommand.js
const Command = require("../Command") module.exports = class PingCommand extends Command { constructor(client) { super(client, { name: "ping", properName: "Ping", description: "Ping the bot to see API latency", userPermissions: [], throttling: { usages: 1, duration: 10 }, // 1 usage...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/ReverifyCommand.js
src/commands/rover/ReverifyCommand.js
const Util = require("../../Util") const Command = require("../Command") module.exports = class ReverifyCommand extends Command { constructor(client) { super(client, { name: "reverify", properName: "Reverify", aliases: ["roverreverify"], description: "Displays instructions on how to rever...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/VerifyCommand.js
src/commands/rover/VerifyCommand.js
const Command = require("../Command") module.exports = class VerifyCommand extends Command { constructor(client) { super(client, { name: "verify", properName: "Verify", aliases: ["getroles", "getrole"], userPermissions: [], description: "Update the sender's roles and nickname.", ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/RestartCommand.js
src/commands/rover/RestartCommand.js
const Accolades = require("../../Accolades.json") const Command = require("../Command") const { ShardClientUtil } = require("discord.js") module.exports = class RestartCommand extends Command { constructor(client) { super(client, { name: "restart", properName: "Restart", description: "Restarts ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/UnbindAllGroupCommand.js
src/commands/rover/UnbindAllGroupCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class UnbindAllGroupCommand extends Command { constructor(client) { super(client, { name: "unbindall", properName: "UnbindAll", aliases: [ "roverunbindallgroupranks", "unbinda...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/AnnounceChannelCommand.js
src/commands/rover/AnnounceChannelCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class AnnounceChannelCommand extends Command { constructor(client) { super(client, { name: "announcechannel", properName: "AnnounceChannel", aliases: ["roverannouncechannel"], descripti...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/UnbindGroupCommand.js
src/commands/rover/UnbindGroupCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class UnbindGroupCommand extends Command { constructor(client) { super(client, { name: "unbind", properName: "Unbind", aliases: ["roverunbindgrouprank", "unbindgrouprank", "unbindrank"], ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/NicknameFormatCommand.js
src/commands/rover/NicknameFormatCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class NicknameFormatCommand extends Command { constructor(client) { super(client, { name: "nicknameformat", properName: "NicknameFormat", aliases: ["rovernicknameformat"], description: ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false
evaera/RoVer
https://github.com/evaera/RoVer/blob/49c55be0089433a15cee544d86d7d845532f6092/src/commands/rover/NicknameCommand.js
src/commands/rover/NicknameCommand.js
const Command = require("../Command") const config = require("../../data/client.json") module.exports = class NicknameCommand extends Command { constructor(client) { super(client, { name: "nickname", properName: "Nickname", aliases: ["rovernickname"], description: "`<on|off>` Set ...
javascript
Apache-2.0
49c55be0089433a15cee544d86d7d845532f6092
2026-01-05T03:37:01.581873Z
false