@shwfed/config 2.10.0 → 2.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +4125 -3183
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-CCaOWk_7.js → FieldGroup.vue_vue_type_script_setup_true_lang-DX5M_WNF.js} +1 -1
- package/dist/preview/assets/{badge-D9_7atSJ.js → badge-DFZBH8N6.js} +1 -1
- package/dist/preview/assets/{config-B2d8SiPi.js → config-BH2BmDoD.js} +1 -1
- package/dist/preview/assets/{config-Bk2VSNeu.js → config-Bg7a8Rid.js} +1 -1
- package/dist/preview/assets/{config-DYxMKhCU.js → config-BiOW8fS2.js} +1 -1
- package/dist/preview/assets/{config-CNKb25Qo.js → config-Bnp547Nm.js} +1 -1
- package/dist/preview/assets/{config-Bf5Vckj3.js → config-CSmHhOh2.js} +1 -1
- package/dist/preview/assets/{config-CQrqVV1U.js → config-CTF5-TTQ.js} +1 -1
- package/dist/preview/assets/{config-DWA385pD.js → config-CqeWJt_H.js} +1 -1
- package/dist/preview/assets/{config-BLEovXei.js → config-DBtEKoan.js} +1 -1
- package/dist/preview/assets/{config-DyPl6K2G.js → config-DeDCNzY_.js} +1 -1
- package/dist/preview/assets/{config-C9WPOoA7.js → config-Dj3w2JkF.js} +1 -1
- package/dist/preview/assets/{config-DZlaJUlF.js → config-XGJ9V32V.js} +1 -1
- package/dist/preview/assets/{config-C8lCItmz.js → config-uIHUHvNR.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-CFzQ7icU.js → definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js} +1 -1
- package/dist/preview/assets/index-CGChrBji.js +1 -0
- package/dist/preview/assets/{index-CXOEVGFP.js → index-CQA6q2ay.js} +1 -1
- package/dist/preview/assets/index-DX9_iE4h.js +743 -0
- package/dist/preview/assets/{index-BnJ5p1Mx.css → index-pkoEF5dC.css} +1 -1
- package/dist/preview/assets/{item-DCVX69_o.js → item-C4VJfiq8.js} +1 -1
- package/dist/preview/assets/{runtime-DEWGIyvr.js → runtime-6Zrje7Y1.js} +1 -1
- package/dist/preview/assets/{runtime-O6MNC3GA.js → runtime-BN-jMAt7.js} +1 -1
- package/dist/preview/assets/{runtime-BD1A-g1h.js → runtime-BQMnWueG.js} +1 -1
- package/dist/preview/assets/{runtime-BsNSI1XP.js → runtime-CBz5XstF.js} +1 -1
- package/dist/preview/assets/{runtime-BNk4EliL.js → runtime-CFb1tHwr.js} +1 -1
- package/dist/preview/assets/{runtime-Cbc5NH57.js → runtime-DQL6lCFp.js} +1 -1
- package/dist/preview/assets/{runtime-DSfMvph3.js → runtime-DcdmMgqL.js} +1 -1
- package/dist/preview/assets/{runtime-DJ9ElxWB.js → runtime-okYOTQd6.js} +1 -1
- package/dist/preview/assets/{runtime-BO-KY3T_.js → runtime-qPyuMgsh.js} +1 -1
- package/dist/preview/assets/{runtime-r1wbrr4k.js → runtime-yfWYeUh4.js} +1 -1
- package/dist/preview/assets/{schema-meta-ovcuERKg.js → schema-meta-6ZPO8dHv.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +4 -4
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +4 -4
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +1 -1
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/schema.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +16 -3
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +17 -3
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +179 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue +942 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +179 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +499 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +223 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.js +276 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +179 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue +942 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +179 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +438 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +223 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.js +276 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +123 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue +646 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +123 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +500 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +83 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +179 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +121 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue +577 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +121 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +465 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +80 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +171 -0
- package/dist/runtime/components/table/columns/2026-06-14/combobox-migrate.d.ts +18 -0
- package/dist/runtime/components/table/columns/2026-06-14/combobox-migrate.js +36 -0
- package/dist/runtime/components/table/columns/2026-06-14/tree-combobox-shared.d.ts +35 -0
- package/dist/runtime/components/table/columns/2026-06-14/tree-combobox-shared.js +31 -0
- package/dist/runtime/components/table/config.vue +74 -8
- package/dist/runtime/components/table/index.d.vue.ts +2 -0
- package/dist/runtime/components/table/index.vue +24 -0
- package/dist/runtime/components/table/index.vue.d.ts +2 -0
- package/dist/runtime/components/table/schema.d.ts +3 -3
- package/dist/runtime/components/table/utils/shared.d.ts +1 -0
- package/dist/runtime/components/table/utils/shared.js +7 -13
- package/package.json +1 -1
- package/dist/preview/assets/index-7BE56IYF.js +0 -739
- package/dist/preview/assets/index-Bwv0Yz_L.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as O,v as M,x as k,y,o as q,c as E,z,b as A,A as x,B as i,C as J,D as L,E as s,F as T,G as V,H as D,I as G,J as H,K,L as g,M as P,N as b,O as U}from"./index-
|
|
1
|
+
import{d as O,v as M,x as k,y,o as q,c as E,z,b as A,A as x,B as i,C as J,D as L,E as s,F as T,G as V,H as D,I as G,J as H,K,L as g,M as P,N as b,O as U}from"./index-DX9_iE4h.js";import W from"./index-CQA6q2ay.js";const X=O({name:"ShwfedBlockAnimatedNumberItem",__name:"item",props:{item:{}},setup(h){const n=h,j=P(),a=x(void 0),m=x(0);function u(){return K(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():U(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)),C=i(()=>v(n.item.suffix));function F(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=i(()=>F(n.item.style));async function r(){const e=n.item.dataSource,t=u(),_=J(function*(){let o=g();e.request&&(o=yield*L(yield*s(e.request,t)));const B=yield*s(e.value,{...t,json:o});return{json:T(o),value:B}});try{const o=await V(D(_,G));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),N=i(()=>Math.max(1,n.item.pollingInterval??1)*1e3),c=H(),{pause:p,resume:f}=M(()=>{r()},N,{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(),E(A(W),{value:m.value,prefix:w.value,suffix:C.value,style:z(I.value)},null,8,["value","prefix","suffix","style"]))}});export{X as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as f,aR as u,aU as l,aV as d,c as m,b as w,E as p,K as _,M as g,o as h}from"./index-
|
|
1
|
+
import{d as f,aR as u,aU as l,aV as d,c as m,b as w,E as p,K as _,M as g,o as h}from"./index-DX9_iE4h.js";import{_ as b}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";function v(){return{resolve:e=>({href:new URL(e,window.location.href).href})}}function x(e,t){return window.location.assign(e),Promise.resolve()}const B=f({name:"ShwfedNavigationActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(e){const t=e,i=v(),a=g(),r=(n,o)=>p(n,{..._(a),...o});function c(n){try{return new URL(n,window.location.href).origin!==window.location.origin}catch{return!1}}const s=u(()=>l(r(t.config.url),n=>d(async()=>{const o=c(n);if(t.config.mode==="_blank"){window.open(o?n:i.resolve(n).href,"_blank");return}await x(n)})));return(n,o)=>(h(),m(b,{"action-id":e.buttonId,effect:w(s)},null,8,["action-id","effect"]))}});export{B as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as b,aR as E,C as _,aY as r,aM as m,b1 as S,b2 as j,c as v,b as x,E as B,K as C,aQ as L,M as R,o as k}from"./index-
|
|
1
|
+
import{d as b,aR as E,C as _,aY as r,aM as m,b1 as S,b2 as j,c as v,b as x,E as B,K as C,aQ as L,M as R,o as k}from"./index-DX9_iE4h.js";import{_ as T}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";const q=b({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=R(),t=(e,n)=>B(e,{...C(g),...n}),l=L(),p=new Set(["success","error","warning","info"]);function f(e){const n=URL.createObjectURL(e),o=document.createElement("a");o.href=n,o.download=e.name,document.body.appendChild(o),o.click(),o.remove(),URL.revokeObjectURL(n)}const y=E(()=>_(function*(){const{template:e,messageExpression:n,resultExpression:o}=c.config,u=yield*t(e.request);if(!e.download){const s=yield*u.file();return yield*r(()=>f(s)),yield*m(l,c.config.onSuccess,t)}const a={json:yield*u.json()},i=o===void 0?"success":yield*S(t(o,a),s=>p.has(s)?s:"success");if(n!==void 0){const s=yield*t(n,a);yield*r(()=>j[i](s))}if(i==="success"||i==="info"){const h=yield*(yield*t(e.download,a)).file();yield*r(()=>f(h))}const w={success:c.config.onSuccess,warning:c.config.onWarning,error:c.config.onError,info:c.config.onInfo};return yield*m(l,w[i],t)}));return(e,n)=>(k(),v(T,{"action-id":d.buttonId,effect:x(y)},null,8,["action-id","effect"]))}});export{q as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as l,b3 as g,aR as A,aU as y,aM as b,c as _,b as h,E as S,K as j,aQ as k,b4 as C,M as B,o as E}from"./index-
|
|
1
|
+
import{d as l,b3 as g,aR as A,aU as y,aM as b,c as _,b as h,E as S,K as j,aQ as k,b4 as C,M as B,o as E}from"./index-DX9_iE4h.js";import{_ as M}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";const F=l({name:"ShwfedStateWriteActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(s){const a=s,f=B(),c=(e,t)=>S(e,{...j(f),...t}),n=g(),o=n.kind==="form"&&n.parent?n.parent:n,u=k(),m=C((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)=>(E(),_(M,{"action-id":s.buttonId,effect:h(d)},null,8,["action-id","effect"]))}});export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as f,Y as u,aR as p,aS as d,aM as l,b5 as m,a1 as g,c as x,b as h,E,K as _,aQ as b,o as B,M as k}from"./index-
|
|
1
|
+
import{d as f,Y as u,aR as p,aS as d,aM as l,b5 as m,a1 as g,c as x,b as h,E,K as _,aQ as b,o as B,M as k}from"./index-DX9_iE4h.js";import{_ as C}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";const I=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{I as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as o}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";import{d as n,c,b as a,o as f,aT as i}from"./index-DX9_iE4h.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 s,Y as M,aW as b,C as p,a1 as c,aX as x,N,c as T,w as d,b as u,A as k,Q as L,aQ as S,aY as w,o as A,j as I,z as V,a as r,aZ as Y,a_ as $,aD as j,M as z,a$ as f,V as m,b0 as F}from"./index-
|
|
1
|
+
import{d as s,Y as M,aW as b,C as p,a1 as c,aX as x,N,c as T,w as d,b as u,A as k,Q as L,aQ as S,aY as w,o as A,j as I,z as V,a as r,aZ as Y,a_ as $,aD as j,M as z,a$ as f,V as m,b0 as F}from"./index-DX9_iE4h.js";import{_ as H}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";const R=s({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(n){const a=n,{locale:l}=M(),v=e=>{},h=z(),i=L(f,void 0),C=S(),o=k(null),g=b(a.buttonId,{close:()=>w(()=>{o.value?.()})},C),_=s({name:"ModalBoundaryBridge",setup(e,{slots:t}){return $(h),m(F,g),i&&m(f,i),()=>t.default?.()}}),E=(e,t)=>j()?.(e,t),y=p(function*(){const e=c(a.config.modalTitle,l.value)??c(a.buttonTitle,l.value)??"",{modal:t,close:B}=yield*x({title:e,width:a.config.modalWidth});o.value=()=>N(B()),yield*t,o.value=null});return(e,t)=>(A(),T(H,{"action-id":n.buttonId,effect:u(y)},{default:d(()=>[I("div",{style:V(n.config.modalMinHeight?`min-height: ${n.config.modalMinHeight}`:void 0)},[r(u(_),null,{default:d(()=>[r(Y,{"slot-value":n.config.slot,configure:v,"find-entry":E},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{R as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as f,Y as g,C as l,aM as u,a1 as d,aN as p,aO as m,aP as x,c as E,b as _,E as h,K as C,aQ as w,M as b,o as k}from"./index-
|
|
1
|
+
import{d as f,Y as g,C as l,aM as u,a1 as d,aN as p,aO as m,aP as x,c as E,b as _,E as h,K as C,aQ as w,M as b,o as k}from"./index-DX9_iE4h.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";const M=f({name:"ShwfedHttpRequestConfirmActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(c){const n=c,{locale:i}=g(),a=b(),s=(e,o)=>h(e,{...C(a),...o}),t=w(),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{M as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as u,Y as i,c as l,b as p,B as m,o as d,h as f,a1 as _,aN as k,E as w,K as x,M as g}from"./index-
|
|
1
|
+
import{d as u,Y as i,c as l,b as p,B as m,o as d,h as f,a1 as _,aN as k,E as w,K as x,M as g}from"./index-DX9_iE4h.js";const B=u({name:"ShwfedMarkdownItemRuntime",__name:"runtime",props:{config:{}},setup(s){const o=s,{locale:t}=i(),a=g(),c=(e,n)=>w(e,{...x(a),...n}),r=m(()=>{const e=_(o.config.content,t.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 r,aR as f,aM as d,c as u,b as m,aQ as p,o as l,E as g,K as h,M as _}from"./index-
|
|
1
|
+
import{d as r,aR as f,aM as d,c as u,b as m,aQ as p,o as l,E as g,K as h,M as _}from"./index-DX9_iE4h.js";import{_ as C}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";const x=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{x as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,aR as f,aS as u,aM as g,aP as p,c as d,b as m,E as l,K as x,aQ as E,M as h,o as _}from"./index-
|
|
1
|
+
import{d as r,aR as f,aS as u,aM as g,aP as p,c as d,b as m,E as l,K as x,aQ as E,M as h,o as _}from"./index-DX9_iE4h.js";import{_ as b}from"./definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js";const B=r({name:"ShwfedHttpRequestActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,i=h(),s=(t,c)=>l(t,{...x(i),...c}),o=E(),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{p as o,q as l,r as p}from"./index-
|
|
1
|
+
import{p as o,q as l,r as p}from"./index-DX9_iE4h.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 d(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=d(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,p)}export{v as a,m as g};
|
package/dist/preview/index.html
CHANGED
|
@@ -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-
|
|
14
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
13
|
+
<script type="module" crossorigin src="./assets/index-DX9_iE4h.js"></script>
|
|
14
|
+
<link rel="stylesheet" crossorigin href="./assets/index-pkoEF5dC.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
|
17
17
|
<div id="app"></div>
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
19
19
|
readonly displayName?: string | undefined;
|
|
20
20
|
readonly kind: "shwfed.component.form";
|
|
21
21
|
readonly fields: readonly any[];
|
|
22
|
+
readonly readonly?: string | undefined;
|
|
22
23
|
readonly layouts: readonly {
|
|
23
24
|
readonly name: string;
|
|
24
25
|
readonly layout: {
|
|
@@ -36,7 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
36
37
|
};
|
|
37
38
|
readonly media?: string | undefined;
|
|
38
39
|
}[];
|
|
39
|
-
readonly readonly?: string | undefined;
|
|
40
40
|
};
|
|
41
41
|
readonly type: "com.shwfed.block.form";
|
|
42
42
|
readonly id: string;
|
|
@@ -54,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
54
54
|
readonly displayName?: string | undefined;
|
|
55
55
|
readonly kind: "shwfed.component.form";
|
|
56
56
|
readonly fields: readonly any[];
|
|
57
|
+
readonly readonly?: string | undefined;
|
|
57
58
|
readonly layouts: readonly {
|
|
58
59
|
readonly name: string;
|
|
59
60
|
readonly layout: {
|
|
@@ -71,7 +72,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
71
72
|
};
|
|
72
73
|
readonly media?: string | undefined;
|
|
73
74
|
}[];
|
|
74
|
-
readonly readonly?: string | undefined;
|
|
75
75
|
};
|
|
76
76
|
readonly type: "com.shwfed.block.form";
|
|
77
77
|
readonly id: string;
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
19
19
|
readonly displayName?: string | undefined;
|
|
20
20
|
readonly kind: "shwfed.component.form";
|
|
21
21
|
readonly fields: readonly any[];
|
|
22
|
+
readonly readonly?: string | undefined;
|
|
22
23
|
readonly layouts: readonly {
|
|
23
24
|
readonly name: string;
|
|
24
25
|
readonly layout: {
|
|
@@ -36,7 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
36
37
|
};
|
|
37
38
|
readonly media?: string | undefined;
|
|
38
39
|
}[];
|
|
39
|
-
readonly readonly?: string | undefined;
|
|
40
40
|
};
|
|
41
41
|
readonly type: "com.shwfed.block.form";
|
|
42
42
|
readonly id: string;
|
|
@@ -54,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
54
54
|
readonly displayName?: string | undefined;
|
|
55
55
|
readonly kind: "shwfed.component.form";
|
|
56
56
|
readonly fields: readonly any[];
|
|
57
|
+
readonly readonly?: string | undefined;
|
|
57
58
|
readonly layouts: readonly {
|
|
58
59
|
readonly name: string;
|
|
59
60
|
readonly layout: {
|
|
@@ -71,7 +72,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
71
72
|
};
|
|
72
73
|
readonly media?: string | undefined;
|
|
73
74
|
}[];
|
|
74
|
-
readonly readonly?: string | undefined;
|
|
75
75
|
};
|
|
76
76
|
readonly type: "com.shwfed.block.form";
|
|
77
77
|
readonly id: string;
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts
CHANGED
|
@@ -10,6 +10,7 @@ type __VLS_ModelProps = {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: FormState) => any;
|
|
13
14
|
"update:block": (value: {
|
|
14
15
|
readonly form: {
|
|
15
16
|
readonly style?: string | undefined;
|
|
@@ -21,6 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
21
22
|
readonly displayName?: string | undefined;
|
|
22
23
|
readonly kind: "shwfed.component.form";
|
|
23
24
|
readonly fields: readonly any[];
|
|
25
|
+
readonly readonly?: string | undefined;
|
|
24
26
|
readonly layouts: readonly {
|
|
25
27
|
readonly name: string;
|
|
26
28
|
readonly layout: {
|
|
@@ -38,14 +40,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
38
40
|
};
|
|
39
41
|
readonly media?: string | undefined;
|
|
40
42
|
}[];
|
|
41
|
-
readonly readonly?: string | undefined;
|
|
42
43
|
};
|
|
43
44
|
readonly type: "com.shwfed.block.form";
|
|
44
45
|
readonly id: string;
|
|
45
46
|
readonly compatibilityDate: "2026-05-06";
|
|
46
47
|
}) => any;
|
|
47
|
-
"update:modelValue": (value: FormState) => any;
|
|
48
48
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
49
|
+
"onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
|
|
49
50
|
"onUpdate:block"?: ((value: {
|
|
50
51
|
readonly form: {
|
|
51
52
|
readonly style?: string | undefined;
|
|
@@ -57,6 +58,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
57
58
|
readonly displayName?: string | undefined;
|
|
58
59
|
readonly kind: "shwfed.component.form";
|
|
59
60
|
readonly fields: readonly any[];
|
|
61
|
+
readonly readonly?: string | undefined;
|
|
60
62
|
readonly layouts: readonly {
|
|
61
63
|
readonly name: string;
|
|
62
64
|
readonly layout: {
|
|
@@ -74,13 +76,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
74
76
|
};
|
|
75
77
|
readonly media?: string | undefined;
|
|
76
78
|
}[];
|
|
77
|
-
readonly readonly?: string | undefined;
|
|
78
79
|
};
|
|
79
80
|
readonly type: "com.shwfed.block.form";
|
|
80
81
|
readonly id: string;
|
|
81
82
|
readonly compatibilityDate: "2026-05-06";
|
|
82
83
|
}) => any) | undefined;
|
|
83
|
-
"onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
|
|
84
84
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
86
|
export default _default;
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ type __VLS_ModelProps = {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: FormState) => any;
|
|
13
14
|
"update:block": (value: {
|
|
14
15
|
readonly form: {
|
|
15
16
|
readonly style?: string | undefined;
|
|
@@ -21,6 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
21
22
|
readonly displayName?: string | undefined;
|
|
22
23
|
readonly kind: "shwfed.component.form";
|
|
23
24
|
readonly fields: readonly any[];
|
|
25
|
+
readonly readonly?: string | undefined;
|
|
24
26
|
readonly layouts: readonly {
|
|
25
27
|
readonly name: string;
|
|
26
28
|
readonly layout: {
|
|
@@ -38,14 +40,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
38
40
|
};
|
|
39
41
|
readonly media?: string | undefined;
|
|
40
42
|
}[];
|
|
41
|
-
readonly readonly?: string | undefined;
|
|
42
43
|
};
|
|
43
44
|
readonly type: "com.shwfed.block.form";
|
|
44
45
|
readonly id: string;
|
|
45
46
|
readonly compatibilityDate: "2026-05-06";
|
|
46
47
|
}) => any;
|
|
47
|
-
"update:modelValue": (value: FormState) => any;
|
|
48
48
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
49
|
+
"onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
|
|
49
50
|
"onUpdate:block"?: ((value: {
|
|
50
51
|
readonly form: {
|
|
51
52
|
readonly style?: string | undefined;
|
|
@@ -57,6 +58,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
57
58
|
readonly displayName?: string | undefined;
|
|
58
59
|
readonly kind: "shwfed.component.form";
|
|
59
60
|
readonly fields: readonly any[];
|
|
61
|
+
readonly readonly?: string | undefined;
|
|
60
62
|
readonly layouts: readonly {
|
|
61
63
|
readonly name: string;
|
|
62
64
|
readonly layout: {
|
|
@@ -74,13 +76,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
74
76
|
};
|
|
75
77
|
readonly media?: string | undefined;
|
|
76
78
|
}[];
|
|
77
|
-
readonly readonly?: string | undefined;
|
|
78
79
|
};
|
|
79
80
|
readonly type: "com.shwfed.block.form";
|
|
80
81
|
readonly id: string;
|
|
81
82
|
readonly compatibilityDate: "2026-05-06";
|
|
82
83
|
}) => any) | undefined;
|
|
83
|
-
"onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
|
|
84
84
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
86
|
export default _default;
|
|
@@ -31,6 +31,7 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
31
31
|
readonly displayName?: string | undefined;
|
|
32
32
|
readonly kind: "shwfed.component.form";
|
|
33
33
|
readonly fields: readonly any[];
|
|
34
|
+
readonly readonly?: string | undefined;
|
|
34
35
|
readonly layouts: readonly {
|
|
35
36
|
readonly name: string;
|
|
36
37
|
readonly layout: {
|
|
@@ -48,7 +49,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
48
49
|
};
|
|
49
50
|
readonly media?: string | undefined;
|
|
50
51
|
}[];
|
|
51
|
-
readonly readonly?: string | undefined;
|
|
52
52
|
}, Schema.Struct<{
|
|
53
53
|
fields: Schema.Array$<Schema.Schema<any, any, never>>;
|
|
54
54
|
layouts: Schema.refine<readonly {
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts
CHANGED
|
@@ -44,6 +44,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
44
44
|
readonly displayName?: string | undefined;
|
|
45
45
|
readonly kind: "shwfed.component.form";
|
|
46
46
|
readonly fields: readonly any[];
|
|
47
|
+
readonly readonly?: string | undefined;
|
|
47
48
|
readonly layouts: readonly {
|
|
48
49
|
readonly name: string;
|
|
49
50
|
readonly layout: {
|
|
@@ -61,7 +62,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
61
62
|
};
|
|
62
63
|
readonly media?: string | undefined;
|
|
63
64
|
}[];
|
|
64
|
-
readonly readonly?: string | undefined;
|
|
65
65
|
} | undefined;
|
|
66
66
|
readonly dataSource?: {
|
|
67
67
|
readonly data: string;
|
|
@@ -292,6 +292,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
292
292
|
readonly displayName?: string | undefined;
|
|
293
293
|
readonly kind: "shwfed.component.form";
|
|
294
294
|
readonly fields: readonly any[];
|
|
295
|
+
readonly readonly?: string | undefined;
|
|
295
296
|
readonly layouts: readonly {
|
|
296
297
|
readonly name: string;
|
|
297
298
|
readonly layout: {
|
|
@@ -309,7 +310,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
309
310
|
};
|
|
310
311
|
readonly media?: string | undefined;
|
|
311
312
|
}[];
|
|
312
|
-
readonly readonly?: string | undefined;
|
|
313
313
|
} | undefined;
|
|
314
314
|
readonly dataSource?: {
|
|
315
315
|
readonly data: string;
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
44
44
|
readonly displayName?: string | undefined;
|
|
45
45
|
readonly kind: "shwfed.component.form";
|
|
46
46
|
readonly fields: readonly any[];
|
|
47
|
+
readonly readonly?: string | undefined;
|
|
47
48
|
readonly layouts: readonly {
|
|
48
49
|
readonly name: string;
|
|
49
50
|
readonly layout: {
|
|
@@ -61,7 +62,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
61
62
|
};
|
|
62
63
|
readonly media?: string | undefined;
|
|
63
64
|
}[];
|
|
64
|
-
readonly readonly?: string | undefined;
|
|
65
65
|
} | undefined;
|
|
66
66
|
readonly dataSource?: {
|
|
67
67
|
readonly data: string;
|
|
@@ -292,6 +292,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
292
292
|
readonly displayName?: string | undefined;
|
|
293
293
|
readonly kind: "shwfed.component.form";
|
|
294
294
|
readonly fields: readonly any[];
|
|
295
|
+
readonly readonly?: string | undefined;
|
|
295
296
|
readonly layouts: readonly {
|
|
296
297
|
readonly name: string;
|
|
297
298
|
readonly layout: {
|
|
@@ -309,7 +310,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
309
310
|
};
|
|
310
311
|
readonly media?: string | undefined;
|
|
311
312
|
}[];
|
|
312
|
-
readonly readonly?: string | undefined;
|
|
313
313
|
} | undefined;
|
|
314
314
|
readonly dataSource?: {
|
|
315
315
|
readonly data: string;
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
readonly displayName?: string | undefined;
|
|
40
40
|
readonly kind: "shwfed.component.form";
|
|
41
41
|
readonly fields: readonly any[];
|
|
42
|
+
readonly readonly?: string | undefined;
|
|
42
43
|
readonly layouts: readonly {
|
|
43
44
|
readonly name: string;
|
|
44
45
|
readonly layout: {
|
|
@@ -56,7 +57,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
56
57
|
};
|
|
57
58
|
readonly media?: string | undefined;
|
|
58
59
|
}[];
|
|
59
|
-
readonly readonly?: string | undefined;
|
|
60
60
|
} | undefined;
|
|
61
61
|
readonly dataSource?: {
|
|
62
62
|
readonly data: string;
|
|
@@ -287,6 +287,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
287
287
|
readonly displayName?: string | undefined;
|
|
288
288
|
readonly kind: "shwfed.component.form";
|
|
289
289
|
readonly fields: readonly any[];
|
|
290
|
+
readonly readonly?: string | undefined;
|
|
290
291
|
readonly layouts: readonly {
|
|
291
292
|
readonly name: string;
|
|
292
293
|
readonly layout: {
|
|
@@ -304,7 +305,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
304
305
|
};
|
|
305
306
|
readonly media?: string | undefined;
|
|
306
307
|
}[];
|
|
307
|
-
readonly readonly?: string | undefined;
|
|
308
308
|
} | undefined;
|
|
309
309
|
readonly dataSource?: {
|
|
310
310
|
readonly data: string;
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
readonly displayName?: string | undefined;
|
|
40
40
|
readonly kind: "shwfed.component.form";
|
|
41
41
|
readonly fields: readonly any[];
|
|
42
|
+
readonly readonly?: string | undefined;
|
|
42
43
|
readonly layouts: readonly {
|
|
43
44
|
readonly name: string;
|
|
44
45
|
readonly layout: {
|
|
@@ -56,7 +57,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
56
57
|
};
|
|
57
58
|
readonly media?: string | undefined;
|
|
58
59
|
}[];
|
|
59
|
-
readonly readonly?: string | undefined;
|
|
60
60
|
} | undefined;
|
|
61
61
|
readonly dataSource?: {
|
|
62
62
|
readonly data: string;
|
|
@@ -287,6 +287,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
287
287
|
readonly displayName?: string | undefined;
|
|
288
288
|
readonly kind: "shwfed.component.form";
|
|
289
289
|
readonly fields: readonly any[];
|
|
290
|
+
readonly readonly?: string | undefined;
|
|
290
291
|
readonly layouts: readonly {
|
|
291
292
|
readonly name: string;
|
|
292
293
|
readonly layout: {
|
|
@@ -304,7 +305,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
304
305
|
};
|
|
305
306
|
readonly media?: string | undefined;
|
|
306
307
|
}[];
|
|
307
|
-
readonly readonly?: string | undefined;
|
|
308
308
|
} | undefined;
|
|
309
309
|
readonly dataSource?: {
|
|
310
310
|
readonly data: string;
|
|
@@ -54,6 +54,7 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
54
54
|
readonly displayName?: string | undefined;
|
|
55
55
|
readonly kind: "shwfed.component.form";
|
|
56
56
|
readonly fields: readonly any[];
|
|
57
|
+
readonly readonly?: string | undefined;
|
|
57
58
|
readonly layouts: readonly {
|
|
58
59
|
readonly name: string;
|
|
59
60
|
readonly layout: {
|
|
@@ -71,7 +72,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
71
72
|
};
|
|
72
73
|
readonly media?: string | undefined;
|
|
73
74
|
}[];
|
|
74
|
-
readonly readonly?: string | undefined;
|
|
75
75
|
} | undefined;
|
|
76
76
|
readonly dataSource?: {
|
|
77
77
|
readonly data: string;
|
|
@@ -557,6 +557,7 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
557
557
|
readonly displayName?: string | undefined;
|
|
558
558
|
readonly kind: "shwfed.component.form";
|
|
559
559
|
readonly fields: readonly any[];
|
|
560
|
+
readonly readonly?: string | undefined;
|
|
560
561
|
readonly layouts: readonly {
|
|
561
562
|
readonly name: string;
|
|
562
563
|
readonly layout: {
|
|
@@ -574,7 +575,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
574
575
|
};
|
|
575
576
|
readonly media?: string | undefined;
|
|
576
577
|
}[];
|
|
577
|
-
readonly readonly?: string | undefined;
|
|
578
578
|
}, Schema.Struct<{
|
|
579
579
|
fields: Schema.Array$<Schema.Schema<any, any, never>>;
|
|
580
580
|
layouts: Schema.refine<readonly {
|
|
@@ -40,6 +40,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
40
40
|
readonly expression: string;
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly options: string;
|
|
43
|
+
readonly optionValue: string;
|
|
44
|
+
readonly optionLabel: readonly [{
|
|
45
|
+
readonly locale: "zh";
|
|
46
|
+
readonly message: string;
|
|
47
|
+
}, ...{
|
|
48
|
+
readonly locale: "en" | "ja" | "ko";
|
|
49
|
+
readonly message: string;
|
|
50
|
+
}[]];
|
|
43
51
|
readonly validations?: readonly {
|
|
44
52
|
readonly message: readonly [{
|
|
45
53
|
readonly locale: "zh";
|
|
@@ -51,14 +59,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
51
59
|
readonly warning?: boolean | undefined;
|
|
52
60
|
readonly when: string;
|
|
53
61
|
}[] | undefined;
|
|
54
|
-
readonly optionValue: string;
|
|
55
|
-
readonly optionLabel: readonly [{
|
|
56
|
-
readonly locale: "zh";
|
|
57
|
-
readonly message: string;
|
|
58
|
-
}, ...{
|
|
59
|
-
readonly locale: "en" | "ja" | "ko";
|
|
60
|
-
readonly message: string;
|
|
61
|
-
}[]];
|
|
62
62
|
}) => any;
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
64
64
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -98,6 +98,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
readonly expression: string;
|
|
99
99
|
} | undefined;
|
|
100
100
|
readonly options: string;
|
|
101
|
+
readonly optionValue: string;
|
|
102
|
+
readonly optionLabel: readonly [{
|
|
103
|
+
readonly locale: "zh";
|
|
104
|
+
readonly message: string;
|
|
105
|
+
}, ...{
|
|
106
|
+
readonly locale: "en" | "ja" | "ko";
|
|
107
|
+
readonly message: string;
|
|
108
|
+
}[]];
|
|
101
109
|
readonly validations?: readonly {
|
|
102
110
|
readonly message: readonly [{
|
|
103
111
|
readonly locale: "zh";
|
|
@@ -109,14 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
109
117
|
readonly warning?: boolean | undefined;
|
|
110
118
|
readonly when: string;
|
|
111
119
|
}[] | undefined;
|
|
112
|
-
readonly optionValue: string;
|
|
113
|
-
readonly optionLabel: readonly [{
|
|
114
|
-
readonly locale: "zh";
|
|
115
|
-
readonly message: string;
|
|
116
|
-
}, ...{
|
|
117
|
-
readonly locale: "en" | "ja" | "ko";
|
|
118
|
-
readonly message: string;
|
|
119
|
-
}[]];
|
|
120
120
|
}) => any) | undefined;
|
|
121
121
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
122
122
|
declare const _default: typeof __VLS_export;
|
|
@@ -40,6 +40,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
40
40
|
readonly expression: string;
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly options: string;
|
|
43
|
+
readonly optionValue: string;
|
|
44
|
+
readonly optionLabel: readonly [{
|
|
45
|
+
readonly locale: "zh";
|
|
46
|
+
readonly message: string;
|
|
47
|
+
}, ...{
|
|
48
|
+
readonly locale: "en" | "ja" | "ko";
|
|
49
|
+
readonly message: string;
|
|
50
|
+
}[]];
|
|
43
51
|
readonly validations?: readonly {
|
|
44
52
|
readonly message: readonly [{
|
|
45
53
|
readonly locale: "zh";
|
|
@@ -51,14 +59,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
51
59
|
readonly warning?: boolean | undefined;
|
|
52
60
|
readonly when: string;
|
|
53
61
|
}[] | undefined;
|
|
54
|
-
readonly optionValue: string;
|
|
55
|
-
readonly optionLabel: readonly [{
|
|
56
|
-
readonly locale: "zh";
|
|
57
|
-
readonly message: string;
|
|
58
|
-
}, ...{
|
|
59
|
-
readonly locale: "en" | "ja" | "ko";
|
|
60
|
-
readonly message: string;
|
|
61
|
-
}[]];
|
|
62
62
|
}) => any;
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
64
64
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -98,6 +98,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
readonly expression: string;
|
|
99
99
|
} | undefined;
|
|
100
100
|
readonly options: string;
|
|
101
|
+
readonly optionValue: string;
|
|
102
|
+
readonly optionLabel: readonly [{
|
|
103
|
+
readonly locale: "zh";
|
|
104
|
+
readonly message: string;
|
|
105
|
+
}, ...{
|
|
106
|
+
readonly locale: "en" | "ja" | "ko";
|
|
107
|
+
readonly message: string;
|
|
108
|
+
}[]];
|
|
101
109
|
readonly validations?: readonly {
|
|
102
110
|
readonly message: readonly [{
|
|
103
111
|
readonly locale: "zh";
|
|
@@ -109,14 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
109
117
|
readonly warning?: boolean | undefined;
|
|
110
118
|
readonly when: string;
|
|
111
119
|
}[] | undefined;
|
|
112
|
-
readonly optionValue: string;
|
|
113
|
-
readonly optionLabel: readonly [{
|
|
114
|
-
readonly locale: "zh";
|
|
115
|
-
readonly message: string;
|
|
116
|
-
}, ...{
|
|
117
|
-
readonly locale: "en" | "ja" | "ko";
|
|
118
|
-
readonly message: string;
|
|
119
|
-
}[]];
|
|
120
120
|
}) => any) | undefined;
|
|
121
121
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
122
122
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts
CHANGED
|
@@ -42,6 +42,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
42
42
|
readonly mode: "formula" | "prefill";
|
|
43
43
|
readonly expression: string;
|
|
44
44
|
} | undefined;
|
|
45
|
+
readonly precision?: number | undefined;
|
|
46
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
47
|
+
readonly valueAsString?: boolean | undefined;
|
|
45
48
|
readonly validations?: readonly {
|
|
46
49
|
readonly message: readonly [{
|
|
47
50
|
readonly locale: "zh";
|
|
@@ -53,9 +56,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
56
|
readonly warning?: boolean | undefined;
|
|
54
57
|
readonly when: string;
|
|
55
58
|
}[] | undefined;
|
|
56
|
-
readonly precision?: number | undefined;
|
|
57
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
58
|
-
readonly valueAsString?: boolean | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -97,6 +97,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
97
97
|
readonly mode: "formula" | "prefill";
|
|
98
98
|
readonly expression: string;
|
|
99
99
|
} | undefined;
|
|
100
|
+
readonly precision?: number | undefined;
|
|
101
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
102
|
+
readonly valueAsString?: boolean | undefined;
|
|
100
103
|
readonly validations?: readonly {
|
|
101
104
|
readonly message: readonly [{
|
|
102
105
|
readonly locale: "zh";
|
|
@@ -108,9 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
111
|
readonly warning?: boolean | undefined;
|
|
109
112
|
readonly when: string;
|
|
110
113
|
}[] | undefined;
|
|
111
|
-
readonly precision?: number | undefined;
|
|
112
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
113
|
-
readonly valueAsString?: boolean | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|