@shtabapp/ui-kit 1.85.0 → 1.85.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/CHANGELOG.md +12 -0
- package/dist/components/SAvatar/SAvatar.types.cjs +60 -0
- package/dist/components/SAvatar/SAvatar.types.js +55 -0
- package/dist/components/SAvatar/SAvatar.vue.cjs +6 -0
- package/dist/components/SAvatar/SAvatar.vue.js +6 -0
- package/dist/components/SAvatar/SAvatar.vue_vue_type_script_setup_true_lang.cjs +174 -0
- package/dist/components/SAvatar/SAvatar.vue_vue_type_script_setup_true_lang.js +174 -0
- package/dist/components/SAvatar/constants/SAvatar.constants.cjs +42 -0
- package/dist/components/SAvatar/constants/SAvatar.constants.js +40 -0
- package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.cjs +22 -0
- package/dist/components/SAvatar/utils/getAvatarInitialsTextColor.js +22 -0
- package/dist/components/SAvatar/utils/resolveAvatarColor.cjs +21 -0
- package/dist/components/SAvatar/utils/resolveAvatarColor.js +20 -0
- package/dist/components/SAvatar/utils/useAvatarBadge.cjs +132 -0
- package/dist/components/SAvatar/utils/useAvatarBadge.js +132 -0
- package/dist/components/SAvatarGroup/SAvatarGroup.types.cjs +9 -0
- package/dist/components/SAvatarGroup/SAvatarGroup.types.js +9 -0
- package/dist/components/SAvatarGroup/SAvatarGroup.vue.cjs +6 -0
- package/dist/components/SAvatarGroup/SAvatarGroup.vue.js +6 -0
- package/dist/components/SAvatarGroup/SAvatarGroup.vue_vue_type_script_setup_true_lang.cjs +63 -0
- package/dist/components/SAvatarGroup/SAvatarGroup.vue_vue_type_script_setup_true_lang.js +63 -0
- package/dist/components/SBadge/SBadge.types.cjs +29 -0
- package/dist/components/SBadge/SBadge.types.js +27 -0
- package/dist/components/SBadge/SBadge.vue.cjs +6 -0
- package/dist/components/SBadge/SBadge.vue.js +6 -0
- package/dist/components/SBadge/SBadge.vue_vue_type_script_setup_true_lang.cjs +120 -0
- package/dist/components/SBadge/SBadge.vue_vue_type_script_setup_true_lang.js +120 -0
- package/dist/components/SBanner/SBanner.vue.cjs +6 -0
- package/dist/components/SBanner/SBanner.vue.js +6 -0
- package/dist/components/SBanner/SBanner.vue_vue_type_script_setup_true_lang.cjs +115 -0
- package/dist/components/SBanner/SBanner.vue_vue_type_script_setup_true_lang.js +115 -0
- package/dist/components/SButton/SButton.types.cjs +27 -0
- package/dist/components/SButton/SButton.types.js +25 -0
- package/dist/components/SButton/SButton.vue.cjs +6 -0
- package/dist/components/SButton/SButton.vue.js +6 -0
- package/dist/components/SButton/SButton.vue_vue_type_script_setup_true_lang.cjs +250 -0
- package/dist/components/SButton/SButton.vue_vue_type_script_setup_true_lang.js +250 -0
- package/dist/components/SButton/utils/useButtonBadge.cjs +69 -0
- package/dist/components/SButton/utils/useButtonBadge.js +69 -0
- package/dist/components/SButtonGroup/SButtonGroup.types.cjs +8 -0
- package/dist/components/SButtonGroup/SButtonGroup.types.js +8 -0
- package/dist/components/SButtonGroup/SButtonGroup.vue.cjs +6 -0
- package/dist/components/SButtonGroup/SButtonGroup.vue.js +6 -0
- package/dist/components/SButtonGroup/SButtonGroup.vue_vue_type_script_setup_true_lang.cjs +89 -0
- package/dist/components/SButtonGroup/SButtonGroup.vue_vue_type_script_setup_true_lang.js +89 -0
- package/dist/components/SButtonGroup/utils/context.cjs +4 -0
- package/dist/components/SButtonGroup/utils/context.js +4 -0
- package/dist/components/SCalendar/utils/buildWorkTimeLegendItems.cjs +8 -0
- package/dist/components/SCalendar/utils/buildWorkTimeLegendItems.js +8 -0
- package/dist/components/SCalendar/utils/calendar.const.cjs +17 -0
- package/dist/components/SCalendar/utils/calendar.const.js +16 -0
- package/dist/components/SCalendar/utils/calendar.types.cjs +10 -0
- package/dist/components/SCalendar/utils/calendar.types.js +10 -0
- package/dist/components/SCalendar/utils/formatDurationHM.cjs +9 -0
- package/dist/components/SCalendar/utils/formatDurationHM.js +9 -0
- package/dist/components/SCalendarMonth/SCalendarMonth.types.cjs +13 -0
- package/dist/components/SCalendarMonth/SCalendarMonth.types.js +12 -0
- package/dist/components/SCalendarMonth/SCalendarMonth.vue.cjs +6 -0
- package/dist/components/SCalendarMonth/SCalendarMonth.vue.js +6 -0
- package/dist/components/SCalendarMonth/SCalendarMonth.vue_vue_type_script_setup_true_lang.cjs +196 -0
- package/dist/components/SCalendarMonth/SCalendarMonth.vue_vue_type_script_setup_true_lang.js +196 -0
- package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.types.cjs +4 -0
- package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.types.js +4 -0
- package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue.cjs +6 -0
- package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue.js +6 -0
- package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue_vue_type_script_setup_true_lang.cjs +101 -0
- package/dist/components/SCalendarWeekGrid/SCalendarWeekGrid.vue_vue_type_script_setup_true_lang.js +101 -0
- package/dist/components/SCard/SCard.types.cjs +8 -0
- package/dist/components/SCard/SCard.types.js +8 -0
- package/dist/components/SCard/SCard.vue.cjs +6 -0
- package/dist/components/SCard/SCard.vue.js +6 -0
- package/dist/components/SCard/SCard.vue_vue_type_script_setup_true_lang.cjs +183 -0
- package/dist/components/SCard/SCard.vue_vue_type_script_setup_true_lang.js +183 -0
- package/dist/components/SChartBar/SChartBar.vue.cjs +6 -0
- package/dist/components/SChartBar/SChartBar.vue.js +6 -0
- package/dist/components/SChartBar/SChartBar.vue_vue_type_script_setup_true_lang.cjs +151 -0
- package/dist/components/SChartBar/SChartBar.vue_vue_type_script_setup_true_lang.js +151 -0
- package/dist/components/SChartBar/utils/buildBarChartConfig.cjs +166 -0
- package/dist/components/SChartBar/utils/buildBarChartConfig.js +166 -0
- package/dist/components/SChartBar/utils/createBarTargetLinePlugin.cjs +53 -0
- package/dist/components/SChartBar/utils/createBarTargetLinePlugin.js +53 -0
- package/dist/components/SChartBar/utils/createBarValueLabelPlugin.cjs +37 -0
- package/dist/components/SChartBar/utils/createBarValueLabelPlugin.js +37 -0
- package/dist/components/SChartBar/utils/skeletonBarSeries.cjs +33 -0
- package/dist/components/SChartBar/utils/skeletonBarSeries.js +33 -0
- package/dist/components/SChartBurnup/SChartBurnup.vue.cjs +6 -0
- package/dist/components/SChartBurnup/SChartBurnup.vue.js +6 -0
- package/dist/components/SChartBurnup/SChartBurnup.vue_vue_type_script_setup_true_lang.cjs +110 -0
- package/dist/components/SChartBurnup/SChartBurnup.vue_vue_type_script_setup_true_lang.js +110 -0
- package/dist/components/SChartBurnup/utils/buildBurnupChartConfig.cjs +146 -0
- package/dist/components/SChartBurnup/utils/buildBurnupChartConfig.js +146 -0
- package/dist/components/SChartBurnup/utils/skeletonBurnupPoints.cjs +40 -0
- package/dist/components/SChartBurnup/utils/skeletonBurnupPoints.js +40 -0
- package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue.cjs +6 -0
- package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue.js +6 -0
- package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue_vue_type_script_setup_true_lang.cjs +95 -0
- package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue_vue_type_script_setup_true_lang.js +95 -0
- package/dist/components/SChartHorizontalBar/utils/buildSChartHorizontalBarConfig.cjs +5 -0
- package/dist/components/SChartHorizontalBar/utils/buildSChartHorizontalBarConfig.js +5 -0
- package/dist/components/SChartLegend/SChartLegend.types.cjs +10 -0
- package/dist/components/SChartLegend/SChartLegend.types.js +10 -0
- package/dist/components/SChartLegend/SChartLegend.vue.cjs +6 -0
- package/dist/components/SChartLegend/SChartLegend.vue.js +6 -0
- package/dist/components/SChartLegend/SChartLegend.vue_vue_type_script_setup_true_lang.cjs +101 -0
- package/dist/components/SChartLegend/SChartLegend.vue_vue_type_script_setup_true_lang.js +101 -0
- package/dist/components/SChartLine/SChartLine.vue.cjs +6 -0
- package/dist/components/SChartLine/SChartLine.vue.js +6 -0
- package/dist/components/SChartLine/SChartLine.vue_vue_type_script_setup_true_lang.cjs +93 -0
- package/dist/components/SChartLine/SChartLine.vue_vue_type_script_setup_true_lang.js +93 -0
- package/dist/components/SChartLine/utils/buildLineChartConfig.cjs +95 -0
- package/dist/components/SChartLine/utils/buildLineChartConfig.js +95 -0
- package/dist/components/SChartLine/utils/skeletonChartPoints.cjs +29 -0
- package/dist/components/SChartLine/utils/skeletonChartPoints.js +29 -0
- package/dist/components/SChartMultiLine/SChartMultiLine.vue.cjs +6 -0
- package/dist/components/SChartMultiLine/SChartMultiLine.vue.js +6 -0
- package/dist/components/SChartMultiLine/SChartMultiLine.vue_vue_type_script_setup_true_lang.cjs +155 -0
- package/dist/components/SChartMultiLine/SChartMultiLine.vue_vue_type_script_setup_true_lang.js +155 -0
- package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.cjs +148 -0
- package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.js +148 -0
- package/dist/components/SChartMultiLine/utils/skeletonMultiLineSeries.cjs +48 -0
- package/dist/components/SChartMultiLine/utils/skeletonMultiLineSeries.js +48 -0
- package/dist/components/SChartPie/SChartPie.types.cjs +10 -0
- package/dist/components/SChartPie/SChartPie.types.js +10 -0
- package/dist/components/SChartPie/SChartPie.vue.cjs +6 -0
- package/dist/components/SChartPie/SChartPie.vue.js +6 -0
- package/dist/components/SChartPie/SChartPie.vue_vue_type_script_setup_true_lang.cjs +219 -0
- package/dist/components/SChartPie/SChartPie.vue_vue_type_script_setup_true_lang.js +219 -0
- package/dist/components/SChartPie/utils/buildPieChartConfig.cjs +67 -0
- package/dist/components/SChartPie/utils/buildPieChartConfig.js +67 -0
- package/dist/components/SChartPie/utils/skeletonPieSlices.cjs +27 -0
- package/dist/components/SChartPie/utils/skeletonPieSlices.js +27 -0
- package/dist/components/SChartProgress/SChartProgress.vue.cjs +6 -0
- package/dist/components/SChartProgress/SChartProgress.vue.js +6 -0
- package/dist/components/SChartProgress/SChartProgress.vue_vue_type_script_setup_true_lang.cjs +85 -0
- package/dist/components/SChartProgress/SChartProgress.vue_vue_type_script_setup_true_lang.js +85 -0
- package/dist/components/SChartProgress/utils/buildProgressChartConfig.cjs +111 -0
- package/dist/components/SChartProgress/utils/buildProgressChartConfig.js +111 -0
- package/dist/components/SChartProgress/utils/buildProgressChartData.cjs +32 -0
- package/dist/components/SChartProgress/utils/buildProgressChartData.js +32 -0
- package/dist/components/SChartProgress/utils/formatProgressChartDate.cjs +8 -0
- package/dist/components/SChartProgress/utils/formatProgressChartDate.js +8 -0
- package/dist/components/SChartProgress/utils/resolveProgressChartPointStyle.cjs +25 -0
- package/dist/components/SChartProgress/utils/resolveProgressChartPointStyle.js +24 -0
- package/dist/components/SChartProgress/utils/skeletonProgressSnapshots.cjs +29 -0
- package/dist/components/SChartProgress/utils/skeletonProgressSnapshots.js +29 -0
- package/dist/components/SChartScatter/SChartScatter.vue.cjs +6 -0
- package/dist/components/SChartScatter/SChartScatter.vue.js +6 -0
- package/dist/components/SChartScatter/SChartScatter.vue_vue_type_script_setup_true_lang.cjs +109 -0
- package/dist/components/SChartScatter/SChartScatter.vue_vue_type_script_setup_true_lang.js +109 -0
- package/dist/components/SChartScatter/utils/buildScatterChartConfig.cjs +181 -0
- package/dist/components/SChartScatter/utils/buildScatterChartConfig.js +181 -0
- package/dist/components/SChartScatter/utils/skeletonScatter.cjs +24 -0
- package/dist/components/SChartScatter/utils/skeletonScatter.js +23 -0
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.cjs +6 -0
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.js +6 -0
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue_vue_type_script_setup_true_lang.cjs +174 -0
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue_vue_type_script_setup_true_lang.js +174 -0
- package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.cjs +91 -0
- package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.js +91 -0
- package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.cjs +84 -0
- package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.js +84 -0
- package/dist/components/SChartSegmentedBar/utils/skeletonSegments.cjs +15 -0
- package/dist/components/SChartSegmentedBar/utils/skeletonSegments.js +15 -0
- package/dist/components/SChartSkeletonHost/SChartSkeletonHost.types.cjs +8 -0
- package/dist/components/SChartSkeletonHost/SChartSkeletonHost.types.js +8 -0
- package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue.cjs +6 -0
- package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue.js +6 -0
- package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue_vue_type_script_setup_true_lang.cjs +32 -0
- package/dist/components/SChartSkeletonHost/SChartSkeletonHost.vue_vue_type_script_setup_true_lang.js +32 -0
- package/dist/components/SChartStackedArea/SChartStackedArea.vue.cjs +6 -0
- package/dist/components/SChartStackedArea/SChartStackedArea.vue.js +6 -0
- package/dist/components/SChartStackedArea/SChartStackedArea.vue_vue_type_script_setup_true_lang.cjs +101 -0
- package/dist/components/SChartStackedArea/SChartStackedArea.vue_vue_type_script_setup_true_lang.js +101 -0
- package/dist/components/SChartStackedArea/utils/buildStackedAreaChartConfig.cjs +114 -0
- package/dist/components/SChartStackedArea/utils/buildStackedAreaChartConfig.js +114 -0
- package/dist/components/SChartStackedArea/utils/skeletonStackedSeries.cjs +108 -0
- package/dist/components/SChartStackedArea/utils/skeletonStackedSeries.js +108 -0
- package/dist/components/SChartStackedBar/SChartStackedBar.vue.cjs +6 -0
- package/dist/components/SChartStackedBar/SChartStackedBar.vue.js +6 -0
- package/dist/components/SChartStackedBar/SChartStackedBar.vue_vue_type_script_setup_true_lang.cjs +126 -0
- package/dist/components/SChartStackedBar/SChartStackedBar.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/components/SChartStackedBar/utils/buildStackedBarChartConfig.cjs +147 -0
- package/dist/components/SChartStackedBar/utils/buildStackedBarChartConfig.js +147 -0
- package/dist/components/SChartStackedBar/utils/createStackedBarTotalsPlugin.cjs +46 -0
- package/dist/components/SChartStackedBar/utils/createStackedBarTotalsPlugin.js +46 -0
- package/dist/components/SChartStackedBar/utils/createStackedBarTrendPlugin.cjs +45 -0
- package/dist/components/SChartStackedBar/utils/createStackedBarTrendPlugin.js +44 -0
- package/dist/components/SChartStackedBar/utils/skeletonStackedBarSeries.cjs +79 -0
- package/dist/components/SChartStackedBar/utils/skeletonStackedBarSeries.js +79 -0
- package/dist/components/SChartWidget/SChartWidget.vue.cjs +6 -0
- package/dist/components/SChartWidget/SChartWidget.vue.js +6 -0
- package/dist/components/SChartWidget/SChartWidget.vue_vue_type_script_setup_true_lang.cjs +96 -0
- package/dist/components/SChartWidget/SChartWidget.vue_vue_type_script_setup_true_lang.js +96 -0
- package/dist/components/SCheckbox/SCheckbox.types.cjs +20 -0
- package/dist/components/SCheckbox/SCheckbox.types.js +18 -0
- package/dist/components/SCheckbox/SCheckbox.vue.cjs +6 -0
- package/dist/components/SCheckbox/SCheckbox.vue.js +6 -0
- package/dist/components/SCheckbox/SCheckbox.vue_vue_type_script_setup_true_lang.cjs +124 -0
- package/dist/components/SCheckbox/SCheckbox.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/components/SChip/SChip.types.cjs +17 -0
- package/dist/components/SChip/SChip.types.js +16 -0
- package/dist/components/SChip/SChip.vue.cjs +6 -0
- package/dist/components/SChip/SChip.vue.js +6 -0
- package/dist/components/SChip/SChip.vue_vue_type_script_setup_true_lang.cjs +135 -0
- package/dist/components/SChip/SChip.vue_vue_type_script_setup_true_lang.js +135 -0
- package/dist/components/SColorPalette/SColorPalette.types.cjs +8 -0
- package/dist/components/SColorPalette/SColorPalette.types.js +8 -0
- package/dist/components/SColorPalette/SColorPalette.vue.cjs +6 -0
- package/dist/components/SColorPalette/SColorPalette.vue.js +6 -0
- package/dist/components/SColorPalette/SColorPalette.vue_vue_type_script_setup_true_lang.cjs +162 -0
- package/dist/components/SColorPalette/SColorPalette.vue_vue_type_script_setup_true_lang.js +162 -0
- package/dist/components/SColorPicker/SColorPicker.vue.cjs +6 -0
- package/dist/components/SColorPicker/SColorPicker.vue.js +6 -0
- package/dist/components/SColorPicker/SColorPicker.vue_vue_type_script_setup_true_lang.cjs +209 -0
- package/dist/components/SColorPicker/SColorPicker.vue_vue_type_script_setup_true_lang.js +209 -0
- package/dist/components/SColorPicker/constants/SColorPicker.constants.cjs +4 -0
- package/dist/components/SColorPicker/constants/SColorPicker.constants.js +4 -0
- package/dist/components/SColorPicker/parts/SColorArea.vue.cjs +6 -0
- package/dist/components/SColorPicker/parts/SColorArea.vue.js +6 -0
- package/dist/components/SColorPicker/parts/SColorArea.vue_vue_type_script_setup_true_lang.cjs +94 -0
- package/dist/components/SColorPicker/parts/SColorArea.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/SColorPicker/parts/SColorValues.vue.cjs +6 -0
- package/dist/components/SColorPicker/parts/SColorValues.vue.js +6 -0
- package/dist/components/SColorPicker/parts/SColorValues.vue_vue_type_script_setup_true_lang.cjs +266 -0
- package/dist/components/SColorPicker/parts/SColorValues.vue_vue_type_script_setup_true_lang.js +266 -0
- package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.cjs +10 -0
- package/dist/components/SColorPicker/utils/resolveColorSwatchFillElement.js +10 -0
- package/dist/components/SColorPicker/utils/useColorArea.cjs +156 -0
- package/dist/components/SColorPicker/utils/useColorArea.js +156 -0
- package/dist/components/SDayTimeline/SDayTimeline.types.cjs +5 -0
- package/dist/components/SDayTimeline/SDayTimeline.types.js +5 -0
- package/dist/components/SDayTimeline/SDayTimeline.vue.cjs +6 -0
- package/dist/components/SDayTimeline/SDayTimeline.vue.js +6 -0
- package/dist/components/SDayTimeline/SDayTimeline.vue_vue_type_script_setup_true_lang.cjs +229 -0
- package/dist/components/SDayTimeline/SDayTimeline.vue_vue_type_script_setup_true_lang.js +229 -0
- package/dist/components/SDropdown/SDropdown.types.cjs +6 -0
- package/dist/components/SDropdown/SDropdown.types.js +6 -0
- package/dist/components/SDropdown/SDropdown.vue.cjs +6 -0
- package/dist/components/SDropdown/SDropdown.vue.js +6 -0
- package/dist/components/SDropdown/SDropdown.vue_vue_type_script_setup_true_lang.cjs +307 -0
- package/dist/components/SDropdown/SDropdown.vue_vue_type_script_setup_true_lang.js +307 -0
- package/dist/components/SDropdown/parts/SDropdownSheet.vue.cjs +6 -0
- package/dist/components/SDropdown/parts/SDropdownSheet.vue.js +6 -0
- package/dist/components/SDropdown/parts/SDropdownSheet.vue_vue_type_script_setup_true_lang.cjs +135 -0
- package/dist/components/SDropdown/parts/SDropdownSheet.vue_vue_type_script_setup_true_lang.js +135 -0
- package/dist/components/SDropdown/utils/context.cjs +4 -0
- package/dist/components/SDropdown/utils/context.js +4 -0
- package/dist/components/SDropdown/utils/dropdownFocusables.cjs +58 -0
- package/dist/components/SDropdown/utils/dropdownFocusables.js +54 -0
- package/dist/components/SDropdown/utils/resolveTriggerReference.cjs +11 -0
- package/dist/components/SDropdown/utils/resolveTriggerReference.js +11 -0
- package/dist/components/SDropdown/utils/useDropdownFocus.cjs +145 -0
- package/dist/components/SDropdown/utils/useDropdownFocus.js +145 -0
- package/dist/components/SDropdown/utils/useDropdownPanelTransition.cjs +30 -0
- package/dist/components/SDropdown/utils/useDropdownPanelTransition.js +30 -0
- package/dist/components/SDropdown/utils/useDropdownSheetMode.cjs +16 -0
- package/dist/components/SDropdown/utils/useDropdownSheetMode.js +16 -0
- package/dist/components/SDropdown/utils/useDropdownTree.cjs +42 -0
- package/dist/components/SDropdown/utils/useDropdownTree.js +42 -0
- package/dist/components/SDropdown/utils/useSheetDrag.cjs +124 -0
- package/dist/components/SDropdown/utils/useSheetDrag.js +124 -0
- package/dist/components/SDropdownMenu/SDropdownMenu.vue.cjs +6 -0
- package/dist/components/SDropdownMenu/SDropdownMenu.vue.js +6 -0
- package/dist/components/SDropdownMenu/SDropdownMenu.vue_vue_type_script_setup_true_lang.cjs +49 -0
- package/dist/components/SDropdownMenu/SDropdownMenu.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/components/SInlineGroup/SInlineGroup.types.cjs +8 -0
- package/dist/components/SInlineGroup/SInlineGroup.types.js +8 -0
- package/dist/components/SInlineGroup/SInlineGroup.vue.cjs +6 -0
- package/dist/components/SInlineGroup/SInlineGroup.vue.js +6 -0
- package/dist/components/SInlineGroup/SInlineGroup.vue_vue_type_script_setup_true_lang.cjs +17 -0
- package/dist/components/SInlineGroup/SInlineGroup.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/components/SInlineInput/SInlineInput.types.cjs +8 -0
- package/dist/components/SInlineInput/SInlineInput.types.js +8 -0
- package/dist/components/SInlineInput/SInlineInput.vue.cjs +6 -0
- package/dist/components/SInlineInput/SInlineInput.vue.js +6 -0
- package/dist/components/SInlineInput/SInlineInput.vue_vue_type_script_setup_true_lang.cjs +167 -0
- package/dist/components/SInlineInput/SInlineInput.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/components/SInlineInput/utils/inlineInputTextPatterns.cjs +7 -0
- package/dist/components/SInlineInput/utils/inlineInputTextPatterns.js +5 -0
- package/dist/components/SInlineInput/utils/useCursorManagement.cjs +122 -0
- package/dist/components/SInlineInput/utils/useCursorManagement.js +122 -0
- package/dist/components/SInlineInput/utils/useInlineInput.cjs +309 -0
- package/dist/components/SInlineInput/utils/useInlineInput.js +309 -0
- package/dist/components/SInlineInput/utils/useStringHistory.cjs +115 -0
- package/dist/components/SInlineInput/utils/useStringHistory.js +115 -0
- package/dist/components/SInlineMessage/SInlineMessage.types.cjs +8 -0
- package/dist/components/SInlineMessage/SInlineMessage.types.js +8 -0
- package/dist/components/SInlineMessage/SInlineMessage.vue.cjs +6 -0
- package/dist/components/SInlineMessage/SInlineMessage.vue.js +6 -0
- package/dist/components/SInlineMessage/SInlineMessage.vue_vue_type_script_setup_true_lang.cjs +20 -0
- package/dist/components/SInlineMessage/SInlineMessage.vue_vue_type_script_setup_true_lang.js +20 -0
- package/dist/components/SInput/SInput.types.cjs +9 -0
- package/dist/components/SInput/SInput.types.js +9 -0
- package/dist/components/SInput/SInput.vue.cjs +6 -0
- package/dist/components/SInput/SInput.vue.js +6 -0
- package/dist/components/SInput/SInput.vue_vue_type_script_setup_true_lang.cjs +309 -0
- package/dist/components/SInput/SInput.vue_vue_type_script_setup_true_lang.js +309 -0
- package/dist/components/SInput/utils/fieldLabelId.cjs +8 -0
- package/dist/components/SInput/utils/fieldLabelId.js +8 -0
- package/dist/components/SLabel/SLabel.types.cjs +17 -0
- package/dist/components/SLabel/SLabel.types.js +16 -0
- package/dist/components/SLabel/SLabel.vue.cjs +6 -0
- package/dist/components/SLabel/SLabel.vue.js +6 -0
- package/dist/components/SLabel/SLabel.vue_vue_type_script_setup_true_lang.cjs +76 -0
- package/dist/components/SLabel/SLabel.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/SList/SList.types.cjs +15 -0
- package/dist/components/SList/SList.types.js +15 -0
- package/dist/components/SList/SList.vue.cjs +6 -0
- package/dist/components/SList/SList.vue.js +6 -0
- package/dist/components/SList/SList.vue_vue_type_script_setup_true_lang.cjs +631 -0
- package/dist/components/SList/SList.vue_vue_type_script_setup_true_lang.js +631 -0
- package/dist/components/SList/utils/context.cjs +4 -0
- package/dist/components/SList/utils/context.js +4 -0
- package/dist/components/SList/utils/listGapTokens.cjs +29 -0
- package/dist/components/SList/utils/listGapTokens.js +27 -0
- package/dist/components/SList/utils/listOptionId.cjs +6 -0
- package/dist/components/SList/utils/listOptionId.js +6 -0
- package/dist/components/SList/utils/resolveListItemFields.cjs +22 -0
- package/dist/components/SList/utils/resolveListItemFields.js +20 -0
- package/dist/components/SListItem/SListItem.types.cjs +29 -0
- package/dist/components/SListItem/SListItem.types.js +28 -0
- package/dist/components/SListItem/SListItem.vue.cjs +6 -0
- package/dist/components/SListItem/SListItem.vue.js +6 -0
- package/dist/components/SListItem/SListItem.vue_vue_type_script_setup_true_lang.cjs +347 -0
- package/dist/components/SListItem/SListItem.vue_vue_type_script_setup_true_lang.js +347 -0
- package/dist/components/SListItem/utils/listItemAria.cjs +47 -0
- package/dist/components/SListItem/utils/listItemAria.js +47 -0
- package/dist/components/SNotification/SNotification.types.cjs +30 -0
- package/dist/components/SNotification/SNotification.types.js +27 -0
- package/dist/components/SNotification/SNotification.vue.cjs +6 -0
- package/dist/components/SNotification/SNotification.vue.js +6 -0
- package/dist/components/SNotification/SNotification.vue_vue_type_script_setup_true_lang.cjs +271 -0
- package/dist/components/SNotification/SNotification.vue_vue_type_script_setup_true_lang.js +271 -0
- package/dist/components/SNotification/resolveNotificationIcon.cjs +17 -0
- package/dist/components/SNotification/resolveNotificationIcon.js +17 -0
- package/dist/components/SOverflowGroup/SOverflowGroup.vue.cjs +4 -0
- package/dist/components/SOverflowGroup/SOverflowGroup.vue.js +5 -0
- package/dist/components/SOverflowGroup/SOverflowGroup.vue_vue_type_script_setup_true_lang.cjs +46 -0
- package/dist/components/SOverflowGroup/SOverflowGroup.vue_vue_type_script_setup_true_lang.js +46 -0
- package/dist/components/SPhotoEdit/SPhotoEdit.types.cjs +15 -0
- package/dist/components/SPhotoEdit/SPhotoEdit.types.js +14 -0
- package/dist/components/SPhotoEdit/SPhotoEdit.vue.cjs +6 -0
- package/dist/components/SPhotoEdit/SPhotoEdit.vue.js +6 -0
- package/dist/components/SPhotoEdit/SPhotoEdit.vue_vue_type_script_setup_true_lang.cjs +185 -0
- package/dist/components/SPhotoEdit/SPhotoEdit.vue_vue_type_script_setup_true_lang.js +185 -0
- package/dist/components/SRadio/SRadio.types.cjs +8 -0
- package/dist/components/SRadio/SRadio.types.js +8 -0
- package/dist/components/SRadio/SRadio.vue.cjs +6 -0
- package/dist/components/SRadio/SRadio.vue.js +6 -0
- package/dist/components/SRadio/SRadio.vue_vue_type_script_setup_true_lang.cjs +77 -0
- package/dist/components/SRadio/SRadio.vue_vue_type_script_setup_true_lang.js +77 -0
- package/dist/components/SRoadmap/SRoadmap.types.cjs +13 -0
- package/dist/components/SRoadmap/SRoadmap.types.js +13 -0
- package/dist/components/SRoadmap/SRoadmap.vue.cjs +6 -0
- package/dist/components/SRoadmap/SRoadmap.vue.js +6 -0
- package/dist/components/SRoadmap/SRoadmap.vue_vue_type_script_setup_true_lang.cjs +231 -0
- package/dist/components/SRoadmap/SRoadmap.vue_vue_type_script_setup_true_lang.js +231 -0
- package/dist/components/SRoadmap/utils/buildRoadmapRows.cjs +35 -0
- package/dist/components/SRoadmap/utils/buildRoadmapRows.js +35 -0
- package/dist/components/SRoadmap/utils/roadmapDate.cjs +40 -0
- package/dist/components/SRoadmap/utils/roadmapDate.js +38 -0
- package/dist/components/SSegmentControl/SSegmentControl.types.cjs +16 -0
- package/dist/components/SSegmentControl/SSegmentControl.types.js +15 -0
- package/dist/components/SSegmentControl/SSegmentControl.vue.cjs +6 -0
- package/dist/components/SSegmentControl/SSegmentControl.vue.js +6 -0
- package/dist/components/SSegmentControl/SSegmentControl.vue_vue_type_script_setup_true_lang.cjs +108 -0
- package/dist/components/SSegmentControl/SSegmentControl.vue_vue_type_script_setup_true_lang.js +108 -0
- package/dist/components/SSegmentControl/SSegmentControlItem.vue.cjs +4 -0
- package/dist/components/SSegmentControl/SSegmentControlItem.vue.js +5 -0
- package/dist/components/SSegmentControl/SSegmentControlItem.vue_vue_type_script_setup_true_lang.cjs +144 -0
- package/dist/components/SSegmentControl/SSegmentControlItem.vue_vue_type_script_setup_true_lang.js +144 -0
- package/dist/components/SSegmentControl/utils/context.cjs +4 -0
- package/dist/components/SSegmentControl/utils/context.js +4 -0
- package/dist/components/SSegmentControl/utils/useSegmentIndicator.cjs +45 -0
- package/dist/components/SSegmentControl/utils/useSegmentIndicator.js +45 -0
- package/dist/components/SSelect/SSelect.types.cjs +8 -0
- package/dist/components/SSelect/SSelect.types.js +8 -0
- package/dist/components/SSelect/SSelect.vue.cjs +6 -0
- package/dist/components/SSelect/SSelect.vue.js +6 -0
- package/dist/components/SSelect/SSelect.vue_vue_type_script_setup_true_lang.cjs +710 -0
- package/dist/components/SSelect/SSelect.vue_vue_type_script_setup_true_lang.js +710 -0
- package/dist/components/SSelect/utils/buildSelectListItemProps.cjs +18 -0
- package/dist/components/SSelect/utils/buildSelectListItemProps.js +18 -0
- package/dist/components/SSelect/utils/resolveSelectItemValue.cjs +35 -0
- package/dist/components/SSelect/utils/resolveSelectItemValue.js +30 -0
- package/dist/components/SSelect/utils/useSelectState.cjs +192 -0
- package/dist/components/SSelect/utils/useSelectState.js +192 -0
- package/dist/components/STab/STab.types.cjs +14 -0
- package/dist/components/STab/STab.types.js +13 -0
- package/dist/components/STab/STab.vue.cjs +6 -0
- package/dist/components/STab/STab.vue.js +6 -0
- package/dist/components/STab/STab.vue_vue_type_script_setup_true_lang.cjs +366 -0
- package/dist/components/STab/STab.vue_vue_type_script_setup_true_lang.js +366 -0
- package/dist/components/STable/STable.types.cjs +99 -0
- package/dist/components/STable/STable.types.js +88 -0
- package/dist/components/STable/STable.vue.cjs +6 -0
- package/dist/components/STable/STable.vue.js +6 -0
- package/dist/components/STable/STable.vue_vue_type_script_setup_true_lang.cjs +1355 -0
- package/dist/components/STable/STable.vue_vue_type_script_setup_true_lang.js +1355 -0
- package/dist/components/STable/constants/tableSizes.cjs +36 -0
- package/dist/components/STable/constants/tableSizes.js +29 -0
- package/dist/components/STable/parts/STableCellText.vue.cjs +4 -0
- package/dist/components/STable/parts/STableCellText.vue.js +5 -0
- package/dist/components/STable/parts/STableCellText.vue_vue_type_script_setup_true_lang.cjs +31 -0
- package/dist/components/STable/parts/STableCellText.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/STable/parts/STableCheckbox.vue.cjs +4 -0
- package/dist/components/STable/parts/STableCheckbox.vue.js +5 -0
- package/dist/components/STable/parts/STableCheckbox.vue_vue_type_script_setup_true_lang.cjs +56 -0
- package/dist/components/STable/parts/STableCheckbox.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/STable/parts/STableContentRow.vue.cjs +4 -0
- package/dist/components/STable/parts/STableContentRow.vue.js +5 -0
- package/dist/components/STable/parts/STableContentRow.vue_vue_type_script_setup_true_lang.cjs +55 -0
- package/dist/components/STable/parts/STableContentRow.vue_vue_type_script_setup_true_lang.js +55 -0
- package/dist/components/STable/parts/STableGroupRow.vue.cjs +4 -0
- package/dist/components/STable/parts/STableGroupRow.vue.js +5 -0
- package/dist/components/STable/parts/STableGroupRow.vue_vue_type_script_setup_true_lang.cjs +210 -0
- package/dist/components/STable/parts/STableGroupRow.vue_vue_type_script_setup_true_lang.js +210 -0
- package/dist/components/STable/parts/STableHeaderCell.vue.cjs +4 -0
- package/dist/components/STable/parts/STableHeaderCell.vue.js +5 -0
- package/dist/components/STable/parts/STableHeaderCell.vue_vue_type_script_setup_true_lang.cjs +201 -0
- package/dist/components/STable/parts/STableHeaderCell.vue_vue_type_script_setup_true_lang.js +201 -0
- package/dist/components/STable/parts/STableHint.vue.cjs +4 -0
- package/dist/components/STable/parts/STableHint.vue.js +5 -0
- package/dist/components/STable/parts/STableHint.vue_vue_type_script_setup_true_lang.cjs +31 -0
- package/dist/components/STable/parts/STableHint.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/STable/parts/STablePlaceholderRow.vue.cjs +4 -0
- package/dist/components/STable/parts/STablePlaceholderRow.vue.js +5 -0
- package/dist/components/STable/parts/STablePlaceholderRow.vue_vue_type_script_setup_true_lang.cjs +53 -0
- package/dist/components/STable/parts/STablePlaceholderRow.vue_vue_type_script_setup_true_lang.js +53 -0
- package/dist/components/STable/parts/STableRow.vue.cjs +4 -0
- package/dist/components/STable/parts/STableRow.vue.js +5 -0
- package/dist/components/STable/parts/STableRow.vue_vue_type_script_setup_true_lang.cjs +360 -0
- package/dist/components/STable/parts/STableRow.vue_vue_type_script_setup_true_lang.js +360 -0
- package/dist/components/STable/parts/STableSkeletonRow.vue.cjs +4 -0
- package/dist/components/STable/parts/STableSkeletonRow.vue.js +5 -0
- package/dist/components/STable/parts/STableSkeletonRow.vue_vue_type_script_setup_true_lang.cjs +47 -0
- package/dist/components/STable/parts/STableSkeletonRow.vue_vue_type_script_setup_true_lang.js +47 -0
- package/dist/components/STable/utils/resolveTableRowColor.cjs +19 -0
- package/dist/components/STable/utils/resolveTableRowColor.js +18 -0
- package/dist/components/STable/utils/tableDndShared.cjs +15 -0
- package/dist/components/STable/utils/tableDndShared.js +12 -0
- package/dist/components/STable/utils/useFlatTableRows.cjs +252 -0
- package/dist/components/STable/utils/useFlatTableRows.js +249 -0
- package/dist/components/STable/utils/useTableCellPlans.cjs +118 -0
- package/dist/components/STable/utils/useTableCellPlans.js +118 -0
- package/dist/components/STable/utils/useTableColumnDnd.cjs +155 -0
- package/dist/components/STable/utils/useTableColumnDnd.js +155 -0
- package/dist/components/STable/utils/useTableColumnResize.cjs +144 -0
- package/dist/components/STable/utils/useTableColumnResize.js +144 -0
- package/dist/components/STable/utils/useTableColumns.cjs +311 -0
- package/dist/components/STable/utils/useTableColumns.js +309 -0
- package/dist/components/STable/utils/useTableGridFocus.cjs +400 -0
- package/dist/components/STable/utils/useTableGridFocus.js +398 -0
- package/dist/components/STable/utils/useTableGridKeyboard.cjs +224 -0
- package/dist/components/STable/utils/useTableGridKeyboard.js +224 -0
- package/dist/components/STable/utils/useTableRenderEntries.cjs +115 -0
- package/dist/components/STable/utils/useTableRenderEntries.js +115 -0
- package/dist/components/STable/utils/useTableRowDnd.cjs +308 -0
- package/dist/components/STable/utils/useTableRowDnd.js +308 -0
- package/dist/components/STable/utils/useTableRowHydration.cjs +136 -0
- package/dist/components/STable/utils/useTableRowHydration.js +136 -0
- package/dist/components/STable/utils/useTableScrollScale.cjs +222 -0
- package/dist/components/STable/utils/useTableScrollScale.js +222 -0
- package/dist/components/STable/utils/useTableSelection.cjs +137 -0
- package/dist/components/STable/utils/useTableSelection.js +137 -0
- package/dist/components/STable/utils/useTableServiceRows.cjs +125 -0
- package/dist/components/STable/utils/useTableServiceRows.js +125 -0
- package/dist/components/STable/utils/useTableSorting.cjs +89 -0
- package/dist/components/STable/utils/useTableSorting.js +89 -0
- package/dist/components/STable/utils/useTableStickyRows.cjs +132 -0
- package/dist/components/STable/utils/useTableStickyRows.js +132 -0
- package/dist/components/STable/utils/useTableStyleVars.cjs +41 -0
- package/dist/components/STable/utils/useTableStyleVars.js +41 -0
- package/dist/components/STable/utils/useTableVirtualRows.cjs +251 -0
- package/dist/components/STable/utils/useTableVirtualRows.js +251 -0
- package/dist/components/STabs/STabs.vue.cjs +6 -0
- package/dist/components/STabs/STabs.vue.js +6 -0
- package/dist/components/STabs/STabs.vue_vue_type_script_setup_true_lang.cjs +133 -0
- package/dist/components/STabs/STabs.vue_vue_type_script_setup_true_lang.js +133 -0
- package/dist/components/STabs/utils/context.cjs +4 -0
- package/dist/components/STabs/utils/context.js +4 -0
- package/dist/components/STabs/utils/useTabsIndicator.cjs +53 -0
- package/dist/components/STabs/utils/useTabsIndicator.js +53 -0
- package/dist/components/STag/STag.types.cjs +28 -0
- package/dist/components/STag/STag.types.js +27 -0
- package/dist/components/STag/STag.vue.cjs +6 -0
- package/dist/components/STag/STag.vue.js +6 -0
- package/dist/components/STag/STag.vue_vue_type_script_setup_true_lang.cjs +163 -0
- package/dist/components/STag/STag.vue_vue_type_script_setup_true_lang.js +163 -0
- package/dist/components/STag/utils/resolveTagColor.cjs +19 -0
- package/dist/components/STag/utils/resolveTagColor.js +17 -0
- package/dist/components/STagGroup/STagGroup.vue.cjs +6 -0
- package/dist/components/STagGroup/STagGroup.vue.js +6 -0
- package/dist/components/STagGroup/STagGroup.vue_vue_type_script_setup_true_lang.cjs +49 -0
- package/dist/components/STagGroup/STagGroup.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/components/STagGroup/utils/applyTagGroupItemProps.cjs +13 -0
- package/dist/components/STagGroup/utils/applyTagGroupItemProps.js +13 -0
- package/dist/components/STextarea/STextarea.vue.cjs +6 -0
- package/dist/components/STextarea/STextarea.vue.js +6 -0
- package/dist/components/STextarea/STextarea.vue_vue_type_script_setup_true_lang.cjs +237 -0
- package/dist/components/STextarea/STextarea.vue_vue_type_script_setup_true_lang.js +237 -0
- package/dist/components/SToast/SToast.vue.cjs +6 -0
- package/dist/components/SToast/SToast.vue.js +6 -0
- package/dist/components/SToast/SToast.vue_vue_type_script_setup_true_lang.cjs +101 -0
- package/dist/components/SToast/SToast.vue_vue_type_script_setup_true_lang.js +101 -0
- package/dist/components/SToastProvider/SToastProvider.vue.cjs +6 -0
- package/dist/components/SToastProvider/SToastProvider.vue.js +6 -0
- package/dist/components/SToastProvider/SToastProvider.vue_vue_type_script_setup_true_lang.cjs +212 -0
- package/dist/components/SToastProvider/SToastProvider.vue_vue_type_script_setup_true_lang.js +212 -0
- package/dist/components/SToastProvider/SToastProviderToast.vue.cjs +4 -0
- package/dist/components/SToastProvider/SToastProviderToast.vue.js +5 -0
- package/dist/components/SToastProvider/SToastProviderToast.vue_vue_type_script_setup_true_lang.cjs +75 -0
- package/dist/components/SToastProvider/SToastProviderToast.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/components/SToastProvider/useToast.cjs +96 -0
- package/dist/components/SToastProvider/useToast.js +97 -0
- package/dist/components/SToastProvider/utils/computeAutoDuration.cjs +14 -0
- package/dist/components/SToastProvider/utils/computeAutoDuration.js +11 -0
- package/dist/components/SToastProvider/utils/toastProviderConstants.cjs +4 -0
- package/dist/components/SToastProvider/utils/toastProviderConstants.js +4 -0
- package/dist/components/SToggle/SToggle.types.cjs +15 -0
- package/dist/components/SToggle/SToggle.types.js +14 -0
- package/dist/components/SToggle/SToggle.vue.cjs +6 -0
- package/dist/components/SToggle/SToggle.vue.js +6 -0
- package/dist/components/SToggle/SToggle.vue_vue_type_script_setup_true_lang.cjs +80 -0
- package/dist/components/SToggle/SToggle.vue_vue_type_script_setup_true_lang.js +80 -0
- package/dist/composables/connectedPosition/computeArrowPosition.cjs +51 -0
- package/dist/composables/connectedPosition/computeArrowPosition.js +51 -0
- package/dist/composables/connectedPosition/computeConnectedPosition.cjs +96 -0
- package/dist/composables/connectedPosition/computeConnectedPosition.js +96 -0
- package/dist/composables/connectedPosition/flipSide.cjs +22 -0
- package/dist/composables/connectedPosition/flipSide.js +22 -0
- package/dist/composables/connectedPosition/getBoundaryRect.cjs +37 -0
- package/dist/composables/connectedPosition/getBoundaryRect.js +37 -0
- package/dist/composables/connectedPosition/getOverflow.cjs +60 -0
- package/dist/composables/connectedPosition/getOverflow.js +54 -0
- package/dist/composables/connectedPosition/getScrollParents.cjs +21 -0
- package/dist/composables/connectedPosition/getScrollParents.js +21 -0
- package/dist/composables/connectedPosition/getViewportRect.cjs +33 -0
- package/dist/composables/connectedPosition/getViewportRect.js +32 -0
- package/dist/composables/connectedPosition/parseAnchor.cjs +78 -0
- package/dist/composables/connectedPosition/parseAnchor.js +77 -0
- package/dist/composables/connectedPosition/positionCoordinates.cjs +109 -0
- package/dist/composables/connectedPosition/positionCoordinates.js +107 -0
- package/dist/composables/connectedPosition/resolveElement.cjs +9 -0
- package/dist/composables/connectedPosition/resolveElement.js +9 -0
- package/dist/composables/connectedPosition/types.cjs +47 -0
- package/dist/composables/connectedPosition/types.js +43 -0
- package/dist/composables/treeKeyboardNavigation.cjs +58 -0
- package/dist/composables/treeKeyboardNavigation.js +55 -0
- package/dist/composables/useAriaAttrs.cjs +37 -0
- package/dist/composables/useAriaAttrs.js +37 -0
- package/dist/composables/useChart.cjs +51 -0
- package/dist/composables/useChart.js +51 -0
- package/dist/composables/useChartInteractivity.cjs +26 -0
- package/dist/composables/useChartInteractivity.js +26 -0
- package/dist/composables/useEscapeDismiss.cjs +23 -0
- package/dist/composables/useEscapeDismiss.js +23 -0
- package/dist/composables/useFieldAttrs.cjs +36 -0
- package/dist/composables/useFieldAttrs.js +36 -0
- package/dist/composables/useFieldFilled.cjs +17 -0
- package/dist/composables/useFieldFilled.js +17 -0
- package/dist/composables/useFieldFocus.cjs +29 -0
- package/dist/composables/useFieldFocus.js +29 -0
- package/dist/composables/useFieldMessages.cjs +15 -0
- package/dist/composables/useFieldMessages.js +15 -0
- package/dist/composables/useFlatTreeList.cjs +148 -0
- package/dist/composables/useFlatTreeList.js +147 -0
- package/dist/composables/useFloatingOverlay.cjs +268 -0
- package/dist/composables/useFloatingOverlay.js +268 -0
- package/dist/composables/useHasListener.cjs +8 -0
- package/dist/composables/useHasListener.js +8 -0
- package/dist/composables/useLink.cjs +79 -0
- package/dist/composables/useLink.js +79 -0
- package/dist/composables/useOverflowGroup.cjs +29 -0
- package/dist/composables/useOverflowGroup.js +29 -0
- package/dist/composables/useResizeAutoScroll.cjs +163 -0
- package/dist/composables/useResizeAutoScroll.js +163 -0
- package/dist/composables/useSListEndReached.cjs +18 -0
- package/dist/composables/useSListEndReached.js +18 -0
- package/dist/composables/useSelectLink.cjs +16 -0
- package/dist/composables/useSelectLink.js +16 -0
- package/dist/composables/useSelectionGroup.cjs +323 -0
- package/dist/composables/useSelectionGroup.js +318 -0
- package/dist/composables/useSelectionGroupItem.cjs +62 -0
- package/dist/composables/useSelectionGroupItem.js +62 -0
- package/dist/entries/avatar-group.cjs +5 -1
- package/dist/entries/avatar-group.js +3 -2
- package/dist/entries/avatar.cjs +9 -1
- package/dist/entries/avatar.js +3 -2
- package/dist/entries/badge.cjs +6 -1
- package/dist/entries/badge.js +3 -2
- package/dist/entries/button-group.cjs +8 -1
- package/dist/entries/button-group.js +4 -3
- package/dist/entries/button.cjs +7 -1
- package/dist/entries/button.js +3 -2
- package/dist/entries/calendar.cjs +23 -1
- package/dist/entries/calendar.js +11 -2
- package/dist/entries/card.cjs +5 -1
- package/dist/entries/card.js +3 -2
- package/dist/entries/chart-bar.cjs +3 -1
- package/dist/entries/chart-bar.js +2 -2
- package/dist/entries/chart-burnup.cjs +3 -1
- package/dist/entries/chart-burnup.js +2 -2
- package/dist/entries/chart-horizontal-bar.cjs +3 -1
- package/dist/entries/chart-horizontal-bar.js +2 -2
- package/dist/entries/chart-line.cjs +3 -1
- package/dist/entries/chart-line.js +2 -2
- package/dist/entries/chart-multi-line.cjs +3 -1
- package/dist/entries/chart-multi-line.js +2 -2
- package/dist/entries/chart-pie.cjs +5 -1
- package/dist/entries/chart-pie.js +3 -2
- package/dist/entries/chart-progress.cjs +3 -1
- package/dist/entries/chart-progress.js +2 -2
- package/dist/entries/chart-scatter.cjs +3 -1
- package/dist/entries/chart-scatter.js +2 -2
- package/dist/entries/chart-stacked-area.cjs +3 -1
- package/dist/entries/chart-stacked-area.js +2 -2
- package/dist/entries/chart-stacked-bar.cjs +3 -1
- package/dist/entries/chart-stacked-bar.js +2 -2
- package/dist/entries/checkbox.cjs +7 -1
- package/dist/entries/checkbox.js +3 -2
- package/dist/entries/chip.cjs +6 -1
- package/dist/entries/chip.js +3 -2
- package/dist/entries/color-palette.cjs +14 -1
- package/dist/entries/color-palette.js +7 -3
- package/dist/entries/color-picker.cjs +16 -1
- package/dist/entries/color-picker.js +8 -4
- package/dist/entries/composables.cjs +18 -1
- package/dist/entries/composables.js +8 -5
- package/dist/entries/dropdown-menu.cjs +3 -0
- package/dist/entries/dropdown-menu.js +2 -0
- package/dist/entries/dropdown.cjs +7 -1
- package/dist/entries/dropdown.js +4 -3
- package/dist/entries/icon.cjs +9 -1
- package/dist/entries/inline-input.cjs +5 -1
- package/dist/entries/inline-input.js +3 -2
- package/dist/entries/inline-message.cjs +5 -1
- package/dist/entries/inline-message.js +3 -2
- package/dist/entries/input.cjs +5 -1
- package/dist/entries/input.js +3 -2
- package/dist/entries/label.cjs +6 -1
- package/dist/entries/label.js +3 -2
- package/dist/entries/list-item.cjs +6 -1
- package/dist/entries/list-item.js +3 -2
- package/dist/entries/list.cjs +5 -1
- package/dist/entries/list.js +3 -2
- package/dist/entries/photo-edit.cjs +6 -1
- package/dist/entries/photo-edit.js +3 -2
- package/dist/entries/progress-bar.cjs +9 -1
- package/dist/entries/radio.cjs +5 -1
- package/dist/entries/radio.js +3 -2
- package/dist/entries/segment-control.cjs +6 -1
- package/dist/entries/segment-control.js +3 -2
- package/dist/entries/select.cjs +5 -1
- package/dist/entries/select.js +3 -2
- package/dist/entries/separator.cjs +14 -1
- package/dist/entries/separator.js +2 -2
- package/dist/entries/skeleton.cjs +9 -1
- package/dist/entries/spinner.cjs +9 -1
- package/dist/entries/tab.cjs +6 -1
- package/dist/entries/tab.js +3 -2
- package/dist/entries/table.cjs +16 -1
- package/dist/entries/table.js +3 -2
- package/dist/entries/tabs.cjs +8 -1
- package/dist/entries/tabs.js +4 -3
- package/dist/entries/tag-group.cjs +6 -1
- package/dist/entries/tag-group.js +3 -3
- package/dist/entries/tag.cjs +6 -1
- package/dist/entries/tag.js +3 -2
- package/dist/entries/textarea.cjs +3 -1
- package/dist/entries/textarea.js +2 -2
- package/dist/entries/toggle.cjs +6 -1
- package/dist/entries/toggle.js +3 -2
- package/dist/entries/tokens.cjs +9 -1
- package/dist/index.cjs +298 -1
- package/dist/index.js +105 -1269
- package/dist/uikit-components.css +1 -1
- package/dist/utils/chart/bar/createStackedBarHoverOutlinePlugin.cjs +63 -0
- package/dist/utils/chart/bar/createStackedBarHoverOutlinePlugin.js +63 -0
- package/dist/utils/chart/bar/createStackedBarTooltipCallbacks.cjs +53 -0
- package/dist/utils/chart/bar/createStackedBarTooltipCallbacks.js +51 -0
- package/dist/utils/chart/bar/resolveBarStackedSeriesColor.cjs +11 -0
- package/dist/utils/chart/bar/resolveBarStackedSeriesColor.js +11 -0
- package/dist/utils/chart/burnup/createBurnupTagPlugin.cjs +63 -0
- package/dist/utils/chart/burnup/createBurnupTagPlugin.js +63 -0
- package/dist/utils/chart/burnup/createBurnupTodayLinePlugin.cjs +24 -0
- package/dist/utils/chart/burnup/createBurnupTodayLinePlugin.js +24 -0
- package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.cjs +17 -0
- package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.js +16 -0
- package/dist/utils/chart/core/applyChartHighlightedYTick.cjs +21 -0
- package/dist/utils/chart/core/applyChartHighlightedYTick.js +21 -0
- package/dist/utils/chart/core/buildCartesianChartScales.cjs +42 -0
- package/dist/utils/chart/core/buildCartesianChartScales.js +42 -0
- package/dist/utils/chart/core/buildChartLegendItems.cjs +7 -0
- package/dist/utils/chart/core/buildChartLegendItems.js +7 -0
- package/dist/utils/chart/core/buildChartMirrorScale.cjs +17 -0
- package/dist/utils/chart/core/buildChartMirrorScale.js +16 -0
- package/dist/utils/chart/core/buildChartSeriesPoints.cjs +7 -0
- package/dist/utils/chart/core/buildChartSeriesPoints.js +7 -0
- package/dist/utils/chart/core/chartCssVariables.cjs +151 -0
- package/dist/utils/chart/core/chartCssVariables.js +144 -0
- package/dist/utils/chart/core/chartInteractivity.cjs +178 -0
- package/dist/utils/chart/core/chartInteractivity.js +170 -0
- package/dist/utils/chart/core/chartSkeletonConfig.cjs +17 -0
- package/dist/utils/chart/core/chartSkeletonConfig.js +15 -0
- package/dist/utils/chart/core/createChartMarkersPlugin.cjs +85 -0
- package/dist/utils/chart/core/createChartMarkersPlugin.js +85 -0
- package/dist/utils/chart/core/createCustomTooltipCallbacks.cjs +12 -0
- package/dist/utils/chart/core/createCustomTooltipCallbacks.js +12 -0
- package/dist/utils/chart/core/createZeroLinePlugin.cjs +24 -0
- package/dist/utils/chart/core/createZeroLinePlugin.js +24 -0
- package/dist/utils/chart/core/registerChartJs.cjs +42 -0
- package/dist/utils/chart/core/registerChartJs.js +42 -0
- package/dist/utils/chart/core/resolveChartValueRange.cjs +19 -0
- package/dist/utils/chart/core/resolveChartValueRange.js +19 -0
- package/dist/utils/chart/core/resolveSeriesPaletteColor.cjs +11 -0
- package/dist/utils/chart/core/resolveSeriesPaletteColor.js +11 -0
- package/dist/utils/chart/core/splitChartAxisLabel.cjs +5 -0
- package/dist/utils/chart/core/splitChartAxisLabel.js +5 -0
- package/dist/utils/chart/css/applyOpacityToCssColor.cjs +8 -0
- package/dist/utils/chart/css/applyOpacityToCssColor.js +8 -0
- package/dist/utils/chart/css/readCssColor.cjs +8 -0
- package/dist/utils/chart/css/readCssColor.js +8 -0
- package/dist/utils/chart/css/readCssNumber.cjs +11 -0
- package/dist/utils/chart/css/readCssNumber.js +11 -0
- package/dist/utils/chart/css/resolveChartLabelFont.cjs +8 -0
- package/dist/utils/chart/css/resolveChartLabelFont.js +8 -0
- package/dist/utils/chart/css/resolveCssColorValue.cjs +10 -0
- package/dist/utils/chart/css/resolveCssColorValue.js +10 -0
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.cjs +96 -0
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.js +96 -0
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.cjs +53 -0
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.js +53 -0
- package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.cjs +47 -0
- package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.js +46 -0
- package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.cjs +11 -0
- package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.js +11 -0
- package/dist/utils/chart/horizontalBar/resolveHorizontalBarXMax.cjs +11 -0
- package/dist/utils/chart/horizontalBar/resolveHorizontalBarXMax.js +11 -0
- package/dist/utils/chart/horizontalBar/skeletonHorizontalBarFixture.cjs +29 -0
- package/dist/utils/chart/horizontalBar/skeletonHorizontalBarFixture.js +29 -0
- package/dist/utils/chart/line/createChartAreaFillGradient.cjs +41 -0
- package/dist/utils/chart/line/createChartAreaFillGradient.js +39 -0
- package/dist/utils/chart/multiLine/buildMultiLineChartScales.cjs +43 -0
- package/dist/utils/chart/multiLine/buildMultiLineChartScales.js +43 -0
- package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.cjs +29 -0
- package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.js +27 -0
- package/dist/utils/chart/multiLine/resolveMultiLineSeriesColor.cjs +11 -0
- package/dist/utils/chart/multiLine/resolveMultiLineSeriesColor.js +11 -0
- package/dist/utils/chart/pie/createPieSegmentBadgePlugin.cjs +61 -0
- package/dist/utils/chart/pie/createPieSegmentBadgePlugin.js +61 -0
- package/dist/utils/chart/pie/createPieTooltipCallbacks.cjs +11 -0
- package/dist/utils/chart/pie/createPieTooltipCallbacks.js +11 -0
- package/dist/utils/chart/pie/resolvePieSliceColor.cjs +11 -0
- package/dist/utils/chart/pie/resolvePieSliceColor.js +11 -0
- package/dist/utils/chart/progress/createProgressChartTooltipPositioner.cjs +25 -0
- package/dist/utils/chart/progress/createProgressChartTooltipPositioner.js +24 -0
- package/dist/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.cjs +30 -0
- package/dist/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.js +30 -0
- package/dist/utils/chart/stacked/areChartSeriesAligned.cjs +14 -0
- package/dist/utils/chart/stacked/areChartSeriesAligned.js +14 -0
- package/dist/utils/chart/stacked/createChartCrosshairPlugin.cjs +23 -0
- package/dist/utils/chart/stacked/createChartCrosshairPlugin.js +23 -0
- package/dist/utils/chart/stacked/createStackedAreaTooltipCallbacks.cjs +34 -0
- package/dist/utils/chart/stacked/createStackedAreaTooltipCallbacks.js +32 -0
- package/dist/utils/chart/stacked/resolveStackedChartContext.cjs +21 -0
- package/dist/utils/chart/stacked/resolveStackedChartContext.js +21 -0
- package/dist/utils/chart/stacked/resolveStackedSeriesColor.cjs +11 -0
- package/dist/utils/chart/stacked/resolveStackedSeriesColor.js +11 -0
- package/dist/utils/chart/stacked/resolveStackedYMax.cjs +16 -0
- package/dist/utils/chart/stacked/resolveStackedYMax.js +16 -0
- package/dist/utils/color/colorFormatChannels.cjs +165 -0
- package/dist/utils/color/colorFormatChannels.js +158 -0
- package/dist/utils/color/colorValue.cjs +31 -0
- package/dist/utils/color/colorValue.js +27 -0
- package/dist/utils/color/contrastSurfaceTextColor.cjs +60 -0
- package/dist/utils/color/contrastSurfaceTextColor.js +59 -0
- package/dist/utils/color/defaultPaletteColors.cjs +17 -0
- package/dist/utils/color/defaultPaletteColors.js +17 -0
- package/dist/utils/color/formatColorForDisplay.cjs +45 -0
- package/dist/utils/color/formatColorForDisplay.js +42 -0
- package/dist/utils/color/parseColorFromInput.cjs +34 -0
- package/dist/utils/color/parseColorFromInput.js +34 -0
- package/dist/utils/color/recommendedColorPalette.cjs +36 -0
- package/dist/utils/color/recommendedColorPalette.js +36 -0
- package/dist/utils/color/types.cjs +25 -0
- package/dist/utils/color/types.js +24 -0
- package/dist/utils/getIndicatorMetricsPercent.cjs +34 -0
- package/dist/utils/getIndicatorMetricsPercent.js +33 -0
- package/dist/utils/normalizeFieldMessages.cjs +8 -0
- package/dist/utils/normalizeFieldMessages.js +8 -0
- package/dist/utils/vnodes/collectSlotVnodes.cjs +39 -0
- package/dist/utils/vnodes/collectSlotVnodes.js +39 -0
- package/dist/utils/vnodes/renderVnodeList.cjs +16 -0
- package/dist/utils/vnodes/renderVnodeList.js +16 -0
- package/dist/utils/vueRouterLinkPresentation.cjs +30 -0
- package/dist/utils/vueRouterLinkPresentation.js +28 -0
- package/dist/vendor/lodash-es/_Symbol.cjs +5 -0
- package/dist/vendor/lodash-es/_Symbol.js +6 -0
- package/dist/vendor/lodash-es/_baseGetTag.cjs +21 -0
- package/dist/vendor/lodash-es/_baseGetTag.js +21 -0
- package/dist/vendor/lodash-es/_baseTrim.cjs +16 -0
- package/dist/vendor/lodash-es/_baseTrim.js +16 -0
- package/dist/vendor/lodash-es/_freeGlobal.cjs +5 -0
- package/dist/vendor/lodash-es/_freeGlobal.js +5 -0
- package/dist/vendor/lodash-es/_getRawTag.cjs +34 -0
- package/dist/vendor/lodash-es/_getRawTag.js +34 -0
- package/dist/vendor/lodash-es/_objectToString.cjs +19 -0
- package/dist/vendor/lodash-es/_objectToString.js +19 -0
- package/dist/vendor/lodash-es/_root.cjs +8 -0
- package/dist/vendor/lodash-es/_root.js +8 -0
- package/dist/vendor/lodash-es/_trimmedEndIndex.cjs +18 -0
- package/dist/vendor/lodash-es/_trimmedEndIndex.js +18 -0
- package/dist/vendor/lodash-es/debounce.cjs +132 -0
- package/dist/vendor/lodash-es/debounce.js +132 -0
- package/dist/vendor/lodash-es/isObject.cjs +32 -0
- package/dist/vendor/lodash-es/isObject.js +32 -0
- package/dist/vendor/lodash-es/isObjectLike.cjs +30 -0
- package/dist/vendor/lodash-es/isObjectLike.js +30 -0
- package/dist/vendor/lodash-es/isSymbol.cjs +27 -0
- package/dist/vendor/lodash-es/isSymbol.js +27 -0
- package/dist/vendor/lodash-es/now.cjs +23 -0
- package/dist/vendor/lodash-es/now.js +23 -0
- package/dist/vendor/lodash-es/toNumber.cjs +51 -0
- package/dist/vendor/lodash-es/toNumber.js +51 -0
- package/package.json +1 -1
- package/dist/SAvatar-6uaisUHm.js +0 -267
- package/dist/SAvatar-BQNqFdkk.cjs +0 -1
- package/dist/SAvatarGroup-D27squmU.cjs +0 -1
- package/dist/SAvatarGroup-DnVhY7I1.js +0 -47
- package/dist/SBadge-Dn87LB9z.cjs +0 -1
- package/dist/SBadge-Du9iIiXS.js +0 -85
- package/dist/SButton-CZW6Y8Vw.cjs +0 -1
- package/dist/SButton-n2Zuqh04.js +0 -249
- package/dist/SButtonGroup-BqW5Rz1p.js +0 -88
- package/dist/SButtonGroup-DSi8mQSz.cjs +0 -1
- package/dist/SCard-CYPxwmOm.cjs +0 -1
- package/dist/SCard-CuiQMwUB.js +0 -132
- package/dist/SChartBar-BAO2FtIO.cjs +0 -1
- package/dist/SChartBar-DHjm1H0N.js +0 -304
- package/dist/SChartBurnup-9s2KNzCr.cjs +0 -1
- package/dist/SChartBurnup-B1KU1E5B.js +0 -261
- package/dist/SChartHorizontalBar-DwY63iRT.cjs +0 -1
- package/dist/SChartHorizontalBar-VKU0b6Jx.js +0 -245
- package/dist/SChartLegend-At0mMO09.js +0 -88
- package/dist/SChartLegend-DQMLr6yV.cjs +0 -1
- package/dist/SChartLine-rnEsQv-q.js +0 -165
- package/dist/SChartLine-tj-AapTr.cjs +0 -1
- package/dist/SChartMultiLine-C4jjmLEb.js +0 -282
- package/dist/SChartMultiLine-dtd6k59D.cjs +0 -1
- package/dist/SChartPie-Ddk8r-_I.cjs +0 -1
- package/dist/SChartPie-Ebg7WSga.js +0 -267
- package/dist/SChartProgress-DRSh_taf.js +0 -211
- package/dist/SChartProgress-DozBX6ve.cjs +0 -1
- package/dist/SChartScatter-DilWNoz0.cjs +0 -1
- package/dist/SChartScatter-DnmTw18x.js +0 -249
- package/dist/SChartStackedArea-BJ5HsJzQ.cjs +0 -1
- package/dist/SChartStackedArea-zIygTOp8.js +0 -278
- package/dist/SChartStackedBar-CXpVSagd.js +0 -350
- package/dist/SChartStackedBar-Dj6esSCS.cjs +0 -2
- package/dist/SCheckbox-Dkbk21Id.cjs +0 -1
- package/dist/SCheckbox-Dulusx5v.js +0 -105
- package/dist/SChip-CdKh_3Bo.js +0 -101
- package/dist/SChip-DwjDiD7C.cjs +0 -1
- package/dist/SColorPalette-CqIA4Qtp.cjs +0 -1
- package/dist/SColorPalette-OCu-tgZ3.js +0 -146
- package/dist/SColorPicker-BfJD4dt_.js +0 -642
- package/dist/SColorPicker-NqSNxcwH.cjs +0 -1
- package/dist/SDropdown-B_nsm3Jf.cjs +0 -1
- package/dist/SDropdown-aWjZrahp.js +0 -541
- package/dist/SDropdownMenu-2koPU6IG.js +0 -38
- package/dist/SDropdownMenu-k9SxaFVH.cjs +0 -1
- package/dist/SInlineInput-D3vCX4QA.cjs +0 -1
- package/dist/SInlineInput-DO_glYxP.js +0 -517
- package/dist/SInlineMessage-Dirk5RwO.js +0 -17
- package/dist/SInlineMessage-gjkMiE-W.cjs +0 -1
- package/dist/SInput-DwUxyUwU.js +0 -226
- package/dist/SInput-x0GgJDEY.cjs +0 -1
- package/dist/SLabel-DLKfepRW.cjs +0 -1
- package/dist/SLabel-FHHPlcKq.js +0 -59
- package/dist/SList-CmMkLkdG.cjs +0 -1
- package/dist/SList-T_fgzdb3.js +0 -477
- package/dist/SListItem-CQKZw5Uj.js +0 -246
- package/dist/SListItem-CrAnC2MG.cjs +0 -1
- package/dist/SOverflowGroup-CyksOav7.js +0 -79
- package/dist/SOverflowGroup-rmU10_7L.cjs +0 -1
- package/dist/SPhotoEdit-CoJLP7rt.cjs +0 -1
- package/dist/SPhotoEdit-DiEnt3tE.js +0 -122
- package/dist/SRadio-B9qQ-PEk.cjs +0 -1
- package/dist/SRadio-BhoLtFUS.js +0 -60
- package/dist/SSegmentControl-BQ8fg3m-.js +0 -212
- package/dist/SSegmentControl-jPA19SVO.cjs +0 -1
- package/dist/SSelect-BSbEFqAB.cjs +0 -1
- package/dist/SSelect-DM4-PF5I.js +0 -685
- package/dist/STab-BkQzKaLY.cjs +0 -1
- package/dist/STab-D7SATMfv.js +0 -242
- package/dist/STable-BnS7Ijfz.js +0 -3556
- package/dist/STable-CfdGC7jb.cjs +0 -1
- package/dist/STabs-CDNAhgMN.cjs +0 -1
- package/dist/STabs-_Zwxu8-o.js +0 -151
- package/dist/STag-C21nN8ow.js +0 -125
- package/dist/STag-qKbkpXjI.cjs +0 -1
- package/dist/STagGroup-6Z8CKlut.cjs +0 -1
- package/dist/STagGroup-CW9kWSnz.js +0 -47
- package/dist/STextarea-CCnFvaU3.js +0 -269
- package/dist/STextarea-DxjrKM9g.cjs +0 -1
- package/dist/SToggle-BNgLiIrQ.cjs +0 -1
- package/dist/SToggle-MSdprnRP.js +0 -62
- package/dist/applyChartHighlightedYTick-CKsVe7PW.cjs +0 -1
- package/dist/applyChartHighlightedYTick-DOxlsWPd.js +0 -17
- package/dist/areChartSeriesAligned-DiBX3TTk.cjs +0 -1
- package/dist/areChartSeriesAligned-DjonrIMm.js +0 -8
- package/dist/buildCartesianChartScales-Dck5yBMo.cjs +0 -1
- package/dist/buildCartesianChartScales-EofFq3ry.js +0 -42
- package/dist/buildChartMirrorScale-CBUIRPYX.cjs +0 -1
- package/dist/buildChartMirrorScale-_PhGNiFR.js +0 -15
- package/dist/buildChartSeriesPoints-BTyOpkin.js +0 -10
- package/dist/buildChartSeriesPoints-Cqo2ed-n.cjs +0 -1
- package/dist/buildMultiLineChartScales-BweU2ftq.cjs +0 -1
- package/dist/buildMultiLineChartScales-DbRe2UFD.js +0 -38
- package/dist/buildWorkTimeLegendItems-CifzZM9C.js +0 -411
- package/dist/buildWorkTimeLegendItems-DPx5Yma0.cjs +0 -1
- package/dist/colorValue-CSh0chxp.js +0 -5
- package/dist/colorValue-Dda7fKd3.cjs +0 -1
- package/dist/context-C3WoLJS4.js +0 -4
- package/dist/context-kCi2xRHY.cjs +0 -1
- package/dist/contrastSurfaceTextColor-BDlLSSXC.js +0 -33
- package/dist/contrastSurfaceTextColor-BRjRzXyZ.cjs +0 -1
- package/dist/createChartCrosshairPlugin-B4LrgKjG.js +0 -14
- package/dist/createChartCrosshairPlugin-COIICTCz.cjs +0 -1
- package/dist/createChartMarkersPlugin-L7qomZVK.cjs +0 -1
- package/dist/createChartMarkersPlugin-bAEeP-5Z.js +0 -43
- package/dist/createCustomTooltipCallbacks-CxeEfJLl.js +0 -12
- package/dist/createCustomTooltipCallbacks-oRAimZTt.cjs +0 -1
- package/dist/getIndicatorMetricsPercent-CFGy_nB8.cjs +0 -1
- package/dist/getIndicatorMetricsPercent-CWrH_ONg.js +0 -19
- package/dist/resolveBarStackedSeriesColor-BDJ7XBIB.cjs +0 -1
- package/dist/resolveBarStackedSeriesColor-zEV1Ps7h.js +0 -11
- package/dist/resolveChartLabelFont-D_Pxt-gs.cjs +0 -1
- package/dist/resolveChartLabelFont-WtZd0pFD.js +0 -4
- package/dist/resolveChartValueRange-DBCYLCXs.cjs +0 -1
- package/dist/resolveChartValueRange-DZybnmaX.js +0 -10
- package/dist/resolveCssColorValue-BBK7CTmP.js +0 -8
- package/dist/resolveCssColorValue-D3fS-cK8.cjs +0 -1
- package/dist/resolveSeriesPaletteColor-Bk52kyZo.js +0 -10
- package/dist/resolveSeriesPaletteColor-CVEsFs0o.cjs +0 -1
- package/dist/resolveStackedChartContext-BE3ZW2Sf.cjs +0 -1
- package/dist/resolveStackedChartContext-Dc6Foe7D.js +0 -26
- package/dist/splitChartAxisLabel-D-IFyucJ.js +0 -4
- package/dist/splitChartAxisLabel-DAmQOJn6.cjs +0 -2
- package/dist/treeKeyboardNavigation-BOz2SVus.cjs +0 -1
- package/dist/treeKeyboardNavigation-SmxTdnDz.js +0 -131
- package/dist/useAriaAttrs-CxGRTeye.js +0 -15
- package/dist/useAriaAttrs-D748yeJ_.cjs +0 -1
- package/dist/useChartInteractivity-Yk7qEYgl.cjs +0 -2
- package/dist/useChartInteractivity-sgbPZgcH.js +0 -416
- package/dist/useFieldMessages-2TaArixP.cjs +0 -1
- package/dist/useFieldMessages-C-GXaf_q.js +0 -43
- package/dist/useFloatingOverlay-CwGCMrig.cjs +0 -1
- package/dist/useFloatingOverlay-TxzVisMJ.js +0 -489
- package/dist/useHasListener-BPgtbbo6.cjs +0 -1
- package/dist/useHasListener-RSjlUyqH.js +0 -8
- package/dist/useLink-1LLWpdDZ.cjs +0 -1
- package/dist/useLink-Com5VhOk.js +0 -55
- package/dist/useSelectLink-2aCIYmF6.js +0 -47
- package/dist/useSelectLink-DZIAhQ2J.cjs +0 -1
- package/dist/useSelectionGroup-BCAmPf3R.js +0 -211
- package/dist/useSelectionGroup-NJvi3hNo.cjs +0 -1
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { resolveTreeKeyboardNavigationAction } from "../../../composables/treeKeyboardNavigation.js";
|
|
2
|
+
import { ESTableRowKind } from "../STable.types.js";
|
|
3
|
+
import { ESTableGridSection, resolveTableGridSection } from "./useTableGridFocus.js";
|
|
4
|
+
import { toValue } from "vue";
|
|
5
|
+
//#region src/components/STable/utils/useTableGridKeyboard.ts
|
|
6
|
+
var GRID_TEXT_ENTRY_SELECTOR = "input, textarea, select, [contenteditable=\"true\"]";
|
|
7
|
+
/**
|
|
8
|
+
* Клавиатурный диспетчер грида: разбирает событие и переводит его в вызовы
|
|
9
|
+
* `useTableGridFocus` и коллбэки таблицы. Собственного состояния не держит —
|
|
10
|
+
* адрес фокуса и режим «внутри ячейки» живут в `useTableGridFocus`.
|
|
11
|
+
*/
|
|
12
|
+
var useTableGridKeyboard = ({ gridFocus, columnDescriptors, flatRows, expandColumnKey, primaryColumnKey, groupColumnKey, selectable, openMenuColumnKey, toggleExpanded, toggleRowSelected, applySortCycle, setColumnMenuOpen, resizeColumnByKeyboard, onDepthFooterActivate, onLoadMoreActivate, onRowActivate }) => {
|
|
13
|
+
const getFocusedDescriptor = () => {
|
|
14
|
+
const columnKey = gridFocus.focusAddress.value.columnKey;
|
|
15
|
+
return columnDescriptors.value.find((descriptor) => descriptor.key === columnKey);
|
|
16
|
+
};
|
|
17
|
+
const getFocusedBodyRow = () => {
|
|
18
|
+
const rowIndex = gridFocus.focusBodyRowIndex.value;
|
|
19
|
+
return rowIndex === void 0 ? void 0 : flatRows.value[rowIndex];
|
|
20
|
+
};
|
|
21
|
+
const resolveTreeColumnKey = (flatRow) => {
|
|
22
|
+
return flatRow.kind === ESTableRowKind.GROUP ? toValue(groupColumnKey) : toValue(expandColumnKey) ?? toValue(primaryColumnKey);
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Ссылка или кнопка в ячейке — своя остановка Tab в документе, и обход снаружи встаёт на
|
|
26
|
+
* неё, минуя roving-ячейку. Вход с клавиатуры (`:focus-visible`) извне таблицы в чужую
|
|
27
|
+
* ячейку переводится на roving-ячейку. Мышь, программный фокус изнутри и поля ввода
|
|
28
|
+
* (у них `:focus-visible` и от мыши) остаются, где встали.
|
|
29
|
+
*/
|
|
30
|
+
const isKeyboardEntryPastRovingCell = (event, eventTarget, address) => {
|
|
31
|
+
const gridElement = event.currentTarget;
|
|
32
|
+
const previousElement = event.relatedTarget;
|
|
33
|
+
return !(gridElement instanceof Node && previousElement instanceof Node && gridElement.contains(previousElement)) && eventTarget.matches(":focus-visible") && !eventTarget.matches(GRID_TEXT_ENTRY_SELECTOR) && !gridFocus.isCellFocused(address.section, address.rowKey, address.columnKey);
|
|
34
|
+
};
|
|
35
|
+
/** Адрес ячейки из её `data-*`; null — элемент не ячейка грида. */
|
|
36
|
+
const resolveCellAddress = (cellElement) => {
|
|
37
|
+
const section = resolveTableGridSection(cellElement.dataset.section ?? null);
|
|
38
|
+
const columnKey = cellElement.dataset.columnKey;
|
|
39
|
+
if (!section || !columnKey) return null;
|
|
40
|
+
return {
|
|
41
|
+
section,
|
|
42
|
+
rowKey: cellElement.dataset.rowKey,
|
|
43
|
+
columnKey
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
/** Фокус пришёл мышью или из ячейки — адрес модели догоняет DOM. */
|
|
47
|
+
const handleGridFocusIn = (event) => {
|
|
48
|
+
const eventTarget = event.target;
|
|
49
|
+
if (!(eventTarget instanceof HTMLElement)) return;
|
|
50
|
+
const cellElement = eventTarget.closest("[data-section]");
|
|
51
|
+
const address = cellElement instanceof HTMLElement ? resolveCellAddress(cellElement) : null;
|
|
52
|
+
if (!address) return;
|
|
53
|
+
const isInsideCell = cellElement !== eventTarget;
|
|
54
|
+
if (isInsideCell && isKeyboardEntryPastRovingCell(event, eventTarget, address)) {
|
|
55
|
+
gridFocus.focusAddressNow(gridFocus.focusAddress.value, { scroll: false });
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
gridFocus.syncFocusAddress(address, isInsideCell);
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Контракт treegrid: на колонке дерева ArrowRight раскрывает узел или уходит к первому
|
|
62
|
+
* потомку, ArrowLeft сворачивает или уходит к родителю. На остальных колонках стрелки
|
|
63
|
+
* остаются обычной навигацией грида. Возвращает true, если действие дерева применено.
|
|
64
|
+
*/
|
|
65
|
+
const handleTreeHorizontalKeydown = (key) => {
|
|
66
|
+
const address = gridFocus.focusAddress.value;
|
|
67
|
+
if (address.section !== ESTableGridSection.BODY || !address.rowKey) return false;
|
|
68
|
+
const flatRow = getFocusedBodyRow();
|
|
69
|
+
if (!flatRow || flatRow.kind === ESTableRowKind.DEPTH_FOOTER) return false;
|
|
70
|
+
if (address.columnKey !== resolveTreeColumnKey(flatRow)) return false;
|
|
71
|
+
const action = resolveTreeKeyboardNavigationAction(key, flatRow.key, flatRows.value);
|
|
72
|
+
if (!action) return false;
|
|
73
|
+
if (action.type === "select") {
|
|
74
|
+
gridFocus.focusAddressNow({
|
|
75
|
+
section: ESTableGridSection.BODY,
|
|
76
|
+
rowKey: action.rowKey,
|
|
77
|
+
columnKey: address.columnKey
|
|
78
|
+
});
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
toggleExpanded(action.rowKey);
|
|
82
|
+
return true;
|
|
83
|
+
};
|
|
84
|
+
/** Enter на ячейке: сначала действие строки, иначе — вход внутрь ячейки. */
|
|
85
|
+
const activateFocusedCell = (event) => {
|
|
86
|
+
const address = gridFocus.focusAddress.value;
|
|
87
|
+
if (address.section === ESTableGridSection.HEADER) {
|
|
88
|
+
const descriptor = getFocusedDescriptor();
|
|
89
|
+
if (descriptor?.sortable) {
|
|
90
|
+
applySortCycle(descriptor.key, event.shiftKey || event.ctrlKey || event.metaKey);
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
gridFocus.enterCell();
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const flatRow = getFocusedBodyRow();
|
|
97
|
+
if (!flatRow) {
|
|
98
|
+
gridFocus.enterCell();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
if (flatRow.kind === ESTableRowKind.DEPTH_FOOTER) {
|
|
102
|
+
onDepthFooterActivate(flatRow);
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
if (flatRow.kind === ESTableRowKind.LOAD_MORE) {
|
|
106
|
+
onLoadMoreActivate(flatRow);
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
if ((flatRow.hasChildren || flatRow.kind === ESTableRowKind.GROUP) && address.columnKey === resolveTreeColumnKey(flatRow)) {
|
|
110
|
+
toggleExpanded(flatRow.key);
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
if (!gridFocus.enterCell()) onRowActivate(flatRow, event);
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Tab: внутри ячейки — к соседнему её интерактиву, с края ячейки и с самой ячейки — из грида.
|
|
117
|
+
* На выходе действие по умолчанию не гасится: браузер продолжает обход от границы грида.
|
|
118
|
+
*/
|
|
119
|
+
const handleGridTab = (event) => {
|
|
120
|
+
if (event.defaultPrevented) return;
|
|
121
|
+
const direction = event.shiftKey ? -1 : 1;
|
|
122
|
+
if (gridFocus.cellEntered.value && gridFocus.moveCellFocus(direction)) {
|
|
123
|
+
event.preventDefault();
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
gridFocus.leaveGrid(direction);
|
|
127
|
+
};
|
|
128
|
+
/** Внутри ячейки грид отдаёт клавиши её интерактиву; Escape возвращает на ячейку. */
|
|
129
|
+
const handleEnteredCellKeydown = (event) => {
|
|
130
|
+
if (event.key === "Escape") {
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
gridFocus.exitCell();
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
/** Модификаторные сочетания разбираются до switch: они зависят от колонки, а не от клавиши. */
|
|
136
|
+
const handleColumnModifierKeydown = (event) => {
|
|
137
|
+
const descriptor = getFocusedDescriptor();
|
|
138
|
+
if (!descriptor) return false;
|
|
139
|
+
const isHorizontalArrow = event.key === "ArrowLeft" || event.key === "ArrowRight";
|
|
140
|
+
if (event.altKey && event.shiftKey && isHorizontalArrow) {
|
|
141
|
+
event.preventDefault();
|
|
142
|
+
resizeColumnByKeyboard(descriptor, event.key === "ArrowRight" ? 1 : -1);
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
const isMenuKey = event.altKey && event.key === "ArrowDown" || event.key === "ContextMenu";
|
|
146
|
+
const inHeader = gridFocus.focusAddress.value.section === ESTableGridSection.HEADER;
|
|
147
|
+
if (descriptor.column && inHeader && isMenuKey) {
|
|
148
|
+
event.preventDefault();
|
|
149
|
+
setColumnMenuOpen(descriptor.key, toValue(openMenuColumnKey) !== descriptor.key);
|
|
150
|
+
return true;
|
|
151
|
+
}
|
|
152
|
+
return false;
|
|
153
|
+
};
|
|
154
|
+
const handleGridKeydown = (event) => {
|
|
155
|
+
if (event.key === "Tab") {
|
|
156
|
+
handleGridTab(event);
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
if (gridFocus.cellEntered.value) {
|
|
160
|
+
handleEnteredCellKeydown(event);
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
if (handleColumnModifierKeydown(event)) return;
|
|
164
|
+
switch (event.key) {
|
|
165
|
+
case "ArrowRight":
|
|
166
|
+
event.preventDefault();
|
|
167
|
+
if (!handleTreeHorizontalKeydown("ArrowRight")) gridFocus.moveFocus(0, 1);
|
|
168
|
+
break;
|
|
169
|
+
case "ArrowLeft":
|
|
170
|
+
event.preventDefault();
|
|
171
|
+
if (!handleTreeHorizontalKeydown("ArrowLeft")) gridFocus.moveFocus(0, -1);
|
|
172
|
+
break;
|
|
173
|
+
case "ArrowDown":
|
|
174
|
+
event.preventDefault();
|
|
175
|
+
gridFocus.moveFocus(1, 0);
|
|
176
|
+
break;
|
|
177
|
+
case "ArrowUp":
|
|
178
|
+
event.preventDefault();
|
|
179
|
+
gridFocus.moveFocus(-1, 0);
|
|
180
|
+
break;
|
|
181
|
+
case "Home":
|
|
182
|
+
event.preventDefault();
|
|
183
|
+
if (event.ctrlKey || event.metaKey) gridFocus.moveToGridEdge("first");
|
|
184
|
+
else gridFocus.moveToRowEdge("start");
|
|
185
|
+
break;
|
|
186
|
+
case "End":
|
|
187
|
+
event.preventDefault();
|
|
188
|
+
if (event.ctrlKey || event.metaKey) gridFocus.moveToGridEdge("last");
|
|
189
|
+
else gridFocus.moveToRowEdge("end");
|
|
190
|
+
break;
|
|
191
|
+
case "PageDown":
|
|
192
|
+
event.preventDefault();
|
|
193
|
+
gridFocus.moveByPage(1);
|
|
194
|
+
break;
|
|
195
|
+
case "PageUp":
|
|
196
|
+
event.preventDefault();
|
|
197
|
+
gridFocus.moveByPage(-1);
|
|
198
|
+
break;
|
|
199
|
+
case "F2":
|
|
200
|
+
event.preventDefault();
|
|
201
|
+
gridFocus.enterCell();
|
|
202
|
+
break;
|
|
203
|
+
case "Enter":
|
|
204
|
+
event.preventDefault();
|
|
205
|
+
activateFocusedCell(event);
|
|
206
|
+
break;
|
|
207
|
+
case " ":
|
|
208
|
+
case "Spacebar": {
|
|
209
|
+
event.preventDefault();
|
|
210
|
+
const rowKey = gridFocus.focusedBodyRowKey.value;
|
|
211
|
+
if (!toValue(selectable) || !rowKey) break;
|
|
212
|
+
toggleRowSelected(rowKey);
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
215
|
+
default: break;
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
return {
|
|
219
|
+
handleGridFocusIn,
|
|
220
|
+
handleGridKeydown
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
//#endregion
|
|
224
|
+
export { useTableGridKeyboard };
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
let vue = require("vue");
|
|
2
|
+
//#region src/components/STable/utils/useTableRenderEntries.ts
|
|
3
|
+
/**
|
|
4
|
+
* Единый поток рендера tbody: блоки строк (окно плюс форс-строки вне окна),
|
|
5
|
+
* разделённые спейсерами по фактическим виртуальным офсетам.
|
|
6
|
+
*
|
|
7
|
+
* Ключ рендера — всегда идентичность строки. Роль (прилипшая, активная) на ключ не
|
|
8
|
+
* влияет: она меняется в рантайме, и ключ, зависящий от роли, размонтировал бы живой
|
|
9
|
+
* DOM вместе с фокусом, начатым кликом и незавершённым перетаскиванием.
|
|
10
|
+
*/
|
|
11
|
+
var useTableRenderEntries = ({ flatRows, virtualEnabled, windowIndexes, uiTotalSize, getRowUiOffset, activeGroupRowIndex, activeDepthFooterRowIndexes, leavingDepthFooterRowIndex, slidingDepthFooterRowIndexes, farDepthFooterRowIndexes, activeRowIndex }) => {
|
|
12
|
+
/** Форс-строки вне окна: sticky-группа, sticky-футеры и активная строка навигации. */
|
|
13
|
+
const forcedRowAnchors = (0, vue.computed)(() => {
|
|
14
|
+
const anchors = [];
|
|
15
|
+
if (activeGroupRowIndex.value !== void 0) anchors.push(activeGroupRowIndex.value);
|
|
16
|
+
anchors.push(...activeDepthFooterRowIndexes.value);
|
|
17
|
+
if (activeRowIndex.value !== void 0) anchors.push(activeRowIndex.value);
|
|
18
|
+
return anchors;
|
|
19
|
+
});
|
|
20
|
+
return { renderEntries: (0, vue.computed)(() => {
|
|
21
|
+
const allRows = flatRows.value;
|
|
22
|
+
const stuckTopIndex = activeGroupRowIndex.value;
|
|
23
|
+
const stuckBottomIndexes = new Set(activeDepthFooterRowIndexes.value);
|
|
24
|
+
const slidingIndexes = new Set(slidingDepthFooterRowIndexes.value);
|
|
25
|
+
const farIndexes = new Set(farDepthFooterRowIndexes.value);
|
|
26
|
+
const leavingIndex = leavingDepthFooterRowIndex.value;
|
|
27
|
+
const leavingOffset = leavingIndex === void 0 ? void 0 : getRowUiOffset(leavingIndex);
|
|
28
|
+
const coverHeight = leavingOffset ? leavingOffset.end - leavingOffset.start : void 0;
|
|
29
|
+
const entries = [];
|
|
30
|
+
/** Обрезка по высоте уходящего футера — только прижатому под ним, не самому уходящему. */
|
|
31
|
+
const resolveCoverHeight = (stuckBottom, leaving, sliding) => {
|
|
32
|
+
return stuckBottom && !leaving && !sliding ? coverHeight : void 0;
|
|
33
|
+
};
|
|
34
|
+
const pushRow = (flatRow) => {
|
|
35
|
+
const rowOffset = getRowUiOffset(flatRow.index);
|
|
36
|
+
const stuckBottom = stuckBottomIndexes.has(flatRow.index);
|
|
37
|
+
const stuckBottomLeaving = flatRow.index === leavingIndex;
|
|
38
|
+
const stuckBottomSliding = slidingIndexes.has(flatRow.index);
|
|
39
|
+
entries.push({
|
|
40
|
+
row: flatRow,
|
|
41
|
+
renderKey: flatRow.key,
|
|
42
|
+
stuckTop: flatRow.index === stuckTopIndex,
|
|
43
|
+
stuckBottom,
|
|
44
|
+
stuckBottomLeaving,
|
|
45
|
+
stuckBottomSliding,
|
|
46
|
+
stuckBottomCoverHeight: resolveCoverHeight(stuckBottom, stuckBottomLeaving, stuckBottomSliding),
|
|
47
|
+
stuckBottomFar: farIndexes.has(flatRow.index),
|
|
48
|
+
rowHeight: rowOffset ? rowOffset.end - rowOffset.start : void 0
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
if (!(0, vue.toValue)(virtualEnabled)) {
|
|
52
|
+
allRows.forEach(pushRow);
|
|
53
|
+
return entries;
|
|
54
|
+
}
|
|
55
|
+
const uiTotal = uiTotalSize.value;
|
|
56
|
+
const windowRowIndexes = windowIndexes.value.filter((rowIndex) => {
|
|
57
|
+
const rowOffset = getRowUiOffset(rowIndex);
|
|
58
|
+
return !rowOffset || rowOffset.end > 0 && rowOffset.start < uiTotal;
|
|
59
|
+
});
|
|
60
|
+
const firstWindowIndex = windowRowIndexes[0];
|
|
61
|
+
const lastWindowIndex = windowRowIndexes[windowRowIndexes.length - 1];
|
|
62
|
+
const forcedIndexes = /* @__PURE__ */ new Set();
|
|
63
|
+
forcedRowAnchors.value.forEach((rowIndex) => {
|
|
64
|
+
if (allRows[rowIndex]) forcedIndexes.add(rowIndex);
|
|
65
|
+
});
|
|
66
|
+
const blocks = [];
|
|
67
|
+
if (firstWindowIndex !== void 0 && lastWindowIndex !== void 0) blocks.push({
|
|
68
|
+
startIndex: firstWindowIndex,
|
|
69
|
+
endIndex: lastWindowIndex
|
|
70
|
+
});
|
|
71
|
+
forcedIndexes.forEach((rowIndex) => {
|
|
72
|
+
if (!(firstWindowIndex !== void 0 && lastWindowIndex !== void 0 && rowIndex >= firstWindowIndex && rowIndex <= lastWindowIndex)) blocks.push({
|
|
73
|
+
startIndex: rowIndex,
|
|
74
|
+
endIndex: rowIndex
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
blocks.sort((leftBlock, rightBlock) => leftBlock.startIndex - rightBlock.startIndex);
|
|
78
|
+
let spacerIndex = 0;
|
|
79
|
+
let flowOffset = 0;
|
|
80
|
+
const pushSpacer = (spacerHeight) => {
|
|
81
|
+
entries.push({
|
|
82
|
+
renderKey: `spacer-${spacerIndex}`,
|
|
83
|
+
spacer: true,
|
|
84
|
+
spacerHeight: Math.max(0, Math.round(spacerHeight))
|
|
85
|
+
});
|
|
86
|
+
spacerIndex += 1;
|
|
87
|
+
};
|
|
88
|
+
const resolveBlockUiBounds = (block) => {
|
|
89
|
+
const blockStart = getRowUiOffset(block.startIndex);
|
|
90
|
+
const blockEnd = getRowUiOffset(block.endIndex);
|
|
91
|
+
if (!blockStart || !blockEnd) return {
|
|
92
|
+
start: flowOffset,
|
|
93
|
+
height: 0
|
|
94
|
+
};
|
|
95
|
+
return {
|
|
96
|
+
start: blockStart.start,
|
|
97
|
+
height: blockEnd.end - blockStart.start
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
blocks.forEach((block) => {
|
|
101
|
+
const { start: blockStart, height: blockHeight } = resolveBlockUiBounds(block);
|
|
102
|
+
const blockStartOffset = Math.min(uiTotal, Math.max(flowOffset, blockStart));
|
|
103
|
+
pushSpacer(blockStartOffset - flowOffset);
|
|
104
|
+
for (let rowIndex = block.startIndex; rowIndex <= block.endIndex; rowIndex += 1) {
|
|
105
|
+
const flatRow = allRows[rowIndex];
|
|
106
|
+
if (flatRow) pushRow(flatRow);
|
|
107
|
+
}
|
|
108
|
+
flowOffset = blockStartOffset + blockHeight;
|
|
109
|
+
});
|
|
110
|
+
pushSpacer(uiTotal - flowOffset);
|
|
111
|
+
return entries;
|
|
112
|
+
}) };
|
|
113
|
+
};
|
|
114
|
+
//#endregion
|
|
115
|
+
exports.useTableRenderEntries = useTableRenderEntries;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { computed, toValue } from "vue";
|
|
2
|
+
//#region src/components/STable/utils/useTableRenderEntries.ts
|
|
3
|
+
/**
|
|
4
|
+
* Единый поток рендера tbody: блоки строк (окно плюс форс-строки вне окна),
|
|
5
|
+
* разделённые спейсерами по фактическим виртуальным офсетам.
|
|
6
|
+
*
|
|
7
|
+
* Ключ рендера — всегда идентичность строки. Роль (прилипшая, активная) на ключ не
|
|
8
|
+
* влияет: она меняется в рантайме, и ключ, зависящий от роли, размонтировал бы живой
|
|
9
|
+
* DOM вместе с фокусом, начатым кликом и незавершённым перетаскиванием.
|
|
10
|
+
*/
|
|
11
|
+
var useTableRenderEntries = ({ flatRows, virtualEnabled, windowIndexes, uiTotalSize, getRowUiOffset, activeGroupRowIndex, activeDepthFooterRowIndexes, leavingDepthFooterRowIndex, slidingDepthFooterRowIndexes, farDepthFooterRowIndexes, activeRowIndex }) => {
|
|
12
|
+
/** Форс-строки вне окна: sticky-группа, sticky-футеры и активная строка навигации. */
|
|
13
|
+
const forcedRowAnchors = computed(() => {
|
|
14
|
+
const anchors = [];
|
|
15
|
+
if (activeGroupRowIndex.value !== void 0) anchors.push(activeGroupRowIndex.value);
|
|
16
|
+
anchors.push(...activeDepthFooterRowIndexes.value);
|
|
17
|
+
if (activeRowIndex.value !== void 0) anchors.push(activeRowIndex.value);
|
|
18
|
+
return anchors;
|
|
19
|
+
});
|
|
20
|
+
return { renderEntries: computed(() => {
|
|
21
|
+
const allRows = flatRows.value;
|
|
22
|
+
const stuckTopIndex = activeGroupRowIndex.value;
|
|
23
|
+
const stuckBottomIndexes = new Set(activeDepthFooterRowIndexes.value);
|
|
24
|
+
const slidingIndexes = new Set(slidingDepthFooterRowIndexes.value);
|
|
25
|
+
const farIndexes = new Set(farDepthFooterRowIndexes.value);
|
|
26
|
+
const leavingIndex = leavingDepthFooterRowIndex.value;
|
|
27
|
+
const leavingOffset = leavingIndex === void 0 ? void 0 : getRowUiOffset(leavingIndex);
|
|
28
|
+
const coverHeight = leavingOffset ? leavingOffset.end - leavingOffset.start : void 0;
|
|
29
|
+
const entries = [];
|
|
30
|
+
/** Обрезка по высоте уходящего футера — только прижатому под ним, не самому уходящему. */
|
|
31
|
+
const resolveCoverHeight = (stuckBottom, leaving, sliding) => {
|
|
32
|
+
return stuckBottom && !leaving && !sliding ? coverHeight : void 0;
|
|
33
|
+
};
|
|
34
|
+
const pushRow = (flatRow) => {
|
|
35
|
+
const rowOffset = getRowUiOffset(flatRow.index);
|
|
36
|
+
const stuckBottom = stuckBottomIndexes.has(flatRow.index);
|
|
37
|
+
const stuckBottomLeaving = flatRow.index === leavingIndex;
|
|
38
|
+
const stuckBottomSliding = slidingIndexes.has(flatRow.index);
|
|
39
|
+
entries.push({
|
|
40
|
+
row: flatRow,
|
|
41
|
+
renderKey: flatRow.key,
|
|
42
|
+
stuckTop: flatRow.index === stuckTopIndex,
|
|
43
|
+
stuckBottom,
|
|
44
|
+
stuckBottomLeaving,
|
|
45
|
+
stuckBottomSliding,
|
|
46
|
+
stuckBottomCoverHeight: resolveCoverHeight(stuckBottom, stuckBottomLeaving, stuckBottomSliding),
|
|
47
|
+
stuckBottomFar: farIndexes.has(flatRow.index),
|
|
48
|
+
rowHeight: rowOffset ? rowOffset.end - rowOffset.start : void 0
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
if (!toValue(virtualEnabled)) {
|
|
52
|
+
allRows.forEach(pushRow);
|
|
53
|
+
return entries;
|
|
54
|
+
}
|
|
55
|
+
const uiTotal = uiTotalSize.value;
|
|
56
|
+
const windowRowIndexes = windowIndexes.value.filter((rowIndex) => {
|
|
57
|
+
const rowOffset = getRowUiOffset(rowIndex);
|
|
58
|
+
return !rowOffset || rowOffset.end > 0 && rowOffset.start < uiTotal;
|
|
59
|
+
});
|
|
60
|
+
const firstWindowIndex = windowRowIndexes[0];
|
|
61
|
+
const lastWindowIndex = windowRowIndexes[windowRowIndexes.length - 1];
|
|
62
|
+
const forcedIndexes = /* @__PURE__ */ new Set();
|
|
63
|
+
forcedRowAnchors.value.forEach((rowIndex) => {
|
|
64
|
+
if (allRows[rowIndex]) forcedIndexes.add(rowIndex);
|
|
65
|
+
});
|
|
66
|
+
const blocks = [];
|
|
67
|
+
if (firstWindowIndex !== void 0 && lastWindowIndex !== void 0) blocks.push({
|
|
68
|
+
startIndex: firstWindowIndex,
|
|
69
|
+
endIndex: lastWindowIndex
|
|
70
|
+
});
|
|
71
|
+
forcedIndexes.forEach((rowIndex) => {
|
|
72
|
+
if (!(firstWindowIndex !== void 0 && lastWindowIndex !== void 0 && rowIndex >= firstWindowIndex && rowIndex <= lastWindowIndex)) blocks.push({
|
|
73
|
+
startIndex: rowIndex,
|
|
74
|
+
endIndex: rowIndex
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
blocks.sort((leftBlock, rightBlock) => leftBlock.startIndex - rightBlock.startIndex);
|
|
78
|
+
let spacerIndex = 0;
|
|
79
|
+
let flowOffset = 0;
|
|
80
|
+
const pushSpacer = (spacerHeight) => {
|
|
81
|
+
entries.push({
|
|
82
|
+
renderKey: `spacer-${spacerIndex}`,
|
|
83
|
+
spacer: true,
|
|
84
|
+
spacerHeight: Math.max(0, Math.round(spacerHeight))
|
|
85
|
+
});
|
|
86
|
+
spacerIndex += 1;
|
|
87
|
+
};
|
|
88
|
+
const resolveBlockUiBounds = (block) => {
|
|
89
|
+
const blockStart = getRowUiOffset(block.startIndex);
|
|
90
|
+
const blockEnd = getRowUiOffset(block.endIndex);
|
|
91
|
+
if (!blockStart || !blockEnd) return {
|
|
92
|
+
start: flowOffset,
|
|
93
|
+
height: 0
|
|
94
|
+
};
|
|
95
|
+
return {
|
|
96
|
+
start: blockStart.start,
|
|
97
|
+
height: blockEnd.end - blockStart.start
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
blocks.forEach((block) => {
|
|
101
|
+
const { start: blockStart, height: blockHeight } = resolveBlockUiBounds(block);
|
|
102
|
+
const blockStartOffset = Math.min(uiTotal, Math.max(flowOffset, blockStart));
|
|
103
|
+
pushSpacer(blockStartOffset - flowOffset);
|
|
104
|
+
for (let rowIndex = block.startIndex; rowIndex <= block.endIndex; rowIndex += 1) {
|
|
105
|
+
const flatRow = allRows[rowIndex];
|
|
106
|
+
if (flatRow) pushRow(flatRow);
|
|
107
|
+
}
|
|
108
|
+
flowOffset = blockStartOffset + blockHeight;
|
|
109
|
+
});
|
|
110
|
+
pushSpacer(uiTotal - flowOffset);
|
|
111
|
+
return entries;
|
|
112
|
+
}) };
|
|
113
|
+
};
|
|
114
|
+
//#endregion
|
|
115
|
+
export { useTableRenderEntries };
|