ss-component-new 1.1.18 → 1.1.20

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.
@@ -1,6 +1,6 @@
1
1
  import { getCurrentInstance as Le, inject as Fe, ref as N, computed as B, unref as x, readonly as Eo, getCurrentScope as So, onScopeDispose as Do, onMounted as Tt, nextTick as Je, watch as ve, isRef as Co, warn as xo, provide as To, defineComponent as $e, createElementBlock as O, openBlock as v, mergeProps as $n, renderSlot as re, normalizeClass as we, createVNode as pe, Transition as Mn, withCtx as k, withDirectives as Rn, createElementVNode as se, normalizeStyle as te, createTextVNode as Qe, toDisplayString as ne, vShow as Bn, shallowReactive as Oo, createBlock as A, createCommentVNode as j, resolveDynamicComponent as je, Fragment as oe, withModifiers as Io, isVNode as Vn, render as an, resolveComponent as X, renderList as ue, createSlots as Fn, normalizeProps as No, guardReactiveProps as Po } from "vue";
2
- import { i as ko, b as Ao, e as Wt, S as rn, M as zn, f as $o, h as Mo, w as Ro, j as Bo, k as Vo, _ as We, c as Ot, l as ln } from "./menu-hS9inuNL.js";
3
- import Fo from "./index-BFdnTJMh.js";
2
+ import { i as ko, b as Ao, e as Wt, S as rn, M as zn, f as $o, h as Mo, w as Ro, j as Bo, k as Vo, _ as We, c as Ot, l as ln } from "./menu-V9qTN_Cu.js";
3
+ import Fo from "./index-CYJSOYY9.js";
4
4
  /**!
5
5
  * Sortable 1.15.6
6
6
  * @author RubaXa <trash@rubaxa.org>
@@ -2504,13 +2504,13 @@ const yo = fr(Ye, "$message"), Fr = {
2504
2504
  (v(!0), O(oe, null, ue(e == null ? void 0 : e.rowContents, (d, w) => (v(), A(y, {
2505
2505
  key: w,
2506
2506
  class: we(["form-item", { "form-row-content": !t.isRowFlex }]),
2507
- style: te({ flexDirection: t.isRowFlex ? "row" : "column", alignItems: t.isRowFlex ? "center" : "start", height: t.isRowFlex ? "100%" : "auto", width: `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 8px)`, minWidth: `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 8px)` })
2507
+ style: te({ flexDirection: t.isRowFlex ? "row" : "column", alignItems: t.isRowFlex ? "center" : "start", height: t.isRowFlex ? "100%" : "auto", width: `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 12px)`, minWidth: `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 12px)` })
2508
2508
  }, {
2509
2509
  label: k(() => [
2510
2510
  d != null && d.label ? (v(), O("div", {
2511
2511
  key: 0,
2512
2512
  class: "from-item-label",
2513
- style: te({ width: t.isRowFlex ? "72px" : `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 8px)`, minWidth: t.isRowFlex ? "72px" : `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 8px)` })
2513
+ style: te({ width: t.isRowFlex ? "72px" : "auto", minWidth: t.isRowFlex ? "72px" : `calc((100% / ${(d == null ? void 0 : d.width) ?? 1}) - 8px)` })
2514
2514
  }, ne(d == null ? void 0 : d.label), 5)) : j("", !0)
2515
2515
  ]),
2516
2516
  default: k(() => [
@@ -2561,7 +2561,7 @@ const yo = fr(Ye, "$message"), Fr = {
2561
2561
  ], 4);
2562
2562
  };
2563
2563
  }
2564
- }, Kr = /* @__PURE__ */ We(Gr, [["__scopeId", "data-v-becdf6c1"]]), Zr = {
2564
+ }, Kr = /* @__PURE__ */ We(Gr, [["__scopeId", "data-v-62da0828"]]), Zr = {
2565
2565
  __name: "index",
2566
2566
  props: {
2567
2567
  value: String,
@@ -2901,7 +2901,7 @@ const yo = fr(Ye, "$message"), Fr = {
2901
2901
  }, null, 8, ["modelValue", "disabled"]);
2902
2902
  };
2903
2903
  }
2904
- }, ii = /* @__PURE__ */ We(ri, [["__scopeId", "data-v-a3bb813e"]]), li = { class: "dialog-title" }, si = {
2904
+ }, ii = /* @__PURE__ */ We(ri, [["__scopeId", "data-v-917c453d"]]), li = { class: "dialog-title" }, si = {
2905
2905
  __name: "index",
2906
2906
  props: {
2907
2907
  title: {
@@ -3052,7 +3052,7 @@ const yo = fr(Ye, "$message"), Fr = {
3052
3052
  ], 64);
3053
3053
  };
3054
3054
  }
3055
- }, hi = /* @__PURE__ */ We(pi, [["__scopeId", "data-v-f39b7365"]]), gi = {
3055
+ }, hi = /* @__PURE__ */ We(pi, [["__scopeId", "data-v-3e08e20d"]]), gi = {
3056
3056
  SWITCH: Fr,
3057
3057
  INPUT: zr,
3058
3058
  COLOR: Lr,
@@ -1,7 +1,7 @@
1
1
  import { ref as _, watch as V, createElementBlock as C, createCommentVNode as I, openBlock as f, Fragment as le, renderList as se, createElementVNode as O, createBlock as Z, toDisplayString as v, resolveDynamicComponent as ue, onMounted as ce, createVNode as A } from "vue";
2
- import { p as E, e as ie, g as de, m as me, a as ye, b as fe, c as ge } from "./array-DLhSgLgc.js";
3
- import { u as ee } from "./modelComp-Eh2O6nl8.js";
4
- import { _ as te, s as ne, c as k, u as he } from "./menu-hS9inuNL.js";
2
+ import { p as E, e as ie, g as de, m as me, a as ye, b as fe, c as ge } from "./array-BJkGW7C1.js";
3
+ import { u as ee } from "./modelComp-BHNLY0cK.js";
4
+ import { _ as te, s as ne, c as k, u as he } from "./menu-V9qTN_Cu.js";
5
5
  const x = [
6
6
  {
7
7
  key: "FormName",
@@ -55,20 +55,20 @@ const x = [
55
55
  },
56
56
  emits: ["change"],
57
57
  setup(F, { emit: B }) {
58
- const e = F, $ = B, h = ee(E), { itemData: p } = ne(h), b = _([]), w = _([]), L = (l) => {
58
+ const e = F, $ = B, h = ee(E), { itemData: b } = ne(h), p = _([]), w = _([]), L = (l) => {
59
59
  $("change", {
60
- wholeValue: b.value,
60
+ wholeValue: p.value,
61
61
  editValue: l
62
62
  });
63
63
  }, D = (l) => {
64
- const g = k(b.value), S = g == null ? void 0 : g.map((c, j) => (j === (l == null ? void 0 : l.index) && (c.compData = l == null ? void 0 : l.contents), c));
65
- b.value = S;
64
+ const g = k(p.value), S = g == null ? void 0 : g.map((c, j) => (j === (l == null ? void 0 : l.index) && (c.compData = l == null ? void 0 : l.contents), c));
65
+ p.value = S;
66
66
  };
67
67
  V(
68
- () => p.value,
68
+ () => b.value,
69
69
  () => {
70
70
  var l;
71
- !p.value || ((l = p.value) == null ? void 0 : l.length) === 0 || (w.value = p.value, b.value = p.value);
71
+ !b.value || ((l = b.value) == null ? void 0 : l.length) === 0 || (w.value = b.value, p.value = b.value);
72
72
  },
73
73
  { deep: !0, immediate: !0 }
74
74
  ), V(
@@ -106,7 +106,7 @@ const x = [
106
106
  ])) : I("", !0);
107
107
  };
108
108
  }
109
- }, pe = /* @__PURE__ */ te(Ce, [["__scopeId", "data-v-869e6e20"]]), be = { class: "add-model-content" }, we = {
109
+ }, be = /* @__PURE__ */ te(Ce, [["__scopeId", "data-v-869e6e20"]]), pe = { class: "add-model-content" }, we = {
110
110
  key: 0,
111
111
  class: "model-import-data"
112
112
  }, je = { class: "import-button" }, Se = { key: 0 }, xe = {
@@ -137,11 +137,11 @@ const x = [
137
137
  },
138
138
  emits: ["change"],
139
139
  setup(F, { emit: B }) {
140
- const e = F, $ = B, h = _(""), p = _([]), b = _(0), w = ee(E);
140
+ const e = F, $ = B, h = _(""), b = _([]), p = _(0), w = ee(E);
141
141
  he(E);
142
142
  const { itemData: L, originalData: D } = ne(w), N = _(null), l = _(0), g = _(""), S = () => {
143
- b.value = window.innerWidth;
144
- }, c = (o) => {
143
+ p.value = window.innerWidth;
144
+ }, c = async (o) => {
145
145
  var u;
146
146
  const a = (u = k(o == null ? void 0 : o.wholeValue)) == null ? void 0 : u.map((n) => {
147
147
  var m;
@@ -207,7 +207,7 @@ const x = [
207
207
  }), V(
208
208
  () => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
209
209
  () => {
210
- h.value = e == null ? void 0 : e.content, p.value = e == null ? void 0 : e.jsonContents;
210
+ h.value = e == null ? void 0 : e.content, b.value = e == null ? void 0 : e.jsonContents;
211
211
  },
212
212
  { deep: !0, immediate: !0 }
213
213
  ), V(
@@ -236,7 +236,7 @@ const x = [
236
236
  };
237
237
  return (o, a) => {
238
238
  var u;
239
- return f(), C("div", be, [
239
+ return f(), C("div", pe, [
240
240
  ((u = e == null ? void 0 : e.jsonContents) == null ? void 0 : u.length) === 0 ? (f(), C("div", we, [
241
241
  O("div", je, [
242
242
  O("input", {
@@ -260,7 +260,7 @@ const x = [
260
260
  ]),
261
261
  (f(), C("div", {
262
262
  class: "model-show",
263
- key: b.value
263
+ key: p.value
264
264
  }, [
265
265
  A(ye)
266
266
  ])),
@@ -269,17 +269,17 @@ const x = [
269
269
  ])
270
270
  ])) : I("", !0),
271
271
  (e == null ? void 0 : e.mode) === "view" ? (f(), C("div", Ne, [
272
- (f(), Z(pe, {
272
+ (f(), Z(be, {
273
273
  content: h.value,
274
274
  onChange: c,
275
- jsonContents: p.value,
276
- key: b.value
275
+ jsonContents: b.value,
276
+ key: p.value
277
277
  }, null, 8, ["content", "jsonContents"]))
278
278
  ])) : I("", !0)
279
279
  ]);
280
280
  };
281
281
  }
282
- }, De = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-512609c1"]]);
282
+ }, De = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-b25bde75"]]);
283
283
  export {
284
284
  De as default
285
285
  };