sctj-components 1.0.3 → 1.0.5
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 +38 -40
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, toDisplayString, createBlock, withCtx, createTextVNode, createCommentVNode, createVNode, isRef, defineComponent, createElementVNode, ref as ref$1,
|
|
1
|
+
import { computed as computed$1, resolveComponent, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, toDisplayString, createBlock, withCtx, createTextVNode, createCommentVNode, createVNode, isRef, defineComponent, createElementVNode, ref as ref$1, watch as watch$1, mergeProps, createSlots, renderSlot, TransitionGroup, onMounted as onMounted$1, onUpdated, nextTick as nextTick$1, withModifiers, normalizeStyle, pushScopeId, popScopeId, onBeforeMount, onUnmounted, withDirectives, vShow, reactive, resolveDirective, useSlots, resolveDynamicComponent, onBeforeUnmount, markRaw, getCurrentInstance as getCurrentInstance$1, toRefs, withKeys, useCssVars, shallowRef } from "vue";
|
|
2
2
|
import VueOfficePdf from "@vue-office/pdf";
|
|
3
3
|
import VueOfficeDocx from "@vue-office/docx";
|
|
4
4
|
import VueOfficeExcel from "@vue-office/excel";
|
|
@@ -11,7 +11,7 @@ import dayjs from "dayjs";
|
|
|
11
11
|
import EZUIKit from "ezuikit-js";
|
|
12
12
|
import axios from "axios";
|
|
13
13
|
import AMapLoader from "@amap/amap-jsapi-loader";
|
|
14
|
-
const
|
|
14
|
+
const index_vue_vue_type_style_index_0_scoped_9371585e_lang = "";
|
|
15
15
|
const _export_sfc = (sfc, props) => {
|
|
16
16
|
const target = sfc.__vccOpts || sfc;
|
|
17
17
|
for (const [key, val] of props) {
|
|
@@ -32,7 +32,7 @@ const _sfc_main$t = {
|
|
|
32
32
|
},
|
|
33
33
|
setup(__props) {
|
|
34
34
|
const props = __props;
|
|
35
|
-
const values = computed(() => {
|
|
35
|
+
const values = computed$1(() => {
|
|
36
36
|
if (props.value !== null && typeof props.value !== "undefined") {
|
|
37
37
|
return Array.isArray(props.value) ? props.value : [String(props.value)];
|
|
38
38
|
} else {
|
|
@@ -68,7 +68,7 @@ const _sfc_main$t = {
|
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
|
-
const SCTJDictTag = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
71
|
+
const SCTJDictTag = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-9371585e"]]);
|
|
72
72
|
const index_vue_vue_type_style_index_0_scoped_03df4f36_lang = "";
|
|
73
73
|
const _hoisted_1$m = { class: "el-tree-select" };
|
|
74
74
|
const _sfc_main$s = {
|
|
@@ -249,7 +249,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
249
249
|
const SCTJSvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$1]]);
|
|
250
250
|
const index$2 = "";
|
|
251
251
|
const index$1 = "";
|
|
252
|
-
const
|
|
252
|
+
const index_vue_vue_type_style_index_0_scoped_94e5f133_lang = "";
|
|
253
253
|
const index_vue_vue_type_style_index_1_lang = "";
|
|
254
254
|
const _hoisted_1$k = { class: "upload-file" };
|
|
255
255
|
const _hoisted_2$e = { class: "el-upload__tip" };
|
|
@@ -630,7 +630,7 @@ const _sfc_main$q = {
|
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
|
-
const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
633
|
+
const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-94e5f133"]]);
|
|
634
634
|
const index_vue_vue_type_style_index_0_scoped_13e683b8_lang = "";
|
|
635
635
|
const _hoisted_1$j = { class: "component-upload-image" };
|
|
636
636
|
const _hoisted_2$d = {
|
|
@@ -1063,8 +1063,8 @@ for (const path in modules) {
|
|
|
1063
1063
|
const p = path.split("assets/icons/svg/")[1].split(".svg")[0];
|
|
1064
1064
|
icons.push(p);
|
|
1065
1065
|
}
|
|
1066
|
-
const
|
|
1067
|
-
const _withScopeId$7 = (n) => (pushScopeId("data-v-
|
|
1066
|
+
const index_vue_vue_type_style_index_0_scoped_1c212d66_lang = "";
|
|
1067
|
+
const _withScopeId$7 = (n) => (pushScopeId("data-v-1c212d66"), n = n(), popScopeId(), n);
|
|
1068
1068
|
const _hoisted_1$h = { class: "icon-body" };
|
|
1069
1069
|
const _hoisted_2$c = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ createElementVNode("i", { class: "el-icon-search el-input__icon" }, null, -1));
|
|
1070
1070
|
const _hoisted_3$a = { class: "icon-list" };
|
|
@@ -1073,8 +1073,8 @@ const _sfc_main$n = {
|
|
|
1073
1073
|
__name: "index",
|
|
1074
1074
|
emits: ["selected"],
|
|
1075
1075
|
setup(__props, { expose, emit }) {
|
|
1076
|
-
const iconName = ref("");
|
|
1077
|
-
const iconList = ref(icons);
|
|
1076
|
+
const iconName = ref$1("");
|
|
1077
|
+
const iconList = ref$1(icons);
|
|
1078
1078
|
function filterIcons() {
|
|
1079
1079
|
iconList.value = icons;
|
|
1080
1080
|
if (iconName.value) {
|
|
@@ -1097,8 +1097,8 @@ const _sfc_main$n = {
|
|
|
1097
1097
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
1098
1098
|
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
1099
1099
|
createVNode(_component_el_input, {
|
|
1100
|
-
modelValue:
|
|
1101
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
1100
|
+
modelValue: iconName.value,
|
|
1101
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => iconName.value = $event),
|
|
1102
1102
|
style: { "position": "relative" },
|
|
1103
1103
|
clearable: "",
|
|
1104
1104
|
placeholder: "\u8BF7\u8F93\u5165\u56FE\u6807\u540D\u79F0",
|
|
@@ -1111,7 +1111,7 @@ const _sfc_main$n = {
|
|
|
1111
1111
|
_: 1
|
|
1112
1112
|
}, 8, ["modelValue"]),
|
|
1113
1113
|
createElementVNode("div", _hoisted_3$a, [
|
|
1114
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
1114
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(iconList.value, (item, index2) => {
|
|
1115
1115
|
return openBlock(), createElementBlock("div", {
|
|
1116
1116
|
key: index2,
|
|
1117
1117
|
onClick: ($event) => selectedIcon(item)
|
|
@@ -1128,7 +1128,7 @@ const _sfc_main$n = {
|
|
|
1128
1128
|
};
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
|
-
const SCTJIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
1131
|
+
const SCTJIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-1c212d66"]]);
|
|
1132
1132
|
function useMobile() {
|
|
1133
1133
|
const isMobile = ref$1(false);
|
|
1134
1134
|
const checkIsMobile = () => {
|
|
@@ -1643,7 +1643,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
1643
1643
|
]);
|
|
1644
1644
|
}
|
|
1645
1645
|
const SCTJTableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render], ["__scopeId", "data-v-45fb95db"]]);
|
|
1646
|
-
const
|
|
1646
|
+
const index_vue_vue_type_style_index_0_scoped_0e82f8bf_lang = "";
|
|
1647
1647
|
const _sfc_main$i = {
|
|
1648
1648
|
__name: "index",
|
|
1649
1649
|
props: {
|
|
@@ -1670,10 +1670,10 @@ const _sfc_main$i = {
|
|
|
1670
1670
|
emits: ["update:showSearch", "queryTable"],
|
|
1671
1671
|
setup(__props, { emit: emits }) {
|
|
1672
1672
|
const props = __props;
|
|
1673
|
-
const value = ref([]);
|
|
1674
|
-
const title = ref("\u663E\u793A/\u9690\u85CF");
|
|
1675
|
-
const open = ref(false);
|
|
1676
|
-
const style = computed(() => {
|
|
1673
|
+
const value = ref$1([]);
|
|
1674
|
+
const title = ref$1("\u663E\u793A/\u9690\u85CF");
|
|
1675
|
+
const open = ref$1(false);
|
|
1676
|
+
const style = computed$1(() => {
|
|
1677
1677
|
const ret = {};
|
|
1678
1678
|
if (props.gutter) {
|
|
1679
1679
|
ret.marginRight = `${props.gutter / 2}px`;
|
|
@@ -1764,16 +1764,16 @@ const _sfc_main$i = {
|
|
|
1764
1764
|
_: 1
|
|
1765
1765
|
}),
|
|
1766
1766
|
createVNode(_component_el_dialog, {
|
|
1767
|
-
title:
|
|
1768
|
-
modelValue:
|
|
1769
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) =>
|
|
1767
|
+
title: title.value,
|
|
1768
|
+
modelValue: open.value,
|
|
1769
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => open.value = $event),
|
|
1770
1770
|
"append-to-body": ""
|
|
1771
1771
|
}, {
|
|
1772
1772
|
default: withCtx(() => [
|
|
1773
1773
|
createVNode(_component_el_transfer, {
|
|
1774
1774
|
titles: ["\u663E\u793A", "\u9690\u85CF"],
|
|
1775
|
-
modelValue:
|
|
1776
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) =>
|
|
1775
|
+
modelValue: value.value,
|
|
1776
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => value.value = $event),
|
|
1777
1777
|
data: __props.columns,
|
|
1778
1778
|
onChange: dataChange
|
|
1779
1779
|
}, null, 8, ["modelValue", "data"])
|
|
@@ -1784,7 +1784,7 @@ const _sfc_main$i = {
|
|
|
1784
1784
|
};
|
|
1785
1785
|
}
|
|
1786
1786
|
};
|
|
1787
|
-
const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
1787
|
+
const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-0e82f8bf"]]);
|
|
1788
1788
|
const index_vue_vue_type_style_index_0_scoped_056cfdde_lang = "";
|
|
1789
1789
|
const _hoisted_1$d = { class: "table-top-action-container" };
|
|
1790
1790
|
const _sfc_main$h = {
|
|
@@ -1884,7 +1884,6 @@ const _sfc_main$f = {
|
|
|
1884
1884
|
__name: "index",
|
|
1885
1885
|
setup(__props) {
|
|
1886
1886
|
const { isMobile } = useMobile();
|
|
1887
|
-
getCurrentInstance$1();
|
|
1888
1887
|
const defaultSlots = computed$1(() => {
|
|
1889
1888
|
console.log("useSlots().default()", useSlots().default());
|
|
1890
1889
|
return useSlots().default();
|
|
@@ -2870,8 +2869,8 @@ const validateCoordinates = (longitude, latitude) => {
|
|
|
2870
2869
|
}
|
|
2871
2870
|
return true;
|
|
2872
2871
|
};
|
|
2873
|
-
const
|
|
2874
|
-
const _withScopeId$5 = (n) => (pushScopeId("data-v-
|
|
2872
|
+
const index_vue_vue_type_style_index_0_scoped_c613bad1_lang = "";
|
|
2873
|
+
const _withScopeId$5 = (n) => (pushScopeId("data-v-c613bad1"), n = n(), popScopeId(), n);
|
|
2875
2874
|
const _hoisted_1$9 = ["id"];
|
|
2876
2875
|
const _hoisted_2$8 = {
|
|
2877
2876
|
key: 0,
|
|
@@ -3197,9 +3196,9 @@ const _sfc_main$b = {
|
|
|
3197
3196
|
};
|
|
3198
3197
|
}
|
|
3199
3198
|
};
|
|
3200
|
-
const SCTJFlvPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
3201
|
-
const
|
|
3202
|
-
const _withScopeId$4 = (n) => (pushScopeId("data-v-
|
|
3199
|
+
const SCTJFlvPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c613bad1"]]);
|
|
3200
|
+
const index_vue_vue_type_style_index_0_scoped_7d1d9d8a_lang = "";
|
|
3201
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-7d1d9d8a"), n = n(), popScopeId(), n);
|
|
3203
3202
|
const _hoisted_1$8 = { class: "control-panel" };
|
|
3204
3203
|
const _hoisted_2$7 = {
|
|
3205
3204
|
class: "form-item",
|
|
@@ -3301,7 +3300,6 @@ const _sfc_main$a = {
|
|
|
3301
3300
|
},
|
|
3302
3301
|
setup(__props, { expose }) {
|
|
3303
3302
|
const props = __props;
|
|
3304
|
-
getCurrentInstance$1();
|
|
3305
3303
|
const errMessage = ref$1("");
|
|
3306
3304
|
const loading = ref$1(true);
|
|
3307
3305
|
const player = ref$1(null);
|
|
@@ -3764,9 +3762,9 @@ const _sfc_main$a = {
|
|
|
3764
3762
|
};
|
|
3765
3763
|
}
|
|
3766
3764
|
};
|
|
3767
|
-
const SCTJH5hkPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
3768
|
-
const
|
|
3769
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
3765
|
+
const SCTJH5hkPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-7d1d9d8a"]]);
|
|
3766
|
+
const index_vue_vue_type_style_index_0_scoped_91800a3c_lang = "";
|
|
3767
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-91800a3c"), n = n(), popScopeId(), n);
|
|
3770
3768
|
const _hoisted_1$7 = { class: "helmet-player-container" };
|
|
3771
3769
|
const _hoisted_2$6 = { class: "title-section" };
|
|
3772
3770
|
const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "title-text" }, " \u89C6\u9891\u76D1\u63A7 ", -1));
|
|
@@ -4135,7 +4133,7 @@ const _sfc_main$9 = {
|
|
|
4135
4133
|
};
|
|
4136
4134
|
}
|
|
4137
4135
|
};
|
|
4138
|
-
const SCTJHelmetPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
4136
|
+
const SCTJHelmetPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-91800a3c"]]);
|
|
4139
4137
|
const config = {
|
|
4140
4138
|
playerDefaults: {
|
|
4141
4139
|
videoQuality: 2,
|
|
@@ -9936,7 +9934,7 @@ const _sfc_main$2 = {
|
|
|
9936
9934
|
}
|
|
9937
9935
|
};
|
|
9938
9936
|
const SCTJBusinessMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6b8c3e46"]]);
|
|
9939
|
-
const
|
|
9937
|
+
const BimViewer_vue_vue_type_style_index_0_scoped_b60f1ba4_lang = "";
|
|
9940
9938
|
const _sfc_main$1 = {
|
|
9941
9939
|
__name: "BimViewer",
|
|
9942
9940
|
props: {
|
|
@@ -10184,8 +10182,8 @@ const _sfc_main$1 = {
|
|
|
10184
10182
|
};
|
|
10185
10183
|
}
|
|
10186
10184
|
};
|
|
10187
|
-
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
10188
|
-
const
|
|
10185
|
+
const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b60f1ba4"]]);
|
|
10186
|
+
const DwgViewer_vue_vue_type_style_index_0_scoped_ab9c8ebd_lang = "";
|
|
10189
10187
|
const _sfc_main = {
|
|
10190
10188
|
__name: "DwgViewer",
|
|
10191
10189
|
props: {
|
|
@@ -10424,7 +10422,7 @@ const _sfc_main = {
|
|
|
10424
10422
|
};
|
|
10425
10423
|
}
|
|
10426
10424
|
};
|
|
10427
|
-
const SCTJDwgViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
10425
|
+
const SCTJDwgViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ab9c8ebd"]]);
|
|
10428
10426
|
const components = [
|
|
10429
10427
|
{ component: SCTJDictTag, name: "SCTJDictTag" },
|
|
10430
10428
|
{ component: SCTJTreeSelect, name: "SCTJTreeSelect" },
|