formiojs
Version:
Common js library for client side interaction with <form.io>
92 lines (89 loc) • 1.61 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _utils = require("../../../utils/utils");
var _default = [{
key: 'eventType',
label: 'Type of event',
tooltip: 'Specify type of event that this reCAPTCHA would react to',
type: 'radio',
values: [{
label: 'Form Load',
value: 'formLoad'
}, {
label: 'Button Click',
value: 'buttonClick'
}],
weight: 650
}, {
type: 'select',
input: true,
label: 'Button Key',
key: 'buttonKey',
dataSrc: 'custom',
valueProperty: 'value',
tooltip: 'Specify key of button on this form that this reCAPTCHA should react to',
weight: 660,
customConditional: function customConditional(context) {
return context.data.eventType === 'buttonClick';
},
data: {
custom: function custom(context) {
return (0, _utils.getContextButtons)(context);
}
}
}, {
key: 'label',
ignore: true
}, {
key: 'hideLabel',
ignore: true
}, {
key: 'labelPosition',
ignore: true
}, {
key: 'placeholder',
ignore: true
}, {
key: 'description',
ignore: true
}, {
key: 'tooltip',
ignore: true
}, {
key: 'errorLabel',
ignore: true
}, {
key: 'customClass',
ignore: true
}, {
key: 'tabindex',
ignore: true
}, {
key: 'multiple',
ignore: true
}, {
key: 'clearOnHide',
ignore: true
}, {
key: 'hidden',
ignore: true
}, {
key: 'mask',
ignore: true
}, {
key: 'dataGridLabel',
ignore: true
}, {
key: 'disabled',
ignore: true
}, {
key: 'autofocus',
ignore: true
}, {
key: 'tableView',
ignore: true
}];
exports.default = _default;