ss-component-new 1.1.121 → 1.1.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/array-0K26SSg4.cjs +7 -0
  2. package/dist/{array-GKiq_tn9.js → array-BxjTOqMI.js} +8 -8
  3. package/dist/{cloneDeep-vZFEDRrU.js → cloneDeep-BY7jbyTA.js} +1 -1
  4. package/dist/{cloneDeep-tQf7WEs8.cjs → cloneDeep-TacB4EZO.cjs} +1 -1
  5. package/dist/index-B350Jd1Q.cjs +1 -0
  6. package/dist/{index-0UA233-u.js → index-B5RsyhWe.js} +5 -5
  7. package/dist/{index-VcwAdA78.js → index-BKjdsboN.js} +17 -17
  8. package/dist/{index-DXryG-nG.js → index-BNWaoj6Z.js} +45 -45
  9. package/dist/{index-Du-CR9HQ.cjs → index-BRbFWayD.cjs} +1 -1
  10. package/dist/index-BWmd705R.js +2769 -0
  11. package/dist/{request-BeuBq-N8.js → index-BcFYdS3F.js} +273 -242
  12. package/dist/index-BpwVKq24.js +333 -0
  13. package/dist/index-C-aZvFRW.cjs +1 -0
  14. package/dist/index-C6RYDjmq.cjs +6 -0
  15. package/dist/index-CDx9lK-r.js +327 -0
  16. package/dist/{index-q-zIPTnT.js → index-CNVW_6cz.js} +1 -1
  17. package/dist/index-CxGJFuX5.cjs +1 -0
  18. package/dist/{index-BXwd1P4x.js → index-D01NwDB8.js} +11 -10
  19. package/dist/{index-q0VupmyF.js → index-DJjfdv-n.js} +20 -19
  20. package/dist/index-DMXwpYH6.cjs +1 -0
  21. package/dist/index-DR-Tl8gC.cjs +1 -0
  22. package/dist/{index-Det__boR.cjs → index-DS-uNvzB.cjs} +1 -1
  23. package/dist/{index-BdcBWc99.cjs → index-DZ5z3tU0.cjs} +1 -1
  24. package/dist/{index-DJjZ5Toi.cjs → index-DcJlzFm_.cjs} +1 -1
  25. package/dist/index-De3a9oEY.cjs +1 -0
  26. package/dist/{index-D14rmyEv.cjs → index-DehKbitZ.cjs} +1 -1
  27. package/dist/{index-B6iYjA8R.cjs → index-DlaRK5AT.cjs} +1 -1
  28. package/dist/{index-h8YlWO3M.cjs → index-DlkIx2Ch.cjs} +1 -1
  29. package/dist/{index-CrN82Jcz.js → index-DwhBlmrq.js} +6 -6
  30. package/dist/{index-CYO_2UDB.js → index-H6qiNlh1.js} +1 -1
  31. package/dist/index-JeDCqfyX.cjs +6 -0
  32. package/dist/{index-Bhm8MhJf.js → index-NiXp6EjT.js} +1 -1
  33. package/dist/{index-CE7jgmab.js → index-ReulmnrK.js} +9 -9
  34. package/dist/{index-pF_8OJOJ.js → index-g1lOxgn5.js} +1 -1
  35. package/dist/{index-EV28Lju3.cjs → index-gGDczXNR.cjs} +1 -1
  36. package/dist/{index-1YFwWhIC.cjs → index-iJAEvjVl.cjs} +1 -1
  37. package/dist/index-q4qf3gNt.js +627 -0
  38. package/dist/{index-DzARWpFJ.js → index-xmI6kE3E.js} +4 -4
  39. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-D7-HhkPl.cjs +1 -0
  40. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-DlcscNze.js +238 -0
  41. package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Cik8OFj7.js +179 -0
  42. package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-DH217tni.cjs +1 -0
  43. package/dist/login-6xi181Q5.cjs +1 -0
  44. package/dist/{login-CChMyF5j.js → login-A-LN2ivr.js} +10 -42
  45. package/dist/{main-DYXrqtiX.cjs → main-CfDsaDSE.cjs} +1 -1
  46. package/dist/{main-ChxgD0Un.js → main-DGayymHA.js} +6 -6
  47. package/dist/{menu-CS1eT20u.cjs → menu-BiId5weS.cjs} +5 -5
  48. package/dist/{menu-wU4DAZfH.js → menu-Dk3VihkR.js} +703 -654
  49. package/dist/{modelComp-d1h-HYNv.js → modelComp-BmaHE37I.js} +1 -1
  50. package/dist/{modelComp-pHwtS2H5.cjs → modelComp-ChjHbjpK.cjs} +1 -1
  51. package/dist/ss-component.cjs +1 -1
  52. package/dist/ss-component.css +1 -1
  53. package/dist/ss-component.js +6 -6
  54. package/dist/ss-component2.cjs +1 -1
  55. package/dist/ss-component2.js +1 -1
  56. package/package.json +1 -1
  57. package/dist/array-CXhFwwqo.cjs +0 -7
  58. package/dist/index-BpKjooqU.cjs +0 -6
  59. package/dist/index-CFrbpfv0.cjs +0 -1
  60. package/dist/index-CJ1zMvM-.cjs +0 -1
  61. package/dist/index-CM3HIKOQ.js +0 -328
  62. package/dist/index-CSFiZEGP.js +0 -405
  63. package/dist/index-CXDfgoDy.js +0 -2876
  64. package/dist/index-CqCD6Ycw.cjs +0 -1
  65. package/dist/index-DfmdUHnV.js +0 -445
  66. package/dist/index-Dm1zenUu.cjs +0 -1
  67. package/dist/index-iOl5iPFq.cjs +0 -1
  68. package/dist/index-y0RxrCA_.cjs +0 -1
  69. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-90CEE-zx.cjs +0 -1
  70. package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-CvWM7pc-.js +0 -226
  71. package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CVZbqzna.cjs +0 -1
  72. package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Cem7_S_Q.js +0 -226
  73. package/dist/login-BVmf8RMZ.cjs +0 -1
  74. package/dist/request-C1So2YgV.cjs +0 -6
@@ -5943,12 +5943,12 @@ const z9 = z4(F, "$notify"), M9 = [
5943
5943
  {
5944
5944
  path: "/login",
5945
5945
  name: "Login",
5946
- component: async () => import("./index-q0VupmyF.js")
5946
+ component: async () => import("./index-DJjfdv-n.js")
5947
5947
  },
5948
5948
  {
5949
5949
  path: "/",
5950
5950
  name: "Model",
5951
- component: async () => import("./index-CSFiZEGP.js"),
5951
+ component: async () => import("./index-CDx9lK-r.js"),
5952
5952
  // component: async ()=>import('@/components/views/model/component/main.vue'),
5953
5953
  // component: async ()=>import('@/components/views/canvas/index.vue'),
5954
5954
  // component: async ()=>import('@/components/views/test/index.vue'),
@@ -5956,17 +5956,17 @@ const z9 = z4(F, "$notify"), M9 = [
5956
5956
  {
5957
5957
  path: "user",
5958
5958
  name: "User",
5959
- component: async () => import("./index-VcwAdA78.js")
5959
+ component: async () => import("./index-BKjdsboN.js")
5960
5960
  },
5961
5961
  {
5962
5962
  path: "role",
5963
5963
  name: "Role",
5964
- component: async () => import("./index-DXryG-nG.js")
5964
+ component: async () => import("./index-BNWaoj6Z.js")
5965
5965
  },
5966
5966
  {
5967
5967
  path: "dept",
5968
5968
  name: "Dept",
5969
- component: async () => import("./index-CE7jgmab.js")
5969
+ component: async () => import("./index-ReulmnrK.js")
5970
5970
  },
5971
5971
  {
5972
5972
  path: "priority",
@@ -1,44 +1,44 @@
1
1
  import { defineComponent as P, reactive as k, onMounted as N, createElementBlock as S, openBlock as x, createVNode as D } from "vue";
2
- import { s as B } from "./index-CXDfgoDy.js";
3
- import { s as I } from "./index-DfmdUHnV.js";
4
- import { S as A } from "./index-DzARWpFJ.js";
5
- import { u as M, s as l } from "./menu-wU4DAZfH.js";
6
- import { u as O } from "./modelComp-d1h-HYNv.js";
2
+ import { s as B } from "./index-BWmd705R.js";
3
+ import { s as I } from "./index-q4qf3gNt.js";
4
+ import { S as A } from "./index-xmI6kE3E.js";
5
+ import { u as M, s as l } from "./menu-Dk3VihkR.js";
6
+ import { u as O } from "./modelComp-BmaHE37I.js";
7
7
  import { useRoute as w } from "vue-router";
8
- import { u as E } from "./login-CChMyF5j.js";
9
- import "./index-pF_8OJOJ.js";
10
- import { c as F } from "./cloneDeep-vZFEDRrU.js";
8
+ import { u as E } from "./login-A-LN2ivr.js";
9
+ import "./index-g1lOxgn5.js";
10
+ import { c as F } from "./cloneDeep-BY7jbyTA.js";
11
11
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const T = { class: "role-wrapper" }, q = /* @__PURE__ */ P({
13
13
  __name: "index",
14
14
  setup(G) {
15
- const h = M(), { activeMenuPath: m } = l(h), p = O(), { itemData: _ } = l(p), C = E(), { superAdminInfo: c } = l(C), v = w(), e = k({ ...A });
15
+ const h = M(), { activeMenuPath: m } = l(h), c = O(), { itemData: _ } = l(c), C = E(), { superAdminInfo: p } = l(C), v = w(), e = k({ ...A });
16
16
  return N(() => {
17
17
  const u = F(_.value), i = {
18
18
  comp: "Group",
19
19
  name: v.path,
20
- pageData: e.pageData
20
+ compData: e.pageData
21
21
  };
22
- if (p.setItemData([...u, i]), m.value) {
22
+ if (c.setItemData([...u, i]), m.value) {
23
23
  e.getPageDataAsync(m.value).then((t) => {
24
24
  var r;
25
25
  e.pageData = (r = e.pageData) == null ? void 0 : r.map((a) => a.key === "tableContents" ? {
26
26
  ...a,
27
- contents: t == null ? void 0 : t.filter((s) => s.userName !== c.value.userName)
28
- } : a), console.log(9090, t, c.value);
27
+ contents: t == null ? void 0 : t.filter((s) => s.userName !== p.value.userName)
28
+ } : a), console.log(9090, t, p.value);
29
29
  });
30
30
  const b = e.getPageDataAsync("/role"), y = e.getPageDataAsync("/dept");
31
31
  Promise.all([b, y]).then((t) => {
32
- var s, g, f;
32
+ var s, f, g;
33
33
  console.log(888, t);
34
34
  const r = (s = t == null ? void 0 : t[0]) == null ? void 0 : s.map((o) => ({
35
35
  label: o.roleName,
36
36
  value: o.roleName
37
- })), a = (g = t == null ? void 0 : t[1]) == null ? void 0 : g.map((o) => ({
37
+ })), a = (f = t == null ? void 0 : t[1]) == null ? void 0 : f.map((o) => ({
38
38
  label: o.deptName,
39
39
  value: o.deptName
40
40
  }));
41
- e.pageData = (f = e.pageData) == null ? void 0 : f.map((o) => {
41
+ e.pageData = (g = e.pageData) == null ? void 0 : g.map((o) => {
42
42
  var d;
43
43
  return o.key === "header" ? {
44
44
  ...o,
@@ -69,7 +69,7 @@ const T = { class: "role-wrapper" }, q = /* @__PURE__ */ P({
69
69
  }, null, 8, ["itemData", "onChange", "onOnButtonClick"])
70
70
  ]));
71
71
  }
72
- }), Y = /* @__PURE__ */ R(q, [["__scopeId", "data-v-99b7696d"]]);
72
+ }), Y = /* @__PURE__ */ R(q, [["__scopeId", "data-v-857e7eb5"]]);
73
73
  export {
74
74
  Y as default
75
75
  };
@@ -1,50 +1,50 @@
1
- import { defineComponent as T, reactive as M, onMounted as N, watch as A, nextTick as E, resolveComponent as s, createElementBlock as D, openBlock as m, Fragment as b, createElementVNode as u, createVNode as n, withCtx as a, toDisplayString as p, renderList as F, createBlock as I, createTextVNode as g } from "vue";
2
- import { s as P } from "./index-CXDfgoDy.js";
3
- import { s as U } from "./index-DfmdUHnV.js";
4
- import { S as x } from "./index-CM3HIKOQ.js";
5
- import { u as O, s as v } from "./menu-wU4DAZfH.js";
6
- import { u as q } from "./modelComp-d1h-HYNv.js";
7
- import { useRoute as G } from "vue-router";
8
- import { c as y } from "./cloneDeep-vZFEDRrU.js";
9
- import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = { class: "node-text" }, H = { class: "dialog-footer" }, J = /* @__PURE__ */ T({
1
+ import { defineComponent as R, reactive as T, onMounted as M, watch as N, nextTick as A, resolveComponent as r, createElementBlock as k, openBlock as m, Fragment as D, createElementVNode as i, createVNode as n, withCtx as a, toDisplayString as p, renderList as E, createBlock as F, createTextVNode as g } from "vue";
2
+ import { s as I } from "./index-BWmd705R.js";
3
+ import { s as P } from "./index-q4qf3gNt.js";
4
+ import { S as b } from "./index-BpwVKq24.js";
5
+ import { u as U, s as x } from "./menu-Dk3VihkR.js";
6
+ import { u as O } from "./modelComp-BmaHE37I.js";
7
+ import { useRoute as q } from "vue-router";
8
+ import { c as y } from "./cloneDeep-BY7jbyTA.js";
9
+ import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const L = { class: "role-wrapper" }, Q = { class: "role-dialog-header" }, W = { class: "node-text" }, j = { class: "dialog-footer" }, H = /* @__PURE__ */ R({
11
11
  __name: "index",
12
- setup(K) {
13
- const w = O(), { menus: B, activeMenuPath: _ } = v(w), e = M({ ...x }), { treeRef: V, menuData: C } = x, f = q(), { itemData: z } = v(f), S = G();
14
- return N(() => {
12
+ setup(J) {
13
+ const v = U(), { menus: w, activeMenuPath: _ } = x(v), e = T({ ...b }), { treeRef: B } = b, C = O(), { itemData: V } = x(C), z = q();
14
+ return M(() => {
15
15
  console.log(1234, e.structureButtons);
16
- const l = y(z.value), t = {
16
+ const s = y(V.value), t = {
17
17
  comp: "Group",
18
- name: S.path,
19
- pageData: e.pageData
18
+ name: z.path,
19
+ compData: e.pageData
20
20
  };
21
- f.setItemData([...l, t]), _.value && e.getPageDataAsync(_.value).then((d) => {
21
+ C.setItemData([...s, t]), _.value && e.getPageDataAsync(_.value).then((d) => {
22
22
  var c;
23
- e.pageData = (c = e.pageData) == null ? void 0 : c.map((r) => r.key === "tableContents" ? {
24
- ...r,
23
+ e.pageData = (c = e.pageData) == null ? void 0 : c.map((l) => l.key === "tableContents" ? {
24
+ ...l,
25
25
  contents: d
26
- } : r);
26
+ } : l);
27
27
  });
28
- }), A(() => B.value, (l) => {
29
- E(() => {
30
- const t = y(l);
31
- C.value = e.addButtonsToTree(t, ["查询", "新增", "编辑", "删除"]), console.log("menus123", C.value, l);
28
+ }), N(() => w.value, (s) => {
29
+ A(() => {
30
+ const t = y(s);
31
+ e.menuData = e.addButtonsToTree(t, e.structureButtons), console.log("menus123", t);
32
32
  });
33
33
  }, {
34
34
  immediate: !0,
35
35
  deep: !0
36
- }), (l, t) => {
37
- const d = s("el-checkbox"), c = s("el-checkbox-group"), r = s("el-tree"), k = s("el-button"), R = s("el-dialog");
38
- return m(), D(b, null, [
39
- u("div", Q, [
40
- n(P, {
36
+ }), (s, t) => {
37
+ const d = r("el-checkbox"), c = r("el-checkbox-group"), l = r("el-tree"), f = r("el-button"), S = r("el-dialog");
38
+ return m(), k(D, null, [
39
+ i("div", L, [
40
+ n(I, {
41
41
  class: "role-header",
42
42
  rowContents: e.queryFormData,
43
43
  isEnableWrap: !0,
44
44
  isEdit: !0,
45
45
  onChange: e.handleQueryChange
46
46
  }, null, 8, ["rowContents", "onChange"]),
47
- n(U, {
47
+ n(P, {
48
48
  class: "role-body",
49
49
  itemData: e.pageDataFiltered,
50
50
  changedContent: e.changedRow,
@@ -53,7 +53,7 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
53
53
  onOnButtonClick: e.clickRowButton
54
54
  }, null, 8, ["itemData", "changedContent", "onChange", "onContentChange", "onOnButtonClick"])
55
55
  ]),
56
- n(R, {
56
+ n(S, {
57
57
  modelValue: e.authorizeDialog.show,
58
58
  "onUpdate:modelValue": t[0] || (t[0] = (h) => e.authorizeDialog.show = h),
59
59
  width: e.authorizeDialog.width,
@@ -62,11 +62,11 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
62
62
  class: "role-dialog"
63
63
  }, {
64
64
  header: a(() => [
65
- u("div", W, p(e.authorizeDialog.title), 1)
65
+ i("div", Q, p(e.authorizeDialog.title), 1)
66
66
  ]),
67
67
  footer: a(() => [
68
- u("div", H, [
69
- n(k, {
68
+ i("div", j, [
69
+ n(f, {
70
70
  onClick: e.closeAuthorizeDialog
71
71
  }, {
72
72
  default: a(() => t[1] || (t[1] = [
@@ -75,7 +75,7 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
75
75
  _: 1,
76
76
  __: [1]
77
77
  }, 8, ["onClick"]),
78
- n(k, {
78
+ n(f, {
79
79
  type: "primary",
80
80
  onClick: e.clickSubmitAuthority
81
81
  }, {
@@ -88,10 +88,10 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
88
88
  ])
89
89
  ]),
90
90
  default: a(() => [
91
- n(r, {
91
+ n(l, {
92
92
  class: "role-tree",
93
93
  ref_key: "treeRef",
94
- ref: V,
94
+ ref: B,
95
95
  data: e.menuData,
96
96
  "show-checkbox": "",
97
97
  "expand-on-click-node": !1,
@@ -104,16 +104,16 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
104
104
  onCheckChange: e.handleNodeCheckChange,
105
105
  style: { height: "500px", "overflow-y": "auto" }
106
106
  }, {
107
- default: a(({ node: h, data: i }) => [
108
- u("span", j, p(h.label), 1),
107
+ default: a(({ node: h, data: u }) => [
108
+ i("span", W, p(h.label), 1),
109
109
  n(c, {
110
- modelValue: i.checkedButtons,
111
- "onUpdate:modelValue": (o) => i.checkedButtons = o,
112
- onChange: (o) => e.handleNodeBtnChange(o, i),
110
+ modelValue: u.checkedButtons,
111
+ "onUpdate:modelValue": (o) => u.checkedButtons = o,
112
+ onChange: (o) => e.handleNodeBtnChange(o, u),
113
113
  class: "node-buttons"
114
114
  }, {
115
115
  default: a(() => [
116
- (m(!0), D(b, null, F(i.renderButtons, (o) => (m(), I(d, {
116
+ (m(!0), k(D, null, E(u.renderButtons, (o) => (m(), F(d, {
117
117
  key: o.title,
118
118
  label: o.title,
119
119
  value: o.path
@@ -135,7 +135,7 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
135
135
  ], 64);
136
136
  };
137
137
  }
138
- }), le = /* @__PURE__ */ L(J, [["__scopeId", "data-v-97bd7089"]]);
138
+ }), ne = /* @__PURE__ */ G(H, [["__scopeId", "data-v-a7127b6e"]]);
139
139
  export {
140
- le as default
140
+ ne as default
141
141
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Ab=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ji=require("./cloneDeep-tQf7WEs8.cjs");/*! *****************************************************************************
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Ab=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ji=require("./cloneDeep-TacB4EZO.cjs");/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any