@scalar/api-reference 1.44.13 → 1.44.15

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.
@@ -1,4 +1,5 @@
1
1
  import { type AnyApiReferenceConfiguration } from '@scalar/types/api-reference';
2
+ import type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation';
2
3
  import '@scalar/agent-chat/style.css';
3
4
  type __VLS_Props = {
4
5
  /**
@@ -30,6 +31,7 @@ type __VLS_Slots = {
30
31
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
31
32
  eventBus: import("@scalar/workspace-store/events").WorkspaceEventBus;
32
33
  workspaceStore: import("@scalar/workspace-store/client").WorkspaceStore;
34
+ sidebarItems: import("vue").ComputedRef<TraversedEntry[]>;
33
35
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
36
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
37
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue"],"names":[],"mappings":"AAssCA,OAAO,EAEL,KAAK,4BAA4B,EAGlC,MAAM,6BAA6B,CAAA;AA4BpC,OAAO,8BAA8B,CAAA;AAiCrC,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,4BAA4B,CAAA;CAC7C,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;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wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -4,7 +4,7 @@ import _sfc_main from "./ApiReference.vue2.js";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
7
- const ApiReference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8a22e3d2"]]);
7
+ const ApiReference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b74c9183"]]);
8
8
  export {
9
9
  ApiReference as default
10
10
  };
@@ -224,9 +224,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
224
224
  });
225
225
  }
226
226
  }
227
- return docItems.filter(
228
- (item) => config.hideModels ? item.id !== "models" : true
229
- );
227
+ return docItems;
230
228
  });
231
229
  const infoSectionId = computed(
232
230
  () => sidebarItems.value.find(
@@ -266,7 +264,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
266
264
  }
267
265
  __expose({
268
266
  eventBus,
269
- workspaceStore
267
+ workspaceStore,
268
+ sidebarItems
270
269
  });
271
270
  const changeSelectedDocument = async (slug, elementId) => {
272
271
  const normalized = configList.value[slug];