@tech_carthagos/page-builder 1.0.43 → 1.0.45
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.cjs.js +60 -55
- package/dist/index.es.js +3012 -2914
- package/dist-types/CraftEditor.d.ts.map +1 -1
- package/dist-types/PopUpEditorFrame.d.ts +6 -0
- package/dist-types/PopUpEditorFrame.d.ts.map +1 -0
- package/dist-types/editor/Topbar.d.ts +3 -1
- package/dist-types/editor/Topbar.d.ts.map +1 -1
- package/dist-types/user/Container.d.ts +12 -7
- package/dist-types/user/Container.d.ts.map +1 -1
- package/dist-types/user/ContainerOld.d.ts +8 -0
- package/dist-types/user/ContainerOld.d.ts.map +1 -1
- package/dist-types/user/Div.d.ts +3 -0
- package/dist-types/user/Div.d.ts.map +1 -1
- package/dist-types/user/TermsDownload.d.ts.map +1 -1
- package/dist-types/user/Wrapper.d.ts +3 -0
- package/dist-types/user/Wrapper.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CraftEditor.d.ts","sourceRoot":"","sources":["../src/CraftEditor.jsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;iBAYiB,WAAW;oBAgBrB,QAAQ;wBAAR,QAAQ;wBAAR,QAAQ;0BAAR,QAAQ;qBAAR,QAAQ;gCA1BiB,eAAe;wBA0BxC,QAAQ;sBAAR,QAAQ;oBAAR,QAAQ;wBAAR,QAAQ;uBAAR,QAAQ;sBAAR,QAAQ;wBAAR,QAAQ;qBAAR,QAAQ;uBAAR,QAAQ;
|
|
1
|
+
{"version":3,"file":"CraftEditor.d.ts","sourceRoot":"","sources":["../src/CraftEditor.jsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;iBAYiB,WAAW;oBAgBrB,QAAQ;wBAAR,QAAQ;wBAAR,QAAQ;0BAAR,QAAQ;qBAAR,QAAQ;gCA1BiB,eAAe;wBA0BxC,QAAQ;sBAAR,QAAQ;oBAAR,QAAQ;wBAAR,QAAQ;uBAAR,QAAQ;sBAAR,QAAQ;wBAAR,QAAQ;qBAAR,QAAQ;uBAAR,QAAQ;AAsBf;;;;;;4CAqGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopUpEditorFrame.d.ts","sourceRoot":"","sources":["../src/PopUpEditorFrame.jsx"],"names":[],"mappings":";AAMA;;;4CAiDC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Smartphone, Tablet, Monitor, Tv } from 'lucide-react';
|
|
2
|
-
export function Topbar({ setIsOpen, onSave, deviceSize, onDeviceSizeChange, }: {
|
|
2
|
+
export function Topbar({ setIsOpen, onSave, deviceSize, onDeviceSizeChange, setEditPopup, editPopup, }: {
|
|
3
3
|
setIsOpen: any;
|
|
4
4
|
onSave: any;
|
|
5
5
|
deviceSize: any;
|
|
6
6
|
onDeviceSizeChange: any;
|
|
7
|
+
setEditPopup: any;
|
|
8
|
+
editPopup: any;
|
|
7
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
export namespace DEVICE_SIZES {
|
|
9
11
|
namespace mobile {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Topbar.d.ts","sourceRoot":"","sources":["../../src/editor/Topbar.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Topbar.d.ts","sourceRoot":"","sources":["../../src/editor/Topbar.jsx"],"names":[],"mappings":"AA8BO;;;;;;;4CAsFN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAxGM,cAAc;uBAAd,cAAc;wBAAd,cAAc;mBAAd,cAAc"}
|
|
@@ -6,16 +6,21 @@ export declare const Container: {
|
|
|
6
6
|
craft: {
|
|
7
7
|
isCanvas: boolean;
|
|
8
8
|
props: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
maxWidth: {
|
|
10
|
+
type: string;
|
|
11
|
+
value: string;
|
|
12
|
+
unit: string;
|
|
13
|
+
};
|
|
13
14
|
padding: {
|
|
14
15
|
top: number;
|
|
15
16
|
right: number;
|
|
16
17
|
bottom: number;
|
|
17
18
|
left: number;
|
|
18
19
|
};
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
backgroundImage: string;
|
|
22
|
+
backgroundSize: string;
|
|
23
|
+
backgroundRepeat: string;
|
|
19
24
|
margin: {
|
|
20
25
|
top: number;
|
|
21
26
|
right: number;
|
|
@@ -39,9 +44,6 @@ export declare const Container: {
|
|
|
39
44
|
minWidth: {
|
|
40
45
|
type: string;
|
|
41
46
|
};
|
|
42
|
-
maxWidth: {
|
|
43
|
-
type: string;
|
|
44
|
-
};
|
|
45
47
|
display: string;
|
|
46
48
|
flexDirection: string;
|
|
47
49
|
justifyContent: string;
|
|
@@ -52,6 +54,9 @@ export declare const Container: {
|
|
|
52
54
|
borderColor: string;
|
|
53
55
|
borderStyle: string;
|
|
54
56
|
boxShadow: string;
|
|
57
|
+
position: string;
|
|
58
|
+
top: number;
|
|
59
|
+
left: number;
|
|
55
60
|
};
|
|
56
61
|
displayName: string;
|
|
57
62
|
related: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/user/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,eAAO,MAAM,SAAS;sBAAqB,QAAQ
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/user/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,eAAO,MAAM,SAAS;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAyCpB,IAAI,EAAE;;;CAZpC,CAAC"}
|
|
@@ -21,6 +21,9 @@ export function divStyle(props: any): {
|
|
|
21
21
|
borderColor: any;
|
|
22
22
|
borderStyle: any;
|
|
23
23
|
boxShadow: any;
|
|
24
|
+
position: any;
|
|
25
|
+
top: any;
|
|
26
|
+
left: any;
|
|
24
27
|
};
|
|
25
28
|
export function Container({ backgroundColor, backgroundImage, backgroundSize, backgroundRepeat, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: {
|
|
26
29
|
backgroundColor?: string | undefined;
|
|
@@ -204,6 +207,11 @@ export namespace divDefaultProps {
|
|
|
204
207
|
export { borderStyle_1 as borderStyle };
|
|
205
208
|
let boxShadow_1: string;
|
|
206
209
|
export { boxShadow_1 as boxShadow };
|
|
210
|
+
export let position: string;
|
|
211
|
+
let top_4: number;
|
|
212
|
+
export { top_4 as top };
|
|
213
|
+
let left_4: number;
|
|
214
|
+
export { left_4 as left };
|
|
207
215
|
}
|
|
208
216
|
export function ContainerSettings(divDefaultProps: any): import("react/jsx-runtime").JSX.Element;
|
|
209
217
|
//# sourceMappingURL=ContainerOld.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AA+FO
|
|
1
|
+
{"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AA+FO;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCN;AAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA0EN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,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;AAGF,eAAO,MAAM,GAAG;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TermsDownload.d.ts","sourceRoot":"","sources":["../../src/user/TermsDownload.jsx"],"names":[],"mappings":"AAKO;;;
|
|
1
|
+
{"version":3,"file":"TermsDownload.d.ts","sourceRoot":"","sources":["../../src/user/TermsDownload.jsx"],"names":[],"mappings":"AAKO;;;4CAgEN"}
|
|
@@ -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;AAMjC,eAAO,MAAM,OAAO;sBAAqB,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;AAMjC,eAAO,MAAM,OAAO;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA0ClB,IAAI,EAAE;;;;;;CAbpC,CAAC;AAsBF,eAAe,OAAO,CAAC"}
|