|
1 |
| -import {BoolCodeControl, StringControl} from "comps/controls/codeControl"; |
2 |
| -import {withDefault} from "comps/generators"; |
3 |
| -import {UICompBuilder} from "comps/generators/uiCompBuilder"; |
| 1 | +import { BoolCodeControl, StringControl } from "comps/controls/codeControl"; |
| 2 | +import { withDefault } from "comps/generators"; |
| 3 | +import { UICompBuilder } from "comps/generators/uiCompBuilder"; |
4 | 4 | import {
|
5 | 5 | disabledPropertyView,
|
6 | 6 | hiddenPropertyView,
|
7 | 7 | loadingPropertyView,
|
8 | 8 | } from "comps/utils/propertyUtils";
|
9 |
| -import {Section, sectionNames} from "lowcoder-design"; |
10 |
| -import {trans} from "i18n"; |
| 9 | +import { Section, sectionNames } from "lowcoder-design"; |
| 10 | +import { trans } from "i18n"; |
11 | 11 | import styled from "styled-components";
|
12 |
| -import {ChangeEventHandlerControl} from "../../controls/eventHandlerControl"; |
13 |
| -import { |
14 |
| - CommonNameConfig, |
15 |
| - NameConfig, |
16 |
| - withExposingConfigs, |
17 |
| -} from "../../generators/withExposing"; |
18 |
| -import { |
19 |
| - Button100, |
20 |
| - ButtonCompWrapper, |
21 |
| - buttonRefMethods, |
22 |
| -} from "./buttonCompConstants"; |
23 |
| -import {IconControl} from "comps/controls/iconControl"; |
24 |
| -import { |
25 |
| - AlignWithStretchControl, |
26 |
| - LeftRightControl, |
27 |
| -} from "comps/controls/dropdownControl"; |
| 12 | +import { ChangeEventHandlerControl } from "../../controls/eventHandlerControl"; |
| 13 | +import { CommonNameConfig, NameConfig, withExposingConfigs } from "../../generators/withExposing"; |
| 14 | +import { Button100, ButtonCompWrapper, buttonRefMethods } from "./buttonCompConstants"; |
| 15 | +import { IconControl } from "comps/controls/iconControl"; |
| 16 | +import { AlignWithStretchControl, LeftRightControl } from "comps/controls/dropdownControl"; |
28 | 17 | import {booleanExposingStateControl} from "comps/controls/codeStateControl";
|
29 | 18 | import {
|
30 | 19 | AnimationStyle,
|
31 | 20 | AnimationStyleType,
|
32 | 21 | ToggleButtonStyle,
|
33 | 22 | } from "comps/controls/styleControlConstants";
|
34 |
| -import {styleControl} from "comps/controls/styleControl"; |
35 |
| -import {BoolControl} from "comps/controls/boolControl"; |
36 |
| -import {RefControl} from "comps/controls/refControl"; |
37 |
| -import React, {useContext} from "react"; |
38 |
| -import {EditorContext} from "comps/editorState"; |
| 23 | +import { styleControl } from "comps/controls/styleControl"; |
| 24 | +import { BoolControl } from "comps/controls/boolControl"; |
| 25 | +import { RefControl } from "comps/controls/refControl"; |
| 26 | +import React, { useContext } from "react"; |
| 27 | +import { EditorContext } from "comps/editorState"; |
39 | 28 |
|
40 | 29 | const IconWrapper = styled.div`
|
41 | 30 | display: flex;
|
|
0 commit comments