guava-ai-designer
guava-ai-designer
AI Coding Visual Form Designer — drag & drop form designer that generates AI Coding style md config (Vue 3 + Element Plus).
Install
pnpm add guava-ai-designer
Peer dependencies: vue ^3.5, element-plus ^2.14.
Usage
import { GvAIDesigner } from 'guava-ai-designer';
// Style is NOT injected automatically (Vite lib mode) — import it manually:
import 'guava-ai-designer/style.css';
<GvAIDesigner
:license="licenseToken"
server-url="https://your-license-server:31652"
:get-dict="getDict" />
Props
| Prop | Type | Required | Description |
|---|---|---|---|
license |
string |
✓ | License Token. Missing or invalid shows a locked page. |
serverUrl |
string |
✓ | License server base URL without /api suffix (the SDK appends /api/licenses/verify itself). Online verification is mandatory. |
getDict |
(dicType: string) => DictOption[] | undefined |
– | Resolve dict options so canvas select/radio/checkbox render real dict labels. |
allowFallback |
boolean |
– | Allow offline fallback (local signature check) when the license server is unreachable. Default false. |
verifyResponseSignature |
boolean |
– | Verify the server response signature. Default true. |
CSS import note
The library ships its stylesheet as a separate file (index.css, exported as guava-ai-designer/style.css). You must import it explicitly in your app entry, otherwise the designer renders unstyled.
License
Apache-2.0. Runtime license verification is enforced via guava-license-sdk — a valid license token and reachable license server are required.
Related Packages
@cocoar/vue-page-builder
Generic headless visual page builder and renderer for Vue 3 built on the Cocoar...
6,986
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.1.0 | ^3.5.35 | Apache-2.0 | |
| 2.0.9 | ^3.5.35 | Apache-2.0 | |
| 2.0.8 | ^3.5.35 | Apache-2.0 | |
| 2.0.7 | ^3.5.35 | Apache-2.0 | |
| 2.0.6 | ^3.5.35 | Apache-2.0 | |
| 2.0.5 | ^3.5.35 | Apache-2.0 | |
| 2.0.4 | ^3.5.35 | Apache-2.0 | |
| 2.0.3 | ^3.5.35 | Apache-2.0 | |
| 2.0.2 | ^3.5.35 | Apache-2.0 |