liyu-pc-base 1.0.326 → 1.0.330

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);
@@ -1469,6 +1469,8 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
1469
1469
  }, se = (s) => {
1470
1470
  var i;
1471
1471
  const o = {}, a = {};
1472
+ if (!s)
1473
+ return o;
1472
1474
  if ((i = e.searchConfigFields) != null && i.length)
1473
1475
  for (const c of e.searchConfigFields)
1474
1476
  a[c.name] = c;
@@ -1484,14 +1486,14 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
1484
1486
  conditions: w,
1485
1487
  isShowGeneralFilter: p
1486
1488
  }) => new Promise((_) => {
1487
- !e.countData && !(g != null && g.countData) && (console.error("无count接口"), _(null));
1489
+ !e.countData && !(y != null && y.countData) && (console.error("无count接口"), _(null));
1488
1490
  const C = {
1489
1491
  org_id: n.id,
1490
1492
  ...se(o || {}),
1491
1493
  ...a,
1492
1494
  sort_fields: i
1493
1495
  };
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) => {
1496
+ 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
1497
  M.value.forEach((ue) => {
1496
1498
  ue.id == s && (ue.num = re);
1497
1499
  }), _(null);
@@ -1518,17 +1520,17 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
1518
1520
  },
1519
1521
  "/view/get_view_settings_for_user"
1520
1522
  );
1521
- if (g = Je(e.app_flag, e.modalType, null, u, {
1523
+ if (y = Je(e.app_flag, e.modalType, null, u, {
1522
1524
  use_store: !0,
1523
1525
  to_i18n: !0,
1524
1526
  enable_btn: !1
1525
- }), (g == null ? void 0 : g.isView) === !1) {
1527
+ }), (y == null ? void 0 : y.isView) === !1) {
1526
1528
  window.location.hash = "", l("change", null, {}, !0, !0);
1527
1529
  return;
1528
1530
  }
1529
1531
  t.set_required_condition(
1530
1532
  e.modalType,
1531
- g.required_condition
1533
+ y.required_condition
1532
1534
  ), M.value.length = 0;
1533
1535
  let o = [];
1534
1536
  const a = [];
@@ -2207,8 +2209,8 @@ const An = /* @__PURE__ */ $e(Nl, [["render", Gl]]), bt = "customviewdatauser",
2207
2209
  }
2208
2210
  });
2209
2211
  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");
2212
+ function ra(e, l, r, t, g, d) {
2213
+ 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
2214
  return v(), z(se, {
2213
2215
  "body-style": { padding: 0, height: e.height + 87 + "px", overflowY: "auto" }
2214
2216
  }, {
@@ -2296,7 +2298,7 @@ function ra(e, l, r, t, y, d) {
2296
2298
  }, N(q.num), 5),
2297
2299
  W(h, { class: "dropdown" }, {
2298
2300
  overlay: E(() => [
2299
- W(g, null, {
2301
+ W(y, null, {
2300
2302
  default: E(() => [
2301
2303
  !q.is_system || e.is_auth ? (v(), z(u, { key: 0 }, {
2302
2304
  default: E(() => [
@@ -2415,7 +2417,7 @@ function ra(e, l, r, t, y, d) {
2415
2417
  }, N(q.num), 5),
2416
2418
  W(h, { class: "dropdown" }, {
2417
2419
  overlay: E(() => [
2418
- W(g, null, {
2420
+ W(y, null, {
2419
2421
  default: E(() => [
2420
2422
  !q.is_system || e.is_auth ? (v(), z(u, { key: 0 }, {
2421
2423
  default: E(() => [
@@ -2486,13 +2488,13 @@ const ua = /* @__PURE__ */ $e(Yl, [["render", ra]]), da = be({
2486
2488
  setup(e, { emit: l }) {
2487
2489
  return {
2488
2490
  props: e,
2489
- change: (t, y, d) => {
2490
- l("change", t, y, d);
2491
+ change: (t, g, d) => {
2492
+ l("change", t, g, d);
2491
2493
  }
2492
2494
  };
2493
2495
  }
2494
2496
  });
2495
- function fa(e, l, r, t, y, d) {
2497
+ function fa(e, l, r, t, g, d) {
2496
2498
  const n = D("view-manage"), S = D("a-card");
2497
2499
  return v(), z(S, {
2498
2500
  "body-style": { padding: 0, height: e.selectObj.height + 96 + "px", overflowY: "auto" }
@@ -2513,29 +2515,29 @@ const zn = /* @__PURE__ */ $e(da, [["render", fa]]), ca = Symbol("fullLayoutStat
2513
2515
  Ve(ca, {
2514
2516
  fullLayoutRef: r
2515
2517
  });
2516
- const y = () => {
2518
+ const g = () => {
2517
2519
  const n = r.value;
2518
2520
  if (n) {
2519
2521
  const S = n.getBoundingClientRect().top;
2520
2522
  t.value = S;
2521
2523
  }
2522
- }, d = vl.debounce(y, 100);
2524
+ }, d = vl.debounce(g, 100);
2523
2525
  return Oe(() => {
2524
- window.addEventListener("resize", d), y();
2526
+ window.addEventListener("resize", d), g();
2525
2527
  }), Pe(() => {
2526
- window.removeEventListener("resize", y);
2528
+ window.removeEventListener("resize", g);
2527
2529
  }), L(
2528
2530
  () => l.multiTab,
2529
2531
  () => {
2530
2532
  ke(() => {
2531
- y();
2533
+ g();
2532
2534
  });
2533
2535
  }
2534
2536
  ), L(
2535
2537
  () => l.layout,
2536
2538
  () => {
2537
2539
  ke(() => {
2538
- y();
2540
+ g();
2539
2541
  });
2540
2542
  }
2541
2543
  ), (n, S) => (v(), U("div", {
@@ -2572,7 +2574,7 @@ const J = (e) => typeof e == "number" ? e : parseFloat(e) || 0, Ie = (e) => type
2572
2574
  function ga(e) {
2573
2575
  let l = 0;
2574
2576
  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);
2577
+ const g = e[r], d = g.y ?? 0, n = g.h ?? 0, S = J(d) + J(n);
2576
2578
  S > l && (l = S);
2577
2579
  }
2578
2580
  return l;
@@ -2589,16 +2591,16 @@ function Xe(e) {
2589
2591
  function Vt(e, l) {
2590
2592
  if (e === l)
2591
2593
  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);
2594
+ 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);
2595
+ return !(r + g <= n || r >= n + $ || t + d <= S || t >= S + M);
2594
2596
  }
2595
2597
  function Be(e, l) {
2596
- const r = Dt(e), t = Wt(e), y = Array(e.length);
2598
+ const r = Dt(e), t = Wt(e), g = Array(e.length);
2597
2599
  for (let d = 0, n = t.length; d < n; d++) {
2598
2600
  let S = t[d];
2599
- S.static || (S = ba(r, S, l), r.push(S)), y[e.indexOf(S)] = S, S.moved = !1;
2601
+ S.static || (S = ba(r, S, l), r.push(S)), g[e.indexOf(S)] = S, S.moved = !1;
2600
2602
  }
2601
- return y;
2603
+ return g;
2602
2604
  }
2603
2605
  function ba(e, l, r) {
2604
2606
  if (r && !Ie(l.y) && l.top_i === void 0 && l.left_i === void 0)
@@ -2611,7 +2613,7 @@ function ba(e, l, r) {
2611
2613
  }
2612
2614
  function wa(e, l) {
2613
2615
  const r = Dt(e);
2614
- for (let t = 0, y = e.length; t < y; t++) {
2616
+ for (let t = 0, g = e.length; t < g; t++) {
2615
2617
  const d = e[t], n = J(d.x), S = J(d.w);
2616
2618
  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
2619
  r.push(d);
@@ -2637,7 +2639,7 @@ function Ut(e, l) {
2637
2639
  function Dt(e) {
2638
2640
  return e.filter((l) => l.static);
2639
2641
  }
2640
- function Qe(e, l, r, t, y, d = !1) {
2642
+ function Qe(e, l, r, t, g, d = !1) {
2641
2643
  if (l.static)
2642
2644
  return e;
2643
2645
  const n = l.x, S = l.y, $ = t && J(l.y) > t;
@@ -2647,9 +2649,9 @@ function Qe(e, l, r, t, y, d = !1) {
2647
2649
  const u = Ut(M, l);
2648
2650
  if (d && u.length)
2649
2651
  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));
2652
+ for (let y = 0, h = u.length; y < h; y++) {
2653
+ const F = u[y];
2654
+ 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
2655
  }
2654
2656
  return e;
2655
2657
  }
@@ -2674,7 +2676,7 @@ function Ct(e, l, r, t) {
2674
2676
  );
2675
2677
  }
2676
2678
  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)";
2679
+ const g = typeof l == "number" ? l + "px" : l, d = typeof e == "number" ? (e < 0 ? 0 : e) + "px" : e, n = "translate3d(" + g + "," + d + ", 0)";
2678
2680
  return {
2679
2681
  transform: n,
2680
2682
  WebkitTransform: n,
@@ -2687,7 +2689,7 @@ function Et(e, l, r, t) {
2687
2689
  };
2688
2690
  }
2689
2691
  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)";
2692
+ 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
2693
  return {
2692
2694
  transform: n,
2693
2695
  WebkitTransform: n,
@@ -2719,15 +2721,15 @@ function Ca(e, l, r, t) {
2719
2721
  }
2720
2722
  function Wt(e) {
2721
2723
  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;
2724
+ const t = J(l.x), g = J(l.y), d = J(r.x), n = J(r.y);
2725
+ return g === n && t === d ? 0 : g > n || g === n && t > d ? 1 : -1;
2724
2726
  });
2725
2727
  }
2726
2728
  function Ea(e, l = "Layout") {
2727
2729
  const r = ["x", "y", "w", "h"];
2728
2730
  if (!Array.isArray(e))
2729
2731
  throw new Error(l + " must be an array!");
2730
- for (let t = 0, y = e.length; t < y; t++) {
2732
+ for (let t = 0, g = e.length; t < g; t++) {
2731
2733
  const d = e[t];
2732
2734
  for (let n = 0; n < r.length; n++) {
2733
2735
  const S = r[n];
@@ -2749,8 +2751,8 @@ function qt(e) {
2749
2751
  function Sa(e, l) {
2750
2752
  const r = qt(e);
2751
2753
  let t = r[0];
2752
- for (let y = 1, d = r.length; y < d; y++) {
2753
- const n = r[y];
2754
+ for (let g = 1, d = r.length; g < d; g++) {
2755
+ const n = r[g];
2754
2756
  l > e[n] && (t = n);
2755
2757
  }
2756
2758
  return t;
@@ -2762,12 +2764,12 @@ function Mt(e, l) {
2762
2764
  );
2763
2765
  return l[e];
2764
2766
  }
2765
- function Ma(e, l, r, t, y, d, n) {
2767
+ function Ma(e, l, r, t, g, d, n) {
2766
2768
  if (l[t])
2767
2769
  return Xe(l[t]);
2768
2770
  let S = e;
2769
2771
  const $ = qt(r), M = $.slice($.indexOf(t));
2770
- for (let u = 0, g = M.length; u < g; u++) {
2772
+ for (let u = 0, y = M.length; u < y; u++) {
2771
2773
  const h = M[u];
2772
2774
  if (l[h]) {
2773
2775
  S = l[h];
@@ -2777,8 +2779,8 @@ function Ma(e, l, r, t, y, d, n) {
2777
2779
  return S = Xe(S || []), Be(wa(S, { cols: d }), n);
2778
2780
  }
2779
2781
  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 };
2782
+ 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;
2783
+ return { x: t, y: g };
2782
2784
  }
2783
2785
  function $t(e) {
2784
2786
  return $a(e);
@@ -2826,7 +2828,7 @@ const Pt = /* @__PURE__ */ be({
2826
2828
  },
2827
2829
  emits: ["container-resized", "resize", "resized", "move", "moved"],
2828
2830
  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(() => {
2831
+ 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
2832
  var k;
2831
2833
  const m = Ge(), b = (k = m == null ? void 0 : m.parent) == null ? void 0 : k.proxy;
2832
2834
  return b != null && b.isMirrored ? !we.value : we.value;
@@ -2839,7 +2841,7 @@ const Pt = /* @__PURE__ */ be({
2839
2841
  "render-rtl": le.value,
2840
2842
  "disable-userselect": G.value,
2841
2843
  "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) => {
2844
+ })), 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
2845
  if (_.value) {
2844
2846
  const Fe = {
2845
2847
  width: p(k, m),
@@ -2907,12 +2909,12 @@ const Pt = /* @__PURE__ */ be({
2907
2909
  return ce - j(Fe[1].trim().replace(")", ""), ce);
2908
2910
  }
2909
2911
  return parseFloat(H) || 0;
2910
- }, P = j(k.top, h.value), V = j(k.width, g.value), Y = j(k.height, h.value);
2912
+ }, P = j(k.top, h.value), V = j(k.width, y.value), Y = j(k.height, h.value);
2911
2913
  if (le.value) {
2912
- const H = j(k.right, g.value);
2914
+ const H = j(k.right, y.value);
2913
2915
  B = St(P, H, V, Y);
2914
2916
  } else {
2915
- const H = j(k.left, g.value);
2917
+ const H = j(k.left, y.value);
2916
2918
  B = Et(P, H, V, Y);
2917
2919
  }
2918
2920
  } else
@@ -2934,10 +2936,10 @@ const Pt = /* @__PURE__ */ be({
2934
2936
  return;
2935
2937
  m[b] = B[1];
2936
2938
  }
2937
- y("container-resized", t.i, t.h, t.w, m.height, m.width);
2939
+ g("container-resized", t.i, t.h, t.w, m.height, m.width);
2938
2940
  }, Lt = (m, b) => {
2939
2941
  if (_.value) {
2940
- let P = b / g.value * 100, V = m / h.value * 100;
2942
+ let P = b / y.value * 100, V = m / h.value * 100;
2941
2943
  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
2944
  }
2943
2945
  const k = Le();
@@ -2945,7 +2947,7 @@ const Pt = /* @__PURE__ */ be({
2945
2947
  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
2948
  }, xe = (m, b, k = !1) => {
2947
2949
  if (_.value) {
2948
- let V = b / g.value * 100, Y = m / h.value * 100;
2950
+ let V = b / y.value * 100, Y = m / h.value * 100;
2949
2951
  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
2952
  }
2951
2953
  const B = Le();
@@ -2979,7 +2981,7 @@ const Pt = /* @__PURE__ */ be({
2979
2981
  }
2980
2982
  }
2981
2983
  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", {
2984
+ 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
2985
  eventType: m.type,
2984
2986
  i: t.i,
2985
2987
  x: P.x,
@@ -3006,7 +3008,7 @@ const Pt = /* @__PURE__ */ be({
3006
3008
  case "resizestart": {
3007
3009
  te.value = a.value, fe.value = i.value, P = je(s.value, o.value, a.value, i.value);
3008
3010
  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;
3011
+ j.width = Y(P.width, y.value), j.height = Y(P.height, h.value), de.value = j, pe.value = !0;
3010
3012
  break;
3011
3013
  }
3012
3014
  case "resizemove": {
@@ -3017,12 +3019,12 @@ const Pt = /* @__PURE__ */ be({
3017
3019
  case "resizeend": {
3018
3020
  P = je(s.value, o.value, a.value, i.value);
3019
3021
  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;
3022
+ j.width = Y(P.width, y.value), j.height = Y(P.height, h.value), de.value = null, pe.value = !1;
3021
3023
  break;
3022
3024
  }
3023
3025
  }
3024
3026
  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", {
3027
+ _.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
3028
  eventType: m.type,
3027
3029
  i: t.i,
3028
3030
  x: w(s.value),
@@ -3048,10 +3050,10 @@ const Pt = /* @__PURE__ */ be({
3048
3050
  let m, b;
3049
3051
  if (_.value)
3050
3052
  m = {
3051
- width: t.maxW / 100 * g.value,
3053
+ width: t.maxW / 100 * y.value,
3052
3054
  height: t.maxH / 100 * h.value
3053
3055
  }, b = {
3054
- width: t.minW / 100 * g.value,
3056
+ width: t.minW / 100 * y.value,
3055
3057
  height: t.minH / 100 * h.value
3056
3058
  };
3057
3059
  else {
@@ -3086,13 +3088,13 @@ const Pt = /* @__PURE__ */ be({
3086
3088
  enabled: !1
3087
3089
  });
3088
3090
  }, tt = (m, b) => {
3089
- g.value = m || 100, b != null && (u.value = b), $.value && $.value.parentElement && (h.value = $.value.parentElement.offsetHeight || 100);
3091
+ y.value = m || 100, b != null && (u.value = b), $.value && $.value.parentElement && (h.value = $.value.parentElement.offsetHeight || 100);
3090
3092
  }, Te = () => {
3091
3093
  ye();
3092
3094
  }, Gt = () => {
3093
3095
  if (te.value = a.value, fe.value = i.value, $.value && $.value.firstElementChild) {
3094
3096
  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", {
3097
+ _.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
3098
  eventType: "resizeend",
3097
3099
  i: t.i,
3098
3100
  x: w(s.value),
@@ -3121,7 +3123,7 @@ const Pt = /* @__PURE__ */ be({
3121
3123
  return Oe(() => {
3122
3124
  var k;
3123
3125
  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();
3126
+ 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
3127
  }), It(() => {
3126
3128
  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
3129
  }), L(
@@ -3147,7 +3149,7 @@ const Pt = /* @__PURE__ */ be({
3147
3149
  ye(), Ae();
3148
3150
  }), L(u, () => {
3149
3151
  Ee(), ye(), Ae();
3150
- }), L(g, () => {
3152
+ }), L(y, () => {
3151
3153
  Ee(), ye(), Ae();
3152
3154
  }), L(h, () => {
3153
3155
  Ee(), ye(), Ae();
@@ -3246,9 +3248,9 @@ const Fa = /* @__PURE__ */ be({
3246
3248
  },
3247
3249
  emits: ["layout-created", "layout-mounted", "layout-before-mount", "layout-updated", "layout-ready", "update:layout", "breakpoint-changed"],
3248
3250
  setup(e, { expose: l, emit: r }) {
3249
- const t = e, y = r, d = zt();
3251
+ const t = e, g = r, d = zt();
3250
3252
  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({
3253
+ const n = A(null), S = A(null), $ = A(null), M = A({}), u = A(0), y = A(!1), h = he({
3252
3254
  x: 0,
3253
3255
  y: 0,
3254
3256
  w: 0,
@@ -3268,10 +3270,10 @@ const Fa = /* @__PURE__ */ be({
3268
3270
  }, pe = (T, Q, te, fe, ne, ie) => {
3269
3271
  let s = kt(t.layout, String(Q));
3270
3272
  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;
3273
+ y.value = !0;
3272
3274
  }), 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);
3275
+ y.value = !1;
3276
+ }), 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
3277
  }, de = () => {
3276
3278
  if (!$.value)
3277
3279
  return;
@@ -3286,7 +3288,7 @@ const Fa = /* @__PURE__ */ be({
3286
3288
  Q,
3287
3289
  t.verticalCompact
3288
3290
  );
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));
3291
+ 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
3292
  }, I = (T, Q, te, fe, ne, ie) => {
3291
3293
  let s = kt(t.layout, String(Q));
3292
3294
  s == null && (s = { h: 0, w: 0, x: 0, y: 0, i: String(Q) });
@@ -3303,10 +3305,10 @@ const Fa = /* @__PURE__ */ be({
3303
3305
  }
3304
3306
  }
3305
3307
  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;
3308
+ y.value = !0;
3307
3309
  }), 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);
3310
+ y.value = !1;
3311
+ }), t.responsive && de(), Be(t.layout, t.verticalCompact), d.emit("compact"), q(), T === "resizeend" && g("layout-updated", t.layout);
3310
3312
  }, f = () => {
3311
3313
  F.value = Object.assign({}, t.responsiveLayouts);
3312
3314
  }, _e = (T, Q) => {
@@ -3318,7 +3320,7 @@ const Fa = /* @__PURE__ */ be({
3318
3320
  const T = _e(t.layout, K.value);
3319
3321
  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
3322
  }
3321
- t.usePercentages, Be(t.layout, t.verticalCompact), d.emit("updateWidth", $.value), q(), y("layout-updated", t.layout);
3323
+ t.usePercentages, Be(t.layout, t.verticalCompact), d.emit("updateWidth", $.value), q(), g("layout-updated", t.layout);
3322
3324
  }
3323
3325
  }, Ce = ({ eventType: T, i: Q, x: te, y: fe, h: ne, w: ie }) => {
3324
3326
  I(T, Q, te, fe, ne, ie);
@@ -3326,11 +3328,11 @@ const Fa = /* @__PURE__ */ be({
3326
3328
  pe(T, Q, te, fe, ne, ie);
3327
3329
  };
3328
3330
  return Yt(() => {
3329
- y("layout-before-mount", t.layout);
3331
+ g("layout-before-mount", t.layout);
3330
3332
  }), Oe(() => {
3331
- d.on("resizeEvent", Ce), d.on("dragEvent", we), y("layout-created", t.layout), y("layout-mounted", t.layout), ke(() => {
3333
+ d.on("resizeEvent", Ce), d.on("dragEvent", we), g("layout-created", t.layout), g("layout-mounted", t.layout), ke(() => {
3332
3334
  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(() => {
3335
+ G(), f(), ha("resize", G), Be(t.layout, t.verticalCompact), g("layout-updated", t.layout), q(), ke(() => {
3334
3336
  se.value = gl({
3335
3337
  strategy: "scroll",
3336
3338
  callOnAdd: !1
@@ -3345,7 +3347,7 @@ const Fa = /* @__PURE__ */ be({
3345
3347
  }), L($, (T, Q) => {
3346
3348
  ke(() => {
3347
3349
  d.emit("updateWidth", $.value), Q === null && ke(() => {
3348
- y("layout-ready", t.layout);
3350
+ g("layout-ready", t.layout);
3349
3351
  }), q();
3350
3352
  });
3351
3353
  }), L(
@@ -3381,7 +3383,7 @@ const Fa = /* @__PURE__ */ be({
3381
3383
  ), L(
3382
3384
  () => t.responsive,
3383
3385
  () => {
3384
- t.responsive || (y("update:layout", K.value), d.emit("setColNum", t.colNum)), G();
3386
+ t.responsive || (g("update:layout", K.value), d.emit("setColNum", t.colNum)), G();
3385
3387
  }
3386
3388
  ), L(
3387
3389
  () => t.maxRows,
@@ -3412,7 +3414,7 @@ const Fa = /* @__PURE__ */ be({
3412
3414
  h: h.h,
3413
3415
  i: h.i
3414
3416
  }, null, 8, ["x", "y", "w", "h", "i"]), [
3415
- [Rt, g.value]
3417
+ [Rt, y.value]
3416
3418
  ])
3417
3419
  ], 4));
3418
3420
  }
@@ -3427,10 +3429,10 @@ const Ra = { class: "item-content" }, Ia = {
3427
3429
  },
3428
3430
  setup(e) {
3429
3431
  const l = e, r = me(() => {
3430
- const y = {};
3432
+ const g = {};
3431
3433
  return l.config.items.map((d, n) => {
3432
3434
  let S = d.key;
3433
- if (S || (S = `index_${n}`), y[S])
3435
+ if (S || (S = `index_${n}`), g[S])
3434
3436
  throw new Error("key: ${i}重复");
3435
3437
  return {
3436
3438
  ...d.layout,
@@ -3440,11 +3442,11 @@ const Ra = { class: "item-content" }, Ia = {
3440
3442
  });
3441
3443
  }), t = me(() => !!l.config.isBorder);
3442
3444
  return Oe(() => {
3443
- }), (y, d) => (v(), z(dt(Fa), {
3445
+ }), (g, d) => (v(), z(dt(Fa), {
3444
3446
  layout: r.value,
3445
3447
  "onUpdate:layout": d[0] || (d[0] = (n) => r.value = n),
3446
- "is-draggable": y.config.isDraggable,
3447
- "is-resizable": y.config.isResizable,
3448
+ "is-draggable": g.config.isDraggable,
3449
+ "is-resizable": g.config.isResizable,
3448
3450
  "is-mirrored": !1,
3449
3451
  "vertical-compact": !1,
3450
3452
  "use-css-transforms": "",
@@ -3460,7 +3462,7 @@ const Ra = { class: "item-content" }, Ia = {
3460
3462
  key: n.i,
3461
3463
  dragAllowFrom: "span",
3462
3464
  class: Ye({ item: !0, border: t.value }),
3463
- style: Se({ padding: y.config.itemPadding || "0" })
3465
+ style: Se({ padding: g.config.itemPadding || "0" })
3464
3466
  }, {
3465
3467
  default: E(() => [
3466
3468
  ee("div", Ra, [
@@ -3486,7 +3488,7 @@ const Aa = /* @__PURE__ */ $e(ja, [["__scopeId", "data-v-668f099b"]]), Me = {},
3486
3488
  }), r = hl("gridPage");
3487
3489
  Object.assign(l, r);
3488
3490
  for (const t in l) {
3489
- const y = t.split("/"), d = y[y.length - 1].replace(".ts", "");
3491
+ const g = t.split("/"), d = g[g.length - 1].replace(".ts", "");
3490
3492
  Me[d] = l[t];
3491
3493
  }
3492
3494
  return Me[e] ? (await Me[e]()).default : (await Me.default()).default;
@@ -3494,20 +3496,20 @@ const Aa = /* @__PURE__ */ $e(ja, [["__scopeId", "data-v-668f099b"]]), Me = {},
3494
3496
  if (e.items)
3495
3497
  for (const l of e.items)
3496
3498
  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 };
3499
+ }, Va = async (e, { context: l, eventBus: r }) => {
3500
+ const g = (await za(e))({ menu_flag: e, context: l, eventBus: r });
3501
+ return Ba(g), { config: g };
3500
3502
  }, Ua = { class: "grid-page-content" }, Bn = /* @__PURE__ */ be({
3501
3503
  __name: "gridPage",
3502
3504
  setup(e) {
3503
- const l = bl(), r = A(null), t = A({}), y = zt(), d = A(""), n = l.path.split("/");
3505
+ const l = bl(), r = A(null), t = A({}), g = zt(), d = A(""), n = l.path.split("/");
3504
3506
  d.value = n[n.length - 1], Ve(yl, {
3505
3507
  context: t,
3506
- eventBus: y
3508
+ eventBus: g
3507
3509
  }), Oe(async () => {
3508
- r.value = (await Va(d.value)).config, r.value.onMounted && await r.value.onMounted(t.value, y);
3510
+ r.value = (await Va(d.value, { context: t.value, eventBus: g })).config, r.value.onMounted && await r.value.onMounted(t.value, g);
3509
3511
  }), Pe(() => {
3510
- r.value.onUnmounted && r.value.onUnmounted(t.value, y);
3512
+ r.value.onUnmounted && r.value.onUnmounted(t.value, g);
3511
3513
  });
3512
3514
  const S = me(() => {
3513
3515
  var M;