@chaibuilder/pages 0.7.8 → 0.8.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.
- package/dist/{B4MFY5CR-3qzIlgT8.js → B4MFY5CR-C5E8Uba7.js} +1 -1
- package/dist/{B4MFY5CR-CpFV9cRI.cjs → B4MFY5CR-CZjLmz3a.cjs} +1 -1
- package/dist/{HO4MOOFI-BuYNN3wg.js → HO4MOOFI-Ck17HqXO.js} +2 -2
- package/dist/{HO4MOOFI-BIYWx7mY.cjs → HO4MOOFI-c8AUp_HF.cjs} +1 -1
- package/dist/{HUY7CZI3-D5Zd9WMP.js → HUY7CZI3-D92fmduy.js} +2 -2
- package/dist/{HUY7CZI3-Bxt9ylG-.cjs → HUY7CZI3-DiWsUPL1.cjs} +1 -1
- package/dist/{index-oMOwrxks.cjs → index-COmCyTz5.cjs} +5 -5
- package/dist/{index-uVniY_5_.js → index-ClL_uiNV.js} +916 -903
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
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-COmCyTz5.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.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare type ChaiBuilderPagesProps = {
|
|
|
19
19
|
getPreviewUrl?: (slug: string) => string;
|
|
20
20
|
getLiveUrl?: (slug: string) => string;
|
|
21
21
|
onLogout?: () => void;
|
|
22
|
+
getAccessToken?: () => Promise<string>;
|
|
22
23
|
realtimeInstance?: ChaiBuilderPagesRealtimeInterface;
|
|
23
24
|
} & Pick<ChaiBuilderEditorProps, "onError" | "translations" | "locale" | "htmlDir" | "autoSaveSupport" | "autoSaveInterval" | "fallbackLang" | "languages" | "themePresets">;
|
|
24
25
|
|
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-ClL_uiNV.js";
|
|
2
2
|
export * from "@chaibuilder/sdk";
|
|
3
3
|
export {
|
|
4
4
|
s as ChaiBuilderPagesRealtime,
|