@homecode/ui 4.27.17 → 4.27.18
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.
|
@@ -68,7 +68,24 @@ const Input = forwardRef((props, ref) => {
|
|
|
68
68
|
return val;
|
|
69
69
|
};
|
|
70
70
|
const onTextareaPaste = e => {
|
|
71
|
-
//
|
|
71
|
+
// Prevent default paste behavior to strip formatting
|
|
72
|
+
e.preventDefault();
|
|
73
|
+
// Get plain text from clipboard
|
|
74
|
+
const text = (e.clipboardData || window.clipboardData)?.getData('text/plain') || '';
|
|
75
|
+
// Insert plain text at cursor position
|
|
76
|
+
if (document.queryCommandSupported('insertText')) {
|
|
77
|
+
document.execCommand('insertText', false, text);
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
// Fallback for older browsers
|
|
81
|
+
const selection = window.getSelection();
|
|
82
|
+
if (!selection.rangeCount)
|
|
83
|
+
return;
|
|
84
|
+
selection.deleteFromDocument();
|
|
85
|
+
selection.getRangeAt(0).insertNode(document.createTextNode(text));
|
|
86
|
+
selection.collapseToEnd();
|
|
87
|
+
}
|
|
88
|
+
// Update the value after paste
|
|
72
89
|
setTimeout(() => {
|
|
73
90
|
if (inputRef.current) {
|
|
74
91
|
const newValue = inputRef.current.innerText;
|
|
@@ -243,7 +260,7 @@ const Input = forwardRef((props, ref) => {
|
|
|
243
260
|
updateAutoComplete();
|
|
244
261
|
if (value !== inputValue) {
|
|
245
262
|
if (isTextArea)
|
|
246
|
-
setTextareaValue(String(value));
|
|
263
|
+
setTextareaValue(String(value ?? ''));
|
|
247
264
|
setInputValue(value);
|
|
248
265
|
}
|
|
249
266
|
if (autoFocus && inputRef.current) {
|
|
@@ -252,7 +269,7 @@ const Input = forwardRef((props, ref) => {
|
|
|
252
269
|
}, [value, autoFocus]);
|
|
253
270
|
useEffect(() => {
|
|
254
271
|
if (isTextArea)
|
|
255
|
-
setTextareaValue(String(value));
|
|
272
|
+
setTextareaValue(String(value ?? ''));
|
|
256
273
|
}, []);
|
|
257
274
|
const Control = isTextArea ? 'span' : 'input';
|
|
258
275
|
const classes = cn(S.root, isTextArea && S.isTextArea, S[`size-${size}`], S[`variant-${variant}`], isFocused && S.isFocused, error && S.hasError, hasClear && S.hasClear, disabled && S.isDisabled, round && S.round, className);
|
|
@@ -1,91 +1,97 @@
|
|
|
1
|
+
/// <reference types="uilib/declarations" />
|
|
1
2
|
import * as T from './Icon.types';
|
|
2
3
|
export declare const icons: {
|
|
3
|
-
attach: () => Promise<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
4
|
+
attach: () => Promise<typeof import("*.svg")>;
|
|
5
|
+
apple: () => Promise<typeof import("*.svg")>;
|
|
6
|
+
arrowRight: () => Promise<typeof import("*.svg")>;
|
|
7
|
+
arrowLeft: () => Promise<typeof import("*.svg")>;
|
|
8
|
+
arrowUp: () => Promise<typeof import("*.svg")>;
|
|
9
|
+
arrowDown: () => Promise<typeof import("*.svg")>;
|
|
10
|
+
avatar: () => Promise<typeof import("*.svg")>;
|
|
11
|
+
bookmark: () => Promise<typeof import("*.svg")>;
|
|
12
|
+
bookmarkAdd: () => Promise<typeof import("*.svg")>;
|
|
13
|
+
brain: () => Promise<typeof import("*.svg")>;
|
|
14
|
+
brokenImage: () => Promise<typeof import("*.svg")>;
|
|
15
|
+
camera: () => Promise<typeof import("*.svg")>;
|
|
16
|
+
chat: () => Promise<typeof import("*.svg")>;
|
|
17
|
+
check: () => Promise<typeof import("*.svg")>;
|
|
18
|
+
close: () => Promise<typeof import("*.svg")>;
|
|
19
|
+
colors: () => Promise<typeof import("*.svg")>;
|
|
20
|
+
compass: () => Promise<typeof import("*.svg")>;
|
|
21
|
+
copy: () => Promise<typeof import("*.svg")>;
|
|
22
|
+
checkers: () => Promise<typeof import("*.svg")>;
|
|
23
|
+
chevronUp: () => Promise<typeof import("*.svg")>;
|
|
24
|
+
chevronDown: () => Promise<typeof import("*.svg")>;
|
|
25
|
+
chevronRight: () => Promise<typeof import("*.svg")>;
|
|
26
|
+
chevronLeft: () => Promise<typeof import("*.svg")>;
|
|
27
|
+
clearAll: () => Promise<typeof import("*.svg")>;
|
|
28
|
+
cubes: () => Promise<typeof import("*.svg")>;
|
|
29
|
+
delete: () => Promise<typeof import("*.svg")>;
|
|
30
|
+
draft: () => Promise<typeof import("*.svg")>;
|
|
31
|
+
dragHandlerHorizontal: () => Promise<typeof import("*.svg")>;
|
|
32
|
+
dragHandlerVertical: () => Promise<typeof import("*.svg")>;
|
|
33
|
+
edit: () => Promise<typeof import("*.svg")>;
|
|
34
|
+
email: () => Promise<typeof import("*.svg")>;
|
|
35
|
+
externalLink: () => Promise<typeof import("*.svg")>;
|
|
36
|
+
eye: () => Promise<typeof import("*.svg")>;
|
|
37
|
+
forward: () => Promise<typeof import("*.svg")>;
|
|
38
|
+
folder: () => Promise<typeof import("*.svg")>;
|
|
39
|
+
folderOpen: () => Promise<typeof import("*.svg")>;
|
|
40
|
+
fullscreen: () => Promise<typeof import("*.svg")>;
|
|
41
|
+
fullscreenExit: () => Promise<typeof import("*.svg")>;
|
|
42
|
+
function: () => Promise<typeof import("*.svg")>;
|
|
43
|
+
flyover: () => Promise<typeof import("*.svg")>;
|
|
44
|
+
gear: () => Promise<typeof import("*.svg")>;
|
|
45
|
+
geolocation: () => Promise<typeof import("*.svg")>;
|
|
46
|
+
globe: () => Promise<typeof import("*.svg")>;
|
|
47
|
+
google: () => Promise<typeof import("*.svg")>;
|
|
48
|
+
group: () => Promise<typeof import("*.svg")>;
|
|
49
|
+
github: () => Promise<typeof import("*.svg")>;
|
|
50
|
+
history: () => Promise<typeof import("*.svg")>;
|
|
51
|
+
image: () => Promise<typeof import("*.svg")>;
|
|
52
|
+
instagram: () => Promise<typeof import("*.svg")>;
|
|
53
|
+
home: () => Promise<typeof import("*.svg")>;
|
|
54
|
+
layers: () => Promise<typeof import("*.svg")>;
|
|
55
|
+
link: () => Promise<typeof import("*.svg")>;
|
|
56
|
+
loader: () => Promise<typeof import("*.svg")>;
|
|
57
|
+
lock: () => Promise<typeof import("*.svg")>;
|
|
58
|
+
lockOpen: () => Promise<typeof import("*.svg")>;
|
|
59
|
+
map: () => Promise<typeof import("*.svg")>;
|
|
60
|
+
menu: () => Promise<typeof import("*.svg")>;
|
|
61
|
+
mic: () => Promise<typeof import("*.svg")>;
|
|
62
|
+
micMuted: () => Promise<typeof import("*.svg")>;
|
|
63
|
+
minus: () => Promise<typeof import("*.svg")>;
|
|
64
|
+
moreVertical: () => Promise<typeof import("*.svg")>;
|
|
65
|
+
moreHorizontal: () => Promise<typeof import("*.svg")>;
|
|
66
|
+
output: () => Promise<typeof import("*.svg")>;
|
|
67
|
+
pause: () => Promise<typeof import("*.svg")>;
|
|
68
|
+
play: () => Promise<typeof import("*.svg")>;
|
|
69
|
+
plus: () => Promise<typeof import("*.svg")>;
|
|
70
|
+
redo: () => Promise<typeof import("*.svg")>;
|
|
71
|
+
undo: () => Promise<typeof import("*.svg")>;
|
|
72
|
+
usage: () => Promise<typeof import("*.svg")>;
|
|
73
|
+
requiredStar: () => Promise<typeof import("*.svg")>;
|
|
74
|
+
rewind: () => Promise<typeof import("*.svg")>;
|
|
75
|
+
rocket: () => Promise<typeof import("*.svg")>;
|
|
76
|
+
route: () => Promise<typeof import("*.svg")>;
|
|
77
|
+
routeFrom: () => Promise<typeof import("*.svg")>;
|
|
78
|
+
routeTo: () => Promise<typeof import("*.svg")>;
|
|
79
|
+
save: () => Promise<typeof import("*.svg")>;
|
|
80
|
+
search: () => Promise<typeof import("*.svg")>;
|
|
81
|
+
send: () => Promise<typeof import("*.svg")>;
|
|
82
|
+
settings: () => Promise<typeof import("*.svg")>;
|
|
83
|
+
shoppingBag: () => Promise<typeof import("*.svg")>;
|
|
84
|
+
smile: () => Promise<typeof import("*.svg")>;
|
|
85
|
+
soundWave: () => Promise<typeof import("*.svg")>;
|
|
86
|
+
sparks: () => Promise<typeof import("*.svg")>;
|
|
87
|
+
star: () => Promise<typeof import("*.svg")>;
|
|
88
|
+
stop: () => Promise<typeof import("*.svg")>;
|
|
89
|
+
stopInCircle: () => Promise<typeof import("*.svg")>;
|
|
90
|
+
syncArrows: () => Promise<typeof import("*.svg")>;
|
|
91
|
+
table: () => Promise<typeof import("*.svg")>;
|
|
92
|
+
telegram: () => Promise<typeof import("*.svg")>;
|
|
93
|
+
tool: () => Promise<typeof import("*.svg")>;
|
|
94
|
+
trafficLight: () => Promise<typeof import("*.svg")>;
|
|
89
95
|
};
|
|
90
96
|
export type { IconType } from './Icon.types';
|
|
91
97
|
export declare function Icon(props: T.Props): JSX.Element;
|
|
@@ -1,94 +1,95 @@
|
|
|
1
|
+
/// <reference types="uilib/declarations" />
|
|
1
2
|
declare const _default: {
|
|
2
|
-
attach: () => Promise<
|
|
3
|
-
apple: () => Promise<
|
|
4
|
-
arrowRight: () => Promise<
|
|
5
|
-
arrowLeft: () => Promise<
|
|
6
|
-
arrowUp: () => Promise<
|
|
7
|
-
arrowDown: () => Promise<
|
|
8
|
-
avatar: () => Promise<
|
|
9
|
-
bookmark: () => Promise<
|
|
10
|
-
bookmarkAdd: () => Promise<
|
|
11
|
-
brain: () => Promise<
|
|
12
|
-
brokenImage: () => Promise<
|
|
13
|
-
camera: () => Promise<
|
|
14
|
-
chat: () => Promise<
|
|
15
|
-
check: () => Promise<
|
|
16
|
-
close: () => Promise<
|
|
17
|
-
colors: () => Promise<
|
|
18
|
-
compass: () => Promise<
|
|
19
|
-
copy: () => Promise<
|
|
20
|
-
checkers: () => Promise<
|
|
21
|
-
chevronUp: () => Promise<
|
|
22
|
-
chevronDown: () => Promise<
|
|
23
|
-
chevronRight: () => Promise<
|
|
24
|
-
chevronLeft: () => Promise<
|
|
25
|
-
clearAll: () => Promise<
|
|
26
|
-
cubes: () => Promise<
|
|
27
|
-
delete: () => Promise<
|
|
28
|
-
draft: () => Promise<
|
|
29
|
-
dragHandlerHorizontal: () => Promise<
|
|
30
|
-
dragHandlerVertical: () => Promise<
|
|
31
|
-
edit: () => Promise<
|
|
32
|
-
email: () => Promise<
|
|
33
|
-
externalLink: () => Promise<
|
|
34
|
-
eye: () => Promise<
|
|
35
|
-
forward: () => Promise<
|
|
36
|
-
folder: () => Promise<
|
|
37
|
-
folderOpen: () => Promise<
|
|
38
|
-
fullscreen: () => Promise<
|
|
39
|
-
fullscreenExit: () => Promise<
|
|
40
|
-
function: () => Promise<
|
|
41
|
-
flyover: () => Promise<
|
|
42
|
-
gear: () => Promise<
|
|
43
|
-
geolocation: () => Promise<
|
|
44
|
-
globe: () => Promise<
|
|
45
|
-
google: () => Promise<
|
|
46
|
-
group: () => Promise<
|
|
47
|
-
github: () => Promise<
|
|
48
|
-
history: () => Promise<
|
|
49
|
-
image: () => Promise<
|
|
50
|
-
instagram: () => Promise<
|
|
51
|
-
home: () => Promise<
|
|
52
|
-
layers: () => Promise<
|
|
53
|
-
link: () => Promise<
|
|
54
|
-
loader: () => Promise<
|
|
55
|
-
lock: () => Promise<
|
|
56
|
-
lockOpen: () => Promise<
|
|
57
|
-
map: () => Promise<
|
|
58
|
-
menu: () => Promise<
|
|
59
|
-
mic: () => Promise<
|
|
60
|
-
micMuted: () => Promise<
|
|
61
|
-
minus: () => Promise<
|
|
62
|
-
moreVertical: () => Promise<
|
|
63
|
-
moreHorizontal: () => Promise<
|
|
64
|
-
output: () => Promise<
|
|
65
|
-
pause: () => Promise<
|
|
66
|
-
play: () => Promise<
|
|
67
|
-
plus: () => Promise<
|
|
68
|
-
redo: () => Promise<
|
|
69
|
-
undo: () => Promise<
|
|
70
|
-
usage: () => Promise<
|
|
71
|
-
requiredStar: () => Promise<
|
|
72
|
-
rewind: () => Promise<
|
|
73
|
-
rocket: () => Promise<
|
|
74
|
-
route: () => Promise<
|
|
75
|
-
routeFrom: () => Promise<
|
|
76
|
-
routeTo: () => Promise<
|
|
77
|
-
save: () => Promise<
|
|
78
|
-
search: () => Promise<
|
|
79
|
-
send: () => Promise<
|
|
80
|
-
settings: () => Promise<
|
|
81
|
-
shoppingBag: () => Promise<
|
|
82
|
-
smile: () => Promise<
|
|
83
|
-
soundWave: () => Promise<
|
|
84
|
-
sparks: () => Promise<
|
|
85
|
-
star: () => Promise<
|
|
86
|
-
stop: () => Promise<
|
|
87
|
-
stopInCircle: () => Promise<
|
|
88
|
-
syncArrows: () => Promise<
|
|
89
|
-
table: () => Promise<
|
|
90
|
-
telegram: () => Promise<
|
|
91
|
-
tool: () => Promise<
|
|
92
|
-
trafficLight: () => Promise<
|
|
3
|
+
attach: () => Promise<typeof import("*.svg")>;
|
|
4
|
+
apple: () => Promise<typeof import("*.svg")>;
|
|
5
|
+
arrowRight: () => Promise<typeof import("*.svg")>;
|
|
6
|
+
arrowLeft: () => Promise<typeof import("*.svg")>;
|
|
7
|
+
arrowUp: () => Promise<typeof import("*.svg")>;
|
|
8
|
+
arrowDown: () => Promise<typeof import("*.svg")>;
|
|
9
|
+
avatar: () => Promise<typeof import("*.svg")>;
|
|
10
|
+
bookmark: () => Promise<typeof import("*.svg")>;
|
|
11
|
+
bookmarkAdd: () => Promise<typeof import("*.svg")>;
|
|
12
|
+
brain: () => Promise<typeof import("*.svg")>;
|
|
13
|
+
brokenImage: () => Promise<typeof import("*.svg")>;
|
|
14
|
+
camera: () => Promise<typeof import("*.svg")>;
|
|
15
|
+
chat: () => Promise<typeof import("*.svg")>;
|
|
16
|
+
check: () => Promise<typeof import("*.svg")>;
|
|
17
|
+
close: () => Promise<typeof import("*.svg")>;
|
|
18
|
+
colors: () => Promise<typeof import("*.svg")>;
|
|
19
|
+
compass: () => Promise<typeof import("*.svg")>;
|
|
20
|
+
copy: () => Promise<typeof import("*.svg")>;
|
|
21
|
+
checkers: () => Promise<typeof import("*.svg")>;
|
|
22
|
+
chevronUp: () => Promise<typeof import("*.svg")>;
|
|
23
|
+
chevronDown: () => Promise<typeof import("*.svg")>;
|
|
24
|
+
chevronRight: () => Promise<typeof import("*.svg")>;
|
|
25
|
+
chevronLeft: () => Promise<typeof import("*.svg")>;
|
|
26
|
+
clearAll: () => Promise<typeof import("*.svg")>;
|
|
27
|
+
cubes: () => Promise<typeof import("*.svg")>;
|
|
28
|
+
delete: () => Promise<typeof import("*.svg")>;
|
|
29
|
+
draft: () => Promise<typeof import("*.svg")>;
|
|
30
|
+
dragHandlerHorizontal: () => Promise<typeof import("*.svg")>;
|
|
31
|
+
dragHandlerVertical: () => Promise<typeof import("*.svg")>;
|
|
32
|
+
edit: () => Promise<typeof import("*.svg")>;
|
|
33
|
+
email: () => Promise<typeof import("*.svg")>;
|
|
34
|
+
externalLink: () => Promise<typeof import("*.svg")>;
|
|
35
|
+
eye: () => Promise<typeof import("*.svg")>;
|
|
36
|
+
forward: () => Promise<typeof import("*.svg")>;
|
|
37
|
+
folder: () => Promise<typeof import("*.svg")>;
|
|
38
|
+
folderOpen: () => Promise<typeof import("*.svg")>;
|
|
39
|
+
fullscreen: () => Promise<typeof import("*.svg")>;
|
|
40
|
+
fullscreenExit: () => Promise<typeof import("*.svg")>;
|
|
41
|
+
function: () => Promise<typeof import("*.svg")>;
|
|
42
|
+
flyover: () => Promise<typeof import("*.svg")>;
|
|
43
|
+
gear: () => Promise<typeof import("*.svg")>;
|
|
44
|
+
geolocation: () => Promise<typeof import("*.svg")>;
|
|
45
|
+
globe: () => Promise<typeof import("*.svg")>;
|
|
46
|
+
google: () => Promise<typeof import("*.svg")>;
|
|
47
|
+
group: () => Promise<typeof import("*.svg")>;
|
|
48
|
+
github: () => Promise<typeof import("*.svg")>;
|
|
49
|
+
history: () => Promise<typeof import("*.svg")>;
|
|
50
|
+
image: () => Promise<typeof import("*.svg")>;
|
|
51
|
+
instagram: () => Promise<typeof import("*.svg")>;
|
|
52
|
+
home: () => Promise<typeof import("*.svg")>;
|
|
53
|
+
layers: () => Promise<typeof import("*.svg")>;
|
|
54
|
+
link: () => Promise<typeof import("*.svg")>;
|
|
55
|
+
loader: () => Promise<typeof import("*.svg")>;
|
|
56
|
+
lock: () => Promise<typeof import("*.svg")>;
|
|
57
|
+
lockOpen: () => Promise<typeof import("*.svg")>;
|
|
58
|
+
map: () => Promise<typeof import("*.svg")>;
|
|
59
|
+
menu: () => Promise<typeof import("*.svg")>;
|
|
60
|
+
mic: () => Promise<typeof import("*.svg")>;
|
|
61
|
+
micMuted: () => Promise<typeof import("*.svg")>;
|
|
62
|
+
minus: () => Promise<typeof import("*.svg")>;
|
|
63
|
+
moreVertical: () => Promise<typeof import("*.svg")>;
|
|
64
|
+
moreHorizontal: () => Promise<typeof import("*.svg")>;
|
|
65
|
+
output: () => Promise<typeof import("*.svg")>;
|
|
66
|
+
pause: () => Promise<typeof import("*.svg")>;
|
|
67
|
+
play: () => Promise<typeof import("*.svg")>;
|
|
68
|
+
plus: () => Promise<typeof import("*.svg")>;
|
|
69
|
+
redo: () => Promise<typeof import("*.svg")>;
|
|
70
|
+
undo: () => Promise<typeof import("*.svg")>;
|
|
71
|
+
usage: () => Promise<typeof import("*.svg")>;
|
|
72
|
+
requiredStar: () => Promise<typeof import("*.svg")>;
|
|
73
|
+
rewind: () => Promise<typeof import("*.svg")>;
|
|
74
|
+
rocket: () => Promise<typeof import("*.svg")>;
|
|
75
|
+
route: () => Promise<typeof import("*.svg")>;
|
|
76
|
+
routeFrom: () => Promise<typeof import("*.svg")>;
|
|
77
|
+
routeTo: () => Promise<typeof import("*.svg")>;
|
|
78
|
+
save: () => Promise<typeof import("*.svg")>;
|
|
79
|
+
search: () => Promise<typeof import("*.svg")>;
|
|
80
|
+
send: () => Promise<typeof import("*.svg")>;
|
|
81
|
+
settings: () => Promise<typeof import("*.svg")>;
|
|
82
|
+
shoppingBag: () => Promise<typeof import("*.svg")>;
|
|
83
|
+
smile: () => Promise<typeof import("*.svg")>;
|
|
84
|
+
soundWave: () => Promise<typeof import("*.svg")>;
|
|
85
|
+
sparks: () => Promise<typeof import("*.svg")>;
|
|
86
|
+
star: () => Promise<typeof import("*.svg")>;
|
|
87
|
+
stop: () => Promise<typeof import("*.svg")>;
|
|
88
|
+
stopInCircle: () => Promise<typeof import("*.svg")>;
|
|
89
|
+
syncArrows: () => Promise<typeof import("*.svg")>;
|
|
90
|
+
table: () => Promise<typeof import("*.svg")>;
|
|
91
|
+
telegram: () => Promise<typeof import("*.svg")>;
|
|
92
|
+
tool: () => Promise<typeof import("*.svg")>;
|
|
93
|
+
trafficLight: () => Promise<typeof import("*.svg")>;
|
|
93
94
|
};
|
|
94
95
|
export default _default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import * as T from './Notifications.types';
|
|
1
2
|
type Props = {
|
|
2
3
|
store?: any;
|
|
3
4
|
};
|
|
4
5
|
export declare const NotificationsStore: import("justorm/dist/esm/proxy").ProxyStore<{
|
|
5
6
|
items: string[];
|
|
6
|
-
|
|
7
|
+
autoHide: string[];
|
|
7
8
|
data: {};
|
|
8
9
|
paused: boolean;
|
|
9
|
-
show(data:
|
|
10
|
+
show(data: T.ItemParams): any;
|
|
10
11
|
pause(): void;
|
|
11
12
|
unpause(): void;
|
|
12
13
|
close(id: any): void;
|