Skip to content

Commit 94aeec5

Browse files
committed
update jsonforms to version 3.7.0-alpha.3
1 parent 51e6dd5 commit 94aeec5

File tree

6 files changed

+54
-47
lines changed

6 files changed

+54
-47
lines changed

packages/jsonforms-vuetify-renderers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chobantonov/jsonforms-vuetify-renderers",
3-
"version": "3.7.0-alpha.1",
3+
"version": "3.7.0-alpha.3",
44
"description": "Additional Vue Vuetify renderers for JSON Forms",
55
"repository": "https://github.com/kchobantonov/jsonforms-vuetify-webcomponent",
66
"bugs": "https://github.com/kchobantonov/jsonforms-vuetify-webcomponent/issues",

packages/jsonforms-vuetify-renderers/src/util/composition.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,17 @@ export const mapStateToButtonProps = (
5151
) => {
5252
const rootData = getData(state);
5353
const { uischema } = ownProps;
54+
const config = getConfig(state);
55+
5456
const visible: boolean =
5557
ownProps.visible === undefined || hasShowRule(uischema)
56-
? isVisible(ownProps.uischema, rootData, ownProps.path!, getAjv(state))
58+
? isVisible(
59+
ownProps.uischema,
60+
rootData,
61+
ownProps.path!,
62+
getAjv(state),
63+
config,
64+
)
5765
: ownProps.visible;
5866
const label = uischema.label;
5967
const icon = uischema.icon;
@@ -66,7 +74,6 @@ export const mapStateToButtonProps = (
6674
const i18nKey = i18nKeyPrefix ? `${i18nKeyPrefix}.label` : (label ?? '');
6775
const i18nText = t(i18nKey, label, { uischema });
6876

69-
const config = getConfig(state);
7077
const enabled: boolean = isInherentlyEnabled(
7178
state,
7279
ownProps,

packages/jsonforms-vuetify-tooling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Krasimir Chobantonov",
55
"publisher": "kchobantonov",
66
"description": "VSCode extension for JSONForms tooling using Vue3 Vuetify renderer set",
7-
"version": "1.1.0",
7+
"version": "1.1.1",
88
"private": true,
99
"preview": true,
1010
"repository": "https://github.com/kchobantonov/jsonforms-vuetify-webcomponent",

packages/jsonforms-vuetify-webcomponent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chobantonov/jsonforms-vuetify-webcomponent",
3-
"version": "3.7.0-alpha.1",
3+
"version": "3.7.0-alpha.3",
44
"repository": "https://github.com/kchobantonov/jsonforms-vuetify-webcomponent",
55
"bugs": "https://github.com/kchobantonov/jsonforms-vuetify-webcomponent/issues",
66
"license": "MIT",

pnpm-lock.yaml

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ packages:
22
- "packages/*"
33

44
catalog:
5-
"@jsonforms/core": "3.7.0-alpha.1"
6-
"@jsonforms/vue": "3.7.0-alpha.1"
7-
"@jsonforms/vue-vuetify": "3.7.0-alpha.1"
8-
"@jsonforms/examples": "3.7.0-alpha.1"
5+
"@jsonforms/core": "3.7.0-alpha.3"
6+
"@jsonforms/vue": "3.7.0-alpha.3"
7+
"@jsonforms/vue-vuetify": "3.7.0-alpha.3"
8+
"@jsonforms/examples": "3.7.0-alpha.3"

0 commit comments

Comments
 (0)