diff --git a/.gitignore b/.gitignore index 889c19b17..3c3629e64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1 @@ -.DS_Store -.dccache -.idea -.nyc_output -coverage node_modules -npm-debug.log -*~ -.npmrc \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..1a43944b8 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,7 @@ +node_modules/ +dist/ +build/ +artifacts/ +coverage/ +yarn.lock +.git/ \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 000000000..ea9ebdb2b --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,4 @@ +{ + "printWidth": 100, + "singleQuote": true +} \ No newline at end of file diff --git a/Changelog.md b/Changelog.md deleted file mode 100644 index dfb320b97..000000000 --- a/Changelog.md +++ /dev/null @@ -1,208 +0,0 @@ -# Change Log -All notable changes to this project will be documented in this file - -The format is based on [Keep a Changelog](http://keepachangelog.com/) -and this project adheres to [Semantic Versioning](http://semver.org/). - -## [Unreleased: 3.2.0-rc.1] -### Changed - - FIO-7954: refactored translations - - FIO 8727: fix panel component not showing label in data grid - - FIO-8465: added templates for select all rows alert - - FIO-9245 DataGrid: Fix width and positioning for table buttons - - FIO-9377 added progressbar for for file upload with Display as image - - fix noop style change - - add inline styling for select component height - -## 3.1.1-rc.1 -### Changed - - FIO-9761: fixed an issue where fontawesome icons do not appear - -## 3.1.0 -### Changed - - Official Release - - Revert https://github.com/formio/bootstrap/pull/121 out of 3.1.x branch - - FIO-9751 updated modal edit window for components with hidden tabs - - Adding component modal ref so components can redraw within a modal. - -## 3.0.0 -### Changed - - Official Release - - FIO-9239: Added missing sketchpad icons mapping - - FIO-9226 Fixed tooltips when fontawesome fallback is used - - FIO-9227 Fixed fontawesome fallback for help link - - FIO-9169 Changed fontawesome name of move icon - - FIO-8808: Bootstrap 5 class scan - - FIO-8234/FIO-7195: Fixes an issue where value properties are shown instead of labels for Select component with Resource/URL data sources in DataTable - - FIO-9169 Fixed missing icon in formbuilder - - FIO-8752: fix tabindex for keyboard actions - - FIO-5748: changed templates to support collapsible preview in component settings - - FIO-7224: Changed alignment for PDF condensed mode - - FIO-7209: Radio works without ValueProperty set - - FIO-7197: Increased builder dropzone in DataGrid - - FIO-7429: Fix columns component settings (pull, offset, push) - - FIO-7365: fixed an issue with Textarea component expanding inside of the DataGrid in Submission view - - FIO-5288-fix-of-search-bar - - FIO-3820: added file synchronization feature - - FIO-7773: Add floating labels to Bootstrap 5 template - - Bump es5-ext from 0.10.62 to 0.10.64 - - Bump @babel/traverse from 7.22.5 to 7.23.2 - - Bootstrap5: Missing icons for panel collapse/uncollapse - - Bump get-func-name from 2.0.0 to 2.0.2 - - FIO-7933 added PDF Document Designer - - FIO-8199: Fixes an issue where Checkbox does not have id and for attributes - - #93 - untranslatable builder sidebar search field - - FIO-7507 & FIO-7848: publish-dev-tag-to-npm - - FIO-8303: fixed data grid templates - - FIO-8426: added eSignature icon classes - - Adding the Grid templates to keep the build size low on the grid library - - Fixes for 5.x renderer - - FIO-8752: fix tabindex for keyboard actions - - FIO-8234/FIO-7195: Fixes an issue where value properties are shown instead of labels for Select component with Resource/URL data sources in DataTable - - added support for file synchronization feature - - Fixed mjs and cjs template definitions. - - Added Bootstrap 5 templates - - Added Bootstrap 4 templates. - -## 2.13.0-rc.1 -### Changed - - Increment minor version. - -### Fixed - - FIO-4343: Fixes datagrid remove row column using much space - -## 2.12.2 -### Changed - - Official Release - -## 2.12.2-rc.1 -### Fixed - - FIO-3924: Fixes an issue where the DataGrid has an additional column wwhen "Equal columns width" is checked - -## 2.12.1 -### Changed - - Official Release - -## 2.12.1-rc.1 -### Fixed - - FIO-4567: Update Signature component template to match bootstrap templates - -## 2.12.0 -### Changed - - Official Release - -## 2.12.0-rc.7 -### Fixed - - FIO-3966 Fixed an issue where default value of textarea component is not empty upon creation - - FIO-3758: Duplication of radio ids inside nested forms - -## 2.12.0-rc.6 -### Fixed - - FIO-3758: Duplication of radio ids inside nested forms - -## 2.12.0-rc.5 -### Fixed - - FIO-3909 & FIO-3910: Fix FormBuilder polyfill import - -## 2.12.0-rc.4 -### Fixed - - FIO-3519 Added ref to wizard header for 'scroll to top' feature - -### Changed - - Upgraded dependencies. - -## 2.12.0-rc.2 -### Fixed - - FIO-3323: Fixing the datagrid spacing. - -## 2.12.0-rc.1 -### Changed - - FIO-1239: Implement wizard header type selection - - FIO-290 | FJS-1367: Feat: add an ability to specify Survey questions' and values' tooltips - - FIO-1112: Add vertical layout classes for tabs component - - FIO-175: Adds ability to use different masks for Value and for View - -## 2.11.2 -### Fixed - - FIO-3323: Removing the "col" classes from tables since they are causing issues. - -## 2.11.1 -### Fixed - - FIO-3323: Fixing the datagrid spacing. - -## 2.11.0 -### Fixed - - FIO-1383: Fixes an error occurring in IE11 when switch Wizard page in Form Builder - - FIO-2565: Fixes an issue where tooltip for the first Wizard page is not shown on initial load - -## 2.10.0 -### Fixed - - FIO-2463: fixed an issue where dataGrid renders incorrectly when reorder is enabled - -## 2.9.0 -### Fixed - - FIO-1336: File component not showing Take picture or Switch to file upload buttons - - Fixed tooltips from not appearing in certain places. - - FIO-1125: Any value used in Translate list is returning contains an invalid selection - - FJS-1328: Fixes an issue where it is impossible to reorder rows of a child DataGrid - -## 2.8.0 -????? - -## 2.7.0 -### Fixed - - UIP-251: Update file template with file drop area hide option - -### Added - - FMG-99: Add col-md classes to table and dataGrid templates - - FJS-1342: added templates for form errors list and alerts - - FJS-1419: added tooltip for wizard pages - -### Changed - - Upgrade @types/chai@4.2.14, @types/ejs@3.0.5, @types/sinon@9.0.10, sinon@9.2.3, @types/mocha@8.2.0, @types/node@14.14.20, mocha@8.2.1, ts-node@9.1.1, typescript@4.1.3, webpack@5.12.0, webpack-cli@4.3.1 - -## 2.6.8 -### Fixed - - builderSidebar (template): fix panels not collapsed when switching between groups - -## 2.6.5 -### Changed - - Upgrade dependencies. - -## 2.6.4 -### Changed - - FJS-1050: added hide label option for panel - - Changed prefix and suffix references. - -## 2.6.3 -### Fixed - - Adding for attributes for labels. - -## 2.6.1 -### Fixed - - FJS-939: adopt input template to latest changes in bootstrap template - -## 2.6.0 -### Fixed - - Add ref to tabs to fix flattened view. - -## 2.5.0 -### ??? - -## 2.4.0 -### Fixed - - The percentage on the file uploads. - -### Added - - Column size configurations. - -## 2.1.0 -### Changed - - Add label alignment support for pdf renderer - -## 2.0.0 -### Breaking Change - - Removed usage of `render` template function. Please ensure you are using at least formio.js@4.8.0. - -### Changed - - Upgrade typescript@3.7.5, webpack@4.41.5, ts-node@8.6.2, @types/node@13.1.8, mocha@7.0.0, nyc@15.0.0, sinon@8.1.1, tslint@6.0.0 diff --git a/LICENSE b/LICENSE deleted file mode 100644 index acc3f3d62..000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 Form.io - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Readme.md b/Readme.md deleted file mode 100644 index fceb97fb1..000000000 --- a/Readme.md +++ /dev/null @@ -1,41 +0,0 @@ -# Form.io Bootstrap Templates - -This repository will change the rendering of forms in formio.js so that it uses html and classes compatible with [Bootstrap 3](https://getbootstrap.com/docs/3.4/) and [Bootstrap 4](https://getbootstrap.com/docs/4.6/getting-started/introduction/) framework. - -### Using Bootstrap 3 - -```javascript -import bootstrap3 from '@formio/bootstrap/bootstrap3'; -import { Formio } from 'formiojs'; -Formio.use(bootstrap3); -``` -### Using Bootstrap 4 - -```javascript -import bootstrap4 from '@formio/bootstrap/bootstrap4'; -import { Formio } from 'formiojs'; -Formio.use(bootstrap4); -``` - -### Using Bootstrap 5 - -```javascript -import bootstrap5 from '@formio/bootstrap/bootstrap5'; -import { Formio } from 'formiojs'; -Formio.use(bootstrap5); -``` - -## Script - - -```javascript -Formio.Templates.framework = "bootstrap3" -``` -If icon is not show - -```javascript - - -``` diff --git a/dist/bootstrap3.js b/dist/bootstrap3.js deleted file mode 100644 index ecf60d340..000000000 --- a/dist/bootstrap3.js +++ /dev/null @@ -1 +0,0 @@ -!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap3=e():n.bootstrap3=e()}(self,(()=>(()=>{"use strict";var n={d:(e,t)=>{for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>_});const l={form:function(n){var e,t="";return Array.prototype.join,t+='
\n ',n.disableBuilderActions||(t+='\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n '),t+"\n "+(null==(e=n.html)?"":e)+"\n
\n"}},o={form:function(n){var e,t="";return Array.prototype.join,t+='
\n
\n

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

\n"}},modaldialog:{form:function(n){var e;return""+'
\n
\n
\n \n '+(null==(e=n.t("Close"))?"":e)+'\n \n
\n
\n
\n'}},modaledit:{form:function(n){var e;return""+'
\n \n \n \n
'+(null==(e=n.content)?"":e)+"
\n
\n"}},multiValueRow:f,multiValueTable:v,panel:y,radio:h,resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
\n '+(null==(e=n.element)?"":e)+'\n
\n \n
\n"}},signature:g,survey:w,tab:x,table:k,well:{form:function(n){var e;return""+'
\n
\n '+(null==(e=n.children)?"":e)+"\n
\n
\n"}},wizard:C,wizardHeader:A,wizardHeaderClassic:z,wizardHeaderVertical:I,wizardNav:R,errorsList:E,alert:j,grid:P,pagination:{html:function(n){var e;return""+'\n'}},columnMenu:K,tbody:B,paginationBottom:{html:function(n){return'
\n \n
'}}},_={framework:"bootstrap3",templates:{bootstrap3:q}};return e.default})())); \ No newline at end of file diff --git a/dist/bootstrap4.js b/dist/bootstrap4.js deleted file mode 100644 index e5d30c39f..000000000 --- a/dist/bootstrap4.js +++ /dev/null @@ -1 +0,0 @@ -!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap4=e():n.bootstrap4=e()}(self,(()=>(()=>{"use strict";var n={d:(e,t)=>{for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>U});const t={form:function(n){var e,t="";if(Array.prototype.join,n.mode.autocomplete){for(var l in t+='\n
\n \n ',n.component.disableClearIcon||(t+='\n \n '),t+="\n
\n"}return t+="\n",n.self.manualModeEnabled&&(t+='\n
\n \n
\n"),t+="\n",n.self.manualMode&&(t+='\n
\n '+(null==(e=n.children)?"":e)+"\n
\n"),t+"\n"},html:function(n){var e,t="";return Array.prototype.join,t+='
',n.displayValue?t+=null==(e=n.displayValue)?"":e:t+="-",t+"
\n"}},l={form:function(n){var e,t="";return Array.prototype.join,t+='
\n ',n.disableBuilderActions||(t+='\n
\n \n \n
\n ',n.design||(t+='\n \n \n
\n \n \n \n \n \n \n '),t+='\n \n \n \n ',n.design&&"reviewpage"===n.childComponent.type||(t+='\n \n \n \n '),t+="\n \n "),t+"\n "+(null==(e=n.html)?"":e)+"\n\n"}},o={form:function(n){var e,t="";return Array.prototype.join,t+='
\n
\n

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \n \n
    \n \n '+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
    \n
    \n\n
    \n
    \n\n'}},radio:P,resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
    \n '+(null==(e=n.element)?"":e)+'\n
    \n \n
    \n"}},select:E,selectOption:R,signature:_,survey:q,tab:B,table:L,tree:S,...T,webform:{form:function(n){var e;return""+'
    '+(null==(e=n.children)?"":e)+"
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},well:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n
    \n"}},wizard:K,wizardHeader:N,wizardHeaderClassic:M,wizardHeaderVertical:O,wizardNav:D,errorsList:H,alert:F,grid:V,pagination:{html:function(n){var e;return""+''}},columnMenu:W,tbody:$,paginationBottom:{html:function(n){return'
    \n \n
    '}}}}};return e.default})())); \ No newline at end of file diff --git a/dist/bootstrap5.js b/dist/bootstrap5.js deleted file mode 100644 index 19c184dc9..000000000 --- a/dist/bootstrap5.js +++ /dev/null @@ -1 +0,0 @@ -!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrap5=e():n.bootstrap5=e()}(self,(()=>(()=>{"use strict";var n={d:(e,l)=>{for(var t in l)n.o(l,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>V});const l={form:function(n){var e,l="";if(Array.prototype.join,n.mode.autocomplete){for(var t in l+='\n
    \n \n ',n.component.disableClearIcon||(l+='\n \n '),l+="\n
    \n"}return l+="\n",n.self.manualModeEnabled&&(l+='\n
    \n \n
    \n"),l+="\n",n.self.manualMode&&(l+='\n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='
    ',n.displayValue?l+=null==(e=n.displayValue)?"":e:l+="-",l+"
    \n"}},t={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n ',n.disableBuilderActions||(l+='\n
    \n \n \n
    \n ',n.design||(l+='\n \n \n
    \n \n \n \n \n \n \n '),l+='\n \n \n \n ',n.design&&"reviewpage"===n.childComponent.type||(l+='\n \n \n \n '),l+="\n \n "),l+"\n "+(null==(e=n.html)?"":e)+"\n\n"}},o={form:function(n){var e,l="";return Array.prototype.join,l+='
    \n
    \n

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \n \n
    \n \n '+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' '+(null==(e=n.t("browse"))?"":e)+'\n \n \n
    \n
    \n\n
    \n
    \n\n'}},radio:E,resourceAdd:{form:function(n){var e;return""+'\n \n \n \n \n \n \n \n \n
    \n '+(null==(e=n.element)?"":e)+'\n
    \n \n
    \n"}},select:_,selectOption:P,signature:q,survey:R,tab:L,table:K,tree:N,...T,webform:{form:function(n){var e;return""+'
    '+(null==(e=n.children)?"":e)+"
    \n"},builder:function(n){var e;return""+'
    '+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"
    \n"}},well:{form:function(n){var e;return""+'
    \n
    \n '+(null==(e=n.children)?"":e)+"\n
    \n
    \n"}},wizard:S,wizardHeader:B,wizardHeaderClassic:M,wizardHeaderVertical:O,wizardNav:H,errorsList:F,alert:D}}};return e.default})())); \ No newline at end of file diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 000000000..04ed9dc25 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,14 @@ +import globals from 'globals'; +import pluginJs from '@eslint/js'; +import eslintConfigPrettier from 'eslint-config-prettier'; +import tseslint from 'typescript-eslint'; + +/** @type {import('eslint').Linter.Config[]} */ +export default [ + { ignores: ['node_modules', 'build', 'lib'] }, + { files: ['**/*.{js,jsx,mjs,cjs,ts,tsx}'] }, + { languageOptions: { globals: globals.browser } }, + pluginJs.configs.recommended, + ...tseslint.configs.recommended, + eslintConfigPrettier, +]; diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index e400608d8..000000000 --- a/gulpfile.js +++ /dev/null @@ -1,41 +0,0 @@ -'use strict'; -const gulp = require('gulp'); -const insert = require('gulp-insert'); -const rename = require('gulp-rename'); -const template = require('gulp-template'); - -// Compile all *.ejs files to pre-compiled templates and append *.js to the filename. -gulp.task('templates-cjs', () => - gulp.src('./src/**/*.ejs') - .pipe(template.precompile({ - evaluate: /\{%([\s\S]+?)%\}/g, - interpolate: /\{\{([\s\S]+?)\}\}/g, - escape: /\{\{\{([\s\S]+?)\}\}\}/g, - variable: 'ctx' - })) - .pipe(insert.prepend('Object.defineProperty(exports, "__esModule", {\n' + - ' value: true\n' + - '});\n' + - 'exports.default=')) - .pipe(rename({ - extname: '.ejs.js' - })) - .pipe(gulp.dest('lib/cjs')) -); - -gulp.task('templates-mjs', () => - gulp.src('./src/**/*.ejs') - .pipe(template.precompile({ - evaluate: /\{%([\s\S]+?)%\}/g, - interpolate: /\{\{([\s\S]+?)\}\}/g, - escape: /\{\{\{([\s\S]+?)\}\}\}/g, - variable: 'ctx' - })) - .pipe(insert.prepend('export default ')) - .pipe(rename({ - extname: '.ejs.js' - })) - .pipe(gulp.dest('lib/mjs')) -); - -gulp.task('templates', gulp.parallel(['templates-cjs', 'templates-mjs'])); diff --git a/lib/cjs/bootstrap3.d.ts b/lib/cjs/bootstrap3.d.ts deleted file mode 100644 index d6c2958a3..000000000 --- a/lib/cjs/bootstrap3.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -declare const _default: { - framework: string; - templates: { - bootstrap3: { - transform(type: any, text: any): any; - handleBuilderSidebarScroll(builder: any): void; - clearBuilderSidebarScroll(builder: any): void; - defaultIconset: string; - iconClass: (iconset: any, name: any, spinning: any) => string; - cssClasses: { - 'formio-tab-panel-active': string; - 'formio-tab-link-active': string; - 'formio-tab-link-container-active': string; - }; - builder: { - form: string; - }; - builderComponent: { - form: string; - }; - builderComponents: { - form: string; - }; - builderEditForm: { - form: string; - }; - builderPlaceholder: { - form: string; - }; - builderSidebar: { - form: string; - }; - builderSidebarGroup: { - form: string; - }; - columns: { - form: string; - }; - datagrid: { - form: string; - html: string; - }; - day: { - form: string; - }; - dialog: { - form: string; - }; - editgrid: { - form: string; - html: string; - }; - field: { - align: string; - form: string; - }; - file: { - form: string; - }; - icon: { - form: string; - }; - input: { - form: string; - html: string; - }; - label: { - form: string; - }; - message: { - form: string; - }; - modaldialog: { - form: string; - }; - modaledit: { - form: string; - }; - multiValueRow: { - form: string; - }; - multiValueTable: { - form: string; - }; - panel: { - form: string; - }; - radio: { - form: string; - html: string; - }; - resourceAdd: { - form: string; - }; - signature: { - form: string; - html: string; - }; - survey: { - form: string; - html: string; - }; - tab: { - flat: string; - form: string; - }; - table: { - form: string; - }; - well: { - form: string; - }; - wizard: { - form: string; - builder: string; - }; - wizardHeader: { - form: string; - }; - wizardHeaderClassic: { - form: string; - }; - wizardHeaderVertical: { - form: string; - }; - wizardNav: { - form: string; - }; - errorsList: { - form: string; - }; - alert: { - form: string; - }; - grid: { - html: string; - }; - pagination: { - html: string; - }; - columnMenu: { - html: string; - }; - tbody: { - html: string; - }; - paginationBottom: { - html: string; - }; - }; - }; -}; -export default _default; diff --git a/lib/cjs/bootstrap3.js b/lib/cjs/bootstrap3.js deleted file mode 100644 index 1034e805d..000000000 --- a/lib/cjs/bootstrap3.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const bootstrap3_1 = require("./templates/bootstrap3"); -exports.default = { - framework: 'bootstrap3', - templates: { - bootstrap3: bootstrap3_1.default - }, -}; diff --git a/lib/cjs/bootstrap4.d.ts b/lib/cjs/bootstrap4.d.ts deleted file mode 100644 index 8f06e751e..000000000 --- a/lib/cjs/bootstrap4.d.ts +++ /dev/null @@ -1,246 +0,0 @@ -declare const _default: { - framework: string; - templates: { - bootstrap4: { - webform: { - form: string; - builder: string; - }; - well: { - form: string; - }; - wizard: { - form: string; - builder: string; - }; - wizardHeader: { - form: string; - }; - wizardHeaderClassic: { - form: string; - }; - wizardHeaderVertical: { - form: string; - }; - wizardNav: { - form: string; - }; - errorsList: { - form: string; - }; - alert: { - form: string; - }; - grid: { - html: string; - }; - pagination: { - html: string; - }; - columnMenu: { - html: string; - }; - tbody: { - html: string; - }; - paginationBottom: { - html: string; - }; - treeView: { - form: string; - }; - treeEdit: { - form: string; - }; - transform(type: any, text: any): any; - defaultIconset: string; - iconClass: (iconset: any, name: any, spinning: any) => string; - cssClasses: { - 'border-default': string; - 'formio-tab-panel-active': string; - 'formio-tab-link-active': string; - 'formio-tab-link-container-active': string; - 'formio-form-error': string; - 'formio-form-alert': string; - 'formio-label-error': string; - 'formio-input-error': string; - 'formio-alert-danger': string; - 'formio-alert-success': string; - 'formio-alert-warning': string; - 'formio-modal-cancel-button': string; - 'formio-modal-confirm-button': string; - }; - address: { - form: string; - html: string; - }; - builder: { - form: string; - }; - builderComponent: { - form: string; - }; - builderComponents: { - form: string; - }; - builderEditForm: { - form: string; - }; - builderPlaceholder: { - form: string; - }; - builderSidebar: { - form: string; - }; - builderSidebarGroup: { - form: string; - }; - builderWizard: { - form: string; - }; - button: { - form: string; - html: string; - }; - checkbox: { - form: string; - html: string; - }; - columns: { - form: string; - }; - component: { - form: string; - }; - componentModal: { - form: string; - }; - components: { - form: string; - }; - tableComponents: { - form: string; - }; - container: { - form: string; - }; - datagrid: { - form: string; - html: string; - }; - day: { - form: string; - }; - dialog: { - form: string; - }; - editgrid: { - form: string; - html: string; - }; - editgridTable: { - form: string; - html: string; - }; - field: { - form: string; - align: string; - }; - fieldset: { - form: string; - }; - file: { - form: string; - }; - html: { - form: string; - }; - icon: { - form: string; - }; - input: { - form: string; - html: string; - }; - label: { - form: string; - }; - loader: { - form: string; - }; - loading: { - form: string; - }; - map: { - form: string; - }; - message: { - form: string; - }; - modaledit: { - form: string; - }; - modaldialog: { - form: string; - }; - modalPreview: { - form: string; - }; - multipleMasksInput: { - form: string; - }; - multiValueRow: { - form: string; - }; - multiValueTable: { - form: string; - }; - panel: { - form: string; - }; - pdf: { - form: string; - }; - pdfBuilder: { - form: string; - }; - pdfBuilderUpload: { - form: string; - }; - radio: { - form: string; - html: string; - }; - resourceAdd: { - form: string; - }; - select: { - form: string; - html: string; - }; - selectOption: { - form: string; - html: string; - }; - signature: { - form: string; - html: string; - }; - survey: { - form: string; - html: string; - }; - tab: { - flat: string; - form: string; - }; - table: { - form: string; - }; - tree: { - form: string; - }; - }; - }; -}; -export default _default; diff --git a/lib/cjs/bootstrap4.js b/lib/cjs/bootstrap4.js deleted file mode 100644 index 8aee4d458..000000000 --- a/lib/cjs/bootstrap4.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const bootstrap4_1 = require("./templates/bootstrap4"); -exports.default = { - framework: 'bootstrap4', - templates: { - bootstrap4: bootstrap4_1.default - }, -}; diff --git a/lib/cjs/bootstrap5.d.ts b/lib/cjs/bootstrap5.d.ts index e0798e967..addd987ac 100644 --- a/lib/cjs/bootstrap5.d.ts +++ b/lib/cjs/bootstrap5.d.ts @@ -1,232 +1,13 @@ -declare const _default: { +declare const framework: { framework: string; templates: { - bootstrap5: { - webform: { - form: string; - builder: string; - }; - well: { - form: string; - }; - wizard: { - form: string; - builder: string; - }; - wizardHeader: { - form: string; - }; - wizardHeaderClassic: { - form: string; - }; - wizardHeaderVertical: { - form: string; - }; - wizardNav: { - form: string; - }; - errorsList: { - form: string; - }; - alert: { - form: string; - }; - treeView: { - form: string; - }; - treeEdit: { - form: string; - }; - transform(type: any, text: any, instance: any): any; - defaultIconset: string; - iconClass: (iconset: any, name: any, spinning: any) => string; - cssClasses: { - 'border-default': string; - 'formio-tab-panel-active': string; - 'formio-tab-link-active': string; - 'formio-tab-link-container-active': string; - 'formio-form-error': string; - 'formio-form-alert': string; - 'formio-label-error': string; - 'formio-input-error': string; - 'formio-alert-danger': string; - 'formio-alert-success': string; - 'formio-alert-warning': string; - 'formio-modal-cancel-button': string; - 'formio-modal-confirm-button': string; - 'form-group': string; - }; - address: { - form: string; - html: string; - }; - builder: { - form: string; - }; - builderComponent: { - form: string; - }; - builderComponents: { - form: string; - }; - builderEditForm: { - form: string; - }; - builderPlaceholder: { - form: string; - }; - builderSidebar: { - form: string; - }; - builderSidebarGroup: { - form: string; - }; - builderWizard: { - form: string; - }; - button: { - form: string; - html: string; - }; - checkbox: { - form: string; - html: string; - }; - columns: { - form: string; - }; - component: { - form: string; - }; - componentModal: { - form: string; - }; - components: { - form: string; - }; - tableComponents: { - form: string; - }; - container: { - form: string; - }; - datagrid: { - form: string; - html: string; - }; - day: { - form: string; - }; - dialog: { - form: string; - }; - editgrid: { - form: string; - html: string; - }; - editgridTable: { - form: string; - html: string; - }; - field: { - form: string; - align: string; - }; - fieldset: { - form: string; - }; - file: { - form: string; - }; - html: { - form: string; - }; - icon: { - form: string; - }; - input: { - form: string; - html: string; - }; - label: { - form: string; - }; - loader: { - form: string; - }; - loading: { - form: string; - }; - map: { - form: string; - }; - message: { - form: string; - }; - modaledit: { - form: string; - }; - modaldialog: { - form: string; - }; - modalPreview: { - form: string; - }; - multipleMasksInput: { - form: string; - }; - multiValueRow: { - form: string; - }; - multiValueTable: { - form: string; - }; - panel: { - form: string; - }; - pdf: { - form: string; - }; - pdfBuilder: { - form: string; - }; - pdfBuilderUpload: { - form: string; - }; - radio: { - form: string; - html: string; - }; - resourceAdd: { - form: string; - }; - select: { - form: string; - html: string; - }; - selectOption: { - form: string; - html: string; - }; - signature: { - form: string; - html: string; - }; - survey: { - form: string; - html: string; - }; - tab: { - flat: string; - form: string; - }; - table: { - form: string; - }; - tree: { - form: string; + [x: string]: { + [templateName: string]: { + [templateType: string]: ((classes: { + [refName: string]: string[] | undefined; + }) => (context: any) => Element) | ((context: any) => Element); }; }; }; }; -export default _default; +export default framework; diff --git a/lib/cjs/bootstrap5.js b/lib/cjs/bootstrap5.js index c2add41fc..b143ce8a9 100644 --- a/lib/cjs/bootstrap5.js +++ b/lib/cjs/bootstrap5.js @@ -1,9 +1,22 @@ "use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); -const bootstrap5_1 = require("./templates/bootstrap5"); -exports.default = { - framework: 'bootstrap5', - templates: { - bootstrap5: bootstrap5_1.default +const form_js_1 = __importDefault(require("./templates/bootstrap5/label/form.js")); +const classes_js_1 = __importDefault(require("./templates/bootstrap5/input/classes.js")); +const classes_js_2 = __importDefault(require("./templates/bootstrap5/label/classes.js")); +const classes_js_3 = __importDefault(require("./templates/bootstrap5/component/classes.js")); +const standard_template_1 = require("@formio/standard-template"); +const classes = { + component: classes_js_3.default, + label: classes_js_2.default, + input: classes_js_1.default +}; +const templates = { + label: { + form: form_js_1.default }, }; +const framework = (0, standard_template_1.getFrameworkTemplates)('bootstrapnew', classes, templates); +exports.default = framework; diff --git a/lib/cjs/package.json b/lib/cjs/package.json deleted file mode 100644 index 6a0d2ef2a..000000000 --- a/lib/cjs/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "commonjs" -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/alert/form.ejs.js b/lib/cjs/templates/bootstrap3/alert/form.ejs.js deleted file mode 100644 index 524ede356..000000000 --- a/lib/cjs/templates/bootstrap3/alert/form.ejs.js +++ /dev/null @@ -1,19 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/alert/index.js b/lib/cjs/templates/bootstrap3/alert/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/alert/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builder/form.ejs.js b/lib/cjs/templates/bootstrap3/builder/form.ejs.js deleted file mode 100644 index df06e1781..000000000 --- a/lib/cjs/templates/bootstrap3/builder/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n ' + -((__t = (ctx.sidebar)) == null ? '' : __t) + -'\n
    \n
    \n ' + -((__t = (ctx.form)) == null ? '' : __t) + -'\n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builder/index.js b/lib/cjs/templates/bootstrap3/builder/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/builder/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builderComponent/form.ejs.js b/lib/cjs/templates/bootstrap3/builderComponent/form.ejs.js deleted file mode 100644 index d86b4fe27..000000000 --- a/lib/cjs/templates/bootstrap3/builderComponent/form.ejs.js +++ /dev/null @@ -1,27 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (!ctx.disableBuilderActions) { ; -__p += '\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '; - } ; -__p += '\n ' + -((__t = (ctx.html)) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builderComponent/index.d.ts b/lib/cjs/templates/bootstrap3/builderComponent/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/builderComponent/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/builderComponent/index.js b/lib/cjs/templates/bootstrap3/builderComponent/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/builderComponent/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builderComponents/form.ejs.js b/lib/cjs/templates/bootstrap3/builderComponents/form.ejs.js deleted file mode 100644 index 4cda2c2b4..000000000 --- a/lib/cjs/templates/bootstrap3/builderComponents/form.ejs.js +++ /dev/null @@ -1,14 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n ' + -((__t = (ctx.html)) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builderComponents/index.d.ts b/lib/cjs/templates/bootstrap3/builderComponents/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/builderComponents/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/builderComponents/index.js b/lib/cjs/templates/bootstrap3/builderComponents/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/builderComponents/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js b/lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js deleted file mode 100644 index 345ef2c9c..000000000 --- a/lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js +++ /dev/null @@ -1,61 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n

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

    \n
    \n '; - if (ctx.helplinks) { ; -__p += '\n \n'; - } ; -__p += '\n
    \n
    \n
    \n
    \n ' + -((__t = (ctx.editForm)) == null ? '' : __t) + -'\n
    \n '; - if (!ctx.preview) { ; -__p += '\n
    \n \n \n \n
    \n '; - } ; -__p += '\n
    \n '; - if (ctx.preview) { ; -__p += '\n
    \n
    \n
    \n

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

    \n
    \n
    \n
    \n ' + -((__t = (ctx.preview)) == null ? '' : __t) + -'\n
    \n
    \n
    \n '; - if (ctx.componentInfo.help) { ; -__p += '\n
    \n ' + -((__t = ( ctx.componentInfo.help )) == null ? '' : __t) + -'\n
    \n '; - } ; -__p += '\n
    \n \n \n \n
    \n
    \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builderEditForm/index.d.ts b/lib/cjs/templates/bootstrap3/builderEditForm/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/builderEditForm/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/builderEditForm/index.js b/lib/cjs/templates/bootstrap3/builderEditForm/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/builderEditForm/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builderPlaceholder/form.ejs.js b/lib/cjs/templates/bootstrap3/builderPlaceholder/form.ejs.js deleted file mode 100644 index d65454af3..000000000 --- a/lib/cjs/templates/bootstrap3/builderPlaceholder/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + -'\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builderPlaceholder/index.d.ts b/lib/cjs/templates/bootstrap3/builderPlaceholder/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/builderPlaceholder/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/builderPlaceholder/index.js b/lib/cjs/templates/bootstrap3/builderPlaceholder/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/builderPlaceholder/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js b/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js deleted file mode 100644 index d0b9a69e4..000000000 --- a/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js +++ /dev/null @@ -1,21 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n \n
    \n '; - ctx.groups.forEach(function(group) { ; -__p += '\n ' + -((__t = ( group )) == null ? '' : __t) + -'\n '; - }) ; -__p += '\n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builderSidebar/index.d.ts b/lib/cjs/templates/bootstrap3/builderSidebar/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/builderSidebar/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/builderSidebar/index.js b/lib/cjs/templates/bootstrap3/builderSidebar/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/builderSidebar/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js b/lib/cjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js deleted file mode 100644 index 40e6cfa03..000000000 --- a/lib/cjs/templates/bootstrap3/builderSidebarGroup/form.ejs.js +++ /dev/null @@ -1,57 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n
    \n \n ' + -((__t = (ctx.t(ctx.group.title, { _userInput: true }))) == null ? '' : __t) + -'\n \n
    \n
    \n \n
    \n '; - if (ctx.group.componentOrder.length || ctx.subgroups.length) { ; -__p += '\n '; - ctx.group.componentOrder.forEach(function(componentKey) { ; -__p += '\n \n '; - if (ctx.group.components[componentKey].icon) { ; -__p += '\n \n '; - } ; -__p += '\n ' + -((__t = (ctx.t(ctx.group.components[componentKey].title, { _userInput: true }))) == null ? '' : __t) + -'\n \n '; - }) ; -__p += '\n ' + -((__t = (ctx.subgroups.join(''))) == null ? '' : __t) + -'\n '; - } else { ; -__p += '\n
    ' + -((__t = (ctx.t('No Matches Found'))) == null ? '' : __t) + -'
    \n '; - } ; -__p += '\n
    \n
    \n\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/builderSidebarGroup/index.d.ts b/lib/cjs/templates/bootstrap3/builderSidebarGroup/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/builderSidebarGroup/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/builderSidebarGroup/index.js b/lib/cjs/templates/bootstrap3/builderSidebarGroup/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/builderSidebarGroup/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js b/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js deleted file mode 100644 index 4cf52306d..000000000 --- a/lib/cjs/templates/bootstrap3/column-menu/html.ejs.js +++ /dev/null @@ -1,41 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \r\n \r\n
    \r\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/column-menu/index.d.ts b/lib/cjs/templates/bootstrap3/column-menu/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap3/column-menu/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/column-menu/index.js b/lib/cjs/templates/bootstrap3/column-menu/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap3/column-menu/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/columns/form.ejs.js b/lib/cjs/templates/bootstrap3/columns/form.ejs.js deleted file mode 100644 index 927aceeb5..000000000 --- a/lib/cjs/templates/bootstrap3/columns/form.ejs.js +++ /dev/null @@ -1,33 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - ctx.component.columns.forEach(function(column, index) { ; -__p += '\n
    \n ' + -((__t = (ctx.columnComponents[index])) == null ? '' : __t) + -'\n
    \n'; - }) ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/columns/index.d.ts b/lib/cjs/templates/bootstrap3/columns/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/columns/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/columns/index.js b/lib/cjs/templates/bootstrap3/columns/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/columns/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/cssClasses.d.ts b/lib/cjs/templates/bootstrap3/cssClasses.d.ts deleted file mode 100644 index 2b7ea9e00..000000000 --- a/lib/cjs/templates/bootstrap3/cssClasses.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare const _default: { - 'formio-tab-panel-active': string; - 'formio-tab-link-active': string; - 'formio-tab-link-container-active': string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/cssClasses.js b/lib/cjs/templates/bootstrap3/cssClasses.js deleted file mode 100644 index 9232cc85a..000000000 --- a/lib/cjs/templates/bootstrap3/cssClasses.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = { - 'formio-tab-panel-active': 'active', - 'formio-tab-link-active': 'active', - 'formio-tab-link-container-active': 'active', -}; diff --git a/lib/cjs/templates/bootstrap3/datagrid/form.ejs.js b/lib/cjs/templates/bootstrap3/datagrid/form.ejs.js deleted file mode 100644 index ebde73612..000000000 --- a/lib/cjs/templates/bootstrap3/datagrid/form.ejs.js +++ /dev/null @@ -1,129 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n ' + -((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - if (col.tooltip) { ; -__p += ' '; - } ; -__p += '\n \n '; - }) ; -__p += '\n '; - if (ctx.hasExtraColumn) { ; -__p += '\n \n '; - } ; -__p += '\n \n \n '; - } ; -__p += '\n \n '; - ctx.rows.forEach(function(row, index) { ; -__p += '\n '; - if (ctx.hasGroups && ctx.groups[index]) { ; -__p += '\n \n ' + -((__t = (ctx.groups[index].label)) == null ? '' : __t) + -'\n \n '; - } ; -__p += '\n \n '; - if (ctx.component.reorder) { ; -__p += '\n \n '; - } ; -__p += '\n '; - ctx.columns.forEach(function(col) { ; -__p += '\n \n '; - }) ; -__p += '\n '; - if (ctx.hasExtraColumn) { ; -__p += '\n '; - if (ctx.hasRemoveButtons) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (ctx.canAddColumn) { ; -__p += '\n \n '; - } ; -__p += '\n '; - } ; -__p += '\n \n '; - }) ; -__p += '\n \n '; - if (ctx.hasAddButton && ctx.hasBottomSubmit) { ; -__p += '\n \n \n \n \n \n '; - } ; -__p += '\n
    \n '; - if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n \n \n ' + -((__t = (row[col.key])) == null ? '' : __t) + -'\n \n \n \n ' + -((__t = (ctx.placeholder)) == null ? '' : __t) + -'\n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/datagrid/html.ejs.js b/lib/cjs/templates/bootstrap3/datagrid/html.ejs.js deleted file mode 100644 index a2c9edbdf..000000000 --- a/lib/cjs/templates/bootstrap3/datagrid/html.ejs.js +++ /dev/null @@ -1,49 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n '; - if (hasHeader) { ; -__p += '\n \n \n '; - columns.forEach(function(col) { ; -__p += '\n \n '; - }) ; -__p += '\n \n \n '; - } ; -__p += '\n \n '; - rows.forEach(function(row) { ; -__p += '\n \n '; - columns.forEach(function(col) { ; -__p += '\n \n '; - }) ; -__p += '\n \n '; - }) ; -__p += '\n \n
    \n ' + -((__t = ( col.hideLabel ? '' : t(col.label || col.title) )) == null ? '' : __t) + -'\n '; - if (col.tooltip) { ; -__p += ' '; - } ; -__p += '\n
    \n ' + -((__t = (row[col.key])) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/datagrid/index.d.ts b/lib/cjs/templates/bootstrap3/datagrid/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap3/datagrid/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/datagrid/index.js b/lib/cjs/templates/bootstrap3/datagrid/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap3/datagrid/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/day/form.ejs.js b/lib/cjs/templates/bootstrap3/day/form.ejs.js deleted file mode 100644 index d336e6a52..000000000 --- a/lib/cjs/templates/bootstrap3/day/form.ejs.js +++ /dev/null @@ -1,81 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (ctx.dayFirst && ctx.showDay) { ; -__p += '\n
    \n '; - if (!ctx.component.hideInputLabels) { ; -__p += '\n \n '; - } ; -__p += '\n
    ' + -((__t = (ctx.day)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n '; - if (ctx.showMonth) { ; -__p += '\n
    \n '; - if (!ctx.component.hideInputLabels) { ; -__p += '\n \n '; - } ; -__p += '\n
    ' + -((__t = (ctx.month)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n '; - if (!ctx.dayFirst && ctx.showDay) { ; -__p += '\n
    \n '; - if (!ctx.component.hideInputLabels) { ; -__p += '\n \n '; - } ; -__p += '\n
    ' + -((__t = (ctx.day)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n '; - if (ctx.showYear) { ; -__p += '\n
    \n '; - if (!ctx.component.hideInputLabels) { ; -__p += '\n \n '; - } ; -__p += '\n
    ' + -((__t = (ctx.year)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n
    \n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/day/index.d.ts b/lib/cjs/templates/bootstrap3/day/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/day/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/day/index.js b/lib/cjs/templates/bootstrap3/day/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/day/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/dialog/form.ejs.js b/lib/cjs/templates/bootstrap3/dialog/form.ejs.js deleted file mode 100644 index cc6286c8d..000000000 --- a/lib/cjs/templates/bootstrap3/dialog/form.ejs.js +++ /dev/null @@ -1,8 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n
    \n
    \n \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/dialog/index.d.ts b/lib/cjs/templates/bootstrap3/dialog/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/dialog/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/dialog/index.js b/lib/cjs/templates/bootstrap3/dialog/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/dialog/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/editgrid/form.ejs.js b/lib/cjs/templates/bootstrap3/editgrid/form.ejs.js deleted file mode 100644 index b6de0f9aa..000000000 --- a/lib/cjs/templates/bootstrap3/editgrid/form.ejs.js +++ /dev/null @@ -1,65 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
      \n '; - if (ctx.header) { ; -__p += '\n
    • \n ' + -((__t = (ctx.header)) == null ? '' : __t) + -'\n
    • \n '; - } ; -__p += '\n '; - ctx.rows.forEach(function(row, rowIndex) { ; -__p += '\n
    • \n ' + -((__t = (row)) == null ? '' : __t) + -'\n '; - if (ctx.openRows[rowIndex] && !ctx.readOnly) { ; -__p += '\n
      \n \n '; - if (ctx.component.removeRow) { ; -__p += '\n \n '; - } ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n
      \n ' + -((__t = (ctx.errors[rowIndex])) == null ? '' : __t) + -'\n
      \n
      \n
    • \n '; - }) ; -__p += '\n '; - if (ctx.footer) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n'; - if (!ctx.readOnly && ctx.hasAddButton) { ; -__p += '\n\n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/editgrid/html.ejs.js b/lib/cjs/templates/bootstrap3/editgrid/html.ejs.js deleted file mode 100644 index 27ee84e53..000000000 --- a/lib/cjs/templates/bootstrap3/editgrid/html.ejs.js +++ /dev/null @@ -1,55 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
      \n '; - if (ctx.header) { ; -__p += '\n
    • \n ' + -((__t = (ctx.header)) == null ? '' : __t) + -'\n
    • \n '; - } ; -__p += '\n '; - ctx.rows.forEach(function(row, rowIndex) { ; -__p += '\n
    • \n ' + -((__t = (row)) == null ? '' : __t) + -'\n '; - if (ctx.openRows[rowIndex] && !ctx.readOnly) { ; -__p += '\n
      \n \n '; - if (ctx.component.removeRow) { ; -__p += '\n \n '; - } ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n
      \n ' + -((__t = (ctx.errors[rowIndex])) == null ? '' : __t) + -'\n
      \n
      \n
    • \n '; - }) ; -__p += '\n '; - if (ctx.footer) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/editgrid/index.d.ts b/lib/cjs/templates/bootstrap3/editgrid/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap3/editgrid/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/editgrid/index.js b/lib/cjs/templates/bootstrap3/editgrid/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap3/editgrid/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/errorsList/form.ejs.js b/lib/cjs/templates/bootstrap3/errorsList/form.ejs.js deleted file mode 100644 index b2cd40c76..000000000 --- a/lib/cjs/templates/bootstrap3/errorsList/form.ejs.js +++ /dev/null @@ -1,23 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '

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

    \n
      \n '; - ctx.errors.forEach(function(err) { ; -__p += '\n ' + -((__t = (err.message)) == null ? '' : __t) + -'\n '; - }) ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/errorsList/index.d.ts b/lib/cjs/templates/bootstrap3/errorsList/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/errorsList/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/errorsList/index.js b/lib/cjs/templates/bootstrap3/errorsList/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/errorsList/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/field/align.ejs.js b/lib/cjs/templates/bootstrap3/field/align.ejs.js deleted file mode 100644 index df28e3263..000000000 --- a/lib/cjs/templates/bootstrap3/field/align.ejs.js +++ /dev/null @@ -1,41 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (!ctx.label.hidden) { ; -__p += '\n
    \n ' + -((__t = ( ctx.labelMarkup )) == null ? '' : __t) + -'\n
    \n '; - } ; -__p += '\n\n '; - if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ; -__p += '\n
    \n \n
    \n '; - } ; -__p += '\n\n
    \n ' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n
    \n
    \n\n'; - if (ctx.component.description) { ; -__p += '\n
    ' + -((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) + -'
    \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/field/form.ejs.js b/lib/cjs/templates/bootstrap3/field/form.ejs.js deleted file mode 100644 index e64b8da5b..000000000 --- a/lib/cjs/templates/bootstrap3/field/form.ejs.js +++ /dev/null @@ -1,35 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - if (!ctx.label.hidden && ctx.label.labelPosition !== 'bottom') { ; -__p += '\n ' + -((__t = ( ctx.labelMarkup )) == null ? '' : __t) + -'\n'; - } ; -__p += '\n\n'; - if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ; -__p += '\n \n'; - } ; -__p += '\n\n' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n'; - if (!ctx.label.hidden && ctx.label.labelPosition === 'bottom') { ; -__p += '\n ' + -((__t = ( ctx.labelMarkup )) == null ? '' : __t) + -'\n'; - } ; -__p += '\n'; - if (ctx.component.description) { ; -__p += '\n
    ' + -((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) + -'
    \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/field/index.d.ts b/lib/cjs/templates/bootstrap3/field/index.d.ts deleted file mode 100644 index 43ed667c0..000000000 --- a/lib/cjs/templates/bootstrap3/field/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - align: string; - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/field/index.js b/lib/cjs/templates/bootstrap3/field/index.js deleted file mode 100644 index 974083560..000000000 --- a/lib/cjs/templates/bootstrap3/field/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const align_ejs_1 = require("./align.ejs"); -const form_ejs_1 = require("./form.ejs"); -exports.default = { align: align_ejs_1.default, form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/file/form.ejs.js b/lib/cjs/templates/bootstrap3/file/form.ejs.js deleted file mode 100644 index ca8971f40..000000000 --- a/lib/cjs/templates/bootstrap3/file/form.ejs.js +++ /dev/null @@ -1,201 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - if (!ctx.self.imageUpload) { ; -__p += '\n
      \n \n '; - ctx.files.forEach(function(file) { ; -__p += '\n
    • \n
      \n '; - if (!ctx.disabled) { ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n '; - if (ctx.component.uploadOnly) { ; -__p += '\n ' + -((__t = (file.originalName || file.name)) == null ? '' : __t) + -'\n '; - } else { ; -__p += '\n ' + -((__t = (file.originalName || file.name)) == null ? '' : __t) + -'\n '; - } ; -__p += '\n
      \n
      ' + -((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + -'
      \n '; - if (ctx.self.hasTypes && !ctx.disabled) { ; -__p += '\n
      \n \n
      \n '; - } ; -__p += '\n '; - if (ctx.self.hasTypes && ctx.disabled) { ; -__p += '\n
      ' + -((__t = (file.fileType)) == null ? '' : __t) + -'
      \n '; - } ; -__p += '\n
      \n
    • \n '; - }) ; -__p += '\n
    \n'; - } else { ; -__p += '\n
    \n '; - ctx.files.forEach(function(file) { ; -__p += '\n
    \n \n ' +
-((__t = (file.originalName || file.name)) == null ? '' : __t) +
-'\n '; - if (!ctx.disabled) { ; -__p += '\n \n '; - } ; -__p += '\n \n
    \n '; - }) ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ; -__p += '\n '; - if (ctx.self.useWebViewCamera) { ; -__p += '\n
    \n \n \n
    \n '; - } else if (!ctx.self.cameraMode) { ; -__p += '\n
    \n ' + -((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) + -'\n '; - if (ctx.self.imageUpload && ctx.component.webcam) { ; -__p += '\n ' + -((__t = (ctx.t('Use Camera,'))) == null ? '' : __t) + -'\n '; - } ; -__p += '\n ' + -((__t = (ctx.t('or'))) == null ? '' : __t) + -' ' + -((__t = (ctx.t('browse'))) == null ? '' : __t) + -'\n
    \n '; - } else { ; -__p += '\n
    \n \n
    \n \n \n '; - } ; -__p += '\n'; - } ; -__p += '\n'; - ctx.statuses.forEach(function(status) { ; -__p += '\n
    \n
    \n
    ' + -((__t = (status.originalName)) == null ? '' : __t) + -'
    \n
    ' + -((__t = (ctx.fileSize(status.size))) == null ? '' : __t) + -'
    \n
    \n
    \n
    \n '; - if (status.status === 'progress') { ; -__p += '\n
    \n
    \n ' + -((__t = (status.progress)) == null ? '' : __t) + -'% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + -'\n
    \n
    \n '; - } else if (status.status === 'error'){ ; -__p += '\n
    ' + -((__t = (ctx.t(status.message))) == null ? '' : __t) + -'
    \n '; - } else { ; -__p += '\n
    ' + -((__t = (ctx.t(status.message))) == null ? '' : __t) + -'
    \n '; - } ; -__p += '\n
    \n
    \n
    \n'; - }) ; -__p += '\n'; - if (!ctx.component.storage || ctx.support.hasWarning) { ; -__p += '\n
    \n '; - if (!ctx.component.storage) { ; -__p += '\n

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

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

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

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

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

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

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

    \n '; - } ; -__p += '\n
    \n'; - } ; - -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/file/index.d.ts b/lib/cjs/templates/bootstrap3/file/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/file/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/file/index.js b/lib/cjs/templates/bootstrap3/file/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/file/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/grid/html.ejs.js b/lib/cjs/templates/bootstrap3/grid/html.ejs.js deleted file mode 100644 index ff487bd78..000000000 --- a/lib/cjs/templates/bootstrap3/grid/html.ejs.js +++ /dev/null @@ -1,77 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n \n \n \n
    \n '; - if (ctx.component.enableRowSelect) { ; -__p += '\n
    \n '; - if (ctx.selectedRows) { ; -__p += '\n ' + -((__t = (ctx.selectedRows)) == null ? '' : __t) + -' selected\n '; - } ; -__p += '\n
    \n '; - } ; -__p += '\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n '; - if (!ctx.component.components.length) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (ctx.component.enableRowSelect) { ; -__p += '\n \n '; - } ; -__p += '\n '; - ctx.component.components.forEach(function(comp, i) { ; -__p += '\n '; - if (comp.show) { ; -__p += '\n \n '; - } ; -__p += '\n '; - }); ; -__p += '\n '; - if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) - && ctx.data.length - && !ctx.options.pdf) { ; -__p += '\n \n '; - } ; -__p += '\n \n \n \n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.\n \n (' + -((__t = (ctx.selectedRows)) == null ? '' : __t) + -' of )\n \n ' + -((__t = ( comp.label || comp.key )) == null ? '' : __t) + -'\n '; - if (ctx.options.sortable && comp.sortable) { ; -__p += '\n \n ' + -((__t = ( ctx.component.sort.isAsc ? '↑' : '↓' )) == null ? '' : __t) + -'\n \n '; - } ; -__p += '\n '; - if (!ctx.options.hideMenu) { ; -__p += '\n \n \n \n '; - } ; -__p += '\n \n
    \n Actions\n '; - if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n
    \n
    \n
    \n
    \n '; - if (ctx.component.showAddBtn && !ctx.options.pdf) { ; -__p += '\n
    +
    \n '; - } ; -__p += '\n
    \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/grid/index.d.ts b/lib/cjs/templates/bootstrap3/grid/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap3/grid/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/grid/index.js b/lib/cjs/templates/bootstrap3/grid/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap3/grid/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/icon/form.ejs.js b/lib/cjs/templates/bootstrap3/icon/form.ejs.js deleted file mode 100644 index cc7a59b5a..000000000 --- a/lib/cjs/templates/bootstrap3/icon/form.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '' + -((__t = (ctx.content)) == null ? '' : __t) + -'\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/icon/index.d.ts b/lib/cjs/templates/bootstrap3/icon/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/icon/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/icon/index.js b/lib/cjs/templates/bootstrap3/icon/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/icon/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/iconClass.d.ts b/lib/cjs/templates/bootstrap3/iconClass.d.ts deleted file mode 100644 index 2525836d8..000000000 --- a/lib/cjs/templates/bootstrap3/iconClass.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: (iconset: any, name: any, spinning: any) => string; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/iconClass.js b/lib/cjs/templates/bootstrap3/iconClass.js deleted file mode 100644 index 3705d8502..000000000 --- a/lib/cjs/templates/bootstrap3/iconClass.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = (iconset, name, spinning) => { - if (iconset === 'fa') { - switch (name) { - case 'save': - name = 'download'; - break; - case 'zoom-in': - name = 'search-plus'; - break; - case 'zoom-out': - name = 'search-minus'; - break; - case 'question-sign': - name = 'question-circle'; - break; - case 'remove-circle': - name = 'times-circle-o'; - break; - case 'new-window': - name = 'window-restore'; - break; - case 'move': - name = 'arrows'; - break; - } - } - return spinning ? `${iconset} ${iconset}-${name} ${iconset}-spin` : `${iconset} ${iconset}-${name}`; -}; diff --git a/lib/cjs/templates/bootstrap3/index.d.ts b/lib/cjs/templates/bootstrap3/index.d.ts deleted file mode 100644 index 4ef2712ca..000000000 --- a/lib/cjs/templates/bootstrap3/index.d.ts +++ /dev/null @@ -1,148 +0,0 @@ -declare const _default: { - transform(type: any, text: any): any; - handleBuilderSidebarScroll(builder: any): void; - clearBuilderSidebarScroll(builder: any): void; - defaultIconset: string; - iconClass: (iconset: any, name: any, spinning: any) => string; - cssClasses: { - 'formio-tab-panel-active': string; - 'formio-tab-link-active': string; - 'formio-tab-link-container-active': string; - }; - builder: { - form: string; - }; - builderComponent: { - form: string; - }; - builderComponents: { - form: string; - }; - builderEditForm: { - form: string; - }; - builderPlaceholder: { - form: string; - }; - builderSidebar: { - form: string; - }; - builderSidebarGroup: { - form: string; - }; - columns: { - form: string; - }; - datagrid: { - form: string; - html: string; - }; - day: { - form: string; - }; - dialog: { - form: string; - }; - editgrid: { - form: string; - html: string; - }; - field: { - align: string; - form: string; - }; - file: { - form: string; - }; - icon: { - form: string; - }; - input: { - form: string; - html: string; - }; - label: { - form: string; - }; - message: { - form: string; - }; - modaldialog: { - form: string; - }; - modaledit: { - form: string; - }; - multiValueRow: { - form: string; - }; - multiValueTable: { - form: string; - }; - panel: { - form: string; - }; - radio: { - form: string; - html: string; - }; - resourceAdd: { - form: string; - }; - signature: { - form: string; - html: string; - }; - survey: { - form: string; - html: string; - }; - tab: { - flat: string; - form: string; - }; - table: { - form: string; - }; - well: { - form: string; - }; - wizard: { - form: string; - builder: string; - }; - wizardHeader: { - form: string; - }; - wizardHeaderClassic: { - form: string; - }; - wizardHeaderVertical: { - form: string; - }; - wizardNav: { - form: string; - }; - errorsList: { - form: string; - }; - alert: { - form: string; - }; - grid: { - html: string; - }; - pagination: { - html: string; - }; - columnMenu: { - html: string; - }; - tbody: { - html: string; - }; - paginationBottom: { - html: string; - }; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/index.js b/lib/cjs/templates/bootstrap3/index.js deleted file mode 100644 index c8cd21e6b..000000000 --- a/lib/cjs/templates/bootstrap3/index.js +++ /dev/null @@ -1,127 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const builder_1 = require("./builder"); -const builderComponent_1 = require("./builderComponent"); -const builderComponents_1 = require("./builderComponents"); -const builderEditForm_1 = require("./builderEditForm"); -const builderPlaceholder_1 = require("./builderPlaceholder"); -const builderSidebar_1 = require("./builderSidebar"); -const builderSidebarGroup_1 = require("./builderSidebarGroup"); -const columns_1 = require("./columns"); -const cssClasses_1 = require("./cssClasses"); -const datagrid_1 = require("./datagrid"); -const day_1 = require("./day"); -const dialog_1 = require("./dialog"); -const editgrid_1 = require("./editgrid"); -const field_1 = require("./field"); -const file_1 = require("./file"); -const icon_1 = require("./icon"); -const iconClass_1 = require("./iconClass"); -const input_1 = require("./input"); -const label_1 = require("./label"); -const message_1 = require("./message"); -const modaldialog_1 = require("./modaldialog"); -const modaledit_1 = require("./modaledit"); -const multiValueRow_1 = require("./multiValueRow"); -const multiValueTable_1 = require("./multiValueTable"); -const panel_1 = require("./panel"); -const radio_1 = require("./radio"); -const resourceAdd_1 = require("./resourceAdd"); -const signature_1 = require("./signature"); -const survey_1 = require("./survey"); -const tab_1 = require("./tab"); -const table_1 = require("./table"); -const well_1 = require("./well"); -const wizard_1 = require("./wizard"); -const wizardHeader_1 = require("./wizardHeader"); -const wizardHeaderClassic_1 = require("./wizardHeaderClassic"); -const wizardHeaderVertical_1 = require("./wizardHeaderVertical"); -const wizardNav_1 = require("./wizardNav"); -const alert_1 = require("./alert"); -const errorsList_1 = require("./errorsList"); -const grid_1 = require("./grid"); -const pagination_1 = require("./pagination"); -const column_menu_1 = require("./column-menu"); -const tbody_1 = require("./tbody"); -const pagination_bottom_1 = require("./pagination-bottom"); -exports.default = { - transform(type, text) { - if (!text) { - return text; - } - switch (type) { - case 'class': - return this.cssClasses.hasOwnProperty(text.toString()) ? this.cssClasses[text.toString()] : text; - } - return text; - }, - handleBuilderSidebarScroll(builder) { - if (builder.scrollResizeObserver) { - builder.scrollResizeObserver.disconnect(); - } - builder.scrollResizeObserver = new ResizeObserver(() => { - setTimeout(() => { - const { form, sidebar } = builder.refs; - const formHeight = form && form.parentNode && form.parentNode.clientHeight; - const sidebarHeight = sidebar && sidebar.clientHeight; - const style = sidebar && sidebar.parentNode && sidebar.parentNode.style; - if (style && formHeight && sidebarHeight) { - style.height = `${Math.max(sidebarHeight + 20, formHeight)}px`; - } - }); - }); - builder.scrollResizeObserver.observe(builder.refs.form); - builder.scrollResizeObserver.observe(builder.refs.sidebar); - }, - clearBuilderSidebarScroll(builder) { - if (builder.scrollResizeObserver) { - builder.scrollResizeObserver.disconnect(); - builder.scrollResizeObserver = null; - } - }, - defaultIconset: 'glyphicon', - iconClass: iconClass_1.default, - cssClasses: cssClasses_1.default, - builder: builder_1.default, - builderComponent: builderComponent_1.default, - builderComponents: builderComponents_1.default, - builderEditForm: builderEditForm_1.default, - builderPlaceholder: builderPlaceholder_1.default, - builderSidebar: builderSidebar_1.default, - builderSidebarGroup: builderSidebarGroup_1.default, - columns: columns_1.default, - datagrid: datagrid_1.default, - day: day_1.default, - dialog: dialog_1.default, - editgrid: editgrid_1.default, - field: field_1.default, - file: file_1.default, - icon: icon_1.default, - input: input_1.default, - label: label_1.default, - message: message_1.default, - modaldialog: modaldialog_1.default, - modaledit: modaledit_1.default, - multiValueRow: multiValueRow_1.default, - multiValueTable: multiValueTable_1.default, - panel: panel_1.default, - radio: radio_1.default, - resourceAdd: resourceAdd_1.default, - signature: signature_1.default, - survey: survey_1.default, - tab: tab_1.default, - table: table_1.default, - well: well_1.default, - wizard: wizard_1.default, - wizardHeader: wizardHeader_1.default, - wizardHeaderClassic: wizardHeaderClassic_1.default, - wizardHeaderVertical: wizardHeaderVertical_1.default, - wizardNav: wizardNav_1.default, - errorsList: errorsList_1.default, - alert: alert_1.default, - grid: grid_1.default, - pagination: pagination_1.default, - columnMenu: column_menu_1.default, - tbody: tbody_1.default, - paginationBottom: pagination_bottom_1.default -}; diff --git a/lib/cjs/templates/bootstrap3/input/form.ejs.js b/lib/cjs/templates/bootstrap3/input/form.ejs.js deleted file mode 100644 index 753114f9a..000000000 --- a/lib/cjs/templates/bootstrap3/input/form.ejs.js +++ /dev/null @@ -1,85 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - if (ctx.prefix || ctx.suffix) { ; -__p += '\n
    \n '; - } ; -__p += '\n '; - if (ctx.prefix) { ; -__p += '\n
    \n '; - if(ctx.prefix instanceof HTMLElement){ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.prefix.outerHTML, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } else{ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.prefix, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } ; -__p += '\n
    \n '; - } ; -__p += '\n '; - if (!ctx.component.editor && !ctx.component.wysiwyg) { ; -__p += '\n <' + -((__t = (ctx.input.type)) == null ? '' : __t) + -'\n ref="' + -((__t = (ctx.input.ref ? ctx.input.ref : 'input')) == null ? '' : __t) + -'"\n '; - for (var attr in ctx.input.attr) { ; -__p += '\n ' + -((__t = (attr)) == null ? '' : __t) + -'="' + -((__t = (ctx.input.attr[attr])) == null ? '' : __t) + -'"\n '; - } ; -__p += '\n id="' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t) + -'"\n >' + -((__t = (ctx.input.content)) == null ? '' : __t) + -'\n '; - if (ctx.hasValueMaskInput) { ; -__p += '\n \n '; - } ; -__p += '\n'; - } ; -__p += '\n'; - if (ctx.component.editor || ctx.component.wysiwyg) { ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (ctx.suffix) { ; -__p += '\n
    \n '; - if(ctx.suffix instanceof HTMLElement){ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.suffix.outerHTML, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } else{ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.suffix, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (ctx.prefix || ctx.suffix) { ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (ctx.component.showCharCount) { ; -__p += '\n\n'; - } ; -__p += '\n'; - if (ctx.component.showWordCount) { ; -__p += '\n\n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/input/html.ejs.js b/lib/cjs/templates/bootstrap3/input/html.ejs.js deleted file mode 100644 index 5979e1694..000000000 --- a/lib/cjs/templates/bootstrap3/input/html.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    '; - if (ctx.value) { ; -__p += -((__t = (ctx.value)) == null ? '' : __t); - } else { ; -__p += '-'; - } ; -__p += '
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/input/index.d.ts b/lib/cjs/templates/bootstrap3/input/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap3/input/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/input/index.js b/lib/cjs/templates/bootstrap3/input/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap3/input/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/label/form.ejs.js b/lib/cjs/templates/bootstrap3/label/form.ejs.js deleted file mode 100644 index 253b9861d..000000000 --- a/lib/cjs/templates/bootstrap3/label/form.ejs.js +++ /dev/null @@ -1,29 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n '; - if (!ctx.label.hidden) { ; -__p += '\n ' + -((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - if (ctx.component.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n '; - } ; -__p += '\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/label/index.d.ts b/lib/cjs/templates/bootstrap3/label/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/label/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/label/index.js b/lib/cjs/templates/bootstrap3/label/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/label/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/message/form.ejs.js b/lib/cjs/templates/bootstrap3/message/form.ejs.js deleted file mode 100644 index 871d76417..000000000 --- a/lib/cjs/templates/bootstrap3/message/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '

    ' + -((__t = (ctx.message)) == null ? '' : __t) + -'

    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/message/index.d.ts b/lib/cjs/templates/bootstrap3/message/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/message/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/message/index.js b/lib/cjs/templates/bootstrap3/message/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/message/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/modaldialog/form.ejs.js b/lib/cjs/templates/bootstrap3/modaldialog/form.ejs.js deleted file mode 100644 index 05037b061..000000000 --- a/lib/cjs/templates/bootstrap3/modaldialog/form.ejs.js +++ /dev/null @@ -1,10 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n
    \n \n ' + -((__t = (ctx.t('Close'))) == null ? '' : __t) + -'\n \n
    \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/modaldialog/index.d.ts b/lib/cjs/templates/bootstrap3/modaldialog/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/modaldialog/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/modaldialog/index.js b/lib/cjs/templates/bootstrap3/modaldialog/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/modaldialog/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/modaledit/form.ejs.js b/lib/cjs/templates/bootstrap3/modaledit/form.ejs.js deleted file mode 100644 index 981e78686..000000000 --- a/lib/cjs/templates/bootstrap3/modaledit/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n \n \n \n
    ' + -((__t = (ctx.content)) == null ? '' : __t) + -'
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/modaledit/index.d.ts b/lib/cjs/templates/bootstrap3/modaledit/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/modaledit/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/modaledit/index.js b/lib/cjs/templates/bootstrap3/modaledit/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/modaledit/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/multiValueRow/form.ejs.js b/lib/cjs/templates/bootstrap3/multiValueRow/form.ejs.js deleted file mode 100644 index 5aa731a2c..000000000 --- a/lib/cjs/templates/bootstrap3/multiValueRow/form.ejs.js +++ /dev/null @@ -1,17 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n \n ' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n \n '; - if (!ctx.disabled) { ; -__p += '\n \n \n \n '; - } ; -__p += '\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/multiValueRow/index.d.ts b/lib/cjs/templates/bootstrap3/multiValueRow/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/multiValueRow/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/multiValueRow/index.js b/lib/cjs/templates/bootstrap3/multiValueRow/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/multiValueRow/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/multiValueTable/form.ejs.js b/lib/cjs/templates/bootstrap3/multiValueTable/form.ejs.js deleted file mode 100644 index 7635cc0a9..000000000 --- a/lib/cjs/templates/bootstrap3/multiValueTable/form.ejs.js +++ /dev/null @@ -1,19 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n \n ' + -((__t = (ctx.rows)) == null ? '' : __t) + -'\n '; - if (!ctx.disabled) { ; -__p += '\n \n \n \n '; - } ; -__p += '\n \n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/multiValueTable/index.d.ts b/lib/cjs/templates/bootstrap3/multiValueTable/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/multiValueTable/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/multiValueTable/index.js b/lib/cjs/templates/bootstrap3/multiValueTable/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/multiValueTable/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/pagination-bottom/html.ejs.js b/lib/cjs/templates/bootstrap3/pagination-bottom/html.ejs.js deleted file mode 100644 index 13bdd3622..000000000 --- a/lib/cjs/templates/bootstrap3/pagination-bottom/html.ejs.js +++ /dev/null @@ -1,8 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n \n
    '; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/pagination-bottom/index.d.ts b/lib/cjs/templates/bootstrap3/pagination-bottom/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap3/pagination-bottom/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/pagination-bottom/index.js b/lib/cjs/templates/bootstrap3/pagination-bottom/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap3/pagination-bottom/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/pagination/html.ejs.js b/lib/cjs/templates/bootstrap3/pagination/html.ejs.js deleted file mode 100644 index 6b01cbd1f..000000000 --- a/lib/cjs/templates/bootstrap3/pagination/html.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/pagination/index.d.ts b/lib/cjs/templates/bootstrap3/pagination/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap3/pagination/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/pagination/index.js b/lib/cjs/templates/bootstrap3/pagination/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap3/pagination/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/panel/form.ejs.js b/lib/cjs/templates/bootstrap3/panel/form.ejs.js deleted file mode 100644 index 82f01589d..000000000 --- a/lib/cjs/templates/bootstrap3/panel/form.ejs.js +++ /dev/null @@ -1,57 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; -__p += '\n
    \n

    \n '; - if (ctx.component.collapsible) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; -__p += '\n ' + -((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + -'\n '; - } ; -__p += '\n '; - if (ctx.component.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n

    \n
    \n '; - } ; -__p += '\n '; - if (!ctx.collapsed || ctx.builder) { ; -__p += '\n
    \n ' + -((__t = (ctx.children)) == null ? '' : __t) + -'\n
    \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/panel/index.d.ts b/lib/cjs/templates/bootstrap3/panel/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/panel/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/panel/index.js b/lib/cjs/templates/bootstrap3/panel/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/panel/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/pdf/form.ejs.js b/lib/cjs/templates/bootstrap3/pdf/form.ejs.js deleted file mode 100644 index 3dee64947..000000000 --- a/lib/cjs/templates/bootstrap3/pdf/form.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n \n \n \n \n \n \n
    \n ' + -((__t = ( ctx.submitButton )) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/pdf/index.d.ts b/lib/cjs/templates/bootstrap3/pdf/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/pdf/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/pdf/index.js b/lib/cjs/templates/bootstrap3/pdf/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/pdf/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/radio/form.ejs.js b/lib/cjs/templates/bootstrap3/radio/form.ejs.js deleted file mode 100644 index 693c75f0e..000000000 --- a/lib/cjs/templates/bootstrap3/radio/form.ejs.js +++ /dev/null @@ -1,67 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - ctx.values.forEach(function(item, index) { ; -__p += '\n
    \n \n
    \n '; - }) ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/radio/html.ejs.js b/lib/cjs/templates/bootstrap3/radio/html.ejs.js deleted file mode 100644 index b3c7f8685..000000000 --- a/lib/cjs/templates/bootstrap3/radio/html.ejs.js +++ /dev/null @@ -1,13 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - var filtered = ctx.values.filter(function(item) {return ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value])}).map(function(item) { return ctx.t(item.label, { _userInput: true })}).join(', ') ; -__p += '\n ' + -((__t = (filtered)) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/radio/index.d.ts b/lib/cjs/templates/bootstrap3/radio/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap3/radio/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/radio/index.js b/lib/cjs/templates/bootstrap3/radio/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap3/radio/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/resourceAdd/form.ejs.js b/lib/cjs/templates/bootstrap3/resourceAdd/form.ejs.js deleted file mode 100644 index b6af540e4..000000000 --- a/lib/cjs/templates/bootstrap3/resourceAdd/form.ejs.js +++ /dev/null @@ -1,14 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '\n \n \n \n \n \n \n \n \n
    \n ' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/resourceAdd/index.d.ts b/lib/cjs/templates/bootstrap3/resourceAdd/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/resourceAdd/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/resourceAdd/index.js b/lib/cjs/templates/bootstrap3/resourceAdd/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/resourceAdd/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/signature/form.ejs.js b/lib/cjs/templates/bootstrap3/signature/form.ejs.js deleted file mode 100644 index 0cc9a0516..000000000 --- a/lib/cjs/templates/bootstrap3/signature/form.ejs.js +++ /dev/null @@ -1,33 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += -((__t = (ctx.element)) == null ? '' : __t) + -'\n\n\n \n \n \n \n '; - if (ctx.required) { ; -__p += '\n \n '; - } ; -__p += '\n \n\n'; - if (ctx.component.footer) { ; -__p += '\n \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/signature/html.ejs.js b/lib/cjs/templates/bootstrap3/signature/html.ejs.js deleted file mode 100644 index 5e1ec4ccf..000000000 --- a/lib/cjs/templates/bootstrap3/signature/html.ejs.js +++ /dev/null @@ -1,8 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/signature/index.d.ts b/lib/cjs/templates/bootstrap3/signature/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap3/signature/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/signature/index.js b/lib/cjs/templates/bootstrap3/signature/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap3/signature/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/survey/form.ejs.js b/lib/cjs/templates/bootstrap3/survey/form.ejs.js deleted file mode 100644 index a835b1d67..000000000 --- a/lib/cjs/templates/bootstrap3/survey/form.ejs.js +++ /dev/null @@ -1,51 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n \n \n \n '; - ctx.component.values.forEach(function(value) { ; -__p += '\n \n '; - }) ; -__p += '\n \n \n \n '; - ctx.component.questions.forEach(function(question) { ; -__p += '\n \n \n '; - ctx.component.values.forEach(function(value) { ; -__p += '\n \n '; - }) ; -__p += '\n \n '; - }) ; -__p += '\n \n
    \n ' + -((__t = (ctx.t(value.label))) == null ? '' : __t) + -'\n '; - if (value.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n ' + -((__t = (ctx.t(question.label))) == null ? '' : __t) + -'\n '; - if (question.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/survey/html.ejs.js b/lib/cjs/templates/bootstrap3/survey/html.ejs.js deleted file mode 100644 index 46923db7d..000000000 --- a/lib/cjs/templates/bootstrap3/survey/html.ejs.js +++ /dev/null @@ -1,25 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n \n '; - ctx.component.questions.forEach(function(question) { ; -__p += '\n \n \n \n \n '; - }) ; -__p += '\n \n
    ' + -((__t = (ctx.t(question.label))) == null ? '' : __t) + -'\n '; - ctx.component.values.forEach(function(item) { ; -__p += '\n '; - if (ctx.value && ctx.value.hasOwnProperty(question.value) && ctx.value[question.value] === item.value) { ; -__p += '\n ' + -((__t = (ctx.t(item.label))) == null ? '' : __t) + -'\n '; - } ; -__p += '\n '; - }) ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/survey/index.d.ts b/lib/cjs/templates/bootstrap3/survey/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap3/survey/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/survey/index.js b/lib/cjs/templates/bootstrap3/survey/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap3/survey/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/tab/flat.ejs.js b/lib/cjs/templates/bootstrap3/tab/flat.ejs.js deleted file mode 100644 index 84dacf494..000000000 --- a/lib/cjs/templates/bootstrap3/tab/flat.ejs.js +++ /dev/null @@ -1,19 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - ctx.component.components.forEach(function(tab, index) { ; -__p += '\n
    \n
    \n

    ' + -((__t = ( ctx.t(tab.label, { _userInput: true }) )) == null ? '' : __t) + -'

    \n
    \n
    \n ' + -((__t = ( ctx.tabComponents[index] )) == null ? '' : __t) + -'\n
    \n
    \n'; - }) ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/tab/form.ejs.js b/lib/cjs/templates/bootstrap3/tab/form.ejs.js deleted file mode 100644 index fcd5535e7..000000000 --- a/lib/cjs/templates/bootstrap3/tab/form.ejs.js +++ /dev/null @@ -1,41 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n \n
    \n '; - ctx.component.components.forEach(function(tab, index) { ; -__p += '\n
    ' + -((__t = (ctx.tabComponents[index])) == null ? '' : __t) + -'
    \n '; - }) ; -__p += '\n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/tab/index.d.ts b/lib/cjs/templates/bootstrap3/tab/index.d.ts deleted file mode 100644 index f175dff3c..000000000 --- a/lib/cjs/templates/bootstrap3/tab/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - flat: string; - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/tab/index.js b/lib/cjs/templates/bootstrap3/tab/index.js deleted file mode 100644 index ba037f727..000000000 --- a/lib/cjs/templates/bootstrap3/tab/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const flat_ejs_1 = require("./flat.ejs"); -const form_ejs_1 = require("./form.ejs"); -exports.default = { flat: flat_ejs_1.default, form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/table/form.ejs.js b/lib/cjs/templates/bootstrap3/table/form.ejs.js deleted file mode 100644 index abe949181..000000000 --- a/lib/cjs/templates/bootstrap3/table/form.ejs.js +++ /dev/null @@ -1,49 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n '; - if (ctx.component.header && ctx.component.header.length > 0) { ; -__p += '\n \n \n '; - ctx.component.header.forEach(function(header) { ; -__p += '\n \n '; - }) ; -__p += '\n \n \n '; - } ; -__p += '\n \n '; - ctx.tableComponents.forEach(function(row, rowIndex) { ; -__p += '\n \n '; - row.forEach(function(column, colIndex) { ; -__p += '\n \n '; - }) ; -__p += '\n \n
    ' + -((__t = (ctx.t(header, { _userInput: true }))) == null ? '' : __t) + -'
    \n '; - }) ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/table/index.d.ts b/lib/cjs/templates/bootstrap3/table/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/table/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/table/index.js b/lib/cjs/templates/bootstrap3/table/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/table/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/tbody/html.ejs.js b/lib/cjs/templates/bootstrap3/tbody/html.ejs.js deleted file mode 100644 index f5eaf4970..000000000 --- a/lib/cjs/templates/bootstrap3/tbody/html.ejs.js +++ /dev/null @@ -1,45 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n\n '; - ctx.eachRow(function(row) { ; -__p += '\n \n '; - if (ctx.component.enableRowSelect) { ; -__p += '\n \n '; - } ; -__p += '\n '; - row.forEach(function(rowComp) { ; -__p += '\n '; - if (rowComp.component.show) { ; -__p += '\n \n '; - } ; -__p += '\n '; - }); ; -__p += '\n '; - if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) && !ctx.options.pdf) { ; -__p += '\n \n '; - } ; -__p += '\n \n '; - }); ; -__p += '\n\n
    \n \n \n ' + -((__t = ( ctx.instance.hook('format', rowComp.component.key, rowComp.dataValue) )) == null ? '' : __t) + -'\n \n
    \n \n ⋮\n
    \n
    '; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/tbody/index.d.ts b/lib/cjs/templates/bootstrap3/tbody/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap3/tbody/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/tbody/index.js b/lib/cjs/templates/bootstrap3/tbody/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap3/tbody/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/well/form.ejs.js b/lib/cjs/templates/bootstrap3/well/form.ejs.js deleted file mode 100644 index 86bfc586f..000000000 --- a/lib/cjs/templates/bootstrap3/well/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n ' + -((__t = (ctx.children)) == null ? '' : __t) + -'\n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/well/index.d.ts b/lib/cjs/templates/bootstrap3/well/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/well/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/well/index.js b/lib/cjs/templates/bootstrap3/well/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/well/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/wizard/builder.ejs.js b/lib/cjs/templates/bootstrap3/wizard/builder.ejs.js deleted file mode 100644 index 19f3ce37e..000000000 --- a/lib/cjs/templates/bootstrap3/wizard/builder.ejs.js +++ /dev/null @@ -1,10 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    ' + -((__t = ( ctx.t(ctx.component.title, { _userInput: true }) )) == null ? '' : __t) + -'
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/wizard/form.ejs.js b/lib/cjs/templates/bootstrap3/wizard/form.ejs.js deleted file mode 100644 index 677ace591..000000000 --- a/lib/cjs/templates/bootstrap3/wizard/form.ejs.js +++ /dev/null @@ -1,33 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n '; - if (ctx.wizardHeaderType === 'wizardHeaderVertical') { ; -__p += '\n
    \n
    \n ' + -((__t = ( ctx.wizardHeader )) == null ? '' : __t) + -'\n
    \n
    \n ' + -((__t = (ctx.components)) == null ? '' : __t) + -'\n
    \n
    \n
    \n ' + -((__t = ( ctx.wizardNav )) == null ? '' : __t) + -'\n
    \n '; - } else { ; -__p += ' \n ' + -((__t = ( ctx.wizardHeader )) == null ? '' : __t) + -'\n
    \n ' + -((__t = (ctx.components)) == null ? '' : __t) + -'\n
    \n ' + -((__t = ( ctx.wizardNav )) == null ? '' : __t) + -'\n '; - } ; -__p += ' \n
    \n
    '; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/wizard/index.d.ts b/lib/cjs/templates/bootstrap3/wizard/index.d.ts deleted file mode 100644 index f3dc5a469..000000000 --- a/lib/cjs/templates/bootstrap3/wizard/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - builder: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/wizard/index.js b/lib/cjs/templates/bootstrap3/wizard/index.js deleted file mode 100644 index c50be2d12..000000000 --- a/lib/cjs/templates/bootstrap3/wizard/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const builder_ejs_1 = require("./builder.ejs"); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default, builder: builder_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/wizardHeader/form.ejs.js b/lib/cjs/templates/bootstrap3/wizardHeader/form.ejs.js deleted file mode 100644 index 0bf883011..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeader/form.ejs.js +++ /dev/null @@ -1,33 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/wizardHeader/index.d.ts b/lib/cjs/templates/bootstrap3/wizardHeader/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeader/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/wizardHeader/index.js b/lib/cjs/templates/bootstrap3/wizardHeader/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeader/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/wizardHeaderClassic/form.ejs.js b/lib/cjs/templates/bootstrap3/wizardHeaderClassic/form.ejs.js deleted file mode 100644 index 8be8691ea..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeaderClassic/form.ejs.js +++ /dev/null @@ -1,29 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/wizardHeaderClassic/index.d.ts b/lib/cjs/templates/bootstrap3/wizardHeaderClassic/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeaderClassic/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/wizardHeaderClassic/index.js b/lib/cjs/templates/bootstrap3/wizardHeaderClassic/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeaderClassic/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/wizardHeaderVertical/form.ejs.js b/lib/cjs/templates/bootstrap3/wizardHeaderVertical/form.ejs.js deleted file mode 100644 index 44e37052e..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeaderVertical/form.ejs.js +++ /dev/null @@ -1,31 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/wizardHeaderVertical/index.d.ts b/lib/cjs/templates/bootstrap3/wizardHeaderVertical/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeaderVertical/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/wizardHeaderVertical/index.js b/lib/cjs/templates/bootstrap3/wizardHeaderVertical/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/wizardHeaderVertical/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap3/wizardNav/form.ejs.js b/lib/cjs/templates/bootstrap3/wizardNav/form.ejs.js deleted file mode 100644 index 03c396c59..000000000 --- a/lib/cjs/templates/bootstrap3/wizardNav/form.ejs.js +++ /dev/null @@ -1,43 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
      \n '; - if (ctx.buttons.cancel) { ; -__p += '\n
    • \n \n
    • \n '; - } ; -__p += '\n '; - if (ctx.buttons.previous) { ; -__p += '\n
    • \n \n
    • \n '; - } ; -__p += '\n '; - if (ctx.buttons.next) { ; -__p += '\n
    • \n \n
    • \n '; - } ; -__p += '\n '; - if (ctx.buttons.submit) { ; -__p += '\n
    • \n \n
    • \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap3/wizardNav/index.d.ts b/lib/cjs/templates/bootstrap3/wizardNav/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap3/wizardNav/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap3/wizardNav/index.js b/lib/cjs/templates/bootstrap3/wizardNav/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap3/wizardNav/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/address/form.ejs.js b/lib/cjs/templates/bootstrap4/address/form.ejs.js deleted file mode 100644 index c8b884723..000000000 --- a/lib/cjs/templates/bootstrap4/address/form.ejs.js +++ /dev/null @@ -1,61 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - if (ctx.mode.autocomplete) { ; -__p += '\n
    \n \n '; - if (!ctx.component.disableClearIcon) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (ctx.self.manualModeEnabled) { ; -__p += '\n
    \n \n
    \n'; - } ; -__p += '\n'; - if (ctx.self.manualMode) { ; -__p += '\n
    \n ' + -((__t = ( ctx.children )) == null ? '' : __t) + -'\n
    \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/address/html.ejs.js b/lib/cjs/templates/bootstrap4/address/html.ejs.js deleted file mode 100644 index 65c383d2b..000000000 --- a/lib/cjs/templates/bootstrap4/address/html.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    '; - if (ctx.displayValue) { ; -__p += -((__t = (ctx.displayValue)) == null ? '' : __t); - } else { ; -__p += '-'; - } ; -__p += '
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/address/index.d.ts b/lib/cjs/templates/bootstrap4/address/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/address/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/address/index.js b/lib/cjs/templates/bootstrap4/address/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/address/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/alert/form.ejs.js b/lib/cjs/templates/bootstrap4/alert/form.ejs.js deleted file mode 100644 index 348e432ab..000000000 --- a/lib/cjs/templates/bootstrap4/alert/form.ejs.js +++ /dev/null @@ -1,27 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '' + -((__t = (ctx.t('errorListHotkey'))) == null ? '' : __t) + -'\n '; - } ; -__p += '\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/alert/index.d.ts b/lib/cjs/templates/bootstrap4/alert/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/alert/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/alert/index.js b/lib/cjs/templates/bootstrap4/alert/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/alert/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builder/form.ejs.js b/lib/cjs/templates/bootstrap4/builder/form.ejs.js deleted file mode 100644 index df06e1781..000000000 --- a/lib/cjs/templates/bootstrap4/builder/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n ' + -((__t = (ctx.sidebar)) == null ? '' : __t) + -'\n
    \n
    \n ' + -((__t = (ctx.form)) == null ? '' : __t) + -'\n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builder/index.d.ts b/lib/cjs/templates/bootstrap4/builder/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builder/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builder/index.js b/lib/cjs/templates/bootstrap4/builder/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builder/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js b/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js deleted file mode 100644 index 5d69e3dc3..000000000 --- a/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js +++ /dev/null @@ -1,35 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (!ctx.disableBuilderActions) { ; -__p += '\n
    \n \n \n
    \n '; - if (!ctx.design) { ; -__p += '\n \n \n
    \n \n \n \n \n \n \n '; - } ; -__p += '\n \n \n \n '; - if (!(ctx.design && ctx.childComponent.type === 'reviewpage')) { ; -__p += '\n \n \n \n '; - } ; -__p += '\n \n '; - } ; -__p += '\n ' + -((__t = (ctx.html)) == null ? '' : __t) + -'\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderComponent/index.d.ts b/lib/cjs/templates/bootstrap4/builderComponent/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builderComponent/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builderComponent/index.js b/lib/cjs/templates/bootstrap4/builderComponent/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builderComponent/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderComponents/form.ejs.js b/lib/cjs/templates/bootstrap4/builderComponents/form.ejs.js deleted file mode 100644 index 4cda2c2b4..000000000 --- a/lib/cjs/templates/bootstrap4/builderComponents/form.ejs.js +++ /dev/null @@ -1,14 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n ' + -((__t = (ctx.html)) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderComponents/index.d.ts b/lib/cjs/templates/bootstrap4/builderComponents/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builderComponents/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builderComponents/index.js b/lib/cjs/templates/bootstrap4/builderComponents/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builderComponents/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderEditForm/form.ejs.js b/lib/cjs/templates/bootstrap4/builderEditForm/form.ejs.js deleted file mode 100644 index 489934826..000000000 --- a/lib/cjs/templates/bootstrap4/builderEditForm/form.ejs.js +++ /dev/null @@ -1,65 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n

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

    \n
    \n '; - if (ctx.helplinks) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n
    \n
    \n
    \n ' + -((__t = (ctx.editForm)) == null ? '' : __t) + -'\n
    \n '; - if (!ctx.showPreview) { ; -__p += '\n
    \n \n \n \n '; - if (ctx.preview) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n '; - } ; -__p += '\n
    \n '; - if (ctx.showPreview && ctx.preview) { ; -__p += '\n
    \n
    \n
    \n

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

    \n
    \n
    \n
    \n ' + -((__t = (ctx.preview)) == null ? '' : __t) + -'\n
    \n
    \n
    \n '; - if (ctx.componentInfo.help) { ; -__p += '\n
    \n ' + -((__t = ( ctx.t(ctx.componentInfo.help) )) == null ? '' : __t) + -'\n
    \n '; - } ; -__p += '\n
    \n \n \n \n \n
    \n
    \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderEditForm/index.d.ts b/lib/cjs/templates/bootstrap4/builderEditForm/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builderEditForm/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builderEditForm/index.js b/lib/cjs/templates/bootstrap4/builderEditForm/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builderEditForm/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderPlaceholder/form.ejs.js b/lib/cjs/templates/bootstrap4/builderPlaceholder/form.ejs.js deleted file mode 100644 index 096e955c0..000000000 --- a/lib/cjs/templates/bootstrap4/builderPlaceholder/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '\n ' + -((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) + -'\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderPlaceholder/index.d.ts b/lib/cjs/templates/bootstrap4/builderPlaceholder/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builderPlaceholder/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builderPlaceholder/index.js b/lib/cjs/templates/bootstrap4/builderPlaceholder/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builderPlaceholder/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderSidebar/form.ejs.js b/lib/cjs/templates/bootstrap4/builderSidebar/form.ejs.js deleted file mode 100644 index 7b9c11d7b..000000000 --- a/lib/cjs/templates/bootstrap4/builderSidebar/form.ejs.js +++ /dev/null @@ -1,21 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n \n
    \n '; - ctx.groups.forEach(function(group) { ; -__p += '\n ' + -((__t = ( group )) == null ? '' : __t) + -'\n '; - }) ; -__p += '\n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderSidebar/index.d.ts b/lib/cjs/templates/bootstrap4/builderSidebar/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builderSidebar/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builderSidebar/index.js b/lib/cjs/templates/bootstrap4/builderSidebar/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builderSidebar/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js b/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js deleted file mode 100644 index 72585e86c..000000000 --- a/lib/cjs/templates/bootstrap4/builderSidebarGroup/form.ejs.js +++ /dev/null @@ -1,65 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n
    \n \n ' + -((__t = (ctx.t(ctx.group.title, { _userInput: true }))) == null ? '' : __t) + -'\n \n
    \n
    \n \n
    \n '; - if (ctx.group.componentOrder.length || ctx.subgroups.length) { ; -__p += '\n '; - !ctx.group.componentOrder || ctx.group.componentOrder.forEach(function(componentKey) { ; -__p += '\n \n '; - if (ctx.group.components[componentKey].icon) { ; -__p += '\n \n '; - } ; -__p += '\n ' + -((__t = (ctx.t(ctx.group.components[componentKey].title, { _userInput: true }))) == null ? '' : __t) + -'\n \n '; - }) ; -__p += '\n ' + -((__t = (ctx.subgroups.join(''))) == null ? '' : __t) + -'\n '; - } else { ; -__p += '\n
    ' + -((__t = (ctx.t('No Matches Found'))) == null ? '' : __t) + -'
    \n '; - } ; -__p += '\n
    \n
    \n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderSidebarGroup/index.d.ts b/lib/cjs/templates/bootstrap4/builderSidebarGroup/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builderSidebarGroup/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builderSidebarGroup/index.js b/lib/cjs/templates/bootstrap4/builderSidebarGroup/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builderSidebarGroup/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/builderWizard/form.ejs.js b/lib/cjs/templates/bootstrap4/builderWizard/form.ejs.js deleted file mode 100644 index e345b8970..000000000 --- a/lib/cjs/templates/bootstrap4/builderWizard/form.ejs.js +++ /dev/null @@ -1,35 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n ' + -((__t = (ctx.sidebar)) == null ? '' : __t) + -'\n
    \n
    \n \n
    \n ' + -((__t = (ctx.form)) == null ? '' : __t) + -'\n
    \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/builderWizard/index.d.ts b/lib/cjs/templates/bootstrap4/builderWizard/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/builderWizard/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/builderWizard/index.js b/lib/cjs/templates/bootstrap4/builderWizard/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/builderWizard/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/button/form.ejs.js b/lib/cjs/templates/bootstrap4/button/form.ejs.js deleted file mode 100644 index 40ca6204c..000000000 --- a/lib/cjs/templates/bootstrap4/button/form.ejs.js +++ /dev/null @@ -1,51 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '<' + -((__t = (ctx.input.type)) == null ? '' : __t) + -'\n ref="button"\n '; - for (var attr in ctx.input.attr) { ; -__p += '\n ' + -((__t = (attr)) == null ? '' : __t) + -'="' + -((__t = (ctx.input.attr[attr])) == null ? '' : __t) + -'"\n '; - } ; -__p += '\n '; - if (ctx.component.description) { ; -__p += '\n aria-describedby="d-' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t) + -'"\n '; - } ; -__p += '\n>\n'; - if (ctx.component.leftIcon) { ; -__p += ' '; - } ; -__p += '\n' + -((__t = (ctx.input.content)) == null ? '' : __t) + -'\n'; - if (ctx.component.tooltip) { ; -__p += '\n \n'; - } ; -__p += '\n'; - if (ctx.component.rightIcon) { ; -__p += ' '; - } ; -__p += '\n\n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/button/html.ejs.js b/lib/cjs/templates/bootstrap4/button/html.ejs.js deleted file mode 100644 index 714dceb16..000000000 --- a/lib/cjs/templates/bootstrap4/button/html.ejs.js +++ /dev/null @@ -1,8 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/button/index.d.ts b/lib/cjs/templates/bootstrap4/button/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/button/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/button/index.js b/lib/cjs/templates/bootstrap4/button/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/button/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/checkbox/form.ejs.js b/lib/cjs/templates/bootstrap4/checkbox/form.ejs.js deleted file mode 100644 index 243199f10..000000000 --- a/lib/cjs/templates/bootstrap4/checkbox/form.ejs.js +++ /dev/null @@ -1,69 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n \n <' + -((__t = (ctx.input.type)) == null ? '' : __t) + -'\n ref="input"\n id="' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t) + -'"\n aria-labelledby="l-' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t) + -'"\n '; - for (var attr in ctx.input.attr) { ; -__p += '\n ' + -((__t = (attr)) == null ? '' : __t) + -'="' + -((__t = (ctx.input.attr[attr])) == null ? '' : __t) + -'"\n '; - } ; -__p += '\n '; - if (ctx.checked) { ; -__p += 'checked=true'; - } ; -__p += '\n aria-required="' + -((__t = (ctx.component.validate.required)) == null ? '' : __t) + -'"\n '; - if (ctx.component.description) { ; -__p += '\n aria-describedby="d-' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t) + -'"\n '; - } ; -__p += '\n >\n '; - if (!ctx.self.labelIsHidden()) { ; -__p += '' + -((__t = (ctx.input.label)) == null ? '' : __t) + -''; - } ; -__p += '\n ' + -((__t = (ctx.input.content)) == null ? '' : __t) + -'\n \n \n '; - if (ctx.component.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/checkbox/html.ejs.js b/lib/cjs/templates/bootstrap4/checkbox/html.ejs.js deleted file mode 100644 index 4daedf652..000000000 --- a/lib/cjs/templates/bootstrap4/checkbox/html.ejs.js +++ /dev/null @@ -1,25 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n
    '; - if (ctx.checked) { ; -__p += 'True'; - } else { ; -__p += 'False'; - } ; -__p += '
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/checkbox/index.d.ts b/lib/cjs/templates/bootstrap4/checkbox/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/checkbox/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/checkbox/index.js b/lib/cjs/templates/bootstrap4/checkbox/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/checkbox/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js b/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js deleted file mode 100644 index 0983f362f..000000000 --- a/lib/cjs/templates/bootstrap4/column-menu/html.ejs.js +++ /dev/null @@ -1,41 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\r\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/column-menu/index.d.ts b/lib/cjs/templates/bootstrap4/column-menu/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap4/column-menu/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/column-menu/index.js b/lib/cjs/templates/bootstrap4/column-menu/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap4/column-menu/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/columns/form.ejs.js b/lib/cjs/templates/bootstrap4/columns/form.ejs.js deleted file mode 100644 index cfec35067..000000000 --- a/lib/cjs/templates/bootstrap4/columns/form.ejs.js +++ /dev/null @@ -1,25 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - ctx.component.columns.forEach(function(column, index) { ; -__p += '\n
    \n ' + -((__t = (ctx.columnComponents[index])) == null ? '' : __t) + -'\n
    \n'; - }) ; - -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/columns/index.d.ts b/lib/cjs/templates/bootstrap4/columns/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/columns/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/columns/index.js b/lib/cjs/templates/bootstrap4/columns/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/columns/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/component/form.ejs.js b/lib/cjs/templates/bootstrap4/component/form.ejs.js deleted file mode 100644 index 8424de4d4..000000000 --- a/lib/cjs/templates/bootstrap4/component/form.ejs.js +++ /dev/null @@ -1,25 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - } ; -__p += '\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/component/index.d.ts b/lib/cjs/templates/bootstrap4/component/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/component/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/component/index.js b/lib/cjs/templates/bootstrap4/component/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/component/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/componentModal/form.ejs.js b/lib/cjs/templates/bootstrap4/componentModal/form.ejs.js deleted file mode 100644 index 28a35c670..000000000 --- a/lib/cjs/templates/bootstrap4/componentModal/form.ejs.js +++ /dev/null @@ -1,47 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n
    \n
    \n
    ' + -((__t = ( ctx.t(ctx.component.label) )) == null ? '' : __t) + -'' + -((__t = (ctx.self.isIE() ? ', dialog' : '')) == null ? '' : __t) + -'\n '; - if (ctx.options.vpat) { ; -__p += '\n \n '; - } else { ; -__p += '\n \n '; - } ; -__p += '\n
    \n '; - if (ctx.visible) { ; -__p += '\n ' + -((__t = (ctx.children)) == null ? '' : __t) + -'\n '; - } ; -__p += '\n
    \n '; - if (ctx.options.vpat) { ; -__p += '\n \n '; - } ; -__p += '\n \n
    \n
    \n
    \n \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/componentModal/index.d.ts b/lib/cjs/templates/bootstrap4/componentModal/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/componentModal/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/componentModal/index.js b/lib/cjs/templates/bootstrap4/componentModal/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/componentModal/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/components/form.ejs.js b/lib/cjs/templates/bootstrap4/components/form.ejs.js deleted file mode 100644 index 2bd3cb1f7..000000000 --- a/lib/cjs/templates/bootstrap4/components/form.ejs.js +++ /dev/null @@ -1,10 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += -((__t = ( ctx.children.join('') )) == null ? '' : __t) + -'\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/components/index.d.ts b/lib/cjs/templates/bootstrap4/components/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/components/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/components/index.js b/lib/cjs/templates/bootstrap4/components/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/components/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/container/form.ejs.js b/lib/cjs/templates/bootstrap4/container/form.ejs.js deleted file mode 100644 index f59a1a8e7..000000000 --- a/lib/cjs/templates/bootstrap4/container/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n ' + -((__t = (ctx.children)) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/container/index.d.ts b/lib/cjs/templates/bootstrap4/container/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/container/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/container/index.js b/lib/cjs/templates/bootstrap4/container/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/container/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/cssClasses.d.ts b/lib/cjs/templates/bootstrap4/cssClasses.d.ts deleted file mode 100644 index 9a76882d8..000000000 --- a/lib/cjs/templates/bootstrap4/cssClasses.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare const _default: { - 'border-default': string; - 'formio-tab-panel-active': string; - 'formio-tab-link-active': string; - 'formio-tab-link-container-active': string; - 'formio-form-error': string; - 'formio-form-alert': string; - 'formio-label-error': string; - 'formio-input-error': string; - 'formio-alert-danger': string; - 'formio-alert-success': string; - 'formio-alert-warning': string; - 'formio-modal-cancel-button': string; - 'formio-modal-confirm-button': string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/cssClasses.js b/lib/cjs/templates/bootstrap4/cssClasses.js deleted file mode 100644 index 0d8ee0791..000000000 --- a/lib/cjs/templates/bootstrap4/cssClasses.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = { - 'border-default': '', - 'formio-tab-panel-active': 'active', - 'formio-tab-link-active': 'active', - 'formio-tab-link-container-active': 'active', - 'formio-form-error': 'formio-error-wrapper has-message', - 'formio-form-alert': 'alert alert-danger', - 'formio-label-error': '', - 'formio-input-error': '', - 'formio-alert-danger': 'alert alert-danger', - 'formio-alert-success': 'alert alert-success', - 'formio-alert-warning': 'alert alert-warning', - 'formio-modal-cancel-button': 'btn btn-danger formio-dialog-button', - 'formio-modal-confirm-button': 'btn btn-primary formio-dialog-button', -}; diff --git a/lib/cjs/templates/bootstrap4/datagrid/form.ejs.js b/lib/cjs/templates/bootstrap4/datagrid/form.ejs.js deleted file mode 100644 index 9e984a2ee..000000000 --- a/lib/cjs/templates/bootstrap4/datagrid/form.ejs.js +++ /dev/null @@ -1,145 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n ' + -((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - if (col.tooltip) { ; -__p += ' '; - } ; -__p += '\n \n '; - }) ; -__p += '\n '; - if (ctx.hasExtraColumn) { ; -__p += '\n \n '; - } ; -__p += '\n \n \n '; - } ; -__p += '\n \n '; - ctx.rows.forEach(function(row, index) { ; -__p += '\n '; - if (ctx.hasGroups && ctx.groups[index]) { ; -__p += '\n \n ' + -((__t = (ctx.groups[index].label)) == null ? '' : __t) + -'\n \n '; - } ; -__p += '\n \n '; - if (ctx.component.reorder) { ; -__p += '\n \n '; - } ; -__p += '\n '; - ctx.columns.forEach(function(col) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (ctx.canAddColumn) { ; -__p += '\n \n '; - } ; -__p += '\n '; - } ; -__p += '\n \n '; - }) ; -__p += '\n \n '; - if (!ctx.builder && ctx.hasAddButton && ctx.hasBottomSubmit) { ; -__p += '\n \n \n \n \n \n '; - } ; -__p += '\n
    \n ' + -((__t = ( ctx.t('Add/Remove') )) == null ? '' : __t) + -'\n '; - if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n \n \n '; - }) ; -__p += '\n '; - if (ctx.hasExtraColumn) { ; -__p += '\n '; - if (ctx.hasRemoveButtons) { ; -__p += '\n \n \n \n ' + -((__t = (ctx.placeholder)) == null ? '' : __t) + -'\n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/datagrid/html.ejs.js b/lib/cjs/templates/bootstrap4/datagrid/html.ejs.js deleted file mode 100644 index f710923ab..000000000 --- a/lib/cjs/templates/bootstrap4/datagrid/html.ejs.js +++ /dev/null @@ -1,49 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n '; - if (ctx.hasHeader) { ; -__p += '\n \n \n '; - ctx.columns.forEach(function(col) { ; -__p += '\n \n '; - }) ; -__p += '\n \n \n '; - } ; -__p += '\n \n '; - ctx.rows.forEach(function(row) { ; -__p += '\n \n '; - ctx.columns.forEach(function(col) { ; -__p += '\n \n '; - }) ; -__p += '\n \n '; - }) ; -__p += '\n \n
    \n ' + -((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - if (col.tooltip) { ; -__p += ' '; - } ; -__p += '\n
    \n ' + -((__t = (row[col.key])) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/datagrid/index.d.ts b/lib/cjs/templates/bootstrap4/datagrid/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/datagrid/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/datagrid/index.js b/lib/cjs/templates/bootstrap4/datagrid/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/datagrid/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/day/form.ejs.js b/lib/cjs/templates/bootstrap4/day/form.ejs.js deleted file mode 100644 index e1d9866a8..000000000 --- a/lib/cjs/templates/bootstrap4/day/form.ejs.js +++ /dev/null @@ -1,101 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    ' + -((__t = (ctx.t('Day'))) == null ? '' : __t) + -'\n '; - } ; -__p += '\n
    ' + -((__t = (ctx.day)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n '; - if (ctx.showMonth) { ; -__p += '\n
    \n '; - if (!ctx.component.hideInputLabels) { ; -__p += '\n \n '; - } ; -__p += '\n
    ' + -((__t = (ctx.month)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n '; - if (!ctx.dayFirst && ctx.showDay) { ; -__p += '\n
    \n '; - if (!ctx.component.hideInputLabels) { ; -__p += '\n \n '; - } ; -__p += '\n
    ' + -((__t = (ctx.day)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n '; - if (ctx.showYear) { ; -__p += '\n
    \n '; - if (!ctx.component.hideInputLabels) { ; -__p += '\n \n '; - } ; -__p += '\n
    ' + -((__t = (ctx.year)) == null ? '' : __t) + -'
    \n
    \n '; - } ; -__p += '\n\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/day/index.d.ts b/lib/cjs/templates/bootstrap4/day/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/day/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/day/index.js b/lib/cjs/templates/bootstrap4/day/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/day/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/dialog/form.ejs.js b/lib/cjs/templates/bootstrap4/dialog/form.ejs.js deleted file mode 100644 index 0eabc2552..000000000 --- a/lib/cjs/templates/bootstrap4/dialog/form.ejs.js +++ /dev/null @@ -1,8 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/dialog/index.d.ts b/lib/cjs/templates/bootstrap4/dialog/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/dialog/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/dialog/index.js b/lib/cjs/templates/bootstrap4/dialog/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/dialog/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/editgrid/form.ejs.js b/lib/cjs/templates/bootstrap4/editgrid/form.ejs.js deleted file mode 100644 index 59768b53a..000000000 --- a/lib/cjs/templates/bootstrap4/editgrid/form.ejs.js +++ /dev/null @@ -1,65 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
      \n '; - if (ctx.header) { ; -__p += '\n
    • \n ' + -((__t = (ctx.header)) == null ? '' : __t) + -'\n
    • \n '; - } ; -__p += '\n '; - ctx.rows.forEach(function(row, rowIndex) { ; -__p += '\n
    • \n ' + -((__t = (row)) == null ? '' : __t) + -'\n '; - if (ctx.openRows[rowIndex] && !ctx.readOnly) { ; -__p += '\n
      \n \n '; - if (ctx.component.removeRow) { ; -__p += '\n \n '; - } ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n
      \n ' + -((__t = (ctx.errors[rowIndex])) == null ? '' : __t) + -'\n
      \n
      \n
    • \n '; - }) ; -__p += '\n '; - if (ctx.footer) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n'; - if (!ctx.readOnly && ctx.hasAddButton) { ; -__p += '\n\n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/editgrid/html.ejs.js b/lib/cjs/templates/bootstrap4/editgrid/html.ejs.js deleted file mode 100644 index 27ee84e53..000000000 --- a/lib/cjs/templates/bootstrap4/editgrid/html.ejs.js +++ /dev/null @@ -1,55 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
      \n '; - if (ctx.header) { ; -__p += '\n
    • \n ' + -((__t = (ctx.header)) == null ? '' : __t) + -'\n
    • \n '; - } ; -__p += '\n '; - ctx.rows.forEach(function(row, rowIndex) { ; -__p += '\n
    • \n ' + -((__t = (row)) == null ? '' : __t) + -'\n '; - if (ctx.openRows[rowIndex] && !ctx.readOnly) { ; -__p += '\n
      \n \n '; - if (ctx.component.removeRow) { ; -__p += '\n \n '; - } ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n
      \n ' + -((__t = (ctx.errors[rowIndex])) == null ? '' : __t) + -'\n
      \n
      \n
    • \n '; - }) ; -__p += '\n '; - if (ctx.footer) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/editgrid/index.d.ts b/lib/cjs/templates/bootstrap4/editgrid/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/editgrid/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/editgrid/index.js b/lib/cjs/templates/bootstrap4/editgrid/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/editgrid/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/editgridTable/form.ejs.js b/lib/cjs/templates/bootstrap4/editgridTable/form.ejs.js deleted file mode 100644 index f67dcce7a..000000000 --- a/lib/cjs/templates/bootstrap4/editgridTable/form.ejs.js +++ /dev/null @@ -1,69 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n \n '; - if (ctx.header) { ; -__p += '\n \n ' + -((__t = (ctx.header)) == null ? '' : __t) + -'\n \n '; - } ; -__p += '\n \n '; - ctx.rows.forEach(function(row, rowIndex) { ; -__p += '\n \n ' + -((__t = (row)) == null ? '' : __t) + -'\n '; - if (ctx.openRows[rowIndex] && !ctx.readOnly) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (ctx.errors[rowIndex]) { ; -__p += '\n \n '; - } ; -__p += '\n \n '; - }) ; -__p += '\n \n '; - if (ctx.footer) { ; -__p += '\n \n \n ' + -((__t = (ctx.footer)) == null ? '' : __t) + -'\n \n \n '; - } ; -__p += '\n
    \n
    \n \n '; - if (ctx.component.removeRow) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n
    \n
    \n
    \n ' + -((__t = (ctx.errors[rowIndex])) == null ? '' : __t) + -'\n
    \n
    \n
    \n
    \n
    \n'; - if (!ctx.readOnly && ctx.hasAddButton) { ; -__p += '\n\n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/editgridTable/html.ejs.js b/lib/cjs/templates/bootstrap4/editgridTable/html.ejs.js deleted file mode 100644 index 183ef03ed..000000000 --- a/lib/cjs/templates/bootstrap4/editgridTable/html.ejs.js +++ /dev/null @@ -1,59 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n
    \n \n '; - if (ctx.header) { ; -__p += '\n \n ' + -((__t = (ctx.header)) == null ? '' : __t) + -'\n \n '; - } ; -__p += '\n \n '; - ctx.rows.forEach(function(row, rowIndex) { ; -__p += '\n \n ' + -((__t = (row)) == null ? '' : __t) + -'\n '; - if (ctx.openRows[rowIndex] && !ctx.readOnly) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (ctx.errors[rowIndex]) { ; -__p += '\n \n '; - } ; -__p += '\n \n '; - }) ; -__p += '\n \n '; - if (ctx.footer) { ; -__p += '\n \n \n ' + -((__t = (ctx.footer)) == null ? '' : __t) + -'\n \n \n '; - } ; -__p += '\n
    \n
    \n \n '; - if (ctx.component.removeRow) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n
    \n
    \n
    \n ' + -((__t = (ctx.errors[rowIndex])) == null ? '' : __t) + -'\n
    \n
    \n
    \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/editgridTable/index.d.ts b/lib/cjs/templates/bootstrap4/editgridTable/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/editgridTable/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/editgridTable/index.js b/lib/cjs/templates/bootstrap4/editgridTable/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/editgridTable/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/errorsList/form.ejs.js b/lib/cjs/templates/bootstrap4/errorsList/form.ejs.js deleted file mode 100644 index 5b3dcff0c..000000000 --- a/lib/cjs/templates/bootstrap4/errorsList/form.ejs.js +++ /dev/null @@ -1,25 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '

    ' + -((__t = (ctx.t('error'))) == null ? '' : __t) + -'\n '; - if (ctx.options.vpat) { ; -__p += '\n \n '; - } ; -__p += '\n

    \n
      \n '; - ctx.errors.forEach(function(err) { ; -__p += '\n
    • \n \n ' + -((__t = (err.message)) == null ? '' : __t) + -'\n \n
    • \n '; - }) ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/errorsList/index.d.ts b/lib/cjs/templates/bootstrap4/errorsList/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/errorsList/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/errorsList/index.js b/lib/cjs/templates/bootstrap4/errorsList/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/errorsList/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/field/align.ejs.js b/lib/cjs/templates/bootstrap4/field/align.ejs.js deleted file mode 100644 index b30b76e34..000000000 --- a/lib/cjs/templates/bootstrap4/field/align.ejs.js +++ /dev/null @@ -1,41 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (!ctx.label.hidden) { ; -__p += '\n
    \n ' + -((__t = ( ctx.labelMarkup )) == null ? '' : __t) + -'\n
    \n '; - } ; -__p += '\n\n '; - if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ; -__p += '\n
    \n \n
    \n '; - } ; -__p += '\n\n
    \n ' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n
    \n
    \n\n'; - if (ctx.component.description) { ; -__p += '\n
    ' + -((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) + -'
    \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/field/form.ejs.js b/lib/cjs/templates/bootstrap4/field/form.ejs.js deleted file mode 100644 index b7003fb89..000000000 --- a/lib/cjs/templates/bootstrap4/field/form.ejs.js +++ /dev/null @@ -1,39 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - if (!ctx.label.hidden && ctx.label.labelPosition !== 'bottom') { ; -__p += '\n ' + -((__t = ( ctx.labelMarkup )) == null ? '' : __t) + -'\n'; - } ; -__p += '\n\n'; - if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ; -__p += '\n \n'; - } ; -__p += '\n\n' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n\n'; - if (!ctx.label.hidden && ctx.label.labelPosition === 'bottom') { ; -__p += '\n ' + -((__t = ( ctx.labelMarkup )) == null ? '' : __t) + -'\n'; - } ; -__p += '\n'; - if (ctx.component.description) { ; -__p += '\n
    ' + -((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) + -'
    \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/field/index.d.ts b/lib/cjs/templates/bootstrap4/field/index.d.ts deleted file mode 100644 index a2c25ccbe..000000000 --- a/lib/cjs/templates/bootstrap4/field/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - align: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/field/index.js b/lib/cjs/templates/bootstrap4/field/index.js deleted file mode 100644 index ac1188a00..000000000 --- a/lib/cjs/templates/bootstrap4/field/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const align_ejs_1 = require("./align.ejs"); -exports.default = { form: form_ejs_1.default, align: align_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/fieldset/form.ejs.js b/lib/cjs/templates/bootstrap4/fieldset/form.ejs.js deleted file mode 100644 index cdb8d85b4..000000000 --- a/lib/cjs/templates/bootstrap4/fieldset/form.ejs.js +++ /dev/null @@ -1,33 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (ctx.component.legend) { ; -__p += '\n \n ' + -((__t = (ctx.t(ctx.component.legend, { _userInput: true }))) == null ? '' : __t) + -'\n '; - if (ctx.component.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n \n '; - } ; -__p += '\n '; - if (!ctx.collapsed) { ; -__p += '\n
    \n ' + -((__t = (ctx.children)) == null ? '' : __t) + -'\n
    \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/fieldset/index.d.ts b/lib/cjs/templates/bootstrap4/fieldset/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/fieldset/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/fieldset/index.js b/lib/cjs/templates/bootstrap4/fieldset/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/fieldset/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/file/form.ejs.js b/lib/cjs/templates/bootstrap4/file/form.ejs.js deleted file mode 100644 index 16cad99bf..000000000 --- a/lib/cjs/templates/bootstrap4/file/form.ejs.js +++ /dev/null @@ -1,313 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - if (ctx.options.vpat) { ; -__p += '\n \n'; - } ; -__p += '\n'; - if (!ctx.self.imageUpload) { ; -__p += '\n '; - if (ctx.options.vpat) { ; -__p += '\n
    ' + -((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) + -'
    \n '; - } ; -__p += '\n
      \n \n '; - ctx.files.forEach(function(file) { ; -__p += '\n
    • \n
      \n
      \n '; - if (ctx.component.uploadOnly) { ; -__p += '\n ' + -((__t = (file.originalName || file.name)) == null ? '' : __t) + -'\n '; - } else { ; -__p += '\n \n ' + -((__t = (ctx.t('Press to open '))) == null ? '' : __t) + -'' + -((__t = (file.originalName || file.name)) == null ? '' : __t) + -'\n \n '; - } ; -__p += '\n
      \n
      ' + -((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + -'
      \n '; - if (ctx.self.hasTypes && !ctx.disabled) { ; -__p += '\n
      \n \n
      \n '; - } ; -__p += '\n '; - if (ctx.self.hasTypes && ctx.disabled) { ; -__p += '\n
      ' + -((__t = (file.fileType)) == null ? '' : __t) + -'
      \n '; - } ; -__p += '\n '; - if (!ctx.disabled) { ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n
    • \n '; - }) ; -__p += '\n '; - ctx.filesToDelete.forEach(function(file) { ; -__p += '\n
    • \n
      \n
      \n
      ' + -((__t = (file.originalName || file.name)) == null ? '' : __t) + -'
      \n
      ' + -((__t = (ctx.t(file.message))) == null ? '' : __t) + -'
      \n
      \n
      ' + -((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + -'
      \n '; - if (ctx.self.hasTypes) { ; -__p += '\n
      \n \n
      \n '; - } ; -__p += '\n '; - if (!ctx.isSyncing && file.status !== 'success') { ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n
    • \n '; - }) ; -__p += '\n '; - ctx.filesToUpload.forEach(function(file) { ; -__p += '\n
    • \n
      \n
      \n
      ' + -((__t = (file.originalName || file.name)) == null ? '' : __t) + -'
      \n '; - if (file.status === 'progress') { ; -__p += '\n
      \n
      \n ' + -((__t = (file.progress)) == null ? '' : __t) + -'% ' + -((__t = (ctx.t('Complete'))) == null ? '' : __t) + -'\n
      \n
      \n '; - } else { ; -__p += '\n
      ' + -((__t = (ctx.t(file.message))) == null ? '' : __t) + -'
      \n '; - } ; -__p += '\n
      \n
      ' + -((__t = (ctx.fileSize(file.size))) == null ? '' : __t) + -'
      \n '; - if (ctx.self.hasTypes) { ; -__p += '\n
      \n \n
      \n '; - } ; -__p += '\n '; - if (file.status === 'progress') { ; -__p += '\n
      \n '; - } else if (!ctx.isSyncing && file.status !== 'success') { ; -__p += '\n
      \n '; - } ; -__p += '\n
      \n
    • \n '; - }) ; -__p += '\n
    \n'; - } else { ; -__p += '\n
    \n '; - ctx.files.forEach(function(file) { ; -__p += '\n
    \n \n ' +
-((__t = (file.originalName || file.name)) == null ? '' : __t) +
-'\n '; - if (!ctx.disabled) { ; -__p += '\n \n '; - } ; -__p += '\n \n
    \n '; - }) ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ; -__p += '\n '; - if (ctx.self.useWebViewCamera) { ; -__p += '\n
    \n \n \n
    \n '; - } else if (!ctx.self.cameraMode) { ; -__p += '\n \n '; - } else { ; -__p += '\n
    \n \n
    \n \n \n '; - } ; -__p += '\n'; - } ; -__p += '\n'; - if (!ctx.component.storage || ctx.support.hasWarning) { ; -__p += '\n
    \n '; - if (!ctx.component.storage) { ; -__p += '\n

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

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

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

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

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

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

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

    \n '; - } ; -__p += '\n
    \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/file/index.d.ts b/lib/cjs/templates/bootstrap4/file/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/file/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/file/index.js b/lib/cjs/templates/bootstrap4/file/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/file/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/grid/html.ejs.js b/lib/cjs/templates/bootstrap4/grid/html.ejs.js deleted file mode 100644 index 95c389a01..000000000 --- a/lib/cjs/templates/bootstrap4/grid/html.ejs.js +++ /dev/null @@ -1,69 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n '; - if (ctx.component.enableRowSelect) { ; -__p += '\r\n
    \r\n ' + -((__t = (ctx.selectedRows)) == null ? '' : __t) + -' selected\r\n
    \r\n '; - } ; -__p += '\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n '; - if (!ctx.component.components.length) { ; -__p += '\r\n \r\n '; - } ; -__p += '\r\n '; - if (ctx.component.enableRowSelect) { ; -__p += '\r\n \r\n '; - } ; -__p += '\r\n '; - ctx.component.components.forEach(function(comp, i) { ; -__p += '\r\n '; - if (comp.show) { ; -__p += '\r\n \r\n '; - } ; -__p += '\r\n '; - }); ; -__p += '\r\n '; - if ((ctx.component.showEditBtn || ctx.component.showDeleteBtn || ctx.component.showDeleteAllBtn) - && ctx.data.length - && !ctx.options.pdf) { ; -__p += '\r\n \r\n '; - } ; -__p += '\r\n \r\n \r\n \r\n
    No components have been set up to display in the Data Table. "Table View" must be checked for components to render.\r\n \r\n \r\n ' + -((__t = ( comp.label || comp.key )) == null ? '' : __t) + -'\r\n '; - if (ctx.options.sortable && comp.sortable) { ; -__p += '\r\n \r\n ' + -((__t = ( ctx.component.sort.isAsc ? '↑' : '↓' )) == null ? '' : __t) + -'\r\n \r\n '; - } ; -__p += '\r\n '; - if (!ctx.options.hideMenu) { ; -__p += '\r\n \r\n \r\n \r\n '; - } ; -__p += '\r\n \r\n
    \r\n Actions\r\n '; - if (ctx.component.showDeleteAllBtn && ctx.data.length) { ; -__p += '\r\n \r\n '; - } ; -__p += '\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n '; - if (ctx.component.showAddBtn && !ctx.options.pdf) { ; -__p += '\r\n
    +
    \r\n '; - } ; -__p += '\r\n
    \r\n
    \r\n
    '; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/grid/index.d.ts b/lib/cjs/templates/bootstrap4/grid/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap4/grid/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/grid/index.js b/lib/cjs/templates/bootstrap4/grid/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap4/grid/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/html/form.ejs.js b/lib/cjs/templates/bootstrap4/html/form.ejs.js deleted file mode 100644 index 717d79f1a..000000000 --- a/lib/cjs/templates/bootstrap4/html/form.ejs.js +++ /dev/null @@ -1,28 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '<' + -((__t = (ctx.tag)) == null ? '' : __t) + -' class="formio-component-htmlelement ' + -((__t = ( ctx.component.className )) == null ? '' : __t) + -'" ref="html"\n '; - ctx.attrs.forEach(function(attr) { ; -__p += '\n ' + -((__t = (attr.attr)) == null ? '' : __t) + -'="' + -((__t = (attr.value)) == null ? '' : __t) + -'"\n '; - }) ; -__p += '\n>' + -((__t = (ctx.t(ctx.content))) == null ? '' : __t); - if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { ; -__p += ''; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/html/index.d.ts b/lib/cjs/templates/bootstrap4/html/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/html/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/html/index.js b/lib/cjs/templates/bootstrap4/html/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/html/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/icon/form.ejs.js b/lib/cjs/templates/bootstrap4/icon/form.ejs.js deleted file mode 100644 index cc7a59b5a..000000000 --- a/lib/cjs/templates/bootstrap4/icon/form.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '' + -((__t = (ctx.content)) == null ? '' : __t) + -'\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/icon/index.d.ts b/lib/cjs/templates/bootstrap4/icon/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/icon/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/icon/index.js b/lib/cjs/templates/bootstrap4/icon/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/icon/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/iconClass.d.ts b/lib/cjs/templates/bootstrap4/iconClass.d.ts deleted file mode 100644 index 2525836d8..000000000 --- a/lib/cjs/templates/bootstrap4/iconClass.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: (iconset: any, name: any, spinning: any) => string; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/iconClass.js b/lib/cjs/templates/bootstrap4/iconClass.js deleted file mode 100644 index 91a7d77c6..000000000 --- a/lib/cjs/templates/bootstrap4/iconClass.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = (iconset, name, spinning) => { - if (iconset === 'fa') { - switch (name) { - case 'save': - name = 'download'; - break; - case 'zoom-in': - name = 'search-plus'; - break; - case 'zoom-out': - name = 'search-minus'; - break; - case 'question-sign': - name = 'question-circle'; - break; - case 'remove-circle': - name = 'times-circle-o'; - break; - case 'new-window': - name = 'window-restore'; - break; - case 'move': - name = 'arrows'; - break; - case 'time': - name = 'clock-o'; - break; - } - } - return spinning ? `${iconset} ${iconset}-${name} ${iconset}-spin` : `${iconset} ${iconset}-${name}`; -}; diff --git a/lib/cjs/templates/bootstrap4/index.d.ts b/lib/cjs/templates/bootstrap4/index.d.ts deleted file mode 100644 index f31000a12..000000000 --- a/lib/cjs/templates/bootstrap4/index.d.ts +++ /dev/null @@ -1,241 +0,0 @@ -declare const _default: { - webform: { - form: string; - builder: string; - }; - well: { - form: string; - }; - wizard: { - form: string; - builder: string; - }; - wizardHeader: { - form: string; - }; - wizardHeaderClassic: { - form: string; - }; - wizardHeaderVertical: { - form: string; - }; - wizardNav: { - form: string; - }; - errorsList: { - form: string; - }; - alert: { - form: string; - }; - grid: { - html: string; - }; - pagination: { - html: string; - }; - columnMenu: { - html: string; - }; - tbody: { - html: string; - }; - paginationBottom: { - html: string; - }; - treeView: { - form: string; - }; - treeEdit: { - form: string; - }; - transform(type: any, text: any): any; - defaultIconset: string; - iconClass: (iconset: any, name: any, spinning: any) => string; - cssClasses: { - 'border-default': string; - 'formio-tab-panel-active': string; - 'formio-tab-link-active': string; - 'formio-tab-link-container-active': string; - 'formio-form-error': string; - 'formio-form-alert': string; - 'formio-label-error': string; - 'formio-input-error': string; - 'formio-alert-danger': string; - 'formio-alert-success': string; - 'formio-alert-warning': string; - 'formio-modal-cancel-button': string; - 'formio-modal-confirm-button': string; - }; - address: { - form: string; - html: string; - }; - builder: { - form: string; - }; - builderComponent: { - form: string; - }; - builderComponents: { - form: string; - }; - builderEditForm: { - form: string; - }; - builderPlaceholder: { - form: string; - }; - builderSidebar: { - form: string; - }; - builderSidebarGroup: { - form: string; - }; - builderWizard: { - form: string; - }; - button: { - form: string; - html: string; - }; - checkbox: { - form: string; - html: string; - }; - columns: { - form: string; - }; - component: { - form: string; - }; - componentModal: { - form: string; - }; - components: { - form: string; - }; - tableComponents: { - form: string; - }; - container: { - form: string; - }; - datagrid: { - form: string; - html: string; - }; - day: { - form: string; - }; - dialog: { - form: string; - }; - editgrid: { - form: string; - html: string; - }; - editgridTable: { - form: string; - html: string; - }; - field: { - form: string; - align: string; - }; - fieldset: { - form: string; - }; - file: { - form: string; - }; - html: { - form: string; - }; - icon: { - form: string; - }; - input: { - form: string; - html: string; - }; - label: { - form: string; - }; - loader: { - form: string; - }; - loading: { - form: string; - }; - map: { - form: string; - }; - message: { - form: string; - }; - modaledit: { - form: string; - }; - modaldialog: { - form: string; - }; - modalPreview: { - form: string; - }; - multipleMasksInput: { - form: string; - }; - multiValueRow: { - form: string; - }; - multiValueTable: { - form: string; - }; - panel: { - form: string; - }; - pdf: { - form: string; - }; - pdfBuilder: { - form: string; - }; - pdfBuilderUpload: { - form: string; - }; - radio: { - form: string; - html: string; - }; - resourceAdd: { - form: string; - }; - select: { - form: string; - html: string; - }; - selectOption: { - form: string; - html: string; - }; - signature: { - form: string; - html: string; - }; - survey: { - form: string; - html: string; - }; - tab: { - flat: string; - form: string; - }; - table: { - form: string; - }; - tree: { - form: string; - }; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/index.js b/lib/cjs/templates/bootstrap4/index.js deleted file mode 100644 index ea18d300f..000000000 --- a/lib/cjs/templates/bootstrap4/index.js +++ /dev/null @@ -1,147 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const address_1 = require("./address"); -const builder_1 = require("./builder"); -const builderComponent_1 = require("./builderComponent"); -const builderComponents_1 = require("./builderComponents"); -const builderEditForm_1 = require("./builderEditForm"); -const builderPlaceholder_1 = require("./builderPlaceholder"); -const builderSidebar_1 = require("./builderSidebar"); -const builderSidebarGroup_1 = require("./builderSidebarGroup"); -const builderWizard_1 = require("./builderWizard"); -const button_1 = require("./button"); -const checkbox_1 = require("./checkbox"); -const columns_1 = require("./columns"); -const component_1 = require("./component"); -const componentModal_1 = require("./componentModal"); -const components_1 = require("./components"); -const tableComponents_1 = require("./tableComponents"); -const container_1 = require("./container"); -const datagrid_1 = require("./datagrid"); -const day_1 = require("./day"); -const dialog_1 = require("./dialog"); -const editgrid_1 = require("./editgrid"); -const editgridTable_1 = require("./editgridTable"); -const field_1 = require("./field"); -const fieldset_1 = require("./fieldset"); -const file_1 = require("./file"); -const html_1 = require("./html"); -const icon_1 = require("./icon"); -const iconClass_1 = require("./iconClass"); -const input_1 = require("./input"); -const label_1 = require("./label"); -const loader_1 = require("./loader"); -const loading_1 = require("./loading"); -const map_1 = require("./map"); -const message_1 = require("./message"); -const modaldialog_1 = require("./modaldialog"); -const modaledit_1 = require("./modaledit"); -const modalPreview_1 = require("./modalPreview"); -const multipleMasksInput_1 = require("./multipleMasksInput"); -const multiValueRow_1 = require("./multiValueRow"); -const multiValueTable_1 = require("./multiValueTable"); -const panel_1 = require("./panel"); -const pdf_1 = require("./pdf"); -const pdfBuilder_1 = require("./pdfBuilder"); -const pdfBuilderUpload_1 = require("./pdfBuilderUpload"); -const radio_1 = require("./radio"); -const resourceAdd_1 = require("./resourceAdd"); -const select_1 = require("./select"); -const selectOption_1 = require("./selectOption"); -const signature_1 = require("./signature"); -const survey_1 = require("./survey"); -const tab_1 = require("./tab"); -const table_1 = require("./table"); -const tree_1 = require("./tree"); -const partials_1 = require("./tree/partials"); -const webform_1 = require("./webform"); -const well_1 = require("./well"); -const wizard_1 = require("./wizard"); -const wizardHeader_1 = require("./wizardHeader"); -const wizardHeaderClassic_1 = require("./wizardHeaderClassic"); -const wizardHeaderVertical_1 = require("./wizardHeaderVertical"); -const wizardNav_1 = require("./wizardNav"); -const cssClasses_1 = require("./cssClasses"); -const errorsList_1 = require("./errorsList"); -const alert_1 = require("./alert"); -const grid_1 = require("./grid"); -const pagination_1 = require("./pagination"); -const column_menu_1 = require("./column-menu"); -const tbody_1 = require("./tbody"); -const pagination_bottom_1 = require("./pagination-bottom"); -exports.default = Object.assign(Object.assign({ transform(type, text) { - if (!text) { - return text; - } - switch (type) { - case 'class': - return this.cssClasses.hasOwnProperty(text.toString()) ? this.cssClasses[text.toString()] : text; - } - return text; - }, defaultIconset: 'fa', iconClass: iconClass_1.default, - cssClasses: cssClasses_1.default, - address: address_1.default, - builder: builder_1.default, - builderComponent: builderComponent_1.default, - builderComponents: builderComponents_1.default, - builderEditForm: builderEditForm_1.default, - builderPlaceholder: builderPlaceholder_1.default, - builderSidebar: builderSidebar_1.default, - builderSidebarGroup: builderSidebarGroup_1.default, - builderWizard: builderWizard_1.default, - button: button_1.default, - checkbox: checkbox_1.default, - columns: columns_1.default, - component: component_1.default, - componentModal: componentModal_1.default, - components: components_1.default, - tableComponents: tableComponents_1.default, - container: container_1.default, - datagrid: datagrid_1.default, - day: day_1.default, - dialog: dialog_1.default, - editgrid: editgrid_1.default, - editgridTable: editgridTable_1.default, - field: field_1.default, - fieldset: fieldset_1.default, - file: file_1.default, - html: html_1.default, - icon: icon_1.default, - input: input_1.default, - label: label_1.default, - loader: loader_1.default, - loading: loading_1.default, - map: map_1.default, - message: message_1.default, - modaledit: modaledit_1.default, - modaldialog: modaldialog_1.default, - modalPreview: modalPreview_1.default, - multipleMasksInput: multipleMasksInput_1.default, - multiValueRow: multiValueRow_1.default, - multiValueTable: multiValueTable_1.default, - panel: panel_1.default, - pdf: pdf_1.default, - pdfBuilder: pdfBuilder_1.default, - pdfBuilderUpload: pdfBuilderUpload_1.default, - radio: radio_1.default, - resourceAdd: resourceAdd_1.default, - select: select_1.default, - selectOption: selectOption_1.default, - signature: signature_1.default, - survey: survey_1.default, - tab: tab_1.default, - table: table_1.default, - tree: tree_1.default }, partials_1.default), { webform: webform_1.default, - well: well_1.default, - wizard: wizard_1.default, - wizardHeader: wizardHeader_1.default, - wizardHeaderClassic: wizardHeaderClassic_1.default, - wizardHeaderVertical: wizardHeaderVertical_1.default, - wizardNav: wizardNav_1.default, - errorsList: errorsList_1.default, - alert: alert_1.default, - grid: grid_1.default, - pagination: pagination_1.default, - columnMenu: column_menu_1.default, - tbody: tbody_1.default, - paginationBottom: pagination_bottom_1.default }); diff --git a/lib/cjs/templates/bootstrap4/input/form.ejs.js b/lib/cjs/templates/bootstrap4/input/form.ejs.js deleted file mode 100644 index 4885d022d..000000000 --- a/lib/cjs/templates/bootstrap4/input/form.ejs.js +++ /dev/null @@ -1,111 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } - - if (ctx.prefix || ctx.suffix) { ; -__p += '\n
    \n '; - } ; -__p += '\n '; - if (ctx.prefix) { ; -__p += '\n
    \n \n '; - if(ctx.prefix instanceof HTMLElement){ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.prefix.outerHTML, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } else{ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.prefix, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } ; -__p += '\n \n
    \n '; - } ; -__p += '\n '; - if (!ctx.component.editor && !ctx.component.wysiwyg) { ; -__p += '\n <' + -((__t = (ctx.input.type)) == null ? '' : __t) + -'\n ref="' + -((__t = (ctx.input.ref ? ctx.input.ref : 'input')) == null ? '' : __t) + -'"\n '; - for (var attr in ctx.input.attr) { ; -__p += '\n ' + -((__t = (attr)) == null ? '' : __t) + -'="' + -((__t = (ctx.input.attr[attr])) == null ? '' : __t) + -'"\n '; - } ; -__p += '\n id="' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t) + -'"\n aria-labelledby="l-' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t) + -' '; - if (ctx.component.description) { ; -__p += 'd-' + -((__t = (ctx.instance.id)) == null ? '' : __t) + -'-' + -((__t = (ctx.component.key)) == null ? '' : __t); - } ; -__p += '"\n aria-required="' + -((__t = (ctx.input.ref === 'input' || !ctx.input.ref ? ctx.component.validate.required : - ctx.component.fields && ctx.component.fields[ctx.input.ref] && ctx.component.fields[ctx.input.ref].required || false)) == null ? '' : __t) + -'"\n >' + -((__t = (ctx.input.content)) == null ? '' : __t) + -'\n '; - if (ctx.hasValueMaskInput) { ; -__p += '\n \n '; - } ; -__p += '\n'; - } ; -__p += '\n'; - if (ctx.component.editor || ctx.component.wysiwyg) { ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (ctx.component.type === 'datetime') { ; -__p += '\n\n'; - } ; -__p += '\n'; - if (ctx.suffix) { ; -__p += '\n
    \n \n '; - if(ctx.suffix instanceof HTMLElement){ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.suffix.outerHTML, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } else{ ; -__p += '\n ' + -((__t = ( ctx.t(ctx.suffix, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - } ; -__p += '\n \n
    \n'; - } ; -__p += '\n'; - if (ctx.prefix || ctx.suffix) { ; -__p += '\n
    \n'; - } ; -__p += '\n'; - if (ctx.component.showCharCount || ctx.component.showWordCount) { ; -__p += '\n
    \n '; - if (ctx.component.showCharCount) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (ctx.component.showWordCount) { ; -__p += '\n \n '; - } ; -__p += '\n
    \n'; - } ; -__p += '\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/input/html.ejs.js b/lib/cjs/templates/bootstrap4/input/html.ejs.js deleted file mode 100644 index 5979e1694..000000000 --- a/lib/cjs/templates/bootstrap4/input/html.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    '; - if (ctx.value) { ; -__p += -((__t = (ctx.value)) == null ? '' : __t); - } else { ; -__p += '-'; - } ; -__p += '
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/input/index.d.ts b/lib/cjs/templates/bootstrap4/input/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/input/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/input/index.js b/lib/cjs/templates/bootstrap4/input/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/input/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/label/form.ejs.js b/lib/cjs/templates/bootstrap4/label/form.ejs.js deleted file mode 100644 index d85478b57..000000000 --- a/lib/cjs/templates/bootstrap4/label/form.ejs.js +++ /dev/null @@ -1,35 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n ' + -((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) + -'\n '; - if (ctx.component.type === 'number' || ctx.component.type === 'phoneNumber' || ctx.component.type === 'currency') { ; -__p += '\n , ' + -((__t = (ctx.t('numeric only'))) == null ? '' : __t) + -',\n '; - } ; -__p += '\n '; - if (ctx.component.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/label/index.d.ts b/lib/cjs/templates/bootstrap4/label/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/label/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/label/index.js b/lib/cjs/templates/bootstrap4/label/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/label/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/loader/form.ejs.js b/lib/cjs/templates/bootstrap4/loader/form.ejs.js deleted file mode 100644 index bc2c37f36..000000000 --- a/lib/cjs/templates/bootstrap4/loader/form.ejs.js +++ /dev/null @@ -1,8 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n
    \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/loader/index.d.ts b/lib/cjs/templates/bootstrap4/loader/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/loader/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/loader/index.js b/lib/cjs/templates/bootstrap4/loader/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/loader/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/loading/form.ejs.js b/lib/cjs/templates/bootstrap4/loading/form.ejs.js deleted file mode 100644 index ff963707b..000000000 --- a/lib/cjs/templates/bootstrap4/loading/form.ejs.js +++ /dev/null @@ -1,8 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += 'Loading...\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/loading/index.d.ts b/lib/cjs/templates/bootstrap4/loading/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/loading/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/loading/index.js b/lib/cjs/templates/bootstrap4/loading/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/loading/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/map/form.ejs.js b/lib/cjs/templates/bootstrap4/map/form.ejs.js deleted file mode 100644 index 4f3170f8e..000000000 --- a/lib/cjs/templates/bootstrap4/map/form.ejs.js +++ /dev/null @@ -1,10 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/map/index.d.ts b/lib/cjs/templates/bootstrap4/map/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/map/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/map/index.js b/lib/cjs/templates/bootstrap4/map/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/map/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/message/form.ejs.js b/lib/cjs/templates/bootstrap4/message/form.ejs.js deleted file mode 100644 index a1db3d15b..000000000 --- a/lib/cjs/templates/bootstrap4/message/form.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    ' + -((__t = (ctx.message)) == null ? '' : __t) + -'
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/message/index.d.ts b/lib/cjs/templates/bootstrap4/message/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/message/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/message/index.js b/lib/cjs/templates/bootstrap4/message/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/message/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/modalPreview/form.ejs.js b/lib/cjs/templates/bootstrap4/modalPreview/form.ejs.js deleted file mode 100644 index 191d0675f..000000000 --- a/lib/cjs/templates/bootstrap4/modalPreview/form.ejs.js +++ /dev/null @@ -1,24 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n\n\n ' + -((__t = ( ctx.previewText )) == null ? '' : __t) + -'\n\n
    \n ' + -((__t = ( ctx.messages )) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/modalPreview/index.d.ts b/lib/cjs/templates/bootstrap4/modalPreview/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/modalPreview/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/modalPreview/index.js b/lib/cjs/templates/bootstrap4/modalPreview/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/modalPreview/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/modaldialog/form.ejs.js b/lib/cjs/templates/bootstrap4/modaldialog/form.ejs.js deleted file mode 100644 index 05037b061..000000000 --- a/lib/cjs/templates/bootstrap4/modaldialog/form.ejs.js +++ /dev/null @@ -1,10 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n
    \n \n ' + -((__t = (ctx.t('Close'))) == null ? '' : __t) + -'\n \n
    \n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/modaldialog/index.d.ts b/lib/cjs/templates/bootstrap4/modaldialog/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/modaldialog/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/modaldialog/index.js b/lib/cjs/templates/bootstrap4/modaldialog/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/modaldialog/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/modaledit/form.ejs.js b/lib/cjs/templates/bootstrap4/modaledit/form.ejs.js deleted file mode 100644 index 981e78686..000000000 --- a/lib/cjs/templates/bootstrap4/modaledit/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n \n \n \n
    ' + -((__t = (ctx.content)) == null ? '' : __t) + -'
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/modaledit/index.d.ts b/lib/cjs/templates/bootstrap4/modaledit/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/modaledit/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/modaledit/index.js b/lib/cjs/templates/bootstrap4/modaledit/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/modaledit/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/multiValueRow/form.ejs.js b/lib/cjs/templates/bootstrap4/multiValueRow/form.ejs.js deleted file mode 100644 index 69bdec0d5..000000000 --- a/lib/cjs/templates/bootstrap4/multiValueRow/form.ejs.js +++ /dev/null @@ -1,17 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n \n ' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n \n '; - if (!ctx.disabled) { ; -__p += '\n \n \n \n '; - } ; -__p += '\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/multiValueRow/index.d.ts b/lib/cjs/templates/bootstrap4/multiValueRow/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/multiValueRow/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/multiValueRow/index.js b/lib/cjs/templates/bootstrap4/multiValueRow/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/multiValueRow/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/multiValueTable/form.ejs.js b/lib/cjs/templates/bootstrap4/multiValueTable/form.ejs.js deleted file mode 100644 index 7635cc0a9..000000000 --- a/lib/cjs/templates/bootstrap4/multiValueTable/form.ejs.js +++ /dev/null @@ -1,19 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n \n ' + -((__t = (ctx.rows)) == null ? '' : __t) + -'\n '; - if (!ctx.disabled) { ; -__p += '\n \n \n \n '; - } ; -__p += '\n \n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/multiValueTable/index.d.ts b/lib/cjs/templates/bootstrap4/multiValueTable/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/multiValueTable/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/multiValueTable/index.js b/lib/cjs/templates/bootstrap4/multiValueTable/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/multiValueTable/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/multipleMasksInput/form.ejs.js b/lib/cjs/templates/bootstrap4/multipleMasksInput/form.ejs.js deleted file mode 100644 index af72e4ef0..000000000 --- a/lib/cjs/templates/bootstrap4/multipleMasksInput/form.ejs.js +++ /dev/null @@ -1,33 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n ' + -((__t = (option.label)) == null ? '' : __t) + -'\n '; - }); ; -__p += '\n \n \n
    \n
    \n Items per page:\n
    \n \n
    \n \n ' + -((__t = ( ctx.itemsCount )) == null ? '' : __t) + -'\n \n \n \n \n \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/pagination/index.d.ts b/lib/cjs/templates/bootstrap4/pagination/index.d.ts deleted file mode 100644 index abb6036cf..000000000 --- a/lib/cjs/templates/bootstrap4/pagination/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/pagination/index.js b/lib/cjs/templates/bootstrap4/pagination/index.js deleted file mode 100644 index 9b41e1e80..000000000 --- a/lib/cjs/templates/bootstrap4/pagination/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const html_ejs_1 = require("./html.ejs"); -exports.default = { html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/panel/form.ejs.js b/lib/cjs/templates/bootstrap4/panel/form.ejs.js deleted file mode 100644 index 8fe0fe787..000000000 --- a/lib/cjs/templates/bootstrap4/panel/form.ejs.js +++ /dev/null @@ -1,61 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ; -__p += '\n
    \n \n '; - if (ctx.component.collapsible) { ; -__p += '\n \n '; - } ; -__p += '\n '; - if (!ctx.component.hideLabel || ctx.builder) { ; -__p += '\n ' + -((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) + -'\n '; - } ; -__p += '\n '; - if (ctx.component.tooltip) { ; -__p += '\n \n '; - } ; -__p += '\n \n
    \n '; - } ; -__p += '\n '; - if (!ctx.collapsed || ctx.builder) { ; -__p += '\n
    \n ' + -((__t = (ctx.children)) == null ? '' : __t) + -'\n
    \n '; - } ; -__p += '\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/panel/index.d.ts b/lib/cjs/templates/bootstrap4/panel/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/panel/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/panel/index.js b/lib/cjs/templates/bootstrap4/panel/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/panel/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/pdf/form.ejs.js b/lib/cjs/templates/bootstrap4/pdf/form.ejs.js deleted file mode 100644 index 0d45f34d9..000000000 --- a/lib/cjs/templates/bootstrap4/pdf/form.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n \n \n \n \n \n \n
    \n ' + -((__t = ( ctx.submitButton )) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/pdf/index.d.ts b/lib/cjs/templates/bootstrap4/pdf/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/pdf/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/pdf/index.js b/lib/cjs/templates/bootstrap4/pdf/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/pdf/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/pdfBuilder/form.ejs.js b/lib/cjs/templates/bootstrap4/pdfBuilder/form.ejs.js deleted file mode 100644 index 695673f9e..000000000 --- a/lib/cjs/templates/bootstrap4/pdfBuilder/form.ejs.js +++ /dev/null @@ -1,12 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n
    \n ' + -((__t = (ctx.sidebar)) == null ? '' : __t) + -'\n
    \n
    \n
    \n ' + -((__t = (ctx.form)) == null ? '' : __t) + -'\n
    \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/pdfBuilder/index.d.ts b/lib/cjs/templates/bootstrap4/pdfBuilder/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/pdfBuilder/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/pdfBuilder/index.js b/lib/cjs/templates/bootstrap4/pdfBuilder/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/pdfBuilder/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js b/lib/cjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js deleted file mode 100644 index 0f9925ff9..000000000 --- a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/form.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '
    \n

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

    \n \n
    \n \n ' + -((__t = (ctx.t('Drop pdf to start, or'))) == null ? '' : __t) + -' ' + -((__t = (ctx.t('browse'))) == null ? '' : __t) + -'\n \n \n
    \n
    \n\n
    \n
    \n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/index.d.ts b/lib/cjs/templates/bootstrap4/pdfBuilderUpload/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/index.js b/lib/cjs/templates/bootstrap4/pdfBuilderUpload/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/pdfBuilderUpload/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/radio/form.ejs.js b/lib/cjs/templates/bootstrap4/radio/form.ejs.js deleted file mode 100644 index f67420d57..000000000 --- a/lib/cjs/templates/bootstrap4/radio/form.ejs.js +++ /dev/null @@ -1,87 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '\n \n \n '; - }) ; -__p += '\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/radio/html.ejs.js b/lib/cjs/templates/bootstrap4/radio/html.ejs.js deleted file mode 100644 index 8a5109eb4..000000000 --- a/lib/cjs/templates/bootstrap4/radio/html.ejs.js +++ /dev/null @@ -1,13 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    \n '; - var filtered = ctx.values.filter(function(item) {return ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value])}).map(function(item) { return ctx.t(item.label, { _userInput: true })}).join(', ') ; -__p += '\n ' + -((__t = ( filtered )) == null ? '' : __t) + -'\n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/radio/index.d.ts b/lib/cjs/templates/bootstrap4/radio/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/radio/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/radio/index.js b/lib/cjs/templates/bootstrap4/radio/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/radio/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/resourceAdd/form.ejs.js b/lib/cjs/templates/bootstrap4/resourceAdd/form.ejs.js deleted file mode 100644 index b6af540e4..000000000 --- a/lib/cjs/templates/bootstrap4/resourceAdd/form.ejs.js +++ /dev/null @@ -1,14 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = ''; -__p += '\n \n \n \n \n \n \n \n \n
    \n ' + -((__t = (ctx.element)) == null ? '' : __t) + -'\n
    \n \n
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/resourceAdd/index.d.ts b/lib/cjs/templates/bootstrap4/resourceAdd/index.d.ts deleted file mode 100644 index dcf19402d..000000000 --- a/lib/cjs/templates/bootstrap4/resourceAdd/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: { - form: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/resourceAdd/index.js b/lib/cjs/templates/bootstrap4/resourceAdd/index.js deleted file mode 100644 index a2126853b..000000000 --- a/lib/cjs/templates/bootstrap4/resourceAdd/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -exports.default = { form: form_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/select/form.ejs.js b/lib/cjs/templates/bootstrap4/select/form.ejs.js deleted file mode 100644 index 00edb1c03..000000000 --- a/lib/cjs/templates/bootstrap4/select/form.ejs.js +++ /dev/null @@ -1,49 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '' + -((__t = (ctx.selectOptions)) == null ? '' : __t) + -'\n\n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/select/html.ejs.js b/lib/cjs/templates/bootstrap4/select/html.ejs.js deleted file mode 100644 index 56eb1847c..000000000 --- a/lib/cjs/templates/bootstrap4/select/html.ejs.js +++ /dev/null @@ -1,16 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '
    '; - if (ctx.value) { ; -__p += -((__t = ( ctx.self.itemValueForHTMLMode(ctx.value) )) == null ? '' : __t); - } else { ; -__p += '-'; - } ; -__p += '
    \n'; -return __p -} \ No newline at end of file diff --git a/lib/cjs/templates/bootstrap4/select/index.d.ts b/lib/cjs/templates/bootstrap4/select/index.d.ts deleted file mode 100644 index bb4ca03d9..000000000 --- a/lib/cjs/templates/bootstrap4/select/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const _default: { - form: string; - html: string; -}; -export default _default; diff --git a/lib/cjs/templates/bootstrap4/select/index.js b/lib/cjs/templates/bootstrap4/select/index.js deleted file mode 100644 index 269712cfb..000000000 --- a/lib/cjs/templates/bootstrap4/select/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const form_ejs_1 = require("./form.ejs"); -const html_ejs_1 = require("./html.ejs"); -exports.default = { form: form_ejs_1.default, html: html_ejs_1.default }; diff --git a/lib/cjs/templates/bootstrap4/selectOption/form.ejs.js b/lib/cjs/templates/bootstrap4/selectOption/form.ejs.js deleted file mode 100644 index 5a93fb2c7..000000000 --- a/lib/cjs/templates/bootstrap4/selectOption/form.ejs.js +++ /dev/null @@ -1,23 +0,0 @@ -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default=function(ctx) { -var __t, __p = '', __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -__p += '