@popsure/dirty-swan 0.27.0-alpha.2 → 0.27.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +278 -1043
- package/dist/index.js.map +1 -1
- package/dist/{mapStyle-1288a869.js → mapStyle-a64f125f.js} +4 -2
- package/dist/mapStyle-a64f125f.js.map +1 -0
- package/package.json +2 -3
- package/src/lib/components/autocompleteAddress/index.tsx +1 -1
- package/src/lib/components/autocompleteAddress/util/index.ts +1 -1
- package/dist/mapStyle-1288a869.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var require$$0 = require('react');
|
|
7
|
+
var require$$1 = require('react-dom');
|
|
8
|
+
|
|
9
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0);
|
|
12
|
+
var require$$1__default = /*#__PURE__*/_interopDefaultLegacy(require$$1);
|
|
4
13
|
|
|
5
14
|
/*! *****************************************************************************
|
|
6
15
|
Copyright (c) Microsoft Corporation.
|
|
@@ -142,13 +151,13 @@ var dayjs_min = {exports: {}};
|
|
|
142
151
|
|
|
143
152
|
var dayjs = dayjs_min.exports;
|
|
144
153
|
|
|
145
|
-
var localeData$
|
|
154
|
+
var localeData$1 = {exports: {}};
|
|
146
155
|
|
|
147
156
|
(function (module, exports) {
|
|
148
157
|
!function(n,e){module.exports=e();}(commonjsGlobal,(function(){return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.substr(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return {months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return {firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)};}}));
|
|
149
|
-
}(localeData$
|
|
158
|
+
}(localeData$1));
|
|
150
159
|
|
|
151
|
-
var localeData
|
|
160
|
+
var localeData = localeData$1.exports;
|
|
152
161
|
|
|
153
162
|
var build = {};
|
|
154
163
|
|
|
@@ -226,7 +235,7 @@ Object.defineProperty(Caption$1, "__esModule", {
|
|
|
226
235
|
|
|
227
236
|
var _createClass$6 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
228
237
|
|
|
229
|
-
var _react$6 = require$$
|
|
238
|
+
var _react$6 = require$$0__default['default'];
|
|
230
239
|
|
|
231
240
|
var _react2$6 = _interopRequireDefault$7(_react$6);
|
|
232
241
|
|
|
@@ -344,7 +353,7 @@ Object.defineProperty(Navbar$1, "__esModule", {
|
|
|
344
353
|
|
|
345
354
|
var _createClass$5 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
346
355
|
|
|
347
|
-
var _react$5 = require$$
|
|
356
|
+
var _react$5 = require$$0__default['default'];
|
|
348
357
|
|
|
349
358
|
var _react2$5 = _interopRequireDefault$6(_react$5);
|
|
350
359
|
|
|
@@ -496,7 +505,7 @@ Object.defineProperty(Weekdays$1, "__esModule", {
|
|
|
496
505
|
|
|
497
506
|
var _createClass$4 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
498
507
|
|
|
499
|
-
var _react$4 = require$$
|
|
508
|
+
var _react$4 = require$$0__default['default'];
|
|
500
509
|
|
|
501
510
|
var _react2$4 = _interopRequireDefault$5(_react$4);
|
|
502
511
|
|
|
@@ -991,7 +1000,7 @@ var _extends$1 = Object.assign || function (target) { for (var i = 1; i < argume
|
|
|
991
1000
|
|
|
992
1001
|
var _createClass$3 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
993
1002
|
|
|
994
|
-
var _react$3 = require$$
|
|
1003
|
+
var _react$3 = require$$0__default['default'];
|
|
995
1004
|
|
|
996
1005
|
var _react2$3 = _interopRequireDefault$3(_react$3);
|
|
997
1006
|
|
|
@@ -1232,7 +1241,7 @@ Object.defineProperty(Month$1, "__esModule", {
|
|
|
1232
1241
|
|
|
1233
1242
|
var _createClass$2 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
1234
1243
|
|
|
1235
|
-
var _react$2 = require$$
|
|
1244
|
+
var _react$2 = require$$0__default['default'];
|
|
1236
1245
|
|
|
1237
1246
|
var _react2$2 = _interopRequireDefault$2(_react$2);
|
|
1238
1247
|
|
|
@@ -1434,7 +1443,7 @@ Object.defineProperty(Weekday$1, "__esModule", {
|
|
|
1434
1443
|
|
|
1435
1444
|
var _createClass$1 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
1436
1445
|
|
|
1437
|
-
var _react$1 = require$$
|
|
1446
|
+
var _react$1 = require$$0__default['default'];
|
|
1438
1447
|
|
|
1439
1448
|
var _react2$1 = _interopRequireDefault$1(_react$1);
|
|
1440
1449
|
|
|
@@ -1510,7 +1519,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
1510
1519
|
|
|
1511
1520
|
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
1512
1521
|
|
|
1513
|
-
var _react = require$$
|
|
1522
|
+
var _react = require$$0__default['default'];
|
|
1514
1523
|
|
|
1515
1524
|
var _react2 = _interopRequireDefault(_react);
|
|
1516
1525
|
|
|
@@ -2193,7 +2202,7 @@ styleInject(css_248z$t);
|
|
|
2193
2202
|
|
|
2194
2203
|
var calendarIcon = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2225%22%20viewBox%3D%220%200%2024%2025%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%204.46118H5C3.89543%204.46118%203%205.35661%203%206.46118V20.4612C3%2021.5658%203.89543%2022.4612%205%2022.4612H19C20.1046%2022.4612%2021%2021.5658%2021%2020.4612V6.46118C21%205.35661%2020.1046%204.46118%2019%204.46118Z%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M16%202.46118V6.46118%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8%202.46118V6.46118%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3%2010.4612H21%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E";
|
|
2195
2204
|
|
|
2196
|
-
dayjs.extend(localeData
|
|
2205
|
+
dayjs.extend(localeData);
|
|
2197
2206
|
var COLLECTABLE_DATE_FORMAT = 'YYYY-MM-DD';
|
|
2198
2207
|
/*
|
|
2199
2208
|
Fill an array with an increment from a number to another number.
|
|
@@ -2233,8 +2242,8 @@ var DateSelector = function (_a) {
|
|
|
2233
2242
|
var availableDays = fillArray(1, daysInSelectedDate);
|
|
2234
2243
|
var availableYears = fillArray(yearBoundaries.max, yearBoundaries.min);
|
|
2235
2244
|
var availableMonths = dayjs.monthsShort();
|
|
2236
|
-
var _e = useState(calendarDateValue !== null && calendarDateValue !== void 0 ? calendarDateValue : {}), date = _e[0], setDate = _e[1];
|
|
2237
|
-
var _f = useState(false), openCalendar = _f[0], setOpenCalendar = _f[1];
|
|
2245
|
+
var _e = require$$0.useState(calendarDateValue !== null && calendarDateValue !== void 0 ? calendarDateValue : {}), date = _e[0], setDate = _e[1];
|
|
2246
|
+
var _f = require$$0.useState(false), openCalendar = _f[0], setOpenCalendar = _f[1];
|
|
2238
2247
|
var calendarDefaultDate = dayjs().year() >= yearBoundaries.min && dayjs().year() <= yearBoundaries.max
|
|
2239
2248
|
? dayjs().toDate()
|
|
2240
2249
|
: dayjs().set('year', yearBoundaries.max).toDate();
|
|
@@ -2247,12 +2256,12 @@ var DateSelector = function (_a) {
|
|
|
2247
2256
|
var dateCalendarToMonth = dayjs(String(yearBoundaries.max))
|
|
2248
2257
|
.endOf('year')
|
|
2249
2258
|
.toDate();
|
|
2250
|
-
useEffect(function () {
|
|
2259
|
+
require$$0.useEffect(function () {
|
|
2251
2260
|
if (calendarDateValue) {
|
|
2252
2261
|
setDate(calendarDateValue);
|
|
2253
2262
|
}
|
|
2254
2263
|
}, [value]); //eslint-disable-line react-hooks/exhaustive-deps
|
|
2255
|
-
useEffect(function () {
|
|
2264
|
+
require$$0.useEffect(function () {
|
|
2256
2265
|
if (date.year !== undefined &&
|
|
2257
2266
|
date.month !== undefined &&
|
|
2258
2267
|
date.day !== undefined) {
|
|
@@ -2282,20 +2291,20 @@ var DateSelector = function (_a) {
|
|
|
2282
2291
|
setDate(newValue);
|
|
2283
2292
|
}
|
|
2284
2293
|
};
|
|
2285
|
-
return (jsxs("div", __assign({ className: styles$s.container }, { children: [jsxs("div", __assign({ className: styles$s['date-selector-container'] }, { children: [jsxs("div", __assign({ className: styles$s['row-container'] }, { children: [jsxs("select", __assign({ "data-cy": "date-selector-day", className: "p-select " + styles$s['day-select'], id: "day", name: "day", required: true, value: (_b = date.day) !== null && _b !== void 0 ? _b : '', onChange: function (e) {
|
|
2294
|
+
return (jsxRuntime.jsxs("div", __assign({ className: styles$s.container }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$s['date-selector-container'] }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$s['row-container'] }, { children: [jsxRuntime.jsxs("select", __assign({ "data-cy": "date-selector-day", className: "p-select " + styles$s['day-select'], id: "day", name: "day", required: true, value: (_b = date.day) !== null && _b !== void 0 ? _b : '', onChange: function (e) {
|
|
2286
2295
|
handleOnChange('day', parseInt(e.target.value, 10));
|
|
2287
|
-
} }, { children: [jsx("option", __assign({ value: "", disabled: true }, { children: "Day" }), void 0),
|
|
2288
|
-
availableDays.map(function (day) { return (jsx("option", __assign({ value: day }, { children: day }), day)); })] }), void 0),
|
|
2289
|
-
jsxs("select", __assign({ "data-cy": "date-selector-month", className: "p-select " + styles$s['month-select'], id: "month", name: "month", required: true, value: (_c = date.month) !== null && _c !== void 0 ? _c : '', onChange: function (e) {
|
|
2296
|
+
} }, { children: [jsxRuntime.jsx("option", __assign({ value: "", disabled: true }, { children: "Day" }), void 0),
|
|
2297
|
+
availableDays.map(function (day) { return (jsxRuntime.jsx("option", __assign({ value: day }, { children: day }), day)); })] }), void 0),
|
|
2298
|
+
jsxRuntime.jsxs("select", __assign({ "data-cy": "date-selector-month", className: "p-select " + styles$s['month-select'], id: "month", name: "month", required: true, value: (_c = date.month) !== null && _c !== void 0 ? _c : '', onChange: function (e) {
|
|
2290
2299
|
handleOnChange('month', parseInt(e.target.value, 10));
|
|
2291
|
-
} }, { children: [jsx("option", __assign({ value: "", disabled: true }, { children: "Month" }), void 0),
|
|
2292
|
-
availableMonths.map(function (month, i) { return (jsx("option", __assign({ value: i + 1 }, { children: month }), month)); })] }), void 0)] }), void 0),
|
|
2293
|
-
jsxs("select", __assign({ "data-cy": "date-selector-year", className: "p-select " + styles$s['year-select'], id: "year", name: "year", required: true, value: (_d = date.year) !== null && _d !== void 0 ? _d : '', onChange: function (e) {
|
|
2300
|
+
} }, { children: [jsxRuntime.jsx("option", __assign({ value: "", disabled: true }, { children: "Month" }), void 0),
|
|
2301
|
+
availableMonths.map(function (month, i) { return (jsxRuntime.jsx("option", __assign({ value: i + 1 }, { children: month }), month)); })] }), void 0)] }), void 0),
|
|
2302
|
+
jsxRuntime.jsxs("select", __assign({ "data-cy": "date-selector-year", className: "p-select " + styles$s['year-select'], id: "year", name: "year", required: true, value: (_d = date.year) !== null && _d !== void 0 ? _d : '', onChange: function (e) {
|
|
2294
2303
|
handleOnChange('year', parseInt(e.target.value, 10));
|
|
2295
|
-
} }, { children: [jsx("option", __assign({ value: "", disabled: true }, { children: "Year" }), void 0),
|
|
2296
|
-
availableYears.map(function (year) { return (jsx("option", __assign({ value: year }, { children: year }), year)); })] }), void 0)] }), void 0),
|
|
2297
|
-
displayCalendar && (jsxs("div", __assign({ className: styles$s['date-calendar-container'] }, { children: [jsx("img", { className: "c-pointer", src: calendarIcon, alt: "calendar", onClick: function () { return setOpenCalendar(!openCalendar); } }, void 0),
|
|
2298
|
-
openCalendar && (jsx(DayPicker, { month: selectedDateInDateType, showOutsideDays: true, fromMonth: dateCalendarFromMonth, toMonth: dateCalendarToMonth, selectedDays: selectedDateInDateType, onDayClick: function (date) {
|
|
2304
|
+
} }, { children: [jsxRuntime.jsx("option", __assign({ value: "", disabled: true }, { children: "Year" }), void 0),
|
|
2305
|
+
availableYears.map(function (year) { return (jsxRuntime.jsx("option", __assign({ value: year }, { children: year }), year)); })] }), void 0)] }), void 0),
|
|
2306
|
+
displayCalendar && (jsxRuntime.jsxs("div", __assign({ className: styles$s['date-calendar-container'] }, { children: [jsxRuntime.jsx("img", { className: "c-pointer", src: calendarIcon, alt: "calendar", onClick: function () { return setOpenCalendar(!openCalendar); } }, void 0),
|
|
2307
|
+
openCalendar && (jsxRuntime.jsx(DayPicker, { month: selectedDateInDateType, showOutsideDays: true, fromMonth: dateCalendarFromMonth, toMonth: dateCalendarToMonth, selectedDays: selectedDateInDateType, onDayClick: function (date) {
|
|
2299
2308
|
if (dayjs(date).isAfter(dateCalendarFromMonth) ||
|
|
2300
2309
|
dayjs(date).isBefore(dateCalendarToMonth)) {
|
|
2301
2310
|
var selectedDate = dayjs(date).format(COLLECTABLE_DATE_FORMAT);
|
|
@@ -2322,12 +2331,12 @@ var reactIs_production_min = {};
|
|
|
2322
2331
|
* This source code is licensed under the MIT license found in the
|
|
2323
2332
|
* LICENSE file in the root directory of this source tree.
|
|
2324
2333
|
*/
|
|
2325
|
-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
2326
|
-
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
2327
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
2334
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m$1=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
2335
|
+
Symbol.for("react.suspense_list"):60120,r$1=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y$1=b?Symbol.for("react.scope"):60119;
|
|
2336
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m$1:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r$1:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m$1}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m$1;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r$1;reactIs_production_min.Portal=d;
|
|
2328
2337
|
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
2329
|
-
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
2330
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
2338
|
+
reactIs_production_min.isMemo=function(a){return z(a)===r$1};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
2339
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m$1||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r$1||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y$1||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
2331
2340
|
|
|
2332
2341
|
var reactIs_development = {};
|
|
2333
2342
|
|
|
@@ -3835,7 +3844,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
3835
3844
|
* ```
|
|
3836
3845
|
*/
|
|
3837
3846
|
|
|
3838
|
-
var Dropzone = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
3847
|
+
var Dropzone = /*#__PURE__*/require$$0.forwardRef(function (_ref, ref) {
|
|
3839
3848
|
var children = _ref.children,
|
|
3840
3849
|
params = _objectWithoutProperties(_ref, ["children"]);
|
|
3841
3850
|
|
|
@@ -3843,13 +3852,13 @@ var Dropzone = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3843
3852
|
open = _useDropzone.open,
|
|
3844
3853
|
props = _objectWithoutProperties(_useDropzone, ["open"]);
|
|
3845
3854
|
|
|
3846
|
-
useImperativeHandle(ref, function () {
|
|
3855
|
+
require$$0.useImperativeHandle(ref, function () {
|
|
3847
3856
|
return {
|
|
3848
3857
|
open: open
|
|
3849
3858
|
};
|
|
3850
3859
|
}, [open]); // TODO: Figure out why react-styleguidist cannot create docs if we don't return a jsx element
|
|
3851
3860
|
|
|
3852
|
-
return /*#__PURE__*/require$$
|
|
3861
|
+
return /*#__PURE__*/require$$0__default['default'].createElement(require$$0.Fragment, null, children(_objectSpread(_objectSpread({}, props), {}, {
|
|
3853
3862
|
open: open
|
|
3854
3863
|
})));
|
|
3855
3864
|
});
|
|
@@ -4213,10 +4222,10 @@ function useDropzone() {
|
|
|
4213
4222
|
noDragEventsBubbling = _defaultProps$options.noDragEventsBubbling,
|
|
4214
4223
|
validator = _defaultProps$options.validator;
|
|
4215
4224
|
|
|
4216
|
-
var rootRef = useRef(null);
|
|
4217
|
-
var inputRef = useRef(null);
|
|
4225
|
+
var rootRef = require$$0.useRef(null);
|
|
4226
|
+
var inputRef = require$$0.useRef(null);
|
|
4218
4227
|
|
|
4219
|
-
var _useReducer = useReducer(reducer, initialState),
|
|
4228
|
+
var _useReducer = require$$0.useReducer(reducer, initialState),
|
|
4220
4229
|
_useReducer2 = _slicedToArray$1(_useReducer, 2),
|
|
4221
4230
|
state = _useReducer2[0],
|
|
4222
4231
|
dispatch = _useReducer2[1];
|
|
@@ -4225,7 +4234,7 @@ function useDropzone() {
|
|
|
4225
4234
|
isFileDialogActive = state.isFileDialogActive,
|
|
4226
4235
|
draggedFiles = state.draggedFiles; // Fn for opening the file dialog programmatically
|
|
4227
4236
|
|
|
4228
|
-
var openFileDialog = useCallback(function () {
|
|
4237
|
+
var openFileDialog = require$$0.useCallback(function () {
|
|
4229
4238
|
if (inputRef.current) {
|
|
4230
4239
|
dispatch({
|
|
4231
4240
|
type: 'openDialog'
|
|
@@ -4256,14 +4265,14 @@ function useDropzone() {
|
|
|
4256
4265
|
}
|
|
4257
4266
|
};
|
|
4258
4267
|
|
|
4259
|
-
useEffect(function () {
|
|
4268
|
+
require$$0.useEffect(function () {
|
|
4260
4269
|
window.addEventListener('focus', onWindowFocus, false);
|
|
4261
4270
|
return function () {
|
|
4262
4271
|
window.removeEventListener('focus', onWindowFocus, false);
|
|
4263
4272
|
};
|
|
4264
4273
|
}, [inputRef, isFileDialogActive, onFileDialogCancel]); // Cb to open the file dialog when SPACE/ENTER occurs on the dropzone
|
|
4265
4274
|
|
|
4266
|
-
var onKeyDownCb = useCallback(function (event) {
|
|
4275
|
+
var onKeyDownCb = require$$0.useCallback(function (event) {
|
|
4267
4276
|
// Ignore keyboard events bubbling up the DOM tree
|
|
4268
4277
|
if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) {
|
|
4269
4278
|
return;
|
|
@@ -4275,18 +4284,18 @@ function useDropzone() {
|
|
|
4275
4284
|
}
|
|
4276
4285
|
}, [rootRef, inputRef]); // Update focus state for the dropzone
|
|
4277
4286
|
|
|
4278
|
-
var onFocusCb = useCallback(function () {
|
|
4287
|
+
var onFocusCb = require$$0.useCallback(function () {
|
|
4279
4288
|
dispatch({
|
|
4280
4289
|
type: 'focus'
|
|
4281
4290
|
});
|
|
4282
4291
|
}, []);
|
|
4283
|
-
var onBlurCb = useCallback(function () {
|
|
4292
|
+
var onBlurCb = require$$0.useCallback(function () {
|
|
4284
4293
|
dispatch({
|
|
4285
4294
|
type: 'blur'
|
|
4286
4295
|
});
|
|
4287
4296
|
}, []); // Cb to open the file dialog when click occurs on the dropzone
|
|
4288
4297
|
|
|
4289
|
-
var onClickCb = useCallback(function () {
|
|
4298
|
+
var onClickCb = require$$0.useCallback(function () {
|
|
4290
4299
|
if (noClick) {
|
|
4291
4300
|
return;
|
|
4292
4301
|
} // In IE11/Edge the file-browser dialog is blocking, therefore, use setTimeout()
|
|
@@ -4300,7 +4309,7 @@ function useDropzone() {
|
|
|
4300
4309
|
openFileDialog();
|
|
4301
4310
|
}
|
|
4302
4311
|
}, [inputRef, noClick]);
|
|
4303
|
-
var dragTargetsRef = useRef([]);
|
|
4312
|
+
var dragTargetsRef = require$$0.useRef([]);
|
|
4304
4313
|
|
|
4305
4314
|
var onDocumentDrop = function onDocumentDrop(event) {
|
|
4306
4315
|
if (rootRef.current && rootRef.current.contains(event.target)) {
|
|
@@ -4312,7 +4321,7 @@ function useDropzone() {
|
|
|
4312
4321
|
dragTargetsRef.current = [];
|
|
4313
4322
|
};
|
|
4314
4323
|
|
|
4315
|
-
useEffect(function () {
|
|
4324
|
+
require$$0.useEffect(function () {
|
|
4316
4325
|
if (preventDropOnDocument) {
|
|
4317
4326
|
document.addEventListener('dragover', onDocumentDragOver, false);
|
|
4318
4327
|
document.addEventListener('drop', onDocumentDrop, false);
|
|
@@ -4325,7 +4334,7 @@ function useDropzone() {
|
|
|
4325
4334
|
}
|
|
4326
4335
|
};
|
|
4327
4336
|
}, [rootRef, preventDropOnDocument]);
|
|
4328
|
-
var onDragEnterCb = useCallback(function (event) {
|
|
4337
|
+
var onDragEnterCb = require$$0.useCallback(function (event) {
|
|
4329
4338
|
event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done
|
|
4330
4339
|
|
|
4331
4340
|
event.persist();
|
|
@@ -4350,7 +4359,7 @@ function useDropzone() {
|
|
|
4350
4359
|
});
|
|
4351
4360
|
}
|
|
4352
4361
|
}, [getFilesFromEvent, onDragEnter, noDragEventsBubbling]);
|
|
4353
|
-
var onDragOverCb = useCallback(function (event) {
|
|
4362
|
+
var onDragOverCb = require$$0.useCallback(function (event) {
|
|
4354
4363
|
event.preventDefault();
|
|
4355
4364
|
event.persist();
|
|
4356
4365
|
stopPropagation(event);
|
|
@@ -4370,7 +4379,7 @@ function useDropzone() {
|
|
|
4370
4379
|
|
|
4371
4380
|
return false;
|
|
4372
4381
|
}, [onDragOver, noDragEventsBubbling]);
|
|
4373
|
-
var onDragLeaveCb = useCallback(function (event) {
|
|
4382
|
+
var onDragLeaveCb = require$$0.useCallback(function (event) {
|
|
4374
4383
|
event.preventDefault();
|
|
4375
4384
|
event.persist();
|
|
4376
4385
|
stopPropagation(event); // Only deactivate once the dropzone and all children have been left
|
|
@@ -4402,7 +4411,7 @@ function useDropzone() {
|
|
|
4402
4411
|
onDragLeave(event);
|
|
4403
4412
|
}
|
|
4404
4413
|
}, [rootRef, onDragLeave, noDragEventsBubbling]);
|
|
4405
|
-
var onDropCb = useCallback(function (event) {
|
|
4414
|
+
var onDropCb = require$$0.useCallback(function (event) {
|
|
4406
4415
|
event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done
|
|
4407
4416
|
|
|
4408
4417
|
event.persist();
|
|
@@ -4502,7 +4511,7 @@ function useDropzone() {
|
|
|
4502
4511
|
}
|
|
4503
4512
|
};
|
|
4504
4513
|
|
|
4505
|
-
var getRootProps = useMemo(function () {
|
|
4514
|
+
var getRootProps = require$$0.useMemo(function () {
|
|
4506
4515
|
return function () {
|
|
4507
4516
|
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
4508
4517
|
_ref2$refKey = _ref2.refKey,
|
|
@@ -4531,10 +4540,10 @@ function useDropzone() {
|
|
|
4531
4540
|
} : {}), rest);
|
|
4532
4541
|
};
|
|
4533
4542
|
}, [rootRef, onKeyDownCb, onFocusCb, onBlurCb, onClickCb, onDragEnterCb, onDragOverCb, onDragLeaveCb, onDropCb, noKeyboard, noDrag, disabled]);
|
|
4534
|
-
var onInputElementClick = useCallback(function (event) {
|
|
4543
|
+
var onInputElementClick = require$$0.useCallback(function (event) {
|
|
4535
4544
|
event.stopPropagation();
|
|
4536
4545
|
}, []);
|
|
4537
|
-
var getInputProps = useMemo(function () {
|
|
4546
|
+
var getInputProps = require$$0.useMemo(function () {
|
|
4538
4547
|
return function () {
|
|
4539
4548
|
var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
4540
4549
|
_ref3$refKey = _ref3.refKey,
|
|
@@ -4637,16 +4646,16 @@ var css_248z$s = ".style-module_container__BL4SV {\n cursor: pointer;\n backgr
|
|
|
4637
4646
|
var styles$r = {"container":"style-module_container__BL4SV","container--error":"style-module_container--error__1A9v5","container--uploading":"style-module_container--uploading__R11Jd","container--uploaded":"style-module_container--uploaded__1QbKe","image":"style-module_image__2qnlY","progress-container":"style-module_progress-container__ZQ0Qa","progress-bar":"style-module_progress-bar__1_SWA","action":"style-module_action__3_5C4","action--error":"style-module_action--error__VrIT9","action--uploaded":"style-module_action--uploaded__320Sq"};
|
|
4638
4647
|
styleInject(css_248z$s);
|
|
4639
4648
|
|
|
4640
|
-
var ErrorImage = (function () { return (jsx("svg", __assign({ width: "90", height: "66", viewBox: "0 0 90 66", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M45 0C37.9976 0 30.9572 2.64966 25.6182 7.94665C21.6477 11.8859 19.2407 16.7726 18.2201 21.8685C7.85944 23.8626 0 32.8399 0 43.6762C0 55.9706 10.1084 65.9997 22.5 65.9997H56.656C56.6837 66.0001 56.7114 66.0001 56.7391 65.9997H57.2609C57.2886 66.0001 57.3163 66.0001 57.344 65.9997H70.4348C81.2231 65.9997 90 57.2917 90 46.5881C90 36.486 82.1561 28.2623 72.2079 27.3583C72.2539 20.3322 69.7386 13.2916 64.3512 7.94665C59.0169 2.65398 52.0024 0 45 0ZM57.2609 60.1762H56.7391C56.7114 60.1758 56.6838 60.1758 56.6561 60.1762H22.5C13.2807 60.1762 5.86957 52.8233 5.86957 43.6762C5.86957 35.0382 12.4909 28.0009 20.9715 27.237C21.6366 27.1727 22.2596 26.8852 22.7377 26.4219C23.2157 25.9587 23.5201 25.3474 23.6005 24.6892C24.1405 20.074 26.1989 15.5901 29.7758 12.0413C33.9878 7.86248 39.4844 5.8235 45 5.8235C50.5156 5.8235 55.9776 7.85816 60.1936 12.0413C65.0657 16.8751 67.1274 23.4426 66.3689 29.7241C66.317 30.1333 66.3533 30.5488 66.4754 30.9431C66.5975 31.3373 66.8026 31.7014 67.0772 32.0111C67.3518 32.3208 67.6895 32.5691 68.0681 32.7395C68.4466 32.91 68.8574 32.9987 69.2731 32.9998H70.4348C78.0729 32.9998 84.1304 39.0097 84.1304 46.5881C84.1304 54.1663 78.0729 60.1762 70.4348 60.1762H57.3439C57.3162 60.1758 57.2886 60.1758 57.2609 60.1762ZM32.7678 30.7678C31.7915 29.7915 31.7915 28.2085 32.7678 27.2322C33.7441 26.2559 35.327 26.2559 36.3033 27.2322L44.0355 34.9645L52.2322 26.7678C53.2085 25.7915 54.7915 25.7915 55.7678 26.7678C56.7441 27.7441 56.7441 29.327 55.7678 30.3033L47.5711 38.5L55.3952 46.3241C56.3715 47.3004 56.3715 48.8833 55.3952 49.8596C54.4189 50.836 52.836 50.836 51.8596 49.8596L44.0355 42.0355L36.6759 49.3952C35.6996 50.3715 34.1167 50.3715 33.1404 49.3952C32.164 48.4189 32.164 46.836 33.1404 45.8596L40.5 38.5L32.7678 30.7678Z", fill: "#E55566" }, void 0) }), void 0)); });
|
|
4649
|
+
var ErrorImage = (function () { return (jsxRuntime.jsx("svg", __assign({ width: "90", height: "66", viewBox: "0 0 90 66", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsxRuntime.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M45 0C37.9976 0 30.9572 2.64966 25.6182 7.94665C21.6477 11.8859 19.2407 16.7726 18.2201 21.8685C7.85944 23.8626 0 32.8399 0 43.6762C0 55.9706 10.1084 65.9997 22.5 65.9997H56.656C56.6837 66.0001 56.7114 66.0001 56.7391 65.9997H57.2609C57.2886 66.0001 57.3163 66.0001 57.344 65.9997H70.4348C81.2231 65.9997 90 57.2917 90 46.5881C90 36.486 82.1561 28.2623 72.2079 27.3583C72.2539 20.3322 69.7386 13.2916 64.3512 7.94665C59.0169 2.65398 52.0024 0 45 0ZM57.2609 60.1762H56.7391C56.7114 60.1758 56.6838 60.1758 56.6561 60.1762H22.5C13.2807 60.1762 5.86957 52.8233 5.86957 43.6762C5.86957 35.0382 12.4909 28.0009 20.9715 27.237C21.6366 27.1727 22.2596 26.8852 22.7377 26.4219C23.2157 25.9587 23.5201 25.3474 23.6005 24.6892C24.1405 20.074 26.1989 15.5901 29.7758 12.0413C33.9878 7.86248 39.4844 5.8235 45 5.8235C50.5156 5.8235 55.9776 7.85816 60.1936 12.0413C65.0657 16.8751 67.1274 23.4426 66.3689 29.7241C66.317 30.1333 66.3533 30.5488 66.4754 30.9431C66.5975 31.3373 66.8026 31.7014 67.0772 32.0111C67.3518 32.3208 67.6895 32.5691 68.0681 32.7395C68.4466 32.91 68.8574 32.9987 69.2731 32.9998H70.4348C78.0729 32.9998 84.1304 39.0097 84.1304 46.5881C84.1304 54.1663 78.0729 60.1762 70.4348 60.1762H57.3439C57.3162 60.1758 57.2886 60.1758 57.2609 60.1762ZM32.7678 30.7678C31.7915 29.7915 31.7915 28.2085 32.7678 27.2322C33.7441 26.2559 35.327 26.2559 36.3033 27.2322L44.0355 34.9645L52.2322 26.7678C53.2085 25.7915 54.7915 25.7915 55.7678 26.7678C56.7441 27.7441 56.7441 29.327 55.7678 30.3033L47.5711 38.5L55.3952 46.3241C56.3715 47.3004 56.3715 48.8833 55.3952 49.8596C54.4189 50.836 52.836 50.836 51.8596 49.8596L44.0355 42.0355L36.6759 49.3952C35.6996 50.3715 34.1167 50.3715 33.1404 49.3952C32.164 48.4189 32.164 46.836 33.1404 45.8596L40.5 38.5L32.7678 30.7678Z", fill: "#E55566" }, void 0) }), void 0)); });
|
|
4641
4650
|
|
|
4642
4651
|
var css_248z$r = ".style-module_stroke-primary-500__pRJ6W {\n stroke: var(--ds-primary-500);\n}\n\n.style-module_fill-primary-500__5NoPh {\n fill: var(--ds-primary-500);\n}";
|
|
4643
4652
|
var styles$q = {"stroke-primary-500":"style-module_stroke-primary-500__pRJ6W","fill-primary-500":"style-module_fill-primary-500__5NoPh"};
|
|
4644
4653
|
styleInject(css_248z$r);
|
|
4645
4654
|
|
|
4646
|
-
var UploadImage = (function () { return (jsx("svg", __assign({ width: "90", height: "73", viewBox: "0 0 90 73", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsx("path", { className: styles$q['fill-primary-500'], d: "M45 0C37.9976 0 30.9572 2.67062 25.6182 8.00951C21.6477 11.9799 19.2407 16.9053 18.2201 22.0414C7.85945 24.0513 0 33.0997 0 44.0217C0 56.4134 10.1084 66.5218 22.5 66.5218H33.2609C33.6498 66.5273 34.0359 66.4555 34.3968 66.3104C34.7576 66.1654 35.0861 65.9501 35.3631 65.677C35.64 65.404 35.8599 65.0786 36.01 64.7198C36.1602 64.361 36.2375 63.9759 36.2375 63.587C36.2375 63.1981 36.1602 62.813 36.01 62.4542C35.8599 62.0954 35.64 61.7701 35.3631 61.497C35.0861 61.2239 34.7576 61.0086 34.3968 60.8636C34.0359 60.7186 33.6498 60.6467 33.2609 60.6522H22.5C13.2807 60.6522 5.86957 53.2412 5.86957 44.0217C5.86957 35.3154 12.4909 28.2224 20.9715 27.4524C21.6366 27.3876 22.2596 27.0978 22.7377 26.6309C23.2157 26.164 23.5201 25.5479 23.6005 24.8845C24.1405 20.2328 26.1989 15.7134 29.7758 12.1365C33.9878 7.92468 39.4844 5.86957 45 5.86957C50.5156 5.86957 55.9776 7.92032 60.1936 12.1365C65.0657 17.0086 67.1274 23.628 66.3689 29.9592C66.317 30.3717 66.3533 30.7905 66.4754 31.1879C66.5975 31.5852 66.8026 31.9522 67.0772 32.2643C67.3518 32.5765 67.6895 32.8267 68.0681 32.9985C68.4466 33.1703 68.8574 33.2597 69.2731 33.2609H70.4348C78.0729 33.2609 84.1304 39.3183 84.1304 46.9566C84.1304 54.5947 78.0729 60.6522 70.4348 60.6522H56.7391C56.3502 60.6467 55.9641 60.7186 55.6032 60.8636C55.2424 61.0086 54.9139 61.2239 54.6369 61.497C54.36 61.7701 54.1401 62.0954 53.99 62.4542C53.8398 62.813 53.7626 63.1981 53.7626 63.587C53.7626 63.9759 53.8398 64.361 53.99 64.7198C54.1401 65.0786 54.36 65.404 54.6369 65.677C54.9139 65.9501 55.2424 66.1654 55.6032 66.3104C55.9641 66.4555 56.3502 66.5273 56.7391 66.5218H70.4348C81.2231 66.5218 90 57.7449 90 46.9566C90 36.7746 82.1561 28.4859 72.2079 27.5747C72.2539 20.4931 69.7385 13.3968 64.3512 8.00951C59.0169 2.67498 52.0024 0 45 0ZM45 33.2609C44.0215 33.2609 43.5041 33.5757 43.013 34.0251L32.2521 43.8077C31.0095 44.9609 31.0313 46.8324 32.0686 47.9654C33.1059 49.0983 35.0881 49.1803 36.2262 48.1488L42.0652 42.8295V69.4566C42.0652 71.0774 43.3789 72.3914 45 72.3914C46.6212 72.3914 47.9348 71.0774 47.9348 69.4566V42.8295L53.7738 48.1488C54.912 49.1803 56.8342 49.0405 57.9314 47.9654C59.0876 46.8324 58.8758 44.8505 57.7479 43.8077L46.987 34.0251C46.4057 33.4929 45.9785 33.2609 45 33.2609Z" }, void 0) }), void 0)); });
|
|
4655
|
+
var UploadImage = (function () { return (jsxRuntime.jsx("svg", __assign({ width: "90", height: "73", viewBox: "0 0 90 73", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsxRuntime.jsx("path", { className: styles$q['fill-primary-500'], d: "M45 0C37.9976 0 30.9572 2.67062 25.6182 8.00951C21.6477 11.9799 19.2407 16.9053 18.2201 22.0414C7.85945 24.0513 0 33.0997 0 44.0217C0 56.4134 10.1084 66.5218 22.5 66.5218H33.2609C33.6498 66.5273 34.0359 66.4555 34.3968 66.3104C34.7576 66.1654 35.0861 65.9501 35.3631 65.677C35.64 65.404 35.8599 65.0786 36.01 64.7198C36.1602 64.361 36.2375 63.9759 36.2375 63.587C36.2375 63.1981 36.1602 62.813 36.01 62.4542C35.8599 62.0954 35.64 61.7701 35.3631 61.497C35.0861 61.2239 34.7576 61.0086 34.3968 60.8636C34.0359 60.7186 33.6498 60.6467 33.2609 60.6522H22.5C13.2807 60.6522 5.86957 53.2412 5.86957 44.0217C5.86957 35.3154 12.4909 28.2224 20.9715 27.4524C21.6366 27.3876 22.2596 27.0978 22.7377 26.6309C23.2157 26.164 23.5201 25.5479 23.6005 24.8845C24.1405 20.2328 26.1989 15.7134 29.7758 12.1365C33.9878 7.92468 39.4844 5.86957 45 5.86957C50.5156 5.86957 55.9776 7.92032 60.1936 12.1365C65.0657 17.0086 67.1274 23.628 66.3689 29.9592C66.317 30.3717 66.3533 30.7905 66.4754 31.1879C66.5975 31.5852 66.8026 31.9522 67.0772 32.2643C67.3518 32.5765 67.6895 32.8267 68.0681 32.9985C68.4466 33.1703 68.8574 33.2597 69.2731 33.2609H70.4348C78.0729 33.2609 84.1304 39.3183 84.1304 46.9566C84.1304 54.5947 78.0729 60.6522 70.4348 60.6522H56.7391C56.3502 60.6467 55.9641 60.7186 55.6032 60.8636C55.2424 61.0086 54.9139 61.2239 54.6369 61.497C54.36 61.7701 54.1401 62.0954 53.99 62.4542C53.8398 62.813 53.7626 63.1981 53.7626 63.587C53.7626 63.9759 53.8398 64.361 53.99 64.7198C54.1401 65.0786 54.36 65.404 54.6369 65.677C54.9139 65.9501 55.2424 66.1654 55.6032 66.3104C55.9641 66.4555 56.3502 66.5273 56.7391 66.5218H70.4348C81.2231 66.5218 90 57.7449 90 46.9566C90 36.7746 82.1561 28.4859 72.2079 27.5747C72.2539 20.4931 69.7385 13.3968 64.3512 8.00951C59.0169 2.67498 52.0024 0 45 0ZM45 33.2609C44.0215 33.2609 43.5041 33.5757 43.013 34.0251L32.2521 43.8077C31.0095 44.9609 31.0313 46.8324 32.0686 47.9654C33.1059 49.0983 35.0881 49.1803 36.2262 48.1488L42.0652 42.8295V69.4566C42.0652 71.0774 43.3789 72.3914 45 72.3914C46.6212 72.3914 47.9348 71.0774 47.9348 69.4566V42.8295L53.7738 48.1488C54.912 49.1803 56.8342 49.0405 57.9314 47.9654C59.0876 46.8324 58.8758 44.8505 57.7479 43.8077L46.987 34.0251C46.4057 33.4929 45.9785 33.2609 45 33.2609Z" }, void 0) }), void 0)); });
|
|
4647
4656
|
|
|
4648
|
-
var FileImage = (function () { return (jsxs("svg", __assign({ width: "60", height: "72", viewBox: "0 0 60 72", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsx("path", { className: styles$q['stroke-primary-500'], d: "M50.5975 69H8.94969C7.37173 69 5.8584 68.3679 4.74262 67.2426C3.62684 66.1174 3 64.5913 3 63V21L20.8491 3H50.5975C52.1754 3 53.6888 3.63214 54.8045 4.75736C55.9203 5.88258 56.5472 7.4087 56.5472 9V63C56.5472 64.5913 55.9203 66.1174 54.8045 67.2426C53.6888 68.3679 52.1754 69 50.5975 69Z", strokeWidth: "5", strokeLinejoin: "round" }, void 0),
|
|
4649
|
-
jsx("path", { className: styles$q['stroke-primary-500'], d: "M20.434 3V15.4528C20.434 17.1042 19.8217 18.6879 18.7319 19.8556C17.642 21.0233 16.1639 21.6792 14.6226 21.6792H3", strokeWidth: "5", strokeLinejoin: "round" }, void 0)] }), void 0)); });
|
|
4657
|
+
var FileImage = (function () { return (jsxRuntime.jsxs("svg", __assign({ width: "60", height: "72", viewBox: "0 0 60 72", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsxRuntime.jsx("path", { className: styles$q['stroke-primary-500'], d: "M50.5975 69H8.94969C7.37173 69 5.8584 68.3679 4.74262 67.2426C3.62684 66.1174 3 64.5913 3 63V21L20.8491 3H50.5975C52.1754 3 53.6888 3.63214 54.8045 4.75736C55.9203 5.88258 56.5472 7.4087 56.5472 9V63C56.5472 64.5913 55.9203 66.1174 54.8045 67.2426C53.6888 68.3679 52.1754 69 50.5975 69Z", strokeWidth: "5", strokeLinejoin: "round" }, void 0),
|
|
4658
|
+
jsxRuntime.jsx("path", { className: styles$q['stroke-primary-500'], d: "M20.434 3V15.4528C20.434 17.1042 19.8217 18.6879 18.7319 19.8556C17.642 21.0233 16.1639 21.6792 14.6226 21.6792H3", strokeWidth: "5", strokeLinejoin: "round" }, void 0)] }), void 0)); });
|
|
4650
4659
|
|
|
4651
4660
|
function truncateStringTail(aString, length) {
|
|
4652
4661
|
if (aString.length > length) {
|
|
@@ -4658,7 +4667,7 @@ function truncateStringTail(aString, length) {
|
|
|
4658
4667
|
}
|
|
4659
4668
|
var index$8 = (function (_a) {
|
|
4660
4669
|
var className = _a.className, uploading = _a.uploading, progress = _a.progress, error = _a.error, uploadedFileUrl = _a.uploadedFileUrl, onSelectedFile = _a.onSelectedFile;
|
|
4661
|
-
var onDrop = useCallback(function (acceptedFiles) {
|
|
4670
|
+
var onDrop = require$$0.useCallback(function (acceptedFiles) {
|
|
4662
4671
|
onSelectedFile(acceptedFiles[0]);
|
|
4663
4672
|
}, [onSelectedFile]);
|
|
4664
4673
|
var uploadedFileName = (uploadedFileUrl &&
|
|
@@ -4714,11 +4723,11 @@ var index$8 = (function (_a) {
|
|
|
4714
4723
|
},
|
|
4715
4724
|
}[state], action = _b.action, Image = _b.Image, text = _b.text, containerStyle = _b.containerStyle, textColor = _b.textColor;
|
|
4716
4725
|
var _c = useDropzone({ onDrop: onDrop }), getRootProps = _c.getRootProps, getInputProps = _c.getInputProps;
|
|
4717
|
-
return (jsxs("div", __assign({ className: styles$r.container + " " + containerStyle + " " + className }, getRootProps(), { children: [jsx("input", __assign({}, getInputProps()), void 0),
|
|
4718
|
-
jsx(Image, {}, void 0),
|
|
4719
|
-
jsx("div", __assign({ className: "p-p mt16" }, { children: text }), void 0),
|
|
4720
|
-
action && jsx("div", __assign({ className: "p-p " + textColor }, { children: action }), void 0),
|
|
4721
|
-
state === 'uploading' && (jsx("div", __assign({ className: styles$r['progress-container'] }, { children: jsx("div", { className: styles$r['progress-bar'], style: { width: progress + "%" } }, void 0) }), void 0))] }), void 0));
|
|
4726
|
+
return (jsxRuntime.jsxs("div", __assign({ className: styles$r.container + " " + containerStyle + " " + className }, getRootProps(), { children: [jsxRuntime.jsx("input", __assign({}, getInputProps()), void 0),
|
|
4727
|
+
jsxRuntime.jsx(Image, {}, void 0),
|
|
4728
|
+
jsxRuntime.jsx("div", __assign({ className: "p-p mt16" }, { children: text }), void 0),
|
|
4729
|
+
action && jsxRuntime.jsx("div", __assign({ className: "p-p " + textColor }, { children: action }), void 0),
|
|
4730
|
+
state === 'uploading' && (jsxRuntime.jsx("div", __assign({ className: styles$r['progress-container'] }, { children: jsxRuntime.jsx("div", { className: styles$r['progress-bar'], style: { width: progress + "%" } }, void 0) }), void 0))] }), void 0));
|
|
4722
4731
|
});
|
|
4723
4732
|
|
|
4724
4733
|
/*!
|
|
@@ -5230,7 +5239,7 @@ var Signature = /** @class */ (function (_super) {
|
|
|
5230
5239
|
_this.state = {
|
|
5231
5240
|
hasContent: false,
|
|
5232
5241
|
};
|
|
5233
|
-
_this.canvasRef = require$$
|
|
5242
|
+
_this.canvasRef = require$$0__default['default'].createRef();
|
|
5234
5243
|
_this.notifyOnChange = _this.notifyOnChange.bind(_this);
|
|
5235
5244
|
_this.resizeCanvas = _this.resizeCanvas.bind(_this);
|
|
5236
5245
|
_this.clear = _this.clear.bind(_this);
|
|
@@ -5245,16 +5254,16 @@ var Signature = /** @class */ (function (_super) {
|
|
|
5245
5254
|
};
|
|
5246
5255
|
Signature.prototype.render = function () {
|
|
5247
5256
|
var hasContent = this.state.hasContent;
|
|
5248
|
-
return (jsxs(Fragment
|
|
5257
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("style", { dangerouslySetInnerHTML: {
|
|
5249
5258
|
__html: "." + styles$p.reset + "::before { \n -webkit-mask-image: url(\"" + reset + "\");\n mask-image: url(\"" + reset + "\");\n }",
|
|
5250
5259
|
} }, void 0),
|
|
5251
|
-
jsxs("div", __assign({ className: styles$p.container }, { children: [jsx("canvas", { className: styles$p.canvas, ref: this.canvasRef }, void 0),
|
|
5252
|
-
jsx("div", { className: styles$p.separator }, void 0),
|
|
5253
|
-
jsx("div", { className: styles$p.sign, style: {
|
|
5260
|
+
jsxRuntime.jsxs("div", __assign({ className: styles$p.container }, { children: [jsxRuntime.jsx("canvas", { className: styles$p.canvas, ref: this.canvasRef }, void 0),
|
|
5261
|
+
jsxRuntime.jsx("div", { className: styles$p.separator }, void 0),
|
|
5262
|
+
jsxRuntime.jsx("div", { className: styles$p.sign, style: {
|
|
5254
5263
|
WebkitMaskImage: "url(\"" + sign + "\")",
|
|
5255
5264
|
maskImage: "url(\"" + sign + "\")",
|
|
5256
5265
|
} }, void 0),
|
|
5257
|
-
jsx("button", __assign({ className: styles$p.reset, onClick: this.clear, disabled: !hasContent }, { children: "Reset" }), void 0)] }), void 0)] }, void 0));
|
|
5266
|
+
jsxRuntime.jsx("button", __assign({ className: styles$p.reset, onClick: this.clear, disabled: !hasContent }, { children: "Reset" }), void 0)] }), void 0)] }, void 0));
|
|
5258
5267
|
};
|
|
5259
5268
|
Signature.prototype.notifyOnChange = function () {
|
|
5260
5269
|
var onChange = this.props.onChange;
|
|
@@ -5272,7 +5281,7 @@ var Signature = /** @class */ (function (_super) {
|
|
|
5272
5281
|
this.notifyOnChange();
|
|
5273
5282
|
};
|
|
5274
5283
|
return Signature;
|
|
5275
|
-
}(Component));
|
|
5284
|
+
}(require$$0.Component));
|
|
5276
5285
|
|
|
5277
5286
|
var classnames = {exports: {}};
|
|
5278
5287
|
|
|
@@ -7571,818 +7580,17 @@ var css_248z$p = ".style-module_container__2L4SP {\n position: relative;\n}\n\n
|
|
|
7571
7580
|
var styles$o = {"container":"style-module_container__2L4SP","prefix":"style-module_prefix__3jAFZ","prefix--with-error":"style-module_prefix--with-error__1yTTM","input":"style-module_input__1eJO5","placeholder":"style-module_placeholder__1U2z0","placeholder--with-error":"style-module_placeholder--with-error__2ieRU","input--no-placeholder":"style-module_input--no-placeholder__3EGwh","input--with-prefix":"style-module_input--with-prefix__38e0j","placeholder--with-prefix":"style-module_placeholder--with-prefix__2PquQ","error":"style-module_error__167Zc"};
|
|
7572
7581
|
styleInject(css_248z$p);
|
|
7573
7582
|
|
|
7574
|
-
var Input = require$$
|
|
7583
|
+
var Input = require$$0__default['default'].forwardRef(function (_a, ref) {
|
|
7575
7584
|
var className = _a.className, placeholder = _a.placeholder, prefix = _a.prefix, error = _a.error, props = __rest(_a, ["className", "placeholder", "prefix", "error"]);
|
|
7576
|
-
return (jsxs("div", __assign({ className: styles$o.container + " " + (className !== null && className !== void 0 ? className : '') }, { children: [jsx("input", __assign({ "data-testid": "ds-input-input", type: "text", ref: ref, className: (error ? 'p-input--error' : 'p-input') + " " + (placeholder && (placeholder === null || placeholder === void 0 ? void 0 : placeholder.length) > 0
|
|
7585
|
+
return (jsxRuntime.jsxs("div", __assign({ className: styles$o.container + " " + (className !== null && className !== void 0 ? className : '') }, { children: [jsxRuntime.jsx("input", __assign({ "data-testid": "ds-input-input", type: "text", ref: ref, className: (error ? 'p-input--error' : 'p-input') + " " + (placeholder && (placeholder === null || placeholder === void 0 ? void 0 : placeholder.length) > 0
|
|
7577
7586
|
? styles$o.input
|
|
7578
7587
|
: styles$o['input--no-placeholder']) + " " + (prefix ? styles$o['input--with-prefix'] : ''), placeholder: " " }, props), void 0),
|
|
7579
|
-
prefix && (jsx("span", __assign({ className: styles$o.prefix + " " + (error ? styles$o['prefix--with-error'] : '') }, { children: prefix }), void 0)),
|
|
7580
|
-
jsx("span", __assign({ className: styles$o.placeholder + " " + (prefix ? styles$o['placeholder--with-prefix'] : '') + " " + (error ? styles$o['placeholder--with-error'] : '') }, { children: placeholder }), void 0),
|
|
7581
|
-
error && (jsx("p", __assign({ className: "p-p--small tc-red-500 w100 " + styles$o.error }, { children: error }), void 0))] }), void 0));
|
|
7582
|
-
});
|
|
7583
|
-
|
|
7584
|
-
var allCountryCodes = [
|
|
7585
|
-
'AF',
|
|
7586
|
-
'AL',
|
|
7587
|
-
'DZ',
|
|
7588
|
-
'AD',
|
|
7589
|
-
'AS',
|
|
7590
|
-
'AO',
|
|
7591
|
-
'AI',
|
|
7592
|
-
'AQ',
|
|
7593
|
-
'AG',
|
|
7594
|
-
'AR',
|
|
7595
|
-
'AM',
|
|
7596
|
-
'AW',
|
|
7597
|
-
'AU',
|
|
7598
|
-
'AT',
|
|
7599
|
-
'AZ',
|
|
7600
|
-
'BS',
|
|
7601
|
-
'BH',
|
|
7602
|
-
'BD',
|
|
7603
|
-
'BB',
|
|
7604
|
-
'BY',
|
|
7605
|
-
'BE',
|
|
7606
|
-
'BZ',
|
|
7607
|
-
'BJ',
|
|
7608
|
-
'BM',
|
|
7609
|
-
'BT',
|
|
7610
|
-
'BO',
|
|
7611
|
-
'BA',
|
|
7612
|
-
'BW',
|
|
7613
|
-
'BV',
|
|
7614
|
-
'BR',
|
|
7615
|
-
'IO',
|
|
7616
|
-
'BN',
|
|
7617
|
-
'BG',
|
|
7618
|
-
'BF',
|
|
7619
|
-
'BI',
|
|
7620
|
-
'KH',
|
|
7621
|
-
'CM',
|
|
7622
|
-
'CA',
|
|
7623
|
-
'CV',
|
|
7624
|
-
'KY',
|
|
7625
|
-
'CF',
|
|
7626
|
-
'TD',
|
|
7627
|
-
'CL',
|
|
7628
|
-
'CN',
|
|
7629
|
-
'CX',
|
|
7630
|
-
'CC',
|
|
7631
|
-
'CO',
|
|
7632
|
-
'KM',
|
|
7633
|
-
'CG',
|
|
7634
|
-
'CD',
|
|
7635
|
-
'CK',
|
|
7636
|
-
'CR',
|
|
7637
|
-
'CI',
|
|
7638
|
-
'HR',
|
|
7639
|
-
'CU',
|
|
7640
|
-
'CY',
|
|
7641
|
-
'CZ',
|
|
7642
|
-
'DK',
|
|
7643
|
-
'DJ',
|
|
7644
|
-
'DM',
|
|
7645
|
-
'DO',
|
|
7646
|
-
'EC',
|
|
7647
|
-
'EG',
|
|
7648
|
-
'SV',
|
|
7649
|
-
'GQ',
|
|
7650
|
-
'ER',
|
|
7651
|
-
'EE',
|
|
7652
|
-
'ET',
|
|
7653
|
-
'FK',
|
|
7654
|
-
'FO',
|
|
7655
|
-
'FJ',
|
|
7656
|
-
'FI',
|
|
7657
|
-
'FR',
|
|
7658
|
-
'GF',
|
|
7659
|
-
'PF',
|
|
7660
|
-
'TF',
|
|
7661
|
-
'GA',
|
|
7662
|
-
'GM',
|
|
7663
|
-
'GE',
|
|
7664
|
-
'DE',
|
|
7665
|
-
'GH',
|
|
7666
|
-
'GI',
|
|
7667
|
-
'GR',
|
|
7668
|
-
'GL',
|
|
7669
|
-
'GD',
|
|
7670
|
-
'GP',
|
|
7671
|
-
'GU',
|
|
7672
|
-
'GT',
|
|
7673
|
-
'GN',
|
|
7674
|
-
'GW',
|
|
7675
|
-
'GY',
|
|
7676
|
-
'HT',
|
|
7677
|
-
'HM',
|
|
7678
|
-
'VA',
|
|
7679
|
-
'HN',
|
|
7680
|
-
'HK',
|
|
7681
|
-
'HU',
|
|
7682
|
-
'IS',
|
|
7683
|
-
'IN',
|
|
7684
|
-
'ID',
|
|
7685
|
-
'IR',
|
|
7686
|
-
'IQ',
|
|
7687
|
-
'IE',
|
|
7688
|
-
'IL',
|
|
7689
|
-
'IT',
|
|
7690
|
-
'JM',
|
|
7691
|
-
'JP',
|
|
7692
|
-
'JO',
|
|
7693
|
-
'KZ',
|
|
7694
|
-
'KE',
|
|
7695
|
-
'KI',
|
|
7696
|
-
'KP',
|
|
7697
|
-
'KR',
|
|
7698
|
-
'KW',
|
|
7699
|
-
'KG',
|
|
7700
|
-
'LA',
|
|
7701
|
-
'LV',
|
|
7702
|
-
'LB',
|
|
7703
|
-
'LS',
|
|
7704
|
-
'LR',
|
|
7705
|
-
'LY',
|
|
7706
|
-
'LI',
|
|
7707
|
-
'LT',
|
|
7708
|
-
'LU',
|
|
7709
|
-
'MO',
|
|
7710
|
-
'MK',
|
|
7711
|
-
'MG',
|
|
7712
|
-
'MW',
|
|
7713
|
-
'MY',
|
|
7714
|
-
'MV',
|
|
7715
|
-
'ML',
|
|
7716
|
-
'MT',
|
|
7717
|
-
'MH',
|
|
7718
|
-
'MQ',
|
|
7719
|
-
'MR',
|
|
7720
|
-
'MU',
|
|
7721
|
-
'YT',
|
|
7722
|
-
'MX',
|
|
7723
|
-
'FM',
|
|
7724
|
-
'MD',
|
|
7725
|
-
'MC',
|
|
7726
|
-
'MN',
|
|
7727
|
-
'MS',
|
|
7728
|
-
'ME',
|
|
7729
|
-
'MA',
|
|
7730
|
-
'MZ',
|
|
7731
|
-
'MM',
|
|
7732
|
-
'NA',
|
|
7733
|
-
'NR',
|
|
7734
|
-
'NP',
|
|
7735
|
-
'NL',
|
|
7736
|
-
'NC',
|
|
7737
|
-
'NZ',
|
|
7738
|
-
'NI',
|
|
7739
|
-
'NE',
|
|
7740
|
-
'NG',
|
|
7741
|
-
'NU',
|
|
7742
|
-
'NF',
|
|
7743
|
-
'MP',
|
|
7744
|
-
'NO',
|
|
7745
|
-
'OM',
|
|
7746
|
-
'PK',
|
|
7747
|
-
'PW',
|
|
7748
|
-
'PS',
|
|
7749
|
-
'PA',
|
|
7750
|
-
'PG',
|
|
7751
|
-
'PY',
|
|
7752
|
-
'PE',
|
|
7753
|
-
'PH',
|
|
7754
|
-
'PN',
|
|
7755
|
-
'PL',
|
|
7756
|
-
'PT',
|
|
7757
|
-
'PR',
|
|
7758
|
-
'QA',
|
|
7759
|
-
'RE',
|
|
7760
|
-
'RO',
|
|
7761
|
-
'RU',
|
|
7762
|
-
'RW',
|
|
7763
|
-
'SH',
|
|
7764
|
-
'KN',
|
|
7765
|
-
'LC',
|
|
7766
|
-
'PM',
|
|
7767
|
-
'VC',
|
|
7768
|
-
'WS',
|
|
7769
|
-
'SM',
|
|
7770
|
-
'ST',
|
|
7771
|
-
'SA',
|
|
7772
|
-
'SN',
|
|
7773
|
-
'RS',
|
|
7774
|
-
'SC',
|
|
7775
|
-
'SL',
|
|
7776
|
-
'SG',
|
|
7777
|
-
'SK',
|
|
7778
|
-
'SI',
|
|
7779
|
-
'SB',
|
|
7780
|
-
'SO',
|
|
7781
|
-
'ZA',
|
|
7782
|
-
'GS',
|
|
7783
|
-
'ES',
|
|
7784
|
-
'LK',
|
|
7785
|
-
'SD',
|
|
7786
|
-
'SR',
|
|
7787
|
-
'SJ',
|
|
7788
|
-
'SZ',
|
|
7789
|
-
'SE',
|
|
7790
|
-
'CH',
|
|
7791
|
-
'SY',
|
|
7792
|
-
'TW',
|
|
7793
|
-
'TJ',
|
|
7794
|
-
'TZ',
|
|
7795
|
-
'TH',
|
|
7796
|
-
'TL',
|
|
7797
|
-
'TG',
|
|
7798
|
-
'TK',
|
|
7799
|
-
'TO',
|
|
7800
|
-
'TT',
|
|
7801
|
-
'TN',
|
|
7802
|
-
'TR',
|
|
7803
|
-
'TM',
|
|
7804
|
-
'TC',
|
|
7805
|
-
'TV',
|
|
7806
|
-
'UG',
|
|
7807
|
-
'UA',
|
|
7808
|
-
'AE',
|
|
7809
|
-
'GB',
|
|
7810
|
-
'US',
|
|
7811
|
-
'UM',
|
|
7812
|
-
'UY',
|
|
7813
|
-
'UZ',
|
|
7814
|
-
'VU',
|
|
7815
|
-
'VE',
|
|
7816
|
-
'VN',
|
|
7817
|
-
'VG',
|
|
7818
|
-
'VI',
|
|
7819
|
-
'WF',
|
|
7820
|
-
'EH',
|
|
7821
|
-
'YE',
|
|
7822
|
-
'ZM',
|
|
7823
|
-
'ZW',
|
|
7824
|
-
'AX',
|
|
7825
|
-
'BQ',
|
|
7826
|
-
'CW',
|
|
7827
|
-
'GG',
|
|
7828
|
-
'IM',
|
|
7829
|
-
'JE',
|
|
7830
|
-
'BL',
|
|
7831
|
-
'MF',
|
|
7832
|
-
'SX',
|
|
7833
|
-
'XK',
|
|
7834
|
-
'SS',
|
|
7835
|
-
];
|
|
7836
|
-
|
|
7837
|
-
var locale = "en";
|
|
7838
|
-
var countries = {
|
|
7839
|
-
AF: "Afghanistan",
|
|
7840
|
-
AL: "Albania",
|
|
7841
|
-
DZ: "Algeria",
|
|
7842
|
-
AS: "American Samoa",
|
|
7843
|
-
AD: "Andorra",
|
|
7844
|
-
AO: "Angola",
|
|
7845
|
-
AI: "Anguilla",
|
|
7846
|
-
AQ: "Antarctica",
|
|
7847
|
-
AG: "Antigua and Barbuda",
|
|
7848
|
-
AR: "Argentina",
|
|
7849
|
-
AM: "Armenia",
|
|
7850
|
-
AW: "Aruba",
|
|
7851
|
-
AU: "Australia",
|
|
7852
|
-
AT: "Austria",
|
|
7853
|
-
AZ: "Azerbaijan",
|
|
7854
|
-
BS: "Bahamas",
|
|
7855
|
-
BH: "Bahrain",
|
|
7856
|
-
BD: "Bangladesh",
|
|
7857
|
-
BB: "Barbados",
|
|
7858
|
-
BY: "Belarus",
|
|
7859
|
-
BE: "Belgium",
|
|
7860
|
-
BZ: "Belize",
|
|
7861
|
-
BJ: "Benin",
|
|
7862
|
-
BM: "Bermuda",
|
|
7863
|
-
BT: "Bhutan",
|
|
7864
|
-
BO: "Bolivia",
|
|
7865
|
-
BA: "Bosnia and Herzegovina",
|
|
7866
|
-
BW: "Botswana",
|
|
7867
|
-
BV: "Bouvet Island",
|
|
7868
|
-
BR: "Brazil",
|
|
7869
|
-
IO: "British Indian Ocean Territory",
|
|
7870
|
-
BN: "Brunei Darussalam",
|
|
7871
|
-
BG: "Bulgaria",
|
|
7872
|
-
BF: "Burkina Faso",
|
|
7873
|
-
BI: "Burundi",
|
|
7874
|
-
KH: "Cambodia",
|
|
7875
|
-
CM: "Cameroon",
|
|
7876
|
-
CA: "Canada",
|
|
7877
|
-
CV: "Cape Verde",
|
|
7878
|
-
KY: "Cayman Islands",
|
|
7879
|
-
CF: "Central African Republic",
|
|
7880
|
-
TD: "Chad",
|
|
7881
|
-
CL: "Chile",
|
|
7882
|
-
CN: "China",
|
|
7883
|
-
CX: "Christmas Island",
|
|
7884
|
-
CC: "Cocos (Keeling) Islands",
|
|
7885
|
-
CO: "Colombia",
|
|
7886
|
-
KM: "Comoros",
|
|
7887
|
-
CG: "Republic of the Congo",
|
|
7888
|
-
CD: "Democratic Republic of the Congo",
|
|
7889
|
-
CK: "Cook Islands",
|
|
7890
|
-
CR: "Costa Rica",
|
|
7891
|
-
CI: "Cote D'Ivoire",
|
|
7892
|
-
HR: "Croatia",
|
|
7893
|
-
CU: "Cuba",
|
|
7894
|
-
CY: "Cyprus",
|
|
7895
|
-
CZ: "Czech Republic",
|
|
7896
|
-
DK: "Denmark",
|
|
7897
|
-
DJ: "Djibouti",
|
|
7898
|
-
DM: "Dominica",
|
|
7899
|
-
DO: "Dominican Republic",
|
|
7900
|
-
EC: "Ecuador",
|
|
7901
|
-
EG: "Egypt",
|
|
7902
|
-
SV: "El Salvador",
|
|
7903
|
-
GQ: "Equatorial Guinea",
|
|
7904
|
-
ER: "Eritrea",
|
|
7905
|
-
EE: "Estonia",
|
|
7906
|
-
ET: "Ethiopia",
|
|
7907
|
-
FK: "Falkland Islands (Malvinas)",
|
|
7908
|
-
FO: "Faroe Islands",
|
|
7909
|
-
FJ: "Fiji",
|
|
7910
|
-
FI: "Finland",
|
|
7911
|
-
FR: "France",
|
|
7912
|
-
GF: "French Guiana",
|
|
7913
|
-
PF: "French Polynesia",
|
|
7914
|
-
TF: "French Southern Territories",
|
|
7915
|
-
GA: "Gabon",
|
|
7916
|
-
GM: "Gambia",
|
|
7917
|
-
GE: "Georgia",
|
|
7918
|
-
DE: "Germany",
|
|
7919
|
-
GH: "Ghana",
|
|
7920
|
-
GI: "Gibraltar",
|
|
7921
|
-
GR: "Greece",
|
|
7922
|
-
GL: "Greenland",
|
|
7923
|
-
GD: "Grenada",
|
|
7924
|
-
GP: "Guadeloupe",
|
|
7925
|
-
GU: "Guam",
|
|
7926
|
-
GT: "Guatemala",
|
|
7927
|
-
GN: "Guinea",
|
|
7928
|
-
GW: "Guinea-Bissau",
|
|
7929
|
-
GY: "Guyana",
|
|
7930
|
-
HT: "Haiti",
|
|
7931
|
-
HM: "Heard Island and McDonald Islands",
|
|
7932
|
-
VA: "Holy See (Vatican City State)",
|
|
7933
|
-
HN: "Honduras",
|
|
7934
|
-
HK: "Hong Kong",
|
|
7935
|
-
HU: "Hungary",
|
|
7936
|
-
IS: "Iceland",
|
|
7937
|
-
IN: "India",
|
|
7938
|
-
ID: "Indonesia",
|
|
7939
|
-
IR: "Iran",
|
|
7940
|
-
IQ: "Iraq",
|
|
7941
|
-
IE: "Ireland",
|
|
7942
|
-
IL: "Israel",
|
|
7943
|
-
IT: "Italy",
|
|
7944
|
-
JM: "Jamaica",
|
|
7945
|
-
JP: "Japan",
|
|
7946
|
-
JO: "Jordan",
|
|
7947
|
-
KZ: "Kazakhstan",
|
|
7948
|
-
KE: "Kenya",
|
|
7949
|
-
KI: "Kiribati",
|
|
7950
|
-
KP: "North Korea",
|
|
7951
|
-
KR: "South Korea",
|
|
7952
|
-
KW: "Kuwait",
|
|
7953
|
-
KG: "Kyrgyzstan",
|
|
7954
|
-
LA: "Lao People's Democratic Republic",
|
|
7955
|
-
LV: "Latvia",
|
|
7956
|
-
LB: "Lebanon",
|
|
7957
|
-
LS: "Lesotho",
|
|
7958
|
-
LR: "Liberia",
|
|
7959
|
-
LY: "Libya",
|
|
7960
|
-
LI: "Liechtenstein",
|
|
7961
|
-
LT: "Lithuania",
|
|
7962
|
-
LU: "Luxembourg",
|
|
7963
|
-
MO: "Macao",
|
|
7964
|
-
MG: "Madagascar",
|
|
7965
|
-
MW: "Malawi",
|
|
7966
|
-
MY: "Malaysia",
|
|
7967
|
-
MV: "Maldives",
|
|
7968
|
-
ML: "Mali",
|
|
7969
|
-
MT: "Malta",
|
|
7970
|
-
MH: "Marshall Islands",
|
|
7971
|
-
MQ: "Martinique",
|
|
7972
|
-
MR: "Mauritania",
|
|
7973
|
-
MU: "Mauritius",
|
|
7974
|
-
YT: "Mayotte",
|
|
7975
|
-
MX: "Mexico",
|
|
7976
|
-
FM: "Micronesia, Federated States of",
|
|
7977
|
-
MD: "Moldova, Republic of",
|
|
7978
|
-
MC: "Monaco",
|
|
7979
|
-
MN: "Mongolia",
|
|
7980
|
-
MS: "Montserrat",
|
|
7981
|
-
MA: "Morocco",
|
|
7982
|
-
MZ: "Mozambique",
|
|
7983
|
-
MM: "Myanmar",
|
|
7984
|
-
NA: "Namibia",
|
|
7985
|
-
NR: "Nauru",
|
|
7986
|
-
NP: "Nepal",
|
|
7987
|
-
NL: "Netherlands",
|
|
7988
|
-
NC: "New Caledonia",
|
|
7989
|
-
NZ: "New Zealand",
|
|
7990
|
-
NI: "Nicaragua",
|
|
7991
|
-
NE: "Niger",
|
|
7992
|
-
NG: "Nigeria",
|
|
7993
|
-
NU: "Niue",
|
|
7994
|
-
NF: "Norfolk Island",
|
|
7995
|
-
MK: "North Macedonia",
|
|
7996
|
-
MP: "Northern Mariana Islands",
|
|
7997
|
-
NO: "Norway",
|
|
7998
|
-
OM: "Oman",
|
|
7999
|
-
PK: "Pakistan",
|
|
8000
|
-
PW: "Palau",
|
|
8001
|
-
PS: "Palestine",
|
|
8002
|
-
PA: "Panama",
|
|
8003
|
-
PG: "Papua New Guinea",
|
|
8004
|
-
PY: "Paraguay",
|
|
8005
|
-
PE: "Peru",
|
|
8006
|
-
PH: "Philippines",
|
|
8007
|
-
PN: "Pitcairn",
|
|
8008
|
-
PL: "Poland",
|
|
8009
|
-
PT: "Portugal",
|
|
8010
|
-
PR: "Puerto Rico",
|
|
8011
|
-
QA: "Qatar",
|
|
8012
|
-
RE: "Reunion",
|
|
8013
|
-
RO: "Romania",
|
|
8014
|
-
RU: "Russia",
|
|
8015
|
-
RW: "Rwanda",
|
|
8016
|
-
SH: "Saint Helena",
|
|
8017
|
-
KN: "Saint Kitts and Nevis",
|
|
8018
|
-
LC: "Saint Lucia",
|
|
8019
|
-
PM: "Saint Pierre and Miquelon",
|
|
8020
|
-
VC: "Saint Vincent and the Grenadines",
|
|
8021
|
-
WS: "Samoa",
|
|
8022
|
-
SM: "San Marino",
|
|
8023
|
-
ST: "Sao Tome and Principe",
|
|
8024
|
-
SA: "Saudi Arabia",
|
|
8025
|
-
SN: "Senegal",
|
|
8026
|
-
SC: "Seychelles",
|
|
8027
|
-
SL: "Sierra Leone",
|
|
8028
|
-
SG: "Singapore",
|
|
8029
|
-
SK: "Slovakia",
|
|
8030
|
-
SI: "Slovenia",
|
|
8031
|
-
SB: "Solomon Islands",
|
|
8032
|
-
SO: "Somalia",
|
|
8033
|
-
ZA: "South Africa",
|
|
8034
|
-
GS: "South Georgia and the South Sandwich Islands",
|
|
8035
|
-
ES: "Spain",
|
|
8036
|
-
LK: "Sri Lanka",
|
|
8037
|
-
SD: "Sudan",
|
|
8038
|
-
SR: "Suriname",
|
|
8039
|
-
SJ: "Svalbard and Jan Mayen",
|
|
8040
|
-
SZ: "Eswatini",
|
|
8041
|
-
SE: "Sweden",
|
|
8042
|
-
CH: "Switzerland",
|
|
8043
|
-
SY: "Syrian Arab Republic",
|
|
8044
|
-
TW: "Taiwan",
|
|
8045
|
-
TJ: "Tajikistan",
|
|
8046
|
-
TZ: "Tanzania",
|
|
8047
|
-
TH: "Thailand",
|
|
8048
|
-
TL: "Timor-Leste",
|
|
8049
|
-
TG: "Togo",
|
|
8050
|
-
TK: "Tokelau",
|
|
8051
|
-
TO: "Tonga",
|
|
8052
|
-
TT: "Trinidad and Tobago",
|
|
8053
|
-
TN: "Tunisia",
|
|
8054
|
-
TR: "Turkey",
|
|
8055
|
-
TM: "Turkmenistan",
|
|
8056
|
-
TC: "Turks and Caicos Islands",
|
|
8057
|
-
TV: "Tuvalu",
|
|
8058
|
-
UG: "Uganda",
|
|
8059
|
-
UA: "Ukraine",
|
|
8060
|
-
AE: "United Arab Emirates",
|
|
8061
|
-
GB: "United Kingdom",
|
|
8062
|
-
US: "United States",
|
|
8063
|
-
UM: "United States Minor Outlying Islands",
|
|
8064
|
-
UY: "Uruguay",
|
|
8065
|
-
UZ: "Uzbekistan",
|
|
8066
|
-
VU: "Vanuatu",
|
|
8067
|
-
VE: "Venezuela",
|
|
8068
|
-
VN: "Vietnam",
|
|
8069
|
-
VG: "Virgin Islands, British",
|
|
8070
|
-
VI: "Virgin Islands, U.S.",
|
|
8071
|
-
WF: "Wallis and Futuna",
|
|
8072
|
-
EH: "Western Sahara",
|
|
8073
|
-
YE: "Yemen",
|
|
8074
|
-
ZM: "Zambia",
|
|
8075
|
-
ZW: "Zimbabwe",
|
|
8076
|
-
AX: "Åland Islands",
|
|
8077
|
-
BQ: "Bonaire, Sint Eustatius and Saba",
|
|
8078
|
-
CW: "Curaçao",
|
|
8079
|
-
GG: "Guernsey",
|
|
8080
|
-
IM: "Isle of Man",
|
|
8081
|
-
JE: "Jersey",
|
|
8082
|
-
ME: "Montenegro",
|
|
8083
|
-
BL: "Saint Barthélemy",
|
|
8084
|
-
MF: "Saint Martin (French part)",
|
|
8085
|
-
RS: "Serbia",
|
|
8086
|
-
SX: "Sint Maarten (Dutch part)",
|
|
8087
|
-
SS: "South Sudan",
|
|
8088
|
-
XK: "Kosovo"
|
|
8089
|
-
};
|
|
8090
|
-
var en = {
|
|
8091
|
-
locale: locale,
|
|
8092
|
-
countries: countries
|
|
8093
|
-
};
|
|
8094
|
-
|
|
8095
|
-
var LocaleEN = /*#__PURE__*/Object.freeze({
|
|
8096
|
-
__proto__: null,
|
|
8097
|
-
locale: locale,
|
|
8098
|
-
countries: countries,
|
|
8099
|
-
'default': en
|
|
8100
|
-
});
|
|
8101
|
-
|
|
8102
|
-
var locale$1 = "de";
|
|
8103
|
-
var countries$1 = {
|
|
8104
|
-
AF: "Afghanistan",
|
|
8105
|
-
EG: "Ägypten",
|
|
8106
|
-
AX: "Åland",
|
|
8107
|
-
AL: "Albanien",
|
|
8108
|
-
DZ: "Algerien",
|
|
8109
|
-
AS: "Amerikanisch-Samoa",
|
|
8110
|
-
VI: "Amerikanische Jungferninseln",
|
|
8111
|
-
AD: "Andorra",
|
|
8112
|
-
AO: "Angola",
|
|
8113
|
-
AI: "Anguilla",
|
|
8114
|
-
AQ: "Antarktis",
|
|
8115
|
-
AG: "Antigua und Barbuda",
|
|
8116
|
-
GQ: "Äquatorialguinea",
|
|
8117
|
-
AR: "Argentinien",
|
|
8118
|
-
AM: "Armenien",
|
|
8119
|
-
AW: "Aruba",
|
|
8120
|
-
AZ: "Aserbaidschan",
|
|
8121
|
-
ET: "Äthiopien",
|
|
8122
|
-
AU: "Australien",
|
|
8123
|
-
BS: "Bahamas",
|
|
8124
|
-
BH: "Bahrain",
|
|
8125
|
-
BD: "Bangladesch",
|
|
8126
|
-
BB: "Barbados",
|
|
8127
|
-
BY: "Belarus",
|
|
8128
|
-
BE: "Belgien",
|
|
8129
|
-
BZ: "Belize",
|
|
8130
|
-
BJ: "Benin",
|
|
8131
|
-
BM: "Bermuda",
|
|
8132
|
-
BT: "Bhutan",
|
|
8133
|
-
BO: "Bolivien",
|
|
8134
|
-
BQ: "Bonaire",
|
|
8135
|
-
BA: "Bosnien und Herzegowina",
|
|
8136
|
-
BW: "Botswana",
|
|
8137
|
-
BV: "Bouvetinsel",
|
|
8138
|
-
BR: "Brasilien",
|
|
8139
|
-
VG: "Britische Jungferninseln",
|
|
8140
|
-
IO: "Britisches Territorium im Indischen Ozean",
|
|
8141
|
-
BN: "Brunei Darussalam",
|
|
8142
|
-
BG: "Bulgarien",
|
|
8143
|
-
BF: "Burkina Faso",
|
|
8144
|
-
BI: "Burundi",
|
|
8145
|
-
CL: "Chile",
|
|
8146
|
-
CN: "China",
|
|
8147
|
-
CK: "Cookinseln",
|
|
8148
|
-
CR: "Costa Rica",
|
|
8149
|
-
CI: "Elfenbeinküste",
|
|
8150
|
-
CW: "Curaçao",
|
|
8151
|
-
DK: "Dänemark",
|
|
8152
|
-
DE: "Deutschland",
|
|
8153
|
-
DM: "Dominica",
|
|
8154
|
-
DO: "Dominikanische Republik",
|
|
8155
|
-
DJ: "Dschibuti",
|
|
8156
|
-
EC: "Ecuador",
|
|
8157
|
-
SV: "El Salvador",
|
|
8158
|
-
ER: "Eritrea",
|
|
8159
|
-
EE: "Estland",
|
|
8160
|
-
FK: "Falklandinseln",
|
|
8161
|
-
FO: "Färöer",
|
|
8162
|
-
FJ: "Fidschi",
|
|
8163
|
-
FI: "Finnland",
|
|
8164
|
-
FR: "Frankreich",
|
|
8165
|
-
GF: "Französisch-Guayana",
|
|
8166
|
-
PF: "Französisch-Polynesien",
|
|
8167
|
-
TF: "Französische Süd- und Antarktisgebiete",
|
|
8168
|
-
GA: "Gabun",
|
|
8169
|
-
GM: "Gambia",
|
|
8170
|
-
GE: "Georgien",
|
|
8171
|
-
GH: "Ghana",
|
|
8172
|
-
GI: "Gibraltar",
|
|
8173
|
-
GD: "Grenada",
|
|
8174
|
-
GR: "Griechenland",
|
|
8175
|
-
GL: "Grönland",
|
|
8176
|
-
GP: "Guadeloupe",
|
|
8177
|
-
GU: "Guam",
|
|
8178
|
-
GT: "Guatemala",
|
|
8179
|
-
GG: "Guernsey",
|
|
8180
|
-
GN: "Guinea",
|
|
8181
|
-
GW: "Guinea-Bissau",
|
|
8182
|
-
GY: "Guyana",
|
|
8183
|
-
HT: "Haiti",
|
|
8184
|
-
HM: "Heard und McDonaldinseln",
|
|
8185
|
-
HN: "Honduras",
|
|
8186
|
-
HK: "Hongkong",
|
|
8187
|
-
IN: "Indien",
|
|
8188
|
-
ID: "Indonesien",
|
|
8189
|
-
IM: "Insel Man",
|
|
8190
|
-
IQ: "Irak",
|
|
8191
|
-
IR: "Iran",
|
|
8192
|
-
IE: "Irland",
|
|
8193
|
-
IS: "Island",
|
|
8194
|
-
IL: "Israel",
|
|
8195
|
-
IT: "Italien",
|
|
8196
|
-
JM: "Jamaika",
|
|
8197
|
-
JP: "Japan",
|
|
8198
|
-
YE: "Jemen",
|
|
8199
|
-
JE: "Jersey",
|
|
8200
|
-
JO: "Jordanien",
|
|
8201
|
-
KY: "Kaimaninseln",
|
|
8202
|
-
KH: "Kambodscha",
|
|
8203
|
-
CM: "Kamerun",
|
|
8204
|
-
CA: "Kanada",
|
|
8205
|
-
CV: "Kap Verde",
|
|
8206
|
-
KZ: "Kasachstan",
|
|
8207
|
-
QA: "Katar",
|
|
8208
|
-
KE: "Kenia",
|
|
8209
|
-
KG: "Kirgisistan",
|
|
8210
|
-
KI: "Kiribati",
|
|
8211
|
-
CC: "Kokosinseln",
|
|
8212
|
-
CO: "Kolumbien",
|
|
8213
|
-
KM: "Komoren",
|
|
8214
|
-
CD: "Kongo",
|
|
8215
|
-
KP: "Nordkorea",
|
|
8216
|
-
KR: "Südkorea",
|
|
8217
|
-
HR: "Kroatien",
|
|
8218
|
-
CU: "Kuba",
|
|
8219
|
-
KW: "Kuwait",
|
|
8220
|
-
LA: "Laos",
|
|
8221
|
-
LS: "Lesotho",
|
|
8222
|
-
LV: "Lettland",
|
|
8223
|
-
LB: "Libanon",
|
|
8224
|
-
LR: "Liberia",
|
|
8225
|
-
LY: "Libyen",
|
|
8226
|
-
LI: "Liechtenstein",
|
|
8227
|
-
LT: "Litauen",
|
|
8228
|
-
LU: "Luxemburg",
|
|
8229
|
-
MO: "Macao",
|
|
8230
|
-
MG: "Madagaskar",
|
|
8231
|
-
MW: "Malawi",
|
|
8232
|
-
MY: "Malaysia",
|
|
8233
|
-
MV: "Malediven",
|
|
8234
|
-
ML: "Mali",
|
|
8235
|
-
MT: "Malta",
|
|
8236
|
-
MA: "Marokko",
|
|
8237
|
-
MH: "Marshallinseln",
|
|
8238
|
-
MQ: "Martinique",
|
|
8239
|
-
MR: "Mauretanien",
|
|
8240
|
-
MU: "Mauritius",
|
|
8241
|
-
YT: "Mayotte",
|
|
8242
|
-
MX: "Mexiko",
|
|
8243
|
-
FM: "Mikronesien",
|
|
8244
|
-
MD: "Moldawien",
|
|
8245
|
-
MC: "Monaco",
|
|
8246
|
-
MN: "Mongolei",
|
|
8247
|
-
ME: "Montenegro",
|
|
8248
|
-
MS: "Montserrat",
|
|
8249
|
-
MZ: "Mosambik",
|
|
8250
|
-
MM: "Myanmar",
|
|
8251
|
-
NA: "Namibia",
|
|
8252
|
-
NR: "Nauru",
|
|
8253
|
-
NP: "Nepal",
|
|
8254
|
-
NC: "Neukaledonien",
|
|
8255
|
-
NZ: "Neuseeland",
|
|
8256
|
-
NI: "Nicaragua",
|
|
8257
|
-
NL: "Niederlande",
|
|
8258
|
-
NE: "Niger",
|
|
8259
|
-
NG: "Nigeria",
|
|
8260
|
-
NU: "Niue",
|
|
8261
|
-
MK: "Nordmazedonien",
|
|
8262
|
-
MP: "Nördliche Marianen",
|
|
8263
|
-
NF: "Norfolkinsel",
|
|
8264
|
-
NO: "Norwegen",
|
|
8265
|
-
OM: "Oman",
|
|
8266
|
-
AT: "Österreich",
|
|
8267
|
-
TL: "Osttimor",
|
|
8268
|
-
PK: "Pakistan",
|
|
8269
|
-
PS: "Staat Palästina",
|
|
8270
|
-
PW: "Palau",
|
|
8271
|
-
PA: "Panama",
|
|
8272
|
-
PG: "Papua-Neuguinea",
|
|
8273
|
-
PY: "Paraguay",
|
|
8274
|
-
PE: "Peru",
|
|
8275
|
-
PH: "Philippinen",
|
|
8276
|
-
PN: "Pitcairninseln",
|
|
8277
|
-
PL: "Polen",
|
|
8278
|
-
PT: "Portugal",
|
|
8279
|
-
PR: "Puerto Rico",
|
|
8280
|
-
TW: "Taiwan",
|
|
8281
|
-
CG: "Republik Kongo",
|
|
8282
|
-
RE: "Réunion",
|
|
8283
|
-
RW: "Ruanda",
|
|
8284
|
-
RO: "Rumänien",
|
|
8285
|
-
RU: "Russische Föderation",
|
|
8286
|
-
BL: "Saint-Barthélemy",
|
|
8287
|
-
MF: "Saint-Martin",
|
|
8288
|
-
SB: "Salomonen",
|
|
8289
|
-
ZM: "Sambia",
|
|
8290
|
-
WS: "Samoa",
|
|
8291
|
-
SM: "San Marino",
|
|
8292
|
-
ST: "São Tomé und Príncipe",
|
|
8293
|
-
SA: "Saudi-Arabien",
|
|
8294
|
-
SE: "Schweden",
|
|
8295
|
-
CH: "Schweiz",
|
|
8296
|
-
SN: "Senegal",
|
|
8297
|
-
RS: "Serbien",
|
|
8298
|
-
SC: "Seychellen",
|
|
8299
|
-
SL: "Sierra Leone",
|
|
8300
|
-
ZW: "Simbabwe",
|
|
8301
|
-
SG: "Singapur",
|
|
8302
|
-
SX: "Sint Maarten",
|
|
8303
|
-
SK: "Slowakei",
|
|
8304
|
-
SI: "Slowenien",
|
|
8305
|
-
SO: "Somalia",
|
|
8306
|
-
ES: "Spanien",
|
|
8307
|
-
LK: "Sri Lanka",
|
|
8308
|
-
SH: "St. Helena",
|
|
8309
|
-
KN: "St. Kitts und Nevis",
|
|
8310
|
-
LC: "St. Lucia",
|
|
8311
|
-
PM: "Saint-Pierre und Miquelon",
|
|
8312
|
-
VC: "St. Vincent und die Grenadinen",
|
|
8313
|
-
ZA: "Südafrika",
|
|
8314
|
-
SD: "Sudan",
|
|
8315
|
-
GS: "Südgeorgien und die Südlichen Sandwichinseln",
|
|
8316
|
-
SS: "Südsudan",
|
|
8317
|
-
SR: "Suriname",
|
|
8318
|
-
SJ: "Svalbard und Jan Mayen",
|
|
8319
|
-
SZ: "Eswatini",
|
|
8320
|
-
SY: "Syrien, Arabische Republik",
|
|
8321
|
-
TJ: "Tadschikistan",
|
|
8322
|
-
TZ: "Tansania, Vereinigte Republik",
|
|
8323
|
-
TH: "Thailand",
|
|
8324
|
-
TG: "Togo",
|
|
8325
|
-
TK: "Tokelau",
|
|
8326
|
-
TO: "Tonga",
|
|
8327
|
-
TT: "Trinidad und Tobago",
|
|
8328
|
-
TD: "Tschad",
|
|
8329
|
-
CZ: "Tschechische Republik",
|
|
8330
|
-
TN: "Tunesien",
|
|
8331
|
-
TR: "Türkei",
|
|
8332
|
-
TM: "Turkmenistan",
|
|
8333
|
-
TC: "Turks- und Caicosinseln",
|
|
8334
|
-
TV: "Tuvalu",
|
|
8335
|
-
UG: "Uganda",
|
|
8336
|
-
UA: "Ukraine",
|
|
8337
|
-
HU: "Ungarn",
|
|
8338
|
-
UM: "United States Minor Outlying Islands",
|
|
8339
|
-
UY: "Uruguay",
|
|
8340
|
-
UZ: "Usbekistan",
|
|
8341
|
-
VU: "Vanuatu",
|
|
8342
|
-
VA: "Vatikanstadt",
|
|
8343
|
-
VE: "Venezuela",
|
|
8344
|
-
AE: "Vereinigte Arabische Emirate",
|
|
8345
|
-
US: "Vereinigte Staaten",
|
|
8346
|
-
GB: "Vereinigtes Königreich",
|
|
8347
|
-
VN: "Vietnam",
|
|
8348
|
-
WF: "Wallis und Futuna",
|
|
8349
|
-
CX: "Weihnachtsinsel",
|
|
8350
|
-
EH: "Westsahara",
|
|
8351
|
-
CF: "Zentralafrikanische Republik",
|
|
8352
|
-
CY: "Zypern",
|
|
8353
|
-
XK: "Kosovo"
|
|
8354
|
-
};
|
|
8355
|
-
var de = {
|
|
8356
|
-
locale: locale$1,
|
|
8357
|
-
countries: countries$1
|
|
8358
|
-
};
|
|
8359
|
-
|
|
8360
|
-
var LocaleDE = /*#__PURE__*/Object.freeze({
|
|
8361
|
-
__proto__: null,
|
|
8362
|
-
locale: locale$1,
|
|
8363
|
-
countries: countries$1,
|
|
8364
|
-
'default': de
|
|
7588
|
+
prefix && (jsxRuntime.jsx("span", __assign({ className: styles$o.prefix + " " + (error ? styles$o['prefix--with-error'] : '') }, { children: prefix }), void 0)),
|
|
7589
|
+
jsxRuntime.jsx("span", __assign({ className: styles$o.placeholder + " " + (prefix ? styles$o['placeholder--with-prefix'] : '') + " " + (error ? styles$o['placeholder--with-error'] : '') }, { children: placeholder }), void 0),
|
|
7590
|
+
error && (jsxRuntime.jsx("p", __assign({ className: "p-p--small tc-red-500 w100 " + styles$o.error }, { children: error }), void 0))] }), void 0));
|
|
8365
7591
|
});
|
|
8366
7592
|
|
|
8367
|
-
var
|
|
8368
|
-
en: LocaleEN,
|
|
8369
|
-
de: LocaleDE,
|
|
8370
|
-
};
|
|
8371
|
-
function countryNameFromAlphaCode(alphaCode, language) {
|
|
8372
|
-
if (language === void 0) { language = 'en'; }
|
|
8373
|
-
return localeData[language].countries[alphaCode];
|
|
8374
|
-
}
|
|
8375
|
-
var getAllCountries = function (language) {
|
|
8376
|
-
if (language === void 0) { language = 'en'; }
|
|
8377
|
-
return allCountryCodes.map(function (code) { return ({
|
|
8378
|
-
name: localeData[language].countries[code],
|
|
8379
|
-
code: code,
|
|
8380
|
-
}); });
|
|
8381
|
-
};
|
|
8382
|
-
/**
|
|
8383
|
-
* @deprecated The method will be removed in the next major release. Use getAllCountries() instead.
|
|
8384
|
-
*/
|
|
8385
|
-
getAllCountries();
|
|
7593
|
+
var z7=Object.defineProperty;var V=(t,a)=>{for(var z in a)z7(t,z,{get:a[z],enumerable:!0});};var s=["AF","AL","DZ","AD","AS","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","JM","JP","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","MS","ME","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","SH","KN","LC","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","AX","BQ","CW","GG","IM","JE","BL","MF","SX","XK","SS"];var r={};V(r,{countries:()=>L,default:()=>p7,locale:()=>y});var y="en",L={AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Republic of the Congo",CD:"Democratic Republic of the Congo",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:"North Macedonia",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russia",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Eswatini",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"\xC5land Islands",BQ:"Bonaire, Sint Eustatius and Saba",CW:"Cura\xE7ao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barth\xE9lemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"},p7={locale:y,countries:L};var m={};V(m,{countries:()=>S,default:()=>M7,locale:()=>B});var B="de",S={AF:"Afghanistan",EG:"\xC4gypten",AX:"\xC5land",AL:"Albanien",DZ:"Algerien",AS:"Amerikanisch-Samoa",VI:"Amerikanische Jungferninseln",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua und Barbuda",GQ:"\xC4quatorialguinea",AR:"Argentinien",AM:"Armenien",AW:"Aruba",AZ:"Aserbaidschan",ET:"\xC4thiopien",AU:"Australien",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesch",BB:"Barbados",BY:"Belarus",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivien",BQ:"Bonaire",BA:"Bosnien und Herzegowina",BW:"Botswana",BV:"Bouvetinsel",BR:"Brasilien",VG:"Britische Jungferninseln",IO:"Britisches Territorium im Indischen Ozean",BN:"Brunei Darussalam",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",CL:"Chile",CN:"China",CK:"Cookinseln",CR:"Costa Rica",CI:"Elfenbeink\xFCste",CW:"Cura\xE7ao",DK:"D\xE4nemark",DE:"Deutschland",DM:"Dominica",DO:"Dominikanische Republik",DJ:"Dschibuti",EC:"Ecuador",SV:"El Salvador",ER:"Eritrea",EE:"Estland",FK:"Falklandinseln",FO:"F\xE4r\xF6er",FJ:"Fidschi",FI:"Finnland",FR:"Frankreich",GF:"Franz\xF6sisch-Guayana",PF:"Franz\xF6sisch-Polynesien",TF:"Franz\xF6sische S\xFCd- und Antarktisgebiete",GA:"Gabun",GM:"Gambia",GE:"Georgien",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GR:"Griechenland",GL:"Gr\xF6nland",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard und McDonaldinseln",HN:"Honduras",HK:"Hongkong",IN:"Indien",ID:"Indonesien",IM:"Insel Man",IQ:"Irak",IR:"Iran",IE:"Irland",IS:"Island",IL:"Israel",IT:"Italien",JM:"Jamaika",JP:"Japan",YE:"Jemen",JE:"Jersey",JO:"Jordanien",KY:"Kaimaninseln",KH:"Kambodscha",CM:"Kamerun",CA:"Kanada",CV:"Kap Verde",KZ:"Kasachstan",QA:"Katar",KE:"Kenia",KG:"Kirgisistan",KI:"Kiribati",CC:"Kokosinseln",CO:"Kolumbien",KM:"Komoren",CD:"Kongo",KP:"Nordkorea",KR:"S\xFCdkorea",HR:"Kroatien",CU:"Kuba",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Lettland",LB:"Libanon",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"Macao",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Malediven",ML:"Mali",MT:"Malta",MA:"Marokko",MH:"Marshallinseln",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexiko",FM:"Mikronesien",MD:"Moldawien",MC:"Monaco",MN:"Mongolei",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NC:"Neukaledonien",NZ:"Neuseeland",NI:"Nicaragua",NL:"Niederlande",NE:"Niger",NG:"Nigeria",NU:"Niue",MK:"Nordmazedonien",MP:"N\xF6rdliche Marianen",NF:"Norfolkinsel",NO:"Norwegen",OM:"Oman",AT:"\xD6sterreich",TL:"Osttimor",PK:"Pakistan",PS:"Staat Pal\xE4stina",PW:"Palau",PA:"Panama",PG:"Papua-Neuguinea",PY:"Paraguay",PE:"Peru",PH:"Philippinen",PN:"Pitcairninseln",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",TW:"Taiwan",CG:"Republik Kongo",RE:"R\xE9union",RW:"Ruanda",RO:"Rum\xE4nien",RU:"Russische F\xF6deration",BL:"Saint-Barth\xE9lemy",MF:"Saint-Martin",SB:"Salomonen",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"S\xE3o Tom\xE9 und Pr\xEDncipe",SA:"Saudi-Arabien",SE:"Schweden",CH:"Schweiz",SN:"Senegal",RS:"Serbien",SC:"Seychellen",SL:"Sierra Leone",ZW:"Simbabwe",SG:"Singapur",SX:"Sint Maarten",SK:"Slowakei",SI:"Slowenien",SO:"Somalia",ES:"Spanien",LK:"Sri Lanka",SH:"St. Helena",KN:"St. Kitts und Nevis",LC:"St. Lucia",PM:"Saint-Pierre und Miquelon",VC:"St. Vincent und die Grenadinen",ZA:"S\xFCdafrika",SD:"Sudan",GS:"S\xFCdgeorgien und die S\xFCdlichen Sandwichinseln",SS:"S\xFCdsudan",SR:"Suriname",SJ:"Svalbard und Jan Mayen",SZ:"Eswatini",SY:"Syrien, Arabische Republik",TJ:"Tadschikistan",TZ:"Tansania, Vereinigte Republik",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad und Tobago",TD:"Tschad",CZ:"Tschechische Republik",TN:"Tunesien",TR:"T\xFCrkei",TM:"Turkmenistan",TC:"Turks- und Caicosinseln",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",HU:"Ungarn",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VA:"Vatikanstadt",VE:"Venezuela",AE:"Vereinigte Arabische Emirate",US:"Vereinigte Staaten",GB:"Vereinigtes K\xF6nigreich",VN:"Vietnam",WF:"Wallis und Futuna",CX:"Weihnachtsinsel",EH:"Westsahara",CF:"Zentralafrikanische Republik",CY:"Zypern",XK:"Kosovo"},M7={locale:B,countries:S};var c7={en:r,de:m};function $5(t,a="en"){return c7[a].countries[t]}var f7=(t="en")=>s.map(a=>({name:c7[t].countries[a],code:a}));f7();
|
|
8386
7594
|
|
|
8387
7595
|
var geocoderAddressComponentToPartialAddress = function (input) {
|
|
8388
7596
|
var mapping = {
|
|
@@ -8454,19 +7662,19 @@ var loadGoogleMapsApiDynamically = function (callback, apiKey) {
|
|
|
8454
7662
|
var AutoCompleteAddress = function (_a) {
|
|
8455
7663
|
var _b;
|
|
8456
7664
|
var apiKey = _a.apiKey, initialAddress = _a.address, onAddressChange = _a.onAddressChange;
|
|
8457
|
-
var _c = useState(false), manualAddressEntry = _c[0], setManualAddressEntry = _c[1];
|
|
8458
|
-
var _d = useState(false), isLoading = _d[0], setIsLoading = _d[1];
|
|
8459
|
-
var autocomplete = useRef(null);
|
|
8460
|
-
var autocompleteElement = useRef(null);
|
|
8461
|
-
var map = useRef(null);
|
|
8462
|
-
var marker = useRef(null);
|
|
8463
|
-
var _e = useState(initialAddress), address = _e[0], setAddress = _e[1];
|
|
8464
|
-
var _f = useState(window.google !== undefined), hasLoadedGoogleAPI = _f[0], setHasLoadedGoogleAPI = _f[1];
|
|
7665
|
+
var _c = require$$0.useState(false), manualAddressEntry = _c[0], setManualAddressEntry = _c[1];
|
|
7666
|
+
var _d = require$$0.useState(false), isLoading = _d[0], setIsLoading = _d[1];
|
|
7667
|
+
var autocomplete = require$$0.useRef(null);
|
|
7668
|
+
var autocompleteElement = require$$0.useRef(null);
|
|
7669
|
+
var map = require$$0.useRef(null);
|
|
7670
|
+
var marker = require$$0.useRef(null);
|
|
7671
|
+
var _e = require$$0.useState(initialAddress), address = _e[0], setAddress = _e[1];
|
|
7672
|
+
var _f = require$$0.useState(window.google !== undefined), hasLoadedGoogleAPI = _f[0], setHasLoadedGoogleAPI = _f[1];
|
|
8465
7673
|
loadGoogleMapsApiDynamically(function () {
|
|
8466
7674
|
setHasLoadedGoogleAPI(true);
|
|
8467
7675
|
}, apiKey);
|
|
8468
|
-
var _g = useState(null), place = _g[0], setPlace = _g[1];
|
|
8469
|
-
useEffect(function () {
|
|
7676
|
+
var _g = require$$0.useState(null), place = _g[0], setPlace = _g[1];
|
|
7677
|
+
require$$0.useEffect(function () {
|
|
8470
7678
|
if (address) {
|
|
8471
7679
|
if (autocompleteElement.current && address.street) {
|
|
8472
7680
|
autocompleteElement.current.value = address.street;
|
|
@@ -8477,7 +7685,7 @@ var AutoCompleteAddress = function (_a) {
|
|
|
8477
7685
|
handleEnterAddressManually();
|
|
8478
7686
|
}
|
|
8479
7687
|
}, [initialAddress, address, onAddressChange, hasLoadedGoogleAPI]);
|
|
8480
|
-
useEffect(function () {
|
|
7688
|
+
require$$0.useEffect(function () {
|
|
8481
7689
|
if (hasLoadedGoogleAPI === false) {
|
|
8482
7690
|
return;
|
|
8483
7691
|
}
|
|
@@ -8488,7 +7696,7 @@ var AutoCompleteAddress = function (_a) {
|
|
|
8488
7696
|
});
|
|
8489
7697
|
autocomplete.current.addListener('place_changed', onPlaceChanged);
|
|
8490
7698
|
map.current = new google.maps.Map(document.getElementById('map'), MAP_CONFIG_OBJ);
|
|
8491
|
-
|
|
7699
|
+
Promise.resolve().then(function () { return require('./mapStyle-a64f125f.js'); }).then(function (_a) {
|
|
8492
7700
|
var _b, _c;
|
|
8493
7701
|
var style = _a.style;
|
|
8494
7702
|
(_b = map.current) === null || _b === void 0 ? void 0 : _b.mapTypes.set('styled_map', style);
|
|
@@ -8514,7 +7722,7 @@ var AutoCompleteAddress = function (_a) {
|
|
|
8514
7722
|
(_e = marker.current) === null || _e === void 0 ? void 0 : _e.setPosition(newPlace.geometry.location);
|
|
8515
7723
|
}
|
|
8516
7724
|
};
|
|
8517
|
-
var setPlaceFromAddress = useCallback(function (address) {
|
|
7725
|
+
var setPlaceFromAddress = require$$0.useCallback(function (address) {
|
|
8518
7726
|
var _a, _b, _c;
|
|
8519
7727
|
if (!map.current) {
|
|
8520
7728
|
return;
|
|
@@ -8522,7 +7730,7 @@ var AutoCompleteAddress = function (_a) {
|
|
|
8522
7730
|
if (address) {
|
|
8523
7731
|
var service_1 = new google.maps.places.PlacesService(map.current);
|
|
8524
7732
|
var query = ((_a = address.street) !== null && _a !== void 0 ? _a : '') + " " + ((_b = address.houseNumber) !== null && _b !== void 0 ? _b : '') + ", " + ((_c = address.city) !== null && _c !== void 0 ? _c : '') + ", " + (address.country
|
|
8525
|
-
?
|
|
7733
|
+
? $5(address.country)
|
|
8526
7734
|
: '');
|
|
8527
7735
|
setIsLoading(true);
|
|
8528
7736
|
service_1.findPlaceFromQuery({
|
|
@@ -8543,36 +7751,36 @@ var AutoCompleteAddress = function (_a) {
|
|
|
8543
7751
|
var handleEnterAddressManually = function () {
|
|
8544
7752
|
setManualAddressEntry(true);
|
|
8545
7753
|
};
|
|
8546
|
-
return (jsxs(Fragment
|
|
7754
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", __assign({ className: classNames("wmx8 bg-grey-500 " + styles$n['map-container'], (_b = {},
|
|
8547
7755
|
_b[styles$n['map-container--hidden']] = place === null,
|
|
8548
|
-
_b)) }, { children: [jsx("div", { className: styles$n.map, id: "map" }, void 0),
|
|
8549
|
-
isLoading && (jsx("div", __assign({ className: styles$n['loading-spinner'] }, { children: jsx("div", { className: "ds-spinner ds-spinner__m" }, void 0) }), void 0))] }), void 0),
|
|
8550
|
-
jsx("div", __assign({ className: "wmx8" }, { children: manualAddressEntry === false ? (jsxs("div", __assign({ style: { position: 'relative' } }, { children: [jsx(Input, { className: "w100", id: "autocomplete", "data-cy": "autocomplete", type: "text", placeholder: "Search for address", ref: autocompleteElement }, void 0),
|
|
8551
|
-
hasLoadedGoogleAPI === false && (jsx("div", __assign({ className: styles$n['loading-spinner'] }, { children: jsx("div", { className: "ds-spinner ds-spinner__m" }, void 0) }), void 0))] }), void 0)) : (jsxs(Fragment
|
|
7756
|
+
_b)) }, { children: [jsxRuntime.jsx("div", { className: styles$n.map, id: "map" }, void 0),
|
|
7757
|
+
isLoading && (jsxRuntime.jsx("div", __assign({ className: styles$n['loading-spinner'] }, { children: jsxRuntime.jsx("div", { className: "ds-spinner ds-spinner__m" }, void 0) }), void 0))] }), void 0),
|
|
7758
|
+
jsxRuntime.jsx("div", __assign({ className: "wmx8" }, { children: manualAddressEntry === false ? (jsxRuntime.jsxs("div", __assign({ style: { position: 'relative' } }, { children: [jsxRuntime.jsx(Input, { className: "w100", id: "autocomplete", "data-cy": "autocomplete", type: "text", placeholder: "Search for address", ref: autocompleteElement }, void 0),
|
|
7759
|
+
hasLoadedGoogleAPI === false && (jsxRuntime.jsx("div", __assign({ className: styles$n['loading-spinner'] }, { children: jsxRuntime.jsx("div", { className: "ds-spinner ds-spinner__m" }, void 0) }), void 0))] }), void 0)) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", __assign({ className: "d-flex " + styles$n['input-line'] }, { children: [jsxRuntime.jsx(Input, { className: "w100", "data-cy": "autocomplete", type: "text", placeholder: "Street", value: (address === null || address === void 0 ? void 0 : address.street) || '', onChange: function (e) {
|
|
8552
7760
|
var newAddress = __assign(__assign({}, address), { street: e.target.value, country: GERMANY_ALPHA_CODE });
|
|
8553
7761
|
setAddress(newAddress);
|
|
8554
7762
|
debouncedSetPlace(newAddress);
|
|
8555
7763
|
} }, void 0),
|
|
8556
|
-
jsx(Input, { className: "wmx2 " + styles$n['house-number-input'], "data-cy": "autocomplete-house-number", placeholder: "House Number", value: (address === null || address === void 0 ? void 0 : address.houseNumber) || '', onChange: function (e) {
|
|
7764
|
+
jsxRuntime.jsx(Input, { className: "wmx2 " + styles$n['house-number-input'], "data-cy": "autocomplete-house-number", placeholder: "House Number", value: (address === null || address === void 0 ? void 0 : address.houseNumber) || '', onChange: function (e) {
|
|
8557
7765
|
var newAddress = __assign(__assign({}, address), { houseNumber: e.target.value, country: GERMANY_ALPHA_CODE });
|
|
8558
7766
|
setAddress(newAddress);
|
|
8559
7767
|
debouncedSetPlace(newAddress);
|
|
8560
7768
|
} }, void 0)] }), void 0),
|
|
8561
|
-
jsx(Input, { className: "mt16", "data-cy": "autocomplete-additional-info", placeholder: "Additional information (C/O, appartment\u2026)", value: (address === null || address === void 0 ? void 0 : address.additionalInformation) || '', onChange: function (e) {
|
|
7769
|
+
jsxRuntime.jsx(Input, { className: "mt16", "data-cy": "autocomplete-additional-info", placeholder: "Additional information (C/O, appartment\u2026)", value: (address === null || address === void 0 ? void 0 : address.additionalInformation) || '', onChange: function (e) {
|
|
8562
7770
|
var newAddress = __assign(__assign({}, address), { additionalInformation: e.target.value, country: GERMANY_ALPHA_CODE });
|
|
8563
7771
|
setAddress(newAddress);
|
|
8564
7772
|
} }, void 0),
|
|
8565
|
-
jsxs("div", __assign({ className: "d-flex mt16 " + styles$n['input-line'] }, { children: [jsx(Input, { className: "w100", "data-cy": "autocomplete-postcode", placeholder: "Postcode", value: (address === null || address === void 0 ? void 0 : address.postcode) || '', onChange: function (e) {
|
|
7773
|
+
jsxRuntime.jsxs("div", __assign({ className: "d-flex mt16 " + styles$n['input-line'] }, { children: [jsxRuntime.jsx(Input, { className: "w100", "data-cy": "autocomplete-postcode", placeholder: "Postcode", value: (address === null || address === void 0 ? void 0 : address.postcode) || '', onChange: function (e) {
|
|
8566
7774
|
var newAddress = __assign(__assign({}, address), { postcode: e.target.value, country: GERMANY_ALPHA_CODE });
|
|
8567
7775
|
setAddress(newAddress);
|
|
8568
7776
|
debouncedSetPlace(newAddress);
|
|
8569
7777
|
} }, void 0),
|
|
8570
|
-
jsx(Input, { className: "w100", "data-cy": "autocomplete-city", placeholder: "City", value: (address === null || address === void 0 ? void 0 : address.city) || '', onChange: function (e) {
|
|
7778
|
+
jsxRuntime.jsx(Input, { className: "w100", "data-cy": "autocomplete-city", placeholder: "City", value: (address === null || address === void 0 ? void 0 : address.city) || '', onChange: function (e) {
|
|
8571
7779
|
var newAddress = __assign(__assign({}, address), { city: e.target.value, country: GERMANY_ALPHA_CODE });
|
|
8572
7780
|
setAddress(newAddress);
|
|
8573
7781
|
debouncedSetPlace(newAddress);
|
|
8574
7782
|
} }, void 0)] }), void 0)] }, void 0)) }), void 0),
|
|
8575
|
-
manualAddressEntry === false && (jsxs("div", __assign({ className: "p-p mt8" }, { children: ["Or", ' ', jsx("span", __assign({ className: "p-a fw-bold c-pointer", onClick: handleEnterAddressManually }, { children: "Enter address manually" }), void 0)] }), void 0))] }, void 0));
|
|
7783
|
+
manualAddressEntry === false && (jsxRuntime.jsxs("div", __assign({ className: "p-p mt8" }, { children: ["Or", ' ', jsxRuntime.jsx("span", __assign({ className: "p-a fw-bold c-pointer", onClick: handleEnterAddressManually }, { children: "Enter address manually" }), void 0)] }), void 0))] }, void 0));
|
|
8576
7784
|
};
|
|
8577
7785
|
|
|
8578
7786
|
var css_248z$n = ".style-module_container__Uyltc {\n background-color: white;\n padding: 24px;\n box-shadow: 0px 2px 3px rgba(38, 38, 46, 0.04);\n border-radius: 8px;\n}\n@media (max-width: 34rem) {\n .style-module_container__Uyltc {\n padding: 16px;\n }\n}\n\n.style-module_upload-container__1-7aR {\n border: 1px dashed var(--ds-primary-500);\n padding: 32px 0;\n cursor: pointer;\n border-radius: 8px;\n}\n\n.style-module_upload-container__1-7aR:focus {\n outline: none;\n}\n\n.style-module_upload-container__1-7aR:hover {\n background-color: var(--ds-primary-100);\n transition: 0.5s ease;\n}\n\n.style-module_upload-container-disabled__34kCJ {\n pointer-events: none;\n}";
|
|
@@ -8710,16 +7918,16 @@ var UploadFileCell = (function (_a) {
|
|
|
8710
7918
|
COMPLETE: name,
|
|
8711
7919
|
ERROR: error !== null && error !== void 0 ? error : 'Something went wrong. Try uploading again.',
|
|
8712
7920
|
};
|
|
8713
|
-
return (jsxs("div", __assign({ className: classNames("mt8 " + styles$l['upload-file-cell'], (_b = {},
|
|
7921
|
+
return (jsxRuntime.jsxs("div", __assign({ className: classNames("mt8 " + styles$l['upload-file-cell'], (_b = {},
|
|
8714
7922
|
_b[styles$l['upload-file-cell-error']] = uploadStatus === 'ERROR',
|
|
8715
|
-
_b)) }, { children: [jsxs("div", __assign({ className: "w100 " + styles$l['cell-left-section'] }, { children: [jsx("img", { className: styles$l['main-icon'], src: mapFileIcon[uploadStatus], alt: "" }, void 0),
|
|
8716
|
-
jsxs("div", __assign({ className: "w100" }, { children: [jsx("div", __assign({ className: "p-p wmx5 " + styles$l['upload-display-text'] }, { children: mapDisplayText[uploadStatus] }), void 0),
|
|
8717
|
-
uploadStatus === 'UPLOADING' && (jsxs("div", __assign({ className: "mt8 w100 " + styles$l['progress-bar-container'] }, { children: [jsx("div", { className: "" + styles$l['progress-bar'] }, void 0),
|
|
8718
|
-
jsx("div", { className: "" + styles$l['progress-bar-filler'], style: { width: progress + "%" } }, void 0)] }), void 0))] }), void 0)] }), void 0),
|
|
8719
|
-
jsx("div", __assign({ className: classNames(styles$l['cell-right-section'], (_c = {},
|
|
7923
|
+
_b)) }, { children: [jsxRuntime.jsxs("div", __assign({ className: "w100 " + styles$l['cell-left-section'] }, { children: [jsxRuntime.jsx("img", { className: styles$l['main-icon'], src: mapFileIcon[uploadStatus], alt: "" }, void 0),
|
|
7924
|
+
jsxRuntime.jsxs("div", __assign({ className: "w100" }, { children: [jsxRuntime.jsx("div", __assign({ className: "p-p wmx5 " + styles$l['upload-display-text'] }, { children: mapDisplayText[uploadStatus] }), void 0),
|
|
7925
|
+
uploadStatus === 'UPLOADING' && (jsxRuntime.jsxs("div", __assign({ className: "mt8 w100 " + styles$l['progress-bar-container'] }, { children: [jsxRuntime.jsx("div", { className: "" + styles$l['progress-bar'] }, void 0),
|
|
7926
|
+
jsxRuntime.jsx("div", { className: "" + styles$l['progress-bar-filler'], style: { width: progress + "%" } }, void 0)] }), void 0))] }), void 0)] }), void 0),
|
|
7927
|
+
jsxRuntime.jsx("div", __assign({ className: classNames(styles$l['cell-right-section'], (_c = {},
|
|
8720
7928
|
_c[styles$l['cell-right-section-complete']] = uploadStatus === 'COMPLETE',
|
|
8721
|
-
_c)) }, { children: uploadStatus === 'UPLOADING' ? (jsx("div", { className: "p-spinner p-spinner__m " + styles$l.spinner }, void 0)) : (jsxs("div", { children: [uploadStatus === 'COMPLETE' && (jsx("a", __assign({ className: styles$l['view-icon'], href: previewUrl, target: "_blank", rel: "noopener noreferrer" }, { children: jsx("img", { src: icons.eyeIcon, alt: "preview" }, void 0) }), void 0)),
|
|
8722
|
-
jsx("img", { className: classNames(styles$l['remove-icon'], (_d = {},
|
|
7929
|
+
_c)) }, { children: uploadStatus === 'UPLOADING' ? (jsxRuntime.jsx("div", { className: "p-spinner p-spinner__m " + styles$l.spinner }, void 0)) : (jsxRuntime.jsxs("div", { children: [uploadStatus === 'COMPLETE' && (jsxRuntime.jsx("a", __assign({ className: styles$l['view-icon'], href: previewUrl, target: "_blank", rel: "noopener noreferrer" }, { children: jsxRuntime.jsx("img", { src: icons.eyeIcon, alt: "preview" }, void 0) }), void 0)),
|
|
7930
|
+
jsxRuntime.jsx("img", { className: classNames(styles$l['remove-icon'], (_d = {},
|
|
8723
7931
|
_d[styles$l.disabled] = uploading,
|
|
8724
7932
|
_d)), src: icons.trashIcon, onClick: function () { return onRemoveFile(id); }, alt: "remove" }, void 0)] }, void 0)) }), void 0)] }), void 0));
|
|
8725
7933
|
});
|
|
@@ -8736,32 +7944,32 @@ var getUploadStatus = function (progress, error) {
|
|
|
8736
7944
|
var index$7 = (function (_a) {
|
|
8737
7945
|
var _b;
|
|
8738
7946
|
var uploadedFiles = _a.uploadedFiles, onFileSelect = _a.onFileSelect, uploading = _a.uploading, onRemoveFile = _a.onRemoveFile;
|
|
8739
|
-
var onDrop = useCallback(function (acceptedFiles) {
|
|
7947
|
+
var onDrop = require$$0.useCallback(function (acceptedFiles) {
|
|
8740
7948
|
onFileSelect(acceptedFiles[0]);
|
|
8741
7949
|
}, [onFileSelect]);
|
|
8742
7950
|
var _c = useDropzone({ onDrop: onDrop }), getRootProps = _c.getRootProps, getInputProps = _c.getInputProps;
|
|
8743
|
-
return (jsxs("div", __assign({ className: "w100 " + styles$m.container }, { children: [jsxs("div", __assign({ className: classNames("w100 ta-center " + styles$m['upload-container'], (_b = {},
|
|
7951
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "w100 " + styles$m.container }, { children: [jsxRuntime.jsxs("div", __assign({ className: classNames("w100 ta-center " + styles$m['upload-container'], (_b = {},
|
|
8744
7952
|
_b[styles$m['upload-container-disabled']] = uploading,
|
|
8745
|
-
_b)) }, getRootProps(), { children: [jsx("input", __assign({}, getInputProps()), void 0),
|
|
8746
|
-
jsx("img", { src: icons.uploadIcon, alt: "" }, void 0),
|
|
8747
|
-
jsx("div", __assign({ className: "p-h4 mt8" }, { children: uploading
|
|
7953
|
+
_b)) }, getRootProps(), { children: [jsxRuntime.jsx("input", __assign({}, getInputProps()), void 0),
|
|
7954
|
+
jsxRuntime.jsx("img", { src: icons.uploadIcon, alt: "" }, void 0),
|
|
7955
|
+
jsxRuntime.jsx("div", __assign({ className: "p-h4 mt8" }, { children: uploading
|
|
8748
7956
|
? 'Please wait while uploading file...'
|
|
8749
7957
|
: 'Choose file or drag & drop' }), void 0),
|
|
8750
|
-
jsx("div", __assign({ className: "p-p--small tc-grey-500" }, { children: "Supports JPEG, PNG, PDF" }), void 0)] }), void 0),
|
|
8751
|
-
uploadedFiles.length > 0 && (jsx("div", __assign({ className: "w100 mt16" }, { children: uploadedFiles.map(function (file) {
|
|
7958
|
+
jsxRuntime.jsx("div", __assign({ className: "p-p--small tc-grey-500" }, { children: "Supports JPEG, PNG, PDF" }), void 0)] }), void 0),
|
|
7959
|
+
uploadedFiles.length > 0 && (jsxRuntime.jsx("div", __assign({ className: "w100 mt16" }, { children: uploadedFiles.map(function (file) {
|
|
8752
7960
|
var uploadStatus = getUploadStatus(file.progress, file.error);
|
|
8753
|
-
return (jsx(UploadFileCell, { uploadStatus: uploadStatus, file: file, onRemoveFile: onRemoveFile, uploading: uploading }, file.id));
|
|
7961
|
+
return (jsxRuntime.jsx(UploadFileCell, { uploadStatus: uploadStatus, file: file, onRemoveFile: onRemoveFile, uploading: uploading }, file.id));
|
|
8754
7962
|
}) }), void 0))] }), void 0));
|
|
8755
7963
|
});
|
|
8756
7964
|
|
|
8757
|
-
var CheckOutsideCircleIcon = (function () { return (jsxs("svg", __assign({ width: "63", height: "63", viewBox: "0 0 63 63", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsx("path", { d: "M57.75 29.0849V31.4999C57.7468 37.1605 55.9138 42.6684 52.5245 47.2022C49.1352 51.7359 44.3711 55.0526 38.9428 56.6576C33.5145 58.2626 27.7128 58.0699 22.403 56.1082C17.0932 54.1465 12.5597 50.5209 9.47877 45.7722C6.39782 41.0235 4.93445 35.4061 5.3069 29.7577C5.67935 24.1094 7.86767 18.7327 11.5455 14.4297C15.2233 10.1267 20.1936 7.12777 25.715 5.88027C31.2364 4.63278 37.0132 5.20352 42.1838 7.50739", stroke: "#90DF9B", strokeWidth: "5", strokeLinecap: "round", strokeLinejoin: "round" }, void 0),
|
|
8758
|
-
jsx("path", { d: "M57.75 10.5L31.5 36.7762L23.625 28.9012", stroke: "#90DF9B", strokeWidth: "5", strokeLinecap: "round", strokeLinejoin: "round" }, void 0)] }), void 0)); });
|
|
7965
|
+
var CheckOutsideCircleIcon = (function () { return (jsxRuntime.jsxs("svg", __assign({ width: "63", height: "63", viewBox: "0 0 63 63", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsxRuntime.jsx("path", { d: "M57.75 29.0849V31.4999C57.7468 37.1605 55.9138 42.6684 52.5245 47.2022C49.1352 51.7359 44.3711 55.0526 38.9428 56.6576C33.5145 58.2626 27.7128 58.0699 22.403 56.1082C17.0932 54.1465 12.5597 50.5209 9.47877 45.7722C6.39782 41.0235 4.93445 35.4061 5.3069 29.7577C5.67935 24.1094 7.86767 18.7327 11.5455 14.4297C15.2233 10.1267 20.1936 7.12777 25.715 5.88027C31.2364 4.63278 37.0132 5.20352 42.1838 7.50739", stroke: "#90DF9B", strokeWidth: "5", strokeLinecap: "round", strokeLinejoin: "round" }, void 0),
|
|
7966
|
+
jsxRuntime.jsx("path", { d: "M57.75 10.5L31.5 36.7762L23.625 28.9012", stroke: "#90DF9B", strokeWidth: "5", strokeLinecap: "round", strokeLinejoin: "round" }, void 0)] }), void 0)); });
|
|
8759
7967
|
|
|
8760
7968
|
var css_248z$l = ".style-module_stroke-primary-500__3E5m3 {\n stroke: var(--ds-primary-500);\n}\n\n.style-module_fill-primary-500__1_3Nh {\n fill: var(--ds-primary-500);\n}";
|
|
8761
7969
|
var styles$k = {"stroke-primary-500":"style-module_stroke-primary-500__3E5m3","fill-primary-500":"style-module_fill-primary-500__1_3Nh"};
|
|
8762
7970
|
styleInject(css_248z$l);
|
|
8763
7971
|
|
|
8764
|
-
var DownloadCloudIcon = (function () { return (jsx("svg", __assign({ width: "81", height: "60", viewBox: "0 0 81 60", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsx("path", { className: styles$k['fill-primary-500'], d: "M40.5003 0.52832C34.2609 0.52832 27.9875 2.90796 23.2303 7.66515C19.6924 11.203 17.5477 15.5917 16.6382 20.1682C7.40644 21.9591 0.40332 30.0216 0.40332 39.7537C0.40332 50.7951 9.41033 59.8022 20.4518 59.8022H51.4253C51.7718 59.8071 52.1159 59.7431 52.4374 59.6139C52.759 59.4846 53.0517 59.2928 53.2985 59.0495C53.5452 58.8062 53.7412 58.5163 53.8749 58.1965C54.0087 57.8768 54.0776 57.5337 54.0776 57.1872C54.0776 56.8406 54.0087 56.4975 53.8749 56.1778C53.7412 55.8581 53.5452 55.5682 53.2985 55.3249C53.0517 55.0816 52.759 54.8897 52.4374 54.7605C52.1159 54.6313 51.7718 54.5673 51.4253 54.5722H20.4518C12.237 54.5722 5.63336 47.9686 5.63336 39.7537C5.63336 31.9959 11.5333 25.6757 19.0898 24.9897C19.6825 24.9319 20.2376 24.6737 20.6636 24.2577C21.0895 23.8416 21.3608 23.2926 21.4325 22.7015C21.9136 18.5566 23.7477 14.5297 26.9349 11.3425C30.688 7.58956 35.5857 5.75836 40.5003 5.75836C45.415 5.75836 50.2818 7.58568 54.0385 11.3425C58.3797 15.6837 60.2168 21.5819 59.541 27.2233C59.4947 27.5909 59.5271 27.964 59.6359 28.3181C59.7447 28.6722 59.9274 28.9991 60.1721 29.2773C60.4168 29.5554 60.7177 29.7784 61.055 29.9315C61.3923 30.0845 61.7583 30.1642 62.1287 30.1652H63.1639C69.9698 30.1652 75.3673 35.5627 75.3673 42.3687C75.3673 49.1747 69.9698 54.5722 63.1639 54.5722H50.9604C50.6139 54.5673 50.2699 54.6313 49.9483 54.7605C49.6267 54.8897 49.334 55.0816 49.0873 55.3249C48.8405 55.5682 48.6445 55.8581 48.5108 56.1778C48.377 56.4975 48.3081 56.8406 48.3081 57.1872C48.3081 57.5337 48.377 57.8768 48.5108 58.1965C48.6445 58.5163 48.8405 58.8062 49.0873 59.0495C49.334 59.2928 49.6267 59.4846 49.9483 59.6139C50.2699 59.7431 50.6139 59.8071 50.9604 59.8022H63.1639C72.7768 59.8022 80.5973 51.9816 80.5973 42.3687C80.5973 33.2962 73.6081 25.9105 64.7438 25.0986C64.7847 18.7886 62.5435 12.4655 57.7431 7.66515C52.99 2.91184 46.7398 0.52832 40.5003 0.52832ZM40.5003 48.1024C39.6285 48.1024 39.1674 47.8218 38.7298 47.4214L29.1414 38.7047C28.0342 37.6771 28.0536 36.0095 28.9778 35C29.9022 33.9906 31.6684 33.9175 32.6825 34.8366L37.8853 39.5763V22.0877C37.8853 20.6435 39.0559 19.4727 40.5003 19.4727C41.9449 19.4727 43.1153 20.6435 43.1153 22.0877V39.5763L48.3182 34.8366C49.3324 33.9175 51.0451 34.0421 52.0228 35C53.053 36.0095 52.8643 37.7756 51.8593 38.7047L42.2709 47.4214C41.7528 47.8957 41.3722 48.1024 40.5003 48.1024Z" }, void 0) }), void 0)); });
|
|
7972
|
+
var DownloadCloudIcon = (function () { return (jsxRuntime.jsx("svg", __assign({ width: "81", height: "60", viewBox: "0 0 81 60", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsxRuntime.jsx("path", { className: styles$k['fill-primary-500'], d: "M40.5003 0.52832C34.2609 0.52832 27.9875 2.90796 23.2303 7.66515C19.6924 11.203 17.5477 15.5917 16.6382 20.1682C7.40644 21.9591 0.40332 30.0216 0.40332 39.7537C0.40332 50.7951 9.41033 59.8022 20.4518 59.8022H51.4253C51.7718 59.8071 52.1159 59.7431 52.4374 59.6139C52.759 59.4846 53.0517 59.2928 53.2985 59.0495C53.5452 58.8062 53.7412 58.5163 53.8749 58.1965C54.0087 57.8768 54.0776 57.5337 54.0776 57.1872C54.0776 56.8406 54.0087 56.4975 53.8749 56.1778C53.7412 55.8581 53.5452 55.5682 53.2985 55.3249C53.0517 55.0816 52.759 54.8897 52.4374 54.7605C52.1159 54.6313 51.7718 54.5673 51.4253 54.5722H20.4518C12.237 54.5722 5.63336 47.9686 5.63336 39.7537C5.63336 31.9959 11.5333 25.6757 19.0898 24.9897C19.6825 24.9319 20.2376 24.6737 20.6636 24.2577C21.0895 23.8416 21.3608 23.2926 21.4325 22.7015C21.9136 18.5566 23.7477 14.5297 26.9349 11.3425C30.688 7.58956 35.5857 5.75836 40.5003 5.75836C45.415 5.75836 50.2818 7.58568 54.0385 11.3425C58.3797 15.6837 60.2168 21.5819 59.541 27.2233C59.4947 27.5909 59.5271 27.964 59.6359 28.3181C59.7447 28.6722 59.9274 28.9991 60.1721 29.2773C60.4168 29.5554 60.7177 29.7784 61.055 29.9315C61.3923 30.0845 61.7583 30.1642 62.1287 30.1652H63.1639C69.9698 30.1652 75.3673 35.5627 75.3673 42.3687C75.3673 49.1747 69.9698 54.5722 63.1639 54.5722H50.9604C50.6139 54.5673 50.2699 54.6313 49.9483 54.7605C49.6267 54.8897 49.334 55.0816 49.0873 55.3249C48.8405 55.5682 48.6445 55.8581 48.5108 56.1778C48.377 56.4975 48.3081 56.8406 48.3081 57.1872C48.3081 57.5337 48.377 57.8768 48.5108 58.1965C48.6445 58.5163 48.8405 58.8062 49.0873 59.0495C49.334 59.2928 49.6267 59.4846 49.9483 59.6139C50.2699 59.7431 50.6139 59.8071 50.9604 59.8022H63.1639C72.7768 59.8022 80.5973 51.9816 80.5973 42.3687C80.5973 33.2962 73.6081 25.9105 64.7438 25.0986C64.7847 18.7886 62.5435 12.4655 57.7431 7.66515C52.99 2.91184 46.7398 0.52832 40.5003 0.52832ZM40.5003 48.1024C39.6285 48.1024 39.1674 47.8218 38.7298 47.4214L29.1414 38.7047C28.0342 37.6771 28.0536 36.0095 28.9778 35C29.9022 33.9906 31.6684 33.9175 32.6825 34.8366L37.8853 39.5763V22.0877C37.8853 20.6435 39.0559 19.4727 40.5003 19.4727C41.9449 19.4727 43.1153 20.6435 43.1153 22.0877V39.5763L48.3182 34.8366C49.3324 33.9175 51.0451 34.0421 52.0228 35C53.053 36.0095 52.8643 37.7756 51.8593 38.7047L42.2709 47.4214C41.7528 47.8957 41.3722 48.1024 40.5003 48.1024Z" }, void 0) }), void 0)); });
|
|
8765
7973
|
|
|
8766
7974
|
var css_248z$k = ".style-module_container__3JjNt {\n position: relative;\n display: flex;\n justify-content: center;\n}\n\n.style-module_button__V6Lgi {\n background-color: transparent;\n border: none;\n cursor: pointer;\n}\n\n.style-module_button__V6Lgi:hover .style-module_inner-circle-hover__SLIPe {\n animation: style-module_borderBlink__39PO3 1.3s ease-in-out infinite;\n}\n\n.style-module_button__V6Lgi:focus {\n outline: none;\n}\n\ncircle {\n transition: stroke-dashoffset 0.35s;\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n position: absolute;\n}\n\n.style-module_overlay-circle__2Q8LI {\n z-index: 1;\n stroke: var(--ds-primary-500);\n fill: transparent;\n}\n\n.style-module_overlay-circle-completed__1C1xp {\n z-index: 1;\n stroke: #90df9b;\n fill: rgba(144, 223, 155, 0.1);\n}\n\n.style-module_inner-circle__2MySo {\n z-index: 0;\n stroke: var(--ds-primary-100);\n fill: transparent;\n}\n\n.style-module_text-container__2Rn84 {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n@keyframes style-module_borderBlink__39PO3 {\n from, to {\n stroke: var(--ds-primary-100);\n }\n 50% {\n stroke: var(--ds-primary-500);\n }\n}";
|
|
8767
7975
|
var styles$j = {"container":"style-module_container__3JjNt","button":"style-module_button__V6Lgi","inner-circle-hover":"style-module_inner-circle-hover__SLIPe","borderBlink":"style-module_borderBlink__39PO3","overlay-circle":"style-module_overlay-circle__2Q8LI","overlay-circle-completed":"style-module_overlay-circle-completed__1C1xp","inner-circle":"style-module_inner-circle__2MySo","text-container":"style-module_text-container__2Rn84"};
|
|
@@ -8782,14 +7990,14 @@ var index$6 = (function (_a) {
|
|
|
8782
7990
|
var normalizedRadius = RADIUS - STROKE * 2;
|
|
8783
7991
|
var circumference = normalizedRadius * 2 * Math.PI;
|
|
8784
7992
|
var strokeDashoffset = circumference - (progress / 100) * circumference;
|
|
8785
|
-
return (jsx("div", __assign({ className: "w100 " + styles$j.container }, { children: jsxs("button", __assign({ className: styles$j.button, type: "button", onClick: handleClick, "data-cy": "download-documents-button" }, { children: [jsxs("svg", __assign({ height: RADIUS * 2, width: RADIUS * 2 }, { children: [jsx("circle", { className: classNames("" + styles$j['inner-circle'], (_b = {},
|
|
7993
|
+
return (jsxRuntime.jsx("div", __assign({ className: "w100 " + styles$j.container }, { children: jsxRuntime.jsxs("button", __assign({ className: styles$j.button, type: "button", onClick: handleClick, "data-cy": "download-documents-button" }, { children: [jsxRuntime.jsxs("svg", __assign({ height: RADIUS * 2, width: RADIUS * 2 }, { children: [jsxRuntime.jsx("circle", { className: classNames("" + styles$j['inner-circle'], (_b = {},
|
|
8786
7994
|
_b[styles$j['inner-circle-hover']] = progress === 0,
|
|
8787
7995
|
_b)), strokeWidth: STROKE, strokeDasharray: circumference + ' ' + circumference, r: normalizedRadius, cx: RADIUS, cy: RADIUS }, void 0),
|
|
8788
|
-
jsx("circle", { className: status === 'COMPLETED'
|
|
7996
|
+
jsxRuntime.jsx("circle", { className: status === 'COMPLETED'
|
|
8789
7997
|
? styles$j['overlay-circle-completed']
|
|
8790
7998
|
: styles$j['overlay-circle'], strokeWidth: STROKE, strokeDasharray: circumference + ' ' + circumference, style: { strokeDashoffset: strokeDashoffset }, r: normalizedRadius, cx: RADIUS, cy: RADIUS }, void 0)] }), void 0),
|
|
8791
|
-
jsxs("div", __assign({ className: "ws2 " + styles$j['text-container'] }, { children: [status === 'COMPLETED' ? (jsx(CheckOutsideCircleIcon, {}, void 0)) : (jsx(DownloadCloudIcon, {}, void 0)),
|
|
8792
|
-
jsx("div", __assign({ className: "p-p mt8" }, { children: mappingStatus[status] }), void 0)] }), void 0)] }), void 0) }), void 0));
|
|
7999
|
+
jsxRuntime.jsxs("div", __assign({ className: "ws2 " + styles$j['text-container'] }, { children: [status === 'COMPLETED' ? (jsxRuntime.jsx(CheckOutsideCircleIcon, {}, void 0)) : (jsxRuntime.jsx(DownloadCloudIcon, {}, void 0)),
|
|
8000
|
+
jsxRuntime.jsx("div", __assign({ className: "p-p mt8" }, { children: mappingStatus[status] }), void 0)] }), void 0)] }), void 0) }), void 0));
|
|
8793
8001
|
});
|
|
8794
8002
|
|
|
8795
8003
|
var css_248z$j = ".styles-module_content-container__4wuQ0 {\n display: flex;\n justify-content: center;\n align-items: center;\n}";
|
|
@@ -8802,12 +8010,12 @@ var buttonTypeClassNameMap = {
|
|
|
8802
8010
|
outline: 'p-btn--outline',
|
|
8803
8011
|
outlineGrey: 'p-btn--outline-grey',
|
|
8804
8012
|
};
|
|
8805
|
-
var Button = require$$
|
|
8013
|
+
var Button = require$$0__default['default'].forwardRef(function (_a, ref) {
|
|
8806
8014
|
var className = _a.className, _b = _a.loading, loading = _b === void 0 ? false : _b, buttonTitle = _a.buttonTitle, _c = _a.buttonType, buttonType = _c === void 0 ? 'primary' : _c, leftIcon = _a.leftIcon; _a.type; var props = __rest(_a, ["className", "loading", "buttonTitle", "buttonType", "leftIcon", "type"]);
|
|
8807
8015
|
var buttonClassName = buttonTypeClassNameMap[buttonType];
|
|
8808
8016
|
var loadingClassName = loading ? 'p-btn--loading' : '';
|
|
8809
|
-
return (jsx("button", __assign({ ref: ref, className: buttonClassName + " " + loadingClassName + " " + (className !== null && className !== void 0 ? className : '') }, props, { children: leftIcon ? (jsxs("div", __assign({ className: styles$i['content-container'] }, { children: [jsx("img", { width: "20px", height: "20px", className: "mr8", src: leftIcon.src, alt: leftIcon.alt }, void 0),
|
|
8810
|
-
jsx("div", { children: buttonTitle }, void 0)] }), void 0)) : (jsx(Fragment
|
|
8017
|
+
return (jsxRuntime.jsx("button", __assign({ ref: ref, className: buttonClassName + " " + loadingClassName + " " + (className !== null && className !== void 0 ? className : '') }, props, { children: leftIcon ? (jsxRuntime.jsxs("div", __assign({ className: styles$i['content-container'] }, { children: [jsxRuntime.jsx("img", { width: "20px", height: "20px", className: "mr8", src: leftIcon.src, alt: leftIcon.alt }, void 0),
|
|
8018
|
+
jsxRuntime.jsx("div", { children: buttonTitle }, void 0)] }), void 0)) : (jsxRuntime.jsx(jsxRuntime.Fragment, { children: buttonTitle }, void 0)) }), void 0));
|
|
8811
8019
|
});
|
|
8812
8020
|
|
|
8813
8021
|
var checkIcon = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.6666%205.83203L7.49992%2014.9987L3.33325%2010.832%22%20stroke%3D%22%23B4B4BA%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E";
|
|
@@ -8820,22 +8028,22 @@ styleInject(css_248z$i);
|
|
|
8820
8028
|
|
|
8821
8029
|
var InitialButton = function (_a) {
|
|
8822
8030
|
var onDownload = _a.onDownload;
|
|
8823
|
-
return (jsx(Button, { className: "w100 " + styles$h.button, buttonTitle: "Download", leftIcon: { src: downloadIcon, alt: 'download arrow icon' }, onClick: onDownload, "data-cy": "download-documents-button" }, void 0));
|
|
8031
|
+
return (jsxRuntime.jsx(Button, { className: "w100 " + styles$h.button, buttonTitle: "Download", leftIcon: { src: downloadIcon, alt: 'download arrow icon' }, onClick: onDownload, "data-cy": "download-documents-button" }, void 0));
|
|
8824
8032
|
};
|
|
8825
8033
|
// TODO: Allow setting loading to true to display text
|
|
8826
|
-
var GeneratingButton = function () { return (jsx(Button, { className: "w100 " + styles$h.button, buttonTitle: "Generating", loading: true }, void 0)); };
|
|
8827
|
-
var CompletedChip = function () { return (jsxs("div", __assign({ className: styles$h['chip-complete'] }, { children: [jsx("img", { src: checkIcon, alt: "grey check" }, void 0),
|
|
8828
|
-
jsx("div", __assign({ className: "p-h4 tc-grey-500 ml8" }, { children: "Download complete" }), void 0)] }), void 0)); };
|
|
8034
|
+
var GeneratingButton = function () { return (jsxRuntime.jsx(Button, { className: "w100 " + styles$h.button, buttonTitle: "Generating", loading: true }, void 0)); };
|
|
8035
|
+
var CompletedChip = function () { return (jsxRuntime.jsxs("div", __assign({ className: styles$h['chip-complete'] }, { children: [jsxRuntime.jsx("img", { src: checkIcon, alt: "grey check" }, void 0),
|
|
8036
|
+
jsxRuntime.jsx("div", __assign({ className: "p-h4 tc-grey-500 ml8" }, { children: "Download complete" }), void 0)] }), void 0)); };
|
|
8829
8037
|
var DownloadButton = function (_a) {
|
|
8830
8038
|
var downloadStatus = _a.downloadStatus, onDownload = _a.onDownload, _b = _a.className, className = _b === void 0 ? '' : _b, customFail = _a.customFail;
|
|
8831
8039
|
var mapDownloadButton = {
|
|
8832
|
-
INITIAL: jsx(InitialButton, { onDownload: onDownload }, void 0),
|
|
8833
|
-
GENERATING: jsx(GeneratingButton, {}, void 0),
|
|
8834
|
-
COMPLETED: jsx(CompletedChip, {}, void 0),
|
|
8835
|
-
FAILED: jsx(InitialButton, { onDownload: onDownload }, void 0),
|
|
8040
|
+
INITIAL: jsxRuntime.jsx(InitialButton, { onDownload: onDownload }, void 0),
|
|
8041
|
+
GENERATING: jsxRuntime.jsx(GeneratingButton, {}, void 0),
|
|
8042
|
+
COMPLETED: jsxRuntime.jsx(CompletedChip, {}, void 0),
|
|
8043
|
+
FAILED: jsxRuntime.jsx(InitialButton, { onDownload: onDownload }, void 0),
|
|
8836
8044
|
};
|
|
8837
|
-
return (jsxs("div", __assign({ className: "d-flex fd-column ai-center " + className }, { children: [jsx("div", __assign({ className: "ws4" }, { children: mapDownloadButton[downloadStatus] }), void 0),
|
|
8838
|
-
downloadStatus === 'FAILED' && (jsx("div", __assign({ className: "p-notice p-notice--danger p-p mt40 wmx5" }, { children: customFail !== null && customFail !== void 0 ? customFail : 'An error occured when generating documents. Please try again or contact us.' }), void 0))] }), void 0));
|
|
8045
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "d-flex fd-column ai-center " + className }, { children: [jsxRuntime.jsx("div", __assign({ className: "ws4" }, { children: mapDownloadButton[downloadStatus] }), void 0),
|
|
8046
|
+
downloadStatus === 'FAILED' && (jsxRuntime.jsx("div", __assign({ className: "p-notice p-notice--danger p-p mt40 wmx5" }, { children: customFail !== null && customFail !== void 0 ? customFail : 'An error occured when generating documents. Please try again or contact us.' }), void 0))] }), void 0));
|
|
8839
8047
|
};
|
|
8840
8048
|
|
|
8841
8049
|
var IBAN_CHAR_LIMIT = 4;
|
|
@@ -8858,7 +8066,7 @@ var formatIban = function (iban) {
|
|
|
8858
8066
|
|
|
8859
8067
|
var IbanInput = function (_a) {
|
|
8860
8068
|
var value = _a.value, onChange = _a.onChange, props = __rest(_a, ["value", "onChange"]);
|
|
8861
|
-
return (jsx(Input, __assign({ value: formatIban(value), onChange: function (e) { return onChange(formatIban(e.target.value)); } }, props), void 0));
|
|
8069
|
+
return (jsxRuntime.jsx(Input, __assign({ value: formatIban(value), onChange: function (e) { return onChange(formatIban(e.target.value)); } }, props), void 0));
|
|
8862
8070
|
};
|
|
8863
8071
|
|
|
8864
8072
|
var formatInput = function (input) {
|
|
@@ -8878,7 +8086,7 @@ function reverseFormatInput(input) {
|
|
|
8878
8086
|
|
|
8879
8087
|
var CurrencyInput = function (_a) {
|
|
8880
8088
|
var value = _a.value, onChange = _a.onChange; _a.type; var props = __rest(_a, ["value", "onChange", "type"]);
|
|
8881
|
-
var _b = useState(''), shadowValue = _b[0], setShadowValue = _b[1];
|
|
8089
|
+
var _b = require$$0.useState(''), shadowValue = _b[0], setShadowValue = _b[1];
|
|
8882
8090
|
var formattedShadowValue = formatInput(shadowValue
|
|
8883
8091
|
.replace(/ /g, '') // remove all whitespace
|
|
8884
8092
|
.replace(',', '.') // change commas to dot for decimal separator
|
|
@@ -8887,17 +8095,17 @@ var CurrencyInput = function (_a) {
|
|
|
8887
8095
|
.replace('DECIMAL_SEPARATOR', '.') // End of the Gymnastic 🤸
|
|
8888
8096
|
.replace(/[^\d\\.]/g, '') // remove all non decimal and dot
|
|
8889
8097
|
);
|
|
8890
|
-
useEffect(function () {
|
|
8098
|
+
require$$0.useEffect(function () {
|
|
8891
8099
|
if (value && value !== reverseFormatInput(shadowValue)) {
|
|
8892
8100
|
setShadowValue(formatInput(value.toString()));
|
|
8893
8101
|
}
|
|
8894
8102
|
// eslint-disable-next-line
|
|
8895
8103
|
}, [value]);
|
|
8896
|
-
useEffect(function () {
|
|
8104
|
+
require$$0.useEffect(function () {
|
|
8897
8105
|
onChange === null || onChange === void 0 ? void 0 : onChange(reverseFormatInput(shadowValue));
|
|
8898
8106
|
// eslint-disable-next-line
|
|
8899
8107
|
}, [shadowValue]);
|
|
8900
|
-
return (jsx(Input, __assign({ prefix: "\u20AC", type: "string", value: formattedShadowValue, onChange: function (e) {
|
|
8108
|
+
return (jsxRuntime.jsx(Input, __assign({ prefix: "\u20AC", type: "string", value: formattedShadowValue, onChange: function (e) {
|
|
8901
8109
|
setShadowValue(e.target.value);
|
|
8902
8110
|
} }, props), void 0));
|
|
8903
8111
|
};
|
|
@@ -8909,15 +8117,15 @@ styleInject(css_248z$h);
|
|
|
8909
8117
|
var imageClose$1 = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M18%206L6%2018%22%20stroke%3D%22%2326262E%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6%206L18%2018%22%20stroke%3D%22%2326262E%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E";
|
|
8910
8118
|
|
|
8911
8119
|
var useOnClose = function (onClose, isOpen, dismissable) {
|
|
8912
|
-
var _a = useState(false), isClosing = _a[0], setIsClosing = _a[1];
|
|
8913
|
-
var handleOnClose = useCallback(function () {
|
|
8120
|
+
var _a = require$$0.useState(false), isClosing = _a[0], setIsClosing = _a[1];
|
|
8121
|
+
var handleOnClose = require$$0.useCallback(function () {
|
|
8914
8122
|
setIsClosing(true);
|
|
8915
8123
|
setTimeout(function () {
|
|
8916
8124
|
onClose();
|
|
8917
8125
|
setIsClosing(false);
|
|
8918
8126
|
}, 300);
|
|
8919
8127
|
}, [setIsClosing, onClose]);
|
|
8920
|
-
var handleEscKey = useCallback(function (e) {
|
|
8128
|
+
var handleEscKey = require$$0.useCallback(function (e) {
|
|
8921
8129
|
if (e.code !== 'Escape')
|
|
8922
8130
|
return;
|
|
8923
8131
|
if (!dismissable)
|
|
@@ -8926,13 +8134,13 @@ var useOnClose = function (onClose, isOpen, dismissable) {
|
|
|
8926
8134
|
return null;
|
|
8927
8135
|
handleOnClose();
|
|
8928
8136
|
}, [isOpen, dismissable, handleOnClose]);
|
|
8929
|
-
useEffect(function () {
|
|
8137
|
+
require$$0.useEffect(function () {
|
|
8930
8138
|
window.addEventListener('keydown', handleEscKey);
|
|
8931
8139
|
return function () {
|
|
8932
8140
|
window.removeEventListener('keydown', handleEscKey);
|
|
8933
8141
|
};
|
|
8934
8142
|
}, [handleEscKey]);
|
|
8935
|
-
useEffect(function () {
|
|
8143
|
+
require$$0.useEffect(function () {
|
|
8936
8144
|
document.body.style.overflow = isOpen ? 'hidden' : 'auto';
|
|
8937
8145
|
return function () {
|
|
8938
8146
|
document.body.style.overflow = 'auto';
|
|
@@ -8946,19 +8154,19 @@ var useOnClose = function (onClose, isOpen, dismissable) {
|
|
|
8946
8154
|
|
|
8947
8155
|
var BottomModal = (function (_a) {
|
|
8948
8156
|
var title = _a.title, isOpen = _a.isOpen, children = _a.children, onClose = _a.onClose, _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.dismissible, dismissible = _c === void 0 ? true : _c;
|
|
8949
|
-
var _d = useState(0), containerXOffset = _d[0], setContainerXOffset = _d[1];
|
|
8157
|
+
var _d = require$$0.useState(0), containerXOffset = _d[0], setContainerXOffset = _d[1];
|
|
8950
8158
|
var _e = useOnClose(onClose, isOpen, dismissible), isClosing = _e.isClosing, handleContainerClick = _e.handleContainerClick, handleOnClose = _e.handleOnClose;
|
|
8951
|
-
var containerRef = useCallback(function (node) {
|
|
8159
|
+
var containerRef = require$$0.useCallback(function (node) {
|
|
8952
8160
|
if (node !== null) {
|
|
8953
8161
|
setContainerXOffset(Math.max(window.innerHeight * 0.1, window.innerHeight - node.getBoundingClientRect().height));
|
|
8954
8162
|
}
|
|
8955
8163
|
}, []);
|
|
8956
8164
|
if (!isOpen) {
|
|
8957
|
-
return jsx(Fragment
|
|
8165
|
+
return jsxRuntime.jsx(jsxRuntime.Fragment, {}, void 0);
|
|
8958
8166
|
}
|
|
8959
|
-
return (jsx("div", __assign({ className: isClosing ? styles$g['overlay--close'] : styles$g.overlay, onClick: handleOnClose }, { children: jsxs("div", __assign({ className: (isClosing ? styles$g['container--close'] : styles$g.container) + " " + className, ref: containerRef, style: { top: containerXOffset + "px" }, onClick: handleContainerClick }, { children: [jsxs("div", __assign({ className: styles$g.header }, { children: [jsx("div", __assign({ className: "p-h4 " + styles$g.title }, { children: title }), void 0),
|
|
8960
|
-
dismissible && (jsx("button", __assign({ type: "button", className: styles$g.close, onClick: handleOnClose }, { children: jsx("img", { src: imageClose$1, alt: "Close" }, void 0) }), void 0))] }), void 0),
|
|
8961
|
-
jsx("div", __assign({ className: styles$g.content }, { children: children }), void 0)] }), void 0) }), void 0));
|
|
8167
|
+
return (jsxRuntime.jsx("div", __assign({ className: isClosing ? styles$g['overlay--close'] : styles$g.overlay, onClick: handleOnClose }, { children: jsxRuntime.jsxs("div", __assign({ className: (isClosing ? styles$g['container--close'] : styles$g.container) + " " + className, ref: containerRef, style: { top: containerXOffset + "px" }, onClick: handleContainerClick }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$g.header }, { children: [jsxRuntime.jsx("div", __assign({ className: "p-h4 " + styles$g.title }, { children: title }), void 0),
|
|
8168
|
+
dismissible && (jsxRuntime.jsx("button", __assign({ type: "button", className: styles$g.close, onClick: handleOnClose }, { children: jsxRuntime.jsx("img", { src: imageClose$1, alt: "Close" }, void 0) }), void 0))] }), void 0),
|
|
8169
|
+
jsxRuntime.jsx("div", __assign({ className: styles$g.content }, { children: children }), void 0)] }), void 0) }), void 0));
|
|
8962
8170
|
});
|
|
8963
8171
|
|
|
8964
8172
|
var css_248z$g = "@keyframes style-module_fade-in__nLzzO {\n 0% {\n background-color: rgba(0, 0, 0, 0);\n visibility: hidden;\n }\n 100% {\n background-color: rgba(0, 0, 0, 0.3);\n visibility: visible;\n }\n}\n@keyframes style-module_fade-out__IuSV7 {\n from {\n background-color: rgba(0, 0, 0, 0.3);\n visibility: visible;\n }\n to {\n background-color: rgba(0, 0, 0, 0);\n visibility: hidden;\n }\n}\n@keyframes style-module_appear-in__2ZMqz {\n 0% {\n transform: translateY(24px) translateX(-50%);\n opacity: 0;\n visibility: hidden;\n }\n 100% {\n transform: translateY(0) translateX(-50%);\n opacity: 1;\n visibility: visible;\n }\n}\n@keyframes style-module_disappear-out__38TSV {\n 0% {\n transform: translateY(0) translateX(-50%);\n opacity: 1;\n visibility: visible;\n }\n 100% {\n transform: translateY(24px) translateX(-50%);\n opacity: 0;\n visibility: hidden;\n }\n}\n.style-module_overlay__1Zbce, .style-module_overlay--close__2dytn {\n position: fixed;\n z-index: 100;\n overflow: auto;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n animation: style-module_fade-in__nLzzO 0.3s both;\n}\n.style-module_overlay--close__2dytn {\n animation-delay: 0.1s;\n animation: style-module_fade-out__IuSV7 0.3s both;\n}\n\n.style-module_container__1XZj_, .style-module_container--close__3UYsJ {\n position: relative;\n background-color: white;\n border-radius: 8px;\n max-width: 592px;\n width: fit-content;\n width: -moz-fit-content;\n animation-name: style-module_appear-in__2ZMqz;\n animation-duration: 0.4s;\n animation-fill-mode: both;\n animation-timing-function: ease-out;\n top: calc(100vh / 2 - 50% / 2);\n left: 50%;\n transform: translateX(-50%);\n margin-bottom: 80px;\n}\n.style-module_container--close__3UYsJ {\n animation-name: style-module_disappear-out__38TSV;\n animation-duration: 0.4s;\n animation-delay: 0s;\n animation-fill-mode: both;\n animation-timing-function: ease-out;\n}\n\n.style-module_header__2oEKp {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 24px 24px 0 24px;\n}\n\n.style-module_close__p3Axi {\n border: none;\n background-color: transparent;\n cursor: pointer;\n}";
|
|
@@ -8971,10 +8179,10 @@ var RegularModal = (function (_a) {
|
|
|
8971
8179
|
var title = _a.title, isOpen = _a.isOpen, children = _a.children, onClose = _a.onClose, _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.dismissible, dismissible = _c === void 0 ? true : _c;
|
|
8972
8180
|
var _d = useOnClose(onClose, isOpen, dismissible), isClosing = _d.isClosing, handleContainerClick = _d.handleContainerClick, handleOnClose = _d.handleOnClose;
|
|
8973
8181
|
if (!isOpen) {
|
|
8974
|
-
return jsx(Fragment
|
|
8182
|
+
return jsxRuntime.jsx(jsxRuntime.Fragment, {}, void 0);
|
|
8975
8183
|
}
|
|
8976
|
-
return (jsx("div", __assign({ className: isClosing ? styles$f['overlay--close'] : styles$f.overlay, onClick: handleOnClose }, { children: jsxs("div", __assign({ className: (isClosing ? styles$f['container--close'] : styles$f.container) + " " + className, onClick: handleContainerClick }, { children: [jsxs("div", __assign({ className: styles$f.header }, { children: [jsx("div", __assign({ className: "p-h2 " + styles$f.title }, { children: title }), void 0),
|
|
8977
|
-
dismissible && (jsx("button", __assign({ type: "button", className: styles$f.close, onClick: handleOnClose }, { children: jsx("img", { src: imageClose, alt: "Close" }, void 0) }), void 0))] }), void 0), children] }), void 0) }), void 0));
|
|
8184
|
+
return (jsxRuntime.jsx("div", __assign({ className: isClosing ? styles$f['overlay--close'] : styles$f.overlay, onClick: handleOnClose }, { children: jsxRuntime.jsxs("div", __assign({ className: (isClosing ? styles$f['container--close'] : styles$f.container) + " " + className, onClick: handleContainerClick }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$f.header }, { children: [jsxRuntime.jsx("div", __assign({ className: "p-h2 " + styles$f.title }, { children: title }), void 0),
|
|
8185
|
+
dismissible && (jsxRuntime.jsx("button", __assign({ type: "button", className: styles$f.close, onClick: handleOnClose }, { children: jsxRuntime.jsx("img", { src: imageClose, alt: "Close" }, void 0) }), void 0))] }), void 0), children] }), void 0) }), void 0));
|
|
8978
8186
|
});
|
|
8979
8187
|
|
|
8980
8188
|
var css_248z$f = "@media (min-width: 34rem) {\n .style-module_mobile__3k175 {\n display: none;\n }\n}\n@media (max-width: 34rem) {\n .style-module_mobile__3k175 {\n display: block !important;\n }\n}\n\n@media (max-width: 34rem) {\n .style-module_desktop__2lclr {\n display: none;\n }\n}";
|
|
@@ -8983,23 +8191,23 @@ styleInject(css_248z$f);
|
|
|
8983
8191
|
|
|
8984
8192
|
var index$5 = (function (_a) {
|
|
8985
8193
|
var isOpen = _a.isOpen, props = __rest(_a, ["isOpen"]);
|
|
8986
|
-
var mobileRef = useRef(null);
|
|
8987
|
-
var _b = useState('desktop'), visibleSize = _b[0], setVisibleSize = _b[1];
|
|
8194
|
+
var mobileRef = require$$0.useRef(null);
|
|
8195
|
+
var _b = require$$0.useState('desktop'), visibleSize = _b[0], setVisibleSize = _b[1];
|
|
8988
8196
|
var handleResize = function () {
|
|
8989
8197
|
setVisibleSize(mobileRef.current !== null &&
|
|
8990
8198
|
window.getComputedStyle(mobileRef.current).display !== 'none'
|
|
8991
8199
|
? 'mobile'
|
|
8992
8200
|
: 'desktop');
|
|
8993
8201
|
};
|
|
8994
|
-
useEffect(function () {
|
|
8202
|
+
require$$0.useEffect(function () {
|
|
8995
8203
|
window.addEventListener('resize', handleResize);
|
|
8996
8204
|
handleResize();
|
|
8997
8205
|
return function () {
|
|
8998
8206
|
window.removeEventListener('resize', handleResize);
|
|
8999
8207
|
};
|
|
9000
8208
|
}, []);
|
|
9001
|
-
return (jsxs(Fragment
|
|
9002
|
-
visibleSize === 'desktop' && (jsx("div", __assign({ className: styles$e.desktop }, { children: jsx(RegularModal, __assign({}, props, { isOpen: isOpen }), void 0) }), void 0))] }, void 0));
|
|
8209
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", __assign({ className: styles$e.mobile, ref: mobileRef }, { children: visibleSize === 'mobile' && jsxRuntime.jsx(BottomModal, __assign({}, props, { isOpen: isOpen }), void 0) }), void 0),
|
|
8210
|
+
visibleSize === 'desktop' && (jsxRuntime.jsx("div", __assign({ className: styles$e.desktop }, { children: jsxRuntime.jsx(RegularModal, __assign({}, props, { isOpen: isOpen }), void 0) }), void 0))] }, void 0));
|
|
9003
8211
|
});
|
|
9004
8212
|
|
|
9005
8213
|
var arrowRightImage = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%2012H19%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12%205L19%2012L12%2019%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E";
|
|
@@ -9046,10 +8254,10 @@ var index$4 = (function (_a) {
|
|
|
9046
8254
|
var headingStyle = headingForCardSize(cardSize);
|
|
9047
8255
|
var iconStyle = styles$d['right-icon'];
|
|
9048
8256
|
var cardTextStyle = "p-p tc-grey-600 " + (cardSize === 'xsmall' ? styles$d.indent : 'mt16');
|
|
9049
|
-
return (jsxs("div", __assign({ className: cardStyle }, props, { children: [jsxs("div", __assign({ className: titleContainerStyle }, { children: [leftIcon && (jsx("img", { className: "mr8", width: "28px", height: "28px", src: leftIcon === 'logo' ? featherLogo.src : leftIcon.src, alt: leftIcon === 'logo' ? featherLogo.alt : leftIcon.src }, void 0)),
|
|
9050
|
-
jsx("div", __assign({ className: headingStyle }, { children: title }), void 0),
|
|
9051
|
-
rightIcon && (jsx("img", { className: iconStyle, width: "24px", height: "24px", src: rightIcon === 'arrow' ? arrowRight.src : rightIcon.src, alt: rightIcon === 'arrow' ? arrowRight.alt : rightIcon.alt }, void 0))] }), void 0),
|
|
9052
|
-
jsx("p", __assign({ className: cardTextStyle }, { children: children }), void 0)] }), void 0));
|
|
8257
|
+
return (jsxRuntime.jsxs("div", __assign({ className: cardStyle }, props, { children: [jsxRuntime.jsxs("div", __assign({ className: titleContainerStyle }, { children: [leftIcon && (jsxRuntime.jsx("img", { className: "mr8", width: "28px", height: "28px", src: leftIcon === 'logo' ? featherLogo.src : leftIcon.src, alt: leftIcon === 'logo' ? featherLogo.alt : leftIcon.src }, void 0)),
|
|
8258
|
+
jsxRuntime.jsx("div", __assign({ className: headingStyle }, { children: title }), void 0),
|
|
8259
|
+
rightIcon && (jsxRuntime.jsx("img", { className: iconStyle, width: "24px", height: "24px", src: rightIcon === 'arrow' ? arrowRight.src : rightIcon.src, alt: rightIcon === 'arrow' ? arrowRight.alt : rightIcon.alt }, void 0))] }), void 0),
|
|
8260
|
+
jsxRuntime.jsx("p", __assign({ className: cardTextStyle }, { children: children }), void 0)] }), void 0));
|
|
9053
8261
|
});
|
|
9054
8262
|
|
|
9055
8263
|
var css_248z$d = ".style-module_container__384bg {\n padding: 24px 24px 24px 32px;\n}\n.style-module_container--small__35EZ1 {\n padding: 16px 24px 16px 32px;\n}\n.style-module_container--xsmall__2DDsN {\n padding: 16px 16px 16px 24px;\n}\n\n.style-module_card-text--small__1L_Fe {\n margin-top: 2px;\n}\n\n.style-module_card-text--medium__qoKv2 {\n margin-top: 4px;\n}\n\n.style-module_card-text--big__mMB2v {\n margin-top: 6px;\n}";
|
|
@@ -9083,10 +8291,10 @@ var index$3 = (function (_a) {
|
|
|
9083
8291
|
var headingStyle = headingForCardSize(cardSize);
|
|
9084
8292
|
var iconStyle = cardSize === 'xsmall' ? 'mr16' : 'mr32';
|
|
9085
8293
|
var cardTextStyle = "tc-grey-600 " + (cardSize === 'xsmall' ? 'p-p--small' : 'p-p ') + " " + styles$c[cardTextStyleFromCardSize(cardSize)];
|
|
9086
|
-
return (jsxs("div", __assign({ className: cardStyle }, props, { children: [leftIcon && (jsx("img", { width: "48px", height: "48px", className: iconStyle, src: leftIcon.src, alt: leftIcon.alt }, void 0)),
|
|
9087
|
-
jsxs("div", { children: [jsxs("div", __assign({ className: "d-flex" }, { children: [jsx("div", __assign({ className: headingStyle }, { children: title }), void 0),
|
|
9088
|
-
rightIcon && (jsx("img", { className: "ml-auto", width: "24px", height: "24px", src: rightIcon === 'arrow' ? arrowRight.src : rightIcon.src, alt: rightIcon === 'arrow' ? arrowRight.alt : rightIcon.alt }, void 0))] }), void 0),
|
|
9089
|
-
jsx("p", __assign({ className: cardTextStyle }, { children: children }), void 0)] }, void 0)] }), void 0));
|
|
8294
|
+
return (jsxRuntime.jsxs("div", __assign({ className: cardStyle }, props, { children: [leftIcon && (jsxRuntime.jsx("img", { width: "48px", height: "48px", className: iconStyle, src: leftIcon.src, alt: leftIcon.alt }, void 0)),
|
|
8295
|
+
jsxRuntime.jsxs("div", { children: [jsxRuntime.jsxs("div", __assign({ className: "d-flex" }, { children: [jsxRuntime.jsx("div", __assign({ className: headingStyle }, { children: title }), void 0),
|
|
8296
|
+
rightIcon && (jsxRuntime.jsx("img", { className: "ml-auto", width: "24px", height: "24px", src: rightIcon === 'arrow' ? arrowRight.src : rightIcon.src, alt: rightIcon === 'arrow' ? arrowRight.alt : rightIcon.alt }, void 0))] }), void 0),
|
|
8297
|
+
jsxRuntime.jsx("p", __assign({ className: cardTextStyle }, { children: children }), void 0)] }, void 0)] }), void 0));
|
|
9090
8298
|
});
|
|
9091
8299
|
|
|
9092
8300
|
var css_248z$c = ".style-module_container__34kUF {\n padding: 32px 24px 24px 24px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.style-module_right-icon__3_kH9 {\n margin-left: 4px;\n}";
|
|
@@ -9098,9 +8306,9 @@ var index$2 = (function (_a) {
|
|
|
9098
8306
|
var cardStyle = "d-flex fd-column ai-center " + className + " " + associatedClassForCardState(state, dropshadow) + " " + styles$b.container;
|
|
9099
8307
|
var headingStyle = headingForCardSize(cardSize);
|
|
9100
8308
|
var iconStyle = styles$b['right-icon'];
|
|
9101
|
-
return (jsx(Fragment
|
|
9102
|
-
jsxs("div", __assign({ className: "d-flex mt16" }, { children: [jsx("div", __assign({ className: headingStyle }, { children: title }), void 0),
|
|
9103
|
-
rightIcon && (jsx("img", { className: iconStyle, width: "24px", height: "24px", src: rightIcon === 'arrow' ? arrowRight.src : rightIcon.src, alt: rightIcon === 'arrow' ? arrowRight.alt : rightIcon.alt }, void 0))] }), void 0), children] }), void 0) }, void 0));
|
|
8309
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", __assign({ className: cardStyle }, props, { children: [jsxRuntime.jsx("img", { width: topIconSize.width, height: topIconSize.height, alt: topIcon.alt, src: topIcon.src }, void 0),
|
|
8310
|
+
jsxRuntime.jsxs("div", __assign({ className: "d-flex mt16" }, { children: [jsxRuntime.jsx("div", __assign({ className: headingStyle }, { children: title }), void 0),
|
|
8311
|
+
rightIcon && (jsxRuntime.jsx("img", { className: iconStyle, width: "24px", height: "24px", src: rightIcon === 'arrow' ? arrowRight.src : rightIcon.src, alt: rightIcon === 'arrow' ? arrowRight.alt : rightIcon.alt }, void 0))] }), void 0), children] }), void 0) }, void 0));
|
|
9104
8312
|
});
|
|
9105
8313
|
|
|
9106
8314
|
var css_248z$b = "@keyframes style-module_appear-in__23V7k {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.style-module_root-container__3r_b9 {\n position: relative;\n padding-top: 40px;\n}\n.style-module_root-container__3r_b9:hover .style-module_right-icon__L6sf3 {\n visibility: visible;\n animation-name: style-module_appear-in__23V7k;\n animation-duration: 0.3s;\n animation-fill-mode: both;\n}\n\n.style-module_top-icon__10CJ3 {\n position: absolute;\n left: 50%;\n transform: translateX(-50%) translateY(-40px);\n}\n.style-module_top-icon--muted__3PZ1X {\n opacity: 0.25;\n}\n\n.style-module_right-icon__L6sf3 {\n visibility: hidden;\n position: absolute;\n top: 64px;\n right: 24px;\n}\n\n.style-module_container__19mu2 {\n padding: 0 24px 24px 24px;\n height: 100%;\n}\n@media (max-width: 34rem) {\n .style-module_container__19mu2 {\n height: fit-content;\n }\n}";
|
|
@@ -9109,10 +8317,10 @@ styleInject(css_248z$b);
|
|
|
9109
8317
|
|
|
9110
8318
|
var index$1 = (function (_a) {
|
|
9111
8319
|
var className = _a.className, title = _a.title, children = _a.children, topIcon = _a.topIcon, rightIcon = _a.rightIcon, _b = _a.state, state = _b === void 0 ? 'actionable' : _b, _c = _a.dropshadow, dropshadow = _c === void 0 ? true : _c, props = __rest(_a, ["className", "title", "children", "topIcon", "rightIcon", "state", "dropshadow"]);
|
|
9112
|
-
return (jsxs("div", __assign({ className: styles$a['root-container'] + " " + (className !== null && className !== void 0 ? className : '') }, props, { children: [jsx("img", { src: topIcon.src, alt: topIcon.alt, className: styles$a['top-icon'] + " " + (state === 'muted' ? styles$a['top-icon--muted'] : '') + " ", width: "80px", height: "80px" }, void 0),
|
|
9113
|
-
jsxs("div", __assign({ className: associatedClassForCardState(state, dropshadow) + " " + styles$a.container }, { children: [rightIcon && (jsx("img", { width: "20px", height: "20px", className: styles$a['right-icon'], src: rightIcon === 'info' ? info.src : rightIcon.src, alt: rightIcon === 'info' ? info.alt : rightIcon.alt }, void 0)),
|
|
9114
|
-
jsx("div", __assign({ className: "p-h4 ta-center mt64" }, { children: title }), void 0),
|
|
9115
|
-
jsx("p", __assign({ className: "p-p mt16 tc-grey-600" }, { children: children }), void 0)] }), void 0)] }), void 0));
|
|
8320
|
+
return (jsxRuntime.jsxs("div", __assign({ className: styles$a['root-container'] + " " + (className !== null && className !== void 0 ? className : '') }, props, { children: [jsxRuntime.jsx("img", { src: topIcon.src, alt: topIcon.alt, className: styles$a['top-icon'] + " " + (state === 'muted' ? styles$a['top-icon--muted'] : '') + " ", width: "80px", height: "80px" }, void 0),
|
|
8321
|
+
jsxRuntime.jsxs("div", __assign({ className: associatedClassForCardState(state, dropshadow) + " " + styles$a.container }, { children: [rightIcon && (jsxRuntime.jsx("img", { width: "20px", height: "20px", className: styles$a['right-icon'], src: rightIcon === 'info' ? info.src : rightIcon.src, alt: rightIcon === 'info' ? info.alt : rightIcon.alt }, void 0)),
|
|
8322
|
+
jsxRuntime.jsx("div", __assign({ className: "p-h4 ta-center mt64" }, { children: title }), void 0),
|
|
8323
|
+
jsxRuntime.jsx("p", __assign({ className: "p-p mt16 tc-grey-600" }, { children: children }), void 0)] }), void 0)] }), void 0));
|
|
9116
8324
|
});
|
|
9117
8325
|
|
|
9118
8326
|
var css_248z$a = ".style-module_container__2tJCE {\n background-color: white;\n padding: 8px 16px;\n box-shadow: 0px 2px 20px rgba(97, 96, 162, 0.07);\n border-radius: 8px;\n border: 2px solid white;\n transition: border 0.2s ease-in-out;\n display: flex;\n justify-content: space-between;\n align-items: center;\n text-decoration: none;\n}\n.style-module_container__2tJCE:hover {\n border: 2px solid #b1b0f5;\n}\n.style-module_container__2tJCE[disabled] {\n pointer-events: none;\n opacity: 0.25;\n}\n.style-module_container__2tJCE:focus {\n border: 2px solid #8e8cee;\n}";
|
|
@@ -9121,14 +8329,14 @@ styleInject(css_248z$a);
|
|
|
9121
8329
|
|
|
9122
8330
|
var CardContent = function (_a) {
|
|
9123
8331
|
var title = _a.title, description = _a.description;
|
|
9124
|
-
return (jsxs(Fragment
|
|
9125
|
-
typeof description === 'string' ? (jsx("div", __assign({ className: "tc-primary-500 p-p" }, { children: description }), void 0)) : (description)] }, void 0),
|
|
9126
|
-
jsx("img", __assign({}, chevronRight, { alt: "Expander icon" }), void 0)] }, void 0));
|
|
8332
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("div", __assign({ className: "p-p--small" }, { children: title }), void 0),
|
|
8333
|
+
typeof description === 'string' ? (jsxRuntime.jsx("div", __assign({ className: "tc-primary-500 p-p" }, { children: description }), void 0)) : (description)] }, void 0),
|
|
8334
|
+
jsxRuntime.jsx("img", __assign({}, chevronRight, { alt: "Expander icon" }), void 0)] }, void 0));
|
|
9127
8335
|
};
|
|
9128
8336
|
var CardButton = function (_a) {
|
|
9129
8337
|
var title = _a.title, description = _a.description, _b = _a.disabled, disabled = _b === void 0 ? false : _b, onClick = _a.onClick, href = _a.href, className = _a.className;
|
|
9130
8338
|
var component = href ? 'a' : 'button';
|
|
9131
|
-
return (jsx(Fragment
|
|
8339
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: require$$0.createElement(component, __assign({ className: "c-pointer ta-left w100 " + styles$9.container + " " + (className !== null && className !== void 0 ? className : '') + "\n ", children: jsxRuntime.jsx(CardContent, { title: title, description: description }, void 0), disabled: disabled }, (component === 'a' ? { href: href } : { onClick: onClick }))) }, void 0));
|
|
9132
8340
|
};
|
|
9133
8341
|
|
|
9134
8342
|
var headingForCardSize = function (cardSize) {
|
|
@@ -9169,10 +8377,10 @@ var removeButtonHighlightedIcon = "data:image/svg+xml,%3Csvg%20width%3D%2216%22%
|
|
|
9169
8377
|
|
|
9170
8378
|
var Chip = (function (_a) {
|
|
9171
8379
|
var value = _a.value, onRemove = _a.onRemove;
|
|
9172
|
-
return (jsxs("div", __assign({ className: "p-p mr8 mb8 d-flex " + styles$8['chip'] }, { children: [value.leftIcon && (jsx("img", { className: "mr8 " + styles$8['chip-image'], src: value.leftIcon, alt: value.value }, void 0)),
|
|
9173
|
-
jsx("div", __assign({ className: "mr8" }, { children: value.value }), void 0),
|
|
9174
|
-
jsxs("div", __assign({ className: "c-pointer " + styles$8['chip-button-container'], onClick: function () { return onRemove(value); } }, { children: [jsx("img", { className: styles$8['chip-remove-button-highlighted'], src: removeButtonHighlightedIcon, alt: "removal x button highlighted" }, void 0),
|
|
9175
|
-
jsx("img", { className: styles$8['chip-remove-button'], src: removeButtonIcon, alt: "removal x button" }, void 0)] }), void 0)] }), void 0));
|
|
8380
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "p-p mr8 mb8 d-flex " + styles$8['chip'] }, { children: [value.leftIcon && (jsxRuntime.jsx("img", { className: "mr8 " + styles$8['chip-image'], src: value.leftIcon, alt: value.value }, void 0)),
|
|
8381
|
+
jsxRuntime.jsx("div", __assign({ className: "mr8" }, { children: value.value }), void 0),
|
|
8382
|
+
jsxRuntime.jsxs("div", __assign({ className: "c-pointer " + styles$8['chip-button-container'], onClick: function () { return onRemove(value); } }, { children: [jsxRuntime.jsx("img", { className: styles$8['chip-remove-button-highlighted'], src: removeButtonHighlightedIcon, alt: "removal x button highlighted" }, void 0),
|
|
8383
|
+
jsxRuntime.jsx("img", { className: styles$8['chip-remove-button'], src: removeButtonIcon, alt: "removal x button" }, void 0)] }), void 0)] }), void 0));
|
|
9176
8384
|
});
|
|
9177
8385
|
|
|
9178
8386
|
var Autosuggest = {};
|
|
@@ -9473,7 +8681,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9473
8681
|
});
|
|
9474
8682
|
exports["default"] = void 0;
|
|
9475
8683
|
|
|
9476
|
-
var _react = _interopRequireWildcard(require$$
|
|
8684
|
+
var _react = _interopRequireWildcard(require$$0__default['default']);
|
|
9477
8685
|
|
|
9478
8686
|
var _propTypes = _interopRequireDefault(propTypes.exports);
|
|
9479
8687
|
|
|
@@ -9567,7 +8775,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9567
8775
|
});
|
|
9568
8776
|
exports["default"] = void 0;
|
|
9569
8777
|
|
|
9570
|
-
var _react = _interopRequireWildcard(require$$
|
|
8778
|
+
var _react = _interopRequireWildcard(require$$0__default['default']);
|
|
9571
8779
|
|
|
9572
8780
|
var _propTypes = _interopRequireDefault(propTypes.exports);
|
|
9573
8781
|
|
|
@@ -9752,7 +8960,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9752
8960
|
});
|
|
9753
8961
|
exports["default"] = void 0;
|
|
9754
8962
|
|
|
9755
|
-
var _react = _interopRequireWildcard(require$$
|
|
8963
|
+
var _react = _interopRequireWildcard(require$$0__default['default']);
|
|
9756
8964
|
|
|
9757
8965
|
var _propTypes = _interopRequireDefault(propTypes.exports);
|
|
9758
8966
|
|
|
@@ -9907,7 +9115,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9907
9115
|
});
|
|
9908
9116
|
exports["default"] = void 0;
|
|
9909
9117
|
|
|
9910
|
-
var _react = _interopRequireWildcard(require$$
|
|
9118
|
+
var _react = _interopRequireWildcard(require$$0__default['default']);
|
|
9911
9119
|
|
|
9912
9120
|
var _propTypes = _interopRequireDefault(propTypes.exports);
|
|
9913
9121
|
|
|
@@ -10448,7 +9656,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
10448
9656
|
});
|
|
10449
9657
|
exports["default"] = void 0;
|
|
10450
9658
|
|
|
10451
|
-
var _react = _interopRequireWildcard(require$$
|
|
9659
|
+
var _react = _interopRequireWildcard(require$$0__default['default']);
|
|
10452
9660
|
|
|
10453
9661
|
var _propTypes = _interopRequireDefault(propTypes.exports);
|
|
10454
9662
|
|
|
@@ -11304,14 +10512,14 @@ var AutoSuggestInput = (function (_a) {
|
|
|
11304
10512
|
var currentOption = _a.currentOption, suggestions = _a.suggestions, handleSuggestionSelected = _a.handleSuggestionSelected, onChange = _a.onChange, handleSuggestionFetchRequest = _a.handleSuggestionFetchRequest, handleSuggestionClearRequest = _a.handleSuggestionClearRequest, placeholder = _a.placeholder, className = _a.className, wrapText = _a.wrapText;
|
|
11305
10513
|
var renderSuggestion = function (suggestion) {
|
|
11306
10514
|
var _a;
|
|
11307
|
-
return (jsxs("div", __assign({ className: "" + styles$7['suggestion-option'] }, { children: [suggestion.leftIcon && (jsx("img", { className: "mr16 " + styles$7['suggestion-img'], src: suggestion.leftIcon, alt: suggestion.value }, void 0)),
|
|
11308
|
-
jsx("div", __assign({ className: classNames(styles$7['suggestion-text'], (_a = {},
|
|
10515
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "" + styles$7['suggestion-option'] }, { children: [suggestion.leftIcon && (jsxRuntime.jsx("img", { className: "mr16 " + styles$7['suggestion-img'], src: suggestion.leftIcon, alt: suggestion.value }, void 0)),
|
|
10516
|
+
jsxRuntime.jsx("div", __assign({ className: classNames(styles$7['suggestion-text'], (_a = {},
|
|
11309
10517
|
_a[styles$7.nowrap] = !wrapText,
|
|
11310
10518
|
_a)) }, { children: suggestion.value }), void 0)] }), void 0));
|
|
11311
10519
|
};
|
|
11312
10520
|
var getSuggestionValue = function (suggestion) { return suggestion.value; };
|
|
11313
|
-
var renderInputComponent = function (inputProps) { return (jsx(Input, __assign({}, inputProps, { placeholder: placeholder, "data-cy": "suggest-multi-select-input" }), void 0)); };
|
|
11314
|
-
return (jsx("div", __assign({ className: className }, { children: jsx(dist$1, { theme: styles$7, suggestions: suggestions, onSuggestionsFetchRequested: handleSuggestionFetchRequest, onSuggestionsClearRequested: handleSuggestionClearRequest, getSuggestionValue: getSuggestionValue, renderSuggestion: renderSuggestion, highlightFirstSuggestion: true, inputProps: {
|
|
10521
|
+
var renderInputComponent = function (inputProps) { return (jsxRuntime.jsx(Input, __assign({}, inputProps, { placeholder: placeholder, "data-cy": "suggest-multi-select-input" }), void 0)); };
|
|
10522
|
+
return (jsxRuntime.jsx("div", __assign({ className: className }, { children: jsxRuntime.jsx(dist$1, { theme: styles$7, suggestions: suggestions, onSuggestionsFetchRequested: handleSuggestionFetchRequest, onSuggestionsClearRequested: handleSuggestionClearRequest, getSuggestionValue: getSuggestionValue, renderSuggestion: renderSuggestion, highlightFirstSuggestion: true, inputProps: {
|
|
11315
10523
|
value: currentOption,
|
|
11316
10524
|
onChange: function (_, _a) {
|
|
11317
10525
|
var newValue = _a.newValue;
|
|
@@ -11329,13 +10537,13 @@ styleInject(css_248z$7);
|
|
|
11329
10537
|
|
|
11330
10538
|
var index = (function (_a) {
|
|
11331
10539
|
var options = _a.options, selectedValues = _a.selectedValues, setValues = _a.setValues, placeholder = _a.placeholder, chipsListClassName = _a.chipsListClassName, multiSelectClassName = _a.multiSelectClassName, wrapText = _a.wrapText;
|
|
11332
|
-
var _b = useState([]), suggestions = _b[0], setSuggestions = _b[1];
|
|
11333
|
-
var _c = useState(''), currentOption = _c[0], setCurrentOption = _c[1];
|
|
11334
|
-
return (jsxs(Fragment
|
|
10540
|
+
var _b = require$$0.useState([]), suggestions = _b[0], setSuggestions = _b[1];
|
|
10541
|
+
var _c = require$$0.useState(''), currentOption = _c[0], setCurrentOption = _c[1];
|
|
10542
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [selectedValues && selectedValues.length > 0 && (jsxRuntime.jsx("div", __assign({ className: "mb8 " + styles$6['chip-container'] + " " + chipsListClassName }, { children: selectedValues.map(function (value, index) { return (jsxRuntime.jsx(Chip, { value: value, onRemove: function (value) {
|
|
11335
10543
|
var newValues = __spreadArray([], selectedValues).filter(function (selectedValue) { return selectedValue.value !== value.value; });
|
|
11336
10544
|
setValues(newValues);
|
|
11337
10545
|
} }, value.value + "-" + index)); }) }), void 0)),
|
|
11338
|
-
jsx(AutoSuggestInput, { className: multiSelectClassName, placeholder: placeholder, onChange: setCurrentOption, handleSuggestionSelected: function (value) {
|
|
10546
|
+
jsxRuntime.jsx(AutoSuggestInput, { className: multiSelectClassName, placeholder: placeholder, onChange: setCurrentOption, handleSuggestionSelected: function (value) {
|
|
11339
10547
|
var newSelectedOptions = selectedValues !== null && selectedValues !== void 0 ? selectedValues : [];
|
|
11340
10548
|
newSelectedOptions === null || newSelectedOptions === void 0 ? void 0 : newSelectedOptions.push(value);
|
|
11341
10549
|
setValues(newSelectedOptions);
|
|
@@ -11354,7 +10562,7 @@ var dist = {exports: {}};
|
|
|
11354
10562
|
|
|
11355
10563
|
(function (module, exports) {
|
|
11356
10564
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
11357
|
-
module.exports = factory(require$$
|
|
10565
|
+
module.exports = factory(require$$0__default['default'], require$$1__default['default']);
|
|
11358
10566
|
})(commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_13__) {
|
|
11359
10567
|
return /******/ (function(modules) { // webpackBootstrap
|
|
11360
10568
|
/******/ // The module cache
|
|
@@ -12778,7 +11986,7 @@ styleInject(css_248z$6);
|
|
|
12778
11986
|
|
|
12779
11987
|
var Row = function (props) {
|
|
12780
11988
|
var cell = props.cell, data = props.data, isRowHeader = props.isRowHeader, rowId = props.rowId;
|
|
12781
|
-
return (jsxs("div", __assign({ className: "\n d-flex\n w-100\n " + (isRowHeader ? styles$5.header : '') + "\n " }, { children: [jsx("h4", __assign({ className: "\n wmx4\n " + styles$5.cell + "\n " + styles$5.sticky + "\n " + (isRowHeader ? "p-h2 p--serif " + styles$5.title : '') + "\n " + (typeof cell.key === 'undefined' ? styles$5.addon : '') + "\n " }, { children: cell.label }), void 0),
|
|
11989
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "\n d-flex\n w-100\n " + (isRowHeader ? styles$5.header : '') + "\n " }, { children: [jsxRuntime.jsx("h4", __assign({ className: "\n wmx4\n " + styles$5.cell + "\n " + styles$5.sticky + "\n " + (isRowHeader ? "p-h2 p--serif " + styles$5.title : '') + "\n " + (typeof cell.key === 'undefined' ? styles$5.addon : '') + "\n " }, { children: cell.label }), void 0),
|
|
12782
11990
|
Array.isArray(data) &&
|
|
12783
11991
|
data.map(function (item) {
|
|
12784
11992
|
/**
|
|
@@ -12789,7 +11997,7 @@ var Row = function (props) {
|
|
|
12789
11997
|
return null;
|
|
12790
11998
|
if (typeof item[cell.key] === 'undefined')
|
|
12791
11999
|
return null;
|
|
12792
|
-
return (jsx("div", __assign({ className: "ta-center " + styles$5.cell }, { children:
|
|
12000
|
+
return (jsxRuntime.jsx("div", __assign({ className: "ta-center " + styles$5.cell }, { children:
|
|
12793
12001
|
/**
|
|
12794
12002
|
* Return a function if `render` option is present
|
|
12795
12003
|
* else print the current data source value
|
|
@@ -12799,11 +12007,11 @@ var Row = function (props) {
|
|
|
12799
12007
|
: "" + item[cell.key] }), rowId + "-" + item.id));
|
|
12800
12008
|
})] }), rowId));
|
|
12801
12009
|
};
|
|
12802
|
-
var Row$1 = require$$
|
|
12010
|
+
var Row$1 = require$$0__default['default'].memo(Row);
|
|
12803
12011
|
|
|
12804
12012
|
var ArrowIcon = function (_a) {
|
|
12805
12013
|
var className = _a.className;
|
|
12806
|
-
return (jsx("svg", __assign({ width: "14", height: "8", viewBox: "0 0 14 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M1 1.00003L7 7.00003L13 1.00003", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, void 0) }), void 0));
|
|
12014
|
+
return (jsxRuntime.jsx("svg", __assign({ width: "14", height: "8", viewBox: "0 0 14 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsxRuntime.jsx("path", { d: "M1 1.00003L7 7.00003L13 1.00003", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, void 0) }), void 0));
|
|
12807
12015
|
};
|
|
12808
12016
|
|
|
12809
12017
|
var css_248z$5 = ".style-module_container__3BxOi {\n position: absolute;\n width: 100vw;\n padding: 0 16px;\n justify-content: space-between;\n z-index: 1;\n display: flex;\n}\n@media (min-width: 34rem) {\n .style-module_container__3BxOi {\n display: none;\n }\n}\n\n.style-module_next__3yJsi {\n transform: rotate(-90deg);\n}\n\n.style-module_prev__3rIR_ {\n transform: rotate(90deg);\n}\n\n.style-module_arrow__1tlbD {\n width: 32px;\n height: 32px;\n padding: 0;\n border-radius: 50%;\n background-color: #f5f5fa;\n justify-content: center;\n align-items: center;\n stroke: #e6e5ff;\n}\n.style-module_arrow__1tlbD:hover, .style-module_arrow__1tlbD:focus {\n background-color: #f5f5fa;\n cursor: not-allowed;\n}\n\n.style-module_active__2kklB {\n stroke: #8e8cee;\n}\n.style-module_active__2kklB:hover, .style-module_active__2kklB:focus {\n background-color: #f5f5fa;\n cursor: pointer;\n}";
|
|
@@ -12814,22 +12022,22 @@ var TableArrows = function (props) {
|
|
|
12814
12022
|
var _a, _b;
|
|
12815
12023
|
var active = props.active, onClick = props.onClick;
|
|
12816
12024
|
var handleButtonClick = function (value) { return function () { return onClick(value); }; };
|
|
12817
|
-
return (jsxs("div", __assign({ className: "mt24 " + styles$4.container }, { children: [jsx("button", __assign({ onClick: handleButtonClick('prev'), className: classNames("p-btn--secondary d-flex", styles$4.prev, styles$4.arrow, (_a = {},
|
|
12025
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "mt24 " + styles$4.container }, { children: [jsxRuntime.jsx("button", __assign({ onClick: handleButtonClick('prev'), className: classNames("p-btn--secondary d-flex", styles$4.prev, styles$4.arrow, (_a = {},
|
|
12818
12026
|
_a[styles$4.active] = active.left,
|
|
12819
|
-
_a)) }, { children: jsx(ArrowIcon, {}, void 0) }), void 0),
|
|
12820
|
-
jsx("button", __assign({ onClick: handleButtonClick('next'), className: classNames("p-btn--secondary d-flex", styles$4.next, styles$4.arrow, (_b = {},
|
|
12027
|
+
_a)) }, { children: jsxRuntime.jsx(ArrowIcon, {}, void 0) }), void 0),
|
|
12028
|
+
jsxRuntime.jsx("button", __assign({ onClick: handleButtonClick('next'), className: classNames("p-btn--secondary d-flex", styles$4.next, styles$4.arrow, (_b = {},
|
|
12821
12029
|
_b[styles$4.active] = active.right,
|
|
12822
|
-
_b)) }, { children: jsx(ArrowIcon, {}, void 0) }), void 0)] }), void 0));
|
|
12030
|
+
_b)) }, { children: jsxRuntime.jsx(ArrowIcon, {}, void 0) }), void 0)] }), void 0));
|
|
12823
12031
|
};
|
|
12824
12032
|
|
|
12825
12033
|
var StarIcon = function (_a) {
|
|
12826
12034
|
var className = _a.className;
|
|
12827
|
-
return (jsx("svg", __assign({ width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M5.933.004a.73.73 0 01.756.468L7.891 3.67l3.407.16c.677.03.954.886.422 1.306l-2.66 2.145.899 3.296c.17.647-.545 1.166-1.105.8l-2.85-1.872-2.858 1.873c-.561.368-1.28-.152-1.107-.801l.9-3.296L.278 5.136C-.253 4.716.024 3.86.7 3.831l3.407-.161L5.322.472a.73.73 0 01.61-.468z" }, void 0) }), void 0));
|
|
12035
|
+
return (jsxRuntime.jsx("svg", __assign({ width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsxRuntime.jsx("path", { d: "M5.933.004a.73.73 0 01.756.468L7.891 3.67l3.407.16c.677.03.954.886.422 1.306l-2.66 2.145.899 3.296c.17.647-.545 1.166-1.105.8l-2.85-1.872-2.858 1.873c-.561.368-1.28-.152-1.107-.801l.9-3.296L.278 5.136C-.253 4.716.024 3.86.7 3.831l3.407-.161L5.322.472a.73.73 0 01.61-.468z" }, void 0) }), void 0));
|
|
12828
12036
|
};
|
|
12829
12037
|
|
|
12830
12038
|
var ZapIcon = function (_a) {
|
|
12831
12039
|
var className = _a.className;
|
|
12832
|
-
return (jsx("svg", __assign({ width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.492 1.124A1 1 0 005.732.36l-5 6A1 1 0 001.5 8h3.367l-.36 2.876a1 1 0 001.761.764l5-6A1 1 0 0010.5 4H7.133l.36-2.876z" }, void 0) }), void 0));
|
|
12040
|
+
return (jsxRuntime.jsx("svg", __assign({ width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.492 1.124A1 1 0 005.732.36l-5 6A1 1 0 001.5 8h3.367l-.36 2.876a1 1 0 001.761.764l5-6A1 1 0 0010.5 4H7.133l.36-2.876z" }, void 0) }), void 0));
|
|
12833
12041
|
};
|
|
12834
12042
|
|
|
12835
12043
|
var css_248z$4 = ".style-module_icon__1ep7- {\n margin-right: 4px;\n}\n\n.style-module_filled__3l-v0 {\n fill: #8e8cee;\n}\n\n.style-module_empty__Ikg_s {\n fill: #f5f5fa;\n}";
|
|
@@ -12847,15 +12055,15 @@ var VALID_VALUES = [1, 2, 3];
|
|
|
12847
12055
|
var TableRating = function (props) {
|
|
12848
12056
|
var rating = props.rating, type = props.type;
|
|
12849
12057
|
var SelectedIcon = getRatingIcon(type);
|
|
12850
|
-
return (jsx("div", { children: VALID_VALUES.map(function (value) { return (jsx(SelectedIcon, { className: classNames(styles$3.icon, value <= rating ? styles$3.filled : styles$3.empty) }, value)); }) }, void 0));
|
|
12058
|
+
return (jsxRuntime.jsx("div", { children: VALID_VALUES.map(function (value) { return (jsxRuntime.jsx(SelectedIcon, { className: classNames(styles$3.icon, value <= rating ? styles$3.filled : styles$3.empty) }, value)); }) }, void 0));
|
|
12851
12059
|
};
|
|
12852
12060
|
|
|
12853
12061
|
var TableTrueFalse = function (_a) {
|
|
12854
12062
|
var value = _a.value, _b = _a.className, className = _b === void 0 ? '' : _b;
|
|
12855
12063
|
if (value) {
|
|
12856
|
-
return (jsx("svg", __assign({ width: "18", height: "13", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M15.667 1.833L6.5 11 2.333 6.833", stroke: "#8E8CEE", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }, void 0) }), void 0));
|
|
12064
|
+
return (jsxRuntime.jsx("svg", __assign({ width: "18", height: "13", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsxRuntime.jsx("path", { d: "M15.667 1.833L6.5 11 2.333 6.833", stroke: "#8E8CEE", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }, void 0) }), void 0));
|
|
12857
12065
|
}
|
|
12858
|
-
return (jsx("svg", __assign({ width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.707 1.707A1 1 0 0010.293.293L6 4.586 1.707.293A1 1 0 00.293 1.707L4.586 6 .293 10.293a1 1 0 101.414 1.414L6 7.414l4.293 4.293a1 1 0 001.414-1.414L7.414 6l4.293-4.293z", fill: "#D2D2D8" }, void 0) }), void 0));
|
|
12066
|
+
return (jsxRuntime.jsx("svg", __assign({ width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.707 1.707A1 1 0 0010.293.293L6 4.586 1.707.293A1 1 0 00.293 1.707L4.586 6 .293 10.293a1 1 0 101.414 1.414L6 7.414l4.293 4.293a1 1 0 001.414-1.414L7.414 6l4.293-4.293z", fill: "#D2D2D8" }, void 0) }), void 0));
|
|
12859
12067
|
};
|
|
12860
12068
|
|
|
12861
12069
|
var css_248z$3 = ".style-module_button__3TkNT {\n padding: 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n vertical-align: bottom;\n width: 24px;\n height: 24px;\n transition: all 0.3s ease;\n}\n.style-module_button__3TkNT:hover, .style-module_button__3TkNT:focus {\n background-color: #f7f7ff;\n}\n.style-module_button__3TkNT:hover svg, .style-module_button__3TkNT:focus svg {\n fill: #b1b0f5;\n}\n.style-module_button__3TkNT svg {\n fill: #e6e5ff;\n transition: all 0.3s ease;\n}";
|
|
@@ -12864,9 +12072,9 @@ styleInject(css_248z$3);
|
|
|
12864
12072
|
|
|
12865
12073
|
var TableInfoButton = function (_a) {
|
|
12866
12074
|
var onClick = _a.onClick, _b = _a.className, className = _b === void 0 ? '' : _b;
|
|
12867
|
-
return (jsx("span", __assign({ role: "button", className: "p-btn--secondary " + styles$2.button + " " + className, onClick: onClick }, { children: jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 2.66667C5.94991 2.66667 2.66667 5.94991 2.66667 10C2.66667 14.0501 5.94991 17.3333 10 17.3333C14.0501 17.3333 17.3333 14.0501 17.3333 10C17.3333 5.94991 14.0501 2.66667 10 2.66667ZM0.666667 10C0.666667 4.84534 4.84534 0.666667 10 0.666667C15.1547 0.666667 19.3333 4.84534 19.3333 10C19.3333 15.1547 15.1547 19.3333 10 19.3333C4.84534 19.3333 0.666667 15.1547 0.666667 10Z" }, void 0),
|
|
12868
|
-
jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 9C10.5523 9 11 9.44772 11 10V13.3333C11 13.8856 10.5523 14.3333 10 14.3333C9.44772 14.3333 9 13.8856 9 13.3333V10C9 9.44772 9.44772 9 10 9Z" }, void 0),
|
|
12869
|
-
jsx("path", { d: "M10.8333 6.66667C10.8333 7.1269 10.4602 7.5 10 7.5C9.53976 7.5 9.16667 7.1269 9.16667 6.66667C9.16667 6.20643 9.53976 5.83333 10 5.83333C10.4602 5.83333 10.8333 6.20643 10.8333 6.66667Z" }, void 0)] }), void 0) }), void 0));
|
|
12075
|
+
return (jsxRuntime.jsx("span", __assign({ role: "button", className: "p-btn--secondary " + styles$2.button + " " + className, onClick: onClick }, { children: jsxRuntime.jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 2.66667C5.94991 2.66667 2.66667 5.94991 2.66667 10C2.66667 14.0501 5.94991 17.3333 10 17.3333C14.0501 17.3333 17.3333 14.0501 17.3333 10C17.3333 5.94991 14.0501 2.66667 10 2.66667ZM0.666667 10C0.666667 4.84534 4.84534 0.666667 10 0.666667C15.1547 0.666667 19.3333 4.84534 19.3333 10C19.3333 15.1547 15.1547 19.3333 10 19.3333C4.84534 19.3333 0.666667 15.1547 0.666667 10Z" }, void 0),
|
|
12076
|
+
jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 9C10.5523 9 11 9.44772 11 10V13.3333C11 13.8856 10.5523 14.3333 10 14.3333C9.44772 14.3333 9 13.8856 9 13.3333V10C9 9.44772 9.44772 9 10 9Z" }, void 0),
|
|
12077
|
+
jsxRuntime.jsx("path", { d: "M10.8333 6.66667C10.8333 7.1269 10.4602 7.5 10 7.5C9.53976 7.5 9.16667 7.1269 9.16667 6.66667C9.16667 6.20643 9.53976 5.83333 10 5.83333C10.4602 5.83333 10.8333 6.20643 10.8333 6.66667Z" }, void 0)] }), void 0) }), void 0));
|
|
12870
12078
|
};
|
|
12871
12079
|
|
|
12872
12080
|
var css_248z$2 = ".style-module_icon__30Nor {\n min-width: 20px;\n}";
|
|
@@ -12875,26 +12083,26 @@ styleInject(css_248z$2);
|
|
|
12875
12083
|
|
|
12876
12084
|
var TableRowHeader = function (props) {
|
|
12877
12085
|
var icon = props.icon, label = props.label, subtitle = props.subtitle, onClickInfo = props.onClickInfo;
|
|
12878
|
-
return (jsxs("div", __assign({ className: "d-flex" }, { children: [jsx("span", __assign({ className: "mr8 " + styles$1.icon }, { children: icon }), void 0),
|
|
12879
|
-
jsxs("div", { children: [jsxs("p", __assign({ className: "p-p d-inline" }, { children: [jsx("span", __assign({ className: classNames({
|
|
12086
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "d-flex" }, { children: [jsxRuntime.jsx("span", __assign({ className: "mr8 " + styles$1.icon }, { children: icon }), void 0),
|
|
12087
|
+
jsxRuntime.jsxs("div", { children: [jsxRuntime.jsxs("p", __assign({ className: "p-p d-inline" }, { children: [jsxRuntime.jsx("span", __assign({ className: classNames({
|
|
12880
12088
|
mr8: onClickInfo,
|
|
12881
12089
|
}) }, { children: label }), void 0),
|
|
12882
|
-
onClickInfo && jsx(TableInfoButton, { onClick: onClickInfo }, void 0)] }), void 0),
|
|
12883
|
-
subtitle && jsx("p", __assign({ className: "p-p--small tc-grey-500" }, { children: subtitle }), void 0)] }, void 0)] }), void 0));
|
|
12090
|
+
onClickInfo && jsxRuntime.jsx(TableInfoButton, { onClick: onClickInfo }, void 0)] }), void 0),
|
|
12091
|
+
subtitle && jsxRuntime.jsx("p", __assign({ className: "p-p--small tc-grey-500" }, { children: subtitle }), void 0)] }, void 0)] }), void 0));
|
|
12884
12092
|
};
|
|
12885
12093
|
|
|
12886
12094
|
var Chevron = function (_a) {
|
|
12887
12095
|
var className = _a.className;
|
|
12888
|
-
return (jsx("svg", __assign({ width: "20", height: "20", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M15 12.5l-5-5-5 5", stroke: "#8E8CEE", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, void 0) }), void 0));
|
|
12096
|
+
return (jsxRuntime.jsx("svg", __assign({ width: "20", height: "20", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsxRuntime.jsx("path", { d: "M15 12.5l-5-5-5 5", stroke: "#8E8CEE", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, void 0) }), void 0));
|
|
12889
12097
|
};
|
|
12890
12098
|
|
|
12891
12099
|
var useActiveTableArrows = function () {
|
|
12892
|
-
var _a = useState({
|
|
12100
|
+
var _a = require$$0.useState({
|
|
12893
12101
|
left: false,
|
|
12894
12102
|
right: true,
|
|
12895
12103
|
}), activeArrows = _a[0], setActiveArrows = _a[1];
|
|
12896
|
-
var contentContainerRef = useRef(null);
|
|
12897
|
-
var contentWrapperRef = useRef(null);
|
|
12104
|
+
var contentContainerRef = require$$0.useRef(null);
|
|
12105
|
+
var contentWrapperRef = require$$0.useRef(null);
|
|
12898
12106
|
var handleTableScroll = function (e) {
|
|
12899
12107
|
var width = window.innerWidth;
|
|
12900
12108
|
if (e.target === contentWrapperRef.current &&
|
|
@@ -12909,7 +12117,7 @@ var useActiveTableArrows = function () {
|
|
|
12909
12117
|
}
|
|
12910
12118
|
};
|
|
12911
12119
|
var debouncedTableScroll = lodash_debounce(handleTableScroll, 150);
|
|
12912
|
-
useEffect(function () {
|
|
12120
|
+
require$$0.useEffect(function () {
|
|
12913
12121
|
var _a, _b;
|
|
12914
12122
|
(_a = contentWrapperRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener('scroll', debouncedTableScroll, {
|
|
12915
12123
|
passive: true,
|
|
@@ -12929,8 +12137,8 @@ styleInject(css_248z$1);
|
|
|
12929
12137
|
|
|
12930
12138
|
var ComparisonTable = function (props) {
|
|
12931
12139
|
var headers = props.headers, data = props.data, hideDetails = props.hideDetails, styles = props.styles;
|
|
12932
|
-
var _a = useState(false), showMore = _a[0], setShowMore = _a[1];
|
|
12933
|
-
var headerContainerRef = useRef(null);
|
|
12140
|
+
var _a = require$$0.useState(false), showMore = _a[0], setShowMore = _a[1];
|
|
12141
|
+
var headerContainerRef = require$$0.useRef(null);
|
|
12934
12142
|
var _b = useActiveTableArrows(), activeArrows = _b.activeArrows, contentContainerRef = _b.contentContainerRef, contentWrapperRef = _b.contentWrapperRef;
|
|
12935
12143
|
/** narrow types */
|
|
12936
12144
|
var headerContainer = headerContainerRef
|
|
@@ -12961,30 +12169,30 @@ var ComparisonTable = function (props) {
|
|
|
12961
12169
|
return [2 /*return*/];
|
|
12962
12170
|
});
|
|
12963
12171
|
}); };
|
|
12964
|
-
return (jsx(dist.exports.ScrollSync, { children: jsxs("div", { children: [jsx("div", __assign({ className: classNames(baseStyles.header, styles === null || styles === void 0 ? void 0 : styles.header) }, { children: jsx(dist.exports.ScrollSyncPane, { children: jsx("div", __assign({ className: baseStyles.container, ref: headerContainerRef }, { children: jsx("div", __assign({ className: classNames(baseStyles['overflow-container']) }, { children: jsxs("div", __assign({ className: baseStyles['group-container'] }, { children: [jsx(TableArrows, { onClick: handleArrowsClick, active: activeArrows }, void 0),
|
|
12965
|
-
jsx(Row$1, { rowId: "table-header-row", cell: headers[0].cells[0], data: data, isRowHeader: true }, "table-header-row")] }), void 0) }), void 0) }), void 0) }, void 0) }), void 0),
|
|
12966
|
-
jsx(dist.exports.ScrollSyncPane, { children: jsx("div", __assign({ className: classNames(baseStyles.container, styles === null || styles === void 0 ? void 0 : styles.container), ref: contentWrapperRef }, { children: jsx("div", __assign({ className: classNames(baseStyles['overflow-container']), ref: contentContainerRef }, { children: jsxs("div", __assign({ className: baseStyles['group-container'] }, { children: [Array.isArray(headers) &&
|
|
12172
|
+
return (jsxRuntime.jsx(dist.exports.ScrollSync, { children: jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("div", __assign({ className: classNames(baseStyles.header, styles === null || styles === void 0 ? void 0 : styles.header) }, { children: jsxRuntime.jsx(dist.exports.ScrollSyncPane, { children: jsxRuntime.jsx("div", __assign({ className: baseStyles.container, ref: headerContainerRef }, { children: jsxRuntime.jsx("div", __assign({ className: classNames(baseStyles['overflow-container']) }, { children: jsxRuntime.jsxs("div", __assign({ className: baseStyles['group-container'] }, { children: [jsxRuntime.jsx(TableArrows, { onClick: handleArrowsClick, active: activeArrows }, void 0),
|
|
12173
|
+
jsxRuntime.jsx(Row$1, { rowId: "table-header-row", cell: headers[0].cells[0], data: data, isRowHeader: true }, "table-header-row")] }), void 0) }), void 0) }), void 0) }, void 0) }), void 0),
|
|
12174
|
+
jsxRuntime.jsx(dist.exports.ScrollSyncPane, { children: jsxRuntime.jsx("div", __assign({ className: classNames(baseStyles.container, styles === null || styles === void 0 ? void 0 : styles.container), ref: contentWrapperRef }, { children: jsxRuntime.jsx("div", __assign({ className: classNames(baseStyles['overflow-container']), ref: contentContainerRef }, { children: jsxRuntime.jsxs("div", __assign({ className: baseStyles['group-container'] }, { children: [Array.isArray(headers) &&
|
|
12967
12175
|
headers
|
|
12968
12176
|
.filter(function (headerGroup) {
|
|
12969
12177
|
return !hideDetails || showMore || headerGroup.default;
|
|
12970
12178
|
})
|
|
12971
12179
|
.map(function (headerGroup, headerGroupIndex) {
|
|
12972
12180
|
var _a;
|
|
12973
|
-
return (jsxs("div", { children: [
|
|
12181
|
+
return (jsxRuntime.jsxs("div", { children: [
|
|
12974
12182
|
/**
|
|
12975
12183
|
* Print a table subheader if the `label` value is present
|
|
12976
12184
|
*/
|
|
12977
|
-
headerGroup.label && (jsx("div", __assign({ className: baseStyles['group-title'] }, { children: jsx("h4", __assign({ className: "p-h4 " + baseStyles.sticky }, { children: headerGroup.label }), void 0) }), void 0)),
|
|
12185
|
+
headerGroup.label && (jsxRuntime.jsx("div", __assign({ className: baseStyles['group-title'] }, { children: jsxRuntime.jsx("h4", __assign({ className: "p-h4 " + baseStyles.sticky }, { children: headerGroup.label }), void 0) }), void 0)),
|
|
12978
12186
|
(_a = headerGroup.cells) === null || _a === void 0 ? void 0 : _a.map(function (cell, index) {
|
|
12979
12187
|
var _a;
|
|
12980
12188
|
var rowId = headerGroup.id + "-" + ((_a = cell.key) !== null && _a !== void 0 ? _a : 'addon') + "-" + index;
|
|
12981
12189
|
/** Do not render the first row */
|
|
12982
12190
|
if (index === 0 && headerGroupIndex === 0)
|
|
12983
12191
|
return null;
|
|
12984
|
-
return (jsx(Row$1, { rowId: rowId, cell: cell, data: data }, rowId));
|
|
12192
|
+
return (jsxRuntime.jsx(Row$1, { rowId: rowId, cell: cell, data: data }, rowId));
|
|
12985
12193
|
})] }, headerGroup.id));
|
|
12986
12194
|
}),
|
|
12987
|
-
hideDetails && (jsx("div", __assign({ className: classNames(baseStyles['show-details-container'], baseStyles.sticky, 'mt48') }, { children: jsx("div", { children: jsxs("button", __assign({ className: "w100 d-flex p-a p-h4 c-pointer " + baseStyles['show-details-button'], onClick: toggleMoreRows }, { children: [showMore ? 'Hide details' : 'Show details', jsx(Chevron, { className: showMore ? '' : baseStyles['icon-inverted'] }, void 0)] }), void 0) }, void 0) }), void 0))] }), void 0) }), void 0) }), void 0) }, void 0)] }, void 0) }, void 0));
|
|
12195
|
+
hideDetails && (jsxRuntime.jsx("div", __assign({ className: classNames(baseStyles['show-details-container'], baseStyles.sticky, 'mt48') }, { children: jsxRuntime.jsx("div", { children: jsxRuntime.jsxs("button", __assign({ className: "w100 d-flex p-a p-h4 c-pointer " + baseStyles['show-details-button'], onClick: toggleMoreRows }, { children: [showMore ? 'Hide details' : 'Show details', jsxRuntime.jsx(Chevron, { className: showMore ? '' : baseStyles['icon-inverted'] }, void 0)] }), void 0) }, void 0) }), void 0))] }), void 0) }), void 0) }), void 0) }, void 0)] }, void 0) }, void 0));
|
|
12988
12196
|
};
|
|
12989
12197
|
|
|
12990
12198
|
var css_248z = ".style-module_background-container__2Gjka {\n position: relative;\n display: inline-block;\n background-color: var(--ds-primary-100);\n border-radius: 8px;\n padding: 0 8px;\n}\n\n.style-module_chip-container__7XeKn {\n display: flex;\n align-items: center;\n}\n\n.style-module_chip__3rgLT {\n cursor: pointer;\n z-index: 2;\n padding-left: 16px;\n padding-right: 16px;\n}\n\n.style-module_select-chip-background__YCAyw {\n position: absolute;\n background-color: white;\n border-radius: 8px;\n top: 8px;\n z-index: 1;\n transition: width 0.3s, left 0.3s;\n}";
|
|
@@ -12993,34 +12201,61 @@ styleInject(css_248z);
|
|
|
12993
12201
|
|
|
12994
12202
|
var SegmentedControl = function (_a) {
|
|
12995
12203
|
var _b = _a.className, className = _b === void 0 ? '' : _b, values = _a.values, selectedIndex = _a.selectedIndex, onChange = _a.onChange;
|
|
12996
|
-
var _c = useState({ left: 0, width: 0 }), selectedChipBackgroundWidthLeft = _c[0], setSelectedChipBackgroundWidthLeft = _c[1];
|
|
12997
|
-
var chipContainer = useRef(null);
|
|
12204
|
+
var _c = require$$0.useState({ left: 0, width: 0 }), selectedChipBackgroundWidthLeft = _c[0], setSelectedChipBackgroundWidthLeft = _c[1];
|
|
12205
|
+
var chipContainer = require$$0.useRef(null);
|
|
12998
12206
|
var height = typeof values[0] === 'string' ? 48 : 66;
|
|
12999
|
-
useEffect(function () {
|
|
12207
|
+
require$$0.useEffect(function () {
|
|
13000
12208
|
var _a;
|
|
13001
12209
|
var selectedChip = (_a = chipContainer.current) === null || _a === void 0 ? void 0 : _a.children[selectedIndex];
|
|
13002
12210
|
var left = selectedChip.offsetLeft;
|
|
13003
12211
|
var width = selectedChip.offsetWidth;
|
|
13004
12212
|
setSelectedChipBackgroundWidthLeft({ left: left, width: width });
|
|
13005
12213
|
}, [selectedIndex]);
|
|
13006
|
-
return (jsx("div", __assign({ className: className }, { children: jsxs("div", __assign({ className: styles['background-container'] }, { children: [jsx("div", __assign({ ref: chipContainer, className: styles['chip-container'], style: { height: height + "px" } }, { children: values.map(function (value, index) {
|
|
13007
|
-
return (jsx("div", __assign({ role: "button", tabIndex: 0, onKeyDown: function (e) {
|
|
12214
|
+
return (jsxRuntime.jsx("div", __assign({ className: className }, { children: jsxRuntime.jsxs("div", __assign({ className: styles['background-container'] }, { children: [jsxRuntime.jsx("div", __assign({ ref: chipContainer, className: styles['chip-container'], style: { height: height + "px" } }, { children: values.map(function (value, index) {
|
|
12215
|
+
return (jsxRuntime.jsx("div", __assign({ role: "button", tabIndex: 0, onKeyDown: function (e) {
|
|
13008
12216
|
if (e.key === 'Enter') {
|
|
13009
12217
|
onChange(index);
|
|
13010
12218
|
}
|
|
13011
12219
|
}, onClick: function () {
|
|
13012
12220
|
onChange(index);
|
|
13013
|
-
}, className: styles.chip }, { children: typeof value === 'string' ? (jsx("div", __assign({ className: "p-h4 ta-center " + (selectedIndex === index ? '' : 'tc-primary-500') }, { children: value }), void 0)) : (jsxs(Fragment
|
|
13014
|
-
jsx("div", __assign({ className: "p-p--small ta-center " + (selectedIndex === index
|
|
12221
|
+
}, className: styles.chip }, { children: typeof value === 'string' ? (jsxRuntime.jsx("div", __assign({ className: "p-h4 ta-center " + (selectedIndex === index ? '' : 'tc-primary-500') }, { children: value }), void 0)) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", __assign({ className: "p-h4 ta-center " + (selectedIndex === index ? '' : 'tc-primary-500') }, { children: value.title }), void 0),
|
|
12222
|
+
jsxRuntime.jsx("div", __assign({ className: "p-p--small ta-center " + (selectedIndex === index
|
|
13015
12223
|
? 'tc-grey-500'
|
|
13016
12224
|
: 'tc-primary-500') }, { children: value.subtitle }), void 0)] }, void 0)) }), void 0));
|
|
13017
12225
|
}) }), void 0),
|
|
13018
|
-
jsx("div", { className: styles['select-chip-background'], style: {
|
|
12226
|
+
jsxRuntime.jsx("div", { className: styles['select-chip-background'], style: {
|
|
13019
12227
|
width: selectedChipBackgroundWidthLeft.width + "px",
|
|
13020
12228
|
height: height - 16 + "px",
|
|
13021
12229
|
left: selectedChipBackgroundWidthLeft.left + "px",
|
|
13022
12230
|
} }, void 0)] }), void 0) }), void 0));
|
|
13023
12231
|
};
|
|
13024
12232
|
|
|
13025
|
-
|
|
12233
|
+
exports.AutoSuggestInput = AutoSuggestInput;
|
|
12234
|
+
exports.AutoSuggestMultiSelect = index;
|
|
12235
|
+
exports.AutocompleteAddress = AutoCompleteAddress;
|
|
12236
|
+
exports.BottomModal = BottomModal;
|
|
12237
|
+
exports.BottomOrRegularModal = index$5;
|
|
12238
|
+
exports.Button = Button;
|
|
12239
|
+
exports.CardButton = CardButton;
|
|
12240
|
+
exports.CardWithLeftIcon = index$3;
|
|
12241
|
+
exports.CardWithTopIcon = index$2;
|
|
12242
|
+
exports.CardWithTopLeftIcon = index$4;
|
|
12243
|
+
exports.Chip = Chip;
|
|
12244
|
+
exports.ComparisonTable = ComparisonTable;
|
|
12245
|
+
exports.CurrencyInput = CurrencyInput;
|
|
12246
|
+
exports.DateSelector = DateSelector;
|
|
12247
|
+
exports.DownloadButton = DownloadButton;
|
|
12248
|
+
exports.DownloadRing = index$6;
|
|
12249
|
+
exports.Dropzone = index$8;
|
|
12250
|
+
exports.IbanInput = IbanInput;
|
|
12251
|
+
exports.InfoCard = index$1;
|
|
12252
|
+
exports.Input = Input;
|
|
12253
|
+
exports.MultiDropzone = index$7;
|
|
12254
|
+
exports.RegularModal = RegularModal;
|
|
12255
|
+
exports.SegmentedControl = SegmentedControl;
|
|
12256
|
+
exports.SignaturePad = Signature;
|
|
12257
|
+
exports.TableInfoButton = TableInfoButton;
|
|
12258
|
+
exports.TableRating = TableRating;
|
|
12259
|
+
exports.TableRowHeader = TableRowHeader;
|
|
12260
|
+
exports.TableTrueFalse = TableTrueFalse;
|
|
13026
12261
|
//# sourceMappingURL=index.js.map
|