hy-dispatch-ui-v3 0.2.78 → 0.2.80
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/dist/tailwind.css +18 -4
- package/es/components/hyDatePicker/datePicker.vue.mjs +34 -4
- package/es/components/hyForm/cpns/formItem.vue.mjs +71 -62
- package/es/components/hyForm/js/useAppForm.mjs +4 -3
- package/es/components/hyLocationMap/index.mjs +7 -0
- package/es/components/hyLocationMap/locationMap.vue.mjs +215 -0
- package/es/components/hyLocationMap/style/locationMap.scss +0 -0
- package/es/components/hyMap/js/index.mjs +6 -4
- package/es/components/hySearch/js/useAppSearch.mjs +4 -31
- package/es/components/hyTable/js/search.mjs +1 -1
- package/es/components/hyTooltip/tooltip.vue.mjs +27 -17
- package/es/components/index.mjs +1 -0
- package/es/index.mjs +2 -1
- package/es/utils/form.mjs +68 -22
- package/es/utils/index.mjs +1 -1
- package/es/utils/is.mjs +1 -1
- package/es/utils/permission.mjs +3 -1
- package/es/version.mjs +1 -1
- package/lib/components/hyDatePicker/datePicker.vue.js +32 -2
- package/lib/components/hyForm/cpns/formItem.vue.js +70 -61
- package/lib/components/hyForm/js/useAppForm.js +2 -1
- package/lib/components/hyLocationMap/index.js +12 -0
- package/lib/components/hyLocationMap/locationMap.vue.js +219 -0
- package/lib/components/hyLocationMap/style/locationMap.scss +0 -0
- package/lib/components/hyMap/js/index.js +6 -4
- package/lib/components/hySearch/js/useAppSearch.js +2 -29
- package/lib/components/hyTable/js/search.js +1 -1
- package/lib/components/hyTooltip/tooltip.vue.js +26 -16
- package/lib/components/index.js +30 -28
- package/lib/index.js +50 -46
- package/lib/utils/form.js +69 -21
- package/lib/utils/index.js +2 -0
- package/lib/utils/is.js +1 -1
- package/lib/utils/permission.js +3 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var elementPlus = require('element-plus');
|
|
7
|
+
require('../../utils/index.js');
|
|
8
|
+
require('../index.js');
|
|
9
|
+
require('../../hooks/index.js');
|
|
10
|
+
var index = require('../../utils/map/index.js');
|
|
11
|
+
var useBaseMainStore = require('../../hooks/useBaseMainStore.js');
|
|
12
|
+
var index$1 = require('../hyMap/index.js');
|
|
13
|
+
|
|
14
|
+
const _sfc_main = {
|
|
15
|
+
__name: "locationMap",
|
|
16
|
+
props: {
|
|
17
|
+
html: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ""
|
|
20
|
+
},
|
|
21
|
+
iconSize: {
|
|
22
|
+
type: Array,
|
|
23
|
+
default: null
|
|
24
|
+
},
|
|
25
|
+
iconAnchor: {
|
|
26
|
+
type: Array,
|
|
27
|
+
defalt: null
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
emits: ["setMapSize", "complete", "on-geographicalPosition"],
|
|
31
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
32
|
+
const props = __props;
|
|
33
|
+
const emits = __emit;
|
|
34
|
+
const containerRef = vue.useTemplateRef("containerRef");
|
|
35
|
+
const children = vue.computed(
|
|
36
|
+
() => props.column.children.map((item) => {
|
|
37
|
+
if (item.type === "address") {
|
|
38
|
+
return {
|
|
39
|
+
rightSlot: "addressRight",
|
|
40
|
+
...item,
|
|
41
|
+
type: "input",
|
|
42
|
+
slot: "address",
|
|
43
|
+
attrs: {
|
|
44
|
+
placeholder: "\u8F93\u5165\u5730\u5740\u53EF\u641C\u7D22",
|
|
45
|
+
...item.attrs
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
...item,
|
|
51
|
+
type: "input",
|
|
52
|
+
attrs: {
|
|
53
|
+
// placeholder: item.type === 'lng' ? '经度' : '维度',
|
|
54
|
+
...item.attrs
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
})
|
|
58
|
+
);
|
|
59
|
+
const mapConfig = JSON.parse(window.sessionStorage.getItem("mapConfig") || "{}");
|
|
60
|
+
let hyMap = null;
|
|
61
|
+
let map = null;
|
|
62
|
+
const poiServer = index.setPoiServer(mapConfig);
|
|
63
|
+
let marker = null;
|
|
64
|
+
function placeSearchFn(address) {
|
|
65
|
+
poiServer.placeSearch({
|
|
66
|
+
pageSize: 1,
|
|
67
|
+
// 单页显示结果条数
|
|
68
|
+
pageIndex: 1,
|
|
69
|
+
convertIngAndLat: false,
|
|
70
|
+
query: address
|
|
71
|
+
}).then(({ results }) => {
|
|
72
|
+
console.log(results);
|
|
73
|
+
if (results && results.length) {
|
|
74
|
+
const geographicalPosition = results[0];
|
|
75
|
+
throughCoordinatePosition(geographicalPosition.lng, geographicalPosition.lat);
|
|
76
|
+
} else {
|
|
77
|
+
elementPlus.ElMessage.error("\u6CA1\u6709\u627E\u5230\u641C\u7D22\u5730\u7406\u4F4D\u7F6E");
|
|
78
|
+
}
|
|
79
|
+
}).catch((error) => {
|
|
80
|
+
console.log("\u672A\u627E\u5230\u5730\u5740", error);
|
|
81
|
+
elementPlus.ElMessage.error("\u6CA1\u6709\u627E\u5230\u641C\u7D22\u5730\u7406\u4F4D\u7F6E");
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function throughCoordinatePosition(lng, lat) {
|
|
85
|
+
return new Promise((resolve) => {
|
|
86
|
+
poiServer.geocoderFormat({
|
|
87
|
+
lat,
|
|
88
|
+
lng
|
|
89
|
+
}).then(({ results }) => {
|
|
90
|
+
geographicalPositionFn({
|
|
91
|
+
lng,
|
|
92
|
+
lat,
|
|
93
|
+
address: results.address,
|
|
94
|
+
name: results.address
|
|
95
|
+
});
|
|
96
|
+
resolve(200);
|
|
97
|
+
}).catch(() => {
|
|
98
|
+
geographicalPositionFn({
|
|
99
|
+
lng,
|
|
100
|
+
lat,
|
|
101
|
+
address: `${Number(lat).toFixed(6)}\u3001${Number(lng).toFixed(6)}`,
|
|
102
|
+
name: `${Number(lat).toFixed(6)}\u3001${Number(lng).toFixed(6)}`
|
|
103
|
+
});
|
|
104
|
+
resolve(200);
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
function geographicalPositionFn(obj) {
|
|
109
|
+
const form = {
|
|
110
|
+
address: obj.address,
|
|
111
|
+
lng: obj.lng,
|
|
112
|
+
lat: obj.lat
|
|
113
|
+
};
|
|
114
|
+
emits("on-geographicalPosition", form);
|
|
115
|
+
}
|
|
116
|
+
function complete(initHyMap, initMap) {
|
|
117
|
+
hyMap = initHyMap;
|
|
118
|
+
map = initMap;
|
|
119
|
+
map.on("click", (res) => {
|
|
120
|
+
const latlng = res.latlng;
|
|
121
|
+
setMarker(res.latlng);
|
|
122
|
+
throughCoordinatePosition(latlng.lng, latlng.lat);
|
|
123
|
+
});
|
|
124
|
+
emits("complete", { hyMap, map });
|
|
125
|
+
}
|
|
126
|
+
async function setMarker({ lat, lng }, getAddress = false) {
|
|
127
|
+
if (marker) {
|
|
128
|
+
marker.setLatLng({ lat, lng });
|
|
129
|
+
map.setView({ lat, lng }, mapConfig.maxZoom || 18);
|
|
130
|
+
} else {
|
|
131
|
+
const divIcon = hyMap.DivIcon({
|
|
132
|
+
html: props.html || '<svg class="hy-icon !w-9 !h-14 mr-1 text-auxiliary" svgName="map-marker-trajectory-personnel"><use xlink:href="#hy-icon-map-marker-trajectory-personnel"></use></svg>',
|
|
133
|
+
iconSize: props.iconSize || [36, 56],
|
|
134
|
+
iconAnchor: props.iconAnchor || [20, 56]
|
|
135
|
+
});
|
|
136
|
+
marker = hyMap.Marker({
|
|
137
|
+
icon: divIcon,
|
|
138
|
+
zIndexOffset: 1,
|
|
139
|
+
position: {
|
|
140
|
+
lat,
|
|
141
|
+
lng
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
marker.addTo(map);
|
|
145
|
+
map.setView({ lat, lng }, mapConfig.maxZoom || 18);
|
|
146
|
+
}
|
|
147
|
+
if (getAddress) {
|
|
148
|
+
await throughCoordinatePosition(lng, lat);
|
|
149
|
+
}
|
|
150
|
+
return 200;
|
|
151
|
+
}
|
|
152
|
+
function clearMarker() {
|
|
153
|
+
if (marker) {
|
|
154
|
+
marker.remove();
|
|
155
|
+
marker = null;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
function setMapSize() {
|
|
159
|
+
emits("setMapSize");
|
|
160
|
+
if (map) {
|
|
161
|
+
setTimeout(() => {
|
|
162
|
+
map.invalidateSize();
|
|
163
|
+
setTimeout(() => {
|
|
164
|
+
console.log("marker", marker);
|
|
165
|
+
if (marker) {
|
|
166
|
+
const latlng = marker.getLatLng();
|
|
167
|
+
console.log("latlng", latlng);
|
|
168
|
+
map.setView({ lat: latlng.lat, lng: latlng.lng }, mapConfig.maxZoom || 18);
|
|
169
|
+
} else {
|
|
170
|
+
const { baseMainStore } = useBaseMainStore.useBaseMainStore();
|
|
171
|
+
const userInfo = baseMainStore.value.getters.userInfo;
|
|
172
|
+
console.log("userInfo", userInfo);
|
|
173
|
+
if (userInfo) {
|
|
174
|
+
map.setView({ lat: userInfo.lat, lng: userInfo.lng }, mapConfig.maxZoom || 18);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function setView({ lat, lng }, zoom) {
|
|
182
|
+
map.setView({ lat, lng }, zoom || mapConfig.maxZoom || 18);
|
|
183
|
+
}
|
|
184
|
+
vue.onBeforeUnmount(() => {
|
|
185
|
+
if (marker) {
|
|
186
|
+
marker.remove();
|
|
187
|
+
}
|
|
188
|
+
if (map) {
|
|
189
|
+
map.removeMap();
|
|
190
|
+
}
|
|
191
|
+
map = null;
|
|
192
|
+
hyMap = null;
|
|
193
|
+
});
|
|
194
|
+
__expose({
|
|
195
|
+
setMarker,
|
|
196
|
+
clearMarker,
|
|
197
|
+
placeSearchFn,
|
|
198
|
+
setMapSize,
|
|
199
|
+
setView
|
|
200
|
+
});
|
|
201
|
+
return (_ctx, _cache) => {
|
|
202
|
+
return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full flex flex-col" }, [
|
|
203
|
+
vue.createElementVNode("div", {
|
|
204
|
+
class: "relative z-50 text-xl text-red-800",
|
|
205
|
+
onClick: setMapSize
|
|
206
|
+
}, "111111111"),
|
|
207
|
+
vue.createElementVNode("div", { class: "w-full h-full relative z-10" }, [
|
|
208
|
+
vue.createVNode(vue.unref(index$1.HyMap), {
|
|
209
|
+
mapType: vue.unref(mapConfig).mapType,
|
|
210
|
+
mapConfig: vue.unref(mapConfig),
|
|
211
|
+
onComplete: complete
|
|
212
|
+
}, null, 8, ["mapType", "mapConfig"])
|
|
213
|
+
])
|
|
214
|
+
]);
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
exports.default = _sfc_main;
|
|
File without changes
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('../../../utils/map/index.js');
|
|
4
4
|
var vue = require('vue');
|
|
5
|
+
require('../../../hooks/index.js');
|
|
6
|
+
var useBaseMainStore = require('../../../hooks/useBaseMainStore.js');
|
|
5
7
|
|
|
6
8
|
const useAppMapWrapper = (hy) => {
|
|
7
9
|
const {
|
|
@@ -135,13 +137,13 @@ const useAppMapWrapper = (hy) => {
|
|
|
135
137
|
delete container._amap_id;
|
|
136
138
|
container.innerHTML = "";
|
|
137
139
|
}
|
|
140
|
+
const { baseMainStore } = useBaseMainStore.useBaseMainStore();
|
|
141
|
+
const userInfo = baseMainStore.value.getters.userInfo;
|
|
142
|
+
console.log("\u5730\u56FE\u521D\u59CB\u5316: userInfo", userInfo);
|
|
138
143
|
hy.map.value = hy.hyMap.value.InitMap(mapRef.value, {
|
|
139
144
|
minZoom: mapConfig.minZoom || 8,
|
|
140
145
|
maxZoom: mapConfig.maxZoom || 18,
|
|
141
|
-
center:
|
|
142
|
-
lat: 22.553681,
|
|
143
|
-
lng: 113.931936
|
|
144
|
-
},
|
|
146
|
+
center: { lat: userInfo?.lat || 22.553681, lng: userInfo?.lng || 113.931936 },
|
|
145
147
|
zoom: mapConfig.zoom || 14,
|
|
146
148
|
completeCallbacks: () => {
|
|
147
149
|
vue.nextTick(() => {
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
require('../../../hooks/index.js');
|
|
5
5
|
require('../../../utils/index.js');
|
|
6
|
-
var is = require('../../../utils/is.js');
|
|
7
|
-
var useLocale = require('../../../hooks/useLocale.js');
|
|
8
6
|
var form = require('../../../utils/form.js');
|
|
9
7
|
var handler = require('../../../utils/handler.js');
|
|
10
8
|
|
|
@@ -33,31 +31,6 @@ const genColumnWidth = (config) => {
|
|
|
33
31
|
}
|
|
34
32
|
return { width, inputWidth };
|
|
35
33
|
};
|
|
36
|
-
const timeRangeOptionsHandler = (config) => {
|
|
37
|
-
const { timeRangeOptions } = config || {};
|
|
38
|
-
if (!timeRangeOptions?.length) return timeRangeOptions;
|
|
39
|
-
return timeRangeOptions.reduce((list, item) => {
|
|
40
|
-
let { value, label, unit } = item;
|
|
41
|
-
if (!value || !is.isNumber(value) || isNaN(value)) return list;
|
|
42
|
-
const isPlural = value > 1;
|
|
43
|
-
if (!label) {
|
|
44
|
-
switch (unit) {
|
|
45
|
-
case "year":
|
|
46
|
-
label = useLocale.$t("hy.lastDate", [value + useLocale.$t(isPlural ? "hy.years" : "hy.year")]);
|
|
47
|
-
break;
|
|
48
|
-
case "month":
|
|
49
|
-
label = useLocale.$t("hy.lastDate", [value + useLocale.$t(isPlural ? "hy.months" : "hy.month")]);
|
|
50
|
-
break;
|
|
51
|
-
case "day":
|
|
52
|
-
default:
|
|
53
|
-
unit = "day";
|
|
54
|
-
label = value === 1 ? useLocale.$t("hy.today") : useLocale.$t("hy.lastDate", [value + useLocale.$t(isPlural ? "hy.days" : "hy.day")]);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
list.push({ ...item, label, unit });
|
|
58
|
-
return list;
|
|
59
|
-
}, []);
|
|
60
|
-
};
|
|
61
34
|
function appSearchItemHandler(column = {}) {
|
|
62
35
|
const label = form.genColumnDefaultLabel(column);
|
|
63
36
|
const attrs = {
|
|
@@ -74,7 +47,7 @@ function appSearchItemHandler(column = {}) {
|
|
|
74
47
|
readonly: column.readonly || false,
|
|
75
48
|
width,
|
|
76
49
|
inputWidth,
|
|
77
|
-
timeRangeOptions:
|
|
50
|
+
timeRangeOptions: form.columnTimeRangeOptionsHandler(column),
|
|
78
51
|
attrs
|
|
79
52
|
}
|
|
80
53
|
);
|
|
@@ -106,7 +79,7 @@ function appSearchItemHandler(column = {}) {
|
|
|
106
79
|
}
|
|
107
80
|
const resetAppSearchValue = (columns = [], obj = {}) => {
|
|
108
81
|
for (const item of columns) {
|
|
109
|
-
const value =
|
|
82
|
+
const value = form.columnDefaultValueHandler(item);
|
|
110
83
|
if (Array.isArray(item.prop)) {
|
|
111
84
|
for (let i = 0; i < item.prop.length; i++) {
|
|
112
85
|
form.genValueByProp(obj, item.prop[i], Array.isArray(value) ? value[i] : void 0);
|
|
@@ -48,7 +48,7 @@ function useAppTableSearch(hy) {
|
|
|
48
48
|
} else {
|
|
49
49
|
tableDataSource.value = data;
|
|
50
50
|
}
|
|
51
|
-
totalElements.value = res.data.totalElements;
|
|
51
|
+
totalElements.value = res.data.totalElements || data.length || 0;
|
|
52
52
|
hy.expandRowKeys.value = [];
|
|
53
53
|
emits("reqSuccess", tableDataSource.value);
|
|
54
54
|
}
|
|
@@ -41,6 +41,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
41
41
|
},
|
|
42
42
|
content: {
|
|
43
43
|
type: [String, Number]
|
|
44
|
+
},
|
|
45
|
+
maxWidth: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: "300px"
|
|
48
|
+
},
|
|
49
|
+
maxHeight: {
|
|
50
|
+
type: String
|
|
44
51
|
}
|
|
45
52
|
}, {
|
|
46
53
|
"modelValue": { type: Boolean, default: false },
|
|
@@ -76,11 +83,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
76
83
|
class: "item",
|
|
77
84
|
effect: "dark",
|
|
78
85
|
placement: "top",
|
|
79
|
-
"popper-class": "
|
|
80
|
-
}, _ctx.$attrs, {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
86
|
+
"popper-class": _ctx.$slots.content ? "" : "pr-0"
|
|
87
|
+
}, _ctx.$attrs, { disabled: isDisabled.value }), {
|
|
88
|
+
content: vue.withCtx(() => [
|
|
89
|
+
vue.renderSlot(_ctx.$slots, "content", {}, () => [
|
|
90
|
+
vue.createElementVNode(
|
|
91
|
+
"div",
|
|
92
|
+
{
|
|
93
|
+
class: "scroll-body break-all overflow-y-auto pr-1",
|
|
94
|
+
style: vue.normalizeStyle({ maxWidth: __props.maxWidth, maxHeight: __props.maxHeight })
|
|
95
|
+
},
|
|
96
|
+
vue.toDisplayString(vue.unref(is.isNumber)(__props.content) ? `${__props.content}` : __props.content),
|
|
97
|
+
5
|
|
98
|
+
/* TEXT, STYLE */
|
|
99
|
+
)
|
|
100
|
+
])
|
|
101
|
+
]),
|
|
84
102
|
default: vue.withCtx(() => [
|
|
85
103
|
__props.isAlways ? vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
86
104
|
vue.createTextVNode(
|
|
@@ -109,17 +127,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
109
127
|
/* CLASS, STYLE, NEED_HYDRATION */
|
|
110
128
|
))
|
|
111
129
|
]),
|
|
112
|
-
_:
|
|
113
|
-
/*
|
|
114
|
-
}, [
|
|
115
|
-
_ctx.$slots.content ? {
|
|
116
|
-
name: "content",
|
|
117
|
-
fn: vue.withCtx(() => [
|
|
118
|
-
vue.renderSlot(_ctx.$slots, "content")
|
|
119
|
-
]),
|
|
120
|
-
key: "0"
|
|
121
|
-
} : void 0
|
|
122
|
-
]), 1040, ["visible", "onUpdate:visible", "disabled", "content"]);
|
|
130
|
+
_: 3
|
|
131
|
+
/* FORWARDED */
|
|
132
|
+
}, 16, ["visible", "onUpdate:visible", "popper-class", "disabled"]);
|
|
123
133
|
};
|
|
124
134
|
}
|
|
125
135
|
});
|
package/lib/components/index.js
CHANGED
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$
|
|
3
|
+
var index$n = require('./hyOrgCascader/index.js');
|
|
4
4
|
var index$b = require('./hyConfirmDialog/index.js');
|
|
5
5
|
var index = require('./hyDatePicker/index.js');
|
|
6
6
|
var index$f = require('./hyForm/index.js');
|
|
7
7
|
var index$g = require('./hyIcon/index.js');
|
|
8
8
|
var index$h = require('./hyIconBox/index.js');
|
|
9
|
-
var index$
|
|
10
|
-
var index$
|
|
9
|
+
var index$p = require('./hySearch/index.js');
|
|
10
|
+
var index$r = require('./hyTable/index.js');
|
|
11
11
|
var index$4 = require('./hyTooltip/index.js');
|
|
12
12
|
var index$a = require('./hyConfigProvider/index.js');
|
|
13
13
|
var index$8 = require('./hyButton/index.js');
|
|
14
|
-
var index$
|
|
15
|
-
var index$
|
|
16
|
-
var index$
|
|
14
|
+
var index$v = require('./hyUserAvatar/index.js');
|
|
15
|
+
var index$l = require('./hyNoPermissions/index.js');
|
|
16
|
+
var index$m = require('./hyNoPermissionsMap/index.js');
|
|
17
17
|
var index$c = require('./hyCutter/index.js');
|
|
18
18
|
var index$d = require('./hyDialog/index.js');
|
|
19
|
-
var index$
|
|
20
|
-
var index$
|
|
21
|
-
var index$
|
|
19
|
+
var index$k = require('./hyMenu/index.js');
|
|
20
|
+
var index$u = require('./hyTree/index.js');
|
|
21
|
+
var index$w = require('./hyVideoPlayer/index.js');
|
|
22
22
|
var index$5 = require('./hyAudioPlayer/index.js');
|
|
23
23
|
var index$1 = require('./hyInput/index.js');
|
|
24
24
|
var index$3 = require('./hyTimePicker/index.js');
|
|
25
25
|
var index$6 = require('./hyTableForm/index.js');
|
|
26
|
-
var index$
|
|
26
|
+
var index$s = require('./hyTableActionButton/index.js');
|
|
27
27
|
var index$7 = require('./hyBatchUploadDialog/index.js');
|
|
28
|
-
var index$
|
|
29
|
-
var index$
|
|
28
|
+
var index$j = require('./hyMap/index.js');
|
|
29
|
+
var index$o = require('./hyRadioGroup/index.js');
|
|
30
30
|
var index$2 = require('./hyLoading/index.js');
|
|
31
|
-
var index$
|
|
31
|
+
var index$t = require('./hyTour/index.js');
|
|
32
32
|
var index$e = require('./hyDrawer/index.js');
|
|
33
|
-
var index$
|
|
33
|
+
var index$q = require('./hyStatus/index.js');
|
|
34
34
|
var index$9 = require('./hyCheckboxGroup/index.js');
|
|
35
|
+
var index$i = require('./hyLocationMap/index.js');
|
|
35
36
|
var useAppForm = require('./hyForm/js/useAppForm.js');
|
|
36
37
|
var useAppSearch = require('./hySearch/js/useAppSearch.js');
|
|
37
38
|
var useAppTable = require('./hyTable/js/useAppTable.js');
|
|
@@ -39,27 +40,27 @@ var useAppTableForm = require('./hyTableForm/js/useAppTableForm.js');
|
|
|
39
40
|
|
|
40
41
|
|
|
41
42
|
|
|
42
|
-
exports.HyOrgCascader = index$
|
|
43
|
+
exports.HyOrgCascader = index$n.HyOrgCascader;
|
|
43
44
|
exports.HyConfirmDialog = index$b.HyConfirmDialog;
|
|
44
45
|
exports.ElDatePicker = index.ElDatePicker;
|
|
45
46
|
exports.HyDatePicker = index.HyDatePicker;
|
|
46
47
|
exports.HyForm = index$f.HyForm;
|
|
47
48
|
exports.HyIcon = index$g.HyIcon;
|
|
48
49
|
exports.HyIconBox = index$h.HyIconBox;
|
|
49
|
-
exports.HySearch = index$
|
|
50
|
-
exports.HyTable = index$
|
|
50
|
+
exports.HySearch = index$p.HySearch;
|
|
51
|
+
exports.HyTable = index$r.HyTable;
|
|
51
52
|
exports.ElTooltip = index$4.ElTooltip;
|
|
52
53
|
exports.HyTooltip = index$4.HyTooltip;
|
|
53
54
|
exports.HyConfigProvider = index$a.HyConfigProvider;
|
|
54
55
|
exports.HyButton = index$8.HyButton;
|
|
55
|
-
exports.HyUserAvatar = index$
|
|
56
|
-
exports.HyNoPermissions = index$
|
|
57
|
-
exports.HyNoPermissionsMap = index$
|
|
56
|
+
exports.HyUserAvatar = index$v.HyUserAvatar;
|
|
57
|
+
exports.HyNoPermissions = index$l.HyNoPermissions;
|
|
58
|
+
exports.HyNoPermissionsMap = index$m.HyNoPermissionsMap;
|
|
58
59
|
exports.HyCutter = index$c.HyCutter;
|
|
59
60
|
exports.HyDialog = index$d.HyDialog;
|
|
60
|
-
exports.HyMenu = index$
|
|
61
|
-
exports.HyTree = index$
|
|
62
|
-
exports.HyVideoPlayer = index$
|
|
61
|
+
exports.HyMenu = index$k.HyMenu;
|
|
62
|
+
exports.HyTree = index$u.HyTree;
|
|
63
|
+
exports.HyVideoPlayer = index$w.HyVideoPlayer;
|
|
63
64
|
exports.HyAudioPlayer = index$5.HyAudioPlayer;
|
|
64
65
|
exports.ElInput = index$1.ElInput;
|
|
65
66
|
exports.HyInput = index$1.HyInput;
|
|
@@ -68,16 +69,17 @@ exports.ElTimePicker = index$3.ElTimePicker;
|
|
|
68
69
|
exports.HyTimePicker = index$3.HyTimePicker;
|
|
69
70
|
exports.HyBatchTableForm = index$6.HyBatchTableForm;
|
|
70
71
|
exports.HyTableForm = index$6.HyTableForm;
|
|
71
|
-
exports.HyTableActionButton = index$
|
|
72
|
+
exports.HyTableActionButton = index$s.HyTableActionButton;
|
|
72
73
|
exports.HyBatchUploadDialog = index$7.HyBatchUploadDialog;
|
|
73
|
-
exports.HyMap = index$
|
|
74
|
-
exports.HyRadioGroup = index$
|
|
74
|
+
exports.HyMap = index$j.HyMap;
|
|
75
|
+
exports.HyRadioGroup = index$o.HyRadioGroup;
|
|
75
76
|
exports.ElLoading = index$2.ElLoading;
|
|
76
77
|
exports.HyLoading = index$2.ElLoading;
|
|
77
|
-
exports.HyTour = index$
|
|
78
|
+
exports.HyTour = index$t.HyTour;
|
|
78
79
|
exports.HyDrawer = index$e.HyDrawer;
|
|
79
|
-
exports.HyStatus = index$
|
|
80
|
+
exports.HyStatus = index$q.HyStatus;
|
|
80
81
|
exports.HyCheckboxGroup = index$9.HyCheckboxGroup;
|
|
82
|
+
exports.HyLocationMap = index$i.HyLocationMap;
|
|
81
83
|
exports.resetAppFormValue = useAppForm.resetAppFormValue;
|
|
82
84
|
exports.useAppForm = useAppForm.useAppForm;
|
|
83
85
|
exports.resetAppSearchValue = useAppSearch.resetAppSearchValue;
|
package/lib/index.js
CHANGED
|
@@ -32,26 +32,27 @@ var index$k = require('./bussiness/hyFilePlayback/index.js');
|
|
|
32
32
|
var index$l = require('./components/hyForm/index.js');
|
|
33
33
|
var index$m = require('./components/hyIcon/index.js');
|
|
34
34
|
var index$n = require('./components/hyIconBox/index.js');
|
|
35
|
-
var index$o = require('./components/
|
|
36
|
-
var index$p = require('./
|
|
37
|
-
var index$q = require('./
|
|
38
|
-
var index$r = require('./components/
|
|
39
|
-
var index$s = require('./components/
|
|
40
|
-
var index$t = require('./components/
|
|
41
|
-
var index$u = require('./
|
|
42
|
-
var index$v = require('./bussiness/
|
|
43
|
-
var index$w = require('./
|
|
44
|
-
var index$x = require('./
|
|
45
|
-
var index$y = require('./
|
|
46
|
-
var index$z = require('./components/
|
|
47
|
-
var index$A = require('./components/
|
|
48
|
-
var index$B = require('./components/
|
|
49
|
-
var index$C = require('./components/
|
|
50
|
-
var index$D = require('./components/
|
|
51
|
-
var index$E = require('./components/
|
|
52
|
-
var index$F = require('./
|
|
53
|
-
var index$G = require('./
|
|
54
|
-
var index$H = require('./
|
|
35
|
+
var index$o = require('./components/hyLocationMap/index.js');
|
|
36
|
+
var index$p = require('./components/hyMap/index.js');
|
|
37
|
+
var index$q = require('./bussiness/hyMapAearchPlace/index.js');
|
|
38
|
+
var index$r = require('./components/hyMenu/index.js');
|
|
39
|
+
var index$s = require('./components/hyNoPermissions/index.js');
|
|
40
|
+
var index$t = require('./components/hyNoPermissionsMap/index.js');
|
|
41
|
+
var index$u = require('./components/hyOrgCascader/index.js');
|
|
42
|
+
var index$v = require('./bussiness/hyOrgGroupTree/index.js');
|
|
43
|
+
var index$w = require('./bussiness/hyPlanGroupDeviceTree/index.js');
|
|
44
|
+
var index$x = require('./components/hyRadioGroup/index.js');
|
|
45
|
+
var index$y = require('./bussiness/hyRuleSetting/index.js');
|
|
46
|
+
var index$z = require('./components/hySearch/index.js');
|
|
47
|
+
var index$A = require('./components/hyStatus/index.js');
|
|
48
|
+
var index$B = require('./components/hyTable/index.js');
|
|
49
|
+
var index$C = require('./components/hyTableActionButton/index.js');
|
|
50
|
+
var index$D = require('./components/hyTour/index.js');
|
|
51
|
+
var index$E = require('./components/hyTree/index.js');
|
|
52
|
+
var index$F = require('./components/hyUserAvatar/index.js');
|
|
53
|
+
var index$G = require('./bussiness/hyUserTree/index.js');
|
|
54
|
+
var index$H = require('./components/hyVideoPlayer/index.js');
|
|
55
|
+
var index$I = require('./utils/map/index.js');
|
|
55
56
|
var permission = require('./utils/permission.js');
|
|
56
57
|
var crypto = require('./utils/crypto.js');
|
|
57
58
|
var file = require('./utils/file.js');
|
|
@@ -138,32 +139,33 @@ exports.HyFilePlayback = index$k.HyFilePlayback;
|
|
|
138
139
|
exports.HyForm = index$l.HyForm;
|
|
139
140
|
exports.HyIcon = index$m.HyIcon;
|
|
140
141
|
exports.HyIconBox = index$n.HyIconBox;
|
|
141
|
-
exports.
|
|
142
|
-
exports.
|
|
143
|
-
exports.
|
|
144
|
-
exports.
|
|
145
|
-
exports.
|
|
146
|
-
exports.
|
|
147
|
-
exports.
|
|
148
|
-
exports.
|
|
149
|
-
exports.
|
|
150
|
-
exports.
|
|
151
|
-
exports.
|
|
152
|
-
exports.
|
|
153
|
-
exports.
|
|
154
|
-
exports.
|
|
155
|
-
exports.
|
|
156
|
-
exports.
|
|
157
|
-
exports.
|
|
158
|
-
exports.
|
|
159
|
-
exports.
|
|
160
|
-
exports.
|
|
161
|
-
exports.
|
|
162
|
-
exports.
|
|
163
|
-
exports.
|
|
164
|
-
exports.
|
|
165
|
-
exports.
|
|
166
|
-
exports.
|
|
142
|
+
exports.HyLocationMap = index$o.HyLocationMap;
|
|
143
|
+
exports.HyMap = index$p.HyMap;
|
|
144
|
+
exports.HyMapAearchPlace = index$q.HyMapAearchPlace;
|
|
145
|
+
exports.HyMenu = index$r.HyMenu;
|
|
146
|
+
exports.HyNoPermissions = index$s.HyNoPermissions;
|
|
147
|
+
exports.HyNoPermissionsMap = index$t.HyNoPermissionsMap;
|
|
148
|
+
exports.HyOrgCascader = index$u.HyOrgCascader;
|
|
149
|
+
exports.HyOrgGroupTree = index$v.HyOrgGroupTree;
|
|
150
|
+
exports.HyPlanGroupDeviceTree = index$w.HyPlanGroupDeviceTree;
|
|
151
|
+
exports.HyRadioGroup = index$x.HyRadioGroup;
|
|
152
|
+
exports.HyRuleAssignDialog = index$y.HyRuleAssignDialog;
|
|
153
|
+
exports.HyRuleFenceDialog = index$y.HyRuleFenceDialog;
|
|
154
|
+
exports.HyRuleSetting = index$y.HyRuleSetting;
|
|
155
|
+
exports.HyRuleSettingDialog = index$y.HyRuleSettingDialog;
|
|
156
|
+
exports.HySetRuleAggregationAlarmDialog = index$y.HySetRuleAggregationAlarmDialog;
|
|
157
|
+
exports.HySearch = index$z.HySearch;
|
|
158
|
+
exports.HyStatus = index$A.HyStatus;
|
|
159
|
+
exports.HyTable = index$B.HyTable;
|
|
160
|
+
exports.HyTableActionButton = index$C.HyTableActionButton;
|
|
161
|
+
exports.HyTour = index$D.HyTour;
|
|
162
|
+
exports.HyTree = index$E.HyTree;
|
|
163
|
+
exports.HyUserAvatar = index$F.HyUserAvatar;
|
|
164
|
+
exports.HyUserTree = index$G.HyUserTree;
|
|
165
|
+
exports.HyVideoPlayer = index$H.HyVideoPlayer;
|
|
166
|
+
exports.InitMap = index$I.InitMap;
|
|
167
|
+
exports.setMapServer = index$I.setMapServer;
|
|
168
|
+
exports.setPoiServer = index$I.setPoiServer;
|
|
167
169
|
exports.PERMISSION = permission.PERMISSION;
|
|
168
170
|
exports.base64Decrypt = crypto.base64Decrypt;
|
|
169
171
|
exports.encryptToBase64 = crypto.encryptToBase64;
|
|
@@ -180,10 +182,12 @@ exports.useSubscribe = useSubscribe.useSubscribe;
|
|
|
180
182
|
exports.clearResizeObserver = useResizeObserver.clearResizeObserver;
|
|
181
183
|
exports.useResizeObserver = useResizeObserver.useResizeObserver;
|
|
182
184
|
exports.clearSpace = form.clearSpace;
|
|
185
|
+
exports.columnDefaultValueHandler = form.columnDefaultValueHandler;
|
|
183
186
|
exports.columnHelpHandler = form.columnHelpHandler;
|
|
184
187
|
exports.columnLabelHandler = form.columnLabelHandler;
|
|
185
188
|
exports.columnPlaceholderHandler = form.columnPlaceholderHandler;
|
|
186
189
|
exports.columnRuleHandler = form.columnRuleHandler;
|
|
190
|
+
exports.columnTimeRangeOptionsHandler = form.columnTimeRangeOptionsHandler;
|
|
187
191
|
exports.columnnoDataTextHandler = form.columnnoDataTextHandler;
|
|
188
192
|
exports.genColumnDefaultLabel = form.genColumnDefaultLabel;
|
|
189
193
|
exports.genColumnShortcuts = form.genColumnShortcuts;
|