@sumaris-net/ngx-components 18.7.16 → 18.7.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 +4 -0
- package/esm2022/src/app/core/table/table.pipes.mjs +2 -2
- package/esm2022/src/app/shared/functions.mjs +2 -2
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +4 -2
- package/fesm2022/sumaris-net.ngx-components.mjs +5 -3
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/table/table.pipes.d.ts +2 -1
- package/src/assets/manifest.json +1 -1
|
@@ -604,7 +604,7 @@ function getPropertyByPath(obj, path, defaultValue) {
|
|
|
604
604
|
if (isNilOrBlank(path))
|
|
605
605
|
return obj;
|
|
606
606
|
if (path.indexOf('[') !== -1) {
|
|
607
|
-
path = path.replace(
|
|
607
|
+
path = path.replace(/[.]?\[([^\[\]]*)]([.])?/, '.$1$2');
|
|
608
608
|
}
|
|
609
609
|
const i = path.indexOf('.');
|
|
610
610
|
// Simple property path
|
|
@@ -8097,6 +8097,7 @@ class MatAutocompleteField {
|
|
|
8097
8097
|
selectInputContentOnFocus;
|
|
8098
8098
|
selectInputContentOnFocusDelay;
|
|
8099
8099
|
previewImplicitValue;
|
|
8100
|
+
//@Input() favoriteItems: any[];
|
|
8100
8101
|
/**
|
|
8101
8102
|
* @deprecated Use panelClass instead
|
|
8102
8103
|
*/
|
|
@@ -8163,7 +8164,8 @@ class MatAutocompleteField {
|
|
|
8163
8164
|
set items(value) {
|
|
8164
8165
|
// Remove previous subscription on items, (if exits)
|
|
8165
8166
|
if (this._itemsSubscription) {
|
|
8166
|
-
|
|
8167
|
+
if (isObservable(value))
|
|
8168
|
+
console.warn(this.logPrefix + ' Items observable received twice!');
|
|
8167
8169
|
this._subscription.remove(this._itemsSubscription);
|
|
8168
8170
|
this._itemsSubscription.unsubscribe();
|
|
8169
8171
|
}
|
|
@@ -35846,7 +35848,7 @@ class AbstractTableSelectionPipe extends AbstractSelectionModelPipe {
|
|
|
35846
35848
|
return super.transform(_selection, _table, _opts);
|
|
35847
35849
|
}
|
|
35848
35850
|
_subscribe(selection, table, opts) {
|
|
35849
|
-
this._onRowsChanges = table?.dataSource?.rowsSubject.subscribe((_) => {
|
|
35851
|
+
this._onRowsChanges = (table?.dataSource?.rowsSubject).subscribe((_) => {
|
|
35850
35852
|
const result = this._transform(selection, table, opts);
|
|
35851
35853
|
if (result !== this._result) {
|
|
35852
35854
|
this._result = result;
|