File

src/ui/error-handler/input-prompt-dialog/input-prompt-normalization.service.ts

Description

Service for normalizing SSEH PropertyControlOptions to SmartComboEditorOptions Used specifically by input prompt dialog components

Index

Methods

Methods

Public hasInlineLookupOptions
hasInlineLookupOptions(options?: InputPromptLookupOptions)

Returns whether lookup options contain enough inline definition data to render.

Parameters :
Name Type Optional Description
options InputPromptLookupOptions Yes
  • The lookup control options.
Returns : boolean

True when the lookup can be rendered by the Angular client.

Public normalizeComboOptions
normalizeComboOptions(options?: InputPromptComboOptions)

Normalizes combo options from backend PropertyControlOptions to SmartComboEditorOptions Priority: BusinessEntity > valueList > ValueListPair > ValueListKey > empty

Parameters :
Name Type Optional Description
options InputPromptComboOptions Yes
  • The PropertyControlOptions from backend

Normalized SmartComboEditorOptions

Public normalizeLookupOptions
normalizeLookupOptions(options: InputPromptLookupOptions, propertyName: string)

Normalizes lookup options from backend PropertyControlOptions to SmartLookupOptions.

Parameters :
Name Type Optional Description
options InputPromptLookupOptions No
  • The lookup control options.
propertyName string No
  • The input prompt property name.
Returns : SmartLookupOptions

Normalized Smart Lookup options.

results matching ""

    No results matching ""