ss-component-new 1.1.111 → 1.1.113

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 (47) hide show
  1. package/dist/{array-MOqJRqj_.cjs → array-BYRvPg11.cjs} +2 -2
  2. package/dist/{array-BTFJdCPJ.js → array-DyxKeexo.js} +100 -97
  3. package/dist/{cloneDeep-DIp5Djvp.js → cloneDeep-BfzU0pBe.js} +1 -1
  4. package/dist/{cloneDeep-BBTgEPs_.cjs → cloneDeep-WwDap0fL.cjs} +1 -1
  5. package/dist/{index-Cga4eqxB.cjs → index-5dGTUAu_.cjs} +1 -1
  6. package/dist/{index-Us9Ktk0Q.js → index-B3iQoZwc.js} +469 -461
  7. package/dist/{index-CGwybNPv.cjs → index-B4WYIlOz.cjs} +1 -1
  8. package/dist/{index-BoTaQZEe.js → index-BH3F6_ql.js} +5 -5
  9. package/dist/index-BIRKKGuW.cjs +1 -0
  10. package/dist/{index-M3zXDy9L.cjs → index-BTt24r3U.cjs} +1 -1
  11. package/dist/{index-CxN0M9fQ.cjs → index-BUxzwz5l.cjs} +1 -1
  12. package/dist/{index-CslNKS_G.js → index-BpJeYb4X.js} +1 -1
  13. package/dist/{index-6-mEl2PZ.cjs → index-CBHJLZo4.cjs} +1 -1
  14. package/dist/{index-Bo0ZGJXk.js → index-COPrDtid.js} +1 -1
  15. package/dist/index-CVBCwf2F.cjs +6 -0
  16. package/dist/{index-BXC130YR.cjs → index-CbphQpiC.cjs} +1 -1
  17. package/dist/{index-s4Vmrqq6.js → index-CdEEK8I0.js} +1 -1
  18. package/dist/{index-BlZCBhoV.cjs → index-ChXKNVG8.cjs} +1 -1
  19. package/dist/{index-CXEcGiRI.cjs → index-CqJa9o1o.cjs} +1 -1
  20. package/dist/{index-BkT-XiOy.cjs → index-CumtOgAw.cjs} +1 -1
  21. package/dist/{index-DgkvmuCO.js → index-CyQkKXnK.js} +2 -2
  22. package/dist/{index-DhAWSBik.js → index-DLartnmY.js} +1 -1
  23. package/dist/{index-D1P-7PDN.cjs → index-DVEWSdUo.cjs} +1 -1
  24. package/dist/{index-DRe0xZFb.js → index-DWiZqfBA.js} +3 -3
  25. package/dist/{index-D2YaYhA8.js → index-DmoecEm1.js} +5 -5
  26. package/dist/{index-BpyGVTxP.js → index-DxyREQkR.js} +24 -24
  27. package/dist/{index-C2ILbsGr.js → index-EIbm0jBZ.js} +7 -7
  28. package/dist/{index-xFvUGDWt.cjs → index-EQOXj03f.cjs} +1 -1
  29. package/dist/{index-iFmFROWN.js → index-QWm4yJ7u.js} +2 -2
  30. package/dist/{index-DMXOKEu9.js → index-b_11tfuG.js} +4 -4
  31. package/dist/index-smYHb1Ta.js +456 -0
  32. package/dist/{index-XmWX5yOU.cjs → index-uMboxmjq.cjs} +1 -1
  33. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-B5ZzVN6N.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CgrtbAG0.cjs} +1 -1
  34. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-ClvYugd-.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CqiRIG3B.js} +2 -2
  35. package/dist/{main-BIEa95EI.js → main-DAPxADXM.js} +4 -4
  36. package/dist/{main-GNd3rC4M.cjs → main-DS-YP1Wn.cjs} +1 -1
  37. package/dist/{request-DXZzznPD.js → request-BK6KCyS9.js} +1 -1
  38. package/dist/{request-D1wShRmC.cjs → request-BrHEv9dn.cjs} +1 -1
  39. package/dist/ss-component.cjs +1 -1
  40. package/dist/ss-component.css +1 -1
  41. package/dist/ss-component.js +6 -6
  42. package/dist/ss-component2.cjs +1 -1
  43. package/dist/ss-component2.js +1 -1
  44. package/package.json +1 -1
  45. package/dist/index-C6JoteVx.cjs +0 -1
  46. package/dist/index-Ciz4VEwQ.cjs +0 -6
  47. package/dist/index-DMWw9Hxm.js +0 -454
@@ -1,13 +1,13 @@
1
1
  import { ref as k, onMounted as ae, watch as J, createElementBlock as _, openBlock as m, Fragment as Y, renderList as Z, createElementVNode as N, createCommentVNode as M, toDisplayString as G, resolveComponent as F, createVNode as B, withCtx as H, createBlock as U, unref as S, resolveDynamicComponent as oe } from "vue";
2
- import { m as le, a as re, b as se } from "./index-DMXOKEu9.js";
3
- import ce from "./index-CslNKS_G.js";
4
- import { p as O, u as ue, a as ie } from "./index-DMWw9Hxm.js";
2
+ import { m as le, a as re, b as se } from "./index-b_11tfuG.js";
3
+ import ce from "./index-BpJeYb4X.js";
4
+ import { p as O, u as ue, a as ie } from "./index-smYHb1Ta.js";
5
5
  import { u as ee } from "./modelComp-CHWFvhCq.js";
6
6
  import { u as te, s as R } from "./menu-BIINB-0Y.js";
7
- import { i as de, e as me, b as X, c as he, g as ve, a as fe } from "./array-BTFJdCPJ.js";
7
+ import { i as de, e as me, b as X, c as he, g as ve, a as fe } from "./array-DyxKeexo.js";
8
8
  import "./index.vue_vue_type_style_index_0_scoped_77dec451_lang-DrStz9iD.js";
9
9
  import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { c as P } from "./cloneDeep-DIp5Djvp.js";
10
+ import { c as P } from "./cloneDeep-BfzU0pBe.js";
11
11
  const ye = { class: "bread-content" }, _e = ["onClick"], ge = { key: 0 }, Ce = {
12
12
  __name: "index",
13
13
  props: {
@@ -59,7 +59,7 @@ const Ae = { class: "system-wrap" }, we = {
59
59
  }, De = {
60
60
  key: 0,
61
61
  class: "item-view-group"
62
- }, be = {
62
+ }, Ie = {
63
63
  __name: "index",
64
64
  props: {
65
65
  content: String,
@@ -69,16 +69,16 @@ const Ae = { class: "system-wrap" }, we = {
69
69
  setup(A, { emit: T }) {
70
70
  const e = A, p = T, y = ee(O);
71
71
  ue(O);
72
- const g = k(!0), D = te(), w = k(!0), { itemData: h } = R(y), v = ie(O), { activeMenuPath: $, activeMenuOpenPaths: Q, menuTriggerType: ne, menus: V } = R(D), { selectIndex: j, selectTitle: d } = R(v), b = k([]), I = k([]), L = (t) => {
72
+ const g = k(!0), D = te(), w = k(!0), { itemData: h } = R(y), v = ie(O), { activeMenuPath: $, activeMenuOpenPaths: Q, menuTriggerType: ne, menus: V } = R(D), { selectIndex: j, selectTitle: d } = R(v), I = k([]), b = k([]), L = (t) => {
73
73
  var o, l, a;
74
74
  const n = (o = h.value) == null ? void 0 : o.find((c) => c.name === $.value);
75
- I.value = (a = (l = n == null ? void 0 : n.compData) == null ? void 0 : l[0]) == null ? void 0 : a.contents, w.value = !0, w.value && (w.value = !1), p("change", {
76
- wholeValue: b.value,
75
+ b.value = (a = (l = n == null ? void 0 : n.compData) == null ? void 0 : l[0]) == null ? void 0 : a.contents, w.value = !0, w.value && (w.value = !1), p("change", {
76
+ wholeValue: I.value,
77
77
  editValue: t
78
78
  });
79
79
  }, W = (t) => {
80
80
  var r, s, f;
81
- const n = P(b.value), o = n == null ? void 0 : n.map((u, i) => (i === (t == null ? void 0 : t.index) && (u.compData = t == null ? void 0 : t.contents), u));
81
+ const n = P(I.value), o = n == null ? void 0 : n.map((u, i) => (i === (t == null ? void 0 : t.index) && (u.compData = t == null ? void 0 : t.contents), u));
82
82
  let l = "";
83
83
  (s = (r = P(o)) == null ? void 0 : r.filter((u) => (u == null ? void 0 : u.comp) === "Form")) == null || s.forEach((u) => {
84
84
  var i;
@@ -90,10 +90,10 @@ const Ae = { class: "system-wrap" }, we = {
90
90
  });
91
91
  });
92
92
  let a = d == null ? void 0 : d.value;
93
- (a == null ? void 0 : a.length) > 0 ? a[0] = { key: "main", value: l } : (Array.isArray(a) || (a = []), a.push({ key: "main", value: l })), v.setSelectTitle(a), g.value = !1, b.value = o;
93
+ (a == null ? void 0 : a.length) > 0 ? a[0] = { key: "main", value: l } : (Array.isArray(a) || (a = []), a.push({ key: "main", value: l })), v.setSelectTitle(a), g.value = !1, I.value = o;
94
94
  const c = (f = h.value) == null ? void 0 : f.map((u, i) => {
95
95
  var C;
96
- return u.name === $.value && (u.compData = (C = u.compData) == null ? void 0 : C.map((x) => ((x == null ? void 0 : x.key) === "groupContents" && (x.contents = b.value), x))), u;
96
+ return u.name === $.value && (u.compData = (C = u.compData) == null ? void 0 : C.map((x) => ((x == null ? void 0 : x.key) === "groupContents" && (x.contents = I.value), x))), u;
97
97
  });
98
98
  y.setItemData(c), w.value && (w.value = !1), p("contentChange", {
99
99
  wholeContent: h.value
@@ -122,7 +122,7 @@ const Ae = { class: "system-wrap" }, we = {
122
122
  const u = (a = P(h.value)) == null ? void 0 : a.filter((i) => (i == null ? void 0 : i.comp) === "Group");
123
123
  t = u == null ? void 0 : u.find((i) => i.name === $.value);
124
124
  }
125
- I.value = (r = (c = t == null ? void 0 : t.compData) == null ? void 0 : c[0]) == null ? void 0 : r.contents, b.value = (f = (s = t == null ? void 0 : t.compData) == null ? void 0 : s[0]) == null ? void 0 : f.contents;
125
+ b.value = (r = (c = t == null ? void 0 : t.compData) == null ? void 0 : c[0]) == null ? void 0 : r.contents, I.value = (f = (s = t == null ? void 0 : t.compData) == null ? void 0 : s[0]) == null ? void 0 : f.contents;
126
126
  },
127
127
  { deep: !0, immediate: !0 }
128
128
  ), J(() => $.value, (t) => {
@@ -130,11 +130,11 @@ const Ae = { class: "system-wrap" }, we = {
130
130
  if (t) {
131
131
  const s = (n = P(h.value)) == null ? void 0 : n.find((f) => f.name === t);
132
132
  if (t && s) {
133
- I.value = (l = (o = s == null ? void 0 : s.compData) == null ? void 0 : o[0]) == null ? void 0 : l.contents, b.value = (c = (a = s == null ? void 0 : s.compData) == null ? void 0 : a[0]) == null ? void 0 : c.contents;
134
- const f = (r = I.value) == null ? void 0 : r.filter((u) => u.comp === "Form");
133
+ b.value = (l = (o = s == null ? void 0 : s.compData) == null ? void 0 : o[0]) == null ? void 0 : l.contents, I.value = (c = (a = s == null ? void 0 : s.compData) == null ? void 0 : a[0]) == null ? void 0 : c.contents;
134
+ const f = (r = b.value) == null ? void 0 : r.filter((u) => u.comp === "Form");
135
135
  ke(f);
136
136
  } else
137
- I.value = [], b.value = [];
137
+ b.value = [], I.value = [];
138
138
  v.setSelectTitle([]), v.setSelectIndex(""), v.setSelectMenu("");
139
139
  }
140
140
  }, {
@@ -177,7 +177,7 @@ const Ae = { class: "system-wrap" }, we = {
177
177
  default: H(() => {
178
178
  var r, s, f, u;
179
179
  return [
180
- t.$route.path === "/" && ((r = I.value) == null ? void 0 : r.length) > 0 ? (m(), _("div", we, [
180
+ t.$route.path === "/" && ((r = b.value) == null ? void 0 : r.length) > 0 ? (m(), _("div", we, [
181
181
  Array.isArray(S(d)) && ((s = S(d)) == null ? void 0 : s.length) > 1 || Array.isArray(S(d)) && !((f = S(d)) != null && f.find((i) => (i == null ? void 0 : i.key) === "main")) && ((u = S(d)) == null ? void 0 : u.length) === 1 || !Array.isArray(S(d)) && S(d).key !== "main" ? (m(), _("div", Se, [
182
182
  (m(), U(pe, {
183
183
  key: S(d),
@@ -186,7 +186,7 @@ const Ae = { class: "system-wrap" }, we = {
186
186
  }, null, 8, ["breadArray"]))
187
187
  ])) : M("", !0),
188
188
  N("div", null, [
189
- (m(!0), _(Y, null, Z(I.value, (i, C) => (m(), _("div", {
189
+ (m(!0), _(Y, null, Z(b.value, (i, C) => (m(), _("div", {
190
190
  class: "item-content",
191
191
  key: C
192
192
  }, [
@@ -212,7 +212,7 @@ const Ae = { class: "system-wrap" }, we = {
212
212
  ]);
213
213
  };
214
214
  }
215
- }, Ie = /* @__PURE__ */ K(be, [["__scopeId", "data-v-7957b1ba"]]), xe = { class: "add-model-content" }, Me = {
215
+ }, be = /* @__PURE__ */ K(Ie, [["__scopeId", "data-v-7661c32b"]]), xe = { class: "add-model-content" }, Me = {
216
216
  key: 0,
217
217
  class: "model-import-data"
218
218
  }, Te = { class: "import-button" }, $e = { key: 0 }, je = {
@@ -243,7 +243,7 @@ const Ae = { class: "system-wrap" }, we = {
243
243
  },
244
244
  emits: ["change", "contentChange"],
245
245
  setup(A, { emit: T }) {
246
- const e = A, p = T, y = k([]), g = k([]), D = k([]), w = k(0), h = ee(O), v = te(O), { itemData: $, originalData: Q } = R(h), { activeMenuPath: ne } = R(v), V = k(null), j = k(0), d = k([]), b = k(""), I = k(0), L = (n) => {
246
+ const e = A, p = T, y = k([]), g = k([]), D = k([]), w = k(0), h = ee(O), v = te(O), { itemData: $, originalData: Q } = R(h), { activeMenuPath: ne } = R(v), V = k(null), j = k(0), d = k([]), I = k(""), b = k(0), L = (n) => {
247
247
  p("contentChange", n);
248
248
  }, W = (n) => {
249
249
  var l;
@@ -261,7 +261,7 @@ const Ae = { class: "system-wrap" }, we = {
261
261
  J(
262
262
  () => g.value,
263
263
  () => {
264
- I.value === g.value.length && g.value.length !== 0 && (y.value = g.value);
264
+ b.value === g.value.length && g.value.length !== 0 && (y.value = g.value);
265
265
  },
266
266
  { deep: !0, immediate: !0 }
267
267
  );
@@ -270,7 +270,7 @@ const Ae = { class: "system-wrap" }, we = {
270
270
  }, z = async (n) => {
271
271
  const o = n.target.files;
272
272
  if (!o) return;
273
- new FileReader(), y.value = [], g.value = [], I.value = o.length;
273
+ new FileReader(), y.value = [], g.value = [], b.value = o.length;
274
274
  const l = Array.from(o).map(async (a) => await new Promise((c) => {
275
275
  const r = new FileReader();
276
276
  r.onload = (s) => {
@@ -332,7 +332,7 @@ const Ae = { class: "system-wrap" }, we = {
332
332
  onClick: q,
333
333
  class: "import-button-content"
334
334
  }, "导入文件"),
335
- b.value ? (m(), _("span", $e, G(b.value), 1)) : M("", !0)
335
+ I.value ? (m(), _("span", $e, G(I.value), 1)) : M("", !0)
336
336
  ])
337
337
  ])) : M("", !0),
338
338
  (e == null ? void 0 : e.mode) === "edit" ? (m(), _("div", je, [
@@ -350,7 +350,7 @@ const Ae = { class: "system-wrap" }, we = {
350
350
  ])
351
351
  ])) : M("", !0),
352
352
  (e == null ? void 0 : e.mode) === "view" ? (m(), _("div", Be, [
353
- (m(), U(Ie, {
353
+ (m(), U(be, {
354
354
  content: y.value,
355
355
  onChange: W,
356
356
  jsonContents: D.value,
@@ -1,14 +1,14 @@
1
1
  import { computed as b, getCurrentInstance as ot, inject as he, unref as d, ref as S, onMounted as te, watch as K, toRef as Qe, onUnmounted as to, shallowRef as je, nextTick as D, defineComponent as Q, useAttrs as no, useSlots as Sn, createElementBlock as L, openBlock as m, normalizeStyle as Ze, normalizeClass as E, createCommentVNode as I, Fragment as xe, createElementVNode as R, renderSlot as Y, createBlock as x, withCtx as A, resolveDynamicComponent as W, mergeProps as gt, withModifiers as Me, createVNode as $, toDisplayString as J, onBeforeUnmount as Oe, provide as kn, Text as oo, reactive as De, h as ao, watchEffect as so, isRef as ro, onScopeDispose as io, resolveComponent as re, Transition as lo, withDirectives as ut, withKeys as $e, createTextVNode as Ae, vShow as ct, markRaw as mt, toRefs as uo, isVNode as Tn, render as In } from "vue";
2
- import { s as co } from "./index-Us9Ktk0Q.js";
3
- import { s as fo } from "./index-DMWw9Hxm.js";
2
+ import { s as co } from "./index-B3iQoZwc.js";
3
+ import { s as fo } from "./index-smYHb1Ta.js";
4
4
  import { s as bt, u as Mn } from "./menu-BIINB-0Y.js";
5
- import { g as vo, c as po, u as ho, d as go } from "./index-Bo0ZGJXk.js";
6
- import { d as Gt, i as xn, a as mo, b as bo, e as An, f as yo, c as et } from "./cloneDeep-DIp5Djvp.js";
7
- import { m as Eo, E as ze } from "./index-s4Vmrqq6.js";
8
- import { S as qt, i as Bn, c as It, t as Rn, a as jt, b as wo, d as ue, e as Xt, f as at, g as ve, h as Ce, j as tt, k as Nn, m as pe, n as Co, o as So, p as ko, q as To, s as Ie, v as Re, w as Ne, _ as Pe, x as ge, V as Io, y as Mo, z as xo, A as Ao, B as ie, N as Xe, C as Bo, D as nt, F as Ln, G as Mt, H as Ro, I as yt, J as No, K as Jt, L as Lo, M as Qt, O as Fo, P as Oo, Q as Do, R as Po, T as _o, U as Ho, W as Zt, X as en, Y as $o } from "./index-BoTaQZEe.js";
5
+ import { g as vo, c as po, u as ho, d as go } from "./index-COPrDtid.js";
6
+ import { d as Gt, i as xn, a as mo, b as bo, e as An, f as yo, c as et } from "./cloneDeep-BfzU0pBe.js";
7
+ import { m as Eo, E as ze } from "./index-CdEEK8I0.js";
8
+ import { S as qt, i as Bn, c as It, t as Rn, a as jt, b as wo, d as ue, e as Xt, f as at, g as ve, h as Ce, j as tt, k as Nn, m as pe, n as Co, o as So, p as ko, q as To, s as Ie, v as Re, w as Ne, _ as Pe, x as ge, V as Io, y as Mo, z as xo, A as Ao, B as ie, N as Xe, C as Bo, D as nt, F as Ln, G as Mt, H as Ro, I as yt, J as No, K as Jt, L as Lo, M as Qt, O as Fo, P as Oo, Q as Do, R as Po, T as _o, U as Ho, W as Zt, X as en, Y as $o } from "./index-BH3F6_ql.js";
9
9
  import { u as zo } from "./modelComp-CHWFvhCq.js";
10
10
  import { useRoute as Vo } from "vue-router";
11
- import "./request-DXZzznPD.js";
11
+ import "./request-BK6KCyS9.js";
12
12
  import { _ as Ko } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  function Uo(e) {
14
14
  return e;