@syncfusion/ej2-vue-form-renderer 34.2.5 → 34.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/ej2-vue-form-renderer.umd.min.js +9 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Vue Form Renderer Component
|
|
2
2
|
|
|
3
|
+
> **Using this package with an AI coding agent**
|
|
4
|
+
>
|
|
5
|
+
> Before generating Syncfusion® code, ask your AI coding agent to run the Syncfusion® setup using the following prompt:
|
|
6
|
+
>
|
|
7
|
+
> ```text
|
|
8
|
+
> Set up this project for Syncfusion® before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com/agent-setup/prompt.md, then report the detected platform, installed skill pack, MCP status, and any required licensing action.
|
|
9
|
+
> ```
|
|
10
|
+
> The setup detects your project’s platform and loads the appropriate Syncfusion® skill pack. No Syncfusion® account or MCP key is required to install or read Syncfusion® agent skills.
|
|
11
|
+
>
|
|
12
|
+
> **Platform reference:** [https://ai.syncfusion.com/vue/llms.txt](https://ai.syncfusion.com/vue/llms.txt)
|
|
13
|
+
|
|
3
14
|
## What's Included in the Vue Form Renderer Package
|
|
4
15
|
|
|
5
16
|
The Vue Form Renderer package is a schema-driven form rendering and validation engine. It consumes a JSON form schema and renders a fully functional, Syncfusion-based form that supports field mapping, conditional visibility/disabling, expression-based value computation, custom validation, and data submission.
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-vue-form-renderer.umd.min.js
|
|
3
|
+
* version : 34.2.6
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
1
10
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-form-renderer"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-form-renderer","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t((e=e||self).ej={},e.ej2FormRenderer,e.ej2VueBase,e.ej2Base)}(this,function(t,s,n,i){"use strict";var e=["isLazyUpdate","plugins","className","enablePersistence","enableRtl","layout","locale","schema","buttonClick","change","created","failure","submit"],o=[],r=n.getProps({props:e}),a=r[0],r=r[1],u=Object.keys(r);u.push("modelchanged","update:modelValue");for(var c=0,l=o;c<l.length;c++)u.push("update:"+l[c]);var d=n.vueDefineComponent({name:"FormRendererComponent",mixins:[n.ComponentBase],props:a,watch:r,emits:u,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new s.FormRenderer({}),propKeys:e,models:o,hasChildDirective:!1,hasInjectedModules:!1,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=null;return(n.isExecute?e:n.gh)("div",t=i.isNullOrUndefined(this.$slots.default)?t:n.isExecute?this.$slots.default:this.$slots.default())},methods:{clearTemplate:function(e){if((e=e||Object.keys(this.templateCollection||{})).length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var n=s[t],i=this.templateCollection[n];if(i&&i.length){for(var o=0,r=i;o<r.length;o++){var a=r[o];this.destroyPortals(a)}delete this.templateCollection[n]}}},setProperties:function(s,e){var n=this;this.isVue3&&(this.models=this.models||this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(s,e),s&&this.models&&this.models.length&&Object.keys(s).map(function(t){n.models.map(function(e){t!==e||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,s[t]):(n.$emit("update:"+t,s[t]),n.$emit("modelchanged",s[t])))})})},custom:function(){this.updated()},getComponent:function(e){return this.ej2Instances.getComponent(e)}}}),p={name:"ejs-formrenderer",install:function(e){e.component(p.name,d)}};Object.keys(s).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})}),t.FormRendererComponent=d,t.FormRendererPlugin=p,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
2
11
|
//# sourceMappingURL=ej2-vue-form-renderer.umd.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-vue-form-renderer",
|
|
3
|
-
"version": "34.2.
|
|
3
|
+
"version": "34.2.6",
|
|
4
4
|
"description": "A package of Essential JS 2 Form Renderer which can render feature-rich Syncfusion components as a form. for Vue",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"es2015": "dist/es6/ej2-vue-form-renderer.es2015.js",
|
|
20
20
|
"readme": "ReadMe.md",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@syncfusion/ej2-base": "~34.2.
|
|
23
|
-
"@syncfusion/ej2-vue-base": "~34.2.
|
|
24
|
-
"@syncfusion/ej2-form-renderer": "34.2.
|
|
22
|
+
"@syncfusion/ej2-base": "~34.2.6",
|
|
23
|
+
"@syncfusion/ej2-vue-base": "~34.2.6",
|
|
24
|
+
"@syncfusion/ej2-form-renderer": "34.2.6"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {},
|
|
27
27
|
"scripts": {
|