@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.
- package/CHANGELOG.md +16 -0
- package/README.md +3 -0
- 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
- package/dist/{AccountMenuItem.vue_vue_type_script_setup_true_lang-BIYgaihv.js → AccountMenuItem.vue_vue_type_script_setup_true_lang-rmH1XbU9.js} +1 -1
- package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-B5IMNnTf.js → ActionRow.vue_vue_type_script_setup_true_lang-_TDoIg53.js} +2 -2
- package/dist/{Activity-CiYn5E6A.js → Activity-BDVYmNgy.js} +9 -9
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-oXWQTfBs.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-DryXyklZ.js} +6 -6
- package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-WuGvAOrj.js → AlertDialog.vue_vue_type_script_setup_true_lang-QYvbly_-.js} +1 -1
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CX8mpXRE.js → AsyncSection.vue_vue_type_script_setup_true_lang-DRP4BnMb.js} +4 -4
- package/dist/{Banner.vue_vue_type_script_setup_true_lang-sv0phngk.js → Banner.vue_vue_type_script_setup_true_lang-ukLpznql.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-JrqhO99l.js → Button.vue_vue_type_script_setup_true_lang-DkRuLqQK.js} +1 -1
- package/dist/{Changes-Cy8STpLX.js → Changes-DRij0rEQ.js} +5 -5
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-Dr6nFNBB.js → CollectionPage.vue_vue_type_script_setup_true_lang-Aoof1prZ.js} +12 -12
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-D372wlxR.js → DataTable.vue_vue_type_script_setup_true_lang-DGcNcRkO.js} +1 -1
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-D0KcfW8R.js → DateField.vue_vue_type_script_setup_true_lang-J04KjxmR.js} +4 -4
- package/dist/{DeadLetters-DhJkMpd_.js → DeadLetters-Dpm4UY__.js} +4 -4
- package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-92szOrYd.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-CxNVKoYI.js} +1 -1
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-DbZiO2RF.js → EmptyState.vue_vue_type_script_setup_true_lang-ByKvrNSg.js} +1 -1
- 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
- package/dist/{FormRow.vue_vue_type_script_setup_true_lang-CpgNVQF4.js → FormRow.vue_vue_type_script_setup_true_lang-okuxbKyI.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-D01Jr4UU.js → FormView.vue_vue_type_script_setup_true_lang-CiYprNRr.js} +2 -2
- package/dist/{General-CwTPC5UP.js → General-BmVEbYqv.js} +8 -8
- package/dist/{HeaderAction.vue_vue_type_script_setup_true_lang-Da59TLBh.js → HeaderAction.vue_vue_type_script_setup_true_lang-DVfkuOy-.js} +2 -2
- package/dist/{Icon.vue_vue_type_script_lang-BhhsFYwp.js → Icon.vue_vue_type_script_lang-0pW1XBaE.js} +35 -33
- package/dist/{IconTile.vue_vue_type_script_setup_true_lang-BmxCuUZ9.js → IconTile.vue_vue_type_script_setup_true_lang-BWHQiA7d.js} +1 -1
- package/dist/{IncidentRecord-hXEGuLGg.js → IncidentRecord-DWY6Bws1.js} +17 -17
- package/dist/{IncidentsList-C41VyDwK.js → IncidentsList-C21UNIhT.js} +6 -6
- 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
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-Cqu4Ebsb.js → Menu.vue_vue_type_script_setup_true_lang-DobycRxf.js} +1 -1
- 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
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-CZ7WrDwu.js → Modal.vue_vue_type_script_setup_true_lang-C0tQAYQ4.js} +2 -2
- package/dist/{NewRolePage-BYYZJkK7.js → NewRolePage-K5zts3e_.js} +4 -4
- package/dist/{NoAccess.vue_vue_type_script_setup_true_lang-BHzZtZ50.js → NoAccess.vue_vue_type_script_setup_true_lang-BYnTQCtW.js} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-BhNZgEW6.js → NumberField.vue_vue_type_script_setup_true_lang-CxgVJrdv.js} +2 -2
- 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
- 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
- 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
- package/dist/{ProfilePage-DGEsIycR.js → ProfilePage-C3mLBer6.js} +17 -17
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-B3BnYg1x.js → RecordHeader.vue_vue_type_script_setup_true_lang-Dz5Qw8II.js} +2 -2
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-1iZtj3rh.js → ResourcePage.vue_vue_type_script_setup_true_lang-R3eJKPq5.js} +4 -4
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-BslSDDiM.js → RoleEditor.vue_vue_type_script_setup_true_lang-CGMpBpnK.js} +12 -12
- package/dist/{RolePage-C08ZUqw1.js → RolePage-C62_sGxx.js} +13 -13
- package/dist/{RolesPage-FOuY1VKg.js → RolesPage-CS8ryIQq.js} +9 -9
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-CodyVezo.js → SectionList.vue_vue_type_script_setup_true_lang-C6eOVjpa.js} +3 -3
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-DCTFxfPB.js → SectionNavigator.vue_vue_type_script_setup_true_lang-DqDcFvS0.js} +6 -6
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-CLR6EvzO.js → SegmentedField.vue_vue_type_script_setup_true_lang-Du4YUcw9.js} +2 -2
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-D5xYofdb.js → SelectField.vue_vue_type_script_setup_true_lang-BA5YMCXA.js} +6 -6
- 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
- package/dist/{ServiceAccountRecord-kWwIQGZb.js → ServiceAccountRecord-BDkaaOte.js} +18 -18
- package/dist/{ServiceAccountsList-CKy9_YHP.js → ServiceAccountsList-KaZwNlK5.js} +10 -10
- package/dist/{Sessions-BDc8gdYH.js → Sessions-DhOpUlRc.js} +7 -7
- package/dist/{SettingsPage-t-8kmFVT.js → SettingsPage-DPzg7zwX.js} +18 -18
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-C1jpmLYN.js +163 -0
- package/dist/{SignIn-CqtkvtCZ.js → SignIn-4aUxE2LU.js} +8 -8
- package/dist/{SignInPage-DcdNKZIb.js → SignInPage-B80pQ8tG.js} +6 -6
- package/dist/{SignIns-D4-nGu0B.js → SignIns-CLX8Puf1.js} +5 -5
- package/dist/{StatusLine.vue_vue_type_script_setup_true_lang-DsdQmLq6.js → StatusLine.vue_vue_type_script_setup_true_lang-BN8nG1CW.js} +1 -1
- package/dist/{SwipeActions.vue_vue_type_script_setup_true_lang-D8SiC0G7.js → SwipeActions.vue_vue_type_script_setup_true_lang-BBqcW3MR.js} +1 -1
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-CLtcuofe.js → SwitchField.vue_vue_type_script_setup_true_lang-Dw7BbBU4.js} +2 -2
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-Cma_ma6V.js +169 -0
- 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
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-YxUlNHSk.js → TextareaField.vue_vue_type_script_setup_true_lang-BqpZt1Hv.js} +2 -2
- 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
- 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
- package/dist/{UserRecord-CwZCr9Im.js → UserRecord-BFqw2Pi8.js} +10 -10
- package/dist/{UsersList-Cn19sFgv.js → UsersList-C52C1lN1.js} +3 -3
- package/dist/{ViewTabs.vue_vue_type_script_setup_true_lang-BjdDXE3T.js → ViewTabs.vue_vue_type_script_setup_true_lang-CBYrLPL4.js} +1 -1
- package/dist/access/index.js +7 -7
- package/dist/app/index.js +2 -2
- package/dist/{application-CDSweJb9.js → application-cTqMhmFf.js} +8 -8
- package/dist/{back-LcLlFodC.js → back-CeozxCgQ.js} +2 -2
- package/dist/button/index.js +1 -1
- package/dist/collection/index.js +9 -9
- package/dist/content/DiffView.vue.d.ts +22 -0
- package/dist/content/PreviewFrame.vue.d.ts +46 -0
- package/dist/content/diff.d.ts +27 -0
- package/dist/content/index.d.ts +4 -0
- package/dist/content/index.js +552 -218
- package/dist/content/previewFrame.d.ts +50 -0
- package/dist/{contributions-B0x5x5xD.js → contributions-BSmIRPg1.js} +1 -1
- package/dist/controls/SortableList.vue.d.ts +31 -0
- package/dist/controls/Tabs.vue.d.ts +2 -0
- package/dist/controls/index.d.ts +1 -0
- package/dist/controls/index.js +132 -33
- package/dist/form/CodeEditor.vue.d.ts +61 -0
- package/dist/form/I18nField.vue.d.ts +1 -1
- package/dist/form/MarkerList.vue.d.ts +20 -0
- package/dist/form/TextareaField.vue.d.ts +1 -1
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.js +1550 -1428
- package/dist/{guards-CNJ0ATVC.js → guards-BP9x7CLF.js} +1 -1
- package/dist/i18n/index.js +18 -18
- package/dist/icon/core.d.ts +2 -0
- package/dist/icon/index.js +1 -1
- package/dist/identity/index.js +3 -3
- package/dist/identity/profile/EmailChangeDialog.vue.d.ts +2 -2
- package/dist/incidents/index.js +1 -1
- package/dist/{index-BA2w8uwD.js → index-CMx77x5P.js} +27 -27
- package/dist/{index-1HS7O2-e.js → index-CxUfs3Xz.js} +10 -10
- package/dist/{index-SLJWm40T.js → index-DLkQwWt9.js} +9 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/modal/Sheet.vue.d.ts +13 -0
- package/dist/modal/TabbedSheet.vue.d.ts +46 -0
- package/dist/modal/index.d.ts +1 -0
- package/dist/modal/index.js +123 -41
- package/dist/navigation-C05vGEN8.js +55 -0
- package/dist/{neighbors-Dg_LU9ry.js → neighbors-BqfO6zf3.js} +2 -2
- package/dist/notifications/index.js +1 -1
- package/dist/onboarding/index.js +2 -2
- package/dist/{options-mOOX6JSS.js → options-DIp_lVAj.js} +2 -2
- package/dist/overlay/index.js +4 -4
- package/dist/page/SectionNavigator.vue.d.ts +1 -1
- package/dist/page/SplitPane.vue.d.ts +54 -0
- package/dist/page/WorkbenchPage.vue.d.ts +72 -0
- package/dist/page/index.d.ts +2 -0
- package/dist/page/index.js +343 -104
- package/dist/phone/index.js +3 -3
- package/dist/platform/index.js +3 -3
- package/dist/platform/navigation.d.ts +10 -0
- package/dist/{platform-DU9QFts8.js → platform-YWfOO7b2.js} +94 -88
- package/dist/pwa/index.js +3 -3
- package/dist/resource/index.js +1 -1
- package/dist/{resources-BZLlAtoS.js → resources-BAxfEEv1.js} +1 -1
- package/dist/router/index.js +4 -4
- package/dist/router/navigation.d.ts +2 -0
- package/dist/{rowLayout-PIuD7MGo.js → rowLayout-3W9TvFNt.js} +5 -5
- package/dist/{sectionIndex-BS0ic5W7.js → sectionIndex-CSr457Lb.js} +2 -2
- package/dist/{sections-BpiRLntE.js → sections-DXso1JSV.js} +2 -2
- package/dist/shell/NavigationList.vue.d.ts +1 -1
- package/dist/shell/index.js +522 -501
- package/dist/shell/navigationGroups.d.ts +4 -1
- package/dist/state/index.js +8 -8
- package/dist/{state-z1iPF1DT.js → state-DqCZdet7.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{suggestions-DeMgs_ki.js → suggestions-D0-qmRFy.js} +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/{useCommand-DQKvro1n.js → useCommand-D6K6o6dx.js} +4 -4
- package/dist/{useGroupSheet-CRw3MUmX.js → useGroupSheet-Daxi2mzi.js} +5 -5
- package/dist/{usePreferences-DB29UTFD.js → usePreferences-D38x73re.js} +1 -1
- package/dist/{useRecordDialog-0azHxxvm.js → useRecordDialog-CfBp0kuP.js} +1 -1
- package/dist/{useResourceForm-zVuWerSn.js → useResourceForm-Ddxk7mc0.js} +1 -1
- package/dist/{useTypedEntry-BsMV66Yc.js → useTypedEntry-r4AqWlV7.js} +2 -2
- package/package.json +1 -1
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-BG8HUNfs.js +0 -145
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-tpkGp98F.js +0 -155
- package/dist/navigation-d-JAPBGA.js +0 -53
package/dist/onboarding/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as L, ref as d, computed as x, watch as v, nextTick as H, onBeforeUnmount as O, openBlock as F, createBlock as j, Teleport as q, createVNode as w, Transition as U, withCtx as Y, createElementBlock as G, withKeys as J, withModifiers as Q, normalizeStyle as M, unref as n, createElementVNode as l, normalizeClass as W, toDisplayString as k, renderSlot as X, createTextVNode as Z, createCommentVNode as ee } from "vue";
|
|
2
2
|
import { useI18n as te } from "vue-i18n";
|
|
3
|
-
import { _ as V } from "../Icon.vue_vue_type_script_lang-
|
|
4
|
-
import { u as ne } from "../usePreferences-
|
|
3
|
+
import { _ as V } from "../Icon.vue_vue_type_script_lang-0pW1XBaE.js";
|
|
4
|
+
import { u as ne } from "../usePreferences-D38x73re.js";
|
|
5
5
|
import { u as oe, a as h } from "../anchored-DpuUwf-9.js";
|
|
6
6
|
const ie = (o) => typeof o == "object" && o !== null && !Array.isArray(o);
|
|
7
7
|
function se(o, e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as H, useSlots as R, useAttrs as V, useId as A, computed as c, onBeforeUnmount as D, unref as t, openBlock as i, createBlock as O, mergeProps as T, createSlots as j, withCtx as $, createElementVNode as q, normalizeClass as y, renderSlot as u, createElementBlock as s, createCommentVNode as n, toDisplayString as f, createTextVNode as x, createVNode as z, mergeDefaults as E } from "vue";
|
|
2
2
|
import { useI18n as M } from "vue-i18n";
|
|
3
|
-
import { _ as G } from "./Icon.vue_vue_type_script_lang-
|
|
4
|
-
import { a as I, u as P, _ as U, b as J } from "./FormRow.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as G } from "./Icon.vue_vue_type_script_lang-0pW1XBaE.js";
|
|
4
|
+
import { a as I, u as P, _ as U, b as J } from "./FormRow.vue_vue_type_script_setup_true_lang-okuxbKyI.js";
|
|
5
5
|
import { c as K, a as Q } from "./controlSurface-t7OEFESJ.js";
|
|
6
6
|
const W = ["title"], X = {
|
|
7
7
|
key: 0,
|
package/dist/overlay/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as x } from "../AlertDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as w } from "../Menu.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as I } from "../MenuButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as x } from "../AlertDialog.vue_vue_type_script_setup_true_lang-QYvbly_-.js";
|
|
2
|
+
import { _ as w } from "../Menu.vue_vue_type_script_setup_true_lang-DobycRxf.js";
|
|
3
|
+
import { _ as I } from "../MenuButton.vue_vue_type_script_setup_true_lang-qDKt6gX9.js";
|
|
4
4
|
import { _ as v } from "../Popover.vue_vue_type_script_setup_true_lang-BK8HL_V0.js";
|
|
5
5
|
import { _ as P } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
|
|
6
6
|
import { _ as y } from "../Tooltip.vue_vue_type_script_setup_true_lang-C1C1qeBj.js";
|
|
@@ -8,7 +8,7 @@ import { t as k } from "../toast-CqSDTWRX.js";
|
|
|
8
8
|
import { I as E, u as M } from "../dialogStack-DbO4IiAq.js";
|
|
9
9
|
import { I as S, u as O } from "../useDialog-B4_MpX2v.js";
|
|
10
10
|
import { C as K, u as N } from "../mediaQuery-CygcXmFW.js";
|
|
11
|
-
import { _ as j } from "../PhotoViewer.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as j } from "../PhotoViewer.vue_vue_type_script_setup_true_lang-D2-uQbSV.js";
|
|
12
12
|
import { defineComponent as r, openBlock as s, createElementBlock as n, normalizeClass as l, toDisplayString as p } from "vue";
|
|
13
13
|
const c = ["aria-disabled"], d = /* @__PURE__ */ r({
|
|
14
14
|
__name: "PhotoViewerAction",
|
|
@@ -53,8 +53,8 @@ type __VLS_Slots = {
|
|
|
53
53
|
};
|
|
54
54
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
55
55
|
compact: "segmented" | "rows" | "auto" | "hub";
|
|
56
|
-
steps: Readonly<Record<string, SectionStep>>;
|
|
57
56
|
desktop: "sidebar" | "segments" | "hub";
|
|
57
|
+
steps: Readonly<Record<string, SectionStep>>;
|
|
58
58
|
backLabel: string;
|
|
59
59
|
counts: Readonly<Record<string, string | number>>;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Two panes with a draggable divider: `start` (left, or top) and `end`. `v-model:size` is the share of the start pane, 0 to 1 (default 0.5);
|
|
3
|
+
* `min` and `max` bound the start pane in pixels, and the end pane always keeps at least `min` too. The divider is a
|
|
4
|
+
* `role="separator"` that takes focus: ←/→ (↑/↓ in a vertical split) move it by 2 %, Shift by 10 %, Home and End go to the limits;
|
|
5
|
+
* `aria-valuenow` is the start pane's percentage. A `storage-key` remembers the size in this browser (localStorage, under `vue-core:split:<key>`;
|
|
6
|
+
* where storage is not available the size is simply not remembered). Below `stack-below` (default `lg`) the panes stack, each at its natural
|
|
7
|
+
* height, and there is no divider.
|
|
8
|
+
*
|
|
9
|
+
* The pane is as tall as its parent (`h-full`): give the parent a height, or put it in a `WorkbenchPage`.
|
|
10
|
+
*
|
|
11
|
+
* <SplitPane v-model:size="size" storage-key="template-editor" :min="320">
|
|
12
|
+
* <template #start><CodeEditor fill … /></template>
|
|
13
|
+
* <template #end><PreviewFrame … /></template>
|
|
14
|
+
* </SplitPane>
|
|
15
|
+
*/
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
/** `horizontal`: the panes sit side by side; `vertical`: one above the other. */
|
|
18
|
+
orientation?: "horizontal" | "vertical";
|
|
19
|
+
/** Smallest pane, in pixels. */
|
|
20
|
+
min?: number;
|
|
21
|
+
/** Largest start pane, in pixels. */
|
|
22
|
+
max?: number;
|
|
23
|
+
storageKey?: string;
|
|
24
|
+
/** Below this width the panes stack. */
|
|
25
|
+
stackBelow?: "md" | "lg" | "xl";
|
|
26
|
+
/** The accessible name of the divider. */
|
|
27
|
+
label?: string;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Slots = {
|
|
30
|
+
start?: () => unknown;
|
|
31
|
+
end?: () => unknown;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
34
|
+
"size"?: number;
|
|
35
|
+
};
|
|
36
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
"update:size": (value: number) => any;
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
39
|
+
"onUpdate:size"?: ((value: number) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
label: string;
|
|
42
|
+
orientation: "horizontal" | "vertical";
|
|
43
|
+
min: number;
|
|
44
|
+
max: number;
|
|
45
|
+
storageKey: string;
|
|
46
|
+
stackBelow: "md" | "lg" | "xl";
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { PageAction, PageBack, PagePathItem } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* A page for work that needs the whole screen: a code editor with its preview, a page with its settings. It fills the viewport under the
|
|
4
|
+
* shell (no page scroll, no maximum width): a header, an optional row of tabs, and a body of two panes with a draggable divider
|
|
5
|
+
* (`SplitPane`), each pane scrolling on its own. Below `lg` the panes stack and the page scrolls as any page.
|
|
6
|
+
*
|
|
7
|
+
* The header is the one of `EditorPage` and `AdaptivePageShell`: "‹ Back" to the parent list (or the clickable `path` when the page is
|
|
8
|
+
* deep; `?back=` still wins), the title with `#badges` and a `description` line, the `actions` and a "More" menu for the overflow ones.
|
|
9
|
+
* Actions registered by `usePageChrome()` / `useSaveChrome()` inside the page join them, and phones show them in the app's nav bar.
|
|
10
|
+
* `dirty` is the unsaved-changes guard: "Unsaved changes" beside the actions, and a question before leaving (a route change, closing
|
|
11
|
+
* the tab). Without `#end` the `#start` pane takes the whole body.
|
|
12
|
+
*
|
|
13
|
+
* <WorkbenchPage :title="template.name" :back="{ label: t('templates'), to: templatesRoute }" :actions="actions" :dirty="form.dirty.value" storage-key="template-editor">
|
|
14
|
+
* <template #badges><Badge tone="warning">Draft v4</Badge></template>
|
|
15
|
+
* <template #start><CodeEditor fill v-model="source" language="liquid" /></template>
|
|
16
|
+
* <template #end><PreviewFrame :src="previewUrl" title="Preview" /></template>
|
|
17
|
+
* </WorkbenchPage>
|
|
18
|
+
*/
|
|
19
|
+
type __VLS_Props = {
|
|
20
|
+
title: string;
|
|
21
|
+
/** The browser tab title when the title is data; by default the route's own. */
|
|
22
|
+
documentTitle?: string | null;
|
|
23
|
+
/** The line under the title ("Template · saved today 09:41"). */
|
|
24
|
+
description?: string;
|
|
25
|
+
back?: PageBack | null;
|
|
26
|
+
path?: readonly PagePathItem[] | null;
|
|
27
|
+
actions?: readonly PageAction[];
|
|
28
|
+
/** Unsaved changes: the status beside the actions, and the leave guard. */
|
|
29
|
+
dirty?: boolean;
|
|
30
|
+
/** Remembers the divider in this browser (see `SplitPane`). */
|
|
31
|
+
storageKey?: string;
|
|
32
|
+
/** Smallest pane, in pixels. */
|
|
33
|
+
min?: number;
|
|
34
|
+
stackBelow?: "md" | "lg" | "xl";
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Slots = {
|
|
37
|
+
/** Beside the title: status badges ("Draft v4", "Published v3"). */
|
|
38
|
+
badges?: () => unknown;
|
|
39
|
+
/** Before the title: a tile with the page's icon. */
|
|
40
|
+
leading?: () => unknown;
|
|
41
|
+
/** A row between the header and the panes (section tabs). */
|
|
42
|
+
subheader?: () => unknown;
|
|
43
|
+
notices?: () => unknown;
|
|
44
|
+
start?: () => unknown;
|
|
45
|
+
end?: () => unknown;
|
|
46
|
+
};
|
|
47
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
48
|
+
/** The share (0 to 1) of the start pane. */
|
|
49
|
+
"size"?: number;
|
|
50
|
+
};
|
|
51
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
52
|
+
"update:size": (value: number) => any;
|
|
53
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
54
|
+
"onUpdate:size"?: ((value: number) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
path: readonly PagePathItem[] | null;
|
|
57
|
+
description: string;
|
|
58
|
+
actions: readonly PageAction[];
|
|
59
|
+
back: PageBack | null;
|
|
60
|
+
documentTitle: string | null;
|
|
61
|
+
min: number;
|
|
62
|
+
storageKey: string;
|
|
63
|
+
stackBelow: "md" | "lg" | "xl";
|
|
64
|
+
dirty: boolean;
|
|
65
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
67
|
+
export default _default;
|
|
68
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
package/dist/page/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export { createPageChrome, installPageChrome, useOptionalPageChrome, usePageChro
|
|
|
12
12
|
export { pageSectionBackKey, usePageSectionBack } from "./sectionBack";
|
|
13
13
|
export { provideSectionIndex, sectionId, useSectionAnchor, useSectionIndex } from "./sectionIndex";
|
|
14
14
|
export type { IndexedSection, SectionIndex } from "./sectionIndex";
|
|
15
|
+
export { default as SplitPane } from "./SplitPane.vue";
|
|
16
|
+
export { default as WorkbenchPage } from "./WorkbenchPage.vue";
|
|
15
17
|
export { default as SectionNavigator } from "./SectionNavigator.vue";
|
|
16
18
|
export { default as SectionJumper } from "./SectionJumper.vue";
|
|
17
19
|
export { default as SectionList } from "./SectionList.vue";
|