@shwfed/config 2.10.9 → 2.10.11

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 (73) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-CysVgnB5.js → FieldGroup.vue_vue_type_script_setup_true_lang-DSupaUBQ.js} +1 -1
  3. package/dist/preview/assets/{badge-DdxT1J-1.js → badge-BpMIBZb2.js} +1 -1
  4. package/dist/preview/assets/{config-BhPAyftm.js → config-BCCT-UCw.js} +1 -1
  5. package/dist/preview/assets/{config-91HQEKhM.js → config-Bx4-IdW5.js} +1 -1
  6. package/dist/preview/assets/{config-CYRj2ZVL.js → config-Bz643_RE.js} +1 -1
  7. package/dist/preview/assets/{config-CJ-NzxkH.js → config-C7nJ8jl6.js} +1 -1
  8. package/dist/preview/assets/{config-C3eoRHUo.js → config-CM4nX_7y.js} +1 -1
  9. package/dist/preview/assets/{config-073z__NM.js → config-CNJS9Ncm.js} +1 -1
  10. package/dist/preview/assets/{config-BXP8aJwW.js → config-CY9L8__h.js} +1 -1
  11. package/dist/preview/assets/{config-cwlK3BMD.js → config-Cc1ThF9T.js} +1 -1
  12. package/dist/preview/assets/{config-BK8WZ3pm.js → config-CujkaO8S.js} +1 -1
  13. package/dist/preview/assets/{config-DLNjjMZY.js → config-DbtYnaaf.js} +1 -1
  14. package/dist/preview/assets/{config-BzHBSkht.js → config-DrkDnICQ.js} +1 -1
  15. package/dist/preview/assets/{config-BX05eMo3.js → config-agH4hNej.js} +1 -1
  16. package/dist/preview/assets/{config-DudxzmzF.js → config-c2iiXckz.js} +1 -1
  17. package/dist/preview/assets/{config-B8k8y1J1.js → config-v7UFMF25.js} +1 -1
  18. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js → definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js} +1 -1
  19. package/dist/preview/assets/{index-uAwC9Itb.js → index-B10aTz32.js} +1 -1
  20. package/dist/preview/assets/{index-CyVzfRGQ.css → index-Cc4BT5dc.css} +1 -1
  21. package/dist/preview/assets/{index-BL58N7_5.js → index-DdySlgoq.js} +74 -74
  22. package/dist/preview/assets/index-j5Pri4vN.js +1 -0
  23. package/dist/preview/assets/{item-C79mwh5T.js → item-DxWeqOxe.js} +1 -1
  24. package/dist/preview/assets/{runtime-mYNyG7UH.js → runtime-3VPnK4Ve.js} +1 -1
  25. package/dist/preview/assets/{runtime-8oME8Env.js → runtime-BO_Ak4ly.js} +1 -1
  26. package/dist/preview/assets/{runtime-CCMixJjP.js → runtime-BcWQ55Ub.js} +1 -1
  27. package/dist/preview/assets/{runtime-1_EaFcPI.js → runtime-C6oMTKIZ.js} +1 -1
  28. package/dist/preview/assets/{runtime-8Fe67mkZ.js → runtime-CeItNJdF.js} +1 -1
  29. package/dist/preview/assets/{runtime-DkWCpjKe.js → runtime-D6jswLOt.js} +1 -1
  30. package/dist/preview/assets/{runtime-Cb-qIo5p.js → runtime-DQK6Vajf.js} +1 -1
  31. package/dist/preview/assets/{runtime-CD1Q4rZ3.js → runtime-DwgCzoDf.js} +1 -1
  32. package/dist/preview/assets/{runtime-CvgAq3mp.js → runtime-P58D1JCj.js} +1 -1
  33. package/dist/preview/assets/{runtime-2yzxOLnF.js → runtime-rpKOBs2Q.js} +1 -1
  34. package/dist/preview/assets/{schema-meta-BlTKRs15.js → schema-meta-BtDKldOy.js} +1 -1
  35. package/dist/preview/index.html +2 -2
  36. package/dist/runtime/components/actions/components/group.d.vue.ts +9 -0
  37. package/dist/runtime/components/actions/components/group.vue +20 -1
  38. package/dist/runtime/components/actions/components/group.vue.d.ts +9 -0
  39. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue +1 -0
  40. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue +1 -0
  41. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
  42. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
  43. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
  44. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
  45. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  46. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  47. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
  48. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
  49. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
  50. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
  51. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
  52. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
  53. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
  54. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
  55. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
  56. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
  57. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
  58. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
  59. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
  60. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
  61. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
  62. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
  63. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  64. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  65. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  66. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  67. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  68. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  69. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  70. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  71. package/dist/runtime/style.css +1 -1
  72. package/package.json +1 -1
  73. package/dist/preview/assets/index-CA4hsfRv.js +0 -1
@@ -0,0 +1 @@
1
+ import{be as e}from"./index-DdySlgoq.js";import{bf as b,bg as r,bh as s}from"./index-DdySlgoq.js";export{b as TableConfig,r as createTableConfig,e as default,s as getColumnTechnicalKey};
@@ -1 +1 @@
1
- import{d as B,G as M,H as k,I as y,o as q,c as T,J as V,b as E,K as x,L as i,M as J,N as L,O as s,P,Q as U,R as W,S as z,T as A,U as G,V as g,W as H,X as b,Y as K}from"./index-BL58N7_5.js";import Q from"./index-uAwC9Itb.js";const Y=B({name:"ShwfedBlockAnimatedNumberItem",__name:"item",props:{item:{}},setup(h){const n=h,j=H(),a=x(void 0),m=x(0);function u(){return G(j)}function S(e){if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"&&e.trim()!==""){const t=Number(e);return Number.isFinite(t)?t:0}return 0}const d=i(()=>a.value===void 0?g():K(a.value));function v(e){if(!e)return"";try{const t=b(s(e,{...u(),json:d.value}));return t==null?"":String(t)}catch{return""}}const w=i(()=>v(n.item.prefix)),I=i(()=>v(n.item.suffix));function N(e){if(e)try{const t=b(s(e,{...u(),json:d.value}));return t==null?void 0:typeof t=="string"||typeof t=="object"?t:String(t)}catch{return}}const _=i(()=>N(n.item.style));async function r(){const e=n.item.dataSource,t=u(),F=J(function*(){let o=g();e.request&&(o=yield*L(yield*s(e.request,t)));const O=yield*s(e.value,{...t,json:o});return{json:P(o),value:O}});try{const o=await U(W(F,z));a.value=o.json,m.value=S(o.value)}catch(o){console.warn("[shwfed-animated-number] fetch failed",o)}}const l=i(()=>(n.item.pollingInterval??0)>0),C=i(()=>Math.max(1,n.item.pollingInterval??1)*1e3),c=A(),{pause:p,resume:f}=M(()=>{r()},C,{immediate:!1});return k(()=>{r(),l.value&&c.value&&f()}),y(c,e=>{l.value&&(e?(r(),f()):p())}),y(()=>[n.item.dataSource.request??"",n.item.dataSource.value,n.item.pollingInterval??0].join("|"),()=>{r(),l.value&&c.value?f():p()}),(e,t)=>(q(),T(E(Q),{value:m.value,prefix:w.value,suffix:I.value,style:V(_.value)},null,8,["value","prefix","suffix","style"]))}});export{Y as default};
1
+ import{d as B,G as M,H as k,I as y,o as q,c as T,J as V,b as E,K as x,L as i,M as J,N as L,O as s,P,Q as U,R as W,S as z,T as A,U as G,V as g,W as H,X as b,Y as K}from"./index-DdySlgoq.js";import Q from"./index-B10aTz32.js";const Y=B({name:"ShwfedBlockAnimatedNumberItem",__name:"item",props:{item:{}},setup(h){const n=h,j=H(),a=x(void 0),m=x(0);function u(){return G(j)}function S(e){if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"&&e.trim()!==""){const t=Number(e);return Number.isFinite(t)?t:0}return 0}const d=i(()=>a.value===void 0?g():K(a.value));function v(e){if(!e)return"";try{const t=b(s(e,{...u(),json:d.value}));return t==null?"":String(t)}catch{return""}}const w=i(()=>v(n.item.prefix)),I=i(()=>v(n.item.suffix));function N(e){if(e)try{const t=b(s(e,{...u(),json:d.value}));return t==null?void 0:typeof t=="string"||typeof t=="object"?t:String(t)}catch{return}}const _=i(()=>N(n.item.style));async function r(){const e=n.item.dataSource,t=u(),F=J(function*(){let o=g();e.request&&(o=yield*L(yield*s(e.request,t)));const O=yield*s(e.value,{...t,json:o});return{json:P(o),value:O}});try{const o=await U(W(F,z));a.value=o.json,m.value=S(o.value)}catch(o){console.warn("[shwfed-animated-number] fetch failed",o)}}const l=i(()=>(n.item.pollingInterval??0)>0),C=i(()=>Math.max(1,n.item.pollingInterval??1)*1e3),c=A(),{pause:p,resume:f}=M(()=>{r()},C,{immediate:!1});return k(()=>{r(),l.value&&c.value&&f()}),y(c,e=>{l.value&&(e?(r(),f()):p())}),y(()=>[n.item.dataSource.request??"",n.item.dataSource.value,n.item.pollingInterval??0].join("|"),()=>{r(),l.value&&c.value?f():p()}),(e,t)=>(q(),T(E(Q),{value:m.value,prefix:w.value,suffix:I.value,style:V(_.value)},null,8,["value","prefix","suffix","style"]))}});export{Y as default};
@@ -1 +1 @@
1
- import{d as f,a6 as u,aT as p,aU as d,aO as l,b9 as m,a9 as g,c as x,b as h,O as E,U as _,aS as b,o as B,W as k}from"./index-BL58N7_5.js";import{_ as C}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const w=f({name:"ShwfedHttpRequestBatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,{locale:a}=u(),c=k(),s=(t,o)=>E(t,{..._(c),...o}),i=b(),r=p(()=>d(l(i,e.config.before,s),()=>m(e.config.expression,s,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,continueOnError:e.config.continueOnError,markdown:g(e.config.markdown,a.value)??""})));return(t,o)=>(B(),x(C,{"action-id":n.buttonId,effect:h(r)},null,8,["action-id","effect"]))}});export{w as default};
1
+ import{d as f,a6 as u,aT as p,aU as d,aO as l,b9 as m,a9 as g,c as x,b as h,O as E,U as _,aS as b,o as B,W as k}from"./index-DdySlgoq.js";import{_ as C}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const w=f({name:"ShwfedHttpRequestBatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,{locale:a}=u(),c=k(),s=(t,o)=>E(t,{..._(c),...o}),i=b(),r=p(()=>d(l(i,e.config.before,s),()=>m(e.config.expression,s,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,continueOnError:e.config.continueOnError,markdown:g(e.config.markdown,a.value)??""})));return(t,o)=>(B(),x(C,{"action-id":n.buttonId,effect:h(r)},null,8,["action-id","effect"]))}});export{w as default};
@@ -1 +1 @@
1
- import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";import{d as n,c,b as a,o as f,aV as i}from"./index-BL58N7_5.js";const _=n({name:"ShwfedPrototypeActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(t){const e=i;return(r,s)=>(f(),c(o,{"action-id":t.buttonId,effect:a(e)},null,8,["action-id","effect"]))}});export{_ as default};
1
+ import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";import{d as n,c,b as a,o as f,aV as i}from"./index-DdySlgoq.js";const _=n({name:"ShwfedPrototypeActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(t){const e=i;return(r,s)=>(f(),c(o,{"action-id":t.buttonId,effect:a(e)},null,8,["action-id","effect"]))}});export{_ as default};
@@ -1 +1 @@
1
- import{d as f,a6 as g,M as l,aO as u,a9 as d,aP as p,aQ as m,aR as x,c as E,b as _,O as h,U as w,aS as C,W as b,o as k}from"./index-BL58N7_5.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const B=f({name:"ShwfedHttpRequestConfirmActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(c){const n=c,{locale:i}=g(),a=b(),s=(e,o)=>h(e,{...w(a),...o}),t=C(),r=l(function*(){yield*u(t,n.config.before,s);const e=d(n.config.markdown,i.value)??"",o=p(e,s);(yield*m({content:o,icon:n.config.icon,color:n.config.color}))||(yield*x(n.config.expression,s,{messageExpression:n.config.messageExpression,resultExpression:n.config.resultExpression,channel:t,triggers:{success:n.config.onSuccess,warning:n.config.onWarning,error:n.config.onError,info:n.config.onInfo}}))});return(e,o)=>(k(),E(I,{"action-id":c.buttonId,effect:_(r)},null,8,["action-id","effect"]))}});export{B as default};
1
+ import{d as f,a6 as g,M as l,aO as u,a9 as d,aP as p,aQ as m,aR as x,c as E,b as _,O as h,U as w,aS as C,W as b,o as k}from"./index-DdySlgoq.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const B=f({name:"ShwfedHttpRequestConfirmActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(c){const n=c,{locale:i}=g(),a=b(),s=(e,o)=>h(e,{...w(a),...o}),t=C(),r=l(function*(){yield*u(t,n.config.before,s);const e=d(n.config.markdown,i.value)??"",o=p(e,s);(yield*m({content:o,icon:n.config.icon,color:n.config.color}))||(yield*x(n.config.expression,s,{messageExpression:n.config.messageExpression,resultExpression:n.config.resultExpression,channel:t,triggers:{success:n.config.onSuccess,warning:n.config.onWarning,error:n.config.onError,info:n.config.onInfo}}))});return(e,o)=>(k(),E(I,{"action-id":c.buttonId,effect:_(r)},null,8,["action-id","effect"]))}});export{B as default};
@@ -1 +1 @@
1
- import{d as u,a6 as i,c as l,b as p,L as m,o as d,h as f,a9 as _,aP as k,O as w,U as x,W as g}from"./index-BL58N7_5.js";const B=u({name:"ShwfedMarkdownItemRuntime",__name:"runtime",props:{config:{}},setup(s){const o=s,{locale:a}=i(),t=g(),c=(e,n)=>w(e,{...x(t),...n}),r=m(()=>{const e=_(o.config.content,a.value)??"";return k(e,c)});return(e,n)=>(d(),l(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,a6 as i,c as l,b as p,L as m,o as d,h as f,a9 as _,aP as k,O as w,U as x,W as g}from"./index-DdySlgoq.js";const B=u({name:"ShwfedMarkdownItemRuntime",__name:"runtime",props:{config:{}},setup(s){const o=s,{locale:a}=i(),t=g(),c=(e,n)=>w(e,{...x(t),...n}),r=m(()=>{const e=_(o.config.content,a.value)??"";return k(e,c)});return(e,n)=>(d(),l(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{d as f,aT as u,aW as d,aX as l,aY as m,c as p,b as w,aZ as _,O as g,U as h,W as b,o as x}from"./index-BL58N7_5.js";import{_ as k}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const C=f({name:"ShwfedNavigationActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(t){const o=t,a=_(),i=b(),c=(n,e)=>g(n,{...h(i),...e});function s(n){try{return new URL(n,window.location.href).origin!==window.location.origin}catch{return!1}}const r=u(()=>d(c(o.config.url),n=>l(async()=>{const e=s(n);if(o.config.mode==="_blank"){window.open(e?n:a.resolve(n).href,"_blank");return}await m(n)})));return(n,e)=>(x(),p(k,{"action-id":t.buttonId,effect:w(r)},null,8,["action-id","effect"]))}});export{C as default};
1
+ import{d as f,aT as u,aW as d,aX as l,aY as m,c as p,b as w,aZ as _,O as g,U as h,W as b,o as x}from"./index-DdySlgoq.js";import{_ as k}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const C=f({name:"ShwfedNavigationActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(t){const o=t,a=_(),i=b(),c=(n,e)=>g(n,{...h(i),...e});function s(n){try{return new URL(n,window.location.href).origin!==window.location.origin}catch{return!1}}const r=u(()=>d(c(o.config.url),n=>l(async()=>{const e=s(n);if(o.config.mode==="_blank"){window.open(e?n:a.resolve(n).href,"_blank");return}await m(n)})));return(n,e)=>(x(),p(k,{"action-id":t.buttonId,effect:w(r)},null,8,["action-id","effect"]))}});export{C as default};
@@ -1 +1 @@
1
- import{d as h,aT as S,M as _,b0 as r,aO as m,b5 as E,b6 as j,c as v,b as x,O as B,U as L,aS as k,W as C,o as O}from"./index-BL58N7_5.js";import{_ as R}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const q=h({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=C(),t=(e,n)=>B(e,{...L(g),...n}),l=k(),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=S(()=>_(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,t)}const a={json:yield*u.json()},i=o===void 0?"success":yield*E(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 b=yield*(yield*t(e.download,a)).file();yield*r(()=>f(b))}const w={success:c.config.onSuccess,warning:c.config.onWarning,error:c.config.onError,info:c.config.onInfo};return yield*m(l,w[i],t)}));return(e,n)=>(O(),v(R,{"action-id":d.buttonId,effect:x(y)},null,8,["action-id","effect"]))}});export{q as default};
1
+ import{d as h,aT as S,M as _,b0 as r,aO as m,b5 as E,b6 as j,c as v,b as x,O as B,U as L,aS as k,W as C,o as O}from"./index-DdySlgoq.js";import{_ as R}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const q=h({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=C(),t=(e,n)=>B(e,{...L(g),...n}),l=k(),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=S(()=>_(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,t)}const a={json:yield*u.json()},i=o===void 0?"success":yield*E(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 b=yield*(yield*t(e.download,a)).file();yield*r(()=>f(b))}const w={success:c.config.onSuccess,warning:c.config.onWarning,error:c.config.onError,info:c.config.onInfo};return yield*m(l,w[i],t)}));return(e,n)=>(O(),v(R,{"action-id":d.buttonId,effect:x(y)},null,8,["action-id","effect"]))}});export{q as default};
@@ -1 +1 @@
1
- import{d as s,a6 as B,a_ as M,M as p,a9 as c,a$ as x,X as T,c as N,w as d,b as u,K as S,$ as k,aS as L,b0 as $,o as w,j as F,J as I,a as r,b1 as j,b2 as A,aF as H,W as K,b3 as f,a3 as m,b4 as V}from"./index-BL58N7_5.js";import{_ as z}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const Y=s({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(n){const a=n,{locale:l}=B(),v=e=>{},h=K(),i=k(f,void 0),g=L(),o=S(null),C=M(a.buttonId,{close:()=>$(()=>{o.value?.()})},g),_=s({name:"ModalBoundaryBridge",setup(e,{slots:t}){return A(h),m(V,C),i&&m(f,i),()=>t.default?.()}}),b=(e,t)=>H()?.(e,t),E=p(function*(){const e=c(a.config.modalTitle,l.value)??c(a.buttonTitle,l.value)??"",{modal:t,close:y}=yield*x({title:e,width:a.config.modalWidth});o.value=()=>T(y()),yield*t,o.value=null});return(e,t)=>(w(),N(z,{"action-id":n.buttonId,effect:u(E)},{default:d(()=>[F("div",{style:I(n.config.modalMinHeight?`min-height: ${n.config.modalMinHeight}`:void 0)},[r(u(_),null,{default:d(()=>[r(j,{"slot-value":n.config.slot,configure:v,"find-entry":b},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{Y as default};
1
+ import{d as s,a6 as B,a_ as M,M as p,a9 as c,a$ as x,X as T,c as N,w as d,b as u,K as S,$ as k,aS as L,b0 as $,o as w,j as F,J as I,a as r,b1 as j,b2 as A,aF as H,W as K,b3 as f,a3 as m,b4 as V}from"./index-DdySlgoq.js";import{_ as z}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const Y=s({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(n){const a=n,{locale:l}=B(),v=e=>{},h=K(),i=k(f,void 0),g=L(),o=S(null),C=M(a.buttonId,{close:()=>$(()=>{o.value?.()})},g),_=s({name:"ModalBoundaryBridge",setup(e,{slots:t}){return A(h),m(V,C),i&&m(f,i),()=>t.default?.()}}),b=(e,t)=>H()?.(e,t),E=p(function*(){const e=c(a.config.modalTitle,l.value)??c(a.buttonTitle,l.value)??"",{modal:t,close:y}=yield*x({title:e,width:a.config.modalWidth});o.value=()=>T(y()),yield*t,o.value=null});return(e,t)=>(w(),N(z,{"action-id":n.buttonId,effect:u(E)},{default:d(()=>[F("div",{style:I(n.config.modalMinHeight?`min-height: ${n.config.modalMinHeight}`:void 0)},[r(u(_),null,{default:d(()=>[r(j,{"slot-value":n.config.slot,configure:v,"find-entry":b},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{Y as default};
@@ -1 +1 @@
1
- import{d as r,aT as f,aU as u,aO as g,aR as p,c as d,b as m,O as l,U as x,aS as h,W as E,o as _}from"./index-BL58N7_5.js";import{_ as b}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const B=r({name:"ShwfedHttpRequestActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,i=E(),s=(t,c)=>l(t,{...x(i),...c}),o=h(),a=f(()=>u(g(o,e.config.before,s),()=>p(e.config.expression,s,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,channel:o,triggers:{success:e.config.onSuccess,warning:e.config.onWarning,error:e.config.onError,info:e.config.onInfo}})));return(t,c)=>(_(),d(b,{"action-id":n.buttonId,effect:m(a)},null,8,["action-id","effect"]))}});export{B as default};
1
+ import{d as r,aT as f,aU as u,aO as g,aR as p,c as d,b as m,O as l,U as x,aS as h,W as E,o as _}from"./index-DdySlgoq.js";import{_ as b}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const B=r({name:"ShwfedHttpRequestActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,i=E(),s=(t,c)=>l(t,{...x(i),...c}),o=h(),a=f(()=>u(g(o,e.config.before,s),()=>p(e.config.expression,s,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,channel:o,triggers:{success:e.config.onSuccess,warning:e.config.onWarning,error:e.config.onError,info:e.config.onInfo}})));return(t,c)=>(_(),d(b,{"action-id":n.buttonId,effect:m(a)},null,8,["action-id","effect"]))}});export{B as default};
@@ -1 +1 @@
1
- import{d as l,b7 as g,aT as A,aW as y,aO as b,c as S,b as _,O as h,U as O,aS as j,b8 as k,W as C,o as B}from"./index-BL58N7_5.js";import{_ as W}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const F=l({name:"ShwfedStateWriteActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(s){const a=s,f=C(),c=(e,t)=>h(e,{...O(f),...t}),n=g(),o=n.kind==="form"&&n.parent?n.parent:n,u=j(),m=k((e,t,r)=>{if(Array.isArray(e[t])&&Array.isArray(r))return e[t]=r,!0});function i(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function p(e,t){return i(e)&&i(t)?m({...t},e):t}const d=A(()=>y(c(a.config.expression),e=>{for(const t of Object.keys(e)){const r=p(o.getAt(t),e[t]);o.setAt(t,r)}return b(u,a.config.onSuccess,c)}));return(e,t)=>(B(),S(W,{"action-id":s.buttonId,effect:_(d)},null,8,["action-id","effect"]))}});export{F as default};
1
+ import{d as l,b7 as g,aT as A,aW as y,aO as b,c as S,b as _,O as h,U as O,aS as j,b8 as k,W as C,o as B}from"./index-DdySlgoq.js";import{_ as W}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const F=l({name:"ShwfedStateWriteActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(s){const a=s,f=C(),c=(e,t)=>h(e,{...O(f),...t}),n=g(),o=n.kind==="form"&&n.parent?n.parent:n,u=j(),m=k((e,t,r)=>{if(Array.isArray(e[t])&&Array.isArray(r))return e[t]=r,!0});function i(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function p(e,t){return i(e)&&i(t)?m({...t},e):t}const d=A(()=>y(c(a.config.expression),e=>{for(const t of Object.keys(e)){const r=p(o.getAt(t),e[t]);o.setAt(t,r)}return b(u,a.config.onSuccess,c)}));return(e,t)=>(B(),S(W,{"action-id":s.buttonId,effect:_(d)},null,8,["action-id","effect"]))}});export{F as default};
@@ -1 +1 @@
1
- import{d as r,aT as f,aO as d,c as u,b as m,aS as p,o as l,O as g,U as h,W as _}from"./index-BL58N7_5.js";import{_ as C}from"./definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js";const B=r({name:"ShwfedEventDispatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const c=e,s=_(),a=(n,t)=>g(n,{...h(s),...t}),o=p(),i=f(()=>d(o,c.config.triggers,a));return(n,t)=>(l(),u(C,{"action-id":e.buttonId,effect:m(i)},null,8,["action-id","effect"]))}});export{B as default};
1
+ import{d as r,aT as f,aO as d,c as u,b as m,aS as p,o as l,O as g,U as h,W as _}from"./index-DdySlgoq.js";import{_ as C}from"./definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js";const B=r({name:"ShwfedEventDispatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const c=e,s=_(),a=(n,t)=>g(n,{...h(s),...t}),o=p(),i=f(()=>d(o,c.config.triggers,a));return(n,t)=>(l(),u(C,{"action-id":e.buttonId,effect:m(i)},null,8,["action-id","effect"]))}});export{B as default};
@@ -1 +1 @@
1
- import{C as o,D as l,E as d}from"./index-BL58N7_5.js";function i(n){switch(n._tag){case"TypeLiteral":return n;case"Transformation":return i(n.to);case"Refinement":return i(n.from);case"Suspend":return i(n.f());default:return null}}function p(n,t){const e=i(n.ast);return e?e.propertySignatures.find(r=>r.name===t)??null:null}function y(n){const t=n.type;if(t._tag==="Union"&&n.isOptional){const e=t.types.find(r=>r._tag!=="UndefinedKeyword");if(e)return e}return t}function c(n,t,e){const r=p(n,t);if(!r)return;const u=e(r);if(o(u))return u.value;const f=y(r),s=e(f);if(o(s))return s.value;if(f!==r.type){const a=e(r.type);if(o(a))return a.value}}function m(n,t){return c(n,t,l)}function v(n,t){return c(n,t,d)}export{v as a,m as g};
1
+ import{C as o,D as l,E as d}from"./index-DdySlgoq.js";function i(n){switch(n._tag){case"TypeLiteral":return n;case"Transformation":return i(n.to);case"Refinement":return i(n.from);case"Suspend":return i(n.f());default:return null}}function p(n,t){const e=i(n.ast);return e?e.propertySignatures.find(r=>r.name===t)??null:null}function y(n){const t=n.type;if(t._tag==="Union"&&n.isOptional){const e=t.types.find(r=>r._tag!=="UndefinedKeyword");if(e)return e}return t}function c(n,t,e){const r=p(n,t);if(!r)return;const u=e(r);if(o(u))return u.value;const f=y(r),s=e(f);if(o(s))return s.value;if(f!==r.type){const a=e(r.type);if(o(a))return a.value}}function m(n,t){return c(n,t,l)}function v(n,t){return c(n,t,d)}export{v as a,m as g};
@@ -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-BL58N7_5.js"></script>
14
- <link rel="stylesheet" crossorigin href="./assets/index-CyVzfRGQ.css">
13
+ <script type="module" crossorigin src="./assets/index-DdySlgoq.js"></script>
14
+ <link rel="stylesheet" crossorigin href="./assets/index-Cc4BT5dc.css">
15
15
  </head>
16
16
  <body>
17
17
  <div id="app"></div>
@@ -4,6 +4,15 @@ import type { ActionsConfig } from '../schema.js';
4
4
  type ActionConfigType = Schema.Schema.Type<ReturnType<typeof ActionsConfig>>;
5
5
  type __VLS_Props = {
6
6
  configure?: (env: Environment) => void;
7
+ /**
8
+ * When set, buttons grow to divide the bar's width instead of left-packing
9
+ * at their natural size. Gated purely by free space: a stretched container
10
+ * (the actions block's default placement) divides; an alignment-shrunk
11
+ * container (`左对齐`/`居中`/`右对齐`) has no slack so buttons stay natural.
12
+ * Hosts that want a compact toolbar (table column, tree node) leave it off;
13
+ * the actions block and the form actions field opt in.
14
+ */
15
+ fill?: boolean;
7
16
  };
8
17
  type __VLS_ModelProps = {
9
18
  'config': ActionConfigType;
@@ -22,7 +22,8 @@ defineOptions({
22
22
  inheritAttrs: false
23
23
  });
24
24
  defineProps({
25
- configure: { type: Function, required: false }
25
+ configure: { type: Function, required: false },
26
+ fill: { type: Boolean, required: false }
26
27
  });
27
28
  const config = defineModel("config", { type: null, ...{ required: true } });
28
29
  const isDevelopment = import.meta.dev;
@@ -223,6 +224,21 @@ const groupedItems = computed(() => {
223
224
  const rootStyle = computed(() => ({
224
225
  gap: `calc(${config.value.gap ?? 4} * 0.25rem)`
225
226
  }));
227
+ function renderedChildCount(group) {
228
+ let n = 0;
229
+ for (const item of group.items) {
230
+ if (isRegistryItem(item)) {
231
+ if (getItemRuntime(item)) n++;
232
+ continue;
233
+ }
234
+ if (isDropdownItem(item)) {
235
+ if (hasVisibleDropdownItems(item)) n++;
236
+ continue;
237
+ }
238
+ if (!isButtonHidden(item)) n++;
239
+ }
240
+ return n;
241
+ }
226
242
  function getButtonLabel(button) {
227
243
  return getLocalizedText(button.title, locale.value) ?? t("untitled-button");
228
244
  }
@@ -367,6 +383,7 @@ async function runButton(buttonId) {
367
383
  <ClientOnly>
368
384
  <div
369
385
  data-slot="buttons"
386
+ :data-fill="fill || void 0"
370
387
  :class="cn('relative flex flex-wrap items-baseline')"
371
388
  :style="[
372
389
  rootStyle,
@@ -388,6 +405,8 @@ async function runButton(buttonId) {
388
405
  <ButtonGroup
389
406
  v-for="group in groupedItems"
390
407
  :key="group.id"
408
+ class="actions-group"
409
+ :style="{ '--ag-grow': String(renderedChildCount(group)) }"
391
410
  data-slot="buttons-group"
392
411
  orientation="horizontal"
393
412
  >
@@ -4,6 +4,15 @@ import type { ActionsConfig } from '../schema.js';
4
4
  type ActionConfigType = Schema.Schema.Type<ReturnType<typeof ActionsConfig>>;
5
5
  type __VLS_Props = {
6
6
  configure?: (env: Environment) => void;
7
+ /**
8
+ * When set, buttons grow to divide the bar's width instead of left-packing
9
+ * at their natural size. Gated purely by free space: a stretched container
10
+ * (the actions block's default placement) divides; an alignment-shrunk
11
+ * container (`左对齐`/`居中`/`右对齐`) has no slack so buttons stay natural.
12
+ * Hosts that want a compact toolbar (table column, tree node) leave it off;
13
+ * the actions block and the form actions field opt in.
14
+ */
15
+ fill?: boolean;
7
16
  };
8
17
  type __VLS_ModelProps = {
9
18
  'config': ActionConfigType;
@@ -18,5 +18,6 @@ const actionsConfig = computed({
18
18
  <ActionsRuntime
19
19
  v-model:config="actionsConfig"
20
20
  :configure="configure"
21
+ fill
21
22
  />
22
23
  </template>
@@ -22,5 +22,6 @@ const actionsConfig = computed(() => ({
22
22
  <template>
23
23
  <ShwfedActions
24
24
  :config="actionsConfig"
25
+ fill
25
26
  />
26
27
  </template>
@@ -33,8 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
- readonly rangeSeparatorIcon?: string | undefined;
37
36
  readonly format?: string | undefined;
37
+ readonly valueFormat?: string | undefined;
38
+ readonly rangeSeparatorIcon?: string | undefined;
38
39
  readonly startPlaceholder?: readonly [{
39
40
  readonly locale: "zh";
40
41
  readonly message: string;
@@ -49,7 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
49
50
  readonly locale: "en" | "ja" | "ko";
50
51
  readonly message: string;
51
52
  }[]] | undefined;
52
- readonly valueFormat?: string | undefined;
53
53
  readonly validations?: readonly {
54
54
  readonly message: readonly [{
55
55
  readonly locale: "zh";
@@ -105,8 +105,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly expression: string;
106
106
  } | undefined;
107
107
  readonly numberOfMonths?: number | undefined;
108
- readonly rangeSeparatorIcon?: string | undefined;
109
108
  readonly format?: string | undefined;
109
+ readonly valueFormat?: string | undefined;
110
+ readonly rangeSeparatorIcon?: string | undefined;
110
111
  readonly startPlaceholder?: readonly [{
111
112
  readonly locale: "zh";
112
113
  readonly message: string;
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
122
  readonly locale: "en" | "ja" | "ko";
122
123
  readonly message: string;
123
124
  }[]] | undefined;
124
- readonly valueFormat?: string | undefined;
125
125
  readonly validations?: readonly {
126
126
  readonly message: readonly [{
127
127
  readonly locale: "zh";
@@ -33,8 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
- readonly rangeSeparatorIcon?: string | undefined;
37
36
  readonly format?: string | undefined;
37
+ readonly valueFormat?: string | undefined;
38
+ readonly rangeSeparatorIcon?: string | undefined;
38
39
  readonly startPlaceholder?: readonly [{
39
40
  readonly locale: "zh";
40
41
  readonly message: string;
@@ -49,7 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
49
50
  readonly locale: "en" | "ja" | "ko";
50
51
  readonly message: string;
51
52
  }[]] | undefined;
52
- readonly valueFormat?: string | undefined;
53
53
  readonly validations?: readonly {
54
54
  readonly message: readonly [{
55
55
  readonly locale: "zh";
@@ -105,8 +105,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly expression: string;
106
106
  } | undefined;
107
107
  readonly numberOfMonths?: number | undefined;
108
- readonly rangeSeparatorIcon?: string | undefined;
109
108
  readonly format?: string | undefined;
109
+ readonly valueFormat?: string | undefined;
110
+ readonly rangeSeparatorIcon?: string | undefined;
110
111
  readonly startPlaceholder?: readonly [{
111
112
  readonly locale: "zh";
112
113
  readonly message: string;
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
122
  readonly locale: "en" | "ja" | "ko";
122
123
  readonly message: string;
123
124
  }[]] | undefined;
124
- readonly valueFormat?: string | undefined;
125
125
  readonly validations?: readonly {
126
126
  readonly message: readonly [{
127
127
  readonly locale: "zh";
@@ -34,8 +34,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
36
  readonly hourCycle?: 12 | 24 | undefined;
37
- readonly rangeSeparatorIcon?: string | undefined;
38
37
  readonly format?: string | undefined;
38
+ readonly valueFormat?: string | undefined;
39
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
40
+ readonly rangeSeparatorIcon?: string | undefined;
39
41
  readonly startPlaceholder?: readonly [{
40
42
  readonly locale: "zh";
41
43
  readonly message: string;
@@ -50,8 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
52
  readonly locale: "en" | "ja" | "ko";
51
53
  readonly message: string;
52
54
  }[]] | undefined;
53
- readonly valueFormat?: string | undefined;
54
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
55
55
  readonly validations?: readonly {
56
56
  readonly message: readonly [{
57
57
  readonly locale: "zh";
@@ -108,8 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  } | undefined;
109
109
  readonly numberOfMonths?: number | undefined;
110
110
  readonly hourCycle?: 12 | 24 | undefined;
111
- readonly rangeSeparatorIcon?: string | undefined;
112
111
  readonly format?: string | undefined;
112
+ readonly valueFormat?: string | undefined;
113
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
114
+ readonly rangeSeparatorIcon?: string | undefined;
113
115
  readonly startPlaceholder?: readonly [{
114
116
  readonly locale: "zh";
115
117
  readonly message: string;
@@ -124,8 +126,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
124
126
  readonly locale: "en" | "ja" | "ko";
125
127
  readonly message: string;
126
128
  }[]] | undefined;
127
- readonly valueFormat?: string | undefined;
128
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
129
129
  readonly validations?: readonly {
130
130
  readonly message: readonly [{
131
131
  readonly locale: "zh";
@@ -34,8 +34,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
36
  readonly hourCycle?: 12 | 24 | undefined;
37
- readonly rangeSeparatorIcon?: string | undefined;
38
37
  readonly format?: string | undefined;
38
+ readonly valueFormat?: string | undefined;
39
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
40
+ readonly rangeSeparatorIcon?: string | undefined;
39
41
  readonly startPlaceholder?: readonly [{
40
42
  readonly locale: "zh";
41
43
  readonly message: string;
@@ -50,8 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
52
  readonly locale: "en" | "ja" | "ko";
51
53
  readonly message: string;
52
54
  }[]] | undefined;
53
- readonly valueFormat?: string | undefined;
54
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
55
55
  readonly validations?: readonly {
56
56
  readonly message: readonly [{
57
57
  readonly locale: "zh";
@@ -108,8 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  } | undefined;
109
109
  readonly numberOfMonths?: number | undefined;
110
110
  readonly hourCycle?: 12 | 24 | undefined;
111
- readonly rangeSeparatorIcon?: string | undefined;
112
111
  readonly format?: string | undefined;
112
+ readonly valueFormat?: string | undefined;
113
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
114
+ readonly rangeSeparatorIcon?: string | undefined;
113
115
  readonly startPlaceholder?: readonly [{
114
116
  readonly locale: "zh";
115
117
  readonly message: string;
@@ -124,8 +126,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
124
126
  readonly locale: "en" | "ja" | "ko";
125
127
  readonly message: string;
126
128
  }[]] | undefined;
127
- readonly valueFormat?: string | undefined;
128
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
129
129
  readonly validations?: readonly {
130
130
  readonly message: readonly [{
131
131
  readonly locale: "zh";
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly hourCycle?: 12 | 24 | undefined;
36
- readonly rangeSeparatorIcon?: string | undefined;
37
36
  readonly valueFormat?: string | undefined;
38
37
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
38
+ readonly rangeSeparatorIcon?: string | undefined;
39
39
  readonly validations?: readonly {
40
40
  readonly message: readonly [{
41
41
  readonly locale: "zh";
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  readonly expression: string;
80
80
  } | undefined;
81
81
  readonly hourCycle?: 12 | 24 | undefined;
82
- readonly rangeSeparatorIcon?: string | undefined;
83
82
  readonly valueFormat?: string | undefined;
84
83
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
84
+ readonly rangeSeparatorIcon?: string | undefined;
85
85
  readonly validations?: readonly {
86
86
  readonly message: readonly [{
87
87
  readonly locale: "zh";
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly hourCycle?: 12 | 24 | undefined;
36
- readonly rangeSeparatorIcon?: string | undefined;
37
36
  readonly valueFormat?: string | undefined;
38
37
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
38
+ readonly rangeSeparatorIcon?: string | undefined;
39
39
  readonly validations?: readonly {
40
40
  readonly message: readonly [{
41
41
  readonly locale: "zh";
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  readonly expression: string;
80
80
  } | undefined;
81
81
  readonly hourCycle?: 12 | 24 | undefined;
82
- readonly rangeSeparatorIcon?: string | undefined;
83
82
  readonly valueFormat?: string | undefined;
84
83
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
84
+ readonly rangeSeparatorIcon?: string | undefined;
85
85
  readonly validations?: readonly {
86
86
  readonly message: readonly [{
87
87
  readonly locale: "zh";
@@ -47,6 +47,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
47
47
  readonly request?: string | undefined;
48
48
  };
49
49
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
50
+ readonly validations?: readonly {
51
+ readonly message: readonly [{
52
+ readonly locale: "zh";
53
+ readonly message: string;
54
+ }, ...{
55
+ readonly locale: "en" | "ja" | "ko";
56
+ readonly message: string;
57
+ }[]];
58
+ readonly warning?: boolean | undefined;
59
+ readonly when: string;
60
+ }[] | undefined;
50
61
  readonly nodeKey: string;
51
62
  readonly nodeChildren: string;
52
63
  readonly nodeLabel: readonly [{
@@ -65,17 +76,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
76
  }[]] | undefined;
66
77
  readonly nodeSelectable?: string | undefined;
67
78
  readonly expandAll: boolean;
68
- readonly validations?: readonly {
69
- readonly message: readonly [{
70
- readonly locale: "zh";
71
- readonly message: string;
72
- }, ...{
73
- readonly locale: "en" | "ja" | "ko";
74
- readonly message: string;
75
- }[]];
76
- readonly warning?: boolean | undefined;
77
- readonly when: string;
78
- }[] | undefined;
79
79
  }) => any;
80
80
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
81
81
  "onUpdate:modelValue"?: ((value: {
@@ -122,6 +122,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
122
122
  readonly request?: string | undefined;
123
123
  };
124
124
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
125
+ readonly validations?: readonly {
126
+ readonly message: readonly [{
127
+ readonly locale: "zh";
128
+ readonly message: string;
129
+ }, ...{
130
+ readonly locale: "en" | "ja" | "ko";
131
+ readonly message: string;
132
+ }[]];
133
+ readonly warning?: boolean | undefined;
134
+ readonly when: string;
135
+ }[] | undefined;
125
136
  readonly nodeKey: string;
126
137
  readonly nodeChildren: string;
127
138
  readonly nodeLabel: readonly [{
@@ -140,17 +151,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
151
  }[]] | undefined;
141
152
  readonly nodeSelectable?: string | undefined;
142
153
  readonly expandAll: boolean;
143
- readonly validations?: readonly {
144
- readonly message: readonly [{
145
- readonly locale: "zh";
146
- readonly message: string;
147
- }, ...{
148
- readonly locale: "en" | "ja" | "ko";
149
- readonly message: string;
150
- }[]];
151
- readonly warning?: boolean | undefined;
152
- readonly when: string;
153
- }[] | undefined;
154
154
  }) => any) | undefined;
155
155
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
156
156
  declare const _default: typeof __VLS_export;
@@ -47,6 +47,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
47
47
  readonly request?: string | undefined;
48
48
  };
49
49
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
50
+ readonly validations?: readonly {
51
+ readonly message: readonly [{
52
+ readonly locale: "zh";
53
+ readonly message: string;
54
+ }, ...{
55
+ readonly locale: "en" | "ja" | "ko";
56
+ readonly message: string;
57
+ }[]];
58
+ readonly warning?: boolean | undefined;
59
+ readonly when: string;
60
+ }[] | undefined;
50
61
  readonly nodeKey: string;
51
62
  readonly nodeChildren: string;
52
63
  readonly nodeLabel: readonly [{
@@ -65,17 +76,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
76
  }[]] | undefined;
66
77
  readonly nodeSelectable?: string | undefined;
67
78
  readonly expandAll: boolean;
68
- readonly validations?: readonly {
69
- readonly message: readonly [{
70
- readonly locale: "zh";
71
- readonly message: string;
72
- }, ...{
73
- readonly locale: "en" | "ja" | "ko";
74
- readonly message: string;
75
- }[]];
76
- readonly warning?: boolean | undefined;
77
- readonly when: string;
78
- }[] | undefined;
79
79
  }) => any;
80
80
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
81
81
  "onUpdate:modelValue"?: ((value: {
@@ -122,6 +122,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
122
122
  readonly request?: string | undefined;
123
123
  };
124
124
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
125
+ readonly validations?: readonly {
126
+ readonly message: readonly [{
127
+ readonly locale: "zh";
128
+ readonly message: string;
129
+ }, ...{
130
+ readonly locale: "en" | "ja" | "ko";
131
+ readonly message: string;
132
+ }[]];
133
+ readonly warning?: boolean | undefined;
134
+ readonly when: string;
135
+ }[] | undefined;
125
136
  readonly nodeKey: string;
126
137
  readonly nodeChildren: string;
127
138
  readonly nodeLabel: readonly [{
@@ -140,17 +151,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
151
  }[]] | undefined;
141
152
  readonly nodeSelectable?: string | undefined;
142
153
  readonly expandAll: boolean;
143
- readonly validations?: readonly {
144
- readonly message: readonly [{
145
- readonly locale: "zh";
146
- readonly message: string;
147
- }, ...{
148
- readonly locale: "en" | "ja" | "ko";
149
- readonly message: string;
150
- }[]];
151
- readonly warning?: boolean | undefined;
152
- readonly when: string;
153
- }[] | undefined;
154
154
  }) => any) | undefined;
155
155
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
156
156
  declare const _default: typeof __VLS_export;
@@ -32,8 +32,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
32
32
  readonly mode: "formula" | "prefill";
33
33
  readonly expression: string;
34
34
  } | undefined;
35
- readonly rangeSeparatorIcon?: string | undefined;
36
35
  readonly format?: string | undefined;
36
+ readonly valueFormat?: string | undefined;
37
+ readonly rangeSeparatorIcon?: string | undefined;
37
38
  readonly startPlaceholder?: readonly [{
38
39
  readonly locale: "zh";
39
40
  readonly message: string;
@@ -48,7 +49,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
48
49
  readonly locale: "en" | "ja" | "ko";
49
50
  readonly message: string;
50
51
  }[]] | undefined;
51
- readonly valueFormat?: string | undefined;
52
52
  readonly validations?: readonly {
53
53
  readonly message: readonly [{
54
54
  readonly locale: "zh";
@@ -103,8 +103,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
103
103
  readonly mode: "formula" | "prefill";
104
104
  readonly expression: string;
105
105
  } | undefined;
106
- readonly rangeSeparatorIcon?: string | undefined;
107
106
  readonly format?: string | undefined;
107
+ readonly valueFormat?: string | undefined;
108
+ readonly rangeSeparatorIcon?: string | undefined;
108
109
  readonly startPlaceholder?: readonly [{
109
110
  readonly locale: "zh";
110
111
  readonly message: string;
@@ -119,7 +120,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
119
120
  readonly locale: "en" | "ja" | "ko";
120
121
  readonly message: string;
121
122
  }[]] | undefined;
122
- readonly valueFormat?: string | undefined;
123
123
  readonly validations?: readonly {
124
124
  readonly message: readonly [{
125
125
  readonly locale: "zh";
@@ -32,8 +32,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
32
32
  readonly mode: "formula" | "prefill";
33
33
  readonly expression: string;
34
34
  } | undefined;
35
- readonly rangeSeparatorIcon?: string | undefined;
36
35
  readonly format?: string | undefined;
36
+ readonly valueFormat?: string | undefined;
37
+ readonly rangeSeparatorIcon?: string | undefined;
37
38
  readonly startPlaceholder?: readonly [{
38
39
  readonly locale: "zh";
39
40
  readonly message: string;
@@ -48,7 +49,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
48
49
  readonly locale: "en" | "ja" | "ko";
49
50
  readonly message: string;
50
51
  }[]] | undefined;
51
- readonly valueFormat?: string | undefined;
52
52
  readonly validations?: readonly {
53
53
  readonly message: readonly [{
54
54
  readonly locale: "zh";
@@ -103,8 +103,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
103
103
  readonly mode: "formula" | "prefill";
104
104
  readonly expression: string;
105
105
  } | undefined;
106
- readonly rangeSeparatorIcon?: string | undefined;
107
106
  readonly format?: string | undefined;
107
+ readonly valueFormat?: string | undefined;
108
+ readonly rangeSeparatorIcon?: string | undefined;
108
109
  readonly startPlaceholder?: readonly [{
109
110
  readonly locale: "zh";
110
111
  readonly message: string;
@@ -119,7 +120,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
119
120
  readonly locale: "en" | "ja" | "ko";
120
121
  readonly message: string;
121
122
  }[]] | undefined;
122
- readonly valueFormat?: string | undefined;
123
123
  readonly validations?: readonly {
124
124
  readonly message: readonly [{
125
125
  readonly locale: "zh";