hy-dispatch-ui-v3 0.2.62 → 0.2.64
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 +4 -5
- package/es/api/device.mjs +1 -0
- package/es/api/index.mjs +1 -0
- package/es/api/sypct.mjs +1 -0
- package/es/api/task.mjs +1 -0
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +6 -3
- package/es/bussiness/hyAddDepartmentType/index.mjs +1 -0
- package/es/bussiness/hyMapAearchPlace/index.mjs +1 -0
- package/es/bussiness/hyMapAearchPlace/js/index.mjs +39 -42
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +24 -5
- package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +2 -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 +4 -0
- 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 +9 -2
- package/es/components/hyConfigProvider/configProvider.vue.mjs +2 -1
- package/es/components/hyConfigProvider/index.mjs +1 -0
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +4 -0
- 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 +99 -28
- 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 +5 -1
- package/es/components/hyForm/form.vue.mjs +9 -3
- 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 +1 -0
- 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 +3 -1
- 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 +27 -45
- package/es/components/hyTable/index.mjs +1 -0
- package/es/components/hyTable/js/index.mjs +80 -28
- package/es/components/hyTable/js/search.mjs +2 -0
- package/es/components/hyTable/js/useAppTable.mjs +9 -5
- package/es/components/hyTable/table.vue.mjs +16 -8
- package/es/components/hyTableActionButton/index.mjs +1 -0
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +8 -7
- package/es/components/hyTableForm/batchTableForm.vue.mjs +5 -2
- package/es/components/hyTableForm/index.mjs +1 -0
- package/es/components/hyTableForm/js/index.mjs +36 -0
- package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +4 -2
- 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 +49 -14
- package/es/components/hyTree/tree.vue.mjs +13 -6
- 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/useGlobalConfig.mjs +1 -1
- package/es/hooks/useLocale.mjs +4 -2
- package/es/hooks/useResizeHandler.mjs +1 -0
- package/es/hooks/useResizeObserver.mjs +1 -1
- package/es/index.mjs +6 -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-lod.js +14 -0
- package/es/utils/file.mjs +1 -0
- package/es/utils/form.mjs +2 -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 +4 -1
- package/es/utils/sharedContent.mjs +12 -0
- package/es/version.mjs +1 -1
- package/lib/api/device.js +1 -0
- package/lib/api/index.js +1 -0
- package/lib/api/sypct.js +1 -0
- package/lib/api/task.js +1 -0
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +15 -12
- package/lib/bussiness/hyAddDepartmentType/index.js +1 -0
- package/lib/bussiness/hyMapAearchPlace/index.js +1 -0
- package/lib/bussiness/hyMapAearchPlace/js/index.js +37 -40
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +23 -4
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.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 +4 -0
- 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 +9 -2
- package/lib/components/hyConfigProvider/configProvider.vue.js +1 -0
- package/lib/components/hyConfigProvider/index.js +1 -0
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +4 -0
- 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 +97 -26
- 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 +5 -1
- package/lib/components/hyForm/form.vue.js +9 -3
- 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 +1 -0
- 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 +2 -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 +25 -43
- package/lib/components/hyTable/index.js +1 -0
- package/lib/components/hyTable/js/index.js +79 -27
- package/lib/components/hyTable/js/search.js +2 -0
- package/lib/components/hyTable/js/useAppTable.js +8 -4
- package/lib/components/hyTable/table.vue.js +15 -7
- package/lib/components/hyTableActionButton/index.js +1 -0
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +7 -6
- package/lib/components/hyTableForm/batchTableForm.vue.js +15 -12
- package/lib/components/hyTableForm/index.js +1 -0
- package/lib/components/hyTableForm/js/index.js +36 -0
- package/lib/components/hyTableForm/js/useAppTableForm.js +2 -0
- package/lib/components/hyTableForm/tableForm.vue.js +12 -10
- 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 +48 -13
- package/lib/components/hyTree/tree.vue.js +13 -6
- 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/useLocale.js +3 -1
- package/lib/hooks/useResizeHandler.js +1 -0
- package/lib/index.js +70 -61
- 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-lod.js +14 -0
- package/lib/utils/file.js +1 -0
- package/lib/utils/form.js +1 -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 +4 -1
- package/lib/utils/sharedContent.js +14 -0
- package/lib/version.js +1 -1
- package/package.json +2 -1
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/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(
|
package/lib/index.js
CHANGED
|
@@ -3,36 +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('./
|
|
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('./components/
|
|
35
|
-
var index$t = 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');
|
|
36
41
|
var permission = require('./utils/permission.js');
|
|
37
42
|
var crypto = require('./utils/crypto.js');
|
|
38
43
|
var file = require('./utils/file.js');
|
|
@@ -45,6 +50,7 @@ var useApi = require('./hooks/useApi.js');
|
|
|
45
50
|
var input = require('./utils/input.js');
|
|
46
51
|
var date = require('./utils/date.js');
|
|
47
52
|
var is = require('./utils/is.js');
|
|
53
|
+
var sharedContent = require('./utils/sharedContent.js');
|
|
48
54
|
var useAudioPlayerConfig = require('./hooks/useAudioPlayerConfig.js');
|
|
49
55
|
var useEnsureHyIcon = require('./hooks/useEnsureHyIcon.js');
|
|
50
56
|
var useMapConfig = require('./hooks/useMapConfig.js');
|
|
@@ -71,39 +77,41 @@ exports.HyDatePicker = index.HyDatePicker;
|
|
|
71
77
|
exports.ElInput = index$1.ElInput;
|
|
72
78
|
exports.HyInput = index$1.HyInput;
|
|
73
79
|
exports.HyInputSearch = index$1.HyInputSearch;
|
|
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.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
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;
|
|
107
115
|
exports.PERMISSION = permission.PERMISSION;
|
|
108
116
|
exports.base64Decrypt = crypto.base64Decrypt;
|
|
109
117
|
exports.encryptToBase64 = crypto.encryptToBase64;
|
|
@@ -169,6 +177,7 @@ exports.isSupportH265 = is.isSupportH265;
|
|
|
169
177
|
exports.isSymbol = is.isSymbol;
|
|
170
178
|
exports.isUndefined = is.isUndefined;
|
|
171
179
|
exports.isVueProxy = is.isVueProxy;
|
|
180
|
+
exports.loadingSvg = sharedContent.loadingSvg;
|
|
172
181
|
exports.localAudioPlayerConfigKey = useAudioPlayerConfig.localAudioPlayerConfigKey;
|
|
173
182
|
exports.useAudioPlayerConfig = useAudioPlayerConfig.useAudioPlayerConfig;
|
|
174
183
|
exports.localEnsureHyIconMapKey = useEnsureHyIcon.localEnsureHyIconMapKey;
|
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-lod',
|
|
3
|
+
defs: `<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-list-lod-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-lod" viewBox="0 0 28 7">
|
|
8
|
+
<g id="hy-icon-ops-list-lod-部门管理" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9
|
+
<g id="hy-icon-ops-list-lod-缩小化-自适应说明" transform="translate(-1263, -986)" fill="url(#hy-icon-ops-list-lod-linearGradient-1)" fill-rule="nonzero">
|
|
10
|
+
<path d="M1267.42105,986.85 C1268.23495,986.85 1268.89474,987.535564 1268.89474,988.38125 L1268.89474,991.44375 C1268.89474,992.289436 1268.23495,992.975 1267.42105,992.975 L1264.47368,992.975 C1263.65979,992.975 1263,992.289436 1263,991.44375 L1263,988.38125 C1263,987.535564 1263.65979,986.85 1264.47368,986.85 L1267.42105,986.85 L1267.42105,986.85 Z M1278.47368,986.85 C1279.28758,986.85 1279.94737,987.535564 1279.94737,988.38125 L1279.94737,991.44375 C1279.94737,992.289436 1279.28758,992.975 1278.47368,992.975 L1275.52632,992.975 C1274.71242,992.975 1274.05263,992.289436 1274.05263,991.44375 L1274.05263,988.38125 C1274.05263,987.535564 1274.71242,986.85 1275.52632,986.85 L1278.47368,986.85 L1278.47368,986.85 Z M1289.52632,986.85 C1290.34021,986.85 1291,987.535564 1291,988.38125 L1291,991.44375 C1291,992.289436 1290.34021,992.975 1289.52632,992.975 L1286.57895,992.975 C1285.76505,992.975 1285.10526,992.289436 1285.10526,991.44375 L1285.10526,988.38125 C1285.10526,987.535564 1285.76505,986.85 1286.57895,986.85 L1289.52632,986.85 L1289.52632,986.85 Z" id="hy-icon-ops-list-lod-lod"></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</symbol>`,
|
|
14
|
+
};
|
package/lib/utils/file.js
CHANGED
package/lib/utils/form.js
CHANGED
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 };
|
|
@@ -4,6 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var events = require('events');
|
|
6
6
|
var L = require('leaflet');
|
|
7
|
+
require('leaflet.pm');
|
|
8
|
+
require('leaflet.chinatmsproviders');
|
|
9
|
+
require('proj4leaflet');
|
|
10
|
+
require('leaflet.motion/dist/leaflet.motion.min');
|
|
11
|
+
require('leaflet.markercluster/dist/leaflet.markercluster-src.js');
|
|
12
|
+
require('leaflet-polylinedecorator/dist/leaflet.polylineDecorator');
|
|
7
13
|
var webgis = require('../js/webgis.js');
|
|
8
14
|
var mapProxy = require('../js/mapProxy.js');
|
|
9
15
|
var esriNS = require('esri-leaflet');
|
|
@@ -32,7 +38,7 @@ var cluster__namespace = /*#__PURE__*/_interopNamespaceDefault(cluster);
|
|
|
32
38
|
|
|
33
39
|
var __defProp = Object.defineProperty;
|
|
34
40
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
35
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
41
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
36
42
|
import "leaflet/dist/leaflet.css";
|
|
37
43
|
|
|
38
44
|
import "leaflet.pm/dist/leaflet.pm.css";
|
package/lib/utils/map/index.js
CHANGED
|
@@ -5,6 +5,7 @@ var leafletjs = require('./hook/leafletjs.js');
|
|
|
5
5
|
var bigMap = require('./hook/bigMap.js');
|
|
6
6
|
var events = require('events');
|
|
7
7
|
var hyCommon = require('hy-common');
|
|
8
|
+
require('../../hooks/index.js');
|
|
8
9
|
var useApi = require('../../hooks/useApi.js');
|
|
9
10
|
|
|
10
11
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -149,6 +150,7 @@ function loadScript(url) {
|
|
|
149
150
|
return promise;
|
|
150
151
|
}
|
|
151
152
|
function bmInit() {
|
|
153
|
+
;
|
|
152
154
|
(function() {
|
|
153
155
|
var originalInitTile = window.BM.GridLayer.prototype._initTile;
|
|
154
156
|
window.BM.GridLayer.include({
|
|
@@ -262,6 +264,8 @@ class InitMap extends events.EventEmitter {
|
|
|
262
264
|
// 自定义 Circle
|
|
263
265
|
Circle(latLngList, option) {
|
|
264
266
|
option = {
|
|
267
|
+
opacity: 1,
|
|
268
|
+
weight: 1,
|
|
265
269
|
...option,
|
|
266
270
|
radius: option.radius,
|
|
267
271
|
color: option.color,
|
|
@@ -275,6 +279,8 @@ class InitMap extends events.EventEmitter {
|
|
|
275
279
|
// 自定义 Polygon
|
|
276
280
|
Polygon(pathList = [], option) {
|
|
277
281
|
option = {
|
|
282
|
+
opacity: 1,
|
|
283
|
+
weight: 1,
|
|
278
284
|
...option,
|
|
279
285
|
color: option.color,
|
|
280
286
|
opacity: option.opacity,
|
|
@@ -299,6 +305,8 @@ class InitMap extends events.EventEmitter {
|
|
|
299
305
|
// 自定义 Polyline
|
|
300
306
|
Polyline(latLngList, option) {
|
|
301
307
|
option = {
|
|
308
|
+
opacity: 1,
|
|
309
|
+
weight: 1,
|
|
302
310
|
closeOnClick: false,
|
|
303
311
|
...option,
|
|
304
312
|
color: option.color,
|
|
@@ -323,6 +331,10 @@ class InitMap extends events.EventEmitter {
|
|
|
323
331
|
RangingTool(options = {}, map) {
|
|
324
332
|
return this.map.RangingTool(options, map);
|
|
325
333
|
}
|
|
334
|
+
// 地图图层
|
|
335
|
+
layerGroup(map, markers = []) {
|
|
336
|
+
return this.map.layerGroup(map, markers);
|
|
337
|
+
}
|
|
326
338
|
}
|
|
327
339
|
|
|
328
340
|
exports.InitMap = InitMap;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const loadingSvg = `
|
|
4
|
+
<path class="path" d="
|
|
5
|
+
M 30 15
|
|
6
|
+
L 28 17
|
|
7
|
+
M 25.61 25.61
|
|
8
|
+
A 15 15, 0, 0, 1, 15 30
|
|
9
|
+
A 15 15, 0, 1, 1, 27.99 7.5
|
|
10
|
+
L 15 15
|
|
11
|
+
" style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
exports.loadingSvg = loadingSvg;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hy-dispatch-ui-v3",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.64",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"scripts": {
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"sortablejs": "^1.15.7",
|
|
46
46
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
47
47
|
"vue-cropper": "^1.1.4",
|
|
48
|
+
"vue3-virtual-scroll-list": "0.2.1",
|
|
48
49
|
"xlsx": "^0.17.3"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|