formue-crud 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/formue-crud.js +11 -8
- package/dist/formue-crud.umd.cjs +15 -15
- package/package.json +1 -1
package/dist/formue-crud.js
CHANGED
@@ -3964,6 +3964,8 @@ function V0({ fields: n, hiddenActions: e, options: t, route: i }) {
|
|
3964
3964
|
const s = O0();
|
3965
3965
|
return s.fields = n, Oi.event("beforeFormueInit"), s.addRoute(i), s.loadItems(), s.options = t, s.hiddenActions = e, B0(s.flatFields), s;
|
3966
3966
|
}
|
3967
|
+
const mM = (n) => {
|
3968
|
+
};
|
3967
3969
|
class Ht {
|
3968
3970
|
constructor(e) {
|
3969
3971
|
this.table = e;
|
@@ -22804,7 +22806,7 @@ const zS = {
|
|
22804
22806
|
}, Ae(a.title), 11, IS))), 128))
|
22805
22807
|
])) : Zi("", !0);
|
22806
22808
|
}
|
22807
|
-
},
|
22809
|
+
}, gM = {
|
22808
22810
|
__name: "MCrud",
|
22809
22811
|
props: {
|
22810
22812
|
options: { default: () => ({}) },
|
@@ -23415,13 +23417,14 @@ function $n(n) {
|
|
23415
23417
|
if (t && n in t)
|
23416
23418
|
return t[n];
|
23417
23419
|
}
|
23418
|
-
const
|
23419
|
-
const
|
23420
|
-
n.use(
|
23421
|
-
const
|
23422
|
-
n.config.globalProperties.$fcTr = (
|
23420
|
+
const vM = (n, { fields: e } = { fields: {} }) => {
|
23421
|
+
const t = Hp({});
|
23422
|
+
n.use(t);
|
23423
|
+
const i = $S();
|
23424
|
+
n.config.globalProperties.$fcTr = (s) => i.translate(s);
|
23423
23425
|
};
|
23424
23426
|
export {
|
23425
|
-
|
23426
|
-
|
23427
|
+
gM as MCrud,
|
23428
|
+
vM as install,
|
23429
|
+
mM as registerFields
|
23427
23430
|
};
|