sprof 0.0.90 → 0.0.91
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/core/helpers/Menus.d.ts +1 -1
- package/dist/sprof.js +4 -5
- package/dist/sprof.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/sprof.js
CHANGED
|
@@ -6185,7 +6185,7 @@ const pd = /* @__PURE__ */ P(hd, [["render", gd], ["__scopeId", "data-v-0ea9a95f
|
|
|
6185
6185
|
ei(() => window.addEventListener("resize", l)), ir(() => window.removeEventListener("resize", l));
|
|
6186
6186
|
const a = ge(() => `calc(100% - ${o.value}px + 1px)`);
|
|
6187
6187
|
_e(() => {
|
|
6188
|
-
i.menus.
|
|
6188
|
+
i.menus.PreSelectTab();
|
|
6189
6189
|
});
|
|
6190
6190
|
const c = (d) => {
|
|
6191
6191
|
i.menus.select(d), n("select");
|
|
@@ -6228,7 +6228,7 @@ const pd = /* @__PURE__ */ P(hd, [["render", gd], ["__scopeId", "data-v-0ea9a95f
|
|
|
6228
6228
|
], 4)
|
|
6229
6229
|
], 4));
|
|
6230
6230
|
}
|
|
6231
|
-
}), qd = /* @__PURE__ */ P(Hd, [["__scopeId", "data-v-
|
|
6231
|
+
}), qd = /* @__PURE__ */ P(Hd, [["__scopeId", "data-v-a4a6dfa9"]]);
|
|
6232
6232
|
class Wn {
|
|
6233
6233
|
static Setup(e) {
|
|
6234
6234
|
this.staticUrl = e;
|
|
@@ -10891,11 +10891,10 @@ const Pg = (() => {
|
|
|
10891
10891
|
class Xn {
|
|
10892
10892
|
constructor() {
|
|
10893
10893
|
u(this, "tabs", []);
|
|
10894
|
-
// activeTab: ITab = this.tabs[0];
|
|
10895
10894
|
u(this, "idx", 0);
|
|
10896
10895
|
u(this, "key", "");
|
|
10897
10896
|
}
|
|
10898
|
-
|
|
10897
|
+
PreSelectTab() {
|
|
10899
10898
|
const e = mt.GetStringQueryParam(this.key);
|
|
10900
10899
|
if (!e || e === "undefined") {
|
|
10901
10900
|
this.select(0);
|
|
@@ -10906,7 +10905,7 @@ class Xn {
|
|
|
10906
10905
|
}
|
|
10907
10906
|
static Create(e, i) {
|
|
10908
10907
|
const n = new Xn();
|
|
10909
|
-
return n.key = e, n.tabs = i, n.tabs.length && n.
|
|
10908
|
+
return n.key = e, n.tabs = i, n.tabs.length && n.PreSelectTab(), n;
|
|
10910
10909
|
}
|
|
10911
10910
|
select(e) {
|
|
10912
10911
|
this.idx = e, mt.SetQueryParam(this.key, this.GetSlug());
|