@web-utils/component 2.7.6 → 2.7.7
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/chunks/{ConfigDate.vue_vue_type_template_lang.420fa897.js → ConfigDate.vue_vue_type_template_lang.116fbad4.js} +1 -1
- package/dist/chunks/{ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js → ConfigDynamic.vue_vue_type_template_lang.99082e47.js} +1 -1
- package/dist/chunks/{ConfigSelect.vue_vue_type_template_lang.7db7e57f.js → ConfigSelect.vue_vue_type_template_lang.e7a9d5b7.js} +6 -6
- package/dist/chunks/{ConfigTable.vue_vue_type_template_lang.3e8136d9.js → ConfigTable.vue_vue_type_template_lang.e9060616.js} +4 -1
- package/dist/chunks/{ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js → ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.89ec5376.js} +127 -126
- package/dist/chunks/{ConfigUpload.vue_vue_type_template_lang.531a9b2a.js → ConfigUpload.vue_vue_type_template_lang.48dd814b.js} +3 -3
- package/dist/chunks/{WidgetConfig.vue_vue_type_template_lang.b4bf56e9.js → WidgetConfig.vue_vue_type_template_lang.24a87d72.js} +73 -32
- package/dist/chunks/{WidgetForm.vue_vue_type_template_lang.82248338.js → WidgetForm.vue_vue_type_template_lang.fbb7d6b7.js} +12 -7
- package/dist/chunks/{WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js → WidgetFormGroup.vue_vue_type_template_lang.47789aae.js} +8 -3
- package/dist/components/afd-column/index.js +8 -5
- package/dist/components/chat/index.js +14 -14
- package/dist/components/column-slot/index.js +25 -26
- package/dist/components/config-array/index.js +13 -11
- package/dist/components/config-color/index.js +4 -2
- package/dist/components/config-custom/index.js +3 -1
- package/dist/components/config-date/index.js +7 -5
- package/dist/components/config-dynamic/index.js +10 -8
- package/dist/components/config-event/index.js +3 -1
- package/dist/components/config-group/index.js +8 -6
- package/dist/components/config-input/index.js +8 -5
- package/dist/components/config-map/index.js +10 -8
- package/dist/components/config-number/index.js +12 -10
- package/dist/components/config-rate/index.js +4 -2
- package/dist/components/config-rate/style.css +1 -1
- package/dist/components/config-select/index.js +4 -2
- package/dist/components/config-slider/index.js +8 -6
- package/dist/components/config-switch/index.js +4 -2
- package/dist/components/config-switch/style.css +1 -1
- package/dist/components/config-table/index.js +4 -2
- package/dist/components/config-textarea/index.js +5 -3
- package/dist/components/config-title/index.js +5 -3
- package/dist/components/config-tree/index.js +5 -3
- package/dist/components/config-tree/style.css +1 -1
- package/dist/components/config-u-editor/index.js +6 -4
- package/dist/components/config-upload/index.js +5 -3
- package/dist/components/dialog-excel/index.js +3 -3
- package/dist/components/dialog-filter/index.js +1 -1
- package/dist/components/flow/index.js +4 -4
- package/dist/components/form-config/index.js +5 -3
- package/dist/components/form-temp/index.js +1 -1
- package/dist/components/fy-array/index.js +20 -20
- package/dist/components/{article → fy-article}/index.js +1 -1
- package/dist/components/{article → fy-article}/style.css +0 -0
- package/dist/components/fy-checkbox/index.js +1 -1
- package/dist/components/{code → fy-code}/index.js +1 -1
- package/dist/components/fy-curd/index.js +4 -4
- package/dist/components/fy-draggable/index.js +1 -1
- package/dist/components/fy-dynamic/index.js +42 -44
- package/dist/components/fy-form/index.js +88 -87
- package/dist/components/fy-form-design/index.js +14 -6
- package/dist/components/fy-input-tree/index.js +1 -1
- package/dist/components/{progress → fy-progress}/index.js +1 -1
- package/dist/components/fy-radio/index.js +4 -4
- package/dist/components/fy-switch/index.js +3 -3
- package/dist/components/fy-tree/index.js +1 -1
- package/dist/components/fy-u-editor/index.js +374 -0
- package/dist/components/fy-u-editor/style.css +1 -0
- package/dist/components/fy-upload/index.js +6 -6
- package/dist/components/header-search/index.js +9 -3
- package/dist/components/search/index.js +1 -1
- package/dist/components/table-page/index.js +5 -5
- package/dist/components/widget-config/index.js +21 -18
- package/dist/components/widget-form/index.js +8 -5
- package/dist/components/widget-form-group/index.js +13 -8
- package/dist/components/widget-form-table/index.js +17 -12
- package/dist/index.css +71 -62
- package/dist/index.es.js +2777 -2341
- package/package.json +4 -2
- package/web-types.json +234 -110
|
@@ -4,23 +4,23 @@ import { n as normalizeComponent } from "./vueComponentNormalizer.71e2aa87.js";
|
|
|
4
4
|
import { s as staticRenderFns$2, r as render$2 } from "./ConfigInput.vue_vue_type_template_lang.cc1eb052.js";
|
|
5
5
|
import { s as staticRenderFns$3, r as render$3 } from "./ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js";
|
|
6
6
|
import { s as staticRenderFns$4, r as render$4 } from "./ConfigNumber.vue_vue_type_template_lang.d60231d7.js";
|
|
7
|
-
import { s as staticRenderFns$5, r as render$5 } from "./ConfigDynamic.vue_vue_type_template_lang.
|
|
7
|
+
import { s as staticRenderFns$5, r as render$5 } from "./ConfigDynamic.vue_vue_type_template_lang.99082e47.js";
|
|
8
8
|
import { s as staticRenderFns$6, r as render$6 } from "./ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js";
|
|
9
9
|
import { s as staticRenderFns$7, r as render$7 } from "./ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js";
|
|
10
10
|
import { s as staticRenderFns$8, r as render$8 } from "./ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js";
|
|
11
11
|
import { s as staticRenderFns$9, r as render$9 } from "./ConfigColor.vue_vue_type_template_lang.cd880091.js";
|
|
12
12
|
import Draggable from "vuedraggable";
|
|
13
|
-
import { s as staticRenderFns$a, r as render$a } from "./ConfigSelect.vue_vue_type_template_lang.
|
|
14
|
-
import { s as staticRenderFns$b, r as render$b } from "./ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.
|
|
15
|
-
import { s as staticRenderFns$c, r as render$c } from "./ConfigDate.vue_vue_type_template_lang.
|
|
16
|
-
import { s as staticRenderFns$d, r as render$d } from "./ConfigUpload.vue_vue_type_template_lang.
|
|
13
|
+
import { s as staticRenderFns$a, r as render$a } from "./ConfigSelect.vue_vue_type_template_lang.e7a9d5b7.js";
|
|
14
|
+
import { s as staticRenderFns$b, r as render$b } from "./ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.89ec5376.js";
|
|
15
|
+
import { s as staticRenderFns$c, r as render$c } from "./ConfigDate.vue_vue_type_template_lang.116fbad4.js";
|
|
16
|
+
import { s as staticRenderFns$d, r as render$d } from "./ConfigUpload.vue_vue_type_template_lang.48dd814b.js";
|
|
17
17
|
import { s as staticRenderFns$e, r as render$e } from "./ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js";
|
|
18
18
|
import { s as staticRenderFns$f, r as render$f } from "./ConfigMap.vue_vue_type_template_lang.daee4d38.js";
|
|
19
19
|
import { s as staticRenderFns$g, r as render$g } from "./ConfigGroup.vue_vue_type_template_lang.44117322.js";
|
|
20
20
|
import { s as staticRenderFns$h, r as render$h } from "./ConfigArray.vue_vue_type_template_lang.66483daa.js";
|
|
21
21
|
import { s as staticRenderFns$i, r as render$i } from "./ConfigTitle.vue_vue_type_template_lang.57d9deb5.js";
|
|
22
22
|
import { s as staticRenderFns$j, r as render$j } from "./ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js";
|
|
23
|
-
import { s as staticRenderFns$k, r as render$k, A as AfdColumn } from "./ConfigTable.vue_vue_type_template_lang.
|
|
23
|
+
import { s as staticRenderFns$k, r as render$k, A as AfdColumn } from "./ConfigTable.vue_vue_type_template_lang.e9060616.js";
|
|
24
24
|
const fields = [
|
|
25
25
|
{
|
|
26
26
|
title: "布局字段",
|
|
@@ -358,7 +358,7 @@ const fields = [
|
|
|
358
358
|
title: "插件字段(需单独引入依赖)",
|
|
359
359
|
list: [{
|
|
360
360
|
type: "u-editor",
|
|
361
|
-
component: "
|
|
361
|
+
component: "fy-u-editor",
|
|
362
362
|
label: "富文本",
|
|
363
363
|
icon: "icon-richtext",
|
|
364
364
|
span: 24,
|
|
@@ -430,7 +430,9 @@ const fields = [
|
|
|
430
430
|
], __vue2_script$j = {
|
|
431
431
|
name: "ConfigCustom",
|
|
432
432
|
components: { MonacoEditor },
|
|
433
|
-
props:
|
|
433
|
+
props: {
|
|
434
|
+
data: Object
|
|
435
|
+
},
|
|
434
436
|
data() {
|
|
435
437
|
return {
|
|
436
438
|
params: this.data.params || {},
|
|
@@ -482,7 +484,10 @@ const ConfigCustom = /* @__PURE__ */ function() {
|
|
|
482
484
|
return __component__$j.exports;
|
|
483
485
|
}(), __vue2_script$i = {
|
|
484
486
|
name: "ConfigInput",
|
|
485
|
-
props:
|
|
487
|
+
props: {
|
|
488
|
+
data: Object,
|
|
489
|
+
defaultValues: Object
|
|
490
|
+
}
|
|
486
491
|
}, __cssModules$i = {};
|
|
487
492
|
var __component__$i = /* @__PURE__ */ normalizeComponent(
|
|
488
493
|
__vue2_script$i,
|
|
@@ -502,7 +507,9 @@ const ConfigInput = /* @__PURE__ */ function() {
|
|
|
502
507
|
return __component__$i.exports;
|
|
503
508
|
}(), __vue2_script$h = {
|
|
504
509
|
name: "ConfigTextarea",
|
|
505
|
-
props:
|
|
510
|
+
props: {
|
|
511
|
+
data: Object
|
|
512
|
+
}
|
|
506
513
|
}, __cssModules$h = {};
|
|
507
514
|
var __component__$h = /* @__PURE__ */ normalizeComponent(
|
|
508
515
|
__vue2_script$h,
|
|
@@ -522,7 +529,9 @@ const ConfigTextarea = /* @__PURE__ */ function() {
|
|
|
522
529
|
return __component__$h.exports;
|
|
523
530
|
}(), __vue2_script$g = {
|
|
524
531
|
name: "ConfigNumber",
|
|
525
|
-
props:
|
|
532
|
+
props: {
|
|
533
|
+
data: Object
|
|
534
|
+
}
|
|
526
535
|
}, __cssModules$g = {};
|
|
527
536
|
var __component__$g = /* @__PURE__ */ normalizeComponent(
|
|
528
537
|
__vue2_script$g,
|
|
@@ -542,7 +551,9 @@ const ConfigNumber = /* @__PURE__ */ function() {
|
|
|
542
551
|
return __component__$g.exports;
|
|
543
552
|
}(), __vue2_script$f = {
|
|
544
553
|
name: "ConfigDynamic",
|
|
545
|
-
props:
|
|
554
|
+
props: {
|
|
555
|
+
data: Object
|
|
556
|
+
}
|
|
546
557
|
}, __cssModules$f = {};
|
|
547
558
|
var __component__$f = /* @__PURE__ */ normalizeComponent(
|
|
548
559
|
__vue2_script$f,
|
|
@@ -562,7 +573,9 @@ const ConfigDynamic = /* @__PURE__ */ function() {
|
|
|
562
573
|
return __component__$f.exports;
|
|
563
574
|
}(), __vue2_script$e = {
|
|
564
575
|
name: "ConfigSwitch",
|
|
565
|
-
props:
|
|
576
|
+
props: {
|
|
577
|
+
data: Object
|
|
578
|
+
},
|
|
566
579
|
methods: {
|
|
567
580
|
handleDicClear() {
|
|
568
581
|
this.data.dicData = [{ label: "", value: "0" }, { label: "", value: "1" }];
|
|
@@ -575,7 +588,7 @@ var __component__$e = /* @__PURE__ */ normalizeComponent(
|
|
|
575
588
|
staticRenderFns$6,
|
|
576
589
|
!1,
|
|
577
590
|
__vue2_injectStyles$e,
|
|
578
|
-
"
|
|
591
|
+
"8b486734",
|
|
579
592
|
null,
|
|
580
593
|
null
|
|
581
594
|
);
|
|
@@ -587,7 +600,9 @@ const ConfigSwitch = /* @__PURE__ */ function() {
|
|
|
587
600
|
return __component__$e.exports;
|
|
588
601
|
}(), __vue2_script$d = {
|
|
589
602
|
name: "ConfigRate",
|
|
590
|
-
props:
|
|
603
|
+
props: {
|
|
604
|
+
data: Object
|
|
605
|
+
},
|
|
591
606
|
data() {
|
|
592
607
|
return {
|
|
593
608
|
textVisible: !1,
|
|
@@ -638,7 +653,7 @@ var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
|
638
653
|
staticRenderFns$7,
|
|
639
654
|
!1,
|
|
640
655
|
__vue2_injectStyles$d,
|
|
641
|
-
"
|
|
656
|
+
"1c86355d",
|
|
642
657
|
null,
|
|
643
658
|
null
|
|
644
659
|
);
|
|
@@ -650,7 +665,9 @@ const ConfigRate = /* @__PURE__ */ function() {
|
|
|
650
665
|
return __component__$d.exports;
|
|
651
666
|
}(), __vue2_script$c = {
|
|
652
667
|
name: "ConfigSlider",
|
|
653
|
-
props:
|
|
668
|
+
props: {
|
|
669
|
+
data: Object
|
|
670
|
+
}
|
|
654
671
|
}, __cssModules$c = {};
|
|
655
672
|
var __component__$c = /* @__PURE__ */ normalizeComponent(
|
|
656
673
|
__vue2_script$c,
|
|
@@ -670,7 +687,9 @@ const ConfigSlider = /* @__PURE__ */ function() {
|
|
|
670
687
|
return __component__$c.exports;
|
|
671
688
|
}(), __vue2_script$b = {
|
|
672
689
|
name: "ConfigColor",
|
|
673
|
-
props:
|
|
690
|
+
props: {
|
|
691
|
+
data: Object
|
|
692
|
+
}
|
|
674
693
|
}, __cssModules$b = {};
|
|
675
694
|
var __component__$b = /* @__PURE__ */ normalizeComponent(
|
|
676
695
|
__vue2_script$b,
|
|
@@ -691,7 +710,9 @@ const ConfigColor = /* @__PURE__ */ function() {
|
|
|
691
710
|
}(), __vue2_script$a = {
|
|
692
711
|
name: "ConfigSelect",
|
|
693
712
|
components: { Draggable, MonacoEditor },
|
|
694
|
-
props:
|
|
713
|
+
props: {
|
|
714
|
+
data: Object
|
|
715
|
+
},
|
|
695
716
|
data() {
|
|
696
717
|
return {
|
|
697
718
|
option: {
|
|
@@ -771,7 +792,9 @@ const ConfigSelect = /* @__PURE__ */ function() {
|
|
|
771
792
|
}(), __vue2_script$9 = {
|
|
772
793
|
name: "ConfigTree",
|
|
773
794
|
components: { MonacoEditor, Draggable },
|
|
774
|
-
props:
|
|
795
|
+
props: {
|
|
796
|
+
data: Object
|
|
797
|
+
},
|
|
775
798
|
data() {
|
|
776
799
|
return {
|
|
777
800
|
dialogForm: {},
|
|
@@ -870,7 +893,7 @@ var __component__$9 = /* @__PURE__ */ normalizeComponent(
|
|
|
870
893
|
staticRenderFns$b,
|
|
871
894
|
!1,
|
|
872
895
|
__vue2_injectStyles$9,
|
|
873
|
-
"
|
|
896
|
+
"657de8b2",
|
|
874
897
|
null,
|
|
875
898
|
null
|
|
876
899
|
);
|
|
@@ -882,7 +905,9 @@ const ConfigTree = /* @__PURE__ */ function() {
|
|
|
882
905
|
return __component__$9.exports;
|
|
883
906
|
}(), __vue2_script$8 = {
|
|
884
907
|
name: "ConfigDate",
|
|
885
|
-
props:
|
|
908
|
+
props: {
|
|
909
|
+
data: Object
|
|
910
|
+
}
|
|
886
911
|
}, __cssModules$8 = {};
|
|
887
912
|
var __component__$8 = /* @__PURE__ */ normalizeComponent(
|
|
888
913
|
__vue2_script$8,
|
|
@@ -902,7 +927,9 @@ const ConfigDate = /* @__PURE__ */ function() {
|
|
|
902
927
|
return __component__$8.exports;
|
|
903
928
|
}(), __vue2_script$7 = {
|
|
904
929
|
name: "ConfigUpload",
|
|
905
|
-
props:
|
|
930
|
+
props: {
|
|
931
|
+
data: Object
|
|
932
|
+
},
|
|
906
933
|
data() {
|
|
907
934
|
return {
|
|
908
935
|
option: {
|
|
@@ -924,7 +951,7 @@ const ConfigDate = /* @__PURE__ */ function() {
|
|
|
924
951
|
},
|
|
925
952
|
immediate: !0
|
|
926
953
|
},
|
|
927
|
-
"data.drag": function(
|
|
954
|
+
"data.drag": function() {
|
|
928
955
|
},
|
|
929
956
|
"data.dragFile": function(t) {
|
|
930
957
|
t && this.$delete(this.data, "listType");
|
|
@@ -952,11 +979,13 @@ const ConfigUpload = /* @__PURE__ */ function() {
|
|
|
952
979
|
return __component__$7.exports;
|
|
953
980
|
}(), __vue2_script$6 = {
|
|
954
981
|
name: "ConfigUEditor",
|
|
955
|
-
props:
|
|
982
|
+
props: {
|
|
983
|
+
data: Object
|
|
984
|
+
},
|
|
956
985
|
watch: {
|
|
957
986
|
"data.options.oss": function(t) {
|
|
958
987
|
debugger;
|
|
959
|
-
t
|
|
988
|
+
t === "ali" ? this.data.options.qiniu = {} : t === "qiniu" && (this.data.options.ali = {});
|
|
960
989
|
}
|
|
961
990
|
}
|
|
962
991
|
}, __cssModules$6 = {};
|
|
@@ -978,7 +1007,9 @@ const ConfigUEditor = /* @__PURE__ */ function() {
|
|
|
978
1007
|
return __component__$6.exports;
|
|
979
1008
|
}(), __vue2_script$5 = {
|
|
980
1009
|
name: "ConfigMap",
|
|
981
|
-
props:
|
|
1010
|
+
props: {
|
|
1011
|
+
data: Object
|
|
1012
|
+
}
|
|
982
1013
|
}, __cssModules$5 = {};
|
|
983
1014
|
var __component__$5 = /* @__PURE__ */ normalizeComponent(
|
|
984
1015
|
__vue2_script$5,
|
|
@@ -998,7 +1029,9 @@ const ConfigMap = /* @__PURE__ */ function() {
|
|
|
998
1029
|
return __component__$5.exports;
|
|
999
1030
|
}(), __vue2_script$4 = {
|
|
1000
1031
|
name: "ConfigGroup",
|
|
1001
|
-
props:
|
|
1032
|
+
props: {
|
|
1033
|
+
data: Object
|
|
1034
|
+
},
|
|
1002
1035
|
data() {
|
|
1003
1036
|
return {
|
|
1004
1037
|
iconList: [{
|
|
@@ -1026,7 +1059,9 @@ const ConfigGroup = /* @__PURE__ */ function() {
|
|
|
1026
1059
|
return __component__$4.exports;
|
|
1027
1060
|
}(), __vue2_script$3 = {
|
|
1028
1061
|
name: "ConfigArray",
|
|
1029
|
-
props:
|
|
1062
|
+
props: {
|
|
1063
|
+
data: Object
|
|
1064
|
+
}
|
|
1030
1065
|
}, __cssModules$3 = {};
|
|
1031
1066
|
var __component__$3 = /* @__PURE__ */ normalizeComponent(
|
|
1032
1067
|
__vue2_script$3,
|
|
@@ -1046,7 +1081,9 @@ const ConfigArray = /* @__PURE__ */ function() {
|
|
|
1046
1081
|
return __component__$3.exports;
|
|
1047
1082
|
}(), __vue2_script$2 = {
|
|
1048
1083
|
name: "ConfigTitle",
|
|
1049
|
-
props:
|
|
1084
|
+
props: {
|
|
1085
|
+
data: Object
|
|
1086
|
+
},
|
|
1050
1087
|
data() {
|
|
1051
1088
|
return {
|
|
1052
1089
|
options: ["100", "200", "300", "400", "500", "600", "700", "800", "900", "blod", "bloder", "inherit", "initial", "lighter", "normal", "revert", "unset"]
|
|
@@ -1072,7 +1109,9 @@ const ConfigTitle = /* @__PURE__ */ function() {
|
|
|
1072
1109
|
}(), __vue2_script$1 = {
|
|
1073
1110
|
name: "ConfigEvent",
|
|
1074
1111
|
components: { MonacoEditor },
|
|
1075
|
-
props:
|
|
1112
|
+
props: {
|
|
1113
|
+
data: Object
|
|
1114
|
+
},
|
|
1076
1115
|
data() {
|
|
1077
1116
|
return {
|
|
1078
1117
|
change: "",
|
|
@@ -1137,7 +1176,9 @@ const ConfigEvent = /* @__PURE__ */ function() {
|
|
|
1137
1176
|
}(), __vue2_script = {
|
|
1138
1177
|
name: "ConfigTable",
|
|
1139
1178
|
components: { MonacoEditor, AfdColumn },
|
|
1140
|
-
props:
|
|
1179
|
+
props: {
|
|
1180
|
+
data: Object
|
|
1181
|
+
},
|
|
1141
1182
|
data() {
|
|
1142
1183
|
return {
|
|
1143
1184
|
options: {
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { W as
|
|
2
|
-
import { s as o, r as d, W as h } from "./WidgetFormGroup.vue_vue_type_template_lang.
|
|
1
|
+
import { W as r } from "./WidgetFormTable.vue_vue_type_template_lang.30625146.js";
|
|
2
|
+
import { s as o, r as d, W as h } from "./WidgetFormGroup.vue_vue_type_template_lang.47789aae.js";
|
|
3
3
|
import p from "vuedraggable";
|
|
4
4
|
import { d as n } from "./util.80e28481.js";
|
|
5
5
|
import { n as g } from "./vueComponentNormalizer.71e2aa87.js";
|
|
6
6
|
const m = {
|
|
7
7
|
name: "WidgetFormGroup",
|
|
8
|
-
components: { WidgetFormItem:
|
|
9
|
-
props:
|
|
8
|
+
components: { WidgetFormItem: r, WidgetFormTable: h, Draggable: p },
|
|
9
|
+
props: {
|
|
10
|
+
data: Object,
|
|
11
|
+
column: Object,
|
|
12
|
+
select: Object,
|
|
13
|
+
index: Number
|
|
14
|
+
},
|
|
10
15
|
data() {
|
|
11
16
|
return {
|
|
12
17
|
selectWidget: this.select
|
|
@@ -68,7 +73,7 @@ const m = {
|
|
|
68
73
|
l.prop || (l.prop = "a" + Date.now() + Math.ceil(Math.random() * 99999)), delete l.icon, l.type === "dynamic" ? l.span = 24 : l.span = 12, this.$set(i.children.column, t, { ...l }), this.selectWidget = i.children.column[t], this.$emit("change");
|
|
69
74
|
}
|
|
70
75
|
}
|
|
71
|
-
},
|
|
76
|
+
}, c = {};
|
|
72
77
|
var u = /* @__PURE__ */ g(
|
|
73
78
|
m,
|
|
74
79
|
d,
|
|
@@ -80,8 +85,8 @@ var u = /* @__PURE__ */ g(
|
|
|
80
85
|
null
|
|
81
86
|
);
|
|
82
87
|
function W(e) {
|
|
83
|
-
for (let i in
|
|
84
|
-
this[i] =
|
|
88
|
+
for (let i in c)
|
|
89
|
+
this[i] = c[i];
|
|
85
90
|
}
|
|
86
91
|
const w = /* @__PURE__ */ function() {
|
|
87
92
|
return u.exports;
|
|
@@ -5,7 +5,12 @@ import { n as p } from "./vueComponentNormalizer.71e2aa87.js";
|
|
|
5
5
|
const g = {
|
|
6
6
|
name: "WidgetFormTable",
|
|
7
7
|
components: { WidgetFormItem: d, Draggable: h },
|
|
8
|
-
props:
|
|
8
|
+
props: {
|
|
9
|
+
data: Object,
|
|
10
|
+
column: Object,
|
|
11
|
+
select: Object,
|
|
12
|
+
index: Number
|
|
13
|
+
},
|
|
9
14
|
data() {
|
|
10
15
|
return {
|
|
11
16
|
selectWidget: this.select
|
|
@@ -82,7 +87,7 @@ function m(e) {
|
|
|
82
87
|
for (let i in o)
|
|
83
88
|
this[i] = o[i];
|
|
84
89
|
}
|
|
85
|
-
const
|
|
90
|
+
const C = /* @__PURE__ */ function() {
|
|
86
91
|
return u.exports;
|
|
87
92
|
}();
|
|
88
93
|
var w = function() {
|
|
@@ -260,7 +265,7 @@ var w = function() {
|
|
|
260
265
|
})]) : e._e()], 1);
|
|
261
266
|
}, v = [];
|
|
262
267
|
export {
|
|
263
|
-
|
|
268
|
+
C as W,
|
|
264
269
|
w as r,
|
|
265
270
|
v as s
|
|
266
271
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { s as n, r as o, f as i } from "../../chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js";
|
|
2
2
|
import { d as l } from "../../chunks/util.80e28481.js";
|
|
3
3
|
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
|
-
const
|
|
4
|
+
const a = {
|
|
5
5
|
name: "AfdColumn",
|
|
6
6
|
props: {
|
|
7
|
-
column:
|
|
7
|
+
column: {
|
|
8
|
+
type: Array,
|
|
9
|
+
default: () => []
|
|
10
|
+
}
|
|
8
11
|
},
|
|
9
12
|
emits: ["submit"],
|
|
10
13
|
data() {
|
|
@@ -32,8 +35,8 @@ const m = {
|
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
}, s = {};
|
|
35
|
-
var
|
|
36
|
-
|
|
38
|
+
var m = /* @__PURE__ */ r(
|
|
39
|
+
a,
|
|
37
40
|
o,
|
|
38
41
|
n,
|
|
39
42
|
!1,
|
|
@@ -47,7 +50,7 @@ function u(e) {
|
|
|
47
50
|
this[t] = s[t];
|
|
48
51
|
}
|
|
49
52
|
const p = /* @__PURE__ */ function() {
|
|
50
|
-
return
|
|
53
|
+
return m.exports;
|
|
51
54
|
}();
|
|
52
55
|
export {
|
|
53
56
|
p as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { formatDate as
|
|
1
|
+
import { formatDate as c } from "@web-utils/core";
|
|
2
2
|
import { s as l } from "../../chunks/util.80e28481.js";
|
|
3
|
-
import { n as
|
|
4
|
-
var
|
|
3
|
+
import { n as d } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
|
+
var u = function() {
|
|
5
5
|
var t = this, o = t.$createElement, e = t._self._c || o;
|
|
6
6
|
return e("div", {
|
|
7
7
|
staticClass: "avue-chat",
|
|
@@ -78,7 +78,7 @@ var m = function() {
|
|
|
78
78
|
return e("li", {
|
|
79
79
|
key: n,
|
|
80
80
|
on: {
|
|
81
|
-
click: function(
|
|
81
|
+
click: function(g) {
|
|
82
82
|
return t.handleItemMsg(s);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -338,8 +338,8 @@ var m = function() {
|
|
|
338
338
|
controls: "controls"
|
|
339
339
|
}
|
|
340
340
|
}) : t._e()])], 1) : t._e()]);
|
|
341
|
-
},
|
|
342
|
-
const
|
|
341
|
+
}, m = [];
|
|
342
|
+
const f = {
|
|
343
343
|
name: "Chat",
|
|
344
344
|
props: {
|
|
345
345
|
beforeOpen: Function,
|
|
@@ -467,7 +467,7 @@ const h = {
|
|
|
467
467
|
o.getAudio(), setTimeout(() => {
|
|
468
468
|
n.close();
|
|
469
469
|
}, 2500);
|
|
470
|
-
}, n.onclick = function(
|
|
470
|
+
}, n.onclick = function() {
|
|
471
471
|
n.close();
|
|
472
472
|
};
|
|
473
473
|
};
|
|
@@ -479,7 +479,7 @@ const h = {
|
|
|
479
479
|
//text为内容
|
|
480
480
|
pushMsg(t = {}) {
|
|
481
481
|
const o = t.mine === !0, e = t.text || {}, a = {
|
|
482
|
-
date: t.date ||
|
|
482
|
+
date: t.date || c(Date.now(), "YYYY-MM-DD HH:mm:ss"),
|
|
483
483
|
text: (() => typeof e != "object" ? {
|
|
484
484
|
text: e
|
|
485
485
|
} : e)(),
|
|
@@ -545,22 +545,22 @@ const h = {
|
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}, r = {};
|
|
548
|
-
var
|
|
549
|
-
h,
|
|
550
|
-
m,
|
|
548
|
+
var h = /* @__PURE__ */ d(
|
|
551
549
|
f,
|
|
550
|
+
u,
|
|
551
|
+
m,
|
|
552
552
|
!1,
|
|
553
|
-
|
|
553
|
+
p,
|
|
554
554
|
null,
|
|
555
555
|
null,
|
|
556
556
|
null
|
|
557
557
|
);
|
|
558
|
-
function
|
|
558
|
+
function p(t) {
|
|
559
559
|
for (let o in r)
|
|
560
560
|
this[o] = r[o];
|
|
561
561
|
}
|
|
562
562
|
const b = /* @__PURE__ */ function() {
|
|
563
|
-
return
|
|
563
|
+
return h.exports;
|
|
564
564
|
}();
|
|
565
565
|
export {
|
|
566
566
|
b as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as h } from "../../chunks/detail.ac4d421a.js";
|
|
2
2
|
import { o as f, u as b, x as g, k as p, n as y, d as _ } from "../../chunks/util.80e28481.js";
|
|
3
3
|
import { s as C } from "../../chunks/dic.79d9f595.js";
|
|
4
|
-
import { isBlank as
|
|
4
|
+
import { isBlank as i } from "@web-utils/core";
|
|
5
5
|
import { n as $ } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
6
6
|
var v = function() {
|
|
7
7
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
@@ -40,26 +40,26 @@ var v = function() {
|
|
|
40
40
|
}, {
|
|
41
41
|
key: "default",
|
|
42
42
|
fn: function(n) {
|
|
43
|
-
var r = n.row,
|
|
43
|
+
var r = n.row, a = n.$index;
|
|
44
44
|
return [r.$cellEdit && e.column.cell ? l("ElFormItem", {
|
|
45
45
|
attrs: {
|
|
46
|
-
prop: e.crud.isTree ? "" : `list.${
|
|
46
|
+
prop: e.crud.isTree ? "" : `list.${a}.${e.column.prop}`,
|
|
47
47
|
label: e.vaildLabel(e.column, r, " "),
|
|
48
48
|
"label-width": e.vaildLabel(e.column, r, "1px"),
|
|
49
49
|
rules: e.column.rules
|
|
50
50
|
}
|
|
51
51
|
}, [l("ElTooltip", {
|
|
52
52
|
attrs: {
|
|
53
|
-
content: (e.crud.listError[`list.${
|
|
54
|
-
disabled: !(e.crud.listError[`list.${
|
|
53
|
+
content: (e.crud.listError[`list.${a}.${e.column.prop}`] || {}).msg,
|
|
54
|
+
disabled: !(e.crud.listError[`list.${a}.${e.column.prop}`] || {}).valid,
|
|
55
55
|
placement: "top"
|
|
56
56
|
}
|
|
57
57
|
}, [e.crud.getSlotName(e.column, "F", e.crud.$scopedSlots) ? e._t(e.crud.getSlotName(e.column, "F"), null, null, {
|
|
58
58
|
row: r,
|
|
59
59
|
dic: e.crud.DIC[e.column.prop],
|
|
60
60
|
size: e.crud.isMediumSize,
|
|
61
|
-
index:
|
|
62
|
-
disabled: e.crud.btnDisabledList[
|
|
61
|
+
index: a,
|
|
62
|
+
disabled: e.crud.btnDisabledList[a],
|
|
63
63
|
label: e.handleDetail(r, e.column),
|
|
64
64
|
$cell: r.$cellEdit
|
|
65
65
|
}) : l("FormTemp", e._b({
|
|
@@ -67,20 +67,20 @@ var v = function() {
|
|
|
67
67
|
column: e.column,
|
|
68
68
|
size: e.crud.isMediumSize,
|
|
69
69
|
"table-data": {
|
|
70
|
-
index:
|
|
70
|
+
index: a,
|
|
71
71
|
row: r,
|
|
72
72
|
label: e.handleDetail(r, e.column)
|
|
73
73
|
},
|
|
74
|
-
dic: (e.crud.cascaderDIC[
|
|
74
|
+
dic: (e.crud.cascaderDIC[a] || {})[e.column.prop] || e.crud.DIC[e.column.prop],
|
|
75
75
|
props: e.column.props || e.crud.tableOption.props,
|
|
76
76
|
readonly: e.column.readonly,
|
|
77
|
-
disabled: e.crud.disabled || e.crud.tableOption.disabled || e.column.disabled || e.crud.btnDisabledList[
|
|
77
|
+
disabled: e.crud.disabled || e.crud.tableOption.disabled || e.column.disabled || e.crud.btnDisabledList[a],
|
|
78
78
|
clearable: e.optVal(e.column.clearable, !1),
|
|
79
79
|
"column-slot": e.crud.mainSlot
|
|
80
80
|
},
|
|
81
81
|
on: {
|
|
82
82
|
change: function(o) {
|
|
83
|
-
return e.columnChange(r, e.column,
|
|
83
|
+
return e.columnChange(r, e.column, a);
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
scopedSlots: e._u([e._l(e.crud.mainSlot, function(o) {
|
|
@@ -100,7 +100,7 @@ var v = function() {
|
|
|
100
100
|
}
|
|
101
101
|
}, "FormTemp", e.uploadFun(e.column, e.crud), !1))], 2)], 1) : e.crud.$scopedSlots[e.column.prop] ? e._t(e.column.prop, null, {
|
|
102
102
|
row: r,
|
|
103
|
-
index:
|
|
103
|
+
index: a,
|
|
104
104
|
dic: e.crud.DIC[e.column.prop],
|
|
105
105
|
size: e.crud.isMediumSize,
|
|
106
106
|
label: e.handleDetail(r, e.column)
|
|
@@ -190,7 +190,7 @@ const d = {}, D = {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
methods: {
|
|
193
|
-
isBlank:
|
|
193
|
+
isBlank: i,
|
|
194
194
|
optVal: f,
|
|
195
195
|
uploadFun: b,
|
|
196
196
|
isMediaType(e, t) {
|
|
@@ -206,38 +206,37 @@ const d = {}, D = {
|
|
|
206
206
|
},
|
|
207
207
|
handleChange(e, t) {
|
|
208
208
|
e.cascader && this.$nextTick(() => {
|
|
209
|
-
[...this.crud.propOption];
|
|
210
209
|
const l = e.cascader;
|
|
211
|
-
l.
|
|
212
|
-
const r = n,
|
|
213
|
-
|
|
210
|
+
l.forEach((n) => {
|
|
211
|
+
const r = n, a = t[e.prop], o = t.$index, c = this.findObject(this.columnOption, r);
|
|
212
|
+
i(c) || (i(this.crud.cascaderDIC[o]) && this.$set(this.crud.cascaderDIC, o, {}), this.crud.cascaderIndexList.includes(o) && l.forEach((s) => {
|
|
214
213
|
this.$set(this.crud.cascaderDIC[o], s.prop, []), l.forEach((u) => t[u] = "");
|
|
215
|
-
}), !(
|
|
214
|
+
}), !(i(l) || i(a) || i(c)) && C({
|
|
216
215
|
column: c,
|
|
217
|
-
value:
|
|
216
|
+
value: a,
|
|
218
217
|
form: t
|
|
219
218
|
}).then((s) => {
|
|
220
219
|
const u = s || [];
|
|
221
|
-
this.crud.cascaderIndexList.includes(o) || this.crud.cascaderIndexList.push(o), this.crud.cascaderDicList[o] || this.$set(this.crud.cascaderDicList, o, {}), this.crud.cascaderDicList[o][r] || this.$set(this.crud.cascaderDicList[o], r, u), this.$set(this.crud.cascaderDIC[o], r, u), !
|
|
220
|
+
this.crud.cascaderIndexList.includes(o) || this.crud.cascaderIndexList.push(o), this.crud.cascaderDicList[o] || this.$set(this.crud.cascaderDicList, o, {}), this.crud.cascaderDicList[o][r] || this.$set(this.crud.cascaderDicList[o], r, u), this.$set(this.crud.cascaderDIC[o], r, u), !i(u[c.cascaderIndex]) && !i(u) && !i(c.cascaderIndex) && (t[r] = u[c.cascaderIndex][(c.props || {}).value || p.value]);
|
|
222
221
|
}));
|
|
223
222
|
});
|
|
224
223
|
});
|
|
225
224
|
},
|
|
226
225
|
handleDetail(e, t) {
|
|
227
226
|
let l, n = t.parentProp ? (this.crud.cascaderDIC[e.$index] || {})[t.prop] : this.crud.DIC[t.prop];
|
|
228
|
-
return l = h(e, t, this.crud.tableOption, n), !
|
|
227
|
+
return l = h(e, t, this.crud.tableOption, n), !i(n) && this.crud.tableOption.filterDic !== !0 && (e["$" + t.prop] = l), l;
|
|
229
228
|
},
|
|
230
229
|
corArray(e, t) {
|
|
231
230
|
let l = this.handleDetail(e, t);
|
|
232
|
-
return Array.isArray(l) || (l =
|
|
231
|
+
return Array.isArray(l) || (l = i(l) ? [] : l.split(y)), _(l);
|
|
233
232
|
},
|
|
234
233
|
openImg(e, t, l) {
|
|
235
234
|
let n = this.getImgList(e, t);
|
|
236
235
|
n = n.map((r) => ({ thumbUrl: r, url: r, type: t.fileType })), this.$ImagePreview(n, l);
|
|
237
236
|
},
|
|
238
237
|
getImgList(e, t) {
|
|
239
|
-
var
|
|
240
|
-
let l = ((
|
|
238
|
+
var a, o;
|
|
239
|
+
let l = ((a = t.propsHttp) == null ? void 0 : a.home) || "", n = ((o = t.props) == null ? void 0 : o.value) || p.value, r = this.corArray(e, t);
|
|
241
240
|
return r.forEach((c, s) => {
|
|
242
241
|
r[s] = l + (c[n] ? c[n] : c);
|
|
243
242
|
}), r;
|
|
@@ -258,9 +257,9 @@ function k(e) {
|
|
|
258
257
|
for (let t in m)
|
|
259
258
|
this[t] = m[t];
|
|
260
259
|
}
|
|
261
|
-
const
|
|
260
|
+
const M = /* @__PURE__ */ function() {
|
|
262
261
|
return x.exports;
|
|
263
262
|
}();
|
|
264
263
|
export {
|
|
265
|
-
|
|
264
|
+
M as default
|
|
266
265
|
};
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
import { n as
|
|
1
|
+
import { s as o, r as e } from "../../chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "ConfigArray",
|
|
5
|
-
props:
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
props: {
|
|
6
|
+
data: Object
|
|
7
|
+
}
|
|
8
|
+
}, t = {};
|
|
9
|
+
var a = /* @__PURE__ */ r(
|
|
8
10
|
s,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
e,
|
|
12
|
+
o,
|
|
11
13
|
!1,
|
|
12
|
-
|
|
14
|
+
c,
|
|
13
15
|
null,
|
|
14
16
|
null,
|
|
15
17
|
null
|
|
16
18
|
);
|
|
17
|
-
function i
|
|
18
|
-
for (let n in
|
|
19
|
-
this[n] =
|
|
19
|
+
function c(i) {
|
|
20
|
+
for (let n in t)
|
|
21
|
+
this[n] = t[n];
|
|
20
22
|
}
|
|
21
23
|
const u = /* @__PURE__ */ function() {
|
|
22
24
|
return a.exports;
|
|
@@ -2,7 +2,9 @@ import { s as t, r as e } from "../../chunks/ConfigColor.vue_vue_type_template_l
|
|
|
2
2
|
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "ConfigColor",
|
|
5
|
-
props:
|
|
5
|
+
props: {
|
|
6
|
+
data: Object
|
|
7
|
+
}
|
|
6
8
|
}, n = {};
|
|
7
9
|
var l = /* @__PURE__ */ r(
|
|
8
10
|
s,
|
|
@@ -14,7 +16,7 @@ var l = /* @__PURE__ */ r(
|
|
|
14
16
|
null,
|
|
15
17
|
null
|
|
16
18
|
);
|
|
17
|
-
function a(
|
|
19
|
+
function a(c) {
|
|
18
20
|
for (let o in n)
|
|
19
21
|
this[o] = n[o];
|
|
20
22
|
}
|