agilebuilder-ui 1.1.60 → 1.1.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/{401-13f86060.js → 401-7cb63f1b.js} +1 -1
  2. package/lib/{404-bdba0bec.js → 404-ad505205.js} +1 -1
  3. package/lib/{_baseUniq-BXtq6_NW-f895d749.js → _baseUniq-BXtq6_NW-121ece16.js} +2 -2
  4. package/lib/{arc-Js_tyW10-6ad7af56.js → arc-Js_tyW10-45b310a4.js} +1 -1
  5. package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-ba0629da.js +11 -0
  6. package/lib/{architectureDiagram-SUXI7LT5-kyYGGrHN-963d73f0.js → architectureDiagram-SUXI7LT5-kyYGGrHN-68745e04.js} +8 -8
  7. package/lib/{blockDiagram-6J76NXCF-IAr4zDV3-9eacea25.js → blockDiagram-6J76NXCF-IAr4zDV3-a850a4ba.js} +7 -7
  8. package/lib/{c4Diagram-6F6E4RAY-Dv27rXcJ-f9ba1516.js → c4Diagram-6F6E4RAY-Dv27rXcJ-70bf657d.js} +3 -3
  9. package/lib/{channel-BBZy6zOT-c35ef595.js → channel-BBZy6zOT-678ce055.js} +1 -1
  10. package/lib/{chunk-353BL4L5-Dn_Y_Yna-1ed8593e.js → chunk-353BL4L5-Dn_Y_Yna-a438ab74.js} +1 -1
  11. package/lib/{chunk-67H74DCK-Br5U8bfD-e503bf26.js → chunk-67H74DCK-Br5U8bfD-253b84ae.js} +1 -1
  12. package/lib/{chunk-AACKK3MU-DH_MKxca-4c0a8172.js → chunk-AACKK3MU-DH_MKxca-8e4a580a.js} +1 -1
  13. package/lib/{chunk-BFAMUDN2-DHLCoYMN-4a142fe3.js → chunk-BFAMUDN2-DHLCoYMN-7cda869b.js} +1 -1
  14. package/lib/{chunk-E2GYISFI-DQPHyyga-697a680b.js → chunk-E2GYISFI-DQPHyyga-a1b79212.js} +1 -1
  15. package/lib/{chunk-OW32GOEJ-CQOSE6Bn-93424750.js → chunk-OW32GOEJ-CQOSE6Bn-f1e94be5.js} +3 -3
  16. package/lib/{chunk-SKB7J2MH-BlwHRDiW-5b22f69e.js → chunk-SKB7J2MH-BlwHRDiW-bab2c840.js} +1 -1
  17. package/lib/{chunk-SZ463SBG-DEp8buKJ-a965724e.js → chunk-SZ463SBG-DEp8buKJ-0d8b7fe9.js} +4 -4
  18. package/lib/{classDiagram-M3E45YP4-D0ySDe-v-5ac83f15.js → classDiagram-M3E45YP4-D0ySDe-v-aa7f464d.js} +6 -6
  19. package/lib/{classDiagram-v2-YAWTLIQI-D0ySDe-v-5ac83f15.js → classDiagram-v2-YAWTLIQI-D0ySDe-v-aa7f464d.js} +6 -6
  20. package/lib/{clone-CEJtuQzg-d93faa7a.js → clone-CEJtuQzg-1d510cd8.js} +1 -1
  21. package/lib/{dagre-JOIXM2OF-5zx0JY2T-35b9dc0a.js → dagre-JOIXM2OF-5zx0JY2T-74d9873c.js} +7 -7
  22. package/lib/{diagram-5UYTHUR4-C19nyAKc-62036084.js → diagram-5UYTHUR4-C19nyAKc-8a60d09c.js} +7 -7
  23. package/lib/{diagram-VMROVX33-DkGwo-hj-fb8f8797.js → diagram-VMROVX33-DkGwo-hj-0923ee07.js} +8 -8
  24. package/lib/{diagram-ZTM2IBQH-CBgHCu9L-23ed28ae.js → diagram-ZTM2IBQH-CBgHCu9L-50827aaa.js} +7 -7
  25. package/lib/{erDiagram-3M52JZNH-cttdAJXW-5338dd34.js → erDiagram-3M52JZNH-cttdAJXW-248836e1.js} +5 -5
  26. package/lib/{flowDiagram-KYDEHFYC-9HpsqDdB-54115c50.js → flowDiagram-KYDEHFYC-9HpsqDdB-d4bb6648.js} +6 -6
  27. package/lib/{ganttDiagram-EK5VF46D-8QB3ofs6-7b65da1f.js → ganttDiagram-EK5VF46D-8QB3ofs6-6b4d18ce.js} +3 -3
  28. package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-4ca233a6.js +11 -0
  29. package/lib/{gitGraphDiagram-GW3U2K7C-DNzc0Vx_-e0aa30a1.js → gitGraphDiagram-GW3U2K7C-DNzc0Vx_-b8fb6c95.js} +8 -8
  30. package/lib/{graph-3zJxsO-i-032da5a6.js → graph-3zJxsO-i-9765bfbf.js} +3 -3
  31. package/lib/{iframe-page-7fa9a6b8.js → iframe-page-35222c5d.js} +1 -1
  32. package/lib/{index-67ccc623.js → index-90d15630.js} +17 -14
  33. package/lib/info-63CPKGFF-C8sYWczU-48a81914.js +11 -0
  34. package/lib/{infoDiagram-LHK5PUON-C-vFFPTf-4d27f9a5.js → infoDiagram-LHK5PUON-C-vFFPTf-30f56db0.js} +6 -6
  35. package/lib/{journeyDiagram-EWQZEKCU-BJrw4-AG-ef8244b4.js → journeyDiagram-EWQZEKCU-BJrw4-AG-6748836a.js} +5 -5
  36. package/lib/{kanban-definition-ZSS6B67P-BptAnqU--b8287d0b.js → kanban-definition-ZSS6B67P-BptAnqU--dd67539f.js} +3 -3
  37. package/lib/{layout-sGZIJplX-64b72824.js → layout-sGZIJplX-2b5fc8df.js} +5 -5
  38. package/lib/{linear-DqgVh5FN-e3f30fb1.js → linear-DqgVh5FN-4e08ca42.js} +1 -1
  39. package/lib/{mermaid-parser.core-CH9ryA1K-64cabfbd.js → mermaid-parser.core-CH9ryA1K-619073f4.js} +12 -12
  40. package/lib/{mermaid.core-CAqkCmS1-87b3e812.js → mermaid.core-CAqkCmS1-788a5b11.js} +30 -30
  41. package/lib/{min-BngCxx8g-ad7a9be2.js → min-BngCxx8g-3e560cc1.js} +3 -3
  42. package/lib/{mindmap-definition-6CBA2TL7-Cp_EeEsh-84fa21d5.js → mindmap-definition-6CBA2TL7-Cp_EeEsh-0eab687b.js} +2 -2
  43. package/lib/packet-HUATNLJX-bfFWFja0-f688ecb7.js +11 -0
  44. package/lib/pie-WTHONI2E-QPrWs3SR-52817908.js +11 -0
  45. package/lib/{pieDiagram-NIOCPIFQ-C46Y_4C6-f3e2e517.js → pieDiagram-NIOCPIFQ-C46Y_4C6-731d8ba8.js} +8 -8
  46. package/lib/{quadrantDiagram-2OG54O6I-Dgf6d6F_-187dd752.js → quadrantDiagram-2OG54O6I-Dgf6d6F_-84819439.js} +3 -3
  47. package/lib/radar-NJJJXTRR-BnUCJhQL-52858592.js +11 -0
  48. package/lib/{requirementDiagram-QOLK2EJ7-CSF6N7HA-46bb6c27.js → requirementDiagram-QOLK2EJ7-CSF6N7HA-7284d0a6.js} +4 -4
  49. package/lib/{sankeyDiagram-4UZDY2LN-BAHB7dMS-e261878f.js → sankeyDiagram-4UZDY2LN-BAHB7dMS-30f2f5ff.js} +2 -2
  50. package/lib/{sequenceDiagram-SKLFT4DO-10gLJ50N-53cd5f13.js → sequenceDiagram-SKLFT4DO-10gLJ50N-f6b947e2.js} +4 -4
  51. package/lib/{stateDiagram-MI5ZYTHO-D6p6nCaj-693b251a.js → stateDiagram-MI5ZYTHO-D6p6nCaj-ffe0f8b2.js} +9 -9
  52. package/lib/{stateDiagram-v2-5AN5P6BG-DaN5hC-t-bd66a70b.js → stateDiagram-v2-5AN5P6BG-DaN5hC-t-d30c7707.js} +5 -5
  53. package/lib/super-ui.css +1 -1
  54. package/lib/super-ui.js +1 -1
  55. package/lib/super-ui.umd.cjs +3 -3
  56. package/lib/{tab-content-iframe-index-cd266cab.js → tab-content-iframe-index-28dfe5bf.js} +1 -1
  57. package/lib/{tab-content-index-92aaa5d4.js → tab-content-index-73a86425.js} +1 -1
  58. package/lib/{tache-subprocess-history-b370b5db.js → tache-subprocess-history-a5af6b42.js} +1 -1
  59. package/lib/{timeline-definition-MYPXXCX6-gLqnWxDu-61e477df.js → timeline-definition-MYPXXCX6-gLqnWxDu-b61a000c.js} +3 -3
  60. package/lib/treemap-75Q7IDZK-B2atdfMH-3333e5a8.js +11 -0
  61. package/lib/{xychartDiagram-H2YORKM3-Whqa4ezL-3c95a7fb.js → xychartDiagram-H2YORKM3-Whqa4ezL-06335a51.js} +3 -3
  62. package/package.json +1 -1
  63. package/packages/fs-preview/src/fs-preview.vue +2 -2
  64. package/packages/fs-upload/src/fs-upload-multi.vue +2 -2
  65. package/packages/fs-upload/src/fs-upload-single.vue +2 -2
  66. package/packages/fs-upload-list/src/fs-upload-list.vue +1 -1
  67. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +1 -1
  68. package/packages/fs-upload-new/src/fs-button-upload.vue +1 -1
  69. package/packages/fs-upload-new/src/fs-drag-upload.vue +1 -1
  70. package/packages/fs-upload-new/src/fs-preview-new.vue +2 -2
  71. package/packages/multipart-upload/src/multipart-upload-form.vue +2 -2
  72. package/packages/multipart-upload/src/multipart-upload-list.vue +2 -2
  73. package/packages/super-grid/src/view-image-dialog.vue +2 -2
  74. package/src/utils/common-util.js +14 -1
  75. package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-9f993c40.js +0 -11
  76. package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-5cf92caf.js +0 -11
  77. package/lib/info-63CPKGFF-C8sYWczU-e04f395b.js +0 -11
  78. package/lib/packet-HUATNLJX-bfFWFja0-5e560ef7.js +0 -11
  79. package/lib/pie-WTHONI2E-QPrWs3SR-9358d5f0.js +0 -11
  80. package/lib/radar-NJJJXTRR-BnUCJhQL-23d36892.js +0 -11
  81. package/lib/treemap-75Q7IDZK-B2atdfMH-f4881ae1.js +0 -11
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
2
- import { a8 as s } from "./index-67ccc623.js";
2
+ import { a8 as s } from "./index-90d15630.js";
3
3
  const a = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
4
4
  this.src = this.$route.query.src;
5
5
  } }, mounted() {
@@ -1,4 +1,4 @@
1
- import { a8 as v, aa as I, ab as N, ac as $, ad as S, ae as E, af as F, ag as C, ah as O, ai as W, aj as R, ak as B, al as w, am as V } from "./index-67ccc623.js";
1
+ import { a8 as v, aa as I, ab as N, ac as $, ad as S, ae as E, af as F, ag as C, ah as O, ai as W, aj as R, ak as B, al as w, am as V } from "./index-90d15630.js";
2
2
  import { createVNode as g, resolveComponent as d, openBlock as u, createBlock as p, withCtx as h, renderSlot as L, createElementBlock as f, normalizeClass as A, createCommentVNode as x, Fragment as k, renderList as P, defineComponent as D, h as b, createTextVNode as U, toDisplayString as T, TransitionGroup as j, createElementVNode as _ } from "vue";
3
3
  $(["sidebar", "protectedRouters"]);
4
4
  const J = v(D({ name: "MenuItem", functional: !0, props: { icon: { type: String, default: "" }, title: { type: String, default: "" }, hasChildren: { type: Boolean, default: !1 }, isRoot: { type: Boolean, default: !1 }, code: { type: Boolean, default: !1 }, backlogTotal: { type: Number, default: 0 }, menuLayer: { type: Number, default: null } }, render(e) {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as l, createElementBlock as s, createElementVNode as y, createVNode as a, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
2
- import { a8 as I } from "./index-67ccc623.js";
2
+ import { a8 as I } from "./index-90d15630.js";
3
3
  const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
4
4
  const o = this.$route.query.workflowId;
5
5
  o && (this.workflowId = parseInt(o));
@@ -1,6 +1,6 @@
1
- import { _ as a, D as yt, ag as gt, z as ft, d as G, c as mt, l as S, ac as xt, ad as bt, ae as _t, af as kt } from "./mermaid.core-CAqkCmS1-87b3e812.js";
2
- import { d as K } from "./arc-Js_tyW10-6ad7af56.js";
3
- import "./index-67ccc623.js";
1
+ import { _ as a, D as yt, ag as gt, z as ft, d as G, c as mt, l as S, ac as xt, ad as bt, ae as _t, af as kt } from "./mermaid.core-CAqkCmS1-788a5b11.js";
2
+ import { d as K } from "./arc-Js_tyW10-45b310a4.js";
3
+ import "./index-90d15630.js";
4
4
  import "vue";
5
5
  var q = function() {
6
6
  var n = a(function(s, d, l, h) {
@@ -0,0 +1,11 @@
1
+ import { T as s, h as T } from "./mermaid-parser.core-CH9ryA1K-619073f4.js";
2
+ import "./index-90d15630.js";
3
+ import "vue";
4
+ import "./mermaid.core-CAqkCmS1-788a5b11.js";
5
+ import "./_baseUniq-BXtq6_NW-121ece16.js";
6
+ import "./min-BngCxx8g-3e560cc1.js";
7
+ import "./clone-CEJtuQzg-1d510cd8.js";
8
+ export {
9
+ s as TreemapModule,
10
+ T as createTreemapServices
11
+ };
@@ -1,8 +1,8 @@
1
- import { _ as n, a1 as hi, G as gt, F as Bt, H as oi, aD as ri, l as zt, a9 as kt, i as li, t as Ot, b as ci, a as gi, q as ui, g as xi, s as di, z as pi, K as fi, e as mi } from "./mermaid.core-CAqkCmS1-87b3e812.js";
1
+ import { _ as n, a1 as hi, G as gt, F as Bt, H as oi, aD as ri, l as zt, a9 as kt, i as li, t as Ot, b as ci, a as gi, q as ui, g as xi, s as di, z as pi, K as fi, e as mi } from "./mermaid.core-CAqkCmS1-788a5b11.js";
2
2
  import { i as yi } from "./init-ZxktEp_H-731b6c9b.js";
3
3
  import { o as bi } from "./ordinal-DSZU4PqD-57a34423.js";
4
- import { l as _t } from "./linear-DqgVh5FN-e3f30fb1.js";
5
- import "./index-67ccc623.js";
4
+ import { l as _t } from "./linear-DqgVh5FN-4e08ca42.js";
5
+ import "./index-90d15630.js";
6
6
  import "vue";
7
7
  import "./defaultLocale-DVr69WTU-dbb4acef.js";
8
8
  var Tt, Rt, Dt, Lt, Pt, vt, Et, Mt, It, $t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.60",
3
+ "version": "1.1.61",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -86,7 +86,7 @@ import { Paperclip as ElIconPaperclip, View as ElIconView, Download as ElIconDow
86
86
  import * as Vue from 'vue'
87
87
  import {
88
88
  isPlateSys,
89
- getSystemFrontendUrl,
89
+ getSystemFrontendUrlWith,
90
90
  getRelativeBaseUrl,
91
91
  getKkFilePreviewUrl
92
92
  } from '../../../src/utils/common-util'
@@ -276,7 +276,7 @@ export default {
276
276
  const showName = fileInfo.showName
277
277
  if (window.$vueApp.config.globalProperties.customPreviewUrl) {
278
278
  window.open(
279
- getSystemFrontendUrl(window.$vueApp.config.globalProperties.portalUrl) +
279
+ getSystemFrontendUrlWith(window.$vueApp.config.globalProperties.portalUrl) +
280
280
  '/#/file-service/preview?serverPath=' +
281
281
  fileInfo.serverPath +
282
282
  '&showName=' +
@@ -171,7 +171,7 @@ import seeBigPicture from './see-big-picture.vue'
171
171
  import {getToken} from '../../../src/utils/auth'
172
172
  import {
173
173
  isPlateSys,
174
- getSystemFrontendUrl,
174
+ getSystemFrontendUrlWith,
175
175
  getRelativeBaseUrl,
176
176
  getKkFilePreviewUrl,
177
177
  } from '../../../src//utils//common-util.js'
@@ -356,7 +356,7 @@ export default {
356
356
  const token = getToken()
357
357
  if (window.$vueApp.config.globalProperties.customPreviewUrl) {
358
358
  window.open(
359
- getSystemFrontendUrl(
359
+ getSystemFrontendUrlWith(
360
360
  window.$vueApp.config.globalProperties.portalUrl
361
361
  ) +
362
362
  '/#/file-service/preview?serverPath=' +
@@ -112,7 +112,7 @@ import {
112
112
  import {$emit} from '../../utils/gogocodeTransfer'
113
113
  import Cookies from 'js-cookie'
114
114
  import seeBigPicture from './see-big-picture.vue'
115
- import {getKkFilePreviewUrl, getRelativeBaseUrl, getSystemFrontendUrl, isPlateSys,} from '../../../src/utils/common-util.js'
115
+ import {getKkFilePreviewUrl, getRelativeBaseUrl, getSystemFrontendUrlWith, isPlateSys,} from '../../../src/utils/common-util.js'
116
116
  import {getToken} from '../../../src/utils/auth'
117
117
 
118
118
  export default {
@@ -283,7 +283,7 @@ export default {
283
283
  const token = getToken()
284
284
  if (window.$vueApp.config.globalProperties.customPreviewUrl) {
285
285
  window.open(
286
- getSystemFrontendUrl(
286
+ getSystemFrontendUrlWith(
287
287
  window.$vueApp.config.globalProperties.portalUrl
288
288
  ) +
289
289
  '/#/file-service/preview?serverPath=' +
@@ -77,7 +77,7 @@ import { $emit } from '../../utils/gogocodeTransfer'
77
77
 
78
78
  import { getToken } from '../../../src/utils/auth'
79
79
  import { isImage } from '../../../src/utils/util'
80
- import { getSystemFrontendUrl, isPlateSys, isMobileBrowser, getRelativeBaseUrl } from '../../../src/utils/common-util'
80
+ import { isPlateSys, isMobileBrowser, getRelativeBaseUrl } from '../../../src/utils/common-util'
81
81
  import FsPreview from '../../fs-preview/src/fs-preview.vue'
82
82
  import { packageFile } from '../../super-grid/src/utils'
83
83
  import FileUploadInputMobile from '../../fs-upload-new/src/file-upload-mobile/file-upload-input.vue'
@@ -60,7 +60,7 @@
60
60
 
61
61
  <script lang="ts" setup>
62
62
  import { ref, defineEmits } from 'vue'
63
- import { getSystemFrontendUrl, getReplaceUrlDomain, formatFileName, isDingTalkEnv } from '../../../../src/utils/common-util'
63
+ import { getReplaceUrlDomain, formatFileName, isDingTalkEnv } from '../../../../src/utils/common-util'
64
64
  import { getToken, getCookieCache } from '../../../../src/utils/auth.js' // 获得token
65
65
  import Compressor from 'compressorjs'
66
66
  import { ElMessage } from 'element-plus'
@@ -43,7 +43,7 @@
43
43
 
44
44
  <script setup lang="ts">
45
45
  import { ref, defineProps, defineEmits } from 'vue'
46
- import { getRelativeBaseUrl, getSystemFrontendUrl, isPlateSys } from '../../../src/utils/common-util'
46
+ import { getRelativeBaseUrl, isPlateSys } from '../../../src/utils/common-util'
47
47
  import { getToken } from '../../../src/utils/auth'
48
48
  import type { UploadFile, UploadFiles } from 'element-plus'
49
49
  import fsPreviewNew from './fs-preview-new.vue'
@@ -41,7 +41,7 @@
41
41
  <script setup lang="ts">
42
42
  import { UploadFilled } from '@element-plus/icons-vue'
43
43
  import { ref, defineProps, defineEmits } from 'vue'
44
- import { getRelativeBaseUrl, getSystemFrontendUrl, isPlateSys } from '../../../src/utils/common-util'
44
+ import { getRelativeBaseUrl, isPlateSys } from '../../../src/utils/common-util'
45
45
  import { getToken } from '../../../src/utils/auth'
46
46
  import type { UploadFile, UploadFiles } from 'element-plus'
47
47
  import fsPreviewNew from './fs-preview-new.vue'
@@ -63,7 +63,7 @@
63
63
  import { Close, Paperclip, Download } from '@element-plus/icons-vue'
64
64
  import { ref, defineProps } from 'vue'
65
65
  import {
66
- getSystemFrontendUrl,
66
+ getSystemFrontendUrlWith,
67
67
  isPlateSys,
68
68
  isMobileBrowser,
69
69
  getReplaceUrlDomain,
@@ -261,7 +261,7 @@ const previweDoc = (showName: string, serverPath: string) => {
261
261
  showName = showName = formatName(showName)
262
262
  if (window.$vueApp.config.globalProperties.customPreviewUrl) {
263
263
  window.open(
264
- getSystemFrontendUrl(window.$vueApp.config.globalProperties.portalUrl) +
264
+ getSystemFrontendUrlWith(window.$vueApp.config.globalProperties.portalUrl) +
265
265
  '/#/file-service/preview?serverPath=' +
266
266
  serverPath +
267
267
  '&showName=' +
@@ -131,7 +131,7 @@ import {getToken} from '../../../src/utils/auth'
131
131
  import {isImage} from '../../../src/utils/util'
132
132
  import {
133
133
  isPlateSys,
134
- getSystemFrontendUrl,
134
+ getSystemFrontendUrlWith,
135
135
  getKkFilePreviewUrl,
136
136
  } from '../../../src/utils/common-util'
137
137
  import * as Vue from 'vue'
@@ -324,7 +324,7 @@ export default {
324
324
  const token = getToken()
325
325
  if (window.$vueApp.config.globalProperties.customPreviewUrl) {
326
326
  window.open(
327
- getSystemFrontendUrl(
327
+ getSystemFrontendUrlWith(
328
328
  window.$vueApp.config.globalProperties.portalUrl
329
329
  ) +
330
330
  '/#/file-service/preview?serverPath=' +
@@ -169,7 +169,7 @@ import {getToken} from '../../../src/utils/auth'
169
169
  import {isImage} from '../../../src/utils/util'
170
170
  import {
171
171
  isPlateSys,
172
- getSystemFrontendUrl,
172
+ getSystemFrontendUrlWith,
173
173
  getKkFilePreviewUrl,
174
174
  } from '../../../src/utils/common-util'
175
175
  import * as Vue from 'vue'
@@ -477,7 +477,7 @@ export default {
477
477
  const token = getToken()
478
478
  if (window.$vueApp.config.globalProperties.customPreviewUrl) {
479
479
  window.open(
480
- getSystemFrontendUrl(
480
+ getSystemFrontendUrlWith(
481
481
  window.$vueApp.config.globalProperties.portalUrl
482
482
  ) +
483
483
  '/#/file-service/preview?serverPath=' +
@@ -51,7 +51,7 @@ import * as Vue from 'vue'
51
51
  import {
52
52
  isPlateSys,
53
53
  getKkFilePreviewUrl,
54
- getSystemFrontendUrl,
54
+ getSystemFrontendUrlWith,
55
55
  } from '../../../src/utils/common-util'
56
56
  import {getToken} from '../../../src/utils/auth'
57
57
 
@@ -132,7 +132,7 @@ export default {
132
132
  }
133
133
  if (window.$vueApp.config.globalProperties.customPreviewUrl) {
134
134
  window.open(
135
- getSystemFrontendUrl(
135
+ getSystemFrontendUrlWith(
136
136
  window.$vueApp.config.globalProperties.portalUrl
137
137
  ) +
138
138
  '/#/file-service/preview?serverPath=' +
@@ -185,8 +185,21 @@ export function isShowSystemMenu() {
185
185
  }
186
186
  return showSystemMenu === 'true'
187
187
  }
188
-
188
+ // 页面配置跳转页面使用的该方法,开发模式时需要用这个方法,否则跳转的页面是服务器页面
189
189
  export function getSystemFrontendUrl(frontendUrl) {
190
+ if (
191
+ window.$vueApp.config.globalProperties.projectModel &&
192
+ window.$vueApp.config.globalProperties.projectModel === 'developing.model' &&
193
+ window.$vueApp.config.globalProperties.frontUrl
194
+ ) {
195
+ return window.$vueApp.config.globalProperties.frontUrl
196
+ } else {
197
+ return getRelativeBaseUrl(frontendUrl)
198
+ }
199
+ }
200
+
201
+ // 开发模式时,传进来的路径是什么,就返回什么。附件预览时会需要,传进来的是portalUrl,返回portalUrl就行了。
202
+ export function getSystemFrontendUrlWith(frontendUrl) {
190
203
  if (
191
204
  window.$vueApp.config.globalProperties.projectModel &&
192
205
  window.$vueApp.config.globalProperties.projectModel === 'developing.model'
@@ -1,11 +0,0 @@
1
- import { A as a, e as s } from "./mermaid-parser.core-CH9ryA1K-64cabfbd.js";
2
- import "./index-67ccc623.js";
3
- import "vue";
4
- import "./mermaid.core-CAqkCmS1-87b3e812.js";
5
- import "./_baseUniq-BXtq6_NW-f895d749.js";
6
- import "./min-BngCxx8g-ad7a9be2.js";
7
- import "./clone-CEJtuQzg-d93faa7a.js";
8
- export {
9
- a as ArchitectureModule,
10
- s as createArchitectureServices
11
- };
@@ -1,11 +0,0 @@
1
- import { G, f as s } from "./mermaid-parser.core-CH9ryA1K-64cabfbd.js";
2
- import "./index-67ccc623.js";
3
- import "vue";
4
- import "./mermaid.core-CAqkCmS1-87b3e812.js";
5
- import "./_baseUniq-BXtq6_NW-f895d749.js";
6
- import "./min-BngCxx8g-ad7a9be2.js";
7
- import "./clone-CEJtuQzg-d93faa7a.js";
8
- export {
9
- G as GitGraphModule,
10
- s as createGitGraphServices
11
- };
@@ -1,11 +0,0 @@
1
- import { I as c, c as f } from "./mermaid-parser.core-CH9ryA1K-64cabfbd.js";
2
- import "./index-67ccc623.js";
3
- import "vue";
4
- import "./mermaid.core-CAqkCmS1-87b3e812.js";
5
- import "./_baseUniq-BXtq6_NW-f895d749.js";
6
- import "./min-BngCxx8g-ad7a9be2.js";
7
- import "./clone-CEJtuQzg-d93faa7a.js";
8
- export {
9
- c as InfoModule,
10
- f as createInfoServices
11
- };
@@ -1,11 +0,0 @@
1
- import { P as c, a as s } from "./mermaid-parser.core-CH9ryA1K-64cabfbd.js";
2
- import "./index-67ccc623.js";
3
- import "vue";
4
- import "./mermaid.core-CAqkCmS1-87b3e812.js";
5
- import "./_baseUniq-BXtq6_NW-f895d749.js";
6
- import "./min-BngCxx8g-ad7a9be2.js";
7
- import "./clone-CEJtuQzg-d93faa7a.js";
8
- export {
9
- c as PacketModule,
10
- s as createPacketServices
11
- };
@@ -1,11 +0,0 @@
1
- import { b as s, d as c } from "./mermaid-parser.core-CH9ryA1K-64cabfbd.js";
2
- import "./index-67ccc623.js";
3
- import "vue";
4
- import "./mermaid.core-CAqkCmS1-87b3e812.js";
5
- import "./_baseUniq-BXtq6_NW-f895d749.js";
6
- import "./min-BngCxx8g-ad7a9be2.js";
7
- import "./clone-CEJtuQzg-d93faa7a.js";
8
- export {
9
- s as PieModule,
10
- c as createPieServices
11
- };
@@ -1,11 +0,0 @@
1
- import { R as d, g as s } from "./mermaid-parser.core-CH9ryA1K-64cabfbd.js";
2
- import "./index-67ccc623.js";
3
- import "vue";
4
- import "./mermaid.core-CAqkCmS1-87b3e812.js";
5
- import "./_baseUniq-BXtq6_NW-f895d749.js";
6
- import "./min-BngCxx8g-ad7a9be2.js";
7
- import "./clone-CEJtuQzg-d93faa7a.js";
8
- export {
9
- d as RadarModule,
10
- s as createRadarServices
11
- };
@@ -1,11 +0,0 @@
1
- import { T as s, h as T } from "./mermaid-parser.core-CH9ryA1K-64cabfbd.js";
2
- import "./index-67ccc623.js";
3
- import "vue";
4
- import "./mermaid.core-CAqkCmS1-87b3e812.js";
5
- import "./_baseUniq-BXtq6_NW-f895d749.js";
6
- import "./min-BngCxx8g-ad7a9be2.js";
7
- import "./clone-CEJtuQzg-d93faa7a.js";
8
- export {
9
- s as TreemapModule,
10
- T as createTreemapServices
11
- };