anytrek-front-public-component 1.12.9 → 1.12.10

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.
@@ -38743,14 +38743,19 @@ const tQ = /* @__PURE__ */ ye({
38743
38743
  }, pt = () => {
38744
38744
  j.value = "", Y.value = "";
38745
38745
  }, Ht = D(!1), Te = D(!1), Se = D(""), _e = (ie) => {
38746
- var Qe;
38747
- let V = "";
38748
- try {
38749
- V = E + ie[0].content.key;
38750
- } catch {
38751
- V = E + ((Qe = ie.content) == null ? void 0 : Qe.key);
38746
+ var V;
38747
+ if (X.value.id)
38748
+ S();
38749
+ else {
38750
+ let Qe = "";
38751
+ try {
38752
+ Qe = E + ie[0].content.key;
38753
+ } catch {
38754
+ Qe = E + ((V = ie.content) == null ? void 0 : V.key);
38755
+ }
38756
+ Te.value = !0, Se.value = Qe;
38752
38757
  }
38753
- Te.value = !0, Se.value = V, Ht.value = !1;
38758
+ H.success("Saved successfully!"), Ht.value = !1;
38754
38759
  }, K = () => {
38755
38760
  Ht.value = !1;
38756
38761
  }, $ = async () => {
@@ -40108,7 +40113,7 @@ const tQ = /* @__PURE__ */ ye({
40108
40113
  ], 64);
40109
40114
  };
40110
40115
  }
40111
- }), qX = /* @__PURE__ */ St(WX, [["__scopeId", "data-v-04020f5b"]]), _X = /* @__PURE__ */ ye({
40116
+ }), qX = /* @__PURE__ */ St(WX, [["__scopeId", "data-v-ba6b8e96"]]), _X = /* @__PURE__ */ ye({
40112
40117
  __name: "LoadingIcon",
40113
40118
  props: {
40114
40119
  loading: {