UNPKG

@quillforms/blocklib-multiple-choice-block

Version:
73 lines (72 loc) 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.name = exports.metadata = void 0; /** * Internal Dependencies */ const metadata = exports.metadata = { name: "multiple-choice", supports: { editable: true, required: true, attachment: true, description: true, logic: true, theme: true, points: true, payments: true, choices: true, correctAnswers: true }, attributes: { choices: { type: "array", items: { type: "object", properties: { value: { type: "string" }, label: { type: "string" } } }, "default": [{ value: "124e4567e89b", label: "Choice 1" }] }, max: { type: ["number", "boolean"], "default": false }, min: { type: ["number", "boolean"], "default": false }, verticalAlign: { type: "boolean", "default": false }, multiple: { type: "boolean" }, other: { type: "boolean", "default": false }, otherText: { type: "string", "default": "Other" } }, logicalOperators: ["is", "is_not"] }; const { name } = metadata; exports.name = name; //# sourceMappingURL=index.js.map