@shwfed/config 2.3.11 → 2.3.12

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 (91) hide show
  1. package/dist/mcp.mjs +664 -525
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{config-DNokxY7M.js → config-B-1L3Ra-.js} +1 -1
  4. package/dist/preview/assets/{config-_uPI8qV-.js → config-Cf5kO84H.js} +1 -1
  5. package/dist/preview/assets/{config-Bp91DUdU.js → config-DTQkLHVw.js} +1 -1
  6. package/dist/preview/assets/{config-_msO_f2R.js → config-DqxN0Byp.js} +1 -1
  7. package/dist/preview/assets/{config-BZahzuEc.js → config-QUQ71Eo6.js} +1 -1
  8. package/dist/preview/assets/{config-BnZQO-Sp.js → config-oO93sSer.js} +1 -1
  9. package/dist/preview/assets/{config-Be-2ZA2R.js → config-sJ5XKUJy.js} +1 -1
  10. package/dist/preview/assets/{config-57-v4VXo.js → config-zCMkbPQt.js} +1 -1
  11. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-BtScXbs1.js → definition.vue_vue_type_script_setup_true_lang-D-OVRv68.js} +1 -1
  12. package/dist/preview/assets/index-Br_eXThF.css +1 -0
  13. package/dist/preview/assets/index-D8QyOVfp.js +637 -0
  14. package/dist/preview/assets/index-b_t8yWJJ.js +1 -0
  15. package/dist/preview/assets/{runtime-BBms4myv.js → runtime-10_7L7Gz.js} +1 -1
  16. package/dist/preview/assets/{runtime-cKWSGFod.js → runtime-B2EP6060.js} +1 -1
  17. package/dist/preview/assets/{runtime-B9u14qqB.js → runtime-BxlgShjU.js} +1 -1
  18. package/dist/preview/assets/{runtime-Dk9u-Ybw.js → runtime-Cv2doZNu.js} +1 -1
  19. package/dist/preview/assets/{runtime-XXqIAt53.js → runtime-CzDUrqSa.js} +1 -1
  20. package/dist/preview/assets/{runtime-CfR7ZAND.js → runtime-DcYhXvSk.js} +1 -1
  21. package/dist/preview/assets/{runtime-w7V-p3t1.js → runtime-DlDhRVII.js} +1 -1
  22. package/dist/preview/assets/{runtime-D3EyeiyA.js → runtime-cmkN6aik.js} +1 -1
  23. package/dist/preview/index.html +2 -2
  24. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +1 -1
  25. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +4 -0
  26. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.js +6 -17
  27. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +18 -18
  28. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +18 -18
  29. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +4 -4
  30. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +4 -4
  31. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +22 -22
  32. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +22 -22
  33. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +2 -2
  34. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +2 -2
  35. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +4 -4
  36. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +4 -4
  37. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +12 -12
  38. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +12 -12
  39. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +10 -10
  40. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +10 -10
  41. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.d.vue.ts +12 -12
  42. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue.d.ts +12 -12
  43. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +133 -0
  44. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue +605 -0
  45. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +133 -0
  46. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.d.vue.ts +8 -0
  47. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue +324 -0
  48. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue.d.ts +8 -0
  49. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +99 -0
  50. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.js +129 -0
  51. package/dist/runtime/components/form/unit-config.vue +0 -23
  52. package/dist/runtime/components/table/config.d.vue.ts +2 -2
  53. package/dist/runtime/components/table/config.vue +5 -45
  54. package/dist/runtime/components/table/config.vue.d.ts +2 -2
  55. package/dist/runtime/components/table/schema.d.ts +9 -2
  56. package/dist/runtime/components/table/schema.js +30 -14
  57. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.d.vue.ts +1 -1
  58. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue.d.ts +1 -1
  59. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +1 -1
  60. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +1 -1
  61. package/dist/runtime/components/ui/tree/Tree.d.vue.ts +57 -0
  62. package/dist/runtime/components/ui/tree/Tree.vue +325 -0
  63. package/dist/runtime/components/ui/tree/Tree.vue.d.ts +57 -0
  64. package/dist/runtime/components/ui/tree/TreeNode.d.vue.ts +53 -0
  65. package/dist/runtime/components/ui/tree/TreeNode.vue +299 -0
  66. package/dist/runtime/components/ui/tree/TreeNode.vue.d.ts +53 -0
  67. package/dist/runtime/components/ui/tree/index.d.ts +3 -0
  68. package/dist/runtime/components/ui/tree/index.js +2 -0
  69. package/dist/runtime/components/ui/tree/types.d.ts +120 -0
  70. package/dist/runtime/components/ui/tree/types.js +0 -0
  71. package/dist/runtime/components/ui/tree/useTreeState.d.ts +95 -0
  72. package/dist/runtime/components/ui/tree/useTreeState.js +369 -0
  73. package/dist/runtime/shims.d.ts +2 -0
  74. package/package.json +1 -1
  75. package/dist/preview/assets/index-DDbl2Atj.js +0 -1
  76. package/dist/preview/assets/index-DGa3Oj3y.js +0 -1075
  77. package/dist/preview/assets/index-mbGtsgdv.css +0 -1
  78. package/dist/runtime/components/form/ai/fields-button.d.vue.ts +0 -13
  79. package/dist/runtime/components/form/ai/fields-button.vue +0 -460
  80. package/dist/runtime/components/form/ai/fields-button.vue.d.ts +0 -13
  81. package/dist/runtime/components/form/ai/fields-task.md +0 -71
  82. package/dist/runtime/components/table/ai/columns-button.d.vue.ts +0 -12
  83. package/dist/runtime/components/table/ai/columns-button.vue +0 -492
  84. package/dist/runtime/components/table/ai/columns-button.vue.d.ts +0 -12
  85. package/dist/runtime/components/table/ai/columns-task.md +0 -53
  86. package/dist/runtime/components/table/ai/data-source-button.d.vue.ts +0 -20
  87. package/dist/runtime/components/table/ai/data-source-button.vue +0 -324
  88. package/dist/runtime/components/table/ai/data-source-button.vue.d.ts +0 -20
  89. package/dist/runtime/components/table/ai/data-source-task.md +0 -17
  90. package/dist/runtime/utils/ai/cel-prompt.d.ts +0 -11
  91. package/dist/runtime/utils/ai/cel-prompt.js +0 -27
@@ -0,0 +1 @@
1
+ import{aH as e}from"./index-D8QyOVfp.js";import{aI as r,aJ as s,aK as t}from"./index-D8QyOVfp.js";export{r as TableConfig,s as createTableConfig,e as default,t as getColumnTechnicalKey};
@@ -1 +1 @@
1
- import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-BtScXbs1.js";import{d as n,e as a,u as c,o as f,ao as i}from"./index-DGa3Oj3y.js";const _=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{_ as default};
1
+ import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-D-OVRv68.js";import{d as n,e as a,u as c,o as f,ao as i}from"./index-D8QyOVfp.js";const _=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{_ as default};
@@ -1 +1 @@
1
- import{d as f,ad as u,ae as l,af as g,ag as d,ah as m,ai as p,e as x,u as E,aj as _,ak as h,al as k,am as w,o as C}from"./index-DGa3Oj3y.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-BtScXbs1.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=d(e,t);(yield*m({content:o,icon:n.config.icon,color:n.config.color}))||(yield*p(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,ad as u,ae as l,af as g,ag as d,ah as m,ai as p,e as x,u as E,aj as _,ak as h,al as k,am as w,o as C}from"./index-D8QyOVfp.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-D-OVRv68.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=d(e,t);(yield*m({content:o,icon:n.config.icon,color:n.config.color}))||(yield*p(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 u,ad as l,e as i,u as p,$ as d,o as m,k as f,af as _,ag as k,aj as g,ak as w,al as x}from"./index-DGa3Oj3y.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=d(()=>{const e=_(s.config.content,o.value)??"";return k(e,c)});return(e,a)=>(m(),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,ad as l,e as i,u as p,$ as d,o as m,k as f,af as _,ag as k,aj as g,ak as w,al as x}from"./index-D8QyOVfp.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=d(()=>{const e=_(s.config.content,o.value)??"";return k(e,c)});return(e,a)=>(m(),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{d as i,an as f,ap as r,aq as d,e as u,u as m,aj as p,ak as l,al as _,o as g}from"./index-DGa3Oj3y.js";import{_ as h}from"./definition.vue_vue_type_script_setup_true_lang-BtScXbs1.js";const x=i({name:"ShwfedNavigationActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const t=e,o=_(),c=(n,a)=>p(n,{...l(o),...a}),s=f(()=>r(c(t.config.url),n=>d(()=>{window.open(n,t.config.mode)})));return(n,a)=>(g(),u(h,{"action-id":e.buttonId,effect:m(s)},null,8,["action-id","effect"]))}});export{x as default};
1
+ import{d as i,an as f,ap as r,aq as d,e as u,u as m,aj as p,ak as l,al as _,o as g}from"./index-D8QyOVfp.js";import{_ as h}from"./definition.vue_vue_type_script_setup_true_lang-D-OVRv68.js";const x=i({name:"ShwfedNavigationActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const t=e,o=_(),c=(n,a)=>p(n,{...l(o),...a}),s=f(()=>r(c(t.config.url),n=>d(()=>{window.open(n,t.config.mode)})));return(n,a)=>(g(),u(h,{"action-id":e.buttonId,effect:m(s)},null,8,["action-id","effect"]))}});export{x as default};
@@ -1 +1 @@
1
- import{d as s,ad as B,ar as E,ae as _,af as i,as as x,at as p,e as M,w as c,u as d,a0 as N,am as b,aq as k,o as w,f as L,au as T,g as u,av as I,aw as H,a7 as S,al as V,ax as $,ay as z}from"./index-DGa3Oj3y.js";import{_ as A}from"./definition.vue_vue_type_script_setup_true_lang-BtScXbs1.js";const F=s({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(a){const n=a,{locale:l}=B(),f=e=>{},r=V(),m=b(),o=N(null),v=E(n.buttonId,{close:()=>k(()=>{o.value?.()})},m),g=s({name:"ModalBoundaryBridge",setup(e,{slots:t}){return H(r),$(z,v),()=>t.default?.()}}),h=(e,t)=>S()?.(e,t),C=_(function*(){const e=i(n.config.modalTitle,l.value)??i(n.buttonTitle,l.value)??"",{modal:t,close:y}=yield*x({title:e,width:n.config.modalWidth});o.value=()=>p(y()),yield*t,o.value=null});return(e,t)=>(w(),M(A,{"action-id":a.buttonId,effect:d(C)},{default:c(()=>[L("div",{style:T(a.config.modalMinHeight?`min-height: ${a.config.modalMinHeight}`:void 0)},[u(d(g),null,{default:c(()=>[u(I,{"slot-value":a.config.slot,configure:f,"find-entry":h},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{F as default};
1
+ import{d as s,ad as B,ar as E,ae as _,af as i,as as x,at as p,e as M,w as c,u as d,a0 as N,am as b,aq as k,o as w,f as L,au as T,g as u,av as I,aw as H,a7 as S,al as V,ax as $,ay as z}from"./index-D8QyOVfp.js";import{_ as A}from"./definition.vue_vue_type_script_setup_true_lang-D-OVRv68.js";const F=s({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(a){const n=a,{locale:l}=B(),f=e=>{},r=V(),m=b(),o=N(null),v=E(n.buttonId,{close:()=>k(()=>{o.value?.()})},m),g=s({name:"ModalBoundaryBridge",setup(e,{slots:t}){return H(r),$(z,v),()=>t.default?.()}}),h=(e,t)=>S()?.(e,t),C=_(function*(){const e=i(n.config.modalTitle,l.value)??i(n.buttonTitle,l.value)??"",{modal:t,close:y}=yield*x({title:e,width:n.config.modalWidth});o.value=()=>p(y()),yield*t,o.value=null});return(e,t)=>(w(),M(A,{"action-id":a.buttonId,effect:d(C)},{default:c(()=>[L("div",{style:T(a.config.modalMinHeight?`min-height: ${a.config.modalMinHeight}`:void 0)},[u(d(g),null,{default:c(()=>[u(I,{"slot-value":a.config.slot,configure:f,"find-entry":h},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{F as default};
@@ -1 +1 @@
1
- import{_ as s}from"./definition.vue_vue_type_script_setup_true_lang-BtScXbs1.js";import{d as c,an as o,az as i,e as r,u as f,am as u,o as m}from"./index-DGa3Oj3y.js";const g=c({name:"ShwfedEventDispatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const n=e,t=u(),a=o(()=>i(t,n.config.triggers));return(p,d)=>(m(),r(s,{"action-id":e.buttonId,effect:f(a)},null,8,["action-id","effect"]))}});export{g as default};
1
+ import{_ as s}from"./definition.vue_vue_type_script_setup_true_lang-D-OVRv68.js";import{d as c,an as o,az as i,e as r,u as f,am as u,o as m}from"./index-D8QyOVfp.js";const g=c({name:"ShwfedEventDispatchActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const n=e,t=u(),a=o(()=>i(t,n.config.triggers));return(p,d)=>(m(),r(s,{"action-id":e.buttonId,effect:f(a)},null,8,["action-id","effect"]))}});export{g as default};
@@ -1 +1 @@
1
- import{d as _,an as j,ae as B,aq as r,az as m,aA as E,aB as S,e as k,u as v,aj as x,ak as L,am as b,o as C,al as R}from"./index-DGa3Oj3y.js";import{_ as T}from"./definition.vue_vue_type_script_setup_true_lang-BtScXbs1.js";const I=_({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=R(),t=(e,n)=>x(e,{...L(g),...n}),l=b(),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=j(()=>B(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*E(t(o,a),s=>p.has(s)?s:"success");if(n!==void 0){const s=yield*t(n,a);yield*r(()=>S[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)=>(C(),k(T,{"action-id":d.buttonId,effect:v(y)},null,8,["action-id","effect"]))}});export{I as default};
1
+ import{d as _,an as j,ae as B,aq as r,az as m,aA as E,aB as S,e as k,u as v,aj as x,ak as L,am as b,o as C,al as R}from"./index-D8QyOVfp.js";import{_ as T}from"./definition.vue_vue_type_script_setup_true_lang-D-OVRv68.js";const I=_({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=R(),t=(e,n)=>x(e,{...L(g),...n}),l=b(),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=j(()=>B(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*E(t(o,a),s=>p.has(s)?s:"success");if(n!==void 0){const s=yield*t(n,a);yield*r(()=>S[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)=>(C(),k(T,{"action-id":d.buttonId,effect:v(y)},null,8,["action-id","effect"]))}});export{I as default};
@@ -1 +1 @@
1
- import{d as r,an as f,ai as u,e as p,u as g,aj as m,ak as l,al as d,am as x,o as E}from"./index-DGa3Oj3y.js";import{_}from"./definition.vue_vue_type_script_setup_true_lang-BtScXbs1.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,an as f,ai as u,e as p,u as g,aj as m,ak as l,al as d,am as x,o as E}from"./index-D8QyOVfp.js";import{_}from"./definition.vue_vue_type_script_setup_true_lang-D-OVRv68.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};
@@ -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-DGa3Oj3y.js"></script>
14
- <link rel="stylesheet" crossorigin href="./assets/index-mbGtsgdv.css">
13
+ <script type="module" crossorigin src="./assets/index-D8QyOVfp.js"></script>
14
+ <link rel="stylesheet" crossorigin href="./assets/index-Br_eXThF.css">
15
15
  </head>
16
16
  <body>
17
17
  <div id="app"></div>
@@ -216,9 +216,9 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
216
216
  default: () => never[];
217
217
  }>;
218
218
  dataSource: Schema.optional<Schema.Struct<{
219
+ total: Schema.optional<Schema.Schema<string, string, never>>;
219
220
  request: Schema.optional<Schema.Schema<string, string, never>>;
220
221
  data: Schema.Schema<string, string, never>;
221
- total: Schema.optional<Schema.Schema<string, string, never>>;
222
222
  }>>;
223
223
  actions: Schema.optional<Schema.Struct<{
224
224
  size: Schema.optionalWith<Schema.Literal<["default", "sm", "xs"]>, {
@@ -24,6 +24,10 @@ export declare const ChartType: Schema.Literal<["line", "area", "groupedBar", "s
24
24
  /**
25
25
  * A named data source. Exported so the config editor can read field
26
26
  * `title` / `description` annotations without rebuilding the whole schema.
27
+ *
28
+ * Composes the generic `DataSource` (request + data) from the table module,
29
+ * adding the chart-specific `id` / `name` wrapper and chart-flavored field
30
+ * descriptions (mentioning X / Y exposure).
27
31
  */
28
32
  export declare function dataSourceSchema(configure: Configure): Schema.Struct<{
29
33
  id: Schema.refine<string, typeof Schema.String>;
@@ -1,6 +1,7 @@
1
1
  import { Schema } from "effect";
2
2
  import { Expression } from "../../../../../share/expression.js";
3
3
  import { Locale } from "../../../../../share/locale.js";
4
+ import { DataSource } from "../../../../table/schema.js";
4
5
  export { getStructFieldDescription, getStructFieldTitle } from "../../../../table/utils/schema-meta.js";
5
6
  export const type = "com.shwfed.block.chart.xy";
6
7
  export const compatibilityDate = "2026-05-17";
@@ -45,32 +46,20 @@ function numberExpression(configure) {
45
46
  });
46
47
  }
47
48
  export function dataSourceSchema(configure) {
48
- const CelRequest = Expression({
49
- configure: (env) => {
50
- configure(env);
51
- },
52
- resultType: "HttpRequest"
53
- });
54
- const CelData = Expression({
55
- configure: (env) => {
56
- configure(env);
57
- env.registerVariable("json", "optional<dyn>", {
58
- description: "HTTP \u54CD\u5E94\u4F53\uFF08\u5DF2\u89E3\u6790 JSON\uFF09\uFF1B\u672A\u914D\u7F6E request \u65F6\u4E3A none"
59
- });
60
- },
61
- resultType: isListType
62
- });
49
+ const base = DataSource(configure);
63
50
  return Schema.Struct({
64
51
  id: Schema.UUID.annotations({ description: "\u6570\u636E\u6E90\u552F\u4E00\u6807\u8BC6" }),
65
52
  name: Schema.String.pipe(Schema.pattern(/^[a-z_]\w*$/i)).annotations({
66
53
  title: "\u53D8\u91CF\u540D",
67
54
  description: "\u5728 X / Y \u8868\u8FBE\u5F0F\u4E2D\u5F15\u7528\u8BE5\u6570\u636E\u6E90\u7684 CEL \u6807\u8BC6\u7B26\uFF08\u5B57\u6BCD\u6216\u4E0B\u5212\u7EBF\u5F00\u5934\uFF0C\u4EC5\u542B\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u4E0B\u5212\u7EBF\uFF09"
68
55
  }),
69
- request: Schema.optional(CelRequest).annotations({
56
+ // Chart-specific phrasing wins for chart UX: the `data` description ends
57
+ // with "结果以上面的变量名暴露给 X / Y", which is chart-only context.
58
+ request: base.fields.request.annotations({
70
59
  title: "\u8BF7\u6C42",
71
60
  description: "\u53EF\u9009\u7684 HTTP \u8BF7\u6C42\u8868\u8FBE\u5F0F\uFF1B\u672A\u914D\u7F6E\u65F6\u6570\u636E\u76F4\u63A5\u4ECE `\u6570\u636E` \u8868\u8FBE\u5F0F\u8BFB\u53D6\uFF08\u901A\u5E38\u5F15\u7528\u4E0A\u4E0B\u6587\u53D8\u91CF\uFF09"
72
61
  }),
73
- data: CelData.annotations({
62
+ data: base.fields.data.annotations({
74
63
  title: "\u6570\u636E",
75
64
  description: "\u8FD4\u56DE\u4E00\u4E2A\u5217\u8868\uFF08`list<dyn>`\uFF09\u7684 CEL \u8868\u8FBE\u5F0F\uFF1B\u914D\u7F6E\u4E86 `\u8BF7\u6C42` \u65F6\u53EF\u901A\u8FC7 `json` \u5F15\u7528\u54CD\u5E94\u4F53\u3002\u7ED3\u679C\u4EE5\u4E0A\u9762\u7684\u53D8\u91CF\u540D\u66B4\u9732\u7ED9 X / Y"
76
65
  })
@@ -26,6 +26,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  readonly compatibilityDate: "2026-04-27";
27
27
  readonly orientation?: "vertical" | "floating" | undefined;
28
28
  readonly readonly?: string | undefined;
29
+ readonly binding?: string | readonly [string, string] | undefined;
30
+ readonly derived?: {
31
+ readonly mode: "formula" | "prefill";
32
+ readonly expression: string;
33
+ } | undefined;
34
+ readonly format?: string | undefined;
35
+ readonly numberOfMonths?: number | undefined;
36
+ readonly valueFormat?: string | undefined;
37
+ readonly rangeSeparatorIcon?: string | undefined;
29
38
  readonly startPlaceholder?: readonly [{
30
39
  readonly locale: "zh";
31
40
  readonly message: string;
@@ -40,13 +49,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
40
49
  readonly locale: "en" | "ja" | "ko";
41
50
  readonly message: string;
42
51
  }[]] | undefined;
43
- readonly binding?: string | readonly [string, string] | undefined;
44
- readonly derived?: {
45
- readonly mode: "formula" | "prefill";
46
- readonly expression: string;
47
- } | undefined;
48
- readonly format?: string | undefined;
49
- readonly valueFormat?: string | undefined;
50
52
  readonly presets?: readonly {
51
53
  readonly label: readonly [{
52
54
  readonly locale: "zh";
@@ -59,8 +61,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
59
61
  readonly end: string;
60
62
  readonly start: string;
61
63
  }[] | undefined;
62
- readonly rangeSeparatorIcon?: string | undefined;
63
- readonly numberOfMonths?: number | undefined;
64
64
  }) => any;
65
65
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
66
66
  "onUpdate:modelValue"?: ((value: {
@@ -86,6 +86,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
86
86
  readonly compatibilityDate: "2026-04-27";
87
87
  readonly orientation?: "vertical" | "floating" | undefined;
88
88
  readonly readonly?: string | undefined;
89
+ readonly binding?: string | readonly [string, string] | undefined;
90
+ readonly derived?: {
91
+ readonly mode: "formula" | "prefill";
92
+ readonly expression: string;
93
+ } | undefined;
94
+ readonly format?: string | undefined;
95
+ readonly numberOfMonths?: number | undefined;
96
+ readonly valueFormat?: string | undefined;
97
+ readonly rangeSeparatorIcon?: string | undefined;
89
98
  readonly startPlaceholder?: readonly [{
90
99
  readonly locale: "zh";
91
100
  readonly message: string;
@@ -100,13 +109,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
109
  readonly locale: "en" | "ja" | "ko";
101
110
  readonly message: string;
102
111
  }[]] | undefined;
103
- readonly binding?: string | readonly [string, string] | undefined;
104
- readonly derived?: {
105
- readonly mode: "formula" | "prefill";
106
- readonly expression: string;
107
- } | undefined;
108
- readonly format?: string | undefined;
109
- readonly valueFormat?: string | undefined;
110
112
  readonly presets?: readonly {
111
113
  readonly label: readonly [{
112
114
  readonly locale: "zh";
@@ -119,8 +121,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
119
121
  readonly end: string;
120
122
  readonly start: string;
121
123
  }[] | undefined;
122
- readonly rangeSeparatorIcon?: string | undefined;
123
- readonly numberOfMonths?: number | undefined;
124
124
  }) => any) | undefined;
125
125
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
126
126
  declare const _default: typeof __VLS_export;
@@ -26,6 +26,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  readonly compatibilityDate: "2026-04-27";
27
27
  readonly orientation?: "vertical" | "floating" | undefined;
28
28
  readonly readonly?: string | undefined;
29
+ readonly binding?: string | readonly [string, string] | undefined;
30
+ readonly derived?: {
31
+ readonly mode: "formula" | "prefill";
32
+ readonly expression: string;
33
+ } | undefined;
34
+ readonly format?: string | undefined;
35
+ readonly numberOfMonths?: number | undefined;
36
+ readonly valueFormat?: string | undefined;
37
+ readonly rangeSeparatorIcon?: string | undefined;
29
38
  readonly startPlaceholder?: readonly [{
30
39
  readonly locale: "zh";
31
40
  readonly message: string;
@@ -40,13 +49,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
40
49
  readonly locale: "en" | "ja" | "ko";
41
50
  readonly message: string;
42
51
  }[]] | undefined;
43
- readonly binding?: string | readonly [string, string] | undefined;
44
- readonly derived?: {
45
- readonly mode: "formula" | "prefill";
46
- readonly expression: string;
47
- } | undefined;
48
- readonly format?: string | undefined;
49
- readonly valueFormat?: string | undefined;
50
52
  readonly presets?: readonly {
51
53
  readonly label: readonly [{
52
54
  readonly locale: "zh";
@@ -59,8 +61,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
59
61
  readonly end: string;
60
62
  readonly start: string;
61
63
  }[] | undefined;
62
- readonly rangeSeparatorIcon?: string | undefined;
63
- readonly numberOfMonths?: number | undefined;
64
64
  }) => any;
65
65
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
66
66
  "onUpdate:modelValue"?: ((value: {
@@ -86,6 +86,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
86
86
  readonly compatibilityDate: "2026-04-27";
87
87
  readonly orientation?: "vertical" | "floating" | undefined;
88
88
  readonly readonly?: string | undefined;
89
+ readonly binding?: string | readonly [string, string] | undefined;
90
+ readonly derived?: {
91
+ readonly mode: "formula" | "prefill";
92
+ readonly expression: string;
93
+ } | undefined;
94
+ readonly format?: string | undefined;
95
+ readonly numberOfMonths?: number | undefined;
96
+ readonly valueFormat?: string | undefined;
97
+ readonly rangeSeparatorIcon?: string | undefined;
89
98
  readonly startPlaceholder?: readonly [{
90
99
  readonly locale: "zh";
91
100
  readonly message: string;
@@ -100,13 +109,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
109
  readonly locale: "en" | "ja" | "ko";
101
110
  readonly message: string;
102
111
  }[]] | undefined;
103
- readonly binding?: string | readonly [string, string] | undefined;
104
- readonly derived?: {
105
- readonly mode: "formula" | "prefill";
106
- readonly expression: string;
107
- } | undefined;
108
- readonly format?: string | undefined;
109
- readonly valueFormat?: string | undefined;
110
112
  readonly presets?: readonly {
111
113
  readonly label: readonly [{
112
114
  readonly locale: "zh";
@@ -119,8 +121,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
119
121
  readonly end: string;
120
122
  readonly start: string;
121
123
  }[] | undefined;
122
- readonly rangeSeparatorIcon?: string | undefined;
123
- readonly numberOfMonths?: number | undefined;
124
124
  }) => any) | undefined;
125
125
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
126
126
  declare const _default: typeof __VLS_export;
@@ -39,7 +39,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
39
39
  readonly expression: string;
40
40
  } | undefined;
41
41
  readonly format?: string | undefined;
42
+ readonly hourCycle?: 12 | 24 | undefined;
42
43
  readonly valueFormat?: string | undefined;
44
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
43
45
  readonly presets?: readonly {
44
46
  readonly label: readonly [{
45
47
  readonly locale: "zh";
@@ -51,8 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
53
  readonly id: string;
52
54
  readonly value: string;
53
55
  }[] | undefined;
54
- readonly hourCycle?: 12 | 24 | undefined;
55
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
56
56
  }) => any;
57
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
58
58
  "onUpdate:modelValue"?: ((value: {
@@ -91,7 +91,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
91
91
  readonly expression: string;
92
92
  } | undefined;
93
93
  readonly format?: string | undefined;
94
+ readonly hourCycle?: 12 | 24 | undefined;
94
95
  readonly valueFormat?: string | undefined;
96
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
95
97
  readonly presets?: readonly {
96
98
  readonly label: readonly [{
97
99
  readonly locale: "zh";
@@ -103,8 +105,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
103
105
  readonly id: string;
104
106
  readonly value: string;
105
107
  }[] | undefined;
106
- readonly hourCycle?: 12 | 24 | undefined;
107
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
108
108
  }) => any) | undefined;
109
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
110
  declare const _default: typeof __VLS_export;
@@ -39,7 +39,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
39
39
  readonly expression: string;
40
40
  } | undefined;
41
41
  readonly format?: string | undefined;
42
+ readonly hourCycle?: 12 | 24 | undefined;
42
43
  readonly valueFormat?: string | undefined;
44
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
43
45
  readonly presets?: readonly {
44
46
  readonly label: readonly [{
45
47
  readonly locale: "zh";
@@ -51,8 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
53
  readonly id: string;
52
54
  readonly value: string;
53
55
  }[] | undefined;
54
- readonly hourCycle?: 12 | 24 | undefined;
55
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
56
56
  }) => any;
57
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
58
58
  "onUpdate:modelValue"?: ((value: {
@@ -91,7 +91,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
91
91
  readonly expression: string;
92
92
  } | undefined;
93
93
  readonly format?: string | undefined;
94
+ readonly hourCycle?: 12 | 24 | undefined;
94
95
  readonly valueFormat?: string | undefined;
96
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
95
97
  readonly presets?: readonly {
96
98
  readonly label: readonly [{
97
99
  readonly locale: "zh";
@@ -103,8 +105,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
103
105
  readonly id: string;
104
106
  readonly value: string;
105
107
  }[] | undefined;
106
- readonly hourCycle?: 12 | 24 | undefined;
107
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
108
108
  }) => any) | undefined;
109
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
110
  declare const _default: typeof __VLS_export;
@@ -26,6 +26,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  readonly compatibilityDate: "2026-04-27";
27
27
  readonly orientation?: "vertical" | "floating" | undefined;
28
28
  readonly readonly?: string | undefined;
29
+ readonly binding?: string | readonly [string, string] | undefined;
30
+ readonly derived?: {
31
+ readonly mode: "formula" | "prefill";
32
+ readonly expression: string;
33
+ } | undefined;
34
+ readonly format?: string | undefined;
35
+ readonly numberOfMonths?: number | undefined;
36
+ readonly hourCycle?: 12 | 24 | undefined;
37
+ readonly valueFormat?: string | undefined;
38
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
39
+ readonly rangeSeparatorIcon?: string | undefined;
29
40
  readonly startPlaceholder?: readonly [{
30
41
  readonly locale: "zh";
31
42
  readonly message: string;
@@ -40,13 +51,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
40
51
  readonly locale: "en" | "ja" | "ko";
41
52
  readonly message: string;
42
53
  }[]] | undefined;
43
- readonly binding?: string | readonly [string, string] | undefined;
44
- readonly derived?: {
45
- readonly mode: "formula" | "prefill";
46
- readonly expression: string;
47
- } | undefined;
48
- readonly format?: string | undefined;
49
- readonly valueFormat?: string | undefined;
50
54
  readonly presets?: readonly {
51
55
  readonly label: readonly [{
52
56
  readonly locale: "zh";
@@ -59,10 +63,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
59
63
  readonly end: string;
60
64
  readonly start: string;
61
65
  }[] | undefined;
62
- readonly rangeSeparatorIcon?: string | undefined;
63
- readonly numberOfMonths?: number | undefined;
64
- readonly hourCycle?: 12 | 24 | undefined;
65
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
66
66
  }) => any;
67
67
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
68
68
  "onUpdate:modelValue"?: ((value: {
@@ -88,6 +88,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
88
  readonly compatibilityDate: "2026-04-27";
89
89
  readonly orientation?: "vertical" | "floating" | undefined;
90
90
  readonly readonly?: string | undefined;
91
+ readonly binding?: string | readonly [string, string] | undefined;
92
+ readonly derived?: {
93
+ readonly mode: "formula" | "prefill";
94
+ readonly expression: string;
95
+ } | undefined;
96
+ readonly format?: string | undefined;
97
+ readonly numberOfMonths?: number | undefined;
98
+ readonly hourCycle?: 12 | 24 | undefined;
99
+ readonly valueFormat?: string | undefined;
100
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
101
+ readonly rangeSeparatorIcon?: string | undefined;
91
102
  readonly startPlaceholder?: readonly [{
92
103
  readonly locale: "zh";
93
104
  readonly message: string;
@@ -102,13 +113,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
113
  readonly locale: "en" | "ja" | "ko";
103
114
  readonly message: string;
104
115
  }[]] | undefined;
105
- readonly binding?: string | readonly [string, string] | undefined;
106
- readonly derived?: {
107
- readonly mode: "formula" | "prefill";
108
- readonly expression: string;
109
- } | undefined;
110
- readonly format?: string | undefined;
111
- readonly valueFormat?: string | undefined;
112
116
  readonly presets?: readonly {
113
117
  readonly label: readonly [{
114
118
  readonly locale: "zh";
@@ -121,10 +125,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
125
  readonly end: string;
122
126
  readonly start: string;
123
127
  }[] | undefined;
124
- readonly rangeSeparatorIcon?: string | undefined;
125
- readonly numberOfMonths?: number | undefined;
126
- readonly hourCycle?: 12 | 24 | undefined;
127
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
128
128
  }) => any) | undefined;
129
129
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
130
130
  declare const _default: typeof __VLS_export;
@@ -26,6 +26,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  readonly compatibilityDate: "2026-04-27";
27
27
  readonly orientation?: "vertical" | "floating" | undefined;
28
28
  readonly readonly?: string | undefined;
29
+ readonly binding?: string | readonly [string, string] | undefined;
30
+ readonly derived?: {
31
+ readonly mode: "formula" | "prefill";
32
+ readonly expression: string;
33
+ } | undefined;
34
+ readonly format?: string | undefined;
35
+ readonly numberOfMonths?: number | undefined;
36
+ readonly hourCycle?: 12 | 24 | undefined;
37
+ readonly valueFormat?: string | undefined;
38
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
39
+ readonly rangeSeparatorIcon?: string | undefined;
29
40
  readonly startPlaceholder?: readonly [{
30
41
  readonly locale: "zh";
31
42
  readonly message: string;
@@ -40,13 +51,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
40
51
  readonly locale: "en" | "ja" | "ko";
41
52
  readonly message: string;
42
53
  }[]] | undefined;
43
- readonly binding?: string | readonly [string, string] | undefined;
44
- readonly derived?: {
45
- readonly mode: "formula" | "prefill";
46
- readonly expression: string;
47
- } | undefined;
48
- readonly format?: string | undefined;
49
- readonly valueFormat?: string | undefined;
50
54
  readonly presets?: readonly {
51
55
  readonly label: readonly [{
52
56
  readonly locale: "zh";
@@ -59,10 +63,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
59
63
  readonly end: string;
60
64
  readonly start: string;
61
65
  }[] | undefined;
62
- readonly rangeSeparatorIcon?: string | undefined;
63
- readonly numberOfMonths?: number | undefined;
64
- readonly hourCycle?: 12 | 24 | undefined;
65
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
66
66
  }) => any;
67
67
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
68
68
  "onUpdate:modelValue"?: ((value: {
@@ -88,6 +88,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
88
  readonly compatibilityDate: "2026-04-27";
89
89
  readonly orientation?: "vertical" | "floating" | undefined;
90
90
  readonly readonly?: string | undefined;
91
+ readonly binding?: string | readonly [string, string] | undefined;
92
+ readonly derived?: {
93
+ readonly mode: "formula" | "prefill";
94
+ readonly expression: string;
95
+ } | undefined;
96
+ readonly format?: string | undefined;
97
+ readonly numberOfMonths?: number | undefined;
98
+ readonly hourCycle?: 12 | 24 | undefined;
99
+ readonly valueFormat?: string | undefined;
100
+ readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
101
+ readonly rangeSeparatorIcon?: string | undefined;
91
102
  readonly startPlaceholder?: readonly [{
92
103
  readonly locale: "zh";
93
104
  readonly message: string;
@@ -102,13 +113,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
113
  readonly locale: "en" | "ja" | "ko";
103
114
  readonly message: string;
104
115
  }[]] | undefined;
105
- readonly binding?: string | readonly [string, string] | undefined;
106
- readonly derived?: {
107
- readonly mode: "formula" | "prefill";
108
- readonly expression: string;
109
- } | undefined;
110
- readonly format?: string | undefined;
111
- readonly valueFormat?: string | undefined;
112
116
  readonly presets?: readonly {
113
117
  readonly label: readonly [{
114
118
  readonly locale: "zh";
@@ -121,10 +125,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
125
  readonly end: string;
122
126
  readonly start: string;
123
127
  }[] | undefined;
124
- readonly rangeSeparatorIcon?: string | undefined;
125
- readonly numberOfMonths?: number | undefined;
126
- readonly hourCycle?: 12 | 24 | undefined;
127
- readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
128
128
  }) => any) | undefined;
129
129
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
130
130
  declare const _default: typeof __VLS_export;
@@ -31,8 +31,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
31
31
  readonly mode: "formula" | "prefill";
32
32
  readonly expression: string;
33
33
  } | undefined;
34
- readonly valueFormat?: string | undefined;
35
34
  readonly hourCycle?: 12 | 24 | undefined;
35
+ readonly valueFormat?: string | undefined;
36
36
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
37
37
  }) => any;
38
38
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -64,8 +64,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly mode: "formula" | "prefill";
65
65
  readonly expression: string;
66
66
  } | undefined;
67
- readonly valueFormat?: string | undefined;
68
67
  readonly hourCycle?: 12 | 24 | undefined;
68
+ readonly valueFormat?: string | undefined;
69
69
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
70
70
  }) => any) | undefined;
71
71
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -31,8 +31,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
31
31
  readonly mode: "formula" | "prefill";
32
32
  readonly expression: string;
33
33
  } | undefined;
34
- readonly valueFormat?: string | undefined;
35
34
  readonly hourCycle?: 12 | 24 | undefined;
35
+ readonly valueFormat?: string | undefined;
36
36
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
37
37
  }) => any;
38
38
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -64,8 +64,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly mode: "formula" | "prefill";
65
65
  readonly expression: string;
66
66
  } | undefined;
67
- readonly valueFormat?: string | undefined;
68
67
  readonly hourCycle?: 12 | 24 | undefined;
68
+ readonly valueFormat?: string | undefined;
69
69
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
70
70
  }) => any) | undefined;
71
71
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -31,10 +31,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
31
31
  readonly mode: "formula" | "prefill";
32
32
  readonly expression: string;
33
33
  } | undefined;
34
- readonly valueFormat?: string | undefined;
35
- readonly rangeSeparatorIcon?: string | undefined;
36
34
  readonly hourCycle?: 12 | 24 | undefined;
35
+ readonly valueFormat?: string | undefined;
37
36
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
37
+ readonly rangeSeparatorIcon?: string | undefined;
38
38
  }) => any;
39
39
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
40
40
  "onUpdate:modelValue"?: ((value: {
@@ -65,10 +65,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
65
  readonly mode: "formula" | "prefill";
66
66
  readonly expression: string;
67
67
  } | undefined;
68
- readonly valueFormat?: string | undefined;
69
- readonly rangeSeparatorIcon?: string | undefined;
70
68
  readonly hourCycle?: 12 | 24 | undefined;
69
+ readonly valueFormat?: string | undefined;
71
70
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
71
+ readonly rangeSeparatorIcon?: string | undefined;
72
72
  }) => any) | undefined;
73
73
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
74
74
  declare const _default: typeof __VLS_export;
@@ -31,10 +31,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
31
31
  readonly mode: "formula" | "prefill";
32
32
  readonly expression: string;
33
33
  } | undefined;
34
- readonly valueFormat?: string | undefined;
35
- readonly rangeSeparatorIcon?: string | undefined;
36
34
  readonly hourCycle?: 12 | 24 | undefined;
35
+ readonly valueFormat?: string | undefined;
37
36
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
37
+ readonly rangeSeparatorIcon?: string | undefined;
38
38
  }) => any;
39
39
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
40
40
  "onUpdate:modelValue"?: ((value: {
@@ -65,10 +65,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
65
  readonly mode: "formula" | "prefill";
66
66
  readonly expression: string;
67
67
  } | undefined;
68
- readonly valueFormat?: string | undefined;
69
- readonly rangeSeparatorIcon?: string | undefined;
70
68
  readonly hourCycle?: 12 | 24 | undefined;
69
+ readonly valueFormat?: string | undefined;
71
70
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
71
+ readonly rangeSeparatorIcon?: string | undefined;
72
72
  }) => any) | undefined;
73
73
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
74
74
  declare const _default: typeof __VLS_export;