hys-ui 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +68 -73
  3. package/dist/components/HysAnimatedNumber/HysAnimatedNumber.vue.js +5 -41
  4. package/dist/components/HysAnimatedNumber/HysAnimatedNumber2.vue.js +467 -2
  5. package/dist/components/HysAnimatedNumber/NumberAnimationCanvas/NumberAnimationCanvas.vue.js +7 -0
  6. package/dist/components/HysAnimatedNumber/NumberAnimationCanvas/NumberAnimationCanvas2.vue.js +166 -0
  7. package/dist/components/HysAnimatedNumber/NumberDigits/NumberDigits.vue.js +7 -0
  8. package/dist/components/HysAnimatedNumber/NumberDigits/NumberDigits2.vue.js +105 -0
  9. package/dist/components/HysAnimatedNumber/animation/digital.js +186 -0
  10. package/dist/components/HysAnimatedNumber/animation/morph.js +110 -0
  11. package/dist/components/HysAnimatedNumber/animation/paint.js +34 -0
  12. package/dist/components/HysAnimatedNumber/animation/particles.js +51 -0
  13. package/dist/components/HysAnimatedNumber/animation/paths.js +165 -0
  14. package/dist/components/HysAnimatedNumber/animation/physics.js +66 -0
  15. package/dist/components/HysAnimatedNumber/animation/render.js +89 -0
  16. package/dist/components/HysAnimatedNumber/animation/reveal.js +125 -0
  17. package/dist/components/HysAnimatedNumber/animation/rolling.js +66 -0
  18. package/dist/components/HysAnimatedNumber/animation/scenarios.js +217 -0
  19. package/dist/components/HysAnimatedNumber/animation/spatial.js +112 -0
  20. package/dist/components/HysAnimatedNumber/useNumberCountdown.js +58 -0
  21. package/dist/components/HysAnimatedNumber/useNumberVisuals.js +60 -0
  22. package/dist/components/HysButton/HysButton.vue.js +2 -2
  23. package/dist/components/HysButton/HysButton2.vue.js +227 -60
  24. package/dist/components/HysButtonGroup/HysButtonGroup.vue.js +7 -0
  25. package/dist/components/HysButtonGroup/HysButtonGroup2.vue.js +51 -0
  26. package/dist/components/HysFormItem/HysFormItem.vue.js +1 -1
  27. package/dist/components/HysFormItem/HysFormItem2.vue.js +231 -229
  28. package/dist/components/HysInput/HysInput.vue.js +2 -2
  29. package/dist/components/HysInput/HysInput2.vue.js +327 -274
  30. package/dist/components/HysMention/HysMention.vue.js +1 -1
  31. package/dist/components/HysMention/HysMention2.vue.js +1092 -154
  32. package/dist/components/HysModal/HysModal.vue.js +3 -3
  33. package/dist/components/HysModal/HysModal2.vue.js +81 -80
  34. package/dist/components/HysPagination/HysPagination.vue.js +2 -2
  35. package/dist/components/HysPagination/HysPagination2.vue.js +243 -180
  36. package/dist/components/HysSearch/HysSearch.vue.js +5 -82
  37. package/dist/components/HysSearch/HysSearch2.vue.js +176 -2
  38. package/dist/components/HysSelect/HysSelect.vue.js +2 -2
  39. package/dist/components/HysSelect/HysSelect2.vue.js +472 -443
  40. package/dist/components/HysSplitPane/HysSplitPane.vue.js +315 -58
  41. package/dist/components/HysSplitPane/HysSplitPane3.vue.js +5 -0
  42. package/dist/components/HysTable/HysTable.vue.js +2 -2
  43. package/dist/components/HysTable/HysTable2.vue.js +1418 -1150
  44. package/dist/components/HysTextarea/HysTextarea.vue.js +56 -32
  45. package/dist/components/HysTour/HysTour.vue.js +291 -67
  46. package/dist/components/HysTour/HysTour3.vue.js +5 -0
  47. package/dist/composables/animatedNumberDigits.js +106 -0
  48. package/dist/composables/animatedNumberFormat.js +222 -0
  49. package/dist/composables/animatedNumberTiming.js +66 -0
  50. package/dist/composables/buttonGroup.js +12 -0
  51. package/dist/composables/floatingPosition.js +18 -0
  52. package/dist/composables/mentionDocument.js +79 -0
  53. package/dist/composables/mentionEditor.js +58 -0
  54. package/dist/composables/numberAnimation.js +72 -0
  55. package/dist/composables/numberAnimationCatalog.js +301 -0
  56. package/dist/composables/numberAnimationSequence.js +45 -0
  57. package/dist/composables/selectOptions.js +44 -38
  58. package/dist/composables/splitPaneSizes.js +58 -0
  59. package/dist/composables/table.js +128 -105
  60. package/dist/composables/textInput.js +23 -14
  61. package/dist/composables/useDialog.js +50 -50
  62. package/dist/composables/useFloating.js +107 -103
  63. package/dist/composables/useHysAnimatedNumber.js +264 -0
  64. package/dist/composables/useHysNumberAnimationGroup.js +23 -0
  65. package/dist/composables/useMentionCaret.js +81 -0
  66. package/dist/composables/useMentionList.js +81 -0
  67. package/dist/composables/useMentionModel.js +90 -0
  68. package/dist/composables/useMentionOptions.js +421 -0
  69. package/dist/composables/useSplitPaneDrag.js +52 -0
  70. package/dist/composables/useSplitPaneStorage.js +38 -0
  71. package/dist/composables/useTable.js +344 -312
  72. package/dist/composables/useTableSticky.js +79 -0
  73. package/dist/composables/useTextareaSize.js +62 -46
  74. package/dist/composables/useTourLayout.js +129 -0
  75. package/dist/config.js +11 -11
  76. package/dist/index.js +183 -152
  77. package/dist/internal/MultiSplitPane.vue.js +305 -0
  78. package/dist/internal/MultiSplitPane2.vue.js +4 -0
  79. package/dist/style.css +1 -1
  80. package/dist/types/components/HysAnimatedNumber/HysAnimatedNumber.vue.d.ts +99 -6
  81. package/dist/types/components/HysAnimatedNumber/NumberAnimationCanvas/NumberAnimationCanvas.vue.d.ts +19 -0
  82. package/dist/types/components/HysAnimatedNumber/NumberDigits/NumberDigits.vue.d.ts +31 -0
  83. package/dist/types/components/HysAnimatedNumber/animation/digital.d.ts +3 -0
  84. package/dist/types/components/HysAnimatedNumber/animation/morph.d.ts +2 -0
  85. package/dist/types/components/HysAnimatedNumber/animation/paint.d.ts +44 -0
  86. package/dist/types/components/HysAnimatedNumber/animation/particles.d.ts +5 -0
  87. package/dist/types/components/HysAnimatedNumber/animation/paths.d.ts +12 -0
  88. package/dist/types/components/HysAnimatedNumber/animation/physics.d.ts +2 -0
  89. package/dist/types/components/HysAnimatedNumber/animation/render.d.ts +2 -0
  90. package/dist/types/components/HysAnimatedNumber/animation/reveal.d.ts +2 -0
  91. package/dist/types/components/HysAnimatedNumber/animation/rolling.d.ts +2 -0
  92. package/dist/types/components/HysAnimatedNumber/animation/scenarios.d.ts +4 -0
  93. package/dist/types/components/HysAnimatedNumber/animation/spatial.d.ts +2 -0
  94. package/dist/types/components/HysAnimatedNumber/useNumberCountdown.d.ts +8 -0
  95. package/dist/types/components/HysAnimatedNumber/useNumberVisuals.d.ts +12 -0
  96. package/dist/types/components/HysAutocomplete/HysAutocomplete.vue.d.ts +12 -3
  97. package/dist/types/components/HysAvatarGroup/HysAvatarGroup.vue.d.ts +2 -2
  98. package/dist/types/components/HysButton/HysButton.vue.d.ts +82 -22
  99. package/dist/types/components/HysButtonGroup/HysButtonGroup.vue.d.ts +30 -0
  100. package/dist/types/components/HysCard/HysCard.vue.d.ts +1 -1
  101. package/dist/types/components/HysCascader/HysCascader.vue.d.ts +3 -3
  102. package/dist/types/components/HysCascader/HysCascaderColumn.vue.d.ts +3 -3
  103. package/dist/types/components/HysColorPicker/HysColorPicker.vue.d.ts +3 -3
  104. package/dist/types/components/HysContextMenu/HysMenuPanel.vue.d.ts +2 -2
  105. package/dist/types/components/HysDatePicker/HysDatePicker.vue.d.ts +3 -3
  106. package/dist/types/components/HysDatePicker/HysDatePickerControl.vue.d.ts +6 -6
  107. package/dist/types/components/HysDateRangePicker/HysDateRangePicker.vue.d.ts +3 -3
  108. package/dist/types/components/HysDrawer/HysDrawer.vue.d.ts +2 -2
  109. package/dist/types/components/HysFormItem/HysFormItem.vue.d.ts +1 -1
  110. package/dist/types/components/HysInput/HysInput.vue.d.ts +13 -1
  111. package/dist/types/components/HysMention/HysMention.vue.d.ts +91 -40
  112. package/dist/types/components/HysModal/HysModal.vue.d.ts +1 -1
  113. package/dist/types/components/HysNumberInput/HysNumberInput.vue.d.ts +2 -2
  114. package/dist/types/components/HysPagination/HysPagination.vue.d.ts +55 -4
  115. package/dist/types/components/HysPopover/HysPopover.vue.d.ts +1 -1
  116. package/dist/types/components/HysRating/HysRating.vue.d.ts +1 -1
  117. package/dist/types/components/HysSearch/HysSearch.vue.d.ts +46 -8
  118. package/dist/types/components/HysSelect/HysSelect.vue.d.ts +6 -1
  119. package/dist/types/components/HysSkeleton/HysSkeleton.vue.d.ts +2 -2
  120. package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +125 -14
  121. package/dist/types/components/HysSteps/HysSteps.vue.d.ts +1 -1
  122. package/dist/types/components/HysTable/HysTable.vue.d.ts +1740 -3
  123. package/dist/types/components/HysTabs/HysTabs.vue.d.ts +1 -1
  124. package/dist/types/components/HysTagInput/HysTagInput.vue.d.ts +1 -1
  125. package/dist/types/components/HysTextarea/HysTextarea.vue.d.ts +13 -2
  126. package/dist/types/components/HysToast/HysToast.vue.d.ts +1 -1
  127. package/dist/types/components/HysTooltip/HysTooltip.vue.d.ts +1 -1
  128. package/dist/types/components/HysTour/HysTour.vue.d.ts +46 -9
  129. package/dist/types/components/HysTreeSelect/HysTreeSelect.vue.d.ts +3 -3
  130. package/dist/types/components/HysUpload/HysUpload.vue.d.ts +2 -2
  131. package/dist/types/composables/animatedNumber.d.ts +220 -0
  132. package/dist/types/composables/animatedNumberDigits.d.ts +32 -0
  133. package/dist/types/composables/animatedNumberFormat.d.ts +16 -0
  134. package/dist/types/composables/animatedNumberTiming.d.ts +21 -0
  135. package/dist/types/composables/buttonGroup.d.ts +9 -0
  136. package/dist/types/composables/drawer.d.ts +1 -1
  137. package/dist/types/composables/floatingPosition.d.ts +14 -0
  138. package/dist/types/composables/mention.d.ts +284 -0
  139. package/dist/types/composables/mentionDocument.d.ts +15 -0
  140. package/dist/types/composables/mentionEditor.d.ts +7 -0
  141. package/dist/types/composables/modal.d.ts +2 -0
  142. package/dist/types/composables/numberAnimation.d.ts +29 -0
  143. package/dist/types/composables/numberAnimationCatalog.d.ts +58 -0
  144. package/dist/types/composables/numberAnimationSequence.d.ts +13 -0
  145. package/dist/types/composables/selectOptions.d.ts +5 -0
  146. package/dist/types/composables/splitPaneSizes.d.ts +11 -0
  147. package/dist/types/composables/table.d.ts +116 -6
  148. package/dist/types/composables/textInput.d.ts +39 -4
  149. package/dist/types/composables/tour.d.ts +68 -0
  150. package/dist/types/composables/useFloating.d.ts +1 -1
  151. package/dist/types/composables/useHysAnimatedNumber.d.ts +37 -0
  152. package/dist/types/composables/useHysNumberAnimationGroup.d.ts +4 -0
  153. package/dist/types/composables/useMentionCaret.d.ts +6 -0
  154. package/dist/types/composables/useMentionList.d.ts +23 -0
  155. package/dist/types/composables/useMentionModel.d.ts +14 -0
  156. package/dist/types/composables/useMentionOptions.d.ts +26 -0
  157. package/dist/types/composables/useSplitPaneDrag.d.ts +14 -0
  158. package/dist/types/composables/useSplitPaneStorage.d.ts +4 -0
  159. package/dist/types/composables/useTable.d.ts +7 -3
  160. package/dist/types/composables/useTableSticky.d.ts +22 -0
  161. package/dist/types/composables/useTextareaSize.d.ts +5 -2
  162. package/dist/types/composables/useTourLayout.d.ts +33 -0
  163. package/dist/types/config.d.ts +1 -0
  164. package/dist/types/index.d.ts +46 -1
  165. package/dist/types/internal/MultiSplitPane.vue.d.ts +54 -0
  166. package/package.json +3 -2
  167. package/dist/components/HysSplitPane/HysSplitPane2.vue.js +0 -4
  168. package/dist/components/HysTour/HysTour2.vue.js +0 -4
@@ -0,0 +1,33 @@
1
+ import { type Ref } from "vue";
2
+ import type { HysTourAppearance, HysTourTarget } from "./tour";
3
+ export declare function useTourLayout(shown: Readonly<Ref<boolean>>, panel: Readonly<Ref<HTMLElement | undefined>>, settings: Readonly<Ref<HysTourAppearance>>, targetInput: Readonly<Ref<HysTourTarget | undefined>>): {
4
+ view: import("vue").ShallowRef<{
5
+ width: number;
6
+ height: number;
7
+ }, {
8
+ width: number;
9
+ height: number;
10
+ }>;
11
+ bounds: import("vue").ShallowRef<DOMRect | undefined, DOMRect | undefined>;
12
+ card: import("vue").ShallowRef<{
13
+ width: number;
14
+ height: number;
15
+ x: number;
16
+ y: number;
17
+ placement: import("./useFloating").Placement;
18
+ } | undefined, {
19
+ width: number;
20
+ height: number;
21
+ x: number;
22
+ y: number;
23
+ placement: import("./useFloating").Placement;
24
+ } | undefined>;
25
+ arrow: import("vue").ShallowRef<{
26
+ x: number;
27
+ y: number;
28
+ } | undefined, {
29
+ x: number;
30
+ y: number;
31
+ } | undefined>;
32
+ path: import("vue").ComputedRef<string>;
33
+ };
@@ -4,6 +4,7 @@ export type HysMotion = 'full' | 'subtle' | 'off';
4
4
  export interface HysConfig {
5
5
  theme?: MaybeRefOrGetter<HysTheme>;
6
6
  motion?: MaybeRefOrGetter<HysMotion>;
7
+ buttonAutoInsertSpace?: MaybeRefOrGetter<boolean>;
7
8
  }
8
9
  /** Call in a component setup. Reactive options are inherited by children and teleported panels. */
9
10
  export declare function provideHysConfig(config: HysConfig): void;
@@ -13,8 +13,17 @@ export type { HysBreadcrumbItem } from './components/HysBreadcrumb/HysBreadcrumb
13
13
  export type { HysBreadcrumbSelectInfo } from './components/HysBreadcrumb/HysBreadcrumb.vue';
14
14
  export type { HysBreadcrumbProps } from './components/HysBreadcrumb/HysBreadcrumb.vue';
15
15
  export { default as HysButton } from './components/HysButton/HysButton.vue';
16
+ export type { HysButtonPaletteColor } from './components/HysButton/HysButton.vue';
16
17
  export type { HysButtonVariant } from './components/HysButton/HysButton.vue';
18
+ export type { HysButtonAppearance } from './components/HysButton/HysButton.vue';
19
+ export type { HysButtonSize } from './components/HysButton/HysButton.vue';
20
+ export type { HysButtonActionContext } from './components/HysButton/HysButton.vue';
21
+ export type { HysButtonAction } from './components/HysButton/HysButton.vue';
22
+ export type { HysButtonActionGuard } from './components/HysButton/HysButton.vue';
23
+ export type { HysButtonInstance } from './components/HysButton/HysButton.vue';
17
24
  export type { HysButtonProps } from './components/HysButton/HysButton.vue';
25
+ export { default as HysButtonGroup } from './components/HysButtonGroup/HysButtonGroup.vue';
26
+ export type { HysButtonGroupProps } from './components/HysButtonGroup/HysButtonGroup.vue';
18
27
  export { default as HysCalendar } from './components/HysCalendar/HysCalendar.vue';
19
28
  export { default as HysCalendarNavigation } from './components/HysCalendarNavigation/HysCalendarNavigation.vue';
20
29
  export { default as HysCard } from './components/HysCard/HysCard.vue';
@@ -65,6 +74,8 @@ export { default as HysRating } from './components/HysRating/HysRating.vue';
65
74
  export { default as HysResizablePanel } from './components/HysResizablePanel/HysResizablePanel.vue';
66
75
  export { default as HysRichTextEditor } from './components/HysRichTextEditor/HysRichTextEditor.vue';
67
76
  export { default as HysSearch } from './components/HysSearch/HysSearch.vue';
77
+ export type { HysSearchProps } from './components/HysSearch/HysSearch.vue';
78
+ export type { HysSearchButtonContext } from './components/HysSearch/HysSearch.vue';
68
79
  export { default as HysSegmented } from './components/HysSegmented/HysSegmented.vue';
69
80
  export { default as HysSelect } from './components/HysSelect/HysSelect.vue';
70
81
  export { default as HysShortcutHelp } from './components/HysShortcutHelp/HysShortcutHelp.vue';
@@ -73,6 +84,19 @@ export type { HysSkeletonVariant } from './components/HysSkeleton/HysSkeleton.vu
73
84
  export { default as HysSlider } from './components/HysSlider/HysSlider.vue';
74
85
  export { default as HysSortableList } from './components/HysSortableList/HysSortableList.vue';
75
86
  export { default as HysSplitPane } from './components/HysSplitPane/HysSplitPane.vue';
87
+ export type { HysSplitPaneSide } from './components/HysSplitPane/HysSplitPane.vue';
88
+ export type { HysSplitPaneLength } from './components/HysSplitPane/HysSplitPane.vue';
89
+ export type { HysSplitPanePanelOptions } from './components/HysSplitPane/HysSplitPane.vue';
90
+ export type { HysSplitPanePanel } from './components/HysSplitPane/HysSplitPane.vue';
91
+ export type { HysSplitPaneSizes } from './components/HysSplitPane/HysSplitPane.vue';
92
+ export type { HysSplitPanePanelResize } from './components/HysSplitPane/HysSplitPane.vue';
93
+ export type { HysSplitPanePanelResizeEnd } from './components/HysSplitPane/HysSplitPane.vue';
94
+ export type { HysSplitPaneHandleContext } from './components/HysSplitPane/HysSplitPane.vue';
95
+ export type { HysSplitPaneProps } from './components/HysSplitPane/HysSplitPane.vue';
96
+ export type { HysSplitPaneSlotContext } from './components/HysSplitPane/HysSplitPane.vue';
97
+ export type { HysSplitPanePanelContext } from './components/HysSplitPane/HysSplitPane.vue';
98
+ export type { HysSplitPaneResizeEnd } from './components/HysSplitPane/HysSplitPane.vue';
99
+ export type { HysSplitPaneInstance } from './components/HysSplitPane/HysSplitPane.vue';
76
100
  export { default as HysSteps } from './components/HysSteps/HysSteps.vue';
77
101
  export type { HysStepStatus } from './components/HysSteps/HysSteps.vue';
78
102
  export type { HysStepItem } from './components/HysSteps/HysSteps.vue';
@@ -106,14 +130,24 @@ export type { HysInputProps, HysTextareaProps, HysInputFormatInfo, HysInputCount
106
130
  export { useHysToast, createHysToast } from './composables/useHysToast';
107
131
  export type { HysToastApi, HysToastOptions, HysToastConfig, HysToastHandle, HysToastServiceConfig, HysToastService } from './composables/useHysToast';
108
132
  export type { HysSliderValue, HysSliderStep, HysSliderMarks, HysSliderDragInfo, HysSliderInstance } from './composables/slider';
133
+ export type { HysInputSize, HysInputModelModifiers, HysTextareaStyle } from './composables/textInput';
134
+ export type { HysSelectLabeledValue } from './composables/selectOptions';
109
135
  export type { HysAvatarProps, HysAvatarSize, HysAvatarBreakpoint, HysAvatarFit, HysAvatarLoadInfo, HysAvatarOption, HysAvatarInstance, HysAvatarGroupProps, HysAvatarGroupInstance } from './composables/avatar';
110
136
  export type { HysAutocompleteProps, HysAutocompleteRow, HysAutocompleteOption, HysAutocompleteItem, HysAutocompleteGroup, HysAutocompleteDataOption, HysAutocompleteContext, HysAutocompleteCallback, HysAutocompleteFetch, HysAutocompleteInstance } from './composables/autocomplete';
137
+ export type { HysMentionUser, HysMentionOption, HysMentionDataOption, HysMentionContext, HysMentionLoadContext, HysMentionFieldNames, HysMentionProps, HysMentionSlots, HysMentionPage, HysMentionLoader, HysMentionFilter, HysMentionSearchField, HysMentionSearchMode, HysMentionMatch, HysMentionTrigger, HysMentionSource, HysMentionEntity, HysMentionDocument, HysMentionOpenOptions, HysMentionInsertOptions, HysMentionAutosize, HysMentionLocale, HysMentionAction, HysMentionInstance } from './composables/mention';
138
+ export { matchMention, mentionTriggers, normalizeMentionEntities, serializeMentionDocument, deserializeMentionDocument, rebaseMentionEntities } from './composables/mentionDocument';
139
+ export { useMentionOptions } from './composables/useMentionOptions';
140
+ export type { MentionEntry as HysMentionEntry } from './composables/useMentionOptions';
141
+ export { useMentionList } from './composables/useMentionList';
142
+ export { useMentionCaret } from './composables/useMentionCaret';
143
+ export { useMentionModel } from './composables/useMentionModel';
144
+ export type { HysTourTarget, HysTourContent, HysTourMask, HysTourGap, HysTourButtonProps, HysTourAppearance, HysTourStep, HysTourProps, HysTourContext } from './composables/tour';
111
145
  export type { HysChoiceValue, HysChoiceFieldNames, HysChoiceOption, HysChoiceDataOption, HysCheckboxChange, HysCheckboxReject, HysCheckboxInstance, HysCheckboxGroupInstance, HysRadioInstance, HysRadioGroupInstance, HysSwitchGuardContext, HysSwitchInstance } from './composables/choice';
112
146
  export type { HysRatingIcon, HysRatingLevels, HysRatingInstance } from './composables/rating';
113
147
  export type { HysSegmentedOption, HysSegmentedInstance } from './composables/segmented';
114
148
  export type { HysGanttScrollOptions, HysGanttInstance, HysGanttDependencyChange, HysGanttDependencyMove, HysGanttDependencyInvalid, HysGanttDependencyReason, HysGanttHistoryType, HysGanttHistoryEntry, HysGanttHistoryState, HysGanttHistoryInvalid, HysGanttConflictType, HysGanttConflict } from './composables/gantt';
115
149
  export type { CalendarEvent, HysCalendarValue, HysCalendarMode, HysCalendarTransition, HysCalendarAction, HysCalendarCell, HysCalendarMonthCell, HysCalendarSelectInfo, HysCalendarInstance } from './composables/calendar';
116
- export type { HysTableSelectionProps, HysTableSelectionColumn, HysTableFilterConfirmOptions, HysTableFilterResetOptions, HysTableScrollRowOptions, HysTableKey, HysTableDirection, HysTableFilterValue, HysTableFilters, HysTableSort, HysTableFilter, HysTableCellContext, HysTableColumn, HysTableElementAttrs, HysTablePaginationPosition, HysTablePagination, HysTableQuery, HysTableLoadContext, HysTableLocale, HysTableProps, HysTableInstance } from './composables/table';
150
+ export type { HysTableSelectionProps, HysTableSelectionColumn, HysTableRowSelectionOptions, HysTableSelectionAction, HysTableFilterConfirmOptions, HysTableFilterResetOptions, HysTableFilterDropdownContext, HysTableScrollRowOptions, HysTableStickyOptions, HysTableOverflowTooltipOptions, HysTableComponents, HysTableKey, HysTableDirection, HysTableFilterValue, HysTableFilters, HysTableSort, HysTableFilter, HysTableCellContext, HysTableColumn, HysTableElementAttrs, HysTablePaginationPosition, HysTablePagination, HysTableQuery, HysTableLoadContext, HysTableLocale, HysTableProps, HysTableInstance } from './composables/table';
117
151
  export type { HysTransferKey, HysTransferSide, HysTransferOption, HysTransferFieldNames, HysTransferPagination, HysTransferLocale, HysTransferHeaderInfo, HysTransferProps, HysTransferPanelContext, HysTransferInstance, HysTransferSlots } from './composables/transfer';
118
152
  export type { TreeNode, HysTreeKey, HysTreeValue, HysTreeNode, HysTreeFieldNames, HysTreeLoadContext, HysTreeLocale, HysTreeRecord, HysTreeCheckInfo, HysTreeSelectInfo, HysTreeDropPosition, HysTreeDropInfo, HysTreeNodeContext, HysTreeProps, HysTreeInstance } from './composables/tree';
119
153
  export type { HysTreeSelectNode, HysTreeSelectDataNode, HysTreeSelectLabelValue, HysTreeSelectValue, HysTreeSelectFieldNames, HysTreeSelectSimpleMode, HysTreeSelectStrategy, HysTreeSelectItem, HysTreeSelectChange, HysTreeSelectProps, HysTreeSelectInstance } from './composables/treeSelect';
@@ -127,6 +161,17 @@ export type { HysDrawerProps, HysDrawerBeforeClose, HysDrawerPlacement, HysDrawe
127
161
  export type { HysPopupPlacement, HysPopupTrigger, HysPopupVirtualReference, HysPopupReference, HysPopupSurfaceProps, HysTooltipProps, HysPopoverProps, HysPopupSurfaceContext, HysTooltipSlots, HysPopoverSlots, HysPopupSurfaceInstance, HysTooltipInstance, HysPopoverInstance } from './composables/popupSurface';
128
162
  export type { HysUploadFile, HysUploadItem, HysUploadStatus, HysUploadListType, HysUploadChangeType, HysUploadChange, HysUploadContext, HysUploadInvalid, HysUploadError, HysUploadDataScalar, HysUploadData, HysUploadRequestOptions, HysUploadRequestResult, HysUploadLocale, HysUploadProps, HysUploadActions, HysUploadFileContext, HysUploadSlotContext, HysUploadSlots, HysUploadInstance } from './composables/upload';
129
163
  export type { HysProgressType, HysProgressStatus, HysProgressSize, HysProgressLinecap, HysProgressGapPosition, HysProgressGradientDirection, HysProgressGradientStop, HysProgressGradient, HysProgressColorStop, HysProgressColor, HysProgressSuccess, HysProgressLabelContext, HysProgressProps, HysProgressSlots, HysProgressInstance } from './composables/progress';
164
+ export { useHysAnimatedNumber } from './composables/useHysAnimatedNumber';
165
+ export { useHysNumberAnimationGroup } from './composables/useHysNumberAnimationGroup';
166
+ export { hysNumberAnimationCatalog, hysNumberAnimationCategories } from './composables/numberAnimationCatalog';
167
+ export type { HysNumberAnimationCategory, HysNumberAnimationName, HysNumberAnimationEntry } from './composables/numberAnimationCatalog';
168
+ export { parseHysNumberAnimation, stringifyHysNumberAnimation } from './composables/numberAnimation';
169
+ export type { HysNumberAnimation, HysNumberAnimationConfig, HysNumberAnimationItem, HysNumberAnimationPresets, HysNumberDigitAnimations } from './composables/numberAnimation';
170
+ export { createHysNumberSequence } from './composables/numberAnimationSequence';
171
+ export type { HysNumberSequenceStep } from './composables/numberAnimationSequence';
172
+ export type { HysNumberInterpolationContext } from './composables/animatedNumber';
173
+ export type { HysNumberComposableOptions } from './composables/animatedNumber';
174
+ export type { HysAnimatedNumberContext, HysAnimatedNumberProps, HysAnimatedNumberInstance, HysNumberValue, HysNumberDirection, HysNumberStatus, HysNumberEasing, HysNumberInterrupt, HysNumberTrigger, HysNumberEffect, HysNumberRounding, HysNumberFormat, HysNumberAnimationOptions, HysNumberFrame, HysNumberTrend, HysNumberEvent, HysNumberControls, HysNumberUnitRule, HysNumberFormatOptions, HysNumberDigitContext } from './composables/animatedNumber';
130
175
  export type { HysAlertTone, HysAlertEffect, HysAlertTransition, HysAlertCloseContext, HysAlertProps, HysAlertSlotContext, HysAlertSlots, HysAlertInstance, HysEmptyIllustration, HysEmptyProps, HysEmptySlotContext, HysEmptySlots, HysEmptyInstance } from './composables/feedback';
131
176
  export type { HysTimelineKey, HysTimelineMode, HysTimelinePosition, HysTimelineSize, HysTimelineTone, HysTimelineItem, HysTimelineFieldNames, HysTimelineProps, HysTimelineItemContext, HysTimelinePendingContext, HysTimelineSlots, HysTimelineInstance } from './composables/timeline';
132
177
  export type { HysTagInputReason, HysTagInputAddContext, HysTagInputInvalid, HysTagInputProps, HysTagInputSlotContext, HysTagInputTagContext, HysTagInputSlots, HysTagInputInstance } from './composables/tagInput';
@@ -0,0 +1,54 @@
1
+ import type { HysSplitPaneHandleContext, HysSplitPaneLength, HysSplitPanePanel, HysSplitPanePanelContext, HysSplitPanePanelResize, HysSplitPanePanelResizeEnd, HysSplitPaneSizes } from "../components/HysSplitPane/HysSplitPane.vue";
2
+ type __VLS_Props = {
3
+ panels: readonly HysSplitPanePanel[];
4
+ sizes?: HysSplitPaneSizes;
5
+ vertical: boolean;
6
+ disabled?: boolean;
7
+ lazy?: boolean;
8
+ step: number;
9
+ ariaLabel: string;
10
+ storageKey?: string;
11
+ dividerSize: number;
12
+ doubleClickAction?: "none" | "collapse" | "reset";
13
+ };
14
+ type __VLS_Slots = {
15
+ panel?: (context: HysSplitPanePanelContext) => unknown;
16
+ "panel-collapse"?: (context: HysSplitPanePanelContext & {
17
+ side: "start" | "end";
18
+ }) => unknown;
19
+ handle?: (context: HysSplitPaneHandleContext) => unknown;
20
+ };
21
+ declare function panelSizes(values?: number[]): {
22
+ [k: string]: number;
23
+ };
24
+ declare function togglePane(key: string, separator?: number): Promise<boolean>;
25
+ declare function resetSizes(): Promise<boolean>;
26
+ declare function resizePane(key: string, length: HysSplitPaneLength, separator?: number): Promise<boolean>;
27
+ declare function getPaneElement(key: string): HTMLElement | undefined;
28
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
29
+ togglePane: typeof togglePane;
30
+ getPanelSizes: typeof panelSizes;
31
+ getPaneElement: typeof getPaneElement;
32
+ resizePane: typeof resizePane;
33
+ resetSizes: typeof resetSizes;
34
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ "update:sizes": (sizes: Readonly<Record<string, HysSplitPaneLength | undefined>>) => any;
36
+ panelResizeStart: (details: HysSplitPanePanelResize) => any;
37
+ panelResize: (details: HysSplitPanePanelResize) => any;
38
+ panelResizeEnd: (details: HysSplitPanePanelResizeEnd) => any;
39
+ panelCollapse: (id: string, collapsed: boolean) => any;
40
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
41
+ "onUpdate:sizes"?: ((sizes: Readonly<Record<string, HysSplitPaneLength | undefined>>) => any) | undefined;
42
+ onPanelResizeStart?: ((details: HysSplitPanePanelResize) => any) | undefined;
43
+ onPanelResize?: ((details: HysSplitPanePanelResize) => any) | undefined;
44
+ onPanelResizeEnd?: ((details: HysSplitPanePanelResizeEnd) => any) | undefined;
45
+ onPanelCollapse?: ((id: string, collapsed: boolean) => any) | undefined;
46
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
48
+ declare const _default: typeof __VLS_export;
49
+ export default _default;
50
+ type __VLS_WithSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hys-ui",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Themeable Vue 3 components with TypeScript and interactive documentation",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -44,7 +44,8 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "async-validator": "^4.2.5",
47
- "lucide-vue-next": "^0.468.0"
47
+ "lucide-vue-next": "^0.468.0",
48
+ "pinyin-pro": "^3.29.5"
48
49
  },
49
50
  "devDependencies": {
50
51
  "vue": "^3.5.13"
@@ -1,4 +0,0 @@
1
- import f from "./HysSplitPane.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import f from "./HysTour.vue.js";
2
- export {
3
- f as default
4
- };