@dsivd/prestations-ng 19.0.5-beta.3 → 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.3.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
|
|
@@ -793,16 +793,6 @@ class FoehnInputComponent {
|
|
|
793
793
|
this.modelEffect = effect(() => {
|
|
794
794
|
this.onModelChange(this.model());
|
|
795
795
|
}, ...(ngDevMode ? [{ debugName: "modelEffect" }] : /* istanbul ignore next */ []));
|
|
796
|
-
this.patchModel = (patch) => {
|
|
797
|
-
this.model.update((current) => {
|
|
798
|
-
if (current &&
|
|
799
|
-
typeof current === 'object' &&
|
|
800
|
-
!Array.isArray(current)) {
|
|
801
|
-
return { ...current, ...patch };
|
|
802
|
-
}
|
|
803
|
-
throw new Error('patchModel can only be used with object models.');
|
|
804
|
-
});
|
|
805
|
-
};
|
|
806
796
|
}
|
|
807
797
|
get errors() {
|
|
808
798
|
return this._errors?.sort((a, b) => ObjectHelper.stripHtml(a.message).localeCompare(ObjectHelper.stripHtml(b.message)));
|