@zyui/components 0.0.138 → 0.0.139

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.
@@ -15,6 +15,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
15
15
  type: ArrayConstructor;
16
16
  default: () => string[];
17
17
  };
18
+ hasDraft: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
18
22
  }>, {
19
23
  show: (options: {
20
24
  data: any;
@@ -37,10 +41,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
37
41
  type: ArrayConstructor;
38
42
  default: () => string[];
39
43
  };
44
+ hasDraft: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
40
48
  }>> & Readonly<{}>, {
41
49
  disabled: boolean;
42
50
  title: string;
43
51
  multiple: boolean;
44
52
  optionalTypes: unknown[];
53
+ hasDraft: boolean;
45
54
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
55
  export default _default;
@@ -3,5 +3,9 @@ export declare const useDataDetailByValue: (value: any) => {
3
3
  roleList: import('vue').ComputedRef<any[]>;
4
4
  groupList: import('vue').ComputedRef<any[]>;
5
5
  groupRolesList: import('vue').ComputedRef<any[]>;
6
+ draftTargetList: import('vue').ComputedRef<{
7
+ label: string;
8
+ value: string;
9
+ }[]>;
6
10
  items: import('vue').ComputedRef<any[]>;
7
11
  };
@@ -9,6 +9,10 @@ declare function __VLS_template(): {
9
9
  roleList: import('vue').ComputedRef<any[]>;
10
10
  groupList: import('vue').ComputedRef<any[]>;
11
11
  groupRolesList: import('vue').ComputedRef<any[]>;
12
+ draftTargetList: import('vue').ComputedRef<{
13
+ label: string;
14
+ value: string;
15
+ }[]>;
12
16
  items: import('vue').ComputedRef<any[]>;
13
17
  };
14
18
  }): any;
@@ -39,6 +43,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
39
43
  type: ArrayConstructor;
40
44
  default: () => string[];
41
45
  };
46
+ hasDraft: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
42
50
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
51
  ok: (value: ModelValue | undefined) => void;
44
52
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -67,6 +75,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
67
75
  type: ArrayConstructor;
68
76
  default: () => string[];
69
77
  };
78
+ hasDraft: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
70
82
  }>> & Readonly<{
71
83
  onOk?: ((value: ModelValue | undefined) => any) | undefined;
72
84
  }>, {
@@ -76,6 +88,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
76
88
  displayMaxLength: number;
77
89
  displayType: string;
78
90
  optionalTypes: unknown[];
91
+ hasDraft: boolean;
79
92
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
80
93
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
81
94
  export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<any[]>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<any[]>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export declare const draftTargetData: {
2
+ label: string;
3
+ value: string;
4
+ }[];
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<any[]>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<any[]>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -13,6 +13,6 @@ export type ModelValue = {
13
13
  roleId: number;
14
14
  groupId: number;
15
15
  }[];
16
- draftTarget: number[];
16
+ draftTarget: any[];
17
17
  [key: string]: any;
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyui/components",
3
- "version": "0.0.138",
3
+ "version": "0.0.139",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",