@dsivd/prestations-ng 19.0.5-beta.2 → 19.0.5-beta.4
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/ANGULAR_SIGNALS.md +0 -3
- package/UPGRADING_V19.md +1 -0
- package/dsivd-prestations-ng-19.0.5-beta.4.tgz +0 -0
- package/fesm2022/dsivd-prestations-ng.mjs +0 -10
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/src/eslint/index.mjs +7 -0
- package/src/eslint/rules/__tests__/no-direct-signal-mutation.test.mjs +98 -0
- package/src/eslint/rules/index.mjs +1 -0
- package/src/eslint/rules/no-direct-signal-mutation.mjs +52 -0
- package/types/dsivd-prestations-ng.d.ts +0 -1
- package/dsivd-prestations-ng-19.0.5-beta.2.tgz +0 -0
package/ANGULAR_SIGNALS.md
CHANGED
package/UPGRADING_V19.md
CHANGED
|
@@ -1092,6 +1092,7 @@ import rxjs from '@smarttools/eslint-plugin-rxjs';
|
|
|
1092
1092
|
import simpleImportSort from 'eslint-plugin-simple-import-sort';
|
|
1093
1093
|
import prettier from 'eslint-config-prettier';
|
|
1094
1094
|
import importX from 'eslint-plugin-import-x';
|
|
1095
|
+
TODO LHE: publish beta + test + UPDATE EXAMPLE !!!
|
|
1095
1096
|
|
|
1096
1097
|
export default tseslint.config(
|
|
1097
1098
|
{
|
|
Binary file
|
|
@@ -831,16 +831,6 @@ class FoehnInputComponent {
|
|
|
831
831
|
this.model.set(value);
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
patchModel(patch) {
|
|
835
|
-
this.model.update((current) => {
|
|
836
|
-
if (current &&
|
|
837
|
-
typeof current === 'object' &&
|
|
838
|
-
!Array.isArray(current)) {
|
|
839
|
-
return { ...current, ...patch };
|
|
840
|
-
}
|
|
841
|
-
throw new Error('patchModel can only be used with object models.');
|
|
842
|
-
});
|
|
843
|
-
}
|
|
844
834
|
hasErrorsToDisplay() {
|
|
845
835
|
return (this.hasErrors() &&
|
|
846
836
|
(!this.disabled() || this.showErrorWhenDisabled()));
|