@bagelink/vue 1.15.172 → 1.15.176

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.15.172",
4
+ "version": "1.15.176",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -21,6 +21,7 @@ const props = withDefaults(defineProps<{
21
21
  dismissable?: boolean
22
22
  schema: SchemaDefinition
23
23
  modelValue?: T
24
+ message?: string
24
25
  onSubmit?: (data: T) => Promise<void> | void
25
26
  onDelete?: (data: T) => Promise<void> | void
26
27
  submitText?: string
@@ -113,6 +114,10 @@ function handleClose() {
113
114
  {{ error }}
114
115
  </div>
115
116
 
117
+ <p v-if="message" class="mb-1 mt-0">
118
+ {{ message }}
119
+ </p>
120
+
116
121
  <!-- Form fields -->
117
122
  <FormFlow ref="formFlowRef" v-model="formData" :schema="schema" @submit="handleSubmit" />
118
123
 
@@ -16,6 +16,8 @@ export interface DialogBaseOptions {
16
16
  export interface DialogFormOptions<T extends Record<string, any> = Record<string, any>> extends DialogBaseOptions {
17
17
  schema: SchemaDefinition
18
18
  modelValue?: T
19
+ /** Optional body text above the form (same role as DialogConfirm `message`). */
20
+ message?: string
19
21
  /** Runs before close on submit - throw to keep dialog open with error */
20
22
  onSubmit?: (data: T) => Promise<void> | void
21
23
  /** If provided, shows delete button - throw to keep dialog open with error */