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.
- package/CHANGELOG.md +16 -0
- package/LICENSE +19 -0
- package/dist/components/HysDataGrid/HysDataGrid.vue.js +1 -1
- package/dist/components/HysDataGrid/HysDataGrid2.vue.js +1055 -753
- package/dist/components/HysDataGrid/gridColumnLayout.js +46 -0
- package/dist/components/HysDataGrid/gridPresentation.js +17 -0
- package/dist/components/HysDataGrid/useGridContextMenu.js +33 -0
- package/dist/components/HysDescriptions/HysDescriptions.vue.js +7 -0
- package/dist/components/HysDescriptions/HysDescriptions2.vue.js +146 -0
- package/dist/components/HysDrawer/HysDrawer.vue.js +1 -1
- package/dist/components/HysDrawer/HysDrawer2.vue.js +2 -2
- package/dist/components/HysForm/HysForm2.vue.js +9 -8
- package/dist/components/HysIcon/HysIcon.vue.js +373 -0
- package/dist/components/HysIcon/HysIcon2.vue.js +5 -0
- package/dist/components/HysIcon/IconGraphic/IconGraphic.vue.js +147 -0
- package/dist/components/HysIcon/IconGraphic/IconGraphic2.vue.js +4 -0
- package/dist/components/HysIcon/IconPickerPanel/IconPickerPanel.vue.js +7 -0
- package/dist/components/HysIcon/IconPickerPanel/IconPickerPanel2.vue.js +440 -0
- package/dist/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic.vue.js +29 -0
- package/dist/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic2.vue.js +4 -0
- package/dist/components/HysIcon/IconTooltip/IconTooltip.vue.js +19 -0
- package/dist/components/HysIcon/IconTooltip/IconTooltip2.vue.js +4 -0
- package/dist/components/HysIcon/builtins/access.js +180 -0
- package/dist/components/HysIcon/builtins/actions.js +327 -0
- package/dist/components/HysIcon/builtins/business.js +364 -0
- package/dist/components/HysIcon/builtins/catalog/access-1.json.js +51 -0
- package/dist/components/HysIcon/builtins/catalog/access-2.json.js +35 -0
- package/dist/components/HysIcon/builtins/catalog/accessibility.json.js +26 -0
- package/dist/components/HysIcon/builtins/catalog/arrows-1.json.js +45 -0
- package/dist/components/HysIcon/builtins/catalog/arrows-2.json.js +46 -0
- package/dist/components/HysIcon/builtins/catalog/arrows-3.json.js +42 -0
- package/dist/components/HysIcon/builtins/catalog/charts-1.json.js +50 -0
- package/dist/components/HysIcon/builtins/catalog/charts-2.json.js +13 -0
- package/dist/components/HysIcon/builtins/catalog/commerce.json.js +43 -0
- package/dist/components/HysIcon/builtins/catalog/communication-1.json.js +49 -0
- package/dist/components/HysIcon/builtins/catalog/communication-2.json.js +37 -0
- package/dist/components/HysIcon/builtins/catalog/design-1.json.js +61 -0
- package/dist/components/HysIcon/builtins/catalog/design-2.json.js +27 -0
- package/dist/components/HysIcon/builtins/catalog/development-1.json.js +58 -0
- package/dist/components/HysIcon/builtins/catalog/development-2.json.js +60 -0
- package/dist/components/HysIcon/builtins/catalog/development-3.json.js +25 -0
- package/dist/components/HysIcon/builtins/catalog/devices-1.json.js +52 -0
- package/dist/components/HysIcon/builtins/catalog/devices-2.json.js +55 -0
- package/dist/components/HysIcon/builtins/catalog/devices-3.json.js +23 -0
- package/dist/components/HysIcon/builtins/catalog/education.json.js +34 -0
- package/dist/components/HysIcon/builtins/catalog/emoji.json.js +24 -0
- package/dist/components/HysIcon/builtins/catalog/files-1.json.js +45 -0
- package/dist/components/HysIcon/builtins/catalog/files-2.json.js +47 -0
- package/dist/components/HysIcon/builtins/catalog/files-3.json.js +8 -0
- package/dist/components/HysIcon/builtins/catalog/food-1.json.js +67 -0
- package/dist/components/HysIcon/builtins/catalog/food-2.json.js +40 -0
- package/dist/components/HysIcon/builtins/catalog/home.json.js +36 -0
- package/dist/components/HysIcon/builtins/catalog/layout-1.json.js +46 -0
- package/dist/components/HysIcon/builtins/catalog/layout-2.json.js +45 -0
- package/dist/components/HysIcon/builtins/catalog/manifest.json.js +4 -0
- package/dist/components/HysIcon/builtins/catalog/maps-1.json.js +61 -0
- package/dist/components/HysIcon/builtins/catalog/maps-2.json.js +24 -0
- package/dist/components/HysIcon/builtins/catalog/media-1.json.js +57 -0
- package/dist/components/HysIcon/builtins/catalog/media-2.json.js +13 -0
- package/dist/components/HysIcon/builtins/catalog/medical.json.js +30 -0
- package/dist/components/HysIcon/builtins/catalog/nature.json.js +54 -0
- package/dist/components/HysIcon/builtins/catalog/recreation.json.js +51 -0
- package/dist/components/HysIcon/builtins/catalog/shapes.json.js +54 -0
- package/dist/components/HysIcon/builtins/catalog/text-1.json.js +52 -0
- package/dist/components/HysIcon/builtins/catalog/text-2.json.js +54 -0
- package/dist/components/HysIcon/builtins/catalog/text-3.json.js +58 -0
- package/dist/components/HysIcon/builtins/catalog/text-4.json.js +41 -0
- package/dist/components/HysIcon/builtins/catalog/time.json.js +39 -0
- package/dist/components/HysIcon/builtins/catalog/transport-1.json.js +57 -0
- package/dist/components/HysIcon/builtins/catalog/transport-2.json.js +7 -0
- package/dist/components/HysIcon/builtins/catalog/weather.json.js +46 -0
- package/dist/components/HysIcon/builtins/communication.js +314 -0
- package/dist/components/HysIcon/builtins/documents.js +315 -0
- package/dist/components/HysIcon/builtins/extendedCatalog.js +75 -0
- package/dist/components/HysIcon/builtins/iconInCategory.js +11 -0
- package/dist/components/HysIcon/builtins/media.js +255 -0
- package/dist/components/HysIcon/builtins/navigation.js +276 -0
- package/dist/components/HysIcon/builtins/technology.js +189 -0
- package/dist/components/HysIcon/iconBuiltins.js +228 -0
- package/dist/components/HysIcon/iconConfig.js +30 -0
- package/dist/components/HysIcon/iconRegistry.js +183 -0
- package/dist/components/HysIcon/iconSafety.js +191 -0
- package/dist/components/HysIcon/iconStyle.js +70 -0
- package/dist/components/HysIcon/useIconResource.js +75 -0
- package/dist/components/HysModal/HysModal.vue.js +2 -2
- package/dist/components/HysModal/HysModal2.vue.js +38 -38
- package/dist/components/HysPopconfirm/HysPopconfirm.vue.js +7 -0
- package/dist/components/HysPopconfirm/HysPopconfirm2.vue.js +346 -0
- package/dist/components/HysPopconfirm/usePopconfirmAction.js +32 -0
- package/dist/components/HysResult/HysResult.vue.js +7 -0
- package/dist/components/HysResult/HysResult2.vue.js +124 -0
- package/dist/components/HysSearch/HysSearch.vue.js +2 -2
- package/dist/components/HysSortableList/HysSortableList.vue.js +2 -2
- package/dist/components/HysSortableList/HysSortableList2.vue.js +498 -129
- package/dist/components/HysSortableList/SortableGhost/SortableGhost.vue.js +7 -0
- package/dist/components/HysSortableList/SortableGhost/SortableGhost2.vue.js +43 -0
- package/dist/components/HysSortableList/SortableGhost/useSortGhost.js +54 -0
- package/dist/components/HysSortableList/geometry.js +230 -0
- package/dist/components/HysSortableList/model.js +254 -0
- package/dist/components/HysSortableList/transactions.js +281 -0
- package/dist/components/HysSortableList/useSortDrag.js +270 -0
- package/dist/components/HysSortableList/useSortKeyboard.js +72 -0
- package/dist/components/HysSortableList/useSortWindow.js +144 -0
- package/dist/components/HysSpace/HysSpace.vue.js +7 -0
- package/dist/components/HysSpace/HysSpace2.vue.js +79 -0
- package/dist/components/HysSpace/spaceItems.js +17 -0
- package/dist/components/HysSpin/HysSpin.vue.js +7 -0
- package/dist/components/HysSpin/HysSpin2.vue.js +427 -0
- package/dist/components/HysSpin/SpinGlyph/SpinGlyph.vue.js +334 -0
- package/dist/components/HysSpin/SpinGlyph/SpinGlyph2.vue.js +5 -0
- package/dist/components/HysSpin/SpinPortal/SpinPortal.vue.js +7 -0
- package/dist/components/HysSpin/SpinPortal/SpinPortal2.vue.js +66 -0
- package/dist/components/HysSpin/SpinPortal/spinTarget.js +57 -0
- package/dist/components/HysSpin/spinCatalog.js +35 -0
- package/dist/components/HysSpin/spinConfig.js +32 -0
- package/dist/components/HysSpin/spinService.js +160 -0
- package/dist/components/HysSpin/spinStyle.js +39 -0
- package/dist/components/HysSpin/useHysSpinTask.js +92 -0
- package/dist/components/HysSpin/useSpinFullscreen.js +60 -0
- package/dist/components/HysSpin/useSpinVisibility.js +59 -0
- package/dist/components/HysSplitPane/HysSplitPane.vue.js +285 -204
- package/dist/components/HysSplitPane/splitPaneResize.js +75 -0
- package/dist/components/HysTabPane/HysTabPane.vue.js +49 -0
- package/dist/components/HysTabPane/HysTabPane2.vue.js +4 -0
- package/dist/components/HysTable/HysTable.vue.js +3 -3
- package/dist/components/HysTable/HysTable2.vue.js +412 -383
- package/dist/components/HysTable/tableSearch.js +24 -0
- package/dist/components/HysTabs/HysTabs.vue.js +172 -5
- package/dist/components/HysTabs/HysTabs2.vue.js +2 -275
- package/dist/components/HysTabs/TabsMore/TabsMore.vue.js +7 -0
- package/dist/components/HysTabs/TabsMore/TabsMore2.vue.js +133 -0
- package/dist/components/HysTabs/TabsPanels/TabsPanels.vue.js +161 -0
- package/dist/components/HysTabs/TabsPanels/TabsPanels2.vue.js +4 -0
- package/dist/components/HysTabs/TabsPrompts/TabsPrompts.vue.js +4 -0
- package/dist/components/HysTabs/TabsPrompts/TabsPrompts2.vue.js +88 -0
- package/dist/components/HysTabs/TabsSlot/TabsSlot.js +13 -0
- package/dist/components/HysTabs/TabsWorkbench/TabsWorkbench.vue.js +7 -0
- package/dist/components/HysTabs/TabsWorkbench/TabsWorkbench2.vue.js +687 -0
- package/dist/components/HysTabs/tabsConfig.js +35 -0
- package/dist/components/HysTabs/tabsItems.js +79 -0
- package/dist/components/HysTabs/tabsPersistence.js +118 -0
- package/dist/components/HysTabs/useHysRouteTabs.js +77 -0
- package/dist/components/HysTabs/useTabsDragGhost.js +47 -0
- package/dist/components/HysTabs/useTabsNav.js +127 -0
- package/dist/components/HysTabs/useTabsOverlays.js +52 -0
- package/dist/components/HysTabs/useTabsPanels.js +101 -0
- package/dist/components/HysTabs/useTabsPointer.js +131 -0
- package/dist/components/HysTabs/useTabsState.js +263 -0
- package/dist/components/HysToast/HysToast.vue.js +3 -3
- package/dist/components/HysToast/HysToast2.vue.js +379 -107
- package/dist/components/HysToast/ToastViewport/ToastViewport.vue.js +7 -0
- package/dist/components/HysToast/ToastViewport/ToastViewport2.vue.js +211 -0
- package/dist/components/HysToast/ToastViewport/useToastStackDisclosure.js +71 -0
- package/dist/components/HysToast/toastPresentation.js +98 -0
- package/dist/components/HysToast/useToastActions.js +62 -0
- package/dist/components/HysToast/useToastSwipe.js +48 -0
- package/dist/components/HysToast/useToastTimer.js +90 -0
- package/dist/composables/formLayout.js +20 -42
- package/dist/composables/popupReferenceBinding.js +41 -0
- package/dist/composables/popupSurfaceStyle.js +30 -0
- package/dist/composables/toastEscape.js +18 -10
- package/dist/composables/toastQueue.js +276 -0
- package/dist/composables/toastQueueModel.js +86 -0
- package/dist/composables/toastTasks.js +58 -0
- package/dist/composables/useContainerWidth.js +24 -0
- package/dist/composables/useFloating.js +28 -28
- package/dist/composables/useHysToast.js +117 -135
- package/dist/composables/usePageVisibility.js +19 -0
- package/dist/composables/usePopupSurface.js +181 -356
- package/dist/composables/usePopupSurfaceInteractions.js +173 -0
- package/dist/composables/useSplitPaneDrag.js +29 -26
- package/dist/composables/useSvgInstanceId.js +15 -0
- package/dist/composables/useTable.js +321 -306
- package/dist/composables/useTabularRowNavigation.js +46 -0
- package/dist/index.js +231 -185
- package/dist/internal/MultiSplitPane.vue.js +246 -205
- package/dist/internal/PopupSurfacePanel.vue.js +2 -2
- package/dist/internal/PopupSurfacePanel2.vue.js +35 -30
- package/dist/style.css +1 -1
- package/dist/types/components/HysDataGrid/HysDataGrid.vue.d.ts +40 -2
- package/dist/types/components/HysDataGrid/gridColumnLayout.d.ts +22 -0
- package/dist/types/components/HysDataGrid/gridPresentation.d.ts +47 -0
- package/dist/types/components/HysDataGrid/useGridContextMenu.d.ts +14 -0
- package/dist/types/components/HysDescriptions/HysDescriptions.vue.d.ts +20 -0
- package/dist/types/components/HysDescriptions/descriptionsTypes.d.ts +54 -0
- package/dist/types/components/HysForm/HysForm.vue.d.ts +1 -1
- package/dist/types/components/HysFormItem/HysFormItem.vue.d.ts +1 -1
- package/dist/types/components/HysGantt/HysGantt.vue.d.ts +1 -1
- package/dist/types/components/HysIcon/HysIcon.vue.d.ts +76 -0
- package/dist/types/components/HysIcon/IconGraphic/IconGraphic.vue.d.ts +43 -0
- package/dist/types/components/HysIcon/IconPickerPanel/IconPickerPanel.vue.d.ts +17 -0
- package/dist/types/components/HysIcon/IconReferenceGraphic/IconReferenceGraphic.vue.d.ts +10 -0
- package/dist/types/components/HysIcon/IconTooltip/IconTooltip.vue.d.ts +11 -0
- package/dist/types/components/HysIcon/builtins/access.d.ts +15 -0
- package/dist/types/components/HysIcon/builtins/actions.d.ts +30 -0
- package/dist/types/components/HysIcon/builtins/business.d.ts +31 -0
- package/dist/types/components/HysIcon/builtins/communication.d.ts +27 -0
- package/dist/types/components/HysIcon/builtins/documents.d.ts +29 -0
- package/dist/types/components/HysIcon/builtins/extendedCatalog.d.ts +2 -0
- package/dist/types/components/HysIcon/builtins/iconInCategory.d.ts +2 -0
- package/dist/types/components/HysIcon/builtins/media.d.ts +24 -0
- package/dist/types/components/HysIcon/builtins/navigation.d.ts +30 -0
- package/dist/types/components/HysIcon/builtins/technology.d.ts +18 -0
- package/dist/types/components/HysIcon/iconBuiltins.d.ts +2 -0
- package/dist/types/components/HysIcon/iconConfig.d.ts +10 -0
- package/dist/types/components/HysIcon/iconRegistry.d.ts +5 -0
- package/dist/types/components/HysIcon/iconSafety.d.ts +8 -0
- package/dist/types/components/HysIcon/iconStyle.d.ts +6 -0
- package/dist/types/components/HysIcon/iconTypes.d.ts +192 -0
- package/dist/types/components/HysIcon/useIconResource.d.ts +14 -0
- package/dist/types/components/HysModal/HysModal.vue.d.ts +1 -1
- package/dist/types/components/HysPopconfirm/HysPopconfirm.vue.d.ts +85 -0
- package/dist/types/components/HysPopconfirm/popconfirmTypes.d.ts +72 -0
- package/dist/types/components/HysPopconfirm/usePopconfirmAction.d.ts +6 -0
- package/dist/types/components/HysProgress/HysProgress.vue.d.ts +1 -1
- package/dist/types/components/HysResult/HysResult.vue.d.ts +22 -0
- package/dist/types/components/HysResult/resultTypes.d.ts +32 -0
- package/dist/types/components/HysSortableList/HysSortableList.vue.d.ts +48 -25
- package/dist/types/components/HysSortableList/SortableGhost/SortableGhost.vue.d.ts +31 -0
- package/dist/types/components/HysSortableList/SortableGhost/useSortGhost.d.ts +23 -0
- package/dist/types/components/HysSortableList/geometry.d.ts +35 -0
- package/dist/types/components/HysSortableList/model.d.ts +61 -0
- package/dist/types/components/HysSortableList/sortableList.d.ts +151 -0
- package/dist/types/components/HysSortableList/transactions.d.ts +10 -0
- package/dist/types/components/HysSortableList/useSortDrag.d.ts +25 -0
- package/dist/types/components/HysSortableList/useSortKeyboard.d.ts +17 -0
- package/dist/types/components/HysSortableList/useSortWindow.d.ts +16 -0
- package/dist/types/components/HysSpace/HysSpace.vue.d.ts +15 -0
- package/dist/types/components/HysSpace/spaceItems.d.ts +9 -0
- package/dist/types/components/HysSpace/spaceTypes.d.ts +20 -0
- package/dist/types/components/HysSpin/HysSpin.vue.d.ts +84 -0
- package/dist/types/components/HysSpin/SpinGlyph/SpinGlyph.vue.d.ts +16 -0
- package/dist/types/components/HysSpin/SpinPortal/SpinPortal.vue.d.ts +21 -0
- package/dist/types/components/HysSpin/SpinPortal/spinTarget.d.ts +3 -0
- package/dist/types/components/HysSpin/spinCatalog.d.ts +122 -0
- package/dist/types/components/HysSpin/spinConfig.d.ts +10 -0
- package/dist/types/components/HysSpin/spinService.d.ts +7 -0
- package/dist/types/components/HysSpin/spinStyle.d.ts +5 -0
- package/dist/types/components/HysSpin/spinTypes.d.ts +133 -0
- package/dist/types/components/HysSpin/useHysSpinTask.d.ts +4 -0
- package/dist/types/components/HysSpin/useSpinFullscreen.d.ts +17 -0
- package/dist/types/components/HysSpin/useSpinVisibility.d.ts +10 -0
- package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +25 -2
- package/dist/types/components/HysSplitPane/splitPaneResize.d.ts +17 -0
- package/dist/types/components/HysTabPane/HysTabPane.vue.d.ts +11 -0
- package/dist/types/components/HysTable/HysTable.vue.d.ts +16 -10
- package/dist/types/components/HysTable/tableSearch.d.ts +2 -0
- package/dist/types/components/HysTabs/HysTabs.vue.d.ts +83 -74
- package/dist/types/components/HysTabs/TabsMore/TabsMore.vue.d.ts +14 -0
- package/dist/types/components/HysTabs/TabsPanels/TabsPanels.vue.d.ts +17 -0
- package/dist/types/components/HysTabs/TabsPrompts/TabsPrompts.vue.d.ts +7 -0
- package/dist/types/components/HysTabs/TabsSlot/TabsSlot.d.ts +9 -0
- package/dist/types/components/HysTabs/TabsWorkbench/TabsWorkbench.vue.d.ts +32 -0
- package/dist/types/components/HysTabs/tabsConfig.d.ts +4 -0
- package/dist/types/components/HysTabs/tabsItems.d.ts +14 -0
- package/dist/types/components/HysTabs/tabsPersistence.d.ts +6 -0
- package/dist/types/components/HysTabs/tabsTypes.d.ts +236 -0
- package/dist/types/components/HysTabs/useHysRouteTabs.d.ts +22 -0
- package/dist/types/components/HysTabs/useTabsDragGhost.d.ts +22 -0
- package/dist/types/components/HysTabs/useTabsNav.d.ts +20 -0
- package/dist/types/components/HysTabs/useTabsOverlays.d.ts +54 -0
- package/dist/types/components/HysTabs/useTabsPanels.d.ts +14 -0
- package/dist/types/components/HysTabs/useTabsPointer.d.ts +30 -0
- package/dist/types/components/HysTabs/useTabsState.d.ts +32 -0
- package/dist/types/components/HysTagInput/HysTagInput.vue.d.ts +2 -2
- package/dist/types/components/HysToast/HysToast.vue.d.ts +44 -46
- package/dist/types/components/HysToast/ToastViewport/ToastViewport.vue.d.ts +25 -0
- package/dist/types/components/HysToast/ToastViewport/useToastStackDisclosure.d.ts +16 -0
- package/dist/types/components/HysToast/toastPresentation.d.ts +8 -0
- package/dist/types/components/HysToast/toastTypes.d.ts +212 -0
- package/dist/types/components/HysToast/useToastActions.d.ts +18 -0
- package/dist/types/components/HysToast/useToastSwipe.d.ts +11 -0
- package/dist/types/components/HysToast/useToastTimer.d.ts +22 -0
- package/dist/types/components/HysVirtualTable/HysVirtualTable.vue.d.ts +2 -2
- package/dist/types/composables/dataGrid.d.ts +34 -0
- package/dist/types/composables/formLayout.d.ts +1 -2
- package/dist/types/composables/popupReferenceBinding.d.ts +9 -0
- package/dist/types/composables/popupSurfaceStyle.d.ts +7 -0
- package/dist/types/composables/table.d.ts +10 -1
- package/dist/types/composables/toastEscape.d.ts +1 -1
- package/dist/types/composables/toastQueue.d.ts +121 -0
- package/dist/types/composables/toastQueueModel.d.ts +116 -0
- package/dist/types/composables/toastTasks.d.ts +2 -0
- package/dist/types/composables/useColorPicker.d.ts +1 -1
- package/dist/types/composables/useContainerWidth.d.ts +2 -0
- package/dist/types/composables/useContextMenu.d.ts +1 -1
- package/dist/types/composables/useFloating.d.ts +2 -2
- package/dist/types/composables/useHysToast.d.ts +4 -48
- package/dist/types/composables/usePageVisibility.d.ts +1 -0
- package/dist/types/composables/usePopupSurface.d.ts +28 -22
- package/dist/types/composables/usePopupSurfaceInteractions.d.ts +35 -0
- package/dist/types/composables/useSplitPaneDrag.d.ts +2 -2
- package/dist/types/composables/useSvgInstanceId.d.ts +1 -0
- package/dist/types/composables/useTable.d.ts +2 -0
- package/dist/types/composables/useTabularRowNavigation.d.ts +18 -0
- package/dist/types/index.d.ts +33 -6
- package/dist/types/internal/MultiSplitPane.vue.d.ts +10 -1
- package/dist/types/internal/PopupSurfacePanel.vue.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { type HysDataGridKey, type HysDataGridProps, type HysDataGridQuery, type HysDataGridSort } from "../../composables/dataGrid";
|
|
1
|
+
import { type GridColumn, type HysDataGridKey, type HysDataGridProps, type HysDataGridQuery, type HysDataGridSort } from "../../composables/dataGrid";
|
|
2
|
+
import { type HysDataGridColumnLayout, type HysDataGridColumnLayoutSnapshot } from "./gridColumnLayout";
|
|
3
|
+
import { type HysDataGridCellContext, type HysDataGridContext, type HysDataGridHeaderContext, type HysDataGridHeaderGroup, type HysDataGridPin, type HysDataGridRowContext } from "./gridPresentation";
|
|
4
|
+
import type { HysContextMenuItem, HysMenuKey, HysMenuSelectInfo } from "../../composables/menu";
|
|
2
5
|
export type { GridColumn } from "../../composables/dataGrid";
|
|
3
6
|
declare const _default: typeof __VLS_export;
|
|
4
7
|
export default _default;
|
|
@@ -10,6 +13,19 @@ declare const __VLS_export: <T extends object = Record<string, unknown>>(__VLS_p
|
|
|
10
13
|
onRowClick?: ((row: T) => any) | undefined;
|
|
11
14
|
"onUpdate:selectedRowKeys"?: ((keys: HysDataGridKey[]) => any) | undefined;
|
|
12
15
|
onColumnsChange?: ((keys: string[]) => any) | undefined;
|
|
16
|
+
onColumnLayoutChange?: ((layout: HysDataGridColumnLayoutSnapshot) => any) | undefined;
|
|
17
|
+
"onUpdate:currentRowKey"?: ((key: HysDataGridKey | null) => any) | undefined;
|
|
18
|
+
onCurrentChange?: ((key: HysDataGridKey | null, previous: HysDataGridKey | null) => any) | undefined;
|
|
19
|
+
onHeaderClick?: ((context: HysDataGridHeaderContext<T>, event: MouseEvent) => any) | undefined;
|
|
20
|
+
onHeaderContextmenu?: ((context: HysDataGridHeaderContext<T>, event: MouseEvent) => any) | undefined;
|
|
21
|
+
onRowDblclick?: ((context: HysDataGridRowContext<T>, event: MouseEvent) => any) | undefined;
|
|
22
|
+
onRowContextmenu?: ((context: HysDataGridRowContext<T>, event: MouseEvent) => any) | undefined;
|
|
23
|
+
onCellClick?: ((context: HysDataGridCellContext<T>, event: MouseEvent) => any) | undefined;
|
|
24
|
+
onCellDblclick?: ((context: HysDataGridCellContext<T>, event: MouseEvent) => any) | undefined;
|
|
25
|
+
onCellContextmenu?: ((context: HysDataGridCellContext<T>, event: MouseEvent) => any) | undefined;
|
|
26
|
+
onContextMenuSelect?: ((key: HysMenuKey, context: HysDataGridContext<T>, info: HysMenuSelectInfo<HysContextMenuItem>) => any) | undefined;
|
|
27
|
+
"onUpdate:groupBy"?: ((key: string) => any) | undefined;
|
|
28
|
+
onGroupChange?: ((key: string) => any) | undefined;
|
|
13
29
|
onSortChange?: ((sort: HysDataGridSort | null) => any) | undefined;
|
|
14
30
|
onPageChange?: ((page: number) => any) | undefined;
|
|
15
31
|
"onUpdate:query"?: ((query: HysDataGridQuery) => any) | undefined;
|
|
@@ -30,6 +46,10 @@ declare const __VLS_export: <T extends object = Record<string, unknown>>(__VLS_p
|
|
|
30
46
|
} ? P : {});
|
|
31
47
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
32
48
|
resetColumns: () => void;
|
|
49
|
+
getColumnLayout: () => HysDataGridColumnLayoutSnapshot;
|
|
50
|
+
applyColumnLayout: (layout: HysDataGridColumnLayout) => void;
|
|
51
|
+
setGroupBy: (key: string) => void;
|
|
52
|
+
setGroupsExpanded: (expanded: boolean) => void;
|
|
33
53
|
getQuery: () => HysDataGridQuery;
|
|
34
54
|
setQuery: (change: Partial<HysDataGridQuery>) => void;
|
|
35
55
|
resetQuery: () => void;
|
|
@@ -39,6 +59,13 @@ declare const __VLS_export: <T extends object = Record<string, unknown>>(__VLS_p
|
|
|
39
59
|
toggleRowSelection: (key: HysDataGridKey, checked?: boolean) => void;
|
|
40
60
|
scrollTo: (options: ScrollToOptions) => void;
|
|
41
61
|
scrollToRow: (key: HysDataGridKey) => boolean;
|
|
62
|
+
focusRow: (key: HysDataGridKey) => boolean;
|
|
63
|
+
getCurrentRowKey: () => HysDataGridKey | null;
|
|
64
|
+
setCurrentRow: (key: HysDataGridKey | null) => void;
|
|
65
|
+
setColumnVisibility: (key: string, visible: boolean) => boolean;
|
|
66
|
+
pinColumn: (key: string, side: HysDataGridPin | null) => boolean;
|
|
67
|
+
resizeColumn: (key: string, width: number) => boolean;
|
|
68
|
+
resetColumnWidth: (key: string) => boolean;
|
|
42
69
|
}>) => void;
|
|
43
70
|
attrs: any;
|
|
44
71
|
slots: {
|
|
@@ -51,8 +78,19 @@ declare const __VLS_export: <T extends object = Record<string, unknown>>(__VLS_p
|
|
|
51
78
|
error: unknown;
|
|
52
79
|
retry: () => void;
|
|
53
80
|
}): unknown;
|
|
81
|
+
"toolbar-actions"?(scope: {
|
|
82
|
+
query: HysDataGridQuery;
|
|
83
|
+
selectedKeys: HysDataGridKey[];
|
|
84
|
+
}): unknown;
|
|
85
|
+
"header-cell"?(scope: HysDataGridHeaderContext<T>): unknown;
|
|
86
|
+
"header-group"?(scope: {
|
|
87
|
+
group: HysDataGridHeaderGroup;
|
|
88
|
+
columns: readonly GridColumn<T>[];
|
|
89
|
+
pinned?: HysDataGridPin;
|
|
90
|
+
}): unknown;
|
|
91
|
+
"body-cell"?(scope: HysDataGridCellContext<T>): unknown;
|
|
54
92
|
};
|
|
55
|
-
emit: ((evt: "loadError", error: unknown) => void) & ((evt: "selectionChange", keys: HysDataGridKey[]) => void) & ((evt: "pageSizeChange", size: number) => void) & ((evt: "rowClick", row: T) => void) & ((evt: "update:selectedRowKeys", keys: HysDataGridKey[]) => void) & ((evt: "columnsChange", keys: string[]) => void) & ((evt: "sortChange", sort: HysDataGridSort | null) => void) & ((evt: "pageChange", page: number) => void) & ((evt: "update:query", query: HysDataGridQuery) => void) & ((evt: "queryChange", query: HysDataGridQuery) => void) & ((evt: "cellEdit", payload: {
|
|
93
|
+
emit: ((evt: "loadError", error: unknown) => void) & ((evt: "selectionChange", keys: HysDataGridKey[]) => void) & ((evt: "pageSizeChange", size: number) => void) & ((evt: "rowClick", row: T) => void) & ((evt: "update:selectedRowKeys", keys: HysDataGridKey[]) => void) & ((evt: "columnsChange", keys: string[]) => void) & ((evt: "columnLayoutChange", layout: HysDataGridColumnLayoutSnapshot) => void) & ((evt: "update:currentRowKey", key: HysDataGridKey | null) => void) & ((evt: "currentChange", key: HysDataGridKey | null, previous: HysDataGridKey | null) => void) & ((evt: "headerClick", context: HysDataGridHeaderContext<T>, event: MouseEvent) => void) & ((evt: "headerContextmenu", context: HysDataGridHeaderContext<T>, event: MouseEvent) => void) & ((evt: "rowDblclick", context: HysDataGridRowContext<T>, event: MouseEvent) => void) & ((evt: "rowContextmenu", context: HysDataGridRowContext<T>, event: MouseEvent) => void) & ((evt: "cellClick", context: HysDataGridCellContext<T>, event: MouseEvent) => void) & ((evt: "cellDblclick", context: HysDataGridCellContext<T>, event: MouseEvent) => void) & ((evt: "cellContextmenu", context: HysDataGridCellContext<T>, event: MouseEvent) => void) & ((evt: "contextMenuSelect", key: HysMenuKey, context: HysDataGridContext<T>, info: HysMenuSelectInfo<HysContextMenuItem>) => void) & ((evt: "update:groupBy", key: string) => void) & ((evt: "groupChange", key: string) => void) & ((evt: "sortChange", sort: HysDataGridSort | null) => void) & ((evt: "pageChange", page: number) => void) & ((evt: "update:query", query: HysDataGridQuery) => void) & ((evt: "queryChange", query: HysDataGridQuery) => void) & ((evt: "cellEdit", payload: {
|
|
56
94
|
row: T;
|
|
57
95
|
rowKey: HysDataGridKey;
|
|
58
96
|
column: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type GridColumn } from "../../composables/dataGrid";
|
|
2
|
+
import type { HysDataGridPin } from "./gridPresentation";
|
|
3
|
+
export interface HysDataGridColumnLayout {
|
|
4
|
+
order?: readonly string[];
|
|
5
|
+
hidden?: readonly string[];
|
|
6
|
+
widths?: Readonly<Record<string, number>>;
|
|
7
|
+
pins?: Readonly<Record<string, HysDataGridPin | null>>;
|
|
8
|
+
}
|
|
9
|
+
export type HysDataGridColumnLayoutSnapshot = Required<Omit<HysDataGridColumnLayout, "pins">> & Pick<HysDataGridColumnLayout, "pins">;
|
|
10
|
+
export declare const gridMinColumnWidth: (column: Pick<GridColumn, "minWidth">) => number;
|
|
11
|
+
export declare const gridMaxColumnWidth: (column: Pick<GridColumn, "minWidth" | "maxWidth">) => number;
|
|
12
|
+
export declare const gridBoundColumnWidth: (column: Pick<GridColumn, "minWidth" | "maxWidth">, width: number) => number;
|
|
13
|
+
export declare function normalizeGridColumnLayout<T extends object>(columns: ReadonlyMap<string, GridColumn<T>>, layout?: HysDataGridColumnLayout): {
|
|
14
|
+
order: any[];
|
|
15
|
+
hidden: any[];
|
|
16
|
+
widths: {
|
|
17
|
+
[k: string]: number;
|
|
18
|
+
};
|
|
19
|
+
pins: {
|
|
20
|
+
[k: string]: HysDataGridPin | null;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { CSSProperties } from "vue";
|
|
2
|
+
import type { HysContextMenuItem } from "../../composables/menu";
|
|
3
|
+
import type { GridColumn, HysDataGridKey, HysDataGridSort } from "../../composables/dataGrid";
|
|
4
|
+
export type HysDataGridPin = "left" | "right";
|
|
5
|
+
export interface HysDataGridHeaderGroup {
|
|
6
|
+
key: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
export interface HysDataGridHeaderContext<T extends object> {
|
|
10
|
+
column: GridColumn<T>;
|
|
11
|
+
columnIndex: number;
|
|
12
|
+
sort: HysDataGridSort["direction"] | undefined;
|
|
13
|
+
filter: string;
|
|
14
|
+
pinned: HysDataGridPin | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface HysDataGridRowContext<T extends object> {
|
|
17
|
+
row: T;
|
|
18
|
+
rowKey: HysDataGridKey;
|
|
19
|
+
index: number;
|
|
20
|
+
pageIndex: number;
|
|
21
|
+
depth: number;
|
|
22
|
+
selected: boolean;
|
|
23
|
+
current: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface HysDataGridCellContext<T extends object> extends HysDataGridRowContext<T> {
|
|
26
|
+
column: GridColumn<T>;
|
|
27
|
+
columnIndex: number;
|
|
28
|
+
value: unknown;
|
|
29
|
+
}
|
|
30
|
+
export type HysDataGridContext<T extends object> = ({
|
|
31
|
+
type: "header";
|
|
32
|
+
} & HysDataGridHeaderContext<T>) | ({
|
|
33
|
+
type: "row";
|
|
34
|
+
} & HysDataGridRowContext<T>) | ({
|
|
35
|
+
type: "cell";
|
|
36
|
+
} & HysDataGridCellContext<T>);
|
|
37
|
+
export type HysDataGridContextMenu<T extends object> = boolean | ((context: HysDataGridContext<T>, items: readonly HysContextMenuItem[]) => readonly HysContextMenuItem[] | false);
|
|
38
|
+
export type HysDataGridClass<C> = string | ((context: C) => string | undefined);
|
|
39
|
+
export type HysDataGridStyle<C> = CSSProperties | ((context: C) => CSSProperties | undefined);
|
|
40
|
+
interface HeaderGroup<T extends object> {
|
|
41
|
+
id: string;
|
|
42
|
+
group: HysDataGridHeaderGroup | undefined;
|
|
43
|
+
columns: GridColumn<T>[];
|
|
44
|
+
pinned: HysDataGridPin | undefined;
|
|
45
|
+
}
|
|
46
|
+
export declare function gridHeaderGroups<T extends object>(columns: readonly GridColumn<T>[], pinOf: (column: GridColumn<T>) => HysDataGridPin | undefined): HeaderGroup<T>[];
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { HysContextMenuItem, HysMenuKey, HysMenuSelectInfo } from "../../composables/menu";
|
|
2
|
+
import type { HysDataGridContext, HysDataGridContextMenu } from "./gridPresentation";
|
|
3
|
+
export declare function useGridContextMenu<T extends object>(options: {
|
|
4
|
+
enabled: (context: HysDataGridContext<T>) => boolean;
|
|
5
|
+
config: () => HysDataGridContextMenu<T> | undefined;
|
|
6
|
+
defaults: (context: HysDataGridContext<T>) => readonly HysContextMenuItem[];
|
|
7
|
+
select: (value: HysMenuKey, context: HysDataGridContext<T>, info: HysMenuSelectInfo) => void;
|
|
8
|
+
}): {
|
|
9
|
+
items: import("vue").ShallowRef<readonly HysContextMenuItem[], readonly HysContextMenuItem[]>;
|
|
10
|
+
open: (target: HysDataGridContext<T>, event: MouseEvent | KeyboardEvent) => Promise<void>;
|
|
11
|
+
keydown: (target: HysDataGridContext<T>, event: KeyboardEvent) => void;
|
|
12
|
+
select: (value: HysMenuKey, info: HysMenuSelectInfo) => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { HysDescriptionsProps, HysDescriptionsSlots } from "./descriptionsTypes";
|
|
2
|
+
type __VLS_Slots = HysDescriptionsSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<HysDescriptionsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HysDescriptionsProps> & Readonly<{}>, {
|
|
4
|
+
items: readonly import("./descriptionsTypes").HysDescriptionItem[];
|
|
5
|
+
size: "sm" | "md" | "lg";
|
|
6
|
+
placeholder: string;
|
|
7
|
+
layout: "horizontal" | "vertical";
|
|
8
|
+
emptyText: string;
|
|
9
|
+
columns: import("../..").HysFormGridValue;
|
|
10
|
+
align: import("./descriptionsTypes").HysDescriptionAlign;
|
|
11
|
+
labelAlign: import("./descriptionsTypes").HysDescriptionAlign;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { CSSProperties, VNodeChild } from "vue";
|
|
2
|
+
import type { HysFormGridValue } from "../../composables/formLayout";
|
|
3
|
+
export type HysDescriptionValue = string | number | boolean | bigint | null | undefined;
|
|
4
|
+
export type HysDescriptionAlign = "start" | "center" | "end";
|
|
5
|
+
export type HysDescriptionsColumns = HysFormGridValue;
|
|
6
|
+
export interface HysDescriptionItem {
|
|
7
|
+
key: string | number;
|
|
8
|
+
label: string;
|
|
9
|
+
value?: HysDescriptionValue;
|
|
10
|
+
span?: number | "full";
|
|
11
|
+
rowSpan?: number;
|
|
12
|
+
hidden?: boolean;
|
|
13
|
+
labelWidth?: number | string;
|
|
14
|
+
align?: HysDescriptionAlign;
|
|
15
|
+
labelAlign?: HysDescriptionAlign;
|
|
16
|
+
labelClass?: string;
|
|
17
|
+
contentClass?: string;
|
|
18
|
+
labelStyle?: CSSProperties;
|
|
19
|
+
contentStyle?: CSSProperties;
|
|
20
|
+
format?: (value: HysDescriptionValue, item: HysDescriptionItem) => HysDescriptionValue;
|
|
21
|
+
}
|
|
22
|
+
export interface HysDescriptionsProps {
|
|
23
|
+
items?: readonly HysDescriptionItem[];
|
|
24
|
+
title?: string;
|
|
25
|
+
extra?: string;
|
|
26
|
+
columns?: HysDescriptionsColumns;
|
|
27
|
+
layout?: "horizontal" | "vertical";
|
|
28
|
+
size?: "sm" | "md" | "lg";
|
|
29
|
+
bordered?: boolean;
|
|
30
|
+
colon?: boolean;
|
|
31
|
+
labelWidth?: number | string;
|
|
32
|
+
labelAlign?: HysDescriptionAlign;
|
|
33
|
+
align?: HysDescriptionAlign;
|
|
34
|
+
labelStyle?: CSSProperties;
|
|
35
|
+
contentStyle?: CSSProperties;
|
|
36
|
+
placeholder?: string;
|
|
37
|
+
emptyText?: string;
|
|
38
|
+
ariaLabel?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface HysDescriptionContext {
|
|
41
|
+
item: HysDescriptionItem;
|
|
42
|
+
index: number;
|
|
43
|
+
value: HysDescriptionValue;
|
|
44
|
+
text: string;
|
|
45
|
+
}
|
|
46
|
+
export interface HysDescriptionsSlots {
|
|
47
|
+
title?: () => VNodeChild;
|
|
48
|
+
extra?: () => VNodeChild;
|
|
49
|
+
label?: (context: HysDescriptionContext) => VNodeChild;
|
|
50
|
+
value?: (context: HysDescriptionContext) => VNodeChild;
|
|
51
|
+
empty?: () => VNodeChild;
|
|
52
|
+
[name: `label-${string}`]: ((context: HysDescriptionContext) => VNodeChild) | undefined;
|
|
53
|
+
[name: `value-${string}`]: ((context: HysDescriptionContext) => VNodeChild) | undefined;
|
|
54
|
+
}
|
|
@@ -120,11 +120,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
120
120
|
preserve: boolean;
|
|
121
121
|
columns: HysFormGridValue;
|
|
122
122
|
gap: string | number;
|
|
123
|
+
labelWidth: string | number;
|
|
123
124
|
rules: HysFormRules;
|
|
124
125
|
validateOnRuleChange: boolean;
|
|
125
126
|
validateTrigger: HysFormTrigger | HysFormTrigger[];
|
|
126
127
|
labelPosition: "left" | "right" | "top";
|
|
127
|
-
labelWidth: string | number;
|
|
128
128
|
labelWrap: boolean;
|
|
129
129
|
labelSuffix: string;
|
|
130
130
|
showLabel: boolean;
|
|
@@ -113,8 +113,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
113
113
|
required: boolean;
|
|
114
114
|
group: boolean;
|
|
115
115
|
preserve: boolean;
|
|
116
|
-
labelWrap: boolean;
|
|
117
116
|
colon: boolean;
|
|
117
|
+
labelWrap: boolean;
|
|
118
118
|
showLabel: boolean;
|
|
119
119
|
showFeedback: boolean;
|
|
120
120
|
showRequiredMark: boolean;
|
|
@@ -106,6 +106,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
106
106
|
virtual: boolean;
|
|
107
107
|
overscan: number;
|
|
108
108
|
editable: boolean;
|
|
109
|
+
history: boolean;
|
|
109
110
|
labelWidth: number;
|
|
110
111
|
rowHeight: number;
|
|
111
112
|
labelResizable: boolean;
|
|
@@ -114,7 +115,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
114
115
|
fitContainer: boolean;
|
|
115
116
|
dependencyEditable: boolean;
|
|
116
117
|
showDependencies: boolean;
|
|
117
|
-
history: boolean;
|
|
118
118
|
historyLimit: number;
|
|
119
119
|
historyKeyboard: boolean;
|
|
120
120
|
showHistoryControls: boolean;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type VNodeChild } from "vue";
|
|
2
|
+
import type { HysIconContext, HysIconProps, HysIconReference, HysIconSource } from "./iconTypes";
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default?: (context: HysIconContext) => VNodeChild;
|
|
5
|
+
icon?: (context: HysIconContext) => VNodeChild;
|
|
6
|
+
loading?: (context: HysIconContext) => VNodeChild;
|
|
7
|
+
fallback?: (context: HysIconContext) => VNodeChild;
|
|
8
|
+
badge?: (context: HysIconContext) => VNodeChild;
|
|
9
|
+
};
|
|
10
|
+
declare function play(): void;
|
|
11
|
+
declare function select(value: string): void;
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<HysIconProps, {
|
|
13
|
+
element: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
14
|
+
focus: () => void | undefined;
|
|
15
|
+
select: typeof select;
|
|
16
|
+
reload: () => void;
|
|
17
|
+
preload: (names: readonly string[]) => Promise<PromiseSettledResult<HysIconSource>[]>;
|
|
18
|
+
play: typeof play;
|
|
19
|
+
restart: typeof play;
|
|
20
|
+
pause: () => void;
|
|
21
|
+
resume: () => void;
|
|
22
|
+
stop: () => void;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
change: (context: HysIconContext) => any;
|
|
25
|
+
click: (event: MouseEvent) => any;
|
|
26
|
+
keydown: (event: KeyboardEvent) => any;
|
|
27
|
+
blur: (event: FocusEvent) => any;
|
|
28
|
+
dblclick: (event: MouseEvent) => any;
|
|
29
|
+
error: (error: unknown, context: HysIconContext) => any;
|
|
30
|
+
focus: (event: FocusEvent) => any;
|
|
31
|
+
load: (context: HysIconContext, event?: Event | undefined) => any;
|
|
32
|
+
mouseenter: (event: MouseEvent) => any;
|
|
33
|
+
mouseleave: (event: MouseEvent) => any;
|
|
34
|
+
"update:name": (name: string) => any;
|
|
35
|
+
"update:selected": (selected: boolean) => any;
|
|
36
|
+
statusChange: (status: string, previous: string) => any;
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<HysIconProps> & Readonly<{
|
|
38
|
+
onChange?: ((context: HysIconContext) => any) | undefined;
|
|
39
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
40
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
42
|
+
onDblclick?: ((event: MouseEvent) => any) | undefined;
|
|
43
|
+
onError?: ((error: unknown, context: HysIconContext) => any) | undefined;
|
|
44
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
45
|
+
onLoad?: ((context: HysIconContext, event?: Event | undefined) => any) | undefined;
|
|
46
|
+
onMouseenter?: ((event: MouseEvent) => any) | undefined;
|
|
47
|
+
onMouseleave?: ((event: MouseEvent) => any) | undefined;
|
|
48
|
+
"onUpdate:name"?: ((name: string) => any) | undefined;
|
|
49
|
+
"onUpdate:selected"?: ((selected: boolean) => any) | undefined;
|
|
50
|
+
onStatusChange?: ((status: string, previous: string) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
paused: boolean;
|
|
54
|
+
active: boolean;
|
|
55
|
+
readonly: boolean;
|
|
56
|
+
fallback: false | HysIconReference;
|
|
57
|
+
loadingIcon: false | HysIconReference;
|
|
58
|
+
selected: boolean;
|
|
59
|
+
directional: boolean;
|
|
60
|
+
badge: string | number | boolean;
|
|
61
|
+
flipX: boolean;
|
|
62
|
+
flipY: boolean;
|
|
63
|
+
animated: boolean;
|
|
64
|
+
decorative: boolean;
|
|
65
|
+
clickable: boolean;
|
|
66
|
+
picker: boolean;
|
|
67
|
+
allowUpload: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type PropType, type VNode } from "vue";
|
|
2
|
+
import type { HysIconSource } from "../iconTypes";
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
source: {
|
|
7
|
+
type: PropType<HysIconSource>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
variant: StringConstructor;
|
|
11
|
+
fill: StringConstructor;
|
|
12
|
+
stroke: StringConstructor;
|
|
13
|
+
strokeWidth: NumberConstructor;
|
|
14
|
+
fit: StringConstructor;
|
|
15
|
+
gradient: PropType<readonly string[]>;
|
|
16
|
+
allowedOrigins: PropType<readonly string[]>;
|
|
17
|
+
morphTo: StringConstructor;
|
|
18
|
+
draw: BooleanConstructor;
|
|
19
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
load: (_event: Event) => true;
|
|
23
|
+
error: (_event: Event) => true;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
source: {
|
|
26
|
+
type: PropType<HysIconSource>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
variant: StringConstructor;
|
|
30
|
+
fill: StringConstructor;
|
|
31
|
+
stroke: StringConstructor;
|
|
32
|
+
strokeWidth: NumberConstructor;
|
|
33
|
+
fit: StringConstructor;
|
|
34
|
+
gradient: PropType<readonly string[]>;
|
|
35
|
+
allowedOrigins: PropType<readonly string[]>;
|
|
36
|
+
morphTo: StringConstructor;
|
|
37
|
+
draw: BooleanConstructor;
|
|
38
|
+
}>> & Readonly<{
|
|
39
|
+
onError?: ((_event: Event) => any) | undefined;
|
|
40
|
+
onLoad?: ((_event: Event) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
draw: boolean;
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HysIconPickerLocale, HysIconRegistry } from "../iconTypes";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
name?: string;
|
|
4
|
+
registry: HysIconRegistry;
|
|
5
|
+
variant?: string;
|
|
6
|
+
allowUpload?: boolean;
|
|
7
|
+
storageKey?: string;
|
|
8
|
+
allowedOrigins?: readonly string[];
|
|
9
|
+
locale?: Partial<HysIconPickerLocale>;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
select: (name: string) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onSelect?: ((name: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { HysIconReference, HysIconRegistry } from "../iconTypes";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
icon: HysIconReference;
|
|
4
|
+
registry: HysIconRegistry;
|
|
5
|
+
variant?: string;
|
|
6
|
+
allowedOrigins?: readonly string[];
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
text: StringConstructor;
|
|
5
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
text: StringConstructor;
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const accountIcons: {
|
|
2
|
+
users: import("../iconTypes").HysIconEntry;
|
|
3
|
+
"user-plus": import("../iconTypes").HysIconEntry;
|
|
4
|
+
"user-check": import("../iconTypes").HysIconEntry;
|
|
5
|
+
contact: import("../iconTypes").HysIconEntry;
|
|
6
|
+
"id-card": import("../iconTypes").HysIconEntry;
|
|
7
|
+
"badge-check": import("../iconTypes").HysIconEntry;
|
|
8
|
+
lock: import("../iconTypes").HysIconEntry;
|
|
9
|
+
"lock-open": import("../iconTypes").HysIconEntry;
|
|
10
|
+
"key-round": import("../iconTypes").HysIconEntry;
|
|
11
|
+
shield: import("../iconTypes").HysIconEntry;
|
|
12
|
+
"shield-check": import("../iconTypes").HysIconEntry;
|
|
13
|
+
"shield-alert": import("../iconTypes").HysIconEntry;
|
|
14
|
+
fingerprint: import("../iconTypes").HysIconEntry;
|
|
15
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const actionsIcons: {
|
|
2
|
+
pencil: import("../iconTypes").HysIconEntry;
|
|
3
|
+
"square-pen": import("../iconTypes").HysIconEntry;
|
|
4
|
+
"trash-2": import("../iconTypes").HysIconEntry;
|
|
5
|
+
save: import("../iconTypes").HysIconEntry;
|
|
6
|
+
clipboard: import("../iconTypes").HysIconEntry;
|
|
7
|
+
scissors: import("../iconTypes").HysIconEntry;
|
|
8
|
+
eye: import("../iconTypes").HysIconEntry;
|
|
9
|
+
"eye-off": import("../iconTypes").HysIconEntry;
|
|
10
|
+
filter: import("../iconTypes").HysIconEntry;
|
|
11
|
+
"list-filter": import("../iconTypes").HysIconEntry;
|
|
12
|
+
"undo-2": import("../iconTypes").HysIconEntry;
|
|
13
|
+
"redo-2": import("../iconTypes").HysIconEntry;
|
|
14
|
+
maximize: import("../iconTypes").HysIconEntry;
|
|
15
|
+
minimize: import("../iconTypes").HysIconEntry;
|
|
16
|
+
"zoom-in": import("../iconTypes").HysIconEntry;
|
|
17
|
+
"zoom-out": import("../iconTypes").HysIconEntry;
|
|
18
|
+
"grip-vertical": import("../iconTypes").HysIconEntry;
|
|
19
|
+
pin: import("../iconTypes").HysIconEntry;
|
|
20
|
+
};
|
|
21
|
+
export declare const statusIcons: {
|
|
22
|
+
"circle-x": import("../iconTypes").HysIconEntry;
|
|
23
|
+
"circle-dashed": import("../iconTypes").HysIconEntry;
|
|
24
|
+
"circle-dot": import("../iconTypes").HysIconEntry;
|
|
25
|
+
ban: import("../iconTypes").HysIconEntry;
|
|
26
|
+
"octagon-alert": import("../iconTypes").HysIconEntry;
|
|
27
|
+
triangle: import("../iconTypes").HysIconEntry;
|
|
28
|
+
sparkles: import("../iconTypes").HysIconEntry;
|
|
29
|
+
zap: import("../iconTypes").HysIconEntry;
|
|
30
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const dataIcons: {
|
|
2
|
+
"chart-column": import("../iconTypes").HysIconEntry;
|
|
3
|
+
"chart-bar": import("../iconTypes").HysIconEntry;
|
|
4
|
+
"chart-line": import("../iconTypes").HysIconEntry;
|
|
5
|
+
"chart-pie": import("../iconTypes").HysIconEntry;
|
|
6
|
+
"chart-area": import("../iconTypes").HysIconEntry;
|
|
7
|
+
"trending-up": import("../iconTypes").HysIconEntry;
|
|
8
|
+
"trending-down": import("../iconTypes").HysIconEntry;
|
|
9
|
+
activity: import("../iconTypes").HysIconEntry;
|
|
10
|
+
database: import("../iconTypes").HysIconEntry;
|
|
11
|
+
table: import("../iconTypes").HysIconEntry;
|
|
12
|
+
gauge: import("../iconTypes").HysIconEntry;
|
|
13
|
+
"list-ordered": import("../iconTypes").HysIconEntry;
|
|
14
|
+
percent: import("../iconTypes").HysIconEntry;
|
|
15
|
+
};
|
|
16
|
+
export declare const commerceIcons: {
|
|
17
|
+
"shopping-cart": import("../iconTypes").HysIconEntry;
|
|
18
|
+
"shopping-bag": import("../iconTypes").HysIconEntry;
|
|
19
|
+
store: import("../iconTypes").HysIconEntry;
|
|
20
|
+
package: import("../iconTypes").HysIconEntry;
|
|
21
|
+
"package-check": import("../iconTypes").HysIconEntry;
|
|
22
|
+
truck: import("../iconTypes").HysIconEntry;
|
|
23
|
+
receipt: import("../iconTypes").HysIconEntry;
|
|
24
|
+
"credit-card": import("../iconTypes").HysIconEntry;
|
|
25
|
+
wallet: import("../iconTypes").HysIconEntry;
|
|
26
|
+
banknote: import("../iconTypes").HysIconEntry;
|
|
27
|
+
coins: import("../iconTypes").HysIconEntry;
|
|
28
|
+
gift: import("../iconTypes").HysIconEntry;
|
|
29
|
+
tag: import("../iconTypes").HysIconEntry;
|
|
30
|
+
ticket: import("../iconTypes").HysIconEntry;
|
|
31
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const communicationIcons: {
|
|
2
|
+
mail: import("../iconTypes").HysIconEntry;
|
|
3
|
+
"mail-open": import("../iconTypes").HysIconEntry;
|
|
4
|
+
inbox: import("../iconTypes").HysIconEntry;
|
|
5
|
+
send: import("../iconTypes").HysIconEntry;
|
|
6
|
+
"message-circle": import("../iconTypes").HysIconEntry;
|
|
7
|
+
"messages-square": import("../iconTypes").HysIconEntry;
|
|
8
|
+
bell: import("../iconTypes").HysIconEntry;
|
|
9
|
+
"bell-off": import("../iconTypes").HysIconEntry;
|
|
10
|
+
phone: import("../iconTypes").HysIconEntry;
|
|
11
|
+
"phone-off": import("../iconTypes").HysIconEntry;
|
|
12
|
+
headset: import("../iconTypes").HysIconEntry;
|
|
13
|
+
megaphone: import("../iconTypes").HysIconEntry;
|
|
14
|
+
"share-2": import("../iconTypes").HysIconEntry;
|
|
15
|
+
"at-sign": import("../iconTypes").HysIconEntry;
|
|
16
|
+
};
|
|
17
|
+
export declare const timeIcons: {
|
|
18
|
+
calendar: import("../iconTypes").HysIconEntry;
|
|
19
|
+
"calendar-days": import("../iconTypes").HysIconEntry;
|
|
20
|
+
"calendar-check": import("../iconTypes").HysIconEntry;
|
|
21
|
+
"calendar-plus": import("../iconTypes").HysIconEntry;
|
|
22
|
+
clock: import("../iconTypes").HysIconEntry;
|
|
23
|
+
"alarm-clock": import("../iconTypes").HysIconEntry;
|
|
24
|
+
timer: import("../iconTypes").HysIconEntry;
|
|
25
|
+
history: import("../iconTypes").HysIconEntry;
|
|
26
|
+
hourglass: import("../iconTypes").HysIconEntry;
|
|
27
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const filesIcons: {
|
|
2
|
+
"file-text": import("../iconTypes").HysIconEntry;
|
|
3
|
+
files: import("../iconTypes").HysIconEntry;
|
|
4
|
+
"file-plus": import("../iconTypes").HysIconEntry;
|
|
5
|
+
"file-search": import("../iconTypes").HysIconEntry;
|
|
6
|
+
"file-code": import("../iconTypes").HysIconEntry;
|
|
7
|
+
"file-spreadsheet": import("../iconTypes").HysIconEntry;
|
|
8
|
+
"file-image": import("../iconTypes").HysIconEntry;
|
|
9
|
+
"folder-open": import("../iconTypes").HysIconEntry;
|
|
10
|
+
"folder-plus": import("../iconTypes").HysIconEntry;
|
|
11
|
+
archive: import("../iconTypes").HysIconEntry;
|
|
12
|
+
paperclip: import("../iconTypes").HysIconEntry;
|
|
13
|
+
printer: import("../iconTypes").HysIconEntry;
|
|
14
|
+
};
|
|
15
|
+
export declare const editorIcons: {
|
|
16
|
+
bold: import("../iconTypes").HysIconEntry;
|
|
17
|
+
italic: import("../iconTypes").HysIconEntry;
|
|
18
|
+
underline: import("../iconTypes").HysIconEntry;
|
|
19
|
+
strikethrough: import("../iconTypes").HysIconEntry;
|
|
20
|
+
"align-left": import("../iconTypes").HysIconEntry;
|
|
21
|
+
"align-center": import("../iconTypes").HysIconEntry;
|
|
22
|
+
"align-right": import("../iconTypes").HysIconEntry;
|
|
23
|
+
"align-justify": import("../iconTypes").HysIconEntry;
|
|
24
|
+
heading: import("../iconTypes").HysIconEntry;
|
|
25
|
+
quote: import("../iconTypes").HysIconEntry;
|
|
26
|
+
code: import("../iconTypes").HysIconEntry;
|
|
27
|
+
"indent-increase": import("../iconTypes").HysIconEntry;
|
|
28
|
+
"indent-decrease": import("../iconTypes").HysIconEntry;
|
|
29
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const mediaIcons: {
|
|
2
|
+
play: import("../iconTypes").HysIconEntry;
|
|
3
|
+
pause: import("../iconTypes").HysIconEntry;
|
|
4
|
+
square: import("../iconTypes").HysIconEntry;
|
|
5
|
+
"skip-back": import("../iconTypes").HysIconEntry;
|
|
6
|
+
"skip-forward": import("../iconTypes").HysIconEntry;
|
|
7
|
+
"volume-2": import("../iconTypes").HysIconEntry;
|
|
8
|
+
"volume-x": import("../iconTypes").HysIconEntry;
|
|
9
|
+
mic: import("../iconTypes").HysIconEntry;
|
|
10
|
+
"mic-off": import("../iconTypes").HysIconEntry;
|
|
11
|
+
camera: import("../iconTypes").HysIconEntry;
|
|
12
|
+
video: import("../iconTypes").HysIconEntry;
|
|
13
|
+
music: import("../iconTypes").HysIconEntry;
|
|
14
|
+
};
|
|
15
|
+
export declare const locationIcons: {
|
|
16
|
+
"map-pin": import("../iconTypes").HysIconEntry;
|
|
17
|
+
map: import("../iconTypes").HysIconEntry;
|
|
18
|
+
route: import("../iconTypes").HysIconEntry;
|
|
19
|
+
flag: import("../iconTypes").HysIconEntry;
|
|
20
|
+
globe: import("../iconTypes").HysIconEntry;
|
|
21
|
+
"locate-fixed": import("../iconTypes").HysIconEntry;
|
|
22
|
+
"building-2": import("../iconTypes").HysIconEntry;
|
|
23
|
+
earth: import("../iconTypes").HysIconEntry;
|
|
24
|
+
};
|