@v1nt1248/3nclient-lib 0.2.32 → 0.2.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,12 +4,40 @@ declare const _default: import('vue').DefineComponent<Ui3nInputProps, {
4
4
  isDirty: import('vue').Ref<boolean, boolean>;
5
5
  isFocused: import('vue').Ref<boolean, boolean>;
6
6
  clearValue: typeof clearValue;
7
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- [x: string]: any;
9
- } & {
10
- [x: string]: any;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
+ input: (value: string) => any;
9
+ enter: (value: {
10
+ value: string;
11
+ altKey: boolean;
12
+ ctrlKey: boolean;
13
+ shiftKey: boolean;
14
+ metaKey: boolean;
15
+ }) => any;
16
+ blur: (value: Event) => any;
17
+ change: (value: string) => any;
18
+ focus: (value: Event) => any;
19
+ init: (value: HTMLInputElement) => any;
20
+ "update:modelValue": (value: string) => any;
21
+ clear: () => any;
22
+ escape: (value: Event) => any;
23
+ "update:valid": (value: boolean) => any;
11
24
  }, string, import('vue').PublicProps, Readonly<Ui3nInputProps> & Readonly<{
12
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
25
+ onInput?: ((value: string) => any) | undefined;
26
+ onEnter?: ((value: {
27
+ value: string;
28
+ altKey: boolean;
29
+ ctrlKey: boolean;
30
+ shiftKey: boolean;
31
+ metaKey: boolean;
32
+ }) => any) | undefined;
33
+ onBlur?: ((value: Event) => any) | undefined;
34
+ onChange?: ((value: string) => any) | undefined;
35
+ onFocus?: ((value: Event) => any) | undefined;
36
+ onInit?: ((value: HTMLInputElement) => any) | undefined;
37
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
38
+ onClear?: (() => any) | undefined;
39
+ onEscape?: ((value: Event) => any) | undefined;
40
+ "onUpdate:valid"?: ((value: boolean) => any) | undefined;
13
41
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
14
42
  wrapperElement: HTMLDivElement;
15
43
  inputElement: HTMLInputElement;
@@ -1,10 +1,36 @@
1
1
  import { Ui3nTextProps } from './types';
2
- declare const _default: import('vue').DefineComponent<Ui3nTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
- [x: string]: any;
4
- } & {
5
- [x: string]: any;
2
+ declare const _default: import('vue').DefineComponent<Ui3nTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ input: (value: string) => any;
4
+ enter: (value: {
5
+ value: string;
6
+ altKey: boolean;
7
+ ctrlKey: boolean;
8
+ shiftKey: boolean;
9
+ metaKey: boolean;
10
+ }) => any;
11
+ blur: (value: Event) => any;
12
+ change: (value: string) => any;
13
+ focus: (value: Event) => any;
14
+ init: (value: HTMLTextAreaElement) => any;
15
+ escape: (value: Event) => any;
16
+ "update:valid": (value: boolean) => any;
17
+ "update:text": (value: string) => any;
6
18
  }, string, import('vue').PublicProps, Readonly<Ui3nTextProps> & Readonly<{
7
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
19
+ onInput?: ((value: string) => any) | undefined;
20
+ onEnter?: ((value: {
21
+ value: string;
22
+ altKey: boolean;
23
+ ctrlKey: boolean;
24
+ shiftKey: boolean;
25
+ metaKey: boolean;
26
+ }) => any) | undefined;
27
+ onBlur?: ((value: Event) => any) | undefined;
28
+ onChange?: ((value: string) => any) | undefined;
29
+ onFocus?: ((value: Event) => any) | undefined;
30
+ onInit?: ((value: HTMLTextAreaElement) => any) | undefined;
31
+ onEscape?: ((value: Event) => any) | undefined;
32
+ "onUpdate:valid"?: ((value: boolean) => any) | undefined;
33
+ "onUpdate:text"?: ((value: string) => any) | undefined;
8
34
  }>, {
9
35
  label: string;
10
36
  disabled: boolean;