ss-component-new 1.1.401 → 1.1.402
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-nI11tFY7.js → array-8lXzP3Oa.js} +2 -2
- package/dist/{array-CvNDVSIm.cjs → array-BDS3aai0.cjs} +1 -1
- package/dist/{index-kLM5_jna.cjs → index--ph08_ZR.cjs} +1 -1
- package/dist/{index-C0LsYfTZ.cjs → index-B-WoFTYh.cjs} +2 -2
- package/dist/{index-BtaACMRi.cjs → index-B-k-BnbC.cjs} +1 -1
- package/dist/index-B1GoYVQa.cjs +1 -0
- package/dist/{index-B13skoRw.js → index-B8GIT0hN.js} +5 -5
- package/dist/{index-Ctb2Pr3Q.js → index-BOvltwWF.js} +1 -1
- package/dist/{index-Die-NYPf.js → index-BUKnaSEP.js} +5 -5
- package/dist/{index-BjZi18LH.js → index-BagZzu6p.js} +9 -9
- package/dist/{index-C_rYrkFD.js → index-BePsuMkH.js} +7 -7
- package/dist/{index-Ct_VHOpm.js → index-Bn95cqrG.js} +3 -3
- package/dist/{index-BRwzrdFG.js → index-BochF1HQ.js} +461 -458
- package/dist/{index-CulQGzM7.cjs → index-Brwyptk1.cjs} +1 -1
- package/dist/{index-BRqE3XtR.js → index-BtIcDHbX.js} +3 -3
- package/dist/{index-DEEAXYfE.js → index-Btp0-NR_.js} +7 -7
- package/dist/{index-BcIotcWy.cjs → index-BuGupwSd.cjs} +1 -1
- package/dist/{index-D942HlwZ.js → index-BuJwn_Lt.js} +4 -4
- package/dist/{index-A9HYvWOL.cjs → index-Bvys-LNm.cjs} +1 -1
- package/dist/{index-DjD22yFw.cjs → index-Bx_WaJCq.cjs} +1 -1
- package/dist/{index-PCuz0w8K.js → index-ByZ4KsR3.js} +6 -6
- package/dist/{index-7h3Q0Iph.js → index-CH2kImo6.js} +359 -359
- package/dist/{index-Bn0sCJKU.cjs → index-CLex_4Jb.cjs} +1 -1
- package/dist/{index-BtI00kgS.cjs → index-CNgUzVdJ.cjs} +1 -1
- package/dist/{index-BvJD2kXW.cjs → index-CjNY8OSy.cjs} +1 -1
- package/dist/{index-DES6dF8u.cjs → index-CmOyXNOv.cjs} +1 -1
- package/dist/{index-9HIjEgTo.cjs → index-CxjbXK-o.cjs} +1 -1
- package/dist/{index-Db974IG7.js → index-CzfpInCW.js} +6 -6
- package/dist/{index-UzzovgPA.js → index-D0u9YecS.js} +1 -1
- package/dist/{index-FreET2e1.cjs → index-DDLQ2cxG.cjs} +1 -1
- package/dist/{index-BN1ZV90r.js → index-DIynIRv_.js} +4 -4
- package/dist/{index-BiE5zcdU.js → index-DO_FH8U9.js} +9 -9
- package/dist/{index-CB3_I7ax.cjs → index-DRQaPnRz.cjs} +1 -1
- package/dist/{index-BbEeBRH5.js → index-DV1_dtPV.js} +1 -1
- package/dist/{index-DMQNRzXe.cjs → index-DWudNkib.cjs} +1 -1
- package/dist/{index-Dpg3KCrH.cjs → index-DgWGY6rU.cjs} +1 -1
- package/dist/{index-OFfExdPS.js → index-DhlsCYbc.js} +4 -4
- package/dist/{index-CdcxRThd.js → index-DuHEQx8F.js} +3 -3
- package/dist/{index-DkDn29YT.cjs → index-DyHbztYM.cjs} +1 -1
- package/dist/{index-DUIV0rNI.cjs → index-IHBVKKqf.cjs} +1 -1
- package/dist/index-JYy9zyCo.cjs +1 -0
- package/dist/{index-CV7z3l0T.js → index-Kky6qk6y.js} +5 -5
- package/dist/{index-CaCGgNnG.cjs → index-N3l4V2Ph.cjs} +1 -1
- package/dist/{index-C4Hqa4iF.js → index-NfgOX2R7.js} +7 -7
- package/dist/{index-bidaodRn.js → index-QXZaIo5S.js} +2 -2
- package/dist/{index-B2gn47wn.cjs → index-XhgdCXZS.cjs} +1 -1
- package/dist/{index-BMHKKqv-.js → index-bVkzb9Sy.js} +4 -4
- package/dist/{index-CRsZDMht.js → index-bnboWxey.js} +1 -1
- package/dist/{index-ByJ4Gxvi.cjs → index-hnO_NhVa.cjs} +1 -1
- package/dist/{index-CysPc-nO.js → index-piJWl5b2.js} +1006 -1000
- package/dist/{index-Cyil9HSX.cjs → index-raQwXjkL.cjs} +1 -1
- package/dist/{index-C7GPcgvX.cjs → index-wBJhPYQH.cjs} +1 -1
- package/dist/{index-DWgyxQXK.cjs → index-wCvQNdnW.cjs} +1 -1
- package/dist/{index-g89B5xUY.js → index-xOU_6Fdn.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-B_LsK5-Z.js → index.vue_vue_type_script_setup_true_lang-Dooh20EH.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-DLoA9BaR.cjs → index.vue_vue_type_script_setup_true_lang-DwbA-ZQu.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C2bA8Lj7.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DHybSdlr.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CU--1Zy_.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GgChFXxK.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-B_YphPLK.cjs → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-D8TOi-wA.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-DCkMNfb1.js → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-cVwA5q5z.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DXPtzj1x.js → index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-2Nz71ikS.js} +15 -15
- package/dist/{index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CvOwIvQH.cjs → index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-C-d8XN4F.cjs} +1 -1
- package/dist/{login-BYQKfCsc.js → login-Bux_-K9J.js} +1 -1
- package/dist/{login-FuzdrCnH.cjs → login-zaDK0VdZ.cjs} +1 -1
- package/dist/{main-BHXbnK9h.js → main-28_1zDTX.js} +6 -6
- package/dist/{main-BRbQMWjD.cjs → main-BB-BJ6EV.cjs} +1 -1
- package/dist/{menu-juPfCOW7.js → menu-CMFwisaq.js} +1 -1
- package/dist/{menu-D0Sw7vWo.cjs → menu-q5xpYrZn.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +10 -10
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-BCvGxOp-.js → threeModel-BxzKdpuZ.js} +2 -2
- package/dist/{threeModel-CfLGJ91B.cjs → threeModel-Cwb5sw9P.cjs} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_73f3f775_lang-BOYNQRCf.cjs → threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-BYm11dA-.cjs} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_73f3f775_lang-JyGsx0e4.js → threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-Crq9Zc_8.js} +2 -2
- package/package.json +1 -1
- package/dist/index-CnqZ6E1r.cjs +0 -1
- package/dist/index-mmWNpPx0.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),B=require("./index
|
|
1
|
+
"use strict";const e=require("vue"),B=require("./index--ph08_ZR.cjs"),k=require("./menu-q5xpYrZn.cjs"),y=require("./threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-BYm11dA-.cjs");require("./array-BDS3aai0.cjs");const V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DHybSdlr.cjs"),F=require("./index-C31XRLFj.cjs"),O=require("./index-B-WoFTYh.cjs"),R=require("./index-BuGupwSd.cjs"),b={class:"type-select"},L=["onClick"],U={class:"list-icon"},z={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i}=k.storeToRefs(m),C=v=>{const d=_.cloneDeep(i.value);d.push({comp:v.comp,name:v.name,compData:[]}),m.setItemData(d)};return(v,d)=>{const s=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",b,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(B.slotContent),(f,u)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:u},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(f)},[e.createElementVNode("div",U,[e.createVNode(s,{name:f.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(f.name),1)],8,L)]))),128))])}}},H=V._export_sfc(z,[["__scopeId","data-v-1f87163f"]]),j={class:"fill-content"},A={class:"operate-content"},G={class:"collapse-title-content"},J={class:"collapse-title-item"},K={key:1},P=["onClick"],Q={class:"icon-content"},W={key:0,class:"edit-content"},X=["onClick"],Y={class:"comp-child"},Z={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i,originalData:C}=k.storeToRefs(m),v=e.ref([]);e.ref([]);const d=e.ref([]),s=e.ref([]),f=a=>{var n;let c=(n=_.cloneDeep(s.value))==null?void 0:n.map((t,o)=>(a===o&&(t.content=!0),t));s.value=c},u=a=>{var n;let c=(n=_.cloneDeep(s.value))==null?void 0:n.map((t,o)=>(a===o&&(t.content=!1),t));s.value=c,v.value=_.cloneDeep(i.value)},g=(a,c)=>{var h;let n=(h=_.cloneDeep(s.value))==null?void 0:h.map((l,p)=>(a===p&&(l.content=!1),l));s.value=n;const t=_.cloneDeep(i.value),o=t==null?void 0:t.filter((l,p)=>(p===a&&(l.name=c),l));m.setOriginalData(o),m.setItemData(o)};e.watch(()=>i.value,()=>{var a,c,n;!i.value||((a=i.value)==null?void 0:a.length)===0?v.value=[]:v.value=(c=_.cloneDeep(i.value))==null?void 0:c.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),d.value=v.value,s.value=(n=_.cloneDeep(d.value))==null?void 0:n.map((t,o)=>({id:o,content:!1}))},{deep:!0,immediate:!0});const S=a=>B.getComponent(a),q=(a,c,n)=>{var o,h;if(!a)return;let t=_.cloneDeep(i.value);t=(o=t==null?void 0:t.map((l,p)=>(p===n&&(l.compData=a),l)))==null?void 0:o.filter(l=>(l==null?void 0:l.comp)!=="methodButton"),s.value=(h=_.cloneDeep(t))==null?void 0:h.map((l,p)=>({id:p,content:!1})),m.setOriginalData(t),m.setItemData(t)},T=a=>{R.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const c=_.cloneDeep(i.value),n=c==null?void 0:c.filter((t,o)=>o!==a);m.setOriginalData(n),m.setItemData(n),k.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(a,c)=>{const n=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",j,[c[1]||(c[1]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",A,[e.createVNode(F.default,{class:"collapse-content",collapseContents:v.value},{title:e.withCtx(({item:t,index:o})=>{var h,l,p,D,N,x,w,$,I,M;return[e.createElementVNode("div",G,[e.createElementVNode("div",J,[(l=(h=s.value)==null?void 0:h.find(r=>r.id===o))!=null&&l.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:t.name&&t.name!==""?"8px":"0px"})},e.toDisplayString(t.name),5)),(D=(p=s.value)==null?void 0:p.find(r=>r.id===o))!=null&&D.content?(e.openBlock(),e.createElementBlock("div",K,[e.createVNode(O._sfc_main$1,{modelValue:t.name,"onUpdate:modelValue":r=>t.name=r,onClick:c[0]||(c[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(x=(N=s.value)==null?void 0:N.find(r=>r.id===o))!=null&&x.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(r=>f(o),["stop"]),class:"icon-content"},[e.createVNode(n,{name:"Edit",style:{width:"16px",height:"16px"}})],8,P))]),e.createElementVNode("div",Q,[($=(w=s.value)==null?void 0:w.find(r=>r.id===o))!=null&&$.content?(e.openBlock(),e.createElementBlock("div",W,[e.createVNode(n,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(r=>u(o),["stop"])},null,8,["onClick"]),e.createVNode(n,{name:"Save",onClick:e.withModifiers(r=>g(o,t.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(M=(I=s.value)==null?void 0:I.find(r=>r.id===o))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(r=>T(o),["stop"]),class:"icon-content"},[e.createVNode(n,{name:"Delete",style:{width:"16px",height:"16px"}})],8,X))])])]}),content:e.withCtx(({item:t,index:o})=>{var h,l;return[e.createElementVNode("div",Y,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S(t.comp+"Operate")),{itemContents:t==null?void 0:t.compData,originalItemContents:(l=(h=d.value)==null?void 0:h.find((p,D)=>D===o))==null?void 0:l.compData,onChange:p=>q(p,t,o)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:1},8,["collapseContents"])])])}}},ee=V._export_sfc(Z,[["__scopeId","data-v-27bd1564"]]),te={key:0,class:"show-content"},oe={style:{display:"flex"}},ne={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i}=k.storeToRefs(m),C=e.ref([]);e.watch(()=>i.value,()=>{var d;!i.value||((d=i.value)==null?void 0:d.length)===0?C.value=[]:C.value=_.cloneDeep(i.value)},{deep:!0,immediate:!0});const v=d=>B.getComponent(d);return(d,s)=>{var f;return((f=C.value)==null?void 0:f.length)>0?(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:g},[e.createElementVNode("div",oe,e.toDisplayString(u.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(v(u.comp)),{itemData:u==null?void 0:u.compData,childItemData:u==null?void 0:u.itemChildData,key:g},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},le=V._export_sfc(ne,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ee;exports.modelSelect=H;exports.modelShow=le;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, ref as C, onMounted as _, createElementBlock as v, openBlock as D, createVNode as h } from "vue";
|
|
2
|
-
import { c, e as k, d as I, u as K, p as x, s as M, g as S } from "./menu-
|
|
3
|
-
import { v as T } from "./index-
|
|
4
|
-
import { c as y } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { c, e as k, d as I, u as K, p as x, s as M, g as S } from "./menu-CMFwisaq.js";
|
|
3
|
+
import { v as T } from "./index-BochF1HQ.js";
|
|
4
|
+
import { c as y } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GgChFXxK.js";
|
|
5
5
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const q = (a) => {
|
|
7
7
|
const s = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as xl, a as fl, g as rl, m as Dl, k as Il, n as Tl, o as $l, p as tl, q as El, r as Bl, s as Fl, v as Al } from "./index-
|
|
1
|
+
import { j as xl, a as fl, g as rl, m as Dl, k as Il, n as Tl, o as $l, p as tl, q as El, r as Bl, s as Fl, v as Al } from "./index-BochF1HQ.js";
|
|
2
2
|
import { ref as B, watch as De, createElementBlock as H, openBlock as R, createVNode as E, resolveComponent as ye, Fragment as be, renderList as _e, createElementVNode as f, createCommentVNode as Pe, toDisplayString as oe, withCtx as K, createBlock as ke, createTextVNode as fe, defineComponent as qe, reactive as nl, resolveDynamicComponent as Xe, computed as ol, renderSlot as Ye, createSlots as Sl, mergeProps as Ll, unref as Ol, normalizeStyle as Rl, withModifiers as Qe } from "vue";
|
|
3
|
-
import { f as ml, p as Ue, s as Je, E as Me, u as Vl, g as ll, b as cl } from "./menu-
|
|
4
|
-
import { b as Ee, s as Fe, c as hl, d as Nl, e as Pl, a as Ul } from "./index-
|
|
5
|
-
import { c as d, F as dl, b as Wl, d as xe, m as He, s as We, f as Ge, e as al } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { f as ml, p as Ue, s as Je, E as Me, u as Vl, g as ll, b as cl } from "./menu-CMFwisaq.js";
|
|
4
|
+
import { b as Ee, s as Fe, c as hl, d as Nl, e as Pl, a as Ul } from "./index-piJWl5b2.js";
|
|
5
|
+
import { c as d, F as dl, b as Wl, d as xe, m as He, s as We, f as Ge, e as al } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GgChFXxK.js";
|
|
6
6
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { E as Ke } from "./index-
|
|
8
|
-
import { u as yl } from "./threeModel.
|
|
9
|
-
import { s as jl, a as zl } from "./index-
|
|
7
|
+
import { E as Ke } from "./index-xOU_6Fdn.js";
|
|
8
|
+
import { u as yl } from "./threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-Crq9Zc_8.js";
|
|
9
|
+
import { s as jl, a as zl } from "./index-DhlsCYbc.js";
|
|
10
10
|
import Ml from "./index-CZtXRS3l.js";
|
|
11
11
|
const Kl = (k) => k.match(/\((.*)\)/)[1], Jl = ml("formComp", {
|
|
12
12
|
state: () => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),l=require("./index-
|
|
1
|
+
"use strict";const t=require("vue"),l=require("./index-B-k-BnbC.cjs"),Nt=require("./menu-q5xpYrZn.cjs"),_=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DHybSdlr.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-DwbA-ZQu.cjs");function It(e){return e}function xt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var Mt=800,At=16,Vt=Date.now;function Rt(e){var n=0,o=0;return function(){var r=Vt(),a=At-(r-o);if(o=r,a>0){if(++n>=Mt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Lt(e){return function(){return e}}var zt=_.defineProperty?function(e,n){return _.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Lt(n),writable:!0})}:It,Ot=Rt(zt),$e=Math.max;function Pt(e,n,o){return n=$e(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=$e(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),xt(e,this,u)}}var Ue=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function Ft(e){return l.isArray(e)||_.isArguments(e)||!!(Ue&&e&&e[Ue])}function _t(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=Ft),a||(a=[]);++s<i;){var u=e[s];o(u)?_.arrayPush(a,u):a[a.length]=u}return a}function Ht(e){var n=e==null?0:e.length;return n?_t(e):[]}function Dt(e){return Ot(Pt(e,void 0,Ht),e+"")}function $t(e,n){return e!=null&&n in Object(e)}function Ut(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&_.isLength(a)&&_.isIndex(i,a)&&(l.isArray(e)||_.isArguments(e)))}function Kt(e,n){return e!=null&&Ut(e,n,$t)}function Wt(e,n,o,r){if(!l.isObject$1(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var p=l.toKey(n[a]),d=o;if(p==="__proto__"||p==="constructor"||p==="prototype")return e;if(a!=i){var g=u[p];d=void 0,d===void 0&&(d=l.isObject$1(g)?g:_.isIndex(n[a+1])?[]:{})}_.assignValue(u,p,d),u=u[p]}return e}function Yt(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&Wt(s,l.castPath(i,e),u)}return s}function Gt(e,n){return Yt(e,n,function(o,r){return Kt(e,r)})}var jt=Dt(function(e,n){return e==null?{}:Gt(e,n)});const Ce="update:modelValue",Ke="change",We="input";let re;const qt=e=>{var n;if(!l.isClient)return 0;if(re!==void 0)return re;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),re=r-s,re},Xt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const Jt={height:"0",visibility:"hidden",overflow:Xt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Zt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Qt(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:Zt.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Ye(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Qt(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(Jt).forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S,"important")),M.value=e.value||e.placeholder||"";let p=M.scrollHeight;const d={};i==="border-box"?p=p+s:i==="content-box"&&(p=p-a),M.value="";const g=M.scrollHeight-a;if(l.isNumber(n)){let m=g*n;i==="border-box"&&(m=m+a+s),p=Math.max(m,p),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=g*o;i==="border-box"&&(m=m+a+s),p=Math.min(m,p)}return d.height=`${p}px`,(r=M.parentNode)==null||r.removeChild(M),M=void 0,d}const en=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),tn=e=>jt(en,e),nn=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Nt.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...tn(["ariaLabel"])}),on={[Ce]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rn=["class","style"],an=/^on[A-Z]/,sn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(rn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&an.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},we={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,we):we,Se=e=>{const n=un();!l.isClient&&n===we&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
2
2
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
3
3
|
prefix: number,
|
|
4
4
|
current: number,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as y, reactive as v, onMounted as w, watch as V, nextTick as S, resolveComponent as s, createElementBlock as f, openBlock as i, createVNode as r, withCtx as n, createElementVNode as h, toDisplayString as p, Fragment as M, renderList as z, createBlock as T, createTextVNode as _ } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import { c as A } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { u as N, s as R } from "./menu-
|
|
5
|
-
import { v as I } from "./index-
|
|
6
|
-
import { S as k } from "./index-
|
|
3
|
+
import { c as A } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GgChFXxK.js";
|
|
4
|
+
import { u as N, s as R } from "./menu-CMFwisaq.js";
|
|
5
|
+
import { v as I } from "./index-BochF1HQ.js";
|
|
6
|
+
import { S as k } from "./index-bVkzb9Sy.js";
|
|
7
7
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = { class: "role-wrapper" }, F = { class: "role-dialog-header" }, O = { class: "node-text" }, L = { class: "dialog-footer" }, P = /* @__PURE__ */ y({
|
|
9
9
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("vue"),c=require("./menu-
|
|
1
|
+
"use strict";const l=require("vue"),c=require("./menu-q5xpYrZn.cjs"),u=require("./index-DgWGY6rU.cjs"),g=require("./threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-BYm11dA-.cjs"),D=g.useModelComp(),{itemData:f}=c.storeToRefs(D),p=l.ref(0),i=l.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},s=l.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),h=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},k=async e=>{const t=await u.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var o;return{id:a.id,tableData:(o=a==null?void 0:a.value)==null?void 0:o.tableData}});return n==null?void 0:n.map(a=>{var o;if(Array.isArray(a==null?void 0:a.tableData)){let r={id:a.id};return(o=a==null?void 0:a.tableData)==null||o.forEach((y,d)=>{r[`a${d}`]=y}),r}else return{...a.tableData,id:a.id}})},b={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};l.watch(()=>f.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(s.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:h,handleQueryChange:_,onButtonClick:C,onDoubleClick:m,pageData:s,queryFormData:i,structureId:p,tempDeptPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempDeptPageData=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DHybSdlr.cjs");const n=require("./menu-q5xpYrZn.cjs"),c=require("./index-JYy9zyCo.cjs"),r=require("./index-DgWGY6rU.cjs"),u=require("./login-zaDK0VdZ.cjs"),i=require("./index-hnO_NhVa.cjs"),s=e.defineComponent({__name:"index",setup(l){const o=n.useMenuState(),{activeMenuPath:d}=n.storeToRefs(o),a=u.useLoginState(),t=e.reactive({...r.State});return e.onMounted(async()=>{a.getModelSecretAsync(),t.structureId=await i.getActivePageStructureId()}),(g,m)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(c.ssTable,{itemData:t.pageData,changedContent:t.changedRow,onChange:t.handleItemDataChange,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=s;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as b, computed as K, watch as D } from "vue";
|
|
2
|
-
import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-
|
|
3
|
-
import { a as F } from "./index-
|
|
2
|
+
import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-CMFwisaq.js";
|
|
3
|
+
import { a as F } from "./index-bVkzb9Sy.js";
|
|
4
4
|
import { d as S, i as I, e as C } from "./crypto-BRyGpjGR.js";
|
|
5
|
-
import { u as N } from "./login-
|
|
6
|
-
import { u as P } from "./threeModel.
|
|
7
|
-
import { E as w } from "./index-
|
|
8
|
-
import { c as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
5
|
+
import { u as N } from "./login-Bux_-K9J.js";
|
|
6
|
+
import { u as P } from "./threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-Crq9Zc_8.js";
|
|
7
|
+
import { E as w } from "./index-xOU_6Fdn.js";
|
|
8
|
+
import { c as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GgChFXxK.js";
|
|
9
9
|
const T = N(), { superAdminInfo: O, cryptoInfo: r } = f(T), U = E(), { activeMenuPath: i } = f(U), y = "123456", j = P(), { itemData: z } = f(j), g = b(0), L = b([
|
|
10
10
|
{
|
|
11
11
|
label: "用户名称",
|