diff --git a/.gitignore b/.gitignore index 889c19b17..8b84e2821 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,6 @@ coverage node_modules npm-debug.log *~ -.npmrc \ No newline at end of file +.npmrc +dist +lib \ No newline at end of file diff --git a/dist/bootstrap3.js b/dist/bootstrap3.js index ecf60d340..65aa3edd2 100644 --- a/dist/bootstrap3.js +++ b/dist/bootstrap3.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.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 \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.readOnly&&n.hasAddButton&&(t+='\n\n"),t+="\n"},html:function(n){var e,t="";return Array.prototype.join,t+='\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"),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"}},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 +!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:()=>F});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("noMatchesFound"))?"":e)+"
\n ",t+="\n
\n
\n\n\n"}},s={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"}},i={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"}},d={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'}},u={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("dropFilesToAttach"))?"":e)+"\n ",n.self.imageUpload&&n.component.webcam&&(t+='\n '+(null==(e=n.t("useCamera")+",")?"":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("completeStatus"))?"":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("noStorageSet"))?"":e)+"

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

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

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

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

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

"+(null==(e=n.t("noProgressSupport"))?"":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"}},f={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"}},b={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"}},g={form:function(n){var e,t="";return Array.prototype.join,t+='
\n ',(!n.label.hidden||n.builder||n.component.collapsible||n.component.tooltip)&&(t+='\n
\n

\n ',n.component.collapsible&&(t+='\n \n '),t+="\n ",n.label.hidden&&!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"}},y={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"}},A={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"}},C={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"}},z={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"}},P={form:function(n){var e,t="";for(var l in Array.prototype.join,t+=""+(null==(e=n.message)?"":e)+"\n"}},S={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"}},j={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)+" "+(null==(e=n.t("selected"))?"":e)+"\n "),t+="\n
\n "),t+='\n
\n
\n
\n
\n
\n
\n ',n.component.selectAllRows&&(t+='\n
\n '),t+='\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
"+(null==(e=n.t("noComponentsSetInGrid"))?"":e)+"\n \n ('+(null==(e=n.selectedRows)?"":e)+' of )\n \n "+(null==(e=n.t(l.label||l.key,{_userInput:!0}))?"":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 '+(null==(e=n.t("actions"))?"":e)+"\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"}},E={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
"}},T={html:function(n){var e,t="";return Array.prototype.join,t+='
\n \n ',n.allRowsSelected||(t+="\n "+(null==(e=n.t("gridAllItems"))?"":e)+" "+(null==(e=n.totalSelected)?"":e)+" "+(null==(e=n.t("recordsSelectedOnPage"))?"":e)+"\n "),t+="\n ",n.allRowsSelected&&(t+="\n "+(null==(e=n.t("gridAllItems"))?"":e)+" "+(null==(e=n.totalItems)?"":e)+" "+(null==(e=n.t("recordsSelectedInTable"))?"":e)+"\n "),t+='\n \n \n
\n
\n \n \n ',n.allRowsSelected||(t+="\n "+(null==(e=n.t("gridSelectAll"))?"":e)+" "+(null==(e=n.totalItems)?"":e)+" "+(null==(e=n.t("itemsInTable"))?"":e)+"\n "),t+="\n ",n.allRowsSelected&&(t+="\n "+(null==(e=n.t("clearSelection"))?"":e)+"\n "),t+"\n \n \n
"}},K={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";break;case"ok-sign":e="check-circle";break;case"remove-sign":e="times-circle"}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("dragAndDropComponent"))?"":e)+"\n\n"}},builderSidebar:a,builderSidebarGroup:r,columns:s,datagrid:i,day:d,dialog:{form:function(n){return'
\n
\n
\n
\n \n
\n
\n'}},editgrid:u,field:c,file:p,icon:{form:function(n){var e;return""+''+(null==(e=n.content)?"":e)+"\n"}},input:m,label:f,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:b,multiValueTable:v,panel:g,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:y,survey:w,tab:x,table:k,well:{form:function(n){var e;return""+'
\n
\n '+(null==(e=n.children)?"":e)+"\n
\n
\n"}},wizard:A,wizardHeader:C,wizardHeaderClassic:I,wizardHeaderVertical:R,wizardNav:z,errorsList:S,alert:P,grid:j,pagination:{html:function(n){var e;return""+'\n'}},columnMenu:E,tbody:B,paginationBottom:{html:function(n){return'
\n \n
'}},selectAllContent:T},F={framework:"bootstrap3",templates:{bootstrap3:K},translations:{en:{edit:"Edit",remove:"Remove",addAnother:"Add Another",next:"Next",previous:"Previous",cancel:"Cancel",loading:"Loading",help:"Help",component:"Component",save:"Save",preview:"Preview",dragAndDropComponent:"Drag and Drop a form component",searchFields:"Search field(s)",noMatchesFound:"No Matches Found",fileName:"File Name",size:"Size",type:"Type",gallery:"Gallery",camera:"Camera",dropFilesToAttach:"Drop files to attach,",useCamera:"Use Camera",browse:"browse",takePicture:"Take Picture",switchToFileUpload:"Switch to file upload",completeStatus:"Complete",noStorageSet:"No storage has been set for this field. File uploads are disabled until storage is set up.",noFileApiSupport:"File API & FileReader API not supported.",noFormDataSupport:"XHR2's FormData is not supported.",noProgressSupport:"XHR2's upload progress isn't supported.",close:"Close",addResource:"Add Resource",autocomplete:"autocomplete",showPreview:"Show preview",hidePreview:"Hide preview",createPage:"Create Page",page:"Page",closeBtnDescription:"Close button. Click to get back to the form",cancelBtnDescription:"Cancel button. Click to cancel the changes and get back to the form.",saveBtnDescription:"Save button. Click to save the changes and get back to the form.",addOrRemove:"Add/Remove",anyFileTypesAllowed:"Any file types are allowed",allowedFileTypes:"Allowed file types",syncing:"Syncing...",syncNow:"Sync Now",pressToOpen:"Press to open",browseToAttachFileFor:"Browse to attach file for",or:"or",numericOnly:"numeric only",uploadPdfFile:"Upload a PDF File",dropToStart:"Drop pdf to start, or",expand:"Expand",collapse:"Collapse",add:"Add",delete:"Delete",revert:"Revert",removeBtnPressToRemove:"Remove button. Press to remove",file:"file",captureVideo:"Capture Video",captureAudio:"Capture Audio",captureImage:"Capture Image",browseFiles:"Browse Files",noComponentsSetInGrid:'No components have been set up to display in the Data Table. "Table View" must be checked for components to render.',sortAscending:"Sort Ascending",sortDescending:"Sort Descending",filter:"Filter",clear:"Clear",showItemsWithValue:"Show items with value that:",gridItemsPerPage:"Items per page:",gridAllItems:"All",recordsSelectedOnPage:"records on this page are selected.",recordsSelectedInTable:"records in the table are selected.",gridSelectAll:"Select all",itemsInTable:"items in the table.",clearSelection:"Clear selection.",editGridRow:"Edit row",deleteGridRow:"Delete row",selected:"selected",actions:"Actions"}}};return e.default})())); \ No newline at end of file diff --git a/dist/bootstrap4.js b/dist/bootstrap4.js index e5d30c39f..6bfc2b04b 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,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 +!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:()=>$});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("noMatchesFound"))?"":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"}},d={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"}},u={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("addOrRemove"))?"":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.filesToUpload.forEach((function(l){t+="\n ","progress"===l.status?t+='\n
    '+(null==(e=n.fileSize(l.size))?"":e)+'
    \n
    \n
    \n '+(null==(e=l.progress)?"":e)+"% "+(null==(e=n.t("completeStatus"))?"":e)+"\n
    \n
    \n ":t+='\n
    '+(null==(e=n.t(l.message))?"":e)+"
    \n ",t+="\n "})),t+="\n
    \n"):(t+="\n ",n.options.vpat&&(t+="\n
    "+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("allowedFileTypes")+": "+n.component.filePattern:n.t("anyFileTypesAllowed"))?"":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("pressToOpen")+" ")?"":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("completeStatus"))?"":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("noStorageSet"))?"":e)+"

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

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

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

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

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

    "+(null==(e=n.t("noProgressSupport"))?"":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("numericOnly"))?"":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"}},P={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"}},R={form:function(n){var e,t="";return Array.prototype.join,t+='
    \n ',(!n.label.hidden||n.builder||n.component.collapsible||n.component.tooltip)&&(t+='\n
    \n \n ',n.component.collapsible&&(t+='\n \n '),t+="\n ",n.label.hidden&&!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"}},z={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"}},j={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"}},S={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"}},T={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'}},E={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"}},_={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"}},q={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"}},F={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"}}},N={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"}},K={form:function(n){var e,t="";return Array.prototype.join,t+='\n"}},L={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"}},O={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"}},M={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"}},H={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)+" "+(null==(e=n.t("selected"))?"":e)+"\r\n
    \r\n "),t+='\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n ',n.component.selectAllRows&&(t+='\r\n
    \r\n '),t+='\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
    "+(null==(e=n.t("noComponentsSetInGrid"))?"":e)+"\r\n \r\n \r\n "+(null==(e=n.t(l.label||l.key,{_userInput:!0}))?"":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 '+(null==(e=n.t("actions"))?"":e)+"\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"}},G={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 "+(null==(e=n.instance.hook("format",l.component.key,l.dataValue,l.rowIndex))?"":e)+"\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
    \n \n ⋮\n
    \n
    \n"}},U={html:function(n){var e,t="";return Array.prototype.join,t+='
    \n \n ',n.allRowsSelected||(t+="\n "+(null==(e=n.t("gridAllItems"))?"":e)+" "+(null==(e=n.totalSelected)?"":e)+" "+(null==(e=n.t("recordsSelectedOnPage"))?"":e)+"\n "),t+="\n ",n.allRowsSelected&&(t+="\n "+(null==(e=n.t("gridAllItems"))?"":e)+" "+(null==(e=n.totalItems)?"":e)+" "+(null==(e=n.t("recordsSelectedInTable"))?"":e)+"\n "),t+='\n \n \n
    \n
    \n \n \n ',n.allRowsSelected||(t+="\n "+(null==(e=n.t("gridSelectAll"))?"":e)+" "+(null==(e=n.totalItems)?"":e)+" "+(null==(e=n.t("itemsInTable"))?"":e)+"\n "),t+="\n ",n.allRowsSelected&&(t+="\n "+(null==(e=n.t("clearSelection"))?"":e)+"\n "),t+"\n \n \n
    "}},$={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";break;case"ok-sign":e="check-circle";break;case"remove-sign":e="times-circle"}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("dragAndDropComponent"))?"":e)+"\n\n"}},builderSidebar:r,builderSidebarGroup:a,builderWizard:i,button:s,checkbox:d,columns:u,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){var e;return""+"
    "+(null==(e=n.t("loading"))?"":e)+"...
    \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:P,panel:R,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("uploadPdfFile"))?"":e)+'

    \n \n
    \n \n '+(null==(e=n.t("dropToStart"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
    \n
    \n\n
    \n
    \n\n'}},radio:z,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:j,selectOption:S,signature:T,survey:E,tab:B,table:_,tree:q,...F,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:N,wizardHeader:K,wizardHeaderClassic:L,wizardHeaderVertical:D,wizardNav:O,errorsList:M,alert:H,grid:V,pagination:{html:function(n){var e;return""+''}},columnMenu:W,tbody:G,paginationBottom:{html:function(n){return'
    \n \n
    '}},selectAllContent:U}},translations:{en:{edit:"Edit",remove:"Remove",addAnother:"Add Another",next:"Next",previous:"Previous",cancel:"Cancel",loading:"Loading",help:"Help",component:"Component",save:"Save",preview:"Preview",dragAndDropComponent:"Drag and Drop a form component",searchFields:"Search field(s)",noMatchesFound:"No Matches Found",fileName:"File Name",size:"Size",type:"Type",gallery:"Gallery",camera:"Camera",dropFilesToAttach:"Drop files to attach,",useCamera:"Use Camera",browse:"browse",takePicture:"Take Picture",switchToFileUpload:"Switch to file upload",completeStatus:"Complete",noStorageSet:"No storage has been set for this field. File uploads are disabled until storage is set up.",noFileApiSupport:"File API & FileReader API not supported.",noFormDataSupport:"XHR2's FormData is not supported.",noProgressSupport:"XHR2's upload progress isn't supported.",close:"Close",addResource:"Add Resource",autocomplete:"autocomplete",showPreview:"Show preview",hidePreview:"Hide preview",createPage:"Create Page",page:"Page",closeBtnDescription:"Close button. Click to get back to the form",cancelBtnDescription:"Cancel button. Click to cancel the changes and get back to the form.",saveBtnDescription:"Save button. Click to save the changes and get back to the form.",addOrRemove:"Add/Remove",anyFileTypesAllowed:"Any file types are allowed",allowedFileTypes:"Allowed file types",syncing:"Syncing...",syncNow:"Sync Now",pressToOpen:"Press to open",browseToAttachFileFor:"Browse to attach file for",or:"or",numericOnly:"numeric only",uploadPdfFile:"Upload a PDF File",dropToStart:"Drop pdf to start, or",expand:"Expand",collapse:"Collapse",add:"Add",delete:"Delete",revert:"Revert",removeBtnPressToRemove:"Remove button. Press to remove",file:"file",captureVideo:"Capture Video",captureAudio:"Capture Audio",captureImage:"Capture Image",browseFiles:"Browse Files",noComponentsSetInGrid:'No components have been set up to display in the Data Table. "Table View" must be checked for components to render.',sortAscending:"Sort Ascending",sortDescending:"Sort Descending",filter:"Filter",clear:"Clear",showItemsWithValue:"Show items with value that:",gridItemsPerPage:"Items per page:",gridAllItems:"All",recordsSelectedOnPage:"records on this page are selected.",recordsSelectedInTable:"records in the table are selected.",gridSelectAll:"Select all",itemsInTable:"items in the table.",clearSelection:"Clear selection.",editGridRow:"Edit row",deleteGridRow:"Delete row",selected:"selected",actions:"Actions"}}};return e.default})())); \ No newline at end of file diff --git a/dist/bootstrap5.js b/dist/bootstrap5.js index 19c184dc9..3b5abc426 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:()=>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 +!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("noMatchesFound"))?"":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'}},m={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"}},b={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("addOrRemove"))?"":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.filesToUpload.forEach((function(t){l+="\n ","progress"===t.status?l+='\n
    '+(null==(e=n.fileSize(t.size))?"":e)+'
    \n
    \n
    \n '+(null==(e=t.progress)?"":e)+"% "+(null==(e=n.t("completeStatus"))?"":e)+"\n
    \n
    \n ":l+='\n
    '+(null==(e=n.t(t.message))?"":e)+"
    \n ",l+="\n "})),l+="\n
    \n"):(l+="\n ",n.options.vpat&&(l+="\n
    "+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("allowedFileTypes")+": "+n.component.filePattern:n.t("anyFileTypesAllowed"))?"":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("pressToOpen")+" ")?"":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("completeStatus"))?"":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("noStorageSet"))?"":e)+"

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

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

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

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

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

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

    \n "),l+="\n
    \n"),l+="\n"}},k={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"}},x={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"}},P={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',(!n.label.hidden||n.builder||n.component.collapsible||n.component.tooltip)&&(l+='\n
    \n \n ',n.component.collapsible&&(l+='\n \n '),l+="\n ",n.label.hidden&&!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"}},z={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"}},R={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"}},T={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"}},_={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'}},E={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"}},S={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"}},q={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"}},L={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"}}},F={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"}},K={form:function(n){var e,l="";return Array.prototype.join,l+='\n"}},B={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"}},M={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"}},D={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"}},H={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":e="question-circle",t="question-circle";break;case"remove-circle":t="x-circle";break;case"new-window":e="window-restore",t="window-plus";break;case"move":e="arrows",t="arrows-move";break;case"edit":t="pencil";break;case"video":t="camera-video";break;case"microphone":t="mic";break;case"check-circle":t="check-circle-fill";break;case"times-circle":t="x-circle-fill";break;case"pencil":t="pencil-fill";break;case"minus":t="dash";break;case"circle":t="circle-fill";break;case"search-plus":t="zoom-in";break;case"search-minus":t="zoom-out";break;case"hand-paper-o":t="hand-index";break;case"undo":t="arrow-counterclockwise";break;case"repeat":t="arrow-clockwise"}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("dragAndDropComponent"))?"":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: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:k,icon:{form:function(n){var e;return""+''+(null==(e=n.content)?"":e)+"\n"}},input:x,label:C,loader:{form:function(n){return'
    \n
    \n
    \n
    \n
    \n'}},loading:{form:function(n){var e;return""+((null==(e=n.t("loading"))?"":e)+"...\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:P,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("uploadPdfFile"))?"":e)+'

    \n \n
    \n \n '+(null==(e=n.t("dropToStart"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
    \n
    \n\n
    \n
    \n\n'}},radio:z,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:R,selectOption:T,signature:_,survey:E,tab:S,table:q,tree:N,...L,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:F,wizardHeader:K,wizardHeaderClassic:B,wizardHeaderVertical:O,wizardNav:M,errorsList:D,alert:H}},translations:{en:{edit:"Edit",remove:"Remove",addAnother:"Add Another",next:"Next",previous:"Previous",cancel:"Cancel",loading:"Loading",help:"Help",component:"Component",save:"Save",preview:"Preview",dragAndDropComponent:"Drag and Drop a form component",searchFields:"Search field(s)",noMatchesFound:"No Matches Found",fileName:"File Name",size:"Size",type:"Type",gallery:"Gallery",camera:"Camera",dropFilesToAttach:"Drop files to attach,",useCamera:"Use Camera",browse:"browse",takePicture:"Take Picture",switchToFileUpload:"Switch to file upload",completeStatus:"Complete",noStorageSet:"No storage has been set for this field. File uploads are disabled until storage is set up.",noFileApiSupport:"File API & FileReader API not supported.",noFormDataSupport:"XHR2's FormData is not supported.",noProgressSupport:"XHR2's upload progress isn't supported.",close:"Close",addResource:"Add Resource",autocomplete:"autocomplete",showPreview:"Show preview",hidePreview:"Hide preview",createPage:"Create Page",page:"Page",closeBtnDescription:"Close button. Click to get back to the form",cancelBtnDescription:"Cancel button. Click to cancel the changes and get back to the form.",saveBtnDescription:"Save button. Click to save the changes and get back to the form.",addOrRemove:"Add/Remove",anyFileTypesAllowed:"Any file types are allowed",allowedFileTypes:"Allowed file types",syncing:"Syncing...",syncNow:"Sync Now",pressToOpen:"Press to open",browseToAttachFileFor:"Browse to attach file for",or:"or",numericOnly:"numeric only",uploadPdfFile:"Upload a PDF File",dropToStart:"Drop pdf to start, or",expand:"Expand",collapse:"Collapse",add:"Add",delete:"Delete",revert:"Revert",removeBtnPressToRemove:"Remove button. Press to remove",file:"file",captureVideo:"Capture Video",captureAudio:"Capture Audio",captureImage:"Capture Image",browseFiles:"Browse Files",noComponentsSetInGrid:'No components have been set up to display in the Data Table. "Table View" must be checked for components to render.',sortAscending:"Sort Ascending",sortDescending:"Sort Descending",filter:"Filter",clear:"Clear",showItemsWithValue:"Show items with value that:",gridItemsPerPage:"Items per page:",gridAllItems:"All",recordsSelectedOnPage:"records on this page are selected.",recordsSelectedInTable:"records in the table are selected.",gridSelectAll:"Select all",itemsInTable:"items in the table.",clearSelection:"Clear selection.",editGridRow:"Edit row",deleteGridRow:"Delete row",selected:"selected",actions:"Actions"}}};return e.default})())); \ No newline at end of file diff --git a/lib/cjs/bootstrap3.d.ts b/lib/cjs/bootstrap3.d.ts index d6c2958a3..ec011bdae 100644 --- a/lib/cjs/bootstrap3.d.ts +++ b/lib/cjs/bootstrap3.d.ts @@ -147,6 +147,91 @@ declare const _default: { paginationBottom: { html: string; }; + selectAllContent: { + html: string; + }; + }; + }; + translations: { + en: { + edit: string; + remove: string; + addAnother: string; + next: string; + previous: string; + cancel: string; + loading: string; + help: string; + component: string; + save: string; + preview: string; + dragAndDropComponent: string; + searchFields: string; + noMatchesFound: string; + fileName: string; + size: string; + type: string; + gallery: string; + camera: string; + dropFilesToAttach: string; + useCamera: string; + browse: string; + takePicture: string; + switchToFileUpload: string; + completeStatus: string; + noStorageSet: string; + noFileApiSupport: string; + noFormDataSupport: string; + noProgressSupport: string; + close: string; + addResource: string; + autocomplete: string; + showPreview: string; + hidePreview: string; + createPage: string; + page: string; + closeBtnDescription: string; + cancelBtnDescription: string; + saveBtnDescription: string; + addOrRemove: string; + anyFileTypesAllowed: string; + allowedFileTypes: string; + syncing: string; + syncNow: string; + pressToOpen: string; + browseToAttachFileFor: string; + or: string; + numericOnly: string; + uploadPdfFile: string; + dropToStart: string; + expand: string; + collapse: string; + add: string; + delete: string; + revert: string; + removeBtnPressToRemove: string; + file: string; + captureVideo: string; + captureAudio: string; + captureImage: string; + browseFiles: string; + noComponentsSetInGrid: string; + sortAscending: string; + sortDescending: string; + filter: string; + clear: string; + showItemsWithValue: string; + gridItemsPerPage: string; + gridAllItems: string; + recordsSelectedOnPage: string; + recordsSelectedInTable: string; + gridSelectAll: string; + itemsInTable: string; + clearSelection: string; + editGridRow: string; + deleteGridRow: string; + selected: string; + actions: string; }; }; }; diff --git a/lib/cjs/bootstrap3.js b/lib/cjs/bootstrap3.js index 1034e805d..6a69e1c02 100644 --- a/lib/cjs/bootstrap3.js +++ b/lib/cjs/bootstrap3.js @@ -1,9 +1,11 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const bootstrap3_1 = require("./templates/bootstrap3"); +const translations_1 = require("./translations"); exports.default = { framework: 'bootstrap3', templates: { bootstrap3: bootstrap3_1.default }, + translations: translations_1.default }; diff --git a/lib/cjs/bootstrap4.d.ts b/lib/cjs/bootstrap4.d.ts index 8f06e751e..9380586d0 100644 --- a/lib/cjs/bootstrap4.d.ts +++ b/lib/cjs/bootstrap4.d.ts @@ -46,6 +46,9 @@ declare const _default: { paginationBottom: { html: string; }; + selectAllContent: { + html: string; + }; treeView: { form: string; }; @@ -242,5 +245,87 @@ declare const _default: { }; }; }; + translations: { + en: { + edit: string; + remove: string; + addAnother: string; + next: string; + previous: string; + cancel: string; + loading: string; + help: string; + component: string; + save: string; + preview: string; + dragAndDropComponent: string; + searchFields: string; + noMatchesFound: string; + fileName: string; + size: string; + type: string; + gallery: string; + camera: string; + dropFilesToAttach: string; + useCamera: string; + browse: string; + takePicture: string; + switchToFileUpload: string; + completeStatus: string; + noStorageSet: string; + noFileApiSupport: string; + noFormDataSupport: string; + noProgressSupport: string; + close: string; + addResource: string; + autocomplete: string; + showPreview: string; + hidePreview: string; + createPage: string; + page: string; + closeBtnDescription: string; + cancelBtnDescription: string; + saveBtnDescription: string; + addOrRemove: string; + anyFileTypesAllowed: string; + allowedFileTypes: string; + syncing: string; + syncNow: string; + pressToOpen: string; + browseToAttachFileFor: string; + or: string; + numericOnly: string; + uploadPdfFile: string; + dropToStart: string; + expand: string; + collapse: string; + add: string; + delete: string; + revert: string; + removeBtnPressToRemove: string; + file: string; + captureVideo: string; + captureAudio: string; + captureImage: string; + browseFiles: string; + noComponentsSetInGrid: string; + sortAscending: string; + sortDescending: string; + filter: string; + clear: string; + showItemsWithValue: string; + gridItemsPerPage: string; + gridAllItems: string; + recordsSelectedOnPage: string; + recordsSelectedInTable: string; + gridSelectAll: string; + itemsInTable: string; + clearSelection: string; + editGridRow: string; + deleteGridRow: string; + selected: string; + actions: string; + }; + }; }; export default _default; diff --git a/lib/cjs/bootstrap4.js b/lib/cjs/bootstrap4.js index 8aee4d458..821580244 100644 --- a/lib/cjs/bootstrap4.js +++ b/lib/cjs/bootstrap4.js @@ -1,9 +1,11 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const bootstrap4_1 = require("./templates/bootstrap4"); +const translations_1 = require("./translations"); exports.default = { framework: 'bootstrap4', templates: { bootstrap4: bootstrap4_1.default }, + translations: translations_1.default }; diff --git a/lib/cjs/bootstrap5.d.ts b/lib/cjs/bootstrap5.d.ts index e0798e967..86b657d31 100644 --- a/lib/cjs/bootstrap5.d.ts +++ b/lib/cjs/bootstrap5.d.ts @@ -228,5 +228,87 @@ declare const _default: { }; }; }; + translations: { + en: { + edit: string; + remove: string; + addAnother: string; + next: string; + previous: string; + cancel: string; + loading: string; + help: string; + component: string; + save: string; + preview: string; + dragAndDropComponent: string; + searchFields: string; + noMatchesFound: string; + fileName: string; + size: string; + type: string; + gallery: string; + camera: string; + dropFilesToAttach: string; + useCamera: string; + browse: string; + takePicture: string; + switchToFileUpload: string; + completeStatus: string; + noStorageSet: string; + noFileApiSupport: string; + noFormDataSupport: string; + noProgressSupport: string; + close: string; + addResource: string; + autocomplete: string; + showPreview: string; + hidePreview: string; + createPage: string; + page: string; + closeBtnDescription: string; + cancelBtnDescription: string; + saveBtnDescription: string; + addOrRemove: string; + anyFileTypesAllowed: string; + allowedFileTypes: string; + syncing: string; + syncNow: string; + pressToOpen: string; + browseToAttachFileFor: string; + or: string; + numericOnly: string; + uploadPdfFile: string; + dropToStart: string; + expand: string; + collapse: string; + add: string; + delete: string; + revert: string; + removeBtnPressToRemove: string; + file: string; + captureVideo: string; + captureAudio: string; + captureImage: string; + browseFiles: string; + noComponentsSetInGrid: string; + sortAscending: string; + sortDescending: string; + filter: string; + clear: string; + showItemsWithValue: string; + gridItemsPerPage: string; + gridAllItems: string; + recordsSelectedOnPage: string; + recordsSelectedInTable: string; + gridSelectAll: string; + itemsInTable: string; + clearSelection: string; + editGridRow: string; + deleteGridRow: string; + selected: string; + actions: string; + }; + }; }; export default _default; diff --git a/lib/cjs/bootstrap5.js b/lib/cjs/bootstrap5.js index c2add41fc..d6e2925dd 100644 --- a/lib/cjs/bootstrap5.js +++ b/lib/cjs/bootstrap5.js @@ -1,9 +1,11 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const bootstrap5_1 = require("./templates/bootstrap5"); +const translations_1 = require("./translations"); exports.default = { framework: 'bootstrap5', templates: { bootstrap5: bootstrap5_1.default }, + translations: translations_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js b/lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js index 345ef2c9c..4e13e995f 100644 --- a/lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js @@ -7,7 +7,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n

    ' + ((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) + ' ' + -((__t = (ctx.t('Component'))) == null ? '' : __t) + +((__t = (ctx.t('component'))) == null ? '' : __t) + '

    \n
    \n '; if (ctx.helplinks) { ; __p += '\n \n
    \n
    \n
    \n ' + '\n
    \n '; if (!ctx.preview) { ; __p += '\n
    \n \n \n \n
    \n '; } ; __p += '\n
    \n '; if (ctx.preview) { ; __p += '\n
    \n
    \n
    \n

    ' + -((__t = (ctx.t('Preview'))) == null ? '' : __t) + +((__t = (ctx.t('preview'))) == null ? '' : __t) + '

    \n
    \n
    \n
    \n ' + ((__t = (ctx.preview)) == null ? '' : __t) + '\n
    \n
    \n
    \n '; @@ -49,11 +49,11 @@ __p += '\n
    \n ' + '\n
    \n '; } ; __p += '\n
    \n \n \n \n
    \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/cjs/templates/bootstrap3/builderPlaceholder/form.ejs.js b/lib/cjs/templates/bootstrap3/builderPlaceholder/form.ejs.js index d65454af3..24d44fb18 100644 --- a/lib/cjs/templates/bootstrap3/builderPlaceholder/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/builderPlaceholder/form.ejs.js @@ -6,7 +6,7 @@ var __t, __p = ''; __p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + +((__t = (ctx.t('dragAndDropComponent'))) == null ? '' : __t) + '\n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js b/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js index d0b9a69e4..026c6318c 100644 --- a/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js @@ -7,7 +7,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n \n
    \n '; diff --git a/lib/cjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js b/lib/cjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js index 40e6cfa03..9b44d6d2c 100644 --- a/lib/cjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js @@ -49,7 +49,7 @@ __p += '\n ' + '\n '; } else { ; __p += '\n
    ' + -((__t = (ctx.t('No Matches Found'))) == null ? '' : __t) + +((__t = (ctx.t('noMatchesFound'))) == null ? '' : __t) + '
    \n '; } ; __p += '\n
    \n
    \n\n\n'; diff --git a/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js b/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js index 4cf52306d..c9bc56f4e 100644 --- a/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js +++ b/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js @@ -6,35 +6,49 @@ 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 \r\n \r\n \r\n '; } ; __p += '\r\n \r\n\r\n'; return __p diff --git a/lib/cjs/templates/bootstrap3/datagrid/form.ejs.js b/lib/cjs/templates/bootstrap3/datagrid/form.ejs.js index ebde73612..59df40a0f 100644 --- a/lib/cjs/templates/bootstrap3/datagrid/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/datagrid/form.ejs.js @@ -47,7 +47,7 @@ __p += '\n \n '; } ; __p += '\n \n '; @@ -121,7 +121,7 @@ __p += '\n \n \n \n ' + -((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) + +((__t = (ctx.t(ctx.component.addAnother || 'addAnother', { _userInput: !!ctx.component.addAnother }))) == null ? '' : __t) + '\n \n \n \n \n '; } ; __p += '\n\n'; diff --git a/lib/cjs/templates/bootstrap3/day/form.ejs.js b/lib/cjs/templates/bootstrap3/day/form.ejs.js index d336e6a52..d0f2b64a5 100644 --- a/lib/cjs/templates/bootstrap3/day/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/day/form.ejs.js @@ -15,7 +15,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -33,7 +33,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -51,7 +51,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -69,7 +69,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + diff --git a/lib/cjs/templates/bootstrap3/editgrid/form.ejs.js b/lib/cjs/templates/bootstrap3/editgrid/form.ejs.js index b6de0f9aa..1fbf00acd 100644 --- a/lib/cjs/templates/bootstrap3/editgrid/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/editgrid/form.ejs.js @@ -29,13 +29,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; @@ -57,7 +57,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/cjs/templates/bootstrap3/editgrid/html.ejs.js b/lib/cjs/templates/bootstrap3/editgrid/html.ejs.js index 27ee84e53..88eb87b89 100644 --- a/lib/cjs/templates/bootstrap3/editgrid/html.ejs.js +++ b/lib/cjs/templates/bootstrap3/editgrid/html.ejs.js @@ -29,13 +29,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; diff --git a/lib/cjs/templates/bootstrap3/file/form.ejs.js b/lib/cjs/templates/bootstrap3/file/form.ejs.js index ca8971f40..3c5505035 100644 --- a/lib/cjs/templates/bootstrap3/file/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/file/form.ejs.js @@ -17,13 +17,13 @@ __p += '7'; __p += '9'; } ; __p += '">' + -((__t = (ctx.t('File Name'))) == null ? '' : __t) + +((__t = (ctx.t('fileName'))) == null ? '' : __t) + '
    \n
    ' + -((__t = (ctx.t('Size'))) == null ? '' : __t) + +((__t = (ctx.t('size'))) == null ? '' : __t) + '
    \n '; if (ctx.self.hasTypes) { ; __p += '\n
    ' + -((__t = (ctx.t('Type'))) == null ? '' : __t) + +((__t = (ctx.t('type'))) == null ? '' : __t) + '
    \n '; } ; __p += '\n
    \n \n '; @@ -101,9 +101,9 @@ __p += '\n'; __p += '\n '; if (ctx.self.useWebViewCamera) { ; __p += '\n
    \n \n \n
    \n '; } else if (!ctx.self.cameraMode) { ; __p += '\n
    \n ' + -((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) + +((__t = (ctx.t('dropFilesToAttach'))) == null ? '' : __t) + '\n '; if (ctx.self.imageUpload && ctx.component.webcam) { ; __p += '\n ' + -((__t = (ctx.t('Use Camera,'))) == null ? '' : __t) + +((__t = (ctx.t('useCamera') + ',')) == null ? '' : __t) + '\n '; } ; __p += '\n ' + @@ -125,9 +125,9 @@ __p += '\n ' + '\n
    \n '; } else { ; __p += '\n
    \n \n
    \n \n \n '; } ; __p += '\n'; @@ -151,7 +151,7 @@ __p += '\n
    \n
    \n ' + ((__t = (status.progress)) == null ? '' : __t) + '% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + '\n
    \n
    \n '; } else if (status.status === 'error'){ ; __p += '\n
    \n '; if (!ctx.component.storage) { ; __p += '\n

    ' + -((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) + +((__t = (ctx.t('noStorageSet'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.filereader) { ; __p += '\n

    ' + -((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) + +((__t = (ctx.t('noFileApiSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.formdata) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) + +((__t = (ctx.t('noFormDataSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.progress) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) + +((__t = (ctx.t('noProgressSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n
    \n'; diff --git a/lib/cjs/templates/bootstrap3/grid/html.ejs.js b/lib/cjs/templates/bootstrap3/grid/html.ejs.js index ff487bd78..b80de6684 100644 --- a/lib/cjs/templates/bootstrap3/grid/html.ejs.js +++ b/lib/cjs/templates/bootstrap3/grid/html.ejs.js @@ -10,15 +10,23 @@ __p += '\n
    \n '; if (ctx.selectedRows) { ; __p += '\n ' + ((__t = (ctx.selectedRows)) == null ? '' : __t) + -' selected\n '; +' ' + +((__t = (ctx.t('selected'))) == null ? '' : __t) + +'\n '; } ; __p += '\n
    \n '; } ; -__p += '\n
    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n '; + if (ctx.component.selectAllRows) { ; +__p += '\n
    \n '; + } ; +__p += '\n
    \n \n \n '; if (!ctx.component.components.length) { ; -__p += '\n \n '; +__p += '\n \n '; } ; __p += '\n '; if (ctx.component.enableRowSelect) { ; @@ -33,7 +41,7 @@ __p += '\n '; __p += '\n '; if (comp.show) { ; __p += '\n \n '; } ; diff --git a/lib/cjs/templates/bootstrap4/address/form.ejs.js b/lib/cjs/templates/bootstrap4/address/form.ejs.js index c8b884723..65c13b2dc 100644 --- a/lib/cjs/templates/bootstrap4/address/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/address/form.ejs.js @@ -45,7 +45,7 @@ __p += '\n '; __p += 'disabled=true'; } ; __p += '\n >\n ' + -((__t = ( ctx.component.switchToManualModeLabel )) == null ? '' : __t) + +((__t = ( ctx.t(ctx.component.switchToManualModeLabel) )) == null ? '' : __t) + '\n \n \n'; } ; __p += '\n'; diff --git a/lib/cjs/templates/bootstrap4/builderEditForm/form.ejs.js b/lib/cjs/templates/bootstrap4/builderEditForm/form.ejs.js index 489934826..d6d1e6ab0 100644 --- a/lib/cjs/templates/bootstrap4/builderEditForm/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/builderEditForm/form.ejs.js @@ -7,7 +7,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n

    ' + ((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) + ' ' + -((__t = (ctx.t('Component'))) == null ? '' : __t) + +((__t = (ctx.t('component'))) == null ? '' : __t) + '

    \n
    \n '; if (ctx.helplinks) { ; __p += '\n \n
    \n
    \n
    \n \n \n \n '; if (ctx.preview) { ; __p += '\n \n '; } ; __p += '\n
    \n '; @@ -41,7 +41,7 @@ __p += '\n
    \n '; __p += '\n
    \n '; if (ctx.showPreview && ctx.preview) { ; __p += '\n
    \n
    \n
    \n

    ' + -((__t = (ctx.t('Preview'))) == null ? '' : __t) + +((__t = (ctx.t('preview'))) == null ? '' : __t) + '

    \n
    \n
    \n
    \n ' + ((__t = (ctx.preview)) == null ? '' : __t) + '\n
    \n
    \n
    \n '; @@ -51,13 +51,13 @@ __p += '\n
    \n '\n
    \n '; } ; __p += '\n
    \n \n \n \n \n
    \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/cjs/templates/bootstrap4/builderPlaceholder/form.ejs.js b/lib/cjs/templates/bootstrap4/builderPlaceholder/form.ejs.js index 096e955c0..aebfe4c6b 100644 --- a/lib/cjs/templates/bootstrap4/builderPlaceholder/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/builderPlaceholder/form.ejs.js @@ -6,7 +6,7 @@ var __t, __p = ''; __p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + +((__t = (ctx.t('dragAndDropComponent'))) == null ? '' : __t) + '\n\n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderSidebar/form.ejs.js b/lib/cjs/templates/bootstrap4/builderSidebar/form.ejs.js index 7b9c11d7b..6772d5c62 100644 --- a/lib/cjs/templates/bootstrap4/builderSidebar/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/builderSidebar/form.ejs.js @@ -9,7 +9,7 @@ __p += '
    \n \n
    \n '; ctx.groups.forEach(function(group) { ; __p += '\n ' + diff --git a/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js b/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js index 72585e86c..a80bef8a5 100644 --- a/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js @@ -41,7 +41,7 @@ __p += '\n \n '; if (ctx.group.components[componentKey].icon) { ; __p += '\n ' + '\n \n '; }) ; __p += '\n
  • \n \n ' + -((__t = (ctx.t('Page'))) == null ? '' : __t) + +((__t = (ctx.t('page'))) == null ? '' : __t) + '\n \n
  • \n \n
    \n ' + ((__t = (ctx.form)) == null ? '' : __t) + '\n
    \n
    \n
    \n'; diff --git a/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js b/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js index 0983f362f..40e487aa8 100644 --- a/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js +++ b/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js @@ -6,35 +6,49 @@ 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 \r\n \r\n '; } ; __p += '\r\n \r\n\r\n'; return __p diff --git a/lib/cjs/templates/bootstrap4/componentModal/form.ejs.js b/lib/cjs/templates/bootstrap4/componentModal/form.ejs.js index 28a35c670..496cdf465 100644 --- a/lib/cjs/templates/bootstrap4/componentModal/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/componentModal/form.ejs.js @@ -24,24 +24,32 @@ __p += ' ref="modalContents">\n
    \n '; @@ -82,9 +82,9 @@ __p += '\n \n '; if (ctx.component.reorder) { ; -__p += '\n \n '; +'" style="display: block; margin: 0 auto">\n \n '; } ; __p += '\n '; ctx.columns.forEach(function(col) { ; @@ -104,13 +104,13 @@ __p += '\n '; if (ctx.hasExtraColumn) { ; __p += '\n '; if (ctx.hasRemoveButtons) { ; -__p += '\n \n '; } ; @@ -137,7 +137,7 @@ __p += '\n \n \n \n \n \n '; } ; __p += '\n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.' + +((__t = (ctx.t('noComponentsSetInGrid'))) == null ? '' : __t) + +'\n ' + -((__t = ( comp.label || comp.key )) == null ? '' : __t) + +((__t = ( ctx.t(comp.label || comp.key, { _userInput: true }) )) == null ? '' : __t) + '\n '; if (ctx.options.sortable && comp.sortable) { ; __p += '\n \n
    \n Actions\n '; +__p += '\n
    \n
    \n ' + +((__t = (ctx.t('actions'))) == null ? '' : __t) + +'\n '; if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; __p += '\n \n
    \n
    \n\n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/pagination/html.ejs.js b/lib/cjs/templates/bootstrap3/pagination/html.ejs.js index 6b01cbd1f..95769b8ea 100644 --- a/lib/cjs/templates/bootstrap3/pagination/html.ejs.js +++ b/lib/cjs/templates/bootstrap3/pagination/html.ejs.js @@ -5,7 +5,11 @@ exports.default=function(ctx) { var __t, __p = ''; __p += '\n'; return __p diff --git a/lib/cjs/templates/bootstrap3/panel/form.ejs.js b/lib/cjs/templates/bootstrap3/panel/form.ejs.js index 82f01589d..35c80d686 100644 --- a/lib/cjs/templates/bootstrap3/panel/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/panel/form.ejs.js @@ -7,7 +7,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; + if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; __p += '\n
    \n '; } ; __p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; + if (!ctx.label.hidden || ctx.builder) { ; __p += '\n ' + ((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + '\n '; diff --git a/lib/cjs/templates/bootstrap3/resourceAdd/form.ejs.js b/lib/cjs/templates/bootstrap3/resourceAdd/form.ejs.js index b6af540e4..0fd96c5a8 100644 --- a/lib/cjs/templates/bootstrap3/resourceAdd/form.ejs.js +++ b/lib/cjs/templates/bootstrap3/resourceAdd/form.ejs.js @@ -8,7 +8,7 @@ __p += '\n \n \n \n \n \n \n \n \n
    \n '\n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/tbody/html.ejs.js b/lib/cjs/templates/bootstrap3/tbody/html.ejs.js index f5eaf4970..0df3c478d 100644 --- a/lib/cjs/templates/bootstrap3/tbody/html.ejs.js +++ b/lib/cjs/templates/bootstrap3/tbody/html.ejs.js @@ -28,13 +28,17 @@ __p += '\n '; if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; __p += '\n
    \n
    \n \n ⋮\n
    \n
    \n ' + -((__t = ( ctx.t('Add/Remove') )) == null ? '' : __t) + +((__t = ( ctx.t('addOrRemove') )) == null ? '' : __t) + '\n '; if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ; __p += '\n \n '; } ; __p += '\n
    \n \n \n \n
    \n ' + -((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) + +((__t = (ctx.t(ctx.component.addAnother || 'addAnother', { _userInput: !!ctx.component.addAnother }))) == null ? '' : __t) + '\n \n
    \n'; diff --git a/lib/cjs/templates/bootstrap4/day/form.ejs.js b/lib/cjs/templates/bootstrap4/day/form.ejs.js index e1d9866a8..8b6009b67 100644 --- a/lib/cjs/templates/bootstrap4/day/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/day/form.ejs.js @@ -35,7 +35,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -53,7 +53,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -71,7 +71,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -89,7 +89,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + diff --git a/lib/cjs/templates/bootstrap4/editgrid/form.ejs.js b/lib/cjs/templates/bootstrap4/editgrid/form.ejs.js index 59768b53a..d64a5f9a1 100644 --- a/lib/cjs/templates/bootstrap4/editgrid/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/editgrid/form.ejs.js @@ -29,13 +29,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; @@ -57,7 +57,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/cjs/templates/bootstrap4/editgrid/html.ejs.js b/lib/cjs/templates/bootstrap4/editgrid/html.ejs.js index 27ee84e53..5f96d74e6 100644 --- a/lib/cjs/templates/bootstrap4/editgrid/html.ejs.js +++ b/lib/cjs/templates/bootstrap4/editgrid/html.ejs.js @@ -29,13 +29,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; diff --git a/lib/cjs/templates/bootstrap4/editgridTable/form.ejs.js b/lib/cjs/templates/bootstrap4/editgridTable/form.ejs.js index f67dcce7a..81c2bd4ec 100644 --- a/lib/cjs/templates/bootstrap4/editgridTable/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/editgridTable/form.ejs.js @@ -29,13 +29,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; @@ -61,7 +61,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/cjs/templates/bootstrap4/editgridTable/html.ejs.js b/lib/cjs/templates/bootstrap4/editgridTable/html.ejs.js index 183ef03ed..113d5fe71 100644 --- a/lib/cjs/templates/bootstrap4/editgridTable/html.ejs.js +++ b/lib/cjs/templates/bootstrap4/editgridTable/html.ejs.js @@ -29,13 +29,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; diff --git a/lib/cjs/templates/bootstrap4/file/form.ejs.js b/lib/cjs/templates/bootstrap4/file/form.ejs.js index 16cad99bf..f24b3e34e 100644 --- a/lib/cjs/templates/bootstrap4/file/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/file/form.ejs.js @@ -17,23 +17,23 @@ __p += '\n'; __p += '\n '; if (ctx.options.vpat) { ; __p += '\n
    ' + -((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) + +((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)) == null ? '' : __t) + '
    \n '; } ; __p += '\n
      \n \n '; @@ -61,7 +61,7 @@ __p += '\n ' + __p += '\n \n ' + -((__t = (ctx.t('Press to open '))) == null ? '' : __t) + +((__t = (ctx.t('pressToOpen') + ' ')) == null ? '' : __t) + '' + ((__t = (file.originalName || file.name)) == null ? '' : __t) + '\n \n '; @@ -165,7 +165,7 @@ __p += '\n
      \n
      \n ' + ((__t = (file.progress)) == null ? '' : __t) + '% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + '\n
      \n
      \n '; } else { ; __p += '\n
      ' + +((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + +'
      \n
      \n
      \n ' + +((__t = (file.progress)) == null ? '' : __t) + +'% ' + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + +'\n
      \n
      \n '; + } else { ; +__p += '\n
      ' + +((__t = (ctx.t(file.message))) == null ? '' : __t) + +'
      \n '; + } ; +__p += '\n '; + }) ; __p += '\n
    \n'; } ; __p += '\n'; @@ -239,11 +265,11 @@ __p += '\n '; __p += '\n
    \n \n \n
    \n '; } else if (!ctx.self.cameraMode) { ; __p += '\n \n '; } else { ; __p += '\n
    \n \n
    \n \n \n '; } ; __p += '\n'; @@ -285,25 +311,25 @@ __p += '\n'; __p += '\n
    \n '; if (!ctx.component.storage) { ; __p += '\n

    ' + -((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) + +((__t = (ctx.t('noStorageSet'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.filereader) { ; __p += '\n

    ' + -((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) + +((__t = (ctx.t('noFileApiSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.formdata) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) + +((__t = (ctx.t('noFormDataSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.progress) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) + +((__t = (ctx.t('noProgressSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n
    \n'; diff --git a/lib/cjs/templates/bootstrap4/grid/html.ejs.js b/lib/cjs/templates/bootstrap4/grid/html.ejs.js index 95c389a01..0023436e2 100644 --- a/lib/cjs/templates/bootstrap4/grid/html.ejs.js +++ b/lib/cjs/templates/bootstrap4/grid/html.ejs.js @@ -8,13 +8,21 @@ __p += '
    \r\n
    \r\n selected\r\n
    \r\n '; +' ' + +((__t = (ctx.t('selected'))) == null ? '' : __t) + +'\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
    \r\n
    \r\n
    \r\n '; + if (ctx.component.selectAllRows) { ; +__p += '\r\n
    \r\n '; + } ; +__p += '\r\n
    \r\n \r\n \r\n '; if (!ctx.component.components.length) { ; -__p += '\r\n \r\n '; +__p += '\r\n \r\n '; } ; __p += '\r\n '; if (ctx.component.enableRowSelect) { ; @@ -25,7 +33,7 @@ __p += '\r\n '; __p += '\r\n '; if (comp.show) { ; __p += '\r\n \n '; } ; __p += '\n '; @@ -28,18 +28,22 @@ __p += '\n '; if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; __p += '\n \n '; } ; __p += '\n \n '; }); ; -__p += '\n\n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.' + +((__t = (ctx.t('noComponentsSetInGrid'))) == null ? '' : __t) + +'\r\n ' + -((__t = ( comp.label || comp.key )) == null ? '' : __t) + +((__t = ( ctx.t(comp.label || comp.key, { _userInput: true }) )) == null ? '' : __t) + '\r\n '; if (ctx.options.sortable && comp.sortable) { ; __p += '\r\n \r\n
    \r\n Actions\r\n '; +__p += '\r\n
    \r\n
    \r\n ' + +((__t = (ctx.t('actions'))) == null ? '' : __t) + +'\r\n '; if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; __p += '\r\n \n
    \n
    \n\n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/pagination/html.ejs.js b/lib/cjs/templates/bootstrap4/pagination/html.ejs.js index 6d200309c..c3ae74d16 100644 --- a/lib/cjs/templates/bootstrap4/pagination/html.ejs.js +++ b/lib/cjs/templates/bootstrap4/pagination/html.ejs.js @@ -5,7 +5,11 @@ exports.default=function(ctx) { var __t, __p = ''; __p += ''; return __p diff --git a/lib/cjs/templates/bootstrap4/panel/form.ejs.js b/lib/cjs/templates/bootstrap4/panel/form.ejs.js index 8fe0fe787..5c253a6b1 100644 --- a/lib/cjs/templates/bootstrap4/panel/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/panel/form.ejs.js @@ -5,7 +5,7 @@ exports.default=function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; + if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; __p += '\n
    \n '; } ; __p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; + if (!ctx.label.hidden || ctx.builder) { ; __p += '\n ' + ((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + '\n '; diff --git a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js b/lib/cjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js index 0f9925ff9..9424692e7 100644 --- a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js @@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", { exports.default=function(ctx) { var __t, __p = ''; __p += '
    \n

    ' + -((__t = (ctx.t('Upload a PDF File'))) == null ? '' : __t) + +((__t = (ctx.t('uploadPdfFile'))) == null ? '' : __t) + '

    \n \n
    \n \n ' + -((__t = (ctx.t('Drop pdf to start, or'))) == null ? '' : __t) + +((__t = (ctx.t('dropToStart'))) == null ? '' : __t) + ' ' + ((__t = (ctx.t('browse'))) == null ? '' : __t) + '\n \n \n
    \n
    \n\n
    \n
    \n\n'; diff --git a/lib/cjs/templates/bootstrap4/resourceAdd/form.ejs.js b/lib/cjs/templates/bootstrap4/resourceAdd/form.ejs.js index b6af540e4..0fd96c5a8 100644 --- a/lib/cjs/templates/bootstrap4/resourceAdd/form.ejs.js +++ b/lib/cjs/templates/bootstrap4/resourceAdd/form.ejs.js @@ -8,7 +8,7 @@ __p += '\n \n \n \n \n \n \n \n \n
    \n '\n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/tbody/html.ejs.js b/lib/cjs/templates/bootstrap4/tbody/html.ejs.js index d2a1f75c9..a8ac818db 100644 --- a/lib/cjs/templates/bootstrap4/tbody/html.ejs.js +++ b/lib/cjs/templates/bootstrap4/tbody/html.ejs.js @@ -14,12 +14,12 @@ __p += '\n '; row.forEach(function(rowComp) { ; __p += '\n '; if (rowComp.component.show) { ; -__p += '\n
    \n ' + -((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) )) == null ? '' : __t) + +((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue, rowComp.rowIndex) )) == null ? '' : __t) + '\n \n
    \n \n ⋮\n
    \n
    '; +__p += '\n\n\n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/tree/partials/edit.ejs.js b/lib/cjs/templates/bootstrap4/tree/partials/edit.ejs.js index 1feccd8fc..43acdc582 100644 --- a/lib/cjs/templates/bootstrap4/tree/partials/edit.ejs.js +++ b/lib/cjs/templates/bootstrap4/tree/partials/edit.ejs.js @@ -9,9 +9,9 @@ __p += '
    \n
    ' + '
    \n '; if (!ctx.readOnly) { ; __p += '\n
    \n \n \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/cjs/templates/bootstrap4/tree/partials/view.ejs.js b/lib/cjs/templates/bootstrap4/tree/partials/view.ejs.js index e508dd952..d64967d7c 100644 --- a/lib/cjs/templates/bootstrap4/tree/partials/view.ejs.js +++ b/lib/cjs/templates/bootstrap4/tree/partials/view.ejs.js @@ -13,21 +13,21 @@ __p += '\n
    \n ' + __p += '\n
    \n
    \n '; if (ctx.node.hasChildren) { ; __p += '\n \n '; } ; __p += '\n '; if (!ctx.readOnly) { ; __p += '\n \n \n \n '; if (ctx.node.revertAvailable) { ; __p += '\n \n '; } ; __p += '\n '; diff --git a/lib/cjs/templates/bootstrap5/address/form.ejs.js b/lib/cjs/templates/bootstrap5/address/form.ejs.js index c8b884723..c7d5a8c19 100644 --- a/lib/cjs/templates/bootstrap5/address/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/address/form.ejs.js @@ -22,7 +22,7 @@ __p += '\n value="' + ((__t = (ctx.t('autocomplete'))) == null ? '' : __t) + '"\n >\n '; if (!ctx.component.disableClearIcon) { ; -__p += '\n \n
    \n

    ' + ((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) + ' ' + -((__t = (ctx.t('Component'))) == null ? '' : __t) + +((__t = (ctx.t('component'))) == null ? '' : __t) + '

    \n
    \n '; if (ctx.helplinks) { ; __p += '\n \n
    \n
    \n
    \n \n \n \n '; if (ctx.preview) { ; __p += '\n \n '; } ; __p += '\n
    \n '; @@ -41,7 +41,7 @@ __p += '\n
    \n '; __p += '\n
    \n '; if (ctx.showPreview && ctx.preview) { ; __p += '\n
    \n
    \n
    \n

    ' + -((__t = (ctx.t('Preview'))) == null ? '' : __t) + +((__t = (ctx.t('preview'))) == null ? '' : __t) + '

    \n
    \n
    \n
    \n ' + ((__t = (ctx.preview)) == null ? '' : __t) + '\n
    \n
    \n
    \n '; @@ -51,13 +51,13 @@ __p += '\n
    \n '\n
    \n '; } ; __p += '\n
    \n \n \n \n \n \n
    \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/cjs/templates/bootstrap5/builderPlaceholder/form.ejs.js b/lib/cjs/templates/bootstrap5/builderPlaceholder/form.ejs.js index 096e955c0..aebfe4c6b 100644 --- a/lib/cjs/templates/bootstrap5/builderPlaceholder/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/builderPlaceholder/form.ejs.js @@ -6,7 +6,7 @@ var __t, __p = ''; __p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + +((__t = (ctx.t('dragAndDropComponent'))) == null ? '' : __t) + '\n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js b/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js index e13f0a6fc..522ccd65e 100644 --- a/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js @@ -9,7 +9,7 @@ __p += '
    \n \n
    \n '; ctx.groups.forEach(function(group) { ; __p += '\n ' + diff --git a/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js b/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js index 19a08bcc4..a15695bed 100644 --- a/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js @@ -41,7 +41,7 @@ __p += '\n \n '; if (ctx.group.components[componentKey].icon) { ; __p += '\n ' + '\n \n '; }) ; __p += '\n
  • \n \n ' + -((__t = (ctx.t('Page'))) == null ? '' : __t) + +((__t = (ctx.t('page'))) == null ? '' : __t) + '\n \n
  • \n \n
    \n ' + ((__t = (ctx.form)) == null ? '' : __t) + '\n
    \n
    \n
    \n'; diff --git a/lib/cjs/templates/bootstrap5/componentModal/form.ejs.js b/lib/cjs/templates/bootstrap5/componentModal/form.ejs.js index eab33dc19..4e75e6479 100644 --- a/lib/cjs/templates/bootstrap5/componentModal/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/componentModal/form.ejs.js @@ -24,24 +24,32 @@ __p += ' ref="modalContents">\n
    \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap5/datagrid/form.ejs.js b/lib/cjs/templates/bootstrap5/datagrid/form.ejs.js index d5987bf7c..d50546da8 100644 --- a/lib/cjs/templates/bootstrap5/datagrid/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/datagrid/form.ejs.js @@ -41,7 +41,7 @@ __p += '\n \n '; __p += '\n '; if (ctx.hasExtraColumn) { ; __p += '\n \n ' + -((__t = ( ctx.t('Add/Remove') )) == null ? '' : __t) + +((__t = ( ctx.t('addOrRemove') )) == null ? '' : __t) + '\n '; if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ; __p += '\n \n '; } ; __p += '\n \n '; @@ -84,7 +84,7 @@ __p += '\n \n \n '; +'" style="display: block; margin: 0 auto">\n \n '; } ; __p += '\n '; ctx.columns.forEach(function(col) { ; @@ -110,7 +110,7 @@ __p += '\n \n \n \n '; } ; @@ -137,7 +137,7 @@ __p += '\n \n \n \n ' + -((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) + +((__t = (ctx.t(ctx.component.addAnother || 'addAnother', { _userInput: !!ctx.component.addAnother }))) == null ? '' : __t) + '\n \n \n \n \n '; } ; __p += '\n\n'; diff --git a/lib/cjs/templates/bootstrap5/day/form.ejs.js b/lib/cjs/templates/bootstrap5/day/form.ejs.js index e1d9866a8..8b6009b67 100644 --- a/lib/cjs/templates/bootstrap5/day/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/day/form.ejs.js @@ -35,7 +35,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -53,7 +53,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -71,7 +71,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -89,7 +89,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + diff --git a/lib/cjs/templates/bootstrap5/dialog/form.ejs.js b/lib/cjs/templates/bootstrap5/dialog/form.ejs.js index c461f21cc..e19f91fd7 100644 --- a/lib/cjs/templates/bootstrap5/dialog/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/dialog/form.ejs.js @@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { }); exports.default=function(ctx) { var __t, __p = ''; -__p += '
    \n
    \n \n
    \n'; +__p += '
    \n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap5/editgrid/form.ejs.js b/lib/cjs/templates/bootstrap5/editgrid/form.ejs.js index 59768b53a..31219339d 100644 --- a/lib/cjs/templates/bootstrap5/editgrid/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/editgrid/form.ejs.js @@ -29,13 +29,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; @@ -57,7 +57,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/cjs/templates/bootstrap5/editgrid/html.ejs.js b/lib/cjs/templates/bootstrap5/editgrid/html.ejs.js index 27ee84e53..88eb87b89 100644 --- a/lib/cjs/templates/bootstrap5/editgrid/html.ejs.js +++ b/lib/cjs/templates/bootstrap5/editgrid/html.ejs.js @@ -29,13 +29,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; diff --git a/lib/cjs/templates/bootstrap5/editgridTable/form.ejs.js b/lib/cjs/templates/bootstrap5/editgridTable/form.ejs.js index f67dcce7a..113894828 100644 --- a/lib/cjs/templates/bootstrap5/editgridTable/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/editgridTable/form.ejs.js @@ -29,13 +29,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; @@ -61,7 +61,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/cjs/templates/bootstrap5/editgridTable/html.ejs.js b/lib/cjs/templates/bootstrap5/editgridTable/html.ejs.js index 183ef03ed..113d5fe71 100644 --- a/lib/cjs/templates/bootstrap5/editgridTable/html.ejs.js +++ b/lib/cjs/templates/bootstrap5/editgridTable/html.ejs.js @@ -29,13 +29,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; diff --git a/lib/cjs/templates/bootstrap5/file/form.ejs.js b/lib/cjs/templates/bootstrap5/file/form.ejs.js index ad0b44be8..6493126a5 100644 --- a/lib/cjs/templates/bootstrap5/file/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/file/form.ejs.js @@ -17,23 +17,23 @@ __p += '\n'; __p += '\n '; if (ctx.options.vpat) { ; __p += '\n
    ' + -((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) + +((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)) == null ? '' : __t) + '
    \n '; } ; __p += '\n
      \n \n '; @@ -61,7 +61,7 @@ __p += '\n ' + __p += '\n \n ' + -((__t = (ctx.t('Press to open '))) == null ? '' : __t) + +((__t = (ctx.t('pressToOpen') + ' ')) == null ? '' : __t) + '' + ((__t = (file.originalName || file.name)) == null ? '' : __t) + '\n \n '; @@ -165,7 +165,7 @@ __p += '\n
      \n
      \n ' + ((__t = (file.progress)) == null ? '' : __t) + '% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + '\n
      \n
      \n '; } else { ; __p += '\n
      \n '; +'" ref="removeLink" aria-label="' + +((__t = (ctx.t('removeBtnPressToRemove') + ' ' + (file.originalName || file.name) + ' ' + ctx.t('file'))) == null ? '' : __t) + +'">\n '; } ; __p += '\n \n
      \n '; }) ; +__p += '\n '; + ctx.filesToUpload.forEach(function(file) { ; +__p += '\n '; + if (file.status === 'progress') { ; +__p += '\n
      ' + +((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + +'
      \n
      \n
      \n ' + +((__t = (file.progress)) == null ? '' : __t) + +'% ' + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + +'\n
      \n
      \n '; + } else { ; +__p += '\n
      ' + +((__t = (ctx.t(file.message))) == null ? '' : __t) + +'
      \n '; + } ; +__p += '\n '; + }) ; __p += '\n
    \n'; } ; __p += '\n'; @@ -239,11 +267,11 @@ __p += '\n '; __p += '\n
    \n \n \n
    \n '; } else if (!ctx.self.cameraMode) { ; __p += '\n
    ' + -((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) + +((__t = (ctx.t('dropFilesToAttach'))) == null ? '' : __t) + '\n '; } ; __p += '\n '; @@ -261,7 +289,7 @@ __p += '\n '; __p += '\n ' + -((__t = (ctx.t('Use Camera'))) == null ? '' : __t) + +((__t = (ctx.t('useCamera'))) == null ? '' : __t) + '\n ' + ((__t = (ctx.t('or'))) == null ? '' : __t) + '\n '; @@ -273,19 +301,19 @@ __p += '\n '; __p += '\n ' + -((__t = (ctx.t('Capture Video'))) == null ? '' : __t) + +((__t = (ctx.t('captureVideo'))) == null ? '' : __t) + '\n '; } else if (ctx.component.filePattern && ctx.component.filePattern.includes("audio")) { ; __p += '\n ' + -((__t = (ctx.t('Capture Audio'))) == null ? '' : __t) + +((__t = (ctx.t('captureAudio'))) == null ? '' : __t) + '\n '; } else { ; __p += '\n ' + -((__t = (ctx.t('Capture Image'))) == null ? '' : __t) + +((__t = (ctx.t('captureImage'))) == null ? '' : __t) + '\n '; } ; __p += '\n '; @@ -293,21 +321,21 @@ __p += '\n '; __p += '\n ' + -((__t = (ctx.t('Browse Files'))) == null ? '' : __t) + +((__t = (ctx.t('browseFiles'))) == null ? '' : __t) + '\n '; } ; __p += '\n \n ' + -((__t = (ctx.t('Browse to attach file for ' + ctx.component.label + '. ' + - (ctx.component.description ? ctx.component.description + '. ' : '') + - ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)))) == null ? '' : __t) + +((__t = (ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' + + (ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') + + ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern))) == null ? '' : __t) + '\n \n \n
    \n
    \n
    \n
    \n '; } else { ; __p += '\n
    \n \n
    \n \n \n '; } ; __p += '\n'; @@ -317,25 +345,25 @@ __p += '\n'; __p += '\n
    \n '; if (!ctx.component.storage) { ; __p += '\n

    ' + -((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) + +((__t = (ctx.t('noStorageSet'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.filereader) { ; __p += '\n

    ' + -((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) + +((__t = (ctx.t('noFileApiSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.formdata) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) + +((__t = (ctx.t('noFormDataSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.progress) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) + +((__t = (ctx.t('noProgressSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n
    \n'; diff --git a/lib/cjs/templates/bootstrap5/iconClass.js b/lib/cjs/templates/bootstrap5/iconClass.js index 819a00cdd..81d4ac702 100644 --- a/lib/cjs/templates/bootstrap5/iconClass.js +++ b/lib/cjs/templates/bootstrap5/iconClass.js @@ -106,15 +106,18 @@ exports.default = (iconset, name, spinning) => { biName = 'plus-lg'; break; case 'question-sign': + name = 'question-circle'; biName = 'question-circle'; break; case 'remove-circle': biName = 'x-circle'; break; case 'new-window': + name = 'window-restore'; biName = 'window-plus'; break; case 'move': + name = 'arrows'; biName = 'arrows-move'; break; case 'edit': @@ -132,6 +135,36 @@ exports.default = (iconset, name, spinning) => { case 'folder-open': biName = 'folder2-open'; break; + case 'check-circle': + biName = 'check-circle-fill'; + break; + case 'times-circle': + biName = 'x-circle-fill'; + break; + case 'pencil': + biName = 'pencil-fill'; + break; + case 'minus': + biName = 'dash'; + break; + case 'circle': + biName = 'circle-fill'; + break; + case 'search-plus': + biName = 'zoom-in'; + break; + case 'search-minus': + biName = 'zoom-out'; + break; + case 'hand-paper-o': + biName = 'hand-index'; + break; + case 'undo': + biName = 'arrow-counterclockwise'; + break; + case 'repeat': + biName = 'arrow-clockwise'; + break; } return spinning ? 'spinner-border spinner-border-sm' : `fa fa-${name} bi bi-${biName}`; }; diff --git a/lib/cjs/templates/bootstrap5/loading/form.ejs.js b/lib/cjs/templates/bootstrap5/loading/form.ejs.js index ff963707b..41038bf80 100644 --- a/lib/cjs/templates/bootstrap5/loading/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/loading/form.ejs.js @@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { }); exports.default=function(ctx) { var __t, __p = ''; -__p += 'Loading...\n'; +__p += +((__t = (ctx.t('loading'))) == null ? '' : __t) + +'...\n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap5/modaldialog/form.ejs.js b/lib/cjs/templates/bootstrap5/modaldialog/form.ejs.js index 05037b061..b9b321d3e 100644 --- a/lib/cjs/templates/bootstrap5/modaldialog/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/modaldialog/form.ejs.js @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { exports.default=function(ctx) { var __t, __p = ''; __p += '
    \n
    \n
    \n \n ' + -((__t = (ctx.t('Close'))) == null ? '' : __t) + +((__t = (ctx.t('close'))) == null ? '' : __t) + '\n \n
    \n
    \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap5/panel/form.ejs.js b/lib/cjs/templates/bootstrap5/panel/form.ejs.js index 8fe0fe787..5c253a6b1 100644 --- a/lib/cjs/templates/bootstrap5/panel/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/panel/form.ejs.js @@ -5,7 +5,7 @@ exports.default=function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; + if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; __p += '\n
    \n '; } ; __p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; + if (!ctx.label.hidden || ctx.builder) { ; __p += '\n ' + ((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + '\n '; diff --git a/lib/cjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js b/lib/cjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js index 0f9925ff9..9424692e7 100644 --- a/lib/cjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js @@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", { exports.default=function(ctx) { var __t, __p = ''; __p += '
    \n

    ' + -((__t = (ctx.t('Upload a PDF File'))) == null ? '' : __t) + +((__t = (ctx.t('uploadPdfFile'))) == null ? '' : __t) + '

    \n \n
    \n \n ' + -((__t = (ctx.t('Drop pdf to start, or'))) == null ? '' : __t) + +((__t = (ctx.t('dropToStart'))) == null ? '' : __t) + ' ' + ((__t = (ctx.t('browse'))) == null ? '' : __t) + '\n \n \n
    \n
    \n\n
    \n
    \n\n'; diff --git a/lib/cjs/templates/bootstrap5/resourceAdd/form.ejs.js b/lib/cjs/templates/bootstrap5/resourceAdd/form.ejs.js index b6af540e4..0fd96c5a8 100644 --- a/lib/cjs/templates/bootstrap5/resourceAdd/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/resourceAdd/form.ejs.js @@ -8,7 +8,7 @@ __p += '\n \n \n \n \n \n \n \n \n
    \n '\n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap5/table/form.ejs.js b/lib/cjs/templates/bootstrap5/table/form.ejs.js index 9467c6d04..924448a10 100644 --- a/lib/cjs/templates/bootstrap5/table/form.ejs.js +++ b/lib/cjs/templates/bootstrap5/table/form.ejs.js @@ -18,7 +18,7 @@ __p += '' + ((__t = (ctx.t(header))) == null ? '' : __t) + '\n '; }) ; @@ -30,7 +30,7 @@ __p += '\n \n '; row.forEach(function(column, colIndex) { ; -__p += '\n \n \n \n \n \n '; } ; __p += '\n
    \n
    ' + '
    \n '; if (!ctx.readOnly) { ; __p += '\n
    \n \n \n
    \n '; } ; __p += '\n\n'; diff --git a/lib/cjs/templates/bootstrap5/tree/partials/view.ejs.js b/lib/cjs/templates/bootstrap5/tree/partials/view.ejs.js index e508dd952..ff823dab2 100644 --- a/lib/cjs/templates/bootstrap5/tree/partials/view.ejs.js +++ b/lib/cjs/templates/bootstrap5/tree/partials/view.ejs.js @@ -13,21 +13,21 @@ __p += '\n
    \n ' + __p += '\n
    \n
    \n '; if (ctx.node.hasChildren) { ; __p += '\n \n '; } ; __p += '\n '; if (!ctx.readOnly) { ; __p += '\n \n \n \n '; if (ctx.node.revertAvailable) { ; __p += '\n \n '; } ; __p += '\n '; diff --git a/lib/mjs/bootstrap3.d.ts b/lib/mjs/bootstrap3.d.ts index d6c2958a3..ec011bdae 100644 --- a/lib/mjs/bootstrap3.d.ts +++ b/lib/mjs/bootstrap3.d.ts @@ -147,6 +147,91 @@ declare const _default: { paginationBottom: { html: string; }; + selectAllContent: { + html: string; + }; + }; + }; + translations: { + en: { + edit: string; + remove: string; + addAnother: string; + next: string; + previous: string; + cancel: string; + loading: string; + help: string; + component: string; + save: string; + preview: string; + dragAndDropComponent: string; + searchFields: string; + noMatchesFound: string; + fileName: string; + size: string; + type: string; + gallery: string; + camera: string; + dropFilesToAttach: string; + useCamera: string; + browse: string; + takePicture: string; + switchToFileUpload: string; + completeStatus: string; + noStorageSet: string; + noFileApiSupport: string; + noFormDataSupport: string; + noProgressSupport: string; + close: string; + addResource: string; + autocomplete: string; + showPreview: string; + hidePreview: string; + createPage: string; + page: string; + closeBtnDescription: string; + cancelBtnDescription: string; + saveBtnDescription: string; + addOrRemove: string; + anyFileTypesAllowed: string; + allowedFileTypes: string; + syncing: string; + syncNow: string; + pressToOpen: string; + browseToAttachFileFor: string; + or: string; + numericOnly: string; + uploadPdfFile: string; + dropToStart: string; + expand: string; + collapse: string; + add: string; + delete: string; + revert: string; + removeBtnPressToRemove: string; + file: string; + captureVideo: string; + captureAudio: string; + captureImage: string; + browseFiles: string; + noComponentsSetInGrid: string; + sortAscending: string; + sortDescending: string; + filter: string; + clear: string; + showItemsWithValue: string; + gridItemsPerPage: string; + gridAllItems: string; + recordsSelectedOnPage: string; + recordsSelectedInTable: string; + gridSelectAll: string; + itemsInTable: string; + clearSelection: string; + editGridRow: string; + deleteGridRow: string; + selected: string; + actions: string; }; }; }; diff --git a/lib/mjs/bootstrap3.js b/lib/mjs/bootstrap3.js index c64476c00..57a979dc0 100644 --- a/lib/mjs/bootstrap3.js +++ b/lib/mjs/bootstrap3.js @@ -1,7 +1,9 @@ import bootstrap3 from './templates/bootstrap3'; +import translations from './translations'; export default { framework: 'bootstrap3', templates: { bootstrap3 }, + translations }; diff --git a/lib/mjs/bootstrap4.d.ts b/lib/mjs/bootstrap4.d.ts index 8f06e751e..9380586d0 100644 --- a/lib/mjs/bootstrap4.d.ts +++ b/lib/mjs/bootstrap4.d.ts @@ -46,6 +46,9 @@ declare const _default: { paginationBottom: { html: string; }; + selectAllContent: { + html: string; + }; treeView: { form: string; }; @@ -242,5 +245,87 @@ declare const _default: { }; }; }; + translations: { + en: { + edit: string; + remove: string; + addAnother: string; + next: string; + previous: string; + cancel: string; + loading: string; + help: string; + component: string; + save: string; + preview: string; + dragAndDropComponent: string; + searchFields: string; + noMatchesFound: string; + fileName: string; + size: string; + type: string; + gallery: string; + camera: string; + dropFilesToAttach: string; + useCamera: string; + browse: string; + takePicture: string; + switchToFileUpload: string; + completeStatus: string; + noStorageSet: string; + noFileApiSupport: string; + noFormDataSupport: string; + noProgressSupport: string; + close: string; + addResource: string; + autocomplete: string; + showPreview: string; + hidePreview: string; + createPage: string; + page: string; + closeBtnDescription: string; + cancelBtnDescription: string; + saveBtnDescription: string; + addOrRemove: string; + anyFileTypesAllowed: string; + allowedFileTypes: string; + syncing: string; + syncNow: string; + pressToOpen: string; + browseToAttachFileFor: string; + or: string; + numericOnly: string; + uploadPdfFile: string; + dropToStart: string; + expand: string; + collapse: string; + add: string; + delete: string; + revert: string; + removeBtnPressToRemove: string; + file: string; + captureVideo: string; + captureAudio: string; + captureImage: string; + browseFiles: string; + noComponentsSetInGrid: string; + sortAscending: string; + sortDescending: string; + filter: string; + clear: string; + showItemsWithValue: string; + gridItemsPerPage: string; + gridAllItems: string; + recordsSelectedOnPage: string; + recordsSelectedInTable: string; + gridSelectAll: string; + itemsInTable: string; + clearSelection: string; + editGridRow: string; + deleteGridRow: string; + selected: string; + actions: string; + }; + }; }; export default _default; diff --git a/lib/mjs/bootstrap4.js b/lib/mjs/bootstrap4.js index ab03d110f..2b988b9c1 100644 --- a/lib/mjs/bootstrap4.js +++ b/lib/mjs/bootstrap4.js @@ -1,7 +1,9 @@ import bootstrap4 from './templates/bootstrap4'; +import translations from './translations'; export default { framework: 'bootstrap4', templates: { bootstrap4 }, + translations }; diff --git a/lib/mjs/bootstrap5.d.ts b/lib/mjs/bootstrap5.d.ts index e0798e967..86b657d31 100644 --- a/lib/mjs/bootstrap5.d.ts +++ b/lib/mjs/bootstrap5.d.ts @@ -228,5 +228,87 @@ declare const _default: { }; }; }; + translations: { + en: { + edit: string; + remove: string; + addAnother: string; + next: string; + previous: string; + cancel: string; + loading: string; + help: string; + component: string; + save: string; + preview: string; + dragAndDropComponent: string; + searchFields: string; + noMatchesFound: string; + fileName: string; + size: string; + type: string; + gallery: string; + camera: string; + dropFilesToAttach: string; + useCamera: string; + browse: string; + takePicture: string; + switchToFileUpload: string; + completeStatus: string; + noStorageSet: string; + noFileApiSupport: string; + noFormDataSupport: string; + noProgressSupport: string; + close: string; + addResource: string; + autocomplete: string; + showPreview: string; + hidePreview: string; + createPage: string; + page: string; + closeBtnDescription: string; + cancelBtnDescription: string; + saveBtnDescription: string; + addOrRemove: string; + anyFileTypesAllowed: string; + allowedFileTypes: string; + syncing: string; + syncNow: string; + pressToOpen: string; + browseToAttachFileFor: string; + or: string; + numericOnly: string; + uploadPdfFile: string; + dropToStart: string; + expand: string; + collapse: string; + add: string; + delete: string; + revert: string; + removeBtnPressToRemove: string; + file: string; + captureVideo: string; + captureAudio: string; + captureImage: string; + browseFiles: string; + noComponentsSetInGrid: string; + sortAscending: string; + sortDescending: string; + filter: string; + clear: string; + showItemsWithValue: string; + gridItemsPerPage: string; + gridAllItems: string; + recordsSelectedOnPage: string; + recordsSelectedInTable: string; + gridSelectAll: string; + itemsInTable: string; + clearSelection: string; + editGridRow: string; + deleteGridRow: string; + selected: string; + actions: string; + }; + }; }; export default _default; diff --git a/lib/mjs/bootstrap5.js b/lib/mjs/bootstrap5.js index 191003e79..8acaec9ff 100644 --- a/lib/mjs/bootstrap5.js +++ b/lib/mjs/bootstrap5.js @@ -1,7 +1,9 @@ import bootstrap5 from './templates/bootstrap5'; +import translations from './translations'; export default { framework: 'bootstrap5', templates: { bootstrap5 }, + translations }; diff --git a/lib/mjs/templates/bootstrap3/builderEditForm/form.ejs.js b/lib/mjs/templates/bootstrap3/builderEditForm/form.ejs.js index 3d6bc29eb..fcbe4027b 100644 --- a/lib/mjs/templates/bootstrap3/builderEditForm/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/builderEditForm/form.ejs.js @@ -4,7 +4,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n

    ' + ((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) + ' ' + -((__t = (ctx.t('Component'))) == null ? '' : __t) + +((__t = (ctx.t('component'))) == null ? '' : __t) + '

    \n
    \n '; if (ctx.helplinks) { ; __p += '\n \n
    \n
    \n
    \n ' + '\n
    \n '; if (!ctx.preview) { ; __p += '\n
    \n \n \n \n
    \n '; } ; __p += '\n
    \n '; if (ctx.preview) { ; __p += '\n
    \n
    \n
    \n

    ' + -((__t = (ctx.t('Preview'))) == null ? '' : __t) + +((__t = (ctx.t('preview'))) == null ? '' : __t) + '

    \n
    \n
    \n
    \n ' + ((__t = (ctx.preview)) == null ? '' : __t) + '\n
    \n
    \n
    \n '; @@ -46,11 +46,11 @@ __p += '\n
    \n ' + '\n
    \n '; } ; __p += '\n
    \n \n \n \n
    \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/mjs/templates/bootstrap3/builderPlaceholder/form.ejs.js b/lib/mjs/templates/bootstrap3/builderPlaceholder/form.ejs.js index a4361fb36..83837cc21 100644 --- a/lib/mjs/templates/bootstrap3/builderPlaceholder/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/builderPlaceholder/form.ejs.js @@ -3,7 +3,7 @@ var __t, __p = ''; __p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + +((__t = (ctx.t('dragAndDropComponent'))) == null ? '' : __t) + '\n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js b/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js index 560cbc952..e46ebf8a0 100644 --- a/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js @@ -4,7 +4,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n \n
    \n '; diff --git a/lib/mjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js b/lib/mjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js index 3c49881aa..e8241c944 100644 --- a/lib/mjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js @@ -46,7 +46,7 @@ __p += '\n ' + '\n '; } else { ; __p += '\n
    ' + -((__t = (ctx.t('No Matches Found'))) == null ? '' : __t) + +((__t = (ctx.t('noMatchesFound'))) == null ? '' : __t) + '
    \n '; } ; __p += '\n
    \n
    \n
    \n\n'; diff --git a/lib/mjs/templates/bootstrap3/column-menu/html.ejs.js b/lib/mjs/templates/bootstrap3/column-menu/html.ejs.js index 9ca992337..e2150ff68 100644 --- a/lib/mjs/templates/bootstrap3/column-menu/html.ejs.js +++ b/lib/mjs/templates/bootstrap3/column-menu/html.ejs.js @@ -3,35 +3,49 @@ 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 \r\n \r\n \r\n '; } ; __p += '\r\n \r\n
    \r\n'; return __p diff --git a/lib/mjs/templates/bootstrap3/datagrid/form.ejs.js b/lib/mjs/templates/bootstrap3/datagrid/form.ejs.js index cb70db851..5125f12b9 100644 --- a/lib/mjs/templates/bootstrap3/datagrid/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/datagrid/form.ejs.js @@ -44,7 +44,7 @@ __p += '\n \n '; } ; __p += '\n \n '; @@ -118,7 +118,7 @@ __p += '\n
    \n ' + -((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) + +((__t = (ctx.t(ctx.component.addAnother || 'addAnother', { _userInput: !!ctx.component.addAnother }))) == null ? '' : __t) + '\n \n
    \n'; diff --git a/lib/mjs/templates/bootstrap3/day/form.ejs.js b/lib/mjs/templates/bootstrap3/day/form.ejs.js index 1542187fb..fd0130b43 100644 --- a/lib/mjs/templates/bootstrap3/day/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/day/form.ejs.js @@ -12,7 +12,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -30,7 +30,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -48,7 +48,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -66,7 +66,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + diff --git a/lib/mjs/templates/bootstrap3/editgrid/form.ejs.js b/lib/mjs/templates/bootstrap3/editgrid/form.ejs.js index ea9bf2499..289ad209a 100644 --- a/lib/mjs/templates/bootstrap3/editgrid/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/editgrid/form.ejs.js @@ -26,13 +26,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; @@ -54,7 +54,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/mjs/templates/bootstrap3/editgrid/html.ejs.js b/lib/mjs/templates/bootstrap3/editgrid/html.ejs.js index 8ec4c5f25..531ebf918 100644 --- a/lib/mjs/templates/bootstrap3/editgrid/html.ejs.js +++ b/lib/mjs/templates/bootstrap3/editgrid/html.ejs.js @@ -26,13 +26,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; diff --git a/lib/mjs/templates/bootstrap3/file/form.ejs.js b/lib/mjs/templates/bootstrap3/file/form.ejs.js index b39e368a5..a7ef9de59 100644 --- a/lib/mjs/templates/bootstrap3/file/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/file/form.ejs.js @@ -14,13 +14,13 @@ __p += '7'; __p += '9'; } ; __p += '">' + -((__t = (ctx.t('File Name'))) == null ? '' : __t) + +((__t = (ctx.t('fileName'))) == null ? '' : __t) + '
    \n
    ' + -((__t = (ctx.t('Size'))) == null ? '' : __t) + +((__t = (ctx.t('size'))) == null ? '' : __t) + '
    \n '; if (ctx.self.hasTypes) { ; __p += '\n
    ' + -((__t = (ctx.t('Type'))) == null ? '' : __t) + +((__t = (ctx.t('type'))) == null ? '' : __t) + '
    \n '; } ; __p += '\n
    \n \n '; @@ -98,9 +98,9 @@ __p += '\n'; __p += '\n '; if (ctx.self.useWebViewCamera) { ; __p += '\n
    \n \n \n
    \n '; } else if (!ctx.self.cameraMode) { ; __p += '\n
    \n ' + -((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) + +((__t = (ctx.t('dropFilesToAttach'))) == null ? '' : __t) + '\n '; if (ctx.self.imageUpload && ctx.component.webcam) { ; __p += '\n ' + -((__t = (ctx.t('Use Camera,'))) == null ? '' : __t) + +((__t = (ctx.t('useCamera') + ',')) == null ? '' : __t) + '\n '; } ; __p += '\n ' + @@ -122,9 +122,9 @@ __p += '\n ' + '\n
    \n '; } else { ; __p += '\n
    \n \n
    \n \n \n '; } ; __p += '\n'; @@ -148,7 +148,7 @@ __p += '\n
    \n
    \n ' + ((__t = (status.progress)) == null ? '' : __t) + '% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + '\n
    \n
    \n '; } else if (status.status === 'error'){ ; __p += '\n
    \n '; if (!ctx.component.storage) { ; __p += '\n

    ' + -((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) + +((__t = (ctx.t('noStorageSet'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.filereader) { ; __p += '\n

    ' + -((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) + +((__t = (ctx.t('noFileApiSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.formdata) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) + +((__t = (ctx.t('noFormDataSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.progress) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) + +((__t = (ctx.t('noProgressSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n
    \n'; diff --git a/lib/mjs/templates/bootstrap3/grid/html.ejs.js b/lib/mjs/templates/bootstrap3/grid/html.ejs.js index 1810fa6ac..d6945df3c 100644 --- a/lib/mjs/templates/bootstrap3/grid/html.ejs.js +++ b/lib/mjs/templates/bootstrap3/grid/html.ejs.js @@ -7,15 +7,23 @@ __p += '\n
    \n '; if (ctx.selectedRows) { ; __p += '\n ' + ((__t = (ctx.selectedRows)) == null ? '' : __t) + -' selected\n '; +' ' + +((__t = (ctx.t('selected'))) == null ? '' : __t) + +'\n '; } ; __p += '\n
    \n '; } ; -__p += '\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n '; + if (ctx.component.selectAllRows) { ; +__p += '\n
    \n '; + } ; +__p += '\n
    \n \n \n '; if (!ctx.component.components.length) { ; -__p += '\n \n '; +__p += '\n \n '; } ; __p += '\n '; if (ctx.component.enableRowSelect) { ; @@ -30,7 +38,7 @@ __p += '\n '; __p += '\n '; if (comp.show) { ; __p += '\n \n '; } ; diff --git a/lib/mjs/templates/bootstrap4/address/form.ejs.js b/lib/mjs/templates/bootstrap4/address/form.ejs.js index e565f0704..f3509d985 100644 --- a/lib/mjs/templates/bootstrap4/address/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/address/form.ejs.js @@ -42,7 +42,7 @@ __p += '\n '; __p += 'disabled=true'; } ; __p += '\n >\n ' + -((__t = ( ctx.component.switchToManualModeLabel )) == null ? '' : __t) + +((__t = ( ctx.t(ctx.component.switchToManualModeLabel) )) == null ? '' : __t) + '\n \n \n'; } ; __p += '\n'; diff --git a/lib/mjs/templates/bootstrap4/builderEditForm/form.ejs.js b/lib/mjs/templates/bootstrap4/builderEditForm/form.ejs.js index f695460a4..95081c2d1 100644 --- a/lib/mjs/templates/bootstrap4/builderEditForm/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/builderEditForm/form.ejs.js @@ -4,7 +4,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n
    \n

    ' + ((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) + ' ' + -((__t = (ctx.t('Component'))) == null ? '' : __t) + +((__t = (ctx.t('component'))) == null ? '' : __t) + '

    \n
    \n '; if (ctx.helplinks) { ; __p += '\n \n
    \n
    \n
    \n \n \n \n '; if (ctx.preview) { ; __p += '\n \n '; } ; __p += '\n
    \n '; @@ -38,7 +38,7 @@ __p += '\n
    \n '; __p += '\n
    \n '; if (ctx.showPreview && ctx.preview) { ; __p += '\n
    \n
    \n
    \n

    ' + -((__t = (ctx.t('Preview'))) == null ? '' : __t) + +((__t = (ctx.t('preview'))) == null ? '' : __t) + '

    \n
    \n
    \n
    \n ' + ((__t = (ctx.preview)) == null ? '' : __t) + '\n
    \n
    \n
    \n '; @@ -48,13 +48,13 @@ __p += '\n
    \n '\n
    \n '; } ; __p += '\n
    \n \n \n \n \n
    \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/mjs/templates/bootstrap4/builderPlaceholder/form.ejs.js b/lib/mjs/templates/bootstrap4/builderPlaceholder/form.ejs.js index 9244a6555..049bd0df3 100644 --- a/lib/mjs/templates/bootstrap4/builderPlaceholder/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/builderPlaceholder/form.ejs.js @@ -3,7 +3,7 @@ var __t, __p = ''; __p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + +((__t = (ctx.t('dragAndDropComponent'))) == null ? '' : __t) + '\n\n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap4/builderSidebar/form.ejs.js b/lib/mjs/templates/bootstrap4/builderSidebar/form.ejs.js index 11afae41d..8612f5993 100644 --- a/lib/mjs/templates/bootstrap4/builderSidebar/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/builderSidebar/form.ejs.js @@ -6,7 +6,7 @@ __p += '
    \n \n
    \n '; ctx.groups.forEach(function(group) { ; __p += '\n ' + diff --git a/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js b/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js index 283e7057f..81be3e98e 100644 --- a/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js @@ -38,7 +38,7 @@ __p += '\n \n '; if (ctx.group.components[componentKey].icon) { ; __p += '\n ' + '\n \n '; }) ; __p += '\n
  • \n \n ' + -((__t = (ctx.t('Page'))) == null ? '' : __t) + +((__t = (ctx.t('page'))) == null ? '' : __t) + '\n \n
  • \n \n
    \n ' + ((__t = (ctx.form)) == null ? '' : __t) + '\n
    \n
    \n
    \n'; diff --git a/lib/mjs/templates/bootstrap4/column-menu/html.ejs.js b/lib/mjs/templates/bootstrap4/column-menu/html.ejs.js index 51a83d35e..5b596a407 100644 --- a/lib/mjs/templates/bootstrap4/column-menu/html.ejs.js +++ b/lib/mjs/templates/bootstrap4/column-menu/html.ejs.js @@ -3,35 +3,49 @@ 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 \r\n \r\n '; } ; __p += '\r\n \r\n\r\n'; return __p diff --git a/lib/mjs/templates/bootstrap4/componentModal/form.ejs.js b/lib/mjs/templates/bootstrap4/componentModal/form.ejs.js index 1609e95fb..32bd7b502 100644 --- a/lib/mjs/templates/bootstrap4/componentModal/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/componentModal/form.ejs.js @@ -21,24 +21,32 @@ __p += ' ref="modalContents">\n
    \n '; @@ -79,9 +79,9 @@ __p += '\n \n '; if (ctx.component.reorder) { ; -__p += '\n \n '; +'" style="display: block; margin: 0 auto">\n \n '; } ; __p += '\n '; ctx.columns.forEach(function(col) { ; @@ -101,13 +101,13 @@ __p += '\n '; if (ctx.hasExtraColumn) { ; __p += '\n '; if (ctx.hasRemoveButtons) { ; -__p += '\n \n '; } ; @@ -134,7 +134,7 @@ __p += '\n \n \n \n \n \n '; } ; __p += '\n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.' + +((__t = (ctx.t('noComponentsSetInGrid'))) == null ? '' : __t) + +'\n ' + -((__t = ( comp.label || comp.key )) == null ? '' : __t) + +((__t = ( ctx.t(comp.label || comp.key, { _userInput: true }) )) == null ? '' : __t) + '\n '; if (ctx.options.sortable && comp.sortable) { ; __p += '\n \n
    \n Actions\n '; +__p += '\n
    \n
    \n ' + +((__t = (ctx.t('actions'))) == null ? '' : __t) + +'\n '; if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; __p += '\n \n
    \n
    \n\n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/pagination/html.ejs.js b/lib/mjs/templates/bootstrap3/pagination/html.ejs.js index 435611c1e..a391e5800 100644 --- a/lib/mjs/templates/bootstrap3/pagination/html.ejs.js +++ b/lib/mjs/templates/bootstrap3/pagination/html.ejs.js @@ -2,7 +2,11 @@ export default function(ctx) { var __t, __p = ''; __p += '\n'; return __p diff --git a/lib/mjs/templates/bootstrap3/panel/form.ejs.js b/lib/mjs/templates/bootstrap3/panel/form.ejs.js index 173d6a688..2bc88c082 100644 --- a/lib/mjs/templates/bootstrap3/panel/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/panel/form.ejs.js @@ -4,7 +4,7 @@ function print() { __p += __j.call(arguments, '') } __p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; + if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; __p += '\n
    \n '; } ; __p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; + if (!ctx.label.hidden || ctx.builder) { ; __p += '\n ' + ((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + '\n '; diff --git a/lib/mjs/templates/bootstrap3/resourceAdd/form.ejs.js b/lib/mjs/templates/bootstrap3/resourceAdd/form.ejs.js index 54bc43d00..dcddea07b 100644 --- a/lib/mjs/templates/bootstrap3/resourceAdd/form.ejs.js +++ b/lib/mjs/templates/bootstrap3/resourceAdd/form.ejs.js @@ -5,7 +5,7 @@ __p += '\n \n \n \n \n \n \n \n \n
    \n '\n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap3/tbody/html.ejs.js b/lib/mjs/templates/bootstrap3/tbody/html.ejs.js index f52e71ee9..0613b2b0a 100644 --- a/lib/mjs/templates/bootstrap3/tbody/html.ejs.js +++ b/lib/mjs/templates/bootstrap3/tbody/html.ejs.js @@ -25,13 +25,17 @@ __p += '\n '; if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; __p += '\n
    \n
    \n \n ⋮\n
    \n
    \n ' + -((__t = ( ctx.t('Add/Remove') )) == null ? '' : __t) + +((__t = ( ctx.t('addOrRemove') )) == null ? '' : __t) + '\n '; if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ; __p += '\n \n '; } ; __p += '\n
    \n \n \n \n
    \n ' + -((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) + +((__t = (ctx.t(ctx.component.addAnother || 'addAnother', { _userInput: !!ctx.component.addAnother }))) == null ? '' : __t) + '\n \n
    \n'; diff --git a/lib/mjs/templates/bootstrap4/day/form.ejs.js b/lib/mjs/templates/bootstrap4/day/form.ejs.js index 082c860e5..c1e8a46fd 100644 --- a/lib/mjs/templates/bootstrap4/day/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/day/form.ejs.js @@ -32,7 +32,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -50,7 +50,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -68,7 +68,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -86,7 +86,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + diff --git a/lib/mjs/templates/bootstrap4/editgrid/form.ejs.js b/lib/mjs/templates/bootstrap4/editgrid/form.ejs.js index b3be52dc4..5ba60737a 100644 --- a/lib/mjs/templates/bootstrap4/editgrid/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/editgrid/form.ejs.js @@ -26,13 +26,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; @@ -54,7 +54,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/mjs/templates/bootstrap4/editgrid/html.ejs.js b/lib/mjs/templates/bootstrap4/editgrid/html.ejs.js index 8ec4c5f25..c73c2517d 100644 --- a/lib/mjs/templates/bootstrap4/editgrid/html.ejs.js +++ b/lib/mjs/templates/bootstrap4/editgrid/html.ejs.js @@ -26,13 +26,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; diff --git a/lib/mjs/templates/bootstrap4/editgridTable/form.ejs.js b/lib/mjs/templates/bootstrap4/editgridTable/form.ejs.js index fe359eb61..c017b9bac 100644 --- a/lib/mjs/templates/bootstrap4/editgridTable/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/editgridTable/form.ejs.js @@ -26,13 +26,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; @@ -58,7 +58,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/mjs/templates/bootstrap4/editgridTable/html.ejs.js b/lib/mjs/templates/bootstrap4/editgridTable/html.ejs.js index 3d7b16c9f..f682e1701 100644 --- a/lib/mjs/templates/bootstrap4/editgridTable/html.ejs.js +++ b/lib/mjs/templates/bootstrap4/editgridTable/html.ejs.js @@ -26,13 +26,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; diff --git a/lib/mjs/templates/bootstrap4/file/form.ejs.js b/lib/mjs/templates/bootstrap4/file/form.ejs.js index cf9a37d83..13c93b070 100644 --- a/lib/mjs/templates/bootstrap4/file/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/file/form.ejs.js @@ -14,23 +14,23 @@ __p += '\n'; __p += '\n '; if (ctx.options.vpat) { ; __p += '\n
    ' + -((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) + +((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)) == null ? '' : __t) + '
    \n '; } ; __p += '\n
      \n \n '; @@ -58,7 +58,7 @@ __p += '\n ' + __p += '\n \n ' + -((__t = (ctx.t('Press to open '))) == null ? '' : __t) + +((__t = (ctx.t('pressToOpen') + ' ')) == null ? '' : __t) + '' + ((__t = (file.originalName || file.name)) == null ? '' : __t) + '\n \n '; @@ -162,7 +162,7 @@ __p += '\n
      \n
      \n ' + ((__t = (file.progress)) == null ? '' : __t) + '% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + '\n
      \n
      \n '; } else { ; __p += '\n
      ' + +((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + +'
      \n
      \n
      \n ' + +((__t = (file.progress)) == null ? '' : __t) + +'% ' + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + +'\n
      \n
      \n '; + } else { ; +__p += '\n
      ' + +((__t = (ctx.t(file.message))) == null ? '' : __t) + +'
      \n '; + } ; +__p += '\n '; + }) ; __p += '\n
    \n'; } ; __p += '\n'; @@ -236,11 +262,11 @@ __p += '\n '; __p += '\n
    \n \n \n
    \n '; } else if (!ctx.self.cameraMode) { ; __p += '\n \n '; } else { ; __p += '\n
    \n \n
    \n \n \n '; } ; __p += '\n'; @@ -282,25 +308,25 @@ __p += '\n'; __p += '\n
    \n '; if (!ctx.component.storage) { ; __p += '\n

    ' + -((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) + +((__t = (ctx.t('noStorageSet'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.filereader) { ; __p += '\n

    ' + -((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) + +((__t = (ctx.t('noFileApiSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.formdata) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) + +((__t = (ctx.t('noFormDataSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.progress) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) + +((__t = (ctx.t('noProgressSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n
    \n'; diff --git a/lib/mjs/templates/bootstrap4/grid/html.ejs.js b/lib/mjs/templates/bootstrap4/grid/html.ejs.js index 32d0acdb7..784d93555 100644 --- a/lib/mjs/templates/bootstrap4/grid/html.ejs.js +++ b/lib/mjs/templates/bootstrap4/grid/html.ejs.js @@ -5,13 +5,21 @@ __p += '
    \r\n
    \r\n selected\r\n
    \r\n '; +' ' + +((__t = (ctx.t('selected'))) == null ? '' : __t) + +'\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
    \r\n
    \r\n
    \r\n '; + if (ctx.component.selectAllRows) { ; +__p += '\r\n
    \r\n '; + } ; +__p += '\r\n
    \r\n \r\n \r\n '; if (!ctx.component.components.length) { ; -__p += '\r\n \r\n '; +__p += '\r\n \r\n '; } ; __p += '\r\n '; if (ctx.component.enableRowSelect) { ; @@ -22,7 +30,7 @@ __p += '\r\n '; __p += '\r\n '; if (comp.show) { ; __p += '\r\n \n '; } ; __p += '\n '; @@ -25,18 +25,22 @@ __p += '\n '; if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; __p += '\n \n '; } ; __p += '\n \n '; }); ; -__p += '\n\n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.' + +((__t = (ctx.t('noComponentsSetInGrid'))) == null ? '' : __t) + +'\r\n ' + -((__t = ( comp.label || comp.key )) == null ? '' : __t) + +((__t = ( ctx.t(comp.label || comp.key, { _userInput: true }) )) == null ? '' : __t) + '\r\n '; if (ctx.options.sortable && comp.sortable) { ; __p += '\r\n \r\n
    \r\n Actions\r\n '; +__p += '\r\n
    \r\n
    \r\n ' + +((__t = (ctx.t('actions'))) == null ? '' : __t) + +'\r\n '; if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; __p += '\r\n \n
    \n
    \n\n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap4/pagination/html.ejs.js b/lib/mjs/templates/bootstrap4/pagination/html.ejs.js index 60d21d0cb..b87d2b7a1 100644 --- a/lib/mjs/templates/bootstrap4/pagination/html.ejs.js +++ b/lib/mjs/templates/bootstrap4/pagination/html.ejs.js @@ -2,7 +2,11 @@ export default function(ctx) { var __t, __p = ''; __p += ''; return __p diff --git a/lib/mjs/templates/bootstrap4/panel/form.ejs.js b/lib/mjs/templates/bootstrap4/panel/form.ejs.js index 6e17adc4f..bcd1a0df1 100644 --- a/lib/mjs/templates/bootstrap4/panel/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/panel/form.ejs.js @@ -2,7 +2,7 @@ export default function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; + if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; __p += '\n
    \n '; } ; __p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; + if (!ctx.label.hidden || ctx.builder) { ; __p += '\n ' + ((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + '\n '; diff --git a/lib/mjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js b/lib/mjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js index daf3510bb..2f4a8bc24 100644 --- a/lib/mjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js @@ -1,11 +1,11 @@ export default function(ctx) { var __t, __p = ''; __p += '
    \n

    ' + -((__t = (ctx.t('Upload a PDF File'))) == null ? '' : __t) + +((__t = (ctx.t('uploadPdfFile'))) == null ? '' : __t) + '

    \n \n
    \n \n ' + -((__t = (ctx.t('Drop pdf to start, or'))) == null ? '' : __t) + +((__t = (ctx.t('dropToStart'))) == null ? '' : __t) + ' ' + ((__t = (ctx.t('browse'))) == null ? '' : __t) + '\n \n \n
    \n
    \n\n
    \n
    \n\n'; diff --git a/lib/mjs/templates/bootstrap4/resourceAdd/form.ejs.js b/lib/mjs/templates/bootstrap4/resourceAdd/form.ejs.js index 54bc43d00..dcddea07b 100644 --- a/lib/mjs/templates/bootstrap4/resourceAdd/form.ejs.js +++ b/lib/mjs/templates/bootstrap4/resourceAdd/form.ejs.js @@ -5,7 +5,7 @@ __p += '\n \n \n \n \n \n \n \n \n
    \n '\n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap4/tbody/html.ejs.js b/lib/mjs/templates/bootstrap4/tbody/html.ejs.js index c4eedd461..1140d7c3c 100644 --- a/lib/mjs/templates/bootstrap4/tbody/html.ejs.js +++ b/lib/mjs/templates/bootstrap4/tbody/html.ejs.js @@ -11,12 +11,12 @@ __p += '\n '; row.forEach(function(rowComp) { ; __p += '\n '; if (rowComp.component.show) { ; -__p += '\n
    \n ' + -((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) )) == null ? '' : __t) + +((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue, rowComp.rowIndex) )) == null ? '' : __t) + '\n \n
    \n \n ⋮\n
    \n
    '; +__p += '\n\n\n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap4/tree/partials/edit.ejs.js b/lib/mjs/templates/bootstrap4/tree/partials/edit.ejs.js index 389dcd335..914c9d47e 100644 --- a/lib/mjs/templates/bootstrap4/tree/partials/edit.ejs.js +++ b/lib/mjs/templates/bootstrap4/tree/partials/edit.ejs.js @@ -6,9 +6,9 @@ __p += '
    \n
    ' + '
    \n '; if (!ctx.readOnly) { ; __p += '\n
    \n \n \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/mjs/templates/bootstrap4/tree/partials/view.ejs.js b/lib/mjs/templates/bootstrap4/tree/partials/view.ejs.js index 92be2647c..cf3606e4f 100644 --- a/lib/mjs/templates/bootstrap4/tree/partials/view.ejs.js +++ b/lib/mjs/templates/bootstrap4/tree/partials/view.ejs.js @@ -10,21 +10,21 @@ __p += '\n
    \n ' + __p += '\n
    \n
    \n '; if (ctx.node.hasChildren) { ; __p += '\n \n '; } ; __p += '\n '; if (!ctx.readOnly) { ; __p += '\n \n \n \n '; if (ctx.node.revertAvailable) { ; __p += '\n \n '; } ; __p += '\n '; diff --git a/lib/mjs/templates/bootstrap5/address/form.ejs.js b/lib/mjs/templates/bootstrap5/address/form.ejs.js index e565f0704..edddf1bfe 100644 --- a/lib/mjs/templates/bootstrap5/address/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/address/form.ejs.js @@ -19,7 +19,7 @@ __p += '\n value="' + ((__t = (ctx.t('autocomplete'))) == null ? '' : __t) + '"\n >\n '; if (!ctx.component.disableClearIcon) { ; -__p += '\n \n
    \n

    ' + ((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) + ' ' + -((__t = (ctx.t('Component'))) == null ? '' : __t) + +((__t = (ctx.t('component'))) == null ? '' : __t) + '

    \n
    \n '; if (ctx.helplinks) { ; __p += '\n \n
    \n
    \n
    \n \n \n \n '; if (ctx.preview) { ; __p += '\n \n '; } ; __p += '\n
    \n '; @@ -38,7 +38,7 @@ __p += '\n
    \n '; __p += '\n
    \n '; if (ctx.showPreview && ctx.preview) { ; __p += '\n
    \n
    \n
    \n

    ' + -((__t = (ctx.t('Preview'))) == null ? '' : __t) + +((__t = (ctx.t('preview'))) == null ? '' : __t) + '

    \n
    \n
    \n
    \n ' + ((__t = (ctx.preview)) == null ? '' : __t) + '\n
    \n
    \n
    \n '; @@ -48,13 +48,13 @@ __p += '\n
    \n '\n
    \n '; } ; __p += '\n
    \n \n \n \n \n \n
    \n
    \n '; } ; __p += '\n
    \n'; diff --git a/lib/mjs/templates/bootstrap5/builderPlaceholder/form.ejs.js b/lib/mjs/templates/bootstrap5/builderPlaceholder/form.ejs.js index 9244a6555..049bd0df3 100644 --- a/lib/mjs/templates/bootstrap5/builderPlaceholder/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/builderPlaceholder/form.ejs.js @@ -3,7 +3,7 @@ var __t, __p = ''; __p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + +((__t = (ctx.t('dragAndDropComponent'))) == null ? '' : __t) + '\n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js b/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js index c537eaa1a..da29ffca2 100644 --- a/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js @@ -6,7 +6,7 @@ __p += '
    \n \n
    \n '; ctx.groups.forEach(function(group) { ; __p += '\n ' + diff --git a/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js b/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js index 7784e4d69..0ae4cbe8a 100644 --- a/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js @@ -38,7 +38,7 @@ __p += '\n \n '; if (ctx.group.components[componentKey].icon) { ; __p += '\n ' + '\n \n '; }) ; __p += '\n
  • \n \n ' + -((__t = (ctx.t('Page'))) == null ? '' : __t) + +((__t = (ctx.t('page'))) == null ? '' : __t) + '\n \n
  • \n \n
    \n ' + ((__t = (ctx.form)) == null ? '' : __t) + '\n
    \n
    \n
    \n'; diff --git a/lib/mjs/templates/bootstrap5/componentModal/form.ejs.js b/lib/mjs/templates/bootstrap5/componentModal/form.ejs.js index 2613e4e2e..e6b0aab2d 100644 --- a/lib/mjs/templates/bootstrap5/componentModal/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/componentModal/form.ejs.js @@ -21,24 +21,32 @@ __p += ' ref="modalContents">\n
    \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap5/datagrid/form.ejs.js b/lib/mjs/templates/bootstrap5/datagrid/form.ejs.js index 9541e9f61..f84110b80 100644 --- a/lib/mjs/templates/bootstrap5/datagrid/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/datagrid/form.ejs.js @@ -38,7 +38,7 @@ __p += '\n \n '; __p += '\n '; if (ctx.hasExtraColumn) { ; __p += '\n \n ' + -((__t = ( ctx.t('Add/Remove') )) == null ? '' : __t) + +((__t = ( ctx.t('addOrRemove') )) == null ? '' : __t) + '\n '; if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ; __p += '\n \n '; } ; __p += '\n \n '; @@ -81,7 +81,7 @@ __p += '\n \n \n '; +'" style="display: block; margin: 0 auto">\n \n '; } ; __p += '\n '; ctx.columns.forEach(function(col) { ; @@ -107,7 +107,7 @@ __p += '\n \n \n \n '; } ; @@ -134,7 +134,7 @@ __p += '\n \n \n \n ' + -((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) + +((__t = (ctx.t(ctx.component.addAnother || 'addAnother', { _userInput: !!ctx.component.addAnother }))) == null ? '' : __t) + '\n \n \n \n \n '; } ; __p += '\n\n'; diff --git a/lib/mjs/templates/bootstrap5/day/form.ejs.js b/lib/mjs/templates/bootstrap5/day/form.ejs.js index 082c860e5..c1e8a46fd 100644 --- a/lib/mjs/templates/bootstrap5/day/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/day/form.ejs.js @@ -32,7 +32,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -50,7 +50,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -68,7 +68,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + @@ -86,7 +86,7 @@ __p += '\n \n '; } ; __p += '\n
    ' + diff --git a/lib/mjs/templates/bootstrap5/dialog/form.ejs.js b/lib/mjs/templates/bootstrap5/dialog/form.ejs.js index b9fab8a19..c40b67bd6 100644 --- a/lib/mjs/templates/bootstrap5/dialog/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/dialog/form.ejs.js @@ -1,5 +1,5 @@ export default function(ctx) { var __t, __p = ''; -__p += '
    \n
    \n \n
    \n'; +__p += '
    \n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap5/editgrid/form.ejs.js b/lib/mjs/templates/bootstrap5/editgrid/form.ejs.js index b3be52dc4..5214927a1 100644 --- a/lib/mjs/templates/bootstrap5/editgrid/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/editgrid/form.ejs.js @@ -26,13 +26,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; @@ -54,7 +54,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/mjs/templates/bootstrap5/editgrid/html.ejs.js b/lib/mjs/templates/bootstrap5/editgrid/html.ejs.js index 8ec4c5f25..531ebf918 100644 --- a/lib/mjs/templates/bootstrap5/editgrid/html.ejs.js +++ b/lib/mjs/templates/bootstrap5/editgrid/html.ejs.js @@ -26,13 +26,13 @@ __p += '\n
  • \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
  • \n '; diff --git a/lib/mjs/templates/bootstrap5/editgridTable/form.ejs.js b/lib/mjs/templates/bootstrap5/editgridTable/form.ejs.js index fe359eb61..4ee045fed 100644 --- a/lib/mjs/templates/bootstrap5/editgridTable/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/editgridTable/form.ejs.js @@ -26,13 +26,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; @@ -58,7 +58,7 @@ __p += '\n\n'; } ; __p += '\n'; diff --git a/lib/mjs/templates/bootstrap5/editgridTable/html.ejs.js b/lib/mjs/templates/bootstrap5/editgridTable/html.ejs.js index 3d7b16c9f..f682e1701 100644 --- a/lib/mjs/templates/bootstrap5/editgridTable/html.ejs.js +++ b/lib/mjs/templates/bootstrap5/editgridTable/html.ejs.js @@ -26,13 +26,13 @@ __p += '\n \n
    \n \n '; if (ctx.component.removeRow) { ; __p += '\n \n '; } ; __p += '\n
    \n \n '; diff --git a/lib/mjs/templates/bootstrap5/file/form.ejs.js b/lib/mjs/templates/bootstrap5/file/form.ejs.js index 9d3cc2831..ea5002044 100644 --- a/lib/mjs/templates/bootstrap5/file/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/file/form.ejs.js @@ -14,23 +14,23 @@ __p += '\n'; __p += '\n '; if (ctx.options.vpat) { ; __p += '\n
    ' + -((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) + +((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)) == null ? '' : __t) + '
    \n '; } ; __p += '\n
      \n \n '; @@ -58,7 +58,7 @@ __p += '\n ' + __p += '\n \n ' + -((__t = (ctx.t('Press to open '))) == null ? '' : __t) + +((__t = (ctx.t('pressToOpen') + ' ')) == null ? '' : __t) + '' + ((__t = (file.originalName || file.name)) == null ? '' : __t) + '\n \n '; @@ -162,7 +162,7 @@ __p += '\n
      \n
      \n ' + ((__t = (file.progress)) == null ? '' : __t) + '% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + '\n
      \n
      \n '; } else { ; __p += '\n
      \n '; +'" ref="removeLink" aria-label="' + +((__t = (ctx.t('removeBtnPressToRemove') + ' ' + (file.originalName || file.name) + ' ' + ctx.t('file'))) == null ? '' : __t) + +'">\n '; } ; __p += '\n \n
      \n '; }) ; +__p += '\n '; + ctx.filesToUpload.forEach(function(file) { ; +__p += '\n '; + if (file.status === 'progress') { ; +__p += '\n
      ' + +((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + +'
      \n
      \n
      \n ' + +((__t = (file.progress)) == null ? '' : __t) + +'% ' + +((__t = (ctx.t('completeStatus'))) == null ? '' : __t) + +'\n
      \n
      \n '; + } else { ; +__p += '\n
      ' + +((__t = (ctx.t(file.message))) == null ? '' : __t) + +'
      \n '; + } ; +__p += '\n '; + }) ; __p += '\n
    \n'; } ; __p += '\n'; @@ -236,11 +264,11 @@ __p += '\n '; __p += '\n
    \n \n \n
    \n '; } else if (!ctx.self.cameraMode) { ; __p += '\n
    ' + -((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) + +((__t = (ctx.t('dropFilesToAttach'))) == null ? '' : __t) + '\n '; } ; __p += '\n '; @@ -258,7 +286,7 @@ __p += '\n '; __p += '\n ' + -((__t = (ctx.t('Use Camera'))) == null ? '' : __t) + +((__t = (ctx.t('useCamera'))) == null ? '' : __t) + '\n ' + ((__t = (ctx.t('or'))) == null ? '' : __t) + '\n '; @@ -270,19 +298,19 @@ __p += '\n '; __p += '\n ' + -((__t = (ctx.t('Capture Video'))) == null ? '' : __t) + +((__t = (ctx.t('captureVideo'))) == null ? '' : __t) + '\n '; } else if (ctx.component.filePattern && ctx.component.filePattern.includes("audio")) { ; __p += '\n ' + -((__t = (ctx.t('Capture Audio'))) == null ? '' : __t) + +((__t = (ctx.t('captureAudio'))) == null ? '' : __t) + '\n '; } else { ; __p += '\n ' + -((__t = (ctx.t('Capture Image'))) == null ? '' : __t) + +((__t = (ctx.t('captureImage'))) == null ? '' : __t) + '\n '; } ; __p += '\n '; @@ -290,21 +318,21 @@ __p += '\n '; __p += '\n ' + -((__t = (ctx.t('Browse Files'))) == null ? '' : __t) + +((__t = (ctx.t('browseFiles'))) == null ? '' : __t) + '\n '; } ; __p += '\n \n ' + -((__t = (ctx.t('Browse to attach file for ' + ctx.component.label + '. ' + - (ctx.component.description ? ctx.component.description + '. ' : '') + - ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)))) == null ? '' : __t) + +((__t = (ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' + + (ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') + + ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern))) == null ? '' : __t) + '\n \n \n
    \n
    \n
    \n
    \n '; } else { ; __p += '\n
    \n \n
    \n \n \n '; } ; __p += '\n'; @@ -314,25 +342,25 @@ __p += '\n'; __p += '\n
    \n '; if (!ctx.component.storage) { ; __p += '\n

    ' + -((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) + +((__t = (ctx.t('noStorageSet'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.filereader) { ; __p += '\n

    ' + -((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) + +((__t = (ctx.t('noFileApiSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.formdata) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) + +((__t = (ctx.t('noFormDataSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n '; if (!ctx.support.progress) { ; __p += '\n

    ' + -((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) + +((__t = (ctx.t('noProgressSupport'))) == null ? '' : __t) + '

    \n '; } ; __p += '\n
    \n'; diff --git a/lib/mjs/templates/bootstrap5/iconClass.js b/lib/mjs/templates/bootstrap5/iconClass.js index 3ef25bab9..1d72ca30a 100644 --- a/lib/mjs/templates/bootstrap5/iconClass.js +++ b/lib/mjs/templates/bootstrap5/iconClass.js @@ -104,15 +104,18 @@ export default (iconset, name, spinning) => { biName = 'plus-lg'; break; case 'question-sign': + name = 'question-circle'; biName = 'question-circle'; break; case 'remove-circle': biName = 'x-circle'; break; case 'new-window': + name = 'window-restore'; biName = 'window-plus'; break; case 'move': + name = 'arrows'; biName = 'arrows-move'; break; case 'edit': @@ -130,6 +133,36 @@ export default (iconset, name, spinning) => { case 'folder-open': biName = 'folder2-open'; break; + case 'check-circle': + biName = 'check-circle-fill'; + break; + case 'times-circle': + biName = 'x-circle-fill'; + break; + case 'pencil': + biName = 'pencil-fill'; + break; + case 'minus': + biName = 'dash'; + break; + case 'circle': + biName = 'circle-fill'; + break; + case 'search-plus': + biName = 'zoom-in'; + break; + case 'search-minus': + biName = 'zoom-out'; + break; + case 'hand-paper-o': + biName = 'hand-index'; + break; + case 'undo': + biName = 'arrow-counterclockwise'; + break; + case 'repeat': + biName = 'arrow-clockwise'; + break; } return spinning ? 'spinner-border spinner-border-sm' : `fa fa-${name} bi bi-${biName}`; }; diff --git a/lib/mjs/templates/bootstrap5/loading/form.ejs.js b/lib/mjs/templates/bootstrap5/loading/form.ejs.js index c65d4b1ed..f9c408f5b 100644 --- a/lib/mjs/templates/bootstrap5/loading/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/loading/form.ejs.js @@ -1,5 +1,7 @@ export default function(ctx) { var __t, __p = ''; -__p += 'Loading...\n'; +__p += +((__t = (ctx.t('loading'))) == null ? '' : __t) + +'...\n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap5/modaldialog/form.ejs.js b/lib/mjs/templates/bootstrap5/modaldialog/form.ejs.js index 7571a7151..605b3dd68 100644 --- a/lib/mjs/templates/bootstrap5/modaldialog/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/modaldialog/form.ejs.js @@ -1,7 +1,7 @@ export default function(ctx) { var __t, __p = ''; __p += '
    \n
    \n
    \n \n ' + -((__t = (ctx.t('Close'))) == null ? '' : __t) + +((__t = (ctx.t('close'))) == null ? '' : __t) + '\n \n
    \n
    \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap5/panel/form.ejs.js b/lib/mjs/templates/bootstrap5/panel/form.ejs.js index 6e17adc4f..bcd1a0df1 100644 --- a/lib/mjs/templates/bootstrap5/panel/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/panel/form.ejs.js @@ -2,7 +2,7 @@ export default function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; + if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; __p += '\n
    \n '; } ; __p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; + if (!ctx.label.hidden || ctx.builder) { ; __p += '\n ' + ((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + '\n '; diff --git a/lib/mjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js b/lib/mjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js index daf3510bb..2f4a8bc24 100644 --- a/lib/mjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js @@ -1,11 +1,11 @@ export default function(ctx) { var __t, __p = ''; __p += '
    \n

    ' + -((__t = (ctx.t('Upload a PDF File'))) == null ? '' : __t) + +((__t = (ctx.t('uploadPdfFile'))) == null ? '' : __t) + '

    \n \n
    \n \n ' + -((__t = (ctx.t('Drop pdf to start, or'))) == null ? '' : __t) + +((__t = (ctx.t('dropToStart'))) == null ? '' : __t) + ' ' + ((__t = (ctx.t('browse'))) == null ? '' : __t) + '\n \n \n
    \n
    \n\n
    \n
    \n\n'; diff --git a/lib/mjs/templates/bootstrap5/resourceAdd/form.ejs.js b/lib/mjs/templates/bootstrap5/resourceAdd/form.ejs.js index 54bc43d00..dcddea07b 100644 --- a/lib/mjs/templates/bootstrap5/resourceAdd/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/resourceAdd/form.ejs.js @@ -5,7 +5,7 @@ __p += '\n \n \n \n \n \n \n \n \n
    \n '\n
    \n \n
    \n'; return __p } \ No newline at end of file diff --git a/lib/mjs/templates/bootstrap5/table/form.ejs.js b/lib/mjs/templates/bootstrap5/table/form.ejs.js index 9c24456ee..375ef20d7 100644 --- a/lib/mjs/templates/bootstrap5/table/form.ejs.js +++ b/lib/mjs/templates/bootstrap5/table/form.ejs.js @@ -15,7 +15,7 @@ __p += '' + ((__t = (ctx.t(header))) == null ? '' : __t) + '\n '; }) ; @@ -27,7 +27,7 @@ __p += '\n \n '; row.forEach(function(column, colIndex) { ; -__p += '\n
    \n
    ' + '
    \n '; if (!ctx.readOnly) { ; __p += '\n
    \n \n \n
    \n '; } ; __p += '\n\n'; diff --git a/lib/mjs/templates/bootstrap5/tree/partials/view.ejs.js b/lib/mjs/templates/bootstrap5/tree/partials/view.ejs.js index 92be2647c..027531930 100644 --- a/lib/mjs/templates/bootstrap5/tree/partials/view.ejs.js +++ b/lib/mjs/templates/bootstrap5/tree/partials/view.ejs.js @@ -10,21 +10,21 @@ __p += '\n
    \n ' + __p += '\n
    \n
    \n '; if (ctx.node.hasChildren) { ; __p += '\n \n '; } ; __p += '\n '; if (!ctx.readOnly) { ; __p += '\n \n \n \n '; if (ctx.node.revertAvailable) { ; __p += '\n \n '; } ; __p += '\n ';