agilebuilder-ui 1.1.65-tmp23 → 1.1.65-tmp25

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.
Files changed (82) hide show
  1. package/dist/index.full.min.js +474 -281
  2. package/dist/style.css +181 -175
  3. package/es/chat-embed/src/chat-sender.vue.mjs +1 -1
  4. package/es/chat-embed/src/chat-sender.vue2.mjs +26 -28
  5. package/es/chat-embed/src/index.vue.mjs +1 -1
  6. package/es/chat-embed/src/index.vue2.mjs +29 -29
  7. package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +68 -68
  8. package/es/department-tree-mobile/src/department-tree-service.mjs +20 -18
  9. package/es/department-tree-mobile/src/dept-result.vue.mjs +12 -11
  10. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +3 -3
  11. package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +6 -6
  12. package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +1 -1
  13. package/es/fs-preview/src/fs-preview.vue.mjs +26 -18
  14. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +1 -1
  15. package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +1 -1
  16. package/es/index.mjs +27 -22
  17. package/es/src/components/Card/index.mjs +34 -31
  18. package/es/src/components/Scrollbar/index.vue.mjs +6 -6
  19. package/es/src/i18n/langs/cn.mjs +1 -1
  20. package/es/src/i18n/langs/en.mjs +1 -1
  21. package/es/src/utils/common-util.mjs +47 -39
  22. package/es/src/utils/watermark.mjs +35 -25
  23. package/es/style.css +708 -702
  24. package/es/super-grid/src/apis.mjs +199 -173
  25. package/es/super-grid/src/components/mobile-table-card.mjs +53 -53
  26. package/es/super-grid/src/normal-column-content.vue.mjs +12 -12
  27. package/es/super-grid/src/normal-column.vue.mjs +4 -5
  28. package/es/super-grid/src/search-button.vue.mjs +4 -2
  29. package/es/super-grid/src/search-form-dialog.vue.mjs +22 -11
  30. package/es/super-grid/src/search-form-item.vue.mjs +5 -5
  31. package/es/super-grid/src/search-form-mobile.vue.mjs +19 -19
  32. package/es/super-grid/src/search-form-open.vue.mjs +5 -3
  33. package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +3 -1
  34. package/es/super-grid/src/search-form.vue.mjs +19 -13
  35. package/es/super-grid/src/super-grid.vue.mjs +271 -209
  36. package/es/super-grid/src/utils.mjs +346 -300
  37. package/es/utils/organization.mjs +24 -11
  38. package/lib/chat-embed/src/chat-sender.vue.cjs +1 -1
  39. package/lib/chat-embed/src/chat-sender.vue2.cjs +44 -46
  40. package/lib/chat-embed/src/index.vue.cjs +1 -1
  41. package/lib/chat-embed/src/index.vue2.cjs +14 -14
  42. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +58 -58
  43. package/lib/department-tree-mobile/src/department-tree-service.cjs +10 -8
  44. package/lib/department-tree-mobile/src/dept-result.vue.cjs +10 -10
  45. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +16 -16
  46. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +5 -5
  47. package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +1 -1
  48. package/lib/fs-preview/src/fs-preview.vue.cjs +13 -5
  49. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +1 -1
  50. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +13 -13
  51. package/lib/index.cjs +11 -11
  52. package/lib/src/components/Card/index.cjs +14 -11
  53. package/lib/src/components/Scrollbar/index.vue.cjs +2 -2
  54. package/lib/src/i18n/langs/cn.cjs +1 -1
  55. package/lib/src/i18n/langs/en.cjs +1 -1
  56. package/lib/src/utils/common-util.cjs +24 -17
  57. package/lib/src/utils/watermark.cjs +32 -21
  58. package/lib/style.css +888 -882
  59. package/lib/super-grid/src/apis.cjs +190 -164
  60. package/lib/super-grid/src/components/mobile-table-card.cjs +37 -37
  61. package/lib/super-grid/src/normal-column-content.vue.cjs +2 -2
  62. package/lib/super-grid/src/normal-column.vue.cjs +10 -11
  63. package/lib/super-grid/src/search-button.vue.cjs +3 -1
  64. package/lib/super-grid/src/search-form-dialog.vue.cjs +19 -8
  65. package/lib/super-grid/src/search-form-item.vue.cjs +2 -2
  66. package/lib/super-grid/src/search-form-mobile.vue.cjs +7 -7
  67. package/lib/super-grid/src/search-form-open.vue.cjs +7 -5
  68. package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +3 -1
  69. package/lib/super-grid/src/search-form.vue.cjs +15 -10
  70. package/lib/super-grid/src/super-grid.vue.cjs +220 -158
  71. package/lib/super-grid/src/utils.cjs +349 -274
  72. package/lib/utils/organization.cjs +35 -24
  73. package/package.json +1 -1
  74. package/src/components/Card/index.jsx +12 -2
  75. package/src/components/Scrollbar/index.vue +165 -154
  76. package/src/i18n/langs/cn.js +10 -2
  77. package/src/i18n/langs/en.js +10 -2
  78. package/src/styles/index.scss +9 -2
  79. package/src/styles/theme/default.scss +18 -13
  80. package/src/styles/theme/tiffany-blue-mobile/home.scss +44 -1
  81. package/src/utils/auth-api.js +1 -0
  82. package/src/utils/common-util.js +13 -0
@@ -2,44 +2,46 @@ function e() {
2
2
  return window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/departments/0");
3
3
  }
4
4
  function n(e2, n2, r2) {
5
- return e2 && e2.length > 0 ? t(e2, r2) : o(n2);
5
+ return e2 && e2.length > 0 ? o(e2, r2) : t(n2);
6
6
  }
7
- function t(e2, n2) {
8
- let t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/point-departments";
9
- return n2 && (t2 += "/" + n2), new Promise((n3, o2) => {
10
- window.$vueApp.config.globalProperties.$http.post(t2, e2).then((e3) => {
7
+ function o(e2, n2) {
8
+ let o2 = window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/point-departments";
9
+ return n2 && (o2 += "/" + n2), new Promise((n3, t2) => {
10
+ window.$vueApp.config.globalProperties.$http.post(o2, e2).then((e3) => {
11
11
  n3(e3);
12
12
  });
13
13
  });
14
14
  }
15
- function o(e2) {
16
- return new Promise((n2, t2) => {
15
+ function t(e2) {
16
+ return new Promise((n2, o2) => {
17
17
  window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/departments/" + e2).then((e3) => {
18
18
  n2(e3);
19
19
  });
20
20
  });
21
21
  }
22
22
  function r(e2, n2) {
23
- n2 = [], e2.forEach((e3) => {
23
+ e2.forEach((e3) => {
24
24
  n2.push(e3.nodeId);
25
25
  });
26
26
  }
27
- function i(e2, n2, t2, o2) {
27
+ function i(e2, n2, o2, t2) {
28
28
  return new Promise((r2, i2) => {
29
29
  const p = [];
30
30
  e2 ? e2 === n2 || "所有部门" === e2 ? (p.push(function(e3) {
31
31
  var n3 = { id: e3, name: "所有部门" };
32
32
  return n3;
33
- }(n2)), r2(p)) : function(e3, n3, t3) {
34
- return new Promise((o3, r3) => {
35
- e3 && n3 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-departments?searchField=" + e3 + "&selectDeptInfo=" + n3 + "&separator=" + t3).then((e4) => {
36
- o3(e4);
33
+ }(n2)), r2(p)) : function(e3, n3, o3) {
34
+ return new Promise((t3, r3) => {
35
+ e3 && n3 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-departments?searchField=" + e3 + "&selectDeptInfo=" + n3 + "&separator=" + o3).then((e4) => {
36
+ t3(e4);
37
37
  }).catch((e4) => {
38
38
  r3(e4);
39
- }) : o3([]);
39
+ }) : t3([]);
40
40
  });
41
- }(t2, e2, o2).then((e3) => {
42
- r2(e3);
41
+ }(o2, e2, t2).then((e3) => {
42
+ e3.forEach((e4) => {
43
+ e4.nodeType = "DEPARTMENT", e4.nodeId = e4.nodeType + "~" + e4.id;
44
+ }), r2(e3);
43
45
  }).catch((e3) => {
44
46
  i2(e3);
45
47
  }) : r2(p);
@@ -50,6 +52,6 @@ export {
50
52
  e as getTenant,
51
53
  n as getTenantChildren,
52
54
  i as initSelectDepts,
53
- o as loadDepartment,
54
- t as loadPointDepartments
55
+ t as loadDepartment,
56
+ o as loadPointDepartments
55
57
  };
@@ -1,16 +1,17 @@
1
- import { defineComponent as e, ref as t, resolveComponent as l, openBlock as a, createBlock as o, unref as s, isRef as r, withCtx as n, createElementVNode as d, toDisplayString as i, createVNode as u } from "vue";
1
+ import { defineComponent as e, ref as t, resolveComponent as l, openBlock as o, createBlock as s, unref as a, isRef as i, withCtx as r, createElementVNode as n, toDisplayString as d, createVNode as u, createTextVNode as m } from "vue";
2
2
  import { DeleteFilled as c } from "@element-plus/icons-vue";
3
- const m = { style: { "text-align": "center" } }, p = { class: "item-row" }, f = { class: "item-label" }, v = ["onClick"], k = e({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(e2, { expose: k2, emit: _ }) {
4
- let h = t(false);
5
- return k2({ showResult: function() {
6
- h.value = true;
7
- } }), (t2, k3) => {
8
- const w = l("el-icon"), y = l("el-tree"), D = l("el-drawer");
9
- return a(), o(D, { modelValue: s(h), "onUpdate:modelValue": k3[0] || (k3[0] = (e3) => r(h) ? h.value = e3 : h = e3), direction: "btt", size: "80%", class: "organization-tree" }, { header: n(() => [d("div", m, i(t2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: n(() => [u(y, { ref: "orgResultTreeRef", data: e2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: n(({ node: e3, data: t3 }) => [d("div", p, [d("div", f, i(t3.showName), 1), d("div", { class: "item-side", onClick: (e4) => {
10
- _("removeDept", t3);
11
- } }, [u(w, null, { default: n(() => [u(s(c))]), _: 1 })], 8, v)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
3
+ import { getShowDeptNamePath as p } from "../../utils/organization.mjs";
4
+ const f = { style: { "text-align": "center" } }, v = { class: "item-row" }, h = { class: "item-label" }, k = { class: "item-description" }, w = ["onClick"], _ = e({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(e2, { expose: _2, emit: g }) {
5
+ let y = t(false);
6
+ return _2({ showResult: function() {
7
+ y.value = true;
8
+ } }), (t2, _3) => {
9
+ const D = l("el-icon"), R = l("el-tree"), x = l("el-drawer");
10
+ return o(), s(x, { modelValue: a(y), "onUpdate:modelValue": _3[0] || (_3[0] = (e3) => i(y) ? y.value = e3 : y = e3), direction: "btt", size: "80%", class: "organization-tree" }, { header: r(() => [n("div", f, d(t2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: r(() => [u(R, { ref: "orgResultTreeRef", data: e2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: r(({ node: e3, data: t3 }) => [n("div", v, [n("div", h, [m(d(t3.showName), 1), n("span", k, d(a(p)(t3.showName, t3)), 1)]), n("div", { class: "item-side", onClick: (e4) => {
11
+ g("removeDept", t3);
12
+ } }, [u(D, null, { default: r(() => [u(a(c))]), _: 1 })], 8, w)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
12
13
  };
13
14
  } });
14
15
  export {
15
- k as default
16
+ _ as default
16
17
  };
@@ -8,10 +8,10 @@ import i from "../../utils/memory-cache-utils.mjs";
8
8
  import s from "./group-user-single-tree.vue.mjs";
9
9
  import o from "./group-user/group-user.vue.mjs";
10
10
  import u from "../../empty-state/index.vue.mjs";
11
- import { resolveComponent as d, openBlock as c, createElementBlock as h, createVNode as m, withCtx as p, withKeys as f, Fragment as g, createElementVNode as N, createBlock as y, toDisplayString as T, createCommentVNode as k } from "vue";
11
+ import { resolveComponent as d, openBlock as c, createElementBlock as h, createVNode as p, withCtx as m, withKeys as f, Fragment as g, createElementVNode as N, createBlock as y, toDisplayString as T, createCommentVNode as k } from "vue";
12
12
  import "./department-user-single-tree-inline.vue2.mjs";
13
13
  import S from "../../_virtual/_plugin-vue_export-helper.mjs";
14
- const C = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "children", isLeaf: "leaf" }, searchParam: { userField: null, searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, searchFields: [], searchField: "name", restaurants: [], searchValue: null, searchResult: [], searchStoreKey: "searchDepartmentUser", tenantInfo: {}, selectUser: null, selectNodeInfo: null, notMultipleClickNum: null, notMultipleClickNode: null, memoryCacheKey: "DEPARTMENT_USER_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, activeTab: "orgTree", isShowGroupTree: true, canShowOrgTree: false }), name: "InlineDepartmentUserSingleTree", components: { UserResult: a, GroupUserSingleTree: s, GroupUser: o, EmptyState: u }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
14
+ const C = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "showName", children: "children", isLeaf: "leaf" }, searchParam: { userField: null, searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }, count: 0, containBranch: false, tenantNodeId: -1, searchFields: [], searchField: "name", restaurants: [], searchValue: null, searchResult: [], searchStoreKey: "searchDepartmentUser", tenantInfo: {}, selectUser: null, selectNodeInfo: null, notMultipleClickNum: null, notMultipleClickNode: null, memoryCacheKey: "DEPARTMENT_USER_MEMORY_KEY", memoryCacheData: [], ElIconSearch: e, activeTab: "orgTree", isShowGroupTree: true, canShowOrgTree: false }), name: "InlineDepartmentUserSingleTree", components: { UserResult: a, GroupUserSingleTree: s, GroupUser: o, EmptyState: u }, props: { departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, limitFilterColumn: { type: String, default: "code" }, closeOnAutocomplete: { type: Boolean, default: true } }, computed: {}, watch: { filterText(e2) {
15
15
  e2 || (this.searchValue = e2, this.departmentInfo && this.departmentInfo.length > 0 ? this.loadPointDepartments(this) : this.loadDepartment(this.tenantNodeId, this.tenantNodeId + ""));
16
16
  } }, created() {
17
17
  n.canShowOrgTree().then((e2) => {
@@ -62,7 +62,7 @@ const C = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "sho
62
62
  } }, emits: ["result"] }, U = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, b = ["title"], I = { key: 1, style: { height: "100%", overflow: "hidden" } };
63
63
  const v = S(C, [["render", function(e2, t2, l2, a2, n2, r2) {
64
64
  const i2 = d("el-button"), s2 = d("el-autocomplete"), o2 = d("el-header"), u2 = d("Menu"), S2 = d("Tickets"), C2 = d("User"), v2 = d("Calendar"), R = d("el-icon"), M = d("el-tree"), D = d("el-tab-pane"), w = d("GroupUser"), x = d("GroupUserSingleTree"), _ = d("el-tabs"), E = d("EmptyState"), G = d("user-result"), V = d("el-main"), j = d("el-container");
65
- return c(), h("div", null, [m(j, { style: { height: "395px" } }, { default: p(() => [m(o2, { style: { "font-size": "12px", height: "35px", padding: "0" } }, { default: p(() => [m(s2, { modelValue: n2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), class: "inline-input searchDepartmentUser", style: { width: "100%" }, size: "default", onSelect: e2.handleSelect, onKeyup: f(e2.clickSearch, ["enter"]) }, { append: p(() => [m(i2, { icon: n2.ElIconSearch, onClick: e2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), m(V, { style: { padding: "10px", width: "100%" } }, { default: p(() => [n2.searchValue && 0 !== n2.searchResult.length ? k("", true) : (c(), h(g, { key: 0 }, [n2.canShowOrgTree ? (c(), h("div", U, [m(_, { modelValue: n2.activeTab, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => n2.activeTab = e3), class: "boe" }, { default: p(() => [m(D, { label: e2.$t("departmentUserTreeInline.orgTree"), name: "orgTree" }, { default: p(() => [m(M, { ref: "deparmentUserTree", load: r2.loadNode, props: n2.defaultProps, lazy: "", "node-key": "nodeId", onNodeClick: r2.handleNodeClick }, { default: p(({ node: e3, data: t3 }) => [N("span", null, [m(R, null, { default: p(() => [-1 === e3.data.id || e3.data.branch ? (c(), y(u2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (c(), y(S2, { key: 1 })) : "USER" === e3.data.nodeType ? (c(), y(C2, { key: 2 })) : (c(), y(v2, { key: 3 }))]), _: 2 }, 1024), N("span", { title: e3.label }, T(e3.label), 9, b)])]), _: 1 }, 8, ["load", "props", "onNodeClick"])]), _: 1 }, 8, ["label"]), m(D, { name: "groupTree" }, { label: p(() => [N("span", null, T(e2.$t("departmentUserTreeInline.group")), 1), N("span", null, [m(w, { "active-tab": n2.activeTab, onUpdateGroupTree: r2.updateGroupTree }, null, 8, ["active-tab", "onUpdateGroupTree"])])]), default: p(() => [n2.isShowGroupTree ? (c(), y(x, { key: 0, onSingleClick: r2.getGroupUserResult, onDblClick: r2.dblClickGroupUserResult }, null, 8, ["onSingleClick", "onDblClick"])) : k("", true)]), _: 1 })]), _: 1 }, 8, ["modelValue"])])) : (c(), y(E, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), n2.searchValue && n2.searchValue.length > 0 && n2.searchResult.length > 0 ? (c(), h("div", I, [m(G, { ref: "userResult", "contain-branch": n2.containBranch, "grid-data": n2.searchResult, height: l2.height, multiple: false, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectUser }, null, 8, ["contain-branch", "grid-data", "height", "onResultRowDblclick", "onSelectResult"])])) : k("", true)]), _: 1 })]), _: 1 })]);
65
+ return c(), h("div", null, [p(j, { style: { height: "395px" } }, { default: m(() => [p(o2, { style: { "font-size": "12px", height: "35px", padding: "0" } }, { default: m(() => [p(s2, { modelValue: n2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), class: "inline-input searchDepartmentUser", style: { width: "100%" }, size: "default", onSelect: e2.handleSelect, onKeyup: f(e2.clickSearch, ["enter"]) }, { append: m(() => [p(i2, { icon: n2.ElIconSearch, onClick: e2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), p(V, { style: { padding: "10px", width: "100%" } }, { default: m(() => [n2.searchValue && 0 !== n2.searchResult.length ? k("", true) : (c(), h(g, { key: 0 }, [n2.canShowOrgTree ? (c(), h("div", U, [p(_, { modelValue: n2.activeTab, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => n2.activeTab = e3), class: "boe" }, { default: m(() => [p(D, { label: e2.$t("departmentUserTreeInline.orgTree"), name: "orgTree" }, { default: m(() => [p(M, { ref: "deparmentUserTree", load: r2.loadNode, props: n2.defaultProps, lazy: "", "node-key": "nodeId", onNodeClick: r2.handleNodeClick }, { default: m(({ node: e3, data: t3 }) => [N("span", null, [p(R, null, { default: m(() => [-1 === e3.data.id || e3.data.branch ? (c(), y(u2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (c(), y(S2, { key: 1 })) : "USER" === e3.data.nodeType ? (c(), y(C2, { key: 2 })) : (c(), y(v2, { key: 3 }))]), _: 2 }, 1024), N("span", { title: e3.label }, T(e3.label), 9, b)])]), _: 1 }, 8, ["load", "props", "onNodeClick"])]), _: 1 }, 8, ["label"]), p(D, { name: "groupTree" }, { label: m(() => [N("span", null, T(e2.$t("departmentUserTreeInline.group")), 1), N("span", null, [p(w, { "active-tab": n2.activeTab, onUpdateGroupTree: r2.updateGroupTree }, null, 8, ["active-tab", "onUpdateGroupTree"])])]), default: m(() => [n2.isShowGroupTree ? (c(), y(x, { key: 0, onSingleClick: r2.getGroupUserResult, onDblClick: r2.dblClickGroupUserResult }, null, 8, ["onSingleClick", "onDblClick"])) : k("", true)]), _: 1 })]), _: 1 }, 8, ["modelValue"])])) : (c(), y(E, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), n2.searchValue && n2.searchValue.length > 0 && n2.searchResult.length > 0 ? (c(), h("div", I, [p(G, { ref: "userResult", "contain-branch": n2.containBranch, "grid-data": n2.searchResult, height: l2.height, multiple: false, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectUser }, null, 8, ["contain-branch", "grid-data", "height", "onResultRowDblclick", "onSelectResult"])])) : k("", true)]), _: 1 })]), _: 1 })]);
66
66
  }]]);
67
67
  export {
68
68
  v as default
@@ -1,15 +1,15 @@
1
1
  import { $emit as e } from "../../utils/gogocodeTransfer.mjs";
2
2
  import t from "./department-user-single-tree-inline.vue.mjs";
3
- import r from "./department-user-multiple-tree-inline.vue.mjs";
4
- import { resolveComponent as l, openBlock as i, createElementBlock as n, createBlock as o, createCommentVNode as s } from "vue";
3
+ import l from "./department-user-multiple-tree-inline.vue.mjs";
4
+ import { resolveComponent as r, openBlock as n, createElementBlock as i, createBlock as o, createCommentVNode as s } from "vue";
5
5
  import u from "../../_virtual/_plugin-vue_export-helper.mjs";
6
- const m = u({ name: "InlineDepartmentUserTree", components: { InlineDepartmentUserSingleTree: t, InlineDepartmentUserMultiTree: r }, props: { multiple: { type: Boolean, default: true }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data: () => ({ selectNodeInfo: null }), methods: { result(t2) {
6
+ const m = u({ name: "InlineDepartmentUserTree", components: { InlineDepartmentUserSingleTree: t, InlineDepartmentUserMultiTree: l }, props: { multiple: { type: Boolean, default: true }, departmentInfo: { type: Array, default: null }, height: { type: String, default: "300px" }, isNeedVirtualUser: { type: Boolean, default: false }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" }, closeOnAutocomplete: { type: Boolean, default: true } }, data: () => ({ selectNodeInfo: null }), methods: { result(t2) {
7
7
  this.selectNodeInfo = t2, e(this, "result", t2);
8
8
  }, confirmSelectUser() {
9
9
  this.$refs.userTree.confirmSelectUser();
10
- } }, emits: ["result"] }, [["render", function(e2, t2, r2, u2, m2, a) {
11
- const p = l("inline-department-user-multi-tree"), f = l("inline-department-user-single-tree");
12
- return i(), n("div", null, [r2.multiple ? (i(), o(p, { key: 0, ref: "userTree", height: r2.height, "department-info": r2.departmentInfo, "limit-filter-column": r2.limitFilterColumn, "select-user-info": r2.selectUserInfo, "search-field": r2.searchField, separator: r2.separator, onResult: a.result }, null, 8, ["height", "department-info", "limit-filter-column", "select-user-info", "search-field", "separator", "onResult"])) : s("", true), r2.multiple ? s("", true) : (i(), o(f, { key: 1, ref: "userTree", height: r2.height, "limit-filter-column": r2.limitFilterColumn, "department-info": r2.departmentInfo, onResult: a.result }, null, 8, ["height", "limit-filter-column", "department-info", "onResult"]))]);
10
+ } }, emits: ["result"] }, [["render", function(e2, t2, l2, u2, m2, a) {
11
+ const p = r("inline-department-user-multi-tree"), f = r("inline-department-user-single-tree");
12
+ return n(), i("div", null, [l2.multiple ? (n(), o(p, { key: 0, ref: "userTree", height: l2.height, "department-info": l2.departmentInfo, "limit-filter-column": l2.limitFilterColumn, "select-user-info": l2.selectUserInfo, "search-field": l2.searchField, separator: l2.separator, onResult: a.result }, null, 8, ["height", "department-info", "limit-filter-column", "select-user-info", "search-field", "separator", "onResult"])) : s("", true), l2.multiple ? s("", true) : (n(), o(f, { key: 1, ref: "userTree", height: l2.height, "limit-filter-column": l2.limitFilterColumn, "department-info": l2.departmentInfo, "close-on-autocomplete": l2.closeOnAutocomplete, onResult: a.result }, null, 8, ["height", "limit-filter-column", "department-info", "close-on-autocomplete", "onResult"]))]);
13
13
  }]]);
14
14
  export {
15
15
  m as default
@@ -17,7 +17,7 @@ const r = { filterAppendNodes(e2) {
17
17
  if (null !== s2)
18
18
  for (const e2 in s2)
19
19
  t2.hasOwnProperty(e2) && (t2[e2] = s2[e2]);
20
- this.filterText = "", this.searchValue = "", this.packageSelectResult(t2), this.setMemoryCacheData(t2, "departmentUser"), e(this, "result", this.selectNodeInfo);
20
+ this.closeOnAutocomplete && (this.filterText = "", this.searchValue = ""), this.packageSelectResult(t2), this.setMemoryCacheData(t2, "departmentUser"), e(this, "result", this.selectNodeInfo);
21
21
  });
22
22
  }, search(e2) {
23
23
  this.searchValue = e2;
@@ -1,14 +1,14 @@
1
1
  import { Paperclip as e, View as i, Download as t } from "@element-plus/icons-vue";
2
- import { resolveComponent as l, openBlock as s, createElementBlock as o, createElementVNode as a, renderSlot as r, Fragment as n, createVNode as d, toDisplayString as h, createCommentVNode as m, createBlock as w, withCtx as p, createTextVNode as f, renderList as c } from "vue";
3
- import { isPlateSys as u, getRelativeBaseUrl as v, getSystemFrontendUrlWith as b, getKkFilePreviewUrl as g } from "../../src/utils/common-util.mjs";
2
+ import { resolveComponent as l, openBlock as s, createElementBlock as o, createElementVNode as a, renderSlot as n, Fragment as r, createVNode as d, toDisplayString as h, createCommentVNode as m, createBlock as p, withCtx as w, createTextVNode as f, renderList as c } from "vue";
3
+ import { isPlateSys as u, getRelativeBaseUrl as v, getSystemFrontendUrlWith as g, getKkFilePreviewUrl as b } from "../../src/utils/common-util.mjs";
4
4
  import { isImage as P, getEntityFieldValue as N, getI18n as y } from "../../src/utils/util.mjs";
5
5
  import { packageFile as F } from "../../super-grid/src/utils.mjs";
6
6
  import { getToken as k } from "../../src/utils/auth.mjs";
7
- import { getFileIconByName as S } from "../../src/utils/file-util.mjs";
8
- import { getWatermarkSetting as $ } from "../../src/utils/watermark.mjs";
7
+ import { getFileIconByName as I } from "../../src/utils/file-util.mjs";
8
+ import { getWatermarkSetting as S } from "../../src/utils/watermark.mjs";
9
9
  import "./fs-preview.vue2.mjs";
10
- import I from "../../_virtual/_plugin-vue_export-helper.mjs";
11
- const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }, name: "FsPreview", props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, fileSetObj: { type: Object, default: null }, isSql: { type: Boolean, default: false }, entity: { type: Object, default: () => ({}) }, fileInfo: { type: Object, default: () => ({}) }, disabled: { type: Boolean, default: false }, enableDelete: { type: Boolean, default: false }, watermark: { type: Object, default: () => ({}) }, uploading: { type: Boolean, default: false } }, data: () => ({ showPreviewSingleImage: false, showPreviewMulti: false, previewImageInfo: {}, fileList: [], downloadable: true, keyValueParam: {}, showMultipleFile: false, firstFileUUid: "" }), computed: { firstFileName() {
10
+ import $ from "../../_virtual/_plugin-vue_export-helper.mjs";
11
+ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }, name: "FsPreview", props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, fileSetObj: { type: Object, default: null }, isSql: { type: Boolean, default: false }, entity: { type: Object, default: () => ({}) }, fileInfo: { type: Object, default: () => ({}) }, disabled: { type: Boolean, default: false }, enableDelete: { type: Boolean, default: false }, watermark: { type: Object, default: () => ({}) }, uploading: { type: Boolean, default: false } }, data: () => ({ showPreviewSingleImage: false, showPreviewMulti: false, initialIndex: 0, previewImageListInfo: [], fileList: [], downloadable: true, keyValueParam: {}, showMultipleFile: false, firstFileUUid: "" }), computed: { firstFileName() {
12
12
  var _a;
13
13
  return ((_a = this.label) == null ? void 0 : _a.indexOf(",")) > -1 ? (this.showMultipleFile = true, this.label.split(",")[0]) : (this.showMultipleFile = false, this.label);
14
14
  }, lab() {
@@ -29,7 +29,15 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
29
29
  const { showName: e2, serverPath: i2 } = this.getFirstFile();
30
30
  this.download(e2, i2);
31
31
  }, previewSingle(e2) {
32
- e2 = F(e2.showName, e2.serverPath), P(e2.showName) ? (this.previewImageInfo = e2, this.showPreviewSingleImage = true) : this.previewDoc(e2);
32
+ if (e2 = F(e2.showName, e2.serverPath), P(e2.showName)) {
33
+ if (this.previewImageListInfo.length = [], this.entity) {
34
+ const { showName: i2, serverPath: t2 } = this.getShowNameAndUuidKey(), l2 = t2.split(","), s2 = k();
35
+ for (let t3 = 0; t3 < l2.length; t3++)
36
+ P(i2.split(",")[t3]) && (l2[t3] === e2.serverPath && (this.initialIndex = t3), this.previewImageListInfo.push(window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?serverPath=" + l2[t3] + "&jwt=" + s2));
37
+ }
38
+ this.showPreviewSingleImage = true;
39
+ } else
40
+ this.previewDoc(e2);
33
41
  }, donwloadViewFile() {
34
42
  const { showName: e2, serverPath: i2 } = this.getShowNameAndUuidKey();
35
43
  if (i2) {
@@ -58,12 +66,12 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
58
66
  }, previewDoc(e2) {
59
67
  const i2 = k(), t2 = e2.showName;
60
68
  if (window.$vueApp.config.globalProperties.customPreviewUrl)
61
- window.open(b(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + e2.serverPath + "&showName=" + encodeURIComponent(t2), t2);
69
+ window.open(g(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + e2.serverPath + "&showName=" + encodeURIComponent(t2), t2);
62
70
  else {
63
71
  let l2, s2 = window.$vueApp.config.globalProperties.baseURL;
64
72
  if (u(window.$vueApp.config.globalProperties.systemCode) && (s2 = window.$vueApp.config.globalProperties.baseAPI), window.$vueApp.config.globalProperties.kkFileViewUrl) {
65
73
  const l3 = s2 + "/common/super-form/downloads?jwt=" + i2 + "&showName=" + encodeURIComponent(t2) + "&serverPath=" + e2.serverPath + "&fullfilename=" + encodeURIComponent(t2);
66
- g(l3).then((e3) => {
74
+ b(l3).then((e3) => {
67
75
  window.open(e3, t2);
68
76
  });
69
77
  } else
@@ -78,19 +86,19 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
78
86
  this.download(i2, this.fileList[e2].serverPath);
79
87
  }, async download(e2, i2) {
80
88
  var _a;
81
- const t2 = k(), l2 = await $();
89
+ const t2 = k(), l2 = await S();
82
90
  let s2 = false;
83
91
  l2 && l2.useRange && l2.useRange.indexOf("annex") >= 0 && (s2 = void 0 === this.watermark.isShowWatermark || this.watermark.isShowWatermark);
84
92
  let o2 = (_a = this.watermark) == null ? void 0 : _a.content;
85
93
  !o2 && l2 && (o2 = l2.content), o2 || (o2 = "");
86
94
  let a2 = window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?jwt=" + t2;
87
95
  u(window.$vueApp.config.globalProperties.systemCode) && (a2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/downloads?jwt=" + t2), a2 = v(a2);
88
- const r2 = a2 + "&showName=" + encodeURIComponent(e2) + "&serverPath=" + i2 + "&isShowWatermark=" + s2 + "&watermark=" + o2;
89
- window.open(r2);
96
+ const n2 = a2 + "&showName=" + encodeURIComponent(e2) + "&serverPath=" + i2 + "&isShowWatermark=" + s2 + "&watermark=" + o2;
97
+ window.open(n2);
90
98
  }, analysisFileSetObj(e2, i2) {
91
99
  let t2 = "", l2 = "";
92
100
  return e2 && (e2.showNameData && (i2 ? e2.showNameData.dbName && (t2 = e2.showNameData.dbName) : e2.showNameData.name && (t2 = e2.showNameData.name)), e2.serverNameData && (i2 ? e2.serverNameData.dbName && (l2 = e2.serverNameData.dbName) : e2.serverNameData.name && (l2 = e2.serverNameData.name))), { showName: t2, serverPath: l2 };
93
- }, formatFileName: (e2) => e2.replace("#", "~~").replace("?", "~$").replace("&", "$"), getFileIconByName: (e2) => S(e2), showMultiView() {
101
+ }, formatFileName: (e2) => e2.replace("#", "~~").replace("?", "~$").replace("&", "$"), getFileIconByName: (e2) => I(e2), showMultiView() {
94
102
  const { showName: e2, serverPath: i2 } = this.getShowNameAndUuidKey();
95
103
  if (i2) {
96
104
  const e3 = i2.split(",");
@@ -110,11 +118,11 @@ const j = { components: { ElIconPaperclip: e, ElIconView: i, ElIconDownload: t }
110
118
  this.$emit("delete-file", e2), this.fileList = this.fileList.filter((i2) => i2.serverPath !== e2.serverPath), this.$message({ showClose: true, type: "success", message: y().t("fsUpload.deleteSuccessful") });
111
119
  }, deleteFile(e2) {
112
120
  this.$emit("delete-file", e2), this.fileList = this.fileList.filter((i2) => i2.serverPath !== e2.serverPath), this.$message({ showClose: true, type: "success", message: y().t("fsUpload.deleteSuccessful") });
113
- } }, emits: ["close", "delete-file"] }, U = { ref: "fsPreviewRef" }, A = { class: "fs-preview-container" }, C = ["title"], D = { key: 1, ref: "toolRef", class: "fs-preview-tool" }, L = { style: { "max-height": "300px", "overflow-y": "auto" } }, O = { style: { display: "flex", "align-items": "center", flex: "1" } }, V = { class: "more-file-icon" }, x = { class: "amb-list-preivew-name", style: { width: "230px", "margin-left": "10px" } }, R = { class: "file-actions" };
114
- const _ = I(j, [["render", function(e2, i2, t2, u2, v2, b2) {
115
- const g2 = l("super-icon"), P2 = l("el-tooltip"), N2 = l("el-divider"), y2 = l("ArrowDownBold"), F2 = l("el-icon"), k2 = l("el-button"), S2 = l("el-popover"), $2 = l("el-image-viewer");
116
- return s(), o("div", U, [a("div", { ref: "filePreviewRef", onDblclick: i2[3] || (i2[3] = (...e3) => b2.dblclickEvent && b2.dblclickEvent(...e3)), class: "fs-preview-container" }, [r(e2.$slots, "prefix", {}, void 0, true), b2.firstFileName && !t2.uploading ? (s(), o(n, { key: 0 }, [a("div", A, [d(g2, { iconValue: b2.getFileIconByName(b2.firstFileName) }, null, 8, ["iconValue"])]), a("span", { title: b2.firstFileName, ref: "nameRef", class: "amb-list-preivew-name" }, h(b2.firstFileName), 9, C)], 64)) : m("", true), b2.firstFileName && !t2.uploading ? (s(), o("div", D, [r(e2.$slots, "tool-prefix", { item: b2.getFirstFile() }, void 0, true), t2.enableDelete && !t2.disabled ? (s(), w(P2, { key: 0, content: e2.$t("fsUpload.delete") }, { default: p(() => [d(g2, { onClick: i2[0] || (i2[0] = (e3) => b2.deleteFirst()), iconValue: "amb-color-icon-del" })]), _: 1 }, 8, ["content"])) : m("", true), t2.disabled && t2.fileSetObj.disabledNoPreview ? m("", true) : (s(), w(P2, { key: 1, content: e2.$t("fsUpload.preview") }, { default: p(() => [d(g2, { onClick: i2[1] || (i2[1] = (e3) => b2.previewFirst()), iconValue: "amb-icon-yulan" })]), _: 1 }, 8, ["content"])), t2.disabled && t2.fileSetObj.disabledNoDownload ? m("", true) : (s(), w(P2, { key: 2, content: e2.$t("fsUpload.download") }, { default: p(() => [d(g2, { onClick: i2[2] || (i2[2] = (e3) => b2.downloadFirst()), iconValue: "amb-icon-xiazai" })]), _: 1 }, 8, ["content"])), r(e2.$slots, "tool-suffix", { item: b2.getFirstFile() }, void 0, true), v2.showMultipleFile ? (s(), w(N2, { key: 3, direction: "vertical" })) : m("", true), d(S2, { width: 450, trigger: "click" }, { reference: p(() => [v2.showMultipleFile ? (s(), w(k2, { key: 0, plain: "", type: "primary", round: "", size: "small", onClick: b2.showMultiView }, { default: p(() => [f(h(e2.$t("fsUpload.more")) + " ", 1), d(F2, null, { default: p(() => [d(y2)]), _: 1 })]), _: 1 }, 8, ["onClick"])) : m("", true)]), default: p(() => [a("div", L, [(s(true), o(n, null, c(v2.fileList, (i3, l2) => (s(), o("div", { ref_for: true, ref: i3.serverPath, key: i3.serverPath, class: "file-item" }, [a("div", O, [a("span", V, [d(g2, { iconValue: b2.getFileIconByName(i3.showName) }, null, 8, ["iconValue"])]), a("span", x, h(i3.showName), 1)]), a("div", R, [r(e2.$slots, "tool-more-prefix", { item: i3 }, void 0, true), t2.enableDelete ? (s(), w(P2, { key: 0, content: e2.$t("fsUpload.delete") }, { default: p(() => [d(g2, { onClick: (e3) => b2.deleteFile(i3), iconValue: "amb-color-icon-shanchu" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])) : m("", true), t2.disabled && t2.fileSetObj.disabledNoPreview ? m("", true) : (s(), w(P2, { key: 1, content: e2.$t("fsUpload.preview") }, { default: p(() => [d(g2, { onClick: (e3) => b2.previewSingle(i3), iconValue: "amb-icon-yulan" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), t2.disabled && t2.fileSetObj.disabledNoDownload ? m("", true) : (s(), w(P2, { key: 2, content: e2.$t("fsUpload.download") }, { default: p(() => [d(g2, { onClick: (e3) => b2.donwloadFile(l2), iconValue: "amb-icon-xiazai" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"]))])]))), 128))])]), _: 3 })], 512)) : m("", true)], 544), v2.showPreviewSingleImage ? (s(), w($2, { key: 0, teleported: "", "url-list": [v2.previewImageInfo.src], onClose: i2[4] || (i2[4] = (e3) => v2.showPreviewSingleImage = false) }, null, 8, ["url-list"])) : m("", true)], 512);
117
- }], ["__scopeId", "data-v-2448d898"]]);
121
+ } }, emits: ["close", "delete-file"] }, U = { ref: "fsPreviewRef" }, A = { class: "fs-preview-container" }, L = ["title"], C = { key: 1, ref: "toolRef", class: "fs-preview-tool" }, x = { style: { "max-height": "300px", "overflow-y": "auto" } }, D = { style: { display: "flex", "align-items": "center", flex: "1" } }, O = { class: "more-file-icon" }, V = { class: "amb-list-preivew-name", style: { width: "230px", "margin-left": "10px" } }, R = { class: "file-actions" };
122
+ const _ = $(j, [["render", function(e2, i2, t2, u2, v2, g2) {
123
+ const b2 = l("super-icon"), P2 = l("el-tooltip"), N2 = l("el-divider"), y2 = l("ArrowDownBold"), F2 = l("el-icon"), k2 = l("el-button"), I2 = l("el-popover"), S2 = l("el-image-viewer");
124
+ return s(), o("div", U, [a("div", { ref: "filePreviewRef", onDblclick: i2[3] || (i2[3] = (...e3) => g2.dblclickEvent && g2.dblclickEvent(...e3)), class: "fs-preview-container" }, [n(e2.$slots, "prefix", {}, void 0, true), g2.firstFileName && !t2.uploading ? (s(), o(r, { key: 0 }, [a("div", A, [d(b2, { iconValue: g2.getFileIconByName(g2.firstFileName) }, null, 8, ["iconValue"])]), a("span", { title: g2.firstFileName, ref: "nameRef", class: "amb-list-preivew-name" }, h(g2.firstFileName), 9, L)], 64)) : m("", true), g2.firstFileName && !t2.uploading ? (s(), o("div", C, [n(e2.$slots, "tool-prefix", { item: g2.getFirstFile() }, void 0, true), t2.disabled && t2.fileSetObj.disabledNoPreview ? m("", true) : (s(), p(P2, { key: 0, content: e2.$t("fsUpload.preview") }, { default: w(() => [d(b2, { onClick: i2[0] || (i2[0] = (e3) => g2.previewFirst()), iconValue: "amb-icon-yulan" })]), _: 1 }, 8, ["content"])), t2.disabled && t2.fileSetObj.disabledNoDownload ? m("", true) : (s(), p(P2, { key: 1, content: e2.$t("fsUpload.download") }, { default: w(() => [d(b2, { onClick: i2[1] || (i2[1] = (e3) => g2.downloadFirst()), iconValue: "amb-icon-xiazai" })]), _: 1 }, 8, ["content"])), t2.enableDelete && !t2.disabled ? (s(), p(P2, { key: 2, content: e2.$t("fsUpload.delete") }, { default: w(() => [d(b2, { onClick: i2[2] || (i2[2] = (e3) => g2.deleteFirst()), iconValue: "amb-color-icon-del" })]), _: 1 }, 8, ["content"])) : m("", true), n(e2.$slots, "tool-suffix", { item: g2.getFirstFile() }, void 0, true), v2.showMultipleFile ? (s(), p(N2, { key: 3, direction: "vertical" })) : m("", true), d(I2, { width: 450, trigger: "click" }, { reference: w(() => [v2.showMultipleFile ? (s(), p(k2, { key: 0, plain: "", type: "primary", round: "", size: "small", onClick: g2.showMultiView }, { default: w(() => [f(h(e2.$t("fsUpload.more")) + " ", 1), d(F2, null, { default: w(() => [d(y2)]), _: 1 })]), _: 1 }, 8, ["onClick"])) : m("", true)]), default: w(() => [a("div", x, [(s(true), o(r, null, c(v2.fileList, (i3, l2) => (s(), o("div", { ref_for: true, ref: i3.serverPath, key: i3.serverPath, class: "file-item" }, [a("div", D, [a("span", O, [d(b2, { iconValue: g2.getFileIconByName(i3.showName) }, null, 8, ["iconValue"])]), a("span", V, h(i3.showName), 1)]), a("div", R, [n(e2.$slots, "tool-more-prefix", { item: i3 }, void 0, true), t2.disabled && t2.fileSetObj.disabledNoPreview ? m("", true) : (s(), p(P2, { key: 0, content: e2.$t("fsUpload.preview") }, { default: w(() => [d(b2, { onClick: (e3) => g2.previewSingle(i3), iconValue: "amb-icon-yulan" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), t2.disabled && t2.fileSetObj.disabledNoDownload ? m("", true) : (s(), p(P2, { key: 1, content: e2.$t("fsUpload.download") }, { default: w(() => [d(b2, { onClick: (e3) => g2.donwloadFile(l2), iconValue: "amb-icon-xiazai" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), t2.enableDelete ? (s(), p(P2, { key: 2, content: e2.$t("fsUpload.delete") }, { default: w(() => [d(b2, { onClick: (e3) => g2.deleteFile(i3), iconValue: "amb-color-icon-shanchu" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])) : m("", true)])]))), 128))])]), _: 3 })], 512)) : m("", true)], 544), v2.showPreviewSingleImage ? (s(), p(S2, { key: 0, teleported: "", "url-list": v2.previewImageListInfo, "initial-index": v2.initialIndex, onClose: i2[4] || (i2[4] = (e3) => v2.showPreviewSingleImage = false) }, null, 8, ["url-list", "initial-index"])) : m("", true)], 512);
125
+ }], ["__scopeId", "data-v-7f109349"]]);
118
126
  export {
119
127
  _ as default
120
128
  };
@@ -110,7 +110,7 @@ const g = ["multiple", "accept"], b = ["multiple", "accept"], C = e({ __name: "f
110
110
  L.value = true, async function() {
111
111
  const e4 = new FormData(), t2 = [], l2 = [];
112
112
  let o2 = w.limitFileSize;
113
- void 0 === o2 && (o2 = 30);
113
+ null == o2 && (o2 = 30);
114
114
  let a2 = false;
115
115
  const i2 = R.value.files;
116
116
  for (let e5 = 0; e5 < i2.length; e5++) {
@@ -19,7 +19,7 @@ const r = e({ __name: "file-upload-input", props: { openFsUpload: { type: Object
19
19
  function h(e3) {
20
20
  const t2 = Array.from(f.fileList, ({ serverPath: e4 }) => e4);
21
21
  JSON.stringify(f.fileList), JSON.stringify(e3), e3.forEach((e4) => {
22
- t2.indexOf(e4.serverPath) < 0 && f.fileList.push({ showName: e4.name, serverPath: e4.serverPath });
22
+ t2.indexOf(e4.serverPath) < 0 && f.fileList.push({ name: e4.name, showName: e4.name, serverPath: e4.serverPath });
23
23
  }), JSON.stringify(f.fileList), JSON.stringify(e3), c.value = f.fileList.map((e4) => e4.showName).join(","), c.value, f.onSuccess();
24
24
  }
25
25
  function v(e3) {
package/es/index.mjs CHANGED
@@ -56,7 +56,7 @@ import { executeExpression, parseSubTablePermissionCondition } from "./src/utils
56
56
  import { default as default7 } from "./src/utils/auth-api.mjs";
57
57
  import { clearPermission, clearVoiceCache, getAllLanguages, getAllThemes, getCookieCache, getCurrentUser, getLanguage, getRunCurrentRole, getRunInfoKey, getSessionCache, getTenantUsername, getTheme, getToken, getUsername, isDevpSystem, removeAllThemes, removeCookieCache, removeCurrentUser, removeDevpPermissions, removeProjectCode, removeProjectSettings, removeSessionCache, removeSystemCacheUrl, removeTenantUsername, removeTheme, removeToken, removeUsername, setAllLanguages, setAllThemes, setCookieCache, setCurrentUser, setLanguage, setSessionCache, setTenantUsername, setTheme, setToken, setUsername } from "./src/utils/auth.mjs";
58
58
  import { addListRefToStore, setActiveMenuToChatAiStore, setPageDataToChatAiStore, setPageInfoToChatStore } from "./src/utils/chat-ai-util.mjs";
59
- import { cacheAllEnableGlobalPropUtil, cacheAllLanguagesUtil, cacheCurrentLanguageUtil, cacheLangs, cachePermissionsWhenLoginWithToken, cacheProjectSetting, cacheSystemUrl, formatDate, formatFileName, getAuthSource, getCurrentSystemCode, getKkFilePreviewUrl, getLangByShort, getLangs, getLocaleByLang, getLoginTimeoutUrlInfo, getLoginUrl, getOrignUrl, getRelativeBaseUrl, getReplaceUrlDomain, getServerConfigUtil, getSystemBackendUrl, getSystemFrontendUrl, getSystemFrontendUrlWith, getTimeZone, getURLSearchParamObj, getUuidv4, insertFontIconCss, insertThirdLoginJs, isDingTalkEnv, isLogoutTimeout, isMobileBrowser, isPlateSys, isPromise, isShowMenuRoute, isShowSystemMenu, isValidDate, loadCSS, pushCustomControlValidatorRef, removeCustomControlValidatorRef, replacePlaceholders, replacePrefix, setCustomSystemBackendUrl, windowOpenUrl } from "./src/utils/common-util.mjs";
59
+ import { cacheAllEnableGlobalPropUtil, cacheAllLanguagesUtil, cacheCurrentLanguageUtil, cacheLangs, cachePermissionsWhenLoginWithToken, cacheProjectSetting, cacheSystemUrl, formatDate, formatFileName, getAuthSource, getCacheSystemUrlWithSystemCode, getCurrentSystemCode, getKkFilePreviewUrl, getLangByShort, getLangs, getLocaleByLang, getLoginTimeoutUrlInfo, getLoginUrl, getOrignUrl, getRelativeBaseUrl, getReplaceUrlDomain, getServerConfigUtil, getSystemBackendUrl, getSystemFrontendUrl, getSystemFrontendUrlWith, getTimeZone, getURLSearchParamObj, getUuidv4, insertFontIconCss, insertThirdLoginJs, isDingTalkEnv, isLogoutTimeout, isMobileBrowser, isPlateSys, isPromise, isShowMenuRoute, isShowSystemMenu, isValidDate, loadCSS, pushCustomControlValidatorRef, removeCustomControlValidatorRef, replacePlaceholders, replacePrefix, setCustomSystemBackendUrl, windowOpenUrl } from "./src/utils/common-util.mjs";
60
60
  import { default as default8 } from "./src/utils/eventBus.mjs";
61
61
  import { getFileIconByName } from "./src/utils/file-util.mjs";
62
62
  import { GLOBAL_PROP, cacheAllGlobalPropCache, cacheCanShowOrgTree, cacheGlobalProp, getCanShowOrgTree, getGlobalProp, removeAllGlobalPropCache, removeCanShowOrgTree, removeGlobalProp } from "./src/utils/global-prop.mjs";
@@ -78,25 +78,26 @@ import { analysisCondition, analysisValue, findDynamicDataSourceByCode, findOpti
78
78
  import { validUsername, validateAlphabets, validateLowerCase, validateURL, validateUpperCase } from "./src/utils/validate.mjs";
79
79
  import { cacheVoiceLeafMenu, cacheVoiceSetting, getVoiceLeafMenuCache, getVoiceSetting, parseVoiceMsg, removeVoiceCache, removeVoiceLeafMenu, removeVoiceSetting } from "./src/utils/voice-setting-cache.mjs";
80
80
  import { cacheWatermark, getWatermark, removeWatermark } from "./src/utils/watermark-cache.mjs";
81
+ import { getWatermarkSetting, showWatermark, showWatermarkNew } from "./src/utils/watermark.mjs";
81
82
  import { i18nOperation } from "./src/utils/workflow-util.mjs";
82
83
  import p from "./src/views/dsc-component/Sidebar/index.vue.mjs";
83
84
  import u from "./src/views/dsc-component/tabs/tab-content.vue.mjs";
84
85
  import c from "./src/views/layout/EmptyLayout.vue.mjs";
85
86
  import l from "./src/views/layout/Layout.vue.mjs";
86
87
  import d from "./src/views/layout/NewLayout.vue.mjs";
87
- import f from "./src/views/layout/components/Menubar/index.vue.mjs";
88
+ import g from "./src/views/layout/components/Menubar/index.vue.mjs";
88
89
  import "./src/permission.mjs";
89
90
  import "./src/directives/permission/index.mjs";
90
- import g from "./src/directives/permission/permission.mjs";
91
+ import f from "./src/directives/permission/permission.mjs";
91
92
  import j from "./breadcrumb/src/breadcrumb.vue.mjs";
92
93
  import v from "./department-tree/src/department-tree.vue.mjs";
93
94
  import x from "./hamburger/src/hamburger.vue.mjs";
94
95
  import h from "./svg-icon/src/svg-icon.vue.mjs";
95
96
  import w from "./super-grid/src/super-grid.vue.mjs";
96
97
  import b from "./department-user-tree/src/department-user-tree.vue.mjs";
97
- import C from "./workgroup-tree/src/workgroup-tree.vue.mjs";
98
- import S from "./workgroup-user-tree/src/workgroup-user-tree.vue.mjs";
99
- import k from "./department-tree-inline/src/department-tree-inline.vue.mjs";
98
+ import S from "./workgroup-tree/src/workgroup-tree.vue.mjs";
99
+ import k from "./workgroup-user-tree/src/workgroup-user-tree.vue.mjs";
100
+ import C from "./department-tree-inline/src/department-tree-inline.vue.mjs";
100
101
  import y from "./department-user-tree-inline/src/department-user-tree-inline.vue.mjs";
101
102
  import U from "./workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs";
102
103
  import P from "./workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs";
@@ -110,11 +111,11 @@ import A from "./organization-input/src/organization-input.vue.mjs";
110
111
  import B from "./super-nine-grid/src/super-nine-grid.vue.mjs";
111
112
  import R from "./dynamic-source-select/src/dynamic-source-select.vue.mjs";
112
113
  import O from "./fs-upload/src/fs-upload.vue.mjs";
113
- import F from "./scan-code-input/src/scan-code-input.vue.mjs";
114
- import W from "./fs-preview/src/fs-preview.vue.mjs";
115
- import E from "./fs-upload-list/src/fs-upload-list.vue.mjs";
116
- import G from "./year-range-picker/src/year-range-picker.vue.mjs";
117
- import N from "./multipart-upload/src/index.vue.mjs";
114
+ import W from "./scan-code-input/src/scan-code-input.vue.mjs";
115
+ import F from "./fs-preview/src/fs-preview.vue.mjs";
116
+ import N from "./fs-upload-list/src/fs-upload-list.vue.mjs";
117
+ import E from "./year-range-picker/src/year-range-picker.vue.mjs";
118
+ import G from "./multipart-upload/src/index.vue.mjs";
118
119
  import z from "./rich-editor/index.vue.mjs";
119
120
  import J from "./secret-info/index.vue.mjs";
120
121
  import $ from "./IntervalSelection/src/sectionDate.vue.mjs";
@@ -131,8 +132,8 @@ import X from "./row-form/index.vue.mjs";
131
132
  import Y from "./chat-embed/src/index.vue.mjs";
132
133
  import ee from "./chat-embed/src/voice/voice.vue.mjs";
133
134
  import re from "./date-picker-range/index.vue.mjs";
134
- const te = [i, j, v, x, h, w, b, C, S, k, y, U, P, T, L, M, D, V, I, A, B, R, O, F, W, E, G, N, z, J, $, _, q, K, H, Z, Q, X, Y, ee, re, m, n, p, u, c, l, d, f], oe = function(i2) {
135
- if (i2.directive("prevent-reclick", t), i2.use(o), g.install(i2), !oe.installed) {
135
+ const te = [i, j, v, x, h, w, b, S, k, C, y, U, P, T, L, M, D, V, I, A, B, R, O, W, F, N, E, G, z, J, $, _, q, K, H, Z, Q, X, Y, ee, re, m, n, p, u, c, l, d, g], oe = function(i2) {
136
+ if (i2.directive("prevent-reclick", t), i2.use(o), f.install(i2), !oe.installed) {
136
137
  i2.directive("resize", e), te.forEach((e2) => {
137
138
  i2.component(e2.name, e2);
138
139
  }), window.$plateform_openPage = a;
@@ -152,20 +153,20 @@ export {
152
153
  q as DepartmentUserTreeMobile,
153
154
  R as DynamicSourceSelect,
154
155
  c as EmptyLayout,
155
- W as FsPreview,
156
+ F as FsPreview,
156
157
  O as FsUpload,
157
- E as FsUploadList,
158
+ N as FsUploadList,
158
159
  H as FsUploadNew,
159
160
  GLOBAL_PROP,
160
161
  x as Hamburger,
161
- k as InlineDepartmentTree,
162
+ C as InlineDepartmentTree,
162
163
  y as InlineDepartmentUserTree,
163
164
  U as InlineWorkgroupTree,
164
165
  P as InlineWorkgroupUserTree,
165
166
  $ as IntervalSelection,
166
167
  l as Layout,
167
- f as Menubar,
168
- N as MultipartUpload,
168
+ g as Menubar,
169
+ G as MultipartUpload,
169
170
  d as NewLayout,
170
171
  A as OrganizationInput,
171
172
  V as RemoveDepartment,
@@ -173,7 +174,7 @@ export {
173
174
  I as RemoveWorkgroup,
174
175
  z as RichEditor,
175
176
  X as RowForm,
176
- F as ScanCodeInput,
177
+ W as ScanCodeInput,
177
178
  Z as ScanCodeInputBrowser,
178
179
  n as Scrollbar,
179
180
  J as SecretInfo,
@@ -187,10 +188,10 @@ export {
187
188
  ee as VoiceButton,
188
189
  T as WorkflowButton,
189
190
  L as WorkflowHistoryList,
190
- C as WorkgroupTree,
191
+ S as WorkgroupTree,
191
192
  Q as WorkgroupTreeMobile,
192
- S as WorkgroupUserTree,
193
- G as YearRangePicker,
193
+ k as WorkgroupUserTree,
194
+ E as YearRangePicker,
194
195
  i as YxAffix,
195
196
  default4 as abUIEn,
196
197
  default3 as abUIcn,
@@ -232,6 +233,7 @@ export {
232
233
  getAllLanguages,
233
234
  getAllThemes,
234
235
  getAuthSource,
236
+ getCacheSystemUrlWithSystemCode,
235
237
  getCanShowOrgTree,
236
238
  getCookieCache,
237
239
  getCurrentSystemCode,
@@ -290,6 +292,7 @@ export {
290
292
  getVoiceLeafMenuCache,
291
293
  getVoiceSetting,
292
294
  getWatermark,
295
+ getWatermarkSetting,
293
296
  getWeekOfSeason,
294
297
  default13 as http,
295
298
  i18nOperation,
@@ -370,6 +373,8 @@ export {
370
373
  setTheme,
371
374
  setToken,
372
375
  setUsername,
376
+ showWatermark,
377
+ showWatermarkNew,
373
378
  default2 as ssoService,
374
379
  r as store,
375
380
  updateWithPageValue,
@@ -1,48 +1,51 @@
1
- import { defineComponent as e, ref as l, computed as t, watch as o, onMounted as a, createVNode as i, resolveComponent as n, isVNode as r } from "vue";
2
- import { ElCard as s, ElButton as u, ElIcon as c, ElTag as d, ElCheckbox as p } from "element-plus";
3
- import { Bottom as h, Tickets as f } from "@element-plus/icons-vue";
4
- import v from "../Scrollbar/index.vue.mjs";
5
- import { useI18n as m } from "vue-i18n";
6
- const g = e({ name: "CardView", components: { Scrollbar: v }, props: { form: { type: Object, default: () => {
1
+ import { defineComponent as e, defineEmits as l, ref as t, computed as o, watch as a, onMounted as i, createVNode as n, resolveComponent as r, isVNode as s } from "vue";
2
+ import { ElCard as u, ElButton as c, ElIcon as d, ElTag as p, ElCheckbox as h } from "element-plus";
3
+ import { Bottom as f, Edit as v, Tickets as m } from "@element-plus/icons-vue";
4
+ import g from "../Scrollbar/index.vue.mjs";
5
+ import { useI18n as y } from "vue-i18n";
6
+ const b = e({ name: "CardView", components: { Scrollbar: g }, props: { form: { type: Object, default: () => {
7
7
  } }, no: { type: [Number, String, void 0], default: () => {
8
8
  } }, isChecked: { type: Boolean, default: () => false }, isCheck: { type: Boolean, default: () => false }, isSubTable: { type: Boolean, default: () => false }, isShowDetailsMore: { type: Boolean, default: () => false }, isMore: { type: Boolean, default: () => true }, setMaxHeight: { type: [Function, void 0], default: () => {
9
9
  } }, setHeight: { type: [Function, void 0], default: () => {
10
- } } }, setup(e2, { attrs: g2, emit: y, slots: x }) {
11
- const b = l(e2.isShowDetailsMore), { t: w } = m(), k = l(void 0), S = l(null), C = () => {
12
- y("checked");
13
- }, M = (l2) => {
14
- const t2 = { ...e2, isMore: b.value };
10
+ } }, isEnableEdit: { type: Boolean, default: () => false } }, setup(e2, { attrs: b2, emit: x, slots: w }) {
11
+ l(["checked", "showSubTable", "rowDblclick", "rowClick"]);
12
+ const k = t(e2.isShowDetailsMore), { t: S } = y(), C = t(void 0), M = t(null), D = () => {
13
+ x("checked");
14
+ }, H = (l2) => {
15
+ const t2 = { ...e2, isMore: k.value };
15
16
  return ["function"].includes(typeof l2) ? l2(t2) : l2;
16
- }, D = t(() => M(x.footerSlot).filter((e3) => e3 == null ? void 0 : e3.children) ?? []), H = (l2) => e2.setMaxHeight ? e2.setMaxHeight(l2) : (l2 == null ? void 0 : l2.windowHeight) ? 0.4 * l2.windowHeight <= k.value ? 300 : k.value && k.value >= 300 ? k : 300 : void 0;
17
- o(() => e2.isShowDetailsMore, (e3) => {
18
- b.value = e3;
19
- }), o(() => e2.isMore, (e3) => {
20
- b.value = e3;
21
- }), a(() => {
17
+ }, j = o(() => H(w.footerSlot).filter((e3) => e3 == null ? void 0 : e3.children) ?? []), B = (l2) => e2.setMaxHeight ? e2.setMaxHeight(l2) : (l2 == null ? void 0 : l2.windowHeight) ? 0.4 * l2.windowHeight <= C.value ? 300 : C.value && C.value >= 300 ? C : 300 : void 0;
18
+ a(() => e2.isShowDetailsMore, (e3) => {
19
+ k.value = e3;
20
+ }), a(() => e2.isMore, (e3) => {
21
+ k.value = e3;
22
+ }), i(() => {
22
23
  var _a, _b, _c;
23
- const e3 = (_c = (_b = (_a = S.value) == null ? void 0 : _a.$el) == null ? void 0 : _b.querySelector) == null ? void 0 : _c.call(_b, ".el-scrollbar__view");
24
- e3 && (k.value = e3.clientHeight);
24
+ const e3 = (_c = (_b = (_a = M.value) == null ? void 0 : _a.$el) == null ? void 0 : _b.querySelector) == null ? void 0 : _c.call(_b, ".el-scrollbar__view");
25
+ e3 && (C.value = e3.clientHeight);
25
26
  });
26
- const j = (e3) => {
27
- C(), y("rowClick", e3);
27
+ const P = (e3) => {
28
+ D(), x("rowClick", e3);
28
29
  }, $ = (e3) => {
29
- y("rowDblclick", e3);
30
+ x("rowDblclick", e3);
30
31
  };
31
32
  return () => {
32
33
  var _a, _b;
33
34
  let l2;
34
- return i(s, { key: `card_${((_a = e2.form) == null ? void 0 : _a.$rowDataGuId) || `${(_b = e2.form) == null ? void 0 : _b.id}_${e2.no}`}`, "header-padding": true, "body-padding": true, shadow: "hover", class: { "yx-card-main": true, "is-checked": e2.isChecked } }, { default: () => {
35
- return [i("div", { class: "yx-flex-wrap", vertical: true, style: { gap: "0", height: "100%" }, onClick: j, onDblclick: $ }, [i(v, { ref: S, dispatch: e2.isShowDetailsMore && b.value, "scrollable-main": true, "max-height": b.value ? "100%" : "50vh", "set-max-height": H, "set-height": e2.setHeight }, (t2 = l2 = i("div", { class: "yx-card-body" }, [M(x.children)]), "function" == typeof t2 || "[object Object]" === Object.prototype.toString.call(t2) && !r(t2) ? l2 : { default: () => [l2] })), e2.isShowDetailsMore && i(u, { text: true, icon: i(c, null, { default: () => [b.value ? i(h, null, null) : i(n("Top"), null, null)] }), onClick: (e3) => {
36
- e3.stopPropagation(), b.value = !b.value;
37
- } }, { default: () => [b.value ? w("imatrixUIPublicModel.expand") : w("imatrixUIPublicModel.collapse")] })])];
35
+ return n(u, { key: `card_${((_a = e2.form) == null ? void 0 : _a.$rowDataGuId) || `${(_b = e2.form) == null ? void 0 : _b.id}_${e2.no}`}`, "header-padding": true, "body-padding": true, shadow: "hover", class: { "yx-card-main": true, "is-checked": e2.isChecked } }, { default: () => {
36
+ return [n("div", { class: "yx-flex-wrap", vertical: true, style: { gap: "0", height: "100%" }, onClick: P, onDblclick: $ }, [n(g, { ref: M, dispatch: e2.isShowDetailsMore && k.value, "scrollable-main": true, "max-height": k.value ? "100%" : "50vh", "set-max-height": B, "set-height": e2.setHeight }, (t2 = l2 = n("div", { class: "yx-card-body" }, [H(w.children)]), "function" == typeof t2 || "[object Object]" === Object.prototype.toString.call(t2) && !s(t2) ? l2 : { default: () => [l2] })), e2.isShowDetailsMore && n(c, { text: true, icon: n(d, null, { default: () => [k.value ? n(f, null, null) : n(r("Top"), null, null)] }), onClick: (e3) => {
37
+ e3.stopPropagation(), k.value = !k.value;
38
+ } }, { default: () => [k.value ? S("imatrixUIPublicModel.expand") : S("imatrixUIPublicModel.collapse")] })])];
38
39
  var t2;
39
- }, header: () => i("div", { class: "yx-flex-wrap", justify: "space-between", align: "center", onClick: j, onDblclick: $ }, [i("div", { class: "yx-flex-wrap", align: "center", style: { gap: "10px", flex: "1 1 auto", maxWidth: "calc(100% - 80px)" } }, [e2.no && i(d, { type: "primary", size: "small" }, { default: () => [e2.no] }), i("div", { "layout-title": true, class: "ellipsis" }, [M(x.titleSlot)])]), i("div", { class: "yx-flex-wrap", align: "center", style: { gap: "10px" } }, [M(x.headerRightSlot), e2.isSubTable && i(u, { text: true, icon: i(c, null, { default: () => [i(f, null, null)] }), onClick: (l3) => {
40
- l3.stopPropagation(), y("showSubTable", e2.form);
41
- } }, null), e2.isCheck && i(p, { "model-value": e2.isChecked, disabled: !!e2.form.$editing, style: "height: auto;", onClick: (e3) => {
40
+ }, header: () => n("div", { class: "yx-flex-wrap", justify: "space-between", align: "center", onClick: P, onDblclick: $ }, [n("div", { class: "yx-flex-wrap", align: "center", style: { gap: "10px", flex: "1 1 auto", maxWidth: "calc(100% - 80px)" } }, [e2.no && n(p, { type: "primary", size: "small" }, { default: () => [e2.no] }), n("div", { "layout-title": true, class: "ellipsis" }, [H(w.titleSlot)])]), n("div", { class: "yx-flex-wrap", align: "center", style: { gap: "10px" } }, [H(w.headerRightSlot), e2.isEnableEdit && n(c, { text: true, icon: n(d, null, { default: () => [n(v, null, null)] }), onClick: (e3) => {
41
+ e3.stopPropagation(), x("rowDblclick", e3);
42
+ } }, null), e2.isSubTable && n(c, { text: true, icon: n(d, null, { default: () => [n(m, null, null)] }), onClick: (l3) => {
43
+ l3.stopPropagation(), x("showSubTable", e2.form);
44
+ } }, null), e2.isCheck && n(h, { "model-value": e2.isChecked, disabled: !!e2.form.$editing, style: "height: auto;", onClick: (e3) => {
42
45
  e3.stopPropagation();
43
- }, onChange: C }, null)])]), ...D.value.length > 0 ? { footer: D.value } : {} });
46
+ }, onChange: D }, null)])]), ...j.value.length > 0 ? { footer: j.value } : {} });
44
47
  };
45
48
  } });
46
49
  export {
47
- g as default
50
+ b as default
48
51
  };