Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jsonforms/vue-vanilla

Package Overview
Dependencies
Maintainers
6
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsonforms/vue-vanilla - npm Package Compare versions

Comparing version 3.2.0-alpha.2 to 3.2.0-alpha.3

12

lib/jsonforms-vue-vanilla.cjs.js

@@ -444,3 +444,3 @@ 'use strict';

addButtonClick: function addButtonClick() {
this.addItem(this.control.path, core.createDefaultValue(this.control.schema))();
this.addItem(this.control.path, core.createDefaultValue(this.control.schema, this.control.rootSchema))();
}

@@ -1234,3 +1234,3 @@ }

var uiSchemaGenerator = function uiSchemaGenerator() {
var uiSchema = core.Generate.uiSchema(_this.control.schema, 'Group');
var uiSchema = core.Generate.uiSchema(_this.control.schema, 'Group', undefined, _this.control.rootSchema);
if (lodash.isEmpty(_this.control.path)) {

@@ -1288,2 +1288,6 @@ uiSchema.type = 'VerticalLayout';

required: true
},
rootSchema: {
type: Object,
required: true
}

@@ -1293,3 +1297,3 @@ },

var otherProps = omit__default["default"](props.schema, props.combinatorKeyword);
var foundUISchema = core.Generate.uiSchema(otherProps, 'VerticalLayout');
var foundUISchema = core.Generate.uiSchema(otherProps, 'VerticalLayout', undefined, props.rootSchema);
var isLayout = function isLayout(uischema) {

@@ -1397,3 +1401,3 @@ return Object.prototype.hasOwnProperty.call(uischema, 'elements');

newSelection: function newSelection() {
this.handleChange(this.control.path, this.newSelectedIndex !== undefined && this.newSelectedIndex !== null ? core.createDefaultValue(this.indexedOneOfRenderInfos[this.newSelectedIndex].schema) : {});
this.handleChange(this.control.path, this.newSelectedIndex !== undefined && this.newSelectedIndex !== null ? core.createDefaultValue(this.indexedOneOfRenderInfos[this.newSelectedIndex].schema, this.control.rootSchema) : {});
this.selectIndex = this.newSelectedIndex;

@@ -1400,0 +1404,0 @@ this.selectedIndex = this.newSelectedIndex;

@@ -432,3 +432,3 @@ import { findUISchema, getFirstPrimitiveProp, Resolve, composePaths, createDefaultValue, rankWith, schemaTypeIs, isDescriptionHidden, computeLabel, isStringControl, and, isMultiLineControl, isNumberControl, isIntegerControl, isEnumControl, isOneOfEnumControl, isDateControl, isDateTimeControl, isTimeControl, isBooleanControl, isLayout, uiTypeIs, isObjectControl, Generate, createCombinatorRenderInfos, isOneOfControl } from '@jsonforms/core';

addButtonClick: function addButtonClick() {
this.addItem(this.control.path, createDefaultValue(this.control.schema))();
this.addItem(this.control.path, createDefaultValue(this.control.schema, this.control.rootSchema))();
}

@@ -1222,3 +1222,3 @@ }

var uiSchemaGenerator = function uiSchemaGenerator() {
var uiSchema = Generate.uiSchema(_this.control.schema, 'Group');
var uiSchema = Generate.uiSchema(_this.control.schema, 'Group', undefined, _this.control.rootSchema);
if (isEmpty(_this.control.path)) {

@@ -1276,2 +1276,6 @@ uiSchema.type = 'VerticalLayout';

required: true
},
rootSchema: {
type: Object,
required: true
}

@@ -1281,3 +1285,3 @@ },

var otherProps = omit(props.schema, props.combinatorKeyword);
var foundUISchema = Generate.uiSchema(otherProps, 'VerticalLayout');
var foundUISchema = Generate.uiSchema(otherProps, 'VerticalLayout', undefined, props.rootSchema);
var isLayout = function isLayout(uischema) {

@@ -1385,3 +1389,3 @@ return Object.prototype.hasOwnProperty.call(uischema, 'elements');

newSelection: function newSelection() {
this.handleChange(this.control.path, this.newSelectedIndex !== undefined && this.newSelectedIndex !== null ? createDefaultValue(this.indexedOneOfRenderInfos[this.newSelectedIndex].schema) : {});
this.handleChange(this.control.path, this.newSelectedIndex !== undefined && this.newSelectedIndex !== null ? createDefaultValue(this.indexedOneOfRenderInfos[this.newSelectedIndex].schema, this.control.rootSchema) : {});
this.selectIndex = this.newSelectedIndex;

@@ -1388,0 +1392,0 @@ this.selectedIndex = this.newSelectedIndex;

@@ -69,3 +69,3 @@ import { JsonFormsRendererRegistryEntry, ControlElement, JsonSchema } from '@jsonforms/core';

composePaths: (path1: string, path2: string) => string;
createDefaultValue: (schema: JsonSchema) => {};
createDefaultValue: (schema: JsonSchema, rootSchema: JsonSchema) => any;
addButtonClick(): void;

@@ -72,0 +72,0 @@ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

@@ -16,2 +16,6 @@ import { JsonSchema, UISchemaElement } from '@jsonforms/core';

};
rootSchema: {
type: PropType<JsonSchema>;
required: true;
};
}, {

@@ -34,3 +38,7 @@ otherProps: JsonSchema;

};
rootSchema: {
type: PropType<JsonSchema>;
required: true;
};
}>>, {}, {}>;
export default _default;
{
"name": "@jsonforms/vue-vanilla",
"version": "3.2.0-alpha.2",
"version": "3.2.0-alpha.3",
"description": "Vue 3 Vanilla renderers for JSON Forms",

@@ -58,4 +58,4 @@ "repository": "https://github.com/eclipsesource/jsonforms",

"@babel/preset-typescript": "^7.9.0",
"@jsonforms/core": "3.2.0-alpha.2",
"@jsonforms/vue": "3.2.0-alpha.2",
"@jsonforms/core": "3.2.0-alpha.3",
"@jsonforms/vue": "3.2.0-alpha.3",
"@types/chai": "^4.2.11",

@@ -98,7 +98,7 @@ "@types/jest": "^27.4.1",

"peerDependencies": {
"@jsonforms/core": "3.2.0-alpha.2",
"@jsonforms/vue": "3.2.0-alpha.2",
"@jsonforms/core": "3.2.0-alpha.3",
"@jsonforms/vue": "3.2.0-alpha.3",
"vue": "^3.2.26"
},
"gitHead": "f922f48cb7548cefd8f1acd939a9afbd14b36f9b"
"gitHead": "77624c6ab6c0f3db98abe3175547bbd51f7510bb"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc