sctj-components 1.0.46 → 1.0.47
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/lib/sctj-components.es.js +89 -22
- package/lib/sctj-components.umd.js +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
40
40
|
};
|
|
41
41
|
const _hoisted_1$l = { class: "dict-tag-container" };
|
|
42
42
|
const _hoisted_2$c = ["index"];
|
|
43
|
-
const _sfc_main$
|
|
43
|
+
const _sfc_main$s = {
|
|
44
44
|
__name: "index",
|
|
45
45
|
props: {
|
|
46
46
|
options: {
|
|
@@ -87,10 +87,10 @@ const _sfc_main$r = {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const SCTJDictTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90
|
+
const SCTJDictTag = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-659e1d01"]]);
|
|
91
91
|
const index_vue_vue_type_style_index_0_scope_true_lang = "";
|
|
92
92
|
const _hoisted_1$k = ["xlink:href", "fill"];
|
|
93
|
-
const _sfc_main$
|
|
93
|
+
const _sfc_main$r = {
|
|
94
94
|
__name: "index",
|
|
95
95
|
props: {
|
|
96
96
|
iconClass: {
|
|
@@ -139,7 +139,7 @@ const _hoisted_4$7 = { style: { "color": "#f56c6c" } };
|
|
|
139
139
|
const _hoisted_5$6 = ["title"];
|
|
140
140
|
const _hoisted_6$3 = { class: "ele-upload-list__item-content-action" };
|
|
141
141
|
const _hoisted_7$3 = { style: { "width": "100%", "height": "100%", "overflow": "auto" } };
|
|
142
|
-
const _sfc_main$
|
|
142
|
+
const _sfc_main$q = {
|
|
143
143
|
__name: "index",
|
|
144
144
|
props: {
|
|
145
145
|
modelValue: [String, Object, Array],
|
|
@@ -517,7 +517,7 @@ const _sfc_main$p = {
|
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
519
|
};
|
|
520
|
-
const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
520
|
+
const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-006fbc77"]]);
|
|
521
521
|
const index_vue_vue_type_style_index_0_scoped_672e5149_lang = "";
|
|
522
522
|
const _hoisted_1$i = { class: "component-upload-image" };
|
|
523
523
|
const _hoisted_2$a = {
|
|
@@ -527,7 +527,7 @@ const _hoisted_2$a = {
|
|
|
527
527
|
const _hoisted_3$8 = { style: { "color": "#f56c6c" } };
|
|
528
528
|
const _hoisted_4$6 = { style: { "color": "#f56c6c" } };
|
|
529
529
|
const _hoisted_5$5 = ["src"];
|
|
530
|
-
const _sfc_main$
|
|
530
|
+
const _sfc_main$p = {
|
|
531
531
|
__name: "index",
|
|
532
532
|
props: {
|
|
533
533
|
modelValue: {
|
|
@@ -791,10 +791,10 @@ const _sfc_main$o = {
|
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
|
-
const SCTJImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
794
|
+
const SCTJImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-672e5149"]]);
|
|
795
795
|
const index_vue_vue_type_style_index_0_scoped_e91fd2ba_lang = "";
|
|
796
796
|
const _hoisted_1$h = { class: "image-slot" };
|
|
797
|
-
const _sfc_main$
|
|
797
|
+
const _sfc_main$o = {
|
|
798
798
|
__name: "index",
|
|
799
799
|
props: {
|
|
800
800
|
enableDelete: {
|
|
@@ -925,7 +925,7 @@ const _sfc_main$n = {
|
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
927
|
};
|
|
928
|
-
const SCTJImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
928
|
+
const SCTJImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e91fd2ba"]]);
|
|
929
929
|
const icons = [
|
|
930
930
|
"404",
|
|
931
931
|
"asset",
|
|
@@ -1020,7 +1020,7 @@ const index_vue_vue_type_style_index_0_scoped_37029e19_lang = "";
|
|
|
1020
1020
|
const _hoisted_1$g = { class: "icon-content" };
|
|
1021
1021
|
const _hoisted_2$9 = { class: "icon-list" };
|
|
1022
1022
|
const _hoisted_3$7 = ["onClick"];
|
|
1023
|
-
const _sfc_main$
|
|
1023
|
+
const _sfc_main$n = {
|
|
1024
1024
|
__name: "index",
|
|
1025
1025
|
props: {
|
|
1026
1026
|
modelValue: {
|
|
@@ -1111,7 +1111,7 @@ const _sfc_main$m = {
|
|
|
1111
1111
|
unref(iconName) ? {
|
|
1112
1112
|
name: "prefix",
|
|
1113
1113
|
fn: withCtx(() => [
|
|
1114
|
-
createVNode(_sfc_main$
|
|
1114
|
+
createVNode(_sfc_main$r, { "icon-class": unref(iconName) }, null, 8, ["icon-class"])
|
|
1115
1115
|
]),
|
|
1116
1116
|
key: "0"
|
|
1117
1117
|
} : void 0
|
|
@@ -1144,7 +1144,7 @@ const _sfc_main$m = {
|
|
|
1144
1144
|
key: index2,
|
|
1145
1145
|
onClick: ($event) => selectedIcon(item)
|
|
1146
1146
|
}, [
|
|
1147
|
-
createVNode(_sfc_main$
|
|
1147
|
+
createVNode(_sfc_main$r, {
|
|
1148
1148
|
"icon-class": item,
|
|
1149
1149
|
style: { "height": "30px", "width": "16px", "flex-shrink": "0" }
|
|
1150
1150
|
}, null, 8, ["icon-class"]),
|
|
@@ -1159,7 +1159,7 @@ const _sfc_main$m = {
|
|
|
1159
1159
|
};
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
|
-
const SCTJIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1162
|
+
const SCTJIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-37029e19"]]);
|
|
1163
1163
|
function useMobile() {
|
|
1164
1164
|
const isMobile = ref$1(false);
|
|
1165
1165
|
const checkIsMobile = () => {
|
|
@@ -1186,7 +1186,7 @@ function useMobile() {
|
|
|
1186
1186
|
checkIsMobile
|
|
1187
1187
|
};
|
|
1188
1188
|
}
|
|
1189
|
-
const _sfc_main$
|
|
1189
|
+
const _sfc_main$m = {
|
|
1190
1190
|
__name: "index",
|
|
1191
1191
|
props: {
|
|
1192
1192
|
modelValue: {
|
|
@@ -1292,7 +1292,7 @@ const _sfc_main$l = {
|
|
|
1292
1292
|
};
|
|
1293
1293
|
const index_vue_vue_type_style_index_0_scoped_a2fe1763_lang = "";
|
|
1294
1294
|
const _hoisted_1$f = { class: "el-tree-select" };
|
|
1295
|
-
const _sfc_main$
|
|
1295
|
+
const _sfc_main$l = {
|
|
1296
1296
|
__name: "index",
|
|
1297
1297
|
props: {
|
|
1298
1298
|
objMap: {
|
|
@@ -1426,7 +1426,71 @@ const _sfc_main$k = {
|
|
|
1426
1426
|
};
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
|
-
const SCTJTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1429
|
+
const SCTJTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-a2fe1763"]]);
|
|
1430
|
+
const _sfc_main$k = {
|
|
1431
|
+
__name: "index",
|
|
1432
|
+
props: {
|
|
1433
|
+
modelValue: {
|
|
1434
|
+
type: [String, Array],
|
|
1435
|
+
default: ""
|
|
1436
|
+
},
|
|
1437
|
+
options: {
|
|
1438
|
+
type: Array,
|
|
1439
|
+
default: () => []
|
|
1440
|
+
},
|
|
1441
|
+
multiple: {
|
|
1442
|
+
type: Boolean,
|
|
1443
|
+
default: false
|
|
1444
|
+
},
|
|
1445
|
+
valueProp: {
|
|
1446
|
+
type: String,
|
|
1447
|
+
default: "value"
|
|
1448
|
+
},
|
|
1449
|
+
labelProp: {
|
|
1450
|
+
type: String,
|
|
1451
|
+
default: "label"
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
emits: ["update:modelValue"],
|
|
1455
|
+
setup(__props, { emit }) {
|
|
1456
|
+
const props = __props;
|
|
1457
|
+
const selectValue = computed$1({
|
|
1458
|
+
get() {
|
|
1459
|
+
if (props.multiple) {
|
|
1460
|
+
return Array.isArray(props.modelValue) ? props.modelValue : props.modelValue.split(",");
|
|
1461
|
+
} else {
|
|
1462
|
+
return props.modelValue;
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
set(val) {
|
|
1466
|
+
emit("update:modelValue", Array.isArray(val) ? val.join(",") : val);
|
|
1467
|
+
}
|
|
1468
|
+
});
|
|
1469
|
+
return (_ctx, _cache) => {
|
|
1470
|
+
const _component_el_option = resolveComponent("el-option");
|
|
1471
|
+
const _component_el_select = resolveComponent("el-select");
|
|
1472
|
+
return openBlock(), createBlock(_component_el_select, mergeProps({
|
|
1473
|
+
modelValue: unref(selectValue),
|
|
1474
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectValue) ? selectValue.value = $event : null),
|
|
1475
|
+
placeholder: "\u8BF7\u9009\u62E9\u4E0B\u62C9\u6846\u590D\u9009",
|
|
1476
|
+
multiple: __props.multiple,
|
|
1477
|
+
filterable: "",
|
|
1478
|
+
clearable: ""
|
|
1479
|
+
}, _ctx.$attrs), {
|
|
1480
|
+
default: withCtx(() => [
|
|
1481
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (dict) => {
|
|
1482
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
1483
|
+
key: dict[__props.valueProp],
|
|
1484
|
+
label: dict[__props.labelProp],
|
|
1485
|
+
value: dict[__props.valueProp]
|
|
1486
|
+
}, null, 8, ["label", "value"]);
|
|
1487
|
+
}), 128))
|
|
1488
|
+
]),
|
|
1489
|
+
_: 1
|
|
1490
|
+
}, 16, ["modelValue", "multiple"]);
|
|
1491
|
+
};
|
|
1492
|
+
}
|
|
1493
|
+
};
|
|
1430
1494
|
const index_vue_vue_type_style_index_0_scoped_0e809a5c_lang = "";
|
|
1431
1495
|
const _hoisted_1$e = { class: "table-container" };
|
|
1432
1496
|
const _sfc_main$j = {
|
|
@@ -9484,13 +9548,14 @@ const SCTJDwgViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "dat
|
|
|
9484
9548
|
const components = [
|
|
9485
9549
|
{ component: SCTJDictTag, name: "SCTJDictTag" },
|
|
9486
9550
|
{ component: SCTJTreeSelect, name: "SCTJTreeSelect" },
|
|
9487
|
-
{ component: _sfc_main$
|
|
9551
|
+
{ component: _sfc_main$k, name: "SCTJSelect" },
|
|
9552
|
+
{ component: _sfc_main$r, name: "SCTJIcon" },
|
|
9488
9553
|
{ component: SCTJFileUpload, name: "SCTJFileUpload" },
|
|
9489
9554
|
{ component: SCTJImageUpload, name: "SCTJImageUpload" },
|
|
9490
9555
|
{ component: SCTJImagePreview, name: "SCTJImagePreview" },
|
|
9491
9556
|
{ component: SCTJIconSelect, name: "SCTJIconSelect" },
|
|
9492
9557
|
{ component: SCTJSearch, name: "SCTJSearch" },
|
|
9493
|
-
{ component: _sfc_main$
|
|
9558
|
+
{ component: _sfc_main$m, name: "SCTJDateRangePicker" },
|
|
9494
9559
|
{ component: SCTJTable, name: "SCTJTable" },
|
|
9495
9560
|
{ component: SCTJTableContainer, name: "SCTJTableContainer" },
|
|
9496
9561
|
{ component: SCTJTablePageContainer, name: "SCTJTablePageContainer" },
|
|
@@ -9520,13 +9585,14 @@ const index = {
|
|
|
9520
9585
|
install,
|
|
9521
9586
|
SCTJDictTag,
|
|
9522
9587
|
SCTJTreeSelect,
|
|
9523
|
-
|
|
9588
|
+
SCTJSelect: _sfc_main$k,
|
|
9589
|
+
SCTJIcon: _sfc_main$r,
|
|
9524
9590
|
SCTJFileUpload,
|
|
9525
9591
|
SCTJImageUpload,
|
|
9526
9592
|
SCTJImagePreview,
|
|
9527
9593
|
SCTJIconSelect,
|
|
9528
9594
|
SCTJSearch,
|
|
9529
|
-
SCTJDateRangePicker: _sfc_main$
|
|
9595
|
+
SCTJDateRangePicker: _sfc_main$m,
|
|
9530
9596
|
SCTJTable,
|
|
9531
9597
|
SCTJTableContainer,
|
|
9532
9598
|
SCTJTablePageContainer,
|
|
@@ -9553,13 +9619,13 @@ export {
|
|
|
9553
9619
|
_sfc_main$d as SCTJBtnContainer,
|
|
9554
9620
|
SCTJBusinessMapDrawingDialog,
|
|
9555
9621
|
SCTJCommonChart,
|
|
9556
|
-
_sfc_main$
|
|
9622
|
+
_sfc_main$m as SCTJDateRangePicker,
|
|
9557
9623
|
SCTJDialogTable,
|
|
9558
9624
|
SCTJDictTag,
|
|
9559
9625
|
SCTJDwgViewer,
|
|
9560
9626
|
SCTJFileUpload,
|
|
9561
9627
|
SCTJFlvPlayer,
|
|
9562
|
-
_sfc_main$
|
|
9628
|
+
_sfc_main$r as SCTJIcon,
|
|
9563
9629
|
SCTJIconSelect,
|
|
9564
9630
|
_sfc_main$6 as SCTJIframe,
|
|
9565
9631
|
SCTJImagePreview,
|
|
@@ -9571,6 +9637,7 @@ export {
|
|
|
9571
9637
|
SCTJRightToolbar,
|
|
9572
9638
|
SCTJScrollTable,
|
|
9573
9639
|
SCTJSearch,
|
|
9640
|
+
_sfc_main$k as SCTJSelect,
|
|
9574
9641
|
SCTJTable,
|
|
9575
9642
|
SCTJTableContainer,
|
|
9576
9643
|
SCTJTablePageContainer,
|