@uipath/apollo-wind 2.93.0 → 2.94.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/dist/components/forms/field-renderer.cjs +1 -1
- package/dist/components/forms/field-renderer.js +1 -1
- package/dist/components/forms/field-rules-strings.cjs +40 -0
- package/dist/components/forms/field-rules-strings.d.ts +17 -0
- package/dist/components/forms/field-rules-strings.js +6 -0
- package/dist/components/forms/field-rules.cjs +526 -0
- package/dist/components/forms/field-rules.d.ts +97 -0
- package/dist/components/forms/field-rules.js +468 -0
- package/dist/components/forms/form-designer.cjs +208 -592
- package/dist/components/forms/form-designer.js +210 -594
- package/dist/components/forms/form-schema.d.ts +5 -0
- package/dist/components/forms/index.cjs +43 -3
- package/dist/components/forms/index.d.ts +4 -0
- package/dist/components/forms/index.js +5 -1
- package/dist/components/forms/metadata-form.cjs +1 -1
- package/dist/components/forms/metadata-form.js +1 -1
- package/dist/components/forms/rules-engine-dialect.cjs +644 -0
- package/dist/components/forms/rules-engine-dialect.d.ts +90 -0
- package/dist/components/forms/rules-engine-dialect.js +537 -0
- package/dist/components/forms/rules-engine.cjs +99 -10
- package/dist/components/forms/rules-engine.d.ts +5 -0
- package/dist/components/forms/rules-engine.js +99 -10
- package/dist/components/forms/use-field-rules.cjs +122 -0
- package/dist/components/forms/use-field-rules.d.ts +31 -0
- package/dist/components/forms/use-field-rules.js +88 -0
- package/dist/components/ui/conditions-editor/condition-row.cjs +458 -0
- package/dist/components/ui/conditions-editor/condition-row.d.ts +23 -0
- package/dist/components/ui/conditions-editor/condition-row.js +421 -0
- package/dist/components/ui/conditions-editor/conditions-editor.cjs +363 -0
- package/dist/components/ui/conditions-editor/conditions-editor.d.ts +67 -0
- package/dist/components/ui/conditions-editor/conditions-editor.js +329 -0
- package/dist/components/ui/conditions-editor/context.cjs +45 -0
- package/dist/components/ui/conditions-editor/context.d.ts +54 -0
- package/dist/components/ui/conditions-editor/context.js +8 -0
- package/dist/components/ui/conditions-editor/index.cjs +55 -0
- package/dist/components/ui/conditions-editor/index.d.ts +6 -0
- package/dist/components/ui/conditions-editor/index.js +6 -0
- package/dist/components/ui/conditions-editor/model.cjs +126 -0
- package/dist/components/ui/conditions-editor/model.d.ts +39 -0
- package/dist/components/ui/conditions-editor/model.js +71 -0
- package/dist/components/ui/conditions-editor/status.cjs +198 -0
- package/dist/components/ui/conditions-editor/status.d.ts +44 -0
- package/dist/components/ui/conditions-editor/status.js +131 -0
- package/dist/components/ui/conditions-editor/strings.cjs +86 -0
- package/dist/components/ui/conditions-editor/strings.d.ts +62 -0
- package/dist/components/ui/conditions-editor/strings.js +52 -0
- package/dist/components/ui/conditions-editor/vocabulary.cjs +163 -0
- package/dist/components/ui/conditions-editor/vocabulary.d.ts +51 -0
- package/dist/components/ui/conditions-editor/vocabulary.js +129 -0
- package/dist/components/ui/field-actions/index.cjs +9 -2
- package/dist/components/ui/field-actions/index.d.ts +1 -0
- package/dist/components/ui/field-actions/index.js +2 -1
- package/dist/components/ui/field-actions/insert-variable-action.cjs +3 -1
- package/dist/components/ui/field-actions/insert-variable-action.d.ts +4 -1
- package/dist/components/ui/field-actions/insert-variable-action.js +3 -1
- package/dist/components/ui/field-actions/rules-action.cjs +244 -0
- package/dist/components/ui/field-actions/rules-action.d.ts +42 -0
- package/dist/components/ui/field-actions/rules-action.js +207 -0
- package/dist/components/ui/index.cjs +273 -234
- package/dist/components/ui/index.d.ts +3 -0
- package/dist/components/ui/index.js +3 -0
- package/dist/components/ui/quick-form-field/components/field-header.cjs +137 -167
- package/dist/components/ui/quick-form-field/components/field-header.d.ts +1 -1
- package/dist/components/ui/quick-form-field/components/field-header.js +138 -168
- package/dist/components/ui/quick-form-field/components/header-actions.cjs +187 -0
- package/dist/components/ui/quick-form-field/components/header-actions.d.ts +59 -0
- package/dist/components/ui/quick-form-field/components/header-actions.js +138 -0
- package/dist/components/ui/quick-form-field/components/header-context.cjs +59 -0
- package/dist/components/ui/quick-form-field/components/header-context.d.ts +33 -0
- package/dist/components/ui/quick-form-field/components/header-context.js +16 -0
- package/dist/components/ui/quick-form-field/index.cjs +18 -4
- package/dist/components/ui/quick-form-field/index.d.ts +2 -0
- package/dist/components/ui/quick-form-field/index.js +3 -1
- package/dist/components/ui/quick-form-field/quick-form-field.cjs +1 -1
- package/dist/components/ui/quick-form-field/quick-form-field.d.ts +6 -6
- package/dist/components/ui/quick-form-field/quick-form-field.js +1 -1
- package/dist/components/ui/quick-form-field/types.d.ts +42 -11
- package/dist/components/ui/row-groups/add-row-button.cjs +54 -0
- package/dist/components/ui/row-groups/add-row-button.d.ts +10 -0
- package/dist/components/ui/row-groups/add-row-button.js +20 -0
- package/dist/components/ui/row-groups/after-press.cjs +73 -0
- package/dist/components/ui/row-groups/after-press.d.ts +7 -0
- package/dist/components/ui/row-groups/after-press.js +36 -0
- package/dist/components/ui/row-groups/collapsible-row-group.cjs +83 -0
- package/dist/components/ui/row-groups/collapsible-row-group.d.ts +13 -0
- package/dist/components/ui/row-groups/collapsible-row-group.js +49 -0
- package/dist/components/ui/row-groups/empty-rows.cjs +42 -0
- package/dist/components/ui/row-groups/empty-rows.d.ts +7 -0
- package/dist/components/ui/row-groups/empty-rows.js +8 -0
- package/dist/components/ui/row-groups/group-mode-toggle.cjs +80 -0
- package/dist/components/ui/row-groups/group-mode-toggle.d.ts +26 -0
- package/dist/components/ui/row-groups/group-mode-toggle.js +40 -0
- package/dist/components/ui/row-groups/index.cjs +62 -0
- package/dist/components/ui/row-groups/index.d.ts +6 -0
- package/dist/components/ui/row-groups/index.js +7 -0
- package/dist/components/ui/row-groups/row-delete-button.cjs +54 -0
- package/dist/components/ui/row-groups/row-delete-button.d.ts +18 -0
- package/dist/components/ui/row-groups/row-delete-button.js +20 -0
- package/dist/components/ui/row-groups/use-row-focus.cjs +82 -0
- package/dist/components/ui/row-groups/use-row-focus.d.ts +17 -0
- package/dist/components/ui/row-groups/use-row-focus.js +48 -0
- package/dist/components/ui/rules-editor/context.cjs +45 -0
- package/dist/components/ui/rules-editor/context.d.ts +52 -0
- package/dist/components/ui/rules-editor/context.js +8 -0
- package/dist/components/ui/rules-editor/index.cjs +56 -0
- package/dist/components/ui/rules-editor/index.d.ts +4 -0
- package/dist/components/ui/rules-editor/index.js +4 -0
- package/dist/components/ui/rules-editor/model.cjs +205 -0
- package/dist/components/ui/rules-editor/model.d.ts +128 -0
- package/dist/components/ui/rules-editor/model.js +144 -0
- package/dist/components/ui/rules-editor/rule-card.cjs +470 -0
- package/dist/components/ui/rules-editor/rule-card.d.ts +14 -0
- package/dist/components/ui/rules-editor/rule-card.js +436 -0
- package/dist/components/ui/rules-editor/rules-editor.cjs +160 -0
- package/dist/components/ui/rules-editor/rules-editor.d.ts +66 -0
- package/dist/components/ui/rules-editor/rules-editor.js +126 -0
- package/dist/components/ui/rules-editor/strings.cjs +68 -0
- package/dist/components/ui/rules-editor/strings.d.ts +56 -0
- package/dist/components/ui/rules-editor/strings.js +34 -0
- package/dist/index.cjs +129 -8
- package/dist/index.d.ts +17 -4
- package/dist/index.js +10 -3
- package/dist/styles.css +97 -24
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,10 @@ export { createAiAssistAction, createClearAction, createInsertVariableAction, re
|
|
|
5
5
|
export type { FieldControlFormField, FieldControlGeometry, FieldControlLabelTarget, FieldControlProps, } from './components/forms/field-control';
|
|
6
6
|
export { FIELD_CONTROL_GEOMETRY, FieldControl } from './components/forms/field-control';
|
|
7
7
|
export { FormFieldRenderer } from './components/forms/field-renderer';
|
|
8
|
+
export type { FieldRuleOutcome, FieldRulesOptions, StoredFieldRules, } from './components/forms/field-rules';
|
|
9
|
+
export { fromFieldRules, readStoredRules, renameFieldInRules, rulesReferencing, toFieldRules, writeStoredRules, } from './components/forms/field-rules';
|
|
10
|
+
export type { FieldRulesStrings } from './components/forms/field-rules-strings';
|
|
11
|
+
export { DEFAULT_FIELD_RULES_STRINGS } from './components/forms/field-rules-strings';
|
|
8
12
|
export { FormDesigner } from './components/forms/form-designer';
|
|
9
13
|
export { analyticsPlugin, auditPlugin, autoSavePlugin, formattingPlugin, validationPlugin, workflowPlugin, } from './components/forms/form-plugins';
|
|
10
14
|
export type { CustomComponents, CustomFieldComponentProps, CustomValueType, DataSource, FieldCondition, FieldMetadata, FieldOption, FieldRule, FieldType, FormAction, FormContext, FormPlugin, FormSchema, FormSection, FormStep, FormVariables, StringListFieldMetadata, ValueModeControlRef, ValueModeId, ValueModesConfig, } from './components/forms/form-schema';
|
|
@@ -17,8 +21,11 @@ export { MetadataForm, useWatch } from './components/forms/metadata-form';
|
|
|
17
21
|
export type { ModeAwareFieldProps } from './components/forms/mode-aware-field';
|
|
18
22
|
export { ModeAwareField } from './components/forms/mode-aware-field';
|
|
19
23
|
export { ExpressionBuilder, RuleBuilder, RulesEngine, } from './components/forms/rules-engine';
|
|
24
|
+
export type { FieldRuleField, FieldValueType, RulesEngineVocabularyOptions, } from './components/forms/rules-engine-dialect';
|
|
25
|
+
export { createRulesEngineVocabulary, RULES_ENGINE_OPERATORS, rulesEngineDialect, rulesEngineVocabulary, } from './components/forms/rules-engine-dialect';
|
|
20
26
|
export type { StringListFieldProps } from './components/forms/string-list-field';
|
|
21
27
|
export { formatTemplate, StringListField } from './components/forms/string-list-field';
|
|
28
|
+
export { useFieldRules } from './components/forms/use-field-rules';
|
|
22
29
|
export type { CodecContext, ConvertResult, DecodedValue, FieldControlRegistration, ValueModeCodec, ValueModeControlHandle, ValueModeControlProps, ValueModeControlRegistration, ValueModeDefinition, ValueModeEnvelope, ValueModeRegistry, ValueModesPluginConfig, } from './components/forms/value-modes';
|
|
23
30
|
export { envelopeCodec, isEmptyModeValue, isValueModeEnvelope, literalValues, VALUE_MODE_OPAQUE, } from './components/forms/value-modes';
|
|
24
31
|
export type { VariableModeControlOptions } from './components/forms/variable-mode-control';
|
|
@@ -58,6 +65,8 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger, } from './componen
|
|
|
58
65
|
export type { ComboboxItem, ComboboxProps } from './components/ui/combobox';
|
|
59
66
|
export { Combobox } from './components/ui/combobox';
|
|
60
67
|
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from './components/ui/command';
|
|
68
|
+
export type { Condition, ConditionField, ConditionFieldOption, ConditionFieldType, ConditionGroup, ConditionNode, ConditionOperator, ConditionOperators, ConditionsEditorProps, ConditionsEditorStrings, ConditionValueContext, ConditionValueMode, ConditionValueRenderProps, ConditionVocabulary, RenderConditionValue, } from './components/ui/conditions-editor';
|
|
69
|
+
export { ConditionsEditor, createCondition, createConditionGroup, DEFAULT_CONDITION_OPERATORS, DEFAULT_CONDITIONS_EDITOR_STRINGS, isConditionComplete, } from './components/ui/conditions-editor';
|
|
61
70
|
export type { Connection, ConnectionPickerProps, ConnectionPickerStrings, ConnectionStatus, } from './components/ui/connection-picker';
|
|
62
71
|
export { ConnectionPicker, DEFAULT_CONNECTION_PICKER_STRINGS, } from './components/ui/connection-picker';
|
|
63
72
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from './components/ui/context-menu';
|
|
@@ -85,8 +94,8 @@ export type { EditableTextProps, EditableTextSize } from './components/ui/editab
|
|
|
85
94
|
export { EditableText } from './components/ui/editable-text';
|
|
86
95
|
export type { EmptyStateProps } from './components/ui/empty-state';
|
|
87
96
|
export { EmptyState } from './components/ui/empty-state';
|
|
88
|
-
export type { AiAssistActionProps, AiAssistActionStrings, AiAssistContentProps, InsertVariableActionProps, InsertVariableActionStrings, } from './components/ui/field-actions';
|
|
89
|
-
export { AiAssistAction, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, InsertVariableAction, } from './components/ui/field-actions';
|
|
97
|
+
export type { AiAssistActionProps, AiAssistActionStrings, AiAssistContentProps, InsertVariableActionProps, InsertVariableActionStrings, RulesActionProps, RulesActionStrings, } from './components/ui/field-actions';
|
|
98
|
+
export { AiAssistAction, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_RULES_ACTION_STRINGS, InsertVariableAction, RulesAction, } from './components/ui/field-actions';
|
|
90
99
|
export type { BuiltInValueModesOptions, FieldMenuItem, FieldMenuMode, FieldMenuProps, ValueMode, ValueModeIndicatorProps, ValueModeOption, ValueModeStrings, ValueModeSwitchDialogProps, } from './components/ui/field-addons';
|
|
91
100
|
export { BUILTIN_VALUE_MODES, builtInValueModes, DEFAULT_VALUE_MODE_STRINGS, FieldMenu, ValueModeIndicator, ValueModeSwitchDialog, } from './components/ui/field-addons';
|
|
92
101
|
export type { FileUploadProps } from './components/ui/file-upload';
|
|
@@ -149,14 +158,18 @@ export type { PromptSuggestionItem, PromptSuggestionsDensity, PromptSuggestionsO
|
|
|
149
158
|
export { DEFAULT_PROMPT_SUGGESTIONS_STRINGS, PromptSuggestions, promptSuggestionsListVariants, promptSuggestionVariants, } from './components/ui/prompt-suggestions';
|
|
150
159
|
export type { PromptValueControlProps } from './components/ui/prompt-value-control';
|
|
151
160
|
export { PromptValueControl } from './components/ui/prompt-value-control';
|
|
152
|
-
export type { QuickFieldType, QuickFormFieldControlLayout, QuickFormFieldControlProps, QuickFormFieldMode, QuickFormFieldModeSwitchConfirm, QuickFormFieldMoreActions, QuickFormFieldOption, QuickFormFieldProps, QuickFormFieldStrings, VariableInsertContext, } from './components/ui/quick-form-field';
|
|
153
|
-
export { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField, } from './components/ui/quick-form-field';
|
|
161
|
+
export type { QuickFieldType, QuickFormFieldAiAssistProps, QuickFormFieldControlLayout, QuickFormFieldControlProps, QuickFormFieldHeaderState, QuickFormFieldInsertVariableProps, QuickFormFieldMode, QuickFormFieldModeSwitchConfirm, QuickFormFieldMoreActions, QuickFormFieldOption, QuickFormFieldProps, QuickFormFieldStrings, QuickFormFieldTypePickerProps, VariableInsertContext, } from './components/ui/quick-form-field';
|
|
162
|
+
export { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField, QuickFormFieldAiAssist, QuickFormFieldInsertVariable, QuickFormFieldTypePicker, useQuickFormFieldHeader, } from './components/ui/quick-form-field';
|
|
154
163
|
export { RadioGroup, RadioGroupItem } from './components/ui/radio-group';
|
|
155
164
|
export { ReferenceChip, type ReferenceChipProps } from './components/ui/reference-chip';
|
|
156
165
|
export { getReferenceChipColors, type ReferenceChipVariant, } from './components/ui/reference-chip-colors';
|
|
157
166
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from './components/ui/resizable';
|
|
158
167
|
export type { ResourceGroup, ResourceItem, ResourceItemAction, ResourcePickerContentProps, ResourcePickerProps, } from './components/ui/resource-picker';
|
|
159
168
|
export { keepResourceSearchOnEscape, ResourcePicker, ResourcePickerContent, } from './components/ui/resource-picker';
|
|
169
|
+
export type { AddRowButtonProps, CollapsibleRowGroupProps, EmptyRowsProps, GroupModeOption, GroupModeToggleProps, GroupModeToggleStrings, MatchMode, RowDeleteButtonProps, } from './components/ui/row-groups';
|
|
170
|
+
export { AddRowButton, CollapsibleRowGroup, DEFAULT_GROUP_MODE_TOGGLE_STRINGS, EmptyRows, GroupModeToggle, MATCH_MODES, RowDeleteButton, useRowFocus, } from './components/ui/row-groups';
|
|
171
|
+
export type { ConditionsRule, ExpressionRule, PreservedRule, RenderRuleExpressionEditor, Rule, RuleExpressionEditorProps, RuleExpressionProblem, RuleIssue, RuleIssueKind, RuleMode, RuleOutcome, RuleRepair, RulesDialect, RulesEditorProps, RulesEditorStrings, RuleVocabulary, } from './components/ui/rules-editor';
|
|
172
|
+
export { createRule, DEFAULT_RULES_EDITOR_STRINGS, findRuleIssues, issueIds, isRuleComplete, RulesEditor, } from './components/ui/rules-editor';
|
|
160
173
|
export { ScrollArea, ScrollBar } from './components/ui/scroll-area';
|
|
161
174
|
export type { SearchProps, SearchStrings, SearchWithSuggestionsProps, } from './components/ui/search';
|
|
162
175
|
export { DEFAULT_SEARCH_STRINGS, Search, SearchWithSuggestions } from './components/ui/search';
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,8 @@ import { DataFetcher, DataSourceBuilder, DataTransformers, FetchAdapter } from "
|
|
|
2
2
|
import { createAiAssistAction, createClearAction, createInsertVariableAction, resolveVariables } from "./components/forms/field-actions.js";
|
|
3
3
|
import { FIELD_CONTROL_GEOMETRY, FieldControl } from "./components/forms/field-control.js";
|
|
4
4
|
import { FormFieldRenderer } from "./components/forms/field-renderer.js";
|
|
5
|
+
import { fromFieldRules, readStoredRules, renameFieldInRules, rulesReferencing, toFieldRules, writeStoredRules } from "./components/forms/field-rules.js";
|
|
6
|
+
import { DEFAULT_FIELD_RULES_STRINGS } from "./components/forms/field-rules-strings.js";
|
|
5
7
|
import { FormDesigner } from "./components/forms/form-designer.js";
|
|
6
8
|
import { analyticsPlugin, auditPlugin, autoSavePlugin, formattingPlugin, validationPlugin, workflowPlugin } from "./components/forms/form-plugins.js";
|
|
7
9
|
import { hasMinMaxStep, hasOptions, isCustomField, isFileField } from "./components/forms/form-schema.js";
|
|
@@ -10,7 +12,9 @@ import { DEFAULT_METADATA_FORM_STRINGS } from "./components/forms/form-strings.j
|
|
|
10
12
|
import { MetadataForm, useWatch } from "./components/forms/metadata-form.js";
|
|
11
13
|
import { ModeAwareField } from "./components/forms/mode-aware-field.js";
|
|
12
14
|
import { ExpressionBuilder, RuleBuilder, RulesEngine } from "./components/forms/rules-engine.js";
|
|
15
|
+
import { RULES_ENGINE_OPERATORS, createRulesEngineVocabulary, rulesEngineDialect, rulesEngineVocabulary } from "./components/forms/rules-engine-dialect.js";
|
|
13
16
|
import { StringListField, formatTemplate } from "./components/forms/string-list-field.js";
|
|
17
|
+
import { useFieldRules } from "./components/forms/use-field-rules.js";
|
|
14
18
|
import { VALUE_MODE_OPAQUE, envelopeCodec, isEmptyModeValue, isValueModeEnvelope, literalValues } from "./components/forms/value-modes.js";
|
|
15
19
|
import { createVariableModeControl } from "./components/forms/variable-mode-control.js";
|
|
16
20
|
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/ui/accordion.js";
|
|
@@ -36,6 +40,7 @@ import { CodeBlock, CodeBlockHeader, DEFAULT_CODE_BLOCK_STRINGS } from "./compon
|
|
|
36
40
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/ui/collapsible.js";
|
|
37
41
|
import { Combobox } from "./components/ui/combobox.js";
|
|
38
42
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./components/ui/command.js";
|
|
43
|
+
import { ConditionsEditor, DEFAULT_CONDITIONS_EDITOR_STRINGS, DEFAULT_CONDITION_OPERATORS, createCondition, createConditionGroup, isConditionComplete } from "./components/ui/conditions-editor/index.js";
|
|
39
44
|
import { ConnectionPicker, DEFAULT_CONNECTION_PICKER_STRINGS } from "./components/ui/connection-picker/index.js";
|
|
40
45
|
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu.js";
|
|
41
46
|
import { DEFAULT_DATA_TABLE_STRINGS, DataTable, DataTableColumnHeader, DataTableSelectColumn } from "./components/ui/data-table.js";
|
|
@@ -51,7 +56,7 @@ import { DEFAULT_DROPZONE_OVERLAY_STRINGS, DropzoneOverlay } from "./components/
|
|
|
51
56
|
import { EditableCell, createEditableColumn } from "./components/ui/editable-cell.js";
|
|
52
57
|
import { EditableText } from "./components/ui/editable-text.js";
|
|
53
58
|
import { EmptyState } from "./components/ui/empty-state.js";
|
|
54
|
-
import { AiAssistAction, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, InsertVariableAction } from "./components/ui/field-actions/index.js";
|
|
59
|
+
import { AiAssistAction, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_RULES_ACTION_STRINGS, InsertVariableAction, RulesAction } from "./components/ui/field-actions/index.js";
|
|
55
60
|
import { BUILTIN_VALUE_MODES, DEFAULT_VALUE_MODE_STRINGS, FieldMenu, ValueModeIndicator, ValueModeSwitchDialog, builtInValueModes } from "./components/ui/field-addons/index.js";
|
|
56
61
|
import { FileUpload } from "./components/ui/file-upload.js";
|
|
57
62
|
import { formatFileSize, isFileTypeAccepted, validateFiles } from "./components/ui/file-validation.js";
|
|
@@ -85,12 +90,14 @@ import { Progress } from "./components/ui/progress.js";
|
|
|
85
90
|
import { $insertTokenAtCursor, DEFAULT_PROMPT_EDITOR_STRINGS, InputTokenNode, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, PromptEditor, ResourceTokenNode, StateTokenNode, TokenPill, TokenPillWithTooltip, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, WORD_JOINER, createInputTokenNode, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, inferTokenTypeFromPath, isPromptTokenNode, normalizeRichTextTokens, normalizeVariablePath, setEditorTokens } from "./components/ui/prompt-editor/index.js";
|
|
86
91
|
import { DEFAULT_PROMPT_SUGGESTIONS_STRINGS, PromptSuggestions, promptSuggestionVariants, promptSuggestionsListVariants } from "./components/ui/prompt-suggestions.js";
|
|
87
92
|
import { PromptValueControl } from "./components/ui/prompt-value-control.js";
|
|
88
|
-
import { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField } from "./components/ui/quick-form-field/index.js";
|
|
93
|
+
import { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField, QuickFormFieldAiAssist, QuickFormFieldInsertVariable, QuickFormFieldTypePicker, useQuickFormFieldHeader } from "./components/ui/quick-form-field/index.js";
|
|
89
94
|
import { RadioGroup, RadioGroupItem } from "./components/ui/radio-group.js";
|
|
90
95
|
import { ReferenceChip } from "./components/ui/reference-chip.js";
|
|
91
96
|
import { getReferenceChipColors } from "./components/ui/reference-chip-colors.js";
|
|
92
97
|
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./components/ui/resizable.js";
|
|
93
98
|
import { ResourcePicker, ResourcePickerContent, keepResourceSearchOnEscape } from "./components/ui/resource-picker/index.js";
|
|
99
|
+
import { AddRowButton, CollapsibleRowGroup, DEFAULT_GROUP_MODE_TOGGLE_STRINGS, EmptyRows, GroupModeToggle, MATCH_MODES, RowDeleteButton, useRowFocus } from "./components/ui/row-groups/index.js";
|
|
100
|
+
import { DEFAULT_RULES_EDITOR_STRINGS, RulesEditor, createRule, findRuleIssues, isRuleComplete, issueIds } from "./components/ui/rules-editor/index.js";
|
|
94
101
|
import { ScrollArea, ScrollBar } from "./components/ui/scroll-area.js";
|
|
95
102
|
import { DEFAULT_SEARCH_STRINGS, Search, SearchWithSuggestions } from "./components/ui/search.js";
|
|
96
103
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
|
|
@@ -117,4 +124,4 @@ import tree_view, { TreeView } from "./components/ui/tree-view.js";
|
|
|
117
124
|
import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
|
|
118
125
|
import { VariableValueControl } from "./components/ui/variable-value-control.js";
|
|
119
126
|
import { cn } from "./lib/utils.js";
|
|
120
|
-
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatComposer, ChatComposerAttachButton, ChatComposerAttachments, ChatComposerError, ChatComposerFooter, ChatComposerInputGroup, ChatComposerSubmit, ChatComposerTextarea, ChatComposerToolbar, ChatHero, ChatHeroDescription, ChatHeroHeader, ChatHeroLogo, ChatHeroTitle, Checkbox, Citation, CodeBlock, CodeBlockHeader, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConnectionPicker, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS, DEFAULT_CHAT_COMPOSER_STRINGS, DEFAULT_CITATION_STRINGS, DEFAULT_CODE_BLOCK_STRINGS, DEFAULT_CONNECTION_PICKER_STRINGS, DEFAULT_DATA_TABLE_STRINGS, DEFAULT_DATE_PICKER_STRINGS, DEFAULT_DIALOG_STRINGS, DEFAULT_DROPZONE_OVERLAY_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_LOADING_DOTS_STRINGS, DEFAULT_MARKDOWN_STRINGS, DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_MULTI_SELECT_STRINGS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_PROMPT_SUGGESTIONS_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_SEARCH_STRINGS, DEFAULT_SHEET_STRINGS, DEFAULT_SOURCES_STRINGS, DEFAULT_THINKING_INDICATOR_STRINGS, DEFAULT_TOOL_CALL_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureTree, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropzoneOverlay, EditableCell, EditableText, EmptyState, ExpressionBuilder, FIELD_CONTROL_GEOMETRY, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FieldControl, FieldMenu, tree_view as FileTreeView, FileUpload, FolderPicker, FolderPickerContent, FolderSwitcher, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldHeader, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, GroupHeader, GroupedOptionList, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, InputTokenNode, InsertVariableAction, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, Label, LiveRegion, LoadingDots, LocaleProvider, LockableValueField, MODEL_BADGES, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, ModeAwareField, ModelOptionRow, ModelPicker, ModelTagChip, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, PasswordInput, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, ReferenceChip, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourcePicker, ResourcePickerContent, ResourceTokenNode, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SourceItem, Sources, SourcesList, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThinkingIndicator, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TreeView, VALUE_MODE_OPAQUE, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, ValueModeIndicator, ValueModeSwitchDialog, VariablePicker, VariablePickerContent, VariableValueControl, VirtualOptionList, WORD_JOINER, analyticsPlugin, appendPathSegment, attachmentVariants, auditPlugin, autoSavePlugin, badgeVariants, bubbleVariants, buildJsonTree, builtInValueModes, buttonVariants, chatComposerErrorVariants, chatComposerVariants, chatHeroDescriptionVariants, chatHeroTitleVariants, chatHeroVariants, citationVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, createVariableModeControl, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getReferenceChipColors, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, hasVisibleRows, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, keepResourceSearchOnEscape, literalValues, loadDateLocale, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useChatComposer, useDateLocale, useDatePickerStrings, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin };
|
|
127
|
+
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddRowButton, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatComposer, ChatComposerAttachButton, ChatComposerAttachments, ChatComposerError, ChatComposerFooter, ChatComposerInputGroup, ChatComposerSubmit, ChatComposerTextarea, ChatComposerToolbar, ChatHero, ChatHeroDescription, ChatHeroHeader, ChatHeroLogo, ChatHeroTitle, Checkbox, Citation, CodeBlock, CodeBlockHeader, Collapsible, CollapsibleContent, CollapsibleRowGroup, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConditionsEditor, ConnectionPicker, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS, DEFAULT_CHAT_COMPOSER_STRINGS, DEFAULT_CITATION_STRINGS, DEFAULT_CODE_BLOCK_STRINGS, DEFAULT_CONDITIONS_EDITOR_STRINGS, DEFAULT_CONDITION_OPERATORS, DEFAULT_CONNECTION_PICKER_STRINGS, DEFAULT_DATA_TABLE_STRINGS, DEFAULT_DATE_PICKER_STRINGS, DEFAULT_DIALOG_STRINGS, DEFAULT_DROPZONE_OVERLAY_STRINGS, DEFAULT_FIELD_RULES_STRINGS, DEFAULT_GROUP_MODE_TOGGLE_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_LOADING_DOTS_STRINGS, DEFAULT_MARKDOWN_STRINGS, DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_MULTI_SELECT_STRINGS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_PROMPT_SUGGESTIONS_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_RULES_ACTION_STRINGS, DEFAULT_RULES_EDITOR_STRINGS, DEFAULT_SEARCH_STRINGS, DEFAULT_SHEET_STRINGS, DEFAULT_SOURCES_STRINGS, DEFAULT_THINKING_INDICATOR_STRINGS, DEFAULT_TOOL_CALL_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureTree, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropzoneOverlay, EditableCell, EditableText, EmptyRows, EmptyState, ExpressionBuilder, FIELD_CONTROL_GEOMETRY, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FieldControl, FieldMenu, tree_view as FileTreeView, FileUpload, FolderPicker, FolderPickerContent, FolderSwitcher, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldHeader, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, GroupHeader, GroupModeToggle, GroupedOptionList, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, InputTokenNode, InsertVariableAction, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, Label, LiveRegion, LoadingDots, LocaleProvider, LockableValueField, MATCH_MODES, MODEL_BADGES, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, ModeAwareField, ModelOptionRow, ModelPicker, ModelTagChip, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, PasswordInput, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, PromptValueControl, QuickFormField, QuickFormFieldAiAssist, QuickFormFieldInsertVariable, QuickFormFieldTypePicker, RULES_ENGINE_OPERATORS, RadioGroup, RadioGroupItem, ReferenceChip, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourcePicker, ResourcePickerContent, ResourceTokenNode, Row, RowDeleteButton, RuleBuilder, RulesAction, RulesEditor, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SourceItem, Sources, SourcesList, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThinkingIndicator, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TreeView, VALUE_MODE_OPAQUE, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, ValueModeIndicator, ValueModeSwitchDialog, VariablePicker, VariablePickerContent, VariableValueControl, VirtualOptionList, WORD_JOINER, analyticsPlugin, appendPathSegment, attachmentVariants, auditPlugin, autoSavePlugin, badgeVariants, bubbleVariants, buildJsonTree, builtInValueModes, buttonVariants, chatComposerErrorVariants, chatComposerVariants, chatHeroDescriptionVariants, chatHeroTitleVariants, chatHeroVariants, citationVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createCondition, createConditionGroup, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createRule, createRulesEngineVocabulary, createStateTokenNode, createTokenNodeForOption, createVariableModeControl, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, findRuleIssues, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, fromFieldRules, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getReferenceChipColors, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, hasVisibleRows, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isConditionComplete, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isRuleComplete, isTextGenerationModel, isValueModeEnvelope, issueIds, keepFolderSearchOnEscape, keepResourceSearchOnEscape, literalValues, loadDateLocale, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, readStoredRules, removeValueAtPath, renameFieldInRules, resolveHomeGeography, resolveLabels, resolveVariables, rulesEngineDialect, rulesEngineVocabulary, rulesReferencing, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toFieldRules, toast, toggleVariants, toolCallVariants, useChatComposer, useDateLocale, useDatePickerStrings, useFieldRules, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useQuickFormFieldHeader, useRowFocus, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin, writeStoredRules };
|
package/dist/styles.css
CHANGED
|
@@ -630,6 +630,9 @@
|
|
|
630
630
|
.inset-y-\[10\%\] {
|
|
631
631
|
inset-block: 10%;
|
|
632
632
|
}
|
|
633
|
+
.-top-1 {
|
|
634
|
+
top: calc(var(--spacing) * -1);
|
|
635
|
+
}
|
|
633
636
|
.-top-2 {
|
|
634
637
|
top: calc(var(--spacing) * -2);
|
|
635
638
|
}
|
|
@@ -987,6 +990,9 @@
|
|
|
987
990
|
.-ml-3 {
|
|
988
991
|
margin-left: calc(var(--spacing) * -3);
|
|
989
992
|
}
|
|
993
|
+
.-ml-px {
|
|
994
|
+
margin-left: -1px;
|
|
995
|
+
}
|
|
990
996
|
.ml-\(--tool-call-indent\,0\.75rem\) {
|
|
991
997
|
margin-left: var(--tool-call-indent,0.75rem);
|
|
992
998
|
}
|
|
@@ -1424,6 +1430,9 @@
|
|
|
1424
1430
|
.max-h-\[var\(--radix-dropdown-menu-content-available-height\)\] {
|
|
1425
1431
|
max-height: var(--radix-dropdown-menu-content-available-height);
|
|
1426
1432
|
}
|
|
1433
|
+
.max-h-\[var\(--radix-popover-content-available-height\)\] {
|
|
1434
|
+
max-height: var(--radix-popover-content-available-height);
|
|
1435
|
+
}
|
|
1427
1436
|
.max-h-full {
|
|
1428
1437
|
max-height: 100%;
|
|
1429
1438
|
}
|
|
@@ -1667,6 +1676,9 @@
|
|
|
1667
1676
|
.w-\[42px\] {
|
|
1668
1677
|
width: 42px;
|
|
1669
1678
|
}
|
|
1679
|
+
.w-\[44rem\] {
|
|
1680
|
+
width: 44rem;
|
|
1681
|
+
}
|
|
1670
1682
|
.w-\[48rem\] {
|
|
1671
1683
|
width: 48rem;
|
|
1672
1684
|
}
|
|
@@ -1781,6 +1793,9 @@
|
|
|
1781
1793
|
.w-\[930px\] {
|
|
1782
1794
|
width: 930px;
|
|
1783
1795
|
}
|
|
1796
|
+
.w-\[min\(29rem\,calc\(100vw-2rem\)\)\] {
|
|
1797
|
+
width: min(29rem, calc(100vw - 2rem));
|
|
1798
|
+
}
|
|
1784
1799
|
.w-\[var\(--cell-size\)\] {
|
|
1785
1800
|
width: var(--cell-size);
|
|
1786
1801
|
}
|
|
@@ -1922,6 +1937,9 @@
|
|
|
1922
1937
|
.min-w-0 {
|
|
1923
1938
|
min-width: calc(var(--spacing) * 0);
|
|
1924
1939
|
}
|
|
1940
|
+
.min-w-3\.5 {
|
|
1941
|
+
min-width: calc(var(--spacing) * 3.5);
|
|
1942
|
+
}
|
|
1925
1943
|
.min-w-4 {
|
|
1926
1944
|
min-width: calc(var(--spacing) * 4);
|
|
1927
1945
|
}
|
|
@@ -2568,6 +2586,9 @@
|
|
|
2568
2586
|
margin-block-end: calc(calc(var(--spacing) * 16) * calc(1 - var(--tw-space-y-reverse)));
|
|
2569
2587
|
}
|
|
2570
2588
|
}
|
|
2589
|
+
.gap-x-2 {
|
|
2590
|
+
column-gap: calc(var(--spacing) * 2);
|
|
2591
|
+
}
|
|
2571
2592
|
.gap-x-4 {
|
|
2572
2593
|
column-gap: calc(var(--spacing) * 4);
|
|
2573
2594
|
}
|
|
@@ -2762,6 +2783,10 @@
|
|
|
2762
2783
|
border-top-left-radius: var(--radius-md);
|
|
2763
2784
|
border-bottom-left-radius: var(--radius-md);
|
|
2764
2785
|
}
|
|
2786
|
+
.rounded-l-none {
|
|
2787
|
+
border-top-left-radius: 0;
|
|
2788
|
+
border-bottom-left-radius: 0;
|
|
2789
|
+
}
|
|
2765
2790
|
.rounded-tl-2xl {
|
|
2766
2791
|
border-top-left-radius: var(--radius-2xl);
|
|
2767
2792
|
}
|
|
@@ -2773,6 +2798,10 @@
|
|
|
2773
2798
|
border-top-right-radius: var(--radius-md);
|
|
2774
2799
|
border-bottom-right-radius: var(--radius-md);
|
|
2775
2800
|
}
|
|
2801
|
+
.rounded-r-none {
|
|
2802
|
+
border-top-right-radius: 0;
|
|
2803
|
+
border-bottom-right-radius: 0;
|
|
2804
|
+
}
|
|
2776
2805
|
.rounded-tr-2xl {
|
|
2777
2806
|
border-top-right-radius: var(--radius-2xl);
|
|
2778
2807
|
}
|
|
@@ -2853,6 +2882,10 @@
|
|
|
2853
2882
|
--tw-border-style: none;
|
|
2854
2883
|
border-style: none;
|
|
2855
2884
|
}
|
|
2885
|
+
.border-solid {
|
|
2886
|
+
--tw-border-style: solid;
|
|
2887
|
+
border-style: solid;
|
|
2888
|
+
}
|
|
2856
2889
|
.border-\(--color-border\) {
|
|
2857
2890
|
border-color: var(--color-border);
|
|
2858
2891
|
}
|
|
@@ -2928,12 +2961,6 @@
|
|
|
2928
2961
|
border-color: color-mix(in oklab, var(--error) 20%, transparent);
|
|
2929
2962
|
}
|
|
2930
2963
|
}
|
|
2931
|
-
.border-error\/30 {
|
|
2932
|
-
border-color: var(--error);
|
|
2933
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2934
|
-
border-color: color-mix(in oklab, var(--error) 30%, transparent);
|
|
2935
|
-
}
|
|
2936
|
-
}
|
|
2937
2964
|
.border-error\/40 {
|
|
2938
2965
|
border-color: var(--error);
|
|
2939
2966
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3060,12 +3087,6 @@
|
|
|
3060
3087
|
border-color: color-mix(in oklab, var(--warning) 20%, transparent);
|
|
3061
3088
|
}
|
|
3062
3089
|
}
|
|
3063
|
-
.border-warning\/30 {
|
|
3064
|
-
border-color: var(--warning);
|
|
3065
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3066
|
-
border-color: color-mix(in oklab, var(--warning) 30%, transparent);
|
|
3067
|
-
}
|
|
3068
|
-
}
|
|
3069
3090
|
.border-warning\/40 {
|
|
3070
3091
|
border-color: var(--warning);
|
|
3071
3092
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -5605,6 +5626,11 @@
|
|
|
5605
5626
|
.zoom-out-95 {
|
|
5606
5627
|
--tw-exit-scale: calc(95 / 100);
|
|
5607
5628
|
}
|
|
5629
|
+
.group-focus-within\:opacity-100 {
|
|
5630
|
+
&:is(:where(.group):focus-within *) {
|
|
5631
|
+
opacity: 100%;
|
|
5632
|
+
}
|
|
5633
|
+
}
|
|
5608
5634
|
.group-focus-within\/menu-item\:opacity-100 {
|
|
5609
5635
|
&:is(:where(.group\/menu-item):focus-within *) {
|
|
5610
5636
|
opacity: 100%;
|
|
@@ -6028,6 +6054,11 @@
|
|
|
6028
6054
|
border-radius: var(--radius-md);
|
|
6029
6055
|
}
|
|
6030
6056
|
}
|
|
6057
|
+
.group-data-\[state\=closed\]\/trigger\:-rotate-90 {
|
|
6058
|
+
&:is(:where(.group\/trigger)[data-state="closed"] *) {
|
|
6059
|
+
rotate: calc(90deg * -1);
|
|
6060
|
+
}
|
|
6061
|
+
}
|
|
6031
6062
|
.group-data-\[state\=done\]\/attachment\:opacity-100 {
|
|
6032
6063
|
&:is(:where(.group\/attachment)[data-state="done"] *) {
|
|
6033
6064
|
opacity: 100%;
|
|
@@ -6584,16 +6615,6 @@
|
|
|
6584
6615
|
}
|
|
6585
6616
|
}
|
|
6586
6617
|
}
|
|
6587
|
-
.hover\:border-primary\/50 {
|
|
6588
|
-
&:hover {
|
|
6589
|
-
@media (hover: hover) {
|
|
6590
|
-
border-color: var(--primary);
|
|
6591
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
6592
|
-
border-color: color-mix(in oklab, var(--primary) 50%, transparent);
|
|
6593
|
-
}
|
|
6594
|
-
}
|
|
6595
|
-
}
|
|
6596
|
-
}
|
|
6597
6618
|
.hover\:border-red-500\/50 {
|
|
6598
6619
|
&:hover {
|
|
6599
6620
|
@media (hover: hover) {
|
|
@@ -9027,6 +9048,58 @@
|
|
|
9027
9048
|
display: none;
|
|
9028
9049
|
}
|
|
9029
9050
|
}
|
|
9051
|
+
.\@xs\:col-span-2 {
|
|
9052
|
+
@container (width >= 20rem) {
|
|
9053
|
+
grid-column: span 2 / span 2;
|
|
9054
|
+
}
|
|
9055
|
+
}
|
|
9056
|
+
.\@xs\:grid-cols-\[minmax\(0\,3fr\)_minmax\(0\,2fr\)\] {
|
|
9057
|
+
@container (width >= 20rem) {
|
|
9058
|
+
grid-template-columns: minmax(0,3fr) minmax(0,2fr);
|
|
9059
|
+
}
|
|
9060
|
+
}
|
|
9061
|
+
.\@lg\:col-span-1 {
|
|
9062
|
+
@container (width >= 32rem) {
|
|
9063
|
+
grid-column: span 1 / span 1;
|
|
9064
|
+
}
|
|
9065
|
+
}
|
|
9066
|
+
.\@lg\:hidden {
|
|
9067
|
+
@container (width >= 32rem) {
|
|
9068
|
+
display: none;
|
|
9069
|
+
}
|
|
9070
|
+
}
|
|
9071
|
+
.\@lg\:grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,0\.8fr\)_minmax\(0\,1\.2fr\)\] {
|
|
9072
|
+
@container (width >= 32rem) {
|
|
9073
|
+
grid-template-columns: minmax(0,1fr) minmax(0,0.8fr) minmax(0,1.2fr);
|
|
9074
|
+
}
|
|
9075
|
+
}
|
|
9076
|
+
.\@lg\:gap-3 {
|
|
9077
|
+
@container (width >= 32rem) {
|
|
9078
|
+
gap: calc(var(--spacing) * 3);
|
|
9079
|
+
}
|
|
9080
|
+
}
|
|
9081
|
+
.\@lg\:in-\[\[data-condition-row\]\~\[data-condition-row\]\]\:sr-only {
|
|
9082
|
+
@container (width >= 32rem) {
|
|
9083
|
+
:where(*:is([data-condition-row]~[data-condition-row])) & {
|
|
9084
|
+
position: absolute;
|
|
9085
|
+
width: 1px;
|
|
9086
|
+
height: 1px;
|
|
9087
|
+
padding: 0;
|
|
9088
|
+
margin: -1px;
|
|
9089
|
+
overflow: hidden;
|
|
9090
|
+
clip-path: inset(50%);
|
|
9091
|
+
white-space: nowrap;
|
|
9092
|
+
border-width: 0;
|
|
9093
|
+
}
|
|
9094
|
+
}
|
|
9095
|
+
}
|
|
9096
|
+
.\@lg\:in-\[\[data-condition-row\]\~\[data-condition-row\]\]\:hidden {
|
|
9097
|
+
@container (width >= 32rem) {
|
|
9098
|
+
:where(*:is([data-condition-row]~[data-condition-row])) & {
|
|
9099
|
+
display: none;
|
|
9100
|
+
}
|
|
9101
|
+
}
|
|
9102
|
+
}
|
|
9030
9103
|
.rtl\:rotate-180 {
|
|
9031
9104
|
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
9032
9105
|
rotate: 180deg;
|
|
@@ -11493,7 +11566,7 @@
|
|
|
11493
11566
|
--color-success-foreground-inverse-dark-hc: #6eb84a;
|
|
11494
11567
|
--color-success-foreground-inverse-future-dark: #007a55;
|
|
11495
11568
|
--color-success-foreground-inverse-future-light: #00d492;
|
|
11496
|
-
--color-warning-icon-light: #
|
|
11569
|
+
--color-warning-icon-light: #9e6100;
|
|
11497
11570
|
--color-warning-icon-light-hc: #805a07;
|
|
11498
11571
|
--color-warning-icon-dark: #ffbb27;
|
|
11499
11572
|
--color-warning-icon-dark-hc: #ffbb27;
|
|
@@ -12226,7 +12299,7 @@ body.light, .apollo-design.light, :where(.light:not(.react-flow)) {
|
|
|
12226
12299
|
--color-success-text: #038108;
|
|
12227
12300
|
--color-success-background: #eeffe5;
|
|
12228
12301
|
--color-success-foreground-inverse: #74c94b;
|
|
12229
|
-
--color-warning-icon: #
|
|
12302
|
+
--color-warning-icon: #9e6100;
|
|
12230
12303
|
--color-warning-icon-inverse: #ffbb27;
|
|
12231
12304
|
--color-warning-text: #9e6100;
|
|
12232
12305
|
--color-warning-background: #fff3db;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-wind",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.94.0",
|
|
4
4
|
"description": "UiPath wind design system - A Tailwind CSS based React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"tailwindcss": "^4.1.17",
|
|
141
141
|
"vaul": "^1.1.2",
|
|
142
142
|
"zod": "^4.6.6",
|
|
143
|
-
"@uipath/apollo-core": "5.15.
|
|
143
|
+
"@uipath/apollo-core": "5.15.3"
|
|
144
144
|
},
|
|
145
145
|
"devDependencies": {
|
|
146
146
|
"@codemirror/lang-javascript": "^6.2.5",
|