hys-ui 0.1.1 → 0.3.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 +149 -0
- package/README.md +17 -1
- package/dist/components/HysAccordion/HysAccordion.vue.js +1 -1
- package/dist/components/HysAccordion/HysAccordion2.vue.js +181 -47
- package/dist/components/HysAlert/HysAlert.vue.js +5 -54
- package/dist/components/HysAlert/HysAlert2.vue.js +159 -2
- package/dist/components/HysAutocomplete/HysAutocomplete.vue.js +7 -0
- package/dist/components/HysAutocomplete/HysAutocomplete2.vue.js +639 -0
- package/dist/components/HysAvatar/HysAvatar.vue.js +5 -35
- package/dist/components/HysAvatar/HysAvatar2.vue.js +221 -2
- package/dist/components/HysAvatarGroup/HysAvatarGroup.vue.js +7 -0
- package/dist/components/HysAvatarGroup/HysAvatarGroup2.vue.js +256 -0
- package/dist/components/HysBadge/HysBadge.vue.js +2 -2
- package/dist/components/HysBadge/HysBadge2.vue.js +154 -27
- package/dist/components/HysBreadcrumb/HysBreadcrumb.vue.js +5 -38
- package/dist/components/HysBreadcrumb/HysBreadcrumb2.vue.js +288 -2
- package/dist/components/HysButton/HysButton.vue.js +2 -2
- package/dist/components/HysButton/HysButton2.vue.js +29 -28
- package/dist/components/HysCalendar/HysCalendar.vue.js +5 -92
- package/dist/components/HysCalendar/HysCalendar2.vue.js +815 -2
- package/dist/components/HysCard/HysCard.vue.js +2 -2
- package/dist/components/HysCard/HysCard2.vue.js +175 -42
- package/dist/components/HysCascader/HysCascader.vue.js +5 -194
- package/dist/components/HysCascader/HysCascader2.vue.js +773 -2
- package/dist/components/HysCascader/HysCascaderColumn.vue.js +7 -0
- package/dist/components/HysCascader/HysCascaderColumn2.vue.js +232 -0
- package/dist/components/HysCheckbox/HysCheckbox.vue.js +3 -3
- package/dist/components/HysCheckbox/HysCheckbox2.vue.js +180 -65
- package/dist/components/HysCheckboxGroup/HysCheckboxGroup.vue.js +7 -0
- package/dist/components/HysCheckboxGroup/HysCheckboxGroup2.vue.js +237 -0
- package/dist/components/HysColorPicker/HysColorPanel.vue.js +7 -0
- package/dist/components/HysColorPicker/HysColorPanel2.vue.js +238 -0
- package/dist/components/HysColorPicker/HysColorPicker.vue.js +1 -1
- package/dist/components/HysColorPicker/HysColorPicker2.vue.js +239 -216
- package/dist/components/HysCommandPalette/HysCommandPalette.vue.js +90 -76
- package/dist/components/HysContextMenu/HysContextMenu.vue.js +5 -89
- package/dist/components/HysContextMenu/HysContextMenu2.vue.js +247 -2
- package/dist/components/HysContextMenu/HysMenuPanel.vue.js +7 -0
- package/dist/components/HysContextMenu/HysMenuPanel2.vue.js +208 -0
- package/dist/components/HysContextMenu/HysMenuSlot.js +10 -0
- package/dist/components/HysDataGrid/HysDataGrid.vue.js +1 -1
- package/dist/components/HysDataGrid/HysDataGrid2.vue.js +1019 -563
- package/dist/components/HysDatePicker/HysDatePicker.vue.js +270 -139
- package/dist/components/HysDatePicker/HysDatePickerControl.vue.js +7 -0
- package/dist/components/HysDatePicker/HysDatePickerControl2.vue.js +820 -0
- package/dist/components/HysDatePicker/HysDatePickerPanel.vue.js +7 -0
- package/dist/components/HysDatePicker/HysDatePickerPanel2.vue.js +357 -0
- package/dist/components/HysDateRangePicker/HysDateRangePicker.vue.js +270 -158
- package/dist/components/HysDivider/HysDivider.vue.js +2 -2
- package/dist/components/HysDivider/HysDivider2.vue.js +33 -13
- package/dist/components/HysDrawer/HysDrawer.vue.js +1 -1
- package/dist/components/HysDrawer/HysDrawer2.vue.js +434 -84
- package/dist/components/HysEmpty/HysEmpty.vue.js +5 -41
- package/dist/components/HysEmpty/HysEmpty2.vue.js +181 -2
- package/dist/components/HysFileManager/HysFileManager.vue.js +3 -3
- package/dist/components/HysFileManager/HysFileManager2.vue.js +43 -42
- package/dist/components/HysForm/HysForm.vue.js +3 -3
- package/dist/components/HysForm/HysForm2.vue.js +578 -92
- package/dist/components/HysFormItem/HysFormItem.vue.js +5 -85
- package/dist/components/HysFormItem/HysFormItem2.vue.js +528 -2
- package/dist/components/HysGantt/HysGantt.vue.js +1 -1
- package/dist/components/HysGantt/HysGantt2.vue.js +1380 -268
- package/dist/components/HysInput/HysInput.vue.js +2 -2
- package/dist/components/HysInput/HysInput2.vue.js +467 -120
- package/dist/components/HysMention/HysMention.vue.js +2 -2
- package/dist/components/HysMention/HysMention2.vue.js +122 -109
- package/dist/components/HysModal/HysModal.vue.js +2 -2
- package/dist/components/HysModal/HysModal2.vue.js +490 -85
- package/dist/components/HysNumberInput/HysNumberInput.vue.js +2 -2
- package/dist/components/HysNumberInput/HysNumberInput2.vue.js +561 -79
- package/dist/components/HysOrgTree/HysOrgTree.vue.js +29 -26
- package/dist/components/HysPagination/HysPagination.vue.js +1 -1
- package/dist/components/HysPagination/HysPagination2.vue.js +2 -0
- package/dist/components/HysPermissionMatrix/HysPermissionMatrix.vue.js +2 -2
- package/dist/components/HysPermissionMatrix/HysPermissionMatrix2.vue.js +52 -51
- package/dist/components/HysPopover/HysPopover.vue.js +5 -91
- package/dist/components/HysPopover/HysPopover2.vue.js +120 -2
- package/dist/components/HysProgress/HysProgress.vue.js +2 -2
- package/dist/components/HysProgress/HysProgress2.vue.js +319 -52
- package/dist/components/HysRadio/HysRadio.vue.js +7 -0
- package/dist/components/HysRadio/HysRadio2.vue.js +180 -0
- package/dist/components/HysRadioGroup/HysRadioGroup.vue.js +2 -2
- package/dist/components/HysRadioGroup/HysRadioGroup2.vue.js +190 -65
- package/dist/components/HysRating/HysRating.vue.js +1 -1
- package/dist/components/HysRating/HysRating2.vue.js +288 -68
- package/dist/components/HysRichTextEditor/HysRichTextEditor.vue.js +1 -1
- package/dist/components/HysRichTextEditor/HysRichTextEditor2.vue.js +70 -69
- package/dist/components/HysSearch/HysSearch.vue.js +37 -36
- package/dist/components/HysSegmented/HysSegmented.vue.js +5 -63
- package/dist/components/HysSegmented/HysSegmented2.vue.js +273 -2
- package/dist/components/HysSelect/HysSelect.vue.js +3 -2
- package/dist/components/HysSelect/HysSelect2.vue.js +999 -189
- package/dist/components/HysSkeleton/HysSkeleton.vue.js +2 -2
- package/dist/components/HysSkeleton/HysSkeleton2.vue.js +126 -29
- package/dist/components/HysSlider/HysSlider.vue.js +1 -1
- package/dist/components/HysSlider/HysSlider2.vue.js +536 -59
- package/dist/components/HysSlider/SliderTooltip.vue.js +7 -0
- package/dist/components/HysSlider/SliderTooltip2.vue.js +170 -0
- package/dist/components/HysSteps/HysSteps.vue.js +1 -1
- package/dist/components/HysSteps/HysSteps2.vue.js +110 -36
- package/dist/components/HysSwitch/HysSwitch.vue.js +2 -2
- package/dist/components/HysSwitch/HysSwitch2.vue.js +232 -50
- package/dist/components/HysTable/HysTable.vue.js +1 -1
- package/dist/components/HysTable/HysTable2.vue.js +1494 -88
- package/dist/components/HysTable/HysTableFilterOptions.vue.js +7 -0
- package/dist/components/HysTable/HysTableFilterOptions2.vue.js +133 -0
- package/dist/components/HysTabs/HysTabs.vue.js +2 -2
- package/dist/components/HysTabs/HysTabs2.vue.js +262 -68
- package/dist/components/HysTagInput/HysTagInput.vue.js +5 -81
- package/dist/components/HysTagInput/HysTagInput2.vue.js +396 -2
- package/dist/components/HysTextarea/HysTextarea.vue.js +138 -77
- package/dist/components/HysTimeline/HysTimeline.vue.js +2 -2
- package/dist/components/HysTimeline/HysTimeline2.vue.js +243 -24
- package/dist/components/HysTooltip/HysTooltip.vue.js +5 -64
- package/dist/components/HysTooltip/HysTooltip2.vue.js +110 -2
- package/dist/components/HysTour/HysTour.vue.js +46 -42
- package/dist/components/HysTransfer/HysTransfer.vue.js +5 -223
- package/dist/components/HysTransfer/HysTransfer2.vue.js +446 -2
- package/dist/components/HysTransfer/HysTransferPanel.vue.js +7 -0
- package/dist/components/HysTransfer/HysTransferPanel2.vue.js +503 -0
- package/dist/components/HysTree/HysTree.vue.js +2 -3
- package/dist/components/HysTree/HysTree2.vue.js +651 -301
- package/dist/components/HysTreeSelect/HysTreeSelect.vue.js +5 -136
- package/dist/components/HysTreeSelect/HysTreeSelect2.vue.js +570 -2
- package/dist/components/HysTreeSelect/HysTreeSelectPanel.vue.js +7 -0
- package/dist/components/HysTreeSelect/HysTreeSelectPanel2.vue.js +323 -0
- package/dist/components/HysUpload/HysUpload.vue.js +2 -2
- package/dist/components/HysUpload/HysUpload2.vue.js +459 -124
- package/dist/components/HysVirtualTable/HysVirtualTable.vue.js +5 -94
- package/dist/components/HysVirtualTable/HysVirtualTable2.vue.js +656 -2
- package/dist/composables/autocomplete.js +50 -0
- package/dist/composables/avatar.js +57 -0
- package/dist/composables/calendar.js +96 -0
- package/dist/composables/cascader.js +79 -0
- package/dist/composables/choice.js +38 -0
- package/dist/composables/choiceModel.js +67 -0
- package/dist/composables/color.js +97 -0
- package/dist/composables/dataGrid.js +68 -0
- package/dist/composables/datePicker.js +227 -0
- package/dist/composables/drawer.js +17 -0
- package/dist/composables/feedback.js +14 -0
- package/dist/composables/formContext.js +92 -7
- package/dist/composables/formLayout.js +57 -0
- package/dist/composables/formValidation.js +240 -0
- package/dist/composables/ganttConflicts.js +143 -0
- package/dist/composables/menu.js +96 -0
- package/dist/composables/modal.js +14 -0
- package/dist/composables/numberInput.js +91 -0
- package/dist/composables/overlayManager.js +48 -18
- package/dist/composables/progress.js +94 -0
- package/dist/composables/rating.js +16 -0
- package/dist/composables/selectOptions.js +54 -0
- package/dist/composables/table.js +150 -0
- package/dist/composables/tagInput.js +16 -0
- package/dist/composables/textInput.js +34 -0
- package/dist/composables/timeline.js +19 -0
- package/dist/composables/transfer.js +65 -0
- package/dist/composables/tree.js +118 -0
- package/dist/composables/treeSelect.js +71 -0
- package/dist/composables/upload.js +55 -0
- package/dist/composables/uploadRequest.js +58 -0
- package/dist/composables/useAlert.js +124 -0
- package/dist/composables/useCascader.js +438 -0
- package/dist/composables/useColorPicker.js +402 -0
- package/dist/composables/useContextMenu.js +514 -0
- package/dist/composables/useDataGridRemote.js +67 -0
- package/dist/composables/useDatePicker.js +425 -0
- package/dist/composables/useDialog.js +86 -43
- package/dist/composables/useDrawerPush.js +33 -0
- package/dist/composables/useDrawerResize.js +221 -0
- package/dist/composables/useFloating.js +136 -56
- package/dist/composables/useGanttDependencies.js +306 -0
- package/dist/composables/useGanttHistory.js +157 -0
- package/dist/composables/useGanttLabelResize.js +100 -0
- package/dist/composables/useHysModal.js +185 -0
- package/dist/composables/useModal.js +295 -0
- package/dist/composables/useModalInteraction.js +394 -0
- package/dist/composables/usePopupSurface.js +458 -0
- package/dist/composables/useTable.js +474 -0
- package/dist/composables/useTagInput.js +313 -0
- package/dist/composables/useTextareaSize.js +72 -0
- package/dist/composables/useTransfer.js +257 -0
- package/dist/composables/useTransferMotion.js +185 -0
- package/dist/composables/useTree.js +439 -0
- package/dist/composables/useTreeSelect.js +361 -0
- package/dist/composables/useUpload.js +472 -0
- package/dist/composables/useUploadModel.js +65 -0
- package/dist/composables/useUploadRequests.js +266 -0
- package/dist/composables/useVirtualTableLayout.js +277 -0
- package/dist/composables/virtualTable.js +43 -0
- package/dist/index.js +152 -139
- package/dist/internal/PopupReference.js +39 -0
- package/dist/internal/PopupSurfacePanel.vue.js +7 -0
- package/dist/internal/PopupSurfacePanel2.vue.js +92 -0
- package/dist/motion/PopupMotion.js +105 -0
- package/dist/motion/popup.js +10 -0
- package/dist/style.css +1 -1
- package/dist/types/components/HysAccordion/HysAccordion.vue.d.ts +61 -22
- package/dist/types/components/HysAlert/HysAlert.vue.d.ts +32 -22
- package/dist/types/components/HysAutocomplete/HysAutocomplete.vue.d.ts +201 -0
- package/dist/types/components/HysAvatar/HysAvatar.vue.d.ts +28 -15
- package/dist/types/components/HysAvatarGroup/HysAvatarGroup.vue.d.ts +104 -0
- package/dist/types/components/HysBadge/HysBadge.vue.d.ts +41 -4
- package/dist/types/components/HysBreadcrumb/HysBreadcrumb.vue.d.ts +71 -20
- package/dist/types/components/HysButton/HysButton.vue.d.ts +0 -1
- package/dist/types/components/HysCalendar/HysCalendar.vue.d.ts +120 -31
- package/dist/types/components/HysCard/HysCard.vue.d.ts +55 -7
- package/dist/types/components/HysCascader/HysCascader.vue.d.ts +129 -41
- package/dist/types/components/HysCascader/HysCascaderColumn.vue.d.ts +55 -0
- package/dist/types/components/HysCheckbox/HysCheckbox.vue.d.ts +50 -39
- package/dist/types/components/HysCheckboxGroup/HysCheckboxGroup.vue.d.ts +73 -0
- package/dist/types/components/HysColorPicker/HysColorPanel.vue.d.ts +58 -0
- package/dist/types/components/HysColorPicker/HysColorPicker.vue.d.ts +63 -10
- package/dist/types/components/HysCommandPalette/HysCommandPalette.vue.d.ts +2 -1
- package/dist/types/components/HysContextMenu/HysContextMenu.vue.d.ts +50 -34
- package/dist/types/components/HysContextMenu/HysMenuPanel.vue.d.ts +79 -0
- package/dist/types/components/HysContextMenu/HysMenuSlot.d.ts +8 -0
- package/dist/types/components/HysDataGrid/HysDataGrid.vue.d.ts +65 -118
- package/dist/types/components/HysDatePicker/HysDatePicker.vue.d.ts +66 -14
- package/dist/types/components/HysDatePicker/HysDatePickerControl.vue.d.ts +90 -0
- package/dist/types/components/HysDatePicker/HysDatePickerPanel.vue.d.ts +93 -0
- package/dist/types/components/HysDateRangePicker/HysDateRangePicker.vue.d.ts +66 -14
- package/dist/types/components/HysDivider/HysDivider.vue.d.ts +8 -3
- package/dist/types/components/HysDrawer/HysDrawer.vue.d.ts +92 -35
- package/dist/types/components/HysEmpty/HysEmpty.vue.d.ts +24 -20
- package/dist/types/components/HysForm/HysForm.vue.d.ts +110 -18
- package/dist/types/components/HysFormItem/HysFormItem.vue.d.ts +108 -2
- package/dist/types/components/HysGantt/HysGantt.vue.d.ts +84 -5
- package/dist/types/components/HysInput/HysInput.vue.d.ts +52 -29
- package/dist/types/components/HysMention/HysMention.vue.d.ts +4 -3
- package/dist/types/components/HysModal/HysModal.vue.d.ts +111 -34
- package/dist/types/components/HysNumberInput/HysNumberInput.vue.d.ts +93 -35
- package/dist/types/components/HysOrgTree/HysOrgTree.vue.d.ts +1 -0
- package/dist/types/components/HysPagination/HysPagination.vue.d.ts +1 -1
- package/dist/types/components/HysPermissionMatrix/HysPermissionMatrix.vue.d.ts +2 -2
- package/dist/types/components/HysPopover/HysPopover.vue.d.ts +41 -29
- package/dist/types/components/HysProgress/HysProgress.vue.d.ts +18 -24
- package/dist/types/components/HysRadio/HysRadio.vue.d.ts +56 -0
- package/dist/types/components/HysRadioGroup/HysRadioGroup.vue.d.ts +34 -12
- package/dist/types/components/HysRating/HysRating.vue.d.ts +85 -5
- package/dist/types/components/HysResizablePanel/HysResizablePanel.vue.d.ts +2 -2
- package/dist/types/components/HysRichTextEditor/HysRichTextEditor.vue.d.ts +4 -4
- package/dist/types/components/HysSearch/HysSearch.vue.d.ts +2 -2
- package/dist/types/components/HysSegmented/HysSegmented.vue.d.ts +64 -32
- package/dist/types/components/HysSelect/HysSelect.vue.d.ts +131 -22
- package/dist/types/components/HysSkeleton/HysSkeleton.vue.d.ts +30 -2
- package/dist/types/components/HysSlider/HysSlider.vue.d.ts +69 -11
- package/dist/types/components/HysSlider/SliderTooltip.vue.d.ts +24 -0
- package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +3 -3
- package/dist/types/components/HysSteps/HysSteps.vue.d.ts +64 -9
- package/dist/types/components/HysSwitch/HysSwitch.vue.d.ts +76 -17
- package/dist/types/components/HysTable/HysTable.vue.d.ts +206 -32
- package/dist/types/components/HysTable/HysTableFilterOptions.vue.d.ts +18 -0
- package/dist/types/components/HysTabs/HysTabs.vue.d.ts +76 -23
- package/dist/types/components/HysTagInput/HysTagInput.vue.d.ts +50 -28
- package/dist/types/components/HysTextarea/HysTextarea.vue.d.ts +44 -27
- package/dist/types/components/HysTimeline/HysTimeline.vue.d.ts +19 -32
- package/dist/types/components/HysToast/HysToast.vue.d.ts +3 -3
- package/dist/types/components/HysTooltip/HysTooltip.vue.d.ts +39 -19
- package/dist/types/components/HysTour/HysTour.vue.d.ts +4 -3
- package/dist/types/components/HysTransfer/HysTransfer.vue.d.ts +55 -40
- package/dist/types/components/HysTransfer/HysTransferPanel.vue.d.ts +107 -0
- package/dist/types/components/HysTree/HysTree.vue.d.ts +140 -73
- package/dist/types/components/HysTreeSelect/HysTreeSelect.vue.d.ts +102 -23
- package/dist/types/components/HysTreeSelect/HysTreeSelectPanel.vue.d.ts +56 -0
- package/dist/types/components/HysUpload/HysUpload.vue.d.ts +55 -67
- package/dist/types/components/HysVirtualTable/HysVirtualTable.vue.d.ts +71 -40
- package/dist/types/composables/autocomplete.d.ts +109 -0
- package/dist/types/composables/avatar.d.ts +73 -0
- package/dist/types/composables/calendar.d.ts +66 -0
- package/dist/types/composables/cascader.d.ts +195 -0
- package/dist/types/composables/choice.d.ts +110 -0
- package/dist/types/composables/choiceModel.d.ts +11 -0
- package/dist/types/composables/color.d.ts +97 -0
- package/dist/types/composables/dataGrid.d.ts +100 -0
- package/dist/types/composables/datePicker.d.ts +250 -0
- package/dist/types/composables/drawer.d.ts +102 -0
- package/dist/types/composables/feedback.d.ts +98 -0
- package/dist/types/composables/formContext.d.ts +135 -8
- package/dist/types/composables/formLayout.d.ts +11 -0
- package/dist/types/composables/formValidation.d.ts +13 -0
- package/dist/types/composables/gantt.d.ts +68 -0
- package/dist/types/composables/ganttConflicts.d.ts +30 -0
- package/dist/types/composables/menu.d.ts +183 -0
- package/dist/types/composables/modal.d.ts +183 -0
- package/dist/types/composables/numberInput.d.ts +45 -0
- package/dist/types/composables/overlayManager.d.ts +7 -3
- package/dist/types/composables/popupSurface.d.ts +83 -0
- package/dist/types/composables/progress.d.ts +92 -0
- package/dist/types/composables/rating.d.ts +18 -0
- package/dist/types/composables/segmented.d.ts +15 -0
- package/dist/types/composables/selectOptions.d.ts +46 -0
- package/dist/types/composables/slider.d.ts +21 -0
- package/dist/types/composables/table.d.ts +312 -0
- package/dist/types/composables/tagInput.d.ts +96 -0
- package/dist/types/composables/textInput.d.ts +76 -0
- package/dist/types/composables/timeline.d.ts +82 -0
- package/dist/types/composables/transfer.d.ts +187 -0
- package/dist/types/composables/tree.d.ts +240 -0
- package/dist/types/composables/treeSelect.d.ts +170 -0
- package/dist/types/composables/upload.d.ts +202 -0
- package/dist/types/composables/uploadRequest.d.ts +3 -0
- package/dist/types/composables/useAlert.d.ts +21 -0
- package/dist/types/composables/useCascader.d.ts +162 -0
- package/dist/types/composables/useColorPicker.d.ts +101 -0
- package/dist/types/composables/useContextMenu.d.ts +81 -0
- package/dist/types/composables/useDataGridRemote.d.ts +15 -0
- package/dist/types/composables/useDatePicker.d.ts +79 -0
- package/dist/types/composables/useDialog.d.ts +16 -3
- package/dist/types/composables/useDrawerPush.d.ts +6 -0
- package/dist/types/composables/useDrawerResize.d.ts +27 -0
- package/dist/types/composables/useFloating.d.ts +28 -6
- package/dist/types/composables/useGanttDependencies.d.ts +83 -0
- package/dist/types/composables/useGanttHistory.d.ts +42 -0
- package/dist/types/composables/useGanttLabelResize.d.ts +23 -0
- package/dist/types/composables/useHysModal.d.ts +44 -0
- package/dist/types/composables/useModal.d.ts +62 -0
- package/dist/types/composables/useModalInteraction.d.ts +27 -0
- package/dist/types/composables/usePopupSurface.d.ts +3341 -0
- package/dist/types/composables/useTable.d.ts +60 -0
- package/dist/types/composables/useTagInput.d.ts +66 -0
- package/dist/types/composables/useTextareaSize.d.ts +3 -0
- package/dist/types/composables/useTransfer.d.ts +58 -0
- package/dist/types/composables/useTransferMotion.d.ts +36 -0
- package/dist/types/composables/useTree.d.ts +77 -0
- package/dist/types/composables/useTreeSelect.d.ts +117 -0
- package/dist/types/composables/useUpload.d.ts +94 -0
- package/dist/types/composables/useUploadModel.d.ts +14 -0
- package/dist/types/composables/useUploadRequests.d.ts +38 -0
- package/dist/types/composables/useVirtualTableLayout.d.ts +51 -0
- package/dist/types/composables/virtualTable.d.ts +126 -0
- package/dist/types/index.d.ts +50 -9
- package/dist/types/internal/PopupReference.d.ts +18 -0
- package/dist/types/internal/PopupSurfacePanel.vue.d.ts +37 -0
- package/dist/types/motion/PopupMotion.d.ts +59 -0
- package/dist/types/motion/popup.d.ts +12 -0
- package/package.json +2 -1
|
@@ -1,58 +1,61 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import K from "
|
|
4
|
-
|
|
1
|
+
import { defineComponent as k, computed as y, openBlock as I, createBlock as g, mergeProps as v, unref as p } from "vue";
|
|
2
|
+
import { useHysControlState as B } from "../../composables/formContext.js";
|
|
3
|
+
import { useHysRootAttrs as K } from "../../config.js";
|
|
4
|
+
import V from "../HysTree/HysTree.vue.js";
|
|
5
|
+
const C = /* @__PURE__ */ k({
|
|
5
6
|
__name: "HysOrgTree",
|
|
6
7
|
props: {
|
|
7
8
|
nodes: {},
|
|
8
9
|
modelValue: {},
|
|
9
10
|
searchable: { type: Boolean, default: !0 },
|
|
10
11
|
checkable: { type: Boolean },
|
|
11
|
-
checkedKeys: {}
|
|
12
|
+
checkedKeys: {},
|
|
13
|
+
disabled: { type: Boolean }
|
|
12
14
|
},
|
|
13
15
|
emits: ["update:modelValue", "update:checkedKeys"],
|
|
14
|
-
setup(d, { emit:
|
|
15
|
-
const
|
|
16
|
-
var
|
|
17
|
-
const
|
|
18
|
-
for (const e of
|
|
16
|
+
setup(d, { emit: m }) {
|
|
17
|
+
const f = K(), n = d, { disabled: h } = B(n), l = m, b = y(() => {
|
|
18
|
+
var c;
|
|
19
|
+
const o = /* @__PURE__ */ new Map();
|
|
20
|
+
for (const e of n.nodes) o.has(e.id) || o.set(e.id, e);
|
|
19
21
|
const t = /* @__PURE__ */ new Map();
|
|
20
|
-
for (const e of
|
|
21
|
-
const
|
|
22
|
-
for (const e of
|
|
23
|
-
const
|
|
22
|
+
for (const e of o.values()) t.has(e.id) || t.set(e.id, { id: e.id, label: e.name, disabled: e.disabled, children: [] });
|
|
23
|
+
const a = [];
|
|
24
|
+
for (const e of o.values()) {
|
|
25
|
+
const r = t.get(e.id);
|
|
24
26
|
if (e.parentId && e.parentId !== e.id && t.has(e.parentId)) {
|
|
25
27
|
let s = e.parentId;
|
|
26
|
-
const
|
|
28
|
+
const i = /* @__PURE__ */ new Set([e.id]);
|
|
27
29
|
let u = !1;
|
|
28
30
|
for (; s; ) {
|
|
29
|
-
if (
|
|
31
|
+
if (i.has(s)) {
|
|
30
32
|
u = !0;
|
|
31
33
|
break;
|
|
32
34
|
}
|
|
33
|
-
|
|
35
|
+
i.add(s), s = ((c = o.get(s)) == null ? void 0 : c.parentId) || "";
|
|
34
36
|
}
|
|
35
37
|
if (!u) {
|
|
36
|
-
t.get(e.parentId).children.push(
|
|
38
|
+
t.get(e.parentId).children.push(r);
|
|
37
39
|
continue;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
|
-
|
|
42
|
+
a.push(r);
|
|
41
43
|
}
|
|
42
|
-
return
|
|
44
|
+
return a;
|
|
43
45
|
});
|
|
44
|
-
return (
|
|
45
|
-
nodes:
|
|
46
|
+
return (o, t) => (I(), g(V, v(p(f), {
|
|
47
|
+
nodes: b.value,
|
|
46
48
|
"model-value": d.modelValue,
|
|
47
49
|
"checked-keys": d.checkedKeys,
|
|
48
50
|
checkable: d.checkable,
|
|
49
51
|
searchable: d.searchable !== !1,
|
|
52
|
+
disabled: p(h),
|
|
50
53
|
"default-expand-all": "",
|
|
51
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
52
|
-
"onUpdate:checkedKeys": t[1] || (t[1] = (
|
|
53
|
-
}), null, 16, ["nodes", "model-value", "checked-keys", "checkable", "searchable"]));
|
|
54
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => l("update:modelValue", a)),
|
|
55
|
+
"onUpdate:checkedKeys": t[1] || (t[1] = (a) => l("update:checkedKeys", a))
|
|
56
|
+
}), null, 16, ["nodes", "model-value", "checked-keys", "checkable", "searchable", "disabled"]));
|
|
54
57
|
}
|
|
55
58
|
});
|
|
56
59
|
export {
|
|
57
|
-
|
|
60
|
+
C as default
|
|
58
61
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./HysPagination2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dba949dd"]]);
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
|
@@ -167,6 +167,7 @@ const te = ["aria-busy"], le = {
|
|
|
167
167
|
d.showSizeChanger ? (v(), c("label", re, [
|
|
168
168
|
V(g(n.value.perPage) + " ", 1),
|
|
169
169
|
o(ee, {
|
|
170
|
+
size: "sm",
|
|
170
171
|
"model-value": String(h.value),
|
|
171
172
|
options: R.value.map((t) => ({ label: String(t), value: String(t) })),
|
|
172
173
|
disabled: r.value,
|
|
@@ -181,6 +182,7 @@ const te = ["aria-busy"], le = {
|
|
|
181
182
|
}, [
|
|
182
183
|
B("span", null, g(n.value.jump), 1),
|
|
183
184
|
o(ae, {
|
|
185
|
+
size: "sm",
|
|
184
186
|
modelValue: x.value,
|
|
185
187
|
"onUpdate:modelValue": e[4] || (e[4] = (t) => x.value = t),
|
|
186
188
|
onInput: e[5] || (e[5] = (t) => m.value = t),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./HysPermissionMatrix2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ad2dfd08"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as S, openBlock as a, createElementBlock as d, mergeProps as w, unref as y, createElementVNode as u, createBlock as f, Fragment as s, createTextVNode as k, renderList as v, toDisplayString as C, createVNode as H } from "vue";
|
|
2
|
+
import { useHysControlState as N } from "../../composables/formContext.js";
|
|
2
3
|
import b from "../HysCheckbox/HysCheckbox.vue.js";
|
|
3
|
-
import { useHysRootAttrs as
|
|
4
|
-
const
|
|
4
|
+
import { useHysRootAttrs as D } from "../../config.js";
|
|
5
|
+
const E = { class: "hys-ui-ent-matrix" }, L = /* @__PURE__ */ S({
|
|
5
6
|
__name: "HysPermissionMatrix",
|
|
6
7
|
props: {
|
|
7
8
|
roles: {},
|
|
@@ -12,83 +13,83 @@ const N = { class: "hys-ui-ent-matrix" }, R = /* @__PURE__ */ A({
|
|
|
12
13
|
showSelectAll: { type: Boolean, default: !0 }
|
|
13
14
|
},
|
|
14
15
|
emits: ["update:modelValue", "change"],
|
|
15
|
-
setup(l, { emit:
|
|
16
|
-
const
|
|
17
|
-
function i(t,
|
|
18
|
-
return (t ? [t] :
|
|
19
|
-
}
|
|
20
|
-
function m(t) {
|
|
21
|
-
return t.length > 0 && t.every((d) => u.modelValue[d]);
|
|
16
|
+
setup(l, { emit: V }) {
|
|
17
|
+
const r = l, { disabled: m } = N(r), x = V, A = D();
|
|
18
|
+
function i(t, o) {
|
|
19
|
+
return (t ? [t] : r.resources).flatMap((e) => (o ? [o] : r.roles).map((n) => e + ":" + n));
|
|
22
20
|
}
|
|
23
21
|
function h(t) {
|
|
24
|
-
return
|
|
22
|
+
return t.length > 0 && t.every((o) => r.modelValue[o]);
|
|
23
|
+
}
|
|
24
|
+
function g(t) {
|
|
25
|
+
return !h(t) && t.some((o) => r.modelValue[o]);
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
-
if (
|
|
28
|
-
const e = { ...
|
|
29
|
-
for (const n of t) e[n] =
|
|
30
|
-
|
|
27
|
+
function c(t, o) {
|
|
28
|
+
if (m.value || r.readonly) return;
|
|
29
|
+
const e = { ...r.modelValue };
|
|
30
|
+
for (const n of t) e[n] = o;
|
|
31
|
+
x("update:modelValue", e), x("change", e);
|
|
31
32
|
}
|
|
32
|
-
return (t,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
l.showSelectAll ? (a(),
|
|
33
|
+
return (t, o) => (a(), d("div", w(y(A), { class: "hys-ui-ent-table-scroll" }), [
|
|
34
|
+
u("table", E, [
|
|
35
|
+
u("thead", null, [
|
|
36
|
+
u("tr", null, [
|
|
37
|
+
u("th", null, [
|
|
38
|
+
l.showSelectAll ? (a(), f(b, {
|
|
38
39
|
key: 0,
|
|
39
40
|
class: "hys-ui-matrix-group",
|
|
40
|
-
"model-value":
|
|
41
|
-
indeterminate:
|
|
42
|
-
disabled:
|
|
41
|
+
"model-value": h(i()),
|
|
42
|
+
indeterminate: g(i()),
|
|
43
|
+
disabled: y(m) || !l.roles.length || !l.resources.length,
|
|
43
44
|
readonly: l.readonly,
|
|
44
45
|
"aria-label": "全选所有权限",
|
|
45
46
|
label: "资源 / 角色",
|
|
46
|
-
onChange:
|
|
47
|
-
}, null, 8, ["model-value", "indeterminate", "disabled", "readonly"])) : (a(),
|
|
48
|
-
|
|
47
|
+
onChange: o[0] || (o[0] = (e) => c(i(), e))
|
|
48
|
+
}, null, 8, ["model-value", "indeterminate", "disabled", "readonly"])) : (a(), d(s, { key: 1 }, [
|
|
49
|
+
k("资源 / 角色")
|
|
49
50
|
], 64))
|
|
50
51
|
]),
|
|
51
|
-
(a(!0),
|
|
52
|
-
l.showSelectAll ? (a(),
|
|
52
|
+
(a(!0), d(s, null, v(l.roles, (e) => (a(), d("th", { key: e }, [
|
|
53
|
+
l.showSelectAll ? (a(), f(b, {
|
|
53
54
|
key: 0,
|
|
54
55
|
class: "hys-ui-matrix-group",
|
|
55
|
-
"model-value":
|
|
56
|
-
indeterminate:
|
|
57
|
-
disabled:
|
|
56
|
+
"model-value": h(i(void 0, e)),
|
|
57
|
+
indeterminate: g(i(void 0, e)),
|
|
58
|
+
disabled: y(m) || !l.resources.length,
|
|
58
59
|
readonly: l.readonly,
|
|
59
60
|
"aria-label": "全选角色 " + e,
|
|
60
61
|
label: e,
|
|
61
|
-
onChange: (n) =>
|
|
62
|
-
}, null, 8, ["model-value", "indeterminate", "disabled", "readonly", "aria-label", "label", "onChange"])) : (a(),
|
|
63
|
-
|
|
62
|
+
onChange: (n) => c(i(void 0, e), n)
|
|
63
|
+
}, null, 8, ["model-value", "indeterminate", "disabled", "readonly", "aria-label", "label", "onChange"])) : (a(), d(s, { key: 1 }, [
|
|
64
|
+
k(C(e), 1)
|
|
64
65
|
], 64))
|
|
65
66
|
]))), 128))
|
|
66
67
|
])
|
|
67
68
|
]),
|
|
68
|
-
|
|
69
|
-
(a(!0),
|
|
70
|
-
|
|
71
|
-
l.showSelectAll ? (a(),
|
|
69
|
+
u("tbody", null, [
|
|
70
|
+
(a(!0), d(s, null, v(l.resources, (e) => (a(), d("tr", { key: e }, [
|
|
71
|
+
u("th", null, [
|
|
72
|
+
l.showSelectAll ? (a(), f(b, {
|
|
72
73
|
key: 0,
|
|
73
74
|
class: "hys-ui-matrix-group",
|
|
74
|
-
"model-value":
|
|
75
|
-
indeterminate:
|
|
76
|
-
disabled:
|
|
75
|
+
"model-value": h(i(e)),
|
|
76
|
+
indeterminate: g(i(e)),
|
|
77
|
+
disabled: y(m) || !l.roles.length,
|
|
77
78
|
readonly: l.readonly,
|
|
78
79
|
"aria-label": "全选资源 " + e,
|
|
79
80
|
label: e,
|
|
80
|
-
onChange: (n) =>
|
|
81
|
-
}, null, 8, ["model-value", "indeterminate", "disabled", "readonly", "aria-label", "label", "onChange"])) : (a(),
|
|
82
|
-
|
|
81
|
+
onChange: (n) => c(i(e), n)
|
|
82
|
+
}, null, 8, ["model-value", "indeterminate", "disabled", "readonly", "aria-label", "label", "onChange"])) : (a(), d(s, { key: 1 }, [
|
|
83
|
+
k(C(e), 1)
|
|
83
84
|
], 64))
|
|
84
85
|
]),
|
|
85
|
-
(a(!0),
|
|
86
|
-
|
|
86
|
+
(a(!0), d(s, null, v(l.roles, (n) => (a(), d("td", { key: n }, [
|
|
87
|
+
H(b, {
|
|
87
88
|
"aria-label": e + " - " + n,
|
|
88
89
|
"model-value": !!l.modelValue[e + ":" + n],
|
|
89
|
-
disabled:
|
|
90
|
+
disabled: y(m),
|
|
90
91
|
readonly: l.readonly,
|
|
91
|
-
onChange: (
|
|
92
|
+
onChange: (B) => c([e + ":" + n], B)
|
|
92
93
|
}, null, 8, ["aria-label", "model-value", "disabled", "readonly", "onChange"])
|
|
93
94
|
]))), 128))
|
|
94
95
|
]))), 128))
|
|
@@ -98,5 +99,5 @@ const N = { class: "hys-ui-ent-matrix" }, R = /* @__PURE__ */ A({
|
|
|
98
99
|
}
|
|
99
100
|
});
|
|
100
101
|
export {
|
|
101
|
-
|
|
102
|
+
L as default
|
|
102
103
|
};
|
|
@@ -1,93 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
__name: "HysPopover",
|
|
6
|
-
props: {
|
|
7
|
-
placement: { default: "bottom-end" },
|
|
8
|
-
trigger: { default: "click" },
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
open: { type: Boolean, default: void 0 },
|
|
11
|
-
width: {},
|
|
12
|
-
title: {}
|
|
13
|
-
},
|
|
14
|
-
emits: ["update:open", "visibleChange"],
|
|
15
|
-
setup(o, { expose: F, emit: P }) {
|
|
16
|
-
const b = q(), n = o, g = P, m = w(), d = w(), { open: s, style: A, show: c, close: p, restoringFocus: D } = M(m, d, { get placement() {
|
|
17
|
-
return n.placement;
|
|
18
|
-
}, gap: 8 });
|
|
19
|
-
let u;
|
|
20
|
-
function h(t) {
|
|
21
|
-
clearTimeout(u), t ? r(!0) : u = setTimeout(() => r(!1), 100);
|
|
22
|
-
}
|
|
23
|
-
H(() => clearTimeout(u)), K(() => clearTimeout(u));
|
|
24
|
-
function r(t) {
|
|
25
|
-
if (!(t && (n.disabled || D.value))) {
|
|
26
|
-
if (n.open !== void 0) {
|
|
27
|
-
g("update:open", t);
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
t ? c() : p();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return v(() => n.open, (t) => {
|
|
34
|
-
t !== void 0 && (t && !n.disabled ? c() : p());
|
|
35
|
-
}, { immediate: !0, flush: "post" }), v(s, (t) => {
|
|
36
|
-
g("visibleChange", t), n.open !== void 0 && n.open !== t && g("update:open", t);
|
|
37
|
-
}), v(() => n.disabled, (t) => {
|
|
38
|
-
t && p();
|
|
39
|
-
}), F({ show: () => r(!0), hide: () => r(!1) }), (t, e) => (f(), y("span", T(a(b), {
|
|
40
|
-
class: "hys-ui-popover-wrap",
|
|
41
|
-
onPointerenter: e[7] || (e[7] = (i) => o.trigger === "hover" && h(!0)),
|
|
42
|
-
onPointerleave: e[8] || (e[8] = (i) => o.trigger === "hover" && h(!1))
|
|
43
|
-
}), [
|
|
44
|
-
N("span", {
|
|
45
|
-
ref_key: "anchor",
|
|
46
|
-
ref: m,
|
|
47
|
-
class: "hys-ui-popover-trigger",
|
|
48
|
-
tabindex: o.disabled ? -1 : 0,
|
|
49
|
-
role: "button",
|
|
50
|
-
"aria-disabled": o.disabled,
|
|
51
|
-
"aria-expanded": a(s),
|
|
52
|
-
"aria-haspopup": "dialog",
|
|
53
|
-
onClick: e[0] || (e[0] = (i) => o.trigger === "click" && r(!a(s))),
|
|
54
|
-
onKeydown: [
|
|
55
|
-
e[1] || (e[1] = $(B((i) => r(!a(s)), ["prevent"]), ["enter"])),
|
|
56
|
-
e[2] || (e[2] = $(B((i) => r(!a(s)), ["prevent"]), ["space"]))
|
|
57
|
-
],
|
|
58
|
-
onFocusin: e[3] || (e[3] = (i) => o.trigger === "focus" && r(!0)),
|
|
59
|
-
onFocusout: e[4] || (e[4] = (i) => {
|
|
60
|
-
var l;
|
|
61
|
-
return o.trigger === "focus" && !((l = d.value) != null && l.contains(i.relatedTarget)) && r(!1);
|
|
62
|
-
})
|
|
63
|
-
}, [
|
|
64
|
-
x(t.$slots, "trigger")
|
|
65
|
-
], 40, U),
|
|
66
|
-
(f(), R(S, { to: "body" }, [
|
|
67
|
-
a(s) ? (f(), y("div", T({
|
|
68
|
-
key: 0,
|
|
69
|
-
ref_key: "panel",
|
|
70
|
-
ref: d
|
|
71
|
-
}, a(b), {
|
|
72
|
-
class: "hys-ui-popover-panel hys-ui-floating-surface",
|
|
73
|
-
style: { ...a(A), width: o.width },
|
|
74
|
-
role: "dialog",
|
|
75
|
-
onFocusout: e[5] || (e[5] = (i) => {
|
|
76
|
-
var l, k;
|
|
77
|
-
return o.trigger === "focus" && !((l = d.value) != null && l.contains(i.relatedTarget)) && !((k = m.value) != null && k.contains(i.relatedTarget)) && r(!1);
|
|
78
|
-
}),
|
|
79
|
-
"aria-label": o.title || "浮层",
|
|
80
|
-
onPointerenter: e[6] || (e[6] = (i) => o.trigger === "hover" && r(!0))
|
|
81
|
-
}), [
|
|
82
|
-
o.title ? (f(), y("strong", z, V(o.title), 1)) : C("", !0),
|
|
83
|
-
x(t.$slots, "default", {
|
|
84
|
-
close: () => r(!1)
|
|
85
|
-
})
|
|
86
|
-
], 16, j)) : C("", !0)
|
|
87
|
-
]))
|
|
88
|
-
], 16));
|
|
89
|
-
}
|
|
90
|
-
});
|
|
1
|
+
import o from "./HysPopover2.vue.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f925bad2"]]);
|
|
91
5
|
export {
|
|
92
|
-
|
|
6
|
+
f as default
|
|
93
7
|
};
|
|
@@ -1,4 +1,122 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as c, openBlock as g, createElementBlock as w, mergeProps as B, unref as o, createVNode as d, withCtx as p, renderSlot as a, normalizeProps as i, guardReactiveProps as u, createSlots as P, createTextVNode as k, toDisplayString as C } from "vue";
|
|
2
|
+
import { useHysRootAttrs as x } from "../../config.js";
|
|
3
|
+
import { usePopupSurface as O } from "../../composables/usePopupSurface.js";
|
|
4
|
+
import S from "../../internal/PopupReference.js";
|
|
5
|
+
import b from "../../internal/PopupSurfacePanel.vue.js";
|
|
6
|
+
const D = /* @__PURE__ */ c({
|
|
7
|
+
__name: "HysPopover",
|
|
8
|
+
props: {
|
|
9
|
+
title: {},
|
|
10
|
+
content: {},
|
|
11
|
+
open: { type: Boolean, default: void 0 },
|
|
12
|
+
modelValue: { type: Boolean, default: void 0 },
|
|
13
|
+
defaultOpen: { type: Boolean },
|
|
14
|
+
disabled: { type: Boolean },
|
|
15
|
+
trigger: {},
|
|
16
|
+
triggerKeys: {},
|
|
17
|
+
triggerTabindex: {},
|
|
18
|
+
placement: { default: "bottom-end" },
|
|
19
|
+
offset: {},
|
|
20
|
+
autoAdjustOverflow: { type: Boolean, default: !0 },
|
|
21
|
+
showDelay: { default: 0 },
|
|
22
|
+
hideDelay: { default: 100 },
|
|
23
|
+
autoClose: {},
|
|
24
|
+
enterable: { type: Boolean, default: !0 },
|
|
25
|
+
closeOnEscape: { type: Boolean, default: !0 },
|
|
26
|
+
closeOnOutside: { type: Boolean, default: !0 },
|
|
27
|
+
destroyOnHide: { type: Boolean, default: !0 },
|
|
28
|
+
forceRender: { type: Boolean },
|
|
29
|
+
appendTo: { type: [String, Boolean], default: "body" },
|
|
30
|
+
reference: {},
|
|
31
|
+
width: {},
|
|
32
|
+
maxWidth: {},
|
|
33
|
+
maxHeight: {},
|
|
34
|
+
showArrow: { type: Boolean },
|
|
35
|
+
arrowOffset: {},
|
|
36
|
+
effect: { default: "light" },
|
|
37
|
+
color: {},
|
|
38
|
+
textColor: {},
|
|
39
|
+
overlayClass: {},
|
|
40
|
+
overlayStyle: {},
|
|
41
|
+
contentClass: {},
|
|
42
|
+
contentStyle: {},
|
|
43
|
+
zIndex: {},
|
|
44
|
+
ariaLabel: {},
|
|
45
|
+
popupTransition: {},
|
|
46
|
+
popupTransitionDuration: {}
|
|
47
|
+
},
|
|
48
|
+
emits: ["update:open", "update:modelValue", "visibleChange", "openChange", "show", "hide", "opened", "closed"],
|
|
49
|
+
setup(l, { expose: f, emit: m }) {
|
|
50
|
+
const s = l, y = m, v = x(), e = O(
|
|
51
|
+
s,
|
|
52
|
+
"popover",
|
|
53
|
+
(r, ...n) => y(r, ...n)
|
|
54
|
+
);
|
|
55
|
+
return f({
|
|
56
|
+
element: e.panel,
|
|
57
|
+
referenceElement: e.actualReference,
|
|
58
|
+
open: e.open,
|
|
59
|
+
placement: e.placement,
|
|
60
|
+
show: e.show,
|
|
61
|
+
hide: e.hide,
|
|
62
|
+
close: e.hide,
|
|
63
|
+
toggle: e.toggle,
|
|
64
|
+
updatePosition: e.updatePosition,
|
|
65
|
+
focus: e.focus
|
|
66
|
+
}), (r, n) => (g(), w("span", B({
|
|
67
|
+
ref: (t) => o(e).wrapper.value = t
|
|
68
|
+
}, { ...o(v), ...o(e).wrapperAttrs.value }, {
|
|
69
|
+
class: ["hys-ui-popover-wrap", "hys-ui-popover-trigger"],
|
|
70
|
+
onPointerenter: n[1] || (n[1] = //@ts-ignore
|
|
71
|
+
(...t) => o(e).pointerEnter && o(e).pointerEnter(...t)),
|
|
72
|
+
onPointerleave: n[2] || (n[2] = //@ts-ignore
|
|
73
|
+
(...t) => o(e).pointerLeave && o(e).pointerLeave(...t)),
|
|
74
|
+
onFocusin: n[3] || (n[3] = //@ts-ignore
|
|
75
|
+
(...t) => o(e).focusIn && o(e).focusIn(...t)),
|
|
76
|
+
onFocusout: n[4] || (n[4] = //@ts-ignore
|
|
77
|
+
(...t) => o(e).focusOut && o(e).focusOut(...t)),
|
|
78
|
+
onClick: n[5] || (n[5] = //@ts-ignore
|
|
79
|
+
(...t) => o(e).click && o(e).click(...t)),
|
|
80
|
+
onContextmenu: n[6] || (n[6] = //@ts-ignore
|
|
81
|
+
(...t) => o(e).contextmenu && o(e).contextmenu(...t)),
|
|
82
|
+
onKeydown: n[7] || (n[7] = //@ts-ignore
|
|
83
|
+
(...t) => o(e).key && o(e).key(...t))
|
|
84
|
+
}), [
|
|
85
|
+
d(o(S), {
|
|
86
|
+
id: o(e).id,
|
|
87
|
+
open: o(e).open.value,
|
|
88
|
+
kind: "popover",
|
|
89
|
+
onElement: n[0] || (n[0] = (t) => o(e).referenceElement.value = t)
|
|
90
|
+
}, {
|
|
91
|
+
default: p(() => [
|
|
92
|
+
a(r.$slots, "trigger", i(u(o(e).scope.value)), void 0, !0)
|
|
93
|
+
]),
|
|
94
|
+
_: 3
|
|
95
|
+
}, 8, ["id", "open"]),
|
|
96
|
+
d(b, {
|
|
97
|
+
surface: o(e),
|
|
98
|
+
options: s,
|
|
99
|
+
kind: "popover",
|
|
100
|
+
title: l.title
|
|
101
|
+
}, P({
|
|
102
|
+
default: p((t) => [
|
|
103
|
+
a(r.$slots, "default", i(u(t)), () => [
|
|
104
|
+
k(C(l.content), 1)
|
|
105
|
+
], !0)
|
|
106
|
+
]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, [
|
|
109
|
+
r.$slots.title ? {
|
|
110
|
+
name: "title",
|
|
111
|
+
fn: p((t) => [
|
|
112
|
+
a(r.$slots, "title", i(u(t)), void 0, !0)
|
|
113
|
+
]),
|
|
114
|
+
key: "0"
|
|
115
|
+
} : void 0
|
|
116
|
+
]), 1032, ["surface", "title"])
|
|
117
|
+
], 16));
|
|
118
|
+
}
|
|
119
|
+
});
|
|
2
120
|
export {
|
|
3
|
-
|
|
121
|
+
D as default
|
|
4
122
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./HysProgress2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7fbb0967"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|