forked from p96170835/amis
Merge remote-tracking branch 'baidu/master'
This commit is contained in:
commit
4eb4c70b48
|
@ -71,7 +71,7 @@
|
|||
"redux": "^3.7.2",
|
||||
"setimmediate": "1.0.5",
|
||||
"sortablejs": "1.10.0",
|
||||
"tinymce": "5.2.1",
|
||||
"tinymce": "5.2.2",
|
||||
"tslib": "^1.10.0",
|
||||
"uncontrollable": "4.1.0",
|
||||
"video-react": "0.9.4"
|
||||
|
|
|
@ -48,12 +48,16 @@
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.disabled > a:first-child,
|
||||
&.is-disabled > a:first-child {
|
||||
color: $Tabs-onDisabled-color;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
pointer-events: none;
|
||||
&.disabled,
|
||||
&.is-disabled {
|
||||
cursor: not-allowed;
|
||||
|
||||
> a:first-child {
|
||||
color: $Tabs-onDisabled-color;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.active > a:first-child,
|
||||
|
|
|
@ -12,6 +12,8 @@ export interface ContainerProps extends FormControlProps {}
|
|||
sizeMutable: false
|
||||
})
|
||||
export class ContainerControlRenderer extends Container<ContainerProps> {
|
||||
static propsList: Array<string> = ['onChange'];
|
||||
|
||||
renderBody(): JSX.Element | null {
|
||||
const {
|
||||
renderFormItems,
|
||||
|
|
|
@ -20,7 +20,7 @@ const defaultHorizontal = {
|
|||
sizeMutable: false
|
||||
})
|
||||
export class GridRenderer extends Grid<GridProps> {
|
||||
static propsList: Array<string> = ['columns'];
|
||||
static propsList: Array<string> = ['columns', 'onChange'];
|
||||
static defaultProps = {};
|
||||
|
||||
renderChild(region: string, node: Schema, key: number, length: number) {
|
||||
|
|
|
@ -16,7 +16,7 @@ interface HBoxProps extends FormControlProps {
|
|||
sizeMutable: false
|
||||
})
|
||||
export class HBoxRenderer extends React.Component<HBoxProps, any> {
|
||||
static propsList: Array<string> = ['columns'];
|
||||
static propsList: Array<string> = ['columns', 'onChange'];
|
||||
static defaultProps: Partial<HBoxProps> = {};
|
||||
|
||||
renderColumn(column: any, key: number, length: number) {
|
||||
|
|
|
@ -10,6 +10,7 @@ import cx from 'classnames';
|
|||
name: 'panel-control'
|
||||
})
|
||||
export class PanelRenderer extends Panel {
|
||||
static propsList: Array<string> = ['onChange'];
|
||||
renderBody(): JSX.Element | null {
|
||||
const {
|
||||
render,
|
||||
|
|
|
@ -15,6 +15,7 @@ import {ServiceStore, IServiceStore} from '../../store/service';
|
|||
name: 'service-control'
|
||||
})
|
||||
export class ServiceRenderer extends BasicService {
|
||||
static propsList: Array<string> = ['onChange'];
|
||||
static contextType = ScopedContext;
|
||||
|
||||
componentWillMount() {
|
||||
|
|
|
@ -14,6 +14,7 @@ export class TabsRenderer extends Tabs {
|
|||
static defaultProps = {
|
||||
mountOnEnter: false // form 中的不按需渲染
|
||||
};
|
||||
static propsList: Array<string> = ['onChange', 'tabs'];
|
||||
|
||||
renderTab = (tab: any, props: any, key: number) => {
|
||||
const {
|
||||
|
|
Loading…
Reference in New Issue