@creative-web-solution/front-library 7.1.47 → 7.1.49
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/CHANGELOG.md +93 -123
- package/Events/MediaQueriesEvents.ts +228 -124
- package/Modules/Accordion/Tab.ts +49 -43
- package/Modules/Accordion/index.ts +60 -57
- package/README.md +1 -1
- package/Types/Accordion.d.ts +22 -16
- package/Types/EventsHelpers.d.ts +194 -156
- package/package.json +1 -1
package/Types/EventsHelpers.d.ts
CHANGED
|
@@ -1,177 +1,208 @@
|
|
|
1
1
|
declare namespace FLib {
|
|
2
2
|
namespace Events {
|
|
3
|
-
|
|
4
3
|
/**
|
|
5
4
|
* ------------------------------------------------------
|
|
6
5
|
* Device orientation Types
|
|
7
6
|
*
|
|
8
7
|
*/
|
|
9
8
|
namespace DeviceOrientation {
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
type Type =
|
|
10
|
+
| "landscape-primary"
|
|
11
|
+
| "portrait-primary"
|
|
12
|
+
| "landscape-secondary"
|
|
13
|
+
| "portrait-secondary"
|
|
14
|
+
| "";
|
|
12
15
|
|
|
13
16
|
type Options = {
|
|
14
|
-
onOrientationChange: (
|
|
15
|
-
}
|
|
17
|
+
onOrientationChange: (type: Type) => void;
|
|
18
|
+
};
|
|
16
19
|
}
|
|
17
20
|
|
|
18
|
-
|
|
19
21
|
/**
|
|
20
22
|
* ------------------------------------------------------
|
|
21
23
|
* Events manager Types
|
|
22
24
|
*
|
|
23
25
|
*/
|
|
24
26
|
namespace EventsManager {
|
|
25
|
-
|
|
26
27
|
interface DataRegistry {
|
|
27
28
|
$element: Element;
|
|
28
29
|
eventName: string;
|
|
29
|
-
options:
|
|
30
|
-
delegate?:
|
|
30
|
+
options: OnOptions;
|
|
31
|
+
delegate?: (e) => void;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
type EventOptions = {
|
|
34
|
-
capure?:
|
|
35
|
-
once?:
|
|
35
|
+
capure?: boolean;
|
|
36
|
+
once?: boolean;
|
|
36
37
|
passive?: boolean;
|
|
37
|
-
}
|
|
38
|
+
};
|
|
38
39
|
|
|
39
40
|
type OnOptions = {
|
|
40
41
|
/** Name of events separate by a space */
|
|
41
|
-
eventsName:
|
|
42
|
+
eventsName: string;
|
|
42
43
|
/** Css selector used for event delegation */
|
|
43
|
-
selector?:
|
|
44
|
-
callback:
|
|
44
|
+
selector?: string;
|
|
45
|
+
callback: (e, $target?) => void;
|
|
45
46
|
/** Active or not event capture. */
|
|
46
|
-
capture?:
|
|
47
|
+
capture?: boolean;
|
|
47
48
|
/** Native addEventListener options. Priority to options.capture if it's present. */
|
|
48
|
-
eventOptions?:
|
|
49
|
+
eventOptions?: EventOptions;
|
|
49
50
|
/** @internal */
|
|
50
|
-
_internalCallback?: (
|
|
51
|
-
}
|
|
51
|
+
_internalCallback?: (e, $target?) => void;
|
|
52
|
+
};
|
|
52
53
|
|
|
53
54
|
type OffOptions = {
|
|
54
55
|
/** Name of events separate by space */
|
|
55
56
|
eventsName: string;
|
|
56
|
-
callback?:
|
|
57
|
-
}
|
|
57
|
+
callback?: (e, $target?) => void;
|
|
58
|
+
};
|
|
58
59
|
|
|
59
60
|
type FireOptions = {
|
|
60
61
|
/** Name of events separate by space */
|
|
61
|
-
eventsName:
|
|
62
|
+
eventsName: string;
|
|
62
63
|
/** Object to send with the event */
|
|
63
|
-
detail?:
|
|
64
|
+
detail?: any;
|
|
64
65
|
/** Only used for DOM */
|
|
65
|
-
bubbles?:
|
|
66
|
+
bubbles?: true;
|
|
66
67
|
/** Only used for DOM */
|
|
67
68
|
cancelable?: true;
|
|
68
|
-
}
|
|
69
|
+
};
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
|
|
72
72
|
/**
|
|
73
73
|
* ------------------------------------------------------
|
|
74
74
|
* Gesture Types
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
namespace Gesture {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
type Direction =
|
|
79
|
+
| "up"
|
|
80
|
+
| "down"
|
|
81
|
+
| "left"
|
|
82
|
+
| "right"
|
|
83
|
+
| "up-right"
|
|
84
|
+
| "down-right"
|
|
85
|
+
| "up-left"
|
|
86
|
+
| "down-left"
|
|
87
|
+
| "none";
|
|
88
|
+
|
|
89
|
+
type Mode = "touch" | "mouse" | "pointer" | "click";
|
|
83
90
|
|
|
84
91
|
type Manager = {
|
|
85
92
|
off();
|
|
86
|
-
}
|
|
93
|
+
};
|
|
87
94
|
|
|
88
95
|
type VelocityReturnType = {
|
|
89
|
-
velocity:
|
|
96
|
+
velocity: number;
|
|
90
97
|
averageVelocity: number;
|
|
91
|
-
angle:
|
|
92
|
-
direction:
|
|
93
|
-
}
|
|
98
|
+
angle: number;
|
|
99
|
+
direction: Direction;
|
|
100
|
+
};
|
|
94
101
|
|
|
95
102
|
type Coords = {
|
|
96
|
-
pageX:
|
|
97
|
-
pageY:
|
|
103
|
+
pageX: number;
|
|
104
|
+
pageY: number;
|
|
98
105
|
clientX: number;
|
|
99
106
|
clientY: number;
|
|
100
|
-
mode:
|
|
101
|
-
}
|
|
107
|
+
mode: Mode;
|
|
108
|
+
};
|
|
102
109
|
|
|
103
110
|
type Velocity = {
|
|
104
|
-
velocity:
|
|
111
|
+
velocity: number;
|
|
105
112
|
velocityDistance: number;
|
|
106
|
-
deltaTime:
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
type PreventAndStopPropagation =
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
deltaTime: number;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
type PreventAndStopPropagation =
|
|
117
|
+
| boolean
|
|
118
|
+
| ((e, $target: HTMLElement) => boolean);
|
|
119
|
+
type Callback = (
|
|
120
|
+
e: Event,
|
|
121
|
+
$target: HTMLElement,
|
|
122
|
+
coords: Coords,
|
|
123
|
+
type: string,
|
|
124
|
+
) => void;
|
|
125
|
+
type SwipeCallback = (
|
|
126
|
+
e: Event,
|
|
127
|
+
$target: HTMLElement,
|
|
128
|
+
type: string,
|
|
129
|
+
) => void;
|
|
113
130
|
|
|
114
131
|
interface Options {
|
|
115
132
|
/** Used for event delegation */
|
|
116
|
-
selector?:
|
|
133
|
+
selector?: string;
|
|
117
134
|
/** In px, minimal distance to do to trigger events.
|
|
118
135
|
* @defaultValue 20
|
|
119
136
|
*/
|
|
120
|
-
threshold?:
|
|
137
|
+
threshold?: number;
|
|
121
138
|
/**
|
|
122
139
|
* Use all touch, pointer or mouse events, or only click event */
|
|
123
|
-
useTouch?:
|
|
140
|
+
useTouch?: boolean;
|
|
124
141
|
/**
|
|
125
142
|
* Cap valocity
|
|
126
143
|
* @defaultValue -1
|
|
127
144
|
*/
|
|
128
|
-
velocityMax?:
|
|
145
|
+
velocityMax?: number;
|
|
129
146
|
/**
|
|
130
147
|
* In deg, sensitivity of angle detection
|
|
131
148
|
* @defaultValue 2
|
|
132
149
|
*/
|
|
133
|
-
angleThreshold?:
|
|
150
|
+
angleThreshold?: number;
|
|
134
151
|
/** @defaultValue false */
|
|
135
|
-
preventClick?:
|
|
152
|
+
preventClick?: PreventAndStopPropagation;
|
|
136
153
|
/** @defaultValue false */
|
|
137
154
|
stopPropagationClick?: PreventAndStopPropagation;
|
|
138
155
|
/** @defaultValue false */
|
|
139
|
-
preventStart?:
|
|
156
|
+
preventStart?: PreventAndStopPropagation;
|
|
140
157
|
/** @defaultValue false */
|
|
141
158
|
stopPropagationStart?: PreventAndStopPropagation;
|
|
142
159
|
/** @defaultValue false */
|
|
143
|
-
preventMove?:
|
|
160
|
+
preventMove?: PreventAndStopPropagation;
|
|
144
161
|
/** @defaultValue false */
|
|
145
|
-
stopPropagationMove?:
|
|
162
|
+
stopPropagationMove?: PreventAndStopPropagation;
|
|
146
163
|
/** @defaultValue false */
|
|
147
|
-
preventEnd?:
|
|
164
|
+
preventEnd?: PreventAndStopPropagation;
|
|
148
165
|
/** @defaultValue false */
|
|
149
|
-
stopPropagationEnd?:
|
|
166
|
+
stopPropagationEnd?: PreventAndStopPropagation;
|
|
150
167
|
/** touchstart, pointerdown, mousedown */
|
|
151
|
-
start?:
|
|
168
|
+
start?: Callback;
|
|
152
169
|
/** touchmove, pointermove, mousemove */
|
|
153
|
-
move?:
|
|
170
|
+
move?: Callback;
|
|
154
171
|
/** touchend, pointerup, mouseup */
|
|
155
|
-
end?:
|
|
172
|
+
end?: Callback;
|
|
156
173
|
/** click */
|
|
157
|
-
click?:
|
|
174
|
+
click?: Callback;
|
|
158
175
|
/** touchend on touch device, click on other */
|
|
159
|
-
tap?:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
176
|
+
tap?: (
|
|
177
|
+
e: Event,
|
|
178
|
+
$target: HTMLElement,
|
|
179
|
+
coords: Coords,
|
|
180
|
+
type: string,
|
|
181
|
+
) => void;
|
|
182
|
+
swipeLeft?: SwipeCallback;
|
|
183
|
+
swipeRight?: SwipeCallback;
|
|
184
|
+
swipeUp?: SwipeCallback;
|
|
185
|
+
swipeDown?: SwipeCallback;
|
|
186
|
+
swipe?: (
|
|
187
|
+
e: Event,
|
|
188
|
+
$target: HTMLElement,
|
|
189
|
+
velocity: VelocityReturnType,
|
|
190
|
+
type: string,
|
|
191
|
+
) => void;
|
|
192
|
+
moveLeft?: SwipeCallback;
|
|
193
|
+
moveRight?: SwipeCallback;
|
|
194
|
+
moveUp?: SwipeCallback;
|
|
195
|
+
moveDown?: SwipeCallback;
|
|
169
196
|
}
|
|
170
197
|
|
|
171
|
-
type Elements =
|
|
198
|
+
type Elements =
|
|
199
|
+
| Node
|
|
200
|
+
| NodeList
|
|
201
|
+
| Node[]
|
|
202
|
+
| HTMLElement
|
|
203
|
+
| HTMLElement[];
|
|
172
204
|
}
|
|
173
205
|
|
|
174
|
-
|
|
175
206
|
/**
|
|
176
207
|
* ------------------------------------------------------
|
|
177
208
|
* History controller Types
|
|
@@ -179,26 +210,25 @@ declare namespace FLib {
|
|
|
179
210
|
*/
|
|
180
211
|
namespace History {
|
|
181
212
|
type StateObject = {
|
|
182
|
-
url:
|
|
183
|
-
state:
|
|
184
|
-
title:
|
|
185
|
-
}
|
|
213
|
+
url: URL;
|
|
214
|
+
state: any;
|
|
215
|
+
title: string;
|
|
216
|
+
};
|
|
186
217
|
|
|
187
|
-
type Callback = (
|
|
218
|
+
type Callback = (url: URL, state: any) => void;
|
|
188
219
|
}
|
|
189
220
|
|
|
190
|
-
|
|
191
221
|
/**
|
|
192
222
|
* ------------------------------------------------------
|
|
193
223
|
* Images load Types
|
|
194
224
|
*
|
|
195
225
|
*/
|
|
196
226
|
namespace ImagesLoad {
|
|
197
|
-
type LoadEvent =
|
|
227
|
+
type LoadEvent = "load" | "error" | "complete";
|
|
198
228
|
|
|
199
229
|
interface CallbackParam {
|
|
200
230
|
$element: Element;
|
|
201
|
-
type:
|
|
231
|
+
type: LoadEvent;
|
|
202
232
|
}
|
|
203
233
|
|
|
204
234
|
interface PromiseLoad extends Promise<CallbackParam> {
|
|
@@ -210,7 +240,6 @@ declare namespace FLib {
|
|
|
210
240
|
}
|
|
211
241
|
}
|
|
212
242
|
|
|
213
|
-
|
|
214
243
|
/**
|
|
215
244
|
* ------------------------------------------------------
|
|
216
245
|
* Intersect Observer Types
|
|
@@ -219,117 +248,128 @@ declare namespace FLib {
|
|
|
219
248
|
namespace IntersectObserver {
|
|
220
249
|
type Options = {
|
|
221
250
|
/** Callback function */
|
|
222
|
-
onIntersecting: (
|
|
251
|
+
onIntersecting: (
|
|
252
|
+
$target: Node,
|
|
253
|
+
entry: IntersectionObserverEntry,
|
|
254
|
+
) => void;
|
|
223
255
|
/** Execute the callback only once per $elements the first time it intersect the viewport. Default: false */
|
|
224
|
-
onlyOnce?:
|
|
256
|
+
onlyOnce?: boolean;
|
|
225
257
|
/** Native options to create to IntersectionObserver API */
|
|
226
|
-
ioOptions?:
|
|
227
|
-
}
|
|
258
|
+
ioOptions?: IntersectionObserverInit;
|
|
259
|
+
};
|
|
228
260
|
}
|
|
229
261
|
|
|
230
|
-
|
|
231
262
|
/**
|
|
232
263
|
* ------------------------------------------------------
|
|
233
264
|
* Keyboard handler Types
|
|
234
265
|
*
|
|
235
266
|
*/
|
|
236
267
|
namespace KeyboardHandler {
|
|
237
|
-
type Callback = (
|
|
268
|
+
type Callback = (
|
|
269
|
+
event: KeyboardEvent,
|
|
270
|
+
$context: HTMLElement,
|
|
271
|
+
) => void;
|
|
238
272
|
|
|
239
273
|
type Options = {
|
|
240
274
|
/** Used for event delegation */
|
|
241
|
-
selector?:
|
|
275
|
+
selector?: string;
|
|
242
276
|
/** Prevent default on all key pressed, except TAB */
|
|
243
277
|
preventDefault?: boolean;
|
|
244
|
-
onEnter?:
|
|
245
|
-
onSpace?:
|
|
278
|
+
onEnter?: Callback;
|
|
279
|
+
onSpace?: Callback;
|
|
246
280
|
/** Called when pressing ENTER or SPACE */
|
|
247
|
-
onSelect?:
|
|
248
|
-
onEscape?:
|
|
249
|
-
onTab?:
|
|
250
|
-
onTabReverse?:
|
|
281
|
+
onSelect?: Callback;
|
|
282
|
+
onEscape?: Callback;
|
|
283
|
+
onTab?: Callback;
|
|
284
|
+
onTabReverse?: Callback;
|
|
251
285
|
/** Called when pressing RIGHT ARROW KEYS */
|
|
252
|
-
onRight?:
|
|
286
|
+
onRight?: Callback;
|
|
253
287
|
/** Called when pressing LEFT ARROW KEYS */
|
|
254
|
-
onLeft?:
|
|
288
|
+
onLeft?: Callback;
|
|
255
289
|
/** Called when pressing UP ARROW KEYS */
|
|
256
|
-
onUp?:
|
|
290
|
+
onUp?: Callback;
|
|
257
291
|
/** Called when pressing DOWN ARROW KEYS */
|
|
258
|
-
onDown?:
|
|
259
|
-
onPageUp?:
|
|
260
|
-
onPageDown?:
|
|
292
|
+
onDown?: Callback;
|
|
293
|
+
onPageUp?: Callback;
|
|
294
|
+
onPageDown?: Callback;
|
|
261
295
|
/** Called when pressing LEFT or DOWN arrow keys */
|
|
262
|
-
onPrevious?:
|
|
296
|
+
onPrevious?: Callback;
|
|
263
297
|
/** Called when pressing RIGHT or UP arrow keys */
|
|
264
|
-
onNext?:
|
|
298
|
+
onNext?: Callback;
|
|
265
299
|
/** Called on every key */
|
|
266
|
-
onKey?:
|
|
267
|
-
}
|
|
300
|
+
onKey?: Callback;
|
|
301
|
+
};
|
|
268
302
|
}
|
|
269
303
|
|
|
270
|
-
|
|
271
304
|
/**
|
|
272
305
|
* ------------------------------------------------------
|
|
273
306
|
* Mediaqueries event Types
|
|
274
307
|
*
|
|
275
308
|
*/
|
|
276
309
|
namespace MediaqueriesEvents {
|
|
277
|
-
|
|
278
310
|
type Breakpoint = {
|
|
279
|
-
name:
|
|
311
|
+
name: string;
|
|
280
312
|
|
|
281
313
|
/** Object buid with the window.matchMedia() function */
|
|
282
|
-
query: MediaQueryList
|
|
314
|
+
query: MediaQueryList;
|
|
283
315
|
|
|
284
316
|
/** mediaquery lower bound */
|
|
285
|
-
min?:
|
|
317
|
+
min?: number;
|
|
286
318
|
|
|
287
319
|
/** mediaquery upper bound */
|
|
288
|
-
max?:
|
|
320
|
+
max?: number;
|
|
289
321
|
|
|
290
322
|
/** Return true if the breakpoint is in the list: breakpoint.in(['bp1', 'bp2']) */
|
|
291
|
-
in:
|
|
323
|
+
in: (breakpointNameList: string[]) => boolean;
|
|
292
324
|
|
|
293
325
|
/** Return true if the name passed to the function is the name of the breakpoint: breakpoint.is */
|
|
294
|
-
is:
|
|
326
|
+
is: (breakpointName: string) => boolean;
|
|
327
|
+
|
|
328
|
+
index: number;
|
|
329
|
+
|
|
330
|
+
isBefore(breakpointName: string): boolean;
|
|
331
|
+
isBeforeOrSame(breakpointName: string): boolean;
|
|
332
|
+
isAfter(breakpointName: string): boolean;
|
|
333
|
+
isAfterOrSame(breakpointName: string): boolean;
|
|
295
334
|
|
|
296
335
|
/** @internal */
|
|
297
|
-
handler: (
|
|
298
|
-
}
|
|
336
|
+
handler: (e: MediaQueryListEvent) => void;
|
|
337
|
+
};
|
|
299
338
|
|
|
300
339
|
type CallbackType = "enter" | "leave" | "both";
|
|
301
340
|
|
|
302
|
-
type Callback = (
|
|
341
|
+
type Callback = (
|
|
342
|
+
breakpoint: Breakpoint,
|
|
343
|
+
isMatching?: boolean,
|
|
344
|
+
) => void;
|
|
303
345
|
|
|
304
346
|
type ListOptions = {
|
|
305
|
-
name:
|
|
306
|
-
query?: MediaQueryList
|
|
307
|
-
min?:
|
|
308
|
-
max?:
|
|
309
|
-
}
|
|
347
|
+
name: string;
|
|
348
|
+
query?: MediaQueryList;
|
|
349
|
+
min?: number;
|
|
350
|
+
max?: number;
|
|
351
|
+
};
|
|
310
352
|
|
|
311
353
|
type Options = {
|
|
312
354
|
/** Default: px */
|
|
313
355
|
unit?: string;
|
|
314
|
-
}
|
|
356
|
+
};
|
|
315
357
|
|
|
316
358
|
type InternalCallbackType = {
|
|
317
|
-
callback: Callback
|
|
318
|
-
type:
|
|
319
|
-
}
|
|
359
|
+
callback: Callback;
|
|
360
|
+
type: CallbackType;
|
|
361
|
+
};
|
|
320
362
|
}
|
|
321
363
|
|
|
322
|
-
|
|
323
364
|
/**
|
|
324
365
|
* ------------------------------------------------------
|
|
325
366
|
* PubSub Types
|
|
326
367
|
*
|
|
327
368
|
*/
|
|
328
369
|
namespace PubSub {
|
|
329
|
-
type Callback = (
|
|
370
|
+
type Callback = (data?: any) => void;
|
|
330
371
|
}
|
|
331
372
|
|
|
332
|
-
|
|
333
373
|
/**
|
|
334
374
|
* ------------------------------------------------------
|
|
335
375
|
* Touch hover Types
|
|
@@ -337,54 +377,52 @@ declare namespace FLib {
|
|
|
337
377
|
*/
|
|
338
378
|
namespace TouchHover {
|
|
339
379
|
type Options = {
|
|
340
|
-
cssClass: string
|
|
341
|
-
selector: string
|
|
342
|
-
$wrapper: Element
|
|
343
|
-
}
|
|
380
|
+
cssClass: string;
|
|
381
|
+
selector: string;
|
|
382
|
+
$wrapper: Element;
|
|
383
|
+
};
|
|
344
384
|
}
|
|
345
385
|
|
|
346
|
-
|
|
347
386
|
/**
|
|
348
387
|
* ------------------------------------------------------
|
|
349
388
|
* Window events Types
|
|
350
389
|
*
|
|
351
390
|
*/
|
|
352
391
|
namespace WindowEvents {
|
|
353
|
-
type Type
|
|
392
|
+
type Type = "both" | "force" | "resize" | "scroll";
|
|
354
393
|
|
|
355
394
|
type ScrollInfo = {
|
|
356
|
-
top:
|
|
395
|
+
top: number;
|
|
357
396
|
left: number;
|
|
358
|
-
}
|
|
397
|
+
};
|
|
359
398
|
|
|
360
399
|
type WindowInfo = {
|
|
361
|
-
width:
|
|
400
|
+
width: number;
|
|
362
401
|
height: number;
|
|
363
|
-
}
|
|
402
|
+
};
|
|
364
403
|
|
|
365
404
|
type DocumentInfo = {
|
|
366
|
-
width:
|
|
405
|
+
width: number;
|
|
367
406
|
height: number;
|
|
368
|
-
}
|
|
407
|
+
};
|
|
369
408
|
|
|
370
409
|
type ViewportInfo = {
|
|
371
|
-
top:
|
|
372
|
-
left:
|
|
373
|
-
bottom:
|
|
374
|
-
right:
|
|
375
|
-
width:
|
|
376
|
-
height:
|
|
377
|
-
}
|
|
378
|
-
|
|
410
|
+
top: number;
|
|
411
|
+
left: number;
|
|
412
|
+
bottom: number;
|
|
413
|
+
right: number;
|
|
414
|
+
width: number;
|
|
415
|
+
height: number;
|
|
416
|
+
};
|
|
379
417
|
|
|
380
418
|
type CallbackParam = {
|
|
381
|
-
windowInfo:
|
|
382
|
-
scrollInfo:
|
|
383
|
-
documentInfo: DocumentInfo
|
|
384
|
-
viewportInfo: ViewportInfo
|
|
385
|
-
}
|
|
419
|
+
windowInfo: WindowInfo;
|
|
420
|
+
scrollInfo: ScrollInfo;
|
|
421
|
+
documentInfo: DocumentInfo;
|
|
422
|
+
viewportInfo: ViewportInfo;
|
|
423
|
+
};
|
|
386
424
|
|
|
387
|
-
type Callback = (
|
|
425
|
+
type Callback = (info: CallbackParam, type: Type, e?) => void;
|
|
388
426
|
}
|
|
389
427
|
}
|
|
390
428
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@creative-web-solution/front-library",
|
|
3
3
|
"title": "Frontend library",
|
|
4
4
|
"description": "Frontend functions and modules",
|
|
5
|
-
"version": "7.1.
|
|
5
|
+
"version": "7.1.49",
|
|
6
6
|
"homepage": "https://github.com/creative-web-solution/front-library",
|
|
7
7
|
"author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
|
|
8
8
|
"keywords": [],
|