agilebuilder-ui 1.1.24-sit1 → 1.1.24-sit2

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/index.html CHANGED
@@ -1,10 +1,16 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + Vue</title>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta name="renderer" content="webkit">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8
+ <meta http-equiv="Expires" content="0">
9
+ <meta http-equiv="Pragma" content="no-cache">
10
+ <meta http-equiv="Cache-control" content="no-cache">
11
+ <meta http-equiv="Cache" content="no-cache">
12
+ <link rel="icon" type="image/svg+xml" href="favicon.svg" />
13
+ <title>质量管理系统</title>
8
14
  </head>
9
15
  <body>
10
16
  <div id="app"></div>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 442 442"
4
+ preserveAspectRatio="xMidYMid meet">
5
+
6
+ <g transform="translate(0.000000,442.000000) scale(0.100000,-0.100000)" stroke="none">
7
+ <path fill="#e15814" d="M1801 4004 c-395 -45 -745 -180 -1045 -402 -377 -280 -644 -692 -727
8
+ -1123 -19 -99 -21 -137 -16 -313 4 -175 8 -214 31 -301 69 -265 189 -470 391
9
+ -670 123 -122 168 -156 184 -139 11 12 111 300 111 320 0 9 -42 59 -93 112
10
+ -194 203 -281 394 -294 639 l-6 112 29 12 c21 8 166 9 522 4 429 -7 494 -10
11
+ 499 -23 4 -8 -3 -58 -15 -111 -12 -53 -51 -238 -87 -411 -36 -173 -86 -409
12
+ -111 -525 -24 -115 -55 -257 -67 -314 l-22 -103 26 -22 c36 -31 276 -128 299
13
+ -121 23 7 25 13 60 174 82 383 175 818 234 1086 36 165 106 489 155 720 50
14
+ 231 135 629 191 885 55 256 100 474 100 486 0 11 -5 25 -12 32 -16 16 -185 14
15
+ -337 -4z m-101 -358 c0 -14 -22 -128 -49 -253 -28 -125 -78 -356 -112 -513
16
+ -35 -163 -68 -292 -77 -302 -14 -17 -52 -18 -526 -18 -285 0 -517 4 -525 9
17
+ -30 19 61 236 166 396 197 300 564 551 993 681 103 31 130 31 130 0z"/>
18
+ <path fill="#239753" d="M2401 3956 c-6 -7 -38 -139 -72 -292 -33 -153 -87 -400 -119 -549
19
+ -32 -148 -82 -376 -109 -505 -28 -129 -140 -649 -251 -1155 -110 -505 -199
20
+ -926 -198 -934 4 -19 62 -33 253 -62 191 -29 411 -29 600 0 201 31 436 85 450
21
+ 105 7 9 24 73 38 143 14 71 62 306 106 523 44 217 105 516 136 665 59 291 64
22
+ 329 39 339 -9 3 -166 6 -350 6 l-334 0 0 30 c0 50 41 204 58 217 12 10 198 13
23
+ 853 13 529 0 840 4 844 10 3 5 -6 44 -21 87 -225 661 -642 1045 -1364 1255
24
+ -179 53 -250 69 -414 98 -141 24 -131 23 -145 6z"/>
25
+ <path fill="#239753" d="M3677 2213 c-5 -9 -47 -194 -212 -942 -82 -368 -113 -527 -105 -535
26
+ 12 -12 32 -2 185 99 183 121 259 185 410 351 121 131 198 239 264 371 104 207
27
+ 158 397 163 569 l3 89 -352 3 c-193 1 -354 -1 -356 -5z"/>
28
+ </g>
29
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.24-sit1",
3
+ "version": "1.1.24-sit2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 442 442"
4
+ preserveAspectRatio="xMidYMid meet">
5
+
6
+ <g transform="translate(0.000000,442.000000) scale(0.100000,-0.100000)" stroke="none">
7
+ <path fill="#e15814" d="M1801 4004 c-395 -45 -745 -180 -1045 -402 -377 -280 -644 -692 -727
8
+ -1123 -19 -99 -21 -137 -16 -313 4 -175 8 -214 31 -301 69 -265 189 -470 391
9
+ -670 123 -122 168 -156 184 -139 11 12 111 300 111 320 0 9 -42 59 -93 112
10
+ -194 203 -281 394 -294 639 l-6 112 29 12 c21 8 166 9 522 4 429 -7 494 -10
11
+ 499 -23 4 -8 -3 -58 -15 -111 -12 -53 -51 -238 -87 -411 -36 -173 -86 -409
12
+ -111 -525 -24 -115 -55 -257 -67 -314 l-22 -103 26 -22 c36 -31 276 -128 299
13
+ -121 23 7 25 13 60 174 82 383 175 818 234 1086 36 165 106 489 155 720 50
14
+ 231 135 629 191 885 55 256 100 474 100 486 0 11 -5 25 -12 32 -16 16 -185 14
15
+ -337 -4z m-101 -358 c0 -14 -22 -128 -49 -253 -28 -125 -78 -356 -112 -513
16
+ -35 -163 -68 -292 -77 -302 -14 -17 -52 -18 -526 -18 -285 0 -517 4 -525 9
17
+ -30 19 61 236 166 396 197 300 564 551 993 681 103 31 130 31 130 0z"/>
18
+ <path fill="#239753" d="M2401 3956 c-6 -7 -38 -139 -72 -292 -33 -153 -87 -400 -119 -549
19
+ -32 -148 -82 -376 -109 -505 -28 -129 -140 -649 -251 -1155 -110 -505 -199
20
+ -926 -198 -934 4 -19 62 -33 253 -62 191 -29 411 -29 600 0 201 31 436 85 450
21
+ 105 7 9 24 73 38 143 14 71 62 306 106 523 44 217 105 516 136 665 59 291 64
22
+ 329 39 339 -9 3 -166 6 -350 6 l-334 0 0 30 c0 50 41 204 58 217 12 10 198 13
23
+ 853 13 529 0 840 4 844 10 3 5 -6 44 -21 87 -225 661 -642 1045 -1364 1255
24
+ -179 53 -250 69 -414 98 -141 24 -131 23 -145 6z"/>
25
+ <path fill="#239753" d="M3677 2213 c-5 -9 -47 -194 -212 -942 -82 -368 -113 -527 -105 -535
26
+ 12 -12 32 -2 185 99 183 121 259 185 410 351 121 131 198 239 264 371 104 207
27
+ 158 397 163 569 l3 89 -352 3 c-193 1 -354 -1 -356 -5z"/>
28
+ </g>
29
+ </svg>
@@ -127,32 +127,36 @@ export function getLoginUrl() {
127
127
  } else {
128
128
  systemPath = null
129
129
  }
130
- getPortalFrontendUrl()
131
- .then((portalUrl) => {
132
- let loginUrl = portalUrl + '#/login'
133
- if (systemPath) {
134
- loginUrl = loginUrl + '?systemPath=' + systemPath
135
- }
136
- if (routerPath) {
137
- if (loginUrl.indexOf('?') > 0) {
138
- loginUrl = loginUrl + '&routerPath=' + routerPath
139
- } else {
140
- loginUrl = loginUrl + '?routerPath=' + routerPath
141
- }
130
+ const buildLoginUrl = (portalUrl = '') => {
131
+ let loginUrl = portalUrl + '#/login'
132
+ if (systemPath) {
133
+ loginUrl = loginUrl + '?systemPath=' + systemPath
134
+ }
135
+ if (routerPath) {
136
+ if (loginUrl.indexOf('?') > 0) {
137
+ loginUrl = loginUrl + '&routerPath=' + routerPath
138
+ } else {
139
+ loginUrl = loginUrl + '?routerPath=' + routerPath
142
140
  }
143
- if (param) {
144
- if (loginUrl.indexOf('?') > 0) {
145
- loginUrl = loginUrl + '&' + param
146
- } else {
147
- loginUrl = loginUrl + '?' + param
148
- }
141
+ }
142
+ if (param) {
143
+ if (loginUrl.indexOf('?') > 0) {
144
+ loginUrl = loginUrl + '&' + param
145
+ } else {
146
+ loginUrl = loginUrl + '?' + param
149
147
  }
150
- loginUrl = replacePrefix(loginUrl)
151
- resolve(loginUrl)
152
- })
153
- .catch((error) => {
154
- reject(error)
155
- })
148
+ }
149
+ return replacePrefix(loginUrl)
150
+ }
151
+ if (import.meta.env.DEV) {
152
+ resolve(buildLoginUrl())
153
+ } else {
154
+ getPortalFrontendUrl()
155
+ .then((portalUrl) => resolve(buildLoginUrl(portalUrl)))
156
+ .catch((error) => {
157
+ reject(error)
158
+ })
159
+ }
156
160
  })
157
161
  }
158
162
 
package/lib/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/public/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>