ss-component-new 1.1.619 → 1.1.621
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-Bq7cMxbK.cjs → array-B_wsE8_t.cjs} +1 -1
- package/dist/{array-D4dLF1xj.js → array-VzXJcPjW.js} +1 -1
- package/dist/icons/svg/editTable.svg +1 -0
- package/dist/icons/svg/readTable.svg +1 -0
- package/dist/icons/svg/rowCreate.svg +1 -0
- package/dist/{index-DhvQs7gl.js → index-B4fU_Oqr.js} +1 -1
- package/dist/{index-BNkI-J2e.cjs → index-B6McL4Y5.cjs} +1 -1
- package/dist/{index-CM7xxfrM.cjs → index-B6QTa9We.cjs} +1 -1
- package/dist/{index-DDcGWP6y.js → index-BFWDxfM0.js} +5322 -5266
- package/dist/{index-DaOakrcL.js → index-BHxSsIXo.js} +1 -1
- package/dist/{index-BpKdQbsx.js → index-BLUSTZzG.js} +5 -5
- package/dist/{index-CEHOj8ds.js → index-BS0NY42k.js} +3 -3
- package/dist/{index-FXMPSbp7.cjs → index-BdAqAS8j.cjs} +1 -1
- package/dist/{index-DmRE2cVC.cjs → index-BmcZxive.cjs} +1 -1
- package/dist/{index-DXkSDTRj.cjs → index-BwU7Nmc_.cjs} +1 -1
- package/dist/{index-Dtez5g70.cjs → index-By4IZGWU.cjs} +1 -1
- package/dist/{index-CfcFMIgE.js → index-C2T-nUxf.js} +3 -3
- package/dist/{index-BhLxpb5q.js → index-CEcr_wVS.js} +6 -6
- package/dist/{index-bHS30Ndo.js → index-CMgvFfxY.js} +5 -5
- package/dist/{index-DAKLvVXN.js → index-CMwn0ZEb.js} +3 -3
- package/dist/{index-CpLqSPMr.cjs → index-COcl6KL3.cjs} +1 -1
- package/dist/{index-BoNr-Sd6.js → index-CPeCOE_d.js} +5259 -5229
- package/dist/{index-CZ89rQnr.cjs → index-CW1zJWa7.cjs} +1 -1
- package/dist/{index-CrPT5Hoz.cjs → index-CX298lYO.cjs} +1 -1
- package/dist/{index-CsCDreKP.cjs → index-CeD_uFzd.cjs} +1 -1
- package/dist/{index-DnNBgaDj.js → index-CgHGkDUQ.js} +4 -4
- package/dist/{index-DaBCF0Nd.js → index-Crd7Dg0j.js} +1 -1
- package/dist/{index-gdgEp7uV.js → index-Cz_YKerb.js} +14 -14
- package/dist/{index-BbW8EtPG.js → index-D1eHyt-Y.js} +8 -8
- package/dist/{index-BeXlcI9i.cjs → index-D5P_BYL7.cjs} +1 -1
- package/dist/{index-DxrHtk8v.cjs → index-D8su61We.cjs} +1 -1
- package/dist/{index-BpsIiZ7S.cjs → index-DE4qOxcb.cjs} +1 -1
- package/dist/{index-D3AT3gF-.js → index-DKoGXjoD.js} +4 -4
- package/dist/{index-f8bHzA1N.js → index-DTtCq9R6.js} +3 -3
- package/dist/{index-pyP2yPmF.js → index-DUyXqunV.js} +8 -8
- package/dist/{index-BNX_RWaL.js → index-DbxbzUiK.js} +4 -4
- package/dist/{index-C_0I-i8V.cjs → index-DecdMM1v.cjs} +1 -1
- package/dist/{index-BFuX2G8I.js → index-DfQCPyug.js} +4 -4
- package/dist/{index-BFELXxoC.js → index-DivndMew.js} +1 -1
- package/dist/index-Dmc9yBFD.cjs +15 -0
- package/dist/{index-FLKaEf78.cjs → index-DnY817qu.cjs} +1 -1
- package/dist/{index-BqZfdFEg.js → index-JuKGX07D.js} +5 -5
- package/dist/{index-Cbht3RG4.cjs → index-MSj62TUk.cjs} +1 -1
- package/dist/{index-BjueKTcK.cjs → index-Noso3rqY.cjs} +1 -1
- package/dist/{index-CWhy_Io_.cjs → index-OUcbra1H.cjs} +1 -1
- package/dist/{index-DTCQ-wFV.cjs → index-YTvm8Dyq.cjs} +1 -1
- package/dist/index-aptPIfv7.cjs +4207 -0
- package/dist/{index-CfpRAxJB.js → index-boQYixno.js} +2 -2
- package/dist/{index-BHPyp0hU.js → index-cwNAtWkQ.js} +4 -4
- package/dist/{index-WwP4JICq.cjs → index-kLzEx5xq.cjs} +1 -1
- package/dist/{index-CupbZVTS.js → index-r5L5PJP9.js} +4 -4
- package/dist/{index-DC74TF_q.cjs → index-rBRZ7zGU.cjs} +1 -1
- package/dist/{index-BjJGt5n9.js → index-twApCU3A.js} +1 -1
- package/dist/{index-BpUTBz77.cjs → index-tyYdP21K.cjs} +1 -1
- package/dist/{index-C-AfxANM.cjs → index-ugVCM2_1.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-6ThktX0W.js → index.vue_vue_type_script_setup_true_lang-BH9_Te0S.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-D2XdpbX2.cjs → index.vue_vue_type_script_setup_true_lang-at_JPyg5.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Ce-Qmyx6.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Br0-XuvP.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CCe3D1Fi.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CZZJYhO9.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-D5Bmiomk.js → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-CHdL2mdi.js} +235 -235
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DUnmQvPK.cjs → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DtoHG_C9.cjs} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-BHrALHze.cjs → index.vue_vue_type_style_index_0_scoped_57a7854d_lang-BmbIlTnn.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-BxWFTucV.js → index.vue_vue_type_style_index_0_scoped_57a7854d_lang-CZvlVQ3K.js} +8 -8
- package/dist/{login--G67Cn_f.cjs → login-C7jVTvUQ.cjs} +1 -1
- package/dist/{login-C8DAyy2e.js → login-wUTWXQ7u.js} +1 -1
- package/dist/{main-D6VhEWlV.js → main-DZAZF0E8.js} +5 -5
- package/dist/{main-BvVe_CBg.cjs → main-MdhpVHXc.cjs} +1 -1
- package/dist/{menu-B98fDP-p.cjs → menu-CcabvNj6.cjs} +10 -10
- package/dist/{menu-DArqZlON.js → menu-wif0xsml.js} +4878 -4878
- package/dist/modelComp-B8kjqlTY.cjs +1 -0
- package/dist/{modelComp-6AqovLWA.js → modelComp-bhPfLPDx.js} +6 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-BXCCNMoU.cjs → threeModel-BRkJrghm.cjs} +1 -1
- package/dist/{threeModel-D1NbQhLh.js → threeModel-C2biL1qd.js} +2 -2
- package/package.json +1 -1
- package/public/icons/svg/editTable.svg +1 -0
- package/public/icons/svg/readTable.svg +1 -0
- package/public/icons/svg/rowCreate.svg +1 -0
- package/dist/index-CewlNEjY.cjs +0 -15
- package/dist/index-DY-oa5G1.cjs +0 -4207
- package/dist/modelComp-RmvEs7pM.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-BdAqAS8j.cjs"),_=require("./index-aptPIfv7.cjs"),u=require("./index-Dmc9yBFD.cjs"),i=require("./menu-CcabvNj6.cjs"),h=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={class:"menu-module"},f={class:"table-wrap","element-loading-text":"加载中..."},k={class:"module-dialog-default"},v=e.defineComponent({__name:"index",setup(w){const t=e.reactive({...p.State}),a=e.ref(null),c=i.useMenuState(i.pinia),{configMenu:n}=i.storeToRefs(c);return e.onMounted(()=>{var r;t.formatFormData(n.value),e.nextTick(()=>{var o,l;(l=a.value)==null||l.setCurrentKey((o=n.value)==null?void 0:o.path),c.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((r=n.value)==null?void 0:r.path)}),(r,o)=>{const l=e.resolveComponent("el-tree"),s=e.resolveComponent("el-splitter-panel"),g=e.resolveComponent("el-splitter"),d=e.resolveComponent("el-button"),m=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",C,[e.createVNode(g,null,{default:e.withCtx(()=>[e.createVNode(s,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(l,{ref_key:"treeRef",ref:a,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(s,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",f,[e.createVNode(_.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[m,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(u.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",k,[e.createVNode(u.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(d,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(d,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),x=h._export_sfc(v,[["__scopeId","data-v-74868a06"]]);exports.default=x;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
-
import { c as J, s as be, g as U, u as he, E as S, p as $, bO as ae, bM as oe, bP as Ce, f as Ie } from "./menu-
|
|
3
|
-
import { u as ke } from "./modelComp-
|
|
4
|
-
import { u as Te } from "./index-
|
|
5
|
-
import { f as Me } from "./index-
|
|
6
|
-
import { a as Se } from "./login-
|
|
2
|
+
import { c as J, s as be, g as U, u as he, E as S, p as $, bO as ae, bM as oe, bP as Ce, f as Ie } from "./menu-wif0xsml.js";
|
|
3
|
+
import { u as ke } from "./modelComp-bhPfLPDx.js";
|
|
4
|
+
import { u as Te } from "./index-BFWDxfM0.js";
|
|
5
|
+
import { f as Me } from "./index-r5L5PJP9.js";
|
|
6
|
+
import { a as Se } from "./login-wUTWXQ7u.js";
|
|
7
7
|
const F = ke($), ne = Te($), C = he($), { menus: ue, configMenu: O, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = j(() => {
|
|
8
8
|
var e, t;
|
|
9
9
|
return [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),l=require("./menu-
|
|
1
|
+
"use strict";const t=require("vue"),l=require("./menu-CcabvNj6.cjs");function ft(e){return e}function rn(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 an=800,sn=16,ln=Date.now;function un(e){var n=0,o=0;return function(){var r=ln(),a=sn-(r-o);if(o=r,a>0){if(++n>=an)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function cn(e){return function(){return e}}var dn=l.defineProperty?function(e,n){return l.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:cn(n),writable:!0})}:ft,pt=un(dn),qe=Math.max;function vt(e,n,o){return n=qe(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=qe(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),rn(e,this,u)}}var Xe=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function fn(e){return l.isArray(e)||l.isArguments(e)||!!(Xe&&e&&e[Xe])}function Ae(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=fn),a||(a=[]);++s<i;){var u=e[s];n>0&&o(u)?n>1?Ae(u,n-1,o,r,a):l.arrayPush(a,u):r||(a[a.length]=u)}return a}function mt(e){var n=e==null?0:e.length;return n?Ae(e,1):[]}function ht(e){return pt(vt(e,void 0,mt),e+"")}function pn(e,n){return e!=null&&n in Object(e)}function vn(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&&l.isLength(a)&&l.isIndex(i,a)&&(l.isArray(e)||l.isArguments(e)))}function gt(e,n){return e!=null&&vn(e,n,pn)}function mn(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)&&l.baseSet(s,l.castPath(i,e),u)}return s}function hn(e,n){return mn(e,n,function(o,r){return gt(e,r)})}var bt=ht(function(e,n){return e==null?{}:hn(e,n)});const fe="update:modelValue",Te="change",Be="input";function gn(e,n,o,r){const a=o-n;return e/=r/2,e<1?a/2*e*e*e+n:a/2*((e-=2)*e*e+2)+n}const yt=e=>l.isClient?window.requestAnimationFrame(e):setTimeout(e,16),Et=e=>l.isClient?window.cancelAnimationFrame(e):clearTimeout(e),bn=(e,n)=>{if(!l.isClient)return!1;const o={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(n)],r=l.getStyle(e,o);return["scroll","auto","overlay"].some(a=>r.includes(a))},yn=(e,n)=>{if(!l.isClient)return;let o=e;for(;o;){if([window,document,document.documentElement].includes(o))return window;if(bn(o,n))return o;o=o.parentNode}return o};let se;const Ct=e=>{var n;if(!l.isClient)return 0;if(se!==void 0)return se;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),se=r-s,se};function En(e,n){if(!l.isClient)return;if(!n){e.scrollTop=0;return}const o=[];let r=n.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)o.push(r),r=r.offsetParent;const a=n.offsetTop+o.reduce((p,d)=>p+d.offsetTop,0),s=a+n.offsetHeight,i=e.scrollTop,u=i+e.clientHeight;a<i?e.scrollTop=a:s>u&&(e.scrollTop=s-e.clientHeight)}function Cn(e,n,o,r,a){const s=Date.now();let i;const u=()=>{const d=Date.now()-s,g=gn(d>r?r:d,n,o,r);l.isWindow(e)?e.scrollTo(window.pageXOffset,g):e.scrollTop=g,d<r?i=yt(u):l.isFunction$1(a)&&a()};return u(),()=>{i&&Et(i)}}const wn=(e,n)=>l.isWindow(n)?e.ownerDocument.documentElement:n,Sn=e=>l.isWindow(e)?window.scrollY:e.scrollTop,wt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const kn={height:"0",visibility:"hidden",overflow:wt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Tn=["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 Bn(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:Tn.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Je(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Bn(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(kn).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 Nn=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),St=e=>bt(Nn,e),kt=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:()=>l.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...St(["ariaLabel"])}),In={[fe]: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},xn=["class","style"],Mn=/^on[A-Z]/,Tt=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(xn)),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&&Mn.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},Ne={prefix:Math.floor(Math.random()*1e4),current:0},An=Symbol("elIdInjection"),Bt=()=>t.getCurrentInstance()?t.inject(An,Ne):Ne,pe=e=>{const n=Bt();!l.isClient&&n===Ne&&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,
|