ngx-lift 1.10.2 → 19.0.0

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 (106) hide show
  1. package/README.md +5 -1
  2. package/fesm2022/ngx-lift.mjs +738 -194
  3. package/fesm2022/ngx-lift.mjs.map +1 -1
  4. package/index.d.ts +1638 -3
  5. package/package.json +6 -6
  6. package/esm2022/lib/const.mjs +0 -10
  7. package/esm2022/lib/models/async-state.model.mjs +0 -2
  8. package/esm2022/lib/models/index.mjs +0 -6
  9. package/esm2022/lib/models/kubernetes-list.model.mjs +0 -2
  10. package/esm2022/lib/models/kubernetes-object-condition.model.mjs +0 -2
  11. package/esm2022/lib/models/kubernetes-object-meta.model.mjs +0 -2
  12. package/esm2022/lib/models/kubernetes-object.model.mjs +0 -2
  13. package/esm2022/lib/operators/combine-latest-eager.operator.mjs +0 -48
  14. package/esm2022/lib/operators/create-async-state.operator.mjs +0 -61
  15. package/esm2022/lib/operators/distinct-on-change.operator.mjs +0 -80
  16. package/esm2022/lib/operators/index.mjs +0 -9
  17. package/esm2022/lib/operators/kubernetes-pagination.operator.mjs +0 -71
  18. package/esm2022/lib/operators/logger.operator.mjs +0 -21
  19. package/esm2022/lib/operators/poll.operator.mjs +0 -39
  20. package/esm2022/lib/operators/start-with-tap.operator.mjs +0 -15
  21. package/esm2022/lib/operators/switch-map-with-async-state.operator.mjs +0 -33
  22. package/esm2022/lib/pipes/array-join.pipe.mjs +0 -21
  23. package/esm2022/lib/pipes/byte-converter.pipe.mjs +0 -150
  24. package/esm2022/lib/pipes/index.mjs +0 -6
  25. package/esm2022/lib/pipes/is-https.pipe.mjs +0 -18
  26. package/esm2022/lib/pipes/mask.pipe.mjs +0 -36
  27. package/esm2022/lib/pipes/range.pipe.mjs +0 -19
  28. package/esm2022/lib/signals/combine-from.mjs +0 -81
  29. package/esm2022/lib/signals/computed-async.mjs +0 -63
  30. package/esm2022/lib/signals/create-trigger.mjs +0 -11
  31. package/esm2022/lib/signals/index.mjs +0 -7
  32. package/esm2022/lib/signals/inject-params.mjs +0 -35
  33. package/esm2022/lib/signals/inject-query-params.mjs +0 -53
  34. package/esm2022/lib/signals/merge-from.mjs +0 -71
  35. package/esm2022/lib/utils/difference-in-days.util.mjs +0 -25
  36. package/esm2022/lib/utils/form.util.mjs +0 -56
  37. package/esm2022/lib/utils/idle-detection/idle-detection.config.mjs +0 -7
  38. package/esm2022/lib/utils/idle-detection/idle-detection.module.mjs +0 -25
  39. package/esm2022/lib/utils/idle-detection/idle-detection.service.mjs +0 -190
  40. package/esm2022/lib/utils/idle-detection/index.mjs +0 -4
  41. package/esm2022/lib/utils/index.mjs +0 -10
  42. package/esm2022/lib/utils/internal.util.mjs +0 -13
  43. package/esm2022/lib/utils/is-empty.util.mjs +0 -49
  44. package/esm2022/lib/utils/is-equal.util.mjs +0 -24
  45. package/esm2022/lib/utils/is-promise.util.mjs +0 -5
  46. package/esm2022/lib/utils/omit-by.util.mjs +0 -12
  47. package/esm2022/lib/utils/pick-by.util.mjs +0 -16
  48. package/esm2022/lib/utils/range.util.mjs +0 -28
  49. package/esm2022/lib/utils/url.util.mjs +0 -34
  50. package/esm2022/lib/validators/date-range.validator.mjs +0 -58
  51. package/esm2022/lib/validators/index.mjs +0 -5
  52. package/esm2022/lib/validators/intersection.validator.mjs +0 -34
  53. package/esm2022/lib/validators/unique.validator.mjs +0 -64
  54. package/esm2022/lib/validators/url.validator.mjs +0 -14
  55. package/esm2022/ngx-lift.mjs +0 -5
  56. package/esm2022/public-api.mjs +0 -10
  57. package/lib/const.d.ts +0 -5
  58. package/lib/models/async-state.model.d.ts +0 -22
  59. package/lib/models/index.d.ts +0 -5
  60. package/lib/models/kubernetes-list.model.d.ts +0 -10
  61. package/lib/models/kubernetes-object-condition.model.d.ts +0 -28
  62. package/lib/models/kubernetes-object-meta.model.d.ts +0 -38
  63. package/lib/models/kubernetes-object.model.d.ts +0 -8
  64. package/lib/operators/combine-latest-eager.operator.d.ts +0 -7
  65. package/lib/operators/create-async-state.operator.d.ts +0 -64
  66. package/lib/operators/distinct-on-change.operator.d.ts +0 -55
  67. package/lib/operators/index.d.ts +0 -8
  68. package/lib/operators/kubernetes-pagination.operator.d.ts +0 -30
  69. package/lib/operators/logger.operator.d.ts +0 -11
  70. package/lib/operators/poll.operator.d.ts +0 -39
  71. package/lib/operators/start-with-tap.operator.d.ts +0 -10
  72. package/lib/operators/switch-map-with-async-state.operator.d.ts +0 -31
  73. package/lib/pipes/array-join.pipe.d.ts +0 -7
  74. package/lib/pipes/byte-converter.pipe.d.ts +0 -40
  75. package/lib/pipes/index.d.ts +0 -5
  76. package/lib/pipes/is-https.pipe.d.ts +0 -7
  77. package/lib/pipes/mask.pipe.d.ts +0 -19
  78. package/lib/pipes/range.pipe.d.ts +0 -10
  79. package/lib/signals/combine-from.d.ts +0 -25
  80. package/lib/signals/computed-async.d.ts +0 -29
  81. package/lib/signals/create-trigger.d.ts +0 -4
  82. package/lib/signals/index.d.ts +0 -6
  83. package/lib/signals/inject-params.d.ts +0 -63
  84. package/lib/signals/inject-query-params.d.ts +0 -71
  85. package/lib/signals/merge-from.d.ts +0 -13
  86. package/lib/utils/difference-in-days.util.d.ts +0 -19
  87. package/lib/utils/form.util.d.ts +0 -18
  88. package/lib/utils/idle-detection/idle-detection.config.d.ts +0 -5
  89. package/lib/utils/idle-detection/idle-detection.module.d.ts +0 -13
  90. package/lib/utils/idle-detection/idle-detection.service.d.ts +0 -119
  91. package/lib/utils/idle-detection/index.d.ts +0 -3
  92. package/lib/utils/index.d.ts +0 -9
  93. package/lib/utils/internal.util.d.ts +0 -4
  94. package/lib/utils/is-empty.util.d.ts +0 -10
  95. package/lib/utils/is-equal.util.d.ts +0 -7
  96. package/lib/utils/is-promise.util.d.ts +0 -1
  97. package/lib/utils/omit-by.util.d.ts +0 -7
  98. package/lib/utils/pick-by.util.d.ts +0 -7
  99. package/lib/utils/range.util.d.ts +0 -12
  100. package/lib/utils/url.util.d.ts +0 -24
  101. package/lib/validators/date-range.validator.d.ts +0 -19
  102. package/lib/validators/index.d.ts +0 -4
  103. package/lib/validators/intersection.validator.d.ts +0 -9
  104. package/lib/validators/unique.validator.d.ts +0 -18
  105. package/lib/validators/url.validator.d.ts +0 -3
  106. package/public-api.d.ts +0 -6
@@ -1,19 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- /**
3
- * Interface defining the options for the date range validator.
4
- */
5
- interface DateRangeOptions {
6
- minDate?: Date | string;
7
- maxDate?: Date | string;
8
- minInclusive?: boolean;
9
- maxInclusive?: boolean;
10
- compareTime?: boolean;
11
- }
12
- /**
13
- * Validates a date against a specified date range.
14
- *
15
- * @param {DateRangeOptions} options - The options for the date range validation.
16
- * @returns {ValidatorFn} A function that validates a FormControl and returns an error if the date is out of range.
17
- */
18
- export declare function dateRangeValidator(options: DateRangeOptions): ValidatorFn;
19
- export {};
@@ -1,4 +0,0 @@
1
- export * from './date-range.validator';
2
- export * from './intersection.validator';
3
- export * from './unique.validator';
4
- export * from './url.validator';
@@ -1,9 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- /**
3
- * A custom validator function that checks for intersection between two form controls. The two controls' values must be arrays.
4
- *
5
- * @param {string} controlName1 - The name of the first form control.
6
- * @param {string} controlName2 - The name of the second form control.
7
- * @returns {ValidatorFn} A function that validates the form group and returns an error if there is an intersection.
8
- */
9
- export declare function intersectionValidator<T = string>(controlName1: string, controlName2: string): ValidatorFn;
@@ -1,18 +0,0 @@
1
- import { AbstractControl, ValidatorFn } from '@angular/forms';
2
- /**
3
- * Validator for checking uniqueness across multiple fields in a FormArray or FormGroup.
4
- *
5
- * This validator can be applied to a FormArray or FormGroup containing the controls to be validated.
6
- * It ensures that each control's value is unique among all other controls within the array or group.
7
- */
8
- export declare class UniqueValidator {
9
- /**
10
- * Validator function to be attached to a FormArray or FormGroup.
11
- *
12
- * This validator checks for uniqueness of each control's value within the array or group.
13
- *
14
- * @param keySelector A function to select the key control for comparison (default is the control itself).
15
- * @typeparam T The type of the control value.
16
- */
17
- static unique<T>(keySelector?: (control: AbstractControl) => AbstractControl<T>): ValidatorFn;
18
- }
@@ -1,3 +0,0 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
- export declare function urlValidator(control: AbstractControl): ValidationErrors | null;
3
- export declare function httpsValidator(control: AbstractControl): ValidationErrors | null;
package/public-api.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export * from './lib/models';
2
- export * from './lib/operators';
3
- export * from './lib/pipes';
4
- export * from './lib/signals';
5
- export * from './lib/utils';
6
- export * from './lib/validators';