Skip to content

PropertyUI Component Reference

8.1 PropertyUICommonProps — Common UI Properties

All UI components support the following common properties:

typescript
interface PropertyUICommonProps {
  /** Whether disabled. */
  disabled?: boolean

  /** Help hint text displayed below field. */
  hint?: I18nText

  /** Input placeholder text. */
  placeholder?: I18nText

  /** Whether read-only. */
  readonly?: boolean

  /** Whether sensitive data (value masked). */
  sensitive?: boolean

  /** Whether to support expression input. */
  support_expression?: boolean

  /** Field width. */
  width?: "small" | "medium" | "full"

  /** Indentation level (pixels). Even number, range 2-80. */
  indentation?: number

  /** Hidden but retained in DOM (CSS display:none). */
  display_none?: boolean
}

Field Details:

PropertyTypeDescription
disabledbooleanGrayed out, not interactive
hintI18nTextExplanatory text below field
placeholderI18nTextHint text inside input
readonlybooleanVisible but not editable
sensitivebooleanValue displayed as ••••••
support_expressionbooleanAllow dynamic expression input
widthstring"small" ~1/3 width, "medium" ~1/2, "full" full row
indentationnumberVisual indentation for hierarchy representation
display_nonebooleanCSS hidden, but data not cleared

8.2 Available UI Components for String Type

componentDescriptionTypical UseSpecific Options
"input"Single-line input ⭐Plain text parameter-
"textarea"Multi-line inputLong text, code snippetsmin_height, max_height
"select"Dropdown selectionParameters requiring enumoptions, searchable, clearable
"radio-group"Radio buttonsFew options, intuitiveoptions, searchable, clearable
"code-editor"Code editorJSON, JavaScript, Python, Markdownlanguage, rows, line_numbers, line_wrapping, min_height, max_height
"emoji-picker"Emoji pickerIcon/symbol selectionsize
"color-picker"Color pickerRGB/HEX color values-

8.3 Available UI Components for Number Type

componentDescriptionTypical UseSpecific Options
"number-input"Number input ⭐Plain number inputstep, suffix
"slider"Range sliderVisual value selection, range limitstep

8.4 Available UI Components for Boolean Type

componentDescriptionTypical Use
"switch"Toggle ⭐Enable/disable

8.5 Available UI Components for Object Type

componentDescriptionRendering EffectSpecific Options
(not set)Flat render ⭐Child fields laid out directly-
"collapsible-panel"Collapsible panelCollapsible containerdefault_collapsed, collapsible, panel_title, sortable
"section"Section panelObject name with underline at top, child properties render downward with indentation-
"code-editor"Code editorEdit entire object as JSONlanguage, rows, line_numbers, line_wrapping
"json-schema-editor"JSON Schema editorVisual schema editing-
"conditions-editor"Conditions editorCondition rule editing-

8.6 Available UI Components for Array Type

componentDescriptionApplicable ScenariosSpecific Options
"array-section" or unsetArray panel ⭐Generic array editing; auto-detect mode-
"multi-select"Multi-selectArray elements as enum strings-
"tag-input"Tag inputFree text list-
"slider"Range sliderNumeric range [min, max]step
"key-value-editor"Key-value editorArray elements as { key, value } objects-

8.7 Available UI Components for CredentialId Type

componentDescription
"credential-select" ⭐onlyCredential selector dropdown with list and new button

8.8 ResourceLocator UI

resource_locator does not use a component key. It always renders as a two-part control:

  • Left: a mode selector dropdown listing configured modes by their display_name.
  • Right: an input that adapts to the active mode.
ModeRight-side control
listRead-only label input. Clicking opens a searchable dropdown with infinite-scroll pagination.
urlEditable text input (URL string).
idEditable text input (raw ID).

Common PropertyUICommonProps fields such as hint, placeholder, support_expression, and width are supported.

8.9 ResourceMapper UI

resource_mapper does not use a component key. It always renders as a section with a Mapping mode selector at the top.

ModeRendering
manualOne typed input row per field returned by the resource_mapping callback. Each row has a delete button. An Add Field dropdown restores removed optional fields.
autoJSON code editor with support_expression always enabled.

Field type → input component mapping in manual mode:

Field typeInput component
stringText input
number / integerNumber input
booleanToggle switch
object / arrayJSON code editor