@selfeesas/shared-components 0.2.5 → 0.2.6
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/dist/shared-components.cjs.js +1 -1
- package/dist/shared-components.d.ts +23 -0
- package/dist/shared-components.es.js +1065 -993
- package/package.json +1 -1
|
@@ -101,6 +101,29 @@ export declare interface NavStore {
|
|
|
101
101
|
[key: string]: any;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
declare interface SelectOption {
|
|
105
|
+
value: any;
|
|
106
|
+
label: string;
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export declare const SelectSearch: DefineComponent<SelectSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
111
|
+
"update:modelValue": (value: SelectOption | null) => any;
|
|
112
|
+
}, string, PublicProps, Readonly<SelectSearchProps> & Readonly<{
|
|
113
|
+
"onUpdate:modelValue"?: ((value: SelectOption | null) => any) | undefined;
|
|
114
|
+
}>, {
|
|
115
|
+
label: string;
|
|
116
|
+
options: SelectOption[];
|
|
117
|
+
modelValue: SelectOption | null;
|
|
118
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
119
|
+
|
|
120
|
+
declare interface SelectSearchProps {
|
|
121
|
+
options?: SelectOption[];
|
|
122
|
+
fetchOptions?: (inputValue: string) => Promise<SelectOption[]> | SelectOption[];
|
|
123
|
+
label?: string;
|
|
124
|
+
modelValue?: SelectOption | null;
|
|
125
|
+
}
|
|
126
|
+
|
|
104
127
|
export declare interface Store {
|
|
105
128
|
[key: string]: any;
|
|
106
129
|
}
|