@fewangsit/wangsvue-presets 1.0.102 → 1.0.103-alpha.0

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.
@@ -1702,7 +1702,7 @@ const _ = {
1702
1702
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
1703
1703
  leaveToClass: "opacity-0"
1704
1704
  }
1705
- }, M = {
1705
+ }, R = {
1706
1706
  button: (e) => ({
1707
1707
  class: [e, "w-max"],
1708
1708
  "data-wv-section": "changelog-button"
@@ -1840,7 +1840,7 @@ const _ = {
1840
1840
  tooltipicon: {
1841
1841
  class: "text-grayscale-900 w-[10px] h-[10px]"
1842
1842
  }
1843
- }, R = {
1843
+ }, M = {
1844
1844
  root: {
1845
1845
  class: [
1846
1846
  // Flexbox
@@ -7332,7 +7332,7 @@ const _ = {
7332
7332
  "touch-action-none"
7333
7333
  ]
7334
7334
  })
7335
- }, Me = {
7335
+ }, Re = {
7336
7336
  root: ({ props: e }) => ({
7337
7337
  class: [
7338
7338
  // Flexbox and Position
@@ -7840,7 +7840,7 @@ const _ = {
7840
7840
  class: ["hidden"]
7841
7841
  }
7842
7842
  }
7843
- }, Re = {
7843
+ }, Me = {
7844
7844
  root: {
7845
7845
  class: "relative"
7846
7846
  },
@@ -8131,10 +8131,12 @@ const o = class o {
8131
8131
  * @returns A fully normalized path prefixed with the base URL if applicable.
8132
8132
  */
8133
8133
  normalizePath(t) {
8134
+ if (!t.startsWith("/"))
8135
+ return new URL(t, window.location.href).pathname;
8134
8136
  const r = this.getNavigationBaseUrl();
8135
8137
  if (!r)
8136
8138
  return t;
8137
- const s = t.startsWith("/") ? t.slice(1) : t;
8139
+ const s = t.slice(1);
8138
8140
  return `${r}${s}`;
8139
8141
  }
8140
8142
  /**
@@ -8242,7 +8244,7 @@ const o = class o {
8242
8244
  * @example
8243
8245
  * router.navigateToRoute('/about', 'push', { some: 'state' }, '',);
8244
8246
  */
8245
- navigateToRoute(t, r = "push", s = {}, n = "") {
8247
+ navigateToRoute(t, r = "push", s = history.state, n = "") {
8246
8248
  if (!t)
8247
8249
  return;
8248
8250
  const l = typeof t == "string" ? t : t.toString(), a = this.normalizePath(l);
@@ -9872,7 +9874,7 @@ const Oe = p("WANGS-TAB-MENU", {
9872
9874
  buttonsearch: $,
9873
9875
  buttonsplit: B,
9874
9876
  buttonfilter: V,
9875
- splitbutton: Me,
9877
+ splitbutton: Re,
9876
9878
  // Data
9877
9879
  paginator: Ae,
9878
9880
  datatable: q,
@@ -9884,7 +9886,7 @@ const Oe = p("WANGS-TAB-MENU", {
9884
9886
  orderlist: Ce,
9885
9887
  picklist: Fe,
9886
9888
  timeline: qe,
9887
- changelog: M,
9889
+ changelog: R,
9888
9890
  // Panels
9889
9891
  accordion: _,
9890
9892
  panel: _e,
@@ -9898,7 +9900,7 @@ const Oe = p("WANGS-TAB-MENU", {
9898
9900
  contextmenu: Y,
9899
9901
  menu: ye,
9900
9902
  menubar: we,
9901
- steps: Re,
9903
+ steps: Me,
9902
9904
  breadcrumb: ot,
9903
9905
  tieredmenu: Ye,
9904
9906
  panelmenu: Te,
@@ -9924,7 +9926,7 @@ const Oe = p("WANGS-TAB-MENU", {
9924
9926
  avatar: I,
9925
9927
  avatargroup: F,
9926
9928
  tag: De,
9927
- chip: R,
9929
+ chip: M,
9928
9930
  progressbar: Se,
9929
9931
  skeleton: Ue,
9930
9932
  scrolltop: Be,