xyvcard-live 0.0.26 → 0.0.28
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/README.md +51 -51
- package/dist/{add-DIYvlEOy.mjs → add-Cb0ml419.mjs} +4 -4
- package/dist/{index-vwXJ6krp.mjs → index-4NFKOnB9.mjs} +6 -6
- package/dist/{index-DJm81lAY.mjs → index-7aCxhNPo.mjs} +1 -1
- package/dist/{index-Dck0ltXR.mjs → index-BWz55C5-.mjs} +2 -2
- package/dist/{index-9hR8a9Gq.mjs → index-Bly58k56.mjs} +20 -20
- package/dist/{index-B2Ij3TPb.mjs → index-C1P6qMB-.mjs} +480 -498
- package/dist/{index-x5d5ue9e.mjs → index-CFyGvFv-.mjs} +47 -47
- package/dist/{index-CJQ1nVj2-idfffEIf.mjs → index-CJQ1nVj2-CyqH84vS.mjs} +1 -1
- package/dist/{index-DUOIlG09.mjs → index-DdPSYvTw.mjs} +98 -102
- package/dist/{index-KMVMe9ZJ-C3NNys-j.mjs → index-KMVMe9ZJ-CN4lclzk.mjs} +1 -1
- package/dist/{index-B5thAnnz.mjs → index-KVb4k3WI.mjs} +141 -147
- package/dist/{index-DoZf5B2N.mjs → index-NOgGtDU4.mjs} +5 -5
- package/dist/{index-DVP09hFz.mjs → index-Y0Ztim1v.mjs} +1355 -1360
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BT9AvTXW.mjs → index.vue_vue_type_script_setup_true_lang-B8xeqZ2F.mjs} +2 -2
- package/dist/{info-ByXTOGCn-m2MkMNtZ.mjs → info-ByXTOGCn-Je2IYkqj.mjs} +2 -2
- package/dist/{info-aiHQLi0f.mjs → info-CYmV8Qgm.mjs} +6 -6
- package/dist/{info-C_OAyZk9-0B163Y_h.mjs → info-C_OAyZk9-nht5SUxx.mjs} +2 -2
- package/dist/{info-ZydxPcdx-DELVirrc.mjs → info-ZydxPcdx-CLIYlz2x.mjs} +2 -2
- package/dist/{lives-C_lBMvdl.mjs → lives-D527mXk1.mjs} +2 -2
- package/dist/{statistics-MqOv92Am.mjs → statistics-DjuutoNw.mjs} +6 -6
- package/dist/style.css +1 -1
- package/dts/src/views/live/zb-live-video/lives.vue.d.ts +2 -2
- package/dts/src/views/live/zb-live-videoList/edit.vue.d.ts +1 -1
- package/package.json +12 -12
- package/dts/src/components/VideoUpload/index copy.vue.d.ts +0 -41
- package/dts/src/components/videoList/index copy 2.vue.d.ts +0 -6
- package/dts/src/views/live/zb-live-video/lives copy.vue.d.ts +0 -15
package/README.md
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
# pnpm publish --no-git-checks
|
|
2
|
-
npm config set registry https://registry.npmjs.org/
|
|
3
|
-
|
|
4
|
-
# pnpm install
|
|
5
|
-
npm config set registry https://registry.npmmirror.com/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
This template should help get you started developing with Vue 3 in Vite.
|
|
9
|
-
|
|
10
|
-
## Recommended IDE Setup
|
|
11
|
-
|
|
12
|
-
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
13
|
-
|
|
14
|
-
## Type Support for `.vue` Imports in TS
|
|
15
|
-
|
|
16
|
-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
17
|
-
|
|
18
|
-
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
19
|
-
|
|
20
|
-
1. Disable the built-in TypeScript Extension
|
|
21
|
-
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
22
|
-
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
23
|
-
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
24
|
-
|
|
25
|
-
## Customize configuration
|
|
26
|
-
|
|
27
|
-
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
28
|
-
|
|
29
|
-
## Project Setup
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
pnpm install
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Compile and Hot-Reload for Development
|
|
36
|
-
|
|
37
|
-
```sh
|
|
38
|
-
pnpm dev
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Type-Check, Compile and Minify for Production
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
pnpm build
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Lint with [ESLint](https://eslint.org/)
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
pnpm lint
|
|
51
|
-
```
|
|
1
|
+
# pnpm publish --no-git-checks
|
|
2
|
+
npm config set registry https://registry.npmjs.org/
|
|
3
|
+
|
|
4
|
+
# pnpm install
|
|
5
|
+
npm config set registry https://registry.npmmirror.com/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
9
|
+
|
|
10
|
+
## Recommended IDE Setup
|
|
11
|
+
|
|
12
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
13
|
+
|
|
14
|
+
## Type Support for `.vue` Imports in TS
|
|
15
|
+
|
|
16
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
17
|
+
|
|
18
|
+
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
19
|
+
|
|
20
|
+
1. Disable the built-in TypeScript Extension
|
|
21
|
+
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
22
|
+
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
23
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
24
|
+
|
|
25
|
+
## Customize configuration
|
|
26
|
+
|
|
27
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
28
|
+
|
|
29
|
+
## Project Setup
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
pnpm install
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Compile and Hot-Reload for Development
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
pnpm dev
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Type-Check, Compile and Minify for Production
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
pnpm build
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
pnpm lint
|
|
51
|
+
```
|
|
@@ -2,10 +2,10 @@ import { defineComponent as ye, ref as U, reactive as x, watch as B, computed as
|
|
|
2
2
|
import { ElMessage as h } from "element-plus";
|
|
3
3
|
import { routerUtil as ee } from "jmash-core";
|
|
4
4
|
import { useRouter as Ve, useRoute as Ee } from "vue-router";
|
|
5
|
-
import { D as V, C as d, l as F, p as A, _ as _e } from "./index-
|
|
5
|
+
import { D as V, C as d, l as F, p as A, _ as _e } from "./index-NOgGtDU4.mjs";
|
|
6
6
|
import { useI18n as ge } from "vue-i18n";
|
|
7
|
-
import be from "./lives-
|
|
8
|
-
import { V as he } from "./index-
|
|
7
|
+
import be from "./lives-D527mXk1.mjs";
|
|
8
|
+
import { V as he } from "./index-BWz55C5-.mjs";
|
|
9
9
|
import { s as J, a as k, t as le } from "./timeConvert-DSKES6ZM.mjs";
|
|
10
10
|
const Pe = { class: "app-container" }, Se = { class: "search-container" }, we = {
|
|
11
11
|
key: 0,
|
|
@@ -769,7 +769,7 @@ const Pe = { class: "app-container" }, Se = { class: "search-container" }, we =
|
|
|
769
769
|
]);
|
|
770
770
|
};
|
|
771
771
|
}
|
|
772
|
-
}), We = /* @__PURE__ */ _e(Re, [["__scopeId", "data-v-
|
|
772
|
+
}), We = /* @__PURE__ */ _e(Re, [["__scopeId", "data-v-8736d6c9"]]);
|
|
773
773
|
export {
|
|
774
774
|
We as default
|
|
775
775
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as o, createElementBlock as s, openBlock as r, createElementVNode as e } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
2
|
+
import a from "./assets/650278fac143ef0b.png";
|
|
3
|
+
import { _ as i } from "./index-NOgGtDU4.mjs";
|
|
4
|
+
const m = { class: "home-container" }, n = /* @__PURE__ */ o({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(c) {
|
|
7
|
-
return (_, t) => (r(), s("div",
|
|
7
|
+
return (_, t) => (r(), s("div", m, [...t[0] || (t[0] = [
|
|
8
8
|
e("div", { class: "img-wrapper" }, [
|
|
9
9
|
e("img", {
|
|
10
|
-
src:
|
|
10
|
+
src: a,
|
|
11
11
|
alt: "私域直播平台",
|
|
12
12
|
class: "home-img"
|
|
13
13
|
})
|
|
@@ -15,7 +15,7 @@ const n = { class: "home-container" }, a = /* @__PURE__ */ o({
|
|
|
15
15
|
e("div", { class: "title-text" }, "私域直播平台...", -1)
|
|
16
16
|
])]));
|
|
17
17
|
}
|
|
18
|
-
}), f = /* @__PURE__ */
|
|
18
|
+
}), f = /* @__PURE__ */ i(n, [["__scopeId", "data-v-5778faa3"]]);
|
|
19
19
|
export {
|
|
20
20
|
f as default
|
|
21
21
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, createElementBlock, createVNode, createTextVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElMessage } from "element-plus";
|
|
3
|
-
import { l as liveVideoApi, _ as _export_sfc } from "./index-
|
|
3
|
+
import { l as liveVideoApi, _ as _export_sfc } from "./index-NOgGtDU4.mjs";
|
|
4
4
|
import { c as commonjsGlobal } from "./_commonjsHelpers-BVfed4GL.mjs";
|
|
5
5
|
import require$$3 from "axios";
|
|
6
6
|
var tc_vod = {}, uploader = {}, sha1 = { exports: {} };
|
|
@@ -4725,7 +4725,7 @@ const _hoisted_1 = { class: "upload-container" }, _hoisted_2 = {
|
|
|
4725
4725
|
}, 8, ["modelValue"]);
|
|
4726
4726
|
};
|
|
4727
4727
|
}
|
|
4728
|
-
}), VideoUploadDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4728
|
+
}), VideoUploadDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1b621ce4"]]);
|
|
4729
4729
|
export {
|
|
4730
4730
|
VideoUploadDialog as V
|
|
4731
4731
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as me, getCurrentInstance as ce, ref as C, resolveComponent as d, resolveDirective as pe, createElementBlock as c, openBlock as u, Fragment as $, createElementVNode as y, createVNode as s, withCtx as r, unref as a, renderList as D, createBlock as I, createTextVNode as f, toDisplayString as m, withDirectives as R, createCommentVNode as E, isRef as A } from "vue";
|
|
2
2
|
import { useUserStore as g, clearEmpty as k, request as _, useTableHooks as ve } from "jmash-core";
|
|
3
3
|
import { useI18n as fe } from "vue-i18n";
|
|
4
|
-
import { q as
|
|
5
|
-
import { useRoute as
|
|
6
|
-
import { D as w, g as H, U as Y, S as ge, _ as ke } from "./index-
|
|
4
|
+
import { q as he } from "./index-C1P6qMB-.mjs";
|
|
5
|
+
import { useRoute as be } from "vue-router";
|
|
6
|
+
import { D as w, g as H, U as Y, S as ge, _ as ke } from "./index-NOgGtDU4.mjs";
|
|
7
7
|
import { b as O } from "./timeConvert-DSKES6ZM.mjs";
|
|
8
8
|
class _e {
|
|
9
9
|
getKey(l) {
|
|
@@ -64,12 +64,12 @@ class _e {
|
|
|
64
64
|
exportExcel(l) {
|
|
65
65
|
const p = g().user.tenant;
|
|
66
66
|
k(l);
|
|
67
|
-
const
|
|
67
|
+
const h = he.stringify(l, {
|
|
68
68
|
arrayFormat: "brackets",
|
|
69
69
|
allowDots: !0
|
|
70
70
|
});
|
|
71
71
|
return _({
|
|
72
|
-
url: "/v1/live/live_user/" + p + "/live_users.xlsx?" +
|
|
72
|
+
url: "/v1/live/live_user/" + p + "/live_users.xlsx?" + h,
|
|
73
73
|
method: "get",
|
|
74
74
|
responseType: "blob"
|
|
75
75
|
});
|
|
@@ -78,7 +78,7 @@ class _e {
|
|
|
78
78
|
const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue = { key: 1 }, Ce = { key: 0 }, Ie = { key: 1 }, Ve = { class: "flex items-center" }, $e = { class: "ml-2" }, Ne = ["onClick"], Te = ["onClick"], Se = ["onClick"], Le = /* @__PURE__ */ me({
|
|
79
79
|
__name: "index",
|
|
80
80
|
setup(q) {
|
|
81
|
-
const { t: l } = fe(), p =
|
|
81
|
+
const { t: l } = fe(), p = be(), { proxy: h } = ce(), M = C([]);
|
|
82
82
|
function B(o = "") {
|
|
83
83
|
new Y({
|
|
84
84
|
loginName: o,
|
|
@@ -233,7 +233,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
233
233
|
i.handleSort(o.prop, o.order);
|
|
234
234
|
}
|
|
235
235
|
const ee = async (o) => {
|
|
236
|
-
await
|
|
236
|
+
await h.$confirm(
|
|
237
237
|
l("liveUser.blockConfirmMessage"),
|
|
238
238
|
l("liveUser.blockUser"),
|
|
239
239
|
{
|
|
@@ -244,16 +244,16 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
244
244
|
), await x.block({
|
|
245
245
|
userId: o.userId,
|
|
246
246
|
liveId: o.liveId
|
|
247
|
-
}),
|
|
247
|
+
}), h.$message.success(l("liveUser.blockSuccess")), i.getList();
|
|
248
248
|
}, le = async (o) => {
|
|
249
|
-
await
|
|
249
|
+
await h.$confirm(l("liveUser.muteConfirmMessage"), l("liveUser.mute"), {
|
|
250
250
|
confirmButtonText: l("common.confirm"),
|
|
251
251
|
cancelButtonText: l("common.cancel"),
|
|
252
252
|
type: "warning"
|
|
253
253
|
}), await x.mute({
|
|
254
254
|
userId: o.userId,
|
|
255
255
|
liveId: o.liveId
|
|
256
|
-
}),
|
|
256
|
+
}), h.$message.success(l("liveUser.muteSuccess")), i.getList();
|
|
257
257
|
}, te = () => {
|
|
258
258
|
n.value = {
|
|
259
259
|
liveId: p.query.liveId,
|
|
@@ -265,7 +265,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
265
265
|
}, i.handleQuery();
|
|
266
266
|
};
|
|
267
267
|
return i.getList(), (o, t) => {
|
|
268
|
-
const v = d("el-option"), N = d("el-select"),
|
|
268
|
+
const v = d("el-option"), N = d("el-select"), b = d("el-form-item"), T = d("jmash-select"), S = d("el-button"), oe = d("el-form"), ae = d("jmash-column-select"), re = d("el-col"), se = d("el-row"), ne = d("el-image"), ie = d("jmash-table"), ue = d("jmash-pagination"), de = d("el-card"), L = pe("hasPerm");
|
|
269
269
|
return u(), c($, null, [
|
|
270
270
|
y("div", null, [
|
|
271
271
|
s(oe, {
|
|
@@ -277,7 +277,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
277
277
|
}, {
|
|
278
278
|
default: r(() => [
|
|
279
279
|
y("div", ye, [
|
|
280
|
-
s(
|
|
280
|
+
s(b, {
|
|
281
281
|
prop: "storeId",
|
|
282
282
|
class: "search-form-item"
|
|
283
283
|
}, {
|
|
@@ -304,7 +304,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
304
304
|
]),
|
|
305
305
|
_: 1
|
|
306
306
|
}),
|
|
307
|
-
s(
|
|
307
|
+
s(b, {
|
|
308
308
|
prop: "referrerId",
|
|
309
309
|
class: "search-form-item"
|
|
310
310
|
}, {
|
|
@@ -331,7 +331,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
331
331
|
]),
|
|
332
332
|
_: 1
|
|
333
333
|
}),
|
|
334
|
-
s(
|
|
334
|
+
s(b, {
|
|
335
335
|
prop: "userId",
|
|
336
336
|
class: "search-form-item"
|
|
337
337
|
}, {
|
|
@@ -358,7 +358,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
358
358
|
]),
|
|
359
359
|
_: 1
|
|
360
360
|
}),
|
|
361
|
-
s(
|
|
361
|
+
s(b, {
|
|
362
362
|
prop: "online",
|
|
363
363
|
class: "search-form-item"
|
|
364
364
|
}, {
|
|
@@ -375,7 +375,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
375
375
|
]),
|
|
376
376
|
_: 1
|
|
377
377
|
}),
|
|
378
|
-
s(
|
|
378
|
+
s(b, {
|
|
379
379
|
prop: "completed",
|
|
380
380
|
class: "search-form-item"
|
|
381
381
|
}, {
|
|
@@ -392,7 +392,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
392
392
|
]),
|
|
393
393
|
_: 1
|
|
394
394
|
}),
|
|
395
|
-
s(
|
|
395
|
+
s(b, {
|
|
396
396
|
prop: "muted",
|
|
397
397
|
class: "search-form-item"
|
|
398
398
|
}, {
|
|
@@ -409,7 +409,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
409
409
|
]),
|
|
410
410
|
_: 1
|
|
411
411
|
}),
|
|
412
|
-
s(
|
|
412
|
+
s(b, { class: "search-btn-group" }, {
|
|
413
413
|
default: r(() => [
|
|
414
414
|
s(S, {
|
|
415
415
|
type: "primary",
|
|
@@ -511,7 +511,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
511
511
|
e.data.row.replaySeconds === 0 ? (u(), c("span", Ce, "00:00:00")) : (u(), c("span", Ie, m(a(O)(e.data.row.replaySeconds)), 1))
|
|
512
512
|
]),
|
|
513
513
|
createTime: r((e) => [
|
|
514
|
-
y("span", null, m(a(
|
|
514
|
+
y("span", null, m(a(h).$moment.formatDate(
|
|
515
515
|
e.data.row.createTime,
|
|
516
516
|
"YYYY-MM-DD HH:mm:ss"
|
|
517
517
|
)), 1)
|
|
@@ -563,7 +563,7 @@ const x = new _e(), ye = { class: "search-flex-container" }, we = { key: 0 }, Ue
|
|
|
563
563
|
], 64);
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
}), je = /* @__PURE__ */ ke(Le, [["__scopeId", "data-v-
|
|
566
|
+
}), je = /* @__PURE__ */ ke(Le, [["__scopeId", "data-v-6f254c96"]]);
|
|
567
567
|
export {
|
|
568
568
|
je as default
|
|
569
569
|
};
|