agilebuilder-ui 1.1.57-sit3 → 1.1.58-sit1
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/{401-636d8b54.js → 401-88a355e4.js} +1 -1
- package/lib/{404-06a6c571.js → 404-afc478d6.js} +1 -1
- package/lib/{_baseUniq-BXtq6_NW-225b437f.js → _baseUniq-BXtq6_NW-617aa2f9.js} +2 -2
- package/lib/{arc-Js_tyW10-6f3f1db2.js → arc-Js_tyW10-df45eaa0.js} +1 -1
- package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-bdaf85db.js +11 -0
- package/lib/{architectureDiagram-SUXI7LT5-kyYGGrHN-0f7e87f0.js → architectureDiagram-SUXI7LT5-kyYGGrHN-648a9961.js} +8 -8
- package/lib/{blockDiagram-6J76NXCF-IAr4zDV3-8da0a1a7.js → blockDiagram-6J76NXCF-IAr4zDV3-2fccbc39.js} +7 -7
- package/lib/{c4Diagram-6F6E4RAY-Dv27rXcJ-c2b174b6.js → c4Diagram-6F6E4RAY-Dv27rXcJ-a3d9ffd9.js} +3 -3
- package/lib/{channel-BBZy6zOT-b4765106.js → channel-BBZy6zOT-1cf50a39.js} +1 -1
- package/lib/{chunk-353BL4L5-Dn_Y_Yna-1776736a.js → chunk-353BL4L5-Dn_Y_Yna-1cdd12fb.js} +1 -1
- package/lib/{chunk-67H74DCK-Br5U8bfD-a0911b18.js → chunk-67H74DCK-Br5U8bfD-057f3620.js} +1 -1
- package/lib/{chunk-AACKK3MU-DH_MKxca-c07677af.js → chunk-AACKK3MU-DH_MKxca-1329b291.js} +1 -1
- package/lib/{chunk-BFAMUDN2-DHLCoYMN-eb545da6.js → chunk-BFAMUDN2-DHLCoYMN-14c87732.js} +1 -1
- package/lib/{chunk-E2GYISFI-DQPHyyga-aa6ec5ff.js → chunk-E2GYISFI-DQPHyyga-a72624fe.js} +1 -1
- package/lib/{chunk-OW32GOEJ-CQOSE6Bn-dbe507d3.js → chunk-OW32GOEJ-CQOSE6Bn-2373041f.js} +3 -3
- package/lib/{chunk-SKB7J2MH-BlwHRDiW-e6132f1f.js → chunk-SKB7J2MH-BlwHRDiW-0a15c77d.js} +1 -1
- package/lib/{chunk-SZ463SBG-DEp8buKJ-514d9beb.js → chunk-SZ463SBG-DEp8buKJ-61d05561.js} +4 -4
- package/lib/{classDiagram-M3E45YP4-D0ySDe-v-1cdc4005.js → classDiagram-M3E45YP4-D0ySDe-v-2380520e.js} +6 -6
- package/lib/{classDiagram-v2-YAWTLIQI-D0ySDe-v-1cdc4005.js → classDiagram-v2-YAWTLIQI-D0ySDe-v-2380520e.js} +6 -6
- package/lib/{clone-CEJtuQzg-d9ba41f8.js → clone-CEJtuQzg-43a7bd59.js} +1 -1
- package/lib/{dagre-JOIXM2OF-5zx0JY2T-24815a3c.js → dagre-JOIXM2OF-5zx0JY2T-66948b1f.js} +7 -7
- package/lib/{diagram-5UYTHUR4-C19nyAKc-777429e8.js → diagram-5UYTHUR4-C19nyAKc-5cfdc360.js} +7 -7
- package/lib/{diagram-VMROVX33-DkGwo-hj-013b3705.js → diagram-VMROVX33-DkGwo-hj-e5e9c2c7.js} +8 -8
- package/lib/{diagram-ZTM2IBQH-CBgHCu9L-9e561cf8.js → diagram-ZTM2IBQH-CBgHCu9L-45dcb455.js} +7 -7
- package/lib/{erDiagram-3M52JZNH-cttdAJXW-bfce1da6.js → erDiagram-3M52JZNH-cttdAJXW-ae4c728e.js} +5 -5
- package/lib/{flowDiagram-KYDEHFYC-9HpsqDdB-e7c887af.js → flowDiagram-KYDEHFYC-9HpsqDdB-58941953.js} +6 -6
- package/lib/{ganttDiagram-EK5VF46D-8QB3ofs6-85cf3e57.js → ganttDiagram-EK5VF46D-8QB3ofs6-0126173b.js} +3 -3
- package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-5a3c376b.js +11 -0
- package/lib/{gitGraphDiagram-GW3U2K7C-DNzc0Vx_-5fd38d51.js → gitGraphDiagram-GW3U2K7C-DNzc0Vx_-fb293cc5.js} +8 -8
- package/lib/{graph-3zJxsO-i-c290b7f9.js → graph-3zJxsO-i-4fa86d20.js} +3 -3
- package/lib/{iframe-page-e15f9aa6.js → iframe-page-592a1aea.js} +1 -1
- package/lib/{index-0ed2fd1d.js → index-b5bd5d08.js} +79 -41
- package/lib/info-63CPKGFF-C8sYWczU-6fd12ac3.js +11 -0
- package/lib/{infoDiagram-LHK5PUON-C-vFFPTf-a80cb5a6.js → infoDiagram-LHK5PUON-C-vFFPTf-869425fe.js} +6 -6
- package/lib/{journeyDiagram-EWQZEKCU-BJrw4-AG-6b1ce36e.js → journeyDiagram-EWQZEKCU-BJrw4-AG-94ca3fbf.js} +5 -5
- package/lib/{kanban-definition-ZSS6B67P-BptAnqU--46cade26.js → kanban-definition-ZSS6B67P-BptAnqU--7f33088b.js} +3 -3
- package/lib/{layout-sGZIJplX-2ba75b8e.js → layout-sGZIJplX-733c3554.js} +5 -5
- package/lib/{linear-DqgVh5FN-5c70024b.js → linear-DqgVh5FN-6ccdedc2.js} +1 -1
- package/lib/{mermaid-parser.core-CH9ryA1K-bf0875cb.js → mermaid-parser.core-CH9ryA1K-cd66f36d.js} +12 -12
- package/lib/{mermaid.core-CAqkCmS1-6c0f2e5c.js → mermaid.core-CAqkCmS1-82993e20.js} +30 -30
- package/lib/{min-BngCxx8g-43ed7f04.js → min-BngCxx8g-c59244ce.js} +3 -3
- package/lib/{mindmap-definition-6CBA2TL7-Cp_EeEsh-3a57f8d1.js → mindmap-definition-6CBA2TL7-Cp_EeEsh-e3b0b43a.js} +2 -2
- package/lib/packet-HUATNLJX-bfFWFja0-d229c7e4.js +11 -0
- package/lib/pie-WTHONI2E-QPrWs3SR-5b711d67.js +11 -0
- package/lib/{pieDiagram-NIOCPIFQ-C46Y_4C6-35933904.js → pieDiagram-NIOCPIFQ-C46Y_4C6-c945992f.js} +8 -8
- package/lib/{quadrantDiagram-2OG54O6I-Dgf6d6F_-bf70f6d5.js → quadrantDiagram-2OG54O6I-Dgf6d6F_-a438b4be.js} +3 -3
- package/lib/radar-NJJJXTRR-BnUCJhQL-02373057.js +11 -0
- package/lib/{requirementDiagram-QOLK2EJ7-CSF6N7HA-872aad37.js → requirementDiagram-QOLK2EJ7-CSF6N7HA-233f5a62.js} +4 -4
- package/lib/{sankeyDiagram-4UZDY2LN-BAHB7dMS-164d5969.js → sankeyDiagram-4UZDY2LN-BAHB7dMS-116605b3.js} +2 -2
- package/lib/{sequenceDiagram-SKLFT4DO-10gLJ50N-25ebccff.js → sequenceDiagram-SKLFT4DO-10gLJ50N-b512d685.js} +4 -4
- package/lib/{stateDiagram-MI5ZYTHO-D6p6nCaj-463eda6c.js → stateDiagram-MI5ZYTHO-D6p6nCaj-5f4cff8f.js} +9 -9
- package/lib/{stateDiagram-v2-5AN5P6BG-DaN5hC-t-9e723206.js → stateDiagram-v2-5AN5P6BG-DaN5hC-t-839fb05f.js} +5 -5
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +6 -6
- package/lib/{tab-content-iframe-index-f6d751c8.js → tab-content-iframe-index-f8a0b7d8.js} +1 -1
- package/lib/{tab-content-index-21a895d8.js → tab-content-index-b327c8a6.js} +29 -23
- package/lib/{tache-subprocess-history-b7f9b31d.js → tache-subprocess-history-aa9f1b26.js} +1 -1
- package/lib/{timeline-definition-MYPXXCX6-gLqnWxDu-ef084beb.js → timeline-definition-MYPXXCX6-gLqnWxDu-e750201c.js} +3 -3
- package/lib/treemap-75Q7IDZK-B2atdfMH-c9778896.js +11 -0
- package/lib/{xychartDiagram-H2YORKM3-Whqa4ezL-53c0c31c.js → xychartDiagram-H2YORKM3-Whqa4ezL-07612af3.js} +3 -3
- package/package.json +1 -1
- package/packages/fs-preview/src/fs-preview.vue +18 -8
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +45 -25
- package/packages/fs-upload-new/src/fs-button-upload.vue +2 -2
- package/packages/fs-upload-new/src/fs-drag-upload.vue +2 -2
- package/packages/super-grid/src/normal-column-content.vue +0 -12
- package/packages/super-grid/src/normal-column.vue +1 -1
- package/packages/super-grid/src/row-operation.vue +2 -0
- package/packages/super-grid/src/super-grid-service.js +1 -1
- package/packages/super-grid/src/super-grid.vue +1 -0
- package/packages/super-icon/src/index.vue +3 -2
- package/src/permission.js +5 -1
- package/src/store/modules/user.js +60 -25
- package/src/styles/_layout-custom-properties.scss +7 -1
- package/src/styles/display-layout.scss +73 -45
- package/src/styles/index.scss +10 -2
- package/src/styles/table.scss +2 -2
- package/src/styles/theme/black/index.scss +2 -2
- package/src/styles/theme/blue/index.scss +1 -1
- package/src/styles/theme/blue2/index.scss +1 -1
- package/src/styles/theme/dark-blue/checkbox.scss +4 -0
- package/src/styles/theme/dark-blue/dark-blue-var.scss +2 -0
- package/src/styles/theme/dark-blue/index.scss +12 -25
- package/src/styles/theme/dark-blue/pagination.scss +4 -0
- package/src/styles/theme/dark-blue/select.scss +12 -0
- package/src/styles/theme/dark-blue/tree.scss +8 -2
- package/src/styles/theme/forest-green/button.scss +144 -0
- package/src/styles/theme/forest-green/card.scss +67 -0
- package/src/styles/theme/forest-green/checkbox.scss +18 -0
- package/src/styles/theme/forest-green/date-picker.scss +18 -0
- package/src/styles/theme/forest-green/dialog.scss +17 -0
- package/src/styles/theme/forest-green/element-variables.scss +7 -0
- package/src/styles/theme/forest-green/font.scss +73 -0
- package/src/styles/theme/forest-green/forest-green.scss +27 -0
- package/src/styles/theme/forest-green/form.scss +51 -0
- package/src/styles/theme/forest-green/index.scss +402 -0
- package/src/styles/theme/forest-green/input.scss +23 -0
- package/src/styles/theme/forest-green/message.scss +8 -0
- package/src/styles/theme/forest-green/pagination.scss +37 -0
- package/src/styles/theme/forest-green/radio.scss +13 -0
- package/src/styles/theme/forest-green/scrollbar-style.scss +32 -0
- package/src/styles/theme/forest-green/select.scss +16 -0
- package/src/styles/theme/forest-green/sidebar.scss +278 -0
- package/src/styles/theme/forest-green/tab.scss +94 -0
- package/src/styles/theme/forest-green/table.scss +20 -0
- package/src/styles/theme/forest-green/tree.scss +67 -0
- package/src/styles/theme/forest-green/var.scss +1028 -0
- package/src/styles/theme/gray/index.scss +1 -1
- package/src/styles/theme/green/checkbox.scss +7 -2
- package/src/styles/theme/green/index.scss +18 -30
- package/src/styles/theme/green/pagination.scss +4 -0
- package/src/styles/theme/green/select.scss +8 -2
- package/src/styles/theme/green/tree.scss +8 -2
- package/src/styles/theme/ocean-blue/button.scss +17 -7
- package/src/styles/theme/ocean-blue/checkbox.scss +7 -2
- package/src/styles/theme/ocean-blue/index.scss +13 -29
- package/src/styles/theme/ocean-blue/input.scss +5 -1
- package/src/styles/theme/ocean-blue/pagination.scss +4 -0
- package/src/styles/theme/ocean-blue/select.scss +8 -2
- package/src/styles/theme/ocean-blue/sidebar.scss +26 -17
- package/src/styles/theme/ocean-blue/tree.scss +8 -2
- package/src/styles/theme/tiffany-blue-mobile/index.scss +3 -2
- package/src/utils/common-util.js +17 -0
- package/src/utils/request.js +22 -16
- package/src/views/dsc-component/Sidebar/index.vue +6 -2
- package/src/views/dsc-component/tabs/tab-content.vue +45 -68
- package/src/views/layout/components/tabs/tab-content.vue +7 -1
- package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-4df08933.js +0 -11
- package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-f5711898.js +0 -11
- package/lib/info-63CPKGFF-C8sYWczU-6af95050.js +0 -11
- package/lib/packet-HUATNLJX-bfFWFja0-5b720ab3.js +0 -11
- package/lib/pie-WTHONI2E-QPrWs3SR-436ddd74.js +0 -11
- package/lib/radar-NJJJXTRR-BnUCJhQL-2afb3d31.js +0 -11
- package/lib/treemap-75Q7IDZK-B2atdfMH-b96fa422.js +0 -11
|
@@ -5692,7 +5692,7 @@ function getMyToken() {
|
|
|
5692
5692
|
return e || (e = getSessionCache$1(jwtKey)), e;
|
|
5693
5693
|
}
|
|
5694
5694
|
function setToken$1(e) {
|
|
5695
|
-
setCookieCache(jwtKey, e), setSessionCache(jwtKey, e);
|
|
5695
|
+
setCookieCache(jwtKey, e), setSessionCache$1(jwtKey, e);
|
|
5696
5696
|
}
|
|
5697
5697
|
function removeToken$1() {
|
|
5698
5698
|
removeCookieCache(jwtKey), removeSessionCache(jwtKey), removeSessionCache(runDevpJwtKey);
|
|
@@ -5703,7 +5703,7 @@ function getUsername$1() {
|
|
|
5703
5703
|
}
|
|
5704
5704
|
function setUsername$1(e) {
|
|
5705
5705
|
let n = getRunInfoKey$1(currentUserNameKey);
|
|
5706
|
-
setSessionCache(n, e), setCookieCache(n, e);
|
|
5706
|
+
setSessionCache$1(n, e), setCookieCache(n, e);
|
|
5707
5707
|
}
|
|
5708
5708
|
function removeUsername$1() {
|
|
5709
5709
|
removeSessionCache(currentUserNameKey), removeCookieCache(currentUserNameKey);
|
|
@@ -5721,7 +5721,7 @@ function setCurrentUser$1(e) {
|
|
|
5721
5721
|
if (e) {
|
|
5722
5722
|
e.password && (e.password = null);
|
|
5723
5723
|
const r = JSON.stringify(e);
|
|
5724
|
-
setSessionCache(n, r), setCookieCache(n, r);
|
|
5724
|
+
setSessionCache$1(n, r), setCookieCache(n, r);
|
|
5725
5725
|
}
|
|
5726
5726
|
}
|
|
5727
5727
|
function getRunInfoKey$1(e) {
|
|
@@ -5743,7 +5743,7 @@ function removeCookieCache(e) {
|
|
|
5743
5743
|
function getSessionCache$1(e) {
|
|
5744
5744
|
return window.sessionStorage.getItem(e);
|
|
5745
5745
|
}
|
|
5746
|
-
function setSessionCache(e, n) {
|
|
5746
|
+
function setSessionCache$1(e, n) {
|
|
5747
5747
|
return window.sessionStorage.setItem(e, n);
|
|
5748
5748
|
}
|
|
5749
5749
|
function removeSessionCache(e) {
|
|
@@ -5776,7 +5776,7 @@ function getLanguage$1() {
|
|
|
5776
5776
|
return !e && n && n === "developing.model" && (e = getSessionCache$1(langKey)), e;
|
|
5777
5777
|
}
|
|
5778
5778
|
function setLanguage$1(e) {
|
|
5779
|
-
e || (e = "zh_CN"), setCookieCache(langKey, e), setSessionCache(langKey, e);
|
|
5779
|
+
e || (e = "zh_CN"), setCookieCache(langKey, e), setSessionCache$1(langKey, e);
|
|
5780
5780
|
}
|
|
5781
5781
|
function removeLanguage$1() {
|
|
5782
5782
|
removeCookieCache(langKey), removeSessionCache(langKey);
|
|
@@ -5787,7 +5787,7 @@ function getAllLanguages$1() {
|
|
|
5787
5787
|
return !e && n && n === "developing.model" && (e = getSessionCache$1(allLangKey)), e;
|
|
5788
5788
|
}
|
|
5789
5789
|
function setAllLanguages(e) {
|
|
5790
|
-
setCookieCache(allLangKey, e), setSessionCache(allLangKey, e);
|
|
5790
|
+
setCookieCache(allLangKey, e), setSessionCache$1(allLangKey, e);
|
|
5791
5791
|
}
|
|
5792
5792
|
function removeAllLanguages$1() {
|
|
5793
5793
|
removeCookieCache(allLangKey), removeSessionCache(allLangKey);
|
|
@@ -5807,7 +5807,7 @@ function getAllThemes() {
|
|
|
5807
5807
|
return !e && n && n === "developing.model" && (e = getSessionCache$1(allThemeKey)), e;
|
|
5808
5808
|
}
|
|
5809
5809
|
function setAllThemes(e) {
|
|
5810
|
-
setCookieCache(allThemeKey, e), setSessionCache(allThemeKey, e);
|
|
5810
|
+
setCookieCache(allThemeKey, e), setSessionCache$1(allThemeKey, e);
|
|
5811
5811
|
}
|
|
5812
5812
|
function removeAllThemes$1() {
|
|
5813
5813
|
removeCookieCache(allThemeKey), removeSessionCache(allThemeKey);
|
|
@@ -5815,7 +5815,7 @@ function removeAllThemes$1() {
|
|
|
5815
5815
|
function removePublishControl$1() {
|
|
5816
5816
|
removeCookieCache(versionEnv), removeCookieCache(userVersion);
|
|
5817
5817
|
}
|
|
5818
|
-
const authApi = { getToken: getToken$1, setToken: setToken$1, removeToken: removeToken$1, getUsername: getUsername$1, setUsername: setUsername$1, removeUsername: removeUsername$1, getCurrentUser: getCurrentUser$1, setCurrentUser: setCurrentUser$1, removeCurrentUser: removeCurrentUser$1, getCookieCache: getCookieCache$1, setCookieCache, removeCookieCache, getSessionCache: getSessionCache$1, setSessionCache, removeSessionCache, getSystemCacheUrlByCode, getSystemCacheUrl, setSystemCacheUrl, removeSystemCacheUrl: removeSystemCacheUrl$1, getLanguage: getLanguage$1, setLanguage: setLanguage$1, removeLanguage: removeLanguage$1, getAllLanguages: getAllLanguages$1, setAllLanguages, removeAllLanguages: removeAllLanguages$1, getTheme: getTheme$1, setTheme: setTheme$1, removeTheme: removeTheme$1, getAllThemes, setAllThemes, removeAllThemes: removeAllThemes$1, removePublishControl: removePublishControl$1, isDevpSystem: isDevpSystem$1, getRunInfoKey: getRunInfoKey$1 };
|
|
5818
|
+
const authApi = { getToken: getToken$1, setToken: setToken$1, removeToken: removeToken$1, getUsername: getUsername$1, setUsername: setUsername$1, removeUsername: removeUsername$1, getCurrentUser: getCurrentUser$1, setCurrentUser: setCurrentUser$1, removeCurrentUser: removeCurrentUser$1, getCookieCache: getCookieCache$1, setCookieCache, removeCookieCache, getSessionCache: getSessionCache$1, setSessionCache: setSessionCache$1, removeSessionCache, getSystemCacheUrlByCode, getSystemCacheUrl, setSystemCacheUrl, removeSystemCacheUrl: removeSystemCacheUrl$1, getLanguage: getLanguage$1, setLanguage: setLanguage$1, removeLanguage: removeLanguage$1, getAllLanguages: getAllLanguages$1, setAllLanguages, removeAllLanguages: removeAllLanguages$1, getTheme: getTheme$1, setTheme: setTheme$1, removeTheme: removeTheme$1, getAllThemes, setAllThemes, removeAllThemes: removeAllThemes$1, removePublishControl: removePublishControl$1, isDevpSystem: isDevpSystem$1, getRunInfoKey: getRunInfoKey$1 };
|
|
5819
5819
|
let getRandomValues;
|
|
5820
5820
|
const rnds8 = new Uint8Array(16);
|
|
5821
5821
|
function rng() {
|
|
@@ -6038,6 +6038,14 @@ function getReplaceUrlDomain(e) {
|
|
|
6038
6038
|
function getAuthSource() {
|
|
6039
6039
|
return window.localStorage.getItem("auth_source");
|
|
6040
6040
|
}
|
|
6041
|
+
function getURLSearchParamObj(e) {
|
|
6042
|
+
try {
|
|
6043
|
+
const n = e.includes("#") ? e.split("#")[1] : e, r = n.includes("?") ? n.split("?")[1] : n, o = new URLSearchParams(r);
|
|
6044
|
+
return Object.fromEntries(o);
|
|
6045
|
+
} catch (n) {
|
|
6046
|
+
console.error("error===", n);
|
|
6047
|
+
}
|
|
6048
|
+
}
|
|
6041
6049
|
function getKkFilePreviewUrl(e) {
|
|
6042
6050
|
e += "&isShowWatermark=false";
|
|
6043
6051
|
let n = getKkFileBackendUrl() + "?url=" + encodeURIComponent(gBase64.encode(e));
|
|
@@ -6074,6 +6082,13 @@ function isValidDate(e) {
|
|
|
6074
6082
|
const n = new Date(e);
|
|
6075
6083
|
return !isNaN(n.getTime());
|
|
6076
6084
|
}
|
|
6085
|
+
function getLoginTimeoutUrlInfo() {
|
|
6086
|
+
const e = window.location.href, n = getURLSearchParamObj(e);
|
|
6087
|
+
let r;
|
|
6088
|
+
n && n.customSystem && (r = n.customSystem);
|
|
6089
|
+
let o = { loginTimeout: e };
|
|
6090
|
+
return r && (o.customSystem = r), o;
|
|
6091
|
+
}
|
|
6077
6092
|
const permissionKey = "PERMISSION-", permissionMenuKey = "PERMISSION_MENU-", _RUN_PERMISSION = "_RUN_PERMISSION", permissionAllSystemKey = "PERMISSION_All_SYSTSEM_KEY", mobilePermissionKey = "PERMISSION-MOBILE-WEB";
|
|
6078
6093
|
function getSystemCode() {
|
|
6079
6094
|
let e;
|
|
@@ -6408,6 +6423,9 @@ function getCookieCache(e) {
|
|
|
6408
6423
|
function getSessionCache(e) {
|
|
6409
6424
|
return authApi.getSessionCache(e);
|
|
6410
6425
|
}
|
|
6426
|
+
function setSessionCache(e, n) {
|
|
6427
|
+
return authApi.setSessionCache(e, n);
|
|
6428
|
+
}
|
|
6411
6429
|
function getLanguage() {
|
|
6412
6430
|
return authApi.getLanguage();
|
|
6413
6431
|
}
|
|
@@ -9478,7 +9496,15 @@ service.interceptors.request.use((e) => {
|
|
|
9478
9496
|
return r && r !== "Internal Server Error" && (o = r), !r || r !== "gateway.timeout" && r !== "gateway.callFailed" || (o = getI18n().t(r)), ElMessage$1({ showClose: !0, message: o, type: "error", duration: 5e3 }), Promise.reject(e);
|
|
9479
9497
|
}
|
|
9480
9498
|
}
|
|
9481
|
-
|
|
9499
|
+
store$3.dispatch("clearToken").then(() => {
|
|
9500
|
+
let r = getLoginTimeoutUrlInfo();
|
|
9501
|
+
if (window.$vueApp.config.globalProperties.$isInIframe() === !0) {
|
|
9502
|
+
r.isIframe = !0;
|
|
9503
|
+
const o = JSON.stringify(r);
|
|
9504
|
+
setSessionCache("loginTimeoutInIframeSrc", o), window.parent.postMessage(o, "*");
|
|
9505
|
+
} else
|
|
9506
|
+
r.isIframe = !1, setSessionCache("loginTimeoutInIframeSrc", JSON.stringify(r));
|
|
9507
|
+
});
|
|
9482
9508
|
});
|
|
9483
9509
|
const ssoService = { login, getCurrentUser, logout, isPasswordExpired, updatePassword, getCurrentUserPermissionsBySystem, getUserLanguage, getUserLangAndTheme, forgetPasswordSendMail, getForgetPasswordMailType, isResetPasswordJwtOverdue, resetPassword, isLoginTimeOut, getUserPermissionMenusBySystemCode, loginWithValidateCode, getDevPlatformPermissions, isPasswordExpiredWithValidateCode }, user = { state: { token: "", name: "", menus: [] }, mutations: { setToken: (e, n) => {
|
|
9484
9510
|
e.token = n;
|
|
@@ -9508,17 +9534,31 @@ const ssoService = { login, getCurrentUser, logout, isPasswordExpired, updatePas
|
|
|
9508
9534
|
a(l);
|
|
9509
9535
|
});
|
|
9510
9536
|
});
|
|
9511
|
-
},
|
|
9537
|
+
}, loginWithCookieTokenNew: ({ commit: e }, n) => (clearVoiceCache(), new Promise((r, o) => {
|
|
9538
|
+
const a = n.loginName;
|
|
9539
|
+
a || ssoService.getCurrentUser().then((l) => {
|
|
9540
|
+
l && (a = l.loginName, setUsername(l.loginName), setCurrentUser(l), e("setName", l.name)), removeAllSystemPermissions();
|
|
9541
|
+
const u = n.systemCode;
|
|
9542
|
+
ssoService.getCurrentUserPermissionsBySystem(a, u).then((d) => {
|
|
9543
|
+
let f = ["index"];
|
|
9544
|
+
f = f.concat(d), setPermissions(f), r(l);
|
|
9545
|
+
}).catch((d) => {
|
|
9546
|
+
o(d);
|
|
9547
|
+
});
|
|
9548
|
+
}).catch((l) => {
|
|
9549
|
+
o(l);
|
|
9550
|
+
});
|
|
9551
|
+
})), loginWithCookieToken: ({ commit: e }, n) => (clearVoiceCache(), new Promise((r, o) => {
|
|
9512
9552
|
n || ssoService.getCurrentUser().then((a) => {
|
|
9513
|
-
a && (n = a.loginName, setUsername(a.loginName), setCurrentUser(a), e("setName", a.name)),
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9553
|
+
a && (n = a.loginName, setUsername(a.loginName), setCurrentUser(a), e("setName", a.name)), removeAllSystemPermissions(), ssoService.getCurrentUserPermissionsBySystem(n).then((l) => {
|
|
9554
|
+
let u = ["index"];
|
|
9555
|
+
u = u.concat(l), setPermissions(u), r(a);
|
|
9556
|
+
}).catch((l) => {
|
|
9557
|
+
o(l);
|
|
9558
|
+
});
|
|
9519
9559
|
}).catch((a) => {
|
|
9520
9560
|
o(a);
|
|
9521
|
-
})
|
|
9561
|
+
});
|
|
9522
9562
|
})), getCurrentUser: ({ commit: e, state: n }) => new Promise((r, o) => {
|
|
9523
9563
|
const a = getUsername();
|
|
9524
9564
|
a === void 0 || a === "" || a === null ? ssoService.getCurrentUser().then((l) => {
|
|
@@ -10769,7 +10809,7 @@ const SvgIcon = _export_sfc$2(_sfc_main$2l, [["render", _sfc_render$1w], ["__sco
|
|
|
10769
10809
|
const a = resolveComponent("el-icon");
|
|
10770
10810
|
return e.iconValue.indexOf("amb-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(["amb-iconfont", e.iconValue]) }, null, 2)) : e.iconValue.indexOf("amb-color-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 1, class: normalizeClass(["amb-color-iconfont super-icon", e.iconValue]) }, null, 2)) : e.iconValue.indexOf("fa-") === 0 ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass("fa " + e.iconValue) }, null, 2)) : e.iconValue.indexOf("svg-img-") === 0 ? (openBlock(), createElementBlock("img", { key: 3, src: n.value + e.iconValue, style: { width: "1em", height: "1em" } }, null, 8, _hoisted_1$1E)) : e.iconValue.indexOf("svg-") === 0 ? (openBlock(), createBlock(SvgIcon, { key: 4, "icon-class": e.iconValue.substring(4) }, null, 8, ["icon-class"])) : e.iconValue.indexOf("http") === 0 || e.iconValue.indexOf("//") === 0 || e.iconValue.indexOf("data:") === 0 ? (openBlock(), createElementBlock("img", { key: 5, src: e.iconValue, style: { width: "1em", height: "1em" } }, null, 8, _hoisted_2$14)) : (openBlock(), createBlock(a, { key: 6 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(e.iconValue)))]), _: 1 }));
|
|
10771
10811
|
};
|
|
10772
|
-
} }),
|
|
10812
|
+
} }), index_vue_vue_type_style_index_0_scoped_875fd31c_lang = "", superIcon = _export_sfc$2(_sfc_main$2k, [["__scopeId", "data-v-875fd31c"]]);
|
|
10773
10813
|
superIcon.install = function(e) {
|
|
10774
10814
|
e.component("SuperIcon", superIcon);
|
|
10775
10815
|
};
|
|
@@ -11072,7 +11112,7 @@ function _sfc_render$1s(e, n, r, o, a, l) {
|
|
|
11072
11112
|
const u = resolveComponent("app-main");
|
|
11073
11113
|
return openBlock(), createElementBlock("div", _hoisted_1$1B, [createElementVNode("div", _hoisted_2$13, [createVNode(u)])]);
|
|
11074
11114
|
}
|
|
11075
|
-
const Layout = _export_sfc$2(_sfc_main$2f, [["render", _sfc_render$1s]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-
|
|
11115
|
+
const Layout = _export_sfc$2(_sfc_main$2f, [["render", _sfc_render$1s]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-592a1aea.js"), hidden: !0 }] }, { path: "/auth-redirect", component: () => import("./authredirect-294d14ef.js"), hidden: !0 }, { path: "/404", component: () => import("./404-afc478d6.js"), hidden: !0 }, { path: "/401", component: () => import("./401-88a355e4.js"), hidden: !0 }, { path: "/show-sub-wf-history", component: () => import("./tache-subprocess-history-aa9f1b26.js"), hidden: !0 }, { path: "/tab-content-index", component: () => import("./tab-content-index-b327c8a6.js"), hidden: !0 }, { path: "/tab-content-iframe-index", component: () => import("./tab-content-iframe-index-f8a0b7d8.js"), hidden: !0 }], protectedRouterMap = [];
|
|
11076
11116
|
function filterProtectedRouter(e, n) {
|
|
11077
11117
|
const r = [], o = [];
|
|
11078
11118
|
return e.forEach((a) => {
|
|
@@ -14473,7 +14513,7 @@ function getFileIconByName(e) {
|
|
|
14473
14513
|
const o = "amb-color-icon-" + r.toUpperCase();
|
|
14474
14514
|
return iconList.includes(o) ? o : n;
|
|
14475
14515
|
}
|
|
14476
|
-
const
|
|
14516
|
+
const fsPreview_vue_vue_type_style_index_0_scoped_24de59d8_lang = "", _sfc_main$1Y = { components: { ElIconPaperclip: paperclip_default, ElIconView: view_default, ElIconDownload: download_default }, name: "FsPreview", props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, fileSetObj: { type: Object, default: null }, isSql: { type: Boolean, default: !1 }, entity: { type: Object, default: () => ({}) }, fileInfo: { type: Object, default: () => ({}) }, disabled: { type: Boolean, default: !1 }, enableDelete: { type: Boolean, default: !1 }, watermark: { type: Object, default: () => ({}) } }, data: () => ({ showPreviewSingleImage: !1, showPreviewMulti: !1, previewImageInfo: {}, fileList: [], downloadable: !0, keyValueParam: {}, showMultipleFile: !1, firstFileUUid: "" }), computed: { firstFileName() {
|
|
14477
14517
|
var e;
|
|
14478
14518
|
return ((e = this.label) == null ? void 0 : e.indexOf(",")) > -1 ? (this.showMultipleFile = !0, this.label.split(",")[0]) : (this.showMultipleFile = !1, this.label);
|
|
14479
14519
|
}, lab() {
|
|
@@ -14573,9 +14613,9 @@ const fsPreview_vue_vue_type_style_index_0_scoped_81acd244_lang = "", _sfc_main$
|
|
|
14573
14613
|
} }, emits: ["close", "delete-file"] }, _hoisted_1$1l = { ref: "fsPreviewRef" }, _hoisted_2$U = { class: "fs-preview-container" }, _hoisted_3$F = ["title"], _hoisted_4$v = { key: 1, ref: "toolRef", class: "fs-preview-tool" }, _hoisted_5$o = { style: { "max-height": "300px", "overflow-y": "auto" } }, _hoisted_6$l = { style: { display: "flex", "align-items": "center", flex: "1" } }, _hoisted_7$f = { class: "more-file-icon" }, _hoisted_8$a = { class: "amb-list-preivew-name", style: { width: "230px", "margin-left": "10px" } }, _hoisted_9$9 = { class: "file-actions" };
|
|
14574
14614
|
function _sfc_render$1f(e, n, r, o, a, l) {
|
|
14575
14615
|
const u = resolveComponent("super-icon"), d = resolveComponent("el-tooltip"), f = resolveComponent("el-divider"), m = resolveComponent("ArrowDownBold"), y = resolveComponent("el-icon"), b = resolveComponent("el-button"), x = resolveComponent("el-popover"), O = resolveComponent("el-image-viewer");
|
|
14576
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1l, [createElementVNode("div", { ref: "filePreviewRef", onDblclick: n[3] || (n[3] = (...F) => l.dblclickEvent && l.dblclickEvent(...F)), class: "fs-preview-container" }, [renderSlot(e.$slots, "prefix", {}, void 0, !0), l.firstFileName ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createElementVNode("div", _hoisted_2$U, [createVNode(u, { iconValue: l.getFileIconByName(l.firstFileName) }, null, 8, ["iconValue"])]), createElementVNode("span", { title: l.firstFileName, ref: "nameRef", class: "amb-list-preivew-name" }, toDisplayString$1(l.firstFileName), 9, _hoisted_3$F)], 64)) : createCommentVNode("", !0), l.firstFileName ? (openBlock(), createElementBlock("div", _hoisted_4$v, [renderSlot(e.$slots, "tool-prefix", { item: l.getFirstFile() }, void 0, !0), r.enableDelete && !r.disabled ? (openBlock(), createBlock(d, { key: 0, content: e.$t("fsUpload.delete") }, { default: withCtx(() => [createVNode(u, { onClick: n[0] || (n[0] = (F) => l.deleteFirst()), iconValue: "amb-
|
|
14616
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1l, [createElementVNode("div", { ref: "filePreviewRef", onDblclick: n[3] || (n[3] = (...F) => l.dblclickEvent && l.dblclickEvent(...F)), class: "fs-preview-container" }, [renderSlot(e.$slots, "prefix", {}, void 0, !0), l.firstFileName ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createElementVNode("div", _hoisted_2$U, [createVNode(u, { iconValue: l.getFileIconByName(l.firstFileName) }, null, 8, ["iconValue"])]), createElementVNode("span", { title: l.firstFileName, ref: "nameRef", class: "amb-list-preivew-name" }, toDisplayString$1(l.firstFileName), 9, _hoisted_3$F)], 64)) : createCommentVNode("", !0), l.firstFileName ? (openBlock(), createElementBlock("div", _hoisted_4$v, [renderSlot(e.$slots, "tool-prefix", { item: l.getFirstFile() }, void 0, !0), r.enableDelete && !r.disabled ? (openBlock(), createBlock(d, { key: 0, content: e.$t("fsUpload.delete") }, { default: withCtx(() => [createVNode(u, { onClick: n[0] || (n[0] = (F) => l.deleteFirst()), iconValue: "amb-icon-shanchu" })]), _: 1 }, 8, ["content"])) : createCommentVNode("", !0), r.disabled && r.fileSetObj.disabledNoPreview ? createCommentVNode("", !0) : (openBlock(), createBlock(d, { key: 1, content: e.$t("fsUpload.preview") }, { default: withCtx(() => [createVNode(u, { onClick: n[1] || (n[1] = (F) => l.previewFirst()), iconValue: "amb-icon-yulan" })]), _: 1 }, 8, ["content"])), r.disabled && r.fileSetObj.disabledNoDownload ? createCommentVNode("", !0) : (openBlock(), createBlock(d, { key: 2, content: e.$t("fsUpload.download") }, { default: withCtx(() => [createVNode(u, { onClick: n[2] || (n[2] = (F) => l.downloadFirst()), iconValue: "amb-icon-xiazai" })]), _: 1 }, 8, ["content"])), renderSlot(e.$slots, "tool-suffix", { item: l.getFirstFile() }, void 0, !0), a.showMultipleFile ? (openBlock(), createBlock(f, { key: 3, direction: "vertical" })) : createCommentVNode("", !0), createVNode(x, { width: 450, trigger: "click" }, { reference: withCtx(() => [a.showMultipleFile ? (openBlock(), createBlock(b, { key: 0, plain: "", type: "primary", round: "", size: "small", onClick: l.showMultiView }, { default: withCtx(() => [createTextVNode(toDisplayString$1(e.$t("fsUpload.more")) + " ", 1), createVNode(y, null, { default: withCtx(() => [createVNode(m)]), _: 1 })]), _: 1 }, 8, ["onClick"])) : createCommentVNode("", !0)]), default: withCtx(() => [createElementVNode("div", _hoisted_5$o, [(openBlock(!0), createElementBlock(Fragment, null, renderList(a.fileList, (F, j) => (openBlock(), createElementBlock("div", { ref_for: !0, ref: F.serverPath, key: F.serverPath, class: "file-item" }, [createElementVNode("div", _hoisted_6$l, [createElementVNode("span", _hoisted_7$f, [createVNode(u, { iconValue: l.getFileIconByName(F.showName) }, null, 8, ["iconValue"])]), createElementVNode("span", _hoisted_8$a, toDisplayString$1(F.showName), 1)]), createElementVNode("div", _hoisted_9$9, [renderSlot(e.$slots, "tool-more-prefix", { item: F }, void 0, !0), r.enableDelete ? (openBlock(), createBlock(d, { key: 0, content: e.$t("fsUpload.delete") }, { default: withCtx(() => [createVNode(u, { onClick: (oe) => l.deleteFile(F), iconValue: "amb-color-icon-shanchu" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])) : createCommentVNode("", !0), r.disabled && r.fileSetObj.disabledNoPreview ? createCommentVNode("", !0) : (openBlock(), createBlock(d, { key: 1, content: e.$t("fsUpload.preview") }, { default: withCtx(() => [createVNode(u, { onClick: (oe) => l.previewSingle(F), iconValue: "amb-icon-yulan" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), r.disabled && r.fileSetObj.disabledNoDownload ? createCommentVNode("", !0) : (openBlock(), createBlock(d, { key: 2, content: e.$t("fsUpload.download") }, { default: withCtx(() => [createVNode(u, { onClick: (oe) => l.donwloadFile(j), iconValue: "amb-icon-xiazai" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"]))])]))), 128))])]), _: 3 })], 512)) : createCommentVNode("", !0)], 544), a.showPreviewSingleImage ? (openBlock(), createBlock(O, { key: 0, teleported: "", "url-list": [a.previewImageInfo.src], onClose: n[4] || (n[4] = (F) => a.showPreviewSingleImage = !1) }, null, 8, ["url-list"])) : createCommentVNode("", !0)], 512);
|
|
14577
14617
|
}
|
|
14578
|
-
const FsPreview = _export_sfc$2(_sfc_main$1Y, [["render", _sfc_render$1f], ["__scopeId", "data-v-
|
|
14618
|
+
const FsPreview = _export_sfc$2(_sfc_main$1Y, [["render", _sfc_render$1f], ["__scopeId", "data-v-24de59d8"]]);
|
|
14579
14619
|
FsPreview.install = function(e) {
|
|
14580
14620
|
e.component(FsPreview.name, FsPreview);
|
|
14581
14621
|
};
|
|
@@ -14650,7 +14690,7 @@ function _sfc_render$1d(e, n, r, o, a, l) {
|
|
|
14650
14690
|
const u = resolveComponent("el-tag");
|
|
14651
14691
|
return openBlock(), createElementBlock("span", null, [a.formatConfig.isTag ? (openBlock(), createElementBlock("span", _hoisted_1$1j, [a.displayText ? (openBlock(), createBlock(u, { key: 0, type: a.customStyle.type || a.formatConfig.tagType, color: a.customStyle.color, effect: a.formatConfig.tagEffect, size: a.formatConfig.size, hit: a.formatConfig.hit, round: a.customStyle.round || a.formatConfig.round }, { default: withCtx(() => [createTextVNode(toDisplayString$1(a.displayText), 1)]), _: 1 }, 8, ["type", "color", "effect", "size", "hit", "round"])) : createCommentVNode("", !0)])) : (openBlock(), createElementBlock("span", { key: 1, style: normalizeStyle(a.customStyle) }, [a.formatConfig.position === "pre" ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(a.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0), a.formatConfig.displayTextJudge ? (openBlock(), createElementBlock("span", _hoisted_2$T, toDisplayString$1(a.displayText), 1)) : createCommentVNode("", !0), a.formatConfig.position === "suf" ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass(a.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0)], 4))]);
|
|
14652
14692
|
}
|
|
14653
|
-
const GridIcon = _export_sfc$2(_sfc_main$1W, [["render", _sfc_render$1d]]),
|
|
14693
|
+
const GridIcon = _export_sfc$2(_sfc_main$1W, [["render", _sfc_render$1d]]), rowOperation_vue_vue_type_style_index_0_scoped_1a830c5a_lang = "", _sfc_main$1V = { name: "RowOperation", components: { superIcon }, props: { editing: { type: Boolean, default: !1 }, isTableBtnLink: { type: [Boolean], default: !1 }, isShow: { type: [Boolean, Function], default: !0 }, onClick: { type: Function, default: function() {
|
|
14654
14694
|
} }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operation: { type: Object, default: () => ({}) }, operationSetting: { type: Object, default: () => ({}) }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null }, eventName: { type: String, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...mapGetters(["preventReclick"]), isSaveRow() {
|
|
14655
14695
|
return ["lineEditSave", "saveRow"].includes(this.eventName);
|
|
14656
14696
|
}, isDeleteRow() {
|
|
@@ -14730,10 +14770,10 @@ function _sfc_render$1c(e, n, r, o, a, l) {
|
|
|
14730
14770
|
const u = resolveComponent("superIcon"), d = resolveComponent("el-tooltip"), f = resolveDirective("permission");
|
|
14731
14771
|
return openBlock(), createElementBlock("span", { class: "table-operation-row-btn", style: normalizeStyle(a.myStyle) }, [l.isShowButton() ? (openBlock(), createBlock(d, { key: 0, disabled: l.tooltipDisabled, content: r.label, placement: "top" }, { default: withCtx(() => {
|
|
14732
14772
|
var m;
|
|
14733
|
-
return [(m = l.operationSettingData) != null && m.permission ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 0 }, l.operationSettingData, { disabled: e.preventReclick, onMousedown: n[0] || (n[0] = (y) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(u, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(u, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"])), [[f, l.operationSettingData.permission]]) : (openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 1 }, l.operationSettingData, { disabled: e.preventReclick, onMousedown: n[1] || (n[1] = (y) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(u, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(u, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"]))];
|
|
14773
|
+
return [(m = l.operationSettingData) != null && m.permission ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 0 }, l.operationSettingData, { class: "row-operation-icon", disabled: e.preventReclick, onMousedown: n[0] || (n[0] = (y) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(u, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(u, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"])), [[f, l.operationSettingData.permission]]) : (openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 1 }, l.operationSettingData, { class: "row-operation-icon", disabled: e.preventReclick, onMousedown: n[1] || (n[1] = (y) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(u, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(u, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"]))];
|
|
14734
14774
|
}), _: 1 }, 8, ["disabled", "content"])) : createCommentVNode("", !0)], 4);
|
|
14735
14775
|
}
|
|
14736
|
-
const RowOperation = _export_sfc$2(_sfc_main$1V, [["render", _sfc_render$1c], ["__scopeId", "data-v-
|
|
14776
|
+
const RowOperation = _export_sfc$2(_sfc_main$1V, [["render", _sfc_render$1c], ["__scopeId", "data-v-1a830c5a"]]), normalColumnContent_vue_vue_type_style_index_0_scoped_7d012537_lang = "", _sfc_main$1U = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: !1 }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: !1 } }, data() {
|
|
14737
14777
|
let e;
|
|
14738
14778
|
const n = store$1.get(this.listCode), r = n.options;
|
|
14739
14779
|
n.options.extraParam && n.options.extraParam.entityMap && (e = n.options.extraParam.entityMap);
|
|
@@ -14746,7 +14786,7 @@ const RowOperation = _export_sfc$2(_sfc_main$1V, [["render", _sfc_render$1c], ["
|
|
|
14746
14786
|
let d;
|
|
14747
14787
|
n.lineEdit !== null && n.lineEdit !== void 0 && (d = n.lineEdit);
|
|
14748
14788
|
let f = "hidden";
|
|
14749
|
-
return n.basicInfo && n.basicInfo.textOverflow && (f = n.basicInfo.textOverflow), this.isShowForm && (f = "newline"), { selectRow: null, that: this,
|
|
14789
|
+
return n.basicInfo && n.basicInfo.textOverflow && (f = n.basicInfo.textOverflow), this.isShowForm && (f = "newline"), { selectRow: null, that: this, columnFormatter: this.column.formatter, hyperLinks: {}, fileDownType: "", isFormSubTable: !1, subTableCanAdd: !0, isShowAdd: !1, cellWidth: null, parentFormData: e, fileMultiple: !1, showSingleImgFlag: !1, singleImgSrc: "", fileList: [], index: null, isEditable: this.column.editable, showRichEditorViewer: !1, getFormData: n.options.getFormData, getTableGridData: n.options.getGridData, additionalParamMap: o, disabled: !1, additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter), scanEnable: l, componentId: u, controlConfig: a, rowLinkConfigMapping: {}, requiredClass: "", lineEdit: d, options: r, textOverflow: f, linkObject: {} };
|
|
14750
14790
|
}, computed: { isHideEdit() {
|
|
14751
14791
|
return !!this.disabled;
|
|
14752
14792
|
}, $rowGuId() {
|
|
@@ -14768,16 +14808,14 @@ const RowOperation = _export_sfc$2(_sfc_main$1V, [["render", _sfc_render$1c], ["
|
|
|
14768
14808
|
} }, newWidth: { deep: !0, handler(e, n) {
|
|
14769
14809
|
e != null && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = e);
|
|
14770
14810
|
} } }, created() {
|
|
14771
|
-
var
|
|
14811
|
+
var n;
|
|
14772
14812
|
this.column.width && (this.cellWidth = this.column.width - 10);
|
|
14773
14813
|
const e = store$1.get(this.listCode);
|
|
14774
|
-
e && e.options && e.options.isFormSubTable && (this.isFormSubTable = e.options.isFormSubTable), this.disabled = isDisableEdit(this.column.prop, this.listCode, this.row), e && e.options && e.options.subTableCanAdd !== void 0 && e.options.subTableCanAdd !== null && (this.subTableCanAdd = e.options.subTableCanAdd), this.column.prop && this.column.prop === "operation" || e.options.showOverflowTooltip !== void 0 && e.options.showOverflowTooltip === !1 ? this.isShowOverflowTooltip = !1 : this.isShowOverflowTooltip = !0,
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
const o = JSON.parse(this.column.fileSet);
|
|
14778
|
-
o && o.multiple && (this.fileMultiple = !0);
|
|
14814
|
+
if (e && e.options && e.options.isFormSubTable && (this.isFormSubTable = e.options.isFormSubTable), this.disabled = isDisableEdit(this.column.prop, this.listCode, this.row), e && e.options && e.options.subTableCanAdd !== void 0 && e.options.subTableCanAdd !== null && (this.subTableCanAdd = e.options.subTableCanAdd), this.column.prop && this.column.prop === "operation" || e.options.showOverflowTooltip !== void 0 && e.options.showOverflowTooltip === !1 ? this.isShowOverflowTooltip = !1 : this.isShowOverflowTooltip = !0, e.isHasDynamic === void 0 && this.column.dynamic !== void 0 && this.column.dynamic === !0 && (e.isHasDynamic = !0), this.label = this.getHeader(), this.column.operations, this.isShowAdd = this.isFormSubTable && this.column.prop === "operation" && this.subTableCanAdd && e.options && e.options.showOperationButton, this.column.fileSet && this.column.fileSet !== "" && this.column.componentType === "annex") {
|
|
14815
|
+
const r = JSON.parse(this.column.fileSet);
|
|
14816
|
+
r && r.multiple && (this.fileMultiple = !0);
|
|
14779
14817
|
}
|
|
14780
|
-
this.setScanRuleSets(), this.requiredClass = this.isRequired(this.row.$editing) ? "m-requried column-text-main" : "", ((
|
|
14818
|
+
this.setScanRuleSets(), this.requiredClass = this.isRequired(this.row.$editing) ? "m-requried column-text-main" : "", ((n = this.columnFormatter) == null ? void 0 : n.type) === "hyperlinks" && (this.linkObject = this.getMyHyperLinkSetting(this.row, this.rowIndex));
|
|
14781
14819
|
}, mounted() {
|
|
14782
14820
|
if (this.controlConfig) {
|
|
14783
14821
|
const n = store$1.get(this.listCode);
|
|
@@ -15025,7 +15063,7 @@ function _sfc_render$1b(e, n, r, o, a, l) {
|
|
|
15025
15063
|
const u = resolveComponent("dynamic-input"), d = resolveComponent("Edit"), f = resolveComponent("el-icon"), m = resolveComponent("el-dropdown-item"), y = resolveComponent("el-dropdown-menu"), b = resolveComponent("el-dropdown"), x = resolveComponent("row-operation"), O = resolveComponent("secret-info"), F = resolveComponent("FsPreview"), j = resolveComponent("SuperIcon"), oe = resolveComponent("el-link"), le = resolveComponent("el-tooltip"), _e = resolveComponent("GridIcon"), Ie = resolveComponent("view-image-dialog"), xe = resolveComponent("rich-editor-viewer"), he = resolveDirective("permission");
|
|
15026
15064
|
return openBlock(), createElementBlock("div", _hoisted_1$1i, [l.isEditing || r.isShowForm ? (openBlock(), createBlock(u, { key: 0, ref: "dynamicRef", value: r.row[r.column.prop], "onUpdate:value": n[0] || (n[0] = (Nn) => r.row[r.column.prop] = Nn), class: normalizeClass(a.requiredClass), column: r.column, "is-sql": r.isSql, "line-edit": a.lineEdit, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: r.column.valueSet, "grid-options": a.options, position: { row: r.rowIndex, prop: r.column.prop }, disabled: a.disabled, row: r.row, "row-index": r.rowIndex, type: r.column.componentType, onKeyup: withKeys(l.clearAllEditing, ["enter"]), onFindIndex: n[1] || (n[1] = (Nn) => l.findIndex(r.rowIndex)), onFocus: n[2] || (n[2] = (Nn) => l.onFocus(r.rowIndex)), onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList, onRefresData: l.refresData, onRefresMainTableFields: l.refresMainTableFields, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onChangeDisabled: l.changeDisabled, onChangeRequired: l.changeRequired, onOpenPage: l.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (openBlock(), createElementBlock("div", { key: 1, class: normalizeClass((vn = (Ve = (ze = (qe = a.options) == null ? void 0 : qe.configureObj) == null ? void 0 : ze.props) == null ? void 0 : Ve.base) != null && vn.columnEditable ? "column-text-main" : "") }, [a.lineEdit.editable && ((En = (Ce = (Lt = (Sn = a.options) == null ? void 0 : Sn.configureObj) == null ? void 0 : Lt.props) == null ? void 0 : Ce.base) != null && En.columnEditable) && a.isEditable && !l.isHideEdit && !r.isContentViewText ? (openBlock(), createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: n[3] || (n[3] = (...Nn) => l.onEditing && l.onEditing(...Nn)) }, [createVNode(f, { size: 14, color: "#409eff" }, { default: withCtx(() => [createVNode(d)]), _: 1 }), [void 0, null, ""].includes(r.row[r.column.prop]) ? (openBlock(), createElementBlock("span", _hoisted_2$S, toDisplayString$1(e.$t("superGrid.editablePlaceholder")), 1)) : createCommentVNode("", !0)])) : createCommentVNode("", !0), r.column.operations ? (openBlock(), createElementBlock("span", _hoisted_3$E, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.operations, (Nn, Dt) => (openBlock(), createElementBlock("span", { key: Dt, class: normalizeClass([r.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [Nn.isGroup ? (openBlock(), createBlock(b, { key: 0, size: Nn.buttons && Nn.buttons.length > 0 ? Nn.buttons[0].props.size : "small", "split-button": "", onCommand: l.handleCommand }, { dropdown: withCtx(() => [createVNode(y, null, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(Nn.buttons, ($n, An) => (openBlock(), createElementBlock("span", { key: $n.props.code + An }, [withDirectives((openBlock(), createBlock(m, { command: l.beforeHandleCommand($n.props.code, r.row, r.rowIndex), disabled: e.preventReclick }, { default: withCtx(() => [createTextVNode(toDisplayString$1(e.$escapeHtml($n.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[he, $n.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: withCtx(() => [createTextVNode(toDisplayString$1(e.$escapeHtml(Nn.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : Nn.props.customControl ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(Nn.props.customControl), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, disabled: !0, row: r.pageGridData[r.rowIndex], entity: r.pageGridData[r.rowIndex], prop: r.column.prop, parent: a.parentFormData, "row-index": r.rowIndex, "grid-data": r.gridData, "page-grid-data": r.pageGridData, "current-page": r.currentPage, "custom-params": a.controlConfig ? a.controlConfig.customParams : null, onRefreshList: l.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[he, Nn.props.permission]]) : (openBlock(), createBlock(x, { key: 2, column: r.column, editing: r.row.$editing, entity: r.row, "is-show": Nn.isShow, label: Nn.props.label ? Nn.props.label : r.row[r.column.prop], "on-click": Nn.onClick, operation: Nn, "operation-index": Dt, "operation-setting": Nn.props, "event-name": Nn.eventName, "row-index": r.rowIndex, "list-code": r.listCode, "parent-form-data": a.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : e.customFormatValue(r.row, r.column.prop, r.customFormat, r.rowIndex) ? (openBlock(), createElementBlock("span", { key: 2, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(r.column.prop + r.rowIndex), { entity: r.row, parent: a.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": e.$escapeHtml(l.getLabel(r.row, r.rowIndex)), value: l.getCellValue(r.row), "additional-param-map": a.additionalParamMap, "additional-settings": a.additionalSettings, "page-context": (Pt = a.options) == null ? void 0 : Pt.pageContext, "custom-params": a.controlConfig ? a.controlConfig.customParams : null }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params"]))], 2)) : a.columnFormatter !== void 0 && a.columnFormatter.type !== void 0 && a.columnFormatter.type === "customControl" && a.columnFormatter.options && a.columnFormatter.options.format && a.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", { key: 3, class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(a.columnFormatter.options.format), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, "current-page": r.currentPage, disabled: !0, entity: r.pageGridData[r.rowIndex], "get-form-data": a.getFormData, "get-grid-data": a.getTableGridData, "grid-data": r.gridData, "page-grid-data": r.pageGridData, parent: a.parentFormData, prop: r.column.prop, row: r.pageGridData[r.rowIndex], "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": e.$escapeHtml(l.getLabel(r.pageGridData[r.rowIndex], r.rowIndex)), value: l.getCellValue(r.pageGridData[r.rowIndex]), "additional-param-map": a.additionalParamMap, listCode: r.listCode, "component-id": a.componentId, "additional-settings": a.additionalSettings, "page-context": (jt = a.options) == null ? void 0 : jt.pageContext, "custom-params": l.getCustomParams(), onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : a.columnFormatter !== void 0 && a.columnFormatter.type !== void 0 && a.columnFormatter.type === "secretInfo" ? (openBlock(), createElementBlock("span", { key: 4, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(O, { entity: r.row, "field-label": e.$escapeHtml(e.label), "list-code": r.listCode, "list-name": r.listName, "page-code": r.pageCode, prop: r.column.prop, "table-name": r.tableName, value: l.getCellValue(r.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_4$u)) : e.isObjectProp(r.column.prop) ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_5$n, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, title: e.isShowOverflowTooltip ? e.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(F, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: e.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_6$k)])) : ((bn = a.columnFormatter) == null ? void 0 : bn.type) === "hyperlinks" && a.linkObject.visible === !0 ? (openBlock(), createBlock(oe, { key: 1, type: l.getLinkType(r.row), onClick: n[4] || (n[4] = (Nn) => e.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [e.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(a.textOverflow === "newline" ? {} : { width: a.cellWidth + "px" }), title: a.linkObject.title, class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(a.linkObject.label) + " ", 1), a.linkObject.icon ? (openBlock(), createBlock(j, { key: 0, iconValue: a.linkObject.icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 14, _hoisted_7$e)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(a.linkObject.label) + " ", 1), a.linkObject.icon ? (openBlock(), createBlock(j, { key: 0, iconValue: a.linkObject.icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 10, _hoisted_8$9))]), _: 1 }, 8, ["type"])) : e.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 2, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(a.textOverflow === "newline" ? {} : { width: a.cellWidth + "px" }), title: e.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, toDisplayString$1(e.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 15, _hoisted_9$8)) : (openBlock(), createElementBlock("span", { key: 3, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(e.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_10$7))], 64)) : (openBlock(), createElementBlock(Fragment, { key: 6 }, [r.column.componentType === "annex" || r.column.componentType === "multipartUpload" ? (openBlock(), createElementBlock("span", _hoisted_11$4, [e.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, title: e.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(F, { width: a.cellWidth, entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: e.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_12$4)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(F, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: e.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_13$3))])) : r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_14$3, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, title: e.isShowOverflowTooltip ? e.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(F, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: e.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_15$3)])) : ((xn = a.columnFormatter) == null ? void 0 : xn.type) === "hyperlinks" && a.linkObject.visible ? (openBlock(), createBlock(oe, { key: 2, type: "primary", onClick: n[5] || (n[5] = (Nn) => e.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [e.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(a.textOverflow === "newline" ? {} : { width: a.cellWidth + "px" }), title: e.$escapeHtml(a.linkObject.title), class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(e.$escapeHtml(a.linkObject.label)) + " ", 1), a.linkObject.icon ? (openBlock(), createBlock(j, { key: 0, iconValue: a.linkObject.icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 14, _hoisted_16$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(e.$escapeHtml(a.linkObject.label)) + " ", 1), a.linkObject.icon ? (openBlock(), createBlock(j, { key: 0, iconValue: a.linkObject.icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 10, _hoisted_17$3))]), _: 1 })) : r.column.formatter && r.column.formatter.type === "richEditor" ? (openBlock(), createBlock(le, { key: 3, content: e.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: withCtx(() => [createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: n[6] || (n[6] = (Nn) => l.showRichEditorContent(r.row, r.column, l.getHeader())) })]), _: 1 }, 8, ["content"])) : r.column.formatter && r.column.formatter.type === "icon" ? (openBlock(), createBlock(_e, { key: 4, id: r.column.prop + "DomData" + r.rowIndex, column: r.column, row: r.row, "row-index": r.rowIndex, "is-sql": r.isSql, "list-code": r.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : e.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 5, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(a.textOverflow === "newline" ? {} : { width: a.cellWidth + "px" }), title: l.getLabel(r.row), class: normalizeClass(a.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span"), innerHTML: e.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 14, _hoisted_18$2)) : (openBlock(), createElementBlock("span", { key: 6, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(e.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_19$1))], 64))], 2)), a.showSingleImgFlag ? (openBlock(), createBlock(Ie, { key: 2, "file-list": a.fileList, onClose: n[7] || (n[7] = (Nn) => a.showSingleImgFlag = !1) }, null, 8, ["file-list"])) : createCommentVNode("", !0), a.showRichEditorViewer ? (openBlock(), createBlock(xe, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)]);
|
|
15027
15065
|
}
|
|
15028
|
-
const NormalColumnContent = _export_sfc$2(_sfc_main$1U, [["render", _sfc_render$1b], ["__scopeId", "data-v-
|
|
15066
|
+
const NormalColumnContent = _export_sfc$2(_sfc_main$1U, [["render", _sfc_render$1b], ["__scopeId", "data-v-7d012537"]]), normalColumn_vue_vue_type_style_index_0_scoped_16602c24_lang = "", _sfc_main$1T = { components: { DynamicInput, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon, NormalColumnContent }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null } }, data() {
|
|
15029
15067
|
let e;
|
|
15030
15068
|
const n = store$1.get(this.listCode), r = n.options;
|
|
15031
15069
|
n.options.extraParam && n.options.extraParam.entityMap && (e = n.options.extraParam.entityMap);
|
|
@@ -15107,7 +15145,7 @@ function _sfc_render$1a(e, n, r, o, a, l) {
|
|
|
15107
15145
|
const u = resolveComponent("CirclePlus"), d = resolveComponent("el-icon"), f = resolveComponent("Remove"), m = resolveComponent("NormalColumnContent"), y = resolveComponent("el-table-column");
|
|
15108
15146
|
return openBlock(), createBlock(y, { key: r.column.prop, align: a.align, "class-name": r.column.prop, "filter-method": l.filterMethod, filters: l.filters, fixed: l.fixed, "header-align": a.headerAlign, prop: r.column.prop, sortable: l.sortable, "min-width": l.getColumnWidth() }, { header: withCtx(() => [r.column.customHeader ? (openBlock(), createBlock(resolveDynamicComponent(r.column.customHeader), { key: 1, prop: r.column.prop, parent: a.parentFormData, "grid-data": r.gridData, "current-page": r.currentPage, label: e.$escapeHtml(e.label), column: r.column }, null, 8, ["prop", "parent", "grid-data", "current-page", "label", "column"])) : (openBlock(), createElementBlock("span", { key: 0, class: normalizeClass([{ is_req: l.isFieldRequired() }, "normal-column-header"]) }, [createElementVNode("span", { title: e.$escapeHtml(e.label), class: "cell--span required__label", innerHTML: e.$escapeHtml(e.label) }, null, 8, _hoisted_1$1h)], 2)), createElementVNode("span", _hoisted_2$R, [a.isShowAdd ? (openBlock(), createBlock(d, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: l.createFormSubTableRow }, { default: withCtx(() => [createVNode(u)]), _: 1 }, 8, ["onClick"])) : createCommentVNode("", !0), a.isShowDelete ? (openBlock(), createBlock(d, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: l.deleteFormSubTableRow }, { default: withCtx(() => [createVNode(f)]), _: 1 }, 8, ["onClick"])) : createCommentVNode("", !0)])]), default: withCtx((b) => [createVNode(m, { ref: r.column.prop, "is-sql": r.isSql, column: r.column, "list-code": r.listCode, "new-width": r.newWidth, "drag-column-prop": r.dragColumnProp, "right-click-menu-arr": a.options.rightClickMenuArr, "table-name": r.tableName, "page-code": r.pageCode, "list-toolbar-form-data": r.listToolbarFormData, "list-name": r.listName, options: a.options, "current-page": r.currentPage, "grid-data": r.gridData, "page-grid-data": r.pageGridData, row: b.row, "row-index": b.$index, "line-edit": l.lineEdit, "custom-format": r.customFormat, class: normalizeClass(l.isValidateError(b.row, b.$index) ? "required_bg required-corner" : ""), style: normalizeStyle(l.isValidateError(b.row, b.$index) ? "display:block;" : ""), onOpenPage: l.openPageEvent, onRefresData: l.refresData, onRefreshList: l.refreshList, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onRefresMainTableFields: l.refresMainTableFields, onProhibitToEdit: l.prohibitToEdit }, null, 8, ["is-sql", "column", "list-code", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-toolbar-form-data", "list-name", "options", "current-page", "grid-data", "page-grid-data", "row", "row-index", "line-edit", "custom-format", "class", "style", "onOpenPage", "onRefresData", "onRefreshList", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"])]), _: 1 }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "min-width"]);
|
|
15109
15147
|
}
|
|
15110
|
-
const NormalColumn = _export_sfc$2(_sfc_main$1T, [["render", _sfc_render$1a], ["__scopeId", "data-v-
|
|
15148
|
+
const NormalColumn = _export_sfc$2(_sfc_main$1T, [["render", _sfc_render$1a], ["__scopeId", "data-v-16602c24"]]), _sfc_main$1S = { name: "GroupColumn", components: { NormalColumn }, props: { column: { type: Object, default: null }, customFormat: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null } }, data: () => ({ label: null }), computed: { visibleChildren() {
|
|
15111
15149
|
return this.column.children ? this.column.children.filter((e) => e.show === void 0 || e.show) : [];
|
|
15112
15150
|
} }, created() {
|
|
15113
15151
|
this.label = this.getHeader(), this.column;
|
|
@@ -17364,7 +17402,7 @@ const superGridService$1 = { initialize() {
|
|
|
17364
17402
|
function _sfc_render$X(e, n, r, o, a, l) {
|
|
17365
17403
|
return openBlock(), createElementBlock("ul", _hoisted_1$17, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.buttomArr, (u) => (openBlock(), createElementBlock("li", { key: u.name }, [createElementVNode("i", { class: normalizeClass(u.icon) }, null, 2), createElementVNode("span", { onClick: (d) => l.buttonClick(u.event, u) }, toDisplayString$1(u.label), 9, _hoisted_2$L)]))), 128))]);
|
|
17366
17404
|
}
|
|
17367
|
-
const headerContextMenu = _export_sfc$2(_sfc_main$1D, [["render", _sfc_render$X], ["__scopeId", "data-v-040fcf55"]]),
|
|
17405
|
+
const headerContextMenu = _export_sfc$2(_sfc_main$1D, [["render", _sfc_render$X], ["__scopeId", "data-v-040fcf55"]]), superGrid_vue_vue_type_style_index_0_scoped_1b9ccca8_rel_stylesheet_2Fscss_lang = "", _sfc_main$1C = { components: { IndexColumn, SelectionColumn, NormalColumn, GroupColumn, ColumnsConfig, SearchForm: SearchForm$1, headerContextMenu, searchFormDialog, ElIconSetting: setting_default, ElIconRefresh: refresh_default, RowDetail, MobileCard }, name: "SuperGrid", props: { isShowAutoCard: { type: Boolean, default: !0 }, code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
|
|
17368
17406
|
return {};
|
|
17369
17407
|
} }, publishVersion: { type: Number, default: 0 }, customFormatter: { type: Object, default: null }, searchFormInfo: { type: Object, default: () => ({}) }, showPagination: { type: Boolean, default: !0 }, listToolbarFormData: { type: Object, default: null }, settings: { type: Object, default: null }, additionalParamMap: { type: Object, default: null }, manualHeightOffset: { type: [void 0, Number], default: void 0 }, isDialog: { type: Boolean, default: !1 } }, data() {
|
|
17370
17408
|
let e;
|
|
@@ -18323,7 +18361,7 @@ function _sfc_render$W(e, n, r, o, a, l) {
|
|
|
18323
18361
|
const u = resolveComponent("search-form"), d = resolveComponent("search-form-dialog"), f = resolveComponent("MobileCard"), m = resolveComponent("row-detail"), y = resolveComponent("el-table"), b = resolveComponent("el-icon-setting"), x = resolveComponent("el-icon-refresh"), O = resolveComponent("el-pagination"), F = resolveComponent("columns-config"), j = resolveComponent("header-context-menu"), oe = resolveComponent("row-form"), le = resolveDirective("resize");
|
|
18324
18362
|
return withDirectives((openBlock(), createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: normalizeStyle(a.subTableStyle), onClick: n[9] || (n[9] = (...he) => e.onClickTableMain && e.onClickTableMain(...he)) }, [!a.isFormSubTable && a.hasLoadedColumns && a.query && a.query.showType === "embedded" ? withDirectives((openBlock(), createBlock(u, { key: 0, ref: "sf", columns: a.columns, code: r.code, url: r.url, pagination: a.pagination, query: a.query, "search-form-info": r.searchFormInfo, "search-param": a.searchFormContent, "init-search-props": a.initSearchProps, "list-toolbar-form-data": r.listToolbarFormData, "load-complete-query": a.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: l.doSearch, onReset: l.resetSearch, onOpenFold: l.openFold, onCanShowMobileSearch: n[0] || (n[0] = (he) => e.$emit("can-show-mobile-search", r.code)), onCloseMobileSearch: n[1] || (n[1] = (he) => a.isShowMobileSearch = !1) }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onOpenFold"])), [[vShow, !a.isMobile || a.isMobile && a.isShowMobileSearch]]) : createCommentVNode("", !0), a.hasLoadedColumns && a.query && a.query.showType === "popup" ? (openBlock(), createBlock(d, { key: 1, ref: "sfDialog", columns: a.columns, code: r.code, url: r.url, pagination: a.pagination, query: a.query, "search-param": a.searchFormContent, "init-search-props": a.initSearchProps, onSearch: l.doSearchDialog, onReset: l.resetSearch, onClose: l.closeSearchFormDialog }, null, 8, ["columns", "code", "url", "pagination", "query", "search-param", "init-search-props", "onSearch", "onReset", "onClose"])) : createCommentVNode("", !0), createElementVNode("div", { ref: "superGridMain", class: normalizeClass(["grid-area " + r.code, "super-grid-main-body"]) }, [l.isShowCard ? (openBlock(), createBlock(f, { key: 0, selection: a.selectionTableData, columns: l.visibleColumns, listCode: r.code, getColumnComponentData: l.getColumnComponentData, data: l.tableDatas, "current-page": a.currentPage, "onUpdate:currentPage": n[2] || (n[2] = (he) => a.currentPage = he), "page-size": (Ie = (_e = a.pagination) == null ? void 0 : _e.pageSizes) == null ? void 0 : Ie[0], "page-total": (xe = a.pagination) == null ? void 0 : xe.total, class: "super-grid-main-card-view", onSelect: l.selectRecord, onSelectionChange: l.cardSelectionChangeEvent, onCurrentChange: l.handleCurrentChange, onRowClick: l.rowClickEvent, onRowDblclick: l.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : a.refreshGrid && a.hasLoadedColumns && !l.isShowCard ? (openBlock(), createBlock(y, { key: 1, ref: "superGrid", data: l.tableDatas, "row-key": l.getRowKeyProp, "show-summary": l.showSummary, "summary-method": l.getSummaries, style: normalizeStyle(a.tableStyle), stripe: a.stripe, border: !0, "default-expand-all": a.defaultExpandAll, lazy: a.isLazy, load: l.loadChildren, "row-style": l.changeRowStyle, "cell-style": l.changeCellStyle, "header-cell-style": l.changeHeaderStyle, "highlight-current-row": !0, "span-method": l.rowSpan, "max-height": l.hasMaxHeight, height: l.hasTableHeight, class: normalizeClass([a.tableClass, "super-grid-main-table-view"]), "tree-props": l.getTreeProps(a.parentProp, a.isSql, a.isLazy, a.dataSourceType), "scrollbar-always-on": l.scrollbarAlwaysOn, onSortChange: l.handleSortChange, onSelect: l.selectRecord, onSelectAll: l.selectAllRecord, onSelectionChange: l.selectionChangeEvent, onRowClick: l.rowClickEvent, onRowDblclick: l.rowDblclickEvent, onExpandChange: l.expandChange, onHeaderClick: l.headerClickEvent, onHeaderDragend: l.changeHederWidth, onHeaderContextmenu: l.headerContextmenu, onCellClick: l.selectCell, onCellDblclick: e.cellDblClick }, { default: withCtx(() => [a.detailColumn ? (openBlock(), createBlock(m, { key: 0, column: a.detailColumn, "list-code": r.code, onShowDetail: l.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : createCommentVNode("", !0), (openBlock(!0), createElementBlock(Fragment, null, renderList(l.visibleColumnsComponentData, ({ column: he, ...qe }, ze) => (openBlock(), createBlock(resolveDynamicComponent(l.getComponentType(he)), mergeProps({ ref_for: !0, ref: he.prop, key: he.label + ze }, qe.$bind, toHandlers(qe.$on)), null, 16))), 128))]), _: 1 }, 8, ["data", "row-key", "show-summary", "summary-method", "style", "stripe", "default-expand-all", "lazy", "load", "row-style", "cell-style", "header-cell-style", "span-method", "max-height", "height", "class", "tree-props", "scrollbar-always-on", "onSortChange", "onSelect", "onSelectAll", "onSelectionChange", "onRowClick", "onRowDblclick", "onExpandChange", "onHeaderClick", "onHeaderDragend", "onHeaderContextmenu", "onCellClick", "onCellDblclick"])) : createCommentVNode("", !0), r.showPagination && !l.isShowCard ? (openBlock(), createElementBlock("div", _hoisted_1$16, [createElementVNode("div", _hoisted_2$K, [a.basicInfo.customConfig && !a.isFormSubTable ? (openBlock(), createElementBlock("div", { key: 0, class: "el-icon-setting", title: e.$t("superGrid.columnConfig"), onClick: n[3] || (n[3] = (...he) => l.configColumns && l.configColumns(...he)) }, [createVNode(b, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_3$A)) : createCommentVNode("", !0), a.isFormSubTable ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", { key: 1, class: "el-icon-refresh", title: e.$t("superGrid.refresh"), onClick: n[4] || (n[4] = (...he) => l.refreshGridData && l.refreshGridData(...he)) }, [createVNode(x, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_4$s))]), a.pagination && a.isShowPage ? (openBlock(), createBlock(O, { key: 0, "current-page": a.currentPage, "onUpdate:currentPage": n[5] || (n[5] = (he) => a.currentPage = he), "page-size": a.pagination.pageSize, "onUpdate:pageSize": n[6] || (n[6] = (he) => a.pagination.pageSize = he), background: "", "page-sizes": a.pagination.pageSizes, layout: a.pagination.layout, total: a.pagination.showTotal ? a.pagination.total !== void 0 && a.pagination.total !== "" && a.pagination.total !== null ? a.pagination.total : 0 : 1e11, onSizeChange: l.handleSizeChange, onCurrentChange: l.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : createCommentVNode("", !0)])) : createCommentVNode("", !0)], 2), a.showColumnConfig ? (openBlock(), createBlock(F, { key: 2, columns: l.visibleColumns, "list-code": r.code, "is-sql": a.isSql, onClose: n[7] || (n[7] = (he) => l.closeCustomConfig(he)), onReset: n[8] || (n[8] = (he) => l.resetCustomConfig(he)) }, null, 8, ["columns", "list-code", "is-sql"])) : createCommentVNode("", !0), a.showHeaderContextmenu ? (openBlock(), createBlock(j, { key: 3, ref: "headerMenu", "buttom-arr": r.options.rightClickMenuArr, column: a.rightClickColumn, onClearHeaderContextmenu: l.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : createCommentVNode("", !0), a.showRowForm ? (openBlock(), createBlock(oe, { key: 4, "parent-form-data": a.parentFormData, columns: l.visibleColumns, "row-index": a.currentEditRowIndex, "list-code": r.code, "drag-column-prop": a.dragColumnProp, "is-sql": a.isSql, "base-url": a.baseURL, options: r.options, "table-name": a.tableName, "page-code": a.pageCode, "list-toolbar-form-data": r.listToolbarFormData, "list-name": a.listName, "current-page": a.currentPage, "grid-data": a.isSubTableShowPage ? a.subTableData : a.gridData, "page-grid-data": a.isSubTableShowPage ? l.getSubTableGridData(a.subTableData) : a.gridData, "line-edit": a.lineEdit, "show-page": a.pagination && a.isShowPage, "page-size": a.pagination ? a.pagination.pageSize : null, onClose: l.closeRowForm, onRefresData: l.refresData, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onRefresMainTableFields: l.refresMainTableFields, onOpenPage: l.openPageDialog, onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList }, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "show-page", "page-size", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit", "onRefreshList"])) : createCommentVNode("", !0)], 4)), [[le, l.onResize]]);
|
|
18325
18363
|
}
|
|
18326
|
-
const SuperGrid = _export_sfc$2(_sfc_main$1C, [["render", _sfc_render$W], ["__scopeId", "data-v-
|
|
18364
|
+
const SuperGrid = _export_sfc$2(_sfc_main$1C, [["render", _sfc_render$W], ["__scopeId", "data-v-1b9ccca8"]]);
|
|
18327
18365
|
SuperGrid.install = function(e) {
|
|
18328
18366
|
e.component(SuperGrid.name, SuperGrid);
|
|
18329
18367
|
};
|
|
@@ -33500,7 +33538,7 @@ const _hoisted_1$u = { key: 0 }, _hoisted_2$k = { style: { display: "flex", "ali
|
|
|
33500
33538
|
const j = resolveComponent("el-text"), oe = resolveComponent("el-icon"), le = resolveComponent("el-upload");
|
|
33501
33539
|
return openBlock(), createBlock(le, { action: "#", "list-type": "picture-card", "file-list": d.value, "auto-upload": !1, disabled: !0 }, createSlots({ file: withCtx(({ file: _e }) => [createElementVNode("div", _hoisted_1$t, [m(_e) ? (openBlock(), createElementBlock("img", { key: 1, class: "el-upload-list__item-thumbnail", src: y(_e.showName ? _e.showName : _e.name, _e.serverPath), alt: "" }, null, 8, _hoisted_4$b)) : (openBlock(), createElementBlock("div", _hoisted_2$j, [createElementVNode("div", _hoisted_3$e, toDisplayString$1(_e.name), 1)])), createVNode(fsPreviewNew, { disabled: a.value, "file-list": d.value, file: _e, "system-code": e.systemCode, watermark: e.watermark, "before-remove": e.beforeRemove, "on-remove": e.onRemove, "before-download": e.beforeDownload, onRemove: x }, null, 8, ["disabled", "file-list", "file", "system-code", "watermark", "before-remove", "on-remove", "before-download"])])]), _: 2 }, [a.value ? void 0 : { name: "tip", fn: withCtx(() => [createVNode(j, { size: "small", style: { padding: "10px", "font-weight": "600" } }, { default: withCtx(() => [createTextVNode(toDisplayString$1(e.accept) + " " + toDisplayString$1(e.limitFileSize ? O.$t("imatrixUIMessage.uploadFileTip", { fileSize: e.limitFileSize }) : ""), 1)]), _: 1 })]), key: "0" }, a.value ? void 0 : { name: "trigger", fn: withCtx(() => [createVNode(oe, { onClick: f }, { default: withCtx(() => [createVNode(unref(plus_default))]), _: 1 })]), key: "1" }]), 1032, ["file-list"]);
|
|
33502
33540
|
};
|
|
33503
|
-
} }),
|
|
33541
|
+
} }), fileUploadComponent_vue_vue_type_style_index_0_scoped_adb74276_lang = "", FileUploadComponent = _export_sfc$2(_sfc_main$T, [["__scopeId", "data-v-adb74276"]]), _sfc_main$S = defineComponent({ __name: "file-upload-app", props: { openFsUpload: { type: Object, default: !0 }, entity: { type: Object, default: () => null }, fileInfo: { type: Object, default: () => ({}) }, systemCode: { type: String, default: "" }, displayType: { type: String, default: "input" }, disabled: { type: Boolean, default: !1 }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: !1 }, limit: { type: Number, default: 1 }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "拖拽文件 或 点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, onSuccess: { type: Function, default: () => {
|
|
33504
33542
|
} }, beforeRemove: { type: Function, default: () => {
|
|
33505
33543
|
} }, onRemove: { type: Function, default: () => {
|
|
33506
33544
|
} }, beforeDownload: { type: Function, default: () => {
|
|
@@ -74960,7 +74998,7 @@ const _hoisted_1$l = { class: "el-upload__text" }, _sfc_main$G = defineComponent
|
|
|
74960
74998
|
};
|
|
74961
74999
|
return (b, x) => {
|
|
74962
75000
|
const O = resolveComponent("el-icon"), F = resolveComponent("el-text"), j = resolveComponent("el-upload");
|
|
74963
|
-
return openBlock(), createElementBlock(Fragment, null, [e.disabled ? createCommentVNode("", !0) : (openBlock(), createBlock(j, { key: 0, class: "upload-demo", style: { width: "100%" }, accept: e.accept, "show-file-list": !1, drag: "", headers: e.headers, action: u.value, multiple: e.multiple, "before-upload": f, "on-success": m, "before-remove": e.beforeRemove, "on-error": y }, { tip: withCtx(() => [createVNode(F,
|
|
75001
|
+
return openBlock(), createElementBlock(Fragment, null, [e.disabled ? createCommentVNode("", !0) : (openBlock(), createBlock(j, { key: 0, class: "upload-demo", style: { width: "100%" }, accept: e.accept, "show-file-list": !1, drag: "", headers: e.headers, action: u.value, multiple: e.multiple, "before-upload": f, "on-success": m, "before-remove": e.beforeRemove, "on-error": y }, { tip: withCtx(() => [createVNode(F, null, { default: withCtx(() => [createTextVNode(toDisplayString$1(e.accept) + " " + toDisplayString$1(b.$t("imatrixUIMessage.uploadFileTip", { fileSize: e.limitFileSize })), 1)]), _: 1 })]), default: withCtx(() => [createVNode(O, { class: "el-icon--upload" }, { default: withCtx(() => [createVNode(unref(upload_filled_default))]), _: 1 }), createElementVNode("div", _hoisted_1$l, toDisplayString$1(e.placeholder), 1)]), _: 1 }, 8, ["accept", "headers", "action", "multiple", "before-remove"])), e.fileList && e.fileList.length > 0 ? (openBlock(), createBlock(fsPreviewNew, { key: 1, disabled: e.disabled, "disabled-no-preview": e.disabledNoPreview, "disabled-no-download": e.disabledNoDownload, "file-list": e.fileList, "system-code": e.systemCode, watermark: e.watermark, "before-remove": e.beforeRemove, "on-remove": e.onRemove, "before-download": e.beforeDownload }, null, 8, ["disabled", "disabled-no-preview", "disabled-no-download", "file-list", "system-code", "watermark", "before-remove", "on-remove", "before-download"])) : createCommentVNode("", !0)], 64);
|
|
74964
75002
|
};
|
|
74965
75003
|
} }), _hoisted_1$k = { style: { width: "100%" } }, _sfc_main$F = defineComponent({ __name: "fs-button-upload", props: { openFsUpload: { type: Boolean, default: !0 }, systemCode: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, downloadable: { type: Boolean, default: !0 }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: !1 }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, onSuccess: { type: Function, default: () => {
|
|
74966
75004
|
} }, beforeRemove: { type: Function, default: () => {
|
|
@@ -74986,7 +75024,7 @@ const _hoisted_1$l = { class: "el-upload__text" }, _sfc_main$G = defineComponent
|
|
|
74986
75024
|
};
|
|
74987
75025
|
return (x, O) => {
|
|
74988
75026
|
const F = resolveComponent("el-button"), j = resolveComponent("el-text"), oe = resolveComponent("el-upload");
|
|
74989
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$k, [e.disabled ? createCommentVNode("", !0) : (openBlock(), createBlock(oe, { key: 0, ref_key: "buttonUploadRef", ref: d, class: "upload-demo", accept: e.accept, "show-file-list": !1, "auto-upload": "", headers: e.headers, disabled: !e.openFsUpload, action: u.value, multiple: e.multiple, "before-upload": m, "before-remove": e.beforeRemove, "on-success": y, "on-error": b }, { tip: withCtx(() => [createVNode(j,
|
|
75027
|
+
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$k, [e.disabled ? createCommentVNode("", !0) : (openBlock(), createBlock(oe, { key: 0, ref_key: "buttonUploadRef", ref: d, class: "upload-demo", accept: e.accept, "show-file-list": !1, "auto-upload": "", headers: e.headers, disabled: !e.openFsUpload, action: u.value, multiple: e.multiple, "before-upload": m, "before-remove": e.beforeRemove, "on-success": y, "on-error": b }, { tip: withCtx(() => [createVNode(j, null, { default: withCtx(() => [createTextVNode(toDisplayString$1(e.accept) + " " + toDisplayString$1(x.$t("imatrixUIMessage.uploadFileTip", { fileSize: e.limitFileSize })), 1)]), _: 1 })]), default: withCtx(() => [createVNode(F, { size: "small", type: "primary" }, { default: withCtx(() => [createTextVNode(toDisplayString$1(e.placeholder), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "headers", "disabled", "action", "multiple", "before-remove"]))]), e.fileList && e.fileList.length > 0 ? (openBlock(), createBlock(fsPreviewNew, { key: 0, disabled: e.disabled, "disabled-no-preview": e.disabledNoPreview, "disabled-no-download": e.disabledNoDownload, "file-list": e.fileList, "system-code": e.systemCode, "before-remove": e.beforeRemove, watermark: e.watermark, "on-remove": e.onRemove, "before-download": e.beforeDownload, downloadable: e.downloadable }, null, 8, ["disabled", "disabled-no-preview", "disabled-no-download", "file-list", "system-code", "before-remove", "watermark", "on-remove", "before-download", "downloadable"])) : createCommentVNode("", !0)], 64);
|
|
74990
75028
|
};
|
|
74991
75029
|
} }), _sfc_main$E = defineComponent({ __name: "fs-upload-new", props: { openFsUpload: { type: Object, default: !0 }, entity: { type: Object, default: () => null }, fileInfo: { type: Object, default: () => ({}) }, systemCode: { type: String, default: "" }, displayType: { type: String, default: "input" }, disabled: { type: Boolean, default: !1 }, downloadable: { type: Boolean, default: !0 }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: !1 }, limit: { type: Number, default: null }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "拖拽文件 或 点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, beforeUpload: { type: Function, default: () => {
|
|
74992
75030
|
} }, onSuccess: { type: Function, default: () => {
|
|
@@ -93031,7 +93069,7 @@ let h$1 = (_a$1 = class {
|
|
|
93031
93069
|
if (h$1.hashStr("hello") !== "5d41402abc4b2a76b9719d911017c592")
|
|
93032
93070
|
throw new Error("Md5 self test failed.");
|
|
93033
93071
|
async function loadMermaid() {
|
|
93034
|
-
return typeof window > "u" ? null : (await import("./mermaid.core-CAqkCmS1-
|
|
93072
|
+
return typeof window > "u" ? null : (await import("./mermaid.core-CAqkCmS1-82993e20.js").then((e) => e.a$)).default;
|
|
93035
93073
|
}
|
|
93036
93074
|
let mermaidContainer = null;
|
|
93037
93075
|
function getMermaidContainer() {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { I as c, c as f } from "./mermaid-parser.core-CH9ryA1K-cd66f36d.js";
|
|
2
|
+
import "./index-b5bd5d08.js";
|
|
3
|
+
import "vue";
|
|
4
|
+
import "./mermaid.core-CAqkCmS1-82993e20.js";
|
|
5
|
+
import "./_baseUniq-BXtq6_NW-617aa2f9.js";
|
|
6
|
+
import "./min-BngCxx8g-c59244ce.js";
|
|
7
|
+
import "./clone-CEJtuQzg-43a7bd59.js";
|
|
8
|
+
export {
|
|
9
|
+
c as InfoModule,
|
|
10
|
+
f as createInfoServices
|
|
11
|
+
};
|
package/lib/{infoDiagram-LHK5PUON-C-vFFPTf-a80cb5a6.js → infoDiagram-LHK5PUON-C-vFFPTf-869425fe.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as i, _ as t, l as o, K as n, e as p } from "./mermaid.core-CAqkCmS1-
|
|
2
|
-
import { p as d } from "./mermaid-parser.core-CH9ryA1K-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as i, _ as t, l as o, K as n, e as p } from "./mermaid.core-CAqkCmS1-82993e20.js";
|
|
2
|
+
import { p as d } from "./mermaid-parser.core-CH9ryA1K-cd66f36d.js";
|
|
3
|
+
import "./index-b5bd5d08.js";
|
|
4
4
|
import "vue";
|
|
5
|
-
import "./_baseUniq-BXtq6_NW-
|
|
6
|
-
import "./min-BngCxx8g-
|
|
7
|
-
import "./clone-CEJtuQzg-
|
|
5
|
+
import "./_baseUniq-BXtq6_NW-617aa2f9.js";
|
|
6
|
+
import "./min-BngCxx8g-c59244ce.js";
|
|
7
|
+
import "./clone-CEJtuQzg-43a7bd59.js";
|
|
8
8
|
var m = { parse: t(async (r) => {
|
|
9
9
|
const e = await d("info", r);
|
|
10
10
|
o.debug(e);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as pt, f as yt, g as at, b as dt } from "./chunk-67H74DCK-Br5U8bfD-
|
|
2
|
-
import { g as ft } from "./chunk-E2GYISFI-DQPHyyga-
|
|
3
|
-
import { _ as s, c as V, q as gt, t as mt, b as xt, a as kt, s as bt, g as _t, z as vt, d as K, e as wt } from "./mermaid.core-CAqkCmS1-
|
|
4
|
-
import { d as Q } from "./arc-Js_tyW10-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { d as pt, f as yt, g as at, b as dt } from "./chunk-67H74DCK-Br5U8bfD-057f3620.js";
|
|
2
|
+
import { g as ft } from "./chunk-E2GYISFI-DQPHyyga-a72624fe.js";
|
|
3
|
+
import { _ as s, c as V, q as gt, t as mt, b as xt, a as kt, s as bt, g as _t, z as vt, d as K, e as wt } from "./mermaid.core-CAqkCmS1-82993e20.js";
|
|
4
|
+
import { d as Q } from "./arc-Js_tyW10-df45eaa0.js";
|
|
5
|
+
import "./index-b5bd5d08.js";
|
|
6
6
|
import "vue";
|
|
7
7
|
var W = function() {
|
|
8
8
|
var t = s(function(e, u, a, p) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as ut } from "./chunk-E2GYISFI-DQPHyyga-
|
|
2
|
-
import { _ as a, l as q, c as H, K as dt, ah as gt, ai as pt, aj as yt, ac as ft, H as X, i as G, v as mt, J as bt, ad as Et, ae as rt, af as at } from "./mermaid.core-CAqkCmS1-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { g as ut } from "./chunk-E2GYISFI-DQPHyyga-a72624fe.js";
|
|
2
|
+
import { _ as a, l as q, c as H, K as dt, ah as gt, ai as pt, aj as yt, ac as ft, H as X, i as G, v as mt, J as bt, ad as Et, ae as rt, af as at } from "./mermaid.core-CAqkCmS1-82993e20.js";
|
|
3
|
+
import "./index-b5bd5d08.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
var Q = function() {
|
|
6
6
|
var t = a(function(e, c, r, s) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as R } from "./graph-3zJxsO-i-
|
|
2
|
-
import { c as rn, a as g, d as bn, v as j, r as D, e as yn, f as S } from "./_baseUniq-BXtq6_NW-
|
|
3
|
-
import { b as qn, d as Yn, a as xn, m as k, c as G, h as kn, f as en, e as zn, t as J } from "./min-BngCxx8g-
|
|
4
|
-
import { ar as Dn, aI as X, aZ as $, aQ as An } from "./mermaid.core-CAqkCmS1-
|
|
5
|
-
import { C as Jn, F as H, f as En, G as Hn, i as Nn, H as Kn, I as Y, J as z, B as _, K as Qn, t as Zn, L as cn, M as Un, N as F, r as Wn, O as Xn, D as $n } from "./index-
|
|
1
|
+
import { G as R } from "./graph-3zJxsO-i-4fa86d20.js";
|
|
2
|
+
import { c as rn, a as g, d as bn, v as j, r as D, e as yn, f as S } from "./_baseUniq-BXtq6_NW-617aa2f9.js";
|
|
3
|
+
import { b as qn, d as Yn, a as xn, m as k, c as G, h as kn, f as en, e as zn, t as J } from "./min-BngCxx8g-c59244ce.js";
|
|
4
|
+
import { ar as Dn, aI as X, aZ as $, aQ as An } from "./mermaid.core-CAqkCmS1-82993e20.js";
|
|
5
|
+
import { C as Jn, F as H, f as En, G as Hn, i as Nn, H as Kn, I as Y, J as z, B as _, K as Qn, t as Zn, L as cn, M as Un, N as F, r as Wn, O as Xn, D as $n } from "./index-b5bd5d08.js";
|
|
6
6
|
function nr(n, e) {
|
|
7
7
|
return n > e;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as v, aJ as V, aN as x, aL as k, aM as B } from "./mermaid.core-CAqkCmS1-
|
|
1
|
+
import { aK as v, aJ as V, aN as x, aL as k, aM as B } from "./mermaid.core-CAqkCmS1-82993e20.js";
|
|
2
2
|
import { i as F } from "./init-ZxktEp_H-731b6c9b.js";
|
|
3
3
|
import { f as J, a as L, b as S, e as g } from "./defaultLocale-DVr69WTU-dbb4acef.js";
|
|
4
4
|
function p(r, n) {
|