@robot-admin/naive-ui-components 0.31.4 → 0.32.0
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 +16 -0
- package/README.md +11 -5
- package/README_EN.md +11 -5
- package/dist/C_AutoComplete.cjs +1 -0
- package/dist/C_AutoComplete.css +36 -0
- package/dist/C_AutoComplete.d.cts +4 -0
- package/dist/C_AutoComplete.d.ts +4 -0
- package/dist/C_AutoComplete.js +1 -0
- package/dist/C_AutoComplete2.cjs +1 -0
- package/dist/C_AutoComplete2.js +1 -0
- package/dist/C_AvatarGroup.d.cts +1 -1
- package/dist/C_AvatarGroup.d.ts +1 -1
- package/dist/C_Barcode.d.cts +1 -1
- package/dist/C_Barcode.d.ts +1 -1
- package/dist/C_BatchResult.d.cts +1 -1
- package/dist/C_BatchResult.d.ts +1 -1
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +1 -1
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_Chat.d.ts +1 -1
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_ContextMenu.d.ts +1 -1
- package/dist/C_DataPicker.css +198 -31
- package/dist/C_DataPicker.d.cts +2 -2
- package/dist/C_DataPicker.d.ts +2 -2
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Density.d.cts +1 -1
- package/dist/C_Density.d.ts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_ErrorSummary.d.cts +1 -1
- package/dist/C_ErrorSummary.d.ts +1 -1
- package/dist/C_Form.base.css +68 -1
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Form.css +68 -1
- package/dist/C_Form.d.cts +3 -3
- package/dist/C_Form.d.ts +5 -3
- package/dist/C_Form.js +1 -1
- package/dist/C_FormModal.cjs +1 -1
- package/dist/C_FormModal.d.cts +1 -1
- package/dist/C_FormModal.d.ts +3 -1
- package/dist/C_FormModal.js +1 -1
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +139 -72
- package/dist/C_FormSearch.d.cts +1 -1
- package/dist/C_FormSearch.d.ts +1 -1
- package/dist/C_Guide.d.cts +1 -1
- package/dist/C_Guide.d.ts +1 -1
- package/dist/C_Icon.d.cts +1 -1
- package/dist/C_Icon.d.ts +1 -1
- package/dist/C_Language.d.cts +1 -1
- package/dist/C_Language.d.ts +1 -1
- package/dist/C_Loading.d.cts +1 -1
- package/dist/C_Loading.d.ts +1 -1
- package/dist/C_Login.d.cts +1 -1
- package/dist/C_Login.d.ts +1 -1
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Menu.d.cts +2 -2
- package/dist/C_Menu.d.ts +1 -1
- package/dist/C_OrgChart.d.cts +1 -1
- package/dist/C_OrgChart.d.ts +1 -1
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_SectionNav.d.cts +1 -1
- package/dist/C_SectionNav.d.ts +1 -1
- package/dist/C_Select.css +32 -1
- package/dist/C_Select.d.cts +4 -2
- package/dist/C_Select.d.ts +4 -2
- package/dist/C_Select2.cjs +1 -1
- package/dist/C_Select2.js +1 -1
- package/dist/C_Skeleton.d.cts +1 -1
- package/dist/C_Skeleton.d.ts +1 -1
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/C_Table.base.css +183 -111
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +115 -110
- package/dist/C_Table.d.cts +1 -1
- package/dist/C_Table.d.ts +11 -8
- package/dist/C_Table.js +1 -1
- package/dist/C_Table2.cjs +3 -3
- package/dist/C_Table2.js +3 -3
- package/dist/C_TagsView.d.cts +2 -2
- package/dist/C_TagsView.d.ts +1 -1
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_Timeline.d.cts +1 -1
- package/dist/C_Timeline.d.ts +1 -1
- package/dist/C_Transfer.d.cts +1 -1
- package/dist/C_Transfer.d.ts +1 -1
- package/dist/C_Tree.cjs +1 -1
- package/dist/C_Tree.d.ts +10 -7
- package/dist/C_Tree.js +1 -1
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/OptionStatus.cjs +1 -0
- package/dist/OptionStatus.js +1 -0
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- 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 +7 -7
- package/dist/constants4.d.ts +7 -7
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +2 -1
- package/dist/data.d.ts +2 -1
- package/dist/data2.d.cts +8 -8
- package/dist/data2.d.ts +8 -8
- package/dist/dateRange.d.cts +9 -4
- package/dist/dateRange.d.ts +9 -4
- package/dist/fieldRenderers.cjs +1 -0
- package/dist/fieldRenderers.js +1 -0
- package/dist/formField.cjs +1 -1
- package/dist/formField.d.cts +46 -19
- package/dist/formField.d.ts +46 -19
- package/dist/formField.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +62 -58
- package/dist/index.d.ts +62 -57
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +27 -35
- package/dist/index10.vue.d.ts +37 -80
- package/dist/index11.vue.d.cts +37 -80
- package/dist/index11.vue.d.ts +83 -16
- package/dist/index12.vue.d.cts +83 -16
- package/dist/index12.vue.d.ts +16 -59
- package/dist/index13.vue.d.cts +16 -59
- package/dist/index13.vue.d.ts +57 -17
- package/dist/index14.vue.d.cts +57 -17
- package/dist/index14.vue.d.ts +18 -55
- package/dist/index15.vue.d.cts +18 -55
- package/dist/index15.vue.d.ts +53 -124
- package/dist/index16.vue.d.cts +53 -124
- package/dist/index16.vue.d.ts +123 -51
- package/dist/index17.vue.d.cts +123 -51
- package/dist/index17.vue.d.ts +52 -25
- package/dist/index18.vue.d.cts +52 -25
- package/dist/index18.vue.d.ts +25 -12
- package/dist/index19.vue.d.cts +25 -12
- package/dist/index19.vue.d.ts +13 -129
- package/dist/index2.vue.d.cts +26 -82
- package/dist/index2.vue.d.ts +26 -82
- package/dist/index20.vue.d.cts +13 -129
- package/dist/index20.vue.d.ts +129 -76
- package/dist/index21.vue.d.cts +129 -76
- package/dist/index21.vue.d.ts +78 -72
- package/dist/index22.vue.d.cts +75 -97
- package/dist/index22.vue.d.ts +68 -96
- package/dist/index23.vue.d.cts +91 -40
- package/dist/index23.vue.d.ts +91 -40
- package/dist/index24.vue.d.cts +49 -23
- package/dist/index24.vue.d.ts +49 -23
- package/dist/index25.vue.d.cts +19 -46
- package/dist/index25.vue.d.ts +19 -46
- package/dist/index26.vue.d.cts +25 -98
- package/dist/index26.vue.d.ts +25 -98
- package/dist/index27.vue.d.cts +95 -37
- package/dist/index27.vue.d.ts +95 -37
- package/dist/index28.vue.d.cts +34 -8
- package/dist/index28.vue.d.ts +34 -8
- package/dist/index29.vue.d.cts +9 -86
- package/dist/index29.vue.d.ts +9 -86
- package/dist/index3.vue.d.cts +80 -30
- package/dist/index3.vue.d.ts +80 -30
- package/dist/index30.vue.d.cts +85 -99
- package/dist/index30.vue.d.ts +85 -99
- package/dist/index31.vue.d.cts +94 -63
- package/dist/index31.vue.d.ts +94 -63
- package/dist/index32.vue.d.cts +79 -0
- package/dist/index32.vue.d.ts +79 -0
- package/dist/index4.vue.d.cts +30 -19
- package/dist/index4.vue.d.ts +30 -19
- package/dist/index5.vue.d.cts +19 -128
- package/dist/index5.vue.d.ts +17 -34
- package/dist/index6.vue.d.cts +127 -35
- package/dist/index6.vue.d.ts +30 -22
- package/dist/index7.vue.d.cts +30 -22
- package/dist/index7.vue.d.ts +25 -118
- package/dist/index8.vue.d.cts +25 -118
- package/dist/index8.vue.d.ts +112 -21
- package/dist/index9.vue.d.cts +112 -21
- package/dist/index9.vue.d.ts +27 -35
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/optionSource.d.cts +30 -0
- package/dist/optionSource.d.ts +30 -0
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +349 -213
- package/dist/types2.d.cts +29 -103
- package/dist/types2.d.ts +30 -55
- package/dist/types3.d.cts +104 -55
- package/dist/types3.d.ts +60 -0
- package/dist/types4.d.cts +60 -0
- package/dist/types4.d.ts +42 -0
- package/dist/types5.d.cts +42 -0
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +9 -9
- package/dist/useCropperCore.d.ts +9 -9
- package/dist/useDataResource.cjs +1 -1
- package/dist/useDataResource.js +1 -1
- package/dist/useDynamicFormState.d.cts +15 -1
- package/dist/useDynamicFormState.d.ts +15 -1
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFormConfig.d.cts +5 -2
- package/dist/useFormConfig.d.ts +5 -2
- package/dist/useFormRenderer.d.cts +1 -1
- package/dist/useFormRenderer.d.ts +1 -1
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useGridWidth.cjs +1 -1
- package/dist/useGridWidth.js +1 -1
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +4 -4
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useTableQuery.d.cts +13 -11
- package/dist/useTableQuery.d.ts +13 -11
- package/dist/useWorkflowValidation.d.cts +34 -34
- package/dist/useWorkflowValidation.d.ts +34 -34
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/architecture.md +3 -1
- package/docs/components.en.md +2 -1
- package/docs/components.md +2 -1
- package/docs/engineering.en.md +11 -1
- package/docs/engineering.md +11 -1
- package/docs/guides/data-picker.md +37 -1
- package/docs/guides/remote-options.md +93 -0
- package/docs/guides/search-workflows.md +99 -2
- package/docs/search-selection-coverage.md +59 -0
- package/docs/wl-ui-produce-coverage.md +2 -0
- package/package.json +6 -3
- package/dist/helpers2.cjs +0 -1
- package/dist/helpers2.js +0 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./density.js";import{t}from"./numberCodec.js";import{t as n}from"./validation.js";import{n as r,t as i}from"./batchPatch.js";import{t as a}from"./observer.js";import{t as o}from"./useDataResource.js";import{n as s,t as ee}from"./useFormArray.js";import{COMPONENT_FEEDBACK_KEY as te,COMPONENT_LOCALE_KEY as ne,FORM_GLOBAL_CONFIG_KEY as re}from"./config.js";import{t as ie}from"./useComponentLocale.js";import{t as ae}from"./feedback.js";import{t as c}from"./C_Icon2.js";import{t as l}from"./C_Code2.js";import{t as u}from"./C_Select2.js";import{t as d}from"./C_Loading2.js";import{n as f,t as oe}from"./createPageLoading.js";import{a as se,c as ce,i as le,n as ue,o as de,r as fe,s as pe,t as p}from"./C_Upload2.js";import{t as m}from"./C_Barcode2.js";import{i as me,n as he,r as ge,t as h}from"./C_Captcha2.js";import{t as g}from"./C_Cascade2.js";import{t as _}from"./C_Guide2.js";import{t as v}from"./C_Progress2.js";import{t as y}from"./C_Steps2.js";import{a as _e,i as ve,n as ye,o as be,r as xe,t as b}from"./C_ActionBar2.js";import{t as x}from"./C_Theme2.js";import{t as S}from"./C_Language2.js";import"./C_Date2.js";import{C_Date as C}from"./C_Date.js";import{t as w}from"./C_Editor2.js";import{t as T}from"./C_Markdown2.js";import{a as Se,c as Ce,i as we,l as Te,n as Ee,o as De,r as Oe,s as ke,t as E}from"./C_Map2.js";import{t as D}from"./C_City2.js";import{r as Ae,t as je}from"./graphics.js";import{C_VtableGantt as O}from"./C_VtableGantt.js";import{i as Me,n as Ne,r as Pe,t as k}from"./C_Signature2.js";import{n as Fe,t as A}from"./C_SplitPane2.js";import{n as Ie,t as j}from"./C_CollapsePanel2.js";import{n as Le}from"./C_Time2.js";import{C_Time as M}from"./C_Time.js";import{a as Re,i as ze,n as Be,o as Ve,r as He,t as Ue}from"./useFormConfig.js";import{i as We,n as Ge,r as Ke,t as qe}from"./storage.js";import{i as Je,r as Ye,t as Xe}from"./serializeSearch.js";import{C_FormSearch as N}from"./C_FormSearch.js";import{n as Ze,r as Qe,t as P}from"./C_Tree2.js";import{n as $e,t as F}from"./C_QRCode2.js";import{n as et,t as I}from"./C_ImageCropper2.js";import{n as tt,t as L}from"./C_Draggable2.js";import{a as nt,c as rt,i as it,l as at,n as ot,o as st,r as ct,s as lt,t as R,u as ut}from"./C_WaterFall2.js";import{a as dt,i as ft,n as pt,o as mt,r as ht,t as z}from"./C_FullCalendar2.js";import{a as gt,c as _t,d as vt,f as yt,g as bt,h as xt,i as St,l as Ct,m as wt,n as Tt,o as Et,p as Dt,r as Ot,s as kt,t as B,u as At}from"./C_NotificationCenter2.js";import{a as jt,c as Mt,d as Nt,i as Pt,l as Ft,n as It,o as Lt,r as Rt,s as zt,t as V,u as Bt}from"./C_Cron2.js";import{a as Vt,c as Ht,i as Ut,l as Wt,n as H,o as Gt,r as Kt,s as qt,t as Jt}from"./useFormulaEvaluator.js";import{i as Yt,n as Xt,r as Zt,t as U}from"./C_AntV2.js";import{_ as Qt,a as $t,b as en,c as tn,d as nn,f as rn,g as an,h as on,i as sn,l as cn,m as ln,n as un,o as dn,p as fn,r as pn,s as mn,t as W,u as hn,v as gn,x as _n,y as vn}from"./C_VideoPlayer2.js";import{n as yn,r as bn,t as G}from"./C_FilePreview2.js";import{i as xn,n as Sn,r as Cn,t as K}from"./C_WorkFlow2.js";import{a as q,c as wn,d as Tn,i as En,l as Dn,n as On,o as J,r as kn,s as An,t as jn,u as Mn}from"./helpers.js";import{n as Nn,r as Pn,t as Fn}from"./formValidation.js";import{n as In,r as Ln,t as Rn}from"./useDynamicFormState.js";import{t as Y}from"./C_FormModal2.js";import{_ as zn,a as Bn,c as Vn,d as Hn,f as Un,g as Wn,h as Gn,i as Kn,l as qn,m as Jn,o as Yn,p as Xn,r as Zn,s as Qn,t as $n,u as er,v as tr}from"./C_Table2.js";import{n as nr,r as rr,s as ir}from"./helpers2.js";import{i as ar,n as or,r as sr,t as cr}from"./useTableGlobalConfig.js";import{t as lr}from"./useTableQuery.js";import{n as ur,t as dr}from"./C_GlobalSearch2.js";import{n as fr,r as pr,t as mr}from"./C_Menu2.js";import{t as hr}from"./C_Breadcrumb2.js";import{n as gr,t as _r}from"./C_TagsView2.js";import{i as vr,n as yr,r as br,t as xr}from"./C_AudioPlayer2.js";import{a as Sr,i as Cr,n as wr,r as Tr,t as Er}from"./C_AvatarGroup2.js";import{n as Dr,t as Or}from"./C_Chat2.js";import{n as kr,t as Ar}from"./C_ContextMenu2.js";import{n as jr,r as Mr,t as Nr}from"./C_Login2.js";import{n as Pr,r as Fr,t as Ir}from"./C_Timeline2.js";import{n as Lr,t as Rr}from"./data3.js";import{n as zr,t as Br}from"./C_Transfer2.js";import{t as Vr}from"./C_Skeleton2.js";import{t as Hr}from"./C_OrgChart2.js";import{t as Ur}from"./C_ErrorSummary2.js";import{t as Wr}from"./C_Density2.js";import{t as Gr}from"./C_SectionNav2.js";import{n as Kr,t as qr}from"./formField.js";import{t as Jr}from"./C_BatchResult2.js";import{hasInjectionContext as Yr,inject as Xr}from"vue";import Zr from"highlight.js/lib/core";import Qr from"highlight.js/lib/languages/javascript";import $r from"highlight.js/lib/languages/typescript";import ei from"highlight.js/lib/languages/json";import ti from"highlight.js/lib/languages/xml";import ni from"highlight.js/lib/languages/css";import ri from"highlight.js/lib/languages/bash";import ii from"highlight.js/lib/languages/yaml";import ai from"highlight.js/lib/languages/markdown";import oi from"highlight.js/lib/languages/java";import si from"highlight.js/lib/languages/csharp";import ci from"highlight.js/lib/languages/go";import li from"highlight.js/lib/languages/python";const ui={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)};function di(e,t,n){e.instance.registerLanguage(t,n),e.loadedLanguages.add(t)}function fi(e,t){[[`javascript`,Qr],[`typescript`,$r],[`json`,ei],[`html`,ti],[`xml`,ti],[`css`,ni],[`bash`,ri],[`shell`,ri],[`yaml`,ii],[`yml`,ii],[`markdown`,ai],[`java`,oi],[`csharp`,si],[`go`,ci],[`python`,li]].forEach(([t,n])=>{di(e,t,n)}),e.instance.configure({ignoreUnescapedHTML:!0,languages:t.autoDetect?void 0:[]}),t.extraLanguages?.length&&pi(e,t.extraLanguages,t)}async function pi(e,t,n={}){let r=t.map(t=>mi(e,t,n));return(await Promise.allSettled(r)).map((e,n)=>e.status===`fulfilled`&&e.value?t[n]:null).filter(Boolean)}async function mi(e,t,n={}){let r=t.toLowerCase();if(e.loadedLanguages.has(r))return!0;let i=e.pendingLanguageLoads.get(r);if(i)return i;let o=ui[r];if(!o)return a(()=>n.logger?.warn(`[HighlightPlugin] Language '${t}' not supported`)),!1;let s=(async()=>{try{return di(e,r,(await o()).default),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] Language '${r}' loaded successfully`)),!0}catch(e){return a(()=>n.logger?.error(`[HighlightPlugin] Failed to load language '${r}'`,e)),a(()=>n.onError?.(e,{source:`language-loader`,language:r})),!1}finally{e.pendingLanguageLoads.delete(r)}})();return e.pendingLanguageLoads.set(r,s),s}function X(e={}){let t={instance:Zr.newInstance(),loadedLanguages:new Set,pendingLanguageLoads:new Map};return fi(t,e),{getHljs:()=>t.instance,loadLanguage:n=>mi(t,n,e),loadLanguages:n=>pi(t,n,e),getLoadedLanguages:()=>Array.from(t.loadedLanguages)}}function hi(e={}){return(Yr()?Xr(`highlightManager`,void 0):void 0)??X(e)}const Z=new WeakMap;function gi(e,t){if(t.active=!1,Object.getOwnPropertyDescriptor(e,`hljs`)?.value!==t.instance){Z.get(e)===t&&Z.delete(e);return}let n=t.previousDescriptor,r=t.previousExposure;for(;r&&!r.active;)n=r.previousDescriptor,r=r.previousExposure;n?Reflect.defineProperty(e,`hljs`,n):Reflect.deleteProperty(e,`hljs`),r?Z.set(e,r):Z.delete(e)}function _i(e){if(typeof window>`u`)return;let t=window,n=Object.getOwnPropertyDescriptor(t,`hljs`),r=Z.get(t),i={instance:e,previousDescriptor:n,previousExposure:r?.instance===n?.value?r:void 0,active:!0};if(Reflect.defineProperty(t,`hljs`,{configurable:!0,enumerable:n?.enumerable??!1,writable:!0,value:e}))return Z.set(t,i),()=>gi(t,i)}const Q=new WeakMap;function vi(e,t,n){let r=e.config.globalProperties,i=Object.getOwnPropertyDescriptor(r,`$highlight`),a=n&&i?.value===n.api?n.previousProperty:i;return Object.defineProperty(r,`$highlight`,{configurable:i?.configurable??!0,enumerable:i?.enumerable??!0,writable:!0,value:t}),a}function yi(e){let t=Q.get(e);if(!t)return;Q.delete(e),t.releaseWindow?.();let n=e.config.globalProperties;Object.getOwnPropertyDescriptor(n,`$highlight`)?.value===t.api&&(t.previousProperty?Reflect.defineProperty(n,`$highlight`,t.previousProperty):Reflect.deleteProperty(n,`$highlight`))}function $(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t},r=X(n),i=Q.get(e),o=vi(e,r,i);i?.releaseWindow?.(),e.provide(`highlightManager`,r);let s=n.exposeToWindow?_i(r.getHljs()):void 0;return Q.set(e,{api:r,previousProperty:o,releaseWindow:s}),i||e.onUnmount(()=>yi(e)),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)),r}const bi={C_Code:l,C_Icon:c,C_Loading:d,C_PageLoading:f,C_Upload:p,C_Barcode:m,C_Captcha:h,C_Cascade:g,C_Guide:_,C_Progress:v,C_Steps:y,C_ActionBar:b,C_Theme:x,C_Language:S,C_Date:C,C_Editor:w,C_Markdown:T,C_Map:E,C_City:D,C_VtableGantt:O,C_Signature:k,C_SplitPane:A,C_CollapsePanel:j,C_Time:M,C_FormSearch:N,C_Select:u,C_Tree:P,C_QRCode:F,C_ImageCropper:I,C_Draggable:L,C_WaterFall:R,C_FullCalendar:z,C_NotificationCenter:B,C_Cron:V,C_FormulaEditor:H,C_AntV:U,C_VideoPlayer:W,C_FilePreview:G,C_WorkFlow:K,C_Form:En,C_FormModal:Y,C_Table:$n,C_GlobalSearch:dr,C_Menu:mr,C_Breadcrumb:hr,C_TagsView:_r,C_AudioPlayer:xr,C_AvatarGroup:Er,C_Chat:Or,C_ContextMenu:Ar,C_Login:Nr,C_Timeline:Ir,C_Tabs:Lr,C_Transfer:Br,C_Skeleton:Vr,C_OrgChart:Hr,C_ErrorSummary:Ur,C_Density:Wr,C_SectionNav:Gr,C_DataPicker:Kr,C_BatchResult:Jr};var xi={install:(e,t={})=>{Object.entries(bi).forEach(([t,n])=>{e.component(t,n)}),t.highlight!==void 0&&$(e,t.highlight),t.feedback&&e.provide(te,t.feedback),t.locale&&e.provide(ne,t.locale),t.form&&e.provide(re,t.form),e.provide(q,t.formRenderers??J()),t.table&&e.provide(cr,t.table)}};export{ye as ACTION_BAR_DEFAULT_CONFIG,Ut as ACTION_KEYS,xe as ACTION_PRESETS,Tr as AVATAR_STATUS_COLOR_MAP,ht as BUTTON_TEXT,gt as CATEGORY_MAP,Et as CATEGORY_TABS,te as COMPONENT_FEEDBACK_KEY,ne as COMPONENT_LOCALE_KEY,jt as CRON_FIELD_META,Lt as CRON_TEMPLATES,b as C_ActionBar,U as C_AntV,xr as C_AudioPlayer,Er as C_AvatarGroup,m as C_Barcode,Jr as C_BatchResult,hr as C_Breadcrumb,h as C_Captcha,g as C_Cascade,Or as C_Chat,D as C_City,l as C_Code,j as C_CollapsePanel,Ar as C_ContextMenu,V as C_Cron,Kr as C_DataPicker,C as C_Date,Wr as C_Density,L as C_Draggable,w as C_Editor,Ur as C_ErrorSummary,G as C_FilePreview,En as C_Form,Y as C_FormModal,N as C_FormSearch,H as C_FormulaEditor,z as C_FullCalendar,dr as C_GlobalSearch,_ as C_Guide,c as C_Icon,I as C_ImageCropper,S as C_Language,d as C_Loading,Nr as C_Login,E as C_Map,T as C_Markdown,mr as C_Menu,B as C_NotificationCenter,Hr as C_OrgChart,f as C_PageLoading,v as C_Progress,F as C_QRCode,Gr as C_SectionNav,u as C_Select,k as C_Signature,Vr as C_Skeleton,A as C_SplitPane,y as C_Steps,$n as C_Table,Lr as C_Tabs,_r as C_TagsView,x as C_Theme,M as C_Time,Ir as C_Timeline,Br as C_Transfer,P as C_Tree,p as C_Upload,W as C_VideoPlayer,O as C_VtableGantt,R as C_WaterFall,K as C_WorkFlow,he as CaptchaVerificationError,ve as DEFAULT_ACTION_ICON,nt as DEFAULT_ANIMATION_DURATION,yr as DEFAULT_AUDIO_PLAYER_PROPS,wr as DEFAULT_AVATAR_GROUP_PROPS,st as DEFAULT_BREAKPOINTS,Dr as DEFAULT_CHAT_PROPS,kr as DEFAULT_CONTEXT_MENU_PROPS,zt as DEFAULT_CRON_EXPRESSION,Mt as DEFAULT_CRON_VALUE,ft as DEFAULT_EDIT_FORM,jr as DEFAULT_FEATURES,Ft as DEFAULT_FIELD_VALUE,Vt as DEFAULT_FUNCTIONS,lt as DEFAULT_GAP,tn as DEFAULT_HEARTBEAT_INTERVAL,ke as DEFAULT_MAP_CONFIG,kt as DEFAULT_MAX_BADGE_COUNT,_t as DEFAULT_PAGE_SIZE,cn as DEFAULT_PLAYBACK_RATE,hn as DEFAULT_PLAYBACK_RATES,Ct as DEFAULT_POLLING_INTERVAL,rt as DEFAULT_SKELETON_COUNT,Mr as DEFAULT_SOCIAL_PROVIDERS,At as DEFAULT_STORAGE_KEY,Pr as DEFAULT_TIMELINE_PROPS,zr as DEFAULT_TRANSFER_PROPS,nn as DEFAULT_VOLUME,vt as DEFAULT_WS_HEARTBEAT_INTERVAL,yt as DEFAULT_WS_HEARTBEAT_MESSAGE,Dt as DEFAULT_WS_MAX_RECONNECT,wt as DEFAULT_WS_RECONNECT_INTERVAL,Rn as DYNAMIC_FORM_STATE_KEY,dt as EVENT_COLORS,In as FIELD_TYPE_OPTIONS,Ue as FORM_DEFAULTS,re as FORM_GLOBAL_CONFIG_KEY,q as FORM_RENDERER_REGISTRY_KEY,mt as HEADER_TOOLBAR,at as INFINITE_SCROLL_THRESHOLD,rn as KEYBOARD_SHORTCUTS,Be as LAYOUTS_WITH_OWN_CONTROLS,Ce as MAP_TYPES,xt as MOCK_MESSAGES,br as MODE_ICON_MAP,Bt as MONTH_LABELS,Fn as NAIVE_COMBOS,Gt as NUMBER_KEYS,qt as OPERATORS,Ht as OPERATOR_KEYS,Te as OSM_TILE_CONFIG,Nn as PRESET_RULES,bt as PRIORITY_MAP,fn as PROGRESS_THROTTLE_INTERVAL,ln as QUALITY_LABEL_MAP,on as SEEK_STEP,ut as SKELETON_HEIGHT_RANGE,an as SOURCE_TYPE_MAP,Wt as SPACED_OPERATORS,Pn as SPEC_RULES,Qt as STORAGE_KEYS,gn as STORAGE_PREFIX,cr as TABLE_GLOBAL_CONFIG_KEY,Fr as TIMELINE_STATUS_COLOR_MAP,vn as VOLUME_STEP,en as WATERMARK_DEFAULT_STYLE,Nt as WEEK_LABELS,_n as XGPLAYER_EVENTS,je as appendGanttGroup,or as applyFormatter,n as collectValidationIssues,i as createBatchPatch,ge as createCaptchaProof,qr as createDataPickerField,zn as createEditModeChecker,J as createFormRendererRegistry,X as createHighlight,fr as createMenuOptions,t as createNumberCodec,oe as createPageLoading,xi as default,_e as defineActions,jn as defineFormConfig,On as defineFormOptions,nr as defineTableColumns,rr as defineTableConfig,Rr as defineTabs,Zn as exportTableData,pr as flattenRoutes,pe as formatFileSize,vr as formatTime,Ae as ganttPresetConfigs,ce as getFileIcon,Cr as getInitials,qe as getItem,r as getRetryableKeys,Ee as getValidMapMarkers,Oe as isValidMapCoordinate,He as mergeFormConfig,sr as mergeGlobalConfig,Sr as nameToColor,we as normalizeMapZoom,Hn as printPresets,An as registerRenderer,Ge as removeAllItem,Ke as removeItem,be as resolveActionPreset,e as resolveComponentDensity,tr as resolveConfig,ze as resolveFormConfig,Se as resolveTileConfig,Xe as serializeSearch,We as setItem,$ as setupHighlight,Re as shouldShowActions,De as toAMapPosition,Qe as treePresetConfigs,wn as unregisterRenderer,pn as useBookmarks,kn as useCForm,pt as useCalendarEvents,Gn as useCellEdit,sn as useChapters,se as useChunkUpload,Ie as useCollapsePanel,ae as useComponentFeedback,ie as useComponentLocale,It as useCronDescription,Pt as useCronParser,Rt as useCronPreview,et as useCropperCore,Kn as useCrossPageSelection,o as useDataResource,ue as useDragDrop,tt as useDraggableLayout,Ln as useDynamicFormState,er as useDynamicRows,Xt as useEdgeInteraction,de as useFileHash,bn as useFilePreview,ee as useFormArray,Tn as useFormDirty,Ve as useFormGlobalConfig,Dn as useFormRenderer,Mn as useFormState,Jt as useFormulaEvaluator,Kt as useFormulaParser,yn as useFullscreen,ur as useGlobalSearch,Yt as useGraphBase,Zt as useGraphExport,hi as useHighlight,ot as useInfiniteScroll,Jn as useModalEdit,Ot as useNotificationCore,Tt as useNotificationFormat,St as useNotificationWS,Vn as usePagination,dn as usePlaybackControl,mn as usePlayerCore,Un as usePrintWatermark,$t as useProgressTracker,$e as useQRCode,it as useResponsiveColumns,Bn as useRowDrag,Wn as useRowEdit,Je as useSearchHistory,Ye as useSearchState,Me as useSignatureCanvas,Ne as useSignatureExport,Pe as useSignatureHistory,Fe as useSplitResize,un as useSubtitle,Qn as useTableActions,Yn as useTableColumns,Xn as useTableExpand,ar as useTableGlobalConfig,qn as useTableManager,lr as useTableQuery,gr as useTagsView,Le as useTimeSelection,Ze as useTreeOperations,fe as useUploadCore,le as useUploadQueue,s as useValidationScope,ct as useWaterFallLayout,xn as useWorkflowNodes,Sn as useWorkflowPreview,Cn as useWorkflowValidation,ir as validateTableRowKeys,me as verifyCaptchaProof};
|
|
1
|
+
import{t as e}from"./density.js";import{t}from"./numberCodec.js";import{t as n}from"./validation.js";import{n as r,t as i}from"./batchPatch.js";import{t as a}from"./observer.js";import{t as o}from"./useDataResource.js";import{n as s,t as ee}from"./useFormArray.js";import{COMPONENT_FEEDBACK_KEY as te,COMPONENT_LOCALE_KEY as ne,FORM_GLOBAL_CONFIG_KEY as re}from"./config.js";import{t as ie}from"./useComponentLocale.js";import{t as ae}from"./feedback.js";import{t as oe}from"./C_Icon2.js";import{t as se}from"./C_Code2.js";import{t as c}from"./C_Select2.js";import{t as l}from"./C_AutoComplete2.js";import{t as u}from"./C_Loading2.js";import{n as d,t as ce}from"./createPageLoading.js";import{a as le,c as ue,i as de,n as fe,o as pe,r as me,s as he,t as f}from"./C_Upload2.js";import{t as p}from"./C_Barcode2.js";import{i as ge,n as _e,r as ve,t as m}from"./C_Captcha2.js";import{t as h}from"./C_Cascade2.js";import{t as g}from"./C_Guide2.js";import{t as _}from"./C_Progress2.js";import{t as v}from"./C_Steps2.js";import{a as ye,i as be,n as xe,o as Se,r as Ce,t as y}from"./C_ActionBar2.js";import{t as b}from"./C_Theme2.js";import{t as x}from"./C_Language2.js";import"./C_Date2.js";import{C_Date as S}from"./C_Date.js";import{t as C}from"./C_Editor2.js";import{t as w}from"./C_Markdown2.js";import{a as we,c as Te,i as Ee,l as De,n as Oe,o as ke,r as Ae,s as je,t as T}from"./C_Map2.js";import{t as E}from"./C_City2.js";import{r as Me,t as Ne}from"./graphics.js";import{C_VtableGantt as D}from"./C_VtableGantt.js";import{i as Pe,n as Fe,r as Ie,t as O}from"./C_Signature2.js";import{n as Le,t as k}from"./C_SplitPane2.js";import{n as Re,t as A}from"./C_CollapsePanel2.js";import{n as ze}from"./C_Time2.js";import{C_Time as j}from"./C_Time.js";import{a as Be,i as Ve,n as He,o as Ue,r as We,t as Ge}from"./useFormConfig.js";import{i as Ke,n as qe,r as Je,t as Ye}from"./storage.js";import{i as Xe,r as Ze,t as Qe}from"./serializeSearch.js";import{C_FormSearch as M}from"./C_FormSearch.js";import{i as $e,r as et,t as N}from"./C_Tree2.js";import{n as tt,t as P}from"./C_QRCode2.js";import{n as nt,t as F}from"./C_ImageCropper2.js";import{n as rt,t as I}from"./C_Draggable2.js";import{a as it,c as at,i as ot,l as st,n as ct,o as lt,r as ut,s as dt,t as L,u as ft}from"./C_WaterFall2.js";import{a as pt,i as mt,n as ht,o as gt,r as _t,t as R}from"./C_FullCalendar2.js";import{a as vt,c as yt,d as bt,f as xt,g as St,h as Ct,i as wt,l as Tt,m as Et,n as Dt,o as Ot,p as kt,r as At,s as jt,t as z,u as Mt}from"./C_NotificationCenter2.js";import{a as Nt,c as Pt,d as Ft,i as It,l as Lt,n as Rt,o as zt,r as Bt,s as Vt,t as B,u as Ht}from"./C_Cron2.js";import{a as Ut,c as Wt,i as Gt,l as Kt,n as V,o as qt,r as Jt,s as Yt,t as Xt}from"./useFormulaEvaluator.js";import{i as Zt,n as Qt,r as $t,t as H}from"./C_AntV2.js";import{_ as en,a as tn,b as nn,c as rn,d as an,f as on,g as sn,h as cn,i as ln,l as un,m as dn,n as fn,o as pn,p as mn,r as hn,s as gn,t as U,u as _n,v as vn,x as yn,y as bn}from"./C_VideoPlayer2.js";import{n as xn,r as Sn,t as W}from"./C_FilePreview2.js";import{i as Cn,n as wn,r as Tn,t as G}from"./C_WorkFlow2.js";import{a as En,c as K,d as Dn,f as On,i as kn,l as An,n as jn,o as q,p as Mn,r as Nn,s as Pn,t as Fn,u as In}from"./fieldRenderers.js";import{n as Ln,r as Rn,t as zn}from"./formValidation.js";import{n as Bn,r as Vn,t as Hn}from"./useDynamicFormState.js";import{t as J}from"./C_FormModal2.js";import{_ as Un,a as Wn,c as Gn,d as Kn,f as qn,g as Jn,h as Yn,i as Xn,l as Zn,m as Qn,o as $n,p as er,r as tr,s as nr,t as Y,u as rr,v as ir}from"./C_Table2.js";import{n as ar,r as or,s as sr}from"./helpers.js";import{i as cr,n as lr,r as ur,t as dr}from"./useTableGlobalConfig.js";import{t as fr}from"./useTableQuery.js";import{n as pr,t as mr}from"./C_GlobalSearch2.js";import{n as hr,r as gr,t as _r}from"./C_Menu2.js";import{t as vr}from"./C_Breadcrumb2.js";import{n as yr,t as br}from"./C_TagsView2.js";import{i as xr,n as Sr,r as Cr,t as wr}from"./C_AudioPlayer2.js";import{a as Tr,i as Er,n as Dr,r as Or,t as kr}from"./C_AvatarGroup2.js";import{n as Ar,t as jr}from"./C_Chat2.js";import{n as Mr,t as Nr}from"./C_ContextMenu2.js";import{n as Pr,r as Fr,t as Ir}from"./C_Login2.js";import{n as Lr,r as Rr,t as zr}from"./C_Timeline2.js";import{n as Br,t as Vr}from"./data3.js";import{n as Hr,t as Ur}from"./C_Transfer2.js";import{t as Wr}from"./C_Skeleton2.js";import{t as Gr}from"./C_OrgChart2.js";import{t as Kr}from"./C_ErrorSummary2.js";import{t as qr}from"./C_Density2.js";import{t as Jr}from"./C_SectionNav2.js";import{n as Yr,t as Xr}from"./formField.js";import{t as X}from"./C_BatchResult2.js";import{hasInjectionContext as Zr,inject as Qr}from"vue";import $r from"highlight.js/lib/core";import ei from"highlight.js/lib/languages/javascript";import ti from"highlight.js/lib/languages/typescript";import ni from"highlight.js/lib/languages/json";import ri from"highlight.js/lib/languages/xml";import ii from"highlight.js/lib/languages/css";import ai from"highlight.js/lib/languages/bash";import oi from"highlight.js/lib/languages/yaml";import si from"highlight.js/lib/languages/markdown";import ci from"highlight.js/lib/languages/java";import li from"highlight.js/lib/languages/csharp";import ui from"highlight.js/lib/languages/go";import di from"highlight.js/lib/languages/python";const fi={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)};function pi(e,t,n){e.instance.registerLanguage(t,n),e.loadedLanguages.add(t)}function mi(e,t){[[`javascript`,ei],[`typescript`,ti],[`json`,ni],[`html`,ri],[`xml`,ri],[`css`,ii],[`bash`,ai],[`shell`,ai],[`yaml`,oi],[`yml`,oi],[`markdown`,si],[`java`,ci],[`csharp`,li],[`go`,ui],[`python`,di]].forEach(([t,n])=>{pi(e,t,n)}),e.instance.configure({ignoreUnescapedHTML:!0,languages:t.autoDetect?void 0:[]}),t.extraLanguages?.length&&hi(e,t.extraLanguages,t)}async function hi(e,t,n={}){let r=t.map(t=>gi(e,t,n));return(await Promise.allSettled(r)).map((e,n)=>e.status===`fulfilled`&&e.value?t[n]:null).filter(Boolean)}async function gi(e,t,n={}){let r=t.toLowerCase();if(e.loadedLanguages.has(r))return!0;let i=e.pendingLanguageLoads.get(r);if(i)return i;let o=fi[r];if(!o)return a(()=>n.logger?.warn(`[HighlightPlugin] Language '${t}' not supported`)),!1;let s=(async()=>{try{return pi(e,r,(await o()).default),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] Language '${r}' loaded successfully`)),!0}catch(e){return a(()=>n.logger?.error(`[HighlightPlugin] Failed to load language '${r}'`,e)),a(()=>n.onError?.(e,{source:`language-loader`,language:r})),!1}finally{e.pendingLanguageLoads.delete(r)}})();return e.pendingLanguageLoads.set(r,s),s}function Z(e={}){let t={instance:$r.newInstance(),loadedLanguages:new Set,pendingLanguageLoads:new Map};return mi(t,e),{getHljs:()=>t.instance,loadLanguage:n=>gi(t,n,e),loadLanguages:n=>hi(t,n,e),getLoadedLanguages:()=>Array.from(t.loadedLanguages)}}function _i(e={}){return(Zr()?Qr(`highlightManager`,void 0):void 0)??Z(e)}const Q=new WeakMap;function vi(e,t){if(t.active=!1,Object.getOwnPropertyDescriptor(e,`hljs`)?.value!==t.instance){Q.get(e)===t&&Q.delete(e);return}let n=t.previousDescriptor,r=t.previousExposure;for(;r&&!r.active;)n=r.previousDescriptor,r=r.previousExposure;n?Reflect.defineProperty(e,`hljs`,n):Reflect.deleteProperty(e,`hljs`),r?Q.set(e,r):Q.delete(e)}function yi(e){if(typeof window>`u`)return;let t=window,n=Object.getOwnPropertyDescriptor(t,`hljs`),r=Q.get(t),i={instance:e,previousDescriptor:n,previousExposure:r?.instance===n?.value?r:void 0,active:!0};if(Reflect.defineProperty(t,`hljs`,{configurable:!0,enumerable:n?.enumerable??!1,writable:!0,value:e}))return Q.set(t,i),()=>vi(t,i)}const $=new WeakMap;function bi(e,t,n){let r=e.config.globalProperties,i=Object.getOwnPropertyDescriptor(r,`$highlight`),a=n&&i?.value===n.api?n.previousProperty:i;return Object.defineProperty(r,`$highlight`,{configurable:i?.configurable??!0,enumerable:i?.enumerable??!0,writable:!0,value:t}),a}function xi(e){let t=$.get(e);if(!t)return;$.delete(e),t.releaseWindow?.();let n=e.config.globalProperties;Object.getOwnPropertyDescriptor(n,`$highlight`)?.value===t.api&&(t.previousProperty?Reflect.defineProperty(n,`$highlight`,t.previousProperty):Reflect.deleteProperty(n,`$highlight`))}function Si(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t},r=Z(n),i=$.get(e),o=bi(e,r,i);i?.releaseWindow?.(),e.provide(`highlightManager`,r);let s=n.exposeToWindow?yi(r.getHljs()):void 0;return $.set(e,{api:r,previousProperty:o,releaseWindow:s}),i||e.onUnmount(()=>xi(e)),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)),r}const Ci={C_Code:se,C_Icon:oe,C_Loading:u,C_PageLoading:d,C_Upload:f,C_Barcode:p,C_Captcha:m,C_Cascade:h,C_Guide:g,C_Progress:_,C_Steps:v,C_ActionBar:y,C_Theme:b,C_Language:x,C_Date:S,C_Editor:C,C_Markdown:w,C_Map:T,C_City:E,C_VtableGantt:D,C_Signature:O,C_SplitPane:k,C_CollapsePanel:A,C_Time:j,C_FormSearch:M,C_Select:c,C_AutoComplete:l,C_Tree:N,C_QRCode:P,C_ImageCropper:F,C_Draggable:I,C_WaterFall:L,C_FullCalendar:R,C_NotificationCenter:z,C_Cron:B,C_FormulaEditor:V,C_AntV:H,C_VideoPlayer:U,C_FilePreview:W,C_WorkFlow:G,C_Form:q,C_FormModal:J,C_Table:Y,C_GlobalSearch:mr,C_Menu:_r,C_Breadcrumb:vr,C_TagsView:br,C_AudioPlayer:wr,C_AvatarGroup:kr,C_Chat:jr,C_ContextMenu:Nr,C_Login:Ir,C_Timeline:zr,C_Tabs:Br,C_Transfer:Ur,C_Skeleton:Wr,C_OrgChart:Gr,C_ErrorSummary:Kr,C_Density:qr,C_SectionNav:Jr,C_DataPicker:Yr,C_BatchResult:X};var wi={install:(e,t={})=>{Object.entries(Ci).forEach(([t,n])=>{e.component(t,n)}),t.highlight!==void 0&&Si(e,t.highlight),t.feedback&&e.provide(te,t.feedback),t.locale&&e.provide(ne,t.locale),t.form&&e.provide(re,t.form),e.provide(Pn,t.formRenderers??K()),t.table&&e.provide(dr,t.table)}};export{xe as ACTION_BAR_DEFAULT_CONFIG,Gt as ACTION_KEYS,Ce as ACTION_PRESETS,Or as AVATAR_STATUS_COLOR_MAP,_t as BUTTON_TEXT,vt as CATEGORY_MAP,Ot as CATEGORY_TABS,te as COMPONENT_FEEDBACK_KEY,ne as COMPONENT_LOCALE_KEY,Nt as CRON_FIELD_META,zt as CRON_TEMPLATES,y as C_ActionBar,H as C_AntV,wr as C_AudioPlayer,l as C_AutoComplete,kr as C_AvatarGroup,p as C_Barcode,X as C_BatchResult,vr as C_Breadcrumb,m as C_Captcha,h as C_Cascade,jr as C_Chat,E as C_City,se as C_Code,A as C_CollapsePanel,Nr as C_ContextMenu,B as C_Cron,Yr as C_DataPicker,S as C_Date,qr as C_Density,I as C_Draggable,C as C_Editor,Kr as C_ErrorSummary,W as C_FilePreview,q as C_Form,J as C_FormModal,M as C_FormSearch,V as C_FormulaEditor,R as C_FullCalendar,mr as C_GlobalSearch,g as C_Guide,oe as C_Icon,F as C_ImageCropper,x as C_Language,u as C_Loading,Ir as C_Login,T as C_Map,w as C_Markdown,_r as C_Menu,z as C_NotificationCenter,Gr as C_OrgChart,d as C_PageLoading,_ as C_Progress,P as C_QRCode,Jr as C_SectionNav,c as C_Select,O as C_Signature,Wr as C_Skeleton,k as C_SplitPane,v as C_Steps,Y as C_Table,Br as C_Tabs,br as C_TagsView,b as C_Theme,j as C_Time,zr as C_Timeline,Ur as C_Transfer,N as C_Tree,f as C_Upload,U as C_VideoPlayer,D as C_VtableGantt,L as C_WaterFall,G as C_WorkFlow,_e as CaptchaVerificationError,be as DEFAULT_ACTION_ICON,it as DEFAULT_ANIMATION_DURATION,Sr as DEFAULT_AUDIO_PLAYER_PROPS,Dr as DEFAULT_AVATAR_GROUP_PROPS,lt as DEFAULT_BREAKPOINTS,Ar as DEFAULT_CHAT_PROPS,Mr as DEFAULT_CONTEXT_MENU_PROPS,Vt as DEFAULT_CRON_EXPRESSION,Pt as DEFAULT_CRON_VALUE,mt as DEFAULT_EDIT_FORM,Pr as DEFAULT_FEATURES,Lt as DEFAULT_FIELD_VALUE,Ut as DEFAULT_FUNCTIONS,dt as DEFAULT_GAP,rn as DEFAULT_HEARTBEAT_INTERVAL,je as DEFAULT_MAP_CONFIG,jt as DEFAULT_MAX_BADGE_COUNT,yt as DEFAULT_PAGE_SIZE,un as DEFAULT_PLAYBACK_RATE,_n as DEFAULT_PLAYBACK_RATES,Tt as DEFAULT_POLLING_INTERVAL,at as DEFAULT_SKELETON_COUNT,Fr as DEFAULT_SOCIAL_PROVIDERS,Mt as DEFAULT_STORAGE_KEY,Lr as DEFAULT_TIMELINE_PROPS,Hr as DEFAULT_TRANSFER_PROPS,an as DEFAULT_VOLUME,bt as DEFAULT_WS_HEARTBEAT_INTERVAL,xt as DEFAULT_WS_HEARTBEAT_MESSAGE,kt as DEFAULT_WS_MAX_RECONNECT,Et as DEFAULT_WS_RECONNECT_INTERVAL,Hn as DYNAMIC_FORM_STATE_KEY,pt as EVENT_COLORS,Bn as FIELD_TYPE_OPTIONS,Ge as FORM_DEFAULTS,re as FORM_GLOBAL_CONFIG_KEY,Pn as FORM_RENDERER_REGISTRY_KEY,gt as HEADER_TOOLBAR,st as INFINITE_SCROLL_THRESHOLD,on as KEYBOARD_SHORTCUTS,He as LAYOUTS_WITH_OWN_CONTROLS,Te as MAP_TYPES,Ct as MOCK_MESSAGES,Cr as MODE_ICON_MAP,Ht as MONTH_LABELS,zn as NAIVE_COMBOS,qt as NUMBER_KEYS,Yt as OPERATORS,Wt as OPERATOR_KEYS,De as OSM_TILE_CONFIG,Ln as PRESET_RULES,St as PRIORITY_MAP,mn as PROGRESS_THROTTLE_INTERVAL,dn as QUALITY_LABEL_MAP,cn as SEEK_STEP,ft as SKELETON_HEIGHT_RANGE,sn as SOURCE_TYPE_MAP,Kt as SPACED_OPERATORS,Rn as SPEC_RULES,en as STORAGE_KEYS,vn as STORAGE_PREFIX,dr as TABLE_GLOBAL_CONFIG_KEY,Rr as TIMELINE_STATUS_COLOR_MAP,bn as VOLUME_STEP,nn as WATERMARK_DEFAULT_STYLE,Ft as WEEK_LABELS,yn as XGPLAYER_EVENTS,Ne as appendGanttGroup,lr as applyFormatter,n as collectValidationIssues,Fn as createAutoCompleteField,i as createBatchPatch,ve as createCaptchaProof,Xr as createDataPickerField,Un as createEditModeChecker,K as createFormRendererRegistry,Z as createHighlight,hr as createMenuOptions,t as createNumberCodec,ce as createPageLoading,jn as createSelectField,wi as default,ye as defineActions,Nn as defineFormConfig,kn as defineFormOptions,ar as defineTableColumns,or as defineTableConfig,Vr as defineTabs,tr as exportTableData,gr as flattenRoutes,he as formatFileSize,xr as formatTime,Me as ganttPresetConfigs,ue as getFileIcon,Er as getInitials,Ye as getItem,r as getRetryableKeys,Oe as getValidMapMarkers,Ae as isValidMapCoordinate,We as mergeFormConfig,ur as mergeGlobalConfig,Tr as nameToColor,Ee as normalizeMapZoom,Kn as printPresets,An as registerRenderer,qe as removeAllItem,Je as removeItem,Se as resolveActionPreset,e as resolveComponentDensity,ir as resolveConfig,Ve as resolveFormConfig,we as resolveTileConfig,Qe as serializeSearch,Ke as setItem,Si as setupHighlight,Be as shouldShowActions,ke as toAMapPosition,$e as treePresetConfigs,In as unregisterRenderer,hn as useBookmarks,En as useCForm,ht as useCalendarEvents,Yn as useCellEdit,ln as useChapters,le as useChunkUpload,Re as useCollapsePanel,ae as useComponentFeedback,ie as useComponentLocale,Rt as useCronDescription,It as useCronParser,Bt as useCronPreview,nt as useCropperCore,Xn as useCrossPageSelection,o as useDataResource,fe as useDragDrop,rt as useDraggableLayout,Vn as useDynamicFormState,rr as useDynamicRows,Qt as useEdgeInteraction,pe as useFileHash,Sn as useFilePreview,ee as useFormArray,Mn as useFormDirty,Ue as useFormGlobalConfig,Dn as useFormRenderer,On as useFormState,Xt as useFormulaEvaluator,Jt as useFormulaParser,xn as useFullscreen,pr as useGlobalSearch,Zt as useGraphBase,$t as useGraphExport,_i as useHighlight,ct as useInfiniteScroll,Qn as useModalEdit,At as useNotificationCore,Dt as useNotificationFormat,wt as useNotificationWS,Gn as usePagination,pn as usePlaybackControl,gn as usePlayerCore,qn as usePrintWatermark,tn as useProgressTracker,tt as useQRCode,ot as useResponsiveColumns,Wn as useRowDrag,Jn as useRowEdit,Xe as useSearchHistory,Ze as useSearchState,Pe as useSignatureCanvas,Fe as useSignatureExport,Ie as useSignatureHistory,Le as useSplitResize,fn as useSubtitle,nr as useTableActions,$n as useTableColumns,er as useTableExpand,cr as useTableGlobalConfig,Zn as useTableManager,fr as useTableQuery,yr as useTagsView,ze as useTimeSelection,et as useTreeOperations,me as useUploadCore,de as useUploadQueue,s as useValidationScope,ut as useWaterFallLayout,Cn as useWorkflowNodes,wn as useWorkflowPreview,Tn as useWorkflowValidation,sr as validateTableRowKeys,ge as verifyCaptchaProof};
|
package/dist/index.vue.d.cts
CHANGED
|
@@ -61,23 +61,23 @@ type __VLS_Props = {
|
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
63
|
error: (error: unknown) => any;
|
|
64
|
-
ended: (index: number) => any;
|
|
65
64
|
play: (index: number) => any;
|
|
66
65
|
pause: () => any;
|
|
66
|
+
ended: (index: number) => any;
|
|
67
67
|
modeChange: (mode: string) => any;
|
|
68
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
70
|
onPlay?: ((index: number) => any) | undefined;
|
|
72
71
|
onPause?: (() => any) | undefined;
|
|
72
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
73
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
mode: "single" | "loop" | "list" | "shuffle";
|
|
76
|
-
autoplay: boolean;
|
|
77
75
|
theme: "default" | "minimal";
|
|
76
|
+
mode: "single" | "list" | "loop" | "shuffle";
|
|
78
77
|
initialIndex: number;
|
|
79
78
|
showPlaylist: boolean;
|
|
80
79
|
showCover: boolean;
|
|
80
|
+
autoplay: boolean;
|
|
81
81
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
82
82
|
declare const _default: typeof __VLS_export;
|
|
83
83
|
//#endregion
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -61,23 +61,23 @@ type __VLS_Props = {
|
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
63
|
error: (error: unknown) => any;
|
|
64
|
-
ended: (index: number) => any;
|
|
65
64
|
play: (index: number) => any;
|
|
66
65
|
pause: () => any;
|
|
66
|
+
ended: (index: number) => any;
|
|
67
67
|
modeChange: (mode: string) => any;
|
|
68
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
70
|
onPlay?: ((index: number) => any) | undefined;
|
|
72
71
|
onPause?: (() => any) | undefined;
|
|
72
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
73
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
mode: "single" | "loop" | "list" | "shuffle";
|
|
76
|
-
autoplay: boolean;
|
|
77
75
|
theme: "default" | "minimal";
|
|
76
|
+
mode: "single" | "list" | "loop" | "shuffle";
|
|
78
77
|
initialIndex: number;
|
|
79
78
|
showPlaylist: boolean;
|
|
80
79
|
showCover: boolean;
|
|
80
|
+
autoplay: boolean;
|
|
81
81
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
82
82
|
declare const _default: typeof __VLS_export;
|
|
83
83
|
//#endregion
|
package/dist/index10.vue.d.cts
CHANGED
|
@@ -1,45 +1,37 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/C_City/index.vue.d.ts
|
|
4
4
|
interface Props {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
wordWrap?: boolean;
|
|
11
|
-
trim?: boolean;
|
|
12
|
-
showFullscreen?: boolean;
|
|
13
|
-
maxHeight?: string | number;
|
|
14
|
-
autoLoadLanguage?: boolean;
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
showLetters?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
15
10
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
click: (event: MouseEvent) => any;
|
|
28
|
-
copy: (code: string) => any;
|
|
11
|
+
declare var __VLS_11: {
|
|
12
|
+
value: string | undefined;
|
|
13
|
+
visible: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
trigger?: (props: typeof __VLS_11) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
20
|
+
"update:modelValue": (value: string) => any;
|
|
21
|
+
change: (value: string) => any;
|
|
29
22
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
onCopy?: ((code: string) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
|
+
onChange?: ((value: string) => any) | undefined;
|
|
33
25
|
}>, {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
showHeader: boolean;
|
|
37
|
-
code: string;
|
|
38
|
-
showLineNumbers: boolean;
|
|
39
|
-
wordWrap: boolean;
|
|
40
|
-
showFullscreen: boolean;
|
|
41
|
-
autoLoadLanguage: boolean;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
showLetters: boolean;
|
|
42
28
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
30
|
declare const _default: typeof __VLS_export;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
44
36
|
//#endregion
|
|
45
37
|
export { _default as t };
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -1,88 +1,45 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/C_Code/index.vue.d.ts
|
|
4
|
+
interface Props {
|
|
5
|
+
code: string;
|
|
6
|
+
language?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
showHeader?: boolean;
|
|
9
|
+
showLineNumbers?: boolean;
|
|
10
|
+
wordWrap?: boolean;
|
|
11
|
+
trim?: boolean;
|
|
12
|
+
showFullscreen?: boolean;
|
|
13
|
+
maxHeight?: string | number;
|
|
14
|
+
autoLoadLanguage?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** 复制发起时的内容;文本随后变化不会改变已写入剪贴板的事件快照。 */
|
|
17
|
+
declare function copyCode(): Promise<void>;
|
|
4
18
|
/**
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2026 by CHENY, All Rights Reserved 😎.
|
|
19
|
+
* 切换全屏显示状态
|
|
7
20
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/** 是否隐藏 */
|
|
21
|
-
hidden?: boolean;
|
|
22
|
-
/** 分割线(此项渲染为分割线,label 被忽略) */
|
|
23
|
-
divider?: boolean;
|
|
24
|
-
/** 子菜单(支持无限嵌套) */
|
|
25
|
-
children?: ContextMenuItem[];
|
|
26
|
-
/** 自定义样式类 */
|
|
27
|
-
className?: string;
|
|
28
|
-
/** 危险操作(红色高亮) */
|
|
29
|
-
danger?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/** 组件 Props */
|
|
32
|
-
interface ContextMenuProps {
|
|
33
|
-
/** 菜单项列表 */
|
|
34
|
-
items: ContextMenuItem[];
|
|
35
|
-
/** 菜单最小宽度 */
|
|
36
|
-
minWidth?: number;
|
|
37
|
-
/** 菜单最大宽度 */
|
|
38
|
-
maxWidth?: number;
|
|
39
|
-
/** 子菜单展开方向 */
|
|
40
|
-
subMenuPlacement?: 'right' | 'left';
|
|
41
|
-
/** 点击菜单项后是否自动关闭 */
|
|
42
|
-
autoClose?: boolean;
|
|
43
|
-
/** 是否禁用整个菜单 */
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
/** 自定义 z-index */
|
|
46
|
-
zIndex?: number;
|
|
47
|
-
}
|
|
48
|
-
/** 默认 Props */
|
|
49
|
-
declare const DEFAULT_CONTEXT_MENU_PROPS: {
|
|
50
|
-
minWidth: number;
|
|
51
|
-
maxWidth: number;
|
|
52
|
-
subMenuPlacement: "right";
|
|
53
|
-
autoClose: boolean;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
zIndex: number;
|
|
56
|
-
};
|
|
57
|
-
//#endregion
|
|
58
|
-
//#region src/components/C_ContextMenu/index.vue.d.ts
|
|
59
|
-
declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
60
|
-
/** 在指定坐标打开菜单 */open: (x: number, y: number) => void; /** 关闭菜单 */
|
|
61
|
-
close: () => void; /** 当前是否可见 */
|
|
62
|
-
visible: vue.ComputedRef<boolean>;
|
|
63
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
-
select: (item: ContextMenuItem) => any;
|
|
65
|
-
close: () => any;
|
|
66
|
-
open: (position: {
|
|
67
|
-
x: number;
|
|
68
|
-
y: number;
|
|
69
|
-
}) => any;
|
|
70
|
-
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
-
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
|
-
onClose?: (() => any) | undefined;
|
|
73
|
-
onOpen?: ((position: {
|
|
74
|
-
x: number;
|
|
75
|
-
y: number;
|
|
76
|
-
}) => any) | undefined;
|
|
21
|
+
declare function toggleFullscreen(): void;
|
|
22
|
+
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
23
|
+
copyCode: typeof copyCode;
|
|
24
|
+
toggleFullscreen: typeof toggleFullscreen;
|
|
25
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
+
click: (event: MouseEvent) => any;
|
|
27
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
28
|
+
copy: (code: string) => any;
|
|
29
|
+
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
77
33
|
}>, {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
34
|
+
trim: boolean;
|
|
35
|
+
showHeader: boolean;
|
|
36
|
+
language: string;
|
|
37
|
+
code: string;
|
|
38
|
+
showLineNumbers: boolean;
|
|
39
|
+
wordWrap: boolean;
|
|
40
|
+
showFullscreen: boolean;
|
|
41
|
+
autoLoadLanguage: boolean;
|
|
85
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
43
|
declare const _default: typeof __VLS_export;
|
|
87
44
|
//#endregion
|
|
88
|
-
export {
|
|
45
|
+
export { _default as t };
|
package/dist/index11.vue.d.cts
CHANGED
|
@@ -1,88 +1,45 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/C_Code/index.vue.d.ts
|
|
4
|
+
interface Props {
|
|
5
|
+
code: string;
|
|
6
|
+
language?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
showHeader?: boolean;
|
|
9
|
+
showLineNumbers?: boolean;
|
|
10
|
+
wordWrap?: boolean;
|
|
11
|
+
trim?: boolean;
|
|
12
|
+
showFullscreen?: boolean;
|
|
13
|
+
maxHeight?: string | number;
|
|
14
|
+
autoLoadLanguage?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** 复制发起时的内容;文本随后变化不会改变已写入剪贴板的事件快照。 */
|
|
17
|
+
declare function copyCode(): Promise<void>;
|
|
4
18
|
/**
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2026 by CHENY, All Rights Reserved 😎.
|
|
19
|
+
* 切换全屏显示状态
|
|
7
20
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/** 是否隐藏 */
|
|
21
|
-
hidden?: boolean;
|
|
22
|
-
/** 分割线(此项渲染为分割线,label 被忽略) */
|
|
23
|
-
divider?: boolean;
|
|
24
|
-
/** 子菜单(支持无限嵌套) */
|
|
25
|
-
children?: ContextMenuItem[];
|
|
26
|
-
/** 自定义样式类 */
|
|
27
|
-
className?: string;
|
|
28
|
-
/** 危险操作(红色高亮) */
|
|
29
|
-
danger?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/** 组件 Props */
|
|
32
|
-
interface ContextMenuProps {
|
|
33
|
-
/** 菜单项列表 */
|
|
34
|
-
items: ContextMenuItem[];
|
|
35
|
-
/** 菜单最小宽度 */
|
|
36
|
-
minWidth?: number;
|
|
37
|
-
/** 菜单最大宽度 */
|
|
38
|
-
maxWidth?: number;
|
|
39
|
-
/** 子菜单展开方向 */
|
|
40
|
-
subMenuPlacement?: 'right' | 'left';
|
|
41
|
-
/** 点击菜单项后是否自动关闭 */
|
|
42
|
-
autoClose?: boolean;
|
|
43
|
-
/** 是否禁用整个菜单 */
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
/** 自定义 z-index */
|
|
46
|
-
zIndex?: number;
|
|
47
|
-
}
|
|
48
|
-
/** 默认 Props */
|
|
49
|
-
declare const DEFAULT_CONTEXT_MENU_PROPS: {
|
|
50
|
-
minWidth: number;
|
|
51
|
-
maxWidth: number;
|
|
52
|
-
subMenuPlacement: "right";
|
|
53
|
-
autoClose: boolean;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
zIndex: number;
|
|
56
|
-
};
|
|
57
|
-
//#endregion
|
|
58
|
-
//#region src/components/C_ContextMenu/index.vue.d.ts
|
|
59
|
-
declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
60
|
-
/** 在指定坐标打开菜单 */open: (x: number, y: number) => void; /** 关闭菜单 */
|
|
61
|
-
close: () => void; /** 当前是否可见 */
|
|
62
|
-
visible: vue.ComputedRef<boolean>;
|
|
63
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
-
select: (item: ContextMenuItem) => any;
|
|
65
|
-
close: () => any;
|
|
66
|
-
open: (position: {
|
|
67
|
-
x: number;
|
|
68
|
-
y: number;
|
|
69
|
-
}) => any;
|
|
70
|
-
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
-
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
|
-
onClose?: (() => any) | undefined;
|
|
73
|
-
onOpen?: ((position: {
|
|
74
|
-
x: number;
|
|
75
|
-
y: number;
|
|
76
|
-
}) => any) | undefined;
|
|
21
|
+
declare function toggleFullscreen(): void;
|
|
22
|
+
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
23
|
+
copyCode: typeof copyCode;
|
|
24
|
+
toggleFullscreen: typeof toggleFullscreen;
|
|
25
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
+
click: (event: MouseEvent) => any;
|
|
27
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
28
|
+
copy: (code: string) => any;
|
|
29
|
+
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
77
33
|
}>, {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
34
|
+
trim: boolean;
|
|
35
|
+
showHeader: boolean;
|
|
36
|
+
language: string;
|
|
37
|
+
code: string;
|
|
38
|
+
showLineNumbers: boolean;
|
|
39
|
+
wordWrap: boolean;
|
|
40
|
+
showFullscreen: boolean;
|
|
41
|
+
autoLoadLanguage: boolean;
|
|
85
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
43
|
declare const _default: typeof __VLS_export;
|
|
87
44
|
//#endregion
|
|
88
|
-
export {
|
|
45
|
+
export { _default as t };
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -1,21 +1,88 @@
|
|
|
1
|
-
import { t as ComponentDensity } from "./density.js";
|
|
2
1
|
import * as vue from "vue";
|
|
3
2
|
|
|
4
|
-
//#region src/components/
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
//#region src/components/C_ContextMenu/types.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @Description: 右键菜单组件类型定义
|
|
6
|
+
* Copyright (c) 2026 by CHENY, All Rights Reserved 😎.
|
|
7
|
+
*/
|
|
8
|
+
/** 菜单项 */
|
|
9
|
+
interface ContextMenuItem {
|
|
10
|
+
/** 唯一标识 */
|
|
11
|
+
key: string;
|
|
12
|
+
/** 菜单文字 */
|
|
13
|
+
label: string;
|
|
14
|
+
/** 图标(Iconify 图标名) */
|
|
15
|
+
icon?: string;
|
|
16
|
+
/** 快捷键标注文字(仅展示,不绑定) */
|
|
17
|
+
shortcut?: string;
|
|
18
|
+
/** 是否禁用 */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** 是否隐藏 */
|
|
21
|
+
hidden?: boolean;
|
|
22
|
+
/** 分割线(此项渲染为分割线,label 被忽略) */
|
|
23
|
+
divider?: boolean;
|
|
24
|
+
/** 子菜单(支持无限嵌套) */
|
|
25
|
+
children?: ContextMenuItem[];
|
|
26
|
+
/** 自定义样式类 */
|
|
27
|
+
className?: string;
|
|
28
|
+
/** 危险操作(红色高亮) */
|
|
29
|
+
danger?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/** 组件 Props */
|
|
32
|
+
interface ContextMenuProps {
|
|
33
|
+
/** 菜单项列表 */
|
|
34
|
+
items: ContextMenuItem[];
|
|
35
|
+
/** 菜单最小宽度 */
|
|
36
|
+
minWidth?: number;
|
|
37
|
+
/** 菜单最大宽度 */
|
|
38
|
+
maxWidth?: number;
|
|
39
|
+
/** 子菜单展开方向 */
|
|
40
|
+
subMenuPlacement?: 'right' | 'left';
|
|
41
|
+
/** 点击菜单项后是否自动关闭 */
|
|
42
|
+
autoClose?: boolean;
|
|
43
|
+
/** 是否禁用整个菜单 */
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/** 自定义 z-index */
|
|
46
|
+
zIndex?: number;
|
|
47
|
+
}
|
|
48
|
+
/** 默认 Props */
|
|
49
|
+
declare const DEFAULT_CONTEXT_MENU_PROPS: {
|
|
50
|
+
minWidth: number;
|
|
51
|
+
maxWidth: number;
|
|
52
|
+
subMenuPlacement: "right";
|
|
53
|
+
autoClose: boolean;
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
zIndex: number;
|
|
7
56
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/components/C_ContextMenu/index.vue.d.ts
|
|
59
|
+
declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
60
|
+
/** 在指定坐标打开菜单 */open: (x: number, y: number) => void; /** 关闭菜单 */
|
|
61
|
+
close: () => void; /** 当前是否可见 */
|
|
62
|
+
visible: vue.ComputedRef<boolean>;
|
|
63
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
+
select: (item: ContextMenuItem) => any;
|
|
65
|
+
open: (position: {
|
|
66
|
+
x: number;
|
|
67
|
+
y: number;
|
|
68
|
+
}) => any;
|
|
69
|
+
close: () => any;
|
|
70
|
+
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
+
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
|
+
onOpen?: ((position: {
|
|
73
|
+
x: number;
|
|
74
|
+
y: number;
|
|
75
|
+
}) => any) | undefined;
|
|
76
|
+
onClose?: (() => any) | undefined;
|
|
77
|
+
}>, {
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
minWidth: number;
|
|
80
|
+
maxWidth: number;
|
|
81
|
+
items: ContextMenuItem[];
|
|
82
|
+
subMenuPlacement: "right" | "left";
|
|
83
|
+
autoClose: boolean;
|
|
84
|
+
zIndex: number;
|
|
85
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
14
86
|
declare const _default: typeof __VLS_export;
|
|
15
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
87
|
//#endregion
|
|
21
|
-
export { _default as t };
|
|
88
|
+
export { DEFAULT_CONTEXT_MENU_PROPS as i, ContextMenuItem as n, ContextMenuProps as r, _default as t };
|