@fluxhub/fluxhub-lib 10.0.100 → 10.0.102

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.
@@ -9107,10 +9107,9 @@
9107
9107
  };
9108
9108
 
9109
9109
  var FHListPick = /** @class */ (function () {
9110
- function FHListPick(dialogRef, toastr, m_appService, data) {
9110
+ function FHListPick(dialogRef, toastr, data) {
9111
9111
  this.dialogRef = dialogRef;
9112
9112
  this.toastr = toastr;
9113
- this.m_appService = m_appService;
9114
9113
  this.data = data;
9115
9114
  this.label = "";
9116
9115
  this.separator = ",";
@@ -9121,6 +9120,7 @@
9121
9120
  this.single_sel = false;
9122
9121
  this.sel_values = "";
9123
9122
  this.required = true;
9123
+ this.options = null;
9124
9124
  if (data != null) {
9125
9125
  if (data.sql != null)
9126
9126
  this.sql = data.sql;
@@ -9142,6 +9142,8 @@
9142
9142
  this.required = data.required;
9143
9143
  if (data.sql != null)
9144
9144
  this.doFill();
9145
+ if (data.options != null)
9146
+ this.options = data.options;
9145
9147
  }
9146
9148
  }
9147
9149
  FHListPick.prototype.close = function () {
@@ -9175,7 +9177,13 @@
9175
9177
  return;
9176
9178
  this.dialogRef.close(this.cmb_sel.getObjects());
9177
9179
  };
9178
- FHListPick.prototype.ngAfterViewInit = function () { };
9180
+ FHListPick.prototype.ngAfterViewInit = function () {
9181
+ if (this.options != null) {
9182
+ this.cmb_sel.myData = JSON.parse(JSON.stringify(this.options));
9183
+ }
9184
+ if (!this.single_sel)
9185
+ this.cmb_sel.setByDescri(this.sel_values);
9186
+ };
9179
9187
  return FHListPick;
9180
9188
  }());
9181
9189
  FHListPick.decorators = [
@@ -9187,7 +9195,6 @@
9187
9195
  FHListPick.ctorParameters = function () { return [
9188
9196
  { type: dialog.MatDialogRef },
9189
9197
  { type: i3.ToastrService },
9190
- { type: AppService },
9191
9198
  { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
9192
9199
  ]; };
9193
9200
  FHListPick.propDecorators = {