react-align 2.2.1 → 2.2.3
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/index.d.ts +16 -39
- package/dist/react-align.mjs +696 -921
- package/dist/react-align.umd.js +13 -26
- package/package.json +31 -16
- package/src/GridArea.tsx +1 -1
- package/src/Icon/icons.ts +11 -11
- package/src/Icon/index.tsx +3 -1
- package/src/env.d.ts +8 -0
- package/dist/env.d.ts +0 -2
package/dist/react-align.mjs
CHANGED
|
@@ -1,170 +1,148 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(".reactalign.wrapper{height:100%;display:flex;justify-content:space-between}.reactalign .section{display:flex;flex-direction:column;justify-content:space-between}.reactalign .area{display:flex;border:0 solid transparent;box-sizing:border-box;border-radius:8px;position:relative}.reactalign .area-transition-in{transition:all .3s ease-in-out,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.reactalign .area-transition-out{transition:all .3s ease-in-out .4s,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.reactalign .item{position:relative;border:0 solid transparent;margin:6px;border-radius:6px}.reactalign .stretch{flex:auto}.reactalign .just-centered{justify-content:center}.reactalign .just-end{justify-content:flex-end}.reactalign .middle{align-items:center}.reactalign .bottom{align-items:flex-end}.reactalign .hide{display:none}.reactalign .overlay{position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;background
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
for (var
|
|
8
|
-
|
|
9
|
-
if (
|
|
10
|
-
for (var
|
|
11
|
-
|
|
12
|
-
return
|
|
13
|
-
},
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
for (var
|
|
17
|
-
|
|
18
|
-
if (
|
|
19
|
-
for (var
|
|
20
|
-
|
|
21
|
-
return
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(".reactalign.wrapper{height:100%;display:flex;justify-content:space-between}.reactalign .section{display:flex;flex-direction:column;justify-content:space-between}.reactalign .area{display:flex;border:0 solid transparent;box-sizing:border-box;border-radius:8px;position:relative}.reactalign .area-transition-in{transition:all .3s ease-in-out,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.reactalign .area-transition-out{transition:all .3s ease-in-out .4s,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.reactalign .item{position:relative;border:0 solid transparent;margin:6px;border-radius:6px}.reactalign .stretch{flex:auto}.reactalign .just-centered{justify-content:center}.reactalign .just-end{justify-content:flex-end}.reactalign .middle{align-items:center}.reactalign .bottom{align-items:flex-end}.reactalign .hide{display:none}.reactalign .overlay{position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;background:#0009}.reactalign .overlay-buttons{display:flex;padding:6px;box-sizing:border-box;justify-content:space-between}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
var jr = Object.defineProperty, Sr = Object.defineProperties;
|
|
3
|
+
var Or = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var ne = Object.getOwnPropertySymbols;
|
|
5
|
+
var Ue = Object.prototype.hasOwnProperty, ze = Object.prototype.propertyIsEnumerable;
|
|
6
|
+
var He = (t, a, o) => a in t ? jr(t, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[a] = o, w = (t, a) => {
|
|
7
|
+
for (var o in a || (a = {}))
|
|
8
|
+
Ue.call(a, o) && He(t, o, a[o]);
|
|
9
|
+
if (ne)
|
|
10
|
+
for (var o of ne(a))
|
|
11
|
+
ze.call(a, o) && He(t, o, a[o]);
|
|
12
|
+
return t;
|
|
13
|
+
}, oe = (t, a) => Sr(t, Or(a));
|
|
14
|
+
var P = (t, a) => {
|
|
15
|
+
var o = {};
|
|
16
|
+
for (var s in t)
|
|
17
|
+
Ue.call(t, s) && a.indexOf(s) < 0 && (o[s] = t[s]);
|
|
18
|
+
if (t != null && ne)
|
|
19
|
+
for (var s of ne(t))
|
|
20
|
+
a.indexOf(s) < 0 && ze.call(t, s) && (o[s] = t[s]);
|
|
21
|
+
return o;
|
|
22
22
|
};
|
|
23
|
-
import * as
|
|
24
|
-
import
|
|
25
|
-
import { DragDropContext as
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/
|
|
40
|
-
var ze;
|
|
41
|
-
function Dr() {
|
|
42
|
-
if (ze)
|
|
43
|
-
return z;
|
|
44
|
-
ze = 1;
|
|
45
|
-
var n = qe, c = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
46
|
-
function C(g, d, R) {
|
|
47
|
-
var y, j = {}, M = null, S = null;
|
|
48
|
-
R !== void 0 && (M = "" + R), d.key !== void 0 && (M = "" + d.key), d.ref !== void 0 && (S = d.ref);
|
|
49
|
-
for (y in d)
|
|
50
|
-
f.call(d, y) && !v.hasOwnProperty(y) && (j[y] = d[y]);
|
|
51
|
-
if (g && g.defaultProps)
|
|
52
|
-
for (y in d = g.defaultProps, d)
|
|
53
|
-
j[y] === void 0 && (j[y] = d[y]);
|
|
54
|
-
return { $$typeof: c, type: g, key: M, ref: S, props: j, _owner: b.current };
|
|
23
|
+
import * as i from "react";
|
|
24
|
+
import Ke, { createContext as Mr, useContext as Tr, useState as me, useCallback as X, forwardRef as W, useEffect as Pr, useMemo as ie, Children as he, cloneElement as Dr } from "react";
|
|
25
|
+
import { DragDropContext as Wr, Droppable as Fr, Draggable as Vr } from "react-beautiful-dnd";
|
|
26
|
+
var ae = { exports: {} }, G = {};
|
|
27
|
+
var Je;
|
|
28
|
+
function Ar() {
|
|
29
|
+
if (Je) return G;
|
|
30
|
+
Je = 1;
|
|
31
|
+
var t = Ke, a = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, p = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
32
|
+
function C(L, v, x) {
|
|
33
|
+
var b, j = {}, M = null, S = null;
|
|
34
|
+
x !== void 0 && (M = "" + x), v.key !== void 0 && (M = "" + v.key), v.ref !== void 0 && (S = v.ref);
|
|
35
|
+
for (b in v) s.call(v, b) && !l.hasOwnProperty(b) && (j[b] = v[b]);
|
|
36
|
+
if (L && L.defaultProps) for (b in v = L.defaultProps, v) j[b] === void 0 && (j[b] = v[b]);
|
|
37
|
+
return { $$typeof: a, type: L, key: M, ref: S, props: j, _owner: p.current };
|
|
55
38
|
}
|
|
56
|
-
return
|
|
39
|
+
return G.Fragment = o, G.jsx = C, G.jsxs = C, G;
|
|
57
40
|
}
|
|
58
|
-
var
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the MIT license found in the
|
|
66
|
-
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/
|
|
68
|
-
var Ge;
|
|
69
|
-
function Wr() {
|
|
70
|
-
return Ge || (Ge = 1, process.env.NODE_ENV !== "production" && function() {
|
|
71
|
-
var n = qe, c = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), g = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), h = Symbol.iterator, F = "@@iterator";
|
|
72
|
-
function P(e) {
|
|
41
|
+
var K = {};
|
|
42
|
+
var qe;
|
|
43
|
+
function $r() {
|
|
44
|
+
return qe || (qe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
45
|
+
var t = Ke, a = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), L = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), g = Symbol.iterator, V = "@@iterator";
|
|
46
|
+
function F(e) {
|
|
73
47
|
if (e === null || typeof e != "object")
|
|
74
48
|
return null;
|
|
75
|
-
var r =
|
|
49
|
+
var r = g && e[g] || e[V];
|
|
76
50
|
return typeof r == "function" ? r : null;
|
|
77
51
|
}
|
|
78
|
-
var
|
|
79
|
-
function
|
|
52
|
+
var E = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
|
+
function m(e) {
|
|
80
54
|
{
|
|
81
|
-
for (var r = arguments.length,
|
|
82
|
-
|
|
83
|
-
|
|
55
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
|
|
56
|
+
n[c - 1] = arguments[c];
|
|
57
|
+
B("error", e, n);
|
|
84
58
|
}
|
|
85
59
|
}
|
|
86
|
-
function
|
|
60
|
+
function B(e, r, n) {
|
|
87
61
|
{
|
|
88
|
-
var
|
|
89
|
-
|
|
90
|
-
var
|
|
91
|
-
return String(
|
|
62
|
+
var c = E.ReactDebugCurrentFrame, d = c.getStackAddendum();
|
|
63
|
+
d !== "" && (r += "%s", n = n.concat([d]));
|
|
64
|
+
var h = n.map(function(f) {
|
|
65
|
+
return String(f);
|
|
92
66
|
});
|
|
93
|
-
|
|
67
|
+
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
94
68
|
}
|
|
95
69
|
}
|
|
96
|
-
var
|
|
70
|
+
var H = !1, U = !1, A = !1, _ = !1, z = !1, Ce;
|
|
97
71
|
Ce = Symbol.for("react.module.reference");
|
|
98
|
-
function
|
|
99
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
72
|
+
function Qe(e) {
|
|
73
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || z || e === p || e === x || e === b || _ || e === S || H || U || A || typeof e == "object" && e !== null && (e.$$typeof === M || e.$$typeof === j || e.$$typeof === C || e.$$typeof === L || e.$$typeof === v || // This needs to include all possible module reference object
|
|
74
|
+
// types supported by any Flight configuration anywhere since
|
|
75
|
+
// we don't know which Flight build this will end up being used
|
|
76
|
+
// with.
|
|
77
|
+
e.$$typeof === Ce || e.getModuleId !== void 0));
|
|
78
|
+
}
|
|
79
|
+
function er(e, r, n) {
|
|
80
|
+
var c = e.displayName;
|
|
81
|
+
if (c)
|
|
82
|
+
return c;
|
|
83
|
+
var d = r.displayName || r.name || "";
|
|
84
|
+
return d !== "" ? n + "(" + d + ")" : n;
|
|
85
|
+
}
|
|
86
|
+
function ke(e) {
|
|
109
87
|
return e.displayName || "Context";
|
|
110
88
|
}
|
|
111
|
-
function
|
|
89
|
+
function $(e) {
|
|
112
90
|
if (e == null)
|
|
113
91
|
return null;
|
|
114
|
-
if (typeof e.tag == "number" &&
|
|
92
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
115
93
|
return e.displayName || e.name || null;
|
|
116
94
|
if (typeof e == "string")
|
|
117
95
|
return e;
|
|
118
96
|
switch (e) {
|
|
119
|
-
case
|
|
97
|
+
case s:
|
|
120
98
|
return "Fragment";
|
|
121
|
-
case
|
|
99
|
+
case o:
|
|
122
100
|
return "Portal";
|
|
123
|
-
case
|
|
101
|
+
case l:
|
|
124
102
|
return "Profiler";
|
|
125
|
-
case
|
|
103
|
+
case p:
|
|
126
104
|
return "StrictMode";
|
|
127
|
-
case
|
|
105
|
+
case x:
|
|
128
106
|
return "Suspense";
|
|
129
|
-
case
|
|
107
|
+
case b:
|
|
130
108
|
return "SuspenseList";
|
|
131
109
|
}
|
|
132
110
|
if (typeof e == "object")
|
|
133
111
|
switch (e.$$typeof) {
|
|
134
|
-
case
|
|
112
|
+
case L:
|
|
135
113
|
var r = e;
|
|
136
|
-
return
|
|
114
|
+
return ke(r) + ".Consumer";
|
|
137
115
|
case C:
|
|
138
|
-
var
|
|
139
|
-
return
|
|
140
|
-
case
|
|
141
|
-
return
|
|
116
|
+
var n = e;
|
|
117
|
+
return ke(n._context) + ".Provider";
|
|
118
|
+
case v:
|
|
119
|
+
return er(e, e.render, "ForwardRef");
|
|
142
120
|
case j:
|
|
143
|
-
var
|
|
144
|
-
return
|
|
121
|
+
var c = e.displayName || null;
|
|
122
|
+
return c !== null ? c : $(e.type) || "Memo";
|
|
145
123
|
case M: {
|
|
146
|
-
var
|
|
124
|
+
var d = e, h = d._payload, f = d._init;
|
|
147
125
|
try {
|
|
148
|
-
return
|
|
149
|
-
} catch (
|
|
126
|
+
return $(f(h));
|
|
127
|
+
} catch (u) {
|
|
150
128
|
return null;
|
|
151
129
|
}
|
|
152
130
|
}
|
|
153
131
|
}
|
|
154
132
|
return null;
|
|
155
133
|
}
|
|
156
|
-
var
|
|
157
|
-
function
|
|
134
|
+
var Z = Object.assign, J = 0, we, ye, be, Re, xe, _e, je;
|
|
135
|
+
function Se() {
|
|
158
136
|
}
|
|
159
|
-
|
|
160
|
-
function
|
|
137
|
+
Se.__reactDisabledLog = !0;
|
|
138
|
+
function rr() {
|
|
161
139
|
{
|
|
162
|
-
if (
|
|
163
|
-
|
|
140
|
+
if (J === 0) {
|
|
141
|
+
we = console.log, ye = console.info, be = console.warn, Re = console.error, xe = console.group, _e = console.groupCollapsed, je = console.groupEnd;
|
|
164
142
|
var e = {
|
|
165
143
|
configurable: !0,
|
|
166
144
|
enumerable: !0,
|
|
167
|
-
value:
|
|
145
|
+
value: Se,
|
|
168
146
|
writable: !0
|
|
169
147
|
};
|
|
170
148
|
Object.defineProperties(console, {
|
|
@@ -177,333 +155,332 @@ function Wr() {
|
|
|
177
155
|
groupEnd: e
|
|
178
156
|
});
|
|
179
157
|
}
|
|
180
|
-
|
|
158
|
+
J++;
|
|
181
159
|
}
|
|
182
160
|
}
|
|
183
|
-
function
|
|
161
|
+
function tr() {
|
|
184
162
|
{
|
|
185
|
-
if (
|
|
163
|
+
if (J--, J === 0) {
|
|
186
164
|
var e = {
|
|
187
165
|
configurable: !0,
|
|
188
166
|
enumerable: !0,
|
|
189
167
|
writable: !0
|
|
190
168
|
};
|
|
191
169
|
Object.defineProperties(console, {
|
|
192
|
-
log:
|
|
193
|
-
value: ke
|
|
194
|
-
}),
|
|
195
|
-
info: A({}, e, {
|
|
170
|
+
log: Z({}, e, {
|
|
196
171
|
value: we
|
|
197
172
|
}),
|
|
198
|
-
|
|
173
|
+
info: Z({}, e, {
|
|
199
174
|
value: ye
|
|
200
175
|
}),
|
|
201
|
-
|
|
176
|
+
warn: Z({}, e, {
|
|
202
177
|
value: be
|
|
203
178
|
}),
|
|
204
|
-
|
|
179
|
+
error: Z({}, e, {
|
|
205
180
|
value: Re
|
|
206
181
|
}),
|
|
207
|
-
|
|
182
|
+
group: Z({}, e, {
|
|
183
|
+
value: xe
|
|
184
|
+
}),
|
|
185
|
+
groupCollapsed: Z({}, e, {
|
|
208
186
|
value: _e
|
|
209
187
|
}),
|
|
210
|
-
groupEnd:
|
|
211
|
-
value:
|
|
188
|
+
groupEnd: Z({}, e, {
|
|
189
|
+
value: je
|
|
212
190
|
})
|
|
213
191
|
});
|
|
214
192
|
}
|
|
215
|
-
|
|
193
|
+
J < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
216
194
|
}
|
|
217
195
|
}
|
|
218
|
-
var
|
|
219
|
-
function
|
|
196
|
+
var le = E.ReactCurrentDispatcher, se;
|
|
197
|
+
function Q(e, r, n) {
|
|
220
198
|
{
|
|
221
|
-
if (
|
|
199
|
+
if (se === void 0)
|
|
222
200
|
try {
|
|
223
201
|
throw Error();
|
|
224
|
-
} catch (
|
|
225
|
-
var
|
|
226
|
-
|
|
202
|
+
} catch (d) {
|
|
203
|
+
var c = d.stack.trim().match(/\n( *(at )?)/);
|
|
204
|
+
se = c && c[1] || "";
|
|
227
205
|
}
|
|
228
206
|
return `
|
|
229
|
-
` +
|
|
207
|
+
` + se + e;
|
|
230
208
|
}
|
|
231
209
|
}
|
|
232
|
-
var
|
|
210
|
+
var ce = !1, ee;
|
|
233
211
|
{
|
|
234
|
-
var
|
|
235
|
-
|
|
212
|
+
var nr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
ee = new nr();
|
|
236
214
|
}
|
|
237
|
-
function
|
|
238
|
-
if (!e ||
|
|
215
|
+
function Oe(e, r) {
|
|
216
|
+
if (!e || ce)
|
|
239
217
|
return "";
|
|
240
218
|
{
|
|
241
|
-
var
|
|
242
|
-
if (
|
|
243
|
-
return
|
|
219
|
+
var n = ee.get(e);
|
|
220
|
+
if (n !== void 0)
|
|
221
|
+
return n;
|
|
244
222
|
}
|
|
245
|
-
var
|
|
246
|
-
|
|
247
|
-
var
|
|
223
|
+
var c;
|
|
224
|
+
ce = !0;
|
|
225
|
+
var d = Error.prepareStackTrace;
|
|
248
226
|
Error.prepareStackTrace = void 0;
|
|
249
|
-
var
|
|
250
|
-
|
|
227
|
+
var h;
|
|
228
|
+
h = le.current, le.current = null, rr();
|
|
251
229
|
try {
|
|
252
230
|
if (r) {
|
|
253
|
-
var
|
|
231
|
+
var f = function() {
|
|
254
232
|
throw Error();
|
|
255
233
|
};
|
|
256
|
-
if (Object.defineProperty(
|
|
234
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
257
235
|
set: function() {
|
|
258
236
|
throw Error();
|
|
259
237
|
}
|
|
260
238
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
261
239
|
try {
|
|
262
|
-
Reflect.construct(
|
|
263
|
-
} catch (
|
|
264
|
-
|
|
240
|
+
Reflect.construct(f, []);
|
|
241
|
+
} catch (T) {
|
|
242
|
+
c = T;
|
|
265
243
|
}
|
|
266
|
-
Reflect.construct(e, [],
|
|
244
|
+
Reflect.construct(e, [], f);
|
|
267
245
|
} else {
|
|
268
246
|
try {
|
|
269
|
-
|
|
270
|
-
} catch (
|
|
271
|
-
|
|
247
|
+
f.call();
|
|
248
|
+
} catch (T) {
|
|
249
|
+
c = T;
|
|
272
250
|
}
|
|
273
|
-
e.call(
|
|
251
|
+
e.call(f.prototype);
|
|
274
252
|
}
|
|
275
253
|
} else {
|
|
276
254
|
try {
|
|
277
255
|
throw Error();
|
|
278
|
-
} catch (
|
|
279
|
-
|
|
256
|
+
} catch (T) {
|
|
257
|
+
c = T;
|
|
280
258
|
}
|
|
281
259
|
e();
|
|
282
260
|
}
|
|
283
|
-
} catch (
|
|
284
|
-
if (
|
|
285
|
-
for (var
|
|
286
|
-
`), O =
|
|
287
|
-
`),
|
|
288
|
-
|
|
289
|
-
for (;
|
|
290
|
-
if (
|
|
291
|
-
if (
|
|
261
|
+
} catch (T) {
|
|
262
|
+
if (T && c && typeof T.stack == "string") {
|
|
263
|
+
for (var u = T.stack.split(`
|
|
264
|
+
`), O = c.stack.split(`
|
|
265
|
+
`), k = u.length - 1, y = O.length - 1; k >= 1 && y >= 0 && u[k] !== O[y]; )
|
|
266
|
+
y--;
|
|
267
|
+
for (; k >= 1 && y >= 0; k--, y--)
|
|
268
|
+
if (u[k] !== O[y]) {
|
|
269
|
+
if (k !== 1 || y !== 1)
|
|
292
270
|
do
|
|
293
|
-
if (
|
|
294
|
-
var
|
|
295
|
-
` +
|
|
296
|
-
return e.displayName &&
|
|
271
|
+
if (k--, y--, y < 0 || u[k] !== O[y]) {
|
|
272
|
+
var D = `
|
|
273
|
+
` + u[k].replace(" at new ", " at ");
|
|
274
|
+
return e.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", e.displayName)), typeof e == "function" && ee.set(e, D), D;
|
|
297
275
|
}
|
|
298
|
-
while (
|
|
276
|
+
while (k >= 1 && y >= 0);
|
|
299
277
|
break;
|
|
300
278
|
}
|
|
301
279
|
}
|
|
302
280
|
} finally {
|
|
303
|
-
|
|
281
|
+
ce = !1, le.current = h, tr(), Error.prepareStackTrace = d;
|
|
304
282
|
}
|
|
305
|
-
var
|
|
306
|
-
return typeof e == "function" &&
|
|
283
|
+
var Y = e ? e.displayName || e.name : "", I = Y ? Q(Y) : "";
|
|
284
|
+
return typeof e == "function" && ee.set(e, I), I;
|
|
307
285
|
}
|
|
308
|
-
function
|
|
309
|
-
return
|
|
286
|
+
function or(e, r, n) {
|
|
287
|
+
return Oe(e, !1);
|
|
310
288
|
}
|
|
311
|
-
function
|
|
289
|
+
function ar(e) {
|
|
312
290
|
var r = e.prototype;
|
|
313
291
|
return !!(r && r.isReactComponent);
|
|
314
292
|
}
|
|
315
|
-
function
|
|
293
|
+
function re(e, r, n) {
|
|
316
294
|
if (e == null)
|
|
317
295
|
return "";
|
|
318
296
|
if (typeof e == "function")
|
|
319
|
-
return
|
|
297
|
+
return Oe(e, ar(e));
|
|
320
298
|
if (typeof e == "string")
|
|
321
|
-
return
|
|
299
|
+
return Q(e);
|
|
322
300
|
switch (e) {
|
|
323
|
-
case
|
|
324
|
-
return
|
|
325
|
-
case
|
|
326
|
-
return
|
|
301
|
+
case x:
|
|
302
|
+
return Q("Suspense");
|
|
303
|
+
case b:
|
|
304
|
+
return Q("SuspenseList");
|
|
327
305
|
}
|
|
328
306
|
if (typeof e == "object")
|
|
329
307
|
switch (e.$$typeof) {
|
|
330
|
-
case
|
|
331
|
-
return
|
|
308
|
+
case v:
|
|
309
|
+
return or(e.render);
|
|
332
310
|
case j:
|
|
333
|
-
return
|
|
311
|
+
return re(e.type, r, n);
|
|
334
312
|
case M: {
|
|
335
|
-
var
|
|
313
|
+
var c = e, d = c._payload, h = c._init;
|
|
336
314
|
try {
|
|
337
|
-
return
|
|
338
|
-
} catch (
|
|
315
|
+
return re(h(d), r, n);
|
|
316
|
+
} catch (f) {
|
|
339
317
|
}
|
|
340
318
|
}
|
|
341
319
|
}
|
|
342
320
|
return "";
|
|
343
321
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
322
|
+
var q = Object.prototype.hasOwnProperty, Me = {}, Te = E.ReactDebugCurrentFrame;
|
|
323
|
+
function te(e) {
|
|
346
324
|
if (e) {
|
|
347
|
-
var r = e._owner,
|
|
348
|
-
|
|
325
|
+
var r = e._owner, n = re(e.type, e._source, r ? r.type : null);
|
|
326
|
+
Te.setExtraStackFrame(n);
|
|
349
327
|
} else
|
|
350
|
-
|
|
328
|
+
Te.setExtraStackFrame(null);
|
|
351
329
|
}
|
|
352
|
-
function
|
|
330
|
+
function ir(e, r, n, c, d) {
|
|
353
331
|
{
|
|
354
|
-
var
|
|
355
|
-
for (var
|
|
356
|
-
if (
|
|
357
|
-
var
|
|
332
|
+
var h = Function.call.bind(q);
|
|
333
|
+
for (var f in e)
|
|
334
|
+
if (h(e, f)) {
|
|
335
|
+
var u = void 0;
|
|
358
336
|
try {
|
|
359
|
-
if (typeof e[
|
|
360
|
-
var O = Error((
|
|
337
|
+
if (typeof e[f] != "function") {
|
|
338
|
+
var O = Error((c || "React class") + ": " + n + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
361
339
|
throw O.name = "Invariant Violation", O;
|
|
362
340
|
}
|
|
363
|
-
|
|
364
|
-
} catch (
|
|
365
|
-
|
|
341
|
+
u = e[f](r, f, c, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
|
+
} catch (k) {
|
|
343
|
+
u = k;
|
|
366
344
|
}
|
|
367
|
-
|
|
345
|
+
u && !(u instanceof Error) && (te(d), m("%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).", c || "React class", n, f, typeof u), te(null)), u instanceof Error && !(u.message in Me) && (Me[u.message] = !0, te(d), m("Failed %s type: %s", n, u.message), te(null));
|
|
368
346
|
}
|
|
369
347
|
}
|
|
370
348
|
}
|
|
371
|
-
var
|
|
372
|
-
function
|
|
373
|
-
return
|
|
349
|
+
var lr = Array.isArray;
|
|
350
|
+
function ue(e) {
|
|
351
|
+
return lr(e);
|
|
374
352
|
}
|
|
375
|
-
function
|
|
353
|
+
function sr(e) {
|
|
376
354
|
{
|
|
377
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag,
|
|
378
|
-
return
|
|
355
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
356
|
+
return n;
|
|
379
357
|
}
|
|
380
358
|
}
|
|
381
|
-
function
|
|
359
|
+
function cr(e) {
|
|
382
360
|
try {
|
|
383
|
-
return
|
|
361
|
+
return Pe(e), !1;
|
|
384
362
|
} catch (r) {
|
|
385
363
|
return !0;
|
|
386
364
|
}
|
|
387
365
|
}
|
|
388
|
-
function
|
|
366
|
+
function Pe(e) {
|
|
389
367
|
return "" + e;
|
|
390
368
|
}
|
|
391
|
-
function
|
|
392
|
-
if (
|
|
393
|
-
return
|
|
369
|
+
function De(e) {
|
|
370
|
+
if (cr(e))
|
|
371
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(e)), Pe(e);
|
|
394
372
|
}
|
|
395
|
-
var
|
|
373
|
+
var We = E.ReactCurrentOwner, ur = {
|
|
396
374
|
key: !0,
|
|
397
375
|
ref: !0,
|
|
398
376
|
__self: !0,
|
|
399
377
|
__source: !0
|
|
400
|
-
},
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
if (Q.call(e, "ref")) {
|
|
378
|
+
}, Fe, Ve;
|
|
379
|
+
function fr(e) {
|
|
380
|
+
if (q.call(e, "ref")) {
|
|
404
381
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
405
382
|
if (r && r.isReactWarning)
|
|
406
383
|
return !1;
|
|
407
384
|
}
|
|
408
385
|
return e.ref !== void 0;
|
|
409
386
|
}
|
|
410
|
-
function
|
|
411
|
-
if (
|
|
387
|
+
function dr(e) {
|
|
388
|
+
if (q.call(e, "key")) {
|
|
412
389
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
413
390
|
if (r && r.isReactWarning)
|
|
414
391
|
return !1;
|
|
415
392
|
}
|
|
416
393
|
return e.key !== void 0;
|
|
417
394
|
}
|
|
418
|
-
function
|
|
419
|
-
|
|
420
|
-
var t = D(U.current.type);
|
|
421
|
-
le[t] || (L('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', D(U.current.type), e.ref), le[t] = !0);
|
|
422
|
-
}
|
|
395
|
+
function pr(e, r) {
|
|
396
|
+
typeof e.ref == "string" && We.current;
|
|
423
397
|
}
|
|
424
|
-
function
|
|
398
|
+
function vr(e, r) {
|
|
425
399
|
{
|
|
426
|
-
var
|
|
427
|
-
|
|
400
|
+
var n = function() {
|
|
401
|
+
Fe || (Fe = !0, m("%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)", r));
|
|
428
402
|
};
|
|
429
|
-
|
|
430
|
-
get:
|
|
403
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
404
|
+
get: n,
|
|
431
405
|
configurable: !0
|
|
432
406
|
});
|
|
433
407
|
}
|
|
434
408
|
}
|
|
435
|
-
function
|
|
409
|
+
function hr(e, r) {
|
|
436
410
|
{
|
|
437
|
-
var
|
|
438
|
-
|
|
411
|
+
var n = function() {
|
|
412
|
+
Ve || (Ve = !0, m("%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)", r));
|
|
439
413
|
};
|
|
440
|
-
|
|
441
|
-
get:
|
|
414
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
415
|
+
get: n,
|
|
442
416
|
configurable: !0
|
|
443
417
|
});
|
|
444
418
|
}
|
|
445
419
|
}
|
|
446
|
-
var
|
|
447
|
-
var
|
|
448
|
-
|
|
420
|
+
var gr = function(e, r, n, c, d, h, f) {
|
|
421
|
+
var u = {
|
|
422
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
423
|
+
$$typeof: a,
|
|
424
|
+
// Built-in properties that belong on the element
|
|
449
425
|
type: e,
|
|
450
426
|
key: r,
|
|
451
|
-
ref:
|
|
452
|
-
props:
|
|
453
|
-
|
|
427
|
+
ref: n,
|
|
428
|
+
props: f,
|
|
429
|
+
// Record the component responsible for creating this element.
|
|
430
|
+
_owner: h
|
|
454
431
|
};
|
|
455
|
-
return
|
|
432
|
+
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
456
433
|
configurable: !1,
|
|
457
434
|
enumerable: !1,
|
|
458
435
|
writable: !0,
|
|
459
436
|
value: !1
|
|
460
|
-
}), Object.defineProperty(
|
|
437
|
+
}), Object.defineProperty(u, "_self", {
|
|
461
438
|
configurable: !1,
|
|
462
439
|
enumerable: !1,
|
|
463
440
|
writable: !1,
|
|
464
|
-
value:
|
|
465
|
-
}), Object.defineProperty(
|
|
441
|
+
value: c
|
|
442
|
+
}), Object.defineProperty(u, "_source", {
|
|
466
443
|
configurable: !1,
|
|
467
444
|
enumerable: !1,
|
|
468
445
|
writable: !1,
|
|
469
|
-
value:
|
|
470
|
-
}), Object.freeze && (Object.freeze(
|
|
446
|
+
value: d
|
|
447
|
+
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
471
448
|
};
|
|
472
|
-
function
|
|
449
|
+
function Lr(e, r, n, c, d) {
|
|
473
450
|
{
|
|
474
|
-
var
|
|
475
|
-
|
|
476
|
-
for (
|
|
477
|
-
|
|
451
|
+
var h, f = {}, u = null, O = null;
|
|
452
|
+
n !== void 0 && (De(n), u = "" + n), dr(r) && (De(r.key), u = "" + r.key), fr(r) && (O = r.ref, pr(r, d));
|
|
453
|
+
for (h in r)
|
|
454
|
+
q.call(r, h) && !ur.hasOwnProperty(h) && (f[h] = r[h]);
|
|
478
455
|
if (e && e.defaultProps) {
|
|
479
|
-
var
|
|
480
|
-
for (
|
|
481
|
-
|
|
456
|
+
var k = e.defaultProps;
|
|
457
|
+
for (h in k)
|
|
458
|
+
f[h] === void 0 && (f[h] = k[h]);
|
|
482
459
|
}
|
|
483
|
-
if (
|
|
484
|
-
var
|
|
485
|
-
|
|
460
|
+
if (u || O) {
|
|
461
|
+
var y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
462
|
+
u && vr(f, y), O && hr(f, y);
|
|
486
463
|
}
|
|
487
|
-
return
|
|
464
|
+
return gr(e, u, O, d, c, We.current, f);
|
|
488
465
|
}
|
|
489
466
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
467
|
+
var fe = E.ReactCurrentOwner, Ae = E.ReactDebugCurrentFrame;
|
|
468
|
+
function N(e) {
|
|
492
469
|
if (e) {
|
|
493
|
-
var r = e._owner,
|
|
494
|
-
|
|
470
|
+
var r = e._owner, n = re(e.type, e._source, r ? r.type : null);
|
|
471
|
+
Ae.setExtraStackFrame(n);
|
|
495
472
|
} else
|
|
496
|
-
|
|
473
|
+
Ae.setExtraStackFrame(null);
|
|
497
474
|
}
|
|
498
|
-
var
|
|
499
|
-
|
|
500
|
-
function
|
|
501
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
475
|
+
var de;
|
|
476
|
+
de = !1;
|
|
477
|
+
function pe(e) {
|
|
478
|
+
return typeof e == "object" && e !== null && e.$$typeof === a;
|
|
502
479
|
}
|
|
503
|
-
function
|
|
480
|
+
function $e() {
|
|
504
481
|
{
|
|
505
|
-
if (
|
|
506
|
-
var e =
|
|
482
|
+
if (fe.current) {
|
|
483
|
+
var e = $(fe.current.type);
|
|
507
484
|
if (e)
|
|
508
485
|
return `
|
|
509
486
|
|
|
@@ -512,26 +489,18 @@ Check the render method of \`` + e + "`.";
|
|
|
512
489
|
return "";
|
|
513
490
|
}
|
|
514
491
|
}
|
|
515
|
-
function
|
|
516
|
-
|
|
517
|
-
if (e !== void 0) {
|
|
518
|
-
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
519
|
-
return `
|
|
520
|
-
|
|
521
|
-
Check your code at ` + r + ":" + t + ".";
|
|
522
|
-
}
|
|
523
|
-
return "";
|
|
524
|
-
}
|
|
492
|
+
function mr(e) {
|
|
493
|
+
return "";
|
|
525
494
|
}
|
|
526
|
-
var
|
|
527
|
-
function
|
|
495
|
+
var Ze = {};
|
|
496
|
+
function Er(e) {
|
|
528
497
|
{
|
|
529
|
-
var r =
|
|
498
|
+
var r = $e();
|
|
530
499
|
if (!r) {
|
|
531
|
-
var
|
|
532
|
-
|
|
500
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
501
|
+
n && (r = `
|
|
533
502
|
|
|
534
|
-
Check the top-level render call using <` +
|
|
503
|
+
Check the top-level render call using <` + n + ">.");
|
|
535
504
|
}
|
|
536
505
|
return r;
|
|
537
506
|
}
|
|
@@ -541,604 +510,420 @@ Check the top-level render call using <` + t + ">.");
|
|
|
541
510
|
if (!e._store || e._store.validated || e.key != null)
|
|
542
511
|
return;
|
|
543
512
|
e._store.validated = !0;
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
513
|
+
var n = Er(r);
|
|
514
|
+
if (Ze[n])
|
|
546
515
|
return;
|
|
547
|
-
|
|
548
|
-
var
|
|
549
|
-
e && e._owner && e._owner !==
|
|
516
|
+
Ze[n] = !0;
|
|
517
|
+
var c = "";
|
|
518
|
+
e && e._owner && e._owner !== fe.current && (c = " It was passed a child from " + $(e._owner.type) + "."), N(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, c), N(null);
|
|
550
519
|
}
|
|
551
520
|
}
|
|
552
|
-
function
|
|
521
|
+
function Ne(e, r) {
|
|
553
522
|
{
|
|
554
523
|
if (typeof e != "object")
|
|
555
524
|
return;
|
|
556
|
-
if (
|
|
557
|
-
for (var
|
|
558
|
-
var
|
|
559
|
-
|
|
525
|
+
if (ue(e))
|
|
526
|
+
for (var n = 0; n < e.length; n++) {
|
|
527
|
+
var c = e[n];
|
|
528
|
+
pe(c) && Ie(c, r);
|
|
560
529
|
}
|
|
561
|
-
else if (
|
|
530
|
+
else if (pe(e))
|
|
562
531
|
e._store && (e._store.validated = !0);
|
|
563
532
|
else if (e) {
|
|
564
|
-
var
|
|
565
|
-
if (typeof
|
|
566
|
-
for (var
|
|
567
|
-
|
|
533
|
+
var d = F(e);
|
|
534
|
+
if (typeof d == "function" && d !== e.entries)
|
|
535
|
+
for (var h = d.call(e), f; !(f = h.next()).done; )
|
|
536
|
+
pe(f.value) && Ie(f.value, r);
|
|
568
537
|
}
|
|
569
538
|
}
|
|
570
539
|
}
|
|
571
|
-
function
|
|
540
|
+
function Cr(e) {
|
|
572
541
|
{
|
|
573
542
|
var r = e.type;
|
|
574
543
|
if (r == null || typeof r == "string")
|
|
575
544
|
return;
|
|
576
|
-
var
|
|
545
|
+
var n;
|
|
577
546
|
if (typeof r == "function")
|
|
578
|
-
|
|
579
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
580
|
-
|
|
547
|
+
n = r.propTypes;
|
|
548
|
+
else if (typeof r == "object" && (r.$$typeof === v || // Note: Memo only checks outer props here.
|
|
549
|
+
// Inner props are checked in the reconciler.
|
|
550
|
+
r.$$typeof === j))
|
|
551
|
+
n = r.propTypes;
|
|
581
552
|
else
|
|
582
553
|
return;
|
|
583
|
-
if (
|
|
584
|
-
var
|
|
585
|
-
|
|
586
|
-
} else if (r.PropTypes !== void 0 && !
|
|
587
|
-
|
|
588
|
-
var
|
|
589
|
-
|
|
554
|
+
if (n) {
|
|
555
|
+
var c = $(r);
|
|
556
|
+
ir(n, e.props, "prop", c, e);
|
|
557
|
+
} else if (r.PropTypes !== void 0 && !de) {
|
|
558
|
+
de = !0;
|
|
559
|
+
var d = $(r);
|
|
560
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
590
561
|
}
|
|
591
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
562
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
592
563
|
}
|
|
593
564
|
}
|
|
594
|
-
function
|
|
565
|
+
function kr(e) {
|
|
595
566
|
{
|
|
596
|
-
for (var r = Object.keys(e.props),
|
|
597
|
-
var
|
|
598
|
-
if (
|
|
599
|
-
|
|
567
|
+
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
568
|
+
var c = r[n];
|
|
569
|
+
if (c !== "children" && c !== "key") {
|
|
570
|
+
N(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), N(null);
|
|
600
571
|
break;
|
|
601
572
|
}
|
|
602
573
|
}
|
|
603
|
-
e.ref !== null && (
|
|
574
|
+
e.ref !== null && (N(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
|
|
604
575
|
}
|
|
605
576
|
}
|
|
606
|
-
|
|
577
|
+
var Ye = {};
|
|
578
|
+
function Be(e, r, n, c, d, h) {
|
|
607
579
|
{
|
|
608
|
-
var
|
|
609
|
-
if (!
|
|
610
|
-
var
|
|
611
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
612
|
-
var O =
|
|
613
|
-
O ?
|
|
614
|
-
var
|
|
615
|
-
e === null ?
|
|
580
|
+
var f = Qe(e);
|
|
581
|
+
if (!f) {
|
|
582
|
+
var u = "";
|
|
583
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
584
|
+
var O = mr();
|
|
585
|
+
O ? u += O : u += $e();
|
|
586
|
+
var k;
|
|
587
|
+
e === null ? k = "null" : ue(e) ? k = "array" : e !== void 0 && e.$$typeof === a ? (k = "<" + ($(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : k = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, u);
|
|
616
588
|
}
|
|
617
|
-
var
|
|
618
|
-
if (
|
|
619
|
-
return
|
|
620
|
-
if (
|
|
621
|
-
var
|
|
622
|
-
if (
|
|
623
|
-
if (
|
|
624
|
-
if (
|
|
625
|
-
for (var
|
|
626
|
-
|
|
627
|
-
Object.freeze && Object.freeze(
|
|
589
|
+
var y = Lr(e, r, n, d, h);
|
|
590
|
+
if (y == null)
|
|
591
|
+
return y;
|
|
592
|
+
if (f) {
|
|
593
|
+
var D = r.children;
|
|
594
|
+
if (D !== void 0)
|
|
595
|
+
if (c)
|
|
596
|
+
if (ue(D)) {
|
|
597
|
+
for (var Y = 0; Y < D.length; Y++)
|
|
598
|
+
Ne(D[Y], e);
|
|
599
|
+
Object.freeze && Object.freeze(D);
|
|
628
600
|
} else
|
|
629
|
-
|
|
601
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
630
602
|
else
|
|
631
|
-
|
|
603
|
+
Ne(D, e);
|
|
604
|
+
}
|
|
605
|
+
if (q.call(r, "key")) {
|
|
606
|
+
var I = $(e), T = Object.keys(r).filter(function(_r) {
|
|
607
|
+
return _r !== "key";
|
|
608
|
+
}), ve = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
609
|
+
if (!Ye[I + ve]) {
|
|
610
|
+
var xr = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
611
|
+
m(`A props object containing a "key" prop is being spread into JSX:
|
|
612
|
+
let props = %s;
|
|
613
|
+
<%s {...props} />
|
|
614
|
+
React keys must be passed directly to JSX without using spread:
|
|
615
|
+
let props = %s;
|
|
616
|
+
<%s key={someKey} {...props} />`, ve, I, xr, I), Ye[I + ve] = !0;
|
|
617
|
+
}
|
|
632
618
|
}
|
|
633
|
-
return e ===
|
|
619
|
+
return e === s ? kr(y) : Cr(y), y;
|
|
634
620
|
}
|
|
635
621
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
622
|
+
function wr(e, r, n) {
|
|
623
|
+
return Be(e, r, n, !0);
|
|
638
624
|
}
|
|
639
|
-
function
|
|
640
|
-
return
|
|
625
|
+
function yr(e, r, n) {
|
|
626
|
+
return Be(e, r, n, !1);
|
|
641
627
|
}
|
|
642
|
-
var
|
|
643
|
-
|
|
644
|
-
}()),
|
|
628
|
+
var br = yr, Rr = wr;
|
|
629
|
+
K.Fragment = s, K.jsx = br, K.jsxs = Rr;
|
|
630
|
+
})()), K;
|
|
631
|
+
}
|
|
632
|
+
var Ge;
|
|
633
|
+
function Zr() {
|
|
634
|
+
return Ge || (Ge = 1, process.env.NODE_ENV === "production" ? ae.exports = Ar() : ae.exports = $r()), ae.exports;
|
|
645
635
|
}
|
|
646
|
-
(
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
stretch: b,
|
|
655
|
-
style: v,
|
|
636
|
+
var R = Zr();
|
|
637
|
+
const Xe = Mr({ editing: !1, isDragging: !1 }), Ee = () => Tr(Xe), pt = ({
|
|
638
|
+
className: t,
|
|
639
|
+
children: a,
|
|
640
|
+
editing: o,
|
|
641
|
+
vertical: s,
|
|
642
|
+
stretch: p,
|
|
643
|
+
style: l,
|
|
656
644
|
editorStyle: C,
|
|
657
|
-
onMove:
|
|
658
|
-
onAlignChange:
|
|
659
|
-
onExtend:
|
|
645
|
+
onMove: L,
|
|
646
|
+
onAlignChange: v,
|
|
647
|
+
onExtend: x
|
|
660
648
|
}) => {
|
|
661
|
-
const [
|
|
649
|
+
const [b, j] = me(!1), M = X(() => {
|
|
662
650
|
j(!0);
|
|
663
|
-
}, []), S =
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
})
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
},
|
|
684
|
-
className:
|
|
685
|
-
children:
|
|
686
|
-
horizontal:
|
|
687
|
-
stretch:
|
|
688
|
-
fixedWidth:
|
|
689
|
-
fixedHeight:
|
|
651
|
+
}, []), S = X(
|
|
652
|
+
(g, V) => {
|
|
653
|
+
j(!1), !(!g.destination || g.reason !== "DROP" || g.destination.droppableId === g.source.droppableId && g.destination.index === g.source.index) && (L == null || L(
|
|
654
|
+
g.draggableId,
|
|
655
|
+
g.destination.droppableId,
|
|
656
|
+
g.destination.index,
|
|
657
|
+
g.source.droppableId,
|
|
658
|
+
g.source.index
|
|
659
|
+
));
|
|
660
|
+
},
|
|
661
|
+
[L]
|
|
662
|
+
);
|
|
663
|
+
return /* @__PURE__ */ R.jsx(
|
|
664
|
+
"div",
|
|
665
|
+
{
|
|
666
|
+
className: ["reactalign", "wrapper", t, s && "vertical", p && "stretch"].filter(Boolean).join(" "),
|
|
667
|
+
style: o ? C : l,
|
|
668
|
+
children: /* @__PURE__ */ R.jsx(Wr, { onDragStart: M, onDragEnd: S, children: /* @__PURE__ */ R.jsx(Xe.Provider, { value: { editing: !!o, onAlignChange: v, onExtend: x, isDragging: b }, children: a }) })
|
|
669
|
+
}
|
|
670
|
+
);
|
|
671
|
+
}, vt = ({
|
|
672
|
+
className: t,
|
|
673
|
+
children: a,
|
|
674
|
+
horizontal: o,
|
|
675
|
+
stretch: s,
|
|
676
|
+
fixedWidth: p,
|
|
677
|
+
fixedHeight: l,
|
|
690
678
|
style: C,
|
|
691
|
-
editorStyle:
|
|
679
|
+
editorStyle: L
|
|
692
680
|
}) => {
|
|
693
|
-
const {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
rx: 4,
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
width: 24,
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
rx: 4,
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
})),
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
rx: 4,
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
width: 24,
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
})),
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
width: 24,
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
rx:
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
strokeWidth: 1.5,
|
|
829
|
-
strokeLinecap: "round",
|
|
830
|
-
strokeLinejoin: "round"
|
|
831
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
832
|
-
d: "M12 12L20.5 12",
|
|
833
|
-
stroke: "currentColor",
|
|
834
|
-
strokeWidth: 1.5,
|
|
835
|
-
strokeLinecap: "round",
|
|
836
|
-
strokeLinejoin: "round"
|
|
837
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
838
|
-
d: "M17.5 9L20.5 12L17.5 15",
|
|
839
|
-
stroke: "currentColor",
|
|
840
|
-
strokeWidth: 1.5,
|
|
841
|
-
strokeLinecap: "round",
|
|
842
|
-
strokeLinejoin: "round"
|
|
843
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
844
|
-
d: "M12 12L4 12",
|
|
845
|
-
stroke: "currentColor",
|
|
846
|
-
strokeWidth: 1.5,
|
|
847
|
-
strokeLinecap: "round",
|
|
848
|
-
strokeLinejoin: "round"
|
|
849
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
850
|
-
d: "M7 15L4 12L7 9",
|
|
851
|
-
stroke: "currentColor",
|
|
852
|
-
strokeWidth: 1.5,
|
|
853
|
-
strokeLinecap: "round",
|
|
854
|
-
strokeLinejoin: "round"
|
|
855
|
-
})), Yr = (n) => /* @__PURE__ */ o.createElement("svg", k({
|
|
856
|
-
width: 24,
|
|
857
|
-
height: 24,
|
|
858
|
-
viewBox: "0 0 24 24",
|
|
859
|
-
fill: "none",
|
|
860
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
861
|
-
}, n), /* @__PURE__ */ o.createElement("path", {
|
|
862
|
-
d: "M1 12L6 12",
|
|
863
|
-
stroke: "currentColor",
|
|
864
|
-
strokeWidth: 1.5,
|
|
865
|
-
strokeLinecap: "round",
|
|
866
|
-
strokeLinejoin: "round"
|
|
867
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
868
|
-
d: "M3 9L6 12L3 15",
|
|
869
|
-
stroke: "currentColor",
|
|
870
|
-
strokeWidth: 1.5,
|
|
871
|
-
strokeLinecap: "round",
|
|
872
|
-
strokeLinejoin: "round"
|
|
873
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
874
|
-
d: "M23 12L18 12",
|
|
875
|
-
stroke: "currentColor",
|
|
876
|
-
strokeWidth: 1.5,
|
|
877
|
-
strokeLinecap: "round",
|
|
878
|
-
strokeLinejoin: "round"
|
|
879
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
880
|
-
d: "M21 15L18 12L21 9",
|
|
881
|
-
stroke: "currentColor",
|
|
882
|
-
strokeWidth: 1.5,
|
|
883
|
-
strokeLinecap: "round",
|
|
884
|
-
strokeLinejoin: "round"
|
|
885
|
-
}), /* @__PURE__ */ o.createElement("rect", {
|
|
886
|
-
x: 8.75,
|
|
887
|
-
y: 2.75,
|
|
888
|
-
width: 6.5,
|
|
889
|
-
height: 18.5,
|
|
890
|
-
rx: 1.25,
|
|
891
|
-
stroke: "currentColor",
|
|
892
|
-
strokeWidth: 1.5
|
|
893
|
-
})), Br = (n) => /* @__PURE__ */ o.createElement("svg", k({
|
|
894
|
-
width: 24,
|
|
895
|
-
height: 24,
|
|
896
|
-
viewBox: "0 0 24 24",
|
|
897
|
-
fill: "none",
|
|
898
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
899
|
-
}, n), /* @__PURE__ */ o.createElement("path", {
|
|
900
|
-
d: "M14.6514 19.0977L11.9998 21.7493L9.34814 19.0977",
|
|
901
|
-
stroke: "currentColor",
|
|
902
|
-
strokeWidth: 1.5,
|
|
903
|
-
strokeLinecap: "round",
|
|
904
|
-
strokeLinejoin: "round"
|
|
905
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
906
|
-
d: "M12 15V21.75",
|
|
907
|
-
stroke: "currentColor",
|
|
908
|
-
strokeWidth: 1.5,
|
|
909
|
-
strokeLinecap: "round",
|
|
910
|
-
strokeLinejoin: "round"
|
|
911
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
912
|
-
d: "M9.34814 4.90163L11.9998 2.25L14.6514 4.90163",
|
|
913
|
-
stroke: "currentColor",
|
|
914
|
-
strokeWidth: 1.5,
|
|
915
|
-
strokeLinecap: "round",
|
|
916
|
-
strokeLinejoin: "round"
|
|
917
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
918
|
-
d: "M12 9V2.25",
|
|
919
|
-
stroke: "currentColor",
|
|
920
|
-
strokeWidth: 1.5,
|
|
921
|
-
strokeLinecap: "round",
|
|
922
|
-
strokeLinejoin: "round"
|
|
923
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
924
|
-
d: "M4.90163 14.6509L2.25 11.9993L4.90163 9.34766",
|
|
925
|
-
stroke: "currentColor",
|
|
926
|
-
strokeWidth: 1.5,
|
|
927
|
-
strokeLinecap: "round",
|
|
928
|
-
strokeLinejoin: "round"
|
|
929
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
930
|
-
d: "M9 12H2.25",
|
|
931
|
-
stroke: "currentColor",
|
|
932
|
-
strokeWidth: 1.5,
|
|
933
|
-
strokeLinecap: "round",
|
|
934
|
-
strokeLinejoin: "round"
|
|
935
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
936
|
-
d: "M19.0981 9.34766L21.7498 11.9993L19.0981 14.6509",
|
|
937
|
-
stroke: "currentColor",
|
|
938
|
-
strokeWidth: 1.5,
|
|
939
|
-
strokeLinecap: "round",
|
|
940
|
-
strokeLinejoin: "round"
|
|
941
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
942
|
-
d: "M15 12H21.75",
|
|
943
|
-
stroke: "currentColor",
|
|
944
|
-
strokeWidth: 1.5,
|
|
945
|
-
strokeLinecap: "round",
|
|
946
|
-
strokeLinejoin: "round"
|
|
947
|
-
})), Hr = (n) => /* @__PURE__ */ o.createElement("svg", k({
|
|
948
|
-
width: 24,
|
|
949
|
-
height: 24,
|
|
950
|
-
viewBox: "0 0 24 24",
|
|
951
|
-
fill: "none",
|
|
952
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
953
|
-
}, n), /* @__PURE__ */ o.createElement("path", {
|
|
954
|
-
d: "M3.75 0.999999L20.25 1",
|
|
955
|
-
stroke: "currentColor",
|
|
956
|
-
strokeWidth: 1.5,
|
|
957
|
-
strokeLinecap: "round",
|
|
958
|
-
strokeLinejoin: "round"
|
|
959
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
960
|
-
d: "M3.75 23L20.25 23",
|
|
961
|
-
stroke: "currentColor",
|
|
962
|
-
strokeWidth: 1.5,
|
|
963
|
-
strokeLinecap: "round",
|
|
964
|
-
strokeLinejoin: "round"
|
|
965
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
966
|
-
d: "M12 12L12 20.5",
|
|
967
|
-
stroke: "currentColor",
|
|
968
|
-
strokeWidth: 1.5,
|
|
969
|
-
strokeLinecap: "round",
|
|
970
|
-
strokeLinejoin: "round"
|
|
971
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
972
|
-
d: "M15 17.5L12 20.5L9 17.5",
|
|
973
|
-
stroke: "currentColor",
|
|
974
|
-
strokeWidth: 1.5,
|
|
975
|
-
strokeLinecap: "round",
|
|
976
|
-
strokeLinejoin: "round"
|
|
977
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
978
|
-
d: "M12 12L12 4",
|
|
979
|
-
stroke: "currentColor",
|
|
980
|
-
strokeWidth: 1.5,
|
|
981
|
-
strokeLinecap: "round",
|
|
982
|
-
strokeLinejoin: "round"
|
|
983
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
984
|
-
d: "M9 7L12 4L15 7",
|
|
985
|
-
stroke: "currentColor",
|
|
986
|
-
strokeWidth: 1.5,
|
|
987
|
-
strokeLinecap: "round",
|
|
988
|
-
strokeLinejoin: "round"
|
|
989
|
-
})), Ur = (n) => /* @__PURE__ */ o.createElement("svg", k({
|
|
990
|
-
width: 24,
|
|
991
|
-
height: 24,
|
|
992
|
-
viewBox: "0 0 24 24",
|
|
993
|
-
fill: "none",
|
|
994
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
995
|
-
}, n), /* @__PURE__ */ o.createElement("path", {
|
|
996
|
-
d: "M12 1L12 6",
|
|
997
|
-
stroke: "currentColor",
|
|
998
|
-
strokeWidth: 1.5,
|
|
999
|
-
strokeLinecap: "round",
|
|
1000
|
-
strokeLinejoin: "round"
|
|
1001
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
1002
|
-
d: "M15 3L12 6L9 3",
|
|
1003
|
-
stroke: "currentColor",
|
|
1004
|
-
strokeWidth: 1.5,
|
|
1005
|
-
strokeLinecap: "round",
|
|
1006
|
-
strokeLinejoin: "round"
|
|
1007
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
1008
|
-
d: "M12 23L12 18",
|
|
1009
|
-
stroke: "currentColor",
|
|
1010
|
-
strokeWidth: 1.5,
|
|
1011
|
-
strokeLinecap: "round",
|
|
1012
|
-
strokeLinejoin: "round"
|
|
1013
|
-
}), /* @__PURE__ */ o.createElement("path", {
|
|
1014
|
-
d: "M9 21L12 18L15 21",
|
|
1015
|
-
stroke: "currentColor",
|
|
1016
|
-
strokeWidth: 1.5,
|
|
1017
|
-
strokeLinecap: "round",
|
|
1018
|
-
strokeLinejoin: "round"
|
|
1019
|
-
}), /* @__PURE__ */ o.createElement("rect", {
|
|
1020
|
-
x: 21.25,
|
|
1021
|
-
y: 8.75,
|
|
1022
|
-
width: 6.5,
|
|
1023
|
-
height: 18.5,
|
|
1024
|
-
rx: 1.25,
|
|
1025
|
-
transform: "rotate(90 21.25 8.75)",
|
|
1026
|
-
stroke: "currentColor",
|
|
1027
|
-
strokeWidth: 1.5
|
|
1028
|
-
})), zr = {
|
|
1029
|
-
horizontalExtend: $r,
|
|
1030
|
-
horizontalNormal: Yr,
|
|
1031
|
-
verticalExtend: Hr,
|
|
1032
|
-
verticalNormal: Ur,
|
|
1033
|
-
moveArrows: Br,
|
|
1034
|
-
alignStart: Zr,
|
|
1035
|
-
alignCenter: Fr,
|
|
1036
|
-
alignEnd: Ar,
|
|
1037
|
-
alignStartV: Nr,
|
|
1038
|
-
alignCenterV: Vr,
|
|
1039
|
-
alignEndV: Ir
|
|
1040
|
-
}, he = ({
|
|
1041
|
-
className: n,
|
|
1042
|
-
name: c,
|
|
1043
|
-
onClick: i
|
|
1044
|
-
}) => {
|
|
1045
|
-
const f = zr[c];
|
|
1046
|
-
return /* @__PURE__ */ x(f, {
|
|
1047
|
-
className: n,
|
|
1048
|
-
onClick: i
|
|
1049
|
-
});
|
|
1050
|
-
}, pe = ["start", "centered", "end"];
|
|
1051
|
-
function Qr({
|
|
1052
|
-
id: n,
|
|
1053
|
-
className: c,
|
|
1054
|
-
vertical: i,
|
|
1055
|
-
stretch: f,
|
|
1056
|
-
middle: b,
|
|
1057
|
-
bottom: v,
|
|
681
|
+
const { editing: v } = Ee();
|
|
682
|
+
return /* @__PURE__ */ R.jsx(
|
|
683
|
+
"div",
|
|
684
|
+
{
|
|
685
|
+
className: `section ${t} ${o ? "horizontal" : ""} ${s ? "stretch" : ""}`,
|
|
686
|
+
style: w(w(w({}, v ? L : C), typeof l == "number" ? {
|
|
687
|
+
height: l + "px"
|
|
688
|
+
} : {}), typeof p == "number" ? {
|
|
689
|
+
width: p + "px"
|
|
690
|
+
} : {}),
|
|
691
|
+
children: a
|
|
692
|
+
}
|
|
693
|
+
);
|
|
694
|
+
}, Ir = (p, s) => {
|
|
695
|
+
var l = p, {
|
|
696
|
+
title: t,
|
|
697
|
+
titleId: a
|
|
698
|
+
} = l, o = P(l, [
|
|
699
|
+
"title",
|
|
700
|
+
"titleId"
|
|
701
|
+
]);
|
|
702
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("rect", { width: 24, height: 24, rx: 4, fill: "black", fillOpacity: 0.5 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 19L5 19L5 5L19 5L19 19ZM20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20ZM16 14C16 14.5523 15.5523 15 15 15C14.4477 15 14 14.5523 14 14L14 10C14 9.44772 14.4477 9 15 9C15.5523 9 16 9.44771 16 10L16 14ZM13 14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14L11 10C11 9.44771 11.4477 9 12 9C12.5523 9 13 9.44771 13 10L13 14ZM9 15C9.55228 15 10 14.5523 10 14L10 10C10 9.44771 9.55228 9 9 9C8.44771 9 8 9.44771 8 10L8 14C8 14.5523 8.44772 15 9 15Z", fill: "currentColor" }));
|
|
703
|
+
}, Nr = W(Ir), Yr = (p, s) => {
|
|
704
|
+
var l = p, {
|
|
705
|
+
title: t,
|
|
706
|
+
titleId: a
|
|
707
|
+
} = l, o = P(l, [
|
|
708
|
+
"title",
|
|
709
|
+
"titleId"
|
|
710
|
+
]);
|
|
711
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("rect", { y: 24, width: 24, height: 24, rx: 4, transform: "rotate(-90 0 24)", fill: "black", fillOpacity: 0.5 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 5L19 19L5 19L5 5L19 5ZM20 4L20 5L20 19L20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4ZM14 8C14.5523 8 15 8.44772 15 9C15 9.55228 14.5523 10 14 10L10 10C9.44772 10 9 9.55229 9 9C9 8.44772 9.44771 8 10 8L14 8ZM14 11C14.5523 11 15 11.4477 15 12C15 12.5523 14.5523 13 14 13L10 13C9.44772 13 9 12.5523 9 12C9 11.4477 9.44771 11 10 11L14 11ZM15 15C15 14.4477 14.5523 14 14 14L10 14C9.44772 14 9 14.4477 9 15C9 15.5523 9.44772 16 10 16L14 16C14.5523 16 15 15.5523 15 15Z", fill: "currentColor" }));
|
|
712
|
+
}, Br = W(Yr), Hr = (p, s) => {
|
|
713
|
+
var l = p, {
|
|
714
|
+
title: t,
|
|
715
|
+
titleId: a
|
|
716
|
+
} = l, o = P(l, [
|
|
717
|
+
"title",
|
|
718
|
+
"titleId"
|
|
719
|
+
]);
|
|
720
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("rect", { width: 24, height: 24, rx: 4, fill: "black", fillOpacity: 0.5 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 19L5 19L5 5L19 5L19 19ZM20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20ZM18 14C18 14.5523 17.5523 15 17 15C16.4477 15 16 14.5523 16 14L16 10C16 9.44772 16.4477 9 17 9C17.5523 9 18 9.44771 18 10L18 14ZM15 14C15 14.5523 14.5523 15 14 15C13.4477 15 13 14.5523 13 14L13 10C13 9.44772 13.4477 9 14 9C14.5523 9 15 9.44772 15 10L15 14ZM11 15C11.5523 15 12 14.5523 12 14L12 10C12 9.44772 11.5523 9 11 9C10.4477 9 10 9.44772 10 10L10 14C10 14.5523 10.4477 15 11 15Z", fill: "currentColor" }));
|
|
721
|
+
}, Ur = W(Hr), zr = (p, s) => {
|
|
722
|
+
var l = p, {
|
|
723
|
+
title: t,
|
|
724
|
+
titleId: a
|
|
725
|
+
} = l, o = P(l, [
|
|
726
|
+
"title",
|
|
727
|
+
"titleId"
|
|
728
|
+
]);
|
|
729
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("rect", { y: 24, width: 24, height: 24, rx: 4, transform: "rotate(-90 0 24)", fill: "black", fillOpacity: 0.5 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5 19L5 5L19 5L19 19L5 19ZM4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20L19 20L5 20L4 20ZM10 18C9.44772 18 9 17.5523 9 17C9 16.4477 9.44772 16 10 16L14 16C14.5523 16 15 16.4477 15 17C15 17.5523 14.5523 18 14 18L10 18ZM10 15C9.44772 15 9 14.5523 9 14C9 13.4477 9.44771 13 10 13L14 13C14.5523 13 15 13.4477 15 14C15 14.5523 14.5523 15 14 15L10 15ZM9 11C9 11.5523 9.44771 12 10 12L14 12C14.5523 12 15 11.5523 15 11C15 10.4477 14.5523 10 14 10L10 10C9.44771 10 9 10.4477 9 11Z", fill: "currentColor" }));
|
|
730
|
+
}, Jr = W(zr), qr = (p, s) => {
|
|
731
|
+
var l = p, {
|
|
732
|
+
title: t,
|
|
733
|
+
titleId: a
|
|
734
|
+
} = l, o = P(l, [
|
|
735
|
+
"title",
|
|
736
|
+
"titleId"
|
|
737
|
+
]);
|
|
738
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("rect", { width: 24, height: 24, rx: 4, fill: "black", fillOpacity: 0.5 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5 5H19V19H5V5ZM4 4H5H19H20V5V19V20H19H5H4V19V5V4ZM6 10C6 9.44772 6.44772 9 7 9C7.55228 9 8 9.44772 8 10V14C8 14.5523 7.55228 15 7 15C6.44772 15 6 14.5523 6 14V10ZM9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10V14C11 14.5523 10.5523 15 10 15C9.44772 15 9 14.5523 9 14V10ZM13 9C12.4477 9 12 9.44772 12 10V14C12 14.5523 12.4477 15 13 15C13.5523 15 14 14.5523 14 14V10C14 9.44772 13.5523 9 13 9Z", fill: "currentColor" }));
|
|
739
|
+
}, Gr = W(qr), Kr = (p, s) => {
|
|
740
|
+
var l = p, {
|
|
741
|
+
title: t,
|
|
742
|
+
titleId: a
|
|
743
|
+
} = l, o = P(l, [
|
|
744
|
+
"title",
|
|
745
|
+
"titleId"
|
|
746
|
+
]);
|
|
747
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("rect", { y: 24, width: 24, height: 24, rx: 4, transform: "rotate(-90 0 24)", fill: "black", fillOpacity: 0.5 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 5L19 19L5 19L5 5L19 5ZM20 4L20 5L20 19L20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4ZM14 6C14.5523 6 15 6.44772 15 7C15 7.55229 14.5523 8 14 8L10 8C9.44772 8 9 7.55229 9 7C9 6.44772 9.44772 6 10 6L14 6ZM14 9C14.5523 9 15 9.44772 15 10C15 10.5523 14.5523 11 14 11L10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9L14 9ZM15 13C15 12.4477 14.5523 12 14 12L10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14L14 14C14.5523 14 15 13.5523 15 13Z", fill: "currentColor" }));
|
|
748
|
+
}, Xr = W(Kr), Qr = (p, s) => {
|
|
749
|
+
var l = p, {
|
|
750
|
+
title: t,
|
|
751
|
+
titleId: a
|
|
752
|
+
} = l, o = P(l, [
|
|
753
|
+
"title",
|
|
754
|
+
"titleId"
|
|
755
|
+
]);
|
|
756
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("path", { d: "M0.999999 20.25L1 3.75", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M23 20.25L23 3.75", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M12 12L20.5 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M17.5 9L20.5 12L17.5 15", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M12 12L4 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M7 15L4 12L7 9", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
757
|
+
}, et = W(Qr), rt = (p, s) => {
|
|
758
|
+
var l = p, {
|
|
759
|
+
title: t,
|
|
760
|
+
titleId: a
|
|
761
|
+
} = l, o = P(l, [
|
|
762
|
+
"title",
|
|
763
|
+
"titleId"
|
|
764
|
+
]);
|
|
765
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("path", { d: "M1 12L6 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M3 9L6 12L3 15", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M23 12L18 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M21 15L18 12L21 9", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("rect", { x: 8.75, y: 2.75, width: 6.5, height: 18.5, rx: 1.25, stroke: "currentColor", strokeWidth: 1.5 }));
|
|
766
|
+
}, tt = W(rt), nt = (p, s) => {
|
|
767
|
+
var l = p, {
|
|
768
|
+
title: t,
|
|
769
|
+
titleId: a
|
|
770
|
+
} = l, o = P(l, [
|
|
771
|
+
"title",
|
|
772
|
+
"titleId"
|
|
773
|
+
]);
|
|
774
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("path", { d: "M14.6514 19.0977L11.9998 21.7493L9.34814 19.0977", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M12 15V21.75", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M9.34814 4.90163L11.9998 2.25L14.6514 4.90163", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M12 9V2.25", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M4.90163 14.6509L2.25 11.9993L4.90163 9.34766", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M9 12H2.25", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M19.0981 9.34766L21.7498 11.9993L19.0981 14.6509", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M15 12H21.75", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
775
|
+
}, ot = W(nt), at = (p, s) => {
|
|
776
|
+
var l = p, {
|
|
777
|
+
title: t,
|
|
778
|
+
titleId: a
|
|
779
|
+
} = l, o = P(l, [
|
|
780
|
+
"title",
|
|
781
|
+
"titleId"
|
|
782
|
+
]);
|
|
783
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("path", { d: "M3.75 0.999999L20.25 1", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M3.75 23L20.25 23", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M12 12L12 20.5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M15 17.5L12 20.5L9 17.5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M12 12L12 4", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M9 7L12 4L15 7", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
784
|
+
}, it = W(at), lt = (p, s) => {
|
|
785
|
+
var l = p, {
|
|
786
|
+
title: t,
|
|
787
|
+
titleId: a
|
|
788
|
+
} = l, o = P(l, [
|
|
789
|
+
"title",
|
|
790
|
+
"titleId"
|
|
791
|
+
]);
|
|
792
|
+
return /* @__PURE__ */ i.createElement("svg", w({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: s, "aria-labelledby": a }, o), t ? /* @__PURE__ */ i.createElement("title", { id: a }, t) : null, /* @__PURE__ */ i.createElement("path", { d: "M12 1L12 6", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M15 3L12 6L9 3", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M12 23L12 18", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M9 21L12 18L15 21", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("rect", { x: 21.25, y: 8.75, width: 6.5, height: 18.5, rx: 1.25, transform: "rotate(90 21.25 8.75)", stroke: "currentColor", strokeWidth: 1.5 }));
|
|
793
|
+
}, st = W(lt), ct = {
|
|
794
|
+
horizontalExtend: et,
|
|
795
|
+
horizontalNormal: tt,
|
|
796
|
+
verticalExtend: it,
|
|
797
|
+
verticalNormal: st,
|
|
798
|
+
moveArrows: ot,
|
|
799
|
+
alignStart: Gr,
|
|
800
|
+
alignCenter: Nr,
|
|
801
|
+
alignEnd: Ur,
|
|
802
|
+
alignStartV: Xr,
|
|
803
|
+
alignCenterV: Br,
|
|
804
|
+
alignEndV: Jr
|
|
805
|
+
}, Le = ({ className: t, name: a, onClick: o }) => {
|
|
806
|
+
const s = ct[a];
|
|
807
|
+
return /* @__PURE__ */ R.jsx(s, { className: t, onClick: o });
|
|
808
|
+
}, ge = ["start", "centered", "end"];
|
|
809
|
+
function ht({
|
|
810
|
+
id: t,
|
|
811
|
+
className: a,
|
|
812
|
+
vertical: o,
|
|
813
|
+
stretch: s,
|
|
814
|
+
middle: p,
|
|
815
|
+
bottom: l,
|
|
1058
816
|
disabled: C,
|
|
1059
|
-
align:
|
|
1060
|
-
realignable:
|
|
1061
|
-
children:
|
|
1062
|
-
|
|
817
|
+
align: L,
|
|
818
|
+
realignable: v,
|
|
819
|
+
children: x,
|
|
820
|
+
// Picky stuff
|
|
821
|
+
style: b,
|
|
1063
822
|
editorStyle: j,
|
|
1064
823
|
iconColor: M = "#FFFFFF",
|
|
1065
824
|
onAlignChange: S,
|
|
1066
|
-
onClick:
|
|
825
|
+
onClick: g
|
|
1067
826
|
}) {
|
|
1068
|
-
const [
|
|
1069
|
-
|
|
1070
|
-
const _ = requestAnimationFrame(() =>
|
|
827
|
+
const [V, F] = me(!1);
|
|
828
|
+
Pr(() => {
|
|
829
|
+
const _ = requestAnimationFrame(() => F(!0));
|
|
1071
830
|
return () => {
|
|
1072
|
-
cancelAnimationFrame(_),
|
|
831
|
+
cancelAnimationFrame(_), F(!1);
|
|
1073
832
|
};
|
|
1074
833
|
}, []);
|
|
1075
|
-
const {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
834
|
+
const { editing: E, onAlignChange: m } = Ee(), B = X(() => {
|
|
835
|
+
if (!v) return;
|
|
836
|
+
const _ = ge[(L ? ge.indexOf(L) + 1 : 0) % ge.length];
|
|
837
|
+
S == null || S(_), m == null || m(t, _);
|
|
838
|
+
}, [L, v, S, m, t]), H = X(() => {
|
|
839
|
+
E && (g == null || g(t));
|
|
840
|
+
}, [t, E, g]), U = ie(
|
|
841
|
+
() => ({
|
|
842
|
+
position: "absolute",
|
|
843
|
+
left: o ? l ? 0 : void 0 : "50%",
|
|
844
|
+
right: o ? l ? void 0 : 0 : "50%",
|
|
845
|
+
bottom: !o && !l ? 0 : o ? "50%" : void 0,
|
|
846
|
+
top: o ? "50%" : l ? 0 : void 0,
|
|
847
|
+
opacity: !C && E && v ? 1 : 0,
|
|
848
|
+
pointerEvents: !C && E && v ? "auto" : "none",
|
|
849
|
+
transition: "all 0.5s ease-in-out"
|
|
850
|
+
}),
|
|
851
|
+
[o, l, C, E, v]
|
|
852
|
+
), A = ie(
|
|
853
|
+
() => he.map(
|
|
854
|
+
x,
|
|
855
|
+
(_) => Dr(_, {
|
|
856
|
+
bottom: l,
|
|
857
|
+
vertical: o
|
|
858
|
+
})
|
|
859
|
+
),
|
|
860
|
+
[x, l, o]
|
|
861
|
+
);
|
|
862
|
+
return V ? /* @__PURE__ */ R.jsx(
|
|
863
|
+
Fr,
|
|
864
|
+
{
|
|
865
|
+
droppableId: t,
|
|
866
|
+
direction: o ? "vertical" : "horizontal",
|
|
867
|
+
isDropDisabled: C,
|
|
868
|
+
children: (_, z) => /* @__PURE__ */ R.jsxs(
|
|
869
|
+
"div",
|
|
870
|
+
oe(w({
|
|
871
|
+
ref: _.innerRef
|
|
872
|
+
}, _.droppableProps), {
|
|
873
|
+
className: [
|
|
874
|
+
a,
|
|
875
|
+
"area",
|
|
876
|
+
s && "stretch",
|
|
877
|
+
p && "middle",
|
|
878
|
+
l && "bottom",
|
|
879
|
+
L === "centered" ? "just-centered" : L === "end" ? "just-end" : "start",
|
|
880
|
+
E ? "area-transition-in" : "area-transition-out"
|
|
881
|
+
].filter(Boolean).join(" "),
|
|
882
|
+
style: w({
|
|
883
|
+
flexDirection: o ? "column" : "row",
|
|
884
|
+
minHeight: !he.count(x) && !E ? "0px" : "26px",
|
|
885
|
+
minWidth: !he.count(x) && !E ? "0px" : "46px",
|
|
886
|
+
opacity: z.isDraggingOver ? 0.8 : 1
|
|
887
|
+
}, E ? j : b),
|
|
888
|
+
onClick: H,
|
|
889
|
+
children: [
|
|
890
|
+
A,
|
|
891
|
+
_.placeholder,
|
|
892
|
+
/* @__PURE__ */ R.jsx("div", { style: U, children: /* @__PURE__ */ R.jsx(
|
|
893
|
+
"div",
|
|
894
|
+
{
|
|
895
|
+
onClick: B,
|
|
896
|
+
style: {
|
|
897
|
+
cursor: "pointer",
|
|
898
|
+
color: M
|
|
899
|
+
},
|
|
900
|
+
children: /* @__PURE__ */ R.jsx(
|
|
901
|
+
Le,
|
|
902
|
+
{
|
|
903
|
+
name: L === "centered" ? o ? "alignCenterV" : "alignCenter" : L === "end" ? o ? "alignEndV" : "alignEnd" : o ? "alignStartV" : "alignStart"
|
|
904
|
+
}
|
|
905
|
+
)
|
|
906
|
+
}
|
|
907
|
+
) })
|
|
908
|
+
]
|
|
1124
909
|
})
|
|
1125
|
-
|
|
1126
|
-
}
|
|
1127
|
-
|
|
910
|
+
)
|
|
911
|
+
}
|
|
912
|
+
) : null;
|
|
1128
913
|
}
|
|
1129
|
-
function
|
|
914
|
+
function gt(j) {
|
|
1130
915
|
var M = j, {
|
|
1131
|
-
className:
|
|
1132
|
-
children:
|
|
1133
|
-
id:
|
|
1134
|
-
index:
|
|
1135
|
-
extendable:
|
|
1136
|
-
extended:
|
|
916
|
+
className: t,
|
|
917
|
+
children: a,
|
|
918
|
+
id: o,
|
|
919
|
+
index: s,
|
|
920
|
+
extendable: p = !1,
|
|
921
|
+
extended: l = !1,
|
|
1137
922
|
disabled: C = !1,
|
|
1138
|
-
style:
|
|
1139
|
-
editorStyle:
|
|
1140
|
-
iconColor:
|
|
1141
|
-
} = M,
|
|
923
|
+
style: L,
|
|
924
|
+
editorStyle: v,
|
|
925
|
+
iconColor: x = "rgb(255, 255, 255)"
|
|
926
|
+
} = M, b = P(M, [
|
|
1142
927
|
"className",
|
|
1143
928
|
"children",
|
|
1144
929
|
"id",
|
|
@@ -1146,91 +931,81 @@ function et(j) {
|
|
|
1146
931
|
"extendable",
|
|
1147
932
|
"extended",
|
|
1148
933
|
"disabled",
|
|
934
|
+
// Picky stuff.
|
|
1149
935
|
"style",
|
|
1150
936
|
"editorStyle",
|
|
1151
937
|
"iconColor"
|
|
1152
938
|
]);
|
|
1153
|
-
const {
|
|
1154
|
-
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
return /* @__PURE__ */
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
style: k(k({
|
|
1184
|
-
flex: v && !_.isDragging ? "auto" : void 0,
|
|
939
|
+
const { vertical: S } = b, { editing: g, isDragging: V, onExtend: F } = Ee(), [E, m] = me(!1), B = X(() => {
|
|
940
|
+
p && (m(!1), F == null || F(o, !l));
|
|
941
|
+
}, [p, F, l, o]), H = ie(
|
|
942
|
+
() => ({
|
|
943
|
+
alignItems: "start",
|
|
944
|
+
float: "left",
|
|
945
|
+
color: x
|
|
946
|
+
}),
|
|
947
|
+
[x]
|
|
948
|
+
), U = ie(
|
|
949
|
+
() => ({
|
|
950
|
+
id: o,
|
|
951
|
+
editing: g,
|
|
952
|
+
isDragging: V,
|
|
953
|
+
isHovered: E,
|
|
954
|
+
extended: l,
|
|
955
|
+
extendable: p,
|
|
956
|
+
disabled: C,
|
|
957
|
+
index: s
|
|
958
|
+
}),
|
|
959
|
+
[C, g, p, l, o, s, V, E]
|
|
960
|
+
);
|
|
961
|
+
return /* @__PURE__ */ R.jsx(Vr, { draggableId: o, index: s, isDragDisabled: C, children: (A, _) => /* @__PURE__ */ R.jsx(
|
|
962
|
+
"div",
|
|
963
|
+
oe(w({
|
|
964
|
+
ref: A.innerRef
|
|
965
|
+
}, A.draggableProps), {
|
|
966
|
+
className: `${t} item`,
|
|
967
|
+
style: w(w({
|
|
968
|
+
flex: l && !_.isDragging ? "auto" : void 0,
|
|
1185
969
|
opacity: _.isDragging ? 0.5 : 1
|
|
1186
|
-
},
|
|
1187
|
-
children: /* @__PURE__ */
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
position: "relative",
|
|
1191
|
-
minHeight: m && !C ? "35px" : void 0,
|
|
1192
|
-
width: !S && v ? "100%" : void 0,
|
|
1193
|
-
minWidth: m && !C ? b ? "70px" : "35px" : void 0,
|
|
1194
|
-
height: S && v ? "100%" : void 0
|
|
1195
|
-
},
|
|
1196
|
-
onMouseEnter: () => h && L(!0),
|
|
1197
|
-
onMouseLeave: () => h && L(!1),
|
|
1198
|
-
onClick: (B) => B.stopPropagation(),
|
|
1199
|
-
children: [typeof c == "function" ? c(Y) : c, /* @__PURE__ */ x("div", {
|
|
1200
|
-
className: "overlay",
|
|
970
|
+
}, g ? v : L), A.draggableProps.style),
|
|
971
|
+
children: /* @__PURE__ */ R.jsxs(
|
|
972
|
+
"div",
|
|
973
|
+
{
|
|
1201
974
|
style: {
|
|
1202
|
-
|
|
975
|
+
position: "relative",
|
|
976
|
+
minHeight: E && !C ? "35px" : void 0,
|
|
977
|
+
width: !S && l ? "100%" : void 0,
|
|
978
|
+
minWidth: E && !C ? p ? "70px" : "35px" : void 0,
|
|
979
|
+
height: S && l ? "100%" : void 0
|
|
1203
980
|
},
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
}))
|
|
1228
|
-
});
|
|
981
|
+
onMouseEnter: () => g && m(!0),
|
|
982
|
+
onMouseLeave: () => g && m(!1),
|
|
983
|
+
onClick: (z) => z.stopPropagation(),
|
|
984
|
+
children: [
|
|
985
|
+
typeof a == "function" ? a(U) : a,
|
|
986
|
+
/* @__PURE__ */ R.jsx(
|
|
987
|
+
"div",
|
|
988
|
+
{
|
|
989
|
+
className: "overlay",
|
|
990
|
+
style: {
|
|
991
|
+
display: !C && g && E && (_.isDragging || !V) ? "block" : "none"
|
|
992
|
+
},
|
|
993
|
+
children: /* @__PURE__ */ R.jsxs("div", { className: "overlay-buttons", style: H, children: [
|
|
994
|
+
/* @__PURE__ */ R.jsx("div", oe(w({}, A.dragHandleProps), { style: { cursor: "grab" }, children: /* @__PURE__ */ R.jsx(Le, { name: "moveArrows" }) })),
|
|
995
|
+
p && /* @__PURE__ */ R.jsx("div", { style: { cursor: "pointer", marginLeft: "8px" }, onClick: B, children: /* @__PURE__ */ R.jsx(Le, { name: S ? "verticalExtend" : "horizontalExtend" }) })
|
|
996
|
+
] })
|
|
997
|
+
}
|
|
998
|
+
)
|
|
999
|
+
]
|
|
1000
|
+
}
|
|
1001
|
+
)
|
|
1002
|
+
})
|
|
1003
|
+
) });
|
|
1229
1004
|
}
|
|
1230
1005
|
export {
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1006
|
+
ht as GridArea,
|
|
1007
|
+
gt as GridItem,
|
|
1008
|
+
vt as GridSection,
|
|
1009
|
+
pt as GridWrapper,
|
|
1010
|
+
Le as Icon
|
|
1236
1011
|
};
|