@dskripchenko/laravel-admin 1.5.4 → 1.6.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/DateField.vue.d.ts +1 -1
- package/dist/components/fields/FileField.vue.d.ts +18 -0
- package/dist/components/fields/ImageCropperField.vue.d.ts +28 -0
- package/dist/components/fields/TextField.vue.d.ts +1 -1
- package/dist/components/layouts/EmbeddedResourceTable.vue.d.ts +18 -0
- package/dist/components/resource/InlineEditCell.vue.d.ts +13 -1
- package/dist/components/resource/ResourceIndexPage.vue.d.ts +6 -6
- package/dist/components/resource/ResourceTreePage.vue.d.ts +10 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +13970 -12719
- package/dist/index.mjs.map +1 -1
- package/dist/stores/manifest.d.ts +89 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
19
19
|
min: string | null;
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
required: boolean;
|
|
22
|
-
help: string | null;
|
|
23
22
|
inputType: "date" | "datetime-local" | "time";
|
|
23
|
+
help: string | null;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
name: string;
|
|
3
|
+
label?: string | null;
|
|
4
|
+
help?: string | null;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
accept?: string | null;
|
|
7
|
+
maxSize?: number | null;
|
|
8
|
+
image?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
|
+
label: string | null;
|
|
12
|
+
image: boolean;
|
|
13
|
+
required: boolean;
|
|
14
|
+
accept: string | null;
|
|
15
|
+
help: string | null;
|
|
16
|
+
maxSize: number | null;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
name: string;
|
|
3
|
+
label?: string | null;
|
|
4
|
+
help?: string | null;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
accept?: string | null;
|
|
7
|
+
maxSize?: number | null;
|
|
8
|
+
aspectRatio?: number | null;
|
|
9
|
+
outputWidth?: number | null;
|
|
10
|
+
outputHeight?: number | null;
|
|
11
|
+
minCropWidth?: number | null;
|
|
12
|
+
minCropHeight?: number | null;
|
|
13
|
+
quality?: number | null;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
label: string | null;
|
|
17
|
+
required: boolean;
|
|
18
|
+
accept: string | null;
|
|
19
|
+
help: string | null;
|
|
20
|
+
maxSize: number | null;
|
|
21
|
+
aspectRatio: number | null;
|
|
22
|
+
outputWidth: number | null;
|
|
23
|
+
outputHeight: number | null;
|
|
24
|
+
minCropWidth: number | null;
|
|
25
|
+
minCropHeight: number | null;
|
|
26
|
+
quality: number | null;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
16
16
|
required: boolean;
|
|
17
17
|
readonly: boolean;
|
|
18
18
|
autocomplete: string | null;
|
|
19
|
-
help: string | null;
|
|
20
19
|
inputType: "text" | "email" | "url" | "password" | "tel" | "search";
|
|
20
|
+
help: string | null;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Features {
|
|
2
|
+
create?: boolean;
|
|
3
|
+
delete?: boolean;
|
|
4
|
+
bulkDelete?: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface Props {
|
|
7
|
+
resource: string;
|
|
8
|
+
foreign_key: string;
|
|
9
|
+
parent_field?: string;
|
|
10
|
+
hide_columns?: string[];
|
|
11
|
+
features?: Features;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
features: Features;
|
|
15
|
+
parent_field: string;
|
|
16
|
+
hide_columns: string[];
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
type InlineInputType = 'text' | 'number' | 'select' | 'date' | 'textarea' | 'switcher';
|
|
1
2
|
interface Props {
|
|
2
3
|
resourceSlug: string;
|
|
3
4
|
rowId: string | number;
|
|
@@ -5,17 +6,28 @@ interface Props {
|
|
|
5
6
|
value: unknown;
|
|
6
7
|
/** Если false — двойной клик ничего не делает (read-only cell). */
|
|
7
8
|
editable?: boolean;
|
|
9
|
+
/** Тип контрола редактирования. */
|
|
10
|
+
inputType?: InlineInputType;
|
|
11
|
+
/** Для inputType='select' — мапа value→label. */
|
|
12
|
+
options?: Record<string | number, string>;
|
|
13
|
+
/** Per-row override map; если column ∈ override и значение false — read-only. */
|
|
14
|
+
rowOverride?: Record<string, boolean>;
|
|
8
15
|
}
|
|
9
|
-
declare var __VLS_1: {};
|
|
16
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
17
|
type __VLS_Slots = {} & {
|
|
11
18
|
default?: (props: typeof __VLS_1) => any;
|
|
19
|
+
} & {
|
|
20
|
+
default?: (props: typeof __VLS_3) => any;
|
|
12
21
|
};
|
|
13
22
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
23
|
saved: (value: unknown) => any;
|
|
15
24
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
25
|
onSaved?: ((value: unknown) => any) | undefined;
|
|
17
26
|
}>, {
|
|
27
|
+
options: Record<string | number, string>;
|
|
18
28
|
editable: boolean;
|
|
29
|
+
inputType: InlineInputType;
|
|
30
|
+
rowOverride: Record<string, boolean>;
|
|
19
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
32
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
33
|
export default _default;
|
|
@@ -10,20 +10,20 @@ interface Props {
|
|
|
10
10
|
/** Имя router-route для action «Создать». */
|
|
11
11
|
createRouteName?: string | null;
|
|
12
12
|
}
|
|
13
|
-
declare var
|
|
13
|
+
declare var __VLS_5: {}, __VLS_103: {}, __VLS_181: {
|
|
14
14
|
filters: Record<string, unknown>;
|
|
15
15
|
setFilter: (key: string, value: unknown) => Promise<void>;
|
|
16
|
-
},
|
|
16
|
+
}, __VLS_247: `cell-${string}`, __VLS_248: {
|
|
17
17
|
row: Record<string, unknown> | undefined;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
20
|
-
[K in NonNullable<typeof
|
|
20
|
+
[K in NonNullable<typeof __VLS_247>]?: (props: typeof __VLS_248) => any;
|
|
21
21
|
} & {
|
|
22
|
-
actions?: (props: typeof
|
|
22
|
+
actions?: (props: typeof __VLS_5) => any;
|
|
23
23
|
} & {
|
|
24
|
-
'header-menu'?: (props: typeof
|
|
24
|
+
'header-menu'?: (props: typeof __VLS_103) => any;
|
|
25
25
|
} & {
|
|
26
|
-
filters?: (props: typeof
|
|
26
|
+
filters?: (props: typeof __VLS_181) => any;
|
|
27
27
|
};
|
|
28
28
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
import: () => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
slug: string;
|
|
3
|
+
title?: string | null;
|
|
4
|
+
subtitle?: string | null;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
title: string | null;
|
|
8
|
+
subtitle: string | null;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|