diff --git a/client/packages/lowcoder/src/comps/comps/transferComp.tsx b/client/packages/lowcoder/src/comps/comps/transferComp.tsx
index b009cf5ac..378a2f6fb 100644
--- a/client/packages/lowcoder/src/comps/comps/transferComp.tsx
+++ b/client/packages/lowcoder/src/comps/comps/transferComp.tsx
@@ -186,7 +186,7 @@ TransferBasicComp = class extends TransferBasicComp {
}
};
-export const transferComp = withExposingConfigs(TransferBasicComp, [
+export const TransferComp = withExposingConfigs(TransferBasicComp, [
new NameConfig("items", trans("transfer.items")),
new NameConfig("targetKeys", trans("transfer.targetKeys")),
new NameConfig("targerObject", trans("transfer.targerObject")),
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/FloatButton.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/FloatButton.tsx
new file mode 100644
index 000000000..3e94f40db
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/FloatButton.tsx
@@ -0,0 +1,61 @@
+import { FloatButtonComp } from "comps/comps/buttonComp/floatButtonComp"
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function FloatButtonExample() {
+ return (
+ <>
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/IconButton.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/IconButton.tsx
new file mode 100644
index 000000000..666e1ab68
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/IconButton.tsx
@@ -0,0 +1,68 @@
+import { IconComp } from "comps/comps/iconComp";
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function IconButtonExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/ToggleButton.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/ToggleButton.tsx
new file mode 100644
index 000000000..e9e65cf74
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/ToggleButton.tsx
@@ -0,0 +1,110 @@
+import { ToggleButtonComp } from "comps/comps/buttonComp/toggleButtonComp"
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function ToggleButtonExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/CalendarInputComp/Timer.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/CalendarInputComp/Timer.tsx
new file mode 100644
index 000000000..50b2f2d39
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/CalendarInputComp/Timer.tsx
@@ -0,0 +1,29 @@
+import { TimerComp } from "comps/comps/timerComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function TimerExample() {
+ return (
+ <>
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ColumnLayout.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ColumnLayout.tsx
new file mode 100644
index 000000000..7aaec0c2e
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ColumnLayout.tsx
@@ -0,0 +1,78 @@
+import { ColumnLayoutComp } from "comps/comps/columnLayout/columnLayout";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function ColumnLayoutExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/Container.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/Container.tsx
new file mode 100644
index 000000000..84e0dd6ab
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/Container.tsx
@@ -0,0 +1,46 @@
+import { ContainerComp } from "comps/comps/containerComp/containerComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function ContainerExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/PageLayout.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/PageLayout.tsx
new file mode 100644
index 000000000..7cc6a9113
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/PageLayout.tsx
@@ -0,0 +1,62 @@
+import { PageLayoutComp } from "comps/comps/containerComp/pageLayoutComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function PageLayoutExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ResponsiveLayout.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ResponsiveLayout.tsx
new file mode 100644
index 000000000..926c916df
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ResponsiveLayout.tsx
@@ -0,0 +1,49 @@
+import { ResponsiveLayoutComp } from "comps/comps/responsiveLayout/responsiveLayout";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function ResponsiveLayoutExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/TabbedContainer.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/TabbedContainer.tsx
new file mode 100644
index 000000000..4f51f953c
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/TabbedContainer.tsx
@@ -0,0 +1,127 @@
+import { TabbedContainerComp } from "comps/comps/tabs/tabbedContainerComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function TabbedContainerExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Audio.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Audio.tsx
new file mode 100644
index 000000000..ac0b62b3c
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Audio.tsx
@@ -0,0 +1,40 @@
+import { AudioComp } from "comps/comps/mediaComp/audioComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function AudioExample() {
+ return (
+ <>
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/ColorPicker.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/ColorPicker.tsx
new file mode 100644
index 000000000..d3db96d3c
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/ColorPicker.tsx
@@ -0,0 +1,116 @@
+import { ColorPickerComp } from "comps/comps/mediaComp/colorPickerComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function ColorPickerExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/ContentCard.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/ContentCard.tsx
new file mode 100644
index 000000000..40ce62bc2
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/ContentCard.tsx
@@ -0,0 +1,52 @@
+import { CardComp } from "comps/comps/containerComp/cardComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function ContentCardExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Signature.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Signature.tsx
new file mode 100644
index 000000000..f90c7ef5d
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Signature.tsx
@@ -0,0 +1,90 @@
+import { SignatureComp } from "comps/comps/signatureComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function SignatureExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Transfer.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Transfer.tsx
new file mode 100644
index 000000000..ec2236124
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Transfer.tsx
@@ -0,0 +1,20 @@
+import { TransferComp } from "comps/comps/transferComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function TransferExample() {
+ return (
+ <>
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Video.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Video.tsx
new file mode 100644
index 000000000..c62153911
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Video.tsx
@@ -0,0 +1,69 @@
+import { VideoComp } from "comps/comps/mediaComp/videoComp";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function VideoExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+ >
+ );
+ }
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/index.ts b/client/packages/lowcoder/src/pages/ComponentDoc/examples/index.ts
index 3dda7577c..1a8e04233 100644
--- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/index.ts
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/index.ts
@@ -1,5 +1,7 @@
import { UICompType } from "comps/uiCompRegistry";
import ButtonExample from "./ButtonComp/Button";
+import IconButtonExample from "./ButtonComp/IconButton";
+import ToggleButtonExample from "./ButtonComp/ToggleButton";
import InputExample from "./textInputComp/Input";
import PasswordExample from "./textInputComp/Password";
import TextAreaExample from "./textInputComp/TextArea";
@@ -33,9 +35,34 @@ import TimeRangeExample from "./CalendarInputComp/TimeRange";
import jsonSchemaFormExample from "./formComp/JSONSchemaform";
import NavigationExample from "./Navigation";
import IFrameExample from "./IFrame";
+import FloatButtonExample from "./ButtonComp/FloatButton";
+import AvatarExample from "./presentationComp/avatar";
+import AvatarGroupExample from "./presentationComp/avatarGroup";
+import TimerExample from "./CalendarInputComp/Timer";
+import AudioExample from "./MediaComp/Audio";
+import VideoExample from "./MediaComp/Video";
+import TreeExample from "./selectInputComp/Tree";
+import TreeSelectExample from "./selectInputComp/TreeSelect";
+import AutoCompleteExample from "./selectInputComp/AutoComplete";
+import ListViewExample from "./presentationComp/listView";
+import TimeLineExample from "./presentationComp/timeline";
+import CommentExample from "./presentationComp/comment";
+import ColorPickerExample from "./MediaComp/ColorPicker";
+import SignatureExample from "./MediaComp/Signature";
+import TransferExample from "./MediaComp/Transfer";
+import ResponsiveLayoutExample from "./ContainersComp/ResponsiveLayout";
+import PageLayoutExample from "./ContainersComp/PageLayout";
+import ColumnLayoutExample from "./ContainersComp/ColumnLayout";
+import TabbedContainerExample from "./ContainersComp/TabbedContainer";
+import ContainerExample from "./ContainersComp/Container";
+import ContentCardExample from "./MediaComp/ContentCard";
+
const examples: { [key in UICompType]?: React.FunctionComponent } = {
button: ButtonExample,
+ controlButton: IconButtonExample,
+ toggleButton: ToggleButtonExample,
+ floatingButton: FloatButtonExample,
input: InputExample,
textArea: TextAreaExample,
password: PasswordExample,
@@ -69,6 +96,26 @@ const examples: { [key in UICompType]?: React.FunctionComponent } = {
jsonSchemaForm: jsonSchemaFormExample,
navigation: NavigationExample,
iframe: IFrameExample,
+ avatar: AvatarExample,
+ avatarGroup: AvatarGroupExample,
+ timer: TimerExample,
+ audio: AudioExample,
+ video: VideoExample,
+ tree: TreeExample,
+ treeSelect: TreeSelectExample,
+ autocomplete: AutoCompleteExample,
+ listView: ListViewExample,
+ timeline: TimeLineExample,
+ comment: CommentExample,
+ colorPicker: ColorPickerExample,
+ signature: SignatureExample,
+ transfer: TransferExample,
+ responsiveLayout: ResponsiveLayoutExample,
+ pageLayout: PageLayoutExample,
+ columnLayout: ColumnLayoutExample,
+ tabbedContainer: TabbedContainerExample,
+ container: ContainerExample,
+ card: ContentCardExample,
};
export default examples;
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/avatar.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/avatar.tsx
new file mode 100644
index 000000000..c0949dc26
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/avatar.tsx
@@ -0,0 +1,174 @@
+import { AvatarComp } from "comps/comps/avatar";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+import { trans } from "i18n/design";
+
+export default function AvatarExample(){
+ const nameMap: Record = {
+ title: "title",
+ align: "align",
+ color: "color",
+ dashed: "dashed",
+ };
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/avatarGroup.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/avatarGroup.tsx
new file mode 100644
index 000000000..5e0995cf4
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/avatarGroup.tsx
@@ -0,0 +1,84 @@
+import { AvatarGroupComp } from "comps/comps/avatarGroup";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+import { trans } from "i18n/design";
+
+export default function AvatarGroupExample(){
+ const nameMap: Record = {
+ title: "title",
+ align: "align",
+ color: "color",
+ dashed: "dashed",
+ };
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}
\ No newline at end of file
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/chart.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/chart.tsx
index 4ae6fcda9..b7c85bfe1 100644
--- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/chart.tsx
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/chart.tsx
@@ -171,6 +171,7 @@ export default function ChartExample() {
compFactory={ChartCompWithDefault}
/>
+
+
+
+
+
+
+
>
);
}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/comment.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/comment.tsx
new file mode 100644
index 000000000..5f4d1ea61
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/comment.tsx
@@ -0,0 +1,58 @@
+import { CommentComp } from "comps/comps/commentComp/commentComp";
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function CommentExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/divider.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/divider.tsx
index 282ea94bc..10c65f83b 100644
--- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/divider.tsx
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/divider.tsx
@@ -19,7 +19,7 @@ export default function DividerExample() {
@@ -30,10 +30,9 @@ export default function DividerExample() {
title={trans("componentDoc.left")}
nameMap={nameMap}
config={{
+ style: {borderStyle: "solid", border: "#000",borderWidth: "2px"},
title: trans("componentDoc.imADivider"),
align: "left",
- color: "#222222",
- style: {border: "#000", borderWidth: "2px"},
}}
compFactory={DividerComp}
/>
@@ -43,7 +42,7 @@ export default function DividerExample() {
config={{
title: trans("componentDoc.imADivider"),
align: "center",
- color: "#222222",
+ style: {borderStyle: "solid", border: "#000",borderWidth: "2px"},
}}
compFactory={DividerComp}
/>
@@ -53,7 +52,7 @@ export default function DividerExample() {
config={{
title: trans("componentDoc.imADivider"),
align: "right",
- color: "#222222",
+ style: {borderStyle: "solid", border: "#000",borderWidth: "2px"},
}}
compFactory={DividerComp}
/>
@@ -61,23 +60,31 @@ export default function DividerExample() {
+
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/image.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/image.tsx
index 7bbf43127..f9836f559 100644
--- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/image.tsx
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/image.tsx
@@ -11,16 +11,16 @@ export default function ImageExample() {
description={trans("componentDoc.basicDemoDescription")}
>
+
>
);
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/listView.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/listView.tsx
new file mode 100644
index 000000000..d11cd2d82
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/listView.tsx
@@ -0,0 +1,22 @@
+import { ListViewComp } from "comps/comps/listViewComp/listViewComp";
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function ListViewExample() {
+ return (
+ <>
+
+
+
+ >
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/table.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/table.tsx
index 17d1b525c..4a050d0a7 100644
--- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/table.tsx
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/table.tsx
@@ -50,6 +50,7 @@ export default function TableExample() {
compFactory={TableComp}
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
>
);
}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/text.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/text.tsx
index a836f3cc9..16f3ee3f4 100644
--- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/text.tsx
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/text.tsx
@@ -2,6 +2,7 @@ import { TextComp } from "comps/comps/textComp";
import { trans } from "i18n";
import Example from "../../common/Example";
import ExampleGroup from "../../common/ExampleGroup";
+import { Left } from "icons";
export default function TextExample() {
const nameMap: Record = {
@@ -33,6 +34,52 @@ export default function TextExample() {
compFactory={TextComp}
/>
+
+
+
+
+
+
+
>
);
}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/timeline.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/timeline.tsx
new file mode 100644
index 000000000..34f87e1a9
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/timeline.tsx
@@ -0,0 +1,58 @@
+import { TimeLineComp } from "comps/comps/timelineComp/timelineComp";
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function TimeLineExample() {
+ return (
+ <>
+
+
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/AutoComplete.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/AutoComplete.tsx
new file mode 100644
index 000000000..5e05cf20f
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/AutoComplete.tsx
@@ -0,0 +1,24 @@
+import { AutoCompleteComp } from "comps/comps/autoCompleteComp/autoCompleteComp";
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function AutoCompleteExample() {
+ return (
+ <>
+
+
+
+ >
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/Tree.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/Tree.tsx
new file mode 100644
index 000000000..b81253b57
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/Tree.tsx
@@ -0,0 +1,264 @@
+import { TreeComp } from "comps/comps/treeComp/treeComp";
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function TreeExample() {
+ const blackListConfig: string[] = ["options.manual.manual"];
+ const options = {
+ optionType: "manual",
+ manual: {
+ manual: [
+ {
+ value: trans("componentDoc.appleOptionLabel"),
+ label: trans("componentDoc.appleOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.waterMelonOptionLabel"),
+ label: trans("componentDoc.waterMelonOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.berryOptionLabel"),
+ label: trans("componentDoc.berryOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.lemonOptionLabel"),
+ label: trans("componentDoc.lemonOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.coconutOptionLabel"),
+ label: trans("componentDoc.coconutOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ ],
+ },
+ };
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+
+ );
+}
diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/TreeSelect.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/TreeSelect.tsx
new file mode 100644
index 000000000..980d2f52c
--- /dev/null
+++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/TreeSelect.tsx
@@ -0,0 +1,298 @@
+import { TreeSelectComp } from "comps/comps/treeComp/treeSelectComp";
+import { trans } from "i18n";
+import Example from "../../common/Example";
+import ExampleGroup from "../../common/ExampleGroup";
+
+export default function TreeSelectExample() {
+ const blackListConfig: string[] = ["options.manual.manual"];
+ const options = {
+ optionType: "manual",
+ manual: {
+ manual: [
+ {
+ value: trans("componentDoc.appleOptionLabel"),
+ label: trans("componentDoc.appleOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.waterMelonOptionLabel"),
+ label: trans("componentDoc.waterMelonOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.berryOptionLabel"),
+ label: trans("componentDoc.berryOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.lemonOptionLabel"),
+ label: trans("componentDoc.lemonOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ {
+ value: trans("componentDoc.coconutOptionLabel"),
+ label: trans("componentDoc.coconutOptionLabel"),
+ disabled: "",
+ hidden: "",
+ },
+ ],
+ },
+ };
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}