@btst/stack 4.0.0 → 4.1.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/README.md +2 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-input.cjs +112 -103
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-input.mjs +112 -103
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-interface.cjs +5 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-interface.mjs +5 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-layout.cjs +99 -88
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-layout.mjs +99 -88
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-message.cjs +12 -3
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-message.mjs +12 -3
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-sidebar.cjs +6 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-sidebar.mjs +6 -2
- package/dist/packages/stack/src/plugins/blog/client/components/shared/page-wrapper.cjs +3 -2
- package/dist/packages/stack/src/plugins/blog/client/components/shared/page-wrapper.mjs +3 -2
- package/dist/packages/stack/src/plugins/blog/client/components/shared/post-card.cjs +81 -52
- package/dist/packages/stack/src/plugins/blog/client/components/shared/post-card.mjs +82 -53
- package/dist/packages/stack/src/plugins/blog/client/components/shared/posts-list.cjs +3 -2
- package/dist/packages/stack/src/plugins/blog/client/components/shared/posts-list.mjs +3 -2
- package/dist/packages/stack/src/plugins/cms/client/components/pages/content-list-page.internal.cjs +95 -75
- package/dist/packages/stack/src/plugins/cms/client/components/pages/content-list-page.internal.mjs +95 -75
- package/dist/packages/stack/src/plugins/cms/client/components/pages/dashboard-page.internal.cjs +16 -3
- package/dist/packages/stack/src/plugins/cms/client/components/pages/dashboard-page.internal.mjs +16 -3
- package/dist/packages/stack/src/plugins/cms/client/components/shared/page-wrapper.cjs +3 -2
- package/dist/packages/stack/src/plugins/cms/client/components/shared/page-wrapper.mjs +3 -2
- package/dist/packages/stack/src/plugins/cms/utils.cjs +6 -2
- package/dist/packages/stack/src/plugins/cms/utils.mjs +6 -3
- package/dist/packages/stack/src/plugins/form-builder/client/components/forms/form-renderer.cjs +14 -8
- package/dist/packages/stack/src/plugins/form-builder/client/components/forms/form-renderer.mjs +14 -8
- package/dist/packages/stack/src/plugins/form-builder/client/components/pages/form-list-page.internal.cjs +94 -87
- package/dist/packages/stack/src/plugins/form-builder/client/components/pages/form-list-page.internal.mjs +94 -87
- package/dist/packages/stack/src/plugins/form-builder/client/components/pages/submissions-page.internal.cjs +81 -74
- package/dist/packages/stack/src/plugins/form-builder/client/components/pages/submissions-page.internal.mjs +81 -74
- package/dist/packages/stack/src/plugins/form-builder/client/components/shared/page-wrapper.cjs +3 -2
- package/dist/packages/stack/src/plugins/form-builder/client/components/shared/page-wrapper.mjs +3 -2
- package/dist/packages/stack/src/plugins/form-builder/client/components/shared/pagination.cjs +25 -16
- package/dist/packages/stack/src/plugins/form-builder/client/components/shared/pagination.mjs +25 -16
- package/dist/packages/stack/src/plugins/form-builder/utils.cjs +6 -2
- package/dist/packages/stack/src/plugins/form-builder/utils.mjs +6 -3
- package/dist/plugins/ai-chat/client/components/index.d.cts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.mts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/index.d.cts +2 -2
- package/dist/plugins/ai-chat/client/index.d.mts +2 -2
- package/dist/plugins/ai-chat/client/index.d.ts +2 -2
- package/dist/plugins/blog/client/index.d.cts +18 -0
- package/dist/plugins/blog/client/index.d.mts +18 -0
- package/dist/plugins/blog/client/index.d.ts +18 -0
- package/dist/plugins/cms/client/index.d.cts +18 -0
- package/dist/plugins/cms/client/index.d.mts +18 -0
- package/dist/plugins/cms/client/index.d.ts +18 -0
- package/dist/plugins/form-builder/api/index.d.cts +1 -1
- package/dist/plugins/form-builder/api/index.d.mts +1 -1
- package/dist/plugins/form-builder/api/index.d.ts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.cts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.mts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.ts +1 -1
- package/dist/plugins/form-builder/client/index.d.cts +16 -0
- package/dist/plugins/form-builder/client/index.d.mts +16 -0
- package/dist/plugins/form-builder/client/index.d.ts +16 -0
- package/dist/plugins/form-builder/query-keys.d.cts +1 -1
- package/dist/plugins/form-builder/query-keys.d.mts +1 -1
- package/dist/plugins/form-builder/query-keys.d.ts +1 -1
- package/dist/shared/{stack.5_zzCejP.d.cts → stack.rVF0f509.d.cts} +20 -0
- package/dist/shared/{stack.5_zzCejP.d.mts → stack.rVF0f509.d.mts} +20 -0
- package/dist/shared/{stack.5_zzCejP.d.ts → stack.rVF0f509.d.ts} +20 -0
- package/package.json +1 -1
- package/src/plugins/ai-chat/__tests__/classnames-overrides.test.tsx +248 -0
- package/src/plugins/ai-chat/client/components/chat-input.tsx +6 -1
- package/src/plugins/ai-chat/client/components/chat-interface.tsx +3 -0
- package/src/plugins/ai-chat/client/components/chat-layout.tsx +9 -2
- package/src/plugins/ai-chat/client/components/chat-message.tsx +13 -5
- package/src/plugins/ai-chat/client/components/chat-sidebar.tsx +6 -2
- package/src/plugins/ai-chat/client/overrides.ts +21 -0
- package/src/plugins/blog/__tests__/classnames-overrides.test.tsx +206 -0
- package/src/plugins/blog/client/components/shared/page-wrapper.tsx +3 -2
- package/src/plugins/blog/client/components/shared/post-card.tsx +32 -12
- package/src/plugins/blog/client/components/shared/posts-list.tsx +3 -2
- package/src/plugins/blog/client/overrides.ts +18 -0
- package/src/plugins/cms/__tests__/classnames-overrides.test.tsx +200 -0
- package/src/plugins/cms/client/components/pages/content-list-page.internal.tsx +17 -4
- package/src/plugins/cms/client/components/pages/dashboard-page.internal.tsx +14 -3
- package/src/plugins/cms/client/components/shared/page-wrapper.tsx +3 -2
- package/src/plugins/cms/client/overrides.ts +19 -0
- package/src/plugins/form-builder/__tests__/classnames-overrides.test.tsx +312 -0
- package/src/plugins/form-builder/client/components/forms/form-renderer.tsx +14 -9
- package/src/plugins/form-builder/client/components/pages/form-list-page.internal.tsx +9 -5
- package/src/plugins/form-builder/client/components/pages/submissions-page.internal.tsx +9 -5
- package/src/plugins/form-builder/client/components/shared/page-wrapper.tsx +3 -2
- package/src/plugins/form-builder/client/components/shared/pagination.tsx +7 -1
- package/src/plugins/form-builder/client/overrides.ts +17 -0
- package/dist/shared/{stack.BuxUQqL8.d.ts → stack.CGmh-Lpe.d.ts} +12 -12
- package/dist/shared/{stack.Egr3RWhA.d.mts → stack.Doy2_wgl.d.mts} +12 -12
- package/dist/shared/{stack.CX83YNuS.d.cts → stack.zch70Loj.d.cts} +12 -12
|
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ComponentType } from 'react';
|
|
5
5
|
import { S as SerializedConversation, a as SerializedMessage, A as AiChatIdentityPartition } from '../../../shared/stack.B5yPgHsp.mjs';
|
|
6
|
-
import { A as AiChatMode, a as AiChatPluginOverrides } from '../../../shared/stack.
|
|
7
|
-
export { b as AiChatProviderConfig, c as AllowedFileType, j as ChatInput, C as ChatInterface, f as ChatLayout, g as ChatLayoutProps, i as ChatMessage, h as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, k as ToolCallDisplay, T as ToolCallProps, e as ToolCallRenderer, d as ToolCallState } from '../../../shared/stack.
|
|
6
|
+
import { A as AiChatMode, a as AiChatPluginOverrides } from '../../../shared/stack.rVF0f509.mjs';
|
|
7
|
+
export { b as AiChatProviderConfig, c as AllowedFileType, j as ChatInput, C as ChatInterface, f as ChatLayout, g as ChatLayoutProps, i as ChatMessage, h as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, k as ToolCallDisplay, T as ToolCallProps, e as ToolCallRenderer, d as ToolCallState } from '../../../shared/stack.rVF0f509.mjs';
|
|
8
8
|
export { UIMessage } from 'ai';
|
|
9
9
|
import '@btst/stack/plugins/api';
|
|
10
10
|
import '@btst/stack/authorization';
|
|
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ComponentType } from 'react';
|
|
5
5
|
import { S as SerializedConversation, a as SerializedMessage, A as AiChatIdentityPartition } from '../../../shared/stack.3Sr6qRtT.js';
|
|
6
|
-
import { A as AiChatMode, a as AiChatPluginOverrides } from '../../../shared/stack.
|
|
7
|
-
export { b as AiChatProviderConfig, c as AllowedFileType, j as ChatInput, C as ChatInterface, f as ChatLayout, g as ChatLayoutProps, i as ChatMessage, h as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, k as ToolCallDisplay, T as ToolCallProps, e as ToolCallRenderer, d as ToolCallState } from '../../../shared/stack.
|
|
6
|
+
import { A as AiChatMode, a as AiChatPluginOverrides } from '../../../shared/stack.rVF0f509.js';
|
|
7
|
+
export { b as AiChatProviderConfig, c as AllowedFileType, j as ChatInput, C as ChatInterface, f as ChatLayout, g as ChatLayoutProps, i as ChatMessage, h as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, k as ToolCallDisplay, T as ToolCallProps, e as ToolCallRenderer, d as ToolCallState } from '../../../shared/stack.rVF0f509.js';
|
|
8
8
|
export { UIMessage } from 'ai';
|
|
9
9
|
import '@btst/stack/plugins/api';
|
|
10
10
|
import '@btst/stack/authorization';
|
|
@@ -117,6 +117,24 @@ interface BlogPluginOverrides {
|
|
|
117
117
|
PostCard?: ComponentType<{
|
|
118
118
|
post: SerializedPost;
|
|
119
119
|
}>;
|
|
120
|
+
/**
|
|
121
|
+
* Optional class names merged into the blog UI's structural elements,
|
|
122
|
+
* allowing styling without replacing whole components.
|
|
123
|
+
*/
|
|
124
|
+
classNames?: {
|
|
125
|
+
/** Page container shared by blog pages. */
|
|
126
|
+
container?: string;
|
|
127
|
+
/** Each built-in post card. */
|
|
128
|
+
postCard?: string;
|
|
129
|
+
/** Title inside a post card. */
|
|
130
|
+
postTitle?: string;
|
|
131
|
+
/** Date metadata inside a post card. */
|
|
132
|
+
postMeta?: string;
|
|
133
|
+
/** Optional flex wrapper around post-card tags; omitted when unset. */
|
|
134
|
+
tagsList?: string;
|
|
135
|
+
/** Wrapper around the load-more control. */
|
|
136
|
+
pagination?: string;
|
|
137
|
+
};
|
|
120
138
|
/**
|
|
121
139
|
* Function used to upload a new image file and return its URL.
|
|
122
140
|
* This is separate from `imagePicker`, which selects an existing asset URL.
|
|
@@ -117,6 +117,24 @@ interface BlogPluginOverrides {
|
|
|
117
117
|
PostCard?: ComponentType<{
|
|
118
118
|
post: SerializedPost;
|
|
119
119
|
}>;
|
|
120
|
+
/**
|
|
121
|
+
* Optional class names merged into the blog UI's structural elements,
|
|
122
|
+
* allowing styling without replacing whole components.
|
|
123
|
+
*/
|
|
124
|
+
classNames?: {
|
|
125
|
+
/** Page container shared by blog pages. */
|
|
126
|
+
container?: string;
|
|
127
|
+
/** Each built-in post card. */
|
|
128
|
+
postCard?: string;
|
|
129
|
+
/** Title inside a post card. */
|
|
130
|
+
postTitle?: string;
|
|
131
|
+
/** Date metadata inside a post card. */
|
|
132
|
+
postMeta?: string;
|
|
133
|
+
/** Optional flex wrapper around post-card tags; omitted when unset. */
|
|
134
|
+
tagsList?: string;
|
|
135
|
+
/** Wrapper around the load-more control. */
|
|
136
|
+
pagination?: string;
|
|
137
|
+
};
|
|
120
138
|
/**
|
|
121
139
|
* Function used to upload a new image file and return its URL.
|
|
122
140
|
* This is separate from `imagePicker`, which selects an existing asset URL.
|
|
@@ -117,6 +117,24 @@ interface BlogPluginOverrides {
|
|
|
117
117
|
PostCard?: ComponentType<{
|
|
118
118
|
post: SerializedPost;
|
|
119
119
|
}>;
|
|
120
|
+
/**
|
|
121
|
+
* Optional class names merged into the blog UI's structural elements,
|
|
122
|
+
* allowing styling without replacing whole components.
|
|
123
|
+
*/
|
|
124
|
+
classNames?: {
|
|
125
|
+
/** Page container shared by blog pages. */
|
|
126
|
+
container?: string;
|
|
127
|
+
/** Each built-in post card. */
|
|
128
|
+
postCard?: string;
|
|
129
|
+
/** Title inside a post card. */
|
|
130
|
+
postTitle?: string;
|
|
131
|
+
/** Date metadata inside a post card. */
|
|
132
|
+
postMeta?: string;
|
|
133
|
+
/** Optional flex wrapper around post-card tags; omitted when unset. */
|
|
134
|
+
tagsList?: string;
|
|
135
|
+
/** Wrapper around the load-more control. */
|
|
136
|
+
pagination?: string;
|
|
137
|
+
};
|
|
120
138
|
/**
|
|
121
139
|
* Function used to upload a new image file and return its URL.
|
|
122
140
|
* This is separate from `imagePicker`, which selects an existing asset URL.
|
|
@@ -177,6 +177,24 @@ interface CMSPluginOverrides {
|
|
|
177
177
|
imagePicker?: ComponentType<{
|
|
178
178
|
onSelect: (url: string) => void;
|
|
179
179
|
}>;
|
|
180
|
+
/**
|
|
181
|
+
* Optional class names merged onto specific UI elements.
|
|
182
|
+
* Use these for targeted styling without replacing whole components.
|
|
183
|
+
*/
|
|
184
|
+
classNames?: {
|
|
185
|
+
/** Page container shared by every CMS page */
|
|
186
|
+
container?: string;
|
|
187
|
+
/** Each content-type card on the dashboard */
|
|
188
|
+
contentTypeCard?: string;
|
|
189
|
+
/** Title inside a content-type card */
|
|
190
|
+
contentTypeTitle?: string;
|
|
191
|
+
/** Wrapper around the content entries table */
|
|
192
|
+
table?: string;
|
|
193
|
+
/** Each row in the content entries table */
|
|
194
|
+
tableRow?: string;
|
|
195
|
+
/** Pagination footer under the content entries table */
|
|
196
|
+
pagination?: string;
|
|
197
|
+
};
|
|
180
198
|
/**
|
|
181
199
|
* Custom field components for AutoForm fields.
|
|
182
200
|
*
|
|
@@ -177,6 +177,24 @@ interface CMSPluginOverrides {
|
|
|
177
177
|
imagePicker?: ComponentType<{
|
|
178
178
|
onSelect: (url: string) => void;
|
|
179
179
|
}>;
|
|
180
|
+
/**
|
|
181
|
+
* Optional class names merged onto specific UI elements.
|
|
182
|
+
* Use these for targeted styling without replacing whole components.
|
|
183
|
+
*/
|
|
184
|
+
classNames?: {
|
|
185
|
+
/** Page container shared by every CMS page */
|
|
186
|
+
container?: string;
|
|
187
|
+
/** Each content-type card on the dashboard */
|
|
188
|
+
contentTypeCard?: string;
|
|
189
|
+
/** Title inside a content-type card */
|
|
190
|
+
contentTypeTitle?: string;
|
|
191
|
+
/** Wrapper around the content entries table */
|
|
192
|
+
table?: string;
|
|
193
|
+
/** Each row in the content entries table */
|
|
194
|
+
tableRow?: string;
|
|
195
|
+
/** Pagination footer under the content entries table */
|
|
196
|
+
pagination?: string;
|
|
197
|
+
};
|
|
180
198
|
/**
|
|
181
199
|
* Custom field components for AutoForm fields.
|
|
182
200
|
*
|
|
@@ -177,6 +177,24 @@ interface CMSPluginOverrides {
|
|
|
177
177
|
imagePicker?: ComponentType<{
|
|
178
178
|
onSelect: (url: string) => void;
|
|
179
179
|
}>;
|
|
180
|
+
/**
|
|
181
|
+
* Optional class names merged onto specific UI elements.
|
|
182
|
+
* Use these for targeted styling without replacing whole components.
|
|
183
|
+
*/
|
|
184
|
+
classNames?: {
|
|
185
|
+
/** Page container shared by every CMS page */
|
|
186
|
+
container?: string;
|
|
187
|
+
/** Each content-type card on the dashboard */
|
|
188
|
+
contentTypeCard?: string;
|
|
189
|
+
/** Title inside a content-type card */
|
|
190
|
+
contentTypeTitle?: string;
|
|
191
|
+
/** Wrapper around the content entries table */
|
|
192
|
+
table?: string;
|
|
193
|
+
/** Each row in the content entries table */
|
|
194
|
+
tableRow?: string;
|
|
195
|
+
/** Pagination footer under the content entries table */
|
|
196
|
+
pagination?: string;
|
|
197
|
+
};
|
|
180
198
|
/**
|
|
181
199
|
* Custom field components for AutoForm fields.
|
|
182
200
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { k as FORM_QUERY_KEYS, a as FormBuilderApiRouter, c as FormBuilderOperationError, e as FormBuilderOperations, b as FormBuilderRouteKey, g as FormListOperationResult, h as SubmissionDetailOperationResult, i as SubmissionListOperationResult, j as SubmitOperationResult, d as createFormBuilderOperations, f as formBuilderBackendPlugin } from '../../../shared/stack.
|
|
1
|
+
export { k as FORM_QUERY_KEYS, a as FormBuilderApiRouter, c as FormBuilderOperationError, e as FormBuilderOperations, b as FormBuilderRouteKey, g as FormListOperationResult, h as SubmissionDetailOperationResult, i as SubmissionListOperationResult, j as SubmitOperationResult, d as createFormBuilderOperations, f as formBuilderBackendPlugin } from '../../../shared/stack.zch70Loj.cjs';
|
|
2
2
|
export { formBuilderPermissions } from '../permissions.cjs';
|
|
3
3
|
import { S as SerializedForm, d as SerializedFormSubmissionWithData, F as Form, f as FormSubmission, a as SerializedFormSubmission, c as SerializedFormSubmissionSummary, g as FormSubmissionWithForm } from '../../../shared/stack.v2O65JqF.cjs';
|
|
4
4
|
export { h as FormBuilderBackendConfig, i as FormBuilderBackendHooks, j as FormBuilderHookContext, k as FormBuilderOperationHookContext, l as FormCreateOperationContext, m as FormDeleteOperationContext, o as FormGetForUpdateOperationContext, n as FormGetOperationContext, p as FormListOperationContext, q as FormUpdateOperationContext, r as SubmissionCreateOperationContext, s as SubmissionDeleteOperationContext, t as SubmissionGetOperationContext, v as SubmissionHookContext, b as SubmissionListFormContext, u as SubmissionListOperationContext } from '../../../shared/stack.v2O65JqF.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { k as FORM_QUERY_KEYS, a as FormBuilderApiRouter, c as FormBuilderOperationError, e as FormBuilderOperations, b as FormBuilderRouteKey, g as FormListOperationResult, h as SubmissionDetailOperationResult, i as SubmissionListOperationResult, j as SubmitOperationResult, d as createFormBuilderOperations, f as formBuilderBackendPlugin } from '../../../shared/stack.
|
|
1
|
+
export { k as FORM_QUERY_KEYS, a as FormBuilderApiRouter, c as FormBuilderOperationError, e as FormBuilderOperations, b as FormBuilderRouteKey, g as FormListOperationResult, h as SubmissionDetailOperationResult, i as SubmissionListOperationResult, j as SubmitOperationResult, d as createFormBuilderOperations, f as formBuilderBackendPlugin } from '../../../shared/stack.Doy2_wgl.mjs';
|
|
2
2
|
export { formBuilderPermissions } from '../permissions.mjs';
|
|
3
3
|
import { S as SerializedForm, d as SerializedFormSubmissionWithData, F as Form, f as FormSubmission, a as SerializedFormSubmission, c as SerializedFormSubmissionSummary, g as FormSubmissionWithForm } from '../../../shared/stack.OYT8WU4n.mjs';
|
|
4
4
|
export { h as FormBuilderBackendConfig, i as FormBuilderBackendHooks, j as FormBuilderHookContext, k as FormBuilderOperationHookContext, l as FormCreateOperationContext, m as FormDeleteOperationContext, o as FormGetForUpdateOperationContext, n as FormGetOperationContext, p as FormListOperationContext, q as FormUpdateOperationContext, r as SubmissionCreateOperationContext, s as SubmissionDeleteOperationContext, t as SubmissionGetOperationContext, v as SubmissionHookContext, b as SubmissionListFormContext, u as SubmissionListOperationContext } from '../../../shared/stack.OYT8WU4n.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { k as FORM_QUERY_KEYS, a as FormBuilderApiRouter, c as FormBuilderOperationError, e as FormBuilderOperations, b as FormBuilderRouteKey, g as FormListOperationResult, h as SubmissionDetailOperationResult, i as SubmissionListOperationResult, j as SubmitOperationResult, d as createFormBuilderOperations, f as formBuilderBackendPlugin } from '../../../shared/stack.
|
|
1
|
+
export { k as FORM_QUERY_KEYS, a as FormBuilderApiRouter, c as FormBuilderOperationError, e as FormBuilderOperations, b as FormBuilderRouteKey, g as FormListOperationResult, h as SubmissionDetailOperationResult, i as SubmissionListOperationResult, j as SubmitOperationResult, d as createFormBuilderOperations, f as formBuilderBackendPlugin } from '../../../shared/stack.CGmh-Lpe.js';
|
|
2
2
|
export { formBuilderPermissions } from '../permissions.js';
|
|
3
3
|
import { S as SerializedForm, d as SerializedFormSubmissionWithData, F as Form, f as FormSubmission, a as SerializedFormSubmission, c as SerializedFormSubmissionSummary, g as FormSubmissionWithForm } from '../../../shared/stack.C3bU9w6L.js';
|
|
4
4
|
export { h as FormBuilderBackendConfig, i as FormBuilderBackendHooks, j as FormBuilderHookContext, k as FormBuilderOperationHookContext, l as FormCreateOperationContext, m as FormDeleteOperationContext, o as FormGetForUpdateOperationContext, n as FormGetOperationContext, p as FormListOperationContext, q as FormUpdateOperationContext, r as SubmissionCreateOperationContext, s as SubmissionDeleteOperationContext, t as SubmissionGetOperationContext, v as SubmissionHookContext, b as SubmissionListFormContext, u as SubmissionListOperationContext } from '../../../shared/stack.C3bU9w6L.js';
|
|
@@ -8,7 +8,7 @@ import '@btst/stack/context';
|
|
|
8
8
|
import '../../permissions.cjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '@btst/stack/plugins/client';
|
|
11
|
-
import '../../../../shared/stack.
|
|
11
|
+
import '../../../../shared/stack.zch70Loj.cjs';
|
|
12
12
|
import '@btst/db';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-call';
|
|
@@ -8,7 +8,7 @@ import '@btst/stack/context';
|
|
|
8
8
|
import '../../permissions.mjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '@btst/stack/plugins/client';
|
|
11
|
-
import '../../../../shared/stack.
|
|
11
|
+
import '../../../../shared/stack.Doy2_wgl.mjs';
|
|
12
12
|
import '@btst/db';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-call';
|
|
@@ -8,7 +8,7 @@ import '@btst/stack/context';
|
|
|
8
8
|
import '../../permissions.js';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '@btst/stack/plugins/client';
|
|
11
|
-
import '../../../../shared/stack.
|
|
11
|
+
import '../../../../shared/stack.CGmh-Lpe.js';
|
|
12
12
|
import '@btst/db';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-call';
|
|
@@ -158,6 +158,22 @@ interface FormBuilderPluginOverrides {
|
|
|
158
158
|
* ```
|
|
159
159
|
*/
|
|
160
160
|
fieldComponents?: Record<string, ComponentType<AutoFormInputComponentProps>>;
|
|
161
|
+
/**
|
|
162
|
+
* Optional class names merged onto specific UI elements.
|
|
163
|
+
* Use these for targeted styling without replacing whole components.
|
|
164
|
+
*/
|
|
165
|
+
classNames?: {
|
|
166
|
+
/** Page container shared by every Form Builder page */
|
|
167
|
+
container?: string;
|
|
168
|
+
/** Wrapper around the forms or submissions table */
|
|
169
|
+
table?: string;
|
|
170
|
+
/** Each body row in the forms or submissions table */
|
|
171
|
+
tableRow?: string;
|
|
172
|
+
/** Pagination footer under the forms or submissions list */
|
|
173
|
+
pagination?: string;
|
|
174
|
+
/** Root of `FormRenderer`, including loading, error, and success states */
|
|
175
|
+
form?: string;
|
|
176
|
+
};
|
|
161
177
|
/**
|
|
162
178
|
* Localization object for the Form Builder plugin
|
|
163
179
|
*/
|
|
@@ -158,6 +158,22 @@ interface FormBuilderPluginOverrides {
|
|
|
158
158
|
* ```
|
|
159
159
|
*/
|
|
160
160
|
fieldComponents?: Record<string, ComponentType<AutoFormInputComponentProps>>;
|
|
161
|
+
/**
|
|
162
|
+
* Optional class names merged onto specific UI elements.
|
|
163
|
+
* Use these for targeted styling without replacing whole components.
|
|
164
|
+
*/
|
|
165
|
+
classNames?: {
|
|
166
|
+
/** Page container shared by every Form Builder page */
|
|
167
|
+
container?: string;
|
|
168
|
+
/** Wrapper around the forms or submissions table */
|
|
169
|
+
table?: string;
|
|
170
|
+
/** Each body row in the forms or submissions table */
|
|
171
|
+
tableRow?: string;
|
|
172
|
+
/** Pagination footer under the forms or submissions list */
|
|
173
|
+
pagination?: string;
|
|
174
|
+
/** Root of `FormRenderer`, including loading, error, and success states */
|
|
175
|
+
form?: string;
|
|
176
|
+
};
|
|
161
177
|
/**
|
|
162
178
|
* Localization object for the Form Builder plugin
|
|
163
179
|
*/
|
|
@@ -158,6 +158,22 @@ interface FormBuilderPluginOverrides {
|
|
|
158
158
|
* ```
|
|
159
159
|
*/
|
|
160
160
|
fieldComponents?: Record<string, ComponentType<AutoFormInputComponentProps>>;
|
|
161
|
+
/**
|
|
162
|
+
* Optional class names merged onto specific UI elements.
|
|
163
|
+
* Use these for targeted styling without replacing whole components.
|
|
164
|
+
*/
|
|
165
|
+
classNames?: {
|
|
166
|
+
/** Page container shared by every Form Builder page */
|
|
167
|
+
container?: string;
|
|
168
|
+
/** Wrapper around the forms or submissions table */
|
|
169
|
+
table?: string;
|
|
170
|
+
/** Each body row in the forms or submissions table */
|
|
171
|
+
tableRow?: string;
|
|
172
|
+
/** Pagination footer under the forms or submissions list */
|
|
173
|
+
pagination?: string;
|
|
174
|
+
/** Root of `FormRenderer`, including loading, error, and success states */
|
|
175
|
+
form?: string;
|
|
176
|
+
};
|
|
161
177
|
/**
|
|
162
178
|
* Localization object for the Form Builder plugin
|
|
163
179
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
|
|
2
2
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
3
|
-
import { F as FormsListDiscriminator, S as SubmissionsListDiscriminator, a as FormBuilderApiRouter } from '../../shared/stack.
|
|
3
|
+
import { F as FormsListDiscriminator, S as SubmissionsListDiscriminator, a as FormBuilderApiRouter } from '../../shared/stack.zch70Loj.cjs';
|
|
4
4
|
import { P as PaginatedForms, S as SerializedForm, a as SerializedFormSubmission, e as PaginatedFormSubmissions, d as SerializedFormSubmissionWithData } from '../../shared/stack.v2O65JqF.cjs';
|
|
5
5
|
import { StackIdentity } from '@btst/stack/context';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
|
|
2
2
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
3
|
-
import { F as FormsListDiscriminator, S as SubmissionsListDiscriminator, a as FormBuilderApiRouter } from '../../shared/stack.
|
|
3
|
+
import { F as FormsListDiscriminator, S as SubmissionsListDiscriminator, a as FormBuilderApiRouter } from '../../shared/stack.Doy2_wgl.mjs';
|
|
4
4
|
import { P as PaginatedForms, S as SerializedForm, a as SerializedFormSubmission, e as PaginatedFormSubmissions, d as SerializedFormSubmissionWithData } from '../../shared/stack.OYT8WU4n.mjs';
|
|
5
5
|
import { StackIdentity } from '@btst/stack/context';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
|
|
2
2
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
3
|
-
import { F as FormsListDiscriminator, S as SubmissionsListDiscriminator, a as FormBuilderApiRouter } from '../../shared/stack.
|
|
3
|
+
import { F as FormsListDiscriminator, S as SubmissionsListDiscriminator, a as FormBuilderApiRouter } from '../../shared/stack.CGmh-Lpe.js';
|
|
4
4
|
import { P as PaginatedForms, S as SerializedForm, a as SerializedFormSubmission, e as PaginatedFormSubmissions, d as SerializedFormSubmissionWithData } from '../../shared/stack.C3bU9w6L.js';
|
|
5
5
|
import { StackIdentity } from '@btst/stack/context';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
@@ -204,6 +204,26 @@ interface AiChatPluginOverrides {
|
|
|
204
204
|
* ```
|
|
205
205
|
*/
|
|
206
206
|
toolRenderers?: Record<string, ToolCallRenderer>;
|
|
207
|
+
/**
|
|
208
|
+
* Optional class names merged onto specific UI elements.
|
|
209
|
+
* Use these for targeted styling without replacing whole components.
|
|
210
|
+
*/
|
|
211
|
+
classNames?: {
|
|
212
|
+
/** Root of `ChatLayout` (full-page or widget mode) */
|
|
213
|
+
container?: string;
|
|
214
|
+
/** Conversation sidebar root */
|
|
215
|
+
sidebar?: string;
|
|
216
|
+
/** Wrapper around the list of messages */
|
|
217
|
+
messageList?: string;
|
|
218
|
+
/** Each message row (user and assistant) */
|
|
219
|
+
message?: string;
|
|
220
|
+
/** The bubble of a user message */
|
|
221
|
+
userMessage?: string;
|
|
222
|
+
/** The bubble of an assistant message */
|
|
223
|
+
assistantMessage?: string;
|
|
224
|
+
/** The composer form at the bottom of the chat */
|
|
225
|
+
input?: string;
|
|
226
|
+
};
|
|
207
227
|
/**
|
|
208
228
|
* Called when a route is rendered
|
|
209
229
|
* @param routeName - Name of the route (e.g., 'chat', 'chatConversation')
|
|
@@ -204,6 +204,26 @@ interface AiChatPluginOverrides {
|
|
|
204
204
|
* ```
|
|
205
205
|
*/
|
|
206
206
|
toolRenderers?: Record<string, ToolCallRenderer>;
|
|
207
|
+
/**
|
|
208
|
+
* Optional class names merged onto specific UI elements.
|
|
209
|
+
* Use these for targeted styling without replacing whole components.
|
|
210
|
+
*/
|
|
211
|
+
classNames?: {
|
|
212
|
+
/** Root of `ChatLayout` (full-page or widget mode) */
|
|
213
|
+
container?: string;
|
|
214
|
+
/** Conversation sidebar root */
|
|
215
|
+
sidebar?: string;
|
|
216
|
+
/** Wrapper around the list of messages */
|
|
217
|
+
messageList?: string;
|
|
218
|
+
/** Each message row (user and assistant) */
|
|
219
|
+
message?: string;
|
|
220
|
+
/** The bubble of a user message */
|
|
221
|
+
userMessage?: string;
|
|
222
|
+
/** The bubble of an assistant message */
|
|
223
|
+
assistantMessage?: string;
|
|
224
|
+
/** The composer form at the bottom of the chat */
|
|
225
|
+
input?: string;
|
|
226
|
+
};
|
|
207
227
|
/**
|
|
208
228
|
* Called when a route is rendered
|
|
209
229
|
* @param routeName - Name of the route (e.g., 'chat', 'chatConversation')
|
|
@@ -204,6 +204,26 @@ interface AiChatPluginOverrides {
|
|
|
204
204
|
* ```
|
|
205
205
|
*/
|
|
206
206
|
toolRenderers?: Record<string, ToolCallRenderer>;
|
|
207
|
+
/**
|
|
208
|
+
* Optional class names merged onto specific UI elements.
|
|
209
|
+
* Use these for targeted styling without replacing whole components.
|
|
210
|
+
*/
|
|
211
|
+
classNames?: {
|
|
212
|
+
/** Root of `ChatLayout` (full-page or widget mode) */
|
|
213
|
+
container?: string;
|
|
214
|
+
/** Conversation sidebar root */
|
|
215
|
+
sidebar?: string;
|
|
216
|
+
/** Wrapper around the list of messages */
|
|
217
|
+
messageList?: string;
|
|
218
|
+
/** Each message row (user and assistant) */
|
|
219
|
+
message?: string;
|
|
220
|
+
/** The bubble of a user message */
|
|
221
|
+
userMessage?: string;
|
|
222
|
+
/** The bubble of an assistant message */
|
|
223
|
+
assistantMessage?: string;
|
|
224
|
+
/** The composer form at the bottom of the chat */
|
|
225
|
+
input?: string;
|
|
226
|
+
};
|
|
207
227
|
/**
|
|
208
228
|
* Called when a route is rendered
|
|
209
229
|
* @param routeName - Name of the route (e.g., 'chat', 'chatConversation')
|