@robot-admin/naive-ui-components 0.37.0 → 0.37.1
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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_Icon2.cjs +1 -1
- package/dist/C_Icon2.js +1 -1
- package/dist/C_Steps.css +39 -39
- package/dist/C_Steps2.cjs +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +7 -7
- package/dist/data2.d.ts +7 -7
- package/dist/editors.d.cts +7 -7
- package/dist/editors.d.ts +7 -7
- package/dist/index.vue.d.cts +6 -6
- package/dist/index.vue.d.ts +6 -6
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +4 -4
- package/dist/index18.vue.d.cts +4 -4
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +4 -4
- package/dist/index22.vue.d.cts +4 -4
- package/dist/index24.vue.d.cts +1 -1
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index28.vue.d.cts +1 -1
- package/dist/index28.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index31.vue.d.cts +6 -6
- package/dist/index31.vue.d.ts +6 -6
- package/dist/index32.vue.d.cts +2 -2
- package/dist/index32.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +6 -6
- package/dist/index4.vue.d.ts +6 -6
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/style.css +39 -39
- package/dist/useCalendarEvents.d.cts +2 -2
- package/dist/useCalendarEvents.d.ts +2 -2
- package/dist/useCollapsePanel.d.cts +6 -6
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useCropperCore.d.cts +3 -3
- package/dist/useCropperCore.d.ts +3 -3
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useGlobalSearch.d.cts +1 -1
- package/dist/useGlobalSearch.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +3 -3
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +86 -86
- package/dist/useWorkflowValidation.d.ts +86 -86
- package/dist/verification.d.cts +4 -4
- package/dist/verification.d.ts +4 -4
- package/docs/guides/theme.md +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
| 按需消费 | 63 个独立组件入口、自动导入 Resolver、组件样式入口,以及表单/表格的基础样式层级 |
|
|
34
34
|
| 独立接入 | 支持全量注册与局部导入;反馈、文案和全局配置可由宿主提供,表单弹窗可接入结构兼容的 Headless CRUD |
|
|
35
35
|
|
|
36
|
-
组件库负责界面与交互。业务接口、身份权限、上传服务和第三方平台配置由应用接入。当前仓库版本 **0.37.
|
|
36
|
+
组件库负责界面与交互。业务接口、身份权限、上传服务和第三方平台配置由应用接入。当前仓库版本 **0.37.1**,版本变化见 [CHANGELOG](./CHANGELOG.md)。
|
|
37
37
|
|
|
38
38
|
0.33 增强树的远程路径定位、分组选项、搜索字段设置和表格编辑契约,并保留原有默认用法。见[兼容接入与独立演示](./docs/guides/component-contracts.md)。
|
|
39
39
|
|
package/README_EN.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
| Selective loading | 63 component entries, an auto-import resolver, component CSS and base styles for forms and tables |
|
|
34
34
|
| Application integration | Global registration or local imports; injectable feedback, locale and defaults; form dialogs compatible with structurally matching headless CRUD controllers |
|
|
35
35
|
|
|
36
|
-
The library handles UI and interaction. Applications supply business APIs, authentication, authorization, upload services and platform configuration. The current repository version is **0.37.
|
|
36
|
+
The library handles UI and interaction. Applications supply business APIs, authentication, authorization, upload services and platform configuration. The current repository version is **0.37.1**. See the [changelog](./CHANGELOG.md) for release details.
|
|
37
37
|
|
|
38
38
|
0.33 adds optional remote tree paths, grouped options, search field settings and table editing contracts while retaining existing defaults. See the [compatibility and standalone demo guide](./docs/guides/component-contracts.md) (Chinese).
|
|
39
39
|
|
package/dist/C_Icon2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`)
|
|
1
|
+
const e=require(`./chunk.cjs`),t=require(`./export-helper.cjs`);let n=require(`vue`),r=require(`@iconify/vue`);const i=async(e,t)=>{if(!e)return``;if(e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)||e.startsWith(`blob:`)||e.startsWith(`/`))return e;if(t)try{return await t(e)}catch(t){return console.error(`[useImage] 自定义解析器处理失败: ${e}`,t),``}return e};function a(e){if(typeof e==`number`)return`${Math.max(0,e)}px`;let t=e.trim();return/^\d+(?:\.\d+)?$/.test(t)?`${t}px`:t}const o={width:24,height:24,body:`<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7" d="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm7 4v6m0 4h.01"/>`};var s=e.t({default:()=>p});const c=[`title`,`aria-label`,`aria-busy`,`role`,`tabindex`],l=[`viewBox`,`fill`],u=[`d`],d=[`src`,`alt`],f=(0,n.defineComponent)({name:`C_Icon`,__name:`index`,props:{name:{},type:{default:`iconify`},color:{default:`currentColor`},size:{default:18},svgPath:{default:``},viewBox:{default:`0 0 24 24`},alt:{default:``},clickable:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},fallbackIcon:{default:``},loadTimeout:{default:5e3},title:{default:``},ariaLabel:{default:``},customClass:{default:``},rotate:{default:0},flip:{default:void 0},componentProps:{default:()=>({})}},emits:[`click`,`error`,`load`],setup(e,{expose:t,emit:s}){let f=e,p=s,m=(0,n.ref)(),h=(0,n.ref)(),g=(0,n.shallowRef)(null),_=(0,n.shallowRef)(null),v=(0,n.ref)(!1),y=(0,n.ref)(``),b=(0,n.ref)(``),x=(0,n.ref)(!1),S=!1,C=0,w,T=new Set,E=(0,n.computed)(()=>a(f.size)),D=(0,n.computed)(()=>({fontSize:E.value,color:f.color,width:E.value,height:E.value})),O=(0,n.computed)(()=>({display:`inline-flex`,width:E.value,height:E.value,transform:[f.rotate?`rotate(${f.rotate}deg)`:``,f.flip?`scaleX(${f.flip===`horizontal`||f.flip===`both`?-1:1}) scaleY(${f.flip===`vertical`||f.flip===`both`?-1:1})`:``].filter(Boolean).join(` `)||void 0})),k=(0,n.computed)(()=>{if(typeof f.name==`string`)return f.name;let e=f.name;return e?.__name||e?.name||(f.type===`svg`?`SVG Icon`:`Icon`)}),A=(0,n.computed)(()=>f.type===`component`&&typeof f.name!=`string`?f.name:null),j=()=>{C++,clearTimeout(w);for(let e of T)e();T.clear()},M=(e,t,n)=>{let i=C,a=(0,r.getIcon)(e);if(a){t(a);return}let o=!1,s=()=>{o=!0,clearTimeout(l),u?.(),T.delete(s)},c=e=>{o||i!==C||(s(),e?t(e):n())},l=setTimeout(()=>c(),Math.max(100,f.loadTimeout));T.add(s);let u=(0,r.loadIcons)([e],(t,n,i)=>{i.length===0&&c((0,r.getIcon)(e))})},N=(e,t,n)=>{v.value||(clearTimeout(w),x.value=!1,v.value=!0,y.value=t,p(`error`,e,n),f.fallbackIcon&&M(f.fallbackIcon.replace(/^i-([^:-]+)[:-]/,`$1:`),e=>{_.value=e},()=>{}))},P=()=>{v.value||(clearTimeout(w),x.value=!1,p(`load`))},F=async()=>{let e=C;await(0,n.nextTick)();let t=n=>{if(e!==C||!h.value)return;let r=getComputedStyle(h.value),i=r.maskImage||r.getPropertyValue(`-webkit-mask-image`);if(i&&i!==`none`||r.backgroundImage&&r.backgroundImage!==`none`){P();return}if(n===3){N(`unocss`,`UnoCSS 图标样式未生成`);return}let a=setTimeout(()=>{T.delete(o),t(n+1)},[50,150,400][n]),o=()=>clearTimeout(a);T.add(o)};t(0)},I=e=>{g.value=(0,r.getIcon)(e)||null,S&&(x.value=!g.value,M(e,e=>{g.value=e,P()},()=>N(`iconify`,`Iconify 图标不存在或请求超时`)))},L=async e=>{let t=C;x.value=!0,w=setTimeout(()=>{t===C&&N(`image`,`图片图标加载超时`)},Math.max(100,f.loadTimeout));try{let n=await i(e);if(t!==C||v.value)return;n?b.value=n:N(`image`,`图片路径解析失败`)}catch(e){t===C&&N(`image`,`图片路径解析失败`,e)}},R=e=>{f.type===`iconify`?I(e):f.type===`unocss`?e.startsWith(`i-`)?S&&F():N(`unocss`,`UnoCSS 图标名称应以 i- 开头`):f.type===`image`?L(e):N(`type`,`不支持的图标类型`)},z=()=>{if(j(),v.value=!1,y.value=``,g.value=null,_.value=null,b.value=``,x.value=!1,f.type===`svg`){f.svgPath?S&&P():N(`svg`,`SVG 路径不能为空`);return}if(!f.name){N(`validation`,`图标名称不能为空`);return}if(f.type===`component`){A.value?S&&P():N(`component`,`无法解析图标组件`);return}if(typeof f.name!=`string`){N(f.type,`图标名称必须为字符串`);return}R(f.name)},B=e=>{f.clickable&&!f.loading&&p(`click`,e)},V=e=>{f.clickable&&!f.loading&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(`click`,e))};return(0,n.watch)(()=>[f.name,f.type,f.svgPath,f.fallbackIcon,f.loadTimeout],()=>{z()},{immediate:!0}),(0,n.onMounted)(()=>{S=!0,z()}),(0,n.onBeforeUnmount)(j),t({validate:z,hasError:(0,n.readonly)(v),errorMessage:(0,n.readonly)(y),el:m}),(t,i)=>((0,n.openBlock)(),(0,n.createElementBlock)(`span`,{ref_key:`iconRef`,ref:m,class:(0,n.normalizeClass)([`c-icon`,[`c-icon--${e.type}`,{"c-icon--clickable":e.clickable,"c-icon--loading":e.loading||x.value,"c-icon--error":v.value}]]),style:(0,n.normalizeStyle)(D.value),title:e.title||(v.value?y.value:void 0),"aria-label":e.ariaLabel||k.value,"aria-busy":e.loading||x.value||void 0,role:e.clickable?`button`:`img`,tabindex:e.clickable?0:void 0,onClick:B,onKeydown:V},[e.type===`iconify`&&!v.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.Icon),{key:0,icon:g.value||(0,n.unref)(o),style:(0,n.normalizeStyle)(O.value),color:e.color},null,8,[`icon`,`style`,`color`])):e.type===`unocss`&&!v.value?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,{key:1,ref_key:`unoRef`,ref:h,class:(0,n.normalizeClass)([e.name,e.customClass]),style:(0,n.normalizeStyle)(O.value)},null,6)):e.type===`component`&&A.value&&!v.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(A.value),(0,n.mergeProps)({key:2,style:O.value},e.componentProps),null,16,[`style`])):e.type===`svg`&&!v.value?((0,n.openBlock)(),(0,n.createElementBlock)(`svg`,{key:3,viewBox:e.viewBox,style:(0,n.normalizeStyle)(O.value),fill:e.color,"aria-hidden":`true`},[(0,n.createElementVNode)(`path`,{d:e.svgPath},null,8,u)],12,l)):e.type===`image`&&b.value&&!v.value?((0,n.openBlock)(),(0,n.createElementBlock)(`img`,{key:b.value,src:b.value,alt:e.alt||k.value,style:(0,n.normalizeStyle)(O.value),onError:i[0]||=e=>N(`image`,`图片图标加载失败`),onLoad:P},null,44,d)):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.Icon),{key:5,icon:_.value||(0,n.unref)(o),style:(0,n.normalizeStyle)(O.value),color:e.color},null,8,[`icon`,`style`,`color`])),e.loading?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,{key:6,class:`c-icon__loading`,style:(0,n.normalizeStyle)(O.value),"aria-hidden":`true`},[...i[1]||=[(0,n.createElementVNode)(`span`,{class:`c-icon__spinner`},null,-1)]],4)):(0,n.createCommentVNode)(`v-if`,!0)],46,c))}});var p=t.t(f,[[`__scopeId`,`data-v-075758a0`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
package/dist/C_Icon2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./export-helper.js";import{computed as
|
|
1
|
+
import{t as e}from"./rolldown-runtime.js";import{t}from"./export-helper.js";import{computed as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,defineComponent as s,mergeProps as c,nextTick as l,normalizeClass as u,normalizeStyle as d,onBeforeUnmount as f,onMounted as p,openBlock as m,readonly as h,ref as g,resolveDynamicComponent as ee,shallowRef as _,unref as v,watch as y}from"vue";import{Icon as b,getIcon as x,loadIcons as S}from"@iconify/vue";const C=async(e,t)=>{if(!e)return``;if(e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)||e.startsWith(`blob:`)||e.startsWith(`/`))return e;if(t)try{return await t(e)}catch(t){return console.error(`[useImage] 自定义解析器处理失败: ${e}`,t),``}return e};function w(e){if(typeof e==`number`)return`${Math.max(0,e)}px`;let t=e.trim();return/^\d+(?:\.\d+)?$/.test(t)?`${t}px`:t}const T={width:24,height:24,body:`<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7" d="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm7 4v6m0 4h.01"/>`};var E=e({default:()=>A});const te=[`title`,`aria-label`,`aria-busy`,`role`,`tabindex`],D=[`viewBox`,`fill`],O=[`d`],k=[`src`,`alt`];var A=t(s({name:`C_Icon`,__name:`index`,props:{name:{},type:{default:`iconify`},color:{default:`currentColor`},size:{default:18},svgPath:{default:``},viewBox:{default:`0 0 24 24`},alt:{default:``},clickable:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},fallbackIcon:{default:``},loadTimeout:{default:5e3},title:{default:``},ariaLabel:{default:``},customClass:{default:``},rotate:{default:0},flip:{default:void 0},componentProps:{default:()=>({})}},emits:[`click`,`error`,`load`],setup(e,{expose:t,emit:s}){let E=e,A=s,j=g(),M=g(),N=_(null),P=_(null),F=g(!1),I=g(``),L=g(``),R=g(!1),z=!1,B=0,V,H=new Set,U=n(()=>w(E.size)),W=n(()=>({fontSize:U.value,color:E.color,width:U.value,height:U.value})),G=n(()=>({display:`inline-flex`,width:U.value,height:U.value,transform:[E.rotate?`rotate(${E.rotate}deg)`:``,E.flip?`scaleX(${E.flip===`horizontal`||E.flip===`both`?-1:1}) scaleY(${E.flip===`vertical`||E.flip===`both`?-1:1})`:``].filter(Boolean).join(` `)||void 0})),K=n(()=>{if(typeof E.name==`string`)return E.name;let e=E.name;return e?.__name||e?.name||(E.type===`svg`?`SVG Icon`:`Icon`)}),q=n(()=>E.type===`component`&&typeof E.name!=`string`?E.name:null),J=()=>{B++,clearTimeout(V);for(let e of H)e();H.clear()},Y=(e,t,n)=>{let r=B,i=x(e);if(i){t(i);return}let a=!1,o=()=>{a=!0,clearTimeout(c),l?.(),H.delete(o)},s=e=>{a||r!==B||(o(),e?t(e):n())},c=setTimeout(()=>s(),Math.max(100,E.loadTimeout));H.add(o);let l=S([e],(t,n,r)=>{r.length===0&&s(x(e))})},X=(e,t,n)=>{F.value||(clearTimeout(V),R.value=!1,F.value=!0,I.value=t,A(`error`,e,n),E.fallbackIcon&&Y(E.fallbackIcon.replace(/^i-([^:-]+)[:-]/,`$1:`),e=>{P.value=e},()=>{}))},Z=()=>{F.value||(clearTimeout(V),R.value=!1,A(`load`))},ne=async()=>{let e=B;await l();let t=n=>{if(e!==B||!M.value)return;let r=getComputedStyle(M.value),i=r.maskImage||r.getPropertyValue(`-webkit-mask-image`);if(i&&i!==`none`||r.backgroundImage&&r.backgroundImage!==`none`){Z();return}if(n===3){X(`unocss`,`UnoCSS 图标样式未生成`);return}let a=setTimeout(()=>{H.delete(o),t(n+1)},[50,150,400][n]),o=()=>clearTimeout(a);H.add(o)};t(0)},re=e=>{N.value=x(e)||null,z&&(R.value=!N.value,Y(e,e=>{N.value=e,Z()},()=>X(`iconify`,`Iconify 图标不存在或请求超时`)))},Q=async e=>{let t=B;R.value=!0,V=setTimeout(()=>{t===B&&X(`image`,`图片图标加载超时`)},Math.max(100,E.loadTimeout));try{let n=await C(e);if(t!==B||F.value)return;n?L.value=n:X(`image`,`图片路径解析失败`)}catch(e){t===B&&X(`image`,`图片路径解析失败`,e)}},ie=e=>{E.type===`iconify`?re(e):E.type===`unocss`?e.startsWith(`i-`)?z&&ne():X(`unocss`,`UnoCSS 图标名称应以 i- 开头`):E.type===`image`?Q(e):X(`type`,`不支持的图标类型`)},$=()=>{if(J(),F.value=!1,I.value=``,N.value=null,P.value=null,L.value=``,R.value=!1,E.type===`svg`){E.svgPath?z&&Z():X(`svg`,`SVG 路径不能为空`);return}if(!E.name){X(`validation`,`图标名称不能为空`);return}if(E.type===`component`){q.value?z&&Z():X(`component`,`无法解析图标组件`);return}if(typeof E.name!=`string`){X(E.type,`图标名称必须为字符串`);return}ie(E.name)},ae=e=>{E.clickable&&!E.loading&&A(`click`,e)},oe=e=>{E.clickable&&!E.loading&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),A(`click`,e))};return y(()=>[E.name,E.type,E.svgPath,E.fallbackIcon,E.loadTimeout],()=>{$()},{immediate:!0}),p(()=>{z=!0,$()}),f(J),t({validate:$,hasError:h(F),errorMessage:h(I),el:j}),(t,n)=>(m(),a(`span`,{ref_key:`iconRef`,ref:j,class:u([`c-icon`,[`c-icon--${e.type}`,{"c-icon--clickable":e.clickable,"c-icon--loading":e.loading||R.value,"c-icon--error":F.value}]]),style:d(W.value),title:e.title||(F.value?I.value:void 0),"aria-label":e.ariaLabel||K.value,"aria-busy":e.loading||R.value||void 0,role:e.clickable?`button`:`img`,tabindex:e.clickable?0:void 0,onClick:ae,onKeydown:oe},[e.type===`iconify`&&!F.value?(m(),r(v(b),{key:0,icon:N.value||v(T),style:d(G.value),color:e.color},null,8,[`icon`,`style`,`color`])):e.type===`unocss`&&!F.value?(m(),a(`span`,{key:1,ref_key:`unoRef`,ref:M,class:u([e.name,e.customClass]),style:d(G.value)},null,6)):e.type===`component`&&q.value&&!F.value?(m(),r(ee(q.value),c({key:2,style:G.value},e.componentProps),null,16,[`style`])):e.type===`svg`&&!F.value?(m(),a(`svg`,{key:3,viewBox:e.viewBox,style:d(G.value),fill:e.color,"aria-hidden":`true`},[o(`path`,{d:e.svgPath},null,8,O)],12,D)):e.type===`image`&&L.value&&!F.value?(m(),a(`img`,{key:L.value,src:L.value,alt:e.alt||K.value,style:d(G.value),onError:n[0]||=e=>X(`image`,`图片图标加载失败`),onLoad:Z},null,44,k)):(m(),r(v(b),{key:5,icon:P.value||v(T),style:d(G.value),color:e.color},null,8,[`icon`,`style`,`color`])),e.loading?(m(),a(`span`,{key:6,class:`c-icon__loading`,style:d(G.value),"aria-hidden":`true`},[...n[1]||=[o(`span`,{class:`c-icon__spinner`},null,-1)]],4)):i(`v-if`,!0)],46,te))}}),[[`__scopeId`,`data-v-075758a0`]]);export{E as n,A as t};
|
package/dist/C_Steps.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@import "./shared-tokens.css";
|
|
2
|
-
.c-steps[data-v-
|
|
2
|
+
.c-steps[data-v-b8bad090] {
|
|
3
3
|
--step-gap: 24px;
|
|
4
4
|
--icon-size: 32px;
|
|
5
5
|
--line-width: 2px;
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
--bg-hover: var(--c-bg-hover, var(--c-theme-bg-hover));
|
|
13
13
|
display: flex;
|
|
14
14
|
}
|
|
15
|
-
.steps-connected[data-v-
|
|
15
|
+
.steps-connected[data-v-b8bad090] {
|
|
16
16
|
--line-gap: 0px;
|
|
17
17
|
}
|
|
18
|
-
.steps-horizontal[data-v-
|
|
18
|
+
.steps-horizontal[data-v-b8bad090] {
|
|
19
19
|
flex-direction: row;
|
|
20
20
|
align-items: flex-start;
|
|
21
21
|
}
|
|
22
|
-
.steps-vertical[data-v-
|
|
22
|
+
.steps-vertical[data-v-b8bad090] {
|
|
23
23
|
flex-direction: column;
|
|
24
24
|
}
|
|
25
|
-
.step-item[data-v-
|
|
25
|
+
.step-item[data-v-b8bad090] {
|
|
26
26
|
display: flex;
|
|
27
27
|
position: relative;
|
|
28
28
|
flex: 1;
|
|
@@ -34,36 +34,36 @@
|
|
|
34
34
|
background: transparent;
|
|
35
35
|
border: 0;
|
|
36
36
|
}
|
|
37
|
-
.step-item[data-v-
|
|
37
|
+
.step-item[data-v-b8bad090]:focus-visible {
|
|
38
38
|
outline: 2px solid var(--primary);
|
|
39
39
|
outline-offset: 2px;
|
|
40
40
|
}
|
|
41
|
-
.steps-horizontal .step-item[data-v-
|
|
41
|
+
.steps-horizontal .step-item[data-v-b8bad090] {
|
|
42
42
|
flex-direction: column;
|
|
43
43
|
align-items: center;
|
|
44
44
|
text-align: center;
|
|
45
45
|
min-width: 0;
|
|
46
46
|
}
|
|
47
|
-
.steps-vertical .step-item[data-v-
|
|
47
|
+
.steps-vertical .step-item[data-v-b8bad090] {
|
|
48
48
|
flex-direction: row;
|
|
49
49
|
min-height: 72px;
|
|
50
50
|
flex: none;
|
|
51
51
|
width: 100%;
|
|
52
52
|
}
|
|
53
|
-
.step-indicator[data-v-
|
|
53
|
+
.step-indicator[data-v-b8bad090] {
|
|
54
54
|
position: relative;
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
57
|
flex-shrink: 0;
|
|
58
58
|
}
|
|
59
|
-
.steps-horizontal .step-indicator[data-v-
|
|
59
|
+
.steps-horizontal .step-indicator[data-v-b8bad090] {
|
|
60
60
|
width: 100%;
|
|
61
61
|
justify-content: center;
|
|
62
62
|
}
|
|
63
|
-
.steps-vertical .step-indicator[data-v-
|
|
63
|
+
.steps-vertical .step-indicator[data-v-b8bad090] {
|
|
64
64
|
flex-direction: column;
|
|
65
65
|
}
|
|
66
|
-
.step-icon[data-v-
|
|
66
|
+
.step-icon[data-v-b8bad090] {
|
|
67
67
|
width: var(--icon-size);
|
|
68
68
|
height: var(--icon-size);
|
|
69
69
|
border-radius: 50%;
|
|
@@ -77,111 +77,111 @@
|
|
|
77
77
|
transition: all 0.2s ease;
|
|
78
78
|
font-size: 16px;
|
|
79
79
|
}
|
|
80
|
-
.step-finish .step-icon[data-v-
|
|
80
|
+
.step-finish .step-icon[data-v-b8bad090] {
|
|
81
81
|
border-color: var(--success);
|
|
82
82
|
color: var(--success);
|
|
83
83
|
}
|
|
84
|
-
.step-process .step-icon[data-v-
|
|
84
|
+
.step-process .step-icon[data-v-b8bad090] {
|
|
85
85
|
border-color: var(--primary);
|
|
86
86
|
background: color-mix(in srgb, var(--primary) 14%, transparent);
|
|
87
87
|
color: var(--primary);
|
|
88
88
|
}
|
|
89
|
-
.step-error .step-icon[data-v-
|
|
89
|
+
.step-error .step-icon[data-v-b8bad090] {
|
|
90
90
|
border-color: var(--error);
|
|
91
91
|
color: var(--error);
|
|
92
92
|
}
|
|
93
|
-
.step-index[data-v-
|
|
93
|
+
.step-index[data-v-b8bad090] {
|
|
94
94
|
font-size: 14px;
|
|
95
95
|
font-weight: 500;
|
|
96
96
|
}
|
|
97
|
-
.step-line[data-v-
|
|
97
|
+
.step-line[data-v-b8bad090] {
|
|
98
98
|
background: var(--border);
|
|
99
99
|
position: absolute;
|
|
100
100
|
transition: background 0.2s ease;
|
|
101
101
|
}
|
|
102
|
-
.steps-horizontal .step-line[data-v-
|
|
102
|
+
.steps-horizontal .step-line[data-v-b8bad090] {
|
|
103
103
|
height: var(--line-width);
|
|
104
104
|
left: calc(50% + var(--icon-size) / 2 + var(--line-gap));
|
|
105
105
|
right: calc(-50% + var(--icon-size) / 2 + var(--line-gap));
|
|
106
106
|
top: calc(var(--icon-size) / 2);
|
|
107
107
|
}
|
|
108
|
-
.steps-vertical .step-line[data-v-
|
|
108
|
+
.steps-vertical .step-line[data-v-b8bad090] {
|
|
109
109
|
width: var(--line-width);
|
|
110
110
|
top: var(--icon-size);
|
|
111
111
|
bottom: 0;
|
|
112
112
|
left: calc(var(--icon-size) / 2 - 1px);
|
|
113
113
|
}
|
|
114
|
-
.step-finish .step-line[data-v-
|
|
114
|
+
.step-finish .step-line[data-v-b8bad090] {
|
|
115
115
|
background: var(--success);
|
|
116
116
|
}
|
|
117
|
-
.step-content[data-v-
|
|
117
|
+
.step-content[data-v-b8bad090] {
|
|
118
118
|
flex: 1;
|
|
119
119
|
min-width: 0;
|
|
120
120
|
}
|
|
121
|
-
.steps-vertical .step-content[data-v-
|
|
121
|
+
.steps-vertical .step-content[data-v-b8bad090] {
|
|
122
122
|
padding-top: 4px;
|
|
123
123
|
}
|
|
124
|
-
.step-title[data-v-
|
|
124
|
+
.step-title[data-v-b8bad090] {
|
|
125
125
|
font-size: 14px;
|
|
126
126
|
font-weight: 500;
|
|
127
127
|
line-height: 22px;
|
|
128
128
|
margin-bottom: 2px;
|
|
129
129
|
word-break: break-word;
|
|
130
130
|
}
|
|
131
|
-
.step-time[data-v-
|
|
131
|
+
.step-time[data-v-b8bad090] {
|
|
132
132
|
font-size: 12px;
|
|
133
133
|
line-height: 20px;
|
|
134
134
|
margin-bottom: 2px;
|
|
135
135
|
opacity: 0.65;
|
|
136
136
|
}
|
|
137
|
-
.step-finish .step-time[data-v-
|
|
137
|
+
.step-finish .step-time[data-v-b8bad090] {
|
|
138
138
|
color: var(--success);
|
|
139
139
|
}
|
|
140
|
-
.step-description[data-v-
|
|
140
|
+
.step-description[data-v-b8bad090] {
|
|
141
141
|
font-size: 12px;
|
|
142
142
|
line-height: 20px;
|
|
143
143
|
opacity: 0.65;
|
|
144
144
|
}
|
|
145
|
-
.step-wait .step-title[data-v-
|
|
145
|
+
.step-wait .step-title[data-v-b8bad090] {
|
|
146
146
|
opacity: 0.65;
|
|
147
147
|
}
|
|
148
|
-
.step-process .step-title[data-v-
|
|
148
|
+
.step-process .step-title[data-v-b8bad090] {
|
|
149
149
|
color: var(--primary);
|
|
150
150
|
font-weight: 600;
|
|
151
151
|
}
|
|
152
|
-
.step-error .step-title[data-v-
|
|
152
|
+
.step-error .step-title[data-v-b8bad090] {
|
|
153
153
|
color: var(--error);
|
|
154
154
|
}
|
|
155
|
-
.step-clickable[data-v-
|
|
155
|
+
.step-clickable[data-v-b8bad090] {
|
|
156
156
|
cursor: pointer;
|
|
157
157
|
}
|
|
158
|
-
.step-clickable:hover .step-icon[data-v-
|
|
158
|
+
.step-clickable:hover .step-icon[data-v-b8bad090] {
|
|
159
159
|
transform: scale(1.05);
|
|
160
160
|
}
|
|
161
|
-
.step-clickable:not(.step-process):hover .step-icon[data-v-
|
|
161
|
+
.step-clickable:not(.step-process):hover .step-icon[data-v-b8bad090] {
|
|
162
162
|
background: var(--bg-hover);
|
|
163
163
|
}
|
|
164
|
-
.step-clickable:hover .step-title[data-v-
|
|
164
|
+
.step-clickable:hover .step-title[data-v-b8bad090] {
|
|
165
165
|
color: var(--primary);
|
|
166
166
|
}
|
|
167
167
|
@media (max-width: 768px) {
|
|
168
|
-
.steps-horizontal[data-v-
|
|
168
|
+
.steps-horizontal[data-v-b8bad090] {
|
|
169
169
|
flex-wrap: wrap;
|
|
170
170
|
}
|
|
171
|
-
.steps-horizontal .step-item[data-v-
|
|
171
|
+
.steps-horizontal .step-item[data-v-b8bad090] {
|
|
172
172
|
flex: 0 0 50%;
|
|
173
173
|
margin-bottom: 24px;
|
|
174
174
|
}
|
|
175
|
-
.steps-horizontal .step-line[data-v-
|
|
175
|
+
.steps-horizontal .step-line[data-v-b8bad090] {
|
|
176
176
|
display: none;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
@media (prefers-reduced-motion: reduce) {
|
|
180
|
-
.step-icon[data-v-
|
|
181
|
-
.step-line[data-v-
|
|
180
|
+
.step-icon[data-v-b8bad090],
|
|
181
|
+
.step-line[data-v-b8bad090] {
|
|
182
182
|
transition: none;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
/* layer: icons */
|
|
187
|
-
.i-mdi\:check[data-v-
|
|
187
|
+
.i-mdi\:check[data-v-b8bad090]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
package/dist/C_Steps2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./useComponentTheme.cjs`),t=require(`./export-helper.cjs`);let n=require(`vue`);const r={class:`step-indicator`},i={class:`step-icon`},a={key:
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./useComponentTheme.cjs`),t=require(`./export-helper.cjs`);let n=require(`vue`);const r={class:`step-indicator`},i={class:`step-icon`},a={key:2,class:`i-mdi:check`,"aria-hidden":`true`},o={key:3,class:`step-index`},s={key:0,class:`step-line`},c={class:`step-content`},l={class:`step-title`},u={key:0,class:`step-time`},d={key:1,class:`step-description`},f=(0,n.defineComponent)({name:`C_Steps`,__name:`index`,props:{steps:{},current:{default:0},direction:{default:`horizontal`},clickable:{type:Boolean,default:!1},connected:{type:Boolean,default:!1}},emits:[`update:current`,`change`],setup(t,{emit:f}){let p=e.n(),m=(0,n.defineAsyncComponent)(()=>Promise.resolve().then(()=>require(`./C_Icon2.cjs`)).then(e=>e.n)),h=t,g=f,_=(0,n.computed)(()=>h.steps.map(e=>{let t=e.icon?.replace(/^i-/,``)??``;return/^[a-z0-9]+(?:-[a-z0-9]+)*:[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t)?t:``})),v=e=>h.steps[e].status?h.steps[e].status:e<h.current?`finish`:e===h.current?`process`:`wait`,y=e=>{!h.clickable||h.steps[e].disabled||(g(`update:current`,e),g(`change`,e))};return(e,f)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{class:(0,n.normalizeClass)([`c-steps`,[`steps-${t.direction}`,{"steps-connected":t.connected}]]),style:(0,n.normalizeStyle)((0,n.unref)(p))},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(t.steps,(e,f)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(t.clickable?`button`:`div`),{key:f,type:t.clickable?`button`:void 0,disabled:t.clickable&&e.disabled,"aria-current":v(f)===`process`?`step`:void 0,class:(0,n.normalizeClass)([`step-item`,[`step-${v(f)}`,{"step-clickable":t.clickable&&!e.disabled}]]),onClick:e=>y(f)},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`div`,r,[(0,n.createElementVNode)(`div`,i,[_.value[f]?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(m),{key:0,name:_.value[f],size:16,"aria-hidden":`true`},null,8,[`name`])):e.icon?((0,n.openBlock)(),(0,n.createElementBlock)(`i`,{key:1,class:(0,n.normalizeClass)(e.icon),"aria-hidden":`true`},null,2)):v(f)===`finish`?((0,n.openBlock)(),(0,n.createElementBlock)(`i`,a)):((0,n.openBlock)(),(0,n.createElementBlock)(`span`,o,(0,n.toDisplayString)(f+1),1))]),f<t.steps.length-1?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,s)):(0,n.createCommentVNode)(`v-if`,!0)]),(0,n.createElementVNode)(`div`,c,[(0,n.createElementVNode)(`div`,l,(0,n.toDisplayString)(e.title),1),e.time?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,u,(0,n.toDisplayString)(e.time),1)):(0,n.createCommentVNode)(`v-if`,!0),e.description?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,d,(0,n.toDisplayString)(e.description),1)):(0,n.createCommentVNode)(`v-if`,!0)])]),_:2},1032,[`type`,`disabled`,`aria-current`,`class`,`onClick`]))),128))],6))}});var p=t.t(f,[[`__scopeId`,`data-v-b8bad090`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
package/dist/C_Steps2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./useComponentTheme.js";import{t}from"./export-helper.js";import{Fragment as n,
|
|
1
|
+
import{n as e}from"./useComponentTheme.js";import{t}from"./export-helper.js";import{Fragment as n,computed as r,createBlock as i,createCommentVNode as a,createElementBlock as o,createElementVNode as s,defineAsyncComponent as c,defineComponent as l,normalizeClass as u,normalizeStyle as d,openBlock as f,renderList as p,resolveDynamicComponent as m,toDisplayString as h,unref as g,withCtx as _}from"vue";const v={class:`step-indicator`},y={class:`step-icon`},b={key:2,class:`i-mdi:check`,"aria-hidden":`true`},x={key:3,class:`step-index`},S={key:0,class:`step-line`},C={class:`step-content`},w={class:`step-title`},T={key:0,class:`step-time`},E={key:1,class:`step-description`};var D=t(l({name:`C_Steps`,__name:`index`,props:{steps:{},current:{default:0},direction:{default:`horizontal`},clickable:{type:Boolean,default:!1},connected:{type:Boolean,default:!1}},emits:[`update:current`,`change`],setup(t,{emit:l}){let D=e(),O=c(()=>import(`./C_Icon2.js`).then(e=>e.n)),k=t,A=l,j=r(()=>k.steps.map(e=>{let t=e.icon?.replace(/^i-/,``)??``;return/^[a-z0-9]+(?:-[a-z0-9]+)*:[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t)?t:``})),M=e=>k.steps[e].status?k.steps[e].status:e<k.current?`finish`:e===k.current?`process`:`wait`,N=e=>{!k.clickable||k.steps[e].disabled||(A(`update:current`,e),A(`change`,e))};return(e,r)=>(f(),o(`div`,{class:u([`c-steps`,[`steps-${t.direction}`,{"steps-connected":t.connected}]]),style:d(g(D))},[(f(!0),o(n,null,p(t.steps,(e,n)=>(f(),i(m(t.clickable?`button`:`div`),{key:n,type:t.clickable?`button`:void 0,disabled:t.clickable&&e.disabled,"aria-current":M(n)===`process`?`step`:void 0,class:u([`step-item`,[`step-${M(n)}`,{"step-clickable":t.clickable&&!e.disabled}]]),onClick:e=>N(n)},{default:_(()=>[s(`div`,v,[s(`div`,y,[j.value[n]?(f(),i(g(O),{key:0,name:j.value[n],size:16,"aria-hidden":`true`},null,8,[`name`])):e.icon?(f(),o(`i`,{key:1,class:u(e.icon),"aria-hidden":`true`},null,2)):M(n)===`finish`?(f(),o(`i`,b)):(f(),o(`span`,x,h(n+1),1))]),n<t.steps.length-1?(f(),o(`div`,S)):a(`v-if`,!0)]),s(`div`,C,[s(`div`,w,h(e.title),1),e.time?(f(),o(`div`,T,h(e.time),1)):a(`v-if`,!0),e.description?(f(),o(`div`,E,h(e.description),1)):a(`v-if`,!0)])]),_:2},1032,[`type`,`disabled`,`aria-current`,`class`,`onClick`]))),128))],6))}}),[[`__scopeId`,`data-v-b8bad090`]]);export{D as t};
|
package/dist/constants.d.cts
CHANGED
|
@@ -108,12 +108,12 @@ interface CronEmits {
|
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/C_Cron/index.vue.d.ts
|
|
110
110
|
declare const __VLS_export: vue.DefineComponent<CronProps, CronExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
111
|
-
"update:modelValue": (value: string) => any;
|
|
112
111
|
change: (value: string) => any;
|
|
112
|
+
"update:modelValue": (value: string) => any;
|
|
113
113
|
"validation-change": (result: CronValidation) => any;
|
|
114
114
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
115
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
116
115
|
onChange?: ((value: string) => any) | undefined;
|
|
116
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
117
117
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
disabled: boolean;
|
package/dist/constants.d.ts
CHANGED
|
@@ -108,12 +108,12 @@ interface CronEmits {
|
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/C_Cron/index.vue.d.ts
|
|
110
110
|
declare const __VLS_export: vue.DefineComponent<CronProps, CronExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
111
|
-
"update:modelValue": (value: string) => any;
|
|
112
111
|
change: (value: string) => any;
|
|
112
|
+
"update:modelValue": (value: string) => any;
|
|
113
113
|
"validation-change": (result: CronValidation) => any;
|
|
114
114
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
115
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
116
115
|
onChange?: ((value: string) => any) | undefined;
|
|
116
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
117
117
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
disabled: boolean;
|
package/dist/constants2.d.cts
CHANGED
|
@@ -125,12 +125,12 @@ interface FormulaEditorExpose {
|
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
127
127
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
128
|
-
"update:modelValue": (value: string) => any;
|
|
129
128
|
change: (value: string) => any;
|
|
129
|
+
"update:modelValue": (value: string) => any;
|
|
130
130
|
"validation-change": (result: FormulaValidation) => any;
|
|
131
131
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
132
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
132
|
onChange?: ((value: string) => any) | undefined;
|
|
133
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
134
134
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
135
135
|
}>, {
|
|
136
136
|
disabled: boolean;
|
package/dist/constants2.d.ts
CHANGED
|
@@ -125,12 +125,12 @@ interface FormulaEditorExpose {
|
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
127
127
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
128
|
-
"update:modelValue": (value: string) => any;
|
|
129
128
|
change: (value: string) => any;
|
|
129
|
+
"update:modelValue": (value: string) => any;
|
|
130
130
|
"validation-change": (result: FormulaValidation) => any;
|
|
131
131
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
132
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
132
|
onChange?: ((value: string) => any) | undefined;
|
|
133
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
134
134
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
135
135
|
}>, {
|
|
136
136
|
disabled: boolean;
|
package/dist/constants3.d.cts
CHANGED
|
@@ -231,27 +231,27 @@ interface NotificationCenterExpose {
|
|
|
231
231
|
type __VLS_Slots = NotificationCenterSlots;
|
|
232
232
|
declare const __VLS_base: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
233
233
|
delete: (ids: string[]) => any;
|
|
234
|
-
navigate: (url: string) => any;
|
|
235
234
|
itemClick: (message: NotificationMessage) => any;
|
|
236
235
|
read: (ids: string[]) => any;
|
|
237
236
|
allRead: (category?: NotificationCategory | undefined) => any;
|
|
238
237
|
unreadChange: (count: number) => any;
|
|
239
238
|
wsStatusChange: (status: WSConnectionStatus) => any;
|
|
240
239
|
newMessage: (message: NotificationMessage) => any;
|
|
240
|
+
navigate: (url: string) => any;
|
|
241
241
|
viewAll: () => any;
|
|
242
242
|
}, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
|
|
243
243
|
onDelete?: ((ids: string[]) => any) | undefined;
|
|
244
|
-
onNavigate?: ((url: string) => any) | undefined;
|
|
245
244
|
onItemClick?: ((message: NotificationMessage) => any) | undefined;
|
|
246
245
|
onRead?: ((ids: string[]) => any) | undefined;
|
|
247
246
|
onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
|
|
248
247
|
onUnreadChange?: ((count: number) => any) | undefined;
|
|
249
248
|
onWsStatusChange?: ((status: WSConnectionStatus) => any) | undefined;
|
|
250
249
|
onNewMessage?: ((message: NotificationMessage) => any) | undefined;
|
|
250
|
+
onNavigate?: ((url: string) => any) | undefined;
|
|
251
251
|
onViewAll?: (() => any) | undefined;
|
|
252
252
|
}>, {
|
|
253
|
-
storageKey: string;
|
|
254
253
|
pageSize: number;
|
|
254
|
+
storageKey: string;
|
|
255
255
|
autoStart: boolean;
|
|
256
256
|
desktopNotification: boolean;
|
|
257
257
|
maxBadgeCount: number;
|
package/dist/constants3.d.ts
CHANGED
|
@@ -231,27 +231,27 @@ interface NotificationCenterExpose {
|
|
|
231
231
|
type __VLS_Slots = NotificationCenterSlots;
|
|
232
232
|
declare const __VLS_base: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
233
233
|
delete: (ids: string[]) => any;
|
|
234
|
-
navigate: (url: string) => any;
|
|
235
234
|
itemClick: (message: NotificationMessage) => any;
|
|
236
235
|
read: (ids: string[]) => any;
|
|
237
236
|
allRead: (category?: NotificationCategory | undefined) => any;
|
|
238
237
|
unreadChange: (count: number) => any;
|
|
239
238
|
wsStatusChange: (status: WSConnectionStatus) => any;
|
|
240
239
|
newMessage: (message: NotificationMessage) => any;
|
|
240
|
+
navigate: (url: string) => any;
|
|
241
241
|
viewAll: () => any;
|
|
242
242
|
}, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
|
|
243
243
|
onDelete?: ((ids: string[]) => any) | undefined;
|
|
244
|
-
onNavigate?: ((url: string) => any) | undefined;
|
|
245
244
|
onItemClick?: ((message: NotificationMessage) => any) | undefined;
|
|
246
245
|
onRead?: ((ids: string[]) => any) | undefined;
|
|
247
246
|
onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
|
|
248
247
|
onUnreadChange?: ((count: number) => any) | undefined;
|
|
249
248
|
onWsStatusChange?: ((status: WSConnectionStatus) => any) | undefined;
|
|
250
249
|
onNewMessage?: ((message: NotificationMessage) => any) | undefined;
|
|
250
|
+
onNavigate?: ((url: string) => any) | undefined;
|
|
251
251
|
onViewAll?: (() => any) | undefined;
|
|
252
252
|
}>, {
|
|
253
|
-
storageKey: string;
|
|
254
253
|
pageSize: number;
|
|
254
|
+
storageKey: string;
|
|
255
255
|
autoStart: boolean;
|
|
256
256
|
desktopNotification: boolean;
|
|
257
257
|
maxBadgeCount: number;
|
package/dist/constants4.d.cts
CHANGED
|
@@ -199,31 +199,31 @@ type __VLS_Slots = {} & {
|
|
|
199
199
|
};
|
|
200
200
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
201
201
|
change: (fileList: UploadFileItem[]) => any;
|
|
202
|
-
success: (file: UploadFileItem, response: unknown) => any;
|
|
203
202
|
error: (file: UploadFileItem, error: Error) => any;
|
|
204
203
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
204
|
+
success: (file: UploadFileItem, response: unknown) => any;
|
|
205
205
|
remove: (file: UploadFileItem) => any;
|
|
206
206
|
finish: (fileList: UploadFileItem[]) => any;
|
|
207
207
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
208
208
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
209
209
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
210
|
-
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
211
210
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
212
211
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
212
|
+
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
213
213
|
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
214
214
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
215
215
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
216
216
|
}>, {
|
|
217
217
|
data: Record<string, unknown>;
|
|
218
218
|
disabled: boolean;
|
|
219
|
+
maxSize: number;
|
|
220
|
+
multiple: boolean;
|
|
221
|
+
draggable: boolean;
|
|
219
222
|
action: string;
|
|
220
223
|
headers: Record<string, string>;
|
|
221
|
-
multiple: boolean;
|
|
222
224
|
directory: boolean;
|
|
223
225
|
accept: string;
|
|
224
|
-
maxSize: number;
|
|
225
226
|
maxCount: number;
|
|
226
|
-
draggable: boolean;
|
|
227
227
|
pasteable: boolean;
|
|
228
228
|
chunked: boolean;
|
|
229
229
|
chunkSize: number;
|
package/dist/constants4.d.ts
CHANGED
|
@@ -199,31 +199,31 @@ type __VLS_Slots = {} & {
|
|
|
199
199
|
};
|
|
200
200
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
201
201
|
change: (fileList: UploadFileItem[]) => any;
|
|
202
|
-
success: (file: UploadFileItem, response: unknown) => any;
|
|
203
202
|
error: (file: UploadFileItem, error: Error) => any;
|
|
204
203
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
204
|
+
success: (file: UploadFileItem, response: unknown) => any;
|
|
205
205
|
remove: (file: UploadFileItem) => any;
|
|
206
206
|
finish: (fileList: UploadFileItem[]) => any;
|
|
207
207
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
208
208
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
209
209
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
210
|
-
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
211
210
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
212
211
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
212
|
+
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
213
213
|
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
214
214
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
215
215
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
216
216
|
}>, {
|
|
217
217
|
data: Record<string, unknown>;
|
|
218
218
|
disabled: boolean;
|
|
219
|
+
maxSize: number;
|
|
220
|
+
multiple: boolean;
|
|
221
|
+
draggable: boolean;
|
|
219
222
|
action: string;
|
|
220
223
|
headers: Record<string, string>;
|
|
221
|
-
multiple: boolean;
|
|
222
224
|
directory: boolean;
|
|
223
225
|
accept: string;
|
|
224
|
-
maxSize: number;
|
|
225
226
|
maxCount: number;
|
|
226
|
-
draggable: boolean;
|
|
227
227
|
pasteable: boolean;
|
|
228
228
|
chunked: boolean;
|
|
229
229
|
chunkSize: number;
|
package/dist/constants5.d.cts
CHANGED
|
@@ -262,9 +262,9 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/components/C_VideoPlayer/index.vue.d.ts
|
|
264
264
|
declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
265
|
-
error: (error: Error) => any;
|
|
266
265
|
ready: () => any;
|
|
267
266
|
ended: () => any;
|
|
267
|
+
error: (error: Error) => any;
|
|
268
268
|
stateChange: (state: PlayerState) => any;
|
|
269
269
|
qualityChange: (quality: QualityLevel) => any;
|
|
270
270
|
rateChange: (rate: number) => any;
|
|
@@ -275,9 +275,9 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
275
275
|
quizAnswer: (quizId: string, answer: string | string[], isCorrect: boolean) => any;
|
|
276
276
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
277
277
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
278
|
-
onError?: ((error: Error) => any) | undefined;
|
|
279
278
|
onReady?: (() => any) | undefined;
|
|
280
279
|
onEnded?: (() => any) | undefined;
|
|
280
|
+
onError?: ((error: Error) => any) | undefined;
|
|
281
281
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
282
282
|
onQualityChange?: ((quality: QualityLevel) => any) | undefined;
|
|
283
283
|
onRateChange?: ((rate: number) => any) | undefined;
|
package/dist/constants5.d.ts
CHANGED
|
@@ -262,9 +262,9 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/components/C_VideoPlayer/index.vue.d.ts
|
|
264
264
|
declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
265
|
-
error: (error: Error) => any;
|
|
266
265
|
ready: () => any;
|
|
267
266
|
ended: () => any;
|
|
267
|
+
error: (error: Error) => any;
|
|
268
268
|
stateChange: (state: PlayerState) => any;
|
|
269
269
|
qualityChange: (quality: QualityLevel) => any;
|
|
270
270
|
rateChange: (rate: number) => any;
|
|
@@ -275,9 +275,9 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
275
275
|
quizAnswer: (quizId: string, answer: string | string[], isCorrect: boolean) => any;
|
|
276
276
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
277
277
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
278
|
-
onError?: ((error: Error) => any) | undefined;
|
|
279
278
|
onReady?: (() => any) | undefined;
|
|
280
279
|
onEnded?: (() => any) | undefined;
|
|
280
|
+
onError?: ((error: Error) => any) | undefined;
|
|
281
281
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
282
282
|
onQualityChange?: ((quality: QualityLevel) => any) | undefined;
|
|
283
283
|
onRateChange?: ((rate: number) => any) | undefined;
|
package/dist/data2.d.cts
CHANGED
|
@@ -65,21 +65,21 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_37>]?: (props: typeof _
|
|
|
65
65
|
declare const __VLS_base: vue.DefineComponent<CTabsProps, {
|
|
66
66
|
activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
|
|
67
67
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
68
|
-
"update:modelValue": (value: TabsValue) => any;
|
|
69
|
-
close: (value: TabsValue) => any;
|
|
70
68
|
add: () => any;
|
|
71
69
|
change: (value: TabsValue, item: TabsItem | undefined) => any;
|
|
70
|
+
"update:modelValue": (value: TabsValue) => any;
|
|
71
|
+
close: (value: TabsValue) => any;
|
|
72
72
|
}, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
|
|
73
|
-
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
74
|
-
onClose?: ((value: TabsValue) => any) | undefined;
|
|
75
73
|
onAdd?: (() => any) | undefined;
|
|
76
74
|
onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
|
|
75
|
+
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
76
|
+
onClose?: ((value: TabsValue) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
modelValue: TabsValue | null;
|
|
79
|
-
defaultValue: TabsValue | null;
|
|
80
|
-
items: readonly TabsItem[];
|
|
81
78
|
type: TabsType;
|
|
82
79
|
size: TabsSize;
|
|
80
|
+
items: readonly TabsItem[];
|
|
81
|
+
modelValue: TabsValue | null;
|
|
82
|
+
defaultValue: TabsValue | null;
|
|
83
83
|
placement: TabsPlacement;
|
|
84
84
|
justifyContent: TabsJustifyContent;
|
|
85
85
|
animated: boolean;
|