ss-component-new 1.1.526 → 1.1.528

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 (78) hide show
  1. package/dist/{index-C6H18PjM.js → index-B6SYAI26.js} +2 -2
  2. package/dist/{index-SgvrLPny.js → index-BHY4EQSs.js} +2 -2
  3. package/dist/index-BI5TNK6k.js +24 -0
  4. package/dist/index-BKXNYMwK.js +119 -0
  5. package/dist/index-BOrLUI1H.cjs +1 -0
  6. package/dist/{index-nRcmnoRz.js → index-BQw5HyPd.js} +3 -3
  7. package/dist/index-BiduaxAB.js +1522 -0
  8. package/dist/index-C2mK8_eD.cjs +1 -0
  9. package/dist/{index-DM16A1mk.js → index-C5iQlcOF.js} +1 -1
  10. package/dist/index-C9XFBEZf.cjs +1 -0
  11. package/dist/{index-kNQH4_GE.js → index-CDBkv_Ya.js} +2 -2
  12. package/dist/index-CEic54aV.cjs +1 -0
  13. package/dist/index-CHGtYHAg.cjs +1 -0
  14. package/dist/index-CI0eQ91Q.js +114 -0
  15. package/dist/{index-ChtIzGrJ.js → index-CI7JFzie.js} +237 -238
  16. package/dist/{index-DhojDLDB.cjs → index-CJ-wod1-.cjs} +1 -1
  17. package/dist/index-CMcC-i_U.cjs +1 -0
  18. package/dist/index-CWQIBtZb.cjs +1 -0
  19. package/dist/index-CZAaXjhl.cjs +1 -0
  20. package/dist/index-CbHjBSwG.cjs +1 -0
  21. package/dist/index-Cj9EmgiC.js +4045 -0
  22. package/dist/index-Cl9ftuhX.js +24 -0
  23. package/dist/index-D0quQ7YP.cjs +1 -0
  24. package/dist/index-DH3RKnhU.js +628 -0
  25. package/dist/index-DhLcxHDM.cjs +1 -0
  26. package/dist/{index-KjuEkxx1.js → index-DyFB5NpR.js} +8 -8
  27. package/dist/index-Dyv0_8dw.cjs +1 -0
  28. package/dist/{index-BDg_2EeK.cjs → index-DzcSP6N6.cjs} +1 -1
  29. package/dist/index-RqtMCA_6.cjs +1 -0
  30. package/dist/{index-Bh62komS.cjs → index-aPkj5LQZ.cjs} +1 -1
  31. package/dist/index-hB4QQWRo.js +24 -0
  32. package/dist/index-i6oSAK8p.cjs +1 -0
  33. package/dist/{index-kxCDkrQ3.js → index-pe0-gRuH.js} +5 -5
  34. package/dist/index-z1F5TOoY.js +758 -0
  35. package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-MZg6UiK7.js → index.vue_vue_type_style_index_0_scoped_71c9b50e_lang-C60yEbRa.js} +94 -92
  36. package/dist/index.vue_vue_type_style_index_0_scoped_71c9b50e_lang-CjS6W4SA.cjs +1 -0
  37. package/dist/index.vue_vue_type_style_index_0_scoped_b9caa997_lang-pDWTdGJJ.cjs +56 -0
  38. package/dist/{index.vue_vue_type_style_index_0_scoped_b9caa997_lang-L_gsHz8k.js → index.vue_vue_type_style_index_0_scoped_b9caa997_lang-zwC7ZHYX.js} +8164 -8132
  39. package/dist/{main-DE0Cs_EA.js → main-BZXQaVsn.js} +3 -3
  40. package/dist/main-DnbTphTt.cjs +1 -0
  41. package/dist/modelComp-B4I2gbtf.js +54 -0
  42. package/dist/modelComp-BlAKXNIt.cjs +1 -0
  43. package/dist/ss-component.cjs +1 -1
  44. package/dist/ss-component.css +1 -1
  45. package/dist/ss-component.js +4 -4
  46. package/dist/ss-component2.cjs +1 -1
  47. package/dist/ss-component2.js +8 -8
  48. package/dist/{threeModel-BAMYy5I6.cjs → threeModel-BjhOcDlp.cjs} +1 -1
  49. package/dist/{threeModel-x_b5QYTj.js → threeModel-CxNRKsD_.js} +1 -1
  50. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-RuOFgenL.js → threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-BV7oq1Z4.js} +730 -780
  51. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-qC3WcBEx.cjs → threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-DCn4bomb.cjs} +24 -24
  52. package/package.json +1 -1
  53. package/dist/index-0rTmoLcM.cjs +0 -1
  54. package/dist/index-4rRboSOp.js +0 -4005
  55. package/dist/index-BCPtS065.cjs +0 -1
  56. package/dist/index-BL0tVJoS.js +0 -111
  57. package/dist/index-BNyqaP6-.cjs +0 -1
  58. package/dist/index-Bk11IVbZ.cjs +0 -1
  59. package/dist/index-CCbzoY8t.js +0 -24
  60. package/dist/index-CR_vbGhk.js +0 -24
  61. package/dist/index-Cc3H_n6-.cjs +0 -1
  62. package/dist/index-CzUommbu.cjs +0 -1
  63. package/dist/index-DJq6gx4V.js +0 -637
  64. package/dist/index-DLkCxXOC.cjs +0 -1
  65. package/dist/index-Dgmc9eA_.cjs +0 -1
  66. package/dist/index-DhR1_PeB.cjs +0 -1
  67. package/dist/index-DnsjPUw0.cjs +0 -1
  68. package/dist/index-Ds2jDhmF.cjs +0 -1
  69. package/dist/index-DtaCrHTU.js +0 -675
  70. package/dist/index-DuFI0E2M.js +0 -116
  71. package/dist/index-SMb-sSWX.js +0 -1506
  72. package/dist/index-Uf0nOGSM.js +0 -24
  73. package/dist/index-YBcVyXAt.cjs +0 -1
  74. package/dist/index-gn95QmP8.cjs +0 -1
  75. package/dist/index-u5HGwhUu.cjs +0 -1
  76. package/dist/index.vue_vue_type_style_index_0_scoped_b9caa997_lang-Dhcl-80s.cjs +0 -56
  77. package/dist/index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-GYs1cyDP.cjs +0 -1
  78. package/dist/main-U7M-tRpt.cjs +0 -1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as u, openBlock as m, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
2
- import { S as x } from "./index-DJq6gx4V.js";
3
- import { B } from "./index-SMb-sSWX.js";
2
+ import { S as x } from "./index-DH3RKnhU.js";
3
+ import { B } from "./index-BiduaxAB.js";
4
4
  import { s as F, d as y } from "./index-ECdf2g-Z.js";
5
5
  import { u as S, p as I, s as N } from "./menu-DV47UKJo.js";
6
6
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,7 +1,7 @@
1
1
  import { resolveComponent as L, createElementBlock as _, openBlock as r, Fragment as j, renderList as q, unref as W, createElementVNode as C, createVNode as D, toDisplayString as E, ref as I, watch as A, withCtx as z, createBlock as G, resolveDynamicComponent as H, createCommentVNode as y, normalizeStyle as X, withModifiers as w } from "vue";
2
- import { s as Y, g as J } from "./index-4rRboSOp.js";
2
+ import { s as Y, g as J } from "./index-Cj9EmgiC.js";
3
3
  import { p as B, s as V, c as v, E as Z } from "./menu-DV47UKJo.js";
4
- import { u as S } from "./threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-RuOFgenL.js";
4
+ import { u as S } from "./modelComp-B4I2gbtf.js";
5
5
  import "./array-CLz11m07.js";
6
6
  import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import ee from "./index-CZtXRS3l.js";
@@ -0,0 +1,24 @@
1
+ import { defineComponent as o, reactive as r, onMounted as n, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
2
+ import "./index-BHtNKL1L.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C-dZE1aR.js";
4
+ import { u as i, s as p } from "./menu-DV47UKJo.js";
5
+ import { B as u } from "./index-BiduaxAB.js";
6
+ import { S as l } from "./index-CDBkv_Ya.js";
7
+ import { i as d } from "./index-z1F5TOoY.js";
8
+ const _ = { class: "role-wrapper" }, M = /* @__PURE__ */ o({
9
+ __name: "index",
10
+ setup(f) {
11
+ const e = r({ ...l }), t = i(), { activeMenuPath: a } = p(t);
12
+ return n(async () => {
13
+ e.structureId = await d(a.value);
14
+ }), (h, g) => (c(), s("div", _, [
15
+ m(u, {
16
+ itemData: e.pageData,
17
+ onChange: e.handleItemDataChange
18
+ }, null, 8, ["itemData", "onChange"])
19
+ ]));
20
+ }
21
+ });
22
+ export {
23
+ M as default
24
+ };
@@ -0,0 +1,119 @@
1
+ import { defineComponent as v, reactive as w, onMounted as V, watch as y, nextTick as z, resolveComponent as r, createElementBlock as p, openBlock as i, createVNode as n, withCtx as l, createElementVNode as s, toDisplayString as u, Fragment as S, renderList as T, createBlock as N, createTextVNode as d } from "vue";
2
+ import "./index-BHtNKL1L.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C-dZE1aR.js";
4
+ import { u as R, s as A, c as M } from "./menu-DV47UKJo.js";
5
+ import { B as I } from "./index-BiduaxAB.js";
6
+ import { j as _ } from "./index-z1F5TOoY.js";
7
+ import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const E = { class: "role-wrapper" }, F = { class: "role-dialog-header" }, O = ["title"], P = { class: "dialog-footer" }, j = /* @__PURE__ */ v({
9
+ __name: "index",
10
+ setup(L) {
11
+ const g = R(), { menus: f, activeMenuPath: k } = A(g), e = w({ ..._ }), { treeRef: C } = _;
12
+ return V(async () => {
13
+ await e.getActivePageStructureId(k.value);
14
+ }), y(() => f.value, (h) => {
15
+ z(() => {
16
+ const t = M(h);
17
+ e.menuData = e.addButtonsToTree(t, e.structureButtons);
18
+ });
19
+ }, {
20
+ immediate: !0,
21
+ deep: !0
22
+ }), (h, t) => {
23
+ const b = r("el-checkbox"), x = r("el-checkbox-group"), B = r("el-tree"), m = r("el-button"), D = r("el-dialog");
24
+ return i(), p("div", E, [
25
+ n(I, {
26
+ itemData: e.pageDataFiltered,
27
+ changedContent: e.changedRow,
28
+ onChange: e.handleItemDataChange,
29
+ onOnButtonClick: e.clickRowButton
30
+ }, null, 8, ["itemData", "changedContent", "onChange", "onOnButtonClick"]),
31
+ n(D, {
32
+ modelValue: e.authorizeDialog.show,
33
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => e.authorizeDialog.show = o),
34
+ width: e.authorizeDialog.width,
35
+ draggable: e.authorizeDialog.draggable,
36
+ "before-close": e.closeAuthorizeDialog,
37
+ class: "role-dialog"
38
+ }, {
39
+ header: l(() => [
40
+ s("div", F, u(e.authorizeDialog.title), 1)
41
+ ]),
42
+ footer: l(() => [
43
+ s("div", P, [
44
+ n(m, {
45
+ id: "themeBorderButton",
46
+ onClick: e.closeAuthorizeDialog
47
+ }, {
48
+ default: l(() => t[1] || (t[1] = [
49
+ d("取消")
50
+ ])),
51
+ _: 1,
52
+ __: [1]
53
+ }, 8, ["onClick"]),
54
+ n(m, {
55
+ id: "themeButton",
56
+ onClick: e.clickSubmitAuthority
57
+ }, {
58
+ default: l(() => t[2] || (t[2] = [
59
+ d(" 确认 ")
60
+ ])),
61
+ _: 1,
62
+ __: [2]
63
+ }, 8, ["onClick"])
64
+ ])
65
+ ]),
66
+ default: l(() => [
67
+ n(B, {
68
+ class: "role-tree",
69
+ ref_key: "treeRef",
70
+ ref: C,
71
+ data: e.menuData,
72
+ "expand-on-click-node": !1,
73
+ "node-key": "path",
74
+ props: { children: "children", label: "title", path: "path" },
75
+ "highlight-current": "",
76
+ "default-expand-all": "",
77
+ "check-on-click-leaf": !1,
78
+ "check-strictly": "",
79
+ onCheckChange: e.handleNodeCheckChange,
80
+ style: { height: "500px", "overflow-y": "auto" }
81
+ }, {
82
+ default: l(({ node: o, data: c }) => [
83
+ s("span", {
84
+ class: "node-text",
85
+ title: o == null ? void 0 : o.label
86
+ }, u(o == null ? void 0 : o.label), 9, O),
87
+ n(x, {
88
+ modelValue: c.checkedButtons,
89
+ "onUpdate:modelValue": (a) => c.checkedButtons = a,
90
+ onChange: (a) => e.handleNodeBtnChange(a, c),
91
+ class: "node-buttons"
92
+ }, {
93
+ default: l(() => [
94
+ (i(!0), p(S, null, T(c.renderButtons, (a) => (i(), N(b, {
95
+ key: a.title,
96
+ label: a.title,
97
+ value: a.path
98
+ }, {
99
+ default: l(() => [
100
+ d(u(a.title), 1)
101
+ ]),
102
+ _: 2
103
+ }, 1032, ["label", "value"]))), 128))
104
+ ]),
105
+ _: 2
106
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
107
+ ]),
108
+ _: 1
109
+ }, 8, ["data", "onCheckChange"])
110
+ ]),
111
+ _: 1
112
+ }, 8, ["modelValue", "width", "draggable", "before-close"])
113
+ ]);
114
+ };
115
+ }
116
+ }), X = /* @__PURE__ */ U(j, [["__scopeId", "data-v-03628549"]]);
117
+ export {
118
+ X as default
119
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.vue_vue_type_style_index_0_scoped_71c9b50e_lang-CjS6W4SA.cjs"),e=require("vue"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),p=["title"],_={key:0,class:"menu-operate-icon"},C={class:"menu-config-wrap"},k=["onClick"],f={class:"module-dialog-content"};function h(o,l,m,B,V,y){const i=e.resolveComponent("svg-icon"),a=e.resolveComponent("el-popover"),d=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),c=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(d,{mode:o.mode,menuList:o.renderMenuList,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var s;return[e.createVNode(i,{name:t.icon??"",class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",{title:t.title,class:"menu-title"},e.toDisplayString(t.title??""),9,p),t!=null&&t.config&&((s=t==null?void 0:t.config)==null?void 0:s.length)>0?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(a,{title:"菜单操作",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",C,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:N=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.menuIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,k))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),e.createVNode(c,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",f,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[0]||(l[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const v=g._export_sfc(u._sfc_main,[["render",h],["__scopeId","data-v-71c9b50e"]]);exports.default=v;
@@ -1,8 +1,8 @@
1
1
  import { ref as l, watch as b } from "vue";
2
2
  import { g as y, s as m } from "./menu-DV47UKJo.js";
3
- import { s as d, h as g } from "./index-DtaCrHTU.js";
4
- import { u as D } from "./threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-RuOFgenL.js";
5
- const f = D(), { itemData: h } = m(f), c = l(0), k = l([
3
+ import { s as d, f as g } from "./index-z1F5TOoY.js";
4
+ import { u as f } from "./modelComp-B4I2gbtf.js";
5
+ const D = f(), { itemData: h } = m(D), c = l(0), k = l([
6
6
  {
7
7
  label: "机构名称",
8
8
  value: "",