ngx-lift 1.10.1 → 1.10.3
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/esm2022/lib/pipes/array-join.pipe.mjs +4 -4
- package/esm2022/lib/pipes/byte-converter.pipe.mjs +4 -4
- package/esm2022/lib/pipes/is-https.pipe.mjs +4 -4
- package/esm2022/lib/pipes/mask.pipe.mjs +4 -4
- package/esm2022/lib/pipes/range.pipe.mjs +4 -4
- package/esm2022/lib/signals/combine-from.mjs +12 -3
- package/esm2022/lib/utils/idle-detection/idle-detection.module.mjs +5 -5
- package/esm2022/lib/utils/idle-detection/idle-detection.service.mjs +4 -4
- package/esm2022/lib/utils/internal.util.mjs +13 -0
- package/esm2022/lib/utils/is-empty.util.mjs +40 -8
- package/fesm2022/ngx-lift.mjs +87 -34
- package/fesm2022/ngx-lift.mjs.map +1 -1
- package/lib/utils/internal.util.d.ts +4 -0
- package/lib/utils/is-empty.util.d.ts +8 -4
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
export declare function isEmpty(value: string): value is '';
|
|
1
2
|
/**
|
|
2
|
-
* Check if a value is empty.
|
|
3
|
-
* @param
|
|
4
|
-
* @returns
|
|
3
|
+
* Check if a value is null, undefined, empty ArrayLike, Map, Set or empty object.
|
|
4
|
+
* @param value The value to check.
|
|
5
|
+
* @returns Whether the value is null, undefined, empty ArrayLike, Map, Set or empty object.
|
|
5
6
|
*/
|
|
6
|
-
export declare function isEmpty<T extends object |
|
|
7
|
+
export declare function isEmpty<T extends object | ArrayLike<any> | Map<any, any> | Set<any>>(value: T | null | undefined): value is null | undefined;
|
|
8
|
+
export declare function isNotEmpty(value: ''): false;
|
|
9
|
+
export declare function isNotEmpty(value: string): value is Exclude<string, ''>;
|
|
10
|
+
export declare function isNotEmpty<T extends object | ArrayLike<any> | Map<any, any> | Set<any>>(value: T | null | undefined): value is T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-lift",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "A project has been crafted with the goal of enhancing and simplifying your Angular development experience.",
|
|
5
5
|
"author": "Guanghui Wang <guanghui-wang@foxmail.com>",
|
|
6
6
|
"license": "MIT",
|