@haiilo/catalyst 0.8.3 → 0.9.0

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.
@@ -12014,6 +12014,10 @@ const CatSelect = class {
12014
12014
  return;
12015
12015
  this.setChoices(choices, 'value', 'label', true);
12016
12016
  }
12017
+ setValueHandles(value) {
12018
+ var _a;
12019
+ (_a = this.choice) === null || _a === void 0 ? void 0 : _a.setValue(value || []);
12020
+ }
12017
12021
  componentWillRender() {
12018
12022
  this.hasSlottedLabel = !!this.hostElement.querySelector('[slot="label"]');
12019
12023
  if (!this.label && !this.hasSlottedLabel) {
@@ -12227,7 +12231,8 @@ const CatSelect = class {
12227
12231
  }
12228
12232
  get hostElement() { return index.getElement(this); }
12229
12233
  static get watchers() { return {
12230
- "choices": ["setChoicesHandler"]
12234
+ "choices": ["setChoicesHandler"],
12235
+ "value": ["setValueHandles"]
12231
12236
  }; }
12232
12237
  };
12233
12238
  CatSelect.style = catSelectCss;