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.
@@ -3,7 +3,7 @@ export default class Menus {
3
3
  tabs: ITab[];
4
4
  idx: number;
5
5
  key: string;
6
- preSelectTab(): void;
6
+ PreSelectTab(): void;
7
7
  static Create(key: string, tabs: ITab[]): Menus;
8
8
  select(i: number): void;
9
9
  GetMenu(): ITab;
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.preSelectTab();
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-40312de0"]]);
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
- preSelectTab() {
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.preSelectTab(), 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());