New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@formio/bootstrap

Package Overview
Dependencies
Maintainers
0
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formio/bootstrap - npm Package Compare versions

Comparing version 3.0.0-dev.114.048bd4d to 3.0.0-dev.118.f146cb4

2

dist/bootstrap3.js

@@ -1,1 +0,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+='<div class="builder-component" ref="dragComponent">\n ',n.disableBuilderActions||(t+='\n <div class="component-btn-group" data-noattach="true">\n <div class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove" ref="removeComponent">\n <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-copy" ref="copyComponent">\n <i class="'+(null==(e=n.iconClass("copy"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-paste" ref="pasteComponent">\n <i class="'+(null==(e=n.iconClass("save"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json" ref="editJson">\n <i class="'+(null==(e=n.iconClass("wrench"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-move" ref="moveComponent">\n <i class="'+(null==(e=n.iconClass("move"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-edit", ref="editComponent">\n <i class="'+(null==(e=n.iconClass("cog"))?"":e)+'"></i>\n </div>\n </div>\n '),t+"\n "+(null==(e=n.html)?"":e)+"\n</div>\n"}},o={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="row">\n <div class="col col-sm-6">\n <p class="lead">'+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"</p>\n </div>\n ",n.helplinks&&(t+='\n <div class="col col-sm-6">\n <div class="pull-right" style="margin-right: 20px; margin-top: 10px">\n <a href="'+(null==(e=n.t(n.helplinks+n.componentInfo.documentation))?"":e)+'" target="_blank">\n <i class="'+(null==(e=n.iconClass("new-window"))?"":e)+'"> '+(null==(e=n.t("Help"))?"":e)+"</i>\n </a>\n </div>\n </div>\n"),t+='\n</div>\n<div class="row component-edit-content">\n <div class="col component-edit-tabs ',n.preview?t+="col-sm-6":t+="col-sm-12",t+='">\n <div class="editForm" ref="editForm">\n '+(null==(e=n.editForm)?"":e)+"\n </div>\n ",n.preview||(t+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-default" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n </div>\n "),t+="\n </div>\n ",n.preview&&(t+='\n <div class="col col-sm-6">\n <div class="panel panel-default preview-panel">\n <div class="panel-heading">\n <h3 class="panel-title">'+(null==(e=n.t("Preview"))?"":e)+'</h3>\n </div>\n <div class="panel-body">\n <div class="component-preview" ref="preview">\n '+(null==(e=n.preview)?"":e)+"\n </div>\n </div>\n </div>\n ",n.componentInfo.help&&(t+='\n <div class="well formio-settings-help">\n '+(null==(e=n.componentInfo.help)?"":e)+"\n </div>\n "),t+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-default" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n </div>\n </div>\n "),t+"\n</div>\n"}},a={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="builder-sidebar'+(null==(e=n.scrollEnabled?" builder-sidebar_scroll":"")?"":e)+'" ref="sidebar">\n <input class="form-control builder-sidebar_search" type="search" ref="sidebar-search" placeholder="'+(null==(e=n.t("Search field(s)"))?"":e)+'" />\n <div id="'+(null==(e=n.groupId)?"":e)+'" class="panel-group" ref="sidebar-groups">\n ',n.groups.forEach((function(n){t+="\n "+(null==(e=n)?"":e)+"\n "})),t+="\n </div>\n</div>\n"}},r={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="panel panel-default form-builder-panel" ref="group-panel-'+(null==(e=n.groupKey)?"":e)+'">\n <div class="panel-heading form-builder-group-header">\n <h5 class="panel-title">\n <button\n class="btn btn-block builder-group-button"\n type="button"\n data-toggle="collapse"\n data-target="#group-'+(null==(e=n.groupKey)?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n href="#group-'+(null==(e=n.groupKey)?"":e)+'"\n ref="sidebar-anchor"\n >\n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n </button>\n </h5>\n </div>\n <div\n id="group-'+(null==(e=n.groupKey)?"":e)+'"\n class="panel-collapse collapse'+(null==(e=n.group.default?" in":"")?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-default="'+(null==(e=n.group.default)?"":e)+'"\n ref="sidebar-group"\n >\n <div id="group-container-'+(null==(e=n.groupKey)?"":e)+'" class="panel-body no-drop" ref="sidebar-container">\n ',n.group.componentOrder.length||n.subgroups.length?(t+="\n ",n.group.componentOrder.forEach((function(l){t+='\n <span\n data-group="'+(null==(e=n.groupKey)?"":e)+'"\n data-key="'+(null==(e=n.group.components[l].key)?"":e)+'"\n data-type="'+(null==(e=n.group.components[l].schema.type)?"":e)+'"\n class="btn btn-primary btn-xs btn-block formcomponent drag-copy"\n >\n ',n.group.components[l].icon&&(t+='\n <i class="'+(null==(e=n.iconClass(n.group.components[l].icon))?"":e)+'" style="margin-right: 5px;"></i>\n '),t+="\n "+(null==(e=n.t(n.group.components[l].title,{_userInput:!0}))?"":e)+"\n </span>\n "})),t+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):t+="\n <div>"+(null==(e=n.t("No Matches Found"))?"":e)+"</div>\n ",t+="\n </div>\n </div>\n</div>\n\n"}},i={form:function(n){var e,t="";return Array.prototype.join,n.component.columns.forEach((function(l,o){t+='\n<div class="col\n col-'+(null==(e=l.size)?"":e)+"-"+(null==(e=l.width)?"":e)+"\n col-"+(null==(e=l.size)?"":e)+"-offset-"+(null==(e=l.offset)?"":e)+"\n col-"+(null==(e=l.size)?"":e)+"-push-"+(null==(e=l.push)?"":e)+"\n col-"+(null==(e=l.size)?"":e)+"-pull-"+(null==(e=l.pull)?"":e)+'"\n ref="'+(null==(e=n.columnKey)?"":e)+'">\n '+(null==(e=n.columnComponents[o])?"":e)+"\n</div>\n"})),t+="\n"}},s={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table datagrid-table table-bordered\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-condensed":"")?"":e)+'\n " ',n.component.layoutFixed&&(t+='style="table-layout: fixed;"'),t+=">\n ",n.hasHeader&&(t+="\n <thead>\n <tr>\n ",n.component.reorder&&(t+="<th></th>"),t+="\n ",n.columns.forEach((function(l){t+='\n <th class="'+(null==(e=l.validate&&l.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&(t+=' <i ref="tooltip" data-title="'+(null==(e=l.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>'),t+="\n </th>\n "})),t+="\n ",n.hasExtraColumn&&(t+="\n <th>\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(t+='\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n "),t+="\n </th>\n "),t+="\n </tr>\n </thead>\n "),t+='\n <tbody ref="'+(null==(e=n.datagridKey)?"":e)+'-tbody" data-key="'+(null==(e=n.datagridKey)?"":e)+'">\n ',n.rows.forEach((function(l,o){t+="\n ",n.hasGroups&&n.groups[o]&&(t+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-group-header" class="datagrid-group-header'+(null==(e=n.hasToggle?" clickable":"")?"":e)+'">\n <td\n ref="'+(null==(e=n.datagridKey)?"":e)+'-group-label"\n colspan="'+(null==(e=n.numColumns)?"":e)+'"\n class="datagrid-group-label">'+(null==(e=n.groups[o].label)?"":e)+"</td>\n </tr>\n "),t+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-row">\n ',n.component.reorder&&(t+='\n <td class="col-md-1">\n <button type="button" class="formio-drag-button btn btn-default fa fa-bars" data-key="'+(null==(e=n.datagridKey)?"":e)+'"></button>\n </td>\n '),t+="\n ",n.columns.forEach((function(o){t+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'">\n '+(null==(e=l[o.key])?"":e)+"\n </td>\n "})),t+="\n ",n.hasExtraColumn&&(t+="\n ",n.hasRemoveButtons&&(t+='\n <td class="col-md-1">\n <button type="button" class="btn btn-default formio-button-remove-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-removeRow">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),t+="\n ",n.canAddColumn&&(t+='\n <td ref="'+(null==(e=n.key)?"":e)+'-container" class="col-md-1">\n '+(null==(e=n.placeholder)?"":e)+"\n </td>\n "),t+="\n "),t+="\n </tr>\n "})),t+="\n </tbody>\n ",n.hasAddButton&&n.hasBottomSubmit&&(t+='\n <tfoot>\n <tr>\n <td colspan="'+(null==(e=n.component.layoutFixed?n.numColumns:n.numColumns+1)?"":e)+'">\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tfoot>\n "),t+="\n</table>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<table class="table datagrid-table table-bordered\n '+(null==(e=component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=component.condensed?"table-condensed":"")?"":e)+'\n ">\n ',hasHeader&&(l+="\n <thead>\n <tr>\n ",columns.forEach((function(n){l+='\n <th class="'+(null==(e=n.validate&&n.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=n.hideLabel?"":t(n.label||n.title))?"":e)+"\n ",n.tooltip&&(l+=' <i ref="tooltip" data-title="'+(null==(e=n.tooltip)?"":e)+'" class="'+(null==(e=iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.tooltip)?"":e)+'"></i>'),l+="\n </th>\n "})),l+="\n </tr>\n </thead>\n "),l+="\n <tbody>\n ",rows.forEach((function(n){l+="\n <tr>\n ",columns.forEach((function(t){l+='\n <td ref="'+(null==(e=datagridKey)?"":e)+'">\n '+(null==(e=n[t.key])?"":e)+"\n </td>\n "})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},u={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="row">\n ',n.dayFirst&&n.showDay&&(t+='\n <div class="form-group col col-xs-3">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),t+="\n ",n.showMonth&&(t+='\n <div class="form-group col col-xs-4">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-month" class="',n.component.fields.month.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Month"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.month)?"":e)+"</div>\n </div>\n "),t+="\n ",!n.dayFirst&&n.showDay&&(t+='\n <div class="form-group col col-xs-3">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),t+="\n ",n.showYear&&(t+='\n <div class="form-group col col-xs-5">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-year" class="',n.component.fields.year.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Year"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.year)?"":e)+"</div>\n </div>\n "),t+'\n</div>\n<input name="data[day]" type="hidden" class="form-control" lang="en" value="" ref="input">\n'}},d={form:function(n){var e,t="";return Array.prototype.join,t+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-condensed":"")?"":e)+'\n ">\n ',n.header&&(t+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),t+="\n ",n.footer&&(t+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),t+="\n</ul>\n",!n.readOnly&&n.hasAddButton&&(t+='\n<button class="btn btn-primary formio-button-add-another" ref="'+(null==(e=n.ref.addRow)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n</button>\n"),t+="\n"},html:function(n){var e,t="";return Array.prototype.join,t+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(t+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),t+="\n ",n.footer&&(t+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),t+="\n</ul>\n"}},c={align:function(n){var e,t="";return Array.prototype.join,t+='<div class="field-wrapper\n '+(null==(e=n.isRightPosition?"field-wrapper--reverse":"")?"":e)+'">\n ',n.label.hidden||(t+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n '+(null==(e=n.labelMarkup)?"":e)+"\n </div>\n "),t+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\n </div>\n '),t+='\n\n <div class="filed-content" style="'+(null==(e=n.contentStyles)?"":e)+'">\n '+(null==(e=n.element)?"":e)+"\n </div>\n</div>\n\n",n.component.description&&(t+='\n <div class="form-text text-muted">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\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 <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\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 <div class="help-block">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\n"),t+"\n"}},p={form:function(n){var e,t="";return Array.prototype.join,n.self.imageUpload?(t+="\n <div>\n ",n.files.forEach((function(l){t+='\n <div>\n <span>\n <img ref="fileImage" src="" alt="'+(null==(e=l.originalName||l.name)?"":e)+'" style="width:'+(null==(e=n.component.imageSize)?"":e)+'px">\n ',n.disabled||(t+='\n <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i>\n '),t+="\n </span>\n </div>\n "})),t+="\n </div>\n"):(t+='\n <ul class="list-group list-group-striped">\n <li class="list-group-item list-group-header hidden-xs hidden-sm">\n <div class="row">\n ',n.disabled||(t+='\n <div class="col-md-1"></div>\n '),t+='\n <div class="col-md-',n.self.hasTypes?t+="7":t+="9",t+='"><strong>'+(null==(e=n.t("File Name"))?"":e)+'</strong></div>\n <div class="col-md-2"><strong>'+(null==(e=n.t("Size"))?"":e)+"</strong></div>\n ",n.self.hasTypes&&(t+='\n <div class="col-md-2"><strong>'+(null==(e=n.t("Type"))?"":e)+"</strong></div>\n "),t+="\n </div>\n </li>\n ",n.files.forEach((function(l){t+='\n <li class="list-group-item">\n <div class="row">\n ',n.disabled||(t+='\n <div class="col-md-1"><i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i></div>\n '),t+='\n <div class="col-md-',n.self.hasTypes?t+="7":t+="9",t+='">\n ',n.component.uploadOnly?t+="\n "+(null==(e=l.originalName||l.name)?"":e)+"\n ":t+='\n <a href="'+(null==(e=l.url||"#")?"":e)+'" target="_blank" ref="fileLink">'+(null==(e=l.originalName||l.name)?"":e)+"</a>\n ",t+='\n </div>\n <div class="col-md-2">'+(null==(e=n.fileSize(l.size))?"":e)+"</div>\n ",n.self.hasTypes&&!n.disabled&&(t+='\n <div class="col-md-2">\n <select class="file-type" ref="fileType" >\n ',n.component.fileTypes.map((function(n){t+='\n <option class="test" value="'+(null==(e=n.value)?"":e)+'" ',n.label===l.fileType&&(t+='selected="selected"'),t+=">"+(null==(e=n.label)?"":e)+"</option>\n "})),t+="\n </select>\n </div>\n "),t+="\n ",n.self.hasTypes&&n.disabled&&(t+='\n <div class="col-md-2">'+(null==(e=l.fileType)?"":e)+"</div>\n "),t+="\n </div>\n </li>\n "})),t+="\n </ul>\n"),t+="\n",n.disabled||!n.component.multiple&&n.files.length||(t+="\n ",n.self.useWebViewCamera?t+='\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="fa fa-book"></i> '+(null==(e=n.t("Gallery"))?"":e)+'</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="fa fa-camera"></i> '+(null==(e=n.t("Camera"))?"":e)+"</button>\n </div>\n ":n.self.cameraMode?t+='\n <div class="video-container">\n <video class="video" autoplay="true" ref="videoPlayer"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="fa fa-camera"></i> '+(null==(e=n.t("Take Picture"))?"":e)+'</button>\n <button class="btn btn-primary" ref="toggleCameraMode">'+(null==(e=n.t("Switch to file upload"))?"":e)+"</button>\n ":(t+='\n <div class="fileSelector" ref="fileDrop" '+(null==(e=n.fileDropHidden?"hidden":"")?"":e)+'>\n <i class="'+(null==(e=n.iconClass("cloud-upload"))?"":e)+'"></i> '+(null==(e=n.t("Drop files to attach,"))?"":e)+"\n ",n.self.imageUpload&&n.component.webcam&&(t+='\n <a href="#" ref="toggleCameraMode"><i class="fa fa-camera"></i> '+(null==(e=n.t("Use Camera,"))?"":e)+"</a>\n "),t+="\n "+(null==(e=n.t("or"))?"":e)+' <a href="#" ref="fileBrowse" class="browse">'+(null==(e=n.t("browse"))?"":e)+"</a>\n </div>\n "),t+="\n"),t+="\n",n.statuses.forEach((function(l){t+='\n <div class="file '+(null==(e="error"===n.statuses.status?" has-error":"")?"":e)+'">\n <div class="row">\n <div class="fileName col-form-label col-sm-10">'+(null==(e=l.originalName)?"":e)+' <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="fileStatusRemove"></i></div>\n <div class="fileSize col-form-label col-sm-2 text-right">'+(null==(e=n.fileSize(l.size))?"":e)+'</div>\n </div>\n <div class="row">\n <div class="col-sm-12">\n ',"progress"===l.status?t+='\n <div class="progress">\n <div class="progress-bar" role="progressbar" aria-valuenow="'+(null==(e=l.progress)?"":e)+'" aria-valuemin="0" aria-valuemax="100" style="width: '+(null==(e=l.progress)?"":e)+'%">\n <span class="sr-only">'+(null==(e=l.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"</span>\n </div>\n </div>\n ":"error"===l.status?t+='\n <div class="alert alert-danger bg-'+(null==(e=l.status)?"":e)+'">'+(null==(e=n.t(l.message))?"":e)+"</div>\n ":t+='\n <div class="bg-'+(null==(e=l.status)?"":e)+'">'+(null==(e=n.t(l.message))?"":e)+"</div>\n ",t+="\n </div>\n </div>\n </div>\n"})),t+="\n",n.component.storage&&!n.support.hasWarning||(t+='\n <div class="alert alert-warning">\n ',n.component.storage||(t+="\n <p>"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"</p>\n "),t+="\n ",n.support.filereader||(t+="\n <p>"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"</p>\n "),t+="\n ",n.support.formdata||(t+="\n <p>"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"</p>\n "),t+="\n ",n.support.progress||(t+="\n <p>"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"</p>\n "),t+="\n </div>\n"),t}},b={form:function(n){var e,t="";if(Array.prototype.join,(n.prefix||n.suffix)&&(t+='\n<div class="input-group">\n '),t+="\n ",n.prefix&&(t+='\n <div class="input-group-addon" ref="prefix">\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 </div>\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)+"</"+(null==(e=n.input.type)?"":e)+">\n ",n.hasValueMaskInput&&(t+='\n <input ref="valueMaskInput" />\n '),t+="\n"}return t+="\n",(n.component.editor||n.component.wysiwyg)&&(t+='\n <div ref="input"></div>\n'),t+="\n",n.suffix&&(t+='\n <div class="input-group-addon" ref="suffix">\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 </div>\n"),t+="\n",(n.prefix||n.suffix)&&(t+="\n </div>\n"),t+="\n",n.component.showCharCount&&(t+='\n<span class="text-muted pull-right" ref="charcount"></span>\n'),t+="\n",n.component.showWordCount&&(t+='\n<span class="text-muted pull-right" ref="wordcount"></span>\n'),t+"\n"},html:function(n){var e,t="";return Array.prototype.join,t+='<div ref="value">',n.value?t+=null==(e=n.value)?"":e:t+="-",t+"</div>\n"}},m={form:function(n){var e,t="";return Array.prototype.join,t+='<label\n class="control-label '+(null==(e=n.label.className)?"":e)+'"\n for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n>\n ',n.label.hidden||(t+="\n "+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(t+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),t+="\n "),t+"\n</label>\n"}},f={form:function(n){var e,t="";return Array.prototype.join,t+='<tr ref="row">\n <td>\n '+(null==(e=n.element)?"":e)+"\n </td>\n ",n.disabled||(t+='\n <td>\n <button type="button" class="btn btn-default" ref="removeRow">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),t+"\n</tr>\n"}},v={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table table-bordered">\n <tbody>\n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(t+='\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-another" ref="addButton"><i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.addAnother,{_userInput:!0}))?"":e)+"</button>\n </td>\n </tr>\n "),t+"\n </tbody>\n</table>\n"}},y={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="panel panel-'+(null==(e=n.component.theme)?"":e)+'">\n ',(!n.label.hidden||n.builder||n.component.collapsible||n.component.tooltip)&&(t+='\n <div class="panel-heading"\n ',n.component.collapsible&&(t+='\n tabindex="0"\n '),t+='\n role="button"\n aria-expanded="'+(null==(e=!n.component.collapsible||!n.collapsed)?"":e)+'"\n aria-controls="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ref="header"\n >\n <h4 class="mb-0 panel-title">\n ',n.component.collapsible&&(t+='\n <i class="formio-collapse-icon '+(null==(e=n.iconClass(n.collapsed?"plus":"minus"))?"":e)+' text-muted" data-title="Collapse Panel"></i>\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 <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),t+="\n </h4>\n </div>\n "),t+="\n ",n.collapsed&&!n.builder||(t+='\n <div class="panel-body" ref="'+(null==(e=n.nestedKey)?"":e)+'" id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n "),t+"\n</div>\n"}},h={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="input-group">\n ',n.values.forEach((function(l,o){for(var a in t+='\n <div class="'+(null==(e=n.input.attr.type)?"":e)+(null==(e=n.inline?"-inline":"")?"":e)+'" ref="wrapper">\n <label class="control-label form-check-label label-position-'+(null==(e=n.component.optionsLabelPosition)?"":e)+'" for="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof l.value?l.value+"-"+o:l.value)?"":e)+'">\n ',"left"!==n.component.optionsLabelPosition&&"top"!==n.component.optionsLabelPosition||(t+="\n <span>"+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+"</span>\n "),t+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="input"\n ',n.input.attr)t+="\n "+(null==(e=a)?"":e)+'="'+(null==(e=n.input.attr[a])?"":e)+'"\n ';t+='\n value="'+(null==(e=l.value)?"":e)+'"\n ',(n.value===l.value||"object"==typeof n.value&&n.value.hasOwnProperty(l.value)&&n.value[l.value])&&(t+="\n checked=true\n "),t+="\n ",l.disabled&&(t+="\n disabled=true\n "),t+='\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 l.value?l.value+"-"+o:l.value)?"":e)+'"\n >\n ',n.component.optionsLabelPosition&&"right"!==n.component.optionsLabelPosition&&"bottom"!==n.component.optionsLabelPosition||(t+="\n <span>"+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+"</span>\n "),t+="\n </label>\n </div>\n "})),t+="\n</div>\n"},html:function(n){var e,t="";return Array.prototype.join,(t+='<div ref="value">\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 </div>\n"}},g={form:function(n){var e,t="";return Array.prototype.join,t+=(null==(e=n.element)?"":e)+'\n<div\n class="signature-pad-body"\n style="width: '+(null==(e=n.component.width)?"":e)+";height: "+(null==(e=n.component.height)?"":e)+';padding:0;margin:0;"\n tabindex="'+(null==(e=n.component.tabindex||0)?"":e)+'"\n ref="padBody"\n>\n\n <a class="btn btn-sm btn-default signature-pad-refresh" ref="refresh">\n <i class="'+(null==(e=n.iconClass("refresh"))?"":e)+'"></i>\n </a>\n <canvas class="signature-pad-canvas" style="display: none;" height="'+(null==(e=n.component.height)?"":e)+'" ref="canvas"></canvas>\n ',n.required&&(t+='\n <span class="form-control-feedback field-required-inline text-danger">\n <i class="'+(null==(e=n.iconClass("asterisk"))?"":e)+'"></i>\n </span>\n '),t+='\n <img style="width: 100%;display: inherit;" ref="signatureImage">\n</div>\n',n.component.footer&&(t+='\n <div class="signature-pad-footer">\n '+(null==(e=n.t(n.component.footer,{_userInput:!0}))?"":e)+"\n </div>\n"),t+"\n"},html:function(n){return'<img style="width: 100%;" ref="signatureImage">\n'}},w={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table table-striped table-bordered">\n <thead>\n <tr>\n <th></th>\n ',n.component.values.forEach((function(l){t+='\n <th style="text-align: center;">\n '+(null==(e=n.t(l.label))?"":e)+"\n ",l.tooltip&&(t+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </th>\n "})),t+="\n </tr>\n </thead>\n <tbody>\n ",n.component.questions.forEach((function(l){t+="\n <tr>\n <td>\n "+(null==(e=n.t(l.label))?"":e)+"\n ",l.tooltip&&(t+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </td>\n ",n.component.values.forEach((function(o){t+='\n <td style="text-align: center;">\n <input type="radio" name="'+(null==(e=n.self.getInputName(l))?"":e)+'" value="'+(null==(e=o.value)?"":e)+'" id="'+(null==(e=n.key)?"":e)+"-"+(null==(e=l.value)?"":e)+"-"+(null==(e=o.value)?"":e)+'" ref="input">\n </td>\n '})),t+="\n </tr>\n "})),t+="\n </tbody>\n</table>\n"},html:function(n){var e,t="";return Array.prototype.join,t+='<table class="table table-striped table-bordered">\n <tbody>\n ',n.component.questions.forEach((function(l){t+="\n <tr>\n <th>"+(null==(e=n.t(l.label))?"":e)+"</th>\n <td>\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 </td>\n </tr>\n "})),t+="\n </tbody>\n</table>\n"}},x={flat:function(n){var e,t="";return Array.prototype.join,n.component.components.forEach((function(l,o){t+='\n <div class="panel panel-default">\n <div class="panel-heading">\n <h4 class="panel-title">'+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+'</h4>\n </div>\n <div class="panel-body" ref="'+(null==(e=n.tabKey)?"":e)+'">\n '+(null==(e=n.tabComponents[o])?"":e)+"\n </div>\n </div>\n"})),t+="\n"},form:function(n){var e,t="";return Array.prototype.join,t+='<div class="tab-container'+(null==(e=n.component.verticalLayout?" card-vertical":"")?"":e)+'">\n <ul class="nav nav-tabs'+(null==(e=n.component.verticalLayout?" nav-tabs-vertical":"")?"":e)+'">\n ',n.component.components.forEach((function(l,o){t+='\n <li class="nav-item'+(null==(e=n.currentTab===o?" active":"")?"":e)+'" role="presentation" ref="'+(null==(e=n.tabLikey)?"":e)+'">\n <a class="nav-link'+(null==(e=n.currentTab===o?" active":"")?"":e)+(null==(e=n.component.verticalLayout?" nav-link-vertical":"")?"":e)+'" href="#'+(null==(e=l.key)?"":e)+'" ref="'+(null==(e=n.tabLinkKey)?"":e)+'">'+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+"</a>\n </li>\n "})),t+='\n </ul>\n <div class="tab-content">\n ',n.component.components.forEach((function(l,o){t+='\n <div role="tabpanel" class="tab-pane'+(null==(e=n.currentTab===o?" active":"")?"":e)+'" ref="'+(null==(e=n.tabKey)?"":e)+'">'+(null==(e=n.tabComponents[o])?"":e)+"</div>\n "})),t+="\n </div>\n</div>\n"}},k={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-condensed":"")?"":e)+'\n ">\n ',n.component.header&&n.component.header.length>0&&(t+="\n <thead>\n <tr>\n ",n.component.header.forEach((function(l){t+="\n <th>"+(null==(e=n.t(l,{_userInput:!0}))?"":e)+"</th>\n "})),t+="\n </tr>\n </thead>\n "),t+="\n <tbody>\n ",n.tableComponents.forEach((function(l,o){t+='\n <tr ref="row-'+(null==(e=n.id)?"":e)+'">\n ',l.forEach((function(l,a){t+='\n <td ref="'+(null==(e=n.tableKey)?"":e)+"-"+(null==(e=o)?"":e)+'"',n.cellClassName&&(t+=' class="'+(null==(e=n.cellClassName)?"":e)+'"'),t+=">"+(null==(e=l)?"":e)+"</td>\n "})),t+="\n </tr>\n "})),t+="\n </tbody>\n</table>\n"}},C={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="'+(null==(e=n.className)?"":e)+'">\n <div style="position: relative;">\n ',"wizardHeaderVertical"===n.wizardHeaderType?t+='\n <div class="row">\n <div class="col-sm-12 col-md-2">\n '+(null==(e=n.wizardHeader)?"":e)+'\n </div>\n <div class="wizard-page col-sm-offset-1 col-md-offset-0 col-sm-10" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+'\n </div>\n </div>\n <div class="col-sm-offset-4 col-sm-7 col-md-offset-2 col-md-10" style="margin-top: 10px;">\n '+(null==(e=n.wizardNav)?"":e)+"\n </div>\n ":t+=" \n "+(null==(e=n.wizardHeader)?"":e)+'\n <div class="wizard-page" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+"\n </div>\n "+(null==(e=n.wizardNav)?"":e)+"\n ",t+" \n </div>\n</div>"},builder:function(n){var e;return""+'<div class="text-muted text-center">'+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"</div>\n"}},A={form:function(n){var e,t="";return Array.prototype.join,t+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header" ref="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination">\n ',n.panels.forEach((function(l,o){t+='\n <li class="page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="">\n <span class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link">\n '+(null==(e=n.t(l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&n.currentPage===o&&(t+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </span>\n </li>\n "})),t+="\n </ul>\n</nav>\n"}},z={form:function(n){var e,t="";return Array.prototype.join,t+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <div class="classic-pagination row" style="border-bottom:0;">\n ',n.panels.forEach((function(l,o){t+='\n <div class="classic-pagination-page col-xs-12 col-sm-6 col-md-3\n '+(null==(e=n.currentPage<o?" disabled":"")?"":e)+"\n "+(null==(e=n.currentPage===o?" active":"")?"":e)+"\n "+(null==(e=n.currentPage>o?" complete":"")?"":e)+'">\n <div class="text-center classic-pagination-title">'+(null==(e=n.t(l.title,{_userInput:!0}))?"":e)+"</div>\n ",n.panels.length>1&&(t+='\n <div class="progress"><div class="progress-bar"></div></div>\n '),t+=' \n <span ref="'+(null==(e=n.wizardKey)?"":e)+'-link" class="classic-pagination-dot"></span>\n </div>\n '})),t+="\n </div>\n</nav>\n"}},I={form:function(n){var e,t="";return Array.prototype.join,t+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination">\n ',n.panels.forEach((function(l,o){t+='\n <li class="col-sm-offset-3 col-sm-6 col-md-offset-0 col-md-12 page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="cursor: pointer;">\n <span class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link" style="margin: 0px 0px 5px;">\n '+(null==(e=n.t(l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&n.currentPage===o&&(t+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </span>\n </li>\n "})),t+="\n </ul>\n</nav>\n"}},R={form:function(n){var e,t="";return Array.prototype.join,t+='<ul class="list-inline" id="'+(null==(e=n.wizardKey)?"":e)+'-nav">\n ',n.buttons.cancel&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-default btn-wizard-nav-cancel" ref="'+(null==(e=n.wizardKey)?"":e)+'-cancel">'+(null==(e=n.t("cancel"))?"":e)+"</button>\n </li>\n "),t+="\n ",n.buttons.previous&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-primary btn-wizard-nav-previous" ref="'+(null==(e=n.wizardKey)?"":e)+'-previous">'+(null==(e=n.t("previous"))?"":e)+"</button>\n </li>\n "),t+="\n ",n.buttons.next&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-primary btn-wizard-nav-next" ref="'+(null==(e=n.wizardKey)?"":e)+'-next">'+(null==(e=n.t("next"))?"":e)+"</button>\n </li>\n "),t+="\n ",n.buttons.submit&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-primary btn-wizard-nav-submit" ref="'+(null==(e=n.wizardKey)?"":e)+'-submit">'+(null==(e=n.t("submit"))?"":e)+"</button>\n </li>\n "),t+"\n</ul>\n"}},j={form:function(n){var e,t="";for(var l in Array.prototype.join,t+="<div\n ",n.attrs)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.attrs[l])?"":e)+'"\n ';return t+"\n>"+(null==(e=n.message)?"":e)+"</div>\n"}},E={form:function(n){var e,t="";return Array.prototype.join,t+="<p>"+(null==(e=n.t("error"))?"":e)+"</p>\n<ul>\n ",n.errors.forEach((function(l){t+='\n <li\n data-component-key = "'+(null==(e=l.keyOrPath)?"":e)+'"\n aria-label = "'+(null==(e=l.message)?"":e)+". "+(null==(e=n.t("errorsListNavigationMessage"))?"":e)+'"\n ref = "errorRef"\n tabIndex = "0",\n style = "cursor:pointer;"\n ><span>'+(null==(e=l.message)?"":e)+"</span></li>\n "})),t+="\n</ul>\n"}},P={html:function(n){var e,t="";return Array.prototype.join,t+='<div class="data-grid-wrapper">\n <div class="data-grid">\n <span class="menu-container">\n <div class="dropdown" ref="menu"></div>\n </span>\n <div style="position: relative; max-width: 86vw; display: flex; align-items: center; justify-content: space-between">\n ',n.component.enableRowSelect&&(t+='\n <div style="min-height: 20px" >\n ',n.selectedRows&&(t+='\n <span style=" font-size: 13px">'+(null==(e=n.selectedRows)?"":e)+" selected</span>\n "),t+="\n </div>\n "),t+='\n <div ref="pagination" class="formio-pagination" style="margin-left: auto"></div>\n </div>\n <div class="responsive-table">\n <div class="spinner-wrapper" ref="loader">\n <div class="spinner-grow"></div>\n </div>\n <table class="table'+(null==(e=n.classes)?"":e)+' formio-grid">\n <thead>\n <tr>\n ',n.component.components.length||(t+='\n <th>No components have been set up to display in the Data Table. "Table View" must be checked for components to render.</th>\n '),t+="\n ",n.component.enableRowSelect&&(t+='\n <th style="width: 2rem">\n <input type="checkbox" name="selectAll" id="selectAll" ref="selectAll" title="select All" '+(null==(e=n.selectedAll&&"checked")?"":e)+' >\n <span style="display: none">('+(null==(e=n.selectedRows)?"":e)+' of <span ref="totalRows"></span>)</span>\n </th>\n '),t+="\n ",n.component.components.forEach((function(l,o){t+="\n ",l.show&&(t+="\n <th>\n <span>"+(null==(e=l.label||l.key)?"":e)+"</span>\n ",n.options.sortable&&l.sortable&&(t+='\n <span class="sort-btn '+(null==(e=n.component.sort.key===l.key?"sorted":"")?"":e)+'" ref="sort">\n '+(null==(e=n.component.sort.isAsc?"↑":"↓")?"":e)+"\n </span>\n "),t+="\n ",n.options.hideMenu||(t+='\n <span class="menu">\n <div class="menu-container">\n <span class="menu-btn'+(null==(e=n.component.filters[l.key]||n.component.filters[l.columnQueryProperty]?" filters-applied":"")?"":e)+'" ref="menuBtn">⋮</span>\n </div>\n </span>\n '),t+="\n </th>\n "),t+="\n "})),t+="\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&n.data.length&&!n.options.pdf&&(t+='\n <th class="formio-grid-ops border-left-0" style="background-color: white; position: sticky; padding: 0;">\n <div class="formio-actions-header">\n <span>Actions</span>\n ',n.component.showDeleteAllBtn&&n.data.length&&(t+='\n <button class="btn btn p-0 delete-all-btn delete-all-btn formio-grid-ops-button '+(null==(e=n.options.readOnly?"disabled":"")?"":e)+'" ref="deleteAll" style="padding: 0;"><i class="fa fa-trash" aria-hidden="true"></i></button>\n '),t+="\n </div>\n </th>\n "),t+='\n </tr>\n </thead>\n <tbody ref="tbody"></tbody>\n </table>\n </div>\n <div class="formio-grid-bottom" '+(null==(e=n.component.showAddBtn?'style="margin-top: 10px"':"")?"":e)+'>\n <div ref="paginationBottom"></div>\n ',n.component.showAddBtn&&!n.options.pdf&&(t+='\n <div class="btn btn-primary formio-new-button '+(null==(e=n.options.readOnly?"disabled":"")?"":e)+'" ref="addRow">+</div>\n '),t+="\n </div>\n </div>\n</div>\n"}},K={html:function(n){var e,t="";return Array.prototype.join,t+='<div ref="menu">\r\n <ul class="dropdown-menu checkbox-menu allow-focus" ref="dropdown">\r\n ',n.options.sortable&&n.component&&n.component.sortable&&(t+='\r\n <li class="dropdown-item" ref="sortAscending">↑ Sort Ascending</li>\r\n <li class="dropdown-item" ref="sortDescending">↓ Sort Descending</li>\r\n <li ref="rootItem" role="separator" class="divider"></li>\r\n '),t+='\r\n <li ref="rootItem" class="dropdown-item">\r\n Columns <span class="arrow-right">›</span>\r\n <ul ref="nestedDropdown" class="dropdown-menu checkbox-menu allow-focus">\r\n ',n.components.forEach((function(l){t+='\r\n <li class="dropdown-item">\r\n <label class="radio-btn">\r\n <input \r\n ref="checkbox"\r\n '+(null==(e=l.show?"checked":"")?"":e)+"\r\n "+(null==(e=n.lastColumn&&l.show?"disabled":"")?"":e)+'\r\n type="checkbox"\r\n class="form-check-input">\r\n <span class="form-check-label">\r\n '+(null==(e=l.label)?"":e)+"\r\n </span>\r\n </label>\r\n </li>\r\n "})),t+="\r\n </ul>\r\n </li>\r\n ",n.options.filterable&&n.component&&n.component.filterable&&(t+='\r\n <li ref="rootItem" role="separator" class="divider"></li>\r\n <li ref="rootItem" class="dropdown-item">\r\n Filter <span class="arrow-right">›</span>\r\n <ul ref="nestedDropdown" class="dropdown-menu">\r\n <form ref="filterForm" class="px-3 py-2">\r\n Show items with value that:\r\n <div class="form-group">\r\n <select ref="filterType" class="form-control">\r\n ',n.filterTypes.forEach((function(l){t+="\r\n ",n.hideFilters.includes(n.component.key)&&["startsWith","contain","notContain","endsWith","matches"].includes(l.type)||(t+='\r\n <option value="'+(null==(e=l.type)?"":e)+'">'+(null==(e=l.label)?"":e)+"</option>\r\n "),t+="\r\n "})),t+='\r\n </select>\r\n </div>\r\n <div class="form-group">\r\n <input type="text" ref="filterInput" name="'+(null==(e=n.component&&n.component.key)?"":e)+'" class="form-control" placeholder="Filter">\r\n </div>\r\n <div class="form-row btn-toolbar">\r\n <button ref="filterButton" type="button" class="btn btn-primary">Filter</button>\r\n <button ref="clearBtn" type="button" class="btn btn-secondary">Clear</button>\r\n </div>\r\n </form>\r\n </ul>\r\n </li>\r\n '),t+="\r\n </ul>\r\n</div>\r\n"}},B={html:function(n){var e,t="";return Array.prototype.join,t+='<table>\n<tbody ref="tbody">\n ',n.eachRow((function(l){t+='\n <tr ref="row">\n ',n.component.enableRowSelect&&(t+='\n <td style="text-align: center">\n <input type="checkbox" ref="selectRow" title="select row">\n </td>\n '),t+="\n ",l.forEach((function(l){t+="\n ",l.component.show&&(t+="\n <td \n "+(null==(e=n.component.cellMaxWidth?'style="max-width:'+n.component.cellMaxWidth+';"':"")?"":e)+"\n "+(null==(e=n.component.clipCells?'class="clip"':"")?"":e)+">\n "+(null==(e=n.instance.hook("format",l.component.key,l.dataValue))?"":e)+"\n </td>\n "),t+="\n "})),t+="\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&!n.options.pdf&&(t+='\n <th class="formio-grid-ops formio-actions-col-b3" style="border: none; padding: 0; position: sticky; height: inherit;">\n <div class="row-menu-btn" style="height: 100%; border-left: 1px solid #ccc; border-right: 1px solid #ccc;">\n <div class="dropdown" ref="menu">\n <ul class="dropdown-menu checkbox-menu allow-focus" ref="dropdown">\n ',n.component.showEditBtn&&(t+='\n <li class="dropdown-item" ref="editRow">\n <span class="btn btn-xxs formio-grid-ops-button">&#9999;</span>\n Edit row\n </li>\n '),t+="\n ",n.component.showDeleteBtn&&(t+='\n <li class="dropdown-item '+(null==(e=n.options.readOnly?"disabled":"")?"":e)+'" ref="deleteRow">\n <span class="btn btn-xxs formio-grid-ops-button">\n <i class="fa fa-trash" aria-hidden="true"></i>\n </span>\n Delete row\n </li>\n '),t+="\n </ul>\n </div>\n ⋮\n </div>\n </th>\n "),t+="\n </tr>\n "})),t+="\n</tbody>\n</table>"}},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";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""+'<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">\n '+(null==(e=n.form)?"":e)+"\n </div>\n</div>\n"}},builderComponent:l,builderComponents:{form:function(n){var e;return""+'<div class="builder-components drag-container formio-builder-'+(null==(e=n.type)?"":e)+'" ref="'+(null==(e=n.key)?"":e)+'-container">\n '+(null==(e=n.html)?"":e)+"\n</div>\n"}},builderEditForm:o,builderPlaceholder:{form:function(n){var e;return""+'<div\n class="alert alert-info no-drag"\n style="text-align:center; margin-bottom: 5px;"\n role="alert"\n data-noattach="true"\n data-position="'+(null==(e=n.position)?"":e)+'"\n>\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n</div>\n"}},builderSidebar:a,builderSidebarGroup:r,columns:i,datagrid:s,day:u,dialog:{form:function(n){return'<div class="formio-dialog formio-dialog-theme-default component-settings">\n <div class="formio-dialog-overlay" ref="dialogOverlay"></div>\n <div class="formio-dialog-content" ref="dialogContents">\n <div ref="dialogContents"></div>\n <button class="formio-dialog-close pull-right btn btn-default btn-xs" aria-label="close" ref="dialogClose"></button>\n </div>\n</div>\n'}},editgrid:d,field:c,file:p,icon:{form:function(n){var e;return""+'<i ref="'+(null==(e=n.ref)?"":e)+'" class="'+(null==(e=n.className)?"":e)+'" style="'+(null==(e=n.styles)?"":e)+'">'+(null==(e=n.content)?"":e)+"</i>\n"}},input:b,label:m,message:{form:function(n){var e;return""+'<p class="help-block '+(null==(e=n.level)?"":e)+'">'+(null==(e=n.message)?"":e)+"</p>\n"}},modaldialog:{form:function(n){var e;return""+'<div class="formio-dialog formio-dialog-theme-default formio-modaledit-dialog">\n <div ref="overlay" class="formio-dialog-overlay"></div>\n <div ref="content" class="formio-modaledit-content">\n <button\n ref="close"\n type="button"\n role="button"\n class="btn btn-primary btn-xs formio-modaledit-close">\n '+(null==(e=n.t("Close"))?"":e)+'\n </button>\n <div ref="inner" class="reset-margins"></div>\n </div>\n</div>\n'}},modaledit:{form:function(n){var e;return""+'<div ref="container" class="formio-modaledit-view-container">\n <button\n ref="edit"\n type="button"\n role="button"\n class="btn btn-xxs btn-warning formio-modaledit-edit">\n <i class="'+(null==(e=n.iconClass("edit"))?"":e)+'"></i>\n </button>\n <div ref="input" class="modaledit-view-inner reset-margins">'+(null==(e=n.content)?"":e)+"</div>\n</div>\n"}},multiValueRow:f,multiValueTable:v,panel:y,radio:h,resourceAdd:{form:function(n){var e;return""+'<table class="table table-bordered">\n <tbody>\n <tr>\n <td>\n '+(null==(e=n.element)?"":e)+'\n </td>\n </tr>\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-resource" ref="addResource">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>\n '+(null==(e=n.t(n.component.addResourceLabel||"Add Resource",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n"}},signature:g,survey:w,tab:x,table:k,well:{form:function(n){var e;return""+'<div class="well">\n <div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n</div>\n"}},wizard:C,wizardHeader:A,wizardHeaderClassic:z,wizardHeaderVertical:I,wizardNav:R,errorsList:E,alert:j,grid:P,pagination:{html:function(n){var e;return""+'<div class="common-pagination" role="toolbar" style="font-size: small; display: flex; align-items: center; margin-left: auto" '+(null==(e=n.component.showAddBtn?'style="width: 95%;"':'style="width: 100%;"')?"":e)+'>\n <div class="items-per-page input-group" style="display: flex; align-items: center;">\n <div class="input-group-append">\n <span class="">Items per page:</span>\n </div>\n <select ref="itemsPerPage" class="mr-1" style="border: none;\n border-bottom: 1px solid black; outline: none; cursor: pointer; margin-right: 10px">\n <option value="5">5</option>\n <option value="10">10</option>\n <option value="25">25</option>\n <option value="50">50</option>\n <option value="100">100</option>\n <option value="-1">All</option>\n </select>\n </div>\n <span ref="itemsCount" class="items-count p-1">\n '+(null==(e=n.itemsCount)?"":e)+'\n </span>\n <button ref="firstPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&laquo;</span>\n </button>\n <button ref="prevPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&lsaquo;</span>\n </button>\n <button ref="nextPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&rsaquo;</span>\n </button>\n <button ref="lastPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&raquo;</span>\n </button>\n</div>\n'}},columnMenu:K,tbody:B,paginationBottom:{html:function(n){return'<div class="pagination-bottom">\n <div ref="paginationContainer" class="hidden">\n <button ref="firstPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&laquo;</span>\n </button>\n <button ref="prevPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&lsaquo;</span>\n </button>\n <button ref="nextPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&rsaquo;</span>\n </button>\n <button ref="lastPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&raquo;</span>\n </button>\n </div>\n</div>'}}},_={framework:"bootstrap3",templates:{bootstrap3:q}};return e.default})()));
!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+='<div class="builder-component" ref="dragComponent">\n ',n.disableBuilderActions||(t+='\n <div class="component-btn-group" data-noattach="true">\n <div class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove" ref="removeComponent">\n <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-copy" ref="copyComponent">\n <i class="'+(null==(e=n.iconClass("copy"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-paste" ref="pasteComponent">\n <i class="'+(null==(e=n.iconClass("save"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json" ref="editJson">\n <i class="'+(null==(e=n.iconClass("wrench"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-move" ref="moveComponent">\n <i class="'+(null==(e=n.iconClass("move"))?"":e)+'"></i>\n </div>\n <div class="btn btn-xxs btn-default component-settings-button component-settings-button-edit", ref="editComponent">\n <i class="'+(null==(e=n.iconClass("cog"))?"":e)+'"></i>\n </div>\n </div>\n '),t+"\n "+(null==(e=n.html)?"":e)+"\n</div>\n"}},o={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="row">\n <div class="col col-sm-6">\n <p class="lead">'+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"</p>\n </div>\n ",n.helplinks&&(t+='\n <div class="col col-sm-6">\n <div class="pull-right" style="margin-right: 20px; margin-top: 10px">\n <a href="'+(null==(e=n.t(n.helplinks+n.componentInfo.documentation))?"":e)+'" target="_blank">\n <i class="'+(null==(e=n.iconClass("new-window"))?"":e)+'"> '+(null==(e=n.t("Help"))?"":e)+"</i>\n </a>\n </div>\n </div>\n"),t+='\n</div>\n<div class="row component-edit-content">\n <div class="col component-edit-tabs ',n.preview?t+="col-sm-6":t+="col-sm-12",t+='">\n <div class="editForm" ref="editForm">\n '+(null==(e=n.editForm)?"":e)+"\n </div>\n ",n.preview||(t+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-default" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n </div>\n "),t+="\n </div>\n ",n.preview&&(t+='\n <div class="col col-sm-6">\n <div class="panel panel-default preview-panel">\n <div class="panel-heading">\n <h3 class="panel-title">'+(null==(e=n.t("Preview"))?"":e)+'</h3>\n </div>\n <div class="panel-body">\n <div class="component-preview" ref="preview">\n '+(null==(e=n.preview)?"":e)+"\n </div>\n </div>\n </div>\n ",n.componentInfo.help&&(t+='\n <div class="well formio-settings-help">\n '+(null==(e=n.componentInfo.help)?"":e)+"\n </div>\n "),t+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-default" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n </div>\n </div>\n "),t+"\n</div>\n"}},a={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="builder-sidebar'+(null==(e=n.scrollEnabled?" builder-sidebar_scroll":"")?"":e)+'" ref="sidebar">\n <input class="form-control builder-sidebar_search" type="search" ref="sidebar-search" placeholder="'+(null==(e=n.t("Search field(s)"))?"":e)+'" />\n <div id="'+(null==(e=n.groupId)?"":e)+'" class="panel-group" ref="sidebar-groups">\n ',n.groups.forEach((function(n){t+="\n "+(null==(e=n)?"":e)+"\n "})),t+="\n </div>\n</div>\n"}},r={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="panel panel-default form-builder-panel" ref="group-panel-'+(null==(e=n.groupKey)?"":e)+'">\n <div class="panel-heading form-builder-group-header">\n <h5 class="panel-title">\n <button\n class="btn btn-block builder-group-button"\n type="button"\n data-toggle="collapse"\n data-target="#group-'+(null==(e=n.groupKey)?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n href="#group-'+(null==(e=n.groupKey)?"":e)+'"\n ref="sidebar-anchor"\n >\n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n </button>\n </h5>\n </div>\n <div\n id="group-'+(null==(e=n.groupKey)?"":e)+'"\n class="panel-collapse collapse'+(null==(e=n.group.default?" in":"")?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-default="'+(null==(e=n.group.default)?"":e)+'"\n ref="sidebar-group"\n >\n <div id="group-container-'+(null==(e=n.groupKey)?"":e)+'" class="panel-body no-drop" ref="sidebar-container">\n ',n.group.componentOrder.length||n.subgroups.length?(t+="\n ",n.group.componentOrder.forEach((function(l){t+='\n <span\n data-group="'+(null==(e=n.groupKey)?"":e)+'"\n data-key="'+(null==(e=n.group.components[l].key)?"":e)+'"\n data-type="'+(null==(e=n.group.components[l].schema.type)?"":e)+'"\n class="btn btn-primary btn-xs btn-block formcomponent drag-copy"\n >\n ',n.group.components[l].icon&&(t+='\n <i class="'+(null==(e=n.iconClass(n.group.components[l].icon))?"":e)+'" style="margin-right: 5px;"></i>\n '),t+="\n "+(null==(e=n.t(n.group.components[l].title,{_userInput:!0}))?"":e)+"\n </span>\n "})),t+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):t+="\n <div>"+(null==(e=n.t("No Matches Found"))?"":e)+"</div>\n ",t+="\n </div>\n </div>\n</div>\n\n"}},i={form:function(n){var e,t="";return Array.prototype.join,n.component.columns.forEach((function(l,o){t+='\n<div class="col\n col-'+(null==(e=l.size)?"":e)+"-"+(null==(e=l.width)?"":e)+"\n col-"+(null==(e=l.size)?"":e)+"-offset-"+(null==(e=l.offset)?"":e)+"\n col-"+(null==(e=l.size)?"":e)+"-push-"+(null==(e=l.push)?"":e)+"\n col-"+(null==(e=l.size)?"":e)+"-pull-"+(null==(e=l.pull)?"":e)+'"\n ref="'+(null==(e=n.columnKey)?"":e)+'">\n '+(null==(e=n.columnComponents[o])?"":e)+"\n</div>\n"})),t+="\n"}},s={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table datagrid-table table-bordered\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-condensed":"")?"":e)+'\n " ',n.component.layoutFixed&&(t+='style="table-layout: fixed;"'),t+=">\n ",n.hasHeader&&(t+="\n <thead>\n <tr>\n ",n.component.reorder&&(t+="<th></th>"),t+="\n ",n.columns.forEach((function(l){t+='\n <th class="'+(null==(e=l.validate&&l.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&(t+=' <i ref="tooltip" data-title="'+(null==(e=l.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>'),t+="\n </th>\n "})),t+="\n ",n.hasExtraColumn&&(t+="\n <th>\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(t+='\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n "),t+="\n </th>\n "),t+="\n </tr>\n </thead>\n "),t+='\n <tbody ref="'+(null==(e=n.datagridKey)?"":e)+'-tbody" data-key="'+(null==(e=n.datagridKey)?"":e)+'">\n ',n.rows.forEach((function(l,o){t+="\n ",n.hasGroups&&n.groups[o]&&(t+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-group-header" class="datagrid-group-header'+(null==(e=n.hasToggle?" clickable":"")?"":e)+'">\n <td\n ref="'+(null==(e=n.datagridKey)?"":e)+'-group-label"\n colspan="'+(null==(e=n.numColumns)?"":e)+'"\n class="datagrid-group-label">'+(null==(e=n.groups[o].label)?"":e)+"</td>\n </tr>\n "),t+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-row">\n ',n.component.reorder&&(t+='\n <td class="col-md-1">\n <button type="button" class="formio-drag-button btn btn-default fa fa-bars" data-key="'+(null==(e=n.datagridKey)?"":e)+'"></button>\n </td>\n '),t+="\n ",n.columns.forEach((function(o){t+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'">\n '+(null==(e=l[o.key])?"":e)+"\n </td>\n "})),t+="\n ",n.hasExtraColumn&&(t+="\n ",n.hasRemoveButtons&&(t+='\n <td class="col-md-1">\n <button type="button" class="btn btn-default formio-button-remove-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-removeRow">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),t+="\n ",n.canAddColumn&&(t+='\n <td ref="'+(null==(e=n.key)?"":e)+'-container" class="col-md-1">\n '+(null==(e=n.placeholder)?"":e)+"\n </td>\n "),t+="\n "),t+="\n </tr>\n "})),t+="\n </tbody>\n ",n.hasAddButton&&n.hasBottomSubmit&&(t+='\n <tfoot>\n <tr>\n <td colspan="'+(null==(e=n.component.layoutFixed?n.numColumns:n.numColumns+1)?"":e)+'">\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tfoot>\n "),t+="\n</table>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<table class="table datagrid-table table-bordered\n '+(null==(e=component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=component.condensed?"table-condensed":"")?"":e)+'\n ">\n ',hasHeader&&(l+="\n <thead>\n <tr>\n ",columns.forEach((function(n){l+='\n <th class="'+(null==(e=n.validate&&n.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=n.hideLabel?"":t(n.label||n.title))?"":e)+"\n ",n.tooltip&&(l+=' <i ref="tooltip" data-title="'+(null==(e=n.tooltip)?"":e)+'" class="'+(null==(e=iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.tooltip)?"":e)+'"></i>'),l+="\n </th>\n "})),l+="\n </tr>\n </thead>\n "),l+="\n <tbody>\n ",rows.forEach((function(n){l+="\n <tr>\n ",columns.forEach((function(t){l+='\n <td ref="'+(null==(e=datagridKey)?"":e)+'">\n '+(null==(e=n[t.key])?"":e)+"\n </td>\n "})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},u={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="row">\n ',n.dayFirst&&n.showDay&&(t+='\n <div class="form-group col col-xs-3">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),t+="\n ",n.showMonth&&(t+='\n <div class="form-group col col-xs-4">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-month" class="',n.component.fields.month.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Month"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.month)?"":e)+"</div>\n </div>\n "),t+="\n ",!n.dayFirst&&n.showDay&&(t+='\n <div class="form-group col col-xs-3">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),t+="\n ",n.showYear&&(t+='\n <div class="form-group col col-xs-5">\n ',n.component.hideInputLabels||(t+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-year" class="',n.component.fields.year.required&&(t+="field-required"),t+='">'+(null==(e=n.t("Year"))?"":e)+"</label>\n "),t+="\n <div>"+(null==(e=n.year)?"":e)+"</div>\n </div>\n "),t+'\n</div>\n<input name="data[day]" type="hidden" class="form-control" lang="en" value="" ref="input">\n'}},d={form:function(n){var e,t="";return Array.prototype.join,t+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-condensed":"")?"":e)+'\n ">\n ',n.header&&(t+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),t+="\n ",n.footer&&(t+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),t+="\n</ul>\n",!n.readOnly&&n.hasAddButton&&(t+='\n<button class="btn btn-primary formio-button-add-another" ref="'+(null==(e=n.ref.addRow)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n</button>\n"),t+="\n"},html:function(n){var e,t="";return Array.prototype.join,t+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(t+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),t+="\n ",n.rows.forEach((function(l,o){t+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),t+="\n ",n.footer&&(t+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),t+="\n</ul>\n"}},c={align:function(n){var e,t="";return Array.prototype.join,t+='<div class="field-wrapper\n '+(null==(e=n.isRightPosition?"field-wrapper--reverse":"")?"":e)+'">\n ',n.label.hidden||(t+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n '+(null==(e=n.labelMarkup)?"":e)+"\n </div>\n "),t+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\n </div>\n '),t+='\n\n <div class="filed-content" style="'+(null==(e=n.contentStyles)?"":e)+'">\n '+(null==(e=n.element)?"":e)+"\n </div>\n</div>\n\n",n.component.description&&(t+='\n <div class="form-text text-muted">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\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 <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\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 <div class="help-block">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\n"),t+"\n"}},p={form:function(n){var e,t="";return Array.prototype.join,n.self.imageUpload?(t+="\n <div>\n ",n.files.forEach((function(l){t+='\n <div>\n <span>\n <img ref="fileImage" src="" alt="'+(null==(e=l.originalName||l.name)?"":e)+'" style="width:'+(null==(e=n.component.imageSize)?"":e)+'px">\n ',n.disabled||(t+='\n <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i>\n '),t+="\n </span>\n </div>\n "})),t+="\n </div>\n"):(t+='\n <ul class="list-group list-group-striped">\n <li class="list-group-item list-group-header hidden-xs hidden-sm">\n <div class="row">\n ',n.disabled||(t+='\n <div class="col-md-1"></div>\n '),t+='\n <div class="col-md-',n.self.hasTypes?t+="7":t+="9",t+='"><strong>'+(null==(e=n.t("File Name"))?"":e)+'</strong></div>\n <div class="col-md-2"><strong>'+(null==(e=n.t("Size"))?"":e)+"</strong></div>\n ",n.self.hasTypes&&(t+='\n <div class="col-md-2"><strong>'+(null==(e=n.t("Type"))?"":e)+"</strong></div>\n "),t+="\n </div>\n </li>\n ",n.files.forEach((function(l){t+='\n <li class="list-group-item">\n <div class="row">\n ',n.disabled||(t+='\n <div class="col-md-1"><i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i></div>\n '),t+='\n <div class="col-md-',n.self.hasTypes?t+="7":t+="9",t+='">\n ',n.component.uploadOnly?t+="\n "+(null==(e=l.originalName||l.name)?"":e)+"\n ":t+='\n <a href="'+(null==(e=l.url||"#")?"":e)+'" target="_blank" ref="fileLink">'+(null==(e=l.originalName||l.name)?"":e)+"</a>\n ",t+='\n </div>\n <div class="col-md-2">'+(null==(e=n.fileSize(l.size))?"":e)+"</div>\n ",n.self.hasTypes&&!n.disabled&&(t+='\n <div class="col-md-2">\n <select class="file-type" ref="fileType" >\n ',n.component.fileTypes.map((function(n){t+='\n <option class="test" value="'+(null==(e=n.value)?"":e)+'" ',n.label===l.fileType&&(t+='selected="selected"'),t+=">"+(null==(e=n.label)?"":e)+"</option>\n "})),t+="\n </select>\n </div>\n "),t+="\n ",n.self.hasTypes&&n.disabled&&(t+='\n <div class="col-md-2">'+(null==(e=l.fileType)?"":e)+"</div>\n "),t+="\n </div>\n </li>\n "})),t+="\n </ul>\n"),t+="\n",n.disabled||!n.component.multiple&&n.files.length||(t+="\n ",n.self.useWebViewCamera?t+='\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="fa fa-book"></i> '+(null==(e=n.t("Gallery"))?"":e)+'</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="fa fa-camera"></i> '+(null==(e=n.t("Camera"))?"":e)+"</button>\n </div>\n ":n.self.cameraMode?t+='\n <div class="video-container">\n <video class="video" autoplay="true" ref="videoPlayer"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="fa fa-camera"></i> '+(null==(e=n.t("Take Picture"))?"":e)+'</button>\n <button class="btn btn-primary" ref="toggleCameraMode">'+(null==(e=n.t("Switch to file upload"))?"":e)+"</button>\n ":(t+='\n <div class="fileSelector" ref="fileDrop" '+(null==(e=n.fileDropHidden?"hidden":"")?"":e)+'>\n <i class="'+(null==(e=n.iconClass("cloud-upload"))?"":e)+'"></i> '+(null==(e=n.t("Drop files to attach,"))?"":e)+"\n ",n.self.imageUpload&&n.component.webcam&&(t+='\n <a href="#" ref="toggleCameraMode"><i class="fa fa-camera"></i> '+(null==(e=n.t("Use Camera,"))?"":e)+"</a>\n "),t+="\n "+(null==(e=n.t("or"))?"":e)+' <a href="#" ref="fileBrowse" class="browse">'+(null==(e=n.t("browse"))?"":e)+"</a>\n </div>\n "),t+="\n"),t+="\n",n.statuses.forEach((function(l){t+='\n <div class="file '+(null==(e="error"===n.statuses.status?" has-error":"")?"":e)+'">\n <div class="row">\n <div class="fileName col-form-label col-sm-10">'+(null==(e=l.originalName)?"":e)+' <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="fileStatusRemove"></i></div>\n <div class="fileSize col-form-label col-sm-2 text-right">'+(null==(e=n.fileSize(l.size))?"":e)+'</div>\n </div>\n <div class="row">\n <div class="col-sm-12">\n ',"progress"===l.status?t+='\n <div class="progress">\n <div class="progress-bar" role="progressbar" aria-valuenow="'+(null==(e=l.progress)?"":e)+'" aria-valuemin="0" aria-valuemax="100" style="width: '+(null==(e=l.progress)?"":e)+'%">\n <span class="sr-only">'+(null==(e=l.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"</span>\n </div>\n </div>\n ":"error"===l.status?t+='\n <div class="alert alert-danger bg-'+(null==(e=l.status)?"":e)+'">'+(null==(e=n.t(l.message))?"":e)+"</div>\n ":t+='\n <div class="bg-'+(null==(e=l.status)?"":e)+'">'+(null==(e=n.t(l.message))?"":e)+"</div>\n ",t+="\n </div>\n </div>\n </div>\n"})),t+="\n",n.component.storage&&!n.support.hasWarning||(t+='\n <div class="alert alert-warning">\n ',n.component.storage||(t+="\n <p>"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"</p>\n "),t+="\n ",n.support.filereader||(t+="\n <p>"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"</p>\n "),t+="\n ",n.support.formdata||(t+="\n <p>"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"</p>\n "),t+="\n ",n.support.progress||(t+="\n <p>"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"</p>\n "),t+="\n </div>\n"),t}},m={form:function(n){var e,t="";if(Array.prototype.join,(n.prefix||n.suffix)&&(t+='\n<div class="input-group">\n '),t+="\n ",n.prefix&&(t+='\n <div class="input-group-addon" ref="prefix">\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 </div>\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)+"</"+(null==(e=n.input.type)?"":e)+">\n ",n.hasValueMaskInput&&(t+='\n <input ref="valueMaskInput" />\n '),t+="\n"}return t+="\n",(n.component.editor||n.component.wysiwyg)&&(t+='\n <div ref="input"></div>\n'),t+="\n",n.suffix&&(t+='\n <div class="input-group-addon" ref="suffix">\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 </div>\n"),t+="\n",(n.prefix||n.suffix)&&(t+="\n </div>\n"),t+="\n",n.component.showCharCount&&(t+='\n<span class="text-muted pull-right" ref="charcount"></span>\n'),t+="\n",n.component.showWordCount&&(t+='\n<span class="text-muted pull-right" ref="wordcount"></span>\n'),t+"\n"},html:function(n){var e,t="";return Array.prototype.join,t+='<div ref="value">',n.value?t+=null==(e=n.value)?"":e:t+="-",t+"</div>\n"}},b={form:function(n){var e,t="";return Array.prototype.join,t+='<label\n class="control-label '+(null==(e=n.label.className)?"":e)+'"\n for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n>\n ',n.label.hidden||(t+="\n "+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(t+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),t+="\n "),t+"\n</label>\n"}},f={form:function(n){var e,t="";return Array.prototype.join,t+='<tr ref="row">\n <td>\n '+(null==(e=n.element)?"":e)+"\n </td>\n ",n.disabled||(t+='\n <td>\n <button type="button" class="btn btn-default" ref="removeRow">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),t+"\n</tr>\n"}},v={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table table-bordered">\n <tbody>\n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(t+='\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-another" ref="addButton"><i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.addAnother,{_userInput:!0}))?"":e)+"</button>\n </td>\n </tr>\n "),t+"\n </tbody>\n</table>\n"}},y={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="panel panel-'+(null==(e=n.component.theme)?"":e)+'">\n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(t+='\n <div class="panel-heading"\n ',n.component.collapsible&&(t+='\n tabindex="0"\n '),t+='\n role="button"\n aria-expanded="'+(null==(e=!n.component.collapsible||!n.collapsed)?"":e)+'"\n aria-controls="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ref="header"\n >\n <h4 class="mb-0 panel-title">\n ',n.component.collapsible&&(t+='\n <i class="formio-collapse-icon '+(null==(e=n.iconClass(n.collapsed?"plus":"minus"))?"":e)+' text-muted" data-title="Collapse Panel"></i>\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 <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),t+="\n </h4>\n </div>\n "),t+="\n ",n.collapsed&&!n.builder||(t+='\n <div class="panel-body" ref="'+(null==(e=n.nestedKey)?"":e)+'" id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n "),t+"\n</div>\n"}},h={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="input-group">\n ',n.values.forEach((function(l,o){for(var a in t+='\n <div class="'+(null==(e=n.input.attr.type)?"":e)+(null==(e=n.inline?"-inline":"")?"":e)+'" ref="wrapper">\n <label class="control-label form-check-label label-position-'+(null==(e=n.component.optionsLabelPosition)?"":e)+'" for="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof l.value?l.value+"-"+o:l.value)?"":e)+'">\n ',"left"!==n.component.optionsLabelPosition&&"top"!==n.component.optionsLabelPosition||(t+="\n <span>"+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+"</span>\n "),t+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="input"\n ',n.input.attr)t+="\n "+(null==(e=a)?"":e)+'="'+(null==(e=n.input.attr[a])?"":e)+'"\n ';t+='\n value="'+(null==(e=l.value)?"":e)+'"\n ',(n.value===l.value||"object"==typeof n.value&&n.value.hasOwnProperty(l.value)&&n.value[l.value])&&(t+="\n checked=true\n "),t+="\n ",l.disabled&&(t+="\n disabled=true\n "),t+='\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 l.value?l.value+"-"+o:l.value)?"":e)+'"\n >\n ',n.component.optionsLabelPosition&&"right"!==n.component.optionsLabelPosition&&"bottom"!==n.component.optionsLabelPosition||(t+="\n <span>"+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+"</span>\n "),t+="\n </label>\n </div>\n "})),t+="\n</div>\n"},html:function(n){var e,t="";return Array.prototype.join,(t+='<div ref="value">\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 </div>\n"}},g={form:function(n){var e,t="";return Array.prototype.join,t+=(null==(e=n.element)?"":e)+'\n<div\n class="signature-pad-body"\n style="width: '+(null==(e=n.component.width)?"":e)+";height: "+(null==(e=n.component.height)?"":e)+';padding:0;margin:0;"\n tabindex="'+(null==(e=n.component.tabindex||0)?"":e)+'"\n ref="padBody"\n>\n\n <a class="btn btn-sm btn-default signature-pad-refresh" ref="refresh">\n <i class="'+(null==(e=n.iconClass("refresh"))?"":e)+'"></i>\n </a>\n <canvas class="signature-pad-canvas" style="display: none;" height="'+(null==(e=n.component.height)?"":e)+'" ref="canvas"></canvas>\n ',n.required&&(t+='\n <span class="form-control-feedback field-required-inline text-danger">\n <i class="'+(null==(e=n.iconClass("asterisk"))?"":e)+'"></i>\n </span>\n '),t+='\n <img style="width: 100%;display: inherit;" ref="signatureImage">\n</div>\n',n.component.footer&&(t+='\n <div class="signature-pad-footer">\n '+(null==(e=n.t(n.component.footer,{_userInput:!0}))?"":e)+"\n </div>\n"),t+"\n"},html:function(n){return'<img style="width: 100%;" ref="signatureImage">\n'}},w={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table table-striped table-bordered">\n <thead>\n <tr>\n <th></th>\n ',n.component.values.forEach((function(l){t+='\n <th style="text-align: center;">\n '+(null==(e=n.t(l.label))?"":e)+"\n ",l.tooltip&&(t+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </th>\n "})),t+="\n </tr>\n </thead>\n <tbody>\n ",n.component.questions.forEach((function(l){t+="\n <tr>\n <td>\n "+(null==(e=n.t(l.label))?"":e)+"\n ",l.tooltip&&(t+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </td>\n ",n.component.values.forEach((function(o){t+='\n <td style="text-align: center;">\n <input type="radio" name="'+(null==(e=n.self.getInputName(l))?"":e)+'" value="'+(null==(e=o.value)?"":e)+'" id="'+(null==(e=n.key)?"":e)+"-"+(null==(e=l.value)?"":e)+"-"+(null==(e=o.value)?"":e)+'" ref="input">\n </td>\n '})),t+="\n </tr>\n "})),t+="\n </tbody>\n</table>\n"},html:function(n){var e,t="";return Array.prototype.join,t+='<table class="table table-striped table-bordered">\n <tbody>\n ',n.component.questions.forEach((function(l){t+="\n <tr>\n <th>"+(null==(e=n.t(l.label))?"":e)+"</th>\n <td>\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 </td>\n </tr>\n "})),t+="\n </tbody>\n</table>\n"}},x={flat:function(n){var e,t="";return Array.prototype.join,n.component.components.forEach((function(l,o){t+='\n <div class="panel panel-default">\n <div class="panel-heading">\n <h4 class="panel-title">'+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+'</h4>\n </div>\n <div class="panel-body" ref="'+(null==(e=n.tabKey)?"":e)+'">\n '+(null==(e=n.tabComponents[o])?"":e)+"\n </div>\n </div>\n"})),t+="\n"},form:function(n){var e,t="";return Array.prototype.join,t+='<div class="tab-container'+(null==(e=n.component.verticalLayout?" card-vertical":"")?"":e)+'">\n <ul class="nav nav-tabs'+(null==(e=n.component.verticalLayout?" nav-tabs-vertical":"")?"":e)+'">\n ',n.component.components.forEach((function(l,o){t+='\n <li class="nav-item'+(null==(e=n.currentTab===o?" active":"")?"":e)+'" role="presentation" ref="'+(null==(e=n.tabLikey)?"":e)+'">\n <a class="nav-link'+(null==(e=n.currentTab===o?" active":"")?"":e)+(null==(e=n.component.verticalLayout?" nav-link-vertical":"")?"":e)+'" href="#'+(null==(e=l.key)?"":e)+'" ref="'+(null==(e=n.tabLinkKey)?"":e)+'">'+(null==(e=n.t(l.label,{_userInput:!0}))?"":e)+"</a>\n </li>\n "})),t+='\n </ul>\n <div class="tab-content">\n ',n.component.components.forEach((function(l,o){t+='\n <div role="tabpanel" class="tab-pane'+(null==(e=n.currentTab===o?" active":"")?"":e)+'" ref="'+(null==(e=n.tabKey)?"":e)+'">'+(null==(e=n.tabComponents[o])?"":e)+"</div>\n "})),t+="\n </div>\n</div>\n"}},k={form:function(n){var e,t="";return Array.prototype.join,t+='<table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-condensed":"")?"":e)+'\n ">\n ',n.component.header&&n.component.header.length>0&&(t+="\n <thead>\n <tr>\n ",n.component.header.forEach((function(l){t+="\n <th>"+(null==(e=n.t(l,{_userInput:!0}))?"":e)+"</th>\n "})),t+="\n </tr>\n </thead>\n "),t+="\n <tbody>\n ",n.tableComponents.forEach((function(l,o){t+='\n <tr ref="row-'+(null==(e=n.id)?"":e)+'">\n ',l.forEach((function(l,a){t+='\n <td ref="'+(null==(e=n.tableKey)?"":e)+"-"+(null==(e=o)?"":e)+'"',n.cellClassName&&(t+=' class="'+(null==(e=n.cellClassName)?"":e)+'"'),t+=">"+(null==(e=l)?"":e)+"</td>\n "})),t+="\n </tr>\n "})),t+="\n </tbody>\n</table>\n"}},C={form:function(n){var e,t="";return Array.prototype.join,t+='<div class="'+(null==(e=n.className)?"":e)+'">\n <div style="position: relative;">\n ',"wizardHeaderVertical"===n.wizardHeaderType?t+='\n <div class="row">\n <div class="col-sm-12 col-md-2">\n '+(null==(e=n.wizardHeader)?"":e)+'\n </div>\n <div class="wizard-page col-sm-offset-1 col-md-offset-0 col-sm-10" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+'\n </div>\n </div>\n <div class="col-sm-offset-4 col-sm-7 col-md-offset-2 col-md-10" style="margin-top: 10px;">\n '+(null==(e=n.wizardNav)?"":e)+"\n </div>\n ":t+=" \n "+(null==(e=n.wizardHeader)?"":e)+'\n <div class="wizard-page" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+"\n </div>\n "+(null==(e=n.wizardNav)?"":e)+"\n ",t+" \n </div>\n</div>"},builder:function(n){var e;return""+'<div class="text-muted text-center">'+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"</div>\n"}},A={form:function(n){var e,t="";return Array.prototype.join,t+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header" ref="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination">\n ',n.panels.forEach((function(l,o){t+='\n <li class="page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="">\n <span class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link">\n '+(null==(e=n.t(l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&n.currentPage===o&&(t+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </span>\n </li>\n "})),t+="\n </ul>\n</nav>\n"}},z={form:function(n){var e,t="";return Array.prototype.join,t+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <div class="classic-pagination row" style="border-bottom:0;">\n ',n.panels.forEach((function(l,o){t+='\n <div class="classic-pagination-page col-xs-12 col-sm-6 col-md-3\n '+(null==(e=n.currentPage<o?" disabled":"")?"":e)+"\n "+(null==(e=n.currentPage===o?" active":"")?"":e)+"\n "+(null==(e=n.currentPage>o?" complete":"")?"":e)+'">\n <div class="text-center classic-pagination-title">'+(null==(e=n.t(l.title,{_userInput:!0}))?"":e)+"</div>\n ",n.panels.length>1&&(t+='\n <div class="progress"><div class="progress-bar"></div></div>\n '),t+=' \n <span ref="'+(null==(e=n.wizardKey)?"":e)+'-link" class="classic-pagination-dot"></span>\n </div>\n '})),t+="\n </div>\n</nav>\n"}},I={form:function(n){var e,t="";return Array.prototype.join,t+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination">\n ',n.panels.forEach((function(l,o){t+='\n <li class="col-sm-offset-3 col-sm-6 col-md-offset-0 col-md-12 page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="cursor: pointer;">\n <span class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link" style="margin: 0px 0px 5px;">\n '+(null==(e=n.t(l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&n.currentPage===o&&(t+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=l.tooltip)?"":e)+'"></i>\n '),t+="\n </span>\n </li>\n "})),t+="\n </ul>\n</nav>\n"}},R={form:function(n){var e,t="";return Array.prototype.join,t+='<ul class="list-inline" id="'+(null==(e=n.wizardKey)?"":e)+'-nav">\n ',n.buttons.cancel&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-default btn-wizard-nav-cancel" ref="'+(null==(e=n.wizardKey)?"":e)+'-cancel">'+(null==(e=n.t("cancel"))?"":e)+"</button>\n </li>\n "),t+="\n ",n.buttons.previous&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-primary btn-wizard-nav-previous" ref="'+(null==(e=n.wizardKey)?"":e)+'-previous">'+(null==(e=n.t("previous"))?"":e)+"</button>\n </li>\n "),t+="\n ",n.buttons.next&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-primary btn-wizard-nav-next" ref="'+(null==(e=n.wizardKey)?"":e)+'-next">'+(null==(e=n.t("next"))?"":e)+"</button>\n </li>\n "),t+="\n ",n.buttons.submit&&(t+='\n <li class="list-inline-item">\n <button class="btn btn-primary btn-wizard-nav-submit" ref="'+(null==(e=n.wizardKey)?"":e)+'-submit">'+(null==(e=n.t("submit"))?"":e)+"</button>\n </li>\n "),t+"\n</ul>\n"}},j={form:function(n){var e,t="";for(var l in Array.prototype.join,t+="<div\n ",n.attrs)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.attrs[l])?"":e)+'"\n ';return t+"\n>"+(null==(e=n.message)?"":e)+"</div>\n"}},E={form:function(n){var e,t="";return Array.prototype.join,t+="<p>"+(null==(e=n.t("error"))?"":e)+"</p>\n<ul>\n ",n.errors.forEach((function(l){t+='\n <li\n data-component-key = "'+(null==(e=l.keyOrPath)?"":e)+'"\n aria-label = "'+(null==(e=l.message)?"":e)+". "+(null==(e=n.t("errorsListNavigationMessage"))?"":e)+'"\n ref = "errorRef"\n tabIndex = "0",\n style = "cursor:pointer;"\n ><span>'+(null==(e=l.message)?"":e)+"</span></li>\n "})),t+="\n</ul>\n"}},P={html:function(n){var e,t="";return Array.prototype.join,t+='<div class="data-grid-wrapper">\n <div class="data-grid">\n <span class="menu-container">\n <div class="dropdown" ref="menu"></div>\n </span>\n <div style="position: relative; max-width: 86vw; display: flex; align-items: center; justify-content: space-between">\n ',n.component.enableRowSelect&&(t+='\n <div style="min-height: 20px" >\n ',n.selectedRows&&(t+='\n <span style=" font-size: 13px">'+(null==(e=n.selectedRows)?"":e)+" selected</span>\n "),t+="\n </div>\n "),t+='\n <div ref="pagination" class="formio-pagination" style="margin-left: auto"></div>\n </div>\n <div class="responsive-table">\n <div class="spinner-wrapper" ref="loader">\n <div class="spinner-grow"></div>\n </div>\n <table class="table'+(null==(e=n.classes)?"":e)+' formio-grid">\n <thead>\n <tr>\n ',n.component.components.length||(t+='\n <th>No components have been set up to display in the Data Table. "Table View" must be checked for components to render.</th>\n '),t+="\n ",n.component.enableRowSelect&&(t+='\n <th style="width: 2rem">\n <input type="checkbox" name="selectAll" id="selectAll" ref="selectAll" title="select All" '+(null==(e=n.selectedAll&&"checked")?"":e)+' >\n <span style="display: none">('+(null==(e=n.selectedRows)?"":e)+' of <span ref="totalRows"></span>)</span>\n </th>\n '),t+="\n ",n.component.components.forEach((function(l,o){t+="\n ",l.show&&(t+="\n <th>\n <span>"+(null==(e=l.label||l.key)?"":e)+"</span>\n ",n.options.sortable&&l.sortable&&(t+='\n <span class="sort-btn '+(null==(e=n.component.sort.key===l.key?"sorted":"")?"":e)+'" ref="sort">\n '+(null==(e=n.component.sort.isAsc?"↑":"↓")?"":e)+"\n </span>\n "),t+="\n ",n.options.hideMenu||(t+='\n <span class="menu">\n <div class="menu-container">\n <span class="menu-btn'+(null==(e=n.component.filters[l.key]||n.component.filters[l.columnQueryProperty]?" filters-applied":"")?"":e)+'" ref="menuBtn">⋮</span>\n </div>\n </span>\n '),t+="\n </th>\n "),t+="\n "})),t+="\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&n.data.length&&!n.options.pdf&&(t+='\n <th class="formio-grid-ops border-left-0" style="background-color: white; position: sticky; padding: 0;">\n <div class="formio-actions-header">\n <span>Actions</span>\n ',n.component.showDeleteAllBtn&&n.data.length&&(t+='\n <button class="btn btn p-0 delete-all-btn delete-all-btn formio-grid-ops-button '+(null==(e=n.options.readOnly?"disabled":"")?"":e)+'" ref="deleteAll" style="padding: 0;"><i class="fa fa-trash" aria-hidden="true"></i></button>\n '),t+="\n </div>\n </th>\n "),t+='\n </tr>\n </thead>\n <tbody ref="tbody"></tbody>\n </table>\n </div>\n <div class="formio-grid-bottom" '+(null==(e=n.component.showAddBtn?'style="margin-top: 10px"':"")?"":e)+'>\n <div ref="paginationBottom"></div>\n ',n.component.showAddBtn&&!n.options.pdf&&(t+='\n <div class="btn btn-primary formio-new-button '+(null==(e=n.options.readOnly?"disabled":"")?"":e)+'" ref="addRow">+</div>\n '),t+="\n </div>\n </div>\n</div>\n"}},K={html:function(n){var e,t="";return Array.prototype.join,t+='<div ref="menu">\r\n <ul class="dropdown-menu checkbox-menu allow-focus" ref="dropdown">\r\n ',n.options.sortable&&n.component&&n.component.sortable&&(t+='\r\n <li class="dropdown-item" ref="sortAscending">↑ Sort Ascending</li>\r\n <li class="dropdown-item" ref="sortDescending">↓ Sort Descending</li>\r\n <li ref="rootItem" role="separator" class="divider"></li>\r\n '),t+='\r\n <li ref="rootItem" class="dropdown-item">\r\n Columns <span class="arrow-right">›</span>\r\n <ul ref="nestedDropdown" class="dropdown-menu checkbox-menu allow-focus">\r\n ',n.components.forEach((function(l){t+='\r\n <li class="dropdown-item">\r\n <label class="radio-btn">\r\n <input \r\n ref="checkbox"\r\n '+(null==(e=l.show?"checked":"")?"":e)+"\r\n "+(null==(e=n.lastColumn&&l.show?"disabled":"")?"":e)+'\r\n type="checkbox"\r\n class="form-check-input">\r\n <span class="form-check-label">\r\n '+(null==(e=l.label)?"":e)+"\r\n </span>\r\n </label>\r\n </li>\r\n "})),t+="\r\n </ul>\r\n </li>\r\n ",n.options.filterable&&n.component&&n.component.filterable&&(t+='\r\n <li ref="rootItem" role="separator" class="divider"></li>\r\n <li ref="rootItem" class="dropdown-item">\r\n Filter <span class="arrow-right">›</span>\r\n <ul ref="nestedDropdown" class="dropdown-menu">\r\n <form ref="filterForm" class="px-3 py-2">\r\n Show items with value that:\r\n <div class="form-group">\r\n <select ref="filterType" class="form-control">\r\n ',n.filterTypes.forEach((function(l){t+="\r\n ",n.hideFilters.includes(n.component.key)&&["startsWith","contain","notContain","endsWith","matches"].includes(l.type)||(t+='\r\n <option value="'+(null==(e=l.type)?"":e)+'">'+(null==(e=l.label)?"":e)+"</option>\r\n "),t+="\r\n "})),t+='\r\n </select>\r\n </div>\r\n <div class="form-group">\r\n <input type="text" ref="filterInput" name="'+(null==(e=n.component&&n.component.key)?"":e)+'" class="form-control" placeholder="Filter">\r\n </div>\r\n <div class="form-row btn-toolbar">\r\n <button ref="filterButton" type="button" class="btn btn-primary">Filter</button>\r\n <button ref="clearBtn" type="button" class="btn btn-secondary">Clear</button>\r\n </div>\r\n </form>\r\n </ul>\r\n </li>\r\n '),t+="\r\n </ul>\r\n</div>\r\n"}},B={html:function(n){var e,t="";return Array.prototype.join,t+='<table>\n<tbody ref="tbody">\n ',n.eachRow((function(l){t+='\n <tr ref="row">\n ',n.component.enableRowSelect&&(t+='\n <td style="text-align: center">\n <input type="checkbox" ref="selectRow" title="select row">\n </td>\n '),t+="\n ",l.forEach((function(l){t+="\n ",l.component.show&&(t+="\n <td \n "+(null==(e=n.component.cellMaxWidth?'style="max-width:'+n.component.cellMaxWidth+';"':"")?"":e)+"\n "+(null==(e=n.component.clipCells?'class="clip"':"")?"":e)+">\n "+(null==(e=n.instance.hook("format",l.component.key,l.dataValue))?"":e)+"\n </td>\n "),t+="\n "})),t+="\n ",(n.component.showEditBtn||n.component.showDeleteBtn||n.component.showDeleteAllBtn)&&!n.options.pdf&&(t+='\n <th class="formio-grid-ops formio-actions-col-b3" style="border: none; padding: 0; position: sticky; height: inherit;">\n <div class="row-menu-btn" style="height: 100%; border-left: 1px solid #ccc; border-right: 1px solid #ccc;">\n <div class="dropdown" ref="menu">\n <ul class="dropdown-menu checkbox-menu allow-focus" ref="dropdown">\n ',n.component.showEditBtn&&(t+='\n <li class="dropdown-item" ref="editRow">\n <span class="btn btn-xxs formio-grid-ops-button">&#9999;</span>\n Edit row\n </li>\n '),t+="\n ",n.component.showDeleteBtn&&(t+='\n <li class="dropdown-item '+(null==(e=n.options.readOnly?"disabled":"")?"":e)+'" ref="deleteRow">\n <span class="btn btn-xxs formio-grid-ops-button">\n <i class="fa fa-trash" aria-hidden="true"></i>\n </span>\n Delete row\n </li>\n '),t+="\n </ul>\n </div>\n ⋮\n </div>\n </th>\n "),t+="\n </tr>\n "})),t+="\n</tbody>\n</table>"}},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";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""+'<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">\n '+(null==(e=n.form)?"":e)+"\n </div>\n</div>\n"}},builderComponent:l,builderComponents:{form:function(n){var e;return""+'<div class="builder-components drag-container formio-builder-'+(null==(e=n.type)?"":e)+'" ref="'+(null==(e=n.key)?"":e)+'-container">\n '+(null==(e=n.html)?"":e)+"\n</div>\n"}},builderEditForm:o,builderPlaceholder:{form:function(n){var e;return""+'<div\n class="alert alert-info no-drag"\n style="text-align:center; margin-bottom: 5px;"\n role="alert"\n data-noattach="true"\n data-position="'+(null==(e=n.position)?"":e)+'"\n>\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n</div>\n"}},builderSidebar:a,builderSidebarGroup:r,columns:i,datagrid:s,day:u,dialog:{form:function(n){return'<div class="formio-dialog formio-dialog-theme-default component-settings">\n <div class="formio-dialog-overlay" ref="dialogOverlay"></div>\n <div class="formio-dialog-content" ref="dialogContents">\n <div ref="dialogContents"></div>\n <button class="formio-dialog-close pull-right btn btn-default btn-xs" aria-label="close" ref="dialogClose"></button>\n </div>\n</div>\n'}},editgrid:d,field:c,file:p,icon:{form:function(n){var e;return""+'<i ref="'+(null==(e=n.ref)?"":e)+'" class="'+(null==(e=n.className)?"":e)+'" style="'+(null==(e=n.styles)?"":e)+'">'+(null==(e=n.content)?"":e)+"</i>\n"}},input:m,label:b,message:{form:function(n){var e;return""+'<p class="help-block '+(null==(e=n.level)?"":e)+'">'+(null==(e=n.message)?"":e)+"</p>\n"}},modaldialog:{form:function(n){var e;return""+'<div class="formio-dialog formio-dialog-theme-default formio-modaledit-dialog">\n <div ref="overlay" class="formio-dialog-overlay"></div>\n <div ref="content" class="formio-modaledit-content">\n <button\n ref="close"\n type="button"\n role="button"\n class="btn btn-primary btn-xs formio-modaledit-close">\n '+(null==(e=n.t("Close"))?"":e)+'\n </button>\n <div ref="inner" class="reset-margins"></div>\n </div>\n</div>\n'}},modaledit:{form:function(n){var e;return""+'<div ref="container" class="formio-modaledit-view-container">\n <button\n ref="edit"\n type="button"\n role="button"\n class="btn btn-xxs btn-warning formio-modaledit-edit">\n <i class="'+(null==(e=n.iconClass("edit"))?"":e)+'"></i>\n </button>\n <div ref="input" class="modaledit-view-inner reset-margins">'+(null==(e=n.content)?"":e)+"</div>\n</div>\n"}},multiValueRow:f,multiValueTable:v,panel:y,radio:h,resourceAdd:{form:function(n){var e;return""+'<table class="table table-bordered">\n <tbody>\n <tr>\n <td>\n '+(null==(e=n.element)?"":e)+'\n </td>\n </tr>\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-resource" ref="addResource">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>\n '+(null==(e=n.t(n.component.addResourceLabel||"Add Resource",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n"}},signature:g,survey:w,tab:x,table:k,well:{form:function(n){var e;return""+'<div class="well">\n <div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n</div>\n"}},wizard:C,wizardHeader:A,wizardHeaderClassic:z,wizardHeaderVertical:I,wizardNav:R,errorsList:E,alert:j,grid:P,pagination:{html:function(n){var e;return""+'<div class="common-pagination" role="toolbar" style="font-size: small; display: flex; align-items: center; margin-left: auto" '+(null==(e=n.component.showAddBtn?'style="width: 95%;"':'style="width: 100%;"')?"":e)+'>\n <div class="items-per-page input-group" style="display: flex; align-items: center;">\n <div class="input-group-append">\n <span class="">Items per page:</span>\n </div>\n <select ref="itemsPerPage" class="mr-1" style="border: none;\n border-bottom: 1px solid black; outline: none; cursor: pointer; margin-right: 10px">\n <option value="5">5</option>\n <option value="10">10</option>\n <option value="25">25</option>\n <option value="50">50</option>\n <option value="100">100</option>\n <option value="-1">All</option>\n </select>\n </div>\n <span ref="itemsCount" class="items-count p-1">\n '+(null==(e=n.itemsCount)?"":e)+'\n </span>\n <button ref="firstPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&laquo;</span>\n </button>\n <button ref="prevPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&lsaquo;</span>\n </button>\n <button ref="nextPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&rsaquo;</span>\n </button>\n <button ref="lastPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&raquo;</span>\n </button>\n</div>\n'}},columnMenu:K,tbody:B,paginationBottom:{html:function(n){return'<div class="pagination-bottom">\n <div ref="paginationContainer" class="hidden">\n <button ref="firstPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&laquo;</span>\n </button>\n <button ref="prevPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&lsaquo;</span>\n </button>\n <button ref="nextPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&rsaquo;</span>\n </button>\n <button ref="lastPage" type="button" class="btn" style="outline: none; background-color: inherit; box-shadow: none">\n <span aria-hidden="true" style="font-size: x-large">&raquo;</span>\n </button>\n </div>\n</div>'}}},_={framework:"bootstrap3",templates:{bootstrap3:q}};return e.default})()));

@@ -10,3 +10,3 @@ Object.defineProperty(exports, "__esModule", {

'">\n ';
if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
__p += '\n <div class="panel-heading"\n ';

@@ -29,3 +29,3 @@ if (ctx.component.collapsible) { ;

__p += '\n ';
if (!ctx.label.hidden || ctx.builder) { ;
if (!ctx.component.hideLabel || ctx.builder) { ;
__p += '\n ' +

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

@@ -31,7 +31,7 @@ Object.defineProperty(exports, "__esModule", {

} ;
__p += '\n <div ref="modalContents">\n ';
__p += '\n <div ref="modalContent">\n ';
if (ctx.visible) { ;
__p += '\n ' +
__p += '\n <div ref="componentContent">' +
((__t = (ctx.children)) == null ? '' : __t) +
'\n ';
'</div>\n ';
} ;

@@ -38,0 +38,0 @@ __p += '\n <div class="formio-dialog-buttons">\n ';

@@ -85,5 +85,5 @@ Object.defineProperty(exports, "__esModule", {

if (ctx.component.reorder) { ;
__p += '\n <td class="col-1">\n <button type="button" class="formio-drag-button btn btn-default fa fa-bars" data-key="' +
__p += '\n <td>\n <button type="button" class="formio-drag-button btn btn-default fa fa-bars" data-key="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +
'"></button>\n </td>\n ';
'" style="display: block; margin: 0 auto"></button>\n </td>\n ';
} ;

@@ -108,3 +108,3 @@ __p += '\n ';

if (ctx.hasRemoveButtons) { ;
__p += '\n <td class="col-1">\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
__p += '\n <td>\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +

@@ -115,3 +115,3 @@ '-removeRow" tabindex="' +

((__t = (ctx.t('remove'))) == null ? '' : __t) +
'">\n <i class="' +
'" style="display: block; margin: 0 auto">\n <i class="' +
((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) +

@@ -118,0 +118,0 @@ '"></i>\n </button>\n </td>\n ';

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

__p += '<div class="mb-2 card border">\n ';
if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
__p += '\n <div class="card-header ' +

@@ -33,3 +33,3 @@ ((__t = (ctx.transform('class', 'bg-' + ctx.component.theme))) == null ? '' : __t) +

__p += '\n ';
if (!ctx.label.hidden || ctx.builder) { ;
if (!ctx.component.hideLabel || ctx.builder) { ;
__p += '\n ' +

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

@@ -31,7 +31,7 @@ Object.defineProperty(exports, "__esModule", {

} ;
__p += '\n <div ref="modalContents">\n ';
__p += '\n <div ref="modalContent">\n ';
if (ctx.visible) { ;
__p += '\n ' +
__p += '\n <div ref="componentContent">' +
((__t = (ctx.children)) == null ? '' : __t) +
'\n ';
'</div>\n ';
} ;

@@ -38,0 +38,0 @@ __p += '\n <div class="formio-dialog-buttons">\n ';

@@ -85,5 +85,5 @@ Object.defineProperty(exports, "__esModule", {

if (ctx.component.reorder) { ;
__p += '\n <td class="col-1">\n <button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="' +
__p += '\n <td>\n <button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +
'"></button>\n </td>\n ';
'" style="display: block; margin: 0 auto"></button>\n </td>\n ';
} ;

@@ -108,3 +108,3 @@ __p += '\n ';

if (ctx.hasRemoveButtons) { ;
__p += '\n <td class="col-1">\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
__p += '\n <td>\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +

@@ -115,3 +115,3 @@ '-removeRow" tabindex="' +

((__t = (ctx.t('remove'))) == null ? '' : __t) +
'">\n <i class="' +
'" style="display: block; margin: 0 auto">\n <i class="' +
((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) +

@@ -118,0 +118,0 @@ '"></i>\n </button>\n </td>\n ';

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

__p += '<div class="mb-2 card border">\n ';
if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
__p += '\n <div class="card-header ' +

@@ -33,3 +33,3 @@ ((__t = (ctx.transform('class', 'bg-' + ctx.component.theme))) == null ? '' : __t) +

__p += '\n ';
if (!ctx.label.hidden || ctx.builder) { ;
if (!ctx.component.hideLabel || ctx.builder) { ;
__p += '\n ' +

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

@@ -7,3 +7,3 @@ export default function(ctx) {

'">\n ';
if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
__p += '\n <div class="panel-heading"\n ';

@@ -26,3 +26,3 @@ if (ctx.component.collapsible) { ;

__p += '\n ';
if (!ctx.label.hidden || ctx.builder) { ;
if (!ctx.component.hideLabel || ctx.builder) { ;
__p += '\n ' +

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

@@ -28,7 +28,7 @@ export default function(ctx) {

} ;
__p += '\n <div ref="modalContents">\n ';
__p += '\n <div ref="modalContent">\n ';
if (ctx.visible) { ;
__p += '\n ' +
__p += '\n <div ref="componentContent">' +
((__t = (ctx.children)) == null ? '' : __t) +
'\n ';
'</div>\n ';
} ;

@@ -35,0 +35,0 @@ __p += '\n <div class="formio-dialog-buttons">\n ';

@@ -82,5 +82,5 @@ export default function(ctx) {

if (ctx.component.reorder) { ;
__p += '\n <td class="col-1">\n <button type="button" class="formio-drag-button btn btn-default fa fa-bars" data-key="' +
__p += '\n <td>\n <button type="button" class="formio-drag-button btn btn-default fa fa-bars" data-key="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +
'"></button>\n </td>\n ';
'" style="display: block; margin: 0 auto"></button>\n </td>\n ';
} ;

@@ -105,3 +105,3 @@ __p += '\n ';

if (ctx.hasRemoveButtons) { ;
__p += '\n <td class="col-1">\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
__p += '\n <td>\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +

@@ -112,3 +112,3 @@ '-removeRow" tabindex="' +

((__t = (ctx.t('remove'))) == null ? '' : __t) +
'">\n <i class="' +
'" style="display: block; margin: 0 auto">\n <i class="' +
((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) +

@@ -115,0 +115,0 @@ '"></i>\n </button>\n </td>\n ';

@@ -5,3 +5,3 @@ export default function(ctx) {

__p += '<div class="mb-2 card border">\n ';
if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
__p += '\n <div class="card-header ' +

@@ -30,3 +30,3 @@ ((__t = (ctx.transform('class', 'bg-' + ctx.component.theme))) == null ? '' : __t) +

__p += '\n ';
if (!ctx.label.hidden || ctx.builder) { ;
if (!ctx.component.hideLabel || ctx.builder) { ;
__p += '\n ' +

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

@@ -28,7 +28,7 @@ export default function(ctx) {

} ;
__p += '\n <div ref="modalContents">\n ';
__p += '\n <div ref="modalContent">\n ';
if (ctx.visible) { ;
__p += '\n ' +
__p += '\n <div ref="componentContent">' +
((__t = (ctx.children)) == null ? '' : __t) +
'\n ';
'</div>\n ';
} ;

@@ -35,0 +35,0 @@ __p += '\n <div class="formio-dialog-buttons">\n ';

@@ -82,5 +82,5 @@ export default function(ctx) {

if (ctx.component.reorder) { ;
__p += '\n <td class="col-1">\n <button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="' +
__p += '\n <td>\n <button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +
'"></button>\n </td>\n ';
'" style="display: block; margin: 0 auto"></button>\n </td>\n ';
} ;

@@ -105,3 +105,3 @@ __p += '\n ';

if (ctx.hasRemoveButtons) { ;
__p += '\n <td class="col-1">\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
__p += '\n <td>\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +

@@ -112,3 +112,3 @@ '-removeRow" tabindex="' +

((__t = (ctx.t('remove'))) == null ? '' : __t) +
'">\n <i class="' +
'" style="display: block; margin: 0 auto">\n <i class="' +
((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) +

@@ -115,0 +115,0 @@ '"></i>\n </button>\n </td>\n ';

@@ -5,3 +5,3 @@ export default function(ctx) {

__p += '<div class="mb-2 card border">\n ';
if (!ctx.label.hidden || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
__p += '\n <div class="card-header ' +

@@ -30,3 +30,3 @@ ((__t = (ctx.transform('class', 'bg-' + ctx.component.theme))) == null ? '' : __t) +

__p += '\n ';
if (!ctx.label.hidden || ctx.builder) { ;
if (!ctx.component.hideLabel || ctx.builder) { ;
__p += '\n ' +

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

{
"name": "@formio/bootstrap",
"version": "3.0.0-dev.114.048bd4d",
"version": "3.0.0-dev.118.f146cb4",
"description": "Bootstrap templates for Form.io forms",

@@ -5,0 +5,0 @@ "main": "lib/cjs/bootstrap5.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc