@aeria-ui/ui 0.0.143 → 0.0.145
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_-37025fe2.js → _id_-B9rfyNBK.js} +9 -14
- package/dist/activation-CZdJuNBp.js +136 -0
- package/dist/components/aeria-accordion/aeria-accordion.vue.d.ts +8 -12
- package/dist/components/aeria-badge/aeria-badge.vue.d.ts +8 -12
- package/dist/components/aeria-bare-button/aeria-bare-button.vue.d.ts +11 -15
- package/dist/components/aeria-button/aeria-button.vue.d.ts +10 -14
- package/dist/components/aeria-card/aeria-card.vue.d.ts +11 -15
- package/dist/components/aeria-context-menu/aeria-context-menu.vue.d.ts +19 -22
- package/dist/components/aeria-crud/_internals/helpers.d.ts +2 -3
- package/dist/components/aeria-crud/_internals/layouts/aeria-grid/aeria-grid.vue.d.ts +2 -12
- package/dist/components/aeria-crud/_internals/layouts/aeria-tabular/aeria-tabular.vue.d.ts +10 -15
- package/dist/components/aeria-crud/_internals/layouts/index.d.ts +40 -82
- package/dist/components/aeria-crud/aeria-crud.vue.d.ts +21 -26
- package/dist/components/aeria-filter-panel/aeria-filter-panel.vue.d.ts +2 -2
- package/dist/components/aeria-grid/aeria-grid.vue.d.ts +8 -12
- package/dist/components/aeria-icon/aeria-icon.vue.d.ts +9 -14
- package/dist/components/aeria-info/aeria-info.vue.d.ts +11 -26
- package/dist/components/aeria-insert-panel/aeria-insert-panel.vue.d.ts +16 -33
- package/dist/components/aeria-main/aeria-main.vue.d.ts +8 -3
- package/dist/components/aeria-menu/aeria-menu.vue.d.ts +7 -2
- package/dist/components/aeria-pagination/aeria-pagination.vue.d.ts +5 -15
- package/dist/components/aeria-panel/aeria-panel.vue.d.ts +15 -33
- package/dist/components/aeria-picture/aeria-picture.vue.d.ts +10 -14
- package/dist/components/aeria-table/aeria-table.vue.d.ts +20 -25
- package/dist/components/aeria-tabs/aeria-tabs.vue.d.ts +9 -13
- package/dist/components/dashboard/aeria-crud-topbar/aeria-crud-topbar.vue.d.ts +1 -10
- package/dist/components/dashboard/aeria-password-form/aeria-password-form.vue.d.ts +13 -17
- package/dist/components/dashboard/aeria-prompt/aeria-prompt.vue.d.ts +9 -14
- package/dist/components/dashboard/aeria-toast/aeria-toast.vue.d.ts +9 -14
- package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +16 -40
- package/dist/components/form/aeria-file/_internals/components/aeria-file-item.vue.d.ts +8 -13
- package/dist/components/form/aeria-file/aeria-file.vue.d.ts +12 -22
- package/dist/components/form/aeria-form/_internals/helpers.d.ts +2 -3
- package/dist/components/form/aeria-form/aeria-form.vue.d.ts +26 -47
- package/dist/components/form/aeria-input/aeria-input.vue.d.ts +17 -22
- package/dist/components/form/aeria-options/aeria-options.vue.d.ts +7 -29
- package/dist/components/form/aeria-search/_internals/components/aeria-search-container/aeria-search-container.vue.d.ts +14 -16
- package/dist/components/form/aeria-search/_internals/components/aeria-search-item/aeria-search-item.vue.d.ts +13 -18
- package/dist/components/form/aeria-search/aeria-search.vue.d.ts +3 -25
- package/dist/components/form/aeria-select/aeria-select.vue.d.ts +15 -18
- package/dist/components/form/aeria-switch/aeria-switch.vue.d.ts +8 -18
- package/dist/components/form/types.d.ts +1 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/index-CYHXxuxa.js +25 -0
- package/dist/{index-075f5d1f.js → index-D9-xEbzX.js} +11 -14
- package/dist/{index-9ae58de7.js → index-DPIvfGmD.js} +36 -40
- package/dist/index-nfGoLtIp.js +3502 -0
- package/dist/redefine-password-CL5NDEZp.js +135 -0
- package/dist/routes.d.ts +10 -3
- package/dist/{signin-717aab64.js → signin-BzQLHmp1.js} +3 -6
- package/dist/{signup-2c7983c0.js → signup-CUP6Q-pT.js} +24 -28
- package/dist/ui.js +35 -42
- package/dist/views/dashboard/[collection]/[id].vue.d.ts +1 -10
- package/dist/views/dashboard/[collection]/index.vue.d.ts +8 -12
- package/dist/views/dashboard/user/profile/index.vue.d.ts +7 -2
- package/dist/views/user/redefine-password.vue.d.ts +2 -0
- package/package.json +5 -4
- package/dist/activation-0289d124.js +0 -86
- package/dist/index-057358d1.js +0 -31
- package/dist/index-caa746ed.js +0 -3522
- /package/dist/{style.css → ui.css} +0 -0
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getGlobalStateManager as a, useStore as
|
|
3
|
-
import { e as
|
|
4
|
-
|
|
5
|
-
import "@aeria-ui/core";
|
|
6
|
-
import "@aeriajs/common";
|
|
7
|
-
import "vue-router";
|
|
8
|
-
import "@aeria-ui/utils";
|
|
9
|
-
const b = /* @__PURE__ */ r({
|
|
1
|
+
import { defineComponent as i, watch as c, openBlock as r, createBlock as l } from "vue";
|
|
2
|
+
import { getGlobalStateManager as a, useStore as s } from "@aeria-ui/state-management";
|
|
3
|
+
import { e as d } from "./index-nfGoLtIp.js";
|
|
4
|
+
const _ = /* @__PURE__ */ i({
|
|
10
5
|
__name: "[id]",
|
|
11
6
|
props: {
|
|
12
7
|
collection: {},
|
|
@@ -14,19 +9,19 @@ const b = /* @__PURE__ */ r({
|
|
|
14
9
|
section: {}
|
|
15
10
|
},
|
|
16
11
|
setup(t) {
|
|
17
|
-
const e = t,
|
|
18
|
-
return
|
|
12
|
+
const e = t, n = a();
|
|
13
|
+
return c(() => [
|
|
19
14
|
e.collection,
|
|
20
15
|
e.id
|
|
21
16
|
], () => {
|
|
22
|
-
|
|
17
|
+
s(e.collection, n).$actions.get({
|
|
23
18
|
filters: {
|
|
24
19
|
_id: e.id
|
|
25
20
|
}
|
|
26
21
|
});
|
|
27
22
|
}, {
|
|
28
23
|
immediate: !0
|
|
29
|
-
}), (o,
|
|
24
|
+
}), (o, m) => (r(), l(d, {
|
|
30
25
|
key: o.id,
|
|
31
26
|
bordered: "",
|
|
32
27
|
rounded: "",
|
|
@@ -39,5 +34,5 @@ const b = /* @__PURE__ */ r({
|
|
|
39
34
|
}
|
|
40
35
|
});
|
|
41
36
|
export {
|
|
42
|
-
|
|
37
|
+
_ as default
|
|
43
38
|
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { defineComponent as A, inject as R, ref as M, onMounted as b, openBlock as c, createElementBlock as p, unref as s, createElementVNode as y, toDisplayString as n, createVNode as l, withCtx as m, withModifiers as C, createTextVNode as g } from "vue";
|
|
2
|
+
import { INSTANCE_VARS_SYMBOL as U } from "@aeria-ui/core";
|
|
3
|
+
import { useStore as $ } from "@aeria-ui/state-management";
|
|
4
|
+
import { useRouter as x } from "vue-router";
|
|
5
|
+
import { t as i } from "@aeria-ui/i18n";
|
|
6
|
+
import { A as E, _ as I, a as v } from "./index-nfGoLtIp.js";
|
|
7
|
+
const N = { key: 0 }, T = {
|
|
8
|
+
key: 0,
|
|
9
|
+
style: { display: "grid", gap: "1rem" }
|
|
10
|
+
}, q = {
|
|
11
|
+
key: 1,
|
|
12
|
+
style: { display: "grid", gap: "1rem" }
|
|
13
|
+
}, B = {
|
|
14
|
+
key: 1,
|
|
15
|
+
style: { display: "grid", gap: "1rem" }
|
|
16
|
+
}, z = /* @__PURE__ */ A({
|
|
17
|
+
__name: "activation",
|
|
18
|
+
setup(O) {
|
|
19
|
+
const a = x(), u = $("user"), d = $("meta"), f = R(U), h = a.currentRoute.value.query.step || "success", _ = a.currentRoute.value.query.u, w = a.currentRoute.value.query.t, o = M({
|
|
20
|
+
name: "",
|
|
21
|
+
email: "",
|
|
22
|
+
active: !1,
|
|
23
|
+
password: "",
|
|
24
|
+
confirmation: ""
|
|
25
|
+
});
|
|
26
|
+
b(async () => {
|
|
27
|
+
u.$actions.signout(), await V();
|
|
28
|
+
});
|
|
29
|
+
const k = () => {
|
|
30
|
+
if (typeof f < "u") {
|
|
31
|
+
const { next: e } = a.currentRoute.value.query;
|
|
32
|
+
if (typeof e == "string" && f.allowedRedirectionUris && f.allowedRedirectionUris.includes(e)) {
|
|
33
|
+
e.startsWith("/") ? a.push(e) : location.href = e;
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
a.push("/user/signin");
|
|
38
|
+
}, V = async () => {
|
|
39
|
+
const { error: e, result: t } = await u.$functions.getInfo({
|
|
40
|
+
userId: _,
|
|
41
|
+
token: w
|
|
42
|
+
});
|
|
43
|
+
if (e) {
|
|
44
|
+
d.$actions.spawnModal({
|
|
45
|
+
title: `Error! ${e.httpStatus}`,
|
|
46
|
+
body: e.code
|
|
47
|
+
});
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if (t.active) {
|
|
51
|
+
d.$actions.spawnModal({
|
|
52
|
+
title: "Attention!",
|
|
53
|
+
body: "User Already Activated"
|
|
54
|
+
});
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
o.value.name = t.name, o.value.email = t.email;
|
|
58
|
+
}, S = async () => {
|
|
59
|
+
const { error: e } = await u.$actions.custom("activate", {
|
|
60
|
+
password: o.value.password,
|
|
61
|
+
userId: _,
|
|
62
|
+
token: w
|
|
63
|
+
});
|
|
64
|
+
if (e) {
|
|
65
|
+
d.$actions.spawnModal({
|
|
66
|
+
title: `Error! ${e.httpStatus}`,
|
|
67
|
+
body: e.code
|
|
68
|
+
});
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
u.credentials.email = o.value.email, d.$actions.spawnModal({
|
|
72
|
+
title: "Success!",
|
|
73
|
+
body: "Your account was successfully activated! Try loggin with your email and password."
|
|
74
|
+
}), k();
|
|
75
|
+
};
|
|
76
|
+
return (e, t) => o.value.email !== "" ? (c(), p("div", N, [
|
|
77
|
+
s(h) === "password" ? (c(), p("div", T, [
|
|
78
|
+
y("h1", null, n(s(i)("register_password")), 1),
|
|
79
|
+
l(E, {
|
|
80
|
+
modelValue: o.value,
|
|
81
|
+
"onUpdate:modelValue": t[0] || (t[0] = (r) => o.value = r),
|
|
82
|
+
form: {
|
|
83
|
+
name: {
|
|
84
|
+
type: "string",
|
|
85
|
+
readOnly: !0
|
|
86
|
+
},
|
|
87
|
+
email: {
|
|
88
|
+
type: "string",
|
|
89
|
+
readOnly: !0
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}, null, 8, ["modelValue"]),
|
|
93
|
+
l(I, {
|
|
94
|
+
modelValue: o.value,
|
|
95
|
+
"onUpdate:modelValue": t[1] || (t[1] = (r) => o.value = r)
|
|
96
|
+
}, {
|
|
97
|
+
default: m(({ passwordError: r }) => [
|
|
98
|
+
l(v, {
|
|
99
|
+
disabled: !!r,
|
|
100
|
+
onClick: C(S, ["prevent"])
|
|
101
|
+
}, {
|
|
102
|
+
default: m(() => [
|
|
103
|
+
g(n(s(i)("register_password")), 1)
|
|
104
|
+
]),
|
|
105
|
+
_: 2
|
|
106
|
+
}, 1032, ["disabled"])
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["modelValue"])
|
|
110
|
+
])) : (c(), p("div", q, [
|
|
111
|
+
y("h1", null, n(s(i)("successfully_activated_account")), 1),
|
|
112
|
+
l(v, {
|
|
113
|
+
onClick: t[2] || (t[2] = (r) => s(a).push("/user/signin"))
|
|
114
|
+
}, {
|
|
115
|
+
default: m(() => [
|
|
116
|
+
g(n(s(i)("go_to_login_page")), 1)
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
})
|
|
120
|
+
]))
|
|
121
|
+
])) : (c(), p("div", B, [
|
|
122
|
+
y("h1", null, n(s(i)("invalid_link")), 1),
|
|
123
|
+
l(v, {
|
|
124
|
+
onClick: t[3] || (t[3] = (r) => s(a).push("/user/signin"))
|
|
125
|
+
}, {
|
|
126
|
+
default: m(() => [
|
|
127
|
+
g(n(s(i)("go_to_login_page")), 1)
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
})
|
|
131
|
+
]));
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
export {
|
|
135
|
+
z as default
|
|
136
|
+
};
|
|
@@ -6,19 +6,15 @@ type Props = {
|
|
|
6
6
|
icon: string;
|
|
7
7
|
}>;
|
|
8
8
|
};
|
|
9
|
-
declare function __VLS_template():
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
slots: Partial<Record<string, (_: {}) => any>>;
|
|
11
|
+
refs: {};
|
|
12
|
+
attrs: Partial<{}>;
|
|
21
13
|
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
22
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
19
|
new (): {
|
|
24
20
|
$slots: S;
|
|
@@ -3,20 +3,16 @@ type Props = {
|
|
|
3
3
|
alt?: boolean;
|
|
4
4
|
};
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
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>;
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
18
8
|
};
|
|
9
|
+
refs: {};
|
|
10
|
+
attrs: Partial<{}>;
|
|
19
11
|
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
20
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
17
|
new (): {
|
|
22
18
|
$slots: S;
|
|
@@ -2,24 +2,20 @@ type Props = {
|
|
|
2
2
|
disabled?: boolean;
|
|
3
3
|
};
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
6
10
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
click: (event: Event) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
10
15
|
onClick?: ((event: Event) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
18
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
20
|
new (): {
|
|
25
21
|
$slots: S;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Icon } from '
|
|
2
|
-
|
|
1
|
+
import { Icon } from '../../../../../node_modules/@aeriajs/types';
|
|
3
2
|
type Size = 'small' | 'medium' | 'large';
|
|
4
3
|
type Variant = 'primary' | 'alt' | 'transparent';
|
|
5
4
|
type Props = {
|
|
@@ -12,20 +11,17 @@ type Props = {
|
|
|
12
11
|
loading?: boolean;
|
|
13
12
|
};
|
|
14
13
|
declare function __VLS_template(): {
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
27
17
|
};
|
|
18
|
+
refs: {};
|
|
19
|
+
attrs: Partial<{}>;
|
|
28
20
|
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
29
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
26
|
new (): {
|
|
31
27
|
$slots: S;
|
|
@@ -3,23 +3,19 @@ type Props = {
|
|
|
3
3
|
horizontal?: boolean;
|
|
4
4
|
};
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
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>;
|
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
footer?(_: {}): any;
|
|
9
|
+
actions?(_: {}): any;
|
|
10
|
+
badge?(_: {}): any;
|
|
21
11
|
};
|
|
12
|
+
refs: {};
|
|
13
|
+
attrs: Partial<{}>;
|
|
22
14
|
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
23
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
20
|
new (): {
|
|
25
21
|
$slots: S;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { CollectionAction } from '
|
|
2
|
-
|
|
1
|
+
import { CollectionAction } from '../../../../../node_modules/@aeriajs/types';
|
|
3
2
|
type Props = {
|
|
4
3
|
actions?: (CollectionAction<any> & {
|
|
5
4
|
click: () => void;
|
|
@@ -10,35 +9,33 @@ type Props = {
|
|
|
10
9
|
type Action = {
|
|
11
10
|
click?: (subject: unknown) => void;
|
|
12
11
|
};
|
|
13
|
-
declare function __VLS_template():
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
slots: Partial<Record<string, (_: {}) => any>> & {
|
|
14
|
+
default?(_: {
|
|
15
|
+
visible: boolean;
|
|
16
|
+
}): any;
|
|
17
|
+
header?(_: {}): any;
|
|
18
|
+
extra?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {
|
|
21
|
+
contextmenu: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
attrs: Partial<{}>;
|
|
19
24
|
};
|
|
20
|
-
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
27
|
actionClick: (event: {
|
|
22
28
|
action: Action;
|
|
23
29
|
subject: unknown;
|
|
24
|
-
}) =>
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
30
|
+
}) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
26
32
|
onActionClick?: ((event: {
|
|
27
33
|
action: Action;
|
|
28
34
|
subject: unknown;
|
|
29
35
|
}) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
36
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
38
|
export default _default;
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: import('vue').PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
40
|
new (): {
|
|
44
41
|
$slots: S;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { FiltersPreset } from '
|
|
2
|
-
import { CollectionStore } from '
|
|
3
|
-
|
|
1
|
+
import { FiltersPreset } from '../../../../../../node_modules/@aeriajs/types';
|
|
2
|
+
import { CollectionStore } from '../../../../../core/dist';
|
|
4
3
|
export declare const togglePreset: (preset: FiltersPreset<any> | null, store: CollectionStore | undefined) => void;
|
|
5
4
|
export declare const watchStore: (store: CollectionStore | undefined, options?: {
|
|
6
5
|
persistInQuery: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { LayoutOptions, CollectionAction } from '
|
|
2
|
-
|
|
1
|
+
import { LayoutOptions, CollectionAction } from '../../../../../../../../node_modules/@aeriajs/types';
|
|
3
2
|
type Props = {
|
|
4
3
|
individualActions?: (CollectionAction<any> & {
|
|
5
4
|
click: () => void;
|
|
@@ -8,14 +7,5 @@ type Props = {
|
|
|
8
7
|
layoutOptions: LayoutOptions;
|
|
9
8
|
componentName: string;
|
|
10
9
|
};
|
|
11
|
-
declare const _default: import('vue').DefineComponent<
|
|
10
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
11
|
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
|
-
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { LayoutOptions, CollectionAction } from '
|
|
2
|
-
|
|
1
|
+
import { LayoutOptions, CollectionAction } from '../../../../../../../../node_modules/@aeriajs/types';
|
|
3
2
|
type Props = {
|
|
4
3
|
individualActions?: (CollectionAction<any> & {
|
|
5
4
|
action: string;
|
|
@@ -8,21 +7,17 @@ type Props = {
|
|
|
8
7
|
layoutOptions: LayoutOptions;
|
|
9
8
|
componentProps?: Record<string, unknown>;
|
|
10
9
|
};
|
|
11
|
-
declare function __VLS_template():
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
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>;
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
slots: Partial<Record<string, (_: any) => any>> & {
|
|
12
|
+
inner?(_: {}): any;
|
|
24
13
|
};
|
|
14
|
+
refs: {};
|
|
15
|
+
attrs: Partial<{}>;
|
|
25
16
|
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
26
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
22
|
new (): {
|
|
28
23
|
$slots: S;
|
|
@@ -1,95 +1,53 @@
|
|
|
1
|
-
import { LayoutName } from '
|
|
2
|
-
|
|
1
|
+
import { LayoutName } from '../../../../../../../node_modules/@aeriajs/types';
|
|
3
2
|
export declare const getLayout: (layoutName: LayoutName) => ({
|
|
4
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
5
|
-
individualActions
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
type: import('vue').PropType<import('@aeriajs/types').LayoutOptions>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
componentProps: {
|
|
16
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
17
|
-
};
|
|
18
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
+
individualActions?: (import('../../../../../../../node_modules/@aeriajs/types').CollectionAction<any> & {
|
|
5
|
+
action: string;
|
|
6
|
+
click: () => void;
|
|
7
|
+
})[];
|
|
8
|
+
layoutOptions: import('../../../../../../../node_modules/@aeriajs/types').LayoutOptions;
|
|
9
|
+
componentProps?: Record<string, unknown>;
|
|
10
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
19
11
|
P: {};
|
|
20
12
|
B: {};
|
|
21
13
|
D: {};
|
|
22
14
|
C: {};
|
|
23
15
|
M: {};
|
|
24
16
|
Defaults: {};
|
|
25
|
-
}, Readonly<
|
|
26
|
-
individualActions
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
type: import('vue').PropType<import('@aeriajs/types').LayoutOptions>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
componentProps: {
|
|
37
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
38
|
-
};
|
|
39
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
17
|
+
}, Readonly<{
|
|
18
|
+
individualActions?: (import('../../../../../../../node_modules/@aeriajs/types').CollectionAction<any> & {
|
|
19
|
+
action: string;
|
|
20
|
+
click: () => void;
|
|
21
|
+
})[];
|
|
22
|
+
layoutOptions: import('../../../../../../../node_modules/@aeriajs/types').LayoutOptions;
|
|
23
|
+
componentProps?: Record<string, unknown>;
|
|
24
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
40
25
|
__isFragment?: never;
|
|
41
26
|
__isTeleport?: never;
|
|
42
27
|
__isSuspense?: never;
|
|
43
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
44
|
-
individualActions
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
type: import('vue').PropType<import('@aeriajs/types').LayoutOptions>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
componentProps: {
|
|
55
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
56
|
-
};
|
|
57
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
28
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
29
|
+
individualActions?: (import('../../../../../../../node_modules/@aeriajs/types').CollectionAction<any> & {
|
|
30
|
+
action: string;
|
|
31
|
+
click: () => void;
|
|
32
|
+
})[];
|
|
33
|
+
layoutOptions: import('../../../../../../../node_modules/@aeriajs/types').LayoutOptions;
|
|
34
|
+
componentProps?: Record<string, unknown>;
|
|
35
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
58
36
|
$slots: Partial<Record<string, (_: any) => any>> & {
|
|
59
37
|
inner?(_: {}): any;
|
|
60
38
|
};
|
|
61
|
-
})) | import('vue').DefineComponent<
|
|
62
|
-
individualActions
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
componentName:
|
|
75
|
-
|
|
76
|
-
required: true;
|
|
77
|
-
};
|
|
78
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
-
individualActions: {
|
|
80
|
-
type: import('vue').PropType<(import('@aeriajs/types').CollectionAction<any> & {
|
|
81
|
-
click: () => void;
|
|
82
|
-
})[]>;
|
|
83
|
-
};
|
|
84
|
-
hasSelectionActions: {
|
|
85
|
-
type: import('vue').PropType<boolean>;
|
|
86
|
-
};
|
|
87
|
-
layoutOptions: {
|
|
88
|
-
type: import('vue').PropType<import('@aeriajs/types').LayoutOptions>;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
componentName: {
|
|
92
|
-
type: import('vue').PropType<string>;
|
|
93
|
-
required: true;
|
|
94
|
-
};
|
|
95
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
})) | import('vue').DefineComponent<{
|
|
40
|
+
individualActions?: (import('../../../../../../../node_modules/@aeriajs/types').CollectionAction<any> & {
|
|
41
|
+
click: () => void;
|
|
42
|
+
})[];
|
|
43
|
+
hasSelectionActions?: boolean;
|
|
44
|
+
layoutOptions: import('../../../../../../../node_modules/@aeriajs/types').LayoutOptions;
|
|
45
|
+
componentName: string;
|
|
46
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
47
|
+
individualActions?: (import('../../../../../../../node_modules/@aeriajs/types').CollectionAction<any> & {
|
|
48
|
+
click: () => void;
|
|
49
|
+
})[];
|
|
50
|
+
hasSelectionActions?: boolean;
|
|
51
|
+
layoutOptions: import('../../../../../../../node_modules/@aeriajs/types').LayoutOptions;
|
|
52
|
+
componentName: string;
|
|
53
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|