useblocks 1.1.62 → 1.1.64
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/iframe/js/amp.BP7EklKo.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{907e6f1b.js → 261ad211.js} +3 -3
- package/static/core/{40952073.js → 40f1c391.js} +6 -6
- package/static/core/{8d78b13f.js → 411c06d9.js} +3 -3
- package/static/core/{bd26a4bd.js → 47513981.js} +7 -7
- package/static/core/{585cff60.js → 6c0b4555.js} +3 -3
- package/static/core/{d2fd1146.js → 7735c90f.js} +194 -171
- package/static/core/{da50e420.js → 7dd91b5f.js} +4036 -4043
- package/static/core/{fe238779.js → 90f16a4b.js} +7 -7
- package/static/core/{7a98c428.js → 9e889fa1.js} +4 -4
- package/static/core/{af4d7f64.js → a44b0f6c.js} +5 -5
- package/static/core/{c555dd21.js → b0712bbb.js} +5 -5
- package/static/core/{3500cc9c.js → bcee99d6.js} +30 -2
- package/static/core/{e5b1c38d.js → e96aadfa.js} +7 -7
- package/two_step_headless_plugin.html +1 -1
- package/{useblocks-core.194e3b23.js → useblocks-core.d874510b.js} +6 -6
- package/useblocks-esm.js +3 -3
- package/useblocks.js +3 -3
- /package/iframe/{iframe-eblock.194e3b23.html → iframe-eblock.d874510b.html} +0 -0
- /package/iframe/{iframe.194e3b23.html → iframe.d874510b.html} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/a44b0f6c.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/63b7b25e.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/bcee99d6.js",
|
|
7
|
+
"static/core/6c0b4555.js",
|
|
8
8
|
"static/core/aa783b9b.js",
|
|
9
9
|
"static/core/86577bae.js",
|
|
10
|
-
"static/core/
|
|
10
|
+
"static/core/261ad211.js"
|
|
11
11
|
], function(it, M, tf) {
|
|
12
|
-
const X = it("./63b7b25e.js"), k = it("./
|
|
12
|
+
const X = it("./63b7b25e.js"), k = it("./bcee99d6.js"), Me = it("./6c0b4555.js"), ri = it("./aa783b9b.js"), Pe = it("./86577bae.js"), er = it("./261ad211.js");
|
|
13
13
|
var as = class {
|
|
14
14
|
_plugins = new Map();
|
|
15
15
|
_listeners = new Map();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/b0712bbb.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/63b7b25e.js",
|
|
6
|
-
"static/core/
|
|
6
|
+
"static/core/bcee99d6.js",
|
|
7
7
|
"static/core/a88996b3.js",
|
|
8
|
-
"static/core/
|
|
9
|
-
"static/core/
|
|
8
|
+
"static/core/411c06d9.js",
|
|
9
|
+
"static/core/40f1c391.js",
|
|
10
10
|
"react"
|
|
11
11
|
], function(Qe, le, Fn) {
|
|
12
|
-
const Ze = Qe("./63b7b25e.js"), Ie = Qe("./
|
|
12
|
+
const Ze = Qe("./63b7b25e.js"), Ie = Qe("./bcee99d6.js"), ft = Qe("./a88996b3.js"), kt = Qe("./411c06d9.js"), yt = Qe("./40f1c391.js");
|
|
13
13
|
let Bt = Qe("react");
|
|
14
14
|
var Dt = Ze.__commonJSMin(((A, S) => {
|
|
15
15
|
S.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/bcee99d6.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
@@ -4318,12 +4318,40 @@ __useblocks__.define("static/core/3500cc9c.js", [
|
|
|
4318
4318
|
format: "json",
|
|
4319
4319
|
...t
|
|
4320
4320
|
}),
|
|
4321
|
-
icons_detail: ({
|
|
4321
|
+
icons_detail: ({ collection: e, ...t }, r = {}) => this.request({
|
|
4322
4322
|
path: `/wp/v2/icons/${e}`,
|
|
4323
4323
|
method: "GET",
|
|
4324
4324
|
query: t,
|
|
4325
4325
|
format: "json",
|
|
4326
4326
|
...r
|
|
4327
|
+
}),
|
|
4328
|
+
icons_detail2: ({ name: e, ...t }, r = {}) => this.request({
|
|
4329
|
+
path: `/wp/v2/icons/${e}`,
|
|
4330
|
+
method: "GET",
|
|
4331
|
+
query: t,
|
|
4332
|
+
format: "json",
|
|
4333
|
+
...r
|
|
4334
|
+
}),
|
|
4335
|
+
icon_collections_list: (e, t = {}) => this.request({
|
|
4336
|
+
path: "/wp/v2/icon-collections",
|
|
4337
|
+
method: "GET",
|
|
4338
|
+
query: e,
|
|
4339
|
+
format: "json",
|
|
4340
|
+
...t
|
|
4341
|
+
}),
|
|
4342
|
+
icon_collections_detail: ({ slug: e, ...t }, r = {}) => this.request({
|
|
4343
|
+
path: `/wp/v2/icon-collections/${e}`,
|
|
4344
|
+
method: "GET",
|
|
4345
|
+
query: t,
|
|
4346
|
+
format: "json",
|
|
4347
|
+
...r
|
|
4348
|
+
}),
|
|
4349
|
+
view_config_list: (e, t = {}) => this.request({
|
|
4350
|
+
path: "/wp/v2/view-config",
|
|
4351
|
+
method: "GET",
|
|
4352
|
+
query: e,
|
|
4353
|
+
format: "json",
|
|
4354
|
+
...t
|
|
4327
4355
|
})
|
|
4328
4356
|
};
|
|
4329
4357
|
userToProject = {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
(function(){try{if(typeof document<"u"){var o=document.createElement("style");o.setAttribute("data-useblocks","true"),o.appendChild(document.createTextNode('.monaco-editor{width:100%;height:100%}.monaco-editor .monaco-hover{border-radius:6px}.monaco-editor .monaco-editor .scroll-decoration{box-shadow:none}.monaco-editor,.monaco-editor *,.monaco-editor .view-lines,.monaco-editor .view-lines *,.monaco-editor .view-lines .view-line,.monaco-editor .view-lines .monaco-mouse-cursor-text,.monaco-editor .view-line,.monaco-editor .monaco-mouse-cursor-text{font-family:var(--monaco-editor-font-family,"Source Code Pro", Consolas, "Courier New", monospace)!important}.monaco-editor .view-line,.monaco-editor .view-line span,.monaco-editor .view-line span.inline-selected-text{font-variant-ligatures:none;font-feature-settings:"liga" 0, "calt" 0;font-kerning:none;white-space:pre;font-family:var(--monaco-monospace-font,var(--monaco-editor-font-family,"Source Code Pro", Consolas, "Courier New", monospace))!important;font-size:var(--monaco-editor-font-size,14px)!important;font-weight:400!important}.monaco-editor .standalone-colorpicker-body{max-width:460px!important}.monaco-editor .standalone-colorpicker-body .colorpicker-body .saturation-wrap{flex:0 auto;max-width:280px}.blocks-app .colorpicker-body .saturation-box,.blocks-app .colorpicker-body .strip{border-radius:4px}.blocks-app .scrollbar.vertical{width:5px!important}.blocks-app .scrollbar.vertical .slider{border-radius:5px!important;width:5px!important}.blocks-app .user-cursor{z-index:10;border-left:2px solid #ff00e1;width:2px;height:20px;position:absolute}.blocks-app .cursor-hover{color:#fff;text-wrap-mode:nowrap;z-index:10000;border-radius:7px 7px 7px 0;margin-left:-2px;padding:0 5px;font-size:12px;position:absolute;top:-17px}.blocks-app .user-selection-decoration{background-color:#8080eb4d}.monaco-editor__spin{z-index:1000;align-items:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
__useblocks__.define("static/core/
|
|
2
|
+
__useblocks__.define("static/core/e96aadfa.js", [
|
|
3
3
|
"require",
|
|
4
4
|
"exports",
|
|
5
5
|
"module",
|
|
6
6
|
"static/core/63b7b25e.js",
|
|
7
|
-
"static/core/
|
|
7
|
+
"static/core/bcee99d6.js",
|
|
8
8
|
"static/core/aa783b9b.js",
|
|
9
9
|
"static/core/86577bae.js",
|
|
10
|
-
"static/core/
|
|
11
|
-
"static/core/
|
|
10
|
+
"static/core/261ad211.js",
|
|
11
|
+
"static/core/411c06d9.js",
|
|
12
12
|
"static/core/b04145ff2.js",
|
|
13
13
|
"static/core/43108a122.js",
|
|
14
|
-
"static/core/
|
|
14
|
+
"static/core/9e889fa1.js",
|
|
15
15
|
"react",
|
|
16
16
|
"react/jsx-runtime"
|
|
17
17
|
], function(we, vc, Yy) {
|
|
18
|
-
const v = we("./63b7b25e.js"), y = we("./
|
|
18
|
+
const v = we("./63b7b25e.js"), y = we("./bcee99d6.js"), ue = we("./aa783b9b.js"), cn = we("./86577bae.js"), ot = we("./261ad211.js"), sr = we("./411c06d9.js");
|
|
19
19
|
we("./b04145ff2.js");
|
|
20
|
-
const Ae = we("./43108a122.js"), ge = we("./
|
|
20
|
+
const Ae = we("./43108a122.js"), ge = we("./9e889fa1.js");
|
|
21
21
|
let S = we("react"), $ = v.__toESM(S, 1);
|
|
22
22
|
S = v.__toESM(S);
|
|
23
23
|
let Dt = we("react/jsx-runtime");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<title>Two-step flow: design → subject/preheader (headless)</title>
|
|
6
|
-
<script id="plugin-script" type="text/javascript" src="useblocks.js?
|
|
6
|
+
<script id="plugin-script" type="text/javascript" src="useblocks.js?d874510b"></script>
|
|
7
7
|
<style>
|
|
8
8
|
body {
|
|
9
9
|
margin: 0;
|
|
@@ -3,16 +3,16 @@ __useblocks__.define("core", [
|
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/63b7b25e.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
8
|
-
"static/core/
|
|
6
|
+
"static/core/bcee99d6.js",
|
|
7
|
+
"static/core/a44b0f6c.js",
|
|
8
|
+
"static/core/6c0b4555.js"
|
|
9
9
|
], function(f, E, Se) {
|
|
10
10
|
Object.defineProperties(E, {
|
|
11
11
|
__esModule: { value: !0 },
|
|
12
12
|
[Symbol.toStringTag]: { value: "Module" }
|
|
13
13
|
});
|
|
14
14
|
f("./static/core/63b7b25e.js");
|
|
15
|
-
const n = f("./static/core/
|
|
15
|
+
const n = f("./static/core/bcee99d6.js"), l = f("./static/core/a44b0f6c.js"), S = f("./static/core/6c0b4555.js");
|
|
16
16
|
var A = "Editor instance was destroyed and cannot be reused. A fresh instance will be created instead.";
|
|
17
17
|
function w() {
|
|
18
18
|
const e = new Error(A);
|
|
@@ -534,7 +534,7 @@ __useblocks__.define("core", [
|
|
|
534
534
|
R
|
|
535
535
|
];
|
|
536
536
|
async function Z() {
|
|
537
|
-
return (await Promise.resolve().then(() => f("./static/core/
|
|
537
|
+
return (await Promise.resolve().then(() => f("./static/core/7dd91b5f.js"))).default;
|
|
538
538
|
}
|
|
539
539
|
var ee = (e) => {
|
|
540
540
|
let t = null, o = !1;
|
|
@@ -669,5 +669,5 @@ __useblocks__.define("core", [
|
|
|
669
669
|
ampHtml: o
|
|
670
670
|
};
|
|
671
671
|
}
|
|
672
|
-
E.init = ae, E.parseAMP = le, E.version = "1.1.
|
|
672
|
+
E.init = ae, E.parseAMP = le, E.version = "1.1.64";
|
|
673
673
|
});
|
package/useblocks-esm.js
CHANGED
|
@@ -76,7 +76,7 @@ import { a as b, i as ke, n as Ue, r as J, t as _ } from "./static/esm/2474de05.
|
|
|
76
76
|
} catch {
|
|
77
77
|
return y.slice(-1) !== "/" && (y += "/"), t(y + m);
|
|
78
78
|
}
|
|
79
|
-
}), e.version || (e.version = "1.1.
|
|
79
|
+
}), e.version || (e.version = "1.1.64");
|
|
80
80
|
var n = e.modules = /* @__PURE__ */ Object.create(null), r = import("./runtime/index.js"), c = import("./ui-kit/index.js");
|
|
81
81
|
n.React = r.then(function(o) {
|
|
82
82
|
return o.React;
|
|
@@ -785,7 +785,7 @@ import { a as b, i as ke, n as Ue, r as J, t as _ } from "./static/esm/2474de05.
|
|
|
785
785
|
})();
|
|
786
786
|
`)(e), typeof e.require == "function" && typeof e.require.config == "function" && e.require.config({
|
|
787
787
|
baseUrl: "./",
|
|
788
|
-
paths: { core: "useblocks-core.
|
|
788
|
+
paths: { core: "useblocks-core.d874510b.js" }
|
|
789
789
|
});
|
|
790
790
|
var p = typeof e.prefetch == "function" ? e.prefetch : void 0;
|
|
791
791
|
if (e.prefetch = function() {
|
|
@@ -1758,7 +1758,7 @@ function N(e, ...n) {
|
|
|
1758
1758
|
const r = _.get(e);
|
|
1759
1759
|
n.some((c) => c !== void 0 && c === r) && _.delete(e);
|
|
1760
1760
|
}
|
|
1761
|
-
var Er = "1.1.
|
|
1761
|
+
var Er = "1.1.64";
|
|
1762
1762
|
async function Ir(e) {
|
|
1763
1763
|
await le(typeof window.__useblocks__ < "u" ? window.__useblocks__ : void 0);
|
|
1764
1764
|
}
|
package/useblocks.js
CHANGED
|
@@ -689,7 +689,7 @@ var __amdEnv = window.__useblocks__ || (window.__useblocks__ = {});
|
|
|
689
689
|
|
|
690
690
|
|
|
691
691
|
// Configure AMD loader
|
|
692
|
-
__amdEnv.require.config({ baseUrl: "./", paths: {"core":"useblocks-core.
|
|
692
|
+
__amdEnv.require.config({ baseUrl: "./", paths: {"core":"useblocks-core.d874510b.js"} });
|
|
693
693
|
|
|
694
694
|
// PublicPath (script detection: entry script lookup → document.currentScript)
|
|
695
695
|
if (!__useblocks__.publicPath) {
|
|
@@ -1037,7 +1037,7 @@ if (!ns.assetUrl) {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
1039
|
if (!ns.version) {
|
|
1040
|
-
ns.version = "1.1.
|
|
1040
|
+
ns.version = "1.1.64";
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
1043
|
var modules = ns.modules = Object.create(null);
|
|
@@ -2785,7 +2785,7 @@ __useblocks__.define("useblocks.js", [
|
|
|
2785
2785
|
const r = S.get(e);
|
|
2786
2786
|
t.some((n) => n !== void 0 && n === r) && S.delete(e);
|
|
2787
2787
|
}
|
|
2788
|
-
var rn = "1.1.
|
|
2788
|
+
var rn = "1.1.64";
|
|
2789
2789
|
async function nn(e) {
|
|
2790
2790
|
await _e(typeof __useblocks__ < "u" ? __useblocks__ : void 0);
|
|
2791
2791
|
}
|
|
File without changes
|
|
File without changes
|