@expcat/tigercat-core 0.3.70 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +413 -8
- package/dist/index.d.cts +494 -7
- package/dist/index.d.ts +494 -7
- package/dist/index.js +362 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -113,6 +113,7 @@ __export(index_exports, {
|
|
|
113
113
|
DEFAULT_CHART_COLORS: () => DEFAULT_CHART_COLORS,
|
|
114
114
|
DEFAULT_FORM_WIZARD_LABELS: () => DEFAULT_FORM_WIZARD_LABELS,
|
|
115
115
|
DEFAULT_PAGINATION_LABELS: () => DEFAULT_PAGINATION_LABELS,
|
|
116
|
+
DEFAULT_TASK_BOARD_LABELS: () => DEFAULT_TASK_BOARD_LABELS,
|
|
116
117
|
DONUT_BASE_SHADOW: () => DONUT_BASE_SHADOW,
|
|
117
118
|
DONUT_EMPHASIS_SHADOW: () => DONUT_EMPHASIS_SHADOW,
|
|
118
119
|
DROPDOWN_CHEVRON_PATH: () => DROPDOWN_CHEVRON_PATH,
|
|
@@ -146,6 +147,7 @@ __export(index_exports, {
|
|
|
146
147
|
TimePickerCloseIconPath: () => TimePickerCloseIconPath,
|
|
147
148
|
ZH_CN_FORM_WIZARD_LABELS: () => ZH_CN_FORM_WIZARD_LABELS,
|
|
148
149
|
ZH_CN_PAGINATION_LABELS: () => ZH_CN_PAGINATION_LABELS,
|
|
150
|
+
ZH_CN_TASK_BOARD_LABELS: () => ZH_CN_TASK_BOARD_LABELS,
|
|
149
151
|
activeOpacityClasses: () => activeOpacityClasses,
|
|
150
152
|
activePressClasses: () => activePressClasses,
|
|
151
153
|
alertBaseClasses: () => alertBaseClasses,
|
|
@@ -253,6 +255,7 @@ __export(index_exports, {
|
|
|
253
255
|
clampPercentage: () => clampPercentage,
|
|
254
256
|
clampScale: () => clampScale,
|
|
255
257
|
clampSlideIndex: () => clampSlideIndex,
|
|
258
|
+
clampValue: () => clampValue,
|
|
256
259
|
classNames: () => classNames,
|
|
257
260
|
clearFieldErrors: () => clearFieldErrors,
|
|
258
261
|
clipCommentTreeDepth: () => clipCommentTreeDepth,
|
|
@@ -294,13 +297,16 @@ __export(index_exports, {
|
|
|
294
297
|
createAreaPath: () => createAreaPath,
|
|
295
298
|
createAriaId: () => createAriaId,
|
|
296
299
|
createBandScale: () => createBandScale,
|
|
300
|
+
createCardDragData: () => createCardDragData,
|
|
297
301
|
createChartInteractionHandlers: () => createChartInteractionHandlers,
|
|
302
|
+
createColumnDragData: () => createColumnDragData,
|
|
298
303
|
createFloatingIdFactory: () => createFloatingIdFactory,
|
|
299
304
|
createLinePath: () => createLinePath,
|
|
300
305
|
createLinearScale: () => createLinearScale,
|
|
301
306
|
createPieArcPath: () => createPieArcPath,
|
|
302
307
|
createPointScale: () => createPointScale,
|
|
303
308
|
createPolygonPath: () => createPolygonPath,
|
|
309
|
+
createTouchDragTracker: () => createTouchDragTracker,
|
|
304
310
|
cropCanvas: () => cropCanvas,
|
|
305
311
|
cropUploadTriggerClasses: () => cropUploadTriggerClasses,
|
|
306
312
|
cropUploadTriggerDisabledClasses: () => cropUploadTriggerDisabledClasses,
|
|
@@ -352,11 +358,14 @@ __export(index_exports, {
|
|
|
352
358
|
dotsVariantConfig: () => dotsVariantConfig,
|
|
353
359
|
ensureBarMinHeight: () => ensureBarMinHeight,
|
|
354
360
|
errorCircleSolidIcon20PathD: () => errorCircleSolidIcon20PathD,
|
|
361
|
+
expandIconButtonClasses: () => expandIconButtonClasses,
|
|
362
|
+
expandedRowContentClasses: () => expandedRowContentClasses,
|
|
355
363
|
fileToUploadFile: () => fileToUploadFile,
|
|
356
364
|
filterData: () => filterData,
|
|
357
365
|
filterOptions: () => filterOptions,
|
|
358
366
|
filterTreeNodes: () => filterTreeNodes,
|
|
359
367
|
findActiveAnchor: () => findActiveAnchor,
|
|
368
|
+
findColumnFromPoint: () => findColumnFromPoint,
|
|
360
369
|
findNode: () => findNode,
|
|
361
370
|
flattenSelectOptions: () => flattenSelectOptions,
|
|
362
371
|
focusElement: () => focusElement,
|
|
@@ -374,6 +383,7 @@ __export(index_exports, {
|
|
|
374
383
|
formatMonthYear: () => formatMonthYear,
|
|
375
384
|
formatPageAriaLabel: () => formatPageAriaLabel,
|
|
376
385
|
formatPaginationTotal: () => formatPaginationTotal,
|
|
386
|
+
formatPrecision: () => formatPrecision,
|
|
377
387
|
formatProgressText: () => formatProgressText,
|
|
378
388
|
formatTime: () => formatTime,
|
|
379
389
|
formatTimeDisplay: () => formatTimeDisplay,
|
|
@@ -431,6 +441,7 @@ __export(index_exports, {
|
|
|
431
441
|
getCollapseIconClasses: () => getCollapseIconClasses,
|
|
432
442
|
getCollapsePanelClasses: () => getCollapsePanelClasses,
|
|
433
443
|
getCollapsePanelHeaderClasses: () => getCollapsePanelHeaderClasses,
|
|
444
|
+
getColumnDropIndex: () => getColumnDropIndex,
|
|
434
445
|
getContainerClasses: () => getContainerClasses,
|
|
435
446
|
getContainerHeight: () => getContainerHeight,
|
|
436
447
|
getContainerScrollTop: () => getContainerScrollTop,
|
|
@@ -459,6 +470,7 @@ __export(index_exports, {
|
|
|
459
470
|
getDrawerMaskClasses: () => getDrawerMaskClasses,
|
|
460
471
|
getDrawerPanelClasses: () => getDrawerPanelClasses,
|
|
461
472
|
getDrawerTitleClasses: () => getDrawerTitleClasses,
|
|
473
|
+
getDropIndex: () => getDropIndex,
|
|
462
474
|
getDropdownChevronClasses: () => getDropdownChevronClasses,
|
|
463
475
|
getDropdownContainerClasses: () => getDropdownContainerClasses,
|
|
464
476
|
getDropdownItemClasses: () => getDropdownItemClasses,
|
|
@@ -466,6 +478,8 @@ __export(index_exports, {
|
|
|
466
478
|
getDropdownTriggerClasses: () => getDropdownTriggerClasses,
|
|
467
479
|
getElementOffsetTop: () => getElementOffsetTop,
|
|
468
480
|
getErrorFields: () => getErrorFields,
|
|
481
|
+
getExpandCellClasses: () => getExpandCellClasses,
|
|
482
|
+
getExpandIconRotationClasses: () => getExpandIconRotationClasses,
|
|
469
483
|
getFieldError: () => getFieldError,
|
|
470
484
|
getFileListItemClasses: () => getFileListItemClasses,
|
|
471
485
|
getFirstDayOfMonth: () => getFirstDayOfMonth,
|
|
@@ -488,6 +502,13 @@ __export(index_exports, {
|
|
|
488
502
|
getInputAffixClasses: () => getInputAffixClasses,
|
|
489
503
|
getInputClasses: () => getInputClasses,
|
|
490
504
|
getInputErrorClasses: () => getInputErrorClasses,
|
|
505
|
+
getInputNumberFocusRingColor: () => getInputNumberFocusRingColor,
|
|
506
|
+
getInputNumberInputClasses: () => getInputNumberInputClasses,
|
|
507
|
+
getInputNumberSideButtonClasses: () => getInputNumberSideButtonClasses,
|
|
508
|
+
getInputNumberSizeClasses: () => getInputNumberSizeClasses,
|
|
509
|
+
getInputNumberStatusClasses: () => getInputNumberStatusClasses,
|
|
510
|
+
getInputNumberStepButtonClasses: () => getInputNumberStepButtonClasses,
|
|
511
|
+
getInputNumberWrapperClasses: () => getInputNumberWrapperClasses,
|
|
491
512
|
getInputWrapperClasses: () => getInputWrapperClasses,
|
|
492
513
|
getJustifyClasses: () => getJustifyClasses,
|
|
493
514
|
getLeafKeys: () => getLeafKeys,
|
|
@@ -581,6 +602,7 @@ __export(index_exports, {
|
|
|
581
602
|
getSeparatorContent: () => getSeparatorContent,
|
|
582
603
|
getShortDayNames: () => getShortDayNames,
|
|
583
604
|
getShortMonthNames: () => getShortMonthNames,
|
|
605
|
+
getSidebarStyle: () => getSidebarStyle,
|
|
584
606
|
getSimplePaginationButtonClasses: () => getSimplePaginationButtonClasses,
|
|
585
607
|
getSimplePaginationButtonsWrapperClasses: () => getSimplePaginationButtonsWrapperClasses,
|
|
586
608
|
getSimplePaginationContainerClasses: () => getSimplePaginationContainerClasses,
|
|
@@ -609,6 +631,7 @@ __export(index_exports, {
|
|
|
609
631
|
getStepsContainerClasses: () => getStepsContainerClasses,
|
|
610
632
|
getSubMenuExpandIconClasses: () => getSubMenuExpandIconClasses,
|
|
611
633
|
getSubMenuTitleClasses: () => getSubMenuTitleClasses,
|
|
634
|
+
getSubmenuPopupZIndex: () => getSubmenuPopupZIndex,
|
|
612
635
|
getSvgDefaultAttrs: () => getSvgDefaultAttrs,
|
|
613
636
|
getSwitchClasses: () => getSwitchClasses,
|
|
614
637
|
getSwitchThumbClasses: () => getSwitchThumbClasses,
|
|
@@ -623,6 +646,7 @@ __export(index_exports, {
|
|
|
623
646
|
getTableWrapperClasses: () => getTableWrapperClasses,
|
|
624
647
|
getTabsContainerClasses: () => getTabsContainerClasses,
|
|
625
648
|
getTagVariantClasses: () => getTagVariantClasses,
|
|
649
|
+
getTaskBoardLabels: () => getTaskBoardLabels,
|
|
626
650
|
getTextClasses: () => getTextClasses,
|
|
627
651
|
getThemeColor: () => getThemeColor,
|
|
628
652
|
getTimePeriodLabels: () => getTimePeriodLabels,
|
|
@@ -693,9 +717,16 @@ __export(index_exports, {
|
|
|
693
717
|
injectShakeStyle: () => injectShakeStyle,
|
|
694
718
|
injectSvgAnimationStyles: () => injectSvgAnimationStyles,
|
|
695
719
|
inputFocusClasses: () => inputFocusClasses,
|
|
720
|
+
inputNumberControlsRightClasses: () => inputNumberControlsRightClasses,
|
|
721
|
+
inputNumberDownIconPathD: () => inputNumberDownIconPathD,
|
|
722
|
+
inputNumberMinusIconPathD: () => inputNumberMinusIconPathD,
|
|
723
|
+
inputNumberPlusIconPathD: () => inputNumberPlusIconPathD,
|
|
724
|
+
inputNumberUpIconPathD: () => inputNumberUpIconPathD,
|
|
696
725
|
interactiveClasses: () => interactiveClasses,
|
|
697
726
|
interpolateUploadLabel: () => interpolateUploadLabel,
|
|
698
727
|
isActivationKey: () => isActivationKey,
|
|
728
|
+
isAtMax: () => isAtMax,
|
|
729
|
+
isAtMin: () => isAtMin,
|
|
699
730
|
isBrowser: () => isBrowser,
|
|
700
731
|
isDateInRange: () => isDateInRange,
|
|
701
732
|
isEnterKey: () => isEnterKey,
|
|
@@ -714,11 +745,13 @@ __export(index_exports, {
|
|
|
714
745
|
isTabKey: () => isTabKey,
|
|
715
746
|
isTimeInRange: () => isTimeInRange,
|
|
716
747
|
isToday: () => isToday,
|
|
748
|
+
isWipExceeded: () => isWipExceeded,
|
|
717
749
|
layoutContentClasses: () => layoutContentClasses,
|
|
718
750
|
layoutFooterClasses: () => layoutFooterClasses,
|
|
719
751
|
layoutHeaderClasses: () => layoutHeaderClasses,
|
|
720
752
|
layoutRootClasses: () => layoutRootClasses,
|
|
721
753
|
layoutSidebarClasses: () => layoutSidebarClasses,
|
|
754
|
+
layoutSidebarCollapsedClasses: () => layoutSidebarCollapsedClasses,
|
|
722
755
|
linePointTransitionClasses: () => linePointTransitionClasses,
|
|
723
756
|
linkBaseClasses: () => linkBaseClasses,
|
|
724
757
|
linkDisabledClasses: () => linkDisabledClasses,
|
|
@@ -791,6 +824,7 @@ __export(index_exports, {
|
|
|
791
824
|
modalSizeClasses: () => modalSizeClasses,
|
|
792
825
|
modalTitleClasses: () => modalTitleClasses,
|
|
793
826
|
modalWrapperClasses: () => modalWrapperClasses,
|
|
827
|
+
moveCard: () => moveCard,
|
|
794
828
|
moveCropRect: () => moveCropRect,
|
|
795
829
|
moveFocusInMenu: () => moveFocusInMenu,
|
|
796
830
|
nextIconPath: () => nextIconPath,
|
|
@@ -812,6 +846,7 @@ __export(index_exports, {
|
|
|
812
846
|
notificationTitleClasses: () => notificationTitleClasses,
|
|
813
847
|
paginateData: () => paginateData,
|
|
814
848
|
parseDate: () => parseDate,
|
|
849
|
+
parseDragData: () => parseDragData,
|
|
815
850
|
parseInputValue: () => parseInputValue,
|
|
816
851
|
parseTime: () => parseTime,
|
|
817
852
|
parseWidthToPx: () => parseWidthToPx,
|
|
@@ -849,6 +884,7 @@ __export(index_exports, {
|
|
|
849
884
|
radioRootBaseClasses: () => radioRootBaseClasses,
|
|
850
885
|
radioSizeClasses: () => radioSizeClasses,
|
|
851
886
|
radioVisualBaseClasses: () => radioVisualBaseClasses,
|
|
887
|
+
reorderColumns: () => reorderColumns,
|
|
852
888
|
replaceKeys: () => replaceKeys,
|
|
853
889
|
resetAreaGradientCounter: () => resetAreaGradientCounter,
|
|
854
890
|
resetBarGradientCounter: () => resetBarGradientCounter,
|
|
@@ -873,6 +909,7 @@ __export(index_exports, {
|
|
|
873
909
|
selectOptionDisabledClasses: () => selectOptionDisabledClasses,
|
|
874
910
|
selectOptionSelectedClasses: () => selectOptionSelectedClasses,
|
|
875
911
|
selectSearchInputClasses: () => selectSearchInputClasses,
|
|
912
|
+
setDragData: () => setDragData,
|
|
876
913
|
setThemeColors: () => setThemeColors,
|
|
877
914
|
shouldHideBadge: () => shouldHideBadge,
|
|
878
915
|
skeletonAnimationClasses: () => skeletonAnimationClasses,
|
|
@@ -903,7 +940,9 @@ __export(index_exports, {
|
|
|
903
940
|
statusSuccessIconPath: () => statusSuccessIconPath,
|
|
904
941
|
statusWarningIconPath: () => statusWarningIconPath,
|
|
905
942
|
stepFinishChar: () => stepFinishChar,
|
|
943
|
+
stepValue: () => stepValue,
|
|
906
944
|
submenuContentHorizontalClasses: () => submenuContentHorizontalClasses,
|
|
945
|
+
submenuContentHorizontalNestedClasses: () => submenuContentHorizontalNestedClasses,
|
|
907
946
|
submenuContentInlineClasses: () => submenuContentInlineClasses,
|
|
908
947
|
submenuContentPopupClasses: () => submenuContentPopupClasses,
|
|
909
948
|
submenuContentVerticalClasses: () => submenuContentVerticalClasses,
|
|
@@ -946,6 +985,18 @@ __export(index_exports, {
|
|
|
946
985
|
tagCloseButtonBaseClasses: () => tagCloseButtonBaseClasses,
|
|
947
986
|
tagCloseIconPath: () => tagCloseIconPath,
|
|
948
987
|
tagSizeClasses: () => tagSizeClasses,
|
|
988
|
+
taskBoardAddCardClasses: () => taskBoardAddCardClasses,
|
|
989
|
+
taskBoardBaseClasses: () => taskBoardBaseClasses,
|
|
990
|
+
taskBoardCardClasses: () => taskBoardCardClasses,
|
|
991
|
+
taskBoardCardDraggingClasses: () => taskBoardCardDraggingClasses,
|
|
992
|
+
taskBoardColumnBodyClasses: () => taskBoardColumnBodyClasses,
|
|
993
|
+
taskBoardColumnClasses: () => taskBoardColumnClasses,
|
|
994
|
+
taskBoardColumnDraggingClasses: () => taskBoardColumnDraggingClasses,
|
|
995
|
+
taskBoardColumnDropTargetClasses: () => taskBoardColumnDropTargetClasses,
|
|
996
|
+
taskBoardColumnHeaderClasses: () => taskBoardColumnHeaderClasses,
|
|
997
|
+
taskBoardDropIndicatorClasses: () => taskBoardDropIndicatorClasses,
|
|
998
|
+
taskBoardEmptyClasses: () => taskBoardEmptyClasses,
|
|
999
|
+
taskBoardWipExceededClasses: () => taskBoardWipExceededClasses,
|
|
949
1000
|
textAlignClasses: () => textAlignClasses,
|
|
950
1001
|
textColorClasses: () => textColorClasses,
|
|
951
1002
|
textDecorationClasses: () => textDecorationClasses,
|
|
@@ -1592,7 +1643,8 @@ function mergeTigerLocale(base, override) {
|
|
|
1592
1643
|
drawer: { ...base?.drawer, ...override?.drawer },
|
|
1593
1644
|
upload: { ...base?.upload, ...override?.upload },
|
|
1594
1645
|
pagination: { ...base?.pagination, ...override?.pagination },
|
|
1595
|
-
formWizard: { ...base?.formWizard, ...override?.formWizard }
|
|
1646
|
+
formWizard: { ...base?.formWizard, ...override?.formWizard },
|
|
1647
|
+
taskBoard: { ...base?.taskBoard, ...override?.taskBoard }
|
|
1596
1648
|
};
|
|
1597
1649
|
}
|
|
1598
1650
|
var DEFAULT_PAGINATION_LABELS = {
|
|
@@ -1647,6 +1699,29 @@ function formatPaginationTotal(template, total, range) {
|
|
|
1647
1699
|
function formatPageAriaLabel(template, page) {
|
|
1648
1700
|
return template.replace("{page}", String(page));
|
|
1649
1701
|
}
|
|
1702
|
+
var DEFAULT_TASK_BOARD_LABELS = {
|
|
1703
|
+
emptyColumnText: "No tasks",
|
|
1704
|
+
addCardText: "Add task",
|
|
1705
|
+
wipLimitText: "WIP limit: {limit}",
|
|
1706
|
+
dragHintText: "Drag to move",
|
|
1707
|
+
boardAriaLabel: "Task Board"
|
|
1708
|
+
};
|
|
1709
|
+
var ZH_CN_TASK_BOARD_LABELS = {
|
|
1710
|
+
emptyColumnText: "\u6682\u65E0\u4EFB\u52A1",
|
|
1711
|
+
addCardText: "\u6DFB\u52A0\u4EFB\u52A1",
|
|
1712
|
+
wipLimitText: "WIP \u9650\u5236: {limit}",
|
|
1713
|
+
dragHintText: "\u62D6\u62FD\u4EE5\u79FB\u52A8",
|
|
1714
|
+
boardAriaLabel: "\u4EFB\u52A1\u770B\u677F"
|
|
1715
|
+
};
|
|
1716
|
+
function getTaskBoardLabels(locale) {
|
|
1717
|
+
return {
|
|
1718
|
+
emptyColumnText: locale?.taskBoard?.emptyColumnText ?? DEFAULT_TASK_BOARD_LABELS.emptyColumnText,
|
|
1719
|
+
addCardText: locale?.taskBoard?.addCardText ?? DEFAULT_TASK_BOARD_LABELS.addCardText,
|
|
1720
|
+
wipLimitText: locale?.taskBoard?.wipLimitText ?? DEFAULT_TASK_BOARD_LABELS.wipLimitText,
|
|
1721
|
+
dragHintText: locale?.taskBoard?.dragHintText ?? DEFAULT_TASK_BOARD_LABELS.dragHintText,
|
|
1722
|
+
boardAriaLabel: locale?.taskBoard?.boardAriaLabel ?? DEFAULT_TASK_BOARD_LABELS.boardAriaLabel
|
|
1723
|
+
};
|
|
1724
|
+
}
|
|
1650
1725
|
|
|
1651
1726
|
// src/utils/datepicker-i18n.ts
|
|
1652
1727
|
function getDatePickerLabels(locale, overrides) {
|
|
@@ -2005,6 +2080,106 @@ function parseInputValue(target, type) {
|
|
|
2005
2080
|
return target.value;
|
|
2006
2081
|
}
|
|
2007
2082
|
|
|
2083
|
+
// src/utils/input-number-utils.ts
|
|
2084
|
+
function getInputNumberWrapperClasses(disabled) {
|
|
2085
|
+
return classNames(
|
|
2086
|
+
"inline-flex items-center relative w-full",
|
|
2087
|
+
"border rounded-md shadow-sm",
|
|
2088
|
+
"bg-[var(--tiger-surface,#ffffff)]",
|
|
2089
|
+
"transition-colors",
|
|
2090
|
+
disabled ? "bg-[var(--tiger-surface-muted,#f3f4f6)] cursor-not-allowed opacity-60" : "hover:border-[var(--tiger-primary,#2563eb)]"
|
|
2091
|
+
);
|
|
2092
|
+
}
|
|
2093
|
+
var WRAPPER_STATUS_CLASSES = {
|
|
2094
|
+
default: "border-[var(--tiger-border,#e5e7eb)]",
|
|
2095
|
+
error: "border-red-500",
|
|
2096
|
+
success: "border-green-500",
|
|
2097
|
+
warning: "border-yellow-500"
|
|
2098
|
+
};
|
|
2099
|
+
var WRAPPER_FOCUS_STATUS_CLASSES = {
|
|
2100
|
+
default: "ring-[var(--tiger-primary,#2563eb)]",
|
|
2101
|
+
error: "ring-red-500",
|
|
2102
|
+
success: "ring-green-500",
|
|
2103
|
+
warning: "ring-yellow-500"
|
|
2104
|
+
};
|
|
2105
|
+
function getInputNumberStatusClasses(status = "default") {
|
|
2106
|
+
return WRAPPER_STATUS_CLASSES[status];
|
|
2107
|
+
}
|
|
2108
|
+
function getInputNumberFocusRingColor(status = "default") {
|
|
2109
|
+
return WRAPPER_FOCUS_STATUS_CLASSES[status];
|
|
2110
|
+
}
|
|
2111
|
+
var WRAPPER_SIZE_CLASSES = {
|
|
2112
|
+
sm: "h-8",
|
|
2113
|
+
md: "h-10",
|
|
2114
|
+
lg: "h-12"
|
|
2115
|
+
};
|
|
2116
|
+
function getInputNumberSizeClasses(size = "md") {
|
|
2117
|
+
return WRAPPER_SIZE_CLASSES[size];
|
|
2118
|
+
}
|
|
2119
|
+
var INPUT_SIZE_CLASSES2 = {
|
|
2120
|
+
sm: "text-sm px-2",
|
|
2121
|
+
md: "text-base px-3",
|
|
2122
|
+
lg: "text-lg px-4"
|
|
2123
|
+
};
|
|
2124
|
+
function getInputNumberInputClasses(size = "md", hasControlsRight, hasControlsBoth) {
|
|
2125
|
+
return classNames(
|
|
2126
|
+
"w-full h-full bg-transparent border-0 outline-none",
|
|
2127
|
+
"text-[var(--tiger-text,#111827)]",
|
|
2128
|
+
"placeholder:text-[var(--tiger-text-muted,#6b7280)]",
|
|
2129
|
+
"disabled:text-[var(--tiger-text-muted,#6b7280)] disabled:cursor-not-allowed",
|
|
2130
|
+
"[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
2131
|
+
INPUT_SIZE_CLASSES2[size],
|
|
2132
|
+
hasControlsRight && "pr-8",
|
|
2133
|
+
hasControlsBoth && "px-8 text-center"
|
|
2134
|
+
);
|
|
2135
|
+
}
|
|
2136
|
+
function getInputNumberStepButtonClasses(position, disabled) {
|
|
2137
|
+
return classNames(
|
|
2138
|
+
"flex items-center justify-center",
|
|
2139
|
+
"w-7 h-1/2",
|
|
2140
|
+
"border-l border-[var(--tiger-border,#e5e7eb)]",
|
|
2141
|
+
"text-[var(--tiger-text-muted,#6b7280)]",
|
|
2142
|
+
"transition-colors cursor-pointer select-none",
|
|
2143
|
+
position === "up" ? "border-b border-b-[var(--tiger-border,#e5e7eb)]" : "",
|
|
2144
|
+
disabled ? "opacity-40 cursor-not-allowed" : "hover:text-[var(--tiger-primary,#2563eb)] hover:bg-[var(--tiger-surface-muted,#f9fafb)]"
|
|
2145
|
+
);
|
|
2146
|
+
}
|
|
2147
|
+
function getInputNumberSideButtonClasses(position, disabled) {
|
|
2148
|
+
return classNames(
|
|
2149
|
+
"flex items-center justify-center",
|
|
2150
|
+
"w-8 h-full",
|
|
2151
|
+
"text-[var(--tiger-text-muted,#6b7280)]",
|
|
2152
|
+
"transition-colors cursor-pointer select-none",
|
|
2153
|
+
position === "left" ? "border-r border-r-[var(--tiger-border,#e5e7eb)] rounded-l-md" : "border-l border-l-[var(--tiger-border,#e5e7eb)] rounded-r-md",
|
|
2154
|
+
disabled ? "opacity-40 cursor-not-allowed" : "hover:text-[var(--tiger-primary,#2563eb)] hover:bg-[var(--tiger-surface-muted,#f9fafb)]"
|
|
2155
|
+
);
|
|
2156
|
+
}
|
|
2157
|
+
var inputNumberControlsRightClasses = "absolute right-0 top-0 h-full flex flex-col";
|
|
2158
|
+
var inputNumberUpIconPathD = "M7 10l5-5 5 5H7z";
|
|
2159
|
+
var inputNumberDownIconPathD = "M7 7l5 5 5-5H7z";
|
|
2160
|
+
var inputNumberMinusIconPathD = "M5 12h14";
|
|
2161
|
+
var inputNumberPlusIconPathD = "M12 5v14M5 12h14";
|
|
2162
|
+
function clampValue(value, min = -Infinity, max = Infinity) {
|
|
2163
|
+
return Math.min(Math.max(value, min), max);
|
|
2164
|
+
}
|
|
2165
|
+
function stepValue(current, step, direction, min = -Infinity, max = Infinity, precision) {
|
|
2166
|
+
const base = current ?? 0;
|
|
2167
|
+
const raw = direction === "up" ? base + step : base - step;
|
|
2168
|
+
const clamped = clampValue(raw, min, max);
|
|
2169
|
+
return precision !== void 0 ? formatPrecision(clamped, precision) : clamped;
|
|
2170
|
+
}
|
|
2171
|
+
function formatPrecision(value, precision) {
|
|
2172
|
+
return Number(value.toFixed(precision));
|
|
2173
|
+
}
|
|
2174
|
+
function isAtMin(value, min = -Infinity) {
|
|
2175
|
+
if (value === null || value === void 0) return false;
|
|
2176
|
+
return value <= min;
|
|
2177
|
+
}
|
|
2178
|
+
function isAtMax(value, max = Infinity) {
|
|
2179
|
+
if (value === null || value === void 0) return false;
|
|
2180
|
+
return value >= max;
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2008
2183
|
// src/utils/form-item-styles.ts
|
|
2009
2184
|
var FORM_ITEM_SPACING = {
|
|
2010
2185
|
sm: "mb-3 last:mb-0",
|
|
@@ -2780,7 +2955,7 @@ function isValidTimeValue(value, min, max) {
|
|
|
2780
2955
|
function validateStep(step) {
|
|
2781
2956
|
return Math.max(1, Math.floor(step));
|
|
2782
2957
|
}
|
|
2783
|
-
function
|
|
2958
|
+
function clampValue2(value, min, max) {
|
|
2784
2959
|
return Math.max(min, Math.min(max, value));
|
|
2785
2960
|
}
|
|
2786
2961
|
function parseTime(timeString) {
|
|
@@ -2796,9 +2971,9 @@ function parseTime(timeString) {
|
|
|
2796
2971
|
return { hours, minutes, seconds };
|
|
2797
2972
|
}
|
|
2798
2973
|
function formatTime(hours, minutes, seconds = 0, showSeconds = false) {
|
|
2799
|
-
const h =
|
|
2800
|
-
const m =
|
|
2801
|
-
const s =
|
|
2974
|
+
const h = clampValue2(hours, 0, 23).toString().padStart(2, "0");
|
|
2975
|
+
const m = clampValue2(minutes, 0, 59).toString().padStart(2, "0");
|
|
2976
|
+
const s = clampValue2(seconds, 0, 59).toString().padStart(2, "0");
|
|
2802
2977
|
return showSeconds ? `${h}:${m}:${s}` : `${h}:${m}`;
|
|
2803
2978
|
}
|
|
2804
2979
|
function to12HourFormat(hours) {
|
|
@@ -2843,8 +3018,8 @@ function formatTimeDisplayWithLocale(hours, minutes, seconds = 0, format = "24",
|
|
|
2843
3018
|
}
|
|
2844
3019
|
const { hours: hours12, period } = to12HourFormat(hours);
|
|
2845
3020
|
const h = hours12.toString().padStart(2, "0");
|
|
2846
|
-
const m =
|
|
2847
|
-
const s =
|
|
3021
|
+
const m = clampValue2(minutes, 0, 59).toString().padStart(2, "0");
|
|
3022
|
+
const s = clampValue2(seconds, 0, 59).toString().padStart(2, "0");
|
|
2848
3023
|
const timeStr = showSeconds ? `${h}:${m}:${s}` : `${h}:${m}`;
|
|
2849
3024
|
const labels = getTimePeriodLabels(locale);
|
|
2850
3025
|
const suffix = period === "AM" ? labels.am : labels.pm;
|
|
@@ -3338,6 +3513,11 @@ function getDividerStyle(orientation, color, thickness) {
|
|
|
3338
3513
|
var layoutRootClasses = "tiger-layout flex flex-col min-h-screen";
|
|
3339
3514
|
var layoutHeaderClasses = "tiger-header bg-[var(--tiger-surface,#ffffff)] border-b border-[var(--tiger-border,#e5e7eb)]";
|
|
3340
3515
|
var layoutSidebarClasses = "tiger-sidebar bg-[var(--tiger-surface,#ffffff)] border-r border-[var(--tiger-border,#e5e7eb)] overflow-hidden transition-all duration-300";
|
|
3516
|
+
var layoutSidebarCollapsedClasses = "tiger-sidebar-collapsed";
|
|
3517
|
+
function getSidebarStyle(collapsed, width = "256px", collapsedWidth = "64px") {
|
|
3518
|
+
const w = collapsed ? collapsedWidth : width;
|
|
3519
|
+
return { width: w, minWidth: w };
|
|
3520
|
+
}
|
|
3341
3521
|
var layoutContentClasses = "tiger-content flex-1 bg-[var(--tiger-layout-content-bg,#f9fafb)] p-6";
|
|
3342
3522
|
var layoutFooterClasses = "tiger-footer bg-[var(--tiger-surface,#ffffff)] border-t border-[var(--tiger-border,#e5e7eb)] p-4";
|
|
3343
3523
|
|
|
@@ -3511,6 +3691,14 @@ function getCheckboxCellClasses(size) {
|
|
|
3511
3691
|
};
|
|
3512
3692
|
return classNames("text-center", widthClasses[size]);
|
|
3513
3693
|
}
|
|
3694
|
+
function getExpandCellClasses(size) {
|
|
3695
|
+
return getCheckboxCellClasses(size);
|
|
3696
|
+
}
|
|
3697
|
+
var expandIconButtonClasses = "inline-flex items-center justify-center w-5 h-5 rounded cursor-pointer border-0 bg-transparent transition-transform duration-200 text-[var(--tiger-text-muted,#6b7280)] hover:text-[var(--tiger-text,#111827)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--tiger-focus-ring,var(--tiger-primary,#2563eb))]";
|
|
3698
|
+
function getExpandIconRotationClasses(expanded) {
|
|
3699
|
+
return expanded ? "rotate-90" : "rotate-0";
|
|
3700
|
+
}
|
|
3701
|
+
var expandedRowContentClasses = "bg-[var(--tiger-surface-muted,#f9fafb)] border-b border-[var(--tiger-border,#e5e7eb)]";
|
|
3514
3702
|
function defaultSortFn(a, b) {
|
|
3515
3703
|
if (a === null || a === void 0) return 1;
|
|
3516
3704
|
if (b === null || b === void 0) return -1;
|
|
@@ -4425,12 +4613,16 @@ var submenuTitleClasses = "flex w-full items-center justify-between px-4 py-2 te
|
|
|
4425
4613
|
var submenuExpandIconClasses = "ml-2 transition-transform duration-200";
|
|
4426
4614
|
var submenuExpandIconExpandedClasses = "transform rotate-180";
|
|
4427
4615
|
var submenuContentHorizontalClasses = "absolute left-0 top-full mt-0 min-w-[160px] bg-[var(--tiger-surface,#ffffff)] text-[var(--tiger-text,#111827)] border border-[var(--tiger-border,#e5e7eb)] rounded shadow-lg z-50";
|
|
4616
|
+
var submenuContentHorizontalNestedClasses = "absolute left-full top-0 ml-0 min-w-[160px] bg-[var(--tiger-surface,#ffffff)] text-[var(--tiger-text,#111827)] border border-[var(--tiger-border,#e5e7eb)] rounded shadow-lg z-50";
|
|
4428
4617
|
var submenuContentPopupClasses = "absolute left-full top-0 ml-1 min-w-[180px] bg-[var(--tiger-surface,#ffffff)] text-[var(--tiger-text,#111827)] border border-[var(--tiger-border,#e5e7eb)] rounded shadow-lg z-50";
|
|
4429
4618
|
var submenuContentVerticalClasses = "overflow-hidden pl-2";
|
|
4430
4619
|
var submenuContentInlineClasses = "overflow-hidden";
|
|
4431
4620
|
var menuItemGroupTitleClasses = "px-4 py-2 text-xs font-semibold text-[var(--tiger-text-muted,#6b7280)] uppercase tracking-wider";
|
|
4432
4621
|
var menuCollapsedClasses = "min-w-[64px]";
|
|
4433
4622
|
var menuCollapsedItemClasses = "justify-center px-2";
|
|
4623
|
+
function getSubmenuPopupZIndex(level) {
|
|
4624
|
+
return { zIndex: 50 + level * 10 };
|
|
4625
|
+
}
|
|
4434
4626
|
function getMenuClasses(mode, theme, collapsed) {
|
|
4435
4627
|
const classes = [menuBaseClasses, menuModeClasses[mode]];
|
|
4436
4628
|
if (theme === "dark") {
|
|
@@ -4502,7 +4694,11 @@ function replaceKeys(key, keys) {
|
|
|
4502
4694
|
function getMenuButtons(container) {
|
|
4503
4695
|
return Array.from(
|
|
4504
4696
|
container.querySelectorAll('button[data-tiger-menuitem="true"]')
|
|
4505
|
-
).filter((el) =>
|
|
4697
|
+
).filter((el) => {
|
|
4698
|
+
if (el.disabled || el.closest('[data-tiger-menu-hidden="true"]')) return false;
|
|
4699
|
+
const nearest = el.closest('ul[role="menu"]');
|
|
4700
|
+
return nearest === container;
|
|
4701
|
+
});
|
|
4506
4702
|
}
|
|
4507
4703
|
function moveFocusInMenu(current, delta) {
|
|
4508
4704
|
const menuEl = current.closest('ul[role="menu"]');
|
|
@@ -7378,6 +7574,164 @@ var formatCommentTime = (value) => {
|
|
|
7378
7574
|
return value;
|
|
7379
7575
|
};
|
|
7380
7576
|
|
|
7577
|
+
// src/utils/task-board-utils.ts
|
|
7578
|
+
var taskBoardBaseClasses = "tiger-task-board flex gap-4 overflow-x-auto p-4 min-h-[400px]";
|
|
7579
|
+
var taskBoardColumnClasses = "tiger-task-board-column flex flex-col shrink-0 w-72 rounded-lg border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] shadow-sm transition-shadow";
|
|
7580
|
+
var taskBoardColumnHeaderClasses = "flex items-center justify-between px-3 py-2 border-b border-[var(--tiger-border,#e5e7eb)] text-sm font-semibold text-[var(--tiger-text,#1f2937)] select-none";
|
|
7581
|
+
var taskBoardColumnBodyClasses = "flex-1 overflow-y-auto p-2 space-y-2 min-h-[80px]";
|
|
7582
|
+
var taskBoardCardClasses = "tiger-task-board-card rounded-md border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] p-3 shadow-sm cursor-grab select-none transition-opacity";
|
|
7583
|
+
var taskBoardCardDraggingClasses = "opacity-50 shadow-lg";
|
|
7584
|
+
var taskBoardDropIndicatorClasses = "h-1 rounded-full bg-[var(--tiger-primary,#2563eb)] my-1 transition-all";
|
|
7585
|
+
var taskBoardColumnDropTargetClasses = "ring-2 ring-[var(--tiger-primary,#2563eb)] ring-opacity-50";
|
|
7586
|
+
var taskBoardColumnDraggingClasses = "opacity-50";
|
|
7587
|
+
var taskBoardEmptyClasses = "flex items-center justify-center text-[var(--tiger-text-muted,#6b7280)] text-sm py-8";
|
|
7588
|
+
var taskBoardWipExceededClasses = "text-[var(--tiger-error,#ef4444)]";
|
|
7589
|
+
var taskBoardAddCardClasses = "flex items-center justify-center gap-1 w-full py-1.5 text-sm text-[var(--tiger-text-muted,#6b7280)] hover:text-[var(--tiger-primary,#2563eb)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] rounded transition-colors cursor-pointer";
|
|
7590
|
+
var MIME = "text/plain";
|
|
7591
|
+
function createCardDragData(cardId, columnId, index) {
|
|
7592
|
+
const data = { type: "card", cardId, columnId, index };
|
|
7593
|
+
return JSON.stringify(data);
|
|
7594
|
+
}
|
|
7595
|
+
function createColumnDragData(columnId, index) {
|
|
7596
|
+
const data = { type: "column", columnId, index };
|
|
7597
|
+
return JSON.stringify(data);
|
|
7598
|
+
}
|
|
7599
|
+
function parseDragData(dataTransfer) {
|
|
7600
|
+
try {
|
|
7601
|
+
const raw = dataTransfer.getData(MIME);
|
|
7602
|
+
if (!raw) return null;
|
|
7603
|
+
const data = JSON.parse(raw);
|
|
7604
|
+
if (data.type === "card" || data.type === "column") return data;
|
|
7605
|
+
return null;
|
|
7606
|
+
} catch {
|
|
7607
|
+
return null;
|
|
7608
|
+
}
|
|
7609
|
+
}
|
|
7610
|
+
function setDragData(dataTransfer, json) {
|
|
7611
|
+
dataTransfer.setData(MIME, json);
|
|
7612
|
+
dataTransfer.effectAllowed = "move";
|
|
7613
|
+
}
|
|
7614
|
+
function moveCard(columns, cardId, fromColumnId, toColumnId, toIndex, options) {
|
|
7615
|
+
const srcColIdx = columns.findIndex((c) => c.id === fromColumnId);
|
|
7616
|
+
const dstColIdx = columns.findIndex((c) => c.id === toColumnId);
|
|
7617
|
+
if (srcColIdx === -1 || dstColIdx === -1) return null;
|
|
7618
|
+
const srcCol = columns[srcColIdx];
|
|
7619
|
+
const cardIdx = srcCol.cards.findIndex((c) => c.id === cardId);
|
|
7620
|
+
if (cardIdx === -1) return null;
|
|
7621
|
+
const card = srcCol.cards[cardIdx];
|
|
7622
|
+
const clampedTo = Math.max(
|
|
7623
|
+
0,
|
|
7624
|
+
Math.min(
|
|
7625
|
+
toIndex,
|
|
7626
|
+
srcColIdx === dstColIdx ? srcCol.cards.length - 1 : columns[dstColIdx].cards.length
|
|
7627
|
+
)
|
|
7628
|
+
);
|
|
7629
|
+
if (srcColIdx === dstColIdx) {
|
|
7630
|
+
if (cardIdx === clampedTo) return null;
|
|
7631
|
+
const newCards = [...srcCol.cards];
|
|
7632
|
+
newCards.splice(cardIdx, 1);
|
|
7633
|
+
newCards.splice(clampedTo, 0, card);
|
|
7634
|
+
const newCols2 = columns.map((c, i) => i === srcColIdx ? { ...c, cards: newCards } : c);
|
|
7635
|
+
return {
|
|
7636
|
+
columns: newCols2,
|
|
7637
|
+
event: { cardId, fromColumnId, toColumnId, fromIndex: cardIdx, toIndex: clampedTo }
|
|
7638
|
+
};
|
|
7639
|
+
}
|
|
7640
|
+
const dstCol = columns[dstColIdx];
|
|
7641
|
+
if (options?.enforceWipLimit && dstCol.wipLimit != null && dstCol.wipLimit > 0 && dstCol.cards.length >= dstCol.wipLimit) {
|
|
7642
|
+
return null;
|
|
7643
|
+
}
|
|
7644
|
+
const newSrcCards = srcCol.cards.filter((c) => c.id !== cardId);
|
|
7645
|
+
const newDstCards = [...dstCol.cards];
|
|
7646
|
+
newDstCards.splice(clampedTo, 0, card);
|
|
7647
|
+
const newCols = columns.map((c, i) => {
|
|
7648
|
+
if (i === srcColIdx) return { ...c, cards: newSrcCards };
|
|
7649
|
+
if (i === dstColIdx) return { ...c, cards: newDstCards };
|
|
7650
|
+
return c;
|
|
7651
|
+
});
|
|
7652
|
+
return {
|
|
7653
|
+
columns: newCols,
|
|
7654
|
+
event: { cardId, fromColumnId, toColumnId, fromIndex: cardIdx, toIndex: clampedTo }
|
|
7655
|
+
};
|
|
7656
|
+
}
|
|
7657
|
+
function reorderColumns(columns, fromIndex, toIndex) {
|
|
7658
|
+
if (fromIndex === toIndex || fromIndex < 0 || fromIndex >= columns.length || toIndex < 0 || toIndex >= columns.length) {
|
|
7659
|
+
return null;
|
|
7660
|
+
}
|
|
7661
|
+
const col = columns[fromIndex];
|
|
7662
|
+
const next = [...columns];
|
|
7663
|
+
next.splice(fromIndex, 1);
|
|
7664
|
+
next.splice(toIndex, 0, col);
|
|
7665
|
+
return {
|
|
7666
|
+
columns: next,
|
|
7667
|
+
event: { columnId: col.id, fromIndex, toIndex }
|
|
7668
|
+
};
|
|
7669
|
+
}
|
|
7670
|
+
function isWipExceeded(column) {
|
|
7671
|
+
if (column.wipLimit == null || column.wipLimit <= 0) return false;
|
|
7672
|
+
return column.cards.length > column.wipLimit;
|
|
7673
|
+
}
|
|
7674
|
+
function getDropIndex(pointerY, cardRects) {
|
|
7675
|
+
for (let i = 0; i < cardRects.length; i++) {
|
|
7676
|
+
const mid = cardRects[i].top + cardRects[i].height / 2;
|
|
7677
|
+
if (pointerY < mid) return i;
|
|
7678
|
+
}
|
|
7679
|
+
return cardRects.length;
|
|
7680
|
+
}
|
|
7681
|
+
function getColumnDropIndex(pointerX, columnRects) {
|
|
7682
|
+
for (let i = 0; i < columnRects.length; i++) {
|
|
7683
|
+
const mid = columnRects[i].left + columnRects[i].width / 2;
|
|
7684
|
+
if (pointerX < mid) return i;
|
|
7685
|
+
}
|
|
7686
|
+
return columnRects.length;
|
|
7687
|
+
}
|
|
7688
|
+
function createTouchDragTracker() {
|
|
7689
|
+
let state = {
|
|
7690
|
+
startX: 0,
|
|
7691
|
+
startY: 0,
|
|
7692
|
+
currentX: 0,
|
|
7693
|
+
currentY: 0,
|
|
7694
|
+
active: false,
|
|
7695
|
+
sourceElement: null
|
|
7696
|
+
};
|
|
7697
|
+
return {
|
|
7698
|
+
onTouchStart(e, source) {
|
|
7699
|
+
const touch = e.touches[0];
|
|
7700
|
+
state = {
|
|
7701
|
+
startX: touch.clientX,
|
|
7702
|
+
startY: touch.clientY,
|
|
7703
|
+
currentX: touch.clientX,
|
|
7704
|
+
currentY: touch.clientY,
|
|
7705
|
+
active: true,
|
|
7706
|
+
sourceElement: source
|
|
7707
|
+
};
|
|
7708
|
+
},
|
|
7709
|
+
onTouchMove(e) {
|
|
7710
|
+
if (!state.active) return;
|
|
7711
|
+
const touch = e.touches[0];
|
|
7712
|
+
state.currentX = touch.clientX;
|
|
7713
|
+
state.currentY = touch.clientY;
|
|
7714
|
+
e.preventDefault();
|
|
7715
|
+
},
|
|
7716
|
+
onTouchEnd() {
|
|
7717
|
+
state = { ...state, active: false, sourceElement: null };
|
|
7718
|
+
return { ...state };
|
|
7719
|
+
},
|
|
7720
|
+
getState() {
|
|
7721
|
+
return state;
|
|
7722
|
+
},
|
|
7723
|
+
cancel() {
|
|
7724
|
+
state = { ...state, active: false, sourceElement: null };
|
|
7725
|
+
}
|
|
7726
|
+
};
|
|
7727
|
+
}
|
|
7728
|
+
function findColumnFromPoint(x, y, boardEl) {
|
|
7729
|
+
if (!boardEl) return null;
|
|
7730
|
+
const el = document.elementFromPoint(x, y);
|
|
7731
|
+
if (!el) return null;
|
|
7732
|
+
return el.closest("[data-tiger-taskboard-column]");
|
|
7733
|
+
}
|
|
7734
|
+
|
|
7381
7735
|
// src/theme/checkbox.ts
|
|
7382
7736
|
var checkboxSizeClasses = {
|
|
7383
7737
|
sm: "w-4 h-4",
|
|
@@ -7572,6 +7926,7 @@ var version = "0.2.0";
|
|
|
7572
7926
|
DEFAULT_CHART_COLORS,
|
|
7573
7927
|
DEFAULT_FORM_WIZARD_LABELS,
|
|
7574
7928
|
DEFAULT_PAGINATION_LABELS,
|
|
7929
|
+
DEFAULT_TASK_BOARD_LABELS,
|
|
7575
7930
|
DONUT_BASE_SHADOW,
|
|
7576
7931
|
DONUT_EMPHASIS_SHADOW,
|
|
7577
7932
|
DROPDOWN_CHEVRON_PATH,
|
|
@@ -7605,6 +7960,7 @@ var version = "0.2.0";
|
|
|
7605
7960
|
TimePickerCloseIconPath,
|
|
7606
7961
|
ZH_CN_FORM_WIZARD_LABELS,
|
|
7607
7962
|
ZH_CN_PAGINATION_LABELS,
|
|
7963
|
+
ZH_CN_TASK_BOARD_LABELS,
|
|
7608
7964
|
activeOpacityClasses,
|
|
7609
7965
|
activePressClasses,
|
|
7610
7966
|
alertBaseClasses,
|
|
@@ -7712,6 +8068,7 @@ var version = "0.2.0";
|
|
|
7712
8068
|
clampPercentage,
|
|
7713
8069
|
clampScale,
|
|
7714
8070
|
clampSlideIndex,
|
|
8071
|
+
clampValue,
|
|
7715
8072
|
classNames,
|
|
7716
8073
|
clearFieldErrors,
|
|
7717
8074
|
clipCommentTreeDepth,
|
|
@@ -7753,13 +8110,16 @@ var version = "0.2.0";
|
|
|
7753
8110
|
createAreaPath,
|
|
7754
8111
|
createAriaId,
|
|
7755
8112
|
createBandScale,
|
|
8113
|
+
createCardDragData,
|
|
7756
8114
|
createChartInteractionHandlers,
|
|
8115
|
+
createColumnDragData,
|
|
7757
8116
|
createFloatingIdFactory,
|
|
7758
8117
|
createLinePath,
|
|
7759
8118
|
createLinearScale,
|
|
7760
8119
|
createPieArcPath,
|
|
7761
8120
|
createPointScale,
|
|
7762
8121
|
createPolygonPath,
|
|
8122
|
+
createTouchDragTracker,
|
|
7763
8123
|
cropCanvas,
|
|
7764
8124
|
cropUploadTriggerClasses,
|
|
7765
8125
|
cropUploadTriggerDisabledClasses,
|
|
@@ -7811,11 +8171,14 @@ var version = "0.2.0";
|
|
|
7811
8171
|
dotsVariantConfig,
|
|
7812
8172
|
ensureBarMinHeight,
|
|
7813
8173
|
errorCircleSolidIcon20PathD,
|
|
8174
|
+
expandIconButtonClasses,
|
|
8175
|
+
expandedRowContentClasses,
|
|
7814
8176
|
fileToUploadFile,
|
|
7815
8177
|
filterData,
|
|
7816
8178
|
filterOptions,
|
|
7817
8179
|
filterTreeNodes,
|
|
7818
8180
|
findActiveAnchor,
|
|
8181
|
+
findColumnFromPoint,
|
|
7819
8182
|
findNode,
|
|
7820
8183
|
flattenSelectOptions,
|
|
7821
8184
|
focusElement,
|
|
@@ -7833,6 +8196,7 @@ var version = "0.2.0";
|
|
|
7833
8196
|
formatMonthYear,
|
|
7834
8197
|
formatPageAriaLabel,
|
|
7835
8198
|
formatPaginationTotal,
|
|
8199
|
+
formatPrecision,
|
|
7836
8200
|
formatProgressText,
|
|
7837
8201
|
formatTime,
|
|
7838
8202
|
formatTimeDisplay,
|
|
@@ -7890,6 +8254,7 @@ var version = "0.2.0";
|
|
|
7890
8254
|
getCollapseIconClasses,
|
|
7891
8255
|
getCollapsePanelClasses,
|
|
7892
8256
|
getCollapsePanelHeaderClasses,
|
|
8257
|
+
getColumnDropIndex,
|
|
7893
8258
|
getContainerClasses,
|
|
7894
8259
|
getContainerHeight,
|
|
7895
8260
|
getContainerScrollTop,
|
|
@@ -7918,6 +8283,7 @@ var version = "0.2.0";
|
|
|
7918
8283
|
getDrawerMaskClasses,
|
|
7919
8284
|
getDrawerPanelClasses,
|
|
7920
8285
|
getDrawerTitleClasses,
|
|
8286
|
+
getDropIndex,
|
|
7921
8287
|
getDropdownChevronClasses,
|
|
7922
8288
|
getDropdownContainerClasses,
|
|
7923
8289
|
getDropdownItemClasses,
|
|
@@ -7925,6 +8291,8 @@ var version = "0.2.0";
|
|
|
7925
8291
|
getDropdownTriggerClasses,
|
|
7926
8292
|
getElementOffsetTop,
|
|
7927
8293
|
getErrorFields,
|
|
8294
|
+
getExpandCellClasses,
|
|
8295
|
+
getExpandIconRotationClasses,
|
|
7928
8296
|
getFieldError,
|
|
7929
8297
|
getFileListItemClasses,
|
|
7930
8298
|
getFirstDayOfMonth,
|
|
@@ -7947,6 +8315,13 @@ var version = "0.2.0";
|
|
|
7947
8315
|
getInputAffixClasses,
|
|
7948
8316
|
getInputClasses,
|
|
7949
8317
|
getInputErrorClasses,
|
|
8318
|
+
getInputNumberFocusRingColor,
|
|
8319
|
+
getInputNumberInputClasses,
|
|
8320
|
+
getInputNumberSideButtonClasses,
|
|
8321
|
+
getInputNumberSizeClasses,
|
|
8322
|
+
getInputNumberStatusClasses,
|
|
8323
|
+
getInputNumberStepButtonClasses,
|
|
8324
|
+
getInputNumberWrapperClasses,
|
|
7950
8325
|
getInputWrapperClasses,
|
|
7951
8326
|
getJustifyClasses,
|
|
7952
8327
|
getLeafKeys,
|
|
@@ -8040,6 +8415,7 @@ var version = "0.2.0";
|
|
|
8040
8415
|
getSeparatorContent,
|
|
8041
8416
|
getShortDayNames,
|
|
8042
8417
|
getShortMonthNames,
|
|
8418
|
+
getSidebarStyle,
|
|
8043
8419
|
getSimplePaginationButtonClasses,
|
|
8044
8420
|
getSimplePaginationButtonsWrapperClasses,
|
|
8045
8421
|
getSimplePaginationContainerClasses,
|
|
@@ -8068,6 +8444,7 @@ var version = "0.2.0";
|
|
|
8068
8444
|
getStepsContainerClasses,
|
|
8069
8445
|
getSubMenuExpandIconClasses,
|
|
8070
8446
|
getSubMenuTitleClasses,
|
|
8447
|
+
getSubmenuPopupZIndex,
|
|
8071
8448
|
getSvgDefaultAttrs,
|
|
8072
8449
|
getSwitchClasses,
|
|
8073
8450
|
getSwitchThumbClasses,
|
|
@@ -8082,6 +8459,7 @@ var version = "0.2.0";
|
|
|
8082
8459
|
getTableWrapperClasses,
|
|
8083
8460
|
getTabsContainerClasses,
|
|
8084
8461
|
getTagVariantClasses,
|
|
8462
|
+
getTaskBoardLabels,
|
|
8085
8463
|
getTextClasses,
|
|
8086
8464
|
getThemeColor,
|
|
8087
8465
|
getTimePeriodLabels,
|
|
@@ -8152,9 +8530,16 @@ var version = "0.2.0";
|
|
|
8152
8530
|
injectShakeStyle,
|
|
8153
8531
|
injectSvgAnimationStyles,
|
|
8154
8532
|
inputFocusClasses,
|
|
8533
|
+
inputNumberControlsRightClasses,
|
|
8534
|
+
inputNumberDownIconPathD,
|
|
8535
|
+
inputNumberMinusIconPathD,
|
|
8536
|
+
inputNumberPlusIconPathD,
|
|
8537
|
+
inputNumberUpIconPathD,
|
|
8155
8538
|
interactiveClasses,
|
|
8156
8539
|
interpolateUploadLabel,
|
|
8157
8540
|
isActivationKey,
|
|
8541
|
+
isAtMax,
|
|
8542
|
+
isAtMin,
|
|
8158
8543
|
isBrowser,
|
|
8159
8544
|
isDateInRange,
|
|
8160
8545
|
isEnterKey,
|
|
@@ -8173,11 +8558,13 @@ var version = "0.2.0";
|
|
|
8173
8558
|
isTabKey,
|
|
8174
8559
|
isTimeInRange,
|
|
8175
8560
|
isToday,
|
|
8561
|
+
isWipExceeded,
|
|
8176
8562
|
layoutContentClasses,
|
|
8177
8563
|
layoutFooterClasses,
|
|
8178
8564
|
layoutHeaderClasses,
|
|
8179
8565
|
layoutRootClasses,
|
|
8180
8566
|
layoutSidebarClasses,
|
|
8567
|
+
layoutSidebarCollapsedClasses,
|
|
8181
8568
|
linePointTransitionClasses,
|
|
8182
8569
|
linkBaseClasses,
|
|
8183
8570
|
linkDisabledClasses,
|
|
@@ -8250,6 +8637,7 @@ var version = "0.2.0";
|
|
|
8250
8637
|
modalSizeClasses,
|
|
8251
8638
|
modalTitleClasses,
|
|
8252
8639
|
modalWrapperClasses,
|
|
8640
|
+
moveCard,
|
|
8253
8641
|
moveCropRect,
|
|
8254
8642
|
moveFocusInMenu,
|
|
8255
8643
|
nextIconPath,
|
|
@@ -8271,6 +8659,7 @@ var version = "0.2.0";
|
|
|
8271
8659
|
notificationTitleClasses,
|
|
8272
8660
|
paginateData,
|
|
8273
8661
|
parseDate,
|
|
8662
|
+
parseDragData,
|
|
8274
8663
|
parseInputValue,
|
|
8275
8664
|
parseTime,
|
|
8276
8665
|
parseWidthToPx,
|
|
@@ -8308,6 +8697,7 @@ var version = "0.2.0";
|
|
|
8308
8697
|
radioRootBaseClasses,
|
|
8309
8698
|
radioSizeClasses,
|
|
8310
8699
|
radioVisualBaseClasses,
|
|
8700
|
+
reorderColumns,
|
|
8311
8701
|
replaceKeys,
|
|
8312
8702
|
resetAreaGradientCounter,
|
|
8313
8703
|
resetBarGradientCounter,
|
|
@@ -8332,6 +8722,7 @@ var version = "0.2.0";
|
|
|
8332
8722
|
selectOptionDisabledClasses,
|
|
8333
8723
|
selectOptionSelectedClasses,
|
|
8334
8724
|
selectSearchInputClasses,
|
|
8725
|
+
setDragData,
|
|
8335
8726
|
setThemeColors,
|
|
8336
8727
|
shouldHideBadge,
|
|
8337
8728
|
skeletonAnimationClasses,
|
|
@@ -8362,7 +8753,9 @@ var version = "0.2.0";
|
|
|
8362
8753
|
statusSuccessIconPath,
|
|
8363
8754
|
statusWarningIconPath,
|
|
8364
8755
|
stepFinishChar,
|
|
8756
|
+
stepValue,
|
|
8365
8757
|
submenuContentHorizontalClasses,
|
|
8758
|
+
submenuContentHorizontalNestedClasses,
|
|
8366
8759
|
submenuContentInlineClasses,
|
|
8367
8760
|
submenuContentPopupClasses,
|
|
8368
8761
|
submenuContentVerticalClasses,
|
|
@@ -8405,6 +8798,18 @@ var version = "0.2.0";
|
|
|
8405
8798
|
tagCloseButtonBaseClasses,
|
|
8406
8799
|
tagCloseIconPath,
|
|
8407
8800
|
tagSizeClasses,
|
|
8801
|
+
taskBoardAddCardClasses,
|
|
8802
|
+
taskBoardBaseClasses,
|
|
8803
|
+
taskBoardCardClasses,
|
|
8804
|
+
taskBoardCardDraggingClasses,
|
|
8805
|
+
taskBoardColumnBodyClasses,
|
|
8806
|
+
taskBoardColumnClasses,
|
|
8807
|
+
taskBoardColumnDraggingClasses,
|
|
8808
|
+
taskBoardColumnDropTargetClasses,
|
|
8809
|
+
taskBoardColumnHeaderClasses,
|
|
8810
|
+
taskBoardDropIndicatorClasses,
|
|
8811
|
+
taskBoardEmptyClasses,
|
|
8812
|
+
taskBoardWipExceededClasses,
|
|
8408
8813
|
textAlignClasses,
|
|
8409
8814
|
textColorClasses,
|
|
8410
8815
|
textDecorationClasses,
|