import { CollectionFieldInterface } from "../../data-source/collection-field-interface/CollectionFieldInterface.mjs";
import { defaultProps } from "./properties/index.mjs";
function _define_property(obj, key, value) {
    if (key in obj) Object.defineProperty(obj, key, {
        value: value,
        enumerable: true,
        configurable: true,
        writable: true
    });
    else obj[key] = value;
    return obj;
}
class IconFieldInterface extends CollectionFieldInterface {
    constructor(...args){
        super(...args), _define_property(this, "name", 'icon'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 10), _define_property(this, "title", '{{t("Icon")}}'), _define_property(this, "default", {
            type: 'string',
            uiSchema: {
                type: 'string',
                'x-component': 'IconPicker'
            }
        }), _define_property(this, "availableTypes", [
            'string'
        ]), _define_property(this, "hasDefaultValue", true), _define_property(this, "properties", {
            ...defaultProps
        });
    }
}
export { IconFieldInterface };
