@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.22.16",
4
+ "version": "18.22.18",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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 changed in a future version, to return `visibleCount + hiddenCount`
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>;
@@ -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.16",
5
+ "version": "18.22.18",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{