@aeria-ui/ui 0.0.146 → 0.0.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/{_id_-4dIZ-pe0.js → _id_-35671aff.js} +14 -9
  2. package/dist/{activation-DqwN6Fxz.js → activation-9b511196.js} +15 -13
  3. package/dist/components/aeria-accordion/aeria-accordion.vue.d.ts +12 -8
  4. package/dist/components/aeria-badge/aeria-badge.vue.d.ts +12 -8
  5. package/dist/components/aeria-bare-button/aeria-bare-button.vue.d.ts +15 -11
  6. package/dist/components/aeria-button/aeria-button.vue.d.ts +14 -10
  7. package/dist/components/aeria-card/aeria-card.vue.d.ts +15 -11
  8. package/dist/components/aeria-context-menu/aeria-context-menu.vue.d.ts +22 -19
  9. package/dist/components/aeria-crud/_internals/helpers.d.ts +3 -2
  10. package/dist/components/aeria-crud/_internals/layouts/aeria-grid/aeria-grid.vue.d.ts +12 -2
  11. package/dist/components/aeria-crud/_internals/layouts/aeria-tabular/aeria-tabular.vue.d.ts +15 -10
  12. package/dist/components/aeria-crud/_internals/layouts/index.d.ts +82 -40
  13. package/dist/components/aeria-crud/aeria-crud.vue.d.ts +26 -21
  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 +12 -8
  16. package/dist/components/aeria-icon/aeria-icon.vue.d.ts +14 -9
  17. package/dist/components/aeria-info/aeria-info.vue.d.ts +26 -11
  18. package/dist/components/aeria-insert-panel/aeria-insert-panel.vue.d.ts +33 -16
  19. package/dist/components/aeria-main/aeria-main.vue.d.ts +3 -8
  20. package/dist/components/aeria-menu/aeria-menu.vue.d.ts +2 -7
  21. package/dist/components/aeria-pagination/aeria-pagination.vue.d.ts +15 -5
  22. package/dist/components/aeria-panel/aeria-panel.vue.d.ts +33 -15
  23. package/dist/components/aeria-picture/aeria-picture.vue.d.ts +14 -10
  24. package/dist/components/aeria-table/aeria-table.vue.d.ts +25 -20
  25. package/dist/components/aeria-tabs/aeria-tabs.vue.d.ts +13 -9
  26. package/dist/components/dashboard/aeria-crud-topbar/aeria-crud-topbar.vue.d.ts +10 -1
  27. package/dist/components/dashboard/aeria-password-form/aeria-password-form.vue.d.ts +17 -13
  28. package/dist/components/dashboard/aeria-prompt/aeria-prompt.vue.d.ts +14 -9
  29. package/dist/components/dashboard/aeria-toast/aeria-toast.vue.d.ts +14 -9
  30. package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +26 -16
  31. package/dist/components/form/aeria-file/_internals/components/aeria-file-item.vue.d.ts +13 -8
  32. package/dist/components/form/aeria-file/aeria-file.vue.d.ts +22 -12
  33. package/dist/components/form/aeria-form/_internals/helpers.d.ts +3 -2
  34. package/dist/components/form/aeria-form/aeria-form.vue.d.ts +47 -26
  35. package/dist/components/form/aeria-input/aeria-input.vue.d.ts +22 -17
  36. package/dist/components/form/aeria-options/aeria-options.vue.d.ts +29 -7
  37. package/dist/components/form/aeria-search/_internals/components/aeria-search-container/aeria-search-container.vue.d.ts +16 -14
  38. package/dist/components/form/aeria-search/_internals/components/aeria-search-item/aeria-search-item.vue.d.ts +18 -13
  39. package/dist/components/form/aeria-search/aeria-search.vue.d.ts +25 -3
  40. package/dist/components/form/aeria-select/aeria-select.vue.d.ts +18 -15
  41. package/dist/components/form/aeria-switch/aeria-switch.vue.d.ts +18 -8
  42. package/dist/components/form/types.d.ts +2 -1
  43. package/dist/components/index.d.ts +1 -0
  44. package/dist/index-13f71246.js +31 -0
  45. package/dist/index-17786102.js +144 -0
  46. package/dist/index-54fc64aa.js +66 -0
  47. package/dist/{index-Cvpf_fcw.js → index-da006cde.js} +1162 -1137
  48. package/dist/{redefine-password-CIRVr_YH.js → redefine-password-a556ab1e.js} +10 -8
  49. package/dist/routes.d.ts +2 -1
  50. package/dist/{signin-Wx4U5tkL.js → signin-80046a53.js} +6 -3
  51. package/dist/{signup-B0VMikWK.js → signup-2b9cbf2c.js} +28 -24
  52. package/dist/{ui.css → style.css} +1 -1
  53. package/dist/ui.js +42 -35
  54. package/dist/views/dashboard/[collection]/[id].vue.d.ts +10 -1
  55. package/dist/views/dashboard/[collection]/index.vue.d.ts +12 -8
  56. package/dist/views/dashboard/user/profile/index.vue.d.ts +2 -7
  57. package/package.json +2 -2
  58. package/dist/index-BHya3orU.js +0 -25
  59. package/dist/index-DJGV3KfN.js +0 -57
  60. package/dist/index-DUoAgL9p.js +0 -130
@@ -1,7 +1,12 @@
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-Cvpf_fcw.js";
4
- const _ = /* @__PURE__ */ i({
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-da006cde.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({
5
10
  __name: "[id]",
6
11
  props: {
7
12
  collection: {},
@@ -9,19 +14,19 @@ const _ = /* @__PURE__ */ i({
9
14
  section: {}
10
15
  },
11
16
  setup(t) {
12
- const e = t, n = a();
13
- return c(() => [
17
+ const e = t, i = a();
18
+ return n(() => [
14
19
  e.collection,
15
20
  e.id
16
21
  ], () => {
17
- s(e.collection, n).$actions.get({
22
+ m(e.collection, i).$actions.get({
18
23
  filters: {
19
24
  _id: e.id
20
25
  }
21
26
  });
22
27
  }, {
23
28
  immediate: !0
24
- }), (o, m) => (r(), l(d, {
29
+ }), (o, d) => (c(), l(s, {
25
30
  key: o.id,
26
31
  bordered: "",
27
32
  rounded: "",
@@ -34,5 +39,5 @@ const _ = /* @__PURE__ */ i({
34
39
  }
35
40
  });
36
41
  export {
37
- _ as default
42
+ b as default
38
43
  };
@@ -3,7 +3,9 @@ import { INSTANCE_VARS_SYMBOL as U } from "@aeria-ui/core";
3
3
  import { useStore as $ } from "@aeria-ui/state-management";
4
4
  import { useRouter as x } from "vue-router";
5
5
  import { t as i } from "@aeria-ui/i18n";
6
- import { A as E, _ as I, a as v } from "./index-Cvpf_fcw.js";
6
+ import { A as E, _ as I, a as v } from "./index-da006cde.js";
7
+ import "@aeriajs/common";
8
+ import "@aeria-ui/utils";
7
9
  const N = { key: 0 }, T = {
8
10
  key: 0,
9
11
  style: { display: "grid", gap: "1rem" }
@@ -13,10 +15,10 @@ const N = { key: 0 }, T = {
13
15
  }, B = {
14
16
  key: 1,
15
17
  style: { display: "grid", gap: "1rem" }
16
- }, z = /* @__PURE__ */ A({
18
+ }, H = /* @__PURE__ */ A({
17
19
  __name: "activation",
18
20
  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({
21
+ const r = x(), u = $("user"), d = $("meta"), f = R(U), h = r.currentRoute.value.query.step || "success", _ = r.currentRoute.value.query.u, w = r.currentRoute.value.query.t, o = M({
20
22
  name: "",
21
23
  email: "",
22
24
  active: !1,
@@ -28,13 +30,13 @@ const N = { key: 0 }, T = {
28
30
  });
29
31
  const k = () => {
30
32
  if (typeof f < "u") {
31
- const { next: e } = a.currentRoute.value.query;
33
+ const { next: e } = r.currentRoute.value.query;
32
34
  if (typeof e == "string" && f.allowedRedirectionUris && f.allowedRedirectionUris.includes(e)) {
33
- e.startsWith("/") ? a.push(e) : location.href = e;
35
+ e.startsWith("/") ? r.push(e) : location.href = e;
34
36
  return;
35
37
  }
36
38
  }
37
- a.push("/user/signin");
39
+ r.push("/user/signin");
38
40
  }, V = async () => {
39
41
  const { error: e, result: t } = await u.$functions.getInfo({
40
42
  userId: _,
@@ -78,7 +80,7 @@ const N = { key: 0 }, T = {
78
80
  y("h1", null, n(s(i)("register_password")), 1),
79
81
  l(E, {
80
82
  modelValue: o.value,
81
- "onUpdate:modelValue": t[0] || (t[0] = (r) => o.value = r),
83
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => o.value = a),
82
84
  form: {
83
85
  name: {
84
86
  type: "string",
@@ -92,11 +94,11 @@ const N = { key: 0 }, T = {
92
94
  }, null, 8, ["modelValue"]),
93
95
  l(I, {
94
96
  modelValue: o.value,
95
- "onUpdate:modelValue": t[1] || (t[1] = (r) => o.value = r)
97
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => o.value = a)
96
98
  }, {
97
- default: m(({ passwordError: r }) => [
99
+ default: m(({ passwordError: a }) => [
98
100
  l(v, {
99
- disabled: !!r,
101
+ disabled: !!a,
100
102
  onClick: C(S, ["prevent"])
101
103
  }, {
102
104
  default: m(() => [
@@ -110,7 +112,7 @@ const N = { key: 0 }, T = {
110
112
  ])) : (c(), p("div", q, [
111
113
  y("h1", null, n(s(i)("successfully_activated_account")), 1),
112
114
  l(v, {
113
- onClick: t[2] || (t[2] = (r) => s(a).push("/user/signin"))
115
+ onClick: t[2] || (t[2] = (a) => s(r).push("/user/signin"))
114
116
  }, {
115
117
  default: m(() => [
116
118
  g(n(s(i)("go_to_login_page")), 1)
@@ -121,7 +123,7 @@ const N = { key: 0 }, T = {
121
123
  ])) : (c(), p("div", B, [
122
124
  y("h1", null, n(s(i)("invalid_link")), 1),
123
125
  l(v, {
124
- onClick: t[3] || (t[3] = (r) => s(a).push("/user/signin"))
126
+ onClick: t[3] || (t[3] = (a) => s(r).push("/user/signin"))
125
127
  }, {
126
128
  default: m(() => [
127
129
  g(n(s(i)("go_to_login_page")), 1)
@@ -132,5 +134,5 @@ const N = { key: 0 }, T = {
132
134
  }
133
135
  });
134
136
  export {
135
- z as default
137
+ H as default
136
138
  };
@@ -6,15 +6,19 @@ type Props = {
6
6
  icon: string;
7
7
  }>;
8
8
  };
9
- declare function __VLS_template(): {
10
- slots: Partial<Record<string, (_: {}) => any>>;
11
- refs: {};
12
- attrs: Partial<{}>;
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"]>;
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>>;
17
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
+ };
18
22
  type __VLS_WithTemplateSlots<T, S> = T & {
19
23
  new (): {
20
24
  $slots: S;
@@ -3,16 +3,20 @@ type Props = {
3
3
  alt?: boolean;
4
4
  };
5
5
  declare function __VLS_template(): {
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- attrs: Partial<{}>;
6
+ default?(_: {}): any;
11
7
  };
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"]>;
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>>;
15
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;
18
+ };
19
+ };
16
20
  type __VLS_WithTemplateSlots<T, S> = T & {
17
21
  new (): {
18
22
  $slots: S;
@@ -2,20 +2,24 @@ type Props = {
2
2
  disabled?: boolean;
3
3
  };
4
4
  declare function __VLS_template(): {
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- attrs: Partial<{}>;
5
+ default?(_: {}): any;
10
6
  };
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<{
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<{
15
10
  onClick?: ((event: Event) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
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;
21
+ };
22
+ };
19
23
  type __VLS_WithTemplateSlots<T, S> = T & {
20
24
  new (): {
21
25
  $slots: S;
@@ -1,4 +1,5 @@
1
- import { Icon } from '../../../../../node_modules/@aeriajs/types';
1
+ import { Icon } from '@aeriajs/types';
2
+
2
3
  type Size = 'small' | 'medium' | 'large';
3
4
  type Variant = 'primary' | 'alt' | 'transparent';
4
5
  type Props = {
@@ -11,17 +12,20 @@ type Props = {
11
12
  loading?: boolean;
12
13
  };
13
14
  declare function __VLS_template(): {
14
- slots: {
15
- default?(_: {}): any;
16
- default?(_: {}): any;
17
- };
18
- refs: {};
19
- attrs: Partial<{}>;
15
+ default?(_: {}): any;
20
16
  };
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"]>;
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>>;
24
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;
27
+ };
28
+ };
25
29
  type __VLS_WithTemplateSlots<T, S> = T & {
26
30
  new (): {
27
31
  $slots: S;
@@ -3,19 +3,23 @@ type Props = {
3
3
  horizontal?: boolean;
4
4
  };
5
5
  declare function __VLS_template(): {
6
- slots: {
7
- default?(_: {}): any;
8
- footer?(_: {}): any;
9
- actions?(_: {}): any;
10
- badge?(_: {}): any;
11
- };
12
- refs: {};
13
- attrs: Partial<{}>;
6
+ default?(_: {}): any;
7
+ footer?(_: {}): any;
8
+ actions?(_: {}): any;
9
+ badge?(_: {}): any;
14
10
  };
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"]>;
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>>;
18
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;
21
+ };
22
+ };
19
23
  type __VLS_WithTemplateSlots<T, S> = T & {
20
24
  new (): {
21
25
  $slots: S;
@@ -1,4 +1,5 @@
1
- import { CollectionAction } from '../../../../../node_modules/@aeriajs/types';
1
+ import { CollectionAction } from '@aeriajs/types';
2
+
2
3
  type Props = {
3
4
  actions?: (CollectionAction<any> & {
4
5
  click: () => void;
@@ -9,33 +10,35 @@ type Props = {
9
10
  type Action = {
10
11
  click?: (subject: unknown) => void;
11
12
  };
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<{}>;
13
+ declare function __VLS_template(): Partial<Record<string, (_: {}) => any>> & {
14
+ default?(_: {
15
+ visible: boolean;
16
+ }): any;
17
+ header?(_: {}): any;
18
+ extra?(_: {}): any;
24
19
  };
25
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
21
  actionClick: (event: {
28
22
  action: Action;
29
23
  subject: unknown;
30
- }) => any;
31
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ }) => void;
25
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
32
26
  onActionClick?: ((event: {
33
27
  action: Action;
34
28
  subject: unknown;
35
29
  }) => any) | undefined;
36
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
32
  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
+ };
39
42
  type __VLS_WithTemplateSlots<T, S> = T & {
40
43
  new (): {
41
44
  $slots: S;
@@ -1,5 +1,6 @@
1
- import { FiltersPreset } from '../../../../../../node_modules/@aeriajs/types';
2
- import { CollectionStore } from '../../../../../core/dist';
1
+ import { FiltersPreset } from '@aeriajs/types';
2
+ import { CollectionStore } from '@aeria-ui/core';
3
+
3
4
  export declare const togglePreset: (preset: FiltersPreset<any> | null, store: CollectionStore | undefined) => void;
4
5
  export declare const watchStore: (store: CollectionStore | undefined, options?: {
5
6
  persistInQuery: boolean;
@@ -1,4 +1,5 @@
1
- import { LayoutOptions, CollectionAction } from '../../../../../../../../node_modules/@aeriajs/types';
1
+ import { LayoutOptions, CollectionAction } from '@aeriajs/types';
2
+
2
3
  type Props = {
3
4
  individualActions?: (CollectionAction<any> & {
4
5
  click: () => void;
@@ -7,5 +8,14 @@ type Props = {
7
8
  layoutOptions: LayoutOptions;
8
9
  componentName: string;
9
10
  };
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>;
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>;
11
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
+ };
@@ -1,4 +1,5 @@
1
- import { LayoutOptions, CollectionAction } from '../../../../../../../../node_modules/@aeriajs/types';
1
+ import { LayoutOptions, CollectionAction } from '@aeriajs/types';
2
+
2
3
  type Props = {
3
4
  individualActions?: (CollectionAction<any> & {
4
5
  action: string;
@@ -7,17 +8,21 @@ type Props = {
7
8
  layoutOptions: LayoutOptions;
8
9
  componentProps?: Record<string, unknown>;
9
10
  };
10
- declare function __VLS_template(): {
11
- slots: Partial<Record<string, (_: any) => any>> & {
12
- inner?(_: {}): any;
13
- };
14
- refs: {};
15
- attrs: Partial<{}>;
11
+ declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & {
12
+ inner?(_: {}): any;
16
13
  };
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"]>;
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>>;
20
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;
24
+ };
25
+ };
21
26
  type __VLS_WithTemplateSlots<T, S> = T & {
22
27
  new (): {
23
28
  $slots: S;
@@ -1,53 +1,95 @@
1
- import { LayoutName } from '../../../../../../../node_modules/@aeriajs/types';
1
+ import { LayoutName } from '@aeriajs/types';
2
+
2
3
  export declare const getLayout: (layoutName: LayoutName) => ({
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, {
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, {
11
19
  P: {};
12
20
  B: {};
13
21
  D: {};
14
22
  C: {};
15
23
  M: {};
16
24
  Defaults: {};
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<{}>, {}, {}, {}, {}, {}>;
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<{}>, {}, {}, {}, {}, {}>;
25
40
  __isFragment?: never;
26
41
  __isTeleport?: never;
27
42
  __isSuspense?: never;
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 () => {
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 () => {
36
58
  $slots: Partial<Record<string, (_: any) => any>> & {
37
59
  inner?(_: {}): any;
38
60
  };
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>;
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>;