@shwfed/config 2.9.1 → 2.9.3
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 +1 -3
- package/dist/module.json +1 -1
- package/dist/preview/assets/{badge-BFb-1pCT.js → badge-CY7N4tzE.js} +1 -1
- package/dist/preview/assets/{config-CRxO6DVD.js → config-B6xtqPys.js} +1 -1
- package/dist/preview/assets/{config-0DneC44h.js → config-BI9O-CMH.js} +1 -1
- package/dist/preview/assets/{config-rr6HpsHl.js → config-C9LThFFM.js} +1 -1
- package/dist/preview/assets/{config-CgGwKTMB.js → config-CdTo0RnO.js} +1 -1
- package/dist/preview/assets/{config-DlA3bMzk.js → config-Ch-uzD4K.js} +1 -1
- package/dist/preview/assets/{config-ByZ0313c.js → config-Cou30eMf.js} +1 -1
- package/dist/preview/assets/{config-CBypmimA.js → config-CqhZtEzh.js} +1 -1
- package/dist/preview/assets/{config-iysOo1dH.js → config-D0e-dO3Y.js} +1 -1
- package/dist/preview/assets/{config-DFaQa_Ua.js → config-D2iQ1cHu.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-C1MSczMq.js → definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js} +1 -1
- package/dist/preview/assets/index-BTleLwMz.js +1 -0
- package/dist/preview/assets/{index-CuSwhbkD.js → index-CNgUJDgV.js} +1 -1
- package/dist/preview/assets/index-COSjWreD.css +1 -0
- package/dist/preview/assets/{index-CpLuDJe9.js → index-DZS4TKGX.js} +156 -158
- package/dist/preview/assets/{item-iBF7XNGG.js → item-Cjwnz068.js} +1 -1
- package/dist/preview/assets/{runtime-BmED451i.js → runtime-BHXxRkau.js} +1 -1
- package/dist/preview/assets/{runtime-CY9TirG6.js → runtime-BhLcYJQW.js} +1 -1
- package/dist/preview/assets/{runtime-DrKKzpjq.js → runtime-Bi-TAMSI.js} +1 -1
- package/dist/preview/assets/{runtime-CPiaq4_s.js → runtime-Bxhg8fck.js} +1 -1
- package/dist/preview/assets/{runtime-D4WPJrz9.js → runtime-Caf4c7Qr.js} +1 -1
- package/dist/preview/assets/{runtime-Uz1zCLPO.js → runtime-CiHPMpFW.js} +1 -1
- package/dist/preview/assets/{runtime-XjumEj6A.js → runtime-DLY_TObR.js} +1 -1
- package/dist/preview/assets/{runtime-S7Afa8F4.js → runtime-DNRZcUw_.js} +1 -1
- package/dist/preview/assets/{runtime-BPK6zdoy.js → runtime-ncpmo94E.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue +1 -0
- package/dist/runtime/components/config/index.vue +39 -1
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +24 -24
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +24 -24
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +8 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/utils/common.js +1 -3
- package/dist/runtime/components/form/utils/derived.js +2 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/package.json +1 -1
- package/dist/preview/assets/index-BlHAyQdm.css +0 -1
- package/dist/preview/assets/index-CLQQPdxj.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as q,u as B,o as O,w as y,a as M,c as E,n as T,b as V,r as x,e as o,g as z,f as A,h as s,i as J,j as L,p as P,l as U,k as W,m as D,q as g,s as G,t as h,v as H}from"./index-
|
|
1
|
+
import{d as q,u as B,o as O,w as y,a as M,c as E,n as T,b as V,r as x,e as o,g as z,f as A,h as s,i as J,j as L,p as P,l as U,k as W,m as D,q as g,s as G,t as h,v as H}from"./index-DZS4TKGX.js";import K from"./index-CNgUJDgV.js";const X=q({name:"ShwfedBlockAnimatedNumberItem",__name:"item",props:{item:{}},setup(b){const n=b,j=G(),a=x(void 0),m=x(0);function u(){return D(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=o(()=>a.value===void 0?g():H(a.value));function v(e){if(!e)return"";try{const t=h(s(e,{...u(),json:d.value}));return t==null?"":String(t)}catch{return""}}const w=o(()=>v(n.item.prefix)),_=o(()=>v(n.item.suffix));function C(e){if(e)try{const t=h(s(e,{...u(),json:d.value}));return t==null?void 0:typeof t=="string"||typeof t=="object"?t:String(t)}catch{return}}const F=o(()=>C(n.item.style));async function r(){const e=n.item.dataSource,t=u(),N=z(function*(){let i=g();e.request&&(i=yield*A(yield*s(e.request,t)));const k=yield*s(e.value,{...t,json:i});return{json:J(i),value:k}});try{const i=await L(P(N,U));a.value=i.json,m.value=S(i.value)}catch(i){console.warn("[shwfed-animated-number] fetch failed",i)}}const l=o(()=>(n.item.pollingInterval??0)>0),I=o(()=>Math.max(1,n.item.pollingInterval??1)*1e3),c=W(),{pause:p,resume:f}=B(()=>{r()},I,{immediate:!1});return O(()=>{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)=>(M(),E(V(K),{value:m.value,prefix:w.value,suffix:_.value,style:T(F.value)},null,8,["value","prefix","suffix","style"]))}});export{X as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,aJ as f,aK as u,aE as g,aH as p,c as m,b as d,h as l,m as x,aI as h,s as E,a as _}from"./index-
|
|
1
|
+
import{d as r,aJ as f,aK as u,aE as g,aH as p,c as m,b as d,h as l,m as x,aI as h,s as E,a as _}from"./index-DZS4TKGX.js";import{_ as b}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js";const B=r({name:"ShwfedHttpRequestActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(n){const e=n,c=E(),a=(o,t)=>l(o,{...x(c),...t}),s=h(),i=f(()=>u(g(s,e.config.before),()=>p(e.config.expression,a,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,channel:s,triggers:{success:e.config.onSuccess,warning:e.config.onWarning,error:e.config.onError,info:e.config.onInfo}})));return(o,t)=>(_(),m(b,{"action-id":n.buttonId,effect:d(i)},null,8,["action-id","effect"]))}});export{B as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as l,aX as g,aJ as A,aM as y,aE as h,c as _,b,h as S,m as j,aI as k,aY as C,a as B,s as E}from"./index-
|
|
1
|
+
import{d as l,aX as g,aJ as A,aM as y,aE as h,c as _,b,h as S,m as j,aI as k,aY as C,a as B,s as E}from"./index-DZS4TKGX.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js";const F=l({name:"ShwfedStateWriteActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(r){const s=r,i=E(),f=(e,t)=>S(e,{...j(i),...t}),n=g(),c=n.kind==="form"&&n.parent?n.parent:n,u=k(),m=C((e,t,a)=>{if(Array.isArray(e[t])&&Array.isArray(a))return e[t]=a,!0});function o(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function p(e,t){return o(e)&&o(t)?m({...t},e):t}const d=A(()=>y(f(s.config.expression),e=>{for(const t of Object.keys(e)){const a=p(c.getAt(t),e[t]);c.setAt(t,a)}return h(u,s.config.onSuccess)}));return(e,t)=>(B(),_(I,{"action-id":r.buttonId,effect:b(d)},null,8,["action-id","effect"]))}});export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as f,G as g,g as l,aE as u,M as d,aF as p,aG as m,aH as x,c as E,b as h,h as _,m as w,aI as C,s as I,a as b}from"./index-
|
|
1
|
+
import{d as f,G as g,g as l,aE as u,M as d,aF as p,aG as m,aH as x,c as E,b as h,h as _,m as w,aI as C,s as I,a as b}from"./index-DZS4TKGX.js";import{_ as k}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js";const H=f({name:"ShwfedHttpRequestConfirmActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(s){const n=s,{locale:i}=g(),a=I(),c=(e,o)=>_(e,{...w(a),...o}),t=C(),r=l(function*(){yield*u(t,n.config.before);const e=d(n.config.markdown,i.value)??"",o=p(e,c);(yield*m({content:o,icon:n.config.icon,color:n.config.color}))||(yield*x(n.config.expression,c,{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)=>(b(),E(k,{"action-id":s.buttonId,effect:h(r)},null,8,["action-id","effect"]))}});export{H as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as i,G as x,aO as M,g as T,M as c,aP as p,t as S,c as b,H as d,b as u,r as I,y as N,aI as k,aQ as L,a as H,S as w,n as A,I as r,aR as F,aS as R,ax as V,s as $,aT as f,D as m,aU as j}from"./index-
|
|
1
|
+
import{d as i,G as x,aO as M,g as T,M as c,aP as p,t as S,c as b,H as d,b as u,r as I,y as N,aI as k,aQ as L,a as H,S as w,n as A,I as r,aR as F,aS as R,ax as V,s as $,aT as f,D as m,aU as j}from"./index-DZS4TKGX.js";import{_ as z}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js";const Y=i({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(n){const a=n,{locale:l}=x(),v=e=>{},g=$(),s=N(f,void 0),h=k(),o=I(null),C=M(a.buttonId,{close:()=>L(()=>{o.value?.()})},h),y=i({name:"ModalBoundaryBridge",setup(e,{slots:t}){return R(g),m(j,C),s&&m(f,s),()=>t.default?.()}}),E=(e,t)=>V()?.(e,t),_=T(function*(){const e=c(a.config.modalTitle,l.value)??c(a.buttonTitle,l.value)??"",{modal:t,close:B}=yield*p({title:e,width:a.config.modalWidth});o.value=()=>S(B()),yield*t,o.value=null});return(e,t)=>(H(),b(z,{"action-id":n.buttonId,effect:u(_)},{default:d(()=>[w("div",{style:A(n.config.modalMinHeight?`min-height: ${n.config.modalMinHeight}`:void 0)},[r(u(y),null,{default:d(()=>[r(F,{"slot-value":n.config.slot,configure:v,"find-entry":E},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{Y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as E,aJ as _,g as S,aQ as r,aE as m,aV as b,aW as j,c as v,b as x,h as B,m as L,aI as k,s as C,a as R}from"./index-
|
|
1
|
+
import{d as E,aJ as _,g as S,aQ as r,aE as m,aV as b,aW as j,c as v,b as x,h as B,m as L,aI as k,s as C,a as R}from"./index-DZS4TKGX.js";import{_ as I}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js";const q=E({name:"ShwfedHttpDownloadActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(d){const c=d,g=C(),t=(e,n)=>B(e,{...L(g),...n}),l=k(),p=new Set(["success","error","warning","info"]);function f(e){const n=URL.createObjectURL(e),o=document.createElement("a");o.href=n,o.download=e.name,document.body.appendChild(o),o.click(),o.remove(),URL.revokeObjectURL(n)}const y=_(()=>S(function*(){const{template:e,messageExpression:n,resultExpression:o}=c.config,u=yield*t(e.request);if(!e.download){const s=yield*u.file();return yield*r(()=>f(s)),yield*m(l,c.config.onSuccess)}const a={json:yield*u.json()},i=o===void 0?"success":yield*b(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 w=yield*(yield*t(e.download,a)).file();yield*r(()=>f(w))}const h={success:c.config.onSuccess,warning:c.config.onWarning,error:c.config.onError,info:c.config.onInfo};return yield*m(l,h[i])}));return(e,n)=>(R(),v(I,{"action-id":d.buttonId,effect:x(y)},null,8,["action-id","effect"]))}});export{q as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as n}from"./definition.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as n}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js";import{d as o,c as a,b as c,a as f,aL as i}from"./index-DZS4TKGX.js";const _=o({name:"ShwfedPrototypeActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(t){const e=i;return(r,s)=>(f(),a(n,{"action-id":t.buttonId,effect:c(e)},null,8,["action-id","effect"]))}});export{_ as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as u,G as i,c as l,b as p,e as m,a as d,J as f,M as _,aF as k,h as w,m as x,s as g}from"./index-
|
|
1
|
+
import{d as u,G as i,c as l,b as p,e as m,a as d,J as f,M as _,aF as k,h as w,m as x,s as g}from"./index-DZS4TKGX.js";const B=u({name:"ShwfedMarkdownItemRuntime",__name:"runtime",props:{config:{}},setup(n){const o=n,{locale:t}=i(),a=g(),c=(e,s)=>w(e,{...x(a),...s}),r=m(()=>{const e=_(o.config.content,t.value)??"";return k(e,c)});return(e,s)=>(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{_ as c}from"./definition.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as c}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js";import{d as s,aJ as o,aE as i,c as r,b as f,aI as u,a as m}from"./index-DZS4TKGX.js";const g=s({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(c,{"action-id":e.buttonId,effect:f(a)},null,8,["action-id","effect"]))}});export{g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as f,aJ as u,aM as l,aN as d,c as m,b as w,h as p,m as h,s as _,a as g}from"./index-
|
|
1
|
+
import{d as f,aJ as u,aM as l,aN as d,c as m,b as w,h as p,m as h,s as _,a as g}from"./index-DZS4TKGX.js";import{_ as b}from"./definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.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=_(),r=(n,o)=>p(n,{...h(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)=>(g(),m(b,{"action-id":e.buttonId,effect:w(s)},null,8,["action-id","effect"]))}});export{B as default};
|
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-DZS4TKGX.js"></script>
|
|
14
|
+
<link rel="stylesheet" crossorigin href="./assets/index-COSjWreD.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
|
17
17
|
<div id="app"></div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed, ref, watch } from "vue";
|
|
3
|
+
import { Icon } from "@iconify/vue";
|
|
3
4
|
import { Effect } from "effect";
|
|
4
5
|
import { useI18n } from "vue-i18n";
|
|
5
6
|
import { useHead } from "#app";
|
|
@@ -85,6 +86,9 @@ useHead(() => {
|
|
|
85
86
|
const title = getLocalizedText(config.value.title, locale.value);
|
|
86
87
|
return title ? { title } : {};
|
|
87
88
|
});
|
|
89
|
+
const isMac = computed(
|
|
90
|
+
() => typeof navigator !== "undefined" && /Mac/i.test(navigator.platform)
|
|
91
|
+
);
|
|
88
92
|
</script>
|
|
89
93
|
|
|
90
94
|
<template>
|
|
@@ -104,7 +108,41 @@ useHead(() => {
|
|
|
104
108
|
v-if="editable"
|
|
105
109
|
#empty
|
|
106
110
|
>
|
|
107
|
-
|
|
111
|
+
<div class="flex flex-col items-center gap-2 py-8 text-xs text-muted-foreground">
|
|
112
|
+
<p class="mb-2 text-sm font-medium text-foreground">
|
|
113
|
+
当前区域为空,按以下步骤进入编辑:
|
|
114
|
+
</p>
|
|
115
|
+
<ol class="flex flex-col gap-1.5 text-left">
|
|
116
|
+
<li class="flex items-center gap-2">
|
|
117
|
+
<span class="font-mono text-xs text-muted-foreground">1.</span>
|
|
118
|
+
<span>将鼠标移动到需要编辑的区域上</span>
|
|
119
|
+
</li>
|
|
120
|
+
<li class="flex items-center gap-2">
|
|
121
|
+
<span class="font-mono text-xs text-muted-foreground">2.</span>
|
|
122
|
+
<span class="flex items-center gap-1.5">
|
|
123
|
+
<template v-if="isMac">
|
|
124
|
+
<span>按住</span>
|
|
125
|
+
<kbd class="inline-flex items-center gap-1 rounded border bg-muted px-1.5 py-0.5 font-medium text-foreground">
|
|
126
|
+
<Icon icon="fluent:key-command-20-regular" />
|
|
127
|
+
Command
|
|
128
|
+
</kbd>
|
|
129
|
+
<span>键</span>
|
|
130
|
+
</template>
|
|
131
|
+
<template v-else>
|
|
132
|
+
<span>按住</span>
|
|
133
|
+
<kbd class="inline-flex items-center rounded border bg-muted px-1.5 py-0.5 font-medium text-foreground">
|
|
134
|
+
Ctrl
|
|
135
|
+
</kbd>
|
|
136
|
+
<span>键</span>
|
|
137
|
+
</template>
|
|
138
|
+
</span>
|
|
139
|
+
</li>
|
|
140
|
+
<li class="flex items-center gap-2">
|
|
141
|
+
<span class="font-mono text-xs text-muted-foreground">3.</span>
|
|
142
|
+
<span>保持按住的同时点击该区域,即可进入编辑</span>
|
|
143
|
+
</li>
|
|
144
|
+
</ol>
|
|
145
|
+
</div>
|
|
108
146
|
</template>
|
|
109
147
|
</SlotRenderer>
|
|
110
148
|
</div>
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts
CHANGED
|
@@ -41,27 +41,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly format?: string | undefined;
|
|
43
43
|
readonly valueFormat?: string | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
44
|
+
readonly validations?: readonly {
|
|
45
|
+
readonly message: readonly [{
|
|
46
46
|
readonly locale: "zh";
|
|
47
47
|
readonly message: string;
|
|
48
48
|
}, ...{
|
|
49
49
|
readonly locale: "en" | "ja" | "ko";
|
|
50
50
|
readonly message: string;
|
|
51
51
|
}[]];
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
52
|
+
readonly warning?: boolean | undefined;
|
|
53
|
+
readonly when: string;
|
|
54
54
|
}[] | undefined;
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
55
|
+
readonly presets?: readonly {
|
|
56
|
+
readonly label: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
58
58
|
readonly message: string;
|
|
59
59
|
}, ...{
|
|
60
60
|
readonly locale: "en" | "ja" | "ko";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
}[]];
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
63
|
+
readonly id: string;
|
|
64
|
+
readonly value: string;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}) => any;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -103,27 +103,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
103
103
|
} | undefined;
|
|
104
104
|
readonly format?: string | undefined;
|
|
105
105
|
readonly valueFormat?: string | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
106
|
+
readonly validations?: readonly {
|
|
107
|
+
readonly message: readonly [{
|
|
108
108
|
readonly locale: "zh";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}, ...{
|
|
111
111
|
readonly locale: "en" | "ja" | "ko";
|
|
112
112
|
readonly message: string;
|
|
113
113
|
}[]];
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
114
|
+
readonly warning?: boolean | undefined;
|
|
115
|
+
readonly when: string;
|
|
116
116
|
}[] | undefined;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
117
|
+
readonly presets?: readonly {
|
|
118
|
+
readonly label: readonly [{
|
|
119
119
|
readonly locale: "zh";
|
|
120
120
|
readonly message: string;
|
|
121
121
|
}, ...{
|
|
122
122
|
readonly locale: "en" | "ja" | "ko";
|
|
123
123
|
readonly message: string;
|
|
124
124
|
}[]];
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
125
|
+
readonly id: string;
|
|
126
|
+
readonly value: string;
|
|
127
127
|
}[] | undefined;
|
|
128
128
|
}) => any) | undefined;
|
|
129
129
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts
CHANGED
|
@@ -41,27 +41,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly format?: string | undefined;
|
|
43
43
|
readonly valueFormat?: string | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
44
|
+
readonly validations?: readonly {
|
|
45
|
+
readonly message: readonly [{
|
|
46
46
|
readonly locale: "zh";
|
|
47
47
|
readonly message: string;
|
|
48
48
|
}, ...{
|
|
49
49
|
readonly locale: "en" | "ja" | "ko";
|
|
50
50
|
readonly message: string;
|
|
51
51
|
}[]];
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
52
|
+
readonly warning?: boolean | undefined;
|
|
53
|
+
readonly when: string;
|
|
54
54
|
}[] | undefined;
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
55
|
+
readonly presets?: readonly {
|
|
56
|
+
readonly label: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
58
58
|
readonly message: string;
|
|
59
59
|
}, ...{
|
|
60
60
|
readonly locale: "en" | "ja" | "ko";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
}[]];
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
63
|
+
readonly id: string;
|
|
64
|
+
readonly value: string;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}) => any;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -103,27 +103,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
103
103
|
} | undefined;
|
|
104
104
|
readonly format?: string | undefined;
|
|
105
105
|
readonly valueFormat?: string | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
106
|
+
readonly validations?: readonly {
|
|
107
|
+
readonly message: readonly [{
|
|
108
108
|
readonly locale: "zh";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}, ...{
|
|
111
111
|
readonly locale: "en" | "ja" | "ko";
|
|
112
112
|
readonly message: string;
|
|
113
113
|
}[]];
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
114
|
+
readonly warning?: boolean | undefined;
|
|
115
|
+
readonly when: string;
|
|
116
116
|
}[] | undefined;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
117
|
+
readonly presets?: readonly {
|
|
118
|
+
readonly label: readonly [{
|
|
119
119
|
readonly locale: "zh";
|
|
120
120
|
readonly message: string;
|
|
121
121
|
}, ...{
|
|
122
122
|
readonly locale: "en" | "ja" | "ko";
|
|
123
123
|
readonly message: string;
|
|
124
124
|
}[]];
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
125
|
+
readonly id: string;
|
|
126
|
+
readonly value: string;
|
|
127
127
|
}[] | undefined;
|
|
128
128
|
}) => any) | undefined;
|
|
129
129
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -33,9 +33,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly format?: string | undefined;
|
|
37
|
-
readonly valueFormat?: string | undefined;
|
|
38
36
|
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
|
+
readonly format?: string | undefined;
|
|
39
38
|
readonly startPlaceholder?: readonly [{
|
|
40
39
|
readonly locale: "zh";
|
|
41
40
|
readonly message: string;
|
|
@@ -50,28 +49,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
49
|
readonly locale: "en" | "ja" | "ko";
|
|
51
50
|
readonly message: string;
|
|
52
51
|
}[]] | undefined;
|
|
53
|
-
readonly
|
|
54
|
-
|
|
52
|
+
readonly valueFormat?: string | undefined;
|
|
53
|
+
readonly validations?: readonly {
|
|
54
|
+
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
56
56
|
readonly message: string;
|
|
57
57
|
}, ...{
|
|
58
58
|
readonly locale: "en" | "ja" | "ko";
|
|
59
59
|
readonly message: string;
|
|
60
60
|
}[]];
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly start: string;
|
|
61
|
+
readonly warning?: boolean | undefined;
|
|
62
|
+
readonly when: string;
|
|
64
63
|
}[] | undefined;
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
64
|
+
readonly presets?: readonly {
|
|
65
|
+
readonly label: readonly [{
|
|
67
66
|
readonly locale: "zh";
|
|
68
67
|
readonly message: string;
|
|
69
68
|
}, ...{
|
|
70
69
|
readonly locale: "en" | "ja" | "ko";
|
|
71
70
|
readonly message: string;
|
|
72
71
|
}[]];
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
72
|
+
readonly id: string;
|
|
73
|
+
readonly end: string;
|
|
74
|
+
readonly start: string;
|
|
75
75
|
}[] | undefined;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -105,9 +105,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly expression: string;
|
|
106
106
|
} | undefined;
|
|
107
107
|
readonly numberOfMonths?: number | undefined;
|
|
108
|
-
readonly format?: string | undefined;
|
|
109
|
-
readonly valueFormat?: string | undefined;
|
|
110
108
|
readonly rangeSeparatorIcon?: string | undefined;
|
|
109
|
+
readonly format?: string | undefined;
|
|
111
110
|
readonly startPlaceholder?: readonly [{
|
|
112
111
|
readonly locale: "zh";
|
|
113
112
|
readonly message: string;
|
|
@@ -122,28 +121,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
121
|
readonly locale: "en" | "ja" | "ko";
|
|
123
122
|
readonly message: string;
|
|
124
123
|
}[]] | undefined;
|
|
125
|
-
readonly
|
|
126
|
-
|
|
124
|
+
readonly valueFormat?: string | undefined;
|
|
125
|
+
readonly validations?: readonly {
|
|
126
|
+
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
128
128
|
readonly message: string;
|
|
129
129
|
}, ...{
|
|
130
130
|
readonly locale: "en" | "ja" | "ko";
|
|
131
131
|
readonly message: string;
|
|
132
132
|
}[]];
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly start: string;
|
|
133
|
+
readonly warning?: boolean | undefined;
|
|
134
|
+
readonly when: string;
|
|
136
135
|
}[] | undefined;
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
136
|
+
readonly presets?: readonly {
|
|
137
|
+
readonly label: readonly [{
|
|
139
138
|
readonly locale: "zh";
|
|
140
139
|
readonly message: string;
|
|
141
140
|
}, ...{
|
|
142
141
|
readonly locale: "en" | "ja" | "ko";
|
|
143
142
|
readonly message: string;
|
|
144
143
|
}[]];
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly end: string;
|
|
146
|
+
readonly start: string;
|
|
147
147
|
}[] | undefined;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -33,9 +33,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly format?: string | undefined;
|
|
37
|
-
readonly valueFormat?: string | undefined;
|
|
38
36
|
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
|
+
readonly format?: string | undefined;
|
|
39
38
|
readonly startPlaceholder?: readonly [{
|
|
40
39
|
readonly locale: "zh";
|
|
41
40
|
readonly message: string;
|
|
@@ -50,28 +49,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
49
|
readonly locale: "en" | "ja" | "ko";
|
|
51
50
|
readonly message: string;
|
|
52
51
|
}[]] | undefined;
|
|
53
|
-
readonly
|
|
54
|
-
|
|
52
|
+
readonly valueFormat?: string | undefined;
|
|
53
|
+
readonly validations?: readonly {
|
|
54
|
+
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
56
56
|
readonly message: string;
|
|
57
57
|
}, ...{
|
|
58
58
|
readonly locale: "en" | "ja" | "ko";
|
|
59
59
|
readonly message: string;
|
|
60
60
|
}[]];
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly start: string;
|
|
61
|
+
readonly warning?: boolean | undefined;
|
|
62
|
+
readonly when: string;
|
|
64
63
|
}[] | undefined;
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
64
|
+
readonly presets?: readonly {
|
|
65
|
+
readonly label: readonly [{
|
|
67
66
|
readonly locale: "zh";
|
|
68
67
|
readonly message: string;
|
|
69
68
|
}, ...{
|
|
70
69
|
readonly locale: "en" | "ja" | "ko";
|
|
71
70
|
readonly message: string;
|
|
72
71
|
}[]];
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
72
|
+
readonly id: string;
|
|
73
|
+
readonly end: string;
|
|
74
|
+
readonly start: string;
|
|
75
75
|
}[] | undefined;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -105,9 +105,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly expression: string;
|
|
106
106
|
} | undefined;
|
|
107
107
|
readonly numberOfMonths?: number | undefined;
|
|
108
|
-
readonly format?: string | undefined;
|
|
109
|
-
readonly valueFormat?: string | undefined;
|
|
110
108
|
readonly rangeSeparatorIcon?: string | undefined;
|
|
109
|
+
readonly format?: string | undefined;
|
|
111
110
|
readonly startPlaceholder?: readonly [{
|
|
112
111
|
readonly locale: "zh";
|
|
113
112
|
readonly message: string;
|
|
@@ -122,28 +121,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
121
|
readonly locale: "en" | "ja" | "ko";
|
|
123
122
|
readonly message: string;
|
|
124
123
|
}[]] | undefined;
|
|
125
|
-
readonly
|
|
126
|
-
|
|
124
|
+
readonly valueFormat?: string | undefined;
|
|
125
|
+
readonly validations?: readonly {
|
|
126
|
+
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
128
128
|
readonly message: string;
|
|
129
129
|
}, ...{
|
|
130
130
|
readonly locale: "en" | "ja" | "ko";
|
|
131
131
|
readonly message: string;
|
|
132
132
|
}[]];
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly start: string;
|
|
133
|
+
readonly warning?: boolean | undefined;
|
|
134
|
+
readonly when: string;
|
|
136
135
|
}[] | undefined;
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
136
|
+
readonly presets?: readonly {
|
|
137
|
+
readonly label: readonly [{
|
|
139
138
|
readonly locale: "zh";
|
|
140
139
|
readonly message: string;
|
|
141
140
|
}, ...{
|
|
142
141
|
readonly locale: "en" | "ja" | "ko";
|
|
143
142
|
readonly message: string;
|
|
144
143
|
}[]];
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly end: string;
|
|
146
|
+
readonly start: string;
|
|
147
147
|
}[] | undefined;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -43,27 +43,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly format?: string | undefined;
|
|
44
44
|
readonly valueFormat?: string | undefined;
|
|
45
45
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
46
|
+
readonly validations?: readonly {
|
|
47
|
+
readonly message: readonly [{
|
|
48
48
|
readonly locale: "zh";
|
|
49
49
|
readonly message: string;
|
|
50
50
|
}, ...{
|
|
51
51
|
readonly locale: "en" | "ja" | "ko";
|
|
52
52
|
readonly message: string;
|
|
53
53
|
}[]];
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
54
|
+
readonly warning?: boolean | undefined;
|
|
55
|
+
readonly when: string;
|
|
56
56
|
}[] | undefined;
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
57
|
+
readonly presets?: readonly {
|
|
58
|
+
readonly label: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
60
60
|
readonly message: string;
|
|
61
61
|
}, ...{
|
|
62
62
|
readonly locale: "en" | "ja" | "ko";
|
|
63
63
|
readonly message: string;
|
|
64
64
|
}[]];
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
65
|
+
readonly id: string;
|
|
66
|
+
readonly value: string;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
}) => any;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -107,27 +107,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
readonly format?: string | undefined;
|
|
108
108
|
readonly valueFormat?: string | undefined;
|
|
109
109
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
110
|
+
readonly validations?: readonly {
|
|
111
|
+
readonly message: readonly [{
|
|
112
112
|
readonly locale: "zh";
|
|
113
113
|
readonly message: string;
|
|
114
114
|
}, ...{
|
|
115
115
|
readonly locale: "en" | "ja" | "ko";
|
|
116
116
|
readonly message: string;
|
|
117
117
|
}[]];
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
118
|
+
readonly warning?: boolean | undefined;
|
|
119
|
+
readonly when: string;
|
|
120
120
|
}[] | undefined;
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
121
|
+
readonly presets?: readonly {
|
|
122
|
+
readonly label: readonly [{
|
|
123
123
|
readonly locale: "zh";
|
|
124
124
|
readonly message: string;
|
|
125
125
|
}, ...{
|
|
126
126
|
readonly locale: "en" | "ja" | "ko";
|
|
127
127
|
readonly message: string;
|
|
128
128
|
}[]];
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly value: string;
|
|
131
131
|
}[] | undefined;
|
|
132
132
|
}) => any) | undefined;
|
|
133
133
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|