@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,77 @@
|
|
|
1
|
+
import { EAnchorAlign, EAnchorSide, ESDropdownPlacement } from "./types.js";
|
|
2
|
+
//#region src/composables/connectedPosition/parseAnchor.ts
|
|
3
|
+
var parseAnchor = (placement) => {
|
|
4
|
+
switch (placement) {
|
|
5
|
+
case ESDropdownPlacement.TOP: return {
|
|
6
|
+
side: EAnchorSide.TOP,
|
|
7
|
+
align: EAnchorAlign.CENTER
|
|
8
|
+
};
|
|
9
|
+
case ESDropdownPlacement.TOP_START: return {
|
|
10
|
+
side: EAnchorSide.TOP,
|
|
11
|
+
align: EAnchorAlign.START
|
|
12
|
+
};
|
|
13
|
+
case ESDropdownPlacement.TOP_END: return {
|
|
14
|
+
side: EAnchorSide.TOP,
|
|
15
|
+
align: EAnchorAlign.END
|
|
16
|
+
};
|
|
17
|
+
case ESDropdownPlacement.BOTTOM: return {
|
|
18
|
+
side: EAnchorSide.BOTTOM,
|
|
19
|
+
align: EAnchorAlign.CENTER
|
|
20
|
+
};
|
|
21
|
+
case ESDropdownPlacement.BOTTOM_START: return {
|
|
22
|
+
side: EAnchorSide.BOTTOM,
|
|
23
|
+
align: EAnchorAlign.START
|
|
24
|
+
};
|
|
25
|
+
case ESDropdownPlacement.BOTTOM_END: return {
|
|
26
|
+
side: EAnchorSide.BOTTOM,
|
|
27
|
+
align: EAnchorAlign.END
|
|
28
|
+
};
|
|
29
|
+
case ESDropdownPlacement.LEFT: return {
|
|
30
|
+
side: EAnchorSide.LEFT,
|
|
31
|
+
align: EAnchorAlign.CENTER
|
|
32
|
+
};
|
|
33
|
+
case ESDropdownPlacement.LEFT_START: return {
|
|
34
|
+
side: EAnchorSide.LEFT,
|
|
35
|
+
align: EAnchorAlign.START
|
|
36
|
+
};
|
|
37
|
+
case ESDropdownPlacement.LEFT_END: return {
|
|
38
|
+
side: EAnchorSide.LEFT,
|
|
39
|
+
align: EAnchorAlign.END
|
|
40
|
+
};
|
|
41
|
+
case ESDropdownPlacement.RIGHT: return {
|
|
42
|
+
side: EAnchorSide.RIGHT,
|
|
43
|
+
align: EAnchorAlign.CENTER
|
|
44
|
+
};
|
|
45
|
+
case ESDropdownPlacement.RIGHT_START: return {
|
|
46
|
+
side: EAnchorSide.RIGHT,
|
|
47
|
+
align: EAnchorAlign.START
|
|
48
|
+
};
|
|
49
|
+
case ESDropdownPlacement.RIGHT_END: return {
|
|
50
|
+
side: EAnchorSide.RIGHT,
|
|
51
|
+
align: EAnchorAlign.END
|
|
52
|
+
};
|
|
53
|
+
default: return placement;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
var toDropdownPlacement = (anchor) => {
|
|
57
|
+
if (anchor.side === EAnchorSide.TOP) {
|
|
58
|
+
if (anchor.align === EAnchorAlign.START) return ESDropdownPlacement.TOP_START;
|
|
59
|
+
if (anchor.align === EAnchorAlign.END) return ESDropdownPlacement.TOP_END;
|
|
60
|
+
return ESDropdownPlacement.TOP;
|
|
61
|
+
}
|
|
62
|
+
if (anchor.side === EAnchorSide.BOTTOM) {
|
|
63
|
+
if (anchor.align === EAnchorAlign.START) return ESDropdownPlacement.BOTTOM_START;
|
|
64
|
+
if (anchor.align === EAnchorAlign.END) return ESDropdownPlacement.BOTTOM_END;
|
|
65
|
+
return ESDropdownPlacement.BOTTOM;
|
|
66
|
+
}
|
|
67
|
+
if (anchor.side === EAnchorSide.LEFT) {
|
|
68
|
+
if (anchor.align === EAnchorAlign.START) return ESDropdownPlacement.LEFT_START;
|
|
69
|
+
if (anchor.align === EAnchorAlign.END) return ESDropdownPlacement.LEFT_END;
|
|
70
|
+
return ESDropdownPlacement.LEFT;
|
|
71
|
+
}
|
|
72
|
+
if (anchor.align === EAnchorAlign.START) return ESDropdownPlacement.RIGHT_START;
|
|
73
|
+
if (anchor.align === EAnchorAlign.END) return ESDropdownPlacement.RIGHT_END;
|
|
74
|
+
return ESDropdownPlacement.RIGHT;
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
export { parseAnchor, toDropdownPlacement };
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
const require_types = require("./types.cjs");
|
|
2
|
+
const require_getOverflow = require("./getOverflow.cjs");
|
|
3
|
+
//#region src/composables/connectedPosition/positionCoordinates.ts
|
|
4
|
+
var clamp = (min, value, max) => Math.min(Math.max(value, min), max);
|
|
5
|
+
var clampCoordinateOnAxis = (axis, coordinates, overflow) => {
|
|
6
|
+
if (axis === "y") return {
|
|
7
|
+
x: coordinates.x,
|
|
8
|
+
y: clamp(coordinates.y + overflow.top, coordinates.y, coordinates.y - overflow.bottom)
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
x: clamp(coordinates.x + overflow.left, coordinates.x, coordinates.x - overflow.right),
|
|
12
|
+
y: coordinates.y
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
var getShiftAxes = (anchorSide) => {
|
|
16
|
+
if (anchorSide === require_types.EAnchorSide.TOP || anchorSide === require_types.EAnchorSide.BOTTOM) return {
|
|
17
|
+
mainAxis: "x",
|
|
18
|
+
crossAxis: "y"
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
mainAxis: "y",
|
|
22
|
+
crossAxis: "x"
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
var getAlignedCoordinate = (referenceStart, referenceSize, floatingSize, align) => {
|
|
26
|
+
if (align === require_types.EAnchorAlign.START) return referenceStart;
|
|
27
|
+
if (align === require_types.EAnchorAlign.END) return referenceStart + referenceSize - floatingSize;
|
|
28
|
+
return referenceStart + (referenceSize - floatingSize) / 2;
|
|
29
|
+
};
|
|
30
|
+
var computeAnchorCoordinates = (referenceRect, floatingSize, anchor, offset) => {
|
|
31
|
+
if (anchor.side === require_types.EAnchorSide.BOTTOM) return {
|
|
32
|
+
x: getAlignedCoordinate(referenceRect.left, referenceRect.width, floatingSize.width, anchor.align),
|
|
33
|
+
y: referenceRect.bottom + offset
|
|
34
|
+
};
|
|
35
|
+
if (anchor.side === require_types.EAnchorSide.TOP) return {
|
|
36
|
+
x: getAlignedCoordinate(referenceRect.left, referenceRect.width, floatingSize.width, anchor.align),
|
|
37
|
+
y: referenceRect.top - offset - floatingSize.height
|
|
38
|
+
};
|
|
39
|
+
if (anchor.side === require_types.EAnchorSide.LEFT) return {
|
|
40
|
+
x: referenceRect.left - offset - floatingSize.width,
|
|
41
|
+
y: getAlignedCoordinate(referenceRect.top, referenceRect.height, floatingSize.height, anchor.align)
|
|
42
|
+
};
|
|
43
|
+
return {
|
|
44
|
+
x: referenceRect.right + offset,
|
|
45
|
+
y: getAlignedCoordinate(referenceRect.top, referenceRect.height, floatingSize.height, anchor.align)
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
var toContentBox = (coordinates, floatingSize) => {
|
|
49
|
+
return {
|
|
50
|
+
top: coordinates.y,
|
|
51
|
+
left: coordinates.x,
|
|
52
|
+
right: coordinates.x + floatingSize.width,
|
|
53
|
+
bottom: coordinates.y + floatingSize.height,
|
|
54
|
+
width: floatingSize.width,
|
|
55
|
+
height: floatingSize.height
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
var getBoundaryAxisRange = (axis, viewportRect, viewportPadding, floatingSize) => {
|
|
59
|
+
if (axis === "x") return {
|
|
60
|
+
min: viewportRect.left + viewportPadding,
|
|
61
|
+
max: viewportRect.right - viewportPadding - floatingSize.width
|
|
62
|
+
};
|
|
63
|
+
return {
|
|
64
|
+
min: viewportRect.top + viewportPadding,
|
|
65
|
+
max: viewportRect.bottom - viewportPadding - floatingSize.height
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
var clampToAxisRange = (value, rangeMin, rangeMax, fallbackMin, fallbackMax) => {
|
|
69
|
+
if (rangeMin <= rangeMax) return clamp(rangeMin, value, rangeMax);
|
|
70
|
+
return clamp(fallbackMin, value, fallbackMax);
|
|
71
|
+
};
|
|
72
|
+
var limitShiftCoordinates = (coordinates, anchorSide, referenceRect, floatingSize, viewportRect, viewportPadding) => {
|
|
73
|
+
const { mainAxis } = getShiftAxes(anchorSide);
|
|
74
|
+
let { x, y } = coordinates;
|
|
75
|
+
const boundaryRange = getBoundaryAxisRange(mainAxis, viewportRect, viewportPadding, floatingSize);
|
|
76
|
+
if (mainAxis === "y") {
|
|
77
|
+
const limitMin = referenceRect.top - floatingSize.height;
|
|
78
|
+
const limitMax = referenceRect.bottom;
|
|
79
|
+
const effectiveMin = Math.max(boundaryRange.min, limitMin);
|
|
80
|
+
const effectiveMax = Math.min(boundaryRange.max, limitMax);
|
|
81
|
+
y = clampToAxisRange(y, effectiveMin, effectiveMax, boundaryRange.min, boundaryRange.max);
|
|
82
|
+
} else {
|
|
83
|
+
const limitMin = referenceRect.left - floatingSize.width;
|
|
84
|
+
const limitMax = referenceRect.right;
|
|
85
|
+
const effectiveMin = Math.max(boundaryRange.min, limitMin);
|
|
86
|
+
const effectiveMax = Math.min(boundaryRange.max, limitMax);
|
|
87
|
+
x = clampToAxisRange(x, effectiveMin, effectiveMax, boundaryRange.min, boundaryRange.max);
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
x,
|
|
91
|
+
y
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
var shiftCoordinates = (coordinates, floatingSize, options) => {
|
|
95
|
+
const { anchorSide, referenceRect, viewportRect, viewportPadding, mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false } = options;
|
|
96
|
+
const overflow = require_getOverflow.getOverflow(toContentBox(coordinates, floatingSize), viewportRect, viewportPadding);
|
|
97
|
+
const { mainAxis, crossAxis } = getShiftAxes(anchorSide);
|
|
98
|
+
let position = {
|
|
99
|
+
x: coordinates.x,
|
|
100
|
+
y: coordinates.y
|
|
101
|
+
};
|
|
102
|
+
if (checkMainAxis) position = clampCoordinateOnAxis(mainAxis, position, overflow);
|
|
103
|
+
if (checkCrossAxis) position = clampCoordinateOnAxis(crossAxis, position, overflow);
|
|
104
|
+
return limitShiftCoordinates(position, anchorSide, referenceRect, floatingSize, viewportRect, viewportPadding);
|
|
105
|
+
};
|
|
106
|
+
//#endregion
|
|
107
|
+
exports.computeAnchorCoordinates = computeAnchorCoordinates;
|
|
108
|
+
exports.shiftCoordinates = shiftCoordinates;
|
|
109
|
+
exports.toContentBox = toContentBox;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { EAnchorAlign, EAnchorSide } from "./types.js";
|
|
2
|
+
import { getOverflow } from "./getOverflow.js";
|
|
3
|
+
//#region src/composables/connectedPosition/positionCoordinates.ts
|
|
4
|
+
var clamp = (min, value, max) => Math.min(Math.max(value, min), max);
|
|
5
|
+
var clampCoordinateOnAxis = (axis, coordinates, overflow) => {
|
|
6
|
+
if (axis === "y") return {
|
|
7
|
+
x: coordinates.x,
|
|
8
|
+
y: clamp(coordinates.y + overflow.top, coordinates.y, coordinates.y - overflow.bottom)
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
x: clamp(coordinates.x + overflow.left, coordinates.x, coordinates.x - overflow.right),
|
|
12
|
+
y: coordinates.y
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
var getShiftAxes = (anchorSide) => {
|
|
16
|
+
if (anchorSide === EAnchorSide.TOP || anchorSide === EAnchorSide.BOTTOM) return {
|
|
17
|
+
mainAxis: "x",
|
|
18
|
+
crossAxis: "y"
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
mainAxis: "y",
|
|
22
|
+
crossAxis: "x"
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
var getAlignedCoordinate = (referenceStart, referenceSize, floatingSize, align) => {
|
|
26
|
+
if (align === EAnchorAlign.START) return referenceStart;
|
|
27
|
+
if (align === EAnchorAlign.END) return referenceStart + referenceSize - floatingSize;
|
|
28
|
+
return referenceStart + (referenceSize - floatingSize) / 2;
|
|
29
|
+
};
|
|
30
|
+
var computeAnchorCoordinates = (referenceRect, floatingSize, anchor, offset) => {
|
|
31
|
+
if (anchor.side === EAnchorSide.BOTTOM) return {
|
|
32
|
+
x: getAlignedCoordinate(referenceRect.left, referenceRect.width, floatingSize.width, anchor.align),
|
|
33
|
+
y: referenceRect.bottom + offset
|
|
34
|
+
};
|
|
35
|
+
if (anchor.side === EAnchorSide.TOP) return {
|
|
36
|
+
x: getAlignedCoordinate(referenceRect.left, referenceRect.width, floatingSize.width, anchor.align),
|
|
37
|
+
y: referenceRect.top - offset - floatingSize.height
|
|
38
|
+
};
|
|
39
|
+
if (anchor.side === EAnchorSide.LEFT) return {
|
|
40
|
+
x: referenceRect.left - offset - floatingSize.width,
|
|
41
|
+
y: getAlignedCoordinate(referenceRect.top, referenceRect.height, floatingSize.height, anchor.align)
|
|
42
|
+
};
|
|
43
|
+
return {
|
|
44
|
+
x: referenceRect.right + offset,
|
|
45
|
+
y: getAlignedCoordinate(referenceRect.top, referenceRect.height, floatingSize.height, anchor.align)
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
var toContentBox = (coordinates, floatingSize) => {
|
|
49
|
+
return {
|
|
50
|
+
top: coordinates.y,
|
|
51
|
+
left: coordinates.x,
|
|
52
|
+
right: coordinates.x + floatingSize.width,
|
|
53
|
+
bottom: coordinates.y + floatingSize.height,
|
|
54
|
+
width: floatingSize.width,
|
|
55
|
+
height: floatingSize.height
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
var getBoundaryAxisRange = (axis, viewportRect, viewportPadding, floatingSize) => {
|
|
59
|
+
if (axis === "x") return {
|
|
60
|
+
min: viewportRect.left + viewportPadding,
|
|
61
|
+
max: viewportRect.right - viewportPadding - floatingSize.width
|
|
62
|
+
};
|
|
63
|
+
return {
|
|
64
|
+
min: viewportRect.top + viewportPadding,
|
|
65
|
+
max: viewportRect.bottom - viewportPadding - floatingSize.height
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
var clampToAxisRange = (value, rangeMin, rangeMax, fallbackMin, fallbackMax) => {
|
|
69
|
+
if (rangeMin <= rangeMax) return clamp(rangeMin, value, rangeMax);
|
|
70
|
+
return clamp(fallbackMin, value, fallbackMax);
|
|
71
|
+
};
|
|
72
|
+
var limitShiftCoordinates = (coordinates, anchorSide, referenceRect, floatingSize, viewportRect, viewportPadding) => {
|
|
73
|
+
const { mainAxis } = getShiftAxes(anchorSide);
|
|
74
|
+
let { x, y } = coordinates;
|
|
75
|
+
const boundaryRange = getBoundaryAxisRange(mainAxis, viewportRect, viewportPadding, floatingSize);
|
|
76
|
+
if (mainAxis === "y") {
|
|
77
|
+
const limitMin = referenceRect.top - floatingSize.height;
|
|
78
|
+
const limitMax = referenceRect.bottom;
|
|
79
|
+
const effectiveMin = Math.max(boundaryRange.min, limitMin);
|
|
80
|
+
const effectiveMax = Math.min(boundaryRange.max, limitMax);
|
|
81
|
+
y = clampToAxisRange(y, effectiveMin, effectiveMax, boundaryRange.min, boundaryRange.max);
|
|
82
|
+
} else {
|
|
83
|
+
const limitMin = referenceRect.left - floatingSize.width;
|
|
84
|
+
const limitMax = referenceRect.right;
|
|
85
|
+
const effectiveMin = Math.max(boundaryRange.min, limitMin);
|
|
86
|
+
const effectiveMax = Math.min(boundaryRange.max, limitMax);
|
|
87
|
+
x = clampToAxisRange(x, effectiveMin, effectiveMax, boundaryRange.min, boundaryRange.max);
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
x,
|
|
91
|
+
y
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
var shiftCoordinates = (coordinates, floatingSize, options) => {
|
|
95
|
+
const { anchorSide, referenceRect, viewportRect, viewportPadding, mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false } = options;
|
|
96
|
+
const overflow = getOverflow(toContentBox(coordinates, floatingSize), viewportRect, viewportPadding);
|
|
97
|
+
const { mainAxis, crossAxis } = getShiftAxes(anchorSide);
|
|
98
|
+
let position = {
|
|
99
|
+
x: coordinates.x,
|
|
100
|
+
y: coordinates.y
|
|
101
|
+
};
|
|
102
|
+
if (checkMainAxis) position = clampCoordinateOnAxis(mainAxis, position, overflow);
|
|
103
|
+
if (checkCrossAxis) position = clampCoordinateOnAxis(crossAxis, position, overflow);
|
|
104
|
+
return limitShiftCoordinates(position, anchorSide, referenceRect, floatingSize, viewportRect, viewportPadding);
|
|
105
|
+
};
|
|
106
|
+
//#endregion
|
|
107
|
+
export { computeAnchorCoordinates, shiftCoordinates, toContentBox };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/composables/connectedPosition/resolveElement.ts
|
|
2
|
+
var resolveElement = (target) => {
|
|
3
|
+
if (!target) return null;
|
|
4
|
+
if (target instanceof HTMLElement) return target;
|
|
5
|
+
if (target.$el instanceof HTMLElement) return target.$el;
|
|
6
|
+
return null;
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
exports.resolveElement = resolveElement;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/composables/connectedPosition/resolveElement.ts
|
|
2
|
+
var resolveElement = (target) => {
|
|
3
|
+
if (!target) return null;
|
|
4
|
+
if (target instanceof HTMLElement) return target;
|
|
5
|
+
if (target.$el instanceof HTMLElement) return target.$el;
|
|
6
|
+
return null;
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { resolveElement };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region src/composables/connectedPosition/types.ts
|
|
2
|
+
var EAnchorSide = /* @__PURE__ */ function(EAnchorSide) {
|
|
3
|
+
EAnchorSide["TOP"] = "top";
|
|
4
|
+
EAnchorSide["BOTTOM"] = "bottom";
|
|
5
|
+
EAnchorSide["LEFT"] = "left";
|
|
6
|
+
EAnchorSide["RIGHT"] = "right";
|
|
7
|
+
return EAnchorSide;
|
|
8
|
+
}({});
|
|
9
|
+
var EAnchorAlign = /* @__PURE__ */ function(EAnchorAlign) {
|
|
10
|
+
EAnchorAlign["START"] = "start";
|
|
11
|
+
EAnchorAlign["END"] = "end";
|
|
12
|
+
EAnchorAlign["CENTER"] = "center";
|
|
13
|
+
return EAnchorAlign;
|
|
14
|
+
}({});
|
|
15
|
+
var ESDropdownPlacement = /* @__PURE__ */ function(ESDropdownPlacement) {
|
|
16
|
+
ESDropdownPlacement["TOP"] = "top";
|
|
17
|
+
ESDropdownPlacement["TOP_START"] = "top-start";
|
|
18
|
+
ESDropdownPlacement["TOP_END"] = "top-end";
|
|
19
|
+
ESDropdownPlacement["BOTTOM"] = "bottom";
|
|
20
|
+
ESDropdownPlacement["BOTTOM_START"] = "bottom-start";
|
|
21
|
+
ESDropdownPlacement["BOTTOM_END"] = "bottom-end";
|
|
22
|
+
ESDropdownPlacement["LEFT"] = "left";
|
|
23
|
+
ESDropdownPlacement["LEFT_START"] = "left-start";
|
|
24
|
+
ESDropdownPlacement["LEFT_END"] = "left-end";
|
|
25
|
+
ESDropdownPlacement["RIGHT"] = "right";
|
|
26
|
+
ESDropdownPlacement["RIGHT_START"] = "right-start";
|
|
27
|
+
ESDropdownPlacement["RIGHT_END"] = "right-end";
|
|
28
|
+
return ESDropdownPlacement;
|
|
29
|
+
}({});
|
|
30
|
+
var ESDropdownBoundary = /* @__PURE__ */ function(ESDropdownBoundary) {
|
|
31
|
+
ESDropdownBoundary["CLIPPING_ANCESTORS"] = "clipping-ancestors";
|
|
32
|
+
ESDropdownBoundary["VIEWPORT"] = "viewport";
|
|
33
|
+
return ESDropdownBoundary;
|
|
34
|
+
}({});
|
|
35
|
+
var EConnectedPositionStrategy = /* @__PURE__ */ function(EConnectedPositionStrategy) {
|
|
36
|
+
EConnectedPositionStrategy["PREFERRED"] = "preferred";
|
|
37
|
+
EConnectedPositionStrategy["FLIP"] = "flip";
|
|
38
|
+
EConnectedPositionStrategy["SHIFT"] = "shift";
|
|
39
|
+
EConnectedPositionStrategy["SIZE"] = "size";
|
|
40
|
+
return EConnectedPositionStrategy;
|
|
41
|
+
}({});
|
|
42
|
+
//#endregion
|
|
43
|
+
exports.EAnchorAlign = EAnchorAlign;
|
|
44
|
+
exports.EAnchorSide = EAnchorSide;
|
|
45
|
+
exports.EConnectedPositionStrategy = EConnectedPositionStrategy;
|
|
46
|
+
exports.ESDropdownBoundary = ESDropdownBoundary;
|
|
47
|
+
exports.ESDropdownPlacement = ESDropdownPlacement;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//#region src/composables/connectedPosition/types.ts
|
|
2
|
+
var EAnchorSide = /* @__PURE__ */ function(EAnchorSide) {
|
|
3
|
+
EAnchorSide["TOP"] = "top";
|
|
4
|
+
EAnchorSide["BOTTOM"] = "bottom";
|
|
5
|
+
EAnchorSide["LEFT"] = "left";
|
|
6
|
+
EAnchorSide["RIGHT"] = "right";
|
|
7
|
+
return EAnchorSide;
|
|
8
|
+
}({});
|
|
9
|
+
var EAnchorAlign = /* @__PURE__ */ function(EAnchorAlign) {
|
|
10
|
+
EAnchorAlign["START"] = "start";
|
|
11
|
+
EAnchorAlign["END"] = "end";
|
|
12
|
+
EAnchorAlign["CENTER"] = "center";
|
|
13
|
+
return EAnchorAlign;
|
|
14
|
+
}({});
|
|
15
|
+
var ESDropdownPlacement = /* @__PURE__ */ function(ESDropdownPlacement) {
|
|
16
|
+
ESDropdownPlacement["TOP"] = "top";
|
|
17
|
+
ESDropdownPlacement["TOP_START"] = "top-start";
|
|
18
|
+
ESDropdownPlacement["TOP_END"] = "top-end";
|
|
19
|
+
ESDropdownPlacement["BOTTOM"] = "bottom";
|
|
20
|
+
ESDropdownPlacement["BOTTOM_START"] = "bottom-start";
|
|
21
|
+
ESDropdownPlacement["BOTTOM_END"] = "bottom-end";
|
|
22
|
+
ESDropdownPlacement["LEFT"] = "left";
|
|
23
|
+
ESDropdownPlacement["LEFT_START"] = "left-start";
|
|
24
|
+
ESDropdownPlacement["LEFT_END"] = "left-end";
|
|
25
|
+
ESDropdownPlacement["RIGHT"] = "right";
|
|
26
|
+
ESDropdownPlacement["RIGHT_START"] = "right-start";
|
|
27
|
+
ESDropdownPlacement["RIGHT_END"] = "right-end";
|
|
28
|
+
return ESDropdownPlacement;
|
|
29
|
+
}({});
|
|
30
|
+
var ESDropdownBoundary = /* @__PURE__ */ function(ESDropdownBoundary) {
|
|
31
|
+
ESDropdownBoundary["CLIPPING_ANCESTORS"] = "clipping-ancestors";
|
|
32
|
+
ESDropdownBoundary["VIEWPORT"] = "viewport";
|
|
33
|
+
return ESDropdownBoundary;
|
|
34
|
+
}({});
|
|
35
|
+
var EConnectedPositionStrategy = /* @__PURE__ */ function(EConnectedPositionStrategy) {
|
|
36
|
+
EConnectedPositionStrategy["PREFERRED"] = "preferred";
|
|
37
|
+
EConnectedPositionStrategy["FLIP"] = "flip";
|
|
38
|
+
EConnectedPositionStrategy["SHIFT"] = "shift";
|
|
39
|
+
EConnectedPositionStrategy["SIZE"] = "size";
|
|
40
|
+
return EConnectedPositionStrategy;
|
|
41
|
+
}({});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { EAnchorAlign, EAnchorSide, EConnectedPositionStrategy, ESDropdownBoundary, ESDropdownPlacement };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//#region src/composables/treeKeyboardNavigation.ts
|
|
2
|
+
var resolveListSelectionAnchorKey = (currentKey, selectedKey) => {
|
|
3
|
+
if (typeof selectedKey === "string" && selectedKey) return selectedKey;
|
|
4
|
+
if (Array.isArray(selectedKey) && selectedKey[0]) return selectedKey[0];
|
|
5
|
+
return currentKey;
|
|
6
|
+
};
|
|
7
|
+
var listHasTreeStructure = (flatRows) => {
|
|
8
|
+
return flatRows.some((row) => row.hasChildren || row.parentKey);
|
|
9
|
+
};
|
|
10
|
+
var resolveTreeExpandNavigationAction = (currentRow, anchorKey, flatRows) => {
|
|
11
|
+
if (!currentRow.hasChildren) return null;
|
|
12
|
+
if (!currentRow.expanded) return {
|
|
13
|
+
type: "expand",
|
|
14
|
+
rowKey: anchorKey
|
|
15
|
+
};
|
|
16
|
+
const firstChildRow = flatRows.find((row) => row.parentKey === anchorKey);
|
|
17
|
+
if (!firstChildRow) return null;
|
|
18
|
+
return {
|
|
19
|
+
type: "select",
|
|
20
|
+
rowKey: firstChildRow.key
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
var resolveTreeCollapseNavigationAction = (currentRow, anchorKey) => {
|
|
24
|
+
if (currentRow.hasChildren && currentRow.expanded) return {
|
|
25
|
+
type: "collapse",
|
|
26
|
+
rowKey: anchorKey
|
|
27
|
+
};
|
|
28
|
+
if (currentRow.parentKey) return {
|
|
29
|
+
type: "select",
|
|
30
|
+
rowKey: currentRow.parentKey
|
|
31
|
+
};
|
|
32
|
+
return null;
|
|
33
|
+
};
|
|
34
|
+
var resolveTreeKeyboardNavigationAction = (key, anchorKey, flatRows) => {
|
|
35
|
+
const currentRow = flatRows.find((row) => row.key === anchorKey);
|
|
36
|
+
if (!currentRow) return null;
|
|
37
|
+
return key === "ArrowRight" ? resolveTreeExpandNavigationAction(currentRow, anchorKey, flatRows) : resolveTreeCollapseNavigationAction(currentRow, anchorKey);
|
|
38
|
+
};
|
|
39
|
+
var findSiblingOrShallowerRowKey = (flatRows, startIndex, direction, maxDepth) => {
|
|
40
|
+
for (let rowIndex = startIndex; rowIndex >= 0 && rowIndex < flatRows.length; rowIndex += direction) {
|
|
41
|
+
const candidateRow = flatRows[rowIndex];
|
|
42
|
+
if (candidateRow && candidateRow.depth <= maxDepth) return candidateRow.key;
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
};
|
|
46
|
+
var resolveTreeVerticalNavigationTarget = (key, anchorKey, flatRows) => {
|
|
47
|
+
const currentIndex = flatRows.findIndex((row) => row.key === anchorKey);
|
|
48
|
+
if (currentIndex === -1) return null;
|
|
49
|
+
const currentRow = flatRows[currentIndex];
|
|
50
|
+
if (!currentRow) return null;
|
|
51
|
+
const direction = key === "ArrowDown" ? 1 : -1;
|
|
52
|
+
return findSiblingOrShallowerRowKey(flatRows, currentIndex + direction, direction, currentRow.depth);
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
exports.listHasTreeStructure = listHasTreeStructure;
|
|
56
|
+
exports.resolveListSelectionAnchorKey = resolveListSelectionAnchorKey;
|
|
57
|
+
exports.resolveTreeKeyboardNavigationAction = resolveTreeKeyboardNavigationAction;
|
|
58
|
+
exports.resolveTreeVerticalNavigationTarget = resolveTreeVerticalNavigationTarget;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
//#region src/composables/treeKeyboardNavigation.ts
|
|
2
|
+
var resolveListSelectionAnchorKey = (currentKey, selectedKey) => {
|
|
3
|
+
if (typeof selectedKey === "string" && selectedKey) return selectedKey;
|
|
4
|
+
if (Array.isArray(selectedKey) && selectedKey[0]) return selectedKey[0];
|
|
5
|
+
return currentKey;
|
|
6
|
+
};
|
|
7
|
+
var listHasTreeStructure = (flatRows) => {
|
|
8
|
+
return flatRows.some((row) => row.hasChildren || row.parentKey);
|
|
9
|
+
};
|
|
10
|
+
var resolveTreeExpandNavigationAction = (currentRow, anchorKey, flatRows) => {
|
|
11
|
+
if (!currentRow.hasChildren) return null;
|
|
12
|
+
if (!currentRow.expanded) return {
|
|
13
|
+
type: "expand",
|
|
14
|
+
rowKey: anchorKey
|
|
15
|
+
};
|
|
16
|
+
const firstChildRow = flatRows.find((row) => row.parentKey === anchorKey);
|
|
17
|
+
if (!firstChildRow) return null;
|
|
18
|
+
return {
|
|
19
|
+
type: "select",
|
|
20
|
+
rowKey: firstChildRow.key
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
var resolveTreeCollapseNavigationAction = (currentRow, anchorKey) => {
|
|
24
|
+
if (currentRow.hasChildren && currentRow.expanded) return {
|
|
25
|
+
type: "collapse",
|
|
26
|
+
rowKey: anchorKey
|
|
27
|
+
};
|
|
28
|
+
if (currentRow.parentKey) return {
|
|
29
|
+
type: "select",
|
|
30
|
+
rowKey: currentRow.parentKey
|
|
31
|
+
};
|
|
32
|
+
return null;
|
|
33
|
+
};
|
|
34
|
+
var resolveTreeKeyboardNavigationAction = (key, anchorKey, flatRows) => {
|
|
35
|
+
const currentRow = flatRows.find((row) => row.key === anchorKey);
|
|
36
|
+
if (!currentRow) return null;
|
|
37
|
+
return key === "ArrowRight" ? resolveTreeExpandNavigationAction(currentRow, anchorKey, flatRows) : resolveTreeCollapseNavigationAction(currentRow, anchorKey);
|
|
38
|
+
};
|
|
39
|
+
var findSiblingOrShallowerRowKey = (flatRows, startIndex, direction, maxDepth) => {
|
|
40
|
+
for (let rowIndex = startIndex; rowIndex >= 0 && rowIndex < flatRows.length; rowIndex += direction) {
|
|
41
|
+
const candidateRow = flatRows[rowIndex];
|
|
42
|
+
if (candidateRow && candidateRow.depth <= maxDepth) return candidateRow.key;
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
};
|
|
46
|
+
var resolveTreeVerticalNavigationTarget = (key, anchorKey, flatRows) => {
|
|
47
|
+
const currentIndex = flatRows.findIndex((row) => row.key === anchorKey);
|
|
48
|
+
if (currentIndex === -1) return null;
|
|
49
|
+
const currentRow = flatRows[currentIndex];
|
|
50
|
+
if (!currentRow) return null;
|
|
51
|
+
const direction = key === "ArrowDown" ? 1 : -1;
|
|
52
|
+
return findSiblingOrShallowerRowKey(flatRows, currentIndex + direction, direction, currentRow.depth);
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
export { listHasTreeStructure, resolveListSelectionAnchorKey, resolveTreeKeyboardNavigationAction, resolveTreeVerticalNavigationTarget };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
let vue = require("vue");
|
|
2
|
+
//#region src/composables/useAriaAttrs.ts
|
|
3
|
+
var ARIA_ATTR_PREFIX = "aria-";
|
|
4
|
+
var isAriaAttrName = (attrName) => attrName.startsWith(ARIA_ATTR_PREFIX);
|
|
5
|
+
/**
|
|
6
|
+
* Делит `$attrs` компонента-обёртки между корнем и элементом, у которого есть роль.
|
|
7
|
+
*
|
|
8
|
+
* Доступное имя и состояние (`aria-label`, `aria-labelledby`, `aria-describedby`, …) читаются
|
|
9
|
+
* скринридером только с элемента-контрола: нативного `input`, `combobox`, `listbox`. На корневом
|
|
10
|
+
* `div`/`label` без роли они не работают (axe: `aria-prohibited-attr`, а контрол остаётся без
|
|
11
|
+
* имени). Всё остальное — `class`, `style`, `data-qa`, слушатели — по-прежнему уходит на корень.
|
|
12
|
+
*
|
|
13
|
+
* Геттеры, а не `computed`: `$attrs` не реактивен по набору ключей, а рендер и так
|
|
14
|
+
* перезапускается при смене атрибутов.
|
|
15
|
+
*/
|
|
16
|
+
var useAriaAttrs = () => {
|
|
17
|
+
const attrs = (0, vue.useAttrs)();
|
|
18
|
+
const getRootAttrs = () => {
|
|
19
|
+
return Object.fromEntries(Object.entries(attrs).filter(([attrName]) => !isAriaAttrName(attrName)));
|
|
20
|
+
};
|
|
21
|
+
const getAriaAttrs = () => {
|
|
22
|
+
return Object.fromEntries(Object.entries(attrs).filter(([attrName]) => isAriaAttrName(attrName)));
|
|
23
|
+
};
|
|
24
|
+
/** Строковое значение ARIA-атрибута, переданного снаружи; пустая строка — как отсутствие. */
|
|
25
|
+
const getAriaAttr = (attrName) => {
|
|
26
|
+
const attrValue = attrs[attrName];
|
|
27
|
+
if (typeof attrValue !== "string" || !attrValue) return;
|
|
28
|
+
return attrValue;
|
|
29
|
+
};
|
|
30
|
+
return {
|
|
31
|
+
getRootAttrs,
|
|
32
|
+
getAriaAttrs,
|
|
33
|
+
getAriaAttr
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.useAriaAttrs = useAriaAttrs;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useAttrs } from "vue";
|
|
2
|
+
//#region src/composables/useAriaAttrs.ts
|
|
3
|
+
var ARIA_ATTR_PREFIX = "aria-";
|
|
4
|
+
var isAriaAttrName = (attrName) => attrName.startsWith(ARIA_ATTR_PREFIX);
|
|
5
|
+
/**
|
|
6
|
+
* Делит `$attrs` компонента-обёртки между корнем и элементом, у которого есть роль.
|
|
7
|
+
*
|
|
8
|
+
* Доступное имя и состояние (`aria-label`, `aria-labelledby`, `aria-describedby`, …) читаются
|
|
9
|
+
* скринридером только с элемента-контрола: нативного `input`, `combobox`, `listbox`. На корневом
|
|
10
|
+
* `div`/`label` без роли они не работают (axe: `aria-prohibited-attr`, а контрол остаётся без
|
|
11
|
+
* имени). Всё остальное — `class`, `style`, `data-qa`, слушатели — по-прежнему уходит на корень.
|
|
12
|
+
*
|
|
13
|
+
* Геттеры, а не `computed`: `$attrs` не реактивен по набору ключей, а рендер и так
|
|
14
|
+
* перезапускается при смене атрибутов.
|
|
15
|
+
*/
|
|
16
|
+
var useAriaAttrs = () => {
|
|
17
|
+
const attrs = useAttrs();
|
|
18
|
+
const getRootAttrs = () => {
|
|
19
|
+
return Object.fromEntries(Object.entries(attrs).filter(([attrName]) => !isAriaAttrName(attrName)));
|
|
20
|
+
};
|
|
21
|
+
const getAriaAttrs = () => {
|
|
22
|
+
return Object.fromEntries(Object.entries(attrs).filter(([attrName]) => isAriaAttrName(attrName)));
|
|
23
|
+
};
|
|
24
|
+
/** Строковое значение ARIA-атрибута, переданного снаружи; пустая строка — как отсутствие. */
|
|
25
|
+
const getAriaAttr = (attrName) => {
|
|
26
|
+
const attrValue = attrs[attrName];
|
|
27
|
+
if (typeof attrValue !== "string" || !attrValue) return;
|
|
28
|
+
return attrValue;
|
|
29
|
+
};
|
|
30
|
+
return {
|
|
31
|
+
getRootAttrs,
|
|
32
|
+
getAriaAttrs,
|
|
33
|
+
getAriaAttr
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { useAriaAttrs };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const require_registerChartJs = require("../utils/chart/core/registerChartJs.cjs");
|
|
2
|
+
let vue = require("vue");
|
|
3
|
+
let _vueuse_core = require("@vueuse/core");
|
|
4
|
+
let chart_js = require("chart.js");
|
|
5
|
+
//#region src/composables/useChart.ts
|
|
6
|
+
var useChart = ({ canvasRef, config, enabled }) => {
|
|
7
|
+
const chartInstance = (0, vue.shallowRef)();
|
|
8
|
+
const destroyChart = () => {
|
|
9
|
+
if (chartInstance.value) {
|
|
10
|
+
chartInstance.value.destroy();
|
|
11
|
+
chartInstance.value = void 0;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const renderChart = () => {
|
|
15
|
+
if (!(0, vue.toValue)(enabled)) {
|
|
16
|
+
destroyChart();
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const canvas = (0, vue.toValue)(canvasRef);
|
|
20
|
+
const chartConfig = (0, vue.toValue)(config);
|
|
21
|
+
if (!canvas || !chartConfig) {
|
|
22
|
+
destroyChart();
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
require_registerChartJs.ensureChartJsRegistered();
|
|
26
|
+
if (chartInstance.value) {
|
|
27
|
+
chartInstance.value.destroy();
|
|
28
|
+
chartInstance.value = void 0;
|
|
29
|
+
}
|
|
30
|
+
chartInstance.value = new chart_js.Chart(canvas, chartConfig);
|
|
31
|
+
};
|
|
32
|
+
(0, vue.onMounted)(() => {
|
|
33
|
+
renderChart();
|
|
34
|
+
});
|
|
35
|
+
(0, vue.watch)(() => [
|
|
36
|
+
(0, vue.toValue)(enabled),
|
|
37
|
+
(0, vue.toValue)(canvasRef),
|
|
38
|
+
(0, vue.toValue)(config)
|
|
39
|
+
], () => {
|
|
40
|
+
renderChart();
|
|
41
|
+
}, { deep: true });
|
|
42
|
+
(0, _vueuse_core.useResizeObserver)(canvasRef, () => {
|
|
43
|
+
chartInstance.value?.resize();
|
|
44
|
+
});
|
|
45
|
+
(0, vue.onBeforeUnmount)(() => {
|
|
46
|
+
destroyChart();
|
|
47
|
+
});
|
|
48
|
+
return { chartInstance };
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.useChart = useChart;
|