xyvcard-mice 0.0.21 → 0.0.22
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/dist/{FileSaver.min-BRYgO6ft.mjs → FileSaver.min-7Z2-ziO8.mjs} +1 -1
- package/dist/{approveService-3beSWkE0.mjs → approveService-Blgfpq9Y.mjs} +1 -1
- package/dist/{approveService.vue_vue_type_script_setup_true_lang-Kq-4r8WB.mjs → approveService.vue_vue_type_script_setup_true_lang-LQyyap5c.mjs} +1 -1
- package/dist/{edit-Csl9tfIA.mjs → edit-BheAWFjI.mjs} +1 -1
- package/dist/{edit-0Vonbq4o.mjs → edit-CGyiv2tz.mjs} +1 -1
- package/dist/{edit-yPXm15G0.mjs → edit-DZ57KyD-.mjs} +1 -1
- package/dist/{edit-DYf6RQ0M.mjs → edit-Q0wlRLJO.mjs} +1 -1
- package/dist/{edit-ZL6wW_oR.mjs → edit-Z7RZkwCH.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CpHX7f_2.mjs → edit.vue_vue_type_script_setup_true_lang-Dz94B3Im.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-B2DRRPC3.mjs → edit.vue_vue_type_script_setup_true_lang-yRaib8HM.mjs} +1 -1
- package/dist/{followUp-DIjSXuqW.mjs → followUp-Cb2rGv7n.mjs} +1 -1
- package/dist/{followUp.vue_vue_type_script_setup_true_lang-DnRGct-T.mjs → followUp.vue_vue_type_script_setup_true_lang-DIufaO_n.mjs} +1 -1
- package/dist/{import-upload-nIzO6H98.mjs → import-upload-nd9-iAm5.mjs} +1 -1
- package/dist/{import-upload.vue_vue_type_script_setup_true_lang-Bhw6YWo8.mjs → import-upload.vue_vue_type_script_setup_true_lang-Ci8sNFuQ.mjs} +1 -1
- package/dist/{index-JmlzyrlO.mjs → index-B1fu9BGw.mjs} +3 -3
- package/dist/{index-yM7QlYw5.mjs → index-BfSrD0Gs.mjs} +1 -1
- package/dist/index-CEsiiJ_1.mjs +129 -0
- package/dist/{index-bbAKlmuN.mjs → index-COJH4aYE.mjs} +2 -2
- package/dist/{index-dYBMjKkp.mjs → index-CaGLiQMZ.mjs} +3 -3
- package/dist/{index-B9LPzzmo.mjs → index-CymwgH63.mjs} +2 -2
- package/dist/{index-BMgJIctd.mjs → index-DAQxUB-K.mjs} +35 -35
- package/dist/{index-B9kalex_.mjs → index-D_zrkOVt.mjs} +2 -2
- package/dist/{index-DsgbKgdj.mjs → index-W7cVelxv.mjs} +3 -3
- package/dist/{index-BQwFJZDg.mjs → index-wpoxn81T.mjs} +174 -166
- package/dist/{index-BAPxMBeL.mjs → index-wtJBhjZ7.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{info-BJhbaeNT.mjs → info-AsINM5cj.mjs} +96 -92
- package/dist/{info-vX76JGyN.mjs → info-ChQ6CFYv.mjs} +1 -1
- package/dist/{messageService-B-bA8CBa.mjs → messageService-BrpsQBqr.mjs} +1 -1
- package/dist/{messageService.vue_vue_type_script_setup_true_lang-Cx0BVEPs.mjs → messageService.vue_vue_type_script_setup_true_lang-DcDeKb2D.mjs} +1 -1
- package/dist/{participate-OZ-sXgNP.mjs → participate-C3-LG48k.mjs} +1 -1
- package/dist/{participate.vue_vue_type_script_setup_true_lang-9K4Zxo9Q.mjs → participate.vue_vue_type_script_setup_true_lang-BckAhpLb.mjs} +1 -1
- package/dist/{person-Cyes7ZjR.mjs → person-uFbJ4daf.mjs} +1 -1
- package/dist/{person.vue_vue_type_script_setup_true_lang-Bh4H8RX5.mjs → person.vue_vue_type_script_setup_true_lang-B7slyzyV.mjs} +1 -1
- package/dist/{sceneImg-B9JBNanG.mjs → sceneImg-D39LDzvu.mjs} +1 -1
- package/dist/{seatForm-C1Efm-DZ.mjs → seatForm-_V-3JYzw.mjs} +1 -1
- package/dist/{seatForm.vue_vue_type_script_setup_true_lang-BmJavMEY.mjs → seatForm.vue_vue_type_script_setup_true_lang-Dp5Hn-ed.mjs} +3 -2
- package/dist/style.css +1 -1
- package/dts/utils/index.d.ts +0 -1
- package/package.json +61 -61
- package/dist/index-DvYcHKz_.mjs +0 -133
package/dts/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xyvcard-mice",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"module": "dist/index.mjs",
|
|
6
|
-
"types": "dts/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"dts"
|
|
10
|
-
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"vue
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "xyvcard-mice",
|
|
3
|
+
"version": "0.0.22",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
|
+
"types": "dts/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"dts"
|
|
10
|
+
],
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"axios": "^1.9.0",
|
|
13
|
+
"element-plus": "^2.9.10",
|
|
14
|
+
"pinia": "^2.3.1",
|
|
15
|
+
"vue": "^3.5.13",
|
|
16
|
+
"vue-i18n": "^9.14.4",
|
|
17
|
+
"vue-router": "^4.5.1",
|
|
18
|
+
"jmash-core": "^0.1.4",
|
|
19
|
+
"jmash-dict": "^0.1.1",
|
|
20
|
+
"jmash-rbac": "^0.1.1",
|
|
21
|
+
"xyvcard-cms": "^0.0.43"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
25
|
+
"@tsconfig/node20": "^20.1.2",
|
|
26
|
+
"@types/node": "^20.11.10",
|
|
27
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
28
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
29
|
+
"@vue/eslint-config-typescript": "^12.0.0",
|
|
30
|
+
"@vue/tsconfig": "^0.5.1",
|
|
31
|
+
"eslint": "^9.11.0",
|
|
32
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
33
|
+
"moment": "^2.30.1",
|
|
34
|
+
"npm-run-all2": "^6.1.1",
|
|
35
|
+
"prettier": "^3.0.3",
|
|
36
|
+
"sass": "^1.72.0",
|
|
37
|
+
"typescript": "~5.3.0",
|
|
38
|
+
"unplugin-auto-import": "^0.17.5",
|
|
39
|
+
"unplugin-vue-components": "^0.26.0",
|
|
40
|
+
"vite": "^5.0.11",
|
|
41
|
+
"vue-tsc": "^1.8.27"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@vueuse/core": "^10.9.0",
|
|
45
|
+
"file-saver": "^2.0.5",
|
|
46
|
+
"nprogress": "^0.2.0",
|
|
47
|
+
"qrcode": "^1.5.3",
|
|
48
|
+
"echarts": "^5.5.1",
|
|
49
|
+
"qs": "^6.12.0"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"dev": "vite --host",
|
|
53
|
+
"build": "vite build && pnpm build:dts",
|
|
54
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
55
|
+
"preview": "vite preview",
|
|
56
|
+
"build-only": "vite build",
|
|
57
|
+
"type-check": "vue-tsc --build --force",
|
|
58
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
59
|
+
"format": "prettier --write src/"
|
|
60
|
+
}
|
|
61
|
+
}
|
package/dist/index-DvYcHKz_.mjs
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { computed as x, defineComponent as B, ref as m, resolveComponent as p, createElementBlock as s, openBlock as a, createVNode as u, withCtx as _, createElementVNode as r, createTextVNode as I, toDisplayString as f, Fragment as L, renderList as b, unref as A, normalizeClass as C, normalizeStyle as U, createBlock as G, createCommentVNode as Y } from "vue";
|
|
2
|
-
import { useRouter as q, useRoute as H } from "vue-router";
|
|
3
|
-
import { useI18n as J } from "vue-i18n";
|
|
4
|
-
import { C as y, b as $ } from "./index-bbAKlmuN.mjs";
|
|
5
|
-
import { _ as M } from "./seatForm.vue_vue_type_script_setup_true_lang-BmJavMEY.mjs";
|
|
6
|
-
import { routerUtil as R } from "jmash-core";
|
|
7
|
-
import { E as j } from "./el-message-DiV6bu85.mjs";
|
|
8
|
-
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
-
const P = x(() => (n) => {
|
|
10
|
-
const o = n[0].filter(
|
|
11
|
-
(h) => h.LayoutType === y.LAYOUT_SETTING.Aisle_Vertical
|
|
12
|
-
).length, i = n[0].length - o;
|
|
13
|
-
return `width: ${o * 30 + i * 80 + (n[0].length - 1) * 15}px`;
|
|
14
|
-
});
|
|
15
|
-
x(() => (n) => {
|
|
16
|
-
let o = 0;
|
|
17
|
-
return n.forEach((i) => {
|
|
18
|
-
i[0].LayoutType === y.LAYOUT_SETTING.Aisle_Horizontal ? o += 30 : o += 60;
|
|
19
|
-
}), `height: ${o + (n.length - 1) * 15}px`;
|
|
20
|
-
});
|
|
21
|
-
const W = { class: "app-container" }, K = { class: "flex justify-between mb-2" }, Q = {
|
|
22
|
-
class: "flex items-center",
|
|
23
|
-
style: { "margin-left": "auto" }
|
|
24
|
-
}, X = { class: "ml-2" }, Z = {
|
|
25
|
-
class: "seating-grid",
|
|
26
|
-
ref: "seatingGrid"
|
|
27
|
-
}, ee = ["data-type"], te = ["onClick"], ae = /* @__PURE__ */ B({
|
|
28
|
-
__name: "index",
|
|
29
|
-
setup(n) {
|
|
30
|
-
const o = q(), i = H(), { t: h } = J(), e = m({
|
|
31
|
-
row: 0,
|
|
32
|
-
col: 0
|
|
33
|
-
}), c = m([]), T = m({}), D = (t, d) => {
|
|
34
|
-
e.value.row = t, e.value.col = d, T.value = c.value[t][d];
|
|
35
|
-
};
|
|
36
|
-
function E(t) {
|
|
37
|
-
c.value[e.value.row][e.value.col] = t, $.save({
|
|
38
|
-
...g.value,
|
|
39
|
-
requestId: Math.random() * 10 + "",
|
|
40
|
-
seatData: JSON.stringify(c.value)
|
|
41
|
-
}).then((d) => {
|
|
42
|
-
j.success(h("miceSeat.seatOccupySuccess"));
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
const g = m({});
|
|
46
|
-
$.findById({
|
|
47
|
-
exhibitionId: i.query.exhibitionId
|
|
48
|
-
}).then((t) => {
|
|
49
|
-
c.value = JSON.parse(t.data.seatData), T.value = c.value[e.value.row][e.value.col], g.value = t.data;
|
|
50
|
-
});
|
|
51
|
-
function O() {
|
|
52
|
-
R.closeTagView(i.fullPath, o, !1);
|
|
53
|
-
}
|
|
54
|
-
return (t, d) => {
|
|
55
|
-
const V = p("el-button"), N = p("el-col"), w = p("el-row"), z = p("el-card");
|
|
56
|
-
return a(), s("div", W, [
|
|
57
|
-
u(z, {
|
|
58
|
-
shadow: "never",
|
|
59
|
-
class: "table-container"
|
|
60
|
-
}, {
|
|
61
|
-
default: _(() => [
|
|
62
|
-
r("div", K, [
|
|
63
|
-
u(V, {
|
|
64
|
-
type: "primary",
|
|
65
|
-
onClick: O
|
|
66
|
-
}, {
|
|
67
|
-
default: _(() => [
|
|
68
|
-
I(f(t.$t("common.back")), 1)
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
}),
|
|
72
|
-
r("div", Q, [
|
|
73
|
-
(a(!0), s(L, null, b(A(y).SEAT_STATUS, (l) => (a(), s("div", {
|
|
74
|
-
key: l.key,
|
|
75
|
-
class: "flex ml-2 items-center"
|
|
76
|
-
}, [
|
|
77
|
-
r("div", {
|
|
78
|
-
class: C(`status-dot ${l.key}`)
|
|
79
|
-
}, null, 2),
|
|
80
|
-
r("div", X, f(l.value), 1)
|
|
81
|
-
]))), 128))
|
|
82
|
-
])
|
|
83
|
-
]),
|
|
84
|
-
u(w, null, {
|
|
85
|
-
default: _(() => [
|
|
86
|
-
u(N, { span: 18 }, {
|
|
87
|
-
default: _(() => [
|
|
88
|
-
r("div", Z, [
|
|
89
|
-
(a(!0), s(L, null, b(c.value, (l, k) => (a(), s("div", {
|
|
90
|
-
key: k,
|
|
91
|
-
class: "seat-row"
|
|
92
|
-
}, [
|
|
93
|
-
l[0].LayoutType === A(y).LAYOUT_SETTING.Aisle_Horizontal ? (a(), s("div", {
|
|
94
|
-
key: 0,
|
|
95
|
-
class: C(`seat ${l[0].LayoutType}`),
|
|
96
|
-
"data-type": l[0].LayoutType,
|
|
97
|
-
style: U(A(P)(c.value))
|
|
98
|
-
}, " 过道 ", 14, ee)) : (a(!0), s(L, { key: 1 }, b(l, (v, S) => (a(), s("div", {
|
|
99
|
-
key: S,
|
|
100
|
-
class: C(`seat ${v.seatStatus} ${v.LayoutType} ${e.value.row === k && e.value.col === S ? "active" : ""}`),
|
|
101
|
-
onClick: (oe) => D(k, S)
|
|
102
|
-
}, [
|
|
103
|
-
r("div", null, f(v.seatNum), 1),
|
|
104
|
-
r("div", null, f(v.user), 1)
|
|
105
|
-
], 10, te))), 128))
|
|
106
|
-
]))), 128))
|
|
107
|
-
], 512)
|
|
108
|
-
]),
|
|
109
|
-
_: 1
|
|
110
|
-
}),
|
|
111
|
-
u(N, { span: 6 }, {
|
|
112
|
-
default: _(() => [
|
|
113
|
-
g.value.seatData ? (a(), G(M, {
|
|
114
|
-
key: e.value.row + e.value.col,
|
|
115
|
-
activeData: T.value,
|
|
116
|
-
onSubmit: E
|
|
117
|
-
}, null, 8, ["activeData"])) : Y("", !0)
|
|
118
|
-
]),
|
|
119
|
-
_: 1
|
|
120
|
-
})
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
})
|
|
124
|
-
]),
|
|
125
|
-
_: 1
|
|
126
|
-
})
|
|
127
|
-
]);
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
}), de = /* @__PURE__ */ F(ae, [["__scopeId", "data-v-55330958"]]);
|
|
131
|
-
export {
|
|
132
|
-
de as default
|
|
133
|
-
};
|