import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
import { ExpressionValue } from "../../ExpressionValue";
import { ExpressionValueRenderer } from "../../ExpressionValueRenderer";
import { BracketedDiv, ExpressionPiece } from "../../ExpressionStyles";
import { StringDataDefinition } from "../../../Common/Data/Definitions/StringDataDefinition";
import { BaseStringExpression } from "./BaseString";
export class StringProperExpression extends BaseStringExpression {
    constructor() {
        super();
        this.__type = "String Proper";
        this.value1 = ExpressionValue.createExpressionValue(this, "stringValue", new StringDataDefinition());
    }
    render() {
        return (_jsx(_Fragment, { children: _jsxs(ExpressionPiece, { children: ["text.toPropercase", _jsx(BracketedDiv, { children: _jsx(ExpressionValueRenderer, { el: this.value1 }, void 0) }, void 0)] }, void 0) }, void 0));
    }
    evaluate(data) {
        throw new Error("Method not implemented.");
    }
}
//# sourceMappingURL=StringProperExpression.js.map