@das-fed/utils 1.0.0 → 1.0.2

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 (66) hide show
  1. package/api-services/index.js +6840 -19720
  2. package/api-services/modules/app-manage.js +6966 -6
  3. package/api-services/modules/authentication.js +6966 -6
  4. package/api-services/modules/bems.js +6970 -11
  5. package/api-services/modules/contract.js +6966 -6
  6. package/api-services/modules/duty-manage.js +6970 -10
  7. package/api-services/modules/enterpriseright.js +6966 -6
  8. package/api-services/modules/file.js +7108 -353
  9. package/api-services/modules/gateway-edge.js +6966 -6
  10. package/api-services/modules/index.js +7163 -437
  11. package/api-services/modules/iot.js +6979 -19
  12. package/api-services/modules/justauth.js +6967 -7
  13. package/api-services/modules/knowledge.js +6966 -6
  14. package/api-services/modules/link.js +6966 -6
  15. package/api-services/modules/permission.js +6966 -6
  16. package/api-services/modules/platformManage.js +6974 -14
  17. package/api-services/modules/portal.js +6966 -6
  18. package/api-services/modules/space-manage.js +6966 -6
  19. package/api-services/modules/super-admin.js +6969 -9
  20. package/api-services/modules/supplier.js +6968 -8
  21. package/api-services/modules/supplychain-manage.js +6966 -6
  22. package/api-services/modules/systemConfiguration.js +6966 -6
  23. package/api-services/modules/tool.js +6966 -6
  24. package/api-services/src/create-service.js +6840 -19720
  25. package/api-services/src/sso.js +1711 -157
  26. package/api-services/src/util.js +1466 -19
  27. package/atob/index.js +9 -10
  28. package/common-info/getIframeUrl.js +14 -11
  29. package/common-info/index.js +194 -269
  30. package/common-info/setInfoFromUrl.js +60 -128
  31. package/common-tools/arr-tools.js +6 -13
  32. package/common-tools/date-format.js +18 -21
  33. package/common-tools/get-url-params.js +47 -88
  34. package/common-tools/handle-data.js +3 -4
  35. package/common-tools/index.js +108 -204
  36. package/common-tools/nest-tree-format.js +22 -49
  37. package/common-tools/obj-tools.js +17 -18
  38. package/common-tools/setHtmlMinWH.js +6 -10
  39. package/common-tools/throttled.js +7 -16
  40. package/config/index.js +8 -25
  41. package/curring-http/index.js +5150 -17289
  42. package/directive/auth.js +205 -97
  43. package/directive/clickOutside.js +25 -49
  44. package/directive/hoverInside.js +18 -35
  45. package/directive/index.js +238 -159
  46. package/directive/utils.js +6 -11
  47. package/dom-check-in/index.js +7 -15
  48. package/dom-watcher/index.js +7 -8
  49. package/hooks/popup-manager/use-zindex.js +17 -36
  50. package/index.js +242 -191
  51. package/load-js/index.js +14 -20
  52. package/oss/index.js +15 -15
  53. package/package.json +7 -11
  54. package/pinyin-first-character/index.js +25011 -12217
  55. package/process-engine-info/index.js +8 -10
  56. package/pure-image-src/index.js +3 -29
  57. package/set-personal-info/index.js +1566 -16
  58. package/size-watcher/index.js +17 -24
  59. package/style/index.js +62 -103
  60. package/style/math.js +16 -31
  61. package/style/style.js +49 -72
  62. package/token-tools/index.js +1594 -152
  63. package/vue/hooks/use-model-value.js +9 -10
  64. package/vue/index.js +9 -10
  65. package/webSocket-service/index.js +162 -135
  66. package/with-install/index.js +5 -7
@@ -1,213 +1,117 @@
1
- const dateFormat = (value, fmt = "yyyy-MM-dd HH:mm:ss") => {
2
- let date = value ? new Date(value) : /* @__PURE__ */ new Date();
3
- var o = {
4
- "M+": date.getMonth() + 1,
5
- "d+": date.getDate(),
6
- "H+": date.getHours(),
7
- "m+": date.getMinutes(),
8
- "s+": date.getSeconds(),
9
- "q+": Math.floor((date.getMonth() + 3) / 3),
10
- S: date.getMilliseconds()
11
- };
12
- var year = date.getFullYear().toString();
13
- year = year.length >= 4 ? year : "0000".substr(0, 4 - year.length) + year;
14
- if (/(y+)/.test(fmt))
15
- fmt = fmt.replace(RegExp.$1, (year + "").substr(4 - RegExp.$1.length));
16
- for (var k in o)
17
- if (new RegExp("(" + k + ")").test(fmt))
18
- fmt = fmt.replace(RegExp.$1, RegExp.$1.length === 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
19
- return fmt;
20
- };
21
-
22
- const getUrlParams = (allUrl, name) => {
23
- let search = window.location.search || "";
24
- if (allUrl && allUrl !== location.href) {
25
- const index = allUrl.indexOf("?");
26
- if (index !== -1) {
27
- search = allUrl.slice(index);
28
- } else {
29
- search = "";
30
- }
31
- }
32
- const params = new URLSearchParams(search);
33
- if (name) {
34
- return params.get(name);
35
- } else {
36
- let allParams = {};
37
- for (let [key, value] of params.entries()) {
38
- allParams[key] = value;
39
- }
40
- return allParams;
41
- }
42
- };
43
- const getFullPath = (url, params = {}) => {
44
- let result = "";
45
- let query = "";
46
- const keys = Object.keys(params);
47
- if (keys && keys.length) {
48
- keys.forEach((key, index) => {
49
- if (index === keys.length - 1) {
50
- query += `${key}=${params[key]}`;
51
- } else {
52
- query += `${key}=${params[key]}&`;
53
- }
54
- });
55
- }
56
- if (query) {
57
- result = location.origin + url + `?${query}`;
58
- } else {
59
- result = location.origin + url;
60
- }
61
- return result;
62
- };
63
- const funcUrlDel = (names, url) => {
64
- const preUrl = url ? url : location.href;
65
- const params = getUrlParams(preUrl);
66
- const keys = Object.keys(params) || [];
67
- if (!keys || !keys.length)
68
- return preUrl.includes("?") ? preUrl.split("?")[0] : preUrl.split("&")[0];
69
- let paramsResult = keys.filter((item) => !names.includes(item));
70
- if (!paramsResult || !paramsResult.length)
71
- return preUrl.includes("?") ? preUrl.split("?")[0] : preUrl.split("&")[0];
72
- let query = "";
73
- paramsResult.forEach((key, index) => {
74
- if (index === keys.length - 1) {
75
- query += `${key}=${params[key]}`;
76
- } else {
77
- query += `${key}=${params[key]}&`;
78
- }
79
- });
80
- return preUrl.includes("?") ? preUrl.split("?")[0] + `?${query}` : preUrl.split("&")[0] + `?${query}`;
81
- };
82
- const urlParamsToObject = (url) => {
83
- const searchParams = new URLSearchParams(url.split("?")[1]);
84
- const params = {};
85
- for (const [key, value] of searchParams) {
86
- if (params.hasOwnProperty(key)) {
87
- if (Array.isArray(params[key])) {
88
- params[key].push(value);
89
- } else {
90
- params[key] = [params[key], value];
91
- }
92
- } else {
93
- params[key] = value;
94
- }
95
- }
96
- return params;
97
- };
98
- const objectToUrlparams = (params) => {
99
- let query = "";
100
- const keys = Object.keys(params);
101
- if (keys && keys.length) {
102
- keys.forEach((key, index) => {
103
- if (index === keys.length - 1) {
104
- query += `${key}=${params[key]}`;
105
- } else {
106
- query += `${key}=${params[key]}&`;
107
- }
108
- });
1
+ const d = (t, n = "yyyy-MM-dd HH:mm:ss") => {
2
+ let e = t ? new Date(t) : /* @__PURE__ */ new Date();
3
+ var r = {
4
+ "M+": e.getMonth() + 1,
5
+ "d+": e.getDate(),
6
+ "H+": e.getHours(),
7
+ "m+": e.getMinutes(),
8
+ "s+": e.getSeconds(),
9
+ "q+": Math.floor((e.getMonth() + 3) / 3),
10
+ S: e.getMilliseconds()
11
+ }, s = e.getFullYear().toString();
12
+ s = s.length >= 4 ? s : "0000".substr(0, 4 - s.length) + s, /(y+)/.test(n) && (n = n.replace(RegExp.$1, (s + "").substr(4 - RegExp.$1.length)));
13
+ for (var i in r)
14
+ new RegExp("(" + i + ")").test(n) && (n = n.replace(RegExp.$1, RegExp.$1.length === 1 ? r[i] : ("00" + r[i]).substr(("" + r[i]).length)));
15
+ return n;
16
+ }, f = (t, n) => {
17
+ let e = window.location.search || "";
18
+ if (t && t !== location.href) {
19
+ const s = t.indexOf("?");
20
+ s !== -1 ? e = t.slice(s) : e = "";
109
21
  }
110
- return query;
111
- };
112
-
113
- const findNonEmptyChildrenItems = (arr, children = "children") => {
114
- let result = [];
115
- for (let i = 0; i < arr.length; i++) {
116
- if (arr[i][children] && arr[i][children].length > 0) {
117
- result.push(arr[i]);
118
- result = result.concat(findNonEmptyChildrenItems(arr[i][children]));
119
- }
22
+ const r = new URLSearchParams(e);
23
+ if (n)
24
+ return r.get(n);
25
+ {
26
+ let s = {};
27
+ for (let [i, o] of r.entries())
28
+ s[i] = o;
29
+ return s;
120
30
  }
121
- return result;
122
- };
123
- const flatTree = (list, child = "children", deleteChild = true) => {
124
- if (Array.isArray(list) && list.length) {
125
- return list.reduce((ls, item) => {
126
- let children = item[child];
127
- let res = { ...item };
128
- if (deleteChild) {
129
- delete res[child];
130
- }
131
- if (children && children.length) {
132
- return ls.concat(res, flatTree(children, child, deleteChild));
133
- } else {
134
- return ls.concat(res);
135
- }
136
- }, []);
137
- } else {
138
- return [];
139
- }
140
- };
141
- const filterTreeArray = (tree, predicate, children = "children") => {
142
- return tree.filter((item) => {
143
- return predicate(item);
144
- }).map((item) => {
145
- item = Object.assign({}, item);
146
- if (item[children]) {
147
- item[children] = filterTreeArray(item[children], predicate);
148
- }
149
- return item;
150
- });
151
- };
152
- const treeFind = (tree, func) => {
153
- for (const data of tree) {
154
- if (func(data))
155
- return data;
156
- if (data?.children && data.children.length) {
157
- const res = treeFind(data.children, func);
158
- if (res)
159
- return res;
31
+ }, $ = (t, n = {}) => {
32
+ let e = "", r = "";
33
+ const s = Object.keys(n);
34
+ return s && s.length && s.forEach((i, o) => {
35
+ o === s.length - 1 ? r += `${i}=${n[i]}` : r += `${i}=${n[i]}&`;
36
+ }), r ? e = location.origin + t + `?${r}` : e = location.origin + t, e;
37
+ }, y = (t, n) => {
38
+ const e = n || location.href, r = f(e), s = Object.keys(r) || [];
39
+ if (!s || !s.length)
40
+ return e.includes("?") ? e.split("?")[0] : e.split("&")[0];
41
+ let i = s.filter((l) => !t.includes(l));
42
+ if (!i || !i.length)
43
+ return e.includes("?") ? e.split("?")[0] : e.split("&")[0];
44
+ let o = "";
45
+ return i.forEach((l, c) => {
46
+ c === s.length - 1 ? o += `${l}=${r[l]}` : o += `${l}=${r[l]}&`;
47
+ }), e.includes("?") ? e.split("?")[0] + `?${o}` : e.split("&")[0] + `?${o}`;
48
+ }, m = (t) => {
49
+ const n = new URLSearchParams(t.split("?")[1]), e = {};
50
+ for (const [r, s] of n)
51
+ e.hasOwnProperty(r) ? Array.isArray(e[r]) ? e[r].push(s) : e[r] = [e[r], s] : e[r] = s;
52
+ return e;
53
+ }, E = (t) => {
54
+ let n = "";
55
+ const e = Object.keys(t);
56
+ return e && e.length && e.forEach((r, s) => {
57
+ s === e.length - 1 ? n += `${r}=${t[r]}` : n += `${r}=${t[r]}&`;
58
+ }), n;
59
+ }, u = (t, n = "children") => {
60
+ let e = [];
61
+ for (let r = 0; r < t.length; r++)
62
+ t[r][n] && t[r][n].length > 0 && (e.push(t[r]), e = e.concat(u(t[r][n])));
63
+ return e;
64
+ }, g = (t, n = "children", e = !0) => Array.isArray(t) && t.length ? t.reduce((r, s) => {
65
+ let i = s[n], o = { ...s };
66
+ return e && delete o[n], i && i.length ? r.concat(o, g(i, n, e)) : r.concat(o);
67
+ }, []) : [], h = (t, n, e = "children") => t.filter((r) => n(r)).map((r) => (r = Object.assign({}, r), r[e] && (r[e] = h(r[e], n)), r)), a = (t, n) => {
68
+ for (const e of t) {
69
+ if (n(e))
70
+ return e;
71
+ if (e != null && e.children && e.children.length) {
72
+ const r = a(e.children, n);
73
+ if (r)
74
+ return r;
160
75
  }
161
76
  }
162
77
  return null;
163
- };
164
-
165
- const objEqual = (a, b) => {
166
- if (!a || !b)
167
- return false;
168
- if (Object.keys(a).length !== Object.keys(b).length)
169
- return false;
170
- for (let key in a) {
171
- if (b[key] === void 0)
172
- return false;
173
- if (typeof b[key] === "function" || typeof a[key] === "function")
78
+ }, p = (t, n) => {
79
+ if (!t || !n || Object.keys(t).length !== Object.keys(n).length)
80
+ return !1;
81
+ for (let e in t) {
82
+ if (n[e] === void 0)
83
+ return !1;
84
+ if (typeof n[e] == "function" || typeof t[e] == "function")
174
85
  throw new Error("type error");
175
- if (typeof b[key] != typeof a[key])
176
- return false;
177
- if (typeof a[key] === "object")
178
- return objEqual(a[key], b[key]);
179
- if (a[key] !== b[key])
180
- return false;
181
- }
182
- return true;
183
- };
184
-
185
- const arrEqual = (a, b, isSort = true) => {
186
- if (a.length !== b.length)
187
- return false;
188
- if (isSort) {
189
- return a.sort().toString() === b.sort().toString();
190
- } else {
191
- return a.toString() === b.toString();
86
+ if (typeof n[e] != typeof t[e])
87
+ return !1;
88
+ if (typeof t[e] == "object")
89
+ return p(t[e], n[e]);
90
+ if (t[e] !== n[e])
91
+ return !1;
192
92
  }
93
+ return !0;
94
+ }, w = (t, n, e = !0) => t.length !== n.length ? !1 : e ? t.sort().toString() === n.sort().toString() : t.toString() === n.toString(), j = (t, n) => {
95
+ const e = /* @__PURE__ */ new Map();
96
+ return t.filter((r) => !e.has(r[n]) && e.set(r[n], 1));
97
+ }, H = (t) => t === null || typeof t > "u" || t === "", M = (t) => {
98
+ let n = "", e = "";
99
+ t != null && t.minWidth && (n = t.minWidth), t != null && t.minHeight && (e = t.minHeight), document.documentElement.style.minWidth = n, document.documentElement.style.minHeight = e;
193
100
  };
194
- const arrUnique = (arr, val) => {
195
- const res = /* @__PURE__ */ new Map();
196
- return arr.filter((item) => !res.has(item[val]) && res.set(item[val], 1));
197
- };
198
-
199
- const isEmpty = (value) => {
200
- return !!(value === null || typeof value === "undefined" || value === "");
201
- };
202
-
203
- const setHtmlMinWH = (layout) => {
204
- let minWidth = "", minHeight = "";
205
- if (layout?.minWidth)
206
- minWidth = layout.minWidth;
207
- if (layout?.minHeight)
208
- minHeight = layout.minHeight;
209
- document.documentElement.style.minWidth = minWidth;
210
- document.documentElement.style.minHeight = minHeight;
101
+ export {
102
+ w as arrEqual,
103
+ j as arrUnique,
104
+ d as dateFormat,
105
+ h as filterTreeArray,
106
+ u as findNonEmptyChildrenItems,
107
+ g as flatTree,
108
+ y as funcUrlDel,
109
+ $ as getFullPath,
110
+ f as getUrlParams,
111
+ H as isEmpty,
112
+ p as objEqual,
113
+ E as objectToUrlparams,
114
+ M as setHtmlMinWH,
115
+ a as treeFind,
116
+ m as urlParamsToObject
211
117
  };
212
-
213
- export { arrEqual, arrUnique, dateFormat, filterTreeArray, findNonEmptyChildrenItems, flatTree, funcUrlDel, getFullPath, getUrlParams, isEmpty, objEqual, objectToUrlparams, setHtmlMinWH, treeFind, urlParamsToObject };
@@ -1,53 +1,26 @@
1
- const findNonEmptyChildrenItems = (arr, children = "children") => {
2
- let result = [];
3
- for (let i = 0; i < arr.length; i++) {
4
- if (arr[i][children] && arr[i][children].length > 0) {
5
- result.push(arr[i]);
6
- result = result.concat(findNonEmptyChildrenItems(arr[i][children]));
7
- }
8
- }
9
- return result;
10
- };
11
- const flatTree = (list, child = "children", deleteChild = true) => {
12
- if (Array.isArray(list) && list.length) {
13
- return list.reduce((ls, item) => {
14
- let children = item[child];
15
- let res = { ...item };
16
- if (deleteChild) {
17
- delete res[child];
18
- }
19
- if (children && children.length) {
20
- return ls.concat(res, flatTree(children, child, deleteChild));
21
- } else {
22
- return ls.concat(res);
23
- }
24
- }, []);
25
- } else {
26
- return [];
27
- }
28
- };
29
- const filterTreeArray = (tree, predicate, children = "children") => {
30
- return tree.filter((item) => {
31
- return predicate(item);
32
- }).map((item) => {
33
- item = Object.assign({}, item);
34
- if (item[children]) {
35
- item[children] = filterTreeArray(item[children], predicate);
36
- }
37
- return item;
38
- });
39
- };
40
- const treeFind = (tree, func) => {
41
- for (const data of tree) {
42
- if (func(data))
43
- return data;
44
- if (data?.children && data.children.length) {
45
- const res = treeFind(data.children, func);
46
- if (res)
47
- return res;
1
+ const o = (n, t = "children") => {
2
+ let r = [];
3
+ for (let e = 0; e < n.length; e++)
4
+ n[e][t] && n[e][t].length > 0 && (r.push(n[e]), r = r.concat(o(n[e][t])));
5
+ return r;
6
+ }, c = (n, t = "children", r = !0) => Array.isArray(n) && n.length ? n.reduce((e, f) => {
7
+ let l = f[t], u = { ...f };
8
+ return r && delete u[t], l && l.length ? e.concat(u, c(l, t, r)) : e.concat(u);
9
+ }, []) : [], s = (n, t, r = "children") => n.filter((e) => t(e)).map((e) => (e = Object.assign({}, e), e[r] && (e[r] = s(e[r], t)), e)), h = (n, t) => {
10
+ for (const r of n) {
11
+ if (t(r))
12
+ return r;
13
+ if (r != null && r.children && r.children.length) {
14
+ const e = h(r.children, t);
15
+ if (e)
16
+ return e;
48
17
  }
49
18
  }
50
19
  return null;
51
20
  };
52
-
53
- export { filterTreeArray, findNonEmptyChildrenItems, flatTree, treeFind };
21
+ export {
22
+ s as filterTreeArray,
23
+ o as findNonEmptyChildrenItems,
24
+ c as flatTree,
25
+ h as treeFind
26
+ };
@@ -1,21 +1,20 @@
1
- const objEqual = (a, b) => {
2
- if (!a || !b)
3
- return false;
4
- if (Object.keys(a).length !== Object.keys(b).length)
5
- return false;
6
- for (let key in a) {
7
- if (b[key] === void 0)
8
- return false;
9
- if (typeof b[key] === "function" || typeof a[key] === "function")
1
+ const f = (t, r) => {
2
+ if (!t || !r || Object.keys(t).length !== Object.keys(r).length)
3
+ return !1;
4
+ for (let e in t) {
5
+ if (r[e] === void 0)
6
+ return !1;
7
+ if (typeof r[e] == "function" || typeof t[e] == "function")
10
8
  throw new Error("type error");
11
- if (typeof b[key] != typeof a[key])
12
- return false;
13
- if (typeof a[key] === "object")
14
- return objEqual(a[key], b[key]);
15
- if (a[key] !== b[key])
16
- return false;
9
+ if (typeof r[e] != typeof t[e])
10
+ return !1;
11
+ if (typeof t[e] == "object")
12
+ return f(t[e], r[e]);
13
+ if (t[e] !== r[e])
14
+ return !1;
17
15
  }
18
- return true;
16
+ return !0;
17
+ };
18
+ export {
19
+ f as objEqual
19
20
  };
20
-
21
- export { objEqual };
@@ -1,11 +1,7 @@
1
- const setHtmlMinWH = (layout) => {
2
- let minWidth = "", minHeight = "";
3
- if (layout?.minWidth)
4
- minWidth = layout.minWidth;
5
- if (layout?.minHeight)
6
- minHeight = layout.minHeight;
7
- document.documentElement.style.minWidth = minWidth;
8
- document.documentElement.style.minHeight = minHeight;
1
+ const m = (i) => {
2
+ let e = "", n = "";
3
+ i != null && i.minWidth && (e = i.minWidth), i != null && i.minHeight && (n = i.minHeight), document.documentElement.style.minWidth = e, document.documentElement.style.minHeight = n;
4
+ };
5
+ export {
6
+ m as setHtmlMinWH
9
7
  };
10
-
11
- export { setHtmlMinWH };
@@ -1,19 +1,10 @@
1
- function throttled(fn, delay = 300) {
2
- let timer = null;
3
- let starttime = Date.now();
1
+ function u(t, i = 300) {
2
+ let e = null, l = Date.now();
4
3
  return function() {
5
- let curTime = Date.now();
6
- let remaining = delay - (curTime - starttime);
7
- let context = this;
8
- let args = arguments;
9
- clearTimeout(timer);
10
- if (remaining <= 0) {
11
- fn.apply(context, args);
12
- starttime = Date.now();
13
- } else {
14
- timer = setTimeout(fn, remaining);
15
- }
4
+ let r = Date.now(), n = i - (r - l), o = this, a = arguments;
5
+ clearTimeout(e), n <= 0 ? (t.apply(o, a), l = Date.now()) : e = setTimeout(t, n);
16
6
  };
17
7
  }
18
-
19
- export { throttled };
8
+ export {
9
+ u as throttled
10
+ };
package/config/index.js CHANGED
@@ -1,26 +1,9 @@
1
- const getConfig = () => {
2
- let windowConfig = window?.config || {};
3
- let config = { ...windowConfig };
4
- if (!config.rootContainer)
5
- config.rootContainer = "#app";
6
- if (!config.baseURL)
7
- config.baseURL = location.origin;
8
- if (!config.ossBaseURL)
9
- config.ossBaseURL = "/oss";
10
- if (config.ossBaseURL.startsWith("/"))
11
- config.ossBaseURL = `${config.baseURL}/oss`;
12
- if (!config.ssoBaseURL)
13
- config.ssoBaseURL = config.baseURL;
14
- let { microAppName, publicPath, mainAppName } = config;
15
- const isPro = import.meta.env.PROD;
16
- if (microAppName && isPro && !publicPath)
17
- publicPath = `/${microAppName}/`.replace(/\/\//g, "/");
18
- if (!publicPath)
19
- publicPath = "/";
20
- config.publicPath = publicPath;
21
- if (!config.autoOssBucket)
22
- config.autoOssBucket = mainAppName || microAppName;
23
- return config;
1
+ const n = () => {
2
+ let s = { ...(window == null ? void 0 : window.config) || {} };
3
+ s.rootContainer || (s.rootContainer = "#app"), s.baseURL || (s.baseURL = location.origin), s.ossBaseURL || (s.ossBaseURL = "/oss"), s.ossBaseURL.startsWith("/") && (s.ossBaseURL = `${s.baseURL}/oss`), s.ssoBaseURL || (s.ssoBaseURL = s.baseURL);
4
+ let { microAppName: i, publicPath: o, mainAppName: e } = s;
5
+ return i && !0 && !o && (o = `/${i}/`.replace(/\/\//g, "/")), o || (o = "/"), s.publicPath = o, s.autoOssBucket || (s.autoOssBucket = e || i), s;
6
+ };
7
+ export {
8
+ n as getConfig
24
9
  };
25
-
26
- export { getConfig };