@drawnagency/primitives 0.1.80 → 0.1.82
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/dist/{chunk-7XWER6YR.js → chunk-22GU6GNP.js} +3 -3
- package/dist/{chunk-4TVODHD2.js → chunk-5UDIQLGQ.js} +6 -6
- package/dist/{chunk-UNUJPLZV.js → chunk-6NRVX6NQ.js} +1 -1
- package/dist/{chunk-KVQFMVXE.js → chunk-DKXISNJ2.js} +2 -2
- package/dist/{chunk-RSITF24B.js → chunk-ETJYYUQX.js} +9 -3
- package/dist/{chunk-VI26O4E3.js → chunk-FDBZZ4AT.js} +1 -1
- package/dist/chunk-FM4M4Q2W.js +72 -0
- package/dist/{chunk-EMGLZQCM.js → chunk-MBJUWOM2.js} +1 -1
- package/dist/{chunk-2DDWWTRX.js → chunk-Q6LZOH5M.js} +1 -1
- package/dist/{chunk-QB5Q23G2.js → chunk-Y54G2XSC.js} +1 -1
- package/dist/{chunk-3LNKOLZP.js → chunk-YKOLOZB2.js} +1 -1
- package/dist/components/editor/PagesModal.d.ts +2 -0
- package/dist/components/editor/PagesModal.d.ts.map +1 -1
- package/dist/components/editor/index.js +6 -5
- package/dist/components/primitives/index.js +7 -6
- package/dist/components/sections/brand-guide.js +7 -6
- package/dist/components/sections/register-schemas.js +10 -9
- package/dist/components/sections/register.js +10 -9
- package/dist/components/shell/DocInspector.d.ts +18 -0
- package/dist/components/shell/DocInspector.d.ts.map +1 -0
- package/dist/components/shell/DocumentEditorOverlay.d.ts +29 -0
- package/dist/components/shell/DocumentEditorOverlay.d.ts.map +1 -0
- package/dist/components/shell/DocumentPresentOverlay.d.ts +30 -0
- package/dist/components/shell/DocumentPresentOverlay.d.ts.map +1 -0
- package/dist/components/shell/EditorShell.d.ts +34 -0
- package/dist/components/shell/EditorShell.d.ts.map +1 -1
- package/dist/document/assets/fonts/albra-grotesk-bold.woff +0 -0
- package/dist/document/assets/fonts/albra-grotesk-regular.woff +0 -0
- package/dist/document/assets/fonts/kapra-neue-expanded-medium.woff +0 -0
- package/dist/document/assets/fonts/kapra-neue-expanded-regular.woff +0 -0
- package/dist/document/components/DocCoverPage.d.ts +11 -0
- package/dist/document/components/DocCoverPage.d.ts.map +1 -0
- package/dist/document/components/DocPage.d.ts +10 -0
- package/dist/document/components/DocPage.d.ts.map +1 -0
- package/dist/document/components/DocRail.d.ts +28 -0
- package/dist/document/components/DocRail.d.ts.map +1 -0
- package/dist/document/components/DocSectionPage.d.ts +12 -0
- package/dist/document/components/DocSectionPage.d.ts.map +1 -0
- package/dist/document/components/DocViewer.d.ts +18 -0
- package/dist/document/components/DocViewer.d.ts.map +1 -0
- package/dist/document/components/Wordmark.d.ts +4 -0
- package/dist/document/components/Wordmark.d.ts.map +1 -0
- package/dist/document/components/measure.d.ts +7 -0
- package/dist/document/components/measure.d.ts.map +1 -0
- package/dist/document/components/useDocPages.d.ts +12 -0
- package/dist/document/components/useDocPages.d.ts.map +1 -0
- package/dist/document/engine/blocks.d.ts +2 -0
- package/dist/document/engine/blocks.d.ts.map +1 -0
- package/dist/document/engine/harvest.d.ts +3 -0
- package/dist/document/engine/harvest.d.ts.map +1 -0
- package/dist/document/engine/masonry.d.ts +26 -0
- package/dist/document/engine/masonry.d.ts.map +1 -0
- package/dist/document/engine/paginate.d.ts +43 -0
- package/dist/document/engine/paginate.d.ts.map +1 -0
- package/dist/document/engine/settings.d.ts +88 -0
- package/dist/document/engine/settings.d.ts.map +1 -0
- package/dist/document/engine/types.d.ts +44 -0
- package/dist/document/engine/types.d.ts.map +1 -0
- package/dist/document/index.d.ts +13 -0
- package/dist/document/index.d.ts.map +1 -0
- package/dist/document/index.js +965 -0
- package/dist/document/styles/document.css +217 -0
- package/dist/index.js +29 -28
- package/dist/lib/document-input.d.ts +25 -0
- package/dist/lib/document-input.d.ts.map +1 -0
- package/dist/lib/index.js +10 -9
- package/dist/lib/pages.d.ts +2 -0
- package/dist/lib/pages.d.ts.map +1 -1
- package/dist/media/index.js +4 -3
- package/dist/schemas/index.js +3 -2
- package/dist/schemas/site-config.d.ts +265 -1
- package/dist/schemas/site-config.d.ts.map +1 -1
- package/package.json +5 -1
- package/src/components/editor/PagesModal.tsx +16 -2
- package/src/components/shell/DocInspector.tsx +323 -0
- package/src/components/shell/DocumentEditorOverlay.tsx +169 -0
- package/src/components/shell/DocumentPresentOverlay.tsx +87 -0
- package/src/components/shell/EditorShell.tsx +128 -5
- package/src/document/assets/fonts/albra-grotesk-bold.woff +0 -0
- package/src/document/assets/fonts/albra-grotesk-regular.woff +0 -0
- package/src/document/assets/fonts/kapra-neue-expanded-medium.woff +0 -0
- package/src/document/assets/fonts/kapra-neue-expanded-regular.woff +0 -0
- package/src/document/components/DocCoverPage.tsx +45 -0
- package/src/document/components/DocPage.tsx +40 -0
- package/src/document/components/DocRail.tsx +164 -0
- package/src/document/components/DocSectionPage.tsx +48 -0
- package/src/document/components/DocViewer.tsx +285 -0
- package/src/document/components/Wordmark.tsx +18 -0
- package/src/document/components/measure.tsx +117 -0
- package/src/document/components/useDocPages.ts +85 -0
- package/src/document/engine/blocks.ts +87 -0
- package/src/document/engine/harvest.ts +95 -0
- package/src/document/engine/masonry.ts +152 -0
- package/src/document/engine/paginate.ts +229 -0
- package/src/document/engine/settings.ts +88 -0
- package/src/document/engine/types.ts +64 -0
- package/src/document/index.ts +18 -0
- package/src/document/styles/document.css +217 -0
- package/src/lib/document-input.ts +57 -0
- package/src/lib/pages.ts +22 -0
- package/src/schemas/site-config.ts +22 -7
- /package/dist/{chunk-4YEOTFVU.js → chunk-YBVK254P.js} +0 -0
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
MediaBlock,
|
|
10
10
|
containerGridClass,
|
|
11
11
|
useEditableCollection
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DKXISNJ2.js";
|
|
13
13
|
import {
|
|
14
14
|
AddIcon,
|
|
15
15
|
DeleteIcon,
|
|
16
16
|
DragHandle,
|
|
17
17
|
IconButton
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MBJUWOM2.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_LINK,
|
|
21
21
|
LinkValueSchema
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
HexColorSchema,
|
|
32
32
|
SingleMediaReferenceSchema
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ETJYYUQX.js";
|
|
34
34
|
import {
|
|
35
35
|
defineSection
|
|
36
36
|
} from "./chunk-VKAGMEKE.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
pluralize,
|
|
4
4
|
stripHtmlToPlainText,
|
|
5
5
|
truncate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22GU6GNP.js";
|
|
7
7
|
import {
|
|
8
8
|
DeleteButton,
|
|
9
9
|
DragHandle,
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
buildBlockDropData,
|
|
16
16
|
canDropBlock,
|
|
17
17
|
isBlockDragData
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Q6LZOH5M.js";
|
|
19
19
|
import {
|
|
20
20
|
EditableRichText,
|
|
21
21
|
defineHeadingSection
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FDBZZ4AT.js";
|
|
23
23
|
import {
|
|
24
24
|
EditablePlainText,
|
|
25
25
|
ImageDropZone,
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
colSpanClass,
|
|
29
29
|
containerGridClass,
|
|
30
30
|
spacerHiddenClass
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-DKXISNJ2.js";
|
|
32
32
|
import {
|
|
33
33
|
useMediaLibrary,
|
|
34
34
|
useResolvedMedia
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-MBJUWOM2.js";
|
|
36
36
|
import {
|
|
37
37
|
embedUrl
|
|
38
38
|
} from "./chunk-Y4JQGO6G.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./chunk-TZQPOR5A.js";
|
|
52
52
|
import {
|
|
53
53
|
SingleMediaReferenceSchema
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ETJYYUQX.js";
|
|
55
55
|
import {
|
|
56
56
|
defineSection,
|
|
57
57
|
getSection
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
SettingsIcon,
|
|
7
7
|
useMediaLibrary,
|
|
8
8
|
useResolvedMedia
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MBJUWOM2.js";
|
|
10
10
|
import {
|
|
11
11
|
rebindImageRef
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YKOLOZB2.js";
|
|
13
13
|
import {
|
|
14
14
|
cn
|
|
15
15
|
} from "./chunk-7EOSDFS3.js";
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
documentOptionsSchema
|
|
3
|
+
} from "./chunk-FM4M4Q2W.js";
|
|
4
|
+
|
|
1
5
|
// src/schemas/shared.ts
|
|
2
6
|
import { z } from "zod";
|
|
3
7
|
var TextHeadingLine = z.object({
|
|
@@ -126,7 +130,8 @@ var SectionMetaSchema = z3.object({
|
|
|
126
130
|
status: StatusSchema,
|
|
127
131
|
access: z3.array(z3.string())
|
|
128
132
|
});
|
|
129
|
-
var RESERVED_SLUGS = ["edit", "api", "login", "set-password", "404"];
|
|
133
|
+
var RESERVED_SLUGS = ["edit", "api", "login", "set-password", "404", "present"];
|
|
134
|
+
var PARSE_REJECTED_SLUGS = ["edit", "api", "login", "set-password", "404"];
|
|
130
135
|
var PageStatusSchema = z3.enum(["live", "archived"]);
|
|
131
136
|
var PageSchema = z3.object({
|
|
132
137
|
id: z3.string().min(1),
|
|
@@ -136,7 +141,8 @@ var PageSchema = z3.object({
|
|
|
136
141
|
showInNav: z3.boolean(),
|
|
137
142
|
status: PageStatusSchema,
|
|
138
143
|
access: z3.array(z3.string()),
|
|
139
|
-
order: z3.array(z3.string())
|
|
144
|
+
order: z3.array(z3.string()),
|
|
145
|
+
document: documentOptionsSchema.optional()
|
|
140
146
|
});
|
|
141
147
|
var SLUG_RE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
142
148
|
var RawIndexSchema = z3.object({
|
|
@@ -196,7 +202,7 @@ var CanonicalIndexSchema = z3.object({
|
|
|
196
202
|
if (!SLUG_RE.test(p.slug)) {
|
|
197
203
|
ctx.addIssue({ code: z3.ZodIssueCode.custom, message: `Invalid slug "${p.slug}"` });
|
|
198
204
|
}
|
|
199
|
-
if (
|
|
205
|
+
if (PARSE_REJECTED_SLUGS.includes(p.slug)) {
|
|
200
206
|
ctx.addIssue({ code: z3.ZodIssueCode.custom, message: `Slug "${p.slug}" is reserved` });
|
|
201
207
|
}
|
|
202
208
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// src/document/engine/settings.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
var sectionSettingsSchema = z.object({
|
|
4
|
+
excluded: z.boolean().default(false),
|
|
5
|
+
textPlacement: z.enum(["top", "leftColumn"]).default("top"),
|
|
6
|
+
// "right" is only meaningful with textPlacement "leftColumn"; settingsFor
|
|
7
|
+
// normalizes the invalid combo.
|
|
8
|
+
imagePlacement: z.enum(["fullWidth", "right"]).default("fullWidth"),
|
|
9
|
+
// When true, text that overflows the first page is dropped instead of
|
|
10
|
+
// flowing onto Cont. pages (images still paginate normally).
|
|
11
|
+
dropTextOverflow: z.boolean().default(false),
|
|
12
|
+
// Also start new pages at sub-heading boundaries. Only read from PARENT
|
|
13
|
+
// entries (link_heading ids / __preamble); inert on sub-chunk entries.
|
|
14
|
+
splitAt: z.enum(["none", "sub_heading"]).default("none"),
|
|
15
|
+
imageLayout: z.discriminatedUnion("mode", [
|
|
16
|
+
z.object({
|
|
17
|
+
mode: z.literal("grid"),
|
|
18
|
+
rows: z.union([z.literal(1), z.literal(2), z.literal(3)]).default(2),
|
|
19
|
+
columns: z.union([z.literal(2), z.literal(3), z.literal(4)]).default(4),
|
|
20
|
+
// "cover" crops each image to its cell; "contain" letterboxes the
|
|
21
|
+
// natural image inside it.
|
|
22
|
+
fit: z.enum(["cover", "contain"]).default("cover")
|
|
23
|
+
}),
|
|
24
|
+
z.object({
|
|
25
|
+
mode: z.literal("masonry"),
|
|
26
|
+
flow: z.enum(["rows", "columns"]).default("rows"),
|
|
27
|
+
columns: z.union([z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]).default(3),
|
|
28
|
+
// rows flow only: "auto" = greedy target-height fill (legacy behavior);
|
|
29
|
+
// 1-4 forces an exact aspect-balanced row count.
|
|
30
|
+
rows: z.union([z.literal("auto"), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]).default("auto")
|
|
31
|
+
})
|
|
32
|
+
]).default({ mode: "masonry", flow: "rows", columns: 3, rows: "auto" })
|
|
33
|
+
});
|
|
34
|
+
var DEFAULTS = sectionSettingsSchema.parse({});
|
|
35
|
+
function settingsFor(all, chunkId) {
|
|
36
|
+
const raw = all?.[chunkId];
|
|
37
|
+
const parsed = sectionSettingsSchema.safeParse(raw ?? {});
|
|
38
|
+
const s = parsed.success ? parsed.data : DEFAULTS;
|
|
39
|
+
if (s.textPlacement === "top" && s.imagePlacement === "right") {
|
|
40
|
+
return { ...s, imagePlacement: "fullWidth" };
|
|
41
|
+
}
|
|
42
|
+
return s;
|
|
43
|
+
}
|
|
44
|
+
var documentMetaSchema = z.object({
|
|
45
|
+
client: z.string().default(""),
|
|
46
|
+
project: z.string().default(""),
|
|
47
|
+
dateLabel: z.string().default("")
|
|
48
|
+
});
|
|
49
|
+
var documentCoverSchema = z.object({
|
|
50
|
+
bgColor: z.string().default("#333333"),
|
|
51
|
+
accentColor: z.string().default("#EB9500"),
|
|
52
|
+
title: z.string().default(""),
|
|
53
|
+
label: z.string().default("BRAND GUIDELINES"),
|
|
54
|
+
date: z.string().default(""),
|
|
55
|
+
// Media-library image id shown between masthead and title lockup; null = solid cover.
|
|
56
|
+
imageId: z.string().nullable().default(null)
|
|
57
|
+
});
|
|
58
|
+
var documentOptionsSchema = z.object({
|
|
59
|
+
enabled: z.boolean().default(false),
|
|
60
|
+
// `.default({})` doesn't typecheck even though `{}` parses fine at
|
|
61
|
+
// runtime — zod v4 infers the default's type from the object schema's
|
|
62
|
+
// required input shape, not its post-default output shape.
|
|
63
|
+
meta: documentMetaSchema.default(() => documentMetaSchema.parse({})),
|
|
64
|
+
cover: documentCoverSchema.default(() => documentCoverSchema.parse({})),
|
|
65
|
+
sections: z.record(z.string(), sectionSettingsSchema).default({})
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
sectionSettingsSchema,
|
|
70
|
+
settingsFor,
|
|
71
|
+
documentOptionsSchema
|
|
72
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SiteIndex, Page } from "../../schemas/site-config";
|
|
2
2
|
import type { Audience } from "../../auth/types";
|
|
3
|
+
import type { DocumentOptions } from "../../document/engine/settings";
|
|
3
4
|
export interface PagesModalProps {
|
|
4
5
|
index: SiteIndex;
|
|
5
6
|
audiences: Audience[];
|
|
@@ -10,6 +11,7 @@ export interface PagesModalProps {
|
|
|
10
11
|
onSetArchived: (pageId: string, archived: boolean) => void;
|
|
11
12
|
onSetFields: (pageId: string, patch: Partial<Pick<Page, "title" | "slug" | "showInNav">>) => void;
|
|
12
13
|
onSetAudience: (pageId: string, access: string[]) => void;
|
|
14
|
+
onSetDocument: (pageId: string, patch: Partial<DocumentOptions>) => void;
|
|
13
15
|
onConfirmDelete: (pageId: string) => void;
|
|
14
16
|
}
|
|
15
17
|
export declare function PagesModal(props: PagesModalProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PagesModal.d.ts","sourceRoot":"","sources":["../../../src/components/editor/PagesModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"PagesModal.d.ts","sourceRoot":"","sources":["../../../src/components/editor/PagesModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAatE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,+EAA+E;IAC/E,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3D,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,WAAW,CAAC,CAAC,KAAK,IAAI,CAAC;IAClG,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1D,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IACzE,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CA4EhD"}
|
|
@@ -11,20 +11,21 @@ import {
|
|
|
11
11
|
buildBlockDropData,
|
|
12
12
|
canDropBlock,
|
|
13
13
|
isBlockDragData
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-Q6LZOH5M.js";
|
|
15
15
|
import "../../chunk-5THS4K5D.js";
|
|
16
16
|
import "../../chunk-ZSPCE6MZ.js";
|
|
17
17
|
import {
|
|
18
18
|
AddIcon,
|
|
19
19
|
IconButton
|
|
20
|
-
} from "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
20
|
+
} from "../../chunk-MBJUWOM2.js";
|
|
21
|
+
import "../../chunk-YKOLOZB2.js";
|
|
22
22
|
import "../../chunk-677NTHAZ.js";
|
|
23
23
|
import {
|
|
24
24
|
cn
|
|
25
25
|
} from "../../chunk-7EOSDFS3.js";
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-
|
|
26
|
+
import "../../chunk-YBVK254P.js";
|
|
27
|
+
import "../../chunk-ETJYYUQX.js";
|
|
28
|
+
import "../../chunk-FM4M4Q2W.js";
|
|
28
29
|
import "../../chunk-JSBRDJBE.js";
|
|
29
30
|
|
|
30
31
|
// src/components/editor/InsertButton.tsx
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
EditableRichText,
|
|
3
3
|
LinkPopover,
|
|
4
4
|
defineHeadingSection
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-FDBZZ4AT.js";
|
|
6
6
|
import {
|
|
7
7
|
EditableGrid,
|
|
8
8
|
EditablePlainText,
|
|
@@ -10,21 +10,22 @@ import {
|
|
|
10
10
|
MediaBlock,
|
|
11
11
|
ResolvedMedia,
|
|
12
12
|
useEditableCollection
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-DKXISNJ2.js";
|
|
14
14
|
import "../../chunk-ZSPCE6MZ.js";
|
|
15
15
|
import {
|
|
16
16
|
DeleteIcon,
|
|
17
17
|
DragHandle,
|
|
18
18
|
IconButton
|
|
19
|
-
} from "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
19
|
+
} from "../../chunk-MBJUWOM2.js";
|
|
20
|
+
import "../../chunk-YKOLOZB2.js";
|
|
21
21
|
import "../../chunk-53DKVAB6.js";
|
|
22
22
|
import {
|
|
23
23
|
cn
|
|
24
24
|
} from "../../chunk-7EOSDFS3.js";
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-
|
|
25
|
+
import "../../chunk-YBVK254P.js";
|
|
26
|
+
import "../../chunk-ETJYYUQX.js";
|
|
27
27
|
import "../../chunk-VKAGMEKE.js";
|
|
28
|
+
import "../../chunk-FM4M4Q2W.js";
|
|
28
29
|
import "../../chunk-JSBRDJBE.js";
|
|
29
30
|
|
|
30
31
|
// src/components/primitives/EditableList.tsx
|
|
@@ -2,17 +2,18 @@ import {
|
|
|
2
2
|
ColorItemSchema,
|
|
3
3
|
ColorSpaceSchema,
|
|
4
4
|
brandGuideSectionDefs
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-22GU6GNP.js";
|
|
6
6
|
import "../../chunk-5THS4K5D.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-DKXISNJ2.js";
|
|
8
|
+
import "../../chunk-MBJUWOM2.js";
|
|
9
|
+
import "../../chunk-YKOLOZB2.js";
|
|
10
10
|
import "../../chunk-PZJL2S3Z.js";
|
|
11
11
|
import "../../chunk-WDSVHKAH.js";
|
|
12
12
|
import "../../chunk-7EOSDFS3.js";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-YBVK254P.js";
|
|
14
|
+
import "../../chunk-ETJYYUQX.js";
|
|
15
15
|
import "../../chunk-VKAGMEKE.js";
|
|
16
|
+
import "../../chunk-FM4M4Q2W.js";
|
|
16
17
|
import "../../chunk-JSBRDJBE.js";
|
|
17
18
|
export {
|
|
18
19
|
ColorItemSchema,
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
allSectionDefs
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-5UDIQLGQ.js";
|
|
4
|
+
import "../../chunk-22GU6GNP.js";
|
|
5
|
+
import "../../chunk-Q6LZOH5M.js";
|
|
6
6
|
import "../../chunk-5THS4K5D.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-FDBZZ4AT.js";
|
|
8
|
+
import "../../chunk-DKXISNJ2.js";
|
|
9
9
|
import "../../chunk-ZSPCE6MZ.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-MBJUWOM2.js";
|
|
11
11
|
import "../../chunk-Y4JQGO6G.js";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-YKOLOZB2.js";
|
|
13
13
|
import "../../chunk-PZJL2S3Z.js";
|
|
14
14
|
import "../../chunk-WDSVHKAH.js";
|
|
15
15
|
import "../../chunk-53DKVAB6.js";
|
|
16
16
|
import "../../chunk-7EOSDFS3.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-YBVK254P.js";
|
|
18
18
|
import "../../chunk-TZQPOR5A.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-ETJYYUQX.js";
|
|
20
20
|
import {
|
|
21
21
|
registerRichText,
|
|
22
22
|
registerSchema
|
|
23
23
|
} from "../../chunk-VKAGMEKE.js";
|
|
24
|
+
import "../../chunk-FM4M4Q2W.js";
|
|
24
25
|
import "../../chunk-NSCT3AMV.js";
|
|
25
26
|
import "../../chunk-JSBRDJBE.js";
|
|
26
27
|
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
allSectionDefs
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-5UDIQLGQ.js";
|
|
4
|
+
import "../../chunk-22GU6GNP.js";
|
|
5
|
+
import "../../chunk-Q6LZOH5M.js";
|
|
6
6
|
import "../../chunk-5THS4K5D.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-FDBZZ4AT.js";
|
|
8
|
+
import "../../chunk-DKXISNJ2.js";
|
|
9
9
|
import "../../chunk-ZSPCE6MZ.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-MBJUWOM2.js";
|
|
11
11
|
import "../../chunk-Y4JQGO6G.js";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-YKOLOZB2.js";
|
|
13
13
|
import "../../chunk-PZJL2S3Z.js";
|
|
14
14
|
import "../../chunk-WDSVHKAH.js";
|
|
15
15
|
import "../../chunk-53DKVAB6.js";
|
|
16
16
|
import "../../chunk-7EOSDFS3.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-YBVK254P.js";
|
|
18
18
|
import "../../chunk-TZQPOR5A.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-ETJYYUQX.js";
|
|
20
20
|
import {
|
|
21
21
|
registerSection
|
|
22
22
|
} from "../../chunk-VKAGMEKE.js";
|
|
23
|
+
import "../../chunk-FM4M4Q2W.js";
|
|
23
24
|
import "../../chunk-NSCT3AMV.js";
|
|
24
25
|
import "../../chunk-JSBRDJBE.js";
|
|
25
26
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type DocumentOptions } from "../../document";
|
|
2
|
+
export interface DocInspectorProps {
|
|
3
|
+
document: DocumentOptions;
|
|
4
|
+
selection: {
|
|
5
|
+
kind: "cover";
|
|
6
|
+
} | {
|
|
7
|
+
kind: "chunk";
|
|
8
|
+
chunkId: string;
|
|
9
|
+
title: string;
|
|
10
|
+
depth?: number;
|
|
11
|
+
};
|
|
12
|
+
warnings: string[];
|
|
13
|
+
onUpdateCover: (patch: Partial<DocumentOptions["cover"]>) => void;
|
|
14
|
+
onUpdateMeta: (patch: Partial<DocumentOptions["meta"]>) => void;
|
|
15
|
+
onUpdateSection: (chunkId: string, patch: Record<string, unknown>) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare function DocInspector({ document: doc, selection, warnings, onUpdateCover, onUpdateMeta, onUpdateSection, }: DocInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=DocInspector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocInspector.d.ts","sourceRoot":"","sources":["../../../src/components/shell/DocInspector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAqBnE,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjG,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,KAAK,IAAI,CAAC;IAClE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,KAAK,IAAI,CAAC;IAEhE,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CAC5E;AAwCD,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EAAE,GAAG,EACb,SAAS,EACT,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,eAAe,GAChB,EAAE,iBAAiB,2CAkBnB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Page } from "../../schemas/site-config";
|
|
2
|
+
import type { MediaManifest } from "../../media/types";
|
|
3
|
+
import type { LoadedSection } from "../../lib/loader";
|
|
4
|
+
import { type DocumentOptions } from "../../document";
|
|
5
|
+
import "../../document/styles/document.css";
|
|
6
|
+
export interface DocumentEditorOverlayProps {
|
|
7
|
+
/** The active page — its `document` block must be enabled for the FAB to mount. */
|
|
8
|
+
page: Page;
|
|
9
|
+
/**
|
|
10
|
+
* The page's draft sections, in `page.order` order. The overlay drops
|
|
11
|
+
* archived ones itself — /present renders only live sections, so a chunk the
|
|
12
|
+
* published document will never show must not influence the proofed layout.
|
|
13
|
+
*/
|
|
14
|
+
sections: LoadedSection[];
|
|
15
|
+
manifest: MediaManifest;
|
|
16
|
+
/** Wired by the shell to `setPageDocument` + the local-changes dirty flag. */
|
|
17
|
+
onUpdateDocument: (patch: Partial<DocumentOptions>) => void;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Full-viewport editing surface: DocViewer (edit mode, ghosts + selection) on
|
|
22
|
+
* the left, DocInspector (settings for the current selection) on the right.
|
|
23
|
+
*
|
|
24
|
+
* The engine input is rebuilt from the live draft (page + in-memory sections +
|
|
25
|
+
* manifest) on every prop change, so unsaved edits repaginate immediately —
|
|
26
|
+
* the pagination hook's stale-heights guard absorbs the shape changes.
|
|
27
|
+
*/
|
|
28
|
+
export declare function DocumentEditorOverlay({ page, sections, manifest, onUpdateDocument, onClose, }: DocumentEditorOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=DocumentEditorOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentEditorOverlay.d.ts","sourceRoot":"","sources":["../../../src/components/shell/DocumentEditorOverlay.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAOL,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AAOxB,OAAO,oCAAoC,CAAC;AAE5C,MAAM,WAAW,0BAA0B;IACzC,mFAAmF;IACnF,IAAI,EAAE,IAAI,CAAC;IACX;;;;OAIG;IACH,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,QAAQ,EAAE,aAAa,CAAC;IACxB,8EAA8E;IAC9E,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAC5D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,OAAO,GACR,EAAE,0BAA0B,2CAsH5B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Page } from "../../schemas/site-config";
|
|
2
|
+
import type { MediaManifest } from "../../media/types";
|
|
3
|
+
import type { LoadedSection } from "../../lib/loader";
|
|
4
|
+
import "../../document/styles/document.css";
|
|
5
|
+
export interface DocumentPresentOverlayProps {
|
|
6
|
+
/** The active page — its `document` block supplies cover/meta/section settings. */
|
|
7
|
+
page: Page;
|
|
8
|
+
/**
|
|
9
|
+
* The sections currently on the canvas (already page-ordered and filtered to
|
|
10
|
+
* the branch being previewed). The shell derives these from the same
|
|
11
|
+
* `computeDisplaySections` call the history/branch canvas renders.
|
|
12
|
+
*/
|
|
13
|
+
sections: LoadedSection[];
|
|
14
|
+
manifest: MediaManifest;
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Read-only, full-viewport document PRESENTATION of the content currently being
|
|
19
|
+
* viewed — used when the shell is previewing a non-draft version (the published
|
|
20
|
+
* branch). It is `DocViewer` in `present` mode: no inspector, no update path.
|
|
21
|
+
*
|
|
22
|
+
* Product decision (Drew): history/branch views are the record — we present them
|
|
23
|
+
* but never open the editor over them. Document SETTINGS come from the current
|
|
24
|
+
* draft's `page.document`; the previewed branch's own document index is not
|
|
25
|
+
* carried in the shell's `viewSections`, so cover/meta/exclusions here reflect
|
|
26
|
+
* the draft, not the historical commit. This is an accepted approximation: we
|
|
27
|
+
* are rendering historical *content* with the draft's presentation settings.
|
|
28
|
+
*/
|
|
29
|
+
export declare function DocumentPresentOverlay({ page, sections, manifest, onClose, }: DocumentPresentOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=DocumentPresentOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentPresentOverlay.d.ts","sourceRoot":"","sources":["../../../src/components/shell/DocumentPresentOverlay.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,oCAAoC,CAAC;AAE5C,MAAM,WAAW,2BAA2B;IAC1C,mFAAmF;IACnF,IAAI,EAAE,IAAI,CAAC;IACX;;;;OAIG;IACH,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,EAAE,2BAA2B,2CA6C7B"}
|
|
@@ -34,5 +34,39 @@ export declare function resolveHistoryPage(historyState: NonNullable<HistoryStat
|
|
|
34
34
|
status: "live" | "archived";
|
|
35
35
|
access: string[];
|
|
36
36
|
order: string[];
|
|
37
|
+
document?: {
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
meta: {
|
|
40
|
+
client: string;
|
|
41
|
+
project: string;
|
|
42
|
+
dateLabel: string;
|
|
43
|
+
};
|
|
44
|
+
cover: {
|
|
45
|
+
bgColor: string;
|
|
46
|
+
accentColor: string;
|
|
47
|
+
title: string;
|
|
48
|
+
label: string;
|
|
49
|
+
date: string;
|
|
50
|
+
imageId: string | null;
|
|
51
|
+
};
|
|
52
|
+
sections: Record<string, {
|
|
53
|
+
excluded: boolean;
|
|
54
|
+
textPlacement: "top" | "leftColumn";
|
|
55
|
+
imagePlacement: "fullWidth" | "right";
|
|
56
|
+
dropTextOverflow: boolean;
|
|
57
|
+
splitAt: "none" | "sub_heading";
|
|
58
|
+
imageLayout: {
|
|
59
|
+
mode: "grid";
|
|
60
|
+
rows: 2 | 1 | 3;
|
|
61
|
+
columns: 2 | 4 | 3;
|
|
62
|
+
fit: "cover" | "contain";
|
|
63
|
+
} | {
|
|
64
|
+
mode: "masonry";
|
|
65
|
+
flow: "rows" | "columns";
|
|
66
|
+
columns: 2 | 4 | 3 | 5 | 6;
|
|
67
|
+
rows: 2 | 4 | 1 | 3 | "auto";
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
70
|
+
} | undefined;
|
|
37
71
|
};
|
|
38
72
|
//# sourceMappingURL=EditorShell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorShell.d.ts","sourceRoot":"","sources":["../../../src/components/shell/EditorShell.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"EditorShell.d.ts","sourceRoot":"","sources":["../../../src/components/shell/EditorShell.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASjD,OAAO,EAAoC,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwDtF,OAAO,KAAK,EAAE,eAAe,EAA2D,MAAM,oBAAoB,CAAC;AAmCnH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAoBxD,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,YAAY,EAAE;QACZ,KAAK,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,OAAO,CAAC;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,cAAc,EAAE,OAAO,CAAC;QACxB,kBAAkB,EAAE,OAAO,CAAC;QAC5B,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;IACF,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;KAAE,GAAG,IAAI,CAAC;IAIhE,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAKjC,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;CAC1C;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,OAAO,EACP,YAAY,EACZ,MAAM,EACN,SAAS,EAAE,gBAAgB,EAC3B,YAAY,EACZ,WAAW,EACX,sBAA8B,EAC9B,eAAe,GAChB,EAAE,KAAK,2CAqiDP;AAuED;6EAC6E;AAC7E,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC,EACvC,aAAa,EAAE,MAAM,GAAG,IAAI,EAC5B,eAAe,EAAE,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK/B"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DocCover } from "../engine/settings";
|
|
2
|
+
import type { DocImage, DocMeta } from "../engine/types";
|
|
3
|
+
import type { DocHost } from "./DocSectionPage";
|
|
4
|
+
export declare function DocCoverPage({ cover, meta, image, host, }: {
|
|
5
|
+
cover: DocCover;
|
|
6
|
+
meta: DocMeta;
|
|
7
|
+
/** Resolved from source.images[cover.imageId] by the caller; null/undefined = solid cover. */
|
|
8
|
+
image?: DocImage | null;
|
|
9
|
+
host?: DocHost;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=DocCoverPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocCoverPage.d.ts","sourceRoot":"","sources":["../../../src/document/components/DocCoverPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAQhD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,IAAI,EACJ,KAAK,EACL,IAAI,GACL,EAAE;IACD,KAAK,EAAE,QAAQ,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,8FAA8F;IAC9F,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,2CAsBA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { DocMeta } from "../engine/types";
|
|
3
|
+
export type { DocMeta };
|
|
4
|
+
export declare function DocPage({ meta, bleed, chrome, children, }: {
|
|
5
|
+
meta: DocMeta;
|
|
6
|
+
bleed?: boolean;
|
|
7
|
+
chrome?: boolean;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=DocPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocPage.d.ts","sourceRoot":"","sources":["../../../src/document/components/DocPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAM/C,YAAY,EAAE,OAAO,EAAE,CAAC;AAExB,wBAAgB,OAAO,CAAC,EACtB,IAAI,EACJ,KAAa,EACb,MAAa,EACb,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAoBA"}
|