hy-dispatch-ui-v3 0.2.50 → 0.2.52
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/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +15 -2
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +4 -4
- package/es/components/hyTree/js/index.mjs +10 -1
- package/es/components/hyTree/tree.vue.mjs +11 -4
- package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-liexche.js +3 -3
- package/es/static/hy-svg-icons/hy-icon-ops-file-apk.js +10 -0
- package/es/static/hy-svg-icons/hy-icon-ops-file-shiping.js +13 -0
- package/es/static/hy-svg-icons/hy-icon-ops-file-xls.js +10 -0
- package/es/static/hy-svg-icons/hy-icon-ops-file-yingping.js +10 -0
- package/es/version.mjs +1 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +15 -2
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -4
- package/lib/components/hyTree/js/index.js +10 -1
- package/lib/components/hyTree/tree.vue.js +10 -3
- package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-liexche.js +3 -3
- package/lib/static/hy-svg-icons/hy-icon-ops-file-apk.js +10 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-file-shiping.js +13 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-file-xls.js +10 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-file-yingping.js +10 -0
- package/lib/version.js +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
25
25
|
type: String,
|
|
26
26
|
default: "right"
|
|
27
27
|
},
|
|
28
|
+
uploadType: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "default"
|
|
31
|
+
// default-内部上传,custom-自定义上传
|
|
32
|
+
},
|
|
28
33
|
// 是否可缩小化
|
|
29
34
|
ifShrink: { type: Boolean, default: false },
|
|
30
35
|
// 是否拖拽
|
|
@@ -91,6 +96,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
91
96
|
"onDialogMousedown"
|
|
92
97
|
], ["update:modelValue"]),
|
|
93
98
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
99
|
+
const props = __props;
|
|
94
100
|
const emits = __emit;
|
|
95
101
|
const batchTableFormRef = useTemplateRef("batchTableFormRef");
|
|
96
102
|
const visible = useModel(__props, "modelValue");
|
|
@@ -151,8 +157,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
151
157
|
emits("submit", params);
|
|
152
158
|
}
|
|
153
159
|
async function onSubmitHandler() {
|
|
154
|
-
await batchTableFormRef.value.validate();
|
|
155
|
-
|
|
160
|
+
const res = await batchTableFormRef.value.validate();
|
|
161
|
+
if (props.uploadType === "custom") {
|
|
162
|
+
return { ...res, result: res.total === res.success };
|
|
163
|
+
} else {
|
|
164
|
+
batchTableFormRef.value.submitDataSource();
|
|
165
|
+
}
|
|
156
166
|
}
|
|
157
167
|
__expose({
|
|
158
168
|
show,
|
|
@@ -163,6 +173,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
163
173
|
validate: async () => {
|
|
164
174
|
return await batchTableFormRef.value.validate();
|
|
165
175
|
},
|
|
176
|
+
clearData: () => {
|
|
177
|
+
batchTableFormRef.value.clearData();
|
|
178
|
+
},
|
|
166
179
|
submitDataSource: () => {
|
|
167
180
|
return batchTableFormRef.value.submitDataSource();
|
|
168
181
|
}
|
|
@@ -127,7 +127,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
127
127
|
}, [
|
|
128
128
|
selectedData.value ? (openBlock(), createBlock(unref(HyTooltip), {
|
|
129
129
|
key: 0,
|
|
130
|
-
"
|
|
130
|
+
"show-after": 500,
|
|
131
131
|
disabled: !selectedData.value.altText,
|
|
132
132
|
content: selectedData.value.altText,
|
|
133
133
|
"is-always": true,
|
|
@@ -160,7 +160,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
160
160
|
visible: visible.value,
|
|
161
161
|
"onUpdate:visible": ($event) => visible.value = $event,
|
|
162
162
|
placement: "bottom",
|
|
163
|
-
"
|
|
163
|
+
"show-after": 200,
|
|
164
164
|
disabled: __props.disabled,
|
|
165
165
|
trigger: "click"
|
|
166
166
|
}, {
|
|
@@ -252,7 +252,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
252
252
|
onClick: ($event) => buttonChange(row)
|
|
253
253
|
}, [
|
|
254
254
|
createVNode(unref(HyTooltip), {
|
|
255
|
-
"
|
|
255
|
+
"show-after": 500,
|
|
256
256
|
content: row.label,
|
|
257
257
|
"is-always": true,
|
|
258
258
|
placement: "bottom"
|
|
@@ -273,7 +273,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
273
273
|
}, 1032, ["content"]),
|
|
274
274
|
row.altText ? (openBlock(), createBlock(unref(HyTooltip), {
|
|
275
275
|
key: 0,
|
|
276
|
-
"
|
|
276
|
+
"show-after": 500,
|
|
277
277
|
content: row.altText,
|
|
278
278
|
"is-always": true,
|
|
279
279
|
placement: "top"
|
|
@@ -31,6 +31,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
31
31
|
const selectedDataList = ref([]);
|
|
32
32
|
const selectFilterType = ref(null);
|
|
33
33
|
const selectFilterList = ref([]);
|
|
34
|
+
const loading = ref(true);
|
|
34
35
|
watch(
|
|
35
36
|
() => props.showCheckbox,
|
|
36
37
|
(newVal) => {
|
|
@@ -41,6 +42,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
41
42
|
);
|
|
42
43
|
function getData(dataList) {
|
|
43
44
|
return new Promise((resolve) => {
|
|
45
|
+
hy.loading.value = true;
|
|
44
46
|
if (props.disableSelection?.length) {
|
|
45
47
|
setDisAbleSelectionMap();
|
|
46
48
|
}
|
|
@@ -226,6 +228,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
226
228
|
if (hy.filterValue.value) {
|
|
227
229
|
getFilterValue();
|
|
228
230
|
}
|
|
231
|
+
setTimeout(() => {
|
|
232
|
+
hy.loading.value = false;
|
|
233
|
+
});
|
|
229
234
|
resolve(200);
|
|
230
235
|
}
|
|
231
236
|
});
|
|
@@ -246,6 +251,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
246
251
|
if (hy.filterValue.value) {
|
|
247
252
|
getFilterValue();
|
|
248
253
|
}
|
|
254
|
+
setTimeout(() => {
|
|
255
|
+
hy.loading.value = false;
|
|
256
|
+
});
|
|
249
257
|
resolve(200);
|
|
250
258
|
}
|
|
251
259
|
);
|
|
@@ -509,7 +517,8 @@ const useAppTreeWrapper = (hy) => {
|
|
|
509
517
|
selectFilterList,
|
|
510
518
|
selectFilterType,
|
|
511
519
|
selectedDataList,
|
|
512
|
-
getSelectedDataList
|
|
520
|
+
getSelectedDataList,
|
|
521
|
+
loading
|
|
513
522
|
};
|
|
514
523
|
};
|
|
515
524
|
function filterNodeMethod(data, value, { selectFilterType, treeFilterParam = [] }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, ref, onMounted, openBlock, createElementBlock, normalizeStyle, unref, createVNode, withCtx, createElementVNode, isRef, withKeys, Fragment, renderList, createBlock, createCommentVNode, renderSlot } from 'vue';
|
|
1
|
+
import { defineComponent, useSlots, ref, onMounted, resolveDirective, openBlock, createElementBlock, normalizeStyle, unref, createVNode, withCtx, createElementVNode, isRef, withKeys, Fragment, renderList, createBlock, createCommentVNode, renderSlot, withDirectives } from 'vue';
|
|
2
2
|
import { ElTooltip, ElInput, ElSelect, ElOption } from 'element-plus';
|
|
3
3
|
import { VirtualTree } from 'hy-virtual-tree';
|
|
4
4
|
import { useAppTreeWrapper } from './js/index.mjs';
|
|
@@ -170,7 +170,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
170
170
|
setFilterListType,
|
|
171
171
|
getInputPlaceholder,
|
|
172
172
|
onChange,
|
|
173
|
-
getSelectedDataList
|
|
173
|
+
getSelectedDataList,
|
|
174
|
+
loading
|
|
174
175
|
} = useMixins(
|
|
175
176
|
{
|
|
176
177
|
props,
|
|
@@ -193,6 +194,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
193
194
|
getSelectedDataList
|
|
194
195
|
});
|
|
195
196
|
return (_ctx, _cache) => {
|
|
197
|
+
const _directive_loading = resolveDirective("loading");
|
|
196
198
|
return openBlock(), createElementBlock(
|
|
197
199
|
"div",
|
|
198
200
|
{
|
|
@@ -299,9 +301,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
299
301
|
}, 8, ["content"])
|
|
300
302
|
])) : createCommentVNode("v-if", true),
|
|
301
303
|
renderSlot(_ctx.$slots, "input-bottom-bottom"),
|
|
302
|
-
createElementVNode(
|
|
304
|
+
withDirectives(createElementVNode(
|
|
303
305
|
"div",
|
|
304
306
|
{
|
|
307
|
+
"element-loading-text": "\u52A0\u8F7D\u4E2D...",
|
|
308
|
+
"element-loading-spinner": "el-icon-loading",
|
|
309
|
+
"element-loading-background": "rgba(0, 0, 0, 0.8)",
|
|
305
310
|
ref_key: "treeRef",
|
|
306
311
|
ref: treeRef,
|
|
307
312
|
style: { "width": "100%" },
|
|
@@ -310,7 +315,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
310
315
|
null,
|
|
311
316
|
512
|
|
312
317
|
/* NEED_PATCH */
|
|
313
|
-
)
|
|
318
|
+
), [
|
|
319
|
+
[_directive_loading, unref(loading)]
|
|
320
|
+
])
|
|
314
321
|
],
|
|
315
322
|
4
|
|
316
323
|
/* STYLE */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
id: 'hy-icon-layout-sidenav-menu-liexche',
|
|
3
|
-
symbol: `<symbol id="hy-icon-layout-sidenav-menu-liexche" viewBox="0 0
|
|
4
|
-
<g id="hy-icon-layout-sidenav-menu-liexche-
|
|
5
|
-
<path d="
|
|
3
|
+
symbol: `<symbol id="hy-icon-layout-sidenav-menu-liexche" viewBox="0 0 20 20">
|
|
4
|
+
<g id="hy-icon-layout-sidenav-menu-liexche-12" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M6.25542018,15.6797226 L7.87619909,15.6797226 L7.39885993,16.9027547 L12.7306296,16.9027547 L12.2532904,15.6786393 L13.8740693,15.6786393 L15.9810819,19 L13.5499136,19 L13.1397774,17.9513773 L6.98971208,17.9513773 L6.57957596,19 L4.1484076,19 L6.25542018,15.6797226 Z M5.12186322,14.6310999 C4.11381781,14.6310999 3.35086577,13.6518077 3.52480303,12.5826025 L5.17028893,2.44627768 C5.31284299,1.60430119 5.9851256,0.995150734 6.76636084,1.00002909 L13.233664,1.00002909 C14.0203347,1.00002909 14.6943416,1.60997942 14.8297359,2.44627768 L16.4752218,12.5826025 C16.649159,13.6518077 15.8852188,14.6300166 14.8781616,14.6300166 L5.12186322,14.6300166 L5.12186322,14.6310999 Z M7.64988301,2.04871102 C7.33914998,2.04630772 7.08532846,2.32016795 7.08261039,2.66076867 C7.08586956,3.00094493 7.33953203,3.27414914 7.64988301,3.27174305 L12.3501418,3.27174305 C12.6604928,3.27414914 12.9141553,3.00094493 12.9174145,2.66076867 C12.9146964,2.32016795 12.6608749,2.04630772 12.3501418,2.04871102 L7.64988301,2.04871102 L7.64988301,2.04871102 Z M13.480734,10.0867072 C14.1053268,10.0867072 14.5678418,9.46165009 14.4294826,8.8062609 L13.6171166,4.96058888 C13.5122829,4.4801688 13.1190056,4.14248567 12.6683679,4.14590377 L7.33165691,4.14590377 C6.88072719,4.14260359 6.48735035,4.48082142 6.38290828,4.96167216 L5.57054226,8.8062609 C5.50684333,9.12013767 5.57747661,9.44871478 5.76232202,9.69839616 C5.94716743,9.94807754 6.2259622,10.0914931 6.51929089,10.0877905 L13.4817222,10.0877905 L13.480734,10.0867072 Z M6.43429882,13.4080679 C7.06086823,13.4080679 7.56884406,12.8599242 7.56884406,12.1839526 C7.56884406,11.5090642 7.06086823,10.9609205 6.43429882,10.9609205 C5.80772942,10.9609205 5.29975359,11.5090642 5.29975359,12.1850359 C5.29975359,12.8599242 5.80772942,13.4080679 6.43429882,13.4080679 Z M13.565726,13.4080679 C14.1922954,13.4080679 14.7002713,12.8599242 14.7002713,12.1839526 C14.7002713,11.5090642 14.1922954,10.9609205 13.565726,10.9609205 C12.9391566,10.9609205 12.4311808,11.5090642 12.4311808,12.1850359 C12.4311808,12.8599242 12.9391566,13.4080679 13.565726,13.4080679 Z" id="hy-icon-layout-sidenav-menu-liexche-hy-icon-dispatch-linear-v3-station-operation-guidao-形状" fill-rule="nonzero"></path>
|
|
6
6
|
</g>
|
|
7
7
|
</symbol>`,
|
|
8
8
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-apk',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-apk" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-apk-wenjian/apk" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1788775,-1.0658141e-14 C39.2676382,-1.0658141e-14 40.3093555,0.443813394 41.0635932,1.2290046 L56.8542683,17.6677211 C57.5692562,18.4120517 57.968862,19.4039411 57.9695518,20.4360435 L57.9999987,59.9999987 C58.0022131,63.3137064 55.3177173,66.0017924 52.0040095,66.0040068 C52.002673,66.0040077 52.0013365,66.0040082 52,66.0040082 L6,66 C2.6862915,66 0,63.3137085 0,60 L8.8817842e-16,6 C8.8817842e-16,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-apk-矩形" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-apk-路径-2" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
7
|
+
<path d="M46.6428571,29 C47.3923864,29 48,29.6199134 48,30.3846154 L48,45.6153846 C48,46.3800866 47.3923864,47 46.6428571,47 L11.3571429,47 C10.6076136,47 10,46.3800866 10,45.6153846 L10,30.3846154 C10,29.6199134 10.6076136,29 11.3571429,29 L46.6428571,29 Z M20.4461538,32.5 L16.0615385,32.5 L13,43.5 L15.6307692,43.5 L16.3076923,40.9192308 L19.9846154,40.9192308 L20.6769231,43.5 L23.5230769,43.5 L20.4461538,32.5 Z M28.8461538,32.5 L24.9076923,32.5 L24.9076923,43.5 L27.6,43.5 L27.6,40.0166667 L28.5538462,40.0166667 C31.2923077,40.0166667 33.2307692,38.8320513 33.2307692,36.124359 C33.2307692,33.6564103 31.6923077,32.5 28.8461538,32.5 Z M37.7230769,32.5 L34.9230769,32.5 L34.9230769,43.5 L37.7230769,43.5 L37.7230769,39.8333333 L38.6153846,38.9307692 L41.5692308,43.5 L45,43.5 L40.4769231,37.0692308 L44.9846154,32.5 L41.5230769,32.5 L38.9692308,35.4615385 C38.5076923,36.0115385 38.0615385,36.6461538 37.6769231,37.2525641 L37.6153846,37.2525641 C37.6769231,36.6320513 37.7230769,36.0820513 37.7230769,35.4615385 L37.7230769,32.5 Z M18.2,33.9525641 C18.2769231,34.4602564 18.4,34.9679487 18.5384615,35.4615385 L19.4615385,38.9448718 L16.8307692,38.9448718 L17.7692308,35.4615385 C17.9076923,34.9679487 18.0307692,34.4602564 18.1230769,33.9525641 L18.2,33.9525641 Z M28.7076923,34.3333333 C29.6923077,34.3333333 30.3846154,34.9397436 30.3846154,36.2653846 C30.3846154,37.6192308 29.6923077,38.1833333 28.7076923,38.1833333 L27.6,38.1833333 L27.6,34.3333333 L28.7076923,34.3333333 Z M11.5,51 L46.5,51 C47.3284271,51 48,51.6715729 48,52.5 C48,53.3284271 47.3284271,54 46.5,54 L11.5,54 C10.6715729,54 10,53.3284271 10,52.5 C10,51.6715729 10.6715729,51 11.5,51 Z" id="hy-icon-ops-file-apk-形状结合" fill="#2DF2FF" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-shiping',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-shiping" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-shiping-wenjian/shiping" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1964704,-1.0658141e-14 C39.2748781,-1.0658141e-14 40.3075989,0.43543833 41.0604431,1.20757089 L56.8335533,17.384797 C57.5612654,18.1311535 57.9688726,19.1321059 57.9695797,20.1745129 L57.9999986,59.0224662 C58.0022463,62.336174 55.3177775,65.024287 52.0040698,65.0265346 C52.0027132,65.0265356 52.0013566,65.026536 52,65.026536 L6,65.0224676 C2.6862915,65.0224676 0,62.3361761 0,59.0224676 L0,6 C0,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-shiping-矩形备份" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-shiping-路径-2备份" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
7
|
+
<g id="hy-icon-ops-file-shiping-符号-视频" transform="translate(11, 26)" fill="#2DF2FF" fill-rule="nonzero">
|
|
8
|
+
<path d="M31.45,0 L2.55,0 C1.82142857,0 1.21428571,0.241666667 0.728571429,0.845833333 C0.242857143,1.32916667 0,2.05416667 0,2.9 L0,25.9791667 C0,27.6708333 1.09285714,29 2.55,29 L31.45,29 C32.1785714,29 32.7857143,28.7583333 33.2714286,28.1541667 C33.7571429,27.55 34,26.825 34,26.1 L34,2.9 C34,1.32916667 32.7857143,0 31.45,0 Z M6.07142857,26.5833333 L4.12857143,26.5833333 C3.15714286,26.5833333 2.42857143,25.7375 2.42857143,24.65 L2.42857143,19.3333333 L6.07142857,19.3333333 L6.07142857,26.5833333 Z M6.07142857,16.9166667 L2.42857143,16.9166667 L2.42857143,12.0833333 L6.07142857,12.0833333 L6.07142857,16.9166667 Z M6.07142857,9.66666667 L2.42857143,9.66666667 L2.42857143,4.35 C2.42857143,3.2625 3.15714286,2.41666667 4.12857143,2.41666667 L6.07142857,2.41666667 L6.07142857,9.66666667 Z M25.5,10.875 L25.5,26.5833333 L8.5,26.5833333 L8.5,2.41666667 L25.5,2.41666667 L25.5,10.875 Z M31.5714286,24.65 C31.5714286,25.7375 30.8428571,26.5833333 29.8714286,26.5833333 L27.9285714,26.5833333 L27.9285714,19.3333333 L31.5714286,19.3333333 L31.5714286,24.65 Z M31.5714286,16.9166667 L27.9285714,16.9166667 L27.9285714,12.0833333 L31.5714286,12.0833333 L31.5714286,16.9166667 Z M31.5714286,9.66666667 L27.9285714,9.66666667 L27.9285714,2.41666667 L29.9928571,2.41666667 C30.8428571,2.41666667 31.5714286,3.2625 31.5714286,4.35 L31.5714286,9.66666667 Z" id="hy-icon-ops-file-shiping-形状"></path>
|
|
9
|
+
<path d="M14.45,18.85 L19.9142857,16.0708333 L20.8857143,15.5875 C22.1,14.9833333 22.1,14.0166667 20.8857143,13.4125 L14.45,10.15 C13.8428571,9.90833333 13.3571429,10.15 13.3571429,10.7541667 L13.3571429,18.0041667 C13.3571429,18.85 13.8428571,19.0916667 14.45,18.85 L14.45,18.85 Z" id="hy-icon-ops-file-shiping-路径"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</symbol>`,
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-xls',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-xls" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-xls-wenjian/xls" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1788775,-1.0658141e-14 C39.2676382,-1.0658141e-14 40.3093555,0.443813394 41.0635932,1.2290046 L56.8542683,17.6677211 C57.5692562,18.4120517 57.968862,19.4039411 57.9695518,20.4360435 L57.9999987,59.9999987 C58.0022131,63.3137064 55.3177173,66.0017924 52.0040095,66.0040068 C52.002673,66.0040077 52.0013365,66.0040082 52,66.0040082 L6,66 C2.6862915,66 0,63.3137085 0,60 L8.8817842e-16,6 C8.8817842e-16,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-xls-矩形" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-xls-路径-2" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
7
|
+
<path d="M46.6428571,29 C47.3923864,29 48,29.6199134 48,30.3846154 L48,45.6153846 C48,46.3800866 47.3923864,47 46.6428571,47 L11.3571429,47 C10.6076136,47 10,46.3800866 10,45.6153846 L10,30.3846154 C10,29.6199134 10.6076136,29 11.3571429,29 L46.6428571,29 Z M28.3214286,32.4615385 L25.6071429,32.4615385 L25.6071429,43.5384615 L33.75,43.5384615 L33.75,40.7692308 L28.3214286,40.7692308 L28.3214286,32.4615385 Z M43.25,32.4615385 L36.6,32.4615385 C35.7755178,32.4615385 35.1071429,33.1434432 35.1071429,33.9846154 L35.1071429,37.8615385 L35.1152857,38.0276923 C35.1983852,38.8002206 35.8382535,39.3850146 36.6,39.3846154 L40.5357143,39.3846154 L40.5357143,40.7692308 L35.1071429,40.7692308 L35.1071429,43.5384615 L41.7571429,43.5384615 C42.1530732,43.5384615 42.5327872,43.377995 42.8127523,43.0923626 C43.0927173,42.8067303 43.25,42.4193297 43.25,42.0153846 L43.25,38.1384615 L43.2418571,37.9723077 C43.1587576,37.1997794 42.5188893,36.6149854 41.7571429,36.6153846 L37.8214286,36.6153846 L37.8214286,35.2307692 L43.25,35.2307692 L43.25,32.4615385 Z M18.0342857,32.4615385 L14.9305,32.4615385 L17.9474286,38 L14.9318571,43.5384615 L18.0356429,43.5384615 L19.5,40.8481538 L20.9616429,43.5356923 L24.0681429,43.5356923 L21.0525714,38 L24.0695,32.4615385 L20.963,32.4615385 L19.5,35.1476923 L18.0342857,32.4615385 Z M11.5,51 L46.5,51 C47.3284271,51 48,51.6715729 48,52.5 C48,53.3284271 47.3284271,54 46.5,54 L11.5,54 C10.6715729,54 10,53.3284271 10,52.5 C10,51.6715729 10.6715729,51 11.5,51 Z" id="hy-icon-ops-file-xls-形状结合" fill="#2DF2FF" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-yingping',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-yingping" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-yingping-wenjian/yingping" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1964704,-1.0658141e-14 C39.2748781,-1.0658141e-14 40.3075989,0.43543833 41.0604431,1.20757089 L56.8335533,17.384797 C57.5612654,18.1311535 57.9688726,19.1321059 57.9695797,20.1745129 L57.9999986,59.0224662 C58.0022463,62.336174 55.3177775,65.024287 52.0040698,65.0265346 C52.0027132,65.0265356 52.0013566,65.026536 52,65.026536 L6,65.0224676 C2.6862915,65.0224676 0,62.3361761 0,59.0224676 L0,6 C0,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-yingping-矩形" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M42.8330714,24.7924895 C42.0826429,24.1570769 41.0577857,23.8879175 40.0280714,24.0427763 L22.3990714,26.74666 C20.3906429,27.0539195 18.8145,28.8581474 18.8145,30.8541051 L18.8145,44.7375324 C17.8788999,44.118355 16.7849162,43.7894193 15.6670714,43.7911731 C12.5366429,43.7924021 10,46.3008688 10,49.3968156 C10,52.4915334 12.5378571,55 15.6670714,55 C18.7962857,55 21.8701161,52.4927624 21.8701161,49.3968156 L21.8701161,36.9046594 L22.1195346,36.8640271 L41.1033481,33.7714067 L41.1033481,41.5059566 C40.1674022,40.8865495 39.1926895,40.5256796 38.0744315,40.5276732 C34.9452172,40.5276732 32.3587475,43.111515 32.3587475,46.2062328 C32.3587475,49.3009506 35.2464379,52.2220595 38.3756522,52.2220595 C41.5060808,52.2220595 44,49.3009506 44,46.2062328 L44,27.3771565 C44,26.3632001 43.575,25.420528 42.8330714,24.7924895 Z M15.6670714,52.5099689 C13.9306429,52.5099689 12.5184286,51.1137817 12.5184286,49.3968156 C12.5184286,47.6786204 13.9306429,46.2836622 15.6670714,46.2836622 C17.4035,46.2836622 18.8145,47.6786204 18.8145,49.3968156 C18.8145,51.1137817 17.4035,52.5099689 15.6670714,52.5099689 Z M21.9151548,33.9089888 L21.9151548,30.7123447 C21.9151548,29.9540282 22.5951548,29.1846504 23.3674405,29.0654337 L39.776102,26.5493209 C40.0881734,26.5026175 40.362602,26.5665275 40.5532449,26.7299895 C40.7426734,26.8897645 40.8422449,27.1294269 40.8422449,27.423167 L40.8422449,31.0069581 L21.9151548,33.9089888 Z M38.3329286,49.3181571 C36.5965,49.3181571 35.1855,47.9219699 35.1855,46.2050038 C35.1855,44.4880377 36.5965,43.0918504 38.3329286,43.0918504 C40.0693571,43.0918504 41.4815714,44.4880377 41.4815714,46.2050038 C41.4815714,47.9219699 40.0693571,49.3181571 38.3329286,49.3181571 Z" id="hy-icon-ops-file-yingping-形状" fill="#2DF2FF" fill-rule="nonzero"></path>
|
|
7
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-yingping-路径-2" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
package/es/version.mjs
CHANGED
|
@@ -29,6 +29,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
29
29
|
type: String,
|
|
30
30
|
default: "right"
|
|
31
31
|
},
|
|
32
|
+
uploadType: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "default"
|
|
35
|
+
// default-内部上传,custom-自定义上传
|
|
36
|
+
},
|
|
32
37
|
// 是否可缩小化
|
|
33
38
|
ifShrink: { type: Boolean, default: false },
|
|
34
39
|
// 是否拖拽
|
|
@@ -95,6 +100,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
95
100
|
"onDialogMousedown"
|
|
96
101
|
], ["update:modelValue"]),
|
|
97
102
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
103
|
+
const props = __props;
|
|
98
104
|
const emits = __emit;
|
|
99
105
|
const batchTableFormRef = vue.useTemplateRef("batchTableFormRef");
|
|
100
106
|
const visible = vue.useModel(__props, "modelValue");
|
|
@@ -155,8 +161,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
155
161
|
emits("submit", params);
|
|
156
162
|
}
|
|
157
163
|
async function onSubmitHandler() {
|
|
158
|
-
await batchTableFormRef.value.validate();
|
|
159
|
-
|
|
164
|
+
const res = await batchTableFormRef.value.validate();
|
|
165
|
+
if (props.uploadType === "custom") {
|
|
166
|
+
return { ...res, result: res.total === res.success };
|
|
167
|
+
} else {
|
|
168
|
+
batchTableFormRef.value.submitDataSource();
|
|
169
|
+
}
|
|
160
170
|
}
|
|
161
171
|
__expose({
|
|
162
172
|
show,
|
|
@@ -167,6 +177,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
167
177
|
validate: async () => {
|
|
168
178
|
return await batchTableFormRef.value.validate();
|
|
169
179
|
},
|
|
180
|
+
clearData: () => {
|
|
181
|
+
batchTableFormRef.value.clearData();
|
|
182
|
+
},
|
|
170
183
|
submitDataSource: () => {
|
|
171
184
|
return batchTableFormRef.value.submitDataSource();
|
|
172
185
|
}
|
|
@@ -131,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
131
131
|
}, [
|
|
132
132
|
selectedData.value ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyTooltip), {
|
|
133
133
|
key: 0,
|
|
134
|
-
"
|
|
134
|
+
"show-after": 500,
|
|
135
135
|
disabled: !selectedData.value.altText,
|
|
136
136
|
content: selectedData.value.altText,
|
|
137
137
|
"is-always": true,
|
|
@@ -164,7 +164,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
164
164
|
visible: visible.value,
|
|
165
165
|
"onUpdate:visible": ($event) => visible.value = $event,
|
|
166
166
|
placement: "bottom",
|
|
167
|
-
"
|
|
167
|
+
"show-after": 200,
|
|
168
168
|
disabled: __props.disabled,
|
|
169
169
|
trigger: "click"
|
|
170
170
|
}, {
|
|
@@ -256,7 +256,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
256
256
|
onClick: ($event) => buttonChange(row)
|
|
257
257
|
}, [
|
|
258
258
|
vue.createVNode(vue.unref(index.HyTooltip), {
|
|
259
|
-
"
|
|
259
|
+
"show-after": 500,
|
|
260
260
|
content: row.label,
|
|
261
261
|
"is-always": true,
|
|
262
262
|
placement: "bottom"
|
|
@@ -277,7 +277,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
277
277
|
}, 1032, ["content"]),
|
|
278
278
|
row.altText ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyTooltip), {
|
|
279
279
|
key: 0,
|
|
280
|
-
"
|
|
280
|
+
"show-after": 500,
|
|
281
281
|
content: row.altText,
|
|
282
282
|
"is-always": true,
|
|
283
283
|
placement: "top"
|
|
@@ -33,6 +33,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
33
33
|
const selectedDataList = vue.ref([]);
|
|
34
34
|
const selectFilterType = vue.ref(null);
|
|
35
35
|
const selectFilterList = vue.ref([]);
|
|
36
|
+
const loading = vue.ref(true);
|
|
36
37
|
vue.watch(
|
|
37
38
|
() => props.showCheckbox,
|
|
38
39
|
(newVal) => {
|
|
@@ -43,6 +44,7 @@ const useAppTreeWrapper = (hy) => {
|
|
|
43
44
|
);
|
|
44
45
|
function getData(dataList) {
|
|
45
46
|
return new Promise((resolve) => {
|
|
47
|
+
hy.loading.value = true;
|
|
46
48
|
if (props.disableSelection?.length) {
|
|
47
49
|
setDisAbleSelectionMap();
|
|
48
50
|
}
|
|
@@ -228,6 +230,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
228
230
|
if (hy.filterValue.value) {
|
|
229
231
|
getFilterValue();
|
|
230
232
|
}
|
|
233
|
+
setTimeout(() => {
|
|
234
|
+
hy.loading.value = false;
|
|
235
|
+
});
|
|
231
236
|
resolve(200);
|
|
232
237
|
}
|
|
233
238
|
});
|
|
@@ -248,6 +253,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
248
253
|
if (hy.filterValue.value) {
|
|
249
254
|
getFilterValue();
|
|
250
255
|
}
|
|
256
|
+
setTimeout(() => {
|
|
257
|
+
hy.loading.value = false;
|
|
258
|
+
});
|
|
251
259
|
resolve(200);
|
|
252
260
|
}
|
|
253
261
|
);
|
|
@@ -511,7 +519,8 @@ const useAppTreeWrapper = (hy) => {
|
|
|
511
519
|
selectFilterList,
|
|
512
520
|
selectFilterType,
|
|
513
521
|
selectedDataList,
|
|
514
|
-
getSelectedDataList
|
|
522
|
+
getSelectedDataList,
|
|
523
|
+
loading
|
|
515
524
|
};
|
|
516
525
|
};
|
|
517
526
|
function filterNodeMethod(data, value, { selectFilterType, treeFilterParam = [] }) {
|
|
@@ -174,7 +174,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
174
174
|
setFilterListType,
|
|
175
175
|
getInputPlaceholder,
|
|
176
176
|
onChange,
|
|
177
|
-
getSelectedDataList
|
|
177
|
+
getSelectedDataList,
|
|
178
|
+
loading
|
|
178
179
|
} = useMixins.useMixins(
|
|
179
180
|
{
|
|
180
181
|
props,
|
|
@@ -197,6 +198,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
197
198
|
getSelectedDataList
|
|
198
199
|
});
|
|
199
200
|
return (_ctx, _cache) => {
|
|
201
|
+
const _directive_loading = vue.resolveDirective("loading");
|
|
200
202
|
return vue.openBlock(), vue.createElementBlock(
|
|
201
203
|
"div",
|
|
202
204
|
{
|
|
@@ -303,9 +305,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
303
305
|
}, 8, ["content"])
|
|
304
306
|
])) : vue.createCommentVNode("v-if", true),
|
|
305
307
|
vue.renderSlot(_ctx.$slots, "input-bottom-bottom"),
|
|
306
|
-
vue.createElementVNode(
|
|
308
|
+
vue.withDirectives(vue.createElementVNode(
|
|
307
309
|
"div",
|
|
308
310
|
{
|
|
311
|
+
"element-loading-text": "\u52A0\u8F7D\u4E2D...",
|
|
312
|
+
"element-loading-spinner": "el-icon-loading",
|
|
313
|
+
"element-loading-background": "rgba(0, 0, 0, 0.8)",
|
|
309
314
|
ref_key: "treeRef",
|
|
310
315
|
ref: treeRef,
|
|
311
316
|
style: { "width": "100%" },
|
|
@@ -314,7 +319,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
314
319
|
null,
|
|
315
320
|
512
|
|
316
321
|
/* NEED_PATCH */
|
|
317
|
-
)
|
|
322
|
+
), [
|
|
323
|
+
[_directive_loading, vue.unref(loading)]
|
|
324
|
+
])
|
|
318
325
|
],
|
|
319
326
|
4
|
|
320
327
|
/* STYLE */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
id: 'hy-icon-layout-sidenav-menu-liexche',
|
|
3
|
-
symbol: `<symbol id="hy-icon-layout-sidenav-menu-liexche" viewBox="0 0
|
|
4
|
-
<g id="hy-icon-layout-sidenav-menu-liexche-
|
|
5
|
-
<path d="
|
|
3
|
+
symbol: `<symbol id="hy-icon-layout-sidenav-menu-liexche" viewBox="0 0 20 20">
|
|
4
|
+
<g id="hy-icon-layout-sidenav-menu-liexche-12" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M6.25542018,15.6797226 L7.87619909,15.6797226 L7.39885993,16.9027547 L12.7306296,16.9027547 L12.2532904,15.6786393 L13.8740693,15.6786393 L15.9810819,19 L13.5499136,19 L13.1397774,17.9513773 L6.98971208,17.9513773 L6.57957596,19 L4.1484076,19 L6.25542018,15.6797226 Z M5.12186322,14.6310999 C4.11381781,14.6310999 3.35086577,13.6518077 3.52480303,12.5826025 L5.17028893,2.44627768 C5.31284299,1.60430119 5.9851256,0.995150734 6.76636084,1.00002909 L13.233664,1.00002909 C14.0203347,1.00002909 14.6943416,1.60997942 14.8297359,2.44627768 L16.4752218,12.5826025 C16.649159,13.6518077 15.8852188,14.6300166 14.8781616,14.6300166 L5.12186322,14.6300166 L5.12186322,14.6310999 Z M7.64988301,2.04871102 C7.33914998,2.04630772 7.08532846,2.32016795 7.08261039,2.66076867 C7.08586956,3.00094493 7.33953203,3.27414914 7.64988301,3.27174305 L12.3501418,3.27174305 C12.6604928,3.27414914 12.9141553,3.00094493 12.9174145,2.66076867 C12.9146964,2.32016795 12.6608749,2.04630772 12.3501418,2.04871102 L7.64988301,2.04871102 L7.64988301,2.04871102 Z M13.480734,10.0867072 C14.1053268,10.0867072 14.5678418,9.46165009 14.4294826,8.8062609 L13.6171166,4.96058888 C13.5122829,4.4801688 13.1190056,4.14248567 12.6683679,4.14590377 L7.33165691,4.14590377 C6.88072719,4.14260359 6.48735035,4.48082142 6.38290828,4.96167216 L5.57054226,8.8062609 C5.50684333,9.12013767 5.57747661,9.44871478 5.76232202,9.69839616 C5.94716743,9.94807754 6.2259622,10.0914931 6.51929089,10.0877905 L13.4817222,10.0877905 L13.480734,10.0867072 Z M6.43429882,13.4080679 C7.06086823,13.4080679 7.56884406,12.8599242 7.56884406,12.1839526 C7.56884406,11.5090642 7.06086823,10.9609205 6.43429882,10.9609205 C5.80772942,10.9609205 5.29975359,11.5090642 5.29975359,12.1850359 C5.29975359,12.8599242 5.80772942,13.4080679 6.43429882,13.4080679 Z M13.565726,13.4080679 C14.1922954,13.4080679 14.7002713,12.8599242 14.7002713,12.1839526 C14.7002713,11.5090642 14.1922954,10.9609205 13.565726,10.9609205 C12.9391566,10.9609205 12.4311808,11.5090642 12.4311808,12.1850359 C12.4311808,12.8599242 12.9391566,13.4080679 13.565726,13.4080679 Z" id="hy-icon-layout-sidenav-menu-liexche-hy-icon-dispatch-linear-v3-station-operation-guidao-形状" fill-rule="nonzero"></path>
|
|
6
6
|
</g>
|
|
7
7
|
</symbol>`,
|
|
8
8
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-apk',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-apk" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-apk-wenjian/apk" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1788775,-1.0658141e-14 C39.2676382,-1.0658141e-14 40.3093555,0.443813394 41.0635932,1.2290046 L56.8542683,17.6677211 C57.5692562,18.4120517 57.968862,19.4039411 57.9695518,20.4360435 L57.9999987,59.9999987 C58.0022131,63.3137064 55.3177173,66.0017924 52.0040095,66.0040068 C52.002673,66.0040077 52.0013365,66.0040082 52,66.0040082 L6,66 C2.6862915,66 0,63.3137085 0,60 L8.8817842e-16,6 C8.8817842e-16,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-apk-矩形" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-apk-路径-2" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
7
|
+
<path d="M46.6428571,29 C47.3923864,29 48,29.6199134 48,30.3846154 L48,45.6153846 C48,46.3800866 47.3923864,47 46.6428571,47 L11.3571429,47 C10.6076136,47 10,46.3800866 10,45.6153846 L10,30.3846154 C10,29.6199134 10.6076136,29 11.3571429,29 L46.6428571,29 Z M20.4461538,32.5 L16.0615385,32.5 L13,43.5 L15.6307692,43.5 L16.3076923,40.9192308 L19.9846154,40.9192308 L20.6769231,43.5 L23.5230769,43.5 L20.4461538,32.5 Z M28.8461538,32.5 L24.9076923,32.5 L24.9076923,43.5 L27.6,43.5 L27.6,40.0166667 L28.5538462,40.0166667 C31.2923077,40.0166667 33.2307692,38.8320513 33.2307692,36.124359 C33.2307692,33.6564103 31.6923077,32.5 28.8461538,32.5 Z M37.7230769,32.5 L34.9230769,32.5 L34.9230769,43.5 L37.7230769,43.5 L37.7230769,39.8333333 L38.6153846,38.9307692 L41.5692308,43.5 L45,43.5 L40.4769231,37.0692308 L44.9846154,32.5 L41.5230769,32.5 L38.9692308,35.4615385 C38.5076923,36.0115385 38.0615385,36.6461538 37.6769231,37.2525641 L37.6153846,37.2525641 C37.6769231,36.6320513 37.7230769,36.0820513 37.7230769,35.4615385 L37.7230769,32.5 Z M18.2,33.9525641 C18.2769231,34.4602564 18.4,34.9679487 18.5384615,35.4615385 L19.4615385,38.9448718 L16.8307692,38.9448718 L17.7692308,35.4615385 C17.9076923,34.9679487 18.0307692,34.4602564 18.1230769,33.9525641 L18.2,33.9525641 Z M28.7076923,34.3333333 C29.6923077,34.3333333 30.3846154,34.9397436 30.3846154,36.2653846 C30.3846154,37.6192308 29.6923077,38.1833333 28.7076923,38.1833333 L27.6,38.1833333 L27.6,34.3333333 L28.7076923,34.3333333 Z M11.5,51 L46.5,51 C47.3284271,51 48,51.6715729 48,52.5 C48,53.3284271 47.3284271,54 46.5,54 L11.5,54 C10.6715729,54 10,53.3284271 10,52.5 C10,51.6715729 10.6715729,51 11.5,51 Z" id="hy-icon-ops-file-apk-形状结合" fill="#2DF2FF" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-shiping',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-shiping" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-shiping-wenjian/shiping" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1964704,-1.0658141e-14 C39.2748781,-1.0658141e-14 40.3075989,0.43543833 41.0604431,1.20757089 L56.8335533,17.384797 C57.5612654,18.1311535 57.9688726,19.1321059 57.9695797,20.1745129 L57.9999986,59.0224662 C58.0022463,62.336174 55.3177775,65.024287 52.0040698,65.0265346 C52.0027132,65.0265356 52.0013566,65.026536 52,65.026536 L6,65.0224676 C2.6862915,65.0224676 0,62.3361761 0,59.0224676 L0,6 C0,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-shiping-矩形备份" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-shiping-路径-2备份" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
7
|
+
<g id="hy-icon-ops-file-shiping-符号-视频" transform="translate(11, 26)" fill="#2DF2FF" fill-rule="nonzero">
|
|
8
|
+
<path d="M31.45,0 L2.55,0 C1.82142857,0 1.21428571,0.241666667 0.728571429,0.845833333 C0.242857143,1.32916667 0,2.05416667 0,2.9 L0,25.9791667 C0,27.6708333 1.09285714,29 2.55,29 L31.45,29 C32.1785714,29 32.7857143,28.7583333 33.2714286,28.1541667 C33.7571429,27.55 34,26.825 34,26.1 L34,2.9 C34,1.32916667 32.7857143,0 31.45,0 Z M6.07142857,26.5833333 L4.12857143,26.5833333 C3.15714286,26.5833333 2.42857143,25.7375 2.42857143,24.65 L2.42857143,19.3333333 L6.07142857,19.3333333 L6.07142857,26.5833333 Z M6.07142857,16.9166667 L2.42857143,16.9166667 L2.42857143,12.0833333 L6.07142857,12.0833333 L6.07142857,16.9166667 Z M6.07142857,9.66666667 L2.42857143,9.66666667 L2.42857143,4.35 C2.42857143,3.2625 3.15714286,2.41666667 4.12857143,2.41666667 L6.07142857,2.41666667 L6.07142857,9.66666667 Z M25.5,10.875 L25.5,26.5833333 L8.5,26.5833333 L8.5,2.41666667 L25.5,2.41666667 L25.5,10.875 Z M31.5714286,24.65 C31.5714286,25.7375 30.8428571,26.5833333 29.8714286,26.5833333 L27.9285714,26.5833333 L27.9285714,19.3333333 L31.5714286,19.3333333 L31.5714286,24.65 Z M31.5714286,16.9166667 L27.9285714,16.9166667 L27.9285714,12.0833333 L31.5714286,12.0833333 L31.5714286,16.9166667 Z M31.5714286,9.66666667 L27.9285714,9.66666667 L27.9285714,2.41666667 L29.9928571,2.41666667 C30.8428571,2.41666667 31.5714286,3.2625 31.5714286,4.35 L31.5714286,9.66666667 Z" id="hy-icon-ops-file-shiping-形状"></path>
|
|
9
|
+
<path d="M14.45,18.85 L19.9142857,16.0708333 L20.8857143,15.5875 C22.1,14.9833333 22.1,14.0166667 20.8857143,13.4125 L14.45,10.15 C13.8428571,9.90833333 13.3571429,10.15 13.3571429,10.7541667 L13.3571429,18.0041667 C13.3571429,18.85 13.8428571,19.0916667 14.45,18.85 L14.45,18.85 Z" id="hy-icon-ops-file-shiping-路径"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</symbol>`,
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-xls',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-xls" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-xls-wenjian/xls" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1788775,-1.0658141e-14 C39.2676382,-1.0658141e-14 40.3093555,0.443813394 41.0635932,1.2290046 L56.8542683,17.6677211 C57.5692562,18.4120517 57.968862,19.4039411 57.9695518,20.4360435 L57.9999987,59.9999987 C58.0022131,63.3137064 55.3177173,66.0017924 52.0040095,66.0040068 C52.002673,66.0040077 52.0013365,66.0040082 52,66.0040082 L6,66 C2.6862915,66 0,63.3137085 0,60 L8.8817842e-16,6 C8.8817842e-16,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-xls-矩形" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-xls-路径-2" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
7
|
+
<path d="M46.6428571,29 C47.3923864,29 48,29.6199134 48,30.3846154 L48,45.6153846 C48,46.3800866 47.3923864,47 46.6428571,47 L11.3571429,47 C10.6076136,47 10,46.3800866 10,45.6153846 L10,30.3846154 C10,29.6199134 10.6076136,29 11.3571429,29 L46.6428571,29 Z M28.3214286,32.4615385 L25.6071429,32.4615385 L25.6071429,43.5384615 L33.75,43.5384615 L33.75,40.7692308 L28.3214286,40.7692308 L28.3214286,32.4615385 Z M43.25,32.4615385 L36.6,32.4615385 C35.7755178,32.4615385 35.1071429,33.1434432 35.1071429,33.9846154 L35.1071429,37.8615385 L35.1152857,38.0276923 C35.1983852,38.8002206 35.8382535,39.3850146 36.6,39.3846154 L40.5357143,39.3846154 L40.5357143,40.7692308 L35.1071429,40.7692308 L35.1071429,43.5384615 L41.7571429,43.5384615 C42.1530732,43.5384615 42.5327872,43.377995 42.8127523,43.0923626 C43.0927173,42.8067303 43.25,42.4193297 43.25,42.0153846 L43.25,38.1384615 L43.2418571,37.9723077 C43.1587576,37.1997794 42.5188893,36.6149854 41.7571429,36.6153846 L37.8214286,36.6153846 L37.8214286,35.2307692 L43.25,35.2307692 L43.25,32.4615385 Z M18.0342857,32.4615385 L14.9305,32.4615385 L17.9474286,38 L14.9318571,43.5384615 L18.0356429,43.5384615 L19.5,40.8481538 L20.9616429,43.5356923 L24.0681429,43.5356923 L21.0525714,38 L24.0695,32.4615385 L20.963,32.4615385 L19.5,35.1476923 L18.0342857,32.4615385 Z M11.5,51 L46.5,51 C47.3284271,51 48,51.6715729 48,52.5 C48,53.3284271 47.3284271,54 46.5,54 L11.5,54 C10.6715729,54 10,53.3284271 10,52.5 C10,51.6715729 10.6715729,51 11.5,51 Z" id="hy-icon-ops-file-xls-形状结合" fill="#2DF2FF" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-file-yingping',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-file-yingping" viewBox="0 0 58 66">
|
|
4
|
+
<g id="hy-icon-ops-file-yingping-wenjian/yingping" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<path d="M6,-1.42108547e-14 L38.1964704,-1.0658141e-14 C39.2748781,-1.0658141e-14 40.3075989,0.43543833 41.0604431,1.20757089 L56.8335533,17.384797 C57.5612654,18.1311535 57.9688726,19.1321059 57.9695797,20.1745129 L57.9999986,59.0224662 C58.0022463,62.336174 55.3177775,65.024287 52.0040698,65.0265346 C52.0027132,65.0265356 52.0013566,65.026536 52,65.026536 L6,65.0224676 C2.6862915,65.0224676 0,62.3361761 0,59.0224676 L0,6 C0,2.6862915 2.6862915,-1.42108547e-14 6,-1.42108547e-14 Z" id="hy-icon-ops-file-yingping-矩形" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
6
|
+
<path d="M42.8330714,24.7924895 C42.0826429,24.1570769 41.0577857,23.8879175 40.0280714,24.0427763 L22.3990714,26.74666 C20.3906429,27.0539195 18.8145,28.8581474 18.8145,30.8541051 L18.8145,44.7375324 C17.8788999,44.118355 16.7849162,43.7894193 15.6670714,43.7911731 C12.5366429,43.7924021 10,46.3008688 10,49.3968156 C10,52.4915334 12.5378571,55 15.6670714,55 C18.7962857,55 21.8701161,52.4927624 21.8701161,49.3968156 L21.8701161,36.9046594 L22.1195346,36.8640271 L41.1033481,33.7714067 L41.1033481,41.5059566 C40.1674022,40.8865495 39.1926895,40.5256796 38.0744315,40.5276732 C34.9452172,40.5276732 32.3587475,43.111515 32.3587475,46.2062328 C32.3587475,49.3009506 35.2464379,52.2220595 38.3756522,52.2220595 C41.5060808,52.2220595 44,49.3009506 44,46.2062328 L44,27.3771565 C44,26.3632001 43.575,25.420528 42.8330714,24.7924895 Z M15.6670714,52.5099689 C13.9306429,52.5099689 12.5184286,51.1137817 12.5184286,49.3968156 C12.5184286,47.6786204 13.9306429,46.2836622 15.6670714,46.2836622 C17.4035,46.2836622 18.8145,47.6786204 18.8145,49.3968156 C18.8145,51.1137817 17.4035,52.5099689 15.6670714,52.5099689 Z M21.9151548,33.9089888 L21.9151548,30.7123447 C21.9151548,29.9540282 22.5951548,29.1846504 23.3674405,29.0654337 L39.776102,26.5493209 C40.0881734,26.5026175 40.362602,26.5665275 40.5532449,26.7299895 C40.7426734,26.8897645 40.8422449,27.1294269 40.8422449,27.423167 L40.8422449,31.0069581 L21.9151548,33.9089888 Z M38.3329286,49.3181571 C36.5965,49.3181571 35.1855,47.9219699 35.1855,46.2050038 C35.1855,44.4880377 36.5965,43.0918504 38.3329286,43.0918504 C40.0693571,43.0918504 41.4815714,44.4880377 41.4815714,46.2050038 C41.4815714,47.9219699 40.0693571,49.3181571 38.3329286,49.3181571 Z" id="hy-icon-ops-file-yingping-形状" fill="#2DF2FF" fill-rule="nonzero"></path>
|
|
7
|
+
<path d="M38.926,0.127454462 C38.9178745,0.135392444 38.9160286,4.06602284 38.9204623,11.9193456 L38.9204618,11.9193456 C38.9223232,16.314297 42.4692305,19.8847808 46.8640731,19.9157585 C54.2527726,19.966763 57.9465892,19.9945856 57.9455228,19.9992348 C57.9455228,17.1873618 53.0398112,13.6172005 49.3001134,9.74199573 C45.5604156,5.86679093 40.4684134,-0.230938485 38.926,0.127454462 Z" id="hy-icon-ops-file-yingping-路径-2" fill-opacity="0.2" fill="#2DF2FF"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</symbol>`,
|
|
10
|
+
};
|
package/lib/version.js
CHANGED