zjh-web-ui 1.0.10
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/README.md +1 -0
- package/config/resolver.js +21 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/components/AMapConfig.js +23 -0
- package/dist/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.js +82 -0
- package/dist/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue2.js +4 -0
- package/dist/components/HuiAMapMassMarkers/index.js +7 -0
- package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.js +7 -0
- package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue2.js +190 -0
- package/dist/components/HuiAMapSearchAddress/index.js +7 -0
- package/dist/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.js +83 -0
- package/dist/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue2.js +4 -0
- package/dist/components/HuiAMapSearchAddressDialog/index.js +7 -0
- package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.js +7 -0
- package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue2.js +178 -0
- package/dist/components/HuiAMapSelectAddress/index.js +7 -0
- package/dist/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.js +83 -0
- package/dist/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue2.js +4 -0
- package/dist/components/HuiAMapSelectAddressDialog/index.js +7 -0
- package/dist/components/HuiCountDownButton/HuiCountDownButton.vue.js +63 -0
- package/dist/components/HuiCountDownButton/HuiCountDownButton.vue2.js +4 -0
- package/dist/components/HuiCountDownButton/index.js +7 -0
- package/dist/components/HuiDataView/HuiDataView.vue.js +7 -0
- package/dist/components/HuiDataView/HuiDataView.vue2.js +84 -0
- package/dist/components/HuiDataView/index.js +7 -0
- package/dist/components/HuiGridForm/HuiGridForm.vue.js +7 -0
- package/dist/components/HuiGridForm/HuiGridForm.vue2.js +223 -0
- package/dist/components/HuiGridForm/HuiGridFormHooks.js +21 -0
- package/dist/components/HuiGridForm/index.js +7 -0
- package/dist/components/HuiLineEditDialog/HuiLineEditDialog.vue.js +7 -0
- package/dist/components/HuiLineEditDialog/HuiLineEditDialog.vue2.js +167 -0
- package/dist/components/HuiLineEditDialog/index.js +7 -0
- package/dist/components/HuiLineEditPopover/HuiLineEditPopover.vue.js +7 -0
- package/dist/components/HuiLineEditPopover/HuiLineEditPopover.vue2.js +128 -0
- package/dist/components/HuiLineEditPopover/index.js +7 -0
- package/dist/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.js +65 -0
- package/dist/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue2.js +4 -0
- package/dist/components/HuiPreviewRichTextDialog/index.js +7 -0
- package/dist/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.js +118 -0
- package/dist/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue2.js +4 -0
- package/dist/components/HuiRegionTreeDialog/index.js +7 -0
- package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.js +7 -0
- package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue2.js +59 -0
- package/dist/components/HuiRegionTreeSelect/index.js +7 -0
- package/dist/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.js +44 -0
- package/dist/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue2.js +4 -0
- package/dist/components/HuiSelectLoadStatus/index.js +7 -0
- package/dist/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.js +50 -0
- package/dist/components/HuiShowUrlDialog/HuiShowUrlDialog.vue2.js +4 -0
- package/dist/components/HuiShowUrlDialog/index.js +7 -0
- package/dist/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.js +118 -0
- package/dist/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue2.js +4 -0
- package/dist/components/HuiStringArrayInputDialog/index.js +7 -0
- package/dist/components/HuiTags/HuiTags.vue.js +7 -0
- package/dist/components/HuiTags/HuiTags.vue2.js +28 -0
- package/dist/components/HuiTags/index.js +7 -0
- package/dist/components/HuiTagsMore/HuiTagsMore.vue.js +188 -0
- package/dist/components/HuiTagsMore/HuiTagsMore.vue2.js +4 -0
- package/dist/components/HuiTagsMore/index.js +7 -0
- package/dist/components/HuiTinymce/HuiTinymce.vue.js +37 -0
- package/dist/components/HuiTinymce/HuiTinymce.vue3.js +5 -0
- package/dist/components/HuiTinymce/HuiTinymceLinkHooks.js +99 -0
- package/dist/components/HuiTinymce/HuiTinymceSettingHooks.js +104 -0
- package/dist/components/HuiTinymce/index.js +8 -0
- package/dist/components/HuiTinymceDialog/HuiTinymceDialog.vue.js +96 -0
- package/dist/components/HuiTinymceDialog/HuiTinymceDialog.vue2.js +4 -0
- package/dist/components/HuiTinymceDialog/index.js +7 -0
- package/dist/components/HuiTip/HuiTip.vue.js +52 -0
- package/dist/components/HuiTip/HuiTip.vue2.js +4 -0
- package/dist/components/HuiTip/index.js +7 -0
- package/dist/components-install-list.js +47 -0
- package/dist/delegate.js +13 -0
- package/dist/directives/install-loadmore.js +7 -0
- package/dist/directives/select-loadmore.js +25 -0
- package/dist/hooks/useHuiDialog/useHuiDialog.js +20 -0
- package/dist/hooks/useHuiFormDialog/formDialogPropsDef.js +6 -0
- package/dist/hooks/useHuiFormDialog/useHuiFormDialog.js +109 -0
- package/dist/index.js +62 -0
- package/dist/install-helper/install.js +21 -0
- package/dist/style.css +1 -0
- package/dist/utils/hui-rules.js +142 -0
- package/dist/utils/hui-tool/index.js +7 -0
- package/dist/utils/hui-tool/message-box/index.js +33 -0
- package/dist/utils/hui-tool/message-box/message-box.vue.js +112 -0
- package/dist/utils/hui-tool/message-box/message-box.vue3.js +5 -0
- package/dist/utils/hui-tool/msg-tool.js +39 -0
- package/global.d.ts +40 -0
- package/package.json +44 -0
- package/src/css/common-font.scss +104 -0
- package/src/css/index.scss +1 -0
- package/types/components/AMapConfig.d.ts +2 -0
- package/types/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.d.ts +105 -0
- package/types/components/HuiAMapMassMarkers/index.d.ts +107 -0
- package/types/components/HuiAMapMassMarkers/type.d.ts +58 -0
- package/types/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.d.ts +76 -0
- package/types/components/HuiAMapSearchAddress/index.d.ts +77 -0
- package/types/components/HuiAMapSearchAddress/type.d.ts +19 -0
- package/types/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.d.ts +38 -0
- package/types/components/HuiAMapSearchAddressDialog/index.d.ts +71 -0
- package/types/components/HuiAMapSearchAddressDialog/type.d.ts +17 -0
- package/types/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.d.ts +76 -0
- package/types/components/HuiAMapSelectAddress/index.d.ts +77 -0
- package/types/components/HuiAMapSelectAddress/type.d.ts +19 -0
- package/types/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.d.ts +38 -0
- package/types/components/HuiAMapSelectAddressDialog/index.d.ts +71 -0
- package/types/components/HuiAMapSelectAddressDialog/type.d.ts +17 -0
- package/types/components/HuiCountDownButton/HuiCountDownButton.vue.d.ts +44 -0
- package/types/components/HuiCountDownButton/index.d.ts +76 -0
- package/types/components/HuiCountDownButton/type.d.ts +20 -0
- package/types/components/HuiDataView/HuiDataView.vue.d.ts +60 -0
- package/types/components/HuiDataView/index.d.ts +109 -0
- package/types/components/HuiDataView/type.d.ts +49 -0
- package/types/components/HuiGridForm/HuiGridForm.vue.d.ts +77 -0
- package/types/components/HuiGridForm/HuiGridFormHooks.d.ts +4 -0
- package/types/components/HuiGridForm/index.d.ts +175 -0
- package/types/components/HuiGridForm/type.d.ts +67 -0
- package/types/components/HuiLineEditDialog/HuiLineEditDialog.vue.d.ts +75 -0
- package/types/components/HuiLineEditDialog/index.d.ts +173 -0
- package/types/components/HuiLineEditDialog/type.d.ts +86 -0
- package/types/components/HuiLineEditPopover/HuiLineEditPopover.vue.d.ts +74 -0
- package/types/components/HuiLineEditPopover/index.d.ts +133 -0
- package/types/components/HuiLineEditPopover/type.d.ts +23 -0
- package/types/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.d.ts +31 -0
- package/types/components/HuiPreviewRichTextDialog/index.d.ts +22 -0
- package/types/components/HuiPreviewRichTextDialog/type.d.ts +4 -0
- package/types/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.d.ts +53 -0
- package/types/components/HuiRegionTreeDialog/index.d.ts +68 -0
- package/types/components/HuiRegionTreeDialog/type.d.ts +24 -0
- package/types/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.d.ts +25 -0
- package/types/components/HuiRegionTreeSelect/index.d.ts +29 -0
- package/types/components/HuiRegionTreeSelect/type.d.ts +6 -0
- package/types/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.d.ts +14 -0
- package/types/components/HuiSelectLoadStatus/index.d.ts +33 -0
- package/types/components/HuiSelectLoadStatus/type.d.ts +11 -0
- package/types/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.d.ts +37 -0
- package/types/components/HuiShowUrlDialog/index.d.ts +40 -0
- package/types/components/HuiShowUrlDialog/type.d.ts +11 -0
- package/types/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.d.ts +44 -0
- package/types/components/HuiStringArrayInputDialog/index.d.ts +67 -0
- package/types/components/HuiStringArrayInputDialog/type.d.ts +33 -0
- package/types/components/HuiTags/HuiTags.vue.d.ts +37 -0
- package/types/components/HuiTags/index.d.ts +36 -0
- package/types/components/HuiTagsMore/HuiTagsMore.vue.d.ts +93 -0
- package/types/components/HuiTagsMore/index.d.ts +92 -0
- package/types/components/HuiTinymce/HuiTinymce.vue.d.ts +62 -0
- package/types/components/HuiTinymce/HuiTinymceLinkHooks.d.ts +3 -0
- package/types/components/HuiTinymce/HuiTinymceSettingHooks.d.ts +3 -0
- package/types/components/HuiTinymce/index.d.ts +66 -0
- package/types/components/HuiTinymce/type.d.ts +51 -0
- package/types/components/HuiTinymceDialog/HuiTinymceDialog.vue.d.ts +53 -0
- package/types/components/HuiTinymceDialog/index.d.ts +78 -0
- package/types/components/HuiTinymceDialog/type.d.ts +12 -0
- package/types/components/HuiTip/HuiTip.vue.d.ts +22 -0
- package/types/components/HuiTip/index.d.ts +99 -0
- package/types/components/HuiTip/type.d.ts +14 -0
- package/types/components-install-list.d.ts +3328 -0
- package/types/components.d.ts +21 -0
- package/types/delegate.d.ts +41 -0
- package/types/directives/index.d.ts +4 -0
- package/types/directives/install-loadmore.d.ts +7 -0
- package/types/directives/select-loadmore.d.ts +7 -0
- package/types/hooks/index.d.ts +3 -0
- package/types/hooks/useHuiDialog/useHuiDialog.d.ts +18 -0
- package/types/hooks/useHuiFormDialog/formDialogPropsDef.d.ts +3 -0
- package/types/hooks/useHuiFormDialog/type.d.ts +90 -0
- package/types/hooks/useHuiFormDialog/useHuiFormDialog.d.ts +32 -0
- package/types/index.d.ts +13 -0
- package/types/install-helper/install.d.ts +18 -0
- package/types/install-helper/typescript.d.ts +14 -0
- package/types/utils/hui-rules.d.ts +80 -0
- package/types/utils/hui-tool/index.d.ts +8 -0
- package/types/utils/hui-tool/message-box/index.d.ts +18 -0
- package/types/utils/hui-tool/message-box/message-box.vue.d.ts +36 -0
- package/types/utils/hui-tool/msg-tool.d.ts +26 -0
- package/types/utils/index.d.ts +2 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../install-helper/typescript';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { IPointItem, IPointTextStyle } from './type';
|
|
4
|
+
/**
|
|
5
|
+
* 组件导出
|
|
6
|
+
*/
|
|
7
|
+
export declare const HuiAMapMassMarkers: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
8
|
+
modelValue: PropType<any>;
|
|
9
|
+
iconPath: {
|
|
10
|
+
type: PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
value: {
|
|
14
|
+
type: PropType<IPointItem>;
|
|
15
|
+
};
|
|
16
|
+
width: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
height: {
|
|
21
|
+
type: PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
showLabel: {
|
|
25
|
+
type: PropType<boolean>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
direction: {
|
|
29
|
+
type: PropType<"top" | "right" | "bottom" | "left" | "center">;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
textStyle: {
|
|
33
|
+
type: PropType<IPointTextStyle>;
|
|
34
|
+
default: () => {
|
|
35
|
+
fontSize: number;
|
|
36
|
+
fillColor: any;
|
|
37
|
+
backgroundColor: any;
|
|
38
|
+
borderRadius: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
iconSize: {
|
|
42
|
+
type: PropType<[number, number]>;
|
|
43
|
+
default: () => number[];
|
|
44
|
+
};
|
|
45
|
+
mapCenter: {
|
|
46
|
+
type: PropType<[number, number]>;
|
|
47
|
+
default: () => number[];
|
|
48
|
+
};
|
|
49
|
+
}>, {
|
|
50
|
+
handleLabelMarkerClick: (event: any, point: any) => void;
|
|
51
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
52
|
+
pointClick: (...args: any[]) => void;
|
|
53
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
54
|
+
modelValue: PropType<any>;
|
|
55
|
+
iconPath: {
|
|
56
|
+
type: PropType<string>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
value: {
|
|
60
|
+
type: PropType<IPointItem>;
|
|
61
|
+
};
|
|
62
|
+
width: {
|
|
63
|
+
type: PropType<string>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
height: {
|
|
67
|
+
type: PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
showLabel: {
|
|
71
|
+
type: PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
direction: {
|
|
75
|
+
type: PropType<"top" | "right" | "bottom" | "left" | "center">;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
textStyle: {
|
|
79
|
+
type: PropType<IPointTextStyle>;
|
|
80
|
+
default: () => {
|
|
81
|
+
fontSize: number;
|
|
82
|
+
fillColor: any;
|
|
83
|
+
backgroundColor: any;
|
|
84
|
+
borderRadius: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
iconSize: {
|
|
88
|
+
type: PropType<[number, number]>;
|
|
89
|
+
default: () => number[];
|
|
90
|
+
};
|
|
91
|
+
mapCenter: {
|
|
92
|
+
type: PropType<[number, number]>;
|
|
93
|
+
default: () => number[];
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{
|
|
96
|
+
onPointClick?: (...args: any[]) => any;
|
|
97
|
+
}>, {
|
|
98
|
+
iconPath: string;
|
|
99
|
+
width: string;
|
|
100
|
+
height: string;
|
|
101
|
+
showLabel: boolean;
|
|
102
|
+
direction: "top" | "right" | "bottom" | "left" | "center";
|
|
103
|
+
textStyle: IPointTextStyle;
|
|
104
|
+
iconSize: [number, number];
|
|
105
|
+
mapCenter: [number, number];
|
|
106
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
107
|
+
export default HuiAMapMassMarkers;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 接收的 props
|
|
3
|
+
*/
|
|
4
|
+
export interface HuiAMapMassMarkersPropsType {
|
|
5
|
+
/** 绑定的值 */
|
|
6
|
+
value?: IPointItem;
|
|
7
|
+
/** 组件宽度 */
|
|
8
|
+
width?: string;
|
|
9
|
+
/** 组件高度 */
|
|
10
|
+
height?: string;
|
|
11
|
+
/** */
|
|
12
|
+
showLabel?: boolean;
|
|
13
|
+
/** 文本相对于图标的方向 'top' 'right' 'bottom' 'left' 'center'
|
|
14
|
+
*/
|
|
15
|
+
direction?: 'top' | 'right' | 'bottom' | 'left' | 'center';
|
|
16
|
+
/** 文本样式的配置对象 */
|
|
17
|
+
textStyle?: IPointTextStyle;
|
|
18
|
+
/** 标记点图标路径 */
|
|
19
|
+
iconPath?: string;
|
|
20
|
+
/** 图标式样式 */
|
|
21
|
+
iconSize?: [number, number];
|
|
22
|
+
/** map中心位置 */
|
|
23
|
+
mapCenter?: [number, number];
|
|
24
|
+
}
|
|
25
|
+
export interface IPointItem {
|
|
26
|
+
/** id */
|
|
27
|
+
id?: number | string;
|
|
28
|
+
/** 位置名称 */
|
|
29
|
+
name?: string;
|
|
30
|
+
/** 经纬度 */
|
|
31
|
+
position: [number, number];
|
|
32
|
+
/** 标记图标 */
|
|
33
|
+
iconPath?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 其他属性
|
|
36
|
+
*/
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}
|
|
39
|
+
export interface IPointTextStyle {
|
|
40
|
+
/** 字体大小,单位为像素 */
|
|
41
|
+
fontSize?: number | string;
|
|
42
|
+
/** 文本颜色,例如 '#000000' */
|
|
43
|
+
fillColor?: string;
|
|
44
|
+
/** 文本描边颜色 */
|
|
45
|
+
strokeColor?: string;
|
|
46
|
+
/** 文本描边宽度 */
|
|
47
|
+
strokeWidth?: string;
|
|
48
|
+
/** 文本背景颜色 */
|
|
49
|
+
backgroundColor?: string;
|
|
50
|
+
/** 文本的内边距,格式为 [top, right, bottom, left] */
|
|
51
|
+
padding?: [number, number, number, number];
|
|
52
|
+
/** 文本背景的圆角半径 */
|
|
53
|
+
borderRadius?: number;
|
|
54
|
+
/** 文本背景的边框宽度 */
|
|
55
|
+
borderWidth?: string;
|
|
56
|
+
/** 文本背景的边框颜色 */
|
|
57
|
+
borderColor?: string;
|
|
58
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function loadMap(): void;
|
|
3
|
+
declare function setupMap(): void;
|
|
4
|
+
declare function submitInfo(): boolean;
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
modelValue: PropType<any>;
|
|
7
|
+
iconPath: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
value: {
|
|
12
|
+
type: PropType<any>;
|
|
13
|
+
};
|
|
14
|
+
width: {
|
|
15
|
+
type: PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
height: {
|
|
19
|
+
type: PropType<string>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
showInput: {
|
|
27
|
+
type: PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
iconClass: {
|
|
31
|
+
type: PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>, {
|
|
35
|
+
loadMap: typeof loadMap;
|
|
36
|
+
setupMap: typeof setupMap;
|
|
37
|
+
poi: ModelRef<any, string, any, any>;
|
|
38
|
+
submitInfo: typeof submitInfo;
|
|
39
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
40
|
+
modelValue: PropType<any>;
|
|
41
|
+
iconPath: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
value: {
|
|
46
|
+
type: PropType<any>;
|
|
47
|
+
};
|
|
48
|
+
width: {
|
|
49
|
+
type: PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
height: {
|
|
53
|
+
type: PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
disabled: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
showInput: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
iconClass: {
|
|
65
|
+
type: PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{}>, {
|
|
69
|
+
iconPath: string;
|
|
70
|
+
width: string;
|
|
71
|
+
height: string;
|
|
72
|
+
disabled: boolean;
|
|
73
|
+
showInput: boolean;
|
|
74
|
+
iconClass: string;
|
|
75
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../install-helper/typescript';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* 倒计时按钮
|
|
5
|
+
*/
|
|
6
|
+
export declare const HuiAMapSearchAddress: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
7
|
+
modelValue: PropType<any>;
|
|
8
|
+
iconPath: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
value: {
|
|
13
|
+
type: PropType<any>;
|
|
14
|
+
};
|
|
15
|
+
width: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
height: {
|
|
20
|
+
type: PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
type: PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
showInput: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
iconClass: {
|
|
32
|
+
type: PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>, {
|
|
36
|
+
loadMap: () => void;
|
|
37
|
+
setupMap: () => void;
|
|
38
|
+
poi: ModelRef<any, string, any, any>;
|
|
39
|
+
submitInfo: () => boolean;
|
|
40
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
41
|
+
modelValue: PropType<any>;
|
|
42
|
+
iconPath: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
value: {
|
|
47
|
+
type: PropType<any>;
|
|
48
|
+
};
|
|
49
|
+
width: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
height: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
showInput: {
|
|
62
|
+
type: PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
iconClass: {
|
|
66
|
+
type: PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
}>> & Readonly<{}>, {
|
|
70
|
+
iconPath: string;
|
|
71
|
+
width: string;
|
|
72
|
+
height: string;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
showInput: boolean;
|
|
75
|
+
iconClass: string;
|
|
76
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
77
|
+
export default HuiAMapSearchAddress;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 接受的 props
|
|
3
|
+
*/
|
|
4
|
+
export interface HuiAMapSearchAddressPropsType {
|
|
5
|
+
/** 输入框是否禁用 */
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/** amp绑定的值 */
|
|
8
|
+
value?: any;
|
|
9
|
+
/** 组件宽度 */
|
|
10
|
+
width?: string;
|
|
11
|
+
/** 组件高度 */
|
|
12
|
+
height?: string;
|
|
13
|
+
/** 是否展示输入框 ,一般在组件是弹窗的时候才展示输入框 */
|
|
14
|
+
showInput?: boolean;
|
|
15
|
+
/** 标记点图标路径 */
|
|
16
|
+
iconPath?: string;
|
|
17
|
+
/** 图标式样式 */
|
|
18
|
+
iconClass?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HuiAMapSearchAddressDialogPropsType } from './type.ts';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiAMapSearchAddressDialogPropsType>, {
|
|
5
|
+
width: string;
|
|
6
|
+
title: string;
|
|
7
|
+
}>>, {
|
|
8
|
+
open: (dataId?: string, info?: {}) => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
onSubmit: (poi: any) => void;
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiAMapSearchAddressDialogPropsType>, {
|
|
13
|
+
width: string;
|
|
14
|
+
title: string;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
onOnSubmit?: (poi: any) => any;
|
|
17
|
+
}>, {
|
|
18
|
+
title: string;
|
|
19
|
+
width: string;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../install-helper/typescript';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* 地图选择位置弹窗
|
|
5
|
+
*/
|
|
6
|
+
export declare const HuiAMapSearchAddressDialog: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
7
|
+
title: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
iconPath: {
|
|
12
|
+
type: PropType<string>;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
type: PropType<any>;
|
|
16
|
+
};
|
|
17
|
+
width: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
height: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: PropType<boolean>;
|
|
26
|
+
};
|
|
27
|
+
showInput: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
};
|
|
30
|
+
iconClass: {
|
|
31
|
+
type: PropType<string>;
|
|
32
|
+
};
|
|
33
|
+
}>, {
|
|
34
|
+
open: (dataId?: string, info?: {}) => void;
|
|
35
|
+
close: () => void;
|
|
36
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
+
onSubmit: (poi: any) => void;
|
|
38
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
|
+
title: {
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
iconPath: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
};
|
|
46
|
+
value: {
|
|
47
|
+
type: PropType<any>;
|
|
48
|
+
};
|
|
49
|
+
width: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
height: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
};
|
|
56
|
+
disabled: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
showInput: {
|
|
60
|
+
type: PropType<boolean>;
|
|
61
|
+
};
|
|
62
|
+
iconClass: {
|
|
63
|
+
type: PropType<string>;
|
|
64
|
+
};
|
|
65
|
+
}>> & Readonly<{
|
|
66
|
+
onOnSubmit?: (poi: any) => any;
|
|
67
|
+
}>, {
|
|
68
|
+
title: string;
|
|
69
|
+
width: string;
|
|
70
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
71
|
+
export default HuiAMapSearchAddressDialog;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HuiAMapSearchAddressPropsType } from '../HuiAMapSearchAddress/type';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* HuiAMapSelectAddressDialogPropsType 需要的props参数
|
|
5
|
+
*/
|
|
6
|
+
export type HuiAMapSearchAddressDialogPropsType = HuiAMapSearchAddressPropsType & {
|
|
7
|
+
/** 弹窗宽度 */
|
|
8
|
+
width?: string;
|
|
9
|
+
/** 弹窗标题 */
|
|
10
|
+
title?: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* HuiAMapSelectAddressDialog emit事件
|
|
14
|
+
*/
|
|
15
|
+
export type HuiTinymceDialogEmitType = {
|
|
16
|
+
onSubmit: [poi: any];
|
|
17
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function setupMap(): void;
|
|
3
|
+
declare function submitInfo(): boolean;
|
|
4
|
+
declare function loadMap(): void;
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
modelValue: PropType<any>;
|
|
7
|
+
iconPath: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
value: {
|
|
12
|
+
type: PropType<any>;
|
|
13
|
+
};
|
|
14
|
+
width: {
|
|
15
|
+
type: PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
height: {
|
|
19
|
+
type: PropType<string>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
showInput: {
|
|
27
|
+
type: PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
iconClass: {
|
|
31
|
+
type: PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>, {
|
|
35
|
+
loadMap: typeof loadMap;
|
|
36
|
+
setupMap: typeof setupMap;
|
|
37
|
+
poi: ModelRef<any, string, any, any>;
|
|
38
|
+
submitInfo: typeof submitInfo;
|
|
39
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
40
|
+
modelValue: PropType<any>;
|
|
41
|
+
iconPath: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
value: {
|
|
46
|
+
type: PropType<any>;
|
|
47
|
+
};
|
|
48
|
+
width: {
|
|
49
|
+
type: PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
height: {
|
|
53
|
+
type: PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
disabled: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
showInput: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
iconClass: {
|
|
65
|
+
type: PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{}>, {
|
|
69
|
+
iconPath: string;
|
|
70
|
+
width: string;
|
|
71
|
+
height: string;
|
|
72
|
+
disabled: boolean;
|
|
73
|
+
showInput: boolean;
|
|
74
|
+
iconClass: string;
|
|
75
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../install-helper/typescript';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* 倒计时按钮
|
|
5
|
+
*/
|
|
6
|
+
export declare const HuiAMapSelectAddress: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
7
|
+
modelValue: PropType<any>;
|
|
8
|
+
iconPath: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
value: {
|
|
13
|
+
type: PropType<any>;
|
|
14
|
+
};
|
|
15
|
+
width: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
height: {
|
|
20
|
+
type: PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
type: PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
showInput: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
iconClass: {
|
|
32
|
+
type: PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>, {
|
|
36
|
+
loadMap: () => void;
|
|
37
|
+
setupMap: () => void;
|
|
38
|
+
poi: ModelRef<any, string, any, any>;
|
|
39
|
+
submitInfo: () => boolean;
|
|
40
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
41
|
+
modelValue: PropType<any>;
|
|
42
|
+
iconPath: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
value: {
|
|
47
|
+
type: PropType<any>;
|
|
48
|
+
};
|
|
49
|
+
width: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
height: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
showInput: {
|
|
62
|
+
type: PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
iconClass: {
|
|
66
|
+
type: PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
}>> & Readonly<{}>, {
|
|
70
|
+
iconPath: string;
|
|
71
|
+
width: string;
|
|
72
|
+
height: string;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
showInput: boolean;
|
|
75
|
+
iconClass: string;
|
|
76
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
77
|
+
export default HuiAMapSelectAddress;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 接受的 props
|
|
3
|
+
*/
|
|
4
|
+
export interface HuiAMapSelectAddressPropsType {
|
|
5
|
+
/** 输入框是否禁用 */
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/** amp绑定的值 */
|
|
8
|
+
value?: any;
|
|
9
|
+
/** 组件宽度 */
|
|
10
|
+
width?: string;
|
|
11
|
+
/** 组件高度 */
|
|
12
|
+
height?: string;
|
|
13
|
+
/** 是否展示输入框 ,一般在组件是弹窗的时候才展示输入框 */
|
|
14
|
+
showInput?: boolean;
|
|
15
|
+
/** 标记点图标路径 */
|
|
16
|
+
iconPath?: string;
|
|
17
|
+
/** 图标式样式 */
|
|
18
|
+
iconClass?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HuiAMapSelectAddressDialogPropsType } from './type.ts';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiAMapSelectAddressDialogPropsType>, {
|
|
5
|
+
width: string;
|
|
6
|
+
title: string;
|
|
7
|
+
}>>, {
|
|
8
|
+
open: (dataId?: string, info?: {}) => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
onSubmit: (poi: any) => void;
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiAMapSelectAddressDialogPropsType>, {
|
|
13
|
+
width: string;
|
|
14
|
+
title: string;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
onOnSubmit?: (poi: any) => any;
|
|
17
|
+
}>, {
|
|
18
|
+
title: string;
|
|
19
|
+
width: string;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|