import { FieldAngle } from '../../../source-editor/blockly/field/field-angle.js';
export const registerAnglePicker = (Blockly) => {
    Blockly.Blocks.angle = {
        init: function init() {
            this.appendDummyInput()
                .appendField(new FieldAngle(null), 'VALUE');
            this.setOutput('Number');
        },
    };
    Blockly.JavaScript.angle = (block) => {
        const value = block.getFieldValue('VALUE');
        return [value, Blockly.JavaScript.ORDER_ATOMIC];
    };
};
//# sourceMappingURL=angle-picker.js.map