@itilite/iui-user-management 0.3.1 → 0.3.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 +16 -44
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +16 -44
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -161,52 +161,24 @@ function _catch(body, recover) {
|
|
|
161
161
|
|
|
162
162
|
var styles = {"UUIUserManagementAddEdit":"_3n-WG","pageHeader":"_3qWcA","buttonWrapper":"_1IP9P","scrolled":"_m8f96","headingButtonWrapper":"_w9z7b","headingButtonWrapperProfile":"_12Wd9","hintText":"_ySdbZ","heading":"_2Y1Aw","headingLarge":"_2K1NF","headingMedium":"_RUuAz","headingSmall":"_23Dye","additionalInfoContainer":"_1Suhw","additionalInfoTitle":"_56iJF","titleContainer":"_H5nfl","expandIconAlign":"_3F4i0","detailsContainer":"_2G0LW","formWrapper":"_2fPRc","sectionWrapper":"_37Gqp","margin":"_2Sdl7","minGridWidth":"_2D7iu","firstRowMargin":"_1BozG","firstChildMargin":"_2C3Mb","paddingTop":"_DBPjV","backGrdColorOnHover":"_5oE6H","fieldMargin":"_RCWjq","productContainerGap":"_tuCbi","containerWidth":"_1oWos","productItemBroder":"_T0Hcd","headingPadding":"_2MFfQ","emptyFieldContainer":"_3VWtw","emptyFieldDescription":"_2jC5u","rowGap":"_1NJFY","formTitle":"_GAKk2","formDescription":"_3TZ6Z","themeLink":"_eJ_1B","dashedLine":"_3ZOs1","dividerColor":"_2pxEJ","errorTextCls":"_27eth","backdrop":"_Pm0Au","inputWidth":"_ajB82"};
|
|
163
163
|
|
|
164
|
-
function
|
|
165
|
-
var
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
if (Array.isArray(mix)) {
|
|
173
|
-
for (k = 0; k < mix.length; k++) {
|
|
174
|
-
if (mix[k]) {
|
|
175
|
-
if (y = toVal(mix[k])) {
|
|
176
|
-
str && (str += ' ');
|
|
177
|
-
str += y;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
} else {
|
|
182
|
-
for (k in mix) {
|
|
183
|
-
if (mix[k]) {
|
|
184
|
-
str && (str += ' ');
|
|
185
|
-
str += k;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
164
|
+
function r(e) {
|
|
165
|
+
var t,
|
|
166
|
+
f,
|
|
167
|
+
n = "";
|
|
168
|
+
if ("string" == typeof e || "number" == typeof e) n += e;else if ("object" == typeof e) if (Array.isArray(e)) for (t = 0; t < e.length; t++) {
|
|
169
|
+
e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
170
|
+
} else for (t in e) {
|
|
171
|
+
e[t] && (n && (n += " "), n += t);
|
|
189
172
|
}
|
|
190
|
-
|
|
191
|
-
return str;
|
|
173
|
+
return n;
|
|
192
174
|
}
|
|
193
175
|
|
|
194
176
|
function clsx() {
|
|
195
|
-
var
|
|
196
|
-
|
|
197
|
-
x,
|
|
198
|
-
str = '';
|
|
199
|
-
|
|
200
|
-
while (i < arguments.length) {
|
|
201
|
-
if (tmp = arguments[i++]) {
|
|
202
|
-
if (x = toVal(tmp)) {
|
|
203
|
-
str && (str += ' ');
|
|
204
|
-
str += x;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
177
|
+
for (var e, t, f = 0, n = ""; f < arguments.length;) {
|
|
178
|
+
(e = arguments[f++]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
207
179
|
}
|
|
208
180
|
|
|
209
|
-
return
|
|
181
|
+
return n;
|
|
210
182
|
}
|
|
211
183
|
|
|
212
184
|
var GetInputType = React__default.forwardRef(function (props, ref) {
|
|
@@ -2926,7 +2898,7 @@ var personalInfo = [{
|
|
|
2926
2898
|
regexOnChange: null,
|
|
2927
2899
|
regexOnBlur: [{
|
|
2928
2900
|
regex: /^(([^<>()\\.,;:\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,}))$/,
|
|
2929
|
-
message: '
|
|
2901
|
+
message: 'please enter the valid email address.'
|
|
2930
2902
|
}],
|
|
2931
2903
|
maxLimit: '',
|
|
2932
2904
|
minLimit: '',
|
|
@@ -3036,7 +3008,7 @@ var workInfo = [{
|
|
|
3036
3008
|
regexOnChange: null,
|
|
3037
3009
|
regexOnBlur: [{
|
|
3038
3010
|
regex: /^[(A-Z)(a-z)(0-9)\- ]*$/,
|
|
3039
|
-
message: "Only alphabets, numbers &
|
|
3011
|
+
message: "Only alphabets, numbers and - & are allowed."
|
|
3040
3012
|
}],
|
|
3041
3013
|
maxLimit: '',
|
|
3042
3014
|
minLimit: '',
|
|
@@ -3124,8 +3096,8 @@ var workInfo = [{
|
|
|
3124
3096
|
validation: {
|
|
3125
3097
|
regexOnChange: null,
|
|
3126
3098
|
regexOnBlur: [{
|
|
3127
|
-
regex: /^[A-Za-z0-9
|
|
3128
|
-
message: "Only alphabets, numbers & special characters . & ' () - are allowed."
|
|
3099
|
+
regex: /^[A-Za-z0-9 \-.,&'()\/]*$/,
|
|
3100
|
+
message: "Only alphabets, numbers & special characters . & ' ( ) - , / are allowed."
|
|
3129
3101
|
}, {
|
|
3130
3102
|
regex: /^[a-zA-Z]/,
|
|
3131
3103
|
message: 'Designation should start with alphabets'
|