@v1nt1248/3nclient-lib 0.2.59 → 0.2.61
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.
- package/dist/components/ui3n-input/types.d.ts +1 -0
- package/dist/components/ui3n-input/ui3n-input.vue.d.ts +2 -0
- package/dist/components/ui3n-text/types.d.ts +1 -0
- package/dist/components/ui3n-text/ui3n-text.vue.d.ts +2 -0
- package/dist/directives/index.d.ts +3 -3
- package/dist/directives/ui3n-html.d.ts +6 -5
- package/dist/directives/ui3n-long-press.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/ui3n-components.js +11712 -11693
- package/package.json +8 -8
- package/src/components/ui3n-input/types.ts +1 -0
- package/src/components/ui3n-input/ui3n-input.vue +5 -0
- package/src/components/ui3n-text/types.ts +1 -0
- package/src/components/ui3n-text/ui3n-text.vue +18 -13
|
@@ -16,6 +16,7 @@ export interface Ui3nInputProps {
|
|
|
16
16
|
export interface Ui3nInputEmits {
|
|
17
17
|
(event: 'init', value: HTMLInputElement): void;
|
|
18
18
|
(event: 'input', value: string): void;
|
|
19
|
+
(event: 'keydown', value: KeyboardEvent): void;
|
|
19
20
|
(event: 'focus', value: Event): void;
|
|
20
21
|
(event: 'blur', value: Event): void;
|
|
21
22
|
(event: 'clear'): void;
|
|
@@ -13,6 +13,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
13
13
|
shiftKey: boolean;
|
|
14
14
|
metaKey: boolean;
|
|
15
15
|
}) => any;
|
|
16
|
+
keydown: (value: KeyboardEvent) => any;
|
|
16
17
|
blur: (value: Event) => any;
|
|
17
18
|
change: (value: string) => any;
|
|
18
19
|
focus: (value: Event) => any;
|
|
@@ -30,6 +31,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
30
31
|
shiftKey: boolean;
|
|
31
32
|
metaKey: boolean;
|
|
32
33
|
}) => any) | undefined;
|
|
34
|
+
onKeydown?: ((value: KeyboardEvent) => any) | undefined;
|
|
33
35
|
onBlur?: ((value: Event) => any) | undefined;
|
|
34
36
|
onChange?: ((value: string) => any) | undefined;
|
|
35
37
|
onFocus?: ((value: Event) => any) | undefined;
|
|
@@ -11,6 +11,7 @@ export interface Ui3nTextEmits {
|
|
|
11
11
|
(event: 'init', value: HTMLTextAreaElement): void;
|
|
12
12
|
(event: 'input', value: string): void;
|
|
13
13
|
(event: 'change', value: string): void;
|
|
14
|
+
(event: 'keydown', value: KeyboardEvent): void;
|
|
14
15
|
(event: 'enter', value: {
|
|
15
16
|
value: string;
|
|
16
17
|
altKey: boolean;
|
|
@@ -8,6 +8,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
8
8
|
shiftKey: boolean;
|
|
9
9
|
metaKey: boolean;
|
|
10
10
|
}) => any;
|
|
11
|
+
keydown: (value: KeyboardEvent) => any;
|
|
11
12
|
blur: (value: Event) => any;
|
|
12
13
|
change: (value: string) => any;
|
|
13
14
|
focus: (value: Event) => any;
|
|
@@ -24,6 +25,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
24
25
|
shiftKey: boolean;
|
|
25
26
|
metaKey: boolean;
|
|
26
27
|
}) => any) | undefined;
|
|
28
|
+
onKeydown?: ((value: KeyboardEvent) => any) | undefined;
|
|
27
29
|
onBlur?: ((value: Event) => any) | undefined;
|
|
28
30
|
onChange?: ((value: string) => any) | undefined;
|
|
29
31
|
onFocus?: ((value: Event) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as Ui3nHtml } from './ui3n-html';
|
|
1
|
+
import { default as Ui3nHtml, Ui3nHtmlArg, Ui3nHtmlValue } from './ui3n-html';
|
|
2
2
|
import { default as Ui3nClickOutside } from './ui3n-click-outside';
|
|
3
3
|
import { default as Ui3nResize, Ui3nResizeCbArg } from './ui3n-resize';
|
|
4
4
|
import { default as Ui3nRipple } from './ui3n-ripple';
|
|
5
5
|
import { default as Ui3nTitle } from './ui3n-title';
|
|
6
|
-
import { default as Ui3nLongPress } from './ui3n-long-press';
|
|
7
|
-
export { Ui3nHtml, Ui3nClickOutside, Ui3nResize, Ui3nRipple, Ui3nTitle, Ui3nLongPress,
|
|
6
|
+
import { default as Ui3nLongPress, Ui3nLongPressBindingValue, Ui3nLongPressModifiers } from './ui3n-long-press';
|
|
7
|
+
export { Ui3nHtml, Ui3nHtmlArg, Ui3nHtmlValue, Ui3nClickOutside, Ui3nResize, Ui3nResizeCbArg, Ui3nRipple, Ui3nTitle, Ui3nLongPress, Ui3nLongPressBindingValue, Ui3nLongPressModifiers, };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DirectiveBinding } from '../../vue/dist/vue.esm-bundler.js';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { default as sanitizeHtml } from 'sanitize-html';
|
|
3
|
+
export type Ui3nHtmlArg = 'sanitize';
|
|
4
|
+
export interface Ui3nHtmlValue extends sanitizeHtml.IOptions {
|
|
5
|
+
dirty: string;
|
|
6
|
+
}
|
|
7
|
+
export default function ui3nHtml(el: Element, binding: DirectiveBinding<string | Ui3nHtmlValue>): void;
|
|
@@ -13,7 +13,7 @@ export interface Ui3nLongPressModifiers {
|
|
|
13
13
|
once?: boolean;
|
|
14
14
|
passive?: boolean;
|
|
15
15
|
}
|
|
16
|
-
interface
|
|
16
|
+
interface Ui3nLongExtendedDirective extends ObjectDirective<HTMLElement, Ui3nLongPressBindingValue> {
|
|
17
17
|
pointerdownEvent: (event: PointerEvent) => void;
|
|
18
18
|
pointerupEvent: (event: PointerEvent) => void;
|
|
19
19
|
pointermoveEvent: (event: PointerEvent) => void;
|
|
@@ -23,5 +23,5 @@ interface ExtendedDirective extends ObjectDirective<HTMLElement, Ui3nLongPressBi
|
|
|
23
23
|
y: number;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
declare const ui3nLongPress:
|
|
26
|
+
declare const ui3nLongPress: Ui3nLongExtendedDirective;
|
|
27
27
|
export default ui3nLongPress;
|