mtxt-ui3 0.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.
@@ -0,0 +1 @@
1
+ .playVideos{display:flex;flex-direction:column;height:100%;padding-left:20px}.playVideos .operate{display:flex;justify-content:space-between;margin:5px 0}.playVideos .operate .button{cursor:pointer}.playVideos .grid{display:grid;flex:1;overflow:hidden}.playVideos .grid .video{background:#000;border:1px solid hsla(216,7%,59%,.3);height:100%;object-fit:fill;overflow:hidden;width:100%}.playVideos .grid.full{height:100%;left:0;position:fixed;top:0;width:100%;z-index:10}.playVideos .type1{grid-template-columns:1fr;grid-template-rows:1fr}.playVideos .type4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.playVideos .type8{grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr 1fr}.playVideos .type8 .video:first-child{grid-column:1/4;grid-row:1/4}.playVideos .type9{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr}.playVideos .type13{grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr 1fr}.playVideos .type13 .video:first-child{grid-column:1/3;grid-row:1/3}.playVideos .type16{grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr 1fr}@keyframes moveBottom{0%{bottom:0}to{bottom:-66px}}.videoComponent{background:#000;height:100%;position:relative;width:100%}.videoComponent.fill{object-fit:fill}.videoComponent.contain{object-fit:contain}.videoBox{height:100%;overflow:hidden;position:relative}.videoBox:hover .selectFields{animation-duration:1s;animation-fill-mode:both;animation-name:moveBottom}.videoBox:hover .footer-min{display:flex}.videoBox:hover .footer-min .name-min span,.videoBox:hover .footer-min .tool{display:block}.videoBox .selectFields{background:rgba(0,0,0,.3);bottom:0;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr;height:66px;position:absolute;width:100%}.videoBox .selectFields .info{border:0;color:#fff;line-height:33px;overflow:hidden;padding:0 5px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.videoBox .selectFields .info .value{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.videoBox .footer-min{align-items:center;backdrop-filter:blur(10px);background:hsla(0,0%,100%,.04);border-radius:4px 4px 0 0;bottom:0;display:none;height:44px;justify-content:space-between;position:absolute;width:100%}.videoBox .footer-min .name-min{align-items:center;display:flex;padding-left:15px}.videoBox .footer-min .name-min span{color:#fff;display:none;font-size:16px;font-weight:600}.videoBox .footer-min .tool{display:none}.videoBox .footer-min .tool img{cursor:pointer;height:20px;margin-right:15px;width:20px}.videoControls{align-items:center;display:flex;flex-direction:column;width:100%}.videoControls .videoControl{height:126px;position:relative;width:126px}.videoControls .videoControl .bg{height:100%;position:relative;width:100%}.videoControls .videoControl img{cursor:pointer;position:absolute}.videoControls .videoControl .up{left:52px;top:14px}.videoControls .videoControl .lup{left:26px;top:26px;transform:rotate(-45deg)}.videoControls .videoControl .rup{left:78px;top:27px;transform:rotate(45deg)}.videoControls .videoControl .left{left:14px;top:52px;transform:rotate(-90deg)}.videoControls .videoControl .right{left:90px;top:52px;transform:rotate(90deg)}.videoControls .videoControl .ldown{left:26px;top:78px;transform:rotate(215deg)}.videoControls .videoControl .down{left:52px;top:90px;transform:rotate(180deg)}.videoControls .videoControl .rdown{left:78px;top:78px;transform:rotate(135deg)}.videoControls .btns{background:#e0e7f2;border-radius:19px;height:28px;margin:8px 8px 0;padding:3px;width:56px}.videoControls .btns img{cursor:pointer;margin-right:1px}
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "mtxt-ui3",
3
+ "version": "0.0.2",
4
+ "description": "系统运营组件库",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": "http://192.168.5.166:10090/ext-projects/xt-project/mtxt-ui.git",
9
+ "author": "bhabgs",
10
+ "license": "MIT",
11
+ "files": [
12
+ "dist",
13
+ "!dist/**/*.map",
14
+ "types",
15
+ "README.md",
16
+ "LICENSE"
17
+ ],
18
+ "scripts": {
19
+ "dev": "run-p \"build:rollup -w --environment BUILD:development\"",
20
+ "build": "esno conf/build.ts",
21
+ "clean": "rimraf dist",
22
+ "build:rollup": "rollup -c --environment BUILD:production",
23
+ "check:types": "tsc --noEmit",
24
+ "site": "vite site"
25
+ },
26
+ "dependencies": {
27
+ "@babel/plugin-syntax-jsx": "^7.22.5",
28
+ "@vueuse/core": "^9.6.0",
29
+ "vue": "^3.2.45"
30
+ },
31
+ "devDependencies": {
32
+ "@babel/core": "^7.16.5",
33
+ "@rollup/plugin-babel": "^5.3.0",
34
+ "@rollup/plugin-commonjs": "^21.0.1",
35
+ "@rollup/plugin-json": "^4.1.0",
36
+ "@rollup/plugin-node-resolve": "^13.1.1",
37
+ "@rollup/plugin-typescript": "^8.3.4",
38
+ "@tsconfig/node18": "^2.0.1",
39
+ "@types/fabric": "^4.5.12",
40
+ "@types/inquirer": "^9.0.3",
41
+ "@types/lodash": "^4.14.181",
42
+ "@types/node": "^20.2.3",
43
+ "@vitejs/plugin-vue-jsx": "^1.3.3",
44
+ "@vue/babel-plugin-jsx": "^1.1.1",
45
+ "acorn-jsx": "^5.3.2",
46
+ "ant-design-vue": "3.2.20",
47
+ "axios": "^1.2.0",
48
+ "commander": "^10.0.0",
49
+ "cross-env": "^7.0.3",
50
+ "cssnano": "^5.0.14",
51
+ "esbuild-register": "^3.4.1",
52
+ "eslint": "^8.5.0",
53
+ "esno": "^0.16.3",
54
+ "fast-glob": "^3.2.12",
55
+ "inquirer": "^9.1.4",
56
+ "less": "^4.1.2",
57
+ "lodash": "^4.17.21",
58
+ "npm-run-all": "^4.1.5",
59
+ "rimraf": "^3.0.2",
60
+ "rollup": "^2.62.0",
61
+ "rollup-plugin-copy": "^3.4.0",
62
+ "rollup-plugin-dts": "^5.0.0",
63
+ "rollup-plugin-esbuild": "^5.0.0",
64
+ "rollup-plugin-postcss": "^4.0.2",
65
+ "typescript": "~5.0.4",
66
+ "vite": "^4.3.9",
67
+ "vue": "^3.2.45",
68
+ "vue-router": "^4.1.6"
69
+ },
70
+ "peerDependencies": {
71
+ "axios": "^1.2.0",
72
+ "lodash": "^4.17.21",
73
+ "vue-router": "^4.1.6"
74
+ }
75
+ }