@aeria-ui/ui 0.0.146 → 0.0.147
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/{_id_-4dIZ-pe0.js → _id_-35671aff.js} +14 -9
- package/dist/{activation-DqwN6Fxz.js → activation-9b511196.js} +15 -13
- package/dist/components/aeria-accordion/aeria-accordion.vue.d.ts +12 -8
- package/dist/components/aeria-badge/aeria-badge.vue.d.ts +12 -8
- package/dist/components/aeria-bare-button/aeria-bare-button.vue.d.ts +15 -11
- package/dist/components/aeria-button/aeria-button.vue.d.ts +14 -10
- package/dist/components/aeria-card/aeria-card.vue.d.ts +15 -11
- package/dist/components/aeria-context-menu/aeria-context-menu.vue.d.ts +22 -19
- package/dist/components/aeria-crud/_internals/helpers.d.ts +3 -2
- package/dist/components/aeria-crud/_internals/layouts/aeria-grid/aeria-grid.vue.d.ts +12 -2
- package/dist/components/aeria-crud/_internals/layouts/aeria-tabular/aeria-tabular.vue.d.ts +15 -10
- package/dist/components/aeria-crud/_internals/layouts/index.d.ts +82 -40
- package/dist/components/aeria-crud/aeria-crud.vue.d.ts +26 -21
- package/dist/components/aeria-filter-panel/aeria-filter-panel.vue.d.ts +2 -2
- package/dist/components/aeria-grid/aeria-grid.vue.d.ts +12 -8
- package/dist/components/aeria-icon/aeria-icon.vue.d.ts +14 -9
- package/dist/components/aeria-info/aeria-info.vue.d.ts +26 -11
- package/dist/components/aeria-insert-panel/aeria-insert-panel.vue.d.ts +33 -16
- package/dist/components/aeria-main/aeria-main.vue.d.ts +3 -8
- package/dist/components/aeria-menu/aeria-menu.vue.d.ts +2 -7
- package/dist/components/aeria-pagination/aeria-pagination.vue.d.ts +15 -5
- package/dist/components/aeria-panel/aeria-panel.vue.d.ts +33 -15
- package/dist/components/aeria-picture/aeria-picture.vue.d.ts +14 -10
- package/dist/components/aeria-table/aeria-table.vue.d.ts +25 -20
- package/dist/components/aeria-tabs/aeria-tabs.vue.d.ts +13 -9
- package/dist/components/dashboard/aeria-crud-topbar/aeria-crud-topbar.vue.d.ts +10 -1
- package/dist/components/dashboard/aeria-password-form/aeria-password-form.vue.d.ts +17 -13
- package/dist/components/dashboard/aeria-prompt/aeria-prompt.vue.d.ts +14 -9
- package/dist/components/dashboard/aeria-toast/aeria-toast.vue.d.ts +14 -9
- package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +26 -16
- package/dist/components/form/aeria-file/_internals/components/aeria-file-item.vue.d.ts +13 -8
- package/dist/components/form/aeria-file/aeria-file.vue.d.ts +22 -12
- package/dist/components/form/aeria-form/_internals/helpers.d.ts +3 -2
- package/dist/components/form/aeria-form/aeria-form.vue.d.ts +47 -26
- package/dist/components/form/aeria-input/aeria-input.vue.d.ts +22 -17
- package/dist/components/form/aeria-options/aeria-options.vue.d.ts +29 -7
- package/dist/components/form/aeria-search/_internals/components/aeria-search-container/aeria-search-container.vue.d.ts +16 -14
- package/dist/components/form/aeria-search/_internals/components/aeria-search-item/aeria-search-item.vue.d.ts +18 -13
- package/dist/components/form/aeria-search/aeria-search.vue.d.ts +25 -3
- package/dist/components/form/aeria-select/aeria-select.vue.d.ts +18 -15
- package/dist/components/form/aeria-switch/aeria-switch.vue.d.ts +18 -8
- package/dist/components/form/types.d.ts +2 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/index-13f71246.js +31 -0
- package/dist/index-17786102.js +144 -0
- package/dist/index-54fc64aa.js +66 -0
- package/dist/{index-Cvpf_fcw.js → index-da006cde.js} +1162 -1137
- package/dist/{redefine-password-CIRVr_YH.js → redefine-password-a556ab1e.js} +10 -8
- package/dist/routes.d.ts +2 -1
- package/dist/{signin-Wx4U5tkL.js → signin-80046a53.js} +6 -3
- package/dist/{signup-B0VMikWK.js → signup-2b9cbf2c.js} +28 -24
- package/dist/{ui.css → style.css} +1 -1
- package/dist/ui.js +42 -35
- package/dist/views/dashboard/[collection]/[id].vue.d.ts +10 -1
- package/dist/views/dashboard/[collection]/index.vue.d.ts +12 -8
- package/dist/views/dashboard/user/profile/index.vue.d.ts +2 -7
- package/package.json +2 -2
- package/dist/index-BHya3orU.js +0 -25
- package/dist/index-DJGV3KfN.js +0 -57
- package/dist/index-DUoAgL9p.js +0 -130
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Icon } from '
|
|
1
|
+
import { Icon } from '@aeriajs/types';
|
|
2
|
+
|
|
2
3
|
type Props = {
|
|
3
4
|
idx: number;
|
|
4
5
|
itr: number;
|
|
@@ -6,16 +7,20 @@ type Props = {
|
|
|
6
7
|
icon?: Icon;
|
|
7
8
|
};
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
|
-
|
|
10
|
-
default?(_: {}): any;
|
|
11
|
-
};
|
|
12
|
-
refs: {};
|
|
13
|
-
attrs: Partial<{}>;
|
|
10
|
+
default?(_: {}): any;
|
|
14
11
|
};
|
|
15
|
-
|
|
16
|
-
declare const
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
14
|
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
19
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
25
|
new (): {
|
|
21
26
|
$slots: S;
|
|
@@ -1,59 +1,69 @@
|
|
|
1
|
-
import { ArrayProperty, EnumProperty, BooleanProperty } from '
|
|
1
|
+
import { ArrayProperty, EnumProperty, BooleanProperty } from '@aeriajs/types';
|
|
2
2
|
import { FormFieldProps } from '../types.js';
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormFieldProps<any, (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
|
|
4
5
|
$ref: "file";
|
|
5
6
|
accept?: readonly string[];
|
|
6
7
|
extensions?: readonly string[];
|
|
7
|
-
}) | (EnumProperty & import('
|
|
8
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase) | (EnumProperty & import('@aeriajs/types').PropertyBase & ArrayProperty<unknown>) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').FixedObjectProperty & {
|
|
8
9
|
type: "object";
|
|
9
10
|
default?: unknown;
|
|
10
|
-
}) | (EnumProperty & import('
|
|
11
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').VariableObjectProperty & {
|
|
11
12
|
type: "object";
|
|
12
13
|
default?: unknown;
|
|
13
|
-
}) | (EnumProperty & import('
|
|
14
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').StringProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').NumberProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & BooleanProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').GetterProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').ConstProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
|
|
14
15
|
$ref: "file";
|
|
15
16
|
accept?: readonly string[];
|
|
16
17
|
extensions?: readonly string[];
|
|
17
|
-
}) | (BooleanProperty & import('
|
|
18
|
+
}) | (BooleanProperty & import('@aeriajs/types').PropertyBase & EnumProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase) | (BooleanProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').GetterProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').ConstProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
|
|
18
19
|
$ref: "file";
|
|
19
20
|
accept?: readonly string[];
|
|
20
21
|
extensions?: readonly string[];
|
|
21
|
-
}) | (ArrayProperty & import('
|
|
22
|
+
}) | (ArrayProperty & import('@aeriajs/types').PropertyBase & EnumProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & ArrayProperty<unknown>) | (ArrayProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').GetterProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').ConstProperty)> & {
|
|
22
23
|
value?: unknown;
|
|
23
24
|
variant?: string;
|
|
24
|
-
}
|
|
25
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
26
|
change: (value: any) => void;
|
|
26
27
|
"update:modelValue": (value: any) => void;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<FormFieldProps<any, (EnumProperty & import('
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormFieldProps<any, (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
|
|
28
29
|
$ref: "file";
|
|
29
30
|
accept?: readonly string[];
|
|
30
31
|
extensions?: readonly string[];
|
|
31
|
-
}) | (EnumProperty & import('
|
|
32
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase) | (EnumProperty & import('@aeriajs/types').PropertyBase & ArrayProperty<unknown>) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').FixedObjectProperty & {
|
|
32
33
|
type: "object";
|
|
33
34
|
default?: unknown;
|
|
34
|
-
}) | (EnumProperty & import('
|
|
35
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').VariableObjectProperty & {
|
|
35
36
|
type: "object";
|
|
36
37
|
default?: unknown;
|
|
37
|
-
}) | (EnumProperty & import('
|
|
38
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').StringProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').NumberProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & BooleanProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').GetterProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').ConstProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
|
|
38
39
|
$ref: "file";
|
|
39
40
|
accept?: readonly string[];
|
|
40
41
|
extensions?: readonly string[];
|
|
41
|
-
}) | (BooleanProperty & import('
|
|
42
|
+
}) | (BooleanProperty & import('@aeriajs/types').PropertyBase & EnumProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase) | (BooleanProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').GetterProperty) | (BooleanProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').ConstProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
|
|
42
43
|
$ref: "file";
|
|
43
44
|
accept?: readonly string[];
|
|
44
45
|
extensions?: readonly string[];
|
|
45
|
-
}) | (ArrayProperty & import('
|
|
46
|
+
}) | (ArrayProperty & import('@aeriajs/types').PropertyBase & EnumProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & ArrayProperty<unknown>) | (ArrayProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').GetterProperty) | (ArrayProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').ConstProperty)> & {
|
|
46
47
|
value?: unknown;
|
|
47
48
|
variant?: string;
|
|
48
|
-
}
|
|
49
|
+
}>>> & Readonly<{
|
|
49
50
|
onChange?: ((value: any) => any) | undefined;
|
|
50
51
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
51
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
52
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
52
53
|
description?(_: {}): any;
|
|
53
54
|
default?(_: {}): any;
|
|
54
55
|
hint?(_: {}): any;
|
|
55
56
|
}>;
|
|
56
57
|
export default _default;
|
|
58
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
59
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
60
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
61
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
62
|
+
} : {
|
|
63
|
+
type: import('vue').PropType<T[K]>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
57
67
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
68
|
new (): {
|
|
59
69
|
$slots: S;
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { File as AeriaFile } from '@aeriajs/builtins';
|
|
2
2
|
import { UploadedFile } from '../../../types.js';
|
|
3
|
+
|
|
3
4
|
type Props = {
|
|
4
5
|
modelValue: AeriaFile | UploadedFile;
|
|
5
6
|
};
|
|
6
7
|
declare function __VLS_template(): {
|
|
7
|
-
|
|
8
|
-
default?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
attrs: Partial<{}>;
|
|
8
|
+
default?(_: {}): any;
|
|
12
9
|
};
|
|
13
|
-
|
|
14
|
-
declare const
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
12
|
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
17
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
23
|
new (): {
|
|
19
24
|
$slots: S;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { Property, FileProperty, ArrayProperty } from '
|
|
1
|
+
import { Property, FileProperty, ArrayProperty } from '@aeriajs/types';
|
|
2
2
|
import { File as AeriaFile } from '@aeriajs/builtins';
|
|
3
3
|
import { FormFieldProps, UploadedFile } from '../types.js';
|
|
4
|
+
|
|
4
5
|
type Props = FormFieldProps<UploadedFile | AeriaFile | (UploadedFile | AeriaFile)[] | null, Property & (FileProperty | ArrayProperty<FileProperty>)> & {
|
|
5
6
|
meta?: Record<string, unknown>;
|
|
6
7
|
content?: unknown;
|
|
7
8
|
multiple?: boolean;
|
|
8
9
|
};
|
|
9
|
-
declare const _default: import('vue').DefineComponent<Props
|
|
10
|
-
change: (value: (UploadedFile | import('
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
change: (value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
11
12
|
readonly $id: "file";
|
|
12
13
|
readonly icon: "paperclip";
|
|
13
14
|
readonly owned: "always";
|
|
@@ -58,7 +59,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
58
59
|
};
|
|
59
60
|
};
|
|
60
61
|
}, {}>)[]) => void;
|
|
61
|
-
"update:content": (value: (UploadedFile | import('
|
|
62
|
+
"update:content": (value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
62
63
|
readonly $id: "file";
|
|
63
64
|
readonly icon: "paperclip";
|
|
64
65
|
readonly owned: "always";
|
|
@@ -109,7 +110,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
109
110
|
};
|
|
110
111
|
};
|
|
111
112
|
}, {}>)[]) => void;
|
|
112
|
-
"update:modelValue": (value: UploadedFile | import('
|
|
113
|
+
"update:modelValue": (value: UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
113
114
|
readonly $id: "file";
|
|
114
115
|
readonly icon: "paperclip";
|
|
115
116
|
readonly owned: "always";
|
|
@@ -159,7 +160,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
159
160
|
readonly ask: true;
|
|
160
161
|
};
|
|
161
162
|
};
|
|
162
|
-
}, {}> | (UploadedFile | import('
|
|
163
|
+
}, {}> | (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
163
164
|
readonly $id: "file";
|
|
164
165
|
readonly icon: "paperclip";
|
|
165
166
|
readonly owned: "always";
|
|
@@ -210,8 +211,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
210
211
|
};
|
|
211
212
|
};
|
|
212
213
|
}, {}>)[] | null | undefined) => void;
|
|
213
|
-
}, string, import('vue').PublicProps, Readonly<Props
|
|
214
|
-
onChange?: ((value: (UploadedFile | import('
|
|
214
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
215
|
+
onChange?: ((value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
215
216
|
readonly $id: "file";
|
|
216
217
|
readonly icon: "paperclip";
|
|
217
218
|
readonly owned: "always";
|
|
@@ -262,7 +263,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
262
263
|
};
|
|
263
264
|
};
|
|
264
265
|
}, {}>)[]) => any) | undefined;
|
|
265
|
-
"onUpdate:modelValue"?: ((value: UploadedFile | import('
|
|
266
|
+
"onUpdate:modelValue"?: ((value: UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
266
267
|
readonly $id: "file";
|
|
267
268
|
readonly icon: "paperclip";
|
|
268
269
|
readonly owned: "always";
|
|
@@ -312,7 +313,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
312
313
|
readonly ask: true;
|
|
313
314
|
};
|
|
314
315
|
};
|
|
315
|
-
}, {}> | (UploadedFile | import('
|
|
316
|
+
}, {}> | (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
316
317
|
readonly $id: "file";
|
|
317
318
|
readonly icon: "paperclip";
|
|
318
319
|
readonly owned: "always";
|
|
@@ -363,7 +364,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
363
364
|
};
|
|
364
365
|
};
|
|
365
366
|
}, {}>)[] | null | undefined) => any) | undefined;
|
|
366
|
-
"onUpdate:content"?: ((value: (UploadedFile | import('
|
|
367
|
+
"onUpdate:content"?: ((value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
367
368
|
readonly $id: "file";
|
|
368
369
|
readonly icon: "paperclip";
|
|
369
370
|
readonly owned: "always";
|
|
@@ -414,5 +415,14 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
414
415
|
};
|
|
415
416
|
};
|
|
416
417
|
}, {}>)[]) => any) | undefined;
|
|
417
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
418
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
418
419
|
export default _default;
|
|
420
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
421
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
422
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
423
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
424
|
+
} : {
|
|
425
|
+
type: import('vue').PropType<T[K]>;
|
|
426
|
+
required: true;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Property } from '
|
|
2
|
-
import { GlobalStateManager } from '
|
|
1
|
+
import { Property } from '@aeriajs/types';
|
|
2
|
+
import { GlobalStateManager } from '@aeria-ui/state-management';
|
|
3
|
+
|
|
3
4
|
export declare const getComponent: (property: Property, customComponents: Record<string, unknown>) => {};
|
|
4
5
|
export declare const pushToArray: (modelValue: unknown[] | undefined, property: Property, manager: GlobalStateManager) => number;
|
|
5
6
|
export declare const spliceFromArray: (modelValue: unknown[], index: number) => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Property, Condition, Description } from '
|
|
1
|
+
import { Property, Condition, Description } from '@aeriajs/types';
|
|
2
2
|
import { FormFieldProps } from '../types.js';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
|
+
|
|
4
5
|
type LayoutConfig = {
|
|
5
6
|
span?: string;
|
|
6
7
|
verticalSpacing?: string;
|
|
@@ -31,30 +32,33 @@ type Props = FormFieldProps<any> & {
|
|
|
31
32
|
includeId?: boolean;
|
|
32
33
|
includeTimestamps?: boolean;
|
|
33
34
|
};
|
|
34
|
-
declare function __VLS_template(): {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
})
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}): any;
|
|
47
|
-
};
|
|
48
|
-
refs: {};
|
|
49
|
-
attrs: Partial<{}>;
|
|
35
|
+
declare function __VLS_template(): Partial<Record<`field-${string}`, (_: {
|
|
36
|
+
readOnly: boolean | undefined;
|
|
37
|
+
property: Property;
|
|
38
|
+
propertyName: string;
|
|
39
|
+
modelValue: any;
|
|
40
|
+
}) => any>> & {
|
|
41
|
+
header?(_: {}): any;
|
|
42
|
+
default?(_: {}): any;
|
|
43
|
+
after?(_: {}): any;
|
|
44
|
+
footer?(_: {
|
|
45
|
+
isInsertReady: boolean;
|
|
46
|
+
}): any;
|
|
50
47
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
49
|
+
searchony: boolean;
|
|
50
|
+
validationErrors: null;
|
|
51
|
+
highlightRequired: boolean;
|
|
52
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
+
change: (value: any) => void;
|
|
54
|
+
input: (value: any) => void;
|
|
55
|
+
"update:modelValue": (value: any) => void;
|
|
56
|
+
clipboardCopy: (value: string) => void;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
58
|
+
searchony: boolean;
|
|
59
|
+
validationErrors: null;
|
|
60
|
+
highlightRequired: boolean;
|
|
61
|
+
}>>> & Readonly<{
|
|
58
62
|
onChange?: ((value: any) => any) | undefined;
|
|
59
63
|
onInput?: ((value: any) => any) | undefined;
|
|
60
64
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -62,9 +66,26 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
62
66
|
}>, {
|
|
63
67
|
validationErrors: Record<string, unknown> | null;
|
|
64
68
|
highlightRequired: boolean;
|
|
65
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
66
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
67
71
|
export default _default;
|
|
72
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
73
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
74
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
75
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
76
|
+
} : {
|
|
77
|
+
type: import('vue').PropType<T[K]>;
|
|
78
|
+
required: true;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
type __VLS_WithDefaults<P, D> = {
|
|
82
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
83
|
+
default: D[K];
|
|
84
|
+
}> : P[K];
|
|
85
|
+
};
|
|
86
|
+
type __VLS_Prettify<T> = {
|
|
87
|
+
[K in keyof T]: T[K];
|
|
88
|
+
} & {};
|
|
68
89
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
90
|
new (): {
|
|
70
91
|
$slots: S;
|
|
@@ -1,33 +1,38 @@
|
|
|
1
|
-
import { Property, NumberProperty, StringProperty } from '
|
|
1
|
+
import { Property, NumberProperty, StringProperty } from '@aeriajs/types';
|
|
2
2
|
import { FormFieldProps } from '../types';
|
|
3
|
+
|
|
3
4
|
type InputType = string | number | Date | null | undefined;
|
|
4
5
|
type InputVariant = 'normal' | 'bold' | 'light';
|
|
5
6
|
type Props = FormFieldProps<InputType, Property & (NumberProperty | StringProperty)> & {
|
|
6
7
|
variant?: InputVariant;
|
|
7
8
|
};
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
hint?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
attrs: Partial<{}>;
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
description?(_: {}): any;
|
|
12
|
+
hint?(_: {}): any;
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
input: (value: InputType) => void;
|
|
16
|
+
"update:modelValue": (value: InputType) => void;
|
|
17
|
+
change: (value: unknown) => void;
|
|
18
|
+
clipboardCopy: (value: string) => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
24
20
|
onChange?: ((value: unknown) => any) | undefined;
|
|
25
21
|
onInput?: ((value: InputType) => any) | undefined;
|
|
26
22
|
"onUpdate:modelValue"?: ((value: InputType) => any) | undefined;
|
|
27
23
|
onClipboardCopy?: ((value: string) => any) | undefined;
|
|
28
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
29
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
30
26
|
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
31
36
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
37
|
new (): {
|
|
33
38
|
$slots: S;
|
|
@@ -1,16 +1,38 @@
|
|
|
1
|
-
import { PropertyBase, ArrayProperty, EnumProperty } from '
|
|
1
|
+
import { PropertyBase, ArrayProperty, EnumProperty } from '@aeriajs/types';
|
|
2
2
|
import { FormFieldProps } from '../types.js';
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<FormFieldProps<any>, "property"> & {
|
|
4
5
|
property: PropertyBase & (EnumProperty | ArrayProperty<EnumProperty>);
|
|
5
6
|
columns?: number;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
},
|
|
7
|
+
}>, {
|
|
8
|
+
columns: number;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: unknown) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<FormFieldProps<any>, "property"> & {
|
|
9
12
|
property: PropertyBase & (EnumProperty | ArrayProperty<EnumProperty>);
|
|
10
13
|
columns?: number;
|
|
11
|
-
}
|
|
14
|
+
}>, {
|
|
15
|
+
columns: number;
|
|
16
|
+
}>>> & Readonly<{
|
|
12
17
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
13
18
|
}>, {
|
|
14
19
|
columns: number;
|
|
15
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
21
|
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
@@ -2,23 +2,25 @@ type Props = {
|
|
|
2
2
|
observeScroll?: boolean;
|
|
3
3
|
};
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
footer?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {
|
|
10
|
-
containerEl: HTMLDivElement;
|
|
11
|
-
};
|
|
12
|
-
attrs: Partial<{}>;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
footer?(_: {}): any;
|
|
13
7
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
endReached: (value: boolean) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
18
11
|
onEndReached?: ((value: boolean) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
14
|
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
22
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
25
|
new (): {
|
|
24
26
|
$slots: S;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { CollectionStoreItem } from '
|
|
1
|
+
import { CollectionStoreItem } from '@aeria-ui/core';
|
|
2
2
|
import { SearchProperty } from '../../../../types.js';
|
|
3
|
+
|
|
3
4
|
type Props = {
|
|
4
5
|
item: Record<string, unknown>;
|
|
5
6
|
indexes: readonly string[];
|
|
@@ -8,22 +9,26 @@ type Props = {
|
|
|
8
9
|
readOnly?: boolean;
|
|
9
10
|
};
|
|
10
11
|
declare function __VLS_template(): {
|
|
11
|
-
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
attrs: Partial<{}>;
|
|
12
|
+
default?(_: {}): any;
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
change: (value: Record<string, unknown>) =>
|
|
20
|
-
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: CollectionStoreItem | CollectionStoreItem[] | null | undefined) => void;
|
|
16
|
+
change: (value: Record<string, unknown>) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
22
18
|
onChange?: ((value: Record<string, unknown>) => any) | undefined;
|
|
23
19
|
"onUpdate:modelValue"?: ((value: CollectionStoreItem | CollectionStoreItem[] | null | undefined) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
22
|
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
27
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
33
|
new (): {
|
|
29
34
|
$slots: S;
|
|
@@ -1,19 +1,41 @@
|
|
|
1
1
|
import { FormFieldProps, SearchProperty } from '../types.js';
|
|
2
|
+
|
|
2
3
|
type Props = Omit<FormFieldProps<any>, 'property' | 'propertyName'> & {
|
|
3
4
|
property: SearchProperty;
|
|
4
5
|
propertyName: string;
|
|
5
6
|
selectOnly?: boolean;
|
|
6
7
|
panel?: unknown;
|
|
7
8
|
};
|
|
8
|
-
declare const _default: import('vue').DefineComponent<
|
|
9
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
panel: undefined;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
12
|
change: (event: unknown) => void;
|
|
10
13
|
"update:modelValue": (event: unknown) => void;
|
|
11
14
|
"update:panel": (event: boolean) => void;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<Props
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
+
panel: undefined;
|
|
17
|
+
}>>> & Readonly<{
|
|
13
18
|
onChange?: ((event: unknown) => any) | undefined;
|
|
14
19
|
"onUpdate:modelValue"?: ((event: unknown) => any) | undefined;
|
|
15
20
|
"onUpdate:panel"?: ((event: boolean) => any) | undefined;
|
|
16
21
|
}>, {
|
|
17
22
|
panel: undefined;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
24
|
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
+
default: D[K];
|
|
37
|
+
}> : P[K];
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|