@das-fed/web 6.4.0-dev.52 → 6.4.0-dev.54

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.
@@ -0,0 +1,367 @@
1
+ declare const _default: {
2
+ 正在实时预览: {
3
+ 'zh-CN': string;
4
+ en: string;
5
+ };
6
+ 声音: {
7
+ 'zh-CN': string;
8
+ en: string;
9
+ };
10
+ 截图: {
11
+ 'zh-CN': string;
12
+ en: string;
13
+ };
14
+ 聚焦: {
15
+ 'zh-CN': string;
16
+ en: string;
17
+ };
18
+ 方向控制: {
19
+ 'zh-CN': string;
20
+ en: string;
21
+ };
22
+ 左上: {
23
+ 'zh-CN': string;
24
+ en: string;
25
+ };
26
+ 上: {
27
+ 'zh-CN': string;
28
+ en: string;
29
+ };
30
+ 右上: {
31
+ 'zh-CN': string;
32
+ en: string;
33
+ };
34
+ 左: {
35
+ 'zh-CN': string;
36
+ en: string;
37
+ };
38
+ 自动: {
39
+ 'zh-CN': string;
40
+ en: string;
41
+ };
42
+ 右: {
43
+ 'zh-CN': string;
44
+ en: string;
45
+ };
46
+ 左下: {
47
+ 'zh-CN': string;
48
+ en: string;
49
+ };
50
+ 下: {
51
+ 'zh-CN': string;
52
+ en: string;
53
+ };
54
+ 右下: {
55
+ 'zh-CN': string;
56
+ en: string;
57
+ };
58
+ 侧边菜单栏: {
59
+ 'zh-CN': string;
60
+ en: string;
61
+ };
62
+ 弹出式菜单栏: {
63
+ 'zh-CN': string;
64
+ en: string;
65
+ };
66
+ 内嵌式菜单栏: {
67
+ 'zh-CN': string;
68
+ en: string;
69
+ };
70
+ 皮肤风格设置: {
71
+ 'zh-CN': string;
72
+ en: string;
73
+ };
74
+ 默认皮肤: {
75
+ 'zh-CN': string;
76
+ en: string;
77
+ };
78
+ 科技蓝: {
79
+ 'zh-CN': string;
80
+ en: string;
81
+ };
82
+ 纯净白: {
83
+ 'zh-CN': string;
84
+ en: string;
85
+ };
86
+ 深邃蓝: {
87
+ 'zh-CN': string;
88
+ en: string;
89
+ };
90
+ 效果预览: {
91
+ 'zh-CN': string;
92
+ en: string;
93
+ };
94
+ 确定: {
95
+ 'zh-CN': string;
96
+ en: string;
97
+ };
98
+ 我知道了: {
99
+ 'zh-CN': string;
100
+ en: string;
101
+ };
102
+ 视频监控: {
103
+ 'zh-CN': string;
104
+ en: string;
105
+ };
106
+ 页面全屏: {
107
+ 'zh-CN': string;
108
+ en: string;
109
+ };
110
+ 告警处理: {
111
+ 'zh-CN': string;
112
+ en: string;
113
+ };
114
+ 处理类型: {
115
+ 'zh-CN': string;
116
+ en: string;
117
+ };
118
+ 告警原因: {
119
+ 'zh-CN': string;
120
+ en: string;
121
+ };
122
+ 处理方案: {
123
+ 'zh-CN': string;
124
+ en: string;
125
+ };
126
+ 备注: {
127
+ 'zh-CN': string;
128
+ en: string;
129
+ };
130
+ 报事位置: {
131
+ 'zh-CN': string;
132
+ en: string;
133
+ };
134
+ 选填: {
135
+ 'zh-CN': string;
136
+ en: string;
137
+ };
138
+ 告警对象位置: {
139
+ 'zh-CN': string;
140
+ en: string;
141
+ };
142
+ 报事主题: {
143
+ 'zh-CN': string;
144
+ en: string;
145
+ };
146
+ 工单规则: {
147
+ 'zh-CN': string;
148
+ en: string;
149
+ };
150
+ 事件类型: {
151
+ 'zh-CN': string;
152
+ en: string;
153
+ };
154
+ 事件等级: {
155
+ 'zh-CN': string;
156
+ en: string;
157
+ };
158
+ 处置时限: {
159
+ 'zh-CN': string;
160
+ en: string;
161
+ };
162
+ 请选择: {
163
+ 'zh-CN': string;
164
+ en: string;
165
+ };
166
+ 取消: {
167
+ 'zh-CN': string;
168
+ en: string;
169
+ };
170
+ 结束处理: {
171
+ 'zh-CN': string;
172
+ en: string;
173
+ };
174
+ 继续处理: {
175
+ 'zh-CN': string;
176
+ en: string;
177
+ };
178
+ 时: {
179
+ 'zh-CN': string;
180
+ en: string;
181
+ };
182
+ 分: {
183
+ 'zh-CN': string;
184
+ en: string;
185
+ };
186
+ 不限: {
187
+ 'zh-CN': string;
188
+ en: string;
189
+ };
190
+ 请输入: {
191
+ 'zh-CN': string;
192
+ en: string;
193
+ };
194
+ 一级: {
195
+ 'zh-CN': string;
196
+ en: string;
197
+ };
198
+ 二级: {
199
+ 'zh-CN': string;
200
+ en: string;
201
+ };
202
+ 三级: {
203
+ 'zh-CN': string;
204
+ en: string;
205
+ };
206
+ 四级: {
207
+ 'zh-CN': string;
208
+ en: string;
209
+ };
210
+ 必填: {
211
+ 'zh-CN': string;
212
+ en: string;
213
+ };
214
+ 最多: {
215
+ 'zh-CN': string;
216
+ en: string;
217
+ };
218
+ 个字符: {
219
+ 'zh-CN': string;
220
+ en: string;
221
+ };
222
+ 汉字: {
223
+ 'zh-CN': string;
224
+ en: string;
225
+ };
226
+ 个汉字: {
227
+ 'zh-CN': string;
228
+ en: string;
229
+ };
230
+ 字符: {
231
+ 'zh-CN': string;
232
+ en: string;
233
+ };
234
+ 必选: {
235
+ 'zh-CN': string;
236
+ en: string;
237
+ };
238
+ 之间的正整数: {
239
+ 'zh-CN': string;
240
+ en: string;
241
+ };
242
+ 告警等级: {
243
+ 'zh-CN': string;
244
+ en: string;
245
+ };
246
+ 告警对象: {
247
+ 'zh-CN': string;
248
+ en: string;
249
+ };
250
+ 告警内容: {
251
+ 'zh-CN': string;
252
+ en: string;
253
+ };
254
+ 设备详情: {
255
+ 'zh-CN': string;
256
+ en: string;
257
+ };
258
+ 处理: {
259
+ 'zh-CN': string;
260
+ en: string;
261
+ };
262
+ 系统资源更新: {
263
+ 'zh-CN': string;
264
+ en: string;
265
+ };
266
+ 请刷新系统: {
267
+ 'zh-CN': string;
268
+ en: string;
269
+ };
270
+ 切换后已录入的数据将会丢失且不可恢复: {
271
+ 'zh-CN': string;
272
+ en: string;
273
+ };
274
+ 确定切换: {
275
+ 'zh-CN': string;
276
+ en: string;
277
+ };
278
+ 确认关闭: {
279
+ 'zh-CN': string;
280
+ en: string;
281
+ };
282
+ 取消关闭: {
283
+ 'zh-CN': string;
284
+ en: string;
285
+ };
286
+ 实例: {
287
+ 'zh-CN': string;
288
+ en: string;
289
+ };
290
+ 取消切换: {
291
+ 'zh-CN': string;
292
+ en: string;
293
+ };
294
+ 提示: {
295
+ 'zh-CN': string;
296
+ en: string;
297
+ };
298
+ 此应用未配置菜单: {
299
+ 'zh-CN': string;
300
+ en: string;
301
+ };
302
+ 无菜单权限: {
303
+ 'zh-CN': string;
304
+ en: string;
305
+ };
306
+ 无法使用: {
307
+ 'zh-CN': string;
308
+ en: string;
309
+ };
310
+ 此应用菜单已过期: {
311
+ 'zh-CN': string;
312
+ en: string;
313
+ };
314
+ 已收回: {
315
+ 'zh-CN': string;
316
+ en: string;
317
+ };
318
+ 配置有误: {
319
+ 'zh-CN': string;
320
+ en: string;
321
+ };
322
+ 查看详情: {
323
+ 'zh-CN': string;
324
+ en: string;
325
+ };
326
+ 新告警: {
327
+ 'zh-CN': string;
328
+ en: string;
329
+ };
330
+ 上次登录信息: {
331
+ 'zh-CN': string;
332
+ en: string;
333
+ };
334
+ 时间: {
335
+ 'zh-CN': string;
336
+ en: string;
337
+ };
338
+ 地址: {
339
+ 'zh-CN': string;
340
+ en: string;
341
+ };
342
+ 应用: {
343
+ 'zh-CN': string;
344
+ en: string;
345
+ };
346
+ 首页: {
347
+ 'zh-CN': string;
348
+ en: string;
349
+ };
350
+ 主题设置: {
351
+ 'zh-CN': string;
352
+ en: string;
353
+ };
354
+ 个人中心: {
355
+ 'zh-CN': string;
356
+ en: string;
357
+ };
358
+ 修改密码: {
359
+ 'zh-CN': string;
360
+ en: string;
361
+ };
362
+ 退出登录: {
363
+ 'zh-CN': string;
364
+ en: string;
365
+ };
366
+ };
367
+ export default _default;
package/index-BWjO8i-G.js DELETED
@@ -1,75 +0,0 @@
1
- import { defineComponent as _, computed as l, withDirectives as k, openBlock as v, createBlock as A, unref as p, withCtx as U, createVNode as C, vShow as S } from "vue";
2
- import { layoutData as I } from "@das-fed/web/packages/layout/index";
3
- import { t as j } from "@das-fed/web/packages/i18n/index";
4
- import { DasAppContainer as D } from "@das-fed/ui/packages/business-components/app-container/index";
5
- import { DasSpin as $ } from "@das-fed/ui/packages/components/spin/index";
6
- import { getTabInfo as x } from "@das-fed/utils/common-info";
7
- import { setShowLayout as T } from "@das-fed/utils/common-tools";
8
- import { createService as b } from "@das-fed/utils/create-api-service";
9
- import { u as E, a as c, c as f, b as L, l as q, d as B } from "./index-D-p5feGf.js";
10
- const P = "v1", K = b(`/api/justauth/client/${P}`), N = K.get("/visitor/kingdee/auth/user/auth_code"), X = /* @__PURE__ */ _({
11
- __name: "index",
12
- setup(O) {
13
- const { beforeEntryApp: d, entryApp: m } = E(), g = l(() => !!I.menu.items.length), h = l(() => {
14
- if (!c.value || !c.value.length) return [];
15
- const o = f(c.value);
16
- return Array.isArray(o) ? o.length ? (o.forEach((n) => n.apps = w(n.apps, 4)), o) : [] : [];
17
- }), w = (o, n) => {
18
- const t = [];
19
- for (let r = 0; r < o.length; r += n)
20
- t.push(o.slice(r, r + n));
21
- return t;
22
- }, y = async (o) => {
23
- if (!o) return;
24
- if (!sessionStorage.getItem("projectInfo")) {
25
- window.confirm(j("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
26
- return;
27
- }
28
- const t = f(o);
29
- if (q.innerSet = !0, t.routeUrl) {
30
- if (o.code === "Ioc") {
31
- window.open(t.routeUrl, "_blank");
32
- return;
33
- }
34
- if (o.code === "wojiacloud") {
35
- const e = sessionStorage.getItem("kingdee_token") || "";
36
- if (e) {
37
- const [i, a] = await N().run({ accessToken: e });
38
- if (a) {
39
- const s = (a == null ? void 0 : a.auth_code) ?? "";
40
- t.routeUrl = t.routeUrl.includes("?") ? `${t.routeUrl}&code=${s}` : `${t.routeUrl}?code=${s}`;
41
- }
42
- }
43
- }
44
- }
45
- const r = (o == null ? void 0 : o.openType) ?? 1, u = (o == null ? void 0 : o.type) ?? 1;
46
- if (r === 1) {
47
- if (!await d(o)) return;
48
- const i = x().preTab[o.code], a = (i == null ? void 0 : i.code) ?? "", s = { ...(i == null ? void 0 : i.query) ?? {} };
49
- m({ microApp: t, menuCode: a, route: { query: s } });
50
- }
51
- if (r === 2 && t.routeUrl) {
52
- let e = "";
53
- u === 1 ? (e = t != null && t.applicationPath ? location.origin + "/" + t.applicationPath + t.routeUrl : location.origin + t.routeUrl, e = T(e)) : u === 2 && (e = B(t.routeUrl)), window.open(e, "_blank");
54
- }
55
- };
56
- return (o, n) => k((v(), A(p($), {
57
- full: "",
58
- spinning: p(L)
59
- }, {
60
- default: U(() => [
61
- C(p(D), {
62
- appCategorys: h.value,
63
- onOpenApp: y
64
- }, null, 8, ["appCategorys"])
65
- ]),
66
- _: 1
67
- /* STABLE */
68
- }, 8, ["spinning"])), [
69
- [S, !g.value]
70
- ]);
71
- }
72
- });
73
- export {
74
- X as default
75
- };
Binary file
Binary file
@@ -1,75 +0,0 @@
1
- import { defineComponent as _, computed as l, withDirectives as k, openBlock as v, createBlock as A, unref as p, withCtx as U, createVNode as C, vShow as S } from "vue";
2
- import { layoutData as I } from "@das-fed/web/packages/layout/index";
3
- import { t as j } from "@das-fed/web/packages/i18n/index";
4
- import { DasAppContainer as D } from "@das-fed/ui/packages/business-components/app-container/index";
5
- import { DasSpin as $ } from "@das-fed/ui/packages/components/spin/index";
6
- import { getTabInfo as x } from "@das-fed/utils/common-info";
7
- import { setShowLayout as T } from "@das-fed/utils/common-tools";
8
- import { createService as b } from "@das-fed/utils/create-api-service";
9
- import { u as E, a as c, c as f, b as L, l as q, d as B } from "./index-C1k_cOnk.js";
10
- const P = "v1", K = b(`/api/justauth/client/${P}`), N = K.get("/visitor/kingdee/auth/user/auth_code"), X = /* @__PURE__ */ _({
11
- __name: "index",
12
- setup(O) {
13
- const { beforeEntryApp: d, entryApp: m } = E(), g = l(() => !!I.menu.items.length), h = l(() => {
14
- if (!c.value || !c.value.length) return [];
15
- const o = f(c.value);
16
- return Array.isArray(o) ? o.length ? (o.forEach((n) => n.apps = w(n.apps, 4)), o) : [] : [];
17
- }), w = (o, n) => {
18
- const t = [];
19
- for (let r = 0; r < o.length; r += n)
20
- t.push(o.slice(r, r + n));
21
- return t;
22
- }, y = async (o) => {
23
- if (!o) return;
24
- if (!sessionStorage.getItem("projectInfo")) {
25
- window.confirm(j("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
26
- return;
27
- }
28
- const t = f(o);
29
- if (q.innerSet = !0, t.routeUrl) {
30
- if (o.code === "Ioc") {
31
- window.open(t.routeUrl, "_blank");
32
- return;
33
- }
34
- if (o.code === "wojiacloud") {
35
- const e = sessionStorage.getItem("kingdee_token") || "";
36
- if (e) {
37
- const [i, a] = await N().run({ accessToken: e });
38
- if (a) {
39
- const s = (a == null ? void 0 : a.auth_code) ?? "";
40
- t.routeUrl = t.routeUrl.includes("?") ? `${t.routeUrl}&code=${s}` : `${t.routeUrl}?code=${s}`;
41
- }
42
- }
43
- }
44
- }
45
- const r = (o == null ? void 0 : o.openType) ?? 1, u = (o == null ? void 0 : o.type) ?? 1;
46
- if (r === 1) {
47
- if (!await d(o)) return;
48
- const i = x().preTab[o.code], a = (i == null ? void 0 : i.code) ?? "", s = { ...(i == null ? void 0 : i.query) ?? {} };
49
- m({ microApp: t, menuCode: a, route: { query: s } });
50
- }
51
- if (r === 2 && t.routeUrl) {
52
- let e = "";
53
- u === 1 ? (e = t != null && t.applicationPath ? location.origin + "/" + t.applicationPath + t.routeUrl : location.origin + t.routeUrl, e = T(e)) : u === 2 && (e = B(t.routeUrl)), window.open(e, "_blank");
54
- }
55
- };
56
- return (o, n) => k((v(), A(p($), {
57
- full: "",
58
- spinning: p(L)
59
- }, {
60
- default: U(() => [
61
- C(p(D), {
62
- appCategorys: h.value,
63
- onOpenApp: y
64
- }, null, 8, ["appCategorys"])
65
- ]),
66
- _: 1
67
- /* STABLE */
68
- }, 8, ["spinning"])), [
69
- [S, !g.value]
70
- ]);
71
- }
72
- });
73
- export {
74
- X as default
75
- };