Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@formio/bootstrap3

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formio/bootstrap3 - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

7

Changelog.md

@@ -7,2 +7,9 @@ # Change Log

## 2.8.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.7.0

@@ -9,0 +16,0 @@ ### Fixed

2

lib/templates/bootstrap3/builderEditForm/form.ejs.js

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

__p += '<div class="row">\n <div class="col col-sm-6">\n <p class="lead">' +
((__t = (ctx.t(ctx.componentInfo.title))) == null ? '' : __t) +
((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) +
' ' +

@@ -11,0 +11,0 @@ ((__t = (ctx.t('Component'))) == null ? '' : __t) +

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

'"\n ref="sidebar-anchor"\n >\n ' +
((__t = (ctx.t(ctx.group.title))) == null ? '' : __t) +
((__t = (ctx.t(ctx.group.title, { _userInput: true }))) == null ? '' : __t) +
'\n </button>\n </h5>\n </div>\n <div\n id="group-' +

@@ -45,3 +45,3 @@ ((__t = (ctx.groupKey)) == null ? '' : __t) +

__p += '\n ' +
((__t = (ctx.t(ctx.group.components[componentKey].title))) == null ? '' : __t) +
((__t = (ctx.t(ctx.group.components[componentKey].title, { _userInput: true }))) == null ? '' : __t) +
'\n </span>\n ';

@@ -48,0 +48,0 @@ }) ;

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

'">\n ' +
((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title) )) == null ? '' : __t) +
((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) +
'\n ';

@@ -36,3 +36,5 @@ if (col.tooltip) { ;

((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
' text-muted"></i>';
' text-muted" data-tooltip="' +
((__t = (col.tooltip)) == null ? '' : __t) +
'"></i>';
} ;

@@ -50,3 +52,3 @@ __p += '\n </th>\n ';

'"></i> ' +
((__t = (ctx.t(ctx.component.addAnother || 'Add Another'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
'\n </button>\n ';

@@ -60,3 +62,5 @@ } ;

((__t = (ctx.datagridKey)) == null ? '' : __t) +
'-tbody">\n ';
'-tbody" data-key="' +
((__t = (ctx.datagridKey)) == null ? '' : __t) +
'>\n ';
ctx.rows.forEach(function(row, index) { ;

@@ -81,3 +85,5 @@ __p += '\n ';

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

@@ -125,3 +131,3 @@ __p += '\n ';

'"></i> ' +
((__t = (ctx.t(ctx.component.addAnother || 'Add Another'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
'\n </button>\n </td>\n </tr>\n </tfoot>\n ';

@@ -128,0 +134,0 @@ } ;

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

((__t = (iconClass('question-sign'))) == null ? '' : __t) +
' text-muted"></i>';
' text-muted" data-tooltip="' +
((__t = (col.tooltip)) == null ? '' : __t) +
'"></i>';
} ;

@@ -30,0 +32,0 @@ __p += '\n </th>\n ';

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

'">' +
((__t = (ctx.t(ctx.component.saveRow || 'Save'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
'</button>\n ';

@@ -39,3 +39,3 @@ if (ctx.component.removeRow) { ;

'">' +
((__t = (ctx.t(ctx.component.removeRow || 'Cancel'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
'</button>\n ';

@@ -62,3 +62,3 @@ } ;

'"></i> ' +
((__t = (ctx.t(ctx.component.addAnother || 'Add Another'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
'\n</button>\n';

@@ -65,0 +65,0 @@ } ;

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

'">' +
((__t = (ctx.t(ctx.component.saveRow || 'Save'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
'</button>\n ';

@@ -39,3 +39,3 @@ if (ctx.component.removeRow) { ;

'">' +
((__t = (ctx.t(ctx.component.removeRow || 'Cancel'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
'</button>\n ';

@@ -42,0 +42,0 @@ } ;

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

__p += '\n <div class="form-text text-muted">' +
((__t = (ctx.t(ctx.component.description))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
'</div>\n';

@@ -39,0 +39,0 @@ } ;

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

__p += '\n <div class="help-block">' +
((__t = (ctx.t(ctx.component.description))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
'</div>\n';

@@ -33,0 +33,0 @@ } ;

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

} else { ;
__p += '\n <div>\n <video class="video" autoplay="true" ref="videoPlayer"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="fa fa-camera"></i> ' +
__p += '\n <div class="video-container">\n <video class="video" autoplay="true" ref="videoPlayer"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="fa fa-camera"></i> ' +
((__t = (ctx.t('Take Picture'))) == null ? '' : __t) +

@@ -130,0 +130,0 @@ '</button>\n <button class="btn btn-primary" ref="toggleCameraMode">' +

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

__p += '\n ' +
((__t = ( ctx.t(ctx.prefix.outerHTML) )) == null ? '' : __t) +
((__t = ( ctx.t(ctx.prefix.outerHTML, { _userInput: true }) )) == null ? '' : __t) +
'\n';
} else{ ;
__p += '\n ' +
((__t = ( ctx.t(ctx.prefix) )) == null ? '' : __t) +
((__t = ( ctx.t(ctx.prefix, { _userInput: true }) )) == null ? '' : __t) +
'\n';

@@ -67,7 +67,7 @@ } ;

__p += '\n ' +
((__t = ( ctx.t(ctx.suffix.outerHTML) )) == null ? '' : __t) +
((__t = ( ctx.t(ctx.suffix.outerHTML, { _userInput: true }) )) == null ? '' : __t) +
'\n';
} else{ ;
__p += '\n ' +
((__t = ( ctx.t(ctx.suffix) )) == null ? '' : __t) +
((__t = ( ctx.t(ctx.suffix, { _userInput: true }) )) == null ? '' : __t) +
'\n';

@@ -74,0 +74,0 @@ } ;

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

function print() { __p += __j.call(arguments, '') }
__p += '<label \n class="control-label ' +
__p += '<label\n class="control-label ' +
((__t = (ctx.label.className)) == null ? '' : __t) +

@@ -17,3 +17,3 @@ '"\n for="' +

__p += '\n ' +
((__t = ( ctx.t(ctx.component.label) )) == null ? '' : __t) +
((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) +
'\n ';

@@ -23,3 +23,5 @@ if (ctx.component.tooltip) { ;

((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
' text-muted"></i>\n ';
' text-muted" data-tooltip="' +
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
'"></i>\n ';
} ;

@@ -26,0 +28,0 @@ __p += '\n ';

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

'"></i> ' +
((__t = (ctx.t(ctx.addAnother))) == null ? '' : __t) +
((__t = (ctx.t(ctx.addAnother, { _userInput: true }))) == null ? '' : __t) +
'</button>\n </td>\n </tr>\n ';

@@ -17,0 +17,0 @@ } ;

@@ -17,6 +17,6 @@ Object.defineProperty(exports, "__esModule", {

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

@@ -28,3 +28,5 @@ } ;

((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
' text-muted"></i>\n ';
' text-muted" data-tooltip="' +
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
'"></i>\n ';
} ;

@@ -31,0 +33,0 @@ __p += '\n </h4>\n </div>\n ';

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

__p += '\n <span>' +
((__t = (ctx.t(item.label))) == null ? '' : __t) +
((__t = (ctx.t(item.label, { _userInput: true }))) == null ? '' : __t) +
'</span>\n ';

@@ -57,3 +57,3 @@ } ;

__p += '\n <span>' +
((__t = (ctx.t(item.label))) == null ? '' : __t) +
((__t = (ctx.t(item.label, { _userInput: true }))) == null ? '' : __t) +
'</span>\n ';

@@ -60,0 +60,0 @@ } ;

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

__p += '<div ref="value">\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)}).join(', ') ;
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 ' +

@@ -11,0 +11,0 @@ ((__t = (filtered)) == null ? '' : __t) +

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

'"></i>\n ' +
((__t = (ctx.t(ctx.component.addResourceLabel || 'Add Resource'))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.addResourceLabel || 'Add Resource', { _userInput: true }))) == null ? '' : __t) +
'\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n';
return __p
}

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

__p += '\n <div class="signature-pad-footer">\n ' +
((__t = (ctx.t(ctx.component.footer))) == null ? '' : __t) +
((__t = (ctx.t(ctx.component.footer, { _userInput: true }))) == null ? '' : __t) +
'\n </div>\n';

@@ -31,0 +31,0 @@ } ;

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

__p += '\n <div class="panel panel-default">\n <div class="panel-heading">\n <h4 class="panel-title">' +
((__t = ( ctx.t(tab.label) )) == null ? '' : __t) +
((__t = ( ctx.t(tab.label, { _userInput: true }) )) == null ? '' : __t) +
'</h4>\n </div>\n <div class="panel-body" ref="' +

@@ -13,0 +13,0 @@ ((__t = (ctx.tabKey)) == null ? '' : __t) +

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

'">' +
((__t = (ctx.t(tab.label))) == null ? '' : __t) +
((__t = (ctx.t(tab.label, { _userInput: true }))) == null ? '' : __t) +
'</a>\n </li>\n ';

@@ -23,0 +23,0 @@ }) ;

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

__p += '\n <th>' +
((__t = (ctx.t(header))) == null ? '' : __t) +
((__t = (ctx.t(header, { _userInput: true }))) == null ? '' : __t) +
'</th>\n ';

@@ -23,0 +23,0 @@ }) ;

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

__p += '<div class="text-muted text-center">' +
((__t = ( ctx.t(ctx.component.title) )) == null ? '' : __t) +
((__t = ( ctx.t(ctx.component.title, { _userInput: true }) )) == null ? '' : __t) +
'</div>\n';
return __p
}

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

'-link">\n ' +
((__t = (ctx.t(panel.title))) == null ? '' : __t) +
((__t = (ctx.t(panel.title, { _userInput: true }))) == null ? '' : __t) +
' \n ';

@@ -24,3 +24,5 @@ if (panel.tooltip && ctx.currentPage === index) { ;

((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
' text-muted"></i>\n ';
' text-muted" data-tooltip="' +
((__t = (ctx.wizardPageTooltip)) == null ? '' : __t) +
'"></i>\n ';
} ;

@@ -27,0 +29,0 @@ __p += '\n </span>\n </li>\n ';

{
"name": "@formio/bootstrap3",
"version": "2.7.0",
"version": "2.8.0",
"description": "Bootstrap 3 templates for form.io",

@@ -34,8 +34,8 @@ "main": "lib/index.js",

"devDependencies": {
"@types/chai": "^4.2.14",
"@types/ejs": "^3.0.5",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.20",
"@types/chai": "^4.2.15",
"@types/ejs": "^3.0.6",
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.31",
"@types/sinon": "^9.0.10",
"chai": "^4.2.0",
"chai": "^4.3.0",
"gulp": "^4.0.2",

@@ -45,12 +45,12 @@ "gulp-insert": "^0.5.0",

"gulp-template": "^5.0.0",
"mocha": "^8.2.1",
"mocha": "^8.3.0",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"sinon": "^9.2.3",
"sinon": "^9.2.4",
"ts-node": "^9.1.1",
"ts-sinon": "^2.0.1",
"tslint": "^6.1.3",
"typescript": "^4.1.3",
"webpack": "^5.12.0",
"webpack-cli": "^4.3.1"
"typescript": "^4.1.5",
"webpack": "^5.23.0",
"webpack-cli": "^4.5.0"
},

@@ -57,0 +57,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc