@luminix/mui-cms 0.1.3 → 0.1.5
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/bundle/mui-cms.bundle.iife.js +35 -35
- package/dist/mui-cms.js +27 -27
- package/package.json +4 -4
package/dist/mui-cms.js
CHANGED
|
@@ -2074,22 +2074,22 @@ F.getAdapter = Kn.getAdapter;
|
|
|
2074
2074
|
F.HttpStatusCode = ut;
|
|
2075
2075
|
F.default = F;
|
|
2076
2076
|
const {
|
|
2077
|
-
Axios:
|
|
2078
|
-
AxiosError:
|
|
2079
|
-
CanceledError:
|
|
2080
|
-
isCancel:
|
|
2081
|
-
CancelToken:
|
|
2082
|
-
VERSION:
|
|
2083
|
-
all:
|
|
2084
|
-
Cancel:
|
|
2077
|
+
Axios: Oi,
|
|
2078
|
+
AxiosError: Pi,
|
|
2079
|
+
CanceledError: vi,
|
|
2080
|
+
isCancel: Fi,
|
|
2081
|
+
CancelToken: Bi,
|
|
2082
|
+
VERSION: Li,
|
|
2083
|
+
all: Ii,
|
|
2084
|
+
Cancel: Ni,
|
|
2085
2085
|
isAxiosError: na,
|
|
2086
|
-
spread:
|
|
2087
|
-
toFormData:
|
|
2088
|
-
AxiosHeaders:
|
|
2089
|
-
HttpStatusCode:
|
|
2090
|
-
formToJSON:
|
|
2091
|
-
getAdapter:
|
|
2092
|
-
mergeConfig:
|
|
2086
|
+
spread: Mi,
|
|
2087
|
+
toFormData: ji,
|
|
2088
|
+
AxiosHeaders: Ui,
|
|
2089
|
+
HttpStatusCode: qi,
|
|
2090
|
+
formToJSON: _i,
|
|
2091
|
+
getAdapter: Hi,
|
|
2092
|
+
mergeConfig: zi
|
|
2093
2093
|
} = F;
|
|
2094
2094
|
function ce(e) {
|
|
2095
2095
|
return (t) => {
|
|
@@ -2535,8 +2535,8 @@ const an = (e, t) => ({
|
|
|
2535
2535
|
}, Ea = async (e, t, n) => {
|
|
2536
2536
|
const r = e.getSchema().relations[t], s = ye().make(r.model), o = s.getSchema().primaryKey, a = [];
|
|
2537
2537
|
for (const l of n) {
|
|
2538
|
-
const
|
|
2539
|
-
a.push(d
|
|
2538
|
+
const d = await s.where(o, l).first();
|
|
2539
|
+
a.push(d);
|
|
2540
2540
|
}
|
|
2541
2541
|
return a;
|
|
2542
2542
|
};
|
|
@@ -4908,9 +4908,9 @@ const fi = {
|
|
|
4908
4908
|
main: "#fa510c"
|
|
4909
4909
|
}
|
|
4910
4910
|
}
|
|
4911
|
-
},
|
|
4911
|
+
}, pi = (e) => e.make("cms").getRoutes(), Wi = ({
|
|
4912
4912
|
theme: e = fi,
|
|
4913
|
-
providers: t
|
|
4913
|
+
providers: t,
|
|
4914
4914
|
...n
|
|
4915
4915
|
}) => {
|
|
4916
4916
|
const r = Be("(prefers-color-scheme: dark)"), s = h.useMemo(() => as({
|
|
@@ -4919,18 +4919,18 @@ const fi = {
|
|
|
4919
4919
|
...e.palette,
|
|
4920
4920
|
mode: r ? "dark" : "light"
|
|
4921
4921
|
}
|
|
4922
|
-
}), [e, r])
|
|
4922
|
+
}), [e, r]), o = h.useMemo(() => [
|
|
4923
|
+
dt,
|
|
4924
|
+
di,
|
|
4925
|
+
...t || []
|
|
4926
|
+
], [t]);
|
|
4923
4927
|
return /* @__PURE__ */ w(is, { theme: s, children: [
|
|
4924
4928
|
/* @__PURE__ */ i(Hr, {}),
|
|
4925
4929
|
/* @__PURE__ */ i(
|
|
4926
4930
|
dr,
|
|
4927
4931
|
{
|
|
4928
|
-
routes:
|
|
4929
|
-
providers:
|
|
4930
|
-
dt,
|
|
4931
|
-
di,
|
|
4932
|
-
...t
|
|
4933
|
-
],
|
|
4932
|
+
routes: pi,
|
|
4933
|
+
providers: o,
|
|
4934
4934
|
...n
|
|
4935
4935
|
}
|
|
4936
4936
|
)
|
|
@@ -4941,7 +4941,7 @@ export {
|
|
|
4941
4941
|
ps as DialogProvider,
|
|
4942
4942
|
ds as LayoutProvider,
|
|
4943
4943
|
Ue as Link,
|
|
4944
|
-
|
|
4944
|
+
Wi as LuminixCms,
|
|
4945
4945
|
ze as ModelProvider,
|
|
4946
4946
|
ms as NotificationProvider,
|
|
4947
4947
|
Ft as useActionEvent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminix/mui-cms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "bundle/mui-cms.js",
|
|
6
6
|
"module": "dist/mui-cms.js",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@emotion/react": "^11.13.0",
|
|
19
19
|
"@emotion/styled": "^11.13.0",
|
|
20
20
|
"@fontsource/roboto": "^5.0.12",
|
|
21
|
-
"@luminix/core": "^0.
|
|
22
|
-
"@luminix/react": "^0.
|
|
23
|
-
"@luminix/support": "^0.4.
|
|
21
|
+
"@luminix/core": "^0.3.0",
|
|
22
|
+
"@luminix/react": "^0.3.0",
|
|
23
|
+
"@luminix/support": "^0.4.2",
|
|
24
24
|
"@mui/icons-material": "^5.16.5",
|
|
25
25
|
"@mui/material": "^5.16.5",
|
|
26
26
|
"i18next": "^23.12.2",
|