@aeria-ui/ui 0.0.115 → 0.0.117
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_-5cdfaa77.js → _id_-cbe80c68.js} +1 -1
- package/dist/{activation-1ddb0296.js → activation-4a6b533d.js} +1 -1
- package/dist/components/aeria-crud/_internals/layouts/index.d.ts +1 -15
- package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +8 -8
- package/dist/components/form/aeria-file/_internals/components/aeria-file-item.vue.d.ts +26 -0
- package/dist/components/form/aeria-file/aeria-file.vue.d.ts +411 -17
- package/dist/components/form/aeria-options/aeria-options.vue.d.ts +2 -6
- package/dist/components/form/types.d.ts +6 -2
- package/dist/{index-9b8cf059.js → index-5d3e51bb.js} +1 -1
- package/dist/{index-becbd933.js → index-a7f1bbf4.js} +1 -1
- package/dist/{index-63f84472.js → index-b086e3f7.js} +1 -1
- package/dist/index-d0115549.js +3511 -0
- package/dist/{signin-3ed20186.js → signin-5afaf039.js} +1 -1
- package/dist/{signup-422558d7.js → signup-ab0c645c.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/ui.js +1 -1
- package/package.json +7 -7
- package/dist/index-828caa2e.js +0 -3470
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, watch as n, openBlock as c, createBlock as l } from "vue";
|
|
2
2
|
import { getGlobalStateManager as a, useStore as m } from "@aeria-ui/state-management";
|
|
3
|
-
import { e as s } from "./index-
|
|
3
|
+
import { e as s } from "./index-d0115549.js";
|
|
4
4
|
import "@aeria-ui/i18n";
|
|
5
5
|
import "@aeriajs/common";
|
|
6
6
|
import "@aeria-ui/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as $, withAsyncContext as x, ref as S, unref as f, openBlock as c, createElementBlock as v, createElementVNode as y, createVNode as s, withCtx as i, withModifiers as A, createTextVNode as w } from "vue";
|
|
2
2
|
import { useStore as g } from "@aeria-ui/state-management";
|
|
3
3
|
import { useRouter as I } from "vue-router";
|
|
4
|
-
import { A as R, _ as b, a as V } from "./index-
|
|
4
|
+
import { A as R, _ as b, a as V } from "./index-d0115549.js";
|
|
5
5
|
import "@aeria-ui/i18n";
|
|
6
6
|
import "@aeriajs/common";
|
|
7
7
|
import "@aeria-ui/core";
|
|
@@ -15,21 +15,7 @@ export declare const getLayout: (layoutName: LayoutName) => ({
|
|
|
15
15
|
componentProps: {
|
|
16
16
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
17
17
|
};
|
|
18
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
19
|
-
individualActions: {
|
|
20
|
-
type: import('vue').PropType<(import('@aeriajs/types').CollectionAction<any> & {
|
|
21
|
-
action: string;
|
|
22
|
-
click: () => void;
|
|
23
|
-
})[]>;
|
|
24
|
-
};
|
|
25
|
-
layoutOptions: {
|
|
26
|
-
type: import('vue').PropType<import('@aeriajs/types').LayoutOptions>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
componentProps: {
|
|
30
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{}>, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
18
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
33
19
|
P: {};
|
|
34
20
|
B: {};
|
|
35
21
|
D: {};
|
|
@@ -5,7 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
5
5
|
$ref: "file";
|
|
6
6
|
accept?: readonly string[];
|
|
7
7
|
extensions?: readonly string[];
|
|
8
|
-
}) | (EnumProperty & import('@aeriajs/types').PropertyBase) | (EnumProperty & import('@aeriajs/types').PropertyBase & ArrayProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').FixedObjectProperty & {
|
|
8
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase) | (EnumProperty & import('@aeriajs/types').PropertyBase & ArrayProperty<unknown>) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').FixedObjectProperty & {
|
|
9
9
|
type: "object";
|
|
10
10
|
default?: unknown;
|
|
11
11
|
}) | (EnumProperty & import('@aeriajs/types').PropertyBase & {
|
|
@@ -18,15 +18,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
18
18
|
} & {
|
|
19
19
|
type: "object";
|
|
20
20
|
default?: unknown;
|
|
21
|
-
}) | (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) | (
|
|
21
|
+
}) | (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"> & {
|
|
22
22
|
$ref: "file";
|
|
23
23
|
accept?: readonly string[];
|
|
24
24
|
extensions?: readonly string[];
|
|
25
|
-
}) | (
|
|
25
|
+
}) | (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"> & {
|
|
26
26
|
$ref: "file";
|
|
27
27
|
accept?: readonly string[];
|
|
28
28
|
extensions?: readonly string[];
|
|
29
|
-
}) | (
|
|
29
|
+
}) | (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)> & {
|
|
30
30
|
value?: unknown;
|
|
31
31
|
variant?: string;
|
|
32
32
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
36
36
|
$ref: "file";
|
|
37
37
|
accept?: readonly string[];
|
|
38
38
|
extensions?: readonly string[];
|
|
39
|
-
}) | (EnumProperty & import('@aeriajs/types').PropertyBase) | (EnumProperty & import('@aeriajs/types').PropertyBase & ArrayProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').FixedObjectProperty & {
|
|
39
|
+
}) | (EnumProperty & import('@aeriajs/types').PropertyBase) | (EnumProperty & import('@aeriajs/types').PropertyBase & ArrayProperty<unknown>) | (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').FixedObjectProperty & {
|
|
40
40
|
type: "object";
|
|
41
41
|
default?: unknown;
|
|
42
42
|
}) | (EnumProperty & import('@aeriajs/types').PropertyBase & {
|
|
@@ -49,15 +49,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
49
49
|
} & {
|
|
50
50
|
type: "object";
|
|
51
51
|
default?: unknown;
|
|
52
|
-
}) | (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) | (
|
|
52
|
+
}) | (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"> & {
|
|
53
53
|
$ref: "file";
|
|
54
54
|
accept?: readonly string[];
|
|
55
55
|
extensions?: readonly string[];
|
|
56
|
-
}) | (
|
|
56
|
+
}) | (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"> & {
|
|
57
57
|
$ref: "file";
|
|
58
58
|
accept?: readonly string[];
|
|
59
59
|
extensions?: readonly string[];
|
|
60
|
-
}) | (
|
|
60
|
+
}) | (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)> & {
|
|
61
61
|
value?: unknown;
|
|
62
62
|
variant?: string;
|
|
63
63
|
}>>> & Readonly<{
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { File as AeriaFile } from '@aeriajs/builtins';
|
|
2
|
+
import { UploadedFile } from '../../../types.js';
|
|
3
|
+
|
|
4
|
+
type Props = {
|
|
5
|
+
modelValue: AeriaFile | UploadedFile;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
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>>;
|
|
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
|
+
};
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,26 +1,420 @@
|
|
|
1
|
-
import { Property, FileProperty } from '@aeriajs/types';
|
|
2
|
-
import {
|
|
1
|
+
import { Property, FileProperty, ArrayProperty } from '@aeriajs/types';
|
|
2
|
+
import { File as AeriaFile } from '@aeriajs/builtins';
|
|
3
|
+
import { FormFieldProps, UploadedFile } from '../types.js';
|
|
3
4
|
|
|
4
|
-
type Props = FormFieldProps<
|
|
5
|
+
type Props = FormFieldProps<UploadedFile | AeriaFile | (UploadedFile | AeriaFile)[] | null, Property & (FileProperty | ArrayProperty<FileProperty>)> & {
|
|
5
6
|
meta?: Record<string, unknown>;
|
|
6
|
-
modelValue?: unknown;
|
|
7
7
|
content?: unknown;
|
|
8
|
-
|
|
9
|
-
type TempFile = {
|
|
10
|
-
tempId: string;
|
|
8
|
+
multiple?: boolean;
|
|
11
9
|
};
|
|
12
10
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
change: (value:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
change: (value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
12
|
+
readonly $id: "file";
|
|
13
|
+
readonly icon: "paperclip";
|
|
14
|
+
readonly owned: "always";
|
|
15
|
+
readonly presets: readonly ["owned"];
|
|
16
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
17
|
+
readonly properties: {
|
|
18
|
+
readonly type: {
|
|
19
|
+
readonly type: "string";
|
|
20
|
+
};
|
|
21
|
+
readonly size: {
|
|
22
|
+
readonly type: "number";
|
|
23
|
+
};
|
|
24
|
+
readonly last_modified: {
|
|
25
|
+
readonly type: "string";
|
|
26
|
+
readonly format: "date-time";
|
|
27
|
+
};
|
|
28
|
+
readonly name: {
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
};
|
|
31
|
+
readonly absolute_path: {
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
};
|
|
34
|
+
readonly relative_path: {
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
};
|
|
37
|
+
readonly immutable: {
|
|
38
|
+
readonly type: "boolean";
|
|
39
|
+
};
|
|
40
|
+
readonly link: {
|
|
41
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
42
|
+
};
|
|
43
|
+
readonly download_link: {
|
|
44
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
readonly actions: {
|
|
48
|
+
readonly deleteAll: {
|
|
49
|
+
readonly label: "Remover";
|
|
50
|
+
readonly ask: true;
|
|
51
|
+
readonly selection: true;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly individualActions: {
|
|
55
|
+
readonly remove: {
|
|
56
|
+
readonly label: "Remover";
|
|
57
|
+
readonly icon: "trash";
|
|
58
|
+
readonly ask: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
}>)[]) => void;
|
|
62
|
+
"update:content": (value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
63
|
+
readonly $id: "file";
|
|
64
|
+
readonly icon: "paperclip";
|
|
65
|
+
readonly owned: "always";
|
|
66
|
+
readonly presets: readonly ["owned"];
|
|
67
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
68
|
+
readonly properties: {
|
|
69
|
+
readonly type: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
};
|
|
72
|
+
readonly size: {
|
|
73
|
+
readonly type: "number";
|
|
74
|
+
};
|
|
75
|
+
readonly last_modified: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
readonly format: "date-time";
|
|
78
|
+
};
|
|
79
|
+
readonly name: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
};
|
|
82
|
+
readonly absolute_path: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
};
|
|
85
|
+
readonly relative_path: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
};
|
|
88
|
+
readonly immutable: {
|
|
89
|
+
readonly type: "boolean";
|
|
90
|
+
};
|
|
91
|
+
readonly link: {
|
|
92
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
93
|
+
};
|
|
94
|
+
readonly download_link: {
|
|
95
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
readonly actions: {
|
|
99
|
+
readonly deleteAll: {
|
|
100
|
+
readonly label: "Remover";
|
|
101
|
+
readonly ask: true;
|
|
102
|
+
readonly selection: true;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
readonly individualActions: {
|
|
106
|
+
readonly remove: {
|
|
107
|
+
readonly label: "Remover";
|
|
108
|
+
readonly icon: "trash";
|
|
109
|
+
readonly ask: true;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}>)[]) => void;
|
|
113
|
+
"update:modelValue": (value: UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
114
|
+
readonly $id: "file";
|
|
115
|
+
readonly icon: "paperclip";
|
|
116
|
+
readonly owned: "always";
|
|
117
|
+
readonly presets: readonly ["owned"];
|
|
118
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
119
|
+
readonly properties: {
|
|
120
|
+
readonly type: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
};
|
|
123
|
+
readonly size: {
|
|
124
|
+
readonly type: "number";
|
|
125
|
+
};
|
|
126
|
+
readonly last_modified: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
readonly format: "date-time";
|
|
129
|
+
};
|
|
130
|
+
readonly name: {
|
|
131
|
+
readonly type: "string";
|
|
132
|
+
};
|
|
133
|
+
readonly absolute_path: {
|
|
134
|
+
readonly type: "string";
|
|
135
|
+
};
|
|
136
|
+
readonly relative_path: {
|
|
137
|
+
readonly type: "string";
|
|
138
|
+
};
|
|
139
|
+
readonly immutable: {
|
|
140
|
+
readonly type: "boolean";
|
|
141
|
+
};
|
|
142
|
+
readonly link: {
|
|
143
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
144
|
+
};
|
|
145
|
+
readonly download_link: {
|
|
146
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
readonly actions: {
|
|
150
|
+
readonly deleteAll: {
|
|
151
|
+
readonly label: "Remover";
|
|
152
|
+
readonly ask: true;
|
|
153
|
+
readonly selection: true;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
readonly individualActions: {
|
|
157
|
+
readonly remove: {
|
|
158
|
+
readonly label: "Remover";
|
|
159
|
+
readonly icon: "trash";
|
|
160
|
+
readonly ask: true;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}> | (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
164
|
+
readonly $id: "file";
|
|
165
|
+
readonly icon: "paperclip";
|
|
166
|
+
readonly owned: "always";
|
|
167
|
+
readonly presets: readonly ["owned"];
|
|
168
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
169
|
+
readonly properties: {
|
|
170
|
+
readonly type: {
|
|
171
|
+
readonly type: "string";
|
|
172
|
+
};
|
|
173
|
+
readonly size: {
|
|
174
|
+
readonly type: "number";
|
|
175
|
+
};
|
|
176
|
+
readonly last_modified: {
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
readonly format: "date-time";
|
|
179
|
+
};
|
|
180
|
+
readonly name: {
|
|
181
|
+
readonly type: "string";
|
|
182
|
+
};
|
|
183
|
+
readonly absolute_path: {
|
|
184
|
+
readonly type: "string";
|
|
185
|
+
};
|
|
186
|
+
readonly relative_path: {
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
};
|
|
189
|
+
readonly immutable: {
|
|
190
|
+
readonly type: "boolean";
|
|
191
|
+
};
|
|
192
|
+
readonly link: {
|
|
193
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
194
|
+
};
|
|
195
|
+
readonly download_link: {
|
|
196
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
readonly actions: {
|
|
200
|
+
readonly deleteAll: {
|
|
201
|
+
readonly label: "Remover";
|
|
202
|
+
readonly ask: true;
|
|
203
|
+
readonly selection: true;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
readonly individualActions: {
|
|
207
|
+
readonly remove: {
|
|
208
|
+
readonly label: "Remover";
|
|
209
|
+
readonly icon: "trash";
|
|
210
|
+
readonly ask: true;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
}>)[] | null | undefined) => void;
|
|
18
214
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
19
|
-
onChange?: ((value:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
215
|
+
onChange?: ((value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
216
|
+
readonly $id: "file";
|
|
217
|
+
readonly icon: "paperclip";
|
|
218
|
+
readonly owned: "always";
|
|
219
|
+
readonly presets: readonly ["owned"];
|
|
220
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
221
|
+
readonly properties: {
|
|
222
|
+
readonly type: {
|
|
223
|
+
readonly type: "string";
|
|
224
|
+
};
|
|
225
|
+
readonly size: {
|
|
226
|
+
readonly type: "number";
|
|
227
|
+
};
|
|
228
|
+
readonly last_modified: {
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
readonly format: "date-time";
|
|
231
|
+
};
|
|
232
|
+
readonly name: {
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
};
|
|
235
|
+
readonly absolute_path: {
|
|
236
|
+
readonly type: "string";
|
|
237
|
+
};
|
|
238
|
+
readonly relative_path: {
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
};
|
|
241
|
+
readonly immutable: {
|
|
242
|
+
readonly type: "boolean";
|
|
243
|
+
};
|
|
244
|
+
readonly link: {
|
|
245
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
246
|
+
};
|
|
247
|
+
readonly download_link: {
|
|
248
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
readonly actions: {
|
|
252
|
+
readonly deleteAll: {
|
|
253
|
+
readonly label: "Remover";
|
|
254
|
+
readonly ask: true;
|
|
255
|
+
readonly selection: true;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
readonly individualActions: {
|
|
259
|
+
readonly remove: {
|
|
260
|
+
readonly label: "Remover";
|
|
261
|
+
readonly icon: "trash";
|
|
262
|
+
readonly ask: true;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
}>)[]) => any) | undefined;
|
|
266
|
+
"onUpdate:modelValue"?: ((value: UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
267
|
+
readonly $id: "file";
|
|
268
|
+
readonly icon: "paperclip";
|
|
269
|
+
readonly owned: "always";
|
|
270
|
+
readonly presets: readonly ["owned"];
|
|
271
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
272
|
+
readonly properties: {
|
|
273
|
+
readonly type: {
|
|
274
|
+
readonly type: "string";
|
|
275
|
+
};
|
|
276
|
+
readonly size: {
|
|
277
|
+
readonly type: "number";
|
|
278
|
+
};
|
|
279
|
+
readonly last_modified: {
|
|
280
|
+
readonly type: "string";
|
|
281
|
+
readonly format: "date-time";
|
|
282
|
+
};
|
|
283
|
+
readonly name: {
|
|
284
|
+
readonly type: "string";
|
|
285
|
+
};
|
|
286
|
+
readonly absolute_path: {
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
};
|
|
289
|
+
readonly relative_path: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
};
|
|
292
|
+
readonly immutable: {
|
|
293
|
+
readonly type: "boolean";
|
|
294
|
+
};
|
|
295
|
+
readonly link: {
|
|
296
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
297
|
+
};
|
|
298
|
+
readonly download_link: {
|
|
299
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
readonly actions: {
|
|
303
|
+
readonly deleteAll: {
|
|
304
|
+
readonly label: "Remover";
|
|
305
|
+
readonly ask: true;
|
|
306
|
+
readonly selection: true;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly individualActions: {
|
|
310
|
+
readonly remove: {
|
|
311
|
+
readonly label: "Remover";
|
|
312
|
+
readonly icon: "trash";
|
|
313
|
+
readonly ask: true;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
}> | (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
317
|
+
readonly $id: "file";
|
|
318
|
+
readonly icon: "paperclip";
|
|
319
|
+
readonly owned: "always";
|
|
320
|
+
readonly presets: readonly ["owned"];
|
|
321
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
322
|
+
readonly properties: {
|
|
323
|
+
readonly type: {
|
|
324
|
+
readonly type: "string";
|
|
325
|
+
};
|
|
326
|
+
readonly size: {
|
|
327
|
+
readonly type: "number";
|
|
328
|
+
};
|
|
329
|
+
readonly last_modified: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly format: "date-time";
|
|
332
|
+
};
|
|
333
|
+
readonly name: {
|
|
334
|
+
readonly type: "string";
|
|
335
|
+
};
|
|
336
|
+
readonly absolute_path: {
|
|
337
|
+
readonly type: "string";
|
|
338
|
+
};
|
|
339
|
+
readonly relative_path: {
|
|
340
|
+
readonly type: "string";
|
|
341
|
+
};
|
|
342
|
+
readonly immutable: {
|
|
343
|
+
readonly type: "boolean";
|
|
344
|
+
};
|
|
345
|
+
readonly link: {
|
|
346
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
347
|
+
};
|
|
348
|
+
readonly download_link: {
|
|
349
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
readonly actions: {
|
|
353
|
+
readonly deleteAll: {
|
|
354
|
+
readonly label: "Remover";
|
|
355
|
+
readonly ask: true;
|
|
356
|
+
readonly selection: true;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
readonly individualActions: {
|
|
360
|
+
readonly remove: {
|
|
361
|
+
readonly label: "Remover";
|
|
362
|
+
readonly icon: "trash";
|
|
363
|
+
readonly ask: true;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
}>)[] | null | undefined) => any) | undefined;
|
|
367
|
+
"onUpdate:content"?: ((value: (UploadedFile | import('@aeriajs/types').SchemaWithId<{
|
|
368
|
+
readonly $id: "file";
|
|
369
|
+
readonly icon: "paperclip";
|
|
370
|
+
readonly owned: "always";
|
|
371
|
+
readonly presets: readonly ["owned"];
|
|
372
|
+
readonly indexes: readonly ["name", "link", "type"];
|
|
373
|
+
readonly properties: {
|
|
374
|
+
readonly type: {
|
|
375
|
+
readonly type: "string";
|
|
376
|
+
};
|
|
377
|
+
readonly size: {
|
|
378
|
+
readonly type: "number";
|
|
379
|
+
};
|
|
380
|
+
readonly last_modified: {
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
readonly format: "date-time";
|
|
383
|
+
};
|
|
384
|
+
readonly name: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
};
|
|
387
|
+
readonly absolute_path: {
|
|
388
|
+
readonly type: "string";
|
|
389
|
+
};
|
|
390
|
+
readonly relative_path: {
|
|
391
|
+
readonly type: "string";
|
|
392
|
+
};
|
|
393
|
+
readonly immutable: {
|
|
394
|
+
readonly type: "boolean";
|
|
395
|
+
};
|
|
396
|
+
readonly link: {
|
|
397
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
398
|
+
};
|
|
399
|
+
readonly download_link: {
|
|
400
|
+
readonly getter: (doc: object) => Promise<string | undefined>;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
readonly actions: {
|
|
404
|
+
readonly deleteAll: {
|
|
405
|
+
readonly label: "Remover";
|
|
406
|
+
readonly ask: true;
|
|
407
|
+
readonly selection: true;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
readonly individualActions: {
|
|
411
|
+
readonly remove: {
|
|
412
|
+
readonly label: "Remover";
|
|
413
|
+
readonly icon: "trash";
|
|
414
|
+
readonly ask: true;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
}>)[]) => any) | undefined;
|
|
24
418
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
419
|
export default _default;
|
|
26
420
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -2,18 +2,14 @@ import { PropertyBase, ArrayProperty, EnumProperty } from '@aeriajs/types';
|
|
|
2
2
|
import { FormFieldProps } from '../types.js';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<FormFieldProps<any>, "property"> & {
|
|
5
|
-
property: PropertyBase & (EnumProperty |
|
|
6
|
-
items: EnumProperty;
|
|
7
|
-
}));
|
|
5
|
+
property: PropertyBase & (EnumProperty | ArrayProperty<EnumProperty>);
|
|
8
6
|
columns?: number;
|
|
9
7
|
}>, {
|
|
10
8
|
columns: number;
|
|
11
9
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
10
|
"update:modelValue": (value: unknown) => void;
|
|
13
11
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<FormFieldProps<any>, "property"> & {
|
|
14
|
-
property: PropertyBase & (EnumProperty |
|
|
15
|
-
items: EnumProperty;
|
|
16
|
-
}));
|
|
12
|
+
property: PropertyBase & (EnumProperty | ArrayProperty<EnumProperty>);
|
|
17
13
|
columns?: number;
|
|
18
14
|
}>, {
|
|
19
15
|
columns: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, RefProperty,
|
|
1
|
+
import { Property, RefProperty, ArrayProperty } from '@aeriajs/types';
|
|
2
2
|
|
|
3
3
|
export type FormFieldProps<TModelValue, TProperty = Property> = {
|
|
4
4
|
modelValue?: TModelValue;
|
|
@@ -8,4 +8,8 @@ export type FormFieldProps<TModelValue, TProperty = Property> = {
|
|
|
8
8
|
parentCollection?: string;
|
|
9
9
|
readOnly?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export type SearchProperty = RefProperty |
|
|
11
|
+
export type SearchProperty = RefProperty | ArrayProperty<RefProperty>;
|
|
12
|
+
export type UploadedFile = {
|
|
13
|
+
tempId?: string;
|
|
14
|
+
file: File;
|
|
15
|
+
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as b, ref as h, resolveDirective as w, openBlock as u,
|
|
|
2
2
|
import { useRouter as z } from "vue-router";
|
|
3
3
|
import { useStore as v } from "@aeria-ui/state-management";
|
|
4
4
|
import { STORAGE_NAMESPACE as y } from "@aeria-ui/core";
|
|
5
|
-
import { f as E, g as I, b as f, h as O, a as x, A as B, i as U } from "./index-
|
|
5
|
+
import { f as E, g as I, b as f, h as O, a as x, A as B, i as U } from "./index-d0115549.js";
|
|
6
6
|
import "@aeria-ui/i18n";
|
|
7
7
|
import "@aeriajs/common";
|
|
8
8
|
import "@aeria-ui/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as t, createBlock as r, createSlots as i, withCtx as n, renderSlot as c, createCommentVNode as l } from "vue";
|
|
2
|
-
import { d as m } from "./index-
|
|
2
|
+
import { d as m } from "./index-d0115549.js";
|
|
3
3
|
import "@aeria-ui/i18n";
|
|
4
4
|
import "@aeriajs/common";
|
|
5
5
|
import "@aeria-ui/state-management";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as c, ref as m, openBlock as u, createBlock as _, withC
|
|
|
2
2
|
import { useRouter as v } from "vue-router";
|
|
3
3
|
import { useI18n as x } from "@aeria-ui/i18n";
|
|
4
4
|
import { useStore as n } from "@aeria-ui/state-management";
|
|
5
|
-
import { h as V, _ as k, a as y } from "./index-
|
|
5
|
+
import { h as V, _ as k, a as y } from "./index-d0115549.js";
|
|
6
6
|
import "@aeriajs/common";
|
|
7
7
|
import "@aeria-ui/core";
|
|
8
8
|
import "@aeria-ui/utils";
|