@winchsa/ui 0.1.60 → 0.1.61

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.
@@ -213,7 +213,7 @@ watch([() => props.trackByValue, defaultOptions], async ([trackByValue, _default
213
213
  }
214
214
  const optionsToSelect = loadedValues.map((value2) => items.find((item) => item?.[props.trackBy] == value2)).filter(Boolean);
215
215
  if (optionsToSelect.length > 0) {
216
- emits("update:model-value", optionsToSelect);
216
+ emits("update:model-value", props.multiple ? optionsToSelect : optionsToSelect[0]);
217
217
  }
218
218
  }, { immediate: true });
219
219
  watch(() => props.errorMessages, (newErrorMessages) => {
@@ -62,9 +62,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
62
62
  }>, {
63
63
  modelValue: string[];
64
64
  returnObject: boolean;
65
+ url: string;
65
66
  headers: Header[];
66
67
  formFilters: FormFilter[];
67
- url: string;
68
68
  queryParams: Record<string, string>;
69
69
  enableButtons: boolean;
70
70
  enableButtonsFilter: boolean;
@@ -62,9 +62,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
62
62
  }>, {
63
63
  modelValue: string[];
64
64
  returnObject: boolean;
65
+ url: string;
65
66
  headers: Header[];
66
67
  formFilters: FormFilter[];
67
- url: string;
68
68
  queryParams: Record<string, string>;
69
69
  enableButtons: boolean;
70
70
  enableButtonsFilter: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winchsa/ui",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {