@aeria-ui/ui 0.0.190 → 0.0.192

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.
@@ -0,0 +1,38 @@
1
+ import { defineComponent as c, watch as i, createBlock as l, openBlock as r } from "vue";
2
+ import { getGlobalStateManager as a, useStore as d } from "@aeria-ui/state-management";
3
+ import { f as s } from "./index-4r0Jumub.js";
4
+ const g = /* @__PURE__ */ c({
5
+ __name: "[id]",
6
+ props: {
7
+ collection: {},
8
+ id: {},
9
+ section: {}
10
+ },
11
+ setup(e) {
12
+ const t = e, o = a();
13
+ return i(() => [
14
+ t.collection,
15
+ t.id
16
+ ], () => {
17
+ d(t.collection, o).$actions.get({
18
+ filters: {
19
+ _id: t.id
20
+ }
21
+ });
22
+ }, {
23
+ immediate: !0
24
+ }), (n, m) => (r(), l(s, {
25
+ key: e.id,
26
+ bordered: "",
27
+ rounded: "",
28
+ "include-id": "",
29
+ "include-timestamps": "",
30
+ collection: e.collection,
31
+ "read-only": e.section !== "edit",
32
+ style: { "--panel-max-width": "40rem" }
33
+ }, null, 8, ["collection", "read-only"]));
34
+ }
35
+ });
36
+ export {
37
+ g as default
38
+ };
@@ -3,7 +3,7 @@ import { INSTANCE_VARS_SYMBOL as C } from "@aeria-ui/core";
3
3
  import { useStore as $ } from "@aeria-ui/state-management";
4
4
  import { useRouter as I } from "vue-router";
5
5
  import { t as i } from "@aeria-ui/i18n";
6
- import { A as U, c as E, a as y, _ as N } from "./index-CBDiAgyx.js";
6
+ import { A as U, c as E, a as y, _ as N } from "./index-4r0Jumub.js";
7
7
  const T = { key: 0 }, B = {
8
8
  key: 0,
9
9
  style: {}
@@ -105,8 +105,8 @@ const T = { key: 0 }, B = {
105
105
  default: m(() => [
106
106
  v(r(s(i)("register_password")), 1)
107
107
  ]),
108
- _: 2
109
- }, 1032, ["disabled"])
108
+ _: 1
109
+ }, 8, ["disabled"])
110
110
  ]),
111
111
  _: 1
112
112
  }, 8, ["modelValue"])