@aws-amplify/ui-vue 2.0.11 → 2.1.2
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/authenticator-sign-up-form-fields.vue.d.ts.map +1 -1
- package/dist/components/authenticator.vue.d.ts +6 -0
- package/dist/components/authenticator.vue.d.ts.map +1 -1
- package/dist/components/confirm-reset-password.vue.d.ts.map +1 -1
- package/dist/components/confirm-sign-up.vue.d.ts.map +1 -1
- package/dist/components/federated-sign-in.vue.d.ts.map +1 -1
- package/dist/components/force-new-password.vue.d.ts.map +1 -1
- package/dist/components/reset-password.vue.d.ts.map +1 -1
- package/dist/components/sign-up.vue.d.ts.map +1 -1
- package/dist/composables/useAuth.d.ts.map +1 -1
- package/dist/index.cjs +65 -26
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +338 -237
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { openBlock, createElementBlock, renderSlot, defineComponent, useSlots, mergeProps, unref, createElementVNode, normalizeProps, guardReactiveProps, ref, createVNode, withCtx, createCommentVNode, toRefs, Fragment, createTextVNode, toDisplayString, isRef, renderList, onMounted, onBeforeUnmount, shallowRef, watch,
|
|
20
|
+
import { openBlock, createElementBlock, renderSlot, defineComponent, useSlots, mergeProps, unref, createElementVNode, normalizeProps, guardReactiveProps, ref, createVNode, withCtx, createCommentVNode, toRefs, Fragment, createTextVNode, toDisplayString, isRef, renderList, onMounted, onBeforeUnmount, shallowRef, watch, reactive, watchEffect, computed, createBlock, effectScope, getCurrentScope, onScopeDispose, useAttrs, withModifiers, h, onUnmounted, normalizeClass } from "vue";
|
|
21
21
|
import { Auth, I18n, Hub, Amplify, Logger } from "aws-amplify";
|
|
22
22
|
var _export_sfc = (sfc, props) => {
|
|
23
23
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -536,8 +536,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
536
536
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
537
537
|
PERFORMANCE OF THIS SOFTWARE.
|
|
538
538
|
***************************************************************************** */
|
|
539
|
-
var __assign$
|
|
540
|
-
__assign$
|
|
539
|
+
var __assign$5 = function() {
|
|
540
|
+
__assign$5 = Object.assign || function __assign2(t) {
|
|
541
541
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
542
542
|
s = arguments[i];
|
|
543
543
|
for (var p in s)
|
|
@@ -546,7 +546,7 @@ var __assign$2 = function() {
|
|
|
546
546
|
}
|
|
547
547
|
return t;
|
|
548
548
|
};
|
|
549
|
-
return __assign$
|
|
549
|
+
return __assign$5.apply(this, arguments);
|
|
550
550
|
};
|
|
551
551
|
function __rest$1(s, e) {
|
|
552
552
|
var t = {};
|
|
@@ -611,6 +611,7 @@ var EMPTY_ACTIVITY_MAP$1 = {};
|
|
|
611
611
|
var DEFAULT_GUARD_TYPE$1 = "xstate.guard";
|
|
612
612
|
var TARGETLESS_KEY$1 = "";
|
|
613
613
|
var IS_PRODUCTION$1 = true;
|
|
614
|
+
var _a$1;
|
|
614
615
|
function keys$2(value) {
|
|
615
616
|
return Object.keys(value);
|
|
616
617
|
}
|
|
@@ -977,6 +978,9 @@ function isObservable(value) {
|
|
|
977
978
|
var symbolObservable = /* @__PURE__ */ function() {
|
|
978
979
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
979
980
|
}();
|
|
981
|
+
var interopSymbols = (_a$1 = {}, _a$1[symbolObservable] = function() {
|
|
982
|
+
return this;
|
|
983
|
+
}, _a$1);
|
|
980
984
|
function isMachine(value) {
|
|
981
985
|
try {
|
|
982
986
|
return "__xstatenode" in value;
|
|
@@ -996,7 +1000,7 @@ var uniqueId = /* @__PURE__ */ function() {
|
|
|
996
1000
|
}();
|
|
997
1001
|
function toEventObject(event, payload) {
|
|
998
1002
|
if (isString$1(event) || typeof event === "number") {
|
|
999
|
-
return __assign$
|
|
1003
|
+
return __assign$5({
|
|
1000
1004
|
type: event
|
|
1001
1005
|
}, payload);
|
|
1002
1006
|
}
|
|
@@ -1007,7 +1011,7 @@ function toSCXMLEvent(event, scxmlEvent) {
|
|
|
1007
1011
|
return event;
|
|
1008
1012
|
}
|
|
1009
1013
|
var eventObject = toEventObject(event);
|
|
1010
|
-
return __assign$
|
|
1014
|
+
return __assign$5({
|
|
1011
1015
|
name: eventObject.type,
|
|
1012
1016
|
data: eventObject,
|
|
1013
1017
|
$$type: "scxml",
|
|
@@ -1022,7 +1026,7 @@ function toTransitionConfigArray(event, configLike) {
|
|
|
1022
1026
|
event
|
|
1023
1027
|
};
|
|
1024
1028
|
}
|
|
1025
|
-
return __assign$
|
|
1029
|
+
return __assign$5(__assign$5({}, transitionLike), {
|
|
1026
1030
|
event
|
|
1027
1031
|
});
|
|
1028
1032
|
});
|
|
@@ -1071,6 +1075,9 @@ function toObserver$1(nextHandler, errorHandler, completionHandler) {
|
|
|
1071
1075
|
complete: completionHandler || noop2
|
|
1072
1076
|
};
|
|
1073
1077
|
}
|
|
1078
|
+
function createInvokeId(stateNodeId, index2) {
|
|
1079
|
+
return "".concat(stateNodeId, ":invocation[").concat(index2, "]");
|
|
1080
|
+
}
|
|
1074
1081
|
var ActionTypes;
|
|
1075
1082
|
(function(ActionTypes2) {
|
|
1076
1083
|
ActionTypes2["Start"] = "xstate.start";
|
|
@@ -1148,12 +1155,12 @@ function toActionObject$1(action, actionFunctionMap) {
|
|
|
1148
1155
|
} else {
|
|
1149
1156
|
var exec = getActionFunction$1(action.type, actionFunctionMap);
|
|
1150
1157
|
if (isFunction$2(exec)) {
|
|
1151
|
-
actionObject = __assign$
|
|
1158
|
+
actionObject = __assign$5(__assign$5({}, action), {
|
|
1152
1159
|
exec
|
|
1153
1160
|
});
|
|
1154
1161
|
} else if (exec) {
|
|
1155
1162
|
var actionType = exec.type || action.type;
|
|
1156
|
-
actionObject = __assign$
|
|
1163
|
+
actionObject = __assign$5(__assign$5(__assign$5({}, exec), action), {
|
|
1157
1164
|
type: actionType
|
|
1158
1165
|
});
|
|
1159
1166
|
} else {
|
|
@@ -1173,7 +1180,7 @@ var toActionObjects$1 = function(action, actionFunctionMap) {
|
|
|
1173
1180
|
};
|
|
1174
1181
|
function toActivityDefinition$1(action) {
|
|
1175
1182
|
var actionObject = toActionObject$1(action);
|
|
1176
|
-
return __assign$
|
|
1183
|
+
return __assign$5(__assign$5({
|
|
1177
1184
|
id: isString$1(action) ? action : actionObject.id
|
|
1178
1185
|
}, actionObject), {
|
|
1179
1186
|
type: actionObject.type
|
|
@@ -1218,7 +1225,7 @@ function resolveSend$1(action, ctx, _event, delaysMap) {
|
|
|
1218
1225
|
resolvedDelay = isFunction$2(action.delay) ? action.delay(ctx, _event.data, meta) : action.delay;
|
|
1219
1226
|
}
|
|
1220
1227
|
var resolvedTarget = isFunction$2(action.to) ? action.to(ctx, _event.data, meta) : action.to;
|
|
1221
|
-
return __assign$
|
|
1228
|
+
return __assign$5(__assign$5({}, action), {
|
|
1222
1229
|
to: resolvedTarget,
|
|
1223
1230
|
_event: resolvedEvent,
|
|
1224
1231
|
event: resolvedEvent.data,
|
|
@@ -1226,7 +1233,7 @@ function resolveSend$1(action, ctx, _event, delaysMap) {
|
|
|
1226
1233
|
});
|
|
1227
1234
|
}
|
|
1228
1235
|
function sendParent$1(event, options) {
|
|
1229
|
-
return send$2(event, __assign$
|
|
1236
|
+
return send$2(event, __assign$5(__assign$5({}, options), {
|
|
1230
1237
|
to: SpecialTargets.Parent
|
|
1231
1238
|
}));
|
|
1232
1239
|
}
|
|
@@ -1234,7 +1241,7 @@ function sendUpdate$1() {
|
|
|
1234
1241
|
return sendParent$1(update$1);
|
|
1235
1242
|
}
|
|
1236
1243
|
var resolveLog$1 = function(action, ctx, _event) {
|
|
1237
|
-
return __assign$
|
|
1244
|
+
return __assign$5(__assign$5({}, action), {
|
|
1238
1245
|
value: isString$1(action.expr) ? action.expr : action.expr(ctx, _event.data, {
|
|
1239
1246
|
_event
|
|
1240
1247
|
})
|
|
@@ -1319,7 +1326,7 @@ function error$2(id, data) {
|
|
|
1319
1326
|
function forwardTo$1(target, options) {
|
|
1320
1327
|
return send$2(function(_2, event) {
|
|
1321
1328
|
return event;
|
|
1322
|
-
}, __assign$
|
|
1329
|
+
}, __assign$5(__assign$5({}, options), {
|
|
1323
1330
|
to: target
|
|
1324
1331
|
}));
|
|
1325
1332
|
}
|
|
@@ -1379,7 +1386,7 @@ function resolveActions$1(machine, currentState, currentContext, _event, actions
|
|
|
1379
1386
|
var exec_1 = resolvedActionObject.exec;
|
|
1380
1387
|
if (exec_1 && preservedContexts) {
|
|
1381
1388
|
var contextIndex_1 = preservedContexts.length - 1;
|
|
1382
|
-
resolvedActionObject = __assign$
|
|
1389
|
+
resolvedActionObject = __assign$5(__assign$5({}, resolvedActionObject), {
|
|
1383
1390
|
exec: function(_ctx) {
|
|
1384
1391
|
var args = [];
|
|
1385
1392
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -1455,7 +1462,7 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1455
1462
|
} else {
|
|
1456
1463
|
if (s.type === "parallel") {
|
|
1457
1464
|
try {
|
|
1458
|
-
for (var
|
|
1465
|
+
for (var _e2 = (e_3 = void 0, __values(getChildren(s))), _f = _e2.next(); !_f.done; _f = _e2.next()) {
|
|
1459
1466
|
var child = _f.value;
|
|
1460
1467
|
if (child.type === "history") {
|
|
1461
1468
|
continue;
|
|
@@ -1479,8 +1486,8 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1479
1486
|
};
|
|
1480
1487
|
} finally {
|
|
1481
1488
|
try {
|
|
1482
|
-
if (_f && !_f.done && (_c =
|
|
1483
|
-
_c.call(
|
|
1489
|
+
if (_f && !_f.done && (_c = _e2.return))
|
|
1490
|
+
_c.call(_e2);
|
|
1484
1491
|
} finally {
|
|
1485
1492
|
if (e_3)
|
|
1486
1493
|
throw e_3.error;
|
|
@@ -1651,7 +1658,7 @@ function isState(state) {
|
|
|
1651
1658
|
}
|
|
1652
1659
|
function bindActionToState(action, state) {
|
|
1653
1660
|
var exec = action.exec;
|
|
1654
|
-
var boundAction = __assign$
|
|
1661
|
+
var boundAction = __assign$5(__assign$5({}, action), {
|
|
1655
1662
|
exec: exec !== void 0 ? function() {
|
|
1656
1663
|
return exec(state.context, state.event, {
|
|
1657
1664
|
action,
|
|
@@ -1782,7 +1789,7 @@ var State = /* @__PURE__ */ function() {
|
|
|
1782
1789
|
var tags = _a2.tags;
|
|
1783
1790
|
_a2.machine;
|
|
1784
1791
|
var jsonValues = __rest$1(_a2, ["configuration", "transitions", "tags", "machine"]);
|
|
1785
|
-
return __assign$
|
|
1792
|
+
return __assign$5(__assign$5({}, jsonValues), {
|
|
1786
1793
|
tags: Array.from(tags)
|
|
1787
1794
|
});
|
|
1788
1795
|
};
|
|
@@ -1797,7 +1804,10 @@ var State = /* @__PURE__ */ function() {
|
|
|
1797
1804
|
{
|
|
1798
1805
|
warn(!!this.machine);
|
|
1799
1806
|
}
|
|
1800
|
-
|
|
1807
|
+
var transitionData = (_a2 = this.machine) === null || _a2 === void 0 ? void 0 : _a2.getTransitionData(this, event);
|
|
1808
|
+
return !!(transitionData === null || transitionData === void 0 ? void 0 : transitionData.transitions.length) && transitionData.transitions.some(function(t) {
|
|
1809
|
+
return t.target !== void 0 || t.actions.length;
|
|
1810
|
+
});
|
|
1801
1811
|
};
|
|
1802
1812
|
return State2;
|
|
1803
1813
|
}();
|
|
@@ -1812,7 +1822,7 @@ var consume = function(fn) {
|
|
|
1812
1822
|
return fn(serviceStack[serviceStack.length - 1]);
|
|
1813
1823
|
};
|
|
1814
1824
|
function createNullActor(id) {
|
|
1815
|
-
return {
|
|
1825
|
+
return __assign$5({
|
|
1816
1826
|
id,
|
|
1817
1827
|
send: function() {
|
|
1818
1828
|
return void 0;
|
|
@@ -1832,7 +1842,7 @@ function createNullActor(id) {
|
|
|
1832
1842
|
id
|
|
1833
1843
|
};
|
|
1834
1844
|
}
|
|
1835
|
-
};
|
|
1845
|
+
}, interopSymbols);
|
|
1836
1846
|
}
|
|
1837
1847
|
function createInvocableActor(invokeDefinition, machine, context, _event) {
|
|
1838
1848
|
var _a2;
|
|
@@ -1867,7 +1877,7 @@ function isSpawnedActor(item) {
|
|
|
1867
1877
|
return isActor(item) && "id" in item;
|
|
1868
1878
|
}
|
|
1869
1879
|
function toActorRef(actorRefLike) {
|
|
1870
|
-
return __assign$
|
|
1880
|
+
return __assign$5(__assign$5({
|
|
1871
1881
|
subscribe: function() {
|
|
1872
1882
|
return {
|
|
1873
1883
|
unsubscribe: function() {
|
|
@@ -1879,7 +1889,7 @@ function toActorRef(actorRefLike) {
|
|
|
1879
1889
|
getSnapshot: function() {
|
|
1880
1890
|
return void 0;
|
|
1881
1891
|
}
|
|
1882
|
-
}, actorRefLike);
|
|
1892
|
+
}, interopSymbols), actorRefLike);
|
|
1883
1893
|
}
|
|
1884
1894
|
function toInvokeSource(src) {
|
|
1885
1895
|
if (typeof src === "string") {
|
|
@@ -1894,14 +1904,14 @@ function toInvokeSource(src) {
|
|
|
1894
1904
|
return src;
|
|
1895
1905
|
}
|
|
1896
1906
|
function toInvokeDefinition(invokeConfig) {
|
|
1897
|
-
return __assign$
|
|
1907
|
+
return __assign$5(__assign$5({
|
|
1898
1908
|
type: invoke$1
|
|
1899
1909
|
}, invokeConfig), {
|
|
1900
1910
|
toJSON: function() {
|
|
1901
1911
|
invokeConfig.onDone;
|
|
1902
1912
|
invokeConfig.onError;
|
|
1903
1913
|
var invokeDef = __rest$1(invokeConfig, ["onDone", "onError"]);
|
|
1904
|
-
return __assign$
|
|
1914
|
+
return __assign$5(__assign$5({}, invokeDef), {
|
|
1905
1915
|
type: invoke$1,
|
|
1906
1916
|
src: toInvokeSource(invokeConfig.src)
|
|
1907
1917
|
});
|
|
@@ -1972,7 +1982,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
1972
1982
|
_parent: _this,
|
|
1973
1983
|
_key: key
|
|
1974
1984
|
});
|
|
1975
|
-
Object.assign(_this.idMap, __assign$
|
|
1985
|
+
Object.assign(_this.idMap, __assign$5((_a3 = {}, _a3[stateNode.id] = stateNode, _a3), stateNode.idMap));
|
|
1976
1986
|
return stateNode;
|
|
1977
1987
|
}) : EMPTY_OBJECT;
|
|
1978
1988
|
var order = 0;
|
|
@@ -2016,28 +2026,30 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2016
2026
|
this.invoke = toArray(this.config.invoke).map(function(invokeConfig, i) {
|
|
2017
2027
|
var _a3, _b;
|
|
2018
2028
|
if (isMachine(invokeConfig)) {
|
|
2019
|
-
|
|
2029
|
+
var invokeId = createInvokeId(_this.id, i);
|
|
2030
|
+
_this.machine.options.services = __assign$5((_a3 = {}, _a3[invokeId] = invokeConfig, _a3), _this.machine.options.services);
|
|
2020
2031
|
return toInvokeDefinition({
|
|
2021
|
-
src:
|
|
2022
|
-
id:
|
|
2032
|
+
src: invokeId,
|
|
2033
|
+
id: invokeId
|
|
2023
2034
|
});
|
|
2024
2035
|
} else if (isString$1(invokeConfig.src)) {
|
|
2025
|
-
|
|
2026
|
-
|
|
2036
|
+
var invokeId = invokeConfig.id || createInvokeId(_this.id, i);
|
|
2037
|
+
return toInvokeDefinition(__assign$5(__assign$5({}, invokeConfig), {
|
|
2038
|
+
id: invokeId,
|
|
2027
2039
|
src: invokeConfig.src
|
|
2028
2040
|
}));
|
|
2029
2041
|
} else if (isMachine(invokeConfig.src) || isFunction$2(invokeConfig.src)) {
|
|
2030
|
-
var
|
|
2031
|
-
_this.machine.options.services = __assign$
|
|
2032
|
-
return toInvokeDefinition(__assign$
|
|
2033
|
-
id:
|
|
2042
|
+
var invokeId = invokeConfig.id || createInvokeId(_this.id, i);
|
|
2043
|
+
_this.machine.options.services = __assign$5((_b = {}, _b[invokeId] = invokeConfig.src, _b), _this.machine.options.services);
|
|
2044
|
+
return toInvokeDefinition(__assign$5(__assign$5({
|
|
2045
|
+
id: invokeId
|
|
2034
2046
|
}, invokeConfig), {
|
|
2035
|
-
src:
|
|
2047
|
+
src: invokeId
|
|
2036
2048
|
}));
|
|
2037
2049
|
} else {
|
|
2038
2050
|
var invokeSource = invokeConfig.src;
|
|
2039
|
-
return toInvokeDefinition(__assign$
|
|
2040
|
-
id:
|
|
2051
|
+
return toInvokeDefinition(__assign$5(__assign$5({
|
|
2052
|
+
id: createInvokeId(_this.id, i)
|
|
2041
2053
|
}, invokeConfig), {
|
|
2042
2054
|
src: invokeSource
|
|
2043
2055
|
}));
|
|
@@ -2060,11 +2072,11 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2060
2072
|
StateNode2.prototype.withConfig = function(options, context) {
|
|
2061
2073
|
var _a2 = this.options, actions2 = _a2.actions, activities = _a2.activities, guards = _a2.guards, services = _a2.services, delays = _a2.delays;
|
|
2062
2074
|
return new StateNode2(this.config, {
|
|
2063
|
-
actions: __assign$
|
|
2064
|
-
activities: __assign$
|
|
2065
|
-
guards: __assign$
|
|
2066
|
-
services: __assign$
|
|
2067
|
-
delays: __assign$
|
|
2075
|
+
actions: __assign$5(__assign$5({}, actions2), options.actions),
|
|
2076
|
+
activities: __assign$5(__assign$5({}, activities), options.activities),
|
|
2077
|
+
guards: __assign$5(__assign$5({}, guards), options.guards),
|
|
2078
|
+
services: __assign$5(__assign$5({}, services), options.services),
|
|
2079
|
+
delays: __assign$5(__assign$5({}, delays), options.delays)
|
|
2068
2080
|
}, context !== null && context !== void 0 ? context : this.context);
|
|
2069
2081
|
};
|
|
2070
2082
|
StateNode2.prototype.withContext = function(context) {
|
|
@@ -2167,7 +2179,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2167
2179
|
};
|
|
2168
2180
|
var delayedTransitions = isArray$a(afterConfig) ? afterConfig.map(function(transition, i) {
|
|
2169
2181
|
var eventType = mutateEntryExit(transition.delay, i);
|
|
2170
|
-
return __assign$
|
|
2182
|
+
return __assign$5(__assign$5({}, transition), {
|
|
2171
2183
|
event: eventType
|
|
2172
2184
|
});
|
|
2173
2185
|
}) : flatten(keys$2(afterConfig).map(function(delay, i) {
|
|
@@ -2178,7 +2190,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2178
2190
|
var resolvedDelay = !isNaN(+delay) ? +delay : delay;
|
|
2179
2191
|
var eventType = mutateEntryExit(resolvedDelay, i);
|
|
2180
2192
|
return toArray(resolvedTransition).map(function(transition) {
|
|
2181
|
-
return __assign$
|
|
2193
|
+
return __assign$5(__assign$5({}, transition), {
|
|
2182
2194
|
event: eventType,
|
|
2183
2195
|
delay: resolvedDelay
|
|
2184
2196
|
});
|
|
@@ -2186,7 +2198,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2186
2198
|
}));
|
|
2187
2199
|
return delayedTransitions.map(function(delayedTransition) {
|
|
2188
2200
|
var delay = delayedTransition.delay;
|
|
2189
|
-
return __assign$
|
|
2201
|
+
return __assign$5(__assign$5({}, _this.formatTransition(delayedTransition)), {
|
|
2190
2202
|
delay
|
|
2191
2203
|
});
|
|
2192
2204
|
});
|
|
@@ -2203,14 +2215,11 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2203
2215
|
return initialStateValue !== void 0 ? this.getStateNodes((_a2 = {}, _a2[stateValue] = initialStateValue, _a2)) : [this, this.states[stateValue]];
|
|
2204
2216
|
}
|
|
2205
2217
|
var subStateKeys = keys$2(stateValue);
|
|
2206
|
-
var subStateNodes =
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
return subStateNodes
|
|
2211
|
-
var subStateNode = _this.getStateNode(subStateKey).getStateNodes(stateValue[subStateKey]);
|
|
2212
|
-
return allSubStateNodes.concat(subStateNode);
|
|
2213
|
-
}, []));
|
|
2218
|
+
var subStateNodes = [this];
|
|
2219
|
+
subStateNodes.push.apply(subStateNodes, __spreadArray([], __read(flatten(subStateKeys.map(function(subStateKey) {
|
|
2220
|
+
return _this.getStateNode(subStateKey).getStateNodes(stateValue[subStateKey]);
|
|
2221
|
+
}))), false));
|
|
2222
|
+
return subStateNodes;
|
|
2214
2223
|
};
|
|
2215
2224
|
StateNode2.prototype.handles = function(event) {
|
|
2216
2225
|
var eventType = getEventType(event);
|
|
@@ -2218,7 +2227,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2218
2227
|
};
|
|
2219
2228
|
StateNode2.prototype.resolveState = function(state) {
|
|
2220
2229
|
var configuration = Array.from(getConfiguration([], this.getStateNodes(state.value)));
|
|
2221
|
-
return new State(__assign$
|
|
2230
|
+
return new State(__assign$5(__assign$5({}, state), {
|
|
2222
2231
|
value: this.resolve(state.value),
|
|
2223
2232
|
configuration,
|
|
2224
2233
|
done: isInFinalState(configuration, this),
|
|
@@ -2311,6 +2320,9 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2311
2320
|
}
|
|
2312
2321
|
return this.transitionParallelNode(stateValue, state, _event);
|
|
2313
2322
|
};
|
|
2323
|
+
StateNode2.prototype.getTransitionData = function(state, event) {
|
|
2324
|
+
return this._transition(state.value, state, toSCXMLEvent(event));
|
|
2325
|
+
};
|
|
2314
2326
|
StateNode2.prototype.next = function(state, _event) {
|
|
2315
2327
|
var e_3, _a2;
|
|
2316
2328
|
var _this = this;
|
|
@@ -2451,10 +2463,6 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2451
2463
|
throw e_5.error;
|
|
2452
2464
|
}
|
|
2453
2465
|
}
|
|
2454
|
-
if (!transition.source) {
|
|
2455
|
-
transition.exitSet = [];
|
|
2456
|
-
transition.entrySet.push(this);
|
|
2457
|
-
}
|
|
2458
2466
|
var doneEvents = flatten(transition.entrySet.map(function(sn2) {
|
|
2459
2467
|
var events = [];
|
|
2460
2468
|
if (sn2.type !== "final") {
|
|
@@ -2553,7 +2561,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2553
2561
|
var historyValue = currentState ? currentState.historyValue ? currentState.historyValue : stateTransition.source ? this.machine.historyValue(currentState.value) : void 0 : void 0;
|
|
2554
2562
|
var currentContext = currentState ? currentState.context : context;
|
|
2555
2563
|
var actions2 = this.getActions(stateTransition, currentContext, _event, currentState);
|
|
2556
|
-
var activities = currentState ? __assign$
|
|
2564
|
+
var activities = currentState ? __assign$5({}, currentState.activities) : {};
|
|
2557
2565
|
try {
|
|
2558
2566
|
for (var actions_1 = __values(actions2), actions_1_1 = actions_1.next(); !actions_1_1.done; actions_1_1 = actions_1.next()) {
|
|
2559
2567
|
var action = actions_1_1.value;
|
|
@@ -2587,7 +2595,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2587
2595
|
var children2 = invokeActions.reduce(function(acc, action2) {
|
|
2588
2596
|
acc[action2.activity.id] = createInvocableActor(action2.activity, _this.machine, updatedContext, _event);
|
|
2589
2597
|
return acc;
|
|
2590
|
-
}, currentState ? __assign$
|
|
2598
|
+
}, currentState ? __assign$5({}, currentState.children) : {});
|
|
2591
2599
|
var resolvedConfiguration = resolvedStateValue ? stateTransition.configuration : currentState ? currentState.configuration : [];
|
|
2592
2600
|
var isDone = isInFinalState(resolvedConfiguration, this);
|
|
2593
2601
|
var nextState = new State({
|
|
@@ -2890,7 +2898,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2890
2898
|
var state = states[stateId];
|
|
2891
2899
|
if (state.states) {
|
|
2892
2900
|
try {
|
|
2893
|
-
for (var
|
|
2901
|
+
for (var _e2 = (e_8 = void 0, __values(state.events)), _f = _e2.next(); !_f.done; _f = _e2.next()) {
|
|
2894
2902
|
var event_1 = _f.value;
|
|
2895
2903
|
events.add("".concat(event_1));
|
|
2896
2904
|
}
|
|
@@ -2900,8 +2908,8 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2900
2908
|
};
|
|
2901
2909
|
} finally {
|
|
2902
2910
|
try {
|
|
2903
|
-
if (_f && !_f.done && (_b =
|
|
2904
|
-
_b.call(
|
|
2911
|
+
if (_f && !_f.done && (_b = _e2.return))
|
|
2912
|
+
_b.call(_e2);
|
|
2905
2913
|
} finally {
|
|
2906
2914
|
if (e_8)
|
|
2907
2915
|
throw e_8.error;
|
|
@@ -2974,7 +2982,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2974
2982
|
}) : true;
|
|
2975
2983
|
var guards = this.machine.options.guards;
|
|
2976
2984
|
var target = this.resolveTarget(normalizedTarget);
|
|
2977
|
-
var transition = __assign$
|
|
2985
|
+
var transition = __assign$5(__assign$5({}, transitionConfig), {
|
|
2978
2986
|
actions: toActionObjects$1(toArray(transitionConfig.actions)),
|
|
2979
2987
|
cond: toGuard(transitionConfig.cond, guards),
|
|
2980
2988
|
target,
|
|
@@ -2982,7 +2990,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2982
2990
|
internal,
|
|
2983
2991
|
eventType: transitionConfig.event,
|
|
2984
2992
|
toJSON: function() {
|
|
2985
|
-
return __assign$
|
|
2993
|
+
return __assign$5(__assign$5({}, transition), {
|
|
2986
2994
|
target: transition.target ? transition.target.map(function(t) {
|
|
2987
2995
|
return "#".concat(t.id);
|
|
2988
2996
|
}) : void 0,
|
|
@@ -3067,7 +3075,7 @@ var Scheduler = /* @__PURE__ */ function() {
|
|
|
3067
3075
|
this.processingEvent = false;
|
|
3068
3076
|
this.queue = [];
|
|
3069
3077
|
this.initialized = false;
|
|
3070
|
-
this.options = __assign$
|
|
3078
|
+
this.options = __assign$5(__assign$5({}, defaultOptions), options);
|
|
3071
3079
|
}
|
|
3072
3080
|
Scheduler2.prototype.initialize = function(callback) {
|
|
3073
3081
|
this.initialized = true;
|
|
@@ -3272,7 +3280,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3272
3280
|
return;
|
|
3273
3281
|
}
|
|
3274
3282
|
if ("machine" in target) {
|
|
3275
|
-
target.send(__assign$
|
|
3283
|
+
target.send(__assign$5(__assign$5({}, event), {
|
|
3276
3284
|
name: event.name === error$3 ? "".concat(error$2(_this.id)) : event.name,
|
|
3277
3285
|
origin: _this.sessionId
|
|
3278
3286
|
}));
|
|
@@ -3280,7 +3288,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3280
3288
|
target.send(event.data);
|
|
3281
3289
|
}
|
|
3282
3290
|
};
|
|
3283
|
-
var resolvedOptions = __assign$
|
|
3291
|
+
var resolvedOptions = __assign$5(__assign$5({}, Interpreter2.defaultOptions), options);
|
|
3284
3292
|
var clock = resolvedOptions.clock, logger = resolvedOptions.logger, parent = resolvedOptions.parent, id = resolvedOptions.id;
|
|
3285
3293
|
var resolvedId = id !== void 0 ? id : machine.id;
|
|
3286
3294
|
this.id = resolvedId;
|
|
@@ -3351,7 +3359,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3351
3359
|
}
|
|
3352
3360
|
if (state.event) {
|
|
3353
3361
|
try {
|
|
3354
|
-
for (var
|
|
3362
|
+
for (var _e2 = __values(this.eventListeners), _f = _e2.next(); !_f.done; _f = _e2.next()) {
|
|
3355
3363
|
var listener = _f.value;
|
|
3356
3364
|
listener(state.event);
|
|
3357
3365
|
}
|
|
@@ -3361,8 +3369,8 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3361
3369
|
};
|
|
3362
3370
|
} finally {
|
|
3363
3371
|
try {
|
|
3364
|
-
if (_f && !_f.done && (_a2 =
|
|
3365
|
-
_a2.call(
|
|
3372
|
+
if (_f && !_f.done && (_a2 = _e2.return))
|
|
3373
|
+
_a2.call(_e2);
|
|
3366
3374
|
} finally {
|
|
3367
3375
|
if (e_2)
|
|
3368
3376
|
throw e_2.error;
|
|
@@ -3519,7 +3527,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3519
3527
|
return this;
|
|
3520
3528
|
};
|
|
3521
3529
|
Interpreter2.prototype.stop = function() {
|
|
3522
|
-
var e_6, _a2, e_7, _b, e_8, _c, e_9, _d, e_10,
|
|
3530
|
+
var e_6, _a2, e_7, _b, e_8, _c, e_9, _d, e_10, _e2;
|
|
3523
3531
|
var _this = this;
|
|
3524
3532
|
try {
|
|
3525
3533
|
for (var _f = __values(this.listeners), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
@@ -3634,8 +3642,8 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3634
3642
|
};
|
|
3635
3643
|
} finally {
|
|
3636
3644
|
try {
|
|
3637
|
-
if (_q && !_q.done && (
|
|
3638
|
-
|
|
3645
|
+
if (_q && !_q.done && (_e2 = _p.return))
|
|
3646
|
+
_e2.call(_p);
|
|
3639
3647
|
} finally {
|
|
3640
3648
|
if (e_10)
|
|
3641
3649
|
throw e_10.error;
|
|
@@ -3790,6 +3798,9 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3790
3798
|
this.cancel(action.sendId);
|
|
3791
3799
|
break;
|
|
3792
3800
|
case start$3: {
|
|
3801
|
+
if (this.status !== InterpreterStatus.Running) {
|
|
3802
|
+
return;
|
|
3803
|
+
}
|
|
3793
3804
|
var activity = action.activity;
|
|
3794
3805
|
if (!this.state.activities[activity.id || activity.type]) {
|
|
3795
3806
|
break;
|
|
@@ -3868,7 +3879,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3868
3879
|
} else if (isObservable(entity)) {
|
|
3869
3880
|
return this.spawnObservable(entity, name);
|
|
3870
3881
|
} else if (isMachine(entity)) {
|
|
3871
|
-
return this.spawnMachine(entity, __assign$
|
|
3882
|
+
return this.spawnMachine(entity, __assign$5(__assign$5({}, options), {
|
|
3872
3883
|
id: name
|
|
3873
3884
|
}));
|
|
3874
3885
|
} else if (isBehavior(entity)) {
|
|
@@ -3882,11 +3893,11 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3882
3893
|
if (options === void 0) {
|
|
3883
3894
|
options = {};
|
|
3884
3895
|
}
|
|
3885
|
-
var childService = new Interpreter2(machine, __assign$
|
|
3896
|
+
var childService = new Interpreter2(machine, __assign$5(__assign$5({}, this.options), {
|
|
3886
3897
|
parent: this,
|
|
3887
3898
|
id: options.id || machine.id
|
|
3888
3899
|
}));
|
|
3889
|
-
var resolvedOptions = __assign$
|
|
3900
|
+
var resolvedOptions = __assign$5(__assign$5({}, DEFAULT_SPAWN_OPTIONS), options);
|
|
3890
3901
|
if (resolvedOptions.sync) {
|
|
3891
3902
|
childService.onTransition(function(state) {
|
|
3892
3903
|
_this.send(update$1, {
|
|
@@ -3946,7 +3957,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3946
3957
|
}
|
|
3947
3958
|
}
|
|
3948
3959
|
});
|
|
3949
|
-
var actor = {
|
|
3960
|
+
var actor = __assign$5({
|
|
3950
3961
|
id,
|
|
3951
3962
|
send: function() {
|
|
3952
3963
|
return void 0;
|
|
@@ -3986,7 +3997,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3986
3997
|
getSnapshot: function() {
|
|
3987
3998
|
return resolvedData;
|
|
3988
3999
|
}
|
|
3989
|
-
};
|
|
4000
|
+
}, interopSymbols);
|
|
3990
4001
|
this.children.set(id, actor);
|
|
3991
4002
|
return actor;
|
|
3992
4003
|
};
|
|
@@ -4019,7 +4030,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4019
4030
|
if (isPromiseLike(callbackStop)) {
|
|
4020
4031
|
return this.spawnPromise(callbackStop, id);
|
|
4021
4032
|
}
|
|
4022
|
-
var actor = {
|
|
4033
|
+
var actor = __assign$5({
|
|
4023
4034
|
id,
|
|
4024
4035
|
send: function(event) {
|
|
4025
4036
|
return receivers.forEach(function(receiver) {
|
|
@@ -4048,7 +4059,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4048
4059
|
getSnapshot: function() {
|
|
4049
4060
|
return emitted;
|
|
4050
4061
|
}
|
|
4051
|
-
};
|
|
4062
|
+
}, interopSymbols);
|
|
4052
4063
|
this.children.set(id, actor);
|
|
4053
4064
|
return actor;
|
|
4054
4065
|
};
|
|
@@ -4071,7 +4082,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4071
4082
|
origin: id
|
|
4072
4083
|
}));
|
|
4073
4084
|
});
|
|
4074
|
-
var actor = {
|
|
4085
|
+
var actor = __assign$5({
|
|
4075
4086
|
id,
|
|
4076
4087
|
send: function() {
|
|
4077
4088
|
return void 0;
|
|
@@ -4090,7 +4101,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4090
4101
|
id
|
|
4091
4102
|
};
|
|
4092
4103
|
}
|
|
4093
|
-
};
|
|
4104
|
+
}, interopSymbols);
|
|
4094
4105
|
this.children.set(id, actor);
|
|
4095
4106
|
return actor;
|
|
4096
4107
|
};
|
|
@@ -4107,7 +4118,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4107
4118
|
this.spawnEffect(activity.id, dispose);
|
|
4108
4119
|
};
|
|
4109
4120
|
Interpreter2.prototype.spawnEffect = function(id, dispose) {
|
|
4110
|
-
this.children.set(id, {
|
|
4121
|
+
this.children.set(id, __assign$5({
|
|
4111
4122
|
id,
|
|
4112
4123
|
send: function() {
|
|
4113
4124
|
return void 0;
|
|
@@ -4128,14 +4139,14 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4128
4139
|
id
|
|
4129
4140
|
};
|
|
4130
4141
|
}
|
|
4131
|
-
});
|
|
4142
|
+
}, interopSymbols));
|
|
4132
4143
|
};
|
|
4133
4144
|
Interpreter2.prototype.attachDev = function() {
|
|
4134
4145
|
var global2 = getGlobal();
|
|
4135
4146
|
if (this.options.devTools && global2) {
|
|
4136
4147
|
if (global2.__REDUX_DEVTOOLS_EXTENSION__) {
|
|
4137
4148
|
var devToolsOptions = typeof this.options.devTools === "object" ? this.options.devTools : void 0;
|
|
4138
|
-
this.devTools = global2.__REDUX_DEVTOOLS_EXTENSION__.connect(__assign$
|
|
4149
|
+
this.devTools = global2.__REDUX_DEVTOOLS_EXTENSION__.connect(__assign$5(__assign$5({
|
|
4139
4150
|
name: this.id,
|
|
4140
4151
|
autoPause: true,
|
|
4141
4152
|
stateSanitizer: function(state) {
|
|
@@ -4146,7 +4157,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4146
4157
|
};
|
|
4147
4158
|
}
|
|
4148
4159
|
}, devToolsOptions), {
|
|
4149
|
-
features: __assign$
|
|
4160
|
+
features: __assign$5({
|
|
4150
4161
|
jump: false,
|
|
4151
4162
|
skip: false
|
|
4152
4163
|
}, devToolsOptions ? devToolsOptions.features : void 0)
|
|
@@ -4191,11 +4202,11 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4191
4202
|
}();
|
|
4192
4203
|
var resolveSpawnOptions = function(nameOrOptions) {
|
|
4193
4204
|
if (isString$1(nameOrOptions)) {
|
|
4194
|
-
return __assign$
|
|
4205
|
+
return __assign$5(__assign$5({}, DEFAULT_SPAWN_OPTIONS), {
|
|
4195
4206
|
name: nameOrOptions
|
|
4196
4207
|
});
|
|
4197
4208
|
}
|
|
4198
|
-
return __assign$
|
|
4209
|
+
return __assign$5(__assign$5(__assign$5({}, DEFAULT_SPAWN_OPTIONS), {
|
|
4199
4210
|
name: uniqueId()
|
|
4200
4211
|
}), nameOrOptions);
|
|
4201
4212
|
};
|
|
@@ -4330,6 +4341,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4330
4341
|
var _tslib2 = _tslib$1;
|
|
4331
4342
|
var constants$1 = constants;
|
|
4332
4343
|
var environment2 = environment$1;
|
|
4344
|
+
var _a2;
|
|
4333
4345
|
function keys2(value) {
|
|
4334
4346
|
return Object.keys(value);
|
|
4335
4347
|
}
|
|
@@ -4414,7 +4426,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4414
4426
|
return result;
|
|
4415
4427
|
}
|
|
4416
4428
|
function mapFilterValues2(collection, iteratee, predicate) {
|
|
4417
|
-
var e_1,
|
|
4429
|
+
var e_1, _a3;
|
|
4418
4430
|
var result = {};
|
|
4419
4431
|
try {
|
|
4420
4432
|
for (var _b = _tslib2.__values(keys2(collection)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -4431,8 +4443,8 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4431
4443
|
};
|
|
4432
4444
|
} finally {
|
|
4433
4445
|
try {
|
|
4434
|
-
if (_c && !_c.done && (
|
|
4435
|
-
|
|
4446
|
+
if (_c && !_c.done && (_a3 = _b.return))
|
|
4447
|
+
_a3.call(_b);
|
|
4436
4448
|
} finally {
|
|
4437
4449
|
if (e_1)
|
|
4438
4450
|
throw e_1.error;
|
|
@@ -4442,7 +4454,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4442
4454
|
}
|
|
4443
4455
|
var path2 = function(props) {
|
|
4444
4456
|
return function(object) {
|
|
4445
|
-
var e_2,
|
|
4457
|
+
var e_2, _a3;
|
|
4446
4458
|
var result = object;
|
|
4447
4459
|
try {
|
|
4448
4460
|
for (var props_1 = _tslib2.__values(props), props_1_1 = props_1.next(); !props_1_1.done; props_1_1 = props_1.next()) {
|
|
@@ -4455,8 +4467,8 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4455
4467
|
};
|
|
4456
4468
|
} finally {
|
|
4457
4469
|
try {
|
|
4458
|
-
if (props_1_1 && !props_1_1.done && (
|
|
4459
|
-
|
|
4470
|
+
if (props_1_1 && !props_1_1.done && (_a3 = props_1.return))
|
|
4471
|
+
_a3.call(props_1);
|
|
4460
4472
|
} finally {
|
|
4461
4473
|
if (e_2)
|
|
4462
4474
|
throw e_2.error;
|
|
@@ -4467,7 +4479,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4467
4479
|
};
|
|
4468
4480
|
function nestedPath2(props, accessorProp) {
|
|
4469
4481
|
return function(object) {
|
|
4470
|
-
var e_3,
|
|
4482
|
+
var e_3, _a3;
|
|
4471
4483
|
var result = object;
|
|
4472
4484
|
try {
|
|
4473
4485
|
for (var props_2 = _tslib2.__values(props), props_2_1 = props_2.next(); !props_2_1.done; props_2_1 = props_2.next()) {
|
|
@@ -4480,8 +4492,8 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4480
4492
|
};
|
|
4481
4493
|
} finally {
|
|
4482
4494
|
try {
|
|
4483
|
-
if (props_2_1 && !props_2_1.done && (
|
|
4484
|
-
|
|
4495
|
+
if (props_2_1 && !props_2_1.done && (_a3 = props_2.return))
|
|
4496
|
+
_a3.call(props_2);
|
|
4485
4497
|
} finally {
|
|
4486
4498
|
if (e_3)
|
|
4487
4499
|
throw e_3.error;
|
|
@@ -4509,8 +4521,8 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4509
4521
|
return result;
|
|
4510
4522
|
}
|
|
4511
4523
|
function flatten2(array) {
|
|
4512
|
-
var
|
|
4513
|
-
return (
|
|
4524
|
+
var _a3;
|
|
4525
|
+
return (_a3 = []).concat.apply(_a3, _tslib2.__spreadArray([], _tslib2.__read(array), false));
|
|
4514
4526
|
}
|
|
4515
4527
|
function toArrayStrict2(value) {
|
|
4516
4528
|
if (isArray2(value)) {
|
|
@@ -4525,7 +4537,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4525
4537
|
return toArrayStrict2(value);
|
|
4526
4538
|
}
|
|
4527
4539
|
function mapContext2(mapper, context, _event) {
|
|
4528
|
-
var e_5,
|
|
4540
|
+
var e_5, _a3;
|
|
4529
4541
|
if (isFunction2(mapper)) {
|
|
4530
4542
|
return mapper(context, _event.data);
|
|
4531
4543
|
}
|
|
@@ -4546,8 +4558,8 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4546
4558
|
};
|
|
4547
4559
|
} finally {
|
|
4548
4560
|
try {
|
|
4549
|
-
if (_c && !_c.done && (
|
|
4550
|
-
|
|
4561
|
+
if (_c && !_c.done && (_a3 = _b.return))
|
|
4562
|
+
_a3.call(_b);
|
|
4551
4563
|
} finally {
|
|
4552
4564
|
if (e_5)
|
|
4553
4565
|
throw e_5.error;
|
|
@@ -4571,7 +4583,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4571
4583
|
return value !== null && typeof value === "object" && "transition" in value && typeof value.transition === "function";
|
|
4572
4584
|
}
|
|
4573
4585
|
function partition2(items, predicate) {
|
|
4574
|
-
var e_6,
|
|
4586
|
+
var e_6, _a3;
|
|
4575
4587
|
var _b = _tslib2.__read([[], []], 2), truthy = _b[0], falsy = _b[1];
|
|
4576
4588
|
try {
|
|
4577
4589
|
for (var items_1 = _tslib2.__values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
|
|
@@ -4588,8 +4600,8 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4588
4600
|
};
|
|
4589
4601
|
} finally {
|
|
4590
4602
|
try {
|
|
4591
|
-
if (items_1_1 && !items_1_1.done && (
|
|
4592
|
-
|
|
4603
|
+
if (items_1_1 && !items_1_1.done && (_a3 = items_1.return))
|
|
4604
|
+
_a3.call(items_1);
|
|
4593
4605
|
} finally {
|
|
4594
4606
|
if (e_6)
|
|
4595
4607
|
throw e_6.error;
|
|
@@ -4623,7 +4635,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4623
4635
|
exports.warn(!!context, "Attempting to update undefined context");
|
|
4624
4636
|
}
|
|
4625
4637
|
var updatedContext = context ? assignActions.reduce(function(acc, assignAction) {
|
|
4626
|
-
var e_7,
|
|
4638
|
+
var e_7, _a3;
|
|
4627
4639
|
var assignment = assignAction.assignment;
|
|
4628
4640
|
var meta = {
|
|
4629
4641
|
state,
|
|
@@ -4646,8 +4658,8 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4646
4658
|
};
|
|
4647
4659
|
} finally {
|
|
4648
4660
|
try {
|
|
4649
|
-
if (_c && !_c.done && (
|
|
4650
|
-
|
|
4661
|
+
if (_c && !_c.done && (_a3 = _b.return))
|
|
4662
|
+
_a3.call(_b);
|
|
4651
4663
|
} finally {
|
|
4652
4664
|
if (e_7)
|
|
4653
4665
|
throw e_7.error;
|
|
@@ -4714,6 +4726,9 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4714
4726
|
var symbolObservable2 = /* @__PURE__ */ function() {
|
|
4715
4727
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
4716
4728
|
}();
|
|
4729
|
+
var interopSymbols2 = (_a2 = {}, _a2[symbolObservable2] = function() {
|
|
4730
|
+
return this;
|
|
4731
|
+
}, _a2);
|
|
4717
4732
|
function isMachine2(value) {
|
|
4718
4733
|
try {
|
|
4719
4734
|
return "__xstatenode" in value;
|
|
@@ -4819,9 +4834,14 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4819
4834
|
complete: completionHandler || noop2
|
|
4820
4835
|
};
|
|
4821
4836
|
}
|
|
4837
|
+
function createInvokeId2(stateNodeId, index2) {
|
|
4838
|
+
return "".concat(stateNodeId, ":invocation[").concat(index2, "]");
|
|
4839
|
+
}
|
|
4840
|
+
exports.createInvokeId = createInvokeId2;
|
|
4822
4841
|
exports.evaluateGuard = evaluateGuard2;
|
|
4823
4842
|
exports.flatten = flatten2;
|
|
4824
4843
|
exports.getEventType = getEventType2;
|
|
4844
|
+
exports.interopSymbols = interopSymbols2;
|
|
4825
4845
|
exports.isActor = isActor2;
|
|
4826
4846
|
exports.isArray = isArray2;
|
|
4827
4847
|
exports.isBehavior = isBehavior2;
|
|
@@ -5048,6 +5068,11 @@ function sendParent(event, options) {
|
|
|
5048
5068
|
to: types.SpecialTargets.Parent
|
|
5049
5069
|
}));
|
|
5050
5070
|
}
|
|
5071
|
+
function sendTo(actor, event, options) {
|
|
5072
|
+
return send(event, _tslib.__assign(_tslib.__assign({}, options), {
|
|
5073
|
+
to: actor
|
|
5074
|
+
}));
|
|
5075
|
+
}
|
|
5051
5076
|
function sendUpdate() {
|
|
5052
5077
|
return sendParent(actionTypes.update);
|
|
5053
5078
|
}
|
|
@@ -5285,6 +5310,7 @@ actions.resolveStop = resolveStop;
|
|
|
5285
5310
|
actions.respond = respond;
|
|
5286
5311
|
actions.send = send;
|
|
5287
5312
|
actions.sendParent = sendParent;
|
|
5313
|
+
actions.sendTo = sendTo;
|
|
5288
5314
|
actions.sendUpdate = sendUpdate;
|
|
5289
5315
|
actions.start = start;
|
|
5290
5316
|
var stop_1 = actions.stop = stop;
|
|
@@ -6681,8 +6707,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
6681
6707
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
6682
6708
|
PERFORMANCE OF THIS SOFTWARE.
|
|
6683
6709
|
***************************************************************************** */
|
|
6684
|
-
var __assign$
|
|
6685
|
-
__assign$
|
|
6710
|
+
var __assign$4 = function() {
|
|
6711
|
+
__assign$4 = Object.assign || function __assign2(t) {
|
|
6686
6712
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6687
6713
|
s = arguments[i];
|
|
6688
6714
|
for (var p in s)
|
|
@@ -6691,7 +6717,33 @@ var __assign$1 = function() {
|
|
|
6691
6717
|
}
|
|
6692
6718
|
return t;
|
|
6693
6719
|
};
|
|
6694
|
-
return __assign$
|
|
6720
|
+
return __assign$4.apply(this, arguments);
|
|
6721
|
+
};
|
|
6722
|
+
/*! *****************************************************************************
|
|
6723
|
+
Copyright (c) Microsoft Corporation.
|
|
6724
|
+
|
|
6725
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6726
|
+
purpose with or without fee is hereby granted.
|
|
6727
|
+
|
|
6728
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
6729
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
6730
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
6731
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
6732
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
6733
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
6734
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
6735
|
+
***************************************************************************** */
|
|
6736
|
+
var __assign$3 = function() {
|
|
6737
|
+
__assign$3 = Object.assign || function __assign2(t) {
|
|
6738
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6739
|
+
s = arguments[i];
|
|
6740
|
+
for (var p in s)
|
|
6741
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6742
|
+
t[p] = s[p];
|
|
6743
|
+
}
|
|
6744
|
+
return t;
|
|
6745
|
+
};
|
|
6746
|
+
return __assign$3.apply(this, arguments);
|
|
6695
6747
|
};
|
|
6696
6748
|
function lowerCase$3(str) {
|
|
6697
6749
|
return str.toLowerCase();
|
|
@@ -6734,7 +6786,7 @@ function pascalCase(input, options) {
|
|
|
6734
6786
|
if (options === void 0) {
|
|
6735
6787
|
options = {};
|
|
6736
6788
|
}
|
|
6737
|
-
return noCase$3(input, __assign$
|
|
6789
|
+
return noCase$3(input, __assign$3({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
6738
6790
|
}
|
|
6739
6791
|
function camelCaseTransform(input, index2) {
|
|
6740
6792
|
if (index2 === 0)
|
|
@@ -6750,8 +6802,34 @@ function camelCase(input, options) {
|
|
|
6750
6802
|
if (options === void 0) {
|
|
6751
6803
|
options = {};
|
|
6752
6804
|
}
|
|
6753
|
-
return pascalCase(input, __assign$
|
|
6805
|
+
return pascalCase(input, __assign$4({ transform: camelCaseTransform }, options));
|
|
6754
6806
|
}
|
|
6807
|
+
/*! *****************************************************************************
|
|
6808
|
+
Copyright (c) Microsoft Corporation.
|
|
6809
|
+
|
|
6810
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6811
|
+
purpose with or without fee is hereby granted.
|
|
6812
|
+
|
|
6813
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
6814
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
6815
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
6816
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
6817
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
6818
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
6819
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
6820
|
+
***************************************************************************** */
|
|
6821
|
+
var __assign$2 = function() {
|
|
6822
|
+
__assign$2 = Object.assign || function __assign2(t) {
|
|
6823
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6824
|
+
s = arguments[i];
|
|
6825
|
+
for (var p in s)
|
|
6826
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6827
|
+
t[p] = s[p];
|
|
6828
|
+
}
|
|
6829
|
+
return t;
|
|
6830
|
+
};
|
|
6831
|
+
return __assign$2.apply(this, arguments);
|
|
6832
|
+
};
|
|
6755
6833
|
function lowerCase$2(str) {
|
|
6756
6834
|
return str.toLowerCase();
|
|
6757
6835
|
}
|
|
@@ -6788,7 +6866,7 @@ function capitalCase(input, options) {
|
|
|
6788
6866
|
if (options === void 0) {
|
|
6789
6867
|
options = {};
|
|
6790
6868
|
}
|
|
6791
|
-
return noCase$2(input, __assign$
|
|
6869
|
+
return noCase$2(input, __assign$2({ delimiter: " ", transform: capitalCaseTransform }, options));
|
|
6792
6870
|
}
|
|
6793
6871
|
function lowerCase$1(str) {
|
|
6794
6872
|
return str.toLowerCase();
|
|
@@ -6823,8 +6901,34 @@ function constantCase(input, options) {
|
|
|
6823
6901
|
if (options === void 0) {
|
|
6824
6902
|
options = {};
|
|
6825
6903
|
}
|
|
6826
|
-
return noCase$1(input, __assign$
|
|
6904
|
+
return noCase$1(input, __assign$4({ delimiter: "_", transform: upperCase }, options));
|
|
6827
6905
|
}
|
|
6906
|
+
/*! *****************************************************************************
|
|
6907
|
+
Copyright (c) Microsoft Corporation.
|
|
6908
|
+
|
|
6909
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6910
|
+
purpose with or without fee is hereby granted.
|
|
6911
|
+
|
|
6912
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
6913
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
6914
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
6915
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
6916
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
6917
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
6918
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
6919
|
+
***************************************************************************** */
|
|
6920
|
+
var __assign$1 = function() {
|
|
6921
|
+
__assign$1 = Object.assign || function __assign2(t) {
|
|
6922
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6923
|
+
s = arguments[i];
|
|
6924
|
+
for (var p in s)
|
|
6925
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6926
|
+
t[p] = s[p];
|
|
6927
|
+
}
|
|
6928
|
+
return t;
|
|
6929
|
+
};
|
|
6930
|
+
return __assign$1.apply(this, arguments);
|
|
6931
|
+
};
|
|
6828
6932
|
function lowerCase(str) {
|
|
6829
6933
|
return str.toLowerCase();
|
|
6830
6934
|
}
|
|
@@ -6861,19 +6965,19 @@ function headerCase(input, options) {
|
|
|
6861
6965
|
if (options === void 0) {
|
|
6862
6966
|
options = {};
|
|
6863
6967
|
}
|
|
6864
|
-
return capitalCase(input, __assign$
|
|
6968
|
+
return capitalCase(input, __assign$4({ delimiter: "-" }, options));
|
|
6865
6969
|
}
|
|
6866
6970
|
function paramCase(input, options) {
|
|
6867
6971
|
if (options === void 0) {
|
|
6868
6972
|
options = {};
|
|
6869
6973
|
}
|
|
6870
|
-
return dotCase(input, __assign$
|
|
6974
|
+
return dotCase(input, __assign$4({ delimiter: "-" }, options));
|
|
6871
6975
|
}
|
|
6872
6976
|
function pathCase(input, options) {
|
|
6873
6977
|
if (options === void 0) {
|
|
6874
6978
|
options = {};
|
|
6875
6979
|
}
|
|
6876
|
-
return dotCase(input, __assign$
|
|
6980
|
+
return dotCase(input, __assign$4({ delimiter: "/" }, options));
|
|
6877
6981
|
}
|
|
6878
6982
|
function upperCaseFirst(input) {
|
|
6879
6983
|
return input.charAt(0).toUpperCase() + input.substr(1);
|
|
@@ -6888,13 +6992,13 @@ function sentenceCase(input, options) {
|
|
|
6888
6992
|
if (options === void 0) {
|
|
6889
6993
|
options = {};
|
|
6890
6994
|
}
|
|
6891
|
-
return noCase$1(input, __assign$
|
|
6995
|
+
return noCase$1(input, __assign$4({ delimiter: " ", transform: sentenceCaseTransform }, options));
|
|
6892
6996
|
}
|
|
6893
6997
|
function snakeCase(input, options) {
|
|
6894
6998
|
if (options === void 0) {
|
|
6895
6999
|
options = {};
|
|
6896
7000
|
}
|
|
6897
|
-
return dotCase(input, __assign$
|
|
7001
|
+
return dotCase(input, __assign$4({ delimiter: "_" }, options));
|
|
6898
7002
|
}
|
|
6899
7003
|
var dist_es2015 = /* @__PURE__ */ Object.freeze({
|
|
6900
7004
|
__proto__: null,
|
|
@@ -7411,28 +7515,28 @@ function usesReference(value, regexOrOptions = {}) {
|
|
|
7411
7515
|
var usesReference_1 = usesReference;
|
|
7412
7516
|
var Br = Object.defineProperty, Mr = Object.defineProperties;
|
|
7413
7517
|
var Gr = Object.getOwnPropertyDescriptors;
|
|
7414
|
-
var
|
|
7518
|
+
var H = Object.getOwnPropertySymbols;
|
|
7415
7519
|
var Se = Object.prototype.hasOwnProperty, ye = Object.prototype.propertyIsEnumerable;
|
|
7416
7520
|
var Ce = (r, e, a) => e in r ? Br(r, e, { enumerable: true, configurable: true, writable: true, value: a }) : r[e] = a, m = (r, e) => {
|
|
7417
7521
|
for (var a in e || (e = {}))
|
|
7418
7522
|
Se.call(e, a) && Ce(r, a, e[a]);
|
|
7419
|
-
if (
|
|
7420
|
-
for (var a of
|
|
7523
|
+
if (H)
|
|
7524
|
+
for (var a of H(e))
|
|
7421
7525
|
ye.call(e, a) && Ce(r, a, e[a]);
|
|
7422
7526
|
return r;
|
|
7423
7527
|
}, y = (r, e) => Mr(r, Gr(e));
|
|
7424
|
-
var
|
|
7528
|
+
var L = (r, e) => {
|
|
7425
7529
|
var a = {};
|
|
7426
7530
|
for (var t in r)
|
|
7427
7531
|
Se.call(r, t) && e.indexOf(t) < 0 && (a[t] = r[t]);
|
|
7428
|
-
if (r != null &&
|
|
7429
|
-
for (var t of
|
|
7532
|
+
if (r != null && H)
|
|
7533
|
+
for (var t of H(r))
|
|
7430
7534
|
e.indexOf(t) < 0 && ye.call(r, t) && (a[t] = r[t]);
|
|
7431
7535
|
return a;
|
|
7432
7536
|
};
|
|
7433
|
-
var
|
|
7537
|
+
var Hr = (r, e) => () => (r && (e = r(r = 0)), e);
|
|
7434
7538
|
var c = (r, e) => () => (e || r((e = { exports: {} }).exports, e), e.exports);
|
|
7435
|
-
var o =
|
|
7539
|
+
var o = Hr(() => {
|
|
7436
7540
|
});
|
|
7437
7541
|
var bo = c((On, ho) => {
|
|
7438
7542
|
o();
|
|
@@ -7444,25 +7548,25 @@ var yo = c((Fn, So) => {
|
|
|
7444
7548
|
});
|
|
7445
7549
|
var xo = c((zn, Co) => {
|
|
7446
7550
|
o();
|
|
7447
|
-
Co.exports = { fontWeight: { value: "{fontWeights.bold.value}" }, transitionDuration: { value: "{components.fieldcontrol.transitionDuration.value}" }, fontSize: { value: "{components.fieldcontrol.fontSize.value}" }, lineHeight: { value: "{components.fieldcontrol.lineHeight.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.paddingInlineEnd.value}" }, borderColor: { value: "{components.fieldcontrol.borderColor.value}" }, borderWidth: { value: "{components.fieldcontrol.borderWidth.value}" }, borderStyle: { value: "{components.fieldcontrol.borderStyle.value}" }, borderRadius: { value: "{components.fieldcontrol.borderRadius.value}" }, color: { value: "{colors.font.primary.value}" }, _hover: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.brand.primary.60.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { color: { value: "{colors.font.active.value}" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, borderColor: { value: "{colors.brand.primary.100.value}" } }, _loading: { color: { value: "{colors.font.
|
|
7551
|
+
Co.exports = { fontWeight: { value: "{fontWeights.bold.value}" }, transitionDuration: { value: "{components.fieldcontrol.transitionDuration.value}" }, fontSize: { value: "{components.fieldcontrol.fontSize.value}" }, lineHeight: { value: "{components.fieldcontrol.lineHeight.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.paddingInlineEnd.value}" }, borderColor: { value: "{components.fieldcontrol.borderColor.value}" }, borderWidth: { value: "{components.fieldcontrol.borderWidth.value}" }, borderStyle: { value: "{components.fieldcontrol.borderStyle.value}" }, borderRadius: { value: "{components.fieldcontrol.borderRadius.value}" }, color: { value: "{colors.font.primary.value}" }, _hover: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.brand.primary.60.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { color: { value: "{colors.font.active.value}" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, borderColor: { value: "{colors.brand.primary.100.value}" } }, _loading: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, primary: { borderColor: { value: "transparent" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, backgroundColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.font.inverse.value}" }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.100.value}" }, color: { value: "{colors.font.inverse.value}" } } }, menu: { borderWidth: { value: 0 }, backgroundColor: { value: "transparent" }, justifyContent: { value: "start" }, _hover: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _focus: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _active: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.90.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } } }, link: { borderWidth: { value: 0 }, borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.interactive.value}" }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.hover.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, color: { value: "{colors.font.active.value}" } }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } } }, small: { fontSize: { value: "{components.fieldcontrol.small.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.small.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.small.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.small.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.small.paddingInlineEnd.value}" } }, large: { fontSize: { value: "{components.fieldcontrol.large.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.large.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.large.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.large.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.large.paddingInlineEnd.value}" } }, loaderWrapper: { alignItems: { value: "center" }, gap: { value: "{space.xs.value}" } } };
|
|
7448
7552
|
});
|
|
7449
7553
|
var wo = c((Bn, ko) => {
|
|
7450
7554
|
o();
|
|
7451
|
-
ko.exports = { backgroundColor: { value: "{colors.background.primary.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" }, padding: { value: "{space.medium.value}" }, outlined: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" } }, elevated: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "{shadows.medium.value}" } } };
|
|
7555
|
+
ko.exports = { backgroundColor: { value: "{colors.background.primary.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" }, padding: { value: "{space.medium.value}" }, outlined: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, boxShadow: { value: "{components.card.boxShadow.value}" } }, elevated: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "{shadows.medium.value}" } } };
|
|
7452
7556
|
});
|
|
7453
7557
|
var Ao = c((Mn, To) => {
|
|
7454
7558
|
o();
|
|
7455
7559
|
To.exports = { cursor: { value: "pointer" }, alignItems: { value: "center" }, _disabled: { cursor: { value: "not-allowed" } }, button: { position: { value: "relative" }, alignItems: { value: "center" }, justifyContent: { value: "center" }, color: { value: "{colors.white.value}" }, before: { width: { value: "100%" }, height: { value: "100%" }, borderWidth: { value: "{borderWidths.medium.value}" }, borderRadius: { value: "20%" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" } }, _focus: { outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.focus.value}" } } }, _disabled: { borderColor: { value: "{colors.border.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.error.value}" } } } } }, icon: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "20%" }, opacity: { value: "{opacities.0.value}" }, transform: { value: "scale(0)" }, transitionProperty: { value: "all" }, transitionDuration: { value: "{time.short.value}" }, transitionTimingFunction: { value: "ease-in-out" }, _checked: { opacity: { value: "{opacities.100.value}" }, transform: { value: "scale(1)" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } } }, label: { _disabled: { color: { value: "{colors.font.disabled.value}" } } } };
|
|
7456
7560
|
});
|
|
7457
|
-
var
|
|
7561
|
+
var Eo = c((Gn, Io) => {
|
|
7458
7562
|
o();
|
|
7459
|
-
|
|
7563
|
+
Io.exports = { alignItems: { value: "flex-start" }, alignContent: { value: "center" }, flexDirection: { value: "column" }, justifyContent: { value: "center" } };
|
|
7460
7564
|
});
|
|
7461
|
-
var Po = c((
|
|
7565
|
+
var Po = c((Hn, Do) => {
|
|
7462
7566
|
o();
|
|
7463
|
-
|
|
7567
|
+
Do.exports = { height: { value: "100%" } };
|
|
7464
7568
|
});
|
|
7465
|
-
var Wo = c((
|
|
7569
|
+
var Wo = c((Ln, Ro) => {
|
|
7466
7570
|
o();
|
|
7467
7571
|
Ro.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.medium.value}" }, small: { borderWidth: { value: "{borderWidths.small.value}" } }, large: { borderWidth: { value: "{borderWidths.large.value}" } }, opacity: { value: "{opacities.60.value}" } };
|
|
7468
7572
|
});
|
|
@@ -7476,7 +7580,7 @@ var No = c((jn, Uo) => {
|
|
|
7476
7580
|
});
|
|
7477
7581
|
var Fo = c(($n, Oo) => {
|
|
7478
7582
|
o();
|
|
7479
|
-
Oo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderRadius: { value: "{radii.small.value}" }, color: { value: "{colors.font.primary.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" }, fontSize: { value: "{components.field.fontSize.value}" }, lineHeight: { value: "{lineHeights.medium.value}" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, small: { fontSize: { value: "{components.field.small.fontSize.value}" }, paddingBlockStart: { value: "{space.
|
|
7583
|
+
Oo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderRadius: { value: "{radii.small.value}" }, color: { value: "{colors.font.primary.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" }, fontSize: { value: "{components.field.fontSize.value}" }, lineHeight: { value: "{lineHeights.medium.value}" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, small: { fontSize: { value: "{components.field.small.fontSize.value}" }, paddingBlockStart: { value: "{space.xxs.value}" }, paddingBlockEnd: { value: "{space.xxs.value}" }, paddingInlineStart: { value: "{space.small.value}" }, paddingInlineEnd: { value: "{space.small.value}" } }, large: { fontSize: { value: "{components.field.large.fontSize.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } }, quiet: { borderStyle: { value: "none" }, borderBlockEnd: { value: "{borderWidths.small.value} solid {colors.border.primary.value}" }, borderInlineStart: { value: "none" }, borderInlineEnd: { value: "none" }, borderBlockStart: { value: "none" }, borderRadius: { value: "0" }, _focus: { borderBlockEndColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.focus.value}" } } }, _error: { borderBlockEndColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.error.value}" } } } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.focus.value}" } } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, cursor: { value: "not-allowed" }, borderColor: { value: "{colors.transparent.value}" }, backgroundColor: { value: "{colors.background.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.error.value}" } } } } };
|
|
7480
7584
|
});
|
|
7481
7585
|
var Bo = c((Kn, zo) => {
|
|
7482
7586
|
o();
|
|
@@ -7486,13 +7590,13 @@ var Go = c((Yn, Mo) => {
|
|
|
7486
7590
|
o();
|
|
7487
7591
|
Mo.exports = { error: { color: { value: "{colors.font.error.value}" }, fontSize: { value: "{fontSizes.small.value}" } }, description: { color: { value: "{colors.font.secondary.value}" }, fontStyle: { value: "italic" }, fontSize: { value: "{fontSizes.small.value}" } } };
|
|
7488
7592
|
});
|
|
7489
|
-
var
|
|
7593
|
+
var Lo = c((Xn, Ho) => {
|
|
7490
7594
|
o();
|
|
7491
|
-
|
|
7595
|
+
Ho.exports = { gap: { value: "{space.medium.value}" }, justifyContent: { value: "normal" }, alignItems: { value: "stretch" }, alignContent: { value: "normal" }, flexWrap: { value: "nowrap" } };
|
|
7492
7596
|
});
|
|
7493
7597
|
var jo = c((Zn, qo) => {
|
|
7494
7598
|
o();
|
|
7495
|
-
qo.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value:
|
|
7599
|
+
qo.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: "{lineHeights.small.value}" }, 1: { fontSize: { value: "{fontSizes.xxxxl.value}" }, fontWeight: { value: "{fontWeights.light.value}" } }, 2: { fontSize: { value: "{fontSizes.xxxl.value}" }, fontWeight: { value: "{fontWeights.normal.value}" } }, 3: { fontSize: { value: "{fontSizes.xxl.value}" }, fontWeight: { value: "{fontWeights.medium.value}" } }, 4: { fontSize: { value: "{fontSizes.xl.value}" }, fontWeight: { value: "{fontWeights.semibold.value}" } }, 5: { fontSize: { value: "{fontSizes.large.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } }, 6: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.extrabold.value}" } } };
|
|
7496
7600
|
});
|
|
7497
7601
|
var Ko = c((Qn, $o) => {
|
|
7498
7602
|
o();
|
|
@@ -7508,7 +7612,7 @@ var Qo = c((ei, Zo) => {
|
|
|
7508
7612
|
});
|
|
7509
7613
|
var er = c((oi, Jo) => {
|
|
7510
7614
|
o();
|
|
7511
|
-
Jo.exports = { width: { value: "{fontSizes.
|
|
7615
|
+
Jo.exports = { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { width: { value: "{fontSizes.small.value}" }, height: { value: "{fontSizes.small.value}" } }, large: { width: { value: "{fontSizes.large.value}" }, height: { value: "{fontSizes.large.value}" } }, linear: { width: { value: "100%" }, minWidth: { value: "5rem" }, height: { value: "{fontSizes.medium.value}" }, strokeWidth: { value: "{fontSizes.medium.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { height: { value: "{fontSizes.small.value}" }, strokeWidth: { value: "{fontSizes.small.value}" } }, large: { height: { value: "{fontSizes.large.value}" }, strokeWidth: { value: "{fontSizes.large.value}" } } } };
|
|
7512
7616
|
});
|
|
7513
7617
|
var rr = c((ri, or) => {
|
|
7514
7618
|
o();
|
|
@@ -7544,7 +7648,7 @@ var fr = c((ui, gr) => {
|
|
|
7544
7648
|
});
|
|
7545
7649
|
var br = c((di, hr) => {
|
|
7546
7650
|
o();
|
|
7547
|
-
hr.exports = { paddingBlock: { value: "{space.xs.value}" }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "9999px" }, height: { value: "0.375rem" }, minWidth: { value: "10rem" } }, range: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "9999px" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } }, thumb: { width: { value: "1.25rem" }, height: { value: "1.25rem" }, backgroundColor: { value: "{colors.background.primary.value}" }, boxShadow: { value: "{shadows.
|
|
7651
|
+
hr.exports = { paddingBlock: { value: "{space.xs.value}" }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "9999px" }, height: { value: "0.375rem" }, minWidth: { value: "10rem" } }, range: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "9999px" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } }, thumb: { width: { value: "1.25rem" }, height: { value: "1.25rem" }, backgroundColor: { value: "{colors.background.primary.value}" }, boxShadow: { value: "{shadows.small.value}" }, borderRadius: { value: "50%" }, borderWidth: { value: "{borderWidths.small.value}" }, borderColor: { value: "{colors.border.primary.value}" }, borderStyle: { value: "solid" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" } }, _hover: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _focus: { boxShadow: { value: { offsetX: "0", offsetY: "0", blurRadius: "0", spreadRadius: "3px", color: "{colors.border.focus.value}" } } } }, small: { track: { height: { value: "0.25rem" } }, thumb: { width: { value: "1rem" }, height: { value: "1rem" } } }, large: { track: { height: { value: "0.625rem" } }, thumb: { width: { value: "1.5rem" }, height: { value: "1.5rem" } } } };
|
|
7548
7652
|
});
|
|
7549
7653
|
var yr = c((ci, Sr) => {
|
|
7550
7654
|
o();
|
|
@@ -7552,7 +7656,7 @@ var yr = c((ci, Sr) => {
|
|
|
7552
7656
|
});
|
|
7553
7657
|
var xr = c((mi, Cr) => {
|
|
7554
7658
|
o();
|
|
7555
|
-
Cr.exports = { disabled: { opacity: { value: "{opacities.60.value}" } }, focused: { shadow: { value: "{shadows.small.value}" } },
|
|
7659
|
+
Cr.exports = { disabled: { opacity: { value: "{opacities.60.value}" } }, focused: { shadow: { value: "{shadows.small.value}" } }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } }, label: { padding: { value: "{space.xs.value}" } }, thumb: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { transform: { value: "{transforms.slideX.medium.value}" } }, transition: { duration: { value: "{time.medium.value}" } }, width: { value: "{space.relative.medium.value}" } }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { backgroundColor: { value: "{colors.brand.primary.60.value}" } }, height: { value: "{space.relative.medium.value}" }, padding: { value: "{outlineWidths.medium.value}" }, transition: { duration: { value: "{time.short.value}" } }, width: { value: "{space.relative.xl.value}" } } };
|
|
7556
7660
|
});
|
|
7557
7661
|
var wr = c((vi, kr) => {
|
|
7558
7662
|
o();
|
|
@@ -7562,13 +7666,13 @@ var Ar = c((pi, Tr) => {
|
|
|
7562
7666
|
o();
|
|
7563
7667
|
Tr.exports = { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, gap: { value: "0" }, item: { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, color: { value: "{colors.font.secondary.value}" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" }, paddingVertical: { value: "{space.small.value}" }, paddingHorizontal: { value: "{space.medium.value}" }, textAlign: { value: "center" }, transitionDuration: { value: "{time.medium.value}" }, _hover: { color: { value: "{colors.font.hover.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" } }, _active: { color: { value: "{colors.font.interactive.value}" }, borderColor: { value: "{colors.font.interactive.value}" }, backgroundColor: { value: "transparent" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } } } };
|
|
7564
7668
|
});
|
|
7565
|
-
var
|
|
7669
|
+
var Er = c((gi, Ir) => {
|
|
7566
7670
|
o();
|
|
7567
|
-
|
|
7671
|
+
Ir.exports = { color: { value: "{colors.font.primary.value}" }, primary: { color: { value: "{colors.font.primary.value}" } }, secondary: { color: { value: "{colors.font.secondary.value}" } }, tertiary: { color: { value: "{colors.font.tertiary.value}" } }, error: { color: { value: "{colors.font.error.value}" } }, warning: { color: { value: "{colors.font.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" } }, info: { color: { value: "{colors.font.info.value}" } } };
|
|
7568
7672
|
});
|
|
7569
|
-
var Pr = c((fi,
|
|
7673
|
+
var Pr = c((fi, Dr) => {
|
|
7570
7674
|
o();
|
|
7571
|
-
|
|
7675
|
+
Dr.exports = { borderColor: { value: "{colors.border.primary.value}" }, color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, color: { value: "{colors.overlay.50.value}" } }, _active: { backgroundColor: { value: "{colors.transparent.value}" } }, _disabled: { backgroundColor: { value: "{colors.transparent.value}" }, borderColor: { value: "{colors.border.secondary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { color: { value: "{colors.font.primary.value}" }, backgroundColor: { value: "{colors.overlay.20.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.30.value}" } } }, primary: { backgroundColor: { value: "{colors.transparent.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, backgroundColor: { value: "{colors.transparent.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" }, color: { value: "{colors.overlay.50.value}" } }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { backgroundColor: { value: "{colors.background.tertiary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.white.value}" }, _focus: { backgroundColor: { value: "{colors.border.focus.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _hover: { borderColor: { value: "{colors.brand.primary.60.value}" }, backgroundColor: { value: "{colors.brand.primary.60.value}" } } } }, link: { color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _focus: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.90.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" } } } } };
|
|
7572
7676
|
});
|
|
7573
7677
|
var Wr = c((hi, Rr) => {
|
|
7574
7678
|
o();
|
|
@@ -7576,7 +7680,7 @@ var Wr = c((hi, Rr) => {
|
|
|
7576
7680
|
});
|
|
7577
7681
|
var _r = c((bi, Vr) => {
|
|
7578
7682
|
o();
|
|
7579
|
-
Vr.exports = { alert: bo(), badge: yo(), button: xo(), card: wo(), checkbox: Ao(), checkboxfield:
|
|
7683
|
+
Vr.exports = { alert: bo(), badge: yo(), button: xo(), card: wo(), checkbox: Ao(), checkboxfield: Eo(), countrycodeselect: Po(), divider: Wo(), expander: _o(), field: No(), fieldcontrol: Fo(), fieldgroup: Bo(), fieldmessages: Go(), flex: Lo(), heading: jo(), icon: Ko(), image: Xo(), link: Qo(), loader: er(), menu: rr(), pagination: tr(), phonenumberfield: ir(), placeholder: lr(), radio: dr(), rating: mr(), select: pr(), selectfield: fr(), sliderfield: br(), stepperfield: yr(), switchfield: xr(), table: wr(), tabs: Ar(), text: Er(), togglebutton: Pr(), togglebuttongroup: Wr() };
|
|
7580
7684
|
});
|
|
7581
7685
|
o();
|
|
7582
7686
|
o();
|
|
@@ -7663,11 +7767,11 @@ var J = { "Account recovery requires verified contact information": "Zur\xFCckse
|
|
|
7663
7767
|
o();
|
|
7664
7768
|
var ee = { "Account recovery requires verified contact information": "Account recovery requires verified contact information", "Back to Sign In": "Back to Sign In", "Change Password": "Change Password", Changing: "Changing", Code: "Code", Confirm: "Confirm", "Confirm Password": "Confirm Password", "Confirm Sign Up": "Confirm Sign Up", "Confirm SMS Code": "Confirm SMS Code", "Confirm TOTP Code": "Confirm TOTP Code", "Confirmation Code": "Confirmation Code", Confirming: "Confirming", "Create Account": "Create Account", "Creating Account": "Creating Account", Email: "Email", "Enter your code": "Enter your code", "Enter your username": "Enter your username", "Enter your phone number": "Enter your phone number", "Enter your email": "Enter your email", "Forgot your password?": "Forgot your password?", "Hide password": "Hide password", Loading: "Loading", Username: "Username", "New password": "New password", Password: "Password", "Phone Number": "Phone Number", "Resend Code": "Resend Code", "Reset your password": "Reset your password", "Reset your Password": "Reset your Password", "Send Code": "Send Code", "Send code": "Send code", Sending: "Sending", "Setup TOTP": "Setup TOTP", "Show password": "Show password", "Sign in": "Sign in", "Sign In": "Sign In", "Sign In with Amazon": "Sign In with Amazon", "Sign In with Apple": "Sign In with Apple", "Sign In with Facebook": "Sign In with Facebook", "Sign In with Google": "Sign In with Google", "Sign in to your account": "Sign in to your account", "Create a new account": "Create a new account", "Signing in": "Signing in", Skip: "Skip", Submit: "Submit", Submitting: "Submitting", "Verify Contact": "Verify Contact", Verify: "Verify" };
|
|
7665
7769
|
o();
|
|
7666
|
-
var oe = { "Account recovery requires verified contact information": "La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada", "Back to Sign In": "Volver a inicio de sesi\xF3n", "Change Password": "Cambiar contrase\xF1a", Code: "C\xF3digo", Confirm: "Confirmar", "Confirm a Code": "Confirmar un c\xF3digo", "Confirm Password": "Confirmar contrase\xF1a", "Confirm Sign In": "Confirmar inicio de sesi\xF3n", "Confirm Sign Up": "Confirmar registro", "Confirmation Code": "C\xF3digo de confirmaci\xF3n", "Create a new account": "Crear una cuenta nueva", Email: "Email", "Forgot Password": "Olvid\xE9 mi contrase\xF1a", "Incorrect username or password": "Nombre de usuario o contrase\xF1a incorrecta", "Invalid password format": "Formato de contrase\xF1a inv\xE1lido", "Invalid phone number format": "Formato de n\xFAmero de tel\xE9fono inv\xE1lido", "Loading...": "Cargando...", "New Password": "Nueva contrase\xF1a", or: "o", Password: "Contrase\xF1a", "Phone Number": "N\xFAmero de tel\xE9fono", "Resend a Code": "Reenviar un c\xF3digo", "Resend Code": "Reenviar c\xF3digo", "Send Code": "Enviar c\xF3digo", "Sign
|
|
7770
|
+
var oe = { "Account recovery requires verified contact information": "La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada", "Back to Sign In": "Volver a inicio de sesi\xF3n", "Change Password": "Cambiar contrase\xF1a", Changing: "Cambiando", Code: "C\xF3digo", Confirm: "Confirmar", "Confirm a Code": "Confirmar un c\xF3digo", "Confirm Password": "Confirmar contrase\xF1a", "Confirm Sign In": "Confirmar inicio de sesi\xF3n", "Confirm Sign Up": "Confirmar registro", "Confirm TOTP Code": "Confirmar c\xF3digo TOTP", "Confirmation Code": "C\xF3digo de confirmaci\xF3n", Confirming: "Confirmando", "Create a new account": "Crear una cuenta nueva", "Creating Account": "Creando cuenta", Email: "Email", "Forgot Password": "Olvid\xE9 mi contrase\xF1a", "Incorrect username or password": "Nombre de usuario o contrase\xF1a incorrecta", "Invalid password format": "Formato de contrase\xF1a inv\xE1lido", "Invalid phone number format": "Formato de n\xFAmero de tel\xE9fono inv\xE1lido", "Forgot your password?": "\xBFOlvid\xF3 su contrase\xF1a?", "Hide password": "Ocultar contrase\xF1a", "Loading...": "Cargando...", "New Password": "Nueva contrase\xF1a", or: "o", Password: "Contrase\xF1a", "Phone Number": "N\xFAmero de tel\xE9fono", "Resend a Code": "Reenviar un c\xF3digo", "Reset your password": "Restablecer su contrase\xF1a", "Reset your Password": "Restablecer su Contrase\xF1a", "Resend Code": "Reenviar c\xF3digo", "Send Code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar contrase\xF1a", "Sign in": "Iniciar sesi\xF3n", "Sign In": "Iniciar Sesi\xF3n", "Sign In with Amazon": "Iniciar Sesi\xF3n con Amazon", "Sign In with Apple": "Iniciar Sesi\xF3n con Apple", "Sign In with Facebook": "Iniciar Sesi\xF3n con Facebook", "Sign In with Google": "Iniciar Sesi\xF3n con Google", "Sign in to your account": "Iniciar sesi\xF3n en tu cuenta", "Sign Out": "Cerrar sesi\xF3n", "Sign Up": "Crear cuenta", "Signing in": "Iniciando sesi\xF3n", Skip: "Omitir", Submit: "Enviar", "User already exists": "El usuario ya existe", "User does not exist": "El usuario no existe", Username: "Nombre de usuario", "Username cannot be empty": "El nombre de usuario no puede estar vac\xEDo", Verify: "Verificar", "Verify Contact": "Verificar contacto" };
|
|
7667
7771
|
o();
|
|
7668
7772
|
var re = { "Account recovery requires verified contact information": "La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es", "An account with the given email already exists.": "Un utilisateur avec cette adresse email existe d\xE9j\xE0.", "Back to Sign In": "Retour \xE0 la connexion", Change: "Modifier", "Change Password": "Modifier le mot de passe", Code: "Code", Confirm: "Confirmer", "Confirm a Code": "Confirmer un code", "Confirm Password": "Confirmez le mot de passe", "Confirm Sign In": "Confirmer la connexion", "Confirm Sign Up": "Confirmer l'inscription", "Confirm SMS Code": "Confirmer le code SMS", "Confirm TOTP Code": "Confirmer le code TOTP", "Confirmation Code": "Code de confirmation", "Create a new account": "Cr\xE9er un nouveau compte", "Create account": "Cr\xE9er un compte", "Create Account": "Cr\xE9er un compte", Email: "Email", "Enter your code": "Saisissez cotre code de confirmation", "Enter your email": "Saisissez votre adresse email", "Enter your password": "Saisissez votre mot de passe", "Enter your phone number": "Saisissez votre num\xE9ro de t\xE9l\xE9phone", "Enter your username": "Saisissez votre nom d'utilisateur", "Forgot Password": "Mot de passe oubli\xE9", "Forgot your password?": "Mot de passe oubli\xE9 ? ", "Have an account? ": "D\xE9j\xE0 un compte ? ", Hello: "Bonjour", "Incorrect username or password": "Identifiant ou mot de passe incorrect", "Invalid password format": "Format de mot de passe invalide", "Invalid phone number format": "Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900", "Loading...": "Chargement...", "Lost your code? ": "Vous avez perdu votre code ? ", "Network error": "Erreur r\xE9seau", "New Password": "Nouveau mot de passe", "No account? ": "Pas de compte ? ", or: "ou", Password: "Mot de passe", "Phone Number": "Num\xE9ro de t\xE9l\xE9phone", "Resend a Code": "Renvoyer un code", "Resend Code": "Renvoyer le code", "Reset password": "R\xE9initialisez votre mot de passe", "Reset your password": "R\xE9initialisez votre mot de passe", Send: "Envoyer", "Send Code": "M'envoyer un code", "Sign in": "Se connecter", "Sign In": "Se connecter", "Sign in to your account": "Connexion \xE0 votre compte", "Sign In with Amazon": "Se connecter avec Amazon", "Sign In with AWS": "Se connecter avec AWS", "Sign In with Facebook": "Se connecter avec Facebook", "Sign In with Google": "Se connecter avec Google", "Sign Out": "D\xE9connexion", "Sign Up": "S'inscrire", Skip: "Passer", SMS: "SMS", Submit: "Soumettre", "User already exists": "L'utilisateur existe d\xE9j\xE0", "User does not exist": "L'utilisateur n'existe pas", Username: "Nom d'utilisateur", "Username cannot be empty": "Le nom d'utilisateur doit \xEAtre renseign\xE9", "Username/client id combination not found.": "L'utilisateur n'existe pas", Verify: "V\xE9rifier", "Verify Contact": "V\xE9rifier le contact" };
|
|
7669
7773
|
o();
|
|
7670
|
-
var ae = { "Account recovery requires verified contact information": "
|
|
7774
|
+
var ae = { "Account recovery requires verified contact information": "Il ripristino dell'account richiede informazioni di contatto verificate", "An account with the given email already exists.": "Questa email \xE8 gi\xE0 utilizzata da un'altro account.", "Back to Sign In": "Torna alla schermata di accesso", "Change Password": "Cambia la password", Code: "Codice", Confirm: "Conferma", "Confirm a Code": "Conferma un codice", "Confirm Password": "Conferma la password", "Confirm Sign In": "Conferma l'accesso", "Confirm Sign Up": "Conferma registrazione", "Confirmation Code": "Codice di verifica", "Create a new account": "Crea un nuovo account", "Create account": "Crea account", "Create Account": "Crea Account", Email: "Email", "Enter your password": "Inserisci la tua password", "Enter your username": "Inserisci il tuo nome utente", "Forgot Password": "Password dimenticata", "Forgot your password?": "Password dimenticata?", "Have an account? ": "Gi\xE0 registrato?", "Incorrect username or password": "Nome utente o password errati", "Invalid password format": "Formato della password non valido", "Invalid phone number format": "Formato del numero di telefono non valido", "Lost your code?": "Codice smarrito?", "New Password": "Nuova password", or: "o", "No account? ": "Non hai un account?", Password: "Password", "Password attempts exceeded": "Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto", "Phone Number": "Numero di telefono", "Resend Code": "Rispedisci codice", "Reset password": "Reimposta password", "Reset your password": "Reimposta la tua password", "Send Code": "Invia codice", "Sign in": "Accesso", "Sign In": "Accesso", "Sign in to your account": "Accedi al tuo account", "Sign Out": "Esci", "Sign Up": "Registrati", Skip: "Salta", Submit: "Invia", "User already exists": "Utente gi\xE0 esistente", "User does not exist": "Utente inesistente", Username: "Nome utente", "Username cannot be empty": "Il nome utente non pu\xF2 essere vuoto", Verify: "Verifica", "Verify Contact": "Verifica contatto" };
|
|
7671
7775
|
o();
|
|
7672
7776
|
var te = { "Account recovery requires verified contact information": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059", "An account with the given email already exists.": "\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059", "Back to Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B", "Change Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ", Code: "\u30B3\u30FC\u30C9", Confirm: "\u78BA\u5B9A", "Confirm a Code": "\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D", "Confirm Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D", "Confirm Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B", "Confirm Sign Up": "\u767B\u9332\u3059\u308B", "Confirmation Code": "\u78BA\u8A8D\u30B3\u30FC\u30C9", "Create a new account": "\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", "Create account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ", "Create Account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", Email: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", "Enter your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ", "Enter your username": "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ", "Forgot Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ", "Forgot your password?": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ", "Have an account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F", "Incorrect username or password": "\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ", "Invalid password format": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ", "Invalid phone number format": `\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
|
|
7673
7777
|
+12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`, "Lost your code? ": "\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F", "New Password": "\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9", "No account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ", or: "\u53C8\u306F", Password: "\u30D1\u30B9\u30EF\u30FC\u30C9 ", "Password attempts exceeded": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F", "Phone Number": "\u96FB\u8A71\u756A\u53F7", "Resend Code": "\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1", "Reset password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ", "Reset your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B", "Send Code": "\u30B3\u30FC\u30C9\u3092\u9001\u4FE1", "Sign in": "\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign in to your account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign In with Amazon": "Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Facebook": "Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Google": "Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign Out": "\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ", "Sign Up": "\u767B\u9332 ", Skip: "\u30B9\u30AD\u30C3\u30D7", Submit: "\u9001\u4FE1", "User already exists": "\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ", "User does not exist": "\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ", Username: "\u30E6\u30FC\u30B6\u30FC\u540D ", "Username cannot be empty": "\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059", Verify: "\u78BA\u8A8D", "Verify Contact": "\u9023\u7D61\u5148\u3092\u78BA\u8A8D" };
|
|
@@ -7680,24 +7784,12 @@ var se = { "Back to Sign In": "Powr\xF3t do logowania", Birthdate: "Data urodzen
|
|
|
7680
7784
|
o();
|
|
7681
7785
|
var le = { "Back to Sign In": "Voltar para Entrar", "Change Password": "Mudar senha", Changing: "Mudando", Code: "C\xF3digo", "Confirm Password": "Confirme a Senha", "Reset your Password": "Redefina sua senha", "Confirm Sign Up": "Confirmar inscri\xE7\xE3o", "Confirm SMS Code": "Confirme o c\xF3digo SMS", "Confirm TOTP Code": "Confirme o c\xF3digo TOTP", Confirm: "confirme", "Confirmation Code": "C\xF3digo de confirma\xE7\xE3o", Confirming: "Confirmando", "Create Account": "Criar Conta", "Creating Account": "Criando conta", Email: "O email", "Enter your code": "Insira seu c\xF3digo", "Enter your username": "entre com seu nome de usu\xE1rio", "Enter your phone number": "Digite seu n\xFAmero de telefone", "Enter your email": "Digite seu e-mail", "Forgot your password?": "Esqueceu sua senha? ", "Hide password": "Esconder a senha", Loading: "Carregando", Username: "Nome do usu\xE1rio", "New password": "Nova Senha", Password: "Senha", "Phone Number": "N\xFAmero de telefone", "Resend Code": "Reenviar c\xF3digo", "Reset your password": "Redefina sua senha", "Send Code": "Enviar c\xF3digo", "Send code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar senha", "Sign In": "Entrar", "Sign in": "Entrar", "Sign In with Amazon": "Entrar com a Amazon", "Sign In with Apple": "Entrar com a Apple", "Sign In with Facebook": "Entrar com o Facebook", "Sign In with Google": "Fa\xE7a login no Google", "Sign in to your account": "Fa\xE7a login em sua conta", "Create a new account": "Criar uma nova conta", "Signing in": "Entrando", Skip: "Pular", Submit: "Enviar", Submitting: "Enviando", "Verify Contact": "Verificar contato", "Account recovery requires verified contact information": "A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas", Verify: "Verificar" };
|
|
7682
7786
|
o();
|
|
7683
|
-
var ue = { "Account recovery requires verified contact information": "\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F", "Back to Sign In": "\u56DE\u5230\u767B\u5F55", "Change Password": "\u6539\
|
|
7787
|
+
var ue = { "Account recovery requires verified contact information": "\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F", "Back to Sign In": "\u56DE\u5230\u767B\u5F55", "Change Password": "\u66F4\u6539\u5BC6\u7801", Code: "\u786E\u8BA4\u7801", Confirm: "\u786E\u8BA4", "Confirm a Code": "\u786E\u8BA4\u7801", "Confirm Password": "\u786E\u8BA4\u5BC6\u7801", "Confirm Sign In": "\u786E\u8BA4\u767B\u5F55", "Confirm Sign Up": "\u786E\u8BA4\u6CE8\u518C", Email: "\u90AE\u7BB1", "Forgot Password": "\u5FD8\u8BB0\u5BC6\u7801", "Incorrect username or password": "\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF", "Invalid password format": "\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF", "Invalid phone number format": "\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900", "New Password": "\u65B0\u5BC6\u7801", or: "\u6216\u8005", Password: "\u5BC6\u7801", "Phone Number": "\u7535\u8BDD", "Resend a Code": "\u91CD\u53D1\u786E\u8BA4\u7801", "Send Code": "\u53D1\u9001\u786E\u8BA4\u7801", "Sign In": "\u767B\u5F55", "Sign Out": "\u9000\u51FA", "Sign Up": "\u6CE8\u518C", Skip: "\u8DF3\u8FC7", Submit: "\u63D0\u4EA4", "User already exists": "\u7528\u6237\u5DF2\u7ECF\u5B58\u5728", "User does not exist": "\u7528\u6237\u4E0D\u5B58\u5728", Username: "\u7528\u6237\u540D", Verify: "\u9A8C\u8BC1", "Verify Contact": "\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F" };
|
|
7684
7788
|
o();
|
|
7685
7789
|
var de = { "Account recovery requires verified contact information": "F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto", "An account with the given email already exists.": "Det finns redan ett konto med denna e-postadress", "Back to Sign In": "Tillbaka till inloggningen", "Change Password": "Byt l\xF6senord", "Confirm Password": "Bekr\xE4fta l\xF6senord", Code: "Kod", Confirm: "Bekr\xE4fta", "Confirm a Code": "Bekr\xE4fta koden", "Confirm Sign In": "Bekr\xE4fta inloggning", "Confirm Sign Up": "Bekr\xE4fta registrering", "Confirmation Code": "Verifikationskod", "Create a new account": "Skapa ett nytt konto", "Create account": "Skapa konto", "Create Account": "Skapa konto", Email: "E-post", "Enter your password": "Ange ditt l\xF6senord", "Enter your username": "Ange ditt anv\xE4ndarnamn", "Forgot Password": "Gl\xF6mt l\xF6senordet", "Forgot your password?": "Gl\xF6mt ditt l\xF6senord? ", "Have an account? ": "Redan registrerad? ", "Incorrect username or password": "Felaktigt anv\xE4ndarnamn eller l\xF6senord", "Invalid password format": "Ogiltigt l\xF6senordsformat", "Invalid phone number format": "Ogiltigt format f\xF6r telefonnummer", "Lost your code? ": "F\xF6rlorat koden? ", "New Password": "Nytt l\xF6senord", "No account? ": "Inget konto? ", or: "eller", Password: "L\xF6senord", "Password attempts exceeded": "Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts", "Phone Number": "Telefonnummer", "Resend Code": "Skicka koden igen", "Reset password": "\xC5terst\xE4ll l\xF6senord", "Reset your password": "\xC5terst\xE4ll ditt l\xF6senord", "Send code": "Skicka kod", "Sign in": "Logga in", "Sign In": "Logga in", "Sign in to your account": "Logga in till ditt konto", "Sign Out": "Logga ut", "Sign Up": "Registrering", "We Emailed You": "Vi har skickat e-post till dig", "Enter your code": "Skriv din kod", Skip: "Hoppa \xF6ver", Submit: "Skicka", "User already exists": "Anv\xE4ndaren finns redan", "User does not exist": "Anv\xE4ndaren finns inte", Username: "Anv\xE4ndarnamn", "Username cannot be empty": "Anv\xE4ndarnamnet kan inte vara tomt", Verify: "Verifiera", "Verify Contact": "Verifiera kontakt" };
|
|
7686
7790
|
o();
|
|
7687
7791
|
var ce = { BACK_SIGN_IN: "Back to Sign In", BIRTHDATE: "Birthdate", CHANGE_PASSWORD: "Change Password", CHANGING_PASSWORD: "Changing", CODE: "Code", CONFIRM_PASSWORD: "Confirm Password", CONFIRM_RESET_PASSWORD_HEADING: "Reset your Password", CONFIRM_SIGNUP_HEADING: "Confirm Sign Up", CONFIRM_SMS: "Confirm SMS Code", CONFIRM_TOTP: "Confirm TOTP Code", CONFIRM: "Confirm", CONFIRMATION_CODE: "Confirmation Code", CONFIRMING: "Confirming", CREATE_ACCOUNT: "Create Account", CREATING_ACCOUNT: "Creating Account", EMAIL_ADDRESS: "Email", ENTER_CODE: "Enter your code", ENTER_USERNAME: "Enter your username", FAMILY_NAME: "Family Name", GIVEN_NAME: "Given Name", FORGOT_YOUR_PASSWORD: "Forgot your password?", FORGOT_YOUR_PASSWORD_LEGACY: "Forgot your password? ", HIDE_PASSWORD: "Hide password", LOADING: "Loading", LOGIN_NAME: "Username", MIDDLE_NAME: "Middle Name", NAME: "Name", NICKNAME: "Nickname", NEW_PASSWORD: "New password", PASSWORD: "Password", PHONE_NUMBER: "Phone Number", PREFERRED_USERNAME: "Preferred Username", PROFILE: "Profile", RESEND_CODE: "Resend Code", RESET_PASSWORD_HEADING: "Reset your password", RESET_PASSWORD: "Reset Password", SEND_CODE: "Send code", SENDING: "Sending", SETUP_TOTP: "Setup TOTP", SHOW_PASSWORD: "Show password", SIGN_IN_BUTTON: "Sign in", SIGN_IN_TAB: "Sign In", SIGN_IN_WITH_AMAZON: "Sign In with Amazon", SIGN_IN_WITH_APPLE: "Sign In with Apple", SIGN_IN_WITH_FACEBOOK: "Sign In with Facebook", SIGN_IN_WITH_GOOGLE: "Sign In with Google", SIGN_IN: "Sign in to your account", SIGN_UP_BUTTON: "Create a new account", SIGNING_IN_BUTTON: "Signing in", SKIP: "Skip", SUBMIT: "Submit", SUBMITTING: "Submitting", VERIFY_CONTACT: "Verify Contact", VERIFY_HEADING: "Account recovery requires verified contact information", VERIFY: "Verify", WEBSITE: "Website" };
|
|
7688
|
-
m({}, J);
|
|
7689
|
-
m({}, ee);
|
|
7690
|
-
m({}, oe);
|
|
7691
|
-
m({}, re);
|
|
7692
|
-
m({}, ae);
|
|
7693
|
-
m({}, te);
|
|
7694
|
-
m({}, ne);
|
|
7695
|
-
m({}, ie);
|
|
7696
|
-
m({}, se);
|
|
7697
|
-
m({}, le);
|
|
7698
|
-
m({}, ue);
|
|
7699
|
-
m({}, de);
|
|
7700
|
-
var Ue = m({}, ce);
|
|
7792
|
+
var ke = m({}, J), we = m({}, ee), Te = m({}, oe), Ae = m({}, re), Ie = m({}, ae), Ee = m({}, te), De = m({}, ne), Pe = m({}, ie), Re = m({}, se), We = m({}, le), Ve = m({}, ue), _e = m({}, de), Ue = m({}, ce);
|
|
7701
7793
|
m({}, Ue);
|
|
7702
7794
|
function kt(r) {
|
|
7703
7795
|
return I18n.get(r);
|
|
@@ -7705,31 +7797,32 @@ function kt(r) {
|
|
|
7705
7797
|
function wt(r) {
|
|
7706
7798
|
return I18n.get(r) !== r;
|
|
7707
7799
|
}
|
|
7800
|
+
var Tt = { de: ke, en: we, es: Te, fr: Ae, it: Ie, ja: Ee, kr: De, nl: Pe, pl: Re, pt: We, zh: Ve, sv: _e };
|
|
7708
7801
|
o();
|
|
7709
7802
|
o();
|
|
7710
7803
|
o();
|
|
7711
7804
|
var G = (r) => stop_1(r), Oe = assign_1({ attributeToVerify: (r) => {
|
|
7712
7805
|
} }), Fe = assign_1({ challengeName: (r) => {
|
|
7713
7806
|
} }), ze = assign_1({ requiredAttributes: (r) => {
|
|
7714
|
-
} }), E = assign_1({ remoteError: (r) => "" }), D = assign_1({ formValues: (r) => ({}) }),
|
|
7807
|
+
} }), E = assign_1({ remoteError: (r) => "" }), D = assign_1({ formValues: (r) => ({}) }), P = assign_1({ touched: (r) => ({}) }), Be = assign_1({ unverifiedAttributes: (r) => {
|
|
7715
7808
|
} }), Me = assign_1({ username: (r) => {
|
|
7716
|
-
} }),
|
|
7809
|
+
} }), R = assign_1({ validationError: (r) => ({}) }), Ge = assign_1({ challengeName: (r, e) => {
|
|
7717
7810
|
var a;
|
|
7718
7811
|
return (a = e.data) == null ? void 0 : a.challengeName;
|
|
7719
|
-
} }),
|
|
7812
|
+
} }), He = assign_1({ requiredAttributes: (r, e) => {
|
|
7720
7813
|
var a, t;
|
|
7721
7814
|
return (t = (a = e.data) == null ? void 0 : a.challengeParam) == null ? void 0 : t.requiredAttributes;
|
|
7722
|
-
} }),
|
|
7815
|
+
} }), Le = assign_1({ redirectIntent: (r) => "confirmPasswordReset" }), qe = assign_1({ redirectIntent: (r) => "confirmSignUp" }), j = assign_1({ authAttributes: (r, e) => {
|
|
7723
7816
|
var l, u;
|
|
7724
7817
|
let [a] = r.loginMechanisms, t = (l = r.formValues[a]) != null ? l : r.formValues.username, s = (u = r.formValues) == null ? void 0 : u.password;
|
|
7725
7818
|
return { username: t, password: s };
|
|
7726
|
-
} }),
|
|
7819
|
+
} }), W = assign_1({ validationError: (r, e) => e.data }), V = assign_1({ remoteError: (r, e) => {
|
|
7727
7820
|
var a;
|
|
7728
7821
|
return e.data.name === "NoUserPoolError" ? "Configuration error (see console) \u2013 please contact the administrator" : ((a = e.data) == null ? void 0 : a.message) || e.data;
|
|
7729
|
-
} }), je = assign_1({ unverifiedAttributes: (r, e) => e.data.unverified }), $ = assign_1({ user: (r, e) => e.data.user || e.data }), $e = assign_1({ username: (r, e) => r.formValues.username }), Ke = assign_1({ codeDeliveryDetails: (r, e) => e.data.codeDeliveryDetails }), Ye = assign_1({ authAttributes: (r, e) => ({ username: r.formValues.username }) }),
|
|
7822
|
+
} }), je = assign_1({ unverifiedAttributes: (r, e) => e.data.unverified }), $ = assign_1({ user: (r, e) => e.data.user || e.data }), $e = assign_1({ username: (r, e) => r.formValues.username }), Ke = assign_1({ codeDeliveryDetails: (r, e) => e.data.codeDeliveryDetails }), Ye = assign_1({ authAttributes: (r, e) => ({ username: r.formValues.username }) }), _ = assign_1({ formValues: (r, e) => {
|
|
7730
7823
|
let { name: a, value: t } = e.data;
|
|
7731
7824
|
return y(m({}, r.formValues), { [a]: t });
|
|
7732
|
-
} }),
|
|
7825
|
+
} }), U = assign_1({ touched: (r, e) => {
|
|
7733
7826
|
let { name: a } = e.data;
|
|
7734
7827
|
return y(m({}, r.touched), { [`${a}`]: true });
|
|
7735
7828
|
} }), K = assign_1({ formValues: (r, e) => {
|
|
@@ -7743,12 +7836,12 @@ var G = (r) => stop_1(r), Oe = assign_1({ attributeToVerify: (r) => {
|
|
|
7743
7836
|
o();
|
|
7744
7837
|
o();
|
|
7745
7838
|
o();
|
|
7746
|
-
var
|
|
7839
|
+
var N = async (r, e, a) => {
|
|
7747
7840
|
let t = await Promise.all(a.map((l) => l(r, e))), s = merge_1({}, ...t);
|
|
7748
7841
|
return isEmpty_1(s) ? Promise.resolve() : Promise.reject(s);
|
|
7749
7842
|
};
|
|
7750
7843
|
o();
|
|
7751
|
-
var
|
|
7844
|
+
var O = { async getAmplifyConfig() {
|
|
7752
7845
|
return Amplify.configure();
|
|
7753
7846
|
}, async getCurrentUser() {
|
|
7754
7847
|
return Auth.currentAuthenticatedUser();
|
|
@@ -7774,7 +7867,7 @@ var N = { async getAmplifyConfig() {
|
|
|
7774
7867
|
}, async validatePreferredUsername(r, e) {
|
|
7775
7868
|
} };
|
|
7776
7869
|
function Ze({ services: r }) {
|
|
7777
|
-
return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onError: { actions: "setRemoteError" } } }, submit: { tags: ["pending"], entry: ["parsePhoneNumber", "clearError", sendUpdate$1()], invoke: { src: "signIn", onDone: [{ cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldForceChangePassword", actions: ["setUser", "setChallengeName", "setRequiredAttributes"], target: "#signInActor.forceNewPassword" }, { actions: "setUser", target: "verifying" }], onError: [{ cond: "shouldRedirectToConfirmSignUp", actions: ["setCredentials", "setConfirmSignUpIntent"], target: "rejected" }, { cond: "shouldRedirectToConfirmResetPassword", actions: ["setUsernameAuthAttributes", "setConfirmResetPasswordIntent"], target: "rejected" }, { actions: "setRemoteError", target: "edit" }] } }, verifying: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "checkVerifiedContact", onDone: [{ cond: "shouldRequestVerification", target: "#signInActor.verifyUser", actions: "setUnverifiedAttributes" }, { target: "resolved" }], onError: { actions: "setRemoteError", target: "edit" } } }, resolved: { always: "#signInActor.resolved" }, rejected: { always: "#signInActor.rejected" } } }, confirmSignIn: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmSignIn", onDone: { target: "#signInActor.resolved", actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, forceNewPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate" } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "forceNewPassword", onDone: [{ cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signInActor.resolved" } } } } }, setupTOTP: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "verifyTotpToken", onDone: { actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"], target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, verifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "verifyUser", onDone: { target: "#signInActor.confirmVerifyUser" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, confirmVerifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearUnverifiedAttributes", "clearAttributeToVerify", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "confirmVerifyUser", onDone: { target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, resolved: { type: "final", data: (e) => ({ user: e.user }) }, rejected: { type: "final", data: (e, a) => ({ intent: e.redirectIntent, authAttributes: e.authAttributes }) } } }, { actions: { clearAttributeToVerify: Oe, clearChallengeName: Fe, clearRequiredAttributes: ze, clearError: E, clearFormValues: D, clearTouched:
|
|
7870
|
+
return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onError: { actions: "setRemoteError" } } }, submit: { tags: ["pending"], entry: ["parsePhoneNumber", "clearError", sendUpdate$1()], invoke: { src: "signIn", onDone: [{ cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldForceChangePassword", actions: ["setUser", "setChallengeName", "setRequiredAttributes"], target: "#signInActor.forceNewPassword" }, { actions: "setUser", target: "verifying" }], onError: [{ cond: "shouldRedirectToConfirmSignUp", actions: ["setCredentials", "setConfirmSignUpIntent"], target: "rejected" }, { cond: "shouldRedirectToConfirmResetPassword", actions: ["setUsernameAuthAttributes", "setConfirmResetPasswordIntent"], target: "rejected" }, { actions: "setRemoteError", target: "edit" }] } }, verifying: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "checkVerifiedContact", onDone: [{ cond: "shouldRequestVerification", target: "#signInActor.verifyUser", actions: "setUnverifiedAttributes" }, { target: "resolved" }], onError: { actions: "setRemoteError", target: "edit" } } }, resolved: { always: "#signInActor.resolved" }, rejected: { always: "#signInActor.rejected" } } }, confirmSignIn: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmSignIn", onDone: { target: "#signInActor.resolved", actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, forceNewPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate" } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "forceNewPassword", onDone: [{ cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signInActor.resolved" } } } } }, setupTOTP: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "verifyTotpToken", onDone: { actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"], target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, verifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "verifyUser", onDone: { target: "#signInActor.confirmVerifyUser" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, confirmVerifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearUnverifiedAttributes", "clearAttributeToVerify", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "confirmVerifyUser", onDone: { target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, resolved: { type: "final", data: (e) => ({ user: e.user }) }, rejected: { type: "final", data: (e, a) => ({ intent: e.redirectIntent, authAttributes: e.authAttributes }) } } }, { actions: { clearAttributeToVerify: Oe, clearChallengeName: Fe, clearRequiredAttributes: ze, clearError: E, clearFormValues: D, clearTouched: P, clearUnverifiedAttributes: Be, clearValidationError: R, handleInput: _, handleBlur: U, parsePhoneNumber: K, setChallengeName: Ge, setConfirmResetPasswordIntent: Le, setConfirmSignUpIntent: qe, setRequiredAttributes: He, setCredentials: j, setFieldErrors: W, setRemoteError: V, setUnverifiedAttributes: je, setUser: $, setUsernameAuthAttributes: Ye }, guards: { shouldConfirmSignIn: (e, a) => {
|
|
7778
7871
|
let t = get_1(a, "data.challengeName");
|
|
7779
7872
|
return ["SMS_MFA", "SOFTWARE_TOKEN_MFA"].includes(t);
|
|
7780
7873
|
}, shouldRedirectToConfirmSignUp: (e, a) => a.data.code === "UserNotConfirmedException", shouldRedirectToConfirmResetPassword: (e, a) => a.data.code === "PasswordResetRequiredException", shouldSetupTOTP: (e, a) => get_1(a, "data.challengeName") === "MFA_SETUP", shouldForceChangePassword: (e, a) => get_1(a, "data.challengeName") === "NEW_PASSWORD_REQUIRED", shouldRequestVerification: (e, a) => {
|
|
@@ -7785,9 +7878,9 @@ function Ze({ services: r }) {
|
|
|
7785
7878
|
return await r.handleSignIn({ username: a, password: t });
|
|
7786
7879
|
}, async confirmSignIn(e, a) {
|
|
7787
7880
|
let { challengeName: t, user: s } = e, { confirmation_code: l } = e.formValues, u;
|
|
7788
|
-
return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await r.handleConfirmSignIn({ user: s, code: l, mfaType: u });
|
|
7881
|
+
return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await r.handleConfirmSignIn({ user: s, code: l, mfaType: u }), await Auth.currentAuthenticatedUser();
|
|
7789
7882
|
}, async forceNewPassword(e, a) {
|
|
7790
|
-
let { user: t, formValues: s } = e, f = s, { password: l, confirm_password: u, phone_number: v, country_code: d } = f, b =
|
|
7883
|
+
let { user: t, formValues: s } = e, f = s, { password: l, confirm_password: u, phone_number: v, country_code: d } = f, b = L(f, ["password", "confirm_password", "phone_number", "country_code"]), g;
|
|
7791
7884
|
return v && (g = `${d}${v}`.replace(/[^A-Z0-9+]/gi, ""), b = y(m({}, b), { phone_number: g })), Auth.completeNewPassword(t, l, b);
|
|
7792
7885
|
}, async verifyTotpToken(e, a) {
|
|
7793
7886
|
let { user: t } = e, { confirmation_code: s } = e.formValues;
|
|
@@ -7805,14 +7898,14 @@ function Ze({ services: r }) {
|
|
|
7805
7898
|
let { attributeToVerify: t } = e, { confirmation_code: s } = e.formValues;
|
|
7806
7899
|
return await Auth.verifyCurrentUserAttributeSubmit(t, s);
|
|
7807
7900
|
}, async validateFields(e, a) {
|
|
7808
|
-
return
|
|
7901
|
+
return N(e.formValues, e.touched, [O.validateConfirmPassword]);
|
|
7809
7902
|
} } });
|
|
7810
7903
|
}
|
|
7811
7904
|
o();
|
|
7812
7905
|
var Qe = createMachine({ initial: "pending", id: "signOutActor", states: { pending: { tags: ["pending"], invoke: { src: "signOut", onDone: "resolved", onError: "rejected" } }, resolved: { type: "final" }, rejected: { type: "final" } } }, { services: { signOut: () => Auth.signOut() } });
|
|
7813
7906
|
o();
|
|
7814
7907
|
function Je({ services: r }) {
|
|
7815
|
-
return createMachine({ id: "resetPasswordActor", initial: "init", states: { init: { always: [{ target: "confirmResetPassword", cond: "shouldAutoConfirmReset" }, { target: "resetPassword" }] }, resetPassword: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "setUsername", "clearError"], invoke: { src: "resetPassword", onDone: { target: "#resetPasswordActor.confirmResetPassword" }, onError: { actions: ["setRemoteError"], target: "edit" } } } } }, confirmResetPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearUsername", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", RESEND: "resendCode", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, resendCode: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "resetPassword", onDone: { target: "idle" }, onError: { actions: "setRemoteError", target: "idle" } } }, pending: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmResetPassword", onDone: { actions: "clearUsername", target: "#resetPasswordActor.resolved" }, onError: { actions: "setRemoteError", target: "idle" } } } } } } }, resolved: { type: "final" } } }, { actions: { clearError: E, clearFormValues: D, clearTouched:
|
|
7908
|
+
return createMachine({ id: "resetPasswordActor", initial: "init", states: { init: { always: [{ target: "confirmResetPassword", cond: "shouldAutoConfirmReset" }, { target: "resetPassword" }] }, resetPassword: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "setUsername", "clearError"], invoke: { src: "resetPassword", onDone: { target: "#resetPasswordActor.confirmResetPassword" }, onError: { actions: ["setRemoteError"], target: "edit" } } } } }, confirmResetPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearUsername", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", RESEND: "resendCode", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, resendCode: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "resetPassword", onDone: { target: "idle" }, onError: { actions: "setRemoteError", target: "idle" } } }, pending: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmResetPassword", onDone: { actions: "clearUsername", target: "#resetPasswordActor.resolved" }, onError: { actions: "setRemoteError", target: "idle" } } } } } } }, resolved: { type: "final" } } }, { actions: { clearError: E, clearFormValues: D, clearTouched: P, clearUsername: Me, clearValidationError: R, handleInput: _, handleBlur: U, setFieldErrors: W, setRemoteError: V, setUsername: $e }, guards: { shouldAutoConfirmReset: (e, a) => !!(e.intent && e.intent === "confirmPasswordReset") }, services: { async resetPassword(e) {
|
|
7816
7909
|
var t, s;
|
|
7817
7910
|
let a = (s = (t = e.formValues) == null ? void 0 : t.username) != null ? s : e.username;
|
|
7818
7911
|
return r.handleForgotPassword(a);
|
|
@@ -7820,7 +7913,7 @@ function Je({ services: r }) {
|
|
|
7820
7913
|
let { username: a } = e, { confirmation_code: t, password: s } = e.formValues;
|
|
7821
7914
|
return r.handleForgotPasswordSubmit({ username: a, code: t, password: s });
|
|
7822
7915
|
}, async validateFields(e, a) {
|
|
7823
|
-
return
|
|
7916
|
+
return N(e.formValues, e.touched, [O.validateConfirmPassword]);
|
|
7824
7917
|
} } });
|
|
7825
7918
|
}
|
|
7826
7919
|
o();
|
|
@@ -7828,7 +7921,7 @@ function eo({ services: r }) {
|
|
|
7828
7921
|
return createMachine({ id: "signUpActor", initial: "init", states: { init: { always: [{ target: "confirmSignUp", cond: "shouldInitConfirmSignUp" }, { target: "signUp" }] }, signUp: { type: "parallel", exit: ["clearError", "clearFormValues", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateSignUp", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onDone: "#signUpActor.resolved", onError: { actions: "setRemoteError" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateSignUp", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: ["parsePhoneNumber", sendUpdate$1(), "clearError"], invoke: { src: "signUp", onDone: [{ cond: "shouldSkipConfirm", target: "skipConfirm", actions: ["setUser"] }, { target: "resolved", actions: ["setUser", "setCredentials", "setCodeDeliveryDetails"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { invoke: { src: "signIn", onDone: { target: "#signUpActor.resolved", actions: "setUser" }, onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" }, RESEND: "resend" } }, resend: { tags: ["pending"], entry: sendUpdate$1(), invoke: { src: "resendConfirmationCode", onDone: { target: "edit" }, onError: [{ target: "#signUpActor.resolved", actions: "setUser", cond: "isUserAlreadyConfirmed" }, { target: "edit", actions: "setRemoteError" }] } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "confirmSignUp", onDone: { target: "#signUpActor.resolved", actions: ["setUser"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, resolved: { type: "final", data: (e, a) => {
|
|
7829
7922
|
let { username: t, password: s } = e.authAttributes;
|
|
7830
7923
|
return { user: get_1(a, "data.user") || e.user, authAttributes: { username: t, password: s } };
|
|
7831
|
-
} } } }, { guards: { isUserAlreadyConfirmed: (e, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (e) => e.intent && e.intent === "confirmSignUp", shouldSkipConfirm: (e, a) => a.data.userConfirmed }, actions: { clearError: E, clearFormValues: D, clearTouched:
|
|
7924
|
+
} } } }, { guards: { isUserAlreadyConfirmed: (e, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (e) => e.intent && e.intent === "confirmSignUp", shouldSkipConfirm: (e, a) => a.data.userConfirmed }, actions: { clearError: E, clearFormValues: D, clearTouched: P, clearValidationError: R, handleInput: _, handleBlur: U, parsePhoneNumber: K, setCredentials: j, setFieldErrors: W, setRemoteError: V, setCodeDeliveryDetails: Ke, setUser: $ }, services: { async signIn(e, a) {
|
|
7832
7925
|
let { user: t, authAttributes: s, formValues: l } = e, u = get_1(t, "username") || get_1(s, "username"), v = get_1(l, "password");
|
|
7833
7926
|
return await Auth.signIn(u, v);
|
|
7834
7927
|
}, async confirmSignUp(e, a) {
|
|
@@ -7867,7 +7960,7 @@ function eo({ services: r }) {
|
|
|
7867
7960
|
});
|
|
7868
7961
|
return await r.handleSignUp({ username: u, password: v, attributes: d });
|
|
7869
7962
|
}, async validateSignUp(e, a) {
|
|
7870
|
-
return
|
|
7963
|
+
return N(e.formValues, e.touched, [r.validateConfirmPassword, r.validatePreferredUsername, r.validateCustomSignUp]);
|
|
7871
7964
|
} } });
|
|
7872
7965
|
}
|
|
7873
7966
|
var oo = "+1";
|
|
@@ -7894,8 +7987,8 @@ function Sn() {
|
|
|
7894
7987
|
let e = Qe.withContext({ user: r.user });
|
|
7895
7988
|
return spawn(e, { name: "signOutActor" });
|
|
7896
7989
|
} }), configure: assign$3((r, e) => {
|
|
7897
|
-
let s = e.data, { services: a } = s, t =
|
|
7898
|
-
return { services: m(m({},
|
|
7990
|
+
let s = e.data, { services: a } = s, t = L(s, ["services"]);
|
|
7991
|
+
return { services: m(m({}, O), a), config: t };
|
|
7899
7992
|
}) }, guards: { shouldRedirectToSignUp: (r, e) => {
|
|
7900
7993
|
var a;
|
|
7901
7994
|
return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmSignUp" : false;
|
|
@@ -7918,11 +8011,11 @@ var to = { default: { variable: { value: `'InterVariable', 'Inter var', 'Inter',
|
|
|
7918
8011
|
sans-serif` }, static: { value: `'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
|
|
7919
8012
|
'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif` } } };
|
|
7920
8013
|
o();
|
|
7921
|
-
var no = { xxxs: { value: "0.375rem" }, xxs: { value: "0.5rem" }, xs: { value: "0.75rem" }, small: { value: "0.875rem" }, medium: { value: "1rem" }, large: { value: "1.25rem" }, xl: { value: "1.5rem" }, xxl: { value: "2rem" }, xxxl: { value: "
|
|
8014
|
+
var no = { xxxs: { value: "0.375rem" }, xxs: { value: "0.5rem" }, xs: { value: "0.75rem" }, small: { value: "0.875rem" }, medium: { value: "1rem" }, large: { value: "1.25rem" }, xl: { value: "1.5rem" }, xxl: { value: "2rem" }, xxxl: { value: "2.5rem" }, xxxxl: { value: "3rem" } };
|
|
7922
8015
|
o();
|
|
7923
8016
|
var io = { hairline: { value: 100 }, thin: { value: 200 }, light: { value: 300 }, normal: { value: 400 }, medium: { value: 500 }, semibold: { value: 600 }, bold: { value: 700 }, extrabold: { value: 800 }, black: { value: 900 } };
|
|
7924
8017
|
o();
|
|
7925
|
-
var so = { small: { value: "1.
|
|
8018
|
+
var so = { small: { value: "1.25" }, medium: { value: "1.5" }, large: { value: "2" } };
|
|
7926
8019
|
o();
|
|
7927
8020
|
var lo = { 0: { value: "0" }, 10: { value: "0.1" }, 20: { value: "0.2" }, 30: { value: "0.3" }, 40: { value: "0.4" }, 50: { value: "0.5" }, 60: { value: "0.6" }, 70: { value: "0.7" }, 80: { value: "0.8" }, 90: { value: "0.9" }, 100: { value: "1" } };
|
|
7928
8021
|
o();
|
|
@@ -8302,35 +8395,6 @@ const facade = {
|
|
|
8302
8395
|
submit: (data) => null,
|
|
8303
8396
|
submitForm: (data) => null
|
|
8304
8397
|
};
|
|
8305
|
-
function tryOnScopeDispose(fn) {
|
|
8306
|
-
if (getCurrentScope()) {
|
|
8307
|
-
onScopeDispose(fn);
|
|
8308
|
-
return true;
|
|
8309
|
-
}
|
|
8310
|
-
return false;
|
|
8311
|
-
}
|
|
8312
|
-
function createSharedComposable(composable) {
|
|
8313
|
-
let subscribers = 0;
|
|
8314
|
-
let state;
|
|
8315
|
-
let scope;
|
|
8316
|
-
const dispose = () => {
|
|
8317
|
-
subscribers -= 1;
|
|
8318
|
-
if (scope && subscribers <= 0) {
|
|
8319
|
-
scope.stop();
|
|
8320
|
-
state = void 0;
|
|
8321
|
-
scope = void 0;
|
|
8322
|
-
}
|
|
8323
|
-
};
|
|
8324
|
-
return (...args) => {
|
|
8325
|
-
subscribers += 1;
|
|
8326
|
-
if (!state) {
|
|
8327
|
-
scope = effectScope(true);
|
|
8328
|
-
state = scope.run(() => composable(...args));
|
|
8329
|
-
}
|
|
8330
|
-
tryOnScopeDispose(dispose);
|
|
8331
|
-
return state;
|
|
8332
|
-
};
|
|
8333
|
-
}
|
|
8334
8398
|
const service = ref();
|
|
8335
8399
|
let useAuthenticatorValue = reactive(__spreadProps(__spreadValues({}, facade), { send: "", state: "" }));
|
|
8336
8400
|
const useAuth = (serv) => {
|
|
@@ -8346,7 +8410,7 @@ const useInternalAuthenticator = () => {
|
|
|
8346
8410
|
});
|
|
8347
8411
|
return useAuthenticatorValue;
|
|
8348
8412
|
};
|
|
8349
|
-
const useAuthenticator =
|
|
8413
|
+
const useAuthenticator = useInternalAuthenticator;
|
|
8350
8414
|
function createValues() {
|
|
8351
8415
|
if (!service.value)
|
|
8352
8416
|
return;
|
|
@@ -8375,7 +8439,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
8375
8439
|
disabled: { type: Boolean }
|
|
8376
8440
|
},
|
|
8377
8441
|
setup(__props) {
|
|
8378
|
-
var _a2, _b, _c, _d,
|
|
8442
|
+
var _a2, _b, _c, _d, _e2;
|
|
8379
8443
|
const { userNameAlias, userName, disabled } = __props;
|
|
8380
8444
|
const { state } = useAuth();
|
|
8381
8445
|
const { value: { context } } = state;
|
|
@@ -8389,7 +8453,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
8389
8453
|
const [primaryAlias] = useAliases((_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.loginMechanisms);
|
|
8390
8454
|
let name = primaryAlias;
|
|
8391
8455
|
let label = (_c = (_b = M[primaryAlias]) == null ? void 0 : _b.label) != null ? _c : M["username"].label;
|
|
8392
|
-
let type = (
|
|
8456
|
+
let type = (_e2 = (_d = M[name]) == null ? void 0 : _d.type) != null ? _e2 : M["username"].label;
|
|
8393
8457
|
if (userNameAlias) {
|
|
8394
8458
|
const aliasInfo = _a(context);
|
|
8395
8459
|
label = aliasInfo.label || M["username"].label;
|
|
@@ -8530,6 +8594,35 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
8530
8594
|
};
|
|
8531
8595
|
}
|
|
8532
8596
|
});
|
|
8597
|
+
function tryOnScopeDispose(fn) {
|
|
8598
|
+
if (getCurrentScope()) {
|
|
8599
|
+
onScopeDispose(fn);
|
|
8600
|
+
return true;
|
|
8601
|
+
}
|
|
8602
|
+
return false;
|
|
8603
|
+
}
|
|
8604
|
+
function createSharedComposable(composable) {
|
|
8605
|
+
let subscribers = 0;
|
|
8606
|
+
let state;
|
|
8607
|
+
let scope;
|
|
8608
|
+
const dispose = () => {
|
|
8609
|
+
subscribers -= 1;
|
|
8610
|
+
if (scope && subscribers <= 0) {
|
|
8611
|
+
scope.stop();
|
|
8612
|
+
state = void 0;
|
|
8613
|
+
scope = void 0;
|
|
8614
|
+
}
|
|
8615
|
+
};
|
|
8616
|
+
return (...args) => {
|
|
8617
|
+
subscribers += 1;
|
|
8618
|
+
if (!state) {
|
|
8619
|
+
scope = effectScope(true);
|
|
8620
|
+
state = scope.run(() => composable(...args));
|
|
8621
|
+
}
|
|
8622
|
+
tryOnScopeDispose(dispose);
|
|
8623
|
+
return state;
|
|
8624
|
+
};
|
|
8625
|
+
}
|
|
8533
8626
|
const _hoisted_1$8 = /* @__PURE__ */ createElementVNode("svg", {
|
|
8534
8627
|
"aria-label": "Amazon icon",
|
|
8535
8628
|
class: "amplify-icon federated-sign-in-icon",
|
|
@@ -8612,7 +8705,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8612
8705
|
setup(__props) {
|
|
8613
8706
|
var _a2;
|
|
8614
8707
|
const { state } = useAuth();
|
|
8615
|
-
const
|
|
8708
|
+
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
8709
|
+
const { route } = useAuthShared();
|
|
8616
8710
|
const { value: { context } } = state;
|
|
8617
8711
|
const socialProviders = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.socialProviders;
|
|
8618
8712
|
const includeAmazon = socialProviders == null ? void 0 : socialProviders.includes("amazon");
|
|
@@ -8991,8 +9085,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
8991
9085
|
var _a2, _b;
|
|
8992
9086
|
const { state } = useAuth();
|
|
8993
9087
|
const { value: { context } } = state;
|
|
8994
|
-
const
|
|
8995
|
-
const
|
|
9088
|
+
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
9089
|
+
const { validationErrors } = toRefs(useAuthShared());
|
|
9090
|
+
const props = useAuthShared();
|
|
8996
9091
|
const inputAttributes = computed(() => M);
|
|
8997
9092
|
const passwordLabel = computed(() => kt("Password"));
|
|
8998
9093
|
const confirmPasswordLabel = computed(() => kt("Confirm Password"));
|
|
@@ -9062,8 +9157,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9062
9157
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
9063
9158
|
emits: ["signUpSubmit"],
|
|
9064
9159
|
setup(__props, { emit }) {
|
|
9065
|
-
const
|
|
9066
|
-
const
|
|
9160
|
+
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
9161
|
+
const facadeValues = useAuthShared();
|
|
9162
|
+
const props = useAuthShared();
|
|
9067
9163
|
const { hasValidationErrors, isPending, error: error2 } = toRefs(facadeValues);
|
|
9068
9164
|
const attrs = useAttrs();
|
|
9069
9165
|
const createAccountLabel = computed(() => kt("Create Account"));
|
|
@@ -9251,8 +9347,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9251
9347
|
emits: ["confirmSignUpSubmit", "lostCodeClicked"],
|
|
9252
9348
|
setup(__props, { emit }) {
|
|
9253
9349
|
const attrs = useAttrs();
|
|
9254
|
-
const
|
|
9255
|
-
const {
|
|
9350
|
+
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
9351
|
+
const { isPending, error: error2, codeDeliveryDetails } = toRefs(useAuthShared());
|
|
9352
|
+
const { submitForm, updateForm, resendCode } = useAuthShared();
|
|
9256
9353
|
const confirmSignUpHeading = computed(() => {
|
|
9257
9354
|
var _a2, _b;
|
|
9258
9355
|
return ((_a2 = codeDeliveryDetails.value) == null ? void 0 : _a2.DeliveryMedium) === "EMAIL" ? kt("We Emailed You") : ((_b = codeDeliveryDetails.value) == null ? void 0 : _b.DeliveryMedium) === "SMS" ? kt("We Texted You") : kt("We Sent A Code");
|
|
@@ -11901,7 +11998,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
11901
11998
|
setup(__props, { emit }) {
|
|
11902
11999
|
const attrs = useAttrs();
|
|
11903
12000
|
const { state, send: send2 } = useAuth();
|
|
11904
|
-
const
|
|
12001
|
+
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
12002
|
+
const props = useAuthShared();
|
|
11905
12003
|
const actorState = computed(() => Q(state.value));
|
|
11906
12004
|
const actorContext = computed(() => jr(state.value));
|
|
11907
12005
|
const changePasswordLabel = computed(() => kt("Change Password"));
|
|
@@ -12096,8 +12194,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
12096
12194
|
emits: ["resetPasswordSubmit", "backToSignInClicked"],
|
|
12097
12195
|
setup(__props, { emit }) {
|
|
12098
12196
|
const attrs = useAttrs();
|
|
12099
|
-
const
|
|
12100
|
-
const {
|
|
12197
|
+
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
12198
|
+
const { state, send: send2 } = useAuthShared();
|
|
12199
|
+
const { error: error2, isPending } = toRefs(useAuthShared());
|
|
12101
12200
|
const { label } = _a(state.context);
|
|
12102
12201
|
const labelText = `Enter your ${label.toLowerCase()}`;
|
|
12103
12202
|
const backSignInText = computed(() => kt("Back to Sign In"));
|
|
@@ -12267,7 +12366,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12267
12366
|
emits: ["confirmResetPasswordSubmit", "backToSignInClicked"],
|
|
12268
12367
|
setup(__props, { emit }) {
|
|
12269
12368
|
const { state, send: send2 } = useAuth();
|
|
12270
|
-
const
|
|
12369
|
+
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
12370
|
+
const props = useAuthShared();
|
|
12271
12371
|
const attrs = useAttrs();
|
|
12272
12372
|
const actorState = computed(() => Q(state.value));
|
|
12273
12373
|
const actorContext = computed(() => jr(state.value));
|
|
@@ -12879,6 +12979,7 @@ const _hoisted_3$1 = {
|
|
|
12879
12979
|
};
|
|
12880
12980
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
12881
12981
|
props: {
|
|
12982
|
+
hideSignUp: { type: Boolean },
|
|
12882
12983
|
initialState: null,
|
|
12883
12984
|
loginMechanisms: null,
|
|
12884
12985
|
services: null,
|
|
@@ -12899,7 +13000,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
12899
13000
|
"confirmVerifyUserSubmit"
|
|
12900
13001
|
],
|
|
12901
13002
|
setup(__props, { emit }) {
|
|
12902
|
-
const { initialState, loginMechanisms, variation, services, signUpAttributes, socialProviders } = __props;
|
|
13003
|
+
const { initialState, loginMechanisms, variation, services, signUpAttributes, socialProviders, hideSignUp } = __props;
|
|
12903
13004
|
const attrs = useAttrs();
|
|
12904
13005
|
const machine = Sn();
|
|
12905
13006
|
const service2 = useInterpret(machine);
|
|
@@ -13022,7 +13123,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13022
13123
|
return ((_a2 = actorState.value) == null ? void 0 : _a2.matches("signIn")) || ((_b = actorState.value) == null ? void 0 : _b.matches("signUp"));
|
|
13023
13124
|
});
|
|
13024
13125
|
return (_ctx, _cache) => {
|
|
13025
|
-
var _a2, _b, _c, _d,
|
|
13126
|
+
var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
|
|
13026
13127
|
const _component_base_two_tab_item = _sfc_main$h;
|
|
13027
13128
|
const _component_base_two_tabs = __unplugin_components_1;
|
|
13028
13129
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -13036,7 +13137,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13036
13137
|
"data-amplify-router": "",
|
|
13037
13138
|
"data-amplify-router-content": unref(hasTabs) ? void 0 : ""
|
|
13038
13139
|
}, [
|
|
13039
|
-
unref(hasTabs) ? (openBlock(), createBlock(_component_base_two_tabs, { key: 0 }, {
|
|
13140
|
+
unref(hasTabs) && !hideSignUp ? (openBlock(), createBlock(_component_base_two_tabs, { key: 0 }, {
|
|
13040
13141
|
default: withCtx(() => {
|
|
13041
13142
|
var _a3, _b2;
|
|
13042
13143
|
return [
|
|
@@ -13084,7 +13185,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13084
13185
|
]),
|
|
13085
13186
|
_: 3
|
|
13086
13187
|
}, 512)) : createCommentVNode("", true),
|
|
13087
|
-
((_c = unref(actorState)) == null ? void 0 : _c.matches("signUp")) ? (openBlock(), createBlock(_sfc_main$i, {
|
|
13188
|
+
((_c = unref(actorState)) == null ? void 0 : _c.matches("signUp")) && !hideSignUp ? (openBlock(), createBlock(_sfc_main$i, {
|
|
13088
13189
|
key: 1,
|
|
13089
13190
|
onSignUpSubmit: onSignUpSubmitI,
|
|
13090
13191
|
ref: (_value, _refs) => {
|
|
@@ -13129,7 +13230,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13129
13230
|
]),
|
|
13130
13231
|
_: 3
|
|
13131
13232
|
}, 512)) : createCommentVNode("", true),
|
|
13132
|
-
((
|
|
13233
|
+
((_e2 = unref(actorState)) == null ? void 0 : _e2.matches("resetPassword")) ? (openBlock(), createBlock(_sfc_main$7, {
|
|
13133
13234
|
key: 3,
|
|
13134
13235
|
onResetPasswordSubmit: onResetPasswordSubmitI,
|
|
13135
13236
|
ref: (_value, _refs) => {
|
|
@@ -13441,4 +13542,4 @@ var index = {
|
|
|
13441
13542
|
app.component("AuthenticatorForceNewPasswordFormFields", _sfc_main$9);
|
|
13442
13543
|
}
|
|
13443
13544
|
};
|
|
13444
|
-
export { _sfc_main$w as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$j as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$c as ConfirmSignIn, _sfc_main$d as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$m as FederatedSignIn, _sfc_main$8 as ForceNewPassword, _sfc_main$q as PasswordControl, _sfc_main$2 as RenderInfo, _sfc_main$7 as ResetPassword, _sfc_main$l as SignIn, _sfc_main$i as SignUp, _sfc_main$o as UserNameAlias, _sfc_main$5 as VerifyUser, index as default, useAuthenticator };
|
|
13545
|
+
export { _sfc_main$w as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$j as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$c as ConfirmSignIn, _sfc_main$d as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$m as FederatedSignIn, _sfc_main$8 as ForceNewPassword, _sfc_main$q as PasswordControl, _sfc_main$2 as RenderInfo, _sfc_main$7 as ResetPassword, _sfc_main$l as SignIn, _sfc_main$i as SignUp, _sfc_main$o as UserNameAlias, _sfc_main$5 as VerifyUser, index as default, Tt as translations, useAuthenticator };
|