@sumaris-net/ngx-components 0.11.1 → 0.11.3
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/bundles/ngx-sumaris-components.umd.js +107 -80
- package/bundles/ngx-sumaris-components.umd.js.map +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js +2 -2
- package/bundles/ngx-sumaris-components.umd.min.js.map +1 -1
- package/esm2015/ngx-sumaris-components.js +8 -35
- package/esm2015/public_api.js +28 -1
- package/esm2015/src/app/core/form/form.utils.js +2 -1
- package/esm2015/src/app/shared/functions.js +4 -1
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +4 -2
- package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +2 -2
- package/esm2015/src/app/shared/material/chips/material.chips.js +4 -2
- package/esm2015/src/app/shared/material/chips/testing/chips.test.js +2 -2
- package/esm2015/src/app/shared/pipes/highlight.pipe.js +22 -4
- package/fesm2015/ngx-sumaris-components.js +33 -8
- package/fesm2015/ngx-sumaris-components.js.map +1 -1
- package/ngx-sumaris-components.d.ts +7 -34
- package/ngx-sumaris-components.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +27 -0
- package/src/app/shared/functions.d.ts +1 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -0
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +5 -4
- package/src/app/shared/material/chips/material.chips.d.ts +1 -0
- package/src/app/shared/material/chips/testing/chips.test.d.ts +4 -3
- package/src/app/shared/pipes/highlight.pipe.d.ts +1 -0
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -12,11 +12,22 @@ export * from './src/app/shared/material/chips/material.chips';
|
|
|
12
12
|
export * from './src/app/shared/material/material.animations';
|
|
13
13
|
export * from './src/app/shared/material/paginator/material.paginator-i18n';
|
|
14
14
|
export * from './src/app/shared/material/stepper/material.stepper-i18n';
|
|
15
|
+
export * from './src/app/shared/material/datetime/datetime.module';
|
|
15
16
|
export { MatDateShort } from './src/app/shared/material/datetime/material.dateshort';
|
|
16
17
|
export { MatDateTime } from './src/app/shared/material/datetime/material.datetime';
|
|
17
18
|
export { MatDate } from './src/app/shared/material/datetime/material.date';
|
|
18
19
|
export { MatLatLongField } from './src/app/shared/material/latlong/material.latlong';
|
|
19
20
|
export * from './src/app/shared/material/latlong/material.latlong.module';
|
|
21
|
+
export * from './src/app/shared/material/duration/duration.module';
|
|
22
|
+
export * from './src/app/shared/material/duration/material.duration';
|
|
23
|
+
export * from './src/app/shared/material/numpad/numpad.module';
|
|
24
|
+
export * from './src/app/shared/material/numpad/numpad.directive';
|
|
25
|
+
export * from './src/app/shared/material/numpad/numpad.append-to-input.directive';
|
|
26
|
+
export * from './src/app/shared/material/numpad/numpad.container';
|
|
27
|
+
export * from './src/app/shared/material/numpad/numpad.content';
|
|
28
|
+
export * from './src/app/shared/material/numpad/numpad.component';
|
|
29
|
+
export * from './src/app/shared/material/swipe/swipe.module';
|
|
30
|
+
export * from './src/app/shared/material/swipe/material.swipe';
|
|
20
31
|
export * from './src/app/shared/inputs';
|
|
21
32
|
export { AppFormField } from './src/app/shared/form/field.component';
|
|
22
33
|
export * from './src/app/shared/form/loading-spinner';
|
|
@@ -37,6 +48,13 @@ export * from './src/app/shared/pipes/highlight.pipe';
|
|
|
37
48
|
export * from './src/app/shared/pipes/number-format.pipe';
|
|
38
49
|
export * from './src/app/shared/pipes/properties.pipe';
|
|
39
50
|
export * from './src/app/shared/pipes/duration.pipe';
|
|
51
|
+
export * from './src/app/shared/pipes/file-size.pipe';
|
|
52
|
+
export * from './src/app/shared/pipes/math.pipes';
|
|
53
|
+
export * from './src/app/shared/pipes/arrays.pipe';
|
|
54
|
+
export * from './src/app/shared/pipes/maps.pipe';
|
|
55
|
+
export * from './src/app/shared/pipes/string.pipes';
|
|
56
|
+
export * from './src/app/shared/pipes/translate-context.pipe';
|
|
57
|
+
export * from './src/app/shared/pipes/ng-init.pipe';
|
|
40
58
|
export * from './src/app/shared/audio/audio';
|
|
41
59
|
export * from './src/app/shared/file/file.service';
|
|
42
60
|
export * from './src/app/shared/services/entity-service.class';
|
|
@@ -62,6 +80,11 @@ export * from './src/app/shared/material/latlong/latlong.utils';
|
|
|
62
80
|
export * from './src/app/shared/shared.testing.module';
|
|
63
81
|
export * from './src/app/shared/material/testing/material.testing.module';
|
|
64
82
|
export * from './src/app/shared/material/testing/material.testing.page';
|
|
83
|
+
export * from './src/app/shared/material/autocomplete/testing/autocomplete.test';
|
|
84
|
+
export * from './src/app/shared/material/latlong/testing/latlong.test';
|
|
85
|
+
export * from './src/app/shared/material/swipe/testing/swipe.test';
|
|
86
|
+
export * from './src/app/shared/material/datetime/testing/mat-date-time.test';
|
|
87
|
+
export * from './src/app/shared/material/chips/testing/chips.test';
|
|
65
88
|
export * from './src/app/core/core.module';
|
|
66
89
|
export * from './src/app/core/services/model/account.model';
|
|
67
90
|
export * from './src/app/core/services/model/config.model';
|
|
@@ -97,6 +120,7 @@ export * from './src/app/core/services/storage/entity-store.class';
|
|
|
97
120
|
export * from './src/app/core/services/validator/base.validator.class';
|
|
98
121
|
export * from './src/app/core/form/editor.class';
|
|
99
122
|
export * from './src/app/core/form/entity-editor.class';
|
|
123
|
+
export * from './src/app/core/form/entity-metadata.component';
|
|
100
124
|
export * from './src/app/core/form/form.class';
|
|
101
125
|
export * from './src/app/core/form/form.utils';
|
|
102
126
|
export * from './src/app/core/form/form-buttons-bar.component';
|
|
@@ -111,9 +135,12 @@ export * from './src/app/core/table/actions-column.component';
|
|
|
111
135
|
export * from './src/app/core/home/home';
|
|
112
136
|
export * from './src/app/core/settings/settings.page';
|
|
113
137
|
export * from './src/app/core/account/account';
|
|
138
|
+
export * from './src/app/core/auth/form/form-auth';
|
|
139
|
+
export * from './src/app/core/auth/modal/modal-auth';
|
|
114
140
|
export * from './src/app/core/register/confirm/confirm';
|
|
115
141
|
export * from './src/app/core/about/modal-about';
|
|
116
142
|
export * from './src/app/core/peer/select-peer.modal';
|
|
143
|
+
export * from './src/app/core/install/install-upgrade-card.component';
|
|
117
144
|
export * from './src/app/core/menu/menu.component';
|
|
118
145
|
export * from './src/app/core/menu/menu.model';
|
|
119
146
|
export * from './src/app/core/menu/menu.module';
|
|
@@ -41,6 +41,7 @@ export declare function removeEnd(value: string, end: string): string;
|
|
|
41
41
|
* @param value
|
|
42
42
|
*/
|
|
43
43
|
export declare function changeCaseToUnderscore(value: string): string;
|
|
44
|
+
export declare function removeDiacritics(text: string): string;
|
|
44
45
|
export declare function suggestFromArray<T = any>(items: T[], value: any, opts?: {
|
|
45
46
|
offset?: 0;
|
|
46
47
|
size?: 0;
|
|
@@ -77,6 +77,7 @@ export declare class MatAutocompleteField implements OnInit, InputElement, OnDes
|
|
|
77
77
|
displayAttributes: string[];
|
|
78
78
|
displayColumnSizes: (number | 'auto' | undefined)[];
|
|
79
79
|
displayColumnNames: string[];
|
|
80
|
+
highlightAccent: boolean;
|
|
80
81
|
showAllOnFocus: boolean;
|
|
81
82
|
showPanelOnFocus: boolean;
|
|
82
83
|
appAutofocus: boolean;
|
|
@@ -5,15 +5,15 @@ import { MatAutocompleteConfigHolder } from '../material.autocomplete';
|
|
|
5
5
|
import { BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { LoadResult } from '../../../services/entity-service.class';
|
|
7
7
|
import Timer = NodeJS.Timer;
|
|
8
|
-
|
|
8
|
+
declare class EntityTestClass {
|
|
9
9
|
id: number;
|
|
10
10
|
label: string;
|
|
11
11
|
name: string;
|
|
12
12
|
}
|
|
13
13
|
export declare class AutocompleteTestPage implements OnInit {
|
|
14
14
|
protected formBuilder: FormBuilder;
|
|
15
|
-
_items:
|
|
16
|
-
$items: BehaviorSubject<
|
|
15
|
+
_items: EntityTestClass[];
|
|
16
|
+
$items: BehaviorSubject<EntityTestClass[]>;
|
|
17
17
|
form: FormGroup;
|
|
18
18
|
autocompleteFields: MatAutocompleteConfigHolder;
|
|
19
19
|
memoryHide: boolean;
|
|
@@ -28,10 +28,11 @@ export declare class AutocompleteTestPage implements OnInit {
|
|
|
28
28
|
entityToString(item: any): string;
|
|
29
29
|
suggest(value: any, filter?: any): Promise<LoadResult<any>>;
|
|
30
30
|
doSubmit(event: any): void;
|
|
31
|
-
compareWithFn(o1:
|
|
31
|
+
compareWithFn(o1: EntityTestClass, o2: EntityTestClass): boolean;
|
|
32
32
|
toggleMode(value: any): void;
|
|
33
33
|
startMemoryTimer(): void;
|
|
34
34
|
stopMemoryTimer(): void;
|
|
35
35
|
updateFilter(fieldName: string): void;
|
|
36
36
|
stringify(value: any): string;
|
|
37
37
|
}
|
|
38
|
+
export {};
|
|
@@ -29,6 +29,7 @@ export declare class MatChipsField implements InputElement, ControlValueAccessor
|
|
|
29
29
|
displayAttributes: string[];
|
|
30
30
|
displayColumnSizes: (number | 'auto' | undefined)[];
|
|
31
31
|
displayColumnNames: string[];
|
|
32
|
+
highlightAccent: boolean;
|
|
32
33
|
showAllOnFocus: boolean;
|
|
33
34
|
showPanelOnFocus: boolean;
|
|
34
35
|
appAutofocus: boolean;
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { MatAutocompleteConfigHolder } from '../../autocomplete/material.autocomplete';
|
|
4
4
|
import { LoadResult } from '../../../services/entity-service.class';
|
|
5
|
-
|
|
5
|
+
declare class EntityTestClass {
|
|
6
6
|
id: number;
|
|
7
7
|
label: string;
|
|
8
8
|
name: string;
|
|
@@ -18,8 +18,9 @@ export declare class ChipsTestPage implements OnInit {
|
|
|
18
18
|
loadData(): Promise<void>;
|
|
19
19
|
loadItems(): Promise<void>;
|
|
20
20
|
entityToString(item: any): string;
|
|
21
|
-
suggest(value: any, filter?: any): Promise<LoadResult<
|
|
21
|
+
suggest(value: any, filter?: any): Promise<LoadResult<EntityTestClass>>;
|
|
22
22
|
doSubmit(event: any): void;
|
|
23
|
-
compareWithFn(o1:
|
|
23
|
+
compareWithFn(o1: EntityTestClass, o2: EntityTestClass): boolean;
|
|
24
24
|
stringify(value: any): string;
|
|
25
25
|
}
|
|
26
|
+
export {};
|