easy-ep-ui 0.1.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.
Files changed (32) hide show
  1. package/README.md +86 -0
  2. package/dist/easy-ep-ui.js +1 -0
  3. package/dist/style.css +1 -0
  4. package/es/components/ee-dict-select/index.d.ts +2 -0
  5. package/es/components/ee-dict-select/src/index.vue.d.ts +25 -0
  6. package/es/components/ee-form-dialog/index.d.ts +2 -0
  7. package/es/components/ee-form-dialog/src/index.vue.d.ts +126 -0
  8. package/es/components/ee-form-table/index.d.ts +2 -0
  9. package/es/components/ee-form-table/src/index.vue.d.ts +1323 -0
  10. package/es/components/ee-search-bar/index.d.ts +2 -0
  11. package/es/components/ee-search-bar/src/index.vue.d.ts +124 -0
  12. package/es/components/ee-status-tag/index.d.ts +2 -0
  13. package/es/components/ee-status-tag/src/index.vue.d.ts +13 -0
  14. package/es/index.d.ts +13 -0
  15. package/es/index.mjs +544 -0
  16. package/es/style.css +1 -0
  17. package/es/utils/types.d.ts +48 -0
  18. package/lib/components/ee-dict-select/index.d.ts +2 -0
  19. package/lib/components/ee-dict-select/src/index.vue.d.ts +25 -0
  20. package/lib/components/ee-form-dialog/index.d.ts +2 -0
  21. package/lib/components/ee-form-dialog/src/index.vue.d.ts +126 -0
  22. package/lib/components/ee-form-table/index.d.ts +2 -0
  23. package/lib/components/ee-form-table/src/index.vue.d.ts +1323 -0
  24. package/lib/components/ee-search-bar/index.d.ts +2 -0
  25. package/lib/components/ee-search-bar/src/index.vue.d.ts +124 -0
  26. package/lib/components/ee-status-tag/index.d.ts +2 -0
  27. package/lib/components/ee-status-tag/src/index.vue.d.ts +13 -0
  28. package/lib/index.cjs +1 -0
  29. package/lib/index.d.ts +13 -0
  30. package/lib/style.css +1 -0
  31. package/lib/utils/types.d.ts +48 -0
  32. package/package.json +62 -0
@@ -0,0 +1,126 @@
1
+ import { FormField } from '../../../utils/types';
2
+ type __VLS_Props = {
3
+ modelValue: boolean;
4
+ title?: string;
5
+ formData: Record<string, any>;
6
+ fields: FormField[];
7
+ rules?: Record<string, any[]>;
8
+ width?: string | number;
9
+ labelWidth?: string | number;
10
+ loading?: boolean;
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
+ "update:modelValue": (val: boolean) => any;
14
+ submit: (val: Record<string, any>) => any;
15
+ cancel: () => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
18
+ onSubmit?: ((val: Record<string, any>) => any) | undefined;
19
+ onCancel?: (() => any) | undefined;
20
+ }>, {
21
+ width: string | number;
22
+ loading: boolean;
23
+ labelWidth: string | number;
24
+ title: string;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
26
+ formRef: ({
27
+ $: import('vue').ComponentInternalInstance;
28
+ $data: {};
29
+ $props: {
30
+ readonly model?: Record<string, any> | undefined;
31
+ readonly rules?: import('element-plus').FormRules | undefined;
32
+ readonly labelPosition?: "left" | "right" | "top" | undefined;
33
+ readonly requireAsteriskPosition?: "left" | "right" | undefined;
34
+ readonly labelWidth?: string | number | undefined;
35
+ readonly labelSuffix?: string | undefined;
36
+ readonly inline?: boolean | undefined;
37
+ readonly inlineMessage?: boolean | undefined;
38
+ readonly statusIcon?: boolean | undefined;
39
+ readonly showMessage?: boolean | undefined;
40
+ readonly validateOnRuleChange?: boolean | undefined;
41
+ readonly hideRequiredAsterisk?: boolean | undefined;
42
+ readonly scrollToError?: boolean | undefined;
43
+ readonly scrollIntoViewOptions?: (ScrollIntoViewOptions | boolean) | undefined;
44
+ readonly size?: import('element-plus').ComponentSize | undefined;
45
+ readonly disabled?: boolean | undefined;
46
+ readonly onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
47
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
48
+ $attrs: import('vue').Attrs;
49
+ $refs: {
50
+ [x: string]: unknown;
51
+ };
52
+ $slots: Readonly<{
53
+ [name: string]: import('vue').Slot<any> | undefined;
54
+ }>;
55
+ $root: import('vue').ComponentPublicInstance | null;
56
+ $parent: import('vue').ComponentPublicInstance | null;
57
+ $host: Element | null;
58
+ $emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
59
+ $el: any;
60
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').FormProps> & Readonly<{
61
+ onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
62
+ }>, {
63
+ validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
64
+ validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
65
+ resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
66
+ clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
67
+ scrollToField: (prop: import('element-plus').FormItemProp) => void;
68
+ getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
69
+ fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
70
+ setInitialValues: (initModel: Record<string, any>) => void;
71
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
72
+ validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
73
+ }, string, {
74
+ labelWidth: string | number;
75
+ labelPosition: "left" | "right" | "top";
76
+ requireAsteriskPosition: "left" | "right";
77
+ labelSuffix: string;
78
+ showMessage: boolean;
79
+ validateOnRuleChange: boolean;
80
+ scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
81
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
82
+ beforeCreate?: (() => void) | (() => void)[];
83
+ created?: (() => void) | (() => void)[];
84
+ beforeMount?: (() => void) | (() => void)[];
85
+ mounted?: (() => void) | (() => void)[];
86
+ beforeUpdate?: (() => void) | (() => void)[];
87
+ updated?: (() => void) | (() => void)[];
88
+ activated?: (() => void) | (() => void)[];
89
+ deactivated?: (() => void) | (() => void)[];
90
+ beforeDestroy?: (() => void) | (() => void)[];
91
+ beforeUnmount?: (() => void) | (() => void)[];
92
+ destroyed?: (() => void) | (() => void)[];
93
+ unmounted?: (() => void) | (() => void)[];
94
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
95
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
96
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
97
+ };
98
+ $forceUpdate: () => void;
99
+ $nextTick: typeof import('vue').nextTick;
100
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
101
+ } & Readonly<{
102
+ labelWidth: string | number;
103
+ labelPosition: "left" | "right" | "top";
104
+ requireAsteriskPosition: "left" | "right";
105
+ labelSuffix: string;
106
+ showMessage: boolean;
107
+ validateOnRuleChange: boolean;
108
+ scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
109
+ }> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
110
+ onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
111
+ }>, "fields" | "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & {
112
+ validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
113
+ validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
114
+ resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
115
+ clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
116
+ scrollToField: (prop: import('element-plus').FormItemProp) => void;
117
+ getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
118
+ fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
119
+ setInitialValues: (initModel: Record<string, any>) => void;
120
+ } & {} & import('vue').ComponentCustomProperties & {} & {
121
+ $slots: {
122
+ default?: (props: {}) => any;
123
+ };
124
+ }) | null;
125
+ }, any>;
126
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { default as EeFormTable } from './src/index.vue';
2
+ export default EeFormTable;