@blocknote/mantine 0.14.0 → 0.14.1
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/dist/blocknote-mantine.js +587 -565
- package/dist/blocknote-mantine.js.map +1 -1
- package/dist/blocknote-mantine.umd.cjs +15 -10
- package/dist/blocknote-mantine.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +6 -6
- package/src/style.css +2 -1
- package/src/suggestionMenu/SuggestionMenuEmptyItem.tsx +1 -1
- package/src/suggestionMenu/SuggestionMenuItem.tsx +20 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import D, { forwardRef as R, createContext as
|
|
2
|
-
import { useBlockNoteContext as
|
|
3
|
-
import { TextInput as
|
|
4
|
-
import
|
|
5
|
-
import { assertEmpty as j, isSafari as
|
|
6
|
-
import { mergeRefs as
|
|
7
|
-
var
|
|
1
|
+
import D, { forwardRef as R, createContext as zr, useState as Wr, useRef as ce, useCallback as de, useContext as Br, useEffect as Vr } from "react";
|
|
2
|
+
import { elementOverflow as Yr, useBlockNoteContext as Ur, ComponentsContext as Kr, BlockNoteViewRaw as Gr } from "@blocknote/react";
|
|
3
|
+
import { TextInput as Je, Menu as O, CheckIcon as qe, Group as N, Tabs as X, LoadingOverlay as Hr, Button as U, FileInput as Jr, Popover as qr, PopoverTarget as Xr, PopoverDropdown as Zr, ActionIcon as Xe, Stack as be, Text as Z, Badge as Qr, Loader as et, Tooltip as rt, MantineProvider as tt } from "@mantine/core";
|
|
4
|
+
import nt from "use-prefers-color-scheme";
|
|
5
|
+
import { assertEmpty as j, isSafari as fe } from "@blocknote/core";
|
|
6
|
+
import { mergeRefs as ge, useFocusWithin as ot, useFocusTrap as at } from "@mantine/hooks";
|
|
7
|
+
var ve = { exports: {} }, V = {};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,25 +14,25 @@ var ce = { exports: {} }, W = {};
|
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
var r = D, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"),
|
|
23
|
-
function
|
|
24
|
-
var h, w = {}, k = null,
|
|
25
|
-
b !== void 0 && (k = "" + b),
|
|
26
|
-
for (h in
|
|
27
|
-
|
|
17
|
+
var We;
|
|
18
|
+
function it() {
|
|
19
|
+
if (We)
|
|
20
|
+
return V;
|
|
21
|
+
We = 1;
|
|
22
|
+
var r = D, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, s = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
+
function f(u, d, b) {
|
|
24
|
+
var h, w = {}, k = null, K = null;
|
|
25
|
+
b !== void 0 && (k = "" + b), d.key !== void 0 && (k = "" + d.key), d.ref !== void 0 && (K = d.ref);
|
|
26
|
+
for (h in d)
|
|
27
|
+
o.call(d, h) && !c.hasOwnProperty(h) && (w[h] = d[h]);
|
|
28
28
|
if (u && u.defaultProps)
|
|
29
|
-
for (h in
|
|
30
|
-
w[h] === void 0 && (w[h] =
|
|
31
|
-
return { $$typeof: t, type: u, key: k, ref:
|
|
29
|
+
for (h in d = u.defaultProps, d)
|
|
30
|
+
w[h] === void 0 && (w[h] = d[h]);
|
|
31
|
+
return { $$typeof: t, type: u, key: k, ref: K, props: w, _owner: s.current };
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return V.Fragment = n, V.jsx = f, V.jsxs = f, V;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var Y = {};
|
|
36
36
|
/**
|
|
37
37
|
* @license React
|
|
38
38
|
* react-jsx-runtime.development.js
|
|
@@ -42,54 +42,54 @@ var B = {};
|
|
|
42
42
|
* This source code is licensed under the MIT license found in the
|
|
43
43
|
* LICENSE file in the root directory of this source tree.
|
|
44
44
|
*/
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
return
|
|
48
|
-
var r = D, t = Symbol.for("react.element"), n = Symbol.for("react.portal"),
|
|
49
|
-
function
|
|
45
|
+
var Be;
|
|
46
|
+
function st() {
|
|
47
|
+
return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
+
var r = D, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), K = Symbol.for("react.offscreen"), pe = Symbol.iterator, nr = "@@iterator";
|
|
49
|
+
function or(e) {
|
|
50
50
|
if (e === null || typeof e != "object")
|
|
51
51
|
return null;
|
|
52
|
-
var
|
|
53
|
-
return typeof
|
|
52
|
+
var a = pe && e[pe] || e[nr];
|
|
53
|
+
return typeof a == "function" ? a : null;
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
56
56
|
function S(e) {
|
|
57
57
|
{
|
|
58
|
-
for (var
|
|
59
|
-
i[
|
|
60
|
-
|
|
58
|
+
for (var a = arguments.length, i = new Array(a > 1 ? a - 1 : 0), v = 1; v < a; v++)
|
|
59
|
+
i[v - 1] = arguments[v];
|
|
60
|
+
ar("error", e, i);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ar(e, a, i) {
|
|
64
64
|
{
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
var y = i.map(function(
|
|
68
|
-
return String(
|
|
65
|
+
var v = L.ReactDebugCurrentFrame, m = v.getStackAddendum();
|
|
66
|
+
m !== "" && (a += "%s", i = i.concat([m]));
|
|
67
|
+
var y = i.map(function(p) {
|
|
68
|
+
return String(p);
|
|
69
69
|
});
|
|
70
|
-
y.unshift("Warning: " +
|
|
70
|
+
y.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, y);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
function
|
|
76
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
73
|
+
var ir = !1, sr = !1, lr = !1, ur = !1, cr = !1, me;
|
|
74
|
+
me = Symbol.for("react.module.reference");
|
|
75
|
+
function dr(e) {
|
|
76
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === c || cr || e === s || e === b || e === h || ur || e === K || ir || sr || lr || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === w || e.$$typeof === f || e.$$typeof === u || e.$$typeof === d || // This needs to include all possible module reference object
|
|
77
77
|
// types supported by any Flight configuration anywhere since
|
|
78
78
|
// we don't know which Flight build this will end up being used
|
|
79
79
|
// with.
|
|
80
|
-
e.$$typeof ===
|
|
80
|
+
e.$$typeof === me || e.getModuleId !== void 0));
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
var
|
|
84
|
-
if (
|
|
85
|
-
return
|
|
86
|
-
var
|
|
87
|
-
return
|
|
82
|
+
function fr(e, a, i) {
|
|
83
|
+
var v = e.displayName;
|
|
84
|
+
if (v)
|
|
85
|
+
return v;
|
|
86
|
+
var m = a.displayName || a.name || "";
|
|
87
|
+
return m !== "" ? i + "(" + m + ")" : i;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function he(e) {
|
|
90
90
|
return e.displayName || "Context";
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function F(e) {
|
|
93
93
|
if (e == null)
|
|
94
94
|
return null;
|
|
95
95
|
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -97,7 +97,7 @@ function rt() {
|
|
|
97
97
|
if (typeof e == "string")
|
|
98
98
|
return e;
|
|
99
99
|
switch (e) {
|
|
100
|
-
case
|
|
100
|
+
case o:
|
|
101
101
|
return "Fragment";
|
|
102
102
|
case n:
|
|
103
103
|
return "Portal";
|
|
@@ -113,20 +113,20 @@ function rt() {
|
|
|
113
113
|
if (typeof e == "object")
|
|
114
114
|
switch (e.$$typeof) {
|
|
115
115
|
case u:
|
|
116
|
-
var
|
|
117
|
-
return
|
|
118
|
-
case
|
|
116
|
+
var a = e;
|
|
117
|
+
return he(a) + ".Consumer";
|
|
118
|
+
case f:
|
|
119
119
|
var i = e;
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
return
|
|
120
|
+
return he(i._context) + ".Provider";
|
|
121
|
+
case d:
|
|
122
|
+
return fr(e, e.render, "ForwardRef");
|
|
123
123
|
case w:
|
|
124
|
-
var
|
|
125
|
-
return
|
|
124
|
+
var v = e.displayName || null;
|
|
125
|
+
return v !== null ? v : F(e.type) || "Memo";
|
|
126
126
|
case k: {
|
|
127
|
-
var
|
|
127
|
+
var m = e, y = m._payload, p = m._init;
|
|
128
128
|
try {
|
|
129
|
-
return
|
|
129
|
+
return F(p(y));
|
|
130
130
|
} catch {
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
@@ -134,18 +134,18 @@ function rt() {
|
|
|
134
134
|
}
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
137
|
-
var M = Object.assign,
|
|
138
|
-
function
|
|
137
|
+
var M = Object.assign, z = 0, xe, ye, je, Re, Ee, Te, we;
|
|
138
|
+
function ke() {
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
function
|
|
140
|
+
ke.__reactDisabledLog = !0;
|
|
141
|
+
function vr() {
|
|
142
142
|
{
|
|
143
|
-
if (
|
|
144
|
-
|
|
143
|
+
if (z === 0) {
|
|
144
|
+
xe = console.log, ye = console.info, je = console.warn, Re = console.error, Ee = console.group, Te = console.groupCollapsed, we = console.groupEnd;
|
|
145
145
|
var e = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
148
|
-
value:
|
|
148
|
+
value: ke,
|
|
149
149
|
writable: !0
|
|
150
150
|
};
|
|
151
151
|
Object.defineProperties(console, {
|
|
@@ -158,12 +158,12 @@ function rt() {
|
|
|
158
158
|
groupEnd: e
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
z++;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function br() {
|
|
165
165
|
{
|
|
166
|
-
if (
|
|
166
|
+
if (z--, z === 0) {
|
|
167
167
|
var e = {
|
|
168
168
|
configurable: !0,
|
|
169
169
|
enumerable: !0,
|
|
@@ -171,241 +171,241 @@ function rt() {
|
|
|
171
171
|
};
|
|
172
172
|
Object.defineProperties(console, {
|
|
173
173
|
log: M({}, e, {
|
|
174
|
-
value:
|
|
174
|
+
value: xe
|
|
175
175
|
}),
|
|
176
176
|
info: M({}, e, {
|
|
177
|
-
value:
|
|
177
|
+
value: ye
|
|
178
178
|
}),
|
|
179
179
|
warn: M({}, e, {
|
|
180
|
-
value:
|
|
180
|
+
value: je
|
|
181
181
|
}),
|
|
182
182
|
error: M({}, e, {
|
|
183
|
-
value:
|
|
183
|
+
value: Re
|
|
184
184
|
}),
|
|
185
185
|
group: M({}, e, {
|
|
186
|
-
value:
|
|
186
|
+
value: Ee
|
|
187
187
|
}),
|
|
188
188
|
groupCollapsed: M({}, e, {
|
|
189
|
-
value:
|
|
189
|
+
value: Te
|
|
190
190
|
}),
|
|
191
191
|
groupEnd: M({}, e, {
|
|
192
|
-
value:
|
|
192
|
+
value: we
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
z < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
function
|
|
199
|
+
var re = L.ReactCurrentDispatcher, te;
|
|
200
|
+
function G(e, a, i) {
|
|
201
201
|
{
|
|
202
|
-
if (
|
|
202
|
+
if (te === void 0)
|
|
203
203
|
try {
|
|
204
204
|
throw Error();
|
|
205
|
-
} catch (
|
|
206
|
-
var
|
|
207
|
-
|
|
205
|
+
} catch (m) {
|
|
206
|
+
var v = m.stack.trim().match(/\n( *(at )?)/);
|
|
207
|
+
te = v && v[1] || "";
|
|
208
208
|
}
|
|
209
209
|
return `
|
|
210
|
-
` +
|
|
210
|
+
` + te + e;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var ne = !1, H;
|
|
214
214
|
{
|
|
215
|
-
var
|
|
216
|
-
|
|
215
|
+
var gr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
216
|
+
H = new gr();
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
if (!e ||
|
|
218
|
+
function Se(e, a) {
|
|
219
|
+
if (!e || ne)
|
|
220
220
|
return "";
|
|
221
221
|
{
|
|
222
|
-
var i =
|
|
222
|
+
var i = H.get(e);
|
|
223
223
|
if (i !== void 0)
|
|
224
224
|
return i;
|
|
225
225
|
}
|
|
226
|
-
var
|
|
227
|
-
|
|
228
|
-
var
|
|
226
|
+
var v;
|
|
227
|
+
ne = !0;
|
|
228
|
+
var m = Error.prepareStackTrace;
|
|
229
229
|
Error.prepareStackTrace = void 0;
|
|
230
230
|
var y;
|
|
231
|
-
y =
|
|
231
|
+
y = re.current, re.current = null, vr();
|
|
232
232
|
try {
|
|
233
|
-
if (
|
|
234
|
-
var
|
|
233
|
+
if (a) {
|
|
234
|
+
var p = function() {
|
|
235
235
|
throw Error();
|
|
236
236
|
};
|
|
237
|
-
if (Object.defineProperty(
|
|
237
|
+
if (Object.defineProperty(p.prototype, "props", {
|
|
238
238
|
set: function() {
|
|
239
239
|
throw Error();
|
|
240
240
|
}
|
|
241
241
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
242
242
|
try {
|
|
243
|
-
Reflect.construct(
|
|
244
|
-
} catch (
|
|
245
|
-
|
|
243
|
+
Reflect.construct(p, []);
|
|
244
|
+
} catch (_) {
|
|
245
|
+
v = _;
|
|
246
246
|
}
|
|
247
|
-
Reflect.construct(e, [],
|
|
247
|
+
Reflect.construct(e, [], p);
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
|
-
|
|
251
|
-
} catch (
|
|
252
|
-
|
|
250
|
+
p.call();
|
|
251
|
+
} catch (_) {
|
|
252
|
+
v = _;
|
|
253
253
|
}
|
|
254
|
-
e.call(
|
|
254
|
+
e.call(p.prototype);
|
|
255
255
|
}
|
|
256
256
|
} else {
|
|
257
257
|
try {
|
|
258
258
|
throw Error();
|
|
259
|
-
} catch (
|
|
260
|
-
|
|
259
|
+
} catch (_) {
|
|
260
|
+
v = _;
|
|
261
261
|
}
|
|
262
262
|
e();
|
|
263
263
|
}
|
|
264
|
-
} catch (
|
|
265
|
-
if (
|
|
266
|
-
for (var
|
|
267
|
-
`), P =
|
|
268
|
-
`), E =
|
|
264
|
+
} catch (_) {
|
|
265
|
+
if (_ && v && typeof _.stack == "string") {
|
|
266
|
+
for (var g = _.stack.split(`
|
|
267
|
+
`), P = v.stack.split(`
|
|
268
|
+
`), E = g.length - 1, T = P.length - 1; E >= 1 && T >= 0 && g[E] !== P[T]; )
|
|
269
269
|
T--;
|
|
270
270
|
for (; E >= 1 && T >= 0; E--, T--)
|
|
271
|
-
if (
|
|
271
|
+
if (g[E] !== P[T]) {
|
|
272
272
|
if (E !== 1 || T !== 1)
|
|
273
273
|
do
|
|
274
|
-
if (E--, T--, T < 0 ||
|
|
275
|
-
var
|
|
276
|
-
` +
|
|
277
|
-
return e.displayName &&
|
|
274
|
+
if (E--, T--, T < 0 || g[E] !== P[T]) {
|
|
275
|
+
var C = `
|
|
276
|
+
` + g[E].replace(" at new ", " at ");
|
|
277
|
+
return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, C), C;
|
|
278
278
|
}
|
|
279
279
|
while (E >= 1 && T >= 0);
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
} finally {
|
|
284
|
-
|
|
284
|
+
ne = !1, re.current = y, br(), Error.prepareStackTrace = m;
|
|
285
285
|
}
|
|
286
|
-
var
|
|
287
|
-
return typeof e == "function" &&
|
|
286
|
+
var $ = e ? e.displayName || e.name : "", I = $ ? G($) : "";
|
|
287
|
+
return typeof e == "function" && H.set(e, I), I;
|
|
288
288
|
}
|
|
289
|
-
function
|
|
290
|
-
return
|
|
289
|
+
function pr(e, a, i) {
|
|
290
|
+
return Se(e, !1);
|
|
291
291
|
}
|
|
292
292
|
function mr(e) {
|
|
293
|
-
var
|
|
294
|
-
return !!(
|
|
293
|
+
var a = e.prototype;
|
|
294
|
+
return !!(a && a.isReactComponent);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function J(e, a, i) {
|
|
297
297
|
if (e == null)
|
|
298
298
|
return "";
|
|
299
299
|
if (typeof e == "function")
|
|
300
|
-
return
|
|
300
|
+
return Se(e, mr(e));
|
|
301
301
|
if (typeof e == "string")
|
|
302
|
-
return
|
|
302
|
+
return G(e);
|
|
303
303
|
switch (e) {
|
|
304
304
|
case b:
|
|
305
|
-
return
|
|
305
|
+
return G("Suspense");
|
|
306
306
|
case h:
|
|
307
|
-
return
|
|
307
|
+
return G("SuspenseList");
|
|
308
308
|
}
|
|
309
309
|
if (typeof e == "object")
|
|
310
310
|
switch (e.$$typeof) {
|
|
311
|
-
case
|
|
312
|
-
return
|
|
311
|
+
case d:
|
|
312
|
+
return pr(e.render);
|
|
313
313
|
case w:
|
|
314
|
-
return
|
|
314
|
+
return J(e.type, a, i);
|
|
315
315
|
case k: {
|
|
316
|
-
var
|
|
316
|
+
var v = e, m = v._payload, y = v._init;
|
|
317
317
|
try {
|
|
318
|
-
return
|
|
318
|
+
return J(y(m), a, i);
|
|
319
319
|
} catch {
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
return "";
|
|
324
324
|
}
|
|
325
|
-
var
|
|
325
|
+
var W = Object.prototype.hasOwnProperty, Pe = {}, _e = L.ReactDebugCurrentFrame;
|
|
326
326
|
function q(e) {
|
|
327
327
|
if (e) {
|
|
328
|
-
var
|
|
329
|
-
|
|
328
|
+
var a = e._owner, i = J(e.type, e._source, a ? a.type : null);
|
|
329
|
+
_e.setExtraStackFrame(i);
|
|
330
330
|
} else
|
|
331
|
-
|
|
331
|
+
_e.setExtraStackFrame(null);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function hr(e, a, i, v, m) {
|
|
334
334
|
{
|
|
335
|
-
var y = Function.call.bind(
|
|
336
|
-
for (var
|
|
337
|
-
if (y(e,
|
|
338
|
-
var
|
|
335
|
+
var y = Function.call.bind(W);
|
|
336
|
+
for (var p in e)
|
|
337
|
+
if (y(e, p)) {
|
|
338
|
+
var g = void 0;
|
|
339
339
|
try {
|
|
340
|
-
if (typeof e[
|
|
341
|
-
var P = Error((
|
|
340
|
+
if (typeof e[p] != "function") {
|
|
341
|
+
var P = Error((v || "React class") + ": " + i + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
342
342
|
throw P.name = "Invariant Violation", P;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
g = e[p](a, p, v, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
345
345
|
} catch (E) {
|
|
346
|
-
|
|
346
|
+
g = E;
|
|
347
347
|
}
|
|
348
|
-
|
|
348
|
+
g && !(g instanceof Error) && (q(m), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", i, p, typeof g), q(null)), g instanceof Error && !(g.message in Pe) && (Pe[g.message] = !0, q(m), S("Failed %s type: %s", i, g.message), q(null));
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
var
|
|
353
|
-
function
|
|
354
|
-
return
|
|
352
|
+
var xr = Array.isArray;
|
|
353
|
+
function oe(e) {
|
|
354
|
+
return xr(e);
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function yr(e) {
|
|
357
357
|
{
|
|
358
|
-
var
|
|
358
|
+
var a = typeof Symbol == "function" && Symbol.toStringTag, i = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
359
359
|
return i;
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function jr(e) {
|
|
363
363
|
try {
|
|
364
|
-
return
|
|
364
|
+
return Ce(e), !1;
|
|
365
365
|
} catch {
|
|
366
366
|
return !0;
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Ce(e) {
|
|
370
370
|
return "" + e;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
if (
|
|
374
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
372
|
+
function Oe(e) {
|
|
373
|
+
if (jr(e))
|
|
374
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yr(e)), Ce(e);
|
|
375
375
|
}
|
|
376
|
-
var
|
|
376
|
+
var B = L.ReactCurrentOwner, Rr = {
|
|
377
377
|
key: !0,
|
|
378
378
|
ref: !0,
|
|
379
379
|
__self: !0,
|
|
380
380
|
__source: !0
|
|
381
|
-
},
|
|
381
|
+
}, Fe, De, ae;
|
|
382
382
|
ae = {};
|
|
383
|
-
function
|
|
384
|
-
if (
|
|
385
|
-
var
|
|
386
|
-
if (
|
|
383
|
+
function Er(e) {
|
|
384
|
+
if (W.call(e, "ref")) {
|
|
385
|
+
var a = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
386
|
+
if (a && a.isReactWarning)
|
|
387
387
|
return !1;
|
|
388
388
|
}
|
|
389
389
|
return e.ref !== void 0;
|
|
390
390
|
}
|
|
391
|
-
function
|
|
392
|
-
if (
|
|
393
|
-
var
|
|
394
|
-
if (
|
|
391
|
+
function Tr(e) {
|
|
392
|
+
if (W.call(e, "key")) {
|
|
393
|
+
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
394
|
+
if (a && a.isReactWarning)
|
|
395
395
|
return !1;
|
|
396
396
|
}
|
|
397
397
|
return e.key !== void 0;
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
if (typeof e.ref == "string" &&
|
|
401
|
-
var i =
|
|
402
|
-
ae[i] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
399
|
+
function wr(e, a) {
|
|
400
|
+
if (typeof e.ref == "string" && B.current && a && B.current.stateNode !== a) {
|
|
401
|
+
var i = F(B.current.type);
|
|
402
|
+
ae[i] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(B.current.type), e.ref), ae[i] = !0);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function kr(e, a) {
|
|
406
406
|
{
|
|
407
407
|
var i = function() {
|
|
408
|
-
|
|
408
|
+
Fe || (Fe = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
409
409
|
};
|
|
410
410
|
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
411
411
|
get: i,
|
|
@@ -413,10 +413,10 @@ function rt() {
|
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Sr(e, a) {
|
|
417
417
|
{
|
|
418
418
|
var i = function() {
|
|
419
|
-
|
|
419
|
+
De || (De = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
420
420
|
};
|
|
421
421
|
i.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
422
422
|
get: i,
|
|
@@ -424,70 +424,70 @@ function rt() {
|
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
var
|
|
428
|
-
var
|
|
427
|
+
var Pr = function(e, a, i, v, m, y, p) {
|
|
428
|
+
var g = {
|
|
429
429
|
// This tag allows us to uniquely identify this as a React Element
|
|
430
430
|
$$typeof: t,
|
|
431
431
|
// Built-in properties that belong on the element
|
|
432
432
|
type: e,
|
|
433
|
-
key:
|
|
433
|
+
key: a,
|
|
434
434
|
ref: i,
|
|
435
|
-
props:
|
|
435
|
+
props: p,
|
|
436
436
|
// Record the component responsible for creating this element.
|
|
437
437
|
_owner: y
|
|
438
438
|
};
|
|
439
|
-
return
|
|
439
|
+
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !0,
|
|
443
443
|
value: !1
|
|
444
|
-
}), Object.defineProperty(
|
|
444
|
+
}), Object.defineProperty(g, "_self", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
447
447
|
writable: !1,
|
|
448
|
-
value:
|
|
449
|
-
}), Object.defineProperty(
|
|
448
|
+
value: v
|
|
449
|
+
}), Object.defineProperty(g, "_source", {
|
|
450
450
|
configurable: !1,
|
|
451
451
|
enumerable: !1,
|
|
452
452
|
writable: !1,
|
|
453
|
-
value:
|
|
454
|
-
}), Object.freeze && (Object.freeze(
|
|
453
|
+
value: m
|
|
454
|
+
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
455
455
|
};
|
|
456
|
-
function
|
|
456
|
+
function _r(e, a, i, v, m) {
|
|
457
457
|
{
|
|
458
|
-
var y,
|
|
459
|
-
i !== void 0 && (
|
|
460
|
-
for (y in
|
|
461
|
-
|
|
458
|
+
var y, p = {}, g = null, P = null;
|
|
459
|
+
i !== void 0 && (Oe(i), g = "" + i), Tr(a) && (Oe(a.key), g = "" + a.key), Er(a) && (P = a.ref, wr(a, m));
|
|
460
|
+
for (y in a)
|
|
461
|
+
W.call(a, y) && !Rr.hasOwnProperty(y) && (p[y] = a[y]);
|
|
462
462
|
if (e && e.defaultProps) {
|
|
463
463
|
var E = e.defaultProps;
|
|
464
464
|
for (y in E)
|
|
465
|
-
|
|
465
|
+
p[y] === void 0 && (p[y] = E[y]);
|
|
466
466
|
}
|
|
467
|
-
if (
|
|
467
|
+
if (g || P) {
|
|
468
468
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
469
|
-
|
|
469
|
+
g && kr(p, T), P && Sr(p, T);
|
|
470
470
|
}
|
|
471
|
-
return
|
|
471
|
+
return Pr(e, g, P, m, v, B.current, p);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
function
|
|
474
|
+
var ie = L.ReactCurrentOwner, Ne = L.ReactDebugCurrentFrame;
|
|
475
|
+
function A(e) {
|
|
476
476
|
if (e) {
|
|
477
|
-
var
|
|
478
|
-
|
|
477
|
+
var a = e._owner, i = J(e.type, e._source, a ? a.type : null);
|
|
478
|
+
Ne.setExtraStackFrame(i);
|
|
479
479
|
} else
|
|
480
|
-
|
|
480
|
+
Ne.setExtraStackFrame(null);
|
|
481
481
|
}
|
|
482
|
-
var
|
|
483
|
-
|
|
484
|
-
function
|
|
482
|
+
var se;
|
|
483
|
+
se = !1;
|
|
484
|
+
function le(e) {
|
|
485
485
|
return typeof e == "object" && e !== null && e.$$typeof === t;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Me() {
|
|
488
488
|
{
|
|
489
|
-
if (
|
|
490
|
-
var e =
|
|
489
|
+
if (ie.current) {
|
|
490
|
+
var e = F(ie.current.type);
|
|
491
491
|
if (e)
|
|
492
492
|
return `
|
|
493
493
|
|
|
@@ -496,151 +496,166 @@ Check the render method of \`` + e + "`.";
|
|
|
496
496
|
return "";
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function Cr(e) {
|
|
500
500
|
{
|
|
501
501
|
if (e !== void 0) {
|
|
502
|
-
var
|
|
502
|
+
var a = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
|
|
503
503
|
return `
|
|
504
504
|
|
|
505
|
-
Check your code at ` +
|
|
505
|
+
Check your code at ` + a + ":" + i + ".";
|
|
506
506
|
}
|
|
507
507
|
return "";
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
var
|
|
511
|
-
function
|
|
510
|
+
var Ie = {};
|
|
511
|
+
function Or(e) {
|
|
512
512
|
{
|
|
513
|
-
var
|
|
514
|
-
if (!
|
|
513
|
+
var a = Me();
|
|
514
|
+
if (!a) {
|
|
515
515
|
var i = typeof e == "string" ? e : e.displayName || e.name;
|
|
516
|
-
i && (
|
|
516
|
+
i && (a = `
|
|
517
517
|
|
|
518
518
|
Check the top-level render call using <` + i + ">.");
|
|
519
519
|
}
|
|
520
|
-
return
|
|
520
|
+
return a;
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Le(e, a) {
|
|
524
524
|
{
|
|
525
525
|
if (!e._store || e._store.validated || e.key != null)
|
|
526
526
|
return;
|
|
527
527
|
e._store.validated = !0;
|
|
528
|
-
var i =
|
|
529
|
-
if (
|
|
528
|
+
var i = Or(a);
|
|
529
|
+
if (Ie[i])
|
|
530
530
|
return;
|
|
531
|
-
|
|
532
|
-
var
|
|
533
|
-
e && e._owner && e._owner !==
|
|
531
|
+
Ie[i] = !0;
|
|
532
|
+
var v = "";
|
|
533
|
+
e && e._owner && e._owner !== ie.current && (v = " It was passed a child from " + F(e._owner.type) + "."), A(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, v), A(null);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Ae(e, a) {
|
|
537
537
|
{
|
|
538
538
|
if (typeof e != "object")
|
|
539
539
|
return;
|
|
540
|
-
if (
|
|
540
|
+
if (oe(e))
|
|
541
541
|
for (var i = 0; i < e.length; i++) {
|
|
542
|
-
var
|
|
543
|
-
|
|
542
|
+
var v = e[i];
|
|
543
|
+
le(v) && Le(v, a);
|
|
544
544
|
}
|
|
545
|
-
else if (
|
|
545
|
+
else if (le(e))
|
|
546
546
|
e._store && (e._store.validated = !0);
|
|
547
547
|
else if (e) {
|
|
548
|
-
var
|
|
549
|
-
if (typeof
|
|
550
|
-
for (var y =
|
|
551
|
-
|
|
548
|
+
var m = or(e);
|
|
549
|
+
if (typeof m == "function" && m !== e.entries)
|
|
550
|
+
for (var y = m.call(e), p; !(p = y.next()).done; )
|
|
551
|
+
le(p.value) && Le(p.value, a);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function Fr(e) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (
|
|
557
|
+
var a = e.type;
|
|
558
|
+
if (a == null || typeof a == "string")
|
|
559
559
|
return;
|
|
560
560
|
var i;
|
|
561
|
-
if (typeof
|
|
562
|
-
i =
|
|
563
|
-
else if (typeof
|
|
561
|
+
if (typeof a == "function")
|
|
562
|
+
i = a.propTypes;
|
|
563
|
+
else if (typeof a == "object" && (a.$$typeof === d || // Note: Memo only checks outer props here.
|
|
564
564
|
// Inner props are checked in the reconciler.
|
|
565
|
-
|
|
566
|
-
i =
|
|
565
|
+
a.$$typeof === w))
|
|
566
|
+
i = a.propTypes;
|
|
567
567
|
else
|
|
568
568
|
return;
|
|
569
569
|
if (i) {
|
|
570
|
-
var
|
|
571
|
-
|
|
572
|
-
} else if (
|
|
573
|
-
|
|
574
|
-
var
|
|
575
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
570
|
+
var v = F(a);
|
|
571
|
+
hr(i, e.props, "prop", v, e);
|
|
572
|
+
} else if (a.PropTypes !== void 0 && !se) {
|
|
573
|
+
se = !0;
|
|
574
|
+
var m = F(a);
|
|
575
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
576
576
|
}
|
|
577
|
-
typeof
|
|
577
|
+
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function Dr(e) {
|
|
581
581
|
{
|
|
582
|
-
for (var
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
585
|
-
|
|
582
|
+
for (var a = Object.keys(e.props), i = 0; i < a.length; i++) {
|
|
583
|
+
var v = a[i];
|
|
584
|
+
if (v !== "children" && v !== "key") {
|
|
585
|
+
A(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), A(null);
|
|
586
586
|
break;
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
e.ref !== null && (
|
|
589
|
+
e.ref !== null && (A(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
var $e = {};
|
|
593
|
+
function ze(e, a, i, v, m, y) {
|
|
593
594
|
{
|
|
594
|
-
var
|
|
595
|
-
if (!
|
|
596
|
-
var
|
|
597
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
598
|
-
var P =
|
|
599
|
-
P ?
|
|
595
|
+
var p = dr(e);
|
|
596
|
+
if (!p) {
|
|
597
|
+
var g = "";
|
|
598
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
599
|
+
var P = Cr(m);
|
|
600
|
+
P ? g += P : g += Me();
|
|
600
601
|
var E;
|
|
601
|
-
e === null ? E = "null" :
|
|
602
|
+
e === null ? E = "null" : oe(e) ? E = "array" : e !== void 0 && e.$$typeof === t ? (E = "<" + (F(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, g);
|
|
602
603
|
}
|
|
603
|
-
var T =
|
|
604
|
+
var T = _r(e, a, i, m, y);
|
|
604
605
|
if (T == null)
|
|
605
606
|
return T;
|
|
606
|
-
if (
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
609
|
-
if (
|
|
610
|
-
if (
|
|
611
|
-
for (var
|
|
612
|
-
|
|
613
|
-
Object.freeze && Object.freeze(
|
|
607
|
+
if (p) {
|
|
608
|
+
var C = a.children;
|
|
609
|
+
if (C !== void 0)
|
|
610
|
+
if (v)
|
|
611
|
+
if (oe(C)) {
|
|
612
|
+
for (var $ = 0; $ < C.length; $++)
|
|
613
|
+
Ae(C[$], e);
|
|
614
|
+
Object.freeze && Object.freeze(C);
|
|
614
615
|
} else
|
|
615
616
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
616
617
|
else
|
|
617
|
-
|
|
618
|
+
Ae(C, e);
|
|
619
|
+
}
|
|
620
|
+
if (W.call(a, "key")) {
|
|
621
|
+
var I = F(e), _ = Object.keys(a).filter(function($r) {
|
|
622
|
+
return $r !== "key";
|
|
623
|
+
}), ue = _.length > 0 ? "{key: someKey, " + _.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
624
|
+
if (!$e[I + ue]) {
|
|
625
|
+
var Ar = _.length > 0 ? "{" + _.join(": ..., ") + ": ...}" : "{}";
|
|
626
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
627
|
+
let props = %s;
|
|
628
|
+
<%s {...props} />
|
|
629
|
+
React keys must be passed directly to JSX without using spread:
|
|
630
|
+
let props = %s;
|
|
631
|
+
<%s key={someKey} {...props} />`, ue, I, Ar, I), $e[I + ue] = !0;
|
|
632
|
+
}
|
|
618
633
|
}
|
|
619
|
-
return e ===
|
|
634
|
+
return e === o ? Dr(T) : Fr(T), T;
|
|
620
635
|
}
|
|
621
636
|
}
|
|
622
|
-
function
|
|
623
|
-
return
|
|
637
|
+
function Nr(e, a, i) {
|
|
638
|
+
return ze(e, a, i, !0);
|
|
624
639
|
}
|
|
625
|
-
function
|
|
626
|
-
return
|
|
640
|
+
function Mr(e, a, i) {
|
|
641
|
+
return ze(e, a, i, !1);
|
|
627
642
|
}
|
|
628
|
-
var
|
|
629
|
-
|
|
630
|
-
}()),
|
|
643
|
+
var Ir = Mr, Lr = Nr;
|
|
644
|
+
Y.Fragment = o, Y.jsx = Ir, Y.jsxs = Lr;
|
|
645
|
+
}()), Y;
|
|
631
646
|
}
|
|
632
|
-
process.env.NODE_ENV === "production" ?
|
|
633
|
-
var l =
|
|
634
|
-
const
|
|
635
|
-
const
|
|
636
|
-
function s(c,
|
|
647
|
+
process.env.NODE_ENV === "production" ? ve.exports = it() : ve.exports = st();
|
|
648
|
+
var l = ve.exports;
|
|
649
|
+
const Ze = (r, t, n = !1) => {
|
|
650
|
+
const o = [];
|
|
651
|
+
function s(c, f = "--bn") {
|
|
637
652
|
for (const u in c) {
|
|
638
|
-
const
|
|
653
|
+
const d = u.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), b = `${f}-${d}`;
|
|
639
654
|
typeof c[u] != "object" ? (typeof c[u] == "number" && (c[u] = `${c[u]}px`), n ? t.style.removeProperty(b) : t.style.setProperty(b, c[u].toString())) : s(c[u], b);
|
|
640
655
|
}
|
|
641
656
|
}
|
|
642
|
-
return s(r),
|
|
643
|
-
},
|
|
657
|
+
return s(r), o;
|
|
658
|
+
}, Ve = (r, t) => Ze(r, t), lt = {
|
|
644
659
|
colors: {
|
|
645
660
|
editor: {
|
|
646
661
|
text: void 0,
|
|
@@ -710,143 +725,143 @@ const Je = (r, t, n = !1) => {
|
|
|
710
725
|
},
|
|
711
726
|
borderRadius: void 0,
|
|
712
727
|
fontFamily: void 0
|
|
713
|
-
},
|
|
728
|
+
}, ut = (r) => Ze(lt, r, !0), ct = R((r, t) => {
|
|
714
729
|
const {
|
|
715
730
|
className: n,
|
|
716
|
-
name:
|
|
731
|
+
name: o,
|
|
717
732
|
label: s,
|
|
718
733
|
icon: c,
|
|
719
|
-
value:
|
|
734
|
+
value: f,
|
|
720
735
|
autoFocus: u,
|
|
721
|
-
placeholder:
|
|
736
|
+
placeholder: d,
|
|
722
737
|
onKeyDown: b,
|
|
723
738
|
onChange: h,
|
|
724
739
|
onSubmit: w,
|
|
725
740
|
...k
|
|
726
741
|
} = r;
|
|
727
742
|
return j(k), /* @__PURE__ */ l.jsx(
|
|
728
|
-
|
|
743
|
+
Je,
|
|
729
744
|
{
|
|
730
745
|
size: "xs",
|
|
731
746
|
className: n,
|
|
732
747
|
ref: t,
|
|
733
|
-
name:
|
|
748
|
+
name: o,
|
|
734
749
|
label: s,
|
|
735
750
|
leftSection: c,
|
|
736
|
-
value:
|
|
751
|
+
value: f,
|
|
737
752
|
autoFocus: u,
|
|
738
753
|
"data-autofocus": u ? "true" : void 0,
|
|
739
|
-
placeholder:
|
|
754
|
+
placeholder: d,
|
|
740
755
|
onKeyDown: b,
|
|
741
756
|
onChange: h,
|
|
742
757
|
onSubmit: w
|
|
743
758
|
}
|
|
744
759
|
);
|
|
745
760
|
});
|
|
746
|
-
var
|
|
761
|
+
var Qe = {
|
|
747
762
|
color: void 0,
|
|
748
763
|
size: void 0,
|
|
749
764
|
className: void 0,
|
|
750
765
|
style: void 0,
|
|
751
766
|
attr: void 0
|
|
752
|
-
},
|
|
753
|
-
function
|
|
767
|
+
}, Ye = D.createContext && /* @__PURE__ */ D.createContext(Qe), dt = ["attr", "size", "title"];
|
|
768
|
+
function ft(r, t) {
|
|
754
769
|
if (r == null)
|
|
755
770
|
return {};
|
|
756
|
-
var n =
|
|
771
|
+
var n = vt(r, t), o, s;
|
|
757
772
|
if (Object.getOwnPropertySymbols) {
|
|
758
773
|
var c = Object.getOwnPropertySymbols(r);
|
|
759
774
|
for (s = 0; s < c.length; s++)
|
|
760
|
-
|
|
775
|
+
o = c[s], !(t.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(r, o) && (n[o] = r[o]);
|
|
761
776
|
}
|
|
762
777
|
return n;
|
|
763
778
|
}
|
|
764
|
-
function
|
|
779
|
+
function vt(r, t) {
|
|
765
780
|
if (r == null)
|
|
766
781
|
return {};
|
|
767
782
|
var n = {};
|
|
768
|
-
for (var
|
|
769
|
-
if (Object.prototype.hasOwnProperty.call(r,
|
|
770
|
-
if (t.indexOf(
|
|
783
|
+
for (var o in r)
|
|
784
|
+
if (Object.prototype.hasOwnProperty.call(r, o)) {
|
|
785
|
+
if (t.indexOf(o) >= 0)
|
|
771
786
|
continue;
|
|
772
|
-
n[
|
|
787
|
+
n[o] = r[o];
|
|
773
788
|
}
|
|
774
789
|
return n;
|
|
775
790
|
}
|
|
776
|
-
function
|
|
777
|
-
return
|
|
791
|
+
function Q() {
|
|
792
|
+
return Q = Object.assign ? Object.assign.bind() : function(r) {
|
|
778
793
|
for (var t = 1; t < arguments.length; t++) {
|
|
779
794
|
var n = arguments[t];
|
|
780
|
-
for (var
|
|
781
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
795
|
+
for (var o in n)
|
|
796
|
+
Object.prototype.hasOwnProperty.call(n, o) && (r[o] = n[o]);
|
|
782
797
|
}
|
|
783
798
|
return r;
|
|
784
|
-
},
|
|
799
|
+
}, Q.apply(this, arguments);
|
|
785
800
|
}
|
|
786
|
-
function
|
|
801
|
+
function Ue(r, t) {
|
|
787
802
|
var n = Object.keys(r);
|
|
788
803
|
if (Object.getOwnPropertySymbols) {
|
|
789
|
-
var
|
|
790
|
-
t && (
|
|
804
|
+
var o = Object.getOwnPropertySymbols(r);
|
|
805
|
+
t && (o = o.filter(function(s) {
|
|
791
806
|
return Object.getOwnPropertyDescriptor(r, s).enumerable;
|
|
792
|
-
})), n.push.apply(n,
|
|
807
|
+
})), n.push.apply(n, o);
|
|
793
808
|
}
|
|
794
809
|
return n;
|
|
795
810
|
}
|
|
796
|
-
function
|
|
811
|
+
function ee(r) {
|
|
797
812
|
for (var t = 1; t < arguments.length; t++) {
|
|
798
813
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
799
|
-
t % 2 ?
|
|
800
|
-
|
|
801
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(n)) :
|
|
802
|
-
Object.defineProperty(r,
|
|
814
|
+
t % 2 ? Ue(Object(n), !0).forEach(function(o) {
|
|
815
|
+
bt(r, o, n[o]);
|
|
816
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(o) {
|
|
817
|
+
Object.defineProperty(r, o, Object.getOwnPropertyDescriptor(n, o));
|
|
803
818
|
});
|
|
804
819
|
}
|
|
805
820
|
return r;
|
|
806
821
|
}
|
|
807
|
-
function
|
|
808
|
-
return t =
|
|
822
|
+
function bt(r, t, n) {
|
|
823
|
+
return t = gt(t), t in r ? Object.defineProperty(r, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = n, r;
|
|
809
824
|
}
|
|
810
|
-
function
|
|
811
|
-
var t =
|
|
825
|
+
function gt(r) {
|
|
826
|
+
var t = pt(r, "string");
|
|
812
827
|
return typeof t == "symbol" ? t : t + "";
|
|
813
828
|
}
|
|
814
|
-
function
|
|
829
|
+
function pt(r, t) {
|
|
815
830
|
if (typeof r != "object" || !r)
|
|
816
831
|
return r;
|
|
817
832
|
var n = r[Symbol.toPrimitive];
|
|
818
833
|
if (n !== void 0) {
|
|
819
|
-
var
|
|
820
|
-
if (typeof
|
|
821
|
-
return
|
|
834
|
+
var o = n.call(r, t || "default");
|
|
835
|
+
if (typeof o != "object")
|
|
836
|
+
return o;
|
|
822
837
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
823
838
|
}
|
|
824
839
|
return (t === "string" ? String : Number)(r);
|
|
825
840
|
}
|
|
826
|
-
function
|
|
827
|
-
return r && r.map((t, n) => /* @__PURE__ */ D.createElement(t.tag,
|
|
841
|
+
function er(r) {
|
|
842
|
+
return r && r.map((t, n) => /* @__PURE__ */ D.createElement(t.tag, ee({
|
|
828
843
|
key: n
|
|
829
|
-
}, t.attr),
|
|
844
|
+
}, t.attr), er(t.child)));
|
|
830
845
|
}
|
|
831
|
-
function
|
|
832
|
-
return (t) => /* @__PURE__ */ D.createElement(
|
|
833
|
-
attr:
|
|
834
|
-
}, t),
|
|
846
|
+
function rr(r) {
|
|
847
|
+
return (t) => /* @__PURE__ */ D.createElement(mt, Q({
|
|
848
|
+
attr: ee({}, r.attr)
|
|
849
|
+
}, t), er(r.child));
|
|
835
850
|
}
|
|
836
|
-
function
|
|
851
|
+
function mt(r) {
|
|
837
852
|
var t = (n) => {
|
|
838
853
|
var {
|
|
839
|
-
attr:
|
|
854
|
+
attr: o,
|
|
840
855
|
size: s,
|
|
841
856
|
title: c
|
|
842
|
-
} = r,
|
|
843
|
-
return n.className && (
|
|
857
|
+
} = r, f = ft(r, dt), u = s || n.size || "1em", d;
|
|
858
|
+
return n.className && (d = n.className), r.className && (d = (d ? d + " " : "") + r.className), /* @__PURE__ */ D.createElement("svg", Q({
|
|
844
859
|
stroke: "currentColor",
|
|
845
860
|
fill: "currentColor",
|
|
846
861
|
strokeWidth: "0"
|
|
847
|
-
}, n.attr,
|
|
848
|
-
className:
|
|
849
|
-
style:
|
|
862
|
+
}, n.attr, o, f, {
|
|
863
|
+
className: d,
|
|
864
|
+
style: ee(ee({
|
|
850
865
|
color: r.color || n.color
|
|
851
866
|
}, n.style), r.style),
|
|
852
867
|
height: u,
|
|
@@ -854,47 +869,47 @@ function dt(r) {
|
|
|
854
869
|
xmlns: "http://www.w3.org/2000/svg"
|
|
855
870
|
}), c && /* @__PURE__ */ D.createElement("title", null, c), r.children);
|
|
856
871
|
};
|
|
857
|
-
return
|
|
872
|
+
return Ye !== void 0 ? /* @__PURE__ */ D.createElement(Ye.Consumer, null, (n) => t(n)) : t(Qe);
|
|
858
873
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
874
|
+
function ht(r) {
|
|
875
|
+
return rr({ tag: "svg", attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z", clipRule: "evenodd" }, child: [] }] })(r);
|
|
861
876
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
877
|
+
function xt(r) {
|
|
878
|
+
return rr({ tag: "svg", attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z", clipRule: "evenodd" }, child: [] }] })(r);
|
|
864
879
|
}
|
|
865
|
-
const
|
|
880
|
+
const tr = zr(void 0), yt = R((r, t) => {
|
|
866
881
|
const {
|
|
867
882
|
children: n,
|
|
868
|
-
onOpenChange:
|
|
883
|
+
onOpenChange: o,
|
|
869
884
|
position: s,
|
|
870
885
|
sub: c,
|
|
871
886
|
// not used
|
|
872
|
-
...
|
|
887
|
+
...f
|
|
873
888
|
} = r;
|
|
874
|
-
j(
|
|
875
|
-
const [u,
|
|
889
|
+
j(f);
|
|
890
|
+
const [u, d] = Wr(!1), b = ce(null), h = ce(), w = de(() => {
|
|
876
891
|
h.current && clearTimeout(h.current), h.current = setTimeout(() => {
|
|
877
|
-
|
|
892
|
+
d(!1);
|
|
878
893
|
}, 250);
|
|
879
|
-
}, []), k =
|
|
880
|
-
h.current && clearTimeout(h.current),
|
|
894
|
+
}, []), k = de(() => {
|
|
895
|
+
h.current && clearTimeout(h.current), d(!0);
|
|
881
896
|
}, []);
|
|
882
897
|
return /* @__PURE__ */ l.jsx(
|
|
883
|
-
|
|
898
|
+
tr.Provider,
|
|
884
899
|
{
|
|
885
900
|
value: {
|
|
886
901
|
onMenuMouseOver: k,
|
|
887
902
|
onMenuMouseLeave: w
|
|
888
903
|
},
|
|
889
904
|
children: /* @__PURE__ */ l.jsx(
|
|
890
|
-
|
|
905
|
+
O.Item,
|
|
891
906
|
{
|
|
892
907
|
className: "bn-menu-item bn-mt-sub-menu-item",
|
|
893
|
-
ref:
|
|
908
|
+
ref: ge(t, b),
|
|
894
909
|
onMouseOver: k,
|
|
895
910
|
onMouseLeave: w,
|
|
896
911
|
children: /* @__PURE__ */ l.jsx(
|
|
897
|
-
|
|
912
|
+
O,
|
|
898
913
|
{
|
|
899
914
|
portalProps: {
|
|
900
915
|
target: b.current ? b.current.parentElement : void 0
|
|
@@ -902,8 +917,8 @@ const er = Ir(void 0), bt = R((r, t) => {
|
|
|
902
917
|
middlewares: { flip: !0, shift: !0, inline: !1, size: !0 },
|
|
903
918
|
trigger: "hover",
|
|
904
919
|
opened: u,
|
|
905
|
-
onClose: () =>
|
|
906
|
-
onOpen: () =>
|
|
920
|
+
onClose: () => o == null ? void 0 : o(!1),
|
|
921
|
+
onOpen: () => o == null ? void 0 : o(!0),
|
|
907
922
|
position: s,
|
|
908
923
|
children: n
|
|
909
924
|
}
|
|
@@ -912,90 +927,90 @@ const er = Ir(void 0), bt = R((r, t) => {
|
|
|
912
927
|
)
|
|
913
928
|
}
|
|
914
929
|
);
|
|
915
|
-
}),
|
|
916
|
-
const { children: t, onOpenChange: n, position:
|
|
917
|
-
return j(c), s ? /* @__PURE__ */ l.jsx(
|
|
918
|
-
|
|
930
|
+
}), jt = (r) => {
|
|
931
|
+
const { children: t, onOpenChange: n, position: o, sub: s, ...c } = r;
|
|
932
|
+
return j(c), s ? /* @__PURE__ */ l.jsx(yt, { ...r }) : /* @__PURE__ */ l.jsx(
|
|
933
|
+
O,
|
|
919
934
|
{
|
|
920
935
|
withinPortal: !1,
|
|
921
936
|
middlewares: { flip: !0, shift: !0, inline: !1, size: !0 },
|
|
922
937
|
onClose: () => n == null ? void 0 : n(!1),
|
|
923
938
|
onOpen: () => n == null ? void 0 : n(!0),
|
|
924
|
-
position:
|
|
939
|
+
position: o,
|
|
925
940
|
children: t
|
|
926
941
|
}
|
|
927
942
|
);
|
|
928
|
-
},
|
|
929
|
-
const { className: n, children:
|
|
930
|
-
return j(
|
|
931
|
-
|
|
932
|
-
/* @__PURE__ */ l.jsx(
|
|
943
|
+
}, Rt = R((r, t) => {
|
|
944
|
+
const { className: n, children: o, icon: s, checked: c, subTrigger: f, onClick: u, ...d } = r;
|
|
945
|
+
return j(d, !1), f ? /* @__PURE__ */ l.jsxs("div", { ref: t, ...d, children: [
|
|
946
|
+
o,
|
|
947
|
+
/* @__PURE__ */ l.jsx(xt, { size: 15 })
|
|
933
948
|
] }) : /* @__PURE__ */ l.jsx(
|
|
934
|
-
|
|
949
|
+
O.Item,
|
|
935
950
|
{
|
|
936
951
|
className: n,
|
|
937
952
|
ref: t,
|
|
938
953
|
leftSection: s,
|
|
939
|
-
rightSection: c ? /* @__PURE__ */ l.jsx(
|
|
954
|
+
rightSection: c ? /* @__PURE__ */ l.jsx(qe, { size: 10 }) : c === !1 ? /* @__PURE__ */ l.jsx("div", { className: "bn-tick-space" }) : null,
|
|
940
955
|
onClick: u,
|
|
941
|
-
...
|
|
942
|
-
children:
|
|
956
|
+
...d,
|
|
957
|
+
children: o
|
|
943
958
|
}
|
|
944
959
|
);
|
|
945
|
-
}),
|
|
960
|
+
}), Et = (r) => {
|
|
946
961
|
const {
|
|
947
962
|
children: t,
|
|
948
963
|
sub: n,
|
|
949
964
|
// unused
|
|
950
|
-
...
|
|
965
|
+
...o
|
|
951
966
|
} = r;
|
|
952
|
-
return j(
|
|
953
|
-
},
|
|
967
|
+
return j(o), /* @__PURE__ */ l.jsx(O.Target, { children: t });
|
|
968
|
+
}, Tt = R((r, t) => {
|
|
954
969
|
const {
|
|
955
970
|
className: n,
|
|
956
|
-
children:
|
|
971
|
+
children: o,
|
|
957
972
|
sub: s,
|
|
958
973
|
//unused
|
|
959
974
|
...c
|
|
960
975
|
} = r;
|
|
961
976
|
j(c);
|
|
962
|
-
const
|
|
977
|
+
const f = Br(tr);
|
|
963
978
|
return /* @__PURE__ */ l.jsx(
|
|
964
|
-
|
|
979
|
+
O.Dropdown,
|
|
965
980
|
{
|
|
966
981
|
className: n,
|
|
967
982
|
ref: t,
|
|
968
|
-
onMouseOver:
|
|
969
|
-
onMouseLeave:
|
|
970
|
-
children:
|
|
983
|
+
onMouseOver: f == null ? void 0 : f.onMenuMouseOver,
|
|
984
|
+
onMouseLeave: f == null ? void 0 : f.onMenuMouseLeave,
|
|
985
|
+
children: o
|
|
971
986
|
}
|
|
972
987
|
);
|
|
973
|
-
}),
|
|
974
|
-
const { className: n, ...
|
|
975
|
-
return j(
|
|
976
|
-
}),
|
|
977
|
-
const { className: n, children:
|
|
978
|
-
return j(s), /* @__PURE__ */ l.jsx(
|
|
979
|
-
}),
|
|
988
|
+
}), wt = R((r, t) => {
|
|
989
|
+
const { className: n, ...o } = r;
|
|
990
|
+
return j(o), /* @__PURE__ */ l.jsx(O.Divider, { className: n, ref: t });
|
|
991
|
+
}), kt = R((r, t) => {
|
|
992
|
+
const { className: n, children: o, ...s } = r;
|
|
993
|
+
return j(s), /* @__PURE__ */ l.jsx(O.Label, { className: n, ref: t, children: o });
|
|
994
|
+
}), St = R((r, t) => {
|
|
980
995
|
const {
|
|
981
996
|
className: n,
|
|
982
|
-
tabs:
|
|
997
|
+
tabs: o,
|
|
983
998
|
defaultOpenTab: s,
|
|
984
999
|
openTab: c,
|
|
985
|
-
setOpenTab:
|
|
1000
|
+
setOpenTab: f,
|
|
986
1001
|
loading: u,
|
|
987
|
-
...
|
|
1002
|
+
...d
|
|
988
1003
|
} = r;
|
|
989
|
-
return j(
|
|
990
|
-
|
|
1004
|
+
return j(d), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children: /* @__PURE__ */ l.jsxs(
|
|
1005
|
+
X,
|
|
991
1006
|
{
|
|
992
1007
|
value: c,
|
|
993
1008
|
defaultValue: s,
|
|
994
|
-
onChange:
|
|
1009
|
+
onChange: f,
|
|
995
1010
|
children: [
|
|
996
|
-
u && /* @__PURE__ */ l.jsx(
|
|
997
|
-
/* @__PURE__ */ l.jsx(
|
|
998
|
-
|
|
1011
|
+
u && /* @__PURE__ */ l.jsx(Hr, { visible: u }),
|
|
1012
|
+
/* @__PURE__ */ l.jsx(X.List, { children: o.map((b) => /* @__PURE__ */ l.jsx(
|
|
1013
|
+
X.Tab,
|
|
999
1014
|
{
|
|
1000
1015
|
"data-test": `${b.name.toLowerCase()}-tab`,
|
|
1001
1016
|
value: b.name,
|
|
@@ -1003,83 +1018,83 @@ const er = Ir(void 0), bt = R((r, t) => {
|
|
|
1003
1018
|
},
|
|
1004
1019
|
b.name
|
|
1005
1020
|
)) }),
|
|
1006
|
-
|
|
1021
|
+
o.map((b) => /* @__PURE__ */ l.jsx(X.Panel, { value: b.name, children: b.tabPanel }, b.name))
|
|
1007
1022
|
]
|
|
1008
1023
|
}
|
|
1009
1024
|
) });
|
|
1010
|
-
}),
|
|
1011
|
-
const { className: n, children:
|
|
1012
|
-
return j(
|
|
1013
|
-
|
|
1025
|
+
}), Pt = R((r, t) => {
|
|
1026
|
+
const { className: n, children: o, onClick: s, label: c, ...f } = r;
|
|
1027
|
+
return j(f), /* @__PURE__ */ l.jsx(
|
|
1028
|
+
U,
|
|
1014
1029
|
{
|
|
1015
1030
|
size: "xs",
|
|
1016
1031
|
"aria-label": c,
|
|
1017
1032
|
className: n,
|
|
1018
1033
|
ref: t,
|
|
1019
1034
|
onClick: s,
|
|
1020
|
-
...
|
|
1021
|
-
children:
|
|
1035
|
+
...f,
|
|
1036
|
+
children: o
|
|
1022
1037
|
}
|
|
1023
1038
|
);
|
|
1024
|
-
}),
|
|
1025
|
-
const { className: n, accept:
|
|
1039
|
+
}), _t = R((r, t) => {
|
|
1040
|
+
const { className: n, accept: o, value: s, placeholder: c, onChange: f, ...u } = r;
|
|
1026
1041
|
return j(u), /* @__PURE__ */ l.jsx(
|
|
1027
|
-
|
|
1042
|
+
Jr,
|
|
1028
1043
|
{
|
|
1029
1044
|
size: "xs",
|
|
1030
1045
|
className: n,
|
|
1031
1046
|
ref: t,
|
|
1032
|
-
accept:
|
|
1047
|
+
accept: o,
|
|
1033
1048
|
value: s,
|
|
1034
1049
|
placeholder: c,
|
|
1035
|
-
onChange:
|
|
1050
|
+
onChange: f,
|
|
1036
1051
|
...u
|
|
1037
1052
|
}
|
|
1038
1053
|
);
|
|
1039
|
-
}),
|
|
1040
|
-
const { className: n, children:
|
|
1041
|
-
return j(s), /* @__PURE__ */ l.jsx("div", { className: n, ref: t, children:
|
|
1042
|
-
}),
|
|
1043
|
-
const { className: n, value:
|
|
1054
|
+
}), Ct = R((r, t) => {
|
|
1055
|
+
const { className: n, children: o, ...s } = r;
|
|
1056
|
+
return j(s), /* @__PURE__ */ l.jsx("div", { className: n, ref: t, children: o });
|
|
1057
|
+
}), Ot = R((r, t) => {
|
|
1058
|
+
const { className: n, value: o, placeholder: s, onKeyDown: c, onChange: f, ...u } = r;
|
|
1044
1059
|
return j(u), /* @__PURE__ */ l.jsx(
|
|
1045
|
-
|
|
1060
|
+
Je,
|
|
1046
1061
|
{
|
|
1047
1062
|
size: "xs",
|
|
1048
1063
|
"data-test": "embed-input",
|
|
1049
1064
|
className: n,
|
|
1050
1065
|
ref: t,
|
|
1051
|
-
value:
|
|
1066
|
+
value: o,
|
|
1052
1067
|
placeholder: s,
|
|
1053
1068
|
onKeyDown: c,
|
|
1054
|
-
onChange:
|
|
1069
|
+
onChange: f
|
|
1055
1070
|
}
|
|
1056
1071
|
);
|
|
1057
|
-
}),
|
|
1058
|
-
const { children: t, opened: n, position:
|
|
1072
|
+
}), Ft = (r) => {
|
|
1073
|
+
const { children: t, opened: n, position: o, ...s } = r;
|
|
1059
1074
|
return j(s), /* @__PURE__ */ l.jsx(
|
|
1060
|
-
|
|
1075
|
+
qr,
|
|
1061
1076
|
{
|
|
1062
1077
|
withinPortal: !1,
|
|
1063
1078
|
zIndex: 1e4,
|
|
1064
1079
|
opened: n,
|
|
1065
|
-
position:
|
|
1080
|
+
position: o,
|
|
1066
1081
|
children: t
|
|
1067
1082
|
}
|
|
1068
1083
|
);
|
|
1069
|
-
},
|
|
1084
|
+
}, Dt = (r) => {
|
|
1070
1085
|
const { children: t, ...n } = r;
|
|
1071
|
-
return j(n), /* @__PURE__ */ l.jsx(
|
|
1072
|
-
},
|
|
1086
|
+
return j(n), /* @__PURE__ */ l.jsx(Xr, { children: t });
|
|
1087
|
+
}, Nt = R((r, t) => {
|
|
1073
1088
|
const {
|
|
1074
1089
|
className: n,
|
|
1075
|
-
children:
|
|
1090
|
+
children: o,
|
|
1076
1091
|
variant: s,
|
|
1077
1092
|
// unused
|
|
1078
1093
|
...c
|
|
1079
1094
|
} = r;
|
|
1080
|
-
return j(c), /* @__PURE__ */ l.jsx(
|
|
1081
|
-
}),
|
|
1082
|
-
const { className: n, children:
|
|
1095
|
+
return j(c), /* @__PURE__ */ l.jsx(Zr, { className: n, ref: t, children: o });
|
|
1096
|
+
}), Mt = R((r, t) => {
|
|
1097
|
+
const { className: n, children: o, ...s } = r;
|
|
1083
1098
|
return j(s, !1), /* @__PURE__ */ l.jsx(
|
|
1084
1099
|
N,
|
|
1085
1100
|
{
|
|
@@ -1088,77 +1103,84 @@ const er = Ir(void 0), bt = R((r, t) => {
|
|
|
1088
1103
|
className: n,
|
|
1089
1104
|
ref: t,
|
|
1090
1105
|
...s,
|
|
1091
|
-
children:
|
|
1106
|
+
children: o
|
|
1092
1107
|
}
|
|
1093
1108
|
);
|
|
1094
|
-
}),
|
|
1109
|
+
}), It = R((r, t) => {
|
|
1095
1110
|
const {
|
|
1096
1111
|
className: n,
|
|
1097
|
-
children:
|
|
1112
|
+
children: o,
|
|
1098
1113
|
icon: s,
|
|
1099
1114
|
onClick: c,
|
|
1100
|
-
onDragEnd:
|
|
1115
|
+
onDragEnd: f,
|
|
1101
1116
|
onDragStart: u,
|
|
1102
|
-
draggable:
|
|
1117
|
+
draggable: d,
|
|
1103
1118
|
label: b,
|
|
1104
1119
|
...h
|
|
1105
1120
|
} = r;
|
|
1106
1121
|
return j(h, !1), s ? /* @__PURE__ */ l.jsx(
|
|
1107
|
-
|
|
1122
|
+
Xe,
|
|
1108
1123
|
{
|
|
1109
1124
|
size: 24,
|
|
1110
1125
|
className: n,
|
|
1111
1126
|
ref: t,
|
|
1112
1127
|
onClick: c,
|
|
1113
|
-
onDragEnd:
|
|
1128
|
+
onDragEnd: f,
|
|
1114
1129
|
onDragStart: u,
|
|
1115
|
-
draggable:
|
|
1130
|
+
draggable: d,
|
|
1116
1131
|
"aria-label": b,
|
|
1117
1132
|
...h,
|
|
1118
1133
|
children: s
|
|
1119
1134
|
}
|
|
1120
1135
|
) : /* @__PURE__ */ l.jsx(
|
|
1121
|
-
|
|
1136
|
+
U,
|
|
1122
1137
|
{
|
|
1123
1138
|
className: n,
|
|
1124
1139
|
ref: t,
|
|
1125
1140
|
onClick: c,
|
|
1126
|
-
onDragEnd:
|
|
1141
|
+
onDragEnd: f,
|
|
1127
1142
|
onDragStart: u,
|
|
1128
|
-
draggable:
|
|
1143
|
+
draggable: d,
|
|
1129
1144
|
"aria-label": b,
|
|
1130
1145
|
...h,
|
|
1131
|
-
children:
|
|
1146
|
+
children: o
|
|
1132
1147
|
}
|
|
1133
1148
|
);
|
|
1134
|
-
}),
|
|
1135
|
-
const { className: n, children:
|
|
1149
|
+
}), Lt = R((r, t) => {
|
|
1150
|
+
const { className: n, children: o, id: s, ...c } = r;
|
|
1136
1151
|
return j(c), /* @__PURE__ */ l.jsx(
|
|
1137
|
-
|
|
1152
|
+
be,
|
|
1138
1153
|
{
|
|
1139
1154
|
gap: 0,
|
|
1140
1155
|
className: n,
|
|
1141
1156
|
ref: t,
|
|
1142
1157
|
id: s,
|
|
1143
1158
|
role: "listbox",
|
|
1144
|
-
children:
|
|
1159
|
+
children: o
|
|
1145
1160
|
}
|
|
1146
1161
|
);
|
|
1147
|
-
}),
|
|
1148
|
-
const { className: n, children:
|
|
1149
|
-
return j(s), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children: /* @__PURE__ */ l.jsx(N, { className: "bn-mt-suggestion-menu-item-
|
|
1150
|
-
}),
|
|
1151
|
-
const { className: n, isSelected:
|
|
1152
|
-
|
|
1162
|
+
}), At = R((r, t) => {
|
|
1163
|
+
const { className: n, children: o, ...s } = r;
|
|
1164
|
+
return j(s), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children: /* @__PURE__ */ l.jsx(N, { className: "bn-mt-suggestion-menu-item-title", children: o }) });
|
|
1165
|
+
}), $t = R((r, t) => {
|
|
1166
|
+
const { className: n, isSelected: o, onClick: s, item: c, id: f, ...u } = r;
|
|
1167
|
+
j(u);
|
|
1168
|
+
const d = ce(null);
|
|
1169
|
+
return Vr(() => {
|
|
1170
|
+
if (!d.current || !o)
|
|
1171
|
+
return;
|
|
1172
|
+
const b = Yr(d.current);
|
|
1173
|
+
b === "top" ? d.current.scrollIntoView(!0) : b === "bottom" && d.current.scrollIntoView(!1);
|
|
1174
|
+
}, [o]), /* @__PURE__ */ l.jsxs(
|
|
1153
1175
|
N,
|
|
1154
1176
|
{
|
|
1155
1177
|
gap: 0,
|
|
1156
1178
|
className: n,
|
|
1157
|
-
ref: t,
|
|
1158
|
-
id:
|
|
1179
|
+
ref: ge(t, d),
|
|
1180
|
+
id: f,
|
|
1159
1181
|
role: "option",
|
|
1160
1182
|
onClick: s,
|
|
1161
|
-
"aria-selected":
|
|
1183
|
+
"aria-selected": o || void 0,
|
|
1162
1184
|
children: [
|
|
1163
1185
|
c.icon && /* @__PURE__ */ l.jsx(
|
|
1164
1186
|
N,
|
|
@@ -1168,62 +1190,62 @@ const er = Ir(void 0), bt = R((r, t) => {
|
|
|
1168
1190
|
children: c.icon
|
|
1169
1191
|
}
|
|
1170
1192
|
),
|
|
1171
|
-
/* @__PURE__ */ l.jsxs(
|
|
1172
|
-
/* @__PURE__ */ l.jsx(
|
|
1173
|
-
/* @__PURE__ */ l.jsx(
|
|
1193
|
+
/* @__PURE__ */ l.jsxs(be, { gap: 0, className: "bn-mt-suggestion-menu-item-body", children: [
|
|
1194
|
+
/* @__PURE__ */ l.jsx(Z, { className: "bn-mt-suggestion-menu-item-title", children: c.title }),
|
|
1195
|
+
/* @__PURE__ */ l.jsx(Z, { className: "bn-mt-suggestion-menu-item-subtitle", children: c.subtext })
|
|
1174
1196
|
] }),
|
|
1175
1197
|
c.badge && /* @__PURE__ */ l.jsx(
|
|
1176
1198
|
N,
|
|
1177
1199
|
{
|
|
1178
1200
|
"data-position": "right",
|
|
1179
1201
|
className: "bn-mt-suggestion-menu-item-section",
|
|
1180
|
-
children: /* @__PURE__ */ l.jsx(
|
|
1202
|
+
children: /* @__PURE__ */ l.jsx(Qr, { size: "xs", children: c.badge })
|
|
1181
1203
|
}
|
|
1182
1204
|
)
|
|
1183
1205
|
]
|
|
1184
1206
|
}
|
|
1185
1207
|
);
|
|
1186
|
-
}),
|
|
1187
|
-
const { className: n, children:
|
|
1188
|
-
return j(s), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children:
|
|
1189
|
-
}),
|
|
1208
|
+
}), zt = R((r, t) => {
|
|
1209
|
+
const { className: n, children: o, ...s } = r;
|
|
1210
|
+
return j(s), /* @__PURE__ */ l.jsx(N, { className: n, ref: t, children: o });
|
|
1211
|
+
}), Wt = R((r, t) => {
|
|
1190
1212
|
const {
|
|
1191
1213
|
className: n,
|
|
1192
|
-
children:
|
|
1214
|
+
children: o,
|
|
1193
1215
|
// unused, using "dots" instead
|
|
1194
1216
|
...s
|
|
1195
1217
|
} = r;
|
|
1196
|
-
return j(s), /* @__PURE__ */ l.jsx(
|
|
1197
|
-
}),
|
|
1218
|
+
return j(s), /* @__PURE__ */ l.jsx(et, { className: n, type: "dots", ref: t });
|
|
1219
|
+
}), Bt = R((r, t) => {
|
|
1198
1220
|
const {
|
|
1199
1221
|
className: n,
|
|
1200
|
-
children:
|
|
1222
|
+
children: o,
|
|
1201
1223
|
draggable: s,
|
|
1202
1224
|
onDragStart: c,
|
|
1203
|
-
onDragEnd:
|
|
1225
|
+
onDragEnd: f,
|
|
1204
1226
|
style: u,
|
|
1205
|
-
label:
|
|
1227
|
+
label: d,
|
|
1206
1228
|
...b
|
|
1207
1229
|
} = r;
|
|
1208
1230
|
return j(b, !1), /* @__PURE__ */ l.jsx(
|
|
1209
|
-
|
|
1231
|
+
U,
|
|
1210
1232
|
{
|
|
1211
1233
|
className: n,
|
|
1212
1234
|
ref: t,
|
|
1213
|
-
"aria-label":
|
|
1235
|
+
"aria-label": d,
|
|
1214
1236
|
draggable: s,
|
|
1215
1237
|
onDragStart: c,
|
|
1216
|
-
onDragEnd:
|
|
1238
|
+
onDragEnd: f,
|
|
1217
1239
|
style: u,
|
|
1218
1240
|
...b,
|
|
1219
|
-
children:
|
|
1241
|
+
children: o
|
|
1220
1242
|
}
|
|
1221
1243
|
);
|
|
1222
|
-
}),
|
|
1244
|
+
}), Ke = R(
|
|
1223
1245
|
(r, t) => {
|
|
1224
|
-
const { className: n, children:
|
|
1225
|
-
j(
|
|
1226
|
-
const { ref: u, focused:
|
|
1246
|
+
const { className: n, children: o, onMouseEnter: s, onMouseLeave: c, ...f } = r;
|
|
1247
|
+
j(f);
|
|
1248
|
+
const { ref: u, focused: d } = ot(), b = at(d), h = ge(t, u, b);
|
|
1227
1249
|
return /* @__PURE__ */ l.jsx(
|
|
1228
1250
|
N,
|
|
1229
1251
|
{
|
|
@@ -1232,84 +1254,84 @@ const er = Ir(void 0), bt = R((r, t) => {
|
|
|
1232
1254
|
role: "toolbar",
|
|
1233
1255
|
onMouseEnter: s,
|
|
1234
1256
|
onMouseLeave: c,
|
|
1235
|
-
children:
|
|
1257
|
+
children: o
|
|
1236
1258
|
}
|
|
1237
1259
|
);
|
|
1238
1260
|
}
|
|
1239
|
-
),
|
|
1240
|
-
/* @__PURE__ */ l.jsx(
|
|
1241
|
-
r.secondaryTooltip && /* @__PURE__ */ l.jsx(
|
|
1242
|
-
] }),
|
|
1261
|
+
), Vt = (r) => /* @__PURE__ */ l.jsxs(be, { gap: 0, className: "bn-tooltip", children: [
|
|
1262
|
+
/* @__PURE__ */ l.jsx(Z, { size: "sm", children: r.mainTooltip }),
|
|
1263
|
+
r.secondaryTooltip && /* @__PURE__ */ l.jsx(Z, { size: "xs", children: r.secondaryTooltip })
|
|
1264
|
+
] }), Ge = R(
|
|
1243
1265
|
(r, t) => {
|
|
1244
1266
|
const {
|
|
1245
1267
|
className: n,
|
|
1246
|
-
children:
|
|
1268
|
+
children: o,
|
|
1247
1269
|
mainTooltip: s,
|
|
1248
1270
|
secondaryTooltip: c,
|
|
1249
|
-
icon:
|
|
1271
|
+
icon: f,
|
|
1250
1272
|
isSelected: u,
|
|
1251
|
-
isDisabled:
|
|
1273
|
+
isDisabled: d,
|
|
1252
1274
|
onClick: b,
|
|
1253
1275
|
label: h,
|
|
1254
1276
|
...w
|
|
1255
1277
|
} = r;
|
|
1256
1278
|
return j(w, !1), /* @__PURE__ */ l.jsx(
|
|
1257
|
-
|
|
1279
|
+
rt,
|
|
1258
1280
|
{
|
|
1259
1281
|
withinPortal: !1,
|
|
1260
1282
|
label: /* @__PURE__ */ l.jsx(
|
|
1261
|
-
|
|
1283
|
+
Vt,
|
|
1262
1284
|
{
|
|
1263
1285
|
mainTooltip: s,
|
|
1264
1286
|
secondaryTooltip: c
|
|
1265
1287
|
}
|
|
1266
1288
|
),
|
|
1267
|
-
children:
|
|
1268
|
-
|
|
1289
|
+
children: o ? /* @__PURE__ */ l.jsx(
|
|
1290
|
+
U,
|
|
1269
1291
|
{
|
|
1270
1292
|
"aria-label": h,
|
|
1271
1293
|
className: n,
|
|
1272
1294
|
onMouseDown: (k) => {
|
|
1273
|
-
|
|
1295
|
+
fe() && k.currentTarget.focus();
|
|
1274
1296
|
},
|
|
1275
1297
|
onClick: b,
|
|
1276
1298
|
"aria-pressed": u,
|
|
1277
1299
|
"data-selected": u || void 0,
|
|
1278
1300
|
"data-test": s.slice(0, 1).toLowerCase() + s.replace(/\s+/g, "").slice(1),
|
|
1279
1301
|
size: "xs",
|
|
1280
|
-
disabled:
|
|
1302
|
+
disabled: d || !1,
|
|
1281
1303
|
ref: t,
|
|
1282
1304
|
...w,
|
|
1283
|
-
children:
|
|
1305
|
+
children: o
|
|
1284
1306
|
}
|
|
1285
1307
|
) : /* @__PURE__ */ l.jsx(
|
|
1286
|
-
|
|
1308
|
+
Xe,
|
|
1287
1309
|
{
|
|
1288
1310
|
className: n,
|
|
1289
1311
|
"aria-label": h,
|
|
1290
1312
|
onMouseDown: (k) => {
|
|
1291
|
-
|
|
1313
|
+
fe() && k.currentTarget.focus();
|
|
1292
1314
|
},
|
|
1293
1315
|
onClick: b,
|
|
1294
1316
|
"aria-pressed": u,
|
|
1295
1317
|
"data-selected": u || void 0,
|
|
1296
1318
|
"data-test": s.slice(0, 1).toLowerCase() + s.replace(/\s+/g, "").slice(1),
|
|
1297
1319
|
size: 30,
|
|
1298
|
-
disabled:
|
|
1320
|
+
disabled: d || !1,
|
|
1299
1321
|
ref: t,
|
|
1300
1322
|
...w,
|
|
1301
|
-
children:
|
|
1323
|
+
children: f
|
|
1302
1324
|
}
|
|
1303
1325
|
)
|
|
1304
1326
|
}
|
|
1305
1327
|
);
|
|
1306
1328
|
}
|
|
1307
|
-
),
|
|
1308
|
-
const { className: n, items:
|
|
1329
|
+
), Yt = R((r, t) => {
|
|
1330
|
+
const { className: n, items: o, isDisabled: s, ...c } = r;
|
|
1309
1331
|
j(c);
|
|
1310
|
-
const
|
|
1311
|
-
return
|
|
1312
|
-
|
|
1332
|
+
const f = o.filter((u) => u.isSelected)[0];
|
|
1333
|
+
return f ? /* @__PURE__ */ l.jsxs(
|
|
1334
|
+
O,
|
|
1313
1335
|
{
|
|
1314
1336
|
withinPortal: !1,
|
|
1315
1337
|
transitionProps: {
|
|
@@ -1318,26 +1340,26 @@ const er = Ir(void 0), bt = R((r, t) => {
|
|
|
1318
1340
|
disabled: s,
|
|
1319
1341
|
middlewares: { flip: !0, shift: !0, inline: !1, size: !0 },
|
|
1320
1342
|
children: [
|
|
1321
|
-
/* @__PURE__ */ l.jsx(
|
|
1322
|
-
|
|
1343
|
+
/* @__PURE__ */ l.jsx(O.Target, { children: /* @__PURE__ */ l.jsx(
|
|
1344
|
+
U,
|
|
1323
1345
|
{
|
|
1324
1346
|
onMouseDown: (u) => {
|
|
1325
|
-
|
|
1347
|
+
fe() && u.currentTarget.focus();
|
|
1326
1348
|
},
|
|
1327
|
-
leftSection:
|
|
1328
|
-
rightSection: /* @__PURE__ */ l.jsx(
|
|
1349
|
+
leftSection: f.icon,
|
|
1350
|
+
rightSection: /* @__PURE__ */ l.jsx(ht, {}),
|
|
1329
1351
|
size: "xs",
|
|
1330
1352
|
variant: "subtle",
|
|
1331
1353
|
disabled: s,
|
|
1332
|
-
children:
|
|
1354
|
+
children: f.text
|
|
1333
1355
|
}
|
|
1334
1356
|
) }),
|
|
1335
|
-
/* @__PURE__ */ l.jsx(
|
|
1336
|
-
|
|
1357
|
+
/* @__PURE__ */ l.jsx(O.Dropdown, { className: n, ref: t, children: o.map((u) => /* @__PURE__ */ l.jsx(
|
|
1358
|
+
O.Item,
|
|
1337
1359
|
{
|
|
1338
1360
|
onClick: u.onClick,
|
|
1339
1361
|
leftSection: u.icon,
|
|
1340
|
-
rightSection: u.isSelected ? /* @__PURE__ */ l.jsx(
|
|
1362
|
+
rightSection: u.isSelected ? /* @__PURE__ */ l.jsx(qe, { size: 10, className: "bn-tick-icon" }) : (
|
|
1341
1363
|
// Ensures space for tick even if item isn't currently selected.
|
|
1342
1364
|
/* @__PURE__ */ l.jsx("div", { className: "bn-tick-space" })
|
|
1343
1365
|
),
|
|
@@ -1361,7 +1383,7 @@ const x = [
|
|
|
1361
1383
|
"#161616",
|
|
1362
1384
|
"#0F0F0F",
|
|
1363
1385
|
"#000000"
|
|
1364
|
-
],
|
|
1386
|
+
], He = {
|
|
1365
1387
|
colors: {
|
|
1366
1388
|
editor: {
|
|
1367
1389
|
text: x[5],
|
|
@@ -1431,7 +1453,7 @@ const x = [
|
|
|
1431
1453
|
},
|
|
1432
1454
|
borderRadius: 6,
|
|
1433
1455
|
fontFamily: '"Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif'
|
|
1434
|
-
},
|
|
1456
|
+
}, Qt = {
|
|
1435
1457
|
colors: {
|
|
1436
1458
|
editor: {
|
|
1437
1459
|
text: x[2],
|
|
@@ -1499,103 +1521,103 @@ const x = [
|
|
|
1499
1521
|
}
|
|
1500
1522
|
}
|
|
1501
1523
|
},
|
|
1502
|
-
borderRadius:
|
|
1503
|
-
fontFamily:
|
|
1504
|
-
},
|
|
1524
|
+
borderRadius: He.borderRadius,
|
|
1525
|
+
fontFamily: He.fontFamily
|
|
1526
|
+
}, Ut = {
|
|
1505
1527
|
FormattingToolbar: {
|
|
1506
|
-
Root:
|
|
1507
|
-
Button:
|
|
1508
|
-
Select:
|
|
1528
|
+
Root: Ke,
|
|
1529
|
+
Button: Ge,
|
|
1530
|
+
Select: Yt
|
|
1509
1531
|
},
|
|
1510
1532
|
FilePanel: {
|
|
1511
|
-
Root:
|
|
1512
|
-
Button:
|
|
1513
|
-
FileInput:
|
|
1514
|
-
TabPanel:
|
|
1515
|
-
TextInput:
|
|
1533
|
+
Root: St,
|
|
1534
|
+
Button: Pt,
|
|
1535
|
+
FileInput: _t,
|
|
1536
|
+
TabPanel: Ct,
|
|
1537
|
+
TextInput: Ot
|
|
1516
1538
|
},
|
|
1517
1539
|
LinkToolbar: {
|
|
1518
|
-
Root:
|
|
1519
|
-
Button:
|
|
1540
|
+
Root: Ke,
|
|
1541
|
+
Button: Ge
|
|
1520
1542
|
},
|
|
1521
1543
|
SideMenu: {
|
|
1522
|
-
Root:
|
|
1523
|
-
Button:
|
|
1544
|
+
Root: Mt,
|
|
1545
|
+
Button: It
|
|
1524
1546
|
},
|
|
1525
1547
|
SuggestionMenu: {
|
|
1526
|
-
Root:
|
|
1527
|
-
Item:
|
|
1528
|
-
EmptyItem:
|
|
1529
|
-
Label:
|
|
1530
|
-
Loader:
|
|
1548
|
+
Root: Lt,
|
|
1549
|
+
Item: $t,
|
|
1550
|
+
EmptyItem: At,
|
|
1551
|
+
Label: zt,
|
|
1552
|
+
Loader: Wt
|
|
1531
1553
|
},
|
|
1532
1554
|
TableHandle: {
|
|
1533
|
-
Root:
|
|
1555
|
+
Root: Bt
|
|
1534
1556
|
},
|
|
1535
1557
|
Generic: {
|
|
1536
1558
|
Form: {
|
|
1537
1559
|
Root: (r) => /* @__PURE__ */ l.jsx("div", { children: r.children }),
|
|
1538
|
-
TextInput:
|
|
1560
|
+
TextInput: ct
|
|
1539
1561
|
},
|
|
1540
1562
|
Menu: {
|
|
1541
|
-
Root:
|
|
1542
|
-
Trigger:
|
|
1543
|
-
Dropdown:
|
|
1544
|
-
Divider:
|
|
1545
|
-
Label:
|
|
1546
|
-
Item:
|
|
1563
|
+
Root: jt,
|
|
1564
|
+
Trigger: Et,
|
|
1565
|
+
Dropdown: Tt,
|
|
1566
|
+
Divider: wt,
|
|
1567
|
+
Label: kt,
|
|
1568
|
+
Item: Rt
|
|
1547
1569
|
},
|
|
1548
1570
|
Popover: {
|
|
1549
|
-
Root:
|
|
1550
|
-
Trigger:
|
|
1551
|
-
Content:
|
|
1571
|
+
Root: Ft,
|
|
1572
|
+
Trigger: Dt,
|
|
1573
|
+
Content: Nt
|
|
1552
1574
|
}
|
|
1553
1575
|
}
|
|
1554
|
-
},
|
|
1576
|
+
}, Kt = {
|
|
1555
1577
|
// Removes button press effect
|
|
1556
1578
|
activeClassName: ""
|
|
1557
|
-
},
|
|
1558
|
-
const { theme: t, ...n } = r,
|
|
1579
|
+
}, en = (r) => {
|
|
1580
|
+
const { theme: t, ...n } = r, o = Ur(), s = nt(), c = (o == null ? void 0 : o.colorSchemePreference) || s, f = de(
|
|
1559
1581
|
(u) => {
|
|
1560
|
-
if (u && (
|
|
1582
|
+
if (u && (ut(u), typeof t == "object")) {
|
|
1561
1583
|
if ("light" in t && "dark" in t) {
|
|
1562
|
-
|
|
1584
|
+
Ve(
|
|
1563
1585
|
t[c === "dark" ? "dark" : "light"],
|
|
1564
1586
|
u
|
|
1565
1587
|
);
|
|
1566
1588
|
return;
|
|
1567
1589
|
}
|
|
1568
|
-
|
|
1590
|
+
Ve(t, u);
|
|
1569
1591
|
return;
|
|
1570
1592
|
}
|
|
1571
1593
|
},
|
|
1572
1594
|
[c, t]
|
|
1573
1595
|
);
|
|
1574
|
-
return /* @__PURE__ */ l.jsx(
|
|
1575
|
-
|
|
1596
|
+
return /* @__PURE__ */ l.jsx(Kr.Provider, { value: Ut, children: /* @__PURE__ */ l.jsx(
|
|
1597
|
+
tt,
|
|
1576
1598
|
{
|
|
1577
|
-
theme:
|
|
1599
|
+
theme: Kt,
|
|
1578
1600
|
cssVariablesSelector: ".bn-container",
|
|
1579
1601
|
getRootElement: () => {
|
|
1580
1602
|
},
|
|
1581
1603
|
children: /* @__PURE__ */ l.jsx(
|
|
1582
|
-
|
|
1604
|
+
Gr,
|
|
1583
1605
|
{
|
|
1584
1606
|
theme: typeof t == "object" ? void 0 : t,
|
|
1585
1607
|
...n,
|
|
1586
|
-
ref:
|
|
1608
|
+
ref: f
|
|
1587
1609
|
}
|
|
1588
1610
|
)
|
|
1589
1611
|
}
|
|
1590
1612
|
) });
|
|
1591
1613
|
};
|
|
1592
1614
|
export {
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1615
|
+
en as BlockNoteView,
|
|
1616
|
+
Ve as applyBlockNoteCSSVariablesFromTheme,
|
|
1617
|
+
Ut as components,
|
|
1618
|
+
Qt as darkDefaultTheme,
|
|
1597
1619
|
x as defaultColorScheme,
|
|
1598
|
-
|
|
1599
|
-
|
|
1620
|
+
He as lightDefaultTheme,
|
|
1621
|
+
ut as removeBlockNoteCSSVariables
|
|
1600
1622
|
};
|
|
1601
1623
|
//# sourceMappingURL=blocknote-mantine.js.map
|