@dotcms/client 0.0.1-alpha.2 → 0.0.1-alpha.4
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/package.json
CHANGED
|
@@ -21,6 +21,11 @@ export declare enum CUSTOMER_ACTIONS {
|
|
|
21
21
|
* Tell the editor that the page is being scrolled
|
|
22
22
|
*/
|
|
23
23
|
IFRAME_SCROLL = "scroll",
|
|
24
|
+
/**
|
|
25
|
+
* Ping the editor to see if the page is inside the editor
|
|
26
|
+
*/
|
|
27
|
+
PING_EDITOR = "ping-editor",
|
|
28
|
+
CONTENT_CHANGE = "content-change",
|
|
24
29
|
NOOP = "noop"
|
|
25
30
|
}
|
|
26
31
|
/**
|
|
@@ -22,6 +22,11 @@ export var CUSTOMER_ACTIONS;
|
|
|
22
22
|
* Tell the editor that the page is being scrolled
|
|
23
23
|
*/
|
|
24
24
|
CUSTOMER_ACTIONS["IFRAME_SCROLL"] = "scroll";
|
|
25
|
+
/**
|
|
26
|
+
* Ping the editor to see if the page is inside the editor
|
|
27
|
+
*/
|
|
28
|
+
CUSTOMER_ACTIONS["PING_EDITOR"] = "ping-editor";
|
|
29
|
+
CUSTOMER_ACTIONS["CONTENT_CHANGE"] = "content-change";
|
|
25
30
|
CUSTOMER_ACTIONS["NOOP"] = "noop";
|
|
26
31
|
})(CUSTOMER_ACTIONS || (CUSTOMER_ACTIONS = {}));
|
|
27
32
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postMessageToEditor.js","sourceRoot":"","sources":["../../../../../../libs/sdk/client/src/lib/postMessageToEditor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"postMessageToEditor.js","sourceRoot":"","sources":["../../../../../../libs/sdk/client/src/lib/postMessageToEditor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,gBAyBX;AAzBD,WAAY,gBAAgB;IACxB;;OAEG;IACH,uCAAmB,CAAA;IACnB;;OAEG;IACH,6CAAyB,CAAA;IACzB;;OAEG;IACH,qDAAiC,CAAA;IACjC;;OAEG;IACH,4CAAwB,CAAA;IACxB;;OAEG;IACH,+CAA2B,CAAA;IAE3B,qDAAiC,CAAA;IAEjC,iCAAa,CAAA;AACjB,CAAC,EAzBW,gBAAgB,KAAhB,gBAAgB,QAyB3B;AAcD;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CAAc,OAA4B;IACzE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;AAC5C,CAAC"}
|