@das-fed/ui 6.4.0-hot.4 → 6.4.0-hot.6
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/esm-map.json +2 -1
- package/package.json +8 -8
- package/packages/business-components/app-container/index.js +46 -255
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/index.js +89 -298
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +23782 -28729
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +37 -37
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +801 -1010
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/index.js +331 -3669
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +416 -404
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/hooks/useProcessTable.d.ts +2 -74
- package/packages/business-components/process-table/hooks/useValueFormatter.d.ts +6 -0
- package/packages/business-components/process-table/index.js +616 -788
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/type.d.ts +42 -0
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/business-components/process-table/util/encryption/index.d.ts +7 -0
- package/packages/business-components/urgent-panel/index.js +1590 -2470
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +289 -273
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
- package/packages/business-components/video-dialog/index.js +88 -88
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/alert/index.js +51 -3418
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +456 -2875
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/breadcrumb/index.js +47 -271
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +212 -9801
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +1 -1
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +139 -6406
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.js +179 -3837
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/collapse-panel/index.js +30 -3624
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collaspe/index.js +30 -3624
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/color-picker/index.js +106 -5346
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +529 -13993
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/index.js +186 -1835
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/helper/index.d.ts +5 -0
- package/packages/components/dimple-layout/index.d.ts +1 -0
- package/packages/components/dimple-layout/index.js +2778 -2766
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/drawer/index.js +38 -1614
- package/packages/components/drawer/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +54 -4615
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +411 -408
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/type.d.ts +2 -6
- package/packages/components/empty/index.js +39 -800
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-preview/index.js +34 -1283
- package/packages/components/image-preview/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +111 -11722
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-upload/style.css +1 -1
- package/packages/components/image-upload/style.css.gz +0 -0
- package/packages/components/image-viewer/index.js +386 -13168
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +157 -1086
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-number/index.js +145 -1831
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/live-player/index.js +2883 -3669
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +1189 -5213
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +603 -8297
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +38 -10077
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/message/index.js +53 -1289
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/index.js +47 -3269
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/notification/style.css +1 -1
- package/packages/components/notification/style.css.gz +0 -0
- package/packages/components/pagination/index.js +153 -8030
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/index.js +44 -2495
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/progress/index.js +107 -517
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/radio/index.js +159 -3724
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +915 -1442
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +89 -5261
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +930 -1008
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +379 -10505
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/index.js +1173 -1433
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +196 -2645
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +259 -2710
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/index.js +48 -3534
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/step/index.js +28 -4085
- package/packages/components/step/index.js.gz +0 -0
- package/packages/components/steps/index.js +14 -4070
- package/packages/components/switch/index.js +31 -547
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/table/index.d.ts +2 -14
- package/packages/components/table/index.js +6286 -18588
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/table-column/index.vue.d.ts +0 -3
- package/packages/components/table/src/type.d.ts +1 -1
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/index.js +172 -12630
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tag/index.js +55 -325
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/time-line/index.js +60 -3397
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.js +65 -2174
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +1881 -6751
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +24 -19
- package/packages/components/tree/src/hooks/use-tree.d.ts +0 -1
- package/packages/components/tree-select/index.js +358 -2778
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/upload/index.js +115 -11726
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +86 -2928
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/watermark/index.js +17 -368
- package/packages/global/theme/index.js +8 -1802
- package/packages/global/theme/index.js.gz +0 -0
- package/packages/components/steps/index.js.gz +0 -0
- package/packages/components/watermark/index.js.gz +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.select-list-container[data-v-e166825d]{width:100%;height:100%;min-width:150px;overflow:hidden}.select-list-container .check-text[data-v-e166825d]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-org-container[data-v-
|
|
1
|
+
.select-list-container[data-v-e166825d]{width:100%;height:100%;min-width:150px;overflow:hidden}.select-list-container .check-text[data-v-e166825d]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-org-container[data-v-c9625700]{width:100%;height:100%;overflow:hidden}.select-org-container .split-left-content[data-v-c9625700]{width:100%;height:100%}.select-org-container .split-right-box[data-v-c9625700]{width:100%;height:100%;display:flex}.select-org-container .split-table[data-v-c9625700]{flex:1;height:100%;overflow:hidden;display:flex;flex-direction:column;border-right:1px solid #d9d9d9;min-width:500px}.select-org-container .split-table .split-table-content[data-v-c9625700]{flex:1;width:100%;overflow:hidden}.select-org-container .split-table .split-table-top[data-v-c9625700]{height:40px;padding-right:20px;display:flex;align-items:center;justify-content:flex-end}.select-org-container .split-table .split-table-top .das-ui-input.das-input-normal-size[data-v-c9625700]{width:200px}.select-org-container .split-table .table-searc-box[data-v-c9625700]{padding-right:14px;flex-shrink:0;height:40px;display:flex;align-items:center;justify-content:flex-end}.select-org-container .split-checkd[data-v-c9625700]{width:200px;height:100%;min-width:150px;overflow:hidden}.select-org-container .split-checkd .check-text[data-v-c9625700]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-user-container[data-v-d42f776b]{width:100%;height:100%;overflow:hidden}.select-user-container .split-left-content[data-v-d42f776b]{width:100%;height:100%}.select-user-container .split-right-box[data-v-d42f776b]{width:100%;height:100%;display:flex}.select-user-container .split-table[data-v-d42f776b]{flex:1;height:100%;overflow:hidden;display:flex;flex-direction:column;border-right:1px solid #d9d9d9;min-width:500px}.select-user-container .split-table .split-table-content[data-v-d42f776b]{flex:1;width:100%;overflow:hidden}.select-user-container .split-table .split-table-top[data-v-d42f776b]{height:40px;padding-right:20px;display:flex;align-items:center;justify-content:flex-end}.select-user-container .split-table .split-table-top .das-ui-input.das-input-normal-size[data-v-d42f776b]{width:200px}.select-user-container .split-table .table-searc-box[data-v-d42f776b]{padding-right:14px;flex-shrink:0;height:40px;display:flex;align-items:center;justify-content:flex-end}.select-user-container .split-checkd[data-v-d42f776b]{width:200px;height:100%;min-width:150px;overflow:hidden}.select-user-container .split-checkd .check-text[data-v-d42f776b]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.foot-btn-box .das-ui-button+.das-ui-button[data-v-ccfc5a47]{margin-left:12px}.select-org-user-dialog-content[data-v-ccfc5a47]{width:100%;height:100%}.select-org-user-dialog-content .ant-tabs-nav{margin-bottom:0!important}.select-org-user-dialog-content .ant-tabs-content .das-ui-table .table-container .el-table__inner-wrapper:before{display:none}
|
|
Binary file
|
|
@@ -9,7 +9,7 @@ import { DasLivePlayer as we } from "@das-fed/ui/packages/components/live-player
|
|
|
9
9
|
import { DasSpin as Ce } from "@das-fed/ui/packages/components/spin/index";
|
|
10
10
|
import be from "dayjs";
|
|
11
11
|
import { createService as X } from "@das-fed/utils/api-services/src/create-service";
|
|
12
|
-
import { getProjectInfo as
|
|
12
|
+
import { getProjectInfo as V, getToken as he } from "@das-fed/utils/common-info";
|
|
13
13
|
var B;
|
|
14
14
|
const z = typeof window < "u", Ee = (t) => typeof t == "string", Oe = () => {
|
|
15
15
|
};
|
|
@@ -23,32 +23,32 @@ function Se(t) {
|
|
|
23
23
|
function ee(t) {
|
|
24
24
|
return re() ? (ae(t), !0) : !1;
|
|
25
25
|
}
|
|
26
|
-
function Fe(t,
|
|
27
|
-
ce() ? Y(t) :
|
|
26
|
+
function Fe(t, n = !0) {
|
|
27
|
+
ce() ? Y(t) : n ? t() : L(t);
|
|
28
28
|
}
|
|
29
29
|
function te(t) {
|
|
30
|
-
var
|
|
30
|
+
var n;
|
|
31
31
|
const e = J(t);
|
|
32
|
-
return (
|
|
32
|
+
return (n = e == null ? void 0 : e.$el) != null ? n : e;
|
|
33
33
|
}
|
|
34
34
|
const De = z ? window : void 0, $e = z ? window.document : void 0;
|
|
35
35
|
function Re(...t) {
|
|
36
|
-
let
|
|
37
|
-
if (Ee(t[0]) || Array.isArray(t[0]) ? ([e, l, r] = t,
|
|
36
|
+
let n, e, l, r;
|
|
37
|
+
if (Ee(t[0]) || Array.isArray(t[0]) ? ([e, l, r] = t, n = De) : [n, e, l, r] = t, !n)
|
|
38
38
|
return Oe;
|
|
39
39
|
Array.isArray(e) || (e = [e]), Array.isArray(l) || (l = [l]);
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
}, v = (c, _, w, E) => (c.addEventListener(_, w, E), () => c.removeEventListener(_, w, E)), i = O(() => [te(
|
|
43
|
-
s(), c &&
|
|
40
|
+
const o = [], s = () => {
|
|
41
|
+
o.forEach((c) => c()), o.length = 0;
|
|
42
|
+
}, v = (c, _, w, E) => (c.addEventListener(_, w, E), () => c.removeEventListener(_, w, E)), i = O(() => [te(n), J(r)], ([c, _]) => {
|
|
43
|
+
s(), c && o.push(...e.flatMap((w) => l.map((E) => v(c, w, E, _))));
|
|
44
44
|
}, { immediate: !0, flush: "post" }), m = () => {
|
|
45
45
|
i(), s();
|
|
46
46
|
};
|
|
47
47
|
return ee(m), m;
|
|
48
48
|
}
|
|
49
|
-
function Pe(t,
|
|
49
|
+
function Pe(t, n = !1) {
|
|
50
50
|
const e = k(), l = () => e.value = !!t();
|
|
51
|
-
return l(), Fe(l,
|
|
51
|
+
return l(), Fe(l, n), e;
|
|
52
52
|
}
|
|
53
53
|
const M = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Q = "__vueuse_ssr_handlers__";
|
|
54
54
|
M[Q] = M[Q] || {};
|
|
@@ -94,8 +94,8 @@ const A = [
|
|
|
94
94
|
"MSFullscreenError"
|
|
95
95
|
]
|
|
96
96
|
];
|
|
97
|
-
function
|
|
98
|
-
const { document: e = $e, autoExit: l = !1 } =
|
|
97
|
+
function oe(t, n = {}) {
|
|
98
|
+
const { document: e = $e, autoExit: l = !1 } = n, r = t || (e == null ? void 0 : e.querySelector("html")), o = k(!1);
|
|
99
99
|
let s = A[0];
|
|
100
100
|
const v = Pe(() => {
|
|
101
101
|
if (e) {
|
|
@@ -107,23 +107,23 @@ function ne(t, o = {}) {
|
|
|
107
107
|
return !1;
|
|
108
108
|
}), [i, m, c, , _] = s;
|
|
109
109
|
async function w() {
|
|
110
|
-
v.value && (e != null && e[c] && await e[m](),
|
|
110
|
+
v.value && (e != null && e[c] && await e[m](), o.value = !1);
|
|
111
111
|
}
|
|
112
112
|
async function E() {
|
|
113
113
|
if (!v.value)
|
|
114
114
|
return;
|
|
115
115
|
await w();
|
|
116
116
|
const S = te(r);
|
|
117
|
-
S && (await S[i](),
|
|
117
|
+
S && (await S[i](), o.value = !0);
|
|
118
118
|
}
|
|
119
119
|
async function T() {
|
|
120
|
-
|
|
120
|
+
o.value ? await w() : await E();
|
|
121
121
|
}
|
|
122
122
|
return e && Re(e, _, () => {
|
|
123
|
-
|
|
123
|
+
o.value = !!(e != null && e[c]);
|
|
124
124
|
}, !1), l && ee(w), {
|
|
125
125
|
isSupported: v,
|
|
126
|
-
isFullscreen:
|
|
126
|
+
isFullscreen: o,
|
|
127
127
|
enter: E,
|
|
128
128
|
exit: w,
|
|
129
129
|
toggle: T
|
|
@@ -133,12 +133,12 @@ var q;
|
|
|
133
133
|
(function(t) {
|
|
134
134
|
t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
|
|
135
135
|
})(q || (q = {}));
|
|
136
|
-
var Le = Object.defineProperty, G = Object.getOwnPropertySymbols, Ne = Object.prototype.hasOwnProperty, xe = Object.prototype.propertyIsEnumerable, W = (t,
|
|
137
|
-
for (var e in
|
|
138
|
-
Ne.call(
|
|
136
|
+
var Le = Object.defineProperty, G = Object.getOwnPropertySymbols, Ne = Object.prototype.hasOwnProperty, xe = Object.prototype.propertyIsEnumerable, W = (t, n, e) => n in t ? Le(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Te = (t, n) => {
|
|
137
|
+
for (var e in n || (n = {}))
|
|
138
|
+
Ne.call(n, e) && W(t, e, n[e]);
|
|
139
139
|
if (G)
|
|
140
|
-
for (var e of G(
|
|
141
|
-
xe.call(
|
|
140
|
+
for (var e of G(n))
|
|
141
|
+
xe.call(n, e) && W(t, e, n[e]);
|
|
142
142
|
return t;
|
|
143
143
|
};
|
|
144
144
|
const Ue = {
|
|
@@ -177,14 +177,14 @@ const ze = /* @__PURE__ */ R({
|
|
|
177
177
|
gridNum: {}
|
|
178
178
|
},
|
|
179
179
|
emits: ["itemClick"],
|
|
180
|
-
setup(t, { emit:
|
|
180
|
+
setup(t, { emit: n }) {
|
|
181
181
|
ue((c) => ({
|
|
182
182
|
"40d17f34": m.value
|
|
183
183
|
}));
|
|
184
|
-
const e = t, l =
|
|
184
|
+
const e = t, l = n, r = k(), { toggle: o, isFullscreen: s } = oe(r), v = () => {
|
|
185
185
|
r.value != document.fullscreenElement && (s.value ? (s.value = !1, L(() => {
|
|
186
|
-
|
|
187
|
-
})) :
|
|
186
|
+
o();
|
|
187
|
+
})) : o());
|
|
188
188
|
}, i = () => {
|
|
189
189
|
l("itemClick");
|
|
190
190
|
}, m = N(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
|
|
@@ -198,12 +198,12 @@ const ze = /* @__PURE__ */ R({
|
|
|
198
198
|
Z(c.$slots, "default", {}, void 0, !0)
|
|
199
199
|
], 34));
|
|
200
200
|
}
|
|
201
|
-
}), x = (t,
|
|
201
|
+
}), x = (t, n) => {
|
|
202
202
|
const e = t.__vccOpts || t;
|
|
203
|
-
for (const [l, r] of
|
|
203
|
+
for (const [l, r] of n)
|
|
204
204
|
e[l] = r;
|
|
205
205
|
return e;
|
|
206
|
-
},
|
|
206
|
+
}, je = /* @__PURE__ */ x(ze, [["__scopeId", "data-v-1a6dbdfc"]]), Ve = { class: "layout-wrapper" }, Be = /* @__PURE__ */ R({
|
|
207
207
|
__name: "GridLayout",
|
|
208
208
|
props: {
|
|
209
209
|
gridNum: {},
|
|
@@ -211,18 +211,18 @@ const ze = /* @__PURE__ */ R({
|
|
|
211
211
|
showFn: {}
|
|
212
212
|
},
|
|
213
213
|
emits: ["update:activeIndex"],
|
|
214
|
-
setup(t, { emit:
|
|
215
|
-
const e = t, l =
|
|
216
|
-
l("update:activeIndex",
|
|
214
|
+
setup(t, { emit: n }) {
|
|
215
|
+
const e = t, l = n, r = (o) => {
|
|
216
|
+
l("update:activeIndex", o);
|
|
217
217
|
};
|
|
218
|
-
return (
|
|
219
|
-
(g(!0), $(K, null, pe(e.gridNum, (v, i) => (g(), h(
|
|
218
|
+
return (o, s) => (g(), $("div", Ve, [
|
|
219
|
+
(g(!0), $(K, null, pe(e.gridNum, (v, i) => (g(), h(je, {
|
|
220
220
|
active: !1,
|
|
221
221
|
"grid-num": e.gridNum,
|
|
222
222
|
onItemClick: (m) => r(i)
|
|
223
223
|
}, {
|
|
224
224
|
default: f(() => [
|
|
225
|
-
|
|
225
|
+
o.showFn(i) ? Z(o.$slots, "default", {
|
|
226
226
|
key: 0,
|
|
227
227
|
index: i
|
|
228
228
|
}, void 0, !0) : b("", !0)
|
|
@@ -234,19 +234,19 @@ const ze = /* @__PURE__ */ R({
|
|
|
234
234
|
}), Me = /* @__PURE__ */ x(Be, [["__scopeId", "data-v-6c66f7ad"]]), Qe = /* @__PURE__ */ R({
|
|
235
235
|
__name: "DirectionControl",
|
|
236
236
|
emits: ["change"],
|
|
237
|
-
setup(t, { emit:
|
|
238
|
-
const e =
|
|
237
|
+
setup(t, { emit: n }) {
|
|
238
|
+
const e = n, l = (r) => {
|
|
239
239
|
e("change", r);
|
|
240
240
|
};
|
|
241
|
-
return (r,
|
|
241
|
+
return (r, o) => (g(), $("div", {
|
|
242
242
|
class: "direction-control",
|
|
243
|
-
onDblclick:
|
|
243
|
+
onDblclick: o[9] || (o[9] = y((s) => s.stopPropagation(), ["stop"]))
|
|
244
244
|
}, [
|
|
245
245
|
d(a(I), { content: "左上" }, {
|
|
246
246
|
default: f(() => [
|
|
247
247
|
p("div", {
|
|
248
248
|
class: "icon icon-top-left",
|
|
249
|
-
onClick:
|
|
249
|
+
onClick: o[0] || (o[0] = y((s) => l("leftUp"), ["stop"]))
|
|
250
250
|
})
|
|
251
251
|
]),
|
|
252
252
|
_: 1
|
|
@@ -255,7 +255,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
255
255
|
default: f(() => [
|
|
256
256
|
p("div", {
|
|
257
257
|
class: "icon icon-top",
|
|
258
|
-
onClick:
|
|
258
|
+
onClick: o[1] || (o[1] = y((s) => l("up"), ["stop"]))
|
|
259
259
|
})
|
|
260
260
|
]),
|
|
261
261
|
_: 1
|
|
@@ -264,7 +264,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
264
264
|
default: f(() => [
|
|
265
265
|
p("div", {
|
|
266
266
|
class: "icon icon-top-right",
|
|
267
|
-
onClick:
|
|
267
|
+
onClick: o[2] || (o[2] = y((s) => l("rightUp"), ["stop"]))
|
|
268
268
|
})
|
|
269
269
|
]),
|
|
270
270
|
_: 1
|
|
@@ -273,7 +273,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
273
273
|
default: f(() => [
|
|
274
274
|
p("div", {
|
|
275
275
|
class: "icon icon-left",
|
|
276
|
-
onClick:
|
|
276
|
+
onClick: o[3] || (o[3] = y((s) => l("left"), ["stop"]))
|
|
277
277
|
})
|
|
278
278
|
]),
|
|
279
279
|
_: 1
|
|
@@ -282,7 +282,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
282
282
|
default: f(() => [
|
|
283
283
|
p("div", {
|
|
284
284
|
class: "icon icon-auto",
|
|
285
|
-
onClick:
|
|
285
|
+
onClick: o[4] || (o[4] = y((s) => l("auto"), ["stop"]))
|
|
286
286
|
})
|
|
287
287
|
]),
|
|
288
288
|
_: 1
|
|
@@ -291,7 +291,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
291
291
|
default: f(() => [
|
|
292
292
|
p("div", {
|
|
293
293
|
class: "icon icon-right",
|
|
294
|
-
onClick:
|
|
294
|
+
onClick: o[5] || (o[5] = y((s) => l("right"), ["stop"]))
|
|
295
295
|
})
|
|
296
296
|
]),
|
|
297
297
|
_: 1
|
|
@@ -300,7 +300,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
300
300
|
default: f(() => [
|
|
301
301
|
p("div", {
|
|
302
302
|
class: "icon icon-bottom-left",
|
|
303
|
-
onClick:
|
|
303
|
+
onClick: o[6] || (o[6] = y((s) => l("leftDown"), ["stop"]))
|
|
304
304
|
})
|
|
305
305
|
]),
|
|
306
306
|
_: 1
|
|
@@ -309,7 +309,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
309
309
|
default: f(() => [
|
|
310
310
|
p("div", {
|
|
311
311
|
class: "icon icon-bottom",
|
|
312
|
-
onClick:
|
|
312
|
+
onClick: o[7] || (o[7] = y((s) => l("down"), ["stop"]))
|
|
313
313
|
})
|
|
314
314
|
]),
|
|
315
315
|
_: 1
|
|
@@ -318,7 +318,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
318
318
|
default: f(() => [
|
|
319
319
|
p("div", {
|
|
320
320
|
class: "icon icon-bottom-right",
|
|
321
|
-
onClick:
|
|
321
|
+
onClick: o[8] || (o[8] = y((s) => l("rightDown"), ["stop"]))
|
|
322
322
|
})
|
|
323
323
|
]),
|
|
324
324
|
_: 1
|
|
@@ -328,7 +328,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
328
328
|
}), Ae = /* @__PURE__ */ x(Qe, [["__scopeId", "data-v-3b02830e"]]), qe = (t) => (fe("data-v-a46773e1"), t = t(), me(), t), Ge = { class: "video-wrapper" }, We = { class: "video-top" }, He = { class: "video-top_l" }, Ye = { class: "video-title-wrapper" }, Ze = { class: "video-title" }, Ke = { class: "video-top_r" }, Xe = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "play-status"
|
|
331
|
-
}, Je = { class: "video-bottom" }, et = /* @__PURE__ */ qe(() => /* @__PURE__ */ p("div", { class: "video-bottom_l" }, null, -1)), tt = { class: "video-bottom_r" },
|
|
331
|
+
}, Je = { class: "video-bottom" }, et = /* @__PURE__ */ qe(() => /* @__PURE__ */ p("div", { class: "video-bottom_l" }, null, -1)), tt = { class: "video-bottom_r" }, ot = /* @__PURE__ */ R({
|
|
332
332
|
__name: "index",
|
|
333
333
|
props: {
|
|
334
334
|
videoUrl: {},
|
|
@@ -341,8 +341,8 @@ const ze = /* @__PURE__ */ R({
|
|
|
341
341
|
onReplay: {}
|
|
342
342
|
},
|
|
343
343
|
emits: ["close", "directionControl", "zoomControl"],
|
|
344
|
-
setup(t, { emit:
|
|
345
|
-
const e = t, l =
|
|
344
|
+
setup(t, { emit: n }) {
|
|
345
|
+
const e = t, l = n;
|
|
346
346
|
Ie({
|
|
347
347
|
muted: import("@das-fed/ui/packages/icons/muted"),
|
|
348
348
|
volume: import("@das-fed/ui/packages/icons/volume"),
|
|
@@ -350,14 +350,14 @@ const ze = /* @__PURE__ */ R({
|
|
|
350
350
|
enlarge: import("@das-fed/ui/packages/icons/enlarge"),
|
|
351
351
|
"direction-control": import("@das-fed/ui/packages/icons/direction-control")
|
|
352
352
|
});
|
|
353
|
-
const r = k(!0),
|
|
353
|
+
const r = k(!0), o = k(), s = k(!1), v = k(), i = N(() => {
|
|
354
354
|
var u;
|
|
355
355
|
return (u = v.value) == null ? void 0 : u.video;
|
|
356
356
|
}), m = k(!1), c = k(!0), _ = (u) => {
|
|
357
|
-
|
|
357
|
+
o.value = u, o.value.on(window.mpegts.Events.ERROR, (C) => {
|
|
358
358
|
});
|
|
359
359
|
}, w = () => {
|
|
360
|
-
r.value = !r.value,
|
|
360
|
+
r.value = !r.value, o.value && (o.value.muted = r.value);
|
|
361
361
|
}, E = () => {
|
|
362
362
|
s.value = !s.value;
|
|
363
363
|
}, T = k(""), S = () => {
|
|
@@ -374,7 +374,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
374
374
|
}
|
|
375
375
|
}, ie = (u) => {
|
|
376
376
|
l("directionControl", u);
|
|
377
|
-
},
|
|
377
|
+
}, j = (u) => {
|
|
378
378
|
l("zoomControl", u);
|
|
379
379
|
}, U = (u) => e.authType.includes(u);
|
|
380
380
|
return O(
|
|
@@ -392,10 +392,10 @@ const ze = /* @__PURE__ */ R({
|
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
394
|
), O(
|
|
395
|
-
() =>
|
|
395
|
+
() => o.value,
|
|
396
396
|
() => {
|
|
397
|
-
|
|
398
|
-
|
|
397
|
+
o.value && L(() => {
|
|
398
|
+
o.value.muted = r.value;
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
), O(
|
|
@@ -409,7 +409,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
409
409
|
), O(
|
|
410
410
|
() => e.paused,
|
|
411
411
|
() => {
|
|
412
|
-
|
|
412
|
+
o.value && (e.paused ? o.value.pause() : o.value.play());
|
|
413
413
|
}
|
|
414
414
|
), O(
|
|
415
415
|
() => e.videoUrl,
|
|
@@ -480,7 +480,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
480
480
|
key: 0,
|
|
481
481
|
class: "icon icon-shrink",
|
|
482
482
|
icon: "shrink",
|
|
483
|
-
onClick: C[0] || (C[0] = y((D) =>
|
|
483
|
+
onClick: C[0] || (C[0] = y((D) => j("zoomOut"), ["stop"]))
|
|
484
484
|
})) : b("", !0)
|
|
485
485
|
]),
|
|
486
486
|
_: 1
|
|
@@ -494,7 +494,7 @@ const ze = /* @__PURE__ */ R({
|
|
|
494
494
|
key: 0,
|
|
495
495
|
class: "icon icon-enlarge",
|
|
496
496
|
icon: "enlarge",
|
|
497
|
-
onClick: C[1] || (C[1] = y((D) =>
|
|
497
|
+
onClick: C[1] || (C[1] = y((D) => j("zoomIn"), ["stop"]))
|
|
498
498
|
})) : b("", !0)
|
|
499
499
|
]),
|
|
500
500
|
_: 1
|
|
@@ -525,27 +525,27 @@ const ze = /* @__PURE__ */ R({
|
|
|
525
525
|
}, 8, ["spinning"])
|
|
526
526
|
]));
|
|
527
527
|
}
|
|
528
|
-
}),
|
|
528
|
+
}), nt = /* @__PURE__ */ x(ot, [["__scopeId", "data-v-a46773e1"]]), lt = "/api/device-relation/deviceproject/v1/project/device/video", it = "v1", st = X(`/api/enterpriseright/permission/${it}`), ne = X(`${lt}`, rt);
|
|
529
529
|
function rt(t) {
|
|
530
|
-
const
|
|
531
|
-
return t.params || (t.params = {}), t.params.project =
|
|
530
|
+
const n = V() ? V().id : 1;
|
|
531
|
+
return t.params || (t.params = {}), t.params.project = n, t.params.projectId = n, t;
|
|
532
532
|
}
|
|
533
533
|
function le(t) {
|
|
534
|
-
const
|
|
534
|
+
const n = new URLSearchParams("");
|
|
535
535
|
for (let [e, l] of Object.entries(t))
|
|
536
|
-
|
|
537
|
-
return
|
|
536
|
+
n.append(e, l);
|
|
537
|
+
return n.toString();
|
|
538
538
|
}
|
|
539
539
|
function H(t) {
|
|
540
|
-
return
|
|
540
|
+
return ne.post(`/ptz?${le(t)}`)().run();
|
|
541
541
|
}
|
|
542
542
|
function at(t) {
|
|
543
|
-
return
|
|
543
|
+
return ne.post(`/url/preview?${le(t)}`)().run();
|
|
544
544
|
}
|
|
545
545
|
st.post("data/device-auth");
|
|
546
546
|
const ct = (t) => {
|
|
547
|
-
const
|
|
548
|
-
return `${t}?token=${
|
|
547
|
+
const n = he();
|
|
548
|
+
return `${t}?token=${n}`;
|
|
549
549
|
};
|
|
550
550
|
k([]);
|
|
551
551
|
const ut = /* @__PURE__ */ R({
|
|
@@ -556,11 +556,11 @@ const ut = /* @__PURE__ */ R({
|
|
|
556
556
|
}
|
|
557
557
|
},
|
|
558
558
|
setup(t, {
|
|
559
|
-
slots:
|
|
559
|
+
slots: n
|
|
560
560
|
}) {
|
|
561
561
|
const {
|
|
562
562
|
deviceInfo: e
|
|
563
|
-
} = ge(t), l = k(!1), r = k(""),
|
|
563
|
+
} = ge(t), l = k(!1), r = k(""), o = async () => {
|
|
564
564
|
var c;
|
|
565
565
|
if (!((c = e.value) != null && c.deviceId)) return;
|
|
566
566
|
l.value = !0;
|
|
@@ -585,12 +585,12 @@ const ut = /* @__PURE__ */ R({
|
|
|
585
585
|
});
|
|
586
586
|
};
|
|
587
587
|
return Y(() => {
|
|
588
|
-
|
|
588
|
+
o();
|
|
589
589
|
}), O(() => e.value, () => {
|
|
590
|
-
|
|
590
|
+
o();
|
|
591
591
|
}, {
|
|
592
592
|
deep: !0
|
|
593
|
-
}), () => d(K, null, [
|
|
593
|
+
}), () => d(K, null, [n.default({
|
|
594
594
|
videoUrl: r.value,
|
|
595
595
|
loading: l.value,
|
|
596
596
|
onDirectionControl: s,
|
|
@@ -599,16 +599,16 @@ const ut = /* @__PURE__ */ R({
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
function dt(t) {
|
|
602
|
-
const
|
|
602
|
+
const n = k(0), e = k(), {
|
|
603
603
|
toggle: l,
|
|
604
604
|
isFullscreen: r
|
|
605
|
-
} =
|
|
605
|
+
} = oe(e);
|
|
606
606
|
return {
|
|
607
607
|
render: () => d(Me, {
|
|
608
608
|
ref: e,
|
|
609
609
|
gridNum: t.gridNum,
|
|
610
|
-
activeIndex:
|
|
611
|
-
"onUpdate:activeIndex": (s) =>
|
|
610
|
+
activeIndex: n.value,
|
|
611
|
+
"onUpdate:activeIndex": (s) => n.value = s,
|
|
612
612
|
showFn: (s) => !!t.deviceList[s]
|
|
613
613
|
}, {
|
|
614
614
|
default: ({
|
|
@@ -623,7 +623,7 @@ function dt(t) {
|
|
|
623
623
|
onDirectionControl: m,
|
|
624
624
|
onZoomControl: c,
|
|
625
625
|
loading: _
|
|
626
|
-
}) => d(
|
|
626
|
+
}) => d(nt, {
|
|
627
627
|
type: "live",
|
|
628
628
|
loading: _,
|
|
629
629
|
videoUrl: i,
|
|
@@ -648,11 +648,11 @@ const pt = /* @__PURE__ */ p("div", null, [
|
|
|
648
648
|
gridNum: { default: 4 }
|
|
649
649
|
},
|
|
650
650
|
emits: ["update:visible"],
|
|
651
|
-
setup(t, { emit:
|
|
652
|
-
const e = t, l =
|
|
651
|
+
setup(t, { emit: n }) {
|
|
652
|
+
const e = t, l = n, r = N({
|
|
653
653
|
get: () => e.visible,
|
|
654
654
|
set: (i) => l("update:visible", i)
|
|
655
|
-
}), { render:
|
|
655
|
+
}), { render: o, toggleFullscreen: s } = dt(e), v = N(() => {
|
|
656
656
|
let i = {};
|
|
657
657
|
switch (e.gridNum) {
|
|
658
658
|
case 1:
|
|
@@ -693,7 +693,7 @@ const pt = /* @__PURE__ */ p("div", null, [
|
|
|
693
693
|
})
|
|
694
694
|
]),
|
|
695
695
|
default: f(() => [
|
|
696
|
-
r.value ? (g(), h(a(
|
|
696
|
+
r.value ? (g(), h(a(o), { key: 0 })) : b("", !0)
|
|
697
697
|
]),
|
|
698
698
|
_: 1
|
|
699
699
|
}, 8, ["custom-class", "modelValue"]));
|
|
Binary file
|