@sumaris-net/ngx-components 18.0.2-alpha6 → 18.0.2
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/esm2022/src/app/core/account/account.page.mjs +4 -3
- package/esm2022/src/app/core/account/token.table.mjs +10 -6
- package/esm2022/src/app/core/form/properties/properties.utils.mjs +13 -7
- package/fesm2022/sumaris-net.ngx-components.mjs +21 -11
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/account/token.table.d.ts +1 -1
- package/src/app/core/form/properties/properties.utils.d.ts +4 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -8,10 +8,10 @@ import { Configuration } from '../services/model/config.model';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class UserTokenTable extends AppInMemoryTable<UserToken> implements OnInit {
|
|
10
10
|
protected configService: ConfigService;
|
|
11
|
-
protected tokenScopes: TokenScope[];
|
|
12
11
|
useSticky: boolean;
|
|
13
12
|
protected showScopes: boolean;
|
|
14
13
|
protected defaultScope: string;
|
|
14
|
+
protected tokenScopes: TokenScope[];
|
|
15
15
|
constructor(injector: Injector, validatorService: ValidatorService, configService: ConfigService, environment: Environment, tokenScopes: TokenScope[]);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
get value(): UserToken[];
|
|
@@ -19,9 +19,12 @@ export declare class AppPropertiesUtils {
|
|
|
19
19
|
*
|
|
20
20
|
* @param {PropertyMap} [sources] - The source object from which properties are to be extracted.
|
|
21
21
|
* @param {FormFieldDefinition[]} [definitions] - An optional array of definitions to be applied to the extracted properties.
|
|
22
|
+
* @param opts
|
|
22
23
|
* @return {Property[] | Promise<Property[]>} An array of properties generated from the source object, or a promise resolving to that array.
|
|
23
24
|
*/
|
|
24
|
-
static arrayFromObject<T>(sources?: PropertyMap | Property<T>[], definitions?: FormFieldDefinition[]
|
|
25
|
+
static arrayFromObject<T>(sources?: PropertyMap | Property<T>[], definitions?: FormFieldDefinition[], opts?: {
|
|
26
|
+
keepOrphan?: boolean;
|
|
27
|
+
}): Property<T>[] | Promise<Property<T>[]>;
|
|
25
28
|
}
|
|
26
29
|
export declare class AppPropertyUtils {
|
|
27
30
|
static key(key: any): string;
|
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.0.2
|
|
5
|
+
"version": "18.0.2",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|