@base-framework/base 3.5.49 → 3.5.50

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.
Files changed (78) hide show
  1. package/dist/base.js +1 -1
  2. package/dist/base.js.map +3 -3
  3. package/dist/types/main/base.d.ts +10 -11
  4. package/dist/types/main/data-tracker/data-tracker.d.ts +2 -2
  5. package/dist/types/main/data-tracker/tracker.d.ts +1 -1
  6. package/dist/types/main/events/event-methods.d.ts +1 -1
  7. package/dist/types/main/events/events.d.ts +9 -9
  8. package/dist/types/modules/ajax/ajax.d.ts +2 -2
  9. package/dist/types/modules/ajax/xhr-default-settings.d.ts +7 -9
  10. package/dist/types/modules/ajax/xhr-request.d.ts +4 -4
  11. package/dist/types/modules/animation/animation.d.ts +3 -3
  12. package/dist/types/modules/animations/animation-controller.d.ts +4 -1
  13. package/dist/types/modules/animations/attr-movement.d.ts +0 -14
  14. package/dist/types/modules/animations/css-movement.d.ts +11 -1
  15. package/dist/types/modules/animations/movement.d.ts +79 -14
  16. package/dist/types/modules/animations/value.d.ts +113 -25
  17. package/dist/types/modules/component/cloak.d.ts +1 -1
  18. package/dist/types/modules/component/component.d.ts +12 -13
  19. package/dist/types/modules/component/event-helper.d.ts +4 -4
  20. package/dist/types/modules/component/parse-args.d.ts +1 -1
  21. package/dist/types/modules/component/pod.d.ts +1 -1
  22. package/dist/types/modules/component/prop-utils.d.ts +2 -2
  23. package/dist/types/modules/component/state-helper.d.ts +13 -13
  24. package/dist/types/modules/component/unit.d.ts +27 -25
  25. package/dist/types/modules/data/types/basic-data.d.ts +6 -6
  26. package/dist/types/modules/data/types/deep-data/data-utils.d.ts +2 -2
  27. package/dist/types/modules/data/types/deep-data/deep-data.d.ts +2 -2
  28. package/dist/types/modules/data/types/deep-data/publisher.d.ts +2 -2
  29. package/dist/types/modules/data/types/model/model-service.d.ts +28 -28
  30. package/dist/types/modules/data-binder/connection-tracker/connection-tracker.d.ts +2 -2
  31. package/dist/types/modules/data-binder/connection-tracker/connections/one-way-connection.d.ts +2 -3
  32. package/dist/types/modules/data-binder/connection-tracker/connections/two-way-connection.d.ts +8 -10
  33. package/dist/types/modules/data-binder/data-binder.d.ts +17 -16
  34. package/dist/types/modules/data-binder/data-pub-sub.d.ts +1 -1
  35. package/dist/types/modules/data-binder/sources/data-source.d.ts +3 -3
  36. package/dist/types/modules/data-binder/sources/element-source.d.ts +4 -4
  37. package/dist/types/modules/data-binder/sources/source.d.ts +4 -4
  38. package/dist/types/modules/data-binder/sources/two-way-source.d.ts +2 -2
  39. package/dist/types/modules/date/date-time.d.ts +4 -4
  40. package/dist/types/modules/html/html.d.ts +2 -2
  41. package/dist/types/modules/import/group.d.ts +4 -4
  42. package/dist/types/modules/import/import-wrapper.d.ts +2 -2
  43. package/dist/types/modules/layout/builder.d.ts +2 -2
  44. package/dist/types/modules/layout/directives/core/parent/parent-directives.d.ts +1 -1
  45. package/dist/types/modules/layout/directives/core/reactive/data-set.d.ts +2 -2
  46. package/dist/types/modules/layout/directives/core/reactive/map.d.ts +1 -1
  47. package/dist/types/modules/layout/directives/core/reactive/on-set.d.ts +1 -1
  48. package/dist/types/modules/layout/directives/core/reactive/on-state.d.ts +1 -1
  49. package/dist/types/modules/layout/directives/core/switch.d.ts +1 -1
  50. package/dist/types/modules/layout/directives/directives.d.ts +4 -4
  51. package/dist/types/modules/layout/element/element.d.ts +1 -1
  52. package/dist/types/modules/layout/element/parser.d.ts +6 -6
  53. package/dist/types/modules/layout/html-helper.d.ts +4 -4
  54. package/dist/types/modules/layout/html-to-string.d.ts +4 -4
  55. package/dist/types/modules/layout/render/render.d.ts +2 -2
  56. package/dist/types/modules/router/history/browser-history.d.ts +6 -6
  57. package/dist/types/modules/router/history/hash-history.d.ts +6 -0
  58. package/dist/types/modules/router/history/history.d.ts +2 -2
  59. package/dist/types/modules/router/nav-link.d.ts +2 -2
  60. package/dist/types/modules/router/router.d.ts +37 -28
  61. package/dist/types/modules/router/routes/component-helper.d.ts +0 -5
  62. package/dist/types/modules/router/routes/param-pattern.d.ts +2 -2
  63. package/dist/types/modules/router/routes/route.d.ts +1 -1
  64. package/dist/types/modules/router/utils.d.ts +9 -9
  65. package/dist/types/modules/state/state-tracker.d.ts +1 -1
  66. package/dist/types/shared/arrays.d.ts +4 -4
  67. package/dist/types/shared/dom.d.ts +2 -2
  68. package/dist/types/shared/encode/encode.d.ts +4 -9
  69. package/package.json +1 -1
  70. package/dist/types/modules/atom/atoms.d.ts +0 -343
  71. package/dist/types/modules/data/attrs.d.ts +0 -1
  72. package/dist/types/modules/data/basic-data.d.ts +0 -259
  73. package/dist/types/modules/data/data-utils.d.ts +0 -17
  74. package/dist/types/modules/data/deep-data.d.ts +0 -162
  75. package/dist/types/modules/data/model-service.d.ts +0 -280
  76. package/dist/types/modules/data/model.d.ts +0 -33
  77. package/dist/types/modules/data/simple-data.d.ts +0 -12
  78. package/dist/types/modules/router/routes/cloak.d.ts +0 -12
@@ -15,9 +15,9 @@ export class StateHelper {
15
15
  */
16
16
  constructor(state: object, states: object);
17
17
  /**
18
- * @member {array} remoteStates
18
+ * @type {Array<any>} remoteStates
19
19
  */
20
- remoteStates: any[];
20
+ remoteStates: Array<any>;
21
21
  /**
22
22
  * This will add states to a state.
23
23
  *
@@ -41,18 +41,18 @@ export class StateHelper {
41
41
  *
42
42
  * @protected
43
43
  * @param {object} action
44
- * @returns {array}
44
+ * @returns {Array<any>}
45
45
  */
46
- protected convertStates(action: object): any[];
46
+ protected convertStates(action: object): Array<any>;
47
47
  /**
48
48
  * This will setup remote states.
49
49
  *
50
50
  * @protected
51
- * @param {array} remotes
52
- * @param {array} actions
51
+ * @param {Array<any>} remotes
52
+ * @param {Array<any>} actions
53
53
  * @returns {void}
54
54
  */
55
- protected setupRemoteStates(remotes: any[], actions: any[]): void;
55
+ protected setupRemoteStates(remotes: Array<any>, actions: Array<any>): void;
56
56
  /**
57
57
  * This will remove remote states.
58
58
  *
@@ -64,10 +64,10 @@ export class StateHelper {
64
64
  * This will remove the actions.
65
65
  *
66
66
  * @param {object} state
67
- * @param {array} actions
67
+ * @param {Array<any>} actions
68
68
  * @returns {void}
69
69
  */
70
- removeActions(state: object, actions: any[]): void;
70
+ removeActions(state: object, actions: Array<any>): void;
71
71
  /**
72
72
  * This will restore a state.
73
73
  *
@@ -97,16 +97,16 @@ export class StateHelper {
97
97
  *
98
98
  * @protected
99
99
  * @param {object} state
100
- * @param {array} actions
100
+ * @param {Array<any>} actions
101
101
  * @returns {void}
102
102
  */
103
- protected addStatesToTarget(state: object, actions: any[]): void;
103
+ protected addStatesToTarget(state: object, actions: Array<any>): void;
104
104
  /**
105
105
  * This will add an action.
106
106
  *
107
107
  * @param {object} target
108
108
  * @param {object} action
109
- * @returns {string}
109
+ * @returns {string|null}
110
110
  */
111
- addAction(target: object, action: object): string;
111
+ addAction(target: object, action: object): string | null;
112
112
  }
@@ -28,55 +28,55 @@ export class Unit {
28
28
  */
29
29
  constructor(...args: any[]);
30
30
  /**
31
- * @member {boolean} isUnit
31
+ * @type {boolean} isUnit
32
32
  */
33
33
  isUnit: boolean;
34
34
  /**
35
- * @member {Data|null} data
35
+ * @type {Data|null} data
36
36
  */
37
- data: any;
37
+ data: Data | null;
38
38
  /**
39
- * @member {boolean|null} persist
39
+ * @type {boolean|null} persist
40
40
  */
41
- persist: any;
41
+ persist: boolean | null;
42
42
  /**
43
- * @member {?array} nest
43
+ * @type {?array} nest
44
44
  */
45
- nest: any;
45
+ nest: any[] | null;
46
46
  /**
47
- * @member {StateTarget|null} state
47
+ * @type {StateTarget|null} state
48
48
  */
49
- state: any;
49
+ state: StateTarget | null;
50
50
  /**
51
- * @member {?object} panel
51
+ * @type {?object} panel
52
52
  */
53
- panel: any;
53
+ panel: object | null;
54
54
  /**
55
- * @member {?Unit} parent
55
+ * @type {?Unit} parent
56
56
  */
57
- parent: any;
57
+ parent: Unit | null;
58
58
  /**
59
- * @member {?string} unitType
59
+ * @type {?string} unitType
60
60
  */
61
- unitType: string;
61
+ unitType: string | null;
62
62
  /**
63
- * @member {array} cached
63
+ * @type {Array<any>} cached
64
64
  */
65
- cached: any[];
65
+ cached: Array<any>;
66
66
  /**
67
- * @member {array} children
67
+ * @type {Array<any>} children
68
68
  */
69
- children: any;
69
+ children: Array<any>;
70
70
  persistedChildren: {};
71
71
  persistedCount: number;
72
72
  /**
73
- * @member {boolean} rendered
73
+ * @type {boolean} rendered
74
74
  */
75
75
  rendered: boolean;
76
76
  /**
77
- * @member {?object} container
77
+ * @type {?object} container
78
78
  */
79
- container: any;
79
+ container: object | null;
80
80
  /**
81
81
  * This will setup the component number and unique
82
82
  * instance id for the component elements.
@@ -250,11 +250,11 @@ export class Unit {
250
250
  * This will map an array to children elements.
251
251
  *
252
252
  * @protected
253
- * @param {array} items
253
+ * @param {Array<any>} items
254
254
  * @param {function} callBack
255
- * @returns {array}
255
+ * @returns {Array<any>}
256
256
  */
257
- protected map(items: any[], callBack: Function): any[];
257
+ protected map(items: Array<any>, callBack: Function): Array<any>;
258
258
  /**
259
259
  * This will remove children from an element.
260
260
  *
@@ -350,3 +350,5 @@ export class Unit {
350
350
  */
351
351
  destroy(): void;
352
352
  }
353
+ import { Data } from '../data/data.js';
354
+ import { StateTarget } from '../state/state-target.js';
@@ -34,18 +34,18 @@ export class BasicData {
34
34
  */
35
35
  constructor(settings?: object);
36
36
  /**
37
- * @member {boolean} dirty
37
+ * @type {boolean} dirty
38
38
  * @default false
39
39
  */
40
40
  dirty: boolean;
41
41
  /**
42
- * @member {object} links
42
+ * @type {object} links
43
43
  * @default {}
44
44
  * @protected
45
45
  */
46
- protected links: Map<any, any>;
46
+ protected links: object;
47
47
  /**
48
- * @member {string} dataTypeId
48
+ * @type {string} dataTypeId
49
49
  */
50
50
  dataTypeId: string;
51
51
  eventSub: DataPubSub;
@@ -57,9 +57,9 @@ export class BasicData {
57
57
  */
58
58
  protected setup(): void;
59
59
  /**
60
- * @member {object} stage
60
+ * @type {object} stage
61
61
  */
62
- stage: {};
62
+ stage: object;
63
63
  /**
64
64
  * This will setup the number and unique id of the data object.
65
65
  *
@@ -11,7 +11,7 @@ export namespace DataUtils {
11
11
  * This will get the deep data segments.
12
12
  *
13
13
  * @param {string} str
14
- * @returns {array}
14
+ * @returns {Array<any>|null}
15
15
  */
16
- function getSegments(str: string): any[];
16
+ function getSegments(str: string): Array<any> | null;
17
17
  }
@@ -59,10 +59,10 @@ export class Data extends BasicData {
59
59
  * This will concatenate values to an array and set the result.
60
60
  *
61
61
  * @param {string} attr
62
- * @param {array} values
62
+ * @param {Array<any>} values
63
63
  * @returns {object} this
64
64
  */
65
- concat(attr: string, values: any[]): object;
65
+ concat(attr: string, values: Array<any>): object;
66
66
  /**
67
67
  * This will add a value to an array and set the result.
68
68
  *
@@ -30,11 +30,11 @@ export class Publisher {
30
30
  *
31
31
  * @protected
32
32
  * @param {string} pathString
33
- * @param {array} obj
33
+ * @param {Array<any>} obj
34
34
  * @param {function} callBack
35
35
  * @returns {void}
36
36
  */
37
- protected static publishArray(pathString: string, obj: any[], callBack: Function): void;
37
+ protected static publishArray(pathString: string, obj: Array<any>, callBack: Function): void;
38
38
  /**
39
39
  * This will publish an object to the data binder.
40
40
  *
@@ -21,21 +21,21 @@ export class ModelService {
21
21
  */
22
22
  constructor(model: object);
23
23
  /**
24
- * @member {Model} model
24
+ * @type {any} model
25
25
  */
26
26
  model: any;
27
27
  /**
28
- * @member {string} objectType The return type.
28
+ * @type {string} objectType The return type.
29
29
  */
30
30
  objectType: string;
31
31
  /**
32
- * @member {string} url
32
+ * @type {string} url
33
33
  */
34
34
  url: string;
35
35
  /**
36
- * @member {function} validateCallBack
36
+ * @type {function|null} validateCallBack
37
37
  */
38
- validateCallBack: any;
38
+ validateCallBack: Function | null;
39
39
  /**
40
40
  * This will initialize the model service.
41
41
  *
@@ -171,11 +171,11 @@ export class ModelService {
171
171
  * @param {string} url
172
172
  * @param {string} method
173
173
  * @param {(string|object)} params
174
- * @param {function} callBack
174
+ * @param {function} [callBack]
175
175
  * @param {function} [requestCallBack]
176
176
  * @returns {XMLHttpRequest}
177
177
  */
178
- protected setupRequest(url: string, method: string, params: (string | object), callBack: Function, requestCallBack?: Function): XMLHttpRequest;
178
+ protected setupRequest(url: string, method: string, params: (string | object), callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
179
179
  /**
180
180
  * Set up an EventSource for real-time activity updates with auto-reconnection.
181
181
  *
@@ -219,60 +219,60 @@ export class ModelService {
219
219
  * @protected
220
220
  * @param {string} url
221
221
  * @param {(string|object)} params
222
- * @param {string} instanceParams
223
- * @param {function} callBack
222
+ * @param {string} [instanceParams]
223
+ * @param {function} [callBack]
224
224
  * @param {function} [requestCallBack]
225
225
  * @returns {XMLHttpRequest}
226
226
  */
227
- protected _get(url: string, params: (string | object), instanceParams: string, callBack: Function, requestCallBack?: Function): XMLHttpRequest;
227
+ protected _get(url: string, params: (string | object), instanceParams?: string, callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
228
228
  /**
229
229
  * This will make a POST request.
230
230
  *
231
231
  * @protected
232
232
  * @param {string} url
233
233
  * @param {(string|object)} params
234
- * @param {string} instanceParams
235
- * @param {function} callBack
234
+ * @param {string} [instanceParams]
235
+ * @param {function} [callBack]
236
236
  * @param {function} [requestCallBack]
237
237
  * @returns {XMLHttpRequest}
238
238
  */
239
- protected _post(url: string, params: (string | object), instanceParams: string, callBack: Function, requestCallBack?: Function): XMLHttpRequest;
239
+ protected _post(url: string, params: (string | object), instanceParams?: string, callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
240
240
  /**
241
241
  * This will make a PUT request.
242
242
  *
243
243
  * @protected
244
244
  * @param {string} url
245
245
  * @param {(string|object)} params
246
- * @param {string} instanceParams
247
- * @param {function} callBack
246
+ * @param {string} [instanceParams]
247
+ * @param {function} [callBack]
248
248
  * @param {function} [requestCallBack]
249
249
  * @returns {XMLHttpRequest}
250
250
  */
251
- protected _put(url: string, params: (string | object), instanceParams: string, callBack: Function, requestCallBack?: Function): XMLHttpRequest;
251
+ protected _put(url: string, params: (string | object), instanceParams?: string, callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
252
252
  /**
253
253
  * This will make a PATCH request.
254
254
  *
255
255
  * @protected
256
256
  * @param {string} url
257
257
  * @param {(string|object)} params
258
- * @param {string} instanceParams
259
- * @param {function} callBack
258
+ * @param {string} [instanceParams]
259
+ * @param {function} [callBack]
260
260
  * @param {function} [requestCallBack]
261
261
  * @returns {XMLHttpRequest}
262
262
  */
263
- protected _patch(url: string, params: (string | object), instanceParams: string, callBack: Function, requestCallBack?: Function): XMLHttpRequest;
263
+ protected _patch(url: string, params: (string | object), instanceParams?: string, callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
264
264
  /**
265
265
  * This will make a DELETE request.
266
266
  *
267
267
  * @protected
268
268
  * @param {string} url
269
269
  * @param {(string|object)} params
270
- * @param {string} instanceParams
271
- * @param {function} callBack
270
+ * @param {string} [instanceParams]
271
+ * @param {function} [callBack]
272
272
  * @param {function} [requestCallBack]
273
273
  * @returns {XMLHttpRequest}
274
274
  */
275
- protected _delete(url: string, params: (string | object), instanceParams: string, callBack: Function, requestCallBack?: Function): XMLHttpRequest;
275
+ protected _delete(url: string, params: (string | object), instanceParams?: string, callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
276
276
  /**
277
277
  * This will make an ajax request.
278
278
  *
@@ -280,20 +280,20 @@ export class ModelService {
280
280
  * @param {string} url
281
281
  * @param {string} method
282
282
  * @param {(string|object)} params
283
- * @param {string} instanceParams
284
- * @param {function} callBack
283
+ * @param {string} [instanceParams]
284
+ * @param {function} [callBack]
285
285
  * @param {function} [requestCallBack]
286
286
  * @returns {XMLHttpRequest}
287
287
  */
288
- protected _request(url: string, method: string, params: (string | object), instanceParams: string, callBack: Function, requestCallBack?: Function): XMLHttpRequest;
288
+ protected _request(url: string, method: string, params: (string | object), instanceParams?: string, callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
289
289
  /**
290
290
  * This will get the response.
291
291
  *
292
292
  * @protected
293
293
  * @param {object} response
294
- * @param {function} callBack
295
- * @param {object} xhr
294
+ * @param {function} [callBack]
295
+ * @param {object} [xhr]
296
296
  * @returns {void}
297
297
  */
298
- protected getResponse(response: object, callBack: Function, xhr: object): void;
298
+ protected getResponse(response: object, callBack?: Function, xhr?: object): void;
299
299
  }
@@ -8,9 +8,9 @@
8
8
  */
9
9
  export class ConnectionTracker {
10
10
  /**
11
- * @member {Map<string, Map<string, object|object[]>>} connections
11
+ * @type {Map<string, Map<string, object|object[]>>} connections
12
12
  */
13
- connections: Map<any, any>;
13
+ connections: Map<string, Map<string, object | object[]>>;
14
14
  /**
15
15
  * Adds a connection to be tracked.
16
16
  *
@@ -8,9 +8,9 @@
8
8
  */
9
9
  export class OneWayConnection extends Connection {
10
10
  /**
11
- * @member {object|null} source
11
+ * @type {object|null} source
12
12
  */
13
- source: OneWaySource;
13
+ source: object | null;
14
14
  /**
15
15
  * This will setup the connection source.
16
16
  *
@@ -20,4 +20,3 @@ export class OneWayConnection extends Connection {
20
20
  addSource(data: object): object;
21
21
  }
22
22
  import { Connection } from './connection.js';
23
- import { OneWaySource } from '../../sources/one-way-source.js';
@@ -15,26 +15,26 @@ export class TwoWayConnection extends Connection {
15
15
  */
16
16
  constructor(pubSub: object);
17
17
  /**
18
- * @member {object|null} element
18
+ * @type {object|null} element
19
19
  */
20
- element: ElementSource;
20
+ element: object | null;
21
21
  /**
22
- * @member {object|null} data
22
+ * @type {object|null} data
23
23
  */
24
- data: DataSource;
24
+ data: object | null;
25
25
  /**
26
- * @member {object} pubSub
26
+ * @type {object} pubSub
27
27
  */
28
- pubSub: any;
28
+ pubSub: object;
29
29
  /**
30
30
  * This will add the element source.
31
31
  *
32
32
  * @param {object} element
33
33
  * @param {string} attr
34
- * @param {(string|function)} filter
34
+ * @param {string|function} filter
35
35
  * @returns {object}
36
36
  */
37
- addElement(element: object, attr: string, filter: (string | Function)): object;
37
+ addElement(element: object, attr: string, filter: string | Function): object;
38
38
  /**
39
39
  * This will add the data source.
40
40
  *
@@ -59,5 +59,3 @@ export class TwoWayConnection extends Connection {
59
59
  override unsubscribe(): object;
60
60
  }
61
61
  import { Connection } from './connection.js';
62
- import { ElementSource } from '../../sources/element-source.js';
63
- import { DataSource } from '../../sources/data-source.js';
@@ -8,30 +8,30 @@
8
8
  */
9
9
  export class DataBinder {
10
10
  /**
11
- * @member {string} version
11
+ * @type {string} version
12
12
  */
13
13
  version: string;
14
14
  /**
15
- * @member {string} attr
15
+ * @type {string} attr
16
16
  */
17
17
  attr: string;
18
18
  /**
19
- * @member {array} blockedKeys
19
+ * @type {Array<any>} blockedKeys
20
20
  * @protected
21
21
  */
22
- protected blockedKeys: number[];
22
+ protected blockedKeys: Array<any>;
23
23
  /**
24
- * @member {object} connections
24
+ * @type {object} connections
25
25
  * @protected
26
26
  */
27
- protected connections: ConnectionTracker;
27
+ protected connections: object;
28
28
  /**
29
- * @member {object} pubSub
29
+ * @type {object} pubSub
30
30
  * @protected
31
31
  */
32
- protected pubSub: DataPubSub;
32
+ protected pubSub: object;
33
33
  /**
34
- * @member {number} idCount
34
+ * @type {number} idCount
35
35
  */
36
36
  idCount: number;
37
37
  /**
@@ -47,10 +47,10 @@ export class DataBinder {
47
47
  * @param {object} element
48
48
  * @param {object} data
49
49
  * @param {string} prop
50
- * @param {(string|function)} [filter]
50
+ * @param {string|function} filter
51
51
  * @returns {object} an instance of the databinder.
52
52
  */
53
- bind(element: object, data: object, prop: string, filter?: (string | Function)): object;
53
+ bind(element: object, data: object, prop: string, filter: string | Function): object;
54
54
  /**
55
55
  * This will bind an element to a data property.
56
56
  *
@@ -59,10 +59,10 @@ export class DataBinder {
59
59
  * @param {object} data
60
60
  * @param {string} prop
61
61
  * @param {string} customAttr
62
- * @param {(string|function)} [filter]
62
+ * @param {string|function} filter
63
63
  * @returns {object} The new connection.
64
64
  */
65
- protected setupConnection(element: object, data: object, prop: string, customAttr: string, filter?: (string | Function)): object;
65
+ protected setupConnection(element: object, data: object, prop: string, customAttr: string, filter: string | Function): object;
66
66
  /**
67
67
  * This will add a new connection to the
68
68
  * connection tracker.
@@ -154,7 +154,10 @@ export class DataBinder {
154
154
  * @returns {void}
155
155
  */
156
156
  protected setupEvents(): void;
157
- changeHandler: any;
157
+ /**
158
+ * @type {function} changeHandler
159
+ */
160
+ changeHandler: Function;
158
161
  /**
159
162
  * This will add the events.
160
163
  *
@@ -171,5 +174,3 @@ export class DataBinder {
171
174
  protected removeEvents(): void;
172
175
  }
173
176
  export const dataBinder: DataBinder;
174
- import { ConnectionTracker } from './connection-tracker/connection-tracker.js';
175
- import { DataPubSub } from './data-pub-sub.js';
@@ -8,7 +8,7 @@
8
8
  */
9
9
  export class DataPubSub {
10
10
  /**
11
- * @member {Map} callBacks
11
+ * @type {Map} callBacks
12
12
  * @protected
13
13
  */
14
14
  protected callBacks: Map<any, any>;
@@ -18,11 +18,11 @@ export class DataSource extends TwoWaySource {
18
18
  */
19
19
  constructor(data: object, prop: string, pubSub: object);
20
20
  /**
21
- * @member {object} data
21
+ * @type {object} data
22
22
  */
23
- data: any;
23
+ data: object;
24
24
  /**
25
- * @member {string} prop
25
+ * @type {string} prop
26
26
  */
27
27
  prop: string;
28
28
  /**
@@ -19,15 +19,15 @@ export class ElementSource extends TwoWaySource {
19
19
  */
20
20
  constructor(element: object, attr: string, filter: string | Function, pubSub: object);
21
21
  /**
22
- * @member {object} element
22
+ * @type {object} element
23
23
  */
24
- element: any;
24
+ element: object;
25
25
  /**
26
- * @member {string} attr
26
+ * @type {string} attr
27
27
  */
28
28
  attr: string;
29
29
  /**
30
- * @member {function} filter
30
+ * @type {function} filter
31
31
  * @private
32
32
  */
33
33
  private filter;
@@ -8,14 +8,14 @@
8
8
  */
9
9
  export class Source {
10
10
  /**
11
- * @member {string} msg
11
+ * @type {string|null} msg
12
12
  * @protected
13
13
  */
14
- protected msg: any;
14
+ protected msg: string | null;
15
15
  /**
16
- * @member {string} token
16
+ * @type {string|null} token
17
17
  */
18
- token: string;
18
+ token: string | null;
19
19
  /**
20
20
  * This will set the token.
21
21
  *
@@ -16,9 +16,9 @@ export class TwoWaySource extends Source {
16
16
  */
17
17
  constructor(pubSub: object);
18
18
  /**
19
- * @member {object} pubSub
19
+ * @type {object} pubSub
20
20
  */
21
- pubSub: any;
21
+ pubSub: object;
22
22
  /**
23
23
  * This will subscribe to a message.
24
24
  *
@@ -1,6 +1,6 @@
1
1
  export namespace DateTime {
2
- let monthNames: string[];
3
- let dayNames: string[];
2
+ let monthNames: Array<any>;
3
+ let dayNames: Array<any>;
4
4
  /**
5
5
  * This will get the day name.
6
6
  *
@@ -123,9 +123,9 @@ export namespace DateTime {
123
123
  * This will get the length of all the months.
124
124
  *
125
125
  * @param {number} year
126
- * @returns {array}
126
+ * @returns {Array<any>}
127
127
  */
128
- function getMonthsLength(year?: number): any[];
128
+ function getMonthsLength(year?: number): Array<any>;
129
129
  /**
130
130
  * This will get the local date.
131
131
  *
@@ -69,10 +69,10 @@ export class Html {
69
69
  * This will create the options on a select.
70
70
  *
71
71
  * @param {object} selectElem
72
- * @param {array} optionArray
72
+ * @param {Array<any>} optionArray
73
73
  * @param {string} [defaultValue]
74
74
  */
75
- static setupSelectOptions(selectElem: object, optionArray: any[], defaultValue?: string): boolean;
75
+ static setupSelectOptions(selectElem: object, optionArray: Array<any>, defaultValue?: string): boolean;
76
76
  /**
77
77
  * This will remove an elements data.
78
78
  *