@shwfed/config 2.3.23 → 2.3.25

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 (65) hide show
  1. package/dist/mcp.mjs +1426 -592
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{config-C-EOrL-v.js → config-BYTuKQZr.js} +1 -1
  4. package/dist/preview/assets/{config-BLxl7ROb.js → config-BoE06fMj.js} +1 -1
  5. package/dist/preview/assets/{config-BWMtPN22.js → config-CV5P2_b2.js} +1 -1
  6. package/dist/preview/assets/{config-CJADmi-_.js → config-CVAFGzPb.js} +1 -1
  7. package/dist/preview/assets/{config-5rB9Rnmf.js → config-CdH0Nxqa.js} +1 -1
  8. package/dist/preview/assets/{config-pVNUrcvS.js → config-CjlRnKnY.js} +1 -1
  9. package/dist/preview/assets/{config-DUNvg-mJ.js → config-CrvG15To.js} +1 -1
  10. package/dist/preview/assets/{config-EtlOM9yx.js → config-DZXC8YJ4.js} +1 -1
  11. package/dist/preview/assets/{config-f66PEpZ5.js → config-QaYy6DCp.js} +1 -1
  12. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js → definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js} +1 -1
  13. package/dist/preview/assets/{index-CJMxrUKZ.css → index-BCE-G4Ha.css} +1 -1
  14. package/dist/preview/assets/index-BbnG2cVz.js +643 -0
  15. package/dist/preview/assets/index-NFKAYzMi.js +1 -0
  16. package/dist/preview/assets/{runtime-P99-0gRD.js → runtime-1AP_-j3e.js} +1 -1
  17. package/dist/preview/assets/{runtime-CFPeFbAB.js → runtime-BQiYt6n7.js} +1 -1
  18. package/dist/preview/assets/{runtime-B9GkQToM.js → runtime-BsiLYYky.js} +1 -1
  19. package/dist/preview/assets/{runtime-qQ5mJdRv.js → runtime-C-h7PIyx.js} +1 -1
  20. package/dist/preview/assets/{runtime-DcqfhaaX.js → runtime-CGW3z1YJ.js} +1 -1
  21. package/dist/preview/assets/{runtime-DoLJtHV2.js → runtime-C_R-VCbd.js} +1 -1
  22. package/dist/preview/assets/{runtime-CUBGWRtC.js → runtime-DGdEDDUA.js} +1 -1
  23. package/dist/preview/assets/{runtime-CI38ypkY.js → runtime-DwXjew7j.js} +1 -1
  24. package/dist/preview/assets/{runtime-C0v-S40R.js → runtime-pM3u8QsQ.js} +1 -1
  25. package/dist/preview/index.html +2 -2
  26. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +4 -4
  27. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +4 -4
  28. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +4 -4
  29. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +4 -4
  30. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +163 -0
  31. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue +699 -0
  32. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +163 -0
  33. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.d.vue.ts +9 -0
  34. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +368 -0
  35. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue.d.ts +9 -0
  36. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +251 -0
  37. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.js +178 -0
  38. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +167 -0
  39. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue +732 -0
  40. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +167 -0
  41. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.d.vue.ts +9 -0
  42. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +402 -0
  43. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue.d.ts +9 -0
  44. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +253 -0
  45. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.js +230 -0
  46. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +163 -0
  47. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue +699 -0
  48. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +163 -0
  49. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.d.vue.ts +9 -0
  50. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue +349 -0
  51. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue.d.ts +9 -0
  52. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +251 -0
  53. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.js +178 -0
  54. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +167 -0
  55. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue +732 -0
  56. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +167 -0
  57. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.d.vue.ts +9 -0
  58. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue +383 -0
  59. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue.d.ts +9 -0
  60. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +253 -0
  61. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.js +230 -0
  62. package/dist/runtime/components/table/config.vue +40 -0
  63. package/package.json +1 -1
  64. package/dist/preview/assets/index-B4xolIUJ.js +0 -643
  65. package/dist/preview/assets/index-DFYLO8qf.js +0 -1
@@ -0,0 +1 @@
1
+ import{aL as e}from"./index-BbnG2cVz.js";import{aM as r,aN as s,aO as t}from"./index-BbnG2cVz.js";export{r as TableConfig,s as createTableConfig,e as default,t as getColumnTechnicalKey};
@@ -1 +1 @@
1
- import{d as i,ae as x,as as p,af as M,ag as c,at as T,au as N,e as b,w as d,u,a0 as k,a1 as w,an as L,ar as S,o as A,f as I,av as z,g as r,aw as F,ax as H,a7 as V,am as $,ay as f,az as m,aA as j}from"./index-B4xolIUJ.js";import{_ as K}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";const O=i({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(a){const n=a,{locale:l}=x(),v=e=>{},g=$(),s=w(f,void 0),h=L(),o=k(null),C=p(n.buttonId,{close:()=>S(()=>{o.value?.()})},h),y=i({name:"ModalBoundaryBridge",setup(e,{slots:t}){return H(g),m(j,C),s&&m(f,s),()=>t.default?.()}}),E=(e,t)=>V()?.(e,t),_=M(function*(){const e=c(n.config.modalTitle,l.value)??c(n.buttonTitle,l.value)??"",{modal:t,close:B}=yield*T({title:e,width:n.config.modalWidth});o.value=()=>N(B()),yield*t,o.value=null});return(e,t)=>(A(),b(K,{"action-id":a.buttonId,effect:u(_)},{default:d(()=>[I("div",{style:z(a.config.modalMinHeight?`min-height: ${a.config.modalMinHeight}`:void 0)},[r(u(y),null,{default:d(()=>[r(F,{"slot-value":a.config.slot,configure:v,"find-entry":E},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{O as default};
1
+ import{d as i,ae as x,as as p,af as M,ag as c,at as T,au as N,e as b,w as d,u,a0 as k,a1 as w,an as L,ar as S,o as A,f as I,av as z,g as r,aw as F,ax as H,a7 as V,am as $,ay as f,az as m,aA as j}from"./index-BbnG2cVz.js";import{_ as K}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";const O=i({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(a){const n=a,{locale:l}=x(),v=e=>{},g=$(),s=w(f,void 0),h=L(),o=k(null),C=p(n.buttonId,{close:()=>S(()=>{o.value?.()})},h),y=i({name:"ModalBoundaryBridge",setup(e,{slots:t}){return H(g),m(j,C),s&&m(f,s),()=>t.default?.()}}),E=(e,t)=>V()?.(e,t),_=M(function*(){const e=c(n.config.modalTitle,l.value)??c(n.buttonTitle,l.value)??"",{modal:t,close:B}=yield*T({title:e,width:n.config.modalWidth});o.value=()=>N(B()),yield*t,o.value=null});return(e,t)=>(A(),b(K,{"action-id":a.buttonId,effect:u(_)},{default:d(()=>[I("div",{style:z(a.config.modalMinHeight?`min-height: ${a.config.modalMinHeight}`:void 0)},[r(u(y),null,{default:d(()=>[r(F,{"slot-value":a.config.slot,configure:v,"find-entry":E},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{O as default};
@@ -1 +1 @@
1
- import{d as f,ae as u,af as l,ag as g,ah as m,ai as p,aj as d,e as x,u as E,ak as _,al as h,am as k,an as w,o as C}from"./index-B4xolIUJ.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";const R=f({name:"ShwfedHttpRequestConfirmActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(s){const n=s,{locale:c}=u(),a=k(),t=(e,o)=>_(e,{...h(a),...o}),i=w(),r=l(function*(){const e=g(n.config.markdown,c.value)??"",o=m(e,t);(yield*p({content:o,icon:n.config.icon,color:n.config.color}))||(yield*d(n.config.expression,t,{messageExpression:n.config.messageExpression,resultExpression:n.config.resultExpression,channel:i,triggers:{success:n.config.onSuccess,warning:n.config.onWarning,error:n.config.onError,info:n.config.onInfo}}))});return(e,o)=>(C(),x(I,{"action-id":s.buttonId,effect:E(r)},null,8,["action-id","effect"]))}});export{R as default};
1
+ import{d as f,ae as u,af as l,ag as g,ah as m,ai as p,aj as d,e as x,u as E,ak as _,al as h,am as k,an as w,o as C}from"./index-BbnG2cVz.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";const R=f({name:"ShwfedHttpRequestConfirmActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(s){const n=s,{locale:c}=u(),a=k(),t=(e,o)=>_(e,{...h(a),...o}),i=w(),r=l(function*(){const e=g(n.config.markdown,c.value)??"",o=m(e,t);(yield*p({content:o,icon:n.config.icon,color:n.config.color}))||(yield*d(n.config.expression,t,{messageExpression:n.config.messageExpression,resultExpression:n.config.resultExpression,channel:i,triggers:{success:n.config.onSuccess,warning:n.config.onWarning,error:n.config.onError,info:n.config.onInfo}}))});return(e,o)=>(C(),x(I,{"action-id":s.buttonId,effect:E(r)},null,8,["action-id","effect"]))}});export{R as default};
@@ -1 +1 @@
1
- import{d as r,ao as f,aj as u,e as p,u as g,ak as m,al as l,am as d,an as x,o as E}from"./index-B4xolIUJ.js";import{_}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";const k=r({name:"ShwfedHttpRequestActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,t=d(),c=(s,o)=>m(s,{...l(t),...o}),i=x(),a=f(()=>u(e.config.expression,c,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,channel:i,triggers:{success:e.config.onSuccess,warning:e.config.onWarning,error:e.config.onError,info:e.config.onInfo}}));return(s,o)=>(E(),p(_,{"action-id":n.buttonId,effect:g(a)},null,8,["action-id","effect"]))}});export{k as default};
1
+ import{d as r,ao as f,aj as u,e as p,u as g,ak as m,al as l,am as d,an as x,o as E}from"./index-BbnG2cVz.js";import{_}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";const k=r({name:"ShwfedHttpRequestActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,t=d(),c=(s,o)=>m(s,{...l(t),...o}),i=x(),a=f(()=>u(e.config.expression,c,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,channel:i,triggers:{success:e.config.onSuccess,warning:e.config.onWarning,error:e.config.onError,info:e.config.onInfo}}));return(s,o)=>(E(),p(_,{"action-id":n.buttonId,effect:g(a)},null,8,["action-id","effect"]))}});export{k as default};
@@ -1 +1 @@
1
- import{d as _,ao as B,af as E,ar as r,aB as m,aC as S,aD as j,e as k,u as v,ak as x,al as C,an as L,am as b,o as R}from"./index-B4xolIUJ.js";import{_ as T}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";const q=_({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=b(),t=(e,n)=>x(e,{...C(g),...n}),l=L(),p=new Set(["success","error","warning","info"]);function f(e){const n=URL.createObjectURL(e),o=document.createElement("a");o.href=n,o.download=e.name,document.body.appendChild(o),o.click(),o.remove(),URL.revokeObjectURL(n)}const y=B(()=>E(function*(){const{template:e,messageExpression:n,resultExpression:o}=c.config,u=yield*t(e.request);if(!e.download){const s=yield*u.file();return yield*r(()=>f(s)),yield*m(l,c.config.onSuccess)}const a={json:yield*u.json()},i=o===void 0?"success":yield*S(t(o,a),s=>p.has(s)?s:"success");if(n!==void 0){const s=yield*t(n,a);yield*r(()=>j[i](s))}if(i==="success"||i==="info"){const h=yield*(yield*t(e.download,a)).file();yield*r(()=>f(h))}const w={success:c.config.onSuccess,warning:c.config.onWarning,error:c.config.onError,info:c.config.onInfo};return yield*m(l,w[i])}));return(e,n)=>(R(),k(T,{"action-id":d.buttonId,effect:v(y)},null,8,["action-id","effect"]))}});export{q as default};
1
+ import{d as _,ao as B,af as E,ar as r,aB as m,aC as S,aD as j,e as k,u as v,ak as x,al as C,an as L,am as b,o as R}from"./index-BbnG2cVz.js";import{_ as T}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";const q=_({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=b(),t=(e,n)=>x(e,{...C(g),...n}),l=L(),p=new Set(["success","error","warning","info"]);function f(e){const n=URL.createObjectURL(e),o=document.createElement("a");o.href=n,o.download=e.name,document.body.appendChild(o),o.click(),o.remove(),URL.revokeObjectURL(n)}const y=B(()=>E(function*(){const{template:e,messageExpression:n,resultExpression:o}=c.config,u=yield*t(e.request);if(!e.download){const s=yield*u.file();return yield*r(()=>f(s)),yield*m(l,c.config.onSuccess)}const a={json:yield*u.json()},i=o===void 0?"success":yield*S(t(o,a),s=>p.has(s)?s:"success");if(n!==void 0){const s=yield*t(n,a);yield*r(()=>j[i](s))}if(i==="success"||i==="info"){const h=yield*(yield*t(e.download,a)).file();yield*r(()=>f(h))}const w={success:c.config.onSuccess,warning:c.config.onWarning,error:c.config.onError,info:c.config.onInfo};return yield*m(l,w[i])}));return(e,n)=>(R(),k(T,{"action-id":d.buttonId,effect:v(y)},null,8,["action-id","effect"]))}});export{q as default};
@@ -1 +1 @@
1
- import{d as i,ao as f,aq as r,ar as d,e as m,u,ak as l,al as p,am as _,o as g}from"./index-B4xolIUJ.js";import{_ as h}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";const x=i({name:"ShwfedNavigationActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const t=e,o=_(),c=(n,a)=>l(n,{...p(o),...a}),s=f(()=>r(c(t.config.url),n=>d(()=>{window.open(n,t.config.mode)})));return(n,a)=>(g(),m(h,{"action-id":e.buttonId,effect:u(s)},null,8,["action-id","effect"]))}});export{x as default};
1
+ import{d as i,ao as f,aq as r,ar as d,e as m,u,ak as l,al as p,am as _,o as g}from"./index-BbnG2cVz.js";import{_ as h}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";const x=i({name:"ShwfedNavigationActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const t=e,o=_(),c=(n,a)=>l(n,{...p(o),...a}),s=f(()=>r(c(t.config.url),n=>d(()=>{window.open(n,t.config.mode)})));return(n,a)=>(g(),m(h,{"action-id":e.buttonId,effect:u(s)},null,8,["action-id","effect"]))}});export{x as default};
@@ -1 +1 @@
1
- import{d as u,ae as l,e as i,u as p,$ as m,o as d,k as f,ag as _,ah as k,ak as g,al as w,am as x}from"./index-B4xolIUJ.js";const B=u({name:"ShwfedMarkdownItemRuntime",__name:"runtime",props:{config:{}},setup(n){const s=n,{locale:o}=l(),t=x(),c=(e,a)=>g(e,{...w(t),...a}),r=m(()=>{const e=_(s.config.content,o.value)??"";return k(e,c)});return(e,a)=>(d(),i(p(f),{"data-slot":"buttons-markdown",source:r.value,class:"prose prose-sm prose-zinc px-1"},null,8,["source"]))}});export{B as default};
1
+ import{d as u,ae as l,e as i,u as p,$ as m,o as d,k as f,ag as _,ah as k,ak as g,al as w,am as x}from"./index-BbnG2cVz.js";const B=u({name:"ShwfedMarkdownItemRuntime",__name:"runtime",props:{config:{}},setup(n){const s=n,{locale:o}=l(),t=x(),c=(e,a)=>g(e,{...w(t),...a}),r=m(()=>{const e=_(s.config.content,o.value)??"";return k(e,c)});return(e,a)=>(d(),i(p(f),{"data-slot":"buttons-markdown",source:r.value,class:"prose prose-sm prose-zinc px-1"},null,8,["source"]))}});export{B as default};
@@ -1 +1 @@
1
- import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";import{d as s,ao as c,aB as i,e as r,u as f,an as u,o as m}from"./index-B4xolIUJ.js";const g=s({name:"ShwfedEventDispatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const n=e,t=u(),a=c(()=>i(t,n.config.triggers));return(p,d)=>(m(),r(o,{"action-id":e.buttonId,effect:f(a)},null,8,["action-id","effect"]))}});export{g as default};
1
+ import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";import{d as s,ao as c,aB as i,e as r,u as f,an as u,o as m}from"./index-BbnG2cVz.js";const g=s({name:"ShwfedEventDispatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const n=e,t=u(),a=c(()=>i(t,n.config.triggers));return(p,d)=>(m(),r(o,{"action-id":e.buttonId,effect:f(a)},null,8,["action-id","effect"]))}});export{g as default};
@@ -1 +1 @@
1
- import{d as l,aE as g,ao as A,aq as y,aB as _,e as h,u as S,ak as b,al as k,an as j,aF as B,o as C,am as E}from"./index-B4xolIUJ.js";import{_ as F}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";const I=l({name:"ShwfedStateWriteActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(r){const s=r,i=E(),f=(e,t)=>b(e,{...k(i),...t}),n=g(),o=n.kind==="form"&&n.parent?n.parent:n,u=j(),m=B((e,t,a)=>{if(Array.isArray(e[t])&&Array.isArray(a))return e[t]=a,!0});function c(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function p(e,t){return c(e)&&c(t)?m({...t},e):t}const d=A(()=>y(f(s.config.expression),e=>{for(const t of Object.keys(e)){const a=p(o.getAt(t),e[t]);o.setAt(t,a)}return _(u,s.config.onSuccess)}));return(e,t)=>(C(),h(F,{"action-id":r.buttonId,effect:S(d)},null,8,["action-id","effect"]))}});export{I as default};
1
+ import{d as l,aE as g,ao as A,aq as y,aB as _,e as h,u as S,ak as b,al as k,an as j,aF as B,o as C,am as E}from"./index-BbnG2cVz.js";import{_ as F}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";const I=l({name:"ShwfedStateWriteActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(r){const s=r,i=E(),f=(e,t)=>b(e,{...k(i),...t}),n=g(),o=n.kind==="form"&&n.parent?n.parent:n,u=j(),m=B((e,t,a)=>{if(Array.isArray(e[t])&&Array.isArray(a))return e[t]=a,!0});function c(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function p(e,t){return c(e)&&c(t)?m({...t},e):t}const d=A(()=>y(f(s.config.expression),e=>{for(const t of Object.keys(e)){const a=p(o.getAt(t),e[t]);o.setAt(t,a)}return _(u,s.config.onSuccess)}));return(e,t)=>(C(),h(F,{"action-id":r.buttonId,effect:S(d)},null,8,["action-id","effect"]))}});export{I as default};
@@ -1 +1 @@
1
- import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js";import{d as n,e as a,u as c,o as f,ap as i}from"./index-B4xolIUJ.js";const p=n({name:"ShwfedPrototypeActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const t=i;return(r,s)=>(f(),a(o,{"action-id":e.buttonId,effect:c(t)},null,8,["action-id","effect"]))}});export{p as default};
1
+ import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-CBPR0zl_.js";import{d as n,e as a,u as c,o as f,ap as i}from"./index-BbnG2cVz.js";const p=n({name:"ShwfedPrototypeActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const t=i;return(r,s)=>(f(),a(o,{"action-id":e.buttonId,effect:c(t)},null,8,["action-id","effect"]))}});export{p as default};
@@ -10,8 +10,8 @@
10
10
  `--primary`, the primary button variant renders as transparent. */
11
11
  body { --primary: #009689; }
12
12
  </style>
13
- <script type="module" crossorigin src="./assets/index-B4xolIUJ.js"></script>
14
- <link rel="stylesheet" crossorigin href="./assets/index-CJMxrUKZ.css">
13
+ <script type="module" crossorigin src="./assets/index-BbnG2cVz.js"></script>
14
+ <link rel="stylesheet" crossorigin href="./assets/index-BCE-G4Ha.css">
15
15
  </head>
16
16
  <body>
17
17
  <div id="app"></div>
@@ -41,8 +41,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
41
41
  readonly request: string;
42
42
  readonly grow?: boolean | undefined;
43
43
  readonly accessor: string;
44
- readonly enableSorting?: boolean | undefined;
45
44
  readonly options: string;
45
+ readonly enableSorting?: boolean | undefined;
46
+ readonly successMessage?: string | undefined;
46
47
  readonly optionValue: string;
47
48
  readonly optionLabel: readonly [{
48
49
  readonly locale: "zh";
@@ -51,7 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
52
  readonly locale: "en" | "ja" | "ko";
52
53
  readonly message: string;
53
54
  }[]];
54
- readonly successMessage?: string | undefined;
55
55
  }) => any;
56
56
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
57
57
  "onUpdate:modelValue"?: ((value: {
@@ -92,8 +92,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
92
92
  readonly request: string;
93
93
  readonly grow?: boolean | undefined;
94
94
  readonly accessor: string;
95
- readonly enableSorting?: boolean | undefined;
96
95
  readonly options: string;
96
+ readonly enableSorting?: boolean | undefined;
97
+ readonly successMessage?: string | undefined;
97
98
  readonly optionValue: string;
98
99
  readonly optionLabel: readonly [{
99
100
  readonly locale: "zh";
@@ -102,7 +103,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]];
105
- readonly successMessage?: string | undefined;
106
106
  }) => any) | undefined;
107
107
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
108
108
  declare const _default: typeof __VLS_export;
@@ -41,8 +41,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
41
41
  readonly request: string;
42
42
  readonly grow?: boolean | undefined;
43
43
  readonly accessor: string;
44
- readonly enableSorting?: boolean | undefined;
45
44
  readonly options: string;
45
+ readonly enableSorting?: boolean | undefined;
46
+ readonly successMessage?: string | undefined;
46
47
  readonly optionValue: string;
47
48
  readonly optionLabel: readonly [{
48
49
  readonly locale: "zh";
@@ -51,7 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
52
  readonly locale: "en" | "ja" | "ko";
52
53
  readonly message: string;
53
54
  }[]];
54
- readonly successMessage?: string | undefined;
55
55
  }) => any;
56
56
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
57
57
  "onUpdate:modelValue"?: ((value: {
@@ -92,8 +92,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
92
92
  readonly request: string;
93
93
  readonly grow?: boolean | undefined;
94
94
  readonly accessor: string;
95
- readonly enableSorting?: boolean | undefined;
96
95
  readonly options: string;
96
+ readonly enableSorting?: boolean | undefined;
97
+ readonly successMessage?: string | undefined;
97
98
  readonly optionValue: string;
98
99
  readonly optionLabel: readonly [{
99
100
  readonly locale: "zh";
@@ -102,7 +103,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]];
105
- readonly successMessage?: string | undefined;
106
106
  }) => any) | undefined;
107
107
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
108
108
  declare const _default: typeof __VLS_export;
@@ -41,8 +41,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
41
41
  readonly request: string;
42
42
  readonly grow?: boolean | undefined;
43
43
  readonly accessor: string;
44
- readonly enableSorting?: boolean | undefined;
45
44
  readonly options: string;
45
+ readonly enableSorting?: boolean | undefined;
46
+ readonly successMessage?: string | undefined;
46
47
  readonly optionValue: string;
47
48
  readonly optionLabel: readonly [{
48
49
  readonly locale: "zh";
@@ -51,7 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
52
  readonly locale: "en" | "ja" | "ko";
52
53
  readonly message: string;
53
54
  }[]];
54
- readonly successMessage?: string | undefined;
55
55
  }) => any;
56
56
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
57
57
  "onUpdate:modelValue"?: ((value: {
@@ -92,8 +92,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
92
92
  readonly request: string;
93
93
  readonly grow?: boolean | undefined;
94
94
  readonly accessor: string;
95
- readonly enableSorting?: boolean | undefined;
96
95
  readonly options: string;
96
+ readonly enableSorting?: boolean | undefined;
97
+ readonly successMessage?: string | undefined;
97
98
  readonly optionValue: string;
98
99
  readonly optionLabel: readonly [{
99
100
  readonly locale: "zh";
@@ -102,7 +103,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]];
105
- readonly successMessage?: string | undefined;
106
106
  }) => any) | undefined;
107
107
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
108
108
  declare const _default: typeof __VLS_export;
@@ -41,8 +41,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
41
41
  readonly request: string;
42
42
  readonly grow?: boolean | undefined;
43
43
  readonly accessor: string;
44
- readonly enableSorting?: boolean | undefined;
45
44
  readonly options: string;
45
+ readonly enableSorting?: boolean | undefined;
46
+ readonly successMessage?: string | undefined;
46
47
  readonly optionValue: string;
47
48
  readonly optionLabel: readonly [{
48
49
  readonly locale: "zh";
@@ -51,7 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
52
  readonly locale: "en" | "ja" | "ko";
52
53
  readonly message: string;
53
54
  }[]];
54
- readonly successMessage?: string | undefined;
55
55
  }) => any;
56
56
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
57
57
  "onUpdate:modelValue"?: ((value: {
@@ -92,8 +92,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
92
92
  readonly request: string;
93
93
  readonly grow?: boolean | undefined;
94
94
  readonly accessor: string;
95
- readonly enableSorting?: boolean | undefined;
96
95
  readonly options: string;
96
+ readonly enableSorting?: boolean | undefined;
97
+ readonly successMessage?: string | undefined;
97
98
  readonly optionValue: string;
98
99
  readonly optionLabel: readonly [{
99
100
  readonly locale: "zh";
@@ -102,7 +103,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]];
105
- readonly successMessage?: string | undefined;
106
106
  }) => any) | undefined;
107
107
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
108
108
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,163 @@
1
+ import { type Value } from './schema.js';
2
+ type __VLS_ModelProps = {
3
+ modelValue: Value;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: {
7
+ readonly size?: number | undefined;
8
+ readonly disabled?: string | undefined;
9
+ readonly type: "com.shwfed.table.column.combobox-multi";
10
+ readonly id: string;
11
+ readonly title: readonly [{
12
+ readonly locale: "zh";
13
+ readonly message: string;
14
+ }, ...{
15
+ readonly locale: "en" | "ja" | "ko";
16
+ readonly message: string;
17
+ }[]];
18
+ readonly hidden?: string | undefined;
19
+ readonly tooltip?: readonly [{
20
+ readonly locale: "zh";
21
+ readonly message: string;
22
+ }, ...{
23
+ readonly locale: "en" | "ja" | "ko";
24
+ readonly message: string;
25
+ }[]] | undefined;
26
+ readonly compatibilityDate: "2026-05-26";
27
+ readonly groupId?: string | undefined;
28
+ readonly placeholder?: readonly [{
29
+ readonly locale: "zh";
30
+ readonly message: string;
31
+ }, ...{
32
+ readonly locale: "en" | "ja" | "ko";
33
+ readonly message: string;
34
+ }[]] | undefined;
35
+ readonly readonly?: string | undefined;
36
+ readonly grow?: boolean | undefined;
37
+ readonly binding: string;
38
+ readonly derived?: {
39
+ readonly mode: "formula" | "prefill";
40
+ readonly expression: string;
41
+ } | undefined;
42
+ readonly options: {
43
+ readonly kind: "remote";
44
+ readonly request: string;
45
+ readonly options: string;
46
+ readonly optionValue: string;
47
+ readonly optionLabel: readonly [{
48
+ readonly locale: "zh";
49
+ readonly message: string;
50
+ }, ...{
51
+ readonly locale: "en" | "ja" | "ko";
52
+ readonly message: string;
53
+ }[]];
54
+ } | {
55
+ readonly kind: "static";
56
+ readonly items: readonly {
57
+ readonly label: readonly [{
58
+ readonly locale: "zh";
59
+ readonly message: string;
60
+ }, ...{
61
+ readonly locale: "en" | "ja" | "ko";
62
+ readonly message: string;
63
+ }[]];
64
+ readonly id: string;
65
+ readonly tooltip?: readonly [{
66
+ readonly locale: "zh";
67
+ readonly message: string;
68
+ }, ...{
69
+ readonly locale: "en" | "ja" | "ko";
70
+ readonly message: string;
71
+ }[]] | undefined;
72
+ readonly value: {
73
+ readonly value: string;
74
+ readonly kind: "text";
75
+ } | {
76
+ readonly value: number;
77
+ readonly kind: "number";
78
+ };
79
+ }[];
80
+ };
81
+ readonly enableSorting?: boolean | undefined;
82
+ }) => any;
83
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
84
+ "onUpdate:modelValue"?: ((value: {
85
+ readonly size?: number | undefined;
86
+ readonly disabled?: string | undefined;
87
+ readonly type: "com.shwfed.table.column.combobox-multi";
88
+ readonly id: string;
89
+ readonly title: readonly [{
90
+ readonly locale: "zh";
91
+ readonly message: string;
92
+ }, ...{
93
+ readonly locale: "en" | "ja" | "ko";
94
+ readonly message: string;
95
+ }[]];
96
+ readonly hidden?: string | undefined;
97
+ readonly tooltip?: readonly [{
98
+ readonly locale: "zh";
99
+ readonly message: string;
100
+ }, ...{
101
+ readonly locale: "en" | "ja" | "ko";
102
+ readonly message: string;
103
+ }[]] | undefined;
104
+ readonly compatibilityDate: "2026-05-26";
105
+ readonly groupId?: string | undefined;
106
+ readonly placeholder?: readonly [{
107
+ readonly locale: "zh";
108
+ readonly message: string;
109
+ }, ...{
110
+ readonly locale: "en" | "ja" | "ko";
111
+ readonly message: string;
112
+ }[]] | undefined;
113
+ readonly readonly?: string | undefined;
114
+ readonly grow?: boolean | undefined;
115
+ readonly binding: string;
116
+ readonly derived?: {
117
+ readonly mode: "formula" | "prefill";
118
+ readonly expression: string;
119
+ } | undefined;
120
+ readonly options: {
121
+ readonly kind: "remote";
122
+ readonly request: string;
123
+ readonly options: string;
124
+ readonly optionValue: string;
125
+ readonly optionLabel: readonly [{
126
+ readonly locale: "zh";
127
+ readonly message: string;
128
+ }, ...{
129
+ readonly locale: "en" | "ja" | "ko";
130
+ readonly message: string;
131
+ }[]];
132
+ } | {
133
+ readonly kind: "static";
134
+ readonly items: readonly {
135
+ readonly label: readonly [{
136
+ readonly locale: "zh";
137
+ readonly message: string;
138
+ }, ...{
139
+ readonly locale: "en" | "ja" | "ko";
140
+ readonly message: string;
141
+ }[]];
142
+ readonly id: string;
143
+ readonly tooltip?: readonly [{
144
+ readonly locale: "zh";
145
+ readonly message: string;
146
+ }, ...{
147
+ readonly locale: "en" | "ja" | "ko";
148
+ readonly message: string;
149
+ }[]] | undefined;
150
+ readonly value: {
151
+ readonly value: string;
152
+ readonly kind: "text";
153
+ } | {
154
+ readonly value: number;
155
+ readonly kind: "number";
156
+ };
157
+ }[];
158
+ };
159
+ readonly enableSorting?: boolean | undefined;
160
+ }) => any) | undefined;
161
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
162
+ declare const _default: typeof __VLS_export;
163
+ export default _default;