型・APIリファレンス
    Preparing search index...

    Interface AIChatContext

    AIChat コンテキスト

    複数階層のコンポーネント間で共有される状態とアクション。 Provider(MDetailDialog)で生成し、Consumer(PropertyEditor等)で注入する。

    interface AIChatContext {
        actions: AIChatActions;
        lastReflectEvent: ComputedRef<null | ReflectEvent>;
        messageHistory: ComputedRef<readonly ChatMessage[]>;
        state: {
            apiMessageHistory: readonly {
                content: string;
                messageId: string;
                reflectState?: {
                    errorMessage?: string;
                    metadata?:
                        | null
                        | string
                        | number
                        | boolean
                        | { from?: null
                        | string
                        | number; to?: null | string | number }
                        | readonly (
                            | string
                            | number
                            | boolean
                            | { from?: null
                            | string
                            | number; to?: null | string | number }
                        )[];
                    propertyName: string;
                    status: ReflectStatus;
                };
                retryable?: boolean;
                retryInfo?: { messageId: string };
                role: MessageRole;
                timestamp: number;
            }[];
            currentEditor: | null
            | { customStyle?: string; displayType: "LABEL"
            | "HIDDEN"; type: string }
            | {
                acceptType: string;
                customStyle?: string;
                displayType: "LINK" | "BINARY" | "LABEL" | "HIDDEN" | "PREVIEW";
                downloadActionName: string;
                height?: number;
                hideDeleteButton: boolean;
                hideSelectButton: boolean;
                openNewTab: boolean;
                placeholder?: string;
                referenceActionName: string;
                showImageRotateButton: boolean;
                type: string;
                uploadWebApiName: string;
                useImageViewer: boolean;
                usePdfjs: boolean;
                width?: number;
            }
            | {
                chipColors?: readonly {
                    falseChipColor: string;
                    trueChipColor: string;
                }[];
                customStyle?: string;
                defaultFalseLabel: string;
                defaultTrueLabel: string;
                displayType: | "RADIO"
                | "CHECKBOX"
                | "SWITCH"
                | "SELECT"
                | "LABEL"
                | "HIDDEN";
                itemDirectionInline: boolean;
                labelValues?: readonly { falseLabel: string; trueLabel: string }[];
                placeholder?: string;
                showAsChipViewMode: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                placeholder?: string;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "LABEL";
                editor: | {
                    chipColors?: readonly {
                        falseChipColor: string;
                        trueChipColor: string;
                    }[];
                    customStyle?: string;
                    defaultFalseLabel: string;
                    defaultTrueLabel: string;
                    displayType: | "RADIO"
                    | "CHECKBOX"
                    | "SWITCH"
                    | "SELECT"
                    | "LABEL"
                    | "HIDDEN";
                    itemDirectionInline: boolean;
                    labelValues?: readonly { falseLabel: string; trueLabel: string }[];
                    placeholder?: string;
                    showAsChipViewMode: boolean;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    placeholder?: string;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                }
                | {
                    chipColors?: readonly { chipColor: string; value: string }[];
                    customStyle?: string;
                    displayType: "CHECKBOX" | "SELECT" | "LABEL" | "HIDDEN";
                    itemDirectionInline: boolean;
                    placeholder?: string;
                    showAsChipViewMode: boolean;
                    type: string;
                    values: readonly {
                        cssClassName?: string;
                        disabled?: boolean;
                        label: string;
                        value: string;
                    }[];
                }
                | {
                    customStyle?: string;
                    displayType: | "SELECT"
                    | "TEXT"
                    | "TEXTAREA"
                    | "RICHTEXT"
                    | "PASSWORD"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    type: string;
                    values: readonly {
                        cssClassName?: string;
                        disabled?: boolean;
                        label: string;
                        value: string;
                    }[];
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    minInterval?: MinInterval;
                    minRoundingMode?: MinRoundingMode;
                    placeholder?: string;
                    timeDispRange?: TimeDispRange;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    minInterval?: MinInterval;
                    minRoundingMode?: MinRoundingMode;
                    placeholder?: string;
                    timeDispRange?: TimeDispRange;
                    type: string;
                };
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "TEXTAREA"
                | "RICHTEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                type: string;
                values?: readonly {
                    cssClassName?: string;
                    disabled?: boolean;
                    label: string;
                    value: string;
                }[];
            }
            | {
                customStyle?: string;
                displayLabelPropertyName?: string;
                displayType: | "LINK"
                | "CHECKBOX"
                | "SELECT"
                | "SELECTFILTER"
                | "LABEL"
                | "HIDDEN";
                displayTypeViewMode: "LINK"
                | "LABEL"
                | "HIDDEN";
                linkConfig?: {
                    canCreate: boolean;
                    canDelete: boolean;
                    canSelect: boolean;
                    editableReferenceEditMode: boolean;
                    editableReferenceViewMode: boolean;
                    onDeletedReferenceDialogJavaScript?: string;
                    onOpenNewReferenceDialogJavaScript?: string;
                    onOpenReferenceDialogJavaScript?: string;
                    onOpenSelectDialogJavaScript?: string;
                    onSavedReferenceDialogJavaScript?: string;
                    onSelectedSelectDialogJavaScript?: string;
                    permitConditionSelectAll: boolean;
                    permitVersionedSelect: boolean;
                    referenceViewName: string;
                    selectDialogCustomParameterJavaScript?: string;
                    selectDialogParameter?: { readonly [key: string]: string };
                    specificVersionPropertyName?: string;
                };
                referenceEntityName: string;
                selectFilterConfig?: {
                    executeMode?: "REMOTE"
                    | "CLIENT";
                    placeholder?: string;
                    researchSelectedPattern?: "KEEP" | "CLEAR";
                    searchPattern?: "PREFIX" | "POSTFIX" | "PARTIAL";
                };
                selectFilterValues?: readonly {
                    displayName?: string;
                    oid: string;
                    searchWord?: string;
                    value: string;
                    version?: number;
                }[];
                selectValueConfig?: {
                    itemDirectionInline: boolean;
                    placeholder?: string;
                };
                type: string;
                values?: readonly {
                    createBy?: string;
                    createDate?: | Date
                    | { formatValue?: string; value?: string
                    | number
                    | Date };
                    description?: string;
                    endDate?:
                        | Date
                        | { formatValue?: string; value?: string
                        | number
                        | Date };
                    lockedBy?: string;
                    name?: string;
                    oid?: string;
                    startDate?:
                        | Date
                        | { formatValue?: string; value?: string
                        | number
                        | Date };
                    state?: "V" | "I";
                    updateBy?: string;
                    updateDate?:
                        | Date
                        | { formatValue?: string; value?: string
                        | number
                        | Date };
                    version?: number | { formatValue: string; value?: string | number };
                    readonly [key: string]: any;
                }[];
            }
            | {
                componentName?: string;
                customStyle?: string;
                displayType: "HIDDEN"
                | "SCRIPT";
                precompileSfc: boolean;
                script: string;
                templateInterpretType: TemplateInterpretType;
                type: string;
            }
            | {
                chipColors?: readonly { chipColor: string; value: string }[];
                customStyle?: string;
                displayType: "CHECKBOX" | "SELECT" | "LABEL" | "HIDDEN";
                itemDirectionInline: boolean;
                placeholder?: string;
                showAsChipViewMode: boolean;
                type: string;
                values: readonly {
                    cssClassName?: string;
                    disabled?: boolean;
                    label: string;
                    value: string;
                }[];
            }
            | {
                customStyle?: string;
                displayType: | "SELECT"
                | "TEXT"
                | "TEXTAREA"
                | "RICHTEXT"
                | "PASSWORD"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                type: string;
                values: readonly {
                    cssClassName?: string;
                    disabled?: boolean;
                    label: string;
                    value: string;
                }[];
            }
            | {
                componentName?: string;
                customStyle?: string;
                displayType: "TEMPLATE"
                | "HIDDEN";
                precompileSfc: boolean;
                template: string;
                templateInterpretType: TemplateInterpretType;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                minInterval?: MinInterval;
                minRoundingMode?: MinRoundingMode;
                placeholder?: string;
                timeDispRange?: TimeDispRange;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                minInterval?: MinInterval;
                minRoundingMode?: MinRoundingMode;
                placeholder?: string;
                timeDispRange?: TimeDispRange;
                type: string;
            }
            | { customStyle?: string; displayType: "LABEL"
            | "HIDDEN"; type: string }
            | {
                customStyle?: string;
                displayType: "LABEL" | "HIDDEN";
                editor:
                    | {
                        customStyle?: string;
                        displayType: "TEXT"
                        | "LABEL"
                        | "HIDDEN";
                        maxLength: number;
                        placeholder?: string;
                        showComma: boolean;
                        type: string;
                    }
                    | {
                        customStyle?: string;
                        displayType: "TEXT"
                        | "LABEL"
                        | "HIDDEN";
                        maxLength: number;
                        placeholder?: string;
                        showComma: boolean;
                        type: string;
                    }
                    | {
                        customStyle?: string;
                        displayType: "TEXT"
                        | "LABEL"
                        | "HIDDEN";
                        maxLength: number;
                        placeholder?: string;
                        showComma: boolean;
                        type: string;
                    };
                equivalentInput: boolean;
                inputNullFrom: boolean;
                inputNullTo: boolean;
                toEditor: | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                };
                toPropertyName: string;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "LABEL"
                | "HIDDEN";
                editor:
                    | {
                        customStyle?: string;
                        displayType: "TEXT"
                        | "LABEL"
                        | "HIDDEN";
                        placeholder?: string;
                        type: string;
                    }
                    | {
                        customStyle?: string;
                        displayType: "TEXT"
                        | "LABEL"
                        | "HIDDEN";
                        minInterval?: MinInterval;
                        minRoundingMode?: MinRoundingMode;
                        placeholder?: string;
                        timeDispRange?: TimeDispRange;
                        type: string;
                    }
                    | {
                        customStyle?: string;
                        displayType: "TEXT"
                        | "LABEL"
                        | "HIDDEN";
                        minInterval?: MinInterval;
                        minRoundingMode?: MinRoundingMode;
                        placeholder?: string;
                        timeDispRange?: TimeDispRange;
                        type: string;
                    };
                equivalentInput: boolean;
                inputNullFrom: boolean;
                inputNullTo: boolean;
                toEditor: | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    placeholder?: string;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    minInterval?: MinInterval;
                    minRoundingMode?: MinRoundingMode;
                    placeholder?: string;
                    timeDispRange?: TimeDispRange;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    minInterval?: MinInterval;
                    minRoundingMode?: MinRoundingMode;
                    placeholder?: string;
                    timeDispRange?: TimeDispRange;
                    type: string;
                };
                toPropertyName: string;
                type: string;
            };
            currentValue: | null
            | string
            | number
            | boolean
            | { from?: null
            | string
            | number; to?: null | string | number }
            | readonly (
                | string
                | number
                | boolean
                | { from?: null
                | string
                | number; to?: null | string | number }
            )[];
            displayLabel: string;
            elementRuntimeId: string;
            entityName: string;
            formData: { readonly [key: string]: Readonly<unknown> };
            isActive: boolean;
            isLoading: boolean;
            lastReflectEvent:
                | null
                | {
                    messageId: string;
                    previousValue: | null
                    | string
                    | number
                    | boolean
                    | { from?: null
                    | string
                    | number; to?: null | string | number }
                    | readonly (
                        | string
                        | number
                        | boolean
                        | { from?: null
                        | string
                        | number; to?: null | string | number }
                    )[];
                    propertyName: string;
                    reflectType: ReflectType;
                    value:
                        | null
                        | string
                        | number
                        | boolean
                        | { from?: null
                        | string
                        | number; to?: null | string | number }
                        | readonly (
                            | string
                            | number
                            | boolean
                            | { from?: null
                            | string
                            | number; to?: null | string | number }
                        )[];
                };
            messages: readonly {
                content: string;
                messageId: string;
                reflectState?: {
                    errorMessage?: string;
                    metadata?: | null
                    | string
                    | number
                    | boolean
                    | { from?: null
                    | string
                    | number; to?: null | string | number }
                    | readonly (
                        | string
                        | number
                        | boolean
                        | { from?: null
                        | string
                        | number; to?: null | string | number }
                    )[];
                    propertyName: string;
                    status: ReflectStatus;
                };
                retryable?: boolean;
                retryInfo?: { messageId: string };
                role: MessageRole;
                timestamp: number;
            }[];
            promptDefinitions: readonly string[];
            selectedPromptDefinitionId: null
            | string;
            targetPropertyName: string;
            viewName: string;
        };
    }
    Index

    Properties

    actions: AIChatActions

    アクション

    lastReflectEvent: ComputedRef<null | ReflectEvent>

    最後の反映イベント(Provider側でwatchする)

    messageHistory: ComputedRef<readonly ChatMessage[]>

    メッセージ履歴(ComputedRefで応答性を保証)

    state: {
        apiMessageHistory: readonly {
            content: string;
            messageId: string;
            reflectState?: {
                errorMessage?: string;
                metadata?:
                    | null
                    | string
                    | number
                    | boolean
                    | { from?: null
                    | string
                    | number; to?: null | string | number }
                    | readonly (
                        | string
                        | number
                        | boolean
                        | { from?: null
                        | string
                        | number; to?: null | string | number }
                    )[];
                propertyName: string;
                status: ReflectStatus;
            };
            retryable?: boolean;
            retryInfo?: { messageId: string };
            role: MessageRole;
            timestamp: number;
        }[];
        currentEditor: | null
        | { customStyle?: string; displayType: "LABEL"
        | "HIDDEN"; type: string }
        | {
            acceptType: string;
            customStyle?: string;
            displayType: "LINK" | "BINARY" | "LABEL" | "HIDDEN" | "PREVIEW";
            downloadActionName: string;
            height?: number;
            hideDeleteButton: boolean;
            hideSelectButton: boolean;
            openNewTab: boolean;
            placeholder?: string;
            referenceActionName: string;
            showImageRotateButton: boolean;
            type: string;
            uploadWebApiName: string;
            useImageViewer: boolean;
            usePdfjs: boolean;
            width?: number;
        }
        | {
            chipColors?: readonly { falseChipColor: string; trueChipColor: string }[];
            customStyle?: string;
            defaultFalseLabel: string;
            defaultTrueLabel: string;
            displayType:
                | "RADIO"
                | "CHECKBOX"
                | "SWITCH"
                | "SELECT"
                | "LABEL"
                | "HIDDEN";
            itemDirectionInline: boolean;
            labelValues?: readonly { falseLabel: string; trueLabel: string }[];
            placeholder?: string;
            showAsChipViewMode: boolean;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "TEXT"
            | "LABEL"
            | "HIDDEN";
            placeholder?: string;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "TEXT"
            | "LABEL"
            | "HIDDEN";
            maxLength: number;
            placeholder?: string;
            showComma: boolean;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "LABEL";
            editor: | {
                chipColors?: readonly {
                    falseChipColor: string;
                    trueChipColor: string;
                }[];
                customStyle?: string;
                defaultFalseLabel: string;
                defaultTrueLabel: string;
                displayType: | "RADIO"
                | "CHECKBOX"
                | "SWITCH"
                | "SELECT"
                | "LABEL"
                | "HIDDEN";
                itemDirectionInline: boolean;
                labelValues?: readonly { falseLabel: string; trueLabel: string }[];
                placeholder?: string;
                showAsChipViewMode: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                placeholder?: string;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                chipColors?: readonly { chipColor: string; value: string }[];
                customStyle?: string;
                displayType: "CHECKBOX" | "SELECT" | "LABEL" | "HIDDEN";
                itemDirectionInline: boolean;
                placeholder?: string;
                showAsChipViewMode: boolean;
                type: string;
                values: readonly {
                    cssClassName?: string;
                    disabled?: boolean;
                    label: string;
                    value: string;
                }[];
            }
            | {
                customStyle?: string;
                displayType: | "SELECT"
                | "TEXT"
                | "TEXTAREA"
                | "RICHTEXT"
                | "PASSWORD"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                type: string;
                values: readonly {
                    cssClassName?: string;
                    disabled?: boolean;
                    label: string;
                    value: string;
                }[];
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                minInterval?: MinInterval;
                minRoundingMode?: MinRoundingMode;
                placeholder?: string;
                timeDispRange?: TimeDispRange;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                minInterval?: MinInterval;
                minRoundingMode?: MinRoundingMode;
                placeholder?: string;
                timeDispRange?: TimeDispRange;
                type: string;
            };
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "TEXT"
            | "LABEL"
            | "HIDDEN";
            maxLength: number;
            placeholder?: string;
            showComma: boolean;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "TEXT"
            | "LABEL"
            | "HIDDEN";
            maxLength: number;
            placeholder?: string;
            showComma: boolean;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "TEXT"
            | "TEXTAREA"
            | "RICHTEXT"
            | "LABEL"
            | "HIDDEN";
            maxLength: number;
            placeholder?: string;
            type: string;
            values?: readonly {
                cssClassName?: string;
                disabled?: boolean;
                label: string;
                value: string;
            }[];
        }
        | {
            customStyle?: string;
            displayLabelPropertyName?: string;
            displayType: | "LINK"
            | "CHECKBOX"
            | "SELECT"
            | "SELECTFILTER"
            | "LABEL"
            | "HIDDEN";
            displayTypeViewMode: "LINK"
            | "LABEL"
            | "HIDDEN";
            linkConfig?: {
                canCreate: boolean;
                canDelete: boolean;
                canSelect: boolean;
                editableReferenceEditMode: boolean;
                editableReferenceViewMode: boolean;
                onDeletedReferenceDialogJavaScript?: string;
                onOpenNewReferenceDialogJavaScript?: string;
                onOpenReferenceDialogJavaScript?: string;
                onOpenSelectDialogJavaScript?: string;
                onSavedReferenceDialogJavaScript?: string;
                onSelectedSelectDialogJavaScript?: string;
                permitConditionSelectAll: boolean;
                permitVersionedSelect: boolean;
                referenceViewName: string;
                selectDialogCustomParameterJavaScript?: string;
                selectDialogParameter?: { readonly [key: string]: string };
                specificVersionPropertyName?: string;
            };
            referenceEntityName: string;
            selectFilterConfig?: {
                executeMode?: "REMOTE"
                | "CLIENT";
                placeholder?: string;
                researchSelectedPattern?: "KEEP" | "CLEAR";
                searchPattern?: "PREFIX" | "POSTFIX" | "PARTIAL";
            };
            selectFilterValues?: readonly {
                displayName?: string;
                oid: string;
                searchWord?: string;
                value: string;
                version?: number;
            }[];
            selectValueConfig?: { itemDirectionInline: boolean; placeholder?: string };
            type: string;
            values?: readonly {
                createBy?: string;
                createDate?:
                    | Date
                    | { formatValue?: string; value?: string
                    | number
                    | Date };
                description?: string;
                endDate?: Date | { formatValue?: string; value?: string | number | Date };
                lockedBy?: string;
                name?: string;
                oid?: string;
                startDate?:
                    | Date
                    | { formatValue?: string; value?: string
                    | number
                    | Date };
                state?: "V" | "I";
                updateBy?: string;
                updateDate?:
                    | Date
                    | { formatValue?: string; value?: string
                    | number
                    | Date };
                version?: number | { formatValue: string; value?: string | number };
                readonly [key: string]: any;
            }[];
        }
        | {
            componentName?: string;
            customStyle?: string;
            displayType: "HIDDEN"
            | "SCRIPT";
            precompileSfc: boolean;
            script: string;
            templateInterpretType: TemplateInterpretType;
            type: string;
        }
        | {
            chipColors?: readonly { chipColor: string; value: string }[];
            customStyle?: string;
            displayType: "CHECKBOX" | "SELECT" | "LABEL" | "HIDDEN";
            itemDirectionInline: boolean;
            placeholder?: string;
            showAsChipViewMode: boolean;
            type: string;
            values: readonly {
                cssClassName?: string;
                disabled?: boolean;
                label: string;
                value: string;
            }[];
        }
        | {
            customStyle?: string;
            displayType: | "SELECT"
            | "TEXT"
            | "TEXTAREA"
            | "RICHTEXT"
            | "PASSWORD"
            | "LABEL"
            | "HIDDEN";
            maxLength: number;
            placeholder?: string;
            type: string;
            values: readonly {
                cssClassName?: string;
                disabled?: boolean;
                label: string;
                value: string;
            }[];
        }
        | {
            componentName?: string;
            customStyle?: string;
            displayType: "TEMPLATE"
            | "HIDDEN";
            precompileSfc: boolean;
            template: string;
            templateInterpretType: TemplateInterpretType;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "TEXT"
            | "LABEL"
            | "HIDDEN";
            minInterval?: MinInterval;
            minRoundingMode?: MinRoundingMode;
            placeholder?: string;
            timeDispRange?: TimeDispRange;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "TEXT"
            | "LABEL"
            | "HIDDEN";
            minInterval?: MinInterval;
            minRoundingMode?: MinRoundingMode;
            placeholder?: string;
            timeDispRange?: TimeDispRange;
            type: string;
        }
        | { customStyle?: string; displayType: "LABEL"
        | "HIDDEN"; type: string }
        | {
            customStyle?: string;
            displayType: "LABEL" | "HIDDEN";
            editor:
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    maxLength: number;
                    placeholder?: string;
                    showComma: boolean;
                    type: string;
                };
            equivalentInput: boolean;
            inputNullFrom: boolean;
            inputNullTo: boolean;
            toEditor: | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                maxLength: number;
                placeholder?: string;
                showComma: boolean;
                type: string;
            };
            toPropertyName: string;
            type: string;
        }
        | {
            customStyle?: string;
            displayType: "LABEL"
            | "HIDDEN";
            editor:
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    placeholder?: string;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    minInterval?: MinInterval;
                    minRoundingMode?: MinRoundingMode;
                    placeholder?: string;
                    timeDispRange?: TimeDispRange;
                    type: string;
                }
                | {
                    customStyle?: string;
                    displayType: "TEXT"
                    | "LABEL"
                    | "HIDDEN";
                    minInterval?: MinInterval;
                    minRoundingMode?: MinRoundingMode;
                    placeholder?: string;
                    timeDispRange?: TimeDispRange;
                    type: string;
                };
            equivalentInput: boolean;
            inputNullFrom: boolean;
            inputNullTo: boolean;
            toEditor: | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                placeholder?: string;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                minInterval?: MinInterval;
                minRoundingMode?: MinRoundingMode;
                placeholder?: string;
                timeDispRange?: TimeDispRange;
                type: string;
            }
            | {
                customStyle?: string;
                displayType: "TEXT"
                | "LABEL"
                | "HIDDEN";
                minInterval?: MinInterval;
                minRoundingMode?: MinRoundingMode;
                placeholder?: string;
                timeDispRange?: TimeDispRange;
                type: string;
            };
            toPropertyName: string;
            type: string;
        };
        currentValue: | null
        | string
        | number
        | boolean
        | { from?: null
        | string
        | number; to?: null | string | number }
        | readonly (
            | string
            | number
            | boolean
            | { from?: null
            | string
            | number; to?: null | string | number }
        )[];
        displayLabel: string;
        elementRuntimeId: string;
        entityName: string;
        formData: { readonly [key: string]: Readonly<unknown> };
        isActive: boolean;
        isLoading: boolean;
        lastReflectEvent:
            | null
            | {
                messageId: string;
                previousValue: | null
                | string
                | number
                | boolean
                | { from?: null
                | string
                | number; to?: null | string | number }
                | readonly (
                    | string
                    | number
                    | boolean
                    | { from?: null
                    | string
                    | number; to?: null | string | number }
                )[];
                propertyName: string;
                reflectType: ReflectType;
                value:
                    | null
                    | string
                    | number
                    | boolean
                    | { from?: null
                    | string
                    | number; to?: null | string | number }
                    | readonly (
                        | string
                        | number
                        | boolean
                        | { from?: null
                        | string
                        | number; to?: null | string | number }
                    )[];
            };
        messages: readonly {
            content: string;
            messageId: string;
            reflectState?: {
                errorMessage?: string;
                metadata?: | null
                | string
                | number
                | boolean
                | { from?: null
                | string
                | number; to?: null | string | number }
                | readonly (
                    | string
                    | number
                    | boolean
                    | { from?: null
                    | string
                    | number; to?: null | string | number }
                )[];
                propertyName: string;
                status: ReflectStatus;
            };
            retryable?: boolean;
            retryInfo?: { messageId: string };
            role: MessageRole;
            timestamp: number;
        }[];
        promptDefinitions: readonly string[];
        selectedPromptDefinitionId: null
        | string;
        targetPropertyName: string;
        viewName: string;
    }

    セッション状態(読み取り専用)

    Type Declaration

    • ReadonlyapiMessageHistory: readonly {
          content: string;
          messageId: string;
          reflectState?: {
              errorMessage?: string;
              metadata?:
                  | null
                  | string
                  | number
                  | boolean
                  | { from?: null
                  | string
                  | number; to?: null | string | number }
                  | readonly (
                      | string
                      | number
                      | boolean
                      | { from?: null
                      | string
                      | number; to?: null | string | number }
                  )[];
              propertyName: string;
              status: ReflectStatus;
          };
          retryable?: boolean;
          retryInfo?: { messageId: string };
          role: MessageRole;
          timestamp: number;
      }[]

      API送信用の会話履歴(成功した ASSISTANT / USERのみ)

    • ReadonlycurrentEditor:
          | null
          | { customStyle?: string; displayType: "LABEL"
          | "HIDDEN"; type: string }
          | {
              acceptType: string;
              customStyle?: string;
              displayType: "LINK" | "BINARY" | "LABEL" | "HIDDEN" | "PREVIEW";
              downloadActionName: string;
              height?: number;
              hideDeleteButton: boolean;
              hideSelectButton: boolean;
              openNewTab: boolean;
              placeholder?: string;
              referenceActionName: string;
              showImageRotateButton: boolean;
              type: string;
              uploadWebApiName: string;
              useImageViewer: boolean;
              usePdfjs: boolean;
              width?: number;
          }
          | {
              chipColors?: readonly { falseChipColor: string; trueChipColor: string }[];
              customStyle?: string;
              defaultFalseLabel: string;
              defaultTrueLabel: string;
              displayType:
                  | "RADIO"
                  | "CHECKBOX"
                  | "SWITCH"
                  | "SELECT"
                  | "LABEL"
                  | "HIDDEN";
              itemDirectionInline: boolean;
              labelValues?: readonly { falseLabel: string; trueLabel: string }[];
              placeholder?: string;
              showAsChipViewMode: boolean;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "TEXT"
              | "LABEL"
              | "HIDDEN";
              placeholder?: string;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "TEXT"
              | "LABEL"
              | "HIDDEN";
              maxLength: number;
              placeholder?: string;
              showComma: boolean;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "LABEL";
              editor: | {
                  chipColors?: readonly {
                      falseChipColor: string;
                      trueChipColor: string;
                  }[];
                  customStyle?: string;
                  defaultFalseLabel: string;
                  defaultTrueLabel: string;
                  displayType: | "RADIO"
                  | "CHECKBOX"
                  | "SWITCH"
                  | "SELECT"
                  | "LABEL"
                  | "HIDDEN";
                  itemDirectionInline: boolean;
                  labelValues?: readonly { falseLabel: string; trueLabel: string }[];
                  placeholder?: string;
                  showAsChipViewMode: boolean;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  placeholder?: string;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  maxLength: number;
                  placeholder?: string;
                  showComma: boolean;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  maxLength: number;
                  placeholder?: string;
                  showComma: boolean;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  maxLength: number;
                  placeholder?: string;
                  showComma: boolean;
                  type: string;
              }
              | {
                  chipColors?: readonly { chipColor: string; value: string }[];
                  customStyle?: string;
                  displayType: "CHECKBOX" | "SELECT" | "LABEL" | "HIDDEN";
                  itemDirectionInline: boolean;
                  placeholder?: string;
                  showAsChipViewMode: boolean;
                  type: string;
                  values: readonly {
                      cssClassName?: string;
                      disabled?: boolean;
                      label: string;
                      value: string;
                  }[];
              }
              | {
                  customStyle?: string;
                  displayType: | "SELECT"
                  | "TEXT"
                  | "TEXTAREA"
                  | "RICHTEXT"
                  | "PASSWORD"
                  | "LABEL"
                  | "HIDDEN";
                  maxLength: number;
                  placeholder?: string;
                  type: string;
                  values: readonly {
                      cssClassName?: string;
                      disabled?: boolean;
                      label: string;
                      value: string;
                  }[];
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  minInterval?: MinInterval;
                  minRoundingMode?: MinRoundingMode;
                  placeholder?: string;
                  timeDispRange?: TimeDispRange;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  minInterval?: MinInterval;
                  minRoundingMode?: MinRoundingMode;
                  placeholder?: string;
                  timeDispRange?: TimeDispRange;
                  type: string;
              };
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "TEXT"
              | "LABEL"
              | "HIDDEN";
              maxLength: number;
              placeholder?: string;
              showComma: boolean;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "TEXT"
              | "LABEL"
              | "HIDDEN";
              maxLength: number;
              placeholder?: string;
              showComma: boolean;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "TEXT"
              | "TEXTAREA"
              | "RICHTEXT"
              | "LABEL"
              | "HIDDEN";
              maxLength: number;
              placeholder?: string;
              type: string;
              values?: readonly {
                  cssClassName?: string;
                  disabled?: boolean;
                  label: string;
                  value: string;
              }[];
          }
          | {
              customStyle?: string;
              displayLabelPropertyName?: string;
              displayType: | "LINK"
              | "CHECKBOX"
              | "SELECT"
              | "SELECTFILTER"
              | "LABEL"
              | "HIDDEN";
              displayTypeViewMode: "LINK"
              | "LABEL"
              | "HIDDEN";
              linkConfig?: {
                  canCreate: boolean;
                  canDelete: boolean;
                  canSelect: boolean;
                  editableReferenceEditMode: boolean;
                  editableReferenceViewMode: boolean;
                  onDeletedReferenceDialogJavaScript?: string;
                  onOpenNewReferenceDialogJavaScript?: string;
                  onOpenReferenceDialogJavaScript?: string;
                  onOpenSelectDialogJavaScript?: string;
                  onSavedReferenceDialogJavaScript?: string;
                  onSelectedSelectDialogJavaScript?: string;
                  permitConditionSelectAll: boolean;
                  permitVersionedSelect: boolean;
                  referenceViewName: string;
                  selectDialogCustomParameterJavaScript?: string;
                  selectDialogParameter?: { readonly [key: string]: string };
                  specificVersionPropertyName?: string;
              };
              referenceEntityName: string;
              selectFilterConfig?: {
                  executeMode?: "REMOTE"
                  | "CLIENT";
                  placeholder?: string;
                  researchSelectedPattern?: "KEEP" | "CLEAR";
                  searchPattern?: "PREFIX" | "POSTFIX" | "PARTIAL";
              };
              selectFilterValues?: readonly {
                  displayName?: string;
                  oid: string;
                  searchWord?: string;
                  value: string;
                  version?: number;
              }[];
              selectValueConfig?: { itemDirectionInline: boolean; placeholder?: string };
              type: string;
              values?: readonly {
                  createBy?: string;
                  createDate?:
                      | Date
                      | { formatValue?: string; value?: string
                      | number
                      | Date };
                  description?: string;
                  endDate?: Date | { formatValue?: string; value?: string | number | Date };
                  lockedBy?: string;
                  name?: string;
                  oid?: string;
                  startDate?:
                      | Date
                      | { formatValue?: string; value?: string
                      | number
                      | Date };
                  state?: "V" | "I";
                  updateBy?: string;
                  updateDate?:
                      | Date
                      | { formatValue?: string; value?: string
                      | number
                      | Date };
                  version?: number | { formatValue: string; value?: string | number };
                  readonly [key: string]: any;
              }[];
          }
          | {
              componentName?: string;
              customStyle?: string;
              displayType: "HIDDEN"
              | "SCRIPT";
              precompileSfc: boolean;
              script: string;
              templateInterpretType: TemplateInterpretType;
              type: string;
          }
          | {
              chipColors?: readonly { chipColor: string; value: string }[];
              customStyle?: string;
              displayType: "CHECKBOX" | "SELECT" | "LABEL" | "HIDDEN";
              itemDirectionInline: boolean;
              placeholder?: string;
              showAsChipViewMode: boolean;
              type: string;
              values: readonly {
                  cssClassName?: string;
                  disabled?: boolean;
                  label: string;
                  value: string;
              }[];
          }
          | {
              customStyle?: string;
              displayType: | "SELECT"
              | "TEXT"
              | "TEXTAREA"
              | "RICHTEXT"
              | "PASSWORD"
              | "LABEL"
              | "HIDDEN";
              maxLength: number;
              placeholder?: string;
              type: string;
              values: readonly {
                  cssClassName?: string;
                  disabled?: boolean;
                  label: string;
                  value: string;
              }[];
          }
          | {
              componentName?: string;
              customStyle?: string;
              displayType: "TEMPLATE"
              | "HIDDEN";
              precompileSfc: boolean;
              template: string;
              templateInterpretType: TemplateInterpretType;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "TEXT"
              | "LABEL"
              | "HIDDEN";
              minInterval?: MinInterval;
              minRoundingMode?: MinRoundingMode;
              placeholder?: string;
              timeDispRange?: TimeDispRange;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "TEXT"
              | "LABEL"
              | "HIDDEN";
              minInterval?: MinInterval;
              minRoundingMode?: MinRoundingMode;
              placeholder?: string;
              timeDispRange?: TimeDispRange;
              type: string;
          }
          | { customStyle?: string; displayType: "LABEL"
          | "HIDDEN"; type: string }
          | {
              customStyle?: string;
              displayType: "LABEL" | "HIDDEN";
              editor:
                  | {
                      customStyle?: string;
                      displayType: "TEXT"
                      | "LABEL"
                      | "HIDDEN";
                      maxLength: number;
                      placeholder?: string;
                      showComma: boolean;
                      type: string;
                  }
                  | {
                      customStyle?: string;
                      displayType: "TEXT"
                      | "LABEL"
                      | "HIDDEN";
                      maxLength: number;
                      placeholder?: string;
                      showComma: boolean;
                      type: string;
                  }
                  | {
                      customStyle?: string;
                      displayType: "TEXT"
                      | "LABEL"
                      | "HIDDEN";
                      maxLength: number;
                      placeholder?: string;
                      showComma: boolean;
                      type: string;
                  };
              equivalentInput: boolean;
              inputNullFrom: boolean;
              inputNullTo: boolean;
              toEditor: | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  maxLength: number;
                  placeholder?: string;
                  showComma: boolean;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  maxLength: number;
                  placeholder?: string;
                  showComma: boolean;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  maxLength: number;
                  placeholder?: string;
                  showComma: boolean;
                  type: string;
              };
              toPropertyName: string;
              type: string;
          }
          | {
              customStyle?: string;
              displayType: "LABEL"
              | "HIDDEN";
              editor:
                  | {
                      customStyle?: string;
                      displayType: "TEXT"
                      | "LABEL"
                      | "HIDDEN";
                      placeholder?: string;
                      type: string;
                  }
                  | {
                      customStyle?: string;
                      displayType: "TEXT"
                      | "LABEL"
                      | "HIDDEN";
                      minInterval?: MinInterval;
                      minRoundingMode?: MinRoundingMode;
                      placeholder?: string;
                      timeDispRange?: TimeDispRange;
                      type: string;
                  }
                  | {
                      customStyle?: string;
                      displayType: "TEXT"
                      | "LABEL"
                      | "HIDDEN";
                      minInterval?: MinInterval;
                      minRoundingMode?: MinRoundingMode;
                      placeholder?: string;
                      timeDispRange?: TimeDispRange;
                      type: string;
                  };
              equivalentInput: boolean;
              inputNullFrom: boolean;
              inputNullTo: boolean;
              toEditor: | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  placeholder?: string;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  minInterval?: MinInterval;
                  minRoundingMode?: MinRoundingMode;
                  placeholder?: string;
                  timeDispRange?: TimeDispRange;
                  type: string;
              }
              | {
                  customStyle?: string;
                  displayType: "TEXT"
                  | "LABEL"
                  | "HIDDEN";
                  minInterval?: MinInterval;
                  minRoundingMode?: MinRoundingMode;
                  placeholder?: string;
                  timeDispRange?: TimeDispRange;
                  type: string;
              };
              toPropertyName: string;
              type: string;
          }

      対象プロパティエディター

    • ReadonlycurrentValue:
          | null
          | string
          | number
          | boolean
          | { from?: null
          | string
          | number; to?: null | string | number }
          | readonly (
              | string
              | number
              | boolean
              | { from?: null
              | string
              | number; to?: null | string | number }
          )[]

      対象プロパティ値

    • ReadonlydisplayLabel: string

      対象プロパティの表示用ラベル

    • ReadonlyelementRuntimeId: string

      エレメントランタイムID

    • ReadonlyentityName: string

      Entity定義名

    • ReadonlyformData: { readonly [key: string]: Readonly<unknown> }

      フォームデータ(項目値が処理されていない)

    • ReadonlyisActive: boolean

      パネルの開閉状態

    • ReadonlyisLoading: boolean

      ローディング状態

    • ReadonlylastReflectEvent:
          | null
          | {
              messageId: string;
              previousValue: | null
              | string
              | number
              | boolean
              | { from?: null
              | string
              | number; to?: null | string | number }
              | readonly (
                  | string
                  | number
                  | boolean
                  | { from?: null
                  | string
                  | number; to?: null | string | number }
              )[];
              propertyName: string;
              reflectType: ReflectType;
              value:
                  | null
                  | string
                  | number
                  | boolean
                  | { from?: null
                  | string
                  | number; to?: null | string | number }
                  | readonly (
                      | string
                      | number
                      | boolean
                      | { from?: null
                      | string
                      | number; to?: null | string | number }
                  )[];
          }

      最後の反映イベント(Undo用)

    • Readonlymessages: readonly {
          content: string;
          messageId: string;
          reflectState?: {
              errorMessage?: string;
              metadata?:
                  | null
                  | string
                  | number
                  | boolean
                  | { from?: null
                  | string
                  | number; to?: null | string | number }
                  | readonly (
                      | string
                      | number
                      | boolean
                      | { from?: null
                      | string
                      | number; to?: null | string | number }
                  )[];
              propertyName: string;
              status: ReflectStatus;
          };
          retryable?: boolean;
          retryInfo?: { messageId: string };
          role: MessageRole;
          timestamp: number;
      }[]

      チャット履歴メッセージ一覧

    • ReadonlypromptDefinitions: readonly string[]

      プロンプト定義ID一覧

    • ReadonlyselectedPromptDefinitionId: null | string

      ユーザが選択したプロンプト定義ID

    • ReadonlytargetPropertyName: string

      対象のProperty名(出力先)

    • ReadonlyviewName: string

      View定義名