diff --git a/lerna.json b/lerna.json index 2b86b58b22..607ec1a640 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index cdfc91c830..020c2ef266 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Budibase backend core libraries used in server and worker", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -20,7 +20,7 @@ "test:watch": "jest --watchAll" }, "dependencies": { - "@budibase/types": "2.1.22-alpha.0", + "@budibase/types": "2.1.22-alpha.1", "@shopify/jest-koa-mocks": "5.0.1", "@techpass/passport-openidconnect": "0.3.2", "aws-sdk": "2.1030.0", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index 8de8a5173f..3ca05a1a5c 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/bbui", "description": "A UI solution used in the different Budibase projects.", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,7 +38,7 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "^1.2.1", - "@budibase/string-templates": "2.1.22-alpha.0", + "@budibase/string-templates": "2.1.22-alpha.1", "@spectrum-css/actionbutton": "^1.0.1", "@spectrum-css/actiongroup": "^1.0.1", "@spectrum-css/avatar": "^3.0.2", diff --git a/packages/builder/package.json b/packages/builder/package.json index 8662e4ac6a..7dd8d9002a 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "license": "GPL-3.0", "private": true, "scripts": { @@ -71,10 +71,10 @@ } }, "dependencies": { - "@budibase/bbui": "2.1.22-alpha.0", - "@budibase/client": "2.1.22-alpha.0", - "@budibase/frontend-core": "2.1.22-alpha.0", - "@budibase/string-templates": "2.1.22-alpha.0", + "@budibase/bbui": "2.1.22-alpha.1", + "@budibase/client": "2.1.22-alpha.1", + "@budibase/frontend-core": "2.1.22-alpha.1", + "@budibase/string-templates": "2.1.22-alpha.1", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", 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 acc1fb2a63..5da16d2b50 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" ] }, { @@ -85,4 +86,4 @@ "donut" ] } -] \ No newline at end of file +] diff --git a/packages/cli/package.json b/packages/cli/package.json index 434cddbd88..a0a6a0aa6a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { @@ -26,9 +26,9 @@ "outputPath": "build" }, "dependencies": { - "@budibase/backend-core": "2.1.22-alpha.0", - "@budibase/string-templates": "2.1.22-alpha.0", - "@budibase/types": "2.1.22-alpha.0", + "@budibase/backend-core": "2.1.22-alpha.1", + "@budibase/string-templates": "2.1.22-alpha.1", + "@budibase/types": "2.1.22-alpha.1", "axios": "0.21.2", "chalk": "4.1.0", "cli-progress": "3.11.2", diff --git a/packages/client/manifest.json b/packages/client/manifest.json index e5c7727ab1..4e4e84c9f3 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -5191,8 +5191,93 @@ "name": "Side Panel", "icon": "AdDisplay", "hasChildren": true, - "illegalChildren": ["section"], + "illegalChildren": [ + "section" + ], "showEmptyState": false, "static": true + }, + "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/package.json b/packages/client/package.json index 02fb57f477..658953067b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,9 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "2.1.22-alpha.0", - "@budibase/frontend-core": "2.1.22-alpha.0", - "@budibase/string-templates": "2.1.22-alpha.0", + "@budibase/bbui": "2.1.22-alpha.1", + "@budibase/frontend-core": "2.1.22-alpha.1", + "@budibase/string-templates": "2.1.22-alpha.1", "@spectrum-css/button": "^3.0.3", "@spectrum-css/card": "^3.0.3", "@spectrum-css/divider": "^1.0.3", 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" diff --git a/packages/frontend-core/package.json b/packages/frontend-core/package.json index 38c6fff947..9f7b13c6c4 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,12 +1,12 @@ { "name": "@budibase/frontend-core", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "2.1.22-alpha.0", + "@budibase/bbui": "2.1.22-alpha.1", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 58d86dc0e6..1718f8734d 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 2c4394fc64..9e6132d2a0 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -77,11 +77,11 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "2.1.22-alpha.0", - "@budibase/client": "2.1.22-alpha.0", - "@budibase/pro": "2.1.22-alpha.0", - "@budibase/string-templates": "2.1.22-alpha.0", - "@budibase/types": "2.1.22-alpha.0", + "@budibase/backend-core": "2.1.22-alpha.1", + "@budibase/client": "2.1.22-alpha.1", + "@budibase/pro": "2.1.22-alpha.1", + "@budibase/string-templates": "2.1.22-alpha.1", + "@budibase/types": "2.1.22-alpha.1", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index 4c4263ecf8..45764466f5 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1094,12 +1094,12 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.1.22-alpha.0": - version "2.1.22-alpha.0" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.1.22-alpha.0.tgz#53d72dd843abe6d8b69bbd663aa159fc5ff49060" - integrity sha512-RHOfd9Qc7ubww9tU8SJspxgCw4zoX8eOmjAsc//7QwgKGwjLBCPngLMmjYYI22J3iZFeaZbir2eRf8HkI4THDw== +"@budibase/backend-core@2.1.22-alpha.1": + version "2.1.22-alpha.1" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.1.22-alpha.1.tgz#76637eabbe765b710eded41b82a721c829489298" + integrity sha512-nqRa+3SLdweXmyGVWxpBxLeMoWetSM4odHpCIsahcQhmfVzo5Skbn5OBCgsdpbsQ5oanr7ZdsQzE7Kvpb9ylOA== dependencies: - "@budibase/types" "2.1.22-alpha.0" + "@budibase/types" "2.1.22-alpha.1" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-sdk "2.1030.0" @@ -1181,13 +1181,13 @@ svelte-flatpickr "^3.2.3" svelte-portal "^1.0.0" -"@budibase/pro@2.1.22-alpha.0": - version "2.1.22-alpha.0" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.1.22-alpha.0.tgz#5a3edb233271798e0c28ae665b54e3772af79f08" - integrity sha512-tBPgJ5VQdq81PG9QxKvALL6eaWxzCLQARuXoLQu9J2apwYw5SfkVNlH43BWwRpkAHhTVLQl0VFORikBjncBWjA== +"@budibase/pro@2.1.22-alpha.1": + version "2.1.22-alpha.1" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.1.22-alpha.1.tgz#78413a59e0709e17252008b264de09421a81b1d7" + integrity sha512-9607AHjqwH+456vATATJBky7RzWElOWaJFDwOBv2vG1WlnqRZacLEU/cqHKAsboh4hOhrJE5HhNOQzretalvSg== dependencies: - "@budibase/backend-core" "2.1.22-alpha.0" - "@budibase/types" "2.1.22-alpha.0" + "@budibase/backend-core" "2.1.22-alpha.1" + "@budibase/types" "2.1.22-alpha.1" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1211,10 +1211,10 @@ svelte-apexcharts "^1.0.2" svelte-flatpickr "^3.1.0" -"@budibase/types@2.1.22-alpha.0": - version "2.1.22-alpha.0" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.1.22-alpha.0.tgz#51c72726bff7b6af3096509e55d9ba006aac3c3e" - integrity sha512-fA+GsnyJqT4O78A9OhQTPje5yaL+RMvG23grJ+WSIUkZ+uRO83a29O7rBOFE4P4FldbsPEw1qHgt+e1wWrR+Uw== +"@budibase/types@2.1.22-alpha.1": + version "2.1.22-alpha.1" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.1.22-alpha.1.tgz#b3f8203a216904b9d5cae2032ab54425862fe18a" + integrity sha512-wuiIZ+4Yg6WcBShSKIbWvkqG+TQcu9kWXxcOL2/76dAq9W3QsuVml8xIjtC22F7SqSUCsWbwSvGioOkFJznDrg== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 65fa40bec8..40472938ed 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Handlebars wrapper for Budibase templating.", "main": "src/index.cjs", "module": "dist/bundle.mjs", diff --git a/packages/types/package.json b/packages/types/package.json index 900dcadc3d..2e2cad29a2 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Budibase types", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index c3b90811ac..68e6027983 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.1.22-alpha.0", + "version": "2.1.22-alpha.1", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "2.1.22-alpha.0", - "@budibase/pro": "2.1.22-alpha.0", - "@budibase/string-templates": "2.1.22-alpha.0", - "@budibase/types": "2.1.22-alpha.0", + "@budibase/backend-core": "2.1.22-alpha.1", + "@budibase/pro": "2.1.22-alpha.1", + "@budibase/string-templates": "2.1.22-alpha.1", + "@budibase/types": "2.1.22-alpha.1", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index b956ff9b05..5430b515d2 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -291,12 +291,12 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.1.22-alpha.0": - version "2.1.22-alpha.0" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.1.22-alpha.0.tgz#53d72dd843abe6d8b69bbd663aa159fc5ff49060" - integrity sha512-RHOfd9Qc7ubww9tU8SJspxgCw4zoX8eOmjAsc//7QwgKGwjLBCPngLMmjYYI22J3iZFeaZbir2eRf8HkI4THDw== +"@budibase/backend-core@2.1.22-alpha.1": + version "2.1.22-alpha.1" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.1.22-alpha.1.tgz#76637eabbe765b710eded41b82a721c829489298" + integrity sha512-nqRa+3SLdweXmyGVWxpBxLeMoWetSM4odHpCIsahcQhmfVzo5Skbn5OBCgsdpbsQ5oanr7ZdsQzE7Kvpb9ylOA== dependencies: - "@budibase/types" "2.1.22-alpha.0" + "@budibase/types" "2.1.22-alpha.1" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-sdk "2.1030.0" @@ -328,22 +328,22 @@ uuid "8.3.2" zlib "1.0.5" -"@budibase/pro@2.1.22-alpha.0": - version "2.1.22-alpha.0" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.1.22-alpha.0.tgz#5a3edb233271798e0c28ae665b54e3772af79f08" - integrity sha512-tBPgJ5VQdq81PG9QxKvALL6eaWxzCLQARuXoLQu9J2apwYw5SfkVNlH43BWwRpkAHhTVLQl0VFORikBjncBWjA== +"@budibase/pro@2.1.22-alpha.1": + version "2.1.22-alpha.1" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.1.22-alpha.1.tgz#78413a59e0709e17252008b264de09421a81b1d7" + integrity sha512-9607AHjqwH+456vATATJBky7RzWElOWaJFDwOBv2vG1WlnqRZacLEU/cqHKAsboh4hOhrJE5HhNOQzretalvSg== dependencies: - "@budibase/backend-core" "2.1.22-alpha.0" - "@budibase/types" "2.1.22-alpha.0" + "@budibase/backend-core" "2.1.22-alpha.1" + "@budibase/types" "2.1.22-alpha.1" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" node-fetch "^2.6.1" -"@budibase/types@2.1.22-alpha.0": - version "2.1.22-alpha.0" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.1.22-alpha.0.tgz#51c72726bff7b6af3096509e55d9ba006aac3c3e" - integrity sha512-fA+GsnyJqT4O78A9OhQTPje5yaL+RMvG23grJ+WSIUkZ+uRO83a29O7rBOFE4P4FldbsPEw1qHgt+e1wWrR+Uw== +"@budibase/types@2.1.22-alpha.1": + version "2.1.22-alpha.1" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.1.22-alpha.1.tgz#b3f8203a216904b9d5cae2032ab54425862fe18a" + integrity sha512-wuiIZ+4Yg6WcBShSKIbWvkqG+TQcu9kWXxcOL2/76dAq9W3QsuVml8xIjtC22F7SqSUCsWbwSvGioOkFJznDrg== "@cspotcode/source-map-consumer@0.8.0": version "0.8.0"