@aeria-ui/ui 0.0.0

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 (73) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +11 -0
  3. package/dist/activation-c458cc9b.js +83 -0
  4. package/dist/components/aeria-accordion/aeria-accordion.vue.d.ts +24 -0
  5. package/dist/components/aeria-badge/aeria-badge.vue.d.ts +22 -0
  6. package/dist/components/aeria-bare-button/aeria-bare-button.vue.d.ts +25 -0
  7. package/dist/components/aeria-button/aeria-button.vue.d.ts +30 -0
  8. package/dist/components/aeria-card/aeria-card.vue.d.ts +25 -0
  9. package/dist/components/aeria-context-menu/aeria-context-menu.vue.d.ts +38 -0
  10. package/dist/components/aeria-crud/_internals/components/aeria-filter-panel/aeria-filter-panel.vue.d.ts +6 -0
  11. package/dist/components/aeria-crud/_internals/components/aeria-insert-panel/aeria-insert-panel.vue.d.ts +7 -0
  12. package/dist/components/aeria-crud/_internals/helpers.d.ts +6 -0
  13. package/dist/components/aeria-crud/_internals/layouts/aeria-grid/aeria-grid.vue.d.ts +18 -0
  14. package/dist/components/aeria-crud/_internals/layouts/aeria-tabular/aeria-tabular.vue.d.ts +24 -0
  15. package/dist/components/aeria-crud/_internals/layouts/index.d.ts +98 -0
  16. package/dist/components/aeria-crud/_internals/store.d.ts +24 -0
  17. package/dist/components/aeria-crud/aeria-crud.vue.d.ts +45 -0
  18. package/dist/components/aeria-grid/aeria-grid.vue.d.ts +21 -0
  19. package/dist/components/aeria-icon/aeria-icon.vue.d.ts +27 -0
  20. package/dist/components/aeria-info/aeria-info.vue.d.ts +22 -0
  21. package/dist/components/aeria-main/aeria-main.vue.d.ts +9 -0
  22. package/dist/components/aeria-menu/aeria-menu.vue.d.ts +7 -0
  23. package/dist/components/aeria-pagination/aeria-pagination.vue.d.ts +19 -0
  24. package/dist/components/aeria-panel/aeria-panel.vue.d.ts +75 -0
  25. package/dist/components/aeria-picture/aeria-picture.vue.d.ts +37 -0
  26. package/dist/components/aeria-table/aeria-table.vue.d.ts +42 -0
  27. package/dist/components/aeria-tabs/aeria-tabs.vue.d.ts +23 -0
  28. package/dist/components/dashboard/aeria-crud-topbar/aeria-crud-topbar.vue.d.ts +14 -0
  29. package/dist/components/dashboard/aeria-password-form/aeria-password-form.vue.d.ts +36 -0
  30. package/dist/components/dashboard/aeria-prompt/aeria-prompt.vue.d.ts +23 -0
  31. package/dist/components/dashboard/aeria-toast/aeria-toast.vue.d.ts +25 -0
  32. package/dist/components/dashboard/index.d.ts +4 -0
  33. package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +84 -0
  34. package/dist/components/form/aeria-file/aeria-file.vue.d.ts +26 -0
  35. package/dist/components/form/aeria-form/_internals/helpers.d.ts +4 -0
  36. package/dist/components/form/aeria-form/aeria-form.vue.d.ts +88 -0
  37. package/dist/components/form/aeria-input/aeria-input.vue.d.ts +35 -0
  38. package/dist/components/form/aeria-options/aeria-options.vue.d.ts +41 -0
  39. package/dist/components/form/aeria-search/_internals/components/aeria-search-container/aeria-search-container.vue.d.ts +26 -0
  40. package/dist/components/form/aeria-search/_internals/components/aeria-search-item/aeria-search-item.vue.d.ts +31 -0
  41. package/dist/components/form/aeria-search/aeria-search.vue.d.ts +40 -0
  42. package/dist/components/form/aeria-select/aeria-select.vue.d.ts +31 -0
  43. package/dist/components/form/aeria-switch/aeria-switch.vue.d.ts +34 -0
  44. package/dist/components/form/index.d.ts +8 -0
  45. package/dist/components/form/types.d.ts +9 -0
  46. package/dist/components/index.d.ts +20 -0
  47. package/dist/components/utils/aeria-async.d.ts +41 -0
  48. package/dist/components/utils/index.d.ts +1 -0
  49. package/dist/crud-view-0cee3962.js +31 -0
  50. package/dist/index-8ee4cf77.js +3259 -0
  51. package/dist/index.d.ts +2 -0
  52. package/dist/less/main.less +3 -0
  53. package/dist/less/polyfill.less +37 -0
  54. package/dist/less/spinner.less +47 -0
  55. package/dist/less/theme.less +10 -0
  56. package/dist/less/utilities.less +27 -0
  57. package/dist/password-change-845c176d.js +53 -0
  58. package/dist/profile-dc78782e.js +133 -0
  59. package/dist/routes.d.ts +4 -0
  60. package/dist/signin-596dcc4b.js +83 -0
  61. package/dist/signup-33a15c17.js +112 -0
  62. package/dist/style.css +1 -0
  63. package/dist/ui.js +42 -0
  64. package/dist/views/dashboard/crud-view/crud-view.vue.d.ts +21 -0
  65. package/dist/views/dashboard/user/password-change/password-change.vue.d.ts +2 -0
  66. package/dist/views/dashboard/user/profile/profile.vue.d.ts +9 -0
  67. package/dist/views/user/activation.vue.d.ts +2 -0
  68. package/dist/views/user/signin.vue.d.ts +2 -0
  69. package/dist/views/user/signup.vue.d.ts +2 -0
  70. package/package.json +52 -0
  71. package/themes/dark.less +21 -0
  72. package/themes/light.less +21 -0
  73. package/vue.d.ts +7 -0
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright 2023 João Santos (joaosan177@gmail.com)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the “Software”), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # `@aeria-ui/ui`
2
+
3
+ ## Installation
4
+
5
+ ```sh
6
+ $ npm install @aeria-ui/ui
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ TODO: provide basic documentation.
@@ -0,0 +1,83 @@
1
+ import { defineComponent as C, withAsyncContext as k, ref as $, unref as c, openBlock as p, createElementBlock as f, createVNode as r, withCtx as i, createTextVNode as _, createElementVNode as g } from "vue";
2
+ import { useStore as y } from "@aeria-ui/state-management";
3
+ import { unsafe as x } from "@aeriajs/common";
4
+ import { useRouter as S } from "vue-router";
5
+ import { A, _ as I, a as v } from "./index-8ee4cf77.js";
6
+ import "@aeria-ui/i18n";
7
+ import "@aeria-ui/web";
8
+ import "maska";
9
+ const R = {
10
+ key: 0,
11
+ style: { display: "grid", gap: "1rem" }
12
+ }, b = /* @__PURE__ */ g("h1", null, "Cadastre uma senha", -1), q = {
13
+ key: 1,
14
+ style: { display: "grid", gap: "1rem" }
15
+ }, B = /* @__PURE__ */ g("h1", null, "Conta ativada com sucesso!", -1), G = /* @__PURE__ */ C({
16
+ __name: "activation",
17
+ async setup(E) {
18
+ let s, u;
19
+ const o = S(), n = y("user"), w = y("meta"), V = o.currentRoute.value.query.step || "success", l = o.currentRoute.value.query.u, m = o.currentRoute.value.query.t, d = x(([s, u] = k(() => n.$functions.getInfo({
20
+ userId: l,
21
+ token: m
22
+ })), s = await s, u(), s)), e = $({
23
+ name: d.name,
24
+ email: d.email,
25
+ password: "",
26
+ confirmation: ""
27
+ }), h = async () => {
28
+ await n.$actions.custom(`activate?u=${l}&t=${m}`, {
29
+ password: e.value.password
30
+ }), n.credentials.email = e.value.email, await w.$actions.spawnModal({
31
+ title: "Sucesso!",
32
+ body: "Sua conta foi ativada com sucesso. Experimente fazer login com o seu email e senha."
33
+ }), o.push("/user/signin");
34
+ };
35
+ return (N, t) => c(V) === "password" ? (p(), f("div", R, [
36
+ b,
37
+ r(A, {
38
+ modelValue: e.value,
39
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => e.value = a),
40
+ form: {
41
+ name: {
42
+ type: "string",
43
+ readOnly: !0
44
+ },
45
+ email: {
46
+ type: "string",
47
+ readOnly: !0
48
+ }
49
+ }
50
+ }, null, 8, ["modelValue"]),
51
+ r(I, {
52
+ modelValue: e.value,
53
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => e.value = a)
54
+ }, {
55
+ default: i(({ passwordError: a }) => [
56
+ r(v, {
57
+ disabled: !!a,
58
+ onClick: h
59
+ }, {
60
+ default: i(() => [
61
+ _(" Cadastrar senha ")
62
+ ]),
63
+ _: 2
64
+ }, 1032, ["disabled"])
65
+ ]),
66
+ _: 1
67
+ }, 8, ["modelValue"])
68
+ ])) : (p(), f("div", q, [
69
+ B,
70
+ r(v, {
71
+ onClick: t[2] || (t[2] = (a) => c(o).push("/user/signin"))
72
+ }, {
73
+ default: i(() => [
74
+ _(" Ir para a página de login ")
75
+ ]),
76
+ _: 1
77
+ })
78
+ ]));
79
+ }
80
+ });
81
+ export {
82
+ G as default
83
+ };
@@ -0,0 +1,24 @@
1
+ type Props = {
2
+ enumerate?: boolean;
3
+ noPadding?: boolean;
4
+ headers: Record<string, string | {
5
+ title: string;
6
+ icon: string;
7
+ }>;
8
+ };
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
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
+ };
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,22 @@
1
+ type Props = {
2
+ large?: boolean;
3
+ alt?: boolean;
4
+ };
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,25 @@
1
+ type Props = {
2
+ disabled?: boolean;
3
+ };
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ click: (event: any) => void;
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
7
+ onClick?: ((event: any) => any) | undefined;
8
+ }, {}, {}>, {
9
+ default?(_: {}): any;
10
+ }>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,30 @@
1
+ import type { Icon } from '@aeriajs/types';
2
+ type Size = 'small' | 'medium' | 'large';
3
+ type Variant = 'primary' | 'alt' | 'transparent';
4
+ type Props = {
5
+ size?: Size;
6
+ variant?: Variant;
7
+ small?: boolean;
8
+ large?: boolean;
9
+ icon?: Icon;
10
+ disabled?: boolean;
11
+ loading?: boolean;
12
+ };
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
14
+ default?(_: {}): any;
15
+ }>;
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
+ };
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,25 @@
1
+ type Props = {
2
+ inactive?: boolean;
3
+ horizontal?: boolean;
4
+ };
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
6
+ default?(_: {}): any;
7
+ footer?(_: {}): any;
8
+ actions?(_: {}): any;
9
+ badge?(_: {}): any;
10
+ }>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,38 @@
1
+ type Props = {
2
+ actions?: any;
3
+ subject?: any;
4
+ overlayLayer?: number;
5
+ };
6
+ type Action = {
7
+ click: (subject: any) => void;
8
+ };
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ actionClick: (event: {
11
+ action: Action;
12
+ subject: any;
13
+ }) => void;
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
15
+ onActionClick?: ((event: {
16
+ action: Action;
17
+ subject: any;
18
+ }) => any) | undefined;
19
+ }, {}, {}>, Partial<Record<string, (_: {}) => any>> & {
20
+ default?(_: {}): any;
21
+ header?(_: {}): any;
22
+ extra?(_: {}): any;
23
+ }>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ "update:modelValue": (value: boolean) => void;
3
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
5
+ }, {}, {}>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string, (_: any) => any>>>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & {
4
+ new (): {
5
+ $slots: S;
6
+ };
7
+ };
@@ -0,0 +1,6 @@
1
+ import type { FiltersPreset } from '@aeriajs/types';
2
+ import type { CollectionStore } from '@aeria-ui/web';
3
+ export declare const togglePreset: (preset: FiltersPreset<any> | null, store: CollectionStore | undefined) => void;
4
+ export declare const watchStore: (store: CollectionStore | undefined, options?: {
5
+ persistInQuery: boolean;
6
+ }) => import("vue").WatchStopHandle;
@@ -0,0 +1,18 @@
1
+ import { type LayoutOptions } from '@aeriajs/types';
2
+ type Props = {
3
+ individualActions: any;
4
+ hasSelectionActions?: boolean;
5
+ layoutOptions: LayoutOptions;
6
+ componentName: string;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
@@ -0,0 +1,24 @@
1
+ import type { LayoutOptions } from '@aeriajs/types';
2
+ type Props = {
3
+ individualActions: any;
4
+ layoutOptions: LayoutOptions;
5
+ componentProps?: Record<string, any>;
6
+ };
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, Partial<Record<string, (_: any) => any>> & {
8
+ inner?(_: {}): any;
9
+ }>;
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
+ };
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,98 @@
1
+ import type { LayoutName } from '@aeriajs/types';
2
+ export declare const getLayout: (layoutName: LayoutName) => ({
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
+ individualActions: {
5
+ type: import("vue").PropType<any>;
6
+ required: true;
7
+ };
8
+ layoutOptions: {
9
+ type: import("vue").PropType<import("@aeriajs/types").LayoutOptions>;
10
+ required: true;
11
+ };
12
+ componentProps: {
13
+ type: import("vue").PropType<Record<string, any>>;
14
+ };
15
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
16
+ individualActions: {
17
+ type: import("vue").PropType<any>;
18
+ required: true;
19
+ };
20
+ layoutOptions: {
21
+ type: import("vue").PropType<import("@aeriajs/types").LayoutOptions>;
22
+ required: true;
23
+ };
24
+ componentProps: {
25
+ type: import("vue").PropType<Record<string, any>>;
26
+ };
27
+ }>>, {}, true, {}, {}, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
34
+ }, Readonly<import("vue").ExtractPropTypes<{
35
+ individualActions: {
36
+ type: import("vue").PropType<any>;
37
+ required: true;
38
+ };
39
+ layoutOptions: {
40
+ type: import("vue").PropType<import("@aeriajs/types").LayoutOptions>;
41
+ required: true;
42
+ };
43
+ componentProps: {
44
+ type: import("vue").PropType<Record<string, any>>;
45
+ };
46
+ }>>, {}, {}, {}, {}, {}>;
47
+ __isFragment?: undefined;
48
+ __isTeleport?: undefined;
49
+ __isSuspense?: undefined;
50
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
51
+ individualActions: {
52
+ type: import("vue").PropType<any>;
53
+ required: true;
54
+ };
55
+ layoutOptions: {
56
+ type: import("vue").PropType<import("@aeriajs/types").LayoutOptions>;
57
+ required: true;
58
+ };
59
+ componentProps: {
60
+ type: import("vue").PropType<Record<string, any>>;
61
+ };
62
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
63
+ $slots: Partial<Record<string, (_: any) => any>> & {
64
+ inner?(_: {}): any;
65
+ };
66
+ })) | import("vue").DefineComponent<{
67
+ individualActions: {
68
+ type: import("vue").PropType<any>;
69
+ required: true;
70
+ };
71
+ hasSelectionActions: {
72
+ type: import("vue").PropType<boolean>;
73
+ };
74
+ layoutOptions: {
75
+ type: import("vue").PropType<import("@aeriajs/types").LayoutOptions>;
76
+ required: true;
77
+ };
78
+ componentName: {
79
+ type: import("vue").PropType<string>;
80
+ required: true;
81
+ };
82
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
+ individualActions: {
84
+ type: import("vue").PropType<any>;
85
+ required: true;
86
+ };
87
+ hasSelectionActions: {
88
+ type: import("vue").PropType<boolean>;
89
+ };
90
+ layoutOptions: {
91
+ type: import("vue").PropType<import("@aeriajs/types").LayoutOptions>;
92
+ required: true;
93
+ };
94
+ componentName: {
95
+ type: import("vue").PropType<string>;
96
+ required: true;
97
+ };
98
+ }>>, {}, {}>;
@@ -0,0 +1,24 @@
1
+ import type { ActionEvent } from '@aeria-ui/web';
2
+ export declare const isInsertVisible: import("vue").Ref<string | boolean>;
3
+ export declare const isInsertReadonly: import("vue").Ref<boolean>;
4
+ export declare const isFilterVisible: import("vue").Ref<boolean>;
5
+ export declare const call: import("vue").Ref<(actionProps: Omit<Readonly<{
6
+ name: string;
7
+ icon?: import("@aeriajs/types").Icon | undefined;
8
+ ask?: boolean | undefined;
9
+ selection?: boolean | undefined;
10
+ effect?: string | undefined;
11
+ button?: boolean | undefined;
12
+ translate?: boolean | undefined;
13
+ setItem?: boolean | undefined;
14
+ fetchItem?: boolean | undefined;
15
+ clearItem?: boolean | undefined;
16
+ params?: Record<string, any> | undefined;
17
+ query?: Record<string, any> | undefined;
18
+ requires?: readonly import("@aeriajs/types").PropertiesWithId<any>[] | undefined;
19
+ }>, "name"> & {
20
+ action: string;
21
+ }) => (filters?: {
22
+ _id: string | string[];
23
+ } | undefined) => void>;
24
+ export declare const actionEventBus: import("vue").Ref<ActionEvent | undefined>;
@@ -0,0 +1,45 @@
1
+ import type { ActionEvent, CollectionStore } from '@aeria-ui/web';
2
+ import type { Layout } from '@aeriajs/types';
3
+ import { type Ref } from 'vue';
4
+ import { useAction } from '@aeria-ui/web';
5
+ type Props = {
6
+ collection: string;
7
+ noControls?: boolean;
8
+ noActions?: boolean;
9
+ noFetch?: boolean;
10
+ noLayoutToggle?: boolean;
11
+ layout?: Layout;
12
+ action?: Ref<ReturnType<typeof useAction>> | ReturnType<typeof useAction>;
13
+ componentProps?: Record<string, any>;
14
+ scrollPagination?: boolean;
15
+ noQueryPersistence?: boolean;
16
+ };
17
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ uiEvent: (event: ActionEvent) => void;
19
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
20
+ onUiEvent?: ((event: ActionEvent) => any) | undefined;
21
+ }, {}, {}>, Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
22
+ actions?(_: {}): any;
23
+ empty?(_: {
24
+ collection: string;
25
+ }): any;
26
+ component?(_: {
27
+ store: CollectionStore;
28
+ }): any;
29
+ tfoot?(_: {}): any;
30
+ }>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1,21 @@
1
+ type Props = {
2
+ list?: boolean;
3
+ };
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
5
+ default?(_: {}): any;
6
+ }>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,27 @@
1
+ import type { Icon } from '@aeriajs/types';
2
+ type Props = {
3
+ icon?: Icon;
4
+ size?: string;
5
+ medium?: boolean;
6
+ reactive?: boolean | null;
7
+ iconRight?: boolean;
8
+ fill?: string;
9
+ };
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
11
+ default?(_: {}): any;
12
+ }>;
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
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,22 @@
1
+ type Props = {
2
+ where?: 'top' | 'topleft' | 'left' | 'bottom' | 'right';
3
+ };
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
5
+ text?(_: {}): any;
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string, (_: {}) => any>> & {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & {
4
+ new (): {
5
+ $slots: S;
6
+ };
7
+ };
@@ -0,0 +1,19 @@
1
+ import { type Pagination } from '@aeria-ui/web';
2
+ type Props = {
3
+ pagination: Pagination;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ paginate: (value: Pick<Pagination, "offset" | "limit">) => void;
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
8
+ onPaginate?: ((value: Pick<Pagination, "offset" | "limit">) => any) | undefined;
9
+ }, {}, {}>;
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
+ };