@slashid/jump-page 0.0.8-package.6 → 0.0.8-package.9
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/package/main.js +111 -106
- package/package/main.js.map +1 -1
- package/package/src/components/card/card.component.d.ts +3 -1
- package/package/src/components/flow/flow.loading.d.ts +1 -0
- package/package/src/components/flow/flow.types.d.ts +6 -0
- package/package/src/components/text/use-i18n.d.ts +1 -1
- package/package/style.css +1 -1
- package/package.json +4 -4
- package/dist/_astro/app.30a3950e.js +0 -40
- package/dist/_astro/client.b71ecfc5.js +0 -24
- package/dist/_astro/index.03be2d59.js +0 -9
- package/dist/_astro/sdk.080ae68e.css +0 -1
- package/dist/_astro/sdk.35b1e93e.css +0 -1
- package/dist/favicon.png +0 -0
- package/dist/sdk.html +0 -7
- package/package/dist/_astro/app.30a3950e.d.ts +0 -2
- package/package/dist/_astro/client.b71ecfc5.d.ts +0 -7
- package/package/dist/_astro/index.03be2d59.d.ts +0 -3
package/package/main.js
CHANGED
|
@@ -14,15 +14,15 @@ function qa() {
|
|
|
14
14
|
if (He)
|
|
15
15
|
return X;
|
|
16
16
|
He = 1;
|
|
17
|
-
var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
18
|
-
function v(b, f,
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
n.call(f,
|
|
17
|
+
var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function v(b, f, w) {
|
|
19
|
+
var p, M = {}, S = null, E = null;
|
|
20
|
+
w !== void 0 && (S = "" + w), f.key !== void 0 && (S = "" + f.key), f.ref !== void 0 && (E = f.ref);
|
|
21
|
+
for (p in f)
|
|
22
|
+
n.call(f, p) && !m.hasOwnProperty(p) && (M[p] = f[p]);
|
|
23
23
|
if (b && b.defaultProps)
|
|
24
|
-
for (
|
|
25
|
-
M[
|
|
24
|
+
for (p in f = b.defaultProps, f)
|
|
25
|
+
M[p] === void 0 && (M[p] = f[p]);
|
|
26
26
|
return { $$typeof: r, type: b, key: S, ref: E, props: M, _owner: i.current };
|
|
27
27
|
}
|
|
28
28
|
return X.Fragment = o, X.jsx = v, X.jsxs = v, X;
|
|
@@ -40,7 +40,7 @@ var ee = {};
|
|
|
40
40
|
var Ze;
|
|
41
41
|
function Va() {
|
|
42
42
|
return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"),
|
|
43
|
+
var a = ce, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), F = Symbol.iterator, fe = "@@iterator";
|
|
44
44
|
function G(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
@@ -65,10 +65,10 @@ function Va() {
|
|
|
65
65
|
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var he = !1, Se = !1,
|
|
68
|
+
var he = !1, Se = !1, C = !1, _ = !1, $ = !1, W;
|
|
69
69
|
W = Symbol.for("react.module.reference");
|
|
70
70
|
function te(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === n || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === n || e === m || $ || e === i || e === w || e === p || _ || e === E || he || Se || C || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === M || e.$$typeof === v || e.$$typeof === b || e.$$typeof === f || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -96,13 +96,13 @@ function Va() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case o:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case m:
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case i:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case z:
|
|
104
|
-
return "Suspense";
|
|
105
103
|
case w:
|
|
104
|
+
return "Suspense";
|
|
105
|
+
case p:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
@@ -260,18 +260,18 @@ function Va() {
|
|
|
260
260
|
if (I && d && typeof I.stack == "string") {
|
|
261
261
|
for (var u = I.stack.split(`
|
|
262
262
|
`), k = d.stack.split(`
|
|
263
|
-
`),
|
|
263
|
+
`), g = u.length - 1, y = k.length - 1; g >= 1 && y >= 0 && u[g] !== k[y]; )
|
|
264
264
|
y--;
|
|
265
|
-
for (;
|
|
266
|
-
if (u[
|
|
267
|
-
if (
|
|
265
|
+
for (; g >= 1 && y >= 0; g--, y--)
|
|
266
|
+
if (u[g] !== k[y]) {
|
|
267
|
+
if (g !== 1 || y !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (
|
|
269
|
+
if (g--, y--, y < 0 || u[g] !== k[y]) {
|
|
270
270
|
var P = `
|
|
271
|
-
` + u[
|
|
271
|
+
` + u[g].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, P), P;
|
|
273
273
|
}
|
|
274
|
-
while (
|
|
274
|
+
while (g >= 1 && y >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
@@ -296,9 +296,9 @@ function Va() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return ne(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case z:
|
|
300
|
-
return ne("Suspense");
|
|
301
299
|
case w:
|
|
300
|
+
return ne("Suspense");
|
|
301
|
+
case p:
|
|
302
302
|
return ne("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
@@ -337,8 +337,8 @@ function Va() {
|
|
|
337
337
|
throw k.name = "Invariant Violation", k;
|
|
338
338
|
}
|
|
339
339
|
u = e[c](t, c, d, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
-
} catch (
|
|
341
|
-
u =
|
|
340
|
+
} catch (g) {
|
|
341
|
+
u = g;
|
|
342
342
|
}
|
|
343
343
|
u && !(u instanceof Error) && (ue(h), j("%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).", d || "React class", l, c, typeof u), ue(null)), u instanceof Error && !(u.message in Te) && (Te[u.message] = !0, ue(h), j("Failed %s type: %s", l, u.message), ue(null));
|
|
344
344
|
}
|
|
@@ -455,9 +455,9 @@ function Va() {
|
|
|
455
455
|
for (x in t)
|
|
456
456
|
de.call(t, x) && !ma.hasOwnProperty(x) && (c[x] = t[x]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
|
-
var
|
|
459
|
-
for (x in
|
|
460
|
-
c[x] === void 0 && (c[x] =
|
|
458
|
+
var g = e.defaultProps;
|
|
459
|
+
for (x in g)
|
|
460
|
+
c[x] === void 0 && (c[x] = g[x]);
|
|
461
461
|
}
|
|
462
462
|
if (u || k) {
|
|
463
463
|
var y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -592,8 +592,8 @@ Check the top-level render call using <` + l + ">.");
|
|
|
592
592
|
(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.");
|
|
593
593
|
var k = Ra(h);
|
|
594
594
|
k ? u += k : u += qe();
|
|
595
|
-
var
|
|
596
|
-
e === null ?
|
|
595
|
+
var g;
|
|
596
|
+
e === null ? g = "null" : ve(e) ? g = "array" : e !== void 0 && e.$$typeof === r ? (g = "<" + (R(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, u);
|
|
597
597
|
}
|
|
598
598
|
var y = Ma(e, t, l, h, x);
|
|
599
599
|
if (y == null)
|
|
@@ -687,15 +687,17 @@ const la = Da(
|
|
|
687
687
|
className: o,
|
|
688
688
|
type: n = "button",
|
|
689
689
|
variant: i = "primary",
|
|
690
|
-
testId:
|
|
690
|
+
testId: m,
|
|
691
691
|
icon: v,
|
|
692
692
|
disabled: b,
|
|
693
|
-
loading: f = !1
|
|
694
|
-
|
|
693
|
+
loading: f = !1,
|
|
694
|
+
style: w
|
|
695
|
+
}, p) => /* @__PURE__ */ s.jsx(
|
|
695
696
|
"button",
|
|
696
697
|
{
|
|
697
|
-
|
|
698
|
-
|
|
698
|
+
style: w,
|
|
699
|
+
ref: p,
|
|
700
|
+
"data-testid": m,
|
|
699
701
|
type: n,
|
|
700
702
|
disabled: b,
|
|
701
703
|
className: N(
|
|
@@ -721,13 +723,14 @@ const nr = ({
|
|
|
721
723
|
label: o,
|
|
722
724
|
placeholder: n = "",
|
|
723
725
|
autoComplete: i = "",
|
|
724
|
-
value:
|
|
726
|
+
value: m,
|
|
725
727
|
onChange: v,
|
|
726
|
-
type: b = "text"
|
|
728
|
+
type: b = "text",
|
|
729
|
+
style: f
|
|
727
730
|
}) => {
|
|
728
|
-
const
|
|
729
|
-
(
|
|
730
|
-
v(
|
|
731
|
+
const w = La(
|
|
732
|
+
(p) => {
|
|
733
|
+
v(p);
|
|
731
734
|
},
|
|
732
735
|
[v]
|
|
733
736
|
);
|
|
@@ -736,13 +739,14 @@ const nr = ({
|
|
|
736
739
|
/* @__PURE__ */ s.jsx(
|
|
737
740
|
"input",
|
|
738
741
|
{
|
|
742
|
+
style: f,
|
|
739
743
|
type: b,
|
|
740
744
|
id: a,
|
|
741
745
|
name: r,
|
|
742
746
|
className: er,
|
|
743
747
|
placeholder: n,
|
|
744
|
-
value:
|
|
745
|
-
onChange:
|
|
748
|
+
value: m,
|
|
749
|
+
onChange: w,
|
|
746
750
|
autoComplete: i
|
|
747
751
|
}
|
|
748
752
|
)
|
|
@@ -871,6 +875,7 @@ const ir = () => /* @__PURE__ */ s.jsxs(
|
|
|
871
875
|
a.error && rr,
|
|
872
876
|
a.className
|
|
873
877
|
),
|
|
878
|
+
style: a.style,
|
|
874
879
|
children: [
|
|
875
880
|
/* @__PURE__ */ s.jsx(nr, { ...a, type: r ? "text" : "password" }),
|
|
876
881
|
/* @__PURE__ */ s.jsx(
|
|
@@ -887,7 +892,7 @@ const ir = () => /* @__PURE__ */ s.jsxs(
|
|
|
887
892
|
}
|
|
888
893
|
);
|
|
889
894
|
};
|
|
890
|
-
var cr = "_1rf2mux3", fr = "_1rf2mux5", hr = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4" }, br = "
|
|
895
|
+
var cr = "_1rf2mux3", fr = "_1rf2mux5", hr = { blue: "_1rf2mux6 _1rf2mux4", red: "_1rf2mux7 _1rf2mux4", primary: "_1rf2mux8 _1rf2mux4" }, br = "_1rf2muxa", xr = { blue: "_1rf2muxb _1rf2mux9", red: "_1rf2muxc _1rf2mux9", primary: "_1rf2muxd _1rf2mux9" }, _r = "_1rf2muxf", vr = { blue: "_1rf2muxg _1rf2muxe", red: "_1rf2muxh _1rf2muxe", primary: "_1rf2muxi _1rf2muxe" }, pr = "_1rf2muxj";
|
|
891
896
|
const Me = ({
|
|
892
897
|
children: a,
|
|
893
898
|
className: r,
|
|
@@ -959,7 +964,7 @@ var mr = (a, r, o) => {
|
|
|
959
964
|
}, ia = (a) => (r) => {
|
|
960
965
|
var o = a.defaultClassName, n = Qe(Qe({}, a.defaultVariants), r);
|
|
961
966
|
for (var i in n) {
|
|
962
|
-
var
|
|
967
|
+
var m, v = (m = n[i]) !== null && m !== void 0 ? m : a.defaultVariants[i];
|
|
963
968
|
if (v != null) {
|
|
964
969
|
var b = v;
|
|
965
970
|
typeof b == "boolean" && (b = b === !0 ? "true" : "false");
|
|
@@ -970,8 +975,8 @@ var mr = (a, r, o) => {
|
|
|
970
975
|
f && (o += " " + f);
|
|
971
976
|
}
|
|
972
977
|
}
|
|
973
|
-
for (var [
|
|
974
|
-
mr(
|
|
978
|
+
for (var [w, p] of a.compoundVariants)
|
|
979
|
+
mr(w, n, a.defaultVariants) && (o += " " + p);
|
|
975
980
|
return o;
|
|
976
981
|
}, gr = ia({ defaultClassName: "s3l9sv0", variantClassNames: { direction: { vertical: "s3l9sv1", horizontal: "s3l9sv2" }, space: { between: "s3l9sv3", evenly: "s3l9sv4" } }, defaultVariants: { direction: "vertical" }, compoundVariants: [] });
|
|
977
982
|
function zr(a, r) {
|
|
@@ -1022,43 +1027,43 @@ function ze(a) {
|
|
|
1022
1027
|
var jr = (a) => function() {
|
|
1023
1028
|
for (var r = arguments.length, o = new Array(r), n = 0; n < r; n++)
|
|
1024
1029
|
o[n] = arguments[n];
|
|
1025
|
-
var i = Object.assign({}, ...o.map((f) => f.styles)),
|
|
1026
|
-
var
|
|
1030
|
+
var i = Object.assign({}, ...o.map((f) => f.styles)), m = Object.keys(i), v = m.filter((f) => "mappings" in i[f]), b = (f) => {
|
|
1031
|
+
var w = [], p = {}, M = ze({}, f), S = !1;
|
|
1027
1032
|
for (var E of v) {
|
|
1028
1033
|
var F = f[E];
|
|
1029
1034
|
if (F != null) {
|
|
1030
1035
|
var fe = i[E];
|
|
1031
1036
|
S = !0;
|
|
1032
1037
|
for (var G of fe.mappings)
|
|
1033
|
-
|
|
1038
|
+
p[G] = F, M[G] == null && delete M[G];
|
|
1034
1039
|
}
|
|
1035
1040
|
}
|
|
1036
|
-
var D = S ? ze(ze({},
|
|
1037
|
-
var
|
|
1041
|
+
var D = S ? ze(ze({}, p), M) : f, j = function() {
|
|
1042
|
+
var C = D[O], _ = i[O];
|
|
1038
1043
|
try {
|
|
1039
1044
|
if (_.mappings)
|
|
1040
1045
|
return "continue";
|
|
1041
|
-
if (typeof
|
|
1042
|
-
if (process.env.NODE_ENV !== "production" && !_.values[
|
|
1046
|
+
if (typeof C == "string" || typeof C == "number") {
|
|
1047
|
+
if (process.env.NODE_ENV !== "production" && !_.values[C].defaultClass)
|
|
1043
1048
|
throw new Error();
|
|
1044
|
-
|
|
1045
|
-
} else if (Array.isArray(
|
|
1046
|
-
for (var $ = 0; $ <
|
|
1047
|
-
var W =
|
|
1049
|
+
w.push(_.values[C].defaultClass);
|
|
1050
|
+
} else if (Array.isArray(C))
|
|
1051
|
+
for (var $ = 0; $ < C.length; $++) {
|
|
1052
|
+
var W = C[$];
|
|
1048
1053
|
if (W != null) {
|
|
1049
1054
|
var te = _.responsiveArray[$];
|
|
1050
1055
|
if (process.env.NODE_ENV !== "production" && !_.values[W].conditions[te])
|
|
1051
1056
|
throw new Error();
|
|
1052
|
-
|
|
1057
|
+
w.push(_.values[W].conditions[te]);
|
|
1053
1058
|
}
|
|
1054
1059
|
}
|
|
1055
1060
|
else
|
|
1056
|
-
for (var K in
|
|
1057
|
-
var Y =
|
|
1061
|
+
for (var K in C) {
|
|
1062
|
+
var Y = C[K];
|
|
1058
1063
|
if (Y != null) {
|
|
1059
1064
|
if (process.env.NODE_ENV !== "production" && !_.values[Y].conditions[K])
|
|
1060
1065
|
throw new Error();
|
|
1061
|
-
|
|
1066
|
+
w.push(_.values[Y].conditions[K]);
|
|
1062
1067
|
}
|
|
1063
1068
|
}
|
|
1064
1069
|
} catch (se) {
|
|
@@ -1073,22 +1078,22 @@ var jr = (a) => function() {
|
|
|
1073
1078
|
};
|
|
1074
1079
|
if (!_)
|
|
1075
1080
|
throw new A('"'.concat(O, '" is not a valid sprinkle'));
|
|
1076
|
-
if ((typeof
|
|
1077
|
-
throw new A('"'.concat(O, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(_.values[
|
|
1078
|
-
if (typeof
|
|
1081
|
+
if ((typeof C == "string" || typeof C == "number") && (C in _.values || T(O, C, _.values), !_.values[C].defaultClass))
|
|
1082
|
+
throw new A('"'.concat(O, '" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(_.values[C].conditions).map(R).join(", ")));
|
|
1083
|
+
if (typeof C == "object") {
|
|
1079
1084
|
if (!("conditions" in _.values[Object.keys(_.values)[0]]))
|
|
1080
1085
|
throw new A('"'.concat(O, '" is not a conditional property'));
|
|
1081
|
-
if (Array.isArray(
|
|
1086
|
+
if (Array.isArray(C)) {
|
|
1082
1087
|
if (!("responsiveArray" in _))
|
|
1083
1088
|
throw new A('"'.concat(O, '" does not support responsive arrays'));
|
|
1084
1089
|
var q = _.responsiveArray.length;
|
|
1085
|
-
if (q <
|
|
1086
|
-
throw new A('"'.concat(O, '" only supports up to ').concat(q, " breakpoints. You passed ").concat(
|
|
1087
|
-
for (var J of
|
|
1090
|
+
if (q < C.length)
|
|
1091
|
+
throw new A('"'.concat(O, '" only supports up to ').concat(q, " breakpoints. You passed ").concat(C.length));
|
|
1092
|
+
for (var J of C)
|
|
1088
1093
|
_.values[J] || T(O, J, _.values);
|
|
1089
1094
|
} else
|
|
1090
|
-
for (var B in
|
|
1091
|
-
var V =
|
|
1095
|
+
for (var B in C) {
|
|
1096
|
+
var V = C[B];
|
|
1092
1097
|
if (V != null && (_.values[V] || T(O, V, _.values), !_.values[V].conditions[B]))
|
|
1093
1098
|
throw new A('"'.concat(O, '" has no condition named ').concat(R(B), ". Possible values are ").concat(Object.keys(_.values[V].conditions).map(R).join(", ")));
|
|
1094
1099
|
}
|
|
@@ -1099,10 +1104,10 @@ var jr = (a) => function() {
|
|
|
1099
1104
|
};
|
|
1100
1105
|
for (var O in D)
|
|
1101
1106
|
var he = j();
|
|
1102
|
-
return a(
|
|
1107
|
+
return a(w.join(" "));
|
|
1103
1108
|
};
|
|
1104
1109
|
return Object.assign(b, {
|
|
1105
|
-
properties: new Set(
|
|
1110
|
+
properties: new Set(m)
|
|
1106
1111
|
});
|
|
1107
1112
|
}, Er = (a) => a, Mr = function() {
|
|
1108
1113
|
return jr(Er)(...arguments);
|
|
@@ -1154,7 +1159,7 @@ const je = ({
|
|
|
1154
1159
|
tokens: o,
|
|
1155
1160
|
variant: n,
|
|
1156
1161
|
className: i,
|
|
1157
|
-
children:
|
|
1162
|
+
children: m
|
|
1158
1163
|
}) => {
|
|
1159
1164
|
const v = Or(), b = a || "p";
|
|
1160
1165
|
return /* @__PURE__ */ s.jsxs(
|
|
@@ -1168,7 +1173,7 @@ const je = ({
|
|
|
1168
1173
|
),
|
|
1169
1174
|
children: [
|
|
1170
1175
|
o ? ua(v[r], o) : v[r],
|
|
1171
|
-
|
|
1176
|
+
m || null
|
|
1172
1177
|
]
|
|
1173
1178
|
}
|
|
1174
1179
|
);
|
|
@@ -1180,7 +1185,7 @@ function ea({
|
|
|
1180
1185
|
minHeight: o,
|
|
1181
1186
|
maxHeight: n,
|
|
1182
1187
|
minWidth: i,
|
|
1183
|
-
maxWidth:
|
|
1188
|
+
maxWidth: m
|
|
1184
1189
|
}) {
|
|
1185
1190
|
return /* @__PURE__ */ s.jsx(
|
|
1186
1191
|
"div",
|
|
@@ -1192,12 +1197,12 @@ function ea({
|
|
|
1192
1197
|
minHeight: o,
|
|
1193
1198
|
maxHeight: n,
|
|
1194
1199
|
minWidth: i,
|
|
1195
|
-
maxWidth:
|
|
1200
|
+
maxWidth: m
|
|
1196
1201
|
}
|
|
1197
1202
|
}
|
|
1198
1203
|
);
|
|
1199
1204
|
}
|
|
1200
|
-
const
|
|
1205
|
+
const z = {
|
|
1201
1206
|
"footer.text": "Top-tier security by SlashID",
|
|
1202
1207
|
"initial.title": "Logging you in...",
|
|
1203
1208
|
"initial.details": "Please follow the on-screen instructions.",
|
|
@@ -1224,32 +1229,32 @@ const g = {
|
|
|
1224
1229
|
"error.title": "Something went wrong...",
|
|
1225
1230
|
"error.detail": "Please log in again."
|
|
1226
1231
|
}, Pr = {
|
|
1227
|
-
en:
|
|
1232
|
+
en: z,
|
|
1228
1233
|
ja: {
|
|
1229
|
-
"footer.text":
|
|
1234
|
+
"footer.text": z["footer.text"],
|
|
1230
1235
|
"initial.title": "ログイン処理を行っています。",
|
|
1231
1236
|
"initial.details": "処理完了後、画面は自動で切り替わります。",
|
|
1232
1237
|
"success.title": "認証が完了しました!",
|
|
1233
1238
|
"success.details": "このページを閉じて、元のページへ戻ってください。",
|
|
1234
|
-
"recover.password.title":
|
|
1235
|
-
"recover.password.details":
|
|
1236
|
-
"recover.password.input.password.label":
|
|
1237
|
-
"recover.password.input.confirmPassword.label":
|
|
1238
|
-
"recover.password.input.placeholder":
|
|
1239
|
-
"recover.password.submit":
|
|
1240
|
-
"recover.password.validation.passwordsDoNotMatch":
|
|
1241
|
-
"recover.password.validation.length":
|
|
1242
|
-
"recover.password.validation.password_variants":
|
|
1243
|
-
"recover.password.validation.admin_variants":
|
|
1244
|
-
"recover.password.validation.user_variants":
|
|
1245
|
-
"recover.password.validation.alphanumeric_sequences_1":
|
|
1246
|
-
"recover.password.validation.alphanumeric_sequences_2":
|
|
1247
|
-
"recover.password.validation.numeric_sequences_ascending":
|
|
1248
|
-
"recover.password.validation.numeric_subsequences_ascending":
|
|
1249
|
-
"recover.password.validation.numeric_sequences_descending":
|
|
1250
|
-
"recover.password.validation.numeric_subsequences_descending":
|
|
1251
|
-
"recover.password.validation.common_password_xkcd":
|
|
1252
|
-
"error.title":
|
|
1239
|
+
"recover.password.title": z["recover.password.title"],
|
|
1240
|
+
"recover.password.details": z["recover.password.details"],
|
|
1241
|
+
"recover.password.input.password.label": z["recover.password.input.password.label"],
|
|
1242
|
+
"recover.password.input.confirmPassword.label": z["recover.password.input.confirmPassword.label"],
|
|
1243
|
+
"recover.password.input.placeholder": z["recover.password.input.placeholder"],
|
|
1244
|
+
"recover.password.submit": z["recover.password.submit"],
|
|
1245
|
+
"recover.password.validation.passwordsDoNotMatch": z["recover.password.validation.passwordsDoNotMatch"],
|
|
1246
|
+
"recover.password.validation.length": z["recover.password.validation.length"],
|
|
1247
|
+
"recover.password.validation.password_variants": z["recover.password.validation.password_variants"],
|
|
1248
|
+
"recover.password.validation.admin_variants": z["recover.password.validation.admin_variants"],
|
|
1249
|
+
"recover.password.validation.user_variants": z["recover.password.validation.user_variants"],
|
|
1250
|
+
"recover.password.validation.alphanumeric_sequences_1": z["recover.password.validation.alphanumeric_sequences_1"],
|
|
1251
|
+
"recover.password.validation.alphanumeric_sequences_2": z["recover.password.validation.alphanumeric_sequences_2"],
|
|
1252
|
+
"recover.password.validation.numeric_sequences_ascending": z["recover.password.validation.numeric_sequences_ascending"],
|
|
1253
|
+
"recover.password.validation.numeric_subsequences_ascending": z["recover.password.validation.numeric_subsequences_ascending"],
|
|
1254
|
+
"recover.password.validation.numeric_sequences_descending": z["recover.password.validation.numeric_sequences_descending"],
|
|
1255
|
+
"recover.password.validation.numeric_subsequences_descending": z["recover.password.validation.numeric_subsequences_descending"],
|
|
1256
|
+
"recover.password.validation.common_password_xkcd": z["recover.password.validation.common_password_xkcd"],
|
|
1257
|
+
"error.title": z["error.title"],
|
|
1253
1258
|
"error.detail": "再度ログインをしてください。"
|
|
1254
1259
|
}
|
|
1255
1260
|
}, Tr = (a) => (r) => Pr[a][r], Nr = {
|
|
@@ -1278,8 +1283,8 @@ function Vr() {
|
|
|
1278
1283
|
}
|
|
1279
1284
|
);
|
|
1280
1285
|
}
|
|
1281
|
-
function et({ children: a, className: r, header: o = /* @__PURE__ */ s.jsx(qr, {}), footer: n = /* @__PURE__ */ s.jsx(Vr, {}) }) {
|
|
1282
|
-
return /* @__PURE__ */ s.jsxs("article", { className: N(Dr, r), children: [
|
|
1286
|
+
function et({ children: a, className: r, header: o = /* @__PURE__ */ s.jsx(qr, {}), footer: n = /* @__PURE__ */ s.jsx(Vr, {}), style: i }) {
|
|
1287
|
+
return /* @__PURE__ */ s.jsxs("article", { style: i, className: N(Dr, r), children: [
|
|
1283
1288
|
o && /* @__PURE__ */ s.jsx("header", { className: Lr, children: o }),
|
|
1284
1289
|
/* @__PURE__ */ s.jsx("div", { children: a }),
|
|
1285
1290
|
n && /* @__PURE__ */ s.jsx("footer", { className: Ir, children: n })
|
|
@@ -1389,7 +1394,7 @@ function Kr({ message: a }) {
|
|
|
1389
1394
|
return /* @__PURE__ */ s.jsx("span", { className: Ur, children: a });
|
|
1390
1395
|
}
|
|
1391
1396
|
function st() {
|
|
1392
|
-
const a = Hr(), { sdk: r } = Oe(), [o, n] = ae(""), [i,
|
|
1397
|
+
const a = Hr(), { sdk: r } = Oe(), [o, n] = ae(""), [i, m] = ae(""), [v, b] = ae(null), [f, w] = ae("initial");
|
|
1393
1398
|
Fa(() => {
|
|
1394
1399
|
const E = (F) => {
|
|
1395
1400
|
b(
|
|
@@ -1397,31 +1402,31 @@ function st() {
|
|
|
1397
1402
|
a(Zr(F)),
|
|
1398
1403
|
Gr({ errorEvent: F, password: o })
|
|
1399
1404
|
)
|
|
1400
|
-
),
|
|
1405
|
+
), w("initial");
|
|
1401
1406
|
};
|
|
1402
1407
|
return r == null || r.subscribe("invalidPasswordSubmitted", E), () => {
|
|
1403
1408
|
r == null || r.unsubscribe("invalidPasswordSubmitted", E);
|
|
1404
1409
|
};
|
|
1405
1410
|
}, [a, r, o, b]);
|
|
1406
|
-
const
|
|
1411
|
+
const p = (E) => {
|
|
1407
1412
|
if (E.preventDefault(), !!r) {
|
|
1408
1413
|
if (!o || o !== i) {
|
|
1409
1414
|
b(a("recover.password.validation.passwordsDoNotMatch"));
|
|
1410
1415
|
return;
|
|
1411
1416
|
}
|
|
1412
|
-
r.publish("passwordSubmitted", o),
|
|
1417
|
+
r.publish("passwordSubmitted", o), w("submitting");
|
|
1413
1418
|
}
|
|
1414
1419
|
}, M = (E) => {
|
|
1415
1420
|
n(E.target.value), b(null);
|
|
1416
1421
|
}, S = (E) => {
|
|
1417
|
-
|
|
1422
|
+
m(E.target.value), b(null);
|
|
1418
1423
|
};
|
|
1419
1424
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1420
1425
|
/* @__PURE__ */ s.jsxs(Re, { space: "0.25", children: [
|
|
1421
1426
|
/* @__PURE__ */ s.jsx(je, { as: "h1", variant: { size: "2xl-title", weight: "bold" }, t: "recover.password.title" }),
|
|
1422
1427
|
/* @__PURE__ */ s.jsx(je, { variant: { color: "contrast", weight: "semibold" }, as: "h2", t: "recover.password.details" })
|
|
1423
1428
|
] }),
|
|
1424
|
-
/* @__PURE__ */ s.jsxs("form", { onSubmit:
|
|
1429
|
+
/* @__PURE__ */ s.jsxs("form", { onSubmit: p, children: [
|
|
1425
1430
|
/* @__PURE__ */ s.jsxs("div", { className: Br, children: [
|
|
1426
1431
|
/* @__PURE__ */ s.jsx(
|
|
1427
1432
|
Ke,
|