yc-vep-ui 0.0.41 → 0.0.45
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/components/Descriptions/type.d.ts +2 -4
- package/dist/components/Form/index.vue.d.ts +1 -1
- package/dist/components/Form/type.d.ts +1 -2
- package/dist/components/Tree/type.d.ts +1 -2
- package/dist/components/index.d.ts +9 -10
- package/dist/components/utils/components.d.ts +30 -0
- package/dist/components/utils/render.d.ts +12 -1
- package/dist/entry.d.ts +6 -3
- package/dist/vep-ui.es.js +420 -376
- package/dist/vep-ui.umd.js +1 -1
- package/dist/yc-vep-ui.css +32 -32
- package/package.json +1 -14
- package/dist/components/type.d.ts +0 -9
- package/dist/icons-vue.cjs +0 -1
- package/dist/icons-vue.d.ts +0 -1
- package/dist/icons-vue.mjs +0 -1
- package/dist/resolver.d.ts +0 -16
- package/dist/resolver.js +0 -65
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import type { DescriptionProps } from 'element-plus'
|
|
2
|
-
|
|
3
1
|
export interface IDescriptionsField<T> {
|
|
4
2
|
label: string
|
|
5
3
|
prop: keyof T
|
|
6
|
-
render?: (props:
|
|
4
|
+
render?: (props: any) => any
|
|
7
5
|
span?: number
|
|
8
6
|
}
|
|
9
7
|
|
|
10
|
-
export interface IDescriptionsProps<T>
|
|
8
|
+
export interface IDescriptionsProps<T> {
|
|
11
9
|
data: T
|
|
12
10
|
fields: IDescriptionsField<T>[]
|
|
13
11
|
column?: number
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFormProps, IFormInstance } from '
|
|
1
|
+
import { IFormProps, IFormInstance } from './type';
|
|
2
2
|
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly onReset?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FormInstance } from 'element-plus'
|
|
2
1
|
import type { IField } from '../Filter/type'
|
|
3
2
|
|
|
4
3
|
export interface IFormProps<T> {
|
|
@@ -28,6 +27,6 @@ export interface IFormInstance {
|
|
|
28
27
|
getValues: () => Reactive<Record<string, any>>
|
|
29
28
|
setValues: (values: Record<string, any>) => void
|
|
30
29
|
clearValidate: () => void
|
|
31
|
-
onSubmit: (el:
|
|
30
|
+
onSubmit: (el: any) => void
|
|
32
31
|
validate: () => Promise<any>
|
|
33
32
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export { UiCard, UiTable, UiFilter, UiForm, UiEditor, UiTree, UiInfiniteScroll, UiDescriptions, UiDialog };
|
|
1
|
+
export { default as UiCard } from './Card/index.vue';
|
|
2
|
+
export { default as UiTable } from './Table/index.vue';
|
|
3
|
+
export { default as UiFilter } from './Filter/index.vue';
|
|
4
|
+
export { default as UiForm } from './Form/index.vue';
|
|
5
|
+
export { default as UiEditor } from './Editor/index.vue';
|
|
6
|
+
export { default as UiTree } from './Tree/index.vue';
|
|
7
|
+
export { default as UiInfiniteScroll } from './InfiniteScroll/index.vue';
|
|
8
|
+
export { default as UiDescriptions } from './Descriptions/index.vue';
|
|
9
|
+
export { default as UiDialog } from './Dialog/index.vue';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const El: {
|
|
2
|
+
readonly Button: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
3
|
+
readonly Link: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
4
|
+
readonly Tag: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
5
|
+
readonly Select: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
6
|
+
readonly DatePicker: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
7
|
+
readonly Input: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
8
|
+
readonly InputTag: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
9
|
+
readonly TimeSelect: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
10
|
+
readonly InputNumber: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
11
|
+
readonly RadioGroup: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
12
|
+
readonly Text: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
13
|
+
readonly Card: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
14
|
+
readonly Table: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
15
|
+
readonly TableColumn: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
16
|
+
readonly Pagination: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
17
|
+
readonly Form: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
18
|
+
readonly FormItem: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
19
|
+
readonly Row: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
20
|
+
readonly Col: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
21
|
+
readonly Icon: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
22
|
+
readonly TreeV2: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
23
|
+
readonly Dropdown: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
24
|
+
readonly DropdownMenu: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
25
|
+
readonly DropdownItem: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
26
|
+
readonly Dialog: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
27
|
+
readonly ButtonGroup: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
28
|
+
readonly Descriptions: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
29
|
+
readonly DescriptionsItem: string | import('vue').ConcreteComponent<{}, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
30
|
+
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
type ButtonProps = any;
|
|
2
|
+
type LinkProps = any;
|
|
3
|
+
type TagProps = any;
|
|
4
|
+
type SwitchProps = any;
|
|
5
|
+
type SelectProps = any;
|
|
6
|
+
type DatePickerProps = any;
|
|
7
|
+
type InputProps = any;
|
|
8
|
+
type InputTagProps = any;
|
|
9
|
+
type TimeSelectProps = any;
|
|
10
|
+
type InputNumberProps = any;
|
|
11
|
+
type RadioGroupProps = any;
|
|
12
|
+
type TextProps = any;
|
|
2
13
|
declare function button(props: ButtonProps | ButtonProps[]): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
3
14
|
[key: string]: any;
|
|
4
15
|
}>;
|
package/dist/entry.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export type { IProp } from './components/type'
|
|
1
|
+
import type { App } from 'vue'
|
|
2
|
+
export type * from './components/type'
|
|
4
3
|
export type { IColumn, ITableProps, ITableInstance, IRender, IRenderProps, IExtra, IColumnRenderProps } from './components/Table/type'
|
|
5
4
|
export type { IField, IFilterProps, IFieldSlot, IFilterRenderProps } from './components/Filter/type'
|
|
6
5
|
export type { IFormProps, IFormInstance } from './components/Form/type'
|
|
@@ -9,3 +8,7 @@ export type { ITreeProps } from './components/Tree/type'
|
|
|
9
8
|
export type { IInfiniteScrollProps } from './components/InfiniteScroll/type'
|
|
10
9
|
export type { IEditorProps } from './components/Editor/type'
|
|
11
10
|
export type { ICardProps } from './components/Card/type'
|
|
11
|
+
export * from './components'
|
|
12
|
+
declare const ycPlugin: { install(app: App): Promise<void> }
|
|
13
|
+
export default ycPlugin
|
|
14
|
+
export { ycPlugin }
|