@aeria-ui/ui 0.0.165 → 0.0.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_id_-6a6a474a.js → _id_-BfAy95FM.js} +9 -14
- package/dist/{activation-607326d7.js → activation-DX6bZU4X.js} +18 -20
- package/dist/components/aeria-accordion/aeria-accordion.vue.d.ts +9 -12
- package/dist/components/aeria-badge/aeria-badge.vue.d.ts +9 -12
- package/dist/components/aeria-bare-button/aeria-bare-button.vue.d.ts +12 -15
- package/dist/components/aeria-button/aeria-button.vue.d.ts +11 -14
- package/dist/components/aeria-card/aeria-card.vue.d.ts +12 -15
- package/dist/components/aeria-context-menu/aeria-context-menu.vue.d.ts +16 -22
- package/dist/components/aeria-crud/_internals/helpers.d.ts +2 -3
- package/dist/components/aeria-crud/_internals/layouts/aeria-grid/aeria-grid.vue.d.ts +2 -12
- package/dist/components/aeria-crud/_internals/layouts/aeria-tabular/aeria-tabular.vue.d.ts +9 -15
- package/dist/components/aeria-crud/_internals/layouts/index.d.ts +41 -85
- package/dist/components/aeria-crud/aeria-crud.vue.d.ts +13 -26
- package/dist/components/aeria-filter-panel/aeria-filter-panel.vue.d.ts +2 -2
- package/dist/components/aeria-grid/aeria-grid.vue.d.ts +9 -12
- package/dist/components/aeria-icon/aeria-icon.vue.d.ts +10 -14
- package/dist/components/aeria-info/aeria-info.vue.d.ts +12 -26
- package/dist/components/aeria-insert-panel/aeria-insert-panel.vue.d.ts +15 -33
- package/dist/components/aeria-main/aeria-main.vue.d.ts +8 -4
- package/dist/components/aeria-menu/aeria-menu.vue.d.ts +9 -3
- package/dist/components/aeria-pagination/aeria-pagination.vue.d.ts +5 -15
- package/dist/components/aeria-panel/aeria-panel.vue.d.ts +18 -33
- package/dist/components/aeria-picture/aeria-picture.vue.d.ts +11 -14
- package/dist/components/aeria-table/aeria-table.vue.d.ts +22 -26
- package/dist/components/aeria-tabs/aeria-tabs.vue.d.ts +4 -14
- package/dist/components/dashboard/aeria-crud-topbar/aeria-crud-topbar.vue.d.ts +1 -10
- package/dist/components/dashboard/aeria-password-form/aeria-password-form.vue.d.ts +14 -17
- package/dist/components/dashboard/aeria-prompt/aeria-prompt.vue.d.ts +10 -14
- package/dist/components/dashboard/aeria-toast/aeria-toast.vue.d.ts +10 -14
- package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +16 -26
- package/dist/components/form/aeria-file/_internals/components/aeria-file-item.vue.d.ts +9 -13
- package/dist/components/form/aeria-file/aeria-file.vue.d.ts +14 -22
- package/dist/components/form/aeria-form/_internals/helpers.d.ts +2 -3
- package/dist/components/form/aeria-form/aeria-form.vue.d.ts +27 -47
- package/dist/components/form/aeria-input/aeria-input.vue.d.ts +18 -22
- package/dist/components/form/aeria-options/aeria-options.vue.d.ts +7 -29
- package/dist/components/form/aeria-search/_internals/components/aeria-search-container/aeria-search-container.vue.d.ts +17 -16
- package/dist/components/form/aeria-search/_internals/components/aeria-search-item/aeria-search-item.vue.d.ts +14 -18
- package/dist/components/form/aeria-search/aeria-search.vue.d.ts +3 -25
- package/dist/components/form/aeria-select/aeria-select.vue.d.ts +18 -18
- package/dist/components/form/aeria-switch/aeria-switch.vue.d.ts +8 -18
- package/dist/components/form/types.d.ts +1 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/{index-c1fe845f.js → index-665GkH7U.js} +21 -25
- package/dist/index-B-JkWyqC.js +25 -0
- package/dist/{index-e44e0d65.js → index-CDZJZN6Y.js} +1090 -1124
- package/dist/{index-fff7b0bf.js → index-DSnK-CVK.js} +15 -18
- package/dist/{redefine-password-7da87326.js → redefine-password-BIjWzwY2.js} +8 -10
- package/dist/routes.d.ts +1 -2
- package/dist/{signin-48dbde5b.js → signin-D_X69D2H.js} +20 -24
- package/dist/{signup-f515ae6f.js → signup-L39DCd6m.js} +17 -21
- package/dist/{style.css → ui.css} +1 -1
- package/dist/ui.js +35 -42
- package/dist/views/dashboard/[collection]/[id].vue.d.ts +1 -10
- package/dist/views/dashboard/[collection]/index.vue.d.ts +9 -12
- package/dist/views/dashboard/user/profile/index.vue.d.ts +8 -2
- package/package.json +12 -12
- package/dist/index-6373dce6.js +0 -31
|
@@ -1,41 +1,19 @@
|
|
|
1
1
|
import { FormFieldProps, SearchProperty } from '../types.js';
|
|
2
|
-
|
|
3
2
|
type Props = Omit<FormFieldProps<any>, 'property' | 'propertyName'> & {
|
|
4
3
|
property: SearchProperty;
|
|
5
4
|
propertyName: string;
|
|
6
5
|
selectOnly?: boolean;
|
|
7
6
|
panel?: unknown;
|
|
8
7
|
};
|
|
9
|
-
declare const _default: import('vue').DefineComponent<import('vue').
|
|
10
|
-
panel: undefined;
|
|
11
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
9
|
change: (event: unknown) => void;
|
|
13
10
|
"update:modelValue": (event: unknown) => void;
|
|
14
11
|
"update:panel": (event: boolean) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
16
|
-
panel: undefined;
|
|
17
|
-
}>>> & Readonly<{
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
18
13
|
onChange?: ((event: unknown) => any) | undefined;
|
|
19
14
|
"onUpdate:modelValue"?: ((event: unknown) => any) | undefined;
|
|
20
15
|
"onUpdate:panel"?: ((event: boolean) => any) | undefined;
|
|
21
16
|
}>, {
|
|
22
17
|
panel: undefined;
|
|
23
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
19
|
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_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Property, EnumProperty, BooleanProperty } from '
|
|
1
|
+
import { Property, EnumProperty, BooleanProperty } from '../../../../../../node_modules/@aeriajs/types';
|
|
2
2
|
import { FormFieldProps } from '../types.js';
|
|
3
|
-
|
|
4
3
|
type Props = FormFieldProps<any, Property & (EnumProperty | BooleanProperty)> & {
|
|
5
4
|
booleanRef?: boolean;
|
|
6
5
|
multiple?: boolean | number;
|
|
7
6
|
noOutline?: boolean;
|
|
8
7
|
};
|
|
9
8
|
declare function __VLS_template(): {
|
|
10
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
select: HTMLSelectElement;
|
|
15
|
+
};
|
|
16
|
+
rootEl: any;
|
|
11
17
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
|
+
change: (value: unknown) => any;
|
|
21
|
+
"update:modelValue": (value: unknown) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
16
23
|
onChange?: ((value: unknown) => any) | undefined;
|
|
17
24
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
19
|
-
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
select: HTMLSelectElement;
|
|
27
|
+
}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
29
|
export default _default;
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
31
|
new (): {
|
|
32
32
|
$slots: S;
|
|
@@ -1,33 +1,23 @@
|
|
|
1
|
-
import { BooleanProperty } from '
|
|
1
|
+
import { BooleanProperty } from '../../../../../../node_modules/@aeriajs/types';
|
|
2
2
|
import { FormFieldProps } from '../types.js';
|
|
3
|
-
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormFieldProps<any, (import('@aeriajs/types').PropertyBase & BooleanProperty) | (import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty & BooleanProperty) | (import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<FormFieldProps<any, (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').RefProperty & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & Omit<import('../../../../../../node_modules/@aeriajs/types').RefProperty, "$ref"> & {
|
|
5
4
|
$ref: "file";
|
|
6
5
|
accept?: readonly string[];
|
|
7
6
|
extensions?: readonly string[];
|
|
8
|
-
} & BooleanProperty) | (import('
|
|
9
|
-
change: (value: boolean) =>
|
|
10
|
-
"update:modelValue": (value: boolean) =>
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
7
|
+
} & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').EnumProperty & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').GetterProperty & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').ConstProperty & BooleanProperty)>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
change: (value: boolean) => any;
|
|
9
|
+
"update:modelValue": (value: boolean) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<FormFieldProps<any, (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').RefProperty & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & Omit<import('../../../../../../node_modules/@aeriajs/types').RefProperty, "$ref"> & {
|
|
12
11
|
$ref: "file";
|
|
13
12
|
accept?: readonly string[];
|
|
14
13
|
extensions?: readonly string[];
|
|
15
|
-
} & BooleanProperty) | (import('
|
|
14
|
+
} & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').EnumProperty & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').GetterProperty & BooleanProperty) | (import('../../../../../../node_modules/@aeriajs/types').PropertyBase & import('../../../../../../node_modules/@aeriajs/types').ConstProperty & BooleanProperty)>> & Readonly<{
|
|
16
15
|
onChange?: ((value: boolean) => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
19
18
|
default?(_: {}): any;
|
|
20
19
|
}>;
|
|
21
20
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
22
|
new (): {
|
|
33
23
|
$slots: S;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Property, RefProperty, ArrayProperty } from '
|
|
2
|
-
|
|
1
|
+
import { Property, RefProperty, ArrayProperty } from '../../../../../node_modules/@aeriajs/types';
|
|
3
2
|
export type FormFieldProps<TModelValue, TProperty = Property> = {
|
|
4
3
|
modelValue?: TModelValue;
|
|
5
4
|
property?: TProperty;
|
|
@@ -17,7 +17,6 @@ import { default as AeriaPanel } from './aeria-panel/aeria-panel.vue';
|
|
|
17
17
|
import { default as AeriaPicture } from './aeria-picture/aeria-picture.vue';
|
|
18
18
|
import { default as AeriaTable } from './aeria-table/aeria-table.vue';
|
|
19
19
|
import { default as AeriaTabs } from './aeria-tabs/aeria-tabs.vue';
|
|
20
|
-
|
|
21
20
|
export { AeriaAccordion, AeriaBadge, AeriaBareButton, AeriaButton, AeriaCard, AeriaContextMenu, AeriaCrud, AeriaGrid, AeriaFilterPanel, AeriaIcon, AeriaInfo, AeriaInsertPanel, AeriaMain, AeriaMenu, AeriaPagination, AeriaPanel, AeriaPicture, AeriaTable, AeriaTabs, };
|
|
22
21
|
export * from './form/index.js';
|
|
23
22
|
export * from './utils/index.js';
|
|
@@ -1,41 +1,38 @@
|
|
|
1
|
-
import { defineComponent as k, ref as h, resolveDirective as A,
|
|
1
|
+
import { defineComponent as k, ref as h, resolveDirective as A, createElementBlock as V, openBlock as d, Fragment as C, createVNode as n, renderSlot as w, createCommentVNode as I, mergeProps as v, unref as i, withCtx as r, createElementVNode as N, toDisplayString as u, withDirectives as m, createBlock as f, createTextVNode as c } from "vue";
|
|
2
2
|
import { useRouter as P } from "vue-router";
|
|
3
3
|
import { useStore as y } from "@aeria-ui/state-management";
|
|
4
|
-
import { STORAGE_NAMESPACE as
|
|
5
|
-
import { g as E, h as z, b as p, i as O,
|
|
6
|
-
|
|
7
|
-
import "@aeriajs/common";
|
|
8
|
-
import "@aeria-ui/utils";
|
|
9
|
-
const U = { class: "profile__user-name" }, D = /* @__PURE__ */ k({
|
|
4
|
+
import { STORAGE_NAMESPACE as S } from "@aeria-ui/core";
|
|
5
|
+
import { g as E, h as z, b as p, i as O, A as B, a as M, _ as U } from "./index-CDZJZN6Y.js";
|
|
6
|
+
const D = { class: "profile__user-name" }, F = /* @__PURE__ */ k({
|
|
10
7
|
__name: "index",
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
8
|
+
setup(j) {
|
|
9
|
+
const g = P(), e = y("user"), _ = y("meta"), s = h(!1);
|
|
13
10
|
e.$actions.setItem(e.currentUser);
|
|
14
|
-
const
|
|
11
|
+
const $ = async () => {
|
|
15
12
|
const { error: o } = await e.$actions.custom(
|
|
16
13
|
"editProfile",
|
|
17
14
|
e.diffedItem
|
|
18
15
|
);
|
|
19
16
|
if (o) {
|
|
20
|
-
|
|
17
|
+
_.$actions.spawnModal({
|
|
21
18
|
title: `Error! ${o.httpStatus}`,
|
|
22
19
|
body: o.code
|
|
23
20
|
});
|
|
24
21
|
return;
|
|
25
22
|
}
|
|
26
23
|
if (typeof localStorage < "u") {
|
|
27
|
-
const t = localStorage.getItem(`${
|
|
24
|
+
const t = localStorage.getItem(`${S}:auth`);
|
|
28
25
|
if (t) {
|
|
29
26
|
const a = JSON.parse(t);
|
|
30
|
-
a.user = e.item, localStorage.setItem(`${
|
|
27
|
+
a.user = e.item, localStorage.setItem(`${S}:auth`, JSON.stringify(a));
|
|
31
28
|
}
|
|
32
29
|
}
|
|
33
|
-
|
|
30
|
+
_.$actions.spawnModal({
|
|
34
31
|
title: "Feito!",
|
|
35
32
|
body: "Suas informações foram salvas"
|
|
36
33
|
}), s.value = !1;
|
|
37
|
-
},
|
|
38
|
-
e.$actions.signout(),
|
|
34
|
+
}, b = async () => {
|
|
35
|
+
e.$actions.signout(), g.push("/user/signin");
|
|
39
36
|
};
|
|
40
37
|
return (o, t) => {
|
|
41
38
|
const a = A("clickable");
|
|
@@ -49,11 +46,11 @@ const U = { class: "profile__user-name" }, D = /* @__PURE__ */ k({
|
|
|
49
46
|
style: { display: "flex", "flex-direction": "column", "align-items": "center" }
|
|
50
47
|
}), {
|
|
51
48
|
caption: r(() => [
|
|
52
|
-
|
|
49
|
+
N("div", D, u(i(e).item.name), 1)
|
|
53
50
|
]),
|
|
54
51
|
_: 1
|
|
55
52
|
}, 16, ["file-id"]),
|
|
56
|
-
o.$slots["user-profile"] ?
|
|
53
|
+
o.$slots["user-profile"] ? w(o.$slots, "user-profile", { key: 0 }, void 0, !0) : I("", !0),
|
|
57
54
|
n(z, null, {
|
|
58
55
|
"edit-profile": r(() => [
|
|
59
56
|
m((d(), f(p, {
|
|
@@ -71,7 +68,7 @@ const U = { class: "profile__user-name" }, D = /* @__PURE__ */ k({
|
|
|
71
68
|
"change-password": r(() => [
|
|
72
69
|
m((d(), f(p, {
|
|
73
70
|
icon: "key",
|
|
74
|
-
onClick: t[1] || (t[1] = (l) => i(
|
|
71
|
+
onClick: t[1] || (t[1] = (l) => i(g).push("/dashboard/user/changepass"))
|
|
75
72
|
}, {
|
|
76
73
|
default: r(() => [
|
|
77
74
|
c(u(o.t("change_password", { capitalize: !0 })), 1)
|
|
@@ -84,7 +81,7 @@ const U = { class: "profile__user-name" }, D = /* @__PURE__ */ k({
|
|
|
84
81
|
signout: r(() => [
|
|
85
82
|
m((d(), f(p, {
|
|
86
83
|
icon: "sign-out",
|
|
87
|
-
onClick:
|
|
84
|
+
onClick: b
|
|
88
85
|
}, {
|
|
89
86
|
default: r(() => [
|
|
90
87
|
c(u(o.t("signout", { capitalize: !0 })), 1)
|
|
@@ -105,11 +102,11 @@ const U = { class: "profile__user-name" }, D = /* @__PURE__ */ k({
|
|
|
105
102
|
onOverlayClick: t[4] || (t[4] = (l) => s.value = !1)
|
|
106
103
|
}, {
|
|
107
104
|
footer: r(() => [
|
|
108
|
-
n(
|
|
105
|
+
n(M, {
|
|
109
106
|
large: "",
|
|
110
107
|
disabled: !i(e).diffedItem._id,
|
|
111
108
|
loading: i(e).loading.insert,
|
|
112
|
-
onClick:
|
|
109
|
+
onClick: $
|
|
113
110
|
}, {
|
|
114
111
|
default: r(() => [
|
|
115
112
|
c(u(o.t("action.save", { capitalize: !0 })), 1)
|
|
@@ -137,8 +134,7 @@ const U = { class: "profile__user-name" }, D = /* @__PURE__ */ k({
|
|
|
137
134
|
], 64);
|
|
138
135
|
};
|
|
139
136
|
}
|
|
140
|
-
});
|
|
141
|
-
const K = /* @__PURE__ */ M(D, [["__scopeId", "data-v-368b73ef"]]);
|
|
137
|
+
}), G = /* @__PURE__ */ U(F, [["__scopeId", "data-v-368b73ef"]]);
|
|
142
138
|
export {
|
|
143
|
-
|
|
139
|
+
G as default
|
|
144
140
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as o, createBlock as t, createCommentVNode as r, openBlock as n, createSlots as c, withCtx as l, renderSlot as i } from "vue";
|
|
2
|
+
import { e as m } from "./index-CDZJZN6Y.js";
|
|
3
|
+
const u = /* @__PURE__ */ o({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
collection: {}
|
|
7
|
+
},
|
|
8
|
+
setup(p) {
|
|
9
|
+
return (e, s) => e.collection ? (n(), t(m, {
|
|
10
|
+
key: e.collection,
|
|
11
|
+
collection: e.collection
|
|
12
|
+
}, c({ _: 2 }, [
|
|
13
|
+
e.$slots["crud-empty"] ? {
|
|
14
|
+
name: "empty",
|
|
15
|
+
fn: l(() => [
|
|
16
|
+
i(e.$slots, "crud-empty")
|
|
17
|
+
]),
|
|
18
|
+
key: "0"
|
|
19
|
+
} : void 0
|
|
20
|
+
]), 1032, ["collection"])) : r("", !0);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
u as default
|
|
25
|
+
};
|