@aeria-ui/ui 0.0.142 → 0.0.144

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.
Files changed (60) hide show
  1. package/dist/{_id_-37025fe2.js → _id_-6Ckc6rXd.js} +9 -14
  2. package/dist/activation-gMV62AFQ.js +126 -0
  3. package/dist/components/aeria-accordion/aeria-accordion.vue.d.ts +8 -12
  4. package/dist/components/aeria-badge/aeria-badge.vue.d.ts +8 -12
  5. package/dist/components/aeria-bare-button/aeria-bare-button.vue.d.ts +11 -15
  6. package/dist/components/aeria-button/aeria-button.vue.d.ts +10 -14
  7. package/dist/components/aeria-card/aeria-card.vue.d.ts +11 -15
  8. package/dist/components/aeria-context-menu/aeria-context-menu.vue.d.ts +19 -22
  9. package/dist/components/aeria-crud/_internals/helpers.d.ts +2 -3
  10. package/dist/components/aeria-crud/_internals/layouts/aeria-grid/aeria-grid.vue.d.ts +2 -12
  11. package/dist/components/aeria-crud/_internals/layouts/aeria-tabular/aeria-tabular.vue.d.ts +10 -15
  12. package/dist/components/aeria-crud/_internals/layouts/index.d.ts +40 -82
  13. package/dist/components/aeria-crud/aeria-crud.vue.d.ts +21 -26
  14. package/dist/components/aeria-filter-panel/aeria-filter-panel.vue.d.ts +2 -2
  15. package/dist/components/aeria-grid/aeria-grid.vue.d.ts +8 -12
  16. package/dist/components/aeria-icon/aeria-icon.vue.d.ts +9 -14
  17. package/dist/components/aeria-info/aeria-info.vue.d.ts +11 -26
  18. package/dist/components/aeria-insert-panel/aeria-insert-panel.vue.d.ts +16 -33
  19. package/dist/components/aeria-main/aeria-main.vue.d.ts +8 -3
  20. package/dist/components/aeria-menu/aeria-menu.vue.d.ts +7 -2
  21. package/dist/components/aeria-pagination/aeria-pagination.vue.d.ts +5 -15
  22. package/dist/components/aeria-panel/aeria-panel.vue.d.ts +15 -33
  23. package/dist/components/aeria-picture/aeria-picture.vue.d.ts +10 -14
  24. package/dist/components/aeria-table/aeria-table.vue.d.ts +20 -25
  25. package/dist/components/aeria-tabs/aeria-tabs.vue.d.ts +9 -13
  26. package/dist/components/dashboard/aeria-crud-topbar/aeria-crud-topbar.vue.d.ts +1 -10
  27. package/dist/components/dashboard/aeria-password-form/aeria-password-form.vue.d.ts +13 -17
  28. package/dist/components/dashboard/aeria-prompt/aeria-prompt.vue.d.ts +9 -14
  29. package/dist/components/dashboard/aeria-toast/aeria-toast.vue.d.ts +9 -14
  30. package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +16 -40
  31. package/dist/components/form/aeria-file/_internals/components/aeria-file-item.vue.d.ts +8 -13
  32. package/dist/components/form/aeria-file/aeria-file.vue.d.ts +12 -22
  33. package/dist/components/form/aeria-form/_internals/helpers.d.ts +2 -3
  34. package/dist/components/form/aeria-form/aeria-form.vue.d.ts +26 -47
  35. package/dist/components/form/aeria-input/aeria-input.vue.d.ts +17 -22
  36. package/dist/components/form/aeria-options/aeria-options.vue.d.ts +7 -29
  37. package/dist/components/form/aeria-search/_internals/components/aeria-search-container/aeria-search-container.vue.d.ts +14 -16
  38. package/dist/components/form/aeria-search/_internals/components/aeria-search-item/aeria-search-item.vue.d.ts +13 -18
  39. package/dist/components/form/aeria-search/aeria-search.vue.d.ts +3 -25
  40. package/dist/components/form/aeria-select/aeria-select.vue.d.ts +15 -18
  41. package/dist/components/form/aeria-switch/aeria-switch.vue.d.ts +8 -18
  42. package/dist/components/form/types.d.ts +1 -2
  43. package/dist/components/index.d.ts +0 -1
  44. package/dist/{index-075f5d1f.js → index-BuA6wbhk.js} +11 -14
  45. package/dist/{index-caa746ed.js → index-CF7DaiUd.js} +1130 -1154
  46. package/dist/index-CO9FXlgQ.js +25 -0
  47. package/dist/{index-9ae58de7.js → index-CylVxodf.js} +36 -40
  48. package/dist/redefine-password-2GCfWx0L.js +125 -0
  49. package/dist/routes.d.ts +0 -1
  50. package/dist/{signin-717aab64.js → signin-HK2SvMIG.js} +3 -6
  51. package/dist/{signup-2c7983c0.js → signup-11uufGSP.js} +24 -28
  52. package/dist/ui.js +35 -42
  53. package/dist/views/dashboard/[collection]/[id].vue.d.ts +1 -10
  54. package/dist/views/dashboard/[collection]/index.vue.d.ts +8 -12
  55. package/dist/views/dashboard/user/profile/index.vue.d.ts +7 -2
  56. package/dist/views/user/redefine-password.vue.d.ts +2 -0
  57. package/package.json +5 -4
  58. package/dist/activation-0289d124.js +0 -86
  59. package/dist/index-057358d1.js +0 -31
  60. /package/dist/{style.css → ui.css} +0 -0
@@ -1,12 +1,7 @@
1
- import { defineComponent as r, watch as n, openBlock as c, createBlock as l } from "vue";
2
- import { getGlobalStateManager as a, useStore as m } from "@aeria-ui/state-management";
3
- import { e as s } from "./index-caa746ed.js";
4
- import "@aeria-ui/i18n";
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-CF7DaiUd.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, i = a();
18
- return n(() => [
12
+ const e = t, n = a();
13
+ return c(() => [
19
14
  e.collection,
20
15
  e.id
21
16
  ], () => {
22
- m(e.collection, i).$actions.get({
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, d) => (c(), l(s, {
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
- b as default
37
+ _ as default
43
38
  };
@@ -0,0 +1,126 @@
1
+ import { defineComponent as h, ref as S, onMounted as b, openBlock as c, createElementBlock as m, unref as o, createElementVNode as y, toDisplayString as n, createVNode as l, withCtx as p, withModifiers as A, createTextVNode as f } from "vue";
2
+ import { useStore as w } from "@aeria-ui/state-management";
3
+ import { useRouter as M } from "vue-router";
4
+ import { t as i } from "@aeria-ui/i18n";
5
+ import { A as C, _ as x, a as v } from "./index-CF7DaiUd.js";
6
+ const E = { key: 0 }, I = {
7
+ key: 0,
8
+ style: { display: "grid", gap: "1rem" }
9
+ }, R = {
10
+ key: 1,
11
+ style: { display: "grid", gap: "1rem" }
12
+ }, U = {
13
+ key: 1,
14
+ style: { display: "grid", gap: "1rem" }
15
+ }, F = /* @__PURE__ */ h({
16
+ __name: "activation",
17
+ setup(q) {
18
+ const r = M(), u = w("user"), d = w("meta"), $ = r.currentRoute.value.query.step || "success", _ = r.currentRoute.value.query.u, g = r.currentRoute.value.query.t, t = S({
19
+ name: "",
20
+ email: "",
21
+ active: !1,
22
+ password: "",
23
+ confirmation: ""
24
+ });
25
+ b(async () => {
26
+ u.$actions.signout(), await k();
27
+ });
28
+ const k = async () => {
29
+ const { error: a, result: e } = await u.$functions.getInfo({
30
+ userId: _,
31
+ token: g
32
+ });
33
+ if (a) {
34
+ d.$actions.spawnModal({
35
+ title: `Error! ${a.httpStatus}`,
36
+ body: a.code
37
+ });
38
+ return;
39
+ }
40
+ if (e.active) {
41
+ d.$actions.spawnModal({
42
+ title: "Attention!",
43
+ body: "User Already Activated"
44
+ });
45
+ return;
46
+ }
47
+ t.value.name = e.name, t.value.email = e.email;
48
+ }, V = async () => {
49
+ const { error: a } = await u.$actions.custom("activate", {
50
+ password: t.value.password,
51
+ userId: _,
52
+ token: g
53
+ });
54
+ if (a) {
55
+ d.$actions.spawnModal({
56
+ title: `Error! ${a.httpStatus}`,
57
+ body: a.code
58
+ });
59
+ return;
60
+ }
61
+ u.credentials.email = t.value.email, d.$actions.spawnModal({
62
+ title: "Success!",
63
+ body: "Your account was successfully activated! Try loggin with your email and password."
64
+ }), r.push("/user/signin");
65
+ };
66
+ return (a, e) => t.value.email !== "" ? (c(), m("div", E, [
67
+ o($) === "password" ? (c(), m("div", I, [
68
+ y("h1", null, n(o(i)("register_password")), 1),
69
+ l(C, {
70
+ modelValue: t.value,
71
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => t.value = s),
72
+ form: {
73
+ name: {
74
+ type: "string",
75
+ readOnly: !0
76
+ },
77
+ email: {
78
+ type: "string",
79
+ readOnly: !0
80
+ }
81
+ }
82
+ }, null, 8, ["modelValue"]),
83
+ l(x, {
84
+ modelValue: t.value,
85
+ "onUpdate:modelValue": e[1] || (e[1] = (s) => t.value = s)
86
+ }, {
87
+ default: p(({ passwordError: s }) => [
88
+ l(v, {
89
+ disabled: !!s,
90
+ onClick: A(V, ["prevent"])
91
+ }, {
92
+ default: p(() => [
93
+ f(n(o(i)("register_password")), 1)
94
+ ]),
95
+ _: 2
96
+ }, 1032, ["disabled"])
97
+ ]),
98
+ _: 1
99
+ }, 8, ["modelValue"])
100
+ ])) : (c(), m("div", R, [
101
+ y("h1", null, n(o(i)("successfully_activated_account")), 1),
102
+ l(v, {
103
+ onClick: e[2] || (e[2] = (s) => o(r).push("/user/signin"))
104
+ }, {
105
+ default: p(() => [
106
+ f(n(o(i)("go_to_login_page")), 1)
107
+ ]),
108
+ _: 1
109
+ })
110
+ ]))
111
+ ])) : (c(), m("div", U, [
112
+ y("h1", null, n(o(i)("invalid_link")), 1),
113
+ l(v, {
114
+ onClick: e[3] || (e[3] = (s) => o(r).push("/user/signin"))
115
+ }, {
116
+ default: p(() => [
117
+ f(n(o(i)("go_to_login_page")), 1)
118
+ ]),
119
+ _: 1
120
+ })
121
+ ]));
122
+ }
123
+ });
124
+ export {
125
+ F as default
126
+ };
@@ -6,19 +6,15 @@ type Props = {
6
6
  icon: string;
7
7
  }>;
8
8
  };
9
- declare function __VLS_template(): Partial<Record<string, (_: {}) => any>>;
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
- };
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
- default?(_: {}): any;
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
- default?(_: {}): any;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ attrs: Partial<{}>;
6
10
  };
7
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- click: (event: Event) => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
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, true, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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 '@aeriajs/types';
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
- default?(_: {}): any;
16
- };
17
- 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>;
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
- default?(_: {}): any;
7
- footer?(_: {}): any;
8
- actions?(_: {}): any;
9
- badge?(_: {}): any;
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 '@aeriajs/types';
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(): Partial<Record<string, (_: {}) => any>> & {
14
- default?(_: {
15
- visible: boolean;
16
- }): any;
17
- header?(_: {}): any;
18
- extra?(_: {}): any;
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
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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
- }) => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & 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, true, {}, any>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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 '@aeriajs/types';
2
- import { CollectionStore } from '@aeria-ui/core';
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 '@aeriajs/types';
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<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>;
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 '@aeriajs/types';
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(): Partial<Record<string, (_: any) => any>> & {
12
- inner?(_: {}): any;
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 '@aeriajs/types';
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<import('vue').ExtractPropTypes<{
5
- individualActions: {
6
- type: import('vue').PropType<(import('@aeriajs/types').CollectionAction<any> & {
7
- action: string;
8
- click: () => void;
9
- })[]>;
10
- };
11
- layoutOptions: {
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<import('vue').ExtractPropTypes<{
26
- individualActions: {
27
- type: import('vue').PropType<(import('@aeriajs/types').CollectionAction<any> & {
28
- action: string;
29
- click: () => void;
30
- })[]>;
31
- };
32
- layoutOptions: {
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<import('vue').ExtractPropTypes<{
44
- individualActions: {
45
- type: import('vue').PropType<(import('@aeriajs/types').CollectionAction<any> & {
46
- action: string;
47
- click: () => void;
48
- })[]>;
49
- };
50
- layoutOptions: {
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<import('vue').ExtractPropTypes<{
62
- individualActions: {
63
- type: import('vue').PropType<(import('@aeriajs/types').CollectionAction<any> & {
64
- click: () => void;
65
- })[]>;
66
- };
67
- hasSelectionActions: {
68
- type: import('vue').PropType<boolean>;
69
- };
70
- layoutOptions: {
71
- type: import('vue').PropType<import('@aeriajs/types').LayoutOptions>;
72
- required: true;
73
- };
74
- componentName: {
75
- type: import('vue').PropType<string>;
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>;