"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Properties
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.AngleDescription = void 0;
const IModelApp_1 = require("../IModelApp");
const QuantityFormatter_1 = require("../quantity-formatting/QuantityFormatter");
const FormattedQuantityDescription_1 = require("./FormattedQuantityDescription");
/**
 * Angle Property Description
 * @beta
 */
class AngleDescription extends FormattedQuantityDescription_1.FormattedQuantityDescription {
    constructor(name, displayLabel, iconSpec) {
        const defaultName = "angle";
        super(name ? name : defaultName, displayLabel ? displayLabel : IModelApp_1.IModelApp.localization.getLocalizedString("iModelJs:Properties.Angle"), iconSpec);
    }
    get formatterQuantityType() { return QuantityFormatter_1.QuantityType.Angle; }
    get quantityType() { return "Angle"; }
    get parseError() { return IModelApp_1.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
}
exports.AngleDescription = AngleDescription;
//# sourceMappingURL=AngleDescription.js.map