ss-component-new 1.3.663 → 1.3.665
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/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/index-BKK_dL6t.js +27 -0
- package/dist/{index-CbFmq_Ex.js → index-BobGeNMx.js} +18 -42
- package/dist/{index-DPuDAXhP.js → index-CoXdIQt_.js} +2 -2
- package/dist/{index-D0WUIn62.js → index-DJWOuBw9.js} +9 -8
- package/dist/{index-DKykyI5s.js → index-DK2pco3V.js} +6 -5
- package/dist/index-DfraOPVU.js +9022 -0
- package/dist/{index-Dt-Jpm9C.js → index-MHAwX3y9.js} +6 -5
- package/dist/{menu-CZNGSy8m.js → menu-B8iV5Rhf.js} +2 -9
- package/dist/{origin-weHfdTeb.js → origin-C4Shcrcr.js} +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +8 -8
- package/dist/ss-component2.js +2 -2
- package/dist/ss-component3.js +9 -785
- package/package.json +1 -1
- package/dist/index-BBinXULM.js +0 -8237
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { computed as s, createElementBlock as a, openBlock as c, mergeProps as l, toHandlers as i, createElementVNode as m } from "vue";
|
|
2
|
+
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const u = ["xlink:href"], _ = {
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
name: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
className: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: ""
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(t) {
|
|
16
|
+
const e = t, n = s(() => `#icon-${e.name}`), o = s(() => e.className ? `svg-icon ${e.className}` : "svg-icon");
|
|
17
|
+
return (r, d) => (c(), a("svg", l({
|
|
18
|
+
class: o.value,
|
|
19
|
+
"aria-hidden": "true"
|
|
20
|
+
}, i(r.$attrs, !0)), [
|
|
21
|
+
m("use", { "xlink:href": n.value }, null, 8, u)
|
|
22
|
+
], 16));
|
|
23
|
+
}
|
|
24
|
+
}, f = /* @__PURE__ */ p(_, [["__scopeId", "data-v-27348cb0"]]);
|
|
25
|
+
export {
|
|
26
|
+
f as S
|
|
27
|
+
};
|
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { _ as c } from "./menu-CZNGSy8m.js";
|
|
3
|
-
const s = ["xlink:href"], b = {
|
|
4
|
-
__name: "index",
|
|
5
|
-
props: {
|
|
6
|
-
name: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: !0
|
|
9
|
-
},
|
|
10
|
-
className: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: ""
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(n) {
|
|
16
|
-
const e = n, t = a(() => `#icon-${e.name}`), m = a(() => e.className ? `svg-icon ${e.className}` : "svg-icon");
|
|
17
|
-
return (l, g) => (u(), o("svg", i({
|
|
18
|
-
class: m.value,
|
|
19
|
-
"aria-hidden": "true"
|
|
20
|
-
}, r(l.$attrs, !0)), [
|
|
21
|
-
v("use", { "xlink:href": t.value }, null, 8, s)
|
|
22
|
-
], 16));
|
|
23
|
-
}
|
|
24
|
-
}, p = /* @__PURE__ */ c(b, [["__scopeId", "data-v-27348cb0"]]), f = [
|
|
1
|
+
const e = [
|
|
25
2
|
{
|
|
26
3
|
name: "--vertical-menu-bg",
|
|
27
4
|
value: "transparent"
|
|
@@ -118,7 +95,7 @@ const s = ["xlink:href"], b = {
|
|
|
118
95
|
name: "--vertical-menu-padding",
|
|
119
96
|
value: "0.5rem"
|
|
120
97
|
}
|
|
121
|
-
],
|
|
98
|
+
], a = [
|
|
122
99
|
{
|
|
123
100
|
name: "--horizontal-menu-bg",
|
|
124
101
|
value: "#333333"
|
|
@@ -174,7 +151,7 @@ const s = ["xlink:href"], b = {
|
|
|
174
151
|
name: "--horizontal-menuitem-font",
|
|
175
152
|
value: "var(--ssComponent-font-family)"
|
|
176
153
|
}
|
|
177
|
-
],
|
|
154
|
+
], n = [
|
|
178
155
|
{
|
|
179
156
|
name: "--vertical-menu-bg",
|
|
180
157
|
value: "transparent"
|
|
@@ -271,7 +248,7 @@ const s = ["xlink:href"], b = {
|
|
|
271
248
|
name: "--vertical-menu-padding",
|
|
272
249
|
value: "0.5rem"
|
|
273
250
|
}
|
|
274
|
-
],
|
|
251
|
+
], t = [
|
|
275
252
|
{
|
|
276
253
|
name: "--horizontal-menu-bg",
|
|
277
254
|
value: "#333333"
|
|
@@ -327,7 +304,7 @@ const s = ["xlink:href"], b = {
|
|
|
327
304
|
name: "--horizontal-menuitem-font",
|
|
328
305
|
value: "var(--ssComponent-font-family)"
|
|
329
306
|
}
|
|
330
|
-
],
|
|
307
|
+
], m = [
|
|
331
308
|
{
|
|
332
309
|
name: "--vertical-menu-bg",
|
|
333
310
|
value: "transparent"
|
|
@@ -424,7 +401,7 @@ const s = ["xlink:href"], b = {
|
|
|
424
401
|
name: "--vertical-menu-padding",
|
|
425
402
|
value: "0.5rem"
|
|
426
403
|
}
|
|
427
|
-
],
|
|
404
|
+
], l = [
|
|
428
405
|
{
|
|
429
406
|
name: "--horizontal-menu-bg",
|
|
430
407
|
value: "#333333"
|
|
@@ -480,7 +457,7 @@ const s = ["xlink:href"], b = {
|
|
|
480
457
|
name: "--horizontal-menuitem-font",
|
|
481
458
|
value: "var(--ssComponent-font-family)"
|
|
482
459
|
}
|
|
483
|
-
],
|
|
460
|
+
], u = [
|
|
484
461
|
{
|
|
485
462
|
name: "--user-avatar-bg",
|
|
486
463
|
value: "linear-gradient(to bottom, #73D2FF,#235096)"
|
|
@@ -521,7 +498,7 @@ const s = ["xlink:href"], b = {
|
|
|
521
498
|
name: "--ssComponent-theme-watermark",
|
|
522
499
|
value: 'url("@/assets/image/watermark-blue.png")'
|
|
523
500
|
}
|
|
524
|
-
],
|
|
501
|
+
], o = [
|
|
525
502
|
{
|
|
526
503
|
name: "--user-avatar-bg",
|
|
527
504
|
value: "linear-gradient(to bottom, #96E13C,#196E05)"
|
|
@@ -563,7 +540,7 @@ const s = ["xlink:href"], b = {
|
|
|
563
540
|
name: "--ssComponent-theme-watermark",
|
|
564
541
|
value: 'url("@/assets/image/watermark.png")'
|
|
565
542
|
}
|
|
566
|
-
],
|
|
543
|
+
], i = [
|
|
567
544
|
{
|
|
568
545
|
name: "--user-avatar-bg",
|
|
569
546
|
value: "linear-gradient(to bottom, #96E13C,#196E05)"
|
|
@@ -607,14 +584,13 @@ const s = ["xlink:href"], b = {
|
|
|
607
584
|
}
|
|
608
585
|
];
|
|
609
586
|
export {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
w as t
|
|
587
|
+
e as a,
|
|
588
|
+
u as b,
|
|
589
|
+
o as c,
|
|
590
|
+
t as d,
|
|
591
|
+
n as e,
|
|
592
|
+
l as f,
|
|
593
|
+
m as g,
|
|
594
|
+
a as h,
|
|
595
|
+
i as t
|
|
620
596
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as w, a as N, u as S, E as b, i as v } from "./origin-
|
|
2
|
-
import { p as h, s as A } from "./menu-
|
|
1
|
+
import { h as w, a as N, u as S, E as b, i as v } from "./origin-C4Shcrcr.js";
|
|
2
|
+
import { p as h, s as A } from "./menu-B8iV5Rhf.js";
|
|
3
3
|
const y = S(h), { isDefaultModel: M } = N(), P = async (m, s) => {
|
|
4
4
|
var u, o, r, i, a, d, g, p, f;
|
|
5
5
|
let t = Object.values(m), e = await w({
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent as R, ref as W, computed as b, watch as l, nextTick as z, onMounted as S, onUnmounted as N, resolveComponent as V, createElementBlock as v, openBlock as C, createBlock as G } from "vue";
|
|
2
|
-
import { u as $, a as q, g as J, v as Q } from "./origin-
|
|
3
|
-
import { p as k, s as L, u as X
|
|
4
|
-
import { l as
|
|
5
|
-
import { useRouter as
|
|
2
|
+
import { u as $, a as q, g as J, v as Q } from "./origin-C4Shcrcr.js";
|
|
3
|
+
import { p as k, s as L, u as X } from "./menu-B8iV5Rhf.js";
|
|
4
|
+
import { l as Y } from "./index-CoXdIQt_.js";
|
|
5
|
+
import { useRouter as Z } from "vue-router";
|
|
6
|
+
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
7
|
const ee = { key: 0 }, te = /* @__PURE__ */ R({
|
|
7
8
|
__name: "index",
|
|
8
9
|
props: {
|
|
@@ -73,7 +74,7 @@ const ee = { key: 0 }, te = /* @__PURE__ */ R({
|
|
|
73
74
|
},
|
|
74
75
|
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
75
76
|
setup(s, { emit: _ }) {
|
|
76
|
-
const D =
|
|
77
|
+
const D = Z(), c = $(k), { loginUserInfo: f } = L(c), { initSystemInfo: A } = q(), d = X(k), g = W(!0), { activeMenuPath: h } = L(d), e = s, o = _, F = b(() => {
|
|
77
78
|
var t, n;
|
|
78
79
|
return (e == null ? void 0 : e.showButton) || ((n = (t = f.value) == null ? void 0 : t.accounttype) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
80
|
}), E = (t) => {
|
|
@@ -105,7 +106,7 @@ const ee = { key: 0 }, te = /* @__PURE__ */ R({
|
|
|
105
106
|
async () => {
|
|
106
107
|
g.value = !0;
|
|
107
108
|
let t = e == null ? void 0 : e.loginContent;
|
|
108
|
-
if (t != null && t.account && (t != null && t.password) && (await
|
|
109
|
+
if (t != null && t.account && (t != null && t.password) && (await Y(t), status)) {
|
|
109
110
|
let n = await Q();
|
|
110
111
|
o("systemContent", n == null ? void 0 : n.allMenuContents), D.push("/"), d.setHasClickEditComp(!1);
|
|
111
112
|
}
|
|
@@ -188,7 +189,7 @@ const ee = { key: 0 }, te = /* @__PURE__ */ R({
|
|
|
188
189
|
]);
|
|
189
190
|
};
|
|
190
191
|
}
|
|
191
|
-
}),
|
|
192
|
+
}), de = /* @__PURE__ */ p(te, [["__scopeId", "data-v-d3a775f0"]]);
|
|
192
193
|
export {
|
|
193
|
-
|
|
194
|
+
de as default
|
|
194
195
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { createElementBlock as D, openBlock as $, createElementVNode as l, renderSlot as R, defineComponent as W, ref as C, resolveComponent as w, createVNode as t, withCtx as o, unref as O, reactive as se, computed as G, onMounted as fe, createBlock as J, resolveDirective as Ue, createCommentVNode as oe, withDirectives as ke, normalizeClass as ne, toDisplayString as x, Transition as Ve, watch as H, Fragment as Le, createTextVNode as M, onBeforeUnmount as $e } from "vue";
|
|
2
|
-
import { _ as K
|
|
3
|
-
import {
|
|
2
|
+
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import { p as ee, s as le, u as Ie } from "./menu-B8iV5Rhf.js";
|
|
4
|
+
import { u as te, c as Fe, b as qe, f as Ae, d as ie, E as re, s as ve, e as De, l as xe, p as Re, v as Ne } from "./origin-C4Shcrcr.js";
|
|
4
5
|
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
6
|
import { useRouter as Se } from "vue-router";
|
|
6
|
-
import { l as Ee } from "./index-
|
|
7
|
+
import { l as Ee } from "./index-CoXdIQt_.js";
|
|
7
8
|
const Me = {}, Pe = { class: "left-wrap" }, Be = { class: "left-bg" };
|
|
8
9
|
function Oe(f, U) {
|
|
9
10
|
return $(), D("div", Pe, [
|
|
@@ -1037,7 +1038,7 @@ const Vt = () => {
|
|
|
1037
1038
|
])
|
|
1038
1039
|
]));
|
|
1039
1040
|
}
|
|
1040
|
-
}),
|
|
1041
|
+
}), Wt = /* @__PURE__ */ K(Pt, [["__scopeId", "data-v-8aacc6bf"]]);
|
|
1041
1042
|
export {
|
|
1042
|
-
|
|
1043
|
+
Wt as default
|
|
1043
1044
|
};
|