@tripetto/block-checkboxes
Version:
Checkboxes block for Tripetto.
2 lines • 37.9 kB
JavaScript
/*! Tripetto Checkboxes Block 7.1.1 - Copyright (C) 2023 Tripetto B.V. - All Rights Reserved */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("Tripetto")):"function"==typeof define&&define.amd?define("TripettoBlockCheckboxesBuilder",["Tripetto"],t):"object"==typeof exports?exports.TripettoBlockCheckboxesBuilder=t(require("Tripetto")):e.TripettoBlockCheckboxesBuilder=t(e.Tripetto)}(self,(function(e){return function(){"use strict";var t={315:function(e,t,o){var i,c=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),n=this&&this.__decorate||function(e,t,o,i){var c,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(r=(n<3?c(r):n>3?c(t,o,r):c(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.Checkbox=void 0;var r=o(210),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.name="",t}return c(t,e),t.prototype.defineSlot=function(){var e=this.name&&(0,r.markdownifyToString)(this.name,r.Markdown.MarkdownFeatures.Formatting|r.Markdown.MarkdownFeatures.Hyperlinks)||void 0,t=this.ref.slots.dynamic({type:r.Slots.Boolean,reference:this.id,label:(0,r.pgettext)("block:checkboxes","Checkbox"),sequence:this.index,name:e,alias:this.value,required:this.ref.required,exportable:"concatenate"!==this.ref.format&&this.ref.exportable,pipeable:{label:(0,r.pgettext)("block:checkboxes","Checkbox"),content:this.name!==e?{string:e||"",markdown:this.name}:"name",alias:this.ref.alias,legacy:"Checkbox"}});t.labelForTrue=this.labelForTrue||this.ref.labelForTrue||(0,r.pgettext)("block:checkboxes","Checked"),t.labelForFalse=this.labelForFalse||this.ref.labelForFalse||(0,r.pgettext)("block:checkboxes","Not checked")},t.prototype.deleteSlot=function(){this.ref.slots.delete(this.id,"dynamic")},t.prototype.defineEditor=function(){this.editor.option({name:(0,r.pgettext)("block:checkboxes","Name"),form:{title:(0,r.pgettext)("block:checkboxes","Checkbox name"),controls:[new r.Forms.Text("singleline",r.Forms.Text.bind(this,"name","")).action("@",(0,r.insertVariable)(this)).autoFocus().autoSelect().enter(this.editor.close).escape(this.editor.close)]},locked:!0}),this.editor.option({name:(0,r.pgettext)("block:checkboxes","Description"),form:{title:(0,r.pgettext)("block:checkboxes","Description"),controls:[new r.Forms.Text("multiline",r.Forms.Text.bind(this,"description",void 0)).action("@",(0,r.insertVariable)(this))]},activated:(0,r.isString)(this.description)}),this.editor.group((0,r.pgettext)("block:checkboxes","Options")),this.editor.option({name:(0,r.pgettext)("block:checkboxes","Exclusivity"),form:{title:(0,r.pgettext)("block:checkboxes","Exclusivity"),controls:[new r.Forms.Checkbox((0,r.pgettext)("block:checkboxes","Uncheck all other checkboxes when checked"),r.Forms.Checkbox.bind(this,"exclusive",void 0,!0))]},activated:(0,r.isBoolean)(this.exclusive)});var e=(0,r.pgettext)("block:checkboxes","Checked"),t=(0,r.pgettext)("block:checkboxes","Not checked");this.editor.option({name:(0,r.pgettext)("block:checkboxes","Labels"),form:{title:(0,r.pgettext)("block:checkboxes","Labels"),controls:[new r.Forms.Text("singleline",r.Forms.Text.bind(this,"labelForTrue",void 0)).placeholder(e),new r.Forms.Text("singleline",r.Forms.Text.bind(this,"labelForFalse",void 0)).placeholder(t),new r.Forms.Static((0,r.pgettext)("block:checkboxes","These labels will be used in the dataset and override the default values %1 and %2.","**".concat(e,"**"),"**".concat(t,"**"))).markdown()]},activated:(0,r.isString)(this.labelForTrue)||(0,r.isString)(this.labelForFalse)}),this.editor.option({name:(0,r.pgettext)("block:checkboxes","Identifier"),form:{title:(0,r.pgettext)("block:checkboxes","Identifier"),controls:[new r.Forms.Text("singleline",r.Forms.Text.bind(this,"value",void 0)),new r.Forms.Static((0,r.pgettext)("block:checkboxes","If a checkbox identifier is set, this identifier will be used instead of the label."))]},activated:(0,r.isString)(this.value)});var o=this.ref.slots.select("score","feature");this.editor.option({name:(0,r.pgettext)("block:checkboxes","Score"),form:{title:(0,r.pgettext)("block:checkboxes","Score"),controls:[new r.Forms.Numeric(r.Forms.Numeric.bind(this,"score",void 0)).precision((null==o?void 0:o.precision)||0).digits((null==o?void 0:o.digits)||0).decimalSign((null==o?void 0:o.decimal)||"").thousands(!!(null==o?void 0:o.separator),(null==o?void 0:o.separator)||"").prefix((null==o?void 0:o.prefix)||"").prefixPlural((null==o?void 0:o.prefixPlural)||void 0).suffix((null==o?void 0:o.suffix)||"").suffixPlural((null==o?void 0:o.suffixPlural)||void 0)]},activated:!0,locked:!!o,disabled:!o})},n([(0,r.definition)("string"),r.name],t.prototype,"name",void 0),n([(0,r.definition)("string","optional")],t.prototype,"description",void 0),n([(0,r.definition)("string","optional"),r.alias],t.prototype,"value",void 0),n([(0,r.definition)("string","optional"),(0,r.affects)("#refresh")],t.prototype,"labelForTrue",void 0),n([(0,r.definition)("string","optional"),(0,r.affects)("#refresh")],t.prototype,"labelForFalse",void 0),n([(0,r.definition)("number","optional"),r.score],t.prototype,"score",void 0),n([(0,r.definition)("boolean","optional"),(0,r.affects)("#name")],t.prototype,"exclusive",void 0),n([r.created,r.reordered,r.renamed,r.refreshed],t.prototype,"defineSlot",null),n([r.deleted],t.prototype,"deleteSlot",null),n([r.editor],t.prototype,"defineEditor",null),t}(r.Collection.Item);t.Checkbox=l},702:function(e,t,o){var i,c=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),n=this&&this.__decorate||function(e,t,o,i){var c,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(r=(n<3?c(r):n>3?c(t,o,r):c(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxCondition=void 0;var r=o(210),l=o(537),s=o(134),a=o(970),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.checked=!0,t}return c(t,e),Object.defineProperty(t.prototype,"icon",{get:function(){return this.checked?s.default:a.default},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){var e;return(0,r.markdownifyToString)((null===(e=this.checkbox)||void 0===e?void 0:e.name)||"")||this.type.label},enumerable:!1,configurable:!0}),t.prototype.defineEditor=function(){var e;this.editor.form({controls:[new r.Forms.Checkbox((0,r.markdownifyToString)((null===(e=this.checkbox)||void 0===e?void 0:e.name)||"")||(0,r.pgettext)("block:checkboxes","Checkbox is checked"),r.Forms.Checkbox.bind(this,"checked",!0))]})},n([(0,r.affects)("#name"),(0,r.collection)("#checkboxes")],t.prototype,"checkbox",void 0),n([(0,r.affects)("#icon"),r.definition],t.prototype,"checked",void 0),n([r.editor],t.prototype,"defineEditor",null),t=n([(0,r.tripetto)({type:"condition",legacyBlock:!0,context:"@tripetto/block-checkboxes",identifier:"@tripetto/block-checkboxes",version:"7.1.1",icon:l.default,get label(){return(0,r.pgettext)("block:checkboxes","Checkbox state")}})],t)}(r.ConditionBlock);t.CheckboxCondition=u},929:function(e,t,o){var i,c=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),n=this&&this.__decorate||function(e,t,o,i){var c,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(r=(n<3?c(r):n>3?c(t,o,r):c(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.CounterCondition=void 0;var r=o(210),l=o(948),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allowMarkdown=!0,t.mode="equal",t}return c(t,e),Object.defineProperty(t.prototype,"label",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){var e=this.slot;if(e instanceof r.Slots.Number){var t=this.parse(e,this.value);switch(this.mode){case"between":return"".concat(t," ≤ @").concat(e.id," ≤ ").concat(this.parse(e,this.to));case"not-between":return"@".concat(e.id," < ").concat(t," ").concat((0,r.pgettext)("block:checkboxes","or")," @").concat(e.id," > ").concat(this.parse(e,this.to));case"not-equal":return"@".concat(e.id," ≠ ").concat(t);case"above":case"below":case"equal":return"@".concat(e.id," ").concat("above"===this.mode?">":"below"===this.mode?"<":"="," ").concat(t)}}return this.type.label},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){var e,t;return(null===(e=this.slot)||void 0===e?void 0:e.label)||(null===(t=this.node)||void 0===t?void 0:t.label)},enumerable:!1,configurable:!0}),t.prototype.parse=function(e,t){var o;return(0,r.isNumberFinite)(t)?e.toString(t,(function(e){return r.L10n.locale.number(e,0,!1)})):(0,r.isString)(t)&&t&&(null===(o=(0,r.lookupVariable)(this,t))||void 0===o?void 0:o.label)?"@".concat(t):"\\_\\_"},t.prototype.defineEditor=function(){var e=this;this.editor.form({title:(0,r.pgettext)("block:checkboxes","Compare mode"),controls:[new r.Forms.Radiobutton([{label:(0,r.pgettext)("block:checkboxes","Counter is equal to"),value:"equal"},{label:(0,r.pgettext)("block:checkboxes","Counter is not equal to"),value:"not-equal"},{label:(0,r.pgettext)("block:checkboxes","Counter is lower than"),value:"below"},{label:(0,r.pgettext)("block:checkboxes","Counter is higher than"),value:"above"},{label:(0,r.pgettext)("block:checkboxes","Counter is between"),value:"between"},{label:(0,r.pgettext)("block:checkboxes","Counter is not between"),value:"not-between"}],r.Forms.Radiobutton.bind(this,"mode","equal")).on((function(e){switch(i.visible("between"===e.value||"not-between"===e.value),e.value){case"equal":o.title=(0,r.pgettext)("block:checkboxes","If counter equals");break;case"not-equal":o.title=(0,r.pgettext)("block:checkboxes","If counter not equals");break;case"below":o.title=(0,r.pgettext)("block:checkboxes","If counter is lower than");break;case"above":o.title=(0,r.pgettext)("block:checkboxes","If counter is higher than");break;case"between":o.title=(0,r.pgettext)("block:checkboxes","If counter is between");break;case"not-between":o.title=(0,r.pgettext)("block:checkboxes","If counter is not between")}}))]});var t=function(t,o){var i,c=e[t],n=new r.Forms.Numeric((0,r.isNumberFinite)(c)?c:0).label((0,r.pgettext)("block:checkboxes","Use fixed number")).autoFocus("value"===t).escape(e.editor.close).enter((function(){return("between"!==e.mode&&"not-between"!==e.mode||"to"===t)&&e.editor.close()})).on((function(o){o.isFormVisible&&o.isObservable&&(e[t]=o.value)})),l=(0,r.populateVariables)(e,(function(e){return e instanceof r.Slots.Number||e instanceof r.Slots.Numeric}),(0,r.isString)(c)?c:void 0,!0,null===(i=e.slot)||void 0===i?void 0:i.id),s=new r.Forms.Dropdown(l,(0,r.isString)(c)?c:"").label((0,r.pgettext)("block:checkboxes","Use value of")).width("full").on((function(o){o.isFormVisible&&o.isObservable&&(e[t]=o.value||"")}));return e.editor.form({title:o,controls:[new r.Forms.Radiobutton([{label:(0,r.pgettext)("block:checkboxes","Number"),value:"number"},{label:(0,r.pgettext)("block:checkboxes","Value"),value:"variable",disabled:0===l.length}],(0,r.isString)(c)?"variable":"number").on((function(e){n.visible("number"===e.value),s.visible("variable"===e.value),n.isObservable&&n.focus()})),n,s]})},o=t("value",(0,r.pgettext)("block:checkboxes","If counter equals")),i=t("to",(0,r.pgettext)("block:checkboxes","And"))},n([r.definition,(0,r.affects)("#name")],t.prototype,"mode",void 0),n([r.definition,(0,r.affects)("#name")],t.prototype,"value",void 0),n([r.definition,(0,r.affects)("#name")],t.prototype,"to",void 0),n([r.editor],t.prototype,"defineEditor",null),t=n([(0,r.tripetto)({type:"condition",legacyBlock:!0,context:"@tripetto/block-checkboxes",identifier:"".concat("@tripetto/block-checkboxes",":counter"),version:"7.1.1",icon:l.default,get label(){return(0,r.pgettext)("block:checkboxes","Verify counter")}})],t)}(r.ConditionBlock);t.CounterCondition=s},287:function(e,t,o){var i,c=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),n=this&&this.__decorate||function(e,t,o,i){var c,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(r=(n<3?c(r):n>3?c(t,o,r):c(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.ScoreCondition=void 0;var r=o(210),l=o(939),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allowMarkdown=!0,t.mode="equal",t}return c(t,e),Object.defineProperty(t.prototype,"label",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){var e=this.slot;if(e instanceof r.Slots.Numeric){var t=this.parse(e,this.value);switch(this.mode){case"between":return"".concat(t," ≤ @").concat(e.id," ≤ ").concat(this.parse(e,this.to));case"not-between":return"@".concat(e.id," < ").concat(t," ").concat((0,r.pgettext)("block:checkboxes","or")," @").concat(e.id," > ").concat(this.parse(e,this.to));case"defined":return"@".concat(e.id," ").concat((0,r.pgettext)("block:checkboxes","calculated"));case"undefined":return"@".concat(e.id," ").concat((0,r.pgettext)("block:checkboxes","not calculated"));case"not-equal":return"@".concat(e.id," ≠ ").concat(t);case"above":case"below":case"equal":return"@".concat(e.id," ").concat("above"===this.mode?">":"below"===this.mode?"<":"="," ").concat(t)}}return this.type.label},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){var e,t;return(null===(e=this.slot)||void 0===e?void 0:e.label)||(null===(t=this.node)||void 0===t?void 0:t.label)},enumerable:!1,configurable:!0}),t.prototype.parse=function(e,t){var o;return(0,r.isNumberFinite)(t)?e.toString(t,(function(e,t){return r.L10n.locale.number(e,t,!1)})):(0,r.isString)(t)&&t&&(null===(o=(0,r.lookupVariable)(this,t))||void 0===o?void 0:o.label)?"@".concat(t):"\\_\\_"},t.prototype.defineEditor=function(){var e=this;this.editor.form({title:(0,r.pgettext)("block:checkboxes","Compare mode"),controls:[new r.Forms.Radiobutton([{label:(0,r.pgettext)("block:checkboxes","Score is equal to"),value:"equal"},{label:(0,r.pgettext)("block:checkboxes","Score is not equal to"),value:"not-equal"},{label:(0,r.pgettext)("block:checkboxes","Score is lower than"),value:"below"},{label:(0,r.pgettext)("block:checkboxes","Score is higher than"),value:"above"},{label:(0,r.pgettext)("block:checkboxes","Score is between"),value:"between"},{label:(0,r.pgettext)("block:checkboxes","Score is not between"),value:"not-between"},{label:(0,r.pgettext)("block:checkboxes","Score is calculated"),value:"defined"},{label:(0,r.pgettext)("block:checkboxes","Score is not calculated"),value:"undefined"}],r.Forms.Radiobutton.bind(this,"mode","equal")).on((function(e){switch(o.visible("defined"!==e.value&&"undefined"!==e.value),i.visible("between"===e.value||"not-between"===e.value),e.value){case"equal":o.title=(0,r.pgettext)("block:checkboxes","If score equals");break;case"not-equal":o.title=(0,r.pgettext)("block:checkboxes","If score not equals");break;case"below":o.title=(0,r.pgettext)("block:checkboxes","If score is lower than");break;case"above":o.title=(0,r.pgettext)("block:checkboxes","If score is higher than");break;case"between":o.title=(0,r.pgettext)("block:checkboxes","If score is between");break;case"not-between":o.title=(0,r.pgettext)("block:checkboxes","If score is not between")}}))]});var t=function(t,o,i){var c,n=e[t],l=e.slot,s=new r.Forms.Numeric((0,r.isNumberFinite)(n)?n:0).label((0,r.pgettext)("block:checkboxes","Use fixed number")).precision((null==l?void 0:l.precision)||0).digits((null==l?void 0:l.digits)||0).decimalSign((null==l?void 0:l.decimal)||"").thousands(!!(null==l?void 0:l.separator),(null==l?void 0:l.separator)||"").prefix((null==l?void 0:l.prefix)||"").prefixPlural((null==l?void 0:l.prefixPlural)||void 0).suffix((null==l?void 0:l.suffix)||"").suffixPlural((null==l?void 0:l.suffixPlural)||void 0).autoFocus("value"===t).escape(e.editor.close).enter((function(){return("between"!==e.mode&&"not-between"!==e.mode||"to"===t)&&e.editor.close()})).on((function(o){o.isFormVisible&&o.isObservable&&(e[t]=o.value)})),a=(0,r.populateVariables)(e,(function(e){return e instanceof r.Slots.Number||e instanceof r.Slots.Numeric}),(0,r.isString)(n)?n:void 0,!0,null===(c=e.slot)||void 0===c?void 0:c.id),u=new r.Forms.Dropdown(a,(0,r.isString)(n)?n:"").label((0,r.pgettext)("block:checkboxes","Use value of")).width("full").on((function(o){o.isFormVisible&&o.isObservable&&(e[t]=o.value||"")}));return e.editor.form({title:o,controls:[new r.Forms.Radiobutton([{label:(0,r.pgettext)("block:checkboxes","Number"),value:"number"},{label:(0,r.pgettext)("block:checkboxes","Value"),value:"variable",disabled:0===a.length}],(0,r.isString)(n)?"variable":"number").on((function(e){s.visible("number"===e.value),u.visible("variable"===e.value),s.isObservable&&s.focus()})),s,u]}).visible(i)},o=t("value",(0,r.pgettext)("block:checkboxes","If score equals"),"defined"!==this.mode&&"undefined"!==this.mode),i=t("to",(0,r.pgettext)("block:checkboxes","And"),"between"===this.mode||"not-between"===this.mode)},n([r.definition,(0,r.affects)("#name")],t.prototype,"mode",void 0),n([r.definition,(0,r.affects)("#name")],t.prototype,"value",void 0),n([r.definition,(0,r.affects)("#name")],t.prototype,"to",void 0),n([r.editor],t.prototype,"defineEditor",null),t=n([(0,r.tripetto)({type:"condition",legacyBlock:!0,context:"@tripetto/block-checkboxes",identifier:"".concat("@tripetto/block-checkboxes",":score"),version:"7.1.1",icon:l.default,get label(){return(0,r.pgettext)("block:checkboxes","Verify score")}})],t)}(r.ConditionBlock);t.ScoreCondition=s},546:function(e,t,o){var i,c=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),n=this&&this.__decorate||function(e,t,o,i){var c,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(r=(n<3?c(r):n>3?c(t,o,r):c(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.UncheckedCondition=void 0;var r=o(210),l=o(970),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t=n([(0,r.tripetto)({type:"condition",legacyBlock:!0,context:"@tripetto/block-checkboxes",identifier:"".concat("@tripetto/block-checkboxes",":unchecked"),version:"7.1.1",icon:l.default,get label(){return(0,r.pgettext)("block:checkboxes","All checkboxes unchecked")}})],t)}(r.ConditionBlock);t.UncheckedCondition=s},110:function(e,t,o){var i,c=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),n=this&&this.__decorate||function(e,t,o,i){var c,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(r=(n<3?c(r):n>3?c(t,o,r):c(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboxes=void 0;var r=o(210),l=o(315),s=o(702),a=o(546),u=o(287),b=o(929),d=o(617),p=o(134),h=o(948),x=o(939),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.checkboxes=r.Collection.of(l.Checkbox,t),t}return c(t,e),Object.defineProperty(t.prototype,"label",{get:function(){return(0,r.npgettext)("block:checkboxes","%2 (%1 checkbox)","%2 (%1 checkboxes)",this.checkboxes.count,this.type.label)},enumerable:!1,configurable:!0}),t.prototype.defineSlot=function(){this.slots.meta({type:r.Slots.Number,reference:"counter",label:(0,r.pgettext)("block:checkboxes","Counter"),exportable:!1,protected:!0}),"concatenate"===this.format||"both"===this.format?this.slots.feature({type:r.Slots.Text,reference:"concatenation",label:(0,r.pgettext)("block:checkboxes","Text value"),exportable:this.exportable,alias:this.alias,protected:!0}):this.slots.delete("concatenation","feature")},t.prototype.defineEditor=function(){var e=this;this.editor.name(),this.editor.description(),this.editor.explanation();var t=this.editor.collection({collection:this.checkboxes,title:(0,r.pgettext)("block:checkboxes","Checkboxes"),icon:p.default,placeholder:(0,r.pgettext)("block:checkboxes","Unnamed checkbox"),sorting:"manual",autoOpen:!0,allowVariables:!0,allowImport:!0,allowExport:!0,allowDedupe:!0,showAliases:!0,markdown:r.Markdown.MarkdownFeatures.Formatting|r.Markdown.MarkdownFeatures.Hyperlinks,indicator:function(e){return e.exclusive&&(0,r.pgettext)("block:checkboxes","Exclusive").toUpperCase()||void 0},emptyMessage:(0,r.pgettext)("block:checkboxes","Click the + button to add a checkbox...")});this.editor.groups.settings();var o=new r.Forms.Numeric(r.Forms.Numeric.bind(this,"min",void 0)).min(1).max(this.max).visible((0,r.isNumber)(this.min)).indent(32).width(75).on((function(){i.min(e.min||1)})),i=new r.Forms.Numeric(r.Forms.Numeric.bind(this,"max",void 0)).min(this.min||1).visible((0,r.isNumber)(this.max)).indent(32).width(75).on((function(){o.max(e.max)}));this.editor.option({name:(0,r.pgettext)("block:checkboxes","Limits"),form:{title:(0,r.pgettext)("block:checkboxes","Limits"),controls:[new r.Forms.Checkbox((0,r.pgettext)("block:checkboxes","Minimum number of selected checkboxes"),(0,r.isNumber)(this.min)).on((function(e){o.visible(e.isChecked)})),o,new r.Forms.Checkbox((0,r.pgettext)("block:checkboxes","Maximum number of selected checkboxes"),(0,r.isNumber)(this.max)).on((function(e){i.visible(e.isChecked)})),i]},activated:(0,r.isNumber)(this.max)||(0,r.isNumber)(this.min)}),this.editor.option({name:(0,r.pgettext)("block:checkboxes","Randomization"),form:{title:(0,r.pgettext)("block:checkboxes","Randomization"),controls:[new r.Forms.Checkbox((0,r.pgettext)("block:checkboxes","Randomize the checkboxes (using [Fisher-Yates shuffle](%1))","https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle"),r.Forms.Checkbox.bind(this,"randomize",void 0,!0)).markdown()]},activated:(0,r.isBoolean)(this.randomize)}),this.editor.groups.options(),this.editor.required(this),this.editor.visibility();var c=(0,r.pgettext)("block:checkboxes","Checked"),n=(0,r.pgettext)("block:checkboxes","Not checked");this.editor.option({name:(0,r.pgettext)("block:checkboxes","Labels"),form:{title:(0,r.pgettext)("block:checkboxes","Labels"),controls:[new r.Forms.Text("singleline",r.Forms.Text.bind(this,"labelForTrue",void 0)).placeholder(c),new r.Forms.Text("singleline",r.Forms.Text.bind(this,"labelForFalse",void 0)).placeholder(n),new r.Forms.Static((0,r.pgettext)("block:checkboxes","These labels will be used in the dataset and override the default values %1 and %2.","**".concat(c,"**"),"**".concat(n,"**"))).markdown()]},activated:(0,r.isString)(this.labelForTrue)||(0,r.isString)(this.labelForFalse)}),this.editor.scores({target:this,collection:t,description:(0,r.pgettext)("block:checkboxes","Generates a score based on the selected checkboxes. Open the settings panel for each checkbox to set the individual score for that checkbox.")});var l=this.editor.alias(this).disabled("concatenate"!==this.format&&"both"!==this.format),s=new r.Forms.Text("singleline",r.Forms.Text.bind(this,"formatSeparatorCustom",void 0)).visible("custom"===this.formatSeparator).sanitize(!1).width(200).label((0,r.pgettext)("block:checkboxes","Use this separator:")),a=new r.Forms.Group([new r.Forms.Dropdown([{label:(0,r.pgettext)("block:checkboxes","Comma separated"),value:"comma"},{label:(0,r.pgettext)("block:checkboxes","Space separated"),value:"space"},{label:(0,r.pgettext)("block:checkboxes","List on multiple lines"),value:"list"},{label:(0,r.pgettext)("block:checkboxes","Bulleted list"),value:"bullets"},{label:(0,r.pgettext)("block:checkboxes","Numbered list"),value:"numbers"},{label:(0,r.pgettext)("block:checkboxes","Language sensitive conjunction (_, _, and _)"),value:"conjunction"},{label:(0,r.pgettext)("block:checkboxes","Language sensitive disjunction (_, _, or _)"),value:"disjunction"},{label:(0,r.pgettext)("block:checkboxes","Custom separator"),value:"custom"}],r.Forms.Radiobutton.bind(this,"formatSeparator",void 0,"comma")).label((0,r.pgettext)("block:checkboxes","How to separate the selected checkboxes:")).on((function(e){s.visible("custom"===e.value)})),s]).visible("concatenate"===this.format||"both"===this.format);this.editor.option({name:(0,r.pgettext)("block:checkboxes","Data format"),form:{title:(0,r.pgettext)("block:checkboxes","Data format"),controls:[new r.Forms.Radiobutton([{label:(0,r.pgettext)("block:checkboxes","Every checkbox as a separate field"),description:(0,r.pgettext)("block:checkboxes","Every checkbox is included in the dataset as a separate value."),value:"fields"},{label:(0,r.pgettext)("block:checkboxes","Text field with a list of all selected checkboxes"),description:(0,r.pgettext)("block:checkboxes","All the selected checkboxes are concatenated to a single string of text separated using a configurable separator."),value:"concatenate"},{label:(0,r.pgettext)("block:checkboxes","Both options above"),description:(0,r.pgettext)("block:checkboxes","Includes every checkbox in the dataset together with the concatenated text."),value:"both"}],r.Forms.Radiobutton.bind(this,"format",void 0,"fields")).label((0,r.pgettext)("block:checkboxes","This setting determines how the data is stored in the dataset:")).on((function(t){a.visible("concatenate"===t.value||"both"===t.value),l.disabled("concatenate"!==e.format&&"both"!==e.format)})),a]},activated:(0,r.isString)(this.format)}),this.editor.exportable(this)},t.prototype.defineConditions=function(){var e=this;this.checkboxes.each((function(t){t.name&&e.conditions.template({condition:s.CheckboxCondition,markdown:t.name,icon:p.default,burst:!0,props:{slot:e.slots.select(t.id),checkbox:t,checked:!0}})})),this.checkboxes.count>0&&this.conditions.template({condition:a.UncheckedCondition,separator:!0});var t=this.slots.select("counter","meta");if(t&&t.label){var o=this.conditions.group(t.label,h.default);(0,r.each)([{mode:"equal",label:(0,r.pgettext)("block:checkboxes","Counter is equal to")},{mode:"not-equal",label:(0,r.pgettext)("block:checkboxes","Counter is not equal to")},{mode:"below",label:(0,r.pgettext)("block:checkboxes","Counter is lower than")},{mode:"above",label:(0,r.pgettext)("block:checkboxes","Counter is higher than")},{mode:"between",label:(0,r.pgettext)("block:checkboxes","Counter is between")},{mode:"not-between",label:(0,r.pgettext)("block:checkboxes","Counter is not between")}],(function(e){o.template({condition:b.CounterCondition,label:e.label,autoOpen:!0,props:{slot:t,mode:e.mode,value:0,to:"between"===e.mode||"not-between"===e.mode?0:void 0}})}))}var i=this.slots.select("score","feature");if(i&&i.label){var c=this.conditions.group(i.label,x.default);(0,r.each)([{mode:"equal",label:(0,r.pgettext)("block:checkboxes","Score is equal to")},{mode:"not-equal",label:(0,r.pgettext)("block:checkboxes","Score is not equal to")},{mode:"below",label:(0,r.pgettext)("block:checkboxes","Score is lower than")},{mode:"above",label:(0,r.pgettext)("block:checkboxes","Score is higher than")},{mode:"between",label:(0,r.pgettext)("block:checkboxes","Score is between")},{mode:"not-between",label:(0,r.pgettext)("block:checkboxes","Score is not between")},{mode:"defined",label:(0,r.pgettext)("block:checkboxes","Score is calculated")},{mode:"undefined",label:(0,r.pgettext)("block:checkboxes","Score is not calculated")}],(function(e){c.template({condition:u.ScoreCondition,label:e.label,autoOpen:"defined"!==e.mode&&"undefined"!==e.mode,props:{slot:i,mode:e.mode,value:0,to:"between"===e.mode||"not-between"===e.mode?0:void 0}})}))}},n([(0,r.definition)("items"),(0,r.affects)("#name")],t.prototype,"checkboxes",void 0),n([(0,r.definition)("boolean","optional"),(0,r.affects)("#required"),(0,r.affects)("#collection","checkboxes")],t.prototype,"required",void 0),n([(0,r.definition)("number","optional")],t.prototype,"min",void 0),n([(0,r.definition)("number","optional")],t.prototype,"max",void 0),n([(0,r.definition)("string","optional"),(0,r.affects)("#label"),(0,r.affects)("#slots"),(0,r.affects)("#collection","checkboxes")],t.prototype,"alias",void 0),n([(0,r.definition)("boolean","optional"),(0,r.affects)("#slots"),(0,r.affects)("#collection","checkboxes")],t.prototype,"exportable",void 0),n([(0,r.definition)("string","optional"),(0,r.affects)("#collection","checkboxes")],t.prototype,"labelForTrue",void 0),n([(0,r.definition)("string","optional"),(0,r.affects)("#collection","checkboxes")],t.prototype,"labelForFalse",void 0),n([(0,r.definition)("boolean","optional")],t.prototype,"randomize",void 0),n([(0,r.definition)("string","optional"),(0,r.affects)("#slots"),(0,r.affects)("#collection","checkboxes")],t.prototype,"format",void 0),n([(0,r.definition)("string","optional")],t.prototype,"formatSeparator",void 0),n([(0,r.definition)("string","optional")],t.prototype,"formatSeparatorCustom",void 0),n([r.slots],t.prototype,"defineSlot",null),n([r.editor],t.prototype,"defineEditor",null),n([r.conditions],t.prototype,"defineConditions",null),t=n([(0,r.tripetto)({type:"node",legacyBlock:!0,identifier:"@tripetto/block-checkboxes",version:"7.1.1",icon:d.default,get label(){return(0,r.pgettext)("block:checkboxes","Checkboxes")}})],t)}(r.NodeBlock);t.Checkboxes=f},134:function(e,t,o){o.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTE3LjUgMjBoLTE2Qy42NzMgMjAgMCAxOS4zMjcgMCAxOC41di0xNkMwIDEuNjczLjY3MyAxIDEuNSAxaDE2Yy44MjcgMCAxLjUuNjczIDEuNSAxLjV2MTZjMCAuODI3LS42NzMgMS41LTEuNSAxLjV6TTEuNSAyYS41LjUgMCAwIDAtLjUuNXYxNmEuNS41IDAgMCAwIC41LjVoMTZhLjUuNSAwIDAgMCAuNS0uNXYtMTZhLjUuNSAwIDAgMC0uNS0uNWgtMTZ6IiBjbGFzcz0idHJpcGV0dG8tZmlsbCIvPjxwYXRoIGQ9Ik03LjUgMTQuNWEuNTAyLjUwMiAwIDAgMS0uMzU0LS4xNDZsLTMtM2EuNS41IDAgMCAxIC43MDctLjcwN2wyLjY0NiAyLjY0NiA2LjY0Ni02LjY0NmEuNS41IDAgMCAxIC43MDcuNzA3bC03IDdhLjQ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AxLjV6TTEuNSAyYS41LjUgMCAwIDAtLjUuNXYxNmEuNS41IDAgMCAwIC41LjVoMTZhLjUuNSAwIDAgMCAuNS0uNXYtMTZhLjUuNSAwIDAgMC0uNS0uNWgtMTZ6IiBjbGFzcz0idHJpcGV0dG8tZmlsbCIvPjwvc3ZnPg=="},210:function(t){t.exports=e}},o={};function i(e){var c=o[e];if(void 0!==c)return c.exports;var n=o[e]={exports:{}};return t[e].call(n.exports,n,n.exports,i),n.exports}return i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i(110)}()}));