ss-component-new 1.1.721 → 1.1.723
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.
- package/dist/{array-CgJ6luvr.cjs → array-BmNF2kj-.cjs} +1 -1
- package/dist/{array-BcN1bdmj.js → array-DCBVsdJP.js} +1 -1
- package/dist/{index-VQ4mf0NG.cjs → index-4AuTJZho.cjs} +1 -1
- package/dist/{index-BkryeHcb.cjs → index-5H_XBWN4.cjs} +1 -1
- package/dist/{index-CAV4FH8Z.cjs → index-6P9xYpVG.cjs} +1 -1
- package/dist/{index-CLaUio0q.cjs → index-B4KBh9OM.cjs} +1 -1
- package/dist/{index-Bwj8bU3w.cjs → index-B6Brf8Ej.cjs} +1 -1
- package/dist/{index-B_h8SY5M.js → index-B947Y8iO.js} +1 -1
- package/dist/{index-C1IBXnyt.cjs → index-B9etOHXX.cjs} +1 -1
- package/dist/{index-DLPqu104.js → index-BFVP_NE0.js} +5 -5
- package/dist/{index-Bidjqofb.js → index-BHQPluAB.js} +3 -3
- package/dist/{index-Bjlg9wnM.js → index-BJEE1qz5.js} +5 -5
- package/dist/{index-DOn8yEZJ.cjs → index-BLmbGvYW.cjs} +2 -2
- package/dist/{index-fniyUh6b.cjs → index-BX4DUHkU.cjs} +1 -1
- package/dist/{index-Be3sB22h.cjs → index-BjZ5U_DZ.cjs} +1 -1
- package/dist/{index-Cx320XRD.cjs → index-BmYzTrNw.cjs} +1 -1
- package/dist/{index-Cd71tWDj.js → index-C38nuWKN.js} +3 -3
- package/dist/{index-Bl6RAbAc.js → index-C4UvJCaG.js} +2 -2
- package/dist/{index-xSTLa8Bb.js → index-C54rU-Mt.js} +12 -12
- package/dist/{index-BaOJ2FlA.cjs → index-C6V5bDbk.cjs} +1 -1
- package/dist/{index-v9IlbVxb.js → index-CFk6TzO0.js} +2 -2
- package/dist/{index-CIPfJ4V5.js → index-CIQxbKjC.js} +5 -5
- package/dist/{index-D9HFpsnH.cjs → index-COewrS6X.cjs} +1 -1
- package/dist/{index-YA8F1H22.js → index-CQSW_TbY.js} +2 -2
- package/dist/{index-BYl3ZfMW.js → index-CYMo6wU0.js} +1 -1
- package/dist/{index-BV3gIolN.cjs → index-CZxOlexs.cjs} +1 -1
- package/dist/index-Cde59Dea.cjs +1 -0
- package/dist/{index-DFwEXQv-.js → index-Cflpp0_W.js} +2 -2
- package/dist/index-Chi3A9Fw.cjs +1 -0
- package/dist/{index-onW5suua.js → index-CmLrd_MR.js} +3 -3
- package/dist/{index-CVDOumPC.js → index-Cqqw2uEC.js} +197 -194
- package/dist/{index-BHBGoWFE.js → index-DAJmODpn.js} +4 -4
- package/dist/{index-CSfd9Nvs.cjs → index-DElvuS2T.cjs} +1 -1
- package/dist/{index-C2KiCWir.js → index-DMZQOTHp.js} +2 -2
- package/dist/{index-Dz7-jX87.cjs → index-DPPkfVb2.cjs} +1 -1
- package/dist/{index-di0y5Ciz.js → index-DRXcsXFx.js} +622 -620
- package/dist/{index-50HGqFLU.js → index-DS0Uh_eD.js} +2 -2
- package/dist/{index-Dn7yNpUx.cjs → index-DW8panmt.cjs} +1 -1
- package/dist/index-DXJnHPQt.cjs +1 -0
- package/dist/{index-D9G0MN0h.cjs → index-DvS7Gfoo.cjs} +1 -1
- package/dist/{index-CyCiiIH7.js → index-IK1v-m-J.js} +37 -29
- package/dist/{index-C08wAtul.js → index-Mjzea29J.js} +3 -3
- package/dist/{index-C5OJDom_.cjs → index-RVSSLf4H.cjs} +1 -1
- package/dist/{index-C8KgQTfH.js → index-_HYRHCrJ.js} +5 -7
- package/dist/{index-BaJiGLkX.js → index-ciHRGlm4.js} +1 -1
- package/dist/{index-B_GAWj5p.js → index-gAJUFjOS.js} +3 -3
- package/dist/{index-CyTykQhT.cjs → index-hw1XuIBl.cjs} +1 -1
- package/dist/{index-GxAWv8aU.cjs → index-yHixFXNh.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-De8jbnS5.cjs → index.vue_vue_type_script_setup_true_lang-jB6jotTZ.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DAIduaBX.js → index.vue_vue_type_script_setup_true_lang-zfsjiCco.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bn_-cql3.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfWdXlRy.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C_N41ilG.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DvdjF4lo.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-CCQ1V4Ad.cjs → index.vue_vue_type_style_index_0_scoped_8606206c_lang-B3tpbBXQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-BgHhMOqW.js → index.vue_vue_type_style_index_0_scoped_8606206c_lang-D7DjlmWs.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CVGFhYru.cjs → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-6rF5bPbr.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-BajRaUap.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-DAIcyHmg.js} +6 -6
- package/dist/{login-Dxsw3cch.js → login-CWDI416v.js} +80 -76
- package/dist/{login-DoVI1BJb.cjs → login-kJuO1jE4.cjs} +5 -5
- package/dist/{main-C_jD1CK-.cjs → main-BmZBX-Pa.cjs} +1 -1
- package/dist/{main-B5FfttkG.js → main-Z7Nkakjz.js} +4 -4
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-Dwjk_uWz.cjs → threeModel-7uyg6ASs.cjs} +1 -1
- package/dist/{threeModel-BNhwg7RT.js → threeModel-D1iqMZf5.js} +2 -2
- package/package.json +1 -1
- package/dist/index-B9SUJ4Zu.cjs +0 -1
- package/dist/index-BAdqe1Qk.cjs +0 -1
- package/dist/index-D4nn1MaA.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("./index-BLmbGvYW.cjs"),p=require("./index-B4KBh9OM.cjs"),d=require("./login-kJuO1jE4.cjs"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"role-wrapper"},V={class:"role-dialog-header"},v=["title"],B={class:"dialog-footer"},m=e.defineComponent({__name:"index",setup(N){const g=d.useMenuState(),{menus:_,activeMenuPath:C}=d.storeToRefs(g),o=e.reactive({...p.State$1}),{treeRef:k}=p.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(C.value)});const h=r=>r==null?void 0:r.map(t=>{var n,c,i;return t!=null&&t.childMenus&&((n=t==null?void 0:t.childMenus)==null?void 0:n.length)>0?{...t,childMenus:[],children:h(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(c=t==null?void 0:t.path)!=null&&c.startsWith("/")?(i=t==null?void 0:t.path)==null?void 0:i.substring(1):t.path}});return e.watch(()=>_.value,r=>{e.nextTick(()=>{const t=d.cloneDeep(r),n=h(t);o.tempSysMenus=o.handleAddSysMenusButtons(n),o.menuData=o.addButtonsToTree(n,o.structureButtons)})},{immediate:!0,deep:!0}),(r,t)=>{const n=e.resolveComponent("el-checkbox"),c=e.resolveComponent("el-checkbox-group"),i=e.resolveComponent("el-tree"),u=e.resolveComponent("el-button"),x=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(f.ssTable,{compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(x,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=l=>o.authorizeDialog.show=l),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",V,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",B,[e.createVNode(u,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(u,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(i,{class:"role-tree",ref_key:"treeRef",ref:k,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:l,data:s})=>[e.createElementVNode("span",{class:"node-text",title:l==null?void 0:l.label},e.toDisplayString(l==null?void 0:l.label),9,v),e.createVNode(c,{modelValue:s.checkedButtons,"onUpdate:modelValue":a=>s.checkedButtons=a,onChange:a=>o.handleNodeBtnChange(a,s),class:"node-buttons"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.renderButtons,a=>(e.openBlock(),e.createBlock(n,{key:a.title,label:a.title,value:a.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),D=b._export_sfc(m,[["__scopeId","data-v-4f41513d"]]);exports.default=D;
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
3
|
-
import { u as B, p as V, s as S, c as v } from "./login-
|
|
4
|
-
import "./array-
|
|
2
|
+
import { s as Y, g as J } from "./index-DRXcsXFx.js";
|
|
3
|
+
import { u as B, p as V, s as S, c as v } from "./login-CWDI416v.js";
|
|
4
|
+
import "./array-DCBVsdJP.js";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
import Z from "./index-CZtXRS3l.js";
|
|
7
|
-
import { b as ee } from "./index-
|
|
8
|
-
import { E as te } from "./index-
|
|
7
|
+
import { b as ee } from "./index-BHQPluAB.js";
|
|
8
|
+
import { E as te } from "./index-CYMo6wU0.js";
|
|
9
9
|
import { E as ne } from "./index-BHZ56TUj.js";
|
|
10
10
|
const oe = { class: "type-select" }, se = ["onClick"], ae = { class: "list-icon" }, le = {
|
|
11
11
|
__name: "index",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as $, resolveComponent as F, createBlock as j, openBlock as k, createCommentVNode as ee, defineComponent as Ct, onMounted as Qt, withCtx as E, createVNode as Y, createElementVNode as J, createElementBlock as L, Fragment as xe, renderList as Se, createTextVNode as Bt, toDisplayString as Ne, watch as ht, normalizeStyle as Ve, unref as F0, createSlots as qt, resolveDynamicComponent as b2, normalizeClass as Ja, nextTick as a0, renderSlot as se, normalizeProps as Za, guardReactiveProps as e6, mergeProps as R2, reactive as qs, inject as t6, onBeforeUnmount as Fl, computed as ne, withDirectives as Eo, withModifiers as i6, vShow as Bo, watchEffect as k0, onUnmounted as sn, h as Lo, toRefs as n6 } from "vue";
|
|
2
2
|
import { S as Ro } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { j as Io, T as Ho, M as s6, U as o6, V as r6, W as l6, X as No, Y as $o } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { j as Io, T as Ho, M as s6, U as o6, V as r6, W as l6, X as No, Y as $o } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DvdjF4lo.js";
|
|
4
4
|
import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { c as yt, u as a6, p as c6, a as h6, s as u6 } from "./login-
|
|
5
|
+
import { c as yt, u as a6, p as c6, a as h6, s as u6 } from "./login-CWDI416v.js";
|
|
6
6
|
import { bp as d6, bq as f6, s as on, E as Ul, aB as p6, ad as g6, bt as m6 } from "./index-BHZ56TUj.js";
|
|
7
|
-
import { _ as v6 } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as v6 } from "./index.vue_vue_type_script_setup_true_lang-zfsjiCco.js";
|
|
8
8
|
var w6 = "[object Number]";
|
|
9
9
|
function Wo(n) {
|
|
10
10
|
return typeof n == "number" || d6(n) && f6(n) == w6;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as r, onMounted as n, createElementBlock as s, openBlock as m, createVNode as c } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { a as i, s as p } from "./login-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DvdjF4lo.js";
|
|
4
|
+
import { a as i, s as p } from "./login-CWDI416v.js";
|
|
5
5
|
import "./index-BHZ56TUj.js";
|
|
6
|
-
import { s as u } from "./index-
|
|
7
|
-
import { S as l } from "./index-
|
|
8
|
-
import { i as d } from "./index-
|
|
6
|
+
import { s as u } from "./index-_HYRHCrJ.js";
|
|
7
|
+
import { S as l } from "./index-DMZQOTHp.js";
|
|
8
|
+
import { i as d } from "./index-CFk6TzO0.js";
|
|
9
9
|
const _ = { class: "role-wrapper" }, w = /* @__PURE__ */ o({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(f) {
|