@robot-admin/naive-ui-components 0.24.4 → 0.24.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +3 -1
- package/README_EN.md +3 -1
- package/dist/C_FormModal.css +273 -45
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.cts +6 -6
- package/dist/constants2.d.ts +6 -6
- package/dist/constants3.d.cts +1 -1
- package/dist/constants3.d.ts +1 -1
- package/dist/data2.d.cts +10 -10
- package/dist/data2.d.ts +10 -10
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index15.vue.d.ts +9 -9
- package/dist/index16.vue.d.cts +9 -9
- package/dist/index17.vue.d.ts +3 -3
- package/dist/index18.vue.d.cts +3 -3
- package/dist/index18.vue.d.ts +3 -3
- package/dist/index19.vue.d.cts +3 -3
- 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/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +2 -2
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index25.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +1 -1
- package/dist/index28.vue.d.ts +1 -1
- package/dist/index29.vue.d.cts +3 -3
- package/dist/index29.vue.d.ts +3 -3
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index5.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +3 -56
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +5 -5
- package/dist/useCollapsePanel.d.ts +5 -5
- package/dist/useCropperCore.d.cts +5 -5
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDynamicFormState.d.cts +12 -12
- package/dist/useDynamicFormState.d.ts +12 -12
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +10 -10
- package/dist/useSplitResize.d.ts +10 -10
- package/dist/useWorkflowValidation.d.cts +34 -34
- package/dist/useWorkflowValidation.d.ts +34 -34
- package/dist/verification.d.cts +3 -3
- package/dist/verification.d.ts +3 -3
- package/docs/guides/form-density.en.md +2 -0
- package/docs/guides/form-density.md +2 -0
- package/package.json +1 -1
package/dist/index9.vue.d.ts
CHANGED
|
@@ -23,18 +23,18 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
-
fullscreen: (isFullscreen: boolean) => any;
|
|
27
26
|
click: (event: MouseEvent) => any;
|
|
28
27
|
copy: (code: string) => any;
|
|
28
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
31
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
32
31
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
|
35
|
-
language: string;
|
|
36
35
|
showHeader: boolean;
|
|
37
36
|
code: string;
|
|
37
|
+
language: string;
|
|
38
38
|
showLineNumbers: boolean;
|
|
39
39
|
wordWrap: boolean;
|
|
40
40
|
showFullscreen: boolean;
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
91
91
|
onReady?: ((map: MapInstance) => any) | undefined;
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
height: string;
|
|
95
94
|
center: MapCoordinate;
|
|
96
|
-
zoom: number;
|
|
97
95
|
ariaLabel: string;
|
|
96
|
+
height: string;
|
|
97
|
+
zoom: number;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
91
91
|
onReady?: ((map: MapInstance) => any) | undefined;
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
height: string;
|
|
95
94
|
center: MapCoordinate;
|
|
96
|
-
zoom: number;
|
|
97
95
|
ariaLabel: string;
|
|
96
|
+
height: string;
|
|
97
|
+
zoom: number;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
package/dist/presets.d.cts
CHANGED
|
@@ -15,8 +15,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
15
15
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
16
16
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
actions: ActionItem[];
|
|
19
18
|
config: ActionBarConfig;
|
|
19
|
+
actions: ActionItem[];
|
|
20
20
|
leftActions: ActionItem[];
|
|
21
21
|
rightActions: ActionItem[];
|
|
22
22
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/presets.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
15
15
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
16
16
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
actions: ActionItem[];
|
|
19
18
|
config: ActionBarConfig;
|
|
19
|
+
actions: ActionItem[];
|
|
20
20
|
leftActions: ActionItem[];
|
|
21
21
|
rightActions: ActionItem[];
|
|
22
22
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/style.css
CHANGED
|
@@ -7219,64 +7219,11 @@ to {
|
|
|
7219
7219
|
|
|
7220
7220
|
|
|
7221
7221
|
/* --- C_FormModal --- */
|
|
7222
|
-
/*
|
|
7223
|
-
* @Author: ChenYu ycyplus@gmail.com
|
|
7224
|
-
* @Date: 2026-09-13
|
|
7225
|
-
* @FilePath: \naive-ui-components\src\components\C_FormModal\index.scss
|
|
7226
|
-
* @Description: 紧凑型数据驱动表单弹窗样式
|
|
7227
|
-
* Copyright (c) 2026 by CHENY, All Rights Reserved 😎.
|
|
7228
|
-
*/
|
|
7229
|
-
.c-form-modal[data-v-66511257] {
|
|
7230
|
-
overflow: hidden;
|
|
7231
|
-
border-radius: 10px;
|
|
7232
|
-
}
|
|
7233
|
-
.c-form-modal[data-v-66511257] .n-card-header {
|
|
7234
|
-
min-height: 46px;
|
|
7235
|
-
padding: 12px 16px;
|
|
7236
|
-
border-bottom: 1px solid var(--n-border-color);
|
|
7237
|
-
}
|
|
7238
|
-
.c-form-modal[data-v-66511257] .n-card-header__main {
|
|
7239
|
-
font-size: 15px;
|
|
7240
|
-
font-weight: 650;
|
|
7241
|
-
}
|
|
7242
|
-
.c-form-modal[data-v-66511257] :is(.n-card-content, .n-card__content) {
|
|
7243
|
-
padding: 14px 16px 8px;
|
|
7244
|
-
}
|
|
7245
|
-
.c-form-modal[data-v-66511257] .n-form-item {
|
|
7246
|
-
margin-bottom: 2px;
|
|
7247
|
-
}
|
|
7248
|
-
.c-form-modal[data-v-66511257] .n-card__action {
|
|
7249
|
-
display: flex;
|
|
7250
|
-
justify-content: flex-end;
|
|
7251
|
-
padding: 10px 16px;
|
|
7252
|
-
background: color-mix(in srgb, var(--n-color-modal) 94%, var(--n-border-color));
|
|
7253
|
-
border-top: 1px solid var(--n-border-color);
|
|
7254
|
-
}
|
|
7255
|
-
@media (max-width: 640px) {
|
|
7256
|
-
.c-form-modal[data-v-66511257] :is(.n-card-content, .n-card__content) {
|
|
7257
|
-
padding-inline: 12px;
|
|
7258
|
-
}
|
|
7259
|
-
.c-form-modal[data-v-66511257] .n-card__action {
|
|
7260
|
-
padding-inline: 12px;
|
|
7261
|
-
}
|
|
7262
|
-
}
|
|
7263
|
-
.c-form-modal--compact[data-v-66511257] .n-form-item {
|
|
7264
|
-
margin-bottom: 0;
|
|
7265
|
-
}
|
|
7266
|
-
.c-form-modal--compact[data-v-66511257] .n-card-header {
|
|
7267
|
-
min-height: 40px;
|
|
7268
|
-
padding: 8px 12px;
|
|
7269
|
-
}
|
|
7270
|
-
.c-form-modal--compact[data-v-66511257] :is(.n-card-content, .n-card__content) {
|
|
7271
|
-
padding: 10px 12px 8px;
|
|
7272
|
-
}
|
|
7273
|
-
.c-form-modal--compact[data-v-66511257] .n-card__action {
|
|
7274
|
-
padding: 8px 12px;
|
|
7275
|
-
}
|
|
7276
7222
|
|
|
7277
7223
|
/* layer: default */
|
|
7278
|
-
.visible[data-v-
|
|
7279
|
-
.
|
|
7224
|
+
.visible[data-v-25307ec4]{visibility:visible;}
|
|
7225
|
+
.hidden[data-v-25307ec4]{display:none;}
|
|
7226
|
+
.px[data-v-25307ec4]{padding-left:1rem;padding-right:1rem;}
|
|
7280
7227
|
|
|
7281
7228
|
|
|
7282
7229
|
/* --- C_FormSearch --- */
|
|
@@ -72,9 +72,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
72
72
|
}) => any) | undefined;
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
+
initialView: CalendarViewType;
|
|
75
76
|
editable: boolean;
|
|
76
77
|
events: CalendarEvent[];
|
|
77
|
-
initialView: CalendarViewType;
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -72,9 +72,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
72
72
|
}) => any) | undefined;
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
+
initialView: CalendarViewType;
|
|
75
76
|
editable: boolean;
|
|
76
77
|
events: CalendarEvent[];
|
|
77
|
-
initialView: CalendarViewType;
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -71,21 +71,21 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
75
|
-
expand: (key: string) => any;
|
|
76
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
80
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
81
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
bordered: boolean;
|
|
84
83
|
activeKeys: string[];
|
|
85
84
|
defaultActiveKeys: string[];
|
|
86
85
|
accordion: boolean;
|
|
87
86
|
variant: CollapsePanelVariant;
|
|
88
87
|
expandIconPosition: ExpandIconPosition;
|
|
88
|
+
bordered: boolean;
|
|
89
89
|
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -71,21 +71,21 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
75
|
-
expand: (key: string) => any;
|
|
76
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
80
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
81
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
bordered: boolean;
|
|
84
83
|
activeKeys: string[];
|
|
85
84
|
defaultActiveKeys: string[];
|
|
86
85
|
accordion: boolean;
|
|
87
86
|
variant: CollapsePanelVariant;
|
|
88
87
|
expandIconPosition: ExpandIconPosition;
|
|
88
|
+
bordered: boolean;
|
|
89
89
|
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -52,29 +52,29 @@ interface ImageCropperEmits {
|
|
|
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
54
|
error: (error: Error) => any;
|
|
55
|
-
ready: () => any;
|
|
56
55
|
confirm: (result: CropResult) => any;
|
|
56
|
+
ready: () => any;
|
|
57
57
|
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onReady?: (() => any) | undefined;
|
|
62
61
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
62
|
+
onReady?: (() => any) | undefined;
|
|
63
63
|
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
|
+
aspectRatio: number;
|
|
69
|
+
showPreview: boolean;
|
|
68
70
|
showToolbar: boolean;
|
|
71
|
+
modal: boolean;
|
|
69
72
|
src: string;
|
|
70
|
-
aspectRatio: number;
|
|
71
73
|
outputFormat: CropOutputFormat;
|
|
72
74
|
outputQuality: number;
|
|
73
75
|
maxOutputWidth: number;
|
|
74
76
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: boolean;
|
|
76
77
|
circular: boolean;
|
|
77
|
-
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -52,29 +52,29 @@ interface ImageCropperEmits {
|
|
|
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
54
|
error: (error: Error) => any;
|
|
55
|
-
ready: () => any;
|
|
56
55
|
confirm: (result: CropResult) => any;
|
|
56
|
+
ready: () => any;
|
|
57
57
|
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onReady?: (() => any) | undefined;
|
|
62
61
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
62
|
+
onReady?: (() => any) | undefined;
|
|
63
63
|
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
|
+
aspectRatio: number;
|
|
69
|
+
showPreview: boolean;
|
|
68
70
|
showToolbar: boolean;
|
|
71
|
+
modal: boolean;
|
|
69
72
|
src: string;
|
|
70
|
-
aspectRatio: number;
|
|
71
73
|
outputFormat: CropOutputFormat;
|
|
72
74
|
outputQuality: number;
|
|
73
75
|
maxOutputWidth: number;
|
|
74
76
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: boolean;
|
|
76
77
|
circular: boolean;
|
|
77
|
-
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
@@ -90,9 +90,9 @@ declare const __VLS_export$3: <T extends object = FormRecord>(__VLS_props: NonNu
|
|
|
90
90
|
renderers?: Record<string, FormRenderer>;
|
|
91
91
|
} & {
|
|
92
92
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
93
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
93
94
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
94
95
|
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
95
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
96
96
|
}> & (typeof globalThis extends {
|
|
97
97
|
__VLS_PROPS_FALLBACK: infer P;
|
|
98
98
|
} ? P : {});
|
|
@@ -128,7 +128,7 @@ declare const __VLS_export$3: <T extends object = FormRecord>(__VLS_props: NonNu
|
|
|
128
128
|
}>) => void;
|
|
129
129
|
attrs: any;
|
|
130
130
|
slots: FormSlots<T>;
|
|
131
|
-
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "
|
|
131
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
|
|
132
132
|
}>) => vue.VNode & {
|
|
133
133
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
134
134
|
};
|
|
@@ -199,7 +199,6 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
199
199
|
//#region src/components/C_Table/index.vue.d.ts
|
|
200
200
|
declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
201
201
|
props: vue.PublicProps & __VLS_PrettifyLocal$2<TableRuntimeProps<T, C> & {
|
|
202
|
-
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
203
202
|
onSave?: ((rowData: T, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
204
203
|
"onPagination-change"?: ((page: number, pageSize: number) => any) | undefined;
|
|
205
204
|
"onRow-delete"?: ((deletedRow: T, index: number) => any) | undefined;
|
|
@@ -216,6 +215,7 @@ declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS
|
|
|
216
215
|
"onChild-selection-change"?: ((parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: C[]) => any) | undefined;
|
|
217
216
|
"onParent-child-link-change"?: ((parentKey: DataTableRowKey, shouldSelect: boolean) => any) | undefined;
|
|
218
217
|
"onUpdate:data"?: ((data: T[]) => any) | undefined;
|
|
218
|
+
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
219
219
|
"onEdit-error"?: ((error: unknown) => any) | undefined;
|
|
220
220
|
}> & (typeof globalThis extends {
|
|
221
221
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -235,7 +235,7 @@ declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS
|
|
|
235
235
|
} & {
|
|
236
236
|
empty?: (props: {}) => any;
|
|
237
237
|
};
|
|
238
|
-
emit: ((evt: "
|
|
238
|
+
emit: ((evt: "save", rowData: T, rowIndex: number, columnKey?: string | undefined) => void) & ((evt: "pagination-change", page: number, pageSize: number) => void) & ((evt: "row-delete", deletedRow: T, index: number) => void) & ((evt: "batch-action-error", error: unknown, actionKey: string) => void) & ((evt: "row-key-error", issues: TableRowKeyIssue<T>[]) => void) & ((evt: "row-add", newRow: T) => void) & ((evt: "row-copy", originalRow: T, newRow: T) => void) & ((evt: "row-move", row: T, fromIndex: number, toIndex: number) => void) & ((evt: "row-selection-change", selectedKey: DataTableRowKey | null, selectedRow: T | null) => void) & ((evt: "view-detail", data: T) => void) & ((evt: "column-change", columns: TableColumn<T>[]) => void) & ((evt: "expand-change", expandedKeys: DataTableRowKey[], row?: T | undefined, expanded?: boolean | undefined) => void) & ((evt: "selection-change", checkedKeys: DataTableRowKey[], checkedRows: T[], childSelections?: Map<DataTableRowKey, DataTableRowKey[]> | undefined) => void) & ((evt: "child-selection-change", parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: C[]) => void) & ((evt: "parent-child-link-change", parentKey: DataTableRowKey, shouldSelect: boolean) => void) & ((evt: "update:data", data: T[]) => void) & ((evt: "cancel", rowData: T, rowIndex: number) => void) & ((evt: "edit-error", error: unknown) => void);
|
|
239
239
|
}>) => vue.VNode & {
|
|
240
240
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
241
241
|
};
|
|
@@ -968,25 +968,25 @@ declare const __VLS_export$1: <T extends object = TreeNodeData>(__VLS_props: Non
|
|
|
968
968
|
props: vue.PublicProps & __VLS_PrettifyLocal$1<TreeProps$1<T> & {
|
|
969
969
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
970
970
|
onRefresh?: (() => any) | undefined;
|
|
971
|
+
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
972
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
973
|
+
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
971
974
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
972
|
-
"onUpdate:
|
|
973
|
-
"onUpdate:
|
|
974
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
975
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
976
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
975
977
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
976
978
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
977
|
-
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
978
|
-
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
979
979
|
}> & (typeof globalThis extends {
|
|
980
980
|
__VLS_PROPS_FALLBACK: infer P;
|
|
981
981
|
} ? P : {});
|
|
982
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
982
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
983
983
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
984
984
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
985
985
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
986
986
|
}>) => void;
|
|
987
987
|
attrs: any;
|
|
988
988
|
slots: TreeSlots<T>;
|
|
989
|
-
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "
|
|
989
|
+
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void);
|
|
990
990
|
}>) => vue.VNode & {
|
|
991
991
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
992
992
|
};
|
|
@@ -1024,7 +1024,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
1024
1024
|
handleDrop: (info: DropInfo<T>) => void;
|
|
1025
1025
|
handleAdd: () => void;
|
|
1026
1026
|
handleRefresh: () => void;
|
|
1027
|
-
expose: Omit<TreeExpose<T>, "
|
|
1027
|
+
expose: Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
1028
1028
|
expandedKeys: Ref<TreeKey[]>;
|
|
1029
1029
|
selectedKeys: Ref<TreeKey[]>;
|
|
1030
1030
|
checkedKeys: Ref<TreeKey[]>;
|
|
@@ -80,9 +80,9 @@ declare const __VLS_export$3: <T extends object = FormRecord>(__VLS_props: NonNu
|
|
|
80
80
|
renderers?: Record<string, FormRenderer>;
|
|
81
81
|
} & {
|
|
82
82
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
83
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
83
84
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
84
85
|
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
85
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
86
86
|
}> & (typeof globalThis extends {
|
|
87
87
|
__VLS_PROPS_FALLBACK: infer P;
|
|
88
88
|
} ? P : {});
|
|
@@ -118,7 +118,7 @@ declare const __VLS_export$3: <T extends object = FormRecord>(__VLS_props: NonNu
|
|
|
118
118
|
}>) => void;
|
|
119
119
|
attrs: any;
|
|
120
120
|
slots: FormSlots<T>;
|
|
121
|
-
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "
|
|
121
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
|
|
122
122
|
}>) => vue.VNode & {
|
|
123
123
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
124
124
|
};
|
|
@@ -189,7 +189,6 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
189
189
|
//#region src/components/C_Table/index.vue.d.ts
|
|
190
190
|
declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
191
191
|
props: vue.PublicProps & __VLS_PrettifyLocal$2<TableRuntimeProps<T, C> & {
|
|
192
|
-
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
193
192
|
onSave?: ((rowData: T, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
194
193
|
"onPagination-change"?: ((page: number, pageSize: number) => any) | undefined;
|
|
195
194
|
"onRow-delete"?: ((deletedRow: T, index: number) => any) | undefined;
|
|
@@ -206,6 +205,7 @@ declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS
|
|
|
206
205
|
"onChild-selection-change"?: ((parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: C[]) => any) | undefined;
|
|
207
206
|
"onParent-child-link-change"?: ((parentKey: DataTableRowKey, shouldSelect: boolean) => any) | undefined;
|
|
208
207
|
"onUpdate:data"?: ((data: T[]) => any) | undefined;
|
|
208
|
+
onCancel?: ((rowData: T, rowIndex: number) => any) | undefined;
|
|
209
209
|
"onEdit-error"?: ((error: unknown) => any) | undefined;
|
|
210
210
|
}> & (typeof globalThis extends {
|
|
211
211
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -225,7 +225,7 @@ declare const __VLS_export$2: <T extends object = DataRecord, C = unknown>(__VLS
|
|
|
225
225
|
} & {
|
|
226
226
|
empty?: (props: {}) => any;
|
|
227
227
|
};
|
|
228
|
-
emit: ((evt: "
|
|
228
|
+
emit: ((evt: "save", rowData: T, rowIndex: number, columnKey?: string | undefined) => void) & ((evt: "pagination-change", page: number, pageSize: number) => void) & ((evt: "row-delete", deletedRow: T, index: number) => void) & ((evt: "batch-action-error", error: unknown, actionKey: string) => void) & ((evt: "row-key-error", issues: TableRowKeyIssue<T>[]) => void) & ((evt: "row-add", newRow: T) => void) & ((evt: "row-copy", originalRow: T, newRow: T) => void) & ((evt: "row-move", row: T, fromIndex: number, toIndex: number) => void) & ((evt: "row-selection-change", selectedKey: DataTableRowKey | null, selectedRow: T | null) => void) & ((evt: "view-detail", data: T) => void) & ((evt: "column-change", columns: TableColumn<T>[]) => void) & ((evt: "expand-change", expandedKeys: DataTableRowKey[], row?: T | undefined, expanded?: boolean | undefined) => void) & ((evt: "selection-change", checkedKeys: DataTableRowKey[], checkedRows: T[], childSelections?: Map<DataTableRowKey, DataTableRowKey[]> | undefined) => void) & ((evt: "child-selection-change", parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: C[]) => void) & ((evt: "parent-child-link-change", parentKey: DataTableRowKey, shouldSelect: boolean) => void) & ((evt: "update:data", data: T[]) => void) & ((evt: "cancel", rowData: T, rowIndex: number) => void) & ((evt: "edit-error", error: unknown) => void);
|
|
229
229
|
}>) => vue.VNode & {
|
|
230
230
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
231
231
|
};
|
|
@@ -958,25 +958,25 @@ declare const __VLS_export$1: <T extends object = TreeNodeData>(__VLS_props: Non
|
|
|
958
958
|
props: vue.PublicProps & __VLS_PrettifyLocal$1<TreeProps$1<T> & {
|
|
959
959
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
960
960
|
onRefresh?: (() => any) | undefined;
|
|
961
|
+
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
962
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
963
|
+
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
961
964
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
962
|
-
"onUpdate:
|
|
963
|
-
"onUpdate:
|
|
964
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "expand" | "collapse" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
965
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
966
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
965
967
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
966
968
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
967
|
-
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
968
|
-
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
969
969
|
}> & (typeof globalThis extends {
|
|
970
970
|
__VLS_PROPS_FALLBACK: infer P;
|
|
971
971
|
} ? P : {});
|
|
972
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
972
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
973
973
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
974
974
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
975
975
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
976
976
|
}>) => void;
|
|
977
977
|
attrs: any;
|
|
978
978
|
slots: TreeSlots<T>;
|
|
979
|
-
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "
|
|
979
|
+
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void);
|
|
980
980
|
}>) => vue.VNode & {
|
|
981
981
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
982
982
|
};
|
|
@@ -1014,7 +1014,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
1014
1014
|
handleDrop: (info: DropInfo<T>) => void;
|
|
1015
1015
|
handleAdd: () => void;
|
|
1016
1016
|
handleRefresh: () => void;
|
|
1017
|
-
expose: Omit<TreeExpose<T>, "
|
|
1017
|
+
expose: Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
1018
1018
|
expandedKeys: Ref<TreeKey[]>;
|
|
1019
1019
|
selectedKeys: Ref<TreeKey[]>;
|
|
1020
1020
|
checkedKeys: Ref<TreeKey[]>;
|
|
@@ -264,10 +264,10 @@ 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
|
theme: "light" | "dark";
|
|
269
|
-
|
|
268
|
+
width: string | number;
|
|
270
269
|
readonly: boolean;
|
|
270
|
+
height: string | number;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
@@ -264,10 +264,10 @@ 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
|
theme: "light" | "dark";
|
|
269
|
-
|
|
268
|
+
width: string | number;
|
|
270
269
|
readonly: boolean;
|
|
270
|
+
height: string | number;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
@@ -87,10 +87,10 @@ 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
|
+
columns: number;
|
|
90
91
|
loading: boolean;
|
|
91
|
-
virtualScroll: boolean;
|
|
92
92
|
gap: number;
|
|
93
|
-
|
|
93
|
+
virtualScroll: boolean;
|
|
94
94
|
lazy: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
|
@@ -87,10 +87,10 @@ 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
|
+
columns: number;
|
|
90
91
|
loading: boolean;
|
|
91
|
-
virtualScroll: boolean;
|
|
92
92
|
gap: number;
|
|
93
|
-
|
|
93
|
+
virtualScroll: boolean;
|
|
94
94
|
lazy: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,13 +50,13 @@ 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
|
-
color: string;
|
|
54
|
-
mode: RenderMode;
|
|
55
53
|
size: number;
|
|
54
|
+
color: string;
|
|
56
55
|
label: string;
|
|
56
|
+
mode: RenderMode;
|
|
57
|
+
margin: number;
|
|
57
58
|
bgColor: string;
|
|
58
59
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
59
|
-
margin: number;
|
|
60
60
|
logo: LogoOptions;
|
|
61
61
|
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,13 +50,13 @@ 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
|
-
color: string;
|
|
54
|
-
mode: RenderMode;
|
|
55
53
|
size: number;
|
|
54
|
+
color: string;
|
|
56
55
|
label: string;
|
|
56
|
+
mode: RenderMode;
|
|
57
|
+
margin: number;
|
|
57
58
|
bgColor: string;
|
|
58
59
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
59
|
-
margin: number;
|
|
60
60
|
logo: LogoOptions;
|
|
61
61
|
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
|
@@ -92,8 +92,8 @@ 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
|
-
clear: () => any;
|
|
96
95
|
change: (data: SignatureStroke[]) => any;
|
|
96
|
+
clear: () => any;
|
|
97
97
|
error: (error: Error) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
@@ -101,8 +101,8 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
-
onClear?: (() => any) | undefined;
|
|
105
104
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
|
+
onClear?: (() => any) | undefined;
|
|
106
106
|
onError?: ((error: Error) => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
@@ -110,10 +110,10 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
width: number | string;
|
|
114
113
|
disabled: boolean;
|
|
115
|
-
|
|
114
|
+
width: number | string;
|
|
116
115
|
readonly: boolean;
|
|
116
|
+
height: number | string;
|
|
117
117
|
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|