Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience

This commit is contained in:
Andrew Kingston 2022-09-01 14:38:36 +01:00
commit d540788a56
25 changed files with 85 additions and 86 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"npmClient": "yarn", "npmClient": "yarn",
"packages": [ "packages": [
"packages/*" "packages/*"

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/backend-core", "name": "@budibase/backend-core",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"description": "Budibase backend core libraries used in server and worker", "description": "Budibase backend core libraries used in server and worker",
"main": "dist/src/index.js", "main": "dist/src/index.js",
"types": "dist/src/index.d.ts", "types": "dist/src/index.d.ts",
@ -20,7 +20,7 @@
"test:watch": "jest --watchAll" "test:watch": "jest --watchAll"
}, },
"dependencies": { "dependencies": {
"@budibase/types": "1.2.58-alpha.5", "@budibase/types": "1.2.58-alpha.6",
"@techpass/passport-openidconnect": "0.3.2", "@techpass/passport-openidconnect": "0.3.2",
"aws-sdk": "2.1030.0", "aws-sdk": "2.1030.0",
"bcrypt": "5.0.1", "bcrypt": "5.0.1",

View File

@ -1,7 +1,7 @@
{ {
"name": "@budibase/bbui", "name": "@budibase/bbui",
"description": "A UI solution used in the different Budibase projects.", "description": "A UI solution used in the different Budibase projects.",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"license": "MPL-2.0", "license": "MPL-2.0",
"svelte": "src/index.js", "svelte": "src/index.js",
"module": "dist/bbui.es.js", "module": "dist/bbui.es.js",
@ -38,7 +38,7 @@
], ],
"dependencies": { "dependencies": {
"@adobe/spectrum-css-workflow-icons": "^1.2.1", "@adobe/spectrum-css-workflow-icons": "^1.2.1",
"@budibase/string-templates": "1.2.58-alpha.5", "@budibase/string-templates": "1.2.58-alpha.6",
"@spectrum-css/actionbutton": "^1.0.1", "@spectrum-css/actionbutton": "^1.0.1",
"@spectrum-css/actiongroup": "^1.0.1", "@spectrum-css/actiongroup": "^1.0.1",
"@spectrum-css/avatar": "^3.0.2", "@spectrum-css/avatar": "^3.0.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/builder", "name": "@budibase/builder",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"license": "GPL-3.0", "license": "GPL-3.0",
"private": true, "private": true,
"scripts": { "scripts": {
@ -69,10 +69,10 @@
} }
}, },
"dependencies": { "dependencies": {
"@budibase/bbui": "1.2.58-alpha.5", "@budibase/bbui": "1.2.58-alpha.6",
"@budibase/client": "1.2.58-alpha.5", "@budibase/client": "1.2.58-alpha.6",
"@budibase/frontend-core": "1.2.58-alpha.5", "@budibase/frontend-core": "1.2.58-alpha.6",
"@budibase/string-templates": "1.2.58-alpha.5", "@budibase/string-templates": "1.2.58-alpha.6",
"@sentry/browser": "5.19.1", "@sentry/browser": "5.19.1",
"@spectrum-css/page": "^3.0.1", "@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1", "@spectrum-css/vars": "^3.0.1",

View File

@ -23,7 +23,7 @@
</script> </script>
<div class="automations-list"> <div class="automations-list">
{#each $automationStore.automations as automation, idx} {#each $automationStore.automations.sort(aut => aut.name) as automation, idx}
<NavItem <NavItem
border={idx > 0} border={idx > 0}
icon="ShareAndroid" icon="ShareAndroid"

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/cli", "name": "@budibase/cli",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"description": "Budibase CLI, for developers, self hosting and migrations.", "description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js", "main": "src/index.js",
"bin": { "bin": {
@ -26,9 +26,9 @@
"outputPath": "build" "outputPath": "build"
}, },
"dependencies": { "dependencies": {
"@budibase/backend-core": "1.2.58-alpha.5", "@budibase/backend-core": "1.2.58-alpha.6",
"@budibase/string-templates": "1.2.58-alpha.5", "@budibase/string-templates": "1.2.58-alpha.6",
"@budibase/types": "1.2.58-alpha.5", "@budibase/types": "1.2.58-alpha.6",
"axios": "0.21.2", "axios": "0.21.2",
"chalk": "4.1.0", "chalk": "4.1.0",
"cli-progress": "3.11.2", "cli-progress": "3.11.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/client", "name": "@budibase/client",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"license": "MPL-2.0", "license": "MPL-2.0",
"module": "dist/budibase-client.js", "module": "dist/budibase-client.js",
"main": "dist/budibase-client.js", "main": "dist/budibase-client.js",
@ -19,9 +19,9 @@
"dev:builder": "rollup -cw" "dev:builder": "rollup -cw"
}, },
"dependencies": { "dependencies": {
"@budibase/bbui": "1.2.58-alpha.5", "@budibase/bbui": "1.2.58-alpha.6",
"@budibase/frontend-core": "1.2.58-alpha.5", "@budibase/frontend-core": "1.2.58-alpha.6",
"@budibase/string-templates": "1.2.58-alpha.5", "@budibase/string-templates": "1.2.58-alpha.6",
"@spectrum-css/button": "^3.0.3", "@spectrum-css/button": "^3.0.3",
"@spectrum-css/card": "^3.0.3", "@spectrum-css/card": "^3.0.3",
"@spectrum-css/divider": "^1.0.3", "@spectrum-css/divider": "^1.0.3",

View File

@ -59,8 +59,8 @@
} }
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }

View File

@ -28,8 +28,8 @@
} }
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }

View File

@ -18,8 +18,8 @@
let fieldApi let fieldApi
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }

View File

@ -268,7 +268,7 @@
// Skip if the value is the same // Skip if the value is the same
if (!skipCheck && fieldState.value === value) { if (!skipCheck && fieldState.value === value) {
return return false
} }
// Update field state // Update field state

View File

@ -37,8 +37,8 @@
const handleChange = e => { const handleChange = e => {
const value = parseValue(e.detail) const value = parseValue(e.detail)
fieldApi.setValue(value) const changed = fieldApi.setValue(value)
if (onChange) { if (onChange && changed) {
onChange({ value }) onChange({ value })
} }
} }

View File

@ -47,8 +47,8 @@
} }
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }

View File

@ -44,8 +44,8 @@
} }
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }

View File

@ -34,8 +34,8 @@
) )
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }

View File

@ -84,8 +84,8 @@
} }
const handleChange = value => { const handleChange = value => {
fieldApi.setValue(value) const changed = fieldApi.setValue(value)
if (onChange) { if (onChange && changed) {
onChange({ value }) onChange({ value })
} }
} }

View File

@ -90,8 +90,8 @@
} }
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }

View File

@ -16,8 +16,8 @@
let fieldApi let fieldApi
const handleChange = e => { const handleChange = e => {
fieldApi.setValue(e.detail) const changed = fieldApi.setValue(e.detail)
if (onChange) { if (onChange && changed) {
onChange({ value: e.detail }) onChange({ value: e.detail })
} }
} }
@ -29,7 +29,6 @@
{disabled} {disabled}
{validation} {validation}
{defaultValue} {defaultValue}
{onChange}
type={type === "number" ? "number" : "string"} type={type === "number" ? "number" : "string"}
bind:fieldState bind:fieldState
bind:fieldApi bind:fieldApi

View File

@ -1,12 +1,12 @@
{ {
"name": "@budibase/frontend-core", "name": "@budibase/frontend-core",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"description": "Budibase frontend core libraries used in builder and client", "description": "Budibase frontend core libraries used in builder and client",
"author": "Budibase", "author": "Budibase",
"license": "MPL-2.0", "license": "MPL-2.0",
"svelte": "src/index.js", "svelte": "src/index.js",
"dependencies": { "dependencies": {
"@budibase/bbui": "1.2.58-alpha.5", "@budibase/bbui": "1.2.58-alpha.6",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"svelte": "^3.46.2" "svelte": "^3.46.2"
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@budibase/server", "name": "@budibase/server",
"email": "hi@budibase.com", "email": "hi@budibase.com",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"description": "Budibase Web Server", "description": "Budibase Web Server",
"main": "src/index.ts", "main": "src/index.ts",
"repository": { "repository": {
@ -77,11 +77,11 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"@apidevtools/swagger-parser": "10.0.3", "@apidevtools/swagger-parser": "10.0.3",
"@budibase/backend-core": "1.2.58-alpha.5", "@budibase/backend-core": "1.2.58-alpha.6",
"@budibase/client": "1.2.58-alpha.5", "@budibase/client": "1.2.58-alpha.6",
"@budibase/pro": "1.2.58-alpha.5", "@budibase/pro": "1.2.58-alpha.6",
"@budibase/string-templates": "1.2.58-alpha.5", "@budibase/string-templates": "1.2.58-alpha.6",
"@budibase/types": "1.2.58-alpha.5", "@budibase/types": "1.2.58-alpha.6",
"@bull-board/api": "3.7.0", "@bull-board/api": "3.7.0",
"@bull-board/koa": "3.9.4", "@bull-board/koa": "3.9.4",
"@elastic/elasticsearch": "7.10.0", "@elastic/elasticsearch": "7.10.0",

View File

@ -1094,12 +1094,12 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@budibase/backend-core@1.2.58-alpha.5": "@budibase/backend-core@1.2.58-alpha.6":
version "1.2.58-alpha.5" version "1.2.58-alpha.6"
resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.2.58-alpha.5.tgz#430699334629b3bd05a5066aa6660c1f68f047b2" resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.2.58-alpha.6.tgz#5c8d56af57247ce240d4dc1ba5ca8d5dc172903b"
integrity sha512-Z926rAp0eskXUr5UXGwh0S1OMDA3qzIi8o0GHLlO7KZAzk49RYzhRT/yo1fIst8Eq/9ZCaXLFxIeRkDmCJgILg== integrity sha512-QMtLjvF4aKOSzlr4G3/ZREhSgD3dzm4v7l9KnYTmoeV0KkoxW1ytf1Q7fP2QWiMwWr4mhG3OJiY2x/0vsVaGiw==
dependencies: dependencies:
"@budibase/types" "1.2.58-alpha.5" "@budibase/types" "1.2.58-alpha.6"
"@techpass/passport-openidconnect" "0.3.2" "@techpass/passport-openidconnect" "0.3.2"
aws-sdk "2.1030.0" aws-sdk "2.1030.0"
bcrypt "5.0.1" bcrypt "5.0.1"
@ -1178,13 +1178,13 @@
svelte-flatpickr "^3.2.3" svelte-flatpickr "^3.2.3"
svelte-portal "^1.0.0" svelte-portal "^1.0.0"
"@budibase/pro@1.2.58-alpha.5": "@budibase/pro@1.2.58-alpha.6":
version "1.2.58-alpha.5" version "1.2.58-alpha.6"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.2.58-alpha.5.tgz#1f739653e641ac32d20818517d35bef489ec2ae6" resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.2.58-alpha.6.tgz#00d5c9d90109718019bc5891d3a57e6e184e137f"
integrity sha512-owT7ipgZ588KAz6aHPJie5bLJX6EkhTRUvUQlyOJuLWt/hdXXnvbu+agxBQNaXE4gVzn916JJP0L0tbiMctjNA== integrity sha512-EzjUVXKOP5QbtIC1+e0w5eE75Meq8ZmtzYAQ9uU7vSy3EvErxCG5+eEr0UwzHHxQNhWxqkrNQnuae7QfNy1Ytg==
dependencies: dependencies:
"@budibase/backend-core" "1.2.58-alpha.5" "@budibase/backend-core" "1.2.58-alpha.6"
"@budibase/types" "1.2.58-alpha.5" "@budibase/types" "1.2.58-alpha.6"
"@koa/router" "8.0.8" "@koa/router" "8.0.8"
joi "17.6.0" joi "17.6.0"
node-fetch "^2.6.1" node-fetch "^2.6.1"
@ -1207,10 +1207,10 @@
svelte-apexcharts "^1.0.2" svelte-apexcharts "^1.0.2"
svelte-flatpickr "^3.1.0" svelte-flatpickr "^3.1.0"
"@budibase/types@1.2.58-alpha.5": "@budibase/types@1.2.58-alpha.6":
version "1.2.58-alpha.5" version "1.2.58-alpha.6"
resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.2.58-alpha.5.tgz#8ea99745f296a1076f878a06b7c228bc60886cd3" resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.2.58-alpha.6.tgz#7465783174993749852f6c6be0afa67f709571f3"
integrity sha512-0JhHDGvfcMcjhBckP3RqbKCDsMhx7ZVTV8wvaqsOaG7PnBSst9dxyX7ETVVzfvYolIK1eV11itsgx0FpbYID2w== integrity sha512-+z7WZw/gunmGIQeyPnLWApiqUTqeq+Wq8m/1Utz58ImHkoM0iumKrHtevSNRxAl0YHy5s11aetI24XuoxGHaTQ==
"@bull-board/api@3.7.0": "@bull-board/api@3.7.0":
version "3.7.0" version "3.7.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/string-templates", "name": "@budibase/string-templates",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"description": "Handlebars wrapper for Budibase templating.", "description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.cjs", "main": "src/index.cjs",
"module": "dist/bundle.mjs", "module": "dist/bundle.mjs",

View File

@ -1,6 +1,6 @@
{ {
"name": "@budibase/types", "name": "@budibase/types",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"description": "Budibase types", "description": "Budibase types",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@ -1,7 +1,7 @@
{ {
"name": "@budibase/worker", "name": "@budibase/worker",
"email": "hi@budibase.com", "email": "hi@budibase.com",
"version": "1.2.58-alpha.5", "version": "1.2.58-alpha.6",
"description": "Budibase background service", "description": "Budibase background service",
"main": "src/index.ts", "main": "src/index.ts",
"repository": { "repository": {
@ -35,10 +35,10 @@
"author": "Budibase", "author": "Budibase",
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"@budibase/backend-core": "1.2.58-alpha.5", "@budibase/backend-core": "1.2.58-alpha.6",
"@budibase/pro": "1.2.58-alpha.5", "@budibase/pro": "1.2.58-alpha.6",
"@budibase/string-templates": "1.2.58-alpha.5", "@budibase/string-templates": "1.2.58-alpha.6",
"@budibase/types": "1.2.58-alpha.5", "@budibase/types": "1.2.58-alpha.6",
"@koa/router": "8.0.8", "@koa/router": "8.0.8",
"@sentry/node": "6.17.7", "@sentry/node": "6.17.7",
"@techpass/passport-openidconnect": "0.3.2", "@techpass/passport-openidconnect": "0.3.2",

View File

@ -291,12 +291,12 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@budibase/backend-core@1.2.58-alpha.5": "@budibase/backend-core@1.2.58-alpha.6":
version "1.2.58-alpha.5" version "1.2.58-alpha.6"
resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.2.58-alpha.5.tgz#430699334629b3bd05a5066aa6660c1f68f047b2" resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.2.58-alpha.6.tgz#5c8d56af57247ce240d4dc1ba5ca8d5dc172903b"
integrity sha512-Z926rAp0eskXUr5UXGwh0S1OMDA3qzIi8o0GHLlO7KZAzk49RYzhRT/yo1fIst8Eq/9ZCaXLFxIeRkDmCJgILg== integrity sha512-QMtLjvF4aKOSzlr4G3/ZREhSgD3dzm4v7l9KnYTmoeV0KkoxW1ytf1Q7fP2QWiMwWr4mhG3OJiY2x/0vsVaGiw==
dependencies: dependencies:
"@budibase/types" "1.2.58-alpha.5" "@budibase/types" "1.2.58-alpha.6"
"@techpass/passport-openidconnect" "0.3.2" "@techpass/passport-openidconnect" "0.3.2"
aws-sdk "2.1030.0" aws-sdk "2.1030.0"
bcrypt "5.0.1" bcrypt "5.0.1"
@ -325,21 +325,21 @@
uuid "8.3.2" uuid "8.3.2"
zlib "1.0.5" zlib "1.0.5"
"@budibase/pro@1.2.58-alpha.5": "@budibase/pro@1.2.58-alpha.6":
version "1.2.58-alpha.5" version "1.2.58-alpha.6"
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.2.58-alpha.5.tgz#1f739653e641ac32d20818517d35bef489ec2ae6" resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.2.58-alpha.6.tgz#00d5c9d90109718019bc5891d3a57e6e184e137f"
integrity sha512-owT7ipgZ588KAz6aHPJie5bLJX6EkhTRUvUQlyOJuLWt/hdXXnvbu+agxBQNaXE4gVzn916JJP0L0tbiMctjNA== integrity sha512-EzjUVXKOP5QbtIC1+e0w5eE75Meq8ZmtzYAQ9uU7vSy3EvErxCG5+eEr0UwzHHxQNhWxqkrNQnuae7QfNy1Ytg==
dependencies: dependencies:
"@budibase/backend-core" "1.2.58-alpha.5" "@budibase/backend-core" "1.2.58-alpha.6"
"@budibase/types" "1.2.58-alpha.5" "@budibase/types" "1.2.58-alpha.6"
"@koa/router" "8.0.8" "@koa/router" "8.0.8"
joi "17.6.0" joi "17.6.0"
node-fetch "^2.6.1" node-fetch "^2.6.1"
"@budibase/types@1.2.58-alpha.5": "@budibase/types@1.2.58-alpha.6":
version "1.2.58-alpha.5" version "1.2.58-alpha.6"
resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.2.58-alpha.5.tgz#8ea99745f296a1076f878a06b7c228bc60886cd3" resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.2.58-alpha.6.tgz#7465783174993749852f6c6be0afa67f709571f3"
integrity sha512-0JhHDGvfcMcjhBckP3RqbKCDsMhx7ZVTV8wvaqsOaG7PnBSst9dxyX7ETVVzfvYolIK1eV11itsgx0FpbYID2w== integrity sha512-+z7WZw/gunmGIQeyPnLWApiqUTqeq+Wq8m/1Utz58ImHkoM0iumKrHtevSNRxAl0YHy5s11aetI24XuoxGHaTQ==
"@cspotcode/source-map-consumer@0.8.0": "@cspotcode/source-map-consumer@0.8.0":
version "0.8.0" version "0.8.0"