@drawnagency/primitives 0.1.114 → 0.1.116
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-26V4YNOR.js +108 -0
- package/dist/{chunk-OAGJBCSH.js → chunk-4WQ36ZP7.js} +19 -3
- package/dist/{chunk-PTY2RG2K.js → chunk-67P34WNW.js} +75 -130
- package/dist/chunk-APIJPTFG.js +64 -0
- package/dist/chunk-CDBURDPX.js +90 -0
- package/dist/{chunk-PLANHXS7.js → chunk-CEFFP3CH.js} +2 -2
- package/dist/chunk-DFKTF3CH.js +0 -0
- package/dist/chunk-DJABADOO.js +131 -0
- package/dist/{chunk-IP2SEBAJ.js → chunk-DJOGPSRU.js} +31 -72
- package/dist/chunk-DKZCHCV3.js +64 -0
- package/dist/chunk-FGQXHUAE.js +39 -0
- package/dist/chunk-GNF6KFQ7.js +18 -0
- package/dist/{chunk-QHMKIODQ.js → chunk-HHNPSKPT.js} +2 -89
- package/dist/{chunk-PZPGJZRG.js → chunk-HUOW3ZV2.js} +3 -3
- package/dist/{chunk-Y5QECJX7.js → chunk-L7WTERU5.js} +2 -2
- package/dist/{chunk-N3G7DOU3.js → chunk-LNQUUC2S.js} +2 -2
- package/dist/{chunk-7SAAJVDE.js → chunk-MSBHMY3C.js} +17 -15
- package/dist/{chunk-PNSCDBU7.js → chunk-O37AV27P.js} +6 -49
- package/dist/{chunk-5KSAS4VY.js → chunk-RIITGTV3.js} +1 -1
- package/dist/chunk-S7QRHUWO.js +8 -0
- package/dist/chunk-VY3IFGE3.js +70 -0
- package/dist/{chunk-VUYCRBJK.js → chunk-W72BPGR3.js} +7 -5
- package/dist/collab/rebase.d.ts.map +1 -1
- package/dist/collab/rebase.js +15 -15
- package/dist/components/editor/index.js +8 -8
- package/dist/components/primitives/index.js +14 -9
- package/dist/components/sections/brand-guide.js +12 -7
- package/dist/components/sections/register-schemas.js +17 -12
- package/dist/components/sections/register.js +17 -12
- package/dist/components/shell/EditorShell.d.ts.map +1 -1
- package/dist/deck-builder/index.js +6 -6
- package/dist/hooks/useEditorPublish.d.ts +4 -1
- package/dist/hooks/useEditorPublish.d.ts.map +1 -1
- package/dist/hooks/useMediaPipeline.d.ts.map +1 -1
- package/dist/index.js +78 -49
- package/dist/lib/dexie.d.ts +7 -1
- package/dist/lib/dexie.d.ts.map +1 -1
- package/dist/lib/dexie.js +3 -2
- package/dist/lib/document-refs.d.ts +8 -0
- package/dist/lib/document-refs.d.ts.map +1 -1
- package/dist/lib/document-refs.js +14 -0
- package/dist/lib/image-variant-plan.d.ts +42 -0
- package/dist/lib/image-variant-plan.d.ts.map +1 -0
- package/dist/lib/image-variant-plan.js +53 -0
- package/dist/lib/index-ops.d.ts.map +1 -1
- package/dist/lib/index-ops.js +20 -16
- package/dist/lib/index.d.ts +2 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +36 -15
- package/dist/lib/loader.d.ts +16 -17
- package/dist/lib/loader.d.ts.map +1 -1
- package/dist/lib/media-ops.d.ts +73 -0
- package/dist/lib/media-ops.d.ts.map +1 -0
- package/dist/lib/media-ops.js +60 -0
- package/dist/lib/nav-tree.d.ts +6 -0
- package/dist/lib/nav-tree.d.ts.map +1 -1
- package/dist/lib/pages.d.ts +2 -1
- package/dist/lib/pages.d.ts.map +1 -1
- package/dist/lib/reference-validation.js +4 -33
- package/dist/lib/section-check.d.ts +49 -0
- package/dist/lib/section-check.d.ts.map +1 -0
- package/dist/lib/section-check.js +14 -0
- package/dist/lib/sidecar-diagnostics.d.ts +20 -0
- package/dist/lib/sidecar-diagnostics.d.ts.map +1 -0
- package/dist/lib/sidecars.d.ts +118 -0
- package/dist/lib/sidecars.d.ts.map +1 -0
- package/dist/lib/sidecars.js +23 -0
- package/dist/lib/site-validation.d.ts +123 -0
- package/dist/lib/site-validation.d.ts.map +1 -0
- package/dist/lib/site-validation.js +230 -0
- package/dist/lib/slug.d.ts +2 -0
- package/dist/lib/slug.d.ts.map +1 -0
- package/dist/lib/storage-tier.d.ts +17 -0
- package/dist/lib/storage-tier.d.ts.map +1 -0
- package/dist/lib/storage-tier.js +29 -0
- package/dist/lib/tags.d.ts +6 -0
- package/dist/lib/tags.d.ts.map +1 -1
- package/dist/media/index.js +15 -15
- package/dist/media/queue.d.ts +2 -0
- package/dist/media/queue.d.ts.map +1 -1
- package/dist/media/worker.d.ts +1 -35
- package/dist/media/worker.d.ts.map +1 -1
- package/dist/schemas/index.js +18 -12
- package/dist/schemas/media.d.ts +4 -0
- package/dist/schemas/media.d.ts.map +1 -1
- package/dist/storage/index.js +2 -1
- package/dist/storage/memory.d.ts +21 -0
- package/dist/storage/memory.d.ts.map +1 -0
- package/dist/storage/memory.js +129 -0
- package/dist/storage/types.d.ts +9 -0
- package/dist/storage/types.d.ts.map +1 -1
- package/package.json +34 -1
- package/src/collab/rebase.ts +12 -16
- package/src/components/shell/EditorShell.tsx +7 -4
- package/src/hooks/useEditorPublish.ts +9 -4
- package/src/hooks/useMediaPipeline.ts +29 -23
- package/src/lib/dexie.ts +9 -1
- package/src/lib/document-refs.ts +30 -0
- package/src/lib/image-variant-plan.ts +92 -0
- package/src/lib/index-ops.ts +9 -18
- package/src/lib/index.ts +15 -0
- package/src/lib/loader.ts +18 -77
- package/src/lib/media-ops.ts +112 -0
- package/src/lib/nav-tree.ts +33 -4
- package/src/lib/pages.ts +2 -3
- package/src/lib/section-check.ts +166 -0
- package/src/lib/sidecar-diagnostics.ts +29 -0
- package/src/lib/sidecars.ts +221 -0
- package/src/lib/site-validation.ts +269 -0
- package/src/lib/slug.ts +6 -0
- package/src/lib/storage-tier.ts +38 -0
- package/src/lib/tags.ts +20 -3
- package/src/media/queue.ts +3 -0
- package/src/media/utils.ts +1 -1
- package/src/media/worker.ts +17 -8
- package/src/schemas/media.ts +7 -2
- package/src/storage/memory.ts +178 -0
- package/src/storage/types.ts +15 -2
- /package/dist/{chunk-45FA7Z55.js → chunk-UUUSJDIG.js} +0 -0
|
@@ -7,10 +7,6 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
getSectionSchemaForType
|
|
9
9
|
} from "./chunk-DMCGN5AS.js";
|
|
10
|
-
import {
|
|
11
|
-
NavEntrySchema,
|
|
12
|
-
TagEntrySchema
|
|
13
|
-
} from "./chunk-4Y2JQQZL.js";
|
|
14
10
|
import {
|
|
15
11
|
getAllSchemas
|
|
16
12
|
} from "./chunk-FTPETWXE.js";
|
|
@@ -111,45 +107,7 @@ function safeRedirect(url, fallback) {
|
|
|
111
107
|
}
|
|
112
108
|
|
|
113
109
|
// src/lib/loader.ts
|
|
114
|
-
function
|
|
115
|
-
if (!navFile) return { entries: [], degraded: false };
|
|
116
|
-
const rawEntries = navFile.entries;
|
|
117
|
-
if (!Array.isArray(rawEntries)) {
|
|
118
|
-
console.warn("[loader] Invalid nav.json, falling back to a flat navigation");
|
|
119
|
-
return { entries: [], degraded: true };
|
|
120
|
-
}
|
|
121
|
-
const entries = [];
|
|
122
|
-
let dropped = 0;
|
|
123
|
-
for (const raw of rawEntries) {
|
|
124
|
-
const result = NavEntrySchema.safeParse(raw);
|
|
125
|
-
if (result.success) entries.push(result.data);
|
|
126
|
-
else dropped++;
|
|
127
|
-
}
|
|
128
|
-
if (dropped > 0) {
|
|
129
|
-
console.warn(`[loader] nav.json: dropped ${dropped} entr${dropped === 1 ? "y" : "ies"} this package version cannot represent; navigation is degraded`);
|
|
130
|
-
}
|
|
131
|
-
return { entries, degraded: dropped > 0 };
|
|
132
|
-
}
|
|
133
|
-
function parseTagsFile(tagsFile) {
|
|
134
|
-
if (!tagsFile) return { tags: [], degraded: false };
|
|
135
|
-
const rawTags = tagsFile.tags;
|
|
136
|
-
if (!Array.isArray(rawTags)) {
|
|
137
|
-
console.warn("[loader] Invalid tags.json, falling back to no tags");
|
|
138
|
-
return { tags: [], degraded: true };
|
|
139
|
-
}
|
|
140
|
-
const tags = [];
|
|
141
|
-
let dropped = 0;
|
|
142
|
-
for (const raw of rawTags) {
|
|
143
|
-
const result = TagEntrySchema.safeParse(raw);
|
|
144
|
-
if (result.success) tags.push(result.data);
|
|
145
|
-
else dropped++;
|
|
146
|
-
}
|
|
147
|
-
if (dropped > 0) {
|
|
148
|
-
console.warn(`[loader] tags.json: dropped ${dropped} entr${dropped === 1 ? "y" : "ies"} this package version cannot represent; tags are degraded`);
|
|
149
|
-
}
|
|
150
|
-
return { tags, degraded: dropped > 0 };
|
|
151
|
-
}
|
|
152
|
-
function mergeSiteContent(index, sectionFiles, navFile, tagsSidecar = { loaded: false }) {
|
|
110
|
+
function mergeSiteContent(index, sectionFiles, sidecars = {}) {
|
|
153
111
|
const sections = [];
|
|
154
112
|
const canValidate = getAllSchemas().length >= 2;
|
|
155
113
|
const orderedIds = index.pages.flatMap((p) => p.order);
|
|
@@ -180,23 +138,22 @@ function mergeSiteContent(index, sectionFiles, navFile, tagsSidecar = { loaded:
|
|
|
180
138
|
sections.push({ section: raw, meta });
|
|
181
139
|
}
|
|
182
140
|
}
|
|
183
|
-
const nav =
|
|
184
|
-
const tags = tagsSidecar.loaded ? parseTagsFile(tagsSidecar.file) : null;
|
|
141
|
+
const { nav, tags } = sidecars;
|
|
185
142
|
return {
|
|
186
143
|
sections,
|
|
187
|
-
index: { ...index, nav: nav
|
|
188
|
-
navDegraded: nav
|
|
144
|
+
index: { ...index, nav: nav?.entries ?? [], ...tags ? { tags: tags.entries } : {} },
|
|
145
|
+
navDegraded: nav?.degraded ?? false,
|
|
189
146
|
tagsDegraded: tags?.degraded ?? false
|
|
190
147
|
};
|
|
191
148
|
}
|
|
192
|
-
function loadStaticSiteContent(index, sectionGlob,
|
|
149
|
+
function loadStaticSiteContent(index, sectionGlob, sidecars = {}) {
|
|
193
150
|
const sectionFiles = {};
|
|
194
151
|
for (const [path, data] of Object.entries(sectionGlob)) {
|
|
195
152
|
const filename = path.split("/").pop();
|
|
196
153
|
const id = filename.replace(".json", "");
|
|
197
154
|
sectionFiles[id] = data;
|
|
198
155
|
}
|
|
199
|
-
return mergeSiteContent(index, sectionFiles,
|
|
156
|
+
return mergeSiteContent(index, sectionFiles, sidecars);
|
|
200
157
|
}
|
|
201
158
|
|
|
202
159
|
export {
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import {
|
|
2
|
+
navEntries
|
|
3
|
+
} from "./chunk-DJOGPSRU.js";
|
|
4
|
+
import {
|
|
5
|
+
RESERVED_SLUGS
|
|
6
|
+
} from "./chunk-67P34WNW.js";
|
|
7
|
+
|
|
8
|
+
// src/lib/pages.ts
|
|
9
|
+
function pageDisplayTitle(title) {
|
|
10
|
+
return title || "Untitled";
|
|
11
|
+
}
|
|
12
|
+
function uniquePageSlug(base, existing) {
|
|
13
|
+
const taken = new Set(existing);
|
|
14
|
+
const reserved = new Set(RESERVED_SLUGS);
|
|
15
|
+
let candidate = base || "page";
|
|
16
|
+
if (!taken.has(candidate) && !reserved.has(candidate)) return candidate;
|
|
17
|
+
let n = 2;
|
|
18
|
+
while (taken.has(`${candidate}-${n}`) || reserved.has(`${candidate}-${n}`)) n++;
|
|
19
|
+
return `${candidate}-${n}`;
|
|
20
|
+
}
|
|
21
|
+
function pageById(index, id) {
|
|
22
|
+
return index.pages.find((p) => p.id === id);
|
|
23
|
+
}
|
|
24
|
+
function audiencePasses(access, audience) {
|
|
25
|
+
if (access.length === 0) return true;
|
|
26
|
+
if (!audience) return true;
|
|
27
|
+
return access.includes(audience);
|
|
28
|
+
}
|
|
29
|
+
function addPage(index, id) {
|
|
30
|
+
const slug = uniquePageSlug("new-page", index.pages.map((p) => p.slug));
|
|
31
|
+
const page = {
|
|
32
|
+
id,
|
|
33
|
+
title: "",
|
|
34
|
+
slug,
|
|
35
|
+
isHome: false,
|
|
36
|
+
showInNav: true,
|
|
37
|
+
status: "live",
|
|
38
|
+
access: [],
|
|
39
|
+
order: []
|
|
40
|
+
};
|
|
41
|
+
return {
|
|
42
|
+
...index,
|
|
43
|
+
pages: [...index.pages, page],
|
|
44
|
+
nav: [...navEntries(index), { kind: "page", pageId: id }]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function deletePage(index, pageId) {
|
|
48
|
+
const page = pageById(index, pageId);
|
|
49
|
+
if (!page || page.isHome) return { index, removedSectionIds: [] };
|
|
50
|
+
const removedSectionIds = [...page.order];
|
|
51
|
+
const nextSections = { ...index.sections };
|
|
52
|
+
for (const id of removedSectionIds) delete nextSections[id];
|
|
53
|
+
return {
|
|
54
|
+
index: {
|
|
55
|
+
...index,
|
|
56
|
+
pages: index.pages.filter((p) => p.id !== pageId),
|
|
57
|
+
sections: nextSections,
|
|
58
|
+
nav: navEntries(index).filter((e) => !(e.kind === "page" && e.pageId === pageId)).map((e) => e.kind === "group" ? { ...e, pageIds: e.pageIds.filter((id) => id !== pageId) } : e)
|
|
59
|
+
},
|
|
60
|
+
removedSectionIds
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export {
|
|
65
|
+
pageDisplayTitle,
|
|
66
|
+
uniquePageSlug,
|
|
67
|
+
audiencePasses,
|
|
68
|
+
addPage,
|
|
69
|
+
deletePage
|
|
70
|
+
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
audiencePasses
|
|
3
|
+
} from "./chunk-VY3IFGE3.js";
|
|
1
4
|
import {
|
|
2
5
|
getContainerChildren
|
|
3
6
|
} from "./chunk-L45X7DKX.js";
|
|
4
7
|
import {
|
|
5
|
-
siteTags
|
|
6
|
-
} from "./chunk-OAGJBCSH.js";
|
|
7
|
-
import {
|
|
8
|
-
audiencePasses,
|
|
9
8
|
pagesInNavOrder
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DJOGPSRU.js";
|
|
10
|
+
import {
|
|
11
|
+
siteTags
|
|
12
|
+
} from "./chunk-4WQ36ZP7.js";
|
|
11
13
|
import {
|
|
12
14
|
REFERENCE_TYPE
|
|
13
15
|
} from "./chunk-5GFACGSN.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rebase.d.ts","sourceRoot":"","sources":["../../src/collab/rebase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"rebase.d.ts","sourceRoot":"","sources":["../../src/collab/rebase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAIxD,MAAM,WAAW,UAAU;IACzB,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,UAAU,EAAE,SAAS,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;;+EAK2E;IAC3E,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;gFAI4E;IAC5E,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,WAAW,EAAE,SAAS,CAAC;IAKvB,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,EAAE,SAAS,CAAC;IAIjB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED;;;;;;;;;;qEAUqE;AACrE;;;;;;;;;;;;;;;;;;;;;oEAqBoE;AACpE,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,GAAG,SAAS,CAS7F;AAED;;;;;;;;;;;;;;;;;;;2BAmB2B;AAC3B,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,GAAG,SAAS,GAAG,IAAI,CAmBvG;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,YAAY,CAyI5D"}
|
package/dist/collab/rebase.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
NAV,
|
|
3
|
+
TAGS,
|
|
4
|
+
liftSidecars
|
|
5
|
+
} from "../chunk-DJABADOO.js";
|
|
6
|
+
import "../chunk-DJOGPSRU.js";
|
|
7
|
+
import "../chunk-4WQ36ZP7.js";
|
|
8
|
+
import "../chunk-GNF6KFQ7.js";
|
|
8
9
|
import {
|
|
9
10
|
IndexSchema
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-67P34WNW.js";
|
|
11
12
|
import "../chunk-4TZJZU2T.js";
|
|
13
|
+
import "../chunk-4Y2JQQZL.js";
|
|
14
|
+
import "../chunk-APIJPTFG.js";
|
|
12
15
|
import "../chunk-AASEGXNT.js";
|
|
13
16
|
import "../chunk-JSBRDJBE.js";
|
|
14
17
|
|
|
@@ -24,14 +27,11 @@ function reconcileRemoteIndex(remoteIndex, localIndex) {
|
|
|
24
27
|
};
|
|
25
28
|
}
|
|
26
29
|
function applyRemoteIndexUpdate(rawRemoteIndex, localIndex) {
|
|
27
|
-
const
|
|
28
|
-
const rawTags = rawRemoteIndex?.tags;
|
|
30
|
+
const lifted = liftSidecars(rawRemoteIndex);
|
|
29
31
|
const parsed = IndexSchema.safeParse(rawRemoteIndex);
|
|
30
32
|
if (!parsed.success) return null;
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const parsedTags = rawTags === void 0 ? null : TagsFileSchema.safeParse({ tags: rawTags });
|
|
34
|
-
const tags = parsedTags?.success ? parsedTags.data.tags : localIndex.tags;
|
|
33
|
+
const nav = lifted.nav && !lifted.nav.degraded ? lifted.nav.entries : localIndex.nav;
|
|
34
|
+
const tags = lifted.tags && !lifted.tags.degraded ? lifted.tags.entries : localIndex.tags;
|
|
35
35
|
const reconciled = reconcileRemoteIndex(parsed.data, localIndex);
|
|
36
36
|
return {
|
|
37
37
|
...reconciled,
|
|
@@ -94,10 +94,10 @@ function rebaseContent(args) {
|
|
|
94
94
|
}
|
|
95
95
|
index = { ...args.localIndex, pages, sections };
|
|
96
96
|
}
|
|
97
|
-
const nav = args.
|
|
97
|
+
const nav = NAV.rebase({ base: args.baselineIndex?.nav, local: args.localIndex.nav, remote: args.remoteIndex.nav });
|
|
98
98
|
if (nav !== void 0) index = { ...index, nav };
|
|
99
99
|
if (args.localIndexDirty) {
|
|
100
|
-
const tags =
|
|
100
|
+
const tags = TAGS.rebase({ base: args.baselineIndex?.tags, local: args.localIndex.tags, remote: args.remoteIndex.tags });
|
|
101
101
|
if (tags !== void 0) index = { ...index, tags };
|
|
102
102
|
}
|
|
103
103
|
for (const s of merged) {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
canDropBlock,
|
|
9
9
|
isBlockDragData,
|
|
10
10
|
useEditorContext
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CEFFP3CH.js";
|
|
12
12
|
import {
|
|
13
13
|
CheckboxBox
|
|
14
14
|
} from "../../chunk-JR24U7FJ.js";
|
|
15
15
|
import {
|
|
16
16
|
DropEdgeIndicator
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-RIITGTV3.js";
|
|
18
18
|
import {
|
|
19
19
|
Kbd,
|
|
20
20
|
Popover,
|
|
@@ -25,21 +25,21 @@ import "../../chunk-GGYY3JQJ.js";
|
|
|
25
25
|
import {
|
|
26
26
|
IconButton
|
|
27
27
|
} from "../../chunk-IIDKW7AV.js";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-HHNPSKPT.js";
|
|
29
|
+
import "../../chunk-CDBURDPX.js";
|
|
29
30
|
import "../../chunk-XDEPXTBY.js";
|
|
30
31
|
import {
|
|
31
32
|
cn
|
|
32
33
|
} from "../../chunk-7EOSDFS3.js";
|
|
34
|
+
import "../../chunk-S7QRHUWO.js";
|
|
33
35
|
import {
|
|
34
36
|
tagDisplayLabel
|
|
35
|
-
} from "../../chunk-
|
|
36
|
-
import "../../chunk-
|
|
37
|
+
} from "../../chunk-4WQ36ZP7.js";
|
|
38
|
+
import "../../chunk-GNF6KFQ7.js";
|
|
37
39
|
import {
|
|
38
40
|
REFERENCE_TYPE
|
|
39
41
|
} from "../../chunk-5GFACGSN.js";
|
|
40
|
-
import "../../chunk-
|
|
41
|
-
import "../../chunk-4TZJZU2T.js";
|
|
42
|
-
import "../../chunk-AASEGXNT.js";
|
|
42
|
+
import "../../chunk-APIJPTFG.js";
|
|
43
43
|
import "../../chunk-JSBRDJBE.js";
|
|
44
44
|
|
|
45
45
|
// 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-HUOW3ZV2.js";
|
|
6
6
|
import {
|
|
7
7
|
EditableGrid,
|
|
8
8
|
EditableList,
|
|
@@ -10,25 +10,30 @@ import {
|
|
|
10
10
|
ImageDropZone,
|
|
11
11
|
MediaBlock,
|
|
12
12
|
ResolvedMedia
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-L7WTERU5.js";
|
|
14
14
|
import {
|
|
15
15
|
LinkField,
|
|
16
16
|
PagesContext,
|
|
17
17
|
usePages
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-RIITGTV3.js";
|
|
19
19
|
import "../../chunk-DIMDRBFK.js";
|
|
20
20
|
import "../../chunk-GGYY3JQJ.js";
|
|
21
21
|
import "../../chunk-IIDKW7AV.js";
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-
|
|
24
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-HHNPSKPT.js";
|
|
23
|
+
import "../../chunk-CDBURDPX.js";
|
|
24
|
+
import "../../chunk-W72BPGR3.js";
|
|
25
25
|
import "../../chunk-QQ3S3P5P.js";
|
|
26
26
|
import "../../chunk-7EOSDFS3.js";
|
|
27
|
-
import "../../chunk-
|
|
28
|
-
import "../../chunk-
|
|
27
|
+
import "../../chunk-VY3IFGE3.js";
|
|
28
|
+
import "../../chunk-S7QRHUWO.js";
|
|
29
|
+
import "../../chunk-L45X7DKX.js";
|
|
30
|
+
import "../../chunk-DJOGPSRU.js";
|
|
31
|
+
import "../../chunk-4WQ36ZP7.js";
|
|
32
|
+
import "../../chunk-GNF6KFQ7.js";
|
|
29
33
|
import "../../chunk-5GFACGSN.js";
|
|
30
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-67P34WNW.js";
|
|
31
35
|
import "../../chunk-4TZJZU2T.js";
|
|
36
|
+
import "../../chunk-APIJPTFG.js";
|
|
32
37
|
import "../../chunk-FTPETWXE.js";
|
|
33
38
|
import "../../chunk-AASEGXNT.js";
|
|
34
39
|
import "../../chunk-JSBRDJBE.js";
|
|
@@ -2,21 +2,26 @@ import {
|
|
|
2
2
|
ColorItemSchema,
|
|
3
3
|
ColorSpaceSchema,
|
|
4
4
|
brandGuideSectionDefs
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-LNQUUC2S.js";
|
|
6
6
|
import "../../chunk-JR24U7FJ.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-L7WTERU5.js";
|
|
8
|
+
import "../../chunk-RIITGTV3.js";
|
|
9
9
|
import "../../chunk-DIMDRBFK.js";
|
|
10
10
|
import "../../chunk-IIDKW7AV.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-HHNPSKPT.js";
|
|
12
|
+
import "../../chunk-CDBURDPX.js";
|
|
12
13
|
import "../../chunk-WDSVHKAH.js";
|
|
13
14
|
import "../../chunk-XDEPXTBY.js";
|
|
14
|
-
import "../../chunk-L45X7DKX.js";
|
|
15
15
|
import "../../chunk-7EOSDFS3.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-VY3IFGE3.js";
|
|
17
|
+
import "../../chunk-S7QRHUWO.js";
|
|
18
|
+
import "../../chunk-L45X7DKX.js";
|
|
19
|
+
import "../../chunk-DJOGPSRU.js";
|
|
20
|
+
import "../../chunk-GNF6KFQ7.js";
|
|
17
21
|
import "../../chunk-5GFACGSN.js";
|
|
18
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-67P34WNW.js";
|
|
19
23
|
import "../../chunk-4TZJZU2T.js";
|
|
24
|
+
import "../../chunk-APIJPTFG.js";
|
|
20
25
|
import "../../chunk-FTPETWXE.js";
|
|
21
26
|
import "../../chunk-AASEGXNT.js";
|
|
22
27
|
import "../../chunk-3ZRQ4G5F.js";
|
|
@@ -1,30 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
allSectionDefs
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-MSBHMY3C.js";
|
|
4
|
+
import "../../chunk-LNQUUC2S.js";
|
|
5
|
+
import "../../chunk-CEFFP3CH.js";
|
|
6
6
|
import "../../chunk-JR24U7FJ.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-HUOW3ZV2.js";
|
|
8
|
+
import "../../chunk-L7WTERU5.js";
|
|
9
|
+
import "../../chunk-RIITGTV3.js";
|
|
10
10
|
import "../../chunk-JCDZAFX2.js";
|
|
11
11
|
import "../../chunk-DIMDRBFK.js";
|
|
12
12
|
import "../../chunk-GGYY3JQJ.js";
|
|
13
13
|
import "../../chunk-IIDKW7AV.js";
|
|
14
14
|
import "../../chunk-Y4JQGO6G.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-HHNPSKPT.js";
|
|
16
|
+
import "../../chunk-CDBURDPX.js";
|
|
16
17
|
import "../../chunk-WDSVHKAH.js";
|
|
17
18
|
import "../../chunk-XDEPXTBY.js";
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-L45X7DKX.js";
|
|
19
|
+
import "../../chunk-W72BPGR3.js";
|
|
20
20
|
import "../../chunk-QQ3S3P5P.js";
|
|
21
21
|
import "../../chunk-7EOSDFS3.js";
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-VY3IFGE3.js";
|
|
23
|
+
import "../../chunk-S7QRHUWO.js";
|
|
24
|
+
import "../../chunk-L45X7DKX.js";
|
|
25
|
+
import "../../chunk-DJOGPSRU.js";
|
|
26
|
+
import "../../chunk-4WQ36ZP7.js";
|
|
27
|
+
import "../../chunk-GNF6KFQ7.js";
|
|
24
28
|
import "../../chunk-5GFACGSN.js";
|
|
25
29
|
import "../../chunk-DMCGN5AS.js";
|
|
26
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-67P34WNW.js";
|
|
27
31
|
import "../../chunk-4TZJZU2T.js";
|
|
32
|
+
import "../../chunk-APIJPTFG.js";
|
|
28
33
|
import {
|
|
29
34
|
registerRichText,
|
|
30
35
|
registerSchema
|
|
@@ -1,30 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
allSectionDefs
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-MSBHMY3C.js";
|
|
4
|
+
import "../../chunk-LNQUUC2S.js";
|
|
5
|
+
import "../../chunk-CEFFP3CH.js";
|
|
6
6
|
import "../../chunk-JR24U7FJ.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-HUOW3ZV2.js";
|
|
8
|
+
import "../../chunk-L7WTERU5.js";
|
|
9
|
+
import "../../chunk-RIITGTV3.js";
|
|
10
10
|
import "../../chunk-JCDZAFX2.js";
|
|
11
11
|
import "../../chunk-DIMDRBFK.js";
|
|
12
12
|
import "../../chunk-GGYY3JQJ.js";
|
|
13
13
|
import "../../chunk-IIDKW7AV.js";
|
|
14
14
|
import "../../chunk-Y4JQGO6G.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-HHNPSKPT.js";
|
|
16
|
+
import "../../chunk-CDBURDPX.js";
|
|
16
17
|
import "../../chunk-WDSVHKAH.js";
|
|
17
18
|
import "../../chunk-XDEPXTBY.js";
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-L45X7DKX.js";
|
|
19
|
+
import "../../chunk-W72BPGR3.js";
|
|
20
20
|
import "../../chunk-QQ3S3P5P.js";
|
|
21
21
|
import "../../chunk-7EOSDFS3.js";
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-VY3IFGE3.js";
|
|
23
|
+
import "../../chunk-S7QRHUWO.js";
|
|
24
|
+
import "../../chunk-L45X7DKX.js";
|
|
25
|
+
import "../../chunk-DJOGPSRU.js";
|
|
26
|
+
import "../../chunk-4WQ36ZP7.js";
|
|
27
|
+
import "../../chunk-GNF6KFQ7.js";
|
|
24
28
|
import "../../chunk-5GFACGSN.js";
|
|
25
29
|
import "../../chunk-DMCGN5AS.js";
|
|
26
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-67P34WNW.js";
|
|
27
31
|
import "../../chunk-4TZJZU2T.js";
|
|
32
|
+
import "../../chunk-APIJPTFG.js";
|
|
28
33
|
import {
|
|
29
34
|
registerSection
|
|
30
35
|
} from "../../chunk-FTPETWXE.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorShell.d.ts","sourceRoot":"","sources":["../../../src/components/shell/EditorShell.tsx"],"names":[],"mappings":"A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
|
Popover,
|
|
3
9
|
PopoverItem,
|
|
@@ -12,12 +18,6 @@ import {
|
|
|
12
18
|
import {
|
|
13
19
|
IconButton
|
|
14
20
|
} from "../chunk-IIDKW7AV.js";
|
|
15
|
-
import {
|
|
16
|
-
DeckMediaProvider,
|
|
17
|
-
DeckSlideView,
|
|
18
|
-
DeckStage,
|
|
19
|
-
DeckTextEditProvider
|
|
20
|
-
} from "../chunk-TEOAKGZA.js";
|
|
21
21
|
import {
|
|
22
22
|
deleteDeckDraft,
|
|
23
23
|
getDeckDraft,
|
|
@@ -9,6 +9,9 @@ interface PublishDeps {
|
|
|
9
9
|
clearConfigDirty: () => void;
|
|
10
10
|
siteIndexRef: React.RefObject<SiteIndex>;
|
|
11
11
|
siteConfig: SiteConfig | null;
|
|
12
|
+
/** This session's tags read was degraded; the cache re-primes record tags
|
|
13
|
+
* as not loaded (see cacheContent). */
|
|
14
|
+
tagsDegraded: boolean;
|
|
12
15
|
sections: LoadedSection[];
|
|
13
16
|
deletedSectionIds?: string[];
|
|
14
17
|
/** Receives the ids that were actually committed this save (so the caller can
|
|
@@ -89,7 +92,7 @@ interface PublishDeps {
|
|
|
89
92
|
onDocumentsDeleted?: (ids: string[]) => void;
|
|
90
93
|
}
|
|
91
94
|
export type PublishAction = "idle" | "saving" | "publishing";
|
|
92
|
-
export declare function useEditorPublish({ flushNow, cancelPendingFlush, isConfigDirty, clearConfigDirty, siteIndexRef, siteConfig, sections, deletedSectionIds, onSuccess, mediaManifest, mediaManifestRef, manifestDirty, clearManifestDirty, pendingMediaItems, pendingMediaDeletions, onMediaPublished, onShasUpdated, onPublishComplete, getBaseVersion, recoverConflict, onBaselineCommitted, onSaveWarnings, saveChunkBudget, savingRef, getEditGeneration, documentManifest, pendingDocuments, pendingDocumentDeletions, onDocumentsPublished, onDocumentsDeleted, }: PublishDeps): {
|
|
95
|
+
export declare function useEditorPublish({ flushNow, cancelPendingFlush, isConfigDirty, clearConfigDirty, siteIndexRef, siteConfig, tagsDegraded, sections, deletedSectionIds, onSuccess, mediaManifest, mediaManifestRef, manifestDirty, clearManifestDirty, pendingMediaItems, pendingMediaDeletions, onMediaPublished, onShasUpdated, onPublishComplete, getBaseVersion, recoverConflict, onBaselineCommitted, onSaveWarnings, saveChunkBudget, savingRef, getEditGeneration, documentManifest, pendingDocuments, pendingDocumentDeletions, onDocumentsPublished, onDocumentsDeleted, }: PublishDeps): {
|
|
93
96
|
publishAction: PublishAction;
|
|
94
97
|
publishFeedback: import("./useNotice").NoticeState | null;
|
|
95
98
|
saveProgress: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditorPublish.d.ts","sourceRoot":"","sources":["../../src/hooks/useEditorPublish.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"useEditorPublish.d.ts","sourceRoot":"","sources":["../../src/hooks/useEditorPublish.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAiDpF,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,MAAM,OA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EACb,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,gBAAqB,EACrB,gBAAqB,EACrB,wBAA6B,EAC7B,oBAAoB,EACpB,kBAAkB,GACnB,EAAE,WAAW;;;;;;;EAosBb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMediaPipeline.d.ts","sourceRoot":"","sources":["../../src/hooks/useMediaPipeline.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMediaPipeline.d.ts","sourceRoot":"","sources":["../../src/hooks/useMediaPipeline.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,KAAK,SAAS,EAAmB,MAAM,gBAAgB,CAAC;AAClF,OAAO,KAAK,EAAE,aAAa,EAAiC,MAAM,gBAAgB,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AAiBxF,OAAO,EAAwB,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,UAAU,qBAAqB;IAC7B,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,aAAa,EAAE,aAAa,CAAC;IAC7B,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IACtE,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC5E,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KA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