@jackuait/blok 0.4.1-beta.3 → 0.4.1-beta.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.
|
@@ -1920,7 +1920,7 @@ function EE() {
|
|
|
1920
1920
|
var CE = EE();
|
|
1921
1921
|
const xE = /* @__PURE__ */ zt(CE);
|
|
1922
1922
|
var ew = /* @__PURE__ */ ((a) => (a.VERBOSE = "VERBOSE", a.INFO = "INFO", a.WARN = "WARN", a.ERROR = "ERROR", a))(ew || {});
|
|
1923
|
-
const Ca = () => "0.4.1-beta.
|
|
1923
|
+
const Ca = () => "0.4.1-beta.4", oe = {
|
|
1924
1924
|
BACKSPACE: 8,
|
|
1925
1925
|
TAB: 9,
|
|
1926
1926
|
ENTER: 13,
|
|
@@ -7102,7 +7102,7 @@ class dx {
|
|
|
7102
7102
|
* @returns {Promise<NotifierModule>} loaded notifier module
|
|
7103
7103
|
*/
|
|
7104
7104
|
loadNotifierModule() {
|
|
7105
|
-
return this.notifierModule !== null ? Promise.resolve(this.notifierModule) : (this.loadingPromise === null && (this.loadingPromise = import("./index-
|
|
7105
|
+
return this.notifierModule !== null ? Promise.resolve(this.notifierModule) : (this.loadingPromise === null && (this.loadingPromise = import("./index-XWGz4gev.mjs").then((e) => {
|
|
7106
7106
|
var r;
|
|
7107
7107
|
const t = (r = e == null ? void 0 : e.default) != null ? r : e;
|
|
7108
7108
|
if (!this.isNotifierModule(t))
|
|
@@ -7972,7 +7972,8 @@ class $x extends Ie {
|
|
|
7972
7972
|
redo: () => this.redo(),
|
|
7973
7973
|
canUndo: () => this.canUndo(),
|
|
7974
7974
|
canRedo: () => this.canRedo(),
|
|
7975
|
-
clear: () => this.clear()
|
|
7975
|
+
clear: () => this.clear(),
|
|
7976
|
+
captureInitialState: () => this.captureInitialState()
|
|
7976
7977
|
};
|
|
7977
7978
|
}
|
|
7978
7979
|
/**
|
|
@@ -8009,6 +8010,13 @@ class $x extends Ie {
|
|
|
8009
8010
|
clear() {
|
|
8010
8011
|
this.Blok.History.clear();
|
|
8011
8012
|
}
|
|
8013
|
+
/**
|
|
8014
|
+
* Captures the initial document state
|
|
8015
|
+
* @returns Promise that resolves when initial state is captured
|
|
8016
|
+
*/
|
|
8017
|
+
async captureInitialState() {
|
|
8018
|
+
return this.Blok.History.captureInitialState();
|
|
8019
|
+
}
|
|
8012
8020
|
}
|
|
8013
8021
|
const Bw = (a, e) => {
|
|
8014
8022
|
const t = {};
|
package/dist/blok.mjs
CHANGED