hy-dispatch-ui-v3 0.2.65 → 0.2.66
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 +26 -12
- package/es/api/organization.mjs +43 -0
- package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.mjs +245 -0
- package/es/bussiness/hyAcquisitionStationTree/index.mjs +7 -0
- package/es/bussiness/hyAcquisitionStationTree/js/index.mjs +124 -0
- package/es/bussiness/hyAcquisitionStationTree/style/acquisitionStationTree.scss +0 -0
- package/es/bussiness/hyDeviceTree/deviceTree.vue.mjs +249 -0
- package/es/bussiness/hyDeviceTree/index.mjs +7 -0
- package/es/bussiness/hyDeviceTree/js/index.mjs +126 -0
- package/es/bussiness/hyDeviceTree/style/deviceTree.scss +0 -0
- package/es/bussiness/hyOrgGroupTree/index.mjs +7 -0
- package/es/bussiness/hyOrgGroupTree/js/index.mjs +124 -0
- package/es/bussiness/hyOrgGroupTree/orgGroupTree.vue.mjs +245 -0
- package/es/bussiness/hyOrgGroupTree/style/orgGroupTree.scss +0 -0
- package/es/bussiness/hyPlanGroupDeviceTree/index.mjs +7 -0
- package/es/bussiness/hyPlanGroupDeviceTree/js/index.mjs +124 -0
- package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.mjs +245 -0
- package/es/bussiness/hyPlanGroupDeviceTree/style/planGroupDeviceTree.scss +0 -0
- package/es/bussiness/hyUserTree/index.mjs +7 -0
- package/es/bussiness/hyUserTree/js/index.mjs +126 -0
- package/es/bussiness/hyUserTree/style/userTree.scss +0 -0
- package/es/bussiness/hyUserTree/userTree.vue.mjs +239 -0
- package/es/bussiness/index.mjs +5 -0
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +18 -16
- package/es/components/hyButton/button.vue.mjs +3 -2
- package/es/components/hyButton/style/button.scss +70 -0
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -2
- package/es/components/hyForm/cpns/formItem.vue.mjs +198 -26
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +8 -1
- package/es/components/hyForm/form.vue.mjs +74 -19
- package/es/components/hyForm/js/index.mjs +2 -1
- package/es/components/hyForm/js/useAppForm.mjs +2 -2
- package/es/components/hyIcon/style/icon.scss +1 -0
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -1
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -1
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +69 -14
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +5 -4
- package/es/components/hySearch/cpns/searchItem.vue.mjs +167 -11
- package/es/components/hySearch/js/index.mjs +2 -1
- package/es/components/hySearch/search.vue.mjs +60 -9
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +21 -22
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +10 -15
- package/es/components/hyTable/js/index.mjs +5 -12
- package/es/components/hyTable/js/search.mjs +3 -1
- package/es/components/hyTable/style/table.scss +13 -0
- package/es/components/hyTable/table.vue.mjs +21 -9
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +8 -10
- package/es/components/hyTableForm/batchTableForm.vue.mjs +13 -3
- package/es/components/hyTableForm/tableForm.vue.mjs +17 -11
- package/es/components/hyTour/index.mjs +7 -0
- package/es/components/hyTour/style/tour.scss +0 -0
- package/es/components/hyTour/tour.vue.mjs +23 -0
- package/es/components/hyTree/config/tree-config.mjs +5 -2
- package/es/components/hyTree/js/index.mjs +11 -7
- package/es/components/hyTree/tree.vue.mjs +18 -35
- package/es/components/index.mjs +1 -0
- package/es/index.mjs +6 -0
- package/es/static/hy-svg-icons/hy-icon-ops-linear-arrow.js +10 -0
- package/es/style/element/hy-element.scss +24 -3
- package/es/style/theme.scss +1 -0
- package/es/utils/map/hook/bigMap.mjs +9 -1
- package/es/utils/map/hook/gaode.mjs +9 -1
- package/es/utils/map/hook/leafletjs.mjs +10 -1
- package/es/version.mjs +1 -1
- package/lib/api/organization.js +47 -0
- package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +249 -0
- package/lib/bussiness/hyAcquisitionStationTree/index.js +12 -0
- package/lib/bussiness/hyAcquisitionStationTree/js/index.js +126 -0
- package/lib/bussiness/hyAcquisitionStationTree/style/acquisitionStationTree.scss +0 -0
- package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +253 -0
- package/lib/bussiness/hyDeviceTree/index.js +12 -0
- package/lib/bussiness/hyDeviceTree/js/index.js +128 -0
- package/lib/bussiness/hyDeviceTree/style/deviceTree.scss +0 -0
- package/lib/bussiness/hyOrgGroupTree/index.js +12 -0
- package/lib/bussiness/hyOrgGroupTree/js/index.js +126 -0
- package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +249 -0
- package/lib/bussiness/hyOrgGroupTree/style/orgGroupTree.scss +0 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/index.js +12 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/js/index.js +126 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +249 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/style/planGroupDeviceTree.scss +0 -0
- package/lib/bussiness/hyUserTree/index.js +12 -0
- package/lib/bussiness/hyUserTree/js/index.js +128 -0
- package/lib/bussiness/hyUserTree/style/userTree.scss +0 -0
- package/lib/bussiness/hyUserTree/userTree.vue.js +243 -0
- package/lib/bussiness/index.js +14 -4
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +18 -16
- package/lib/components/hyButton/button.vue.js +3 -2
- package/lib/components/hyButton/style/button.scss +70 -0
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +0 -1
- package/lib/components/hyForm/cpns/formItem.vue.js +195 -23
- package/lib/components/hyForm/cpns/locationSelect.vue.js +8 -1
- package/lib/components/hyForm/form.vue.js +72 -17
- package/lib/components/hyForm/js/index.js +2 -0
- package/lib/components/hyForm/js/useAppForm.js +2 -2
- package/lib/components/hyIcon/style/icon.scss +1 -0
- package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -1
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -1
- package/lib/components/hyOrgCascader/orgCascader.vue.js +67 -12
- package/lib/components/hyRadioGroup/radioGroup.vue.js +5 -4
- package/lib/components/hySearch/cpns/searchItem.vue.js +164 -8
- package/lib/components/hySearch/js/index.js +2 -0
- package/lib/components/hySearch/search.vue.js +58 -7
- package/lib/components/hyTable/cpns/columnSelect.vue.js +20 -21
- package/lib/components/hyTable/cpns/virtualTable.vue.js +27 -32
- package/lib/components/hyTable/js/index.js +5 -12
- package/lib/components/hyTable/js/search.js +3 -1
- package/lib/components/hyTable/style/table.scss +13 -0
- package/lib/components/hyTable/table.vue.js +20 -8
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +7 -9
- package/lib/components/hyTableForm/batchTableForm.vue.js +13 -3
- package/lib/components/hyTableForm/tableForm.vue.js +18 -12
- package/lib/components/hyTour/index.js +12 -0
- package/lib/components/hyTour/style/tour.scss +0 -0
- package/lib/components/hyTour/tour.vue.js +27 -0
- package/lib/components/hyTree/config/tree-config.js +5 -2
- package/lib/components/hyTree/js/index.js +11 -7
- package/lib/components/hyTree/tree.vue.js +18 -35
- package/lib/components/index.js +8 -6
- package/lib/index.js +67 -55
- package/lib/static/hy-svg-icons/hy-icon-ops-linear-arrow.js +10 -0
- package/lib/style/element/hy-element.scss +24 -3
- package/lib/style/theme.scss +1 -0
- package/lib/utils/map/hook/bigMap.js +9 -1
- package/lib/utils/map/hook/gaode.js +9 -1
- package/lib/utils/map/hook/leafletjs.js +10 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
|
@@ -58,9 +58,10 @@ const useAppTreeWrapper = (hy) => {
|
|
|
58
58
|
itemHeight: 30,
|
|
59
59
|
// 可视区域外的缓冲项数量
|
|
60
60
|
bufferSize: 10,
|
|
61
|
-
//
|
|
61
|
+
// 相邻级节点间的水平缩进,单位为像素
|
|
62
62
|
indent: 16,
|
|
63
63
|
emptyText: "\u6682\u65E0\u6570\u636E",
|
|
64
|
+
// 树形业务类型
|
|
64
65
|
business: props.treeType,
|
|
65
66
|
// 自定义整体的插槽
|
|
66
67
|
renderItem: props.treeType === treeConfig.treeTypeConfig.user ? (data, node) => setUserSlot(data, node) : setSlot("treeParentSlot"),
|
|
@@ -90,6 +91,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
90
91
|
},
|
|
91
92
|
// // 自定义状态模块
|
|
92
93
|
renderStatus: props.treeType === treeConfig.treeTypeConfig.device || props.treeType === treeConfig.treeTypeConfig.channel ? (data) => setRenderStatus(data) : null,
|
|
94
|
+
// 暂无数据插槽
|
|
93
95
|
renderEmpty: () => {
|
|
94
96
|
if (!props.showCustomEmpty || hy.filterValue.value) return true;
|
|
95
97
|
let renderEmpty = setSlot("renderEmpty");
|
|
@@ -100,7 +102,8 @@ const useAppTreeWrapper = (hy) => {
|
|
|
100
102
|
return setEmpty();
|
|
101
103
|
},
|
|
102
104
|
props: {
|
|
103
|
-
|
|
105
|
+
// 是否显示右侧业务状态
|
|
106
|
+
showStatus: props.showStatus,
|
|
104
107
|
disabled: (data) => {
|
|
105
108
|
if (data.dataType === 5 || data.dataType === 3) {
|
|
106
109
|
if (hy.disableSelectionMap.value) {
|
|
@@ -114,7 +117,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
114
117
|
},
|
|
115
118
|
rowSelection: {
|
|
116
119
|
type: props.showCheckbox ? "checkbox" : "radio",
|
|
120
|
+
// 是否高亮选中项
|
|
117
121
|
highlight: props.highlight,
|
|
122
|
+
// 是否严格遵循父子不互相关联
|
|
118
123
|
checkStrictly: props.checkStrictly,
|
|
119
124
|
// 是否显示选项 showSinglebox 单选为true时部门不显示其他节点显示选择框
|
|
120
125
|
showSelect: (data) => {
|
|
@@ -159,7 +164,6 @@ const useAppTreeWrapper = (hy) => {
|
|
|
159
164
|
// 筛选方法
|
|
160
165
|
filterMethod: ({ filterValue: filterValue2 }, data) => {
|
|
161
166
|
let isFilter = true;
|
|
162
|
-
console.log("111111111", isFilter, props.filterMethod);
|
|
163
167
|
if (props.filterMethod) {
|
|
164
168
|
isFilter = props.filterMethod(data, {
|
|
165
169
|
filterValue: filterValue2
|
|
@@ -300,13 +304,13 @@ const useAppTreeWrapper = (hy) => {
|
|
|
300
304
|
}
|
|
301
305
|
});
|
|
302
306
|
content = `<div class="w-full h-full flex flex-col justify-center items-center">
|
|
303
|
-
<svg data-v-19e5a669="" data-v-56505d40="" aria-hidden="true" svgName="
|
|
307
|
+
<svg data-v-19e5a669="" data-v-56505d40="" aria-hidden="true" svgName="ops-list-no-data" class="svg-icon" style="width: 40px; height: 48px"><use data-v-19e5a669="" xlink:href="#icon-ops-list-no-data"></use></svg>
|
|
304
308
|
<span class="text-auxiliary text-sm mt-2">\u60A8\u5C1A\u672A\u6DFB\u52A0\u4EFB\u52A1\u8BBE\u5907</span>
|
|
305
309
|
${permissionIdList.includes("operator_deviceManage") ? '<span id="dispatch-add-device" class="inline-block border-b border-theme text-theme text-sm mt-2 cursor-pointer">\u53BB\u6DFB\u52A0</span>' : ""}
|
|
306
310
|
</div>`;
|
|
307
311
|
} else {
|
|
308
312
|
content = `<div class="w-full h-full flex flex-col justify-center items-center">
|
|
309
|
-
<svg data-v-19e5a669="" data-v-56505d40="" aria-hidden="true" svgName="
|
|
313
|
+
<svg data-v-19e5a669="" data-v-56505d40="" aria-hidden="true" svgName="analytics-v3-card-device-offline" class="svg-icon" style="width: 40px; height: 40px"><use data-v-19e5a669="" xlink:href="#icon-analytics-v3-card-device-offline"></use></svg>
|
|
310
314
|
<span class="text-auxiliary text-sm mt-2">\u6682\u65E0\u8BBE\u5907\u5904\u4E8E\u5728\u7EBF\u72B6\u6001</span>
|
|
311
315
|
<span class="text-auxiliary text-sm whitespace-nowrap">\u8BF7\u68C0\u67E5\u8BBE\u5907\u72B6\u6001\u6216\u7F51\u7EDC\u8FDE\u63A5</span>
|
|
312
316
|
</div>`;
|
|
@@ -465,13 +469,13 @@ const useAppTreeWrapper = (hy) => {
|
|
|
465
469
|
});
|
|
466
470
|
}
|
|
467
471
|
}
|
|
468
|
-
function setChecked(data, type) {
|
|
472
|
+
function setChecked(data, type = true) {
|
|
469
473
|
if (props.treeType === "device") {
|
|
470
474
|
virtualTree?.setChecked(data.channelId || data.deviceId, type, true);
|
|
471
475
|
} else if (props.treeType) {
|
|
472
476
|
virtualTree?.setChecked(data.id, type, true);
|
|
473
477
|
} else if (!props.treeType && props.treeProps) {
|
|
474
|
-
virtualTree?.setChecked(data[`${props.treeProps.value}`], type,
|
|
478
|
+
virtualTree?.setChecked(data[`${props.treeProps.value}`], type, false);
|
|
475
479
|
}
|
|
476
480
|
}
|
|
477
481
|
function setSelectedOrg(deviceList) {
|
|
@@ -22,9 +22,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
22
22
|
/* 禁止选择 */
|
|
23
23
|
disableSelection: {
|
|
24
24
|
type: Array,
|
|
25
|
-
default: () =>
|
|
26
|
-
return [];
|
|
27
|
-
}
|
|
25
|
+
default: () => []
|
|
28
26
|
},
|
|
29
27
|
// 是否开启按照设备在线和离线状态排序,仅支持 device 和 groupDevice 业务类型
|
|
30
28
|
deviceOrderSort: {
|
|
@@ -34,37 +32,27 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
34
32
|
// 当前群组
|
|
35
33
|
orgGroupId: {
|
|
36
34
|
type: [Number, String],
|
|
37
|
-
default:
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
35
|
+
default: null
|
|
40
36
|
},
|
|
41
37
|
// 设置勤务状态
|
|
42
38
|
getDutyRoster: {
|
|
43
39
|
type: Boolean,
|
|
44
|
-
default:
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
40
|
+
default: false
|
|
47
41
|
},
|
|
48
42
|
// 仅展示在线数据
|
|
49
43
|
showOnlineOnly: {
|
|
50
44
|
type: Boolean,
|
|
51
|
-
default:
|
|
52
|
-
return false;
|
|
53
|
-
}
|
|
45
|
+
default: false
|
|
54
46
|
},
|
|
55
47
|
/* 是否开启多选框 */
|
|
56
48
|
showCheckbox: {
|
|
57
49
|
type: Boolean,
|
|
58
|
-
default:
|
|
59
|
-
return true;
|
|
60
|
-
}
|
|
50
|
+
default: true
|
|
61
51
|
},
|
|
62
52
|
/* 是否开启单选框 */
|
|
63
53
|
showSinglebox: {
|
|
64
54
|
type: Boolean,
|
|
65
|
-
default:
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
55
|
+
default: false
|
|
68
56
|
},
|
|
69
57
|
// 是否清除无数据的部门
|
|
70
58
|
clearEmptyBusiness: {
|
|
@@ -79,28 +67,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
79
67
|
// 树形类型
|
|
80
68
|
treeType: {
|
|
81
69
|
type: String,
|
|
82
|
-
default:
|
|
83
|
-
return treeConfig.treeTypeConfig.device;
|
|
84
|
-
}
|
|
70
|
+
default: treeConfig.treeTypeConfig.device
|
|
85
71
|
},
|
|
86
72
|
// 树形 props 类型 (treeType null时生效)
|
|
87
73
|
treeProps: {
|
|
88
74
|
type: Object,
|
|
89
|
-
default: () => {
|
|
90
|
-
return {};
|
|
91
|
-
}
|
|
75
|
+
default: () => ({})
|
|
92
76
|
},
|
|
93
77
|
// 树形 过滤参数 类型 (treeType null时生效)
|
|
94
78
|
treeFilterParam: {
|
|
95
79
|
type: Array,
|
|
96
|
-
default: () =>
|
|
97
|
-
return [];
|
|
98
|
-
}
|
|
80
|
+
default: () => []
|
|
99
81
|
},
|
|
100
82
|
// 是否显示通道节点的选择框
|
|
101
83
|
isShowChannelSelect: {
|
|
102
84
|
type: Boolean,
|
|
103
|
-
default:
|
|
85
|
+
default: false
|
|
104
86
|
},
|
|
105
87
|
// 是否显示自定义空数据显示
|
|
106
88
|
showCustomEmpty: {
|
|
@@ -109,9 +91,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
109
91
|
},
|
|
110
92
|
placeholder: {
|
|
111
93
|
type: String,
|
|
112
|
-
default:
|
|
113
|
-
return "\u8BF7\u8F93\u5165";
|
|
114
|
-
}
|
|
94
|
+
default: "\u8BF7\u8F93\u5165"
|
|
115
95
|
},
|
|
116
96
|
// 是否返回默认选择的数据
|
|
117
97
|
isBackDefaultSelected: {
|
|
@@ -121,13 +101,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
121
101
|
/* 默认选中列表 */
|
|
122
102
|
selectedByDefault: {
|
|
123
103
|
type: Array,
|
|
124
|
-
default: () =>
|
|
125
|
-
return [];
|
|
126
|
-
}
|
|
104
|
+
default: () => []
|
|
127
105
|
},
|
|
128
106
|
// 默认需要选中的部门ID
|
|
129
107
|
defaultSelectedOrgID: {
|
|
130
|
-
default:
|
|
108
|
+
default: null
|
|
131
109
|
},
|
|
132
110
|
// 搜索类型
|
|
133
111
|
searchType: {
|
|
@@ -188,6 +166,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
188
166
|
filterMethod: {
|
|
189
167
|
type: Function,
|
|
190
168
|
default: null
|
|
169
|
+
},
|
|
170
|
+
// 是否显示右侧业务状态
|
|
171
|
+
showStatus: {
|
|
172
|
+
type: Boolean,
|
|
173
|
+
default: true
|
|
191
174
|
}
|
|
192
175
|
},
|
|
193
176
|
emits: [
|
package/lib/components/index.js
CHANGED
|
@@ -11,14 +11,14 @@ var index$n = require('./hyTable/index.js');
|
|
|
11
11
|
var index$4 = require('./hyTooltip/index.js');
|
|
12
12
|
var index$9 = require('./hyConfigProvider/index.js');
|
|
13
13
|
var index$8 = require('./hyButton/index.js');
|
|
14
|
-
var index$
|
|
14
|
+
var index$r = require('./hyUserAvatar/index.js');
|
|
15
15
|
var index$i = require('./hyNoPermissions/index.js');
|
|
16
16
|
var index$j = require('./hyNoPermissionsMap/index.js');
|
|
17
17
|
var index$b = require('./hyCutter/index.js');
|
|
18
18
|
var index$c = require('./hyDialog/index.js');
|
|
19
19
|
var index$h = require('./hyMenu/index.js');
|
|
20
|
-
var index$
|
|
21
|
-
var index$
|
|
20
|
+
var index$q = require('./hyTree/index.js');
|
|
21
|
+
var index$s = 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');
|
|
@@ -28,6 +28,7 @@ var index$7 = require('./hyBatchUploadDialog/index.js');
|
|
|
28
28
|
var index$g = require('./hyMap/index.js');
|
|
29
29
|
var index$l = require('./hyRadioGroup/index.js');
|
|
30
30
|
var index$2 = require('./hyLoading/index.js');
|
|
31
|
+
var index$p = require('./hyTour/index.js');
|
|
31
32
|
var useAppForm = require('./hyForm/js/useAppForm.js');
|
|
32
33
|
var useAppSearch = require('./hySearch/js/useAppSearch.js');
|
|
33
34
|
var useAppTable = require('./hyTable/js/useAppTable.js');
|
|
@@ -48,14 +49,14 @@ exports.ElTooltip = index$4.ElTooltip;
|
|
|
48
49
|
exports.HyTooltip = index$4.HyTooltip;
|
|
49
50
|
exports.HyConfigProvider = index$9.HyConfigProvider;
|
|
50
51
|
exports.HyButton = index$8.HyButton;
|
|
51
|
-
exports.HyUserAvatar = index$
|
|
52
|
+
exports.HyUserAvatar = index$r.HyUserAvatar;
|
|
52
53
|
exports.HyNoPermissions = index$i.HyNoPermissions;
|
|
53
54
|
exports.HyNoPermissionsMap = index$j.HyNoPermissionsMap;
|
|
54
55
|
exports.HyCutter = index$b.HyCutter;
|
|
55
56
|
exports.HyDialog = index$c.HyDialog;
|
|
56
57
|
exports.HyMenu = index$h.HyMenu;
|
|
57
|
-
exports.HyTree = index$
|
|
58
|
-
exports.HyVideoPlayer = index$
|
|
58
|
+
exports.HyTree = index$q.HyTree;
|
|
59
|
+
exports.HyVideoPlayer = index$s.HyVideoPlayer;
|
|
59
60
|
exports.HyAudioPlayer = index$5.HyAudioPlayer;
|
|
60
61
|
exports.ElInput = index$1.ElInput;
|
|
61
62
|
exports.HyInput = index$1.HyInput;
|
|
@@ -70,6 +71,7 @@ exports.HyMap = index$g.HyMap;
|
|
|
70
71
|
exports.HyRadioGroup = index$l.HyRadioGroup;
|
|
71
72
|
exports.ElLoading = index$2.ElLoading;
|
|
72
73
|
exports.HyLoading = index$2.ElLoading;
|
|
74
|
+
exports.HyTour = index$p.HyTour;
|
|
73
75
|
exports.resetAppFormValue = useAppForm.resetAppFormValue;
|
|
74
76
|
exports.useAppForm = useAppForm.useAppForm;
|
|
75
77
|
exports.resetAppSearchValue = useAppSearch.resetAppSearchValue;
|
package/lib/index.js
CHANGED
|
@@ -12,32 +12,38 @@ var index$1 = require('./components/hyInput/index.js');
|
|
|
12
12
|
var index$2 = require('./components/hyLoading/index.js');
|
|
13
13
|
var index$3 = require('./components/hyTimePicker/index.js');
|
|
14
14
|
var index$4 = require('./components/hyTooltip/index.js');
|
|
15
|
-
var index$5 = require('./bussiness/
|
|
16
|
-
var index$6 = require('./
|
|
17
|
-
var index$7 = require('./components/
|
|
18
|
-
var index$8 = require('./components/
|
|
19
|
-
var index$9 = require('./components/
|
|
20
|
-
var index$a = require('./components/
|
|
21
|
-
var index$b = require('./components/
|
|
22
|
-
var index$c = require('./components/
|
|
23
|
-
var index$d = require('./components/
|
|
24
|
-
var index$e = require('./
|
|
25
|
-
var index$f = require('./components/
|
|
26
|
-
var index$g = require('./components/
|
|
27
|
-
var index$h = require('./components/
|
|
28
|
-
var index$i = require('./
|
|
29
|
-
var index$j = require('./components/
|
|
30
|
-
var index$k = require('./
|
|
31
|
-
var index$l = require('./components/
|
|
32
|
-
var index$m = require('./components/
|
|
33
|
-
var index$n = require('./components/
|
|
34
|
-
var index$o = require('./components/
|
|
35
|
-
var index$p = require('./
|
|
36
|
-
var index$q = require('./
|
|
37
|
-
var index$r = require('./components/
|
|
38
|
-
var index$s = require('./components/
|
|
39
|
-
var index$t = require('./components/
|
|
40
|
-
var index$u = require('./
|
|
15
|
+
var index$5 = require('./bussiness/hyAcquisitionStationTree/index.js');
|
|
16
|
+
var index$6 = require('./bussiness/hyAddDepartmentType/index.js');
|
|
17
|
+
var index$7 = require('./components/hyAudioPlayer/index.js');
|
|
18
|
+
var index$8 = require('./components/hyTableForm/index.js');
|
|
19
|
+
var index$9 = require('./components/hyBatchUploadDialog/index.js');
|
|
20
|
+
var index$a = require('./components/hyButton/index.js');
|
|
21
|
+
var index$b = require('./components/hyConfigProvider/index.js');
|
|
22
|
+
var index$c = require('./components/hyConfirmDialog/index.js');
|
|
23
|
+
var index$d = require('./components/hyCutter/index.js');
|
|
24
|
+
var index$e = require('./bussiness/hyDeviceTree/index.js');
|
|
25
|
+
var index$f = require('./components/hyDialog/index.js');
|
|
26
|
+
var index$g = require('./components/hyForm/index.js');
|
|
27
|
+
var index$h = require('./components/hyIcon/index.js');
|
|
28
|
+
var index$i = require('./components/hyIconBox/index.js');
|
|
29
|
+
var index$j = require('./components/hyMap/index.js');
|
|
30
|
+
var index$k = require('./bussiness/hyMapAearchPlace/index.js');
|
|
31
|
+
var index$l = require('./components/hyMenu/index.js');
|
|
32
|
+
var index$m = require('./components/hyNoPermissions/index.js');
|
|
33
|
+
var index$n = require('./components/hyNoPermissionsMap/index.js');
|
|
34
|
+
var index$o = require('./components/hyOrgCascader/index.js');
|
|
35
|
+
var index$p = require('./bussiness/hyOrgGroupTree/index.js');
|
|
36
|
+
var index$q = require('./bussiness/hyPlanGroupDeviceTree/index.js');
|
|
37
|
+
var index$r = require('./components/hyRadioGroup/index.js');
|
|
38
|
+
var index$s = require('./components/hySearch/index.js');
|
|
39
|
+
var index$t = require('./components/hyTable/index.js');
|
|
40
|
+
var index$u = require('./components/hyTableActionButton/index.js');
|
|
41
|
+
var index$v = require('./components/hyTour/index.js');
|
|
42
|
+
var index$w = require('./components/hyTree/index.js');
|
|
43
|
+
var index$x = require('./components/hyUserAvatar/index.js');
|
|
44
|
+
var index$y = require('./bussiness/hyUserTree/index.js');
|
|
45
|
+
var index$z = require('./components/hyVideoPlayer/index.js');
|
|
46
|
+
var index$A = require('./utils/map/index.js');
|
|
41
47
|
var permission = require('./utils/permission.js');
|
|
42
48
|
var crypto = require('./utils/crypto.js');
|
|
43
49
|
var file = require('./utils/file.js');
|
|
@@ -83,35 +89,41 @@ exports.ElTimePicker = index$3.ElTimePicker;
|
|
|
83
89
|
exports.HyTimePicker = index$3.HyTimePicker;
|
|
84
90
|
exports.ElTooltip = index$4.ElTooltip;
|
|
85
91
|
exports.HyTooltip = index$4.HyTooltip;
|
|
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.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
92
|
+
exports.HyAcquisitionStationTree = index$5.HyAcquisitionStationTree;
|
|
93
|
+
exports.HyAddDepartmentType = index$6.HyAddDepartmentType;
|
|
94
|
+
exports.HyAudioPlayer = index$7.HyAudioPlayer;
|
|
95
|
+
exports.HyBatchTableForm = index$8.HyBatchTableForm;
|
|
96
|
+
exports.HyTableForm = index$8.HyTableForm;
|
|
97
|
+
exports.HyBatchUploadDialog = index$9.HyBatchUploadDialog;
|
|
98
|
+
exports.HyButton = index$a.HyButton;
|
|
99
|
+
exports.HyConfigProvider = index$b.HyConfigProvider;
|
|
100
|
+
exports.HyConfirmDialog = index$c.HyConfirmDialog;
|
|
101
|
+
exports.HyCutter = index$d.HyCutter;
|
|
102
|
+
exports.HyDeviceTree = index$e.HyDeviceTree;
|
|
103
|
+
exports.HyDialog = index$f.HyDialog;
|
|
104
|
+
exports.HyForm = index$g.HyForm;
|
|
105
|
+
exports.HyIcon = index$h.HyIcon;
|
|
106
|
+
exports.HyIconBox = index$i.HyIconBox;
|
|
107
|
+
exports.HyMap = index$j.HyMap;
|
|
108
|
+
exports.HyMapAearchPlace = index$k.HyMapAearchPlace;
|
|
109
|
+
exports.HyMenu = index$l.HyMenu;
|
|
110
|
+
exports.HyNoPermissions = index$m.HyNoPermissions;
|
|
111
|
+
exports.HyNoPermissionsMap = index$n.HyNoPermissionsMap;
|
|
112
|
+
exports.HyOrgCascader = index$o.HyOrgCascader;
|
|
113
|
+
exports.HyOrgGroupTree = index$p.HyOrgGroupTree;
|
|
114
|
+
exports.HyPlanGroupDeviceTree = index$q.HyPlanGroupDeviceTree;
|
|
115
|
+
exports.HyRadioGroup = index$r.HyRadioGroup;
|
|
116
|
+
exports.HySearch = index$s.HySearch;
|
|
117
|
+
exports.HyTable = index$t.HyTable;
|
|
118
|
+
exports.HyTableActionButton = index$u.HyTableActionButton;
|
|
119
|
+
exports.HyTour = index$v.HyTour;
|
|
120
|
+
exports.HyTree = index$w.HyTree;
|
|
121
|
+
exports.HyUserAvatar = index$x.HyUserAvatar;
|
|
122
|
+
exports.HyUserTree = index$y.HyUserTree;
|
|
123
|
+
exports.HyVideoPlayer = index$z.HyVideoPlayer;
|
|
124
|
+
exports.InitMap = index$A.InitMap;
|
|
125
|
+
exports.setMapServer = index$A.setMapServer;
|
|
126
|
+
exports.setPoiServer = index$A.setPoiServer;
|
|
115
127
|
exports.PERMISSION = permission.PERMISSION;
|
|
116
128
|
exports.base64Decrypt = crypto.base64Decrypt;
|
|
117
129
|
exports.encryptToBase64 = crypto.encryptToBase64;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-linear-arrow',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-linear-arrow" viewBox="0 0 6 6">
|
|
4
|
+
<g id="hy-icon-ops-linear-arrow-部门管理" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<g id="hy-icon-ops-linear-arrow-缩小化-组件说明-清除" transform="translate(-524, -155)" fill-rule="nonzero">
|
|
6
|
+
<path d="M527.5474,155.206715 C527.421954,155.075391 527.249559,155.000932 527.069246,155.000193 C526.890413,154.995823 526.717619,155.065901 526.591092,155.19411 L524.200321,157.582204 C523.936243,157.845664 523.932818,158.276291 524.19267,158.544035 C524.452522,158.811779 524.877251,158.815252 525.141328,158.551792 L526.384529,157.302963 L526.384529,160.321289 C526.384529,160.696131 526.684237,161 527.053945,161 C527.423653,161 527.723361,160.696131 527.723361,160.321289 L527.723361,157.358229 L528.848936,158.539187 C529.015151,158.7136 529.260514,158.784857 529.492599,158.726117 C529.724684,158.667378 529.908231,158.487565 529.974101,158.254413 C530.03997,158.021261 529.978154,157.770191 529.811938,157.595778 L527.5474,155.206715 Z" id="hy-icon-ops-linear-arrow-Arrow"></path>
|
|
7
|
+
</g>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
|
@@ -1002,11 +1002,32 @@
|
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
+
.hy-el-notification {
|
|
1006
|
+
--hy-el-notification-title-color: rgba(var(--hy-main), 1);
|
|
1007
|
+
--hy-el-notification-content-color: rgba(var(--hy-main), 1);
|
|
1008
|
+
--hy-el-notification-close-color: rgba(var(--hy-main), 1);
|
|
1009
|
+
background: rgba(var(--hy-background-2), 1);
|
|
1010
|
+
}
|
|
1005
1011
|
|
|
1006
|
-
|
|
1007
|
-
.hy-el-
|
|
1008
|
-
|
|
1012
|
+
.hy-el-tour {
|
|
1013
|
+
.hy-el-tour__hollow {
|
|
1014
|
+
fill: rgba(0, 0, 0, 0.9) !important;
|
|
1015
|
+
}
|
|
1016
|
+
.hy-el-tour__content {
|
|
1017
|
+
border: 1px solid rgba(var(--hy-theme), 1);
|
|
1018
|
+
}
|
|
1019
|
+
.hy-el-tour__arrow {
|
|
1020
|
+
border: 1px solid rgba(var(--hy-theme), 1);
|
|
1021
|
+
}
|
|
1022
|
+
.hy-el-tour__title {
|
|
1023
|
+
color: rgba(var(--hy-main), 1);
|
|
1024
|
+
font-weight: bold;
|
|
1025
|
+
}
|
|
1026
|
+
.hy-el-tour__body {
|
|
1009
1027
|
color: rgba(var(--hy-main), 1);
|
|
1010
1028
|
}
|
|
1029
|
+
.hy-el-tour__footer {
|
|
1030
|
+
display: none;
|
|
1031
|
+
}
|
|
1011
1032
|
}
|
|
1012
1033
|
|
package/lib/style/theme.scss
CHANGED
|
@@ -355,7 +355,15 @@ class bigMap extends events.EventEmitter {
|
|
|
355
355
|
layerGroup(map, markers = []) {
|
|
356
356
|
const layerGroup = this.BM.layerGroup(markers);
|
|
357
357
|
layerGroup.addTo(map);
|
|
358
|
-
|
|
358
|
+
const handlers = {
|
|
359
|
+
addLayer: function(target, addItem) {
|
|
360
|
+
return target.addLayer(addItem);
|
|
361
|
+
},
|
|
362
|
+
clearLayers: function(target) {
|
|
363
|
+
return target.clearLayers();
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
return mapProxy.createMapProxy(layerGroup, handlers);
|
|
359
367
|
}
|
|
360
368
|
// 自定义图标
|
|
361
369
|
DivIcon(option) {
|
|
@@ -190,7 +190,15 @@ class Google extends events.EventEmitter {
|
|
|
190
190
|
layerGroup(map, markers = []) {
|
|
191
191
|
const layerGroup = new window.AMap.LayerGroup(markers);
|
|
192
192
|
layerGroup.setMap(map);
|
|
193
|
-
|
|
193
|
+
const handlers = {
|
|
194
|
+
addLayer: function(target, addItem) {
|
|
195
|
+
return target.addLayer(addItem);
|
|
196
|
+
},
|
|
197
|
+
clearLayers: function(target) {
|
|
198
|
+
return target.clearLayers();
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
return mapProxy.createMapProxy(layerGroup, handlers);
|
|
194
202
|
}
|
|
195
203
|
// 自定义图标
|
|
196
204
|
DivIcon(option) {
|
|
@@ -574,7 +574,16 @@ class Leafletjs extends events.EventEmitter {
|
|
|
574
574
|
}
|
|
575
575
|
// 地图图层
|
|
576
576
|
layerGroup(map, markers = []) {
|
|
577
|
-
|
|
577
|
+
const layerGroup = L.layerGroup(markers).addTo(getInitMap(map));
|
|
578
|
+
const handlers = {
|
|
579
|
+
addLayer: function(target, addItem) {
|
|
580
|
+
return target.addLayer(addItem);
|
|
581
|
+
},
|
|
582
|
+
clearLayers: function(target) {
|
|
583
|
+
return target.clearLayers();
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
return mapProxy.createMapProxy(layerGroup, handlers);
|
|
578
587
|
}
|
|
579
588
|
// 自定义图标
|
|
580
589
|
DivIcon(option) {
|
package/lib/version.js
CHANGED