@selfeesas/shared-components 0.4.28 → 0.4.29

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.
@@ -860,13 +860,16 @@ export declare const NavButton: DefineComponent<ExtractPropTypes<__VLS_WithDefau
860
860
  to: undefined;
861
861
  labelTo: undefined;
862
862
  params: () => {};
863
+ query: () => {};
863
864
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption_2<NavButtonProps>, {
864
865
  to: undefined;
865
866
  labelTo: undefined;
866
867
  params: () => {};
868
+ query: () => {};
867
869
  }>>> & Readonly<{}>, {
868
870
  to: string;
869
871
  params: RouteParamsRaw;
872
+ query: Record<string, string>;
870
873
  labelTo: string;
871
874
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
872
875
 
@@ -876,6 +879,7 @@ export declare interface NavButtonProps {
876
879
  labelFrom: string;
877
880
  labelTo?: string;
878
881
  params?: RouteParamsRaw;
882
+ query?: Record<string, string>;
879
883
  }
880
884
 
881
885
  export declare interface NavContext {
@@ -1044,7 +1044,8 @@ const Et = lt({
1044
1044
  to: { default: void 0 },
1045
1045
  labelFrom: {},
1046
1046
  labelTo: { default: void 0 },
1047
- params: { default: () => ({}) }
1047
+ params: { default: () => ({}) },
1048
+ query: { default: () => ({}) }
1048
1049
  },
1049
1050
  setup(l) {
1050
1051
  const B = l, t = Sr("navContext", null), v = Sr("router");
@@ -1061,7 +1062,8 @@ const Et = lt({
1061
1062
  }
1062
1063
  v.push({
1063
1064
  name: a,
1064
- params: B.params
1065
+ params: B.params,
1066
+ query: B.query
1065
1067
  });
1066
1068
  }
1067
1069
  return (f, a) => (Ge(), kt("div", El, [
@@ -1091,7 +1093,7 @@ const Et = lt({
1091
1093
  for (const [v, m] of B)
1092
1094
  t[v] = m;
1093
1095
  return t;
1094
- }, dd = /* @__PURE__ */ sn(Ml, [["__scopeId", "data-v-879abfeb"]]), Gt = {
1096
+ }, dd = /* @__PURE__ */ sn(Ml, [["__scopeId", "data-v-8dd99f80"]]), Gt = {
1095
1097
  dark: {
1096
1098
  type: Boolean,
1097
1099
  default: null