@btst/stack 2.6.0 → 2.6.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.
Files changed (165) hide show
  1. package/dist/components/auto-form/index.cjs +8 -0
  2. package/dist/components/auto-form/index.d.cts +26 -0
  3. package/dist/components/auto-form/index.d.mts +26 -0
  4. package/dist/components/auto-form/index.d.ts +26 -0
  5. package/dist/components/auto-form/index.mjs +1 -0
  6. package/dist/components/empty/index.cjs +12 -0
  7. package/dist/components/empty/index.d.cts +15 -0
  8. package/dist/components/empty/index.d.mts +15 -0
  9. package/dist/components/empty/index.d.ts +15 -0
  10. package/dist/components/empty/index.mjs +1 -0
  11. package/dist/components/form-builder/index.cjs +16 -0
  12. package/dist/components/form-builder/index.d.cts +385 -0
  13. package/dist/components/form-builder/index.d.mts +385 -0
  14. package/dist/components/form-builder/index.d.ts +385 -0
  15. package/dist/components/form-builder/index.mjs +4 -0
  16. package/dist/components/markdown/index.cjs +9 -0
  17. package/dist/components/markdown/index.d.cts +30 -0
  18. package/dist/components/markdown/index.d.mts +30 -0
  19. package/dist/components/markdown/index.d.ts +30 -0
  20. package/dist/components/markdown/index.mjs +2 -0
  21. package/dist/components/markdown/style.css +394 -0
  22. package/dist/components/minimal-tiptap/style.css +548 -0
  23. package/dist/components/multi-select/index.cjs +7 -0
  24. package/dist/components/multi-select/index.d.cts +78 -0
  25. package/dist/components/multi-select/index.d.mts +78 -0
  26. package/dist/components/multi-select/index.d.ts +78 -0
  27. package/dist/components/multi-select/index.mjs +1 -0
  28. package/dist/components/search-select/index.cjs +7 -0
  29. package/dist/components/search-select/index.d.cts +15 -0
  30. package/dist/components/search-select/index.d.mts +15 -0
  31. package/dist/components/search-select/index.d.ts +15 -0
  32. package/dist/components/search-select/index.mjs +1 -0
  33. package/dist/components/stepped-auto-form/index.cjs +7 -0
  34. package/dist/components/stepped-auto-form/index.d.cts +37 -0
  35. package/dist/components/stepped-auto-form/index.d.mts +37 -0
  36. package/dist/components/stepped-auto-form/index.d.ts +37 -0
  37. package/dist/components/stepped-auto-form/index.mjs +1 -0
  38. package/dist/components/ui-builder/style.css +552 -0
  39. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.cjs +1 -1
  40. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.mjs +1 -1
  41. package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0__react@19.2.0/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +2 -2
  42. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
  43. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +3 -3
  44. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +1 -1
  45. package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-layout.cjs +20 -2
  46. package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-layout.mjs +20 -2
  47. package/dist/packages/stack/src/plugins/blog/client/components/forms/markdown-editor-with-overrides.cjs +23 -0
  48. package/dist/packages/stack/src/plugins/blog/client/components/forms/markdown-editor-with-overrides.mjs +21 -0
  49. package/dist/packages/stack/src/plugins/blog/client/components/forms/markdown-editor.cjs +11 -12
  50. package/dist/packages/stack/src/plugins/blog/client/components/forms/markdown-editor.mjs +11 -12
  51. package/dist/packages/stack/src/plugins/blog/client/components/forms/post-forms.cjs +2 -2
  52. package/dist/packages/stack/src/plugins/blog/client/components/forms/post-forms.mjs +2 -2
  53. package/dist/packages/stack/src/plugins/blog/client/components/shared/search-input.cjs +0 -3
  54. package/dist/packages/stack/src/plugins/blog/client/components/shared/search-input.mjs +1 -1
  55. package/dist/packages/stack/src/plugins/blog/client/components/shared/search-modal.cjs +0 -3
  56. package/dist/packages/stack/src/plugins/blog/client/components/shared/search-modal.mjs +1 -1
  57. package/dist/packages/ui/src/components/auto-form/index.cjs +12 -2
  58. package/dist/packages/ui/src/components/auto-form/index.mjs +9 -2
  59. package/dist/packages/ui/src/components/auto-form/stepped-auto-form.cjs +2 -2
  60. package/dist/packages/ui/src/components/empty.cjs +28 -0
  61. package/dist/packages/ui/src/components/empty.mjs +27 -1
  62. package/dist/packages/ui/src/components/form-builder/components/index.mjs +2 -2
  63. package/dist/packages/ui/src/components/form-builder/edit-field-dialog.cjs +1 -1
  64. package/dist/packages/ui/src/components/form-builder/index.mjs +2 -2
  65. package/dist/packages/ui/src/components/form.mjs +1 -1
  66. package/dist/packages/ui/src/components/kanban.mjs +1 -1
  67. package/dist/packages/ui/src/components/multi-select.mjs +2 -2
  68. package/dist/packages/ui/src/components/ui-builder/internal/config-panel.cjs +1 -1
  69. package/dist/packages/ui/src/components/ui-builder/internal/props-panel.cjs +1 -1
  70. package/dist/plugins/ai-chat/client/components/index.d.cts +1 -1
  71. package/dist/plugins/ai-chat/client/components/index.d.mts +1 -1
  72. package/dist/plugins/ai-chat/client/components/index.d.ts +1 -1
  73. package/dist/plugins/ai-chat/client/index.d.cts +2 -2
  74. package/dist/plugins/ai-chat/client/index.d.mts +2 -2
  75. package/dist/plugins/ai-chat/client/index.d.ts +2 -2
  76. package/dist/plugins/blog/api/index.d.cts +2 -2
  77. package/dist/plugins/blog/api/index.d.mts +2 -2
  78. package/dist/plugins/blog/api/index.d.ts +2 -2
  79. package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
  80. package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
  81. package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
  82. package/dist/plugins/blog/client/index.d.cts +2 -2
  83. package/dist/plugins/blog/client/index.d.mts +2 -2
  84. package/dist/plugins/blog/client/index.d.ts +2 -2
  85. package/dist/plugins/blog/query-keys.d.cts +2 -2
  86. package/dist/plugins/blog/query-keys.d.mts +2 -2
  87. package/dist/plugins/blog/query-keys.d.ts +2 -2
  88. package/dist/plugins/cms/client/index.d.cts +1 -1
  89. package/dist/plugins/cms/client/index.d.mts +1 -1
  90. package/dist/plugins/cms/client/index.d.ts +1 -1
  91. package/dist/plugins/form-builder/client/components/index.d.cts +1 -1
  92. package/dist/plugins/form-builder/client/components/index.d.mts +1 -1
  93. package/dist/plugins/form-builder/client/components/index.d.ts +1 -1
  94. package/dist/plugins/form-builder/client/index.d.cts +1 -1
  95. package/dist/plugins/form-builder/client/index.d.mts +1 -1
  96. package/dist/plugins/form-builder/client/index.d.ts +1 -1
  97. package/dist/plugins/kanban/api/index.d.cts +1 -1
  98. package/dist/plugins/kanban/api/index.d.mts +1 -1
  99. package/dist/plugins/kanban/api/index.d.ts +1 -1
  100. package/dist/plugins/kanban/query-keys.d.cts +1 -1
  101. package/dist/plugins/kanban/query-keys.d.mts +1 -1
  102. package/dist/plugins/kanban/query-keys.d.ts +1 -1
  103. package/dist/plugins/ui-builder/client/components/index.d.cts +2 -2
  104. package/dist/plugins/ui-builder/client/components/index.d.mts +2 -2
  105. package/dist/plugins/ui-builder/client/components/index.d.ts +2 -2
  106. package/dist/plugins/ui-builder/client/hooks/index.d.cts +3 -3
  107. package/dist/plugins/ui-builder/client/hooks/index.d.mts +3 -3
  108. package/dist/plugins/ui-builder/client/hooks/index.d.ts +3 -3
  109. package/dist/plugins/ui-builder/client/index.d.cts +3 -3
  110. package/dist/plugins/ui-builder/client/index.d.mts +3 -3
  111. package/dist/plugins/ui-builder/client/index.d.ts +3 -3
  112. package/dist/plugins/ui-builder/index.d.cts +3 -3
  113. package/dist/plugins/ui-builder/index.d.mts +3 -3
  114. package/dist/plugins/ui-builder/index.d.ts +3 -3
  115. package/dist/shared/{stack.B2DwzF3r.d.ts → stack.ASwEoINr.d.ts} +1 -1
  116. package/dist/shared/{stack.C5ZSOJGJ.d.cts → stack.B1srlBud.d.mts} +1 -1
  117. package/dist/shared/{stack.CQAZwXhV.d.cts → stack.B8vT-Yt4.d.mts} +3 -3
  118. package/dist/shared/{stack.D3BsrpAz.d.ts → stack.BAT540yW.d.ts} +3 -3
  119. package/dist/shared/{stack.D0QupDcQ.d.ts → stack.BK9Z2dcL.d.ts} +1 -1
  120. package/dist/shared/{stack.CNLHlv7r.d.mts → stack.BwA7trxA.d.cts} +3 -3
  121. package/dist/shared/{stack.Cl7ok_cY.d.cts → stack.CFECM0ew.d.cts} +1 -1
  122. package/dist/shared/stack.CZMWR72v.d.cts +10 -0
  123. package/dist/shared/stack.CZMWR72v.d.mts +10 -0
  124. package/dist/shared/stack.CZMWR72v.d.ts +10 -0
  125. package/dist/shared/{stack.VMmQdbsJ.d.mts → stack.DVtk5CNw.d.mts} +1 -1
  126. package/dist/shared/{stack.B8_74ror.d.ts → stack.DXnclTG7.d.ts} +4 -4
  127. package/dist/shared/{stack.CL4mKxe7.d.mts → stack.DaZM10cp.d.cts} +4 -4
  128. package/dist/shared/{stack.Dq4qVr1F.d.mts → stack.DmpPDPxA.d.cts} +1 -1
  129. package/dist/shared/{stack.C21-LFX8.d.cts → stack.cfCkioTe.d.mts} +4 -4
  130. package/dist/shared/stack.fdi94T4S.d.cts +291 -0
  131. package/dist/shared/stack.fdi94T4S.d.mts +291 -0
  132. package/dist/shared/stack.fdi94T4S.d.ts +291 -0
  133. package/dist/shared/{stack.BV9hnvu4.d.cts → stack.sba323Ml.d.cts} +2 -0
  134. package/dist/shared/{stack.BV9hnvu4.d.mts → stack.sba323Ml.d.mts} +2 -0
  135. package/dist/shared/{stack.BV9hnvu4.d.ts → stack.sba323Ml.d.ts} +2 -0
  136. package/package.json +97 -3
  137. package/src/components/auto-form/index.ts +12 -0
  138. package/src/components/empty/index.ts +8 -0
  139. package/src/components/form-builder/index.ts +23 -0
  140. package/src/components/kanban/index.ts +9 -0
  141. package/src/components/markdown/index.ts +5 -0
  142. package/src/components/markdown/style.css +3 -0
  143. package/src/components/minimal-tiptap/index.ts +5 -0
  144. package/src/components/minimal-tiptap/style.css +1 -0
  145. package/src/components/multi-select/index.ts +5 -0
  146. package/src/components/search-select/index.ts +1 -0
  147. package/src/components/stepped-auto-form/index.ts +5 -0
  148. package/src/components/ui-builder/index.ts +50 -0
  149. package/src/components/ui-builder/style.css +5 -0
  150. package/src/plugins/ai-chat/client/components/chat-layout.tsx +22 -1
  151. package/src/plugins/blog/client/components/forms/markdown-editor-with-overrides.tsx +29 -0
  152. package/src/plugins/blog/client/components/forms/markdown-editor.tsx +24 -21
  153. package/src/plugins/blog/client/components/forms/post-forms.tsx +2 -2
  154. package/src/plugins/blog/client/components/shared/posts-list.tsx +1 -1
  155. package/src/plugins/blog/client/components/shared/search-input.tsx +0 -2
  156. package/src/plugins/blog/client/components/shared/search-modal.tsx +0 -2
  157. package/dist/shared/stack.8nldKomx.d.cts +0 -114
  158. package/dist/shared/stack.8nldKomx.d.mts +0 -114
  159. package/dist/shared/stack.8nldKomx.d.ts +0 -114
  160. package/dist/shared/{stack.BWp0hcm9.d.cts → stack.BQmuNl5p.d.cts} +3 -3
  161. package/dist/shared/{stack.BWp0hcm9.d.mts → stack.BQmuNl5p.d.mts} +3 -3
  162. package/dist/shared/{stack.BWp0hcm9.d.ts → stack.BQmuNl5p.d.ts} +3 -3
  163. package/dist/shared/{stack.Ba_Ks8qi.d.mts → stack.CxaFNQCV.d.mts} +9 -9
  164. package/dist/shared/{stack.DMobugrZ.d.ts → stack.j75TpKh2.d.ts} +9 -9
  165. package/dist/shared/{stack.CFqqZUes.d.cts → stack.n1_i1p2B.d.cts} +9 -9
@@ -0,0 +1,23 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ const jsxRuntime = require('react/jsx-runtime');
5
+ const context = require('@btst/stack/context');
6
+ const index = require('../../localization/index.cjs');
7
+ const markdownEditor = require('./markdown-editor.cjs');
8
+
9
+ function MarkdownEditorWithOverrides(props) {
10
+ const { uploadImage, localization } = context.usePluginOverrides("blog", {
11
+ localization: index.BLOG_LOCALIZATION
12
+ });
13
+ return /* @__PURE__ */ jsxRuntime.jsx(
14
+ markdownEditor.MarkdownEditor,
15
+ {
16
+ ...props,
17
+ uploadImage,
18
+ placeholder: localization?.BLOG_FORMS_EDITOR_PLACEHOLDER
19
+ }
20
+ );
21
+ }
22
+
23
+ exports.MarkdownEditorWithOverrides = MarkdownEditorWithOverrides;
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { usePluginOverrides } from '@btst/stack/context';
4
+ import { BLOG_LOCALIZATION } from '../../localization/index.mjs';
5
+ import { MarkdownEditor } from './markdown-editor.mjs';
6
+
7
+ function MarkdownEditorWithOverrides(props) {
8
+ const { uploadImage, localization } = usePluginOverrides("blog", {
9
+ localization: BLOG_LOCALIZATION
10
+ });
11
+ return /* @__PURE__ */ jsx(
12
+ MarkdownEditor,
13
+ {
14
+ ...props,
15
+ uploadImage,
16
+ placeholder: localization?.BLOG_FORMS_EDITOR_PLACEHOLDER
17
+ }
18
+ );
19
+ }
20
+
21
+ export { MarkdownEditorWithOverrides };
@@ -10,17 +10,14 @@ const listener = require('@milkdown/kit/plugin/listener');
10
10
  const model = require('@milkdown/kit/prose/model');
11
11
  const state = require('@milkdown/kit/prose/state');
12
12
  const React = require('react');
13
- const context = require('@btst/stack/context');
14
- const index = require('../../localization/index.cjs');
15
13
 
16
14
  function MarkdownEditor({
17
15
  value,
18
16
  onChange,
19
- className
17
+ className,
18
+ uploadImage,
19
+ placeholder = "Write something..."
20
20
  }) {
21
- const { uploadImage, localization } = context.usePluginOverrides("blog", {
22
- localization: index.BLOG_LOCALIZATION
23
- });
24
21
  const containerRef = React.useRef(null);
25
22
  const crepeRef = React.useRef(null);
26
23
  const isReadyRef = React.useRef(false);
@@ -38,14 +35,16 @@ function MarkdownEditor({
38
35
  defaultValue: initialValueRef.current,
39
36
  featureConfigs: {
40
37
  [crepe.CrepeFeature.Placeholder]: {
41
- text: localization.BLOG_FORMS_EDITOR_PLACEHOLDER
38
+ text: placeholder
42
39
  },
43
- [crepe.CrepeFeature.ImageBlock]: {
44
- onUpload: async (file) => {
45
- const url = await uploadImage(file);
46
- return url;
40
+ ...uploadImage ? {
41
+ [crepe.CrepeFeature.ImageBlock]: {
42
+ onUpload: async (file) => {
43
+ const url = await uploadImage(file);
44
+ return url;
45
+ }
47
46
  }
48
- }
47
+ } : {}
49
48
  }
50
49
  });
51
50
  throttledOnChangeRef.current = utils.throttle((markdown) => {
@@ -8,17 +8,14 @@ import { listenerCtx, listener } from '@milkdown/kit/plugin/listener';
8
8
  import { Slice } from '@milkdown/kit/prose/model';
9
9
  import { Selection } from '@milkdown/kit/prose/state';
10
10
  import { useRef, useState, useLayoutEffect } from 'react';
11
- import { usePluginOverrides } from '@btst/stack/context';
12
- import { BLOG_LOCALIZATION } from '../../localization/index.mjs';
13
11
 
14
12
  function MarkdownEditor({
15
13
  value,
16
14
  onChange,
17
- className
15
+ className,
16
+ uploadImage,
17
+ placeholder = "Write something..."
18
18
  }) {
19
- const { uploadImage, localization } = usePluginOverrides("blog", {
20
- localization: BLOG_LOCALIZATION
21
- });
22
19
  const containerRef = useRef(null);
23
20
  const crepeRef = useRef(null);
24
21
  const isReadyRef = useRef(false);
@@ -36,14 +33,16 @@ function MarkdownEditor({
36
33
  defaultValue: initialValueRef.current,
37
34
  featureConfigs: {
38
35
  [CrepeFeature.Placeholder]: {
39
- text: localization.BLOG_FORMS_EDITOR_PLACEHOLDER
36
+ text: placeholder
40
37
  },
41
- [CrepeFeature.ImageBlock]: {
42
- onUpload: async (file) => {
43
- const url = await uploadImage(file);
44
- return url;
38
+ ...uploadImage ? {
39
+ [CrepeFeature.ImageBlock]: {
40
+ onUpload: async (file) => {
41
+ const url = await uploadImage(file);
42
+ return url;
43
+ }
45
44
  }
46
- }
45
+ } : {}
47
46
  }
48
47
  });
49
48
  throttledOnChangeRef.current = throttle((markdown) => {
@@ -23,8 +23,8 @@ const emptyList = require('../shared/empty-list.cjs');
23
23
  const tagsMultiselect = require('./tags-multiselect.cjs');
24
24
 
25
25
  const MarkdownEditor = React.lazy(
26
- () => import('./markdown-editor.cjs').then((module) => ({
27
- default: module.MarkdownEditor
26
+ () => import('./markdown-editor-with-overrides.cjs').then((module) => ({
27
+ default: module.MarkdownEditorWithOverrides
28
28
  }))
29
29
  );
30
30
  function PostFormBody({
@@ -21,8 +21,8 @@ import { EmptyList } from '../shared/empty-list.mjs';
21
21
  import { TagsMultiSelect } from './tags-multiselect.mjs';
22
22
 
23
23
  const MarkdownEditor = lazy(
24
- () => import('./markdown-editor.mjs').then((module) => ({
25
- default: module.MarkdownEditor
24
+ () => import('./markdown-editor-with-overrides.mjs').then((module) => ({
25
+ default: module.MarkdownEditorWithOverrides
26
26
  }))
27
27
  );
28
28
  function PostFormBody({
@@ -1,8 +1,6 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
4
  const jsxRuntime = require('react/jsx-runtime');
7
5
  const React = require('react');
8
6
  const blogHooks = require('../../hooks/blog-hooks.cjs');
@@ -133,4 +131,3 @@ function SearchInput({
133
131
  }
134
132
 
135
133
  exports.SearchInput = SearchInput;
136
- exports.default = SearchInput;
@@ -114,4 +114,4 @@ function SearchInput({
114
114
  );
115
115
  }
116
116
 
117
- export { SearchInput, SearchInput as default };
117
+ export { SearchInput };
@@ -1,8 +1,6 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
4
  const jsxRuntime = require('react/jsx-runtime');
7
5
  const LucideIcons = require('lucide-react');
8
6
  const React = require('react');
@@ -132,4 +130,3 @@ function SearchModal({
132
130
  }
133
131
 
134
132
  exports.SearchModal = SearchModal;
135
- exports.default = SearchModal;
@@ -113,4 +113,4 @@ function SearchModal({
113
113
  ] });
114
114
  }
115
115
 
116
- export { SearchModal, SearchModal as default };
116
+ export { SearchModal };
@@ -1,11 +1,13 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
4
6
  const jsxRuntime = require('react/jsx-runtime');
5
7
  const form = require('../form.cjs');
6
8
  const React = require('react');
7
9
  const reactHookForm = require('react-hook-form');
8
- require('../button.cjs');
10
+ const button = require('../button.cjs');
9
11
  const utils = require('../../lib/utils.cjs');
10
12
  const zod = require('@hookform/resolvers/zod');
11
13
  const object = require('./fields/object.cjs');
@@ -15,6 +17,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
15
17
 
16
18
  const React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
19
 
20
+ function AutoFormSubmit({
21
+ children,
22
+ className,
23
+ disabled
24
+ }) {
25
+ return /* @__PURE__ */ jsxRuntime.jsx(button.Button, { type: "submit", disabled, className, children: children ?? "Submit" });
26
+ }
18
27
  function AutoForm({
19
28
  formSchema,
20
29
  values: valuesProp,
@@ -74,4 +83,5 @@ function AutoForm({
74
83
  ) }) });
75
84
  }
76
85
 
77
- module.exports = AutoForm;
86
+ exports.AutoFormSubmit = AutoFormSubmit;
87
+ exports.default = AutoForm;
@@ -3,12 +3,19 @@ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { Form } from '../form.mjs';
4
4
  import React__default from 'react';
5
5
  import { useForm } from 'react-hook-form';
6
- import '../button.mjs';
6
+ import { Button } from '../button.mjs';
7
7
  import { cn } from '../../lib/utils.mjs';
8
8
  import { zodResolver } from '@hookform/resolvers/zod';
9
9
  import AutoFormObject from './fields/object.mjs';
10
10
  import { getObjectFormSchema, getDefaultValues } from './helpers.mjs';
11
11
 
12
+ function AutoFormSubmit({
13
+ children,
14
+ className,
15
+ disabled
16
+ }) {
17
+ return /* @__PURE__ */ jsx(Button, { type: "submit", disabled, className, children: children ?? "Submit" });
18
+ }
12
19
  function AutoForm({
13
20
  formSchema,
14
21
  values: valuesProp,
@@ -68,4 +75,4 @@ function AutoForm({
68
75
  ) }) });
69
76
  }
70
77
 
71
- export { AutoForm as default };
78
+ export { AutoFormSubmit, AutoForm as default };
@@ -255,7 +255,7 @@ function SteppedAutoForm({
255
255
  }, [isFirst]);
256
256
  if (!hasMultipleSteps) {
257
257
  return /* @__PURE__ */ jsxRuntime.jsxs(
258
- index,
258
+ index.default,
259
259
  {
260
260
  formSchema,
261
261
  values: initialValues,
@@ -343,7 +343,7 @@ function SteppedAutoForm({
343
343
  }
344
344
  ),
345
345
  /* @__PURE__ */ jsxRuntime.jsxs(
346
- index,
346
+ index.default,
347
347
  {
348
348
  formSchema: currentStepSchema,
349
349
  values: currentStepValues,
@@ -69,8 +69,36 @@ function EmptyTitle({ className, ...props }) {
69
69
  }
70
70
  );
71
71
  }
72
+ function EmptyDescription({ className, ...props }) {
73
+ return /* @__PURE__ */ jsxRuntime.jsx(
74
+ "div",
75
+ {
76
+ "data-slot": "empty-description",
77
+ className: utils.cn(
78
+ "text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4",
79
+ className
80
+ ),
81
+ ...props
82
+ }
83
+ );
84
+ }
85
+ function EmptyContent({ className, ...props }) {
86
+ return /* @__PURE__ */ jsxRuntime.jsx(
87
+ "div",
88
+ {
89
+ "data-slot": "empty-content",
90
+ className: utils.cn(
91
+ "flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance",
92
+ className
93
+ ),
94
+ ...props
95
+ }
96
+ );
97
+ }
72
98
 
73
99
  exports.Empty = Empty;
100
+ exports.EmptyContent = EmptyContent;
101
+ exports.EmptyDescription = EmptyDescription;
74
102
  exports.EmptyHeader = EmptyHeader;
75
103
  exports.EmptyMedia = EmptyMedia;
76
104
  exports.EmptyTitle = EmptyTitle;
@@ -67,5 +67,31 @@ function EmptyTitle({ className, ...props }) {
67
67
  }
68
68
  );
69
69
  }
70
+ function EmptyDescription({ className, ...props }) {
71
+ return /* @__PURE__ */ jsx(
72
+ "div",
73
+ {
74
+ "data-slot": "empty-description",
75
+ className: cn(
76
+ "text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4",
77
+ className
78
+ ),
79
+ ...props
80
+ }
81
+ );
82
+ }
83
+ function EmptyContent({ className, ...props }) {
84
+ return /* @__PURE__ */ jsx(
85
+ "div",
86
+ {
87
+ "data-slot": "empty-content",
88
+ className: cn(
89
+ "flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance",
90
+ className
91
+ ),
92
+ ...props
93
+ }
94
+ );
95
+ }
70
96
 
71
- export { Empty, EmptyHeader, EmptyMedia, EmptyTitle };
97
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
@@ -1,7 +1,7 @@
1
- import { FolderOpen, List, Lock, Globe, Phone, Calendar, AlignLeft, ToggleLeft, Circle, ChevronDown, CheckSquare, Hash, Type, Mail } from 'lucide-react';
1
+ import { FolderOpen, List, Mail, Lock, Globe, Phone, Calendar, AlignLeft, ToggleLeft, Circle, ChevronDown, CheckSquare, Hash, Type } from 'lucide-react';
2
2
  import { z } from 'zod';
3
3
  import { defineComponent } from '../types.mjs';
4
- import { baseMetaSchema, objectValidationSchema, arrayValidationSchema, baseMetaSchemaWithPlaceholder, DEFAULT_VALUE_SCHEMAS, stringValidationSchema, dateValidationSchema, booleanValidationSchema, enumOptionsSchema, numberValidationSchema } from '../validation-schemas.mjs';
4
+ import { baseMetaSchemaWithPlaceholder, stringValidationSchema, DEFAULT_VALUE_SCHEMAS, numberValidationSchema, baseMetaSchema, booleanValidationSchema, enumOptionsSchema, dateValidationSchema, objectValidationSchema, arrayValidationSchema } from '../validation-schemas.mjs';
5
5
 
6
6
  function toNumber(value) {
7
7
  if (value == null || value === "") return void 0;
@@ -110,7 +110,7 @@ function EditFieldDialog({
110
110
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: "Which step this field belongs to" })
111
111
  ] }),
112
112
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t pt-4", children: /* @__PURE__ */ jsxRuntime.jsx(
113
- index,
113
+ index.default,
114
114
  {
115
115
  formSchema: component.propertiesSchema,
116
116
  values: localProps,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useId, useState, useCallback, useMemo } from 'react';
4
- import { useSensors, useSensor, KeyboardSensor, TouchSensor, PointerSensor, DndContext, closestCenter, DragOverlay } from '../../../../../node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.mjs';
5
- import { sortableKeyboardCoordinates, arrayMove } from '../../../../../node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0__react@19.2.0/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs';
4
+ import { useSensors, useSensor, DndContext, closestCenter, DragOverlay, KeyboardSensor, TouchSensor, PointerSensor } from '../../../../../node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.mjs';
5
+ import { arrayMove, sortableKeyboardCoordinates } from '../../../../../node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0__react@19.2.0/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs';
6
6
  import { cn } from '../../lib/utils.mjs';
7
7
  import { Tabs, TabsList, TabsTrigger, TabsContent } from '../tabs.mjs';
8
8
  import { Palette, PaletteDragOverlay } from './palette.mjs';
@@ -2,7 +2,7 @@
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
4
  import { Slot } from '@radix-ui/react-slot';
5
- import { useFormContext, useFormState, FormProvider, Controller } from 'react-hook-form';
5
+ import { FormProvider, Controller, useFormContext, useFormState } from 'react-hook-form';
6
6
  import { cn } from '../lib/utils.mjs';
7
7
  import { Label } from './label.mjs';
8
8
 
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from 'react/jsx-runtime';
3
- import { useSensors, useSensor, closestCenter, pointerWithin, rectIntersection, getFirstCollision, DndContext, MeasuringStrategy, DragOverlay, defaultDropAnimationSideEffects, KeyboardSensor, TouchSensor, MouseSensor, KeyboardCode, closestCorners } from '../../../../node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.mjs';
3
+ import { useSensors, useSensor, KeyboardSensor, TouchSensor, MouseSensor, closestCenter, pointerWithin, rectIntersection, getFirstCollision, DndContext, MeasuringStrategy, DragOverlay, defaultDropAnimationSideEffects, KeyboardCode, closestCorners } from '../../../../node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.mjs';
4
4
  import { verticalListSortingStrategy, arrayMove, SortableContext, horizontalListSortingStrategy, useSortable, defaultAnimateLayoutChanges } from '../../../../node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0__react@19.2.0/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs';
5
5
  import { CSS } from '../../../../node_modules/.pnpm/@dnd-kit_utilities@3.2.2_react@19.2.0/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs';
6
6
  import { Slot } from '@radix-ui/react-slot';
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
- import { Command as Command$1, useCommandState } from 'cmdk';
3
+ import { useCommandState, Command as Command$1 } from 'cmdk';
4
4
  import { X } from 'lucide-react';
5
5
  import * as React from 'react';
6
- import { useMemo, useEffect, useCallback, forwardRef } from 'react';
6
+ import { forwardRef, useMemo, useEffect, useCallback } from 'react';
7
7
  import { Badge } from './badge.mjs';
8
8
  import { CommandItem, Command, CommandList, CommandGroup } from './command.mjs';
9
9
  import { cn } from '../lib/utils.mjs';
@@ -88,7 +88,7 @@ const PageLayerForm = ({
88
88
  removeLayer(selectedLayer.id);
89
89
  }, [selectedLayer, removeLayer]);
90
90
  return /* @__PURE__ */ jsxRuntime.jsxs(
91
- index,
91
+ index.default,
92
92
  {
93
93
  formSchema,
94
94
  onValuesChange: handleSetValues,
@@ -221,7 +221,7 @@ const ComponentPropsAutoForm = ({
221
221
  return null;
222
222
  }
223
223
  return /* @__PURE__ */ jsxRuntime.jsxs(
224
- index,
224
+ index.default,
225
225
  {
226
226
  formSchema: autoFormSchema,
227
227
  values: formValues,
@@ -1,4 +1,4 @@
1
- export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.BV9hnvu4.cjs';
1
+ export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.sba323Ml.cjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { FallbackProps } from 'react-error-boundary';
4
4
  import 'ai';
@@ -1,4 +1,4 @@
1
- export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.BV9hnvu4.mjs';
1
+ export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.sba323Ml.mjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { FallbackProps } from 'react-error-boundary';
4
4
  import 'ai';
@@ -1,4 +1,4 @@
1
- export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.BV9hnvu4.js';
1
+ export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.sba323Ml.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { FallbackProps } from 'react-error-boundary';
4
4
  import 'ai';
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
5
  import { S as SerializedConversation, a as SerializedMessage } from '../../../shared/stack.Be1QIHEn.cjs';
6
- import { A as AiChatMode } from '../../../shared/stack.BV9hnvu4.cjs';
7
- export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.BV9hnvu4.cjs';
6
+ import { A as AiChatMode } from '../../../shared/stack.sba323Ml.cjs';
7
+ export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.sba323Ml.cjs';
8
8
  export { UIMessage } from 'ai';
9
9
  import 'react/jsx-runtime';
10
10
 
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
5
  import { S as SerializedConversation, a as SerializedMessage } from '../../../shared/stack.Be1QIHEn.mjs';
6
- import { A as AiChatMode } from '../../../shared/stack.BV9hnvu4.mjs';
7
- export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.BV9hnvu4.mjs';
6
+ import { A as AiChatMode } from '../../../shared/stack.sba323Ml.mjs';
7
+ export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.sba323Ml.mjs';
8
8
  export { UIMessage } from 'ai';
9
9
  import 'react/jsx-runtime';
10
10
 
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
5
  import { S as SerializedConversation, a as SerializedMessage } from '../../../shared/stack.Be1QIHEn.js';
6
- import { A as AiChatMode } from '../../../shared/stack.BV9hnvu4.js';
7
- export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.BV9hnvu4.js';
6
+ import { A as AiChatMode } from '../../../shared/stack.sba323Ml.js';
7
+ export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.sba323Ml.js';
8
8
  export { UIMessage } from 'ai';
9
9
  import 'react/jsx-runtime';
10
10
 
@@ -1,5 +1,5 @@
1
- export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.C21-LFX8.cjs';
2
- import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BWp0hcm9.cjs';
1
+ export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.DaZM10cp.cjs';
2
+ import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.cjs';
3
3
  import '@tanstack/react-query';
4
4
  import '@btst/stack/plugins/client';
5
5
  import '@btst/stack/plugins/api';
@@ -1,5 +1,5 @@
1
- export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.CL4mKxe7.mjs';
2
- import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BWp0hcm9.mjs';
1
+ export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.cfCkioTe.mjs';
2
+ import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.mjs';
3
3
  import '@tanstack/react-query';
4
4
  import '@btst/stack/plugins/client';
5
5
  import '@btst/stack/plugins/api';
@@ -1,5 +1,5 @@
1
- export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.B8_74ror.js';
2
- import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BWp0hcm9.js';
1
+ export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.DXnclTG7.js';
2
+ import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.js';
3
3
  import '@tanstack/react-query';
4
4
  import '@btst/stack/plugins/client';
5
5
  import '@btst/stack/plugins/api';
@@ -1,6 +1,6 @@
1
- export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.CQAZwXhV.cjs';
1
+ export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.BwA7trxA.cjs';
2
2
  import '@tanstack/react-query';
3
- import '../../../../shared/stack.BWp0hcm9.cjs';
3
+ import '../../../../shared/stack.BQmuNl5p.cjs';
4
4
  import 'zod';
5
5
 
6
6
  declare function useDebounce<T>(value: T, delay?: number): T;
@@ -1,6 +1,6 @@
1
- export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.CNLHlv7r.mjs';
1
+ export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.B8vT-Yt4.mjs';
2
2
  import '@tanstack/react-query';
3
- import '../../../../shared/stack.BWp0hcm9.mjs';
3
+ import '../../../../shared/stack.BQmuNl5p.mjs';
4
4
  import 'zod';
5
5
 
6
6
  declare function useDebounce<T>(value: T, delay?: number): T;
@@ -1,6 +1,6 @@
1
- export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.D3BsrpAz.js';
1
+ export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.BAT540yW.js';
2
2
  import '@tanstack/react-query';
3
- import '../../../../shared/stack.BWp0hcm9.js';
3
+ import '../../../../shared/stack.BQmuNl5p.js';
4
4
  import 'zod';
5
5
 
6
6
  declare function useDebounce<T>(value: T, delay?: number): T;
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
2
2
  import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
- import { P as Post, S as SerializedPost } from '../../../shared/stack.BWp0hcm9.cjs';
6
- export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.CQAZwXhV.cjs';
5
+ import { P as Post, S as SerializedPost } from '../../../shared/stack.BQmuNl5p.cjs';
6
+ export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.BwA7trxA.cjs';
7
7
  import 'zod';
8
8
 
9
9
  /**
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
2
2
  import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
- import { P as Post, S as SerializedPost } from '../../../shared/stack.BWp0hcm9.mjs';
6
- export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.CNLHlv7r.mjs';
5
+ import { P as Post, S as SerializedPost } from '../../../shared/stack.BQmuNl5p.mjs';
6
+ export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.B8vT-Yt4.mjs';
7
7
  import 'zod';
8
8
 
9
9
  /**
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
2
2
  import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
- import { P as Post, S as SerializedPost } from '../../../shared/stack.BWp0hcm9.js';
6
- export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.D3BsrpAz.js';
5
+ import { P as Post, S as SerializedPost } from '../../../shared/stack.BQmuNl5p.js';
6
+ export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.BAT540yW.js';
7
7
  import 'zod';
8
8
 
9
9
  /**
@@ -1,7 +1,7 @@
1
1
  import '@tanstack/react-query';
2
- export { d as createBlogQueryKeys } from '../../shared/stack.C21-LFX8.cjs';
2
+ export { d as createBlogQueryKeys } from '../../shared/stack.DaZM10cp.cjs';
3
3
  import '@btst/stack/plugins/client';
4
- import '../../shared/stack.BWp0hcm9.cjs';
4
+ import '../../shared/stack.BQmuNl5p.cjs';
5
5
  import '@btst/stack/plugins/api';
6
6
  import 'better-call';
7
7
  import '@btst/db';