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

jenesius-vue-form

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jenesius-vue-form - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

dist/dts/index.d.ts
import { Form } from "./classes/Form";
import { Input } from "./classes/Input";
import { Input, useInputState } from "./classes/Input";
import useFormState from "./hooks/useFormState";
import buildDepend from "./methods/build-depend";
import config from "./state";
export { Form, useFormState, Input, buildDepend, config };
export { Form, useFormState, Input, useInputState, buildDepend, config };
import { Form } from "../classes/Form";
import { Input, InputInterface } from "../classes/Input";
export default function buildDepend(name: string, init: () => Form | InputInterface | Input): Form;
export default function buildDepend(name: string, init: () => Form | InputInterface | Input): any;
/*!
* jenesius-vue-form v1.0.10
* jenesius-vue-form v1.0.11
* (c) 2022 Jenesius

@@ -431,2 +431,11 @@ * @license MIT

Input.EVENT_CHANGE_DISABLED = 'input:change-disabled';
function useInputState(input) {
const state = vue.reactive({
value: input.value,
disabled: input.disabled
});
input.on(Input.EVENT_NEW_VALUE, v => state.value = v);
input.on(Input.EVENT_CHANGE_DISABLED, v => state.disabled = v);
return state;
}

@@ -470,1 +479,2 @@ function useFormState(form) {

exports.useFormState = useFormState;
exports.useInputState = useInputState;
{
"name": "jenesius-vue-form",
"version": "1.0.10",
"version": "1.0.11",
"license": "MIT",

@@ -5,0 +5,0 @@ "email": "lokargenia@gmail.com",

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