useblocks 1.1.45 → 1.1.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.
- package/iframe/js/amp.BP7EklKo.js +1 -0
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/monacoeditorwork/css.worker.bundle.js +40524 -40442
- package/monacoeditorwork/editor.worker.bundle.js +9740 -9697
- package/monacoeditorwork/html.worker.bundle.js +50513 -50431
- package/monacoeditorwork/json.worker.bundle.js +14570 -14527
- package/monacoeditorwork/ts.worker.bundle.js +119593 -119455
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/runtime/@ant-design/cssinjs/index.js +1 -1
- package/runtime/@ant-design/icons/index.js +2 -2
- package/runtime/README.md +1 -1
- package/runtime/THIRD_PARTY_LICENSES.txt +70 -42
- package/runtime/antd/index.js +1 -1
- package/runtime/react/index.js +3 -3
- package/runtime/react/jsx-runtime/index.js +1 -1
- package/runtime/react-dom/client/index.js +4 -4
- package/runtime/react-dom/index.js +3 -3
- package/runtime/react-router-dom/index.js +2 -2
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{cb72ea5e.js → 11296a18.js} +51 -51
- package/static/core/{7d884291.js → 13d197af.js} +20 -20
- package/static/core/13f581cc.js +924 -0
- package/static/core/{6450546e2.js → 1ca5f3772.js} +184 -155
- package/static/core/{af153381.js → 339377b8.js} +15657 -15202
- package/static/core/{94f2c0df.js → 386cf7b3.js} +9673 -9544
- package/static/core/{b7a9d262.js → 3b4845f7.js} +353 -334
- package/static/core/{d14cb6e2.js → 3dea3b87.js} +7 -7
- package/static/core/59023866.js +2090 -0
- package/static/core/{bc098620.js → 7a229b90.js} +3 -3
- package/static/core/{48b80eec.js → 8c81db36.js} +3 -3
- package/static/core/{8c84cc76.js → 8e110c69.js} +24 -24
- package/static/core/{2f2019c1.js → a11c28c2.js} +258 -240
- package/static/core/{fd4fa049.js → aacf134d.js} +745 -664
- package/static/core/{5e0828e3.js → acb049cb.js} +1349 -1297
- package/static/core/{bb774fb9.js → c59f9731.js} +7724 -6646
- package/static/core/{ed0ecf0a.js → de79e0c5.js} +3947 -3705
- package/static/core/e7c24fe9.js +649 -0
- package/static/esm/{dab4cdfd.js → 448d4bb0.js} +70 -70
- package/static/esm/{7c5227f0.js → d180c108.js} +50 -47
- package/static/runtime/{DownloadOutlined-CgJ8OpH_.js → DownloadOutlined-Dg_G2xO7.js} +4 -4
- package/static/runtime/client-CfXgU5Vo.js +7580 -0
- package/static/runtime/{defineProperty-B-FyVNQF.js → defineProperty-C_9hhJHt.js} +1 -1
- package/static/runtime/dom-export-CHgQ7Ws9.js +8069 -0
- package/static/runtime/{es-DnZp8dh1.js → es-BPfImJ0x.js} +5 -5
- package/static/runtime/{es-B2DS-PLP.js → es-DcH6fwd6.js} +2 -2
- package/static/runtime/{es-deqzngIL.js → es-_OY-D9g1.js} +2 -2
- package/static/runtime/{jsx-dev-runtime-Wj1_6O79.js → jsx-dev-runtime-DDukXY54.js} +2 -2
- package/static/runtime/jsx-runtime-BodCQYDg.js +22 -0
- package/static/runtime/react-BHNx_xzv.js +290 -0
- package/static/runtime/react-dom-CyByzibb.js +127 -0
- package/two_step_headless_plugin.html +1 -1
- package/{useblocks-core.ecd1a3b0.js → useblocks-core.15a9129c.js} +82 -76
- package/useblocks-esm.js +628 -3197
- package/useblocks.d.ts +190 -52
- package/useblocks.js +818 -12587
- package/vite/index.cjs +46 -21
- package/vite/index.d.ts +0 -1
- package/vite/index.js +46 -21
- package/vite/pluginDev/index.d.ts +0 -1
- package/webpack/index.cjs +46 -21
- package/webpack/index.d.ts +0 -1
- package/webpack/index.js +46 -21
- package/webpack/pluginDev/index.d.ts +0 -1
- package/iframe/js/amp.CVC2Iq48.js +0 -1
- package/static/core/632d894f.js +0 -869
- package/static/core/c28bc42e.js +0 -46
- package/static/core/ff830d19.js +0 -2046
- package/static/esm/2fb07398.js +0 -3480
- package/static/esm/352121c5.js +0 -55
- package/static/esm/64966e1c.js +0 -18
- package/static/runtime/client-CM3WFcip.js +0 -7
- package/static/runtime/dist-DUS42Hru.js +0 -3421
- package/static/runtime/jsx-runtime-DmPQfqtr.js +0 -28
- package/static/runtime/react-DIf5CLST.js +0 -258
- package/static/runtime/react-dom-Cc3IcUkg.js +0 -5604
- /package/iframe/{iframe-eblock.ecd1a3b0.html → iframe-eblock.15a9129c.html} +0 -0
- /package/iframe/{iframe.ecd1a3b0.html → iframe.15a9129c.html} +0 -0
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { t as p } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
-
import { t as c } from "./react-DIf5CLST.js";
|
|
3
|
-
var d = p(((o) => {
|
|
4
|
-
var n = c(), s = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = {
|
|
5
|
-
key: !0,
|
|
6
|
-
ref: !0,
|
|
7
|
-
__self: !0,
|
|
8
|
-
__source: !0
|
|
9
|
-
};
|
|
10
|
-
function i(t, r, a) {
|
|
11
|
-
var e, _ = {}, f = null, m = null;
|
|
12
|
-
a !== void 0 && (f = "" + a), r.key !== void 0 && (f = "" + r.key), r.ref !== void 0 && (m = r.ref);
|
|
13
|
-
for (e in r) l.call(r, e) && !y.hasOwnProperty(e) && (_[e] = r[e]);
|
|
14
|
-
if (t && t.defaultProps) for (e in r = t.defaultProps, r) _[e] === void 0 && (_[e] = r[e]);
|
|
15
|
-
return {
|
|
16
|
-
$$typeof: s,
|
|
17
|
-
type: t,
|
|
18
|
-
key: f,
|
|
19
|
-
ref: m,
|
|
20
|
-
props: _,
|
|
21
|
-
_owner: v.current
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
o.Fragment = u, o.jsx = i, o.jsxs = i;
|
|
25
|
-
})), S = p(((o, n) => {
|
|
26
|
-
n.exports = d();
|
|
27
|
-
}));
|
|
28
|
-
export { S as t };
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
import { t as q } from "./rolldown-runtime-Bklm4c_g.js";
|
|
2
|
-
var K = q(((r) => {
|
|
3
|
-
var y = Symbol.for("react.element"), T = Symbol.for("react.portal"), V = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), D = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), F = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), N = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), w = Symbol.iterator;
|
|
4
|
-
function B(e) {
|
|
5
|
-
return e === null || typeof e != "object" ? null : (e = w && e[w] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
6
|
-
}
|
|
7
|
-
var R = {
|
|
8
|
-
isMounted: function() {
|
|
9
|
-
return !1;
|
|
10
|
-
},
|
|
11
|
-
enqueueForceUpdate: function() {},
|
|
12
|
-
enqueueReplaceState: function() {},
|
|
13
|
-
enqueueSetState: function() {}
|
|
14
|
-
}, $ = Object.assign, b = {};
|
|
15
|
-
function p(e, t, n) {
|
|
16
|
-
this.props = e, this.context = t, this.refs = b, this.updater = n || R;
|
|
17
|
-
}
|
|
18
|
-
p.prototype.isReactComponent = {}, p.prototype.setState = function(e, t) {
|
|
19
|
-
if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
20
|
-
this.updater.enqueueSetState(this, e, t, "setState");
|
|
21
|
-
}, p.prototype.forceUpdate = function(e) {
|
|
22
|
-
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
23
|
-
};
|
|
24
|
-
function C() {}
|
|
25
|
-
C.prototype = p.prototype;
|
|
26
|
-
function h(e, t, n) {
|
|
27
|
-
this.props = e, this.context = t, this.refs = b, this.updater = n || R;
|
|
28
|
-
}
|
|
29
|
-
var m = h.prototype = new C();
|
|
30
|
-
m.constructor = h, $(m, p.prototype), m.isPureReactComponent = !0;
|
|
31
|
-
var j = Array.isArray, O = Object.prototype.hasOwnProperty, S = { current: null }, g = {
|
|
32
|
-
key: !0,
|
|
33
|
-
ref: !0,
|
|
34
|
-
__self: !0,
|
|
35
|
-
__source: !0
|
|
36
|
-
};
|
|
37
|
-
function P(e, t, n) {
|
|
38
|
-
var o, u = {}, c = null, l = null;
|
|
39
|
-
if (t != null) for (o in t.ref !== void 0 && (l = t.ref), t.key !== void 0 && (c = "" + t.key), t) O.call(t, o) && !g.hasOwnProperty(o) && (u[o] = t[o]);
|
|
40
|
-
var f = arguments.length - 2;
|
|
41
|
-
if (f === 1) u.children = n;
|
|
42
|
-
else if (1 < f) {
|
|
43
|
-
for (var i = Array(f), s = 0; s < f; s++) i[s] = arguments[s + 2];
|
|
44
|
-
u.children = i;
|
|
45
|
-
}
|
|
46
|
-
if (e && e.defaultProps) for (o in f = e.defaultProps, f) u[o] === void 0 && (u[o] = f[o]);
|
|
47
|
-
return {
|
|
48
|
-
$$typeof: y,
|
|
49
|
-
type: e,
|
|
50
|
-
key: c,
|
|
51
|
-
ref: l,
|
|
52
|
-
props: u,
|
|
53
|
-
_owner: S.current
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function H(e, t) {
|
|
57
|
-
return {
|
|
58
|
-
$$typeof: y,
|
|
59
|
-
type: e.type,
|
|
60
|
-
key: t,
|
|
61
|
-
ref: e.ref,
|
|
62
|
-
props: e.props,
|
|
63
|
-
_owner: e._owner
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function E(e) {
|
|
67
|
-
return typeof e == "object" && e !== null && e.$$typeof === y;
|
|
68
|
-
}
|
|
69
|
-
function J(e) {
|
|
70
|
-
var t = {
|
|
71
|
-
"=": "=0",
|
|
72
|
-
":": "=2"
|
|
73
|
-
};
|
|
74
|
-
return "$" + e.replace(/[=:]/g, function(n) {
|
|
75
|
-
return t[n];
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
var I = /\/+/g;
|
|
79
|
-
function k(e, t) {
|
|
80
|
-
return typeof e == "object" && e !== null && e.key != null ? J("" + e.key) : t.toString(36);
|
|
81
|
-
}
|
|
82
|
-
function d(e, t, n, o, u) {
|
|
83
|
-
var c = typeof e;
|
|
84
|
-
(c === "undefined" || c === "boolean") && (e = null);
|
|
85
|
-
var l = !1;
|
|
86
|
-
if (e === null) l = !0;
|
|
87
|
-
else switch (c) {
|
|
88
|
-
case "string":
|
|
89
|
-
case "number":
|
|
90
|
-
l = !0;
|
|
91
|
-
break;
|
|
92
|
-
case "object": switch (e.$$typeof) {
|
|
93
|
-
case y:
|
|
94
|
-
case T: l = !0;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
if (l) return l = e, u = u(l), e = o === "" ? "." + k(l, 0) : o, j(u) ? (n = "", e != null && (n = e.replace(I, "$&/") + "/"), d(u, t, n, "", function(s) {
|
|
98
|
-
return s;
|
|
99
|
-
})) : u != null && (E(u) && (u = H(u, n + (!u.key || l && l.key === u.key ? "" : ("" + u.key).replace(I, "$&/") + "/") + e)), t.push(u)), 1;
|
|
100
|
-
if (l = 0, o = o === "" ? "." : o + ":", j(e)) for (var f = 0; f < e.length; f++) {
|
|
101
|
-
c = e[f];
|
|
102
|
-
var i = o + k(c, f);
|
|
103
|
-
l += d(c, t, n, i, u);
|
|
104
|
-
}
|
|
105
|
-
else if (i = B(e), typeof i == "function") for (e = i.call(e), f = 0; !(c = e.next()).done;) c = c.value, i = o + k(c, f++), l += d(c, t, n, i, u);
|
|
106
|
-
else if (c === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
|
|
107
|
-
return l;
|
|
108
|
-
}
|
|
109
|
-
function v(e, t, n) {
|
|
110
|
-
if (e == null) return e;
|
|
111
|
-
var o = [], u = 0;
|
|
112
|
-
return d(e, o, "", "", function(c) {
|
|
113
|
-
return t.call(n, c, u++);
|
|
114
|
-
}), o;
|
|
115
|
-
}
|
|
116
|
-
function W(e) {
|
|
117
|
-
if (e._status === -1) {
|
|
118
|
-
var t = e._result;
|
|
119
|
-
t = t(), t.then(function(n) {
|
|
120
|
-
(e._status === 0 || e._status === -1) && (e._status = 1, e._result = n);
|
|
121
|
-
}, function(n) {
|
|
122
|
-
(e._status === 0 || e._status === -1) && (e._status = 2, e._result = n);
|
|
123
|
-
}), e._status === -1 && (e._status = 0, e._result = t);
|
|
124
|
-
}
|
|
125
|
-
if (e._status === 1) return e._result.default;
|
|
126
|
-
throw e._result;
|
|
127
|
-
}
|
|
128
|
-
var a = { current: null }, _ = { transition: null }, G = {
|
|
129
|
-
ReactCurrentDispatcher: a,
|
|
130
|
-
ReactCurrentBatchConfig: _,
|
|
131
|
-
ReactCurrentOwner: S
|
|
132
|
-
};
|
|
133
|
-
r.Children = {
|
|
134
|
-
map: v,
|
|
135
|
-
forEach: function(e, t, n) {
|
|
136
|
-
v(e, function() {
|
|
137
|
-
t.apply(this, arguments);
|
|
138
|
-
}, n);
|
|
139
|
-
},
|
|
140
|
-
count: function(e) {
|
|
141
|
-
var t = 0;
|
|
142
|
-
return v(e, function() {
|
|
143
|
-
t++;
|
|
144
|
-
}), t;
|
|
145
|
-
},
|
|
146
|
-
toArray: function(e) {
|
|
147
|
-
return v(e, function(t) {
|
|
148
|
-
return t;
|
|
149
|
-
}) || [];
|
|
150
|
-
},
|
|
151
|
-
only: function(e) {
|
|
152
|
-
if (!E(e)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
153
|
-
return e;
|
|
154
|
-
}
|
|
155
|
-
}, r.Component = p, r.Fragment = V, r.Profiler = D, r.PureComponent = h, r.StrictMode = A, r.Suspense = M, r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = G, r.cloneElement = function(e, t, n) {
|
|
156
|
-
if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
157
|
-
var o = $({}, e.props), u = e.key, c = e.ref, l = e._owner;
|
|
158
|
-
if (t != null) {
|
|
159
|
-
if (t.ref !== void 0 && (c = t.ref, l = S.current), t.key !== void 0 && (u = "" + t.key), e.type && e.type.defaultProps) var f = e.type.defaultProps;
|
|
160
|
-
for (i in t) O.call(t, i) && !g.hasOwnProperty(i) && (o[i] = t[i] === void 0 && f !== void 0 ? f[i] : t[i]);
|
|
161
|
-
}
|
|
162
|
-
var i = arguments.length - 2;
|
|
163
|
-
if (i === 1) o.children = n;
|
|
164
|
-
else if (1 < i) {
|
|
165
|
-
f = Array(i);
|
|
166
|
-
for (var s = 0; s < i; s++) f[s] = arguments[s + 2];
|
|
167
|
-
o.children = f;
|
|
168
|
-
}
|
|
169
|
-
return {
|
|
170
|
-
$$typeof: y,
|
|
171
|
-
type: e.type,
|
|
172
|
-
key: u,
|
|
173
|
-
ref: c,
|
|
174
|
-
props: o,
|
|
175
|
-
_owner: l
|
|
176
|
-
};
|
|
177
|
-
}, r.createContext = function(e) {
|
|
178
|
-
return e = {
|
|
179
|
-
$$typeof: F,
|
|
180
|
-
_currentValue: e,
|
|
181
|
-
_currentValue2: e,
|
|
182
|
-
_threadCount: 0,
|
|
183
|
-
Provider: null,
|
|
184
|
-
Consumer: null,
|
|
185
|
-
_defaultValue: null,
|
|
186
|
-
_globalName: null
|
|
187
|
-
}, e.Provider = {
|
|
188
|
-
$$typeof: U,
|
|
189
|
-
_context: e
|
|
190
|
-
}, e.Consumer = e;
|
|
191
|
-
}, r.createElement = P, r.createFactory = function(e) {
|
|
192
|
-
var t = P.bind(null, e);
|
|
193
|
-
return t.type = e, t;
|
|
194
|
-
}, r.createRef = function() {
|
|
195
|
-
return { current: null };
|
|
196
|
-
}, r.forwardRef = function(e) {
|
|
197
|
-
return {
|
|
198
|
-
$$typeof: L,
|
|
199
|
-
render: e
|
|
200
|
-
};
|
|
201
|
-
}, r.isValidElement = E, r.lazy = function(e) {
|
|
202
|
-
return {
|
|
203
|
-
$$typeof: z,
|
|
204
|
-
_payload: {
|
|
205
|
-
_status: -1,
|
|
206
|
-
_result: e
|
|
207
|
-
},
|
|
208
|
-
_init: W
|
|
209
|
-
};
|
|
210
|
-
}, r.memo = function(e, t) {
|
|
211
|
-
return {
|
|
212
|
-
$$typeof: N,
|
|
213
|
-
type: e,
|
|
214
|
-
compare: t === void 0 ? null : t
|
|
215
|
-
};
|
|
216
|
-
}, r.startTransition = function(e) {
|
|
217
|
-
var t = _.transition;
|
|
218
|
-
_.transition = {};
|
|
219
|
-
try {
|
|
220
|
-
e();
|
|
221
|
-
} finally {
|
|
222
|
-
_.transition = t;
|
|
223
|
-
}
|
|
224
|
-
}, r.unstable_act = function() {
|
|
225
|
-
throw Error("act(...) is not supported in production builds of React.");
|
|
226
|
-
}, r.useCallback = function(e, t) {
|
|
227
|
-
return a.current.useCallback(e, t);
|
|
228
|
-
}, r.useContext = function(e) {
|
|
229
|
-
return a.current.useContext(e);
|
|
230
|
-
}, r.useDebugValue = function() {}, r.useDeferredValue = function(e) {
|
|
231
|
-
return a.current.useDeferredValue(e);
|
|
232
|
-
}, r.useEffect = function(e, t) {
|
|
233
|
-
return a.current.useEffect(e, t);
|
|
234
|
-
}, r.useId = function() {
|
|
235
|
-
return a.current.useId();
|
|
236
|
-
}, r.useImperativeHandle = function(e, t, n) {
|
|
237
|
-
return a.current.useImperativeHandle(e, t, n);
|
|
238
|
-
}, r.useInsertionEffect = function(e, t) {
|
|
239
|
-
return a.current.useInsertionEffect(e, t);
|
|
240
|
-
}, r.useLayoutEffect = function(e, t) {
|
|
241
|
-
return a.current.useLayoutEffect(e, t);
|
|
242
|
-
}, r.useMemo = function(e, t) {
|
|
243
|
-
return a.current.useMemo(e, t);
|
|
244
|
-
}, r.useReducer = function(e, t, n) {
|
|
245
|
-
return a.current.useReducer(e, t, n);
|
|
246
|
-
}, r.useRef = function(e) {
|
|
247
|
-
return a.current.useRef(e);
|
|
248
|
-
}, r.useState = function(e) {
|
|
249
|
-
return a.current.useState(e);
|
|
250
|
-
}, r.useSyncExternalStore = function(e, t, n) {
|
|
251
|
-
return a.current.useSyncExternalStore(e, t, n);
|
|
252
|
-
}, r.useTransition = function() {
|
|
253
|
-
return a.current.useTransition();
|
|
254
|
-
}, r.version = "18.2.0";
|
|
255
|
-
})), Y = q(((r, y) => {
|
|
256
|
-
y.exports = K();
|
|
257
|
-
}));
|
|
258
|
-
export { Y as t };
|