Socket
Socket
Sign inDemoInstall

@fermuch/monoflow-formio-components

Package Overview
Dependencies
75
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

2

lib/components/index.d.ts

@@ -1,7 +0,5 @@

import checkmatrix from './CheckMatrix/CheckMatrix';
import photo from './Photo/Photo';
declare const _default: {
checkmatrix: typeof checkmatrix;
photo: typeof photo;
};
export default _default;

@@ -1,6 +0,4 @@

import checkmatrix from './CheckMatrix/CheckMatrix';
import photo from './Photo/Photo';
export default {
checkmatrix: checkmatrix,
photo: photo,
};

3

lib/components/Photo/Photo.d.ts

@@ -78,2 +78,5 @@ /**

attach(element: any): any;
onPhotoEvent(ev: CustomEvent<{
id?: string;
}>): void;
/**

@@ -80,0 +83,0 @@ * Called when the component has been detached. This is where you would destroy

@@ -91,3 +91,2 @@ var __extends = (this && this.__extends) || (function () {

var _this = this;
console.info(this);
/**

@@ -122,4 +121,11 @@ * This method will look for an element that has the 'ref="customRef"' as an

});
document.addEventListener('monoflow-photo', this.onPhotoEvent.bind(this));
return _super.prototype.attach.call(this, element);
};
Photo.prototype.onPhotoEvent = function (ev) {
if (ev && ev.detail && ev.detail.id === this.id) {
var payload = ev.detail;
this.setValue(payload, {});
}
};
/**

@@ -134,2 +140,3 @@ * Called when the component has been detached. This is where you would destroy

Photo.prototype.detach = function () {
document.removeEventListener('monoflow-photo', this.onPhotoEvent.bind(this));
return _super.prototype.detach.call(this);

@@ -136,0 +143,0 @@ };

declare const _default: {
components: {
checkmatrix: typeof import("./components/CheckMatrix/CheckMatrix").default;
photo: typeof import("./components/Photo/Photo").default;

@@ -8,5 +7,2 @@ };

bootstrap: {
checkmatrix: {
form: string;
};
photo: {

@@ -13,0 +9,0 @@ form: string;

declare const _default: {
checkmatrix: {
form: string;
};
photo: {

@@ -6,0 +3,0 @@ form: string;

@@ -1,6 +0,4 @@

import checkmatrix from './checkmatrix';
import photo from './photo';
export default {
checkmatrix: checkmatrix,
photo: photo,
};

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

((__t = ( ctx.fileName || 'Carregar Foto' )) == null ? '' : __t) +
'</h3>\n </div>\n </div>\n </div>\n </div>\n</div>';
'</h3>\n\n <span>' +
((__t = ( JSON.stringify(ctx.value, undefined, 2) )) == null ? '' : __t) +
'</span>\n </div>\n </div>\n </div>\n </div>\n</div>';
return __p
}
declare const _default: {
bootstrap: {
checkmatrix: {
form: string;
};
photo: {

@@ -7,0 +4,0 @@ form: string;

{
"name": "@fermuch/monoflow-formio-components",
"version": "2.0.0",
"version": "2.0.1",
"description": "Monoflow components for Form.io",

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

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

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

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc