@process.co/ui 0.0.14 → 0.0.16

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.
@@ -1,156 +1,30 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
3
6
 
4
- interface InputProps {
5
- /**
6
- * Field name/key.
7
- * Used for Yjs field path and validation error tracking.
8
- * When nested inside NestedFieldProvider, the parent path is auto-prepended.
9
- */
10
- fieldName: string;
11
- /** Display label for the field */
12
- label: string;
13
- /** Current value */
14
- value: string | {
15
- expression: string;
16
- type: 'expression';
17
- value?: string;
18
- };
19
- /** Called when value changes */
20
- onChange: (value: string | {
21
- expression: string;
22
- type: 'expression';
23
- }, metadata?: any) => void;
24
- /** Whether the field is disabled */
25
- disabled?: boolean;
26
- /** Placeholder text */
27
- placeholder?: string;
28
- /** Expected return type for validation */
29
- expectedType?: string;
30
- /** Whether this is a required field */
31
- required?: boolean;
32
- /** Whether this field has a required property error (missing value) */
33
- hasRequiredError?: boolean;
34
- /** Custom className for the wrapper */
35
- className?: string;
36
- /** Custom className for the editor container */
37
- editorClassName?: string;
38
- /** Property definition (for richer context) */
39
- propertyDefinition?: any;
40
- }
41
- /**
42
- * Mock Input component for development/design mode.
43
- *
44
- * This is a simplified version that renders a basic input field.
45
- * In production, this is replaced with the real Input from packages/ui
46
- * which includes collaboration, type inference, and expression support.
47
- *
48
- * @example
49
- * ```tsx
50
- * <Input
51
- * fieldName="firstName"
52
- * label="First Name"
53
- * value={value}
54
- * onChange={setValue}
55
- * />
56
- * ```
57
- */
58
- declare function Input({ fieldName, label, value, onChange, disabled, placeholder, expectedType, required, hasRequiredError, className, editorClassName, }: InputProps): React.JSX.Element;
7
+ declare const buttonVariants: (props?: ({
8
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "typePill" | null | undefined;
9
+ size?: "default" | "sm" | "lg" | "icon" | "iconSm" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
12
+ asChild?: boolean;
13
+ }): React.JSX.Element;
59
14
 
60
- interface SelectOption {
61
- node?: React.ReactNode;
62
- value: string;
63
- label: string;
64
- }
65
- interface SelectProps {
66
- /**
67
- * Field name/key.
68
- * Used for Yjs field path and validation error tracking.
69
- * When nested inside NestedFieldProvider, the parent path is auto-prepended.
70
- */
71
- fieldName: string;
72
- /** Display label for the field */
73
- label: string;
74
- /** Current value */
75
- value: string | {
76
- expression: string;
77
- type: 'expression';
78
- value?: string;
79
- };
80
- /** Called when value changes */
81
- onChange: (value: string | {
82
- expression: string;
83
- type: 'expression';
84
- }, metadata?: any) => void;
85
- /** Available options */
86
- options: SelectOption[] | string[];
87
- /** Whether the field is disabled */
88
- disabled?: boolean;
89
- /** Placeholder text */
90
- placeholder?: string;
91
- /** Expected return type for validation */
92
- expectedType?: string;
93
- /** Whether to hide the type badge */
94
- hideTypeBadge?: boolean;
95
- /** Whether this is a required field */
96
- required?: boolean;
97
- /** Whether this field has a required property error (missing value) */
98
- hasRequiredError?: boolean;
99
- /** Custom className for the wrapper */
100
- className?: string;
101
- /** Property definition (for richer context) */
102
- propertyDefinition?: any;
103
- /**
104
- * Render prop for custom select UI.
105
- * If not provided, uses a basic HTML select.
106
- */
107
- children?: (props: SelectRenderProps) => React.ReactNode;
108
- }
109
- interface SelectRenderProps {
110
- value: string;
111
- onChange: (value: string) => void;
112
- onFocus?: () => void;
113
- onBlur?: () => void;
114
- onExpressionClick: () => void;
115
- options: SelectOption[];
116
- localInput: string;
117
- setLocalInput: (value: string) => void;
118
- expressionMode: {
119
- current: 'value' | 'expression';
120
- isExpressionMode: boolean;
121
- isEditorMode: boolean;
122
- isEditing: boolean;
123
- isFullScreen: boolean;
124
- expression: string;
125
- switchToValue: () => void;
126
- switchToExpression: () => void;
127
- switchToEditor: () => void;
128
- clear: () => void;
129
- };
130
- inferredType?: string;
131
- hasTypeMismatch?: boolean;
132
- hasError?: boolean;
133
- }
134
- /**
135
- * Mock Select component for development/design mode.
136
- *
137
- * This is a simplified version that renders a basic select field.
138
- * In production, this is replaced with the real Select from packages/ui
139
- * which includes collaboration, type inference, and expression support.
140
- *
141
- * @example
142
- * ```tsx
143
- * <Select
144
- * fieldName="status"
145
- * label="Status"
146
- * value={value}
147
- * onChange={setValue}
148
- * options={['draft', 'published', 'archived']}
149
- * />
150
- * ```
151
- */
152
- declare function Select({ fieldName, label, value, onChange, options: rawOptions, disabled, placeholder, expectedType, hideTypeBadge, required, hasRequiredError, className, children, }: SelectProps): React.JSX.Element;
15
+ declare const toggleButtonVariants: (props?: ({
16
+ variant?: "default" | "outline" | "secondary" | "ghost" | null | undefined;
17
+ size?: "default" | "sm" | "lg" | "icon" | "iconSm" | null | undefined;
18
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
19
+ type ToggleButtonProps = React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleButtonVariants>;
20
+ declare function ToggleButton({ className, variant, size, ...props }: ToggleButtonProps): React.JSX.Element;
153
21
 
22
+ /** Accepted value for Input/Select: string or expression object. For untyped sources (e.g. condition.value), assert: value={x as FieldValue} */
23
+ type FieldValue = string | {
24
+ expression: string;
25
+ type: 'expression';
26
+ value?: string;
27
+ };
154
28
  /**
155
29
  * Shared Operator Type Definitions and Utilities
156
30
  *
@@ -285,6 +159,142 @@ declare function getStringConstants(inferredType: string): string[];
285
159
  */
286
160
  declare function getNumberConstants(inferredType: string): number[];
287
161
 
162
+ interface InputProps {
163
+ /**
164
+ * Field name/key.
165
+ * Used for Yjs field path and validation error tracking.
166
+ * When nested inside NestedFieldProvider, the parent path is auto-prepended.
167
+ */
168
+ fieldName: string;
169
+ /** Display label for the field */
170
+ label: string;
171
+ /** Current value (string or expression object). From untyped sources use: value={x as FieldValue} */
172
+ value: FieldValue;
173
+ /** Called when value changes (may receive string or expression object; use normalizeFieldValue to get a string) */
174
+ onChange: (value: FieldValue, metadata?: any) => void;
175
+ /** Whether the field is disabled */
176
+ disabled?: boolean;
177
+ /** Placeholder text */
178
+ placeholder?: string;
179
+ /** Expected return type for validation */
180
+ expectedType?: string;
181
+ /** Whether this is a required field */
182
+ required?: boolean;
183
+ /** Whether this field has a required property error (missing value) */
184
+ hasRequiredError?: boolean;
185
+ /** Custom className for the wrapper */
186
+ className?: string;
187
+ /** Custom className for the editor container */
188
+ editorClassName?: string;
189
+ /** Property definition (for richer context) */
190
+ propertyDefinition?: any;
191
+ }
192
+ /**
193
+ * Mock Input component for development/design mode.
194
+ *
195
+ * This is a simplified version that renders a basic input field.
196
+ * In production, this is replaced with the real Input from packages/ui
197
+ * which includes collaboration, type inference, and expression support.
198
+ *
199
+ * @example
200
+ * ```tsx
201
+ * <Input
202
+ * fieldName="firstName"
203
+ * label="First Name"
204
+ * value={value}
205
+ * onChange={setValue}
206
+ * />
207
+ * ```
208
+ */
209
+ declare function Input({ fieldName, label, value, onChange, disabled, placeholder, expectedType, required, hasRequiredError, className, editorClassName, }: InputProps): React.JSX.Element;
210
+
211
+ interface SelectOption {
212
+ node?: React.ReactNode;
213
+ value: string;
214
+ label: string;
215
+ }
216
+ interface SelectProps {
217
+ /**
218
+ * Field name/key.
219
+ * Used for Yjs field path and validation error tracking.
220
+ * When nested inside NestedFieldProvider, the parent path is auto-prepended.
221
+ */
222
+ fieldName: string;
223
+ /** Display label for the field */
224
+ label: string;
225
+ /** Current value (string or expression object). From untyped sources use: value={x as FieldValue} */
226
+ value: FieldValue;
227
+ /** Called when value changes (may receive string or expression object; use normalizeFieldValue to get a string) */
228
+ onChange: (value: FieldValue, metadata?: any) => void;
229
+ /** Available options */
230
+ options: SelectOption[] | string[];
231
+ /** Whether the field is disabled */
232
+ disabled?: boolean;
233
+ /** Placeholder text */
234
+ placeholder?: string;
235
+ /** Expected return type for validation */
236
+ expectedType?: string;
237
+ /** Whether to hide the type badge */
238
+ hideTypeBadge?: boolean;
239
+ /** Whether this is a required field */
240
+ required?: boolean;
241
+ /** Whether this field has a required property error (missing value) */
242
+ hasRequiredError?: boolean;
243
+ /** Custom className for the wrapper */
244
+ className?: string;
245
+ /** Property definition (for richer context) */
246
+ propertyDefinition?: any;
247
+ /**
248
+ * Render prop for custom select UI.
249
+ * If not provided, uses a basic HTML select.
250
+ */
251
+ children?: (props: SelectRenderProps) => React.ReactNode;
252
+ }
253
+ interface SelectRenderProps {
254
+ value: string;
255
+ onChange: (value: string) => void;
256
+ onFocus?: () => void;
257
+ onBlur?: () => void;
258
+ onExpressionClick: () => void;
259
+ options: SelectOption[];
260
+ localInput: string;
261
+ setLocalInput: (value: string) => void;
262
+ expressionMode: {
263
+ current: 'value' | 'expression';
264
+ isExpressionMode: boolean;
265
+ isEditorMode: boolean;
266
+ isEditing: boolean;
267
+ isFullScreen: boolean;
268
+ expression: string;
269
+ switchToValue: () => void;
270
+ switchToExpression: () => void;
271
+ switchToEditor: () => void;
272
+ clear: () => void;
273
+ };
274
+ inferredType?: string;
275
+ hasTypeMismatch?: boolean;
276
+ hasError?: boolean;
277
+ }
278
+ /**
279
+ * Mock Select component for development/design mode.
280
+ *
281
+ * This is a simplified version that renders a basic select field.
282
+ * In production, this is replaced with the real Select from packages/ui
283
+ * which includes collaboration, type inference, and expression support.
284
+ *
285
+ * @example
286
+ * ```tsx
287
+ * <Select
288
+ * fieldName="status"
289
+ * label="Status"
290
+ * value={value}
291
+ * onChange={setValue}
292
+ * options={['draft', 'published', 'archived']}
293
+ * />
294
+ * ```
295
+ */
296
+ declare function Select({ fieldName, label, value, onChange, options: rawOptions, disabled, placeholder, expectedType, hideTypeBadge, required, hasRequiredError, className, children, }: SelectProps): React.JSX.Element;
297
+
288
298
  /**
289
299
  * Simplified Field Components (Mock/Development Version)
290
300
  *
@@ -293,6 +303,17 @@ declare function getNumberConstants(inferredType: string): number[];
293
303
  * replaced with the real implementations from packages/ui that include
294
304
  * collaboration, type inference, and expression support.
295
305
  *
306
+ * ## API alignment with packages/ui
307
+ *
308
+ * The following are mirrored so 3rd-party vendor code works in both
309
+ * mock (Storybook/dev) and production (host app):
310
+ * - TemplateFieldContextValue.onValueChange (fieldKey, value?, metadata?)
311
+ * - TemplateFieldProviderProps.onValueChange
312
+ * - useNodeProperty(key) → setter(value, metadata?)
313
+ * - useSetProperty() → (key, value, metadata?) => void
314
+ * - useSetFieldMetadataOnly() → (fieldKey, metadata) => void
315
+ * - PropertyMetadata type
316
+ *
296
317
  * ## API
297
318
  *
298
319
  * The API matches the production components exactly, so developers
@@ -325,6 +346,13 @@ declare function getNumberConstants(inferredType: string): number[];
325
346
  * ```
326
347
  */
327
348
 
349
+ /**
350
+ * Normalize a value from Input/Select onChange (or any stored value) to a string.
351
+ * Use when persisting condition.value or other fields that store a string only.
352
+ */
353
+ declare function normalizeFieldValue(val: string | {
354
+ expression?: string;
355
+ } | unknown): string;
328
356
  /**
329
357
  * Mock context value (always returns defaults).
330
358
  * In production, this is replaced with the real context from packages/ui.
@@ -342,6 +370,8 @@ interface TemplateFieldContextValue {
342
370
  onControlBlur: () => void;
343
371
  onRecordChange: (change: any) => void;
344
372
  onValidationChange: (fieldName: string, error: any) => void;
373
+ /** Optional host callback to persist field metadata (e.g. expression format). Mirrors packages/ui for 3rd-party vendors. */
374
+ onValueChange?: (fieldKey: string, value?: unknown, metadata?: Record<string, any>) => void;
345
375
  parentFieldPath: string | null;
346
376
  disabled: boolean;
347
377
  }
@@ -385,6 +415,8 @@ type TemplateFieldProviderProps = {
385
415
  onControlBlur?: () => void;
386
416
  onRecordChange?: (change: any) => void;
387
417
  onValidationChange?: (fieldName: string, error: any) => void;
418
+ /** Optional host callback to persist field metadata. Mirrors packages/ui for 3rd-party vendors. */
419
+ onValueChange?: (fieldKey: string, value?: unknown, metadata?: Record<string, any>) => void;
388
420
  parentFieldPath?: string | null;
389
421
  disabled?: boolean;
390
422
  };
@@ -595,6 +627,29 @@ interface NodePropertyProviderProps {
595
627
  * In production, the real implementation from @repo/ui provides actual store.
596
628
  */
597
629
  declare function NodePropertyProvider({ children }: NodePropertyProviderProps): React__default.ReactElement;
630
+ /**
631
+ * Metadata shape for a single property (mirrors packages/ui NodePropertyStore).
632
+ * Vendors can rely on this type when calling setValue(value, metadata) or useSetFieldMetadataOnly.
633
+ */
634
+ interface PropertyMetadata {
635
+ updatedAt?: number;
636
+ updatedBy?: string;
637
+ transactionId?: string;
638
+ expressionBackup?: string;
639
+ [key: string]: any;
640
+ }
641
+ /**
642
+ * Hook to set only field-level metadata (e.g. expression format) without changing the value.
643
+ * In development/mock mode this is a no-op. In production, the host merges into $meta and syncs via Yjs.
644
+ * Mirrors packages/ui so 3rd-party vendors can call it from custom controls.
645
+ *
646
+ * @example
647
+ * ```tsx
648
+ * const setFieldMetadataOnly = useSetFieldMetadataOnly();
649
+ * setFieldMetadataOnly('expression', { format: 'text', mode: 'expression' });
650
+ * ```
651
+ */
652
+ declare function useSetFieldMetadataOnly(): (fieldKey: string, metadata: Record<string, any>) => void;
598
653
  /**
599
654
  * Hook to check if we're inside a property provider.
600
655
  *
@@ -751,7 +806,9 @@ declare function useFieldValidation(): {
751
806
  };
752
807
 
753
808
  type index_BaseOperatorType = BaseOperatorType;
809
+ declare const index_Button: typeof Button;
754
810
  type index_FieldValidationRule = FieldValidationRule;
811
+ type index_FieldValue = FieldValue;
755
812
  type index_InferConfig = InferConfig;
756
813
  declare const index_InferredTypesContext: typeof InferredTypesContext;
757
814
  type index_InferredTypesContextValue = InferredTypesContextValue;
@@ -766,6 +823,7 @@ type index_NodePropertyProviderProps = NodePropertyProviderProps;
766
823
  declare const index_OPERATORS_BY_TYPE: typeof OPERATORS_BY_TYPE;
767
824
  type index_OperatorDef<T = never> = OperatorDef<T>;
768
825
  type index_ParsedTypes = ParsedTypes;
826
+ type index_PropertyMetadata = PropertyMetadata;
769
827
  declare const index_Select: typeof Select;
770
828
  type index_SelectOption = SelectOption;
771
829
  type index_SelectProps = SelectProps;
@@ -776,14 +834,18 @@ type index_TemplateFieldFocusContext = TemplateFieldFocusContext;
776
834
  declare const index_TemplateFieldProvider: typeof TemplateFieldProvider;
777
835
  type index_TemplateFieldProviderProps = TemplateFieldProviderProps;
778
836
  type index_TemplateFieldValidationError = TemplateFieldValidationError;
837
+ declare const index_ToggleButton: typeof ToggleButton;
838
+ declare const index_buttonVariants: typeof buttonVariants;
779
839
  declare const index_computeExtendedType: typeof computeExtendedType;
780
840
  declare const index_filterOperatorsByType: typeof filterOperatorsByType;
781
841
  declare const index_getNumberConstants: typeof getNumberConstants;
782
842
  declare const index_getOperatorsForType: typeof getOperatorsForType;
783
843
  declare const index_getStringConstants: typeof getStringConstants;
784
844
  declare const index_intersectTypes: typeof intersectTypes;
845
+ declare const index_normalizeFieldValue: typeof normalizeFieldValue;
785
846
  declare const index_parseInferSyntax: typeof parseInferSyntax;
786
847
  declare const index_parseInferredTypes: typeof parseInferredTypes;
848
+ declare const index_toggleButtonVariants: typeof toggleButtonVariants;
787
849
  declare const index_useAllInferredTypes: typeof useAllInferredTypes;
788
850
  declare const index_useClearAllInferredTypes: typeof useClearAllInferredTypes;
789
851
  declare const index_useClearInferredType: typeof useClearInferredType;
@@ -797,12 +859,13 @@ declare const index_useIsInNodePropertyProvider: typeof useIsInNodePropertyProvi
797
859
  declare const index_useIsInTemplateFieldProvider: typeof useIsInTemplateFieldProvider;
798
860
  declare const index_useNodeProperties: typeof useNodeProperties;
799
861
  declare const index_useNodeProperty: typeof useNodeProperty;
862
+ declare const index_useSetFieldMetadataOnly: typeof useSetFieldMetadataOnly;
800
863
  declare const index_useSetInferredType: typeof useSetInferredType;
801
864
  declare const index_useSetProperty: typeof useSetProperty;
802
865
  declare const index_useTemplateFieldContext: typeof useTemplateFieldContext;
803
866
  declare const index_useTriggerLayoutUpdate: typeof useTriggerLayoutUpdate;
804
867
  declare namespace index {
805
- export { type index_BaseOperatorType as BaseOperatorType, type index_FieldValidationRule as FieldValidationRule, type index_InferConfig as InferConfig, index_InferredTypesContext as InferredTypesContext, type index_InferredTypesContextValue as InferredTypesContextValue, index_InferredTypesProvider as InferredTypesProvider, type index_InferredTypesProviderProps as InferredTypesProviderProps, index_Input as Input, type index_InputProps as InputProps, index_NestedFieldProvider as NestedFieldProvider, type index_NestedFieldProviderProps as NestedFieldProviderProps, index_NodePropertyProvider as NodePropertyProvider, type index_NodePropertyProviderProps as NodePropertyProviderProps, index_OPERATORS_BY_TYPE as OPERATORS_BY_TYPE, type index_OperatorDef as OperatorDef, type index_ParsedTypes as ParsedTypes, index_Select as Select, type index_SelectOption as SelectOption, type index_SelectProps as SelectProps, type index_SelectRenderProps as SelectRenderProps, type index_TemplateFieldChangeEvent as TemplateFieldChangeEvent, type index_TemplateFieldContextValue as TemplateFieldContextValue, type index_TemplateFieldFocusContext as TemplateFieldFocusContext, index_TemplateFieldProvider as TemplateFieldProvider, type index_TemplateFieldProviderProps as TemplateFieldProviderProps, type index_TemplateFieldValidationError as TemplateFieldValidationError, index_computeExtendedType as computeExtendedType, index_filterOperatorsByType as filterOperatorsByType, index_getNumberConstants as getNumberConstants, index_getOperatorsForType as getOperatorsForType, index_getStringConstants as getStringConstants, index_intersectTypes as intersectTypes, index_parseInferSyntax as parseInferSyntax, index_parseInferredTypes as parseInferredTypes, index_useAllInferredTypes as useAllInferredTypes, index_useClearAllInferredTypes as useClearAllInferredTypes, index_useClearInferredType as useClearInferredType, index_useClearValidationErrorsByPrefix as useClearValidationErrorsByPrefix, index_useFieldPath as useFieldPath, index_useFieldValidation as useFieldValidation, index_useFlowEditorActions as useFlowEditorActions, index_useInferredType as useInferredType, index_useInferredTypes as useInferredTypes, index_useIsInNodePropertyProvider as useIsInNodePropertyProvider, index_useIsInTemplateFieldProvider as useIsInTemplateFieldProvider, index_useNodeProperties as useNodeProperties, index_useNodeProperty as useNodeProperty, index_useSetInferredType as useSetInferredType, index_useSetProperty as useSetProperty, index_useTemplateFieldContext as useTemplateFieldContext, index_useTriggerLayoutUpdate as useTriggerLayoutUpdate };
868
+ export { type index_BaseOperatorType as BaseOperatorType, index_Button as Button, type index_FieldValidationRule as FieldValidationRule, type index_FieldValue as FieldValue, type index_InferConfig as InferConfig, index_InferredTypesContext as InferredTypesContext, type index_InferredTypesContextValue as InferredTypesContextValue, index_InferredTypesProvider as InferredTypesProvider, type index_InferredTypesProviderProps as InferredTypesProviderProps, index_Input as Input, type index_InputProps as InputProps, index_NestedFieldProvider as NestedFieldProvider, type index_NestedFieldProviderProps as NestedFieldProviderProps, index_NodePropertyProvider as NodePropertyProvider, type index_NodePropertyProviderProps as NodePropertyProviderProps, index_OPERATORS_BY_TYPE as OPERATORS_BY_TYPE, type index_OperatorDef as OperatorDef, type index_ParsedTypes as ParsedTypes, type index_PropertyMetadata as PropertyMetadata, index_Select as Select, type index_SelectOption as SelectOption, type index_SelectProps as SelectProps, type index_SelectRenderProps as SelectRenderProps, type index_TemplateFieldChangeEvent as TemplateFieldChangeEvent, type index_TemplateFieldContextValue as TemplateFieldContextValue, type index_TemplateFieldFocusContext as TemplateFieldFocusContext, index_TemplateFieldProvider as TemplateFieldProvider, type index_TemplateFieldProviderProps as TemplateFieldProviderProps, type index_TemplateFieldValidationError as TemplateFieldValidationError, index_ToggleButton as ToggleButton, index_buttonVariants as buttonVariants, index_computeExtendedType as computeExtendedType, index_filterOperatorsByType as filterOperatorsByType, index_getNumberConstants as getNumberConstants, index_getOperatorsForType as getOperatorsForType, index_getStringConstants as getStringConstants, index_intersectTypes as intersectTypes, index_normalizeFieldValue as normalizeFieldValue, index_parseInferSyntax as parseInferSyntax, index_parseInferredTypes as parseInferredTypes, index_toggleButtonVariants as toggleButtonVariants, index_useAllInferredTypes as useAllInferredTypes, index_useClearAllInferredTypes as useClearAllInferredTypes, index_useClearInferredType as useClearInferredType, index_useClearValidationErrorsByPrefix as useClearValidationErrorsByPrefix, index_useFieldPath as useFieldPath, index_useFieldValidation as useFieldValidation, index_useFlowEditorActions as useFlowEditorActions, index_useInferredType as useInferredType, index_useInferredTypes as useInferredTypes, index_useIsInNodePropertyProvider as useIsInNodePropertyProvider, index_useIsInTemplateFieldProvider as useIsInTemplateFieldProvider, index_useNodeProperties as useNodeProperties, index_useNodeProperty as useNodeProperty, index_useSetFieldMetadataOnly as useSetFieldMetadataOnly, index_useSetInferredType as useSetInferredType, index_useSetProperty as useSetProperty, index_useTemplateFieldContext as useTemplateFieldContext, index_useTriggerLayoutUpdate as useTriggerLayoutUpdate };
806
869
  }
807
870
 
808
- export { useClearAllInferredTypes as A, useClearValidationErrorsByPrefix as B, useFlowEditorActions as C, useAllInferredTypes as D, useSetProperty as E, useTriggerLayoutUpdate as F, type FieldValidationRule as G, useFieldValidation as H, type InferredTypesContextValue as I, Input as J, type InputProps as K, type SelectProps as L, type SelectOption as M, NestedFieldProvider as N, OPERATORS_BY_TYPE as O, type SelectRenderProps as P, parseInferredTypes as Q, computeExtendedType as R, Select as S, type TemplateFieldContextValue as T, filterOperatorsByType as U, getStringConstants as V, getNumberConstants as W, type BaseOperatorType as X, type OperatorDef as Y, type ParsedTypes as Z, useIsInTemplateFieldProvider as a, useFieldPath as b, TemplateFieldProvider as c, type TemplateFieldProviderProps as d, type NestedFieldProviderProps as e, type TemplateFieldValidationError as f, type TemplateFieldFocusContext as g, type TemplateFieldChangeEvent as h, index as i, InferredTypesContext as j, useInferredTypes as k, type InferredTypesProviderProps as l, InferredTypesProvider as m, intersectTypes as n, type InferConfig as o, parseInferSyntax as p, getOperatorsForType as q, type NodePropertyProviderProps as r, NodePropertyProvider as s, useIsInNodePropertyProvider as t, useTemplateFieldContext as u, useNodeProperty as v, useNodeProperties as w, useInferredType as x, useSetInferredType as y, useClearInferredType as z };
871
+ export { computeExtendedType as $, useNodeProperty as A, Button as B, useNodeProperties as C, useInferredType as D, useSetInferredType as E, useClearInferredType as F, useClearAllInferredTypes as G, useClearValidationErrorsByPrefix as H, type InferredTypesContextValue as I, useFlowEditorActions as J, useAllInferredTypes as K, useSetProperty as L, useTriggerLayoutUpdate as M, NestedFieldProvider as N, OPERATORS_BY_TYPE as O, type PropertyMetadata as P, type FieldValidationRule as Q, useFieldValidation as R, type FieldValue as S, ToggleButton as T, Input as U, type InputProps as V, Select as W, type SelectProps as X, type SelectOption as Y, type SelectRenderProps as Z, parseInferredTypes as _, type TemplateFieldContextValue as a, filterOperatorsByType as a0, getStringConstants as a1, getNumberConstants as a2, type BaseOperatorType as a3, type OperatorDef as a4, type ParsedTypes as a5, buttonVariants as b, useIsInTemplateFieldProvider as c, useFieldPath as d, TemplateFieldProvider as e, type TemplateFieldProviderProps as f, type NestedFieldProviderProps as g, type TemplateFieldValidationError as h, index as i, type TemplateFieldFocusContext as j, type TemplateFieldChangeEvent as k, InferredTypesContext as l, useInferredTypes as m, normalizeFieldValue as n, type InferredTypesProviderProps as o, InferredTypesProvider as p, intersectTypes as q, type InferConfig as r, parseInferSyntax as s, toggleButtonVariants as t, useTemplateFieldContext as u, getOperatorsForType as v, type NodePropertyProviderProps as w, NodePropertyProvider as x, useSetFieldMetadataOnly as y, useIsInNodePropertyProvider as z };