ci: 👷commit

This commit is contained in:
陈华春
2024-04-23 19:10:37 +08:00
parent 455c7ef296
commit d804e7a720
7 changed files with 288 additions and 573 deletions

7
.gitignore vendored
View File

@@ -41,6 +41,13 @@ lib
/packages/*/tsconfig.tsbuildinfo
/packages/icons/src/components
# apps
/apps/*/temp/
/apps/*/types/
/apps/*/dist/
/apps/*/coverage/
/apps/*/node_modules/
# dev
/dev/public/@vtj

View File

@@ -62,6 +62,8 @@
- ~~出码state 初始值不能指定props~~
- ~~出码作用域插槽没传递出来~~
- ~~编译后不应该调service.init~~
- 设计和预览模式双向绑定的输入框会刷新失去焦点,无法连续输入
- 设计画布拖拽组件需要判断,不能有无限递归
# UI

View File

@@ -1,244 +0,0 @@
import { DefineComponent, Ref, ComponentOptionsMixin, ExtractPropTypes, PublicProps } from 'vue';
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
stringProp: {
type: StringConstructor;
};
booleanProp: {
type: BooleanConstructor;
};
numberProp: {
type: NumberConstructor;
};
selectProp: {
type: StringConstructor;
};
objectProp: {
type: ObjectConstructor;
};
arrayProp: {
type: ArrayConstructor;
};
iconProp: {
type: StringConstructor;
};
colorProp: {
type: StringConstructor;
};
modelValue: {
type: StringConstructor;
};
syncProp: {
type: StringConstructor;
};
}, {
click: () => void;
submit: () => void;
data: Ref<any>;
change: (params: any) => void;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
click: (props: Readonly<Partial< ExtractPropTypes<{
stringProp: {
type: StringConstructor;
};
booleanProp: {
type: BooleanConstructor;
};
numberProp: {
type: NumberConstructor;
};
selectProp: {
type: StringConstructor;
};
objectProp: {
type: ObjectConstructor;
};
arrayProp: {
type: ArrayConstructor;
};
iconProp: {
type: StringConstructor;
};
colorProp: {
type: StringConstructor;
};
modelValue: {
type: StringConstructor;
};
syncProp: {
type: StringConstructor;
};
}>>>) => void;
submit: (props: Readonly<Partial< ExtractPropTypes<{
stringProp: {
type: StringConstructor;
};
booleanProp: {
type: BooleanConstructor;
};
numberProp: {
type: NumberConstructor;
};
selectProp: {
type: StringConstructor;
};
objectProp: {
type: ObjectConstructor;
};
arrayProp: {
type: ArrayConstructor;
};
iconProp: {
type: StringConstructor;
};
colorProp: {
type: StringConstructor;
};
modelValue: {
type: StringConstructor;
};
syncProp: {
type: StringConstructor;
};
}>>>) => void;
change: (data: any) => void;
"update:modelValue": (value?: string | undefined) => void;
"update:syncProp": (value?: string | undefined) => void;
}, string, PublicProps, Readonly< ExtractPropTypes<{
stringProp: {
type: StringConstructor;
};
booleanProp: {
type: BooleanConstructor;
};
numberProp: {
type: NumberConstructor;
};
selectProp: {
type: StringConstructor;
};
objectProp: {
type: ObjectConstructor;
};
arrayProp: {
type: ArrayConstructor;
};
iconProp: {
type: StringConstructor;
};
colorProp: {
type: StringConstructor;
};
modelValue: {
type: StringConstructor;
};
syncProp: {
type: StringConstructor;
};
}>> & {
onClick?: ((props: Readonly<Partial< ExtractPropTypes<{
stringProp: {
type: StringConstructor;
};
booleanProp: {
type: BooleanConstructor;
};
numberProp: {
type: NumberConstructor;
};
selectProp: {
type: StringConstructor;
};
objectProp: {
type: ObjectConstructor;
};
arrayProp: {
type: ArrayConstructor;
};
iconProp: {
type: StringConstructor;
};
colorProp: {
type: StringConstructor;
};
modelValue: {
type: StringConstructor;
};
syncProp: {
type: StringConstructor;
};
}>>>) => any) | undefined;
onSubmit?: ((props: Readonly<Partial< ExtractPropTypes<{
stringProp: {
type: StringConstructor;
};
booleanProp: {
type: BooleanConstructor;
};
numberProp: {
type: NumberConstructor;
};
selectProp: {
type: StringConstructor;
};
objectProp: {
type: ObjectConstructor;
};
arrayProp: {
type: ArrayConstructor;
};
iconProp: {
type: StringConstructor;
};
colorProp: {
type: StringConstructor;
};
modelValue: {
type: StringConstructor;
};
syncProp: {
type: StringConstructor;
};
}>>>) => any) | undefined;
onChange?: ((data: any) => any) | undefined;
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
"onUpdate:syncProp"?: ((value?: string | undefined) => any) | undefined;
}, {
booleanProp: boolean;
}, {}>, {
default?(_: {
props: {
readonly booleanProp: boolean;
readonly stringProp?: string | undefined;
readonly numberProp?: number | undefined;
readonly selectProp?: string | undefined;
readonly objectProp?: Record<string, any> | undefined;
readonly arrayProp?: unknown[] | undefined;
readonly iconProp?: string | undefined;
readonly colorProp?: string | undefined;
readonly modelValue?: string | undefined;
readonly syncProp?: string | undefined;
};
data: any;
}): any;
extra?(_: {
props: {
readonly booleanProp: boolean;
readonly stringProp?: string | undefined;
readonly numberProp?: number | undefined;
readonly selectProp?: string | undefined;
readonly objectProp?: Record<string, any> | undefined;
readonly arrayProp?: unknown[] | undefined;
readonly iconProp?: string | undefined;
readonly colorProp?: string | undefined;
readonly modelValue?: string | undefined;
readonly syncProp?: string | undefined;
};
data: any;
}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};

View File

@@ -1,4 +0,0 @@
import { default as plugin } from "./Example";
export * from './types';
export { plugin };

View File

@@ -1,43 +0,0 @@
import { ExtractPropTypes } from 'vue';
export type ComponentPropsType<T> = Readonly<Partial<ExtractPropTypes<T>>>;
export declare const exampleProps: {
stringProp: {
type: StringConstructor;
};
booleanProp: {
type: BooleanConstructor;
};
numberProp: {
type: NumberConstructor;
};
selectProp: {
type: StringConstructor;
};
objectProp: {
type: ObjectConstructor;
};
arrayProp: {
type: ArrayConstructor;
};
iconProp: {
type: StringConstructor;
};
colorProp: {
type: StringConstructor;
};
modelValue: {
type: StringConstructor;
};
syncProp: {
type: StringConstructor;
};
};
export type ExamplePropsProps = ComponentPropsType<typeof exampleProps>;
export type ExampleEmits = {
click: [props: ExamplePropsProps];
submit: [props: ExamplePropsProps];
change: [data: any];
'update:modelValue': [value?: string];
'update:syncProp': [value?: string];
};

View File

@@ -1,5 +0,0 @@
import { BlockPluginExports } from '@vtj/core';
export * from './component';
declare const _default: BlockPluginExports;
export default _default;

556
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff