@conterra/ct-mapapps-typings 4.19.1-next.20250114065409 → 4.19.1-next.20250116045936
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/ct/_equal.d.ts +1 -1
- package/ct/_lang.d.ts +1 -1
- package/ct/array.d.ts +1 -1
- package/ct/async.d.ts +6 -6
- package/graphics/GraphicsBuilder.d.ts +2 -0
- package/package.json +1 -1
- package/test-utils/later.d.ts +1 -1
- package/test-utils/waitForProperty.d.ts +1 -1
package/ct/_equal.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* // do something if true
|
|
14
14
|
* }
|
|
15
15
|
*/
|
|
16
|
-
declare function equals(a: Any, b: Any, enablePlainObjectCompare?: boolean
|
|
16
|
+
declare function equals(a: Any, b: Any, enablePlainObjectCompare?: boolean, withFunctions?: boolean): boolean;
|
|
17
17
|
declare namespace equals {
|
|
18
18
|
export { equals };
|
|
19
19
|
export { equalsOwnProps };
|
package/ct/_lang.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare function getOwnPropertiesArray(obj: any, withFunctions: any): any[];
|
|
|
24
24
|
declare function getFirstOwnPropNameWithValue(obj: any, value: any, withFunctions: any): null;
|
|
25
25
|
declare function getOwnPropNamesWithValue(obj: any, value: any, withFunctions: any): any[];
|
|
26
26
|
declare function merge(target: any, ...args: any[]): any;
|
|
27
|
-
declare function transform(filter: Function, cb: Function, scope?: object
|
|
27
|
+
declare function transform(filter: Function, cb: Function, scope?: object, value: Any, name?: string, index?: number): any;
|
|
28
28
|
declare function clone(x: any): any;
|
|
29
29
|
|
|
30
30
|
declare namespace exports {
|
package/ct/array.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ interface Filter {
|
|
|
37
37
|
* { attributename : function(a,b){...} }
|
|
38
38
|
* @returns {Function} comparator function, directly usable in Array.sort method.
|
|
39
39
|
*/
|
|
40
|
-
declare function arrayComparator(sortSpec: any[] | ct.Hash, comparatorMap?: Object
|
|
40
|
+
declare function arrayComparator(sortSpec: any[] | ct.Hash, comparatorMap?: Object): Function;
|
|
41
41
|
declare function arraySort(input: any, comparatorOrSortSpec: any, comparatorMap: any): any;
|
|
42
42
|
declare function arrayFilter(...args: any[]): Filter;
|
|
43
43
|
declare function arrayTestFunction(filterOrTestObj: any, ignoreCase: any): any;
|
package/ct/async.d.ts
CHANGED
|
@@ -5,16 +5,16 @@ declare function queue(): {
|
|
|
5
5
|
chain: (...args: any[]) => any;
|
|
6
6
|
};
|
|
7
7
|
declare function task(...args: any[]): {
|
|
8
|
-
run: (...args: any[]) => any;
|
|
9
|
-
delay: (...args: any[]) => any;
|
|
8
|
+
run: (...args: any[]) => /*elided*/ any;
|
|
9
|
+
delay: (...args: any[]) => /*elided*/ any;
|
|
10
10
|
promise: () => any;
|
|
11
11
|
cancel: () => void;
|
|
12
12
|
isRunning: () => boolean;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
declare function asyncfn(...args: any[]): {
|
|
16
|
-
run: (...args: any[]) => any;
|
|
17
|
-
delay: (...args: any[]) => any;
|
|
16
|
+
run: (...args: any[]) => /*elided*/ any;
|
|
17
|
+
delay: (...args: any[]) => /*elided*/ any;
|
|
18
18
|
promise: () => any;
|
|
19
19
|
cancel: () => void;
|
|
20
20
|
isRunning: () => boolean;
|
|
@@ -30,8 +30,8 @@ declare function ExecutionQueue(): {
|
|
|
30
30
|
chain: (...args: any[]) => any;
|
|
31
31
|
};
|
|
32
32
|
declare function AsyncTask(...args: any[]): {
|
|
33
|
-
run: (...args: any[]) => any;
|
|
34
|
-
delay: (...args: any[]) => any;
|
|
33
|
+
run: (...args: any[]) => /*elided*/ any;
|
|
34
|
+
delay: (...args: any[]) => /*elided*/ any;
|
|
35
35
|
promise: () => any;
|
|
36
36
|
cancel: () => void;
|
|
37
37
|
isRunning: () => boolean;
|
package/package.json
CHANGED
package/test-utils/later.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import Promise$1 from 'apprt-core/Promise';
|
|
|
18
18
|
* }
|
|
19
19
|
* @deprecated use {@link test-utils/waitFor} instead.
|
|
20
20
|
*/
|
|
21
|
-
declare function later(cb?:
|
|
21
|
+
declare function later(cb?: Function | number, delay?: number): Promise$1<any>;
|
|
22
22
|
/**
|
|
23
23
|
* Helper to bind 'later' to custom delay.
|
|
24
24
|
*
|
|
@@ -25,6 +25,6 @@ import Promise$1 from 'apprt-core/CancelablePromise';
|
|
|
25
25
|
* assert.equal(value, 1);
|
|
26
26
|
* @deprecated use {@link test-utils/waitFor} instead.
|
|
27
27
|
*/
|
|
28
|
-
declare function waitForProperty(mutable: Mutable | Accessor | Stateful, property: string, comparatorOrExpectedValue?: Function | undefined | value, { timeout }?: Object
|
|
28
|
+
declare function waitForProperty(mutable: Mutable | Accessor | Stateful, property: string, comparatorOrExpectedValue?: Function | undefined | value, { timeout }?: Object): Promise$1<any>;
|
|
29
29
|
|
|
30
30
|
export { waitForProperty as default };
|