@schemx/vue 0.1.22 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import { NamePath, SchemxInstance, Values } from '../../../core/src/index.ts';
1
+ import { NamePath, SchemxInstance, Values } from '@schemx/core';
2
2
 
3
3
  /**
4
4
  * 字典选项配置
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { FieldValue, NamePath, SchemxFieldInstance, Values } from '../../../core/src/index.ts';
2
+ import { FieldValue, NamePath, SchemxFieldInstance, Values } from '@schemx/core';
3
3
 
4
4
  /**
5
5
  * Vue 层字段控制器实例
@@ -1,4 +1,4 @@
1
- import { SchemxProps, Values } from '../../../core/src/index.ts';
1
+ import { SchemxProps, Values } from '@schemx/core';
2
2
  import * as CSS from "csstype";
3
3
  /**
4
4
  * schemx 组件 Props
@@ -1,4 +1,4 @@
1
- import { Dynamic, Values } from '../../../core/src/index.ts';
1
+ import { Dynamic, Values } from '@schemx/core';
2
2
 
3
3
  /**
4
4
  * 批量解析的单个属性条目
@@ -1,4 +1,4 @@
1
- import { SchemxViewSchema } from '../../../core/src/index.ts';
1
+ import { SchemxViewSchema } from '@schemx/core';
2
2
 
3
3
  /**
4
4
  * 判断当前项是否为顶层可见普通字段中的第一个或最后一个。
@@ -1,4 +1,4 @@
1
- import { RendererRegistryType, SchemxRendererKey } from '../../../core/src/index.ts';
1
+ import { RendererRegistryType, SchemxRendererKey } from '@schemx/core';
2
2
 
3
3
  /**
4
4
  * 全局渲染器注册实例
@@ -1,4 +1,4 @@
1
- import { ValidatorsRegistryType } from '../../../core/src/index.ts';
1
+ import { ValidatorsRegistryType } from '@schemx/core';
2
2
 
3
3
  /**
4
4
  * 全局校验规则注册实例
@@ -1,4 +1,4 @@
1
- import { ValidationTrigger } from '../../../core/src/index.ts';
1
+ import { ValidationTrigger } from '@schemx/core';
2
2
 
3
3
  /** 触发时机类型(支持单个或数组) */
4
4
  export type TriggerConfig = ValidationTrigger | ValidationTrigger[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@schemx/vue",
4
- "version": "0.1.22",
4
+ "version": "0.2.0",
5
5
  "description": "基于 JSON Schema 配置的 Vue 3 动态表单引擎(UI 无关核心)",
6
6
  "keywords": [
7
7
  "schemx",
@@ -54,7 +54,7 @@
54
54
  "csstype": "^3.2.3",
55
55
  "dayjs": "^1.11.19",
56
56
  "es-toolkit": "^1.47.0",
57
- "@schemx/core": "0.1.24"
57
+ "@schemx/core": "0.2.0"
58
58
  },
59
59
  "license": "MIT",
60
60
  "devDependencies": {
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "scripts": {
66
66
  "build": "vite build",
67
- "build:analyze": "ANALYZE=true vite build",
67
+ "build:analyze": "VITE_ANALYZE=true vite build",
68
68
  "test": "vitest run",
69
69
  "lint": "eslint \"src/**/*.{ts,tsx,vue,js,jsx}\"",
70
70
  "type-check": "tsc -p tsconfig.json --noEmit"