@piying/view-vue 1.1.16 → 1.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.
- package/index.d.ts +8 -8
- package/index.js +1 -5
- package/package.json +55 -22
- package/readme.md +1 -0
- package/{formly/type → type}/group.d.ts +2 -1
- package/vue-schema.d.ts +6 -0
- package/formly/vue-schema.d.ts +0 -8
- /package/{formly/action → action}/index.d.ts +0 -0
- /package/{formly/builder.d.ts → builder.d.ts} +0 -0
- /package/{formly/component → component}/group.vue.d.ts +0 -0
- /package/{formly/const.d.ts → const.d.ts} +0 -0
- /package/{formly/field-template.vue.d.ts → field-template.vue.d.ts} +0 -0
- /package/{formly/piying-view.vue.d.ts → piying-view.vue.d.ts} +0 -0
- /package/{formly/token.d.ts → token.d.ts} +0 -0
- /package/{formly/type → type}/index.d.ts +0 -0
- /package/{formly/util → util}/index.d.ts +0 -0
- /package/{formly/util → util}/init-listen.d.ts +0 -0
- /package/{formly/util → util}/signal-convert.d.ts +0 -0
- /package/{formly/util → util}/use-control-value-accessor.d.ts +0 -0
- /package/{formly/wrapper.vue.d.ts → wrapper.vue.d.ts} +0 -0
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import PiyingView from './
|
|
1
|
+
import PiyingView from './piying-view.vue';
|
|
2
2
|
export { PiyingView };
|
|
3
|
-
export * from './
|
|
4
|
-
import PiyingFieldTemplate from './
|
|
3
|
+
export * from './util';
|
|
4
|
+
import PiyingFieldTemplate from './field-template.vue';
|
|
5
5
|
export { PiyingFieldTemplate };
|
|
6
|
-
import PiyingViewGroup from './
|
|
6
|
+
import PiyingViewGroup from './component/group.vue';
|
|
7
7
|
export { PiyingViewGroup };
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
8
|
+
export * from './type';
|
|
9
|
+
export * from './token';
|
|
10
|
+
export * from './builder';
|
|
11
|
+
export * from './vue-schema';
|
package/index.js
CHANGED
|
@@ -79,11 +79,7 @@ const W = /* @__PURE__ */ $({
|
|
|
79
79
|
return G(
|
|
80
80
|
[C, _],
|
|
81
81
|
([s, i]) => {
|
|
82
|
-
f == null || f(), z && s && (f = ne(
|
|
83
|
-
() => i.form.control,
|
|
84
|
-
s.cva,
|
|
85
|
-
n
|
|
86
|
-
));
|
|
82
|
+
f == null || f(), z && s && (f = ne(() => i.form.control, s.cva, n));
|
|
87
83
|
},
|
|
88
84
|
{ immediate: !0 }
|
|
89
85
|
), Y(() => {
|
package/package.json
CHANGED
|
@@ -1,26 +1,59 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"sideEffects": false,
|
|
12
|
-
"peerDependencies": {
|
|
13
|
-
"vue": "^3.4.21"
|
|
14
|
-
},
|
|
15
|
-
"module": "index.js",
|
|
16
|
-
"typings": "index.d.ts",
|
|
17
|
-
"exports": {
|
|
18
|
-
"./package.json": {
|
|
19
|
-
"default": "./package.json"
|
|
2
|
+
"name": "@piying/view-vue",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Piying view For Vue;Valibot to Component",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"homepage": "https://piying-org.github.io/website/docs/client/intro",
|
|
7
|
+
"repository": {
|
|
8
|
+
"url": "https://github.com/piying-org/piying-view",
|
|
9
|
+
"directory": "packages/vue",
|
|
10
|
+
"type": "git"
|
|
20
11
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/piying-org/piying-view/issues"
|
|
14
|
+
},
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "wszgrcy",
|
|
17
|
+
"url": "https://github.com/wszgrcy",
|
|
18
|
+
"email": "wszgrcy@gmail.com"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"Vue",
|
|
22
|
+
"Vue 3",
|
|
23
|
+
"VueJs",
|
|
24
|
+
"form",
|
|
25
|
+
"valibot",
|
|
26
|
+
"validation",
|
|
27
|
+
"validator",
|
|
28
|
+
"layout",
|
|
29
|
+
"listen",
|
|
30
|
+
"field",
|
|
31
|
+
"control",
|
|
32
|
+
"group",
|
|
33
|
+
"array",
|
|
34
|
+
"control",
|
|
35
|
+
"metadata"
|
|
36
|
+
],
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@piying/view-core": "^1.2.0",
|
|
40
|
+
"fast-equals": "^5.2.2",
|
|
41
|
+
"rfdc": "^1.4.1",
|
|
42
|
+
"static-injector": "^6.1.2"
|
|
43
|
+
},
|
|
44
|
+
"sideEffects": false,
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"vue": "^3.4.21"
|
|
47
|
+
},
|
|
48
|
+
"module": "index.js",
|
|
49
|
+
"typings": "index.d.ts",
|
|
50
|
+
"exports": {
|
|
51
|
+
"./package.json": {
|
|
52
|
+
"default": "./package.json"
|
|
53
|
+
},
|
|
54
|
+
".": {
|
|
55
|
+
"types": "./index.d.ts",
|
|
56
|
+
"default": "./index.js"
|
|
57
|
+
}
|
|
24
58
|
}
|
|
25
|
-
}
|
|
26
59
|
}
|
package/readme.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[document](https://piying-org.github.io/website/docs/client/intro)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { VueSchemaHandle } from '../vue-schema';
|
|
2
2
|
import type { ConfigMergeStrategy, CoreResolvedComponentDefine, PiResolvedCommonViewFieldConfig } from '@piying/view-core';
|
|
3
3
|
import type { SetOptional } from '@piying/view-core';
|
|
4
4
|
export interface RawDirectiveOutputs {
|
|
@@ -38,3 +38,4 @@ export interface PiViewConfig {
|
|
|
38
38
|
/** merge 数组/对象会合并 replace 优先自身/组件/全局 */
|
|
39
39
|
defaultConfigMergeStrategy?: ConfigMergeStrategy | ConfigMergeStrategyObject;
|
|
40
40
|
}
|
|
41
|
+
export type ConfigMergeStrategyObject = Record<keyof PiDefaultRawViewFieldConfig, ConfigMergeStrategy>;
|
package/vue-schema.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CoreSchemaHandle } from '@piying/view-core';
|
|
2
|
+
import type { PiResolvedViewFieldConfig } from './type/group';
|
|
3
|
+
export declare class VueSchemaHandle extends CoreSchemaHandle<VueSchemaHandle, () => PiResolvedViewFieldConfig> {
|
|
4
|
+
type?: any;
|
|
5
|
+
contents?: any[];
|
|
6
|
+
}
|
package/formly/vue-schema.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CoreSchemaHandle, type ConfigMergeStrategy } from '@piying/view-core';
|
|
2
|
-
import type { PiResolvedViewFieldConfig } from './type/group';
|
|
3
|
-
export declare class VueSchemaHandle extends CoreSchemaHandle<VueSchemaHandle, () => PiResolvedViewFieldConfig> {
|
|
4
|
-
type?: any;
|
|
5
|
-
contents?: any[];
|
|
6
|
-
}
|
|
7
|
-
export type PiDefaultRawFormlyFieldConfig = Pick<VueSchemaHandle, 'inputs' | 'outputs' | 'wrappers' | 'formConfig' | 'renderConfig' | 'props'>;
|
|
8
|
-
export type ConfigMergeStrategyObject = Record<keyof PiDefaultRawFormlyFieldConfig, ConfigMergeStrategy>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|