zhytech-ui 1.0.6 → 1.0.8

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/README.md CHANGED
@@ -26,6 +26,7 @@ import { dynamicFormData,dynamicFilter } from "zhytech-ui"
26
26
  2)、全局引入:在项目内任何页面都不需要单独引入
27
27
  ```ts
28
28
  import zhytechUI from "zhytech-ui";
29
+ import "../node_modules/zhytech-ui/dist/style.css";
29
30
  createApp(app).use(zhytechUI)
30
31
  ```
31
32
 
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,110 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ /**
3
+ * 过滤属性集合
4
+ */
5
+ modelValue: {
6
+ type: globalThis.PropType<Record<string, any>>;
7
+ required: true;
8
+ };
9
+ /**
10
+ * 显示条件之间的关系类型 and 或 or
11
+ */
12
+ showConditionType: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ /**
17
+ * 过滤属性集合
18
+ */
19
+ items: {
20
+ type: {
21
+ (arrayLength: number): Record<string, any>[];
22
+ (...items: Record<string, any>[]): Record<string, any>[];
23
+ new (arrayLength: number): Record<string, any>[];
24
+ new (...items: Record<string, any>[]): Record<string, any>[];
25
+ isArray(arg: any): arg is any[];
26
+ readonly prototype: any[];
27
+ from<T>(arrayLike: ArrayLike<T>): T[];
28
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
29
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
30
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
31
+ of<T_4>(...items: T_4[]): T_4[];
32
+ readonly [Symbol.species]: ArrayConstructor;
33
+ };
34
+ required: true;
35
+ };
36
+ /**
37
+ * 过滤条件类型集合
38
+ */
39
+ filterConditions: {
40
+ type: globalThis.PropType<Record<string, Record<string, string>[]>>;
41
+ required: true;
42
+ };
43
+ /**
44
+ * 过滤属性的可选值集合
45
+ */
46
+ conditionProps: {
47
+ type: globalThis.PropType<Record<string, any>>;
48
+ required: true;
49
+ };
50
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
51
+ "update:modelValue": (...args: any[]) => void;
52
+ add: (...args: any[]) => void;
53
+ delete: (...args: any[]) => void;
54
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
55
+ /**
56
+ * 过滤属性集合
57
+ */
58
+ modelValue: {
59
+ type: globalThis.PropType<Record<string, any>>;
60
+ required: true;
61
+ };
62
+ /**
63
+ * 显示条件之间的关系类型 and 或 or
64
+ */
65
+ showConditionType: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ /**
70
+ * 过滤属性集合
71
+ */
72
+ items: {
73
+ type: {
74
+ (arrayLength: number): Record<string, any>[];
75
+ (...items: Record<string, any>[]): Record<string, any>[];
76
+ new (arrayLength: number): Record<string, any>[];
77
+ new (...items: Record<string, any>[]): Record<string, any>[];
78
+ isArray(arg: any): arg is any[];
79
+ readonly prototype: any[];
80
+ from<T>(arrayLike: ArrayLike<T>): T[];
81
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
82
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
83
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
84
+ of<T_4>(...items: T_4[]): T_4[];
85
+ readonly [Symbol.species]: ArrayConstructor;
86
+ };
87
+ required: true;
88
+ };
89
+ /**
90
+ * 过滤条件类型集合
91
+ */
92
+ filterConditions: {
93
+ type: globalThis.PropType<Record<string, Record<string, string>[]>>;
94
+ required: true;
95
+ };
96
+ /**
97
+ * 过滤属性的可选值集合
98
+ */
99
+ conditionProps: {
100
+ type: globalThis.PropType<Record<string, any>>;
101
+ required: true;
102
+ };
103
+ }>> & {
104
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
105
+ onAdd?: ((...args: any[]) => any) | undefined;
106
+ onDelete?: ((...args: any[]) => any) | undefined;
107
+ }, {
108
+ showConditionType: boolean;
109
+ }, {}>;
110
+ export default _default;
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<{
23
23
  * 过滤条件类型集合
24
24
  */
25
25
  conditionTypes: {
26
- type: globalThis.PropType<Record<string, ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[]>>;
26
+ type: globalThis.PropType<Record<string, ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[]>>;
27
27
  required: true;
28
28
  };
29
29
  /**
@@ -90,7 +90,7 @@ declare const _default: import('vue').DefineComponent<{
90
90
  * 过滤条件类型集合
91
91
  */
92
92
  conditionTypes: {
93
- type: globalThis.PropType<Record<string, ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[]>>;
93
+ type: globalThis.PropType<Record<string, ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[]>>;
94
94
  required: true;
95
95
  };
96
96
  /**
@@ -23,7 +23,7 @@ declare class component extends baseComponent {
23
23
  /**
24
24
  * @description: 获取组件要排除的过滤条件集合
25
25
  */
26
- getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
26
+ getExcludeFilterConditions(): ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
27
27
  }
28
28
  declare const _default: {
29
29
  component: typeof component;
@@ -24,7 +24,7 @@ declare class component extends baseComponent {
24
24
  /**
25
25
  * @description: 获取组件要排除的过滤条件集合
26
26
  */
27
- getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
27
+ getExcludeFilterConditions(): ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
28
28
  }
29
29
  declare const _default: {
30
30
  component: typeof component;
@@ -23,7 +23,7 @@ declare class component extends baseComponent {
23
23
  /**
24
24
  * @description: 获取组件要排除的过滤条件集合
25
25
  */
26
- getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
26
+ getExcludeFilterConditions(): ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
27
27
  }
28
28
  declare const _default: {
29
29
  component: typeof component;
@@ -23,7 +23,7 @@ declare class component extends baseComponent {
23
23
  /**
24
24
  * @description: 获取组件要排除的过滤条件集合
25
25
  */
26
- getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
26
+ getExcludeFilterConditions(): ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
27
27
  }
28
28
  declare const _default: {
29
29
  component: typeof component;
@@ -30,7 +30,7 @@ declare class component extends baseComponent {
30
30
  /**
31
31
  * @description: 获取组件要排除的过滤条件集合
32
32
  */
33
- getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
33
+ getExcludeFilterConditions(): ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
34
34
  }
35
35
  declare const _default: {
36
36
  component: typeof component;
@@ -23,7 +23,7 @@ declare class component extends baseComponent {
23
23
  /**
24
24
  * @description: 获取组件要排除的过滤条件集合
25
25
  */
26
- getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
26
+ getExcludeFilterConditions(): ("EMPTY" | "EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
27
27
  }
28
28
  declare const _default: {
29
29
  component: typeof component;
@@ -25,8 +25,8 @@ declare const _default: import('vue').DefineComponent<{
25
25
  type: globalThis.PropType<any>;
26
26
  };
27
27
  }>> & {
28
- onSelect?: ((...args: any[]) => any) | undefined;
29
28
  "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
29
+ onSelect?: ((...args: any[]) => any) | undefined;
30
30
  }, {
31
31
  params: batchAddComponentParam;
32
32
  }, {}>;
@@ -103,10 +103,10 @@ declare const _default: import('vue').DefineComponent<{
103
103
  onClear?: ((...args: any[]) => any) | undefined;
104
104
  onResult?: ((...args: any[]) => any) | undefined;
105
105
  }, {
106
+ title: string;
107
+ clearable: boolean;
106
108
  showStyle: boolean;
107
109
  defaultValue: Record<string, any>[];
108
- title: string;
109
110
  content: string;
110
- clearable: boolean;
111
111
  }, {}>;
112
112
  export default _default;
@@ -59,8 +59,8 @@ declare const _default: import('vue').DefineComponent<{
59
59
  default: boolean;
60
60
  };
61
61
  }>> & {
62
- onChange?: ((...args: any[]) => any) | undefined;
63
62
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
63
+ onChange?: ((...args: any[]) => any) | undefined;
64
64
  }, {
65
65
  placeholder: string;
66
66
  disabled: boolean;
@@ -25,16 +25,16 @@ export declare function useUtils(): {
25
25
  stringifyJson: (jsonObject: object) => string;
26
26
  /**
27
27
  * @description: 克隆对象
28
- * @param jsonObject
28
+ * @param value
29
29
  * @return
30
30
  */
31
- clone(jsonObject: any): any;
31
+ clone: <T>(value: T) => T;
32
32
  /**
33
33
  * @description: 判断参数是否为空
34
34
  * @param T param
35
35
  * @return
36
36
  */
37
- isEmpty: <T>(param: T) => boolean;
37
+ isEmpty: <T_1>(param: T_1) => boolean;
38
38
  /**
39
39
  * @description: 判断参数是否为空
40
40
  * @param T obj
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;