diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json index 381ceeac20..2dcafbdcd2 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json @@ -7,7 +7,8 @@ "cardsblock", "repeaterblock", "formblock", - "chartblock" + "chartblock", + "rowexplorer" ] }, { @@ -84,4 +85,4 @@ "donut" ] } -] \ No newline at end of file +] diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 0f3a095fbf..45bb38439a 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -5186,5 +5186,88 @@ "suffix": "repeater" } ] + }, + "rowexplorer": { + "block": true, + "name": "Row Explorer Block", + "icon": "PersonalizationField", + "size": { + "width": 600, + "height": 400 + }, + "settings": [ + { + "type": "table", + "label": "Table", + "key": "dataSource", + "required": true + }, + { + "type": "text", + "label": "Height", + "key": "height", + "defaultValue": "426px" + }, + { + "section": true, + "name": "Cards", + "settings": [ + { + "type": "field", + "label": "Search Field", + "key": "cardSearchField", + "nested": true + }, + { + "type": "text", + "key": "cardTitle", + "label": "Title", + "nested": true, + "defaultValue": "Title" + }, + { + "type": "text", + "key": "cardSubtitle", + "label": "Subtitle", + "nested": true, + "defaultValue": "Subtitle" + }, + { + "type": "text", + "key": "cardDescription", + "label": "Description", + "nested": true, + "defaultValue": "Description" + }, + { + "type": "text", + "key": "cardImageURL", + "label": "Image URL", + "nested": true + } + ] + }, + { + "section": true, + "name": "Details", + "settings": [ + { + "type": "text", + "key": "detailTitle", + "label": "Title" + }, + { + "type": "multifield", + "label": "Fields", + "key": "detailFields", + "nested": true + } + ] + } + ], + "context": { + "type": "schema", + "suffix": "repeater" + } } -} \ No newline at end of file +} diff --git a/packages/client/src/components/app/blocks/RowExplorer.svelte b/packages/client/src/components/app/blocks/RowExplorer.svelte new file mode 100644 index 0000000000..59e4f8601c --- /dev/null +++ b/packages/client/src/components/app/blocks/RowExplorer.svelte @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/client/src/components/app/blocks/index.js b/packages/client/src/components/app/blocks/index.js index 734bff2c0f..5e7f69a768 100644 --- a/packages/client/src/components/app/blocks/index.js +++ b/packages/client/src/components/app/blocks/index.js @@ -3,3 +3,4 @@ export { default as cardsblock } from "./CardsBlock.svelte" export { default as repeaterblock } from "./RepeaterBlock.svelte" export { default as formblock } from "./FormBlock.svelte" export { default as chartblock } from "./ChartBlock.svelte" +export { default as rowexplorer } from "./RowExplorer.svelte"