@robot-admin/naive-ui-components 0.18.0 → 0.19.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 +8 -0
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Table.base.css +108 -108
- package/dist/C_Table.css +108 -108
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +3 -3
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +5 -5
- package/dist/data.d.ts +5 -5
- package/dist/formValidation.cjs +1 -1
- package/dist/formValidation.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +1 -1
- package/dist/index10.vue.d.ts +5 -5
- package/dist/index11.vue.d.cts +5 -5
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +4 -4
- package/dist/index25.vue.d.ts +4 -4
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +6 -6
- package/dist/index9.vue.d.cts +6 -6
- package/dist/index9.vue.d.ts +1 -1
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/presets.d.cts +4 -2
- package/dist/presets.d.ts +4 -2
- package/dist/style.css +108 -108
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +6 -6
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useCropperCore.d.cts +5 -5
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDynamicFormState.d.cts +2 -7
- package/dist/useDynamicFormState.d.ts +2 -7
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTableQuery.cjs +2 -2
- package/dist/useTableQuery.d.cts +33 -72
- package/dist/useTableQuery.d.ts +33 -72
- package/dist/useTableQuery.js +1 -1
- package/dist/useWorkflowValidation.d.cts +81 -81
- package/dist/useWorkflowValidation.d.ts +81 -81
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/usage.en.md +3 -1
- package/docs/guides/usage.md +3 -1
- package/package.json +2 -2
|
@@ -8,11 +8,6 @@ import { NAIVE_COMBOS, NaiveRule, PRESET_RULES, RuleSpec, RuleSpec as RuleSpec$1
|
|
|
8
8
|
//#region src/components/C_Form/utils/formValidation.d.ts
|
|
9
9
|
/** 原生规则、验证库规则和框架无关规则均可直接作为字段配置。 */
|
|
10
10
|
type FormValidationRule = FormItemRule | NaiveRule | RuleSpec;
|
|
11
|
-
type NativePresetRule = FormItemRule & Pick<NaiveRule, 'trigger' | 'validator' | 'required' | 'message'>;
|
|
12
|
-
type NativeRuleFactories<T> = { readonly [Key in keyof T]: T[Key] extends ((...args: infer Args) => infer Result) ? (...args: Args) => Result extends readonly NaiveRule[] ? NativePresetRule[] : Result extends NaiveRule ? NativePresetRule : Result : T[Key] };
|
|
13
|
-
/** 运行时保持验证库的工厂对象,只有公开类型在组件包内统一适配。 */
|
|
14
|
-
declare const PRESET_RULES$1: NativeRuleFactories<typeof PRESET_RULES>;
|
|
15
|
-
declare const NAIVE_COMBOS$1: NativeRuleFactories<typeof NAIVE_COMBOS>;
|
|
16
11
|
//#endregion
|
|
17
12
|
//#region src/components/C_Form/types.d.ts
|
|
18
13
|
type MaybePromise<T> = T | Promise<T>;
|
|
@@ -480,7 +475,7 @@ interface LayoutCallbacks<T extends object = FormRecord> {
|
|
|
480
475
|
onGroupToggle?: (groupKey: string, collapsed: boolean) => void;
|
|
481
476
|
onGroupReset?: (groupKey: string) => void;
|
|
482
477
|
onFieldsChange?: (fields: FormOption<T>[]) => void;
|
|
483
|
-
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) =>
|
|
478
|
+
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) => unknown;
|
|
484
479
|
onError?: (error: unknown, context: FormErrorContext) => void;
|
|
485
480
|
}
|
|
486
481
|
/**
|
|
@@ -822,4 +817,4 @@ type DynamicFormStateType = DynamicFormController;
|
|
|
822
817
|
*/
|
|
823
818
|
declare const DYNAMIC_FORM_STATE_KEY: unique symbol;
|
|
824
819
|
//#endregion
|
|
825
|
-
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES
|
|
820
|
+
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES as mt, DynamicFormStateType as n, GridLayoutConfig as nt, useFormDirty as o, LayoutType as ot, _default as p, NAIVE_COMBOS as pt, FormInstance as q, FIELD_TYPE_OPTIONS as r, InlineLayoutConfig as rt, useFormState as s, MaybePromise as st, DYNAMIC_FORM_STATE_KEY as t, FormTabActionsSlotProps as tt, defineFormConfig as u, SubmitEventPayload as ut, FormRendererRegistry as v, useFormRenderer as w, createFormRendererRegistry as x, RendererProps as y, DynamicFieldConfig as z };
|
|
@@ -8,11 +8,6 @@ import { NAIVE_COMBOS, NaiveRule, PRESET_RULES, RuleSpec, RuleSpec as RuleSpec$1
|
|
|
8
8
|
//#region src/components/C_Form/utils/formValidation.d.ts
|
|
9
9
|
/** 原生规则、验证库规则和框架无关规则均可直接作为字段配置。 */
|
|
10
10
|
type FormValidationRule = FormItemRule | NaiveRule | RuleSpec;
|
|
11
|
-
type NativePresetRule = FormItemRule & Pick<NaiveRule, 'trigger' | 'validator' | 'required' | 'message'>;
|
|
12
|
-
type NativeRuleFactories<T> = { readonly [Key in keyof T]: T[Key] extends ((...args: infer Args) => infer Result) ? (...args: Args) => Result extends readonly NaiveRule[] ? NativePresetRule[] : Result extends NaiveRule ? NativePresetRule : Result : T[Key] };
|
|
13
|
-
/** 运行时保持验证库的工厂对象,只有公开类型在组件包内统一适配。 */
|
|
14
|
-
declare const PRESET_RULES$1: NativeRuleFactories<typeof PRESET_RULES>;
|
|
15
|
-
declare const NAIVE_COMBOS$1: NativeRuleFactories<typeof NAIVE_COMBOS>;
|
|
16
11
|
//#endregion
|
|
17
12
|
//#region src/components/C_Form/types.d.ts
|
|
18
13
|
type MaybePromise<T> = T | Promise<T>;
|
|
@@ -480,7 +475,7 @@ interface LayoutCallbacks<T extends object = FormRecord> {
|
|
|
480
475
|
onGroupToggle?: (groupKey: string, collapsed: boolean) => void;
|
|
481
476
|
onGroupReset?: (groupKey: string) => void;
|
|
482
477
|
onFieldsChange?: (fields: FormOption<T>[]) => void;
|
|
483
|
-
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) =>
|
|
478
|
+
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) => unknown;
|
|
484
479
|
onError?: (error: unknown, context: FormErrorContext) => void;
|
|
485
480
|
}
|
|
486
481
|
/**
|
|
@@ -822,4 +817,4 @@ type DynamicFormStateType = DynamicFormController;
|
|
|
822
817
|
*/
|
|
823
818
|
declare const DYNAMIC_FORM_STATE_KEY: unique symbol;
|
|
824
819
|
//#endregion
|
|
825
|
-
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES
|
|
820
|
+
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES as mt, DynamicFormStateType as n, GridLayoutConfig as nt, useFormDirty as o, LayoutType as ot, _default as p, NAIVE_COMBOS as pt, FormInstance as q, FIELD_TYPE_OPTIONS as r, InlineLayoutConfig as rt, useFormState as s, MaybePromise as st, DYNAMIC_FORM_STATE_KEY as t, FormTabActionsSlotProps as tt, defineFormConfig as u, SubmitEventPayload as ut, FormRendererRegistry as v, useFormRenderer as w, createFormRendererRegistry as x, RendererProps as y, DynamicFieldConfig as z };
|
|
@@ -264,11 +264,11 @@ 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
|
-
|
|
267
|
+
width: string | number;
|
|
268
268
|
height: string | number;
|
|
269
269
|
theme: "light" | "dark";
|
|
270
|
-
width: string | number;
|
|
271
270
|
showToolbar: boolean;
|
|
271
|
+
readonly: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
274
274
|
//#endregion
|
|
@@ -264,11 +264,11 @@ 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
|
-
|
|
267
|
+
width: string | number;
|
|
268
268
|
height: string | number;
|
|
269
269
|
theme: "light" | "dark";
|
|
270
|
-
width: string | number;
|
|
271
270
|
showToolbar: boolean;
|
|
271
|
+
readonly: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
274
274
|
//#endregion
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -52,14 +52,14 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
52
52
|
}>, {
|
|
53
53
|
size: number;
|
|
54
54
|
label: string;
|
|
55
|
-
color: string;
|
|
56
55
|
mode: RenderMode;
|
|
57
56
|
margin: number;
|
|
58
57
|
bgColor: string;
|
|
59
|
-
|
|
60
|
-
logo: LogoOptions;
|
|
58
|
+
color: string;
|
|
61
59
|
showBorder: boolean;
|
|
62
60
|
showLabel: boolean;
|
|
61
|
+
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
62
|
+
logo: LogoOptions;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -52,14 +52,14 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
52
52
|
}>, {
|
|
53
53
|
size: number;
|
|
54
54
|
label: string;
|
|
55
|
-
color: string;
|
|
56
55
|
mode: RenderMode;
|
|
57
56
|
margin: number;
|
|
58
57
|
bgColor: string;
|
|
59
|
-
|
|
60
|
-
logo: LogoOptions;
|
|
58
|
+
color: string;
|
|
61
59
|
showBorder: boolean;
|
|
62
60
|
showLabel: boolean;
|
|
61
|
+
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
62
|
+
logo: LogoOptions;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
|
@@ -92,29 +92,29 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
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
|
+
change: (data: SignatureStroke[]) => any;
|
|
95
96
|
clear: () => any;
|
|
96
97
|
error: (error: Error) => any;
|
|
97
|
-
change: (data: SignatureStroke[]) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
104
105
|
onClear?: (() => any) | undefined;
|
|
105
106
|
onError?: ((error: Error) => any) | undefined;
|
|
106
|
-
onChange?: ((data: SignatureStroke[]) => 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
|
-
disabled: boolean;
|
|
114
|
-
readonly: boolean;
|
|
115
|
-
height: number | string;
|
|
116
113
|
width: number | string;
|
|
114
|
+
height: number | string;
|
|
115
|
+
disabled: boolean;
|
|
117
116
|
showToolbar: boolean;
|
|
117
|
+
readonly: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -92,29 +92,29 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
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
|
+
change: (data: SignatureStroke[]) => any;
|
|
95
96
|
clear: () => any;
|
|
96
97
|
error: (error: Error) => any;
|
|
97
|
-
change: (data: SignatureStroke[]) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
104
105
|
onClear?: (() => any) | undefined;
|
|
105
106
|
onError?: ((error: Error) => any) | undefined;
|
|
106
|
-
onChange?: ((data: SignatureStroke[]) => 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
|
-
disabled: boolean;
|
|
114
|
-
readonly: boolean;
|
|
115
|
-
height: number | string;
|
|
116
113
|
width: number | string;
|
|
114
|
+
height: number | string;
|
|
115
|
+
disabled: boolean;
|
|
117
116
|
showToolbar: boolean;
|
|
117
|
+
readonly: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -55,24 +55,24 @@ 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
|
-
expand: (target: CollapseTarget) => any;
|
|
59
|
-
collapse: (target: CollapseTarget) => any;
|
|
60
58
|
resize: (firstSize: number, secondSize: number) => any;
|
|
61
59
|
"update:size": (size: number) => any;
|
|
60
|
+
collapse: (target: CollapseTarget) => any;
|
|
61
|
+
expand: (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
|
-
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
66
|
-
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
67
65
|
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
66
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
67
|
+
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
68
|
+
onExpand?: ((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
|
maxSize: number;
|
|
74
|
+
disabled: boolean;
|
|
74
75
|
ariaLabel: string;
|
|
75
|
-
direction: SplitDirection;
|
|
76
76
|
defaultSize: number;
|
|
77
77
|
minSize: number;
|
|
78
78
|
minFirstSize: number;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -55,24 +55,24 @@ 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
|
-
expand: (target: CollapseTarget) => any;
|
|
59
|
-
collapse: (target: CollapseTarget) => any;
|
|
60
58
|
resize: (firstSize: number, secondSize: number) => any;
|
|
61
59
|
"update:size": (size: number) => any;
|
|
60
|
+
collapse: (target: CollapseTarget) => any;
|
|
61
|
+
expand: (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
|
-
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
66
|
-
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
67
65
|
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
66
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
67
|
+
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
68
|
+
onExpand?: ((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
|
maxSize: number;
|
|
74
|
+
disabled: boolean;
|
|
74
75
|
ariaLabel: string;
|
|
75
|
-
direction: SplitDirection;
|
|
76
76
|
defaultSize: number;
|
|
77
77
|
minSize: number;
|
|
78
78
|
minFirstSize: number;
|