@kuzntsv/uikit 1.0.47 → 1.0.49
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.
|
@@ -2708,7 +2708,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2708
2708
|
});
|
|
2709
2709
|
var BaseSignalPageClass = class BaseSignalPageClass {
|
|
2710
2710
|
dialog = inject(MatDialog);
|
|
2711
|
-
entityService;
|
|
2712
2711
|
entityEditComponent;
|
|
2713
2712
|
extraData;
|
|
2714
2713
|
defaultPageIndex = 0;
|
|
@@ -3007,7 +3006,7 @@ var BaseSignalPageClass = class BaseSignalPageClass {
|
|
|
3007
3006
|
dialogConfig.autoFocus = true;
|
|
3008
3007
|
dialogConfig.width = this.dialogEditWidth;
|
|
3009
3008
|
dialogConfig.data = data;
|
|
3010
|
-
dialogConfig.panelClass = this.
|
|
3009
|
+
dialogConfig.panelClass = this.entityType.name + "-edit-dialog";
|
|
3011
3010
|
return dialog.open(entityComponent, dialogConfig);
|
|
3012
3011
|
}
|
|
3013
3012
|
openDialogRemoveConfirm(removalMessage) {
|
|
@@ -3123,10 +3122,10 @@ var BaseSignalServiceClass = class BaseSignalServiceClass {
|
|
|
3123
3122
|
return httpResource(() => {
|
|
3124
3123
|
this._refreshTrigger();
|
|
3125
3124
|
const queryParams = {};
|
|
3126
|
-
if (pageIndex
|
|
3127
|
-
if (pageSize
|
|
3128
|
-
if (sortColumn
|
|
3129
|
-
if (direction
|
|
3125
|
+
if (pageIndex + 1) queryParams[this.pageIndexParam] = pageIndex + 1;
|
|
3126
|
+
if (pageSize) queryParams[this.pageSizeParam] = pageSize;
|
|
3127
|
+
if (sortColumn) queryParams[this.sortColumnParam] = sortColumn;
|
|
3128
|
+
if (direction) queryParams[this.directionParam] = direction;
|
|
3130
3129
|
return {
|
|
3131
3130
|
url: this.baseRoute,
|
|
3132
3131
|
params: queryParams
|