@chaibuilder/sdk 4.0.0-beta.6 → 4.0.0-beta.8

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.
Files changed (136) hide show
  1. package/README.md +73 -50
  2. package/dist/{2SSKDMRQ-BIryEtW-.cjs → 2SSKDMRQ-DHv4u_0i.cjs} +1 -1
  3. package/dist/{2SSKDMRQ-trME0kvt.js → 2SSKDMRQ-DewwiCoQ.js} +2 -2
  4. package/dist/{AP7HFJJL-CAGB9iMp.js → AP7HFJJL-ComnZw7J.js} +1 -1
  5. package/dist/{AP7HFJJL-5ZR38Hyh.cjs → AP7HFJJL-cz754qhG.cjs} +1 -1
  6. package/dist/{IconPicker-Mu75ni5T.js → IconPicker-2H9IGKMS.js} +2 -2
  7. package/dist/{IconPicker-CQ-BgNNU.cjs → IconPicker-U0Z2dWeR.cjs} +1 -1
  8. package/dist/{WDYDFRGG-n8sBZVFG.cjs → WDYDFRGG-BfRX3M58.cjs} +1 -1
  9. package/dist/{WDYDFRGG-Cd4hRWj-.js → WDYDFRGG-vy7nMYD4.js} +2 -2
  10. package/dist/{actions-registery-JdxhXhT6.cjs → actions-registery-CtQSSexG.cjs} +31 -31
  11. package/dist/{actions-registery-y_ENc8zj.js → actions-registery-DqrFhSMp.js} +2414 -2418
  12. package/dist/actions.cjs +1 -1
  13. package/dist/actions.d.ts +0 -34
  14. package/dist/actions.js +3 -3
  15. package/dist/{active-in-another-tab-Cb6tnX9u.js → active-in-another-tab-5hn17Jeq.js} +3 -3
  16. package/dist/{active-in-another-tab-CZLV-uAW.cjs → active-in-another-tab-ijahI5qu.cjs} +1 -1
  17. package/dist/{add-new-language-page-BKcBaqZu.js → add-new-language-page-DmOyPy0u.js} +4 -4
  18. package/dist/{add-new-language-page-C3UzNV7W.cjs → add-new-language-page-vmNKNx-e.cjs} +1 -1
  19. package/dist/{add-new-page-pH3PwqJe.js → add-new-page-NHScAQn8.js} +2 -2
  20. package/dist/{add-new-page-mULv9r3z.cjs → add-new-page-XDuCkOyb.cjs} +1 -1
  21. package/dist/{ai-panel-content-BPgRdgye.cjs → ai-panel-content-BDqW16AW.cjs} +1 -1
  22. package/dist/{ai-panel-content-CNxN84pv.js → ai-panel-content-CHJ0JcQI.js} +4 -4
  23. package/dist/{ai-panel-default-lang-CYcHjk8U.js → ai-panel-default-lang-BIomgsN0.js} +4 -4
  24. package/dist/{ai-panel-default-lang-DhTPtPgD.cjs → ai-panel-default-lang-HeYWpbMu.cjs} +2 -2
  25. package/dist/{ai-panel-other-lang-CGNU3-FI.cjs → ai-panel-other-lang-BMelEs3p.cjs} +1 -1
  26. package/dist/{ai-panel-other-lang-D8Ofvj8F.js → ai-panel-other-lang-CbAgG-qX.js} +3 -3
  27. package/dist/{ai-prompt-input-Ceuy5bs3.js → ai-prompt-input-BH8LOVT4.js} +2 -2
  28. package/dist/{ai-prompt-input-CUutJjlf.cjs → ai-prompt-input-C_GG6nwq.cjs} +1 -1
  29. package/dist/{ai-translation-prompt-CoCPLEed.cjs → ai-translation-prompt-CkHaFv5I.cjs} +1 -1
  30. package/dist/{ai-translation-prompt-BiepZRcN.js → ai-translation-prompt-DxsNw8YR.js} +2 -2
  31. package/dist/{code-display-DloSPyPr.cjs → code-display-9Onx6RCq.cjs} +1 -1
  32. package/dist/{code-display-Ck81Id9K.js → code-display-oa1j0ri7.js} +1 -1
  33. package/dist/{code-editor-Z14ByBIv.js → code-editor-CGBAc-A6.js} +1 -1
  34. package/dist/{code-editor-C1ewJzDJ.cjs → code-editor-GV8ibQ4h.cjs} +1 -1
  35. package/dist/{continue-editing-in-this-client-k9Ab5E63.cjs → continue-editing-in-this-client-DKHP0pq8.cjs} +1 -1
  36. package/dist/{continue-editing-in-this-client-Byi6ER3L.js → continue-editing-in-this-client-Da8ab_9d.js} +3 -3
  37. package/dist/core.cjs +1 -1
  38. package/dist/core.d.ts +1 -90
  39. package/dist/core.js +22 -34
  40. package/dist/css-import-modal-B4j26_cO.cjs +13 -0
  41. package/dist/{css-import-modal-De7Kvg5C.js → css-import-modal-CcZVLsF9.js} +5 -4
  42. package/dist/{delete-design-token-C6s-ESB_.cjs → delete-design-token-3-WwqXMO.cjs} +1 -1
  43. package/dist/{delete-design-token-B97CnFDU.js → delete-design-token-DzINIVtO.js} +1 -1
  44. package/dist/{delete-page-Djn97HiP.cjs → delete-page-B7ODELqM.cjs} +1 -1
  45. package/dist/{delete-page-Dnf97ZHP.js → delete-page-DwZDMwfI.js} +3 -3
  46. package/dist/{design-token-usage-B-SykAjD.js → design-token-usage-DQf180Lg.js} +2 -2
  47. package/dist/{design-token-usage-OTd93kS8.cjs → design-token-usage-Dy08kcIc.cjs} +1 -1
  48. package/dist/{digital-asset-manager-DHYRXaaq.cjs → digital-asset-manager-C7subULa.cjs} +1 -1
  49. package/dist/{digital-asset-manager-b8gDuLnI.js → digital-asset-manager-CDy9kHZO.js} +4 -4
  50. package/dist/{duplicate-page-C4Ovp8Ff.cjs → duplicate-page-CWQ9aMd9.cjs} +1 -1
  51. package/dist/{duplicate-page-Bdtpl7_R.js → duplicate-page-DTnSztlr.js} +4 -4
  52. package/dist/{dynamic-page-selector-B8DdnfrF.cjs → dynamic-page-selector-DJuxLcsM.cjs} +1 -1
  53. package/dist/{dynamic-page-selector-BVnIM1Rq.js → dynamic-page-selector-DYW3ov_u.js} +3 -3
  54. package/dist/{image-editor-C2zOHeKv.cjs → image-editor-C4H3AkZK.cjs} +1 -1
  55. package/dist/{image-editor-cckqPmk5.js → image-editor-DLeSST0K.js} +1 -1
  56. package/dist/{index-CAhEmHYP.js → index-BK0xWO1z.js} +5212 -5680
  57. package/dist/index-BRJCj7c_.cjs +5 -0
  58. package/dist/index-Bm8iS2OH.cjs +160 -0
  59. package/dist/{index-Bn0fFN58.js → index-D5d4QDq7.js} +520 -511
  60. package/dist/{json-diff-viewer-DNizzMnu.js → json-diff-viewer-BYHieVod.js} +3 -3
  61. package/dist/{json-diff-viewer-D9DVIBz4.cjs → json-diff-viewer-g6SY62bl.cjs} +1 -1
  62. package/dist/{lang-panel-DL_BtSRD.js → lang-panel-BG1GMn-1.js} +4 -4
  63. package/dist/{lang-panel-C1dbn163.cjs → lang-panel-Dm1eOO2J.cjs} +1 -1
  64. package/dist/{manage-design-tokens-xxMO_RYg.js → manage-design-tokens-BdWQUHhw.js} +3 -3
  65. package/dist/{manage-design-tokens-CXjYkarE.cjs → manage-design-tokens-XWs_B6jo.cjs} +1 -1
  66. package/dist/{mark-as-template-Ba2bmVd9.js → mark-as-template-D2XxagVO.js} +3 -3
  67. package/dist/{mark-as-template-DF1KIMr0.cjs → mark-as-template-DUFnfVM3.cjs} +1 -1
  68. package/dist/{nested-path-selector-content-Cuk7NB-u.cjs → nested-path-selector-content-CQOx2L9C.cjs} +1 -1
  69. package/dist/{nested-path-selector-content-Br1IWhK5.js → nested-path-selector-content-Wd6-Eql0.js} +2 -2
  70. package/dist/{no-language-page-content-9B2Fm-on.js → no-language-page-content-BOv6TZIk.js} +3 -3
  71. package/dist/{no-language-page-content-CxTp-LIM.cjs → no-language-page-content-C11uF6hs.cjs} +1 -1
  72. package/dist/{no-language-page-dialog-DynACvgV.cjs → no-language-page-dialog-CY5XhXsC.cjs} +1 -1
  73. package/dist/{no-language-page-dialog-CPlKMyb8.js → no-language-page-dialog-DIXyKRJq.js} +2 -2
  74. package/dist/{page-creator-BtyJz2sx.js → page-creator-WX9lMrJY.js} +4 -4
  75. package/dist/{page-creator-Cbfv9N0P.cjs → page-creator-zSUFF4eT.cjs} +1 -1
  76. package/dist/{page-lock-CzsxrmN5.js → page-lock-D9miLZjm.js} +2 -2
  77. package/dist/{page-lock-fRos9wRU.cjs → page-lock-DGhR_url.cjs} +1 -1
  78. package/dist/{page-locked-dialog-D2q9qkPk.js → page-locked-dialog-CNCUCcvH.js} +3 -3
  79. package/dist/{page-locked-dialog-D57d2gvn.cjs → page-locked-dialog-DTLnbfuP.cjs} +1 -1
  80. package/dist/{page-manager-new-D6DVIx2S.js → page-manager-new-BFFOLh-l.js} +4 -4
  81. package/dist/{page-manager-new-aE198gKS.cjs → page-manager-new-Dd2c-Q_O.cjs} +1 -1
  82. package/dist/{page-manager-search-and-filter-DGQEgKzy.cjs → page-manager-search-and-filter-BKdQUJ2W.cjs} +1 -1
  83. package/dist/{page-manager-search-and-filter-CuZkQaZg.js → page-manager-search-and-filter-C1IWF_4d.js} +3 -3
  84. package/dist/page-revisions-content-D0cflnj1.cjs +1 -0
  85. package/dist/{page-revisions-content-5rbicFbD.js → page-revisions-content-DHapiLck.js} +75 -67
  86. package/dist/pages.cjs +1 -1
  87. package/dist/pages.d.ts +2 -1
  88. package/dist/pages.js +1 -1
  89. package/dist/{publish-pages-content-WeGk-YLC.js → publish-pages-content-Bd2zJHtK.js} +4 -4
  90. package/dist/{publish-pages-content-DBb8M3TG.cjs → publish-pages-content-BqLcnKry.cjs} +1 -1
  91. package/dist/{register-chai-top-bar-ESJHs5s-.js → register-chai-top-bar-CX_JkRJn.js} +78 -78
  92. package/dist/register-chai-top-bar-DWTuRU53.cjs +1 -0
  93. package/dist/render.d.ts +2 -1
  94. package/dist/{rte-widget-modal-DBoPRXq-.cjs → rte-widget-modal-DiB5BjH1.cjs} +1 -1
  95. package/dist/{rte-widget-modal-J-_AytmK.js → rte-widget-modal-RS8PMKOn.js} +7 -7
  96. package/dist/runtime-client.cjs +1 -0
  97. package/dist/runtime-client.d.ts +158 -0
  98. package/dist/runtime-client.js +32 -0
  99. package/dist/runtime.cjs +1 -1
  100. package/dist/runtime.d.ts +1 -163
  101. package/dist/runtime.js +71 -72
  102. package/dist/{save-to-lib-CQQxoovF.js → save-to-lib--6ZXHEbC.js} +3 -3
  103. package/dist/{save-to-lib-0ysmXVbI.cjs → save-to-lib-BXJvaC1N.cjs} +1 -1
  104. package/dist/{selected-block-display-BWupQFoQ.cjs → selected-block-display-BfpJda4h.cjs} +1 -1
  105. package/dist/{selected-block-display-CgoXS8Hr.js → selected-block-display-CUnCqXQw.js} +3 -3
  106. package/dist/{seo-panel-B798Myp_.js → seo-panel-Bs-FcY1A.js} +3 -3
  107. package/dist/{seo-panel-BkFbXIL0.cjs → seo-panel-CQITMfZ6.cjs} +1 -1
  108. package/dist/{shared-json-ld-Clg_UEhd.js → shared-json-ld-7EujD341.js} +3 -3
  109. package/dist/{shared-json-ld-Cn3MCW6I.cjs → shared-json-ld-DDXXi-Mj.cjs} +1 -1
  110. package/dist/{slug-input-BHyD8cxk.cjs → slug-input-CsVJAr7r.cjs} +1 -1
  111. package/dist/{slug-input-hX5VaZpj.js → slug-input-DoEIq5rs.js} +2 -2
  112. package/dist/supabase-actions.cjs +1 -1
  113. package/dist/supabase-actions.d.ts +5 -0
  114. package/dist/supabase-actions.js +1 -1
  115. package/dist/{take-over-request-s1L5Yofb.js → take-over-request-C14kJ356.js} +3 -3
  116. package/dist/{take-over-request-Dzczo20q.cjs → take-over-request-D5Oo3MPo.cjs} +1 -1
  117. package/dist/{theme-panel-footer-sK6bYhEb.js → theme-panel-footer-Dvknelm8.js} +3 -3
  118. package/dist/{theme-panel-footer-NTNCL0SW.cjs → theme-panel-footer-Eeibz2JA.cjs} +1 -1
  119. package/dist/{translation-warning-modal-BfM4HGck.cjs → translation-warning-modal-CPzdHzqq.cjs} +1 -1
  120. package/dist/{translation-warning-modal-Jadkcver.js → translation-warning-modal-YlzP2XoO.js} +2 -2
  121. package/dist/{unmark-as-template-CqkHI3gR.cjs → unmark-as-template-BGDwuCnv.cjs} +1 -1
  122. package/dist/{unmark-as-template-D5b775eR.js → unmark-as-template-CPJvQk7L.js} +3 -3
  123. package/dist/{unpublish-page-BT5bCfs6.cjs → unpublish-page-BMowW5wT.cjs} +1 -1
  124. package/dist/{unpublish-page-DLLLgY43.js → unpublish-page-DlFHLlmI.js} +3 -3
  125. package/dist/web-blocks.cjs +1 -1
  126. package/dist/web-blocks.js +43 -43
  127. package/dist/{web-preview-C_yFwxEe.js → web-preview-BUnv3jIc.js} +2 -2
  128. package/dist/{web-preview-DU1MgppY.cjs → web-preview-D8GQHCjs.cjs} +1 -1
  129. package/package.json +29 -30
  130. package/dist/css-import-modal--bSJR-_y.cjs +0 -13
  131. package/dist/index-B-rSiAp_.cjs +0 -1
  132. package/dist/index-B0e71wJ1.cjs +0 -160
  133. package/dist/index-DKuwxj1x.cjs +0 -5
  134. package/dist/index-Dxfyt4d4.js +0 -39
  135. package/dist/page-revisions-content-CefqOvKX.cjs +0 -1
  136. package/dist/register-chai-top-bar-BqwKw4uy.cjs +0 -1
package/README.md CHANGED
@@ -1,77 +1,100 @@
1
- # Chai Builder - Open Source Tailwind Builder
1
+ # Chai Builder - Open Source React Website Builder
2
2
 
3
- Chai Builder is an Open Source Low Code React + Tailwind CSS Visual Builder.
4
- It allows you to create web pages visually by dragging and dropping elements onto the canvas.
5
- It is a simple React component that renders a full-fledged visual builder into any React application.
3
+ [![npm version](https://img.shields.io/npm/v/@chaibuilder/sdk.svg)](https://www.npmjs.com/package/@chaibuilder/sdk)
4
+ [![License](https://img.shields.io/npm/l/@chaibuilder/sdk.svg)](https://github.com/chaibuilder/chaibuilder-sdk/blob/main/LICENSE)
6
5
 
7
- Docs: https://docs.chaibuilder.com/
6
+ Chai Builder is a **full open-source React website builder** that empowers developers to create stunning web pages visually using drag-and-drop functionality. Built with React and Tailwind CSS, it seamlessly integrates into your existing projects.
8
7
 
9
- Demo: https://chaibuilder-sdk.vercel.app/
8
+ 🚀 **Out-of-the-box support for:**
9
+
10
+ - **Next.js 16**
11
+ - **Tailwind CSS v3+**
12
+
13
+ 📚 **[CodeWiki](https://codewiki.google/github.com/chaibuilder/sdk)** | **[Documentation](https://docs.chaibuilder.com/)** | 🎨 **[Live Demo](https://chaibuilder-sdk.vercel.app/)**
10
14
 
11
15
  ![CHAI BUILDER](https://fldwljgzcktqnysdkxnn.supabase.co/storage/v1/object/public/dam-assets/assets/chai-builder.jpg)
12
16
 
17
+ ## ✨ Features
18
+
19
+ - 🎨 **Visual Drag & Drop Builder** - Create pages visually without writing code
20
+ - ⚛️ **React-First** - Built as a React component for seamless integration
21
+ - 🎯 **Tailwind CSS Powered** - Leverage the full power of Tailwind CSS v3+
22
+ - 🚀 **Next.js 16 Ready** - Full support for the latest Next.js features
23
+ - 🔧 **Two Flexible Modes** - Use as a core builder component or as a complete Next.js website builder
24
+ - 📦 **Extensible** - Add custom blocks and components
25
+ - 💾 **Data Control** - Full control over how and where you save your data
26
+ - 🎭 **Framework Agnostic Rendering** - Render blocks in any React application
27
+
28
+ ---
29
+
30
+ ## 📦 Packages
31
+
32
+ Chai Builder is available in two packages:
33
+
13
34
  ---
14
35
 
15
- ### Manual installation:
36
+ ### `@chaibuilder/sdk` - Core Builder
37
+
38
+ **For any React application**
16
39
 
17
- Step 1: Install the packages
40
+ The core builder package that can be integrated as a standard React component into any React application. Perfect for building custom page builders and visual editors.
18
41
 
19
- ```bash
20
- npm install @chaibuilder/sdk
21
- ```
42
+ **Core Features:**
22
43
 
23
- Step 2: Add a custom tailwind config.
24
- Create a new file: `tailwind.chaibuilder.config.ts`. <br /> Pass the path to your source files.
44
+ - 🎨 **Drag & Drop React Builder** - Visual builder component for React
45
+ - 🔧 **Extensible API** - Add custom layouts with ease
46
+ - 🪝 **Inner Hooks** - Exposed hooks to create custom layouts
47
+ - 📦 **Custom Blocks** - Register custom blocks and block settings
48
+ - 🎛️ **Custom Panels** - Add your own custom panels
49
+ - 🔗 **Data Binding** - Built-in data-binding support
50
+ - 🌍 **i18n Support** - Internationalization ready
51
+ - 🤖 **AI Panel** - AI integration (no backend required)
52
+ - 🧩 **Partial Blocks** - Reusable header, footer components
53
+ - 🎨 **Theme System** - Customizable theming
54
+ - 🎯 **Design Tokens** - Design system integration
55
+ - 📄 **Import HTML** - Import existing HTML content
25
56
 
26
- ```tsx
27
- import { getChaiBuilderTailwindConfig } from "@chaibuilder/sdk/tailwind";
28
- export default getChaiBuilderTailwindConfig(["./src/**/*.{js,ts,jsx,tsx}"]);
29
- ```
57
+ 📚 **[View Documentation](https://docs.chaibuilder.com/)**
30
58
 
31
- Step 3: Create a new `chaibuilder.tailwind.css`
59
+ ---
60
+
61
+ ### `@chaibuilder/next` - Next.js Website Builder
32
62
 
33
- ```css
34
- @config "./tailwind.chaibuilder.config.ts";
63
+ **For public content-heavy sites**
35
64
 
36
- @tailwind base;
37
- @tailwind components;
38
- @tailwind utilities;
39
- ```
65
+ A more powerful Next.js-specific implementation designed for blogs, marketing sites, documentation, and any public-facing content. Built with **SSG (Static Site Generation) + ISR (Incremental Static Regeneration)** for optimal performance.
40
66
 
41
- Step 4: Add the builder to your page.
67
+ **All Core Features Plus:**
42
68
 
43
- ```tsx
44
- import "./chaibuilder.tailwind.css";
45
- import "@chaibuilder/sdk/styles";
46
- import { loadWebBlocks } from "@chaibuilder/sdk/web-blocks";
47
- import { ChaiBuilderEditor } from "@/core/main";
69
+ - 📄 **Page Types** - Define custom page types with specific layouts
70
+ - 📚 **Collections** - Manage content collections (blogs, products, portfolios)
71
+ - 🖼️ **Media Manager** - Built-in media manager with image editor
72
+ - 🤖 **AI Assistant** - Create and edit UI components and content with AI
73
+ - 🔍 **SEO & JSON-LD** - Advanced SEO features with structured data
74
+ - 🌐 **Multilingual** - Full multilingual support
75
+ - 👁️ **Preview Mode** - Live preview before publishing
76
+ - 📝 **Revisions & Compare** - Version control with comparison tools
77
+ - 📚 **Library Blocks** - Shared block library across projects
78
+ - 👥 **Multi-User Support** - Collaborative editing with multiple users
79
+ - 🔒 **Page Lock** - Prevent conflicts with page locking
80
+ - � **CMS Integration** - Connect to any headless CMS
81
+ - �🔐 **BYO Stack** - Bring Your Own Auth, Database (Postgres), and Storage
48
82
 
49
- loadWebBlocks();
83
+ 🚀 **Get Started:** [Next.js + Supabase Starter](https://github.com/chaibuilder/chaibuilder-next-supabase-starter) (Work in Progress)
50
84
 
51
- const BuilderFullPage = () => {
52
- return (
53
- <ChaiBuilderEditor
54
- blocks={[{ _type: "Heading", _id: "a", content: "This is a heading", styles: "#styles:,text-3xl font-bold" }]}
55
- onSave={async ({ blocks, providers, brandingOptions }) => {
56
- console.log(blocks, providers, brandingOptions);
57
- return true;
58
- }}
59
- />
60
- );
61
- };
62
- ```
85
+ ---
63
86
 
64
- ### Render the blocks on your page.
87
+ ## 🎯 Use Cases
65
88
 
66
- ```tsx
67
- export default () => {
68
- return <RenderChaiBlocks blocks={blocks} />;
69
- };
70
- ```
89
+ - **Landing Pages** - Build beautiful landing pages with ease
90
+ - **Marketing Websites** - Create and update marketing content visually
91
+ - **Content Management** - Empower non-technical users to create pages
92
+ - **Rapid Prototyping** - Quickly prototype and iterate on designs
93
+ - **White-Label Solutions** - Build page builders into your SaaS products
71
94
 
72
95
  ---
73
96
 
74
- ## Support
97
+ ## 🤝 Support
75
98
 
76
99
  If you like the project, you can assist us in expanding. ChaiBuilder is a collaborative endeavor crafted by developers in their free time. We value every contribution, no matter how modest, as each one represents a significant step forward in various ways, particularly in fueling our drive to enhance this tool continually.
77
100
 
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./AP7HFJJL-5ZR38Hyh.cjs"),t=require("./index-DKuwxj1x.cjs");var u=r=>{const[o,n]=e.createLocalStorage({prefix:"TanstackQueryDevtools"}),a=t.getPreferredColorScheme(),c=t.createMemo(()=>{const l=r.theme||o.theme_preference||e.THEME_PREFERENCE;return l!=="system"?l:a()});return t.createComponent(e.QueryDevtoolsContext.Provider,{value:r,get children(){return t.createComponent(e.PiPProvider,{disabled:!0,localStore:o,setLocalStore:n,get children(){return t.createComponent(e.ThemeContext.Provider,{value:c,get children(){return t.createComponent(e.ParentPanel,{get children(){return t.createComponent(e.ContentView,{localStore:o,setLocalStore:n,get onClose(){return r.onClose},showPanelViewOnly:!0})}})}})}})}})},s=u;exports.default=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./AP7HFJJL-cz754qhG.cjs"),t=require("./index-BRJCj7c_.cjs");var u=r=>{const[o,n]=e.createLocalStorage({prefix:"TanstackQueryDevtools"}),a=t.getPreferredColorScheme(),c=t.createMemo(()=>{const l=r.theme||o.theme_preference||e.THEME_PREFERENCE;return l!=="system"?l:a()});return t.createComponent(e.QueryDevtoolsContext.Provider,{value:r,get children(){return t.createComponent(e.PiPProvider,{disabled:!0,localStore:o,setLocalStore:n,get children(){return t.createComponent(e.ThemeContext.Provider,{value:c,get children(){return t.createComponent(e.ParentPanel,{get children(){return t.createComponent(e.ContentView,{localStore:o,setLocalStore:n,get onClose(){return r.onClose},showPanelViewOnly:!0})}})}})}})}})},s=u;exports.default=s;
@@ -1,5 +1,5 @@
1
- import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-CAGB9iMp.js";
2
- import { w as h, x as v, y as e } from "./index-Bn0fFN58.js";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-ComnZw7J.js";
2
+ import { w as h, x as v, y as e } from "./index-D5d4QDq7.js";
3
3
  var C = (r) => {
4
4
  const [t, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,7 +1,7 @@
1
1
  var xs = Object.defineProperty;
2
2
  var $s = (e, t, n) => t in e ? xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Re = (e, t, n) => $s(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { z as $e, C as B, D as ft, F as H, x as P, y as m, G as No, H as ve, S as K, I as _, J as k, K as U, M as F, N as Cs, O as ur, Q as Ce, R as V, U as Qn, V as Yn, W as gt, X as T, Y as Ss, Z as Ut, _ as _t, $ as qe, a0 as ks, a1 as Rt, a2 as Bt, a3 as Es, a4 as Ds, a5 as En, a6 as As, a7 as Ht, a8 as Ho, a9 as Ms, aa as Ts, ab as W, ac as Vr, ad as Fs, ae as Is, af as cr, ag as Os, ah as Ls, ai as Hn, aj as Ps, ak as qs, al as ie, am as _s, an as Rs } from "./index-Bn0fFN58.js";
4
+ import { z as $e, C as B, D as ft, F as H, x as P, y as m, G as No, H as ve, S as K, I as _, J as k, K as U, M as F, N as Cs, O as ur, Q as Ce, R as V, U as Qn, V as Yn, W as gt, X as T, Y as Ss, Z as Ut, _ as _t, $ as qe, a0 as ks, a1 as Rt, a2 as Bt, a3 as Es, a4 as Ds, a5 as En, a6 as As, a7 as Ht, a8 as Ho, a9 as Ms, aa as Ts, ab as W, ac as Vr, ad as Fs, ae as Is, af as cr, ag as Os, ah as Ls, ai as Hn, aj as Ps, ak as qs, al as ie, am as _s, an as Rs } from "./index-D5d4QDq7.js";
5
5
  var zs = (e) => e != null, Ks = (e) => e.filter(zs);
6
6
  function Bs(e) {
7
7
  return (...t) => {