@piying/view-vue2-legacy 2.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/action/index.d.ts +3 -0
- package/builder.d.ts +4 -0
- package/component/field-template.vue.d.ts +15 -0
- package/component/group.vue.d.ts +3 -0
- package/component/piying-view.vue.d.ts +19 -0
- package/component/wrapper.vue.d.ts +27 -0
- package/const.d.ts +1 -0
- package/index.d.ts +11 -0
- package/index.js +7103 -0
- package/index.js.map +1 -0
- package/package.json +60 -0
- package/readme.md +35 -0
- package/token.d.ts +5 -0
- package/type/group.d.ts +7 -0
- package/type/index.d.ts +1 -0
- package/util/clone.d.ts +1 -0
- package/util/index.d.ts +2 -0
- package/util/signal-convert.d.ts +1 -0
- package/util/use-control-value-accessor.d.ts +11 -0
- package/vue-schema.d.ts +5 -0
package/builder.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PiResolvedViewFieldConfig } from '../type/group';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
field: PiResolvedViewFieldConfig;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_TypePropsToOption<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, unknown, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
schema: v.BaseSchema<any, any, any> | v.SchemaWithPipe<any>;
|
|
4
|
+
modelValue?: any;
|
|
5
|
+
options: any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { CoreWrapperConfig } from '@piying/view-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
wrappers: CoreWrapperConfig[];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_20: {}, __VLS_22: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_20) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_22) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
package/const.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EMPTY_ARRAY: never[];
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PiyingView from './component/piying-view.vue';
|
|
2
|
+
export { PiyingView };
|
|
3
|
+
export * from './util';
|
|
4
|
+
import PiyingFieldTemplate from './component/field-template.vue';
|
|
5
|
+
export { PiyingFieldTemplate };
|
|
6
|
+
import PiyingViewGroup from './component/group.vue';
|
|
7
|
+
export { PiyingViewGroup };
|
|
8
|
+
export * from './type';
|
|
9
|
+
export * from './token';
|
|
10
|
+
export * from './builder';
|
|
11
|
+
export * from './vue-schema';
|