@robot-admin/naive-ui-components 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +27 -1
- package/README_EN.md +26 -0
- package/dist/C_ActionBar.css +60 -60
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +49 -49
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +3 -3
- package/dist/C_AudioPlayer.css +81 -66
- package/dist/C_AudioPlayer2.cjs +1 -1
- package/dist/C_AudioPlayer2.js +1 -1
- package/dist/C_AvatarGroup.css +40 -25
- package/dist/C_AvatarGroup2.cjs +1 -1
- package/dist/C_AvatarGroup2.js +1 -1
- package/dist/C_Barcode.css +6 -6
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Breadcrumb.css +14 -14
- package/dist/C_Breadcrumb2.cjs +1 -1
- package/dist/C_Breadcrumb2.js +1 -1
- package/dist/C_Captcha.css +50 -50
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.css +2 -2
- package/dist/C_Cascade2.cjs +1 -1
- package/dist/C_Cascade2.js +1 -1
- package/dist/C_Chat.css +96 -78
- package/dist/C_Chat2.cjs +1 -1
- package/dist/C_Chat2.js +1 -1
- package/dist/C_City.css +52 -28
- package/dist/C_City2.cjs +1 -1
- package/dist/C_City2.js +1 -1
- package/dist/C_Code.css +48 -42
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +1 -1
- package/dist/C_CollapsePanel.css +14 -14
- package/dist/C_CollapsePanel2.cjs +1 -1
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_ContextMenu.css +14 -14
- package/dist/C_ContextMenu2.cjs +1 -1
- package/dist/C_ContextMenu2.js +1 -1
- package/dist/C_Cron.css +94 -55
- package/dist/C_Cron2.cjs +1 -1
- package/dist/C_Cron2.js +1 -1
- package/dist/C_Date2.cjs +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Draggable.css +48 -48
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_Editor.css +13 -14
- package/dist/C_Editor2.cjs +1 -1
- package/dist/C_Editor2.js +1 -1
- package/dist/C_FilePreview.css +18 -18
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.base.css +36 -36
- package/dist/C_Form.css +49 -50
- package/dist/C_Form2.cjs +1 -1
- package/dist/C_Form2.js +1 -1
- package/dist/C_FormModal.css +8 -8
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +45 -45
- package/dist/C_FormSearch2.cjs +1 -1
- package/dist/C_FormSearch2.js +1 -1
- package/dist/C_FormulaEditor.css +94 -55
- package/dist/C_FormulaEditor2.cjs +2 -2
- package/dist/C_FormulaEditor2.js +2 -2
- package/dist/C_FullCalendar.css +8 -1
- package/dist/C_FullCalendar2.cjs +1 -1
- package/dist/C_FullCalendar2.js +1 -1
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.css +14 -14
- package/dist/C_Guide2.cjs +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_Icon.css +14 -14
- package/dist/C_Icon2.cjs +1 -1
- package/dist/C_Icon2.js +1 -1
- package/dist/C_ImageCropper.css +22 -22
- package/dist/C_ImageCropper2.cjs +1 -1
- package/dist/C_ImageCropper2.js +1 -1
- package/dist/C_Language.css +14 -14
- package/dist/C_Language2.cjs +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Login.css +134 -134
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Map.css +3 -3
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_Markdown.css +35 -35
- package/dist/C_Markdown2.cjs +1 -1
- package/dist/C_Markdown2.js +1 -1
- package/dist/C_Menu2.cjs +1 -1
- package/dist/C_Menu2.js +1 -1
- package/dist/C_NotificationCenter.css +30 -30
- package/dist/C_NotificationCenter2.cjs +1 -1
- package/dist/C_NotificationCenter2.js +1 -1
- package/dist/C_OrgChart.css +4 -0
- package/dist/C_OrgChart2.cjs +1 -1
- package/dist/C_OrgChart2.js +1 -1
- package/dist/C_Progress2.cjs +1 -1
- package/dist/C_Progress2.js +1 -1
- package/dist/C_QRCode.css +8 -8
- package/dist/C_QRCode2.cjs +1 -1
- package/dist/C_QRCode2.js +1 -1
- package/dist/C_Signature.css +14 -14
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_Skeleton2.cjs +1 -1
- package/dist/C_Skeleton2.js +1 -1
- package/dist/C_SplitPane.css +39 -39
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Steps.css +48 -38
- package/dist/C_Steps2.cjs +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Table.base.css +160 -160
- package/dist/C_Table.css +173 -174
- package/dist/C_TagsView.css +52 -52
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Theme.css +14 -14
- package/dist/C_Theme2.cjs +1 -1
- package/dist/C_Theme2.js +1 -1
- package/dist/C_Time.css +4 -4
- package/dist/C_Time2.cjs +1 -1
- package/dist/C_Time2.js +1 -1
- package/dist/C_Timeline.css +76 -58
- package/dist/C_Timeline2.cjs +1 -1
- package/dist/C_Timeline2.js +1 -1
- package/dist/C_Transfer.css +51 -51
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.css +35 -32
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/C_Upload.css +53 -50
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer.css +17 -13
- package/dist/C_VideoPlayer2.cjs +2 -2
- package/dist/C_VideoPlayer2.js +2 -2
- package/dist/C_VtableGantt.css +19 -19
- package/dist/C_VtableGantt2.cjs +1 -1
- package/dist/C_VtableGantt2.js +1 -1
- package/dist/C_WaterFall.css +19 -15
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/C_WorkFlow.css +123 -123
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/constants.d.cts +4 -4
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.cts +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.cts +9 -5
- package/dist/constants3.d.ts +9 -5
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +15 -15
- package/dist/data.d.ts +15 -15
- package/dist/data2.cjs +1 -1
- package/dist/data2.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +2 -0
- package/dist/index.vue.d.ts +2 -0
- package/dist/index10.vue.d.cts +1 -1
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index11.vue.d.ts +3 -3
- package/dist/index12.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index14.vue.d.cts +2 -2
- package/dist/index14.vue.d.ts +14 -47
- package/dist/index15.vue.d.cts +14 -47
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +5 -5
- package/dist/index18.vue.d.cts +5 -5
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index24.vue.d.cts +3 -3
- package/dist/index24.vue.d.ts +3 -3
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index25.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +4 -4
- package/dist/index26.vue.d.ts +4 -4
- package/dist/index27.vue.d.cts +3 -3
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index4.vue.d.cts +2 -2
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.cts +2 -2
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +1 -1
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +1573 -1365
- package/dist/useCalendarEvents.d.cts +23 -18
- package/dist/useCalendarEvents.d.ts +23 -18
- package/dist/useCollapsePanel.d.cts +7 -6
- package/dist/useCollapsePanel.d.ts +7 -6
- package/dist/useCropperCore.d.cts +34 -19
- package/dist/useCropperCore.d.ts +34 -19
- package/dist/useDraggableLayout.d.cts +4 -4
- package/dist/useDraggableLayout.d.ts +4 -4
- package/dist/useDynamicFormState.d.cts +7 -2
- package/dist/useDynamicFormState.d.ts +7 -2
- package/dist/useEdgeInteraction.d.cts +19 -19
- package/dist/useEdgeInteraction.d.ts +19 -19
- package/dist/useFullscreen.d.cts +6 -6
- package/dist/useFullscreen.d.ts +6 -6
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +5 -4
- package/dist/useQRCode.d.ts +5 -4
- package/dist/useSearchState.d.cts +9 -9
- package/dist/useSearchState.d.ts +9 -9
- package/dist/useSignatureHistory.d.cts +18 -10
- package/dist/useSignatureHistory.d.ts +18 -10
- package/dist/useSplitResize.d.cts +3 -3
- package/dist/useSplitResize.d.ts +3 -3
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +3 -6
- package/dist/useTableQuery.d.ts +3 -6
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +8 -5
- package/dist/useTimeSelection.d.ts +8 -5
- package/dist/useTreeOperations.d.cts +8 -8
- package/dist/useTreeOperations.d.ts +8 -8
- package/dist/useWorkflowValidation.d.cts +10 -8
- package/dist/useWorkflowValidation.d.ts +10 -8
- package/dist/verification.d.cts +3 -3
- package/dist/verification.d.ts +3 -3
- package/package.json +4 -3
package/dist/index3.vue.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import * as vue from "vue";
|
|
|
3
3
|
//#region src/components/C_Barcode/index.vue.d.ts
|
|
4
4
|
interface Props {
|
|
5
5
|
value: string;
|
|
6
|
-
format?:
|
|
6
|
+
format?: 'CODE128' | 'CODE39' | 'EAN13' | 'EAN8' | 'UPC' | 'ITF14' | 'MSI' | 'pharmacode';
|
|
7
7
|
width?: number;
|
|
8
8
|
height?: number;
|
|
9
9
|
showText?: boolean;
|
|
10
10
|
fontSize?: number;
|
|
11
|
-
textPosition?:
|
|
11
|
+
textPosition?: 'bottom' | 'top';
|
|
12
12
|
lineColor?: string;
|
|
13
13
|
background?: string;
|
|
14
14
|
showBorder?: boolean;
|
|
@@ -20,16 +20,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
20
20
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
24
23
|
width: number;
|
|
25
24
|
height: number;
|
|
25
|
+
label: string;
|
|
26
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
26
27
|
showText: boolean;
|
|
27
28
|
fontSize: number;
|
|
28
29
|
textPosition: "bottom" | "top";
|
|
29
30
|
lineColor: string;
|
|
30
31
|
background: string;
|
|
31
32
|
showBorder: boolean;
|
|
32
|
-
label: string;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -110,14 +110,14 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
|
|
|
110
110
|
deriveResponsiveState: () => void;
|
|
111
111
|
} | null>;
|
|
112
112
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
113
|
-
select: (key: string) => any;
|
|
114
113
|
"update:modelValue": (key: MenuValue) => any;
|
|
114
|
+
select: (key: string) => any;
|
|
115
115
|
intent: (key: string) => any;
|
|
116
116
|
"update:value": (key: MenuValue) => any;
|
|
117
117
|
"update:expandedKeys": (keys: string[]) => any;
|
|
118
118
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
119
|
-
onSelect?: ((key: string) => any) | undefined;
|
|
120
119
|
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
120
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
121
121
|
onIntent?: ((key: string) => any) | undefined;
|
|
122
122
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
123
123
|
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
package/dist/index5.vue.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ type __VLS_Props = {
|
|
|
19
19
|
modelValue?: CascadeValue;
|
|
20
20
|
};
|
|
21
21
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
change: (value: CascadeValue) => any;
|
|
23
22
|
"update:modelValue": (value: CascadeValue) => any;
|
|
23
|
+
change: (value: CascadeValue) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
26
25
|
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
26
|
+
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
placeholders: string[];
|
|
29
29
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index6.vue.d.cts
CHANGED
|
@@ -19,11 +19,11 @@ type __VLS_Props = {
|
|
|
19
19
|
modelValue?: CascadeValue;
|
|
20
20
|
};
|
|
21
21
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
change: (value: CascadeValue) => any;
|
|
23
22
|
"update:modelValue": (value: CascadeValue) => any;
|
|
23
|
+
change: (value: CascadeValue) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
26
25
|
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
26
|
+
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
placeholders: string[];
|
|
29
29
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index7.vue.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
trigger?: (props: typeof __VLS_9) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
-
change: (value: string) => any;
|
|
18
17
|
"update:modelValue": (value: string) => any;
|
|
18
|
+
change: (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
onChange?: ((value: string) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
onChange?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|
package/dist/index8.vue.d.cts
CHANGED
|
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
trigger?: (props: typeof __VLS_9) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
-
change: (value: string) => any;
|
|
18
17
|
"update:modelValue": (value: string) => any;
|
|
18
|
+
change: (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
onChange?: ((value: string) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
onChange?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -75,9 +75,9 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
75
75
|
y: number;
|
|
76
76
|
}) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
+
zIndex: number;
|
|
78
79
|
items: ContextMenuItem[];
|
|
79
80
|
disabled: boolean;
|
|
80
|
-
zIndex: number;
|
|
81
81
|
minWidth: number;
|
|
82
82
|
maxWidth: number;
|
|
83
83
|
subMenuPlacement: "right" | "left";
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -92,9 +92,9 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
height: string;
|
|
95
|
-
zoom: number;
|
|
96
|
-
center: MapCoordinate;
|
|
97
95
|
ariaLabel: string;
|
|
96
|
+
center: MapCoordinate;
|
|
97
|
+
zoom: number;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
@@ -137,7 +137,7 @@ declare function toAMapPosition(coordinate: MapCoordinate): AMapPosition;
|
|
|
137
137
|
/** 过滤非法标记,防止地图 SDK 因异常坐标中断整个渲染。 */
|
|
138
138
|
declare function getValidMapMarkers(markers: readonly MapMarker[]): MapMarker[];
|
|
139
139
|
/** 将缩放值限制在当前瓦片图层允许的范围内。 */
|
|
140
|
-
declare function normalizeMapZoom(zoom: number, minZoom?:
|
|
140
|
+
declare function normalizeMapZoom(zoom: number, minZoom?: number, maxZoom?: number): number;
|
|
141
141
|
/** 合并默认瓦片配置,并将 URL 与 Leaflet options 分离。 */
|
|
142
142
|
declare function resolveTileConfig(config?: MapTileConfig): ResolvedTileConfig;
|
|
143
143
|
//#endregion
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -92,9 +92,9 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
height: string;
|
|
95
|
-
zoom: number;
|
|
96
|
-
center: MapCoordinate;
|
|
97
95
|
ariaLabel: string;
|
|
96
|
+
center: MapCoordinate;
|
|
97
|
+
zoom: number;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
@@ -137,7 +137,7 @@ declare function toAMapPosition(coordinate: MapCoordinate): AMapPosition;
|
|
|
137
137
|
/** 过滤非法标记,防止地图 SDK 因异常坐标中断整个渲染。 */
|
|
138
138
|
declare function getValidMapMarkers(markers: readonly MapMarker[]): MapMarker[];
|
|
139
139
|
/** 将缩放值限制在当前瓦片图层允许的范围内。 */
|
|
140
|
-
declare function normalizeMapZoom(zoom: number, minZoom?:
|
|
140
|
+
declare function normalizeMapZoom(zoom: number, minZoom?: number, maxZoom?: number): number;
|
|
141
141
|
/** 合并默认瓦片配置,并将 URL 与 Leaflet options 分离。 */
|
|
142
142
|
declare function resolveTileConfig(config?: MapTileConfig): ResolvedTileConfig;
|
|
143
143
|
//#endregion
|
package/dist/presets.d.cts
CHANGED
|
@@ -67,10 +67,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
67
67
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
68
68
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
+
config: ActionBarConfig;
|
|
70
71
|
actions: ActionItem[];
|
|
71
72
|
leftActions: ActionItem[];
|
|
72
73
|
rightActions: ActionItem[];
|
|
73
|
-
config: ActionBarConfig;
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
75
75
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
76
76
|
declare const _default: typeof __VLS_export;
|
package/dist/presets.d.ts
CHANGED
|
@@ -67,10 +67,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
67
67
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
68
68
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
+
config: ActionBarConfig;
|
|
70
71
|
actions: ActionItem[];
|
|
71
72
|
leftActions: ActionItem[];
|
|
72
73
|
rightActions: ActionItem[];
|
|
73
|
-
config: ActionBarConfig;
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
75
75
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
76
76
|
declare const _default: typeof __VLS_export;
|