@zeng-alt/formkit-form-builder 1.3.0 → 1.4.0

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/dist/index.d.ts CHANGED
@@ -290,9 +290,7 @@ declare interface BaseNode {
290
290
  props?: Record<string, unknown>;
291
291
  /** 条件显示:布尔表达式 AST */
292
292
  visibleIf?: Expr;
293
- /** 布局信息(colspan / rowspan) */
294
- layout?: NodeLayout;
295
- /** 原始 outerClass(含 pt-2 等附加类;与 layout 同时保留保证往返无损) */
293
+ /** 原始 outerClass(col-span-N / row-span-N 与任意附加类,宽度唯一来源) */
296
294
  outerClass?: string;
297
295
  events?: EventBinding[];
298
296
  /** 任意业务元数据,Java 原样透传 */
@@ -1579,22 +1577,6 @@ declare type ModelValue_3 = Record<string, unknown>;
1579
1577
 
1580
1578
  export declare type NodeCategory = 'field' | 'container' | 'layout' | 'static';
1581
1579
 
1582
- declare interface NodeLayout {
1583
- /** 栅格占位(基于 settings.columns,默认 12) */
1584
- colspan?: number;
1585
- rowspan?: number;
1586
- /** 显式宽度(px / 百分比),grid 模式下忽略 */
1587
- width?: number | string;
1588
- order?: number;
1589
- /** 响应式断点覆盖 */
1590
- responsive?: {
1591
- sm?: NodeLayout;
1592
- md?: NodeLayout;
1593
- lg?: NodeLayout;
1594
- xl?: NodeLayout;
1595
- };
1596
- }
1597
-
1598
1580
  declare interface OptionItem {
1599
1581
  label: string;
1600
1582
  value: StaticValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeng-alt/formkit-form-builder",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "A visual FormKit schema builder for Vue 3",
5
5
  "keywords": [
6
6
  "drag-and-drop",
@@ -37,17 +37,6 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "scripts": {
41
- "dev": "vite",
42
- "build": "run-p type-check \"build-only {@}\" --",
43
- "preview": "vite preview",
44
- "build-only": "vite build",
45
- "type-check": "vue-tsc --build",
46
- "lint": "run-s lint:*",
47
- "lint:oxlint": "oxlint . --fix",
48
- "lint:eslint": "eslint . --fix --cache",
49
- "format": "oxfmt src/"
50
- },
51
40
  "dependencies": {
52
41
  "@formkit/core": "^2.0.0",
53
42
  "@formkit/drag-and-drop": "^0.5.0",
@@ -121,5 +110,16 @@
121
110
  },
122
111
  "engines": {
123
112
  "node": "^20.19.0 || >=22.12.0"
113
+ },
114
+ "scripts": {
115
+ "dev": "vite",
116
+ "build": "run-p type-check \"build-only {@}\" --",
117
+ "preview": "vite preview",
118
+ "build-only": "vite build",
119
+ "type-check": "vue-tsc --build",
120
+ "lint": "run-s lint:*",
121
+ "lint:oxlint": "oxlint . --fix",
122
+ "lint:eslint": "eslint . --fix --cache",
123
+ "format": "oxfmt src/"
124
124
  }
125
- }
125
+ }