@typeolymp/ui-components 1.16.0 → 1.16.1
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/index.es.js +358 -8
- package/build/index.es.js.map +1 -1
- package/build/index.js +353 -3
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -5,9 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React$3 = require('react');
|
|
7
7
|
var styled = require('styled-components');
|
|
8
|
-
var parsers = require('@typeolymp/utils/parsers');
|
|
9
|
-
var expressions = require('@typeolymp/utils/expressions');
|
|
10
|
-
var enums = require('@typeolymp/utils/enums');
|
|
11
8
|
|
|
12
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
10
|
|
|
@@ -3626,6 +3623,266 @@ var Wrapper$a = styled__default["default"].div(templateObject_1$Q || (templateOb
|
|
|
3626
3623
|
});
|
|
3627
3624
|
var templateObject_1$Q;
|
|
3628
3625
|
|
|
3626
|
+
var parsers = {};
|
|
3627
|
+
|
|
3628
|
+
var getCountryByLocale$1 = {};
|
|
3629
|
+
|
|
3630
|
+
var enums = {};
|
|
3631
|
+
|
|
3632
|
+
var Color = {};
|
|
3633
|
+
|
|
3634
|
+
(function (exports) {
|
|
3635
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3636
|
+
exports.Color = void 0;
|
|
3637
|
+
(function (Color) {
|
|
3638
|
+
Color["RED"] = "red";
|
|
3639
|
+
Color["YELLOW"] = "yellow";
|
|
3640
|
+
Color["BLUE"] = "blue";
|
|
3641
|
+
Color["GREEN"] = "green";
|
|
3642
|
+
Color["PURPLE"] = "purple";
|
|
3643
|
+
Color["PINK"] = "pink";
|
|
3644
|
+
Color["ORANGE"] = "orange";
|
|
3645
|
+
Color["DARK_GRAY"] = "darkGray";
|
|
3646
|
+
Color["LIGHT_GRAY"] = "lightGray";
|
|
3647
|
+
})(exports.Color || (exports.Color = {}));
|
|
3648
|
+
|
|
3649
|
+
}(Color));
|
|
3650
|
+
|
|
3651
|
+
var Country = {};
|
|
3652
|
+
|
|
3653
|
+
(function (exports) {
|
|
3654
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3655
|
+
exports.Country = void 0;
|
|
3656
|
+
(function (Country) {
|
|
3657
|
+
Country["NL"] = "Nederland";
|
|
3658
|
+
Country["BE"] = "Belgi\u00EB";
|
|
3659
|
+
})(exports.Country || (exports.Country = {}));
|
|
3660
|
+
|
|
3661
|
+
}(Country));
|
|
3662
|
+
|
|
3663
|
+
var CourseTranslation = {};
|
|
3664
|
+
|
|
3665
|
+
(function (exports) {
|
|
3666
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3667
|
+
exports.CourseTranslation = void 0;
|
|
3668
|
+
(function (CourseTranslation) {
|
|
3669
|
+
CourseTranslation["NL_NL"] = "nl-NL";
|
|
3670
|
+
// EN_GB = "en-GB",
|
|
3671
|
+
})(exports.CourseTranslation || (exports.CourseTranslation = {}));
|
|
3672
|
+
|
|
3673
|
+
}(CourseTranslation));
|
|
3674
|
+
|
|
3675
|
+
var KeyboardLayout = {};
|
|
3676
|
+
|
|
3677
|
+
(function (exports) {
|
|
3678
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3679
|
+
exports.KeyboardLayout = void 0;
|
|
3680
|
+
(function (KeyboardLayout) {
|
|
3681
|
+
KeyboardLayout["QWERTY_NL"] = "qwerty-nl";
|
|
3682
|
+
// QWERTY_UK = "qwerty-uk",
|
|
3683
|
+
// QWERTY_US = "qwerty-us",
|
|
3684
|
+
// QWERTY_TR = "qwerty-tr",
|
|
3685
|
+
KeyboardLayout["AZERTY_BE"] = "azerty-be";
|
|
3686
|
+
// AZERTY_FR = "azerty-fr",
|
|
3687
|
+
// QWERTZ_DE = "qwertz-de",
|
|
3688
|
+
})(exports.KeyboardLayout || (exports.KeyboardLayout = {}));
|
|
3689
|
+
|
|
3690
|
+
}(KeyboardLayout));
|
|
3691
|
+
|
|
3692
|
+
var Locale = {};
|
|
3693
|
+
|
|
3694
|
+
(function (exports) {
|
|
3695
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3696
|
+
exports.Locale = void 0;
|
|
3697
|
+
(function (Locale) {
|
|
3698
|
+
Locale["NL_NL"] = "nl-NL";
|
|
3699
|
+
Locale["NL_BE"] = "nl-BE";
|
|
3700
|
+
// EN_GB = "en-GB",
|
|
3701
|
+
// FR_FR = "fr-FR",
|
|
3702
|
+
// FR_BE = "fr-BE",
|
|
3703
|
+
// DE_DE = "de-DE",
|
|
3704
|
+
})(exports.Locale || (exports.Locale = {}));
|
|
3705
|
+
|
|
3706
|
+
}(Locale));
|
|
3707
|
+
|
|
3708
|
+
var Plan = {};
|
|
3709
|
+
|
|
3710
|
+
(function (exports) {
|
|
3711
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3712
|
+
exports.Plan = void 0;
|
|
3713
|
+
(function (Plan) {
|
|
3714
|
+
Plan["HOBBY"] = "hobby";
|
|
3715
|
+
Plan["PROFESSIONAL"] = "professional";
|
|
3716
|
+
})(exports.Plan || (exports.Plan = {}));
|
|
3717
|
+
|
|
3718
|
+
}(Plan));
|
|
3719
|
+
|
|
3720
|
+
var TextTopic = {};
|
|
3721
|
+
|
|
3722
|
+
(function (exports) {
|
|
3723
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3724
|
+
exports.TextTopic = void 0;
|
|
3725
|
+
(function (TextTopic) {
|
|
3726
|
+
TextTopic["SPORT"] = "sport";
|
|
3727
|
+
TextTopic["MUSIC"] = "music";
|
|
3728
|
+
TextTopic["TECHNIC"] = "technic";
|
|
3729
|
+
TextTopic["MOVIES"] = "movies";
|
|
3730
|
+
TextTopic["NATURE"] = "nature";
|
|
3731
|
+
TextTopic["HISTORY"] = "history";
|
|
3732
|
+
TextTopic["ART"] = "art";
|
|
3733
|
+
TextTopic["FASHION"] = "fashion";
|
|
3734
|
+
TextTopic["OTHER"] = "other";
|
|
3735
|
+
})(exports.TextTopic || (exports.TextTopic = {}));
|
|
3736
|
+
|
|
3737
|
+
}(TextTopic));
|
|
3738
|
+
|
|
3739
|
+
var Medal$1 = {};
|
|
3740
|
+
|
|
3741
|
+
(function (exports) {
|
|
3742
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3743
|
+
exports.Medal = void 0;
|
|
3744
|
+
(function (Medal) {
|
|
3745
|
+
Medal["GOLD"] = "gold";
|
|
3746
|
+
Medal["SILVER"] = "silver";
|
|
3747
|
+
Medal["BRONZE"] = "bronze";
|
|
3748
|
+
})(exports.Medal || (exports.Medal = {}));
|
|
3749
|
+
|
|
3750
|
+
}(Medal$1));
|
|
3751
|
+
|
|
3752
|
+
(function (exports) {
|
|
3753
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3754
|
+
if (k2 === undefined) k2 = k;
|
|
3755
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3756
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3757
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3758
|
+
}
|
|
3759
|
+
Object.defineProperty(o, k2, desc);
|
|
3760
|
+
}) : (function(o, m, k, k2) {
|
|
3761
|
+
if (k2 === undefined) k2 = k;
|
|
3762
|
+
o[k2] = m[k];
|
|
3763
|
+
}));
|
|
3764
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3765
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3766
|
+
};
|
|
3767
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3768
|
+
__exportStar(Color, exports);
|
|
3769
|
+
__exportStar(Country, exports);
|
|
3770
|
+
__exportStar(CourseTranslation, exports);
|
|
3771
|
+
__exportStar(KeyboardLayout, exports);
|
|
3772
|
+
__exportStar(Locale, exports);
|
|
3773
|
+
__exportStar(Plan, exports);
|
|
3774
|
+
__exportStar(TextTopic, exports);
|
|
3775
|
+
__exportStar(Medal$1, exports);
|
|
3776
|
+
|
|
3777
|
+
}(enums));
|
|
3778
|
+
|
|
3779
|
+
Object.defineProperty(getCountryByLocale$1, "__esModule", { value: true });
|
|
3780
|
+
getCountryByLocale$1.getCountryByLocale = void 0;
|
|
3781
|
+
var enums_1$2 = enums;
|
|
3782
|
+
var getCountryByLocale = function (locale) {
|
|
3783
|
+
var countries = {
|
|
3784
|
+
"nl-NL": enums_1$2.Country.NL,
|
|
3785
|
+
"nl-BE": enums_1$2.Country.BE,
|
|
3786
|
+
};
|
|
3787
|
+
return countries[locale];
|
|
3788
|
+
};
|
|
3789
|
+
getCountryByLocale$1.getCountryByLocale = getCountryByLocale;
|
|
3790
|
+
|
|
3791
|
+
var getCourseTranslationByLocale$1 = {};
|
|
3792
|
+
|
|
3793
|
+
Object.defineProperty(getCourseTranslationByLocale$1, "__esModule", { value: true });
|
|
3794
|
+
getCourseTranslationByLocale$1.getCourseTranslationByLocale = void 0;
|
|
3795
|
+
var enums_1$1 = enums;
|
|
3796
|
+
var getCourseTranslationByLocale = function (locale) {
|
|
3797
|
+
var courseTranslations = {
|
|
3798
|
+
"nl-NL": enums_1$1.CourseTranslation.NL_NL,
|
|
3799
|
+
"nl-BE": enums_1$1.CourseTranslation.NL_NL,
|
|
3800
|
+
// "en-GB": KeyboardLayout.QWERTY_UK,
|
|
3801
|
+
// "en-US": KeyboardLayout.QWERTY_US,
|
|
3802
|
+
// "fr-BE": KeyboardLayout.AZERTY_FR,
|
|
3803
|
+
// "fr-FR": KeyboardLayout.AZERTY_FR,
|
|
3804
|
+
// "de-DE": KeyboardLayout.QWERTZ_DE,
|
|
3805
|
+
};
|
|
3806
|
+
return courseTranslations[locale];
|
|
3807
|
+
};
|
|
3808
|
+
getCourseTranslationByLocale$1.getCourseTranslationByLocale = getCourseTranslationByLocale;
|
|
3809
|
+
|
|
3810
|
+
var getKeyboardLayoutByLocale$1 = {};
|
|
3811
|
+
|
|
3812
|
+
Object.defineProperty(getKeyboardLayoutByLocale$1, "__esModule", { value: true });
|
|
3813
|
+
getKeyboardLayoutByLocale$1.getKeyboardLayoutByLocale = void 0;
|
|
3814
|
+
var enums_1 = enums;
|
|
3815
|
+
var getKeyboardLayoutByLocale = function (locale) {
|
|
3816
|
+
var keyboardLayouts = {
|
|
3817
|
+
"nl-NL": enums_1.KeyboardLayout.QWERTY_NL,
|
|
3818
|
+
"nl-BE": enums_1.KeyboardLayout.AZERTY_BE,
|
|
3819
|
+
// "en-GB": KeyboardLayout.QWERTY_UK,
|
|
3820
|
+
// "en-US": KeyboardLayout.QWERTY_US,
|
|
3821
|
+
// "fr-BE": KeyboardLayout.AZERTY_FR,
|
|
3822
|
+
// "fr-FR": KeyboardLayout.AZERTY_FR,
|
|
3823
|
+
// "de-DE": KeyboardLayout.QWERTZ_DE,
|
|
3824
|
+
};
|
|
3825
|
+
return keyboardLayouts[locale];
|
|
3826
|
+
};
|
|
3827
|
+
getKeyboardLayoutByLocale$1.getKeyboardLayoutByLocale = getKeyboardLayoutByLocale;
|
|
3828
|
+
|
|
3829
|
+
var getLanguageCodeByLocale$1 = {};
|
|
3830
|
+
|
|
3831
|
+
Object.defineProperty(getLanguageCodeByLocale$1, "__esModule", { value: true });
|
|
3832
|
+
getLanguageCodeByLocale$1.getLanguageCodeByLocale = void 0;
|
|
3833
|
+
var getLanguageCodeByLocale = function (locale) { return locale.split("-")[0]; };
|
|
3834
|
+
getLanguageCodeByLocale$1.getLanguageCodeByLocale = getLanguageCodeByLocale;
|
|
3835
|
+
|
|
3836
|
+
var getCountryCodeByLocale$1 = {};
|
|
3837
|
+
|
|
3838
|
+
Object.defineProperty(getCountryCodeByLocale$1, "__esModule", { value: true });
|
|
3839
|
+
getCountryCodeByLocale$1.getCountryCodeByLocale = void 0;
|
|
3840
|
+
var getCountryCodeByLocale = function (locale) { return locale.split("-")[1]; };
|
|
3841
|
+
getCountryCodeByLocale$1.getCountryCodeByLocale = getCountryCodeByLocale;
|
|
3842
|
+
|
|
3843
|
+
var getNativeLanguageByLocale$1 = {};
|
|
3844
|
+
|
|
3845
|
+
Object.defineProperty(getNativeLanguageByLocale$1, "__esModule", { value: true });
|
|
3846
|
+
getNativeLanguageByLocale$1.getNativeLanguageByLocale = void 0;
|
|
3847
|
+
var getNativeLanguageByLocale = function (locale) {
|
|
3848
|
+
var nativeLanguages = {
|
|
3849
|
+
"nl-NL": "Nederlands",
|
|
3850
|
+
"nl-BE": "Nederlands (BE)",
|
|
3851
|
+
// "en-GB": "English (UK)",
|
|
3852
|
+
// "en-US": "English (US)",
|
|
3853
|
+
// "fr-BE": "Français (BE)",
|
|
3854
|
+
// "fr-FR": "Français",
|
|
3855
|
+
// "de-DE": "Deutsch",
|
|
3856
|
+
};
|
|
3857
|
+
return nativeLanguages[locale];
|
|
3858
|
+
};
|
|
3859
|
+
getNativeLanguageByLocale$1.getNativeLanguageByLocale = getNativeLanguageByLocale;
|
|
3860
|
+
|
|
3861
|
+
(function (exports) {
|
|
3862
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3863
|
+
if (k2 === undefined) k2 = k;
|
|
3864
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3865
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3866
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3867
|
+
}
|
|
3868
|
+
Object.defineProperty(o, k2, desc);
|
|
3869
|
+
}) : (function(o, m, k, k2) {
|
|
3870
|
+
if (k2 === undefined) k2 = k;
|
|
3871
|
+
o[k2] = m[k];
|
|
3872
|
+
}));
|
|
3873
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3874
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3875
|
+
};
|
|
3876
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3877
|
+
__exportStar(getCountryByLocale$1, exports);
|
|
3878
|
+
__exportStar(getCourseTranslationByLocale$1, exports);
|
|
3879
|
+
__exportStar(getKeyboardLayoutByLocale$1, exports);
|
|
3880
|
+
__exportStar(getLanguageCodeByLocale$1, exports);
|
|
3881
|
+
__exportStar(getCountryCodeByLocale$1, exports);
|
|
3882
|
+
__exportStar(getNativeLanguageByLocale$1, exports);
|
|
3883
|
+
|
|
3884
|
+
}(parsers));
|
|
3885
|
+
|
|
3629
3886
|
var flags = {
|
|
3630
3887
|
NL: (jsxRuntime.jsxs("svg", __assign$2({ viewBox: "0 0 22 18", xmlSpace: "preserve" }, { children: [jsxRuntime.jsx("path", { d: "M0 1c0-.6.4-1 1-1h20c.6 0 1 .4 1 1v5H0V1z", fill: "#e62743" }), jsxRuntime.jsx("path", { fill: "#fff", d: "M0 6H22V12H0z" }), jsxRuntime.jsx("path", { d: "M0 12h22v5c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1v-5z", fill: "#148cc6" })] }))),
|
|
3631
3888
|
BE: (jsxRuntime.jsxs("svg", __assign$2({ viewBox: "0 0 22 18", xmlSpace: "preserve" }, { children: [jsxRuntime.jsx("path", { d: "M15 0h6c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1h-6V0z", fill: "#e62743" }), jsxRuntime.jsx("path", { fill: "#ffd800", d: "M7 0H15V18H7z" }), jsxRuntime.jsx("path", { d: "M0 1c0-.6.4-1 1-1h6v18H1c-.6 0-1-.4-1-1V1z", fill: "#23292f" })] }))),
|
|
@@ -3857,6 +4114,99 @@ var Helper = styled__default["default"](StyledParagraph)(templateObject_6$3 || (
|
|
|
3857
4114
|
}, fadeIn);
|
|
3858
4115
|
var templateObject_1$L, templateObject_2$x, templateObject_3$b, templateObject_4$7, templateObject_5$3, templateObject_6$3;
|
|
3859
4116
|
|
|
4117
|
+
var expressions = {};
|
|
4118
|
+
|
|
4119
|
+
var hasCapitalLetter$1 = {};
|
|
4120
|
+
|
|
4121
|
+
Object.defineProperty(hasCapitalLetter$1, "__esModule", { value: true });
|
|
4122
|
+
hasCapitalLetter$1.hasCapitalLetter = void 0;
|
|
4123
|
+
var hasCapitalLetter = function (input) {
|
|
4124
|
+
var regex = new RegExp(/[A-Z]/g);
|
|
4125
|
+
return regex.test(input);
|
|
4126
|
+
};
|
|
4127
|
+
hasCapitalLetter$1.hasCapitalLetter = hasCapitalLetter;
|
|
4128
|
+
|
|
4129
|
+
var hasNumber$1 = {};
|
|
4130
|
+
|
|
4131
|
+
Object.defineProperty(hasNumber$1, "__esModule", { value: true });
|
|
4132
|
+
hasNumber$1.hasNumber = void 0;
|
|
4133
|
+
var hasNumber = function (input) {
|
|
4134
|
+
var regex = new RegExp(/\d/g);
|
|
4135
|
+
return regex.test(input);
|
|
4136
|
+
};
|
|
4137
|
+
hasNumber$1.hasNumber = hasNumber;
|
|
4138
|
+
|
|
4139
|
+
var hasSpecialCharacter$1 = {};
|
|
4140
|
+
|
|
4141
|
+
Object.defineProperty(hasSpecialCharacter$1, "__esModule", { value: true });
|
|
4142
|
+
hasSpecialCharacter$1.hasSpecialCharacter = void 0;
|
|
4143
|
+
var hasSpecialCharacter = function (input) {
|
|
4144
|
+
var regex = new RegExp(/`|~|!|"|-|_|@|#|\$|%|\^|&|\*|\(|\)|\+|=|\[|\{|\]|\}|\||\\|'|<|,|\.|>|\?|\/|""|;|:|\s/g);
|
|
4145
|
+
return regex.test(input);
|
|
4146
|
+
};
|
|
4147
|
+
hasSpecialCharacter$1.hasSpecialCharacter = hasSpecialCharacter;
|
|
4148
|
+
|
|
4149
|
+
var isValidEmail$1 = {};
|
|
4150
|
+
|
|
4151
|
+
Object.defineProperty(isValidEmail$1, "__esModule", { value: true });
|
|
4152
|
+
isValidEmail$1.isValidEmail = void 0;
|
|
4153
|
+
var isValidEmail = function (email) {
|
|
4154
|
+
var regex = new RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
4155
|
+
return regex.test(email);
|
|
4156
|
+
};
|
|
4157
|
+
isValidEmail$1.isValidEmail = isValidEmail;
|
|
4158
|
+
|
|
4159
|
+
var isValidUsername$1 = {};
|
|
4160
|
+
|
|
4161
|
+
Object.defineProperty(isValidUsername$1, "__esModule", { value: true });
|
|
4162
|
+
isValidUsername$1.isValidUsername = void 0;
|
|
4163
|
+
var isValidEmail_1 = isValidEmail$1;
|
|
4164
|
+
var isValidUsername = function (username) {
|
|
4165
|
+
return username.length >= 5 &&
|
|
4166
|
+
username.length <= 15 &&
|
|
4167
|
+
username.indexOf(" ") < 0 &&
|
|
4168
|
+
!(0, isValidEmail_1.isValidEmail)(username);
|
|
4169
|
+
};
|
|
4170
|
+
isValidUsername$1.isValidUsername = isValidUsername;
|
|
4171
|
+
|
|
4172
|
+
var isStrongPassword$1 = {};
|
|
4173
|
+
|
|
4174
|
+
Object.defineProperty(isStrongPassword$1, "__esModule", { value: true });
|
|
4175
|
+
isStrongPassword$1.isStrongPassword = void 0;
|
|
4176
|
+
var _1 = expressions;
|
|
4177
|
+
var isStrongPassword = function (password) {
|
|
4178
|
+
return password.length >= 8 &&
|
|
4179
|
+
(0, _1.hasNumber)(password) &&
|
|
4180
|
+
(0, _1.hasSpecialCharacter)(password) &&
|
|
4181
|
+
(0, _1.hasCapitalLetter)(password);
|
|
4182
|
+
};
|
|
4183
|
+
isStrongPassword$1.isStrongPassword = isStrongPassword;
|
|
4184
|
+
|
|
4185
|
+
(function (exports) {
|
|
4186
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4187
|
+
if (k2 === undefined) k2 = k;
|
|
4188
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4189
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4190
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4191
|
+
}
|
|
4192
|
+
Object.defineProperty(o, k2, desc);
|
|
4193
|
+
}) : (function(o, m, k, k2) {
|
|
4194
|
+
if (k2 === undefined) k2 = k;
|
|
4195
|
+
o[k2] = m[k];
|
|
4196
|
+
}));
|
|
4197
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
4198
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
4199
|
+
};
|
|
4200
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4201
|
+
__exportStar(hasCapitalLetter$1, exports);
|
|
4202
|
+
__exportStar(hasNumber$1, exports);
|
|
4203
|
+
__exportStar(hasSpecialCharacter$1, exports);
|
|
4204
|
+
__exportStar(isValidEmail$1, exports);
|
|
4205
|
+
__exportStar(isValidUsername$1, exports);
|
|
4206
|
+
__exportStar(isStrongPassword$1, exports);
|
|
4207
|
+
|
|
4208
|
+
}(expressions));
|
|
4209
|
+
|
|
3860
4210
|
var password_helper_capital_letter = "Minimaal 1 hoofdletter";
|
|
3861
4211
|
var password_helper_number = "Minimaal 1 getal";
|
|
3862
4212
|
var password_helper_special_character = "Minimaal 1 leesteken";
|