@das-fed/web 6.4.0-dev.25 → 6.4.0-dev.27

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.
@@ -4,7 +4,7 @@ import { DasSpin as v } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { getTabInfo as I } from "@das-fed/utils/common-info";
5
5
  import { setShowLayout as S } from "@das-fed/utils/common-tools";
6
6
  import { createService as j } from "@das-fed/utils/create-api-service";
7
- import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-C4euhyNr.js";
7
+ import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-B2WDL3TT.js";
8
8
  const D = "v1", E = j(`/api/justauth/client/${D}`), L = E.get("/visitor/kingdee/auth/user/auth_code"), G = /* @__PURE__ */ _({
9
9
  __name: "index",
10
10
  setup(q) {
Binary file
@@ -4042,7 +4042,8 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
4042
4042
  o.value = !0;
4043
4043
  const [l, i] = await Mp({
4044
4044
  productId: n.value.productId,
4045
- deviceId: n.value.deviceId
4045
+ deviceId: n.value.deviceId,
4046
+ source: "strategy"
4046
4047
  });
4047
4048
  l || (r.value = Us(i == null ? void 0 : i.wsFlvStreamURL)), o.value = !1;
4048
4049
  }, a = (l) => {
@@ -4050,14 +4051,16 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
4050
4051
  productId: n.value.productId,
4051
4052
  deviceId: n.value.deviceId,
4052
4053
  direction: l,
4053
- zoom: ""
4054
+ zoom: "",
4055
+ source: "strategy"
4054
4056
  });
4055
4057
  }, c = (l) => {
4056
4058
  Xo({
4057
4059
  productId: n.value.productId,
4058
4060
  deviceId: n.value.deviceId,
4059
4061
  direction: "",
4060
- zoom: l
4062
+ zoom: l,
4063
+ source: "strategy"
4061
4064
  });
4062
4065
  };
4063
4066
  return Ve(() => {
@@ -7032,15 +7035,15 @@ E("@das-fed/web");
7032
7035
  const Uh = [
7033
7036
  {
7034
7037
  path: je,
7035
- component: () => import("./index-B53IGh_C.js")
7038
+ component: () => import("./index-5wV_mOTq.js")
7036
7039
  },
7037
7040
  {
7038
7041
  path: ct,
7039
- component: () => import("./index-DFQjHvMm.js")
7042
+ component: () => import("./index-BqGXnYA-.js")
7040
7043
  },
7041
7044
  {
7042
7045
  path: Cr,
7043
- component: () => import("./index-7q45xJ0u.js")
7046
+ component: () => import("./index-CBo0ZQ-Q.js")
7044
7047
  }
7045
7048
  ], Yg = {
7046
7049
  routes: Uh,
@@ -2,7 +2,7 @@ import { defineComponent as v, ref as r, nextTick as u, watch as p, onMounted as
2
2
  import { useRoute as P } from "vue-router";
3
3
  import { DasSpin as S } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { layout as C } from "@das-fed/web/packages/layout/index";
5
- import { I as R, e as b, _ as L } from "./index-C4euhyNr.js";
5
+ import { I as R, e as b, _ as L } from "./index-B2WDL3TT.js";
6
6
  import { getToken as M, getPersonalInfo as j, getProjectInfo as B } from "@das-fed/utils/common-info";
7
7
  import { getUrlParams as D } from "@das-fed/utils/common-tools";
8
8
  const E = {
Binary file
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-C4euhyNr.js";
2
+ import { _ as c } from "./index-B2WDL3TT.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return e(), r("div");
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as s, x as t, z as n, y as i, A as r, f as p, m as u, q as m, g as o, k as g, p as D, v as b, w as h, h as l, i as A, C as T, D as c, n as L, B as W, G as y, E as M, s as R, j as F, o as I, r as V, t as f } from "./index-C4euhyNr.js";
1
+ import { F as s, x as t, z as n, y as i, A as r, f as p, m as u, q as m, g as o, k as g, p as D, v as b, w as h, h as l, i as A, C as T, D as c, n as L, B as W, G as y, E as M, s as R, j as F, o as I, r as V, t as f } from "./index-B2WDL3TT.js";
2
2
  export {
3
3
  s as DasMainAppLayout,
4
4
  t as DasWebLayout,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@das-fed/web",
3
- "version": "6.4.0-dev.25",
3
+ "version": "6.4.0-dev.27",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "6.4.0-dev.25",
8
- "@das-fed/utils": "6.4.0-dev.25",
9
- "@das-fed/web": "6.4.0-dev.25",
10
- "@das-fed/web-components": "6.4.0-dev.25",
7
+ "@das-fed/ui": "6.4.0-dev.27",
8
+ "@das-fed/utils": "6.4.0-dev.27",
9
+ "@das-fed/web": "6.4.0-dev.27",
10
+ "@das-fed/web-components": "6.4.0-dev.27",
11
11
  "@microsoft/signalr": "^8.0.7",
12
12
  "@vueuse/core": "^9.13.0",
13
13
  "animate.css": "^4.1.1",
@@ -18,7 +18,7 @@
18
18
  "vue-router": "^4.4.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@das-fed/cli": "6.4.0-dev.25",
21
+ "@das-fed/cli": "6.4.0-dev.27",
22
22
  "@types/lodash": "^4.14.194",
23
23
  "@types/lodash-es": "^4.17.12",
24
24
  "@vitejs/plugin-vue": "^5.1.0",
@@ -2758,7 +2758,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2758
2758
  o.value = !0;
2759
2759
  const [c, i] = await Uu({
2760
2760
  productId: t.value.productId,
2761
- deviceId: t.value.deviceId
2761
+ deviceId: t.value.deviceId,
2762
+ source: "strategy"
2762
2763
  });
2763
2764
  c || (r.value = zr(i == null ? void 0 : i.wsFlvStreamURL)), o.value = !1;
2764
2765
  }, a = (c) => {
@@ -2766,14 +2767,16 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2766
2767
  productId: t.value.productId,
2767
2768
  deviceId: t.value.deviceId,
2768
2769
  direction: c,
2769
- zoom: ""
2770
+ zoom: "",
2771
+ source: "strategy"
2770
2772
  });
2771
2773
  }, l = (c) => {
2772
2774
  po({
2773
2775
  productId: t.value.productId,
2774
2776
  deviceId: t.value.deviceId,
2775
2777
  direction: "",
2776
- zoom: c
2778
+ zoom: c,
2779
+ source: "strategy"
2777
2780
  });
2778
2781
  };
2779
2782
  return Qe(() => {
@@ -5748,15 +5751,15 @@ E("@das-fed/web");
5748
5751
  const Kp = [
5749
5752
  {
5750
5753
  path: Ie,
5751
- component: () => import("./index-DBjwQZqL.js")
5754
+ component: () => import("./index-j5ACjIDv.js")
5752
5755
  },
5753
5756
  {
5754
5757
  path: Je,
5755
- component: () => import("./index-J2C2DUqZ.js")
5758
+ component: () => import("./index-B9FQmM02.js")
5756
5759
  },
5757
5760
  {
5758
5761
  path: Bo,
5759
- component: () => import("./index-DyeXA7YK.js")
5762
+ component: () => import("./index-DLw2CpC0.js")
5760
5763
  }
5761
5764
  ], Hf = {
5762
5765
  routes: Kp,
@@ -2,7 +2,7 @@ import { defineComponent as v, ref as r, nextTick as u, watch as p, onMounted as
2
2
  import { useRoute as P } from "vue-router";
3
3
  import { DasSpin as S } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { layout as C } from "@das-fed/web/packages/layout/index";
5
- import { I as R, e as b, _ as L } from "./index-BqeJZoEJ.js";
5
+ import { I as R, e as b, _ as L } from "./index-A69EQVG4.js";
6
6
  import { getToken as M, getPersonalInfo as j, getProjectInfo as B } from "@das-fed/utils/common-info";
7
7
  import { getUrlParams as D } from "@das-fed/utils/common-tools";
8
8
  const E = {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-BqeJZoEJ.js";
2
+ import { _ as c } from "./index-A69EQVG4.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return e(), r("div");
@@ -4,7 +4,7 @@ import { DasSpin as v } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { getTabInfo as I } from "@das-fed/utils/common-info";
5
5
  import { setShowLayout as S } from "@das-fed/utils/common-tools";
6
6
  import { createService as j } from "@das-fed/utils/create-api-service";
7
- import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-BqeJZoEJ.js";
7
+ import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-A69EQVG4.js";
8
8
  const D = "v1", E = j(`/api/justauth/client/${D}`), L = E.get("/visitor/kingdee/auth/user/auth_code"), G = /* @__PURE__ */ _({
9
9
  __name: "index",
10
10
  setup(q) {
@@ -1,6 +1,6 @@
1
1
  import '@das-fed/web/packages/main-app-framework/style.css';
2
2
  import "vue";
3
- import { m as p } from "./index-BqeJZoEJ.js";
3
+ import { m as p } from "./index-A69EQVG4.js";
4
4
  export {
5
5
  p as mainAppFramework
6
6
  };
Binary file
@@ -1 +1 @@
1
- @charset "UTF-8";*,:before,:after{border-width:0;border-style:solid;border-color:currentColor}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;height:100%}body{height:100%;overflow:auto;margin:0;line-height:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif}#app{width:100%;height:100%}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0!important;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.dark{color-scheme:dark}label{font-weight:700}*,*:before,*:after{box-sizing:inherit}a:focus,a:active{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent}*::-webkit-scrollbar{width:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);height:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);background-color:transparent}*::-webkit-scrollbar-thumb{border-radius:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);border:var(--das-ui-scrollbar-padding) solid transparent;transition:border .15s;background-clip:content-box;background-color:var(--das-ui-scrollbar-thumb-color);cursor:pointer}*::-webkit-scrollbar-thumb:hover{border-left:none;border-right:none;background-color:var(--das-ui-scrollbar-thumb-hover-color)}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.flex-center__y{display:flex;align-items:center}.is-hide{display:none!important}.overflow-hide{overflow:hidden!important}.overflow-visible{overflow:visible!important}.text-break{word-break:break-all}
1
+ @charset "UTF-8";*,:before,:after{border-width:0;border-style:solid;border-color:currentColor}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;height:100%;overflow:auto}body{height:100%;margin:0;line-height:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif}#app{width:100%;height:100%}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0!important;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.dark{color-scheme:dark}label{font-weight:700}*,*:before,*:after{box-sizing:inherit}a:focus,a:active{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent}*::-webkit-scrollbar{width:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);height:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);background-color:transparent}*::-webkit-scrollbar-thumb{border-radius:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);border:var(--das-ui-scrollbar-padding) solid transparent;transition:border .15s;background-clip:content-box;background-color:var(--das-ui-scrollbar-thumb-color);cursor:pointer}*::-webkit-scrollbar-thumb:hover{border-left:none;border-right:none;background-color:var(--das-ui-scrollbar-thumb-hover-color)}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.flex-center__y{display:flex;align-items:center}.is-hide{display:none!important}.overflow-hide{overflow:hidden!important}.overflow-visible{overflow:visible!important}.text-break{word-break:break-all}
Binary file
@@ -11,6 +11,7 @@ export declare function operateDevice(params: {
11
11
  /** 产品id */ deviceId: string;
12
12
  /** 设备id */ direction?: OperateDeviceParams['direction'];
13
13
  /** 方向控制 */ zoom?: OperateDeviceParams['zoom']; /** 缩放 */
14
+ /** 操作设备的应用编码 */ source?: string;
14
15
  }): Promise<[error: {
15
16
  code: string | number;
16
17
  msg: string;
@@ -20,6 +21,7 @@ export declare function operateDevice(params: {
20
21
  export declare function getRealTimeUrl(params: {
21
22
  productId?: string;
22
23
  deviceId: string;
24
+ source?: string;
23
25
  }): Promise<[error: {
24
26
  code: string | number;
25
27
  msg: string;
Binary file
Binary file