@acorex/core 19.13.3 → 19.13.5
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/fesm2022/acorex-core-components.mjs +3 -3
- package/fesm2022/acorex-core-components.mjs.map +1 -1
- package/fesm2022/acorex-core-config.mjs +3 -3
- package/fesm2022/acorex-core-config.mjs.map +1 -1
- package/fesm2022/acorex-core-date-time.mjs +25 -25
- package/fesm2022/acorex-core-date-time.mjs.map +1 -1
- package/fesm2022/acorex-core-events.mjs +3 -3
- package/fesm2022/acorex-core-events.mjs.map +1 -1
- package/fesm2022/acorex-core-file.mjs +10 -10
- package/fesm2022/acorex-core-file.mjs.map +1 -1
- package/fesm2022/acorex-core-format.mjs +19 -19
- package/fesm2022/acorex-core-format.mjs.map +1 -1
- package/fesm2022/acorex-core-image.mjs +3 -3
- package/fesm2022/acorex-core-image.mjs.map +1 -1
- package/fesm2022/acorex-core-locale.mjs +10 -10
- package/fesm2022/acorex-core-locale.mjs.map +1 -1
- package/fesm2022/acorex-core-network.mjs +3 -3
- package/fesm2022/acorex-core-network.mjs.map +1 -1
- package/fesm2022/acorex-core-pipes.mjs +3 -3
- package/fesm2022/acorex-core-pipes.mjs.map +1 -1
- package/fesm2022/acorex-core-platform.mjs +3 -3
- package/fesm2022/acorex-core-platform.mjs.map +1 -1
- package/fesm2022/acorex-core-storage.mjs +22 -24
- package/fesm2022/acorex-core-storage.mjs.map +1 -1
- package/fesm2022/acorex-core-translation.mjs +95 -39
- package/fesm2022/acorex-core-translation.mjs.map +1 -1
- package/fesm2022/acorex-core-types.mjs +80 -1
- package/fesm2022/acorex-core-types.mjs.map +1 -1
- package/fesm2022/acorex-core-utils.mjs +3 -3
- package/fesm2022/acorex-core-utils.mjs.map +1 -1
- package/fesm2022/acorex-core-validation.mjs +40 -40
- package/fesm2022/acorex-core-validation.mjs.map +1 -1
- package/package.json +1 -1
- package/storage/cookie-storage.service.d.ts +2 -2
- package/translation/lib/translation-loader.service.d.ts +2 -2
- package/types/index.d.ts +1 -0
- package/types/lib/events.d.ts +96 -0
@@ -0,0 +1,96 @@
|
|
1
|
+
/**
|
2
|
+
* Contains native event
|
3
|
+
* @category Events
|
4
|
+
*/
|
5
|
+
export declare class AXEvent {
|
6
|
+
/**
|
7
|
+
* The sender component
|
8
|
+
*/
|
9
|
+
component: any;
|
10
|
+
/**
|
11
|
+
* The root native element
|
12
|
+
*/
|
13
|
+
htmlElement?: HTMLElement;
|
14
|
+
isUserInteraction?: boolean;
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* Contains native event
|
18
|
+
* @category Events
|
19
|
+
*/
|
20
|
+
export declare class AXHtmlEvent<E extends Event = Event> extends AXEvent {
|
21
|
+
nativeEvent?: E;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Contains native event
|
25
|
+
* @category Events
|
26
|
+
*/
|
27
|
+
export declare class AXValueChangedEvent<T = any> extends AXEvent {
|
28
|
+
name?: string;
|
29
|
+
value?: T;
|
30
|
+
oldValue?: T;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Contains native event
|
34
|
+
* @category Events
|
35
|
+
*/
|
36
|
+
export declare class AXOptionChangedEvent<T = any> extends AXEvent {
|
37
|
+
name?: string;
|
38
|
+
newValue?: T;
|
39
|
+
oldValue?: T;
|
40
|
+
}
|
41
|
+
/**
|
42
|
+
* Fires each time the user click the element.
|
43
|
+
* @category Events
|
44
|
+
*/
|
45
|
+
export declare class AXClickEvent extends AXHtmlEvent<MouseEvent> {
|
46
|
+
/**
|
47
|
+
* uses for extra data
|
48
|
+
*/
|
49
|
+
data?: any;
|
50
|
+
nativeEvent?: any;
|
51
|
+
}
|
52
|
+
/**
|
53
|
+
* Fires each time the user click the element.
|
54
|
+
* @category Events
|
55
|
+
*/
|
56
|
+
export declare class AXButtonClickEvent extends AXClickEvent {
|
57
|
+
name: string;
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* Fires each time the user click the element.
|
61
|
+
* @category Events
|
62
|
+
*/
|
63
|
+
export declare class AXItemClickEvent<T = any> extends AXClickEvent {
|
64
|
+
name?: string;
|
65
|
+
item: T;
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* Fires each time the component gets focused.
|
69
|
+
* @category Events
|
70
|
+
*/
|
71
|
+
export declare class AXFocusEvent extends AXHtmlEvent<FocusEvent> {
|
72
|
+
}
|
73
|
+
/**
|
74
|
+
* Fires each time an item or multiple items selected by the user or value.
|
75
|
+
* @category Events
|
76
|
+
*/
|
77
|
+
export declare class AXSelectionValueChangedEvent extends AXValueChangedEvent<any | any[]> {
|
78
|
+
value?: any;
|
79
|
+
oldValue?: any;
|
80
|
+
selectedKeys?: any[];
|
81
|
+
selectedItems?: any[];
|
82
|
+
}
|
83
|
+
/**
|
84
|
+
* Contains range start & end values
|
85
|
+
* @category Events
|
86
|
+
*/
|
87
|
+
export declare class AXRangeChangedEvent<T> extends AXEvent {
|
88
|
+
/**
|
89
|
+
* The range start value
|
90
|
+
*/
|
91
|
+
start?: T;
|
92
|
+
/**
|
93
|
+
* The range end value
|
94
|
+
*/
|
95
|
+
end?: T;
|
96
|
+
}
|