ss-component-new 1.1.650 → 1.1.652

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 (48) hide show
  1. package/dist/{OrbitControls-_OchPPiM.js → OrbitControls-DQKCQqAM.js} +1 -1
  2. package/dist/{OrbitControls-Bg4B8Cgp.cjs → OrbitControls-RNnt_mcM.cjs} +1 -1
  3. package/dist/{index-BFEIlehR.js → index-4u-23Xo4.js} +473 -473
  4. package/dist/{index-Ek40M5wF.cjs → index-AQlYfiDo.cjs} +1 -1
  5. package/dist/{index-fonjRvDp.cjs → index-B5_rLo35.cjs} +1 -1
  6. package/dist/{index-DuJ88H2v.js → index-BblcmVmO.js} +1 -1
  7. package/dist/{index-C7_vKAdv.js → index-BtpXvIA6.js} +2 -2
  8. package/dist/{index-Dc1Oymj0.cjs → index-C0beLcSH.cjs} +1 -1
  9. package/dist/{index-99EALz1V.js → index-C3rKctcY.js} +1 -1
  10. package/dist/{index-RhyWQqr7.js → index-C42OOZRy.js} +1 -1
  11. package/dist/{index--CQAIixM.js → index-CGPCGRRh.js} +2 -2
  12. package/dist/{index-DB74RlFp.js → index-CYAUSnqq.js} +4 -4
  13. package/dist/{index-D6MYmUDV.js → index-Ce2J4d7D.js} +1 -1
  14. package/dist/{index-2tlC0WSo.js → index-CjMBj5BR.js} +1 -1
  15. package/dist/{index-Di7JB-TG.js → index-CoVdQV0i.js} +1 -1
  16. package/dist/{index-BUaCslMJ.js → index-Cz_HbE8e.js} +1 -1
  17. package/dist/{index-Dw_V6yKW.js → index-CzetAh_D.js} +1 -1
  18. package/dist/{index-Dr3CYkCo.js → index-D7YhWesS.js} +3 -3
  19. package/dist/{index-DWzq96q9.js → index-DA3sQfEs.js} +1 -1
  20. package/dist/{index-AJ-ERxfw.cjs → index-DDzG6c2B.cjs} +1 -1
  21. package/dist/{index-D0LMLPcN.cjs → index-DJVi8ojh.cjs} +1 -1
  22. package/dist/{index-BBS2a17j.cjs → index-DQKyxjSf.cjs} +1 -1
  23. package/dist/{index-Cgru6blF.cjs → index-DhtFD1-B.cjs} +1 -1
  24. package/dist/{index-mm1iZv-U.cjs → index-DkYoWwCG.cjs} +1 -1
  25. package/dist/{index-C8PYYQwg.cjs → index-DpYdEBga.cjs} +1 -1
  26. package/dist/{index-CFbzkHW0.cjs → index-DqWKrP7p.cjs} +1 -1
  27. package/dist/{index-P35j7PPT.cjs → index-DzjLEJ2G.cjs} +1 -1
  28. package/dist/{index-C2Ok3w4G.cjs → index-G2O6ETUf.cjs} +1 -1
  29. package/dist/{index-5_rbXdYz.cjs → index-ZjWIhy36.cjs} +1 -1
  30. package/dist/{index-BR77jf7K.cjs → index-d9EmloJa.cjs} +12 -12
  31. package/dist/{index-B6Ml2anh.js → index-dWBhk9Dk.js} +8 -8
  32. package/dist/{index-DaGbhRQG.cjs → index-he-22_jo.cjs} +1 -1
  33. package/dist/{index-DE2i0Hrn.js → index-kmklo8FV.js} +5 -5
  34. package/dist/{index-DmOb4Y3Y.cjs → index-wGULs5QZ.cjs} +1 -1
  35. package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-IayePa4v.cjs → index.vue_vue_type_style_index_0_scoped_264dc673_lang-9D6uXhMg.cjs} +2 -2
  36. package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-DThFTJbG.js → index.vue_vue_type_style_index_0_scoped_264dc673_lang-DsD_HsX5.js} +78 -73
  37. package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-Cc3pYah2.cjs → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-MGyd1nJE.cjs} +1 -1
  38. package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-D-l2wgcD.js → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-kQnSo8kS.js} +3 -3
  39. package/dist/{main-BFSKjZRd.cjs → main-Br1m2nJe.cjs} +1 -1
  40. package/dist/{main-Dw3o67DJ.js → main-COl_jsOs.js} +2 -2
  41. package/dist/ss-component.cjs +1 -1
  42. package/dist/ss-component.css +2 -2
  43. package/dist/ss-component.js +5 -5
  44. package/dist/ss-component2.cjs +1 -1
  45. package/dist/ss-component2.js +8 -8
  46. package/dist/{threeModel-BKsAhpob.cjs → threeModel-CLfnrscV.cjs} +1 -1
  47. package/dist/{threeModel-e6llE76r.js → threeModel-y4tbC87W.js} +2 -2
  48. package/package.json +2 -3
@@ -1,21 +1,21 @@
1
1
  import { resolveComponent as D, createBlock as K, openBlock as f, withCtx as l, createVNode as o, createElementVNode as w, toDisplayString as pe, ref as y, onMounted as At, watch as ae, createElementBlock as M, Fragment as Pe, renderList as ze, createCommentVNode as X, normalizeStyle as Mt, defineComponent as st, computed as Ve, resolveDirective as it, withDirectives as Re, unref as t, createTextVNode as le, renderSlot as Ae, vShow as je, resolveDynamicComponent as rt } from "vue";
2
- import { m as Ge, a as Xe, b as qe } from "./index-C7_vKAdv.js";
3
- import ut from "./index-D6MYmUDV.js";
4
- import { _ as $t, o as ct, c as dt, a as mt, b as pt, d as Pt, s as me, g as ht, e as ft, f as gt, h as yt, i as xt, j as Vt } from "./index.vue_vue_type_style_index_0_scoped_264dc673_lang-DThFTJbG.js";
2
+ import { m as Ge, a as Xe, b as qe } from "./index-BtpXvIA6.js";
3
+ import ut from "./index-Ce2J4d7D.js";
4
+ import { _ as $t, o as ct, c as dt, a as mt, b as pt, d as Pt, s as me, g as ht, e as ft, f as gt, h as yt, i as xt, j as Vt } from "./index.vue_vue_type_style_index_0_scoped_264dc673_lang-DsD_HsX5.js";
5
5
  import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import { p as ce, s as ue, u as Ne, d as _t, c as Se, g as Oe, e as vt, b as _e } from "./menu-Bj0eSg6d.js";
7
7
  import { u as Ct } from "./login-Ct7wC1jE.js";
8
8
  import { S as De } from "./index-BHtNKL1L.js";
9
9
  import { u as Ee } from "./modelComp-CUCWitDo.js";
10
- import { _ as wt, a as Te, d as nt, s as jt } from "./index-BFEIlehR.js";
11
- import { u as He, a as It } from "./index-Dw_V6yKW.js";
10
+ import { _ as wt, a as Te, d as nt, s as jt } from "./index-4u-23Xo4.js";
11
+ import { u as He, a as It } from "./index-CzetAh_D.js";
12
12
  import { _ as kt } from "./index.vue_vue_type_script_setup_true_lang-D32wqX6B.js";
13
- import { o as Nt, u as Et } from "./index-DE2i0Hrn.js";
14
- import lt from "./threeModel-e6llE76r.js";
13
+ import { o as Nt, u as Et } from "./index-kmklo8FV.js";
14
+ import lt from "./threeModel-y4tbC87W.js";
15
15
  import "vue-router";
16
16
  import { g as Ie, a as Bt, l as bt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-uJF9vYMQ.js";
17
17
  import { a as Ut } from "./array-CrFbJF1B.js";
18
- import { c as Lt, b as Kt } from "./index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-D-l2wgcD.js";
18
+ import { c as Lt, b as Kt } from "./index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-kQnSo8kS.js";
19
19
  const Ot = { class: "horizontal-f-18" };
20
20
  function zt(A, he, n, T, H, O) {
21
21
  const u = D("svg-icon"), J = D("ssMenu");
@@ -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-D3x-AlQS.cjs");const n=require("./menu-ScIJ5kqr.cjs"),u=require("./index-DmOb4Y3Y.cjs"),o=require("./index-DtsQ-ZoV.cjs"),c=require("./index-BE8DQhoN.cjs"),i=e.defineComponent({__name:"index",setup(s){const t=e.reactive({...o.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await c.getActivePageStructureId(r.value)}),(d,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
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-D3x-AlQS.cjs");const n=require("./menu-ScIJ5kqr.cjs"),u=require("./index-wGULs5QZ.cjs"),o=require("./index-DtsQ-ZoV.cjs"),c=require("./index-BE8DQhoN.cjs"),i=e.defineComponent({__name:"index",setup(s){const t=e.reactive({...o.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await c.getActivePageStructureId(r.value)}),(d,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
@@ -1,14 +1,14 @@
1
- import { V as xe, B as al, S as S1, C as L1, P as T1, W as V1, b as P1, A as O1, c as R1, M as s1, X as U1, G as H1, d as cl, e as j1, f as r2, g as K1, D as wl, H as N1, h as i1, i as y2, j as x2, k as Al, E as kl, L as J1, U as y1, l as $2, m as ul, n as dl, O as pl, o as W1, p as G1, q as X1, r as n1, s as q1, F as Y1, t as Z1, v as Q1, w as ea, x as la, y as aa, z as sa, I as g1, J as Z2, K as ia, N as na, T as oa, Q as ta, a as b1 } from "./index-Dw_V6yKW.js";
1
+ import { V as xe, B as al, S as S1, C as L1, P as T1, W as V1, b as P1, A as O1, c as R1, M as s1, X as U1, G as H1, d as cl, e as j1, f as r2, g as K1, D as wl, H as N1, h as i1, i as y2, j as x2, k as Al, E as kl, L as J1, U as y1, l as $2, m as ul, n as dl, O as pl, o as W1, p as G1, q as X1, r as n1, s as q1, F as Y1, t as Z1, v as Q1, w as ea, x as la, y as aa, z as sa, I as g1, J as Z2, K as ia, N as na, T as oa, Q as ta, a as b1 } from "./index-CzetAh_D.js";
2
2
  import { ref as ee, watch as Ue, createElementBlock as be, openBlock as he, createBlock as $e, computed as b2, onMounted as w1, onUnmounted as ra, Fragment as Se, renderList as Oe, createElementVNode as E, createCommentVNode as Je, toDisplayString as Ce, resolveComponent as Ie, createVNode as ie, defineComponent as C2, normalizeStyle as Dl, normalizeClass as o1, nextTick as t1, onBeforeUnmount as ca, withDirectives as A2, unref as je, withCtx as we, isRef as il, vModelRadio as nl, vShow as ol, createTextVNode as Be, reactive as Il, resolveDynamicComponent as sl, renderSlot as hl, createSlots as ua, mergeProps as da, withModifiers as Q2 } from "vue";
3
3
  import { bB as A1, b as F2, s as l2, p as qe, c as s, E as Xe, g as _2, e as pa, u as k1, bx as _1, by as r1, bw as c1 } from "./menu-Bj0eSg6d.js";
4
- import { d as ha, e as e2, f as fa, s as a2, h as C1, a as u1, i as va, j as ma, b as ya } from "./index-BFEIlehR.js";
4
+ import { d as ha, e as e2, f as fa, s as a2, h as C1, a as u1, i as va, j as ma, b as ya } from "./index-4u-23Xo4.js";
5
5
  import { z as ga, a as ba, F as d1, A as wa, I as d2, B as Aa, C as We, D as S2, E as u2, G as D2, H as _l, g as k2, J as ka, K as _a, L as Ca, M as za, N as Ma, O as p1, P as xa, Q as Da, R as Fa } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-uJF9vYMQ.js";
6
- import { O as Ba } from "./OrbitControls-_OchPPiM.js";
6
+ import { O as Ba } from "./OrbitControls-DQKCQqAM.js";
7
7
  import { u as vl } from "./modelComp-CUCWitDo.js";
8
8
  import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  import { u as $l } from "./login-Ct7wC1jE.js";
10
10
  import { E as g2 } from "./index-CL7Kg1Kn.js";
11
- import { s as Ea, a as Ia } from "./index-RhyWQqr7.js";
11
+ import { s as Ea, a as Ia } from "./index-C42OOZRy.js";
12
12
  import $a from "./index-CZtXRS3l.js";
13
13
  const Sa = (r) => r.match(/\((.*)\)/)[1], La = A1("formComp", {
14
14
  state: () => ({
@@ -1999,7 +1999,7 @@ const f0 = { class: "obj-viewer-container" }, v0 = { class: "buttonGroup-top" },
1999
1999
  ]);
2000
2000
  };
2001
2001
  }
2002
- }, v1 = /* @__PURE__ */ Te(L0, [["__scopeId", "data-v-5863c3f2"]]), fl = ee(0), z1 = (r) => {
2002
+ }, v1 = /* @__PURE__ */ Te(L0, [["__scopeId", "data-v-9db44a88"]]), fl = ee(0), z1 = (r) => {
2003
2003
  var u;
2004
2004
  return !r || (r == null ? void 0 : r.length) === 0 ? [] : (u = s(r)) == null ? void 0 : u.map((l) => (fl.value++, l = {
2005
2005
  label: (l == null ? void 0 : l.label) ?? "",
@@ -1,4 +1,4 @@
1
- "use strict";const B=require("vue"),$e=require("./menu-ScIJ5kqr.cjs"),$n=require("./index-BR77jf7K.cjs"),Vh=require("./modelComp-CkSDfH0-.cjs"),dn=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D3x-AlQS.cjs"),_l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Yu=require("./login-9FT8kgSz.cjs"),$u={__name:"index",props:{isVisible:{type:Boolean,default:!1},title:{type:String,default:""},placement:{type:String,default:"bottom"},width:{type:Number,default:200}},setup(s){const e=s,t=B.ref(null),n=B.ref(!1),i=B.ref(null);return B.watch(()=>e==null?void 0:e.isVisible,()=>{n.value=e==null?void 0:e.isVisible},{deep:!0,immediate:!0}),B.watch(()=>i.value,()=>{B.nextTick(()=>{var r,a;(a=(r=t.value)==null?void 0:r.updatePopper)==null||a.call(r)})},{deep:!0,immediate:!0}),(r,a)=>{const o=B.resolveComponent("el-popover");return B.openBlock(),B.createBlock(o,{visible:n.value,title:e==null?void 0:e.title,placement:e==null?void 0:e.placement,width:e==null?void 0:e.width,ref_key:"popOverRef",ref:t},{reference:B.withCtx(()=>[B.createElementVNode("div",null,[B.renderSlot(r.$slots,"reference",{ref_key:"referenceRef",ref:i})])]),default:B.withCtx(()=>[B.createElementVNode("div",null,[B.renderSlot(r.$slots,"content")])]),_:3},8,["visible","title","placement","width"])}}},Ju={class:"extra-button-content"},Ku={class:"table-operator-wrap"},Zu={class:"extra-button-filter"},Qu={title:"条件查询"},ed={class:"form-content-value"},td={key:0,class:"extra-header"},nd={__name:"header",props:{compName:{type:String,default:"表格名称",required:!1},buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick","filter"],setup(s,{emit:e}){const t=e,n=s,i=B.ref(""),r=B.ref(!1),a=B.ref([]),o=B.ref([{label:"取消",background:"#999999"},{label:"清空",background:"#999999"},{label:"确认"}]),l=u=>{var m;const f=(m=a.value)==null?void 0:m.reduce((_,g,p)=>(p===0?_[g.label]=u:_[g.label]=g.value,_),{});t("filter",f)},c=u=>{t("buttonClick",u)},h=u=>{var f,m;a.value=(m=(f=dn.getColumnChild($e.cloneDeep(u)))==null?void 0:f.filter(_=>(_==null?void 0:_.label)!==""&&(_==null?void 0:_.label)!=="操作"))==null?void 0:m.map(_=>({label:(_==null?void 0:_.label)??"",value:"",name:(_==null?void 0:_.label)??"",isFormColHidden:_==null?void 0:_.isTableColHidden,width:2}))},d=u=>{var f;if((u==null?void 0:u.buttonName)==="确认"&&t("filter",u==null?void 0:u.content),(u==null?void 0:u.buttonName)==="清空"){const m=$e.cloneDeep(u==null?void 0:u.content);for(const _ in m)m[_]="";a.value=(f=a.value)==null?void 0:f.map(_=>({..._,value:""})),t("filter",m)}r.value=!1};return B.onMounted(()=>{h(n.columns)}),B.watch(()=>n.columns,()=>{h(n.columns)},{deep:!0,immediate:!0}),(u,f)=>{var p;const m=B.resolveComponent("svg-icon"),_=B.resolveComponent("el-input"),g=B.resolveComponent("el-button");return B.openBlock(),B.createElementBlock("div",Ju,[B.createElementVNode("div",{class:B.normalizeClass(s.compName?"table-name-wrap":"")},B.toDisplayString(s.compName),3),B.createElementVNode("div",Ku,[B.createElementVNode("div",Zu,[B.createVNode($u,{title:"",width:800,placement:"bottom-start",isVisible:r.value},{reference:B.withCtx(()=>[B.createVNode(_,{modelValue:i.value,"onUpdate:modelValue":f[1]||(f[1]=E=>i.value=E),style:{width:"240px"},placeholder:"搜索","prefix-icon":B.unref($e.search_default),clearable:"",onInput:l},{append:B.withCtx(()=>[B.createElementVNode("span",Qu,[B.createVNode(m,{onClick:f[0]||(f[0]=E=>r.value=!r.value),name:"query",style:{width:"15px",height:"15px",cursor:"pointer"}})])]),_:1},8,["modelValue","prefix-icon"])]),content:B.withCtx(()=>[B.createElementVNode("div",ed,[(B.openBlock(),B.createBlock($n.ssForm,{rowContents:a.value,buttonValue:o.value,isRowFlex:!0,isEnableWrap:!1,isButtonRow:!1,key:o.value,isStartJustify:!1,onOnButtonClick:d},null,8,["rowContents","buttonValue"]))])]),_:1},8,["isVisible"])]),n!=null&&n.buttons&&((p=n==null?void 0:n.buttons)==null?void 0:p.length)>0?(B.openBlock(),B.createElementBlock("div",td,[(B.openBlock(!0),B.createElementBlock(B.Fragment,null,B.renderList(n==null?void 0:n.buttons,(E,S)=>(B.openBlock(),B.createElementBlock("div",{class:"extra-contents",key:S},[B.createVNode(g,{id:"themeButton",style:B.normalizeStyle({background:(E==null?void 0:E.background)??"var(--ssbutton-theme-bg)",color:"var(--ssbutton-theme-color)"}),onClick:M=>c(E==null?void 0:E.label)},{default:B.withCtx(()=>[B.createTextVNode(B.toDisplayString(E==null?void 0:E.label),1)]),_:2},1032,["style","onClick"])]))),128))])):B.createCommentVNode("",!0)])])}}},id=_l._export_sfc(nd,[["__scopeId","data-v-e343d690"]]),sd=B.defineComponent({__name:"batch",props:{buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick"],setup(s,{emit:e}){const t=e,n=i=>{t("buttonClick",i)};return(i,r)=>{const a=B.resolveComponent("el-button");return B.openBlock(),B.createElementBlock("div",null,[(B.openBlock(!0),B.createElementBlock(B.Fragment,null,B.renderList(s.buttons,o=>(B.openBlock(),B.createBlock(a,{key:o==null?void 0:o.label,id:"themeBorderButton",onClick:l=>n(o==null?void 0:o.label)},{default:B.withCtx(()=>[B.createTextVNode(B.toDisplayString(o==null?void 0:o.label),1)]),_:2},1032,["onClick"]))),128))])}}});/**
1
+ "use strict";const B=require("vue"),$e=require("./menu-ScIJ5kqr.cjs"),$n=require("./index-d9EmloJa.cjs"),Vh=require("./modelComp-CkSDfH0-.cjs"),dn=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D3x-AlQS.cjs"),_l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Yu=require("./login-9FT8kgSz.cjs"),$u={__name:"index",props:{isVisible:{type:Boolean,default:!1},title:{type:String,default:""},placement:{type:String,default:"bottom"},width:{type:Number,default:200}},setup(s){const e=s,t=B.ref(null),n=B.ref(!1),i=B.ref(null);return B.watch(()=>e==null?void 0:e.isVisible,()=>{n.value=e==null?void 0:e.isVisible},{deep:!0,immediate:!0}),B.watch(()=>i.value,()=>{B.nextTick(()=>{var r,a;(a=(r=t.value)==null?void 0:r.updatePopper)==null||a.call(r)})},{deep:!0,immediate:!0}),(r,a)=>{const o=B.resolveComponent("el-popover");return B.openBlock(),B.createBlock(o,{visible:n.value,title:e==null?void 0:e.title,placement:e==null?void 0:e.placement,width:e==null?void 0:e.width,ref_key:"popOverRef",ref:t},{reference:B.withCtx(()=>[B.createElementVNode("div",null,[B.renderSlot(r.$slots,"reference",{ref_key:"referenceRef",ref:i})])]),default:B.withCtx(()=>[B.createElementVNode("div",null,[B.renderSlot(r.$slots,"content")])]),_:3},8,["visible","title","placement","width"])}}},Ju={class:"extra-button-content"},Ku={class:"table-operator-wrap"},Zu={class:"extra-button-filter"},Qu={title:"条件查询"},ed={class:"form-content-value"},td={key:0,class:"extra-header"},nd={__name:"header",props:{compName:{type:String,default:"表格名称",required:!1},buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick","filter"],setup(s,{emit:e}){const t=e,n=s,i=B.ref(""),r=B.ref(!1),a=B.ref([]),o=B.ref([{label:"取消",background:"#999999"},{label:"清空",background:"#999999"},{label:"确认"}]),l=u=>{var m;const f=(m=a.value)==null?void 0:m.reduce((_,g,p)=>(p===0?_[g.label]=u:_[g.label]=g.value,_),{});t("filter",f)},c=u=>{t("buttonClick",u)},h=u=>{var f,m;a.value=(m=(f=dn.getColumnChild($e.cloneDeep(u)))==null?void 0:f.filter(_=>(_==null?void 0:_.label)!==""&&(_==null?void 0:_.label)!=="操作"))==null?void 0:m.map(_=>({label:(_==null?void 0:_.label)??"",value:"",name:(_==null?void 0:_.label)??"",isFormColHidden:_==null?void 0:_.isTableColHidden,width:2}))},d=u=>{var f;if((u==null?void 0:u.buttonName)==="确认"&&t("filter",u==null?void 0:u.content),(u==null?void 0:u.buttonName)==="清空"){const m=$e.cloneDeep(u==null?void 0:u.content);for(const _ in m)m[_]="";a.value=(f=a.value)==null?void 0:f.map(_=>({..._,value:""})),t("filter",m)}r.value=!1};return B.onMounted(()=>{h(n.columns)}),B.watch(()=>n.columns,()=>{h(n.columns)},{deep:!0,immediate:!0}),(u,f)=>{var p;const m=B.resolveComponent("svg-icon"),_=B.resolveComponent("el-input"),g=B.resolveComponent("el-button");return B.openBlock(),B.createElementBlock("div",Ju,[B.createElementVNode("div",{class:B.normalizeClass(s.compName?"table-name-wrap":"")},B.toDisplayString(s.compName),3),B.createElementVNode("div",Ku,[B.createElementVNode("div",Zu,[B.createVNode($u,{title:"",width:800,placement:"bottom-start",isVisible:r.value},{reference:B.withCtx(()=>[B.createVNode(_,{modelValue:i.value,"onUpdate:modelValue":f[1]||(f[1]=E=>i.value=E),style:{width:"240px"},placeholder:"搜索","prefix-icon":B.unref($e.search_default),clearable:"",onInput:l},{append:B.withCtx(()=>[B.createElementVNode("span",Qu,[B.createVNode(m,{onClick:f[0]||(f[0]=E=>r.value=!r.value),name:"query",style:{width:"15px",height:"15px",cursor:"pointer"}})])]),_:1},8,["modelValue","prefix-icon"])]),content:B.withCtx(()=>[B.createElementVNode("div",ed,[(B.openBlock(),B.createBlock($n.ssForm,{rowContents:a.value,buttonValue:o.value,isRowFlex:!0,isEnableWrap:!1,isButtonRow:!1,key:o.value,isStartJustify:!1,onOnButtonClick:d},null,8,["rowContents","buttonValue"]))])]),_:1},8,["isVisible"])]),n!=null&&n.buttons&&((p=n==null?void 0:n.buttons)==null?void 0:p.length)>0?(B.openBlock(),B.createElementBlock("div",td,[(B.openBlock(!0),B.createElementBlock(B.Fragment,null,B.renderList(n==null?void 0:n.buttons,(E,S)=>(B.openBlock(),B.createElementBlock("div",{class:"extra-contents",key:S},[B.createVNode(g,{id:"themeButton",style:B.normalizeStyle({background:(E==null?void 0:E.background)??"var(--ssbutton-theme-bg)",color:"var(--ssbutton-theme-color)"}),onClick:M=>c(E==null?void 0:E.label)},{default:B.withCtx(()=>[B.createTextVNode(B.toDisplayString(E==null?void 0:E.label),1)]),_:2},1032,["style","onClick"])]))),128))])):B.createCommentVNode("",!0)])])}}},id=_l._export_sfc(nd,[["__scopeId","data-v-e343d690"]]),sd=B.defineComponent({__name:"batch",props:{buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick"],setup(s,{emit:e}){const t=e,n=i=>{t("buttonClick",i)};return(i,r)=>{const a=B.resolveComponent("el-button");return B.openBlock(),B.createElementBlock("div",null,[(B.openBlock(!0),B.createElementBlock(B.Fragment,null,B.renderList(s.buttons,o=>(B.openBlock(),B.createBlock(a,{key:o==null?void 0:o.label,id:"themeBorderButton",onClick:l=>n(o==null?void 0:o.label)},{default:B.withCtx(()=>[B.createTextVNode(B.toDisplayString(o==null?void 0:o.label),1)]),_:2},1032,["onClick"]))),128))])}}});/**
2
2
  * @license
3
3
  * Copyright 2010-2025 Three.js Authors
4
4
  * SPDX-License-Identifier: MIT