@sumaris-net/ngx-components 18.6.63 → 18.6.64
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/shared/functions.mjs +1 -1
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +11 -11
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +2 -2
- package/esm2022/src/app/shared/services.mjs +7 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +16 -12
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/functions.d.ts +1 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -0
- package/src/assets/manifest.json +1 -1
- package/src/theme/_ngx-components.scss +6 -3
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ export declare function arrayResize<T>(array: T[] | null | undefined, size: numb
|
|
|
14
14
|
export declare function newArray<T>(size: number, defaultValue?: T): T[];
|
|
15
15
|
export declare function isNotNilBoolean(obj: any | null | undefined): obj is boolean;
|
|
16
16
|
export declare function isNotNilString(obj: any | null | undefined): obj is string;
|
|
17
|
-
export declare function isNotNilObject(obj: any | null | undefined): obj is
|
|
17
|
+
export declare function isNotNilObject(obj: any | null | undefined): obj is object;
|
|
18
18
|
export declare function isBlankString(obj: any | null | undefined): obj is string;
|
|
19
19
|
export declare function notNilOrDefault<T>(obj: T | null | undefined, defaultValue: T): T;
|
|
20
20
|
export declare function arraySize<T>(obj: T[] | null | undefined): number;
|
|
@@ -32,6 +32,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
32
32
|
private _itemCount;
|
|
33
33
|
private _suggestExecutionId;
|
|
34
34
|
private _reload$;
|
|
35
|
+
private _destroy$;
|
|
35
36
|
protected _readonly: boolean;
|
|
36
37
|
protected _tabindex: number;
|
|
37
38
|
protected _$inputItems: BehaviorSubject<any[]>;
|
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.6.
|
|
5
|
+
"version": "18.6.64",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -280,8 +280,10 @@ mat-option:not(:last-of-type) {
|
|
|
280
280
|
.mat-mdc-select-panel,
|
|
281
281
|
.mat-mdc-autocomplete-panel {
|
|
282
282
|
/* when multiple selection enable */
|
|
283
|
-
mat-pseudo-checkbox
|
|
284
|
-
|
|
283
|
+
.mat-mdc-option mat-pseudo-checkbox,
|
|
284
|
+
.mat-mdc-option .mat-pseudo-checkbox-full {
|
|
285
|
+
margin-left: 12px;
|
|
286
|
+
margin-right: 4px;
|
|
285
287
|
}
|
|
286
288
|
|
|
287
289
|
padding: 0 !important;
|
|
@@ -353,6 +355,7 @@ ion-list,
|
|
|
353
355
|
|
|
354
356
|
.searchbar-input {
|
|
355
357
|
--background: var(--app-form-field-background-color, var(--ion-background-color));
|
|
358
|
+
padding-inline-end: 34px; // Keep a place for the clear button
|
|
356
359
|
}
|
|
357
360
|
}
|
|
358
361
|
|
|
@@ -421,7 +424,7 @@ ion-list,
|
|
|
421
424
|
ion-col {
|
|
422
425
|
--padding-start: 8px;
|
|
423
426
|
padding: 0 !important;
|
|
424
|
-
padding-left: var(--padding-start) !important;
|
|
427
|
+
padding-left: var(--padding-start, 0) !important;
|
|
425
428
|
text-overflow: ellipsis;
|
|
426
429
|
overflow: hidden;
|
|
427
430
|
white-space: nowrap;
|