@typeolymp/ui-components 1.9.12 → 1.9.13
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/build/components/atoms/Button/index.d.ts +1 -1
- package/build/components/atoms/Flag/index.d.ts +2 -2
- package/build/components/atoms/Flag/stories.d.ts +2 -1
- package/build/components/atoms/Medal/index.d.ts +2 -2
- package/build/components/atoms/Medal/stories.d.ts +2 -1
- package/build/components/molecules/Card/index.d.ts +2 -2
- package/build/components/molecules/Loading/index.d.ts +2 -2
- package/build/components/molecules/LocaleSelect/index.d.ts +4 -4
- package/build/components/molecules/LocaleSelect/styles.d.ts +1 -1
- package/build/components/molecules/PasswordInputField/index.d.ts +2 -2
- package/build/components/molecules/PasswordInputField/translations.d.ts +2 -2
- package/build/components/organisms/Keyboard/stories.d.ts +2 -1
- package/build/index.es.js +246 -31
- package/build/index.es.js.map +1 -1
- package/build/index.js +246 -31
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -404,15 +404,240 @@ var Wrapper$9 = styled__default["default"].div(templateObject_1$L || (templateOb
|
|
|
404
404
|
});
|
|
405
405
|
var templateObject_1$L;
|
|
406
406
|
|
|
407
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
408
|
+
|
|
407
409
|
var parsers = {};
|
|
408
410
|
|
|
411
|
+
var enums = {};
|
|
412
|
+
|
|
413
|
+
var AchievementType$1 = {};
|
|
414
|
+
|
|
415
|
+
Object.defineProperty(AchievementType$1, "__esModule", { value: true });
|
|
416
|
+
var AchievementType;
|
|
417
|
+
(function (AchievementType) {
|
|
418
|
+
AchievementType["PRACTICE_TIME"] = "practiceTime";
|
|
419
|
+
AchievementType["PRACTICE_STREAK"] = "practiceStreak";
|
|
420
|
+
AchievementType["MEDALS"] = "medals";
|
|
421
|
+
})(AchievementType || (AchievementType = {}));
|
|
422
|
+
AchievementType$1.default = AchievementType;
|
|
423
|
+
|
|
424
|
+
var ChartDataType$1 = {};
|
|
425
|
+
|
|
426
|
+
Object.defineProperty(ChartDataType$1, "__esModule", { value: true });
|
|
427
|
+
var ChartDataType;
|
|
428
|
+
(function (ChartDataType) {
|
|
429
|
+
ChartDataType["PROGRESS"] = "progress";
|
|
430
|
+
ChartDataType["TIME_PRACTISED"] = "timePractised";
|
|
431
|
+
ChartDataType["RESULTS"] = "results";
|
|
432
|
+
ChartDataType["HITS"] = "hits";
|
|
433
|
+
ChartDataType["KPM"] = "kpm";
|
|
434
|
+
ChartDataType["ACCURACY"] = "accuracy";
|
|
435
|
+
})(ChartDataType || (ChartDataType = {}));
|
|
436
|
+
ChartDataType$1.default = ChartDataType;
|
|
437
|
+
|
|
438
|
+
var Color$1 = {};
|
|
439
|
+
|
|
440
|
+
Object.defineProperty(Color$1, "__esModule", { value: true });
|
|
441
|
+
var Color;
|
|
442
|
+
(function (Color) {
|
|
443
|
+
Color["RED"] = "red";
|
|
444
|
+
Color["YELLOW"] = "yellow";
|
|
445
|
+
Color["BLUE"] = "blue";
|
|
446
|
+
Color["GREEN"] = "green";
|
|
447
|
+
Color["PURPLE"] = "purple";
|
|
448
|
+
Color["PINK"] = "pink";
|
|
449
|
+
Color["ORANGE"] = "orange";
|
|
450
|
+
Color["DARK_GRAY"] = "darkGray";
|
|
451
|
+
Color["LIGHT_GRAY"] = "lightGray";
|
|
452
|
+
})(Color || (Color = {}));
|
|
453
|
+
Color$1.default = Color;
|
|
454
|
+
|
|
455
|
+
var CourseTranslation$1 = {};
|
|
456
|
+
|
|
457
|
+
Object.defineProperty(CourseTranslation$1, "__esModule", { value: true });
|
|
458
|
+
var CourseTranslation;
|
|
459
|
+
(function (CourseTranslation) {
|
|
460
|
+
CourseTranslation["NL_NL"] = "nl-NL";
|
|
461
|
+
// EN_GB = "en-GB",
|
|
462
|
+
})(CourseTranslation || (CourseTranslation = {}));
|
|
463
|
+
CourseTranslation$1.default = CourseTranslation;
|
|
464
|
+
|
|
465
|
+
var Currency$1 = {};
|
|
466
|
+
|
|
467
|
+
Object.defineProperty(Currency$1, "__esModule", { value: true });
|
|
468
|
+
var Currency;
|
|
469
|
+
(function (Currency) {
|
|
470
|
+
Currency["EUR"] = "EUR";
|
|
471
|
+
Currency["GBP"] = "GBP";
|
|
472
|
+
Currency["USD"] = "USD";
|
|
473
|
+
})(Currency || (Currency = {}));
|
|
474
|
+
Currency$1.default = Currency;
|
|
475
|
+
|
|
476
|
+
var ExerciseType$1 = {};
|
|
477
|
+
|
|
478
|
+
Object.defineProperty(ExerciseType$1, "__esModule", { value: true });
|
|
479
|
+
var ExerciseType;
|
|
480
|
+
(function (ExerciseType) {
|
|
481
|
+
ExerciseType["KEYS"] = "keys";
|
|
482
|
+
ExerciseType["DRILLS"] = "drills";
|
|
483
|
+
ExerciseType["WORDS"] = "words";
|
|
484
|
+
ExerciseType["TEXT"] = "text";
|
|
485
|
+
})(ExerciseType || (ExerciseType = {}));
|
|
486
|
+
ExerciseType$1.default = ExerciseType;
|
|
487
|
+
|
|
488
|
+
var KeyboardLayout$1 = {};
|
|
489
|
+
|
|
490
|
+
Object.defineProperty(KeyboardLayout$1, "__esModule", { value: true });
|
|
491
|
+
var KeyboardLayout;
|
|
492
|
+
(function (KeyboardLayout) {
|
|
493
|
+
KeyboardLayout["QWERTY_NL"] = "qwerty-nl";
|
|
494
|
+
// QWERTY_UK = "qwerty-uk",
|
|
495
|
+
// QWERTY_US = "qwerty-us",
|
|
496
|
+
// QWERTY_TR = "qwerty-tr",
|
|
497
|
+
KeyboardLayout["AZERTY_BE"] = "azerty-be";
|
|
498
|
+
// AZERTY_FR = "azerty-fr",
|
|
499
|
+
// QWERTZ_DE = "qwertz-de",
|
|
500
|
+
})(KeyboardLayout || (KeyboardLayout = {}));
|
|
501
|
+
KeyboardLayout$1.default = KeyboardLayout;
|
|
502
|
+
|
|
503
|
+
var Locale$1 = {};
|
|
504
|
+
|
|
505
|
+
Object.defineProperty(Locale$1, "__esModule", { value: true });
|
|
506
|
+
var Locale;
|
|
507
|
+
(function (Locale) {
|
|
508
|
+
Locale["NL_NL"] = "nl-NL";
|
|
509
|
+
Locale["NL_BE"] = "nl-BE";
|
|
510
|
+
// EN_GB = "en-GB",
|
|
511
|
+
// FR_FR = "fr-FR",
|
|
512
|
+
// FR_BE = "fr-BE",
|
|
513
|
+
// DE_DE = "de-DE",
|
|
514
|
+
})(Locale || (Locale = {}));
|
|
515
|
+
Locale$1.default = Locale;
|
|
516
|
+
|
|
517
|
+
var Medal$2 = {};
|
|
518
|
+
|
|
519
|
+
Object.defineProperty(Medal$2, "__esModule", { value: true });
|
|
520
|
+
var Medal$1;
|
|
521
|
+
(function (Medal) {
|
|
522
|
+
Medal["GOLD"] = "gold";
|
|
523
|
+
Medal["SILVER"] = "silver";
|
|
524
|
+
Medal["BRONZE"] = "bronze";
|
|
525
|
+
})(Medal$1 || (Medal$1 = {}));
|
|
526
|
+
Medal$2.default = Medal$1;
|
|
527
|
+
|
|
528
|
+
var PaymentStatus$1 = {};
|
|
529
|
+
|
|
530
|
+
Object.defineProperty(PaymentStatus$1, "__esModule", { value: true });
|
|
531
|
+
var PaymentStatus;
|
|
532
|
+
(function (PaymentStatus) {
|
|
533
|
+
PaymentStatus["OPEN"] = "open";
|
|
534
|
+
PaymentStatus["PAID"] = "paid";
|
|
535
|
+
})(PaymentStatus || (PaymentStatus = {}));
|
|
536
|
+
PaymentStatus$1.default = PaymentStatus;
|
|
537
|
+
|
|
538
|
+
var PaymentType$1 = {};
|
|
539
|
+
|
|
540
|
+
Object.defineProperty(PaymentType$1, "__esModule", { value: true });
|
|
541
|
+
var PaymentType;
|
|
542
|
+
(function (PaymentType) {
|
|
543
|
+
PaymentType["REGISTRATION"] = "registration";
|
|
544
|
+
PaymentType["UPGRADE"] = "upgrade";
|
|
545
|
+
})(PaymentType || (PaymentType = {}));
|
|
546
|
+
PaymentType$1.default = PaymentType;
|
|
547
|
+
|
|
548
|
+
var Plan$1 = {};
|
|
549
|
+
|
|
550
|
+
Object.defineProperty(Plan$1, "__esModule", { value: true });
|
|
551
|
+
var Plan;
|
|
552
|
+
(function (Plan) {
|
|
553
|
+
Plan["HOBBY"] = "hobby";
|
|
554
|
+
Plan["PROFESSIONAL"] = "professional";
|
|
555
|
+
})(Plan || (Plan = {}));
|
|
556
|
+
Plan$1.default = Plan;
|
|
557
|
+
|
|
558
|
+
var RankingType$1 = {};
|
|
559
|
+
|
|
560
|
+
Object.defineProperty(RankingType$1, "__esModule", { value: true });
|
|
561
|
+
var RankingType;
|
|
562
|
+
(function (RankingType) {
|
|
563
|
+
RankingType["SPEED"] = "speed";
|
|
564
|
+
RankingType["ACCURACY"] = "accuracy";
|
|
565
|
+
RankingType["EXERCISES"] = "exercises";
|
|
566
|
+
})(RankingType || (RankingType = {}));
|
|
567
|
+
RankingType$1.default = RankingType;
|
|
568
|
+
|
|
569
|
+
var Role$1 = {};
|
|
570
|
+
|
|
571
|
+
Object.defineProperty(Role$1, "__esModule", { value: true });
|
|
572
|
+
var Role;
|
|
573
|
+
(function (Role) {
|
|
574
|
+
Role["ADMIN"] = "admin";
|
|
575
|
+
Role["STUDENT"] = "student";
|
|
576
|
+
})(Role || (Role = {}));
|
|
577
|
+
Role$1.default = Role;
|
|
578
|
+
|
|
579
|
+
var TextTopic$1 = {};
|
|
580
|
+
|
|
581
|
+
Object.defineProperty(TextTopic$1, "__esModule", { value: true });
|
|
582
|
+
var TextTopic;
|
|
583
|
+
(function (TextTopic) {
|
|
584
|
+
TextTopic["SPORT"] = "sport";
|
|
585
|
+
TextTopic["MUSIC"] = "music";
|
|
586
|
+
TextTopic["TECHNIC"] = "technic";
|
|
587
|
+
TextTopic["MOVIES"] = "movies";
|
|
588
|
+
TextTopic["NATURE"] = "nature";
|
|
589
|
+
TextTopic["HISTORY"] = "history";
|
|
590
|
+
TextTopic["ART"] = "art";
|
|
591
|
+
TextTopic["FASHION"] = "fashion";
|
|
592
|
+
TextTopic["OTHER"] = "other";
|
|
593
|
+
})(TextTopic || (TextTopic = {}));
|
|
594
|
+
TextTopic$1.default = TextTopic;
|
|
595
|
+
|
|
596
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
597
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
598
|
+
};
|
|
599
|
+
Object.defineProperty(enums, "__esModule", { value: true });
|
|
600
|
+
enums.TextTopic = enums.Role = enums.RankingType = enums.Plan = enums.PaymentType = enums.PaymentStatus = enums.Medal = enums.Locale = enums.KeyboardLayout = enums.ExerciseType = enums.Currency = enums.CourseTranslation = enums.Color = enums.ChartDataType = enums.AchievementType = void 0;
|
|
601
|
+
var AchievementType_1 = __importDefault(AchievementType$1);
|
|
602
|
+
enums.AchievementType = AchievementType_1.default;
|
|
603
|
+
var ChartDataType_1 = __importDefault(ChartDataType$1);
|
|
604
|
+
enums.ChartDataType = ChartDataType_1.default;
|
|
605
|
+
var Color_1 = __importDefault(Color$1);
|
|
606
|
+
enums.Color = Color_1.default;
|
|
607
|
+
var CourseTranslation_1 = __importDefault(CourseTranslation$1);
|
|
608
|
+
enums.CourseTranslation = CourseTranslation_1.default;
|
|
609
|
+
var Currency_1 = __importDefault(Currency$1);
|
|
610
|
+
enums.Currency = Currency_1.default;
|
|
611
|
+
var ExerciseType_1 = __importDefault(ExerciseType$1);
|
|
612
|
+
enums.ExerciseType = ExerciseType_1.default;
|
|
613
|
+
var KeyboardLayout_1 = __importDefault(KeyboardLayout$1);
|
|
614
|
+
enums.KeyboardLayout = KeyboardLayout_1.default;
|
|
615
|
+
var Locale_1 = __importDefault(Locale$1);
|
|
616
|
+
enums.Locale = Locale_1.default;
|
|
617
|
+
var Medal_1 = __importDefault(Medal$2);
|
|
618
|
+
enums.Medal = Medal_1.default;
|
|
619
|
+
var PaymentStatus_1 = __importDefault(PaymentStatus$1);
|
|
620
|
+
enums.PaymentStatus = PaymentStatus_1.default;
|
|
621
|
+
var PaymentType_1 = __importDefault(PaymentType$1);
|
|
622
|
+
enums.PaymentType = PaymentType_1.default;
|
|
623
|
+
var Plan_1 = __importDefault(Plan$1);
|
|
624
|
+
enums.Plan = Plan_1.default;
|
|
625
|
+
var RankingType_1 = __importDefault(RankingType$1);
|
|
626
|
+
enums.RankingType = RankingType_1.default;
|
|
627
|
+
var Role_1 = __importDefault(Role$1);
|
|
628
|
+
enums.Role = Role_1.default;
|
|
629
|
+
var TextTopic_1 = __importDefault(TextTopic$1);
|
|
630
|
+
enums.TextTopic = TextTopic_1.default;
|
|
631
|
+
|
|
409
632
|
Object.defineProperty(parsers, "__esModule", { value: true });
|
|
410
633
|
parsers.getKeyboardLayoutByLocale = getCountryCodeByLocale_1 = parsers.getCountryCodeByLocale = parsers.getLanguageCodeByLocale = getNativeLanguageByLocale_1 = parsers.getNativeLanguageByLocale = void 0;
|
|
634
|
+
var enums_1 = enums;
|
|
411
635
|
var getNativeLanguageByLocale = function (locale) {
|
|
412
636
|
var nativeLanguages = {
|
|
413
|
-
"en-GB": "English (UK)",
|
|
414
637
|
"nl-NL": "Nederlands",
|
|
415
638
|
"nl-BE": "Nederlands (BE)",
|
|
639
|
+
// "en-GB": "English (UK)",
|
|
640
|
+
// "en-US": "English (US)",
|
|
416
641
|
// "fr-BE": "Français (BE)",
|
|
417
642
|
// "fr-FR": "Français",
|
|
418
643
|
// "de-DE": "Deutsch",
|
|
@@ -420,22 +645,19 @@ var getNativeLanguageByLocale = function (locale) {
|
|
|
420
645
|
return nativeLanguages[locale];
|
|
421
646
|
};
|
|
422
647
|
var getNativeLanguageByLocale_1 = parsers.getNativeLanguageByLocale = getNativeLanguageByLocale;
|
|
423
|
-
var getLanguageCodeByLocale = function (locale) {
|
|
424
|
-
return locale.split("-")[0];
|
|
425
|
-
};
|
|
648
|
+
var getLanguageCodeByLocale = function (locale) { return locale.split("-")[0]; };
|
|
426
649
|
parsers.getLanguageCodeByLocale = getLanguageCodeByLocale;
|
|
427
|
-
var getCountryCodeByLocale = function (locale) {
|
|
428
|
-
return locale.split("-")[1];
|
|
429
|
-
};
|
|
650
|
+
var getCountryCodeByLocale = function (locale) { return locale.split("-")[1]; };
|
|
430
651
|
var getCountryCodeByLocale_1 = parsers.getCountryCodeByLocale = getCountryCodeByLocale;
|
|
431
652
|
var getKeyboardLayoutByLocale = function (locale) {
|
|
432
653
|
var keyboardLayouts = {
|
|
433
|
-
"
|
|
434
|
-
"nl-
|
|
435
|
-
"
|
|
436
|
-
// "
|
|
437
|
-
// "fr-
|
|
438
|
-
// "
|
|
654
|
+
"nl-NL": enums_1.KeyboardLayout.QWERTY_NL,
|
|
655
|
+
"nl-BE": enums_1.KeyboardLayout.AZERTY_BE,
|
|
656
|
+
// "en-GB": KeyboardLayout.QWERTY_UK,
|
|
657
|
+
// "en-US": KeyboardLayout.QWERTY_US,
|
|
658
|
+
// "fr-BE": KeyboardLayout.AZERTY_FR,
|
|
659
|
+
// "fr-FR": KeyboardLayout.AZERTY_FR,
|
|
660
|
+
// "de-DE": KeyboardLayout.QWERTZ_DE,
|
|
439
661
|
};
|
|
440
662
|
return keyboardLayouts[locale];
|
|
441
663
|
};
|
|
@@ -1406,7 +1628,7 @@ var DropdownContainer = styled__default["default"].div(templateObject_3$7 || (te
|
|
|
1406
1628
|
return theme.colors.lightGray.dark;
|
|
1407
1629
|
}
|
|
1408
1630
|
});
|
|
1409
|
-
var
|
|
1631
|
+
var LocaleWrapper = styled__default["default"].div(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px 15px;\n\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n\n > div:first-child {\n display: flex;\n align-items: center;\n margin-right: 10px;\n }\n\n p {\n white-space: nowrap;\n }\n\n :hover {\n cursor: pointer;\n background-color: ", ";\n\n p {\n color: ", ";\n }\n svg {\n fill: ", ";\n }\n }\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px 15px;\n\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n\n > div:first-child {\n display: flex;\n align-items: center;\n margin-right: 10px;\n }\n\n p {\n white-space: nowrap;\n }\n\n :hover {\n cursor: pointer;\n background-color: ", ";\n\n p {\n color: ", ";\n }\n svg {\n fill: ", ";\n }\n }\n"])), theme.colors.lightGray.darker, theme.colors.lightGray.base, theme.colors.blue.base, theme.colors.blue.base);
|
|
1410
1632
|
var templateObject_1$l, templateObject_2$h, templateObject_3$7, templateObject_4$5;
|
|
1411
1633
|
|
|
1412
1634
|
var LocaleSelect = function (props) {
|
|
@@ -1418,7 +1640,7 @@ var LocaleSelect = function (props) {
|
|
|
1418
1640
|
};
|
|
1419
1641
|
return (jsxRuntime.jsxs(Container$b, __assign({ color: props.color || "light", dropdownIsVisible: dropdownIsVisible, onClick: function () { return setDropdownIsVisible(!dropdownIsVisible); }, onMouseLeave: function () { return setDropdownIsVisible(false); } }, { children: [jsxRuntime.jsxs(SelectedLocaleWrapper, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Flag, { locale: locale }), jsxRuntime.jsx(Spacer, { horizontal: 10 }), jsxRuntime.jsx(Heading, __assign({ type: "h6" }, { children: getNativeLanguageByLocale_1(locale) }))] }), dropdownIsVisible ? (jsxRuntime.jsx(Icon, { type: "chevronUp", size: "small", color: "darkGray" })) : (jsxRuntime.jsx(Icon, { type: "chevronDown", size: "small", color: "darkGray" }))] }), dropdownIsVisible && (jsxRuntime.jsx(DropdownContainer, __assign({ color: props.color || "light" }, { children: props.locales
|
|
1420
1642
|
.filter(function (l) { return l !== locale; })
|
|
1421
|
-
.map(function (locale) { return (jsxRuntime.jsxs(
|
|
1643
|
+
.map(function (locale) { return (jsxRuntime.jsxs(LocaleWrapper, __assign({ onClick: function () { return onSelectLocale(locale); } }, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Flag, { locale: locale }), jsxRuntime.jsx(Spacer, { horizontal: 10 }), jsxRuntime.jsx(Paragraph, __assign({ size: "small", weight: "regular", color: "darkGray" }, { children: getNativeLanguageByLocale_1(locale) }))] }), jsxRuntime.jsx(Icon, { type: "chevronRight", size: "small", color: "darkGray" })] }), locale)); }) })))] })));
|
|
1422
1644
|
};
|
|
1423
1645
|
|
|
1424
1646
|
var Wrapper$1 = styled__default["default"].div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n width: 100%;\n min-width: 200px;\n display: flex;\n justify-content: space-between;\n\n > div {\n display: flex;\n align-items: center;\n }\n"], ["\n width: 100%;\n min-width: 200px;\n display: flex;\n justify-content: space-between;\n\n > div {\n display: flex;\n align-items: center;\n }\n"])));
|
|
@@ -1481,24 +1703,17 @@ var isValidEmail = function (email) {
|
|
|
1481
1703
|
};
|
|
1482
1704
|
exports.isValidEmail = isValidEmail;
|
|
1483
1705
|
var isValidUsername = function (username) {
|
|
1484
|
-
|
|
1706
|
+
return username.length > 5 &&
|
|
1485
1707
|
username.length <= 15 &&
|
|
1486
1708
|
username.indexOf(" ") < 0 &&
|
|
1487
|
-
!(0, exports.isValidEmail)(username)
|
|
1488
|
-
return true;
|
|
1489
|
-
}
|
|
1490
|
-
else {
|
|
1491
|
-
return false;
|
|
1492
|
-
}
|
|
1709
|
+
!(0, exports.isValidEmail)(username);
|
|
1493
1710
|
};
|
|
1494
1711
|
exports.isValidUsername = isValidUsername;
|
|
1495
1712
|
var isStrongPassword = function (password) {
|
|
1496
1713
|
return password.length >= 8 &&
|
|
1497
1714
|
(0, exports.hasNumber)(password) &&
|
|
1498
1715
|
(0, exports.hasSpecialCharacter)(password) &&
|
|
1499
|
-
(0, exports.hasCapitalLetter)(password)
|
|
1500
|
-
? true
|
|
1501
|
-
: false;
|
|
1716
|
+
(0, exports.hasCapitalLetter)(password);
|
|
1502
1717
|
};
|
|
1503
1718
|
exports.isStrongPassword = isStrongPassword;
|
|
1504
1719
|
}(expressions));
|
|
@@ -1526,12 +1741,12 @@ var translations = {
|
|
|
1526
1741
|
specialCharacter: "Minimaal 1 leesteken",
|
|
1527
1742
|
length: "Minimaal 8 karakters",
|
|
1528
1743
|
},
|
|
1529
|
-
"en-GB": {
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
},
|
|
1744
|
+
// "en-GB": {
|
|
1745
|
+
// capitalLetter: "At least 1 capital letter",
|
|
1746
|
+
// number: "At least 1 number",
|
|
1747
|
+
// specialCharacter: "At least 1 special character",
|
|
1748
|
+
// length: "At least 8 characters",
|
|
1749
|
+
// },
|
|
1535
1750
|
// "fr-FR": {
|
|
1536
1751
|
// capitalLetter: "Au moins une lettre majuscule",
|
|
1537
1752
|
// number: "Au moins un chiffre",
|