@dev-blinq/ui-systems 1.0.59 → 1.0.61
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/components/CustomInput/CustomInputProps.d.ts +2 -0
- package/dist/index.js +8 -8
- package/dist/index.mjs +53 -51
- package/dist/style.css +737 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -20,11 +20,11 @@ function Ne() {
|
|
|
20
20
|
Gn = 1;
|
|
21
21
|
var e = J, o = Symbol.for("react.element"), p = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
22
|
function d(S, v, D) {
|
|
23
|
-
var h, C = {},
|
|
24
|
-
D !== void 0 && (
|
|
23
|
+
var h, C = {}, R = null, F = null;
|
|
24
|
+
D !== void 0 && (R = "" + D), v.key !== void 0 && (R = "" + v.key), v.ref !== void 0 && (F = v.ref);
|
|
25
25
|
for (h in v) c.call(v, h) && !g.hasOwnProperty(h) && (C[h] = v[h]);
|
|
26
26
|
if (S && S.defaultProps) for (h in v = S.defaultProps, v) C[h] === void 0 && (C[h] = v[h]);
|
|
27
|
-
return { $$typeof: o, type: S, key:
|
|
27
|
+
return { $$typeof: o, type: S, key: R, ref: F, props: C, _owner: y.current };
|
|
28
28
|
}
|
|
29
29
|
return w.Fragment = p, w.jsx = d, w.jsxs = d, w;
|
|
30
30
|
}
|
|
@@ -41,7 +41,7 @@ var V = {};
|
|
|
41
41
|
var In;
|
|
42
42
|
function De() {
|
|
43
43
|
return In || (In = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var e = J, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), S = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"),
|
|
44
|
+
var e = J, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), S = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, H = "@@iterator";
|
|
45
45
|
function _(n) {
|
|
46
46
|
if (n === null || typeof n != "object")
|
|
47
47
|
return null;
|
|
@@ -69,7 +69,7 @@ function De() {
|
|
|
69
69
|
var jn = !1, wn = !1, Vn = !1, Hn = !1, _n = !1, sn;
|
|
70
70
|
sn = Symbol.for("react.module.reference");
|
|
71
71
|
function Wn(n) {
|
|
72
|
-
return !!(typeof n == "string" || typeof n == "function" || n === c || n === g || _n || n === y || n === D || n === h || Hn || n === F || jn || wn || Vn || typeof n == "object" && n !== null && (n.$$typeof ===
|
|
72
|
+
return !!(typeof n == "string" || typeof n == "function" || n === c || n === g || _n || n === y || n === D || n === h || Hn || n === F || jn || wn || Vn || typeof n == "object" && n !== null && (n.$$typeof === R || n.$$typeof === C || n.$$typeof === d || n.$$typeof === S || n.$$typeof === v || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
@@ -119,7 +119,7 @@ function De() {
|
|
|
119
119
|
case C:
|
|
120
120
|
var i = n.displayName || null;
|
|
121
121
|
return i !== null ? i : b(n.type) || "Memo";
|
|
122
|
-
case
|
|
122
|
+
case R: {
|
|
123
123
|
var s = n, m = s._payload, l = s._init;
|
|
124
124
|
try {
|
|
125
125
|
return b(l(m));
|
|
@@ -237,37 +237,37 @@ function De() {
|
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(l, []);
|
|
240
|
-
} catch (
|
|
241
|
-
i =
|
|
240
|
+
} catch (N) {
|
|
241
|
+
i = N;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(n, [], l);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
l.call();
|
|
247
|
-
} catch (
|
|
248
|
-
i =
|
|
247
|
+
} catch (N) {
|
|
248
|
+
i = N;
|
|
249
249
|
}
|
|
250
250
|
n.call(l.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
i =
|
|
255
|
+
} catch (N) {
|
|
256
|
+
i = N;
|
|
257
257
|
}
|
|
258
258
|
n();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var u =
|
|
263
|
-
`),
|
|
264
|
-
`), f = u.length - 1, A =
|
|
260
|
+
} catch (N) {
|
|
261
|
+
if (N && i && typeof N.stack == "string") {
|
|
262
|
+
for (var u = N.stack.split(`
|
|
263
|
+
`), M = i.stack.split(`
|
|
264
|
+
`), f = u.length - 1, A = M.length - 1; f >= 1 && A >= 0 && u[f] !== M[A]; )
|
|
265
265
|
A--;
|
|
266
266
|
for (; f >= 1 && A >= 0; f--, A--)
|
|
267
|
-
if (u[f] !==
|
|
267
|
+
if (u[f] !== M[A]) {
|
|
268
268
|
if (f !== 1 || A !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (f--, A--, A < 0 || u[f] !==
|
|
270
|
+
if (f--, A--, A < 0 || u[f] !== M[A]) {
|
|
271
271
|
var T = `
|
|
272
272
|
` + u[f].replace(" at new ", " at ");
|
|
273
273
|
return n.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", n.displayName)), typeof n == "function" && Y.set(n, T), T;
|
|
@@ -308,7 +308,7 @@ function De() {
|
|
|
308
308
|
return zn(n.render);
|
|
309
309
|
case C:
|
|
310
310
|
return Z(n.type, a, r);
|
|
311
|
-
case
|
|
311
|
+
case R: {
|
|
312
312
|
var i = n, s = i._payload, m = i._init;
|
|
313
313
|
try {
|
|
314
314
|
return Z(m(s), a, r);
|
|
@@ -334,8 +334,8 @@ function De() {
|
|
|
334
334
|
var u = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof n[l] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var M = Error((i || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw M.name = "Invariant Violation", M;
|
|
339
339
|
}
|
|
340
340
|
u = n[l](a, l, i, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (f) {
|
|
@@ -451,8 +451,8 @@ function De() {
|
|
|
451
451
|
};
|
|
452
452
|
function le(n, a, r, i, s) {
|
|
453
453
|
{
|
|
454
|
-
var m, l = {}, u = null,
|
|
455
|
-
r !== void 0 && (Mn(r), u = "" + r), re(a) && (Mn(a.key), u = "" + a.key), te(a) && (
|
|
454
|
+
var m, l = {}, u = null, M = null;
|
|
455
|
+
r !== void 0 && (Mn(r), u = "" + r), re(a) && (Mn(a.key), u = "" + a.key), te(a) && (M = a.ref, ie(a, s));
|
|
456
456
|
for (m in a)
|
|
457
457
|
K.call(a, m) && !ae.hasOwnProperty(m) && (l[m] = a[m]);
|
|
458
458
|
if (n && n.defaultProps) {
|
|
@@ -460,11 +460,11 @@ function De() {
|
|
|
460
460
|
for (m in f)
|
|
461
461
|
l[m] === void 0 && (l[m] = f[m]);
|
|
462
462
|
}
|
|
463
|
-
if (u ||
|
|
463
|
+
if (u || M) {
|
|
464
464
|
var A = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
465
|
-
u && ue(l, A),
|
|
465
|
+
u && ue(l, A), M && oe(l, A);
|
|
466
466
|
}
|
|
467
|
-
return ce(n, u,
|
|
467
|
+
return ce(n, u, M, s, i, j.current, l);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
var en = U.ReactCurrentOwner, Tn = U.ReactDebugCurrentFrame;
|
|
@@ -584,8 +584,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
584
584
|
if (!l) {
|
|
585
585
|
var u = "";
|
|
586
586
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).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.");
|
|
587
|
-
var
|
|
588
|
-
|
|
587
|
+
var M = se();
|
|
588
|
+
M ? u += M : u += bn();
|
|
589
589
|
var f;
|
|
590
590
|
n === null ? f = "null" : Q(n) ? f = "array" : n !== void 0 && n.$$typeof === o ? (f = "<" + (b(n.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : f = typeof n, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, u);
|
|
591
591
|
}
|
|
@@ -606,11 +606,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
606
606
|
Un(T, n);
|
|
607
607
|
}
|
|
608
608
|
if (K.call(a, "key")) {
|
|
609
|
-
var x = b(n),
|
|
609
|
+
var x = b(n), N = Object.keys(a).filter(function(Ce) {
|
|
610
610
|
return Ce !== "key";
|
|
611
|
-
}), rn =
|
|
611
|
+
}), rn = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
612
|
if (!Pn[x + rn]) {
|
|
613
|
-
var fe =
|
|
613
|
+
var fe = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
614
614
|
E(`A props object containing a "key" prop is being spread into JSX:
|
|
615
615
|
let props = %s;
|
|
616
616
|
<%s {...props} />
|
|
@@ -1227,28 +1227,30 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1227
1227
|
disabled: p = !1,
|
|
1228
1228
|
label: c = "",
|
|
1229
1229
|
errExists: y = !1,
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1230
|
+
errorMsg: g = "",
|
|
1231
|
+
placeholder: d,
|
|
1232
|
+
leftIcon: S,
|
|
1233
|
+
rightIcon: v,
|
|
1234
|
+
style: D,
|
|
1235
|
+
onAction: h,
|
|
1236
|
+
...C
|
|
1236
1237
|
}) => {
|
|
1237
|
-
const
|
|
1238
|
+
const R = {
|
|
1238
1239
|
designType: o,
|
|
1239
|
-
placeholder:
|
|
1240
|
+
placeholder: d,
|
|
1240
1241
|
disabled: p,
|
|
1241
1242
|
errExists: y,
|
|
1242
|
-
leftIcon:
|
|
1243
|
-
rightIcon:
|
|
1244
|
-
style:
|
|
1245
|
-
onAction:
|
|
1243
|
+
leftIcon: S,
|
|
1244
|
+
rightIcon: v,
|
|
1245
|
+
style: D,
|
|
1246
|
+
onAction: h,
|
|
1246
1247
|
// application if type is action
|
|
1247
|
-
props:
|
|
1248
|
+
props: C
|
|
1248
1249
|
};
|
|
1249
1250
|
return /* @__PURE__ */ t.jsxs("div", { children: [
|
|
1250
1251
|
c && /* @__PURE__ */ t.jsx(B, { category: "text", Size: "sm", bold: "semibold", children: c }),
|
|
1251
|
-
/* @__PURE__ */ t.jsx(Ve, { ...
|
|
1252
|
+
/* @__PURE__ */ t.jsx(Ve, { ...R }),
|
|
1253
|
+
y && /* @__PURE__ */ t.jsx("p", { className: "error-message-input", children: g })
|
|
1252
1254
|
] });
|
|
1253
1255
|
}, $e = ({
|
|
1254
1256
|
placeholder: e,
|
|
@@ -1259,8 +1261,8 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1259
1261
|
...g
|
|
1260
1262
|
}) => {
|
|
1261
1263
|
const [d, S] = J.useState(""), [v, D] = I(g.rows || 8), h = (C) => {
|
|
1262
|
-
D((
|
|
1263
|
-
const F = C === "down" ?
|
|
1264
|
+
D((R) => {
|
|
1265
|
+
const F = C === "down" ? R + 1 : R - 1;
|
|
1264
1266
|
return F < 2 ? 2 : F;
|
|
1265
1267
|
});
|
|
1266
1268
|
};
|
|
@@ -1308,12 +1310,12 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1308
1310
|
{
|
|
1309
1311
|
style: { cursor: "ns-resize", marginLeft: "auto" },
|
|
1310
1312
|
onMouseDown: (C) => {
|
|
1311
|
-
let
|
|
1313
|
+
let R = C.clientY;
|
|
1312
1314
|
const F = 10, O = (_) => {
|
|
1313
|
-
const U = _.clientY -
|
|
1315
|
+
const U = _.clientY - R;
|
|
1314
1316
|
if (Math.abs(U) > F) {
|
|
1315
1317
|
const E = U > 0 ? "down" : "up";
|
|
1316
|
-
h(E),
|
|
1318
|
+
h(E), R = _.clientY;
|
|
1317
1319
|
}
|
|
1318
1320
|
}, H = () => {
|
|
1319
1321
|
document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", H);
|