hy-dispatch-ui-v3 0.2.58 → 0.2.60
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 +129 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/api/index.mjs +137 -0
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +365 -0
- package/es/bussiness/hyAddDepartmentType/index.mjs +6 -0
- package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +31 -0
- package/es/bussiness/index.mjs +1 -1
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +1 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +45 -36
- package/es/components/hyDatePicker/datePicker.vue.mjs +2 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +106 -43
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +358 -0
- package/es/components/hyForm/form.vue.mjs +83 -31
- package/es/components/hyForm/js/index.mjs +12 -5
- package/es/components/hyForm/js/useAppForm.mjs +6 -36
- package/es/components/hyMap/map.vue.mjs +3 -3
- package/es/components/hyRadioGroup/index.mjs +6 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +123 -0
- package/es/components/hyRadioGroup/style/radioGroup.scss +0 -0
- package/es/components/hySearch/cpns/searchItem.vue.mjs +20 -13
- package/es/components/hySearch/js/useAppSearch.mjs +3 -33
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +9 -1
- package/es/components/hyTable/js/index.mjs +6 -3
- package/es/components/hyTable/js/search.mjs +1 -0
- package/es/components/hyTable/table.vue.mjs +11 -4
- package/es/components/hyTableForm/batchTableForm.vue.mjs +5 -2
- package/es/components/hyTableForm/tableForm.vue.mjs +6 -0
- package/es/components/hyTree/js/index.mjs +69 -53
- package/es/components/hyTree/tree.vue.mjs +36 -1
- package/es/components/index.mjs +1 -0
- package/es/index.mjs +3 -1
- package/es/locale/en.mjs +17 -1
- package/es/locale/zh_CN.mjs +17 -1
- package/es/static/hy-svg-icons/hy-icon-dispatch-share-charu.js +10 -0
- package/es/static/hy-svg-icons/hy-icon-dispatch-share-zhongduan.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-button-dingweishangchuan.js +9 -0
- package/es/static/hy-svg-icons/hy-icon-ops-button-lamp.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-button-restart.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-button-shutdown.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-button-volume.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-button-wifi.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-button-yujing.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-linear-shouqi.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-linear-zhankai.js +8 -0
- package/es/style/index.scss +53 -0
- package/es/style/theme.scss +0 -53
- package/es/utils/form.mjs +56 -7
- package/es/utils/index.mjs +1 -1
- package/es/utils/input.mjs +4 -8
- package/es/utils/map/hook/bigMap.mjs +4 -0
- package/es/utils/map/hook/gaode.mjs +3 -0
- package/es/utils/map/hook/leafletjs.mjs +10 -10
- package/es/utils/map/index.mjs +27 -7
- package/es/version.mjs +1 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
- package/lib/api/index.js +147 -0
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +369 -0
- package/lib/bussiness/hyAddDepartmentType/index.js +11 -0
- package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +31 -0
- package/lib/bussiness/index.js +5 -0
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +44 -35
- package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +111 -48
- package/lib/components/hyForm/cpns/locationSelect.vue.js +362 -0
- package/lib/components/hyForm/form.vue.js +79 -27
- package/lib/components/hyForm/js/index.js +12 -4
- package/lib/components/hyForm/js/useAppForm.js +5 -35
- package/lib/components/hyMap/map.vue.js +3 -3
- package/lib/components/hyRadioGroup/index.js +11 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +127 -0
- package/lib/components/hyRadioGroup/style/radioGroup.scss +0 -0
- package/lib/components/hySearch/cpns/searchItem.vue.js +19 -12
- package/lib/components/hySearch/js/useAppSearch.js +2 -32
- package/lib/components/hyTable/cpns/virtualTable.vue.js +9 -1
- package/lib/components/hyTable/js/index.js +6 -3
- package/lib/components/hyTable/js/search.js +1 -0
- package/lib/components/hyTable/table.vue.js +43 -36
- package/lib/components/hyTableForm/batchTableForm.vue.js +5 -2
- package/lib/components/hyTableForm/tableForm.vue.js +6 -0
- package/lib/components/hyTree/js/index.js +69 -53
- package/lib/components/hyTree/tree.vue.js +36 -1
- package/lib/components/index.js +14 -12
- package/lib/index.js +56 -49
- package/lib/locale/en.js +17 -1
- package/lib/locale/zh_CN.js +17 -1
- package/lib/static/hy-svg-icons/hy-icon-dispatch-share-charu.js +10 -0
- package/lib/static/hy-svg-icons/hy-icon-dispatch-share-zhongduan.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-button-dingweishangchuan.js +9 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-button-lamp.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-button-restart.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-button-shutdown.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-button-volume.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-button-wifi.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-button-yujing.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-linear-shouqi.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-linear-zhankai.js +8 -0
- package/lib/style/index.scss +53 -0
- package/lib/style/theme.scss +0 -53
- package/lib/utils/form.js +57 -5
- package/lib/utils/index.js +3 -0
- package/lib/utils/input.js +4 -8
- package/lib/utils/map/hook/bigMap.js +4 -0
- package/lib/utils/map/hook/gaode.js +3 -0
- package/lib/utils/map/hook/leafletjs.js +10 -10
- package/lib/utils/map/index.js +26 -6
- package/lib/version.js +1 -1
- package/package.json +2 -2
|
@@ -457,7 +457,15 @@ const _sfc_main = {
|
|
|
457
457
|
}, {
|
|
458
458
|
default: withCtx(() => [
|
|
459
459
|
createElementVNode("div", {
|
|
460
|
-
class: normalizeClass(["w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent
|
|
460
|
+
class: normalizeClass(["w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent rounded box-border", [
|
|
461
|
+
citem.className,
|
|
462
|
+
unref(operatorDisabledHandler)(citem, {
|
|
463
|
+
column,
|
|
464
|
+
row,
|
|
465
|
+
$index,
|
|
466
|
+
cellIndex
|
|
467
|
+
}) ? "cursor-not-allowed text-[var(--hy-el-text-color-disabled)] hover:border-[rgba(var(--hy-auxiliary),1)] hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-auxiliary),0.5)]" : "cursor-pointer hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)]"
|
|
468
|
+
]]),
|
|
461
469
|
onClick: ($event) => unref(operatorClickHandler)(
|
|
462
470
|
cindex,
|
|
463
471
|
column,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, computed, watch, watchEffect, unref, nextTick } from 'vue';
|
|
2
2
|
import { ElLoading } from 'element-plus';
|
|
3
|
-
import { isString, isBoolean, isFunction, isPermission, isNumber, isArray } from '../../../utils/is.mjs';
|
|
4
|
-
import { useLocale } from '../../../hooks/useLocale.mjs';
|
|
5
3
|
import { usePermissionMap } from '../../../hooks/usePermissionMap.mjs';
|
|
4
|
+
import { useLocale } from '../../../hooks/useLocale.mjs';
|
|
5
|
+
import { isString, isBoolean, isFunction, isPermission, isNumber, isArray } from '../../../utils/is.mjs';
|
|
6
6
|
|
|
7
7
|
function tableColumnShowHandler(column) {
|
|
8
8
|
if (column.permission && !isPermission(column.permission)) {
|
|
@@ -123,6 +123,7 @@ function operatorFilterHandler(column, scope, type = "all") {
|
|
|
123
123
|
function operatorClickHandler(command, column, scope, type = "all") {
|
|
124
124
|
const operator = operatorFilterHandler(column, scope, type);
|
|
125
125
|
const target = operator[command];
|
|
126
|
+
if (operatorDisabledHandler(target, scope)) return;
|
|
126
127
|
target?.handler && target.handler(scope);
|
|
127
128
|
}
|
|
128
129
|
function renderHeaderHandler(column, scope) {
|
|
@@ -394,7 +395,9 @@ const useAppTableWrapper = (hy) => {
|
|
|
394
395
|
// 搜索选中
|
|
395
396
|
isSearchFocus,
|
|
396
397
|
onSearchInputHandler,
|
|
397
|
-
onSearchBlurHandler
|
|
398
|
+
onSearchBlurHandler,
|
|
399
|
+
showAppTableLoading,
|
|
400
|
+
closeAppTableLoading
|
|
398
401
|
};
|
|
399
402
|
};
|
|
400
403
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useModel, useTemplateRef, openBlock, createElementBlock, createCommentVNode, createElementVNode, createBlock, unref, createVNode, toDisplayString, withCtx, renderSlot, normalizeClass, createSlots, renderList, normalizeProps, guardReactiveProps, mergeProps, Fragment, withModifiers, mergeModels } from 'vue';
|
|
2
2
|
import { ElTable, ElTableColumn, ElDropdown, ElIcon, ElDropdownMenu, ElDropdownItem, ElAutoResizer, ElPagination } from 'element-plus';
|
|
3
3
|
import { MoreFilled } from '@element-plus/icons-vue';
|
|
4
|
-
import { operatorFilterHandler, operatorClickHandler, operatorDisabledHandler, operatorDisableTextdHandler, renderContentHandler, renderHeaderHandler
|
|
4
|
+
import { useAppTableWrapper, operatorFilterHandler, operatorClickHandler, operatorDisabledHandler, operatorDisableTextdHandler, renderContentHandler, renderHeaderHandler } from './js/index.mjs';
|
|
5
5
|
import { useAppTableSearch } from './js/search.mjs';
|
|
6
6
|
import _sfc_main$2 from './cpns/headerItem.vue.mjs';
|
|
7
7
|
import _sfc_main$1 from './cpns/columnSelect.vue.mjs';
|
|
@@ -248,7 +248,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
248
248
|
getTableDataSource,
|
|
249
249
|
onSizeChangeHandler,
|
|
250
250
|
onCurrentChangeHandler,
|
|
251
|
-
onSearchQueryHandler
|
|
251
|
+
onSearchQueryHandler,
|
|
252
|
+
showAppTableLoading,
|
|
253
|
+
closeAppTableLoading
|
|
252
254
|
} = useMixins(
|
|
253
255
|
{
|
|
254
256
|
props,
|
|
@@ -275,7 +277,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
275
277
|
getTableDataSource,
|
|
276
278
|
clearSelection,
|
|
277
279
|
clearSelectedList,
|
|
278
|
-
toggleRowExpansion
|
|
280
|
+
toggleRowExpansion,
|
|
281
|
+
showAppTableLoading,
|
|
282
|
+
closeAppTableLoading
|
|
279
283
|
});
|
|
280
284
|
return (_ctx, _cache) => {
|
|
281
285
|
return openBlock(), createElementBlock(
|
|
@@ -478,7 +482,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
478
482
|
}, {
|
|
479
483
|
default: withCtx(() => [
|
|
480
484
|
createElementVNode("div", {
|
|
481
|
-
class: normalizeClass(["w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border
|
|
485
|
+
class: normalizeClass(["w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border", [
|
|
486
|
+
citem.className,
|
|
487
|
+
unref(operatorDisabledHandler)(citem, scope) ? "cursor-not-allowed text-[var(--hy-el-text-color-disabled)] hover:border-[rgba(var(--hy-auxiliary),1)] hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-auxiliary),0.5)]" : "cursor-pointer hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)]"
|
|
488
|
+
]]),
|
|
482
489
|
onClick: withModifiers(($event) => unref(operatorClickHandler)(cindex, column, scope, "default"), ["stop"]),
|
|
483
490
|
onContextmenu: withModifiers(() => {
|
|
484
491
|
}, ["stop"])
|
|
@@ -61,6 +61,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
61
61
|
beforeDataHandle: {
|
|
62
62
|
type: Function
|
|
63
63
|
},
|
|
64
|
+
onExpandRowChange: {
|
|
65
|
+
type: Function
|
|
66
|
+
},
|
|
64
67
|
templateConfig: {
|
|
65
68
|
type: Object,
|
|
66
69
|
default: () => ({
|
|
@@ -149,7 +152,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
149
152
|
try {
|
|
150
153
|
isUploading.value = true;
|
|
151
154
|
emits("uploading");
|
|
152
|
-
formColumns;
|
|
153
155
|
const data = await doReadExcel(files, props);
|
|
154
156
|
if (!data) {
|
|
155
157
|
ElMessage.warning("\u8BFB\u53D6\u6587\u4EF6\u5931\u8D25");
|
|
@@ -523,6 +525,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
523
525
|
}, _ctx.$attrs, {
|
|
524
526
|
tableColumns: __props.tableColumns,
|
|
525
527
|
formColumns: __props.formColumns,
|
|
528
|
+
onExpandRowChange: __props.onExpandRowChange,
|
|
526
529
|
rules: __props.rules,
|
|
527
530
|
rowClickExpand: __props.rowClickExpand,
|
|
528
531
|
columnNum: __props.columnNum,
|
|
@@ -540,7 +543,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
540
543
|
])
|
|
541
544
|
};
|
|
542
545
|
})
|
|
543
|
-
]), 1040, ["tableColumns", "formColumns", "rules", "rowClickExpand", "columnNum", "size"])
|
|
546
|
+
]), 1040, ["tableColumns", "formColumns", "onExpandRowChange", "rules", "rowClickExpand", "columnNum", "size"])
|
|
544
547
|
])) : createCommentVNode("v-if", true),
|
|
545
548
|
submitting.value ? (openBlock(), createElementBlock("div", {
|
|
546
549
|
key: 1,
|
|
@@ -17,6 +17,9 @@ const __default__ = defineComponent({
|
|
|
17
17
|
});
|
|
18
18
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
19
19
|
props: {
|
|
20
|
+
onExpandRowChange: {
|
|
21
|
+
type: Function
|
|
22
|
+
},
|
|
20
23
|
// 表格配置项
|
|
21
24
|
tableColumns: {
|
|
22
25
|
// 表格的列
|
|
@@ -131,6 +134,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
131
134
|
}
|
|
132
135
|
}
|
|
133
136
|
async function onExpandRowChange(row) {
|
|
137
|
+
if (props.onExpandRowChange) {
|
|
138
|
+
props.onExpandRowChange(row);
|
|
139
|
+
}
|
|
134
140
|
await nextTick();
|
|
135
141
|
if (!formRef.value) return;
|
|
136
142
|
const valid = await initValidateHandler([row]);
|
|
@@ -14,7 +14,7 @@ const deviceStatus = {
|
|
|
14
14
|
1: "\u5728\u7EBF"
|
|
15
15
|
};
|
|
16
16
|
const useAppTreeWrapper = (hy) => {
|
|
17
|
-
const { props, emits, slots, treeRef, VirtualTree } = hy;
|
|
17
|
+
const { props: props2, emits, slots, treeRef, VirtualTree } = hy;
|
|
18
18
|
const instance = getCurrentInstance();
|
|
19
19
|
const slotAppContext = instance ? {
|
|
20
20
|
...instance.appContext,
|
|
@@ -33,17 +33,17 @@ const useAppTreeWrapper = (hy) => {
|
|
|
33
33
|
const selectFilterList = ref([]);
|
|
34
34
|
const loading = ref(true);
|
|
35
35
|
watch(
|
|
36
|
-
() =>
|
|
36
|
+
() => props2.showCheckbox,
|
|
37
37
|
(newVal) => {
|
|
38
38
|
virtualTree?.setRowSelection({
|
|
39
|
-
type:
|
|
39
|
+
type: props2.showCheckbox ? "checkbox" : "radio"
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
);
|
|
43
43
|
function getData(dataList) {
|
|
44
44
|
return new Promise((resolve) => {
|
|
45
45
|
hy.loading.value = true;
|
|
46
|
-
if (
|
|
46
|
+
if (props2.disableSelection?.length) {
|
|
47
47
|
setDisAbleSelectionMap();
|
|
48
48
|
}
|
|
49
49
|
if (!virtualTree) {
|
|
@@ -59,9 +59,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
59
59
|
// 可视区域外的缓冲项数量
|
|
60
60
|
indent: 16,
|
|
61
61
|
emptyText: "\u6682\u65E0\u6570\u636E",
|
|
62
|
-
business:
|
|
62
|
+
business: props2.treeType,
|
|
63
63
|
// 自定义整体的插槽
|
|
64
|
-
renderItem:
|
|
64
|
+
renderItem: props2.treeType === treeTypeConfig.user ? (data, node) => setUserSlot(data) : setSlot("treeParentSlot"),
|
|
65
65
|
// // 自定义状态右侧插槽
|
|
66
66
|
renderRight: (data) => {
|
|
67
67
|
let renderRight = setSlot("renderRight");
|
|
@@ -87,9 +87,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
87
87
|
return true;
|
|
88
88
|
},
|
|
89
89
|
// // 自定义状态模块
|
|
90
|
-
renderStatus:
|
|
90
|
+
renderStatus: props2.treeType === treeTypeConfig.device || props2.treeType === treeTypeConfig.channel ? (data) => setRenderStatus(data) : null,
|
|
91
91
|
renderEmpty: () => {
|
|
92
|
-
if (!
|
|
92
|
+
if (!props2.showCustomEmpty || hy.filterValue.value) return true;
|
|
93
93
|
let renderEmpty = setSlot("renderEmpty");
|
|
94
94
|
if (renderEmpty) {
|
|
95
95
|
const target = renderEmpty();
|
|
@@ -100,29 +100,31 @@ const useAppTreeWrapper = (hy) => {
|
|
|
100
100
|
props: {
|
|
101
101
|
showStatus: true,
|
|
102
102
|
disabled: (data) => {
|
|
103
|
-
if (data.dataType ===
|
|
103
|
+
if (data.dataType === 5 || data.dataType === 3) {
|
|
104
104
|
if (hy.disableSelectionMap.value) {
|
|
105
|
-
return hy.disableSelectionMap.value.get(data.id);
|
|
105
|
+
return data.dataType === 3 ? hy.disableSelectionMap.value.get(data.deviceId) : hy.disableSelectionMap.value.get(data.id);
|
|
106
106
|
}
|
|
107
107
|
return false;
|
|
108
108
|
}
|
|
109
109
|
return false;
|
|
110
110
|
},
|
|
111
|
-
...
|
|
111
|
+
...props2.treeProps
|
|
112
112
|
},
|
|
113
113
|
rowSelection: {
|
|
114
|
-
type:
|
|
115
|
-
highlight:
|
|
116
|
-
checkStrictly:
|
|
114
|
+
type: props2.showCheckbox ? "checkbox" : "radio",
|
|
115
|
+
highlight: props2.highlight,
|
|
116
|
+
checkStrictly: props2.checkStrictly,
|
|
117
117
|
// 是否显示选项 showSinglebox 单选为true时部门不显示其他节点显示选择框
|
|
118
118
|
showSelect: (data) => {
|
|
119
119
|
if (data.dataType === 1) {
|
|
120
|
-
return
|
|
120
|
+
return props2.showCheckbox;
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return props2.showCheckbox || props2.showSinglebox;
|
|
123
123
|
},
|
|
124
124
|
// 单选时是否可以取消选择
|
|
125
|
-
cancelable:
|
|
125
|
+
cancelable: props2.cancelable,
|
|
126
|
+
// 是否显示多选框或单选框
|
|
127
|
+
showSelectBox: props2.showSelectBox,
|
|
126
128
|
// 选中回调
|
|
127
129
|
onCheckChange: (data, info, checked) => {
|
|
128
130
|
console.log("onCheckChange", info);
|
|
@@ -139,25 +141,35 @@ const useAppTreeWrapper = (hy) => {
|
|
|
139
141
|
);
|
|
140
142
|
}
|
|
141
143
|
},
|
|
144
|
+
// 是否在点击节点的时候展开或者收缩节点
|
|
145
|
+
expandOnClickNode: props2.expandOnClickNode,
|
|
146
|
+
// 是否在点击节点的时候选中节点
|
|
147
|
+
checkOnClickNode: props2.checkOnClickNode,
|
|
148
|
+
// 点击叶节点(最后一个子节点)时是否检查或取消节点
|
|
149
|
+
checkOnClickLeaf: props2.checkOnClickLeaf,
|
|
150
|
+
// 双击父节点会触发选中功能
|
|
151
|
+
checkOnDblclickParentNode: props2.checkOnDblclickParentNode,
|
|
142
152
|
// 筛选方法
|
|
143
153
|
filterMethod: ({ filterValue: filterValue2 }, data) => {
|
|
144
154
|
let isFilter = true;
|
|
145
155
|
if (filterValue2) {
|
|
146
156
|
isFilter = isFilter && !!filterNodeMethod(data, filterValue2, {
|
|
147
|
-
treeFilterParam:
|
|
157
|
+
treeFilterParam: props2.treeFilterParam
|
|
148
158
|
});
|
|
149
159
|
}
|
|
150
160
|
return isFilter;
|
|
151
161
|
},
|
|
152
162
|
businessConfig: {
|
|
153
163
|
// 是否开启按在线离线状态排序
|
|
154
|
-
sortByStatus:
|
|
164
|
+
sortByStatus: props2.deviceOrderSort,
|
|
155
165
|
// 是否只显示在线设备
|
|
156
|
-
showOnlineState:
|
|
166
|
+
showOnlineState: props2.showOnlineOnly,
|
|
157
167
|
// 是否清空没有业务项(设备、用户、采集器)的部门和群组
|
|
158
|
-
clearEmptyBusiness:
|
|
168
|
+
clearEmptyBusiness: props2.clearEmptyBusiness,
|
|
159
169
|
// 是否显示通道节点的选择框
|
|
160
|
-
isShowChannelSelect:
|
|
170
|
+
isShowChannelSelect: props2.isShowChannelSelect,
|
|
171
|
+
// 初始化过滤数据
|
|
172
|
+
filterConfig: props2.filterConfig
|
|
161
173
|
},
|
|
162
174
|
// 初始化时处理数据,想回显必须return值,若想要过滤,可不return
|
|
163
175
|
handleMethod: (data) => {
|
|
@@ -178,7 +190,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
178
190
|
},
|
|
179
191
|
// 双击事件
|
|
180
192
|
onNodeDblClick: (data, node, event) => {
|
|
181
|
-
if (
|
|
193
|
+
if (props2.treeType !== "channel") {
|
|
182
194
|
emits("on-dblclick", [{ ...data }]);
|
|
183
195
|
} else {
|
|
184
196
|
if (data.channelId) {
|
|
@@ -218,13 +230,13 @@ const useAppTreeWrapper = (hy) => {
|
|
|
218
230
|
document.body.click();
|
|
219
231
|
},
|
|
220
232
|
onLoad: () => {
|
|
221
|
-
if (
|
|
233
|
+
if (props2.showOnlineOnly && !virtualTree._flattenTree?.length && !hy.filterValue.value) {
|
|
222
234
|
ElMessage.warning("\u6682\u65E0\u8BBE\u5907\u5904\u4E8E\u5728\u7EBF\u72B6\u6001");
|
|
223
235
|
}
|
|
224
|
-
if (
|
|
236
|
+
if (props2.defaultSelectedOrgID && props2.showCheckbox && props2.treeType === "device") {
|
|
225
237
|
setSelectedOrg(dataList);
|
|
226
|
-
} else if (
|
|
227
|
-
setCheckedKeys(
|
|
238
|
+
} else if (props2.selectedByDefault?.length) {
|
|
239
|
+
setCheckedKeys(props2.selectedByDefault);
|
|
228
240
|
}
|
|
229
241
|
if (hy.filterValue.value) {
|
|
230
242
|
getFilterValue();
|
|
@@ -240,13 +252,13 @@ const useAppTreeWrapper = (hy) => {
|
|
|
240
252
|
{
|
|
241
253
|
data: dataList,
|
|
242
254
|
businessConfig: {
|
|
243
|
-
sortByStatus:
|
|
244
|
-
showOnlineState:
|
|
245
|
-
clearEmptyBusiness:
|
|
255
|
+
sortByStatus: props2.deviceOrderSort,
|
|
256
|
+
showOnlineState: props2.showOnlineOnly,
|
|
257
|
+
clearEmptyBusiness: props2.clearEmptyBusiness
|
|
246
258
|
}
|
|
247
259
|
},
|
|
248
260
|
() => {
|
|
249
|
-
if (
|
|
261
|
+
if (props2.showOnlineOnly && !virtualTree._flattenTree?.length && !hy.filterValue.value) {
|
|
250
262
|
ElMessage.success("\u6682\u65E0\u8BBE\u5907\u5904\u4E8E\u5728\u7EBF\u72B6\u6001");
|
|
251
263
|
}
|
|
252
264
|
if (hy.filterValue.value) {
|
|
@@ -263,7 +275,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
263
275
|
}
|
|
264
276
|
function setEmpty() {
|
|
265
277
|
let content = ``;
|
|
266
|
-
if (!
|
|
278
|
+
if (!props2.showOnlineOnly) {
|
|
267
279
|
setTimeout(() => {
|
|
268
280
|
if (hy.addDeviceDom.value) {
|
|
269
281
|
hy.addDeviceDom.value.removeEventListener("click", addDevice);
|
|
@@ -292,7 +304,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
292
304
|
}
|
|
293
305
|
function setDisAbleSelectionMap() {
|
|
294
306
|
const map = /* @__PURE__ */ new Map();
|
|
295
|
-
|
|
307
|
+
props2.disableSelection.forEach((v) => {
|
|
296
308
|
map.set(v.id, true);
|
|
297
309
|
});
|
|
298
310
|
hy.disableSelectionMap.value = map;
|
|
@@ -316,7 +328,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
316
328
|
container.style.display = "flex";
|
|
317
329
|
container.style.width = "100%";
|
|
318
330
|
const dutyHtml = `<div class="flex treeDeviceBox">
|
|
319
|
-
${
|
|
331
|
+
${props2.getDutyRoster === 1 && data.rosterContent ? `<span class="w-[22px] h-[22px] text-xs rounded border box-border text-main flex justify-center items-center mr-1"
|
|
320
332
|
style="border-color: ${data.rosterContentColor};background-color: ${data.rosterContentColor}70;">
|
|
321
333
|
${data.rosterContentSimple}
|
|
322
334
|
</span>` : ""}
|
|
@@ -385,31 +397,35 @@ const useAppTreeWrapper = (hy) => {
|
|
|
385
397
|
emits("on-addDevice");
|
|
386
398
|
}
|
|
387
399
|
function singleRemovalFn(row) {
|
|
388
|
-
if (
|
|
400
|
+
if (props2.treeType === "device") {
|
|
389
401
|
virtualTree.setChecked(row.channelId || row.deviceId, false, true);
|
|
390
|
-
} else if (
|
|
402
|
+
} else if (props2.treeType) {
|
|
391
403
|
virtualTree.setChecked(row.id, false, true);
|
|
392
|
-
} else if (!
|
|
393
|
-
virtualTree.setChecked(row[`${
|
|
404
|
+
} else if (!props2.treeType && props2.treeProps) {
|
|
405
|
+
virtualTree.setChecked(row[`${props2.treeProps.value}`], false, true);
|
|
394
406
|
}
|
|
395
407
|
}
|
|
396
408
|
function setCheckedKeys(dataList) {
|
|
397
|
-
if (
|
|
409
|
+
if (props2.treeType === "device" || props2.treeType === "channel") {
|
|
398
410
|
virtualTree?.setCheckedKeys(
|
|
399
411
|
dataList.map((v) => v.channelId || v.deviceId),
|
|
400
412
|
true
|
|
401
413
|
);
|
|
402
|
-
} else if (
|
|
414
|
+
} else if (props2.treeType) {
|
|
403
415
|
virtualTree?.setCheckedKeys(
|
|
404
416
|
dataList.map((v) => v.id),
|
|
405
417
|
true
|
|
406
418
|
);
|
|
407
|
-
} else if (!
|
|
419
|
+
} else if (!props2.treeType && props2.treeProps) {
|
|
420
|
+
console.log(
|
|
421
|
+
"\u9009\u4E2D\u56DE\u8C03",
|
|
422
|
+
dataList.map((v) => v[`${props2.treeProps.value}`])
|
|
423
|
+
);
|
|
408
424
|
virtualTree?.setCheckedKeys(
|
|
409
|
-
dataList.map((v) => v[`${
|
|
425
|
+
dataList.map((v) => v[`${props2.treeProps.value}`])
|
|
410
426
|
);
|
|
411
427
|
}
|
|
412
|
-
if (
|
|
428
|
+
if (props2.isBackDefaultSelected) {
|
|
413
429
|
setTimeout(() => {
|
|
414
430
|
const deviceList = virtualTree?.getCheckedBusinessNodes(true) || [];
|
|
415
431
|
emits("on-selectedDataList", deviceList);
|
|
@@ -417,17 +433,17 @@ const useAppTreeWrapper = (hy) => {
|
|
|
417
433
|
}
|
|
418
434
|
}
|
|
419
435
|
function setChecked(data, type) {
|
|
420
|
-
if (
|
|
436
|
+
if (props2.treeType === "device") {
|
|
421
437
|
virtualTree?.setChecked(data.channelId || data.deviceId, type, true);
|
|
422
|
-
} else if (
|
|
438
|
+
} else if (props2.treeType) {
|
|
423
439
|
virtualTree?.setChecked(data.id, type, true);
|
|
424
|
-
} else if (!
|
|
425
|
-
virtualTree?.setChecked(data[`${
|
|
440
|
+
} else if (!props2.treeType && props2.treeProps) {
|
|
441
|
+
virtualTree?.setChecked(data[`${props2.treeProps.value}`], type, true);
|
|
426
442
|
}
|
|
427
443
|
}
|
|
428
444
|
function setSelectedOrg(deviceList) {
|
|
429
445
|
for (let i = 0; i < deviceList.length; i++) {
|
|
430
|
-
if (
|
|
446
|
+
if (props2.defaultSelectedOrgID === deviceList[i].id) {
|
|
431
447
|
if (deviceList[i].deviceList?.length) {
|
|
432
448
|
setCheckedKeys(deviceList[i].deviceList);
|
|
433
449
|
}
|
|
@@ -443,13 +459,13 @@ const useAppTreeWrapper = (hy) => {
|
|
|
443
459
|
return virtualTree?.getCheckedBusinessNodes(true) || [];
|
|
444
460
|
}
|
|
445
461
|
function setFilterListType(type) {
|
|
446
|
-
if (
|
|
462
|
+
if (props2.selectFilterList?.length) {
|
|
447
463
|
hy.selectFilterList.value = JSON.parse(
|
|
448
|
-
JSON.stringify(
|
|
464
|
+
JSON.stringify(props2.selectFilterList)
|
|
449
465
|
);
|
|
450
466
|
return;
|
|
451
467
|
}
|
|
452
|
-
if (
|
|
468
|
+
if (props2.treeType === "device") {
|
|
453
469
|
hy.selectFilterList.value = [
|
|
454
470
|
{
|
|
455
471
|
label: "\u5168\u90E8",
|
|
@@ -467,7 +483,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
467
483
|
placeholder: "\u8BBE\u5907\u53F7\u3001\u8BBE\u5907\u540D\u79F0\u8FDB\u884C\u7B5B\u9009"
|
|
468
484
|
}
|
|
469
485
|
];
|
|
470
|
-
} else if (
|
|
486
|
+
} else if (props2.treeType === "user") {
|
|
471
487
|
hy.selectFilterList.value = [
|
|
472
488
|
{
|
|
473
489
|
label: "\u5168\u90E8",
|
|
@@ -529,7 +545,7 @@ function filterNodeMethod(data, value, { selectFilterType, treeFilterParam = []
|
|
|
529
545
|
const includesValue = (field) => {
|
|
530
546
|
return field && field.toString().includes(value.toString());
|
|
531
547
|
};
|
|
532
|
-
if (!
|
|
548
|
+
if (!props.treeType) {
|
|
533
549
|
let filterType = false;
|
|
534
550
|
for (let i = 0; i < treeFilterParam.length; i++) {
|
|
535
551
|
const item = treeFilterParam[i];
|
|
@@ -142,6 +142,41 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
142
142
|
checkStrictly: {
|
|
143
143
|
type: Boolean,
|
|
144
144
|
default: false
|
|
145
|
+
},
|
|
146
|
+
// 单选时可以取消选中
|
|
147
|
+
cancelable: {
|
|
148
|
+
type: Boolean,
|
|
149
|
+
default: true
|
|
150
|
+
},
|
|
151
|
+
// 是否显示多选框或单选框
|
|
152
|
+
showSelectBox: {
|
|
153
|
+
type: Boolean,
|
|
154
|
+
default: true
|
|
155
|
+
},
|
|
156
|
+
// 是否在点击节点的时候展开或者收缩节点
|
|
157
|
+
expandOnClickNode: {
|
|
158
|
+
type: Boolean,
|
|
159
|
+
default: true
|
|
160
|
+
},
|
|
161
|
+
// 是否在点击节点的时候选中节点
|
|
162
|
+
checkOnClickNode: {
|
|
163
|
+
type: Boolean,
|
|
164
|
+
default: false
|
|
165
|
+
},
|
|
166
|
+
// 点击叶节点(最后一个子节点)时是否检查或取消节点
|
|
167
|
+
checkOnClickLeaf: {
|
|
168
|
+
type: Boolean,
|
|
169
|
+
default: true
|
|
170
|
+
},
|
|
171
|
+
// 双击父节点会触发选中功能
|
|
172
|
+
checkOnDblclickParentNode: {
|
|
173
|
+
type: Boolean,
|
|
174
|
+
default: true
|
|
175
|
+
},
|
|
176
|
+
// 初始化过滤数据
|
|
177
|
+
filterConfig: {
|
|
178
|
+
type: Array,
|
|
179
|
+
default: () => []
|
|
145
180
|
}
|
|
146
181
|
},
|
|
147
182
|
emits: [
|
|
@@ -306,7 +341,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
306
341
|
/* STABLE */
|
|
307
342
|
}, 8, ["content"])
|
|
308
343
|
])) : createCommentVNode("v-if", true),
|
|
309
|
-
renderSlot(_ctx.$slots, "input-bottom
|
|
344
|
+
renderSlot(_ctx.$slots, "input-bottom"),
|
|
310
345
|
withDirectives(createElementVNode(
|
|
311
346
|
"div",
|
|
312
347
|
{
|
package/es/components/index.mjs
CHANGED
|
@@ -24,6 +24,7 @@ export { HyBatchTableForm, HyTableForm } from './hyTableForm/index.mjs';
|
|
|
24
24
|
export { HyTableActionButton } from './hyTableActionButton/index.mjs';
|
|
25
25
|
export { HyBatchUploadDialog } from './hyBatchUploadDialog/index.mjs';
|
|
26
26
|
export { HyMap } from './hyMap/index.mjs';
|
|
27
|
+
export { HyRadioGroup } from './hyRadioGroup/index.mjs';
|
|
27
28
|
export { resetAppFormValue, useAppForm } from './hyForm/js/useAppForm.mjs';
|
|
28
29
|
export { resetAppSearchValue, useAppSearch } from './hySearch/js/useAppSearch.mjs';
|
|
29
30
|
export { useAppTable } from './hyTable/js/useAppTable.mjs';
|
package/es/index.mjs
CHANGED
|
@@ -3,6 +3,7 @@ export { ElDatePicker, HyDatePicker } from './components/hyDatePicker/index.mjs'
|
|
|
3
3
|
export { ElInput, HyInput, HyInputSearch } from './components/hyInput/index.mjs';
|
|
4
4
|
export { ElTimePicker, HyTimePicker } from './components/hyTimePicker/index.mjs';
|
|
5
5
|
export { ElTooltip, HyTooltip } from './components/hyTooltip/index.mjs';
|
|
6
|
+
export { HyAddDepartmentType } from './bussiness/hyAddDepartmentType/index.mjs';
|
|
6
7
|
export { HyAudioPlayer } from './components/hyAudioPlayer/index.mjs';
|
|
7
8
|
export { HyBatchTableForm, HyTableForm } from './components/hyTableForm/index.mjs';
|
|
8
9
|
export { HyBatchUploadDialog } from './components/hyBatchUploadDialog/index.mjs';
|
|
@@ -19,6 +20,7 @@ export { HyMenu } from './components/hyMenu/index.mjs';
|
|
|
19
20
|
export { HyNoPermissions } from './components/hyNoPermissions/index.mjs';
|
|
20
21
|
export { HyNoPermissionsMap } from './components/hyNoPermissionsMap/index.mjs';
|
|
21
22
|
export { HyOrgCascader } from './components/hyOrgCascader/index.mjs';
|
|
23
|
+
export { HyRadioGroup } from './components/hyRadioGroup/index.mjs';
|
|
22
24
|
export { HySearch } from './components/hySearch/index.mjs';
|
|
23
25
|
export { HyTable } from './components/hyTable/index.mjs';
|
|
24
26
|
export { HyTableActionButton } from './components/hyTableActionButton/index.mjs';
|
|
@@ -31,7 +33,7 @@ export { base64Decrypt, encryptToBase64, generateRandomCode } from './utils/cryp
|
|
|
31
33
|
export { blobToDataURL, fileFormUpload, fileJsonUplaod, fileUpload, presignedUrl, sizeToTextHandler } from './utils/file.mjs';
|
|
32
34
|
export { buildLocaleContext, buildTranslator, getLanguage, localeContextKey, translate, useLocale } from './hooks/useLocale.mjs';
|
|
33
35
|
export { clearResizeObserver, useResizeObserver } from './hooks/useResizeObserver.mjs';
|
|
34
|
-
export { clearSpace, columnRuleHandler, genRuleRequiredMsgHandler, genValueByProp, getValueByProp, setValueByProp } from './utils/form.mjs';
|
|
36
|
+
export { clearSpace, columnLabelHandler, columnPlaceholderHandler, columnRuleHandler, genColumnDefaultLabel, genRuleRequiredMsgHandler, genValueByProp, getValueByProp, setValueByProp } from './utils/form.mjs';
|
|
35
37
|
export { cloneDeep, copyText, createUniqueId, funRunHandler, mergeDeep, withInstall } from './utils/handler.mjs';
|
|
36
38
|
export { configProviderContextKey, provideGlobalConfig, useGlobalConfig } from './hooks/useGlobalConfig.mjs';
|
|
37
39
|
export { defaultAxios, localApiKey, useApi } from './hooks/useApi.mjs';
|
package/es/locale/en.mjs
CHANGED
|
@@ -27,7 +27,8 @@ var en = {
|
|
|
27
27
|
wednesday: "Wednesday",
|
|
28
28
|
thursday: "Thursday",
|
|
29
29
|
friday: "Friday",
|
|
30
|
-
saturday: "Saturday"
|
|
30
|
+
saturday: "Saturday",
|
|
31
|
+
help: "Help"
|
|
31
32
|
},
|
|
32
33
|
form: {
|
|
33
34
|
department: "Department",
|
|
@@ -144,6 +145,21 @@ var en = {
|
|
|
144
145
|
endMonth: "End Month",
|
|
145
146
|
startYear: "Start Year",
|
|
146
147
|
endYear: "End Year"
|
|
148
|
+
},
|
|
149
|
+
departmentType: {
|
|
150
|
+
editDepartmentType: "Edit Department Type",
|
|
151
|
+
addDepartmentType: "Add Department Type",
|
|
152
|
+
departmentIcon: "Department Icon",
|
|
153
|
+
upload: "Upload",
|
|
154
|
+
pleaseUploadDepartmentTypeIcon: "Please Upload Department Type Icon",
|
|
155
|
+
iconSize44px: "Icon Size 44px",
|
|
156
|
+
ifNoIconUseTheDefaultIcon: "If No Icon, Use The Default Icon",
|
|
157
|
+
departmentTypeName: "Department Type Name",
|
|
158
|
+
pleaseEnterTheDepartmentTypeName: "Please Enter The Department Type Name",
|
|
159
|
+
imageUploadFailedLogoSizeWithin2M: "Image Upload Failed, Logo Size Within 2M",
|
|
160
|
+
editDeviceCover: "Edit Device Cover",
|
|
161
|
+
close: "Close",
|
|
162
|
+
save: "Save"
|
|
147
163
|
}
|
|
148
164
|
};
|
|
149
165
|
|
package/es/locale/zh_CN.mjs
CHANGED
|
@@ -27,7 +27,8 @@ var zh_CN = {
|
|
|
27
27
|
wednesday: "\u661F\u671F\u4E09",
|
|
28
28
|
thursday: "\u661F\u671F\u56DB",
|
|
29
29
|
friday: "\u661F\u671F\u4E94",
|
|
30
|
-
saturday: "\u661F\u671F\u516D"
|
|
30
|
+
saturday: "\u661F\u671F\u516D",
|
|
31
|
+
help: "\u5E2E\u52A9"
|
|
31
32
|
},
|
|
32
33
|
form: {
|
|
33
34
|
department: "\u6240\u5C5E\u90E8\u95E8",
|
|
@@ -140,6 +141,21 @@ var zh_CN = {
|
|
|
140
141
|
endMonth: "\u7ED3\u675F\u6708\u4EFD",
|
|
141
142
|
startYear: "\u5F00\u59CB\u5E74\u4EFD",
|
|
142
143
|
endYear: "\u7ED3\u675F\u5E74\u4EFD"
|
|
144
|
+
},
|
|
145
|
+
departmentType: {
|
|
146
|
+
editDepartmentType: "\u7F16\u8F91\u90E8\u95E8\u7C7B\u578B",
|
|
147
|
+
addDepartmentType: "\u6DFB\u52A0\u90E8\u95E8\u7C7B\u578B",
|
|
148
|
+
departmentIcon: "\u90E8\u95E8\u56FE\u6807",
|
|
149
|
+
upload: "\u4E0A \u4F20",
|
|
150
|
+
pleaseUploadDepartmentTypeIcon: "\u8BF7\u4E0A\u4F20\u90E8\u95E8\u7C7B\u578B\u56FE\u6807",
|
|
151
|
+
iconSize44px: "\u56FE\u6807\u5C3A\u5BF844px",
|
|
152
|
+
ifNoIconUseTheDefaultIcon: "\u82E5\u65E0\u56FE\u6807\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807",
|
|
153
|
+
departmentTypeName: "\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
|
|
154
|
+
pleaseEnterTheDepartmentTypeName: "\u8BF7\u8F93\u5165\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
|
|
155
|
+
imageUploadFailedLogoSizeWithin2M: "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25\uFF0Clogo\u5927\u5C0F2M\u4EE5\u5185\u3002",
|
|
156
|
+
editDeviceCover: "\u7F16\u8F91\u8BBE\u5907\u5C01\u9762",
|
|
157
|
+
close: "\u5173 \u95ED",
|
|
158
|
+
save: "\u4FDD \u5B58"
|
|
143
159
|
}
|
|
144
160
|
};
|
|
145
161
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-dispatch-share-charu',
|
|
3
|
+
symbol: `<symbol id="hy-icon-dispatch-share-charu" viewBox="0 0 24 24">
|
|
4
|
+
<g id="hy-icon-dispatch-share-charu-anniu/charu" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M15.5626818,16.0095982 C15.7075371,16.0513393 15.9407787,16.1642857 16.2034824,16.3263393 C16.267317,16.365625 17.6888634,17.2053571 18.7838714,18.2390625 C19.1963409,18.6294643 19.886245,19.2850446 19.8666036,20.04375 C19.8518726,20.5618304 19.5326998,21.0823661 18.8943543,21.6323661 C18.7347679,21.7747768 17.3132216,23 15.0372743,23 C14.4136598,23 13.7728591,22.9091518 13.1345136,22.7299107 C12.4617957,22.5433036 11.779257,22.2535714 11.1040838,21.8680804 C8.4402189,20.421875 6.38523737,18.5558036 4.43337319,15.8229911 C1.08205923,11.1234375 0.986307403,7.09665179 1.00103845,6.33794643 C1.0059488,2.83660714 4.17312464,1.45915179 4.53403537,1.31428571 C5.02998073,1.103125 5.46454672,1 5.86474025,1 C6.05624391,1 6.24038204,1.02455357 6.40978912,1.07120536 C6.75842398,1.16941964 7.24454864,1.42232143 7.56863175,2.07053571 C8.01301844,2.95200893 8.43285337,4.21651786 8.72010885,5.53995536 C9.02209539,6.9125 8.18488069,7.29799107 7.37712809,7.67120536 L7.34521082,7.68348214 C7.34521082,7.68348214 5.91629893,8.23348214 5.6634159,8.32924107 C5.41544322,8.425 5.28777411,8.68035714 5.37125007,8.91607143 C5.94821621,10.5267857 6.82962405,12.1939732 7.91726661,13.7433036 C8.98772294,15.265625 10.2619588,16.6725446 11.6000292,17.809375 C11.695781,17.8904018 11.8185398,17.9345982 11.9486641,17.9345982 L11.9928572,17.9321429 C12.1328022,17.9223214 12.2653816,17.8560268 12.3537679,17.7529018 C12.5722785,17.4950893 12.9037272,17.1243304 13.2572724,16.8149554 C13.92508,16.2305804 14.5290531,15.9457589 15.1011088,15.9457589 C15.2557849,15.9457589 15.4129161,15.9678571 15.5626818,16.0095982 Z" id="hy-icon-dispatch-share-charu-路径" fill-rule="nonzero"></path>
|
|
6
|
+
<path d="M13,3.75 C13.6903559,3.75 14.25,4.30964406 14.25,5 L14.25,8.75 C14.25,9.30228475 14.6977153,9.75 15.25,9.75 L19,9.75 L19,9.75 C19.6472087,9.75 20.1795339,10.2418747 20.2435464,10.8721948 L20.25,11 C20.25,11.6903559 19.6903559,12.25 19,12.25 L13,12.25 C12.3096441,12.25 11.75,11.6903559 11.75,11 L11.75,5 C11.75,4.30964406 12.3096441,3.75 13,3.75 Z" id="hy-icon-dispatch-share-charu-路径-12" fill-rule="nonzero"></path>
|
|
7
|
+
<path d="M18,0.75 C18.6903559,0.75 19.25,1.30964406 19.25,2 L19.25,3.75 C19.25,4.30228475 19.6977153,4.75 20.25,4.75 L22,4.75 L22,4.75 C22.6472087,4.75 23.1795339,5.24187466 23.2435464,5.87219476 L23.25,6 C23.25,6.69035594 22.6903559,7.25 22,7.25 L18,7.25 C17.3096441,7.25 16.75,6.69035594 16.75,6 L16.75,2 C16.75,1.30964406 17.3096441,0.75 18,0.75 Z" id="hy-icon-dispatch-share-charu-路径-12备份" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-dispatch-share-zhongduan',
|
|
3
|
+
symbol: `<symbol id="hy-icon-dispatch-share-zhongduan" viewBox="0 0 24 24">
|
|
4
|
+
<g id="hy-icon-dispatch-share-zhongduan-anniu/zhongduan" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M5.86474025,1 C6.05624391,1 6.24038204,1.02455357 6.40978912,1.07120536 C6.75842398,1.16941964 7.24454864,1.42232143 7.56863175,2.07053571 C8.01301844,2.95200893 8.43285337,4.21651786 8.72010885,5.53995536 C8.98270584,6.73347244 8.38390303,7.18063521 7.69211553,7.52237524 L7.48255816,7.62237549 C7.44742314,7.63872873 7.41224777,7.65497865 7.37712809,7.67120536 L7.34521082,7.68348214 C7.34521082,7.68348214 5.91629893,8.23348214 5.6634159,8.32924107 C5.41544322,8.425 5.28777411,8.68035714 5.37125007,8.91607143 C5.94821621,10.5267857 6.82962405,12.1939732 7.91726661,13.7433036 C8.98772294,15.265625 10.2619588,16.6725446 11.6000292,17.809375 C11.695781,17.8904018 11.8185398,17.9345982 11.9486641,17.9345982 L11.9928572,17.9321429 C12.1328022,17.9223214 12.2653816,17.8560268 12.3537679,17.7529018 C12.5722785,17.4950893 12.9037272,17.1243304 13.2572724,16.8149554 C13.92508,16.2305804 14.5290531,15.9457589 15.1011088,15.9457589 C15.2557849,15.9457589 15.4129161,15.9678571 15.5626818,16.0095982 C15.7075371,16.0513393 15.9407787,16.1642857 16.2034824,16.3263393 C16.267317,16.365625 17.6888634,17.2053571 18.7838714,18.2390625 C19.1963409,18.6294643 19.886245,19.2850446 19.8666036,20.04375 C19.8518726,20.5618304 19.5326998,21.0823661 18.8943543,21.6323661 C18.7347679,21.7747768 17.3132216,23 15.0372743,23 C14.4136598,23 13.7728591,22.9091518 13.1345136,22.7299107 C12.4617957,22.5433036 11.779257,22.2535714 11.1040838,21.8680804 C8.4402189,20.421875 6.38523737,18.5558036 4.43337319,15.8229911 C1.29151635,11.4171596 1.01099342,7.602628 1.00033894,6.51786788 L1.00029006,6.38959736 C1.00047261,6.37097759 1.00073156,6.35375279 1.00103845,6.33794643 C1.0059488,2.83660714 4.17312464,1.45915179 4.53403537,1.31428571 C5.02998073,1.103125 5.46454672,1 5.86474025,1 Z M22.5543017,1.43419524 C23.1419372,2.01572041 23.1449397,2.96154916 22.5610081,3.54676289 L20.113,6 L22.5610081,8.45323711 C23.108444,9.00187498 23.1400198,9.86745965 22.6576317,10.4526766 L22.5543017,10.5658048 C21.9666663,11.1473299 21.0169236,11.1443398 20.432992,10.559126 L17.998,8.119 L15.5640081,10.559126 C14.9800765,11.1443398 14.0303338,11.1473299 13.4426984,10.5658048 C12.8550629,9.98427959 12.8520604,9.03845084 13.435992,8.45323711 L15.883,6 L13.435992,3.54676289 C12.8885561,2.99812502 12.8569803,2.13254035 13.3393684,1.54732341 L13.4426984,1.43419524 C14.0303338,0.852670067 14.9800765,0.855660232 15.5640081,1.44087396 L17.998,3.88 L20.432992,1.44087396 C21.0169236,0.855660232 21.9666663,0.852670067 22.5543017,1.43419524 Z" id="hy-icon-dispatch-share-zhongduan-形状结合" fill-rule="nonzero"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|