hys-ui 0.5.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 (299) hide show
  1. package/CHANGELOG.md +16 -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/HysDrawer/HysDrawer.vue.js +1 -1
  11. package/dist/components/HysDrawer/HysDrawer2.vue.js +2 -2
  12. package/dist/components/HysForm/HysForm2.vue.js +9 -8
  13. package/dist/components/HysIcon/HysIcon.vue.js +373 -0
  14. package/dist/components/HysIcon/HysIcon2.vue.js +5 -0
  15. package/dist/components/HysIcon/IconGraphic/IconGraphic.vue.js +147 -0
  16. package/dist/components/HysIcon/IconGraphic/IconGraphic2.vue.js +4 -0
  17. package/dist/components/HysIcon/IconPickerPanel/IconPickerPanel.vue.js +7 -0
  18. package/dist/components/HysIcon/IconPickerPanel/IconPickerPanel2.vue.js +440 -0
  19. package/dist/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic.vue.js +29 -0
  20. package/dist/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic2.vue.js +4 -0
  21. package/dist/components/HysIcon/IconTooltip/IconTooltip.vue.js +19 -0
  22. package/dist/components/HysIcon/IconTooltip/IconTooltip2.vue.js +4 -0
  23. package/dist/components/HysIcon/builtins/access.js +180 -0
  24. package/dist/components/HysIcon/builtins/actions.js +327 -0
  25. package/dist/components/HysIcon/builtins/business.js +364 -0
  26. package/dist/components/HysIcon/builtins/catalog/access-1.json.js +51 -0
  27. package/dist/components/HysIcon/builtins/catalog/access-2.json.js +35 -0
  28. package/dist/components/HysIcon/builtins/catalog/accessibility.json.js +26 -0
  29. package/dist/components/HysIcon/builtins/catalog/arrows-1.json.js +45 -0
  30. package/dist/components/HysIcon/builtins/catalog/arrows-2.json.js +46 -0
  31. package/dist/components/HysIcon/builtins/catalog/arrows-3.json.js +42 -0
  32. package/dist/components/HysIcon/builtins/catalog/charts-1.json.js +50 -0
  33. package/dist/components/HysIcon/builtins/catalog/charts-2.json.js +13 -0
  34. package/dist/components/HysIcon/builtins/catalog/commerce.json.js +43 -0
  35. package/dist/components/HysIcon/builtins/catalog/communication-1.json.js +49 -0
  36. package/dist/components/HysIcon/builtins/catalog/communication-2.json.js +37 -0
  37. package/dist/components/HysIcon/builtins/catalog/design-1.json.js +61 -0
  38. package/dist/components/HysIcon/builtins/catalog/design-2.json.js +27 -0
  39. package/dist/components/HysIcon/builtins/catalog/development-1.json.js +58 -0
  40. package/dist/components/HysIcon/builtins/catalog/development-2.json.js +60 -0
  41. package/dist/components/HysIcon/builtins/catalog/development-3.json.js +25 -0
  42. package/dist/components/HysIcon/builtins/catalog/devices-1.json.js +52 -0
  43. package/dist/components/HysIcon/builtins/catalog/devices-2.json.js +55 -0
  44. package/dist/components/HysIcon/builtins/catalog/devices-3.json.js +23 -0
  45. package/dist/components/HysIcon/builtins/catalog/education.json.js +34 -0
  46. package/dist/components/HysIcon/builtins/catalog/emoji.json.js +24 -0
  47. package/dist/components/HysIcon/builtins/catalog/files-1.json.js +45 -0
  48. package/dist/components/HysIcon/builtins/catalog/files-2.json.js +47 -0
  49. package/dist/components/HysIcon/builtins/catalog/files-3.json.js +8 -0
  50. package/dist/components/HysIcon/builtins/catalog/food-1.json.js +67 -0
  51. package/dist/components/HysIcon/builtins/catalog/food-2.json.js +40 -0
  52. package/dist/components/HysIcon/builtins/catalog/home.json.js +36 -0
  53. package/dist/components/HysIcon/builtins/catalog/layout-1.json.js +46 -0
  54. package/dist/components/HysIcon/builtins/catalog/layout-2.json.js +45 -0
  55. package/dist/components/HysIcon/builtins/catalog/manifest.json.js +4 -0
  56. package/dist/components/HysIcon/builtins/catalog/maps-1.json.js +61 -0
  57. package/dist/components/HysIcon/builtins/catalog/maps-2.json.js +24 -0
  58. package/dist/components/HysIcon/builtins/catalog/media-1.json.js +57 -0
  59. package/dist/components/HysIcon/builtins/catalog/media-2.json.js +13 -0
  60. package/dist/components/HysIcon/builtins/catalog/medical.json.js +30 -0
  61. package/dist/components/HysIcon/builtins/catalog/nature.json.js +54 -0
  62. package/dist/components/HysIcon/builtins/catalog/recreation.json.js +51 -0
  63. package/dist/components/HysIcon/builtins/catalog/shapes.json.js +54 -0
  64. package/dist/components/HysIcon/builtins/catalog/text-1.json.js +52 -0
  65. package/dist/components/HysIcon/builtins/catalog/text-2.json.js +54 -0
  66. package/dist/components/HysIcon/builtins/catalog/text-3.json.js +58 -0
  67. package/dist/components/HysIcon/builtins/catalog/text-4.json.js +41 -0
  68. package/dist/components/HysIcon/builtins/catalog/time.json.js +39 -0
  69. package/dist/components/HysIcon/builtins/catalog/transport-1.json.js +57 -0
  70. package/dist/components/HysIcon/builtins/catalog/transport-2.json.js +7 -0
  71. package/dist/components/HysIcon/builtins/catalog/weather.json.js +46 -0
  72. package/dist/components/HysIcon/builtins/communication.js +314 -0
  73. package/dist/components/HysIcon/builtins/documents.js +315 -0
  74. package/dist/components/HysIcon/builtins/extendedCatalog.js +75 -0
  75. package/dist/components/HysIcon/builtins/iconInCategory.js +11 -0
  76. package/dist/components/HysIcon/builtins/media.js +255 -0
  77. package/dist/components/HysIcon/builtins/navigation.js +276 -0
  78. package/dist/components/HysIcon/builtins/technology.js +189 -0
  79. package/dist/components/HysIcon/iconBuiltins.js +228 -0
  80. package/dist/components/HysIcon/iconConfig.js +30 -0
  81. package/dist/components/HysIcon/iconRegistry.js +183 -0
  82. package/dist/components/HysIcon/iconSafety.js +191 -0
  83. package/dist/components/HysIcon/iconStyle.js +70 -0
  84. package/dist/components/HysIcon/useIconResource.js +75 -0
  85. package/dist/components/HysModal/HysModal.vue.js +2 -2
  86. package/dist/components/HysModal/HysModal2.vue.js +38 -38
  87. package/dist/components/HysPopconfirm/HysPopconfirm.vue.js +7 -0
  88. package/dist/components/HysPopconfirm/HysPopconfirm2.vue.js +346 -0
  89. package/dist/components/HysPopconfirm/usePopconfirmAction.js +32 -0
  90. package/dist/components/HysResult/HysResult.vue.js +7 -0
  91. package/dist/components/HysResult/HysResult2.vue.js +124 -0
  92. package/dist/components/HysSearch/HysSearch.vue.js +2 -2
  93. package/dist/components/HysSortableList/HysSortableList.vue.js +2 -2
  94. package/dist/components/HysSortableList/HysSortableList2.vue.js +498 -129
  95. package/dist/components/HysSortableList/SortableGhost/SortableGhost.vue.js +7 -0
  96. package/dist/components/HysSortableList/SortableGhost/SortableGhost2.vue.js +43 -0
  97. package/dist/components/HysSortableList/SortableGhost/useSortGhost.js +54 -0
  98. package/dist/components/HysSortableList/geometry.js +230 -0
  99. package/dist/components/HysSortableList/model.js +254 -0
  100. package/dist/components/HysSortableList/transactions.js +281 -0
  101. package/dist/components/HysSortableList/useSortDrag.js +270 -0
  102. package/dist/components/HysSortableList/useSortKeyboard.js +72 -0
  103. package/dist/components/HysSortableList/useSortWindow.js +144 -0
  104. package/dist/components/HysSpace/HysSpace.vue.js +7 -0
  105. package/dist/components/HysSpace/HysSpace2.vue.js +79 -0
  106. package/dist/components/HysSpace/spaceItems.js +17 -0
  107. package/dist/components/HysSpin/HysSpin.vue.js +7 -0
  108. package/dist/components/HysSpin/HysSpin2.vue.js +427 -0
  109. package/dist/components/HysSpin/SpinGlyph/SpinGlyph.vue.js +334 -0
  110. package/dist/components/HysSpin/SpinGlyph/SpinGlyph2.vue.js +5 -0
  111. package/dist/components/HysSpin/SpinPortal/SpinPortal.vue.js +7 -0
  112. package/dist/components/HysSpin/SpinPortal/SpinPortal2.vue.js +66 -0
  113. package/dist/components/HysSpin/SpinPortal/spinTarget.js +57 -0
  114. package/dist/components/HysSpin/spinCatalog.js +35 -0
  115. package/dist/components/HysSpin/spinConfig.js +32 -0
  116. package/dist/components/HysSpin/spinService.js +160 -0
  117. package/dist/components/HysSpin/spinStyle.js +39 -0
  118. package/dist/components/HysSpin/useHysSpinTask.js +92 -0
  119. package/dist/components/HysSpin/useSpinFullscreen.js +60 -0
  120. package/dist/components/HysSpin/useSpinVisibility.js +59 -0
  121. package/dist/components/HysSplitPane/HysSplitPane.vue.js +285 -204
  122. package/dist/components/HysSplitPane/splitPaneResize.js +75 -0
  123. package/dist/components/HysTabPane/HysTabPane.vue.js +49 -0
  124. package/dist/components/HysTabPane/HysTabPane2.vue.js +4 -0
  125. package/dist/components/HysTable/HysTable.vue.js +3 -3
  126. package/dist/components/HysTable/HysTable2.vue.js +412 -383
  127. package/dist/components/HysTable/tableSearch.js +24 -0
  128. package/dist/components/HysTabs/HysTabs.vue.js +172 -5
  129. package/dist/components/HysTabs/HysTabs2.vue.js +2 -275
  130. package/dist/components/HysTabs/TabsMore/TabsMore.vue.js +7 -0
  131. package/dist/components/HysTabs/TabsMore/TabsMore2.vue.js +133 -0
  132. package/dist/components/HysTabs/TabsPanels/TabsPanels.vue.js +161 -0
  133. package/dist/components/HysTabs/TabsPanels/TabsPanels2.vue.js +4 -0
  134. package/dist/components/HysTabs/TabsPrompts/TabsPrompts.vue.js +4 -0
  135. package/dist/components/HysTabs/TabsPrompts/TabsPrompts2.vue.js +88 -0
  136. package/dist/components/HysTabs/TabsSlot/TabsSlot.js +13 -0
  137. package/dist/components/HysTabs/TabsWorkbench/TabsWorkbench.vue.js +7 -0
  138. package/dist/components/HysTabs/TabsWorkbench/TabsWorkbench2.vue.js +687 -0
  139. package/dist/components/HysTabs/tabsConfig.js +35 -0
  140. package/dist/components/HysTabs/tabsItems.js +79 -0
  141. package/dist/components/HysTabs/tabsPersistence.js +118 -0
  142. package/dist/components/HysTabs/useHysRouteTabs.js +77 -0
  143. package/dist/components/HysTabs/useTabsDragGhost.js +47 -0
  144. package/dist/components/HysTabs/useTabsNav.js +127 -0
  145. package/dist/components/HysTabs/useTabsOverlays.js +52 -0
  146. package/dist/components/HysTabs/useTabsPanels.js +101 -0
  147. package/dist/components/HysTabs/useTabsPointer.js +131 -0
  148. package/dist/components/HysTabs/useTabsState.js +263 -0
  149. package/dist/components/HysToast/HysToast.vue.js +3 -3
  150. package/dist/components/HysToast/HysToast2.vue.js +379 -107
  151. package/dist/components/HysToast/ToastViewport/ToastViewport.vue.js +7 -0
  152. package/dist/components/HysToast/ToastViewport/ToastViewport2.vue.js +211 -0
  153. package/dist/components/HysToast/ToastViewport/useToastStackDisclosure.js +71 -0
  154. package/dist/components/HysToast/toastPresentation.js +98 -0
  155. package/dist/components/HysToast/useToastActions.js +62 -0
  156. package/dist/components/HysToast/useToastSwipe.js +48 -0
  157. package/dist/components/HysToast/useToastTimer.js +90 -0
  158. package/dist/composables/formLayout.js +20 -42
  159. package/dist/composables/popupReferenceBinding.js +41 -0
  160. package/dist/composables/popupSurfaceStyle.js +30 -0
  161. package/dist/composables/toastEscape.js +18 -10
  162. package/dist/composables/toastQueue.js +276 -0
  163. package/dist/composables/toastQueueModel.js +86 -0
  164. package/dist/composables/toastTasks.js +58 -0
  165. package/dist/composables/useContainerWidth.js +24 -0
  166. package/dist/composables/useFloating.js +28 -28
  167. package/dist/composables/useHysToast.js +117 -135
  168. package/dist/composables/usePageVisibility.js +19 -0
  169. package/dist/composables/usePopupSurface.js +181 -356
  170. package/dist/composables/usePopupSurfaceInteractions.js +173 -0
  171. package/dist/composables/useSplitPaneDrag.js +29 -26
  172. package/dist/composables/useSvgInstanceId.js +15 -0
  173. package/dist/composables/useTable.js +321 -306
  174. package/dist/composables/useTabularRowNavigation.js +46 -0
  175. package/dist/index.js +231 -185
  176. package/dist/internal/MultiSplitPane.vue.js +246 -205
  177. package/dist/internal/PopupSurfacePanel.vue.js +2 -2
  178. package/dist/internal/PopupSurfacePanel2.vue.js +35 -30
  179. package/dist/style.css +1 -1
  180. package/dist/types/components/HysDataGrid/HysDataGrid.vue.d.ts +40 -2
  181. package/dist/types/components/HysDataGrid/gridColumnLayout.d.ts +22 -0
  182. package/dist/types/components/HysDataGrid/gridPresentation.d.ts +47 -0
  183. package/dist/types/components/HysDataGrid/useGridContextMenu.d.ts +14 -0
  184. package/dist/types/components/HysDescriptions/HysDescriptions.vue.d.ts +20 -0
  185. package/dist/types/components/HysDescriptions/descriptionsTypes.d.ts +54 -0
  186. package/dist/types/components/HysForm/HysForm.vue.d.ts +1 -1
  187. package/dist/types/components/HysFormItem/HysFormItem.vue.d.ts +1 -1
  188. package/dist/types/components/HysGantt/HysGantt.vue.d.ts +1 -1
  189. package/dist/types/components/HysIcon/HysIcon.vue.d.ts +76 -0
  190. package/dist/types/components/HysIcon/IconGraphic/IconGraphic.vue.d.ts +43 -0
  191. package/dist/types/components/HysIcon/IconPickerPanel/IconPickerPanel.vue.d.ts +17 -0
  192. package/dist/types/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic.vue.d.ts +10 -0
  193. package/dist/types/components/HysIcon/IconTooltip/IconTooltip.vue.d.ts +11 -0
  194. package/dist/types/components/HysIcon/builtins/access.d.ts +15 -0
  195. package/dist/types/components/HysIcon/builtins/actions.d.ts +30 -0
  196. package/dist/types/components/HysIcon/builtins/business.d.ts +31 -0
  197. package/dist/types/components/HysIcon/builtins/communication.d.ts +27 -0
  198. package/dist/types/components/HysIcon/builtins/documents.d.ts +29 -0
  199. package/dist/types/components/HysIcon/builtins/extendedCatalog.d.ts +2 -0
  200. package/dist/types/components/HysIcon/builtins/iconInCategory.d.ts +2 -0
  201. package/dist/types/components/HysIcon/builtins/media.d.ts +24 -0
  202. package/dist/types/components/HysIcon/builtins/navigation.d.ts +30 -0
  203. package/dist/types/components/HysIcon/builtins/technology.d.ts +18 -0
  204. package/dist/types/components/HysIcon/iconBuiltins.d.ts +2 -0
  205. package/dist/types/components/HysIcon/iconConfig.d.ts +10 -0
  206. package/dist/types/components/HysIcon/iconRegistry.d.ts +5 -0
  207. package/dist/types/components/HysIcon/iconSafety.d.ts +8 -0
  208. package/dist/types/components/HysIcon/iconStyle.d.ts +6 -0
  209. package/dist/types/components/HysIcon/iconTypes.d.ts +192 -0
  210. package/dist/types/components/HysIcon/useIconResource.d.ts +14 -0
  211. package/dist/types/components/HysModal/HysModal.vue.d.ts +1 -1
  212. package/dist/types/components/HysPopconfirm/HysPopconfirm.vue.d.ts +85 -0
  213. package/dist/types/components/HysPopconfirm/popconfirmTypes.d.ts +72 -0
  214. package/dist/types/components/HysPopconfirm/usePopconfirmAction.d.ts +6 -0
  215. package/dist/types/components/HysProgress/HysProgress.vue.d.ts +1 -1
  216. package/dist/types/components/HysResult/HysResult.vue.d.ts +22 -0
  217. package/dist/types/components/HysResult/resultTypes.d.ts +32 -0
  218. package/dist/types/components/HysSortableList/HysSortableList.vue.d.ts +48 -25
  219. package/dist/types/components/HysSortableList/SortableGhost/SortableGhost.vue.d.ts +31 -0
  220. package/dist/types/components/HysSortableList/SortableGhost/useSortGhost.d.ts +23 -0
  221. package/dist/types/components/HysSortableList/geometry.d.ts +35 -0
  222. package/dist/types/components/HysSortableList/model.d.ts +61 -0
  223. package/dist/types/components/HysSortableList/sortableList.d.ts +151 -0
  224. package/dist/types/components/HysSortableList/transactions.d.ts +10 -0
  225. package/dist/types/components/HysSortableList/useSortDrag.d.ts +25 -0
  226. package/dist/types/components/HysSortableList/useSortKeyboard.d.ts +17 -0
  227. package/dist/types/components/HysSortableList/useSortWindow.d.ts +16 -0
  228. package/dist/types/components/HysSpace/HysSpace.vue.d.ts +15 -0
  229. package/dist/types/components/HysSpace/spaceItems.d.ts +9 -0
  230. package/dist/types/components/HysSpace/spaceTypes.d.ts +20 -0
  231. package/dist/types/components/HysSpin/HysSpin.vue.d.ts +84 -0
  232. package/dist/types/components/HysSpin/SpinGlyph/SpinGlyph.vue.d.ts +16 -0
  233. package/dist/types/components/HysSpin/SpinPortal/SpinPortal.vue.d.ts +21 -0
  234. package/dist/types/components/HysSpin/SpinPortal/spinTarget.d.ts +3 -0
  235. package/dist/types/components/HysSpin/spinCatalog.d.ts +122 -0
  236. package/dist/types/components/HysSpin/spinConfig.d.ts +10 -0
  237. package/dist/types/components/HysSpin/spinService.d.ts +7 -0
  238. package/dist/types/components/HysSpin/spinStyle.d.ts +5 -0
  239. package/dist/types/components/HysSpin/spinTypes.d.ts +133 -0
  240. package/dist/types/components/HysSpin/useHysSpinTask.d.ts +4 -0
  241. package/dist/types/components/HysSpin/useSpinFullscreen.d.ts +17 -0
  242. package/dist/types/components/HysSpin/useSpinVisibility.d.ts +10 -0
  243. package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +25 -2
  244. package/dist/types/components/HysSplitPane/splitPaneResize.d.ts +17 -0
  245. package/dist/types/components/HysTabPane/HysTabPane.vue.d.ts +11 -0
  246. package/dist/types/components/HysTable/HysTable.vue.d.ts +16 -10
  247. package/dist/types/components/HysTable/tableSearch.d.ts +2 -0
  248. package/dist/types/components/HysTabs/HysTabs.vue.d.ts +83 -74
  249. package/dist/types/components/HysTabs/TabsMore/TabsMore.vue.d.ts +14 -0
  250. package/dist/types/components/HysTabs/TabsPanels/TabsPanels.vue.d.ts +17 -0
  251. package/dist/types/components/HysTabs/TabsPrompts/TabsPrompts.vue.d.ts +7 -0
  252. package/dist/types/components/HysTabs/TabsSlot/TabsSlot.d.ts +9 -0
  253. package/dist/types/components/HysTabs/TabsWorkbench/TabsWorkbench.vue.d.ts +32 -0
  254. package/dist/types/components/HysTabs/tabsConfig.d.ts +4 -0
  255. package/dist/types/components/HysTabs/tabsItems.d.ts +14 -0
  256. package/dist/types/components/HysTabs/tabsPersistence.d.ts +6 -0
  257. package/dist/types/components/HysTabs/tabsTypes.d.ts +236 -0
  258. package/dist/types/components/HysTabs/useHysRouteTabs.d.ts +22 -0
  259. package/dist/types/components/HysTabs/useTabsDragGhost.d.ts +22 -0
  260. package/dist/types/components/HysTabs/useTabsNav.d.ts +20 -0
  261. package/dist/types/components/HysTabs/useTabsOverlays.d.ts +54 -0
  262. package/dist/types/components/HysTabs/useTabsPanels.d.ts +14 -0
  263. package/dist/types/components/HysTabs/useTabsPointer.d.ts +30 -0
  264. package/dist/types/components/HysTabs/useTabsState.d.ts +32 -0
  265. package/dist/types/components/HysTagInput/HysTagInput.vue.d.ts +2 -2
  266. package/dist/types/components/HysToast/HysToast.vue.d.ts +44 -46
  267. package/dist/types/components/HysToast/ToastViewport/ToastViewport.vue.d.ts +25 -0
  268. package/dist/types/components/HysToast/ToastViewport/useToastStackDisclosure.d.ts +16 -0
  269. package/dist/types/components/HysToast/toastPresentation.d.ts +8 -0
  270. package/dist/types/components/HysToast/toastTypes.d.ts +212 -0
  271. package/dist/types/components/HysToast/useToastActions.d.ts +18 -0
  272. package/dist/types/components/HysToast/useToastSwipe.d.ts +11 -0
  273. package/dist/types/components/HysToast/useToastTimer.d.ts +22 -0
  274. package/dist/types/components/HysVirtualTable/HysVirtualTable.vue.d.ts +2 -2
  275. package/dist/types/composables/dataGrid.d.ts +34 -0
  276. package/dist/types/composables/formLayout.d.ts +1 -2
  277. package/dist/types/composables/popupReferenceBinding.d.ts +9 -0
  278. package/dist/types/composables/popupSurfaceStyle.d.ts +7 -0
  279. package/dist/types/composables/table.d.ts +10 -1
  280. package/dist/types/composables/toastEscape.d.ts +1 -1
  281. package/dist/types/composables/toastQueue.d.ts +121 -0
  282. package/dist/types/composables/toastQueueModel.d.ts +116 -0
  283. package/dist/types/composables/toastTasks.d.ts +2 -0
  284. package/dist/types/composables/useColorPicker.d.ts +1 -1
  285. package/dist/types/composables/useContainerWidth.d.ts +2 -0
  286. package/dist/types/composables/useContextMenu.d.ts +1 -1
  287. package/dist/types/composables/useFloating.d.ts +2 -2
  288. package/dist/types/composables/useHysToast.d.ts +4 -48
  289. package/dist/types/composables/usePageVisibility.d.ts +1 -0
  290. package/dist/types/composables/usePopupSurface.d.ts +28 -22
  291. package/dist/types/composables/usePopupSurfaceInteractions.d.ts +35 -0
  292. package/dist/types/composables/useSplitPaneDrag.d.ts +2 -2
  293. package/dist/types/composables/useSvgInstanceId.d.ts +1 -0
  294. package/dist/types/composables/useTable.d.ts +2 -0
  295. package/dist/types/composables/useTabularRowNavigation.d.ts +18 -0
  296. package/dist/types/index.d.ts +33 -6
  297. package/dist/types/internal/MultiSplitPane.vue.d.ts +10 -1
  298. package/dist/types/internal/PopupSurfacePanel.vue.d.ts +3 -0
  299. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ import { positiveInteger as h } from "../../composables/dataGrid.js";
2
+ const f = (r) => h(r.minWidth, 80), p = (r) => Math.max(f(r), h(r.maxWidth, 800)), c = (r, e) => Math.max(
3
+ f(r),
4
+ Math.min(p(r), e)
5
+ );
6
+ function x(r, e) {
7
+ const d = [...r.keys()], g = [
8
+ .../* @__PURE__ */ new Set([
9
+ ...Array.isArray(e == null ? void 0 : e.order) ? e.order.filter((i) => r.has(i)) : [],
10
+ ...d
11
+ ])
12
+ ], s = [
13
+ ...new Set(
14
+ Array.isArray(e == null ? void 0 : e.hidden) ? e.hidden.filter(
15
+ (i) => {
16
+ var n;
17
+ return r.has(i) && ((n = r.get(i)) == null ? void 0 : n.hideable) !== !1;
18
+ }
19
+ ) : []
20
+ )
21
+ ], m = Object.fromEntries(
22
+ Object.entries((e == null ? void 0 : e.widths) ?? {}).flatMap(([i, n]) => {
23
+ const t = r.get(i);
24
+ return t && typeof n == "number" && Number.isFinite(n) ? [[i, c(t, n)]] : [];
25
+ })
26
+ ), b = Object.fromEntries(
27
+ Object.entries((e == null ? void 0 : e.pins) ?? {}).filter(
28
+ ([i, n]) => {
29
+ var t;
30
+ return r.has(i) && ((t = r.get(i)) == null ? void 0 : t.pinnable) !== !1 && (n === null || n === "left" || n === "right");
31
+ }
32
+ )
33
+ );
34
+ return {
35
+ order: g,
36
+ hidden: s.length === d.length ? [] : s,
37
+ widths: m,
38
+ pins: b
39
+ };
40
+ }
41
+ export {
42
+ c as gridBoundColumnWidth,
43
+ p as gridMaxColumnWidth,
44
+ f as gridMinColumnWidth,
45
+ x as normalizeGridColumnLayout
46
+ };
@@ -0,0 +1,17 @@
1
+ function c(p, t) {
2
+ var e, r;
3
+ const u = [];
4
+ for (const o of p) {
5
+ const s = t(o), n = u.at(-1);
6
+ n && ((e = n.group) == null ? void 0 : e.key) === ((r = o.group) == null ? void 0 : r.key) && n.pinned === s ? n.columns.push(o) : u.push({
7
+ id: o.key,
8
+ group: o.group,
9
+ columns: [o],
10
+ pinned: s
11
+ });
12
+ }
13
+ return u;
14
+ }
15
+ export {
16
+ c as gridHeaderGroups
17
+ };
@@ -0,0 +1,33 @@
1
+ import { useTemplateRef as C, shallowRef as m, nextTick as R } from "vue";
2
+ function A(c) {
3
+ const i = C("gridContextMenu"), r = m(), d = m([]);
4
+ let u = 0;
5
+ async function x(t, e) {
6
+ var h;
7
+ const n = c.config();
8
+ if (e.defaultPrevented || !n || !c.enabled(t)) return;
9
+ const y = c.defaults(t), l = typeof n == "function" ? n(t, y) : y;
10
+ if (!l || !l.some(
11
+ (f) => !f.hidden && f.type !== "divider" && f.type !== "group"
12
+ ))
13
+ return;
14
+ e.preventDefault();
15
+ const o = e.currentTarget, s = o.getBoundingClientRect(), a = e instanceof MouseEvent && (e.detail > 0 || e.type === "contextmenu" && (e.button === 2 || e.clientX !== 0 || e.clientY !== 0)), k = a ? e.clientX : s.left + Math.min(s.width / 2, 28), M = a ? e.clientY : s.bottom, g = ++u;
16
+ a && !o.contains(o.ownerDocument.activeElement) && (o.tabIndex >= 0 || o.hasAttribute("tabindex")) && o.focus({ preventScroll: !0 }), r.value = t, d.value = l, await R(), g === u && c.enabled(t) && await ((h = i.value) == null ? void 0 : h.showAt(k, M));
17
+ }
18
+ function b(t, e) {
19
+ (e.key === "ContextMenu" || e.shiftKey && e.key === "F10") && x(t, e);
20
+ }
21
+ function p(t, e) {
22
+ const n = r.value;
23
+ n && c.enabled(n) && c.select(t, n, e);
24
+ }
25
+ function w() {
26
+ var t;
27
+ u++, (t = i.value) != null && t.open && i.value.hide(!1);
28
+ }
29
+ return { items: d, open: x, keydown: b, select: p, close: w };
30
+ }
31
+ export {
32
+ A as useGridContextMenu
33
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./HysDescriptions2.vue.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f75056d0"]]);
5
+ export {
6
+ f as default
7
+ };
@@ -0,0 +1,146 @@
1
+ import { defineComponent as A, useSlots as N, ref as B, useId as F, computed as S, openBlock as a, createElementBlock as i, mergeProps as d, unref as L, renderSlot as o, createTextVNode as u, toDisplayString as c, createCommentVNode as y, Fragment as M, renderList as W, normalizeStyle as f, createElementVNode as p, normalizeClass as $ } from "vue";
2
+ import { useHysRootAttrs as I } from "../../config.js";
3
+ import { resolveFormGrid as T } from "../../composables/formLayout.js";
4
+ import { useContainerWidth as V } from "../../composables/useContainerWidth.js";
5
+ const D = ["data-layout", "data-size", "data-bordered", "aria-label", "aria-labelledby"], E = {
6
+ key: 0,
7
+ class: "hys-descriptions-header"
8
+ }, H = {
9
+ key: 1,
10
+ class: "hys-descriptions-extra"
11
+ }, R = {
12
+ key: 1,
13
+ class: "hys-descriptions-list"
14
+ }, G = {
15
+ key: 0,
16
+ "aria-hidden": "true"
17
+ }, P = {
18
+ key: 2,
19
+ class: "hys-descriptions-empty"
20
+ }, O = /* @__PURE__ */ A({
21
+ __name: "HysDescriptions",
22
+ props: {
23
+ items: { default: () => [] },
24
+ title: {},
25
+ extra: {},
26
+ columns: { default: () => ({ xs: 1, sm: 2, lg: 3 }) },
27
+ layout: { default: "horizontal" },
28
+ size: { default: "md" },
29
+ bordered: { type: Boolean },
30
+ colon: { type: Boolean },
31
+ labelWidth: {},
32
+ labelAlign: { default: "start" },
33
+ align: { default: "start" },
34
+ labelStyle: {},
35
+ contentStyle: {},
36
+ placeholder: { default: "—" },
37
+ emptyText: { default: "暂无详情" },
38
+ ariaLabel: {}
39
+ },
40
+ setup(l) {
41
+ const h = l, n = N(), v = B(), z = I(), g = F() + "-descriptions-title", C = V(v), m = S(() => T(h.columns, C.value)), b = S(
42
+ () => h.items.filter((e) => !e.hidden).map((e, s) => {
43
+ const t = e.value, r = e.format ? e.format(t, e) : t;
44
+ return {
45
+ item: e,
46
+ index: s,
47
+ value: t,
48
+ text: r == null || r === "" ? h.placeholder : String(r)
49
+ };
50
+ })
51
+ );
52
+ function k(e) {
53
+ return typeof e != "number" ? e : Number.isFinite(e) ? Math.max(0, e) + "px" : void 0;
54
+ }
55
+ function x(e, s) {
56
+ return Number.isFinite(e) ? Math.min(s, Math.max(1, Math.floor(e))) : 1;
57
+ }
58
+ function w(e) {
59
+ const { item: s } = e, t = x(
60
+ s.span === "full" ? m.value : s.span,
61
+ m.value
62
+ ), r = m.value === 1 ? 1 : x(s.rowSpan, b.value.length);
63
+ return {
64
+ gridColumn: "span " + t,
65
+ gridRow: "span " + r,
66
+ "--hys-description-field-label-width": k(s.labelWidth)
67
+ };
68
+ }
69
+ return (e, s) => (a(), i("section", d({
70
+ ref_key: "root",
71
+ ref: v
72
+ }, L(z), {
73
+ class: "hys-ui-descriptions",
74
+ "data-layout": l.layout,
75
+ "data-size": l.size,
76
+ "data-bordered": l.bordered || void 0,
77
+ "aria-label": l.ariaLabel,
78
+ "aria-labelledby": !l.ariaLabel && (l.title || n.title) ? g : void 0,
79
+ style: {
80
+ "--hys-descriptions-columns": m.value,
81
+ "--hys-descriptions-label-width": k(l.labelWidth)
82
+ }
83
+ }), [
84
+ l.title || l.extra || n.title || n.extra ? (a(), i("header", E, [
85
+ l.title || n.title ? (a(), i("div", {
86
+ key: 0,
87
+ id: g,
88
+ class: "hys-descriptions-title"
89
+ }, [
90
+ o(e.$slots, "title", {}, () => [
91
+ u(c(l.title), 1)
92
+ ], !0)
93
+ ])) : y("", !0),
94
+ l.extra || n.extra ? (a(), i("div", H, [
95
+ o(e.$slots, "extra", {}, () => [
96
+ u(c(l.extra), 1)
97
+ ], !0)
98
+ ])) : y("", !0)
99
+ ])) : y("", !0),
100
+ b.value.length ? (a(), i("dl", R, [
101
+ (a(!0), i(M, null, W(b.value, (t) => (a(), i("div", {
102
+ key: t.item.key,
103
+ class: "hys-descriptions-field",
104
+ style: f(w(t))
105
+ }, [
106
+ p("dt", {
107
+ class: $(["hys-descriptions-label", t.item.labelClass]),
108
+ style: f([
109
+ { textAlign: t.item.labelAlign ?? l.labelAlign },
110
+ l.labelStyle,
111
+ t.item.labelStyle
112
+ ])
113
+ }, [
114
+ o(e.$slots, `label-${t.item.key}`, d({ ref_for: !0 }, t), () => [
115
+ o(e.$slots, "label", d({ ref_for: !0 }, t), () => [
116
+ u(c(t.item.label), 1)
117
+ ], !0)
118
+ ], !0),
119
+ l.colon ? (a(), i("span", G, ":")) : y("", !0)
120
+ ], 6),
121
+ p("dd", {
122
+ class: $(["hys-descriptions-value", t.item.contentClass]),
123
+ style: f([
124
+ { textAlign: t.item.align ?? l.align },
125
+ l.contentStyle,
126
+ t.item.contentStyle
127
+ ])
128
+ }, [
129
+ o(e.$slots, `value-${t.item.key}`, d({ ref_for: !0 }, t), () => [
130
+ o(e.$slots, "value", d({ ref_for: !0 }, t), () => [
131
+ u(c(t.text), 1)
132
+ ], !0)
133
+ ], !0)
134
+ ], 6)
135
+ ], 4))), 128))
136
+ ])) : (a(), i("div", P, [
137
+ o(e.$slots, "empty", {}, () => [
138
+ u(c(l.emptyText), 1)
139
+ ], !0)
140
+ ]))
141
+ ], 16, D));
142
+ }
143
+ });
144
+ export {
145
+ O as default
146
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./HysDrawer2.vue.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-81102b84"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-8b06b772"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -323,7 +323,7 @@ const Pe = ["inert", "aria-hidden"], De = ["role", "aria-label", "aria-labelledb
323
323
  e.showClose ? (d(), u("button", {
324
324
  key: 1,
325
325
  type: "button",
326
- class: "hys-ui-icon-action",
326
+ class: "hys-ui-icon-action hys-ui-dialog-close",
327
327
  "aria-label": e.closeText,
328
328
  disabled: t(a).closing.value || t(a).confirming.value && !e.closeWhileConfirming,
329
329
  onClick: i[1] || (i[1] = (r) => t(a).requestClose("button", r))
@@ -336,7 +336,7 @@ const Pe = ["inert", "aria-hidden"], De = ["role", "aria-label", "aria-labelledb
336
336
  ], 6)) : e.showClose ? (d(), u("button", {
337
337
  key: 1,
338
338
  type: "button",
339
- class: "hys-ui-icon-action hys-ui-drawer-floating-close",
339
+ class: "hys-ui-icon-action hys-ui-dialog-close hys-ui-drawer-floating-close",
340
340
  "aria-label": e.closeText,
341
341
  disabled: t(a).closing.value || t(a).confirming.value && !e.closeWhileConfirming,
342
342
  onClick: i[2] || (i[2] = (r) => t(a).requestClose("button", r))
@@ -1,12 +1,13 @@
1
1
  import { defineComponent as cl, ref as V, shallowRef as dl, computed as r, provide as vl, watch as Y, nextTick as G, onActivated as fl, onDeactivated as pl, onBeforeUnmount as gl, openBlock as qe, createElementBlock as Ie, mergeProps as ml, unref as bl, withModifiers as Le, createElementVNode as yl, renderSlot as _e, createCommentVNode as hl } from "vue";
2
2
  import { formPath as T, formKey as wl, formValue as g, setFormValue as Z, focusHysField as Fl } from "../../composables/formContext.js";
3
- import { useFormWidth as kl, resolveFormGrid as Ml, resolveFormCol as Ol } from "../../composables/formLayout.js";
3
+ import { resolveFormGrid as kl, resolveFormCol as Ml } from "../../composables/formLayout.js";
4
4
  import { snapshotForm as d, sameFormValue as H, nestedFormRules as ze, runFormRules as $e } from "../../composables/formValidation.js";
5
- import { useHysRootAttrs as jl } from "../../config.js";
5
+ import { useHysRootAttrs as Ol } from "../../config.js";
6
+ import { useContainerWidth as jl } from "../../composables/useContainerWidth.js";
6
7
  const Bl = ["aria-busy"], Pl = ["disabled", "inert"], Vl = {
7
8
  key: 0,
8
9
  class: "hys-ui-ent-form-actions"
9
- }, Sl = /* @__PURE__ */ cl({
10
+ }, Tl = /* @__PURE__ */ cl({
10
11
  __name: "HysForm",
11
12
  props: {
12
13
  model: {},
@@ -45,14 +46,14 @@ const Bl = ["aria-busy"], Pl = ["disabled", "inert"], Vl = {
45
46
  },
46
47
  emits: ["submit", "invalid", "reset", "validate", "validation"],
47
48
  setup(N, { expose: Ge, emit: He }) {
48
- const a = N, D = He, Ne = jl(), ee = V(), v = V({}), f = V({}), p = V({}), M = V(!1), ce = V(!1), E = V(!1), O = V({}), j = V({}), m = dl([]), R = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Map(), le = r(
49
+ const a = N, D = He, Ne = Ol(), ee = V(), v = V({}), f = V({}), p = V({}), M = V(!1), ce = V(!1), E = V(!1), O = V({}), j = V({}), m = dl([]), R = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Map(), le = r(
49
50
  () => Object.fromEntries(
50
51
  Object.entries(a.rules).map(([e, l]) => [T(e), l])
51
52
  )
52
53
  ), x = r(() => !!(a.disabled || a.loading)), ve = r(
53
54
  () => typeof a.labelWidth == "number" ? a.labelWidth + "px" : a.labelWidth
54
- ), te = kl(ee), we = r(
55
- () => Ml(a.columns, te.value)
55
+ ), te = jl(ee), we = r(
56
+ () => kl(a.columns, te.value)
56
57
  ), De = r(
57
58
  () => a.layout === "inline" || !a.layout && a.inline
58
59
  ), ae = r(
@@ -76,7 +77,7 @@ const Bl = ["aria-busy"], Pl = ["disabled", "inert"], Vl = {
76
77
  const ke = r(
77
78
  () => ve.value === "auto" ? Fe.value : ve.value
78
79
  ), Je = r(() => {
79
- const e = Ol(a.labelCol, te.value);
80
+ const e = Ml(a.labelCol, te.value);
80
81
  return {
81
82
  "--hys-ui-form-label-width": ke.value,
82
83
  "--hys-ui-form-columns": we.value,
@@ -607,5 +608,5 @@ const Bl = ["aria-busy"], Pl = ["disabled", "inert"], Vl = {
607
608
  }
608
609
  });
609
610
  export {
610
- Sl as default
611
+ Tl as default
611
612
  };