@fluxhub/fluxhub-lib 19.0.210 → 19.0.212

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.
@@ -6850,6 +6850,8 @@ class FHFieldPickListComponent {
6850
6850
  hidden = false;
6851
6851
  only_in_list = true;
6852
6852
  single_sel = false;
6853
+ /** Abilita la ricerca in memoria (filtro client-side) nel dialog di scelta. */
6854
+ enableSearch = true;
6853
6855
  label = '';
6854
6856
  enabled = true;
6855
6857
  required = false;
@@ -6902,6 +6904,7 @@ class FHFieldPickListComponent {
6902
6904
  disableClose: true,
6903
6905
  data: {
6904
6906
  single_sel: this.single_sel,
6907
+ enableSearch: this.enableSearch,
6905
6908
  sel_values: this.value,
6906
6909
  sel_valori: this.valore,
6907
6910
  separator: this.separator,
@@ -6933,12 +6936,14 @@ class FHFieldPickListComponent {
6933
6936
  for (const element of this.selectedObjects) {
6934
6937
  if (element == null)
6935
6938
  continue;
6939
+ const desc = (element.descrizione_valore ?? '').toString().trim();
6940
+ const val = (element.valore ?? '').toString().trim();
6936
6941
  if (this.value != '')
6937
6942
  this.value += this.separator;
6938
- this.value += element.descrizione_valore ?? '';
6943
+ this.value += desc;
6939
6944
  if (this.valore != '')
6940
6945
  this.valore += this.separator;
6941
- this.valore += element.valore ?? '';
6946
+ this.valore += val;
6942
6947
  }
6943
6948
  this.writeValue(this.value);
6944
6949
  }
@@ -6982,7 +6987,7 @@ class FHFieldPickListComponent {
6982
6987
  });
6983
6988
  }
6984
6989
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHFieldPickListComponent, deps: [{ token: i1$2.MatDialog }, { token: i3.TranslateService }, { token: QueryService }], target: i0.ɵɵFactoryTarget.Component });
6985
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHFieldPickListComponent, isStandalone: true, selector: "FHFieldPickList", inputs: { sql: "sql", types: "types", values: "values", hidden: "hidden", only_in_list: "only_in_list", single_sel: "single_sel", label: "label", enabled: "enabled", required: "required", db_type: "db_type", separator: "separator", value: "value" }, outputs: { selchange: "selchange" }, providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6], ngImport: i0, template: `
6990
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHFieldPickListComponent, isStandalone: true, selector: "FHFieldPickList", inputs: { sql: "sql", types: "types", values: "values", hidden: "hidden", only_in_list: "only_in_list", single_sel: "single_sel", enableSearch: "enableSearch", label: "label", enabled: "enabled", required: "required", db_type: "db_type", separator: "separator", value: "value" }, outputs: { selchange: "selchange" }, providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6], ngImport: i0, template: `
6986
6991
  <div
6987
6992
  fxLayout="row"
6988
6993
  [hidden]="!enabled || hidden"
@@ -7121,6 +7126,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
7121
7126
  type: Input
7122
7127
  }], single_sel: [{
7123
7128
  type: Input
7129
+ }], enableSearch: [{
7130
+ type: Input
7124
7131
  }], label: [{
7125
7132
  type: Input
7126
7133
  }], enabled: [{