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

cee-validate

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cee-validate - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

31

dist/cee-validate.es5.js

@@ -1,2 +0,2 @@

import { Component, Vue } from 'vue-property-decorator';
import { Options } from 'vue-typed';
import dayjs from 'dayjs-ext';

@@ -18,17 +18,3 @@

***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function() {

@@ -300,2 +286,3 @@ __assign = Object.assign || function __assign(t) {

var _this = this;
console.log("");
if (!this.watch || !this.el)

@@ -317,2 +304,3 @@ return;

};
console.log('');
this.el.addEventListener('focusout', onBlur.bind(this));

@@ -679,6 +667,5 @@ this.watch(this.scope ? this.scope + "." + this.name : this.name, onInput.bind(this));

// eslint-disable
var FormValidator = /** @class */ (function (_super) {
__extends(FormValidator, _super);
//@Component
var FormValidator = /** @class */ (function () {
function FormValidator() {
return _super !== null && _super.apply(this, arguments) || this;
}

@@ -690,3 +677,3 @@ // In the future we'll use this function to pass mixin options

// Get Vue constructor
var Vue$$1 = this.$options._base;
var Vue = this.$options._base;
this.$validator = new ScopedValidator(this);

@@ -696,12 +683,12 @@ // Setup computed properties on the component

this.$options.computed = {};
Vue$$1.util.defineReactive(this.$validator, 'validations', this.$validator.validations);
Vue.util.defineReactive(this.$validator, 'validations', this.$validator.validations);
this.$options.computed['$validations'] = function () { return _this.$validator.validations; };
};
FormValidator = __decorate([
Component
Options()
], FormValidator);
return FormValidator;
}(Vue));
}());
export default FormValidator;
//# sourceMappingURL=cee-validate.es5.js.map
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vue-property-decorator'), require('dayjs-ext')) :
typeof define === 'function' && define.amd ? define(['vue-property-decorator', 'dayjs-ext'], factory) :
(global['dist/cee-validate'] = global['dist/cee-validate'] || {}, global['dist/cee-validate'].umd = global['dist/cee-validate'].umd || {}, global['dist/cee-validate'].umd.js = factory(global.vuePropertyDecorator,global.dayjs));
}(this, (function (vuePropertyDecorator,dayjs) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vue-typed'), require('dayjs-ext')) :
typeof define === 'function' && define.amd ? define(['vue-typed', 'dayjs-ext'], factory) :
(global['dist/cee-validate'] = global['dist/cee-validate'] || {}, global['dist/cee-validate'].umd = global['dist/cee-validate'].umd || {}, global['dist/cee-validate'].umd.js = factory(global.vueTyped,global.dayjs));
}(this, (function (vueTyped,dayjs) { 'use strict';

@@ -23,17 +23,3 @@ dayjs = dayjs && dayjs.hasOwnProperty('default') ? dayjs['default'] : dayjs;

***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function() {

@@ -305,2 +291,3 @@ __assign = Object.assign || function __assign(t) {

var _this = this;
console.log("");
if (!this.watch || !this.el)

@@ -322,2 +309,3 @@ return;

};
console.log('');
this.el.addEventListener('focusout', onBlur.bind(this));

@@ -684,6 +672,5 @@ this.watch(this.scope ? this.scope + "." + this.name : this.name, onInput.bind(this));

// eslint-disable
var FormValidator = /** @class */ (function (_super) {
__extends(FormValidator, _super);
//@Component
var FormValidator = /** @class */ (function () {
function FormValidator() {
return _super !== null && _super.apply(this, arguments) || this;
}

@@ -704,6 +691,6 @@ // In the future we'll use this function to pass mixin options

FormValidator = __decorate([
vuePropertyDecorator.Component
vueTyped.Options()
], FormValidator);
return FormValidator;
}(vuePropertyDecorator.Vue));
}());

@@ -710,0 +697,0 @@ return FormValidator;

@@ -1,2 +0,1 @@

import { Vue as VueComponent } from 'vue-property-decorator';
import FieldBag from './fieldBag';

@@ -22,3 +21,3 @@ import Field from './field';

validations: FormValidationFlags;
constructor(vm: VueComponent);
constructor(vm: any);
/**

@@ -25,0 +24,0 @@ * This two following functions are responsible for bootstraping

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

import { Vue } from 'vue-property-decorator';
import ScopedValidator from './core/scopedValidator';
export default class FormValidator extends Vue {
export default class FormValidator {
$validator: ScopedValidator;
$validations: object;
$options: any;
beforeCreate(): void;
}
{
"name": "cee-validate",
"version": "0.1.20",
"version": "0.1.21",
"description": "A model-based form validation library for vue inspired by vuelidate and vee-validate.",

@@ -68,4 +68,5 @@ "module": "dist/cee-validate.es5.js",

"vue-class-component": "^6.3.2",
"vue-property-decorator": "^7.2.0"
"vue-property-decorator": "^7.2.0",
"vue-typed": "^2.1.4"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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