ss-component-new 1.1.150 → 1.1.151
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-CbhGfVxI.cjs → array-C09NLiVl.cjs} +1 -1
- package/dist/{array-BAYzUFnt.js → array-CqhTXR28.js} +7 -7
- package/dist/{cloneDeep-MnyT2_Nu.cjs → cloneDeep-B6Av9vYT.cjs} +1 -1
- package/dist/{cloneDeep-fkblO81M.js → cloneDeep-Cm2ut66T.js} +1 -1
- package/dist/{index-bLJ2Ndcm.cjs → index-1TcDjOsz.cjs} +1 -1
- package/dist/{index-BsqT_zoA.js → index-BH36LQch.js} +1 -1
- package/dist/{index-DMbEpGWW.js → index-BHjs6gMr.js} +2 -2
- package/dist/{index-nNZP7IB7.js → index-BQK2DuaH.js} +9 -9
- package/dist/{index-CeSRiTQw.cjs → index-BUkyNn3m.cjs} +1 -1
- package/dist/{index-rqjMCgx4.cjs → index-BZaGIyxe.cjs} +1 -1
- package/dist/{index-40cGB4ZU.cjs → index-BaSc02sA.cjs} +2 -2
- package/dist/{index-DJAReCcZ.js → index-Bel0p329.js} +63 -63
- package/dist/{index-CZGl4a5K.cjs → index-BgY5srT7.cjs} +1 -1
- package/dist/{index-CgSPgLET.js → index-BlNU-ya_.js} +5 -5
- package/dist/{index-CcMw1E6Z.cjs → index-C1sMNKRi.cjs} +1 -1
- package/dist/{index-DWJgcuCp.js → index-C8mv9PET.js} +6 -6
- package/dist/{index-CBml9Qri.cjs → index-CMue5Zek.cjs} +1 -1
- package/dist/{index-ujiozCmT.js → index-C_Ek6N_z.js} +4 -4
- package/dist/{index-DKy-U0Ae.cjs → index-CcxZZo6K.cjs} +1 -1
- package/dist/{index-B794iH2o.cjs → index-Ch7zPabE.cjs} +1 -1
- package/dist/{index-CqkslShI.js → index-Ckrm7F4u.js} +1 -1
- package/dist/{index-BB36Ovkv.cjs → index-CsK9LWak.cjs} +1 -1
- package/dist/{index-B0nZerbM.js → index-CtTbyHOu.js} +6 -6
- package/dist/{index-4knkqMwj.cjs → index-Cxz9ADeg.cjs} +1 -1
- package/dist/{index-BIBJrHIk.cjs → index-Cy23PxmQ.cjs} +1 -1
- package/dist/{index-Fq5eplQK.js → index-D-6CVrZh.js} +1 -1
- package/dist/{index-Cj1L4TRX.cjs → index-D9hjyDNL.cjs} +1 -1
- package/dist/{index-5GrZXVu3.js → index-DORM2j0-.js} +6 -6
- package/dist/{index-D1LGiton.cjs → index-DXQEaxeL.cjs} +1 -1
- package/dist/{index-UQ2X6aTt.js → index-D_JFO4Ed.js} +7 -7
- package/dist/{index-CqKT4RHj.js → index-DcuEMWMM.js} +5 -5
- package/dist/{index-Bu51Zajm.cjs → index-DjlDuRvf.cjs} +1 -1
- package/dist/{index-BCSmZRZ4.js → index-DoHr_nug.js} +563 -556
- package/dist/{index-B0OEJNhv.js → index-DqOy9nnX.js} +4 -4
- package/dist/{index-x8702P9U.js → index-DyhHmlGD.js} +1 -1
- package/dist/{index-CuHZUdg2.js → index-GvkFEReE.js} +4 -4
- package/dist/{index-BF9syrYM.cjs → index-LX4uBOi3.cjs} +1 -1
- package/dist/{index-D8YuwybG.js → index-Nb7mXZOf.js} +3 -3
- package/dist/{index-CydE52Wf.js → index-ODNyDte9.js} +5 -5
- package/dist/{index-CmDKKyE8.cjs → index-YajCTD4A.cjs} +1 -1
- package/dist/index-dm-zOhNm.cjs +1 -0
- package/dist/{index-BvHXosaE.cjs → index-wsyih2HQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CPu5xlj0.cjs → index.vue_vue_type_script_setup_true_lang-ClNwGHXE.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BYJZNiyC.js → index.vue_vue_type_script_setup_true_lang-CuQ3xcyC.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_baf99455_lang-CcFtQ2jZ.js → index.vue_vue_type_style_index_0_scoped_baf99455_lang-FY_pjpOg.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_baf99455_lang-DDykhm8K.cjs → index.vue_vue_type_style_index_0_scoped_baf99455_lang-W4auoQ9V.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Ck79OK6N.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BAlbShP-.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CkcA1kQ3.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-ClRL5aRq.cjs} +1 -1
- package/dist/{login-CpNPGXDJ.js → login-DnBDEGHt.js} +2 -2
- package/dist/{login-Cp0dfDHm.cjs → login-aDjal4KC.cjs} +1 -1
- package/dist/{main-CoJhQFHN.cjs → main-ChEDt98s.cjs} +1 -1
- package/dist/{main-DM5wZc2k.js → main-Do8E5J_V.js} +4 -4
- package/dist/{request-ChDD8cqD.cjs → request-BId7xEpo.cjs} +1 -1
- package/dist/{request-BNCQ__H9.js → request-RC5ET7Nr.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/index-DmDNy4oq.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./index-
|
|
1
|
+
"use strict";const a=require("./index-DjlDuRvf.cjs"),f=require("./login-aDjal4KC.cjs"),D=require("./menu-CxtX8L48.cjs"),y=require("./request-BId7xEpo.cjs"),q=D.useMenuState(a.pinia),m=f.useLoginState(a.pinia),I=()=>{const S=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),d=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});Promise.all([S,d]).then(t=>{var r,o,u,n,i,c,g,l;const e=t==null?void 0:t[0],s=t==null?void 0:t[1];if(e.data.code===200){const p=(g=(c=(i=(n=(u=(o=(r=e==null?void 0:e.data)==null?void 0:r.result)==null?void 0:o[0])==null?void 0:u.value)==null?void 0:n.pageData)==null?void 0:i.compData)==null?void 0:c[0])==null?void 0:g.contents;q.setRawMenus(p??[])}else y.ElMessage.error("获取模型菜单响应失败");s.data.code===200?s.data.result&&((l=s.data.result)==null?void 0:l.length)>0&&(m.setStructureData(s.data.result),m.setIsStructureExist(!0)):y.ElMessage.error("获取模型结构响应失败")})};exports.verifyStructureDataToStore=I;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as y, getCurrentInstance as et, inject as pe, unref as c, ref as A, onMounted as le, watch as G, toRef as je, onUnmounted as no, shallowRef as Ke, nextTick as D, defineComponent as Q, useAttrs as oo, useSlots as yn, createElementBlock as F, openBlock as E, normalizeStyle as qe, normalizeClass as w, createCommentVNode as I, Fragment as Ue, createElementVNode as P, renderSlot as W, createBlock as M, withCtx as R, resolveDynamicComponent as Y, mergeProps as ht, withModifiers as Ie, createVNode as ae, toDisplayString as Z, onBeforeUnmount as Re, provide as En, Text as ao, reactive as It, h as so, watchEffect as ro, isRef as io, onScopeDispose as lo, resolveComponent as Te, Transition as uo, withDirectives as it, withKeys as Pe, createTextVNode as lt, vShow as ut, markRaw as gt, toRefs as co, isVNode as Sn, render as wn } from "vue";
|
|
2
|
-
import { g as Cn, c as fo, u as vo, d as po } from "./index-
|
|
2
|
+
import { g as Cn, c as fo, u as vo, d as po } from "./index-BH36LQch.js";
|
|
3
3
|
import { s as Tn, u as ho } from "./menu-XcYMZJLY.js";
|
|
4
|
-
import { a as go } from "./index-
|
|
4
|
+
import { a as go } from "./index-GvkFEReE.js";
|
|
5
5
|
import { d as kn, i as mo, e as Ut } from "./crypto-BRyGpjGR.js";
|
|
6
|
-
import { u as bo } from "./login-
|
|
7
|
-
import { S as Yt, i as In, c as Mt, t as Mn, d as Wt, f as yo, g as ie, h as Gt, j as tt, k as fe, m as Ee, n as Xe, o as An, p as ve, q as Eo, s as So, v as wo, w as Co, x as ke, y as xe, z as Be, _ as Le, A as he, V as To, B as ko, C as Io, D as Mo, F as se, N as Ye, G as Ao, H as Je, I as xn, J as At, K as xo, L as mt, O as Bo, P as jt, Q as No, R as qt, T as Ro, U as Lo, W as Oo, X as Fo, Y as Po, Z as Ho, $ as Xt, a0 as Jt, a1 as $o } from "./index-
|
|
8
|
-
import { m as zo, E as Me } from "./request-
|
|
9
|
-
import { d as Zt, e as Bn, f as _o, h as Do, j as Nn, k as Vo, c as Ko } from "./cloneDeep-
|
|
6
|
+
import { u as bo } from "./login-DnBDEGHt.js";
|
|
7
|
+
import { S as Yt, i as In, c as Mt, t as Mn, d as Wt, f as yo, g as ie, h as Gt, j as tt, k as fe, m as Ee, n as Xe, o as An, p as ve, q as Eo, s as So, v as wo, w as Co, x as ke, y as xe, z as Be, _ as Le, A as he, V as To, B as ko, C as Io, D as Mo, F as se, N as Ye, G as Ao, H as Je, I as xn, J as At, K as xo, L as mt, O as Bo, P as jt, Q as No, R as qt, T as Ro, U as Lo, W as Oo, X as Fo, Y as Po, Z as Ho, $ as Xt, a0 as Jt, a1 as $o } from "./index-D_JFO4Ed.js";
|
|
8
|
+
import { m as zo, E as Me } from "./request-RC5ET7Nr.js";
|
|
9
|
+
import { d as Zt, e as Bn, f as _o, h as Do, j as Nn, k as Vo, c as Ko } from "./cloneDeep-Cm2ut66T.js";
|
|
10
10
|
import { i as Rn } from "./isNil-CjWwlQS3.js";
|
|
11
11
|
function Uo(e) {
|
|
12
12
|
return e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),q=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),q=require("./index-BaSc02sA.cjs"),y=require("./index-dm-zOhNm.cjs"),m=require("./index-Cxz9ADeg.cjs"),r=require("./menu-CxtX8L48.cjs"),x=require("./modelComp-BQutSX47.cjs"),P=require("vue-router"),S=require("./cloneDeep-B6Av9vYT.cjs"),k=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),M={class:"role-wrapper"},N=n.defineComponent({__name:"index",setup(w){const g=r.useMenuState(),{activeMenuPath:h}=r.storeToRefs(g),s=x.useModelComp(),{itemData:D}=r.storeToRefs(s),_=P.useRoute(),e=n.reactive({...m.State});return n.onMounted(()=>{m.getModelSecretAsync();const c=S.cloneDeep(D.value),l={comp:"Group",name:_.path,compData:e.pageData};if(s.setItemData([...c,l]),h.value){e.refreshUserTableData();const C=e.getPageDataAsync("/role"),f=e.getPageDataAsync("/dept");Promise.all([C,f]).then(o=>{var u,i,p;const v=(u=o==null?void 0:o[0])==null?void 0:u.map(t=>({label:t.roleName,value:t.roleName})),b=(i=o==null?void 0:o[1])==null?void 0:i.map(t=>({label:t.deptName,value:t.deptName}));e.pageData=(p=e.pageData)==null?void 0:p.map(t=>{var d;return t.key==="header"?{...t,contents:(d=t.contents)==null?void 0:d.map(a=>a.label==="所属机构"?{...a,options:b}:a.label==="角色"?{...a,options:v}:a)}:t})})}}),(c,l)=>(n.openBlock(),n.createElementBlock("div",M,[n.createVNode(q.ssForm,{class:"role-header",rowContents:e.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:e.handleQueryChange},null,8,["rowContents","onChange"]),n.createVNode(y.ssTable,{class:"role-body",itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]))}}),R=k._export_sfc(N,[["__scopeId","data-v-81d36540"]]);exports.default=R;
|
|
@@ -6017,12 +6017,12 @@ const I9 = N4(P, "$notify"), D9 = [
|
|
|
6017
6017
|
{
|
|
6018
6018
|
path: "/login",
|
|
6019
6019
|
name: "Login",
|
|
6020
|
-
component: async () => import("./index-
|
|
6020
|
+
component: async () => import("./index-CtTbyHOu.js")
|
|
6021
6021
|
},
|
|
6022
6022
|
{
|
|
6023
6023
|
path: "/",
|
|
6024
6024
|
name: "Model",
|
|
6025
|
-
component: async () => import("./index-
|
|
6025
|
+
component: async () => import("./index-BQK2DuaH.js"),
|
|
6026
6026
|
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
6027
6027
|
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
6028
6028
|
// component: async ()=>import('@/components/views/test/index.vue'),
|
|
@@ -6030,27 +6030,27 @@ const I9 = N4(P, "$notify"), D9 = [
|
|
|
6030
6030
|
{
|
|
6031
6031
|
path: "personalCenter",
|
|
6032
6032
|
name: "PersonalCenter",
|
|
6033
|
-
component: async () => import("./index-
|
|
6033
|
+
component: async () => import("./index-D-6CVrZh.js")
|
|
6034
6034
|
},
|
|
6035
6035
|
{
|
|
6036
6036
|
path: "post",
|
|
6037
6037
|
name: "Post",
|
|
6038
|
-
component: async () => import("./index-
|
|
6038
|
+
component: async () => import("./index-BlNU-ya_.js")
|
|
6039
6039
|
},
|
|
6040
6040
|
{
|
|
6041
6041
|
path: "user",
|
|
6042
6042
|
name: "User",
|
|
6043
|
-
component: async () => import("./index-
|
|
6043
|
+
component: async () => import("./index-DqOy9nnX.js")
|
|
6044
6044
|
},
|
|
6045
6045
|
{
|
|
6046
6046
|
path: "role",
|
|
6047
6047
|
name: "Role",
|
|
6048
|
-
component: async () => import("./index-
|
|
6048
|
+
component: async () => import("./index-ODNyDte9.js")
|
|
6049
6049
|
},
|
|
6050
6050
|
{
|
|
6051
6051
|
path: "dept",
|
|
6052
6052
|
name: "Dept",
|
|
6053
|
-
component: async () => import("./index-
|
|
6053
|
+
component: async () => import("./index-DcuEMWMM.js")
|
|
6054
6054
|
},
|
|
6055
6055
|
{
|
|
6056
6056
|
path: "priority",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as g, defineComponent as y, reactive as f, onMounted as D, createElementBlock as h, openBlock as C, createVNode as d } from "vue";
|
|
2
|
-
import { s as _ } from "./index-
|
|
3
|
-
import { s as v } from "./index-
|
|
4
|
-
import { g as k } from "./index-
|
|
5
|
-
import { s as w, h as S } from "./index-
|
|
2
|
+
import { s as _ } from "./index-DoHr_nug.js";
|
|
3
|
+
import { s as v } from "./index-Bel0p329.js";
|
|
4
|
+
import { g as k } from "./index-BH36LQch.js";
|
|
5
|
+
import { s as w, h as S } from "./index-DORM2j0-.js";
|
|
6
6
|
import { useRoute as I } from "vue-router";
|
|
7
7
|
import { u as x } from "./modelComp-CP-waker.js";
|
|
8
8
|
import { s as b, u as A } from "./menu-XcYMZJLY.js";
|
|
9
|
-
import { c as B } from "./cloneDeep-
|
|
9
|
+
import { c as B } from "./cloneDeep-Cm2ut66T.js";
|
|
10
10
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const M = g([
|
|
12
12
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const h=require("./menu-CxtX8L48.cjs"),d=require("./request-
|
|
1
|
+
"use strict";const h=require("./menu-CxtX8L48.cjs"),d=require("./request-BId7xEpo.cjs"),w=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,O=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,$=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function E(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){P(e);return}return t}function P(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function z(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!$.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(w.test(e)||O.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,E)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function F(e,t){if(e==null)return;let r=e;for(let n=0;n<t.length;n++){if(r==null||r[t[n]]==null)return;r=r[t[n]]}return r}function p(e,t,r){if(r.length===0)return t;const n=r[0];return r.length>1&&(t=p(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,n)?Number.isInteger(Number(r[1]))?[]:{}:e[n],t,Array.prototype.slice.call(r,1))),Number.isInteger(Number(n))&&Array.isArray(e)?e.slice()[n]:Object.assign({},e,{[n]:t})}function A(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const r={};for(const n in e)r[n]=e[n];return delete r[t[0]],r}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const r={};for(const n in e)r[n]=e[n];return r}return p(e,A(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function N(e,t){return t.map(r=>r.split(".")).map(r=>[r,F(e,r)]).filter(r=>r[1]!==void 0).reduce((r,n)=>p(r,n[1],n[0]),{})}function D(e,t){return t.map(r=>r.split(".")).reduce((r,n)=>A(r,n),e)}function m(e,{storage:t,serializer:r,key:n,debug:s,pick:u,omit:a,beforeHydrate:o,afterHydrate:i},c,f=!0){try{f&&(o==null||o(c));const l=t.getItem(n);if(l){const g=r.deserialize(l),y=u?N(g,u):g,_=a?D(y,a):y;e.$patch(_)}f&&(i==null||i(c))}catch(l){s&&console.error("[pinia-plugin-persistedstate]",l)}}function I(e,{storage:t,serializer:r,key:n,debug:s,pick:u,omit:a}){try{const o=u?N(e,u):e,i=a?D(o,a):o,c=r.serialize(i);t.setItem(n,c)}catch(o){s&&console.error("[pinia-plugin-persistedstate]",o)}}function k(e,t,r){const{pinia:n,store:s,options:{persist:u=r}}=e;if(!u)return;if(!(s.$id in n.state.value)){const i=n._s.get(s.$id.replace("__hot:",""));i&&Promise.resolve().then(()=>i.$persist());return}const o=(Array.isArray(u)?u:u===!0?[{}]:[u]).map(t);s.$hydrate=({runHooks:i=!0}={})=>{o.forEach(c=>{m(s,c,e,i)})},s.$persist=()=>{o.forEach(i=>{I(s.$state,i)})},o.forEach(i=>{m(s,i,e),s.$subscribe((c,f)=>I(f,i),{detached:!0})})}function J(e={}){return function(t){k(t,r=>({key:(e.key?e.key:n=>n)(r.key??t.store.$id),debug:r.debug??e.debug??!1,serializer:r.serializer??e.serializer??{serialize:n=>JSON.stringify(n),deserialize:n=>z(n)},storage:r.storage??e.storage??window.localStorage,beforeHydrate:r.beforeHydrate,afterHydrate:r.afterHydrate,pick:r.pick,omit:r.omit}),e.auto??!1)}}var T=J();const S=h.createPinia();S.use(T);function q(e){return d.service({url:"/api/insofData/add",method:"post",data:e})}function x(e){return d.service({url:"/api/insofData/get",method:"post",data:e})}function R(e){return d.service({url:"/api/insofData/update",method:"post",data:e})}function C(e){return d.service({url:"/api/insofData/delete",method:"post",data:e})}exports.createInsofDataApi=q;exports.deleteInsofDataApi=C;exports.getInsofDataApi=x;exports.pinia=S;exports.updateInsofDataApi=R;
|