xyvcard-goods 0.0.26 → 0.0.27

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.
Files changed (29) hide show
  1. package/dist/{ImageUpload-Dk6GY6PA.mjs → ImageUpload-BMw9FVJL.mjs} +2 -2
  2. package/dist/{edit-eAHVEi0b.mjs → edit-C6CESv8X.mjs} +3 -3
  3. package/dist/{edit-C5HGHhkb.mjs → edit-CuYE3fHS.mjs} +3 -3
  4. package/dist/{edit-DrbsKmwh.mjs → edit-CvY-V0N5.mjs} +30 -30
  5. package/dist/{edit-Xn_nZjI6.mjs → edit-CwYGsVHI.mjs} +6 -6
  6. package/dist/{edit-Cb0aaC0q.mjs → edit-DmT9V-gh.mjs} +1 -1
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-DBG-5gI4.mjs → edit.vue_vue_type_script_setup_true_lang-DfFKgB6q.mjs} +76 -74
  8. package/dist/{goodsList-CDQZGSh2.mjs → goodsList-Bj9pZI5X.mjs} +1 -1
  9. package/dist/{goodsList-CKCG7ntZ.mjs → goodsList-v98w-P_d.mjs} +1 -1
  10. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-DiRkiNJk.mjs → goodsList.vue_vue_type_script_setup_true_lang-BsItIhFh.mjs} +3 -3
  11. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-B6P3fso6.mjs → goodsList.vue_vue_type_script_setup_true_lang-QHlAuCT3.mjs} +3 -3
  12. package/dist/{index-B8IdlGiz.mjs → index-0g53MREL.mjs} +14 -14
  13. package/dist/{index-CMkWXcWe.mjs → index-B0qodJxZ.mjs} +2 -2
  14. package/dist/{index-CSeu2TZT.mjs → index-BrR_OdFN.mjs} +3 -3
  15. package/dist/{index-DSbkvzGV.mjs → index-CXEbqy-N.mjs} +14 -14
  16. package/dist/{index-utNcRJx7.mjs → index-CXtRrzoC.mjs} +2001 -1878
  17. package/dist/{index-Bz206T2E.mjs → index-D7Zknkay.mjs} +14 -14
  18. package/dist/{index-CDhEKnzj.mjs → index-DWtdS9Gu.mjs} +3 -3
  19. package/dist/{index-D70qzGQF.mjs → index-szFiZJnI.mjs} +1 -1
  20. package/dist/index.mjs +1 -1
  21. package/dist/{info-CX3zF0ZW.mjs → info-Bn5lfzNP.mjs} +4 -4
  22. package/dist/{info-Dlte8Sn0.mjs → info-PRjY0AD1.mjs} +111 -105
  23. package/dist/{skuForm-DUR7U2Kn.mjs → skuForm-DF02pgox.mjs} +101 -98
  24. package/dist/{skuForm-B_8WQCr3.mjs → skuForm-EQVH7pCG.mjs} +6 -6
  25. package/dist/{skuTable-D4LGL7B5.mjs → skuTable-DWpm1OMq.mjs} +4 -4
  26. package/dist/style.css +1 -1
  27. package/dts/api/goods-spu/types.d.ts +1 -0
  28. package/package.json +62 -62
  29. package/dts/views/goods/goods-combination/skuTable.vue.d.ts +0 -40
@@ -1,14 +1,14 @@
1
- import { defineComponent as wn, mergeModels as E, ref as $, reactive as R, useModel as qn, onMounted as pn, resolveComponent as p, openBlock as an, createBlock as kn, withCtx as j, createElementVNode as Cn, createVNode as t, createTextVNode as A, toDisplayString as U, unref as x } from "vue";
1
+ import { defineComponent as wn, mergeModels as E, ref as $, reactive as R, useModel as qn, onMounted as pn, resolveComponent as p, createBlock as an, openBlock as kn, withCtx as j, createVNode as t, unref as x, createElementVNode as Cn, createTextVNode as A, toDisplayString as U } from "vue";
2
2
  import { ElMessage as L } from "element-plus";
3
3
  import { useI18n as Sn } from "vue-i18n";
4
- import { g as B } from "./index-utNcRJx7.mjs";
5
- import { D as O } from "./index-CMkWXcWe.mjs";
6
- const _n = /^[\uD800-\uDBFF]$/, Pn = /^[\uDC00-\uDFFF]$/, Dn = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
4
+ import { g as B } from "./index-CXtRrzoC.mjs";
5
+ import { D as O } from "./index-B0qodJxZ.mjs";
6
+ const Pn = /^[\uD800-\uDBFF]$/, _n = /^[\uDC00-\uDFFF]$/, Dn = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
7
7
  var F;
8
8
  (function(n) {
9
9
  n[n.Unknown = 1e-13] = "Unknown", n[n.Rule = 1e-12] = "Rule", n[n.DICT = 2e-8] = "DICT", n[n.Surname = 1] = "Surname", n[n.Custom = 1] = "Custom";
10
10
  })(F || (F = {}));
11
- const b = {
11
+ const r = {
12
12
  Normal: 1,
13
13
  Surname: 10,
14
14
  Custom: 100
@@ -17,12 +17,12 @@ function m(n) {
17
17
  var i;
18
18
  return n.length - (((i = n.match(Dn)) === null || i === void 0 ? void 0 : i.length) || 0);
19
19
  }
20
- function P(n) {
20
+ function _(n) {
21
21
  const i = [];
22
22
  let g = 0;
23
23
  for (; g < n.length; ) {
24
24
  const u = n[g];
25
- _n.test(u) && Pn.test(n[g + 1]) ? (i.push(n.substring(g, g + 2)), g += 2) : (i.push(u), g += 1);
25
+ Pn.test(u) && _n.test(n[g + 1]) ? (i.push(n.substring(g, g + 2)), g += 2) : (i.push(u), g += 1);
26
26
  }
27
27
  return i;
28
28
  }
@@ -18716,7 +18716,7 @@ Object.keys(W).forEach((n) => {
18716
18716
  for (let g of i)
18717
18717
  a.set(g, n);
18718
18718
  });
18719
- const Tn = [
18719
+ const In = [
18720
18720
  "zh",
18721
18721
  "ch",
18722
18722
  "sh",
@@ -18741,7 +18741,7 @@ const Tn = [
18741
18741
  "y",
18742
18742
  "w",
18743
18743
  ""
18744
- ], In = ["j", "q", "x"], Zn = [
18744
+ ], Tn = ["j", "q", "x"], vn = [
18745
18745
  "uān",
18746
18746
  "uán",
18747
18747
  "uǎn",
@@ -18833,7 +18833,7 @@ const Tn = [
18833
18833
  斗: "dǒu",
18834
18834
  更: "gēng"
18835
18835
  };
18836
- function vn() {
18836
+ function Zn() {
18837
18837
  const n = {
18838
18838
  零一: "líng yī",
18839
18839
  "〇一": "líng yī",
@@ -18849,12 +18849,12 @@ function vn() {
18849
18849
  }
18850
18850
  return n;
18851
18851
  }
18852
- const Q = vn(), Vn = Object.keys(Q).map((n) => ({
18852
+ const Q = Zn(), Vn = Object.keys(Q).map((n) => ({
18853
18853
  zh: n,
18854
18854
  pinyin: Q[n],
18855
18855
  probability: 1e-12,
18856
18856
  length: m(n),
18857
- priority: b.Normal,
18857
+ priority: r.Normal,
18858
18858
  dict: Symbol("rule")
18859
18859
  })), yn = {
18860
18860
  // 说不说,说一说,叠词之间发音为轻声
@@ -18874,11 +18874,11 @@ function Rn(n, i, g) {
18874
18874
  if ($n.indexOf(n) === -1)
18875
18875
  return S(n);
18876
18876
  if (i === g && i && S(i) !== i)
18877
- return T(S(n));
18877
+ return I(S(n));
18878
18878
  if (g && !En[n].includes(g)) {
18879
18879
  const u = S(g);
18880
18880
  if (u !== g) {
18881
- const h = I(u), s = yn[n];
18881
+ const h = T(u), s = yn[n];
18882
18882
  for (let o in s)
18883
18883
  if (s[o].indexOf(Number(h)) !== -1)
18884
18884
  return o;
@@ -19394,7 +19394,7 @@ const M = {
19394
19394
  pinyin: M[n],
19395
19395
  probability: 1 + m(n),
19396
19396
  length: m(n),
19397
- priority: b.Surname,
19397
+ priority: r.Surname,
19398
19398
  dict: Symbol("surname")
19399
19399
  })), J = {
19400
19400
  这个: "zhè ge",
@@ -21558,7 +21558,7 @@ const M = {
21558
21558
  pinyin: J[n],
21559
21559
  probability: 2e-8,
21560
21560
  length: 2,
21561
- priority: b.Normal,
21561
+ priority: r.Normal,
21562
21562
  dict: Symbol("dict2")
21563
21563
  })), X = {
21564
21564
  为什么: "wèi shén me",
@@ -21891,7 +21891,7 @@ const M = {
21891
21891
  pinyin: X[n],
21892
21892
  probability: 2e-8,
21893
21893
  length: 3,
21894
- priority: b.Normal,
21894
+ priority: r.Normal,
21895
21895
  dict: Symbol("dict3")
21896
21896
  })), Y = {
21897
21897
  成吉思汗: "chéng jí sī hán",
@@ -23494,7 +23494,7 @@ const M = {
23494
23494
  pinyin: Y[n],
23495
23495
  probability: 2e-8,
23496
23496
  length: 4,
23497
- priority: b.Normal,
23497
+ priority: r.Normal,
23498
23498
  dict: Symbol("dict4")
23499
23499
  })), nn = {
23500
23500
  巴尔干半岛: "bā ěr gàn bàn dǎo",
@@ -23517,7 +23517,7 @@ const M = {
23517
23517
  pinyin: nn[n],
23518
23518
  probability: 2e-8,
23519
23519
  length: 5,
23520
- priority: b.Normal,
23520
+ priority: r.Normal,
23521
23521
  dict: Symbol("dict5")
23522
23522
  }));
23523
23523
  function gn(n, i) {
@@ -23527,7 +23527,7 @@ function hn(n) {
23527
23527
  n.probability < 1e-300 && (n.probability *= 1e300, n.decimal += 1);
23528
23528
  }
23529
23529
  function Kn(n) {
23530
- return n.priority === b.Custom ? -(n.length * n.length * 100) : n.priority === b.Surname ? -(n.length * n.length * 10) : 0;
23530
+ return n.priority === r.Custom ? -(n.length * n.length * 100) : n.priority === r.Surname ? -(n.length * n.length * 10) : 0;
23531
23531
  }
23532
23532
  function Hn(n, i) {
23533
23533
  const g = [];
@@ -23556,7 +23556,7 @@ function un(n, i) {
23556
23556
  return n && n.count <= i.count ? n : i;
23557
23557
  }
23558
23558
  function Qn(n) {
23559
- return n.priority === b.Custom ? -(n.length * n.length * 1e5) : n.priority === b.Surname ? -(n.length * n.length * 100) : 1;
23559
+ return n.priority === r.Custom ? -(n.length * n.length * 1e5) : n.priority === r.Surname ? -(n.length * n.length * 100) : 1;
23560
23560
  }
23561
23561
  function Gn(n, i) {
23562
23562
  const g = [];
@@ -23612,7 +23612,7 @@ class Yn {
23612
23612
  // 构建 trie 树
23613
23613
  buildTrie(i) {
23614
23614
  for (let g of i) {
23615
- const u = P(g.zh);
23615
+ const u = _(g.zh);
23616
23616
  let h = this.root;
23617
23617
  for (let s = 0; s < u.length; s++) {
23618
23618
  let o = u[s];
@@ -23667,7 +23667,7 @@ class Yn {
23667
23667
  // 搜索字符串返回匹配的模式串
23668
23668
  match(i, g) {
23669
23669
  let u = this.root, h = [];
23670
- const s = P(i);
23670
+ const s = _(i);
23671
23671
  for (let o = 0; o < s.length; o++) {
23672
23672
  let z = s[o];
23673
23673
  for (; u !== null && !u.children.has(z); )
@@ -23676,11 +23676,11 @@ class Yn {
23676
23676
  u = this.root;
23677
23677
  else {
23678
23678
  u = u.children.get(z);
23679
- const y = u.patterns.find((c) => g === "off" ? c.priority !== b.Surname : g === "head" ? c.length - 1 - o === 0 : !0);
23679
+ const y = u.patterns.find((c) => g === "off" ? c.priority !== r.Surname : g === "head" ? c.length - 1 - o === 0 : !0);
23680
23680
  y && h.push(Object.assign(Object.assign({}, y), { index: o - y.length + 1 }));
23681
23681
  let l = u.fail;
23682
23682
  for (; l !== null; ) {
23683
- const c = l.patterns.find((e) => g === "off" ? e.priority !== b.Surname : g === "head" ? e.length - 1 - o === 0 : !0);
23683
+ const c = l.patterns.find((e) => g === "off" ? e.priority !== r.Surname : g === "head" ? e.length - 1 - o === 0 : !0);
23684
23684
  c && h.push(Object.assign(Object.assign({}, c), { index: o - c.length + 1 })), l = l.fail;
23685
23685
  }
23686
23686
  }
@@ -23707,11 +23707,11 @@ const ii = new ln(), gi = () => ii, S = (n) => {
23707
23707
  }, hi = (n, i, g, u) => {
23708
23708
  const h = cn.search(n, g, u);
23709
23709
  let s = 0;
23710
- const o = P(n);
23710
+ const o = _(n);
23711
23711
  for (let z = 0; z < o.length; ) {
23712
23712
  const y = h[s];
23713
23713
  if (y && z === y.index) {
23714
- if (y.length === 1 && y.priority <= b.Normal) {
23714
+ if (y.length === 1 && y.priority <= r.Normal) {
23715
23715
  const e = o[z];
23716
23716
  let f = "";
23717
23717
  f = G(e, o[z - 1], o[z + 1]), i[z] = {
@@ -23725,12 +23725,12 @@ const ii = new ln(), gi = () => ii, S = (n) => {
23725
23725
  const l = y.pinyin.split(" ");
23726
23726
  let c = 0;
23727
23727
  for (let e = 0; e < y.length; e++) {
23728
- const f = P(y.zh);
23728
+ const f = _(y.zh);
23729
23729
  i[z + e] = {
23730
23730
  origin: f[e],
23731
- result: l[c],
23731
+ result: l[c] || "",
23732
23732
  isZh: !0,
23733
- originPinyin: l[c]
23733
+ originPinyin: l[c] || ""
23734
23734
  }, c++;
23735
23735
  }
23736
23736
  z += y.length, s++;
@@ -23746,7 +23746,7 @@ const ii = new ln(), gi = () => ii, S = (n) => {
23746
23746
  }
23747
23747
  }
23748
23748
  return { list: i, matches: h };
23749
- }, T = (n) => n.replace(/(ā|á|ǎ|à)/g, "a").replace(/(ō|ó|ǒ|ò)/g, "o").replace(/(ē|é|ě|è)/g, "e").replace(/(ī|í|ǐ|ì)/g, "i").replace(/(ū|ú|ǔ|ù)/g, "u").replace(/(ǖ|ǘ|ǚ|ǜ)/g, "ü").replace(/(n̄|ń|ň|ǹ)/g, "n").replace(/(m̄|ḿ|m̌|m̀)/g, "m").replace(/(ê̄|ế|ê̌|ề)/g, "ê"), tn = (n, i = "off") => {
23749
+ }, I = (n) => n.replace(/(ā|á|ǎ|à)/g, "a").replace(/(ō|ó|ǒ|ò)/g, "o").replace(/(ē|é|ě|è)/g, "e").replace(/(ī|í|ǐ|ì)/g, "i").replace(/(ū|ú|ǔ|ù)/g, "u").replace(/(ǖ|ǘ|ǚ|ǜ)/g, "ü").replace(/(n̄|ń|ň|ǹ)/g, "n").replace(/(m̄|ḿ|m̌|m̀)/g, "m").replace(/(ê̄|ế|ê̌|ề)/g, "ê"), tn = (n, i = "off") => {
23750
23750
  const g = gi();
23751
23751
  let u = a.get(n) ? a.get(n).split(" ") : [];
23752
23752
  if (g.get(n))
@@ -23771,31 +23771,33 @@ const ii = new ln(), gi = () => ii, S = (n) => {
23771
23771
  originPinyin: n
23772
23772
  }
23773
23773
  ];
23774
- }, D = (n) => {
23775
- const i = n.split(" "), g = [], u = [];
23776
- for (let h of i)
23777
- for (let s of Tn)
23778
- if (h.startsWith(s)) {
23779
- let o = h.slice(s.length);
23780
- In.indexOf(s) !== -1 && Zn.indexOf(o) !== -1 && (o = Mn[o]), g.push(s), u.push(o);
23774
+ }, D = (n, i) => {
23775
+ const g = n.split(" "), u = [], h = [];
23776
+ for (let s of g)
23777
+ for (let o of In)
23778
+ if (s.startsWith(o)) {
23779
+ let z = s.slice(o.length);
23780
+ Tn.indexOf(o) !== -1 && vn.indexOf(z) !== -1 && (z = Mn[z]), u.push(o), h.push(z);
23781
23781
  break;
23782
23782
  }
23783
- return {
23784
- final: u.join(" "),
23785
- initial: g.join(" ")
23783
+ return i === "standard" && u.forEach((s, o) => {
23784
+ (s === "y" || s === "w") && (u[o] = "");
23785
+ }), {
23786
+ final: h.join(" "),
23787
+ initial: u.join(" ")
23786
23788
  // 声母
23787
23789
  };
23788
- }, _ = (n) => {
23790
+ }, P = (n) => {
23789
23791
  const { final: i } = D(n);
23790
23792
  let g = "", u = "", h = "";
23791
- return Nn.indexOf(T(i)) !== -1 ? (g = i[0], u = i[1], h = i.slice(2)) : (u = i[0] || "", h = i.slice(1) || ""), { head: g, body: u, tail: h };
23792
- }, I = (n) => {
23793
+ return Nn.indexOf(I(i)) !== -1 ? (g = i[0], u = i[1], h = i.slice(2)) : (u = i[0] || "", h = i.slice(1) || ""), { head: g, body: u, tail: h };
23794
+ }, T = (n) => {
23793
23795
  const i = /(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/, g = /(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/, u = /(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/, h = /(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/, s = /(a|o|e|i|u|ü|ê)/, o = /(n|m)$/, z = [];
23794
23796
  return n.split(" ").forEach((l) => {
23795
23797
  i.test(l) ? z.push("1") : g.test(l) ? z.push("2") : u.test(l) ? z.push("3") : h.test(l) ? z.push("4") : s.test(l) || o.test(l) ? z.push("0") : z.push("");
23796
23798
  }), z.join(" ");
23797
23799
  }, si = (n, i) => {
23798
- const g = T(n).split(" "), u = I(i).split(" "), h = [];
23800
+ const g = I(n).split(" "), u = T(i).split(" "), h = [];
23799
23801
  return g.forEach((s, o) => {
23800
23802
  h.push(`${s}${u[o]}`);
23801
23803
  }), h.join(" ");
@@ -23805,17 +23807,17 @@ const ii = new ln(), gi = () => ii, S = (n) => {
23805
23807
  g.push(i ? h[0] : h);
23806
23808
  }), g.join(" ");
23807
23809
  }, oi = (n) => typeof n != "string" ? (console.error("The first param of pinyin is error: " + n + ' is not assignable to type "string".'), !1) : !0;
23808
- function Z(n, i) {
23810
+ function v(n, i) {
23809
23811
  return i instanceof RegExp ? i.test(n) : !0;
23810
23812
  }
23811
23813
  const zi = (n, i) => {
23812
23814
  let g = i.nonZh;
23813
23815
  if (g === "removed")
23814
- return n.filter((u) => u.isZh || !Z(u.origin, i.nonZhScope));
23816
+ return n.filter((u) => u.isZh || !v(u.origin, i.nonZhScope));
23815
23817
  if (g === "consecutive") {
23816
23818
  for (let u = n.length - 2; u >= 0; u--) {
23817
23819
  const h = n[u], s = n[u + 1];
23818
- !h.isZh && !s.isZh && Z(h.origin, i.nonZhScope) && Z(s.origin, i.nonZhScope) && (h.origin += s.origin, h.result += s.result, s.delete = !0);
23820
+ !h.isZh && !s.isZh && v(h.origin, i.nonZhScope) && v(s.origin, i.nonZhScope) && (h.origin += s.origin, h.result += s.result, s.delete = !0);
23819
23821
  }
23820
23822
  return n.filter((u) => !u.delete);
23821
23823
  } else
@@ -23826,17 +23828,17 @@ const zi = (n, i) => {
23826
23828
  break;
23827
23829
  case "num":
23828
23830
  n.forEach((g) => {
23829
- g.result = g.isZh ? I(g.result) : "";
23831
+ g.result = g.isZh ? T(g.result) : "";
23830
23832
  });
23831
23833
  break;
23832
23834
  case "initial":
23833
23835
  n.forEach((g) => {
23834
- g.result = g.isZh ? D(g.result).initial : "";
23836
+ g.result = g.isZh ? D(g.result, i.initialPattern).initial : "";
23835
23837
  });
23836
23838
  break;
23837
23839
  case "final":
23838
23840
  n.forEach((g) => {
23839
- g.result = g.isZh ? D(g.result).final : "";
23841
+ g.result = g.isZh ? D(g.result, i.initialPattern).final : "";
23840
23842
  });
23841
23843
  break;
23842
23844
  case "first":
@@ -23846,17 +23848,17 @@ const zi = (n, i) => {
23846
23848
  break;
23847
23849
  case "finalHead":
23848
23850
  n.forEach((g) => {
23849
- g.result = g.isZh ? _(g.result).head : "";
23851
+ g.result = g.isZh ? P(g.result).head : "";
23850
23852
  });
23851
23853
  break;
23852
23854
  case "finalBody":
23853
23855
  n.forEach((g) => {
23854
- g.result = g.isZh ? _(g.result).body : "";
23856
+ g.result = g.isZh ? P(g.result).body : "";
23855
23857
  });
23856
23858
  break;
23857
23859
  case "finalTail":
23858
23860
  n.forEach((g) => {
23859
- g.result = g.isZh ? _(g.result).tail : "";
23861
+ g.result = g.isZh ? P(g.result).tail : "";
23860
23862
  });
23861
23863
  break;
23862
23864
  }
@@ -23866,7 +23868,7 @@ const zi = (n, i) => {
23866
23868
  break;
23867
23869
  case "none":
23868
23870
  n.forEach((g) => {
23869
- g.isZh && (g.result = T(g.result));
23871
+ g.isZh && (g.result = I(g.result));
23870
23872
  });
23871
23873
  break;
23872
23874
  case "num": {
@@ -23878,7 +23880,7 @@ const zi = (n, i) => {
23878
23880
  }
23879
23881
  }, ci = (n, i) => {
23880
23882
  i.v && n.forEach((g) => {
23881
- g.isZh && (g.result = g.result.replace(/ü/g, "v"));
23883
+ g.isZh && (g.result = g.result.replace(/ü/g, typeof i.v == "string" ? i.v : "v"));
23882
23884
  });
23883
23885
  }, ti = (n, i, g) => {
23884
23886
  if (i.multiple && m(g) === 1) {
@@ -23889,7 +23891,7 @@ const zi = (n, i) => {
23889
23891
  });
23890
23892
  }
23891
23893
  return i.type === "array" ? n.map((u) => u.result) : i.type === "all" ? n.map((u) => {
23892
- const h = u.isZh ? u.result : "", { initial: s, final: o } = D(h), { head: z, body: y, tail: l } = _(h);
23894
+ const h = u.isZh ? u.result : "", { initial: s, final: o } = D(h, i.initialPattern), { head: z, body: y, tail: l } = P(h);
23893
23895
  let c = [];
23894
23896
  return h !== "" && (c = [h].concat(tn(u.origin, i.surname).filter((e) => e !== h))), {
23895
23897
  origin: u.origin,
@@ -23900,7 +23902,7 @@ const zi = (n, i) => {
23900
23902
  finalHead: z,
23901
23903
  finalBody: y,
23902
23904
  finalTail: l,
23903
- num: Number(I(u.originPinyin)),
23905
+ num: Number(T(u.originPinyin)),
23904
23906
  isZh: u.isZh,
23905
23907
  polyphonic: c,
23906
23908
  inZhRange: !!a.get(u.origin),
@@ -23936,7 +23938,7 @@ var N;
23936
23938
  n[n.AllSegment = 1] = "AllSegment", n[n.AllArray = 2] = "AllArray", n[n.AllString = 3] = "AllString", n[n.PinyinSegment = 4] = "PinyinSegment", n[n.PinyinArray = 5] = "PinyinArray", n[n.PinyinString = 6] = "PinyinString", n[n.ZhSegment = 7] = "ZhSegment", n[n.ZhArray = 8] = "ZhArray", n[n.ZhString = 9] = "ZhString";
23937
23939
  })(N || (N = {}));
23938
23940
  N.AllSegment;
23939
- const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
23941
+ const ri = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
23940
23942
  __name: "edit",
23941
23943
  props: /* @__PURE__ */ E({
23942
23944
  entityKey: {
@@ -23950,7 +23952,7 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
23950
23952
  }),
23951
23953
  emits: /* @__PURE__ */ E(["refresh"], ["update:modelValue"]),
23952
23954
  setup(n, { emit: i }) {
23953
- var v;
23955
+ var Z;
23954
23956
  const { t: g } = Sn(), u = $();
23955
23957
  let h = R({
23956
23958
  requestId: Math.random() * 10 + "",
@@ -23976,11 +23978,11 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
23976
23978
  O.goodsCategoryListBizLayDict.useValues();
23977
23979
  });
23978
23980
  const c = i;
23979
- (v = z.entityKey) != null && v.categoryId && (h = Object.assign(h, z.entityKey), h.parentId === "00000000-0000-0000-0000-000000000000" && (h.parentId = ""));
23981
+ (Z = z.entityKey) != null && Z.categoryId && (h = Object.assign(h, z.entityKey), h.parentId === "00000000-0000-0000-0000-000000000000" && (h.parentId = ""));
23980
23982
  const e = async () => {
23981
23983
  var d;
23982
- await ((d = u.value) == null ? void 0 : d.validate((r) => {
23983
- r && (h.categoryId ? B.update(h).then((w) => {
23984
+ await ((d = u.value) == null ? void 0 : d.validate((b) => {
23985
+ b && (h.categoryId ? B.update(h).then((w) => {
23984
23986
  w.status === 200 && (L({
23985
23987
  message: g("common.submitSuccess"),
23986
23988
  type: "success"
@@ -24010,15 +24012,15 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
24010
24012
  separator: ""
24011
24013
  }).toUpperCase();
24012
24014
  };
24013
- return (d, r) => {
24014
- const w = p("el-input"), k = p("el-form-item"), C = p("el-col"), bn = p("el-tree-select"), rn = p("jmash-single-image-upload"), xn = p("el-row"), mn = p("el-form"), V = p("el-button"), fn = p("el-dialog");
24015
- return an(), kn(fn, {
24015
+ return (d, b) => {
24016
+ const w = p("el-input"), k = p("el-form-item"), C = p("el-col"), rn = p("el-tree-select"), bn = p("jmash-single-image-upload"), xn = p("el-row"), mn = p("el-form"), V = p("el-button"), fn = p("el-dialog");
24017
+ return kn(), an(fn, {
24016
24018
  modelValue: o.value,
24017
- "onUpdate:modelValue": r[4] || (r[4] = (q) => o.value = q),
24019
+ "onUpdate:modelValue": b[4] || (b[4] = (q) => o.value = q),
24018
24020
  onClose: f
24019
24021
  }, {
24020
24022
  footer: j(() => [
24021
- Cn("div", bi, [
24023
+ Cn("div", ri, [
24022
24024
  t(V, { onClick: f }, {
24023
24025
  default: j(() => [
24024
24026
  A(U(d.$t("common.cancel")), 1)
@@ -24056,7 +24058,7 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
24056
24058
  default: j(() => [
24057
24059
  t(w, {
24058
24060
  modelValue: x(h).categoryName,
24059
- "onUpdate:modelValue": r[0] || (r[0] = (q) => x(h).categoryName = q),
24061
+ "onUpdate:modelValue": b[0] || (b[0] = (q) => x(h).categoryName = q),
24060
24062
  placeholder: d.$t("goodsCategory.categoryNameRequired"),
24061
24063
  maxlength: "60",
24062
24064
  "show-word-limit": "",
@@ -24078,7 +24080,7 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
24078
24080
  default: j(() => [
24079
24081
  t(w, {
24080
24082
  modelValue: x(h).categoryCode,
24081
- "onUpdate:modelValue": r[1] || (r[1] = (q) => x(h).categoryCode = q),
24083
+ "onUpdate:modelValue": b[1] || (b[1] = (q) => x(h).categoryCode = q),
24082
24084
  disabled: l.value,
24083
24085
  placeholder: d.$t("goodsCategory.categoryCodeRequired"),
24084
24086
  maxlength: "30",
@@ -24098,9 +24100,9 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
24098
24100
  prop: "parentId"
24099
24101
  }, {
24100
24102
  default: j(() => [
24101
- t(bn, {
24103
+ t(rn, {
24102
24104
  modelValue: x(h).parentId,
24103
- "onUpdate:modelValue": r[2] || (r[2] = (q) => x(h).parentId = q),
24105
+ "onUpdate:modelValue": b[2] || (b[2] = (q) => x(h).parentId = q),
24104
24106
  data: x(O).goodsCategoryListBizLayDict.values,
24105
24107
  filterable: "",
24106
24108
  clearable: "",
@@ -24121,7 +24123,7 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
24121
24123
  prop: "picUrl"
24122
24124
  }, {
24123
24125
  default: j(() => [
24124
- t(rn, {
24126
+ t(bn, {
24125
24127
  "picture-url": x(h).picUrl,
24126
24128
  onImageSrc: jn,
24127
24129
  width: 80,
@@ -24142,7 +24144,7 @@ const bi = { class: "dialog-footer" }, qi = /* @__PURE__ */ wn({
24142
24144
  default: j(() => [
24143
24145
  t(w, {
24144
24146
  modelValue: x(h).description,
24145
- "onUpdate:modelValue": r[3] || (r[3] = (q) => x(h).description = q),
24147
+ "onUpdate:modelValue": b[3] || (b[3] = (q) => x(h).description = q),
24146
24148
  type: "textarea",
24147
24149
  autosize: { minRows: 2 },
24148
24150
  maxlength: "200",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-B6P3fso6.mjs";
1
+ import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-QHlAuCT3.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-DiRkiNJk.mjs";
1
+ import { _ as f } from "./goodsList.vue_vue_type_script_setup_true_lang-BsItIhFh.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as be, getCurrentInstance as ve, ref as K, onActivated as ye, resolveComponent as d, resolveDirective as he, openBlock as r, createElementBlock as v, createElementVNode as P, createVNode as l, withCtx as o, withKeys as G, unref as s, Fragment as D, renderList as B, createBlock as w, createTextVNode as m, toDisplayString as u, withDirectives as C, createCommentVNode as I, isRef as J, normalizeClass as _e } from "vue";
1
+ import { defineComponent as be, getCurrentInstance as ve, ref as K, onActivated as ye, resolveComponent as d, resolveDirective as he, createElementBlock as v, openBlock as r, createElementVNode as P, createVNode as l, withCtx as o, withKeys as G, unref as s, Fragment as D, renderList as B, createBlock as w, createTextVNode as m, toDisplayString as u, withDirectives as C, createCommentVNode as I, normalizeClass as _e, isRef as J } from "vue";
2
2
  import { ElMessage as y } from "element-plus";
3
3
  import { useRouter as we } from "vue-router";
4
4
  import { useTableHooks as Ce, fileApi as W } from "jmash-core";
5
5
  import { useI18n as ke } from "vue-i18n";
6
- import { a as T } from "./index-utNcRJx7.mjs";
7
- import { D as S, C as h } from "./index-CMkWXcWe.mjs";
6
+ import { a as T } from "./index-CXtRrzoC.mjs";
7
+ import { D as S, C as h } from "./index-B0qodJxZ.mjs";
8
8
  const Ve = { class: "app-container" }, Pe = { class: "search-container" }, Ie = ["onClick"], $e = ["onClick"], Re = ["onClick"], Oe = /* @__PURE__ */ be({
9
9
  __name: "goodsList",
10
10
  props: {
@@ -1,10 +1,10 @@
1
- import { defineComponent as ge, getCurrentInstance as fe, ref as j, onActivated as be, resolveComponent as n, resolveDirective as _e, openBlock as r, createElementBlock as y, createElementVNode as C, createVNode as l, withCtx as o, withKeys as Y, unref as s, Fragment as N, renderList as R, createBlock as w, createTextVNode as c, toDisplayString as p, withDirectives as v, createCommentVNode as z, isRef as A } from "vue";
1
+ import { defineComponent as ge, getCurrentInstance as fe, ref as j, onActivated as be, resolveComponent as n, resolveDirective as _e, createElementBlock as y, openBlock as r, createElementVNode as C, createVNode as l, withCtx as o, withKeys as Y, unref as s, Fragment as N, renderList as R, createBlock as w, createTextVNode as c, toDisplayString as p, withDirectives as v, createCommentVNode as z, isRef as A } from "vue";
2
2
  import { ElMessage as V } from "element-plus";
3
3
  import { useRouter as ye } from "vue-router";
4
4
  import { useTableHooks as he, fileApi as H } from "jmash-core";
5
5
  import { useI18n as we } from "vue-i18n";
6
- import { a as B } from "./index-utNcRJx7.mjs";
7
- import { D as g, C as ve } from "./index-CMkWXcWe.mjs";
6
+ import { a as B } from "./index-CXtRrzoC.mjs";
7
+ import { D as g, C as ve } from "./index-B0qodJxZ.mjs";
8
8
  const Se = { class: "app-container" }, Ce = { class: "search-container" }, ke = ["onClick"], Ve = ["onClick"], Ie = ["onClick"], ze = /* @__PURE__ */ ge({
9
9
  __name: "goodsList",
10
10
  props: {
@@ -1,9 +1,9 @@
1
- import { defineComponent as Y, ref as L, reactive as R, onActivated as Z, resolveComponent as s, resolveDirective as x, openBlock as u, createElementBlock as V, createElementVNode as $, createVNode as l, withCtx as t, withKeys as ee, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as k, createBlock as C, isRef as D, createCommentVNode as S } from "vue";
1
+ import { defineComponent as Y, ref as L, reactive as R, onActivated as Z, resolveComponent as s, resolveDirective as x, createElementBlock as V, openBlock as u, createElementVNode as $, createVNode as l, createBlock as k, createCommentVNode as D, withCtx as t, withKeys as ee, unref as n, createTextVNode as p, toDisplayString as c, withDirectives as C, isRef as S } from "vue";
2
2
  import { useTableHooks as oe } from "jmash-core";
3
3
  import { useI18n as le } from "vue-i18n";
4
- import { b as te } from "./index-utNcRJx7.mjs";
5
- import ae from "./edit-C5HGHhkb.mjs";
6
- import { D as ne } from "./index-CMkWXcWe.mjs";
4
+ import { b as te } from "./index-CXtRrzoC.mjs";
5
+ import ae from "./edit-CuYE3fHS.mjs";
6
+ import { D as ne } from "./index-B0qodJxZ.mjs";
7
7
  const se = { class: "app-container" }, de = { class: "search-container" }, ie = ["onClick"], re = ["onClick"], ve = /* @__PURE__ */ Y({
8
8
  __name: "index",
9
9
  setup(ue) {
@@ -183,7 +183,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
183
183
  default: t(() => [
184
184
  l(f, { span: 17 }, {
185
185
  default: t(() => [
186
- k((u(), C(g, {
186
+ C((u(), k(g, {
187
187
  type: "primary",
188
188
  onClick: B
189
189
  }, {
@@ -194,7 +194,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
194
194
  })), [
195
195
  [y, ["goods:goods_label_info:add"]]
196
196
  ]),
197
- k((u(), C(g, {
197
+ C((u(), k(g, {
198
198
  type: "primary",
199
199
  onClick: o[5] || (o[5] = (e) => n(d).deleteRecords())
200
200
  }, {
@@ -215,7 +215,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
215
215
  default: t(() => [
216
216
  l(H, {
217
217
  modelValue: n(b),
218
- "onUpdate:modelValue": o[6] || (o[6] = (e) => D(b) ? b.value = e : b = e),
218
+ "onUpdate:modelValue": o[6] || (o[6] = (e) => S(b) ? b.value = e : b = e),
219
219
  "label-name": "goods/goods-label-info"
220
220
  }, null, 8, ["modelValue"])
221
221
  ]),
@@ -226,16 +226,16 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
226
226
  })
227
227
  ]),
228
228
  footer: t(() => [
229
- n(v) > 0 ? (u(), C(J, {
229
+ n(v) > 0 ? (u(), k(J, {
230
230
  key: 0,
231
231
  total: n(v),
232
- "onUpdate:total": o[7] || (o[7] = (e) => D(v) ? v.value = e : null),
232
+ "onUpdate:total": o[7] || (o[7] = (e) => S(v) ? v.value = e : null),
233
233
  "current-page": i.value.curPage,
234
234
  "onUpdate:currentPage": o[8] || (o[8] = (e) => i.value.curPage = e),
235
235
  "page-size": i.value.pageSize,
236
236
  "onUpdate:pageSize": o[9] || (o[9] = (e) => i.value.pageSize = e),
237
237
  onPagination: o[10] || (o[10] = (e) => n(d).getList())
238
- }, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
238
+ }, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
239
239
  ]),
240
240
  default: t(() => [
241
241
  l(G, {
@@ -278,7 +278,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
278
278
  ])
279
279
  ]),
280
280
  operation: t((e) => [
281
- k((u(), V("span", {
281
+ C((u(), V("span", {
282
282
  class: "el-button-color",
283
283
  onClick: (m) => P(e.data.row)
284
284
  }, [
@@ -286,7 +286,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
286
286
  ], 8, ie)), [
287
287
  [y, ["goods:goods_label_info:update"]]
288
288
  ]),
289
- k((u(), V("span", {
289
+ C((u(), V("span", {
290
290
  class: "el-button-color dropdown-left",
291
291
  onClick: (m) => n(d).deleteRecord(e.data.row)
292
292
  }, [
@@ -300,7 +300,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
300
300
  ]),
301
301
  _: 1
302
302
  }),
303
- r.value.visible ? (u(), C(ae, {
303
+ r.value.visible ? (u(), k(ae, {
304
304
  key: 0,
305
305
  modelValue: r.value.visible,
306
306
  "onUpdate:modelValue": o[11] || (o[11] = (e) => r.value.visible = e),
@@ -308,7 +308,7 @@ const se = { class: "app-container" }, de = { class: "search-container" }, ie =
308
308
  "entity-key": n(h),
309
309
  onRefresh: A,
310
310
  width: "500px"
311
- }, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
311
+ }, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0)
312
312
  ]);
313
313
  };
314
314
  }
@@ -5,8 +5,8 @@ import { BizDict as o, BizLayDict as L, EnumDict as n } from "jmash-core";
5
5
  import { EntryDict as v } from "jmash-dict";
6
6
  import { ref as h, reactive as _ } from "vue";
7
7
  import { specValueApi as y, infoApi as P, specInfoApi as A } from "xyvcard-shop";
8
- import { g as O, b as f, a as g } from "./index-utNcRJx7.mjs";
9
- import { g as m } from "./index-D70qzGQF.mjs";
8
+ import { g as O, b as f, a as g } from "./index-CXtRrzoC.mjs";
9
+ import { g as m } from "./index-szFiZJnI.mjs";
10
10
  class a {
11
11
  }
12
12
  // 模块
@@ -1,7 +1,7 @@
1
- import { defineComponent as b, ref as S, onMounted as A, resolveComponent as p, openBlock as t, createElementBlock as c, createVNode as V, withCtx as m, Fragment as C, renderList as P, unref as h, createBlock as i, createCommentVNode as y } from "vue";
1
+ import { defineComponent as b, ref as S, onMounted as A, resolveComponent as p, createElementBlock as c, openBlock as t, createVNode as V, withCtx as m, Fragment as C, renderList as P, unref as h, createBlock as i, createCommentVNode as y } from "vue";
2
2
  import { useRoute as L } from "vue-router";
3
- import { D as _, C as l } from "./index-CMkWXcWe.mjs";
4
- import { _ as k } from "./goodsList.vue_vue_type_script_setup_true_lang-DiRkiNJk.mjs";
3
+ import { D as _, C as l } from "./index-B0qodJxZ.mjs";
4
+ import { _ as k } from "./goodsList.vue_vue_type_script_setup_true_lang-BsItIhFh.mjs";
5
5
  const N = { class: "app-container" }, x = /* @__PURE__ */ b({
6
6
  __name: "index",
7
7
  setup(g) {