@expcat/tigercat-core 0.2.27 → 0.3.0
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.cjs +319 -71
- package/dist/index.d.cts +1541 -509
- package/dist/index.d.ts +1541 -509
- package/dist/index.js +300 -71
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1250,174 +1250,6 @@ declare function getInputWrapperClasses(): string;
|
|
|
1250
1250
|
declare function getInputAffixClasses(position: 'prefix' | 'suffix', size?: InputSize): string;
|
|
1251
1251
|
declare function getInputErrorClasses(size?: InputSize): string;
|
|
1252
1252
|
|
|
1253
|
-
/**
|
|
1254
|
-
* Select component types and interfaces
|
|
1255
|
-
*/
|
|
1256
|
-
type SelectValue = string | number;
|
|
1257
|
-
type SelectValues = SelectValue[];
|
|
1258
|
-
type SelectModelValue = SelectValue | SelectValues | undefined;
|
|
1259
|
-
/**
|
|
1260
|
-
* Single select option
|
|
1261
|
-
*/
|
|
1262
|
-
interface SelectOption {
|
|
1263
|
-
/**
|
|
1264
|
-
* Option value
|
|
1265
|
-
*/
|
|
1266
|
-
value: SelectValue;
|
|
1267
|
-
/**
|
|
1268
|
-
* Option label (displayed text)
|
|
1269
|
-
*/
|
|
1270
|
-
label: string;
|
|
1271
|
-
/**
|
|
1272
|
-
* Whether the option is disabled
|
|
1273
|
-
* @default false
|
|
1274
|
-
*/
|
|
1275
|
-
disabled?: boolean;
|
|
1276
|
-
}
|
|
1277
|
-
/**
|
|
1278
|
-
* Option group
|
|
1279
|
-
*/
|
|
1280
|
-
interface SelectOptionGroup {
|
|
1281
|
-
/**
|
|
1282
|
-
* Group label
|
|
1283
|
-
*/
|
|
1284
|
-
label: string;
|
|
1285
|
-
/**
|
|
1286
|
-
* Options in this group
|
|
1287
|
-
*/
|
|
1288
|
-
options: SelectOption[];
|
|
1289
|
-
}
|
|
1290
|
-
type SelectOptions = Array<SelectOption | SelectOptionGroup>;
|
|
1291
|
-
/**
|
|
1292
|
-
* Select size types
|
|
1293
|
-
*/
|
|
1294
|
-
type SelectSize = 'sm' | 'md' | 'lg';
|
|
1295
|
-
/**
|
|
1296
|
-
* Base select props interface
|
|
1297
|
-
*/
|
|
1298
|
-
interface SelectProps {
|
|
1299
|
-
/**
|
|
1300
|
-
* Select size
|
|
1301
|
-
* @default 'md'
|
|
1302
|
-
*/
|
|
1303
|
-
size?: SelectSize;
|
|
1304
|
-
/**
|
|
1305
|
-
* Whether the select is disabled
|
|
1306
|
-
* @default false
|
|
1307
|
-
*/
|
|
1308
|
-
disabled?: boolean;
|
|
1309
|
-
/**
|
|
1310
|
-
* Placeholder text when no option is selected
|
|
1311
|
-
*/
|
|
1312
|
-
placeholder?: string;
|
|
1313
|
-
/**
|
|
1314
|
-
* Whether to allow search/filter
|
|
1315
|
-
* @default false
|
|
1316
|
-
*/
|
|
1317
|
-
searchable?: boolean;
|
|
1318
|
-
/**
|
|
1319
|
-
* Whether to allow multiple selection
|
|
1320
|
-
* @default false
|
|
1321
|
-
*/
|
|
1322
|
-
multiple?: boolean;
|
|
1323
|
-
/**
|
|
1324
|
-
* Whether to clear the selection
|
|
1325
|
-
* @default true
|
|
1326
|
-
*/
|
|
1327
|
-
clearable?: boolean;
|
|
1328
|
-
/**
|
|
1329
|
-
* Options list (can be flat list or grouped)
|
|
1330
|
-
*/
|
|
1331
|
-
options?: SelectOptions;
|
|
1332
|
-
/**
|
|
1333
|
-
* Text to display when no options match search
|
|
1334
|
-
* @default 'No options found'
|
|
1335
|
-
*/
|
|
1336
|
-
noOptionsText?: string;
|
|
1337
|
-
/**
|
|
1338
|
-
* Text to display when options list is empty
|
|
1339
|
-
* @default 'No options available'
|
|
1340
|
-
*/
|
|
1341
|
-
noDataText?: string;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* Base select container classes
|
|
1346
|
-
*/
|
|
1347
|
-
declare const selectBaseClasses = "relative inline-block w-full";
|
|
1348
|
-
/**
|
|
1349
|
-
* Select dropdown base classes
|
|
1350
|
-
*/
|
|
1351
|
-
declare const selectDropdownBaseClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-md shadow-lg max-h-60 overflow-auto";
|
|
1352
|
-
/**
|
|
1353
|
-
* Select option base classes
|
|
1354
|
-
*/
|
|
1355
|
-
declare const selectOptionBaseClasses = "w-full px-3 py-2 text-left cursor-pointer transition-colors text-[var(--tiger-select-option-text,var(--tiger-text,#111827))] hover:bg-[var(--tiger-select-option-bg-hover,var(--tiger-outline-bg-hover,#eff6ff))]";
|
|
1356
|
-
/**
|
|
1357
|
-
* Select option selected classes
|
|
1358
|
-
*/
|
|
1359
|
-
declare const selectOptionSelectedClasses = "bg-[var(--tiger-select-option-bg-selected,var(--tiger-outline-bg-hover,#eff6ff))] text-[var(--tiger-select-option-text-selected,var(--tiger-primary,#2563eb))] font-medium";
|
|
1360
|
-
/**
|
|
1361
|
-
* Select option disabled classes
|
|
1362
|
-
*/
|
|
1363
|
-
declare const selectOptionDisabledClasses = "opacity-50 cursor-not-allowed hover:bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))]";
|
|
1364
|
-
/**
|
|
1365
|
-
* Select group label classes
|
|
1366
|
-
*/
|
|
1367
|
-
declare const selectGroupLabelClasses = "px-3 py-2 text-xs font-semibold text-[var(--tiger-select-group-label-text,var(--tiger-text-muted,#6b7280))] uppercase bg-[var(--tiger-select-group-label-bg,var(--tiger-surface-muted,#f9fafb))]";
|
|
1368
|
-
/**
|
|
1369
|
-
* Select search input classes
|
|
1370
|
-
*/
|
|
1371
|
-
declare const selectSearchInputClasses = "w-full px-3 py-2 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] text-[var(--tiger-select-search-text,var(--tiger-text,#111827))] placeholder:text-[var(--tiger-select-search-placeholder,var(--tiger-text-muted,#9ca3af))] border-b border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] focus:outline-none focus:ring-0";
|
|
1372
|
-
/**
|
|
1373
|
-
* Select empty state classes
|
|
1374
|
-
*/
|
|
1375
|
-
declare const selectEmptyStateClasses = "px-3 py-8 text-center text-[var(--tiger-select-empty-text,var(--tiger-text-muted,#6b7280))] text-sm";
|
|
1376
|
-
/**
|
|
1377
|
-
* Get select size classes
|
|
1378
|
-
* @param size - Select size variant
|
|
1379
|
-
* @returns Size-specific class string
|
|
1380
|
-
*/
|
|
1381
|
-
declare function getSelectSizeClasses(size: SelectSize): string;
|
|
1382
|
-
/**
|
|
1383
|
-
* Get select trigger classes
|
|
1384
|
-
* @param size - Select size
|
|
1385
|
-
* @param disabled - Whether the select is disabled
|
|
1386
|
-
* @param isOpen - Whether the dropdown is open
|
|
1387
|
-
* @returns Complete trigger class string
|
|
1388
|
-
*/
|
|
1389
|
-
declare function getSelectTriggerClasses(size: SelectSize, disabled: boolean, isOpen: boolean): string;
|
|
1390
|
-
/**
|
|
1391
|
-
* Get select option classes
|
|
1392
|
-
* @param isSelected - Whether the option is selected
|
|
1393
|
-
* @param isDisabled - Whether the option is disabled
|
|
1394
|
-
* @param size - Select size
|
|
1395
|
-
* @returns Complete option class string
|
|
1396
|
-
*/
|
|
1397
|
-
declare function getSelectOptionClasses(isSelected: boolean, isDisabled: boolean, size: SelectSize): string;
|
|
1398
|
-
/**
|
|
1399
|
-
* Type guard to check if an option is a group
|
|
1400
|
-
* @param option - Option to check
|
|
1401
|
-
* @returns True if option is a SelectOptionGroup
|
|
1402
|
-
*/
|
|
1403
|
-
declare function isOptionGroup(option: SelectOption | SelectOptionGroup | null | undefined): option is SelectOptionGroup;
|
|
1404
|
-
/**
|
|
1405
|
-
* Filter options based on search query
|
|
1406
|
-
* @param options - Array of options or option groups to filter
|
|
1407
|
-
* @param query - Search query string
|
|
1408
|
-
* @returns Filtered options array
|
|
1409
|
-
*/
|
|
1410
|
-
declare function filterOptions(options: SelectOptions, query: string): SelectOptions;
|
|
1411
|
-
|
|
1412
|
-
/**
|
|
1413
|
-
* Textarea auto-resize utility
|
|
1414
|
-
*/
|
|
1415
|
-
interface AutoResizeTextareaOptions {
|
|
1416
|
-
minRows?: number;
|
|
1417
|
-
maxRows?: number;
|
|
1418
|
-
}
|
|
1419
|
-
declare function autoResizeTextarea(textarea: HTMLTextAreaElement, { minRows, maxRows }?: AutoResizeTextareaOptions): void;
|
|
1420
|
-
|
|
1421
1253
|
/**
|
|
1422
1254
|
* Form component types and interfaces
|
|
1423
1255
|
*/
|
|
@@ -1614,82 +1446,270 @@ interface FormItemProps {
|
|
|
1614
1446
|
size?: FormSize;
|
|
1615
1447
|
}
|
|
1616
1448
|
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
declare function
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
declare function
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
*/
|
|
1637
|
-
declare function validateForm(values: FormValues, rules: FormRules): Promise<FormValidationResult>;
|
|
1638
|
-
/**
|
|
1639
|
-
* Get error message for a specific field
|
|
1640
|
-
*/
|
|
1641
|
-
declare function getFieldError(fieldName: string, errors: FormError[]): string | undefined;
|
|
1642
|
-
/**
|
|
1643
|
-
* Clear errors for specific fields
|
|
1644
|
-
*/
|
|
1645
|
-
declare function clearFieldErrors(fieldNames: string | string[], errors: FormError[]): FormError[];
|
|
1646
|
-
/**
|
|
1647
|
-
* Check if form has errors
|
|
1648
|
-
*/
|
|
1649
|
-
declare function hasErrors(errors: FormError[]): boolean;
|
|
1650
|
-
/**
|
|
1651
|
-
* Get all field names with errors
|
|
1652
|
-
*/
|
|
1653
|
-
declare function getErrorFields(errors: FormError[]): string[];
|
|
1449
|
+
interface FormItemClassOptions {
|
|
1450
|
+
size?: FormSize;
|
|
1451
|
+
labelPosition?: FormLabelPosition;
|
|
1452
|
+
hasError?: boolean;
|
|
1453
|
+
disabled?: boolean;
|
|
1454
|
+
}
|
|
1455
|
+
interface FormItemLabelClassOptions {
|
|
1456
|
+
size?: FormSize;
|
|
1457
|
+
labelPosition?: FormLabelPosition;
|
|
1458
|
+
labelAlign?: FormLabelAlign;
|
|
1459
|
+
isRequired?: boolean;
|
|
1460
|
+
}
|
|
1461
|
+
declare function getFormItemClasses(options?: FormItemClassOptions): string;
|
|
1462
|
+
declare function getFormItemLabelClasses(options?: FormItemLabelClassOptions): string;
|
|
1463
|
+
declare function getFormItemContentClasses(labelPosition?: FormLabelPosition): string;
|
|
1464
|
+
declare function getFormItemFieldClasses(): string;
|
|
1465
|
+
declare function getFormItemErrorClasses(size?: FormSize): string;
|
|
1466
|
+
declare function getFormItemAsteriskClasses(): string;
|
|
1467
|
+
declare function getFormItemAsteriskStyle(): Record<string, string>;
|
|
1654
1468
|
|
|
1655
1469
|
/**
|
|
1656
|
-
*
|
|
1657
|
-
*/
|
|
1658
|
-
/**
|
|
1659
|
-
* Radio size types
|
|
1470
|
+
* Select component types and interfaces
|
|
1660
1471
|
*/
|
|
1661
|
-
type
|
|
1472
|
+
type SelectValue = string | number;
|
|
1473
|
+
type SelectValues = SelectValue[];
|
|
1474
|
+
type SelectModelValue = SelectValue | SelectValues | undefined;
|
|
1662
1475
|
/**
|
|
1663
|
-
*
|
|
1476
|
+
* Single select option
|
|
1664
1477
|
*/
|
|
1665
|
-
interface
|
|
1478
|
+
interface SelectOption {
|
|
1666
1479
|
/**
|
|
1667
|
-
*
|
|
1480
|
+
* Option value
|
|
1668
1481
|
*/
|
|
1669
|
-
value:
|
|
1482
|
+
value: SelectValue;
|
|
1670
1483
|
/**
|
|
1671
|
-
*
|
|
1672
|
-
* @default 'md'
|
|
1484
|
+
* Option label (displayed text)
|
|
1673
1485
|
*/
|
|
1674
|
-
|
|
1486
|
+
label: string;
|
|
1675
1487
|
/**
|
|
1676
|
-
* Whether the
|
|
1488
|
+
* Whether the option is disabled
|
|
1677
1489
|
* @default false
|
|
1678
1490
|
*/
|
|
1679
1491
|
disabled?: boolean;
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* Option group
|
|
1495
|
+
*/
|
|
1496
|
+
interface SelectOptionGroup {
|
|
1680
1497
|
/**
|
|
1681
|
-
*
|
|
1682
|
-
*/
|
|
1683
|
-
name?: string;
|
|
1684
|
-
/**
|
|
1685
|
-
* Whether the radio is checked (controlled mode)
|
|
1498
|
+
* Group label
|
|
1686
1499
|
*/
|
|
1687
|
-
|
|
1500
|
+
label: string;
|
|
1688
1501
|
/**
|
|
1689
|
-
*
|
|
1690
|
-
* @default false
|
|
1502
|
+
* Options in this group
|
|
1691
1503
|
*/
|
|
1692
|
-
|
|
1504
|
+
options: SelectOption[];
|
|
1505
|
+
}
|
|
1506
|
+
type SelectOptions = Array<SelectOption | SelectOptionGroup>;
|
|
1507
|
+
/**
|
|
1508
|
+
* Select size types
|
|
1509
|
+
*/
|
|
1510
|
+
type SelectSize = 'sm' | 'md' | 'lg';
|
|
1511
|
+
/**
|
|
1512
|
+
* Base select props interface
|
|
1513
|
+
*/
|
|
1514
|
+
interface SelectProps {
|
|
1515
|
+
/**
|
|
1516
|
+
* Select size
|
|
1517
|
+
* @default 'md'
|
|
1518
|
+
*/
|
|
1519
|
+
size?: SelectSize;
|
|
1520
|
+
/**
|
|
1521
|
+
* Whether the select is disabled
|
|
1522
|
+
* @default false
|
|
1523
|
+
*/
|
|
1524
|
+
disabled?: boolean;
|
|
1525
|
+
/**
|
|
1526
|
+
* Placeholder text when no option is selected
|
|
1527
|
+
*/
|
|
1528
|
+
placeholder?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* Whether to allow search/filter
|
|
1531
|
+
* @default false
|
|
1532
|
+
*/
|
|
1533
|
+
searchable?: boolean;
|
|
1534
|
+
/**
|
|
1535
|
+
* Whether to allow multiple selection
|
|
1536
|
+
* @default false
|
|
1537
|
+
*/
|
|
1538
|
+
multiple?: boolean;
|
|
1539
|
+
/**
|
|
1540
|
+
* Whether to clear the selection
|
|
1541
|
+
* @default true
|
|
1542
|
+
*/
|
|
1543
|
+
clearable?: boolean;
|
|
1544
|
+
/**
|
|
1545
|
+
* Options list (can be flat list or grouped)
|
|
1546
|
+
*/
|
|
1547
|
+
options?: SelectOptions;
|
|
1548
|
+
/**
|
|
1549
|
+
* Text to display when no options match search
|
|
1550
|
+
* @default 'No options found'
|
|
1551
|
+
*/
|
|
1552
|
+
noOptionsText?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* Text to display when options list is empty
|
|
1555
|
+
* @default 'No options available'
|
|
1556
|
+
*/
|
|
1557
|
+
noDataText?: string;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Base select container classes
|
|
1562
|
+
*/
|
|
1563
|
+
declare const selectBaseClasses = "relative inline-block w-full";
|
|
1564
|
+
/**
|
|
1565
|
+
* Select dropdown base classes
|
|
1566
|
+
*/
|
|
1567
|
+
declare const selectDropdownBaseClasses = "absolute z-50 w-full mt-1 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] border border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] rounded-md shadow-lg max-h-60 overflow-auto";
|
|
1568
|
+
/**
|
|
1569
|
+
* Select option base classes
|
|
1570
|
+
*/
|
|
1571
|
+
declare const selectOptionBaseClasses = "w-full px-3 py-2 text-left cursor-pointer transition-colors text-[var(--tiger-select-option-text,var(--tiger-text,#111827))] hover:bg-[var(--tiger-select-option-bg-hover,var(--tiger-outline-bg-hover,#eff6ff))]";
|
|
1572
|
+
/**
|
|
1573
|
+
* Select option selected classes
|
|
1574
|
+
*/
|
|
1575
|
+
declare const selectOptionSelectedClasses = "bg-[var(--tiger-select-option-bg-selected,var(--tiger-outline-bg-hover,#eff6ff))] text-[var(--tiger-select-option-text-selected,var(--tiger-primary,#2563eb))] font-medium";
|
|
1576
|
+
/**
|
|
1577
|
+
* Select option disabled classes
|
|
1578
|
+
*/
|
|
1579
|
+
declare const selectOptionDisabledClasses = "opacity-50 cursor-not-allowed hover:bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))]";
|
|
1580
|
+
/**
|
|
1581
|
+
* Select group label classes
|
|
1582
|
+
*/
|
|
1583
|
+
declare const selectGroupLabelClasses = "px-3 py-2 text-xs font-semibold text-[var(--tiger-select-group-label-text,var(--tiger-text-muted,#6b7280))] uppercase bg-[var(--tiger-select-group-label-bg,var(--tiger-surface-muted,#f9fafb))]";
|
|
1584
|
+
/**
|
|
1585
|
+
* Select search input classes
|
|
1586
|
+
*/
|
|
1587
|
+
declare const selectSearchInputClasses = "w-full px-3 py-2 bg-[var(--tiger-select-dropdown-bg,var(--tiger-surface,#ffffff))] text-[var(--tiger-select-search-text,var(--tiger-text,#111827))] placeholder:text-[var(--tiger-select-search-placeholder,var(--tiger-text-muted,#9ca3af))] border-b border-[var(--tiger-select-dropdown-border,var(--tiger-border,#e5e7eb))] focus:outline-none focus:ring-0";
|
|
1588
|
+
/**
|
|
1589
|
+
* Select empty state classes
|
|
1590
|
+
*/
|
|
1591
|
+
declare const selectEmptyStateClasses = "px-3 py-8 text-center text-[var(--tiger-select-empty-text,var(--tiger-text-muted,#6b7280))] text-sm";
|
|
1592
|
+
/**
|
|
1593
|
+
* Get select size classes
|
|
1594
|
+
* @param size - Select size variant
|
|
1595
|
+
* @returns Size-specific class string
|
|
1596
|
+
*/
|
|
1597
|
+
declare function getSelectSizeClasses(size: SelectSize): string;
|
|
1598
|
+
/**
|
|
1599
|
+
* Get select trigger classes
|
|
1600
|
+
* @param size - Select size
|
|
1601
|
+
* @param disabled - Whether the select is disabled
|
|
1602
|
+
* @param isOpen - Whether the dropdown is open
|
|
1603
|
+
* @returns Complete trigger class string
|
|
1604
|
+
*/
|
|
1605
|
+
declare function getSelectTriggerClasses(size: SelectSize, disabled: boolean, isOpen: boolean): string;
|
|
1606
|
+
/**
|
|
1607
|
+
* Get select option classes
|
|
1608
|
+
* @param isSelected - Whether the option is selected
|
|
1609
|
+
* @param isDisabled - Whether the option is disabled
|
|
1610
|
+
* @param size - Select size
|
|
1611
|
+
* @returns Complete option class string
|
|
1612
|
+
*/
|
|
1613
|
+
declare function getSelectOptionClasses(isSelected: boolean, isDisabled: boolean, size: SelectSize): string;
|
|
1614
|
+
/**
|
|
1615
|
+
* Type guard to check if an option is a group
|
|
1616
|
+
* @param option - Option to check
|
|
1617
|
+
* @returns True if option is a SelectOptionGroup
|
|
1618
|
+
*/
|
|
1619
|
+
declare function isOptionGroup(option: SelectOption | SelectOptionGroup | null | undefined): option is SelectOptionGroup;
|
|
1620
|
+
/**
|
|
1621
|
+
* Filter options based on search query
|
|
1622
|
+
* @param options - Array of options or option groups to filter
|
|
1623
|
+
* @param query - Search query string
|
|
1624
|
+
* @returns Filtered options array
|
|
1625
|
+
*/
|
|
1626
|
+
declare function filterOptions(options: SelectOptions, query: string): SelectOptions;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* Textarea auto-resize utility
|
|
1630
|
+
*/
|
|
1631
|
+
interface AutoResizeTextareaOptions {
|
|
1632
|
+
minRows?: number;
|
|
1633
|
+
maxRows?: number;
|
|
1634
|
+
}
|
|
1635
|
+
declare function autoResizeTextarea(textarea: HTMLTextAreaElement, { minRows, maxRows }?: AutoResizeTextareaOptions): void;
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* Form validation utilities
|
|
1639
|
+
*/
|
|
1640
|
+
|
|
1641
|
+
declare function getValueByPath(values: FormValues | undefined, path: string): unknown;
|
|
1642
|
+
/**
|
|
1643
|
+
* Validate a single value against a rule
|
|
1644
|
+
* @param value - Value to validate
|
|
1645
|
+
* @param rule - Validation rule to apply
|
|
1646
|
+
* @param allValues - All form values for cross-field validation
|
|
1647
|
+
* @returns Error message string if validation fails, null if passes
|
|
1648
|
+
*/
|
|
1649
|
+
declare function validateRule(value: unknown, rule: FormRule, allValues?: FormValues): Promise<string | null>;
|
|
1650
|
+
/**
|
|
1651
|
+
* Validate a field against its rules
|
|
1652
|
+
*/
|
|
1653
|
+
declare function validateField(fieldName: string, value: unknown, rules: FormRule | FormRule[] | undefined, allValues?: FormValues, trigger?: FormRuleTrigger): Promise<string | null>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Validate entire form
|
|
1656
|
+
*/
|
|
1657
|
+
declare function validateForm(values: FormValues, rules: FormRules): Promise<FormValidationResult>;
|
|
1658
|
+
/**
|
|
1659
|
+
* Get error message for a specific field
|
|
1660
|
+
*/
|
|
1661
|
+
declare function getFieldError(fieldName: string, errors: FormError[]): string | undefined;
|
|
1662
|
+
/**
|
|
1663
|
+
* Clear errors for specific fields
|
|
1664
|
+
*/
|
|
1665
|
+
declare function clearFieldErrors(fieldNames: string | string[], errors: FormError[]): FormError[];
|
|
1666
|
+
/**
|
|
1667
|
+
* Check if form has errors
|
|
1668
|
+
*/
|
|
1669
|
+
declare function hasErrors(errors: FormError[]): boolean;
|
|
1670
|
+
/**
|
|
1671
|
+
* Get all field names with errors
|
|
1672
|
+
*/
|
|
1673
|
+
declare function getErrorFields(errors: FormError[]): string[];
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Radio component types and interfaces
|
|
1677
|
+
*/
|
|
1678
|
+
/**
|
|
1679
|
+
* Radio size types
|
|
1680
|
+
*/
|
|
1681
|
+
type RadioSize = 'sm' | 'md' | 'lg';
|
|
1682
|
+
/**
|
|
1683
|
+
* Base radio props interface
|
|
1684
|
+
*/
|
|
1685
|
+
interface RadioProps {
|
|
1686
|
+
/**
|
|
1687
|
+
* The value of the radio
|
|
1688
|
+
*/
|
|
1689
|
+
value: string | number;
|
|
1690
|
+
/**
|
|
1691
|
+
* Radio size
|
|
1692
|
+
* @default 'md'
|
|
1693
|
+
*/
|
|
1694
|
+
size?: RadioSize;
|
|
1695
|
+
/**
|
|
1696
|
+
* Whether the radio is disabled
|
|
1697
|
+
* @default false
|
|
1698
|
+
*/
|
|
1699
|
+
disabled?: boolean;
|
|
1700
|
+
/**
|
|
1701
|
+
* Name attribute for the radio input (for grouping)
|
|
1702
|
+
*/
|
|
1703
|
+
name?: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* Whether the radio is checked (controlled mode)
|
|
1706
|
+
*/
|
|
1707
|
+
checked?: boolean;
|
|
1708
|
+
/**
|
|
1709
|
+
* Default checked state (uncontrolled mode)
|
|
1710
|
+
* @default false
|
|
1711
|
+
*/
|
|
1712
|
+
defaultChecked?: boolean;
|
|
1693
1713
|
}
|
|
1694
1714
|
/**
|
|
1695
1715
|
* Radio group props interface
|
|
@@ -3180,6 +3200,11 @@ interface TableProps<T = Record<string, unknown>> {
|
|
|
3180
3200
|
* Max height for scrollable table
|
|
3181
3201
|
*/
|
|
3182
3202
|
maxHeight?: string | number;
|
|
3203
|
+
/**
|
|
3204
|
+
* Table layout algorithm
|
|
3205
|
+
* @default 'auto'
|
|
3206
|
+
*/
|
|
3207
|
+
tableLayout?: 'auto' | 'fixed';
|
|
3183
3208
|
}
|
|
3184
3209
|
|
|
3185
3210
|
/**
|
|
@@ -4095,95 +4120,22 @@ interface TimelineProps {
|
|
|
4095
4120
|
className?: string;
|
|
4096
4121
|
}
|
|
4097
4122
|
|
|
4098
|
-
/**
|
|
4099
|
-
* Timeline component utilities
|
|
4100
|
-
* Shared styles and helpers for Timeline components
|
|
4101
|
-
*/
|
|
4102
|
-
|
|
4103
|
-
/**
|
|
4104
|
-
* Base timeline container classes
|
|
4105
|
-
*/
|
|
4106
4123
|
declare const timelineContainerClasses = "relative";
|
|
4107
|
-
/**
|
|
4108
|
-
* Timeline list classes
|
|
4109
|
-
*/
|
|
4110
4124
|
declare const timelineListClasses = "list-none m-0 p-0";
|
|
4111
|
-
|
|
4112
|
-
* Timeline item base classes
|
|
4113
|
-
*/
|
|
4114
|
-
declare const timelineItemClasses = "relative pb-8 last:pb-0";
|
|
4115
|
-
/**
|
|
4116
|
-
* Timeline item tail (connector line) classes
|
|
4117
|
-
*/
|
|
4125
|
+
declare const timelineItemClasses = "relative pb-8";
|
|
4118
4126
|
declare const timelineTailClasses = "absolute w-0.5 bg-[var(--tiger-border,#e5e7eb)]";
|
|
4119
|
-
|
|
4120
|
-
* Timeline item head (dot container) classes
|
|
4121
|
-
*/
|
|
4122
|
-
declare const timelineHeadClasses = "absolute flex items-center justify-center";
|
|
4123
|
-
declare const timelineDotClasses = "w-2.5 h-2.5 rounded-full border-2 border-[var(--tiger-surface,#ffffff)] bg-[var(--tiger-timeline-dot,#d1d5db)]";
|
|
4124
|
-
/**
|
|
4125
|
-
* Timeline custom dot classes
|
|
4126
|
-
*/
|
|
4127
|
-
declare const timelineCustomDotClasses = "flex items-center justify-center";
|
|
4128
|
-
/**
|
|
4129
|
-
* Timeline content wrapper classes
|
|
4130
|
-
*/
|
|
4127
|
+
declare const timelineHeadClasses = "absolute z-10 flex items-center justify-center";
|
|
4131
4128
|
declare const timelineContentClasses = "relative";
|
|
4132
|
-
|
|
4133
|
-
* Timeline label classes
|
|
4134
|
-
*/
|
|
4129
|
+
declare const timelineCustomDotClasses = "flex items-center justify-center";
|
|
4135
4130
|
declare const timelineLabelClasses = "text-sm text-[var(--tiger-text-muted,#6b7280)] mb-1";
|
|
4136
|
-
/**
|
|
4137
|
-
* Timeline description classes
|
|
4138
|
-
*/
|
|
4139
4131
|
declare const timelineDescriptionClasses = "text-[var(--tiger-text,#374151)]";
|
|
4140
|
-
|
|
4141
|
-
* Get timeline container classes based on mode
|
|
4142
|
-
* @param mode - Timeline mode (left, right, alternate)
|
|
4143
|
-
* @returns Combined class string for timeline container
|
|
4144
|
-
*/
|
|
4132
|
+
declare const timelineDotClasses = "w-2.5 h-2.5 rounded-full border-2 border-[var(--tiger-surface,#ffffff)] bg-[var(--tiger-timeline-dot,#d1d5db)]";
|
|
4145
4133
|
declare function getTimelineContainerClasses(mode: TimelineMode): string;
|
|
4146
|
-
/**
|
|
4147
|
-
* Get timeline item classes based on mode and position
|
|
4148
|
-
* @param mode - Timeline mode
|
|
4149
|
-
* @param position - Item position (for alternate mode)
|
|
4150
|
-
* @param isLast - Whether this is the last item
|
|
4151
|
-
* @returns Combined class string for timeline item
|
|
4152
|
-
*/
|
|
4153
4134
|
declare function getTimelineItemClasses(mode: TimelineMode, position?: TimelineItemPosition, isLast?: boolean): string;
|
|
4154
|
-
|
|
4155
|
-
* Get timeline tail (connector line) classes
|
|
4156
|
-
* @param mode - Timeline mode
|
|
4157
|
-
* @param position - Item position (for alternate mode)
|
|
4158
|
-
* @param isLast - Whether this is the last item
|
|
4159
|
-
* @returns Combined class string for timeline tail
|
|
4160
|
-
*/
|
|
4161
|
-
declare function getTimelineTailClasses(mode: TimelineMode, position?: TimelineItemPosition, isLast?: boolean): string;
|
|
4162
|
-
/**
|
|
4163
|
-
* Get timeline head (dot container) classes
|
|
4164
|
-
* @param mode - Timeline mode
|
|
4165
|
-
* @param _position - Item position (for alternate mode) - not currently used as head is always centered in alternate mode
|
|
4166
|
-
* @returns Combined class string for timeline head
|
|
4167
|
-
*/
|
|
4135
|
+
declare function getTimelineTailClasses(mode: TimelineMode, _position?: TimelineItemPosition, isLast?: boolean): string;
|
|
4168
4136
|
declare function getTimelineHeadClasses(mode: TimelineMode, _position?: TimelineItemPosition): string;
|
|
4169
|
-
/**
|
|
4170
|
-
* Get timeline dot classes with custom color
|
|
4171
|
-
* @param color - Custom color (CSS color value)
|
|
4172
|
-
* @param isCustom - Whether using custom dot content
|
|
4173
|
-
* @returns Combined class string for timeline dot
|
|
4174
|
-
*/
|
|
4175
4137
|
declare function getTimelineDotClasses(color?: string, isCustom?: boolean): string;
|
|
4176
|
-
/**
|
|
4177
|
-
* Get timeline content classes based on mode and position
|
|
4178
|
-
* @param mode - Timeline mode
|
|
4179
|
-
* @param position - Item position (for alternate mode)
|
|
4180
|
-
* @returns Combined class string for timeline content
|
|
4181
|
-
*/
|
|
4182
4138
|
declare function getTimelineContentClasses(mode: TimelineMode, position?: TimelineItemPosition): string;
|
|
4183
|
-
/**
|
|
4184
|
-
* Get pending dot classes
|
|
4185
|
-
* @returns Class string for pending state dot
|
|
4186
|
-
*/
|
|
4187
4139
|
declare function getPendingDotClasses(): string;
|
|
4188
4140
|
|
|
4189
4141
|
/**
|
|
@@ -7183,8 +7135,8 @@ interface IconProps {
|
|
|
7183
7135
|
size?: IconSize;
|
|
7184
7136
|
/**
|
|
7185
7137
|
* Icon color
|
|
7186
|
-
* Uses
|
|
7187
|
-
* @example '
|
|
7138
|
+
* Uses CSS color value
|
|
7139
|
+
* @example '#2563eb' | 'currentColor'
|
|
7188
7140
|
*/
|
|
7189
7141
|
color?: string;
|
|
7190
7142
|
/**
|
|
@@ -9004,219 +8956,1336 @@ declare const chartInteractiveClasses: {
|
|
|
9004
8956
|
active: string;
|
|
9005
8957
|
};
|
|
9006
8958
|
/**
|
|
9007
|
-
* Chart animation configuration
|
|
8959
|
+
* Chart animation configuration
|
|
8960
|
+
*/
|
|
8961
|
+
interface ChartAnimationConfig {
|
|
8962
|
+
/**
|
|
8963
|
+
* Enable animation
|
|
8964
|
+
* @default false
|
|
8965
|
+
*/
|
|
8966
|
+
animated?: boolean;
|
|
8967
|
+
/**
|
|
8968
|
+
* Animation duration in ms
|
|
8969
|
+
* @default 300
|
|
8970
|
+
*/
|
|
8971
|
+
duration?: number;
|
|
8972
|
+
/**
|
|
8973
|
+
* Animation easing function
|
|
8974
|
+
* @default 'ease-out'
|
|
8975
|
+
*/
|
|
8976
|
+
easing?: 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
8977
|
+
/**
|
|
8978
|
+
* Stagger delay between elements in ms
|
|
8979
|
+
* @default 50
|
|
8980
|
+
*/
|
|
8981
|
+
stagger?: number;
|
|
8982
|
+
}
|
|
8983
|
+
/**
|
|
8984
|
+
* Get CSS transition style for chart animation
|
|
8985
|
+
*/
|
|
8986
|
+
declare function getChartAnimationStyle(config: ChartAnimationConfig, index?: number): string;
|
|
8987
|
+
/**
|
|
8988
|
+
* Get SVG transform for entrance animation
|
|
8989
|
+
*/
|
|
8990
|
+
declare function getChartEntranceTransform(type: 'scale' | 'slide-up' | 'slide-left' | 'fade', progress: number, options?: {
|
|
8991
|
+
originX?: number;
|
|
8992
|
+
originY?: number;
|
|
8993
|
+
}): string;
|
|
8994
|
+
|
|
8995
|
+
/**
|
|
8996
|
+
* Floating UI wrapper utilities for positioning popups, tooltips, and dropdowns.
|
|
8997
|
+
* Provides edge-aware positioning with automatic collision detection and flipping.
|
|
8998
|
+
*/
|
|
8999
|
+
|
|
9000
|
+
/**
|
|
9001
|
+
* Placement options supported by the floating system.
|
|
9002
|
+
* These map directly to Floating UI placements.
|
|
9003
|
+
*/
|
|
9004
|
+
type FloatingPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
9005
|
+
/**
|
|
9006
|
+
* Options for computing floating element position.
|
|
9007
|
+
*/
|
|
9008
|
+
interface FloatingOptions {
|
|
9009
|
+
/**
|
|
9010
|
+
* Preferred placement of the floating element relative to the reference.
|
|
9011
|
+
* @default 'bottom'
|
|
9012
|
+
*/
|
|
9013
|
+
placement?: FloatingPlacement;
|
|
9014
|
+
/**
|
|
9015
|
+
* Distance (in pixels) between reference and floating element.
|
|
9016
|
+
* @default 8
|
|
9017
|
+
*/
|
|
9018
|
+
offset?: number;
|
|
9019
|
+
/**
|
|
9020
|
+
* Whether to flip placement when there's not enough space.
|
|
9021
|
+
* @default true
|
|
9022
|
+
*/
|
|
9023
|
+
flip?: boolean;
|
|
9024
|
+
/**
|
|
9025
|
+
* Whether to shift the floating element to stay within viewport.
|
|
9026
|
+
* @default true
|
|
9027
|
+
*/
|
|
9028
|
+
shift?: boolean;
|
|
9029
|
+
/**
|
|
9030
|
+
* Padding from viewport edges when shifting.
|
|
9031
|
+
* @default 8
|
|
9032
|
+
*/
|
|
9033
|
+
shiftPadding?: number;
|
|
9034
|
+
/**
|
|
9035
|
+
* Arrow element for positioning the arrow indicator.
|
|
9036
|
+
*/
|
|
9037
|
+
arrowElement?: HTMLElement | null;
|
|
9038
|
+
/**
|
|
9039
|
+
* Arrow padding from edges.
|
|
9040
|
+
* @default 8
|
|
9041
|
+
*/
|
|
9042
|
+
arrowPadding?: number;
|
|
9043
|
+
}
|
|
9044
|
+
/**
|
|
9045
|
+
* Result of computing floating position.
|
|
9046
|
+
*/
|
|
9047
|
+
interface FloatingResult {
|
|
9048
|
+
/**
|
|
9049
|
+
* X coordinate to position the floating element.
|
|
9050
|
+
*/
|
|
9051
|
+
x: number;
|
|
9052
|
+
/**
|
|
9053
|
+
* Y coordinate to position the floating element.
|
|
9054
|
+
*/
|
|
9055
|
+
y: number;
|
|
9056
|
+
/**
|
|
9057
|
+
* Final placement after auto-positioning (may differ from requested).
|
|
9058
|
+
*/
|
|
9059
|
+
placement: FloatingPlacement;
|
|
9060
|
+
/**
|
|
9061
|
+
* Arrow position data (if arrow element was provided).
|
|
9062
|
+
*/
|
|
9063
|
+
arrow?: {
|
|
9064
|
+
x?: number;
|
|
9065
|
+
y?: number;
|
|
9066
|
+
};
|
|
9067
|
+
/**
|
|
9068
|
+
* Middleware data from Floating UI.
|
|
9069
|
+
*/
|
|
9070
|
+
middlewareData: MiddlewareData;
|
|
9071
|
+
}
|
|
9072
|
+
/**
|
|
9073
|
+
* Compute the position of a floating element relative to a reference element.
|
|
9074
|
+
* Uses Floating UI for edge-aware positioning with automatic collision detection.
|
|
9075
|
+
*
|
|
9076
|
+
* @param reference - The reference element (trigger)
|
|
9077
|
+
* @param floating - The floating element (popup/tooltip)
|
|
9078
|
+
* @param options - Positioning options
|
|
9079
|
+
* @returns Promise resolving to position data
|
|
9080
|
+
*
|
|
9081
|
+
* @example
|
|
9082
|
+
* ```ts
|
|
9083
|
+
* const { x, y, placement } = await computeFloatingPosition(
|
|
9084
|
+
* triggerEl,
|
|
9085
|
+
* tooltipEl,
|
|
9086
|
+
* { placement: 'top', offset: 8 }
|
|
9087
|
+
* )
|
|
9088
|
+
* tooltipEl.style.left = `${x}px`
|
|
9089
|
+
* tooltipEl.style.top = `${y}px`
|
|
9090
|
+
* ```
|
|
9091
|
+
*/
|
|
9092
|
+
declare function computeFloatingPosition(reference: HTMLElement, floating: HTMLElement, options?: FloatingOptions): Promise<FloatingResult>;
|
|
9093
|
+
/**
|
|
9094
|
+
* Cleanup function type returned by autoUpdateFloating.
|
|
9095
|
+
*/
|
|
9096
|
+
type FloatingCleanup = () => void;
|
|
9097
|
+
/**
|
|
9098
|
+
* Set up automatic position updates for a floating element.
|
|
9099
|
+
* Updates position when reference/floating elements resize, scroll, or when
|
|
9100
|
+
* the reference moves in the viewport.
|
|
9101
|
+
*
|
|
9102
|
+
* @param reference - The reference element (trigger)
|
|
9103
|
+
* @param floating - The floating element (popup/tooltip)
|
|
9104
|
+
* @param update - Callback to run when position should be updated
|
|
9105
|
+
* @returns Cleanup function to stop auto-updates
|
|
9106
|
+
*
|
|
9107
|
+
* @example
|
|
9108
|
+
* ```ts
|
|
9109
|
+
* const cleanup = autoUpdateFloating(triggerEl, tooltipEl, async () => {
|
|
9110
|
+
* const { x, y } = await computeFloatingPosition(triggerEl, tooltipEl)
|
|
9111
|
+
* tooltipEl.style.left = `${x}px`
|
|
9112
|
+
* tooltipEl.style.top = `${y}px`
|
|
9113
|
+
* })
|
|
9114
|
+
*
|
|
9115
|
+
* // Later, when unmounting:
|
|
9116
|
+
* cleanup()
|
|
9117
|
+
* ```
|
|
9118
|
+
*/
|
|
9119
|
+
declare function autoUpdateFloating(reference: HTMLElement, floating: HTMLElement, update: () => void): FloatingCleanup;
|
|
9120
|
+
/**
|
|
9121
|
+
* Get CSS transform origin based on placement.
|
|
9122
|
+
* Useful for scaling/fading animations that should originate from the reference.
|
|
9123
|
+
*
|
|
9124
|
+
* @param placement - Current placement of the floating element
|
|
9125
|
+
* @returns CSS transform-origin value
|
|
9126
|
+
*
|
|
9127
|
+
* @example
|
|
9128
|
+
* ```ts
|
|
9129
|
+
* tooltipEl.style.transformOrigin = getTransformOrigin('top')
|
|
9130
|
+
* // Returns 'bottom center'
|
|
9131
|
+
* ```
|
|
9132
|
+
*/
|
|
9133
|
+
declare function getTransformOrigin(placement: FloatingPlacement): string;
|
|
9134
|
+
/**
|
|
9135
|
+
* Get the side of the reference element where the floating element is placed.
|
|
9136
|
+
*
|
|
9137
|
+
* @param placement - Current placement
|
|
9138
|
+
* @returns The side: 'top', 'bottom', 'left', or 'right'
|
|
9139
|
+
*/
|
|
9140
|
+
declare function getPlacementSide(placement: FloatingPlacement): 'top' | 'bottom' | 'left' | 'right';
|
|
9141
|
+
/**
|
|
9142
|
+
* Get arrow positioning styles based on placement and arrow data.
|
|
9143
|
+
*
|
|
9144
|
+
* @param placement - Current placement of the floating element
|
|
9145
|
+
* @param arrowData - Arrow position data from computeFloatingPosition
|
|
9146
|
+
* @returns CSS styles object for the arrow element
|
|
9147
|
+
*
|
|
9148
|
+
* @example
|
|
9149
|
+
* ```ts
|
|
9150
|
+
* const arrowStyles = getArrowStyles('top', result.arrow)
|
|
9151
|
+
* Object.assign(arrowEl.style, arrowStyles)
|
|
9152
|
+
* ```
|
|
9153
|
+
*/
|
|
9154
|
+
declare function getArrowStyles(placement: FloatingPlacement, arrowData?: {
|
|
9155
|
+
x?: number;
|
|
9156
|
+
y?: number;
|
|
9157
|
+
}): Record<string, string>;
|
|
9158
|
+
/**
|
|
9159
|
+
* Apply floating position to an element's style.
|
|
9160
|
+
* Convenience function that sets left/top CSS properties.
|
|
9161
|
+
*
|
|
9162
|
+
* @param element - The floating element to position
|
|
9163
|
+
* @param result - Position result from computeFloatingPosition
|
|
9164
|
+
*
|
|
9165
|
+
* @example
|
|
9166
|
+
* ```ts
|
|
9167
|
+
* const result = await computeFloatingPosition(trigger, tooltip)
|
|
9168
|
+
* applyFloatingStyles(tooltip, result)
|
|
9169
|
+
* ```
|
|
9170
|
+
*/
|
|
9171
|
+
declare function applyFloatingStyles(element: HTMLElement, result: FloatingResult): void;
|
|
9172
|
+
|
|
9173
|
+
/**
|
|
9174
|
+
* Tag component types and interfaces
|
|
9175
|
+
*/
|
|
9176
|
+
/**
|
|
9177
|
+
* Tag variant types
|
|
9178
|
+
*/
|
|
9179
|
+
type TagVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
9180
|
+
/**
|
|
9181
|
+
* Tag size types
|
|
9182
|
+
*/
|
|
9183
|
+
type TagSize = 'sm' | 'md' | 'lg';
|
|
9184
|
+
/**
|
|
9185
|
+
* Base tag props interface
|
|
9186
|
+
*/
|
|
9187
|
+
interface TagProps {
|
|
9188
|
+
/**
|
|
9189
|
+
* Tag variant style
|
|
9190
|
+
* @default 'default'
|
|
9191
|
+
*/
|
|
9192
|
+
variant?: TagVariant;
|
|
9193
|
+
/**
|
|
9194
|
+
* Tag size
|
|
9195
|
+
* @default 'md'
|
|
9196
|
+
*/
|
|
9197
|
+
size?: TagSize;
|
|
9198
|
+
/**
|
|
9199
|
+
* Whether the tag can be closed
|
|
9200
|
+
* @default false
|
|
9201
|
+
*/
|
|
9202
|
+
closable?: boolean;
|
|
9203
|
+
/**
|
|
9204
|
+
* Accessible label for the close button (when `closable` is true)
|
|
9205
|
+
* @default 'Close tag'
|
|
9206
|
+
*/
|
|
9207
|
+
closeAriaLabel?: string;
|
|
9208
|
+
}
|
|
9209
|
+
|
|
9210
|
+
/**
|
|
9211
|
+
* Composite component types and interfaces
|
|
9212
|
+
*/
|
|
9213
|
+
|
|
9214
|
+
/**
|
|
9215
|
+
* Chat message direction
|
|
9216
|
+
*/
|
|
9217
|
+
type ChatMessageDirection = 'self' | 'other';
|
|
9218
|
+
/**
|
|
9219
|
+
* Chat message delivery status
|
|
9220
|
+
*/
|
|
9221
|
+
type ChatMessageStatus = 'sending' | 'sent' | 'failed';
|
|
9222
|
+
/**
|
|
9223
|
+
* Chat user info
|
|
9224
|
+
*/
|
|
9225
|
+
interface ChatUser {
|
|
9226
|
+
/**
|
|
9227
|
+
* User id
|
|
9228
|
+
*/
|
|
9229
|
+
id?: string | number;
|
|
9230
|
+
/**
|
|
9231
|
+
* Display name
|
|
9232
|
+
*/
|
|
9233
|
+
name?: string;
|
|
9234
|
+
/**
|
|
9235
|
+
* Avatar image url
|
|
9236
|
+
*/
|
|
9237
|
+
avatar?: string;
|
|
9238
|
+
}
|
|
9239
|
+
/**
|
|
9240
|
+
* Chat message definition
|
|
9241
|
+
*/
|
|
9242
|
+
interface ChatMessage {
|
|
9243
|
+
/**
|
|
9244
|
+
* Unique message id
|
|
9245
|
+
*/
|
|
9246
|
+
id: string | number;
|
|
9247
|
+
/**
|
|
9248
|
+
* Message content
|
|
9249
|
+
*/
|
|
9250
|
+
content: string | number;
|
|
9251
|
+
/**
|
|
9252
|
+
* Message direction
|
|
9253
|
+
* @default 'other'
|
|
9254
|
+
*/
|
|
9255
|
+
direction?: ChatMessageDirection;
|
|
9256
|
+
/**
|
|
9257
|
+
* Sender user
|
|
9258
|
+
*/
|
|
9259
|
+
user?: ChatUser;
|
|
9260
|
+
/**
|
|
9261
|
+
* Message time
|
|
9262
|
+
*/
|
|
9263
|
+
time?: string | number | Date;
|
|
9264
|
+
/**
|
|
9265
|
+
* Message delivery status
|
|
9266
|
+
*/
|
|
9267
|
+
status?: ChatMessageStatus;
|
|
9268
|
+
/**
|
|
9269
|
+
* Custom status text (overrides default label)
|
|
9270
|
+
*/
|
|
9271
|
+
statusText?: string;
|
|
9272
|
+
/**
|
|
9273
|
+
* Custom metadata
|
|
9274
|
+
*/
|
|
9275
|
+
meta?: Record<string, unknown>;
|
|
9276
|
+
/**
|
|
9277
|
+
* Custom data
|
|
9278
|
+
*/
|
|
9279
|
+
[key: string]: unknown;
|
|
9280
|
+
}
|
|
9281
|
+
/**
|
|
9282
|
+
* Chat window props interface
|
|
9283
|
+
*/
|
|
9284
|
+
interface ChatWindowProps {
|
|
9285
|
+
/**
|
|
9286
|
+
* Message list
|
|
9287
|
+
*/
|
|
9288
|
+
messages?: ChatMessage[];
|
|
9289
|
+
/**
|
|
9290
|
+
* Input value (controlled)
|
|
9291
|
+
*/
|
|
9292
|
+
value?: string;
|
|
9293
|
+
/**
|
|
9294
|
+
* Default input value (uncontrolled)
|
|
9295
|
+
*/
|
|
9296
|
+
defaultValue?: string;
|
|
9297
|
+
/**
|
|
9298
|
+
* Input placeholder
|
|
9299
|
+
*/
|
|
9300
|
+
placeholder?: string;
|
|
9301
|
+
/**
|
|
9302
|
+
* Whether the input is disabled
|
|
9303
|
+
* @default false
|
|
9304
|
+
*/
|
|
9305
|
+
disabled?: boolean;
|
|
9306
|
+
/**
|
|
9307
|
+
* Maximum length of input
|
|
9308
|
+
*/
|
|
9309
|
+
maxLength?: number;
|
|
9310
|
+
/**
|
|
9311
|
+
* Empty state text
|
|
9312
|
+
*/
|
|
9313
|
+
emptyText?: string;
|
|
9314
|
+
/**
|
|
9315
|
+
* Send button text
|
|
9316
|
+
*/
|
|
9317
|
+
sendText?: string;
|
|
9318
|
+
/**
|
|
9319
|
+
* Aria label for message list container
|
|
9320
|
+
*/
|
|
9321
|
+
messageListAriaLabel?: string;
|
|
9322
|
+
/**
|
|
9323
|
+
* Aria label for input
|
|
9324
|
+
*/
|
|
9325
|
+
inputAriaLabel?: string;
|
|
9326
|
+
/**
|
|
9327
|
+
* Aria label for send button
|
|
9328
|
+
*/
|
|
9329
|
+
sendAriaLabel?: string;
|
|
9330
|
+
/**
|
|
9331
|
+
* Status bar text (e.g. typing, delivered)
|
|
9332
|
+
*/
|
|
9333
|
+
statusText?: string;
|
|
9334
|
+
/**
|
|
9335
|
+
* Status bar variant
|
|
9336
|
+
* @default 'info'
|
|
9337
|
+
*/
|
|
9338
|
+
statusVariant?: BadgeVariant;
|
|
9339
|
+
/**
|
|
9340
|
+
* Show avatar in message item
|
|
9341
|
+
* @default true
|
|
9342
|
+
*/
|
|
9343
|
+
showAvatar?: boolean;
|
|
9344
|
+
/**
|
|
9345
|
+
* Show user name in message item
|
|
9346
|
+
* @default true
|
|
9347
|
+
*/
|
|
9348
|
+
showName?: boolean;
|
|
9349
|
+
/**
|
|
9350
|
+
* Show time in message item
|
|
9351
|
+
* @default false
|
|
9352
|
+
*/
|
|
9353
|
+
showTime?: boolean;
|
|
9354
|
+
/**
|
|
9355
|
+
* Input type
|
|
9356
|
+
* @default 'textarea'
|
|
9357
|
+
*/
|
|
9358
|
+
inputType?: 'input' | 'textarea';
|
|
9359
|
+
/**
|
|
9360
|
+
* Textarea rows
|
|
9361
|
+
* @default 3
|
|
9362
|
+
*/
|
|
9363
|
+
inputRows?: number;
|
|
9364
|
+
/**
|
|
9365
|
+
* Send on Enter
|
|
9366
|
+
* @default true
|
|
9367
|
+
*/
|
|
9368
|
+
sendOnEnter?: boolean;
|
|
9369
|
+
/**
|
|
9370
|
+
* Allow Shift+Enter to create new line
|
|
9371
|
+
* @default true
|
|
9372
|
+
*/
|
|
9373
|
+
allowShiftEnter?: boolean;
|
|
9374
|
+
/**
|
|
9375
|
+
* Allow sending empty content
|
|
9376
|
+
* @default false
|
|
9377
|
+
*/
|
|
9378
|
+
allowEmpty?: boolean;
|
|
9379
|
+
/**
|
|
9380
|
+
* Clear input after send
|
|
9381
|
+
* @default true
|
|
9382
|
+
*/
|
|
9383
|
+
clearOnSend?: boolean;
|
|
9384
|
+
/**
|
|
9385
|
+
* Input change callback
|
|
9386
|
+
*/
|
|
9387
|
+
onChange?: (value: string) => void;
|
|
9388
|
+
/**
|
|
9389
|
+
* Send callback
|
|
9390
|
+
*/
|
|
9391
|
+
onSend?: (value: string) => void;
|
|
9392
|
+
}
|
|
9393
|
+
/**
|
|
9394
|
+
* Activity user info
|
|
9395
|
+
*/
|
|
9396
|
+
interface ActivityUser {
|
|
9397
|
+
/**
|
|
9398
|
+
* User id
|
|
9399
|
+
*/
|
|
9400
|
+
id?: string | number;
|
|
9401
|
+
/**
|
|
9402
|
+
* Display name
|
|
9403
|
+
*/
|
|
9404
|
+
name?: string;
|
|
9405
|
+
/**
|
|
9406
|
+
* Avatar image url
|
|
9407
|
+
*/
|
|
9408
|
+
avatar?: string;
|
|
9409
|
+
}
|
|
9410
|
+
/**
|
|
9411
|
+
* Activity status tag
|
|
9412
|
+
*/
|
|
9413
|
+
interface ActivityStatusTag {
|
|
9414
|
+
/**
|
|
9415
|
+
* Status label
|
|
9416
|
+
*/
|
|
9417
|
+
label: string;
|
|
9418
|
+
/**
|
|
9419
|
+
* Tag variant
|
|
9420
|
+
* @default 'default'
|
|
9421
|
+
*/
|
|
9422
|
+
variant?: TagVariant;
|
|
9423
|
+
}
|
|
9424
|
+
/**
|
|
9425
|
+
* Activity action definition
|
|
9426
|
+
*/
|
|
9427
|
+
interface ActivityAction {
|
|
9428
|
+
/**
|
|
9429
|
+
* Action key
|
|
9430
|
+
*/
|
|
9431
|
+
key?: string | number;
|
|
9432
|
+
/**
|
|
9433
|
+
* Action label
|
|
9434
|
+
*/
|
|
9435
|
+
label: string;
|
|
9436
|
+
/**
|
|
9437
|
+
* Action link
|
|
9438
|
+
*/
|
|
9439
|
+
href?: string;
|
|
9440
|
+
/**
|
|
9441
|
+
* Link target
|
|
9442
|
+
*/
|
|
9443
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
9444
|
+
/**
|
|
9445
|
+
* Whether the action is disabled
|
|
9446
|
+
* @default false
|
|
9447
|
+
*/
|
|
9448
|
+
disabled?: boolean;
|
|
9449
|
+
/**
|
|
9450
|
+
* Click handler
|
|
9451
|
+
*/
|
|
9452
|
+
onClick?: (item: ActivityItem, action: ActivityAction) => void;
|
|
9453
|
+
}
|
|
9454
|
+
/**
|
|
9455
|
+
* Activity item definition
|
|
9456
|
+
*/
|
|
9457
|
+
interface ActivityItem {
|
|
9458
|
+
/**
|
|
9459
|
+
* Unique activity id
|
|
9460
|
+
*/
|
|
9461
|
+
id: string | number;
|
|
9462
|
+
/**
|
|
9463
|
+
* Activity title
|
|
9464
|
+
*/
|
|
9465
|
+
title?: string;
|
|
9466
|
+
/**
|
|
9467
|
+
* Activity description
|
|
9468
|
+
*/
|
|
9469
|
+
description?: string;
|
|
9470
|
+
/**
|
|
9471
|
+
* Activity time
|
|
9472
|
+
*/
|
|
9473
|
+
time?: string | number | Date;
|
|
9474
|
+
/**
|
|
9475
|
+
* Activity user
|
|
9476
|
+
*/
|
|
9477
|
+
user?: ActivityUser;
|
|
9478
|
+
/**
|
|
9479
|
+
* Status tag
|
|
9480
|
+
*/
|
|
9481
|
+
status?: ActivityStatusTag;
|
|
9482
|
+
/**
|
|
9483
|
+
* Actions
|
|
9484
|
+
*/
|
|
9485
|
+
actions?: ActivityAction[];
|
|
9486
|
+
/**
|
|
9487
|
+
* Custom content
|
|
9488
|
+
*/
|
|
9489
|
+
content?: unknown;
|
|
9490
|
+
/**
|
|
9491
|
+
* Custom metadata
|
|
9492
|
+
*/
|
|
9493
|
+
meta?: Record<string, unknown>;
|
|
9494
|
+
/**
|
|
9495
|
+
* Custom data
|
|
9496
|
+
*/
|
|
9497
|
+
[key: string]: unknown;
|
|
9498
|
+
}
|
|
9499
|
+
/**
|
|
9500
|
+
* Activity group definition
|
|
9501
|
+
*/
|
|
9502
|
+
interface ActivityGroup {
|
|
9503
|
+
/**
|
|
9504
|
+
* Unique group key
|
|
9505
|
+
*/
|
|
9506
|
+
key?: string | number;
|
|
9507
|
+
/**
|
|
9508
|
+
* Group title (e.g. date)
|
|
9509
|
+
*/
|
|
9510
|
+
title?: string;
|
|
9511
|
+
/**
|
|
9512
|
+
* Group items
|
|
9513
|
+
*/
|
|
9514
|
+
items: ActivityItem[];
|
|
9515
|
+
}
|
|
9516
|
+
/**
|
|
9517
|
+
* Activity feed props interface
|
|
9518
|
+
*/
|
|
9519
|
+
interface ActivityFeedProps {
|
|
9520
|
+
/**
|
|
9521
|
+
* Activity items (flat list)
|
|
9522
|
+
*/
|
|
9523
|
+
items?: ActivityItem[];
|
|
9524
|
+
/**
|
|
9525
|
+
* Activity groups
|
|
9526
|
+
*/
|
|
9527
|
+
groups?: ActivityGroup[];
|
|
9528
|
+
/**
|
|
9529
|
+
* Group by function (used when `groups` not provided)
|
|
9530
|
+
*/
|
|
9531
|
+
groupBy?: (item: ActivityItem) => string;
|
|
9532
|
+
/**
|
|
9533
|
+
* Optional group order
|
|
9534
|
+
*/
|
|
9535
|
+
groupOrder?: string[];
|
|
9536
|
+
/**
|
|
9537
|
+
* Whether to show loading state
|
|
9538
|
+
* @default false
|
|
9539
|
+
*/
|
|
9540
|
+
loading?: boolean;
|
|
9541
|
+
/**
|
|
9542
|
+
* Loading text
|
|
9543
|
+
*/
|
|
9544
|
+
loadingText?: string;
|
|
9545
|
+
/**
|
|
9546
|
+
* Empty state text
|
|
9547
|
+
*/
|
|
9548
|
+
emptyText?: string;
|
|
9549
|
+
/**
|
|
9550
|
+
* Show avatar
|
|
9551
|
+
* @default true
|
|
9552
|
+
*/
|
|
9553
|
+
showAvatar?: boolean;
|
|
9554
|
+
/**
|
|
9555
|
+
* Show time label
|
|
9556
|
+
* @default true
|
|
9557
|
+
*/
|
|
9558
|
+
showTime?: boolean;
|
|
9559
|
+
/**
|
|
9560
|
+
* Show group title
|
|
9561
|
+
* @default true
|
|
9562
|
+
*/
|
|
9563
|
+
showGroupTitle?: boolean;
|
|
9564
|
+
/**
|
|
9565
|
+
* Custom render for activity item
|
|
9566
|
+
*/
|
|
9567
|
+
renderItem?: (item: ActivityItem, index: number, group?: ActivityGroup) => unknown;
|
|
9568
|
+
/**
|
|
9569
|
+
* Custom render for group header
|
|
9570
|
+
*/
|
|
9571
|
+
renderGroupHeader?: (group: ActivityGroup) => unknown;
|
|
9572
|
+
}
|
|
9573
|
+
/**
|
|
9574
|
+
* Comment user info
|
|
9575
|
+
*/
|
|
9576
|
+
interface CommentUser {
|
|
9577
|
+
/**
|
|
9578
|
+
* User id
|
|
9579
|
+
*/
|
|
9580
|
+
id?: string | number;
|
|
9581
|
+
/**
|
|
9582
|
+
* Display name
|
|
9583
|
+
*/
|
|
9584
|
+
name?: string;
|
|
9585
|
+
/**
|
|
9586
|
+
* Avatar image url
|
|
9587
|
+
*/
|
|
9588
|
+
avatar?: string;
|
|
9589
|
+
/**
|
|
9590
|
+
* Optional title or role
|
|
9591
|
+
*/
|
|
9592
|
+
title?: string;
|
|
9593
|
+
}
|
|
9594
|
+
/**
|
|
9595
|
+
* Comment tag definition
|
|
9596
|
+
*/
|
|
9597
|
+
interface CommentTag {
|
|
9598
|
+
/**
|
|
9599
|
+
* Tag label
|
|
9600
|
+
*/
|
|
9601
|
+
label: string;
|
|
9602
|
+
/**
|
|
9603
|
+
* Tag variant
|
|
9604
|
+
* @default 'default'
|
|
9605
|
+
*/
|
|
9606
|
+
variant?: TagVariant;
|
|
9607
|
+
}
|
|
9608
|
+
/**
|
|
9609
|
+
* Comment action definition
|
|
9610
|
+
*/
|
|
9611
|
+
interface CommentAction {
|
|
9612
|
+
/**
|
|
9613
|
+
* Action key
|
|
9614
|
+
*/
|
|
9615
|
+
key?: string | number;
|
|
9616
|
+
/**
|
|
9617
|
+
* Action label
|
|
9618
|
+
*/
|
|
9619
|
+
label: string;
|
|
9620
|
+
/**
|
|
9621
|
+
* Button variant
|
|
9622
|
+
* @default 'ghost'
|
|
9623
|
+
*/
|
|
9624
|
+
variant?: ButtonVariant;
|
|
9625
|
+
/**
|
|
9626
|
+
* Whether the action is disabled
|
|
9627
|
+
* @default false
|
|
9628
|
+
*/
|
|
9629
|
+
disabled?: boolean;
|
|
9630
|
+
/**
|
|
9631
|
+
* Click handler
|
|
9632
|
+
*/
|
|
9633
|
+
onClick?: (node: CommentNode, action: CommentAction) => void;
|
|
9634
|
+
}
|
|
9635
|
+
/**
|
|
9636
|
+
* Comment node definition
|
|
9637
|
+
*/
|
|
9638
|
+
interface CommentNode {
|
|
9639
|
+
/**
|
|
9640
|
+
* Unique comment id
|
|
9641
|
+
*/
|
|
9642
|
+
id: string | number;
|
|
9643
|
+
/**
|
|
9644
|
+
* Parent id (flat data)
|
|
9645
|
+
*/
|
|
9646
|
+
parentId?: string | number;
|
|
9647
|
+
/**
|
|
9648
|
+
* Comment content
|
|
9649
|
+
*/
|
|
9650
|
+
content: string | number;
|
|
9651
|
+
/**
|
|
9652
|
+
* Comment user
|
|
9653
|
+
*/
|
|
9654
|
+
user?: CommentUser;
|
|
9655
|
+
/**
|
|
9656
|
+
* Comment time
|
|
9657
|
+
*/
|
|
9658
|
+
time?: string | number | Date;
|
|
9659
|
+
/**
|
|
9660
|
+
* Like count
|
|
9661
|
+
*/
|
|
9662
|
+
likes?: number;
|
|
9663
|
+
/**
|
|
9664
|
+
* Whether liked
|
|
9665
|
+
*/
|
|
9666
|
+
liked?: boolean;
|
|
9667
|
+
/**
|
|
9668
|
+
* Single tag
|
|
9669
|
+
*/
|
|
9670
|
+
tag?: CommentTag;
|
|
9671
|
+
/**
|
|
9672
|
+
* Additional tags
|
|
9673
|
+
*/
|
|
9674
|
+
tags?: CommentTag[];
|
|
9675
|
+
/**
|
|
9676
|
+
* Custom actions
|
|
9677
|
+
*/
|
|
9678
|
+
actions?: CommentAction[];
|
|
9679
|
+
/**
|
|
9680
|
+
* Nested replies
|
|
9681
|
+
*/
|
|
9682
|
+
children?: CommentNode[];
|
|
9683
|
+
/**
|
|
9684
|
+
* Custom metadata
|
|
9685
|
+
*/
|
|
9686
|
+
meta?: Record<string, unknown>;
|
|
9687
|
+
/**
|
|
9688
|
+
* Custom data
|
|
9689
|
+
*/
|
|
9690
|
+
[key: string]: unknown;
|
|
9691
|
+
}
|
|
9692
|
+
/**
|
|
9693
|
+
* Comment thread props interface
|
|
9694
|
+
*/
|
|
9695
|
+
interface CommentThreadProps {
|
|
9696
|
+
/**
|
|
9697
|
+
* Comment nodes (tree)
|
|
9698
|
+
*/
|
|
9699
|
+
nodes?: CommentNode[];
|
|
9700
|
+
/**
|
|
9701
|
+
* Comment items (flat list)
|
|
9702
|
+
*/
|
|
9703
|
+
items?: CommentNode[];
|
|
9704
|
+
/**
|
|
9705
|
+
* Maximum nesting depth
|
|
9706
|
+
* @default 3
|
|
9707
|
+
*/
|
|
9708
|
+
maxDepth?: number;
|
|
9709
|
+
/**
|
|
9710
|
+
* Maximum replies to show per node
|
|
9711
|
+
* @default 3
|
|
9712
|
+
*/
|
|
9713
|
+
maxReplies?: number;
|
|
9714
|
+
/**
|
|
9715
|
+
* Default expanded reply keys
|
|
9716
|
+
*/
|
|
9717
|
+
defaultExpandedKeys?: Array<string | number>;
|
|
9718
|
+
/**
|
|
9719
|
+
* Expanded reply keys (controlled)
|
|
9720
|
+
*/
|
|
9721
|
+
expandedKeys?: Array<string | number>;
|
|
9722
|
+
/**
|
|
9723
|
+
* Empty state text
|
|
9724
|
+
*/
|
|
9725
|
+
emptyText?: string;
|
|
9726
|
+
/**
|
|
9727
|
+
* Reply input placeholder
|
|
9728
|
+
*/
|
|
9729
|
+
replyPlaceholder?: string;
|
|
9730
|
+
/**
|
|
9731
|
+
* Reply submit button text
|
|
9732
|
+
*/
|
|
9733
|
+
replyButtonText?: string;
|
|
9734
|
+
/**
|
|
9735
|
+
* Reply cancel button text
|
|
9736
|
+
*/
|
|
9737
|
+
cancelReplyText?: string;
|
|
9738
|
+
/**
|
|
9739
|
+
* Like button text
|
|
9740
|
+
*/
|
|
9741
|
+
likeText?: string;
|
|
9742
|
+
/**
|
|
9743
|
+
* Liked button text
|
|
9744
|
+
*/
|
|
9745
|
+
likedText?: string;
|
|
9746
|
+
/**
|
|
9747
|
+
* Reply action text
|
|
9748
|
+
*/
|
|
9749
|
+
replyText?: string;
|
|
9750
|
+
/**
|
|
9751
|
+
* More action text
|
|
9752
|
+
*/
|
|
9753
|
+
moreText?: string;
|
|
9754
|
+
/**
|
|
9755
|
+
* Load more text
|
|
9756
|
+
*/
|
|
9757
|
+
loadMoreText?: string;
|
|
9758
|
+
/**
|
|
9759
|
+
* Show avatar
|
|
9760
|
+
* @default true
|
|
9761
|
+
*/
|
|
9762
|
+
showAvatar?: boolean;
|
|
9763
|
+
/**
|
|
9764
|
+
* Show divider
|
|
9765
|
+
* @default true
|
|
9766
|
+
*/
|
|
9767
|
+
showDivider?: boolean;
|
|
9768
|
+
/**
|
|
9769
|
+
* Show like action
|
|
9770
|
+
* @default true
|
|
9771
|
+
*/
|
|
9772
|
+
showLike?: boolean;
|
|
9773
|
+
/**
|
|
9774
|
+
* Show reply action
|
|
9775
|
+
* @default true
|
|
9776
|
+
*/
|
|
9777
|
+
showReply?: boolean;
|
|
9778
|
+
/**
|
|
9779
|
+
* Show more action
|
|
9780
|
+
* @default true
|
|
9781
|
+
*/
|
|
9782
|
+
showMore?: boolean;
|
|
9783
|
+
/**
|
|
9784
|
+
* Like callback
|
|
9785
|
+
*/
|
|
9786
|
+
onLike?: (node: CommentNode, liked: boolean) => void;
|
|
9787
|
+
/**
|
|
9788
|
+
* Reply submit callback
|
|
9789
|
+
*/
|
|
9790
|
+
onReply?: (node: CommentNode, value: string) => void;
|
|
9791
|
+
/**
|
|
9792
|
+
* More action callback
|
|
9793
|
+
*/
|
|
9794
|
+
onMore?: (node: CommentNode) => void;
|
|
9795
|
+
/**
|
|
9796
|
+
* Custom action callback
|
|
9797
|
+
*/
|
|
9798
|
+
onAction?: (node: CommentNode, action: CommentAction) => void;
|
|
9799
|
+
/**
|
|
9800
|
+
* Expanded keys change callback
|
|
9801
|
+
*/
|
|
9802
|
+
onExpandedChange?: (keys: Array<string | number>) => void;
|
|
9803
|
+
/**
|
|
9804
|
+
* Load more callback
|
|
9805
|
+
*/
|
|
9806
|
+
onLoadMore?: (node: CommentNode) => void;
|
|
9807
|
+
}
|
|
9808
|
+
/**
|
|
9809
|
+
* Notification read filter
|
|
9810
|
+
*/
|
|
9811
|
+
type NotificationReadFilter = 'all' | 'unread' | 'read';
|
|
9812
|
+
/**
|
|
9813
|
+
* Notification item definition
|
|
9814
|
+
*/
|
|
9815
|
+
interface NotificationItem {
|
|
9816
|
+
/**
|
|
9817
|
+
* Unique notification id
|
|
9818
|
+
*/
|
|
9819
|
+
id: string | number;
|
|
9820
|
+
/**
|
|
9821
|
+
* Notification title
|
|
9822
|
+
*/
|
|
9823
|
+
title: string;
|
|
9824
|
+
/**
|
|
9825
|
+
* Notification description
|
|
9826
|
+
*/
|
|
9827
|
+
description?: string;
|
|
9828
|
+
/**
|
|
9829
|
+
* Notification time
|
|
9830
|
+
*/
|
|
9831
|
+
time?: string | number | Date;
|
|
9832
|
+
/**
|
|
9833
|
+
* Notification type/group key
|
|
9834
|
+
*/
|
|
9835
|
+
type?: string;
|
|
9836
|
+
/**
|
|
9837
|
+
* Whether notification is read
|
|
9838
|
+
*/
|
|
9839
|
+
read?: boolean;
|
|
9840
|
+
/**
|
|
9841
|
+
* Custom metadata
|
|
9842
|
+
*/
|
|
9843
|
+
meta?: Record<string, unknown>;
|
|
9844
|
+
/**
|
|
9845
|
+
* Custom data
|
|
9846
|
+
*/
|
|
9847
|
+
[key: string]: unknown;
|
|
9848
|
+
}
|
|
9849
|
+
/**
|
|
9850
|
+
* Notification group definition
|
|
9851
|
+
*/
|
|
9852
|
+
interface NotificationGroup {
|
|
9853
|
+
/**
|
|
9854
|
+
* Unique group key
|
|
9855
|
+
*/
|
|
9856
|
+
key?: string | number;
|
|
9857
|
+
/**
|
|
9858
|
+
* Group title
|
|
9859
|
+
*/
|
|
9860
|
+
title: string;
|
|
9861
|
+
/**
|
|
9862
|
+
* Group items
|
|
9863
|
+
*/
|
|
9864
|
+
items: NotificationItem[];
|
|
9865
|
+
}
|
|
9866
|
+
/**
|
|
9867
|
+
* Notification center props interface
|
|
9868
|
+
*/
|
|
9869
|
+
interface NotificationCenterProps {
|
|
9870
|
+
/**
|
|
9871
|
+
* Notification items (flat list)
|
|
9872
|
+
*/
|
|
9873
|
+
items?: NotificationItem[];
|
|
9874
|
+
/**
|
|
9875
|
+
* Notification groups
|
|
9876
|
+
*/
|
|
9877
|
+
groups?: NotificationGroup[];
|
|
9878
|
+
/**
|
|
9879
|
+
* Group by function (used when `groups` not provided)
|
|
9880
|
+
*/
|
|
9881
|
+
groupBy?: (item: NotificationItem) => string;
|
|
9882
|
+
/**
|
|
9883
|
+
* Optional group order
|
|
9884
|
+
*/
|
|
9885
|
+
groupOrder?: string[];
|
|
9886
|
+
/**
|
|
9887
|
+
* Active group key (controlled)
|
|
9888
|
+
*/
|
|
9889
|
+
activeGroupKey?: string | number;
|
|
9890
|
+
/**
|
|
9891
|
+
* Default active group key (uncontrolled)
|
|
9892
|
+
*/
|
|
9893
|
+
defaultActiveGroupKey?: string | number;
|
|
9894
|
+
/**
|
|
9895
|
+
* Read filter (controlled)
|
|
9896
|
+
* @default 'all'
|
|
9897
|
+
*/
|
|
9898
|
+
readFilter?: NotificationReadFilter;
|
|
9899
|
+
/**
|
|
9900
|
+
* Default read filter (uncontrolled)
|
|
9901
|
+
* @default 'all'
|
|
9902
|
+
*/
|
|
9903
|
+
defaultReadFilter?: NotificationReadFilter;
|
|
9904
|
+
/**
|
|
9905
|
+
* Loading state
|
|
9906
|
+
* @default false
|
|
9907
|
+
*/
|
|
9908
|
+
loading?: boolean;
|
|
9909
|
+
/**
|
|
9910
|
+
* Loading text
|
|
9911
|
+
*/
|
|
9912
|
+
loadingText?: string;
|
|
9913
|
+
/**
|
|
9914
|
+
* Empty state text
|
|
9915
|
+
*/
|
|
9916
|
+
emptyText?: string;
|
|
9917
|
+
/**
|
|
9918
|
+
* Title text
|
|
9919
|
+
*/
|
|
9920
|
+
title?: string;
|
|
9921
|
+
/**
|
|
9922
|
+
* Label for "all" filter
|
|
9923
|
+
*/
|
|
9924
|
+
allLabel?: string;
|
|
9925
|
+
/**
|
|
9926
|
+
* Label for "unread" filter
|
|
9927
|
+
*/
|
|
9928
|
+
unreadLabel?: string;
|
|
9929
|
+
/**
|
|
9930
|
+
* Label for "read" filter
|
|
9931
|
+
*/
|
|
9932
|
+
readLabel?: string;
|
|
9933
|
+
/**
|
|
9934
|
+
* Mark all as read button text
|
|
9935
|
+
*/
|
|
9936
|
+
markAllReadText?: string;
|
|
9937
|
+
/**
|
|
9938
|
+
* Mark as read button text
|
|
9939
|
+
*/
|
|
9940
|
+
markReadText?: string;
|
|
9941
|
+
/**
|
|
9942
|
+
* Mark as unread button text
|
|
9943
|
+
*/
|
|
9944
|
+
markUnreadText?: string;
|
|
9945
|
+
/**
|
|
9946
|
+
* Group change callback
|
|
9947
|
+
*/
|
|
9948
|
+
onGroupChange?: (key: string | number) => void;
|
|
9949
|
+
/**
|
|
9950
|
+
* Read filter change callback
|
|
9951
|
+
*/
|
|
9952
|
+
onReadFilterChange?: (filter: NotificationReadFilter) => void;
|
|
9953
|
+
/**
|
|
9954
|
+
* Mark all read callback
|
|
9955
|
+
*/
|
|
9956
|
+
onMarkAllRead?: (groupKey: string | number | undefined, items: NotificationItem[]) => void;
|
|
9957
|
+
/**
|
|
9958
|
+
* Item click callback
|
|
9959
|
+
*/
|
|
9960
|
+
onItemClick?: (item: NotificationItem, index: number) => void;
|
|
9961
|
+
/**
|
|
9962
|
+
* Item read change callback
|
|
9963
|
+
*/
|
|
9964
|
+
onItemReadChange?: (item: NotificationItem, read: boolean) => void;
|
|
9965
|
+
/**
|
|
9966
|
+
* Whether to manage read state internally.
|
|
9967
|
+
* When true, the component tracks read/unread state itself,
|
|
9968
|
+
* so you don't need to wire up onItemReadChange / onMarkAllRead handlers.
|
|
9969
|
+
* Callbacks are still fired for external side-effects (e.g. API calls).
|
|
9970
|
+
* @default false
|
|
9971
|
+
*/
|
|
9972
|
+
manageReadState?: boolean;
|
|
9973
|
+
}
|
|
9974
|
+
/**
|
|
9975
|
+
* Toolbar filter value
|
|
9976
|
+
*/
|
|
9977
|
+
type TableToolbarFilterValue = string | number | null;
|
|
9978
|
+
/**
|
|
9979
|
+
* Table toolbar filter definition
|
|
9980
|
+
*/
|
|
9981
|
+
interface TableToolbarFilter {
|
|
9982
|
+
/**
|
|
9983
|
+
* Filter key
|
|
9984
|
+
*/
|
|
9985
|
+
key: string;
|
|
9986
|
+
/**
|
|
9987
|
+
* Filter label
|
|
9988
|
+
*/
|
|
9989
|
+
label: string;
|
|
9990
|
+
/**
|
|
9991
|
+
* Filter options
|
|
9992
|
+
*/
|
|
9993
|
+
options: FilterOption[];
|
|
9994
|
+
/**
|
|
9995
|
+
* Placeholder text for the trigger
|
|
9996
|
+
*/
|
|
9997
|
+
placeholder?: string;
|
|
9998
|
+
/**
|
|
9999
|
+
* Whether the filter can be cleared
|
|
10000
|
+
* @default true
|
|
10001
|
+
*/
|
|
10002
|
+
clearable?: boolean;
|
|
10003
|
+
/**
|
|
10004
|
+
* Label for the clear option
|
|
10005
|
+
* @default '全部'
|
|
10006
|
+
*/
|
|
10007
|
+
clearLabel?: string;
|
|
10008
|
+
/**
|
|
10009
|
+
* Controlled filter value
|
|
10010
|
+
*/
|
|
10011
|
+
value?: TableToolbarFilterValue;
|
|
10012
|
+
/**
|
|
10013
|
+
* Default filter value (uncontrolled)
|
|
10014
|
+
*/
|
|
10015
|
+
defaultValue?: TableToolbarFilterValue;
|
|
10016
|
+
}
|
|
10017
|
+
/**
|
|
10018
|
+
* Table toolbar bulk action
|
|
10019
|
+
*/
|
|
10020
|
+
interface TableToolbarAction {
|
|
10021
|
+
/**
|
|
10022
|
+
* Action key
|
|
10023
|
+
*/
|
|
10024
|
+
key: string | number;
|
|
10025
|
+
/**
|
|
10026
|
+
* Action label
|
|
10027
|
+
*/
|
|
10028
|
+
label: string;
|
|
10029
|
+
/**
|
|
10030
|
+
* Button variant
|
|
10031
|
+
* @default 'outline'
|
|
10032
|
+
*/
|
|
10033
|
+
variant?: ButtonVariant;
|
|
10034
|
+
/**
|
|
10035
|
+
* Whether the action is disabled
|
|
10036
|
+
* @default false
|
|
10037
|
+
*/
|
|
10038
|
+
disabled?: boolean;
|
|
10039
|
+
/**
|
|
10040
|
+
* Click handler
|
|
10041
|
+
*/
|
|
10042
|
+
onClick?: (selectedKeys: (string | number)[]) => void;
|
|
10043
|
+
}
|
|
10044
|
+
/**
|
|
10045
|
+
* Table toolbar props
|
|
10046
|
+
*/
|
|
10047
|
+
interface TableToolbarProps {
|
|
10048
|
+
/**
|
|
10049
|
+
* Search value (controlled)
|
|
10050
|
+
*/
|
|
10051
|
+
searchValue?: string;
|
|
10052
|
+
/**
|
|
10053
|
+
* Default search value (uncontrolled)
|
|
10054
|
+
*/
|
|
10055
|
+
defaultSearchValue?: string;
|
|
10056
|
+
/**
|
|
10057
|
+
* Search input placeholder
|
|
10058
|
+
*/
|
|
10059
|
+
searchPlaceholder?: string;
|
|
10060
|
+
/**
|
|
10061
|
+
* Search button text
|
|
10062
|
+
* @default '搜索'
|
|
10063
|
+
*/
|
|
10064
|
+
searchButtonText?: string;
|
|
10065
|
+
/**
|
|
10066
|
+
* Whether to show search button
|
|
10067
|
+
* @default true
|
|
10068
|
+
*/
|
|
10069
|
+
showSearchButton?: boolean;
|
|
10070
|
+
/**
|
|
10071
|
+
* Search value change callback
|
|
10072
|
+
*/
|
|
10073
|
+
onSearchChange?: (value: string) => void;
|
|
10074
|
+
/**
|
|
10075
|
+
* Search submit callback
|
|
10076
|
+
*/
|
|
10077
|
+
onSearch?: (value: string) => void;
|
|
10078
|
+
/**
|
|
10079
|
+
* Filter definitions
|
|
10080
|
+
*/
|
|
10081
|
+
filters?: TableToolbarFilter[];
|
|
10082
|
+
/**
|
|
10083
|
+
* Filters change callback
|
|
10084
|
+
*/
|
|
10085
|
+
onFiltersChange?: (filters: Record<string, TableToolbarFilterValue>) => void;
|
|
10086
|
+
/**
|
|
10087
|
+
* Bulk actions
|
|
10088
|
+
*/
|
|
10089
|
+
bulkActions?: TableToolbarAction[];
|
|
10090
|
+
/**
|
|
10091
|
+
* Selected row keys
|
|
10092
|
+
*/
|
|
10093
|
+
selectedKeys?: (string | number)[];
|
|
10094
|
+
/**
|
|
10095
|
+
* Selected row count
|
|
10096
|
+
*/
|
|
10097
|
+
selectedCount?: number;
|
|
10098
|
+
/**
|
|
10099
|
+
* Bulk actions label prefix
|
|
10100
|
+
* @default '已选择'
|
|
10101
|
+
*/
|
|
10102
|
+
bulkActionsLabel?: string;
|
|
10103
|
+
/**
|
|
10104
|
+
* Bulk action click callback
|
|
10105
|
+
*/
|
|
10106
|
+
onBulkAction?: (action: TableToolbarAction, selectedKeys: (string | number)[]) => void;
|
|
10107
|
+
}
|
|
10108
|
+
/**
|
|
10109
|
+
* Data table with toolbar props
|
|
10110
|
+
*/
|
|
10111
|
+
interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<TableProps<T>, 'pagination'> {
|
|
10112
|
+
/**
|
|
10113
|
+
* Toolbar configuration
|
|
10114
|
+
*/
|
|
10115
|
+
toolbar?: TableToolbarProps;
|
|
10116
|
+
/**
|
|
10117
|
+
* Pagination configuration
|
|
10118
|
+
* Set to false to disable
|
|
10119
|
+
*/
|
|
10120
|
+
pagination?: PaginationProps | false;
|
|
10121
|
+
/**
|
|
10122
|
+
* Page change callback
|
|
10123
|
+
*/
|
|
10124
|
+
onPageChange?: (current: number, pageSize: number) => void;
|
|
10125
|
+
/**
|
|
10126
|
+
* Page size change callback
|
|
10127
|
+
*/
|
|
10128
|
+
onPageSizeChange?: (current: number, pageSize: number) => void;
|
|
10129
|
+
}
|
|
10130
|
+
/**
|
|
10131
|
+
* Form wizard step definition
|
|
9008
10132
|
*/
|
|
9009
|
-
interface
|
|
10133
|
+
interface WizardStep {
|
|
9010
10134
|
/**
|
|
9011
|
-
*
|
|
9012
|
-
* @default false
|
|
10135
|
+
* Unique step key
|
|
9013
10136
|
*/
|
|
9014
|
-
|
|
10137
|
+
key?: string | number;
|
|
9015
10138
|
/**
|
|
9016
|
-
*
|
|
9017
|
-
* @default 300
|
|
10139
|
+
* Step title
|
|
9018
10140
|
*/
|
|
9019
|
-
|
|
10141
|
+
title: string;
|
|
9020
10142
|
/**
|
|
9021
|
-
*
|
|
9022
|
-
* @default 'ease-out'
|
|
10143
|
+
* Step description
|
|
9023
10144
|
*/
|
|
9024
|
-
|
|
10145
|
+
description?: string;
|
|
9025
10146
|
/**
|
|
9026
|
-
*
|
|
9027
|
-
* @default 50
|
|
10147
|
+
* Step status (overrides automatic status)
|
|
9028
10148
|
*/
|
|
9029
|
-
|
|
10149
|
+
status?: StepStatus;
|
|
10150
|
+
/**
|
|
10151
|
+
* Step icon (optional)
|
|
10152
|
+
*/
|
|
10153
|
+
icon?: unknown;
|
|
10154
|
+
/**
|
|
10155
|
+
* Whether the step is disabled
|
|
10156
|
+
*/
|
|
10157
|
+
disabled?: boolean;
|
|
10158
|
+
/**
|
|
10159
|
+
* Step content (framework-specific)
|
|
10160
|
+
*/
|
|
10161
|
+
content?: unknown;
|
|
10162
|
+
/**
|
|
10163
|
+
* Custom data
|
|
10164
|
+
*/
|
|
10165
|
+
[key: string]: unknown;
|
|
9030
10166
|
}
|
|
9031
10167
|
/**
|
|
9032
|
-
*
|
|
9033
|
-
*/
|
|
9034
|
-
declare function getChartAnimationStyle(config: ChartAnimationConfig, index?: number): string;
|
|
9035
|
-
/**
|
|
9036
|
-
* Get SVG transform for entrance animation
|
|
9037
|
-
*/
|
|
9038
|
-
declare function getChartEntranceTransform(type: 'scale' | 'slide-up' | 'slide-left' | 'fade', progress: number, options?: {
|
|
9039
|
-
originX?: number;
|
|
9040
|
-
originY?: number;
|
|
9041
|
-
}): string;
|
|
9042
|
-
|
|
9043
|
-
/**
|
|
9044
|
-
* Floating UI wrapper utilities for positioning popups, tooltips, and dropdowns.
|
|
9045
|
-
* Provides edge-aware positioning with automatic collision detection and flipping.
|
|
10168
|
+
* Form wizard validation result
|
|
9046
10169
|
*/
|
|
9047
|
-
|
|
10170
|
+
type FormWizardValidateResult = boolean | string;
|
|
9048
10171
|
/**
|
|
9049
|
-
*
|
|
9050
|
-
* These map directly to Floating UI placements.
|
|
10172
|
+
* Form wizard validation callback
|
|
9051
10173
|
*/
|
|
9052
|
-
type
|
|
10174
|
+
type FormWizardValidator = (current: number, step: WizardStep, steps: WizardStep[]) => FormWizardValidateResult | Promise<FormWizardValidateResult>;
|
|
9053
10175
|
/**
|
|
9054
|
-
*
|
|
10176
|
+
* Form wizard props
|
|
9055
10177
|
*/
|
|
9056
|
-
interface
|
|
10178
|
+
interface FormWizardProps {
|
|
9057
10179
|
/**
|
|
9058
|
-
*
|
|
9059
|
-
* @default 'bottom'
|
|
10180
|
+
* Steps configuration
|
|
9060
10181
|
*/
|
|
9061
|
-
|
|
10182
|
+
steps: WizardStep[];
|
|
9062
10183
|
/**
|
|
9063
|
-
*
|
|
9064
|
-
* @default 8
|
|
10184
|
+
* Current step index (0-based)
|
|
9065
10185
|
*/
|
|
9066
|
-
|
|
10186
|
+
current?: number;
|
|
9067
10187
|
/**
|
|
9068
|
-
*
|
|
10188
|
+
* Default step index (uncontrolled)
|
|
10189
|
+
* @default 0
|
|
10190
|
+
*/
|
|
10191
|
+
defaultCurrent?: number;
|
|
10192
|
+
/**
|
|
10193
|
+
* Whether steps are clickable
|
|
10194
|
+
* @default false
|
|
10195
|
+
*/
|
|
10196
|
+
clickable?: boolean;
|
|
10197
|
+
/**
|
|
10198
|
+
* Steps direction
|
|
10199
|
+
* @default 'horizontal'
|
|
10200
|
+
*/
|
|
10201
|
+
direction?: StepsDirection;
|
|
10202
|
+
/**
|
|
10203
|
+
* Steps size
|
|
10204
|
+
* @default 'default'
|
|
10205
|
+
*/
|
|
10206
|
+
size?: StepSize;
|
|
10207
|
+
/**
|
|
10208
|
+
* Whether to use simple steps style
|
|
10209
|
+
* @default false
|
|
10210
|
+
*/
|
|
10211
|
+
simple?: boolean;
|
|
10212
|
+
/**
|
|
10213
|
+
* Whether to show steps header
|
|
9069
10214
|
* @default true
|
|
9070
10215
|
*/
|
|
9071
|
-
|
|
10216
|
+
showSteps?: boolean;
|
|
9072
10217
|
/**
|
|
9073
|
-
* Whether to
|
|
10218
|
+
* Whether to show action buttons
|
|
9074
10219
|
* @default true
|
|
9075
10220
|
*/
|
|
9076
|
-
|
|
10221
|
+
showActions?: boolean;
|
|
9077
10222
|
/**
|
|
9078
|
-
*
|
|
9079
|
-
* @default 8
|
|
10223
|
+
* Previous button text
|
|
9080
10224
|
*/
|
|
9081
|
-
|
|
10225
|
+
prevText?: string;
|
|
9082
10226
|
/**
|
|
9083
|
-
*
|
|
10227
|
+
* Next button text
|
|
9084
10228
|
*/
|
|
9085
|
-
|
|
10229
|
+
nextText?: string;
|
|
9086
10230
|
/**
|
|
9087
|
-
*
|
|
9088
|
-
* @default 8
|
|
10231
|
+
* Finish button text
|
|
9089
10232
|
*/
|
|
9090
|
-
|
|
9091
|
-
}
|
|
9092
|
-
/**
|
|
9093
|
-
* Result of computing floating position.
|
|
9094
|
-
*/
|
|
9095
|
-
interface FloatingResult {
|
|
10233
|
+
finishText?: string;
|
|
9096
10234
|
/**
|
|
9097
|
-
*
|
|
10235
|
+
* Validation hook before moving to next step
|
|
9098
10236
|
*/
|
|
9099
|
-
|
|
10237
|
+
beforeNext?: FormWizardValidator;
|
|
9100
10238
|
/**
|
|
9101
|
-
*
|
|
10239
|
+
* Step change callback
|
|
9102
10240
|
*/
|
|
9103
|
-
|
|
10241
|
+
onChange?: (current: number, prev: number) => void;
|
|
9104
10242
|
/**
|
|
9105
|
-
*
|
|
10243
|
+
* Finish callback
|
|
9106
10244
|
*/
|
|
9107
|
-
|
|
10245
|
+
onFinish?: (current: number, steps: WizardStep[]) => void;
|
|
9108
10246
|
/**
|
|
9109
|
-
*
|
|
10247
|
+
* Additional CSS classes
|
|
9110
10248
|
*/
|
|
9111
|
-
|
|
9112
|
-
x?: number;
|
|
9113
|
-
y?: number;
|
|
9114
|
-
};
|
|
10249
|
+
className?: string;
|
|
9115
10250
|
/**
|
|
9116
|
-
*
|
|
10251
|
+
* Custom styles
|
|
9117
10252
|
*/
|
|
9118
|
-
|
|
10253
|
+
style?: Record<string, unknown>;
|
|
9119
10254
|
}
|
|
10255
|
+
|
|
9120
10256
|
/**
|
|
9121
|
-
*
|
|
9122
|
-
* Uses Floating UI for edge-aware positioning with automatic collision detection.
|
|
9123
|
-
*
|
|
9124
|
-
* @param reference - The reference element (trigger)
|
|
9125
|
-
* @param floating - The floating element (popup/tooltip)
|
|
9126
|
-
* @param options - Positioning options
|
|
9127
|
-
* @returns Promise resolving to position data
|
|
9128
|
-
*
|
|
9129
|
-
* @example
|
|
9130
|
-
* ```ts
|
|
9131
|
-
* const { x, y, placement } = await computeFloatingPosition(
|
|
9132
|
-
* triggerEl,
|
|
9133
|
-
* tooltipEl,
|
|
9134
|
-
* { placement: 'top', offset: 8 }
|
|
9135
|
-
* )
|
|
9136
|
-
* tooltipEl.style.left = `${x}px`
|
|
9137
|
-
* tooltipEl.style.top = `${y}px`
|
|
9138
|
-
* ```
|
|
9139
|
-
*/
|
|
9140
|
-
declare function computeFloatingPosition(reference: HTMLElement, floating: HTMLElement, options?: FloatingOptions): Promise<FloatingResult>;
|
|
9141
|
-
/**
|
|
9142
|
-
* Cleanup function type returned by autoUpdateFloating.
|
|
9143
|
-
*/
|
|
9144
|
-
type FloatingCleanup = () => void;
|
|
9145
|
-
/**
|
|
9146
|
-
* Set up automatic position updates for a floating element.
|
|
9147
|
-
* Updates position when reference/floating elements resize, scroll, or when
|
|
9148
|
-
* the reference moves in the viewport.
|
|
9149
|
-
*
|
|
9150
|
-
* @param reference - The reference element (trigger)
|
|
9151
|
-
* @param floating - The floating element (popup/tooltip)
|
|
9152
|
-
* @param update - Callback to run when position should be updated
|
|
9153
|
-
* @returns Cleanup function to stop auto-updates
|
|
9154
|
-
*
|
|
9155
|
-
* @example
|
|
9156
|
-
* ```ts
|
|
9157
|
-
* const cleanup = autoUpdateFloating(triggerEl, tooltipEl, async () => {
|
|
9158
|
-
* const { x, y } = await computeFloatingPosition(triggerEl, tooltipEl)
|
|
9159
|
-
* tooltipEl.style.left = `${x}px`
|
|
9160
|
-
* tooltipEl.style.top = `${y}px`
|
|
9161
|
-
* })
|
|
9162
|
-
*
|
|
9163
|
-
* // Later, when unmounting:
|
|
9164
|
-
* cleanup()
|
|
9165
|
-
* ```
|
|
9166
|
-
*/
|
|
9167
|
-
declare function autoUpdateFloating(reference: HTMLElement, floating: HTMLElement, update: () => void): FloatingCleanup;
|
|
9168
|
-
/**
|
|
9169
|
-
* Get CSS transform origin based on placement.
|
|
9170
|
-
* Useful for scaling/fading animations that should originate from the reference.
|
|
9171
|
-
*
|
|
9172
|
-
* @param placement - Current placement of the floating element
|
|
9173
|
-
* @returns CSS transform-origin value
|
|
9174
|
-
*
|
|
9175
|
-
* @example
|
|
9176
|
-
* ```ts
|
|
9177
|
-
* tooltipEl.style.transformOrigin = getTransformOrigin('top')
|
|
9178
|
-
* // Returns 'bottom center'
|
|
9179
|
-
* ```
|
|
9180
|
-
*/
|
|
9181
|
-
declare function getTransformOrigin(placement: FloatingPlacement): string;
|
|
9182
|
-
/**
|
|
9183
|
-
* Get the side of the reference element where the floating element is placed.
|
|
9184
|
-
*
|
|
9185
|
-
* @param placement - Current placement
|
|
9186
|
-
* @returns The side: 'top', 'bottom', 'left', or 'right'
|
|
10257
|
+
* ChatWindow component utilities
|
|
9187
10258
|
*/
|
|
9188
|
-
|
|
10259
|
+
|
|
10260
|
+
interface ChatMessageStatusInfo {
|
|
10261
|
+
text: string;
|
|
10262
|
+
className: string;
|
|
10263
|
+
}
|
|
10264
|
+
declare const defaultChatMessageStatusInfo: Record<ChatMessageStatus, ChatMessageStatusInfo>;
|
|
10265
|
+
declare function getChatMessageStatusInfo(status: ChatMessageStatus, statusMap?: Record<ChatMessageStatus, ChatMessageStatusInfo>): ChatMessageStatusInfo;
|
|
10266
|
+
|
|
10267
|
+
declare const formatActivityTime: (value?: string | number | Date) => string;
|
|
10268
|
+
declare const sortActivityGroups: (groups: ActivityGroup[], groupOrder?: string[]) => ActivityGroup[];
|
|
10269
|
+
declare const buildActivityGroups: (items?: ActivityItem[], groups?: ActivityGroup[], groupBy?: (item: ActivityItem) => string, groupOrder?: string[]) => ActivityGroup[];
|
|
10270
|
+
declare const toActivityTimelineItems: (items: ActivityItem[]) => (TimelineItem & {
|
|
10271
|
+
activity: ActivityItem;
|
|
10272
|
+
})[];
|
|
10273
|
+
|
|
9189
10274
|
/**
|
|
9190
|
-
*
|
|
9191
|
-
*
|
|
9192
|
-
* @param placement - Current placement of the floating element
|
|
9193
|
-
* @param arrowData - Arrow position data from computeFloatingPosition
|
|
9194
|
-
* @returns CSS styles object for the arrow element
|
|
9195
|
-
*
|
|
9196
|
-
* @example
|
|
9197
|
-
* ```ts
|
|
9198
|
-
* const arrowStyles = getArrowStyles('top', result.arrow)
|
|
9199
|
-
* Object.assign(arrowEl.style, arrowStyles)
|
|
9200
|
-
* ```
|
|
10275
|
+
* NotificationCenter component utilities
|
|
9201
10276
|
*/
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
10277
|
+
|
|
10278
|
+
declare const sortNotificationGroups: (groups: NotificationGroup[], groupOrder?: string[]) => NotificationGroup[];
|
|
10279
|
+
declare const buildNotificationGroups: (items?: NotificationItem[], groups?: NotificationGroup[], groupBy?: (item: NotificationItem) => string, groupOrder?: string[]) => NotificationGroup[];
|
|
10280
|
+
|
|
10281
|
+
declare const buildCommentTree: (items?: CommentNode[]) => CommentNode[];
|
|
10282
|
+
declare const clipCommentTreeDepth: (nodes?: CommentNode[], maxDepth?: number) => CommentNode[];
|
|
10283
|
+
|
|
9206
10284
|
/**
|
|
9207
|
-
*
|
|
9208
|
-
* Convenience function that sets left/top CSS properties.
|
|
9209
|
-
*
|
|
9210
|
-
* @param element - The floating element to position
|
|
9211
|
-
* @param result - Position result from computeFloatingPosition
|
|
9212
|
-
*
|
|
9213
|
-
* @example
|
|
9214
|
-
* ```ts
|
|
9215
|
-
* const result = await computeFloatingPosition(trigger, tooltip)
|
|
9216
|
-
* applyFloatingStyles(tooltip, result)
|
|
9217
|
-
* ```
|
|
10285
|
+
* Time format helpers for composite components
|
|
9218
10286
|
*/
|
|
9219
|
-
declare
|
|
10287
|
+
declare const formatChatTime: (value?: string | number | Date) => string;
|
|
10288
|
+
declare const formatCommentTime: (value?: string | number | Date) => string;
|
|
9220
10289
|
|
|
9221
10290
|
/**
|
|
9222
10291
|
* Textarea component types and interfaces
|
|
@@ -9520,43 +10589,6 @@ interface FooterProps {
|
|
|
9520
10589
|
height?: string;
|
|
9521
10590
|
}
|
|
9522
10591
|
|
|
9523
|
-
/**
|
|
9524
|
-
* Tag component types and interfaces
|
|
9525
|
-
*/
|
|
9526
|
-
/**
|
|
9527
|
-
* Tag variant types
|
|
9528
|
-
*/
|
|
9529
|
-
type TagVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
9530
|
-
/**
|
|
9531
|
-
* Tag size types
|
|
9532
|
-
*/
|
|
9533
|
-
type TagSize = 'sm' | 'md' | 'lg';
|
|
9534
|
-
/**
|
|
9535
|
-
* Base tag props interface
|
|
9536
|
-
*/
|
|
9537
|
-
interface TagProps {
|
|
9538
|
-
/**
|
|
9539
|
-
* Tag variant style
|
|
9540
|
-
* @default 'default'
|
|
9541
|
-
*/
|
|
9542
|
-
variant?: TagVariant;
|
|
9543
|
-
/**
|
|
9544
|
-
* Tag size
|
|
9545
|
-
* @default 'md'
|
|
9546
|
-
*/
|
|
9547
|
-
size?: TagSize;
|
|
9548
|
-
/**
|
|
9549
|
-
* Whether the tag can be closed
|
|
9550
|
-
* @default false
|
|
9551
|
-
*/
|
|
9552
|
-
closable?: boolean;
|
|
9553
|
-
/**
|
|
9554
|
-
* Accessible label for the close button (when `closable` is true)
|
|
9555
|
-
* @default 'Close tag'
|
|
9556
|
-
*/
|
|
9557
|
-
closeAriaLabel?: string;
|
|
9558
|
-
}
|
|
9559
|
-
|
|
9560
10592
|
/**
|
|
9561
10593
|
* Popover component types and interfaces
|
|
9562
10594
|
*/
|
|
@@ -9997,4 +11029,4 @@ declare const tigercatPlugin: {
|
|
|
9997
11029
|
*/
|
|
9998
11030
|
declare const version = "0.2.0";
|
|
9999
11031
|
|
|
10000
|
-
export { ANIMATION_DURATION_FAST_MS, ANIMATION_DURATION_MS, ANIMATION_DURATION_SLOW_MS, type AlertColorScheme, type AlertProps, type AlertSize, type AlertThemeColors, type AlertType, type Align, type AnchorChangeInfo, type AnchorClickInfo, type AnchorDirection, type AnchorLinkProps, type AnchorProps, type AreaChartDatum, type AreaChartProps, type AreaChartSeries, type AutoResizeTextareaOptions, type AvatarProps, type AvatarShape, type AvatarSize, type BackTopProps, type BadgeColorScheme, type BadgePosition, type BadgeProps, type BadgeSize, type BadgeThemeColors, type BadgeType, type BadgeVariant, type BandScaleOptions, type BarChartDatum, type BarChartProps, type BaseChartProps, type BeforeUploadHandler, type BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, type Breakpoint, type ButtonColorScheme, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIconPath, type CardProps, type CardSize, type CardVariant, type CarouselBeforeChangeInfo, type CarouselChangeInfo, type CarouselDotPosition, type CarouselEffect, type CarouselMethods, type CarouselProps, type ChartAnimationConfig, type ChartAxisOrientation, type ChartAxisProps, type ChartAxisTick, type ChartCanvasProps, type ChartCurveType, type ChartGridLine, type ChartGridLineStyle, type ChartGridProps, type ChartInteractionHandlers, type ChartInteractionOptions, type ChartInteractionProps, type ChartInteractionState, type ChartLegendItem, type ChartLegendPosition, type ChartLegendProps, type ChartPadding, type ChartScale, type ChartScaleType, type ChartScaleValue, type ChartSeriesPoint, type ChartSeriesProps, type ChartSeriesType, type ChartTooltipProps, type ChartWithAxesProps, type CheckboxGroupProps, type CheckboxGroupValue, type CheckboxProps, type CheckboxSize, type CheckboxValue, ChevronLeftIconPath, ChevronRightIconPath, type ClassValue, ClockIconPath, CloseIconPath, type CodeProps, type ColProps, type ColSpan, type CollapsePanelProps, type CollapseProps, type ColumnAlign, type ColumnFilter, type ContainerMaxWidth, type ContainerProps, type ContentProps, type CreateAriaIdOptions, DEFAULT_CHART_COLORS, DEFAULT_PAGINATION_LABELS, DURATION_CLASS, DURATION_FAST_CLASS, DURATION_SLOW_CLASS, type DateFormat, type DatePickerInputDate, type DatePickerLabels, type DatePickerModelValue, type DatePickerProps, type DatePickerRangeModelValue, type DatePickerRangeValue, type DatePickerSingleModelValue, type DatePickerSingleValue, type DatePickerSize, type DescriptionsItem, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DividerLineStyle, type DividerOrientation, type DividerProps, type DividerSpacing, type DonutChartDatum, type DonutChartProps, type DrawerPlacement, type DrawerProps, type DrawerSize, type DropdownItemProps, type DropdownMenuProps, type DropdownPlacement, type DropdownProps, type DropdownTrigger, EASING_DEFAULT, EASING_ENTER, EASING_LEAVE, type ElementLike, type ExpandIconPosition, type FilterOption, type FilterType, type FloatingCleanup, type FloatingOptions, type FloatingPlacement, type FloatingResult, type FocusElementOptions, type FocusTrapNavigation, type FooterProps, type FormError, type FormItemProps, type FormLabelAlign, type FormLabelPosition, type FormProps, type FormRule, type FormRuleTrigger, type FormRuleType, type FormRules, type FormSize, type FormValidationResult, type FormValues, type GetContainerClassesOptions, type GetInputClassesOptions, type GetRadioDotClassesOptions, type GetRadioGroupClassesOptions, type GetRadioLabelClassesOptions, type GetRadioVisualClassesOptions, type GutterSize, type HeaderProps, type IconProps, type IconSize, type InputProps, type InputSize, type InputStatus, type InputType, type IsEventOutsideOptions, type Justify, type KeyLikeEvent, type LayoutProps, type LineChartDatum, type LineChartProps, type LineChartSeries, type LinkColorScheme, type LinkProps, type LinkSize, type LinkThemeColors, type LinkVariant, type ListBorderStyle, type ListItem, type ListItemLayout, type ListPaginationConfig, type ListProps, type ListSize, type LoadingAnimationIndex, type LoadingColor, type LoadingProps, type LoadingSize, type LoadingVariant, type MenuItem, type MenuItemGroupProps, type MenuItemProps, type MenuKey, type MenuMode, type MenuProps, type MenuTheme, type MessageColorScheme, type MessageConfig, type MessageInstance, type MessageOptions, type MessagePosition, type MessageProps, type MessageType, type ModalProps, type ModalSize, type NotificationColorScheme, type NotificationConfig, type NotificationInstance, type NotificationOptions, type NotificationPosition, type NotificationProps, type NotificationType, type PageChangeInfo, type PageSizeChangeInfo, type PaginationAlign, type PaginationConfig, type PaginationPageSizeOption, type PaginationPageSizeOptionItem, type PaginationProps, type PaginationSize, type PieArcDatum, type PieChartDatum, type PieChartProps, type PointScaleOptions, type PopconfirmIconType, type PopconfirmProps, type PopoverProps, type PopoverTrigger, type PrepareUploadFilesOptions, type PrepareUploadFilesResult, type ProgressColorScheme, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressThemeColors, type ProgressType, type ProgressVariant, type RadarChartDatum, type RadarChartProps, type RadarChartSeries, type RadarPoint, type RadioColorScheme, type RadioGroupProps, type RadioProps, type RadioSize, type RowProps, type RowSelectionConfig, SHAKE_CLASS, SPACE_BASE_CLASS, SVG_ANIMATION_CLASSES, SVG_ANIMATION_VARS, SVG_DEFAULT_FILL, SVG_DEFAULT_STROKE, SVG_DEFAULT_VIEWBOX_20, SVG_DEFAULT_VIEWBOX_24, SVG_DEFAULT_XMLNS, SVG_PATH_ANIMATION_CSS, type ScatterChartDatum, type ScatterChartProps, type SelectModelValue, type SelectOption, type SelectOptionGroup, type SelectOptions, type SelectProps, type SelectSize, type SelectValue, type SelectValues, type SidebarProps, type SkeletonAnimation, type SkeletonProps, type SkeletonShape, type SkeletonVariant, type SliderProps, type SliderSize, type SortDirection, type SortState, type SpaceAlign, type SpaceDirection, type SpaceProps, type SpaceSize, type StatusIconType, type StepItem, type StepSize, type StepStatus, type StepsDirection, type StepsProps, type StyleAtom, type StyleObject, type StyleValue, type SubMenuProps, type SwitchProps, type SwitchSize, THEME_CSS_VARS, TRANSITION_BASE, TRANSITION_OPACITY, TRANSITION_TRANSFORM, type TabChangeInfo, type TabEditInfo, type TabPaneProps, type TabPosition, type TabSize, type TabType, type TableColumn, type TableProps, type TableSize, type TabsProps, type TagColorScheme, type TagProps, type TagSize, type TagThemeColors, type TagVariant, type TextAlign, type TextColor, type TextProps, type TextSize, type TextTag, type TextWeight, type TextareaProps, type TextareaSize, type ThemeColors, type TigerLocale, type TigerLocaleCommon, type TigerLocaleDrawer, type TigerLocaleModal, type TigerLocalePagination, type TigerLocaleUpload, type TimeFormat, TimePickerCloseIconPath, type TimePickerLabels, type TimePickerModelValue, type TimePickerOptionUnit, type TimePickerProps, type TimePickerRangeValue, type TimePickerSingleValue, type TimePickerSize, type TimelineItem, type TimelineItemPosition, type TimelineMode, type TimelineProps, type TooltipProps, type TooltipTrigger, type TreeCheckStrategy, type TreeCheckedState, type TreeExpandedState, type TreeFilterFn, type TreeLoadDataFn, type TreeNode, type TreeProps, type TreeSelectionMode, type UploadFile, type UploadFileStatus, type UploadLabelOverrides, type UploadLabels, type UploadListType, type UploadProps, type UploadRejectReason, type UploadRejectedFile, type UploadRequestOptions, type UploadStatusIconSize, type VisibleTreeItem, ZH_CN_PAGINATION_LABELS, activeOpacityClasses, activePressClasses, alertBaseClasses, alertCloseButtonBaseClasses, alertCloseIconPath, alertContentClasses, alertDescriptionSizeClasses, alertErrorIconPath, alertIconContainerClasses, alertIconSizeClasses, alertInfoIconPath, alertSizeClasses, alertSuccessIconPath, alertTitleSizeClasses, alertWarningIconPath, anchorAffixClasses, anchorBaseClasses, anchorInkActiveHorizontalClasses, anchorInkActiveVerticalClasses, anchorInkContainerHorizontalClasses, anchorInkContainerVerticalClasses, anchorLinkActiveClasses, anchorLinkBaseClasses, anchorLinkListHorizontalClasses, anchorLinkListVerticalClasses, animationDelayClasses, animationDelayStyles, applyFloatingStyles, autoResizeTextarea, autoUpdateFloating, avatarBaseClasses, avatarDefaultBgColor, avatarDefaultTextColor, avatarImageClasses, avatarShapeClasses, avatarSizeClasses, backTopBaseClasses, backTopButtonClasses, backTopContainerClasses, backTopHiddenClasses, backTopIconPath, backTopVisibleClasses, badgeBaseClasses, badgePositionClasses, badgeSizeClasses, badgeTypeClasses, badgeWrapperClasses, barsVariantConfig, breadcrumbContainerClasses, breadcrumbCurrentClasses, breadcrumbItemBaseClasses, breadcrumbLinkClasses, breadcrumbSeparatorBaseClasses, buttonBaseClasses, buttonDisabledClasses, buttonSizeClasses, calculateCheckedState, calculateCirclePath, calculatePagination, calculateStepStatus, calendarSolidIcon20PathD, captureActiveElement, cardActionsClasses, cardBaseClasses, cardBodyClasses, cardCoverClasses, cardCoverWrapperClasses, cardFooterClasses, cardHeaderClasses, cardHoverClasses, cardSizeClasses, cardVariantClasses, carouselArrowBaseClasses, carouselArrowDisabledClasses, carouselBaseClasses, carouselDotActiveClasses, carouselDotClasses, carouselDotsBaseClasses, carouselDotsPositionClasses, carouselNextArrowClasses, carouselNextArrowPath, carouselPrevArrowClasses, carouselPrevArrowPath, carouselSlideBaseClasses, carouselSlideFadeClasses, carouselTrackFadeClasses, carouselTrackScrollClasses, chartAxisLabelClasses, chartAxisLineClasses, chartAxisTickLineClasses, chartAxisTickTextClasses, chartCanvasBaseClasses, chartGridLineClasses, chartInteractiveClasses, checkSolidIcon20PathD, checkboxLabelSizeClasses, checkboxSizeClasses, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clampPercentage, clampSlideIndex, classNames, clearFieldErrors, clockSolidIcon20PathD, closeIconPathD, closeIconPathStrokeLinecap, closeIconPathStrokeLinejoin, closeIconPathStrokeWidth, closeIconViewBox, closeSolidIcon20PathD, codeBlockContainerClasses, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, codeBlockPreClasses, coerceClassValue, coerceStyleValue, collapseBaseClasses, collapseBorderlessClasses, collapseExtraClasses, collapseGhostClasses, collapseHeaderTextClasses, collapseIconBaseClasses, collapseIconExpandedClasses, collapseIconPositionClasses, collapsePanelBaseClasses, collapsePanelContentBaseClasses, collapsePanelContentWrapperClasses, collapsePanelHeaderActiveClasses, collapsePanelHeaderBaseClasses, collapsePanelHeaderDisabledClasses, collapseRightArrowIcon, computeFloatingPosition, containerBaseClasses, containerCenteredClasses, containerMaxWidthClasses, containerPaddingClasses, copyTextToClipboard, createAreaPath, createAriaId, createBandScale, createChartInteractionHandlers, createLinePath, createLinearScale, createPieArcPath, createPointScale, createPolygonPath, datePickerBaseClasses, datePickerCalendarClasses, datePickerCalendarGridClasses, datePickerCalendarHeaderClasses, datePickerClearButtonClasses, datePickerDayNameClasses, datePickerFooterButtonClasses, datePickerFooterClasses, datePickerInputWrapperClasses, datePickerMonthYearClasses, datePickerNavButtonClasses, defaultAlertThemeColors, defaultBadgeThemeColors, defaultExpandIcon, defaultIndeterminateIcon, defaultLinkThemeColors, defaultMessageThemeColors, defaultNotificationThemeColors, defaultProgressThemeColors, defaultRadioColors, defaultSortFn, defaultTagThemeColors, defaultThemeColors, defaultTooltipFormatter, defaultTotalText, descriptionsBaseClasses, descriptionsCellSizeClasses, descriptionsContentBorderedClasses, descriptionsContentClasses, descriptionsExtraClasses, descriptionsHeaderClasses, descriptionsLabelBorderedClasses, descriptionsLabelClasses, descriptionsRowClasses, descriptionsSizeClasses, descriptionsTableBorderedClasses, descriptionsTableClasses, descriptionsTitleClasses, descriptionsVerticalContentClasses, descriptionsVerticalItemClasses, descriptionsVerticalLabelClasses, descriptionsVerticalWrapperClasses, descriptionsWrapperClasses, dotSizeClasses, dotsVariantConfig, errorCircleSolidIcon20PathD, fileToUploadFile, filterData, filterOptions, filterTreeNodes, findActiveAnchor, findNode, flattenTree, focusElement, focusFirst, focusRingClasses, focusRingInsetClasses, formatBadgeContent, formatDate, formatFileSize, formatMonthYear, formatPageAriaLabel, formatPaginationTotal, formatProgressText, formatTime, formatTimeDisplay, formatTimeDisplayWithLocale, generateAvatarColor, generateFileId, generateHours, generateMinutes, generateSeconds, getActiveElement, getActiveIndex, getAlertIconPath, getAlertTypeClasses, getAlignClasses, getAllKeys, getAnchorInkActiveClasses, getAnchorInkContainerClasses, getAnchorLinkClasses, getAnchorLinkListClasses, getAnchorTargetElement, getAnchorWrapperClasses, getArrowStyles, getAutoExpandKeys, getBadgeVariantClasses, getBarGrowAnimationStyle, getBreadcrumbItemClasses, getBreadcrumbLinkClasses, getBreadcrumbSeparatorClasses, getButtonVariantClasses, getCalendarDays, getCardClasses, getCarouselArrowClasses, getCarouselContainerClasses, getCarouselDotClasses, getCarouselDotsClasses, getChartAnimationStyle, getChartAxisTicks, getChartElementOpacity, getChartEntranceTransform, getChartGridLineDasharray, getChartInnerRect, getCheckboxCellClasses, getCheckboxClasses, getCheckboxLabelClasses, getCheckedKeysByStrategy, getCircleSize, getColOrderStyleVars, getColStyleVars, getCollapseContainerClasses, getCollapseIconClasses, getCollapsePanelClasses, getCollapsePanelHeaderClasses, getContainerClasses, getContainerHeight, getContainerScrollTop, getCurrentTime, getDatePickerDayCellClasses, getDatePickerIconButtonClasses, getDatePickerInputClasses, getDatePickerLabels, getDayNames, getDaysInMonth, getDescendantKeys, getDescriptionsClasses, getDescriptionsContentClasses, getDescriptionsLabelClasses, getDescriptionsTableClasses, getDescriptionsVerticalItemClasses, getDividerLineStyleClasses, getDividerOrientationClasses, getDividerSpacingClasses, getDragAreaClasses, getDrawerBodyClasses, getDrawerCloseButtonClasses, getDrawerContainerClasses, getDrawerFooterClasses, getDrawerHeaderClasses, getDrawerMaskClasses, getDrawerPanelClasses, getDrawerTitleClasses, getDropdownContainerClasses, getDropdownItemClasses, getDropdownMenuClasses, getDropdownMenuWrapperClasses, getDropdownTriggerClasses, getElementOffsetTop, getErrorFields, getFieldError, getFileListItemClasses, getFirstDayOfMonth, getFixedColumnOffsets, getFlexClasses, getFocusTrapNavigation, getFocusableElements, getGridColumnClasses, getGutterStyles, getInitials, getInputAffixClasses, getInputClasses, getInputErrorClasses, getInputWrapperClasses, getJustifyClasses, getLeafKeys, getLinkVariantClasses, getListClasses, getListHeaderFooterClasses, getListItemClasses, getLoadingBarClasses, getLoadingBarsWrapperClasses, getLoadingClasses, getLoadingDotClasses, getLoadingDotsWrapperClasses, getLoadingOverlaySpinnerClasses, getLoadingTextClasses, getMenuClasses, getMenuItemClasses, getMenuItemIndent, getMessageIconPath, getMessageTypeClasses, getModalContainerClasses, getModalContentClasses, getMonthNames, getNextActiveKey, getNextSlideIndex, getNotificationIconPath, getNotificationTypeClasses, getNumberExtent, getOffsetClasses, getOrderClasses, getPageNumbers, getPageRange, getPageSizeSelectorClasses, getPaginationButtonActiveClasses, getPaginationButtonBaseClasses, getPaginationContainerClasses, getPaginationEllipsisClasses, getPaginationLabels, getParagraphRowWidth, getParentKeys, getPathDrawAnimationStyle, getPathDrawStyles, getPathLength, getPendingDotClasses, getPictureCardClasses, getPieArcs, getPieDrawAnimationStyle, getPlacementSide, getPopconfirmArrowClasses, getPopconfirmButtonBaseClasses, getPopconfirmButtonsClasses, getPopconfirmCancelButtonClasses, getPopconfirmContainerClasses, getPopconfirmContentClasses, getPopconfirmDescriptionClasses, getPopconfirmIconClasses, getPopconfirmIconPath, getPopconfirmOkButtonClasses, getPopconfirmTitleClasses, getPopconfirmTriggerClasses, getPopoverContainerClasses, getPopoverContentClasses, getPopoverContentTextClasses, getPopoverTitleClasses, getPopoverTriggerClasses, getPrevSlideIndex, getProgressTextColorClasses, getProgressVariantClasses, getQuickJumperInputClasses, getRadarAngles, getRadarPoints, getRadioColorClasses, getRadioDotClasses, getRadioGroupClasses, getRadioLabelClasses, getRadioVisualClasses, getRowKey, getScrollTop, getScrollTransform, getSecureRel, getSelectOptionClasses, getSelectSizeClasses, getSelectTriggerClasses, getSeparatorContent, getShortDayNames, getShortMonthNames, getSimplePaginationButtonClasses, getSimplePaginationButtonsWrapperClasses, getSimplePaginationContainerClasses, getSimplePaginationControlsClasses, getSimplePaginationPageIndicatorClasses, getSimplePaginationSelectClasses, getSimplePaginationTotalClasses, getSkeletonClasses, getSkeletonDimensions, getSliderThumbClasses, getSliderTooltipClasses, getSliderTrackClasses, getSortIconClasses, getSpaceAlignClass, getSpaceDirectionClass, getSpaceGapSize, getSpanClasses, getSpinnerSVG, getStatusVariant, getStepContentClasses, getStepDescriptionClasses, getStepIconClasses, getStepItemClasses, getStepTailClasses, getStepTitleClasses, getStepsContainerClasses, getSubMenuExpandIconClasses, getSubMenuTitleClasses, getSvgDefaultAttrs, getSwitchClasses, getSwitchThumbClasses, getTabItemClasses, getTabNavClasses, getTabNavListClasses, getTabPaneClasses, getTableCellClasses, getTableHeaderCellClasses, getTableHeaderClasses, getTableRowClasses, getTableWrapperClasses, getTabsContainerClasses, getTagVariantClasses, getThemeColor, getTimePeriodLabels, getTimePickerIconButtonClasses, getTimePickerInputClasses, getTimePickerItemClasses, getTimePickerLabels, getTimePickerOptionAriaLabel, getTimePickerPeriodButtonClasses, getTimePickerRangeTabButtonClasses, getTimelineContainerClasses, getTimelineContentClasses, getTimelineDotClasses, getTimelineHeadClasses, getTimelineItemClasses, getTimelineTailClasses, getTooltipContainerClasses, getTooltipContentClasses, getTooltipTriggerClasses, getTotalPages, getTotalTextClasses, getTransformOrigin, getTreeNodeClasses, getTreeNodeExpandIconClasses, getUploadButtonClasses, getUploadLabels, getUploadStatusIconClasses, getValueByPath, getVisibleTreeItems, groupItemsIntoRows, handleNodeCheck, hasErrors, icon16ViewBox, icon20ViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox, iconSizeClasses, iconSvgBaseClasses, iconWrapperClasses, injectLoadingAnimationStyles, injectShakeStyle, injectSvgAnimationStyles, inputFocusClasses, interactiveClasses, interpolateUploadLabel, isActivationKey, isBrowser, isDateInRange, isEnterKey, isEscapeKey, isEventOutside, isHTMLElement, isKeyActive, isKeyOpen, isKeySelected, isNextDisabled, isOptionGroup, isPanelActive, isPrevDisabled, isSameDay, isSpaceKey, isTabKey, isTimeInRange, isToday, layoutContentClasses, layoutFooterClasses, layoutHeaderClasses, layoutRootClasses, layoutSidebarClasses, linkBaseClasses, linkDisabledClasses, linkSizeClasses, listBaseClasses, listBorderClasses, listEmptyStateClasses, listFooterClasses, listGridContainerClasses, listHeaderFooterBaseClasses, listItemAvatarClasses, listItemBaseClasses, listItemContentClasses, listItemDescriptionClasses, listItemDividedClasses, listItemExtraClasses, listItemHoverClasses, listItemLayoutClasses, listItemMetaClasses, listItemSizeClasses, listItemTitleClasses, listLoadingOverlayClasses, listPaginationContainerClasses, listSizeClasses, listWrapperClasses, loadingBarBaseClasses, loadingBarsWrapperBaseClasses, loadingColorClasses, loadingContainerBaseClasses, loadingDotBaseClasses, loadingDotsWrapperBaseClasses, loadingFullscreenBaseClasses, loadingOverlaySpinnerBaseClasses, loadingSizeClasses, loadingSpinnerBaseClasses, loadingTextSizeClasses, lockClosedIcon24PathD, lockOpenIcon24PathD, menuBaseClasses, menuCollapsedClasses, menuCollapsedItemClasses, menuDarkThemeClasses, menuItemBaseClasses, menuItemDisabledClasses, menuItemFocusClasses, menuItemGroupTitleClasses, menuItemHoverDarkClasses, menuItemHoverLightClasses, menuItemIconClasses, menuItemSelectedDarkClasses, menuItemSelectedLightClasses, menuLightThemeClasses, menuModeClasses, mergeStyleValues, mergeTigerLocale, messageBaseClasses, messageCloseButtonClasses, messageCloseIconPath, messageContainerBaseClasses, messageContentClasses, messageEnterActiveClasses, messageEnterClasses, messageIconClasses, messageIconPaths, messageLeaveActiveClasses, messageLeaveClasses, messageLoadingSpinnerClasses, messagePositionClasses, modalBodyClasses, modalCloseButtonClasses, modalContentWrapperClasses, modalFooterClasses, modalHeaderClasses, modalMaskClasses, modalSizeClasses, modalTitleClasses, modalWrapperClasses, normalizeActiveKeys, normalizeChartPadding, normalizeDate, normalizeSvgAttrs, notificationBaseClasses, notificationCloseButtonClasses, notificationCloseIconClasses, notificationCloseIconPath, notificationContainerBaseClasses, notificationContentClasses, notificationDescriptionClasses, notificationIconClasses, notificationIconPaths, notificationPositionClasses, notificationTitleClasses, paginateData, parseDate, parseTime, parseWidthToPx, polarToCartesian, popconfirmErrorIconPath, popconfirmIconPathStrokeLinecap, popconfirmIconPathStrokeLinejoin, popconfirmIconStrokeWidth, popconfirmIconViewBox, popconfirmInfoIconPath, popconfirmQuestionIconPath, popconfirmSuccessIconPath, popconfirmWarningIconPath, prepareUploadFiles, progressCircleBaseClasses, progressCircleSizeClasses, progressCircleTextClasses, progressCircleTrackStrokeClasses, progressLineBaseClasses, progressLineInnerClasses, progressLineSizeClasses, progressStripedAnimationClasses, progressStripedClasses, progressTextBaseClasses, progressTextSizeClasses, progressTrackBgClasses, radioDisabledCursorClasses, radioDotBaseClasses, radioFocusVisibleClasses, radioGroupDefaultClasses, radioHoverBorderClasses, radioLabelBaseClasses, radioRootBaseClasses, radioSizeClasses, radioVisualBaseClasses, replaceKeys, resolveLocaleText, restoreFocus, scrollToAnchor, scrollToTop, selectBaseClasses, selectDropdownBaseClasses, selectEmptyStateClasses, selectGroupLabelClasses, selectOptionBaseClasses, selectOptionDisabledClasses, selectOptionSelectedClasses, selectSearchInputClasses, setThemeColors, shouldHideBadge, skeletonAnimationClasses, skeletonBaseClasses, skeletonShapeClasses, skeletonVariantDefaults, sliderBaseClasses, sliderDisabledClasses, sliderGetKeyboardValue, sliderGetPercentage, sliderGetValueFromPosition, sliderNormalizeValue, sliderRangeClasses, sliderSizeClasses, sliderThumbClasses, sliderTooltipClasses, sliderTrackClasses, sortAscIcon16PathD, sortBothIcon16PathD, sortData, sortDescIcon16PathD, stackSeriesData, statusErrorIconPath, statusIconPaths, statusInfoIconPath, statusSuccessIconPath, statusWarningIconPath, stepFinishIconPathD, stepFinishIconPathStrokeLinecap, stepFinishIconPathStrokeLinejoin, stepFinishIconPathStrokeWidth, stepFinishIconSvgClasses, stepFinishIconViewBox, submenuContentHorizontalClasses, submenuContentInlineClasses, submenuContentPopupClasses, submenuContentVerticalClasses, submenuExpandIconClasses, submenuExpandIconExpandedClasses, submenuTitleClasses, successCircleSolidIcon20PathD, switchBaseClasses, switchSizeClasses, switchThumbSizeClasses, switchThumbTranslateClasses, tabAddButtonClasses, tabCloseButtonClasses, tabContentBaseClasses, tabFocusClasses, tabItemBaseClasses, tabItemCardActiveClasses, tabItemCardClasses, tabItemDisabledClasses, tabItemEditableCardActiveClasses, tabItemEditableCardClasses, tabItemLineActiveClasses, tabItemLineClasses, tabItemSizeClasses, tabNavBaseClasses, tabNavListBaseClasses, tabNavListCenteredClasses, tabNavListPositionClasses, tabNavPositionClasses, tabPaneBaseClasses, tabPaneHiddenClasses, tableBaseClasses, tableContainerClasses, tableEmptyStateClasses, tableLoadingOverlayClasses, tablePaginationContainerClasses, tabsBaseClasses, tagBaseClasses, tagCloseButtonBaseClasses, tagCloseIconPath, tagSizeClasses, textAlignClasses, textColorClasses, textDecorationClasses, textSizeClasses, textWeightClasses, tigercatPlugin, tigercatTheme, timePickerBaseClasses, timePickerClearButtonClasses, timePickerColumnClasses, timePickerColumnHeaderClasses, timePickerColumnListClasses, timePickerFooterButtonClasses, timePickerFooterClasses, timePickerInputWrapperClasses, timePickerPanelClasses, timePickerPanelContentClasses, timePickerRangeHeaderClasses, timelineContainerClasses, timelineContentClasses, timelineCustomDotClasses, timelineDescriptionClasses, timelineDotClasses, timelineHeadClasses, timelineItemClasses, timelineLabelClasses, timelineListClasses, timelineTailClasses, to12HourFormat, to24HourFormat, toggleKey, togglePanelKey, treeBaseClasses, treeEmptyStateClasses, treeLineClasses, treeLoadingClasses, treeNodeCheckboxClasses, treeNodeChildrenClasses, treeNodeContentClasses, treeNodeDisabledClasses, treeNodeExpandIconClasses, treeNodeExpandIconExpandedClasses, treeNodeHoverClasses, treeNodeIconClasses, treeNodeIndentClasses, treeNodeLabelClasses, treeNodeSelectedClasses, treeNodeWrapperClasses, uploadStatusIconColorClasses, uploadStatusIconSizeClasses, validateCurrentPage, validateField, validateFileSize, validateFileType, validateForm, validateRule, version };
|
|
11032
|
+
export { ANIMATION_DURATION_FAST_MS, ANIMATION_DURATION_MS, ANIMATION_DURATION_SLOW_MS, type ActivityAction, type ActivityFeedProps, type ActivityGroup, type ActivityItem, type ActivityStatusTag, type ActivityUser, type AlertColorScheme, type AlertProps, type AlertSize, type AlertThemeColors, type AlertType, type Align, type AnchorChangeInfo, type AnchorClickInfo, type AnchorDirection, type AnchorLinkProps, type AnchorProps, type AreaChartDatum, type AreaChartProps, type AreaChartSeries, type AutoResizeTextareaOptions, type AvatarProps, type AvatarShape, type AvatarSize, type BackTopProps, type BadgeColorScheme, type BadgePosition, type BadgeProps, type BadgeSize, type BadgeThemeColors, type BadgeType, type BadgeVariant, type BandScaleOptions, type BarChartDatum, type BarChartProps, type BaseChartProps, type BeforeUploadHandler, type BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, type Breakpoint, type ButtonColorScheme, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIconPath, type CardProps, type CardSize, type CardVariant, type CarouselBeforeChangeInfo, type CarouselChangeInfo, type CarouselDotPosition, type CarouselEffect, type CarouselMethods, type CarouselProps, type ChartAnimationConfig, type ChartAxisOrientation, type ChartAxisProps, type ChartAxisTick, type ChartCanvasProps, type ChartCurveType, type ChartGridLine, type ChartGridLineStyle, type ChartGridProps, type ChartInteractionHandlers, type ChartInteractionOptions, type ChartInteractionProps, type ChartInteractionState, type ChartLegendItem, type ChartLegendPosition, type ChartLegendProps, type ChartPadding, type ChartScale, type ChartScaleType, type ChartScaleValue, type ChartSeriesPoint, type ChartSeriesProps, type ChartSeriesType, type ChartTooltipProps, type ChartWithAxesProps, type ChatMessage, type ChatMessageDirection, type ChatMessageStatus, type ChatMessageStatusInfo, type ChatUser, type ChatWindowProps, type CheckboxGroupProps, type CheckboxGroupValue, type CheckboxProps, type CheckboxSize, type CheckboxValue, ChevronLeftIconPath, ChevronRightIconPath, type ClassValue, ClockIconPath, CloseIconPath, type CodeProps, type ColProps, type ColSpan, type CollapsePanelProps, type CollapseProps, type ColumnAlign, type ColumnFilter, type CommentAction, type CommentNode, type CommentTag, type CommentThreadProps, type CommentUser, type ContainerMaxWidth, type ContainerProps, type ContentProps, type CreateAriaIdOptions, DEFAULT_CHART_COLORS, DEFAULT_PAGINATION_LABELS, DURATION_CLASS, DURATION_FAST_CLASS, DURATION_SLOW_CLASS, type DataTableWithToolbarProps, type DateFormat, type DatePickerInputDate, type DatePickerLabels, type DatePickerModelValue, type DatePickerProps, type DatePickerRangeModelValue, type DatePickerRangeValue, type DatePickerSingleModelValue, type DatePickerSingleValue, type DatePickerSize, type DescriptionsItem, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DividerLineStyle, type DividerOrientation, type DividerProps, type DividerSpacing, type DonutChartDatum, type DonutChartProps, type DrawerPlacement, type DrawerProps, type DrawerSize, type DropdownItemProps, type DropdownMenuProps, type DropdownPlacement, type DropdownProps, type DropdownTrigger, EASING_DEFAULT, EASING_ENTER, EASING_LEAVE, type ElementLike, type ExpandIconPosition, type FilterOption, type FilterType, type FloatingCleanup, type FloatingOptions, type FloatingPlacement, type FloatingResult, type FocusElementOptions, type FocusTrapNavigation, type FooterProps, type FormError, type FormItemClassOptions, type FormItemLabelClassOptions, type FormItemProps, type FormLabelAlign, type FormLabelPosition, type FormProps, type FormRule, type FormRuleTrigger, type FormRuleType, type FormRules, type FormSize, type FormValidationResult, type FormValues, type FormWizardProps, type FormWizardValidateResult, type FormWizardValidator, type GetContainerClassesOptions, type GetInputClassesOptions, type GetRadioDotClassesOptions, type GetRadioGroupClassesOptions, type GetRadioLabelClassesOptions, type GetRadioVisualClassesOptions, type GutterSize, type HeaderProps, type IconProps, type IconSize, type InputProps, type InputSize, type InputStatus, type InputType, type IsEventOutsideOptions, type Justify, type KeyLikeEvent, type LayoutProps, type LineChartDatum, type LineChartProps, type LineChartSeries, type LinkColorScheme, type LinkProps, type LinkSize, type LinkThemeColors, type LinkVariant, type ListBorderStyle, type ListItem, type ListItemLayout, type ListPaginationConfig, type ListProps, type ListSize, type LoadingAnimationIndex, type LoadingColor, type LoadingProps, type LoadingSize, type LoadingVariant, type MenuItem, type MenuItemGroupProps, type MenuItemProps, type MenuKey, type MenuMode, type MenuProps, type MenuTheme, type MessageColorScheme, type MessageConfig, type MessageInstance, type MessageOptions, type MessagePosition, type MessageProps, type MessageType, type ModalProps, type ModalSize, type NotificationCenterProps, type NotificationColorScheme, type NotificationConfig, type NotificationGroup, type NotificationInstance, type NotificationItem, type NotificationOptions, type NotificationPosition, type NotificationProps, type NotificationReadFilter, type NotificationType, type PageChangeInfo, type PageSizeChangeInfo, type PaginationAlign, type PaginationConfig, type PaginationPageSizeOption, type PaginationPageSizeOptionItem, type PaginationProps, type PaginationSize, type PieArcDatum, type PieChartDatum, type PieChartProps, type PointScaleOptions, type PopconfirmIconType, type PopconfirmProps, type PopoverProps, type PopoverTrigger, type PrepareUploadFilesOptions, type PrepareUploadFilesResult, type ProgressColorScheme, type ProgressProps, type ProgressSize, type ProgressStatus, type ProgressThemeColors, type ProgressType, type ProgressVariant, type RadarChartDatum, type RadarChartProps, type RadarChartSeries, type RadarPoint, type RadioColorScheme, type RadioGroupProps, type RadioProps, type RadioSize, type RowProps, type RowSelectionConfig, SHAKE_CLASS, SPACE_BASE_CLASS, SVG_ANIMATION_CLASSES, SVG_ANIMATION_VARS, SVG_DEFAULT_FILL, SVG_DEFAULT_STROKE, SVG_DEFAULT_VIEWBOX_20, SVG_DEFAULT_VIEWBOX_24, SVG_DEFAULT_XMLNS, SVG_PATH_ANIMATION_CSS, type ScatterChartDatum, type ScatterChartProps, type SelectModelValue, type SelectOption, type SelectOptionGroup, type SelectOptions, type SelectProps, type SelectSize, type SelectValue, type SelectValues, type SidebarProps, type SkeletonAnimation, type SkeletonProps, type SkeletonShape, type SkeletonVariant, type SliderProps, type SliderSize, type SortDirection, type SortState, type SpaceAlign, type SpaceDirection, type SpaceProps, type SpaceSize, type StatusIconType, type StepItem, type StepSize, type StepStatus, type StepsDirection, type StepsProps, type StyleAtom, type StyleObject, type StyleValue, type SubMenuProps, type SwitchProps, type SwitchSize, THEME_CSS_VARS, TRANSITION_BASE, TRANSITION_OPACITY, TRANSITION_TRANSFORM, type TabChangeInfo, type TabEditInfo, type TabPaneProps, type TabPosition, type TabSize, type TabType, type TableColumn, type TableProps, type TableSize, type TableToolbarAction, type TableToolbarFilter, type TableToolbarFilterValue, type TableToolbarProps, type TabsProps, type TagColorScheme, type TagProps, type TagSize, type TagThemeColors, type TagVariant, type TextAlign, type TextColor, type TextProps, type TextSize, type TextTag, type TextWeight, type TextareaProps, type TextareaSize, type ThemeColors, type TigerLocale, type TigerLocaleCommon, type TigerLocaleDrawer, type TigerLocaleModal, type TigerLocalePagination, type TigerLocaleUpload, type TimeFormat, TimePickerCloseIconPath, type TimePickerLabels, type TimePickerModelValue, type TimePickerOptionUnit, type TimePickerProps, type TimePickerRangeValue, type TimePickerSingleValue, type TimePickerSize, type TimelineItem, type TimelineItemPosition, type TimelineMode, type TimelineProps, type TooltipProps, type TooltipTrigger, type TreeCheckStrategy, type TreeCheckedState, type TreeExpandedState, type TreeFilterFn, type TreeLoadDataFn, type TreeNode, type TreeProps, type TreeSelectionMode, type UploadFile, type UploadFileStatus, type UploadLabelOverrides, type UploadLabels, type UploadListType, type UploadProps, type UploadRejectReason, type UploadRejectedFile, type UploadRequestOptions, type UploadStatusIconSize, type VisibleTreeItem, type WizardStep, ZH_CN_PAGINATION_LABELS, activeOpacityClasses, activePressClasses, alertBaseClasses, alertCloseButtonBaseClasses, alertCloseIconPath, alertContentClasses, alertDescriptionSizeClasses, alertErrorIconPath, alertIconContainerClasses, alertIconSizeClasses, alertInfoIconPath, alertSizeClasses, alertSuccessIconPath, alertTitleSizeClasses, alertWarningIconPath, anchorAffixClasses, anchorBaseClasses, anchorInkActiveHorizontalClasses, anchorInkActiveVerticalClasses, anchorInkContainerHorizontalClasses, anchorInkContainerVerticalClasses, anchorLinkActiveClasses, anchorLinkBaseClasses, anchorLinkListHorizontalClasses, anchorLinkListVerticalClasses, animationDelayClasses, animationDelayStyles, applyFloatingStyles, autoResizeTextarea, autoUpdateFloating, avatarBaseClasses, avatarDefaultBgColor, avatarDefaultTextColor, avatarImageClasses, avatarShapeClasses, avatarSizeClasses, backTopBaseClasses, backTopButtonClasses, backTopContainerClasses, backTopHiddenClasses, backTopIconPath, backTopVisibleClasses, badgeBaseClasses, badgePositionClasses, badgeSizeClasses, badgeTypeClasses, badgeWrapperClasses, barsVariantConfig, breadcrumbContainerClasses, breadcrumbCurrentClasses, breadcrumbItemBaseClasses, breadcrumbLinkClasses, breadcrumbSeparatorBaseClasses, buildActivityGroups, buildCommentTree, buildNotificationGroups, buttonBaseClasses, buttonDisabledClasses, buttonSizeClasses, calculateCheckedState, calculateCirclePath, calculatePagination, calculateStepStatus, calendarSolidIcon20PathD, captureActiveElement, cardActionsClasses, cardBaseClasses, cardBodyClasses, cardCoverClasses, cardCoverWrapperClasses, cardFooterClasses, cardHeaderClasses, cardHoverClasses, cardSizeClasses, cardVariantClasses, carouselArrowBaseClasses, carouselArrowDisabledClasses, carouselBaseClasses, carouselDotActiveClasses, carouselDotClasses, carouselDotsBaseClasses, carouselDotsPositionClasses, carouselNextArrowClasses, carouselNextArrowPath, carouselPrevArrowClasses, carouselPrevArrowPath, carouselSlideBaseClasses, carouselSlideFadeClasses, carouselTrackFadeClasses, carouselTrackScrollClasses, chartAxisLabelClasses, chartAxisLineClasses, chartAxisTickLineClasses, chartAxisTickTextClasses, chartCanvasBaseClasses, chartGridLineClasses, chartInteractiveClasses, checkSolidIcon20PathD, checkboxLabelSizeClasses, checkboxSizeClasses, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clampPercentage, clampSlideIndex, classNames, clearFieldErrors, clipCommentTreeDepth, clockSolidIcon20PathD, closeIconPathD, closeIconPathStrokeLinecap, closeIconPathStrokeLinejoin, closeIconPathStrokeWidth, closeIconViewBox, closeSolidIcon20PathD, codeBlockContainerClasses, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, codeBlockPreClasses, coerceClassValue, coerceStyleValue, collapseBaseClasses, collapseBorderlessClasses, collapseExtraClasses, collapseGhostClasses, collapseHeaderTextClasses, collapseIconBaseClasses, collapseIconExpandedClasses, collapseIconPositionClasses, collapsePanelBaseClasses, collapsePanelContentBaseClasses, collapsePanelContentWrapperClasses, collapsePanelHeaderActiveClasses, collapsePanelHeaderBaseClasses, collapsePanelHeaderDisabledClasses, collapseRightArrowIcon, computeFloatingPosition, containerBaseClasses, containerCenteredClasses, containerMaxWidthClasses, containerPaddingClasses, copyTextToClipboard, createAreaPath, createAriaId, createBandScale, createChartInteractionHandlers, createLinePath, createLinearScale, createPieArcPath, createPointScale, createPolygonPath, datePickerBaseClasses, datePickerCalendarClasses, datePickerCalendarGridClasses, datePickerCalendarHeaderClasses, datePickerClearButtonClasses, datePickerDayNameClasses, datePickerFooterButtonClasses, datePickerFooterClasses, datePickerInputWrapperClasses, datePickerMonthYearClasses, datePickerNavButtonClasses, defaultAlertThemeColors, defaultBadgeThemeColors, defaultChatMessageStatusInfo, defaultExpandIcon, defaultIndeterminateIcon, defaultLinkThemeColors, defaultMessageThemeColors, defaultNotificationThemeColors, defaultProgressThemeColors, defaultRadioColors, defaultSortFn, defaultTagThemeColors, defaultThemeColors, defaultTooltipFormatter, defaultTotalText, descriptionsBaseClasses, descriptionsCellSizeClasses, descriptionsContentBorderedClasses, descriptionsContentClasses, descriptionsExtraClasses, descriptionsHeaderClasses, descriptionsLabelBorderedClasses, descriptionsLabelClasses, descriptionsRowClasses, descriptionsSizeClasses, descriptionsTableBorderedClasses, descriptionsTableClasses, descriptionsTitleClasses, descriptionsVerticalContentClasses, descriptionsVerticalItemClasses, descriptionsVerticalLabelClasses, descriptionsVerticalWrapperClasses, descriptionsWrapperClasses, dotSizeClasses, dotsVariantConfig, errorCircleSolidIcon20PathD, fileToUploadFile, filterData, filterOptions, filterTreeNodes, findActiveAnchor, findNode, flattenTree, focusElement, focusFirst, focusRingClasses, focusRingInsetClasses, formatActivityTime, formatBadgeContent, formatChatTime, formatCommentTime, formatDate, formatFileSize, formatMonthYear, formatPageAriaLabel, formatPaginationTotal, formatProgressText, formatTime, formatTimeDisplay, formatTimeDisplayWithLocale, generateAvatarColor, generateFileId, generateHours, generateMinutes, generateSeconds, getActiveElement, getActiveIndex, getAlertIconPath, getAlertTypeClasses, getAlignClasses, getAllKeys, getAnchorInkActiveClasses, getAnchorInkContainerClasses, getAnchorLinkClasses, getAnchorLinkListClasses, getAnchorTargetElement, getAnchorWrapperClasses, getArrowStyles, getAutoExpandKeys, getBadgeVariantClasses, getBarGrowAnimationStyle, getBreadcrumbItemClasses, getBreadcrumbLinkClasses, getBreadcrumbSeparatorClasses, getButtonVariantClasses, getCalendarDays, getCardClasses, getCarouselArrowClasses, getCarouselContainerClasses, getCarouselDotClasses, getCarouselDotsClasses, getChartAnimationStyle, getChartAxisTicks, getChartElementOpacity, getChartEntranceTransform, getChartGridLineDasharray, getChartInnerRect, getChatMessageStatusInfo, getCheckboxCellClasses, getCheckboxClasses, getCheckboxLabelClasses, getCheckedKeysByStrategy, getCircleSize, getColOrderStyleVars, getColStyleVars, getCollapseContainerClasses, getCollapseIconClasses, getCollapsePanelClasses, getCollapsePanelHeaderClasses, getContainerClasses, getContainerHeight, getContainerScrollTop, getCurrentTime, getDatePickerDayCellClasses, getDatePickerIconButtonClasses, getDatePickerInputClasses, getDatePickerLabels, getDayNames, getDaysInMonth, getDescendantKeys, getDescriptionsClasses, getDescriptionsContentClasses, getDescriptionsLabelClasses, getDescriptionsTableClasses, getDescriptionsVerticalItemClasses, getDividerLineStyleClasses, getDividerOrientationClasses, getDividerSpacingClasses, getDragAreaClasses, getDrawerBodyClasses, getDrawerCloseButtonClasses, getDrawerContainerClasses, getDrawerFooterClasses, getDrawerHeaderClasses, getDrawerMaskClasses, getDrawerPanelClasses, getDrawerTitleClasses, getDropdownContainerClasses, getDropdownItemClasses, getDropdownMenuClasses, getDropdownMenuWrapperClasses, getDropdownTriggerClasses, getElementOffsetTop, getErrorFields, getFieldError, getFileListItemClasses, getFirstDayOfMonth, getFixedColumnOffsets, getFlexClasses, getFocusTrapNavigation, getFocusableElements, getFormItemAsteriskClasses, getFormItemAsteriskStyle, getFormItemClasses, getFormItemContentClasses, getFormItemErrorClasses, getFormItemFieldClasses, getFormItemLabelClasses, getGridColumnClasses, getGutterStyles, getInitials, getInputAffixClasses, getInputClasses, getInputErrorClasses, getInputWrapperClasses, getJustifyClasses, getLeafKeys, getLinkVariantClasses, getListClasses, getListHeaderFooterClasses, getListItemClasses, getLoadingBarClasses, getLoadingBarsWrapperClasses, getLoadingClasses, getLoadingDotClasses, getLoadingDotsWrapperClasses, getLoadingOverlaySpinnerClasses, getLoadingTextClasses, getMenuClasses, getMenuItemClasses, getMenuItemIndent, getMessageIconPath, getMessageTypeClasses, getModalContainerClasses, getModalContentClasses, getMonthNames, getNextActiveKey, getNextSlideIndex, getNotificationIconPath, getNotificationTypeClasses, getNumberExtent, getOffsetClasses, getOrderClasses, getPageNumbers, getPageRange, getPageSizeSelectorClasses, getPaginationButtonActiveClasses, getPaginationButtonBaseClasses, getPaginationContainerClasses, getPaginationEllipsisClasses, getPaginationLabels, getParagraphRowWidth, getParentKeys, getPathDrawAnimationStyle, getPathDrawStyles, getPathLength, getPendingDotClasses, getPictureCardClasses, getPieArcs, getPieDrawAnimationStyle, getPlacementSide, getPopconfirmArrowClasses, getPopconfirmButtonBaseClasses, getPopconfirmButtonsClasses, getPopconfirmCancelButtonClasses, getPopconfirmContainerClasses, getPopconfirmContentClasses, getPopconfirmDescriptionClasses, getPopconfirmIconClasses, getPopconfirmIconPath, getPopconfirmOkButtonClasses, getPopconfirmTitleClasses, getPopconfirmTriggerClasses, getPopoverContainerClasses, getPopoverContentClasses, getPopoverContentTextClasses, getPopoverTitleClasses, getPopoverTriggerClasses, getPrevSlideIndex, getProgressTextColorClasses, getProgressVariantClasses, getQuickJumperInputClasses, getRadarAngles, getRadarPoints, getRadioColorClasses, getRadioDotClasses, getRadioGroupClasses, getRadioLabelClasses, getRadioVisualClasses, getRowKey, getScrollTop, getScrollTransform, getSecureRel, getSelectOptionClasses, getSelectSizeClasses, getSelectTriggerClasses, getSeparatorContent, getShortDayNames, getShortMonthNames, getSimplePaginationButtonClasses, getSimplePaginationButtonsWrapperClasses, getSimplePaginationContainerClasses, getSimplePaginationControlsClasses, getSimplePaginationPageIndicatorClasses, getSimplePaginationSelectClasses, getSimplePaginationTotalClasses, getSkeletonClasses, getSkeletonDimensions, getSliderThumbClasses, getSliderTooltipClasses, getSliderTrackClasses, getSortIconClasses, getSpaceAlignClass, getSpaceDirectionClass, getSpaceGapSize, getSpanClasses, getSpinnerSVG, getStatusVariant, getStepContentClasses, getStepDescriptionClasses, getStepIconClasses, getStepItemClasses, getStepTailClasses, getStepTitleClasses, getStepsContainerClasses, getSubMenuExpandIconClasses, getSubMenuTitleClasses, getSvgDefaultAttrs, getSwitchClasses, getSwitchThumbClasses, getTabItemClasses, getTabNavClasses, getTabNavListClasses, getTabPaneClasses, getTableCellClasses, getTableHeaderCellClasses, getTableHeaderClasses, getTableRowClasses, getTableWrapperClasses, getTabsContainerClasses, getTagVariantClasses, getThemeColor, getTimePeriodLabels, getTimePickerIconButtonClasses, getTimePickerInputClasses, getTimePickerItemClasses, getTimePickerLabels, getTimePickerOptionAriaLabel, getTimePickerPeriodButtonClasses, getTimePickerRangeTabButtonClasses, getTimelineContainerClasses, getTimelineContentClasses, getTimelineDotClasses, getTimelineHeadClasses, getTimelineItemClasses, getTimelineTailClasses, getTooltipContainerClasses, getTooltipContentClasses, getTooltipTriggerClasses, getTotalPages, getTotalTextClasses, getTransformOrigin, getTreeNodeClasses, getTreeNodeExpandIconClasses, getUploadButtonClasses, getUploadLabels, getUploadStatusIconClasses, getValueByPath, getVisibleTreeItems, groupItemsIntoRows, handleNodeCheck, hasErrors, icon16ViewBox, icon20ViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox, iconSizeClasses, iconSvgBaseClasses, iconWrapperClasses, injectLoadingAnimationStyles, injectShakeStyle, injectSvgAnimationStyles, inputFocusClasses, interactiveClasses, interpolateUploadLabel, isActivationKey, isBrowser, isDateInRange, isEnterKey, isEscapeKey, isEventOutside, isHTMLElement, isKeyActive, isKeyOpen, isKeySelected, isNextDisabled, isOptionGroup, isPanelActive, isPrevDisabled, isSameDay, isSpaceKey, isTabKey, isTimeInRange, isToday, layoutContentClasses, layoutFooterClasses, layoutHeaderClasses, layoutRootClasses, layoutSidebarClasses, linkBaseClasses, linkDisabledClasses, linkSizeClasses, listBaseClasses, listBorderClasses, listEmptyStateClasses, listFooterClasses, listGridContainerClasses, listHeaderFooterBaseClasses, listItemAvatarClasses, listItemBaseClasses, listItemContentClasses, listItemDescriptionClasses, listItemDividedClasses, listItemExtraClasses, listItemHoverClasses, listItemLayoutClasses, listItemMetaClasses, listItemSizeClasses, listItemTitleClasses, listLoadingOverlayClasses, listPaginationContainerClasses, listSizeClasses, listWrapperClasses, loadingBarBaseClasses, loadingBarsWrapperBaseClasses, loadingColorClasses, loadingContainerBaseClasses, loadingDotBaseClasses, loadingDotsWrapperBaseClasses, loadingFullscreenBaseClasses, loadingOverlaySpinnerBaseClasses, loadingSizeClasses, loadingSpinnerBaseClasses, loadingTextSizeClasses, lockClosedIcon24PathD, lockOpenIcon24PathD, menuBaseClasses, menuCollapsedClasses, menuCollapsedItemClasses, menuDarkThemeClasses, menuItemBaseClasses, menuItemDisabledClasses, menuItemFocusClasses, menuItemGroupTitleClasses, menuItemHoverDarkClasses, menuItemHoverLightClasses, menuItemIconClasses, menuItemSelectedDarkClasses, menuItemSelectedLightClasses, menuLightThemeClasses, menuModeClasses, mergeStyleValues, mergeTigerLocale, messageBaseClasses, messageCloseButtonClasses, messageCloseIconPath, messageContainerBaseClasses, messageContentClasses, messageEnterActiveClasses, messageEnterClasses, messageIconClasses, messageIconPaths, messageLeaveActiveClasses, messageLeaveClasses, messageLoadingSpinnerClasses, messagePositionClasses, modalBodyClasses, modalCloseButtonClasses, modalContentWrapperClasses, modalFooterClasses, modalHeaderClasses, modalMaskClasses, modalSizeClasses, modalTitleClasses, modalWrapperClasses, normalizeActiveKeys, normalizeChartPadding, normalizeDate, normalizeSvgAttrs, notificationBaseClasses, notificationCloseButtonClasses, notificationCloseIconClasses, notificationCloseIconPath, notificationContainerBaseClasses, notificationContentClasses, notificationDescriptionClasses, notificationIconClasses, notificationIconPaths, notificationPositionClasses, notificationTitleClasses, paginateData, parseDate, parseTime, parseWidthToPx, polarToCartesian, popconfirmErrorIconPath, popconfirmIconPathStrokeLinecap, popconfirmIconPathStrokeLinejoin, popconfirmIconStrokeWidth, popconfirmIconViewBox, popconfirmInfoIconPath, popconfirmQuestionIconPath, popconfirmSuccessIconPath, popconfirmWarningIconPath, prepareUploadFiles, progressCircleBaseClasses, progressCircleSizeClasses, progressCircleTextClasses, progressCircleTrackStrokeClasses, progressLineBaseClasses, progressLineInnerClasses, progressLineSizeClasses, progressStripedAnimationClasses, progressStripedClasses, progressTextBaseClasses, progressTextSizeClasses, progressTrackBgClasses, radioDisabledCursorClasses, radioDotBaseClasses, radioFocusVisibleClasses, radioGroupDefaultClasses, radioHoverBorderClasses, radioLabelBaseClasses, radioRootBaseClasses, radioSizeClasses, radioVisualBaseClasses, replaceKeys, resolveLocaleText, restoreFocus, scrollToAnchor, scrollToTop, selectBaseClasses, selectDropdownBaseClasses, selectEmptyStateClasses, selectGroupLabelClasses, selectOptionBaseClasses, selectOptionDisabledClasses, selectOptionSelectedClasses, selectSearchInputClasses, setThemeColors, shouldHideBadge, skeletonAnimationClasses, skeletonBaseClasses, skeletonShapeClasses, skeletonVariantDefaults, sliderBaseClasses, sliderDisabledClasses, sliderGetKeyboardValue, sliderGetPercentage, sliderGetValueFromPosition, sliderNormalizeValue, sliderRangeClasses, sliderSizeClasses, sliderThumbClasses, sliderTooltipClasses, sliderTrackClasses, sortActivityGroups, sortAscIcon16PathD, sortBothIcon16PathD, sortData, sortDescIcon16PathD, sortNotificationGroups, stackSeriesData, statusErrorIconPath, statusIconPaths, statusInfoIconPath, statusSuccessIconPath, statusWarningIconPath, stepFinishIconPathD, stepFinishIconPathStrokeLinecap, stepFinishIconPathStrokeLinejoin, stepFinishIconPathStrokeWidth, stepFinishIconSvgClasses, stepFinishIconViewBox, submenuContentHorizontalClasses, submenuContentInlineClasses, submenuContentPopupClasses, submenuContentVerticalClasses, submenuExpandIconClasses, submenuExpandIconExpandedClasses, submenuTitleClasses, successCircleSolidIcon20PathD, switchBaseClasses, switchSizeClasses, switchThumbSizeClasses, switchThumbTranslateClasses, tabAddButtonClasses, tabCloseButtonClasses, tabContentBaseClasses, tabFocusClasses, tabItemBaseClasses, tabItemCardActiveClasses, tabItemCardClasses, tabItemDisabledClasses, tabItemEditableCardActiveClasses, tabItemEditableCardClasses, tabItemLineActiveClasses, tabItemLineClasses, tabItemSizeClasses, tabNavBaseClasses, tabNavListBaseClasses, tabNavListCenteredClasses, tabNavListPositionClasses, tabNavPositionClasses, tabPaneBaseClasses, tabPaneHiddenClasses, tableBaseClasses, tableContainerClasses, tableEmptyStateClasses, tableLoadingOverlayClasses, tablePaginationContainerClasses, tabsBaseClasses, tagBaseClasses, tagCloseButtonBaseClasses, tagCloseIconPath, tagSizeClasses, textAlignClasses, textColorClasses, textDecorationClasses, textSizeClasses, textWeightClasses, tigercatPlugin, tigercatTheme, timePickerBaseClasses, timePickerClearButtonClasses, timePickerColumnClasses, timePickerColumnHeaderClasses, timePickerColumnListClasses, timePickerFooterButtonClasses, timePickerFooterClasses, timePickerInputWrapperClasses, timePickerPanelClasses, timePickerPanelContentClasses, timePickerRangeHeaderClasses, timelineContainerClasses, timelineContentClasses, timelineCustomDotClasses, timelineDescriptionClasses, timelineDotClasses, timelineHeadClasses, timelineItemClasses, timelineLabelClasses, timelineListClasses, timelineTailClasses, to12HourFormat, to24HourFormat, toActivityTimelineItems, toggleKey, togglePanelKey, treeBaseClasses, treeEmptyStateClasses, treeLineClasses, treeLoadingClasses, treeNodeCheckboxClasses, treeNodeChildrenClasses, treeNodeContentClasses, treeNodeDisabledClasses, treeNodeExpandIconClasses, treeNodeExpandIconExpandedClasses, treeNodeHoverClasses, treeNodeIconClasses, treeNodeIndentClasses, treeNodeLabelClasses, treeNodeSelectedClasses, treeNodeWrapperClasses, uploadStatusIconColorClasses, uploadStatusIconSizeClasses, validateCurrentPage, validateField, validateFileSize, validateFileType, validateForm, validateRule, version };
|