@robot-admin/naive-ui-components 0.38.0 → 0.39.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 +9 -0
- package/README.md +7 -2
- package/README_EN.md +7 -2
- package/dist/C_Table.base.css +121 -114
- package/dist/C_Table.css +121 -114
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +4 -4
- package/dist/component-config.d.ts +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 +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/context.d.cts +1 -1
- package/dist/data2.d.cts +9 -9
- package/dist/data2.d.ts +9 -9
- package/dist/editors.d.cts +4 -4
- package/dist/editors.d.ts +4 -4
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index11.vue.d.ts +3 -3
- package/dist/index12.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index16.vue.d.ts +3 -3
- package/dist/index17.vue.d.cts +3 -3
- package/dist/index17.vue.d.ts +6 -6
- package/dist/index18.vue.d.cts +6 -6
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +5 -5
- package/dist/index22.vue.d.cts +5 -5
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index28.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index30.vue.d.cts +1 -1
- package/dist/index30.vue.d.ts +1 -1
- package/dist/index31.vue.d.cts +4 -4
- package/dist/index31.vue.d.ts +4 -4
- 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/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/shared-tokens.css +1 -1
- package/dist/style.css +122 -115
- package/dist/theme.cjs +1 -1
- package/dist/theme.d.cts +5 -0
- package/dist/theme.d.ts +5 -0
- package/dist/theme.js +1 -1
- package/dist/theme2.cjs +1 -1
- package/dist/theme2.js +1 -1
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useComponentTheme.cjs +1 -1
- package/dist/useComponentTheme.js +1 -1
- package/dist/useCropperCore.d.cts +6 -6
- package/dist/useCropperCore.d.ts +6 -6
- 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/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useWorkflowValidation.d.cts +86 -86
- package/dist/useWorkflowValidation.d.ts +86 -86
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/docs/guides/table-density.md +12 -0
- package/docs/guides/theme.md +14 -10
- package/package.json +1 -1
package/dist/theme2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./theme.cjs`);let t=require(`naive-ui`);function n(e){let t=e??6;if(!Number.isFinite(t)||t<0)throw TypeError(`Component theme radius must be a finite non-negative number`);return t}function r(r={}){let i=r.mode??`light`;if(i!==`light`&&i!==`dark`)throw TypeError(`Component theme mode must be light or dark`);let a=e.a(r,i),o=n(r.radius),{primary:s,success:c,warning:l,error:u,info:d}=a,f=`1px solid ${a.border}`,p={baseColor:i===`dark`?`#000000`:`#ffffff`,textColorBase:i===`dark`?`#ffffff`:`#000000`,primaryColor:s,primaryColorHover:e.i(s,255,.14),primaryColorPressed:e.i(s,0,.14),primaryColorSuppl:s,successColor:c,successColorHover:e.i(c,255,.14),successColorPressed:e.i(c,0,.14),successColorSuppl:c,warningColor:l,warningColorHover:e.i(l,255,.14),warningColorPressed:e.i(l,0,.14),warningColorSuppl:l,errorColor:u,errorColorHover:e.i(u,255,.14),errorColorPressed:e.i(u,0,.14),errorColorSuppl:u,infoColor:d,infoColorHover:e.i(d,255,.14),infoColorPressed:e.i(d,0,.14),infoColorSuppl:d,bodyColor:a.bgBody,cardColor:a.bgCard,tableColor:a.bgCard,modalColor:a.bgSurface,popoverColor:a.bgSurface,inputColor:a.bgCard,inputColorDisabled:a.bgMuted,tableHeaderColor:a.bgMuted,tableColorHover:a.bgHover,tableColorStriped:a.bgMuted,tabColor:a.bgMuted,codeColor:a.bgMuted,tagColor:a.bgMuted,buttonColor2:a.bgMuted,buttonColor2Hover:a.bgHover,buttonColor2Pressed:a.bgActive,actionColor:a.bgMuted,hoverColor:a.bgHover,pressedColor:a.bgActive,robotComponentSkeletonColor:a.skeletonBg,borderColor:a.border,dividerColor:a.border,textColor1:a.text1,textColor2:a.text2,textColor3:a.text3,textColorDisabled:a.text4,placeholderColor:a.text3,placeholderColorDisabled:a.text4,iconColor:a.text3,iconColorHover:a.text2,iconColorPressed:a.text1,iconColorDisabled:a.text4,clearColor:a.text3,clearColorHover:a.text2,clearColorPressed:a.text1,closeIconColor:a.text3,closeIconColorHover:a.text2,closeIconColorPressed:a.text1,closeColorHover:a.bgHover,closeColorPressed:a.bgActive,progressRailColor:a.bgMuted,railColor:a.border,scrollbarColor:a.text4,scrollbarColorHover:a.text3,borderRadius:`${o}px`,borderRadiusSmall:`${Math.max(0,o-2)}px`,heightTiny:`${e.n.tiny}px`,heightSmall:`${e.n.small}px`,heightMedium:`${e.n.medium}px`,heightLarge:`${e.n.large}px`};return{theme:i===`dark`?t.darkTheme:null,themeOverrides:{common:p,Skeleton:{color:a.skeletonBg,colorEnd:a.bgHover},Tabs:{colorSegment:a.bgMuted,tabColorSegment:a.bgCard},Input:{border:f,borderDisabled:f},InternalSelection:{border:f},Button:{textColorPrimary:
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./theme.cjs`);let t=require(`naive-ui`);function n(e){let t=e??6;if(!Number.isFinite(t)||t<0)throw TypeError(`Component theme radius must be a finite non-negative number`);return t}function r(r={}){let i=r.mode??`light`;if(i!==`light`&&i!==`dark`)throw TypeError(`Component theme mode must be light or dark`);let a=e.a(r,i),o=n(r.radius),{primary:s,success:c,warning:l,error:u,info:d}=a,f=`1px solid ${a.border}`,p={baseColor:i===`dark`?`#000000`:`#ffffff`,textColorBase:i===`dark`?`#ffffff`:`#000000`,primaryColor:s,primaryColorHover:e.i(s,255,.14),primaryColorPressed:e.i(s,0,.14),primaryColorSuppl:s,successColor:c,successColorHover:e.i(c,255,.14),successColorPressed:e.i(c,0,.14),successColorSuppl:c,warningColor:l,warningColorHover:e.i(l,255,.14),warningColorPressed:e.i(l,0,.14),warningColorSuppl:l,errorColor:u,errorColorHover:e.i(u,255,.14),errorColorPressed:e.i(u,0,.14),errorColorSuppl:u,infoColor:d,infoColorHover:e.i(d,255,.14),infoColorPressed:e.i(d,0,.14),infoColorSuppl:d,bodyColor:a.bgBody,cardColor:a.bgCard,tableColor:a.bgCard,modalColor:a.bgSurface,popoverColor:a.bgSurface,inputColor:a.bgCard,inputColorDisabled:a.bgMuted,tableHeaderColor:a.bgMuted,tableColorHover:a.bgHover,tableColorStriped:a.bgMuted,tabColor:a.bgMuted,codeColor:a.bgMuted,tagColor:a.bgMuted,buttonColor2:a.bgMuted,buttonColor2Hover:a.bgHover,buttonColor2Pressed:a.bgActive,actionColor:a.bgMuted,hoverColor:a.bgHover,pressedColor:a.bgActive,robotComponentSkeletonColor:a.skeletonBg,robotComponentOnSolidColor:a.onSolid,borderColor:a.border,dividerColor:a.border,textColor1:a.text1,textColor2:a.text2,textColor3:a.text3,textColorDisabled:a.text4,placeholderColor:a.text3,placeholderColorDisabled:a.text4,iconColor:a.text3,iconColorHover:a.text2,iconColorPressed:a.text1,iconColorDisabled:a.text4,clearColor:a.text3,clearColorHover:a.text2,clearColorPressed:a.text1,closeIconColor:a.text3,closeIconColorHover:a.text2,closeIconColorPressed:a.text1,closeColorHover:a.bgHover,closeColorPressed:a.bgActive,progressRailColor:a.bgMuted,railColor:a.border,scrollbarColor:a.text4,scrollbarColorHover:a.text3,borderRadius:`${o}px`,borderRadiusSmall:`${Math.max(0,o-2)}px`,heightTiny:`${e.n.tiny}px`,heightSmall:`${e.n.small}px`,heightMedium:`${e.n.medium}px`,heightLarge:`${e.n.large}px`};return{theme:i===`dark`?t.darkTheme:null,themeOverrides:{common:p,Skeleton:{color:a.skeletonBg,colorEnd:a.bgHover},Tabs:{colorSegment:a.bgMuted,tabColorSegment:a.bgCard},Input:{border:f,borderDisabled:f},InternalSelection:{border:f},Checkbox:{checkMarkColor:a.onSolid,checkMarkColorDisabledChecked:a.onSolid},Radio:{colorActive:s,dotColorActive:a.onSolid,buttonColorActive:s,buttonTextColorActive:a.onSolid},Switch:{textColor:a.onSolid},Button:{textColorPrimary:a.onSolid,textColorDisabledPrimary:a.onSolid,textColorHoverPrimary:a.onSolid,textColorPressedPrimary:a.onSolid,textColorFocusPrimary:a.onSolid,textColorSuccess:a.onSolid,textColorDisabledSuccess:a.onSolid,textColorHoverSuccess:a.onSolid,textColorPressedSuccess:a.onSolid,textColorFocusSuccess:a.onSolid,textColorWarning:a.onSolid,textColorDisabledWarning:a.onSolid,textColorHoverWarning:a.onSolid,textColorPressedWarning:a.onSolid,textColorFocusWarning:a.onSolid,textColorError:a.onSolid,textColorDisabledError:a.onSolid,textColorHoverError:a.onSolid,textColorPressedError:a.onSolid,textColorFocusError:a.onSolid,textColorInfo:a.onSolid,textColorDisabledInfo:a.onSolid,textColorHoverInfo:a.onSolid,textColorPressedInfo:a.onSolid,textColorFocusInfo:a.onSolid}}}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
package/dist/theme2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,i as t,n
|
|
1
|
+
import{a as e,i as t,n}from"./theme.js";import{darkTheme as r}from"naive-ui";function i(e){let t=e??6;if(!Number.isFinite(t)||t<0)throw TypeError(`Component theme radius must be a finite non-negative number`);return t}function a(a={}){let o=a.mode??`light`;if(o!==`light`&&o!==`dark`)throw TypeError(`Component theme mode must be light or dark`);let s=e(a,o),c=i(a.radius),{primary:l,success:u,warning:d,error:f,info:p}=s,m=`1px solid ${s.border}`,h={baseColor:o===`dark`?`#000000`:`#ffffff`,textColorBase:o===`dark`?`#ffffff`:`#000000`,primaryColor:l,primaryColorHover:t(l,255,.14),primaryColorPressed:t(l,0,.14),primaryColorSuppl:l,successColor:u,successColorHover:t(u,255,.14),successColorPressed:t(u,0,.14),successColorSuppl:u,warningColor:d,warningColorHover:t(d,255,.14),warningColorPressed:t(d,0,.14),warningColorSuppl:d,errorColor:f,errorColorHover:t(f,255,.14),errorColorPressed:t(f,0,.14),errorColorSuppl:f,infoColor:p,infoColorHover:t(p,255,.14),infoColorPressed:t(p,0,.14),infoColorSuppl:p,bodyColor:s.bgBody,cardColor:s.bgCard,tableColor:s.bgCard,modalColor:s.bgSurface,popoverColor:s.bgSurface,inputColor:s.bgCard,inputColorDisabled:s.bgMuted,tableHeaderColor:s.bgMuted,tableColorHover:s.bgHover,tableColorStriped:s.bgMuted,tabColor:s.bgMuted,codeColor:s.bgMuted,tagColor:s.bgMuted,buttonColor2:s.bgMuted,buttonColor2Hover:s.bgHover,buttonColor2Pressed:s.bgActive,actionColor:s.bgMuted,hoverColor:s.bgHover,pressedColor:s.bgActive,robotComponentSkeletonColor:s.skeletonBg,robotComponentOnSolidColor:s.onSolid,borderColor:s.border,dividerColor:s.border,textColor1:s.text1,textColor2:s.text2,textColor3:s.text3,textColorDisabled:s.text4,placeholderColor:s.text3,placeholderColorDisabled:s.text4,iconColor:s.text3,iconColorHover:s.text2,iconColorPressed:s.text1,iconColorDisabled:s.text4,clearColor:s.text3,clearColorHover:s.text2,clearColorPressed:s.text1,closeIconColor:s.text3,closeIconColorHover:s.text2,closeIconColorPressed:s.text1,closeColorHover:s.bgHover,closeColorPressed:s.bgActive,progressRailColor:s.bgMuted,railColor:s.border,scrollbarColor:s.text4,scrollbarColorHover:s.text3,borderRadius:`${c}px`,borderRadiusSmall:`${Math.max(0,c-2)}px`,heightTiny:`${n.tiny}px`,heightSmall:`${n.small}px`,heightMedium:`${n.medium}px`,heightLarge:`${n.large}px`};return{theme:o===`dark`?r:null,themeOverrides:{common:h,Skeleton:{color:s.skeletonBg,colorEnd:s.bgHover},Tabs:{colorSegment:s.bgMuted,tabColorSegment:s.bgCard},Input:{border:m,borderDisabled:m},InternalSelection:{border:m},Checkbox:{checkMarkColor:s.onSolid,checkMarkColorDisabledChecked:s.onSolid},Radio:{colorActive:l,dotColorActive:s.onSolid,buttonColorActive:l,buttonTextColorActive:s.onSolid},Switch:{textColor:s.onSolid},Button:{textColorPrimary:s.onSolid,textColorDisabledPrimary:s.onSolid,textColorHoverPrimary:s.onSolid,textColorPressedPrimary:s.onSolid,textColorFocusPrimary:s.onSolid,textColorSuccess:s.onSolid,textColorDisabledSuccess:s.onSolid,textColorHoverSuccess:s.onSolid,textColorPressedSuccess:s.onSolid,textColorFocusSuccess:s.onSolid,textColorWarning:s.onSolid,textColorDisabledWarning:s.onSolid,textColorHoverWarning:s.onSolid,textColorPressedWarning:s.onSolid,textColorFocusWarning:s.onSolid,textColorError:s.onSolid,textColorDisabledError:s.onSolid,textColorHoverError:s.onSolid,textColorPressedError:s.onSolid,textColorFocusError:s.onSolid,textColorInfo:s.onSolid,textColorDisabledInfo:s.onSolid,textColorHoverInfo:s.onSolid,textColorPressedInfo:s.onSolid,textColorFocusInfo:s.onSolid}}}}export{a as t};
|
|
@@ -83,12 +83,12 @@ declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}
|
|
|
83
83
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
bordered: boolean;
|
|
86
|
-
accordion: boolean;
|
|
87
|
-
persistKey: string;
|
|
88
86
|
activeKeys: string[];
|
|
89
87
|
defaultActiveKeys: string[];
|
|
88
|
+
accordion: boolean;
|
|
90
89
|
variant: CollapsePanelVariant;
|
|
91
90
|
expandIconPosition: ExpandIconPosition;
|
|
91
|
+
persistKey: string;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
|
@@ -83,12 +83,12 @@ declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}
|
|
|
83
83
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
bordered: boolean;
|
|
86
|
-
accordion: boolean;
|
|
87
|
-
persistKey: string;
|
|
88
86
|
activeKeys: string[];
|
|
89
87
|
defaultActiveKeys: string[];
|
|
88
|
+
accordion: boolean;
|
|
90
89
|
variant: CollapsePanelVariant;
|
|
91
90
|
expandIconPosition: ExpandIconPosition;
|
|
91
|
+
persistKey: string;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./theme.cjs`);let t=require(`vue`),n=require(`naive-ui`);const r={"bg-body":[`bgBody`,`bodyColor`],"bg-card":[`bgCard`,`cardColor`],"bg-surface":[`bgSurface`,`popoverColor`],"bg-muted":[`bgMuted`,`actionColor`],"bg-hover":[`bgHover`,`hoverColor`],"bg-active":[`bgActive`,`pressedColor`],"text-1":[`text1`,`textColor1`],"text-2":[`text2`,`textColor2`],"text-3":[`text3`,`textColor3`],"text-4":[`text4`,`textColorDisabled`],border:[`border`,`borderColor`]};function i(e,t){return{...Object.fromEntries(Object.entries(r).map(([n,[r,i]])=>[`--c-theme-${n}`,t?t[r]:e[i]])),"--c-theme-skeleton-bg":t?.skeletonBg??e.robotComponentSkeletonColor??e.actionColor}}function a(r){let a=(0,n.useThemeVars)(),o=(0,t.useAttrs)();return(0,t.computed)(()=>{let{value:n}=a,s=e.r(n.baseColor),c=r?.()??s,l=c===s?void 0:e.t[c],{borderRadius:u}=n,d={"--c-theme-primary":n.primaryColor,"--c-theme-primary-hover":n.primaryColorHover,"--c-theme-primary-pressed":n.primaryColorPressed,"--c-theme-success":n.successColor,"--c-theme-warning":n.warningColor,"--c-theme-error":n.errorColor,"--c-theme-info":n.infoColor,...i(n,l),"--c-theme-radius":u,"--c-theme-radius-sm":n.borderRadiusSmall,"--c-theme-radius-panel":`max(8px, calc(${u} + 4px))`,"--c-theme-radius-lg":`max(12px, calc(${u} + 8px))`,"--c-theme-focus-ring":`color-mix(in srgb, ${n.primaryColor} 30%, transparent)`,"--c-theme-shadow-sm":n.boxShadow1,"--c-theme-shadow-md":n.boxShadow2,"--c-theme-shadow-lg":n.boxShadow3,"--c-theme-control-height-tiny":n.heightTiny,"--c-theme-control-height-small":n.heightSmall,"--c-theme-control-height-medium":n.heightMedium,"--c-theme-control-height-large":n.heightLarge},f=(0,t.normalizeStyle)([o.style]);if(f&&typeof f==`object`)for(let[e,t]of Object.entries(f))e.startsWith(`--c-`)&&(d[e]=t);return d})}function o(r){let i=(0,n.useThemeVars)();return(0,t.computed)(()=>r?.()??e.r(i.value.baseColor))}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./theme.cjs`);let t=require(`vue`),n=require(`naive-ui`);const r={"bg-body":[`bgBody`,`bodyColor`],"bg-card":[`bgCard`,`cardColor`],"bg-surface":[`bgSurface`,`popoverColor`],"bg-muted":[`bgMuted`,`actionColor`],"bg-hover":[`bgHover`,`hoverColor`],"bg-active":[`bgActive`,`pressedColor`],"text-1":[`text1`,`textColor1`],"text-2":[`text2`,`textColor2`],"text-3":[`text3`,`textColor3`],"text-4":[`text4`,`textColorDisabled`],border:[`border`,`borderColor`]};function i(e,t){return{...Object.fromEntries(Object.entries(r).map(([n,[r,i]])=>[`--c-theme-${n}`,t?t[r]:e[i]])),"--c-theme-skeleton-bg":t?.skeletonBg??e.robotComponentSkeletonColor??e.actionColor,"--c-theme-on-solid":t?.onSolid??e.robotComponentOnSolidColor??`#ffffff`}}function a(r){let a=(0,n.useThemeVars)(),o=(0,t.useAttrs)();return(0,t.computed)(()=>{let{value:n}=a,s=e.r(n.baseColor),c=r?.()??s,l=c===s?void 0:e.t[c],{borderRadius:u}=n,d={"--c-theme-primary":n.primaryColor,"--c-theme-primary-hover":n.primaryColorHover,"--c-theme-primary-pressed":n.primaryColorPressed,"--c-theme-success":n.successColor,"--c-theme-warning":n.warningColor,"--c-theme-error":n.errorColor,"--c-theme-info":n.infoColor,...i(n,l),"--c-theme-radius":u,"--c-theme-radius-sm":n.borderRadiusSmall,"--c-theme-radius-panel":`max(8px, calc(${u} + 4px))`,"--c-theme-radius-lg":`max(12px, calc(${u} + 8px))`,"--c-theme-focus-ring":`color-mix(in srgb, ${n.primaryColor} 30%, transparent)`,"--c-theme-shadow-sm":n.boxShadow1,"--c-theme-shadow-md":n.boxShadow2,"--c-theme-shadow-lg":n.boxShadow3,"--c-theme-control-height-tiny":n.heightTiny,"--c-theme-control-height-small":n.heightSmall,"--c-theme-control-height-medium":n.heightMedium,"--c-theme-control-height-large":n.heightLarge},f=(0,t.normalizeStyle)([o.style]);if(f&&typeof f==`object`)for(let[e,t]of Object.entries(f))e.startsWith(`--c-`)&&(d[e]=t);return d})}function o(r){let i=(0,n.useThemeVars)();return(0,t.computed)(()=>r?.()??e.r(i.value.baseColor))}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,t}from"./theme.js";import{computed as n,normalizeStyle as r,useAttrs as i}from"vue";import{useThemeVars as a}from"naive-ui";const o={"bg-body":[`bgBody`,`bodyColor`],"bg-card":[`bgCard`,`cardColor`],"bg-surface":[`bgSurface`,`popoverColor`],"bg-muted":[`bgMuted`,`actionColor`],"bg-hover":[`bgHover`,`hoverColor`],"bg-active":[`bgActive`,`pressedColor`],"text-1":[`text1`,`textColor1`],"text-2":[`text2`,`textColor2`],"text-3":[`text3`,`textColor3`],"text-4":[`text4`,`textColorDisabled`],border:[`border`,`borderColor`]};function s(e,t){return{...Object.fromEntries(Object.entries(o).map(([n,[r,i]])=>[`--c-theme-${n}`,t?t[r]:e[i]])),"--c-theme-skeleton-bg":t?.skeletonBg??e.robotComponentSkeletonColor??e.actionColor}}function c(o){let c=a(),l=i();return n(()=>{let{value:n}=c,i=e(n.baseColor),a=o?.()??i,u=a===i?void 0:t[a],{borderRadius:d}=n,f={"--c-theme-primary":n.primaryColor,"--c-theme-primary-hover":n.primaryColorHover,"--c-theme-primary-pressed":n.primaryColorPressed,"--c-theme-success":n.successColor,"--c-theme-warning":n.warningColor,"--c-theme-error":n.errorColor,"--c-theme-info":n.infoColor,...s(n,u),"--c-theme-radius":d,"--c-theme-radius-sm":n.borderRadiusSmall,"--c-theme-radius-panel":`max(8px, calc(${d} + 4px))`,"--c-theme-radius-lg":`max(12px, calc(${d} + 8px))`,"--c-theme-focus-ring":`color-mix(in srgb, ${n.primaryColor} 30%, transparent)`,"--c-theme-shadow-sm":n.boxShadow1,"--c-theme-shadow-md":n.boxShadow2,"--c-theme-shadow-lg":n.boxShadow3,"--c-theme-control-height-tiny":n.heightTiny,"--c-theme-control-height-small":n.heightSmall,"--c-theme-control-height-medium":n.heightMedium,"--c-theme-control-height-large":n.heightLarge},p=r([l.style]);if(p&&typeof p==`object`)for(let[e,t]of Object.entries(p))e.startsWith(`--c-`)&&(f[e]=t);return f})}function l(t){let r=a();return n(()=>t?.()??e(r.value.baseColor))}export{c as n,l as t};
|
|
1
|
+
import{r as e,t}from"./theme.js";import{computed as n,normalizeStyle as r,useAttrs as i}from"vue";import{useThemeVars as a}from"naive-ui";const o={"bg-body":[`bgBody`,`bodyColor`],"bg-card":[`bgCard`,`cardColor`],"bg-surface":[`bgSurface`,`popoverColor`],"bg-muted":[`bgMuted`,`actionColor`],"bg-hover":[`bgHover`,`hoverColor`],"bg-active":[`bgActive`,`pressedColor`],"text-1":[`text1`,`textColor1`],"text-2":[`text2`,`textColor2`],"text-3":[`text3`,`textColor3`],"text-4":[`text4`,`textColorDisabled`],border:[`border`,`borderColor`]};function s(e,t){return{...Object.fromEntries(Object.entries(o).map(([n,[r,i]])=>[`--c-theme-${n}`,t?t[r]:e[i]])),"--c-theme-skeleton-bg":t?.skeletonBg??e.robotComponentSkeletonColor??e.actionColor,"--c-theme-on-solid":t?.onSolid??e.robotComponentOnSolidColor??`#ffffff`}}function c(o){let c=a(),l=i();return n(()=>{let{value:n}=c,i=e(n.baseColor),a=o?.()??i,u=a===i?void 0:t[a],{borderRadius:d}=n,f={"--c-theme-primary":n.primaryColor,"--c-theme-primary-hover":n.primaryColorHover,"--c-theme-primary-pressed":n.primaryColorPressed,"--c-theme-success":n.successColor,"--c-theme-warning":n.warningColor,"--c-theme-error":n.errorColor,"--c-theme-info":n.infoColor,...s(n,u),"--c-theme-radius":d,"--c-theme-radius-sm":n.borderRadiusSmall,"--c-theme-radius-panel":`max(8px, calc(${d} + 4px))`,"--c-theme-radius-lg":`max(12px, calc(${d} + 8px))`,"--c-theme-focus-ring":`color-mix(in srgb, ${n.primaryColor} 30%, transparent)`,"--c-theme-shadow-sm":n.boxShadow1,"--c-theme-shadow-md":n.boxShadow2,"--c-theme-shadow-lg":n.boxShadow3,"--c-theme-control-height-tiny":n.heightTiny,"--c-theme-control-height-small":n.heightSmall,"--c-theme-control-height-medium":n.heightMedium,"--c-theme-control-height-large":n.heightLarge},p=r([l.style]);if(p&&typeof p==`object`)for(let[e,t]of Object.entries(p))e.startsWith(`--c-`)&&(f[e]=t);return f})}function l(t){let r=a();return n(()=>t?.()??e(r.value.baseColor))}export{c as n,l as t};
|
|
@@ -51,26 +51,26 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Error) => any;
|
|
55
|
+
ready: () => any;
|
|
56
56
|
cancel: () => any;
|
|
57
57
|
confirm: (result: CropResult) => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
62
62
|
onCancel?: (() => any) | undefined;
|
|
63
63
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
|
-
src: string;
|
|
68
66
|
disabled: boolean;
|
|
69
|
-
|
|
67
|
+
height: string | number;
|
|
70
68
|
showToolbar: boolean;
|
|
71
|
-
showPreview: boolean;
|
|
72
69
|
aspectRatio: number;
|
|
70
|
+
src: string;
|
|
71
|
+
showPreview: boolean;
|
|
73
72
|
modalTitle: string;
|
|
73
|
+
modal: boolean;
|
|
74
74
|
outputFormat: CropOutputFormat;
|
|
75
75
|
outputQuality: number;
|
|
76
76
|
maxOutputWidth: number;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,26 +51,26 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Error) => any;
|
|
55
|
+
ready: () => any;
|
|
56
56
|
cancel: () => any;
|
|
57
57
|
confirm: (result: CropResult) => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
62
62
|
onCancel?: (() => any) | undefined;
|
|
63
63
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
|
-
src: string;
|
|
68
66
|
disabled: boolean;
|
|
69
|
-
|
|
67
|
+
height: string | number;
|
|
70
68
|
showToolbar: boolean;
|
|
71
|
-
showPreview: boolean;
|
|
72
69
|
aspectRatio: number;
|
|
70
|
+
src: string;
|
|
71
|
+
showPreview: boolean;
|
|
73
72
|
modalTitle: string;
|
|
73
|
+
modal: boolean;
|
|
74
74
|
outputFormat: CropOutputFormat;
|
|
75
75
|
outputQuality: number;
|
|
76
76
|
maxOutputWidth: number;
|
|
@@ -264,8 +264,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
width: string | number;
|
|
268
267
|
height: string | number;
|
|
268
|
+
width: string | number;
|
|
269
269
|
readonly: boolean;
|
|
270
270
|
showToolbar: boolean;
|
|
271
271
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -264,8 +264,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
width: string | number;
|
|
268
267
|
height: string | number;
|
|
268
|
+
width: string | number;
|
|
269
269
|
readonly: boolean;
|
|
270
270
|
showToolbar: boolean;
|
|
271
271
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -105,9 +105,9 @@ declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}
|
|
|
105
105
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
107
|
show: boolean;
|
|
108
|
-
inline: boolean;
|
|
109
108
|
fileName: string;
|
|
110
109
|
autoPreview: boolean;
|
|
110
|
+
inline: boolean;
|
|
111
111
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
112
112
|
declare const _default: typeof __VLS_export;
|
|
113
113
|
//#endregion
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -105,9 +105,9 @@ declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}
|
|
|
105
105
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
107
|
show: boolean;
|
|
108
|
-
inline: boolean;
|
|
109
108
|
fileName: string;
|
|
110
109
|
autoPreview: boolean;
|
|
110
|
+
inline: boolean;
|
|
111
111
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
112
112
|
declare const _default: typeof __VLS_export;
|
|
113
113
|
//#endregion
|
|
@@ -87,11 +87,11 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
loading: boolean;
|
|
91
90
|
columns: number;
|
|
91
|
+
loading: boolean;
|
|
92
92
|
virtualScroll: boolean;
|
|
93
|
-
gap: number;
|
|
94
93
|
infinite: boolean;
|
|
94
|
+
gap: number;
|
|
95
95
|
lazy: boolean;
|
|
96
96
|
skeleton: boolean;
|
|
97
97
|
skeletonCount: number;
|
|
@@ -87,11 +87,11 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
loading: boolean;
|
|
91
90
|
columns: number;
|
|
91
|
+
loading: boolean;
|
|
92
92
|
virtualScroll: boolean;
|
|
93
|
-
gap: number;
|
|
94
93
|
infinite: boolean;
|
|
94
|
+
gap: number;
|
|
95
95
|
lazy: boolean;
|
|
96
96
|
skeleton: boolean;
|
|
97
97
|
skeletonCount: number;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,16 +50,16 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
|
|
53
|
+
mode: RenderMode;
|
|
54
54
|
size: number;
|
|
55
55
|
color: string;
|
|
56
|
-
|
|
57
|
-
showBorder: boolean;
|
|
58
|
-
showLabel: boolean;
|
|
56
|
+
margin: number;
|
|
59
57
|
bgColor: string;
|
|
58
|
+
label: string;
|
|
60
59
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
61
|
-
margin: number;
|
|
62
60
|
logo: LogoOptions;
|
|
61
|
+
showBorder: boolean;
|
|
62
|
+
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,16 +50,16 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
|
|
53
|
+
mode: RenderMode;
|
|
54
54
|
size: number;
|
|
55
55
|
color: string;
|
|
56
|
-
|
|
57
|
-
showBorder: boolean;
|
|
58
|
-
showLabel: boolean;
|
|
56
|
+
margin: number;
|
|
59
57
|
bgColor: string;
|
|
58
|
+
label: string;
|
|
60
59
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
61
|
-
margin: number;
|
|
62
60
|
logo: LogoOptions;
|
|
61
|
+
showBorder: boolean;
|
|
62
|
+
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
|
@@ -93,8 +93,8 @@ interface SignatureEmits {
|
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
95
|
error: (error: Error) => any;
|
|
96
|
-
clear: () => any;
|
|
97
96
|
change: (data: SignatureStroke[]) => any;
|
|
97
|
+
clear: () => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
@@ -102,17 +102,17 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
104
|
onError?: ((error: Error) => any) | undefined;
|
|
105
|
-
onClear?: (() => any) | undefined;
|
|
106
105
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
106
|
+
onClear?: (() => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
width: number | string;
|
|
114
|
-
height: number | string;
|
|
115
113
|
disabled: boolean;
|
|
114
|
+
height: number | string;
|
|
115
|
+
width: number | string;
|
|
116
116
|
readonly: boolean;
|
|
117
117
|
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
@@ -93,8 +93,8 @@ interface SignatureEmits {
|
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
95
|
error: (error: Error) => any;
|
|
96
|
-
clear: () => any;
|
|
97
96
|
change: (data: SignatureStroke[]) => any;
|
|
97
|
+
clear: () => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
@@ -102,17 +102,17 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
104
|
onError?: ((error: Error) => any) | undefined;
|
|
105
|
-
onClear?: (() => any) | undefined;
|
|
106
105
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
106
|
+
onClear?: (() => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
width: number | string;
|
|
114
|
-
height: number | string;
|
|
115
113
|
disabled: boolean;
|
|
114
|
+
height: number | string;
|
|
115
|
+
width: number | string;
|
|
116
116
|
readonly: boolean;
|
|
117
117
|
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
@@ -55,31 +55,31 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
58
59
|
expand: (target: CollapseTarget) => any;
|
|
59
60
|
"update:size": (size: number) => any;
|
|
60
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
61
61
|
collapse: (target: CollapseTarget) => any;
|
|
62
62
|
"drag-start": (size: number) => any;
|
|
63
63
|
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
65
66
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
66
67
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
67
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
69
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
70
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
72
|
direction: SplitDirection;
|
|
73
73
|
collapsible: boolean;
|
|
74
|
+
maxSize: number;
|
|
74
75
|
disabled: boolean;
|
|
75
|
-
step: number;
|
|
76
76
|
defaultSize: number;
|
|
77
77
|
minSize: number;
|
|
78
|
-
maxSize: number;
|
|
79
78
|
minFirstSize: number;
|
|
80
79
|
minSecondSize: number;
|
|
81
80
|
showCollapseButton: boolean;
|
|
82
81
|
gutterSize: number;
|
|
82
|
+
step: number;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -55,31 +55,31 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
58
59
|
expand: (target: CollapseTarget) => any;
|
|
59
60
|
"update:size": (size: number) => any;
|
|
60
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
61
61
|
collapse: (target: CollapseTarget) => any;
|
|
62
62
|
"drag-start": (size: number) => any;
|
|
63
63
|
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
65
66
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
66
67
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
67
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
69
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
70
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
72
|
direction: SplitDirection;
|
|
73
73
|
collapsible: boolean;
|
|
74
|
+
maxSize: number;
|
|
74
75
|
disabled: boolean;
|
|
75
|
-
step: number;
|
|
76
76
|
defaultSize: number;
|
|
77
77
|
minSize: number;
|
|
78
|
-
maxSize: number;
|
|
79
78
|
minFirstSize: number;
|
|
80
79
|
minSecondSize: number;
|
|
81
80
|
showCollapseButton: boolean;
|
|
82
81
|
gutterSize: number;
|
|
82
|
+
step: number;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|