@dskripchenko/laravel-admin 1.28.0 → 1.29.0
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/components/fields/ComboboxField.vue.d.ts +36 -0
- package/dist/components/render/index.d.ts +1 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2344 -2295
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface ComboboxFieldOption {
|
|
2
|
+
value: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
hint?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
name: string;
|
|
9
|
+
options: ComboboxFieldOption[];
|
|
10
|
+
label?: string | null;
|
|
11
|
+
help?: string | null;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
placeholder?: string | null;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether a value outside the list is allowed. The backend calls it
|
|
18
|
+
* `creatable` (Field\Combobox::creatable), and that name is kept here so the
|
|
19
|
+
* attribute travels straight through. On by default — that is the point.
|
|
20
|
+
*/
|
|
21
|
+
creatable?: boolean;
|
|
22
|
+
clearable?: boolean;
|
|
23
|
+
size?: 'sm' | 'md' | 'lg';
|
|
24
|
+
}
|
|
25
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
26
|
+
size: "sm" | "md" | "lg";
|
|
27
|
+
label: string | null;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
placeholder: string | null;
|
|
30
|
+
required: boolean;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
creatable: boolean;
|
|
33
|
+
clearable: boolean;
|
|
34
|
+
help: string | null;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
export default _default;
|
|
@@ -14,6 +14,7 @@ export { default as TextField } from '../fields/TextField.vue';
|
|
|
14
14
|
export { default as TextAreaField } from '../fields/TextAreaField.vue';
|
|
15
15
|
export { default as NumberField } from '../fields/NumberField.vue';
|
|
16
16
|
export { default as SelectField } from '../fields/SelectField.vue';
|
|
17
|
+
export { default as ComboboxField } from '../fields/ComboboxField.vue';
|
|
17
18
|
export { default as CheckboxField } from '../fields/CheckboxField.vue';
|
|
18
19
|
export { default as DateField } from '../fields/DateField.vue';
|
|
19
20
|
export { default as UnknownField } from '../fields/UnknownField.vue';
|