zjh-web-ui 1.0.10 → 1.0.12
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 -1
- package/config/resolver.js +1 -1
- package/dist/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.js +23 -23
- package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.js +2 -2
- package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue2.js +27 -27
- package/dist/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.js +38 -38
- package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.js +2 -2
- package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue2.js +80 -80
- package/dist/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.js +23 -23
- package/dist/components/HuiCountDownButton/HuiCountDownButton.vue.js +14 -14
- package/dist/components/HuiDataView/HuiDataView.vue2.js +37 -37
- package/dist/components/HuiGridForm/HuiGridForm.vue.js +2 -2
- package/dist/components/HuiGridForm/HuiGridForm.vue2.js +103 -103
- package/dist/components/HuiGridForm/HuiGridFormHooks.js +1 -1
- package/dist/components/HuiLineEditDialog/HuiLineEditDialog.vue2.js +69 -69
- package/dist/components/HuiLineEditPopover/HuiLineEditPopover.vue2.js +47 -47
- package/dist/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.js +21 -21
- package/dist/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.js +49 -49
- package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.js +2 -2
- package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue2.js +3 -3
- package/dist/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.js +14 -14
- package/dist/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.js +18 -18
- package/dist/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.js +50 -50
- package/dist/components/HuiTags/HuiTags.vue2.js +9 -9
- package/dist/components/HuiTagsMore/HuiTagsMore.vue.js +12 -16
- package/dist/components/HuiTinymce/HuiTinymce.vue.js +10 -10
- package/dist/components/HuiTinymce/HuiTinymceLinkHooks.js +1 -1
- package/dist/components/HuiTinymce/HuiTinymceSettingHooks.js +1 -1
- package/dist/components/HuiTinymceDialog/HuiTinymceDialog.vue.js +43 -43
- package/dist/components/HuiTip/HuiTip.vue.js +15 -15
- package/dist/hooks/useHuiFormDialog/useHuiFormDialog.js +1 -1
- package/dist/index.d.ts +2116 -0
- package/dist/style.css +1 -1
- package/dist/utils/hui-rules.js +1 -1
- package/dist/utils/hui-tool/message-box/index.js +7 -7
- package/dist/utils/hui-tool/message-box/message-box.vue2.js +112 -0
- package/dist/utils/hui-tool/message-box/message-box.vue3.js +2 -2
- package/global.d.ts +21 -21
- package/package.json +2 -2
- package/src/css/common-font.scss +3 -3
- package/types/index.d.ts +2115 -12
- package/dist/utils/hui-tool/message-box/message-box.vue.js +0 -112
- package/types/components/AMapConfig.d.ts +0 -2
- package/types/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.d.ts +0 -105
- package/types/components/HuiAMapMassMarkers/index.d.ts +0 -107
- package/types/components/HuiAMapMassMarkers/type.d.ts +0 -58
- package/types/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.d.ts +0 -76
- package/types/components/HuiAMapSearchAddress/index.d.ts +0 -77
- package/types/components/HuiAMapSearchAddress/type.d.ts +0 -19
- package/types/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.d.ts +0 -38
- package/types/components/HuiAMapSearchAddressDialog/index.d.ts +0 -71
- package/types/components/HuiAMapSearchAddressDialog/type.d.ts +0 -17
- package/types/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.d.ts +0 -76
- package/types/components/HuiAMapSelectAddress/index.d.ts +0 -77
- package/types/components/HuiAMapSelectAddress/type.d.ts +0 -19
- package/types/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.d.ts +0 -38
- package/types/components/HuiAMapSelectAddressDialog/index.d.ts +0 -71
- package/types/components/HuiAMapSelectAddressDialog/type.d.ts +0 -17
- package/types/components/HuiCountDownButton/HuiCountDownButton.vue.d.ts +0 -44
- package/types/components/HuiCountDownButton/index.d.ts +0 -76
- package/types/components/HuiCountDownButton/type.d.ts +0 -20
- package/types/components/HuiDataView/HuiDataView.vue.d.ts +0 -60
- package/types/components/HuiDataView/index.d.ts +0 -109
- package/types/components/HuiDataView/type.d.ts +0 -49
- package/types/components/HuiGridForm/HuiGridForm.vue.d.ts +0 -77
- package/types/components/HuiGridForm/HuiGridFormHooks.d.ts +0 -4
- package/types/components/HuiGridForm/index.d.ts +0 -175
- package/types/components/HuiGridForm/type.d.ts +0 -67
- package/types/components/HuiLineEditDialog/HuiLineEditDialog.vue.d.ts +0 -75
- package/types/components/HuiLineEditDialog/index.d.ts +0 -173
- package/types/components/HuiLineEditDialog/type.d.ts +0 -86
- package/types/components/HuiLineEditPopover/HuiLineEditPopover.vue.d.ts +0 -74
- package/types/components/HuiLineEditPopover/index.d.ts +0 -133
- package/types/components/HuiLineEditPopover/type.d.ts +0 -23
- package/types/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.d.ts +0 -31
- package/types/components/HuiPreviewRichTextDialog/index.d.ts +0 -22
- package/types/components/HuiPreviewRichTextDialog/type.d.ts +0 -4
- package/types/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.d.ts +0 -53
- package/types/components/HuiRegionTreeDialog/index.d.ts +0 -68
- package/types/components/HuiRegionTreeDialog/type.d.ts +0 -24
- package/types/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.d.ts +0 -25
- package/types/components/HuiRegionTreeSelect/index.d.ts +0 -29
- package/types/components/HuiRegionTreeSelect/type.d.ts +0 -6
- package/types/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.d.ts +0 -14
- package/types/components/HuiSelectLoadStatus/index.d.ts +0 -33
- package/types/components/HuiSelectLoadStatus/type.d.ts +0 -11
- package/types/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.d.ts +0 -37
- package/types/components/HuiShowUrlDialog/index.d.ts +0 -40
- package/types/components/HuiShowUrlDialog/type.d.ts +0 -11
- package/types/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.d.ts +0 -44
- package/types/components/HuiStringArrayInputDialog/index.d.ts +0 -67
- package/types/components/HuiStringArrayInputDialog/type.d.ts +0 -33
- package/types/components/HuiTags/HuiTags.vue.d.ts +0 -37
- package/types/components/HuiTags/index.d.ts +0 -36
- package/types/components/HuiTagsMore/HuiTagsMore.vue.d.ts +0 -93
- package/types/components/HuiTagsMore/index.d.ts +0 -92
- package/types/components/HuiTinymce/HuiTinymce.vue.d.ts +0 -62
- package/types/components/HuiTinymce/HuiTinymceLinkHooks.d.ts +0 -3
- package/types/components/HuiTinymce/HuiTinymceSettingHooks.d.ts +0 -3
- package/types/components/HuiTinymce/index.d.ts +0 -66
- package/types/components/HuiTinymce/type.d.ts +0 -51
- package/types/components/HuiTinymceDialog/HuiTinymceDialog.vue.d.ts +0 -53
- package/types/components/HuiTinymceDialog/index.d.ts +0 -78
- package/types/components/HuiTinymceDialog/type.d.ts +0 -12
- package/types/components/HuiTip/HuiTip.vue.d.ts +0 -22
- package/types/components/HuiTip/index.d.ts +0 -99
- package/types/components/HuiTip/type.d.ts +0 -14
- package/types/components-install-list.d.ts +0 -3328
- package/types/components.d.ts +0 -21
- package/types/delegate.d.ts +0 -41
- package/types/directives/index.d.ts +0 -4
- package/types/directives/install-loadmore.d.ts +0 -7
- package/types/directives/select-loadmore.d.ts +0 -7
- package/types/hooks/index.d.ts +0 -3
- package/types/hooks/useHuiDialog/useHuiDialog.d.ts +0 -18
- package/types/hooks/useHuiFormDialog/formDialogPropsDef.d.ts +0 -3
- package/types/hooks/useHuiFormDialog/type.d.ts +0 -90
- package/types/hooks/useHuiFormDialog/useHuiFormDialog.d.ts +0 -32
- package/types/install-helper/install.d.ts +0 -18
- package/types/install-helper/typescript.d.ts +0 -14
- package/types/utils/hui-rules.d.ts +0 -80
- package/types/utils/hui-tool/index.d.ts +0 -8
- package/types/utils/hui-tool/message-box/index.d.ts +0 -18
- package/types/utils/hui-tool/message-box/message-box.vue.d.ts +0 -36
- package/types/utils/hui-tool/msg-tool.d.ts +0 -26
- package/types/utils/index.d.ts +0 -2
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { defineComponent as b, computed as f, ref as H, onMounted as w, openBlock as o, createElementBlock as l, createVNode as d, unref as s, withCtx as a, createElementVNode as n, createTextVNode as y, toDisplayString as c, normalizeClass as x } from "vue";
|
|
2
|
-
import { ElDialog as L, ElButton as C } from "element-plus";
|
|
3
|
-
import { testUtils as B } from "@hua5/hua5-utils";
|
|
4
|
-
const V = { class: "hua5-message-box" }, N = { class: "flex-y text-left" }, E = ["innerHTML"], M = {
|
|
5
|
-
key: 1,
|
|
6
|
-
class: "text-16 font-bold text-normal ml-11 break-all"
|
|
7
|
-
}, F = ["innerHTML"], z = {
|
|
8
|
-
key: 3,
|
|
9
|
-
class: "text-12 m-t-5 text-secondary ml-11 break-all"
|
|
10
|
-
}, D = { class: "dialog-footer" }, $ = /* @__PURE__ */ b({
|
|
11
|
-
__name: "message-box",
|
|
12
|
-
props: {
|
|
13
|
-
iconType: { default: "info" },
|
|
14
|
-
type: { default: "info" },
|
|
15
|
-
title: {},
|
|
16
|
-
tip: {},
|
|
17
|
-
cancelText: { default: "取消" },
|
|
18
|
-
confirmText: { default: "确定" },
|
|
19
|
-
width: { default: 320 },
|
|
20
|
-
className: {},
|
|
21
|
-
closeBox: { type: Function },
|
|
22
|
-
confirmHandler: { type: Function },
|
|
23
|
-
cancelHandler: { type: Function }
|
|
24
|
-
},
|
|
25
|
-
setup(t) {
|
|
26
|
-
const p = f(() => ({
|
|
27
|
-
info: "text-disabled",
|
|
28
|
-
warning: "text-warning",
|
|
29
|
-
success: "text-success",
|
|
30
|
-
danger: "text-danger"
|
|
31
|
-
})[t.type]), h = f(() => ({
|
|
32
|
-
info: "i-com-gantanhao",
|
|
33
|
-
success: "i-com-gou1",
|
|
34
|
-
question: "i-com-wenhao"
|
|
35
|
-
})[t.iconType]), i = H(!1), g = () => {
|
|
36
|
-
i.value = !0;
|
|
37
|
-
};
|
|
38
|
-
w(() => {
|
|
39
|
-
g();
|
|
40
|
-
});
|
|
41
|
-
const v = () => {
|
|
42
|
-
t.cancelHandler && t.cancelHandler(), m();
|
|
43
|
-
}, T = () => {
|
|
44
|
-
t.confirmHandler && t.confirmHandler(), t.closeBox();
|
|
45
|
-
}, m = () => {
|
|
46
|
-
i.value = !1, t.closeBox && t.closeBox();
|
|
47
|
-
};
|
|
48
|
-
function u(e) {
|
|
49
|
-
return e = e.trim(), /^<([a-z1-6]+)([^<]+)*(?:>(.*)<\/\1>|\s+\/>)$/i.test(e);
|
|
50
|
-
}
|
|
51
|
-
return (e, r) => (o(), l("div", V, [
|
|
52
|
-
d(s(L), {
|
|
53
|
-
modelValue: i.value,
|
|
54
|
-
"onUpdate:modelValue": r[0] || (r[0] = (k) => i.value = k),
|
|
55
|
-
width: e.width,
|
|
56
|
-
"align-center": "",
|
|
57
|
-
onClosed: m
|
|
58
|
-
}, {
|
|
59
|
-
footer: a(() => [
|
|
60
|
-
n("div", D, [
|
|
61
|
-
d(s(C), {
|
|
62
|
-
class: "!text-primary !border !border-1 !border-primary",
|
|
63
|
-
onClick: v
|
|
64
|
-
}, {
|
|
65
|
-
default: a(() => [
|
|
66
|
-
y(c(e.cancelText), 1)
|
|
67
|
-
]),
|
|
68
|
-
_: 1
|
|
69
|
-
}),
|
|
70
|
-
d(s(C), {
|
|
71
|
-
type: "primary",
|
|
72
|
-
class: "w-100px",
|
|
73
|
-
onClick: T
|
|
74
|
-
}, {
|
|
75
|
-
default: a(() => [
|
|
76
|
-
y(c(e.confirmText), 1)
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
})
|
|
80
|
-
])
|
|
81
|
-
]),
|
|
82
|
-
default: a(() => [
|
|
83
|
-
n("div", {
|
|
84
|
-
class: x(["flex flex-center h-110 text-center", [e.className]])
|
|
85
|
-
}, [
|
|
86
|
-
n("div", null, [
|
|
87
|
-
n("i", {
|
|
88
|
-
class: x([p.value, h.value, "icon-com !text-27"])
|
|
89
|
-
}, null, 2)
|
|
90
|
-
]),
|
|
91
|
-
n("div", N, [
|
|
92
|
-
u(e.title) ? (o(), l("div", {
|
|
93
|
-
key: 0,
|
|
94
|
-
class: "ml-11",
|
|
95
|
-
innerHTML: e.title
|
|
96
|
-
}, null, 8, E)) : (o(), l("div", M, c(e.title), 1)),
|
|
97
|
-
s(B).isNotEmpty(e.tip) && u(e.tip) ? (o(), l("div", {
|
|
98
|
-
key: 2,
|
|
99
|
-
class: "m-t-5 ml-11 break-all",
|
|
100
|
-
innerHTML: e.tip
|
|
101
|
-
}, null, 8, F)) : (o(), l("div", z, c(e.tip), 1))
|
|
102
|
-
])
|
|
103
|
-
], 2)
|
|
104
|
-
]),
|
|
105
|
-
_: 1
|
|
106
|
-
}, 8, ["modelValue", "width"])
|
|
107
|
-
]));
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
export {
|
|
111
|
-
$ as default
|
|
112
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { IPointItem, IPointTextStyle } from './type.ts';
|
|
3
|
-
/** 定义一个外部函数来处理点击事件 */
|
|
4
|
-
declare function handleLabelMarkerClick(event: any, point: any): 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<IPointItem>;
|
|
13
|
-
};
|
|
14
|
-
width: {
|
|
15
|
-
type: PropType<string>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
height: {
|
|
19
|
-
type: PropType<string>;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
showLabel: {
|
|
23
|
-
type: PropType<boolean>;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
direction: {
|
|
27
|
-
type: PropType<"top" | "right" | "bottom" | "left" | "center">;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
textStyle: {
|
|
31
|
-
type: PropType<IPointTextStyle>;
|
|
32
|
-
default: () => {
|
|
33
|
-
fontSize: number;
|
|
34
|
-
fillColor: any;
|
|
35
|
-
backgroundColor: any;
|
|
36
|
-
borderRadius: number;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
iconSize: {
|
|
40
|
-
type: PropType<[number, number]>;
|
|
41
|
-
default: () => number[];
|
|
42
|
-
};
|
|
43
|
-
mapCenter: {
|
|
44
|
-
type: PropType<[number, number]>;
|
|
45
|
-
default: () => number[];
|
|
46
|
-
};
|
|
47
|
-
}>, {
|
|
48
|
-
handleLabelMarkerClick: typeof handleLabelMarkerClick;
|
|
49
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
50
|
-
pointClick: (...args: any[]) => void;
|
|
51
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
52
|
-
modelValue: PropType<any>;
|
|
53
|
-
iconPath: {
|
|
54
|
-
type: PropType<string>;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
value: {
|
|
58
|
-
type: PropType<IPointItem>;
|
|
59
|
-
};
|
|
60
|
-
width: {
|
|
61
|
-
type: PropType<string>;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
height: {
|
|
65
|
-
type: PropType<string>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
showLabel: {
|
|
69
|
-
type: PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
direction: {
|
|
73
|
-
type: PropType<"top" | "right" | "bottom" | "left" | "center">;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
textStyle: {
|
|
77
|
-
type: PropType<IPointTextStyle>;
|
|
78
|
-
default: () => {
|
|
79
|
-
fontSize: number;
|
|
80
|
-
fillColor: any;
|
|
81
|
-
backgroundColor: any;
|
|
82
|
-
borderRadius: number;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
iconSize: {
|
|
86
|
-
type: PropType<[number, number]>;
|
|
87
|
-
default: () => number[];
|
|
88
|
-
};
|
|
89
|
-
mapCenter: {
|
|
90
|
-
type: PropType<[number, number]>;
|
|
91
|
-
default: () => number[];
|
|
92
|
-
};
|
|
93
|
-
}>> & Readonly<{
|
|
94
|
-
onPointClick?: (...args: any[]) => any;
|
|
95
|
-
}>, {
|
|
96
|
-
iconPath: string;
|
|
97
|
-
width: string;
|
|
98
|
-
height: string;
|
|
99
|
-
showLabel: boolean;
|
|
100
|
-
direction: "top" | "right" | "bottom" | "left" | "center";
|
|
101
|
-
textStyle: IPointTextStyle;
|
|
102
|
-
iconSize: [number, number];
|
|
103
|
-
mapCenter: [number, number];
|
|
104
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
105
|
-
export default _default;
|
|
@@ -1,107 +0,0 @@
|
|
|
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;
|
|
@@ -1,58 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
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;
|
|
@@ -1,77 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
} & {};
|
|
@@ -1,71 +0,0 @@
|
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
};
|