diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/LinkButton.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/LinkButton.tsx index 53274fb85..306ae3062 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/LinkButton.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ButtonComp/LinkButton.tsx @@ -8,7 +8,7 @@ export default function LinkExample() { <> + - + + + + + + + + + + + + + + + + diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/CalendarInputComp/Calendar.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/CalendarInputComp/Calendar.tsx index 22375e860..b7547a974 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/CalendarInputComp/Calendar.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/CalendarInputComp/Calendar.tsx @@ -45,6 +45,15 @@ export default function CalendarExample() { }} compFactory={ChartCompWithDefault} /> + + + + + + + + + + + + + + + + + + + + + + ); } \ No newline at end of file diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GanttChart.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GanttChart.tsx index eac134170..100dc105f 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GanttChart.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GanttChart.tsx @@ -143,6 +143,77 @@ export default function GanttChartExample() { compFactory={ChartCompWithDefault} /> + + + + + + + + ); } \ No newline at end of file diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GaugeChart.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GaugeChart.tsx index 43d87a45d..3583210b7 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GaugeChart.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/GaugeChart.tsx @@ -170,6 +170,44 @@ const stageGuageOption = { ] }; +const chartStyle= { + background: "linear-gradient(135deg, #72afd3 0%, #96e6a1 100%)", + chartBorderColor: "#FDFAFA", + chartBorderStyle: "dashed", + chartBorderWidth: "2", + chartBoxShadow: "200", + chartShadowColor: "#3377FF" +} + +const titleStyle = { + chartBoxShadow: "9", + chartFontStyle: "Italic", + chartShadowColor: "#FFBD01", + chartTextColor: "#36B389", + chartTextSize: "30", + chartTextWeight: "Bold" +} + +const labelStyle = { + chartBoxShadow: "5", + chartFontFamily: "serif", + chartFontStyle: "Italic", + chartShadowColor: "#020101", + chartTextColor: "#FFFFFF", + chartTextSize: "20", + chartTextWeight: "bold" +} + +const legendStyle = { + chartBoxShadow: "5", + chartFontFamily: "serif", + chartFontStyle: "Italic", + chartShadowColor: "#FFD701", + chartTextColor: "#7A7A7B", + chartTextSize: "20", + chartTextWeight: "bold" +} + export default function GaugeChartExample() { return ( <> @@ -438,6 +476,70 @@ export default function GaugeChartExample() { compFactory={ChartCompWithDefault} /> + + + + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/HillChart.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/HillChart.tsx index f7fd46951..a0038a53e 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/HillChart.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ChartsComp/HillChart.tsx @@ -6,6 +6,8 @@ import ExampleGroup from "../../common/ExampleGroup"; const ChartCompWithDefault = uiCompRegistry["hillchart"].comp; +const data = "[\n {\n \"id\": 1,\n \"color\": \"gray\",\n \"description\": \"Validation: Sales and Marketing Strategy\",\n \"x\": 15,\n \"size\": 15\n },\n {\n \"id\": 2,\n \"color\": \"maroon\",\n \"description\": \"Improvement & Renewals\",\n \"x\": 80,\n \"size\": 10\n },\n {\n \"id\": 6,\n \"color\": \"maroon\",\n \"description\": \"Track & Measurement\",\n \"x\": 70,\n \"size\": 10\n },\n {\n \"id\": 3,\n \"color\": \"maroon\",\n \"description\": \"Salesforce Integration\",\n \"x\": 25,\n \"size\": 10\n },\n {\n \"id\": 4,\n \"color\": \"cyan\",\n \"description\": \"Marketing Tools integration\",\n \"x\": 35,\n \"size\": 10\n },\n {\n \"id\": 5,\n \"color\": \"yellow\",\n \"description\": \"Execution\",\n \"x\": 50,\n \"size\": 20\n }\n]"; + export default function HillChartExample() { return ( <> @@ -21,6 +23,75 @@ export default function HillChartExample() { }} compFactory={ChartCompWithDefault} /> + + + + + + + + ); diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/CollapsibleContainer.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/CollapsibleContainer.tsx index f7fb4d23c..1e12ad842 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/CollapsibleContainer.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/CollapsibleContainer.tsx @@ -421,17 +421,3038 @@ const container = { export default function CollapsibleContainerExample() { return ( <> + + + + + + + + + + + + + + + + + diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ColumnLayout.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ColumnLayout.tsx index b86f4ce3b..0abac1936 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ColumnLayout.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ColumnLayout.tsx @@ -1140,6 +1140,1025 @@ export default function ColumnLayoutExample() { compFactory={ColumnLayoutComp} /> + + + + + ); } \ 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 index cc90bdf6e..40736a95a 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/Container.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/Container.tsx @@ -149,6 +149,7 @@ const container={ 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 index a80ce5f57..3c1d84e38 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/PageLayout.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/PageLayout.tsx @@ -619,7 +619,7 @@ const container={ "siderScrollbars": false, "contentScrollbars": false, "mainScrollbars": false, - "appliedThemeId": "" + "appliedThemeId": "", }; export default function PageLayoutExample() { @@ -659,7 +659,7 @@ export default function PageLayoutExample() { + + + + + + + + + + + + + + + ); } \ 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 index 23152d129..02e34dd8a 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ResponsiveLayout.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/ResponsiveLayout.tsx @@ -342,7 +342,7 @@ export default function ResponsiveLayoutExample() { <> + + + + + + + + + + + ); } \ No newline at end of file diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/SplitLayout.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/SplitLayout.tsx index 84cade537..b25f0c150 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/SplitLayout.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/SplitLayout.tsx @@ -71,6 +71,17 @@ export default function SplitLayoutExample() { }} compFactory={SplitLayoutComp} /> + + + + + + + ); } \ 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 index 599157687..93c78ec9c 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/TabbedContainer.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/ContainersComp/TabbedContainer.tsx @@ -248,10 +248,18 @@ const tab={ export default function TabbedContainerExample() { return ( <> + + + + + + + + + + + + + + ); } \ No newline at end of file diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/BPMNEditor.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/BPMNEditor.tsx index e0725ab3c..04f46183a 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/BPMNEditor.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/BPMNEditor.tsx @@ -54,6 +54,18 @@ export default function BPMNEditorExample() { }} compFactory={ChartCompWithDefault} /> + + + + + + + + + + + + + + ); } \ No newline at end of file diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Mention.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Mention.tsx index f6a05c68b..102723691 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Mention.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/MediaComp/Mention.tsx @@ -30,14 +30,29 @@ export default function MentionCompExample() { }} compFactory={MentionComp} /> + + + + + + + + + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/Form.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/Form.tsx index eaa8ddada..bb9d05308 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/Form.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/Form.tsx @@ -186,7 +186,7 @@ export default function FormExample() { hideSettings={true} config={{ container: container, - disableSubmit: "true", + disableSubmit: "true", }} compFactory={FormComp} /> @@ -199,9 +199,26 @@ export default function FormExample() { }} compFactory={FormComp} /> + + - + + + + + + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONEditor.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONEditor.tsx index dc1b3db1f..6f618a863 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONEditor.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONEditor.tsx @@ -18,9 +18,6 @@ export default function JsonEditorExample() { title="A Simple JSON Editor Form " hideSettings={true} config={{ - schema: schema, - uiSchema: uiSchema, - data: data, }} compFactory={JsonEditorComp} /> @@ -28,9 +25,6 @@ export default function JsonEditorExample() { title="Hiding the JSON Editor Form " hideSettings={true} config={{ - schema: schema, - uiSchema: uiSchema, - data: data, hidden: true, }} compFactory={JsonEditorComp} @@ -127,6 +121,51 @@ export default function JsonEditorExample() { compFactory={JsonEditorComp} /> + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONExplorer.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONExplorer.tsx index 022c55088..156e3b15f 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONExplorer.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONExplorer.tsx @@ -68,6 +68,51 @@ export default function JsonExplorerExample() { compFactory={JsonExplorerComp} /> + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONSchemaform.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONSchemaform.tsx index 61b2fa22a..834169e73 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONSchemaform.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/formComp/JSONSchemaform.tsx @@ -13,28 +13,96 @@ export default function jsonSchemaFormExample() { + + + + + + + + + + + + ); diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/RangeSlider.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/RangeSlider.tsx index 66d448281..c01ecb089 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/RangeSlider.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/RangeSlider.tsx @@ -8,45 +8,57 @@ export default function RangeSliderExample() { <> + + + + @@ -97,6 +109,198 @@ export default function RangeSliderExample() { }} compFactory={RangeSliderComp} /> + + + + + + + + + + + + + + + + + + + + + + + + + ); diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/Slider.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/Slider.tsx index 24fbdbf66..3fab535bb 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/Slider.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/numberInputComp/Slider.tsx @@ -8,16 +8,12 @@ export default function SliderExample() { <> @@ -25,28 +21,43 @@ export default function SliderExample() { title={trans("componentDoc.disabled")} config={{ disabled: "true", - value: "60", - max: "100", - min: "0", - step: "10", }} compFactory={SliderComp} /> + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + ); diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/Kanban.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/Kanban.tsx index 40e21298b..bb01d6691 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/Kanban.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/Kanban.tsx @@ -157,6 +157,113 @@ export default function KanbanExample() { }} 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 index 5f4d1ea61..1c4123a1d 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/comment.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/comment.tsx @@ -12,6 +12,7 @@ export default function CommentExample() { > + + + + + + + + + + ); } 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 00071dae1..e71949115 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/divider.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/divider.tsx @@ -197,6 +197,63 @@ export default function DividerExample() { compFactory={DividerComp} /> + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/fileViewer.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/fileViewer.tsx index 8471b2e2f..f351eeef7 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/fileViewer.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/fileViewer.tsx @@ -9,10 +9,10 @@ export default function FileViewerExample() { <> + + + + + + + + + + + + + ); diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/gridView.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/gridView.tsx index 31eaea4cc..404e17908 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/gridView.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/gridView.tsx @@ -95,6 +95,8 @@ const container={ } }; +const rows= "[\n {\n \"rate\": \"9.2\",\n \"title\": \"The Shawshank Redemption\",\n \"url\": \"https://www.imdb.com/title/tt0111161/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMDFkYTc0MGEtZmNhMC00ZDIzLWFmNTEtODM1ZmRlYWMwMWFmXkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_UY67_CR0,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.2\",\n \"title\": \"The Godfather\",\n \"url\": \"https://www.imdb.com/title/tt0068646/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BM2MyNjYxNmUtYTAwNi00MTYxLWJmNWYtYzZlODY3ZTk3OTFlXkEyXkFqcGdeQXVyNzkwMjQ5NzM@._V1_UY67_CR1,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.0\",\n \"title\": \"The Dark Knight\",\n \"url\": \"https://www.imdb.com/title/tt0468569/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMTMxNTMwODM0NF5BMl5BanBnXkFtZTcwODAyMTk2Mw@@._V1_UY67_CR0,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.0\",\n \"title\": \"The Godfather Part II\",\n \"url\": \"https://www.imdb.com/title/tt0071562/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMWMwMGQzZTItY2JlNC00OWZiLWIyMDctNDk2ZDQ2YjRjMWQ0XkEyXkFqcGdeQXVyNzkwMjQ5NzM@._V1_UY67_CR1,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.0\",\n \"title\": \"12 Angry Men\",\n \"url\": \"https://www.imdb.com/title/tt0050083/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMWU4N2FjNzYtNTVkNC00NzQ0LTg0MjAtYTJlMjFhNGUxZDFmXkEyXkFqcGdeQXVyNjc1NTYyMjg@._V1_UX45_CR0,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"8.9\",\n \"title\": \"Schindler's List\",\n \"url\": \"https://www.imdb.com/title/tt0108052/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BNDE4OTMxMTctNmRhYy00NWE2LTg3YzItYTk3M2UwOTU5Njg4XkEyXkFqcGdeQXVyNjU0OTQ0OTY@._V1_UX45_CR0,0,45,67_AL_.jpg\"\n }\n]"; + export default function GridViewExample() { const blackListConfig: string[] = [ @@ -237,6 +239,111 @@ export default function GridViewExample() { compFactory={GridComp} /> + + + + + + + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/listView.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/listView.tsx index 51d5704e5..a00a6c191 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/listView.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/presentationComp/listView.tsx @@ -100,6 +100,9 @@ export default function ListViewExample() { const blackListConfig: string[] = [ "container" ]; + + const rows= "[\n {\n \"rate\": \"9.2\",\n \"title\": \"The Shawshank Redemption\",\n \"url\": \"https://www.imdb.com/title/tt0111161/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMDFkYTc0MGEtZmNhMC00ZDIzLWFmNTEtODM1ZmRlYWMwMWFmXkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_UY67_CR0,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.2\",\n \"title\": \"The Godfather\",\n \"url\": \"https://www.imdb.com/title/tt0068646/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BM2MyNjYxNmUtYTAwNi00MTYxLWJmNWYtYzZlODY3ZTk3OTFlXkEyXkFqcGdeQXVyNzkwMjQ5NzM@._V1_UY67_CR1,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.0\",\n \"title\": \"The Dark Knight\",\n \"url\": \"https://www.imdb.com/title/tt0468569/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMTMxNTMwODM0NF5BMl5BanBnXkFtZTcwODAyMTk2Mw@@._V1_UY67_CR0,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.0\",\n \"title\": \"The Godfather Part II\",\n \"url\": \"https://www.imdb.com/title/tt0071562/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMWMwMGQzZTItY2JlNC00OWZiLWIyMDctNDk2ZDQ2YjRjMWQ0XkEyXkFqcGdeQXVyNzkwMjQ5NzM@._V1_UY67_CR1,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"9.0\",\n \"title\": \"12 Angry Men\",\n \"url\": \"https://www.imdb.com/title/tt0050083/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BMWU4N2FjNzYtNTVkNC00NzQ0LTg0MjAtYTJlMjFhNGUxZDFmXkEyXkFqcGdeQXVyNjc1NTYyMjg@._V1_UX45_CR0,0,45,67_AL_.jpg\"\n },\n {\n \"rate\": \"8.9\",\n \"title\": \"Schindler's List\",\n \"url\": \"https://www.imdb.com/title/tt0108052/\",\n \"cover\": \"https://m.media-amazon.com/images/M/MV5BNDE4OTMxMTctNmRhYy00NWE2LTg3YzItYTk3M2UwOTU5Njg4XkEyXkFqcGdeQXVyNjU0OTQ0OTY@._V1_UX45_CR0,0,45,67_AL_.jpg\"\n }\n]"; + return ( <> + + + + + + + + + + + + ); diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/File.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/File.tsx index be97c5bdb..964ce918b 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/File.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/File.tsx @@ -139,6 +139,102 @@ export default function FileExample() { compFactory={FileComp} /> + + + + + + + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/SegmentedControl.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/SegmentedControl.tsx index aa134c2d7..724d9faf9 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/SegmentedControl.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/SegmentedControl.tsx @@ -29,13 +29,12 @@ export default function SegmentedControlExample() { <> + - + + + + + + + + + + + + + + + + + + ); } diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/StepControl.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/StepControl.tsx index d2e51248a..535ca1b8b 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/StepControl.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/StepControl.tsx @@ -23,6 +23,41 @@ export default function StepControlExample() { }} compFactory={StepComp} /> + + + + + - + + + + + + + + + + + + + ); } \ No newline at end of file diff --git a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/Switch.tsx b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/Switch.tsx index 60e2df337..6fb21b012 100644 --- a/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/Switch.tsx +++ b/client/packages/lowcoder/src/pages/ComponentDoc/examples/selectInputComp/Switch.tsx @@ -14,7 +14,6 @@ export default function SwitchExample() { title={trans("componentDoc.open")} config={{ value: "true", - disabled: false, }} compFactory={SwitchComp} /> @@ -22,7 +21,6 @@ export default function SwitchExample() { title={trans("componentDoc.close")} config={{ value: "false", - disabled: false, }} compFactory={SwitchComp} /> @@ -34,7 +32,16 @@ export default function SwitchExample() { }} compFactory={SwitchComp} /> + + + + + + + + + + + + + + + + + + + + + );