@robot-admin/naive-ui-components 0.43.1 → 0.43.2
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 +1 -1
- package/README_EN.md +1 -1
- package/dist/ActionOverflow.cjs +1 -1
- package/dist/ActionOverflow.js +1 -1
- package/dist/C_ActionBar.cjs +1 -1
- package/dist/C_ActionBar.css +58 -58
- package/dist/C_ActionBar.js +1 -1
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_FormModal.css +58 -58
- package/dist/C_Table.base.css +58 -58
- package/dist/C_Table.css +58 -58
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.cts +1 -1
- package/dist/constants2.d.ts +1 -1
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.cts +7 -7
- package/dist/constants4.d.ts +7 -7
- package/dist/data2.d.cts +7 -7
- package/dist/data2.d.ts +7 -7
- package/dist/editors.d.cts +5 -5
- package/dist/editors.d.ts +5 -5
- package/dist/graphics.d.cts +1 -1
- package/dist/graphics.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- 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/index14.vue.d.ts +1 -1
- package/dist/index15.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +4 -4
- package/dist/index18.vue.d.cts +4 -4
- package/dist/index19.vue.d.ts +3 -3
- package/dist/index2.vue.d.cts +3 -3
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index20.vue.d.cts +3 -3
- package/dist/index20.vue.d.ts +7 -7
- package/dist/index21.vue.d.cts +7 -7
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index27.vue.d.cts +3 -3
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index34.vue.d.cts +2 -2
- package/dist/index34.vue.d.ts +2 -2
- package/dist/index41.vue.d.cts +3 -3
- package/dist/index41.vue.d.ts +3 -3
- package/dist/index42.vue.d.cts +2 -2
- package/dist/index42.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +1 -1
- package/dist/index5.vue.d.ts +1 -1
- package/dist/index6.vue.d.cts +3 -3
- package/dist/index6.vue.d.ts +3 -3
- package/dist/localSource.d.cts +2 -2
- package/dist/localSource.d.ts +2 -2
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/presets.cjs +1 -0
- package/dist/presets.d.cts +2 -1
- package/dist/presets.d.ts +2 -2
- package/dist/presets.js +1 -0
- package/dist/source.d.cts +2 -2
- package/dist/source.d.ts +2 -2
- package/dist/style.css +58 -58
- package/dist/types.d.cts +2 -1
- package/dist/types.d.ts +2 -1
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +4 -4
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.cts +8 -8
- package/dist/useCropperCore.d.ts +8 -8
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFormModalEditor.cjs +1 -1
- package/dist/useFormModalEditor.js +1 -1
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.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 +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useWorkflowValidation.d.cts +2 -2
- package/dist/useWorkflowValidation.d.ts +2 -2
- package/dist/verification.d.cts +4 -4
- package/dist/verification.d.ts +4 -4
- package/docs/guides/usage.en.md +2 -0
- package/docs/guides/usage.md +2 -0
- package/package.json +1 -1
package/dist/index27.vue.d.cts
CHANGED
|
@@ -63,14 +63,14 @@ declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
|
|
|
63
63
|
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
64
64
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
modelValue: string;
|
|
67
66
|
placeholder: string;
|
|
68
|
-
disabled: boolean;
|
|
69
67
|
height: string | number;
|
|
70
|
-
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
modelValue: string;
|
|
71
70
|
mode: "edit" | "editable" | "preview";
|
|
72
71
|
tocNavPosition: "left" | "right";
|
|
73
72
|
defaultFullscreen: boolean;
|
|
73
|
+
autofocus: boolean;
|
|
74
74
|
includeLevel: number[];
|
|
75
75
|
leftToolbar: string;
|
|
76
76
|
rightToolbar: string;
|
package/dist/index3.vue.d.cts
CHANGED
|
@@ -62,20 +62,20 @@ declare const __VLS_export: vue.DefineComponent<AudioPlayerProps, {}, {}, {}, {}
|
|
|
62
62
|
play: (index: number) => any;
|
|
63
63
|
pause: () => any;
|
|
64
64
|
ended: (index: number) => any;
|
|
65
|
-
modeChange: (mode: NonNullable<"
|
|
65
|
+
modeChange: (mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<AudioPlayerProps> & Readonly<{
|
|
67
67
|
onError?: ((error: unknown) => any) | undefined;
|
|
68
68
|
onPlay?: ((index: number) => any) | undefined;
|
|
69
69
|
onPause?: (() => any) | undefined;
|
|
70
70
|
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
-
onModeChange?: ((mode: NonNullable<"
|
|
71
|
+
onModeChange?: ((mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
73
74
|
theme: "default" | "minimal";
|
|
75
|
+
autoplay: boolean;
|
|
74
76
|
initialIndex: number;
|
|
75
77
|
showPlaylist: boolean;
|
|
76
78
|
showCover: boolean;
|
|
77
|
-
autoplay: boolean;
|
|
78
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -62,20 +62,20 @@ declare const __VLS_export: vue.DefineComponent<AudioPlayerProps, {}, {}, {}, {}
|
|
|
62
62
|
play: (index: number) => any;
|
|
63
63
|
pause: () => any;
|
|
64
64
|
ended: (index: number) => any;
|
|
65
|
-
modeChange: (mode: NonNullable<"
|
|
65
|
+
modeChange: (mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<AudioPlayerProps> & Readonly<{
|
|
67
67
|
onError?: ((error: unknown) => any) | undefined;
|
|
68
68
|
onPlay?: ((index: number) => any) | undefined;
|
|
69
69
|
onPause?: (() => any) | undefined;
|
|
70
70
|
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
-
onModeChange?: ((mode: NonNullable<"
|
|
71
|
+
onModeChange?: ((mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
73
74
|
theme: "default" | "minimal";
|
|
75
|
+
autoplay: boolean;
|
|
74
76
|
initialIndex: number;
|
|
75
77
|
showPlaylist: boolean;
|
|
76
78
|
showCover: boolean;
|
|
77
|
-
autoplay: boolean;
|
|
78
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/index34.vue.d.cts
CHANGED
|
@@ -27,13 +27,13 @@ interface ScanInputEmits {
|
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/C_ScanInput/index.vue.d.ts
|
|
29
29
|
declare const __VLS_export: vue.DefineComponent<ScanInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
30
|
-
"update:modelValue": (value: string) => any;
|
|
31
30
|
error: (error: unknown, input: "camera" | "photo") => any;
|
|
31
|
+
"update:modelValue": (value: string) => any;
|
|
32
32
|
submit: (value: string) => any;
|
|
33
33
|
scan: (result: ScanResult, input: "camera" | "photo") => any;
|
|
34
34
|
}, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
|
|
35
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
35
|
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
37
37
|
onSubmit?: ((value: string) => any) | undefined;
|
|
38
38
|
onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
|
|
39
39
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index34.vue.d.ts
CHANGED
|
@@ -27,13 +27,13 @@ interface ScanInputEmits {
|
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/C_ScanInput/index.vue.d.ts
|
|
29
29
|
declare const __VLS_export: vue.DefineComponent<ScanInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
30
|
-
"update:modelValue": (value: string) => any;
|
|
31
30
|
error: (error: unknown, input: "camera" | "photo") => any;
|
|
31
|
+
"update:modelValue": (value: string) => any;
|
|
32
32
|
submit: (value: string) => any;
|
|
33
33
|
scan: (result: ScanResult, input: "camera" | "photo") => any;
|
|
34
34
|
}, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
|
|
35
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
35
|
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
37
37
|
onSubmit?: ((value: string) => any) | undefined;
|
|
38
38
|
onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
|
|
39
39
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index41.vue.d.cts
CHANGED
|
@@ -90,11 +90,11 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
90
90
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
91
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
reverse: boolean;
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
93
|
items: TimelineItem[];
|
|
96
|
-
|
|
94
|
+
size: "small" | "medium" | "large";
|
|
95
|
+
reverse: boolean;
|
|
97
96
|
mode: "vertical" | "horizontal";
|
|
97
|
+
pending: boolean;
|
|
98
98
|
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
package/dist/index41.vue.d.ts
CHANGED
|
@@ -90,11 +90,11 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
90
90
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
91
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
reverse: boolean;
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
93
|
items: TimelineItem[];
|
|
96
|
-
|
|
94
|
+
size: "small" | "medium" | "large";
|
|
95
|
+
reverse: boolean;
|
|
97
96
|
mode: "vertical" | "horizontal";
|
|
97
|
+
pending: boolean;
|
|
98
98
|
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
package/dist/index42.vue.d.cts
CHANGED
|
@@ -72,14 +72,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
72
72
|
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
73
73
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
74
74
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
75
|
-
onChange?: ((targetKeys: T["key"][], direction: "
|
|
75
|
+
onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
|
|
76
76
|
}> & (typeof globalThis extends {
|
|
77
77
|
__VLS_PROPS_FALLBACK: infer P;
|
|
78
78
|
} ? P : {});
|
|
79
79
|
expose: (exposed: {}) => void;
|
|
80
80
|
attrs: any;
|
|
81
81
|
slots: {};
|
|
82
|
-
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "
|
|
82
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
|
|
83
83
|
}>) => vue.VNode & {
|
|
84
84
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
85
85
|
};
|
package/dist/index42.vue.d.ts
CHANGED
|
@@ -72,14 +72,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
72
72
|
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
73
73
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
74
74
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
75
|
-
onChange?: ((targetKeys: T["key"][], direction: "
|
|
75
|
+
onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
|
|
76
76
|
}> & (typeof globalThis extends {
|
|
77
77
|
__VLS_PROPS_FALLBACK: infer P;
|
|
78
78
|
} ? P : {});
|
|
79
79
|
expose: (exposed: {}) => void;
|
|
80
80
|
attrs: any;
|
|
81
81
|
slots: {};
|
|
82
|
-
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "
|
|
82
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
|
|
83
83
|
}>) => vue.VNode & {
|
|
84
84
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
85
85
|
};
|
package/dist/index5.vue.d.cts
CHANGED
|
@@ -61,9 +61,9 @@ declare const __VLS_export: vue.DefineComponent<AvatarGroupProps, {}, {}, {}, {}
|
|
|
61
61
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
62
62
|
}>, {
|
|
63
63
|
direction: "ltr" | "rtl";
|
|
64
|
+
max: number;
|
|
64
65
|
size: number;
|
|
65
66
|
overlap: number;
|
|
66
|
-
max: number;
|
|
67
67
|
shape: "circle" | "square";
|
|
68
68
|
showStatus: boolean;
|
|
69
69
|
showTooltip: boolean;
|
package/dist/index5.vue.d.ts
CHANGED
|
@@ -61,9 +61,9 @@ declare const __VLS_export: vue.DefineComponent<AvatarGroupProps, {}, {}, {}, {}
|
|
|
61
61
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
62
62
|
}>, {
|
|
63
63
|
direction: "ltr" | "rtl";
|
|
64
|
+
max: number;
|
|
64
65
|
size: number;
|
|
65
66
|
overlap: number;
|
|
66
|
-
max: number;
|
|
67
67
|
shape: "circle" | "square";
|
|
68
68
|
showStatus: boolean;
|
|
69
69
|
showTooltip: boolean;
|
package/dist/index6.vue.d.cts
CHANGED
|
@@ -24,15 +24,15 @@ declare const __VLS_export: vue.DefineComponent<BarcodeProps, {}, {}, {}, {}, vu
|
|
|
24
24
|
onError?: ((error: Error) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
lineColor: string;
|
|
27
|
-
|
|
27
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
28
|
width: number;
|
|
29
29
|
height: number;
|
|
30
|
-
fontSize: number;
|
|
31
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
32
30
|
showText: boolean;
|
|
31
|
+
fontSize: number;
|
|
33
32
|
textPosition: "bottom" | "top";
|
|
34
33
|
background: string;
|
|
35
34
|
showBorder: boolean;
|
|
35
|
+
label: string;
|
|
36
36
|
showLabel: boolean;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -24,15 +24,15 @@ declare const __VLS_export: vue.DefineComponent<BarcodeProps, {}, {}, {}, {}, vu
|
|
|
24
24
|
onError?: ((error: Error) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
lineColor: string;
|
|
27
|
-
|
|
27
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
28
|
width: number;
|
|
29
29
|
height: number;
|
|
30
|
-
fontSize: number;
|
|
31
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
32
30
|
showText: boolean;
|
|
31
|
+
fontSize: number;
|
|
33
32
|
textPosition: "bottom" | "top";
|
|
34
33
|
background: string;
|
|
35
34
|
showBorder: boolean;
|
|
35
|
+
label: string;
|
|
36
36
|
showLabel: boolean;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
package/dist/localSource.d.cts
CHANGED
|
@@ -8,8 +8,8 @@ import * as vue from "vue";
|
|
|
8
8
|
declare const __VLS_export: <T extends object, TFilters extends object = Record<string, unknown>, M extends boolean = boolean, V extends DataPickerValue = DataPickerValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
9
|
props: vue.PublicProps & __VLS_PrettifyLocal<DataPickerProps<T, TFilters, M, V> & {
|
|
10
10
|
onSelect?: ((rows: T[]) => any) | undefined;
|
|
11
|
-
"onUpdate:modelValue"?: ((value: M extends true ? V[] : V | null) => any) | undefined;
|
|
12
11
|
onCancel?: (() => any) | undefined;
|
|
12
|
+
"onUpdate:modelValue"?: ((value: M extends true ? V[] : V | null) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
15
15
|
} ? P : {});
|
|
@@ -39,7 +39,7 @@ declare const __VLS_export: <T extends object, TFilters extends object = Record<
|
|
|
39
39
|
loading: boolean;
|
|
40
40
|
}): unknown;
|
|
41
41
|
};
|
|
42
|
-
emit: ((evt: "select", rows: T[]) => void) & ((evt: "update:modelValue", value: M extends true ? V[] : V | null) => void)
|
|
42
|
+
emit: ((evt: "select", rows: T[]) => void) & ((evt: "cancel") => void) & ((evt: "update:modelValue", value: M extends true ? V[] : V | null) => void);
|
|
43
43
|
}>) => vue.VNode & {
|
|
44
44
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
45
45
|
};
|
package/dist/localSource.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import * as vue from "vue";
|
|
|
8
8
|
declare const __VLS_export: <T extends object, TFilters extends object = Record<string, unknown>, M extends boolean = boolean, V extends DataPickerValue = DataPickerValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
9
|
props: vue.PublicProps & __VLS_PrettifyLocal<DataPickerProps<T, TFilters, M, V> & {
|
|
10
10
|
onSelect?: ((rows: T[]) => any) | undefined;
|
|
11
|
-
"onUpdate:modelValue"?: ((value: M extends true ? V[] : V | null) => any) | undefined;
|
|
12
11
|
onCancel?: (() => any) | undefined;
|
|
12
|
+
"onUpdate:modelValue"?: ((value: M extends true ? V[] : V | null) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
15
15
|
} ? P : {});
|
|
@@ -39,7 +39,7 @@ declare const __VLS_export: <T extends object, TFilters extends object = Record<
|
|
|
39
39
|
loading: boolean;
|
|
40
40
|
}): unknown;
|
|
41
41
|
};
|
|
42
|
-
emit: ((evt: "select", rows: T[]) => void) & ((evt: "update:modelValue", value: M extends true ? V[] : V | null) => void)
|
|
42
|
+
emit: ((evt: "select", rows: T[]) => void) & ((evt: "cancel") => void) & ((evt: "update:modelValue", value: M extends true ? V[] : V | null) => void);
|
|
43
43
|
}>) => vue.VNode & {
|
|
44
44
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
45
45
|
};
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -92,11 +92,11 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
zoom: number;
|
|
95
|
-
center: MapCoordinate;
|
|
96
|
-
markers: MapMarker[];
|
|
97
|
-
height: string;
|
|
98
95
|
ariaLabel: string;
|
|
96
|
+
height: string;
|
|
97
|
+
center: MapCoordinate;
|
|
99
98
|
mapType: MapType;
|
|
99
|
+
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|
|
102
102
|
amapOptions: Record<string, unknown>;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -92,11 +92,11 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
zoom: number;
|
|
95
|
-
center: MapCoordinate;
|
|
96
|
-
markers: MapMarker[];
|
|
97
|
-
height: string;
|
|
98
95
|
ariaLabel: string;
|
|
96
|
+
height: string;
|
|
97
|
+
center: MapCoordinate;
|
|
99
98
|
mapType: MapType;
|
|
99
|
+
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|
|
102
102
|
amapOptions: Record<string, unknown>;
|
package/dist/presets.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./rolldown-runtime.cjs`);let e=require(`vue`);const t=`mdi:gesture-tap-button`,n={align:`left`,size:`tiny`,gap:6,wrap:!1,showDivider:!1,dividerType:`vertical`,compact:!0,inline:!0,overflowAt:0},r=Object.freeze({heightSmall:`24px`,fontSizeSmall:`12px`,paddingSmall:`0 6px`,iconSizeSmall:`13px`,iconMarginSmall:`4px`}),i={add:{label:`新增`,icon:`mdi:plus`,type:`primary`},create:{label:`新增`,icon:`mdi:plus`,type:`primary`},save:{label:`保存`,icon:`mdi:content-save-outline`,type:`primary`},confirm:{label:`确认`,icon:`mdi:check`,type:`primary`},cancel:{label:`取消`,icon:`mdi:close`},close:{label:`关闭`,icon:`mdi:close`},view:{label:`查看`,icon:`mdi:eye-outline`},edit:{label:`编辑`,icon:`mdi:pencil-outline`},delete:{label:`删除`,icon:`mdi:delete-outline`,type:`error`},remove:{label:`删除`,icon:`mdi:delete-outline`,type:`error`},refresh:{label:`刷新`,icon:`mdi:refresh`},import:{label:`导入`,icon:`mdi:file-import-outline`},export:{label:`导出`,icon:`mdi:file-export-outline`},print:{label:`打印`,icon:`mdi:printer-outline`},reset:{label:`重置`,icon:`mdi:restore`},columns:{label:`列设置`,icon:`mdi:view-column-outline`},fullscreen:{label:`全屏`,icon:`mdi:fullscreen`},settings:{label:`功能配置`,icon:`mdi:tune-variant`},more:{label:`更多`,icon:`mdi:dots-horizontal`}},a=e=>{let n=i[e.key??``]??{};return{...n,...e,label:e.label||n.label||e.key||`操作`,icon:e.icon||n.icon||t,type:e.type??n.type}},o=t=>typeof t==`function`?t():(0,e.unref)(t);function s({type:e,buttonProps:t}){return(t?.type??e)!==`warning`||t&&(t.secondary===!1||[`ghost`,`dashed`,`text`,`tertiary`,`quaternary`].some(e=>t[e]))?t:{...t,secondary:!0,themeOverrides:{colorOpacitySecondary:`0.16`,colorOpacitySecondaryHover:`0.21`,...t?.themeOverrides}}}const c=e=>e;Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return 13}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
package/dist/presets.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { i as ActionDropdownItem, l as TableActionsProps, o as ActionItem, t as ActionBarConfig } from "./types.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
|
+
import { ButtonProps } from "naive-ui";
|
|
3
4
|
|
|
4
5
|
//#region src/components/C_ActionBar/index.vue.d.ts
|
|
5
6
|
declare var __VLS_1: {};
|
|
@@ -15,8 +16,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
15
16
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
16
17
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
17
18
|
}>, {
|
|
18
|
-
config: ActionBarConfig;
|
|
19
19
|
actions: ActionItem[];
|
|
20
|
+
config: ActionBarConfig;
|
|
20
21
|
leftActions: ActionItem[];
|
|
21
22
|
rightActions: ActionItem[];
|
|
22
23
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/presets.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ActionDropdownItem, l as TableActionsProps, o as ActionItem, t as ActionBarConfig } from "./types.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
|
-
import "naive-ui";
|
|
3
|
+
import { ButtonProps } from "naive-ui";
|
|
4
4
|
|
|
5
5
|
//#region src/components/C_ActionBar/index.vue.d.ts
|
|
6
6
|
declare var __VLS_1: {};
|
|
@@ -16,8 +16,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
16
16
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
17
17
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
config: ActionBarConfig;
|
|
20
19
|
actions: ActionItem[];
|
|
20
|
+
config: ActionBarConfig;
|
|
21
21
|
leftActions: ActionItem[];
|
|
22
22
|
rightActions: ActionItem[];
|
|
23
23
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/presets.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{unref as e}from"vue";const t=`mdi:gesture-tap-button`,n={align:`left`,size:`tiny`,gap:6,wrap:!1,showDivider:!1,dividerType:`vertical`,compact:!0,inline:!0,overflowAt:0},r=13,i=Object.freeze({heightSmall:`24px`,fontSizeSmall:`12px`,paddingSmall:`0 6px`,iconSizeSmall:`13px`,iconMarginSmall:`4px`}),a={add:{label:`新增`,icon:`mdi:plus`,type:`primary`},create:{label:`新增`,icon:`mdi:plus`,type:`primary`},save:{label:`保存`,icon:`mdi:content-save-outline`,type:`primary`},confirm:{label:`确认`,icon:`mdi:check`,type:`primary`},cancel:{label:`取消`,icon:`mdi:close`},close:{label:`关闭`,icon:`mdi:close`},view:{label:`查看`,icon:`mdi:eye-outline`},edit:{label:`编辑`,icon:`mdi:pencil-outline`},delete:{label:`删除`,icon:`mdi:delete-outline`,type:`error`},remove:{label:`删除`,icon:`mdi:delete-outline`,type:`error`},refresh:{label:`刷新`,icon:`mdi:refresh`},import:{label:`导入`,icon:`mdi:file-import-outline`},export:{label:`导出`,icon:`mdi:file-export-outline`},print:{label:`打印`,icon:`mdi:printer-outline`},reset:{label:`重置`,icon:`mdi:restore`},columns:{label:`列设置`,icon:`mdi:view-column-outline`},fullscreen:{label:`全屏`,icon:`mdi:fullscreen`},settings:{label:`功能配置`,icon:`mdi:tune-variant`},more:{label:`更多`,icon:`mdi:dots-horizontal`}},o=e=>{let n=a[e.key??``]??{};return{...n,...e,label:e.label||n.label||e.key||`操作`,icon:e.icon||n.icon||t,type:e.type??n.type}},s=t=>typeof t==`function`?t():e(t);function c({type:e,buttonProps:t}){return(t?.type??e)!==`warning`||t&&(t.secondary===!1||[`ghost`,`dashed`,`text`,`tertiary`,`quaternary`].some(e=>t[e]))?t:{...t,secondary:!0,themeOverrides:{colorOpacitySecondary:`0.16`,colorOpacitySecondaryHover:`0.21`,...t?.themeOverrides}}}const l=e=>e;export{r as a,o as c,i,s as l,a as n,l as o,t as r,c as s,n as t};
|
package/dist/source.d.cts
CHANGED
|
@@ -6,8 +6,8 @@ import * as vue from "vue";
|
|
|
6
6
|
declare const __VLS_export: <T extends object, F extends object = Record<string, unknown>, O extends object = TreeNodeData, M extends boolean = false, V extends DataPickerValue = DataPickerValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: vue.PublicProps & __VLS_PrettifyLocal<UserPickerProps<T, F, O, M, V> & {
|
|
8
8
|
onSelect?: ((rows: T[]) => any) | undefined;
|
|
9
|
-
"onUpdate:modelValue"?: ((value: UserPickerModel<V, M>) => any) | undefined;
|
|
10
9
|
onCancel?: (() => any) | undefined;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: UserPickerModel<V, M>) => any) | undefined;
|
|
11
11
|
}> & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
13
|
} ? P : {});
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends object, F extends object = Record<string,
|
|
|
19
19
|
}>) => void;
|
|
20
20
|
attrs: any;
|
|
21
21
|
slots: UserPickerSlots<T>;
|
|
22
|
-
emit: ((evt: "select", rows: T[]) => void) & ((evt: "
|
|
22
|
+
emit: ((evt: "select", rows: T[]) => void) & ((evt: "cancel") => void) & ((evt: "update:modelValue", value: UserPickerModel<V, M>) => void);
|
|
23
23
|
}>) => vue.VNode & {
|
|
24
24
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|
package/dist/source.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import * as vue from "vue";
|
|
|
6
6
|
declare const __VLS_export: <T extends object, F extends object = Record<string, unknown>, O extends object = TreeNodeData, M extends boolean = false, V extends DataPickerValue = DataPickerValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: vue.PublicProps & __VLS_PrettifyLocal<UserPickerProps<T, F, O, M, V> & {
|
|
8
8
|
onSelect?: ((rows: T[]) => any) | undefined;
|
|
9
|
-
"onUpdate:modelValue"?: ((value: UserPickerModel<V, M>) => any) | undefined;
|
|
10
9
|
onCancel?: (() => any) | undefined;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: UserPickerModel<V, M>) => any) | undefined;
|
|
11
11
|
}> & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
13
|
} ? P : {});
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends object, F extends object = Record<string,
|
|
|
19
19
|
}>) => void;
|
|
20
20
|
attrs: any;
|
|
21
21
|
slots: UserPickerSlots<T>;
|
|
22
|
-
emit: ((evt: "select", rows: T[]) => void) & ((evt: "
|
|
22
|
+
emit: ((evt: "select", rows: T[]) => void) & ((evt: "cancel") => void) & ((evt: "update:modelValue", value: UserPickerModel<V, M>) => void);
|
|
23
23
|
}>) => vue.VNode & {
|
|
24
24
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|