@abraca/junis 2.87.0 → 2.88.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.
Files changed (89) hide show
  1. package/dist/module.d.mts +4 -2
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +64 -6
  4. package/dist/runtime/assets/css/jun.css +2 -2
  5. package/dist/runtime/components/JunDocSurface.d.vue.ts +20 -2
  6. package/dist/runtime/components/JunDocSurface.vue +27 -2
  7. package/dist/runtime/components/JunDocSurface.vue.d.ts +20 -2
  8. package/dist/runtime/components/JunHead.vue +16 -4
  9. package/dist/runtime/components/JunNavDock.d.vue.ts +15 -0
  10. package/dist/runtime/components/JunNavDock.vue +94 -0
  11. package/dist/runtime/components/JunNavDock.vue.d.ts +15 -0
  12. package/dist/runtime/components/JunNavMenu.client.d.vue.ts +15 -0
  13. package/dist/runtime/components/JunNavMenu.client.vue +478 -0
  14. package/dist/runtime/components/JunNavMenu.client.vue.d.ts +15 -0
  15. package/dist/runtime/components/JunNavPreview.d.vue.ts +17 -0
  16. package/dist/runtime/components/JunNavPreview.vue +169 -0
  17. package/dist/runtime/components/JunNavPreview.vue.d.ts +17 -0
  18. package/dist/runtime/components/JunNavigation.d.vue.ts +4 -11
  19. package/dist/runtime/components/JunNavigation.vue +813 -138
  20. package/dist/runtime/components/JunNavigation.vue.d.ts +4 -11
  21. package/dist/runtime/components/JunNoteLinks.vue +1 -1
  22. package/dist/runtime/components/JunPageHero.vue +3 -3
  23. package/dist/runtime/components/JunSectionBar.d.vue.ts +41 -0
  24. package/dist/runtime/components/JunSectionBar.vue +144 -0
  25. package/dist/runtime/components/JunSectionBar.vue.d.ts +41 -0
  26. package/dist/runtime/components/renderers/JunConfigRenderer.vue +486 -6
  27. package/dist/runtime/components/renderers/JunEntryRenderer.vue +48 -0
  28. package/dist/runtime/composables/useJunCreatePage.js +7 -1
  29. package/dist/runtime/composables/useJunDocPage.d.ts +28 -0
  30. package/dist/runtime/composables/useJunDocPage.js +111 -20
  31. package/dist/runtime/composables/useJunGarden.d.ts +1 -1
  32. package/dist/runtime/composables/useJunGarden.js +3 -2
  33. package/dist/runtime/composables/useJunGestures.d.ts +53 -0
  34. package/dist/runtime/composables/useJunGestures.js +89 -0
  35. package/dist/runtime/composables/useJunMenuState.d.ts +4 -0
  36. package/dist/runtime/composables/useJunMenuState.js +5 -0
  37. package/dist/runtime/composables/useJunNavItems.d.ts +50 -0
  38. package/dist/runtime/composables/useJunNavItems.js +188 -0
  39. package/dist/runtime/composables/useJunNavSettings.d.ts +58 -1
  40. package/dist/runtime/composables/useJunNavSettings.js +110 -8
  41. package/dist/runtime/composables/useJunOptions.d.ts +1 -0
  42. package/dist/runtime/composables/useJunSiblings.d.ts +30 -0
  43. package/dist/runtime/composables/useJunSiblings.js +38 -0
  44. package/dist/runtime/composables/useJunSiteConfig.d.ts +51 -3
  45. package/dist/runtime/composables/useJunTheme.js +4 -1
  46. package/dist/runtime/composables/useJunViewingAccent.js +10 -0
  47. package/dist/runtime/layouts/jun.vue +21 -1
  48. package/dist/runtime/pages/doc.vue +2 -0
  49. package/dist/runtime/pages/index.vue +2 -0
  50. package/dist/runtime/server/api/health.get.d.ts +15 -0
  51. package/dist/runtime/server/api/health.get.js +7 -2
  52. package/dist/runtime/server/api/links.get.js +27 -3
  53. package/dist/runtime/server/api/resolve/[...slug].get.d.ts +20 -0
  54. package/dist/runtime/server/api/resolve/[...slug].get.js +31 -0
  55. package/dist/runtime/server/api/search.get.d.ts +1 -1
  56. package/dist/runtime/server/api/search.get.js +42 -39
  57. package/dist/runtime/server/api/tree.get.js +3 -1
  58. package/dist/runtime/server/janitor/junJanitorChores.d.ts +14 -7
  59. package/dist/runtime/server/janitor/junJanitorChores.js +21 -3
  60. package/dist/runtime/server/janitor/junJanitorMachine.js +36 -4
  61. package/dist/runtime/server/janitor/junJanitorPerform.d.ts +15 -1
  62. package/dist/runtime/server/janitor/junJanitorPerform.js +13 -5
  63. package/dist/runtime/server/janitor/junJanitorYText.d.ts +40 -3
  64. package/dist/runtime/server/janitor/junJanitorYText.js +60 -14
  65. package/dist/runtime/server/plugins/jun-janitor.js +132 -81
  66. package/dist/runtime/server/routes/jun-card.png.get.d.ts +2 -0
  67. package/dist/runtime/server/routes/jun-card.png.get.js +40 -0
  68. package/dist/runtime/server/utils/junCard.d.ts +39 -0
  69. package/dist/runtime/server/utils/junCard.js +159 -0
  70. package/dist/runtime/server/utils/junIcon.d.ts +27 -2
  71. package/dist/runtime/server/utils/junIcon.js +5 -5
  72. package/dist/runtime/server/utils/junJanitorStatus.d.ts +59 -0
  73. package/dist/runtime/server/utils/junJanitorStatus.js +27 -0
  74. package/dist/runtime/types.d.ts +225 -0
  75. package/dist/runtime/utils/junAdopt.d.ts +43 -0
  76. package/dist/runtime/utils/junAdopt.js +7 -0
  77. package/dist/runtime/utils/junGesture.d.ts +84 -0
  78. package/dist/runtime/utils/junGesture.js +40 -0
  79. package/dist/runtime/utils/junLetters.d.ts +86 -0
  80. package/dist/runtime/utils/junLetters.js +173 -0
  81. package/dist/runtime/utils/junNavValue.d.ts +56 -0
  82. package/dist/runtime/utils/junNavValue.js +36 -0
  83. package/dist/runtime/utils/junSearchRank.d.ts +79 -0
  84. package/dist/runtime/utils/junSearchRank.js +73 -0
  85. package/dist/runtime/utils/junSocial.d.ts +59 -0
  86. package/dist/runtime/utils/junSocial.js +56 -0
  87. package/dist/runtime/utils/junViewSpecs.d.ts +38 -0
  88. package/dist/runtime/utils/junViewSpecs.js +92 -1
  89. package/package.json +10 -8
@@ -0,0 +1,17 @@
1
+ import type { JunNavMobileMode, JunNavOverflow, JunNavPlacement } from '../types.js';
2
+ type __VLS_Props = {
3
+ /** What to draw. Exactly one of these is honoured, in this order. */
4
+ mobile?: JunNavMobileMode;
5
+ overflow?: JunNavOverflow;
6
+ placement?: JunNavPlacement;
7
+ /** Draw it as a phone rather than a window. */
8
+ phone?: boolean;
9
+ /** Lit, because it is the option currently chosen. */
10
+ active?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ active: boolean;
14
+ phone: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -1,19 +1,12 @@
1
- interface NavigationItem {
2
- id?: string;
3
- name: string;
4
- href: string;
5
- type?: string;
6
- icon?: string;
7
- current: boolean;
8
- }
1
+ import { type JunNavigationItem as NavigationItem } from '../composables/useJunNavItems.js';
9
2
  type __VLS_Props = {
10
3
  navigation: NavigationItem[];
11
4
  };
12
- declare var __VLS_9: {}, __VLS_83: {};
5
+ declare var __VLS_14: {}, __VLS_118: {};
13
6
  type __VLS_Slots = {} & {
14
- logo?: (props: typeof __VLS_9) => any;
7
+ logo?: (props: typeof __VLS_14) => any;
15
8
  } & {
16
- actions?: (props: typeof __VLS_83) => any;
9
+ actions?: (props: typeof __VLS_118) => any;
17
10
  };
18
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;