@wssto2/vue-core 0.19.0 → 0.20.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 (147) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +3 -0
  3. package/dist/{AccessGate.vue_vue_type_script_setup_true_lang-Bg8JFAOT.js → AccessGate.vue_vue_type_script_setup_true_lang-Dw_pnsh9.js} +1 -1
  4. package/dist/{AccountMenuItem.vue_vue_type_script_setup_true_lang-BIYgaihv.js → AccountMenuItem.vue_vue_type_script_setup_true_lang-rmH1XbU9.js} +1 -1
  5. package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-B5IMNnTf.js → ActionRow.vue_vue_type_script_setup_true_lang-_TDoIg53.js} +2 -2
  6. package/dist/{Activity-CiYn5E6A.js → Activity-BDVYmNgy.js} +9 -9
  7. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-oXWQTfBs.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-DryXyklZ.js} +6 -6
  8. package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-WuGvAOrj.js → AlertDialog.vue_vue_type_script_setup_true_lang-QYvbly_-.js} +1 -1
  9. package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CX8mpXRE.js → AsyncSection.vue_vue_type_script_setup_true_lang-DRP4BnMb.js} +4 -4
  10. package/dist/{Banner.vue_vue_type_script_setup_true_lang-sv0phngk.js → Banner.vue_vue_type_script_setup_true_lang-ukLpznql.js} +1 -1
  11. package/dist/{Button.vue_vue_type_script_setup_true_lang-JrqhO99l.js → Button.vue_vue_type_script_setup_true_lang-DkRuLqQK.js} +1 -1
  12. package/dist/{Changes-Cy8STpLX.js → Changes-DRij0rEQ.js} +5 -5
  13. package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-Dr6nFNBB.js → CollectionPage.vue_vue_type_script_setup_true_lang-Aoof1prZ.js} +12 -12
  14. package/dist/{DataTable.vue_vue_type_script_setup_true_lang-D372wlxR.js → DataTable.vue_vue_type_script_setup_true_lang-DGcNcRkO.js} +1 -1
  15. package/dist/{DateField.vue_vue_type_script_setup_true_lang-D0KcfW8R.js → DateField.vue_vue_type_script_setup_true_lang-J04KjxmR.js} +4 -4
  16. package/dist/{DeadLetters-DhJkMpd_.js → DeadLetters-Dpm4UY__.js} +4 -4
  17. package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-92szOrYd.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-CxNVKoYI.js} +1 -1
  18. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-DbZiO2RF.js → EmptyState.vue_vue_type_script_setup_true_lang-ByKvrNSg.js} +1 -1
  19. package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-lvAuBG-0.js → FormGroup.vue_vue_type_script_setup_true_lang-7bIssY9f.js} +4 -4
  20. package/dist/{FormRow.vue_vue_type_script_setup_true_lang-CpgNVQF4.js → FormRow.vue_vue_type_script_setup_true_lang-okuxbKyI.js} +1 -1
  21. package/dist/{FormView.vue_vue_type_script_setup_true_lang-D01Jr4UU.js → FormView.vue_vue_type_script_setup_true_lang-CiYprNRr.js} +2 -2
  22. package/dist/{General-CwTPC5UP.js → General-BmVEbYqv.js} +8 -8
  23. package/dist/{HeaderAction.vue_vue_type_script_setup_true_lang-Da59TLBh.js → HeaderAction.vue_vue_type_script_setup_true_lang-DVfkuOy-.js} +2 -2
  24. package/dist/{Icon.vue_vue_type_script_lang-BhhsFYwp.js → Icon.vue_vue_type_script_lang-0pW1XBaE.js} +35 -33
  25. package/dist/{IconTile.vue_vue_type_script_setup_true_lang-BmxCuUZ9.js → IconTile.vue_vue_type_script_setup_true_lang-BWHQiA7d.js} +1 -1
  26. package/dist/{IncidentRecord-hXEGuLGg.js → IncidentRecord-DWY6Bws1.js} +17 -17
  27. package/dist/{IncidentsList-C41VyDwK.js → IncidentsList-C21UNIhT.js} +6 -6
  28. package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CrGrjrlO.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CpEd_Psg.js} +1 -1
  29. package/dist/{Menu.vue_vue_type_script_setup_true_lang-Cqu4Ebsb.js → Menu.vue_vue_type_script_setup_true_lang-DobycRxf.js} +1 -1
  30. package/dist/{MenuButton.vue_vue_type_script_setup_true_lang-C-XRr5f2.js → MenuButton.vue_vue_type_script_setup_true_lang-qDKt6gX9.js} +1 -1
  31. package/dist/{Modal.vue_vue_type_script_setup_true_lang-CZ7WrDwu.js → Modal.vue_vue_type_script_setup_true_lang-C0tQAYQ4.js} +2 -2
  32. package/dist/{NewRolePage-BYYZJkK7.js → NewRolePage-K5zts3e_.js} +4 -4
  33. package/dist/{NoAccess.vue_vue_type_script_setup_true_lang-BHzZtZ50.js → NoAccess.vue_vue_type_script_setup_true_lang-BYnTQCtW.js} +1 -1
  34. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-BhNZgEW6.js → NumberField.vue_vue_type_script_setup_true_lang-CxgVJrdv.js} +2 -2
  35. package/dist/{Panel.vue_vue_type_script_setup_true_lang-D_Wg42hu.js → Panel.vue_vue_type_script_setup_true_lang-DTCmFSwg.js} +1 -1
  36. package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-mYFuG-Y3.js → PersonAccess.vue_vue_type_script_setup_true_lang-Kp9g93wE.js} +12 -12
  37. package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-DmMg1T_V.js → PhotoViewer.vue_vue_type_script_setup_true_lang-D2-uQbSV.js} +1 -1
  38. package/dist/{ProfilePage-DGEsIycR.js → ProfilePage-C3mLBer6.js} +17 -17
  39. package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-B3BnYg1x.js → RecordHeader.vue_vue_type_script_setup_true_lang-Dz5Qw8II.js} +2 -2
  40. package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-1iZtj3rh.js → ResourcePage.vue_vue_type_script_setup_true_lang-R3eJKPq5.js} +4 -4
  41. package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-BslSDDiM.js → RoleEditor.vue_vue_type_script_setup_true_lang-CGMpBpnK.js} +12 -12
  42. package/dist/{RolePage-C08ZUqw1.js → RolePage-C62_sGxx.js} +13 -13
  43. package/dist/{RolesPage-FOuY1VKg.js → RolesPage-CS8ryIQq.js} +9 -9
  44. package/dist/{SectionList.vue_vue_type_script_setup_true_lang-CodyVezo.js → SectionList.vue_vue_type_script_setup_true_lang-C6eOVjpa.js} +3 -3
  45. package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-DCTFxfPB.js → SectionNavigator.vue_vue_type_script_setup_true_lang-DqDcFvS0.js} +6 -6
  46. package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-CLR6EvzO.js → SegmentedField.vue_vue_type_script_setup_true_lang-Du4YUcw9.js} +2 -2
  47. package/dist/{SelectField.vue_vue_type_script_setup_true_lang-D5xYofdb.js → SelectField.vue_vue_type_script_setup_true_lang-BA5YMCXA.js} +6 -6
  48. package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-CDr4WNIb.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-BoeV2_MN.js} +8 -8
  49. package/dist/{ServiceAccountRecord-kWwIQGZb.js → ServiceAccountRecord-BDkaaOte.js} +18 -18
  50. package/dist/{ServiceAccountsList-CKy9_YHP.js → ServiceAccountsList-KaZwNlK5.js} +10 -10
  51. package/dist/{Sessions-BDc8gdYH.js → Sessions-DhOpUlRc.js} +7 -7
  52. package/dist/{SettingsPage-t-8kmFVT.js → SettingsPage-DPzg7zwX.js} +18 -18
  53. package/dist/Sheet.vue_vue_type_script_setup_true_lang-C1jpmLYN.js +163 -0
  54. package/dist/{SignIn-CqtkvtCZ.js → SignIn-4aUxE2LU.js} +8 -8
  55. package/dist/{SignInPage-DcdNKZIb.js → SignInPage-B80pQ8tG.js} +6 -6
  56. package/dist/{SignIns-D4-nGu0B.js → SignIns-CLX8Puf1.js} +5 -5
  57. package/dist/{StatusLine.vue_vue_type_script_setup_true_lang-DsdQmLq6.js → StatusLine.vue_vue_type_script_setup_true_lang-BN8nG1CW.js} +1 -1
  58. package/dist/{SwipeActions.vue_vue_type_script_setup_true_lang-D8SiC0G7.js → SwipeActions.vue_vue_type_script_setup_true_lang-BBqcW3MR.js} +1 -1
  59. package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-CLtcuofe.js → SwitchField.vue_vue_type_script_setup_true_lang-Dw7BbBU4.js} +2 -2
  60. package/dist/Tabs.vue_vue_type_script_setup_true_lang-Cma_ma6V.js +169 -0
  61. package/dist/{TextField.vue_vue_type_script_setup_true_lang-CVGh-p3J.js → TextField.vue_vue_type_script_setup_true_lang-DS6RPR-h.js} +4 -4
  62. package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-YxUlNHSk.js → TextareaField.vue_vue_type_script_setup_true_lang-BqpZt1Hv.js} +2 -2
  63. package/dist/{TimeField.vue_vue_type_script_setup_true_lang-DHNC_MLt.js → TimeField.vue_vue_type_script_setup_true_lang-BeS1cfqL.js} +4 -4
  64. package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-d_KuxWjH.js → Timestamp.vue_vue_type_script_setup_true_lang-XbbupD9A.js} +1 -1
  65. package/dist/{UserRecord-CwZCr9Im.js → UserRecord-BFqw2Pi8.js} +10 -10
  66. package/dist/{UsersList-Cn19sFgv.js → UsersList-C52C1lN1.js} +3 -3
  67. package/dist/{ViewTabs.vue_vue_type_script_setup_true_lang-BjdDXE3T.js → ViewTabs.vue_vue_type_script_setup_true_lang-CBYrLPL4.js} +1 -1
  68. package/dist/access/index.js +7 -7
  69. package/dist/app/index.js +2 -2
  70. package/dist/{application-CDSweJb9.js → application-cTqMhmFf.js} +8 -8
  71. package/dist/{back-LcLlFodC.js → back-CeozxCgQ.js} +2 -2
  72. package/dist/button/index.js +1 -1
  73. package/dist/collection/index.js +9 -9
  74. package/dist/content/DiffView.vue.d.ts +22 -0
  75. package/dist/content/PreviewFrame.vue.d.ts +46 -0
  76. package/dist/content/diff.d.ts +27 -0
  77. package/dist/content/index.d.ts +4 -0
  78. package/dist/content/index.js +552 -218
  79. package/dist/content/previewFrame.d.ts +50 -0
  80. package/dist/{contributions-B0x5x5xD.js → contributions-BSmIRPg1.js} +1 -1
  81. package/dist/controls/SortableList.vue.d.ts +31 -0
  82. package/dist/controls/Tabs.vue.d.ts +2 -0
  83. package/dist/controls/index.d.ts +1 -0
  84. package/dist/controls/index.js +132 -33
  85. package/dist/form/CodeEditor.vue.d.ts +61 -0
  86. package/dist/form/I18nField.vue.d.ts +1 -1
  87. package/dist/form/MarkerList.vue.d.ts +20 -0
  88. package/dist/form/TextareaField.vue.d.ts +1 -1
  89. package/dist/form/index.d.ts +2 -0
  90. package/dist/form/index.js +1550 -1428
  91. package/dist/{guards-CNJ0ATVC.js → guards-BP9x7CLF.js} +1 -1
  92. package/dist/i18n/index.js +18 -18
  93. package/dist/icon/core.d.ts +2 -0
  94. package/dist/icon/index.js +1 -1
  95. package/dist/identity/index.js +3 -3
  96. package/dist/identity/profile/EmailChangeDialog.vue.d.ts +2 -2
  97. package/dist/incidents/index.js +1 -1
  98. package/dist/{index-BA2w8uwD.js → index-CMx77x5P.js} +27 -27
  99. package/dist/{index-1HS7O2-e.js → index-CxUfs3Xz.js} +10 -10
  100. package/dist/{index-SLJWm40T.js → index-DLkQwWt9.js} +9 -9
  101. package/dist/index.d.ts +1 -1
  102. package/dist/index.js +1 -1
  103. package/dist/modal/Sheet.vue.d.ts +13 -0
  104. package/dist/modal/TabbedSheet.vue.d.ts +46 -0
  105. package/dist/modal/index.d.ts +1 -0
  106. package/dist/modal/index.js +123 -41
  107. package/dist/navigation-C05vGEN8.js +55 -0
  108. package/dist/{neighbors-Dg_LU9ry.js → neighbors-BqfO6zf3.js} +2 -2
  109. package/dist/notifications/index.js +1 -1
  110. package/dist/onboarding/index.js +2 -2
  111. package/dist/{options-mOOX6JSS.js → options-DIp_lVAj.js} +2 -2
  112. package/dist/overlay/index.js +4 -4
  113. package/dist/page/SectionNavigator.vue.d.ts +1 -1
  114. package/dist/page/SplitPane.vue.d.ts +54 -0
  115. package/dist/page/WorkbenchPage.vue.d.ts +72 -0
  116. package/dist/page/index.d.ts +2 -0
  117. package/dist/page/index.js +343 -104
  118. package/dist/phone/index.js +3 -3
  119. package/dist/platform/index.js +3 -3
  120. package/dist/platform/navigation.d.ts +10 -0
  121. package/dist/{platform-DU9QFts8.js → platform-YWfOO7b2.js} +94 -88
  122. package/dist/pwa/index.js +3 -3
  123. package/dist/resource/index.js +1 -1
  124. package/dist/{resources-BZLlAtoS.js → resources-BAxfEEv1.js} +1 -1
  125. package/dist/router/index.js +4 -4
  126. package/dist/router/navigation.d.ts +2 -0
  127. package/dist/{rowLayout-PIuD7MGo.js → rowLayout-3W9TvFNt.js} +5 -5
  128. package/dist/{sectionIndex-BS0ic5W7.js → sectionIndex-CSr457Lb.js} +2 -2
  129. package/dist/{sections-BpiRLntE.js → sections-DXso1JSV.js} +2 -2
  130. package/dist/shell/NavigationList.vue.d.ts +1 -1
  131. package/dist/shell/index.js +522 -501
  132. package/dist/shell/navigationGroups.d.ts +4 -1
  133. package/dist/state/index.js +8 -8
  134. package/dist/{state-z1iPF1DT.js → state-DqCZdet7.js} +1 -1
  135. package/dist/styles.css +1 -1
  136. package/dist/{suggestions-DeMgs_ki.js → suggestions-D0-qmRFy.js} +1 -1
  137. package/dist/testing/index.js +2 -2
  138. package/dist/{useCommand-DQKvro1n.js → useCommand-D6K6o6dx.js} +4 -4
  139. package/dist/{useGroupSheet-CRw3MUmX.js → useGroupSheet-Daxi2mzi.js} +5 -5
  140. package/dist/{usePreferences-DB29UTFD.js → usePreferences-D38x73re.js} +1 -1
  141. package/dist/{useRecordDialog-0azHxxvm.js → useRecordDialog-CfBp0kuP.js} +1 -1
  142. package/dist/{useResourceForm-zVuWerSn.js → useResourceForm-Ddxk7mc0.js} +1 -1
  143. package/dist/{useTypedEntry-BsMV66Yc.js → useTypedEntry-r4AqWlV7.js} +2 -2
  144. package/package.json +1 -1
  145. package/dist/Sheet.vue_vue_type_script_setup_true_lang-BG8HUNfs.js +0 -145
  146. package/dist/Tabs.vue_vue_type_script_setup_true_lang-tpkGp98F.js +0 -155
  147. package/dist/navigation-d-JAPBGA.js +0 -53
@@ -57,7 +57,7 @@ function E() {
57
57
  export {
58
58
  u as B,
59
59
  s as a,
60
- v as b,
61
- E as u,
60
+ E as b,
61
+ v as u,
62
62
  q as w
63
63
  };
@@ -1,4 +1,4 @@
1
- import { _ as o } from "../Button.vue_vue_type_script_setup_true_lang-JrqhO99l.js";
1
+ import { _ as o } from "../Button.vue_vue_type_script_setup_true_lang-DkRuLqQK.js";
2
2
  import { m as a, s as e, u, a as c } from "../shortcut-oixX55SZ.js";
3
3
  export {
4
4
  o as Button,
@@ -1,20 +1,20 @@
1
1
  import { d as H } from "../http-D6qOS6xs.js";
2
2
  import { D as Fe, h as $e, l as Ie, a as je, r as Ne, b as ze } from "../http-D6qOS6xs.js";
3
- import { u as J, _ as K } from "../CollectionPage.vue_vue_type_script_setup_true_lang-Dr6nFNBB.js";
4
- import { a as Ve } from "../CollectionPage.vue_vue_type_script_setup_true_lang-Dr6nFNBB.js";
5
- import { L as Be } from "../state-z1iPF1DT.js";
6
- import { a as Ge, u as He } from "../neighbors-Dg_LU9ry.js";
3
+ import { u as J, _ as K } from "../CollectionPage.vue_vue_type_script_setup_true_lang-Aoof1prZ.js";
4
+ import { a as Ve } from "../CollectionPage.vue_vue_type_script_setup_true_lang-Aoof1prZ.js";
5
+ import { L as Be } from "../state-DqCZdet7.js";
6
+ import { a as Ge, u as He } from "../neighbors-BqfO6zf3.js";
7
7
  import { r as x } from "../route-goWMxDUN.js";
8
- import { b as Ke, a as Xe } from "../rowLayout-PIuD7MGo.js";
9
- import { _ as Qe } from "../DataTable.vue_vue_type_script_setup_true_lang-D372wlxR.js";
8
+ import { b as Ke, a as Xe } from "../rowLayout-3W9TvFNt.js";
9
+ import { _ as Qe } from "../DataTable.vue_vue_type_script_setup_true_lang-DGcNcRkO.js";
10
10
  import { defineComponent as z, openBlock as c, createElementBlock as m, Fragment as S, renderList as g, createBlock as M, unref as k, withCtx as C, normalizeClass as O, createVNode as P, createCommentVNode as X, computed as v, useSlots as Z, createSlots as Q, renderSlot as W, normalizeProps as Y, guardReactiveProps as ee, toDisplayString as _ } from "vue";
11
- import { _ as R } from "../Icon.vue_vue_type_script_lang-BhhsFYwp.js";
11
+ import { _ as R } from "../Icon.vue_vue_type_script_lang-0pW1XBaE.js";
12
12
  import { _ as te } from "../Tooltip.vue_vue_type_script_setup_true_lang-C1C1qeBj.js";
13
13
  import { u as ne } from "../datePresets-DB13HHHd.js";
14
14
  import { D as Ye } from "../datePresets-DB13HHHd.js";
15
15
  import { _ as tt, h as nt } from "../Highlight.vue_vue_type_script_setup_true_lang-DZGBmwcX.js";
16
- import { t as oe } from "../resources-BZLlAtoS.js";
17
- import { _ as st, c as at } from "../resources-BZLlAtoS.js";
16
+ import { t as oe } from "../resources-BAxfEEv1.js";
17
+ import { _ as st, c as at } from "../resources-BAxfEEv1.js";
18
18
  import { useI18n as se } from "vue-i18n";
19
19
  function Ae(o, t) {
20
20
  const s = o?.authors;
@@ -0,0 +1,22 @@
1
+ import { type DiffLine } from "./diff";
2
+ /**
3
+ * A diff of two texts, drawn from the lines the server computed (`{ op, text }`, op `" "` unchanged, `"-"` removed, `"+"` added):
4
+ * line numbers, the changes marked, and runs of unchanged lines folded to "12 unchanged lines" (a click opens them).
5
+ * `mode="unified"` is one column, `"split"` puts the old text left and the new right. A change is told by its sign and by
6
+ * screen-reader text ("added", "removed"), never by colour alone. Nothing changed shows a plain sentence.
7
+ *
8
+ * <DiffView :lines="version.diff" mode="split" :context="3" />
9
+ *
10
+ * The text is not highlighted (that would load the code editor for a read-only view); it is shown as it is, in the mono font.
11
+ */
12
+ type __VLS_Props = {
13
+ lines: readonly DiffLine[];
14
+ mode?: "unified" | "split";
15
+ /** Unchanged lines kept around each change; the rest fold. `null` folds nothing. Default 3. */
16
+ context?: number | null;
17
+ };
18
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ mode: "unified" | "split";
20
+ context: number | null;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,46 @@
1
+ import { type PreviewAction, type PreviewCommand, type PreviewDevice } from "./previewFrame";
2
+ declare const _default: <In extends {
3
+ type: string;
4
+ } = PreviewAction, Out extends {
5
+ type: string;
6
+ } = PreviewCommand>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
+ readonly onMessage?: ((message: In) => any) | undefined;
9
+ readonly onError?: (() => any) | undefined;
10
+ readonly onLoad?: ((milliseconds: number) => any) | undefined;
11
+ readonly "onUpdate:device"?: ((device: "desktop" | "tablet" | "mobile") => any) | undefined;
12
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onError" | "onLoad" | "onMessage" | "onUpdate:device"> & {
13
+ src: string;
14
+ /** The iframe's accessible name. */
15
+ title: string;
16
+ device?: PreviewDevice;
17
+ sandbox?: string;
18
+ /** The origin messages are accepted from. Default: the origin of `src`. */
19
+ origin?: string;
20
+ /** Reads a message of the page; return null to ignore it. Default: `parsePreviewAction`. */
21
+ parse?: (data: unknown) => In | null;
22
+ /** Milliseconds before a page that has not loaded counts as failed. Default 15000. */
23
+ timeout?: number;
24
+ } & Partial<{}>> & import("vue").PublicProps;
25
+ expose(exposed: import("vue").ShallowUnwrapRef<{
26
+ reload: () => void;
27
+ post: (message: Out) => void;
28
+ }>): void;
29
+ attrs: any;
30
+ slots: {
31
+ toolbar?: () => unknown;
32
+ footer?: (scope: {
33
+ width: number;
34
+ scale: number;
35
+ device: PreviewDevice;
36
+ loadMs: number | null;
37
+ }) => unknown;
38
+ };
39
+ emit: ((evt: "message", message: In) => void) & ((evt: "error") => void) & ((evt: "load", milliseconds: number) => void) & ((evt: "update:device", device: "desktop" | "tablet" | "mobile") => void);
40
+ }>) => import("vue").VNode & {
41
+ __ctx?: Awaited<typeof __VLS_setup>;
42
+ };
43
+ export default _default;
44
+ type __VLS_PrettifyLocal<T> = {
45
+ [K in keyof T]: T[K];
46
+ } & {};
@@ -0,0 +1,27 @@
1
+ /** One line of a diff: unchanged (`" "`), removed (`"-"`) or added (`"+"`). */
2
+ export interface DiffLine {
3
+ op: " " | "-" | "+";
4
+ text: string;
5
+ }
6
+ /** A line with its numbers in the old and in the new text (a removed line has no new number, an added line no old one). */
7
+ export interface NumberedLine extends DiffLine {
8
+ oldNo: number | null;
9
+ newNo: number | null;
10
+ }
11
+ /** A run of unchanged lines folded away; `lines` are what a click shows. `key` is the index of its first line. */
12
+ export interface DiffGap {
13
+ gap: true;
14
+ key: number;
15
+ lines: NumberedLine[];
16
+ }
17
+ export type DiffRow = NumberedLine | DiffGap;
18
+ export declare const isGap: (row: object) => row is DiffGap;
19
+ /** The unified rows: every line numbered, and each run of unchanged lines farther than `context` lines from a change folded into a gap (`context: null` folds nothing). A run of one line is not worth a gap. */
20
+ export declare function diffRows(lines: readonly DiffLine[], context: number | null, expanded?: ReadonlySet<number>): DiffRow[];
21
+ /** Two columns of the split view; a side without a line is null (the other side changed alone). */
22
+ export type SplitRow = {
23
+ left: NumberedLine | null;
24
+ right: NumberedLine | null;
25
+ } | DiffGap;
26
+ /** The rows side by side: a run of removed lines meets the added lines that follow it, one for one. */
27
+ export declare function splitRows(rows: readonly DiffRow[]): SplitRow[];
@@ -2,6 +2,8 @@ export { default as ActivityStream, type ActivityComment, type ActivityEvent, ty
2
2
  export { default as Avatar } from "./Avatar.vue";
3
3
  export { default as CommentThread, type CommentItem } from "./CommentThread.vue";
4
4
  export { default as Composer } from "./Composer.vue";
5
+ export { default as DiffView } from "./DiffView.vue";
6
+ export type { DiffLine } from "./diff";
5
7
  export { default as Divider } from "./Divider.vue";
6
8
  export { initialsFor } from "./initials";
7
9
  export { default as KeyValue } from "./KeyValue.vue";
@@ -9,5 +11,7 @@ export { default as KeyValueList, type KeyValueItem } from "./KeyValueList.vue";
9
11
  export { default as MicroLabel } from "./MicroLabel.vue";
10
12
  export { default as Money } from "./Money.vue";
11
13
  export { default as Panel } from "./Panel.vue";
14
+ export { default as PreviewFrame } from "./PreviewFrame.vue";
15
+ export { PREVIEW_WIDTHS, parsePreviewAction, previewScale, type PreviewAction, type PreviewCommand, type PreviewDevice } from "./previewFrame";
12
16
  export { default as StatSummary, type StatItem, type StatTone } from "./StatSummary.vue";
13
17
  export { default as Timestamp } from "./Timestamp.vue";