liyu-pc-base 1.0.326 → 1.0.328

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.
@@ -81,8 +81,8 @@ const wl = be({
81
81
  );
82
82
  $ && $.forEach((M) => {
83
83
  M.group.forEach((u) => {
84
- n.forEach((g) => {
85
- u.field_name == g.field_name && (u.operator = g.operator, u.checked = !0);
84
+ n.forEach((y) => {
85
+ u.field_name == y.field_name && (u.operator = y.operator, u.checked = !0);
86
86
  });
87
87
  });
88
88
  }), t.value.push({
@@ -91,22 +91,22 @@ const wl = be({
91
91
  base_search_list: $
92
92
  });
93
93
  });
94
- const y = (n) => {
94
+ const g = (n) => {
95
95
  n.preventDefault();
96
96
  const S = [];
97
97
  t.value.forEach(($) => {
98
98
  const M = [];
99
99
  $.base_search_list.forEach((u) => {
100
- u.group.forEach((g) => {
101
- if (g.checked) {
102
- if (!g.operator) {
103
- const h = d(g);
100
+ u.group.forEach((y) => {
101
+ if (y.checked) {
102
+ if (!y.operator) {
103
+ const h = d(y);
104
104
  if (h.length > 0) {
105
105
  const [F] = h;
106
- g.operator = F;
106
+ y.operator = F;
107
107
  }
108
108
  }
109
- M.push(g);
109
+ M.push(y);
110
110
  }
111
111
  });
112
112
  }), S.push(M);
@@ -116,12 +116,12 @@ const wl = be({
116
116
  props: e,
117
117
  activeKey: r,
118
118
  tab_list: t,
119
- handleSubmit: y
119
+ handleSubmit: g
120
120
  };
121
121
  }
122
122
  });
123
123
  const kl = { style: { "font-size": "14px" } }, Cl = { style: { color: "#7d8089" } };
124
- function El(e, l, r, t, y, d) {
124
+ function El(e, l, r, t, g, d) {
125
125
  const n = D("a-checkbox"), S = D("a-space"), $ = D("a-tab-pane"), M = D("a-tabs"), u = D("a-modal");
126
126
  return v(), z(u, {
127
127
  title: "添加过滤条件",
@@ -140,16 +140,16 @@ function El(e, l, r, t, y, d) {
140
140
  default: E(() => [
141
141
  W(M, {
142
142
  activeKey: e.activeKey,
143
- "onUpdate:activeKey": l[0] || (l[0] = (g) => e.activeKey = g)
143
+ "onUpdate:activeKey": l[0] || (l[0] = (y) => e.activeKey = y)
144
144
  }, {
145
145
  default: E(() => [
146
- (v(!0), U(x, null, oe(e.tab_list, (g) => (v(), z($, {
146
+ (v(!0), U(x, null, oe(e.tab_list, (y) => (v(), z($, {
147
147
  class: "my-card",
148
- key: g.key,
149
- tab: g.tab_name
148
+ key: y.key,
149
+ tab: y.tab_name
150
150
  }, {
151
151
  default: E(() => [
152
- (v(!0), U(x, null, oe(g.base_search_list, (h) => (v(), U("div", {
152
+ (v(!0), U(x, null, oe(y.base_search_list, (h) => (v(), U("div", {
153
153
  key: h.name
154
154
  }, [
155
155
  ee("div", kl, N(h.name), 1),
@@ -209,7 +209,7 @@ const Sl = /* @__PURE__ */ $e(wl, [["render", El], ["__scopeId", "data-v-25d1dc1
209
209
  setup(e, { emit: l }) {
210
210
  var $, M;
211
211
  const r = A([]), t = (u) => u.operator_list_selected ? u.operator_list_selected : u.operator_list ? u.operator_list : [];
212
- ($ = e.default_search_condition_config_list) == null || $.forEach((u, g) => {
212
+ ($ = e.default_search_condition_config_list) == null || $.forEach((u, y) => {
213
213
  const h = JSON.parse(JSON.stringify(e.base_search_condition_config_list));
214
214
  h && h.forEach((F) => {
215
215
  F.group.forEach((R) => {
@@ -218,14 +218,14 @@ const Sl = /* @__PURE__ */ $e(wl, [["render", El], ["__scopeId", "data-v-25d1dc1
218
218
  });
219
219
  });
220
220
  }), r.value.push({
221
- tab_name: `条件组${g + 1}`,
222
- key: `condition_tab_${g}`,
221
+ tab_name: `条件组${y + 1}`,
222
+ key: `condition_tab_${y}`,
223
223
  base_search_list: h
224
224
  });
225
225
  });
226
- const y = ((M = e.default_search_condition_config_list) == null ? void 0 : M.length) || 0, d = [];
226
+ const g = ((M = e.default_search_condition_config_list) == null ? void 0 : M.length) || 0, d = [];
227
227
  e.base_search_condition_config_list.forEach((u) => {
228
- const g = [];
228
+ const y = [];
229
229
  u.group.forEach((h) => {
230
230
  const F = t(h);
231
231
  if (h.default_operator && (h.operator = h.default_operator), F.includes(h.operator) || (h.operator = null), !h.operator && F.length > 0) {
@@ -233,39 +233,39 @@ const Sl = /* @__PURE__ */ $e(wl, [["render", El], ["__scopeId", "data-v-25d1dc1
233
233
  h.operator = K;
234
234
  }
235
235
  const R = { ...h, checked: !1 };
236
- g.push(R);
236
+ y.push(R);
237
237
  }), d.push({
238
238
  name: u.name,
239
- group: g
239
+ group: y
240
240
  });
241
241
  }), r.value.push({
242
- tab_name: `条件组${y + 1}`,
243
- key: `condition_tab_${y}`,
242
+ tab_name: `条件组${g + 1}`,
243
+ key: `condition_tab_${g}`,
244
244
  base_search_list: d
245
245
  });
246
- const n = A(`condition_tab_${y}`);
246
+ const n = A(`condition_tab_${g}`);
247
247
  return {
248
248
  props: e,
249
249
  activeKey: n,
250
250
  tab_list: r,
251
251
  handleSubmit: (u) => {
252
252
  u.preventDefault();
253
- const g = [];
253
+ const y = [];
254
254
  r.value.forEach((h) => {
255
255
  const F = [];
256
256
  h.base_search_list.forEach((R) => {
257
257
  R.group.forEach((K) => {
258
258
  K.checked && F.push(K);
259
259
  });
260
- }), F.length > 0 && g.push(F);
261
- }), g.length == 0 ? (ve.error("新增条件组未增加新的字段,自动取消"), l("cancel")) : l("ok", { new_list: g });
260
+ }), F.length > 0 && y.push(F);
261
+ }), y.length == 0 ? (ve.error("新增条件组未增加新的字段,自动取消"), l("cancel")) : l("ok", { new_list: y });
262
262
  },
263
263
  get_operator_list_selected: t
264
264
  };
265
265
  }
266
266
  });
267
267
  const $l = { style: { "font-size": "14px" } }, Ol = { style: { color: "#7d8089" } }, Fl = { style: { "font-size": "14px" } }, Rl = { style: { color: "#7d8089" } };
268
- function Il(e, l, r, t, y, d) {
268
+ function Il(e, l, r, t, g, d) {
269
269
  const n = D("a-checkbox"), S = D("a-space"), $ = D("a-tab-pane"), M = D("a-tabs"), u = D("a-modal");
270
270
  return v(), z(u, {
271
271
  title: "添加过滤条件组",
@@ -282,13 +282,13 @@ function Il(e, l, r, t, y, d) {
282
282
  })
283
283
  }, {
284
284
  default: E(() => [
285
- (v(!0), U(x, null, oe(e.tab_list, (g) => (v(), z($, {
285
+ (v(!0), U(x, null, oe(e.tab_list, (y) => (v(), z($, {
286
286
  class: "my-card",
287
- key: g.key,
288
- tab: g.tab_name
287
+ key: y.key,
288
+ tab: y.tab_name
289
289
  }, {
290
290
  default: E(() => [
291
- (v(!0), U(x, null, oe(g.base_search_list, (h) => (v(), U("div", {
291
+ (v(!0), U(x, null, oe(y.base_search_list, (h) => (v(), U("div", {
292
292
  key: h.name
293
293
  }, [
294
294
  ee("div", $l, N(h.name), 1),
@@ -316,16 +316,16 @@ function Il(e, l, r, t, y, d) {
316
316
  }, 1032, ["tab"]))), 128)),
317
317
  W(M, {
318
318
  activeKey: e.activeKey,
319
- "onUpdate:activeKey": l[0] || (l[0] = (g) => e.activeKey = g)
319
+ "onUpdate:activeKey": l[0] || (l[0] = (y) => e.activeKey = y)
320
320
  }, {
321
321
  default: E(() => [
322
- (v(!0), U(x, null, oe(e.tab_list, (g) => (v(), z($, {
322
+ (v(!0), U(x, null, oe(e.tab_list, (y) => (v(), z($, {
323
323
  class: "my-card",
324
- key: g.key,
325
- tab: g.tab_name
324
+ key: y.key,
325
+ tab: y.tab_name
326
326
  }, {
327
327
  default: E(() => [
328
- (v(!0), U(x, null, oe(g.base_search_list, (h) => (v(), U("div", {
328
+ (v(!0), U(x, null, oe(y.base_search_list, (h) => (v(), U("div", {
329
329
  key: h.name
330
330
  }, [
331
331
  ee("div", Fl, N(h.name), 1),
@@ -419,9 +419,9 @@ const jl = /* @__PURE__ */ $e(Ml, [["render", Il], ["__scopeId", "data-v-52b515e
419
419
  "update:is_clear_model"
420
420
  ],
421
421
  setup(e, { emit: l }) {
422
- const r = A(e.is_massage_default), t = A({}), { t: y } = jt(), { options_eq: d } = Al(), n = A([]), S = {}, $ = A(null), M = A([
423
- { value: "yes", label: y("is_or_not_blank_or_null.yes") },
424
- { value: "no", label: y("is_or_not_blank_or_null.no") }
422
+ const r = A(e.is_massage_default), t = A({}), { t: g } = jt(), { options_eq: d } = Al(), n = A([]), S = {}, $ = A(null), M = A([
423
+ { value: "yes", label: g("is_or_not_blank_or_null.yes") },
424
+ { value: "no", label: g("is_or_not_blank_or_null.no") }
425
425
  ]);
426
426
  $.value || ($.value = JSON.parse(
427
427
  JSON.stringify(e.default_search_condition_config_list)
@@ -455,7 +455,7 @@ const jl = /* @__PURE__ */ $e(Ml, [["render", Il], ["__scopeId", "data-v-52b515e
455
455
  json_list_is_blank_is_null: 1,
456
456
  is_or_not_blank_or_null: 1,
457
457
  is_or_not_null: 1
458
- }, g = (o) => {
458
+ }, y = (o) => {
459
459
  const [a] = [o];
460
460
  return Array.isArray(a) && o.every((i) => Array.isArray(i));
461
461
  };
@@ -489,7 +489,7 @@ const jl = /* @__PURE__ */ $e(Ml, [["render", Il], ["__scopeId", "data-v-52b515e
489
489
  return;
490
490
  }
491
491
  }
492
- if (c instanceof Array && g(c))
492
+ if (c instanceof Array && y(c))
493
493
  n.value[a][i.field_name] = null;
494
494
  else if (u[o] == 1) {
495
495
  if (c instanceof Array) {
@@ -640,10 +640,10 @@ const jl = /* @__PURE__ */ $e(Ml, [["render", Il], ["__scopeId", "data-v-52b515e
640
640
  var w;
641
641
  const i = [], c = (w = n.value[o]) == null ? void 0 : w[a.field_name];
642
642
  if (a.operator === "is_or_not_blank_or_null" || a.operator === "is_or_not_null")
643
- return y(c === "yes" ? "is_or_not_blank_or_null.yes" : "is_or_not_blank_or_null.no");
643
+ return g(c === "yes" ? "is_or_not_blank_or_null.yes" : "is_or_not_blank_or_null.no");
644
644
  if (a.operator === "_eq") {
645
645
  if (["上月", "本月", "今日", "昨日", "期初"].includes(c))
646
- return y(c);
646
+ return g(c);
647
647
  } else {
648
648
  if (t.value[a.field_name] != null)
649
649
  return `${ze(a.format, a.operator)} ${t.value[a.field_name]}`;
@@ -718,7 +718,7 @@ const jl = /* @__PURE__ */ $e(Ml, [["render", Il], ["__scopeId", "data-v-52b515e
718
718
  e.eventBus && e.eventBus.off("filterChange", f);
719
719
  }), {
720
720
  props: e,
721
- t: y,
721
+ t: g,
722
722
  isShowForm: r,
723
723
  labelModel: t,
724
724
  get_operator_type_map: ze,
@@ -766,8 +766,8 @@ const Bl = { class: "expand-btn" }, Vl = { key: 1 }, Ul = {
766
766
  key: 3,
767
767
  class: "search-bar"
768
768
  };
769
- function Hl(e, l, r, t, y, d) {
770
- const n = D("a-button"), S = D("a-space"), $ = D("a-tag"), M = D("close-outlined"), u = D("a-cascader"), g = D("a-tooltip"), h = D("a-select-option"), F = D("a-select"), R = D("field-render-2"), K = D("a-flex"), se = D("close-circle-outlined"), X = D("a-input-group"), q = D("a-space-compact"), G = D("a-divider"), ae = D("add-condition-modal"), pe = D("add-condition-group-modal");
769
+ function Hl(e, l, r, t, g, d) {
770
+ const n = D("a-button"), S = D("a-space"), $ = D("a-tag"), M = D("close-outlined"), u = D("a-cascader"), y = D("a-tooltip"), h = D("a-select-option"), F = D("a-select"), R = D("field-render-2"), K = D("a-flex"), se = D("close-circle-outlined"), X = D("a-input-group"), q = D("a-space-compact"), G = D("a-divider"), ae = D("add-condition-modal"), pe = D("add-condition-group-modal");
771
771
  return v(), U(x, null, [
772
772
  e.is_massage_default ? Z("", !0) : (v(), z(S, { key: 0 }, {
773
773
  default: E(() => [
@@ -852,7 +852,7 @@ function Hl(e, l, r, t, y, d) {
852
852
  default: E(() => [
853
853
  W(X, { compact: "" }, {
854
854
  default: E(() => [
855
- W(g, {
855
+ W(y, {
856
856
  title: f.label
857
857
  }, {
858
858
  default: E(() => [
@@ -868,7 +868,7 @@ function Hl(e, l, r, t, y, d) {
868
868
  ]),
869
869
  _: 2
870
870
  }, 1032, ["title"]),
871
- W(g, {
871
+ W(y, {
872
872
  title: e.get_operator_type_map(f.format, f.operator)
873
873
  }, {
874
874
  default: E(() => [
@@ -1054,7 +1054,7 @@ function Hl(e, l, r, t, y, d) {
1054
1054
  ], 64)) : Z("", !0)
1055
1055
  ])) : Z("", !0),
1056
1056
  e.deleteBtnDict && e.deleteBtnDict[I] ? (v(), U("span", ql, [
1057
- e.deleteBtnDict[I][f.field_name] && (e.default_search_condition_config_list[0].length > 1 || e.default_search_condition_config_list.length > 1) && !e.is_massage_default ? (v(), z(g, {
1057
+ e.deleteBtnDict[I][f.field_name] && (e.default_search_condition_config_list[0].length > 1 || e.default_search_condition_config_list.length > 1) && !e.is_massage_default ? (v(), z(y, {
1058
1058
  key: 0,
1059
1059
  title: "删除此条件"
1060
1060
  }, {
@@ -1202,7 +1202,7 @@ const In = /* @__PURE__ */ $e(zl, [["render", Hl], ["__scopeId", "data-v-e531927
1202
1202
  });
1203
1203
  }
1204
1204
  });
1205
- function Tl(e, l, r, t, y, d) {
1205
+ function Tl(e, l, r, t, g, d) {
1206
1206
  const n = D("field-render"), S = D("a-col"), $ = D("a-row"), M = D("a-form");
1207
1207
  return v(), z(M, {
1208
1208
  ref: "form",
@@ -1230,14 +1230,14 @@ function Tl(e, l, r, t, y, d) {
1230
1230
  xs: 24
1231
1231
  }, {
1232
1232
  default: E(() => [
1233
- (v(!0), U(x, null, oe(e.form.fields.slice(u[0], u[1]), (g) => (v(), z(n, {
1234
- value: e.model[g.name],
1235
- "onUpdate:value": (h) => e.model[g.name] = h,
1236
- field: g,
1233
+ (v(!0), U(x, null, oe(e.form.fields.slice(u[0], u[1]), (y) => (v(), z(n, {
1234
+ value: e.model[y.name],
1235
+ "onUpdate:value": (h) => e.model[y.name] = h,
1236
+ field: y,
1237
1237
  formModel: e.model,
1238
- key: g.name,
1238
+ key: y.name,
1239
1239
  validateInfos: e.validateInfos,
1240
- options: e.options[g.datasource ? g.datasource : g.name]
1240
+ options: e.options[y.datasource ? y.datasource : y.name]
1241
1241
  }, null, 8, ["value", "onUpdate:value", "field", "formModel", "validateInfos", "options"]))), 128))
1242
1242
  ]),
1243
1243
  _: 2
@@ -1254,9 +1254,9 @@ function Tl(e, l, r, t, y, d) {
1254
1254
  (v(!0), U(x, null, oe(e.form.fields, (u) => (v(), U(x, null, [
1255
1255
  u.name2 ? (v(), z(n, {
1256
1256
  value: e.model[u.name],
1257
- "onUpdate:value": (g) => e.model[u.name] = g,
1257
+ "onUpdate:value": (y) => e.model[u.name] = y,
1258
1258
  label: e.model[u.name2],
1259
- "onUpdate:label": (g) => e.model[u.name2] = g,
1259
+ "onUpdate:label": (y) => e.model[u.name2] = y,
1260
1260
  field: u,
1261
1261
  formModel: e.model,
1262
1262
  key: u.name,
@@ -1264,7 +1264,7 @@ function Tl(e, l, r, t, y, d) {
1264
1264
  options: e.options[u.datasource ? u.datasource : u.name]
1265
1265
  }, null, 8, ["value", "onUpdate:value", "label", "onUpdate:label", "field", "formModel", "validateInfos", "options"])) : (v(), z(n, {
1266
1266
  value: e.model[u.name],
1267
- "onUpdate:value": (g) => e.model[u.name] = g,
1267
+ "onUpdate:value": (y) => e.model[u.name] = y,
1268
1268
  field: u,
1269
1269
  formModel: e.model,
1270
1270
  key: u.name,
@@ -1336,7 +1336,7 @@ const jn = /* @__PURE__ */ $e(Ll, [["render", Tl]]), Nl = be({
1336
1336
  created() {
1337
1337
  }
1338
1338
  });
1339
- function Gl(e, l, r, t, y, d) {
1339
+ function Gl(e, l, r, t, g, d) {
1340
1340
  const n = D("field-render"), S = D("a-col"), $ = D("a-row"), M = D("a-form");
1341
1341
  return v(), z(M, {
1342
1342
  ref: "form",
@@ -1351,8 +1351,8 @@ function Gl(e, l, r, t, y, d) {
1351
1351
  type: "flex"
1352
1352
  }, {
1353
1353
  default: E(() => [
1354
- (v(!0), U(x, null, oe(u, (g) => (v(), z(S, {
1355
- span: g.span
1354
+ (v(!0), U(x, null, oe(u, (y) => (v(), z(S, {
1355
+ span: y.span
1356
1356
  }, {
1357
1357
  default: E(() => [
1358
1358
  (v(!0), U(x, null, oe(e.form.fields, (h) => (v(), U(x, null, [
@@ -1449,8 +1449,8 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
1449
1449
  },
1450
1450
  emits: ["change"],
1451
1451
  setup(e, { emit: l }) {
1452
- const r = _l(), t = ml(), y = pl(), d = At(), n = y.currentOrg, S = y.userid, $ = A(y.CHECK_AUTH(Kl)), M = A([]), { t: u } = jt();
1453
- let g;
1452
+ const r = _l(), t = ml(), g = pl(), d = At(), n = g.currentOrg, S = g.userid, $ = A(g.CHECK_AUTH(Kl)), M = A([]), { t: u } = jt();
1453
+ let y;
1454
1454
  const h = me(() => {
1455
1455
  const s = M.value.filter((a) => !!a.user_id && a.is_system).map((a) => a).sort((a, i) => a.sort == i.sort ? a.id - i.id : a.sort - i.sort), o = M.value.filter((a) => !!a.user_id && !a.is_system).map((a) => a).sort((a, i) => a.sort == i.sort ? a.id - i.id : a.sort - i.sort);
1456
1456
  return s.concat(o);
@@ -1484,14 +1484,14 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
1484
1484
  conditions: w,
1485
1485
  isShowGeneralFilter: p
1486
1486
  }) => new Promise((_) => {
1487
- !e.countData && !(g != null && g.countData) && (console.error("无count接口"), _(null));
1487
+ !e.countData && !(y != null && y.countData) && (console.error("无count接口"), _(null));
1488
1488
  const C = {
1489
1489
  org_id: n.id,
1490
1490
  ...se(o || {}),
1491
1491
  ...a,
1492
1492
  sort_fields: i
1493
1493
  };
1494
- p && (C.group_condition = c, C.conditions = K(w)), C.required_condition = fe(), gt(C, g != null && g.countData ? g.countData : e.countData).then((re) => {
1494
+ p && (C.group_condition = c, C.conditions = K(w)), C.required_condition = fe(), gt(C, y != null && y.countData ? y.countData : e.countData).then((re) => {
1495
1495
  M.value.forEach((ue) => {
1496
1496
  ue.id == s && (ue.num = re);
1497
1497
  }), _(null);
@@ -1518,17 +1518,17 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
1518
1518
  },
1519
1519
  "/view/get_view_settings_for_user"
1520
1520
  );
1521
- if (g = Je(e.app_flag, e.modalType, null, u, {
1521
+ if (y = Je(e.app_flag, e.modalType, null, u, {
1522
1522
  use_store: !0,
1523
1523
  to_i18n: !0,
1524
1524
  enable_btn: !1
1525
- }), (g == null ? void 0 : g.isView) === !1) {
1525
+ }), (y == null ? void 0 : y.isView) === !1) {
1526
1526
  window.location.hash = "", l("change", null, {}, !0, !0);
1527
1527
  return;
1528
1528
  }
1529
1529
  t.set_required_condition(
1530
1530
  e.modalType,
1531
- g.required_condition
1531
+ y.required_condition
1532
1532
  ), M.value.length = 0;
1533
1533
  let o = [];
1534
1534
  const a = [];
@@ -2207,8 +2207,8 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
2207
2207
  }
2208
2208
  });
2209
2209
  const Xl = { style: { "font-weight": "700" } }, Ql = ["onClick"], Zl = { style: { "max-width": "130px", float: "left", "white-space": "nowrap", overflow: "hidden" } }, xl = ["onClick"], ea = ["onClick"], ta = ["onClick"], la = { style: { "font-weight": "700" } }, aa = ["onClick"], na = { style: { "max-width": "130px", float: "left", "white-space": "nowrap", overflow: "hidden" } }, oa = ["onClick"], sa = ["onClick"], ia = ["onClick"];
2210
- function ra(e, l, r, t, y, d) {
2211
- const n = D("caret-right-outlined"), S = D("setting-outlined"), $ = D("a-tooltip"), M = D("plus-outlined"), u = D("a-menu-item"), g = D("a-menu"), h = D("a-dropdown"), F = D("a-table"), R = D("a-collapse-panel"), K = D("a-collapse"), se = D("a-card");
2210
+ function ra(e, l, r, t, g, d) {
2211
+ const n = D("caret-right-outlined"), S = D("setting-outlined"), $ = D("a-tooltip"), M = D("plus-outlined"), u = D("a-menu-item"), y = D("a-menu"), h = D("a-dropdown"), F = D("a-table"), R = D("a-collapse-panel"), K = D("a-collapse"), se = D("a-card");
2212
2212
  return v(), z(se, {
2213
2213
  "body-style": { padding: 0, height: e.height + 87 + "px", overflowY: "auto" }
2214
2214
  }, {
@@ -2296,7 +2296,7 @@ function ra(e, l, r, t, y, d) {
2296
2296
  }, N(q.num), 5),
2297
2297
  W(h, { class: "dropdown" }, {
2298
2298
  overlay: E(() => [
2299
- W(g, null, {
2299
+ W(y, null, {
2300
2300
  default: E(() => [
2301
2301
  !q.is_system || e.is_auth ? (v(), z(u, { key: 0 }, {
2302
2302
  default: E(() => [
@@ -2415,7 +2415,7 @@ function ra(e, l, r, t, y, d) {
2415
2415
  }, N(q.num), 5),
2416
2416
  W(h, { class: "dropdown" }, {
2417
2417
  overlay: E(() => [
2418
- W(g, null, {
2418
+ W(y, null, {
2419
2419
  default: E(() => [
2420
2420
  !q.is_system || e.is_auth ? (v(), z(u, { key: 0 }, {
2421
2421
  default: E(() => [
@@ -2486,13 +2486,13 @@ const ua = /* @__PURE__ */ $e(Yl, [["render", ra]]), da = be({
2486
2486
  setup(e, { emit: l }) {
2487
2487
  return {
2488
2488
  props: e,
2489
- change: (t, y, d) => {
2490
- l("change", t, y, d);
2489
+ change: (t, g, d) => {
2490
+ l("change", t, g, d);
2491
2491
  }
2492
2492
  };
2493
2493
  }
2494
2494
  });
2495
- function fa(e, l, r, t, y, d) {
2495
+ function fa(e, l, r, t, g, d) {
2496
2496
  const n = D("view-manage"), S = D("a-card");
2497
2497
  return v(), z(S, {
2498
2498
  "body-style": { padding: 0, height: e.selectObj.height + 96 + "px", overflowY: "auto" }
@@ -2513,29 +2513,29 @@ const zn = /* @__PURE__ */ $e(da, [["render", fa]]), ca = Symbol("fullLayoutStat
2513
2513
  Ve(ca, {
2514
2514
  fullLayoutRef: r
2515
2515
  });
2516
- const y = () => {
2516
+ const g = () => {
2517
2517
  const n = r.value;
2518
2518
  if (n) {
2519
2519
  const S = n.getBoundingClientRect().top;
2520
2520
  t.value = S;
2521
2521
  }
2522
- }, d = vl.debounce(y, 100);
2522
+ }, d = vl.debounce(g, 100);
2523
2523
  return Oe(() => {
2524
- window.addEventListener("resize", d), y();
2524
+ window.addEventListener("resize", d), g();
2525
2525
  }), Pe(() => {
2526
- window.removeEventListener("resize", y);
2526
+ window.removeEventListener("resize", g);
2527
2527
  }), L(
2528
2528
  () => l.multiTab,
2529
2529
  () => {
2530
2530
  ke(() => {
2531
- y();
2531
+ g();
2532
2532
  });
2533
2533
  }
2534
2534
  ), L(
2535
2535
  () => l.layout,
2536
2536
  () => {
2537
2537
  ke(() => {
2538
- y();
2538
+ g();
2539
2539
  });
2540
2540
  }
2541
2541
  ), (n, S) => (v(), U("div", {
@@ -2572,7 +2572,7 @@ const J = (e) => typeof e == "number" ? e : parseFloat(e) || 0, Ie = (e) => type
2572
2572
  function ga(e) {
2573
2573
  let l = 0;
2574
2574
  for (let r = 0, t = e.length; r < t; r++) {
2575
- const y = e[r], d = y.y ?? 0, n = y.h ?? 0, S = J(d) + J(n);
2575
+ const g = e[r], d = g.y ?? 0, n = g.h ?? 0, S = J(d) + J(n);
2576
2576
  S > l && (l = S);
2577
2577
  }
2578
2578
  return l;
@@ -2589,16 +2589,16 @@ function Xe(e) {
2589
2589
  function Vt(e, l) {
2590
2590
  if (e === l)
2591
2591
  return !1;
2592
- const r = J(e.x), t = J(e.y), y = J(e.w), d = J(e.h), n = J(l.x), S = J(l.y), $ = J(l.w), M = J(l.h);
2593
- return !(r + y <= n || r >= n + $ || t + d <= S || t >= S + M);
2592
+ const r = J(e.x), t = J(e.y), g = J(e.w), d = J(e.h), n = J(l.x), S = J(l.y), $ = J(l.w), M = J(l.h);
2593
+ return !(r + g <= n || r >= n + $ || t + d <= S || t >= S + M);
2594
2594
  }
2595
2595
  function Be(e, l) {
2596
- const r = Dt(e), t = Wt(e), y = Array(e.length);
2596
+ const r = Dt(e), t = Wt(e), g = Array(e.length);
2597
2597
  for (let d = 0, n = t.length; d < n; d++) {
2598
2598
  let S = t[d];
2599
- S.static || (S = ba(r, S, l), r.push(S)), y[e.indexOf(S)] = S, S.moved = !1;
2599
+ S.static || (S = ba(r, S, l), r.push(S)), g[e.indexOf(S)] = S, S.moved = !1;
2600
2600
  }
2601
- return y;
2601
+ return g;
2602
2602
  }
2603
2603
  function ba(e, l, r) {
2604
2604
  if (r && !Ie(l.y) && l.top_i === void 0 && l.left_i === void 0)
@@ -2611,7 +2611,7 @@ function ba(e, l, r) {
2611
2611
  }
2612
2612
  function wa(e, l) {
2613
2613
  const r = Dt(e);
2614
- for (let t = 0, y = e.length; t < y; t++) {
2614
+ for (let t = 0, g = e.length; t < g; t++) {
2615
2615
  const d = e[t], n = J(d.x), S = J(d.w);
2616
2616
  if (n + S > l.cols && !Ie(d.x) && !Ie(d.w) && d.left_i === void 0 && (d.x = l.cols - S), n < 0 && !Ie(d.x) && d.left_i === void 0 && (d.x = 0, d.w = l.cols), !d.static)
2617
2617
  r.push(d);
@@ -2637,7 +2637,7 @@ function Ut(e, l) {
2637
2637
  function Dt(e) {
2638
2638
  return e.filter((l) => l.static);
2639
2639
  }
2640
- function Qe(e, l, r, t, y, d = !1) {
2640
+ function Qe(e, l, r, t, g, d = !1) {
2641
2641
  if (l.static)
2642
2642
  return e;
2643
2643
  const n = l.x, S = l.y, $ = t && J(l.y) > t;
@@ -2647,9 +2647,9 @@ function Qe(e, l, r, t, y, d = !1) {
2647
2647
  const u = Ut(M, l);
2648
2648
  if (d && u.length)
2649
2649
  return l.x = n, l.y = S, l.moved = !1, e;
2650
- for (let g = 0, h = u.length; g < h; g++) {
2651
- const F = u[g];
2652
- F.moved || J(l.y) > J(F.y) && J(l.y) - J(F.y) > J(F.h) / 4 || (F.static ? e = Ct(e, F, l, y) : e = Ct(e, l, F, y));
2650
+ for (let y = 0, h = u.length; y < h; y++) {
2651
+ const F = u[y];
2652
+ F.moved || J(l.y) > J(F.y) && J(l.y) - J(F.y) > J(F.h) / 4 || (F.static ? e = Ct(e, F, l, g) : e = Ct(e, l, F, g));
2653
2653
  }
2654
2654
  return e;
2655
2655
  }
@@ -2674,7 +2674,7 @@ function Ct(e, l, r, t) {
2674
2674
  );
2675
2675
  }
2676
2676
  function Et(e, l, r, t) {
2677
- const y = typeof l == "number" ? l + "px" : l, d = typeof e == "number" ? (e < 0 ? 0 : e) + "px" : e, n = "translate3d(" + y + "," + d + ", 0)";
2677
+ const g = typeof l == "number" ? l + "px" : l, d = typeof e == "number" ? (e < 0 ? 0 : e) + "px" : e, n = "translate3d(" + g + "," + d + ", 0)";
2678
2678
  return {
2679
2679
  transform: n,
2680
2680
  WebkitTransform: n,
@@ -2687,7 +2687,7 @@ function Et(e, l, r, t) {
2687
2687
  };
2688
2688
  }
2689
2689
  function St(e, l, r, t) {
2690
- const y = typeof l == "number" ? l * -1 + "px" : "calc(" + l + " * -1)", d = typeof e == "number" ? (e < 0 ? 0 : e) + "px" : e, n = "translate3d(" + y + "," + d + ", 0)";
2690
+ const g = typeof l == "number" ? l * -1 + "px" : "calc(" + l + " * -1)", d = typeof e == "number" ? (e < 0 ? 0 : e) + "px" : e, n = "translate3d(" + g + "," + d + ", 0)";
2691
2691
  return {
2692
2692
  transform: n,
2693
2693
  WebkitTransform: n,
@@ -2719,15 +2719,15 @@ function Ca(e, l, r, t) {
2719
2719
  }
2720
2720
  function Wt(e) {
2721
2721
  return [...e].sort((l, r) => {
2722
- const t = J(l.x), y = J(l.y), d = J(r.x), n = J(r.y);
2723
- return y === n && t === d ? 0 : y > n || y === n && t > d ? 1 : -1;
2722
+ const t = J(l.x), g = J(l.y), d = J(r.x), n = J(r.y);
2723
+ return g === n && t === d ? 0 : g > n || g === n && t > d ? 1 : -1;
2724
2724
  });
2725
2725
  }
2726
2726
  function Ea(e, l = "Layout") {
2727
2727
  const r = ["x", "y", "w", "h"];
2728
2728
  if (!Array.isArray(e))
2729
2729
  throw new Error(l + " must be an array!");
2730
- for (let t = 0, y = e.length; t < y; t++) {
2730
+ for (let t = 0, g = e.length; t < g; t++) {
2731
2731
  const d = e[t];
2732
2732
  for (let n = 0; n < r.length; n++) {
2733
2733
  const S = r[n];
@@ -2749,8 +2749,8 @@ function qt(e) {
2749
2749
  function Sa(e, l) {
2750
2750
  const r = qt(e);
2751
2751
  let t = r[0];
2752
- for (let y = 1, d = r.length; y < d; y++) {
2753
- const n = r[y];
2752
+ for (let g = 1, d = r.length; g < d; g++) {
2753
+ const n = r[g];
2754
2754
  l > e[n] && (t = n);
2755
2755
  }
2756
2756
  return t;
@@ -2762,12 +2762,12 @@ function Mt(e, l) {
2762
2762
  );
2763
2763
  return l[e];
2764
2764
  }
2765
- function Ma(e, l, r, t, y, d, n) {
2765
+ function Ma(e, l, r, t, g, d, n) {
2766
2766
  if (l[t])
2767
2767
  return Xe(l[t]);
2768
2768
  let S = e;
2769
2769
  const $ = qt(r), M = $.slice($.indexOf(t));
2770
- for (let u = 0, g = M.length; u < g; u++) {
2770
+ for (let u = 0, y = M.length; u < y; u++) {
2771
2771
  const h = M[u];
2772
2772
  if (l[h]) {
2773
2773
  S = l[h];
@@ -2777,8 +2777,8 @@ function Ma(e, l, r, t, y, d, n) {
2777
2777
  return S = Xe(S || []), Be(wa(S, { cols: d }), n);
2778
2778
  }
2779
2779
  function $a(e) {
2780
- const l = e.target.offsetParent || document.body, r = l === document.body ? { left: 0, top: 0 } : l.getBoundingClientRect(), t = e.clientX + l.scrollLeft - r.left, y = e.clientY + l.scrollTop - r.top;
2781
- return { x: t, y };
2780
+ const l = e.target.offsetParent || document.body, r = l === document.body ? { left: 0, top: 0 } : l.getBoundingClientRect(), t = e.clientX + l.scrollLeft - r.left, g = e.clientY + l.scrollTop - r.top;
2781
+ return { x: t, y: g };
2782
2782
  }
2783
2783
  function $t(e) {
2784
2784
  return $a(e);
@@ -2826,7 +2826,7 @@ const Pt = /* @__PURE__ */ be({
2826
2826
  },
2827
2827
  emits: ["container-resized", "resize", "resized", "move", "moved"],
2828
2828
  setup(e, { expose: l, emit: r }) {
2829
- const t = e, y = r, d = Ne("eventBus"), n = Ne("usePercentages", !1), S = Ne("layout"), $ = A(null), M = A(null), u = A(1), g = A(100), h = A(100), F = A(10), R = A([10, 10]), K = A(1 / 0), se = A(null), X = A(null), q = A(!0), G = A(!1), ae = A(null), pe = A(!1), de = A(null), I = A(NaN), f = A(NaN), _e = A(NaN), O = A(NaN), Ce = A({}), we = A(!1), T = A(!1), Q = A(!1), te = A(null), fe = A(null), ne = A(null), ie = A(null), s = A(t.x), o = A(t.y), a = A(t.w), i = A(t.h), c = A(null), w = (m) => typeof m == "number" ? m : parseFloat(m) || 0, p = (m, b) => m == null ? "0%" : typeof m == "number" ? m + "%" : m.endsWith("%") || m.endsWith("px") || m.includes("calc") ? m : m === "grow" ? b !== void 0 ? `calc(100% - ${typeof b == "number" ? b + "%" : b})` : "100%" : m.includes("%") || m.includes("px") || m.includes("calc") ? m : m + "%", _ = me(() => t.usePercentages !== null ? t.usePercentages : n), C = me(() => X.value && !t.static), re = me(() => (se.value || X.value) && !t.static), ue = me(() => navigator.userAgent.toLowerCase().indexOf("android") !== -1), le = me(() => {
2829
+ const t = e, g = r, d = Ne("eventBus"), n = Ne("usePercentages", !1), S = Ne("layout"), $ = A(null), M = A(null), u = A(1), y = A(100), h = A(100), F = A(10), R = A([10, 10]), K = A(1 / 0), se = A(null), X = A(null), q = A(!0), G = A(!1), ae = A(null), pe = A(!1), de = A(null), I = A(NaN), f = A(NaN), _e = A(NaN), O = A(NaN), Ce = A({}), we = A(!1), T = A(!1), Q = A(!1), te = A(null), fe = A(null), ne = A(null), ie = A(null), s = A(t.x), o = A(t.y), a = A(t.w), i = A(t.h), c = A(null), w = (m) => typeof m == "number" ? m : parseFloat(m) || 0, p = (m, b) => m == null ? "0%" : typeof m == "number" ? m + "%" : m.endsWith("%") || m.endsWith("px") || m.includes("calc") ? m : m === "grow" ? b !== void 0 ? `calc(100% - ${typeof b == "number" ? b + "%" : b})` : "100%" : m.includes("%") || m.includes("px") || m.includes("calc") ? m : m + "%", _ = me(() => t.usePercentages !== null ? t.usePercentages : n), C = me(() => X.value && !t.static), re = me(() => (se.value || X.value) && !t.static), ue = me(() => navigator.userAgent.toLowerCase().indexOf("android") !== -1), le = me(() => {
2830
2830
  var k;
2831
2831
  const m = Ge(), b = (k = m == null ? void 0 : m.parent) == null ? void 0 : k.proxy;
2832
2832
  return b != null && b.isMirrored ? !we.value : we.value;
@@ -2839,7 +2839,7 @@ const Pt = /* @__PURE__ */ be({
2839
2839
  "render-rtl": le.value,
2840
2840
  "disable-userselect": G.value,
2841
2841
  "no-touch": ue.value && re.value
2842
- })), He = me(() => le.value ? "vue-resizable-handle vue-rtl-resizable-handle" : "vue-resizable-handle"), Le = () => (g.value - (R.value[0] || 10) * (u.value + 1)) / u.value, je = (m, b, k, B) => {
2842
+ })), He = me(() => le.value ? "vue-resizable-handle vue-rtl-resizable-handle" : "vue-resizable-handle"), Le = () => (y.value - (R.value[0] || 10) * (u.value + 1)) / u.value, je = (m, b, k, B) => {
2843
2843
  if (_.value) {
2844
2844
  const Fe = {
2845
2845
  width: p(k, m),
@@ -2907,12 +2907,12 @@ const Pt = /* @__PURE__ */ be({
2907
2907
  return ce - j(Fe[1].trim().replace(")", ""), ce);
2908
2908
  }
2909
2909
  return parseFloat(H) || 0;
2910
- }, P = j(k.top, h.value), V = j(k.width, g.value), Y = j(k.height, h.value);
2910
+ }, P = j(k.top, h.value), V = j(k.width, y.value), Y = j(k.height, h.value);
2911
2911
  if (le.value) {
2912
- const H = j(k.right, g.value);
2912
+ const H = j(k.right, y.value);
2913
2913
  B = St(P, H, V, Y);
2914
2914
  } else {
2915
- const H = j(k.left, g.value);
2915
+ const H = j(k.left, y.value);
2916
2916
  B = Et(P, H, V, Y);
2917
2917
  }
2918
2918
  } else
@@ -2934,10 +2934,10 @@ const Pt = /* @__PURE__ */ be({
2934
2934
  return;
2935
2935
  m[b] = B[1];
2936
2936
  }
2937
- y("container-resized", t.i, t.h, t.w, m.height, m.width);
2937
+ g("container-resized", t.i, t.h, t.w, m.height, m.width);
2938
2938
  }, Lt = (m, b) => {
2939
2939
  if (_.value) {
2940
- let P = b / g.value * 100, V = m / h.value * 100;
2940
+ let P = b / y.value * 100, V = m / h.value * 100;
2941
2941
  return P = Math.max(Math.min(P, 100 - w(a.value)), 0), V = Math.max(Math.min(V, 100 - w(i.value)), 0), { x: P, y: V };
2942
2942
  }
2943
2943
  const k = Le();
@@ -2945,7 +2945,7 @@ const Pt = /* @__PURE__ */ be({
2945
2945
  return B = Math.max(Math.min(B, u.value - w(a.value)), 0), j = Math.max(Math.min(j, K.value - w(i.value)), 0), { x: B, y: j };
2946
2946
  }, xe = (m, b, k = !1) => {
2947
2947
  if (_.value) {
2948
- let V = b / g.value * 100, Y = m / h.value * 100;
2948
+ let V = b / y.value * 100, Y = m / h.value * 100;
2949
2949
  return V = Math.max(Math.min(V, 100 - w(s.value)), 0), Y = Math.max(Math.min(Y, 100 - w(o.value)), 0), { w: V, h: Y };
2950
2950
  }
2951
2951
  const B = Le();
@@ -2979,7 +2979,7 @@ const Pt = /* @__PURE__ */ be({
2979
2979
  }
2980
2980
  }
2981
2981
  let P = Lt(j.top, j.left);
2982
- I.value = k, f.value = B, (w(s.value) !== P.x || w(o.value) !== P.y) && y("move", t.i, P.x, P.y), m.type === "dragend" && (w(ne.value) !== P.x || w(ie.value) !== P.y) && y("moved", t.i, P.x, P.y), _.value ? d.emit("dragEvent", {
2982
+ I.value = k, f.value = B, (w(s.value) !== P.x || w(o.value) !== P.y) && g("move", t.i, P.x, P.y), m.type === "dragend" && (w(ne.value) !== P.x || w(ie.value) !== P.y) && g("moved", t.i, P.x, P.y), _.value ? d.emit("dragEvent", {
2983
2983
  eventType: m.type,
2984
2984
  i: t.i,
2985
2985
  x: P.x,
@@ -3006,7 +3006,7 @@ const Pt = /* @__PURE__ */ be({
3006
3006
  case "resizestart": {
3007
3007
  te.value = a.value, fe.value = i.value, P = je(s.value, o.value, a.value, i.value);
3008
3008
  const Y = (H, ce) => typeof H == "number" ? H : typeof H != "string" ? 0 : H.endsWith("%") ? parseFloat(H) / 100 * ce : H.endsWith("px") ? parseFloat(H) : parseFloat(H) || 0;
3009
- j.width = Y(P.width, g.value), j.height = Y(P.height, h.value), de.value = j, pe.value = !0;
3009
+ j.width = Y(P.width, y.value), j.height = Y(P.height, h.value), de.value = j, pe.value = !0;
3010
3010
  break;
3011
3011
  }
3012
3012
  case "resizemove": {
@@ -3017,12 +3017,12 @@ const Pt = /* @__PURE__ */ be({
3017
3017
  case "resizeend": {
3018
3018
  P = je(s.value, o.value, a.value, i.value);
3019
3019
  const Y = (H, ce) => typeof H == "number" ? H : typeof H != "string" ? 0 : H.endsWith("%") ? parseFloat(H) / 100 * ce : H.endsWith("px") ? parseFloat(H) : parseFloat(H) || 0;
3020
- j.width = Y(P.width, g.value), j.height = Y(P.height, h.value), de.value = null, pe.value = !1;
3020
+ j.width = Y(P.width, y.value), j.height = Y(P.height, h.value), de.value = null, pe.value = !1;
3021
3021
  break;
3022
3022
  }
3023
3023
  }
3024
3024
  const V = xe(j.height, j.width);
3025
- _.value || (V.w < t.minW && (V.w = t.minW), V.w > t.maxW && (V.w = t.maxW), V.h < t.minH && (V.h = t.minH), V.h > t.maxH && (V.h = t.maxH), V.h < 1 && (V.h = 1), V.w < 1 && (V.w = 1)), _e.value = k, O.value = B, (w(a.value) !== V.w || w(i.value) !== V.h) && y("resize", t.i, V.h, V.w, j.height, j.width), m.type === "resizeend" && (w(te.value) !== V.w || w(fe.value) !== V.h) && y("resized", t.i, V.h, V.w, j.height, j.width), d.emit("resizeEvent", {
3025
+ _.value || (V.w < t.minW && (V.w = t.minW), V.w > t.maxW && (V.w = t.maxW), V.h < t.minH && (V.h = t.minH), V.h > t.maxH && (V.h = t.maxH), V.h < 1 && (V.h = 1), V.w < 1 && (V.w = 1)), _e.value = k, O.value = B, (w(a.value) !== V.w || w(i.value) !== V.h) && g("resize", t.i, V.h, V.w, j.height, j.width), m.type === "resizeend" && (w(te.value) !== V.w || w(fe.value) !== V.h) && g("resized", t.i, V.h, V.w, j.height, j.width), d.emit("resizeEvent", {
3026
3026
  eventType: m.type,
3027
3027
  i: t.i,
3028
3028
  x: w(s.value),
@@ -3048,10 +3048,10 @@ const Pt = /* @__PURE__ */ be({
3048
3048
  let m, b;
3049
3049
  if (_.value)
3050
3050
  m = {
3051
- width: t.maxW / 100 * g.value,
3051
+ width: t.maxW / 100 * y.value,
3052
3052
  height: t.maxH / 100 * h.value
3053
3053
  }, b = {
3054
- width: t.minW / 100 * g.value,
3054
+ width: t.minW / 100 * y.value,
3055
3055
  height: t.minH / 100 * h.value
3056
3056
  };
3057
3057
  else {
@@ -3086,13 +3086,13 @@ const Pt = /* @__PURE__ */ be({
3086
3086
  enabled: !1
3087
3087
  });
3088
3088
  }, tt = (m, b) => {
3089
- g.value = m || 100, b != null && (u.value = b), $.value && $.value.parentElement && (h.value = $.value.parentElement.offsetHeight || 100);
3089
+ y.value = m || 100, b != null && (u.value = b), $.value && $.value.parentElement && (h.value = $.value.parentElement.offsetHeight || 100);
3090
3090
  }, Te = () => {
3091
3091
  ye();
3092
3092
  }, Gt = () => {
3093
3093
  if (te.value = a.value, fe.value = i.value, $.value && $.value.firstElementChild) {
3094
3094
  const m = $.value.firstElementChild.getBoundingClientRect(), b = xe(m.height, m.width, !0);
3095
- _.value || (b.w < t.minW && (b.w = t.minW), b.w > t.maxW && (b.w = t.maxW), b.h < t.minH && (b.h = t.minH), b.h > t.maxH && (b.h = t.maxH), b.h < 1 && (b.h = 1), b.w < 1 && (b.w = 1)), (w(a.value) !== b.w || w(i.value) !== b.h) && y("resize", t.i, b.h, b.w, m.height, m.width), (w(te.value) !== b.w || w(fe.value) !== b.h) && (y("resized", t.i, b.h, b.w, m.height, m.width), d.emit("resizeEvent", {
3095
+ _.value || (b.w < t.minW && (b.w = t.minW), b.w > t.maxW && (b.w = t.maxW), b.h < t.minH && (b.h = t.minH), b.h > t.maxH && (b.h = t.maxH), b.h < 1 && (b.h = 1), b.w < 1 && (b.w = 1)), (w(a.value) !== b.w || w(i.value) !== b.h) && g("resize", t.i, b.h, b.w, m.height, m.width), (w(te.value) !== b.w || w(fe.value) !== b.h) && (g("resized", t.i, b.h, b.w, m.height, m.width), d.emit("resizeEvent", {
3096
3096
  eventType: "resizeend",
3097
3097
  i: t.i,
3098
3098
  x: w(s.value),
@@ -3121,7 +3121,7 @@ const Pt = /* @__PURE__ */ be({
3121
3121
  return Oe(() => {
3122
3122
  var k;
3123
3123
  const m = Ge(), b = (k = m == null ? void 0 : m.parent) == null ? void 0 : k.proxy;
3124
- u.value = b.colNum, F.value = b.rowHeight, g.value = b.width !== null && b.width !== 0 ? b.width : 100, R.value = b.margin !== void 0 ? b.margin : [10, 10], K.value = b.maxRows, $.value && $.value.parentElement && (h.value = $.value.parentElement.offsetHeight || 100, g.value === 100 && (g.value = $.value.parentElement.offsetWidth || 100)), t.isDraggable === null ? se.value = b.isDraggable : se.value = t.isDraggable, t.isResizable === null ? X.value = b.isResizable : X.value = t.isResizable, q.value = b.useCssTransforms, d.on("updateWidth", lt), d.on("compact", at), d.on("setDraggable", nt), d.on("setResizable", ot), d.on("setRowHeight", st), d.on("setMaxRows", it), d.on("directionchange", rt), d.on("setColNum", ut), we.value = wt() === "rtl", ye();
3124
+ u.value = b.colNum, F.value = b.rowHeight, y.value = b.width !== null && b.width !== 0 ? b.width : 100, R.value = b.margin !== void 0 ? b.margin : [10, 10], K.value = b.maxRows, $.value && $.value.parentElement && (h.value = $.value.parentElement.offsetHeight || 100, y.value === 100 && (y.value = $.value.parentElement.offsetWidth || 100)), t.isDraggable === null ? se.value = b.isDraggable : se.value = t.isDraggable, t.isResizable === null ? X.value = b.isResizable : X.value = t.isResizable, q.value = b.useCssTransforms, d.on("updateWidth", lt), d.on("compact", at), d.on("setDraggable", nt), d.on("setResizable", ot), d.on("setRowHeight", st), d.on("setMaxRows", it), d.on("directionchange", rt), d.on("setColNum", ut), we.value = wt() === "rtl", ye();
3125
3125
  }), It(() => {
3126
3126
  d.off("updateWidth", lt), d.off("compact", at), d.off("setDraggable", nt), d.off("setResizable", ot), d.off("setRowHeight", st), d.off("setMaxRows", it), d.off("directionchange", rt), d.off("setColNum", ut), c.value && c.value.unset();
3127
3127
  }), L(
@@ -3147,7 +3147,7 @@ const Pt = /* @__PURE__ */ be({
3147
3147
  ye(), Ae();
3148
3148
  }), L(u, () => {
3149
3149
  Ee(), ye(), Ae();
3150
- }), L(g, () => {
3150
+ }), L(y, () => {
3151
3151
  Ee(), ye(), Ae();
3152
3152
  }), L(h, () => {
3153
3153
  Ee(), ye(), Ae();
@@ -3246,9 +3246,9 @@ const Fa = /* @__PURE__ */ be({
3246
3246
  },
3247
3247
  emits: ["layout-created", "layout-mounted", "layout-before-mount", "layout-updated", "layout-ready", "update:layout", "breakpoint-changed"],
3248
3248
  setup(e, { expose: l, emit: r }) {
3249
- const t = e, y = r, d = zt();
3249
+ const t = e, g = r, d = zt();
3250
3250
  Ve("eventBus", d), Ve("usePercentages", t.usePercentages), Ve("layout", t.layout);
3251
- const n = A(null), S = A(null), $ = A(null), M = A({}), u = A(0), g = A(!1), h = he({
3251
+ const n = A(null), S = A(null), $ = A(null), M = A({}), u = A(0), y = A(!1), h = he({
3252
3252
  x: 0,
3253
3253
  y: 0,
3254
3254
  w: 0,
@@ -3268,10 +3268,10 @@ const Fa = /* @__PURE__ */ be({
3268
3268
  }, pe = (T, Q, te, fe, ne, ie) => {
3269
3269
  let s = kt(t.layout, String(Q));
3270
3270
  s == null && (s = { x: 0, y: 0, w: 0, h: 0, i: String(Q) }), T === "dragmove" || T === "dragstart" ? (h.i = Q, h.x = s.x, h.y = s.y, h.w = ie, h.h = ne, ke(() => {
3271
- g.value = !0;
3271
+ y.value = !0;
3272
3272
  }), d.emit("updateWidth", $.value)) : ke(() => {
3273
- g.value = !1;
3274
- }), Qe(t.layout, s, te, fe, !0, t.preventCollision), Be(t.layout, t.verticalCompact), d.emit("compact"), q(), T === "dragend" && y("layout-updated", t.layout);
3273
+ y.value = !1;
3274
+ }), Qe(t.layout, s, te, fe, !0, t.preventCollision), Be(t.layout, t.verticalCompact), d.emit("compact"), q(), T === "dragend" && g("layout-updated", t.layout);
3275
3275
  }, de = () => {
3276
3276
  if (!$.value)
3277
3277
  return;
@@ -3286,7 +3286,7 @@ const Fa = /* @__PURE__ */ be({
3286
3286
  Q,
3287
3287
  t.verticalCompact
3288
3288
  );
3289
- F.value[T] = te, R.value !== T && y("breakpoint-changed", T, te), y("update:layout", te), R.value = T, d.emit("setColNum", Mt(T, t.cols));
3289
+ F.value[T] = te, R.value !== T && g("breakpoint-changed", T, te), g("update:layout", te), R.value = T, d.emit("setColNum", Mt(T, t.cols));
3290
3290
  }, I = (T, Q, te, fe, ne, ie) => {
3291
3291
  let s = kt(t.layout, String(Q));
3292
3292
  s == null && (s = { h: 0, w: 0, x: 0, y: 0, i: String(Q) });
@@ -3303,10 +3303,10 @@ const Fa = /* @__PURE__ */ be({
3303
3303
  }
3304
3304
  }
3305
3305
  o || (s.w = ie, s.h = ne), T === "resizestart" || T === "resizemove" ? (h.i = Q, h.x = te, h.y = fe, h.w = s.w, h.h = s.h, ke(() => {
3306
- g.value = !0;
3306
+ y.value = !0;
3307
3307
  }), d.emit("updateWidth", $.value)) : ke(() => {
3308
- g.value = !1;
3309
- }), t.responsive && de(), Be(t.layout, t.verticalCompact), d.emit("compact"), q(), T === "resizeend" && y("layout-updated", t.layout);
3308
+ y.value = !1;
3309
+ }), t.responsive && de(), Be(t.layout, t.verticalCompact), d.emit("compact"), q(), T === "resizeend" && g("layout-updated", t.layout);
3310
3310
  }, f = () => {
3311
3311
  F.value = Object.assign({}, t.responsiveLayouts);
3312
3312
  }, _e = (T, Q) => {
@@ -3318,7 +3318,7 @@ const Fa = /* @__PURE__ */ be({
3318
3318
  const T = _e(t.layout, K.value);
3319
3319
  T.length > 0 && (t.layout.length > K.value.length ? K.value = K.value.concat(T) : K.value = K.value.filter((Q) => !T.some((te) => Q.i === te.i))), u.value = t.layout.length, f();
3320
3320
  }
3321
- t.usePercentages, Be(t.layout, t.verticalCompact), d.emit("updateWidth", $.value), q(), y("layout-updated", t.layout);
3321
+ t.usePercentages, Be(t.layout, t.verticalCompact), d.emit("updateWidth", $.value), q(), g("layout-updated", t.layout);
3322
3322
  }
3323
3323
  }, Ce = ({ eventType: T, i: Q, x: te, y: fe, h: ne, w: ie }) => {
3324
3324
  I(T, Q, te, fe, ne, ie);
@@ -3326,11 +3326,11 @@ const Fa = /* @__PURE__ */ be({
3326
3326
  pe(T, Q, te, fe, ne, ie);
3327
3327
  };
3328
3328
  return Yt(() => {
3329
- y("layout-before-mount", t.layout);
3329
+ g("layout-before-mount", t.layout);
3330
3330
  }), Oe(() => {
3331
- d.on("resizeEvent", Ce), d.on("dragEvent", we), y("layout-created", t.layout), y("layout-mounted", t.layout), ke(() => {
3331
+ d.on("resizeEvent", Ce), d.on("dragEvent", we), g("layout-created", t.layout), g("layout-mounted", t.layout), ke(() => {
3332
3332
  Ea(t.layout), K.value = t.layout, t.usePercentages, ke(() => {
3333
- G(), f(), ha("resize", G), Be(t.layout, t.verticalCompact), y("layout-updated", t.layout), q(), ke(() => {
3333
+ G(), f(), ha("resize", G), Be(t.layout, t.verticalCompact), g("layout-updated", t.layout), q(), ke(() => {
3334
3334
  se.value = gl({
3335
3335
  strategy: "scroll",
3336
3336
  callOnAdd: !1
@@ -3345,7 +3345,7 @@ const Fa = /* @__PURE__ */ be({
3345
3345
  }), L($, (T, Q) => {
3346
3346
  ke(() => {
3347
3347
  d.emit("updateWidth", $.value), Q === null && ke(() => {
3348
- y("layout-ready", t.layout);
3348
+ g("layout-ready", t.layout);
3349
3349
  }), q();
3350
3350
  });
3351
3351
  }), L(
@@ -3381,7 +3381,7 @@ const Fa = /* @__PURE__ */ be({
3381
3381
  ), L(
3382
3382
  () => t.responsive,
3383
3383
  () => {
3384
- t.responsive || (y("update:layout", K.value), d.emit("setColNum", t.colNum)), G();
3384
+ t.responsive || (g("update:layout", K.value), d.emit("setColNum", t.colNum)), G();
3385
3385
  }
3386
3386
  ), L(
3387
3387
  () => t.maxRows,
@@ -3412,7 +3412,7 @@ const Fa = /* @__PURE__ */ be({
3412
3412
  h: h.h,
3413
3413
  i: h.i
3414
3414
  }, null, 8, ["x", "y", "w", "h", "i"]), [
3415
- [Rt, g.value]
3415
+ [Rt, y.value]
3416
3416
  ])
3417
3417
  ], 4));
3418
3418
  }
@@ -3427,10 +3427,10 @@ const Ra = { class: "item-content" }, Ia = {
3427
3427
  },
3428
3428
  setup(e) {
3429
3429
  const l = e, r = me(() => {
3430
- const y = {};
3430
+ const g = {};
3431
3431
  return l.config.items.map((d, n) => {
3432
3432
  let S = d.key;
3433
- if (S || (S = `index_${n}`), y[S])
3433
+ if (S || (S = `index_${n}`), g[S])
3434
3434
  throw new Error("key: ${i}重复");
3435
3435
  return {
3436
3436
  ...d.layout,
@@ -3440,11 +3440,11 @@ const Ra = { class: "item-content" }, Ia = {
3440
3440
  });
3441
3441
  }), t = me(() => !!l.config.isBorder);
3442
3442
  return Oe(() => {
3443
- }), (y, d) => (v(), z(dt(Fa), {
3443
+ }), (g, d) => (v(), z(dt(Fa), {
3444
3444
  layout: r.value,
3445
3445
  "onUpdate:layout": d[0] || (d[0] = (n) => r.value = n),
3446
- "is-draggable": y.config.isDraggable,
3447
- "is-resizable": y.config.isResizable,
3446
+ "is-draggable": g.config.isDraggable,
3447
+ "is-resizable": g.config.isResizable,
3448
3448
  "is-mirrored": !1,
3449
3449
  "vertical-compact": !1,
3450
3450
  "use-css-transforms": "",
@@ -3460,7 +3460,7 @@ const Ra = { class: "item-content" }, Ia = {
3460
3460
  key: n.i,
3461
3461
  dragAllowFrom: "span",
3462
3462
  class: Ye({ item: !0, border: t.value }),
3463
- style: Se({ padding: y.config.itemPadding || "0" })
3463
+ style: Se({ padding: g.config.itemPadding || "0" })
3464
3464
  }, {
3465
3465
  default: E(() => [
3466
3466
  ee("div", Ra, [
@@ -3486,7 +3486,7 @@ const Aa = /* @__PURE__ */ $e(ja, [["__scopeId", "data-v-668f099b"]]), Me = {},
3486
3486
  }), r = hl("gridPage");
3487
3487
  Object.assign(l, r);
3488
3488
  for (const t in l) {
3489
- const y = t.split("/"), d = y[y.length - 1].replace(".ts", "");
3489
+ const g = t.split("/"), d = g[g.length - 1].replace(".ts", "");
3490
3490
  Me[d] = l[t];
3491
3491
  }
3492
3492
  return Me[e] ? (await Me[e]()).default : (await Me.default()).default;
@@ -3494,20 +3494,20 @@ const Aa = /* @__PURE__ */ $e(ja, [["__scopeId", "data-v-668f099b"]]), Me = {},
3494
3494
  if (e.items)
3495
3495
  for (const l of e.items)
3496
3496
  l.component && (l.component = Zt(l.component));
3497
- }, Va = async (e) => {
3498
- const r = (await za(e))({ menu_flag: e });
3499
- return Ba(r), { config: r };
3497
+ }, Va = async (e, { context: l, eventBus: r }) => {
3498
+ const g = (await za(e))({ menu_flag: e, context: l, eventBus: r });
3499
+ return Ba(g), { config: g };
3500
3500
  }, Ua = { class: "grid-page-content" }, Bn = /* @__PURE__ */ be({
3501
3501
  __name: "gridPage",
3502
3502
  setup(e) {
3503
- const l = bl(), r = A(null), t = A({}), y = zt(), d = A(""), n = l.path.split("/");
3503
+ const l = bl(), r = A(null), t = A({}), g = zt(), d = A(""), n = l.path.split("/");
3504
3504
  d.value = n[n.length - 1], Ve(yl, {
3505
3505
  context: t,
3506
- eventBus: y
3506
+ eventBus: g
3507
3507
  }), Oe(async () => {
3508
- r.value = (await Va(d.value)).config, r.value.onMounted && await r.value.onMounted(t.value, y);
3508
+ r.value = (await Va(d.value, { context: t.value, eventBus: g })).config, r.value.onMounted && await r.value.onMounted(t.value, g);
3509
3509
  }), Pe(() => {
3510
- r.value.onUnmounted && r.value.onUnmounted(t.value, y);
3510
+ r.value.onUnmounted && r.value.onUnmounted(t.value, g);
3511
3511
  });
3512
3512
  const S = me(() => {
3513
3513
  var M;