@tech_carthagos/page-builder 1.0.13 → 1.0.14
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/CraftEditor-Grwj7M3H.js +2006 -0
- package/dist/CraftEditor-xRtkY2_B.cjs +72 -0
- package/dist/{index-DWRynqVc.js → index-BU18TokA.js} +909 -917
- package/dist/{index-GH-PwMSN.cjs → index-CyIoH_7r.cjs} +32 -32
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +5 -5
- package/dist-types/editor/Toolbox.d.ts.map +1 -1
- package/dist-types/examples/App.d.ts.map +1 -1
- package/dist-types/user/Div.d.ts +2 -4
- package/dist-types/user/Div.d.ts.map +1 -1
- package/dist-types/user/Footer.d.ts +1 -1
- package/dist-types/user/Footer.d.ts.map +1 -1
- package/dist-types/user/Section.d.ts +2 -2
- package/dist-types/user/Section.d.ts.map +1 -1
- package/dist-types/user/Wrapper.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/CraftEditor-B8VkDZHb.js +0 -2256
- package/dist/CraftEditor-DHRDnczs.cjs +0 -72
package/dist/index.cjs.js
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-CyIoH_7r.cjs");exports.ApiConfigProvider=e.ApiConfigProvider;exports.DEVICE_ORDER=e.DEVICE_ORDER;exports.DeviceSizeProvider=e.DeviceSizeProvider;exports.EventDataProvider=e.EventDataProvider;exports.PageBuilder=e.PageBuilder;exports.PreviewModal=e.PreviewModal;exports.TEMPLATE_VARIABLES=e.TEMPLATE_VARIABLES;exports.getPlaceholderPaths=e.getPlaceholderPaths;exports.getResponsiveValue=e.getResponsiveValue;exports.hasTemplatePlaceholders=e.hasTemplatePlaceholders;exports.processTemplate=e.processTemplate;exports.useApiConfig=e.useApiConfig;exports.useDeviceSize=e.useDeviceSize;exports.useEventData=e.useEventData;
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as s, a3 as i, R as r, U as o, Z as t, _ as l, a7 as v, a6 as P, a2 as E, a5 as d, a4 as p, a0 as D, a1 as c, K as g } from "./index-BU18TokA.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ApiConfigProvider,
|
|
4
4
|
i as DEVICE_ORDER,
|
|
@@ -8,10 +8,10 @@ export {
|
|
|
8
8
|
l as PreviewModal,
|
|
9
9
|
v as TEMPLATE_VARIABLES,
|
|
10
10
|
P as getPlaceholderPaths,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
E as getResponsiveValue,
|
|
12
|
+
d as hasTemplatePlaceholders,
|
|
13
13
|
p as processTemplate,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
D as useApiConfig,
|
|
15
|
+
c as useDeviceSize,
|
|
16
16
|
g as useEventData
|
|
17
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbox.d.ts","sourceRoot":"","sources":["../../src/editor/Toolbox.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toolbox.d.ts","sourceRoot":"","sources":["../../src/editor/Toolbox.jsx"],"names":[],"mappings":"AA4BO,mEAkHN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/examples/App.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/examples/App.tsx"],"names":[],"mappings":"AAwDA,QAAA,MAAM,GAAG,+CAMR,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
package/dist-types/user/Div.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react';
|
|
2
|
-
|
|
3
1
|
export type DivProps = {
|
|
4
2
|
className?: string;
|
|
5
3
|
backgroundColor?: string;
|
|
@@ -31,14 +29,14 @@ export type DivProps = {
|
|
|
31
29
|
borderColor?: string;
|
|
32
30
|
borderStyle?: string;
|
|
33
31
|
boxShadow?: string;
|
|
34
|
-
children?:
|
|
32
|
+
children?: any;
|
|
35
33
|
};
|
|
36
34
|
export declare const Div: {
|
|
37
35
|
({ className, backgroundColor, backgroundImage, backgroundSize, backgroundRepeat, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: DivProps): import("react/jsx-runtime").JSX.Element;
|
|
38
36
|
craft: {
|
|
39
37
|
isCanvas: boolean;
|
|
40
38
|
props: {
|
|
41
|
-
|
|
39
|
+
ClassName: string;
|
|
42
40
|
backgroundColor: string;
|
|
43
41
|
backgroundImage: string;
|
|
44
42
|
backgroundSize: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Div.d.ts","sourceRoot":"","sources":["../../src/user/Div.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Div.d.ts","sourceRoot":"","sources":["../../src/user/Div.tsx"],"names":[],"mappings":"AASA,MAAM,MAAM,QAAQ,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EACJ,MAAM,GACN;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,MAAM,CAAC,EACH,MAAM,GACN;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;IACpE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,GAAG;yQAsBb,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDV,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ContainerSettings } from './ContainerOld';
|
|
1
2
|
export default Footer;
|
|
2
3
|
declare function Footer({ background, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: {
|
|
3
4
|
background?: string | undefined;
|
|
@@ -68,5 +69,4 @@ declare namespace Footer {
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
|
-
declare function ContainerSettings(): import("react/jsx-runtime").JSX.Element;
|
|
72
72
|
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/user/Footer.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/user/Footer.jsx"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA4FC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCA9FiC,gBAAgB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HTMLAttributes
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
2
|
|
|
3
3
|
type SectionProps = {
|
|
4
|
-
children?:
|
|
4
|
+
children?: any;
|
|
5
5
|
} & HTMLAttributes<HTMLDivElement>;
|
|
6
6
|
export declare const Section: {
|
|
7
7
|
({ children, className }: SectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../src/user/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../src/user/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAKf,MAAM,OAAO,CAAC;AAOf,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO;8BAA6B,YAAY;;;;;;;;CAkC5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/user/Wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,eAAO,MAAM,OAAO;yQAsBjB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/user/Wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,eAAO,MAAM,OAAO;yQAsBjB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA4EoB,IAAI,EAAE;;;;;;CA3BpC,CAAC;AAoCF,eAAe,OAAO,CAAC"}
|