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

@formio/bootstrap

Package Overview
Dependencies
Maintainers
7
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formio/bootstrap - npm Package Compare versions

Comparing version 3.0.0-rc.21 to 3.0.0-rc.21-dev.90.e1f0b93

22

lib/cjs/templates/bootstrap5/input/form.ejs.js

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

__p += '\n ';
if (ctx.options.floatingLabels) { ;
__p += '\n <div class="form-floating">\n ';
} ;
__p += '\n ';
if (!ctx.component.editor && !ctx.component.wysiwyg) { ;

@@ -63,2 +67,18 @@ __p += '\n <' +

'>\n ';
if (ctx.options.floatingLabels) { ;
__p += '\n <label ref="label" class="col-form-label ' +
((__t = (ctx.label.className)) == null ? '' : __t) +
'"\n for="' +
((__t = (ctx.instance.id)) == null ? '' : __t) +
'-' +
((__t = (ctx.component.key)) == null ? '' : __t) +
'"\n id="l-' +
((__t = (ctx.instance.id)) == null ? '' : __t) +
'-' +
((__t = (ctx.component.key)) == null ? '' : __t) +
'"\n >' +
((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) +
'</label>\n ';
} ;
__p += '\n ';
if (ctx.hasValueMaskInput) { ;

@@ -94,3 +114,3 @@ __p += '\n <input ref="valueMaskInput" />\n ';

__p += '\n';
if (ctx.prefix || ctx.suffix) { ;
if (ctx.prefix || ctx.suffix || ctx.options.floatingLabels) { ;
__p += '\n </div>\n';

@@ -97,0 +117,0 @@ } ;

@@ -23,2 +23,6 @@ export default function(ctx) {

__p += '\n ';
if (ctx.options.floatingLabels) { ;
__p += '\n <div class="form-floating">\n ';
} ;
__p += '\n ';
if (!ctx.component.editor && !ctx.component.wysiwyg) { ;

@@ -60,2 +64,18 @@ __p += '\n <' +

'>\n ';
if (ctx.options.floatingLabels) { ;
__p += '\n <label ref="label" class="col-form-label ' +
((__t = (ctx.label.className)) == null ? '' : __t) +
'"\n for="' +
((__t = (ctx.instance.id)) == null ? '' : __t) +
'-' +
((__t = (ctx.component.key)) == null ? '' : __t) +
'"\n id="l-' +
((__t = (ctx.instance.id)) == null ? '' : __t) +
'-' +
((__t = (ctx.component.key)) == null ? '' : __t) +
'"\n >' +
((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) +
'</label>\n ';
} ;
__p += '\n ';
if (ctx.hasValueMaskInput) { ;

@@ -91,3 +111,3 @@ __p += '\n <input ref="valueMaskInput" />\n ';

__p += '\n';
if (ctx.prefix || ctx.suffix) { ;
if (ctx.prefix || ctx.suffix || ctx.options.floatingLabels) { ;
__p += '\n </div>\n';

@@ -94,0 +114,0 @@ } ;

2

package.json
{
"name": "@formio/bootstrap",
"version": "3.0.0-rc.21",
"version": "3.0.0-rc.21-dev.90.e1f0b93",
"description": "Bootstrap templates for Form.io forms",

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

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

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