@thecb/components 10.7.0-beta.1 → 10.7.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +432 -163
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +432 -163
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/{molecules/obligation → atoms}/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
- package/src/components/molecules/obligation/Obligation.js +2 -7
- package/src/components/molecules/obligation/modules/AmountModule.js +1 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +11 -11
- package/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +20 -0
- package/src/components/molecules/obligation/modules/IconModule.js +7 -3
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +1 -1
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +7 -3
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- package/src/components/molecules/obligation/Obligation.theme.js +0 -7
- package/src/stories/Button.stories.ts +0 -53
- package/src/stories/Button.tsx +0 -48
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/Header.stories.ts +0 -33
- package/src/stories/Header.tsx +0 -56
- package/src/stories/Page.stories.ts +0 -32
- package/src/stories/Page.tsx +0 -73
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +0 -5
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +0 -15
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +0 -3
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +0 -12
- package/src/stories/assets/youtube.svg +0 -4
- package/src/stories/button.css +0 -30
- package/src/stories/header.css +0 -32
- package/src/stories/page.css +0 -69
package/dist/index.esm.js
CHANGED
|
@@ -228,6 +228,58 @@ function __rest(s, e) {
|
|
|
228
228
|
t[p[i]] = s[p[i]];
|
|
229
229
|
}
|
|
230
230
|
return t;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/*! *****************************************************************************
|
|
234
|
+
Copyright (c) Microsoft Corporation.
|
|
235
|
+
|
|
236
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
237
|
+
purpose with or without fee is hereby granted.
|
|
238
|
+
|
|
239
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
240
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
241
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
242
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
243
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
244
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
245
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
246
|
+
***************************************************************************** */
|
|
247
|
+
/* global Reflect, Promise */
|
|
248
|
+
|
|
249
|
+
var extendStatics$1 = function(d, b) {
|
|
250
|
+
extendStatics$1 = Object.setPrototypeOf ||
|
|
251
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
252
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
253
|
+
return extendStatics$1(d, b);
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
function __extends$1(d, b) {
|
|
257
|
+
extendStatics$1(d, b);
|
|
258
|
+
function __() { this.constructor = d; }
|
|
259
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
var __assign$1 = function() {
|
|
263
|
+
__assign$1 = Object.assign || function __assign(t) {
|
|
264
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
265
|
+
s = arguments[i];
|
|
266
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
267
|
+
}
|
|
268
|
+
return t;
|
|
269
|
+
};
|
|
270
|
+
return __assign$1.apply(this, arguments);
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
function __rest$1(s, e) {
|
|
274
|
+
var t = {};
|
|
275
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
276
|
+
t[p] = s[p];
|
|
277
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
278
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
279
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
280
|
+
t[p[i]] = s[p[i]];
|
|
281
|
+
}
|
|
282
|
+
return t;
|
|
231
283
|
}
|
|
232
284
|
|
|
233
285
|
function __spreadArrays() {
|
|
@@ -238,6 +290,32 @@ function __spreadArrays() {
|
|
|
238
290
|
return r;
|
|
239
291
|
}
|
|
240
292
|
|
|
293
|
+
/*! *****************************************************************************
|
|
294
|
+
Copyright (c) Microsoft Corporation.
|
|
295
|
+
|
|
296
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
297
|
+
purpose with or without fee is hereby granted.
|
|
298
|
+
|
|
299
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
300
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
301
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
302
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
303
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
304
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
305
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
306
|
+
***************************************************************************** */
|
|
307
|
+
|
|
308
|
+
var __assign$2 = function() {
|
|
309
|
+
__assign$2 = Object.assign || function __assign(t) {
|
|
310
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
311
|
+
s = arguments[i];
|
|
312
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
313
|
+
}
|
|
314
|
+
return t;
|
|
315
|
+
};
|
|
316
|
+
return __assign$2.apply(this, arguments);
|
|
317
|
+
};
|
|
318
|
+
|
|
241
319
|
var clamp = function (min, max) { return function (v) {
|
|
242
320
|
return Math.max(Math.min(v, max), min);
|
|
243
321
|
}; };
|
|
@@ -251,8 +329,8 @@ var number = {
|
|
|
251
329
|
parse: parseFloat,
|
|
252
330
|
transform: function (v) { return v; }
|
|
253
331
|
};
|
|
254
|
-
var alpha = __assign(__assign({}, number), { transform: clamp(0, 1) });
|
|
255
|
-
var scale = __assign(__assign({}, number), { default: 1 });
|
|
332
|
+
var alpha = __assign$2(__assign$2({}, number), { transform: clamp(0, 1) });
|
|
333
|
+
var scale = __assign$2(__assign$2({}, number), { default: 1 });
|
|
256
334
|
|
|
257
335
|
var createUnitType = function (unit) { return ({
|
|
258
336
|
test: function (v) {
|
|
@@ -266,7 +344,7 @@ var percent = createUnitType('%');
|
|
|
266
344
|
var px = createUnitType('px');
|
|
267
345
|
var vh = createUnitType('vh');
|
|
268
346
|
var vw = createUnitType('vw');
|
|
269
|
-
var progressPercentage = __assign(__assign({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
|
|
347
|
+
var progressPercentage = __assign$2(__assign$2({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
|
|
270
348
|
|
|
271
349
|
var getValueFromFunctionString = function (value) {
|
|
272
350
|
return value.substring(value.indexOf('(') + 1, value.lastIndexOf(')'));
|
|
@@ -300,7 +378,7 @@ var hslaTemplate = function (_a) {
|
|
|
300
378
|
var hue = _a.hue, saturation = _a.saturation, lightness = _a.lightness, _b = _a.alpha, alpha = _b === void 0 ? 1 : _b;
|
|
301
379
|
return "hsla(" + hue + ", " + saturation + ", " + lightness + ", " + alpha + ")";
|
|
302
380
|
};
|
|
303
|
-
var rgbUnit = __assign(__assign({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
|
|
381
|
+
var rgbUnit = __assign$2(__assign$2({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
|
|
304
382
|
function isColorString(color, colorType) {
|
|
305
383
|
return color.startsWith(colorType) && singleColorRegex.test(color);
|
|
306
384
|
}
|
|
@@ -330,7 +408,7 @@ var hsla = {
|
|
|
330
408
|
});
|
|
331
409
|
}
|
|
332
410
|
};
|
|
333
|
-
var hex = __assign(__assign({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
|
|
411
|
+
var hex = __assign$2(__assign$2({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
|
|
334
412
|
var r = '';
|
|
335
413
|
var g = '';
|
|
336
414
|
var b = '';
|
|
@@ -866,15 +944,15 @@ See the Apache Version 2.0 License for specific language governing permissions
|
|
|
866
944
|
and limitations under the License.
|
|
867
945
|
***************************************************************************** */
|
|
868
946
|
|
|
869
|
-
var __assign$
|
|
870
|
-
__assign$
|
|
947
|
+
var __assign$3 = function() {
|
|
948
|
+
__assign$3 = Object.assign || function __assign(t) {
|
|
871
949
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
872
950
|
s = arguments[i];
|
|
873
951
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
874
952
|
}
|
|
875
953
|
return t;
|
|
876
954
|
};
|
|
877
|
-
return __assign$
|
|
955
|
+
return __assign$3.apply(this, arguments);
|
|
878
956
|
};
|
|
879
957
|
|
|
880
958
|
var mixLinearColor = function (from, to, v) {
|
|
@@ -897,7 +975,7 @@ var mixColor = (function (from, to) {
|
|
|
897
975
|
invariant(fromColorType.transform === toColorType.transform, 'Both colors must be hex/RGBA, OR both must be HSLA.');
|
|
898
976
|
var fromColor = fromColorType.parse(from);
|
|
899
977
|
var toColor = toColorType.parse(to);
|
|
900
|
-
var blended = __assign$
|
|
978
|
+
var blended = __assign$3({}, fromColor);
|
|
901
979
|
var mixFunc = fromColorType === hsla ? mix : mixLinearColor;
|
|
902
980
|
return function (v) {
|
|
903
981
|
for (var key in blended) {
|
|
@@ -942,7 +1020,7 @@ var mixArray = function (from, to) {
|
|
|
942
1020
|
};
|
|
943
1021
|
};
|
|
944
1022
|
var mixObject = function (origin, target) {
|
|
945
|
-
var output = __assign$
|
|
1023
|
+
var output = __assign$3({}, origin, target);
|
|
946
1024
|
var blendValue = {};
|
|
947
1025
|
for (var key in output) {
|
|
948
1026
|
if (origin[key] !== undefined && target[key] !== undefined) {
|
|
@@ -1154,6 +1232,44 @@ var wrap$1 = curryRange(wrap);
|
|
|
1154
1232
|
|
|
1155
1233
|
var clampProgress = clamp$1$1(0, 1);
|
|
1156
1234
|
|
|
1235
|
+
/*! *****************************************************************************
|
|
1236
|
+
Copyright (c) Microsoft Corporation.
|
|
1237
|
+
|
|
1238
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1239
|
+
purpose with or without fee is hereby granted.
|
|
1240
|
+
|
|
1241
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1242
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1243
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1244
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1245
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1246
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1247
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1248
|
+
***************************************************************************** */
|
|
1249
|
+
|
|
1250
|
+
var __assign$4 = function() {
|
|
1251
|
+
__assign$4 = Object.assign || function __assign(t) {
|
|
1252
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1253
|
+
s = arguments[i];
|
|
1254
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
1255
|
+
}
|
|
1256
|
+
return t;
|
|
1257
|
+
};
|
|
1258
|
+
return __assign$4.apply(this, arguments);
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
function __rest$2(s, e) {
|
|
1262
|
+
var t = {};
|
|
1263
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1264
|
+
t[p] = s[p];
|
|
1265
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1266
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1267
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1268
|
+
t[p[i]] = s[p[i]];
|
|
1269
|
+
}
|
|
1270
|
+
return t;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1157
1273
|
var createStyler = function (_a) {
|
|
1158
1274
|
var onRead = _a.onRead,
|
|
1159
1275
|
onRender = _a.onRender,
|
|
@@ -1165,7 +1281,7 @@ var createStyler = function (_a) {
|
|
|
1165
1281
|
if (_a === void 0) {
|
|
1166
1282
|
_a = {};
|
|
1167
1283
|
}
|
|
1168
|
-
var props = __rest(_a, []);
|
|
1284
|
+
var props = __rest$2(_a, []);
|
|
1169
1285
|
var state = {};
|
|
1170
1286
|
var changedValues = [];
|
|
1171
1287
|
var hasChanged = false;
|
|
@@ -1285,7 +1401,7 @@ function isTransformOriginProp(key) {
|
|
|
1285
1401
|
return transformOriginProps.has(key);
|
|
1286
1402
|
}
|
|
1287
1403
|
|
|
1288
|
-
var int = /*#__PURE__*/__assign( /*#__PURE__*/__assign({}, number), { transform: Math.round });
|
|
1404
|
+
var int = /*#__PURE__*/__assign$4( /*#__PURE__*/__assign$4({}, number), { transform: Math.round });
|
|
1289
1405
|
var valueTypes = {
|
|
1290
1406
|
color: color,
|
|
1291
1407
|
backgroundColor: color,
|
|
@@ -1517,8 +1633,8 @@ function createCssStyler(element, _a) {
|
|
|
1517
1633
|
}
|
|
1518
1634
|
var enableHardwareAcceleration = _a.enableHardwareAcceleration,
|
|
1519
1635
|
allowTransformNone = _a.allowTransformNone,
|
|
1520
|
-
props = __rest(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
|
|
1521
|
-
return cssStyler(__assign({ element: element, buildStyles: createStyleBuilder({
|
|
1636
|
+
props = __rest$2(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
|
|
1637
|
+
return cssStyler(__assign$4({ element: element, buildStyles: createStyleBuilder({
|
|
1522
1638
|
enableHardwareAcceleration: enableHardwareAcceleration,
|
|
1523
1639
|
allowTransformNone: allowTransformNone
|
|
1524
1640
|
}), preparseOutput: true }, props));
|
|
@@ -1568,7 +1684,7 @@ function buildSVGAttrs(_a, dimensions, totalPathLength, cssBuilder, attrs, isDas
|
|
|
1568
1684
|
pathSpacing = _b === void 0 ? 1 : _b,
|
|
1569
1685
|
_c = _a.pathOffset,
|
|
1570
1686
|
pathOffset = _c === void 0 ? 0 : _c,
|
|
1571
|
-
state = __rest(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
|
|
1687
|
+
state = __rest$2(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
|
|
1572
1688
|
var style = cssBuilder(state);
|
|
1573
1689
|
for (var key in style) {
|
|
1574
1690
|
if (key === 'transform') {
|
|
@@ -1697,7 +1813,7 @@ var Chainable = /*#__PURE__*/function () {
|
|
|
1697
1813
|
this.props = props;
|
|
1698
1814
|
}
|
|
1699
1815
|
Chainable.prototype.applyMiddleware = function (middleware) {
|
|
1700
|
-
return this.create(__assign(__assign({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
|
|
1816
|
+
return this.create(__assign$1(__assign$1({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
|
|
1701
1817
|
};
|
|
1702
1818
|
Chainable.prototype.pipe = function () {
|
|
1703
1819
|
var funcs = [];
|
|
@@ -1769,7 +1885,7 @@ var createObserver = function (observerCandidate, _a, onComplete) {
|
|
|
1769
1885
|
};
|
|
1770
1886
|
|
|
1771
1887
|
var Action = /*#__PURE__*/function (_super) {
|
|
1772
|
-
__extends(Action, _super);
|
|
1888
|
+
__extends$1(Action, _super);
|
|
1773
1889
|
function Action() {
|
|
1774
1890
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1775
1891
|
}
|
|
@@ -1788,13 +1904,13 @@ var Action = /*#__PURE__*/function (_super) {
|
|
|
1788
1904
|
};
|
|
1789
1905
|
var _a = this.props,
|
|
1790
1906
|
init = _a.init,
|
|
1791
|
-
observerProps = __rest(_a, ["init"]);
|
|
1907
|
+
observerProps = __rest$1(_a, ["init"]);
|
|
1792
1908
|
var observer = createObserver(observerCandidate, observerProps, function () {
|
|
1793
1909
|
isComplete = true;
|
|
1794
1910
|
subscription.stop();
|
|
1795
1911
|
});
|
|
1796
1912
|
var api = init(observer);
|
|
1797
|
-
subscription = api ? __assign(__assign({}, subscription), api) : subscription;
|
|
1913
|
+
subscription = api ? __assign$1(__assign$1({}, subscription), api) : subscription;
|
|
1798
1914
|
if (observerCandidate.registerParent) {
|
|
1799
1915
|
observerCandidate.registerParent(subscription);
|
|
1800
1916
|
}
|
|
@@ -1808,7 +1924,7 @@ var action = function (init) {
|
|
|
1808
1924
|
};
|
|
1809
1925
|
|
|
1810
1926
|
var BaseMulticast = /*#__PURE__*/function (_super) {
|
|
1811
|
-
__extends(BaseMulticast, _super);
|
|
1927
|
+
__extends$1(BaseMulticast, _super);
|
|
1812
1928
|
function BaseMulticast() {
|
|
1813
1929
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1814
1930
|
_this.subscribers = [];
|
|
@@ -1868,7 +1984,7 @@ var isSingleValue = function (v) {
|
|
|
1868
1984
|
return typeOfV === 'string' || typeOfV === 'number';
|
|
1869
1985
|
};
|
|
1870
1986
|
var ValueReaction = /*#__PURE__*/function (_super) {
|
|
1871
|
-
__extends(ValueReaction, _super);
|
|
1987
|
+
__extends$1(ValueReaction, _super);
|
|
1872
1988
|
function ValueReaction(props) {
|
|
1873
1989
|
var _this = _super.call(this, props) || this;
|
|
1874
1990
|
_this.scheduleVelocityCheck = function () {
|
|
@@ -2118,7 +2234,7 @@ var reduceArrayValue = function (i) {
|
|
|
2118
2234
|
var createArrayAction = function (action, props, vectorKeys) {
|
|
2119
2235
|
var firstVectorKey = vectorKeys[0];
|
|
2120
2236
|
var actionList = props[firstVectorKey].map(function (v, i) {
|
|
2121
|
-
var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign({}, props));
|
|
2237
|
+
var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign$1({}, props));
|
|
2122
2238
|
return getActionCreator(v)(action, childActionProps);
|
|
2123
2239
|
});
|
|
2124
2240
|
return parallel$1.apply(void 0, actionList);
|
|
@@ -2132,7 +2248,7 @@ var reduceObjectValue = function (key) {
|
|
|
2132
2248
|
var createObjectAction = function (action, props, vectorKeys) {
|
|
2133
2249
|
var firstVectorKey = vectorKeys[0];
|
|
2134
2250
|
var actionMap = Object.keys(props[firstVectorKey]).reduce(function (map, key) {
|
|
2135
|
-
var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign({}, props));
|
|
2251
|
+
var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign$1({}, props));
|
|
2136
2252
|
map[key] = getActionCreator(props[firstVectorKey][key])(action, childActionProps);
|
|
2137
2253
|
return map;
|
|
2138
2254
|
}, {});
|
|
@@ -2141,18 +2257,18 @@ var createObjectAction = function (action, props, vectorKeys) {
|
|
|
2141
2257
|
var createUnitAction = function (action, _a) {
|
|
2142
2258
|
var from = _a.from,
|
|
2143
2259
|
to = _a.to,
|
|
2144
|
-
props = __rest(_a, ["from", "to"]);
|
|
2260
|
+
props = __rest$1(_a, ["from", "to"]);
|
|
2145
2261
|
var unitType = findUnitType(from) || findUnitType(to);
|
|
2146
2262
|
var transform = unitType.transform,
|
|
2147
2263
|
parse = unitType.parse;
|
|
2148
|
-
return action(__assign(__assign({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
|
|
2264
|
+
return action(__assign$1(__assign$1({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
|
|
2149
2265
|
};
|
|
2150
2266
|
var createMixerAction = function (mixer) {
|
|
2151
2267
|
return function (action, _a) {
|
|
2152
2268
|
var from = _a.from,
|
|
2153
2269
|
to = _a.to,
|
|
2154
|
-
props = __rest(_a, ["from", "to"]);
|
|
2155
|
-
return action(__assign(__assign({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
|
|
2270
|
+
props = __rest$1(_a, ["from", "to"]);
|
|
2271
|
+
return action(__assign$1(__assign$1({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
|
|
2156
2272
|
};
|
|
2157
2273
|
};
|
|
2158
2274
|
var createColorAction = /*#__PURE__*/createMixerAction(mixColor);
|
|
@@ -2498,7 +2614,7 @@ var keyframes = function (_a) {
|
|
|
2498
2614
|
ease = _b === void 0 ? linear : _b,
|
|
2499
2615
|
times = _a.times,
|
|
2500
2616
|
values = _a.values,
|
|
2501
|
-
tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
|
|
2617
|
+
tweenProps = __rest$1(_a, ["easings", "ease", "times", "values"]);
|
|
2502
2618
|
easings = Array.isArray(easings) ? easings : defaultEasings(values, easings);
|
|
2503
2619
|
times = times || defaultTimings(values);
|
|
2504
2620
|
var scrubbers = easings.map(function (easing, i) {
|
|
@@ -2508,7 +2624,7 @@ var keyframes = function (_a) {
|
|
|
2508
2624
|
ease: easing
|
|
2509
2625
|
});
|
|
2510
2626
|
});
|
|
2511
|
-
return tween(__assign(__assign({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
|
|
2627
|
+
return tween(__assign$1(__assign$1({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
|
|
2512
2628
|
return interpolateScrubbers(times, scrubbers, update);
|
|
2513
2629
|
});
|
|
2514
2630
|
};
|
|
@@ -2752,7 +2868,7 @@ var index$1 = function (_a) {
|
|
|
2752
2868
|
}
|
|
2753
2869
|
var x = _a.x,
|
|
2754
2870
|
y = _a.y,
|
|
2755
|
-
props = __rest(_a, ["x", "y"]);
|
|
2871
|
+
props = __rest$1(_a, ["x", "y"]);
|
|
2756
2872
|
if (x !== undefined || y !== undefined) {
|
|
2757
2873
|
var applyXOffset_1 = applyOffset(x || 0);
|
|
2758
2874
|
var applyYOffset_1 = applyOffset(y || 0);
|
|
@@ -2826,7 +2942,7 @@ var steps$1 = function (st, min, max) {
|
|
|
2826
2942
|
};
|
|
2827
2943
|
var transformMap = function (childTransformers) {
|
|
2828
2944
|
return function (v) {
|
|
2829
|
-
var output = __assign({}, v);
|
|
2945
|
+
var output = __assign$1({}, v);
|
|
2830
2946
|
for (var key in childTransformers) {
|
|
2831
2947
|
if (childTransformers.hasOwnProperty(key)) {
|
|
2832
2948
|
var childTransformer = childTransformers[key];
|
|
@@ -2857,6 +2973,52 @@ var transformers = /*#__PURE__*/Object.freeze({
|
|
|
2857
2973
|
transformMap: transformMap
|
|
2858
2974
|
});
|
|
2859
2975
|
|
|
2976
|
+
/*! *****************************************************************************
|
|
2977
|
+
Copyright (c) Microsoft Corporation.
|
|
2978
|
+
|
|
2979
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
2980
|
+
purpose with or without fee is hereby granted.
|
|
2981
|
+
|
|
2982
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
2983
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
2984
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
2985
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
2986
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
2987
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2988
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
2989
|
+
***************************************************************************** */
|
|
2990
|
+
|
|
2991
|
+
var __assign$5 = function() {
|
|
2992
|
+
__assign$5 = Object.assign || function __assign(t) {
|
|
2993
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2994
|
+
s = arguments[i];
|
|
2995
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
2996
|
+
}
|
|
2997
|
+
return t;
|
|
2998
|
+
};
|
|
2999
|
+
return __assign$5.apply(this, arguments);
|
|
3000
|
+
};
|
|
3001
|
+
|
|
3002
|
+
function __rest$3(s, e) {
|
|
3003
|
+
var t = {};
|
|
3004
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
3005
|
+
t[p] = s[p];
|
|
3006
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
3007
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3008
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
3009
|
+
t[p[i]] = s[p[i]];
|
|
3010
|
+
}
|
|
3011
|
+
return t;
|
|
3012
|
+
}
|
|
3013
|
+
|
|
3014
|
+
function __spreadArrays$1() {
|
|
3015
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
3016
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
3017
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
3018
|
+
r[k] = a[j];
|
|
3019
|
+
return r;
|
|
3020
|
+
}
|
|
3021
|
+
|
|
2860
3022
|
var getPoseValues = function (_a) {
|
|
2861
3023
|
var transition = _a.transition,
|
|
2862
3024
|
flip = _a.flip,
|
|
@@ -2869,7 +3031,7 @@ var getPoseValues = function (_a) {
|
|
|
2869
3031
|
preTransition = _a.preTransition,
|
|
2870
3032
|
applyAtStart = _a.applyAtStart,
|
|
2871
3033
|
applyAtEnd = _a.applyAtEnd,
|
|
2872
|
-
props = __rest(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
|
|
3034
|
+
props = __rest$3(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
|
|
2873
3035
|
return props;
|
|
2874
3036
|
};
|
|
2875
3037
|
var selectPoses = function (_a) {
|
|
@@ -2881,7 +3043,7 @@ var selectPoses = function (_a) {
|
|
|
2881
3043
|
onChange = _a.onChange,
|
|
2882
3044
|
passive = _a.passive,
|
|
2883
3045
|
initialPose = _a.initialPose,
|
|
2884
|
-
poses = __rest(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
|
|
3046
|
+
poses = __rest$3(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
|
|
2885
3047
|
return poses;
|
|
2886
3048
|
};
|
|
2887
3049
|
var selectAllValues = function (values, selectValue) {
|
|
@@ -2981,7 +3143,7 @@ var createPoseSetter = function (setterProps) {
|
|
|
2981
3143
|
var _a = nextProps.delay,
|
|
2982
3144
|
delay = _a === void 0 ? 0 : _a;
|
|
2983
3145
|
var hasChildren = children.size;
|
|
2984
|
-
var baseTransitionProps = __assign(__assign({}, props), nextProps);
|
|
3146
|
+
var baseTransitionProps = __assign$5(__assign$5({}, props), nextProps);
|
|
2985
3147
|
var nextPose = poses[next];
|
|
2986
3148
|
var getChildAnimations = function () {
|
|
2987
3149
|
return hasChildren && propagate ? startChildAnimations(children, next, nextPose, baseTransitionProps) : [];
|
|
@@ -3007,11 +3169,11 @@ var createPoseSetter = function (setterProps) {
|
|
|
3007
3169
|
valuePoses.splice(insertionIndex, 0, next);
|
|
3008
3170
|
return insertionIndex === 0 ? new Promise(function (complete) {
|
|
3009
3171
|
var value = values.get(key);
|
|
3010
|
-
var transitionProps = __assign(__assign({}, baseTransitionProps), { key: key,
|
|
3172
|
+
var transitionProps = __assign$5(__assign$5({}, baseTransitionProps), { key: key,
|
|
3011
3173
|
value: value });
|
|
3012
3174
|
var target = resolveTarget(value, resolveProp(nextPose[key], transitionProps));
|
|
3013
3175
|
if (activeActions.has(key)) stopAction(activeActions.get(key));
|
|
3014
|
-
var resolveTransitionProps = __assign(__assign({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
|
|
3176
|
+
var resolveTransitionProps = __assign$5(__assign$5({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
|
|
3015
3177
|
var transition = resolveTransition(getTransition, key, value, resolveTransitionProps, convertTransitionDefinition, getInstantTransition);
|
|
3016
3178
|
var poseDelay = delay || resolveProp(nextPose.delay, transitionProps);
|
|
3017
3179
|
if (poseDelay) {
|
|
@@ -3035,7 +3197,7 @@ var createPoseSetter = function (setterProps) {
|
|
|
3035
3197
|
});
|
|
3036
3198
|
}
|
|
3037
3199
|
}
|
|
3038
|
-
return Promise.all(__spreadArrays(getParentAnimations(), getChildAnimations()));
|
|
3200
|
+
return Promise.all(__spreadArrays$1(getParentAnimations(), getChildAnimations()));
|
|
3039
3201
|
};
|
|
3040
3202
|
};
|
|
3041
3203
|
|
|
@@ -3161,7 +3323,7 @@ var createValueMap = function (props) {
|
|
|
3161
3323
|
};
|
|
3162
3324
|
|
|
3163
3325
|
var applyDefaultTransition = function (pose, key, defaultTransitions) {
|
|
3164
|
-
return __assign(__assign({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
|
|
3326
|
+
return __assign$5(__assign$5({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
|
|
3165
3327
|
};
|
|
3166
3328
|
var generateTransitions = function (poses, defaultTransitions) {
|
|
3167
3329
|
Object.keys(poses).forEach(function (key) {
|
|
@@ -3215,7 +3377,7 @@ var poseFactory = function (_a) {
|
|
|
3215
3377
|
var poses = generateTransitions(selectPoses(config), defaultTransitions);
|
|
3216
3378
|
var _b = config.props,
|
|
3217
3379
|
props = _b === void 0 ? {} : _b;
|
|
3218
|
-
if (getDefaultProps) props = __assign(__assign({}, getDefaultProps(config)), props);
|
|
3380
|
+
if (getDefaultProps) props = __assign$5(__assign$5({}, getDefaultProps(config)), props);
|
|
3219
3381
|
var passive = config.passive,
|
|
3220
3382
|
userSetValues = config.values,
|
|
3221
3383
|
_c = config.initialPose,
|
|
@@ -3290,10 +3452,10 @@ var poseFactory = function (_a) {
|
|
|
3290
3452
|
},
|
|
3291
3453
|
has: has,
|
|
3292
3454
|
setProps: function (newProps) {
|
|
3293
|
-
return state.props = __assign(__assign({}, state.props), newProps);
|
|
3455
|
+
return state.props = __assign$5(__assign$5({}, state.props), newProps);
|
|
3294
3456
|
},
|
|
3295
3457
|
_addChild: function (childConfig, factory) {
|
|
3296
|
-
var child = factory(__assign(__assign({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays([{ label: config.label, values: values }], ancestorValues) }));
|
|
3458
|
+
var child = factory(__assign$5(__assign$5({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays$1([{ label: config.label, values: values }], ancestorValues) }));
|
|
3297
3459
|
children.add(child);
|
|
3298
3460
|
return child;
|
|
3299
3461
|
},
|
|
@@ -3332,18 +3494,18 @@ See the Apache Version 2.0 License for specific language governing permissions
|
|
|
3332
3494
|
and limitations under the License.
|
|
3333
3495
|
***************************************************************************** */
|
|
3334
3496
|
|
|
3335
|
-
var __assign$
|
|
3336
|
-
__assign$
|
|
3497
|
+
var __assign$6 = function () {
|
|
3498
|
+
__assign$6 = Object.assign || function __assign(t) {
|
|
3337
3499
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
3338
3500
|
s = arguments[i];
|
|
3339
3501
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
3340
3502
|
}
|
|
3341
3503
|
return t;
|
|
3342
3504
|
};
|
|
3343
|
-
return __assign$
|
|
3505
|
+
return __assign$6.apply(this, arguments);
|
|
3344
3506
|
};
|
|
3345
3507
|
|
|
3346
|
-
function __rest$
|
|
3508
|
+
function __rest$4(s, e) {
|
|
3347
3509
|
var t = {};
|
|
3348
3510
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3349
3511
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
@@ -3460,12 +3622,12 @@ var intelligentTransition = {
|
|
|
3460
3622
|
opacity: linearTween,
|
|
3461
3623
|
default: tween
|
|
3462
3624
|
};
|
|
3463
|
-
var dragAction = /*#__PURE__*/__assign$
|
|
3625
|
+
var dragAction = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: /*#__PURE__*/createPointer(pointerX, 'left', 'right', BoundingBoxDimension.width), y: /*#__PURE__*/createPointer(pointerY, 'top', 'bottom', BoundingBoxDimension.height) });
|
|
3464
3626
|
var justAxis = function (_a) {
|
|
3465
3627
|
var from = _a.from;
|
|
3466
3628
|
return just(from);
|
|
3467
3629
|
};
|
|
3468
|
-
var intelligentDragEnd = /*#__PURE__*/__assign$
|
|
3630
|
+
var intelligentDragEnd = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: justAxis, y: justAxis });
|
|
3469
3631
|
var defaultTransitions = /*#__PURE__*/new Map([['default', intelligentTransition], ['drag', dragAction], ['dragEnd', intelligentDragEnd]]);
|
|
3470
3632
|
|
|
3471
3633
|
var animationLookup = {
|
|
@@ -3535,7 +3697,7 @@ var getAction = function (v, _a, _b) {
|
|
|
3535
3697
|
var _c = _a.type,
|
|
3536
3698
|
type = _c === void 0 ? 'tween' : _c,
|
|
3537
3699
|
definedEase = _a.ease,
|
|
3538
|
-
def = __rest$
|
|
3700
|
+
def = __rest$4(_a, ["type", "ease"]);
|
|
3539
3701
|
invariant(animationLookup[type] !== undefined, "Invalid transition type '" + type + "'. Valid transition types are: tween, spring, decay, physics and keyframes.");
|
|
3540
3702
|
var ease;
|
|
3541
3703
|
if (type === 'tween') {
|
|
@@ -3560,7 +3722,7 @@ var getAction = function (v, _a, _b) {
|
|
|
3560
3722
|
velocity: velocity,
|
|
3561
3723
|
ease: ease
|
|
3562
3724
|
} : { ease: ease };
|
|
3563
|
-
return animationLookup[type](__assign$
|
|
3725
|
+
return animationLookup[type](__assign$6(__assign$6({}, baseProps), def));
|
|
3564
3726
|
};
|
|
3565
3727
|
var isAction = function (action$$1) {
|
|
3566
3728
|
return typeof action$$1.start !== 'undefined';
|
|
@@ -3645,7 +3807,7 @@ var pose = function (_a) {
|
|
|
3645
3807
|
min = def.min,
|
|
3646
3808
|
max = def.max,
|
|
3647
3809
|
round = def.round,
|
|
3648
|
-
remainingDef = __rest$
|
|
3810
|
+
remainingDef = __rest$4(def, ["delay", "min", "max", "round"]);
|
|
3649
3811
|
var action$$1 = getAction(val, remainingDef, props);
|
|
3650
3812
|
var outputPipe = [];
|
|
3651
3813
|
if (delay$$1) action$$1 = addActionDelay(delay$$1, action$$1);
|
|
@@ -3827,7 +3989,7 @@ var explicitlyFlipPose = function (state, nextPose) {
|
|
|
3827
3989
|
bottom = nextPose.bottom,
|
|
3828
3990
|
right = nextPose.right,
|
|
3829
3991
|
position = nextPose.position,
|
|
3830
|
-
remainingPose = __rest$
|
|
3992
|
+
remainingPose = __rest$4(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
|
|
3831
3993
|
var propsToSet = positionalProps.concat('position').reduce(function (acc, key) {
|
|
3832
3994
|
if (nextPose[key] !== undefined) {
|
|
3833
3995
|
acc[key] = resolveProp$1(nextPose[key], state.props);
|
|
@@ -3939,7 +4101,7 @@ var convertPositionalUnits = function (state, nextPose) {
|
|
|
3939
4101
|
changedPositionalKeys.push(key);
|
|
3940
4102
|
if (!applyAtEndHasBeenCopied) {
|
|
3941
4103
|
applyAtEndHasBeenCopied = true;
|
|
3942
|
-
nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$
|
|
4104
|
+
nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$6({}, nextPose.applyAtEnd) : {};
|
|
3943
4105
|
}
|
|
3944
4106
|
nextPose.applyAtEnd[key] = nextPose.applyAtEnd[key] || nextPose[key];
|
|
3945
4107
|
setValue(state, key, to);
|
|
@@ -3995,8 +4157,8 @@ var createPoseConfig = function (element, _a) {
|
|
|
3995
4157
|
focusable = _a.focusable,
|
|
3996
4158
|
pressable = _a.pressable,
|
|
3997
4159
|
dragBounds = _a.dragBounds,
|
|
3998
|
-
config = __rest$
|
|
3999
|
-
var poseConfig = __assign$
|
|
4160
|
+
config = __rest$4(_a, ["onDragStart", "onDragEnd", "onPressStart", "onPressEnd", "draggable", "hoverable", "focusable", "pressable", "dragBounds"]);
|
|
4161
|
+
var poseConfig = __assign$6(__assign$6({ flip: {} }, config), { props: __assign$6(__assign$6({}, config.props), { onDragStart: onDragStart,
|
|
4000
4162
|
onDragEnd: onDragEnd,
|
|
4001
4163
|
onPressStart: onPressStart,
|
|
4002
4164
|
onPressEnd: onPressEnd,
|
|
@@ -4010,8 +4172,8 @@ var createPoseConfig = function (element, _a) {
|
|
|
4010
4172
|
var _b = dragPoses(draggable),
|
|
4011
4173
|
drag = _b.drag,
|
|
4012
4174
|
dragEnd = _b.dragEnd;
|
|
4013
|
-
poseConfig.drag = __assign$
|
|
4014
|
-
poseConfig.dragEnd = __assign$
|
|
4175
|
+
poseConfig.drag = __assign$6(__assign$6({}, drag), poseConfig.drag);
|
|
4176
|
+
poseConfig.dragEnd = __assign$6(__assign$6({}, dragEnd), poseConfig.dragEnd);
|
|
4015
4177
|
}
|
|
4016
4178
|
return poseConfig;
|
|
4017
4179
|
};
|
|
@@ -4019,7 +4181,7 @@ var domPose = /*#__PURE__*/pose({
|
|
|
4019
4181
|
posePriority: ['drag', 'press', 'focus', 'hover'],
|
|
4020
4182
|
transformPose: function (_a, name, state) {
|
|
4021
4183
|
var flip = _a.flip,
|
|
4022
|
-
pose$$1 = __rest$
|
|
4184
|
+
pose$$1 = __rest$4(_a, ["flip"]);
|
|
4023
4185
|
if (isFlipPose(flip, name, state)) {
|
|
4024
4186
|
return flipPose(state, pose$$1);
|
|
4025
4187
|
} else if (isPositional(pose$$1)) {
|
|
@@ -4057,7 +4219,7 @@ var domPose = /*#__PURE__*/pose({
|
|
|
4057
4219
|
var props = _a.props,
|
|
4058
4220
|
activeActions = _a.activeActions;
|
|
4059
4221
|
var measure = props.dimensions.measure;
|
|
4060
|
-
var poserApi = __assign$
|
|
4222
|
+
var poserApi = __assign$6(__assign$6({}, api), { addChild: function (element, childConfig) {
|
|
4061
4223
|
return api._addChild(createPoseConfig(element, childConfig), domPose);
|
|
4062
4224
|
}, measure: measure, flip: function (op) {
|
|
4063
4225
|
if (op) {
|
|
@@ -7070,6 +7232,104 @@ var Imposter = function Imposter(_ref) {
|
|
|
7070
7232
|
}, rest), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
|
|
7071
7233
|
};
|
|
7072
7234
|
|
|
7235
|
+
/*! *****************************************************************************
|
|
7236
|
+
Copyright (c) Microsoft Corporation.
|
|
7237
|
+
|
|
7238
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
7239
|
+
purpose with or without fee is hereby granted.
|
|
7240
|
+
|
|
7241
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
7242
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
7243
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
7244
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
7245
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
7246
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
7247
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
7248
|
+
***************************************************************************** */
|
|
7249
|
+
/* global Reflect, Promise */
|
|
7250
|
+
|
|
7251
|
+
var extendStatics$2 = function(d, b) {
|
|
7252
|
+
extendStatics$2 = Object.setPrototypeOf ||
|
|
7253
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7254
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7255
|
+
return extendStatics$2(d, b);
|
|
7256
|
+
};
|
|
7257
|
+
|
|
7258
|
+
function __extends$2(d, b) {
|
|
7259
|
+
extendStatics$2(d, b);
|
|
7260
|
+
function __() { this.constructor = d; }
|
|
7261
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7262
|
+
}
|
|
7263
|
+
|
|
7264
|
+
var __assign$7 = function() {
|
|
7265
|
+
__assign$7 = Object.assign || function __assign(t) {
|
|
7266
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7267
|
+
s = arguments[i];
|
|
7268
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7269
|
+
}
|
|
7270
|
+
return t;
|
|
7271
|
+
};
|
|
7272
|
+
return __assign$7.apply(this, arguments);
|
|
7273
|
+
};
|
|
7274
|
+
|
|
7275
|
+
function __rest$5(s, e) {
|
|
7276
|
+
var t = {};
|
|
7277
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
7278
|
+
t[p] = s[p];
|
|
7279
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7280
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7281
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
7282
|
+
t[p[i]] = s[p[i]];
|
|
7283
|
+
}
|
|
7284
|
+
return t;
|
|
7285
|
+
}
|
|
7286
|
+
|
|
7287
|
+
function __spreadArrays$2() {
|
|
7288
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
7289
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
7290
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
7291
|
+
r[k] = a[j];
|
|
7292
|
+
return r;
|
|
7293
|
+
}
|
|
7294
|
+
|
|
7295
|
+
/*! *****************************************************************************
|
|
7296
|
+
Copyright (c) Microsoft Corporation.
|
|
7297
|
+
|
|
7298
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
7299
|
+
purpose with or without fee is hereby granted.
|
|
7300
|
+
|
|
7301
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
7302
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
7303
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
7304
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
7305
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
7306
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
7307
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
7308
|
+
***************************************************************************** */
|
|
7309
|
+
|
|
7310
|
+
var __assign$8 = function() {
|
|
7311
|
+
__assign$8 = Object.assign || function __assign(t) {
|
|
7312
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7313
|
+
s = arguments[i];
|
|
7314
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7315
|
+
}
|
|
7316
|
+
return t;
|
|
7317
|
+
};
|
|
7318
|
+
return __assign$8.apply(this, arguments);
|
|
7319
|
+
};
|
|
7320
|
+
|
|
7321
|
+
function __rest$6(s, e) {
|
|
7322
|
+
var t = {};
|
|
7323
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
7324
|
+
t[p] = s[p];
|
|
7325
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7326
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7327
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
7328
|
+
t[p[i]] = s[p[i]];
|
|
7329
|
+
}
|
|
7330
|
+
return t;
|
|
7331
|
+
}
|
|
7332
|
+
|
|
7073
7333
|
var Observer$1 = /*#__PURE__*/function () {
|
|
7074
7334
|
function Observer(_a, observer) {
|
|
7075
7335
|
var _this = this;
|
|
@@ -7132,18 +7392,18 @@ var Action$1 = /*#__PURE__*/function () {
|
|
|
7132
7392
|
};
|
|
7133
7393
|
var _a = this.props,
|
|
7134
7394
|
init = _a.init,
|
|
7135
|
-
observerProps = __rest(_a, ["init"]);
|
|
7395
|
+
observerProps = __rest$6(_a, ["init"]);
|
|
7136
7396
|
var observer = createObserver$1(observerCandidate, observerProps, function () {
|
|
7137
7397
|
isComplete = true;
|
|
7138
7398
|
subscription.stop();
|
|
7139
7399
|
});
|
|
7140
7400
|
var api = init(observer);
|
|
7141
|
-
subscription = api ? __assign({}, subscription, api) : subscription;
|
|
7401
|
+
subscription = api ? __assign$8({}, subscription, api) : subscription;
|
|
7142
7402
|
if (isComplete) subscription.stop();
|
|
7143
7403
|
return subscription;
|
|
7144
7404
|
};
|
|
7145
7405
|
Action.prototype.applyMiddleware = function (middleware) {
|
|
7146
|
-
return this.create(__assign({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
|
|
7406
|
+
return this.create(__assign$8({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
|
|
7147
7407
|
};
|
|
7148
7408
|
Action.prototype.pipe = function () {
|
|
7149
7409
|
var funcs = [];
|
|
@@ -7196,18 +7456,18 @@ var createAction$1 = function (action, props) {
|
|
|
7196
7456
|
var createUnitAction$1 = function (action, _a) {
|
|
7197
7457
|
var from = _a.from,
|
|
7198
7458
|
to = _a.to,
|
|
7199
|
-
props = __rest(_a, ["from", "to"]);
|
|
7459
|
+
props = __rest$6(_a, ["from", "to"]);
|
|
7200
7460
|
var unitType = findUnitType$1(from) || findUnitType$1(to);
|
|
7201
7461
|
var transform = unitType.transform,
|
|
7202
7462
|
parse = unitType.parse;
|
|
7203
|
-
return action(__assign({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
|
|
7463
|
+
return action(__assign$8({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
|
|
7204
7464
|
};
|
|
7205
7465
|
var createMixerAction$1 = function (mixer) {
|
|
7206
7466
|
return function (action, _a) {
|
|
7207
7467
|
var from = _a.from,
|
|
7208
7468
|
to = _a.to,
|
|
7209
|
-
props = __rest(_a, ["from", "to"]);
|
|
7210
|
-
return action(__assign({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
|
|
7469
|
+
props = __rest$6(_a, ["from", "to"]);
|
|
7470
|
+
return action(__assign$8({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
|
|
7211
7471
|
};
|
|
7212
7472
|
};
|
|
7213
7473
|
var createColorAction$1 = /*#__PURE__*/createMixerAction$1(mixColor);
|
|
@@ -7420,7 +7680,7 @@ var inertia = function (_a) {
|
|
|
7420
7680
|
};
|
|
7421
7681
|
var startSpring = function (props) {
|
|
7422
7682
|
isSpring = true;
|
|
7423
|
-
startAnimation(vectorSpring$1(__assign({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
|
|
7683
|
+
startAnimation(vectorSpring$1(__assign$8({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
|
|
7424
7684
|
};
|
|
7425
7685
|
if (isOutOfBounds(from)) {
|
|
7426
7686
|
startSpring({ from: from, velocity: velocity });
|
|
@@ -7652,7 +7912,7 @@ var keyframes$1 = function (_a) {
|
|
|
7652
7912
|
ease = _b === void 0 ? linear : _b,
|
|
7653
7913
|
times = _a.times,
|
|
7654
7914
|
values = _a.values,
|
|
7655
|
-
tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
|
|
7915
|
+
tweenProps = __rest$6(_a, ["easings", "ease", "times", "values"]);
|
|
7656
7916
|
easings = Array.isArray(easings) ? easings : defaultEasings$1(values, easings);
|
|
7657
7917
|
times = times || defaultTimings$1(values);
|
|
7658
7918
|
var scrubbers = easings.map(function (easing, i) {
|
|
@@ -7662,7 +7922,7 @@ var keyframes$1 = function (_a) {
|
|
|
7662
7922
|
ease: easing
|
|
7663
7923
|
});
|
|
7664
7924
|
});
|
|
7665
|
-
return tween$1(__assign({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
|
|
7925
|
+
return tween$1(__assign$8({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
|
|
7666
7926
|
return interpolateScrubbers$1(times, scrubbers, update);
|
|
7667
7927
|
});
|
|
7668
7928
|
};
|
|
@@ -7864,7 +8124,7 @@ var MotionValue = /** @class */ (function () {
|
|
|
7864
8124
|
*/
|
|
7865
8125
|
MotionValue.prototype.addChild = function (config) {
|
|
7866
8126
|
if (config === void 0) { config = {}; }
|
|
7867
|
-
var child = new MotionValue(this.current, __assign({ parent: this }, config));
|
|
8127
|
+
var child = new MotionValue(this.current, __assign$7({ parent: this }, config));
|
|
7868
8128
|
if (!this.children)
|
|
7869
8129
|
this.children = new Set();
|
|
7870
8130
|
this.children.add(child);
|
|
@@ -8306,7 +8566,7 @@ var buildStyleAttr = function (values, styleProp, isStatic) {
|
|
|
8306
8566
|
? transformTemplate({}, styleProp.transform)
|
|
8307
8567
|
: transformTemplate;
|
|
8308
8568
|
}
|
|
8309
|
-
return buildStyleProperty(__assign(__assign({}, styleProp), motionValueStyles), !isStatic);
|
|
8569
|
+
return buildStyleProperty(__assign$7(__assign$7({}, styleProp), motionValueStyles), !isStatic);
|
|
8310
8570
|
};
|
|
8311
8571
|
var useMotionStyles = function (values, styleProp, isStatic, transformValues) {
|
|
8312
8572
|
if (styleProp === void 0) { styleProp = {}; }
|
|
@@ -8360,7 +8620,7 @@ var auto$1 = {
|
|
|
8360
8620
|
parse: function (v) { return v; },
|
|
8361
8621
|
};
|
|
8362
8622
|
var dimensionTypes = [number, px, percent, degrees, vw, vh, auto$1];
|
|
8363
|
-
var valueTypes$1 = __spreadArrays(dimensionTypes, [color, complex]);
|
|
8623
|
+
var valueTypes$1 = __spreadArrays$2(dimensionTypes, [color, complex]);
|
|
8364
8624
|
var testValueType$1 = function (v) { return function (type) { return type.test(v); }; };
|
|
8365
8625
|
var getDimensionValueType = function (v) {
|
|
8366
8626
|
return dimensionTypes.find(testValueType$1(v));
|
|
@@ -8413,7 +8673,7 @@ var getDefaultTransition = function (valueKey, to) {
|
|
|
8413
8673
|
transitionFactory =
|
|
8414
8674
|
defaultTransitions$1[valueKey] || defaultTransitions$1.default;
|
|
8415
8675
|
}
|
|
8416
|
-
return __assign({ to: to }, transitionFactory(to));
|
|
8676
|
+
return __assign$7({ to: to }, transitionFactory(to));
|
|
8417
8677
|
};
|
|
8418
8678
|
|
|
8419
8679
|
/**
|
|
@@ -8509,9 +8769,9 @@ var transitionOptionParser = {
|
|
|
8509
8769
|
return opts;
|
|
8510
8770
|
},
|
|
8511
8771
|
keyframes: function (_a) {
|
|
8512
|
-
var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest(_a, ["from", "to", "velocity"]);
|
|
8772
|
+
var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest$5(_a, ["from", "to", "velocity"]);
|
|
8513
8773
|
if (opts.values && opts.values[0] === null) {
|
|
8514
|
-
var values = __spreadArrays(opts.values);
|
|
8774
|
+
var values = __spreadArrays$2(opts.values);
|
|
8515
8775
|
values[0] = from;
|
|
8516
8776
|
opts.values = values;
|
|
8517
8777
|
}
|
|
@@ -8525,7 +8785,7 @@ var transitionOptionParser = {
|
|
|
8525
8785
|
},
|
|
8526
8786
|
};
|
|
8527
8787
|
var isTransitionDefined = function (_a) {
|
|
8528
|
-
var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
|
|
8788
|
+
var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest$5(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
|
|
8529
8789
|
return Object.keys(transition).length;
|
|
8530
8790
|
};
|
|
8531
8791
|
var getTransitionDefinition = function (key, to, transitionDefinition) {
|
|
@@ -8535,7 +8795,7 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
|
|
|
8535
8795
|
// and see if there's any props remaining
|
|
8536
8796
|
if (transitionDefinition === undefined ||
|
|
8537
8797
|
!isTransitionDefined(transitionDefinition)) {
|
|
8538
|
-
return __assign({ delay: delay }, getDefaultTransition(key, to));
|
|
8798
|
+
return __assign$7({ delay: delay }, getDefaultTransition(key, to));
|
|
8539
8799
|
}
|
|
8540
8800
|
var valueTransitionDefinition = transitionDefinition[key] ||
|
|
8541
8801
|
transitionDefinition.default ||
|
|
@@ -8552,12 +8812,12 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
|
|
|
8552
8812
|
};
|
|
8553
8813
|
}
|
|
8554
8814
|
else if (isKeyframesTarget(to)) {
|
|
8555
|
-
return __assign(__assign({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
|
|
8815
|
+
return __assign$7(__assign$7({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
|
|
8556
8816
|
// This animation must be keyframes if we're animating through an array
|
|
8557
8817
|
type: "keyframes" });
|
|
8558
8818
|
}
|
|
8559
8819
|
else {
|
|
8560
|
-
return __assign({ type: "tween", to: to,
|
|
8820
|
+
return __assign$7({ type: "tween", to: to,
|
|
8561
8821
|
delay: delay }, valueTransitionDefinition);
|
|
8562
8822
|
}
|
|
8563
8823
|
};
|
|
@@ -8574,12 +8834,12 @@ var getAnimation = function (key, value, target, transition) {
|
|
|
8574
8834
|
// for instance 100 to #fff. This might live better in Popmotion.
|
|
8575
8835
|
warning(isOriginAnimatable === isTargetAnimatable, "You are trying to animate " + key + " from \"" + origin + "\" to " + target + ". \"" + origin + "\" is not an animatable value - to enable this animation set " + origin + " to a value animatable to " + target + " via the `style` property.");
|
|
8576
8836
|
// Parse the `transition` prop and return options for the Popmotion animation
|
|
8577
|
-
var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest(_a, ["type"]);
|
|
8837
|
+
var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest$5(_a, ["type"]);
|
|
8578
8838
|
// If this is an animatable pair of values, return an animation, otherwise use `just`
|
|
8579
8839
|
var actionFactory = isOriginAnimatable && isTargetAnimatable
|
|
8580
8840
|
? transitions[type]
|
|
8581
8841
|
: just$1;
|
|
8582
|
-
var opts = preprocessOptions(type, __assign({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
|
|
8842
|
+
var opts = preprocessOptions(type, __assign$7({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
|
|
8583
8843
|
// Convert duration from Framer Motion's seconds into Popmotion's milliseconds
|
|
8584
8844
|
if (isDurationAnimation(opts)) {
|
|
8585
8845
|
if (opts.duration) {
|
|
@@ -8597,10 +8857,10 @@ var getAnimation = function (key, value, target, transition) {
|
|
|
8597
8857
|
* @internal
|
|
8598
8858
|
*/
|
|
8599
8859
|
function startAnimation(key, value, target, _a) {
|
|
8600
|
-
var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest(_a, ["delay"]);
|
|
8860
|
+
var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest$5(_a, ["delay"]);
|
|
8601
8861
|
return value.start(function (complete) {
|
|
8602
8862
|
var activeAnimation;
|
|
8603
|
-
var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest(_b, ["delay"]);
|
|
8863
|
+
var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest$5(_b, ["delay"]);
|
|
8604
8864
|
if (valueDelay !== undefined) {
|
|
8605
8865
|
delay$1$1 = valueDelay;
|
|
8606
8866
|
}
|
|
@@ -8746,7 +9006,7 @@ var ValueAnimationControls = /** @class */ (function () {
|
|
|
8746
9006
|
var _this = this;
|
|
8747
9007
|
var _b = _a === void 0 ? {} : _a, _c = _b.isActive, isActive = _c === void 0 ? new Set() : _c, priority = _b.priority;
|
|
8748
9008
|
var _d = this.resolveVariant(definition), target = _d.target, transitionEnd = _d.transitionEnd;
|
|
8749
|
-
target = this.transformValues(__assign(__assign({}, target), transitionEnd));
|
|
9009
|
+
target = this.transformValues(__assign$7(__assign$7({}, target), transitionEnd));
|
|
8750
9010
|
return Object.keys(target).forEach(function (key) {
|
|
8751
9011
|
if (isActive.has(key))
|
|
8752
9012
|
return;
|
|
@@ -8836,7 +9096,7 @@ var ValueAnimationControls = /** @class */ (function () {
|
|
|
8836
9096
|
// resolve current and velocity
|
|
8837
9097
|
variant = variant(this.props.custom, getCurrent$1(this.values), getVelocity(this.values));
|
|
8838
9098
|
}
|
|
8839
|
-
var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest(variant, ["transition", "transitionEnd"]);
|
|
9099
|
+
var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest$5(variant, ["transition", "transitionEnd"]);
|
|
8840
9100
|
return { transition: transition, transitionEnd: transitionEnd, target: target };
|
|
8841
9101
|
};
|
|
8842
9102
|
/**
|
|
@@ -8927,7 +9187,7 @@ var ValueAnimationControls = /** @class */ (function () {
|
|
|
8927
9187
|
ValueAnimationControls.prototype.applyVariantLabels = function (variantLabelList) {
|
|
8928
9188
|
var _this = this;
|
|
8929
9189
|
var isActive = new Set();
|
|
8930
|
-
var reversedList = __spreadArrays(variantLabelList).reverse();
|
|
9190
|
+
var reversedList = __spreadArrays$2(variantLabelList).reverse();
|
|
8931
9191
|
reversedList.forEach(function (key) {
|
|
8932
9192
|
var _a = _this.resolveVariant(_this.variants[key]), target = _a.target, transitionEnd = _a.transitionEnd;
|
|
8933
9193
|
if (transitionEnd) {
|
|
@@ -8998,7 +9258,7 @@ var ValueAnimationControls = /** @class */ (function () {
|
|
|
8998
9258
|
if (this.isAnimating.has(key))
|
|
8999
9259
|
continue;
|
|
9000
9260
|
this.isAnimating.add(key);
|
|
9001
|
-
animations.push(startAnimation(key, value, valueTarget, __assign({ delay: delay }, transition)));
|
|
9261
|
+
animations.push(startAnimation(key, value, valueTarget, __assign$7({ delay: delay }, transition)));
|
|
9002
9262
|
}
|
|
9003
9263
|
var allAnimations = Promise.all(animations);
|
|
9004
9264
|
return transitionEnd
|
|
@@ -9009,7 +9269,7 @@ var ValueAnimationControls = /** @class */ (function () {
|
|
|
9009
9269
|
};
|
|
9010
9270
|
ValueAnimationControls.prototype.animateVariantLabels = function (variantLabels, opts) {
|
|
9011
9271
|
var _this = this;
|
|
9012
|
-
var animations = __spreadArrays(variantLabels).reverse()
|
|
9272
|
+
var animations = __spreadArrays$2(variantLabels).reverse()
|
|
9013
9273
|
.map(function (label) { return _this.animateVariant(label, opts); });
|
|
9014
9274
|
return Promise.all(animations);
|
|
9015
9275
|
};
|
|
@@ -9453,7 +9713,7 @@ function useValueAnimationControls(config, props, subscribeToParentControls) {
|
|
|
9453
9713
|
// Remove reference to onAnimationComplete from controls. All the MotionValues
|
|
9454
9714
|
// are unsubscribed from this component separately. We let animations run out
|
|
9455
9715
|
// as they might be animating other components.
|
|
9456
|
-
var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest(props, ["onAnimationComplete"]);
|
|
9716
|
+
var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest$5(props, ["onAnimationComplete"]);
|
|
9457
9717
|
controls.setProps(unmountProps);
|
|
9458
9718
|
parentControls && parentControls.removeChild(controls);
|
|
9459
9719
|
};
|
|
@@ -9938,7 +10198,7 @@ var PanSession = /** @class */ (function () {
|
|
|
9938
10198
|
return;
|
|
9939
10199
|
var point = info.point;
|
|
9940
10200
|
var timestamp = getFrameData().timestamp;
|
|
9941
|
-
_this.history.push(__assign(__assign({}, point), { timestamp: timestamp }));
|
|
10201
|
+
_this.history.push(__assign$7(__assign$7({}, point), { timestamp: timestamp }));
|
|
9942
10202
|
var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;
|
|
9943
10203
|
if (!isPanStarted) {
|
|
9944
10204
|
onStart && onStart(_this.lastMoveEvent, info);
|
|
@@ -9955,7 +10215,7 @@ var PanSession = /** @class */ (function () {
|
|
|
9955
10215
|
var initialInfo = transformPoint(info, this.transformPagePoint);
|
|
9956
10216
|
var point = initialInfo.point;
|
|
9957
10217
|
var timestamp = getFrameData().timestamp;
|
|
9958
|
-
this.history = [__assign(__assign({}, point), { timestamp: timestamp })];
|
|
10218
|
+
this.history = [__assign$7(__assign$7({}, point), { timestamp: timestamp })];
|
|
9959
10219
|
var onSessionStart = handlers.onSessionStart;
|
|
9960
10220
|
onSessionStart &&
|
|
9961
10221
|
onSessionStart(event, getPanInfo(initialInfo, this.history));
|
|
@@ -10283,7 +10543,7 @@ var Gestures = {
|
|
|
10283
10543
|
return gestureProps.some(function (key) { return props.hasOwnProperty(key); });
|
|
10284
10544
|
},
|
|
10285
10545
|
Component: makeRenderlessComponent(function (_a) {
|
|
10286
|
-
var innerRef = _a.innerRef, props = __rest(_a, ["innerRef"]);
|
|
10546
|
+
var innerRef = _a.innerRef, props = __rest$5(_a, ["innerRef"]);
|
|
10287
10547
|
useGestures(props, innerRef);
|
|
10288
10548
|
}),
|
|
10289
10549
|
};
|
|
@@ -10523,8 +10783,8 @@ var ComponentDragControls = /** @class */ (function () {
|
|
|
10523
10783
|
};
|
|
10524
10784
|
ComponentDragControls.prototype.updateProps = function (_a) {
|
|
10525
10785
|
var _this = this;
|
|
10526
|
-
var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? true : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
|
|
10527
|
-
this.props = __assign({ drag: drag,
|
|
10786
|
+
var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? true : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest$5(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
|
|
10787
|
+
this.props = __assign$7({ drag: drag,
|
|
10528
10788
|
dragDirectionLock: dragDirectionLock,
|
|
10529
10789
|
dragPropagation: dragPropagation,
|
|
10530
10790
|
dragConstraints: dragConstraints,
|
|
@@ -10580,7 +10840,7 @@ var ComponentDragControls = /** @class */ (function () {
|
|
|
10580
10840
|
var bounceStiffness = dragElastic ? 200 : 1000000;
|
|
10581
10841
|
var bounceDamping = dragElastic ? 40 : 10000000;
|
|
10582
10842
|
var animationControls = _dragTransitionControls || _this.controls;
|
|
10583
|
-
var inertia = __assign(__assign({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
|
|
10843
|
+
var inertia = __assign$7(__assign$7({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
|
|
10584
10844
|
bounceDamping: bounceDamping, timeConstant: 750, restDelta: 1 }, dragTransition), transition);
|
|
10585
10845
|
var externalAxisMotionValue = axis === "x" ? _dragValueX : _dragValueY;
|
|
10586
10846
|
// If we're not animating on an externally-provided `MotionValue` we can use the
|
|
@@ -10661,7 +10921,7 @@ function bothAxis(handler) {
|
|
|
10661
10921
|
return [handler("x"), handler("y")];
|
|
10662
10922
|
}
|
|
10663
10923
|
function convertPanToDrag(info, point) {
|
|
10664
|
-
return __assign(__assign({}, info), { point: {
|
|
10924
|
+
return __assign$7(__assign$7({}, info), { point: {
|
|
10665
10925
|
x: point.x ? point.x.get() : 0,
|
|
10666
10926
|
y: point.y ? point.y.get() : 0,
|
|
10667
10927
|
} });
|
|
@@ -10772,7 +11032,7 @@ function useDrag(props, ref, values, controls) {
|
|
|
10772
11032
|
var groupDragControls = props.dragControls;
|
|
10773
11033
|
var transformPagePoint = useContext(MotionPluginContext).transformPagePoint;
|
|
10774
11034
|
var dragControls = useConstant(function () { return new ComponentDragControls({ ref: ref, values: values, controls: controls }); });
|
|
10775
|
-
dragControls.updateProps(__assign(__assign({}, props), { transformPagePoint: transformPagePoint }));
|
|
11035
|
+
dragControls.updateProps(__assign$7(__assign$7({}, props), { transformPagePoint: transformPagePoint }));
|
|
10776
11036
|
useEffect$1(function () { return groupDragControls && groupDragControls.subscribe(dragControls); }, [dragControls]);
|
|
10777
11037
|
useEffect$1(function () { return dragControls.mount(ref.current); }, []);
|
|
10778
11038
|
}
|
|
@@ -10781,7 +11041,7 @@ var Drag = {
|
|
|
10781
11041
|
key: "drag",
|
|
10782
11042
|
shouldRender: function (props) { return !!props.drag; },
|
|
10783
11043
|
Component: makeRenderlessComponent(function (_a) {
|
|
10784
|
-
var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest(_a, ["innerRef", "values", "controls"]);
|
|
11044
|
+
var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest$5(_a, ["innerRef", "values", "controls"]);
|
|
10785
11045
|
return useDrag(props, innerRef, values, controls);
|
|
10786
11046
|
}),
|
|
10787
11047
|
};
|
|
@@ -10833,14 +11093,14 @@ function getVariableValue(current, element, depth) {
|
|
|
10833
11093
|
* @internal
|
|
10834
11094
|
*/
|
|
10835
11095
|
function resolveCSSVariables(values, ref, _a, transitionEnd) {
|
|
10836
|
-
var target = __rest(_a, []);
|
|
11096
|
+
var target = __rest$5(_a, []);
|
|
10837
11097
|
var element = ref.current;
|
|
10838
11098
|
if (!(element instanceof HTMLElement))
|
|
10839
11099
|
return { target: target, transitionEnd: transitionEnd };
|
|
10840
11100
|
// If `transitionEnd` isn't `undefined`, clone it. We could clone `target` and `transitionEnd`
|
|
10841
11101
|
// only if they change but I think this reads clearer and this isn't a performance-critical path.
|
|
10842
11102
|
if (transitionEnd) {
|
|
10843
|
-
transitionEnd = __assign({}, transitionEnd);
|
|
11103
|
+
transitionEnd = __assign$7({}, transitionEnd);
|
|
10844
11104
|
}
|
|
10845
11105
|
// Go through existing `MotionValue`s and ensure any existing CSS variables are resolved
|
|
10846
11106
|
values.forEach(function (value) {
|
|
@@ -10997,8 +11257,8 @@ var convertChangedValueTypes = function (target, values, element, elementStyler,
|
|
|
10997
11257
|
};
|
|
10998
11258
|
var checkAndConvertChangedValueTypes = function (values, ref, target, transitionEnd) {
|
|
10999
11259
|
if (transitionEnd === void 0) { transitionEnd = {}; }
|
|
11000
|
-
target = __assign({}, target);
|
|
11001
|
-
transitionEnd = __assign({}, transitionEnd);
|
|
11260
|
+
target = __assign$7({}, target);
|
|
11261
|
+
transitionEnd = __assign$7({}, transitionEnd);
|
|
11002
11262
|
var element = ref.current;
|
|
11003
11263
|
var elementStyler = index(element);
|
|
11004
11264
|
var targetPositionalKeys = Object.keys(target).filter(isPositionalKey$1);
|
|
@@ -11226,7 +11486,7 @@ function calcAxisDelta(prev, next, names) {
|
|
|
11226
11486
|
return delta;
|
|
11227
11487
|
}
|
|
11228
11488
|
function calcDelta(prev, next) {
|
|
11229
|
-
var delta = __assign(__assign({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
|
|
11489
|
+
var delta = __assign$7(__assign$7({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
|
|
11230
11490
|
return delta;
|
|
11231
11491
|
}
|
|
11232
11492
|
var offset = {
|
|
@@ -11270,7 +11530,7 @@ function getTransition(_a) {
|
|
|
11270
11530
|
return layoutTransition || positionTransition;
|
|
11271
11531
|
}
|
|
11272
11532
|
var LayoutAnimation = /** @class */ (function (_super) {
|
|
11273
|
-
__extends(LayoutAnimation, _super);
|
|
11533
|
+
__extends$2(LayoutAnimation, _super);
|
|
11274
11534
|
function LayoutAnimation() {
|
|
11275
11535
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
11276
11536
|
}
|
|
@@ -11337,11 +11597,11 @@ var LayoutAnimation = /** @class */ (function (_super) {
|
|
|
11337
11597
|
if (!delta[deltaKey])
|
|
11338
11598
|
return;
|
|
11339
11599
|
var baseTransition = typeof transitionDefinition === "boolean"
|
|
11340
|
-
? __assign({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
|
|
11600
|
+
? __assign$7({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
|
|
11341
11601
|
var value = values.get(transformKey, targetValue);
|
|
11342
11602
|
var velocity = value.getVelocity();
|
|
11343
11603
|
transition[transformKey] = baseTransition[transformKey]
|
|
11344
|
-
? __assign({}, baseTransition[transformKey]) : __assign({}, baseTransition);
|
|
11604
|
+
? __assign$7({}, baseTransition[transformKey]) : __assign$7({}, baseTransition);
|
|
11345
11605
|
if (transition[transformKey].velocity === undefined) {
|
|
11346
11606
|
transition[transformKey].velocity = velocity || 0;
|
|
11347
11607
|
}
|
|
@@ -11482,9 +11742,9 @@ var hasUpdated = function (prev, next) {
|
|
|
11482
11742
|
};
|
|
11483
11743
|
function targetWithoutTransition(_a, mergeTransitionEnd) {
|
|
11484
11744
|
if (mergeTransitionEnd === void 0) { mergeTransitionEnd = false; }
|
|
11485
|
-
var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest(_a, ["transition", "transitionEnd"]);
|
|
11745
|
+
var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest$5(_a, ["transition", "transitionEnd"]);
|
|
11486
11746
|
return mergeTransitionEnd
|
|
11487
|
-
? __assign(__assign({}, target), transitionEnd)
|
|
11747
|
+
? __assign$7(__assign$7({}, target), transitionEnd)
|
|
11488
11748
|
: target;
|
|
11489
11749
|
}
|
|
11490
11750
|
/**
|
|
@@ -11536,9 +11796,9 @@ function useAnimateProp(targetAndTransition, controls, values, defaultTransition
|
|
|
11536
11796
|
}
|
|
11537
11797
|
}
|
|
11538
11798
|
isInitialRender.current = false;
|
|
11539
|
-
prevValues.current = __assign(__assign({}, prevValues.current), finalTarget);
|
|
11799
|
+
prevValues.current = __assign$7(__assign$7({}, prevValues.current), finalTarget);
|
|
11540
11800
|
if (Object.keys(targetToAnimate).length) {
|
|
11541
|
-
controls.start(__assign(__assign({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
|
|
11801
|
+
controls.start(__assign$7(__assign$7({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
|
|
11542
11802
|
}
|
|
11543
11803
|
}, [targetAndTransition]);
|
|
11544
11804
|
}
|
|
@@ -11712,7 +11972,7 @@ var Exit = {
|
|
|
11712
11972
|
useEffect$1(function () {
|
|
11713
11973
|
if (!isPresent) {
|
|
11714
11974
|
if (!isPlayingExitAnimation.current && exit) {
|
|
11715
|
-
controls.setProps(__assign(__assign({}, props), { custom: custom }));
|
|
11975
|
+
controls.setProps(__assign$7(__assign$7({}, props), { custom: custom }));
|
|
11716
11976
|
controls.start(exit).then(onExitComplete);
|
|
11717
11977
|
}
|
|
11718
11978
|
isPlayingExitAnimation.current = true;
|
|
@@ -11783,7 +12043,7 @@ var buildHTMLProps = function (values, style, isStatic, isDrag) {
|
|
|
11783
12043
|
var buildSVGProps = function (values, style) {
|
|
11784
12044
|
var motionValueStyles = resolveCurrent(values);
|
|
11785
12045
|
var props = buildSVGAttrs(motionValueStyles, undefined, undefined, undefined, undefined, false);
|
|
11786
|
-
props.style = __assign(__assign({}, style), props.style);
|
|
12046
|
+
props.style = __assign$7(__assign$7({}, style), props.style);
|
|
11787
12047
|
return props;
|
|
11788
12048
|
};
|
|
11789
12049
|
var functionalityComponents = [Layout, Drag, Gestures, Exit];
|
|
@@ -11802,7 +12062,7 @@ function createDomMotionConfig(Component) {
|
|
|
11802
12062
|
var staticVisualStyles = isSVG
|
|
11803
12063
|
? buildSVGProps(values, style)
|
|
11804
12064
|
: buildHTMLProps(values, style, isStatic, !!props.drag);
|
|
11805
|
-
return createElement(Component, __assign(__assign(__assign({}, forwardedProps), { ref: ref }), staticVisualStyles));
|
|
12065
|
+
return createElement(Component, __assign$7(__assign$7(__assign$7({}, forwardedProps), { ref: ref }), staticVisualStyles));
|
|
11806
12066
|
},
|
|
11807
12067
|
/**
|
|
11808
12068
|
* loadFunctionalityComponents gets used by the `motion` component
|
|
@@ -11833,7 +12093,7 @@ function createDomMotionConfig(Component) {
|
|
|
11833
12093
|
for (var i = 0; i < numFunctionalityComponents; i++) {
|
|
11834
12094
|
var _a = functionalityComponents[i], shouldRender = _a.shouldRender, key = _a.key, Component_1 = _a.Component;
|
|
11835
12095
|
if (shouldRender(props, context)) {
|
|
11836
|
-
activeComponents.push(createElement(Component_1, __assign({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
|
|
12096
|
+
activeComponents.push(createElement(Component_1, __assign$7({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
|
|
11837
12097
|
}
|
|
11838
12098
|
}
|
|
11839
12099
|
return activeComponents;
|
|
@@ -11885,7 +12145,7 @@ var svgMotionComponents = svgElements.reduce(function (acc, Component) {
|
|
|
11885
12145
|
*
|
|
11886
12146
|
* @public
|
|
11887
12147
|
*/
|
|
11888
|
-
var motion = __assign(__assign({
|
|
12148
|
+
var motion = __assign$7(__assign$7({
|
|
11889
12149
|
/**
|
|
11890
12150
|
* Convert a custom React component into a `motion` component.
|
|
11891
12151
|
*
|
|
@@ -11937,7 +12197,7 @@ var PresenceChild = function (_a) {
|
|
|
11937
12197
|
return function () { return numPresenceChildren.current--; };
|
|
11938
12198
|
};
|
|
11939
12199
|
}, [isPresent]);
|
|
11940
|
-
return (createElement(PresenceContext.Provider, { value: __assign(__assign({}, context), { register: register }) }, children));
|
|
12200
|
+
return (createElement(PresenceContext.Provider, { value: __assign$7(__assign$7({}, context), { register: register }) }, children));
|
|
11941
12201
|
};
|
|
11942
12202
|
|
|
11943
12203
|
function getChildKey(child) {
|
|
@@ -12053,7 +12313,7 @@ var AnimatePresence = function (_a) {
|
|
|
12053
12313
|
return (createElement(Fragment$1, null, filteredChildren.map(function (child) { return (createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false }, child)); })));
|
|
12054
12314
|
}
|
|
12055
12315
|
// If this is a subsequent render, deal with entering and exiting children
|
|
12056
|
-
var childrenToRender = __spreadArrays(filteredChildren);
|
|
12316
|
+
var childrenToRender = __spreadArrays$2(filteredChildren);
|
|
12057
12317
|
// Diff the keys of the currently-present and target children to update our
|
|
12058
12318
|
// exiting list.
|
|
12059
12319
|
var presentKeys = presentChildren.current.map(getChildKey);
|
|
@@ -46106,13 +46366,15 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46106
46366
|
};
|
|
46107
46367
|
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
|
|
46108
46368
|
|
|
46369
|
+
// Uses the theme values (singleIconColor) for the other icons, located in /atoms/icons
|
|
46370
|
+
|
|
46109
46371
|
var IconsModule = function IconsModule(_ref) {
|
|
46110
46372
|
var icon = _ref.icon,
|
|
46111
46373
|
iconDefault = _ref.iconDefault,
|
|
46112
46374
|
configIconMap = _ref.configIconMap,
|
|
46113
46375
|
iconValue = _ref.iconValue,
|
|
46114
46376
|
customAttributes = _ref.customAttributes,
|
|
46115
|
-
|
|
46377
|
+
themeValues = _ref.themeValues;
|
|
46116
46378
|
var Icon;
|
|
46117
46379
|
if (_typeof(icon) === "object") {
|
|
46118
46380
|
var _configIconMap$iconID;
|
|
@@ -46128,9 +46390,10 @@ var IconsModule = function IconsModule(_ref) {
|
|
|
46128
46390
|
justify: "center",
|
|
46129
46391
|
align: "center"
|
|
46130
46392
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
46131
|
-
color:
|
|
46393
|
+
color: themeValues.singleIconColor
|
|
46132
46394
|
})));
|
|
46133
46395
|
};
|
|
46396
|
+
var IconModule = themeComponent(IconsModule, "Icon", fallbackValues$2, "primary");
|
|
46134
46397
|
|
|
46135
46398
|
var TitleModule = function TitleModule(_ref) {
|
|
46136
46399
|
var title = _ref.title,
|
|
@@ -46155,7 +46418,22 @@ var TitleModule = function TitleModule(_ref) {
|
|
|
46155
46418
|
}, subtitle)));
|
|
46156
46419
|
};
|
|
46157
46420
|
|
|
46158
|
-
var
|
|
46421
|
+
var color$c = "#15749D";
|
|
46422
|
+
var hoverColor$5 = "#116285";
|
|
46423
|
+
var activeColor$8 = "#0E506D";
|
|
46424
|
+
var linkColor$4 = "#3176AA";
|
|
46425
|
+
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
46426
|
+
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
46427
|
+
var fallbackValues$L = {
|
|
46428
|
+
color: color$c,
|
|
46429
|
+
hoverColor: hoverColor$5,
|
|
46430
|
+
activeColor: activeColor$8,
|
|
46431
|
+
linkColor: linkColor$4,
|
|
46432
|
+
fontWeight: fontWeight$6,
|
|
46433
|
+
modalLinkHoverFocus: modalLinkHoverFocus
|
|
46434
|
+
};
|
|
46435
|
+
|
|
46436
|
+
var AutopayModal = function AutopayModal(_ref) {
|
|
46159
46437
|
var autoPayActive = _ref.autoPayActive,
|
|
46160
46438
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
46161
46439
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
@@ -46166,6 +46444,7 @@ var AutopayModalModule = function AutopayModalModule(_ref) {
|
|
|
46166
46444
|
_ref$controlType = _ref.controlType,
|
|
46167
46445
|
controlType = _ref$controlType === void 0 ? "tertiary" : _ref$controlType,
|
|
46168
46446
|
isMobile = _ref.isMobile,
|
|
46447
|
+
themeValues = _ref.themeValues,
|
|
46169
46448
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
46170
46449
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
46171
46450
|
dueDate = _ref.dueDate,
|
|
@@ -46199,7 +46478,6 @@ var AutopayModalModule = function AutopayModalModule(_ref) {
|
|
|
46199
46478
|
toggleModal(false);
|
|
46200
46479
|
} : navigateToSettings
|
|
46201
46480
|
};
|
|
46202
|
-
var modalLinkHoverFocus = "\n outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;\n ";
|
|
46203
46481
|
var hoverStyles = "text-decoration: underline;";
|
|
46204
46482
|
var activeStyles = "text-decoration: underline;";
|
|
46205
46483
|
var renderAutoPayControl = function renderAutoPayControl() {
|
|
@@ -46254,8 +46532,8 @@ var AutopayModalModule = function AutopayModalModule(_ref) {
|
|
|
46254
46532
|
tabIndex: "0",
|
|
46255
46533
|
dataQa: "".concat(shortPlan, " On"),
|
|
46256
46534
|
color: SEA_GREEN,
|
|
46257
|
-
weight:
|
|
46258
|
-
hoverStyles: modalLinkHoverFocus,
|
|
46535
|
+
weight: themeValues.fontWeight,
|
|
46536
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
46259
46537
|
extraStyles: "padding-left: 0.25rem;",
|
|
46260
46538
|
disabled: disableActions
|
|
46261
46539
|
}, "".concat(shortPlan, " ").concat(nextAutopayDate))));
|
|
@@ -46272,6 +46550,7 @@ var AutopayModalModule = function AutopayModalModule(_ref) {
|
|
|
46272
46550
|
modalOpen: modalOpen
|
|
46273
46551
|
}, modalExtraProps), renderAutoPayControl());
|
|
46274
46552
|
};
|
|
46553
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$L);
|
|
46275
46554
|
|
|
46276
46555
|
var AmountModule = function AmountModule(_ref) {
|
|
46277
46556
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -46374,6 +46653,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46374
46653
|
setDetailedObligation(obligations, config, obligationAssocID);
|
|
46375
46654
|
navigateToDetailedObligation(detailsSlug);
|
|
46376
46655
|
};
|
|
46656
|
+
var handlePayNowClick = disableActions ? noop : function () {
|
|
46657
|
+
return handleClick(obligations);
|
|
46658
|
+
};
|
|
46377
46659
|
return /*#__PURE__*/React.createElement(Box, {
|
|
46378
46660
|
padding: isMobile ? "0" : "16px 0 0",
|
|
46379
46661
|
minWidth: "100%",
|
|
@@ -46455,9 +46737,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46455
46737
|
padding: "0"
|
|
46456
46738
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46457
46739
|
isLoading: isLoading,
|
|
46458
|
-
action:
|
|
46459
|
-
return handleClick(obligations);
|
|
46460
|
-
},
|
|
46740
|
+
action: handlePayNowClick,
|
|
46461
46741
|
text: "Pay Now",
|
|
46462
46742
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46463
46743
|
dataQa: "Pay Now",
|
|
@@ -46467,9 +46747,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46467
46747
|
width: "100%"
|
|
46468
46748
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46469
46749
|
isLoading: isLoading,
|
|
46470
|
-
action:
|
|
46471
|
-
return handleClick(obligations);
|
|
46472
|
-
},
|
|
46750
|
+
action: handlePayNowClick,
|
|
46473
46751
|
text: "Pay Now",
|
|
46474
46752
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46475
46753
|
dataQa: "Pay Now",
|
|
@@ -46630,11 +46908,6 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
46630
46908
|
}, "This may mean that the balance has been paid, or there was an error loading it.".concat(autoPayEnabled ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button." : ""))));
|
|
46631
46909
|
};
|
|
46632
46910
|
|
|
46633
|
-
var iconColor = ROYAL_BLUE_VIVID;
|
|
46634
|
-
var fallbackValues$L = {
|
|
46635
|
-
iconColor: iconColor
|
|
46636
|
-
};
|
|
46637
|
-
|
|
46638
46911
|
var Obligation = function Obligation(_ref) {
|
|
46639
46912
|
var _obligations$, _firstObligation$cust;
|
|
46640
46913
|
var config = _ref.config,
|
|
@@ -46662,8 +46935,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46662
46935
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
46663
46936
|
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa,
|
|
46664
46937
|
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46665
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana
|
|
46666
|
-
themeValues = _ref.themeValues;
|
|
46938
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46667
46939
|
/*
|
|
46668
46940
|
The value of obligations is always an array. It can contain:
|
|
46669
46941
|
- A single obligation
|
|
@@ -46708,13 +46980,12 @@ var Obligation = function Obligation(_ref) {
|
|
|
46708
46980
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
46709
46981
|
justify: "flex-start",
|
|
46710
46982
|
align: "center"
|
|
46711
|
-
}, !isMobile && /*#__PURE__*/React.createElement(
|
|
46983
|
+
}, !isMobile && /*#__PURE__*/React.createElement(IconModule, {
|
|
46712
46984
|
icon: config.icon,
|
|
46713
46985
|
iconDefault: config.iconDefault,
|
|
46714
46986
|
configIconMap: config.iconMap,
|
|
46715
46987
|
iconValue: config.iconValue,
|
|
46716
|
-
customAttributes: customAttributes
|
|
46717
|
-
iconColor: themeValues.iconColor
|
|
46988
|
+
customAttributes: customAttributes
|
|
46718
46989
|
}), /*#__PURE__*/React.createElement(TitleModule, {
|
|
46719
46990
|
title: description,
|
|
46720
46991
|
subtitle: subDescription,
|
|
@@ -46801,13 +47072,12 @@ var Obligation = function Obligation(_ref) {
|
|
|
46801
47072
|
justify: "flex-start",
|
|
46802
47073
|
align: "center",
|
|
46803
47074
|
nowrap: true
|
|
46804
|
-
}, /*#__PURE__*/React.createElement(
|
|
47075
|
+
}, /*#__PURE__*/React.createElement(IconModule, {
|
|
46805
47076
|
icon: config.icon,
|
|
46806
47077
|
iconDefault: config.iconDefault,
|
|
46807
47078
|
configIconMap: config.iconMap,
|
|
46808
47079
|
iconValue: config.iconValue,
|
|
46809
|
-
customAttributes: customAttributes
|
|
46810
|
-
iconColor: themeValues.iconColor
|
|
47080
|
+
customAttributes: customAttributes
|
|
46811
47081
|
}), /*#__PURE__*/React.createElement(InactiveTitleModule, {
|
|
46812
47082
|
title: inactiveLookupTitle,
|
|
46813
47083
|
subtitle: "".concat(inactiveLookupInput, ": ").concat(inactiveLookupValue),
|
|
@@ -46853,7 +47123,6 @@ var Obligation = function Obligation(_ref) {
|
|
|
46853
47123
|
}))));
|
|
46854
47124
|
return inactive ? inactiveObligation : activeObligation;
|
|
46855
47125
|
};
|
|
46856
|
-
var Obligation$1 = themeComponent(Obligation, "Obligation", fallbackValues$L);
|
|
46857
47126
|
|
|
46858
47127
|
var PartialAmountField = function PartialAmountField(_ref) {
|
|
46859
47128
|
var lineItem = _ref.lineItem,
|
|
@@ -46990,9 +47259,9 @@ var arrowColor = WHITE;
|
|
|
46990
47259
|
var numberColor = MATISSE_BLUE;
|
|
46991
47260
|
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
46992
47261
|
var activeBackgroundColor$2 = WHITE;
|
|
46993
|
-
var activeColor$
|
|
47262
|
+
var activeColor$9 = MATISSE_BLUE;
|
|
46994
47263
|
var fallbackValues$M = {
|
|
46995
|
-
activeColor: activeColor$
|
|
47264
|
+
activeColor: activeColor$9,
|
|
46996
47265
|
activeBackgroundColor: activeBackgroundColor$2,
|
|
46997
47266
|
arrowColor: arrowColor,
|
|
46998
47267
|
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
@@ -47655,7 +47924,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47655
47924
|
};
|
|
47656
47925
|
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$N, "default");
|
|
47657
47926
|
|
|
47658
|
-
var linkColor$
|
|
47927
|
+
var linkColor$5 = {
|
|
47659
47928
|
"default": "#3176AA"
|
|
47660
47929
|
};
|
|
47661
47930
|
var fontSize$a = {
|
|
@@ -47664,21 +47933,21 @@ var fontSize$a = {
|
|
|
47664
47933
|
var lineHeight$4 = {
|
|
47665
47934
|
"default": "1.5rem"
|
|
47666
47935
|
};
|
|
47667
|
-
var fontWeight$
|
|
47936
|
+
var fontWeight$7 = {
|
|
47668
47937
|
"default": FONT_WEIGHT_REGULAR
|
|
47669
47938
|
};
|
|
47670
|
-
var modalLinkHoverFocus = {
|
|
47939
|
+
var modalLinkHoverFocus$1 = {
|
|
47671
47940
|
"default": "outline: none; text-decoration: underline;"
|
|
47672
47941
|
};
|
|
47673
47942
|
var linkTextDecoration = {
|
|
47674
47943
|
"default": LINK_TEXT_DECORATION
|
|
47675
47944
|
};
|
|
47676
47945
|
var fallbackValues$O = {
|
|
47677
|
-
linkColor: linkColor$
|
|
47946
|
+
linkColor: linkColor$5,
|
|
47678
47947
|
fontSize: fontSize$a,
|
|
47679
47948
|
lineHeight: lineHeight$4,
|
|
47680
|
-
fontWeight: fontWeight$
|
|
47681
|
-
modalLinkHoverFocus: modalLinkHoverFocus,
|
|
47949
|
+
fontWeight: fontWeight$7,
|
|
47950
|
+
modalLinkHoverFocus: modalLinkHoverFocus$1,
|
|
47682
47951
|
linkTextDecoration: linkTextDecoration
|
|
47683
47952
|
};
|
|
47684
47953
|
|
|
@@ -47743,7 +48012,7 @@ var backgroundColor$d = {
|
|
|
47743
48012
|
"default": "#ffffff",
|
|
47744
48013
|
footer: "#ffffff"
|
|
47745
48014
|
};
|
|
47746
|
-
var linkColor$
|
|
48015
|
+
var linkColor$6 = {
|
|
47747
48016
|
"default": "#3176AA",
|
|
47748
48017
|
footer: "#ffffff"
|
|
47749
48018
|
};
|
|
@@ -47759,12 +48028,12 @@ var lineHeight$5 = {
|
|
|
47759
48028
|
"default": "1.5rem",
|
|
47760
48029
|
footer: "1.25rem"
|
|
47761
48030
|
};
|
|
47762
|
-
var fontWeight$
|
|
48031
|
+
var fontWeight$8 = {
|
|
47763
48032
|
"default": FONT_WEIGHT_REGULAR,
|
|
47764
48033
|
footer: FONT_WEIGHT_SEMIBOLD
|
|
47765
48034
|
};
|
|
47766
48035
|
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
47767
|
-
var modalLinkHoverFocus$
|
|
48036
|
+
var modalLinkHoverFocus$2 = {
|
|
47768
48037
|
"default": standardInteractionStyles,
|
|
47769
48038
|
footer: standardInteractionStyles
|
|
47770
48039
|
};
|
|
@@ -47774,12 +48043,12 @@ var modalLinkTextDecoration = {
|
|
|
47774
48043
|
};
|
|
47775
48044
|
var fallbackValues$P = {
|
|
47776
48045
|
backgroundColor: backgroundColor$d,
|
|
47777
|
-
linkColor: linkColor$
|
|
48046
|
+
linkColor: linkColor$6,
|
|
47778
48047
|
border: border$3,
|
|
47779
48048
|
fontSize: fontSize$b,
|
|
47780
48049
|
lineHeight: lineHeight$5,
|
|
47781
|
-
fontWeight: fontWeight$
|
|
47782
|
-
modalLinkHoverFocus: modalLinkHoverFocus$
|
|
48050
|
+
fontWeight: fontWeight$8,
|
|
48051
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2,
|
|
47783
48052
|
modalLinkTextDecoration: modalLinkTextDecoration
|
|
47784
48053
|
};
|
|
47785
48054
|
|
|
@@ -49414,13 +49683,13 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49414
49683
|
}, message))), /*#__PURE__*/React.createElement(IconQuitLarge, null)));
|
|
49415
49684
|
};
|
|
49416
49685
|
|
|
49417
|
-
var fontWeight$
|
|
49686
|
+
var fontWeight$9 = "600";
|
|
49418
49687
|
var fontColor$1 = WHITE;
|
|
49419
49688
|
var textAlign$1 = "left";
|
|
49420
49689
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
49421
49690
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
49422
49691
|
var fallbackValues$T = {
|
|
49423
|
-
fontWeight: fontWeight$
|
|
49692
|
+
fontWeight: fontWeight$9,
|
|
49424
49693
|
fontColor: fontColor$1,
|
|
49425
49694
|
textAlign: textAlign$1,
|
|
49426
49695
|
headerBackgroundColor: headerBackgroundColor$1,
|
|
@@ -49593,13 +49862,13 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
49593
49862
|
};
|
|
49594
49863
|
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$U);
|
|
49595
49864
|
|
|
49596
|
-
var hoverColor$
|
|
49597
|
-
var activeColor$
|
|
49865
|
+
var hoverColor$6 = "#116285";
|
|
49866
|
+
var activeColor$a = "#0E506D";
|
|
49598
49867
|
var menuTriggerColor = "#15749D";
|
|
49599
49868
|
var backgroundColor$e = "white";
|
|
49600
49869
|
var fallbackValues$V = {
|
|
49601
|
-
hoverColor: hoverColor$
|
|
49602
|
-
activeColor: activeColor$
|
|
49870
|
+
hoverColor: hoverColor$6,
|
|
49871
|
+
activeColor: activeColor$a,
|
|
49603
49872
|
menuTriggerColor: menuTriggerColor,
|
|
49604
49873
|
backgroundColor: backgroundColor$e
|
|
49605
49874
|
};
|
|
@@ -50028,5 +50297,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
|
|
|
50028
50297
|
useToastNotification: useToastNotification
|
|
50029
50298
|
});
|
|
50030
50299
|
|
|
50031
|
-
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, CloseIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisabledAccountsAddIcon, DisabledPaymentMethodsAddIcon, DisabledPropertiesAddIcon, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, EmptyCartIconV2$1 as EmptyCartIconV2, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$3 as Modal, Module$1 as Module, Motion, MultiCartIcon, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation
|
|
50300
|
+
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, CloseIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisabledAccountsAddIcon, DisabledPaymentMethodsAddIcon, DisabledPropertiesAddIcon, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, EmptyCartIconV2$1 as EmptyCartIconV2, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$3 as Modal, Module$1 as Module, Motion, MultiCartIcon, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, PopupMenu$1 as PopupMenu, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TrashIconV2$1 as TrashIconV2, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WalletName, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$4 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$5 as hooks, index$6 as util, withWindowSize };
|
|
50032
50301
|
//# sourceMappingURL=index.esm.js.map
|