@magic-xpa/angular 4.1000.0-dev4100.309 → 4.1000.0-dev4100.315

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.
@@ -1764,7 +1764,8 @@ class TaskMagicService {
1764
1764
  break;
1765
1765
  case CommandType.SET_PROPERTY:
1766
1766
  this.handleSetProperty(command, isTableChild);
1767
- if (command.Operation == HtmlProperties.ReadOnly)
1767
+ if (command.Operation == HtmlProperties.ReadOnly ||
1768
+ command.Operation == HtmlProperties.ItemsList)
1768
1769
  this.refreshDom.next(command);
1769
1770
  break;
1770
1771
  case CommandType.PROP_SET_USER_PROPERTY:
@@ -3730,10 +3731,18 @@ CheckboxMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: CheckboxMagicDirec
3730
3731
  class ComboboxMagicDirective {
3731
3732
  constructor(magicDirective) {
3732
3733
  this.magicDirective = magicDirective;
3734
+ this.magicDirective.task.refreshDom.pipe(filter(c => this.magicDirective.IsSameElement(c))).subscribe(value => {
3735
+ let command = value;
3736
+ if (command.Operation === HtmlProperties.ItemsList)
3737
+ this.onComboboxItemsListChanged();
3738
+ });
3733
3739
  }
3734
3740
  onChange($event) {
3735
3741
  this.magicDirective.task.onComboboxSelectionChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
3736
3742
  }
3743
+ onComboboxItemsListChanged() {
3744
+ this.magicDirective.task.refreshView();
3745
+ }
3737
3746
  }
3738
3747
  ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
3739
3748
  ComboboxMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: ComboboxMagicDirective, selectors: [["select", "magic", "", 3, "multiple", ""]], hostBindings: function ComboboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {