yc-vep-ui 0.3.48 → 0.3.50
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/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/svg/File.vue.d.ts +2 -0
- package/dist/components/Upload/index.vue.d.ts +2 -0
- package/dist/{entry-CLtK-d-7.js → entry-USSBh8JF.js} +211 -144
- package/dist/hooks/index.js +1 -1
- package/dist/index.css +114 -3
- package/dist/utils/index.js +1 -1
- package/dist/vep-ui.js +1 -1
- package/package.json +1 -1
|
@@ -17,3 +17,4 @@ export { default as Message } from './svg/Message.vue';
|
|
|
17
17
|
export { default as Share } from './svg/Share.vue';
|
|
18
18
|
export { default as Clock } from './svg/Clock.vue';
|
|
19
19
|
export { default as Bell } from './svg/Bell.vue';
|
|
20
|
+
export { default as File } from './svg/File.vue';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -46,6 +46,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
46
46
|
readonly fileList: import('./type').IUploadRawFile[];
|
|
47
47
|
readonly action?: string | undefined;
|
|
48
48
|
readonly onChange?: ((file: any, files: import('./type').IUploadRawFile[]) => void) | undefined;
|
|
49
|
+
readonly accept?: string[] | undefined;
|
|
50
|
+
readonly showSuccessStatus?: boolean | undefined;
|
|
49
51
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
50
52
|
$attrs: import('vue').Attrs;
|
|
51
53
|
$refs: {
|
|
@@ -8,11 +8,11 @@ var __defProp$1 = Object.defineProperty, __exportAll$1 = (e, n) => {
|
|
|
8
8
|
enumerable: !0
|
|
9
9
|
});
|
|
10
10
|
return n || __defProp$1(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
11
|
-
}, _hoisted_1$
|
|
11
|
+
}, _hoisted_1$32 = { style: {
|
|
12
12
|
display: "flex",
|
|
13
13
|
"align-items": "center",
|
|
14
14
|
gap: "4px"
|
|
15
|
-
} }, _hoisted_2$
|
|
15
|
+
} }, _hoisted_2$7 = { class: /* @__PURE__ */ normalizeClass({ bodyClass: !0 }) }, index_vue_vue_type_script_setup_true_lang_default$12 = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "index",
|
|
17
17
|
props: {
|
|
18
18
|
title: {},
|
|
@@ -29,11 +29,11 @@ var __defProp$1 = Object.defineProperty, __exportAll$1 = (e, n) => {
|
|
|
29
29
|
"ui-card": !0,
|
|
30
30
|
hideBorder: e.hideBorder
|
|
31
31
|
} }), createSlots({
|
|
32
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_2$
|
|
32
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_2$7, [renderSlot(n.$slots, "default", {}, void 0, !0)])]),
|
|
33
33
|
_: 2
|
|
34
34
|
}, [e.title && e.title?.length > 0 ? {
|
|
35
35
|
name: "header",
|
|
36
|
-
fn: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
36
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1$32, [e.icon ? (openBlock(), createBlock(i, { key: 0 }, {
|
|
37
37
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(e.icon), { color: "#2563eb" }))]),
|
|
38
38
|
_: 1
|
|
39
39
|
})) : createCommentVNode("", !0), r[0] || (setBlockTracking(-1, !0), (r[0] = createElementVNode("h4", { style: { margin: "0px" } }, [createTextVNode(toDisplayString(e.title), 1)])).cacheIndex = 0, setBlockTracking(1), r[0])])]),
|
|
@@ -546,7 +546,7 @@ var render_default = {
|
|
|
546
546
|
]);
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
|
-
}), Table_exports = /* @__PURE__ */ __exportAll$1({ default: () => Table_default }), Table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$11, [["__scopeId", "data-v-adf869c1"]]), _hoisted_1$
|
|
549
|
+
}), Table_exports = /* @__PURE__ */ __exportAll$1({ default: () => Table_default }), Table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$11, [["__scopeId", "data-v-adf869c1"]]), _hoisted_1$31 = ["src"], Icon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
550
550
|
__name: "Icon",
|
|
551
551
|
props: {
|
|
552
552
|
name: {},
|
|
@@ -564,9 +564,9 @@ var render_default = {
|
|
|
564
564
|
width: e.size,
|
|
565
565
|
height: e.size
|
|
566
566
|
})
|
|
567
|
-
}, null, 12, _hoisted_1$
|
|
567
|
+
}, null, 12, _hoisted_1$31)) : createCommentVNode("", !0);
|
|
568
568
|
}
|
|
569
|
-
}), Icon_default = Icon_vue_vue_type_script_setup_true_lang_default, _hoisted_1$
|
|
569
|
+
}), Icon_default = Icon_vue_vue_type_script_setup_true_lang_default, _hoisted_1$30 = {
|
|
570
570
|
style: {
|
|
571
571
|
width: "100%",
|
|
572
572
|
height: "100%"
|
|
@@ -580,12 +580,12 @@ var render_default = {
|
|
|
580
580
|
}, Search_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
581
581
|
__name: "Search",
|
|
582
582
|
setup(e) {
|
|
583
|
-
return (e, n) => (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
583
|
+
return (e, n) => (openBlock(), createElementBlock("svg", _hoisted_1$30, [...n[0] ||= [createElementVNode("path", {
|
|
584
584
|
d: "M896 870.4l-128-128c55.467-68.267 89.6-149.333 89.6-238.933 0-98.134-38.4-192-110.933-264.534-149.334-149.333-384-149.333-533.334-4.266-145.066 145.066-145.066 384 0 529.066 72.534 72.534 166.4 110.934 264.534 110.934 89.6 0 174.933-29.867 238.933-89.6l128 128c4.267 4.266 12.8 8.533 21.333 8.533s17.067-4.267 21.334-8.533c17.066-8.534 17.066-29.867 8.533-42.667zM260.267 721.067c-119.467-123.734-119.467-320 0-439.467 59.733-59.733 140.8-89.6 217.6-89.6 81.066 0 157.866 29.867 217.6 89.6 59.733 59.733 89.6 136.533 89.6 217.6 0 81.067-34.134 162.133-89.6 217.6-55.467 59.733-132.267 93.867-217.6 93.867-81.067 0-157.867-34.134-217.6-89.6z",
|
|
585
585
|
"p-id": "8980"
|
|
586
586
|
}, null, -1)]]));
|
|
587
587
|
}
|
|
588
|
-
}), Search_default = Search_vue_vue_type_script_setup_true_lang_default, _hoisted_1$
|
|
588
|
+
}), Search_default = Search_vue_vue_type_script_setup_true_lang_default, _hoisted_1$29 = {
|
|
589
589
|
style: {
|
|
590
590
|
width: "100%",
|
|
591
591
|
height: "100%"
|
|
@@ -595,12 +595,12 @@ var render_default = {
|
|
|
595
595
|
}, CloseBold_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
596
596
|
__name: "CloseBold",
|
|
597
597
|
setup(e) {
|
|
598
|
-
return (e, n) => (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
598
|
+
return (e, n) => (openBlock(), createElementBlock("svg", _hoisted_1$29, [...n[0] ||= [createElementVNode("path", {
|
|
599
599
|
d: "M512 476.25l256-256 33.75 33.75-256 256 256 256-33.75 33.75-256-256-256 256-33.75-33.75 256-256-256-256L256 220.25l256 256z",
|
|
600
600
|
fill: "currentColor"
|
|
601
601
|
}, null, -1)]]));
|
|
602
602
|
}
|
|
603
|
-
}), CloseBold_default = CloseBold_vue_vue_type_script_setup_true_lang_default, _sfc_main$
|
|
603
|
+
}), CloseBold_default = CloseBold_vue_vue_type_script_setup_true_lang_default, _sfc_main$15 = {}, _hoisted_1$28 = {
|
|
604
604
|
style: {
|
|
605
605
|
width: "100%",
|
|
606
606
|
height: "100%"
|
|
@@ -608,13 +608,13 @@ var render_default = {
|
|
|
608
608
|
viewBox: "0 0 1024 1024",
|
|
609
609
|
xmlns: "http://www.w3.org/2000/svg"
|
|
610
610
|
};
|
|
611
|
-
function _sfc_render$
|
|
612
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
611
|
+
function _sfc_render$15(e, n) {
|
|
612
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$28, [...n[0] ||= [createElementVNode("path", {
|
|
613
613
|
d: "M557.8 512l248.3-248.3c18.8-18.8 18.8-49.6 0-68.8-18.8-18.8-49.6-18.8-68.8 0L512 443.2 263.7 194.9c-18.8-18.8-49.6-18.8-68.8 0-18.8 18.8-18.8 49.6 0 68.8L443.2 512 194.9 760.3c-18.8 18.8-18.8 49.6 0 68.8 18.8 18.8 49.6 18.8 68.8 0L512 580.8l248.3 248.3c18.8 18.8 49.6 18.8 68.8 0 18.8-18.8 18.8-49.6 0-68.8L557.8 512z",
|
|
614
614
|
fill: "currentColor"
|
|
615
615
|
}, null, -1)]]);
|
|
616
616
|
}
|
|
617
|
-
var Close_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
617
|
+
var Close_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$15, [["render", _sfc_render$15]]), _hoisted_1$27 = {
|
|
618
618
|
style: {
|
|
619
619
|
width: "100%",
|
|
620
620
|
height: "100%"
|
|
@@ -628,7 +628,7 @@ var Close_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
|
628
628
|
}, User_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
629
629
|
__name: "User",
|
|
630
630
|
setup(e) {
|
|
631
|
-
return (e, n) => (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
631
|
+
return (e, n) => (openBlock(), createElementBlock("svg", _hoisted_1$27, [...n[0] ||= [createElementVNode("path", {
|
|
632
632
|
d: "M512 512c141.385 0 256-114.615 256-256S653.385 0 512 0 256 114.615 256 256s114.615 256 256 256zM366.336 110.336C405.244 71.428 456.976 50 512 50s106.756 21.428 145.664 60.336S718 200.976 718 256s-21.428 106.756-60.336 145.664S567.024 462 512 462s-106.756-21.428-145.664-60.336S306 311.024 306 256s21.428-106.756 60.336-145.664z",
|
|
633
633
|
fill: "#999999",
|
|
634
634
|
"p-id": "10093"
|
|
@@ -638,7 +638,7 @@ var Close_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
|
638
638
|
"p-id": "10094"
|
|
639
639
|
}, null, -1)]]));
|
|
640
640
|
}
|
|
641
|
-
}), User_default = User_vue_vue_type_script_setup_true_lang_default, _sfc_main$
|
|
641
|
+
}), User_default = User_vue_vue_type_script_setup_true_lang_default, _sfc_main$14 = {}, _hoisted_1$26 = {
|
|
642
642
|
style: {
|
|
643
643
|
width: "100%",
|
|
644
644
|
height: "100%"
|
|
@@ -650,14 +650,14 @@ var Close_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
|
650
650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
651
651
|
"p-id": "11055"
|
|
652
652
|
};
|
|
653
|
-
function _sfc_render$
|
|
654
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
653
|
+
function _sfc_render$14(e, n) {
|
|
654
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$26, [...n[0] ||= [createElementVNode("path", {
|
|
655
655
|
d: "M489.244444 489.244444v295.822223c0 18.850702-15.282631 34.133333-34.133333 34.133333s-34.133333-15.282631-34.133333-34.133333v-295.822223h-295.822222c-18.850702 0-34.133333-15.282631-34.133334-34.133333s15.282631-34.133333 34.133334-34.133333h295.822222v-295.822222c0-18.850702 15.282631-34.133333 34.133333-34.133334s34.133333 15.282631 34.133333 34.133334v295.822222h295.822223c18.850702 0 34.133333 15.282631 34.133333 34.133333s-15.282631 34.133333-34.133333 34.133333h-295.822223z",
|
|
656
656
|
fill: "#323233",
|
|
657
657
|
"p-id": "11056"
|
|
658
658
|
}, null, -1)]]);
|
|
659
659
|
}
|
|
660
|
-
var Plus_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
660
|
+
var Plus_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$14, [["render", _sfc_render$14]]), _sfc_main$13 = {}, _hoisted_1$25 = {
|
|
661
661
|
style: {
|
|
662
662
|
width: "100%",
|
|
663
663
|
height: "100%"
|
|
@@ -669,8 +669,8 @@ var Plus_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$1
|
|
|
669
669
|
xmlns: "http://www.w3.org/2000/svg",
|
|
670
670
|
"p-id": "4743"
|
|
671
671
|
};
|
|
672
|
-
function _sfc_render$
|
|
673
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
672
|
+
function _sfc_render$13(e, n) {
|
|
673
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$25, [...n[0] ||= [
|
|
674
674
|
createElementVNode("path", {
|
|
675
675
|
d: "M513.066667 1024c-136.533333 0-264.533333-51.2-362.666667-149.333333-200.533333-200.533333-200.533333-524.8 0-725.333333C248.533333 51.2 376.533333 0 513.066667 0s264.533333 51.2 362.666667 149.333333c200.533333 200.533333 200.533333 524.8 0 725.333333C777.6 972.8 649.6 1024 513.066667 1024zM513.066667 85.333333C397.866667 85.333333 291.2 128 210.133333 209.066667 43.733333 375.466667 43.733333 648.533333 210.133333 814.933333 291.2 896 397.866667 938.666667 513.066667 938.666667s221.866667-42.666667 302.933333-123.733333c166.4-166.4 166.4-435.2 0-601.6C734.933333 128 628.266667 85.333333 513.066667 85.333333z",
|
|
676
676
|
"p-id": "4744",
|
|
@@ -688,7 +688,7 @@ function _sfc_render$12(e, n) {
|
|
|
688
688
|
}, null, -1)
|
|
689
689
|
]]);
|
|
690
690
|
}
|
|
691
|
-
var PlusCircle_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
691
|
+
var PlusCircle_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$13, [["render", _sfc_render$13]]), _sfc_main$12 = {}, _hoisted_1$24 = {
|
|
692
692
|
style: {
|
|
693
693
|
width: "100%",
|
|
694
694
|
height: "100%"
|
|
@@ -700,14 +700,14 @@ var PlusCircle_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_
|
|
|
700
700
|
xmlns: "http://www.w3.org/2000/svg",
|
|
701
701
|
"p-id": "4859"
|
|
702
702
|
};
|
|
703
|
-
function _sfc_render$
|
|
704
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
703
|
+
function _sfc_render$12(e, n) {
|
|
704
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$24, [...n[0] ||= [createElementVNode("path", {
|
|
705
705
|
d: "M731.733333 480l-384-341.333333c-17.066667-14.933333-44.8-14.933333-59.733333 4.266666-14.933333 17.066667-14.933333 44.8 4.266667 59.733334L640 512 292.266667 821.333333c-17.066667 14.933333-19.2 42.666667-4.266667 59.733334 8.533333 8.533333 19.2 14.933333 32 14.933333 10.666667 0 19.2-4.266667 27.733333-10.666667l384-341.333333c8.533333-8.533333 14.933333-19.2 14.933334-32s-4.266667-23.466667-14.933334-32z",
|
|
706
706
|
fill: "#666666",
|
|
707
707
|
"p-id": "4860"
|
|
708
708
|
}, null, -1)]]);
|
|
709
709
|
}
|
|
710
|
-
var ArrowRight_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
710
|
+
var ArrowRight_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$12, [["render", _sfc_render$12]]), _sfc_main$11 = {}, _hoisted_1$23 = {
|
|
711
711
|
style: {
|
|
712
712
|
width: "100%",
|
|
713
713
|
height: "100%"
|
|
@@ -719,13 +719,13 @@ var ArrowRight_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_
|
|
|
719
719
|
xmlns: "http://www.w3.org/2000/svg",
|
|
720
720
|
"p-id": "6029"
|
|
721
721
|
};
|
|
722
|
-
function _sfc_render$
|
|
723
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
722
|
+
function _sfc_render$11(e, n) {
|
|
723
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$23, [...n[0] ||= [createElementVNode("path", {
|
|
724
724
|
d: "M897.96 728.3c-18.8 18.8-49.1 18.801-67.901 0l-318-318-318 318c-18.8 18.8-49.2 18.8-67.901 0-18.8-18.8-18.801-49.1 0-67.901l352-352c18.8-18.8 49.2-18.8 67.901 0l352 352c9.4 9.4 14 21.7 14 34-0.1 12.2-4.7 24.501-14.1 33.9z",
|
|
725
725
|
"p-id": "6030"
|
|
726
726
|
}, null, -1)]]);
|
|
727
727
|
}
|
|
728
|
-
var ArrowUp_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
728
|
+
var ArrowUp_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$11, [["render", _sfc_render$11]]), _sfc_main$10 = {}, _hoisted_1$22 = {
|
|
729
729
|
style: {
|
|
730
730
|
width: "100%",
|
|
731
731
|
height: "100%"
|
|
@@ -737,8 +737,8 @@ var ArrowUp_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_mai
|
|
|
737
737
|
xmlns: "http://www.w3.org/2000/svg",
|
|
738
738
|
"p-id": "6997"
|
|
739
739
|
};
|
|
740
|
-
function _sfc_render$
|
|
741
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
740
|
+
function _sfc_render$10(e, n) {
|
|
741
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$22, [...n[0] ||= [createElementVNode("path", {
|
|
742
742
|
d: "M512.34133333 931.38488889c-49.94844445 0-98.87288889-8.64711111-145.29422222-25.82755556-44.94222222-16.61155555-86.35733333-40.61866667-123.22133333-71.45244444-74.29688889-61.89511111-125.15555555-148.02488889-143.24622223-242.34666667l71.45244445-13.76711111c31.28888889 162.58844445 174.42133333 280.576 340.30933333 280.576 70.08711111 0 137.55733333-20.82133333 195.12888889-60.07466666 56.32-38.45688889 99.66933333-91.93244445 125.49688889-154.73777778l67.35644444 27.648c-31.28888889 76.00355555-83.74044445 140.74311111-151.77955555 187.16444444-69.85955555 47.67288889-151.43822222 72.81777778-236.20266667 72.81777778zM846.848 421.43288889C827.392 349.29777778 783.92888889 284.33066667 724.65066667 238.13688889c-61.21244445-47.55911111-134.59911111-72.704-212.30933334-72.704-69.97333333 0-137.44355555 20.70755555-194.90133333 59.96088889-56.32 38.57066667-99.78311111 91.93244445-125.61066667 154.624l-67.35644444-27.76177778c31.28888889-75.88977778 83.74044445-140.40177778 151.77955556-186.82311111 69.74577778-47.55911111 151.32444445-72.704 235.9751111-72.704 47.33155555 0 93.86666667 7.85066667 138.12622223 23.32444444 42.89422222 14.90488889 82.83022222 36.75022222 118.784 64.62577778 35.61244445 27.648 66.33244445 60.64355555 91.47733333 98.07644444 25.48622222 38.00177778 44.48711111 79.64444445 56.32 123.67644445l-70.08711111 19.00088889z",
|
|
743
743
|
"p-id": "6998"
|
|
744
744
|
}, null, -1), createElementVNode("path", {
|
|
@@ -746,7 +746,7 @@ function _sfc_render$9(e, n) {
|
|
|
746
746
|
"p-id": "6999"
|
|
747
747
|
}, null, -1)]]);
|
|
748
748
|
}
|
|
749
|
-
var Refresh_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
749
|
+
var Refresh_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$10, [["render", _sfc_render$10]]), _sfc_main$9 = {}, _hoisted_1$21 = {
|
|
750
750
|
style: {
|
|
751
751
|
width: "100%",
|
|
752
752
|
height: "100%"
|
|
@@ -758,13 +758,13 @@ var Refresh_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_mai
|
|
|
758
758
|
xmlns: "http://www.w3.org/2000/svg",
|
|
759
759
|
"p-id": "9850"
|
|
760
760
|
};
|
|
761
|
-
function _sfc_render$
|
|
762
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
761
|
+
function _sfc_render$9(e, n) {
|
|
762
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$21, [...n[0] ||= [createElementVNode("path", {
|
|
763
763
|
d: "M64 448l832-320-128 704-446.016-243.008L832 192 243.008 544.96 64 448z m256 512v-303.04L512 768l-192 192z",
|
|
764
764
|
"p-id": "9851"
|
|
765
765
|
}, null, -1)]]);
|
|
766
766
|
}
|
|
767
|
-
var Promotion_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
767
|
+
var Promotion_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$9, [["render", _sfc_render$9]]), _sfc_main$8 = {}, _hoisted_1$20 = {
|
|
768
768
|
style: {
|
|
769
769
|
width: "100%",
|
|
770
770
|
height: "100%"
|
|
@@ -776,13 +776,13 @@ var Promotion_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_m
|
|
|
776
776
|
xmlns: "http://www.w3.org/2000/svg",
|
|
777
777
|
"p-id": "2958"
|
|
778
778
|
};
|
|
779
|
-
function _sfc_render$
|
|
780
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
779
|
+
function _sfc_render$8(e, n) {
|
|
780
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$20, [...n[0] ||= [createElementVNode("path", {
|
|
781
781
|
d: "M512 97.52381c228.912762 0 414.47619 185.563429 414.47619 414.47619s-185.563429 414.47619-414.47619 414.47619S97.52381 740.912762 97.52381 512 283.087238 97.52381 512 97.52381z m0 73.142857C323.486476 170.666667 170.666667 323.486476 170.666667 512s152.81981 341.333333 341.333333 341.333333 341.333333-152.81981 341.333333-341.333333S700.513524 170.666667 512 170.666667z m36.571429 268.190476v292.571428h-73.142858V438.857143h73.142858z m0-121.904762v73.142857h-73.142858v-73.142857h73.142858z",
|
|
782
782
|
"p-id": "2959"
|
|
783
783
|
}, null, -1)]]);
|
|
784
784
|
}
|
|
785
|
-
var Info_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
785
|
+
var Info_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$8, [["render", _sfc_render$8]]), _sfc_main$7 = {}, _hoisted_1$19 = {
|
|
786
786
|
style: {
|
|
787
787
|
width: "100%",
|
|
788
788
|
height: "100%"
|
|
@@ -790,13 +790,13 @@ var Info_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$7
|
|
|
790
790
|
viewBox: "0 0 1024 1024",
|
|
791
791
|
xmlns: "http://www.w3.org/2000/svg"
|
|
792
792
|
};
|
|
793
|
-
function _sfc_render$
|
|
794
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
793
|
+
function _sfc_render$7(e, n) {
|
|
794
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$19, [...n[0] ||= [createElementVNode("path", {
|
|
795
795
|
d: "M512 0C228.4 0 0 228.4 0 512s228.4 512 512 512 512-228.4 512-512S795.6 0 512 0zm263.5 371.2l-317.1 317.1c-12.5 12.5-32.8 12.5-45.3 0L187.9 452.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l194.2 194.2 292.9-292.9c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-338.1 338.2z",
|
|
796
796
|
fill: "currentColor"
|
|
797
797
|
}, null, -1)]]);
|
|
798
798
|
}
|
|
799
|
-
var Success_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
799
|
+
var Success_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$7, [["render", _sfc_render$7]]), _sfc_main$6 = {}, _hoisted_1$18 = {
|
|
800
800
|
style: {
|
|
801
801
|
width: "100%",
|
|
802
802
|
height: "100%"
|
|
@@ -804,8 +804,8 @@ var Success_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_mai
|
|
|
804
804
|
viewBox: "0 0 1024 1024",
|
|
805
805
|
xmlns: "http://www.w3.org/2000/svg"
|
|
806
806
|
};
|
|
807
|
-
function _sfc_render$
|
|
808
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
807
|
+
function _sfc_render$6(e, n) {
|
|
808
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$18, [...n[0] ||= [createElementVNode("path", {
|
|
809
809
|
d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",
|
|
810
810
|
fill: "currentColor"
|
|
811
811
|
}, null, -1), createElementVNode("path", {
|
|
@@ -813,7 +813,7 @@ function _sfc_render$5(e, n) {
|
|
|
813
813
|
fill: "currentColor"
|
|
814
814
|
}, null, -1)]]);
|
|
815
815
|
}
|
|
816
|
-
var Warning_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
816
|
+
var Warning_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$6, [["render", _sfc_render$6]]), _sfc_main$5 = {}, _hoisted_1$17 = {
|
|
817
817
|
style: {
|
|
818
818
|
width: "100%",
|
|
819
819
|
height: "100%"
|
|
@@ -821,13 +821,13 @@ var Warning_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_mai
|
|
|
821
821
|
viewBox: "0 0 1024 1024",
|
|
822
822
|
xmlns: "http://www.w3.org/2000/svg"
|
|
823
823
|
};
|
|
824
|
-
function _sfc_render$
|
|
825
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
824
|
+
function _sfc_render$5(e, n) {
|
|
825
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$17, [...n[0] ||= [createElementVNode("path", {
|
|
826
826
|
d: "M512 89.6c-235.2 0-425.6 190.4-425.6 425.6S276.8 940.8 512 940.8 937.6 750.4 937.6 515.2 747.2 89.6 512 89.6zm217.6 585.6c18.8 18.8 18.8 49.6 0 68.8-18.8 18.8-49.6 18.8-68.8 0L512 594.8 363.2 744c-18.8 18.8-49.6 18.8-68.8 0-18.8-18.8-18.8-49.6 0-68.8l148.8-148.8L294.4 377.6c-18.8-18.8-18.8-49.6 0-68.8 18.8-18.8 49.6-18.8 68.8 0l148.8 148.8L660.8 308.8c18.8-18.8 49.6-18.8 68.8 0 18.8 18.8 18.8 49.6 0 68.8L580.8 526.4l148.8 148.8z",
|
|
827
827
|
fill: "currentColor"
|
|
828
828
|
}, null, -1)]]);
|
|
829
829
|
}
|
|
830
|
-
var Error_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
830
|
+
var Error_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$5, [["render", _sfc_render$5]]), _sfc_main$4 = {}, _hoisted_1$16 = {
|
|
831
831
|
style: {
|
|
832
832
|
width: "100%",
|
|
833
833
|
height: "100%"
|
|
@@ -835,13 +835,13 @@ var Error_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
|
835
835
|
viewBox: "0 0 1024 1024",
|
|
836
836
|
xmlns: "http://www.w3.org/2000/svg"
|
|
837
837
|
};
|
|
838
|
-
function _sfc_render$
|
|
839
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
838
|
+
function _sfc_render$4(e, n) {
|
|
839
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$16, [...n[0] ||= [createElementVNode("path", {
|
|
840
840
|
d: "M512 0C229.2 0 0 229.2 0 512s229.2 512 512 512 512-229.2 512-512S794.8 0 512 0zm56 768H456V456h112v312zm0-400H456V264h112v104z",
|
|
841
841
|
fill: "currentColor"
|
|
842
842
|
}, null, -1)]]);
|
|
843
843
|
}
|
|
844
|
-
var Message_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
844
|
+
var Message_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$4, [["render", _sfc_render$4]]), _sfc_main$3 = {}, _hoisted_1$15 = {
|
|
845
845
|
style: {
|
|
846
846
|
width: "100%",
|
|
847
847
|
height: "100%"
|
|
@@ -853,14 +853,14 @@ var Message_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_mai
|
|
|
853
853
|
xmlns: "http://www.w3.org/2000/svg",
|
|
854
854
|
"p-id": "5846"
|
|
855
855
|
};
|
|
856
|
-
function _sfc_render$
|
|
857
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
856
|
+
function _sfc_render$3(e, n) {
|
|
857
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$15, [...n[0] ||= [createElementVNode("path", {
|
|
858
858
|
d: "M768.73106 703.537712c-35.606921 0-67.945574 14.793214-91.167479 38.359147l-309.109357-171.670082c9.116748-17.545439 14.621199-37.155048 14.621199-58.312783 0-12.55703-2.408198-24.426004-5.676466-35.950949l304.63699-189.215522c22.705863 20.469679 52.464304 33.198723 85.146985 33.198723 70.525785 0 127.978498-57.452713 127.978498-127.978498S837.708718 63.989249 767.182933 63.989249s-127.978498 57.452713-127.978498 127.978498c0 14.621199 2.92424 28.382328 7.396607 41.455401L344.716278 420.746514c-23.049891-22.705863-54.700487-36.983034-89.791366-36.983034-70.525785 0-127.978498 57.452713-127.978498 127.978498s57.452713 127.978498 127.978498 127.978498c25.630102 0 49.540064-7.740635 69.493701-20.813707l321.150344 178.378633c-3.096254 11.008903-5.160423 22.18982-5.160423 34.058794 0 70.525785 57.452713 127.978498 127.978498 127.978498s127.978498-57.452713 127.978498-127.978498S839.256845 703.537712 768.73106 703.537712zM767.182933 127.978498c35.262893 0 63.989249 28.726356 63.989249 63.989249s-28.726356 63.989249-63.989249 63.989249-63.989249-28.726356-63.989249-63.989249S731.92004 127.978498 767.182933 127.978498zM191.107677 511.913993c0-35.262893 28.726356-63.989249 63.989249-63.989249s63.989249 28.726356 63.989249 63.989249-28.726356 63.989249-63.989249 63.989249S191.107677 547.176886 191.107677 511.913993zM768.73106 895.505459c-35.262893 0-63.989249-28.726356-63.989249-63.989249s28.726356-63.989249 63.989249-63.989249 63.989249 28.726356 63.989249 63.989249C832.720309 866.951117 803.993953 895.505459 768.73106 895.505459z",
|
|
859
859
|
fill: "#575B66",
|
|
860
860
|
"p-id": "5847"
|
|
861
861
|
}, null, -1)]]);
|
|
862
862
|
}
|
|
863
|
-
var Share_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
863
|
+
var Share_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$3, [["render", _sfc_render$3]]), _sfc_main$2 = {}, _hoisted_1$14 = {
|
|
864
864
|
style: {
|
|
865
865
|
width: "100%",
|
|
866
866
|
height: "100%"
|
|
@@ -872,14 +872,14 @@ var Share_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
|
872
872
|
xmlns: "http://www.w3.org/2000/svg",
|
|
873
873
|
"p-id": "7726"
|
|
874
874
|
};
|
|
875
|
-
function _sfc_render$
|
|
876
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
875
|
+
function _sfc_render$2(e, n) {
|
|
876
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$14, [...n[0] ||= [createElementVNode("path", {
|
|
877
877
|
d: "M501.84 393.44h16a16 16 0 0 1 16 16v151.584a16 16 0 0 1-6.768 13.072l-84.928 59.952a16 16 0 0 1-22.304-3.84l-9.216-13.072a16 16 0 0 1 3.84-22.304l71.376-50.4V409.44a16 16 0 0 1 16-16z m3.552 458.96C332.304 852.4 192 712.08 192 539.008s140.32-313.392 313.392-313.392c173.088 0 313.392 140.32 313.392 313.392 0 173.088-140.32 313.392-313.392 313.392z m0-48c146.56 0 265.392-118.816 265.392-265.392 0-146.56-118.816-265.392-265.392-265.392-146.56 0-265.392 118.832-265.392 265.392 0 146.576 118.816 265.392 265.392 265.392z m-100.288-617.6l4.752 17.36c4.224 13.632-4.48 17.712-8.784 19.088a333.824 333.824 0 0 0-156.72 106.448c-4.032 4.912-11.408 13.952-26.24 4.528l-11.952-8.688c-11.472-9.088-5.648-17.904-2.176-22.24a381.792 381.792 0 0 1 183.44-126.08c4.608-1.456 13.968-3.344 17.68 9.568z m396.768 137.376l-13.184 9.696c-13.04 8.912-19.84 0.48-23.424-3.904a333.84 333.84 0 0 0-155.12-106.032c-5.44-1.76-15.936-5.376-11.664-23.04l3.728-13.856c5.104-14.64 15.328-11.136 21.008-9.328a381.808 381.808 0 0 1 180.608 123.6c3.616 4.48 11.136 14.288-1.952 22.864z",
|
|
878
878
|
fill: "#000000",
|
|
879
879
|
"p-id": "7727"
|
|
880
880
|
}, null, -1)]]);
|
|
881
881
|
}
|
|
882
|
-
var Clock_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
882
|
+
var Clock_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$2, [["render", _sfc_render$2]]), _sfc_main$1 = {}, _hoisted_1$13 = {
|
|
883
883
|
style: {
|
|
884
884
|
width: "100%",
|
|
885
885
|
height: "100%"
|
|
@@ -891,13 +891,26 @@ var Clock_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$
|
|
|
891
891
|
xmlns: "http://www.w3.org/2000/svg",
|
|
892
892
|
"p-id": "8719"
|
|
893
893
|
};
|
|
894
|
-
function _sfc_render(e, n) {
|
|
895
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
894
|
+
function _sfc_render$1(e, n) {
|
|
895
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$13, [...n[0] ||= [createElementVNode("path", {
|
|
896
896
|
d: "M938.666667 682.666667c-46.933333 0-85.333333-38.4-85.333334-85.333334V384c0-187.733333-153.6-341.333333-341.333333-341.333333S170.666667 196.266667 170.666667 384v213.333333c0 46.933333-38.4 85.333333-85.333334 85.333334-25.6 0-42.666667 17.066667-42.666666 42.666666s17.066667 42.666667 42.666666 42.666667h853.333334c25.6 0 42.666667-17.066667 42.666666-42.666667s-17.066667-42.666667-42.666666-42.666666zM234.666667 682.666667c12.8-25.6 21.333333-55.466667 21.333333-85.333334V384c0-140.8 115.2-256 256-256s256 115.2 256 256v213.333333c0 29.866667 8.533333 59.733333 21.333333 85.333334h-554.666666zM605.866667 857.6c-21.333333-12.8-46.933333-4.266667-59.733334 17.066667-4.266667 12.8-17.066667 21.333333-34.133333 21.333333s-29.866667-8.533333-38.4-21.333333c-12.8-21.333333-38.4-25.6-59.733333-17.066667-21.333333 12.8-25.6 38.4-17.066667 59.733333 34.133333 59.733333 115.2 81.066667 174.933333 46.933334 17.066667-12.8 34.133333-25.6 46.933334-46.933334 17.066667-21.333333 8.533333-46.933333-12.8-59.733333z",
|
|
897
897
|
"p-id": "8720"
|
|
898
898
|
}, null, -1)]]);
|
|
899
899
|
}
|
|
900
|
-
var Bell_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]),
|
|
900
|
+
var Bell_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$1, [["render", _sfc_render$1]]), _sfc_main = {}, _hoisted_1$12 = {
|
|
901
|
+
style: {
|
|
902
|
+
width: "100%",
|
|
903
|
+
height: "100%"
|
|
904
|
+
},
|
|
905
|
+
viewBox: "0 0 1024 1024"
|
|
906
|
+
};
|
|
907
|
+
function _sfc_render(e, n) {
|
|
908
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$12, [...n[0] ||= [createElementVNode("path", {
|
|
909
|
+
d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216c0 23.2 18.8 42 42 42h216v494z",
|
|
910
|
+
fill: "currentColor"
|
|
911
|
+
}, null, -1)]]);
|
|
912
|
+
}
|
|
913
|
+
var File_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]), Icons_exports = /* @__PURE__ */ __exportAll$1({
|
|
901
914
|
ArrowRight: () => ArrowRight_default,
|
|
902
915
|
ArrowUp: () => ArrowUp_default,
|
|
903
916
|
Bell: () => Bell_default,
|
|
@@ -905,6 +918,7 @@ var Bell_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main,
|
|
|
905
918
|
Close: () => Close_default,
|
|
906
919
|
CloseBold: () => CloseBold_default,
|
|
907
920
|
Error: () => Error_default,
|
|
921
|
+
File: () => File_default,
|
|
908
922
|
Info: () => Info_default,
|
|
909
923
|
Message: () => Message_default,
|
|
910
924
|
Plus: () => Plus_default,
|
|
@@ -958,7 +972,7 @@ function tempToRender(e) {
|
|
|
958
972
|
}
|
|
959
973
|
//#endregion
|
|
960
974
|
//#region src/components/Filter/index.vue?vue&type=script&setup=true&lang.ts
|
|
961
|
-
var _hoisted_1$
|
|
975
|
+
var _hoisted_1$11 = { style: {
|
|
962
976
|
display: "flex",
|
|
963
977
|
"justify-content": "end",
|
|
964
978
|
"align-items": "center",
|
|
@@ -1081,7 +1095,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1081
1095
|
label: "\xA0",
|
|
1082
1096
|
"label-width": "30px"
|
|
1083
1097
|
}, {
|
|
1084
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
1098
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$11, [
|
|
1085
1099
|
e.fields.length >= 2 * e.column ? (openBlock(), createBlock(p, {
|
|
1086
1100
|
key: 0,
|
|
1087
1101
|
text: "",
|
|
@@ -1122,13 +1136,13 @@ var _hoisted_1$10 = { style: {
|
|
|
1122
1136
|
]);
|
|
1123
1137
|
};
|
|
1124
1138
|
}
|
|
1125
|
-
}), Filter_exports = /* @__PURE__ */ __exportAll$1({ default: () => Filter_default }), Filter_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$10, [["__scopeId", "data-v-dc4ec6d3"]]), _hoisted_1$
|
|
1139
|
+
}), Filter_exports = /* @__PURE__ */ __exportAll$1({ default: () => Filter_default }), Filter_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$10, [["__scopeId", "data-v-dc4ec6d3"]]), _hoisted_1$10 = {
|
|
1126
1140
|
key: 2,
|
|
1127
1141
|
style: { display: "inline-block" }
|
|
1128
|
-
}, _hoisted_2$
|
|
1142
|
+
}, _hoisted_2$6 = {
|
|
1129
1143
|
key: 2,
|
|
1130
1144
|
style: { display: "inline-block" }
|
|
1131
|
-
}, _hoisted_3$
|
|
1145
|
+
}, _hoisted_3$4 = {
|
|
1132
1146
|
key: 0,
|
|
1133
1147
|
class: "ui-form-buttons"
|
|
1134
1148
|
}, index_vue_vue_type_script_setup_true_lang_default$9 = /* @__PURE__ */ defineComponent({
|
|
@@ -1245,7 +1259,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1245
1259
|
"modelValue",
|
|
1246
1260
|
"onUpdate:modelValue",
|
|
1247
1261
|
"class"
|
|
1248
|
-
])) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1262
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_1$10, toDisplayString(unref(renderNode)(n, b.value) || "-"), 1)), (openBlock(!0), createElementBlock(Fragment, null, renderList(n.slots, (n) => renderSlot(e.$slots, "default", { form: b.value }, () => [isVNode(unref(renderNode)(n, b.value)) ? (openBlock(), createBlock(resolveDynamicComponent(unref(renderNode)(n, b.value)), {
|
|
1249
1263
|
key: 0,
|
|
1250
1264
|
style: { display: "inline-block" }
|
|
1251
1265
|
})) : unref(renderNode)(n, b.value).component ? (openBlock(), createBlock(resolveDynamicComponent(unref(renderNode)(n, b.value).component), mergeProps({
|
|
@@ -1270,7 +1284,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1270
1284
|
"placeholder",
|
|
1271
1285
|
"style",
|
|
1272
1286
|
"class"
|
|
1273
|
-
])) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1287
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_2$6, toDisplayString(unref(renderNode)(n, b.value) || "-"), 1))], !0)), 256))], 64)) : (openBlock(), createBlock(r, {
|
|
1274
1288
|
key: 1,
|
|
1275
1289
|
modelValue: b.value[n.prop],
|
|
1276
1290
|
"onUpdate:modelValue": (e) => b.value[n.prop] = e,
|
|
@@ -1297,7 +1311,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1297
1311
|
"inline",
|
|
1298
1312
|
"label-position",
|
|
1299
1313
|
"class"
|
|
1300
|
-
]), e.$attrs?.hideHandle ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1314
|
+
]), e.$attrs?.hideHandle ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
1301
1315
|
renderSlot(e.$slots, "handle", { form: b.value }, void 0, !0),
|
|
1302
1316
|
createVNode(o, {
|
|
1303
1317
|
icon: unref(Refresh_default),
|
|
@@ -1319,7 +1333,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1319
1333
|
]))], 64);
|
|
1320
1334
|
};
|
|
1321
1335
|
}
|
|
1322
|
-
}), Form_exports = /* @__PURE__ */ __exportAll$1({ default: () => Form_default }), Form_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$9, [["__scopeId", "data-v-dba1eead"]]), _hoisted_1$
|
|
1336
|
+
}), Form_exports = /* @__PURE__ */ __exportAll$1({ default: () => Form_default }), Form_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$9, [["__scopeId", "data-v-dba1eead"]]), _hoisted_1$9 = ["disabled"], index_vue_vue_type_script_setup_true_lang_default$8 = /* @__PURE__ */ defineComponent({
|
|
1323
1337
|
__name: "index",
|
|
1324
1338
|
props: /* @__PURE__ */ mergeModels({
|
|
1325
1339
|
defaultValue: { default: "" },
|
|
@@ -1357,9 +1371,9 @@ var _hoisted_1$10 = { style: {
|
|
|
1357
1371
|
ref: r,
|
|
1358
1372
|
style: { height: "500px" },
|
|
1359
1373
|
disabled: e.disabled
|
|
1360
|
-
}, null, 8, _hoisted_1$
|
|
1374
|
+
}, null, 8, _hoisted_1$9));
|
|
1361
1375
|
}
|
|
1362
|
-
}), Editor_exports = /* @__PURE__ */ __exportAll$1({ default: () => Editor_default }), Editor_default = index_vue_vue_type_script_setup_true_lang_default$8, _hoisted_1$
|
|
1376
|
+
}), Editor_exports = /* @__PURE__ */ __exportAll$1({ default: () => Editor_default }), Editor_default = index_vue_vue_type_script_setup_true_lang_default$8, _hoisted_1$8 = { class: "ui-tree-wrapper" }, _hoisted_2$5 = {
|
|
1363
1377
|
key: 0,
|
|
1364
1378
|
style: {
|
|
1365
1379
|
display: "flex",
|
|
@@ -1369,10 +1383,10 @@ var _hoisted_1$10 = { style: {
|
|
|
1369
1383
|
gap: "10px",
|
|
1370
1384
|
height: "30px"
|
|
1371
1385
|
}
|
|
1372
|
-
}, _hoisted_3$
|
|
1386
|
+
}, _hoisted_3$3 = { style: { padding: "4px" } }, _hoisted_4$3 = {
|
|
1373
1387
|
key: 0,
|
|
1374
1388
|
class: "custom-tree-node"
|
|
1375
|
-
}, _hoisted_5$
|
|
1389
|
+
}, _hoisted_5$3 = { class: "node-label" }, _hoisted_6$2 = { key: 0 }, _hoisted_7$2 = ["onClick"], index_vue_vue_type_script_setup_true_lang_default$7 = /* @__PURE__ */ defineComponent({
|
|
1376
1390
|
__name: "index",
|
|
1377
1391
|
props: {
|
|
1378
1392
|
id: {},
|
|
@@ -1442,8 +1456,8 @@ var _hoisted_1$10 = { style: {
|
|
|
1442
1456
|
}
|
|
1443
1457
|
return (n, r) => {
|
|
1444
1458
|
let i = resolveComponent("el-input"), s = resolveComponent("el-button"), l = resolveComponent("el-dropdown-item"), _ = resolveComponent("el-dropdown-menu"), v = resolveComponent("el-dropdown"), y = resolveComponent("el-tree-v2");
|
|
1445
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1446
|
-
e.filterable ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
1459
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
1460
|
+
e.filterable ? (openBlock(), createElementBlock("div", _hoisted_2$5, [createVNode(i, {
|
|
1447
1461
|
modelValue: o.value,
|
|
1448
1462
|
"onUpdate:modelValue": r[0] ||= (e) => o.value = e,
|
|
1449
1463
|
placeholder: e.placeholder ?? "请输入",
|
|
@@ -1458,7 +1472,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1458
1472
|
link: "",
|
|
1459
1473
|
onClick: r[1] ||= (e) => p()
|
|
1460
1474
|
}, {
|
|
1461
|
-
default: withCtx(() => [createElementVNode("span", _hoisted_3$
|
|
1475
|
+
default: withCtx(() => [createElementVNode("span", _hoisted_3$3, [createVNode(unref(PlusCircle_default))])]),
|
|
1462
1476
|
_: 1
|
|
1463
1477
|
}))])) : createCommentVNode("", !0),
|
|
1464
1478
|
renderSlot(n.$slots, "handle", { style: "margin-top: 8px" }, void 0, !0),
|
|
@@ -1474,7 +1488,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1474
1488
|
"highlight-current": !0,
|
|
1475
1489
|
"filter-method": d
|
|
1476
1490
|
}), {
|
|
1477
|
-
default: withCtx((i) => [i?.data ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1491
|
+
default: withCtx((i) => [i?.data ? (openBlock(), createElementBlock("div", _hoisted_4$3, [createElementVNode("div", _hoisted_5$3, [i.data?.children?.length ? (openBlock(), createElementBlock("span", _hoisted_6$2, "📁")) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString(i.data?.[e.props?.label || "label"]) + " " + toDisplayString(u.value && i.data?.children?.length ? `(${i.data.children.length})` : ""), 1)]), a.hideNodeHandle ? createCommentVNode("", !0) : (openBlock(), createBlock(v, {
|
|
1478
1492
|
key: 0,
|
|
1479
1493
|
trigger: "click"
|
|
1480
1494
|
}, {
|
|
@@ -1511,7 +1525,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1511
1525
|
padding: "4px",
|
|
1512
1526
|
"font-weight": "bold"
|
|
1513
1527
|
}
|
|
1514
|
-
}, "⋮", 8, _hoisted_7$
|
|
1528
|
+
}, "⋮", 8, _hoisted_7$2)]),
|
|
1515
1529
|
_: 2
|
|
1516
1530
|
}, 1024))])) : createCommentVNode("", !0)]),
|
|
1517
1531
|
_: 3
|
|
@@ -1519,13 +1533,13 @@ var _hoisted_1$10 = { style: {
|
|
|
1519
1533
|
]);
|
|
1520
1534
|
};
|
|
1521
1535
|
}
|
|
1522
|
-
}), Tree_exports = /* @__PURE__ */ __exportAll$1({ default: () => Tree_default }), Tree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$7, [["__scopeId", "data-v-25c3a8ba"]]), _hoisted_1$
|
|
1536
|
+
}), Tree_exports = /* @__PURE__ */ __exportAll$1({ default: () => Tree_default }), Tree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$7, [["__scopeId", "data-v-25c3a8ba"]]), _hoisted_1$7 = { style: { height: "100%" } }, _hoisted_2$4 = { style: {
|
|
1523
1537
|
display: "flex",
|
|
1524
1538
|
"flex-direction": "row",
|
|
1525
1539
|
"justify-content": "space-between",
|
|
1526
1540
|
"align-items": "center",
|
|
1527
1541
|
gap: "10px"
|
|
1528
|
-
} }, _hoisted_3$
|
|
1542
|
+
} }, _hoisted_3$2 = { style: { margin: "10px 0px" } }, _hoisted_4$2 = ["onClick"], _hoisted_5$2 = { key: 0 }, index_vue_vue_type_script_setup_true_lang_default$6 = /* @__PURE__ */ defineComponent({
|
|
1529
1543
|
__name: "index",
|
|
1530
1544
|
props: {
|
|
1531
1545
|
loading: { default: () => ref(!1) },
|
|
@@ -1546,14 +1560,14 @@ var _hoisted_1$10 = { style: {
|
|
|
1546
1560
|
}
|
|
1547
1561
|
return (n, r) => {
|
|
1548
1562
|
let c = resolveComponent("el-input");
|
|
1549
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1550
|
-
createElementVNode("div", _hoisted_2$
|
|
1563
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
1564
|
+
createElementVNode("div", _hoisted_2$4, [e.filterable ? (openBlock(), createBlock(c, {
|
|
1551
1565
|
key: 0,
|
|
1552
1566
|
modelValue: i.value,
|
|
1553
1567
|
"onUpdate:modelValue": r[0] ||= (e) => i.value = e,
|
|
1554
1568
|
placeholder: e.placeholder ?? "请输入"
|
|
1555
1569
|
}, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", !0), renderSlot(n.$slots, "plus", {}, void 0, !0)]),
|
|
1556
|
-
createElementVNode("div", _hoisted_3$
|
|
1570
|
+
createElementVNode("div", _hoisted_3$2, [renderSlot(n.$slots, "handle", {}, void 0, !0)]),
|
|
1557
1571
|
withDirectives((openBlock(), createElementBlock("ul", mergeProps({
|
|
1558
1572
|
class: "infinite-list",
|
|
1559
1573
|
"infinite-scroll-immediate": !1
|
|
@@ -1564,19 +1578,19 @@ var _hoisted_1$10 = { style: {
|
|
|
1564
1578
|
active: r === a.value
|
|
1565
1579
|
}),
|
|
1566
1580
|
onClick: (e) => s(r)
|
|
1567
|
-
}, [createElementVNode("span", null, toDisplayString(r[e.props?.label || "label"]), 1), renderSlot(n.$slots, "itemHandle", { data: r }, void 0, !0)], 10, _hoisted_4$
|
|
1568
|
-
e.loading.value ? (openBlock(), createElementBlock("p", _hoisted_5$
|
|
1581
|
+
}, [createElementVNode("span", null, toDisplayString(r[e.props?.label || "label"]), 1), renderSlot(n.$slots, "itemHandle", { data: r }, void 0, !0)], 10, _hoisted_4$2))), 128))], 16)), [[unref(e.vInfiniteScroll), e.vInfiniteScroll]]),
|
|
1582
|
+
e.loading.value ? (openBlock(), createElementBlock("p", _hoisted_5$2, "loading...")) : createCommentVNode("", !0)
|
|
1569
1583
|
]);
|
|
1570
1584
|
};
|
|
1571
1585
|
}
|
|
1572
|
-
}), InfiniteScroll_exports = /* @__PURE__ */ __exportAll$1({ default: () => InfiniteScroll_default }), InfiniteScroll_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$6, [["__scopeId", "data-v-0ab5cd97"]]), _hoisted_1$
|
|
1586
|
+
}), InfiniteScroll_exports = /* @__PURE__ */ __exportAll$1({ default: () => InfiniteScroll_default }), InfiniteScroll_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$6, [["__scopeId", "data-v-0ab5cd97"]]), _hoisted_1$6 = {
|
|
1573
1587
|
key: 0,
|
|
1574
1588
|
style: {
|
|
1575
1589
|
padding: "10px 0px",
|
|
1576
1590
|
"margin-bottom": "10px",
|
|
1577
1591
|
"border-bottom": "1px solid #e5e5e5"
|
|
1578
1592
|
}
|
|
1579
|
-
}, _hoisted_2$
|
|
1593
|
+
}, _hoisted_2$3 = { key: 1 }, index_vue_vue_type_script_setup_true_lang_default$5 = /* @__PURE__ */ defineComponent({
|
|
1580
1594
|
__name: "index",
|
|
1581
1595
|
props: {
|
|
1582
1596
|
data: {},
|
|
@@ -1594,7 +1608,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1594
1608
|
return (r, i) => {
|
|
1595
1609
|
let a = resolveComponent("el-descriptions-item"), o = resolveComponent("el-descriptions");
|
|
1596
1610
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1597
|
-
e.title ? (openBlock(), createElementBlock("h4", _hoisted_1$
|
|
1611
|
+
e.title ? (openBlock(), createElementBlock("h4", _hoisted_1$6, toDisplayString(e.title), 1)) : createCommentVNode("", !0),
|
|
1598
1612
|
renderSlot(r.$slots, "title", {}, void 0, !0),
|
|
1599
1613
|
createVNode(o, mergeProps({ column: e.column }, n, { class: "ui-descriptions" }), {
|
|
1600
1614
|
default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.fields, (n) => (openBlock(), createBlock(a, {
|
|
@@ -1609,7 +1623,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1609
1623
|
}, { ref_for: !0 }, unref(getRenderAttr)(n, e.data).props, {
|
|
1610
1624
|
clearable: !0,
|
|
1611
1625
|
key: n.prop
|
|
1612
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1626
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_2$3, toDisplayString(e.data[n.prop] || "-"), 1))]),
|
|
1613
1627
|
_: 2
|
|
1614
1628
|
}, 1032, ["label", "span"]))), 128))]),
|
|
1615
1629
|
_: 1
|
|
@@ -1617,7 +1631,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1617
1631
|
], 64);
|
|
1618
1632
|
};
|
|
1619
1633
|
}
|
|
1620
|
-
}), Descriptions_exports = /* @__PURE__ */ __exportAll$1({ default: () => Descriptions_default }), Descriptions_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$5, [["__scopeId", "data-v-9ee9b092"]]), _hoisted_1$
|
|
1634
|
+
}), Descriptions_exports = /* @__PURE__ */ __exportAll$1({ default: () => Descriptions_default }), Descriptions_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$5, [["__scopeId", "data-v-9ee9b092"]]), _hoisted_1$5 = {
|
|
1621
1635
|
key: 0,
|
|
1622
1636
|
style: {
|
|
1623
1637
|
display: "flex",
|
|
@@ -1664,7 +1678,7 @@ var _hoisted_1$10 = { style: {
|
|
|
1664
1678
|
}, i.componentProps, {
|
|
1665
1679
|
onClose: o,
|
|
1666
1680
|
onSubmit: s
|
|
1667
|
-
}), null, 16)), i.disabled ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1681
|
+
}), null, 16)), i.disabled ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(r, { onClick: o }, {
|
|
1668
1682
|
default: withCtx(() => [...n[1] ||= [createTextVNode("取消", -1)]]),
|
|
1669
1683
|
_: 1
|
|
1670
1684
|
}), createVNode(r, {
|
|
@@ -1959,22 +1973,22 @@ var VepMessageElement = class extends HTMLElement {
|
|
|
1959
1973
|
customElements.get("vep-message") || customElements.define("vep-message", VepMessageElement);
|
|
1960
1974
|
//#endregion
|
|
1961
1975
|
//#region src/components/StaffSelect/dialog.vue?vue&type=script&setup=true&lang.ts
|
|
1962
|
-
var _hoisted_1$
|
|
1976
|
+
var _hoisted_1$4 = { style: {
|
|
1963
1977
|
display: "flex",
|
|
1964
1978
|
"max-width": "100%",
|
|
1965
1979
|
gap: "20px",
|
|
1966
1980
|
"overflow-y": "scroll",
|
|
1967
1981
|
height: "400px"
|
|
1968
|
-
} }, _hoisted_2$
|
|
1982
|
+
} }, _hoisted_2$2 = { style: { flex: "1" } }, _hoisted_3$1 = { style: { width: "320px" } }, _hoisted_4$1 = { style: {
|
|
1969
1983
|
display: "flex",
|
|
1970
1984
|
"justify-content": "space-between",
|
|
1971
1985
|
"align-items": "center",
|
|
1972
1986
|
"margin-bottom": "8px",
|
|
1973
1987
|
height: "30px"
|
|
1974
|
-
} }, _hoisted_5 = { key: 0 }, _hoisted_6 = { style: {
|
|
1988
|
+
} }, _hoisted_5$1 = { key: 0 }, _hoisted_6$1 = { style: {
|
|
1975
1989
|
"overflow-y": "auto",
|
|
1976
1990
|
height: "90%"
|
|
1977
|
-
} }, _hoisted_7 = { style: {
|
|
1991
|
+
} }, _hoisted_7$1 = { style: {
|
|
1978
1992
|
display: "flex",
|
|
1979
1993
|
"justify-content": "end",
|
|
1980
1994
|
"align-items": "center"
|
|
@@ -2127,7 +2141,7 @@ var _hoisted_1$3 = { style: {
|
|
|
2127
2141
|
"close-on-click-modal": !1,
|
|
2128
2142
|
"destroy-on-close": ""
|
|
2129
2143
|
}, {
|
|
2130
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
2144
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$4, [createElementVNode("div", _hoisted_2$2, [createVNode(i, {
|
|
2131
2145
|
placeholder: "请输入",
|
|
2132
2146
|
modelValue: d.filterText,
|
|
2133
2147
|
"onUpdate:modelValue": n[2] ||= (e) => d.filterText = e,
|
|
@@ -2149,7 +2163,7 @@ var _hoisted_1$3 = { style: {
|
|
|
2149
2163
|
ref_key: "staffDialogRef",
|
|
2150
2164
|
ref: c,
|
|
2151
2165
|
"node-key": "code"
|
|
2152
|
-
}, null, 8, ["loading", "data"])]), createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [n[4] ||= createElementVNode("h3", null, "已选择", -1), p.value.length ? (openBlock(), createElementBlock("span", _hoisted_5, "已选择" + toDisplayString(p.value.length) + "个用户", 1)) : createCommentVNode("", !0)]), createElementVNode("div", _hoisted_6, [(openBlock(!0), createElementBlock(Fragment, null, renderList(p.value, (e) => (openBlock(), createElementBlock("li", {
|
|
2166
|
+
}, null, 8, ["loading", "data"])]), createElementVNode("div", _hoisted_3$1, [createElementVNode("div", _hoisted_4$1, [n[4] ||= createElementVNode("h3", null, "已选择", -1), p.value.length ? (openBlock(), createElementBlock("span", _hoisted_5$1, "已选择" + toDisplayString(p.value.length) + "个用户", 1)) : createCommentVNode("", !0)]), createElementVNode("div", _hoisted_6$1, [(openBlock(!0), createElementBlock(Fragment, null, renderList(p.value, (e) => (openBlock(), createElementBlock("li", {
|
|
2153
2167
|
key: e,
|
|
2154
2168
|
class: "staff-item"
|
|
2155
2169
|
}, [createElementVNode("span", null, toDisplayString(e), 1), createVNode(s, {
|
|
@@ -2158,7 +2172,7 @@ var _hoisted_1$3 = { style: {
|
|
|
2158
2172
|
}, {
|
|
2159
2173
|
default: withCtx(() => [createVNode(unref(CloseBold_default))]),
|
|
2160
2174
|
_: 1
|
|
2161
|
-
}, 8, ["onClick"])]))), 128))])])]), createElementVNode("div", _hoisted_7, [createVNode(u, { onClick: E }, {
|
|
2175
|
+
}, 8, ["onClick"])]))), 128))])])]), createElementVNode("div", _hoisted_7$1, [createVNode(u, { onClick: E }, {
|
|
2162
2176
|
default: withCtx(() => [...n[5] ||= [createTextVNode("取消", -1)]]),
|
|
2163
2177
|
_: 1
|
|
2164
2178
|
}), createVNode(u, {
|
|
@@ -2191,7 +2205,13 @@ var _hoisted_1$3 = { style: {
|
|
|
2191
2205
|
...r
|
|
2192
2206
|
}), null, 16));
|
|
2193
2207
|
}
|
|
2194
|
-
}), StaffSelect_exports = /* @__PURE__ */ __exportAll$1({ default: () => StaffSelect_default }), StaffSelect_default = index_vue_vue_type_script_setup_true_lang_default$3,
|
|
2208
|
+
}), StaffSelect_exports = /* @__PURE__ */ __exportAll$1({ default: () => StaffSelect_default }), StaffSelect_default = index_vue_vue_type_script_setup_true_lang_default$3, _hoisted_1$3 = { class: "file-left" }, _hoisted_2$1 = { class: "file-name" }, _hoisted_3 = {
|
|
2209
|
+
key: 0,
|
|
2210
|
+
class: "file-size"
|
|
2211
|
+
}, _hoisted_4 = ["onClick"], _hoisted_5 = ["onClick"], _hoisted_6 = { class: "file-actions" }, _hoisted_7 = {
|
|
2212
|
+
key: 0,
|
|
2213
|
+
class: "success-icon"
|
|
2214
|
+
}, file_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
2195
2215
|
__name: "file",
|
|
2196
2216
|
props: {
|
|
2197
2217
|
icon: {},
|
|
@@ -2203,43 +2223,85 @@ var _hoisted_1$3 = { style: {
|
|
|
2203
2223
|
defaultValue: {},
|
|
2204
2224
|
fileList: {},
|
|
2205
2225
|
action: {},
|
|
2206
|
-
onChange: { type: Function }
|
|
2226
|
+
onChange: { type: Function },
|
|
2227
|
+
accept: {},
|
|
2228
|
+
showSuccessStatus: { type: Boolean }
|
|
2207
2229
|
},
|
|
2208
2230
|
setup(e) {
|
|
2209
|
-
let n = e, { text:
|
|
2231
|
+
let n = e, r = useAttrs(), { text: i = "选择文件", icon: a = void 0, size: o = "default" } = n, s = r.disabled, c = r.onRemove, l = computed(() => r.showSuccessStatus !== !1), u = ref(n.fileList || []);
|
|
2210
2232
|
watch(() => n.fileList, (e) => {
|
|
2211
|
-
|
|
2233
|
+
u.value = e || [];
|
|
2212
2234
|
}, {
|
|
2213
2235
|
immediate: !0,
|
|
2214
2236
|
deep: !0
|
|
2215
2237
|
});
|
|
2216
|
-
let
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2238
|
+
let d = computed(() => !1), f = computed(() => n.limit !== void 0 && r.count >= n.limit), p = computed(() => n.limit !== void 0 && r.count >= n.limit), m = computed(() => u.value.some((e) => e.status === "uploading"));
|
|
2239
|
+
function g(e) {
|
|
2240
|
+
return e < 1024 ? e + "B" : e < 1024 * 1024 ? (e / 1024).toFixed(2) + "KB" : e < 1024 * 1024 * 1024 ? (e / (1024 * 1024)).toFixed(2) + "MB" : (e / (1024 * 1024 * 1024)).toFixed(2) + "GB";
|
|
2241
|
+
}
|
|
2242
|
+
function _(e) {
|
|
2243
|
+
let n = u.value.indexOf(e);
|
|
2244
|
+
n > -1 && (u.value.splice(n, 1), c && c(e, [...u.value]));
|
|
2245
|
+
}
|
|
2246
|
+
function v(e) {
|
|
2247
|
+
if (!e.downloadUrl) return;
|
|
2248
|
+
let n = document.createElement("a");
|
|
2249
|
+
n.href = e.downloadUrl, n.download = e.name || "download", document.body.appendChild(n), n.click(), document.body.removeChild(n);
|
|
2250
|
+
}
|
|
2251
|
+
return (e, r) => {
|
|
2252
|
+
let c = resolveComponent("el-button"), y = resolveComponent("el-upload");
|
|
2253
|
+
return openBlock(), createBlock(y, mergeProps(e.$attrs, {
|
|
2220
2254
|
style: { width: "100%" },
|
|
2221
2255
|
action: n.action,
|
|
2222
|
-
"file-list":
|
|
2223
|
-
"onUpdate:fileList":
|
|
2256
|
+
"file-list": u.value,
|
|
2257
|
+
"onUpdate:fileList": r[0] ||= (e) => u.value = e,
|
|
2224
2258
|
limit: n.limit,
|
|
2225
2259
|
class: {
|
|
2226
|
-
"hide-upload-list":
|
|
2227
|
-
"hide-upload-text":
|
|
2260
|
+
"hide-upload-list": d.value,
|
|
2261
|
+
"hide-upload-text": f.value
|
|
2228
2262
|
}
|
|
2229
2263
|
}), createSlots({
|
|
2264
|
+
file: withCtx(({ file: e }) => [createElementVNode("div", { class: normalizeClass(["upload-file-item", { "is-success": e.status === "success" }]) }, [createElementVNode("div", _hoisted_1$3, [
|
|
2265
|
+
r[1] ||= createElementVNode("span", { class: "file-icon" }, [createElementVNode("svg", {
|
|
2266
|
+
viewBox: "0 0 1024 1024",
|
|
2267
|
+
width: "14",
|
|
2268
|
+
height: "14"
|
|
2269
|
+
}, [createElementVNode("path", {
|
|
2270
|
+
d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216c0 23.2 18.8 42 42 42h216v494z",
|
|
2271
|
+
fill: "currentColor"
|
|
2272
|
+
})])], -1),
|
|
2273
|
+
createElementVNode("span", _hoisted_2$1, toDisplayString(e.name), 1),
|
|
2274
|
+
e.size ? (openBlock(), createElementBlock("span", _hoisted_3, "(" + toDisplayString(g(e.size)) + ")", 1)) : createCommentVNode("", !0),
|
|
2275
|
+
e.downloadUrl ? (openBlock(), createElementBlock("span", {
|
|
2276
|
+
key: 1,
|
|
2277
|
+
class: "download-btn",
|
|
2278
|
+
onClick: withModifiers((n) => v(e), ["stop"])
|
|
2279
|
+
}, "下载", 8, _hoisted_4)) : createCommentVNode("", !0),
|
|
2280
|
+
createElementVNode("span", {
|
|
2281
|
+
class: "remove-btn",
|
|
2282
|
+
onClick: withModifiers((n) => _(e), ["stop"])
|
|
2283
|
+
}, "删除", 8, _hoisted_5)
|
|
2284
|
+
]), createElementVNode("div", _hoisted_6, [l.value !== !1 && (e.status === "success" || !e.status) ? (openBlock(), createElementBlock("span", _hoisted_7, [...r[2] ||= [createElementVNode("svg", {
|
|
2285
|
+
viewBox: "0 0 1024 1024",
|
|
2286
|
+
width: "16",
|
|
2287
|
+
height: "16"
|
|
2288
|
+
}, [createElementVNode("path", {
|
|
2289
|
+
d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z",
|
|
2290
|
+
fill: "#67c23a"
|
|
2291
|
+
})], -1)]])) : createCommentVNode("", !0)])], 2)]),
|
|
2230
2292
|
default: withCtx(() => [renderSlot(e.$slots, "tip", {}, void 0, !0)]),
|
|
2231
2293
|
_: 2
|
|
2232
|
-
}, [
|
|
2294
|
+
}, [p.value ? void 0 : {
|
|
2233
2295
|
name: "trigger",
|
|
2234
|
-
fn: withCtx(() => [createVNode(
|
|
2296
|
+
fn: withCtx(() => [createVNode(c, {
|
|
2235
2297
|
type: "primary",
|
|
2236
2298
|
plain: "",
|
|
2237
|
-
icon: unref(
|
|
2238
|
-
size: unref(
|
|
2299
|
+
icon: unref(a),
|
|
2300
|
+
size: unref(o),
|
|
2239
2301
|
disabled: unref(s),
|
|
2240
|
-
loading:
|
|
2302
|
+
loading: m.value
|
|
2241
2303
|
}, {
|
|
2242
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(
|
|
2304
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(i)), 1)]),
|
|
2243
2305
|
_: 1
|
|
2244
2306
|
}, 8, [
|
|
2245
2307
|
"icon",
|
|
@@ -2256,7 +2318,7 @@ var _hoisted_1$3 = { style: {
|
|
|
2256
2318
|
]);
|
|
2257
2319
|
};
|
|
2258
2320
|
}
|
|
2259
|
-
}), file_default = /* @__PURE__ */ _plugin_vue_export_helper_default(file_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
2321
|
+
}), file_default = /* @__PURE__ */ _plugin_vue_export_helper_default(file_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-b275fceb"]]), _hoisted_1$2 = ["src"], image_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
2260
2322
|
__name: "image",
|
|
2261
2323
|
props: {
|
|
2262
2324
|
icon: {},
|
|
@@ -2268,7 +2330,9 @@ var _hoisted_1$3 = { style: {
|
|
|
2268
2330
|
defaultValue: {},
|
|
2269
2331
|
fileList: {},
|
|
2270
2332
|
action: {},
|
|
2271
|
-
onChange: { type: Function }
|
|
2333
|
+
onChange: { type: Function },
|
|
2334
|
+
accept: {},
|
|
2335
|
+
showSuccessStatus: { type: Boolean }
|
|
2272
2336
|
},
|
|
2273
2337
|
emits: ["update:fileList"],
|
|
2274
2338
|
setup(e, { emit: n }) {
|
|
@@ -2285,8 +2349,7 @@ var _hoisted_1$3 = { style: {
|
|
|
2285
2349
|
let i = resolveComponent("el-icon"), u = resolveComponent("el-upload"), d = resolveComponent("el-dialog");
|
|
2286
2350
|
return openBlock(), createElementBlock(Fragment, null, [createVNode(u, mergeProps({
|
|
2287
2351
|
accept: "image/*",
|
|
2288
|
-
action: r.action
|
|
2289
|
-
"auto-upload": !1
|
|
2352
|
+
action: r.action
|
|
2290
2353
|
}, e.$attrs, {
|
|
2291
2354
|
limit: r.limit,
|
|
2292
2355
|
"list-type": "picture-card",
|
|
@@ -2318,7 +2381,7 @@ var _hoisted_1$3 = { style: {
|
|
|
2318
2381
|
}, 8, ["modelValue"])], 64);
|
|
2319
2382
|
};
|
|
2320
2383
|
}
|
|
2321
|
-
}), image_default = /* @__PURE__ */ _plugin_vue_export_helper_default(image_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
2384
|
+
}), image_default = /* @__PURE__ */ _plugin_vue_export_helper_default(image_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-98470b3a"]]), index_vue_vue_type_script_setup_true_lang_default$2 = /* @__PURE__ */ defineComponent({
|
|
2322
2385
|
__name: "index",
|
|
2323
2386
|
props: {
|
|
2324
2387
|
icon: {},
|
|
@@ -2331,6 +2394,8 @@ var _hoisted_1$3 = { style: {
|
|
|
2331
2394
|
fileList: {},
|
|
2332
2395
|
action: {},
|
|
2333
2396
|
onChange: { type: Function },
|
|
2397
|
+
accept: {},
|
|
2398
|
+
showSuccessStatus: { type: Boolean },
|
|
2334
2399
|
data: {}
|
|
2335
2400
|
},
|
|
2336
2401
|
emits: [
|
|
@@ -2343,23 +2408,27 @@ var _hoisted_1$3 = { style: {
|
|
|
2343
2408
|
"remove"
|
|
2344
2409
|
],
|
|
2345
2410
|
setup(e, { emit: n }) {
|
|
2346
|
-
let r = n, i = e, { type: a = "file", onChange: o, limit: s, action: c, data: l, prop: u, fileList: d,
|
|
2347
|
-
|
|
2411
|
+
let r = n, i = e, { type: a = "file", onChange: o, limit: s, action: c, data: l, prop: u, fileList: d, accept: f, ...p } = i, m = c || baseUrl + "/attachment/uploadAttachment", g = computed(() => ({ token: localStorage.getItem("TOKEN") || "" })), _ = computed(() => f?.length ? new Set(f.map((e) => e.startsWith(".") ? e.toLowerCase() : `.${e.toLowerCase()}`)) : null), v = (e) => {
|
|
2412
|
+
if (!_.value) return !0;
|
|
2413
|
+
let n = "." + e.name.split(".").pop().toLowerCase();
|
|
2414
|
+
return _.value.has(n) ? !0 : (VepMessage.warning(`只能上传 ${f?.join("、")} 格式的文件`), !1);
|
|
2415
|
+
}, y = computed(() => l && u && l[u] ? l[u] : i.fileList || []), b = computed(() => y.value.length);
|
|
2416
|
+
function x(e) {
|
|
2348
2417
|
r("update:fileList", e);
|
|
2349
2418
|
}
|
|
2350
|
-
function
|
|
2419
|
+
function S(e, n) {
|
|
2351
2420
|
let i = Array.isArray(n) ? n : [];
|
|
2352
2421
|
o?.(i, e), r("update:fileList", i), r("update:modelValue", i), r("change", i);
|
|
2353
2422
|
}
|
|
2354
|
-
function
|
|
2423
|
+
function C() {
|
|
2355
2424
|
s && VepMessage.warning(`最多只能上传 ${s} 个文件`);
|
|
2356
2425
|
}
|
|
2357
|
-
function
|
|
2426
|
+
function w(e, n) {
|
|
2358
2427
|
r("update:fileList", n), r("update:modelValue", n), r("remove", n);
|
|
2359
2428
|
}
|
|
2360
|
-
function
|
|
2429
|
+
function T(e, n) {
|
|
2361
2430
|
if (e?.code !== "ok") return VepMessage.error(e?.message);
|
|
2362
|
-
let a = baseUrl + `/attachment/downloadAttachment?objectKey=${e.data?.objectKey}&fileName=${e.data?.fileName}&token=${
|
|
2431
|
+
let a = baseUrl + `/attachment/downloadAttachment?objectKey=${e.data?.objectKey}&fileName=${e.data?.fileName}&token=${g.token}`, o = l && u && l[u] ? l[u] : i.fileList || [], s = o.some((r) => r?.uid === n.uid || r?.objectKey === e.data?.objectKey), c;
|
|
2363
2432
|
c = s ? o.map((r) => r.uid === n.uid ? {
|
|
2364
2433
|
...r,
|
|
2365
2434
|
status: "success",
|
|
@@ -2374,25 +2443,27 @@ var _hoisted_1$3 = { style: {
|
|
|
2374
2443
|
url: a
|
|
2375
2444
|
}], r("update:fileList", c), r("update:modelValue", c), r("success", c);
|
|
2376
2445
|
}
|
|
2377
|
-
function
|
|
2446
|
+
function E(e, n, i) {
|
|
2378
2447
|
r("update:fileList", i), r("update:modelValue", i);
|
|
2379
2448
|
}
|
|
2380
2449
|
return (e, n) => (openBlock(), createBlock(resolveDynamicComponent(unref(a) === "image" ? image_default : file_default), mergeProps({
|
|
2381
2450
|
ref: "uploadInstance",
|
|
2382
2451
|
name: "file",
|
|
2383
|
-
action: unref(
|
|
2384
|
-
headers:
|
|
2385
|
-
"on-change":
|
|
2386
|
-
"on-exceed":
|
|
2387
|
-
"on-remove":
|
|
2388
|
-
"on-success":
|
|
2389
|
-
"on-error":
|
|
2390
|
-
"file-list":
|
|
2391
|
-
"onUpdate:fileList":
|
|
2392
|
-
count:
|
|
2393
|
-
limit: unref(s)
|
|
2394
|
-
|
|
2452
|
+
action: unref(m),
|
|
2453
|
+
headers: g.value,
|
|
2454
|
+
"on-change": S,
|
|
2455
|
+
"on-exceed": C,
|
|
2456
|
+
"on-remove": w,
|
|
2457
|
+
"on-success": T,
|
|
2458
|
+
"on-error": E,
|
|
2459
|
+
"file-list": y.value,
|
|
2460
|
+
"onUpdate:fileList": x,
|
|
2461
|
+
count: b.value,
|
|
2462
|
+
limit: unref(s),
|
|
2463
|
+
"before-upload": v
|
|
2464
|
+
}, p), null, 16, [
|
|
2395
2465
|
"action",
|
|
2466
|
+
"headers",
|
|
2396
2467
|
"file-list",
|
|
2397
2468
|
"count",
|
|
2398
2469
|
"limit"
|
|
@@ -4634,7 +4705,6 @@ function useDetail(e) {
|
|
|
4634
4705
|
{
|
|
4635
4706
|
label: "流程主题",
|
|
4636
4707
|
prop: "processTitle",
|
|
4637
|
-
span: 12,
|
|
4638
4708
|
required: !s.value,
|
|
4639
4709
|
render: ({ h: e, data: n }) => s.value ? n?.processTitle || "" : e.input()
|
|
4640
4710
|
},
|
|
@@ -4654,10 +4724,7 @@ function useDetail(e) {
|
|
|
4654
4724
|
label: "当前环节",
|
|
4655
4725
|
prop: "activityName",
|
|
4656
4726
|
span: 12,
|
|
4657
|
-
render: ({
|
|
4658
|
-
prop: n?.activityName,
|
|
4659
|
-
type: "primary"
|
|
4660
|
-
})
|
|
4727
|
+
render: ({ data: e }) => e?.activityName
|
|
4661
4728
|
},
|
|
4662
4729
|
{
|
|
4663
4730
|
label: "当前处理人",
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-
|
|
1
|
+
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-USSBh8JF.js";
|
|
2
2
|
export { e as useDictionary, n as useFetch, r as useRoute, a as useRouter, t as useTable, i as useUser };
|
package/dist/index.css
CHANGED
|
@@ -176,14 +176,125 @@
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.hide-upload-text[data-v-
|
|
179
|
+
.hide-upload-text[data-v-b275fceb] .el-upload--text {
|
|
180
180
|
display: none;
|
|
181
181
|
}
|
|
182
|
-
.hide-upload-list[data-v-
|
|
182
|
+
.hide-upload-list[data-v-b275fceb] .el-upload-list {
|
|
183
183
|
display: none;
|
|
184
|
+
}
|
|
185
|
+
.upload-file-item[data-v-b275fceb] {
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
justify-content: space-between;
|
|
189
|
+
padding: 4px 8px;
|
|
190
|
+
font-size: 14px;
|
|
191
|
+
line-height: 1.5;
|
|
192
|
+
}
|
|
193
|
+
.file-left[data-v-b275fceb] {
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
flex: 1;
|
|
197
|
+
overflow: hidden;
|
|
198
|
+
}
|
|
199
|
+
.file-icon[data-v-b275fceb] {
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
margin-right: 8px;
|
|
203
|
+
color: #606266;
|
|
204
|
+
flex-shrink: 0;
|
|
205
|
+
width: 14px;
|
|
206
|
+
height: auto;
|
|
207
|
+
}
|
|
208
|
+
.file-name[data-v-b275fceb] {
|
|
209
|
+
color: #606266;
|
|
210
|
+
overflow: hidden;
|
|
211
|
+
text-overflow: ellipsis;
|
|
212
|
+
white-space: nowrap;
|
|
213
|
+
line-height: 1;
|
|
214
|
+
display: inline-flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
}
|
|
217
|
+
.file-size[data-v-b275fceb] {
|
|
218
|
+
color: #909399;
|
|
219
|
+
margin-left: 4px;
|
|
220
|
+
font-size: 12px;
|
|
221
|
+
flex-shrink: 0;
|
|
222
|
+
line-height: 1;
|
|
223
|
+
display: inline-flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
}
|
|
226
|
+
.file-actions[data-v-b275fceb] {
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: 8px;
|
|
230
|
+
margin-left: 8px;
|
|
231
|
+
flex-shrink: 0;
|
|
232
|
+
}
|
|
233
|
+
.success-icon[data-v-b275fceb] {
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
}
|
|
237
|
+
.download-btn[data-v-b275fceb] {
|
|
238
|
+
display: inline-flex;
|
|
239
|
+
align-items: center;
|
|
240
|
+
cursor: pointer;
|
|
241
|
+
color: #909399;
|
|
242
|
+
opacity: 0;
|
|
243
|
+
transition: opacity 0.3s, color 0.3s;
|
|
244
|
+
font-size: 12px;
|
|
245
|
+
margin-left: 15px;
|
|
246
|
+
}
|
|
247
|
+
.file-left:hover .download-btn[data-v-b275fceb] {
|
|
248
|
+
opacity: 1;
|
|
249
|
+
}
|
|
250
|
+
.download-btn[data-v-b275fceb]:hover {
|
|
251
|
+
color: #409eff;
|
|
252
|
+
}
|
|
253
|
+
.remove-btn[data-v-b275fceb] {
|
|
254
|
+
display: inline-flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
cursor: pointer;
|
|
257
|
+
color: #909399;
|
|
258
|
+
opacity: 0;
|
|
259
|
+
transition: opacity 0.3s, color 0.3s;
|
|
260
|
+
font-size: 12px;
|
|
261
|
+
margin-left: 15px;
|
|
262
|
+
}
|
|
263
|
+
.file-left:hover .remove-btn[data-v-b275fceb] {
|
|
264
|
+
opacity: 1;
|
|
265
|
+
}
|
|
266
|
+
.remove-btn[data-v-b275fceb]:hover {
|
|
267
|
+
color: #f56c6c;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* 隐藏 Element Plus 默认的文件列表样式 */
|
|
271
|
+
[data-v-b275fceb] .el-upload-list__item {
|
|
272
|
+
padding: 0;
|
|
273
|
+
border: none;
|
|
274
|
+
background: transparent;
|
|
275
|
+
}
|
|
276
|
+
[data-v-b275fceb] .el-upload-list__item-name {
|
|
277
|
+
display: none;
|
|
278
|
+
}
|
|
279
|
+
[data-v-b275fceb] .el-upload-list__item-status-label {
|
|
280
|
+
display: none;
|
|
281
|
+
}
|
|
282
|
+
[data-v-b275fceb] .el-upload-list__item .el-icon--close {
|
|
283
|
+
display: none;
|
|
284
|
+
}
|
|
285
|
+
[data-v-b275fceb] .el-upload-list__item.is-success .el-upload-list__item-status-label {
|
|
286
|
+
display: none;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* 隐藏默认的圆点 */
|
|
290
|
+
[data-v-b275fceb] .el-upload-list {
|
|
291
|
+
list-style: none;
|
|
292
|
+
}
|
|
293
|
+
[data-v-b275fceb] .el-upload-list__item::before {
|
|
294
|
+
display: none !important;
|
|
184
295
|
}
|
|
185
296
|
|
|
186
|
-
.hide-upload-item[data-v-
|
|
297
|
+
.hide-upload-item[data-v-98470b3a] .el-upload--picture-card {
|
|
187
298
|
display: none;
|
|
188
299
|
}
|
|
189
300
|
|
package/dist/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { O as e, _ as t, b as n, v as r, y as i } from "../entry-
|
|
1
|
+
import { O as e, _ as t, b as n, v as r, y as i } from "../entry-USSBh8JF.js";
|
|
2
2
|
export { t as baseUrl, n as request, e as tempToRender, r as uniq, i as uniqBy };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r, S as i, T as a, a as o, g as s, h as c, i as l, k as u, m as d, n as f, o as p, p as m, r as h, t as g, w as _, x as v } from "./entry-
|
|
1
|
+
import { A as e, C as t, D as n, E as r, S as i, T as a, a as o, g as s, h as c, i as l, k as u, m as d, n as f, o as p, p as m, r as h, t as g, w as _, x as v } from "./entry-USSBh8JF.js";
|
|
2
2
|
export { e as UiCard, i as UiDescriptions, v as UiDialog, a as UiEditor, n as UiFilter, r as UiForm, t as UiInfiniteScroll, d as UiStaffSelect, u as UiTable, _ as UiTree, m as UiUpload, s as WcUtils, o as YcApproval, c as YcMessage, l as YcPageAgent, h as default, h as ycPlugin, g as getHostVue, p as hooks, f as setHostVue };
|