ss-component-new 1.1.37 → 1.1.38
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/{_plugin-vue_export-helper-B7R8Jogt.js → cloneDeep-BM4uyVh0.js} +19 -26
- package/dist/{index-C3BeiYFL.js → index-B4CGjAX5.js} +7 -6
- package/dist/{index-BvoThyOF.js → index-B8-IVIQ5.js} +1 -1
- package/dist/{index-10n3uNlg.js → index-BNRFG90i.js} +4 -3
- package/dist/{index-C8dZocQc.js → index-BOQlL_On.js} +10 -9
- package/dist/index-BbM6kIst.js +14 -0
- package/dist/main-eELwGDVS.js +3614 -0
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +5 -5
- package/dist/ss-component.umd.cjs +47 -47
- package/package.json +3 -2
- package/dist/array-ldqp0vlM.js +0 -3340
- package/dist/index-5XXpg_9o.js +0 -352
- package/dist/main-WlRCRzNu.js +0 -286
|
@@ -6,8 +6,8 @@ function Et(t) {
|
|
|
6
6
|
var n = !0;
|
|
7
7
|
} catch {
|
|
8
8
|
}
|
|
9
|
-
var
|
|
10
|
-
return n && (e ? t[w] = r : delete t[w]),
|
|
9
|
+
var c = Ct.call(t);
|
|
10
|
+
return n && (e ? t[w] = r : delete t[w]), c;
|
|
11
11
|
}
|
|
12
12
|
var It = Object.prototype, Mt = It.toString;
|
|
13
13
|
function Dt(t) {
|
|
@@ -162,12 +162,12 @@ var vt = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
162
162
|
}
|
|
163
163
|
}(), Q = v && v.isTypedArray, Ke = Q ? L(Q) : Ve, We = Object.prototype, qe = We.hasOwnProperty;
|
|
164
164
|
function Xe(t, e) {
|
|
165
|
-
var r = N(t), n = !r && de(t),
|
|
165
|
+
var r = N(t), n = !r && de(t), c = !r && !n && Tt(t), s = !r && !n && !c && Ke(t), i = r || n || c || s, _ = i ? pe(t.length, String) : [], g = _.length;
|
|
166
166
|
for (var u in t)
|
|
167
167
|
qe.call(t, u) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
168
168
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
c && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
170
|
+
s && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
171
171
|
ne(u, g))) && _.push(u);
|
|
172
172
|
return _;
|
|
173
173
|
}
|
|
@@ -310,8 +310,8 @@ $.prototype.get = vr;
|
|
|
310
310
|
$.prototype.has = $r;
|
|
311
311
|
$.prototype.set = mr;
|
|
312
312
|
function wr(t, e) {
|
|
313
|
-
for (var r = -1, n = e.length,
|
|
314
|
-
t[
|
|
313
|
+
for (var r = -1, n = e.length, c = t.length; ++r < n; )
|
|
314
|
+
t[c + r] = e[r];
|
|
315
315
|
return t;
|
|
316
316
|
}
|
|
317
317
|
var Ar = $t(Object.getPrototypeOf, Object);
|
|
@@ -354,11 +354,11 @@ function Mr(t, e) {
|
|
|
354
354
|
return t.slice();
|
|
355
355
|
}
|
|
356
356
|
function Dr(t, e) {
|
|
357
|
-
for (var r = -1, n = t == null ? 0 : t.length,
|
|
357
|
+
for (var r = -1, n = t == null ? 0 : t.length, c = 0, s = []; ++r < n; ) {
|
|
358
358
|
var i = t[r];
|
|
359
|
-
e(i, r, t) && (c
|
|
359
|
+
e(i, r, t) && (s[c++] = i);
|
|
360
360
|
}
|
|
361
|
-
return
|
|
361
|
+
return s;
|
|
362
362
|
}
|
|
363
363
|
function Fr() {
|
|
364
364
|
return [];
|
|
@@ -468,7 +468,7 @@ function Sn(t) {
|
|
|
468
468
|
var pt = v && v.isSet, xn = pt ? L(pt) : Sn, wt = "[object Arguments]", Pn = "[object Array]", Cn = "[object Boolean]", En = "[object Date]", In = "[object Error]", At = "[object Function]", Mn = "[object GeneratorFunction]", Dn = "[object Map]", Fn = "[object Number]", Ot = "[object Object]", Un = "[object RegExp]", Bn = "[object Set]", zn = "[object String]", Gn = "[object Symbol]", Nn = "[object WeakMap]", Ln = "[object ArrayBuffer]", Rn = "[object DataView]", Vn = "[object Float32Array]", Hn = "[object Float64Array]", Kn = "[object Int8Array]", Wn = "[object Int16Array]", qn = "[object Int32Array]", Xn = "[object Uint8Array]", Yn = "[object Uint8ClampedArray]", Jn = "[object Uint16Array]", Zn = "[object Uint32Array]", a = {};
|
|
469
469
|
a[wt] = a[Pn] = a[Ln] = a[Rn] = a[Cn] = a[En] = a[Vn] = a[Hn] = a[Kn] = a[Wn] = a[qn] = a[Dn] = a[Fn] = a[Ot] = a[Un] = a[Bn] = a[zn] = a[Gn] = a[Xn] = a[Yn] = a[Jn] = a[Zn] = !0;
|
|
470
470
|
a[In] = a[At] = a[Nn] = !1;
|
|
471
|
-
function C(t, e, r, n,
|
|
471
|
+
function C(t, e, r, n, c, s) {
|
|
472
472
|
var i;
|
|
473
473
|
if (i !== void 0)
|
|
474
474
|
return i;
|
|
@@ -481,42 +481,35 @@ function C(t, e, r, n, s, c) {
|
|
|
481
481
|
var g = p(t), u = g == At || g == Mn;
|
|
482
482
|
if (Tt(t))
|
|
483
483
|
return Mr(t);
|
|
484
|
-
if (g == Ot || g == wt || u && !
|
|
484
|
+
if (g == Ot || g == wt || u && !c)
|
|
485
485
|
i = u ? {} : $n(t);
|
|
486
486
|
else {
|
|
487
487
|
if (!a[g])
|
|
488
|
-
return
|
|
488
|
+
return c ? t : {};
|
|
489
489
|
i = vn(t, g);
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
|
|
493
|
-
var V =
|
|
492
|
+
s || (s = new m());
|
|
493
|
+
var V = s.get(t);
|
|
494
494
|
if (V)
|
|
495
495
|
return V;
|
|
496
|
-
|
|
497
|
-
i.add(C(b, e, r, b, t,
|
|
496
|
+
s.set(t, i), xn(t) ? t.forEach(function(b) {
|
|
497
|
+
i.add(C(b, e, r, b, t, s));
|
|
498
498
|
}) : An(t) && t.forEach(function(b, d) {
|
|
499
|
-
i.set(d, C(b, e, r, d, t,
|
|
499
|
+
i.set(d, C(b, e, r, d, t, s));
|
|
500
500
|
});
|
|
501
501
|
var St = Nr, H = _ ? void 0 : St(t);
|
|
502
502
|
return te(H || t, function(b, d) {
|
|
503
|
-
H && (d = b, b = t[d]), se(i, d, C(b, e, r, d, t,
|
|
503
|
+
H && (d = b, b = t[d]), se(i, d, C(b, e, r, d, t, s));
|
|
504
504
|
}), i;
|
|
505
505
|
}
|
|
506
506
|
var Qn = 1, kn = 4;
|
|
507
507
|
function ta(t) {
|
|
508
508
|
return C(t, Qn | kn);
|
|
509
509
|
}
|
|
510
|
-
const ea = (t, e) => {
|
|
511
|
-
const r = t.__vccOpts || t;
|
|
512
|
-
for (const [n, s] of e)
|
|
513
|
-
r[n] = s;
|
|
514
|
-
return r;
|
|
515
|
-
};
|
|
516
510
|
export {
|
|
517
511
|
$ as M,
|
|
518
512
|
T as S,
|
|
519
|
-
ea as _,
|
|
520
513
|
N as a,
|
|
521
514
|
x as b,
|
|
522
515
|
ta as c,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getCurrentInstance as rt, inject as tt, ref as R, computed as X, unref as M, readonly as Vo, getCurrentScope as Fo, onScopeDispose as zo, onMounted as wt, nextTick as nt, watch as we, isRef as Lo, warn as Yo, provide as jo, defineComponent as Ge, createElementBlock as P, openBlock as _, mergeProps as Zn, renderSlot as ce, normalizeClass as Me, createVNode as he, Transition as Jn, withCtx as F, withDirectives as qn, createElementVNode as ae, normalizeStyle as ue, createTextVNode as ht, toDisplayString as ge, vShow as Qn, shallowReactive as Wo, createBlock as Y, createCommentVNode as q, resolveDynamicComponent as at, Fragment as me, withModifiers as Uo, isVNode as eo, render as _n, resolveComponent as Q, renderList as be, createSlots as to, normalizeProps as Ho, guardReactiveProps as Xo } from "vue";
|
|
2
2
|
import { i as Go, a as Ko, w as Zo, b as Jo, e as qo, f as wn, h as Qo } from "./menu-oGClEGzK.js";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import { i as er, b as tr, a as sn, S as En, M as no, c as Wt } from "./cloneDeep-BM4uyVh0.js";
|
|
5
|
+
import nr from "./index-B8-IVIQ5.js";
|
|
5
6
|
/**!
|
|
6
7
|
* Sortable 1.15.6
|
|
7
8
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -2872,7 +2873,7 @@ const Ao = $a(lt, "$message"), ii = {
|
|
|
2872
2873
|
}, 8, ["modelValue"]);
|
|
2873
2874
|
};
|
|
2874
2875
|
}
|
|
2875
|
-
}, Ro = /* @__PURE__ */ Ke(gi, [["__scopeId", "data-v-c1c693d0"]]),
|
|
2876
|
+
}, Ro = /* @__PURE__ */ Ke(gi, [["__scopeId", "data-v-c1c693d0"]]), el = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2876
2877
|
__proto__: null,
|
|
2877
2878
|
default: Ro
|
|
2878
2879
|
}, Symbol.toStringTag, { value: "Module" })), mi = {
|
|
@@ -3229,7 +3230,7 @@ const Ao = $a(lt, "$message"), ii = {
|
|
|
3229
3230
|
function bn(t) {
|
|
3230
3231
|
return Ii[t.toUpperCase()] || null;
|
|
3231
3232
|
}
|
|
3232
|
-
const
|
|
3233
|
+
const tl = (t) => t.match(/\((.*)\)/)[1], ki = (t) => {
|
|
3233
3234
|
try {
|
|
3234
3235
|
return No(t).format("YYYY-MM-DD") !== "Invalid Date";
|
|
3235
3236
|
} catch {
|
|
@@ -3740,7 +3741,7 @@ export {
|
|
|
3740
3741
|
Ao as E,
|
|
3741
3742
|
Di as a,
|
|
3742
3743
|
Bo as b,
|
|
3743
|
-
|
|
3744
|
-
|
|
3744
|
+
tl as f,
|
|
3745
|
+
el as i,
|
|
3745
3746
|
Gi as s
|
|
3746
3747
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, onMounted as A, resolveComponent as l, createElementBlock as _, openBlock as o, Fragment as d, renderList as m, createBlock as r, withCtx as s, createVNode as I, createSlots as b, renderSlot as u, mergeProps as O, computed as S } from "vue";
|
|
2
2
|
import { u as q, s as E } from "./menu-oGClEGzK.js";
|
|
3
|
-
import { _ as F } from "./_plugin-vue_export-helper-
|
|
3
|
+
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const R = /* @__PURE__ */ g({
|
|
5
5
|
__name: "menuItem",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ref as Sp, onMounted as Ab, watch as vL, onUnmounted as cL, createElementBlock as Mb, openBlock as Ib, createVNode as pL } from "vue";
|
|
2
|
-
import { _ as Lb
|
|
2
|
+
import { _ as Lb } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import { c as Ki } from "./cloneDeep-BM4uyVh0.js";
|
|
3
4
|
/*! *****************************************************************************
|
|
4
5
|
Copyright (c) Microsoft Corporation.
|
|
5
6
|
|
|
@@ -44004,7 +44005,7 @@ const d7 = {
|
|
|
44004
44005
|
pL(g7, { optionContents: t.value }, null, 8, ["optionContents"])
|
|
44005
44006
|
]));
|
|
44006
44007
|
}
|
|
44007
|
-
},
|
|
44008
|
+
}, b7 = /* @__PURE__ */ Lb(_7, [["__scopeId", "data-v-0440fac3"]]);
|
|
44008
44009
|
export {
|
|
44009
|
-
|
|
44010
|
+
b7 as default
|
|
44010
44011
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, computed as
|
|
2
|
-
import { E as y, u as H, s as
|
|
1
|
+
import { defineAsyncComponent as j, computed as $, onMounted as O, resolveComponent as A, createBlock as C, openBlock as b, withCtx as F, resolveDynamicComponent as B, defineComponent as U, ref as T, watch as G, createVNode as V, createElementVNode as q, toDisplayString as z } from "vue";
|
|
2
|
+
import { E as y, u as H, s as E } from "./menu-oGClEGzK.js";
|
|
3
3
|
import { u as J } from "./modelComp-CqA1NVfH.js";
|
|
4
|
-
import { c as _
|
|
5
|
-
|
|
4
|
+
import { c as _ } from "./cloneDeep-BM4uyVh0.js";
|
|
5
|
+
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const v = j(() => import("./index-B8-IVIQ5.js"));
|
|
6
7
|
v.install = (r) => {
|
|
7
8
|
r.component("ssMenu", v);
|
|
8
9
|
};
|
|
@@ -12,7 +13,7 @@ const Q = {
|
|
|
12
13
|
name: String
|
|
13
14
|
},
|
|
14
15
|
setup(r) {
|
|
15
|
-
const c = r, p =
|
|
16
|
+
const c = r, p = $(() => y[c.name]);
|
|
16
17
|
return O(() => {
|
|
17
18
|
const m = Object.keys(y);
|
|
18
19
|
console.log("iconComponent", p.value, c.name, y, m);
|
|
@@ -33,7 +34,7 @@ const Q = {
|
|
|
33
34
|
DynamicIcon: Q
|
|
34
35
|
},
|
|
35
36
|
setup() {
|
|
36
|
-
const r = H(), c = J(), { rawMenu: p, menuTriggerType: m } =
|
|
37
|
+
const r = H(), c = J(), { rawMenu: p, menuTriggerType: m } = E(r), { itemData: f } = E(c), d = T([]);
|
|
37
38
|
let M;
|
|
38
39
|
((e) => {
|
|
39
40
|
e[e.Menu = 0] = "Menu", e[e.FolderOpened = 1] = "FolderOpened";
|
|
@@ -78,7 +79,7 @@ const Q = {
|
|
|
78
79
|
};
|
|
79
80
|
return a.children && a.children.length > 0 && (i.children = D(a.children, l, n + 1)), i;
|
|
80
81
|
});
|
|
81
|
-
}, S =
|
|
82
|
+
}, S = $(() => {
|
|
82
83
|
const e = D(d.value);
|
|
83
84
|
return console.log("temps", e), r.setMenus(e), e;
|
|
84
85
|
}), k = (e) => {
|
|
@@ -157,7 +158,7 @@ function X(r, c, p, m, f, d) {
|
|
|
157
158
|
_: 1
|
|
158
159
|
}, 8, ["menuList", "onClickMenu", "onOpenMenu", "onCloseMenu", "onChangeMenuStyle"]);
|
|
159
160
|
}
|
|
160
|
-
const
|
|
161
|
+
const se = /* @__PURE__ */ K(W, [["render", X], ["__scopeId", "data-v-dc84a8f7"]]);
|
|
161
162
|
export {
|
|
162
|
-
|
|
163
|
+
se as default
|
|
163
164
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { resolveComponent as o, createBlock as t, openBlock as r } from "vue";
|
|
2
|
+
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const n = {
|
|
4
|
+
__name: "index",
|
|
5
|
+
setup(c) {
|
|
6
|
+
return (p, s) => {
|
|
7
|
+
const e = o("router-view");
|
|
8
|
+
return r(), t(e);
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
}, i = /* @__PURE__ */ _(n, [["__scopeId", "data-v-f49b26ea"]]);
|
|
12
|
+
export {
|
|
13
|
+
i as default
|
|
14
|
+
};
|