moved property controls
This commit is contained in:
parent
5f6aeb55f8
commit
14bee4aadd
|
|
@ -3,7 +3,7 @@ import { connect } from "react-redux";
|
|||
import { AppState } from "../../reducers";
|
||||
import PropertyControlFactory from "../../utils/PropertyControlFactory";
|
||||
import _ from "lodash";
|
||||
import { ControlProps } from "../propertyControls/BaseControl";
|
||||
import { ControlProps } from "../../propertyControls/BaseControl";
|
||||
import { PropertySection } from "../../reducers/entityReducers/propertyPaneConfigReducer";
|
||||
import { updateWidgetProperty } from "../../actions/controlActions";
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Controls are higher order components that update a widgets property
|
||||
*/
|
||||
import { Component } from "react";
|
||||
import { ControlType } from "../../constants/PropertyControlConstants";
|
||||
import { ControlType } from "../constants/PropertyControlConstants";
|
||||
import _ from "lodash";
|
||||
|
||||
abstract class BaseControl<T extends ControlProps> extends Component<T> {
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { SyntheticEvent } from "react";
|
||||
import BaseControl, { ControlProps } from "./BaseControl";
|
||||
import { ControlType } from "../../constants/PropertyControlConstants";
|
||||
import { ControlType } from "../constants/PropertyControlConstants";
|
||||
import { Button, MenuItem } from "@blueprintjs/core";
|
||||
import { Select, IItemRendererProps } from "@blueprintjs/select";
|
||||
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
import React from "react";
|
||||
import BaseControl, { ControlProps } from "./BaseControl";
|
||||
import { ControlType } from "../../constants/PropertyControlConstants";
|
||||
import { ControlType } from "../constants/PropertyControlConstants";
|
||||
import { InputGroup } from "@blueprintjs/core";
|
||||
import { InputType } from "../../widgets/InputWidget";
|
||||
import { InputType } from "../widgets/InputWidget";
|
||||
|
||||
class InputTextControl extends BaseControl<InputControlProps> {
|
||||
render() {
|
||||
|
|
@ -4,9 +4,9 @@ import {
|
|||
ReduxAction,
|
||||
} from "../../constants/ReduxActionConstants";
|
||||
import PropertyPaneConfigResponse from "../../mockResponses/PropertyPaneConfigResponse";
|
||||
import { InputControlProps } from "../../pages/propertyControls/InputTextControl";
|
||||
import { DropDownControlProps } from "../../pages/propertyControls/DropDownControl";
|
||||
import { ControlProps } from "../../pages/propertyControls/BaseControl";
|
||||
import { InputControlProps } from "../../propertyControls/InputTextControl";
|
||||
import { DropDownControlProps } from "../../propertyControls/DropDownControl";
|
||||
import { ControlProps } from "../../propertyControls/BaseControl";
|
||||
|
||||
const initialState: PropertyPaneConfigState = PropertyPaneConfigResponse;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ export function* evaluateJSONPathSaga(jsonPath: string): any {
|
|||
|
||||
export function* executeAPIQueryActionSaga(apiAction: ActionPayload) {
|
||||
const api: PageAction = yield select(getAction, apiAction.actionId);
|
||||
|
||||
const executeActionRequest: ExecuteActionRequest = {
|
||||
actionId: apiAction.actionId,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
ControlProps,
|
||||
ControlData,
|
||||
ControlFunctions,
|
||||
} from "../pages/propertyControls/BaseControl";
|
||||
} from "../propertyControls/BaseControl";
|
||||
|
||||
class PropertyControlFactory {
|
||||
static controlMap: Map<ControlType, ControlBuilder<ControlProps>> = new Map();
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@ import React from "react";
|
|||
import PropertyControlFactory from "./PropertyControlFactory";
|
||||
import InputTextControl, {
|
||||
InputControlProps,
|
||||
} from "../pages/propertyControls/InputTextControl";
|
||||
} from "../propertyControls/InputTextControl";
|
||||
import DropDownControl, {
|
||||
DropDownControlProps,
|
||||
} from "../pages/propertyControls/DropDownControl";
|
||||
} from "../propertyControls/DropDownControl";
|
||||
|
||||
class PropertyControlRegistry {
|
||||
static registerPropertyControlBuilders() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user