@fewangsit/wangsvue 1.5.203-alpha.1 → 1.5.203-alpha.2
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.
|
@@ -11,6 +11,7 @@ import { ButtonSelectTreeProps } from '../buttonselecttree/ButtonSelectTree.vue.
|
|
|
11
11
|
export interface MultiSelectFilterField extends MultiSelectProps {
|
|
12
12
|
type: 'multiselect';
|
|
13
13
|
field: string; // The name of the field this filter applies to
|
|
14
|
+
optionField: string; // @example - actionOptions
|
|
14
15
|
fetchOptionFn?:
|
|
15
16
|
| ((args?: any) => MultiSelectOption[]) // Sync function to fetch options
|
|
16
17
|
| ((args?: any) => Promise<MultiSelectOption[]>); // Async function
|
|
@@ -19,6 +20,7 @@ export interface MultiSelectFilterField extends MultiSelectProps {
|
|
|
19
20
|
export interface DropdownFilterField extends DropdownProps {
|
|
20
21
|
type: 'dropdown';
|
|
21
22
|
field: string; // The name of the field this filter applies to
|
|
23
|
+
optionField: string; // @example - actionOptions
|
|
22
24
|
fetchOptionFn?:
|
|
23
25
|
| ((args?: any) => MultiSelectOption[]) // Sync function to fetch options
|
|
24
26
|
| ((args?: any) => Promise<MultiSelectOption[]>); // Async function
|
|
@@ -161,6 +161,13 @@ export interface InputTextProps extends /* @vue-ignore */ InputHTMLAttributes {
|
|
|
161
161
|
*/
|
|
162
162
|
existingValues?: string[];
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Check avaialability of the value.
|
|
166
|
+
*
|
|
167
|
+
* @returns {boolean} - Return true if the value is available, otherwise false.
|
|
168
|
+
*/
|
|
169
|
+
checkAvailability?: (value: string) => Promise<boolean> | boolean;
|
|
170
|
+
|
|
164
171
|
/**
|
|
165
172
|
* The maximun character length allowed.
|
|
166
173
|
*
|