@chaibuilder/pages 0.8.1 → 0.8.2
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/{B4MFY5CR-Cmeb0Ocd.js → B4MFY5CR-BQ_ruBiM.js} +1 -1
- package/dist/{B4MFY5CR-D2Hh-C7Q.cjs → B4MFY5CR-CXrQyKr8.cjs} +1 -1
- package/dist/{HO4MOOFI-B-DFtkVA.cjs → HO4MOOFI-BKupoTZW.cjs} +1 -1
- package/dist/{HO4MOOFI-CT5lt3XY.js → HO4MOOFI-K4SF63uO.js} +2 -2
- package/dist/{HUY7CZI3-Bb_yIbRJ.js → HUY7CZI3-DXhehd6u.js} +2 -2
- package/dist/{HUY7CZI3-CnymFutd.cjs → HUY7CZI3-f1kYJ8XZ.cjs} +1 -1
- package/dist/{index-D7tKkc6X.cjs → index-DnQq2t4R.cjs} +2 -2
- package/dist/{index-cBpMmxck.js → index-PEtpqNUl.js} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -4631,7 +4631,7 @@ const bd = ({ page: e }) => {
|
|
|
4631
4631
|
h = F(h, "lang") === i ? h : null;
|
|
4632
4632
|
const m = i === l || !!h, b = (h == null ? void 0 : h.name) || (e == null ? void 0 : e.name) || "No name";
|
|
4633
4633
|
let y = (h == null ? void 0 : h.slug) || (e == null ? void 0 : e.slug) || "";
|
|
4634
|
-
y.startsWith("/") && (y = `/${y.split("/").pop()}`);
|
|
4634
|
+
y.startsWith("/") && y.startsWith(`/${e.lang}`) && (y = `/${y.split("/").pop()}`);
|
|
4635
4635
|
const g = Y(() => {
|
|
4636
4636
|
const p = "flex h-7 min-w-0 flex-1 cursor-pointer select-none items-center gap-x-1.5 rounded px-px text-xs duration-300 border-[1px]", v = `${o ? "border-primary/30 bg-primary/5" : "border-transparent hover:border-gray-200 hover:bg-gray-100"}`;
|
|
4637
4637
|
return m ? `${p} ${v}` : `${p} bg-gray-100 opacity-50 group-hover:border-gray-200 border-transparent group-hover:bg-blue-100`;
|
|
@@ -9442,7 +9442,7 @@ var pf = (e, t = !1) => {
|
|
|
9442
9442
|
const t = tl(() => {
|
|
9443
9443
|
const n = this, [a] = ae(this, Xt), [r] = ae(this, Zt), [i] = ae(this, en), [l] = ae(this, tn), [o] = ae(this, Yt);
|
|
9444
9444
|
let d;
|
|
9445
|
-
return ae(this, nn) ? d = ae(this, nn) : (d = Zi(() => import("./HO4MOOFI-
|
|
9445
|
+
return ae(this, nn) ? d = ae(this, nn) : (d = Zi(() => import("./HO4MOOFI-K4SF63uO.js")), we(this, nn, d)), xl(ae(this, Qn), ae(this, Jt)), Ji(d, Xi({
|
|
9446
9446
|
get queryFlavor() {
|
|
9447
9447
|
return ae(n, Hn);
|
|
9448
9448
|
},
|
|
@@ -9536,7 +9536,7 @@ var pf = (e, t = !1) => {
|
|
|
9536
9536
|
const t = tl(() => {
|
|
9537
9537
|
const n = this, [a] = ae(this, rn), [r] = ae(this, ln), [i] = ae(this, on), [l] = ae(this, cn), [o] = ae(this, sn), [d] = ae(this, dn);
|
|
9538
9538
|
let u;
|
|
9539
|
-
return ae(this, un) ? u = ae(this, un) : (u = Zi(() => import("./HUY7CZI3-
|
|
9539
|
+
return ae(this, un) ? u = ae(this, un) : (u = Zi(() => import("./HUY7CZI3-DXhehd6u.js")), we(this, un, u)), xl(ae(this, es), ae(this, an)), Ji(u, Xi({
|
|
9540
9540
|
get queryFlavor() {
|
|
9541
9541
|
return ae(n, Xn);
|
|
9542
9542
|
},
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-DnQq2t4R.cjs"),t=require("@chaibuilder/sdk");exports.ChaiBuilderPagesRealtime=e.ChaiBuilderPagesRealtime;exports.ChaiJsonInput=e.SmartJsonInput;exports.ImagePicker=e.ImagePicker;exports.LanguageSwitcher=e.LanguageSwitcher;exports.NestedPathSelector=e.NestedPathSelector;exports.PermissionChecker=e.PermissionChecker;exports.default=e.ChaiBuilderPages;exports.registerChaiLoginComponent=e.registerLoginComponent;exports.registerChaiSiteSetting=e.registerChaiSiteSetting;exports.useActivePage=e.useActivePage;exports.useBuilderPageData=e.useBuilderPageData;exports.useChaiAuth=e.useChaiAuth;exports.useChaiCurrentPage=e.useCurrentPage;exports.useChaiFetch=e.useChaiFetch;exports.useChaiUserInfo=e.useChaiUserInfo;exports.useFallbackLang=e.useFallbackLang;exports.useFetch=e.useFetch;exports.useGotoPage=e.useGotoPage;exports.useLanguagePages=e.useLanguagePages;exports.usePageTypes=e.usePageTypes;exports.useUpdateActivePageMetadata=e.useUpdateActivePageMetadata;exports.useUserPermissions=e.useUserRoleAndPermissions;exports.useWebsitePages=e.useWebsitePages;exports.useWebsiteSetting=e.useWebsiteSetting;Object.keys(t).forEach(a=>{a!=="default"&&!Object.prototype.hasOwnProperty.call(exports,a)&&Object.defineProperty(exports,a,{enumerable:!0,get:()=>t[a]})});
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as s, a6 as t, a5 as i, a4 as u, X as g, a3 as r, W as h, a7 as n, a8 as o, Y as P, Z as C, ad as c, a9 as d, af as l, ah as m, _ as p, ag as f, a0 as S, aa as b, a1 as L, a2 as k, ae as A, ab as F, ac as I } from "./index-
|
|
1
|
+
import { ai as s, a6 as t, a5 as i, a4 as u, X as g, a3 as r, W as h, a7 as n, a8 as o, Y as P, Z as C, ad as c, a9 as d, af as l, ah as m, _ as p, ag as f, a0 as S, aa as b, a1 as L, a2 as k, ae as A, ab as F, ac as I } from "./index-PEtpqNUl.js";
|
|
2
2
|
export * from "@chaibuilder/sdk";
|
|
3
3
|
export {
|
|
4
4
|
s as ChaiBuilderPagesRealtime,
|