@sumaris-net/ngx-components 18.22.16 → 18.22.18
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/doc/changelog.md +7 -1
- package/esm2022/src/app/core/form/form.utils.mjs +3 -2
- package/esm2022/src/app/shared/forms.mjs +8 -10
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +6 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +13 -11
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/form.utils.d.ts +2 -1
- package/src/app/shared/services/memory-entity-service.class.d.ts +2 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { filterNumberInput, selectInputContent, selectInputContentFromEvent } from '../../shared/inputs';
|
|
3
3
|
import { WaitForOptions } from '../../shared/observables';
|
|
4
|
-
import { addValueInArray, clearValueInArray, copyEntity2Form, disableAndClearControl, disableAndClearControls, disableControl, disableControls, enableControl, enableControls, filterFormErrors, filterFormErrorsByPath, filterFormErrorsByPrefix, getControlFromPath, getFormErrors, getFormValueFromEntity, logFormErrors, markAllAsTouched, markAsUntouched, removeValueInArray, resizeArray, setControlEnabled, setControlsEnabled, setControlRequired, setFormErrors, updateValueAndValidity, waitIdle, waitWhilePending } from '../../shared/forms';
|
|
4
|
+
import { addValueInArray, clearValueInArray, copyEntity2Form, disableAndClearControl, disableAndClearControls, disableControl, disableControls, enableControl, enableControls, filterFormErrors, filterFormErrorsByPath, filterFormErrorsByPrefix, getControlFromPath, getFormErrors, getFormValueFromEntity, logFormErrors, markAllAsTouched, markAsUntouched, removeValueInArray, resizeArray, setControlEnabled, setControlsEnabled, setControlRequired, setFormErrors, updateValueAndValidity, waitIdle, waitWhilePending, adaptValueToControl } from '../../shared/forms';
|
|
5
5
|
export type IAppFormGetter = () => IAppForm;
|
|
6
6
|
export declare interface OnReady {
|
|
7
7
|
ngOnReady(): any;
|
|
@@ -219,6 +219,7 @@ export declare class AppFormProvider<F extends IAppForm = IAppForm> implements I
|
|
|
219
219
|
export declare class AppFormUtils {
|
|
220
220
|
static copyEntity2Form: typeof copyEntity2Form;
|
|
221
221
|
static getFormValueFromEntity: typeof getFormValueFromEntity;
|
|
222
|
+
static getControlValueFromEntity: typeof adaptValueToControl;
|
|
222
223
|
/**
|
|
223
224
|
* Retrieves a control from the provided form/control structure using a dot-separated path.
|
|
224
225
|
*
|
|
@@ -68,9 +68,10 @@ export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any,
|
|
|
68
68
|
/**
|
|
69
69
|
* Count data stored by the service (without hidden data).
|
|
70
70
|
*
|
|
71
|
-
* @deprecated Please use visibleCount - Will be
|
|
71
|
+
* @deprecated Please use visibleCount - Will be removed in a future version
|
|
72
72
|
*/
|
|
73
73
|
get count(): number;
|
|
74
|
+
get totalCount(): number;
|
|
74
75
|
get visibleCount(): number;
|
|
75
76
|
get hiddenCount(): number;
|
|
76
77
|
waitIdle(opts?: WaitForOptions): Promise<void>;
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "18.22.
|
|
5
|
+
"version": "18.22.18",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|