command-center-v3-common 0.0.1
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 +46 -0
- package/dist/box-border-demo-D6Na5yBP.js +28 -0
- package/dist/button-demo-5otJa-RX.js +176 -0
- package/dist/command-center-v3-common-C7zcE6rW.js +45395 -0
- package/dist/command-center-v3-common.js +4 -0
- package/dist/command-center-v3-common.umd.cjs +115 -0
- package/dist/favicon.ico +0 -0
- package/dist/hy-table-demo-BbEB1Rdd.js +108 -0
- package/dist/hy-test-SCUXMIq-.js +187 -0
- package/dist/image-viewer-demo-C0_fYGnJ.js +72 -0
- package/dist/round-button-demo-QP1t72o5.js +43 -0
- package/dist/style.css +1 -0
- package/dist/svg-icon-demo-DW0XS1-Y.js +36 -0
- package/dist/test-demo-6WlyOn4P.js +46 -0
- package/dist/tips-modal-demo-B269tgx7.js +98 -0
- package/dist/user-head-demo-COeyn4zo.js +66 -0
- package/dist/vue-cropper-demo-D2NrtovK.js +93 -0
- package/package.json +83 -0
package/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# vue-project
|
2
|
+
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
4
|
+
|
5
|
+
## Recommended IDE Setup
|
6
|
+
|
7
|
+
[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).
|
8
|
+
|
9
|
+
## Type Support for `.vue` Imports in TS
|
10
|
+
|
11
|
+
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.
|
12
|
+
|
13
|
+
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:
|
14
|
+
|
15
|
+
1. Disable the built-in TypeScript Extension
|
16
|
+
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
17
|
+
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
18
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
19
|
+
|
20
|
+
## Customize configuration
|
21
|
+
|
22
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
23
|
+
|
24
|
+
## Project Setup
|
25
|
+
|
26
|
+
```sh
|
27
|
+
npm install
|
28
|
+
```
|
29
|
+
|
30
|
+
### Compile and Hot-Reload for Development
|
31
|
+
|
32
|
+
```sh
|
33
|
+
npm run dev
|
34
|
+
```
|
35
|
+
|
36
|
+
### Type-Check, Compile and Minify for Production
|
37
|
+
|
38
|
+
```sh
|
39
|
+
npm run build
|
40
|
+
```
|
41
|
+
|
42
|
+
### Lint with [ESLint](https://eslint.org/)
|
43
|
+
|
44
|
+
```sh
|
45
|
+
npm run lint
|
46
|
+
```
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { defineComponent as t, openBlock as o, createElementBlock as r, createVNode as s, withCtx as n, createElementVNode as e } from "vue";
|
2
|
+
import { _ as c } from "./command-center-v3-common-C7zcE6rW.js";
|
3
|
+
const l = { class: "flex items-center justify-center bg-[url(@/assets/img/login/login-bg.jpg)] bg-cover w-full bg-center" }, a = /* @__PURE__ */ e("div", { class: "flex flex-col gap-y-[51px] pt-9 px-12 pb-8 border border-[#2DF2FF] bg-[#0D1A2A] rounded-lg overflow-hidden" }, [
|
4
|
+
/* @__PURE__ */ e("div", { class: "flex flex-col gap-y-1.5" }, [
|
5
|
+
/* @__PURE__ */ e("h1", { class: "text-[#2DF2FF] text-3xl tracking-[8px] font-normal" }, " 可视化指挥调度平台 "),
|
6
|
+
/* @__PURE__ */ e("h3", { class: "text-[#5E9DB4] text-xs tracking-[2px]" }, " VISUAL COMMAND AND DISPATCH PLATFORM ")
|
7
|
+
])
|
8
|
+
], -1), m = /* @__PURE__ */ t({
|
9
|
+
__name: "box-border-demo",
|
10
|
+
setup(i) {
|
11
|
+
return (x, d) => (o(), r("div", l, [
|
12
|
+
s(c, {
|
13
|
+
name: "sys-box-border-login",
|
14
|
+
width: "24",
|
15
|
+
height: "24",
|
16
|
+
"class-name": "text-[#2DF2FF]"
|
17
|
+
}, {
|
18
|
+
content: n(() => [
|
19
|
+
a
|
20
|
+
]),
|
21
|
+
_: 1
|
22
|
+
})
|
23
|
+
]));
|
24
|
+
}
|
25
|
+
});
|
26
|
+
export {
|
27
|
+
m as default
|
28
|
+
};
|
@@ -0,0 +1,176 @@
|
|
1
|
+
import { openBlock as s, createElementBlock as _, createElementVNode as r, resolveComponent as o, createVNode as e, withCtx as t, createTextVNode as c } from "vue";
|
2
|
+
import { b as i } from "./command-center-v3-common-C7zcE6rW.js";
|
3
|
+
const f = {
|
4
|
+
viewBox: "0 0 1024 1024",
|
5
|
+
width: "1.2em",
|
6
|
+
height: "1.2em"
|
7
|
+
}, p = /* @__PURE__ */ r("path", {
|
8
|
+
fill: "currentColor",
|
9
|
+
d: "M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67"
|
10
|
+
}, null, -1), m = /* @__PURE__ */ r("path", {
|
11
|
+
fill: "currentColor",
|
12
|
+
d: "M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61a127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46a127.957 127.957 0 0 0-46.36-46.91"
|
13
|
+
}, null, -1), y = /* @__PURE__ */ r("path", {
|
14
|
+
fill: "currentColor",
|
15
|
+
d: "M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98a425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42c0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91"
|
16
|
+
}, null, -1), h = [
|
17
|
+
p,
|
18
|
+
m,
|
19
|
+
y
|
20
|
+
];
|
21
|
+
function g(u, d) {
|
22
|
+
return s(), _("svg", f, [...h]);
|
23
|
+
}
|
24
|
+
const x = { name: "ep-chrome-filled", render: g }, b = {}, C = { class: "flex flex-col items-center justify-center" };
|
25
|
+
function v(u, d) {
|
26
|
+
const l = o("el-button"), a = o("el-row"), n = x;
|
27
|
+
return s(), _("div", C, [
|
28
|
+
e(a, { class: "mb-4" }, {
|
29
|
+
default: t(() => [
|
30
|
+
e(l, null, {
|
31
|
+
default: t(() => [
|
32
|
+
c("Default")
|
33
|
+
]),
|
34
|
+
_: 1
|
35
|
+
}),
|
36
|
+
e(l, { type: "primary" }, {
|
37
|
+
default: t(() => [
|
38
|
+
c(" Primary ")
|
39
|
+
]),
|
40
|
+
_: 1
|
41
|
+
}),
|
42
|
+
e(l, { type: "success" }, {
|
43
|
+
default: t(() => [
|
44
|
+
c(" Success ")
|
45
|
+
]),
|
46
|
+
_: 1
|
47
|
+
}),
|
48
|
+
e(l, { type: "danger" }, {
|
49
|
+
default: t(() => [
|
50
|
+
c(" Danger ")
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
})
|
54
|
+
]),
|
55
|
+
_: 1
|
56
|
+
}),
|
57
|
+
e(a, { class: "mb-4" }, {
|
58
|
+
default: t(() => [
|
59
|
+
e(l, { plain: "" }, {
|
60
|
+
default: t(() => [
|
61
|
+
c(" Plain ")
|
62
|
+
]),
|
63
|
+
_: 1
|
64
|
+
}),
|
65
|
+
e(l, {
|
66
|
+
type: "primary",
|
67
|
+
plain: ""
|
68
|
+
}, {
|
69
|
+
default: t(() => [
|
70
|
+
c(" Primary ")
|
71
|
+
]),
|
72
|
+
_: 1
|
73
|
+
}),
|
74
|
+
e(l, {
|
75
|
+
type: "success",
|
76
|
+
plain: ""
|
77
|
+
}, {
|
78
|
+
default: t(() => [
|
79
|
+
c(" Success ")
|
80
|
+
]),
|
81
|
+
_: 1
|
82
|
+
}),
|
83
|
+
e(l, {
|
84
|
+
type: "danger",
|
85
|
+
plain: ""
|
86
|
+
}, {
|
87
|
+
default: t(() => [
|
88
|
+
c(" Danger ")
|
89
|
+
]),
|
90
|
+
_: 1
|
91
|
+
})
|
92
|
+
]),
|
93
|
+
_: 1
|
94
|
+
}),
|
95
|
+
e(a, { class: "mb-4" }, {
|
96
|
+
default: t(() => [
|
97
|
+
e(l, { round: "" }, {
|
98
|
+
default: t(() => [
|
99
|
+
c(" Round ")
|
100
|
+
]),
|
101
|
+
_: 1
|
102
|
+
}),
|
103
|
+
e(l, {
|
104
|
+
type: "primary",
|
105
|
+
round: ""
|
106
|
+
}, {
|
107
|
+
default: t(() => [
|
108
|
+
c(" Primary ")
|
109
|
+
]),
|
110
|
+
_: 1
|
111
|
+
}),
|
112
|
+
e(l, {
|
113
|
+
type: "success",
|
114
|
+
round: ""
|
115
|
+
}, {
|
116
|
+
default: t(() => [
|
117
|
+
c(" Success ")
|
118
|
+
]),
|
119
|
+
_: 1
|
120
|
+
}),
|
121
|
+
e(l, {
|
122
|
+
type: "danger",
|
123
|
+
round: ""
|
124
|
+
}, {
|
125
|
+
default: t(() => [
|
126
|
+
c(" Danger ")
|
127
|
+
]),
|
128
|
+
_: 1
|
129
|
+
})
|
130
|
+
]),
|
131
|
+
_: 1
|
132
|
+
}),
|
133
|
+
e(a, { class: "mb-4" }, {
|
134
|
+
default: t(() => [
|
135
|
+
e(l, { circle: "" }, {
|
136
|
+
default: t(() => [
|
137
|
+
e(n)
|
138
|
+
]),
|
139
|
+
_: 1
|
140
|
+
}),
|
141
|
+
e(l, {
|
142
|
+
type: "primary",
|
143
|
+
circle: ""
|
144
|
+
}, {
|
145
|
+
default: t(() => [
|
146
|
+
e(n)
|
147
|
+
]),
|
148
|
+
_: 1
|
149
|
+
}),
|
150
|
+
e(l, {
|
151
|
+
type: "success",
|
152
|
+
circle: ""
|
153
|
+
}, {
|
154
|
+
default: t(() => [
|
155
|
+
e(n)
|
156
|
+
]),
|
157
|
+
_: 1
|
158
|
+
}),
|
159
|
+
e(l, {
|
160
|
+
type: "danger",
|
161
|
+
circle: ""
|
162
|
+
}, {
|
163
|
+
default: t(() => [
|
164
|
+
e(n)
|
165
|
+
]),
|
166
|
+
_: 1
|
167
|
+
})
|
168
|
+
]),
|
169
|
+
_: 1
|
170
|
+
})
|
171
|
+
]);
|
172
|
+
}
|
173
|
+
const P = /* @__PURE__ */ i(b, [["render", v]]);
|
174
|
+
export {
|
175
|
+
P as default
|
176
|
+
};
|