diff --git a/dist/bootstrap3.js b/dist/bootstrap3.js index 37f4ec58..ecf60d34 100644 --- a/dist/bootstrap3.js +++ b/dist/bootstrap3.js @@ -1 +1 @@ -!function(n,l){"object"==typeof exports&&"object"==typeof module?module.exports=l():"function"==typeof define&&define.amd?define([],l):"object"==typeof exports?exports.bootstrap3=l():n.bootstrap3=l()}(self,(()=>(()=>{"use strict";var n={d:(l,e)=>{for(var t in e)n.o(e,t)&&!n.o(l,t)&&Object.defineProperty(l,t,{enumerable:!0,get:e[t]})},o:(n,l)=>Object.prototype.hasOwnProperty.call(n,l)},l={};n.d(l,{default:()=>e});const e={framework:"bootstrap3",templates:{bootstrap3:{transform(n,l){return l&&"class"===n&&this.cssClasses.hasOwnProperty(l.toString())?this.cssClasses[l.toString()]:l},handleBuilderSidebarScroll(n){n.scrollResizeObserver&&n.scrollResizeObserver.disconnect(),n.scrollResizeObserver=new ResizeObserver((()=>{setTimeout((()=>{const{form:l,sidebar:e}=n.refs,t=l&&l.parentNode&&l.parentNode.clientHeight,o=e&&e.clientHeight,a=e&&e.parentNode&&e.parentNode.style;a&&t&&o&&(a.height=`${Math.max(o+20,t)}px`)}))})),n.scrollResizeObserver.observe(n.refs.form),n.scrollResizeObserver.observe(n.refs.sidebar)},clearBuilderSidebarScroll(n){n.scrollResizeObserver&&(n.scrollResizeObserver.disconnect(),n.scrollResizeObserver=null)},defaultIconset:"glyphicon",iconClass:(n,l,e)=>{if("fa"===n)switch(l){case"save":l="download";break;case"zoom-in":l="search-plus";break;case"zoom-out":l="search-minus";break;case"question-sign":l="question-circle";break;case"remove-circle":l="times-circle-o";break;case"new-window":l="window-restore";break;case"move":l="arrows"}return e?`${n} ${n}-${l} ${n}-spin`:`${n} ${n}-${l}`},cssClasses:{"formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active"},builder:{form:function(n){var l;return""+'
\n
\n '+(null==(l=n.sidebar)?"":l)+'\n
\n
\n '+(null==(l=n.form)?"":l)+"\n
\n
\n"}},builderComponent:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n ',n.disableBuilderActions||(e+='\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n '),e+"\n "+(null==(l=n.html)?"":l)+"\n
\n"}},builderComponents:{form:function(n){var l;return""+'
\n '+(null==(l=n.html)?"":l)+"\n
\n"}},builderEditForm:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n
\n

'+(null==(l=n.t(n.componentInfo.title,{_userInput:!0}))?"":l)+" "+(null==(l=n.t("Component"))?"":l)+"

\n
\n ",n.helplinks&&(e+='\n
\n \n
\n"),e+='\n
\n
\n
\n ",n.preview||(e+='\n
\n \n \n \n
\n "),e+="\n
\n ",n.preview&&(e+='\n
\n
\n
\n

'+(null==(l=n.t("Preview"))?"":l)+'

\n
\n
\n
\n '+(null==(l=n.preview)?"":l)+"\n
\n
\n
\n ",n.componentInfo.help&&(e+='\n
\n '+(null==(l=n.componentInfo.help)?"":l)+"\n
\n "),e+='\n
\n \n \n \n
\n
\n "),e+"\n
\n"}},builderPlaceholder:{form:function(n){var l;return""+'\n '+(null==(l=n.t("Drag and Drop a form component"))?"":l)+"\n\n"}},builderSidebar:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n \n
\n ',n.groups.forEach((function(n){e+="\n "+(null==(l=n)?"":l)+"\n "})),e+="\n
\n
\n"}},builderSidebarGroup:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n
\n
\n \n '+(null==(l=n.t(n.group.title,{_userInput:!0}))?"":l)+'\n \n
\n
\n \n
\n ',n.group.componentOrder.length||n.subgroups.length?(e+="\n ",n.group.componentOrder.forEach((function(t){e+='\n \n ',n.group.components[t].icon&&(e+='\n \n '),e+="\n "+(null==(l=n.t(n.group.components[t].title,{_userInput:!0}))?"":l)+"\n \n "})),e+="\n "+(null==(l=n.subgroups.join(""))?"":l)+"\n "):e+="\n
"+(null==(l=n.t("No Matches Found"))?"":l)+"
\n ",e+="\n
\n
\n\n\n"}},columns:{form:function(n){var l,e="";return Array.prototype.join,n.component.columns.forEach((function(t,o){e+='\n
\n '+(null==(l=n.columnComponents[o])?"":l)+"\n
\n"})),e+="\n"}},datagrid:{form:function(n){var l,e="";return Array.prototype.join,e+='\n '+(null==(l=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":l)+"\n ",t.tooltip&&(e+=' '),e+="\n \n "})),e+="\n ",n.hasExtraColumn&&(e+="\n \n "),e+="\n \n \n "),e+='\n \n ',n.rows.forEach((function(t,o){e+="\n ",n.hasGroups&&n.groups[o]&&(e+='\n \n '+(null==(l=n.groups[o].label)?"":l)+"\n \n "),e+='\n \n ',n.component.reorder&&(e+='\n \n '),e+="\n ",n.columns.forEach((function(o){e+='\n \n "})),e+="\n ",n.hasExtraColumn&&(e+="\n ",n.hasRemoveButtons&&(e+='\n \n '),e+="\n ",n.canAddColumn&&(e+='\n \n "),e+="\n "),e+="\n \n "})),e+="\n \n ",n.hasAddButton&&n.hasBottomSubmit&&(e+='\n \n \n \n \n \n "),e+="\n
\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(e+='\n \n "),e+="\n
\n \n \n '+(null==(l=t[o.key])?"":l)+"\n \n \n \n '+(null==(l=n.placeholder)?"":l)+"\n
\n \n
\n"},html:function(n){var l,e="";return Array.prototype.join,e+='\n ',hasHeader&&(e+="\n \n \n ",columns.forEach((function(n){e+='\n \n "})),e+="\n \n \n "),e+="\n \n ",rows.forEach((function(n){e+="\n \n ",columns.forEach((function(t){e+='\n \n "})),e+="\n \n "})),e+="\n \n
\n '+(null==(l=n.hideLabel?"":t(n.label||n.title))?"":l)+"\n ",n.tooltip&&(e+=' '),e+="\n
\n '+(null==(l=n[t.key])?"":l)+"\n
\n"}},day:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n ',n.dayFirst&&n.showDay&&(e+='\n
\n ',n.component.hideInputLabels||(e+='\n
\n "),e+="\n ",n.showMonth&&(e+='\n
\n ',n.component.hideInputLabels||(e+='\n
\n "),e+="\n ",!n.dayFirst&&n.showDay&&(e+='\n
\n ',n.component.hideInputLabels||(e+='\n
\n "),e+="\n ",n.showYear&&(e+='\n
\n ',n.component.hideInputLabels||(e+='\n
\n "),e+'\n
\n\n'}},dialog:{form:function(n){return'
\n
\n
\n
\n \n
\n
\n'}},editgrid:{form:function(n){var l,e="";return Array.prototype.join,e+='\n",!n.readOnly&&n.hasAddButton&&(e+='\n\n"),e+="\n"},html:function(n){var l,e="";return Array.prototype.join,e+='\n"}},field:{align:function(n){var l,e="";return Array.prototype.join,e+='
\n ',n.label.hidden||(e+='\n
\n '+(null==(l=n.labelMarkup)?"":l)+"\n
\n "),e+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(e+='\n
\n \n
\n '),e+='\n\n
\n '+(null==(l=n.element)?"":l)+"\n
\n
\n\n",n.component.description&&(e+='\n
'+(null==(l=n.t(n.component.description,{_userInput:!0}))?"":l)+"
\n"),e+"\n"},form:function(n){var l,e="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(e+="\n "+(null==(l=n.labelMarkup)?"":l)+"\n"),e+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(e+='\n \n'),e+="\n\n"+(null==(l=n.element)?"":l)+"\n",n.label.hidden||"bottom"!==n.label.labelPosition||(e+="\n "+(null==(l=n.labelMarkup)?"":l)+"\n"),e+="\n",n.component.description&&(e+='\n
'+(null==(l=n.t(n.component.description,{_userInput:!0}))?"":l)+"
\n"),e+"\n"}},file:{form:function(n){var l,e="";return Array.prototype.join,n.self.imageUpload?(e+="\n
\n ",n.files.forEach((function(t){e+='\n
\n \n '+(null==(l=t.originalName||t.name)?\n ',n.disabled||(e+='\n \n '),e+="\n \n
\n "})),e+="\n
\n"):(e+='\n \n"),e+="\n",n.disabled||!n.component.multiple&&n.files.length||(e+="\n ",n.self.useWebViewCamera?e+='\n
\n \n \n
\n ":n.self.cameraMode?e+='\n
\n \n
\n \n \n ":(e+='\n
\n '+(null==(l=n.t("Drop files to attach,"))?"":l)+"\n ",n.self.imageUpload&&n.component.webcam&&(e+='\n '+(null==(l=n.t("Use Camera,"))?"":l)+"\n "),e+="\n "+(null==(l=n.t("or"))?"":l)+' '+(null==(l=n.t("browse"))?"":l)+"\n
\n "),e+="\n"),e+="\n",n.statuses.forEach((function(t){e+='\n
\n
\n
'+(null==(l=t.originalName)?"":l)+'
\n
'+(null==(l=n.fileSize(t.size))?"":l)+'
\n
\n
\n
\n ',"progress"===t.status?e+='\n
\n
\n '+(null==(l=t.progress)?"":l)+"% "+(null==(l=n.t("Complete"))?"":l)+"\n
\n
\n ":"error"===t.status?e+='\n
'+(null==(l=n.t(t.message))?"":l)+"
\n ":e+='\n
'+(null==(l=n.t(t.message))?"":l)+"
\n ",e+="\n
\n
\n
\n"})),e+="\n",n.component.storage&&!n.support.hasWarning||(e+='\n
\n ',n.component.storage||(e+="\n

"+(null==(l=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":l)+"

\n "),e+="\n ",n.support.filereader||(e+="\n

"+(null==(l=n.t("File API & FileReader API not supported."))?"":l)+"

\n "),e+="\n ",n.support.formdata||(e+="\n

"+(null==(l=n.t("XHR2's FormData is not supported."))?"":l)+"

\n "),e+="\n ",n.support.progress||(e+="\n

"+(null==(l=n.t("XHR2's upload progress isn't supported."))?"":l)+"

\n "),e+="\n
\n"),e}},icon:{form:function(n){var l;return""+''+(null==(l=n.content)?"":l)+"\n"}},input:{form:function(n){var l,e="";if(Array.prototype.join,(n.prefix||n.suffix)&&(e+='\n
\n '),e+="\n ",n.prefix&&(e+='\n
\n ',n.prefix instanceof HTMLElement?e+="\n "+(null==(l=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":l)+"\n ":e+="\n "+(null==(l=n.t(n.prefix,{_userInput:!0}))?"":l)+"\n ",e+="\n
\n "),e+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var t in e+="\n <"+(null==(l=n.input.type)?"":l)+'\n ref="'+(null==(l=n.input.ref?n.input.ref:"input")?"":l)+'"\n ',n.input.attr)e+="\n "+(null==(l=t)?"":l)+'="'+(null==(l=n.input.attr[t])?"":l)+'"\n ';e+='\n id="'+(null==(l=n.instance.id)?"":l)+"-"+(null==(l=n.component.key)?"":l)+'"\n >'+(null==(l=n.input.content)?"":l)+"\n ",n.hasValueMaskInput&&(e+='\n \n '),e+="\n"}return e+="\n",(n.component.editor||n.component.wysiwyg)&&(e+='\n
\n'),e+="\n",n.suffix&&(e+='\n
\n ',n.suffix instanceof HTMLElement?e+="\n "+(null==(l=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":l)+"\n ":e+="\n "+(null==(l=n.t(n.suffix,{_userInput:!0}))?"":l)+"\n ",e+="\n
\n"),e+="\n",(n.prefix||n.suffix)&&(e+="\n
\n"),e+="\n",n.component.showCharCount&&(e+='\n\n'),e+="\n",n.component.showWordCount&&(e+='\n\n'),e+"\n"},html:function(n){var l,e="";return Array.prototype.join,e+='
',n.value?e+=null==(l=n.value)?"":l:e+="-",e+"
\n"}},label:{form:function(n){var l,e="";return Array.prototype.join,e+='\n ',n.label.hidden||(e+="\n "+(null==(l=n.t(n.component.label,{_userInput:!0}))?"":l)+"\n ",n.component.tooltip&&(e+='\n \n '),e+="\n "),e+"\n\n"}},message:{form:function(n){var l;return""+'

'+(null==(l=n.message)?"":l)+"

\n"}},modaldialog:{form:function(n){var l;return""+'
\n
\n
\n \n '+(null==(l=n.t("Close"))?"":l)+'\n \n
\n
\n
\n'}},modaledit:{form:function(n){var l;return""+'
\n \n \n \n
'+(null==(l=n.content)?"":l)+"
\n
\n"}},multiValueRow:{form:function(n){var l,e="";return Array.prototype.join,e+='\n \n '+(null==(l=n.element)?"":l)+"\n \n ",n.disabled||(e+='\n \n \n \n '),e+"\n\n"}},multiValueTable:{form:function(n){var l,e="";return Array.prototype.join,e+='\n \n '+(null==(l=n.rows)?"":l)+"\n ",n.disabled||(e+='\n \n \n \n "),e+"\n \n
\n \n
\n"}},panel:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(e+='\n
\n

\n ',n.component.collapsible&&(e+='\n \n '),e+="\n ",n.component.hideLabel&&!n.builder||(e+="\n "+(null==(l=n.t(n.component.title,{_userInput:!0}))?"":l)+"\n "),e+="\n ",n.component.tooltip&&(e+='\n \n '),e+="\n

\n
\n "),e+="\n ",n.collapsed&&!n.builder||(e+='\n
\n '+(null==(l=n.children)?"":l)+"\n
\n "),e+"\n
\n"}},radio:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n ',n.values.forEach((function(t,o){for(var a in e+='\n
\n \n
\n "})),e+="\n
\n"},html:function(n){var l,e="";return Array.prototype.join,(e+='
\n ')+"\n "+(null==(l=n.values.filter((function(l){return n.value===l.value||"object"==typeof n.value&&n.value.hasOwnProperty(l.value)&&n.value[l.value]})).map((function(l){return n.t(l.label,{_userInput:!0})})).join(", "))?"":l)+"\n
\n"}},resourceAdd:{form:function(n){var l;return""+'\n \n \n \n \n \n \n \n \n
\n '+(null==(l=n.element)?"":l)+'\n
\n \n
\n"}},signature:{form:function(n){var l,e="";return Array.prototype.join,e+=(null==(l=n.element)?"":l)+'\n\n\n \n \n \n \n ',n.required&&(e+='\n \n '),e+='\n \n\n',n.component.footer&&(e+='\n \n"),e+"\n"},html:function(n){return'\n'}},survey:{form:function(n){var l,e="";return Array.prototype.join,e+='\n \n \n \n ',n.component.values.forEach((function(t){e+='\n \n "})),e+="\n \n \n \n ",n.component.questions.forEach((function(t){e+="\n \n \n ",n.component.values.forEach((function(o){e+='\n \n '})),e+="\n \n "})),e+="\n \n
\n '+(null==(l=n.t(t.label))?"":l)+"\n ",t.tooltip&&(e+='\n \n '),e+="\n
\n "+(null==(l=n.t(t.label))?"":l)+"\n ",t.tooltip&&(e+='\n \n '),e+="\n \n \n
\n"},html:function(n){var l,e="";return Array.prototype.join,e+='\n \n ',n.component.questions.forEach((function(t){e+="\n \n \n \n \n "})),e+="\n \n
"+(null==(l=n.t(t.label))?"":l)+"\n ",n.component.values.forEach((function(o){e+="\n ",n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value]===o.value&&(e+="\n "+(null==(l=n.t(o.label))?"":l)+"\n "),e+="\n "})),e+="\n
\n"}},tab:{flat:function(n){var l,e="";return Array.prototype.join,n.component.components.forEach((function(t,o){e+='\n
\n
\n

'+(null==(l=n.t(t.label,{_userInput:!0}))?"":l)+'

\n
\n
\n '+(null==(l=n.tabComponents[o])?"":l)+"\n
\n
\n"})),e+="\n"},form:function(n){var l,e="";return Array.prototype.join,e+='
\n \n
\n ',n.component.components.forEach((function(t,o){e+='\n
'+(null==(l=n.tabComponents[o])?"":l)+"
\n "})),e+="\n
\n
\n"}},table:{form:function(n){var l,e="";return Array.prototype.join,e+='\n ',n.component.header&&n.component.header.length>0&&(e+="\n \n \n ",n.component.header.forEach((function(t){e+="\n \n "})),e+="\n \n \n "),e+="\n \n ",n.tableComponents.forEach((function(t,o){e+='\n \n ',t.forEach((function(t,a){e+='\n \n "})),e+="\n \n
"+(null==(l=n.t(t,{_userInput:!0}))?"":l)+"
\n "})),e+="\n
\n"}},well:{form:function(n){var l;return""+'
\n
\n '+(null==(l=n.children)?"":l)+"\n
\n
\n"}},wizard:{form:function(n){var l,e="";return Array.prototype.join,e+='
\n
\n ',"wizardHeaderVertical"===n.wizardHeaderType?e+='\n
\n
\n '+(null==(l=n.wizardHeader)?"":l)+'\n
\n
\n '+(null==(l=n.components)?"":l)+'\n
\n
\n
\n '+(null==(l=n.wizardNav)?"":l)+"\n
\n ":e+=" \n "+(null==(l=n.wizardHeader)?"":l)+'\n
\n '+(null==(l=n.components)?"":l)+"\n
\n "+(null==(l=n.wizardNav)?"":l)+"\n ",e+" \n
\n
"},builder:function(n){var l;return""+'
'+(null==(l=n.t(n.component.title,{_userInput:!0}))?"":l)+"
\n"}},wizardHeader:{form:function(n){var l,e="";return Array.prototype.join,e+='\n"}},wizardHeaderClassic:{form:function(n){var l,e="";return Array.prototype.join,e+='\n"}},wizardHeaderVertical:{form:function(n){var l,e="";return Array.prototype.join,e+='\n"}},wizardNav:{form:function(n){var l,e="";return Array.prototype.join,e+='
    \n ',n.buttons.cancel&&(e+='\n
  • \n \n
  • \n "),e+="\n ",n.buttons.previous&&(e+='\n
  • \n \n
  • \n "),e+="\n ",n.buttons.next&&(e+='\n
  • \n \n
  • \n "),e+="\n ",n.buttons.submit&&(e+='\n
  • \n \n
  • \n "),e+"\n
\n"}},errorsList:{form:function(n){var l,e="";return Array.prototype.join,e+="

"+(null==(l=n.t("error"))?"":l)+"

\n
    \n ",n.errors.forEach((function(t){e+='\n '+(null==(l=t.message)?"":l)+"\n "})),e+="\n
\n"}},alert:{form:function(n){var l,e="";for(var t in Array.prototype.join,e+=""+(null==(l=n.message)?"":l)+"\n"}}}}};return l.default})())); \ No newline at end of file +!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap3=e():n.bootstrap3=e()}(self,(()=>(()=>{"use strict";var n={d:(e,t)=>{for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>_});const l={form:function(n){var e,t="";return Array.prototype.join,t+='
\n ',n.disableBuilderActions||(t+='\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n '),t+"\n "+(null==(e=n.html)?"":e)+"\n
\n"}},o={form:function(n){var e,t="";return Array.prototype.join,t+='
\n
\n

'+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"

\n
\n ",n.helplinks&&(t+='\n \n"),t+='\n
\n
\n
\n ",n.preview||(t+='\n
\n \n \n \n
\n "),t+="\n
\n ",n.preview&&(t+='\n
\n
\n
\n

'+(null==(e=n.t("Preview"))?"":e)+'

\n
\n
\n
\n '+(null==(e=n.preview)?"":e)+"\n
\n
\n
\n ",n.componentInfo.help&&(t+='\n
\n '+(null==(e=n.componentInfo.help)?"":e)+"\n
\n "),t+='\n
\n \n \n \n
\n
\n "),t+"\n
\n"}},a={form:function(n){var e,t="";return Array.prototype.join,t+='
\n \n
\n ',n.groups.forEach((function(n){t+="\n "+(null==(e=n)?"":e)+"\n "})),t+="\n
\n
\n"}},r={form:function(n){var e,t="";return Array.prototype.join,t+='
\n
\n
\n \n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n \n
\n
\n \n
\n ',n.group.componentOrder.length||n.subgroups.length?(t+="\n ",n.group.componentOrder.forEach((function(l){t+='\n \n ',n.group.components[l].icon&&(t+='\n \n '),t+="\n "+(null==(e=n.t(n.group.components[l].title,{_userInput:!0}))?"":e)+"\n \n "})),t+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):t+="\n
"+(null==(e=n.t("No Matches Found"))?"":e)+"
\n ",t+="\n
\n
\n\n\n"}},i={form:function(n){var e,t="";return Array.prototype.join,n.component.columns.forEach((function(l,o){t+='\n
\n '+(null==(e=n.columnComponents[o])?"":e)+"\n
\n"})),t+="\n"}},s={form:function(n){var e,t="";return Array.prototype.join,t+='\n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&(t+=' '),t+="\n \n "})),t+="\n ",n.hasExtraColumn&&(t+="\n \n "),t+="\n \n \n "),t+='\n \n ',n.rows.forEach((function(l,o){t+="\n ",n.hasGroups&&n.groups[o]&&(t+='\n \n '+(null==(e=n.groups[o].label)?"":e)+"\n \n "),t+='\n \n ',n.component.reorder&&(t+='\n \n '),t+="\n ",n.columns.forEach((function(o){t+='\n \n "})),t+="\n ",n.hasExtraColumn&&(t+="\n ",n.hasRemoveButtons&&(t+='\n \n '),t+="\n ",n.canAddColumn&&(t+='\n \n "),t+="\n "),t+="\n \n "})),t+="\n \n ",n.hasAddButton&&n.hasBottomSubmit&&(t+='\n \n \n \n \n \n "),t+="\n
\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(t+='\n \n "),t+="\n
\n \n \n '+(null==(e=l[o.key])?"":e)+"\n \n \n \n '+(null==(e=n.placeholder)?"":e)+"\n
\n \n
\n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n ',hasHeader&&(l+="\n \n \n ",columns.forEach((function(n){l+='\n \n "})),l+="\n \n \n "),l+="\n \n ",rows.forEach((function(n){l+="\n \n ",columns.forEach((function(t){l+='\n \n "})),l+="\n \n "})),l+="\n \n
\n '+(null==(e=n.hideLabel?"":t(n.label||n.title))?"":e)+"\n ",n.tooltip&&(l+=' '),l+="\n
\n '+(null==(e=n[t.key])?"":e)+"\n
\n"}},u={form:function(n){var e,t="";return Array.prototype.join,t+='
\n ',n.dayFirst&&n.showDay&&(t+='\n
\n ',n.component.hideInputLabels||(t+='\n
\n "),t+="\n ",n.showMonth&&(t+='\n
\n ',n.component.hideInputLabels||(t+='\n
\n "),t+="\n ",!n.dayFirst&&n.showDay&&(t+='\n
\n ',n.component.hideInputLabels||(t+='\n
\n "),t+="\n ",n.showYear&&(t+='\n
\n ',n.component.hideInputLabels||(t+='\n
\n "),t+'\n
\n\n'}},d={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',n.header&&(t+='\n
  • \n '+(null==(e=n.header)?"":e)+"\n
  • \n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n
  • \n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n
    \n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
    \n "),t+='\n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
  • \n "})),t+="\n ",n.footer&&(t+='\n \n "),t+="\n
\n",!n.readOnly&&n.hasAddButton&&(t+='\n\n"),t+="\n"},html:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',n.header&&(t+='\n
  • \n '+(null==(e=n.header)?"":e)+"\n
  • \n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n
  • \n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n
    \n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
    \n "),t+='\n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
  • \n "})),t+="\n ",n.footer&&(t+='\n \n "),t+="\n
\n"}},c={align:function(n){var e,t="";return Array.prototype.join,t+='
\n ',n.label.hidden||(t+='\n
\n '+(null==(e=n.labelMarkup)?"":e)+"\n
\n "),t+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\n
\n \n
\n '),t+='\n\n
\n '+(null==(e=n.element)?"":e)+"\n
\n
\n\n",n.component.description&&(t+='\n
'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
\n"),t+"\n"},form:function(n){var e,t="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(t+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),t+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\n \n'),t+="\n\n"+(null==(e=n.element)?"":e)+"\n",n.label.hidden||"bottom"!==n.label.labelPosition||(t+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),t+="\n",n.component.description&&(t+='\n
'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
\n"),t+"\n"}},p={form:function(n){var e,t="";return Array.prototype.join,n.self.imageUpload?(t+="\n
\n ",n.files.forEach((function(l){t+='\n
\n \n '+(null==(e=l.originalName||l.name)?\n ',n.disabled||(t+='\n \n '),t+="\n \n
\n "})),t+="\n
\n"):(t+='\n
    \n \n ",n.files.forEach((function(l){t+='\n
  • \n
    \n ',n.disabled||(t+='\n
    \n '),t+='\n
    '+(null==(e=l.originalName||l.name)?"":e)+"\n ",t+='\n
    \n
    '+(null==(e=n.fileSize(l.size))?"":e)+"
    \n ",n.self.hasTypes&&!n.disabled&&(t+='\n
    \n \n
    \n "),t+="\n ",n.self.hasTypes&&n.disabled&&(t+='\n
    '+(null==(e=l.fileType)?"":e)+"
    \n "),t+="\n
    \n
  • \n "})),t+="\n
\n"),t+="\n",n.disabled||!n.component.multiple&&n.files.length||(t+="\n ",n.self.useWebViewCamera?t+='\n
\n \n \n
\n ":n.self.cameraMode?t+='\n
\n \n
\n \n \n ":(t+='\n
\n '+(null==(e=n.t("Drop files to attach,"))?"":e)+"\n ",n.self.imageUpload&&n.component.webcam&&(t+='\n '+(null==(e=n.t("Use Camera,"))?"":e)+"\n "),t+="\n "+(null==(e=n.t("or"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+"\n
\n "),t+="\n"),t+="\n",n.statuses.forEach((function(l){t+='\n
\n
\n
'+(null==(e=l.originalName)?"":e)+'
\n
'+(null==(e=n.fileSize(l.size))?"":e)+'
\n
\n
\n
\n ',"progress"===l.status?t+='\n
\n
\n '+(null==(e=l.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"\n
\n
\n ":"error"===l.status?t+='\n
'+(null==(e=n.t(l.message))?"":e)+"
\n ":t+='\n
'+(null==(e=n.t(l.message))?"":e)+"
\n ",t+="\n
\n
\n
\n"})),t+="\n",n.component.storage&&!n.support.hasWarning||(t+='\n
\n ',n.component.storage||(t+="\n

"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"

\n "),t+="\n ",n.support.filereader||(t+="\n

"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"

\n "),t+="\n ",n.support.formdata||(t+="\n

"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"

\n "),t+="\n ",n.support.progress||(t+="\n

"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"

\n "),t+="\n
\n"),t}},m={form:function(n){var e,t="";if(Array.prototype.join,(n.prefix||n.suffix)&&(t+='\n
\n '),t+="\n ",n.prefix&&(t+='\n
\n ',n.prefix instanceof HTMLElement?t+="\n "+(null==(e=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":e)+"\n ":t+="\n "+(null==(e=n.t(n.prefix,{_userInput:!0}))?"":e)+"\n ",t+="\n
\n "),t+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var l in t+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n ',n.input.attr)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.input.attr[l])?"":e)+'"\n ';t+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n >'+(null==(e=n.input.content)?"":e)+"\n ",n.hasValueMaskInput&&(t+='\n \n '),t+="\n"}return t+="\n",(n.component.editor||n.component.wysiwyg)&&(t+='\n
\n'),t+="\n",n.suffix&&(t+='\n
\n ',n.suffix instanceof HTMLElement?t+="\n "+(null==(e=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":e)+"\n ":t+="\n "+(null==(e=n.t(n.suffix,{_userInput:!0}))?"":e)+"\n ",t+="\n
\n"),t+="\n",(n.prefix||n.suffix)&&(t+="\n
\n"),t+="\n",n.component.showCharCount&&(t+='\n\n'),t+="\n",n.component.showWordCount&&(t+='\n\n'),t+"\n"},html:function(n){var e,t="";return Array.prototype.join,t+='
',n.value?t+=null==(e=n.value)?"":e:t+="-",t+"
\n"}},b={form:function(n){var e,t="";return Array.prototype.join,t+='\n ',n.label.hidden||(t+="\n "+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(t+='\n \n '),t+="\n "),t+"\n\n"}},f={form:function(n){var e,t="";return Array.prototype.join,t+='\n \n '+(null==(e=n.element)?"":e)+"\n \n ",n.disabled||(t+='\n \n \n \n '),t+"\n\n"}},v={form:function(n){var e,t="";return Array.prototype.join,t+='\n \n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(t+='\n \n \n \n "),t+"\n \n
\n \n
\n"}},y={form:function(n){var e,t="";return Array.prototype.join,t+='
\n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(t+='\n
\n

\n ',n.component.collapsible&&(t+='\n \n '),t+="\n ",n.component.hideLabel&&!n.builder||(t+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),t+="\n ",n.component.tooltip&&(t+='\n \n '),t+="\n

\n
\n "),t+="\n ",n.collapsed&&!n.builder||(t+='\n
\n '+(null==(e=n.children)?"":e)+"\n
\n "),t+"\n
\n"}},h={form:function(n){var e,t="";return Array.prototype.join,t+='
\n ',n.values.forEach((function(l,o){for(var a in t+='\n
\n \n
\n "})),t+="\n
\n"},html:function(n){var e,t="";return Array.prototype.join,(t+='
\n ')+"\n "+(null==(e=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", "))?"":e)+"\n
\n"}},g={form:function(n){var e,t="";return Array.prototype.join,t+=(null==(e=n.element)?"":e)+'\n\n\n \n \n \n \n ',n.required&&(t+='\n \n '),t+='\n \n\n',n.component.footer&&(t+='\n \n"),t+"\n"},html:function(n){return'\n'}},w={form:function(n){var e,t="";return Array.prototype.join,t+='\n \n \n \n ',n.component.values.forEach((function(l){t+='\n \n "})),t+="\n \n \n \n ",n.component.questions.forEach((function(l){t+="\n \n \n ",n.component.values.forEach((function(o){t+='\n \n '})),t+="\n \n "})),t+="\n \n
\n '+(null==(e=n.t(l.label))?"":e)+"\n ",l.tooltip&&(t+='\n \n '),t+="\n
\n "+(null==(e=n.t(l.label))?"":e)+"\n ",l.tooltip&&(t+='\n \n '),t+="\n \n \n
\n"},html:function(n){var e,t="";return Array.prototype.join,t+='\n \n ',n.component.questions.forEach((function(l){t+="\n \n \n \n \n "})),t+="\n \n
"+(null==(e=n.t(l.label))?"":e)+"\n ",n.component.values.forEach((function(o){t+="\n ",n.value&&n.value.hasOwnProperty(l.value)&&n.value[l.value]===o.value&&(t+="\n "+(null==(e=n.t(o.label))?"":e)+"\n "),t+="\n "})),t+="\n
\n"}},x={flat:function(n){var e,t="";return Array.prototype.join,n.component.components.forEach((function(l,o){t+='\n
\n
\n

'+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+'

\n
\n
\n '+(null==(e=n.tabComponents[o])?"":e)+"\n
\n
\n"})),t+="\n"},form:function(n){var e,t="";return Array.prototype.join,t+='
\n \n
\n ',n.component.components.forEach((function(l,o){t+='\n
'+(null==(e=n.tabComponents[o])?"":e)+"
\n "})),t+="\n
\n
\n"}},k={form:function(n){var e,t="";return Array.prototype.join,t+='\n ',n.component.header&&n.component.header.length>0&&(t+="\n \n \n ",n.component.header.forEach((function(l){t+="\n \n "})),t+="\n \n \n "),t+="\n \n ",n.tableComponents.forEach((function(l,o){t+='\n \n ',l.forEach((function(l,a){t+='\n \n "})),t+="\n \n
"+(null==(e=n.t(l,{_userInput:!0}))?"":e)+"
\n "})),t+="\n
\n"}},C={form:function(n){var e,t="";return Array.prototype.join,t+='
\n
\n ',"wizardHeaderVertical"===n.wizardHeaderType?t+='\n
\n
\n '+(null==(e=n.wizardHeader)?"":e)+'\n
\n
\n '+(null==(e=n.components)?"":e)+'\n
\n
\n
\n '+(null==(e=n.wizardNav)?"":e)+"\n
\n ":t+=" \n "+(null==(e=n.wizardHeader)?"":e)+'\n
\n '+(null==(e=n.components)?"":e)+"\n
\n "+(null==(e=n.wizardNav)?"":e)+"\n ",t+" \n
\n
"},builder:function(n){var e;return""+'
'+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
\n"}},A={form:function(n){var e,t="";return Array.prototype.join,t+='\n"}},z={form:function(n){var e,t="";return Array.prototype.join,t+='\n"}},I={form:function(n){var e,t="";return Array.prototype.join,t+='\n"}},R={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',n.buttons.cancel&&(t+='\n
  • \n \n
  • \n "),t+="\n ",n.buttons.previous&&(t+='\n
  • \n \n
  • \n "),t+="\n ",n.buttons.next&&(t+='\n
  • \n \n
  • \n "),t+="\n ",n.buttons.submit&&(t+='\n
  • \n \n
  • \n "),t+"\n
\n"}},j={form:function(n){var e,t="";for(var l in Array.prototype.join,t+=""+(null==(e=n.message)?"":e)+"\n"}},E={form:function(n){var e,t="";return Array.prototype.join,t+="

"+(null==(e=n.t("error"))?"":e)+"

\n
    \n ",n.errors.forEach((function(l){t+='\n '+(null==(e=l.message)?"":e)+"\n "})),t+="\n
\n"}},P={html:function(n){var e,t="";return Array.prototype.join,t+='
\n
\n \n \n \n
\n ',n.component.enableRowSelect&&(t+='\n
\n ',n.selectedRows&&(t+='\n '+(null==(e=n.selectedRows)?"":e)+" selected\n "),t+="\n
\n "),t+='\n
\n
\n
\n
\n
\n
\n \n \n \n ',n.component.components.length||(t+='\n \n '),t+="\n ",n.component.enableRowSelect&&(t+='\n \n '),t+="\n ",n.component.components.forEach((function(l,o){t+="\n ",l.show&&(t+="\n \n "),t+="\n "})),t+="\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&n.data.length&&!n.options.pdf&&(t+='\n \n "),t+='\n \n \n \n
No components have been set up to display in the Data Table. "Table View" must be checked for components to render.\n \n ('+(null==(e=n.selectedRows)?"":e)+' of )\n \n "+(null==(e=l.label||l.key)?"":e)+"\n ",n.options.sortable&&l.sortable&&(t+='\n \n '+(null==(e=n.component.sort.isAsc?"↑":"↓")?"":e)+"\n \n "),t+="\n ",n.options.hideMenu||(t+='\n \n \n \n '),t+="\n \n
\n Actions\n ',n.component.showDeleteAllBtn&&n.data.length&&(t+='\n \n '),t+="\n
\n
\n
\n
\n
\n ',n.component.showAddBtn&&!n.options.pdf&&(t+='\n
+
\n '),t+="\n
\n
\n
\n"}},K={html:function(n){var e,t="";return Array.prototype.join,t+='
\r\n \r\n
\r\n"}},B={html:function(n){var e,t="";return Array.prototype.join,t+='\n\n ',n.eachRow((function(l){t+='\n \n ',n.component.enableRowSelect&&(t+='\n \n '),t+="\n ",l.forEach((function(l){t+="\n ",l.component.show&&(t+="\n \n "),t+="\n "})),t+="\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&!n.options.pdf&&(t+='\n \n "),t+="\n \n "})),t+="\n\n
\n \n \n "+(null==(e=n.instance.hook("format",l.component.key,l.dataValue))?"":e)+"\n \n
\n \n â‹®\n
\n
"}},q={transform(n,e){return e&&"class"===n&&this.cssClasses.hasOwnProperty(e.toString())?this.cssClasses[e.toString()]:e},handleBuilderSidebarScroll(n){n.scrollResizeObserver&&n.scrollResizeObserver.disconnect(),n.scrollResizeObserver=new ResizeObserver((()=>{setTimeout((()=>{const{form:e,sidebar:t}=n.refs,l=e&&e.parentNode&&e.parentNode.clientHeight,o=t&&t.clientHeight,a=t&&t.parentNode&&t.parentNode.style;a&&l&&o&&(a.height=`${Math.max(o+20,l)}px`)}))})),n.scrollResizeObserver.observe(n.refs.form),n.scrollResizeObserver.observe(n.refs.sidebar)},clearBuilderSidebarScroll(n){n.scrollResizeObserver&&(n.scrollResizeObserver.disconnect(),n.scrollResizeObserver=null)},defaultIconset:"glyphicon",iconClass:(n,e,t)=>{if("fa"===n)switch(e){case"save":e="download";break;case"zoom-in":e="search-plus";break;case"zoom-out":e="search-minus";break;case"question-sign":e="question-circle";break;case"remove-circle":e="times-circle-o";break;case"new-window":e="window-restore";break;case"move":e="arrows"}return t?`${n} ${n}-${e} ${n}-spin`:`${n} ${n}-${e}`},cssClasses:{"formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active"},builder:{form:function(n){var e;return""+'
\n
\n '+(null==(e=n.sidebar)?"":e)+'\n
\n
\n '+(null==(e=n.form)?"":e)+"\n
\n
\n"}},builderComponent:l,builderComponents:{form:function(n){var e;return""+'
\n '+(null==(e=n.html)?"":e)+"\n
\n"}},builderEditForm:o,builderPlaceholder:{form:function(n){var e;return""+'\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n\n"}},builderSidebar:a,builderSidebarGroup:r,columns:i,datagrid:s,day:u,dialog:{form:function(n){return'
\n
\n
\n
\n \n
\n
\n'}},editgrid:d,field:c,file:p,icon:{form:function(n){var e;return""+''+(null==(e=n.content)?"":e)+"\n"}},input:m,label:b,message:{form:function(n){var e;return""+'

'+(null==(e=n.message)?"":e)+"

\n"}},modaldialog:{form:function(n){var e;return""+'
\n
\n
\n \n '+(null==(e=n.t("Close"))?"":e)+'\n \n
\n
\n
\n'}},modaledit:{form:function(n){var e;return""+'
\n \n \n \n
'+(null==(e=n.content)?"":e)+"
\n
\n"}},multiValueRow:f,multiValueTable:v,panel:y,radio:h,resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
\n '+(null==(e=n.element)?"":e)+'\n
\n \n
\n"}},signature:g,survey:w,tab:x,table:k,well:{form:function(n){var e;return""+'
\n
\n '+(null==(e=n.children)?"":e)+"\n
\n
\n"}},wizard:C,wizardHeader:A,wizardHeaderClassic:z,wizardHeaderVertical:I,wizardNav:R,errorsList:E,alert:j,grid:P,pagination:{html:function(n){var e;return""+'\n'}},columnMenu:K,tbody:B,paginationBottom:{html:function(n){return'
\n \n
'}}},_={framework:"bootstrap3",templates:{bootstrap3:q}};return e.default})())); \ No newline at end of file diff --git a/dist/bootstrap4.js b/dist/bootstrap4.js index 29d7d13b..e5d30c39 100644 --- a/dist/bootstrap4.js +++ b/dist/bootstrap4.js @@ -1 +1 @@ -!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap4=e():n.bootstrap4=e()}(self,(()=>(()=>{"use strict";var n={d:(e,l)=>{for(var t in l)n.o(l,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>l});const l={framework:"bootstrap4",templates:{bootstrap4:{transform(n,e){return e&&"class"===n&&this.cssClasses.hasOwnProperty(e.toString())?this.cssClasses[e.toString()]:e},defaultIconset:"fa",iconClass:(n,e,l)=>{if("fa"===n)switch(e){case"save":e="download";break;case"zoom-in":e="search-plus";break;case"zoom-out":e="search-minus";break;case"question-sign":e="question-circle";break;case"remove-circle":e="times-circle-o";break;case"new-window":e="window-restore";break;case"move":e="arrows";break;case"time":e="clock-o"}return l?`${n} ${n}-${e} ${n}-spin`:`${n} ${n}-${e}`},cssClasses:{"border-default":"","formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active","formio-form-error":"formio-error-wrapper has-message","formio-form-alert":"alert alert-danger","formio-label-error":"","formio-input-error":"","formio-alert-danger":"alert alert-danger","formio-alert-success":"alert alert-success","formio-alert-warning":"alert alert-warning","formio-modal-cancel-button":"btn btn-danger formio-dialog-button","formio-modal-confirm-button":"btn btn-primary formio-dialog-button"},address:{form:function(n){var e,l="";if(Array.prototype.join,n.mode.autocomplete){for(var t in l+='\n
\n \n ',n.component.disableClearIcon||(l+='\n \n '),l+="\n
\n"}return l+="\n",n.self.manualModeEnabled&&(l+='\n
\n \n
\n"),l+="\n",n.self.manualMode&&(l+='\n
\n '+(null==(e=n.children)?"":e)+"\n
\n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
',n.displayValue?l+=null==(e=n.displayValue)?"":e:l+="-",l+"
\n"}},builder:{form:function(n){var e;return""+'
\n
\n '+(null==(e=n.sidebar)?"":e)+'\n
\n
\n '+(null==(e=n.form)?"":e)+"\n
\n
\n"}},builderComponent:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n ',n.disableBuilderActions||(l+='\n
\n \n \n
\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n '),l+"\n "+(null==(e=n.html)?"":e)+"\n\n"}},builderComponents:{form:function(n){var e;return""+'
\n '+(null==(e=n.html)?"":e)+"\n
\n"}},builderEditForm:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n
\n

'+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"

\n
\n ",n.helplinks&&(l+='\n \n "),l+='\n
\n
\n
\n
\n '+(null==(e=n.editForm)?"":e)+"\n
\n ",n.showPreview||(l+='\n
\n \n \n \n ",n.preview&&(l+='\n \n "),l+="\n
\n "),l+="\n
\n ",n.showPreview&&n.preview&&(l+='\n
\n
\n
\n

'+(null==(e=n.t("Preview"))?"":e)+'

\n
\n
\n
\n '+(null==(e=n.preview)?"":e)+"\n
\n
\n
\n ",n.componentInfo.help&&(l+='\n
\n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n
\n "),l+='\n
\n \n \n \n \n
\n
\n "),l+"\n
\n"}},builderPlaceholder:{form:function(n){var e;return""+'\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n\n"}},builderSidebar:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n \n
\n ',n.groups.forEach((function(n){l+="\n "+(null==(e=n)?"":e)+"\n "})),l+="\n
\n
\n"}},builderSidebarGroup:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n
\n
\n \n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n \n
\n
\n \n
\n ',n.group.componentOrder.length||n.subgroups.length?(l+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(t){l+='\n \n ',n.group.components[t].icon&&(l+='\n \n '),l+="\n "+(null==(e=n.t(n.group.components[t].title,{_userInput:!0}))?"":e)+"\n \n "})),l+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):l+="\n
"+(null==(e=n.t("No Matches Found"))?"":e)+"
\n ",l+="\n
\n
\n\n"}},builderWizard:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n
\n '+(null==(e=n.sidebar)?"":e)+'\n
\n
\n \n
\n '+(null==(e=n.form)?"":e)+"\n
\n
\n
\n"}},button:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n>\n",n.component.leftIcon&&(l+=' '),l+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(l+='\n \n'),l+="\n",n.component.rightIcon&&(l+=' '),l+"\n\n
\n \n
\n'},html:function(n){return"\n"}},checkbox:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+='
\n \n ",n.component.tooltip&&(l+='\n \n '),l+"\n
\n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n
',n.checked?l+="True":l+="False",l+"
\n"}},columns:{form:function(n){var e,l="";return Array.prototype.join,n.component.columns.forEach((function(t,o){l+='\n
\n '+(null==(e=n.columnComponents[o])?"":e)+"\n
\n"})),l}},component:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+'\n
\n '),l+"\n
\n"}},componentModal:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n
\n
\n
\n
'+(null==(e=n.t(n.component.label))?"":e)+(null==(e=n.self.isIE()?", dialog":"")?"":e)+"\n ",n.options.vpat?l+='\n \n ':l+='\n \n ',l+='\n
\n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+"\n "),l+='\n
\n ',n.options.vpat&&(l+='\n \n "),l+'\n \n
\n
\n
\n \n
\n
\n'}},components:{form:function(n){var e;return""+((null==(e=n.children.join(""))?"":e)+"\n")}},tableComponents:{form:function(n){var e,l="";return Array.prototype.join,n.children.forEach((function(n){l+='\n \n '+(null==(e=n)?"":e)+"\n \n"})),l+="\n"}},container:{form:function(n){var e;return""+'
\n '+(null==(e=n.children)?"":e)+"\n
\n"}},datagrid:{form:function(n){var e,l="";return Array.prototype.join,l+='\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' '),l+="\n \n "})),l+="\n ",n.hasExtraColumn&&(l+='\n \n "),l+="\n \n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+="\n ",n.hasGroups&&n.groups[o]&&(l+='\n \n '+(null==(e=n.groups[o].label)?"":e)+"\n \n "),l+='\n \n ',n.component.reorder&&(l+='\n \n '),l+="\n ",n.columns.forEach((function(o){l+='\n \n "})),l+="\n ",n.hasExtraColumn&&(l+="\n ",n.hasRemoveButtons&&(l+='\n \n '),l+="\n ",n.canAddColumn&&(l+='\n \n "),l+="\n "),l+="\n \n "})),l+="\n \n ",!n.builder&&n.hasAddButton&&n.hasBottomSubmit&&(l+='\n \n \n \n \n \n "),l+="\n
\n '+(null==(e=n.t("Add/Remove"))?"":e)+"\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(l+='\n \n "),l+="\n
\n \n \n "+(null==(e=t[o.key])?"":e)+"\n \n \n \n '+(null==(e=n.placeholder)?"":e)+"\n
\n \n
\n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n ',n.hasHeader&&(l+="\n \n \n ",n.columns.forEach((function(t){l+='\n \n "})),l+="\n \n \n "),l+="\n \n ",n.rows.forEach((function(t){l+="\n \n ",n.columns.forEach((function(o){l+='\n \n "})),l+="\n \n "})),l+="\n \n
\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' '),l+="\n
\n '+(null==(e=t[o.key])?"":e)+"\n
\n"}},day:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n "),l+="\n
"+(null==(e=n.day)?"":e)+"
\n
\n "),l+="\n ",n.showMonth&&(l+='\n
\n ',n.component.hideInputLabels||(l+='\n
\n "),l+="\n ",!n.dayFirst&&n.showDay&&(l+='\n
\n ',n.component.hideInputLabels||(l+='\n
\n "),l+="\n ",n.showYear&&(l+='\n
\n ',n.component.hideInputLabels||(l+='\n
\n "),l+'\n\n\n'}},dialog:{form:function(n){return'
\n
\n \n
\n'}},editgrid:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.header&&(l+='\n
  • \n '+(null==(e=n.header)?"":e)+"\n
  • \n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n
  • \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n
    \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
    \n "),l+='\n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
  • \n "})),l+="\n ",n.footer&&(l+='\n \n "),l+="\n
\n",!n.readOnly&&n.hasAddButton&&(l+='\n\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.header&&(l+='\n
  • \n '+(null==(e=n.header)?"":e)+"\n
  • \n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n
  • \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n
    \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
    \n "),l+='\n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
  • \n "})),l+="\n ",n.footer&&(l+='\n \n "),l+="\n
\n"}},editgridTable:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n
\n \n ',n.header&&(l+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+='\n \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n \n "),l+="\n ",n.errors[o]&&(l+='\n \n "),l+="\n \n "})),l+="\n \n ",n.footer&&(l+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),l+="\n
\n
\n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
\n
\n
\n
\n '+(null==(e=n.errors[o])?"":e)+"\n
\n
\n
\n
\n
\n",!n.readOnly&&n.hasAddButton&&(l+='\n\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
\n
\n \n ',n.header&&(l+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+='\n \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n \n "),l+="\n ",n.errors[o]&&(l+='\n \n "),l+="\n \n "})),l+="\n \n ",n.footer&&(l+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),l+="\n
\n
\n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
\n
\n
\n
\n '+(null==(e=n.errors[o])?"":e)+"\n
\n
\n
\n
\n
\n"}},field:{form:function(n){var e,l="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n \n'),l+="\n\n"+(null==(e=n.element)?"":e)+"\n\n",n.label.hidden||"bottom"!==n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n",n.component.description&&(l+='\n
'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
\n"),l+"\n"},align:function(n){var e,l="";return Array.prototype.join,l+='
\n ',n.label.hidden||(l+='\n
\n '+(null==(e=n.labelMarkup)?"":e)+"\n
\n "),l+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n
\n \n
\n '),l+='\n\n
\n '+(null==(e=n.element)?"":e)+"\n
\n
\n\n",n.component.description&&(l+='\n
'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
\n"),l+"\n"}},fieldset:{form:function(n){var e,l="";return Array.prototype.join,l+="
\n ",n.component.legend&&(l+='\n \n '+(null==(e=n.t(n.component.legend,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(l+='\n \n '),l+="\n \n "),l+="\n ",n.collapsed||(l+='\n
\n '+(null==(e=n.children)?"":e)+"\n
\n "),l+"\n
\n"}},file:{form:function(n){var e,l="";return Array.prototype.join,n.options.vpat&&(l+='\n \n'),l+="\n",n.self.imageUpload?(l+="\n
\n ",n.files.forEach((function(t){l+='\n
\n \n '+(null==(e=t.originalName||t.name)?\n ',n.disabled||(l+='\n \n '),l+="\n \n
\n "})),l+="\n
\n"):(l+="\n ",n.options.vpat&&(l+="\n
"+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"
\n "),l+='\n
    \n \n ",n.files.forEach((function(t){l+='\n
  • \n
    \n
    \n ',n.component.uploadOnly?l+="\n "+(null==(e=t.originalName||t.name)?"":e)+"\n ":l+='\n \n '+(null==(e=n.t("Press to open "))?"":e)+""+(null==(e=t.originalName||t.name)?"":e)+"\n \n ",l+='\n
    \n
    '+(null==(e=n.fileSize(t.size))?"":e)+"
    \n ",n.self.hasTypes&&!n.disabled&&(l+='\n
    \n \n
    \n "),l+="\n ",n.self.hasTypes&&n.disabled&&(l+='\n
    '+(null==(e=t.fileType)?"":e)+"
    \n "),l+="\n ",n.disabled||(l+='\n
    \n '),l+="\n
    \n
  • \n "})),l+="\n ",n.filesToDelete.forEach((function(t){l+='\n
  • \n
    \n
    \n
    '+(null==(e=t.originalName||t.name)?"":e)+'
    \n
    '+(null==(e=n.t(t.message))?"":e)+'
    \n
    \n
    '+(null==(e=n.fileSize(t.size))?"":e)+"
    \n ",n.self.hasTypes&&(l+='\n
    \n \n
    \n "),l+="\n ",n.isSyncing||"success"===t.status||(l+='\n
    \n '),l+="\n
    \n
  • \n "})),l+="\n ",n.filesToUpload.forEach((function(t){l+='\n
  • \n
    \n
    \n
    '+(null==(e=t.originalName||t.name)?"":e)+"
    \n ","progress"===t.status?l+='\n
    \n
    \n '+(null==(e=t.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"\n
    \n
    \n ":l+='\n
    '+(null==(e=n.t(t.message))?"":e)+"
    \n ",l+='\n
    \n
    '+(null==(e=n.fileSize(t.size))?"":e)+"
    \n ",n.self.hasTypes&&(l+='\n
    \n \n
    \n "),l+="\n ","progress"===t.status?l+='\n
    \n ':n.isSyncing||"success"===t.status||(l+='\n
    \n '),l+="\n
    \n
  • \n "})),l+="\n
\n"),l+="\n",n.disabled||!n.component.multiple&&n.files.length||(l+="\n ",n.self.useWebViewCamera?l+='\n
\n \n \n
\n ":n.self.cameraMode?l+='\n
\n \n
\n \n \n ":(l+='\n \n '),l+="\n"),l+="\n",n.component.storage&&!n.support.hasWarning||(l+='\n
\n ',n.component.storage||(l+="\n

"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"

\n "),l+="\n ",n.support.filereader||(l+="\n

"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"

\n "),l+="\n ",n.support.formdata||(l+="\n

"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"

\n "),l+="\n ",n.support.progress||(l+="\n

"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"

\n "),l+="\n
\n"),l+="\n"}},html:{form:function(n){var e,l="";return Array.prototype.join,l+="<"+(null==(e=n.tag)?"":e)+' class="formio-component-htmlelement '+(null==(e=n.component.className)?"":e)+'" ref="html"\n ',n.attrs.forEach((function(n){l+="\n "+(null==(e=n.attr)?"":e)+'="'+(null==(e=n.value)?"":e)+'"\n '})),l+="\n>"+(null==(e=n.t(n.content))?"":e),n.singleTags&&-1!==n.singleTags.indexOf(n.tag)||(l+=""),l+="\n"}},icon:{form:function(n){var e;return""+''+(null==(e=n.content)?"":e)+"\n"}},input:{form:function(n){var e,l="";if(Array.prototype.join,(n.prefix||n.suffix)&&(l+='\n
\n '),l+="\n ",n.prefix&&(l+='\n
\n \n ',n.prefix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.prefix,{_userInput:!0}))?"":e)+"\n ",l+="\n \n
\n "),l+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var t in l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';l+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+" ",n.component.description&&(l+="d-"+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)),l+='"\n aria-required="'+(null==(e="input"!==n.input.ref&&n.input.ref?n.component.fields&&n.component.fields[n.input.ref]&&n.component.fields[n.input.ref].required||!1:n.component.validate.required)?"":e)+'"\n >'+(null==(e=n.input.content)?"":e)+"\n ",n.hasValueMaskInput&&(l+='\n \n '),l+="\n"}return l+="\n",(n.component.editor||n.component.wysiwyg)&&(l+='\n
\n'),l+="\n","datetime"===n.component.type&&(l+='\n\n'),l+="\n",n.suffix&&(l+='\n
\n \n ',n.suffix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.suffix,{_userInput:!0}))?"":e)+"\n ",l+="\n \n
\n"),l+="\n",(n.prefix||n.suffix)&&(l+="\n
\n"),l+="\n",(n.component.showCharCount||n.component.showWordCount)&&(l+='\n
\n ',n.component.showCharCount&&(l+='\n \n '),l+="\n ",n.component.showWordCount&&(l+='\n \n '),l+="\n
\n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
',n.value?l+=null==(e=n.value)?"":e:l+="-",l+"
\n"}},label:{form:function(n){var e,l="";return Array.prototype.join,l+='\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(l+='\n , '+(null==(e=n.t("numeric only"))?"":e)+",\n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+"\n\n"}},loader:{form:function(n){return'
\n
\n
\n
\n
\n'}},loading:{form:function(n){return"Loading...\n"}},map:{form:function(n){var e;return""+'
\n'}},message:{form:function(n){var e;return""+'
'+(null==(e=n.message)?"":e)+"
\n"}},modaledit:{form:function(n){var e;return""+'
\n \n \n \n
'+(null==(e=n.content)?"":e)+"
\n
\n"}},modaldialog:{form:function(n){var e;return""+'
\n
\n
\n \n '+(null==(e=n.t("Close"))?"":e)+'\n \n
\n
\n
\n'}},modalPreview:{form:function(n){var e;return""+'
\n\n\n '+(null==(e=n.previewText)?"":e)+'\n\n
\n '+(null==(e=n.messages)?"":e)+"\n
\n"}},multipleMasksInput:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+='\n '+(null==(e=n.label)?"":e)+"\n "})),l+='\n \n \n ",n.disabled||(l+='\n \n \n \n '),l+"\n\n"}},multiValueTable:{form:function(n){var e,l="";return Array.prototype.join,l+='\n \n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(l+='\n \n \n \n "),l+"\n \n
\n \n
\n"}},panel:{form:function(n){var e,l="";return Array.prototype.join,l+='
\n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(l+='\n
\n \n ',n.component.collapsible&&(l+='\n \n '),l+="\n ",n.component.hideLabel&&!n.builder||(l+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+="\n \n
\n "),l+="\n ",n.collapsed&&!n.builder||(l+='\n
\n '+(null==(e=n.children)?"":e)+"\n
\n "),l+"\n
\n"}},pdf:{form:function(n){var e;return""+'
\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n
\n '+(null==(e=n.submitButton)?"":e)+"\n
\n"}},pdfBuilder:{form:function(n){var e;return""+'
\n
\n '+(null==(e=n.sidebar)?"":e)+'\n
\n
\n\t
\n '+(null==(e=n.form)?"":e)+"\n
\n
\n"}},pdfBuilderUpload:{form:function(n){var e;return""+'
\n

'+(null==(e=n.t("Upload a PDF File"))?"":e)+'

\n \n
\n \n '+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
\n
\n\n
\n
\n\n'}},radio:{form:function(n){var e,l="";return Array.prototype.join,l+='\n \n \n "})),l+="\n\n"},html:function(n){var e,l="";return Array.prototype.join,(l+='
\n ')+"\n "+(null==(e=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", "))?"":e)+"\n
\n"}},resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
\n '+(null==(e=n.element)?"":e)+'\n
\n \n
\n"}},select:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+=''+(null==(e=n.selectOptions)?"":e)+'\n\n'},html:function(n){var e,l="";return Array.prototype.join,l+='
',n.value?l+=null==(e=n.self.itemValueForHTMLMode(n.value))?"":e:l+="-",l+"
\n"}},selectOption:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+="\n"},html:function(n){var e,l="";return Array.prototype.join,n.selected&&(l+=null==(e=n.t(n.option.label,{_userInput:!0}))?"":e),l+"\n"}},signature:{form:function(n){var e,l="";return Array.prototype.join,l+=(null==(e=n.element)?"":e)+'\n\n \n \n \n \n ',n.required&&(l+='\n \n '),l+='\n \n\n',n.component.footer&&(l+='\n \n"),l+"\n"},html:function(n){return'\n'}},survey:{form:function(n){var e,l="";return Array.prototype.join,l+='\n \n \n \n ',n.component.values.forEach((function(t){l+='\n \n "})),l+="\n \n \n \n ",n.component.questions.forEach((function(t){l+="\n \n \n ",n.component.values.forEach((function(o){l+='\n \n '})),l+="\n \n "})),l+="\n \n
\n '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+='\n \n '),l+="\n
\n "+(null==(e=n.t(t.label))?"":e)+"\n ",t.tooltip&&(l+='\n \n '),l+="\n \n \n
\n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n \n ',n.component.questions.forEach((function(t){l+="\n \n \n \n \n "})),l+="\n \n
"+(null==(e=n.t(t.label))?"":e)+"\n ",n.component.values.forEach((function(o){l+="\n ",n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value]===o.value&&(l+="\n "+(null==(e=n.t(o.label))?"":e)+"\n "),l+="\n "})),l+="\n
\n"}},tab:{flat:function(n){var e,l="";return Array.prototype.join,n.component.components.forEach((function(t,o){l+='\n
\n
\n

'+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+'

\n
\n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
\n \n"})),l+="\n"},form:function(n){var e,l="";return Array.prototype.join,l+='
\n
\n \n
\n ",n.component.components.forEach((function(t,o){l+='\n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
\n "})),l+="\n\n"}},table:{form:function(n){var e,l="";return Array.prototype.join,l+='\n \n ",n.component.header&&n.component.header.length>0&&(l+="\n \n \n ",n.component.header.forEach((function(t){l+="\n \n "})),l+="\n \n \n "),l+="\n \n ",n.tableComponents.forEach((function(t,o){l+='\n \n ',t.forEach((function(t,a){l+='\n \n "})),l+="\n \n
'+(null==(e=n.t(n.component.label))?"":e)+"
"+(null==(e=n.t(t))?"":e)+"
\n "})),l+="\n
\n"}},tree:{form:function(n){var e,l="";return Array.prototype.join,n.node.isRoot?l+='\n
\n':l+='\n
  • \n',l+="\n ",n.content&&(l+='\n
    \n '+(null==(e=n.content)?"":e)+"\n
    \n "),l+="\n ",n.childNodes&&n.childNodes.length&&(l+='\n
      \n '+(null==(e=n.childNodes.join(""))?"":e)+"\n
    \n "),l+="\n",n.node.isRoot?l+="\n
  • \n":l+="\n \n",l+"\n"}},treeView:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.values.forEach((function(n){l+='\n
    \n '+(null==(e=n)?"":e)+"\n
    \n "})),l+='\n
    \n
    \n ',n.node.hasChildren&&(l+='\n \n "),l+="\n ",n.readOnly||(l+='\n \n \n \n ",n.node.revertAvailable&&(l+='\n \n "),l+="\n "),l+="\n
    \n
    \n
    \n"}},treeEdit:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    '+(null==(e=n.children)?"":e)+"
    \n ",n.readOnly||(l+='\n
    \n \n \n
    \n "),l+"\n
    \n"}},webform:{form:function(n){var e;return""+'
    '+(null==(e=n.children)?"":e)+"
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},well:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n
    \n"}},wizard:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n ',"wizardHeaderVertical"===n.wizardHeaderType?(l+='\n
    \n ',"right"!==n.wizardHeaderLocation&&(l+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),l+='\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n ","right"===n.wizardHeaderLocation&&(l+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),l+='\n
    \n
    \n '+(null==(e=n.wizardNav)?"":e)+"\n
    \n "):l+="\n "+(null==(e=n.wizardHeader)?"":e)+'\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n "+(null==(e=n.wizardNav)?"":e)+"\n ",l+"\n
    \n
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},wizardHeader:{form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},wizardHeaderClassic:{form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},wizardHeaderVertical:{form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},wizardNav:{form:function(n){var e,l="";return Array.prototype.join,l+='
      \n ',n.buttonOrder.forEach((function(t){l+="\n ","cancel"===t&&n.buttons.cancel&&(l+='\n
    • \n \n
    • \n "),l+="\n ","previous"===t&&n.buttons.previous&&(l+='\n
    • \n \n
    • \n "),l+="\n ","next"===t&&n.buttons.next&&(l+='\n
    • \n \n
    • \n "),l+="\n ","submit"===t&&n.buttons.submit&&(l+="\n
    • \n ",n.disableWizardSubmit?l+='\n \n ":l+='\n \n ",l+="\n
    • \n "),l+="\n "})),l+="\n
    \n"}},errorsList:{form:function(n){var e,l="";return Array.prototype.join,l+="

    "+(null==(e=n.t("error"))?"":e)+"\n ",n.options.vpat&&(l+='\n \n '),l+="\n

    \n
      \n ",n.errors.forEach((function(n){l+='\n
    • \n \n '+(null==(e=n.message)?"":e)+"\n \n
    • \n "})),l+="\n
    \n"}},alert:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+="'+(null==(e=n.t("errorListHotkey"))?"":e)+"\n "),l+"\n\n"}}}}};return e.default})())); \ No newline at end of file +!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap4=e():n.bootstrap4=e()}(self,(()=>(()=>{"use strict";var n={d:(e,t)=>{for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>U});const t={form:function(n){var e,t="";if(Array.prototype.join,n.mode.autocomplete){for(var l in t+='\n
    \n \n ',n.component.disableClearIcon||(t+='\n \n '),t+="\n
    \n"}return t+="\n",n.self.manualModeEnabled&&(t+='\n
    \n \n
    \n"),t+="\n",n.self.manualMode&&(t+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n"),t+"\n"},html:function(n){var e,t="";return Array.prototype.join,t+='
    ',n.displayValue?t+=null==(e=n.displayValue)?"":e:t+="-",t+"
    \n"}},l={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',n.disableBuilderActions||(t+='\n
    \n \n \n
    \n ',n.design||(t+='\n \n \n
    \n \n \n \n \n \n \n '),t+='\n \n \n \n ',n.design&&"reviewpage"===n.childComponent.type||(t+='\n \n \n \n '),t+="\n \n "),t+"\n "+(null==(e=n.html)?"":e)+"\n\n"}},o={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n

    '+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"

    \n
    \n ",n.helplinks&&(t+='\n \n "),t+='\n
    \n
    \n
    \n
    \n '+(null==(e=n.editForm)?"":e)+"\n
    \n ",n.showPreview||(t+='\n
    \n \n \n \n ",n.preview&&(t+='\n \n "),t+="\n
    \n "),t+="\n
    \n ",n.showPreview&&n.preview&&(t+='\n
    \n
    \n
    \n

    '+(null==(e=n.t("Preview"))?"":e)+'

    \n
    \n
    \n
    \n '+(null==(e=n.preview)?"":e)+"\n
    \n
    \n
    \n ",n.componentInfo.help&&(t+='\n
    \n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n
    \n "),t+='\n
    \n \n \n \n \n
    \n
    \n "),t+"\n
    \n"}},r={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n \n
    \n ',n.groups.forEach((function(n){t+="\n "+(null==(e=n)?"":e)+"\n "})),t+="\n
    \n
    \n"}},a={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n
    \n \n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n \n
    \n
    \n \n
    \n ',n.group.componentOrder.length||n.subgroups.length?(t+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(l){t+='\n \n ',n.group.components[l].icon&&(t+='\n \n '),t+="\n "+(null==(e=n.t(n.group.components[l].title,{_userInput:!0}))?"":e)+"\n \n "})),t+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):t+="\n
    "+(null==(e=n.t("No Matches Found"))?"":e)+"
    \n ",t+="\n
    \n
    \n\n"}},i={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n \n
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n
    \n"}},s={form:function(n){var e,t="";for(var l in Array.prototype.join,t+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n ',n.input.attr)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.input.attr[l])?"":e)+'"\n ';return t+="\n ",n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+="\n>\n",n.component.leftIcon&&(t+=' '),t+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(t+='\n \n'),t+="\n",n.component.rightIcon&&(t+=' '),t+"\n\n
    \n \n
    \n'},html:function(n){return"\n"}},u={form:function(n){var e,t="";for(var l in Array.prototype.join,t+='
    \n \n <'+(null==(e=n.input.type)?"":e)+'\n ref="input"\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',n.input.attr)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.input.attr[l])?"":e)+'"\n ';return t+="\n ",n.checked&&(t+="checked=true"),t+='\n aria-required="'+(null==(e=n.component.validate.required)?"":e)+'"\n ',n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+="\n >\n ",n.self.labelIsHidden()||(t+=""+(null==(e=n.input.label)?"":e)+""),t+="\n "+(null==(e=n.input.content)?"":e)+"\n \n \n ",n.component.tooltip&&(t+='\n \n '),t+"\n
    \n"},html:function(n){var e,t="";return Array.prototype.join,t+='\n
    ',n.checked?t+="True":t+="False",t+"
    \n"}},d={form:function(n){var e,t="";return Array.prototype.join,n.component.columns.forEach((function(l,o){t+='\n
    \n '+(null==(e=n.columnComponents[o])?"":e)+"\n
    \n"})),t}},c={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',n.visible&&(t+="\n "+(null==(e=n.children)?"":e)+'\n
    \n '),t+"\n
    \n"}},p={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n
    \n
    \n
    '+(null==(e=n.t(n.component.label))?"":e)+(null==(e=n.self.isIE()?", dialog":"")?"":e)+"\n ",n.options.vpat?t+='\n \n ':t+='\n \n ',t+='\n
    \n ',n.visible&&(t+="\n "+(null==(e=n.children)?"":e)+"\n "),t+='\n
    \n ',n.options.vpat&&(t+='\n \n "),t+'\n \n
    \n
    \n
    \n \n
    \n
    \n'}},m={form:function(n){var e,t="";return Array.prototype.join,n.children.forEach((function(n){t+='\n \n '+(null==(e=n)?"":e)+"\n \n"})),t+="\n"}},b={form:function(n){var e,t="";return Array.prototype.join,t+='\n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&(t+=' '),t+="\n \n "})),t+="\n ",n.hasExtraColumn&&(t+='\n \n "),t+="\n \n \n "),t+='\n \n ',n.rows.forEach((function(l,o){t+="\n ",n.hasGroups&&n.groups[o]&&(t+='\n \n '+(null==(e=n.groups[o].label)?"":e)+"\n \n "),t+='\n \n ',n.component.reorder&&(t+='\n \n '),t+="\n ",n.columns.forEach((function(o){t+='\n \n "})),t+="\n ",n.hasExtraColumn&&(t+="\n ",n.hasRemoveButtons&&(t+='\n \n '),t+="\n ",n.canAddColumn&&(t+='\n \n "),t+="\n "),t+="\n \n "})),t+="\n \n ",!n.builder&&n.hasAddButton&&n.hasBottomSubmit&&(t+='\n \n \n \n \n \n "),t+="\n
    \n '+(null==(e=n.t("Add/Remove"))?"":e)+"\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(t+='\n \n "),t+="\n
    \n \n \n "+(null==(e=l[o.key])?"":e)+"\n \n \n \n '+(null==(e=n.placeholder)?"":e)+"\n
    \n \n
    \n"},html:function(n){var e,t="";return Array.prototype.join,t+='\n ',n.hasHeader&&(t+="\n \n \n ",n.columns.forEach((function(l){t+='\n \n "})),t+="\n \n \n "),t+="\n \n ",n.rows.forEach((function(l){t+="\n \n ",n.columns.forEach((function(o){t+='\n \n "})),t+="\n \n "})),t+="\n \n
    \n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&(t+=' '),t+="\n
    \n '+(null==(e=l[o.key])?"":e)+"\n
    \n"}},f={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n "),t+="\n
    "+(null==(e=n.day)?"":e)+"
    \n
    \n "),t+="\n ",n.showMonth&&(t+='\n
    \n ',n.component.hideInputLabels||(t+='\n
    \n "),t+="\n ",!n.dayFirst&&n.showDay&&(t+='\n
    \n ',n.component.hideInputLabels||(t+='\n
    \n "),t+="\n ",n.showYear&&(t+='\n
    \n ',n.component.hideInputLabels||(t+='\n
    \n "),t+'\n\n\n'}},v={form:function(n){var e,t="";return Array.prototype.join,t+='
      \n ',n.header&&(t+='\n
    • \n '+(null==(e=n.header)?"":e)+"\n
    • \n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n
    • \n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n
      \n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
      \n "),t+='\n
      \n
      \n '+(null==(e=n.errors[o])?"":e)+"\n
      \n
      \n
    • \n "})),t+="\n ",n.footer&&(t+='\n \n "),t+="\n
    \n",!n.readOnly&&n.hasAddButton&&(t+='\n\n"),t+="\n"},html:function(n){var e,t="";return Array.prototype.join,t+='
      \n ',n.header&&(t+='\n
    • \n '+(null==(e=n.header)?"":e)+"\n
    • \n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n
    • \n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n
      \n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
      \n "),t+='\n
      \n
      \n '+(null==(e=n.errors[o])?"":e)+"\n
      \n
      \n
    • \n "})),t+="\n ",n.footer&&(t+='\n \n "),t+="\n
    \n"}},y={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n \n ',n.header&&(t+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),t+='\n \n ',n.rows.forEach((function(l,o){t+='\n \n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n \n "),t+="\n ",n.errors[o]&&(t+='\n \n "),t+="\n \n "})),t+="\n \n ",n.footer&&(t+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),t+="\n
    \n
    \n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
    \n
    \n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
    \n
    \n
    \n",!n.readOnly&&n.hasAddButton&&(t+='\n\n"),t+="\n"},html:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n \n ',n.header&&(t+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),t+='\n \n ',n.rows.forEach((function(l,o){t+='\n \n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n \n "),t+="\n ",n.errors[o]&&(t+='\n \n "),t+="\n \n "})),t+="\n \n ",n.footer&&(t+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),t+="\n
    \n
    \n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
    \n
    \n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
    \n
    \n
    \n"}},g={form:function(n){var e,t="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(t+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),t+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\n \n'),t+="\n\n"+(null==(e=n.element)?"":e)+"\n\n",n.label.hidden||"bottom"!==n.label.labelPosition||(t+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),t+="\n",n.component.description&&(t+='\n
    '+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
    \n"),t+"\n"},align:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',n.label.hidden||(t+='\n
    \n '+(null==(e=n.labelMarkup)?"":e)+"\n
    \n "),t+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\n
    \n \n
    \n '),t+='\n\n
    \n '+(null==(e=n.element)?"":e)+"\n
    \n
    \n\n",n.component.description&&(t+='\n
    '+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
    \n"),t+"\n"}},h={form:function(n){var e,t="";return Array.prototype.join,t+="
    \n ",n.component.legend&&(t+='\n \n '+(null==(e=n.t(n.component.legend,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(t+='\n \n '),t+="\n \n "),t+="\n ",n.collapsed||(t+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n "),t+"\n
    \n"}},w={form:function(n){var e,t="";return Array.prototype.join,n.options.vpat&&(t+='\n \n'),t+="\n",n.self.imageUpload?(t+="\n
    \n ",n.files.forEach((function(l){t+='\n
    \n \n '+(null==(e=l.originalName||l.name)?\n ',n.disabled||(t+='\n \n '),t+="\n \n
    \n "})),t+="\n
    \n"):(t+="\n ",n.options.vpat&&(t+="\n
    "+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"
    \n "),t+='\n
      \n \n ",n.files.forEach((function(l){t+='\n
    • \n
      \n
      \n ',n.component.uploadOnly?t+="\n "+(null==(e=l.originalName||l.name)?"":e)+"\n ":t+='\n \n '+(null==(e=n.t("Press to open "))?"":e)+""+(null==(e=l.originalName||l.name)?"":e)+"\n \n ",t+='\n
      \n
      '+(null==(e=n.fileSize(l.size))?"":e)+"
      \n ",n.self.hasTypes&&!n.disabled&&(t+='\n
      \n \n
      \n "),t+="\n ",n.self.hasTypes&&n.disabled&&(t+='\n
      '+(null==(e=l.fileType)?"":e)+"
      \n "),t+="\n ",n.disabled||(t+='\n
      \n '),t+="\n
      \n
    • \n "})),t+="\n ",n.filesToDelete.forEach((function(l){t+='\n
    • \n
      \n
      \n
      '+(null==(e=l.originalName||l.name)?"":e)+'
      \n
      '+(null==(e=n.t(l.message))?"":e)+'
      \n
      \n
      '+(null==(e=n.fileSize(l.size))?"":e)+"
      \n ",n.self.hasTypes&&(t+='\n
      \n \n
      \n "),t+="\n ",n.isSyncing||"success"===l.status||(t+='\n
      \n '),t+="\n
      \n
    • \n "})),t+="\n ",n.filesToUpload.forEach((function(l){t+='\n
    • \n
      \n
      \n
      '+(null==(e=l.originalName||l.name)?"":e)+"
      \n ","progress"===l.status?t+='\n
      \n
      \n '+(null==(e=l.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"\n
      \n
      \n ":t+='\n
      '+(null==(e=n.t(l.message))?"":e)+"
      \n ",t+='\n
      \n
      '+(null==(e=n.fileSize(l.size))?"":e)+"
      \n ",n.self.hasTypes&&(t+='\n
      \n \n
      \n "),t+="\n ","progress"===l.status?t+='\n
      \n ':n.isSyncing||"success"===l.status||(t+='\n
      \n '),t+="\n
      \n
    • \n "})),t+="\n
    \n"),t+="\n",n.disabled||!n.component.multiple&&n.files.length||(t+="\n ",n.self.useWebViewCamera?t+='\n
    \n \n \n
    \n ":n.self.cameraMode?t+='\n
    \n \n
    \n \n \n ":(t+='\n \n '),t+="\n"),t+="\n",n.component.storage&&!n.support.hasWarning||(t+='\n
    \n ',n.component.storage||(t+="\n

    "+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"

    \n "),t+="\n ",n.support.filereader||(t+="\n

    "+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"

    \n "),t+="\n ",n.support.formdata||(t+="\n

    "+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"

    \n "),t+="\n ",n.support.progress||(t+="\n

    "+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"

    \n "),t+="\n
    \n"),t+="\n"}},x={form:function(n){var e,t="";return Array.prototype.join,t+="<"+(null==(e=n.tag)?"":e)+' class="formio-component-htmlelement '+(null==(e=n.component.className)?"":e)+'" ref="html"\n ',n.attrs.forEach((function(n){t+="\n "+(null==(e=n.attr)?"":e)+'="'+(null==(e=n.value)?"":e)+'"\n '})),t+="\n>"+(null==(e=n.t(n.content))?"":e),n.singleTags&&-1!==n.singleTags.indexOf(n.tag)||(t+=""),t+="\n"}},k={form:function(n){var e,t="";if(Array.prototype.join,(n.prefix||n.suffix)&&(t+='\n
    \n '),t+="\n ",n.prefix&&(t+='\n
    \n \n ',n.prefix instanceof HTMLElement?t+="\n "+(null==(e=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":e)+"\n ":t+="\n "+(null==(e=n.t(n.prefix,{_userInput:!0}))?"":e)+"\n ",t+="\n \n
    \n "),t+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var l in t+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n ',n.input.attr)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.input.attr[l])?"":e)+'"\n ';t+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+" ",n.component.description&&(t+="d-"+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)),t+='"\n aria-required="'+(null==(e="input"!==n.input.ref&&n.input.ref?n.component.fields&&n.component.fields[n.input.ref]&&n.component.fields[n.input.ref].required||!1:n.component.validate.required)?"":e)+'"\n >'+(null==(e=n.input.content)?"":e)+"\n ",n.hasValueMaskInput&&(t+='\n \n '),t+="\n"}return t+="\n",(n.component.editor||n.component.wysiwyg)&&(t+='\n
    \n'),t+="\n","datetime"===n.component.type&&(t+='\n\n'),t+="\n",n.suffix&&(t+='\n
    \n \n ',n.suffix instanceof HTMLElement?t+="\n "+(null==(e=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":e)+"\n ":t+="\n "+(null==(e=n.t(n.suffix,{_userInput:!0}))?"":e)+"\n ",t+="\n \n
    \n"),t+="\n",(n.prefix||n.suffix)&&(t+="\n
    \n"),t+="\n",(n.component.showCharCount||n.component.showWordCount)&&(t+='\n
    \n ',n.component.showCharCount&&(t+='\n \n '),t+="\n ",n.component.showWordCount&&(t+='\n \n '),t+="\n
    \n"),t+"\n"},html:function(n){var e,t="";return Array.prototype.join,t+='
    ',n.value?t+=null==(e=n.value)?"":e:t+="-",t+"
    \n"}},C={form:function(n){var e,t="";return Array.prototype.join,t+='\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(t+='\n , '+(null==(e=n.t("numeric only"))?"":e)+",\n "),t+="\n ",n.component.tooltip&&(t+='\n \n '),t+"\n\n"}},A={form:function(n){var e,t="";for(var l in Array.prototype.join,t+='\n '+(null==(e=n.label)?"":e)+"\n "})),t+='\n \n \n ",n.disabled||(t+='\n \n \n \n '),t+"\n\n"}},j={form:function(n){var e,t="";return Array.prototype.join,t+='\n \n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(t+='\n \n \n \n "),t+"\n \n
    \n \n
    \n"}},z={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(t+='\n
    \n \n ',n.component.collapsible&&(t+='\n \n '),t+="\n ",n.component.hideLabel&&!n.builder||(t+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),t+="\n ",n.component.tooltip&&(t+='\n \n '),t+="\n \n
    \n "),t+="\n ",n.collapsed&&!n.builder||(t+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n "),t+"\n
    \n"}},P={form:function(n){var e,t="";return Array.prototype.join,t+='\n \n \n "})),t+="\n\n"},html:function(n){var e,t="";return Array.prototype.join,(t+='
    \n ')+"\n "+(null==(e=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", "))?"":e)+"\n
    \n"}},E={form:function(n){var e,t="";for(var l in Array.prototype.join,t+=''+(null==(e=n.selectOptions)?"":e)+'\n\n'},html:function(n){var e,t="";return Array.prototype.join,t+='
    ',n.value?t+=null==(e=n.self.itemValueForHTMLMode(n.value))?"":e:t+="-",t+"
    \n"}},R={form:function(n){var e,t="";for(var l in Array.prototype.join,t+="\n"},html:function(n){var e,t="";return Array.prototype.join,n.selected&&(t+=null==(e=n.t(n.option.label,{_userInput:!0}))?"":e),t+"\n"}},_={form:function(n){var e,t="";return Array.prototype.join,t+=(null==(e=n.element)?"":e)+'\n\n \n \n \n \n ',n.required&&(t+='\n \n '),t+='\n \n\n',n.component.footer&&(t+='\n \n"),t+"\n"},html:function(n){return'\n'}},q={form:function(n){var e,t="";return Array.prototype.join,t+='\n \n \n \n ',n.component.values.forEach((function(l){t+='\n \n "})),t+="\n \n \n \n ",n.component.questions.forEach((function(l){t+="\n \n \n ",n.component.values.forEach((function(o){t+='\n \n '})),t+="\n \n "})),t+="\n \n
    \n '+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&(t+='\n \n '),t+="\n
    \n "+(null==(e=n.t(l.label))?"":e)+"\n ",l.tooltip&&(t+='\n \n '),t+="\n \n \n
    \n"},html:function(n){var e,t="";return Array.prototype.join,t+='\n \n ',n.component.questions.forEach((function(l){t+="\n \n \n \n \n "})),t+="\n \n
    "+(null==(e=n.t(l.label))?"":e)+"\n ",n.component.values.forEach((function(o){t+="\n ",n.value&&n.value.hasOwnProperty(l.value)&&n.value[l.value]===o.value&&(t+="\n "+(null==(e=n.t(o.label))?"":e)+"\n "),t+="\n "})),t+="\n
    \n"}},B={flat:function(n){var e,t="";return Array.prototype.join,n.component.components.forEach((function(l,o){t+='\n
    \n
    \n

    '+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+'

    \n
    \n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
    \n \n"})),t+="\n"},form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n \n
    \n ",n.component.components.forEach((function(l,o){t+='\n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
    \n "})),t+="\n\n"}},L={form:function(n){var e,t="";return Array.prototype.join,t+='\n \n ",n.component.header&&n.component.header.length>0&&(t+="\n \n \n ",n.component.header.forEach((function(l){t+="\n \n "})),t+="\n \n \n "),t+="\n \n ",n.tableComponents.forEach((function(l,o){t+='\n \n ',l.forEach((function(l,r){t+='\n \n "})),t+="\n \n
    '+(null==(e=n.t(n.component.label))?"":e)+"
    "+(null==(e=n.t(l))?"":e)+"
    \n "})),t+="\n
    \n"}},S={form:function(n){var e,t="";return Array.prototype.join,n.node.isRoot?t+='\n
    \n':t+='\n
  • \n',t+="\n ",n.content&&(t+='\n
    \n '+(null==(e=n.content)?"":e)+"\n
    \n "),t+="\n ",n.childNodes&&n.childNodes.length&&(t+='\n
      \n '+(null==(e=n.childNodes.join(""))?"":e)+"\n
    \n "),t+="\n",n.node.isRoot?t+="\n
  • \n":t+="\n \n",t+"\n"}},T={treeView:{form:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',n.values.forEach((function(n){t+='\n
    \n '+(null==(e=n)?"":e)+"\n
    \n "})),t+='\n
    \n
    \n ',n.node.hasChildren&&(t+='\n \n "),t+="\n ",n.readOnly||(t+='\n \n \n \n ",n.node.revertAvailable&&(t+='\n \n "),t+="\n "),t+="\n
    \n
    \n
    \n"}},treeEdit:{form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    '+(null==(e=n.children)?"":e)+"
    \n ",n.readOnly||(t+='\n
    \n \n \n
    \n "),t+"\n
    \n"}}},K={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n
    \n ',"wizardHeaderVertical"===n.wizardHeaderType?(t+='\n
    \n ',"right"!==n.wizardHeaderLocation&&(t+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),t+='\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n ","right"===n.wizardHeaderLocation&&(t+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),t+='\n
    \n
    \n '+(null==(e=n.wizardNav)?"":e)+"\n
    \n "):t+="\n "+(null==(e=n.wizardHeader)?"":e)+'\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n "+(null==(e=n.wizardNav)?"":e)+"\n ",t+"\n
    \n
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},N={form:function(n){var e,t="";return Array.prototype.join,t+='\n"}},M={form:function(n){var e,t="";return Array.prototype.join,t+='\n"}},O={form:function(n){var e,t="";return Array.prototype.join,t+='\n"}},D={form:function(n){var e,t="";return Array.prototype.join,t+='
      \n ',n.buttonOrder.forEach((function(l){t+="\n ","cancel"===l&&n.buttons.cancel&&(t+='\n
    • \n \n
    • \n "),t+="\n ","previous"===l&&n.buttons.previous&&(t+='\n
    • \n \n
    • \n "),t+="\n ","next"===l&&n.buttons.next&&(t+='\n
    • \n \n
    • \n "),t+="\n ","submit"===l&&n.buttons.submit&&(t+="\n
    • \n ",n.disableWizardSubmit?t+='\n \n ":t+='\n \n ",t+="\n
    • \n "),t+="\n "})),t+="\n
    \n"}},H={form:function(n){var e,t="";return Array.prototype.join,t+="

    "+(null==(e=n.t("error"))?"":e)+"\n ",n.options.vpat&&(t+='\n \n '),t+="\n

    \n
      \n ",n.errors.forEach((function(n){t+='\n
    • \n \n '+(null==(e=n.message)?"":e)+"\n \n
    • \n "})),t+="\n
    \n"}},F={form:function(n){var e,t="";for(var l in Array.prototype.join,t+="'+(null==(e=n.t("errorListHotkey"))?"":e)+"\n "),t+"\n\n"}},V={html:function(n){var e,t="";return Array.prototype.join,t+='
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n ',n.component.enableRowSelect&&(t+='\r\n
    \r\n '+(null==(e=n.selectedRows)?"":e)+" selected\r\n
    \r\n "),t+='\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n ',n.component.components.length||(t+='\r\n \r\n '),t+="\r\n ",n.component.enableRowSelect&&(t+='\r\n \r\n '),t+="\r\n ",n.component.components.forEach((function(l,o){t+="\r\n ",l.show&&(t+="\r\n \r\n "),t+="\r\n "})),t+="\r\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&n.data.length&&!n.options.pdf&&(t+='\r\n \r\n "),t+='\r\n \r\n \r\n \r\n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.\r\n \r\n \r\n "+(null==(e=l.label||l.key)?"":e)+"\r\n ",n.options.sortable&&l.sortable&&(t+='\r\n \r\n '+(null==(e=n.component.sort.isAsc?"↑":"↓")?"":e)+"\r\n \r\n "),t+="\r\n ",n.options.hideMenu||(t+='\r\n \r\n \r\n \r\n '),t+="\r\n \r\n
    \r\n Actions\r\n ',n.component.showDeleteAllBtn&&n.data.length&&(t+='\r\n \r\n '),t+="\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n ',n.component.showAddBtn&&!n.options.pdf&&(t+='\r\n
    +
    \r\n '),t+="\r\n
    \r\n
    \r\n
    "}},W={html:function(n){var e,t="";return Array.prototype.join,t+='\r\n"}},$={html:function(n){var e,t="";return Array.prototype.join,t+='\n\n ',n.eachRow((function(l){t+='\n \n ',n.component.enableRowSelect&&(t+='\n \n '),t+="\n ",l.forEach((function(l){t+="\n ",l.component.show&&(t+="\n \n "),t+="\n "})),t+="\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&!n.options.pdf&&(t+='\n \n "),t+="\n \n "})),t+="\n\n
    \n \n \n "+(null==(e=n.instance.hook("format",l.component.key,l.dataValue))?"":e)+"\n \n
    \n \n â‹®\n
    \n
    "}},U={framework:"bootstrap4",templates:{bootstrap4:{transform(n,e){return e&&"class"===n&&this.cssClasses.hasOwnProperty(e.toString())?this.cssClasses[e.toString()]:e},defaultIconset:"fa",iconClass:(n,e,t)=>{if("fa"===n)switch(e){case"save":e="download";break;case"zoom-in":e="search-plus";break;case"zoom-out":e="search-minus";break;case"question-sign":e="question-circle";break;case"remove-circle":e="times-circle-o";break;case"new-window":e="window-restore";break;case"move":e="arrows";break;case"time":e="clock-o"}return t?`${n} ${n}-${e} ${n}-spin`:`${n} ${n}-${e}`},cssClasses:{"border-default":"","formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active","formio-form-error":"formio-error-wrapper has-message","formio-form-alert":"alert alert-danger","formio-label-error":"","formio-input-error":"","formio-alert-danger":"alert alert-danger","formio-alert-success":"alert alert-success","formio-alert-warning":"alert alert-warning","formio-modal-cancel-button":"btn btn-danger formio-dialog-button","formio-modal-confirm-button":"btn btn-primary formio-dialog-button"},address:t,builder:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n"}},builderComponent:l,builderComponents:{form:function(n){var e;return""+'
    \n '+(null==(e=n.html)?"":e)+"\n
    \n"}},builderEditForm:o,builderPlaceholder:{form:function(n){var e;return""+'\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n\n"}},builderSidebar:r,builderSidebarGroup:a,builderWizard:i,button:s,checkbox:u,columns:d,component:c,componentModal:p,components:{form:function(n){var e;return""+((null==(e=n.children.join(""))?"":e)+"\n")}},tableComponents:m,container:{form:function(n){var e;return""+'
    \n '+(null==(e=n.children)?"":e)+"\n
    \n"}},datagrid:b,day:f,dialog:{form:function(n){return'
    \n
    \n \n
    \n'}},editgrid:v,editgridTable:y,field:g,fieldset:h,file:w,html:x,icon:{form:function(n){var e;return""+''+(null==(e=n.content)?"":e)+"\n"}},input:k,label:C,loader:{form:function(n){return'
    \n
    \n
    \n
    \n
    \n'}},loading:{form:function(n){return"Loading...\n"}},map:{form:function(n){var e;return""+'
    \n'}},message:{form:function(n){var e;return""+'
    '+(null==(e=n.message)?"":e)+"
    \n"}},modaledit:{form:function(n){var e;return""+'
    \n \n \n \n
    '+(null==(e=n.content)?"":e)+"
    \n
    \n"}},modaldialog:{form:function(n){var e;return""+'
    \n
    \n
    \n \n '+(null==(e=n.t("Close"))?"":e)+'\n \n
    \n
    \n
    \n'}},modalPreview:{form:function(n){var e;return""+'
    \n\n\n '+(null==(e=n.previewText)?"":e)+'\n\n
    \n '+(null==(e=n.messages)?"":e)+"\n
    \n"}},multipleMasksInput:A,multiValueRow:I,multiValueTable:j,panel:z,pdf:{form:function(n){var e;return""+'
    \n\t\n\t\t\n\t\n\t\n\t\t\n\t\n
    \n '+(null==(e=n.submitButton)?"":e)+"\n
    \n"}},pdfBuilder:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n\t
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n"}},pdfBuilderUpload:{form:function(n){var e;return""+'
    \n

    '+(null==(e=n.t("Upload a PDF File"))?"":e)+'

    \n \n
    \n \n '+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
    \n
    \n\n
    \n
    \n\n'}},radio:P,resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
    \n '+(null==(e=n.element)?"":e)+'\n
    \n \n
    \n"}},select:E,selectOption:R,signature:_,survey:q,tab:B,table:L,tree:S,...T,webform:{form:function(n){var e;return""+'
    '+(null==(e=n.children)?"":e)+"
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},well:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n
    \n"}},wizard:K,wizardHeader:N,wizardHeaderClassic:M,wizardHeaderVertical:O,wizardNav:D,errorsList:H,alert:F,grid:V,pagination:{html:function(n){var e;return""+''}},columnMenu:W,tbody:$,paginationBottom:{html:function(n){return'
    \n \n
    '}}}}};return e.default})())); \ No newline at end of file diff --git a/dist/bootstrap5.js b/dist/bootstrap5.js index b1a604cf..19c184dc 100644 --- a/dist/bootstrap5.js +++ b/dist/bootstrap5.js @@ -1 +1 @@ -!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap5=e():n.bootstrap5=e()}(self,(()=>(()=>{"use strict";var n={d:(e,l)=>{for(var t in l)n.o(l,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>l});const l={framework:"bootstrap5",templates:{bootstrap5:{transform(n,e,l){if(!e)return e;if("class"===n){let n="";return"form-group"===e&&(n="mb-2 ",l&&l.component.block&&(n+="d-grid ")),`${n}${this.cssClasses.hasOwnProperty(e.toString())?this.cssClasses[e.toString()]:e}`}return e},defaultIconset:"bi",iconClass:(n,e,l)=>{let t=e;switch(e){case"cog":t="gear";break;case"copy":t="back";break;case"bars":t="list";break;case"remove":t="trash";break;case"font":t="type";break;case"hashtag":t="hash";break;case"th-list":t="menu-button-wide";break;case"dot-circle-o":t="ui-radios";break;case"plus-square-o":t="plus-square";break;case"minus-square-o":t="dash-square";break;case"plus-square":t="ui-checks";break;case"phone-square":t="phone";break;case"home":t="house";break;case"clock-o":case"time":t="clock";break;case"usd":t="currency-dollar";break;case"html5":t="file-richtext";break;case"pencil-square-o":t="pencil-square";break;case"columns":t="layout-three-columns";break;case"list-alt":t="window";break;case"th-large":t="grid-fill";break;case"folder-o":t="folder";break;case"square-o":t="square";break;case"user-secret":t="person-fill-slash";break;case"folder-open":case"folder-open":t="folder2-open";break;case"th":t="grid-3x3-gap-fill";break;case"tasks":t="view-stacked";break;case"indent":t="text-indent-left";break;case"refresh":t="arrow-repeat";break;case"files-o":t="files";break;case"wpforms":t="window-stack";break;case"cube":t="box";break;case"cubes":t="boxes";break;case"check-square-o":t="check-square";break;case"plus":t="plus-lg";break;case"question-sign":t="question-circle";break;case"remove-circle":t="x-circle";break;case"new-window":t="window-plus";break;case"move":t="arrows-move";break;case"edit":t="pencil";break;case"video":t="camera-video";break;case"microphone":t="mic"}return l?"spinner-border spinner-border-sm":`fa fa-${e} bi bi-${t}`},cssClasses:{"border-default":"","formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active","formio-form-error":"formio-error-wrapper has-message","formio-form-alert":"alert alert-danger","formio-label-error":"","formio-input-error":"","formio-alert-danger":"alert alert-danger","formio-alert-success":"alert alert-success","formio-alert-warning":"alert alert-warning","formio-modal-cancel-button":"btn btn-danger formio-dialog-button","formio-modal-confirm-button":"btn btn-primary formio-dialog-button","form-group":"formio-form-group"},address:{form:function(n){var e,l="";if(Array.prototype.join,n.mode.autocomplete){for(var t in l+='\n
    \n \n ',n.component.disableClearIcon||(l+='\n \n '),l+="\n
    \n"}return l+="\n",n.self.manualModeEnabled&&(l+='\n
    \n \n
    \n"),l+="\n",n.self.manualMode&&(l+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    ',n.displayValue?l+=null==(e=n.displayValue)?"":e:l+="-",l+"
    \n"}},builder:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n"}},builderComponent:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.disableBuilderActions||(l+='\n
    \n \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n '),l+"\n "+(null==(e=n.html)?"":e)+"\n\n"}},builderComponents:{form:function(n){var e;return""+'
    \n '+(null==(e=n.html)?"":e)+"\n
    \n"}},builderEditForm:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n

    '+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"

    \n
    \n ",n.helplinks&&(l+='\n \n "),l+='\n
    \n
    \n
    \n
    \n '+(null==(e=n.editForm)?"":e)+"\n
    \n ",n.showPreview||(l+='\n
    \n \n \n \n ",n.preview&&(l+='\n \n "),l+="\n
    \n "),l+="\n
    \n ",n.showPreview&&n.preview&&(l+='\n
    \n
    \n
    \n

    '+(null==(e=n.t("Preview"))?"":e)+'

    \n
    \n
    \n
    \n '+(null==(e=n.preview)?"":e)+"\n
    \n
    \n
    \n ",n.componentInfo.help&&(l+='\n
    \n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n
    \n "),l+='\n
    \n \n \n \n \n
    \n
    \n "),l+"\n
    \n"}},builderPlaceholder:{form:function(n){var e;return""+'\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n\n"}},builderSidebar:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n \n
    \n ',n.groups.forEach((function(n){l+="\n "+(null==(e=n)?"":e)+"\n "})),l+="\n
    \n
    \n"}},builderSidebarGroup:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n
    \n \n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n \n
    \n
    \n \n
    \n ',n.group.componentOrder.length||n.subgroups.length?(l+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(t){l+='\n \n ',n.group.components[t].icon&&(l+='\n \n '),l+="\n "+(null==(e=n.t(n.group.components[t].title,{_userInput:!0}))?"":e)+"\n \n "})),l+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):l+="\n
    "+(null==(e=n.t("No Matches Found"))?"":e)+"
    \n ",l+="\n
    \n
    \n\n"}},builderWizard:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n \n
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n
    \n"}},button:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n>\n",n.component.leftIcon&&(l+=' '),l+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(l+='\n \n'),l+="\n",n.component.rightIcon&&(l+=' '),l+"\n\n
    \n \n
    \n'},html:function(n){return"\n"}},checkbox:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+='
    \n <'+(null==(e=n.input.type)?"":e)+'\n ref="input"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.checked&&(l+="checked=true"),l+='\n aria-required="'+(null==(e=n.component.validate.required)?"":e)+'"\n ',n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n >\n ",n.self.labelIsHidden()||(l+='\n \n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+"\n
    \n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n
    ',n.checked?l+="True":l+="False",l+"
    \n"}},columns:{form:function(n){var e,l="";return Array.prototype.join,n.component.columns.forEach((function(t,o){l+='\n
    \n '+(null==(e=n.columnComponents[o])?"":e)+"\n
    \n"})),l}},component:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+'\n
    \n '),l+"\n
    \n"}},componentModal:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n
    \n
    \n
    '+(null==(e=n.t(n.component.label))?"":e)+(null==(e=n.self.isIE()?", dialog":"")?"":e)+"\n ",n.options.vpat?l+='\n \n ':l+='\n \n ',l+='\n
    \n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+"\n "),l+='\n
    \n ',n.options.vpat&&(l+='\n \n "),l+'\n \n
    \n
    \n
    \n \n
    \n
    \n'}},components:{form:function(n){var e;return""+((null==(e=n.children.join(""))?"":e)+"\n")}},tableComponents:{form:function(n){var e,l="";return Array.prototype.join,n.children.forEach((function(n){l+='\n \n '+(null==(e=n)?"":e)+"\n \n"})),l+="\n"}},container:{form:function(n){var e;return""+'
    \n '+(null==(e=n.children)?"":e)+"\n
    \n"}},datagrid:{form:function(n){var e,l="";return Array.prototype.join,l+='\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' '),l+="\n \n "})),l+="\n ",n.hasExtraColumn&&(l+='\n \n "),l+="\n \n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+="\n ",n.hasGroups&&n.groups[o]&&(l+='\n \n '+(null==(e=n.groups[o].label)?"":e)+"\n \n "),l+='\n \n ',n.component.reorder&&(l+='\n \n '),l+="\n ",n.columns.forEach((function(o){l+='\n \n "})),l+="\n ",n.hasExtraColumn&&(l+="\n ",n.hasRemoveButtons&&(l+='\n \n '),l+="\n ",n.canAddColumn&&(l+='\n \n "),l+="\n "),l+="\n \n "})),l+="\n \n ",!n.builder&&n.hasAddButton&&n.hasBottomSubmit&&(l+='\n \n \n \n \n \n "),l+="\n
    \n '+(null==(e=n.t("Add/Remove"))?"":e)+"\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(l+='\n \n "),l+="\n
    \n \n \n "+(null==(e=t[o.key])?"":e)+"\n \n \n \n '+(null==(e=n.placeholder)?"":e)+"\n
    \n \n
    \n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n ',n.hasHeader&&(l+="\n \n \n ",n.columns.forEach((function(t){l+='\n \n "})),l+="\n \n \n "),l+="\n \n ",n.rows.forEach((function(t){l+="\n \n ",n.columns.forEach((function(o){l+='\n \n "})),l+="\n \n "})),l+="\n \n
    \n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' '),l+="\n
    \n '+(null==(e=t[o.key])?"":e)+"\n
    \n"}},day:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n "),l+="\n
    "+(null==(e=n.day)?"":e)+"
    \n
    \n "),l+="\n ",n.showMonth&&(l+='\n
    \n ',n.component.hideInputLabels||(l+='\n
    \n "),l+="\n ",!n.dayFirst&&n.showDay&&(l+='\n
    \n ',n.component.hideInputLabels||(l+='\n
    \n "),l+="\n ",n.showYear&&(l+='\n
    \n ',n.component.hideInputLabels||(l+='\n
    \n "),l+'\n\n\n'}},dialog:{form:function(n){return'
    \n
    \n \n
    \n'}},editgrid:{form:function(n){var e,l="";return Array.prototype.join,l+='
      \n ',n.header&&(l+='\n
    • \n '+(null==(e=n.header)?"":e)+"\n
    • \n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n
    • \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n
      \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
      \n "),l+='\n
      \n
      \n '+(null==(e=n.errors[o])?"":e)+"\n
      \n
      \n
    • \n "})),l+="\n ",n.footer&&(l+='\n \n "),l+="\n
    \n",!n.readOnly&&n.hasAddButton&&(l+='\n\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
      \n ',n.header&&(l+='\n
    • \n '+(null==(e=n.header)?"":e)+"\n
    • \n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n
    • \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n
      \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
      \n "),l+='\n
      \n
      \n '+(null==(e=n.errors[o])?"":e)+"\n
      \n
      \n
    • \n "})),l+="\n ",n.footer&&(l+='\n \n "),l+="\n
    \n"}},editgridTable:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n \n ',n.header&&(l+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+='\n \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n \n "),l+="\n ",n.errors[o]&&(l+='\n \n "),l+="\n \n "})),l+="\n \n ",n.footer&&(l+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),l+="\n
    \n
    \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
    \n
    \n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
    \n
    \n
    \n",!n.readOnly&&n.hasAddButton&&(l+='\n\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n \n ',n.header&&(l+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+='\n \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n \n "),l+="\n ",n.errors[o]&&(l+='\n \n "),l+="\n \n "})),l+="\n \n ",n.footer&&(l+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),l+="\n
    \n
    \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
    \n
    \n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
    \n
    \n
    \n"}},field:{form:function(n){var e,l="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n \n'),l+="\n\n"+(null==(e=n.element)?"":e)+"\n\n",n.label.hidden||"bottom"!==n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n",n.component.description&&(l+='\n
    '+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
    \n"),l+"\n"},align:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.label.hidden||(l+='\n
    \n '+(null==(e=n.labelMarkup)?"":e)+"\n
    \n "),l+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n
    \n \n
    \n '),l+='\n\n
    \n '+(null==(e=n.element)?"":e)+"\n
    \n
    \n\n",n.component.description&&(l+='\n
    '+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
    \n"),l+"\n"}},fieldset:{form:function(n){var e,l="";return Array.prototype.join,l+="
    \n ",n.component.legend&&(l+='\n \n '+(null==(e=n.t(n.component.legend,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(l+='\n \n '),l+="\n \n "),l+="\n ",n.collapsed||(l+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n "),l+"\n
    \n"}},file:{form:function(n){var e,l="";return Array.prototype.join,n.options.vpat&&(l+='\n \n'),l+="\n",n.self.imageUpload?(l+="\n
    \n ",n.files.forEach((function(t){l+='\n
    \n \n '+(null==(e=t.originalName||t.name)?\n ',n.disabled||(l+='\n \n '),l+="\n \n
    \n "})),l+="\n
    \n"):(l+="\n ",n.options.vpat&&(l+="\n
    "+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"
    \n "),l+='\n
      \n \n ",n.files.forEach((function(t){l+='\n
    • \n
      \n
      \n ',n.component.uploadOnly?l+="\n "+(null==(e=t.originalName||t.name)?"":e)+"\n ":l+='\n \n '+(null==(e=n.t("Press to open "))?"":e)+""+(null==(e=t.originalName||t.name)?"":e)+"\n \n ",l+='\n
      \n
      '+(null==(e=n.fileSize(t.size))?"":e)+"
      \n ",n.self.hasTypes&&!n.disabled&&(l+='\n
      \n \n
      \n "),l+="\n ",n.self.hasTypes&&n.disabled&&(l+='\n
      '+(null==(e=t.fileType)?"":e)+"
      \n "),l+="\n ",n.disabled||(l+='\n
      \n '),l+="\n
      \n
    • \n "})),l+="\n ",n.filesToDelete.forEach((function(t){l+='\n
    • \n
      \n
      \n
      '+(null==(e=t.originalName||t.name)?"":e)+'
      \n
      '+(null==(e=n.t(t.message))?"":e)+'
      \n
      \n
      '+(null==(e=n.fileSize(t.size))?"":e)+"
      \n ",n.self.hasTypes&&(l+='\n
      \n \n
      \n "),l+="\n ",n.isSyncing||"success"===t.status||(l+='\n
      \n '),l+="\n
      \n
    • \n "})),l+="\n ",n.filesToUpload.forEach((function(t){l+='\n
    • \n
      \n
      \n
      '+(null==(e=t.originalName||t.name)?"":e)+"
      \n ","progress"===t.status?l+='\n
      \n
      \n '+(null==(e=t.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"\n
      \n
      \n ":l+='\n
      '+(null==(e=n.t(t.message))?"":e)+"
      \n ",l+='\n
      \n
      '+(null==(e=n.fileSize(t.size))?"":e)+"
      \n ",n.self.hasTypes&&(l+='\n
      \n \n
      \n "),l+="\n ","progress"===t.status?l+='\n
      \n ':n.isSyncing||"success"===t.status||(l+='\n
      \n '),l+="\n
      \n
    • \n "})),l+="\n
    \n"),l+="\n",n.disabled||!n.component.multiple&&n.files.length||(l+="\n ",n.self.useWebViewCamera?l+='\n
    \n \n \n
    \n ":n.self.cameraMode?l+='\n
    \n \n
    \n \n \n ":(l+='\n \n '),l+="\n"),l+="\n",n.component.storage&&!n.support.hasWarning||(l+='\n
    \n ',n.component.storage||(l+="\n

    "+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"

    \n "),l+="\n ",n.support.filereader||(l+="\n

    "+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"

    \n "),l+="\n ",n.support.formdata||(l+="\n

    "+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"

    \n "),l+="\n ",n.support.progress||(l+="\n

    "+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"

    \n "),l+="\n
    \n"),l+="\n"}},html:{form:function(n){var e,l="";return Array.prototype.join,l+="<"+(null==(e=n.tag)?"":e)+' class="formio-component-htmlelement '+(null==(e=n.component.className)?"":e)+'" ref="html"\n ',n.attrs.forEach((function(n){l+="\n "+(null==(e=n.attr)?"":e)+'="'+(null==(e=n.value)?"":e)+'"\n '})),l+="\n>"+(null==(e=n.t(n.content))?"":e),n.singleTags&&-1!==n.singleTags.indexOf(n.tag)||(l+=""),l+="\n"}},icon:{form:function(n){var e;return""+''+(null==(e=n.content)?"":e)+"\n"}},input:{form:function(n){var e,l="";if(Array.prototype.join,(n.prefix||n.suffix)&&(l+='\n
    \n '),l+="\n ",n.prefix&&(l+='\n
    \n ',n.prefix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.prefix,{_userInput:!0}))?"":e)+"\n ",l+="\n
    \n "),l+="\n ",n.options.floatingLabels&&(l+='\n
    \n '),l+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var t in l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';l+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+" ",n.component.description&&(l+="d-"+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)),l+='"\n aria-required="'+(null==(e="input"!==n.input.ref&&n.input.ref?n.component.fields&&n.component.fields[n.input.ref]&&n.component.fields[n.input.ref].required||!1:n.component.validate.required)?"":e)+'"\n >'+(null==(e=n.input.content)?"":e)+"\n ",n.options.floatingLabels&&(l+='\n \n "),l+="\n ",n.hasValueMaskInput&&(l+='\n \n '),l+="\n"}return l+="\n",(n.component.editor||n.component.wysiwyg)&&(l+='\n
    \n'),l+="\n","datetime"===n.component.type&&(l+='\n\n'),l+="\n",n.suffix&&(l+='\n
    \n ',n.suffix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.suffix,{_userInput:!0}))?"":e)+"\n ",l+="\n
    \n"),l+="\n",(n.prefix||n.suffix||n.options.floatingLabels)&&(l+="\n
    \n"),l+="\n",(n.component.showCharCount||n.component.showWordCount)&&(l+='\n
    \n ',n.component.showCharCount&&(l+='\n \n '),l+="\n ",n.component.showWordCount&&(l+='\n \n '),l+="\n
    \n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    ',n.value?l+=null==(e=n.value)?"":e:l+="-",l+"
    \n"}},label:{form:function(n){var e,l="";return Array.prototype.join,l+='\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(l+='\n , '+(null==(e=n.t("numeric only"))?"":e)+",\n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+"\n\n"}},loader:{form:function(n){return'
    \n
    \n
    \n
    \n
    \n'}},loading:{form:function(n){return"Loading...\n"}},map:{form:function(n){var e;return""+'
    \n'}},message:{form:function(n){var e;return""+'
    '+(null==(e=n.message)?"":e)+"
    \n"}},modaledit:{form:function(n){var e;return""+'
    \n \n \n \n
    '+(null==(e=n.content)?"":e)+"
    \n
    \n"}},modaldialog:{form:function(n){var e;return""+'
    \n
    \n
    \n \n '+(null==(e=n.t("Close"))?"":e)+'\n \n
    \n
    \n
    \n'}},modalPreview:{form:function(n){var e;return""+'
    \n\n\n '+(null==(e=n.previewText)?"":e)+'\n\n
    \n '+(null==(e=n.messages)?"":e)+"\n
    \n"}},multipleMasksInput:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+='\n '+(null==(e=n.label)?"":e)+"\n "})),l+='\n \n \n ",n.disabled||(l+='\n \n \n \n '),l+"\n\n"}},multiValueTable:{form:function(n){var e,l="";return Array.prototype.join,l+='\n \n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(l+='\n \n \n \n "),l+"\n \n
    \n \n
    \n"}},panel:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(l+='\n
    \n \n ',n.component.collapsible&&(l+='\n \n '),l+="\n ",n.component.hideLabel&&!n.builder||(l+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+="\n \n
    \n "),l+="\n ",n.collapsed&&!n.builder||(l+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n "),l+"\n
    \n"}},pdf:{form:function(n){var e;return""+'
    \n\t\n\t\t\n\t\n\t\n\t\t\n\t\n
    \n '+(null==(e=n.submitButton)?"":e)+"\n
    \n"}},pdfBuilder:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n\t
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n"}},pdfBuilderUpload:{form:function(n){var e;return""+'
    \n

    '+(null==(e=n.t("Upload a PDF File"))?"":e)+'

    \n \n
    \n \n '+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
    \n
    \n\n
    \n
    \n\n'}},radio:{form:function(n){var e,l="";return Array.prototype.join,l+='\n ',["left","top"].includes(n.component.optionsLabelPosition)&&(l+='\n \n "),l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="input"\n ',n.input.attr)l+="\n "+(null==(e=a)?"":e)+'="'+(null==(e=n.input.attr[a])?"":e)+'"\n ';l+='\n value="'+(null==(e=t.value)?"":e)+'"\n ',n.value&&(n.value===t.value||"object"==typeof n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value])&&(l+="\n checked=true\n "),l+="\n ",t.disabled&&(l+="\n disabled=true\n "),l+='\n id="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"\n role="'+(null==(e="selectboxes"===n.component.type?"checkbox":"radio")?"":e)+'"\n >\n ',n.component.optionsLabelPosition&&!["right","bottom"].includes(n.component.optionsLabelPosition)||(l+='\n \n "),l+="\n
    \n "})),l+="\n\n"},html:function(n){var e,l="";return Array.prototype.join,(l+='
    \n ')+"\n "+(null==(e=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", "))?"":e)+"\n
    \n"}},resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
    \n '+(null==(e=n.element)?"":e)+'\n
    \n \n
    \n"}},select:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+=''+(null==(e=n.selectOptions)?"":e)+'\n\n'},html:function(n){var e,l="";return Array.prototype.join,l+='
    ',n.value?l+=null==(e=n.self.itemValueForHTMLMode(n.value))?"":e:l+="-",l+"
    \n"}},selectOption:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+="\n"},html:function(n){var e,l="";return Array.prototype.join,n.selected&&(l+=null==(e=n.t(n.option.label,{_userInput:!0}))?"":e),l+"\n"}},signature:{form:function(n){var e,l="";return Array.prototype.join,l+=(null==(e=n.element)?"":e)+'\n\n \n \n \n \n ',n.required&&(l+='\n \n '),l+='\n \n\n',n.component.footer&&(l+='\n \n"),l+"\n"},html:function(n){return'\n'}},survey:{form:function(n){var e,l="";return Array.prototype.join,l+='\n \n \n \n ',n.component.values.forEach((function(t){l+='\n \n "})),l+="\n \n \n \n ",n.component.questions.forEach((function(t){l+="\n \n \n ",n.component.values.forEach((function(o){l+='\n \n '})),l+="\n \n "})),l+="\n \n
    \n '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+='\n \n '),l+="\n
    \n "+(null==(e=n.t(t.label))?"":e)+"\n ",t.tooltip&&(l+='\n \n '),l+="\n \n \n
    \n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n \n ',n.component.questions.forEach((function(t){l+="\n \n \n \n \n "})),l+="\n \n
    "+(null==(e=n.t(t.label))?"":e)+"\n ",n.component.values.forEach((function(o){l+="\n ",n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value]===o.value&&(l+="\n "+(null==(e=n.t(o.label))?"":e)+"\n "),l+="\n "})),l+="\n
    \n"}},tab:{flat:function(n){var e,l="";return Array.prototype.join,n.component.components.forEach((function(t,o){l+='\n
    \n
    \n

    '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+'

    \n
    \n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
    \n \n"})),l+="\n"},form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n \n
    \n ",n.component.components.forEach((function(t,o){l+='\n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
    \n "})),l+="\n\n"}},table:{form:function(n){var e,l="";return Array.prototype.join,l+='\n \n ",n.component.header&&n.component.header.length>0&&(l+="\n \n \n ",n.component.header.forEach((function(t){l+="\n \n "})),l+="\n \n \n "),l+="\n \n ",n.tableComponents.forEach((function(t,o){l+='\n \n ',t.forEach((function(t,a){l+='\n \n "})),l+="\n \n
    '+(null==(e=n.t(n.component.label))?"":e)+"
    "+(null==(e=n.t(t))?"":e)+"
    \n "})),l+="\n
    \n"}},tree:{form:function(n){var e,l="";return Array.prototype.join,n.node.isRoot?l+='\n
    \n':l+='\n
  • \n',l+="\n ",n.content&&(l+='\n
    \n '+(null==(e=n.content)?"":e)+"\n
    \n "),l+="\n ",n.childNodes&&n.childNodes.length&&(l+='\n
      \n '+(null==(e=n.childNodes.join(""))?"":e)+"\n
    \n "),l+="\n",n.node.isRoot?l+="\n
  • \n":l+="\n \n",l+"\n"}},treeView:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.values.forEach((function(n){l+='\n
    \n '+(null==(e=n)?"":e)+"\n
    \n "})),l+='\n
    \n
    \n ',n.node.hasChildren&&(l+='\n \n "),l+="\n ",n.readOnly||(l+='\n \n \n \n ",n.node.revertAvailable&&(l+='\n \n "),l+="\n "),l+="\n
    \n
    \n
    \n"}},treeEdit:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    '+(null==(e=n.children)?"":e)+"
    \n ",n.readOnly||(l+='\n
    \n \n \n
    \n "),l+"\n
    \n"}},webform:{form:function(n){var e;return""+'
    '+(null==(e=n.children)?"":e)+"
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},well:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n
    \n"}},wizard:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n ',"wizardHeaderVertical"===n.wizardHeaderType?(l+='\n
    \n ',"right"!==n.wizardHeaderLocation&&(l+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),l+='\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n ","right"===n.wizardHeaderLocation&&(l+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),l+='\n
    \n
    \n '+(null==(e=n.wizardNav)?"":e)+"\n
    \n "):l+="\n "+(null==(e=n.wizardHeader)?"":e)+'\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n "+(null==(e=n.wizardNav)?"":e)+"\n ",l+"\n
    \n
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},wizardHeader:{form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},wizardHeaderClassic:{form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},wizardHeaderVertical:{form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},wizardNav:{form:function(n){var e,l="";return Array.prototype.join,l+='
      \n ',n.buttonOrder.forEach((function(t){l+="\n ","cancel"===t&&n.buttons.cancel&&(l+='\n
    • \n \n
    • \n "),l+="\n ","previous"===t&&n.buttons.previous&&(l+='\n
    • \n \n
    • \n "),l+="\n ","next"===t&&n.buttons.next&&(l+='\n
    • \n \n
    • \n "),l+="\n ","submit"===t&&n.buttons.submit&&(l+="\n
    • \n ",n.disableWizardSubmit?l+='\n \n ":l+='\n \n ",l+="\n
    • \n "),l+="\n "})),l+="\n
    \n"}},errorsList:{form:function(n){var e,l="";return Array.prototype.join,l+="

    "+(null==(e=n.t("error"))?"":e)+"\n ",n.options.vpat&&(l+='\n \n '),l+="\n

    \n
      \n ",n.errors.forEach((function(n){l+='\n
    • \n \n '+(null==(e=n.message)?"":e)+"\n \n
    • \n "})),l+="\n
    \n"}},alert:{form:function(n){var e,l="";for(var t in Array.prototype.join,l+="'+(null==(e=n.t("errorListHotkey"))?"":e)+"\n "),l+"\n\n"}}}}};return e.default})())); \ No newline at end of file +!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap5=e():n.bootstrap5=e()}(self,(()=>(()=>{"use strict";var n={d:(e,l)=>{for(var t in l)n.o(l,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>V});const l={form:function(n){var e,l="";if(Array.prototype.join,n.mode.autocomplete){for(var t in l+='\n
    \n \n ',n.component.disableClearIcon||(l+='\n \n '),l+="\n
    \n"}return l+="\n",n.self.manualModeEnabled&&(l+='\n
    \n \n
    \n"),l+="\n",n.self.manualMode&&(l+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    ',n.displayValue?l+=null==(e=n.displayValue)?"":e:l+="-",l+"
    \n"}},t={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.disableBuilderActions||(l+='\n
    \n \n \n
    \n ',n.design||(l+='\n \n \n
    \n \n \n \n \n \n \n '),l+='\n \n \n \n ',n.design&&"reviewpage"===n.childComponent.type||(l+='\n \n \n \n '),l+="\n \n "),l+"\n "+(null==(e=n.html)?"":e)+"\n\n"}},o={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n

    '+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"

    \n
    \n ",n.helplinks&&(l+='\n \n "),l+='\n
    \n
    \n
    \n
    \n '+(null==(e=n.editForm)?"":e)+"\n
    \n ",n.showPreview||(l+='\n
    \n \n \n \n ",n.preview&&(l+='\n \n "),l+="\n
    \n "),l+="\n
    \n ",n.showPreview&&n.preview&&(l+='\n
    \n
    \n
    \n

    '+(null==(e=n.t("Preview"))?"":e)+'

    \n
    \n
    \n
    \n '+(null==(e=n.preview)?"":e)+"\n
    \n
    \n
    \n ",n.componentInfo.help&&(l+='\n
    \n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n
    \n "),l+='\n
    \n \n \n \n \n
    \n
    \n "),l+"\n
    \n"}},a={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n \n
    \n ',n.groups.forEach((function(n){l+="\n "+(null==(e=n)?"":e)+"\n "})),l+="\n
    \n
    \n"}},r={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n
    \n \n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n \n
    \n
    \n \n
    \n ',n.group.componentOrder.length||n.subgroups.length?(l+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(t){l+='\n \n ',n.group.components[t].icon&&(l+='\n \n '),l+="\n "+(null==(e=n.t(n.group.components[t].title,{_userInput:!0}))?"":e)+"\n \n "})),l+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):l+="\n
    "+(null==(e=n.t("No Matches Found"))?"":e)+"
    \n ",l+="\n
    \n
    \n\n"}},i={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n \n
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n
    \n"}},s={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n>\n",n.component.leftIcon&&(l+=' '),l+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(l+='\n \n'),l+="\n",n.component.rightIcon&&(l+=' '),l+"\n\n
    \n \n
    \n'},html:function(n){return"\n"}},u={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='
    \n <'+(null==(e=n.input.type)?"":e)+'\n ref="input"\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.checked&&(l+="checked=true"),l+='\n aria-required="'+(null==(e=n.component.validate.required)?"":e)+'"\n ',n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n >\n ",n.self.labelIsHidden()||(l+='\n \n '+(null==(e=n.input.label)?"":e)+"\n \n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+"\n
    \n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n
    ',n.checked?l+="True":l+="False",l+"
    \n"}},d={form:function(n){var e,l="";return Array.prototype.join,n.component.columns.forEach((function(t,o){l+='\n
    \n '+(null==(e=n.columnComponents[o])?"":e)+"\n
    \n"})),l}},c={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+'\n
    \n '),l+"\n
    \n"}},p={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n
    \n
    \n
    '+(null==(e=n.t(n.component.label))?"":e)+(null==(e=n.self.isIE()?", dialog":"")?"":e)+"\n ",n.options.vpat?l+='\n \n ':l+='\n \n ',l+='\n
    \n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+"\n "),l+='\n
    \n ',n.options.vpat&&(l+='\n \n "),l+'\n \n
    \n
    \n
    \n \n
    \n
    \n'}},b={form:function(n){var e,l="";return Array.prototype.join,n.children.forEach((function(n){l+='\n \n '+(null==(e=n)?"":e)+"\n \n"})),l+="\n"}},m={form:function(n){var e,l="";return Array.prototype.join,l+='\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' '),l+="\n \n "})),l+="\n ",n.hasExtraColumn&&(l+='\n \n "),l+="\n \n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+="\n ",n.hasGroups&&n.groups[o]&&(l+='\n \n '+(null==(e=n.groups[o].label)?"":e)+"\n \n "),l+='\n \n ',n.component.reorder&&(l+='\n \n '),l+="\n ",n.columns.forEach((function(o){l+='\n \n "})),l+="\n ",n.hasExtraColumn&&(l+="\n ",n.hasRemoveButtons&&(l+='\n \n '),l+="\n ",n.canAddColumn&&(l+='\n \n "),l+="\n "),l+="\n \n "})),l+="\n \n ",!n.builder&&n.hasAddButton&&n.hasBottomSubmit&&(l+='\n \n \n \n \n \n "),l+="\n
    \n '+(null==(e=n.t("Add/Remove"))?"":e)+"\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(l+='\n \n "),l+="\n
    \n \n \n "+(null==(e=t[o.key])?"":e)+"\n \n \n \n '+(null==(e=n.placeholder)?"":e)+"\n
    \n \n
    \n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n ',n.hasHeader&&(l+="\n \n \n ",n.columns.forEach((function(t){l+='\n \n "})),l+="\n \n \n "),l+="\n \n ",n.rows.forEach((function(t){l+="\n \n ",n.columns.forEach((function(o){l+='\n \n "})),l+="\n \n "})),l+="\n \n
    \n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' '),l+="\n
    \n '+(null==(e=t[o.key])?"":e)+"\n
    \n"}},f={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n "),l+="\n
    "+(null==(e=n.day)?"":e)+"
    \n
    \n "),l+="\n ",n.showMonth&&(l+='\n
    \n ',n.component.hideInputLabels||(l+='\n
    \n "),l+="\n ",!n.dayFirst&&n.showDay&&(l+='\n
    \n ',n.component.hideInputLabels||(l+='\n
    \n "),l+="\n ",n.showYear&&(l+='\n
    \n ',n.component.hideInputLabels||(l+='\n
    \n "),l+'\n\n\n'}},v={form:function(n){var e,l="";return Array.prototype.join,l+='
      \n ',n.header&&(l+='\n
    • \n '+(null==(e=n.header)?"":e)+"\n
    • \n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n
    • \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n
      \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
      \n "),l+='\n
      \n
      \n '+(null==(e=n.errors[o])?"":e)+"\n
      \n
      \n
    • \n "})),l+="\n ",n.footer&&(l+='\n \n "),l+="\n
    \n",!n.readOnly&&n.hasAddButton&&(l+='\n\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
      \n ',n.header&&(l+='\n
    • \n '+(null==(e=n.header)?"":e)+"\n
    • \n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n
    • \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n
      \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
      \n "),l+='\n
      \n
      \n '+(null==(e=n.errors[o])?"":e)+"\n
      \n
      \n
    • \n "})),l+="\n ",n.footer&&(l+='\n \n "),l+="\n
    \n"}},y={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n \n ',n.header&&(l+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+='\n \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n \n "),l+="\n ",n.errors[o]&&(l+='\n \n "),l+="\n \n "})),l+="\n \n ",n.footer&&(l+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),l+="\n
    \n
    \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
    \n
    \n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
    \n
    \n
    \n",!n.readOnly&&n.hasAddButton&&(l+='\n\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n \n ',n.header&&(l+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),l+='\n \n ',n.rows.forEach((function(t,o){l+='\n \n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n \n "),l+="\n ",n.errors[o]&&(l+='\n \n "),l+="\n \n "})),l+="\n \n ",n.footer&&(l+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),l+="\n
    \n
    \n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n
    \n
    \n
    \n
    \n '+(null==(e=n.errors[o])?"":e)+"\n
    \n
    \n
    \n
    \n
    \n"}},g={form:function(n){var e,l="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n \n'),l+="\n\n"+(null==(e=n.element)?"":e)+"\n\n",n.label.hidden||"bottom"!==n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n",n.component.description&&(l+='\n
    '+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
    \n"),l+"\n"},align:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.label.hidden||(l+='\n
    \n '+(null==(e=n.labelMarkup)?"":e)+"\n
    \n "),l+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n
    \n \n
    \n '),l+='\n\n
    \n '+(null==(e=n.element)?"":e)+"\n
    \n
    \n\n",n.component.description&&(l+='\n
    '+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
    \n"),l+"\n"}},h={form:function(n){var e,l="";return Array.prototype.join,l+="
    \n ",n.component.legend&&(l+='\n \n '+(null==(e=n.t(n.component.legend,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(l+='\n \n '),l+="\n \n "),l+="\n ",n.collapsed||(l+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n "),l+"\n
    \n"}},w={form:function(n){var e,l="";return Array.prototype.join,n.options.vpat&&(l+='\n \n'),l+="\n",n.self.imageUpload?(l+="\n
    \n ",n.files.forEach((function(t){l+='\n
    \n \n '+(null==(e=t.originalName||t.name)?\n ',n.disabled||(l+='\n \n '),l+="\n \n
    \n "})),l+="\n
    \n"):(l+="\n ",n.options.vpat&&(l+="\n
    "+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"
    \n "),l+='\n
      \n \n ",n.files.forEach((function(t){l+='\n
    • \n
      \n
      \n ',n.component.uploadOnly?l+="\n "+(null==(e=t.originalName||t.name)?"":e)+"\n ":l+='\n \n '+(null==(e=n.t("Press to open "))?"":e)+""+(null==(e=t.originalName||t.name)?"":e)+"\n \n ",l+='\n
      \n
      '+(null==(e=n.fileSize(t.size))?"":e)+"
      \n ",n.self.hasTypes&&!n.disabled&&(l+='\n
      \n \n
      \n "),l+="\n ",n.self.hasTypes&&n.disabled&&(l+='\n
      '+(null==(e=t.fileType)?"":e)+"
      \n "),l+="\n ",n.disabled||(l+='\n
      \n '),l+="\n
      \n
    • \n "})),l+="\n ",n.filesToDelete.forEach((function(t){l+='\n
    • \n
      \n
      \n
      '+(null==(e=t.originalName||t.name)?"":e)+'
      \n
      '+(null==(e=n.t(t.message))?"":e)+'
      \n
      \n
      '+(null==(e=n.fileSize(t.size))?"":e)+"
      \n ",n.self.hasTypes&&(l+='\n
      \n \n
      \n "),l+="\n ",n.isSyncing||"success"===t.status||(l+='\n
      \n '),l+="\n
      \n
    • \n "})),l+="\n ",n.filesToUpload.forEach((function(t){l+='\n
    • \n
      \n
      \n
      '+(null==(e=t.originalName||t.name)?"":e)+"
      \n ","progress"===t.status?l+='\n
      \n
      \n '+(null==(e=t.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"\n
      \n
      \n ":l+='\n
      '+(null==(e=n.t(t.message))?"":e)+"
      \n ",l+='\n
      \n
      '+(null==(e=n.fileSize(t.size))?"":e)+"
      \n ",n.self.hasTypes&&(l+='\n
      \n \n
      \n "),l+="\n ","progress"===t.status?l+='\n
      \n ':n.isSyncing||"success"===t.status||(l+='\n
      \n '),l+="\n
      \n
    • \n "})),l+="\n
    \n"),l+="\n",n.disabled||!n.component.multiple&&n.files.length||(l+="\n ",n.self.useWebViewCamera?l+='\n
    \n \n \n
    \n ":n.self.cameraMode?l+='\n
    \n \n
    \n \n \n ":(l+='\n \n '),l+="\n"),l+="\n",n.component.storage&&!n.support.hasWarning||(l+='\n
    \n ',n.component.storage||(l+="\n

    "+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"

    \n "),l+="\n ",n.support.filereader||(l+="\n

    "+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"

    \n "),l+="\n ",n.support.formdata||(l+="\n

    "+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"

    \n "),l+="\n ",n.support.progress||(l+="\n

    "+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"

    \n "),l+="\n
    \n"),l+="\n"}},x={form:function(n){var e,l="";return Array.prototype.join,l+="<"+(null==(e=n.tag)?"":e)+' class="formio-component-htmlelement '+(null==(e=n.component.className)?"":e)+'" ref="html"\n ',n.attrs.forEach((function(n){l+="\n "+(null==(e=n.attr)?"":e)+'="'+(null==(e=n.value)?"":e)+'"\n '})),l+="\n>"+(null==(e=n.t(n.content))?"":e),n.singleTags&&-1!==n.singleTags.indexOf(n.tag)||(l+=""),l+="\n"}},k={form:function(n){var e,l="";if(Array.prototype.join,(n.prefix||n.suffix)&&(l+='\n
    \n '),l+="\n ",n.prefix&&(l+='\n
    \n ',n.prefix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.prefix,{_userInput:!0}))?"":e)+"\n ",l+="\n
    \n "),l+="\n ",n.options.floatingLabels&&(l+='\n
    \n '),l+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var t in l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';l+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+" ",n.component.description&&(l+="d-"+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)),l+='"\n aria-required="'+(null==(e="input"!==n.input.ref&&n.input.ref?n.component.fields&&n.component.fields[n.input.ref]&&n.component.fields[n.input.ref].required||!1:n.component.validate.required)?"":e)+'"\n >'+(null==(e=n.input.content)?"":e)+"\n ",n.options.floatingLabels&&(l+='\n \n "),l+="\n ",n.hasValueMaskInput&&(l+='\n \n '),l+="\n"}return l+="\n",(n.component.editor||n.component.wysiwyg)&&(l+='\n
    \n'),l+="\n","datetime"===n.component.type&&(l+='\n\n'),l+="\n",n.suffix&&(l+='\n
    \n ',n.suffix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.suffix,{_userInput:!0}))?"":e)+"\n ",l+="\n
    \n"),l+="\n",(n.prefix||n.suffix||n.options.floatingLabels)&&(l+="\n
    \n"),l+="\n",(n.component.showCharCount||n.component.showWordCount)&&(l+='\n
    \n ',n.component.showCharCount&&(l+='\n \n '),l+="\n ",n.component.showWordCount&&(l+='\n \n '),l+="\n
    \n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    ',n.value?l+=null==(e=n.value)?"":e:l+="-",l+"
    \n"}},C={form:function(n){var e,l="";return Array.prototype.join,l+='\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(l+='\n , '+(null==(e=n.t("numeric only"))?"":e)+",\n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+"\n\n"}},A={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='\n '+(null==(e=n.label)?"":e)+"\n "})),l+='\n \n \n ",n.disabled||(l+='\n \n \n \n '),l+"\n\n"}},j={form:function(n){var e,l="";return Array.prototype.join,l+='\n \n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(l+='\n \n \n \n "),l+"\n \n
    \n \n
    \n"}},z={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(l+='\n
    \n \n ',n.component.collapsible&&(l+='\n \n '),l+="\n ",n.component.hideLabel&&!n.builder||(l+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),l+="\n ",n.component.tooltip&&(l+='\n \n '),l+="\n \n
    \n "),l+="\n ",n.collapsed&&!n.builder||(l+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n "),l+"\n
    \n"}},E={form:function(n){var e,l="";return Array.prototype.join,l+='\n ',["left","top"].includes(n.component.optionsLabelPosition)&&(l+='\n \n "),l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="input"\n ',n.input.attr)l+="\n "+(null==(e=a)?"":e)+'="'+(null==(e=n.input.attr[a])?"":e)+'"\n ';l+='\n value="'+(null==(e=t.value)?"":e)+'"\n ',n.value&&(n.value===t.value||"object"==typeof n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value])&&(l+="\n checked=true\n "),l+="\n ",t.disabled&&(l+="\n disabled=true\n "),l+='\n id="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"\n role="'+(null==(e="selectboxes"===n.component.type?"checkbox":"radio")?"":e)+'"\n >\n ',n.component.optionsLabelPosition&&!["right","bottom"].includes(n.component.optionsLabelPosition)||(l+='\n \n "),l+="\n
    \n "})),l+="\n\n"},html:function(n){var e,l="";return Array.prototype.join,(l+='
    \n ')+"\n "+(null==(e=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", "))?"":e)+"\n
    \n"}},_={form:function(n){var e,l="";for(var t in Array.prototype.join,l+=''+(null==(e=n.selectOptions)?"":e)+'\n\n'},html:function(n){var e,l="";return Array.prototype.join,l+='
    ',n.value?l+=null==(e=n.self.itemValueForHTMLMode(n.value))?"":e:l+="-",l+"
    \n"}},P={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="\n"},html:function(n){var e,l="";return Array.prototype.join,n.selected&&(l+=null==(e=n.t(n.option.label,{_userInput:!0}))?"":e),l+"\n"}},q={form:function(n){var e,l="";return Array.prototype.join,l+=(null==(e=n.element)?"":e)+'\n\n \n \n \n \n ',n.required&&(l+='\n \n '),l+='\n \n\n',n.component.footer&&(l+='\n \n"),l+"\n"},html:function(n){return'\n'}},R={form:function(n){var e,l="";return Array.prototype.join,l+='\n \n \n \n ',n.component.values.forEach((function(t){l+='\n \n "})),l+="\n \n \n \n ",n.component.questions.forEach((function(t){l+="\n \n \n ",n.component.values.forEach((function(o){l+='\n \n '})),l+="\n \n "})),l+="\n \n
    \n '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+='\n \n '),l+="\n
    \n "+(null==(e=n.t(t.label))?"":e)+"\n ",t.tooltip&&(l+='\n \n '),l+="\n \n \n
    \n"},html:function(n){var e,l="";return Array.prototype.join,l+='\n \n ',n.component.questions.forEach((function(t){l+="\n \n \n \n \n "})),l+="\n \n
    "+(null==(e=n.t(t.label))?"":e)+"\n ",n.component.values.forEach((function(o){l+="\n ",n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value]===o.value&&(l+="\n "+(null==(e=n.t(o.label))?"":e)+"\n "),l+="\n "})),l+="\n
    \n"}},L={flat:function(n){var e,l="";return Array.prototype.join,n.component.components.forEach((function(t,o){l+='\n
    \n
    \n

    '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+'

    \n
    \n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
    \n \n"})),l+="\n"},form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n \n
    \n ",n.component.components.forEach((function(t,o){l+='\n \n '+(null==(e=n.tabComponents[o])?"":e)+"\n
    \n "})),l+="\n\n"}},K={form:function(n){var e,l="";return Array.prototype.join,l+='\n \n ",n.component.header&&n.component.header.length>0&&(l+="\n \n \n ",n.component.header.forEach((function(t){l+="\n \n "})),l+="\n \n \n "),l+="\n \n ",n.tableComponents.forEach((function(t,o){l+='\n \n ',t.forEach((function(t,a){l+='\n \n "})),l+="\n \n
    '+(null==(e=n.t(n.component.label))?"":e)+"
    "+(null==(e=n.t(t))?"":e)+"
    \n "})),l+="\n
    \n"}},N={form:function(n){var e,l="";return Array.prototype.join,n.node.isRoot?l+='\n
    \n':l+='\n
  • \n',l+="\n ",n.content&&(l+='\n
    \n '+(null==(e=n.content)?"":e)+"\n
    \n "),l+="\n ",n.childNodes&&n.childNodes.length&&(l+='\n
      \n '+(null==(e=n.childNodes.join(""))?"":e)+"\n
    \n "),l+="\n",n.node.isRoot?l+="\n
  • \n":l+="\n \n",l+"\n"}},T={treeView:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.values.forEach((function(n){l+='\n
    \n '+(null==(e=n)?"":e)+"\n
    \n "})),l+='\n
    \n
    \n ',n.node.hasChildren&&(l+='\n \n "),l+="\n ",n.readOnly||(l+='\n \n \n \n ",n.node.revertAvailable&&(l+='\n \n "),l+="\n "),l+="\n
    \n
    \n
    \n"}},treeEdit:{form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    '+(null==(e=n.children)?"":e)+"
    \n ",n.readOnly||(l+='\n
    \n \n \n
    \n "),l+"\n
    \n"}}},S={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n ',"wizardHeaderVertical"===n.wizardHeaderType?(l+='\n
    \n ',"right"!==n.wizardHeaderLocation&&(l+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),l+='\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n ","right"===n.wizardHeaderLocation&&(l+='\n
    \n '+(null==(e=n.wizardHeader)?"":e)+"\n
    \n "),l+='\n
    \n
    \n '+(null==(e=n.wizardNav)?"":e)+"\n
    \n "):l+="\n "+(null==(e=n.wizardHeader)?"":e)+'\n
    \n '+(null==(e=n.components)?"":e)+"\n
    \n "+(null==(e=n.wizardNav)?"":e)+"\n ",l+"\n
    \n
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},B={form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},M={form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},O={form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},H={form:function(n){var e,l="";return Array.prototype.join,l+='
      \n ',n.buttonOrder.forEach((function(t){l+="\n ","cancel"===t&&n.buttons.cancel&&(l+='\n
    • \n \n
    • \n "),l+="\n ","previous"===t&&n.buttons.previous&&(l+='\n
    • \n \n
    • \n "),l+="\n ","next"===t&&n.buttons.next&&(l+='\n
    • \n \n
    • \n "),l+="\n ","submit"===t&&n.buttons.submit&&(l+="\n
    • \n ",n.disableWizardSubmit?l+='\n \n ":l+='\n \n ",l+="\n
    • \n "),l+="\n "})),l+="\n
    \n"}},F={form:function(n){var e,l="";return Array.prototype.join,l+="

    "+(null==(e=n.t("error"))?"":e)+"\n ",n.options.vpat&&(l+='\n \n '),l+="\n

    \n
      \n ",n.errors.forEach((function(n){l+='\n
    • \n \n '+(null==(e=n.message)?"":e)+"\n \n
    • \n "})),l+="\n
    \n"}},D={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="'+(null==(e=n.t("errorListHotkey"))?"":e)+"\n "),l+"\n\n"}},V={framework:"bootstrap5",templates:{bootstrap5:{transform(n,e,l){if(!e)return e;if("class"===n){let n="";return"form-group"===e&&(n="mb-2 ",l&&l.component.block&&(n+="d-grid ")),`${n}${this.cssClasses.hasOwnProperty(e.toString())?this.cssClasses[e.toString()]:e}`}return e},defaultIconset:"bi",iconClass:(n,e,l)=>{let t=e;switch(e){case"cog":t="gear";break;case"copy":t="back";break;case"bars":t="list";break;case"remove":t="trash";break;case"font":t="type";break;case"hashtag":t="hash";break;case"th-list":t="menu-button-wide";break;case"dot-circle-o":t="ui-radios";break;case"plus-square-o":t="plus-square";break;case"minus-square-o":t="dash-square";break;case"plus-square":t="ui-checks";break;case"phone-square":t="phone";break;case"home":t="house";break;case"clock-o":case"time":t="clock";break;case"usd":t="currency-dollar";break;case"html5":t="file-richtext";break;case"pencil-square-o":t="pencil-square";break;case"columns":t="layout-three-columns";break;case"list-alt":t="window";break;case"th-large":t="grid-fill";break;case"folder-o":t="folder";break;case"square-o":t="square";break;case"user-secret":t="person-fill-slash";break;case"folder-open":case"folder-open":t="folder2-open";break;case"th":t="grid-3x3-gap-fill";break;case"tasks":t="view-stacked";break;case"indent":t="text-indent-left";break;case"refresh":t="arrow-repeat";break;case"files-o":t="files";break;case"wpforms":t="window-stack";break;case"cube":t="box";break;case"cubes":t="boxes";break;case"check-square-o":t="check-square";break;case"plus":t="plus-lg";break;case"question-sign":t="question-circle";break;case"remove-circle":t="x-circle";break;case"new-window":t="window-plus";break;case"move":t="arrows-move";break;case"edit":t="pencil";break;case"video":t="camera-video";break;case"microphone":t="mic"}return l?"spinner-border spinner-border-sm":`fa fa-${e} bi bi-${t}`},cssClasses:{"border-default":"","formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active","formio-form-error":"formio-error-wrapper has-message","formio-form-alert":"alert alert-danger","formio-label-error":"","formio-input-error":"","formio-alert-danger":"alert alert-danger","formio-alert-success":"alert alert-success","formio-alert-warning":"alert alert-warning","formio-modal-cancel-button":"btn btn-danger formio-dialog-button","formio-modal-confirm-button":"btn btn-primary formio-dialog-button","form-group":"formio-form-group"},address:l,builder:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n"}},builderComponent:t,builderComponents:{form:function(n){var e;return""+'
    \n '+(null==(e=n.html)?"":e)+"\n
    \n"}},builderEditForm:o,builderPlaceholder:{form:function(n){var e;return""+'\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n\n"}},builderSidebar:a,builderSidebarGroup:r,builderWizard:i,button:s,checkbox:u,columns:d,component:c,componentModal:p,components:{form:function(n){var e;return""+((null==(e=n.children.join(""))?"":e)+"\n")}},tableComponents:b,container:{form:function(n){var e;return""+'
    \n '+(null==(e=n.children)?"":e)+"\n
    \n"}},datagrid:m,day:f,dialog:{form:function(n){return'
    \n
    \n \n
    \n'}},editgrid:v,editgridTable:y,field:g,fieldset:h,file:w,html:x,icon:{form:function(n){var e;return""+''+(null==(e=n.content)?"":e)+"\n"}},input:k,label:C,loader:{form:function(n){return'
    \n
    \n
    \n
    \n
    \n'}},loading:{form:function(n){return"Loading...\n"}},map:{form:function(n){var e;return""+'
    \n'}},message:{form:function(n){var e;return""+'
    '+(null==(e=n.message)?"":e)+"
    \n"}},modaledit:{form:function(n){var e;return""+'
    \n \n \n \n
    '+(null==(e=n.content)?"":e)+"
    \n
    \n"}},modaldialog:{form:function(n){var e;return""+'
    \n
    \n
    \n \n '+(null==(e=n.t("Close"))?"":e)+'\n \n
    \n
    \n
    \n'}},modalPreview:{form:function(n){var e;return""+'
    \n\n\n '+(null==(e=n.previewText)?"":e)+'\n\n
    \n '+(null==(e=n.messages)?"":e)+"\n
    \n"}},multipleMasksInput:A,multiValueRow:I,multiValueTable:j,panel:z,pdf:{form:function(n){var e;return""+'
    \n\t\n\t\t\n\t\n\t\n\t\t\n\t\n
    \n '+(null==(e=n.submitButton)?"":e)+"\n
    \n"}},pdfBuilder:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.sidebar)?"":e)+'\n
    \n
    \n\t
    \n '+(null==(e=n.form)?"":e)+"\n
    \n
    \n"}},pdfBuilderUpload:{form:function(n){var e;return""+'
    \n

    '+(null==(e=n.t("Upload a PDF File"))?"":e)+'

    \n \n
    \n \n '+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
    \n
    \n\n
    \n
    \n\n'}},radio:E,resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
    \n '+(null==(e=n.element)?"":e)+'\n
    \n \n
    \n"}},select:_,selectOption:P,signature:q,survey:R,tab:L,table:K,tree:N,...T,webform:{form:function(n){var e;return""+'
    '+(null==(e=n.children)?"":e)+"
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},well:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n
    \n"}},wizard:S,wizardHeader:B,wizardHeaderClassic:M,wizardHeaderVertical:O,wizardNav:H,errorsList:F,alert:D}}};return e.default})())); \ No newline at end of file diff --git a/lib/cjs/bootstrap3.d.ts b/lib/cjs/bootstrap3.d.ts index 2069dc64..d6c2958a 100644 --- a/lib/cjs/bootstrap3.d.ts +++ b/lib/cjs/bootstrap3.d.ts @@ -132,6 +132,21 @@ declare const _default: { alert: { form: string; }; + grid: { + html: string; + }; + pagination: { + html: string; + }; + columnMenu: { + html: string; + }; + tbody: { + html: string; + }; + paginationBottom: { + html: string; + }; }; }; }; diff --git a/lib/cjs/bootstrap4.d.ts b/lib/cjs/bootstrap4.d.ts index fc20944c..8f06e751 100644 --- a/lib/cjs/bootstrap4.d.ts +++ b/lib/cjs/bootstrap4.d.ts @@ -31,6 +31,21 @@ declare const _default: { alert: { form: string; }; + grid: { + html: string; + }; + pagination: { + html: string; + }; + columnMenu: { + html: string; + }; + tbody: { + html: string; + }; + paginationBottom: { + html: string; + }; treeView: { form: string; }; diff --git a/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js b/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js index f3ab4ca6..d0b9a69e 100644 --- a/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js @@ -6,7 +6,9 @@ var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n \n
    \n \n
    \n '; ctx.groups.forEach(function(group) { ; diff --git a/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js b/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js new file mode 100644 index 00000000..4cf52306 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js @@ -0,0 +1,41 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '
    \r\n \r\n
    \r\n'; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/column-menu/index.d.ts b/lib/cjs/templates/bootstrap3/column-menu/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap3/column-menu/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap3/column-menu/index.js b/lib/cjs/templates/bootstrap3/column-menu/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/column-menu/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/grid/html.ejs.js b/lib/cjs/templates/bootstrap3/grid/html.ejs.js new file mode 100644 index 00000000..ff487bd7 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/grid/html.ejs.js @@ -0,0 +1,77 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '
    \n
    \n \n \n \n
    \n '; + if (ctx.component.enableRowSelect) { ; +__p += '\n
    \n '; + if (ctx.selectedRows) { ; +__p += '\n ' + +((__t = (ctx.selectedRows)) == null ? '' : __t) + +' selected\n '; + } ; +__p += '\n
    \n '; + } ; +__p += '\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n '; + if (!ctx.component.components.length) { ; +__p += '\n \n '; + } ; +__p += '\n '; + if (ctx.component.enableRowSelect) { ; +__p += '\n \n '; + } ; +__p += '\n '; + ctx.component.components.forEach(function(comp, i) { ; +__p += '\n '; + if (comp.show) { ; +__p += '\n \n '; + } ; +__p += '\n '; + }); ; +__p += '\n '; + if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) + && ctx.data.length + && !ctx.options.pdf) { ; +__p += '\n \n '; + } ; +__p += '\n \n \n \n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.\n \n (' + +((__t = (ctx.selectedRows)) == null ? '' : __t) + +' of )\n \n ' + +((__t = ( comp.label || comp.key )) == null ? '' : __t) + +'\n '; + if (ctx.options.sortable && comp.sortable) { ; +__p += '\n \n ' + +((__t = ( ctx.component.sort.isAsc ? '↑' : '↓' )) == null ? '' : __t) + +'\n \n '; + } ; +__p += '\n '; + if (!ctx.options.hideMenu) { ; +__p += '\n \n \n \n '; + } ; +__p += '\n \n
    \n Actions\n '; + if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; +__p += '\n \n '; + } ; +__p += '\n
    \n
    \n
    \n
    \n
    \n '; + if (ctx.component.showAddBtn && !ctx.options.pdf) { ; +__p += '\n
    +
    \n '; + } ; +__p += '\n
    \n
    \n
    \n'; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/grid/index.d.ts b/lib/cjs/templates/bootstrap3/grid/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap3/grid/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap3/grid/index.js b/lib/cjs/templates/bootstrap3/grid/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/grid/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/index.d.ts b/lib/cjs/templates/bootstrap3/index.d.ts index ffcbc3f2..4ef2712c 100644 --- a/lib/cjs/templates/bootstrap3/index.d.ts +++ b/lib/cjs/templates/bootstrap3/index.d.ts @@ -129,5 +129,20 @@ declare const _default: { alert: { form: string; }; + grid: { + html: string; + }; + pagination: { + html: string; + }; + columnMenu: { + html: string; + }; + tbody: { + html: string; + }; + paginationBottom: { + html: string; + }; }; export default _default; diff --git a/lib/cjs/templates/bootstrap3/index.js b/lib/cjs/templates/bootstrap3/index.js index e8ba5d07..c8cd21e6 100644 --- a/lib/cjs/templates/bootstrap3/index.js +++ b/lib/cjs/templates/bootstrap3/index.js @@ -39,6 +39,11 @@ const wizardHeaderVertical_1 = require("./wizardHeaderVertical"); const wizardNav_1 = require("./wizardNav"); const alert_1 = require("./alert"); const errorsList_1 = require("./errorsList"); +const grid_1 = require("./grid"); +const pagination_1 = require("./pagination"); +const column_menu_1 = require("./column-menu"); +const tbody_1 = require("./tbody"); +const pagination_bottom_1 = require("./pagination-bottom"); exports.default = { transform(type, text) { if (!text) { @@ -113,5 +118,10 @@ exports.default = { wizardHeaderVertical: wizardHeaderVertical_1.default, wizardNav: wizardNav_1.default, errorsList: errorsList_1.default, - alert: alert_1.default + alert: alert_1.default, + grid: grid_1.default, + pagination: pagination_1.default, + columnMenu: column_menu_1.default, + tbody: tbody_1.default, + paginationBottom: pagination_bottom_1.default }; diff --git a/lib/cjs/templates/bootstrap3/pagination-bottom/html.ejs.js b/lib/cjs/templates/bootstrap3/pagination-bottom/html.ejs.js new file mode 100644 index 00000000..13bdd362 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/pagination-bottom/html.ejs.js @@ -0,0 +1,8 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = ''; +__p += '
    \n \n
    '; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/pagination-bottom/index.d.ts b/lib/cjs/templates/bootstrap3/pagination-bottom/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap3/pagination-bottom/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap3/pagination-bottom/index.js b/lib/cjs/templates/bootstrap3/pagination-bottom/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/pagination-bottom/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/pagination/html.ejs.js b/lib/cjs/templates/bootstrap3/pagination/html.ejs.js new file mode 100644 index 00000000..6b01cbd1 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/pagination/html.ejs.js @@ -0,0 +1,12 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = ''; +__p += '\n'; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/pagination/index.d.ts b/lib/cjs/templates/bootstrap3/pagination/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap3/pagination/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap3/pagination/index.js b/lib/cjs/templates/bootstrap3/pagination/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/pagination/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/tbody/html.ejs.js b/lib/cjs/templates/bootstrap3/tbody/html.ejs.js new file mode 100644 index 00000000..f5eaf497 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/tbody/html.ejs.js @@ -0,0 +1,45 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '\n\n '; + ctx.eachRow(function(row) { ; +__p += '\n \n '; + if (ctx.component.enableRowSelect) { ; +__p += '\n \n '; + } ; +__p += '\n '; + row.forEach(function(rowComp) { ; +__p += '\n '; + if (rowComp.component.show) { ; +__p += '\n \n '; + } ; +__p += '\n '; + }); ; +__p += '\n '; + if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; +__p += '\n \n '; + } ; +__p += '\n \n '; + }); ; +__p += '\n\n
    \n \n \n ' + +((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) )) == null ? '' : __t) + +'\n \n
    \n \n â‹®\n
    \n
    '; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/tbody/index.d.ts b/lib/cjs/templates/bootstrap3/tbody/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap3/tbody/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap3/tbody/index.js b/lib/cjs/templates/bootstrap3/tbody/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap3/tbody/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js b/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js index 3ad87e99..5d69e3dc 100644 --- a/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js @@ -8,17 +8,25 @@ __p += '
    \n '; if (!ctx.disableBuilderActions) { ; __p += '\n
    \n \n \n
    \n \n \n
    \n '; + if (!ctx.design) { ; +__p += '\n \n \n
    \n \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n '; + } ; +__p += '\n \n \n \n \n \n \n '; + if (!(ctx.design && ctx.childComponent.type === 'reviewpage')) { ; +__p += '\n \n \n \n \n '; +'">\n \n '; + } ; +__p += '\n \n '; } ; __p += '\n ' + ((__t = (ctx.html)) == null ? '' : __t) + diff --git a/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js b/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js index afa0b072..72585e86 100644 --- a/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js @@ -6,7 +6,7 @@ var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n
    \n
    \n \n <' + +' form-check-label"\n for="' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n id="l-' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n >\n <' + ((__t = (ctx.input.type)) == null ? '' : __t) + -'\n ref="input"\n '; +'\n ref="input"\n id="' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n aria-labelledby="l-' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n '; for (var attr in ctx.input.attr) { ; __p += '\n ' + ((__t = (attr)) == null ? '' : __t) + diff --git a/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js b/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js new file mode 100644 index 00000000..0983f362 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js @@ -0,0 +1,41 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '\r\n'; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/column-menu/index.d.ts b/lib/cjs/templates/bootstrap4/column-menu/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap4/column-menu/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap4/column-menu/index.js b/lib/cjs/templates/bootstrap4/column-menu/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/column-menu/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/grid/html.ejs.js b/lib/cjs/templates/bootstrap4/grid/html.ejs.js new file mode 100644 index 00000000..95c389a0 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/grid/html.ejs.js @@ -0,0 +1,69 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n '; + if (ctx.component.enableRowSelect) { ; +__p += '\r\n
    \r\n ' + +((__t = (ctx.selectedRows)) == null ? '' : __t) + +' selected\r\n
    \r\n '; + } ; +__p += '\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n '; + if (!ctx.component.components.length) { ; +__p += '\r\n \r\n '; + } ; +__p += '\r\n '; + if (ctx.component.enableRowSelect) { ; +__p += '\r\n \r\n '; + } ; +__p += '\r\n '; + ctx.component.components.forEach(function(comp, i) { ; +__p += '\r\n '; + if (comp.show) { ; +__p += '\r\n \r\n '; + } ; +__p += '\r\n '; + }); ; +__p += '\r\n '; + if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) + && ctx.data.length + && !ctx.options.pdf) { ; +__p += '\r\n \r\n '; + } ; +__p += '\r\n \r\n \r\n \r\n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.\r\n \r\n \r\n ' + +((__t = ( comp.label || comp.key )) == null ? '' : __t) + +'\r\n '; + if (ctx.options.sortable && comp.sortable) { ; +__p += '\r\n \r\n ' + +((__t = ( ctx.component.sort.isAsc ? '↑' : '↓' )) == null ? '' : __t) + +'\r\n \r\n '; + } ; +__p += '\r\n '; + if (!ctx.options.hideMenu) { ; +__p += '\r\n \r\n \r\n \r\n '; + } ; +__p += '\r\n \r\n
    \r\n Actions\r\n '; + if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; +__p += '\r\n \r\n '; + } ; +__p += '\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n '; + if (ctx.component.showAddBtn && !ctx.options.pdf) { ; +__p += '\r\n
    +
    \r\n '; + } ; +__p += '\r\n
    \r\n
    \r\n
    '; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/grid/index.d.ts b/lib/cjs/templates/bootstrap4/grid/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap4/grid/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap4/grid/index.js b/lib/cjs/templates/bootstrap4/grid/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/grid/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/index.d.ts b/lib/cjs/templates/bootstrap4/index.d.ts index cd691cb9..f31000a1 100644 --- a/lib/cjs/templates/bootstrap4/index.d.ts +++ b/lib/cjs/templates/bootstrap4/index.d.ts @@ -28,6 +28,21 @@ declare const _default: { alert: { form: string; }; + grid: { + html: string; + }; + pagination: { + html: string; + }; + columnMenu: { + html: string; + }; + tbody: { + html: string; + }; + paginationBottom: { + html: string; + }; treeView: { form: string; }; diff --git a/lib/cjs/templates/bootstrap4/index.js b/lib/cjs/templates/bootstrap4/index.js index 18b06176..ea18d300 100644 --- a/lib/cjs/templates/bootstrap4/index.js +++ b/lib/cjs/templates/bootstrap4/index.js @@ -64,6 +64,11 @@ const wizardNav_1 = require("./wizardNav"); const cssClasses_1 = require("./cssClasses"); const errorsList_1 = require("./errorsList"); const alert_1 = require("./alert"); +const grid_1 = require("./grid"); +const pagination_1 = require("./pagination"); +const column_menu_1 = require("./column-menu"); +const tbody_1 = require("./tbody"); +const pagination_bottom_1 = require("./pagination-bottom"); exports.default = Object.assign(Object.assign({ transform(type, text) { if (!text) { return text; @@ -134,4 +139,9 @@ exports.default = Object.assign(Object.assign({ transform(type, text) { wizardHeaderVertical: wizardHeaderVertical_1.default, wizardNav: wizardNav_1.default, errorsList: errorsList_1.default, - alert: alert_1.default }); + alert: alert_1.default, + grid: grid_1.default, + pagination: pagination_1.default, + columnMenu: column_menu_1.default, + tbody: tbody_1.default, + paginationBottom: pagination_bottom_1.default }); diff --git a/lib/cjs/templates/bootstrap4/pagination-bottom/html.ejs.js b/lib/cjs/templates/bootstrap4/pagination-bottom/html.ejs.js new file mode 100644 index 00000000..13bdd362 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/pagination-bottom/html.ejs.js @@ -0,0 +1,8 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = ''; +__p += '
    \n \n
    '; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/pagination-bottom/index.d.ts b/lib/cjs/templates/bootstrap4/pagination-bottom/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap4/pagination-bottom/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap4/pagination-bottom/index.js b/lib/cjs/templates/bootstrap4/pagination-bottom/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/pagination-bottom/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/pagination/html.ejs.js b/lib/cjs/templates/bootstrap4/pagination/html.ejs.js new file mode 100644 index 00000000..6d200309 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/pagination/html.ejs.js @@ -0,0 +1,12 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = ''; +__p += ''; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/pagination/index.d.ts b/lib/cjs/templates/bootstrap4/pagination/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap4/pagination/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap4/pagination/index.js b/lib/cjs/templates/bootstrap4/pagination/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/pagination/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/tbody/html.ejs.js b/lib/cjs/templates/bootstrap4/tbody/html.ejs.js new file mode 100644 index 00000000..d2a1f75c --- /dev/null +++ b/lib/cjs/templates/bootstrap4/tbody/html.ejs.js @@ -0,0 +1,45 @@ +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default=function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '\n\n '; + ctx.eachRow(function(row) { ; +__p += '\n \n '; + if (ctx.component.enableRowSelect) { ; +__p += '\n \n '; + } ; +__p += '\n '; + row.forEach(function(rowComp) { ; +__p += '\n '; + if (rowComp.component.show) { ; +__p += '\n \n '; + } ; +__p += '\n '; + }); ; +__p += '\n '; + if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; +__p += '\n \n '; + } ; +__p += '\n \n '; + }); ; +__p += '\n\n
    \n \n \n ' + +((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) )) == null ? '' : __t) + +'\n \n
    \n \n â‹®\n
    \n
    '; +return __p +} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/tbody/index.d.ts b/lib/cjs/templates/bootstrap4/tbody/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/cjs/templates/bootstrap4/tbody/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/cjs/templates/bootstrap4/tbody/index.js b/lib/cjs/templates/bootstrap4/tbody/index.js new file mode 100644 index 00000000..9b41e1e8 --- /dev/null +++ b/lib/cjs/templates/bootstrap4/tbody/index.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const html_ejs_1 = require("./html.ejs"); +exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap5/builderComponent/form.ejs.js b/lib/cjs/templates/bootstrap5/builderComponent/form.ejs.js index 3ad87e99..5d69e3dc 100644 --- a/lib/cjs/templates/bootstrap5/builderComponent/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/builderComponent/form.ejs.js @@ -8,17 +8,25 @@ __p += '
    \n '; if (!ctx.disableBuilderActions) { ; __p += '\n
    \n \n \n
    \n \n \n
    \n '; + if (!ctx.design) { ; +__p += '\n \n \n
    \n \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n '; + } ; +__p += '\n \n \n \n \n \n \n '; + if (!(ctx.design && ctx.childComponent.type === 'reviewpage')) { ; +__p += '\n \n \n \n \n '; +'">\n \n '; + } ; +__p += '\n \n '; } ; __p += '\n ' + ((__t = (ctx.html)) == null ? '' : __t) + diff --git a/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js b/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js index 2e3810dc..e13f0a6f 100644 --- a/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js @@ -8,7 +8,9 @@ __p += '
    \n \n
    \n '; +'" ref="sidebar" role="tablist">\n \n
    \n '; ctx.groups.forEach(function(group) { ; __p += '\n ' + ((__t = ( group )) == null ? '' : __t) + diff --git a/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js b/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js index ff746072..19a08bcc 100644 --- a/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js @@ -6,7 +6,7 @@ var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n
    \n
    \n \n <' + ((__t = (ctx.input.type)) == null ? '' : __t) + -'\n ref="input"\n '; +'\n ref="input"\n id="' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n aria-labelledby="l-' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n '; for (var attr in ctx.input.attr) { ; __p += '\n ' + ((__t = (attr)) == null ? '' : __t) + @@ -30,11 +38,19 @@ __p += '\n aria-describedby="d-' + } ; __p += '\n >\n '; if (!ctx.self.labelIsHidden()) { ; -__p += '\n \n '; +'\n \n '; } ; __p += '\n '; if (ctx.component.tooltip) { ; diff --git a/lib/mjs/bootstrap3.d.ts b/lib/mjs/bootstrap3.d.ts index 2069dc64..d6c2958a 100644 --- a/lib/mjs/bootstrap3.d.ts +++ b/lib/mjs/bootstrap3.d.ts @@ -132,6 +132,21 @@ declare const _default: { alert: { form: string; }; + grid: { + html: string; + }; + pagination: { + html: string; + }; + columnMenu: { + html: string; + }; + tbody: { + html: string; + }; + paginationBottom: { + html: string; + }; }; }; }; diff --git a/lib/mjs/bootstrap4.d.ts b/lib/mjs/bootstrap4.d.ts index fc20944c..8f06e751 100644 --- a/lib/mjs/bootstrap4.d.ts +++ b/lib/mjs/bootstrap4.d.ts @@ -31,6 +31,21 @@ declare const _default: { alert: { form: string; }; + grid: { + html: string; + }; + pagination: { + html: string; + }; + columnMenu: { + html: string; + }; + tbody: { + html: string; + }; + paginationBottom: { + html: string; + }; treeView: { form: string; }; diff --git a/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js b/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js index c63ec272..560cbc95 100644 --- a/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js @@ -3,7 +3,9 @@ var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n \n
    \n \n
    \n '; ctx.groups.forEach(function(group) { ; diff --git a/lib/mjs/templates/bootstrap3/column-menu/html.ejs.js b/lib/mjs/templates/bootstrap3/column-menu/html.ejs.js new file mode 100644 index 00000000..9ca99233 --- /dev/null +++ b/lib/mjs/templates/bootstrap3/column-menu/html.ejs.js @@ -0,0 +1,38 @@ +export default function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '
    \r\n \r\n
    \r\n'; +return __p +} \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/column-menu/index.d.ts b/lib/mjs/templates/bootstrap3/column-menu/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/mjs/templates/bootstrap3/column-menu/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/mjs/templates/bootstrap3/column-menu/index.js b/lib/mjs/templates/bootstrap3/column-menu/index.js new file mode 100644 index 00000000..725e812f --- /dev/null +++ b/lib/mjs/templates/bootstrap3/column-menu/index.js @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; diff --git a/lib/mjs/templates/bootstrap3/grid/html.ejs.js b/lib/mjs/templates/bootstrap3/grid/html.ejs.js new file mode 100644 index 00000000..1810fa6a --- /dev/null +++ b/lib/mjs/templates/bootstrap3/grid/html.ejs.js @@ -0,0 +1,74 @@ +export default function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '
    \n
    \n \n \n \n
    \n '; + if (ctx.component.enableRowSelect) { ; +__p += '\n
    \n '; + if (ctx.selectedRows) { ; +__p += '\n ' + +((__t = (ctx.selectedRows)) == null ? '' : __t) + +' selected\n '; + } ; +__p += '\n
    \n '; + } ; +__p += '\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n '; + if (!ctx.component.components.length) { ; +__p += '\n \n '; + } ; +__p += '\n '; + if (ctx.component.enableRowSelect) { ; +__p += '\n \n '; + } ; +__p += '\n '; + ctx.component.components.forEach(function(comp, i) { ; +__p += '\n '; + if (comp.show) { ; +__p += '\n \n '; + } ; +__p += '\n '; + }); ; +__p += '\n '; + if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) + && ctx.data.length + && !ctx.options.pdf) { ; +__p += '\n \n '; + } ; +__p += '\n \n \n \n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.\n \n (' + +((__t = (ctx.selectedRows)) == null ? '' : __t) + +' of )\n \n ' + +((__t = ( comp.label || comp.key )) == null ? '' : __t) + +'\n '; + if (ctx.options.sortable && comp.sortable) { ; +__p += '\n \n ' + +((__t = ( ctx.component.sort.isAsc ? '↑' : '↓' )) == null ? '' : __t) + +'\n \n '; + } ; +__p += '\n '; + if (!ctx.options.hideMenu) { ; +__p += '\n \n \n \n '; + } ; +__p += '\n \n
    \n Actions\n '; + if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; +__p += '\n \n '; + } ; +__p += '\n
    \n
    \n
    \n
    \n
    \n '; + if (ctx.component.showAddBtn && !ctx.options.pdf) { ; +__p += '\n
    +
    \n '; + } ; +__p += '\n
    \n
    \n
    \n'; +return __p +} \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/grid/index.d.ts b/lib/mjs/templates/bootstrap3/grid/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/mjs/templates/bootstrap3/grid/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/mjs/templates/bootstrap3/grid/index.js b/lib/mjs/templates/bootstrap3/grid/index.js new file mode 100644 index 00000000..725e812f --- /dev/null +++ b/lib/mjs/templates/bootstrap3/grid/index.js @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; diff --git a/lib/mjs/templates/bootstrap3/index.d.ts b/lib/mjs/templates/bootstrap3/index.d.ts index ffcbc3f2..4ef2712c 100644 --- a/lib/mjs/templates/bootstrap3/index.d.ts +++ b/lib/mjs/templates/bootstrap3/index.d.ts @@ -129,5 +129,20 @@ declare const _default: { alert: { form: string; }; + grid: { + html: string; + }; + pagination: { + html: string; + }; + columnMenu: { + html: string; + }; + tbody: { + html: string; + }; + paginationBottom: { + html: string; + }; }; export default _default; diff --git a/lib/mjs/templates/bootstrap3/index.js b/lib/mjs/templates/bootstrap3/index.js index 2186488d..b2e4b2c2 100644 --- a/lib/mjs/templates/bootstrap3/index.js +++ b/lib/mjs/templates/bootstrap3/index.js @@ -37,6 +37,11 @@ import wizardHeaderVertical from './wizardHeaderVertical'; import wizardNav from './wizardNav'; import alert from './alert'; import errorsList from './errorsList'; +import grid from './grid'; +import pagination from './pagination'; +import columnMenu from './column-menu'; +import tbody from './tbody'; +import paginationBottom from './pagination-bottom'; export default { transform(type, text) { if (!text) { @@ -111,5 +116,10 @@ export default { wizardHeaderVertical, wizardNav, errorsList, - alert + alert, + grid, + pagination, + columnMenu, + tbody, + paginationBottom }; diff --git a/lib/mjs/templates/bootstrap3/pagination-bottom/html.ejs.js b/lib/mjs/templates/bootstrap3/pagination-bottom/html.ejs.js new file mode 100644 index 00000000..0ad12190 --- /dev/null +++ b/lib/mjs/templates/bootstrap3/pagination-bottom/html.ejs.js @@ -0,0 +1,5 @@ +export default function(ctx) { +var __t, __p = ''; +__p += '
    \n \n
    '; +return __p +} \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/pagination-bottom/index.d.ts b/lib/mjs/templates/bootstrap3/pagination-bottom/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/mjs/templates/bootstrap3/pagination-bottom/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/mjs/templates/bootstrap3/pagination-bottom/index.js b/lib/mjs/templates/bootstrap3/pagination-bottom/index.js new file mode 100644 index 00000000..725e812f --- /dev/null +++ b/lib/mjs/templates/bootstrap3/pagination-bottom/index.js @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; diff --git a/lib/mjs/templates/bootstrap3/pagination/html.ejs.js b/lib/mjs/templates/bootstrap3/pagination/html.ejs.js new file mode 100644 index 00000000..435611c1 --- /dev/null +++ b/lib/mjs/templates/bootstrap3/pagination/html.ejs.js @@ -0,0 +1,9 @@ +export default function(ctx) { +var __t, __p = ''; +__p += '\n'; +return __p +} \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/pagination/index.d.ts b/lib/mjs/templates/bootstrap3/pagination/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/mjs/templates/bootstrap3/pagination/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/mjs/templates/bootstrap3/pagination/index.js b/lib/mjs/templates/bootstrap3/pagination/index.js new file mode 100644 index 00000000..725e812f --- /dev/null +++ b/lib/mjs/templates/bootstrap3/pagination/index.js @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; diff --git a/lib/mjs/templates/bootstrap3/tbody/html.ejs.js b/lib/mjs/templates/bootstrap3/tbody/html.ejs.js new file mode 100644 index 00000000..f52e71ee --- /dev/null +++ b/lib/mjs/templates/bootstrap3/tbody/html.ejs.js @@ -0,0 +1,42 @@ +export default function(ctx) { +var __t, __p = '', __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +__p += '\n\n '; + ctx.eachRow(function(row) { ; +__p += '\n \n '; + if (ctx.component.enableRowSelect) { ; +__p += '\n \n '; + } ; +__p += '\n '; + row.forEach(function(rowComp) { ; +__p += '\n '; + if (rowComp.component.show) { ; +__p += '\n \n '; + } ; +__p += '\n '; + }); ; +__p += '\n '; + if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; +__p += '\n \n '; + } ; +__p += '\n \n '; + }); ; +__p += '\n\n
    \n \n \n ' + +((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) )) == null ? '' : __t) + +'\n \n
    \n \n â‹®\n
    \n
    '; +return __p +} \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/tbody/index.d.ts b/lib/mjs/templates/bootstrap3/tbody/index.d.ts new file mode 100644 index 00000000..abb6036c --- /dev/null +++ b/lib/mjs/templates/bootstrap3/tbody/index.d.ts @@ -0,0 +1,4 @@ +declare const _default: { + html: string; +}; +export default _default; diff --git a/lib/mjs/templates/bootstrap3/tbody/index.js b/lib/mjs/templates/bootstrap3/tbody/index.js new file mode 100644 index 00000000..725e812f --- /dev/null +++ b/lib/mjs/templates/bootstrap3/tbody/index.js @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; diff --git a/lib/mjs/templates/bootstrap4/builderComponent/form.ejs.js b/lib/mjs/templates/bootstrap4/builderComponent/form.ejs.js index 27e36661..7e33e001 100644 --- a/lib/mjs/templates/bootstrap4/builderComponent/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/builderComponent/form.ejs.js @@ -5,17 +5,25 @@ __p += '
    \n '; if (!ctx.disableBuilderActions) { ; __p += '\n
    \n \n \n
    \n \n \n
    \n '; + if (!ctx.design) { ; +__p += '\n \n \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n '; + } ; +__p += '\n \n \n
    \n \n \n
    \n '; + if (!(ctx.design && ctx.childComponent.type === 'reviewpage')) { ; +__p += '\n \n \n
    \n \n '; +'">\n \n '; + } ; +__p += '\n \n '; } ; __p += '\n ' + ((__t = (ctx.html)) == null ? '' : __t) + diff --git a/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js b/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js index e389b50b..283e7057 100644 --- a/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js @@ -3,7 +3,7 @@ var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n '; + } ; +__p += '\n \n \n \n \n \n \n '; + if (!(ctx.design && ctx.childComponent.type === 'reviewpage')) { ; +__p += '\n \n \n \n \n '; +'">\n \n '; + } ; +__p += '\n \n '; } ; __p += '\n ' + ((__t = (ctx.html)) == null ? '' : __t) + diff --git a/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js b/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js index 912aabcc..c537eaa1 100644 --- a/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js @@ -5,7 +5,9 @@ __p += '
    \n \n
    \n '; +'" ref="sidebar" role="tablist">\n \n
    \n '; ctx.groups.forEach(function(group) { ; __p += '\n ' + ((__t = ( group )) == null ? '' : __t) + diff --git a/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js b/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js index 35984c6b..7784e4d6 100644 --- a/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js @@ -3,7 +3,7 @@ var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n
    \n
    \n \n <' + ((__t = (ctx.input.type)) == null ? '' : __t) + -'\n ref="input"\n '; +'\n ref="input"\n id="' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n aria-labelledby="l-' + +((__t = (ctx.instance.id)) == null ? '' : __t) + +'-' + +((__t = (ctx.component.key)) == null ? '' : __t) + +'"\n '; for (var attr in ctx.input.attr) { ; __p += '\n ' + ((__t = (attr)) == null ? '' : __t) + @@ -27,11 +35,19 @@ __p += '\n aria-describedby="d-' + } ; __p += '\n >\n '; if (!ctx.self.labelIsHidden()) { ; -__p += '\n \n '; +'\n \n '; } ; __p += '\n '; if (ctx.component.tooltip) { ; diff --git a/package.json b/package.json index 6ba9a00e..1e3fd05e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@formio/bootstrap", - "version": "3.0.0-rc.21", + "version": "3.0.0-rc.25", "description": "Bootstrap templates for Form.io forms", "main": "lib/cjs/bootstrap5.js", "module": "lib/mjs/bootstrap5.js", @@ -71,7 +71,7 @@ "@types/chai": "^4.3.11", "@types/ejs": "^3.1.5", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.8", + "@types/node": "^20.12.7", "@types/sinon": "^17.0.2", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", diff --git a/src/templates/bootstrap3/column-menu/html.ejs b/src/templates/bootstrap3/column-menu/html.ejs new file mode 100644 index 00000000..e5d95627 --- /dev/null +++ b/src/templates/bootstrap3/column-menu/html.ejs @@ -0,0 +1,56 @@ +
    + +
    diff --git a/src/templates/bootstrap3/column-menu/index.ts b/src/templates/bootstrap3/column-menu/index.ts new file mode 100644 index 00000000..44f9505b --- /dev/null +++ b/src/templates/bootstrap3/column-menu/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap3/grid/html.ejs b/src/templates/bootstrap3/grid/html.ejs new file mode 100644 index 00000000..0868e2f4 --- /dev/null +++ b/src/templates/bootstrap3/grid/html.ejs @@ -0,0 +1,75 @@ +
    +
    + + + +
    + {% if (ctx.component.enableRowSelect) { %} +
    + {% if (ctx.selectedRows) { %} + {{ctx.selectedRows}} selected + {% } %} +
    + {% } %} +
    +
    +
    +
    +
    +
    + + + + {% if (!ctx.component.components.length) { %} + + {% } %} + {% if (ctx.component.enableRowSelect) { %} + + {% } %} + {% ctx.component.components.forEach(function(comp, i) { %} + {% if (comp.show) { %} + + {% } %} + {% }); %} + {% if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) + && ctx.data.length + && !ctx.options.pdf) { %} + + {% } %} + + + +
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render. + + ({{ctx.selectedRows}} of ) + + {{ comp.label || comp.key }} + {% if (ctx.options.sortable && comp.sortable) { %} + + {{ ctx.component.sort.isAsc ? '↑' : '↓' }} + + {% } %} + {% if (!ctx.options.hideMenu) { %} + + + + {% } %} + +
    + Actions + {% if (ctx.component.showDeleteAllBtn && ctx.data.length) { %} + + {% } %} +
    +
    +
    +
    +
    + {% if (ctx.component.showAddBtn && !ctx.options.pdf) { %} +
    +
    + {% } %} +
    +
    +
    diff --git a/src/templates/bootstrap3/grid/index.ts b/src/templates/bootstrap3/grid/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap3/grid/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap3/index.ts b/src/templates/bootstrap3/index.ts index 9520340b..eb043700 100644 --- a/src/templates/bootstrap3/index.ts +++ b/src/templates/bootstrap3/index.ts @@ -37,6 +37,11 @@ import wizardHeaderVertical from './wizardHeaderVertical'; import wizardNav from './wizardNav'; import alert from './alert'; import errorsList from './errorsList'; +import grid from './grid'; +import pagination from './pagination'; +import columnMenu from './column-menu'; +import tbody from './tbody'; +import paginationBottom from './pagination-bottom'; export default { transform(type, text) { @@ -114,5 +119,10 @@ export default { wizardHeaderVertical, wizardNav, errorsList, - alert + alert, + grid, + pagination, + columnMenu, + tbody, + paginationBottom }; diff --git a/src/templates/bootstrap3/pagination-bottom/html.ejs b/src/templates/bootstrap3/pagination-bottom/html.ejs new file mode 100644 index 00000000..f8543963 --- /dev/null +++ b/src/templates/bootstrap3/pagination-bottom/html.ejs @@ -0,0 +1,16 @@ +
    + +
    \ No newline at end of file diff --git a/src/templates/bootstrap3/pagination-bottom/index.ts b/src/templates/bootstrap3/pagination-bottom/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap3/pagination-bottom/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap3/pagination/html.ejs b/src/templates/bootstrap3/pagination/html.ejs new file mode 100644 index 00000000..1d790c1d --- /dev/null +++ b/src/templates/bootstrap3/pagination/html.ejs @@ -0,0 +1,31 @@ + diff --git a/src/templates/bootstrap3/pagination/index.ts b/src/templates/bootstrap3/pagination/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap3/pagination/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap3/tbody/html.ejs b/src/templates/bootstrap3/tbody/html.ejs new file mode 100644 index 00000000..8ce9d3dd --- /dev/null +++ b/src/templates/bootstrap3/tbody/html.ejs @@ -0,0 +1,47 @@ + + + {% ctx.eachRow(function(row) { %} + + {% if (ctx.component.enableRowSelect) { %} + + {% } %} + {% row.forEach(function(rowComp) { %} + {% if (rowComp.component.show) { %} + + {% } %} + {% }); %} + {% if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { %} + + {% } %} + + {% }); %} + +
    + + + {{ ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) }} + +
    + + â‹® +
    +
    \ No newline at end of file diff --git a/src/templates/bootstrap3/tbody/index.ts b/src/templates/bootstrap3/tbody/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap3/tbody/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap4/builderSidebarGroup/form.ejs b/src/templates/bootstrap4/builderSidebarGroup/form.ejs index a369e08f..60c044b5 100644 --- a/src/templates/bootstrap4/builderSidebarGroup/form.ejs +++ b/src/templates/bootstrap4/builderSidebarGroup/form.ejs @@ -1,5 +1,5 @@
    -
    +
    + +
    + + + + {% } %} + +
    diff --git a/src/templates/bootstrap4/column-menu/index.ts b/src/templates/bootstrap4/column-menu/index.ts new file mode 100644 index 00000000..44f9505b --- /dev/null +++ b/src/templates/bootstrap4/column-menu/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap4/grid/html.ejs b/src/templates/bootstrap4/grid/html.ejs new file mode 100644 index 00000000..ce5536a8 --- /dev/null +++ b/src/templates/bootstrap4/grid/html.ejs @@ -0,0 +1,72 @@ +
    +
    + + + +
    + {% if (ctx.component.enableRowSelect) { %} +
    + {{ctx.selectedRows}} selected +
    + {% } %} +
    +
    +
    +
    +
    +
    + + + + {% if (!ctx.component.components.length) { %} + + {% } %} + {% if (ctx.component.enableRowSelect) { %} + + {% } %} + {% ctx.component.components.forEach(function(comp, i) { %} + {% if (comp.show) { %} + + {% } %} + {% }); %} + {% if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) + && ctx.data.length + && !ctx.options.pdf) { %} + + {% } %} + + + +
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render. + + + {{ comp.label || comp.key }} + {% if (ctx.options.sortable && comp.sortable) { %} + + {{ ctx.component.sort.isAsc ? '↑' : '↓' }} + + {% } %} + {% if (!ctx.options.hideMenu) { %} + + + + {% } %} + +
    + Actions + {% if (ctx.component.showDeleteAllBtn && ctx.data.length) { %} + + {% } %} +
    +
    +
    +
    +
    + {% if (ctx.component.showAddBtn && !ctx.options.pdf) { %} +
    +
    + {% } %} +
    +
    +
    \ No newline at end of file diff --git a/src/templates/bootstrap4/grid/index.ts b/src/templates/bootstrap4/grid/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap4/grid/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap4/index.ts b/src/templates/bootstrap4/index.ts index a1d928f2..184b1d01 100644 --- a/src/templates/bootstrap4/index.ts +++ b/src/templates/bootstrap4/index.ts @@ -62,6 +62,11 @@ import wizardNav from './wizardNav'; import cssClasses from './cssClasses'; import errorsList from './errorsList'; import alert from './alert'; +import grid from './grid'; +import pagination from './pagination'; +import columnMenu from './column-menu'; +import tbody from './tbody'; +import paginationBottom from './pagination-bottom'; export default { transform(type, text) { @@ -138,5 +143,10 @@ export default { wizardHeaderVertical, wizardNav, errorsList, - alert + alert, + grid, + pagination, + columnMenu, + tbody, + paginationBottom }; diff --git a/src/templates/bootstrap4/pagination-bottom/html.ejs b/src/templates/bootstrap4/pagination-bottom/html.ejs new file mode 100644 index 00000000..f8543963 --- /dev/null +++ b/src/templates/bootstrap4/pagination-bottom/html.ejs @@ -0,0 +1,16 @@ +
    + +
    \ No newline at end of file diff --git a/src/templates/bootstrap4/pagination-bottom/index.ts b/src/templates/bootstrap4/pagination-bottom/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap4/pagination-bottom/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap4/pagination/html.ejs b/src/templates/bootstrap4/pagination/html.ejs new file mode 100644 index 00000000..a5256b3e --- /dev/null +++ b/src/templates/bootstrap4/pagination/html.ejs @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/src/templates/bootstrap4/pagination/index.ts b/src/templates/bootstrap4/pagination/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap4/pagination/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap4/tbody/html.ejs b/src/templates/bootstrap4/tbody/html.ejs new file mode 100644 index 00000000..bdaa75d3 --- /dev/null +++ b/src/templates/bootstrap4/tbody/html.ejs @@ -0,0 +1,47 @@ + + + {% ctx.eachRow(function(row) { %} + + {% if (ctx.component.enableRowSelect) { %} + + {% } %} + {% row.forEach(function(rowComp) { %} + {% if (rowComp.component.show) { %} + + {% } %} + {% }); %} + {% if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { %} + + {% } %} + + {% }); %} + +
    + + + {{ ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) }} + +
    + + â‹® +
    +
    \ No newline at end of file diff --git a/src/templates/bootstrap4/tbody/index.ts b/src/templates/bootstrap4/tbody/index.ts new file mode 100644 index 00000000..6cc911a1 --- /dev/null +++ b/src/templates/bootstrap4/tbody/index.ts @@ -0,0 +1,2 @@ +import html from './html.ejs'; +export default { html }; \ No newline at end of file diff --git a/src/templates/bootstrap5/builderSidebarGroup/form.ejs b/src/templates/bootstrap5/builderSidebarGroup/form.ejs index 75ce5013..fe368ca0 100644 --- a/src/templates/bootstrap5/builderSidebarGroup/form.ejs +++ b/src/templates/bootstrap5/builderSidebarGroup/form.ejs @@ -1,5 +1,5 @@
    -
    +