@robot-admin/naive-ui-components 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/C_Breadcrumb.cjs +1 -0
- package/dist/C_Breadcrumb.d.cts +2 -0
- package/dist/C_Breadcrumb.d.ts +3 -0
- package/dist/C_Breadcrumb.js +1 -0
- package/dist/C_Breadcrumb.js.map +1 -0
- package/dist/C_Breadcrumb2.js +2 -0
- package/dist/C_Breadcrumb2.js.map +1 -0
- package/dist/C_Captcha.d.cts +1 -1
- package/dist/C_Captcha.d.ts +1 -1
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.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_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.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_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Menu.cjs +1 -0
- package/dist/C_Menu.d.cts +2 -0
- package/dist/C_Menu.d.ts +3 -0
- package/dist/C_Menu.js +1 -0
- package/dist/C_Menu.js.map +1 -0
- package/dist/C_Menu2.js +2 -0
- package/dist/C_Menu2.js.map +1 -0
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/{C_Table-Dcam_tRs.css.map → C_Table-vZlcgH6x.css.map} +1 -1
- package/dist/{C_Table-tbUx-R4H.css.map → C_Table-wzAO43l0.css.map} +1 -1
- package/dist/C_Table.css +69 -69
- package/dist/C_Table.js.map +1 -1
- package/dist/C_Table2.js +1 -1
- package/dist/C_Table2.js.map +1 -1
- package/dist/C_TagsView-DX3LecK1.css.map +1 -0
- package/dist/C_TagsView-DqOTa8bL.css.map +1 -0
- package/dist/C_TagsView.cjs +1 -0
- package/dist/C_TagsView.css +194 -0
- package/dist/C_TagsView.d.cts +2 -0
- package/dist/C_TagsView.d.ts +3 -0
- package/dist/C_TagsView.js +1 -0
- package/dist/C_TagsView.js.map +1 -0
- package/dist/C_TagsView2.js +2 -0
- package/dist/C_TagsView2.js.map +1 -0
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_VtableGantt.d.cts +1 -1
- package/dist/C_VtableGantt.d.ts +1 -1
- package/dist/_shared.cjs +1 -0
- package/dist/_shared.d.cts +2 -0
- package/dist/_shared.d.ts +2 -0
- package/dist/_shared.js +1 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -36
- package/dist/index.d.ts +44 -36
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index10.vue.d.ts +23 -65
- package/dist/index11.vue.d.ts +64 -18
- package/dist/index12.vue.d.ts +17 -72
- package/dist/index13.vue.d.ts +72 -46
- package/dist/index14.vue.d.ts +57 -23
- package/dist/index15.vue.d.ts +48 -11
- package/dist/index16.vue.d.ts +23 -652
- package/dist/index17.vue.d.ts +88 -0
- package/dist/index18.vue.d.ts +18 -0
- package/dist/index19.vue.d.ts +662 -0
- package/dist/index3.vue.d.ts +20 -37
- package/dist/index4.vue.d.ts +37 -23
- package/dist/index5.vue.d.ts +22 -26
- package/dist/index6.vue.d.ts +24 -37
- package/dist/index7.vue.d.ts +36 -44
- package/dist/index8.vue.d.ts +40 -25
- package/dist/index9.vue.d.ts +34 -23
- package/dist/menuAdapter.d.ts +167 -0
- package/dist/menuAdapter.js +2 -0
- package/dist/menuAdapter.js.map +1 -0
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/resolver.js.map +1 -1
- package/dist/style.css +267 -71
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.ts +1 -1
- package/dist/useCropperCore.d.ts +3 -3
- package/dist/useDraggableLayout.d.ts +3 -3
- package/dist/useDynamicFormState.d.ts +8 -8
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useModalEdit.d.ts +4 -5
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSearchState.d.ts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.ts +2 -2
- package/dist/useTimeSelection.d.ts +1 -1
- package/dist/useTreeOperations.d.ts +3 -3
- package/package.json +3 -2
|
@@ -67,8 +67,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
67
67
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
69
|
editable: boolean;
|
|
70
|
-
events: CalendarEvent[];
|
|
71
70
|
initialView: CalendarViewType;
|
|
71
|
+
events: CalendarEvent[];
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -78,12 +78,12 @@ declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}
|
|
|
78
78
|
onExpand?: ((key: string) => any) | undefined;
|
|
79
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
|
-
bordered: boolean;
|
|
82
81
|
activeKeys: string[];
|
|
83
82
|
defaultActiveKeys: string[];
|
|
84
83
|
accordion: boolean;
|
|
85
84
|
variant: CollapsePanelVariant;
|
|
86
85
|
expandIconPosition: ExpandIconPosition;
|
|
86
|
+
bordered: boolean;
|
|
87
87
|
persistKey: string;
|
|
88
88
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -53,19 +53,19 @@ interface ImageCropperEmits {
|
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Event) => any;
|
|
55
55
|
ready: () => any;
|
|
56
|
-
cancel: () => any;
|
|
57
56
|
crop: (result: any) => any;
|
|
58
57
|
confirm: (result: any) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Event) => any) | undefined;
|
|
61
61
|
onReady?: (() => any) | undefined;
|
|
62
|
-
onCancel?: (() => any) | undefined;
|
|
63
62
|
onCrop?: ((result: any) => any) | undefined;
|
|
64
63
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
height: string | number;
|
|
67
|
-
showToolbar: boolean;
|
|
68
67
|
disabled: boolean;
|
|
68
|
+
showToolbar: boolean;
|
|
69
69
|
showPreview: boolean;
|
|
70
70
|
src: string;
|
|
71
71
|
aspectRatio: number;
|
|
@@ -119,11 +119,9 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
119
119
|
sort: boolean;
|
|
120
120
|
modelValue: DraggableItem[];
|
|
121
121
|
disabled: boolean;
|
|
122
|
-
emptyText: string;
|
|
123
|
-
delay: number;
|
|
124
|
-
direction: "vertical" | "horizontal";
|
|
125
122
|
group: string | GroupOptions;
|
|
126
123
|
animation: number;
|
|
124
|
+
delay: number;
|
|
127
125
|
handle: string;
|
|
128
126
|
showHandle: boolean;
|
|
129
127
|
ghostClass: string;
|
|
@@ -133,8 +131,10 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
133
131
|
listClass: string;
|
|
134
132
|
itemClass: string;
|
|
135
133
|
showEmptyState: boolean;
|
|
134
|
+
emptyText: string;
|
|
136
135
|
swapThreshold: number;
|
|
137
136
|
invertSwap: boolean;
|
|
137
|
+
direction: "vertical" | "horizontal";
|
|
138
138
|
layout: LayoutMode;
|
|
139
139
|
gridColumns: number;
|
|
140
140
|
gridRows: number;
|
|
@@ -429,13 +429,13 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
|
|
|
429
429
|
shouldShowDefaultActions: vue.ComputedRef<boolean>;
|
|
430
430
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
431
431
|
"update:modelValue": (model: Record<string, any>) => any;
|
|
432
|
-
"validate-error": (errors: unknown) => any;
|
|
433
432
|
submit: (payload: SubmitEventPayload) => any;
|
|
433
|
+
"validate-error": (errors: unknown) => any;
|
|
434
434
|
"validate-success": (model: Record<string, any>) => any;
|
|
435
435
|
}, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
|
|
436
436
|
"onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
|
|
437
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
438
437
|
onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
|
|
438
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
439
439
|
"onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
|
|
440
440
|
}>, {
|
|
441
441
|
config: FormConfig;
|
|
@@ -1296,8 +1296,6 @@ declare const useDynamicFormState: () => {
|
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
1297
|
readonly type?: RuleType | undefined;
|
|
1298
1298
|
readonly required?: boolean | undefined;
|
|
1299
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1300
|
-
readonly key?: string | undefined;
|
|
1301
1299
|
readonly options?: {
|
|
1302
1300
|
readonly suppressWarning?: boolean | undefined;
|
|
1303
1301
|
readonly suppressValidatorError?: boolean | undefined;
|
|
@@ -1353,9 +1351,11 @@ declare const useDynamicFormState: () => {
|
|
|
1353
1351
|
readonly keys?: readonly string[] | undefined;
|
|
1354
1352
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1355
1353
|
} | undefined;
|
|
1354
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1355
|
+
readonly key?: string | undefined;
|
|
1356
1356
|
readonly trigger?: string | readonly string[] | undefined;
|
|
1357
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
1358
1357
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1358
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
1359
1359
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1360
1360
|
readonly min?: number | undefined;
|
|
1361
1361
|
readonly max?: number | undefined;
|
|
@@ -3573,8 +3573,6 @@ declare const useDynamicFormState: () => {
|
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
3574
|
readonly type?: RuleType | undefined;
|
|
3575
3575
|
readonly required?: boolean | undefined;
|
|
3576
|
-
readonly level?: "warning" | "error" | undefined;
|
|
3577
|
-
readonly key?: string | undefined;
|
|
3578
3576
|
readonly options?: {
|
|
3579
3577
|
readonly suppressWarning?: boolean | undefined;
|
|
3580
3578
|
readonly suppressValidatorError?: boolean | undefined;
|
|
@@ -3630,9 +3628,11 @@ declare const useDynamicFormState: () => {
|
|
|
3630
3628
|
readonly keys?: readonly string[] | undefined;
|
|
3631
3629
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3632
3630
|
} | undefined;
|
|
3631
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3632
|
+
readonly key?: string | undefined;
|
|
3633
3633
|
readonly trigger?: string | readonly string[] | undefined;
|
|
3634
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
3635
3634
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
3635
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
3636
3636
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3637
3637
|
readonly min?: number | undefined;
|
|
3638
3638
|
readonly max?: number | undefined;
|
|
@@ -89,14 +89,14 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
+
gap: number;
|
|
92
93
|
columns: number;
|
|
93
94
|
loading: boolean;
|
|
94
|
-
gap: number;
|
|
95
|
-
animationDuration: number;
|
|
96
|
-
infinite: boolean;
|
|
97
95
|
lazy: boolean;
|
|
96
|
+
infinite: boolean;
|
|
98
97
|
skeleton: boolean;
|
|
99
98
|
skeletonCount: number;
|
|
99
|
+
animationDuration: number;
|
|
100
100
|
breakpoints: WaterFallBreakpoint[];
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useModalEdit.d.ts
CHANGED
|
@@ -590,6 +590,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
590
590
|
clearAllSelections(): void;
|
|
591
591
|
};
|
|
592
592
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
593
|
+
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
594
|
+
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
593
595
|
"pagination-change": (...args: unknown[]) => any;
|
|
594
596
|
"row-delete": (...args: unknown[]) => any;
|
|
595
597
|
"expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
|
|
@@ -597,8 +599,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
597
599
|
"child-selection-change": (parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any;
|
|
598
600
|
"parent-child-link-change": (parentKey: DataTableRowKey$1, shouldSelect: boolean) => any;
|
|
599
601
|
"update:data": (data: DataRecord[]) => any;
|
|
600
|
-
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
601
|
-
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
602
602
|
"row-add": (newRow: DataRecord) => any;
|
|
603
603
|
"row-copy": (originalRow: DataRecord, newRow: DataRecord) => any;
|
|
604
604
|
"row-move": (row: DataRecord, fromIndex: number, toIndex: number) => any;
|
|
@@ -606,6 +606,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
606
606
|
"view-detail": (data: DataRecord) => any;
|
|
607
607
|
"column-change": (columns: TableColumn[]) => any;
|
|
608
608
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
609
|
+
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
610
|
+
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
609
611
|
"onPagination-change"?: ((...args: unknown[]) => any) | undefined;
|
|
610
612
|
"onRow-delete"?: ((...args: unknown[]) => any) | undefined;
|
|
611
613
|
"onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
|
|
@@ -613,8 +615,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
613
615
|
"onChild-selection-change"?: ((parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any) | undefined;
|
|
614
616
|
"onParent-child-link-change"?: ((parentKey: DataTableRowKey$1, shouldSelect: boolean) => any) | undefined;
|
|
615
617
|
"onUpdate:data"?: ((data: DataRecord[]) => any) | undefined;
|
|
616
|
-
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
617
|
-
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
618
618
|
"onRow-add"?: ((newRow: DataRecord) => any) | undefined;
|
|
619
619
|
"onRow-copy"?: ((originalRow: DataRecord, newRow: DataRecord) => any) | undefined;
|
|
620
620
|
"onRow-move"?: ((row: DataRecord, fromIndex: number, toIndex: number) => any) | undefined;
|
|
@@ -623,7 +623,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
623
623
|
"onColumn-change"?: ((columns: TableColumn[]) => any) | undefined;
|
|
624
624
|
}>, {
|
|
625
625
|
config: TableConfig;
|
|
626
|
-
loading: MaybeRefLike<boolean>;
|
|
627
626
|
rowKey: (row: DataRecord) => DataTableRowKey$1;
|
|
628
627
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
629
628
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -53,12 +53,12 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
53
53
|
showBorder: boolean;
|
|
54
54
|
label: string;
|
|
55
55
|
showLabel: boolean;
|
|
56
|
-
size: number;
|
|
57
56
|
mode: RenderMode;
|
|
57
|
+
size: number;
|
|
58
58
|
color: string;
|
|
59
|
-
margin: number;
|
|
60
59
|
bgColor: string;
|
|
61
60
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
61
|
+
margin: number;
|
|
62
62
|
logo: LogoOptions;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
package/dist/useSearchState.d.ts
CHANGED
|
@@ -55,16 +55,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
55
55
|
cleanFn: () => void;
|
|
56
56
|
changeFoldState: () => void;
|
|
57
57
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
-
reset: () => any;
|
|
59
58
|
search: (params: SearchFormParams) => any;
|
|
59
|
+
reset: () => any;
|
|
60
60
|
"change-params": (params: SearchFormParams) => any;
|
|
61
61
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
62
|
-
onReset?: (() => any) | undefined;
|
|
63
62
|
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
63
|
+
onReset?: (() => any) | undefined;
|
|
64
64
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
size: "small" | "medium" | "large";
|
|
67
66
|
bordered: boolean;
|
|
67
|
+
size: "small" | "medium" | "large";
|
|
68
68
|
formItemList: SearchFormItem[];
|
|
69
69
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
70
70
|
declare const _default: typeof __VLS_export;
|
|
@@ -91,16 +91,16 @@ interface SignatureEmits {
|
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
93
93
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
94
|
-
clear: () => any;
|
|
95
94
|
change: (data: SignatureStroke[]) => any;
|
|
95
|
+
clear: () => any;
|
|
96
96
|
"start-draw": () => any;
|
|
97
97
|
drawing: (point: SignaturePoint) => any;
|
|
98
98
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
99
99
|
undo: () => any;
|
|
100
100
|
redo: () => any;
|
|
101
101
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
102
|
-
onClear?: (() => any) | undefined;
|
|
103
102
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
103
|
+
onClear?: (() => any) | undefined;
|
|
104
104
|
"onStart-draw"?: (() => any) | undefined;
|
|
105
105
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
106
106
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
@@ -109,9 +109,9 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
109
109
|
}>, {
|
|
110
110
|
width: number | string;
|
|
111
111
|
height: number | string;
|
|
112
|
+
disabled: boolean;
|
|
112
113
|
readonly: boolean;
|
|
113
114
|
showToolbar: boolean;
|
|
114
|
-
disabled: boolean;
|
|
115
115
|
maxHistory: number;
|
|
116
116
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
117
117
|
declare const _default: typeof __VLS_export;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -80,13 +80,13 @@ declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}
|
|
|
80
80
|
}>, {
|
|
81
81
|
disabled: boolean;
|
|
82
82
|
direction: SplitDirection;
|
|
83
|
+
step: number;
|
|
84
|
+
maxSize: number;
|
|
83
85
|
defaultSize: number;
|
|
84
86
|
minSize: number;
|
|
85
|
-
maxSize: number;
|
|
86
87
|
collapsible: boolean;
|
|
87
88
|
showCollapseButton: boolean;
|
|
88
89
|
gutterSize: number;
|
|
89
|
-
step: number;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
92
92
|
declare const _default: typeof __VLS_export;
|
|
@@ -49,8 +49,8 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
49
49
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
format: string;
|
|
52
|
-
mode: TimeMode;
|
|
53
52
|
placeholder: string;
|
|
53
|
+
mode: TimeMode;
|
|
54
54
|
startPlaceholder: string;
|
|
55
55
|
endPlaceholder: string;
|
|
56
56
|
attrs: Record<string, any>;
|
|
@@ -102,13 +102,13 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
|
|
|
102
102
|
"onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
|
|
103
103
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
showToolbar: boolean;
|
|
106
105
|
mode: TreeMode;
|
|
106
|
+
showToolbar: boolean;
|
|
107
107
|
actions: ActionConfig[];
|
|
108
|
-
labelField: string;
|
|
109
|
-
childrenField: string;
|
|
110
108
|
draggable: boolean;
|
|
109
|
+
labelField: string;
|
|
111
110
|
keyField: string;
|
|
111
|
+
childrenField: string;
|
|
112
112
|
searchPattern: string;
|
|
113
113
|
searchable: boolean;
|
|
114
114
|
searchPlaceholder: string;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.6.1",
|
|
7
7
|
"description": "基于 Naive UI 的 Vue 3 组件库",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "dist/index.cjs",
|
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"vue": "^3.5.0",
|
|
77
|
-
"naive-ui": "^2.35.0"
|
|
77
|
+
"naive-ui": "^2.35.0",
|
|
78
|
+
"vue-router": "^4.0.0"
|
|
78
79
|
},
|
|
79
80
|
"dependencies": {
|
|
80
81
|
"@antv/x6": "^2.18.0",
|