@newview/file-ui 1.1.23 → 1.1.24
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/README.md +3 -0
- package/dist/file-ui.js +18 -23
- package/dist/file-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/file-ui.js
CHANGED
|
@@ -606,7 +606,7 @@ const UploadFile_vue_vue_type_style_index_0_scoped_0e35ec0f_lang = "";
|
|
|
606
606
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-0e35ec0f"), n = n(), popScopeId(), n);
|
|
607
607
|
const _hoisted_1$3 = { class: "uploadFile uploadPage" };
|
|
608
608
|
const _hoisted_2$3 = ["onClick", "title"];
|
|
609
|
-
const _hoisted_3$
|
|
609
|
+
const _hoisted_3$3 = { class: "file-upload-list-cover" };
|
|
610
610
|
const _hoisted_4$2 = { class: "file-upload-btn" };
|
|
611
611
|
const _hoisted_5$2 = {
|
|
612
612
|
key: 1,
|
|
@@ -668,7 +668,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
668
668
|
width: "100%",
|
|
669
669
|
height: "100%"
|
|
670
670
|
}, null, 8, ["src"]),
|
|
671
|
-
createElementVNode("div", _hoisted_3$
|
|
671
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
672
672
|
createVNode(_component_Space, null, {
|
|
673
673
|
default: withCtx(() => [
|
|
674
674
|
createVNode(_component_Icon, {
|
|
@@ -18344,7 +18344,7 @@ const _hoisted_2$2 = {
|
|
|
18344
18344
|
ref: "StructureTypeSel",
|
|
18345
18345
|
style: { "height": "220px", "display": "inline-block" }
|
|
18346
18346
|
};
|
|
18347
|
-
const _hoisted_3$
|
|
18347
|
+
const _hoisted_3$2 = { class: "nv-cascader-box nv-overflow-auto" };
|
|
18348
18348
|
const _hoisted_4$1 = ["onClick"];
|
|
18349
18349
|
const _hoisted_5$1 = {
|
|
18350
18350
|
key: 0,
|
|
@@ -18389,7 +18389,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18389
18389
|
}, {
|
|
18390
18390
|
content: withCtx(() => [
|
|
18391
18391
|
!_ctx.searchValue ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
18392
|
-
createElementVNode("div", _hoisted_3$
|
|
18392
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
18393
18393
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.StructureTypeData, (item) => {
|
|
18394
18394
|
return openBlock(), createElementBlock("div", {
|
|
18395
18395
|
class: normalizeClass(["nv-c-p nv-cascader-item", { active: _ctx.TypeValue.includes(item.value) }]),
|
|
@@ -18729,7 +18729,7 @@ const NvStructureSelect_vue_vue_type_style_index_0_scoped_fbbaca53_lang = "";
|
|
|
18729
18729
|
const _withScopeId = (n) => (pushScopeId("data-v-fbbaca53"), n = n(), popScopeId(), n);
|
|
18730
18730
|
const _hoisted_1$1 = { key: 1 };
|
|
18731
18731
|
const _hoisted_2$1 = { class: "nv-pos-r" };
|
|
18732
|
-
const _hoisted_3 = { class: "nv-c-p structure-sel-box" };
|
|
18732
|
+
const _hoisted_3$1 = { class: "nv-c-p structure-sel-box" };
|
|
18733
18733
|
const _hoisted_4 = { key: 0 };
|
|
18734
18734
|
const _hoisted_5 = {
|
|
18735
18735
|
key: 0,
|
|
@@ -18873,7 +18873,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18873
18873
|
]),
|
|
18874
18874
|
default: withCtx(() => [
|
|
18875
18875
|
createElementVNode("div", _hoisted_2$1, [
|
|
18876
|
-
createElementVNode("div", _hoisted_3, [
|
|
18876
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
18877
18877
|
_ctx.StructureInstanceCheckData.length == 0 ? (openBlock(), createElementBlock("div", _hoisted_4, "点击选择构件")) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
18878
18878
|
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_5, " 已选择" + toDisplayString(_ctx.StructureInstanceCheckData.length) + "个构件(" + toDisplayString(_ctx.StructureInstanceCheckData.map((e) => e["NodeName"]).toString()) + ") ", 1)) : (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
18879
18879
|
createTextVNode(toDisplayString(_ctx.StructureInstanceCheckData[0].NodeName) + " ", 1),
|
|
@@ -19538,9 +19538,10 @@ class UploadFileInstance2 extends BaseInstance {
|
|
|
19538
19538
|
}
|
|
19539
19539
|
//#endregion 业务逻辑 文件预览 END
|
|
19540
19540
|
}
|
|
19541
|
-
const
|
|
19541
|
+
const UploadFileList_vue_vue_type_style_index_0_scoped_f6018903_lang = "";
|
|
19542
19542
|
const _hoisted_1 = { class: "uploadFileList" };
|
|
19543
19543
|
const _hoisted_2 = { class: "up-btn-box" };
|
|
19544
|
+
const _hoisted_3 = { class: "nv-flex-1" };
|
|
19544
19545
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19545
19546
|
const _component_Spin = resolveComponent("Spin");
|
|
19546
19547
|
const _component_Button = resolveComponent("Button");
|
|
@@ -19559,7 +19560,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19559
19560
|
"dis-hover": "",
|
|
19560
19561
|
key: index,
|
|
19561
19562
|
style: { "margin-bottom": "8px", "height": "100%" }
|
|
19562
|
-
},
|
|
19563
|
+
}, {
|
|
19563
19564
|
default: withCtx(() => [
|
|
19564
19565
|
createElementVNode("div", _hoisted_2, [
|
|
19565
19566
|
!_ctx.isShowtrash ? (openBlock(), createBlock(_component_Upload, {
|
|
@@ -19607,22 +19608,16 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19607
19608
|
_: 1
|
|
19608
19609
|
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
19609
19610
|
]),
|
|
19610
|
-
|
|
19611
|
-
|
|
19612
|
-
|
|
19613
|
-
|
|
19614
|
-
|
|
19611
|
+
createElementVNode("div", _hoisted_3, [
|
|
19612
|
+
createVNode(_component_NvGrid, {
|
|
19613
|
+
ref_for: true,
|
|
19614
|
+
ref: (el) => _ctx.getuploadListGridRef(el, index),
|
|
19615
|
+
option: _ctx.uploadListGridOption
|
|
19616
|
+
}, null, 8, ["option"])
|
|
19617
|
+
])
|
|
19615
19618
|
]),
|
|
19616
19619
|
_: 2
|
|
19617
|
-
},
|
|
19618
|
-
groupName != "默认" ? {
|
|
19619
|
-
name: "title",
|
|
19620
|
-
fn: withCtx(() => [
|
|
19621
|
-
createTextVNode(toDisplayString(groupName), 1)
|
|
19622
|
-
]),
|
|
19623
|
-
key: "0"
|
|
19624
|
-
} : void 0
|
|
19625
|
-
]), 1024);
|
|
19620
|
+
}, 1024);
|
|
19626
19621
|
}), 128)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
19627
19622
|
createTextVNode("附件列表暂不支持分组")
|
|
19628
19623
|
], 64)),
|
|
@@ -19635,7 +19630,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19635
19630
|
}, null, 8, ["modelValue", "preview-list", "preview-index", "file-info"])
|
|
19636
19631
|
]);
|
|
19637
19632
|
}
|
|
19638
|
-
const UploadFileList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
19633
|
+
const UploadFileList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-f6018903"]]);
|
|
19639
19634
|
const propDefine = {
|
|
19640
19635
|
onlyView: {
|
|
19641
19636
|
// 是否只读
|