@chase-shao/vue-component-lib 1.2.64 → 1.2.65

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.
@@ -26,3 +26,4 @@ export declare const patLeft0: (str: any) => string;
26
26
  * @returns {string|*}
27
27
  */
28
28
  export declare const formatDate: (date: Date | string, format?: string) => string;
29
+ export declare const downloadFile: (data: Blob | string, fileName: string) => void;
@@ -10,8 +10,8 @@ declare function __VLS_template(): {
10
10
  refs: {
11
11
  dataWidgets: (import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
12
12
  onChange?: ((...args: any[]) => any) | undefined;
13
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
14
13
  onError?: ((value: string) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
15
15
  }>, {
16
16
  isFileUpload(): boolean;
17
17
  submit(workflowId: string): void;
@@ -21,23 +21,23 @@ declare function __VLS_template(): {
21
21
  "update:modelValue": (value: any) => any;
22
22
  } & {
23
23
  change: (...args: any[]) => any;
24
- "update:modelValue": (value: any) => any;
25
24
  error: (value: string) => any;
25
+ "update:modelValue": (value: any) => any;
26
26
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
27
27
  widgetRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
28
28
  onChange?: ((...args: any[]) => any) | undefined;
29
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
30
29
  onError?: ((value: string) => any) | undefined;
31
30
  onInput?: ((value: any) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
32
32
  }>, {
33
33
  validate(): boolean;
34
34
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
35
  "update:modelValue": (value: any) => any;
36
36
  } & {
37
37
  change: (...args: any[]) => any;
38
- "update:modelValue": (value: any) => any;
39
38
  error: (value: string) => any;
40
39
  input: (value: any) => any;
40
+ "update:modelValue": (value: any) => any;
41
41
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
42
42
  P: {};
43
43
  B: {};
@@ -47,9 +47,9 @@ declare function __VLS_template(): {
47
47
  Defaults: {};
48
48
  }, Readonly<{}> & Readonly<{
49
49
  onChange?: ((...args: any[]) => any) | undefined;
50
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
51
50
  onError?: ((value: string) => any) | undefined;
52
51
  onInput?: ((value: any) => any) | undefined;
52
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
53
53
  }>, {
54
54
  validate(): boolean;
55
55
  }, {}, {}, {}, {}> | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
@@ -107,8 +107,8 @@ declare function __VLS_template(): {
107
107
  Defaults: {};
108
108
  }, Readonly<{}> & Readonly<{
109
109
  onChange?: ((...args: any[]) => any) | undefined;
110
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
111
110
  onError?: ((value: string) => any) | undefined;
111
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
112
112
  }>, {
113
113
  isFileUpload(): boolean;
114
114
  submit(workflowId: string): void;
@@ -122,8 +122,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
122
122
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
123
123
  dataWidgets: (import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
124
124
  onChange?: ((...args: any[]) => any) | undefined;
125
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
126
125
  onError?: ((value: string) => any) | undefined;
126
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
127
127
  }>, {
128
128
  isFileUpload(): boolean;
129
129
  submit(workflowId: string): void;
@@ -133,23 +133,23 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
133
133
  "update:modelValue": (value: any) => any;
134
134
  } & {
135
135
  change: (...args: any[]) => any;
136
- "update:modelValue": (value: any) => any;
137
136
  error: (value: string) => any;
137
+ "update:modelValue": (value: any) => any;
138
138
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
139
139
  widgetRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
140
140
  onChange?: ((...args: any[]) => any) | undefined;
141
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
142
141
  onError?: ((value: string) => any) | undefined;
143
142
  onInput?: ((value: any) => any) | undefined;
143
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
144
144
  }>, {
145
145
  validate(): boolean;
146
146
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
147
147
  "update:modelValue": (value: any) => any;
148
148
  } & {
149
149
  change: (...args: any[]) => any;
150
- "update:modelValue": (value: any) => any;
151
150
  error: (value: string) => any;
152
151
  input: (value: any) => any;
152
+ "update:modelValue": (value: any) => any;
153
153
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
154
154
  P: {};
155
155
  B: {};
@@ -159,9 +159,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
159
159
  Defaults: {};
160
160
  }, Readonly<{}> & Readonly<{
161
161
  onChange?: ((...args: any[]) => any) | undefined;
162
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
163
162
  onError?: ((value: string) => any) | undefined;
164
163
  onInput?: ((value: any) => any) | undefined;
164
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
165
165
  }>, {
166
166
  validate(): boolean;
167
167
  }, {}, {}, {}, {}> | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
@@ -219,8 +219,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
219
219
  Defaults: {};
220
220
  }, Readonly<{}> & Readonly<{
221
221
  onChange?: ((...args: any[]) => any) | undefined;
222
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
223
222
  onError?: ((value: string) => any) | undefined;
223
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
224
224
  }>, {
225
225
  isFileUpload(): boolean;
226
226
  submit(workflowId: string): void;
@@ -11,8 +11,8 @@ declare function __VLS_template(): {
11
11
  refs: {
12
12
  dataWidgets: (import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
13
13
  onChange?: ((...args: any[]) => any) | undefined;
14
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
15
14
  onError?: ((value: string) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
16
16
  }>, {
17
17
  isFileUpload(): boolean;
18
18
  submit(workflowId: string): void;
@@ -22,23 +22,23 @@ declare function __VLS_template(): {
22
22
  "update:modelValue": (value: any) => any;
23
23
  } & {
24
24
  change: (...args: any[]) => any;
25
- "update:modelValue": (value: any) => any;
26
25
  error: (value: string) => any;
26
+ "update:modelValue": (value: any) => any;
27
27
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
28
28
  widgetRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
29
29
  onChange?: ((...args: any[]) => any) | undefined;
30
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
31
30
  onError?: ((value: string) => any) | undefined;
32
31
  onInput?: ((value: any) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
33
33
  }>, {
34
34
  validate(): boolean;
35
35
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
36
  "update:modelValue": (value: any) => any;
37
37
  } & {
38
38
  change: (...args: any[]) => any;
39
- "update:modelValue": (value: any) => any;
40
39
  error: (value: string) => any;
41
40
  input: (value: any) => any;
41
+ "update:modelValue": (value: any) => any;
42
42
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
43
43
  P: {};
44
44
  B: {};
@@ -48,9 +48,9 @@ declare function __VLS_template(): {
48
48
  Defaults: {};
49
49
  }, Readonly<{}> & Readonly<{
50
50
  onChange?: ((...args: any[]) => any) | undefined;
51
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
52
51
  onError?: ((value: string) => any) | undefined;
53
52
  onInput?: ((value: any) => any) | undefined;
53
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
54
54
  }>, {
55
55
  validate(): boolean;
56
56
  }, {}, {}, {}, {}> | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
@@ -108,8 +108,8 @@ declare function __VLS_template(): {
108
108
  Defaults: {};
109
109
  }, Readonly<{}> & Readonly<{
110
110
  onChange?: ((...args: any[]) => any) | undefined;
111
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
112
111
  onError?: ((value: string) => any) | undefined;
112
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
113
113
  }>, {
114
114
  isFileUpload(): boolean;
115
115
  submit(workflowId: string): void;
@@ -123,8 +123,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
123
123
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
124
124
  dataWidgets: (import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
125
125
  onChange?: ((...args: any[]) => any) | undefined;
126
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
127
126
  onError?: ((value: string) => any) | undefined;
127
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
128
128
  }>, {
129
129
  isFileUpload(): boolean;
130
130
  submit(workflowId: string): void;
@@ -134,23 +134,23 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
134
134
  "update:modelValue": (value: any) => any;
135
135
  } & {
136
136
  change: (...args: any[]) => any;
137
- "update:modelValue": (value: any) => any;
138
137
  error: (value: string) => any;
138
+ "update:modelValue": (value: any) => any;
139
139
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
140
140
  widgetRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
141
141
  onChange?: ((...args: any[]) => any) | undefined;
142
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
143
142
  onError?: ((value: string) => any) | undefined;
144
143
  onInput?: ((value: any) => any) | undefined;
144
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
145
145
  }>, {
146
146
  validate(): boolean;
147
147
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
148
148
  "update:modelValue": (value: any) => any;
149
149
  } & {
150
150
  change: (...args: any[]) => any;
151
- "update:modelValue": (value: any) => any;
152
151
  error: (value: string) => any;
153
152
  input: (value: any) => any;
153
+ "update:modelValue": (value: any) => any;
154
154
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
155
155
  P: {};
156
156
  B: {};
@@ -160,9 +160,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
160
160
  Defaults: {};
161
161
  }, Readonly<{}> & Readonly<{
162
162
  onChange?: ((...args: any[]) => any) | undefined;
163
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
164
163
  onError?: ((value: string) => any) | undefined;
165
164
  onInput?: ((value: any) => any) | undefined;
165
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
166
166
  }>, {
167
167
  validate(): boolean;
168
168
  }, {}, {}, {}, {}> | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
@@ -220,8 +220,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
220
220
  Defaults: {};
221
221
  }, Readonly<{}> & Readonly<{
222
222
  onChange?: ((...args: any[]) => any) | undefined;
223
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
224
223
  onError?: ((value: string) => any) | undefined;
224
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
225
225
  }>, {
226
226
  isFileUpload(): boolean;
227
227
  submit(workflowId: string): void;
@@ -4,13 +4,13 @@ declare const _default: import('vue').DefineComponent<{}, {
4
4
  "update:modelValue": (value: any) => any;
5
5
  } & {
6
6
  change: (...args: any[]) => any;
7
- "update:modelValue": (value: any) => any;
8
7
  error: (value: string) => any;
9
8
  input: (value: any) => any;
9
+ "update:modelValue": (value: any) => any;
10
10
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
11
11
  onChange?: ((...args: any[]) => any) | undefined;
12
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
13
12
  onError?: ((value: string) => any) | undefined;
14
13
  onInput?: ((value: any) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -3,14 +3,14 @@ declare const _default: import('vue').DefineComponent<{}, {
3
3
  validate(): boolean;
4
4
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
5
  change: (...args: any[]) => any;
6
- "update:modelValue": (value: any) => any;
7
6
  error: (value: string) => any;
8
7
  input: (value: any) => any;
8
+ "update:modelValue": (value: any) => any;
9
9
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
10
10
  onChange?: ((...args: any[]) => any) | undefined;
11
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
12
11
  onError?: ((value: string) => any) | undefined;
13
12
  onInput?: ((value: any) => any) | undefined;
13
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
14
14
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
15
  uploadRef: any;
16
16
  }, any>;
@@ -4,13 +4,13 @@ declare const _default: import('vue').DefineComponent<{}, {
4
4
  "update:modelValue": (value: any) => any;
5
5
  } & {
6
6
  change: (...args: any[]) => any;
7
- "update:modelValue": (value: any) => any;
8
7
  error: (value: string) => any;
9
8
  input: (value: any) => any;
9
+ "update:modelValue": (value: any) => any;
10
10
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
11
11
  onChange?: ((...args: any[]) => any) | undefined;
12
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
13
12
  onError?: ((value: string) => any) | undefined;
14
13
  onInput?: ((value: any) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -4,13 +4,13 @@ declare const _default: import('vue').DefineComponent<{}, {
4
4
  "update:modelValue": (value: any) => any;
5
5
  } & {
6
6
  change: (...args: any[]) => any;
7
- "update:modelValue": (value: any) => any;
8
7
  error: (value: string) => any;
9
8
  input: (value: any) => any;
9
+ "update:modelValue": (value: any) => any;
10
10
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
11
11
  onChange?: ((...args: any[]) => any) | undefined;
12
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
13
12
  onError?: ((value: string) => any) | undefined;
14
13
  onInput?: ((value: any) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -2,13 +2,13 @@ declare const _default: import('vue').DefineComponent<{}, {
2
2
  validate(): boolean;
3
3
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4
4
  change: (...args: any[]) => any;
5
- "update:modelValue": (value: any) => any;
6
5
  error: (value: string) => any;
7
6
  input: (value: any) => any;
7
+ "update:modelValue": (value: any) => any;
8
8
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
11
10
  onError?: ((value: string) => any) | undefined;
12
11
  onInput?: ((value: any) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
13
13
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -7,27 +7,27 @@ declare const _default: import('vue').DefineComponent<{}, {
7
7
  "update:modelValue": (value: any) => any;
8
8
  } & {
9
9
  change: (...args: any[]) => any;
10
- "update:modelValue": (value: any) => any;
11
10
  error: (value: string) => any;
11
+ "update:modelValue": (value: any) => any;
12
12
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
13
13
  onChange?: ((...args: any[]) => any) | undefined;
14
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
15
14
  onError?: ((value: string) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
16
16
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
17
  widgetRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
18
18
  onChange?: ((...args: any[]) => any) | undefined;
19
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
20
19
  onError?: ((value: string) => any) | undefined;
21
20
  onInput?: ((value: any) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
22
22
  }>, {
23
23
  validate(): boolean;
24
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
25
  "update:modelValue": (value: any) => any;
26
26
  } & {
27
27
  change: (...args: any[]) => any;
28
- "update:modelValue": (value: any) => any;
29
28
  error: (value: string) => any;
30
29
  input: (value: any) => any;
30
+ "update:modelValue": (value: any) => any;
31
31
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
32
32
  P: {};
33
33
  B: {};
@@ -37,9 +37,9 @@ declare const _default: import('vue').DefineComponent<{}, {
37
37
  Defaults: {};
38
38
  }, Readonly<{}> & Readonly<{
39
39
  onChange?: ((...args: any[]) => any) | undefined;
40
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
41
40
  onError?: ((value: string) => any) | undefined;
42
41
  onInput?: ((value: any) => any) | undefined;
42
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
43
43
  }>, {
44
44
  validate(): boolean;
45
45
  }, {}, {}, {}, {}> | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{