pagepilot-visual-editor 1.0.40 → 1.0.41
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/{index-D169496I.cjs → index-BVRFBf4A.cjs} +1 -1
- package/dist/{index-CHnw7-jn.cjs → index-D6uaGE9o.cjs} +177 -177
- package/dist/{index-Bj8aEC5x.js → index-kjXqGRCj.js} +15 -11
- package/dist/{index-DVR0Xke0.js → index-xCACDRV-.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -16
- package/dist/{xlsx-D6z6jSsp.cjs → xlsx-DW2XG0Vs.cjs} +1 -1
- package/dist/{xlsx-D1z_8D-l.js → xlsx-QDrfGy9O.js} +1 -1
- package/package.json +1 -1
|
@@ -61874,7 +61874,7 @@ function l7e(e) {
|
|
|
61874
61874
|
return AX(t);
|
|
61875
61875
|
}
|
|
61876
61876
|
async function c7e(e) {
|
|
61877
|
-
const t = await import("./xlsx-
|
|
61877
|
+
const t = await import("./xlsx-QDrfGy9O.js").then((o) => o.x), n = await e.arrayBuffer(), r = t.read(new Uint8Array(n), { type: "array", cellDates: !0 }), i = [];
|
|
61878
61878
|
for (const o of r.SheetNames) {
|
|
61879
61879
|
const a = r.Sheets[o], c = t.utils.sheet_to_json(a, {
|
|
61880
61880
|
header: 1,
|
|
@@ -61888,7 +61888,7 @@ async function c7e(e) {
|
|
|
61888
61888
|
return i;
|
|
61889
61889
|
}
|
|
61890
61890
|
async function u7e(e) {
|
|
61891
|
-
const t = await import("./index-
|
|
61891
|
+
const t = await import("./index-xCACDRV-.js").then((i) => i.i), n = await e.arrayBuffer(), { value: r } = await t.convertToHtml({ arrayBuffer: n });
|
|
61892
61892
|
return r ? r7e(r).map((i, o) => ({ name: `Table ${o + 1}`, table: i })) : [];
|
|
61893
61893
|
}
|
|
61894
61894
|
function d7e(e, t, n, r, i, o, a = 50, s = 20) {
|
|
@@ -166266,15 +166266,19 @@ export {
|
|
|
166266
166266
|
j8e as e,
|
|
166267
166267
|
omt as f,
|
|
166268
166268
|
Kht as g,
|
|
166269
|
-
|
|
166270
|
-
|
|
166271
|
-
|
|
166272
|
-
|
|
166273
|
-
|
|
166274
|
-
|
|
166275
|
-
|
|
166276
|
-
|
|
166269
|
+
f5 as h,
|
|
166270
|
+
kY as i,
|
|
166271
|
+
die as j,
|
|
166272
|
+
jpt as k,
|
|
166273
|
+
Np as l,
|
|
166274
|
+
rAt as m,
|
|
166275
|
+
Bc as n,
|
|
166276
|
+
Agt as o,
|
|
166277
166277
|
qpt as p,
|
|
166278
|
+
qa as q,
|
|
166278
166279
|
nAt as r,
|
|
166279
|
-
|
|
166280
|
+
br as s,
|
|
166281
|
+
Yht as t,
|
|
166282
|
+
Pt as u,
|
|
166283
|
+
sse as v
|
|
166280
166284
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D6uaGE9o.cjs");exports.EditorContext=e.EditorContext;exports.PagePilotEditor=e.PagePilotEditor;exports.PagepilotApiClient=e.PagepilotApiClient;exports.Reader=e.Reader;exports.ReaderBlock=e.ReaderBlock;exports.ReaderBlockSchema=e.ReaderBlockSchema;exports.ReaderDocumentSchema=e.ReaderDocumentSchema;exports.applyFieldPatches=e.applyFieldPatches;exports.buildChangeTemplateDocument=e.buildChangeTemplateDocument;exports.extractApiRows=e.extractApiRows;exports.normalizeTemplateForLocalEditor=e.normalizeTemplateForLocalEditor;exports.pagePilotEditorDarkTheme=e.pagePilotEditorDarkTheme;exports.pagePilotEditorLightTheme=e.pagePilotEditorLightTheme;exports.parseTemplateConfiguration=e.parseTemplateConfiguration;exports.refreshApiDataSources=e.refreshApiDataSources;exports.refreshDocumentApiDataSources=e.refreshDocumentApiDataSources;exports.renderToStaticHtml=e.renderToStaticHtml;exports.renderToStaticMarkup=e.renderToStaticMarkup;exports.resetDocument=e.resetDocument;exports.resetPagePilotEditorTranslations=e.resetPagePilotEditorTranslations;exports.setDocument=e.setDocument;exports.setPagePilotEditorTranslations=e.setPagePilotEditorTranslations;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,5 +8,8 @@ export { renderToStaticHtml, refreshApiDataSources, refreshDocumentApiDataSource
|
|
|
8
8
|
export type { RenderToStaticHtmlOptions, RenderToStaticHtmlSyncOptions, RenderToStaticHtmlPageOptions, RenderToStaticHtmlPagePathOptions, RenderToStaticHtmlTemplateOptions, RefreshApiDataSourcesOptions, RefreshApiDataSourcesResult, } from './renderToStaticHtml';
|
|
9
9
|
export type { TReaderBlock, TReaderDocument, TReaderBlockProps, TReaderProps, } from './email-builder-core';
|
|
10
10
|
export * as EditorContext from './editor-sample/documents/editor/EditorContext';
|
|
11
|
+
export { buildChangeTemplateDocument, applyFieldPatches, } from './editor-sample/App/InspectorDrawer/LayoutPanel/templateHelpers';
|
|
12
|
+
export type { FieldPatches } from './editor-sample/App/InspectorDrawer/LayoutPanel/templateHelpers';
|
|
13
|
+
export { normalizeTemplateForLocalEditor, parseTemplateConfiguration, } from './editor-sample/App/InspectorDrawer/LayoutPanel/templateApplyHelpers';
|
|
11
14
|
export { PagepilotApiClient } from './api/PagepilotApiClient';
|
|
12
15
|
export type { PagepilotApiConfig, ListParams, PageListRow, PageListResponse, } from './api/PagepilotApiClient';
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import { E as t, P as s, b as
|
|
1
|
+
import { E as t, P as s, b as o, R as r, d as i, e as l, f as n, h as c, i as d, j as m, n as p, p as u, k as P, l as h, r as g, m as T, o as D, q as E, s as R, t as S, u as f, v as k } from "./index-kjXqGRCj.js";
|
|
2
2
|
export {
|
|
3
3
|
t as EditorContext,
|
|
4
4
|
s as PagePilotEditor,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
o as PagepilotApiClient,
|
|
6
|
+
r as Reader,
|
|
7
7
|
i as ReaderBlock,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
m as
|
|
13
|
-
p as
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
8
|
+
l as ReaderBlockSchema,
|
|
9
|
+
n as ReaderDocumentSchema,
|
|
10
|
+
c as applyFieldPatches,
|
|
11
|
+
d as buildChangeTemplateDocument,
|
|
12
|
+
m as extractApiRows,
|
|
13
|
+
p as normalizeTemplateForLocalEditor,
|
|
14
|
+
u as pagePilotEditorDarkTheme,
|
|
15
|
+
P as pagePilotEditorLightTheme,
|
|
16
|
+
h as parseTemplateConfiguration,
|
|
17
|
+
g as refreshApiDataSources,
|
|
18
|
+
T as refreshDocumentApiDataSources,
|
|
19
|
+
D as renderToStaticHtml,
|
|
20
|
+
E as renderToStaticMarkup,
|
|
21
|
+
R as resetDocument,
|
|
22
|
+
S as resetPagePilotEditorTranslations,
|
|
23
|
+
f as setDocument,
|
|
24
|
+
k as setPagePilotEditorTranslations
|
|
21
25
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const $0=require("./index-
|
|
1
|
+
"use strict";const $0=require("./index-D6uaGE9o.cjs"),B0=require("./_commonjs-dynamic-modules-DMkBISW1.cjs");function op(i0,Wr){for(var l=0;l<Wr.length;l++){const x=Wr[l];if(typeof x!="string"&&!Array.isArray(x)){for(const a in x)if(a!=="default"&&!(a in i0)){const e=Object.getOwnPropertyDescriptor(x,a);e&&Object.defineProperty(i0,a,e.get?e:{enumerable:!0,get:()=>x[a]})}}}return Object.freeze(Object.defineProperty(i0,Symbol.toStringTag,{value:"Module"}))}var gi={exports:{}},xi={exports:{}},Ef;function Cf(){return Ef||(Ef=1,function(i0){var Wr={version:"1.14.0"};Wr[437]=function(){for(var l=`\0\x07\b
|
|
2
2
|
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[620]=function(){for(var l=`\0\x07\b
|
|
3
3
|
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖܢ٥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[737]=function(){for(var l=`\0\x07\b
|
|
4
4
|
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[850]=function(){for(var l=`\0\x07\b
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pagepilot-visual-editor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"description": "Standalone visual editor — drop <PagePilotEditor> into any React app and get Style/Layout/Inspect/Layers panels, drag-and-drop blocks, undo/redo, dirty-tracked save, multi-section pages, and light/dark themes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|