Skip to content

Commit bbfc443

Browse files
fixed imports
1 parent 2016029 commit bbfc443

File tree

10 files changed

+15
-10
lines changed

10 files changed

+15
-10
lines changed

client/packages/lowcoder/src/comps/comps/buttonComp/buttonComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import {
2525
import { RefControl } from "comps/controls/refControl";
2626

2727
import React, { useContext } from "react";
28-
import { AnimationStyle, styleControl } from "@lowcoder-ee/index.sdk";
28+
import { AnimationStyle } from "@lowcoder-ee/comps/controls/styleControlConstants";
29+
import { styleControl } from "@lowcoder-ee/comps/controls/styleControl";
2930

3031
const FormLabel = styled(CommonBlueLabel)`
3132
font-size: 13px;

client/packages/lowcoder/src/comps/comps/buttonComp/dropdownComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
ButtonStyleControl,
2222
getButtonStyle,
2323
} from "./buttonCompConstants";
24-
import { styleControl } from "@lowcoder-ee/index.sdk";
24+
import { styleControl } from "@lowcoder-ee/comps/controls/styleControl";
2525

2626

2727
const StyledDropdownButton = styled(DropdownButton)`

client/packages/lowcoder/src/comps/comps/containerComp/containerComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ import { BoolCodeControl } from "comps/controls/codeControl";
1616
import { DisabledContext } from "comps/generators/uiCompBuilder";
1717
import React, { useContext } from "react";
1818
import { EditorContext } from "comps/editorState";
19-
import { AnimationStyle, styleControl } from "@lowcoder-ee/index.sdk";
19+
import { styleControl } from "@lowcoder-ee/comps/controls/styleControl";
20+
import { AnimationStyle } from "@lowcoder-ee/comps/controls/styleControlConstants";
2021

2122
export const ContainerBaseComp = (function () {
2223
const childrenMap = {

client/packages/lowcoder/src/comps/comps/containerComp/pageLayoutComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ import {
1818
ContainerCompBuilder,
1919
} from "../pageLayoutComp/pageLayoutCompBuilder";
2020
import { PageLayout } from "../pageLayoutComp/pageLayout";
21-
import { AnimationStyle, styleControl } from "@lowcoder-ee/index.sdk";
21+
import { styleControl } from "@lowcoder-ee/comps/controls/styleControl";
22+
import { AnimationStyle } from "@lowcoder-ee/comps/controls/styleControlConstants";
2223

2324
export const ContainerBaseComp = (function () {
2425
const childrenMap = {

client/packages/lowcoder/src/comps/comps/customComp/customComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import { EventData, EventTypeEnum } from "./types";
1212
import { hiddenPropertyView } from "comps/utils/propertyUtils";
1313
import { trans } from "i18n";
1414
import { EditorContext } from "comps/editorState";
15-
import { AnimationStyle, AnimationStyleType, CustomStyle, CustomStyleType, styleControl } from "@lowcoder-ee/index.sdk";
15+
import { AnimationStyle, AnimationStyleType, CustomStyle, CustomStyleType } from "@lowcoder-ee/comps/controls/styleControlConstants";
16+
import { styleControl } from "@lowcoder-ee/comps/controls/styleControl";
1617

1718
// TODO: eventually to embedd in container so we have styling?
1819
// TODO: support different starter templates for different frameworks (react, ANT, Flutter, Angular, etc)

client/packages/lowcoder/src/comps/comps/formComp/formComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ import { DisabledContext } from "comps/generators/uiCompBuilder";
5858
import { default as LoadingOutlined } from "@ant-design/icons/LoadingOutlined";
5959
import { messageInstance } from "lowcoder-design/src/components/GlobalInstances";
6060
import { styled } from "styled-components";
61-
import { AnimationStyle, styleControl } from "@lowcoder-ee/index.sdk";
61+
import { styleControl } from "@lowcoder-ee/comps/controls/styleControl";
62+
import { AnimationStyle } from "@lowcoder-ee/comps/controls/styleControlConstants";
6263

6364
const FormWrapper = styled.div`
6465
height: 100%;

client/packages/lowcoder/src/comps/comps/jsonComp/jsonExplorerComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import { hiddenPropertyView } from "comps/utils/propertyUtils";
1111
import { trans } from "i18n";
1212
import { EditorContext } from "comps/editorState";
1313
import { useContext } from "react";
14-
import { AnimationStyle, AnimationStyleType, styleControl } from "@lowcoder-ee/index.sdk";
14+
import { styleControl } from "@lowcoder-ee/comps/controls/styleControl";
15+
import { AnimationStyle, AnimationStyleType } from "@lowcoder-ee/comps/controls/styleControlConstants";
1516

1617
/**
1718
* JsonExplorer Comp

client/packages/lowcoder/src/comps/comps/listViewComp/listView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
import { ContextContainerComp } from "./contextContainerComp";
1919
import { ListViewImplComp } from "./listViewComp";
2020
import { getCurrentItemParams, getData } from "./listViewUtils";
21-
import { AnimationStyleType } from "@lowcoder-ee/index.sdk";
21+
import { AnimationStyleType } from "@lowcoder-ee/comps/controls/styleControlConstants";
2222

2323
const ListViewWrapper = styled.div<{ $style: any; $paddingWidth: string,$animationStyle:AnimationStyleType }>`
2424
height: 100%;

client/packages/lowcoder/src/comps/comps/meetingComp/controlButton.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ import { useEffect, useRef, useState } from "react";
3939
import ReactResizeDetector from "react-resize-detector";
4040

4141
import { useContext } from "react";
42-
import { BoolControl } from "@lowcoder-ee/index.sdk";
4342

4443
const Container = styled.div<{ $style: any }>`
4544
height: 100%;

client/packages/lowcoder/src/comps/comps/selectInputComp/radioCompConstants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { RefControl } from "comps/controls/refControl";
2222

2323
import { useContext } from "react";
2424
import { EditorContext } from "comps/editorState";
25-
import { withDefault } from "@lowcoder-ee/index.sdk";
25+
import { withDefault } from "@lowcoder-ee/comps/generators/simpleGenerators";
2626

2727
export const RadioLayoutOptions = [
2828
{ label: trans("radio.horizontal"), value: "horizontal" },

0 commit comments

Comments
 (0)