@yr3/ui 1.0.24 → 1.1.2

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.d.ts CHANGED
@@ -4,7 +4,6 @@ import * as csstype from 'csstype';
4
4
  import * as _yr3_autocomplete_places from '@yr3/autocomplete-places';
5
5
  import { Place, Provider } from '@yr3/autocomplete-places';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { Dayjs } from 'dayjs';
8
7
 
9
8
  type IconProps = SVGProps<SVGSVGElement>;
10
9
  type PaletteColor = {
@@ -1016,36 +1015,6 @@ type BoxProps = {
1016
1015
  };
1017
1016
  declare const Box: React$1.FC<BoxProps>;
1018
1017
 
1019
- type TextVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'title' | 'subtitle' | 'body1' | 'body2' | 'caption' | 'button' | 'helper' | 'inherit' | 'code';
1020
- type TextWeight = 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'black' | 'thin';
1021
- type TextProps = {
1022
- children?: React$1.ReactNode;
1023
- variant?: TextVariant;
1024
- color?: keyof Theme['colors'];
1025
- weight?: TextWeight;
1026
- as?: keyof React$1.JSX.IntrinsicElements;
1027
- gutters?: number[];
1028
- ui?: UIProps;
1029
- style?: React$1.CSSProperties;
1030
- onClick?: () => void;
1031
- };
1032
- declare const Text: React$1.FC<TextProps>;
1033
-
1034
- type ButtonVariant = 'outlined' | 'filled' | 'text';
1035
- type ButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
1036
- variant?: ButtonVariant;
1037
- color?: keyof Theme['colors'];
1038
- animated?: boolean;
1039
- gradientBorder?: boolean;
1040
- ui?: UIProps;
1041
- size?: 'auto' | 'full';
1042
- icon?: React$1.ReactNode;
1043
- propsComponent?: {
1044
- text?: Omit<TextProps, 'children'>;
1045
- };
1046
- };
1047
- declare const Button: React$1.FC<ButtonProps>;
1048
-
1049
1018
  type BackdropContextType = {
1050
1019
  open: boolean;
1051
1020
  show: (id: string) => void;
@@ -1088,9 +1057,447 @@ declare const baseTokens: {
1088
1057
  declare const bem: (block: string) => (element?: string, modifiers?: Record<string, any>) => string;
1089
1058
  declare const bemMerge: (...args: any[]) => string;
1090
1059
 
1060
+ type DTX = Date | string | number;
1061
+ type DTXFormat = {
1062
+ locale?: string;
1063
+ days?: string[];
1064
+ options?: Intl.DateTimeFormatOptions;
1065
+ };
1066
+ declare const date: (value?: DTX, dateFormat?: DTXFormat) => {
1067
+ date: Date;
1068
+ month: number;
1069
+ parts: Intl.DateTimeFormatPart[];
1070
+ getDateSplit: (value: string) => {
1071
+ year: number;
1072
+ month: number;
1073
+ } | null;
1074
+ getMonth: () => number;
1075
+ getMonthFormat: (month: number) => string;
1076
+ getMonthsFormat: () => string[];
1077
+ setMonth: (month: number) => Date;
1078
+ addMonth: (month: number) => Date;
1079
+ subtractMonth: (month: number) => Date;
1080
+ diferenceMonths: (date: Date) => number;
1081
+ isSameMonth: (date2: Date) => boolean;
1082
+ setYear: (year: number) => Date;
1083
+ getUTCYear: () => number;
1084
+ addYears: (year: number) => Date;
1085
+ subtractYears: (year: number) => Date;
1086
+ diferenceYears: (date: Date) => number;
1087
+ isSameYear: (date2: Date) => boolean;
1088
+ setDay: (day: number) => Date;
1089
+ addDays: (days: number) => Date;
1090
+ getDay: () => number;
1091
+ subtractDays: (days: number) => Date;
1092
+ diferenceDays: (date: Date) => number;
1093
+ isSameDay: (date2: Date) => boolean;
1094
+ addHours: (hours: number) => Date;
1095
+ setHours: (hours: number) => Date;
1096
+ getHours: () => number;
1097
+ subtractHours: (hours: number) => Date;
1098
+ diferenceHours: (date: Date) => number;
1099
+ addMinutes: (minutes: number) => Date;
1100
+ setMinutes: (minutes: number) => Date;
1101
+ getMinutes: () => number;
1102
+ subtractMinutes: (minutes: number) => Date;
1103
+ diferenceMinutes: (date: Date) => number;
1104
+ addSeconds: (seconds: number) => Date;
1105
+ setSeconds: (seconds: number) => Date;
1106
+ getSeconds: () => number;
1107
+ subtractSeconds: (seconds: number) => Date;
1108
+ diferenceSeconds: (date: Date) => number;
1109
+ isToday: () => boolean;
1110
+ isAfter: (date: Date) => boolean;
1111
+ isBefore: (date: Date) => boolean;
1112
+ formatLastMonth: () => string;
1113
+ formatPrevMonth: () => string;
1114
+ getDaysInYear: () => number;
1115
+ getDaysInMonth: () => number;
1116
+ getDayOfWeek: () => number;
1117
+ getDayOfYear: () => number;
1118
+ getWeekOfYear: () => number;
1119
+ getStartOfDay: () => Date;
1120
+ getEndOfDay: () => Date;
1121
+ getStartOfMonth: () => Date;
1122
+ getEndOfMonth: () => Date;
1123
+ getStartOfYear: () => Date;
1124
+ getEndOfYear: () => Date;
1125
+ isLeapYear: () => boolean;
1126
+ isWeekend: () => boolean;
1127
+ isTomorrow: () => boolean;
1128
+ formatDateWithLocale: (locale: string, options?: Intl.DateTimeFormatOptions) => string;
1129
+ formatTimeWithLocale: (locale: string, options?: Intl.DateTimeFormatOptions) => string;
1130
+ formatDateTimeWithLocale: (locale: string, options?: Intl.DateTimeFormatOptions) => string;
1131
+ getDayOfWeekWithLocale: (locale: string) => string;
1132
+ getMonthNameWithLocale: (locale: string) => string;
1133
+ getYearWithLocale: (locale: string) => string;
1134
+ getHourWithLocale: (locale: string) => string;
1135
+ getMinuteWithLocale: (locale: string) => string;
1136
+ getSecondWithLocale: (locale: string) => string;
1137
+ getDayOfYearWithLocale: (locale: string) => string;
1138
+ getTimezoneOffset: () => number;
1139
+ convertToTimezone: (timezone: string) => Date;
1140
+ toDate(): Date;
1141
+ Timestamp(): number;
1142
+ ISO: () => string;
1143
+ UNIX(): number;
1144
+ UTC(): Date;
1145
+ UTCHours(): number;
1146
+ UTCMinutes(): number;
1147
+ UTCSeconds(): number;
1148
+ UTCMilliseconds(): number;
1149
+ UTCWeekendDay(): number;
1150
+ UTCDay(): number;
1151
+ UTCMonth(): number;
1152
+ UTCFullYear(): number;
1153
+ };
1154
+ declare const dtx: (value?: DTX, dateFormat?: DTXFormat) => {
1155
+ date: Date;
1156
+ isToday(): boolean;
1157
+ isAfter(other: DTX): boolean;
1158
+ isBefore(other: DTX): boolean;
1159
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1160
+ setDate(month: number, day: number): {
1161
+ date: Date;
1162
+ isToday(): boolean;
1163
+ isAfter(other: DTX): boolean;
1164
+ isBefore(other: DTX): boolean;
1165
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1166
+ setDate(month: number, day: number): /*elided*/ any;
1167
+ addDate(days: number): /*elided*/ any;
1168
+ addDays(days: number): /*elided*/ any;
1169
+ setDay(days: number): /*elided*/ any;
1170
+ dayStart: () => number;
1171
+ days: number;
1172
+ getCurrentUTCDay: () => number;
1173
+ CalendarDaysInMonth(year: number, month: number): number;
1174
+ isWeekend: (day: number) => boolean;
1175
+ addMonth(months: number): /*elided*/ any;
1176
+ setMonth(month: number): /*elided*/ any;
1177
+ isMonth: (month: number) => boolean;
1178
+ startOfMonth(): /*elided*/ any;
1179
+ endOfMonth(): /*elided*/ any;
1180
+ getMonthsLocale(locale?: string): string[];
1181
+ toDate(): Date;
1182
+ toISOString(): string;
1183
+ CalendarYearFormat(year: number, format?: string): string;
1184
+ calendar: (props: any) => {
1185
+ day: any;
1186
+ date: any;
1187
+ iso: any;
1188
+ month: any;
1189
+ key: any;
1190
+ monthName: any;
1191
+ isToday: any;
1192
+ isPast: any;
1193
+ isFuture: any;
1194
+ isCurrentMonth: any;
1195
+ selected: boolean;
1196
+ data: any;
1197
+ };
1198
+ };
1199
+ addDate(days: number): {
1200
+ date: Date;
1201
+ isToday(): boolean;
1202
+ isAfter(other: DTX): boolean;
1203
+ isBefore(other: DTX): boolean;
1204
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1205
+ setDate(month: number, day: number): /*elided*/ any;
1206
+ addDate(days: number): /*elided*/ any;
1207
+ addDays(days: number): /*elided*/ any;
1208
+ setDay(days: number): /*elided*/ any;
1209
+ dayStart: () => number;
1210
+ days: number;
1211
+ getCurrentUTCDay: () => number;
1212
+ CalendarDaysInMonth(year: number, month: number): number;
1213
+ isWeekend: (day: number) => boolean;
1214
+ addMonth(months: number): /*elided*/ any;
1215
+ setMonth(month: number): /*elided*/ any;
1216
+ isMonth: (month: number) => boolean;
1217
+ startOfMonth(): /*elided*/ any;
1218
+ endOfMonth(): /*elided*/ any;
1219
+ getMonthsLocale(locale?: string): string[];
1220
+ toDate(): Date;
1221
+ toISOString(): string;
1222
+ CalendarYearFormat(year: number, format?: string): string;
1223
+ calendar: (props: any) => {
1224
+ day: any;
1225
+ date: any;
1226
+ iso: any;
1227
+ month: any;
1228
+ key: any;
1229
+ monthName: any;
1230
+ isToday: any;
1231
+ isPast: any;
1232
+ isFuture: any;
1233
+ isCurrentMonth: any;
1234
+ selected: boolean;
1235
+ data: any;
1236
+ };
1237
+ };
1238
+ addDays(days: number): {
1239
+ date: Date;
1240
+ isToday(): boolean;
1241
+ isAfter(other: DTX): boolean;
1242
+ isBefore(other: DTX): boolean;
1243
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1244
+ setDate(month: number, day: number): /*elided*/ any;
1245
+ addDate(days: number): /*elided*/ any;
1246
+ addDays(days: number): /*elided*/ any;
1247
+ setDay(days: number): /*elided*/ any;
1248
+ dayStart: () => number;
1249
+ days: number;
1250
+ getCurrentUTCDay: () => number;
1251
+ CalendarDaysInMonth(year: number, month: number): number;
1252
+ isWeekend: (day: number) => boolean;
1253
+ addMonth(months: number): /*elided*/ any;
1254
+ setMonth(month: number): /*elided*/ any;
1255
+ isMonth: (month: number) => boolean;
1256
+ startOfMonth(): /*elided*/ any;
1257
+ endOfMonth(): /*elided*/ any;
1258
+ getMonthsLocale(locale?: string): string[];
1259
+ toDate(): Date;
1260
+ toISOString(): string;
1261
+ CalendarYearFormat(year: number, format?: string): string;
1262
+ calendar: (props: any) => {
1263
+ day: any;
1264
+ date: any;
1265
+ iso: any;
1266
+ month: any;
1267
+ key: any;
1268
+ monthName: any;
1269
+ isToday: any;
1270
+ isPast: any;
1271
+ isFuture: any;
1272
+ isCurrentMonth: any;
1273
+ selected: boolean;
1274
+ data: any;
1275
+ };
1276
+ };
1277
+ setDay(days: number): {
1278
+ date: Date;
1279
+ isToday(): boolean;
1280
+ isAfter(other: DTX): boolean;
1281
+ isBefore(other: DTX): boolean;
1282
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1283
+ setDate(month: number, day: number): /*elided*/ any;
1284
+ addDate(days: number): /*elided*/ any;
1285
+ addDays(days: number): /*elided*/ any;
1286
+ setDay(days: number): /*elided*/ any;
1287
+ dayStart: () => number;
1288
+ days: number;
1289
+ getCurrentUTCDay: () => number;
1290
+ CalendarDaysInMonth(year: number, month: number): number;
1291
+ isWeekend: (day: number) => boolean;
1292
+ addMonth(months: number): /*elided*/ any;
1293
+ setMonth(month: number): /*elided*/ any;
1294
+ isMonth: (month: number) => boolean;
1295
+ startOfMonth(): /*elided*/ any;
1296
+ endOfMonth(): /*elided*/ any;
1297
+ getMonthsLocale(locale?: string): string[];
1298
+ toDate(): Date;
1299
+ toISOString(): string;
1300
+ CalendarYearFormat(year: number, format?: string): string;
1301
+ calendar: (props: any) => {
1302
+ day: any;
1303
+ date: any;
1304
+ iso: any;
1305
+ month: any;
1306
+ key: any;
1307
+ monthName: any;
1308
+ isToday: any;
1309
+ isPast: any;
1310
+ isFuture: any;
1311
+ isCurrentMonth: any;
1312
+ selected: boolean;
1313
+ data: any;
1314
+ };
1315
+ };
1316
+ dayStart: () => number;
1317
+ days: number;
1318
+ getCurrentUTCDay: () => number;
1319
+ CalendarDaysInMonth(year: number, month: number): number;
1320
+ isWeekend: (day: number) => boolean;
1321
+ addMonth(months: number): {
1322
+ date: Date;
1323
+ isToday(): boolean;
1324
+ isAfter(other: DTX): boolean;
1325
+ isBefore(other: DTX): boolean;
1326
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1327
+ setDate(month: number, day: number): /*elided*/ any;
1328
+ addDate(days: number): /*elided*/ any;
1329
+ addDays(days: number): /*elided*/ any;
1330
+ setDay(days: number): /*elided*/ any;
1331
+ dayStart: () => number;
1332
+ days: number;
1333
+ getCurrentUTCDay: () => number;
1334
+ CalendarDaysInMonth(year: number, month: number): number;
1335
+ isWeekend: (day: number) => boolean;
1336
+ addMonth(months: number): /*elided*/ any;
1337
+ setMonth(month: number): /*elided*/ any;
1338
+ isMonth: (month: number) => boolean;
1339
+ startOfMonth(): /*elided*/ any;
1340
+ endOfMonth(): /*elided*/ any;
1341
+ getMonthsLocale(locale?: string): string[];
1342
+ toDate(): Date;
1343
+ toISOString(): string;
1344
+ CalendarYearFormat(year: number, format?: string): string;
1345
+ calendar: (props: any) => {
1346
+ day: any;
1347
+ date: any;
1348
+ iso: any;
1349
+ month: any;
1350
+ key: any;
1351
+ monthName: any;
1352
+ isToday: any;
1353
+ isPast: any;
1354
+ isFuture: any;
1355
+ isCurrentMonth: any;
1356
+ selected: boolean;
1357
+ data: any;
1358
+ };
1359
+ };
1360
+ setMonth(month: number): {
1361
+ date: Date;
1362
+ isToday(): boolean;
1363
+ isAfter(other: DTX): boolean;
1364
+ isBefore(other: DTX): boolean;
1365
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1366
+ setDate(month: number, day: number): /*elided*/ any;
1367
+ addDate(days: number): /*elided*/ any;
1368
+ addDays(days: number): /*elided*/ any;
1369
+ setDay(days: number): /*elided*/ any;
1370
+ dayStart: () => number;
1371
+ days: number;
1372
+ getCurrentUTCDay: () => number;
1373
+ CalendarDaysInMonth(year: number, month: number): number;
1374
+ isWeekend: (day: number) => boolean;
1375
+ addMonth(months: number): /*elided*/ any;
1376
+ setMonth(month: number): /*elided*/ any;
1377
+ isMonth: (month: number) => boolean;
1378
+ startOfMonth(): /*elided*/ any;
1379
+ endOfMonth(): /*elided*/ any;
1380
+ getMonthsLocale(locale?: string): string[];
1381
+ toDate(): Date;
1382
+ toISOString(): string;
1383
+ CalendarYearFormat(year: number, format?: string): string;
1384
+ calendar: (props: any) => {
1385
+ day: any;
1386
+ date: any;
1387
+ iso: any;
1388
+ month: any;
1389
+ key: any;
1390
+ monthName: any;
1391
+ isToday: any;
1392
+ isPast: any;
1393
+ isFuture: any;
1394
+ isCurrentMonth: any;
1395
+ selected: boolean;
1396
+ data: any;
1397
+ };
1398
+ };
1399
+ isMonth: (month: number) => boolean;
1400
+ startOfMonth(): {
1401
+ date: Date;
1402
+ isToday(): boolean;
1403
+ isAfter(other: DTX): boolean;
1404
+ isBefore(other: DTX): boolean;
1405
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1406
+ setDate(month: number, day: number): /*elided*/ any;
1407
+ addDate(days: number): /*elided*/ any;
1408
+ addDays(days: number): /*elided*/ any;
1409
+ setDay(days: number): /*elided*/ any;
1410
+ dayStart: () => number;
1411
+ days: number;
1412
+ getCurrentUTCDay: () => number;
1413
+ CalendarDaysInMonth(year: number, month: number): number;
1414
+ isWeekend: (day: number) => boolean;
1415
+ addMonth(months: number): /*elided*/ any;
1416
+ setMonth(month: number): /*elided*/ any;
1417
+ isMonth: (month: number) => boolean;
1418
+ startOfMonth(): /*elided*/ any;
1419
+ endOfMonth(): /*elided*/ any;
1420
+ getMonthsLocale(locale?: string): string[];
1421
+ toDate(): Date;
1422
+ toISOString(): string;
1423
+ CalendarYearFormat(year: number, format?: string): string;
1424
+ calendar: (props: any) => {
1425
+ day: any;
1426
+ date: any;
1427
+ iso: any;
1428
+ month: any;
1429
+ key: any;
1430
+ monthName: any;
1431
+ isToday: any;
1432
+ isPast: any;
1433
+ isFuture: any;
1434
+ isCurrentMonth: any;
1435
+ selected: boolean;
1436
+ data: any;
1437
+ };
1438
+ };
1439
+ endOfMonth(): {
1440
+ date: Date;
1441
+ isToday(): boolean;
1442
+ isAfter(other: DTX): boolean;
1443
+ isBefore(other: DTX): boolean;
1444
+ format(locale?: string, options?: Intl.DateTimeFormatOptions): string;
1445
+ setDate(month: number, day: number): /*elided*/ any;
1446
+ addDate(days: number): /*elided*/ any;
1447
+ addDays(days: number): /*elided*/ any;
1448
+ setDay(days: number): /*elided*/ any;
1449
+ dayStart: () => number;
1450
+ days: number;
1451
+ getCurrentUTCDay: () => number;
1452
+ CalendarDaysInMonth(year: number, month: number): number;
1453
+ isWeekend: (day: number) => boolean;
1454
+ addMonth(months: number): /*elided*/ any;
1455
+ setMonth(month: number): /*elided*/ any;
1456
+ isMonth: (month: number) => boolean;
1457
+ startOfMonth(): /*elided*/ any;
1458
+ endOfMonth(): /*elided*/ any;
1459
+ getMonthsLocale(locale?: string): string[];
1460
+ toDate(): Date;
1461
+ toISOString(): string;
1462
+ CalendarYearFormat(year: number, format?: string): string;
1463
+ calendar: (props: any) => {
1464
+ day: any;
1465
+ date: any;
1466
+ iso: any;
1467
+ month: any;
1468
+ key: any;
1469
+ monthName: any;
1470
+ isToday: any;
1471
+ isPast: any;
1472
+ isFuture: any;
1473
+ isCurrentMonth: any;
1474
+ selected: boolean;
1475
+ data: any;
1476
+ };
1477
+ };
1478
+ getMonthsLocale(locale?: string): string[];
1479
+ toDate(): Date;
1480
+ toISOString(): string;
1481
+ CalendarYearFormat(year: number, format?: string): string;
1482
+ calendar: (props: any) => {
1483
+ day: any;
1484
+ date: any;
1485
+ iso: any;
1486
+ month: any;
1487
+ key: any;
1488
+ monthName: any;
1489
+ isToday: any;
1490
+ isPast: any;
1491
+ isFuture: any;
1492
+ isCurrentMonth: any;
1493
+ selected: boolean;
1494
+ data: any;
1495
+ };
1496
+ };
1497
+
1091
1498
  type CalendarDayProps = {
1092
1499
  day: number;
1093
- date: Dayjs;
1500
+ date: any;
1094
1501
  isToday: boolean;
1095
1502
  isPast: boolean;
1096
1503
  isFuture: boolean;
@@ -1102,25 +1509,21 @@ type CalendarComponentProps = {
1102
1509
  calendar: (CalendarDayProps | null)[][];
1103
1510
  month: number;
1104
1511
  monthLabel: string;
1105
- yearLabel: string;
1106
- daysContainer: number[];
1107
- days: number;
1512
+ yearLabel?: string;
1513
+ daysContainer: any[];
1514
+ days?: number;
1108
1515
  weeks: number;
1109
- isWeekend: boolean;
1110
- date: Dayjs;
1516
+ isWeekend?: boolean;
1517
+ date?: any;
1111
1518
  selected: CalendarDayProps | null;
1112
- currentDay: CalendarDayProps;
1519
+ currentDay?: CalendarDayProps;
1113
1520
  props?: any;
1114
1521
  };
1115
- declare function getMonthCalendar(year: number, month: number, startIndex: number, selected: CalendarDayProps, props?: any): CalendarComponentProps;
1522
+ declare function getMonthCalendar(dataFormat: DTXFormat, year: number, month: number, startIndex: number, selected: CalendarDayProps, props?: any): any;
1116
1523
  type CalendarMonthProps = {
1117
1524
  year: number;
1118
1525
  value?: string | null;
1119
- daysFormat?: {
1120
- month?: string;
1121
- months?: string[];
1122
- value?: string;
1123
- };
1526
+ format?: DTXFormat;
1124
1527
  data: {
1125
1528
  selected: boolean;
1126
1529
  years: number[];
@@ -1130,7 +1533,13 @@ type CalendarMonthProps = {
1130
1533
  }[];
1131
1534
  };
1132
1535
  };
1133
- declare function getMonthCalendarProps({ year, data, value, daysFormat }: CalendarMonthProps): any;
1536
+ type Direction = 'next' | 'prev';
1537
+ type ExcludeItem = {
1538
+ year: number;
1539
+ months: number[];
1540
+ };
1541
+ declare function findMonth(value: string, years: number[], exclude: ExcludeItem[], direction: Direction): string | null;
1542
+ declare function getMonthCalendarProps({ year, data, value, format }: CalendarMonthProps): any;
1134
1543
 
1135
1544
  declare const rgbToHex: (r: number, g: number, b: number) => string;
1136
1545
  declare const hexToRgb: (hex: string) => {
@@ -1145,9 +1554,6 @@ declare const lighten: (hex: string, amount: number) => string;
1145
1554
  declare const darken: (hex: string, amount: number) => string;
1146
1555
  declare const alpha: (hex: string, opacity: number) => string;
1147
1556
 
1148
- declare function isEmpty(value: unknown): boolean;
1149
- declare function times<T>(n: number, iteratee: (index: number) => T): T[];
1150
-
1151
1557
  declare const cx: (...args: any[]) => string;
1152
1558
 
1153
1559
  type VariantConfig = {
@@ -1170,9 +1576,252 @@ declare const getCountryCodePhone: (phone: string, countries: CountriesDial[]) =
1170
1576
  declare const getNumberPhone: (phone: string, dial: string) => string;
1171
1577
 
1172
1578
  declare function mergeDeep<T>(target: T, source?: Partial<T>): T;
1579
+ declare function mergeInitialProps<T>(initial: T, props?: Partial<T>): T;
1173
1580
 
1174
1581
  declare const inputCurrency: (e: React.KeyboardEvent<HTMLInputElement>, value: string, alloweds: string[]) => void;
1175
1582
 
1583
+ declare const utils: {
1584
+ isEmpty(value: unknown): boolean;
1585
+ times<T>(n: number, iteratee: (index: number) => T): T[];
1586
+ map<T, K extends keyof T, V extends keyof T>(array: T[], key: K, valueKey: V): Record<string | number | symbol, T[V]>;
1587
+ get<T, K extends keyof T>(obj: T, key: K): T[K];
1588
+ mergeDeep<T>(target: T, source: Partial<T>): T;
1589
+ omit<T, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
1590
+ pick<T extends object, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
1591
+ flatten<T>(array: T[][]): T[];
1592
+ unique<T>(array: T[]): T[];
1593
+ debounce<T extends (...args: any[]) => void>(func: T, wait: number): T;
1594
+ throttle<T extends (...args: any[]) => void>(func: T, limit: number): T;
1595
+ once<T extends (...args: any[]) => void>(func: T): T;
1596
+ memoize<T extends (...args: any[]) => any>(func: T): T;
1597
+ range(start: number, end: number, step?: number): number[];
1598
+ random(min: number, max: number): number;
1599
+ clamp(value: number, min: number, max: number): number;
1600
+ capitalize(str: string): string;
1601
+ camelCase(str: string): string;
1602
+ kebabCase(str: string): string;
1603
+ snakeCase(str: string): string;
1604
+ upperCase(str: string): string;
1605
+ difference<T>(array1: T[], array2: T[]): T[];
1606
+ intersection<T>(array1: T[], array2: T[]): T[];
1607
+ union<T>(array1: T[], array2: T[]): T[];
1608
+ zip<T, U>(array1: T[], array2: U[]): [T, U][];
1609
+ unzip<T, U>(array: [T, U][]): [T[], U[]];
1610
+ groupBy<T>(array: T[], key: keyof T): Record<string, T[]>;
1611
+ partition<T>(array: T[], predicate: (item: T) => boolean): [T[], T[]];
1612
+ countBy<T>(array: T[], key: keyof T): Record<string, number>;
1613
+ chunk<T>(array: T[], size: number): T[][];
1614
+ compact<T>(array: T[]): T[];
1615
+ concat<T>(...arrays: T[][]): T[];
1616
+ differenceBy<T>(array1: T[], array2: T[], iteratee: (item: T) => any): T[];
1617
+ intersectionBy<T>(array1: T[], array2: T[], iteratee: (item: T) => any): T[];
1618
+ unionBy<T>(array1: T[], array2: T[], iteratee: (item: T) => any): T[];
1619
+ uniqBy<T>(array: T[], iteratee: (item: T) => any): T[];
1620
+ zipWith<T, U, V>(array1: T[], array2: U[], iteratee: (item1: T, item2: U) => V): V[];
1621
+ unzipWith<T, U, V>(array: [T, U][], iteratee: (item1: T, item2: U) => V): V[];
1622
+ without<T>(array: T[], ...values: T[]): T[];
1623
+ xor<T>(array1: T[], array2: T[]): T[];
1624
+ zipObject<T>(keys: (string | number | symbol)[], values: T[]): Record<string | number | symbol, T>;
1625
+ zipObjectDeep<T>(keys: (string | number | symbol)[], values: T[]): Record<string | number | symbol, T>;
1626
+ zipWithDeep<T, U, V>(keys: (string | number | symbol)[], values: T[], iteratee: (value: T) => U): Record<string | number | symbol, U>;
1627
+ first<T>(array: T[]): T | undefined;
1628
+ last<T>(array: T[]): T | undefined;
1629
+ nth<T>(array: T[], n: number): T | undefined;
1630
+ keys<T extends object>(obj: T): (keyof T)[];
1631
+ values<T>(obj: T): T[keyof T][];
1632
+ entries<T>(obj: T): [keyof T, T[keyof T]][];
1633
+ fromEntries<T>(entries: [string | number | symbol, T][]): Record<string | number | symbol, T>;
1634
+ invert<T extends Record<string | number | symbol, string | number | symbol>>(obj: T): Record<T[keyof T], keyof T>;
1635
+ mapValues<T extends object, U>(obj: T, iteratee: (value: T[keyof T], key: keyof T) => U): Record<keyof T, U>;
1636
+ mapKeys<T extends object, U extends string | number | symbol>(obj: T, iteratee: (value: T[keyof T], key: keyof T) => U): Record<U, T[keyof T]>;
1637
+ merge<T extends object>(target: T, ...sources: Partial<T>[]): T;
1638
+ assign<T extends object>(target: T, ...sources: Partial<T>[]): T;
1639
+ defaults<T extends object>(target: T, ...sources: Partial<T>[]): T;
1640
+ defaultsDeep<T extends object>(target: T, ...sources: Partial<T>[]): T;
1641
+ pickBy<T extends object>(obj: T, predicate: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
1642
+ omitBy<T extends object>(obj: T, predicate: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
1643
+ pickByDeep<T extends object>(obj: T, predicate: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
1644
+ omitByDeep<T extends object>(obj: T, predicate: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
1645
+ isEmptyObject(obj: object): boolean;
1646
+ isEmptyArray(arr: any[]): boolean;
1647
+ isEmptyString(str: string): boolean;
1648
+ isEmptyValue(value: unknown): boolean;
1649
+ startsWith(str: string, prefix: string): boolean;
1650
+ endsWith(str: string, suffix: string): boolean;
1651
+ includes(str: string, search: string): boolean;
1652
+ repeat(str: string, times: number): string;
1653
+ padStart(str: string, targetLength: number, padString?: string): string;
1654
+ padEnd(str: string, targetLength: number, padString?: string): string;
1655
+ trim(str: string): string;
1656
+ trimStart(str: string): string;
1657
+ trimEnd(str: string): string;
1658
+ truncate(str: string, length: number, omission?: string): string;
1659
+ escape(str: string): string;
1660
+ unescape(str: string): string;
1661
+ capitalizeWords(str: string): string;
1662
+ decapitalize(str: string): string;
1663
+ decapitalizeWords(str: string): string;
1664
+ swapCase(str: string): string;
1665
+ clampNumber(num: number, min: number, max: number): number;
1666
+ randomNumber(min: number, max: number): number;
1667
+ round(num: number, precision?: number): number;
1668
+ floor(num: number, precision?: number): number;
1669
+ ceil(num: number, precision?: number): number;
1670
+ toFixed(num: number, precision?: number): string;
1671
+ toExponential(num: number, precision?: number): string;
1672
+ toPrecision(num: number, precision?: number): string;
1673
+ isInteger(num: number): boolean;
1674
+ isFiniteNumber(num: number): boolean;
1675
+ isNaNValue(num: number): boolean;
1676
+ isSafeInteger(num: number): boolean;
1677
+ parseIntValue(str: string, radix?: number): number;
1678
+ parseFloatValue(str: string): number;
1679
+ toNumber(value: any): number;
1680
+ toInteger(value: any): number;
1681
+ toFinite(value: any): number;
1682
+ toSafeInteger(value: any): number;
1683
+ toFiniteNumber(value: any): number;
1684
+ getValue<T, K extends keyof T>(obj: T, key: K): T[K];
1685
+ setValue<T, K extends keyof T>(obj: T, key: K, value: T[K]): void;
1686
+ hasKey<T extends object, K extends keyof T>(obj: T, key: K): boolean;
1687
+ hasValue<T extends object>(obj: T, value: T[keyof T]): boolean;
1688
+ getNestedValue<T, K1 extends keyof T, K2 extends keyof T[K1]>(obj: T, key1: K1, key2: K2): T[K1][K2];
1689
+ setNestedValue<T, K1 extends keyof T, K2 extends keyof T[K1]>(obj: T, key1: K1, key2: K2, value: T[K1][K2]): void;
1690
+ hasNestedKey<T extends object, K1 extends keyof T, K2 extends keyof T[K1]>(obj: T, key1: K1, key2: K2): boolean;
1691
+ hasNestedValue<T extends object, K1 extends keyof T, K2 extends keyof T[K1]>(obj: T, key1: K1, key2: K2, value: T[K1][K2]): boolean;
1692
+ getDeepValue<T, K1 extends keyof T, K2 extends keyof T[K1], K3 extends keyof T[K1][K2]>(obj: T, key1: K1, key2: K2, key3: K3): T[K1][K2][K3];
1693
+ setDeepValue<T, K1 extends keyof T, K2 extends keyof T[K1], K3 extends keyof T[K1][K2]>(obj: T, key1: K1, key2: K2, key3: K3, value: T[K1][K2][K3]): void;
1694
+ hasDeepKey<T extends object, K1 extends keyof T, K2 extends keyof T[K1], K3 extends keyof T[K1][K2]>(obj: T, key1: K1, key2: K2, key3: K3): boolean;
1695
+ hasDeepValue<T extends object, K1 extends keyof T, K2 extends keyof T[K1], K3 extends keyof T[K1][K2]>(obj: T, key1: K1, key2: K2, key3: K3, value: T[K1][K2][K3]): boolean;
1696
+ getValueByPath<T>(obj: T, path: string): any;
1697
+ setValueByPath<T>(obj: T, path: string, value: any): void;
1698
+ hasKeyByPath<T>(obj: T, path: string): boolean;
1699
+ hasValueByPath<T>(obj: T, path: string, value: any): boolean;
1700
+ isNumberValue(value: any): boolean;
1701
+ isStringValue(value: any): boolean;
1702
+ isBooleanValue(value: any): boolean;
1703
+ isObjectValue(value: any): boolean;
1704
+ isArrayValue(value: any): boolean;
1705
+ isFunctionValue(value: any): boolean;
1706
+ isNullValue(value: any): boolean;
1707
+ isUndefinedValue(value: any): boolean;
1708
+ isSymbolValue(value: any): boolean;
1709
+ isBigIntValue(value: any): boolean;
1710
+ isEmail(str: string): boolean;
1711
+ isURL(str: string): boolean;
1712
+ isPhoneNumber(str: string): boolean;
1713
+ isPostalCode(str: string): boolean;
1714
+ isCreditCard(str: string): boolean;
1715
+ isISBN(str: string): boolean;
1716
+ isJSON(str: string): boolean;
1717
+ isXML(str: string): boolean;
1718
+ isBase64(str: string): boolean;
1719
+ isHexadecimal(str: string): boolean;
1720
+ isUUID(str: string): boolean;
1721
+ isIPv4(str: string): boolean;
1722
+ isIPv6(str: string): boolean;
1723
+ isMACAddress(str: string): boolean;
1724
+ isSlug(str: string): boolean;
1725
+ isHexColor(str: string): boolean;
1726
+ isRGBColor(str: string): boolean;
1727
+ hexToRGB(hex: string): {
1728
+ r: number;
1729
+ g: number;
1730
+ b: number;
1731
+ } | null;
1732
+ rgbToHex(r: number, g: number, b: number): string;
1733
+ rgbToHSL(r: number, g: number, b: number): {
1734
+ h: number;
1735
+ s: number;
1736
+ l: number;
1737
+ };
1738
+ hslToRGB(h: number, s: number, l: number): {
1739
+ r: number;
1740
+ g: number;
1741
+ b: number;
1742
+ };
1743
+ hexToHSL(hex: string): {
1744
+ h: number;
1745
+ s: number;
1746
+ l: number;
1747
+ } | null;
1748
+ hslToHex(h: number, s: number, l: number): string;
1749
+ lightenColor(hex: string, amount: number): string | null;
1750
+ darkenColor(hex: string, amount: number): string | null;
1751
+ saturateColor(hex: string, amount: number): string | null;
1752
+ desaturateColor(hex: string, amount: number): string | null;
1753
+ rotateHue(hex: string, degrees: number): string | null;
1754
+ invertColor(hex: string): string | null;
1755
+ isLightColor(hex: string): boolean | null;
1756
+ isDarkColor(hex: string): boolean | null;
1757
+ getContrastColor(hex: string): string | null;
1758
+ blendColors(hex1: string, hex2: string, ratio: number): string | null;
1759
+ mixColors(hex1: string, hex2: string): string | null;
1760
+ shadeColor(hex: string, percent: number): string | null;
1761
+ tintColor(hex: string, percent: number): string | null;
1762
+ generateRandomColor(): string;
1763
+ generateRandomHexColor(): string;
1764
+ generateRandomRGBColor(): string;
1765
+ generateRandomHSLColor(): string;
1766
+ generateRandomColorScheme(baseHex: string, schemeType: "complementary" | "analogous" | "triadic" | "tetradic"): string[] | null;
1767
+ generateGradientColors(startHex: string, endHex: string, steps: number): string[] | null;
1768
+ generateRandomGradient(steps: number): string[];
1769
+ generateRandomColorPalette(count: number): string[];
1770
+ generateMonochromaticPalette(baseHex: string, count: number): string[] | null;
1771
+ generateAnalogousPalette(baseHex: string, count: number): string[] | null;
1772
+ generateComplementaryPalette(baseHex: string): string[] | null;
1773
+ generateTriadicPalette(baseHex: string): string[] | null;
1774
+ generateTetradicPalette(baseHex: string): string[] | null;
1775
+ generateRandomPastelColor(): string;
1776
+ generateRandomVibrantColor(): string;
1777
+ generateRandomMutedColor(): string;
1778
+ generateRandomDarkColor(): string;
1779
+ generateRandomLightColor(): string;
1780
+ generateRandomNeutralColor(): string;
1781
+ generateRandomWarmColor(): string;
1782
+ generateRandomCoolColor(): string;
1783
+ generateRandomEarthToneColor(): string;
1784
+ generateRandomMetallicColor(): string;
1785
+ generateRandomNeonColor(): string;
1786
+ generateRandomPastelPalette(count: number): string[];
1787
+ generateRandomVibrantPalette(count: number): string[];
1788
+ generateRandomMutedPalette(count: number): string[];
1789
+ generateRandomDarkPalette(count: number): string[];
1790
+ generateRandomLightPalette(count: number): string[];
1791
+ generateRandomNeutralPalette(count: number): string[];
1792
+ generateRandomWarmPalette(count: number): string[];
1793
+ generateRandomCoolPalette(count: number): string[];
1794
+ generateRandomEarthTonePalette(count: number): string[];
1795
+ generateRandomMetallicPalette(count: number): string[];
1796
+ generateRandomNeonPalette(count: number): string[];
1797
+ pxToRem(px: number, base?: number): string;
1798
+ remToPx(rem: string, base?: number): number;
1799
+ pxToEm(px: number, base?: number): string;
1800
+ emToPx(em: string, base?: number): number;
1801
+ pxToPercent(px: number, total: number): string;
1802
+ percentToPx(percent: string, total: number): number;
1803
+ remToEm(rem: string, base?: number): string;
1804
+ generateUniqueId(length?: number): string;
1805
+ generateUUID(): string;
1806
+ generateShortId(length?: number): string;
1807
+ generateNanoId(length?: number): string;
1808
+ generateRandomString(length?: number): string;
1809
+ generateRandomHexId(length?: number): string;
1810
+ generateRandomNumericId(length?: number): string;
1811
+ generateRandomAlphaId(length?: number): string;
1812
+ generateRandomAlphanumericId(length?: number): string;
1813
+ generateRandomBase64Id(length?: number): string;
1814
+ generateRandomUrlSafeId(length?: number): string;
1815
+ generateRandomSlug(length?: number): string;
1816
+ generateRandomToken(length?: number): string;
1817
+ generateRandomApiKey(length?: number): string;
1818
+ generateRandomSessionId(length?: number): string;
1819
+ generateRandomPassword(length?: number): string;
1820
+ generateRandomUsername(length?: number): string;
1821
+ generateRandomEmail(length?: number): string;
1822
+ generateRandomDomain(length?: number): string;
1823
+ };
1824
+
1176
1825
  type NotistackAnchorProps = {
1177
1826
  vertical: 'top' | 'bottom';
1178
1827
  horizontal: 'left' | 'center' | 'right';
@@ -1220,11 +1869,79 @@ declare function useMediaQuery(query: string | ((theme: any) => string)): boolea
1220
1869
  type Breakpoint = keyof typeof breakpoints;
1221
1870
  declare function useBreakpointValue<T>(values: Partial<Record<Breakpoint, T>>): T | undefined;
1222
1871
 
1872
+ type FlexProps = {
1873
+ container?: boolean;
1874
+ spacing?: number;
1875
+ children?: React$1.ReactNode;
1876
+ ui?: UIProps;
1877
+ center?: boolean;
1878
+ between?: boolean;
1879
+ variant?: 'row' | 'column' | 'wrap';
1880
+ gap?: number;
1881
+ style?: React$1.CSSProperties;
1882
+ onClick?: () => void;
1883
+ bordered?: boolean;
1884
+ };
1885
+ declare const Flex: React$1.FC<FlexProps>;
1886
+
1887
+ type LoaderProps = {
1888
+ component?: React$1.ReactNode;
1889
+ loading?: boolean;
1890
+ propsComponent?: {
1891
+ loader?: {
1892
+ ui?: UIProps;
1893
+ style?: React$1.CSSProperties;
1894
+ };
1895
+ spinner?: {
1896
+ size?: 'sm' | 'md' | 'lg' | 'xs';
1897
+ color?: keyof Theme['colors'];
1898
+ type: 'default' | 'dots' | 'fancy';
1899
+ };
1900
+ container?: Omit<FlexProps, 'children'>;
1901
+ };
1902
+ };
1903
+ declare const Loader: React$1.FC<LoaderProps>;
1904
+
1905
+ type TextVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'title' | 'subtitle' | 'body1' | 'body2' | 'caption' | 'button' | 'helper' | 'inherit' | 'code';
1906
+ type TextWeight = 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'black' | 'thin';
1907
+ type TextProps = {
1908
+ children?: React$1.ReactNode;
1909
+ variant?: TextVariant;
1910
+ color?: keyof Theme['colors'];
1911
+ weight?: TextWeight;
1912
+ as?: keyof React$1.JSX.IntrinsicElements;
1913
+ gutters?: number[];
1914
+ ui?: UIProps;
1915
+ style?: React$1.CSSProperties;
1916
+ onClick?: () => void;
1917
+ };
1918
+ declare const Text: React$1.FC<TextProps>;
1919
+
1920
+ type ButtonVariant = 'outlined' | 'filled' | 'text';
1921
+ type ButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
1922
+ variant?: ButtonVariant;
1923
+ color?: keyof Theme['colors'];
1924
+ animated?: boolean;
1925
+ gradientBorder?: boolean;
1926
+ ui?: UIProps;
1927
+ size?: 'auto' | 'full';
1928
+ icon?: React$1.ReactNode;
1929
+ propsComponent?: {
1930
+ text?: Omit<TextProps, 'children'>;
1931
+ loader?: LoaderProps;
1932
+ };
1933
+ };
1934
+ declare const Button: React$1.FC<ButtonProps>;
1935
+
1223
1936
  type CalendarProps = {
1224
1937
  onSelect?: (day: any) => void;
1225
1938
  propsComponent?: {
1226
1939
  displayButtons?: boolean;
1227
1940
  displayCalendar?: boolean;
1941
+ container?: {
1942
+ ui?: UIProps;
1943
+ style?: React$1.CSSProperties;
1944
+ };
1228
1945
  header?: {
1229
1946
  color?: keyof Theme['colors'];
1230
1947
  ui?: UIProps;
@@ -1233,6 +1950,7 @@ type CalendarProps = {
1233
1950
  day?: {
1234
1951
  color?: keyof Theme['colors'];
1235
1952
  bordered?: boolean;
1953
+ selected?: keyof Theme['colors'];
1236
1954
  ui?: UIProps;
1237
1955
  style?: React$1.CSSProperties;
1238
1956
  component?: React$1.ReactNode;
@@ -1246,13 +1964,22 @@ type CalendarProps = {
1246
1964
  disabled?: boolean;
1247
1965
  onClick?: () => void;
1248
1966
  label?: React$1.ReactNode;
1967
+ color?: keyof Theme['colors'];
1968
+ ui?: UIProps;
1249
1969
  };
1250
1970
  buttonBack?: {
1251
1971
  disabled?: boolean;
1252
1972
  onClick?: () => void;
1253
1973
  label?: React$1.ReactNode;
1974
+ color?: keyof Theme['colors'];
1975
+ ui?: UIProps;
1254
1976
  };
1255
1977
  };
1978
+ buttonsComponent?: {
1979
+ buttonNext?: React$1.ReactNode;
1980
+ buttonBack?: React$1.ReactNode;
1981
+ };
1982
+ dataFormat: DTXFormat;
1256
1983
  mapCalendar?: any;
1257
1984
  onMonthChange?: (month: number) => void;
1258
1985
  };
@@ -1383,9 +2110,10 @@ declare const Label: React$1.FC<LabelProps>;
1383
2110
  type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
1384
2111
  label?: string;
1385
2112
  value?: string;
1386
- pattern?: 'text' | 'email' | 'phone' | 'number' | 'password' | 'search' | 'date' | 'currency';
2113
+ model?: React$1.HTMLAttributes<HTMLInputElement>['inputMode'] | 'currency' | 'email' | 'phone' | 'number';
1387
2114
  variant?: ControlVariants;
1388
2115
  separatorCurrency?: ',' | '.';
2116
+ separatorDecimal?: ',' | '.';
1389
2117
  color?: keyof Theme['colors'];
1390
2118
  onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
1391
2119
  error?: string | null;
@@ -1401,9 +2129,10 @@ type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange'
1401
2129
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange"> & {
1402
2130
  label?: string;
1403
2131
  value?: string;
1404
- pattern?: "text" | "email" | "phone" | "number" | "password" | "search" | "date" | "currency";
2132
+ model?: React$1.HTMLAttributes<HTMLInputElement>["inputMode"] | "currency" | "email" | "phone" | "number";
1405
2133
  variant?: ControlVariants;
1406
2134
  separatorCurrency?: "," | ".";
2135
+ separatorDecimal?: "," | ".";
1407
2136
  color?: keyof Theme["colors"];
1408
2137
  onChange?: (e: React$1.ChangeEvent<HTMLInputElement>, value: string) => void;
1409
2138
  error?: string | null;
@@ -1431,11 +2160,7 @@ type MonthSelectorProps = {
1431
2160
  months: number[];
1432
2161
  }[];
1433
2162
  };
1434
- daysFormat?: {
1435
- months?: string[];
1436
- value?: string;
1437
- month?: string;
1438
- };
2163
+ format?: DTXFormat;
1439
2164
  onNext?: (value: string) => void;
1440
2165
  onLast?: (value: string) => void;
1441
2166
  onChange: (value: string) => void;
@@ -1478,21 +2203,6 @@ type FadeProps = {
1478
2203
  };
1479
2204
  declare const Fade: React$1.FC<FadeProps>;
1480
2205
 
1481
- type FlexProps = {
1482
- container?: boolean;
1483
- spacing?: number;
1484
- children?: React$1.ReactNode;
1485
- ui?: UIProps;
1486
- center?: boolean;
1487
- between?: boolean;
1488
- variant?: 'row' | 'column' | 'wrap';
1489
- gap?: number;
1490
- style?: React$1.CSSProperties;
1491
- onClick?: () => void;
1492
- bordered?: boolean;
1493
- };
1494
- declare const Flex: React$1.FC<FlexProps>;
1495
-
1496
2206
  type GridProps = {
1497
2207
  container?: boolean;
1498
2208
  spacing?: number;
@@ -1599,24 +2309,6 @@ type InputAreaProps = {
1599
2309
  };
1600
2310
  declare const InputArea: React$1.FC<InputAreaProps>;
1601
2311
 
1602
- type LoaderProps = {
1603
- component?: React$1.ReactNode;
1604
- loading?: boolean;
1605
- propsComponent?: {
1606
- loader?: {
1607
- ui?: UIProps;
1608
- style?: React$1.CSSProperties;
1609
- };
1610
- spinner?: {
1611
- size?: 'sm' | 'md' | 'lg';
1612
- color?: keyof Theme['colors'];
1613
- type: 'default' | 'dots' | 'fancy';
1614
- };
1615
- container?: Omit<FlexProps, 'children'>;
1616
- };
1617
- };
1618
- declare const Loader: React$1.FC<LoaderProps>;
1619
-
1620
2312
  type ModalContainerProps = {
1621
2313
  children?: React$1.ReactNode;
1622
2314
  size?: 'sm' | 'md' | 'lg';
@@ -1908,4 +2600,4 @@ declare const breakUp: (bp: number) => string;
1908
2600
  declare const breakDown: (bp: number) => string;
1909
2601
  declare function useBreakpoint(queryInput: QueryInput): boolean;
1910
2602
 
1911
- export { Avatar, type AvatarProps, Backdrop, BackdropContext, type BackdropContextType, BackdropProvider, Box, type BoxProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarComponentProps, type CalendarDayProps, type CalendarMonthProps, type CalendarProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Collapse, type CollapseProps, Container, type ContainerProps, Control, ControlContext, type ControlProps, type ControlVariants, type CountriesDial, Divider, type DividerProps, Drawer, type DrawerProps, Fade, type FadeProps, Flex, type FlexProps, Grid, type GridProps, Group, type GroupProps, type GroupsType, type GroupsVariant, IconCalendar, IconClose, IconDown, IconLeft, IconSearch, Image, ImageDropzone, type ImageDropzoneProps, type ImageProps, Input, InputArea, type InputAreaProps, type InputAreaVariant, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Modal, ModalContainer, type ModalContainerProps, type ModalProps, MonthSelector, type MonthSelectorProps, Notistack, type NotistackAnchorProps, NotistackContext, type NotistackContextType, type NotistackProps, NotistackProvider, type Option, Pending, type PendingProps, Phone, type PhoneInputProps, Picker, type PickerChangeEvent, type PickerProps, type PlaceData, PlacesAutocomplete, type PropsPlaces, Radio, type RadioVariant, Select, type SelectChangeEvent, type SelectOptionsProps, type SelectProps, Selector, type SelectorChangeEvent, type SelectorProps, Slide, type SlideContentProps, type SlideProps, type Snack, Switch, type SwitchProps, Text, type TextProps, type TextVariant, type TextWeight, type Theme, ThemeContext, ThemeProvider, type UIProps, adjustColor, alpha, applyTheme, baseTokens, bem, bemMerge, breakDown, breakUp, breakpoints, composeStyles, createPaletteColor, createTheme, createVariants, cx, darken, getContrast, getCountryCodePhone, getDialPhone, getMonthCalendar, getMonthCalendarProps, getNumberPhone, hexToRgb, initTheme, inputCurrency, isEmpty, lighten, mergeDeep, normalizePhone, rgbToHex, text, times, uiStyle, useBackdrop, useBreakpoint, useBreakpointValue, useClickAway, useControl, useMediaQuery, useNotistack, usePlaces, useTheme };
2603
+ export { Avatar, type AvatarProps, Backdrop, BackdropContext, type BackdropContextType, BackdropProvider, Box, type BoxProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarComponentProps, type CalendarDayProps, type CalendarMonthProps, type CalendarProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Collapse, type CollapseProps, Container, type ContainerProps, Control, ControlContext, type ControlProps, type ControlVariants, type CountriesDial, Divider, type DividerProps, Drawer, type DrawerProps, Fade, type FadeProps, Flex, type FlexProps, Grid, type GridProps, Group, type GroupProps, type GroupsType, type GroupsVariant, IconCalendar, IconClose, IconDown, IconLeft, IconSearch, Image, ImageDropzone, type ImageDropzoneProps, type ImageProps, Input, InputArea, type InputAreaProps, type InputAreaVariant, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Modal, ModalContainer, type ModalContainerProps, type ModalProps, MonthSelector, type MonthSelectorProps, Notistack, type NotistackAnchorProps, NotistackContext, type NotistackContextType, type NotistackProps, NotistackProvider, type Option, Pending, type PendingProps, Phone, type PhoneInputProps, Picker, type PickerChangeEvent, type PickerProps, type PlaceData, PlacesAutocomplete, type PropsPlaces, Radio, type RadioVariant, Select, type SelectChangeEvent, type SelectOptionsProps, type SelectProps, Selector, type SelectorChangeEvent, type SelectorProps, Slide, type SlideContentProps, type SlideProps, type Snack, Switch, type SwitchProps, Text, type TextProps, type TextVariant, type TextWeight, type Theme, ThemeContext, ThemeProvider, type UIProps, adjustColor, alpha, applyTheme, baseTokens, bem, bemMerge, breakDown, breakUp, breakpoints, composeStyles, createPaletteColor, createTheme, createVariants, cx, darken, date, dtx, findMonth, getContrast, getCountryCodePhone, getDialPhone, getMonthCalendar, getMonthCalendarProps, getNumberPhone, hexToRgb, initTheme, inputCurrency, lighten, mergeDeep, mergeInitialProps, normalizePhone, rgbToHex, text, uiStyle, useBackdrop, useBreakpoint, useBreakpointValue, useClickAway, useControl, useMediaQuery, useNotistack, usePlaces, useTheme, utils };