hy-dispatch-ui-v3 0.2.61 → 0.2.63
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 +70 -5
- package/es/api/device.mjs +19 -0
- package/es/api/index.mjs +2 -1
- package/es/api/sypct.mjs +19 -0
- package/es/api/task.mjs +19 -0
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +6 -3
- package/es/bussiness/hyAddDepartmentType/index.mjs +1 -0
- package/es/bussiness/hyMapAearchPlace/index.mjs +7 -0
- package/es/bussiness/hyMapAearchPlace/js/index.mjs +650 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +366 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +101 -0
- package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
- package/es/bussiness/index.mjs +1 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +3 -0
- package/es/components/hyAudioPlayer/index.mjs +1 -0
- package/es/components/hyAudioPlayer/js/index.mjs +5 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +23 -3
- package/es/components/hyBatchUploadDialog/index.mjs +1 -0
- package/es/components/hyButton/button.vue.mjs +3 -2
- package/es/components/hyButton/index.mjs +1 -0
- package/es/components/hyButton/style/button.scss +10 -3
- package/es/components/hyConfigProvider/configProvider.vue.mjs +6 -1
- package/es/components/hyConfigProvider/index.mjs +1 -0
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +6 -2
- package/es/components/hyConfirmDialog/confirmMethod.mjs +5 -3
- package/es/components/hyConfirmDialog/index.mjs +1 -0
- package/es/components/hyCutter/cutter.vue.mjs +5 -2
- package/es/components/hyCutter/index.mjs +1 -0
- package/es/components/hyDatePicker/datePicker.vue.mjs +2 -0
- package/es/components/hyDatePicker/index.mjs +1 -0
- package/es/components/hyDialog/dialog.vue.mjs +98 -14
- package/es/components/hyDialog/index.mjs +1 -0
- package/es/components/hyForm/cpns/arrayItem.vue.mjs +16 -3
- package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +4 -1
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +6 -1
- package/es/components/hyForm/form.vue.mjs +3 -0
- package/es/components/hyForm/index.mjs +1 -0
- package/es/components/hyForm/js/index.mjs +3 -1
- package/es/components/hyForm/js/useAppForm.mjs +4 -2
- package/es/components/hyIcon/icon.vue.mjs +2 -1
- package/es/components/hyIcon/index.mjs +1 -0
- package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
- package/es/components/hyIconBox/index.mjs +1 -0
- package/es/components/hyInput/index.mjs +1 -0
- package/es/components/hyInput/input.vue.mjs +3 -1
- package/es/components/hyInput/inputSearch.vue.mjs +2 -1
- package/es/components/hyLoading/index.mjs +41 -0
- package/es/components/hyMap/index.mjs +1 -0
- package/es/components/hyMap/js/index.mjs +82 -0
- package/es/components/hyMap/map.vue.mjs +11 -3
- package/es/components/hyMenu/index.mjs +1 -0
- package/es/components/hyMenu/menu.vue.mjs +4 -0
- package/es/components/hyNoPermissions/index.mjs +1 -0
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +4 -0
- package/es/components/hyNoPermissionsMap/index.mjs +1 -0
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +4 -0
- package/es/components/hyOrgCascader/index.mjs +1 -0
- package/es/components/hyOrgCascader/js/index.mjs +2 -0
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +2 -1
- package/es/components/hyRadioGroup/index.mjs +1 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +2 -2
- package/es/components/hySearch/cpns/searchItem.vue.mjs +20 -2
- package/es/components/hySearch/index.mjs +1 -0
- package/es/components/hySearch/js/index.mjs +4 -2
- package/es/components/hySearch/js/useAppSearch.mjs +4 -2
- package/es/components/hySearch/search.vue.mjs +3 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +6 -3
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +3 -0
- package/es/components/hyTable/cpns/headerItem.vue.mjs +3 -0
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +7 -2
- package/es/components/hyTable/index.mjs +1 -0
- package/es/components/hyTable/js/index.mjs +10 -10
- package/es/components/hyTable/js/search.mjs +2 -0
- package/es/components/hyTable/js/useAppTable.mjs +5 -2
- package/es/components/hyTable/table.vue.mjs +11 -1
- package/es/components/hyTableActionButton/index.mjs +1 -0
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +5 -2
- package/es/components/hyTableForm/batchTableForm.vue.mjs +41 -61
- package/es/components/hyTableForm/index.mjs +1 -0
- package/es/components/hyTableForm/js/index.mjs +13 -27
- package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +12 -4
- package/es/components/hyTimePicker/index.mjs +1 -0
- package/es/components/hyTimePicker/timePicker.vue.mjs +3 -1
- package/es/components/hyTooltip/index.mjs +1 -0
- package/es/components/hyTooltip/tooltip.vue.mjs +4 -2
- package/es/components/hyTree/index.mjs +1 -0
- package/es/components/hyTree/js/index.mjs +15 -2
- package/es/components/hyTree/tree.vue.mjs +9 -4
- package/es/components/hyUserAvatar/index.mjs +1 -0
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +5 -1
- package/es/components/hyVideoPlayer/cpns/mediaLoading.vue.mjs +1 -0
- package/es/components/hyVideoPlayer/index.mjs +1 -0
- package/es/components/hyVideoPlayer/js/index.mjs +7 -2
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -0
- package/es/components/index.mjs +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useGlobalConfig.mjs +6 -1
- package/es/hooks/useLocale.mjs +4 -2
- package/es/hooks/useMapConfig.mjs +18 -0
- package/es/hooks/useResizeHandler.mjs +1 -0
- package/es/hooks/useResizeObserver.mjs +1 -1
- package/es/index.mjs +8 -0
- package/es/locale/en.mjs +1 -2
- package/es/locale/zh_CN.mjs +1 -2
- package/es/make-installer.mjs +1 -0
- package/es/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
- package/es/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
- package/es/style/element/hy-element.scss +10 -1
- package/es/utils/file.mjs +1 -0
- package/es/utils/form.mjs +6 -1
- package/es/utils/handler.mjs +2 -0
- package/es/utils/index.mjs +2 -0
- package/es/utils/input.mjs +1 -0
- package/es/utils/is.mjs +1 -0
- package/es/utils/map/hook/bigMap.mjs +3 -2
- package/es/utils/map/hook/gaode.mjs +2 -2
- package/es/utils/map/hook/leafletjs.mjs +7 -1
- package/es/utils/map/index.mjs +12 -0
- package/es/utils/map/js/webgis.mjs +5 -2
- package/es/utils/sharedContent.mjs +12 -0
- package/es/version.mjs +1 -1
- package/lib/api/device.js +21 -0
- package/lib/api/index.js +2 -1
- package/lib/api/sypct.js +21 -0
- package/lib/api/task.js +21 -0
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +15 -12
- package/lib/bussiness/hyAddDepartmentType/index.js +1 -0
- package/lib/bussiness/hyMapAearchPlace/index.js +12 -0
- package/lib/bussiness/hyMapAearchPlace/js/index.js +652 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +370 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +105 -0
- package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
- package/lib/bussiness/index.js +2 -0
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +3 -0
- package/lib/components/hyAudioPlayer/index.js +1 -0
- package/lib/components/hyAudioPlayer/js/index.js +5 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +23 -3
- package/lib/components/hyBatchUploadDialog/index.js +1 -0
- package/lib/components/hyButton/button.vue.js +2 -1
- package/lib/components/hyButton/index.js +1 -0
- package/lib/components/hyButton/style/button.scss +10 -3
- package/lib/components/hyConfigProvider/configProvider.vue.js +5 -0
- package/lib/components/hyConfigProvider/index.js +1 -0
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +6 -2
- package/lib/components/hyConfirmDialog/confirmMethod.js +5 -3
- package/lib/components/hyConfirmDialog/index.js +1 -0
- package/lib/components/hyCutter/cutter.vue.js +3 -0
- package/lib/components/hyCutter/index.js +1 -0
- package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
- package/lib/components/hyDatePicker/index.js +1 -0
- package/lib/components/hyDialog/dialog.vue.js +96 -12
- package/lib/components/hyDialog/index.js +1 -0
- package/lib/components/hyForm/cpns/arrayItem.vue.js +16 -3
- package/lib/components/hyForm/cpns/extraItem.vue.js +2 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +3 -0
- package/lib/components/hyForm/cpns/locationSelect.vue.js +6 -1
- package/lib/components/hyForm/form.vue.js +3 -0
- package/lib/components/hyForm/index.js +1 -0
- package/lib/components/hyForm/js/index.js +3 -1
- package/lib/components/hyForm/js/useAppForm.js +3 -1
- package/lib/components/hyIcon/icon.vue.js +1 -0
- package/lib/components/hyIcon/index.js +1 -0
- package/lib/components/hyIconBox/iconBox.vue.js +1 -0
- package/lib/components/hyIconBox/index.js +1 -0
- package/lib/components/hyInput/index.js +1 -0
- package/lib/components/hyInput/input.vue.js +2 -0
- package/lib/components/hyInput/inputSearch.vue.js +1 -0
- package/lib/components/hyLoading/index.js +47 -0
- package/lib/components/hyMap/index.js +1 -0
- package/lib/components/hyMap/js/index.js +82 -0
- package/lib/components/hyMap/map.vue.js +11 -3
- package/lib/components/hyMenu/index.js +1 -0
- package/lib/components/hyMenu/menu.vue.js +4 -0
- package/lib/components/hyNoPermissions/index.js +1 -0
- package/lib/components/hyNoPermissions/noPermissions.vue.js +4 -0
- package/lib/components/hyNoPermissionsMap/index.js +1 -0
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +4 -0
- package/lib/components/hyOrgCascader/index.js +1 -0
- package/lib/components/hyOrgCascader/js/index.js +2 -0
- package/lib/components/hyOrgCascader/orgCascader.vue.js +2 -1
- package/lib/components/hyRadioGroup/index.js +1 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +1 -1
- package/lib/components/hySearch/cpns/searchItem.vue.js +18 -0
- package/lib/components/hySearch/index.js +1 -0
- package/lib/components/hySearch/js/index.js +3 -1
- package/lib/components/hySearch/js/useAppSearch.js +4 -2
- package/lib/components/hySearch/search.vue.js +3 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +4 -1
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +3 -0
- package/lib/components/hyTable/cpns/headerItem.vue.js +3 -0
- package/lib/components/hyTable/cpns/virtualTable.vue.js +6 -1
- package/lib/components/hyTable/index.js +1 -0
- package/lib/components/hyTable/js/index.js +9 -9
- package/lib/components/hyTable/js/search.js +2 -0
- package/lib/components/hyTable/js/useAppTable.js +4 -1
- package/lib/components/hyTable/table.vue.js +11 -1
- package/lib/components/hyTableActionButton/index.js +1 -0
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -1
- package/lib/components/hyTableForm/batchTableForm.vue.js +42 -62
- package/lib/components/hyTableForm/index.js +1 -0
- package/lib/components/hyTableForm/js/index.js +12 -27
- package/lib/components/hyTableForm/js/useAppTableForm.js +2 -0
- package/lib/components/hyTableForm/tableForm.vue.js +19 -11
- package/lib/components/hyTimePicker/index.js +1 -0
- package/lib/components/hyTimePicker/timePicker.vue.js +2 -0
- package/lib/components/hyTooltip/index.js +1 -0
- package/lib/components/hyTooltip/tooltip.vue.js +2 -0
- package/lib/components/hyTree/index.js +1 -0
- package/lib/components/hyTree/js/index.js +14 -1
- package/lib/components/hyTree/tree.vue.js +9 -4
- package/lib/components/hyUserAvatar/index.js +1 -0
- package/lib/components/hyUserAvatar/userAvatar.vue.js +5 -1
- package/lib/components/hyVideoPlayer/cpns/mediaLoading.vue.js +1 -0
- package/lib/components/hyVideoPlayer/index.js +1 -0
- package/lib/components/hyVideoPlayer/js/index.js +7 -2
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -0
- package/lib/components/index.js +56 -53
- package/lib/hooks/index.js +3 -0
- package/lib/hooks/useGlobalConfig.js +5 -0
- package/lib/hooks/useLocale.js +3 -1
- package/lib/hooks/useMapConfig.js +21 -0
- package/lib/hooks/useResizeHandler.js +1 -0
- package/lib/index.js +73 -59
- package/lib/locale/en.js +1 -2
- package/lib/locale/zh_CN.js +1 -2
- package/lib/make-installer.js +1 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
- package/lib/style/element/hy-element.scss +10 -1
- package/lib/utils/file.js +1 -0
- package/lib/utils/form.js +5 -0
- package/lib/utils/handler.js +2 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/input.js +1 -0
- package/lib/utils/is.js +1 -0
- package/lib/utils/map/hook/bigMap.js +3 -2
- package/lib/utils/map/hook/gaode.js +1 -1
- package/lib/utils/map/hook/leafletjs.js +7 -1
- package/lib/utils/map/index.js +12 -0
- package/lib/utils/map/js/webgis.js +5 -1
- package/lib/utils/sharedContent.js +14 -0
- package/lib/version.js +1 -1
- package/package.json +2 -1
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var elementPlus = require('element-plus');
|
|
5
|
+
require('dayjs');
|
|
6
|
+
require('../../../hooks/index.js');
|
|
7
|
+
require('../../../utils/index.js');
|
|
8
|
+
require('../../index.js');
|
|
5
9
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
6
10
|
var useVideoPlayerConfig = require('../../../hooks/useVideoPlayerConfig.js');
|
|
7
11
|
var date = require('../../../utils/date.js');
|
|
12
|
+
var is = require('../../../utils/is.js');
|
|
8
13
|
var index = require('../../hyConfirmDialog/index.js');
|
|
9
14
|
var handler = require('../../../utils/handler.js');
|
|
10
|
-
var is = require('../../../utils/is.js');
|
|
11
15
|
|
|
12
16
|
const useVideoPlayer = (hy) => {
|
|
13
17
|
const { props, emits, videoRef, videoWrapperRef } = hy;
|
|
@@ -279,7 +283,8 @@ const useVideoPlayer = (hy) => {
|
|
|
279
283
|
}
|
|
280
284
|
function fullscreenchangeHandler(e) {
|
|
281
285
|
videoWrapperRef.value.style.setProperty("transition", "none");
|
|
282
|
-
if (document.fullscreenElement)
|
|
286
|
+
if (document.fullscreenElement) {
|
|
287
|
+
} else {
|
|
283
288
|
isFullScreen.value = false;
|
|
284
289
|
}
|
|
285
290
|
setTimeout(() => {
|
|
@@ -4,6 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
+
require('../../hooks/index.js');
|
|
8
|
+
require('../../utils/index.js');
|
|
9
|
+
require('../index.js');
|
|
7
10
|
var mediaLoading = require('./cpns/mediaLoading.vue.js');
|
|
8
11
|
var index = require('./js/index.js');
|
|
9
12
|
var useLocale = require('../../hooks/useLocale.js');
|
package/lib/components/index.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$
|
|
4
|
-
var index$
|
|
3
|
+
var index$k = require('./hyOrgCascader/index.js');
|
|
4
|
+
var index$a = require('./hyConfirmDialog/index.js');
|
|
5
5
|
var index = require('./hyDatePicker/index.js');
|
|
6
|
-
var index$
|
|
7
|
-
var index$
|
|
8
|
-
var index$
|
|
9
|
-
var index$
|
|
10
|
-
var index$
|
|
11
|
-
var index$
|
|
12
|
-
var index$
|
|
13
|
-
var index$
|
|
14
|
-
var index$
|
|
15
|
-
var index$
|
|
16
|
-
var index$
|
|
17
|
-
var index$
|
|
18
|
-
var index$
|
|
19
|
-
var index$
|
|
20
|
-
var index$
|
|
21
|
-
var index$
|
|
22
|
-
var index$
|
|
6
|
+
var index$d = require('./hyForm/index.js');
|
|
7
|
+
var index$e = require('./hyIcon/index.js');
|
|
8
|
+
var index$f = require('./hyIconBox/index.js');
|
|
9
|
+
var index$m = require('./hySearch/index.js');
|
|
10
|
+
var index$n = require('./hyTable/index.js');
|
|
11
|
+
var index$4 = require('./hyTooltip/index.js');
|
|
12
|
+
var index$9 = require('./hyConfigProvider/index.js');
|
|
13
|
+
var index$8 = require('./hyButton/index.js');
|
|
14
|
+
var index$q = require('./hyUserAvatar/index.js');
|
|
15
|
+
var index$i = require('./hyNoPermissions/index.js');
|
|
16
|
+
var index$j = require('./hyNoPermissionsMap/index.js');
|
|
17
|
+
var index$b = require('./hyCutter/index.js');
|
|
18
|
+
var index$c = require('./hyDialog/index.js');
|
|
19
|
+
var index$h = require('./hyMenu/index.js');
|
|
20
|
+
var index$p = require('./hyTree/index.js');
|
|
21
|
+
var index$r = require('./hyVideoPlayer/index.js');
|
|
22
|
+
var index$5 = require('./hyAudioPlayer/index.js');
|
|
23
23
|
var index$1 = require('./hyInput/index.js');
|
|
24
|
-
var index$
|
|
25
|
-
var index$
|
|
26
|
-
var index$
|
|
27
|
-
var index$
|
|
28
|
-
var index$
|
|
29
|
-
var index$
|
|
24
|
+
var index$3 = require('./hyTimePicker/index.js');
|
|
25
|
+
var index$6 = require('./hyTableForm/index.js');
|
|
26
|
+
var index$o = require('./hyTableActionButton/index.js');
|
|
27
|
+
var index$7 = require('./hyBatchUploadDialog/index.js');
|
|
28
|
+
var index$g = require('./hyMap/index.js');
|
|
29
|
+
var index$l = require('./hyRadioGroup/index.js');
|
|
30
|
+
var index$2 = require('./hyLoading/index.js');
|
|
30
31
|
var useAppForm = require('./hyForm/js/useAppForm.js');
|
|
31
32
|
var useAppSearch = require('./hySearch/js/useAppSearch.js');
|
|
32
33
|
var useAppTable = require('./hyTable/js/useAppTable.js');
|
|
@@ -34,39 +35,41 @@ var useAppTableForm = require('./hyTableForm/js/useAppTableForm.js');
|
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
|
|
37
|
-
exports.HyOrgCascader = index$
|
|
38
|
-
exports.HyConfirmDialog = index$
|
|
38
|
+
exports.HyOrgCascader = index$k.HyOrgCascader;
|
|
39
|
+
exports.HyConfirmDialog = index$a.HyConfirmDialog;
|
|
39
40
|
exports.ElDatePicker = index.ElDatePicker;
|
|
40
41
|
exports.HyDatePicker = index.HyDatePicker;
|
|
41
|
-
exports.HyForm = index$
|
|
42
|
-
exports.HyIcon = index$
|
|
43
|
-
exports.HyIconBox = index$
|
|
44
|
-
exports.HySearch = index$
|
|
45
|
-
exports.HyTable = index$
|
|
46
|
-
exports.ElTooltip = index$
|
|
47
|
-
exports.HyTooltip = index$
|
|
48
|
-
exports.HyConfigProvider = index$
|
|
49
|
-
exports.HyButton = index$
|
|
50
|
-
exports.HyUserAvatar = index$
|
|
51
|
-
exports.HyNoPermissions = index$
|
|
52
|
-
exports.HyNoPermissionsMap = index$
|
|
53
|
-
exports.HyCutter = index$
|
|
54
|
-
exports.HyDialog = index$
|
|
55
|
-
exports.HyMenu = index$
|
|
56
|
-
exports.HyTree = index$
|
|
57
|
-
exports.HyVideoPlayer = index$
|
|
58
|
-
exports.HyAudioPlayer = index$
|
|
42
|
+
exports.HyForm = index$d.HyForm;
|
|
43
|
+
exports.HyIcon = index$e.HyIcon;
|
|
44
|
+
exports.HyIconBox = index$f.HyIconBox;
|
|
45
|
+
exports.HySearch = index$m.HySearch;
|
|
46
|
+
exports.HyTable = index$n.HyTable;
|
|
47
|
+
exports.ElTooltip = index$4.ElTooltip;
|
|
48
|
+
exports.HyTooltip = index$4.HyTooltip;
|
|
49
|
+
exports.HyConfigProvider = index$9.HyConfigProvider;
|
|
50
|
+
exports.HyButton = index$8.HyButton;
|
|
51
|
+
exports.HyUserAvatar = index$q.HyUserAvatar;
|
|
52
|
+
exports.HyNoPermissions = index$i.HyNoPermissions;
|
|
53
|
+
exports.HyNoPermissionsMap = index$j.HyNoPermissionsMap;
|
|
54
|
+
exports.HyCutter = index$b.HyCutter;
|
|
55
|
+
exports.HyDialog = index$c.HyDialog;
|
|
56
|
+
exports.HyMenu = index$h.HyMenu;
|
|
57
|
+
exports.HyTree = index$p.HyTree;
|
|
58
|
+
exports.HyVideoPlayer = index$r.HyVideoPlayer;
|
|
59
|
+
exports.HyAudioPlayer = index$5.HyAudioPlayer;
|
|
59
60
|
exports.ElInput = index$1.ElInput;
|
|
60
61
|
exports.HyInput = index$1.HyInput;
|
|
61
62
|
exports.HyInputSearch = index$1.HyInputSearch;
|
|
62
|
-
exports.ElTimePicker = index$
|
|
63
|
-
exports.HyTimePicker = index$
|
|
64
|
-
exports.HyBatchTableForm = index$
|
|
65
|
-
exports.HyTableForm = index$
|
|
66
|
-
exports.HyTableActionButton = index$
|
|
67
|
-
exports.HyBatchUploadDialog = index$
|
|
68
|
-
exports.HyMap = index$
|
|
69
|
-
exports.HyRadioGroup = index$
|
|
63
|
+
exports.ElTimePicker = index$3.ElTimePicker;
|
|
64
|
+
exports.HyTimePicker = index$3.HyTimePicker;
|
|
65
|
+
exports.HyBatchTableForm = index$6.HyBatchTableForm;
|
|
66
|
+
exports.HyTableForm = index$6.HyTableForm;
|
|
67
|
+
exports.HyTableActionButton = index$o.HyTableActionButton;
|
|
68
|
+
exports.HyBatchUploadDialog = index$7.HyBatchUploadDialog;
|
|
69
|
+
exports.HyMap = index$g.HyMap;
|
|
70
|
+
exports.HyRadioGroup = index$l.HyRadioGroup;
|
|
71
|
+
exports.ElLoading = index$2.ElLoading;
|
|
72
|
+
exports.HyLoading = index$2.ElLoading;
|
|
70
73
|
exports.resetAppFormValue = useAppForm.resetAppFormValue;
|
|
71
74
|
exports.useAppForm = useAppForm.useAppForm;
|
|
72
75
|
exports.resetAppSearchValue = useAppSearch.resetAppSearchValue;
|
package/lib/hooks/index.js
CHANGED
|
@@ -13,6 +13,7 @@ var useVideoPlayerConfig = require('./useVideoPlayerConfig.js');
|
|
|
13
13
|
var useEnsureHyIcon = require('./useEnsureHyIcon.js');
|
|
14
14
|
var useTooltipConfig = require('./useTooltipConfig.js');
|
|
15
15
|
var useSubscribe = require('./useSubscribe.js');
|
|
16
|
+
var useMapConfig = require('./useMapConfig.js');
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
|
|
@@ -46,3 +47,5 @@ exports.localTooltipConfigKey = useTooltipConfig.localTooltipConfigKey;
|
|
|
46
47
|
exports.useTooltipConfig = useTooltipConfig.useTooltipConfig;
|
|
47
48
|
exports.usePublish = useSubscribe.usePublish;
|
|
48
49
|
exports.useSubscribe = useSubscribe.useSubscribe;
|
|
50
|
+
exports.localMapConfigKey = useMapConfig.localMapConfigKey;
|
|
51
|
+
exports.useMapConfig = useMapConfig.useMapConfig;
|
|
@@ -10,6 +10,7 @@ var useAudioPlayerConfig = require('./useAudioPlayerConfig.js');
|
|
|
10
10
|
var useVideoPlayerConfig = require('./useVideoPlayerConfig.js');
|
|
11
11
|
var useEnsureHyIcon = require('./useEnsureHyIcon.js');
|
|
12
12
|
var useTooltipConfig = require('./useTooltipConfig.js');
|
|
13
|
+
var useMapConfig = require('./useMapConfig.js');
|
|
13
14
|
var zh_CN = require('../locale/zh_CN.js');
|
|
14
15
|
|
|
15
16
|
const globalConfig = vue.ref();
|
|
@@ -79,6 +80,10 @@ const provideGlobalConfig = (config, app, global = false) => {
|
|
|
79
80
|
useTooltipConfig.localTooltipConfigKey,
|
|
80
81
|
vue.computed(() => context.value.tooltip)
|
|
81
82
|
);
|
|
83
|
+
provideFn(
|
|
84
|
+
useMapConfig.localMapConfigKey,
|
|
85
|
+
vue.computed(() => context.value.mapConfig)
|
|
86
|
+
);
|
|
82
87
|
if (global || !globalConfig.value) {
|
|
83
88
|
globalConfig.value = context.value;
|
|
84
89
|
}
|
package/lib/hooks/useLocale.js
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var lodashUnified = require('lodash-unified');
|
|
5
|
+
require('./index.js');
|
|
6
|
+
require('../utils/index.js');
|
|
5
7
|
var index = require('../locale/index.js');
|
|
6
|
-
var useGlobalConfig = require('./useGlobalConfig.js');
|
|
7
8
|
var is = require('../utils/is.js');
|
|
8
9
|
var zh_CN = require('../locale/zh_CN.js');
|
|
10
|
+
var useGlobalConfig = require('./useGlobalConfig.js');
|
|
9
11
|
|
|
10
12
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
11
13
|
const translate = (path, option, locale) => lodashUnified.get(locale, path, path).replace(
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var useGlobalConfig = require('./useGlobalConfig.js');
|
|
5
|
+
|
|
6
|
+
const localMapConfigKey = /* @__PURE__ */ Symbol("mapConfig");
|
|
7
|
+
const useMapConfig = () => {
|
|
8
|
+
if (vue.getCurrentInstance()) {
|
|
9
|
+
const mapConfig = vue.inject(localMapConfigKey, vue.ref());
|
|
10
|
+
return {
|
|
11
|
+
mapConfig: vue.unref(mapConfig) ? mapConfig : vue.computed(() => vue.unref(useGlobalConfig.useGlobalConfig()).mapConfig || {})
|
|
12
|
+
};
|
|
13
|
+
} else {
|
|
14
|
+
return {
|
|
15
|
+
mapConfig: vue.computed(() => vue.unref(useGlobalConfig.useGlobalConfig()).mapConfig || {})
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
exports.localMapConfigKey = localMapConfigKey;
|
|
21
|
+
exports.useMapConfig = useMapConfig;
|
package/lib/index.js
CHANGED
|
@@ -3,35 +3,41 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var makeInstaller = require('./make-installer.js');
|
|
6
|
+
require('./utils/index.js');
|
|
7
|
+
require('./components/index.js');
|
|
8
|
+
require('./bussiness/index.js');
|
|
9
|
+
require('./hooks/index.js');
|
|
6
10
|
var index = require('./components/hyDatePicker/index.js');
|
|
7
11
|
var index$1 = require('./components/hyInput/index.js');
|
|
8
|
-
var index$2 = require('./components/
|
|
9
|
-
var index$3 = require('./components/
|
|
10
|
-
var index$4 = require('./
|
|
11
|
-
var index$5 = require('./
|
|
12
|
-
var index$6 = require('./components/
|
|
13
|
-
var index$7 = require('./components/
|
|
14
|
-
var index$8 = require('./components/
|
|
15
|
-
var index$9 = require('./components/
|
|
16
|
-
var index$a = require('./components/
|
|
17
|
-
var index$b = require('./components/
|
|
18
|
-
var index$c = require('./components/
|
|
19
|
-
var index$d = require('./components/
|
|
20
|
-
var index$e = require('./components/
|
|
21
|
-
var index$f = require('./components/
|
|
22
|
-
var index$g = require('./components/
|
|
23
|
-
var index$h = require('./components/
|
|
24
|
-
var index$i = require('./
|
|
25
|
-
var index$j = require('./components/
|
|
26
|
-
var index$k = require('./components/
|
|
27
|
-
var index$l = require('./components/
|
|
28
|
-
var index$m = require('./components/
|
|
29
|
-
var index$n = require('./components/
|
|
30
|
-
var index$o = require('./components/
|
|
31
|
-
var index$p = require('./components/
|
|
32
|
-
var index$q = require('./components/
|
|
33
|
-
var index$r = require('./components/
|
|
34
|
-
var index$s = require('./
|
|
12
|
+
var index$2 = require('./components/hyLoading/index.js');
|
|
13
|
+
var index$3 = require('./components/hyTimePicker/index.js');
|
|
14
|
+
var index$4 = require('./components/hyTooltip/index.js');
|
|
15
|
+
var index$5 = require('./bussiness/hyAddDepartmentType/index.js');
|
|
16
|
+
var index$6 = require('./components/hyAudioPlayer/index.js');
|
|
17
|
+
var index$7 = require('./components/hyTableForm/index.js');
|
|
18
|
+
var index$8 = require('./components/hyBatchUploadDialog/index.js');
|
|
19
|
+
var index$9 = require('./components/hyButton/index.js');
|
|
20
|
+
var index$a = require('./components/hyConfigProvider/index.js');
|
|
21
|
+
var index$b = require('./components/hyConfirmDialog/index.js');
|
|
22
|
+
var index$c = require('./components/hyCutter/index.js');
|
|
23
|
+
var index$d = require('./components/hyDialog/index.js');
|
|
24
|
+
var index$e = require('./components/hyForm/index.js');
|
|
25
|
+
var index$f = require('./components/hyIcon/index.js');
|
|
26
|
+
var index$g = require('./components/hyIconBox/index.js');
|
|
27
|
+
var index$h = require('./components/hyMap/index.js');
|
|
28
|
+
var index$i = require('./bussiness/hyMapAearchPlace/index.js');
|
|
29
|
+
var index$j = require('./components/hyMenu/index.js');
|
|
30
|
+
var index$k = require('./components/hyNoPermissions/index.js');
|
|
31
|
+
var index$l = require('./components/hyNoPermissionsMap/index.js');
|
|
32
|
+
var index$m = require('./components/hyOrgCascader/index.js');
|
|
33
|
+
var index$n = require('./components/hyRadioGroup/index.js');
|
|
34
|
+
var index$o = require('./components/hySearch/index.js');
|
|
35
|
+
var index$p = require('./components/hyTable/index.js');
|
|
36
|
+
var index$q = require('./components/hyTableActionButton/index.js');
|
|
37
|
+
var index$r = require('./components/hyTree/index.js');
|
|
38
|
+
var index$s = require('./components/hyUserAvatar/index.js');
|
|
39
|
+
var index$t = require('./components/hyVideoPlayer/index.js');
|
|
40
|
+
var index$u = require('./utils/map/index.js');
|
|
35
41
|
var permission = require('./utils/permission.js');
|
|
36
42
|
var crypto = require('./utils/crypto.js');
|
|
37
43
|
var file = require('./utils/file.js');
|
|
@@ -44,8 +50,10 @@ var useApi = require('./hooks/useApi.js');
|
|
|
44
50
|
var input = require('./utils/input.js');
|
|
45
51
|
var date = require('./utils/date.js');
|
|
46
52
|
var is = require('./utils/is.js');
|
|
53
|
+
var sharedContent = require('./utils/sharedContent.js');
|
|
47
54
|
var useAudioPlayerConfig = require('./hooks/useAudioPlayerConfig.js');
|
|
48
55
|
var useEnsureHyIcon = require('./hooks/useEnsureHyIcon.js');
|
|
56
|
+
var useMapConfig = require('./hooks/useMapConfig.js');
|
|
49
57
|
var usePermissionMap = require('./hooks/usePermissionMap.js');
|
|
50
58
|
var useTooltipConfig = require('./hooks/useTooltipConfig.js');
|
|
51
59
|
var useUserAvatarMap = require('./hooks/useUserAvatarMap.js');
|
|
@@ -69,38 +77,41 @@ exports.HyDatePicker = index.HyDatePicker;
|
|
|
69
77
|
exports.ElInput = index$1.ElInput;
|
|
70
78
|
exports.HyInput = index$1.HyInput;
|
|
71
79
|
exports.HyInputSearch = index$1.HyInputSearch;
|
|
72
|
-
exports.
|
|
73
|
-
exports.
|
|
74
|
-
exports.
|
|
75
|
-
exports.
|
|
76
|
-
exports.
|
|
77
|
-
exports.
|
|
78
|
-
exports.
|
|
79
|
-
exports.
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
80
|
+
exports.ElLoading = index$2.ElLoading;
|
|
81
|
+
exports.HyLoading = index$2.ElLoading;
|
|
82
|
+
exports.ElTimePicker = index$3.ElTimePicker;
|
|
83
|
+
exports.HyTimePicker = index$3.HyTimePicker;
|
|
84
|
+
exports.ElTooltip = index$4.ElTooltip;
|
|
85
|
+
exports.HyTooltip = index$4.HyTooltip;
|
|
86
|
+
exports.HyAddDepartmentType = index$5.HyAddDepartmentType;
|
|
87
|
+
exports.HyAudioPlayer = index$6.HyAudioPlayer;
|
|
88
|
+
exports.HyBatchTableForm = index$7.HyBatchTableForm;
|
|
89
|
+
exports.HyTableForm = index$7.HyTableForm;
|
|
90
|
+
exports.HyBatchUploadDialog = index$8.HyBatchUploadDialog;
|
|
91
|
+
exports.HyButton = index$9.HyButton;
|
|
92
|
+
exports.HyConfigProvider = index$a.HyConfigProvider;
|
|
93
|
+
exports.HyConfirmDialog = index$b.HyConfirmDialog;
|
|
94
|
+
exports.HyCutter = index$c.HyCutter;
|
|
95
|
+
exports.HyDialog = index$d.HyDialog;
|
|
96
|
+
exports.HyForm = index$e.HyForm;
|
|
97
|
+
exports.HyIcon = index$f.HyIcon;
|
|
98
|
+
exports.HyIconBox = index$g.HyIconBox;
|
|
99
|
+
exports.HyMap = index$h.HyMap;
|
|
100
|
+
exports.HyMapAearchPlace = index$i.HyMapAearchPlace;
|
|
101
|
+
exports.HyMenu = index$j.HyMenu;
|
|
102
|
+
exports.HyNoPermissions = index$k.HyNoPermissions;
|
|
103
|
+
exports.HyNoPermissionsMap = index$l.HyNoPermissionsMap;
|
|
104
|
+
exports.HyOrgCascader = index$m.HyOrgCascader;
|
|
105
|
+
exports.HyRadioGroup = index$n.HyRadioGroup;
|
|
106
|
+
exports.HySearch = index$o.HySearch;
|
|
107
|
+
exports.HyTable = index$p.HyTable;
|
|
108
|
+
exports.HyTableActionButton = index$q.HyTableActionButton;
|
|
109
|
+
exports.HyTree = index$r.HyTree;
|
|
110
|
+
exports.HyUserAvatar = index$s.HyUserAvatar;
|
|
111
|
+
exports.HyVideoPlayer = index$t.HyVideoPlayer;
|
|
112
|
+
exports.InitMap = index$u.InitMap;
|
|
113
|
+
exports.setMapServer = index$u.setMapServer;
|
|
114
|
+
exports.setPoiServer = index$u.setPoiServer;
|
|
104
115
|
exports.PERMISSION = permission.PERMISSION;
|
|
105
116
|
exports.base64Decrypt = crypto.base64Decrypt;
|
|
106
117
|
exports.encryptToBase64 = crypto.encryptToBase64;
|
|
@@ -166,10 +177,13 @@ exports.isSupportH265 = is.isSupportH265;
|
|
|
166
177
|
exports.isSymbol = is.isSymbol;
|
|
167
178
|
exports.isUndefined = is.isUndefined;
|
|
168
179
|
exports.isVueProxy = is.isVueProxy;
|
|
180
|
+
exports.loadingSvg = sharedContent.loadingSvg;
|
|
169
181
|
exports.localAudioPlayerConfigKey = useAudioPlayerConfig.localAudioPlayerConfigKey;
|
|
170
182
|
exports.useAudioPlayerConfig = useAudioPlayerConfig.useAudioPlayerConfig;
|
|
171
183
|
exports.localEnsureHyIconMapKey = useEnsureHyIcon.localEnsureHyIconMapKey;
|
|
172
184
|
exports.useEnsureHyIcon = useEnsureHyIcon.useEnsureHyIcon;
|
|
185
|
+
exports.localMapConfigKey = useMapConfig.localMapConfigKey;
|
|
186
|
+
exports.useMapConfig = useMapConfig.useMapConfig;
|
|
173
187
|
exports.localPermissionMapKey = usePermissionMap.localPermissionMapKey;
|
|
174
188
|
exports.usePermissionMap = usePermissionMap.usePermissionMap;
|
|
175
189
|
exports.localTooltipConfigKey = useTooltipConfig.localTooltipConfigKey;
|
package/lib/locale/en.js
CHANGED
package/lib/locale/zh_CN.js
CHANGED
|
@@ -31,8 +31,7 @@ var zh_CN = {
|
|
|
31
31
|
wednesday: "\u661F\u671F\u4E09",
|
|
32
32
|
thursday: "\u661F\u671F\u56DB",
|
|
33
33
|
friday: "\u661F\u671F\u4E94",
|
|
34
|
-
saturday: "\u661F\u671F\u516D"
|
|
35
|
-
help: "\u5E2E\u52A9"
|
|
34
|
+
saturday: "\u661F\u671F\u516D"
|
|
36
35
|
},
|
|
37
36
|
form: {
|
|
38
37
|
department: "\u6240\u5C5E\u90E8\u95E8",
|
package/lib/make-installer.js
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-list-editorialdownsizing',
|
|
3
|
+
defs: `<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-list-editorialdownsizing-linearGradient-1">
|
|
4
|
+
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
|
5
|
+
<stop stop-color="#73F6FF" offset="100%"></stop>
|
|
6
|
+
</linearGradient>`,
|
|
7
|
+
symbol: `<symbol id="hy-icon-ops-list-editorialdownsizing" viewBox="0 0 30 30">
|
|
8
|
+
<g id="hy-icon-ops-list-editorialdownsizing-部门管理" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9
|
+
<g id="hy-icon-ops-list-editorialdownsizing-缩小化-组件说明" transform="translate(-412, -357)" fill="url(#hy-icon-ops-list-editorialdownsizing-linearGradient-1)" fill-rule="nonzero">
|
|
10
|
+
<path d="M434.75,372.6 C435.1696,372.6 435.580875,372.6354 435.980961,372.703357 L435.423544,374.441021 C435.202853,374.413944 434.978066,374.4 434.75,374.4 C431.746952,374.4 429.3125,376.817662 429.3125,379.8 C429.3125,382.782338 431.746952,385.2 434.75,385.2 C437.753048,385.2 440.1875,382.782338 440.1875,379.8 C440.1875,379.726583 440.186025,379.653509 440.183102,379.580804 L441.954084,378.985159 C441.984419,379.252611 442,379.524498 442,379.8 C442,383.77645 438.754064,387 434.75,387 C430.745936,387 427.5,383.77645 427.5,379.8 C427.5,375.82355 430.745936,372.6 434.75,372.6 Z M412.232921,373.864066 L412.546358,373.973967 C416.62104,375.60417 420.677284,377.25269 424.751965,378.864576 C424.929045,378.916249 425.044797,379.084908 425.028527,379.267547 C424.993962,379.79031 425.030668,380.313196 425.136041,380.822367 C425.33636,382.687313 426.072725,384.392673 427.189839,385.783025 C426.313438,385.724916 425.453782,385.497114 424.659778,385.110634 C421.599157,383.755184 418.575412,382.399735 415.533229,381.044285 C414.657622,380.704068 413.874562,380.164531 413.246982,379.469033 C412.31459,378.334694 411.876554,376.877529 412.030109,375.421001 C412.030109,374.926445 412.159171,374.413573 412.232921,373.864066 Z M438.274059,374.598087 L440.347255,376.668104 C439.477024,377.537 439.306609,377.698453 438.589949,378.403793 C438.282809,378.700239 437.983347,378.994131 437.691564,379.285467 C437.399781,379.576802 437.133593,379.837471 436.893,380.067473 C436.652407,380.297475 436.455326,380.489143 436.301755,380.642478 L436.025329,380.91848 C435.953663,380.990036 435.871759,381.061592 435.779617,381.133148 C435.687475,381.204705 435.585095,381.266038 435.472477,381.31715 C435.359859,381.368261 435.20373,381.429595 435.004089,381.501151 C434.804448,381.572708 434.597128,381.641708 434.38213,381.708153 C434.167132,381.774598 433.962372,381.835932 433.76785,381.892155 C433.573328,381.948377 433.424877,381.9816 433.322497,381.991822 C433.127975,382.012267 433.023036,381.994378 433.007679,381.938155 C432.992321,381.881932 433,381.756709 433.030714,381.562485 C433.040952,381.460262 433.066547,381.309483 433.107499,381.110148 C433.148451,380.910813 433.189403,380.708923 433.230355,380.504477 C433.271307,380.30003 433.314819,380.108362 433.36089,379.929472 C433.406961,379.750581 433.445353,379.625358 433.476067,379.553802 C433.527257,379.441357 433.581007,379.344245 433.637316,379.262466 C433.693625,379.180688 433.772969,379.088687 433.875349,378.986464 L436.516754,376.349109 L438.274059,374.598087 Z M424.954778,373.864066 L426.723633,374.448186 C426.300615,375.072653 425.949537,375.749182 425.682191,376.466063 L424.180404,375.970508 C423.695689,375.798751 423.386257,375.326392 423.424467,374.816544 C423.481438,374.315817 423.879192,373.920664 424.383216,373.864066 C424.572004,373.827963 424.76599,373.827963 424.954778,373.864066 Z M440.377969,373.003407 C440.613443,373.023852 440.802846,373.069852 440.946178,373.141409 C441.099748,373.223187 441.271234,373.366299 441.460637,373.570745 C441.65004,373.775192 441.795932,373.98986 441.898312,374.214751 C441.949502,374.357863 441.982775,374.526531 441.998132,374.720755 C442.013489,374.914979 441.934145,375.09898 441.760099,375.272759 C441.678195,375.36476 441.60141,375.446539 441.529744,375.518095 L441.34546,375.702096 C441.284032,375.76343 441.227723,375.814542 441.176533,375.855431 L439.103337,373.77008 C439.185241,373.688302 439.287621,373.59119 439.410477,373.478745 C439.533333,373.366299 439.635713,373.27941 439.717617,373.218076 C439.922377,373.054519 440.142494,372.982963 440.377969,373.003407 Z M421.43322,372.636835 C421.742684,372.621907 422.044993,372.732413 422.270916,372.943046 C422.496839,373.153679 422.627023,373.446397 422.631656,373.754165 C422.634407,374.041825 422.5216,374.318703 422.318219,374.523474 C422.112605,374.714934 421.843941,374.825603 421.562283,374.834861 C421.243085,374.860018 420.927302,374.755223 420.687406,374.544529 C420.447511,374.333835 420.304103,374.035333 420.290097,373.717531 C420.294876,373.422785 420.418643,373.142303 420.633595,372.93909 C420.848547,372.735877 421.136662,372.62697 421.43322,372.636835 Z M423.719467,357.067482 L439.926006,360.25462 C440.301169,360.282799 440.639359,360.489753 440.833468,360.80994 C441.027578,361.130126 441.053562,361.523883 440.903192,361.866506 C439.978912,364.832406 439.003663,367.798306 437.970478,370.745745 C437.216038,370.480968 436.418354,370.306628 435.59087,370.235817 C436.356002,368.041374 437.094364,365.835285 437.824134,363.624927 C437.990071,363.167005 438.137571,362.709083 438.285071,362.232844 L438.43257,362.251161 L424.014466,359.393727 L423.350717,361.225415 L418.999474,373.003172 C418.892782,373.478179 418.50582,373.840849 418.022288,373.919017 C417.610104,373.969981 417.203202,373.791103 416.963972,373.453771 C416.724742,373.11644 416.692135,372.675578 416.879164,372.307131 L418.280412,368.497219 L422.170719,357.928376 C422.24144,357.598087 422.45209,357.314137 422.748716,357.149253 C423.045342,356.984369 423.399131,356.954568 423.719467,357.067482 Z M426.503525,369.43138 C427.05665,369.577915 427.572899,369.779401 428.107586,369.944253 L431.079143,370.916392 C430.163468,371.289961 429.318293,371.799095 428.568946,372.418644 L426.079463,371.574455 C425.788586,371.505501 425.5382,371.322491 425.385366,371.067133 C425.232532,370.811776 425.190271,370.505825 425.268215,370.219006 C425.396643,369.666953 425.944845,369.317423 426.503525,369.43138 Z M423.203218,368.405634 C423.854913,368.405634 424.383216,368.930482 424.383216,369.577915 C424.364063,370.176825 423.87982,370.657901 423.276968,370.676928 C422.631827,370.708214 422.081258,370.218392 422.041657,369.577915 C422.041657,368.970947 422.536941,368.478902 423.147905,368.478902 L423.203218,368.405634 Z M428.697585,365.035327 L432.034767,365.914538 L433.32539,366.262559 C433.769152,366.38234 434.090534,366.756487 434.146501,367.201848 L434.154,367.312 L434.15029,367.417558 C434.124739,367.673739 434.004475,367.913289 433.810197,368.088202 C433.58354,368.292266 433.278637,368.388099 432.975078,368.350684 C432.292892,368.222465 431.629143,368.02098 430.965394,367.837811 L428.015398,367.050185 C427.538077,366.959764 427.182127,366.560998 427.148837,366.07939 C427.095242,365.655464 427.307049,365.241877 427.683524,365.035327 C428.005442,364.888741 428.375666,364.888741 428.697585,365.035327 Z M425.811198,364.168613 C426.041804,364.383826 426.17231,364.684366 426.171651,364.998694 C426.178078,365.290544 426.05903,365.57129 425.844332,365.770597 C425.629635,365.969904 425.339627,366.06889 425.046965,366.042756 L425.046965,366.061073 C424.738857,366.070945 424.439436,365.958737 424.214651,365.749164 C423.989866,365.539592 423.858155,365.249845 423.848529,364.943743 C423.84402,364.652093 423.964709,364.372328 424.180404,364.174434 C424.386523,363.972383 424.665224,363.860313 424.954778,363.863047 C425.270516,363.842767 425.580593,363.953401 425.811198,364.168613 Z" id="hy-icon-ops-list-editorialdownsizing-Editorialdownsizing"></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</symbol>`,
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-list-suoxiao',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-list-suoxiao" viewBox="0 0 24 24">
|
|
4
|
+
<g id="hy-icon-ops-list-suoxiao-部门管理" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="hy-icon-ops-list-suoxiao-缩小化-组件说明" transform="translate(-483, -13)" fill="#FFFFFF" fill-rule="nonzero">
|
|
6
|
+
<g id="hy-icon-ops-list-suoxiao-suoxiao" transform="translate(483, 13)">
|
|
7
|
+
<path d="M12,0 C5.372583,0 0,5.372583 0,12 C0,18.6274169 5.372583,24 12,24 C18.6274169,24 24,18.6274169 24,12 C24,5.372583 18.6274169,0 12,0 Z" id="hy-icon-ops-list-suoxiao-hy-icon-dispatch-Adv-v3-monitor-close-形状备份-14" fill-opacity="0.2"></path>
|
|
8
|
+
<path d="M12.3468905,13.2127939 L12.4786761,13.2798602 L17.570391,16.4134259 C17.9742125,16.6489229 18.1169744,17.1425846 17.8967433,17.5419316 C17.6765123,17.9412787 17.168857,18.1092817 16.7362483,17.9259849 L16.5924823,17.8532108 L11.9904705,15.0178761 L7.38845872,17.8532108 C7.0234701,18.0779721 6.54206147,18.0221347 6.24432043,17.7205052 L6.14398369,17.5977881 C5.90831977,17.2504554 5.96693244,16.7922561 6.28325707,16.509031 L6.41204751,16.4134259 L11.5022649,13.2812872 C11.7544505,13.1261153 12.0712286,13.100962 12.3468905,13.2142209 L12.3468905,13.2127939 Z M12.3468905,8.07152021 L12.4786761,8.1385865 L17.570391,11.2721522 C17.9742125,11.5076492 18.1169744,12.0013108 17.8967433,12.4006579 C17.6765123,12.800005 17.168857,12.968008 16.7362483,12.7847112 L16.5924823,12.7105102 L11.9904705,9.87660243 L7.38845872,12.7105102 C7.0234701,12.9352714 6.54206147,12.8794341 6.24432043,12.5778045 L6.14398369,12.4550875 C5.90831977,12.1077547 5.96693244,11.6495554 6.28325707,11.3663304 L6.41204751,11.2707252 L11.5022649,8.13715956 C11.7544505,7.98198772 12.0712286,7.95683441 12.3468905,8.07009326 L12.3468905,8.07152021 Z" id="hy-icon-ops-list-suoxiao-形状备份-4" transform="translate(12, 13) scale(1, -1) translate(-12, -13)"></path>
|
|
9
|
+
<path d="M12,0 C18.6274169,0 24,5.372583 24,12 C24,18.6274169 18.6274169,24 12,24 C5.372583,24 0,18.6274169 0,12 C0,5.372583 5.372583,0 12,0 Z M12,0.952380947 C5.89856848,0.952380947 0.952380947,5.89856848 0.952380947,12 C0.952380947,18.1014315 5.89856848,23.0476191 12,23.0476191 C18.1014315,23.0476191 23.0476191,18.1014315 23.0476191,12 C23.0476191,5.89856848 18.1014315,0.952380947 12,0.952380947 Z" id="hy-icon-ops-list-suoxiao-hy-icon-dispatch-Adv-v3-monitor-close-形状备份-16" fill-opacity="0.6"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</symbol>`,
|
|
14
|
+
};
|
package/lib/utils/file.js
CHANGED
package/lib/utils/form.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
|
+
require('../hooks/index.js');
|
|
4
5
|
var is = require('./is.js');
|
|
5
6
|
var useLocale = require('../hooks/useLocale.js');
|
|
6
7
|
|
|
@@ -115,6 +116,10 @@ const columnLabelHandler = (column, model) => {
|
|
|
115
116
|
function columnPlaceholderHandler(column, model) {
|
|
116
117
|
const { t } = useLocale.useLocale();
|
|
117
118
|
const { type, attrs = {} } = column || {};
|
|
119
|
+
if (is.isFunction(attrs.placeholder)) {
|
|
120
|
+
const placeholder2 = vue.unref(attrs.placeholder);
|
|
121
|
+
return placeholder2(column, model);
|
|
122
|
+
}
|
|
118
123
|
const label = columnLabelHandler(column, model);
|
|
119
124
|
let placeholder = attrs.placeholder;
|
|
120
125
|
switch (type) {
|
package/lib/utils/handler.js
CHANGED
package/lib/utils/index.js
CHANGED
|
@@ -10,6 +10,8 @@ var form = require('./form.js');
|
|
|
10
10
|
var input = require('./input.js');
|
|
11
11
|
var permission = require('./permission.js');
|
|
12
12
|
var index = require('./map/index.js');
|
|
13
|
+
require('./tree.js');
|
|
14
|
+
var sharedContent = require('./sharedContent.js');
|
|
13
15
|
var hyVirtualTree = require('hy-virtual-tree');
|
|
14
16
|
|
|
15
17
|
|
|
@@ -72,6 +74,7 @@ exports.PERMISSION = permission.PERMISSION;
|
|
|
72
74
|
exports.InitMap = index.InitMap;
|
|
73
75
|
exports.setMapServer = index.setMapServer;
|
|
74
76
|
exports.setPoiServer = index.setPoiServer;
|
|
77
|
+
exports.loadingSvg = sharedContent.loadingSvg;
|
|
75
78
|
Object.defineProperty(exports, "setGlobalTreeConfig", {
|
|
76
79
|
enumerable: true,
|
|
77
80
|
get: function () { return hyVirtualTree.setGlobalTreeConfig; }
|
package/lib/utils/input.js
CHANGED
package/lib/utils/is.js
CHANGED
|
@@ -9,7 +9,7 @@ var mapProxy = require('../js/mapProxy.js');
|
|
|
9
9
|
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
11
11
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
12
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
13
|
const CIRCLE_SEGMENTS = 36;
|
|
14
14
|
function remToPx(rem) {
|
|
15
15
|
const rootFontSize = parseFloat(
|
|
@@ -716,6 +716,7 @@ class bigMap extends events.EventEmitter {
|
|
|
716
716
|
// 电子围栏
|
|
717
717
|
CreateFence(pmType = "rectangle", options = {}, map) {
|
|
718
718
|
let polygon = null;
|
|
719
|
+
const _this = this;
|
|
719
720
|
const clearPolygon = () => {
|
|
720
721
|
if (polygon) {
|
|
721
722
|
polygon.remove();
|
|
@@ -826,7 +827,7 @@ class bigMap extends events.EventEmitter {
|
|
|
826
827
|
}
|
|
827
828
|
function setPointIcon(index, distance, showDeleteAll) {
|
|
828
829
|
const markerItem = rangingMarker[index];
|
|
829
|
-
const isLast = !rangingMarker[index + 1]?.options?.extData?.distance;
|
|
830
|
+
const isLast = showDeleteAll ?? !rangingMarker[index + 1]?.options?.extData?.distance;
|
|
830
831
|
markerItem.setIcon({
|
|
831
832
|
divIcon: _this.DivIcon(
|
|
832
833
|
rangingPointIconOption(
|
|
@@ -7,7 +7,7 @@ var mapProxy = require('../js/mapProxy.js');
|
|
|
7
7
|
|
|
8
8
|
var __defProp = Object.defineProperty;
|
|
9
9
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
10
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
11
|
const createClickHandler = (fn, context, target) => {
|
|
12
12
|
return (e) => {
|
|
13
13
|
const newEvent = { ...e };
|