@tech_carthagos/page-builder 1.0.47 → 1.0.49

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.
@@ -20,7 +20,11 @@ export namespace resolver {
20
20
  export { Footer };
21
21
  }
22
22
  export default CraftEditor;
23
- declare function CraftEditor({ setIsOpen, initialData, onSave, onStateChange, enabled, }: {
23
+ declare function CraftEditor({ handleSavePopup, popupEditorState, handleStateChangePopup, editorState, setIsOpen, initialData, onSave, onStateChange, enabled, }: {
24
+ handleSavePopup: any;
25
+ popupEditorState: any;
26
+ handleStateChangePopup: any;
27
+ editorState: any;
24
28
  setIsOpen: any;
25
29
  initialData: any;
26
30
  onSave: any;
@@ -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;AAsBf;;;;;;4CAqGC"}
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;;;;;;;;;;4CAyIC"}
@@ -1,5 +1,6 @@
1
1
  export default EditorFrame;
2
- declare function EditorFrame({ htmlJson }: {
2
+ declare function EditorFrame({ htmlJson, editorState }: {
3
3
  htmlJson: any;
4
+ editorState: any;
4
5
  }): import("react/jsx-runtime").JSX.Element;
5
6
  //# sourceMappingURL=Editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../src/Editor.jsx"],"names":[],"mappings":";AAIA;;4CAYC"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../src/Editor.jsx"],"names":[],"mappings":";AAIA;;;4CAmBC"}
@@ -9,6 +9,9 @@ interface EventData {
9
9
  organization?: Record<string, unknown>;
10
10
  }
11
11
  interface PageBuilderProps {
12
+ handleSavePopup?: (json: string) => void;
13
+ popupEditorState?: string;
14
+ handleStateChangePopup?: (json: string) => void;
12
15
  editorState?: string;
13
16
  initialData?: string;
14
17
  onSave?: (json: string) => void;
@@ -16,6 +19,6 @@ interface PageBuilderProps {
16
19
  eventData?: EventData;
17
20
  enabled?: boolean;
18
21
  }
19
- export declare const PageBuilder: ({ editorState, initialData, onSave, onStateChange, eventData, enabled, }: PageBuilderProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const PageBuilder: ({ handleSavePopup, popupEditorState, handleStateChangePopup, editorState, initialData, onSave, onStateChange, eventData, enabled, }: PageBuilderProps) => import("react/jsx-runtime").JSX.Element;
20
23
  export {};
21
24
  //# sourceMappingURL=PageBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageBuilder.d.ts","sourceRoot":"","sources":["../src/PageBuilder.tsx"],"names":[],"mappings":"AASA,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,C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KAAK,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,GAAI,qIAUzB,gBAAgB,4CA4ClB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export default PopUpEditorFrame;
2
- declare function PopUpEditorFrame({ htmlJson, enabled }: {
2
+ declare function PopUpEditorFrame({ htmlJson, enabled, popupEditorState }: {
3
3
  htmlJson: any;
4
4
  enabled: any;
5
+ popupEditorState: any;
5
6
  }): import("react/jsx-runtime").JSX.Element;
6
7
  //# sourceMappingURL=PopUpEditorFrame.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PopUpEditorFrame.d.ts","sourceRoot":"","sources":["../src/PopUpEditorFrame.jsx"],"names":[],"mappings":";AAMA;;;4CA8DC"}
1
+ {"version":3,"file":"PopUpEditorFrame.d.ts","sourceRoot":"","sources":["../src/PopUpEditorFrame.jsx"],"names":[],"mappings":";AAMA;;;;4CAgEC"}
@@ -1,7 +1,8 @@
1
- export function PreviewModal({ isOpen, onClose, eventData, editorState }: {
1
+ export function PreviewModal({ isOpen, onClose, eventData, editorState, popupEditorState, }: {
2
2
  isOpen: any;
3
3
  onClose: any;
4
4
  eventData: any;
5
5
  editorState: any;
6
+ popupEditorState: any;
6
7
  }): import("react/jsx-runtime").JSX.Element | null;
7
8
  //# sourceMappingURL=PreviewModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PreviewModal.d.ts","sourceRoot":"","sources":["../src/PreviewModal.jsx"],"names":[],"mappings":"AA2CO;;;;;mDAgFN"}
1
+ {"version":3,"file":"PreviewModal.d.ts","sourceRoot":"","sources":["../src/PreviewModal.jsx"],"names":[],"mappings":"AA2CO;;;;;;mDAsFN"}
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsUI.d.ts","sourceRoot":"","sources":["../../src/editor/SettingsUI.jsx"],"names":[],"mappings":"AA0BO;;;;4CAmBN;AAGM;;;;;;;;4CA8BN;AAGM;;;;;;;;4CA2IN;AAGM;;;;4CA6DN;AAGM;;;;;;;4CAiCN;AAGM;;;;4CAmBN;AAGM;;;;;4CAoBN;AAGM;;;;;4CAmBN;AAGM;;;;;;;4CAyBN;AAGM;;;;;;;;4CAuHN"}
1
+ {"version":3,"file":"SettingsUI.d.ts","sourceRoot":"","sources":["../../src/editor/SettingsUI.jsx"],"names":[],"mappings":"AA0BO;;;;4CAmBN;AAGM;;;;;;;;4CA8BN;AAGM;;;;;;;;4CA2IN;AAGM;;;;4CA4DN;AAGM;;;;;;;4CAiCN;AAGM;;;;4CAmBN;AAGM;;;;;4CAoBN;AAGM;;;;;4CAmBN;AAGM;;;;;;;4CAyBN;AAGM;;;;;;;;4CAuHN"}
@@ -1,5 +1,6 @@
1
1
  import { Smartphone, Tablet, Monitor, Tv } from 'lucide-react';
2
- export function Topbar({ setIsOpen, onSave, deviceSize, onDeviceSizeChange, setEditPopup, editPopup, }: {
2
+ export function Topbar({ handleSavePopup, setIsOpen, onSave, deviceSize, onDeviceSizeChange, setEditPopup, editPopup, }: {
3
+ handleSavePopup: any;
3
4
  setIsOpen: any;
4
5
  onSave: any;
5
6
  deviceSize: any;
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"Topbar.d.ts","sourceRoot":"","sources":["../../src/editor/Topbar.jsx"],"names":[],"mappings":"AA8BO;;;;;;;;4CA2FN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA7GM,cAAc;uBAAd,cAAc;wBAAd,cAAc;mBAAd,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/examples/App.tsx"],"names":[],"mappings":"AA2DA,QAAA,MAAM,GAAG,+CAMR,CAAC;AAEF,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/examples/App.tsx"],"names":[],"mappings":"AAwEA,QAAA,MAAM,GAAG,+CAMR,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AAsGO;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCN;AAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA0EN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BM,iGA4LN"}
1
+ {"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AAmGO;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDN;AAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA0EN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BM,iGA4LN"}
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/user/Footer.jsx"],"names":[],"mappings":"AAOO;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAmGN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAtGiC,gBAAgB"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/user/Footer.jsx"],"names":[],"mappings":"AAOO;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAoGN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAvGiC,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/user/Text.jsx"],"names":[],"mappings":"AAiDO;;;;;;;;;;;;;;;;;;;;;;;;;4CA6EN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,yEA8IC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/user/Text.jsx"],"names":[],"mappings":"AAiDO;;;;;;;;;;;;;;;;;;;;;;;;;4CA+EN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,yEA8IC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tech_carthagos/page-builder",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",