@davincihealthcare/elty-design-system-vue 2.2.3 → 2.2.4

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.
@@ -88,7 +88,7 @@ declare const _default: import('vue').DefineComponent<{
88
88
  default: string;
89
89
  };
90
90
  }, {
91
- resetAllAndFetch: () => void;
91
+ resetAllAndFetch: () => Promise<void>;
92
92
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
93
93
  "update:modelValue": (value: TextualValueType) => void;
94
94
  "item:click": (itemIndex: number) => void;
package/dist/index.js CHANGED
@@ -31028,9 +31028,11 @@ const Pg = {
31028
31028
  setup(t, { expose: e, emit: r }) {
31029
31029
  const A = t, o = r;
31030
31030
  e({
31031
- resetAllAndFetch: () => {
31032
- var w;
31033
- u.value = void 0, N.value = A.items, R.value = A.selectedItems, (w = A.dataController) == null || w.call(A, u.value);
31031
+ resetAllAndFetch: async () => {
31032
+ var D;
31033
+ u.value = void 0, N.value = A.items, R.value = A.selectedItems;
31034
+ const w = await ((D = A.dataController) == null ? void 0 : D.call(A, u.value));
31035
+ N.value = (w == null ? void 0 : w.data) || [];
31034
31036
  }
31035
31037
  });
31036
31038
  const s = q(!1), c = q(!1), u = q(A.modelValue), N = q([]), R = q(A.selectedItems), S = q(), f = q(), C = re(