{
    "params": [
        {
            "name": "buttonLabel",
            "type": "varchar"
        },
        {
            "name": "placeholder",
            "type": "varchar",
            "tooltip": true
        },
        {
            "name": "title",
            "type": "varchar"
        },
        {
            "name": "hideLabel",
            "type": "bool",
            "tooltip": true,
            "default": false
        },
        {
            "name": "required",
            "type": "bool",
            "default": false
        },
        {
            "name": "mode",
            "type": "enum",
            "default": "openNewTab",
            "options": [
                "openNewTab",
                "openUrl",
                "openPopup",
                "openModal",
                "openEspoModal",
                "quickCreate"
            ],
            "view": "link-button:views/admin/field-manager/fields/mode"
        },
        {
            "name": "hideOriginalWorkflowAction",
            "type": "bool",
            "view": "link-button:views/admin/field-manager/fields/confirmation-dialog"
        },
        {
            "name": "confirmationDialog",
            "type": "bool",
            "view": "link-button:views/admin/field-manager/fields/confirmation-dialog"
        },
        {
            "name": "confirmationText",
            "type": "text",
            "view": "link-button:views/admin/field-manager/fields/confirmation-text"
        },
        {
            "name": "popupHeight",
            "type": "int",
            "default": 800,
            "disableFormatting": true,
            "view": "link-button:views/admin/field-manager/fields/popup"
        },
        {
            "name": "popupWidth",
            "type": "int",
            "default": 600,
            "disableFormatting": true,
            "view": "link-button:views/admin/field-manager/fields/popup"
        },
        {
            "name": "style",
            "type": "enum",
            "default": "default",
            "options": [
                "default",
                "primary",
                "secondary",
                "success",
                "danger",
                "warning",
                "info",
                "dark",
                "light",
                "outline-primary",
                "outline-secondary",
                "outline-success",
                "outline-danger",
                "outline-warning",
                "outline-info",
                "outline-dark",
                "outline-light"
            ]
        },
        {
            "name": "buttonSize",
            "type": "enum",
            "default": "btn-md",
            "options": [
                "btn-sm",
                "btn-md",
                "btn-lg",
                "btn-sm btn-block",
                "btn-md btn-block",
                "btn-lg btn-block"
            ]
        },
        {
            "name": "iconLeft",
            "type": "varchar",
            "default": null,
            "view": "views/admin/entity-manager/fields/icon-class"
        },
        {
            "name": "iconRight",
            "type": "varchar",
            "default": null,
            "view": "views/admin/entity-manager/fields/icon-class"
        },
        {
            "name": "default",
            "type": "varchar"
        },
        {
            "name": "audited",
            "type": "bool"
        },
        {
            "name": "readOnly",
            "type": "bool"
        },
        {
            "name": "readOnlyAfterCreate",
            "type": "bool"
        }
    ],
    "filter": true,
    "fieldDefs": {
        "type": "varchar"
    },
    "view": "link-button:views/fields/link-button"
}
