@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
@@ -0,0 +1,2 @@
1
+ export * from './components/index.js';
2
+ export * from './routes.js';
@@ -0,0 +1,3 @@
1
+ @import 'polyfill';
2
+ @import 'utilities';
3
+ @import 'spinner';
@@ -0,0 +1,37 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ -webkit-tap-highlight-color: transparent;
4
+ }
5
+
6
+ html {
7
+ overflow: hidden scroll;
8
+ scroll-behavior: smooth;
9
+ }
10
+
11
+ html, body {
12
+ padding: 0;
13
+ margin: 0;
14
+ }
15
+
16
+ body {
17
+ font-size: 15px;
18
+ }
19
+
20
+ *::-webkit-scrollbar {
21
+ width: 0;
22
+ }
23
+
24
+ a:link, a:visited, a:hover, a:active {
25
+ color: inherit;
26
+ text-decoration: none;
27
+ }
28
+
29
+ input[type="number"] {
30
+ appearance: textfield;
31
+ }
32
+
33
+ @media print {
34
+ .no-print {
35
+ display: none !important;
36
+ }
37
+ }
@@ -0,0 +1,47 @@
1
+ .loading {
2
+ div {
3
+ border: 4px solid var(--theme-brand-color) !important;
4
+ }
5
+ }
6
+
7
+ @keyframes lds-ripple {
8
+ 0% {
9
+ top: 36px;
10
+ left: 36px;
11
+ width: 0;
12
+ height: 0;
13
+ opacity: 0;
14
+ }
15
+
16
+ 5% {
17
+ opacity: 1;
18
+ }
19
+
20
+ 100% {
21
+ top: 0;
22
+ left: 0;
23
+ width: 72px;
24
+ height: 72px;
25
+ opacity: 0;
26
+ }
27
+ }
28
+
29
+ .loading {
30
+ position: relative;
31
+ display: inline-block;
32
+ width: 80px;
33
+ height: 80px;
34
+
35
+ div {
36
+ position: absolute;
37
+ border: 4px solid #fff;
38
+ border-radius: 50%;
39
+ animation: lds-ripple 1s cubic-bezier(0, .2, .8, 1) infinite;
40
+ opacity: 1;
41
+ }
42
+
43
+ div:nth-child(2) {
44
+ animation-delay: -.5s;
45
+ }
46
+ }
47
+
@@ -0,0 +1,10 @@
1
+ .theme-defaults() {
2
+ --theme-frame-color: none;
3
+ --theme-input-padding: .8rem;
4
+ --theme-input-padding-large: .9rem 2.4rem;
5
+ --theme-input-height: 2.9rem;
6
+ --theme-input-height-large: 3.2rem;
7
+ --theme-radius-medium: 0;
8
+ --theme-radius-large: 4px;
9
+ --theme-radius-extra-large: 16px;
10
+ }
@@ -0,0 +1,27 @@
1
+ .aeria-surface {
2
+ background: var(--theme-background-color);
3
+ color: var(--theme-foreground-color);
4
+ }
5
+
6
+ .aeria-surface-alt {
7
+ background: var(--theme-background-color-shade-2);
8
+ color: var(--theme-foreground-color);
9
+ }
10
+
11
+ .aeria-body {
12
+ background: var(--theme-body-background);
13
+ }
14
+
15
+ .aeria-branded-text {
16
+ color: var(--theme-brand-color);
17
+ }
18
+
19
+ .aeria-redish {
20
+ color: var(--theme-redish);
21
+ fill: var(--theme-redish);
22
+ }
23
+
24
+ .aeria-blueish {
25
+ color: var(--theme-blueish);
26
+ fill: var(--theme-blueish);
27
+ }
@@ -0,0 +1,53 @@
1
+ import { defineComponent as m, ref as p, openBlock as u, createBlock as c, withCtx as a, createVNode as s, withModifiers as _, createTextVNode as f } from "vue";
2
+ import { useRouter as w } from "vue-router";
3
+ import { useStore as i } from "@aeria-ui/state-management";
4
+ import { g as h, _ as v, a as b } from "./index-8ee4cf77.js";
5
+ import "@aeria-ui/i18n";
6
+ import "@aeria-ui/web";
7
+ import "@aeriajs/common";
8
+ import "maska";
9
+ const M = /* @__PURE__ */ m({
10
+ __name: "password-change",
11
+ setup(x) {
12
+ const n = w(), o = i("user"), d = i("meta"), e = p({
13
+ password: "",
14
+ confirmation: ""
15
+ }), l = async () => {
16
+ await o.$actions.insert({
17
+ what: {
18
+ _id: o.item._id,
19
+ password: e.value.password
20
+ }
21
+ }), await d.$actions.spawnModal({
22
+ title: "Feito!",
23
+ body: "A senha foi atualizada"
24
+ }), n.back();
25
+ };
26
+ return (V, r) => (u(), c(h, { style: { "max-width": "40rem" } }, {
27
+ default: a(() => [
28
+ s(v, {
29
+ modelValue: e.value,
30
+ "onUpdate:modelValue": r[0] || (r[0] = (t) => e.value = t)
31
+ }, {
32
+ default: a(({ passwordError: t }) => [
33
+ s(b, {
34
+ class: "passchange__save-button",
35
+ disabled: !!t,
36
+ onClick: _(l, ["prevent"])
37
+ }, {
38
+ default: a(() => [
39
+ f(" Salvar ")
40
+ ]),
41
+ _: 2
42
+ }, 1032, ["disabled"])
43
+ ]),
44
+ _: 1
45
+ }, 8, ["modelValue"])
46
+ ]),
47
+ _: 1
48
+ }));
49
+ }
50
+ });
51
+ export {
52
+ M as default
53
+ };
@@ -0,0 +1,133 @@
1
+ import { defineComponent as $, ref as k, resolveDirective as h, openBlock as n, createElementBlock as A, Fragment as V, createVNode as s, mergeProps as f, unref as o, withCtx as i, createElementVNode as w, toDisplayString as C, renderSlot as b, createCommentVNode as E, withDirectives as c, createBlock as d, createTextVNode as u } from "vue";
2
+ import { useRouter as N } from "vue-router";
3
+ import { useStore as _ } from "@aeria-ui/state-management";
4
+ import { STORAGE_NAMESPACE as g } from "@aeria-ui/web";
5
+ import { e as P, f as x, b as p, g as I, a as O, A as B, h as M } from "./index-8ee4cf77.js";
6
+ import "@aeria-ui/i18n";
7
+ import "@aeriajs/common";
8
+ import "maska";
9
+ const D = { class: "profile__user-name" }, F = /* @__PURE__ */ $({
10
+ __name: "profile",
11
+ setup(U) {
12
+ const e = _("user"), v = _("meta"), l = k(!1);
13
+ e.$actions.setItem(e.currentUser);
14
+ const y = async () => {
15
+ await e.$actions.insert({
16
+ what: e.item
17
+ });
18
+ const r = localStorage.getItem(`${g}:auth`);
19
+ if (r) {
20
+ const t = JSON.parse(r);
21
+ t.user = e.item, localStorage.setItem(`${g}:auth`, JSON.stringify(t));
22
+ }
23
+ await v.$actions.spawnModal({
24
+ title: "Feito!",
25
+ body: "Suas informações foram salvas"
26
+ }), l.value = !1;
27
+ }, S = async () => {
28
+ await e.$actions.signout(), N().push("/user/signin");
29
+ };
30
+ return (r, t) => {
31
+ const m = h("clickable");
32
+ return n(), A(V, null, [
33
+ s(P, f({
34
+ width: "14rem",
35
+ height: "14rem"
36
+ }, {
37
+ bordered: "",
38
+ "file-id": o(e).item.picture_file && typeof o(e).item.picture_file == "object" ? o(e).item.picture_file._id : o(e).item.picture_file,
39
+ style: { display: "flex", "flex-direction": "column", "align-items": "center" }
40
+ }), {
41
+ caption: i(() => [
42
+ w("div", D, C(o(e).item.name), 1)
43
+ ]),
44
+ _: 1
45
+ }, 16, ["file-id"]),
46
+ r.$slots["user-profile"] ? b(r.$slots, "user-profile", { key: 0 }, void 0, !0) : E("", !0),
47
+ s(x, null, {
48
+ "edit-profile": i(() => [
49
+ c((n(), d(p, {
50
+ icon: "pencil",
51
+ onClick: t[0] || (t[0] = (a) => l.value = !0)
52
+ }, {
53
+ default: i(() => [
54
+ u(" Editar perfil ")
55
+ ]),
56
+ _: 1
57
+ })), [
58
+ [m]
59
+ ])
60
+ ]),
61
+ "change-password": i(() => [
62
+ c((n(), d(p, {
63
+ icon: "key",
64
+ onClick: t[1] || (t[1] = (a) => r.$router.push("/dashboard/user/changepass"))
65
+ }, {
66
+ default: i(() => [
67
+ u(" Mudar senha ")
68
+ ]),
69
+ _: 1
70
+ })), [
71
+ [m]
72
+ ])
73
+ ]),
74
+ signout: i(() => [
75
+ c((n(), d(p, {
76
+ icon: "sign-out",
77
+ onClick: S
78
+ }, {
79
+ default: i(() => [
80
+ u(" Sair ")
81
+ ]),
82
+ _: 1
83
+ })), [
84
+ [m]
85
+ ])
86
+ ]),
87
+ _: 1
88
+ }),
89
+ s(I, {
90
+ modelValue: l.value,
91
+ "onUpdate:modelValue": t[3] || (t[3] = (a) => l.value = a),
92
+ float: "",
93
+ "close-hint": "",
94
+ title: "Editar perfil",
95
+ onOverlayClick: t[4] || (t[4] = (a) => l.value = !1)
96
+ }, {
97
+ footer: i(() => [
98
+ s(O, {
99
+ large: "",
100
+ loading: o(e).loading.insert,
101
+ onClick: y
102
+ }, {
103
+ default: i(() => [
104
+ u(" Salvar ")
105
+ ]),
106
+ _: 1
107
+ }, 8, ["loading"])
108
+ ]),
109
+ default: i(() => [
110
+ s(B, f({
111
+ modelValue: o(e).item,
112
+ "onUpdate:modelValue": t[2] || (t[2] = (a) => o(e).item = a)
113
+ }, {
114
+ collection: "user",
115
+ form: o(e).$actions.useProperties([
116
+ "name",
117
+ "email",
118
+ "phone",
119
+ "picture_file"
120
+ ]),
121
+ layout: o(e).formLayout
122
+ }), null, 16, ["modelValue"])
123
+ ]),
124
+ _: 1
125
+ }, 8, ["modelValue"])
126
+ ], 64);
127
+ };
128
+ }
129
+ });
130
+ const H = /* @__PURE__ */ M(F, [["__scopeId", "data-v-0045e73e"]]);
131
+ export {
132
+ H as default
133
+ };
@@ -0,0 +1,4 @@
1
+ import type { Component } from 'vue';
2
+ import type { RouteRecordRaw } from 'vue-router';
3
+ export declare const userRoutes: (component: Component | (() => Promise<Component>), children?: RouteRecordRaw[]) => RouteRecordRaw;
4
+ export declare const dashboardRoutes: (component: Component | (() => Promise<Component>), children?: RouteRecordRaw[]) => RouteRecordRaw;
@@ -0,0 +1,83 @@
1
+ import { defineComponent as k, resolveDirective as V, openBlock as o, createElementBlock as r, Fragment as v, createElementVNode as c, createCommentVNode as s, withDirectives as C, unref as e, createTextVNode as l, createVNode as p, withCtx as g, createBlock as T, toDisplayString as b } from "vue";
2
+ import { STORAGE_NAMESPACE as x } from "@aeria-ui/web";
3
+ import { useStore as f } from "@aeria-ui/state-management";
4
+ import { useRouter as w } from "vue-router";
5
+ import { isRight as E } from "@aeriajs/common";
6
+ import { A as S, a as _ } from "./index-8ee4cf77.js";
7
+ import "@aeria-ui/i18n";
8
+ import "maska";
9
+ const A = { style: { "text-align": "center" } }, N = ["innerHTML"], B = { key: 1 }, L = /* @__PURE__ */ c("span", null, "Não possui uma conta?", -1), R = { style: { width: "100%", display: "flex", "flex-direction": "column", gap: "1rem" } }, I = /* @__PURE__ */ k({
10
+ __name: "signin",
11
+ setup(D) {
12
+ const a = w(), t = f("user"), d = f("meta"), u = () => {
13
+ const { next: n } = a.currentRoute.value.query;
14
+ a.push(n && localStorage.getItem(`${x}:auth:next`) === n ? n : "/dashboard/");
15
+ }, h = async () => {
16
+ const n = await t.$actions.authenticate(t.credentials);
17
+ E(n) && u();
18
+ };
19
+ return (n, i) => {
20
+ const y = V("clickable");
21
+ return o(), r(v, null, [
22
+ c("div", A, [
23
+ n.instanceVars.signinText ? (o(), r("h1", {
24
+ key: 0,
25
+ style: { "font-size": "2.4rem", "margin-bottom": ".8rem" },
26
+ innerHTML: n.instanceVars.signinText
27
+ }, null, 8, N)) : s("", !0),
28
+ n.instanceVars.signupForm ? (o(), r("div", B, [
29
+ L,
30
+ C((o(), r("span", {
31
+ style: { color: "#2d96fa" },
32
+ onClick: i[0] || (i[0] = (m) => e(a).push("/user/signup"))
33
+ }, [
34
+ l(" Criar uma conta ")
35
+ ])), [
36
+ [y]
37
+ ])
38
+ ])) : s("", !0)
39
+ ]),
40
+ p(S, {
41
+ modelValue: e(t).credentials,
42
+ "onUpdate:modelValue": i[1] || (i[1] = (m) => e(t).credentials = m),
43
+ form: {
44
+ email: {
45
+ type: "string",
46
+ icon: "user"
47
+ },
48
+ password: {
49
+ type: "string",
50
+ icon: "lock",
51
+ inputType: "password"
52
+ }
53
+ }
54
+ }, null, 8, ["modelValue"]),
55
+ c("div", R, [
56
+ p(_, {
57
+ loading: e(t).loading.authenticate,
58
+ disabled: !e(t).credentials.email || !e(t).credentials.password,
59
+ onClick: h
60
+ }, {
61
+ default: g(() => [
62
+ l(" Entrar ")
63
+ ]),
64
+ _: 1
65
+ }, 8, ["loading", "disabled"]),
66
+ e(t).currentUser._id && !e(d).isLoading ? (o(), T(_, {
67
+ key: 0,
68
+ disabled: e(t).loading.authenticate || e(d).isLoading,
69
+ onClick: u
70
+ }, {
71
+ default: g(() => [
72
+ l(" Continuar como " + b(e(t).currentUser.name), 1)
73
+ ]),
74
+ _: 1
75
+ }, 8, ["disabled"])) : s("", !0)
76
+ ])
77
+ ], 64);
78
+ };
79
+ }
80
+ });
81
+ export {
82
+ I as default
83
+ };
@@ -0,0 +1,112 @@
1
+ import { defineComponent as h, withAsyncContext as x, ref as c, resolveDirective as y, openBlock as v, createElementBlock as C, Fragment as A, createElementVNode as m, withDirectives as $, createBlock as E, unref as _, withCtx as t, createTextVNode as d, createVNode as s, mergeProps as B, withModifiers as U } from "vue";
2
+ import { useRouter as D } from "vue-router";
3
+ import { useStore as V } from "@aeria-ui/state-management";
4
+ import { isLeft as M, unwrapEither as N } from "@aeriajs/common";
5
+ import { b as S, A as q, _ as F, c as P, a as I } from "./index-8ee4cf77.js";
6
+ import "@aeria-ui/i18n";
7
+ import "@aeria-ui/web";
8
+ import "maska";
9
+ const L = /* @__PURE__ */ m("h1", null, "Criar conta", -1), R = { style: { display: "flex", "flex-direction": "column", "align-items": "start", gap: "2rem" } }, W = /* @__PURE__ */ h({
10
+ __name: "signup",
11
+ async setup(T) {
12
+ let p, f;
13
+ const w = D(), i = V("user"), r = V("meta");
14
+ r.descriptions.user || ([p, f] = x(() => r.$actions.describe({
15
+ collections: ["user"],
16
+ roles: !0
17
+ })), await p, f());
18
+ const n = c(!1), l = c({}), a = c({
19
+ password: "",
20
+ confirmation: ""
21
+ }), b = async () => {
22
+ i.item.password = a.value.password;
23
+ const u = await i.$functions.createAccount({
24
+ ...l.value,
25
+ password: a.value.password
26
+ });
27
+ if (M(u)) {
28
+ const e = N(u);
29
+ await r.$actions.spawnModal({
30
+ title: "Erro",
31
+ body: e
32
+ });
33
+ return;
34
+ }
35
+ await r.$actions.spawnModal({
36
+ title: "Conta registrada",
37
+ body: "Verifique o link de confirmação no seu email"
38
+ }), w.push({
39
+ path: "/user/signin"
40
+ });
41
+ };
42
+ return (u, e) => {
43
+ const k = y("clickable");
44
+ return v(), C(A, null, [
45
+ m("div", null, [
46
+ L,
47
+ $((v(), E(S, {
48
+ icon: "arrow-left",
49
+ onClick: e[0] || (e[0] = (o) => _(w).push({ path: "/user/signin" }))
50
+ }, {
51
+ default: t(() => [
52
+ d(" Efetuar login ")
53
+ ]),
54
+ _: 1
55
+ })), [
56
+ [k]
57
+ ])
58
+ ]),
59
+ s(q, B({
60
+ modelValue: l.value,
61
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => l.value = o)
62
+ }, {
63
+ collection: "user",
64
+ form: _(i).$actions.useProperties([
65
+ "name",
66
+ "email",
67
+ "phone"
68
+ ])
69
+ }), {
70
+ after: t(() => [
71
+ s(F, {
72
+ modelValue: a.value,
73
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => a.value = o)
74
+ }, {
75
+ default: t(({ passwordError: o }) => [
76
+ m("div", R, [
77
+ s(P, {
78
+ modelValue: n.value,
79
+ "onUpdate:modelValue": e[1] || (e[1] = (g) => n.value = g),
80
+ property: {
81
+ type: "boolean",
82
+ element: "checkbox"
83
+ }
84
+ }, {
85
+ default: t(() => [
86
+ d(" Declaro que li e aceito os termos de uso ")
87
+ ]),
88
+ _: 1
89
+ }, 8, ["modelValue"])
90
+ ]),
91
+ s(I, {
92
+ disabled: !!o || !n.value,
93
+ onClick: U(b, ["prevent"])
94
+ }, {
95
+ default: t(() => [
96
+ d(" Criar conta ")
97
+ ]),
98
+ _: 2
99
+ }, 1032, ["disabled"])
100
+ ]),
101
+ _: 1
102
+ }, 8, ["modelValue"])
103
+ ]),
104
+ _: 1
105
+ }, 16, ["modelValue"])
106
+ ], 64);
107
+ };
108
+ }
109
+ });
110
+ export {
111
+ W as default
112
+ };
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .accordion[data-v-3ea933d4]{overflow:hidden;border:var(--theme-frame-border);border-radius:var(--theme-radius-large);background:var(--theme-background-color-shade-4);color:var(--theme-foreground-color)}.accordion__slot[data-v-3ea933d4]:not(:last-child){border-bottom:1px solid var(--theme-border-color)}.accordion__header[data-v-3ea933d4]{padding:1rem;background:var(--theme-background-color-shade-2)}.accordion--padded .accordion__content[data-v-3ea933d4]{padding:1rem}.badge[data-v-47f92648]{display:grid;min-width:1rem;height:1rem;box-sizing:content-box;padding:.2rem .35rem;border-radius:20px;background:var(--theme-brand-color-shade-3);color:var(--theme-brand-color-contrast);font-size:8.5pt;font-weight:500;place-items:center}.badge--alt[data-v-47f92648]{background:var(--theme-brand-color-shade-2)}.badge--large[data-v-47f92648]{padding:.35rem .55rem;border-radius:6px}.barebutton[data-v-35bc81ae]{display:flex;border:none;background:transparent;column-gap:.2rem;outline:none;place-items:center;-webkit-user-select:none;user-select:none}.barebutton[data-v-35bc81ae]:active{text-decoration:underline}.barebutton[data-v-35bc81ae]:not(.button){padding:0}@media screen and (width >= 600px){.barebutton--enabled[data-v-35bc81ae]{cursor:pointer}}.barebutton--disabled[data-v-35bc81ae]{cursor:not-allowed;opacity:.5}.icon[data-v-4b763bd3]{display:flex;align-items:center;fill:var(--icon-color, var(--theme-foreground-color));line-height:100%}.icon svg[data-v-4b763bd3]{width:100%;height:100%}.icon--reactive[data-v-4b763bd3]{padding:8px;border-radius:5px}.icon--reactive[data-v-4b763bd3]:hover{opacity:.8}.icon--reactive[data-v-4b763bd3]:active{opacity:.6}.icon--centered[data-v-4b763bd3]{align-items:center;gap:calc(var(--icon-size, 1em)/2)}.icon--standalone[data-v-4b763bd3]{--icon-size: 18px}.icon__icon[data-v-4b763bd3]{display:grid;width:var(--icon-size, 1em);height:var(--icon-size, 1em);place-items:center}.icon__icon--right[data-v-4b763bd3]{order:1}.padding[data-v-2f015982]{padding:1.4rem}@media screen and (width >= 768px){.padding[data-v-2f015982]{padding:1.8rem 2.4rem}}.panel[data-v-2f015982]{--min-width: var(--panel-min-width, 36rem);--max-width: var(--panel-max-width, unset);--fixed-width: 50rem}.panel--fixed[data-v-2f015982]{position:absolute}.panel__content[data-v-2f015982]{display:flex;overflow:hidden;flex-direction:column;padding:0}.panel__content--rounded[data-v-2f015982]{border:1px solid var(--theme-border-color)}.panel__content--outer-header[data-v-2f015982]{border:none!important;background:transparent!important}.panel__content--outer-header .panel__body[data-v-2f015982],.panel__content--outer-header .panel__footer[data-v-2f015982]{border-radius:5px;background:var(--theme-background-color)}.panel__content--bordered-body .panel__body[data-v-2f015982]{border:1px solid var(--theme-border-color)}.panel__content--floating .panel__header[data-v-2f015982],.panel__content--fixed-right .panel__header[data-v-2f015982]{box-sizing:content-box;padding:.6rem 1.4rem;border-bottom:var(--theme-frame-border);font-size:14pt;font-weight:600}@media screen and (width >= 768px){.panel__content--floating .panel__header[data-v-2f015982],.panel__content--fixed-right .panel__header[data-v-2f015982]{padding:.6rem 2.4rem}}.panel__content--floating[data-v-2f015982]{position:fixed;top:50%;min-width:90vw;max-width:90vw;max-height:80vh;border-radius:var(--theme-radius-large);transform:translateY(-50%)}@media screen and (width >= 768px){.panel__content--floating[data-v-2f015982]{min-width:var(--min-width);max-width:var(--max-width)}}.panel__content--fixed-right[data-v-2f015982]{position:fixed;top:0;right:0;width:100vw;height:100vh;border:0;border-radius:0;overscroll-behavior:contain}@media screen and (width >= 768px){.panel__content--fixed-right[data-v-2f015982]{width:var(--fixed-width)}}.panel__content--transparent[data-v-2f015982]{border:none!important;background:none!important}@media screen and (width <= 768px){.panel__content--transparent-mobile[data-v-2f015982]{border:none!important;background:none!important}.panel__content--transparent-mobile .panel__header[data-v-2f015982]{margin-bottom:1rem}}.panel__header[data-v-2f015982]{display:flex;min-height:3rem;align-items:center;line-height:100%}.panel__header[data-v-2f015982] [data-component=icon]{width:1.2rem}.panel__header[data-v-2f015982]:not(.panel__header--outer){background:var(--theme-background-color-shade-4)}.panel__header-left[data-v-2f015982]{display:flex;flex:1;align-items:center}.panel__body[data-v-2f015982]{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;row-gap:1.8rem}.panel__body--padded[data-v-2f015982]{padding:1.4rem}@media screen and (width >= 768px){.panel__body--padded[data-v-2f015982]{padding:1.8rem 2.4rem}}.panel__footer[data-v-2f015982]{display:flex;align-items:center;justify-content:flex-end;border-top:1px solid var(--theme-border-color);margin-top:auto;column-gap:1rem;transition:box-shadow .3s}.panel__footer--padded[data-v-2f015982]{padding:1rem 1.4rem}@media screen and (width >= 768px){.panel__footer--padded[data-v-2f015982]{padding:1rem 2.4rem}}.panel__footer--shadowed[data-v-2f015982]{z-index:10;box-shadow:0 4px 20px var(--theme-shadow-color)}@keyframes progress-c328251b{0%{width:0}to{width:100%;opacity:0}}.button[data-v-c328251b]{--border-color: var(--button-border-color, var(--theme-border-color));position:relative;border:1px solid transparent;border-radius:var(--theme-radius-medium);color:var(--theme-foreground-color);font-weight:700;letter-spacing:.2pt;outline:none;text-align:center}.button--loading[data-v-c328251b]:before{position:absolute;left:0;display:block;width:2rem;height:100%;animation:progress-c328251b 1s forwards;background:#000;content:" ";opacity:.4}.button--transparent[data-v-c328251b],.button--alt[data-v-c328251b]{font-weight:300}.button--transparent[data-v-c328251b]:hover,.button--alt[data-v-c328251b]:hover{background:var(--theme-background-color-shade-4)}.button--alt[data-v-c328251b] svg,.button--primary[data-v-c328251b] svg{fill:currentcolor}.button--alt[data-v-c328251b]{border:1px solid var(--theme-border-color)}.button--primary[data-v-c328251b]{border-color:var(--theme-brand-color-shade-2);background:var(--theme-brand-color-shade-2);color:var(--theme-brand-color-contrast)}.button--small[data-v-c328251b]{padding:.6rem;font-size:9pt}.button--medium[data-v-c328251b]{height:var(--theme-input-height);padding:var(--theme-input-padding);font-size:10pt}.button--large[data-v-c328251b]{height:var(--theme-input-height-large);padding:var(--theme-input-padding-large);font-size:11pt}.button__content[data-v-c328251b]{display:flex;width:100%;align-items:center;justify-content:center;gap:.4rem}.card[data-v-c1a322df]{position:relative;overflow:hidden;border:var(--theme-frame-border);border-radius:var(--theme-radius-extra-large);background:var(--theme-background-color-shade-2)}.card--inactive[data-v-c1a322df]{opacity:.6}.card--horizontal[data-v-c1a322df]{display:flex}.card--horizontal .card__picture[data-v-c1a322df]{width:18rem;height:12rem}.card--horizontal .card__footer[data-v-c1a322df]{display:flex;flex-direction:column}.card--horizontal .card__badge[data-v-c1a322df]{position:relative;margin:auto 0 0}.card__picture[data-v-c1a322df]{overflow:hidden;width:100%;height:16rem}.card__picture[data-v-c1a322df] figure{height:100%}.card__footer[data-v-c1a322df]{width:100%;height:100%;padding:1rem;border-top:var(--theme-frame-border);background:var(--theme-background-color-shade-3);color:var(--theme-foreground-color)}.card__footer-upper[data-v-c1a322df]{display:flex;align-items:flex-start;justify-content:space-between}.card__badge[data-v-c1a322df]{position:absolute;top:0;right:0;display:flex;flex-wrap:wrap;align-items:flex-end;margin:.8rem;gap:.2rem}.content__section[data-v-28e185ef]:not(:last-child){border-bottom:1px solid var(--theme-border-color)}@media screen and (width >= 600px){.content__section[data-v-28e185ef]{min-width:12rem}}.content__item[data-v-28e185ef]{display:flex;width:100%;color:var(--theme-foreground-color);font-weight:400}.content__item[data-v-28e185ef]>*{display:flex;width:100%;height:100%;align-items:center;padding:1.6rem!important;font-size:11pt;gap:.4rem}@media screen and (width >= 600px){.content__item[data-v-28e185ef]>*{justify-content:flex-start;padding:1rem!important}}.content__item--reactive[data-v-28e185ef]:hover{background:var(--theme-background-color-shade-4)}.content__item[data-v-28e185ef]:not(:last-child){border-bottom:1px solid var(--theme-border-color)}.contextmenu__trigger[data-v-28e185ef]{display:flex;justify-content:flex-start}.content[data-v-28e185ef] .panel__content{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)!important;border-radius:var(--theme-radius-large);width:90vw}@media screen and (min-width: 600px){.content[data-v-28e185ef] .panel__content{top:0;left:0;transform:translate(min(var(--365137f9),calc(100vw - 100%))) translateY(min(var(--365137fa),calc(100vh - 100%)))!important;width:auto}}.info[data-v-b4b7dab5]{position:relative;display:inline-flex}.info__content[data-v-b4b7dab5]{padding:.5rem 1rem;border-radius:5px;background:#000;color:#fff;font-size:10pt;white-space:nowrap}.info__bubble[data-v-b4b7dab5]{position:absolute;z-index:20;overflow:hidden;border-radius:0 5rem 5rem 0!important}.info__bubble--top[data-v-b4b7dab5]{top:-80%;left:50%;transform:translate(-50%)}.info__bubble--topleft[data-v-b4b7dab5]{top:-80%;right:100%}.info__bubble--left[data-v-b4b7dab5]{top:50%;right:100%;transform:translateY(-50%)}.info__bubble--bottom[data-v-b4b7dab5]{bottom:-80%;left:50%;transform:translate(-50%)}.info__bubble--right[data-v-b4b7dab5]{top:50%;left:80%;transform:translateY(-50%)}.focus .input__container>.input__input[data-v-3e3e8c77],.focus .input__container>.input__textarea[data-v-3e3e8c77]{border-color:var(--theme-brand-color)}.focus .input__icon[data-v-3e3e8c77] [data-component=icon]{fill:var(--theme-brand-color)}.input:focus-within .input__container>.input__input[data-v-3e3e8c77],.textarea:focus-within .input__container>.input__input[data-v-3e3e8c77],.input:focus-within .input__container>.input__textarea[data-v-3e3e8c77],.textarea:focus-within .input__container>.input__textarea[data-v-3e3e8c77]{border-color:var(--theme-brand-color)}.input:focus-within .input__icon[data-v-3e3e8c77] [data-component=icon],.textarea:focus-within .input__icon[data-v-3e3e8c77] [data-component=icon]{fill:var(--theme-brand-color)}.input[data-v-3e3e8c77]{--background-color: var(--input-background-color, var(--theme-background-color-shade-3))}.input__container[data-v-3e3e8c77]{position:relative;display:flex}.input__container>.input__input[data-v-3e3e8c77],.input__container>.input__textarea[data-v-3e3e8c77]{border:1px solid var(--background-color);background:var(--background-color)}.input__container--light[data-v-3e3e8c77]{border-bottom:1px solid #dedede}.input__input[data-v-3e3e8c77],.input__textarea[data-v-3e3e8c77]{font-family:unset}.input__input[data-v-3e3e8c77]{width:100%;height:var(--theme-input-height);border:1px solid red;outline:none}.input__input--normal[data-v-3e3e8c77],.input__input--bold[data-v-3e3e8c77]{border-radius:var(--theme-radius-medium);background:var(--background-color);color:var(--theme-foreground-color)}.input__input--normal[data-v-3e3e8c77]{padding:var(--theme-input-padding);font-size:11pt}.input__input--bold[data-v-3e3e8c77]{height:var(--theme-input-height-large);padding:var(--theme-input-padding-large);font-size:12.5pt}.input__input--light[data-v-3e3e8c77]{padding:.6rem;background:transparent}.input__input--icon[data-v-3e3e8c77]{padding-left:2.6em!important}.input__input--readOnly[data-v-3e3e8c77]{background:#eee}.input__textarea[data-v-3e3e8c77]{display:block;width:100%;height:8em;outline:none}.input__icon[data-v-3e3e8c77]{position:absolute;top:50%;left:.6em;width:1.1em;transform:translateY(-50%)}.input__icon[data-v-3e3e8c77] [data-component=icon]{fill:#bbb}.input__icon--bold[data-v-3e3e8c77] [data-component=icon]{width:1.2rem;height:1.2rem}.input__clipboard[data-v-3e3e8c77]{display:flex;padding:0 .6em;border:var(--theme-frame-border);border-width:1px 1px 1px 0;background:var(--background-color);place-items:center}.select[data-v-7a33443b]{--background-color: var(--select-background-color, var(--theme-background-color-shade-3));--border: var(--select-border, var(--theme-frame-border));display:flex;align-items:center;border:1px solid var(--border-color);border-radius:var(--theme-radius-medium);background:var(--background-color);gap:.4rem}.select--outline[data-v-7a33443b]:focus-within{border-color:var(--theme-brand-color)}.select__select[data-v-7a33443b]{width:100%;min-width:5rem;height:var(--theme-input-height);padding:var(--theme-input-padding);border-radius:4px;background:transparent;color:var(--theme-foreground-color);font-family:unset;line-height:1.5rem}.select__select[data-v-7a33443b]:focus{outline:none}.select__select[data-v-7a33443b] option{height:100%;background:var(--background-color)}.select__select--multiple[data-v-7a33443b]{padding:0}.select__select--multiple[data-v-7a33443b] option{height:var(--theme-input-height);padding:var(--theme-input-padding)}.select__select--multiple[data-v-7a33443b] option[data-selected=true]{background:var(--theme-brand-color);color:var(--theme-brand-color-contrast)}.pagination[data-v-7b3fd4da]{display:flex;box-sizing:content-box;column-gap:2rem}@media screen and (width <= 600px){.pagination[data-v-7b3fd4da]{display:none}}.pagination__control[data-v-7b3fd4da]{display:flex;align-items:center}.pagination__page-input[data-v-7b3fd4da]{display:flex;align-items:center;gap:.6rem}.pagination__page-input[data-v-7b3fd4da] [data-component=input]{width:2.8rem}.checkbox[data-v-c0ec1e4a]{display:flex;align-items:center;-webkit-user-select:none;user-select:none}.checkbox__input[data-v-c0ec1e4a]{width:1rem;height:1rem}.checkbox__input[data-v-c0ec1e4a]:hover{background:red}.checkbox__text[data-v-c0ec1e4a]{display:grid;width:100%;padding:0 .6rem}.options[data-v-43cda372]{display:grid;border:1px solid var(--theme-border-color);border-width:1px 1px 1px 0;border-radius:5px}.options__checkbox[data-v-43cda372]{padding:.8rem;border-left:1px solid var(--theme-border-color)}.options__checkbox[data-v-43cda372]:not(:last-child){border-bottom:1px solid var(--theme-border-color)}.switch-wrapper[data-v-30f5a5ca]{display:flex;align-items:center;column-gap:.6rem}.switch[data-v-30f5a5ca]{display:flex;overflow:hidden;width:3rem;justify-content:flex-end;padding:4px;border-radius:1rem;background:#ddd;transition:background .4s}.switch--active[data-v-30f5a5ca]{background:var(--theme-brand-color-shade-3)}.switch--readOnly[data-v-30f5a5ca]{opacity:.6}.switch__slider[data-v-30f5a5ca]{width:1rem;height:1rem;border-radius:50%;background:#fff}.switch__dummy[data-v-30f5a5ca]{flex:0;transition:flex .35s}.switch__dummy--flex[data-v-30f5a5ca]{flex:1}.picture[data-v-ecfb1379]{margin:0}.picture__image--bordered[data-v-ecfb1379]{border:1px solid var(--theme-border-color)}.picture__image--expandable[data-v-ecfb1379]{cursor:pointer}.picture__background[data-v-ecfb1379]{width:100%;height:100%}.picture__background>*[data-v-ecfb1379]{stroke:var(--theme-border-color)}.picture__meta[data-v-ecfb1379]{font-size:11pt}.picture>figcaption[data-v-ecfb1379]{margin-top:.4rem;color:var(--theme-foreground-color)}.file[data-v-f3848c9a]{display:flex;width:min-content;flex-direction:column;row-gap:.8rem}.file__image[data-v-f3848c9a]{overflow:hidden;width:20rem;height:20rem;border-radius:5px}.file__image--unsent[data-v-f3848c9a]{opacity:.6}.file__actions[data-v-f3848c9a]{display:flex;overflow:hidden;align-items:center;padding:1rem;border:var(--theme-frame-border);border-radius:var(--theme-radius-medium);background:var(--theme-background-color-shade-2);color:#000;column-gap:1rem}.file__buttons[data-v-f3848c9a]{display:flex;column-gap:.4rem}.container[data-v-193f9eed]{border:var(--theme-frame-border);border-radius:var(--theme-radius-medium);background:var(--theme-background-color-shade-3)}.container__content[data-v-193f9eed]{overflow:hidden auto;max-height:20rem}.container__footer[data-v-193f9eed]{display:flex;height:var(--theme-input-height);flex-direction:column;justify-content:center;padding:var(--theme-input-padding);color:var(--theme-foreground-color);font-size:.8rem}.item[data-v-fa7fea9f]{display:flex;min-height:2.8rem;align-items:center;padding:.6rem;color:var(--theme-foreground-color)}.item--selected[data-v-fa7fea9f]{background:var(--theme-brand-color-shade-1);color:var(--theme-brand-color-contrast)}.item__values[data-v-fa7fea9f]{display:flex;flex-direction:column;row-gap:.4rem}.item__value[data-v-fa7fea9f]{display:flex;font-size:10pt}.item__value[data-v-fa7fea9f]:not(:first-child){font-size:8pt}.search[data-v-26a9c85f],.search__panel[data-v-26a9c85f]{display:flex;flex-direction:column}.search__input[data-v-26a9c85f]{display:flex;align-items:stretch;margin-bottom:.8rem;gap:.8rem}.search__summary[data-v-26a9c85f]{font-size:11pt}.form[data-v-d14d28ec]{display:flex;flex-direction:column}.form__footer[data-v-d14d28ec]{display:flex;align-items:center;margin-top:-1rem;column-gap:.6rem}.form__fieldset[data-v-d14d28ec]{display:grid;width:100%;align-items:flex-start;padding:0;border:none;margin:0;gap:1rem;grid-template-columns:repeat(6,1fr)}.form__field-label[data-v-d14d28ec]{font-size:10.2pt;line-height:1.6rem}.form__field-label--section[data-v-d14d28ec]{font-size:12pt;font-weight:500}.form__field-hint[data-v-d14d28ec]{font-size:.9rem}.form__field-required-hint[data-v-d14d28ec]:after{margin-left:.35rem;color:#e22;content:"*"}.form__search-grid[data-v-d14d28ec]{display:grid;gap:2rem}.form__validation-error[data-v-d14d28ec]{padding:.4rem 0;color:red;font-size:.9rem}.cell-padding[data-v-d8e1b8cf]{padding:10px .8rem}.table[data-v-d8e1b8cf]{width:100%;border-radius:var(--theme-radius-large);border-spacing:0}@media screen and (width >= 768px){.table[data-v-d8e1b8cf]{overflow:hidden;border:var(--theme-frame-border)}}.table[data-v-d8e1b8cf] thead>tr{display:none}@media print{.table[data-v-d8e1b8cf] thead>tr{display:table-row}}@media screen and (width >= 768px){.table[data-v-d8e1b8cf] thead>tr{display:table-row;height:3rem;background:var(--theme-background-color-shade-4);text-align:left}}.table[data-v-d8e1b8cf] thead>tr>th{padding:10px .8rem;font-weight:400}.table[data-v-d8e1b8cf] tbody>tr,.table[data-v-d8e1b8cf] tfoot>tr{height:3rem;border:var(--theme-frame-border);background:var(--theme-background-color-shade-2)}@media screen and (width >= 768px){.table[data-v-d8e1b8cf] tbody>tr,.table[data-v-d8e1b8cf] tfoot>tr{border:0}.table[data-v-d8e1b8cf] tbody>tr:hover,.table[data-v-d8e1b8cf] tfoot>tr:hover{background:var(--theme-background-color-shade-2)}}@media screen and (width <= 768px){.table[data-v-d8e1b8cf] tbody>tr,.table[data-v-d8e1b8cf] tfoot>tr{display:flex;overflow:hidden;height:auto;flex-direction:column;border-radius:var(--theme-radius-large)}.table[data-v-d8e1b8cf] tbody>tr:not(:last-child),.table[data-v-d8e1b8cf] tfoot>tr:not(:last-child){margin-bottom:1rem}}@media screen and (width >= 768px){.table[data-v-d8e1b8cf] tbody>tr:not(:last-child)>td,.table[data-v-d8e1b8cf] tfoot>tr:not(:last-child)>td{border-bottom:1px solid var(--theme-border-color)}}.table[data-v-d8e1b8cf] tbody>tr>td,.table[data-v-d8e1b8cf] tfoot>tr>td{padding:10px .8rem;font-size:9.5pt}@media screen and (width >= 768px){.table[data-v-d8e1b8cf] tfoot>tr>td{border-top:1px solid var(--theme-border-color)}}@media screen and (width <= 768px){.table__cell-grid[data-v-d8e1b8cf]{display:flex;flex-direction:column}}.table__cell-mobile-label[data-v-d8e1b8cf]{display:none;font-weight:500}@media screen and (width <= 768px){.table__cell-mobile-label[data-v-d8e1b8cf]{display:inherit}}.table__cell-actions[data-v-d8e1b8cf]{display:flex;align-items:center;justify-content:flex-end;margin-left:auto;column-gap:.8rem}.table__cell-subvalue[data-v-d8e1b8cf]{font-weight:300}.table__mobile-actions[data-v-d8e1b8cf]{position:relative;padding:0!important;background:var(--theme-background-color-shade-4)}.table__mobile-actions-grid[data-v-d8e1b8cf]{display:grid}.table__mobile-actions-button[data-v-d8e1b8cf]{display:grid;width:100%;height:3.2rem;place-items:center}.table__mobile-actions-button[data-v-d8e1b8cf]:not(last-child){border-right:1px solid var(--theme-border-color)}.table__picture[data-v-d8e1b8cf]{overflow:hidden;width:2rem;height:2rem;border:1px solid var(--theme-border-color);border-radius:var(--theme-radius-large)}.table__empty[data-v-d8e1b8cf]{display:grid;padding:1.6rem 0;place-items:center}.grid[data-v-438c4aed]{display:grid;gap:1rem}@media screen and (width >= 600px){.grid[data-v-438c4aed]:not(.grid--list){gap:1.6rem;grid-template-columns:repeat(2,1fr)}}@media screen and (width >= 1200px){.grid[data-v-438c4aed]:not(.grid--list){grid-template-columns:repeat(3,1fr)}}@media screen and (width >= 1400px){.grid[data-v-438c4aed]:not(.grid--list){grid-template-columns:repeat(4,1fr)}}.card__upper[data-v-e4d693b3]{display:flex;align-items:center}.card__information[data-v-e4d693b3]{margin-top:.5rem;font-size:9.5pt;opacity:.6}.crud__controls[data-v-94852509]{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;gap:1rem}.crud__search[data-v-94852509]{min-width:90vw;flex:1;order:1}.crud__search[data-v-94852509] .input__container{height:100%}@media screen and (width >= 600px){.crud__search[data-v-94852509]{min-width:auto;order:0}}.crud__actions[data-v-94852509]{display:flex;align-items:stretch;gap:.5rem}.crud__pagination[data-v-94852509]{display:flex;align-items:center;justify-content:flex-end}.crud__context-badge[data-v-94852509]{display:flex;justify-content:flex-end}.prompt[data-v-73673b07]{max-width:32rem}.prompt__actions[data-v-73673b07]{display:grid;width:100%;height:4rem}.prompt__action[data-v-73673b07]{display:grid;place-items:center}.prompt__action[data-v-73673b07]:not(:last-child){border-right:1px solid var(--theme-border-color)}.prompt__action--primary[data-v-73673b07]{color:var(--theme-blueish)}.prompt__action--danger[data-v-73673b07]{color:var(--theme-redish)}@keyframes blink-54736bc3{0%{opacity:1}to{opacity:.4}}.toast[data-v-54736bc3]{z-index:70;display:flex;width:90vw;padding:1rem;border:1px solid var(--theme-border-color);border-radius:5px;animation:blink-54736bc3 .5s forwards;animation-delay:2s;animation-play-state:paused;background:var(--theme-background-color);box-shadow:0 3px 3px var(--theme-shadow-color);color:var(--theme-foreground-color);gap:1rem;-webkit-user-select:none;user-select:none}@media screen and (width >= 768px){.toast[data-v-54736bc3]{width:24rem}}.toast--animate[data-v-54736bc3]{animation-play-state:running}.toast__content[data-v-54736bc3]{display:flex;flex-direction:column;gap:.6rem}.toast__time[data-v-54736bc3]{font-size:10pt;opacity:.8}.main[data-v-1166be3d]{display:flex;min-height:100vh;flex-direction:column}.main__toasts[data-v-1166be3d]{position:fixed;z-index:20;right:1.6rem;bottom:1.6rem;display:flex;flex-direction:column;row-gap:.6rem}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{overflow:hidden scroll;scroll-behavior:smooth}html,body{padding:0;margin:0}body{font-size:15px}*::-webkit-scrollbar{width:0}a:link,a:visited,a:hover,a:active{color:inherit;text-decoration:none}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}@media print{.no-print{display:none!important}}.aeria-surface{background:var(--theme-background-color);color:var(--theme-foreground-color)}.aeria-surface-alt{background:var(--theme-background-color-shade-2);color:var(--theme-foreground-color)}.aeria-body{background:var(--theme-body-background)}.aeria-branded-text{color:var(--theme-brand-color)}.aeria-redish{color:var(--theme-redish);fill:var(--theme-redish)}.aeria-blueish{color:var(--theme-blueish);fill:var(--theme-blueish)}.loading div{border:4px solid var(--theme-brand-color)!important}@keyframes lds-ripple{0%{top:36px;left:36px;width:0;height:0;opacity:0}5%{opacity:1}to{top:0;left:0;width:72px;height:72px;opacity:0}}.loading{position:relative;display:inline-block;width:80px;height:80px}.loading div{position:absolute;border:4px solid #fff;border-radius:50%;animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;opacity:1}.loading div:nth-child(2){animation-delay:-.5s}.menu[data-v-3cfef7fb]{min-width:90vw;align-self:center;padding:0;border:1px solid var(--theme-border-color);border-radius:var(--theme-radius-large);background:var(--theme-background-color-shade-2);color:var(--theme-foreground-color)}@media screen and (width >= 600px){.menu[data-v-3cfef7fb]{min-width:22rem}}.menu__entry[data-v-3cfef7fb]{padding:1rem;font-size:11pt}.menu__entry[data-v-3cfef7fb]:not(:last-child){border-bottom:1px solid var(--theme-border-color)}.tabs__horizontal[data-v-d12cddeb]{display:flex;gap:1.2rem}.tabs__tab[data-v-d12cddeb]{display:flex;align-items:center;cursor:pointer;gap:.2rem}.tabs__tab--current[data-v-d12cddeb]{font-weight:600}@media screen and (width >= 600px){.tabs__tab--info[data-v-d12cddeb]{margin-right:.6rem;font-size:12pt;font-weight:500}}.tabs__context-menu-icon[data-v-d12cddeb]{color:var(--theme-brand-color);font-weight:600}.tabs__context-menu-icon[data-v-d12cddeb]:first-child{gap:0}.topbar__preset[data-v-d0b47fbb]{display:flex;width:100%;align-items:center;justify-content:center;gap:.4rem}@media screen and (width >= 600px){.topbar__preset[data-v-d0b47fbb]{justify-content:flex-start}}.profile__user-name[data-v-0045e73e]{font-size:18pt;font-weight:600}.profile__menu[data-v-0045e73e]{display:flex;overflow:hidden;flex-direction:column;padding:0;border:1px solid var(--theme-border-color);border-radius:10px;margin-top:2rem;background:var(--theme-background-color-shade-2)}.profile__menu>*[data-v-0045e73e]{padding:1.4rem}.profile__menu>*[data-v-0045e73e]:not(:last-child){border-bottom:1px solid var(--theme-border-color)}
package/dist/ui.js ADDED
@@ -0,0 +1,42 @@
1
+ import { i as p, z as m, j as u, k as c, a as d, l as b, c as C, m as l, d as B, D as P, t as h, A as x, n as F, b as T, o as f, u as g, p as w, f as I, v as M, q as S, g as k, _ as y, e as R, B as j, w as q, x as v, y as z, r as D, s as E, C as G, F as O, E as _ } from "./index-8ee4cf77.js";
2
+ import "vue";
3
+ import "@aeria-ui/i18n";
4
+ import "@aeria-ui/web";
5
+ import "@aeria-ui/state-management";
6
+ import "vue-router";
7
+ import "@aeriajs/common";
8
+ import "maska";
9
+ export {
10
+ p as AeriaAccordion,
11
+ m as AeriaAsync,
12
+ u as AeriaBadge,
13
+ c as AeriaBareButton,
14
+ d as AeriaButton,
15
+ b as AeriaCard,
16
+ C as AeriaCheckbox,
17
+ l as AeriaContextMenu,
18
+ B as AeriaCrud,
19
+ P as AeriaCrudTopbar,
20
+ h as AeriaFile,
21
+ x as AeriaForm,
22
+ F as AeriaGrid,
23
+ T as AeriaIcon,
24
+ f as AeriaInfo,
25
+ g as AeriaInput,
26
+ w as AeriaMain,
27
+ I as AeriaMenu,
28
+ M as AeriaOptions,
29
+ S as AeriaPagination,
30
+ k as AeriaPanel,
31
+ y as AeriaPasswordForm,
32
+ R as AeriaPicture,
33
+ j as AeriaPrompt,
34
+ q as AeriaSearch,
35
+ v as AeriaSelect,
36
+ z as AeriaSwitch,
37
+ D as AeriaTable,
38
+ E as AeriaTabs,
39
+ G as AeriaToast,
40
+ O as dashboardRoutes,
41
+ _ as userRoutes
42
+ };
@@ -0,0 +1,21 @@
1
+ type Props = {
2
+ collection: string;
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
+ "crud-empty"?(_: {}): 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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -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<{}>>, {}, {}>, {
2
+ "user-profile"?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;