@stonecrop/aform 0.29.0 → 0.30.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.
package/dist/aform.js CHANGED
@@ -178,7 +178,11 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
178
178
  X(
179
179
  () => A(o.value),
180
180
  async (T) => {
181
- if (!(!T || c(o.value)))
181
+ if (T && c(o.value)) {
182
+ d.value = a.value;
183
+ return;
184
+ }
185
+ if (T)
182
186
  try {
183
187
  let V, P;
184
188
  if (e.filterFunction ? (V = (await (typeof e.filterFunction == "string" ? le(e.filterFunction) : e.filterFunction)(String(T))).find((ce) => String(ce.id) === String(T)), P = V?.displayText, P === void 0 && console.warn(
@@ -292,7 +296,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
292
296
  ], 64))
293
297
  ], 2));
294
298
  }
295
- }), Le = /* @__PURE__ */ R(bt, [["__scopeId", "data-v-ecde0430"]]), gt = { class: "aform_form-element acurrency" }, ht = { class: "aform_display-value" }, kt = { class: "aform_field-label" }, $t = { class: "acurrency__row" }, xt = { class: "acurrency__field acurrency__field--amount" }, Dt = { class: "acurrency__group" }, wt = { class: "acurrency__currency" }, Mt = { class: "acurrency__amount-wrap" }, Tt = ["id", "disabled", "required"], St = ["for"], At = { class: "acurrency__row acurrency__row--base" }, pt = { class: "acurrency__field acurrency__field--base-currency" }, It = ["value"], Lt = { class: "aform_field-label" }, _t = { class: "acurrency__field acurrency__field--base-amount" }, Bt = ["value"], Ct = { class: "aform_field-label" }, qt = { class: "acurrency__field acurrency__field--exchange-rate" }, Ft = ["value"], Vt = { class: "aform_field-label" }, Rt = ["innerHTML"], Me = 6, Ht = /* @__PURE__ */ F({
299
+ }), Le = /* @__PURE__ */ R(bt, [["__scopeId", "data-v-91a761d0"]]), gt = { class: "aform_form-element acurrency" }, ht = { class: "aform_display-value" }, kt = { class: "aform_field-label" }, $t = { class: "acurrency__row" }, xt = { class: "acurrency__field acurrency__field--amount" }, Dt = { class: "acurrency__group" }, wt = { class: "acurrency__currency" }, Mt = { class: "acurrency__amount-wrap" }, Tt = ["id", "disabled", "required"], St = ["for"], At = { class: "acurrency__row acurrency__row--base" }, pt = { class: "acurrency__field acurrency__field--base-currency" }, It = ["value"], Lt = { class: "aform_field-label" }, _t = { class: "acurrency__field acurrency__field--base-amount" }, Bt = ["value"], Ct = { class: "aform_field-label" }, qt = { class: "acurrency__field acurrency__field--exchange-rate" }, Ft = ["value"], Vt = { class: "aform_field-label" }, Rt = ["innerHTML"], Me = 6, Ht = /* @__PURE__ */ F({
296
300
  __name: "ACurrencyInput",
297
301
  props: /* @__PURE__ */ E({
298
302
  schema: {},