hys-ui 0.6.0 → 0.7.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 (245) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/LICENSE +19 -0
  3. package/dist/components/HysDataGrid/HysDataGrid.vue.js +1 -1
  4. package/dist/components/HysDataGrid/HysDataGrid2.vue.js +1055 -753
  5. package/dist/components/HysDataGrid/gridColumnLayout.js +46 -0
  6. package/dist/components/HysDataGrid/gridPresentation.js +17 -0
  7. package/dist/components/HysDataGrid/useGridContextMenu.js +33 -0
  8. package/dist/components/HysDescriptions/HysDescriptions.vue.js +7 -0
  9. package/dist/components/HysDescriptions/HysDescriptions2.vue.js +146 -0
  10. package/dist/components/HysForm/HysForm2.vue.js +9 -8
  11. package/dist/components/HysIcon/HysIcon.vue.js +373 -0
  12. package/dist/components/HysIcon/HysIcon2.vue.js +5 -0
  13. package/dist/components/HysIcon/IconGraphic/IconGraphic.vue.js +147 -0
  14. package/dist/components/HysIcon/IconGraphic/IconGraphic2.vue.js +4 -0
  15. package/dist/components/HysIcon/IconPickerPanel/IconPickerPanel.vue.js +7 -0
  16. package/dist/components/HysIcon/IconPickerPanel/IconPickerPanel2.vue.js +440 -0
  17. package/dist/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic.vue.js +29 -0
  18. package/dist/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic2.vue.js +4 -0
  19. package/dist/components/HysIcon/IconTooltip/IconTooltip.vue.js +19 -0
  20. package/dist/components/HysIcon/IconTooltip/IconTooltip2.vue.js +4 -0
  21. package/dist/components/HysIcon/builtins/access.js +180 -0
  22. package/dist/components/HysIcon/builtins/actions.js +327 -0
  23. package/dist/components/HysIcon/builtins/business.js +364 -0
  24. package/dist/components/HysIcon/builtins/catalog/access-1.json.js +51 -0
  25. package/dist/components/HysIcon/builtins/catalog/access-2.json.js +35 -0
  26. package/dist/components/HysIcon/builtins/catalog/accessibility.json.js +26 -0
  27. package/dist/components/HysIcon/builtins/catalog/arrows-1.json.js +45 -0
  28. package/dist/components/HysIcon/builtins/catalog/arrows-2.json.js +46 -0
  29. package/dist/components/HysIcon/builtins/catalog/arrows-3.json.js +42 -0
  30. package/dist/components/HysIcon/builtins/catalog/charts-1.json.js +50 -0
  31. package/dist/components/HysIcon/builtins/catalog/charts-2.json.js +13 -0
  32. package/dist/components/HysIcon/builtins/catalog/commerce.json.js +43 -0
  33. package/dist/components/HysIcon/builtins/catalog/communication-1.json.js +49 -0
  34. package/dist/components/HysIcon/builtins/catalog/communication-2.json.js +37 -0
  35. package/dist/components/HysIcon/builtins/catalog/design-1.json.js +61 -0
  36. package/dist/components/HysIcon/builtins/catalog/design-2.json.js +27 -0
  37. package/dist/components/HysIcon/builtins/catalog/development-1.json.js +58 -0
  38. package/dist/components/HysIcon/builtins/catalog/development-2.json.js +60 -0
  39. package/dist/components/HysIcon/builtins/catalog/development-3.json.js +25 -0
  40. package/dist/components/HysIcon/builtins/catalog/devices-1.json.js +52 -0
  41. package/dist/components/HysIcon/builtins/catalog/devices-2.json.js +55 -0
  42. package/dist/components/HysIcon/builtins/catalog/devices-3.json.js +23 -0
  43. package/dist/components/HysIcon/builtins/catalog/education.json.js +34 -0
  44. package/dist/components/HysIcon/builtins/catalog/emoji.json.js +24 -0
  45. package/dist/components/HysIcon/builtins/catalog/files-1.json.js +45 -0
  46. package/dist/components/HysIcon/builtins/catalog/files-2.json.js +47 -0
  47. package/dist/components/HysIcon/builtins/catalog/files-3.json.js +8 -0
  48. package/dist/components/HysIcon/builtins/catalog/food-1.json.js +67 -0
  49. package/dist/components/HysIcon/builtins/catalog/food-2.json.js +40 -0
  50. package/dist/components/HysIcon/builtins/catalog/home.json.js +36 -0
  51. package/dist/components/HysIcon/builtins/catalog/layout-1.json.js +46 -0
  52. package/dist/components/HysIcon/builtins/catalog/layout-2.json.js +45 -0
  53. package/dist/components/HysIcon/builtins/catalog/manifest.json.js +4 -0
  54. package/dist/components/HysIcon/builtins/catalog/maps-1.json.js +61 -0
  55. package/dist/components/HysIcon/builtins/catalog/maps-2.json.js +24 -0
  56. package/dist/components/HysIcon/builtins/catalog/media-1.json.js +57 -0
  57. package/dist/components/HysIcon/builtins/catalog/media-2.json.js +13 -0
  58. package/dist/components/HysIcon/builtins/catalog/medical.json.js +30 -0
  59. package/dist/components/HysIcon/builtins/catalog/nature.json.js +54 -0
  60. package/dist/components/HysIcon/builtins/catalog/recreation.json.js +51 -0
  61. package/dist/components/HysIcon/builtins/catalog/shapes.json.js +54 -0
  62. package/dist/components/HysIcon/builtins/catalog/text-1.json.js +52 -0
  63. package/dist/components/HysIcon/builtins/catalog/text-2.json.js +54 -0
  64. package/dist/components/HysIcon/builtins/catalog/text-3.json.js +58 -0
  65. package/dist/components/HysIcon/builtins/catalog/text-4.json.js +41 -0
  66. package/dist/components/HysIcon/builtins/catalog/time.json.js +39 -0
  67. package/dist/components/HysIcon/builtins/catalog/transport-1.json.js +57 -0
  68. package/dist/components/HysIcon/builtins/catalog/transport-2.json.js +7 -0
  69. package/dist/components/HysIcon/builtins/catalog/weather.json.js +46 -0
  70. package/dist/components/HysIcon/builtins/communication.js +314 -0
  71. package/dist/components/HysIcon/builtins/documents.js +315 -0
  72. package/dist/components/HysIcon/builtins/extendedCatalog.js +75 -0
  73. package/dist/components/HysIcon/builtins/iconInCategory.js +11 -0
  74. package/dist/components/HysIcon/builtins/media.js +255 -0
  75. package/dist/components/HysIcon/builtins/navigation.js +276 -0
  76. package/dist/components/HysIcon/builtins/technology.js +189 -0
  77. package/dist/components/HysIcon/iconBuiltins.js +228 -0
  78. package/dist/components/HysIcon/iconConfig.js +30 -0
  79. package/dist/components/HysIcon/iconRegistry.js +183 -0
  80. package/dist/components/HysIcon/iconSafety.js +191 -0
  81. package/dist/components/HysIcon/iconStyle.js +70 -0
  82. package/dist/components/HysIcon/useIconResource.js +75 -0
  83. package/dist/components/HysPopconfirm/HysPopconfirm.vue.js +7 -0
  84. package/dist/components/HysPopconfirm/HysPopconfirm2.vue.js +346 -0
  85. package/dist/components/HysPopconfirm/usePopconfirmAction.js +32 -0
  86. package/dist/components/HysResult/HysResult.vue.js +7 -0
  87. package/dist/components/HysResult/HysResult2.vue.js +124 -0
  88. package/dist/components/HysSpace/HysSpace.vue.js +7 -0
  89. package/dist/components/HysSpace/HysSpace2.vue.js +79 -0
  90. package/dist/components/HysSpace/spaceItems.js +17 -0
  91. package/dist/components/HysSpin/HysSpin.vue.js +7 -0
  92. package/dist/components/HysSpin/HysSpin2.vue.js +427 -0
  93. package/dist/components/HysSpin/SpinGlyph/SpinGlyph.vue.js +334 -0
  94. package/dist/components/HysSpin/SpinGlyph/SpinGlyph2.vue.js +5 -0
  95. package/dist/components/HysSpin/SpinPortal/SpinPortal.vue.js +7 -0
  96. package/dist/components/HysSpin/SpinPortal/SpinPortal2.vue.js +66 -0
  97. package/dist/components/HysSpin/SpinPortal/spinTarget.js +57 -0
  98. package/dist/components/HysSpin/spinCatalog.js +35 -0
  99. package/dist/components/HysSpin/spinConfig.js +32 -0
  100. package/dist/components/HysSpin/spinService.js +160 -0
  101. package/dist/components/HysSpin/spinStyle.js +39 -0
  102. package/dist/components/HysSpin/useHysSpinTask.js +92 -0
  103. package/dist/components/HysSpin/useSpinFullscreen.js +60 -0
  104. package/dist/components/HysSpin/useSpinVisibility.js +59 -0
  105. package/dist/components/HysSplitPane/HysSplitPane.vue.js +285 -204
  106. package/dist/components/HysSplitPane/splitPaneResize.js +75 -0
  107. package/dist/components/HysTabPane/HysTabPane.vue.js +49 -0
  108. package/dist/components/HysTabPane/HysTabPane2.vue.js +4 -0
  109. package/dist/components/HysTable/HysTable.vue.js +3 -3
  110. package/dist/components/HysTable/HysTable2.vue.js +412 -383
  111. package/dist/components/HysTable/tableSearch.js +24 -0
  112. package/dist/components/HysTabs/HysTabs.vue.js +172 -5
  113. package/dist/components/HysTabs/HysTabs2.vue.js +2 -275
  114. package/dist/components/HysTabs/TabsMore/TabsMore.vue.js +7 -0
  115. package/dist/components/HysTabs/TabsMore/TabsMore2.vue.js +133 -0
  116. package/dist/components/HysTabs/TabsPanels/TabsPanels.vue.js +161 -0
  117. package/dist/components/HysTabs/TabsPanels/TabsPanels2.vue.js +4 -0
  118. package/dist/components/HysTabs/TabsPrompts/TabsPrompts.vue.js +4 -0
  119. package/dist/components/HysTabs/TabsPrompts/TabsPrompts2.vue.js +88 -0
  120. package/dist/components/HysTabs/TabsSlot/TabsSlot.js +13 -0
  121. package/dist/components/HysTabs/TabsWorkbench/TabsWorkbench.vue.js +7 -0
  122. package/dist/components/HysTabs/TabsWorkbench/TabsWorkbench2.vue.js +687 -0
  123. package/dist/components/HysTabs/tabsConfig.js +35 -0
  124. package/dist/components/HysTabs/tabsItems.js +79 -0
  125. package/dist/components/HysTabs/tabsPersistence.js +118 -0
  126. package/dist/components/HysTabs/useHysRouteTabs.js +77 -0
  127. package/dist/components/HysTabs/useTabsDragGhost.js +47 -0
  128. package/dist/components/HysTabs/useTabsNav.js +127 -0
  129. package/dist/components/HysTabs/useTabsOverlays.js +52 -0
  130. package/dist/components/HysTabs/useTabsPanels.js +101 -0
  131. package/dist/components/HysTabs/useTabsPointer.js +131 -0
  132. package/dist/components/HysTabs/useTabsState.js +263 -0
  133. package/dist/composables/formLayout.js +20 -42
  134. package/dist/composables/popupSurfaceStyle.js +30 -0
  135. package/dist/composables/useContainerWidth.js +24 -0
  136. package/dist/composables/useFloating.js +28 -28
  137. package/dist/composables/usePageVisibility.js +19 -0
  138. package/dist/composables/usePopupSurface.js +153 -162
  139. package/dist/composables/usePopupSurfaceInteractions.js +91 -90
  140. package/dist/composables/useSplitPaneDrag.js +29 -26
  141. package/dist/composables/useSvgInstanceId.js +15 -0
  142. package/dist/composables/useTable.js +321 -306
  143. package/dist/composables/useTabularRowNavigation.js +46 -0
  144. package/dist/index.js +229 -185
  145. package/dist/internal/MultiSplitPane.vue.js +246 -205
  146. package/dist/internal/PopupSurfacePanel.vue.js +2 -2
  147. package/dist/internal/PopupSurfacePanel2.vue.js +35 -30
  148. package/dist/style.css +1 -1
  149. package/dist/types/components/HysDataGrid/HysDataGrid.vue.d.ts +40 -2
  150. package/dist/types/components/HysDataGrid/gridColumnLayout.d.ts +22 -0
  151. package/dist/types/components/HysDataGrid/gridPresentation.d.ts +47 -0
  152. package/dist/types/components/HysDataGrid/useGridContextMenu.d.ts +14 -0
  153. package/dist/types/components/HysDescriptions/HysDescriptions.vue.d.ts +20 -0
  154. package/dist/types/components/HysDescriptions/descriptionsTypes.d.ts +54 -0
  155. package/dist/types/components/HysForm/HysForm.vue.d.ts +1 -1
  156. package/dist/types/components/HysFormItem/HysFormItem.vue.d.ts +1 -1
  157. package/dist/types/components/HysIcon/HysIcon.vue.d.ts +76 -0
  158. package/dist/types/components/HysIcon/IconGraphic/IconGraphic.vue.d.ts +43 -0
  159. package/dist/types/components/HysIcon/IconPickerPanel/IconPickerPanel.vue.d.ts +17 -0
  160. package/dist/types/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic.vue.d.ts +10 -0
  161. package/dist/types/components/HysIcon/IconTooltip/IconTooltip.vue.d.ts +11 -0
  162. package/dist/types/components/HysIcon/builtins/access.d.ts +15 -0
  163. package/dist/types/components/HysIcon/builtins/actions.d.ts +30 -0
  164. package/dist/types/components/HysIcon/builtins/business.d.ts +31 -0
  165. package/dist/types/components/HysIcon/builtins/communication.d.ts +27 -0
  166. package/dist/types/components/HysIcon/builtins/documents.d.ts +29 -0
  167. package/dist/types/components/HysIcon/builtins/extendedCatalog.d.ts +2 -0
  168. package/dist/types/components/HysIcon/builtins/iconInCategory.d.ts +2 -0
  169. package/dist/types/components/HysIcon/builtins/media.d.ts +24 -0
  170. package/dist/types/components/HysIcon/builtins/navigation.d.ts +30 -0
  171. package/dist/types/components/HysIcon/builtins/technology.d.ts +18 -0
  172. package/dist/types/components/HysIcon/iconBuiltins.d.ts +2 -0
  173. package/dist/types/components/HysIcon/iconConfig.d.ts +10 -0
  174. package/dist/types/components/HysIcon/iconRegistry.d.ts +5 -0
  175. package/dist/types/components/HysIcon/iconSafety.d.ts +8 -0
  176. package/dist/types/components/HysIcon/iconStyle.d.ts +6 -0
  177. package/dist/types/components/HysIcon/iconTypes.d.ts +192 -0
  178. package/dist/types/components/HysIcon/useIconResource.d.ts +14 -0
  179. package/dist/types/components/HysPopconfirm/HysPopconfirm.vue.d.ts +85 -0
  180. package/dist/types/components/HysPopconfirm/popconfirmTypes.d.ts +72 -0
  181. package/dist/types/components/HysPopconfirm/usePopconfirmAction.d.ts +6 -0
  182. package/dist/types/components/HysProgress/HysProgress.vue.d.ts +1 -1
  183. package/dist/types/components/HysResult/HysResult.vue.d.ts +22 -0
  184. package/dist/types/components/HysResult/resultTypes.d.ts +32 -0
  185. package/dist/types/components/HysSpace/HysSpace.vue.d.ts +15 -0
  186. package/dist/types/components/HysSpace/spaceItems.d.ts +9 -0
  187. package/dist/types/components/HysSpace/spaceTypes.d.ts +20 -0
  188. package/dist/types/components/HysSpin/HysSpin.vue.d.ts +84 -0
  189. package/dist/types/components/HysSpin/SpinGlyph/SpinGlyph.vue.d.ts +16 -0
  190. package/dist/types/components/HysSpin/SpinPortal/SpinPortal.vue.d.ts +21 -0
  191. package/dist/types/components/HysSpin/SpinPortal/spinTarget.d.ts +3 -0
  192. package/dist/types/components/HysSpin/spinCatalog.d.ts +122 -0
  193. package/dist/types/components/HysSpin/spinConfig.d.ts +10 -0
  194. package/dist/types/components/HysSpin/spinService.d.ts +7 -0
  195. package/dist/types/components/HysSpin/spinStyle.d.ts +5 -0
  196. package/dist/types/components/HysSpin/spinTypes.d.ts +133 -0
  197. package/dist/types/components/HysSpin/useHysSpinTask.d.ts +4 -0
  198. package/dist/types/components/HysSpin/useSpinFullscreen.d.ts +17 -0
  199. package/dist/types/components/HysSpin/useSpinVisibility.d.ts +10 -0
  200. package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +25 -2
  201. package/dist/types/components/HysSplitPane/splitPaneResize.d.ts +17 -0
  202. package/dist/types/components/HysTabPane/HysTabPane.vue.d.ts +11 -0
  203. package/dist/types/components/HysTable/HysTable.vue.d.ts +16 -10
  204. package/dist/types/components/HysTable/tableSearch.d.ts +2 -0
  205. package/dist/types/components/HysTabs/HysTabs.vue.d.ts +83 -74
  206. package/dist/types/components/HysTabs/TabsMore/TabsMore.vue.d.ts +14 -0
  207. package/dist/types/components/HysTabs/TabsPanels/TabsPanels.vue.d.ts +17 -0
  208. package/dist/types/components/HysTabs/TabsPrompts/TabsPrompts.vue.d.ts +7 -0
  209. package/dist/types/components/HysTabs/TabsSlot/TabsSlot.d.ts +9 -0
  210. package/dist/types/components/HysTabs/TabsWorkbench/TabsWorkbench.vue.d.ts +32 -0
  211. package/dist/types/components/HysTabs/tabsConfig.d.ts +4 -0
  212. package/dist/types/components/HysTabs/tabsItems.d.ts +14 -0
  213. package/dist/types/components/HysTabs/tabsPersistence.d.ts +6 -0
  214. package/dist/types/components/HysTabs/tabsTypes.d.ts +236 -0
  215. package/dist/types/components/HysTabs/useHysRouteTabs.d.ts +22 -0
  216. package/dist/types/components/HysTabs/useTabsDragGhost.d.ts +22 -0
  217. package/dist/types/components/HysTabs/useTabsNav.d.ts +20 -0
  218. package/dist/types/components/HysTabs/useTabsOverlays.d.ts +54 -0
  219. package/dist/types/components/HysTabs/useTabsPanels.d.ts +14 -0
  220. package/dist/types/components/HysTabs/useTabsPointer.d.ts +30 -0
  221. package/dist/types/components/HysTabs/useTabsState.d.ts +32 -0
  222. package/dist/types/components/HysTagInput/HysTagInput.vue.d.ts +2 -2
  223. package/dist/types/components/HysToast/toastPresentation.d.ts +1 -1
  224. package/dist/types/components/HysVirtualTable/HysVirtualTable.vue.d.ts +2 -2
  225. package/dist/types/composables/dataGrid.d.ts +34 -0
  226. package/dist/types/composables/formLayout.d.ts +1 -2
  227. package/dist/types/composables/popupSurfaceStyle.d.ts +7 -0
  228. package/dist/types/composables/table.d.ts +10 -1
  229. package/dist/types/composables/toastQueue.d.ts +4 -4
  230. package/dist/types/composables/toastQueueModel.d.ts +2 -2
  231. package/dist/types/composables/useColorPicker.d.ts +1 -1
  232. package/dist/types/composables/useContainerWidth.d.ts +2 -0
  233. package/dist/types/composables/useContextMenu.d.ts +1 -1
  234. package/dist/types/composables/useFloating.d.ts +2 -2
  235. package/dist/types/composables/usePageVisibility.d.ts +1 -0
  236. package/dist/types/composables/usePopupSurface.d.ts +9 -3
  237. package/dist/types/composables/usePopupSurfaceInteractions.d.ts +4 -2
  238. package/dist/types/composables/useSplitPaneDrag.d.ts +2 -2
  239. package/dist/types/composables/useSvgInstanceId.d.ts +1 -0
  240. package/dist/types/composables/useTable.d.ts +2 -0
  241. package/dist/types/composables/useTabularRowNavigation.d.ts +18 -0
  242. package/dist/types/index.d.ts +30 -2
  243. package/dist/types/internal/MultiSplitPane.vue.d.ts +10 -1
  244. package/dist/types/internal/PopupSurfacePanel.vue.d.ts +3 -0
  245. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ import type { HysTabContent, HysTabItem, HysTabValue, HysTabsProps, TabsEmit } from "./tabsTypes";
2
+ interface Resource {
3
+ state: "loading" | "ready" | "error";
4
+ content?: HysTabContent;
5
+ error?: unknown;
6
+ }
7
+ export declare function useTabsPanels(props: () => HysTabsProps, items: () => readonly HysTabItem[], active: () => HysTabValue, emit: TabsEmit): {
8
+ loaded: import("vue").ShallowReactive<Map<HysTabValue, Resource>>;
9
+ versions: import("vue").Reactive<Map<HysTabValue, number>>;
10
+ render: (item: HysTabItem) => boolean;
11
+ preload: (value: HysTabValue) => Promise<boolean>;
12
+ reload: (value?: HysTabValue) => Promise<boolean>;
13
+ };
14
+ export {};
@@ -0,0 +1,30 @@
1
+ import type { HysTabItem, HysTabsProps, HysTabValue } from "./tabsTypes";
2
+ import type { useTabsNav } from "./useTabsNav";
3
+ export declare function useTabsPointer(props: () => HysTabsProps, nav: ReturnType<typeof useTabsNav>, itemByToken: (token: string) => HysTabItem | undefined, canMove: (item: HysTabItem) => boolean, move: (value: HysTabValue, target: HysTabValue, after: boolean) => Promise<boolean>, isVertical: () => boolean, longpress: (item: HysTabItem, event: PointerEvent) => void, swipe: (step: number) => void, animated: () => boolean): {
4
+ dragging: import("vue").Ref<HysTabValue | undefined, HysTabValue | undefined>;
5
+ drop: import("vue").Ref<{
6
+ value: HysTabValue;
7
+ after: boolean;
8
+ } | undefined, {
9
+ value: HysTabValue;
10
+ after: boolean;
11
+ } | undefined>;
12
+ ghost: import("vue").ShallowRef<{
13
+ label: string;
14
+ width: number;
15
+ height: number;
16
+ } | undefined, {
17
+ label: string;
18
+ width: number;
19
+ height: number;
20
+ } | undefined>;
21
+ ghostElement: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
22
+ down: (event: PointerEvent) => void;
23
+ motion: (event: PointerEvent) => void;
24
+ finish: (event?: PointerEvent, cancelled?: boolean) => void;
25
+ cancel: (event: PointerEvent) => void;
26
+ clickCapture: (event: MouseEvent) => void;
27
+ swipeDown: (event: PointerEvent) => void;
28
+ swipeUp: (event: PointerEvent) => void;
29
+ cancelSwipe: () => void;
30
+ };
@@ -0,0 +1,32 @@
1
+ import type { HysTabCloseScope, HysTabItem, HysTabSource, HysTabsProps, HysTabValue, TabsEmit } from "./tabsTypes";
2
+ type Options = () => HysTabsProps;
3
+ export interface ClosedTab {
4
+ item: HysTabItem;
5
+ index: number;
6
+ }
7
+ export declare function useTabsState(props: Options, declared: () => readonly HysTabItem[], declarative: () => boolean, emit: TabsEmit, confirmDirty: (items: HysTabItem[], signal: AbortSignal) => Promise<boolean>): {
8
+ all: import("vue").ComputedRef<HysTabItem[]>;
9
+ visible: import("vue").ComputedRef<HysTabItem[]>;
10
+ byKey: import("vue").ComputedRef<Map<HysTabValue, HysTabItem>>;
11
+ enabled: import("vue").ComputedRef<HysTabItem[]>;
12
+ active: import("vue").ComputedRef<HysTabValue>;
13
+ current: import("vue").Ref<HysTabValue | undefined, HysTabValue | undefined>;
14
+ pending: import("vue").Ref<boolean, boolean>;
15
+ closing: import("vue").Reactive<Set<HysTabValue>>;
16
+ recent: import("vue").ShallowRef<HysTabValue[], HysTabValue[]>;
17
+ closed: import("vue").ShallowRef<ClosedTab[], ClosedTab[]>;
18
+ select: (value: HysTabValue, source?: HysTabSource) => Promise<boolean>;
19
+ add: (item?: HysTabItem) => Promise<boolean>;
20
+ write: (items: HysTabItem[]) => void;
21
+ canClose: (item: HysTabItem | undefined) => boolean;
22
+ canMove: (item: HysTabItem | undefined) => boolean;
23
+ canEdit: () => boolean;
24
+ rename: (value: HysTabValue, name: string) => Promise<boolean>;
25
+ pin: (value: HysTabValue, pinned?: boolean) => Promise<boolean>;
26
+ favorite: (value: HysTabValue, favorite?: boolean) => Promise<boolean>;
27
+ move: (value: HysTabValue, target: HysTabValue, after?: boolean) => Promise<boolean>;
28
+ restore: () => Promise<boolean>;
29
+ closeMany: (scope: HysTabCloseScope | readonly HysTabValue[], anchor?: HysTabValue) => Promise<HysTabValue[]>;
30
+ close: (value?: HysTabValue) => Promise<boolean>;
31
+ };
32
+ export {};
@@ -25,8 +25,8 @@ declare const __VLS_base: import("vue").DefineComponent<HysTagInputProps, {
25
25
  invalid: (info: HysTagInputInvalid) => any;
26
26
  reject: (value: string) => any;
27
27
  remove: (value: string) => any;
28
- acceptedChange: (values: string[]) => any;
29
28
  reorder: (from: number, to: number, values: string[]) => any;
29
+ acceptedChange: (values: string[]) => any;
30
30
  }, string, import("vue").PublicProps, Readonly<HysTagInputProps> & Readonly<{
31
31
  onChange?: ((values: string[]) => any) | undefined;
32
32
  "onUpdate:modelValue"?: ((values: string[]) => any) | undefined;
@@ -39,8 +39,8 @@ declare const __VLS_base: import("vue").DefineComponent<HysTagInputProps, {
39
39
  onInvalid?: ((info: HysTagInputInvalid) => any) | undefined;
40
40
  onReject?: ((value: string) => any) | undefined;
41
41
  onRemove?: ((value: string) => any) | undefined;
42
- onAcceptedChange?: ((values: string[]) => any) | undefined;
43
42
  onReorder?: ((from: number, to: number, values: string[]) => any) | undefined;
43
+ onAcceptedChange?: ((values: string[]) => any) | undefined;
44
44
  }>, {
45
45
  modelValue: readonly string[];
46
46
  trim: boolean;
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties } from "vue";
2
2
  import type { HysToastLocale, HysToastPosition, HysToastPresentation } from "./toastTypes";
3
3
  export declare const toastLocale: HysToastLocale;
4
- export declare function normalizeToastPosition(position?: HysToastPosition): "center" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-center" | "bottom-center" | "custom";
4
+ export declare function normalizeToastPosition(position?: HysToastPosition): "center" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "custom" | "top-center" | "bottom-center";
5
5
  export declare const finite: (value: number | undefined, fallback: number) => number;
6
6
  export declare const toastDuration: (options: HysToastPresentation) => number;
7
7
  export declare function toastPlacement(options: HysToastPresentation): CSSProperties;
@@ -5,11 +5,11 @@ declare const __VLS_export: <T extends object = Record<string, unknown>>(__VLS_p
5
5
  onSelectionChange?: ((keys: HysVirtualTableKey[], rows: T[]) => any) | undefined;
6
6
  onRowClick?: ((row: T, index: number, event: MouseEvent) => any) | undefined;
7
7
  "onUpdate:selectedRowKeys"?: ((keys: HysVirtualTableKey[]) => any) | undefined;
8
- onSortChange?: ((sort: HysVirtualTableSort | null) => any) | undefined;
9
8
  "onUpdate:currentRowKey"?: ((key: HysVirtualTableKey | null) => any) | undefined;
10
9
  onCurrentChange?: ((row: T | null, key: HysVirtualTableKey | null) => any) | undefined;
11
10
  onRowDblclick?: ((row: T, index: number, event: MouseEvent) => any) | undefined;
12
11
  onCellClick?: ((context: HysVirtualTableCell<T>, event: MouseEvent) => any) | undefined;
12
+ onSortChange?: ((sort: HysVirtualTableSort | null) => any) | undefined;
13
13
  "onUpdate:sortState"?: ((sort: HysVirtualTableSort | null) => any) | undefined;
14
14
  onRangeChange?: ((range: HysVirtualTableRange) => any) | undefined;
15
15
  onEndReached?: ((info: {
@@ -60,7 +60,7 @@ declare const __VLS_export: <T extends object = Record<string, unknown>>(__VLS_p
60
60
  selectedRowKeys: HysVirtualTableKey[];
61
61
  }): any;
62
62
  };
63
- emit: ((evt: "scroll", state: HysVirtualTableScroll) => void) & ((evt: "selectionChange", keys: HysVirtualTableKey[], rows: T[]) => void) & ((evt: "rowClick", row: T, index: number, event: MouseEvent) => void) & ((evt: "update:selectedRowKeys", keys: HysVirtualTableKey[]) => void) & ((evt: "sortChange", sort: HysVirtualTableSort | null) => void) & ((evt: "update:currentRowKey", key: HysVirtualTableKey | null) => void) & ((evt: "currentChange", row: T | null, key: HysVirtualTableKey | null) => void) & ((evt: "rowDblclick", row: T, index: number, event: MouseEvent) => void) & ((evt: "cellClick", context: HysVirtualTableCell<T>, event: MouseEvent) => void) & ((evt: "update:sortState", sort: HysVirtualTableSort | null) => void) & ((evt: "rangeChange", range: HysVirtualTableRange) => void) & ((evt: "endReached", info: {
63
+ emit: ((evt: "scroll", state: HysVirtualTableScroll) => void) & ((evt: "selectionChange", keys: HysVirtualTableKey[], rows: T[]) => void) & ((evt: "rowClick", row: T, index: number, event: MouseEvent) => void) & ((evt: "update:selectedRowKeys", keys: HysVirtualTableKey[]) => void) & ((evt: "update:currentRowKey", key: HysVirtualTableKey | null) => void) & ((evt: "currentChange", row: T | null, key: HysVirtualTableKey | null) => void) & ((evt: "rowDblclick", row: T, index: number, event: MouseEvent) => void) & ((evt: "cellClick", context: HysVirtualTableCell<T>, event: MouseEvent) => void) & ((evt: "sortChange", sort: HysVirtualTableSort | null) => void) & ((evt: "update:sortState", sort: HysVirtualTableSort | null) => void) & ((evt: "rangeChange", range: HysVirtualTableRange) => void) & ((evt: "endReached", info: {
64
64
  distance: number;
65
65
  total: number;
66
66
  }) => void);
@@ -1,4 +1,6 @@
1
1
  import type { HysPopupMotionProps } from "../motion/popup";
2
+ import type { HysDataGridColumnLayout, HysDataGridColumnLayoutSnapshot } from "../components/HysDataGrid/gridColumnLayout";
3
+ import type { HysDataGridCellContext, HysDataGridClass, HysDataGridContextMenu, HysDataGridHeaderContext, HysDataGridHeaderGroup, HysDataGridPin, HysDataGridRowContext, HysDataGridStyle } from "../components/HysDataGrid/gridPresentation";
2
4
  export type HysDataGridKey = string | number;
3
5
  export type HysDataGridSort = {
4
6
  key: string;
@@ -26,7 +28,11 @@ export interface GridColumn<T extends object = Record<string, unknown>> {
26
28
  resizable?: boolean;
27
29
  reorderable?: boolean;
28
30
  pinned?: "left" | "right";
31
+ pinnable?: boolean;
29
32
  align?: "left" | "center" | "right";
33
+ headerAlign?: "left" | "center" | "right";
34
+ headerWrap?: boolean;
35
+ group?: HysDataGridHeaderGroup;
30
36
  summary?: "sum" | "avg" | "min" | "max" | "count";
31
37
  editable?: boolean;
32
38
  }
@@ -64,14 +70,35 @@ export interface HysDataGridProps<T extends object> extends HysPopupMotionProps
64
70
  maxHeight?: number | string;
65
71
  scrollToTopOnQuery?: boolean;
66
72
  groupable?: boolean;
73
+ groupBy?: string;
74
+ defaultGroupBy?: string;
75
+ groupSummary?: boolean;
67
76
  showSummary?: boolean;
77
+ summaryScope?: "filtered" | "page" | "selected";
68
78
  summaryMethod?: (column: GridColumn<T>, rows: readonly T[]) => string | number;
69
79
  treeMode?: boolean;
70
80
  parentKey?: string;
71
81
  editable?: boolean;
82
+ keyboardNavigation?: boolean;
83
+ caption?: string;
84
+ striped?: boolean;
85
+ highlightCurrentRow?: boolean;
86
+ currentRowKey?: HysDataGridKey | null;
87
+ defaultCurrentRowKey?: HysDataGridKey;
88
+ rowClassName?: HysDataGridClass<HysDataGridRowContext<T>>;
89
+ rowStyle?: HysDataGridStyle<HysDataGridRowContext<T>>;
90
+ cellClassName?: HysDataGridClass<HysDataGridCellContext<T>>;
91
+ cellStyle?: HysDataGridStyle<HysDataGridCellContext<T>>;
92
+ headerClassName?: HysDataGridClass<HysDataGridHeaderContext<T>>;
93
+ headerStyle?: HysDataGridStyle<HysDataGridHeaderContext<T>>;
94
+ contextMenu?: HysDataGridContextMenu<T>;
72
95
  }
73
96
  export interface HysDataGridInstance {
74
97
  resetColumns(): void;
98
+ getColumnLayout(): HysDataGridColumnLayoutSnapshot;
99
+ applyColumnLayout(layout: HysDataGridColumnLayout): void;
100
+ setGroupBy(key: string): void;
101
+ setGroupsExpanded(expanded: boolean): void;
75
102
  getQuery(): HysDataGridQuery;
76
103
  setQuery(query: Partial<HysDataGridQuery>): void;
77
104
  resetQuery(): void;
@@ -81,6 +108,13 @@ export interface HysDataGridInstance {
81
108
  toggleRowSelection(key: HysDataGridKey, checked?: boolean): void;
82
109
  scrollTo(options: ScrollToOptions): void;
83
110
  scrollToRow(key: HysDataGridKey): boolean;
111
+ focusRow(key: HysDataGridKey): boolean;
112
+ getCurrentRowKey(): HysDataGridKey | null;
113
+ setCurrentRow(key: HysDataGridKey | null): void;
114
+ setColumnVisibility(key: string, visible: boolean): boolean;
115
+ pinColumn(key: string, side: HysDataGridPin | null): boolean;
116
+ resizeColumn(key: string, width: number): boolean;
117
+ resetColumnWidth(key: string): boolean;
84
118
  }
85
119
  export type GridRow<T extends object> = {
86
120
  row: T;
@@ -1,4 +1,4 @@
1
- import { type Ref } from "vue";
1
+ export { useContainerWidth as useFormWidth } from "./useContainerWidth";
2
2
  export type HysFormBreakpoint = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
3
3
  export type HysFormGridValue = number | Partial<Record<HysFormBreakpoint, number>>;
4
4
  export interface HysFormColSize {
@@ -8,4 +8,3 @@ export interface HysFormColSize {
8
8
  export type HysFormCol = HysFormColSize & Partial<Record<HysFormBreakpoint, number | HysFormColSize>>;
9
9
  export declare function resolveFormGrid(value: HysFormGridValue | undefined, width: number, fallback?: number): number;
10
10
  export declare function resolveFormCol(value: HysFormCol | undefined, width: number): HysFormColSize | undefined;
11
- export declare function useFormWidth(element: Ref<HTMLElement | undefined>): import("vue").ComputedRef<number>;
@@ -0,0 +1,7 @@
1
+ import { type CSSProperties, type Ref } from "vue";
2
+ import type { HysPopupSurfaceProps } from "./popupSurface";
3
+ export declare function popupMaximumWidth(props: HysPopupSurfaceProps, kind: "tooltip" | "popover"): string;
4
+ export declare function usePopupSurfaceStyle(props: HysPopupSurfaceProps, kind: "tooltip" | "popover", floatingStyle: Readonly<Ref<CSSProperties>>): {
5
+ style: import("vue").ComputedRef<CSSProperties>;
6
+ contentStyle: import("vue").ComputedRef<CSSProperties>;
7
+ };
@@ -181,11 +181,12 @@ export interface HysTablePagination {
181
181
  hideOnSinglePage?: boolean;
182
182
  }
183
183
  export interface HysTableQuery<T extends object = Record<string, unknown>> {
184
- action: "sort" | "filter" | "page" | "pageSize";
184
+ action: "sort" | "filter" | "page" | "pageSize" | "search";
185
185
  page: number;
186
186
  pageSize: number;
187
187
  sorts: HysTableSort[];
188
188
  filters: HysTableFilters;
189
+ search?: string;
189
190
  currentData: T[];
190
191
  }
191
192
  export interface HysTableLoadContext {
@@ -290,6 +291,7 @@ export interface HysTableProps<T extends object> {
290
291
  selectionColumn?: HysTableSelectionColumn;
291
292
  getSelectionProps?: (row: T, index: number) => HysTableSelectionProps;
292
293
  highlightCurrentRow?: boolean;
294
+ keyboardNavigation?: boolean;
293
295
  currentRowKey?: HysTableKey | null;
294
296
  defaultCurrentRowKey?: HysTableKey;
295
297
  showIndex?: boolean;
@@ -303,6 +305,10 @@ export interface HysTableProps<T extends object> {
303
305
  showSorterTooltip?: boolean | HysTableOverflowTooltipOptions;
304
306
  filters?: HysTableFilters;
305
307
  defaultFilters?: HysTableFilters;
308
+ search?: string;
309
+ defaultSearch?: string;
310
+ searchColumns?: readonly string[];
311
+ searchMethod?: (search: string, row: T) => boolean;
306
312
  filterColumnKey?: string | null;
307
313
  filterPlacement?: Placement;
308
314
  appendFilterTo?: string | HTMLElement | false;
@@ -376,6 +382,9 @@ export interface HysTableInstance<T extends object = Record<string, unknown>> {
376
382
  setSort: (sort: HysTableSort | readonly HysTableSort[] | null) => void;
377
383
  clearFilter: (keys?: readonly string[]) => void;
378
384
  setFilter: (key: string, values: readonly HysTableFilterValue[]) => void;
385
+ setSearch: (search: string) => void;
386
+ clearSearch: () => void;
387
+ focusRow: (row: T | HysTableKey) => boolean;
379
388
  showFilter: (key: string) => Promise<boolean>;
380
389
  hideFilter: () => Promise<boolean>;
381
390
  setPage: (page: number) => void;
@@ -41,6 +41,8 @@ export declare function createToastQueue(config: HysToastConfig, host: {
41
41
  actions?: readonly import("./useHysToast").HysToastAction[] | undefined;
42
42
  closeOnEscape?: boolean | undefined;
43
43
  live?: "polite" | "assertive" | "off" | undefined;
44
+ coordinates?: import("./useHysToast").HysToastCoordinates | undefined;
45
+ glass?: boolean | undefined;
44
46
  swipe?: boolean | undefined;
45
47
  persistent?: boolean | undefined;
46
48
  closeOnClick?: boolean | undefined;
@@ -50,8 +52,6 @@ export declare function createToastQueue(config: HysToastConfig, host: {
50
52
  interactive?: boolean | undefined;
51
53
  offsetX?: number | undefined;
52
54
  offsetY?: number | undefined;
53
- coordinates?: import("./useHysToast").HysToastCoordinates | undefined;
54
- glass?: boolean | undefined;
55
55
  toastStyle?: import("vue").CSSProperties | undefined;
56
56
  progressStyle?: import("vue").CSSProperties | undefined;
57
57
  showProgress?: boolean | undefined;
@@ -93,6 +93,8 @@ export declare function createToastQueue(config: HysToastConfig, host: {
93
93
  actions?: readonly import("./useHysToast").HysToastAction[] | undefined;
94
94
  closeOnEscape?: boolean | undefined;
95
95
  live?: "polite" | "assertive" | "off" | undefined;
96
+ coordinates?: import("./useHysToast").HysToastCoordinates | undefined;
97
+ glass?: boolean | undefined;
96
98
  swipe?: boolean | undefined;
97
99
  persistent?: boolean | undefined;
98
100
  closeOnClick?: boolean | undefined;
@@ -102,8 +104,6 @@ export declare function createToastQueue(config: HysToastConfig, host: {
102
104
  interactive?: boolean | undefined;
103
105
  offsetX?: number | undefined;
104
106
  offsetY?: number | undefined;
105
- coordinates?: import("./useHysToast").HysToastCoordinates | undefined;
106
- glass?: boolean | undefined;
107
107
  toastStyle?: import("vue").CSSProperties | undefined;
108
108
  progressStyle?: import("vue").CSSProperties | undefined;
109
109
  showProgress?: boolean | undefined;
@@ -93,6 +93,8 @@ export declare function defaults(config: HysToastConfig): {
93
93
  actions?: readonly import("./useHysToast").HysToastAction[] | undefined;
94
94
  closeOnEscape?: boolean | undefined;
95
95
  live?: "polite" | "assertive" | "off" | undefined;
96
+ coordinates?: import("./useHysToast").HysToastCoordinates | undefined;
97
+ glass?: boolean | undefined;
96
98
  swipe?: boolean | undefined;
97
99
  persistent?: boolean | undefined;
98
100
  closeOnClick?: boolean | undefined;
@@ -102,8 +104,6 @@ export declare function defaults(config: HysToastConfig): {
102
104
  interactive?: boolean | undefined;
103
105
  offsetX?: number | undefined;
104
106
  offsetY?: number | undefined;
105
- coordinates?: import("./useHysToast").HysToastCoordinates | undefined;
106
- glass?: boolean | undefined;
107
107
  toastStyle?: import("vue").CSSProperties | undefined;
108
108
  progressStyle?: import("vue").CSSProperties | undefined;
109
109
  showProgress?: boolean | undefined;
@@ -44,7 +44,7 @@ export declare function useColorPicker(props: HysColorPickerProps, emit: (name:
44
44
  placement: import("vue").Ref<import("./useFloating").Placement, import("./useFloating").Placement>;
45
45
  update: () => void;
46
46
  show: (force?: boolean) => Promise<void>;
47
- close: (restore?: boolean, force?: boolean) => void;
47
+ close: (restore?: boolean, force?: boolean, source?: "outside" | "escape" | "anchor") => void;
48
48
  toggle: () => void | Promise<void>;
49
49
  restoringFocus: import("vue").Ref<boolean, boolean>;
50
50
  schedule: () => void;
@@ -0,0 +1,2 @@
1
+ import { type Ref } from "vue";
2
+ export declare function useContainerWidth(element: Ref<HTMLElement | undefined>): import("vue").ComputedRef<number>;
@@ -44,7 +44,7 @@ export declare function useContextMenu<N extends object>(props: HysContextMenuPr
44
44
  placement: Ref<import("./useFloating").Placement, import("./useFloating").Placement>;
45
45
  update: () => void;
46
46
  show: (force?: boolean) => Promise<void>;
47
- close: (restore?: boolean, force?: boolean) => void;
47
+ close: (restore?: boolean, force?: boolean, source?: "outside" | "escape" | "anchor") => void;
48
48
  toggle: () => void | Promise<void>;
49
49
  restoringFocus: Ref<boolean, boolean>;
50
50
  schedule: () => void;
@@ -21,7 +21,7 @@ export declare function useFloating(anchor: Readonly<Ref<FloatingAnchor | undefi
21
21
  matchWidth?: boolean | "min" | (() => boolean | "min");
22
22
  width?: () => number | string | undefined;
23
23
  maxWidth?: () => number | string | undefined;
24
- requestOpen?: (open: boolean, restoreFocus?: boolean) => boolean | void;
24
+ requestOpen?: (open: boolean, restoreFocus?: boolean, source?: "outside" | "escape" | "anchor") => boolean | void;
25
25
  closeOnTab?: boolean;
26
26
  closeOnEscape?: boolean;
27
27
  closeOnOutside?: boolean;
@@ -37,7 +37,7 @@ export declare function useFloating(anchor: Readonly<Ref<FloatingAnchor | undefi
37
37
  placement: Ref<Placement, Placement>;
38
38
  update: () => void;
39
39
  show: (force?: boolean) => Promise<void>;
40
- close: (restore?: boolean, force?: boolean) => void;
40
+ close: (restore?: boolean, force?: boolean, source?: "outside" | "escape" | "anchor") => void;
41
41
  toggle: () => void | Promise<void>;
42
42
  restoringFocus: Ref<boolean, boolean>;
43
43
  schedule: () => void;
@@ -0,0 +1 @@
1
+ export declare function usePageVisibility(): Readonly<import("vue").Ref<boolean, boolean>>;
@@ -1,10 +1,16 @@
1
1
  import { type CSSProperties, type HTMLAttributes } from "vue";
2
2
  import type { HysPopupSurfaceContext, HysPopupSurfaceProps } from "./popupSurface";
3
- export declare function usePopupSurface(props: HysPopupSurfaceProps, kind: "tooltip" | "popover", emit: (name: string, ...args: any[]) => void): {
3
+ import { type PopupCloseSource } from "./usePopupSurfaceInteractions";
4
+ export declare function usePopupSurface(props: HysPopupSurfaceProps, kind: "tooltip" | "popover", emit: (name: string, ...args: any[]) => void, hooks?: {
5
+ allowClose?: (source: PopupCloseSource) => boolean;
6
+ onDismiss?: (source: PopupCloseSource) => void;
7
+ allowTabExit?: boolean;
8
+ shouldRestoreFocus?: () => boolean;
9
+ }): {
4
10
  afterEnter: () => Promise<void>;
5
11
  afterLeave: () => Promise<void>;
6
12
  inactive: () => void;
7
- request: (value: boolean, restore?: boolean) => Promise<boolean>;
13
+ request: (value: boolean, restore?: boolean, source?: PopupCloseSource, notifyDismiss?: boolean) => Promise<boolean>;
8
14
  show: () => Promise<boolean>;
9
15
  hide: () => Promise<boolean>;
10
16
  toggle: () => Promise<boolean>;
@@ -32,7 +38,7 @@ export declare function usePopupSurface(props: HysPopupSurfaceProps, kind: "tool
32
38
  placement: import("vue").Ref<import("./useFloating").Placement, import("./useFloating").Placement>;
33
39
  active: import("vue").ComputedRef<boolean>;
34
40
  mounted: import("vue").ComputedRef<boolean>;
35
- teleportTo: import("vue").ComputedRef<Element>;
41
+ teleportTo: import("vue").ComputedRef<string | Element>;
36
42
  arrowStyle: import("vue").Ref<{
37
43
  [x: `--${string}`]: string | number | undefined;
38
44
  accentColor?: import("csstype").Property.AccentColor | undefined;
@@ -2,14 +2,16 @@ import { type Ref } from "vue";
2
2
  import type { HysPopupSurfaceProps } from "./popupSurface";
3
3
  import type { FloatingAnchor, useFloating } from "./useFloating";
4
4
  export declare const popupFocusControls = "button,a[href],input,select,textarea,[tabindex]:not([tabindex=\"-1\"]),[contenteditable=\"true\"]";
5
- export declare function usePopupSurfaceInteractions(props: HysPopupSurfaceProps, kind: "tooltip" | "popover", { available, anchor, actualReference, panel, floating, restoreReferenceFocus, request, }: {
5
+ export type PopupCloseSource = "trigger" | "outside" | "escape" | "tab" | "anchor" | "auto" | "programmatic";
6
+ export declare function usePopupSurfaceInteractions(props: HysPopupSurfaceProps, kind: "tooltip" | "popover", { available, anchor, actualReference, panel, floating, restoreReferenceFocus, request, allowTabExit, }: {
6
7
  available: Readonly<Ref<boolean>>;
7
8
  anchor: Readonly<Ref<FloatingAnchor | undefined>>;
8
9
  actualReference: Readonly<Ref<HTMLElement | undefined>>;
9
10
  panel: Readonly<Ref<HTMLElement | undefined>>;
10
11
  floating: Pick<ReturnType<typeof useFloating>, "open" | "isTop" | "restoringFocus">;
11
12
  restoreReferenceFocus: () => void;
12
- request: (open: boolean) => Promise<boolean>;
13
+ request: (open: boolean, restore?: boolean, source?: PopupCloseSource) => Promise<boolean>;
14
+ allowTabExit?: boolean;
13
15
  }): {
14
16
  clearDelays: () => void;
15
17
  clearAuto: () => void;
@@ -5,10 +5,10 @@ interface DragSettings {
5
5
  initial: number;
6
6
  constrain: (value: number) => number;
7
7
  }
8
- export declare function useSplitPaneDrag(update: (value: number) => void, ended: (value: number, cancelled: boolean, notify: boolean) => void): {
8
+ export declare function useSplitPaneDrag(update: (value: number) => void, ended: (value: number, cancelled: boolean, notify: boolean, byInput: boolean) => void): {
9
9
  start: (event: PointerEvent, settings: DragSettings) => boolean;
10
10
  cancel: (event: PointerEvent) => void;
11
- finish: (cancelled: boolean, notify?: boolean) => void;
11
+ finish: (cancelled: boolean, notify?: boolean, byInput?: boolean) => void;
12
12
  active: () => boolean;
13
13
  };
14
14
  export {};
@@ -0,0 +1 @@
1
+ export declare function useSvgInstanceId(suffix: string): import("vue").Ref<string, string>;
@@ -19,6 +19,7 @@ export declare function useTable<T extends object>(props: HysTableProps<T>, colu
19
19
  selectionPage: import("vue").ComputedRef<TableNode<T>[]>;
20
20
  sorts: import("vue").ComputedRef<HysTableSort[]>;
21
21
  filters: import("vue").ComputedRef<HysTableFilters>;
22
+ search: import("vue").ComputedRef<string>;
22
23
  processed: import("vue").ComputedRef<{
23
24
  roots: TableNode<T>[];
24
25
  children: Map<string, TableNode<T>[]>;
@@ -47,6 +48,7 @@ export declare function useTable<T extends object>(props: HysTableProps<T>, colu
47
48
  setSort: (value: HysTableSort | readonly HysTableSort[] | null) => void;
48
49
  setFilter: (key: string, values: readonly HysTableFilterValue[]) => void;
49
50
  clearFilter: (keys?: readonly string[]) => void;
51
+ setSearch: (value: string) => void;
50
52
  requestPage: (n: number, action?: "page" | "pageSize") => void;
51
53
  changeSize: (n: number) => void;
52
54
  toggleRowSelection: (value: T | HysTableKey, checked?: boolean, options?: boolean | HysTableRowSelectionOptions) => Promise<boolean>;
@@ -0,0 +1,18 @@
1
+ export declare function useTabularRowNavigation(options: {
2
+ enabled: () => boolean;
3
+ table: () => HTMLElement | null | undefined;
4
+ tokens: () => readonly string[];
5
+ attribute: string;
6
+ toggle: (token: string) => boolean;
7
+ }): {
8
+ focusRow: (token: string) => boolean;
9
+ rowNavigationAttrs: (token: string) => {
10
+ tabindex: number;
11
+ onFocus: () => void;
12
+ onKeydown: (event: KeyboardEvent) => void;
13
+ } | {
14
+ tabindex?: undefined;
15
+ onFocus?: undefined;
16
+ onKeydown?: undefined;
17
+ };
18
+ };
@@ -42,6 +42,7 @@ export { default as HysCronEditor } from './components/HysCronEditor/HysCronEdit
42
42
  export { default as HysDataGrid } from './components/HysDataGrid/HysDataGrid.vue';
43
43
  export { default as HysDatePicker } from './components/HysDatePicker/HysDatePicker.vue';
44
44
  export { default as HysDateRangePicker } from './components/HysDateRangePicker/HysDateRangePicker.vue';
45
+ export { default as HysDescriptions } from './components/HysDescriptions/HysDescriptions.vue';
45
46
  export { default as HysDiffViewer } from './components/HysDiffViewer/HysDiffViewer.vue';
46
47
  export { default as HysDivider } from './components/HysDivider/HysDivider.vue';
47
48
  export { default as HysDrawer } from './components/HysDrawer/HysDrawer.vue';
@@ -52,6 +53,7 @@ export { default as HysForm } from './components/HysForm/HysForm.vue';
52
53
  export { default as HysFormItem } from './components/HysFormItem/HysFormItem.vue';
53
54
  export { default as HysGantt } from './components/HysGantt/HysGantt.vue';
54
55
  export type { GanttItem } from './components/HysGantt/HysGantt.vue';
56
+ export { default as HysIcon } from './components/HysIcon/HysIcon.vue';
55
57
  export { default as HysInput } from './components/HysInput/HysInput.vue';
56
58
  export { default as HysJsonEditor } from './components/HysJsonEditor/HysJsonEditor.vue';
57
59
  export { default as HysKanban } from './components/HysKanban/HysKanban.vue';
@@ -65,6 +67,7 @@ export { default as HysOrgTree } from './components/HysOrgTree/HysOrgTree.vue';
65
67
  export type { OrgNode } from './components/HysOrgTree/HysOrgTree.vue';
66
68
  export { default as HysPagination } from './components/HysPagination/HysPagination.vue';
67
69
  export { default as HysPermissionMatrix } from './components/HysPermissionMatrix/HysPermissionMatrix.vue';
70
+ export { default as HysPopconfirm } from './components/HysPopconfirm/HysPopconfirm.vue';
68
71
  export { default as HysPopover } from './components/HysPopover/HysPopover.vue';
69
72
  export { default as HysProgress } from './components/HysProgress/HysProgress.vue';
70
73
  export { default as HysRadio } from './components/HysRadio/HysRadio.vue';
@@ -72,6 +75,7 @@ export { default as HysRadioGroup } from './components/HysRadioGroup/HysRadioGro
72
75
  export type { HysRadioOption } from './components/HysRadioGroup/HysRadioGroup.vue';
73
76
  export { default as HysRating } from './components/HysRating/HysRating.vue';
74
77
  export { default as HysResizablePanel } from './components/HysResizablePanel/HysResizablePanel.vue';
78
+ export { default as HysResult } from './components/HysResult/HysResult.vue';
75
79
  export { default as HysRichTextEditor } from './components/HysRichTextEditor/HysRichTextEditor.vue';
76
80
  export { default as HysSearch } from './components/HysSearch/HysSearch.vue';
77
81
  export type { HysSearchProps } from './components/HysSearch/HysSearch.vue';
@@ -83,8 +87,11 @@ export { default as HysSkeleton } from './components/HysSkeleton/HysSkeleton.vue
83
87
  export type { HysSkeletonVariant } from './components/HysSkeleton/HysSkeleton.vue';
84
88
  export { default as HysSlider } from './components/HysSlider/HysSlider.vue';
85
89
  export { default as HysSortableList } from './components/HysSortableList/HysSortableList.vue';
90
+ export { default as HysSpace } from './components/HysSpace/HysSpace.vue';
91
+ export { default as HysSpin } from './components/HysSpin/HysSpin.vue';
86
92
  export { default as HysSplitPane } from './components/HysSplitPane/HysSplitPane.vue';
87
93
  export type { HysSplitPaneSide } from './components/HysSplitPane/HysSplitPane.vue';
94
+ export type { HysSplitPaneLayout } from './components/HysSplitPane/HysSplitPane.vue';
88
95
  export type { HysSplitPaneLength } from './components/HysSplitPane/HysSplitPane.vue';
89
96
  export type { HysSplitPanePanelOptions } from './components/HysSplitPane/HysSplitPane.vue';
90
97
  export type { HysSplitPanePanel } from './components/HysSplitPane/HysSplitPane.vue';
@@ -101,10 +108,9 @@ export { default as HysSteps } from './components/HysSteps/HysSteps.vue';
101
108
  export type { HysStepStatus } from './components/HysSteps/HysSteps.vue';
102
109
  export type { HysStepItem } from './components/HysSteps/HysSteps.vue';
103
110
  export { default as HysSwitch } from './components/HysSwitch/HysSwitch.vue';
111
+ export { default as HysTabPane } from './components/HysTabPane/HysTabPane.vue';
104
112
  export { default as HysTable } from './components/HysTable/HysTable.vue';
105
113
  export { default as HysTabs } from './components/HysTabs/HysTabs.vue';
106
- export type { HysTabValue } from './components/HysTabs/HysTabs.vue';
107
- export type { HysTabItem } from './components/HysTabs/HysTabs.vue';
108
114
  export { default as HysTagInput } from './components/HysTagInput/HysTagInput.vue';
109
115
  export { default as HysTextarea } from './components/HysTextarea/HysTextarea.vue';
110
116
  export { default as HysTimeline } from './components/HysTimeline/HysTimeline.vue';
@@ -158,6 +164,14 @@ export type { HysModalResult, HysModalOptions, HysModalHandle, HysModalConfig, H
158
164
  export type { HysMenuKey, HysContextMenuTrigger, HysContextMenuItem, HysMenuFieldNames, HysMenuSelectInfo, HysMenuShowOptions, HysContextMenuProps, HysContextMenuInstance, HysMenuItemContext, HysContextMenuSlots } from './composables/menu';
159
165
  export type { HysDrawerProps, HysDrawerBeforeClose, HysDrawerPlacement, HysDrawerSizeName, HysDrawerCloseReason, HysDrawerActionContext, HysDrawerInitialFocus, HysDrawerSectionSize, HysDrawerResizeOptions, HysDrawerResizeInfo, HysDrawerPushOptions, HysDrawerSlotContext, HysDrawerSlots, HysDrawerInstance } from './composables/drawer';
160
166
  export type { HysPopupPlacement, HysPopupTrigger, HysPopupVirtualReference, HysPopupReference, HysPopupSurfaceProps, HysTooltipProps, HysPopoverProps, HysPopupSurfaceContext, HysTooltipSlots, HysPopoverSlots, HysPopupSurfaceInstance, HysTooltipInstance, HysPopoverInstance } from './composables/popupSurface';
167
+ export type { HysPopconfirmProps, HysPopconfirmSlots, HysPopconfirmContext, HysPopconfirmInstance, HysPopconfirmTone, HysPopconfirmAction, HysPopconfirmActionContext, HysPopconfirmDismissReason, HysPopconfirmGuard, HysPopconfirmHandler } from './components/HysPopconfirm/popconfirmTypes';
168
+ export type { HysDescriptionItem, HysDescriptionValue, HysDescriptionAlign, HysDescriptionContext, HysDescriptionsColumns, HysDescriptionsProps, HysDescriptionsSlots } from './components/HysDescriptions/descriptionsTypes';
169
+ export type { HysSpaceGap, HysSpaceProps, HysSpaceSlots } from './components/HysSpace/spaceTypes';
170
+ export type { HysResultStatus, HysResultCode, HysResultContext, HysResultProps, HysResultSlots, HysResultInstance } from './components/HysResult/resultTypes';
171
+ export type { HysTabItem, HysTabValue, HysTabPlacement, HysTabType, HysTabStatus, HysTabSource, HysTabAnimation, HysTabCloseScope, HysTabContent, HysTabLoadContext, HysTabGuardContext, HysTabChangeContext, HysTabOrderContext, HysTabSnapshot, HysTabScope, HysTabPanelScope, HysTabsMenuScope, HysTabsContextScope, HysTabMenuAction, HysTabPaneProps, HysTabPaneSlots, HysTabsProps, HysTabsSlots, HysTabsEmits, HysTabsInstance, HysTabsConfig } from './components/HysTabs/tabsTypes';
172
+ export { configureHysTabs, provideHysTabs } from './components/HysTabs/tabsConfig';
173
+ export { useHysRouteTabs } from './components/HysTabs/useHysRouteTabs';
174
+ export type { HysRouteTabItem, HysRouteTabsOptions } from './components/HysTabs/useHysRouteTabs';
161
175
  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';
162
176
  export type { HysProgressType, HysProgressStatus, HysProgressSize, HysProgressLinecap, HysProgressGapPosition, HysProgressGradientDirection, HysProgressGradientStop, HysProgressGradient, HysProgressColorStop, HysProgressColor, HysProgressSuccess, HysProgressLabelContext, HysProgressProps, HysProgressSlots, HysProgressInstance } from './composables/progress';
163
177
  export { useHysAnimatedNumber } from './composables/useHysAnimatedNumber';
@@ -177,4 +191,18 @@ export type { HysTagInputReason, HysTagInputAddContext, HysTagInputInvalid, HysT
177
191
  export type { HysColorFormat, HysColor, HysColorPickerProps, HysColorPickerContext, HysColorPickerSlots, HysColorPickerInstance } from './composables/color';
178
192
  export type { HysVirtualTableKey, HysVirtualTableAlign, HysVirtualTableSort, HysVirtualTableCell, HysVirtualTableColumn, HysVirtualTableRange, HysVirtualTableScroll, HysVirtualTableProps, HysVirtualTableInstance } from './composables/virtualTable';
179
193
  export type { GridColumn, HysDataGridKey, HysDataGridSort, HysDataGridQuery, HysDataGridProps, HysDataGridResult, HysDataGridLoader, HysDataGridInstance } from './composables/dataGrid';
194
+ export type { HysDataGridColumnLayout, HysDataGridColumnLayoutSnapshot } from './components/HysDataGrid/gridColumnLayout';
195
+ export type { HysDataGridPin, HysDataGridHeaderGroup, HysDataGridHeaderContext, HysDataGridRowContext, HysDataGridCellContext, HysDataGridContext, HysDataGridContextMenu, HysDataGridClass, HysDataGridStyle } from './components/HysDataGrid/gridPresentation';
196
+ export { hysSpinAnimations } from './components/HysSpin/spinCatalog';
197
+ export type { HysSpinAnimation } from './components/HysSpin/spinCatalog';
198
+ export type { HysSpinProps, HysSpinStatus, HysSpinMode, HysSpinSize, HysSpinPlacement, HysSpinSnapshot, HysSpinUpdate, HysSpinTaskContext, HysSpinWork, HysSpinRunOptions, HysSpinPreset, HysSpinContext, HysSpinConfig, HysSpinTask, HysSpinHandle, HysSpinService } from './components/HysSpin/spinTypes';
199
+ export { configureHysSpin, provideHysSpin } from './components/HysSpin/spinConfig';
200
+ export { useHysSpinTask } from './components/HysSpin/useHysSpinTask';
201
+ export { createHysSpin, useHysSpin, hysSpin } from './components/HysSpin/spinService';
202
+ export { createHysIconRegistry, hysIconRegistry } from './components/HysIcon/iconRegistry';
203
+ export { hysBuiltinIcons } from './components/HysIcon/iconBuiltins';
204
+ export { configureHysIcon, provideHysIcons } from './components/HysIcon/iconConfig';
205
+ export { importHysIconSvg, serializeHysIconSvg } from './components/HysIcon/iconSafety';
206
+ export { hysIconAnimations } from './components/HysIcon/iconStyle';
207
+ export type { HysIconProps, HysIconStatus, HysIconVariant, HysIconAnimation, HysIconSource, HysIconSvg, HysIconSvgNode, HysIconLoader, HysIconAsset, HysIconEntry, HysIconLibrary, HysIconConflict, HysIconRecord, HysIconRegistry, HysIconSearch, HysIconReference, HysIconLayer, HysIconPickerLocale, HysIconConfig, HysIconContext } from './components/HysIcon/iconTypes';
180
208
  export type { HysPopupTransition, HysPopupMotionProps } from './motion/popup';
@@ -1,8 +1,12 @@
1
- import type { HysSplitPaneHandleContext, HysSplitPaneLength, HysSplitPanePanel, HysSplitPanePanelContext, HysSplitPanePanelResize, HysSplitPanePanelResizeEnd, HysSplitPaneSizes } from "../components/HysSplitPane/HysSplitPane.vue";
1
+ import type { HysSplitPaneHandleContext, HysSplitPaneLayout, HysSplitPaneLength, HysSplitPanePanel, HysSplitPanePanelContext, HysSplitPanePanelResize, HysSplitPanePanelResizeEnd, HysSplitPaneSizes } from "../components/HysSplitPane/HysSplitPane.vue";
2
2
  type __VLS_Props = {
3
3
  panels: readonly HysSplitPanePanel[];
4
4
  sizes?: HysSplitPaneSizes;
5
5
  vertical: boolean;
6
+ responsiveBreakpoint?: number;
7
+ resizeMode: "adjacent" | "cascade";
8
+ snapThreshold: number;
9
+ cancelBehavior: "keep" | "restore";
6
10
  disabled?: boolean;
7
11
  lazy?: boolean;
8
12
  step: number;
@@ -21,14 +25,17 @@ type __VLS_Slots = {
21
25
  declare function panelSizes(values?: number[]): {
22
26
  [k: string]: number;
23
27
  };
28
+ declare function setPaneCollapsed(key: string, collapse: boolean, separator?: number): Promise<boolean>;
24
29
  declare function togglePane(key: string, separator?: number): Promise<boolean>;
25
30
  declare function resetSizes(): Promise<boolean>;
26
31
  declare function resizePane(key: string, length: HysSplitPaneLength, separator?: number): Promise<boolean>;
27
32
  declare function getPaneElement(key: string): HTMLElement | undefined;
28
33
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
29
34
  togglePane: typeof togglePane;
35
+ setPaneCollapsed: typeof setPaneCollapsed;
30
36
  getPanelSizes: typeof panelSizes;
31
37
  getPaneElement: typeof getPaneElement;
38
+ getLayout: () => HysSplitPaneLayout;
32
39
  resizePane: typeof resizePane;
33
40
  resetSizes: typeof resetSizes;
34
41
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -37,12 +44,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
37
44
  panelResize: (details: HysSplitPanePanelResize) => any;
38
45
  panelResizeEnd: (details: HysSplitPanePanelResizeEnd) => any;
39
46
  panelCollapse: (id: string, collapsed: boolean) => any;
47
+ layoutChange: (layout: HysSplitPaneLayout) => any;
40
48
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
41
49
  "onUpdate:sizes"?: ((sizes: Readonly<Record<string, HysSplitPaneLength | undefined>>) => any) | undefined;
42
50
  onPanelResizeStart?: ((details: HysSplitPanePanelResize) => any) | undefined;
43
51
  onPanelResize?: ((details: HysSplitPanePanelResize) => any) | undefined;
44
52
  onPanelResizeEnd?: ((details: HysSplitPanePanelResizeEnd) => any) | undefined;
45
53
  onPanelCollapse?: ((id: string, collapsed: boolean) => any) | undefined;
54
+ onLayoutChange?: ((layout: HysSplitPaneLayout) => any) | undefined;
46
55
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
56
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
48
57
  declare const _default: typeof __VLS_export;