hy-dispatch-ui-v3 0.2.19 → 0.2.21
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/es/components/{appAudioPlayer/appAudioPlayer.vue.mjs → hyAudioPlayer/audioPlayer.vue.mjs} +17 -17
- package/es/components/hyAudioPlayer/index.mjs +6 -0
- package/{lib/components/appAudioPlayer/style/appAudioPlayer.scss → es/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
- package/es/components/{appButton/appButton.vue.mjs → hyButton/button.vue.mjs} +11 -9
- package/es/components/hyButton/index.mjs +6 -0
- package/es/components/{appConfigProvider/appConfigProvider.vue.mjs → hyConfigProvider/configProvider.vue.mjs} +2 -2
- package/es/components/hyConfigProvider/index.mjs +6 -0
- package/es/components/{appConfirmDialog/appConfirmDialog.vue.mjs → hyConfirmDialog/confirmDialog.vue.mjs} +4 -4
- package/es/components/{appConfirmDialog/appConfirmMethod.mjs → hyConfirmDialog/confirmMethod.mjs} +3 -3
- package/es/components/hyConfirmDialog/index.mjs +7 -0
- package/es/components/{appCutter/appCutter.vue.mjs → hyCutter/cutter.vue.mjs} +11 -11
- package/es/components/hyCutter/index.mjs +6 -0
- package/es/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
- package/es/components/{appDatePicker/appDatePicker.vue.mjs → hyDatePicker/datePicker.vue.mjs} +3 -3
- package/es/components/hyDatePicker/index.mjs +7 -0
- package/es/components/{appDialog/appDialog.vue.mjs → hyDialog/dialog.vue.mjs} +6 -6
- package/es/components/hyDialog/index.mjs +6 -0
- package/es/components/{appForm → hyForm}/cpns/arrayItem.vue.mjs +3 -3
- package/es/components/{appForm → hyForm}/cpns/extraItem.vue.mjs +4 -4
- package/es/components/{appForm/cpns/appFormItem.vue.mjs → hyForm/cpns/formItem.vue.mjs} +15 -16
- package/es/components/{appForm/appForm.vue.mjs → hyForm/form.vue.mjs} +4 -4
- package/es/components/hyForm/index.mjs +7 -0
- package/{lib/components/appForm/style/appForm.scss → es/components/hyForm/style/form.scss} +6 -6
- package/es/components/{appIcon/appIcon.vue.mjs → hyIcon/icon.vue.mjs} +5 -5
- package/es/components/hyIcon/index.mjs +6 -0
- package/es/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
- package/es/components/{appIconBox/appIconBox.vue.mjs → hyIconBox/iconBox.vue.mjs} +6 -6
- package/es/components/hyIconBox/index.mjs +6 -0
- package/es/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
- package/es/components/hyInput/index.mjs +7 -0
- package/es/components/{appInput/appInput.vue.mjs → hyInput/input.vue.mjs} +1 -1
- package/es/components/hyMenu/index.mjs +6 -0
- package/es/components/hyMenu/menu.vue.mjs +120 -0
- package/es/components/hyNoPermissions/index.mjs +6 -0
- package/es/components/{appNoPermissions/appNoPermissions.vue.mjs → hyNoPermissions/noPermissions.vue.mjs} +4 -4
- package/es/components/hyNoPermissionsMap/index.mjs +6 -0
- package/es/components/{appNoPermissionsMap/appNoPermissionsMap.vue.mjs → hyNoPermissionsMap/noPermissionsMap.vue.mjs} +4 -4
- package/es/components/hyOrgCascader/index.mjs +6 -0
- package/es/components/{appOrgCascader/appOrgCascader.vue.mjs → hyOrgCascader/orgCascader.vue.mjs} +3 -3
- package/es/components/{appSearch/cpns/appSearchItem.vue.mjs → hySearch/cpns/searchItem.vue.mjs} +14 -20
- package/es/components/hySearch/index.mjs +7 -0
- package/es/components/{appSearch/appSearch.vue.mjs → hySearch/search.vue.mjs} +8 -8
- package/es/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
- package/es/components/{appTable → hyTable}/cpns/columnSelect.vue.mjs +2 -2
- package/es/components/{appTable → hyTable}/cpns/columnSelectItem.vue.mjs +2 -2
- package/es/components/{appTable → hyTable}/cpns/headerItem.vue.mjs +1 -1
- package/es/components/{appTable → hyTable}/cpns/virtualTable.vue.mjs +10 -11
- package/es/components/hyTable/index.mjs +7 -0
- package/es/components/{appTable → hyTable}/js/useAppTable.mjs +1 -1
- package/es/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
- package/es/components/{appTable/appTable.vue.mjs → hyTable/table.vue.mjs} +20 -23
- package/es/components/hyTableForm/index.mjs +6 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +21 -0
- package/es/components/hyTimePicker/index.mjs +7 -0
- package/es/components/{appTimePicker/appTimePicker.vue.mjs → hyTimePicker/timePicker.vue.mjs} +2 -2
- package/es/components/hyTooltip/index.mjs +7 -0
- package/es/components/{appTooltip/appTooltip.vue.mjs → hyTooltip/tooltip.vue.mjs} +4 -4
- package/es/components/hyTree/index.mjs +6 -0
- package/es/components/{appTree/appTree.vue.mjs → hyTree/tree.vue.mjs} +3 -3
- package/es/components/hyUserAvatar/index.mjs +6 -0
- package/{lib/components/appUserAvatar/style/appUserAvatar.scss → es/components/hyUserAvatar/style/userAvatar.scss} +1 -1
- package/es/components/{appUserAvatar/appUserAvatar.vue.mjs → hyUserAvatar/userAvatar.vue.mjs} +7 -7
- package/es/components/hyVideoPlayer/index.mjs +6 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/js/index.mjs +3 -3
- package/es/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
- package/es/components/{appVideoPlayer/appVideoPlayer.vue.mjs → hyVideoPlayer/videoPlayer.vue.mjs} +29 -29
- package/es/components/index.mjs +26 -25
- package/es/hooks/useGlobalConfig.mjs +1 -1
- package/es/index.mjs +26 -25
- package/es/make-installer.mjs +0 -2
- package/es/version.mjs +1 -1
- package/lib/components/{appAudioPlayer/appAudioPlayer.vue.js → hyAudioPlayer/audioPlayer.vue.js} +16 -16
- package/lib/components/hyAudioPlayer/index.js +11 -0
- package/{es/components/appAudioPlayer/style/appAudioPlayer.scss → lib/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
- package/lib/components/{appButton/appButton.vue.js → hyButton/button.vue.js} +10 -8
- package/lib/components/hyButton/index.js +11 -0
- package/lib/components/{appConfigProvider/appConfigProvider.vue.js → hyConfigProvider/configProvider.vue.js} +1 -1
- package/lib/components/hyConfigProvider/index.js +11 -0
- package/lib/components/{appConfirmDialog/appConfirmDialog.vue.js → hyConfirmDialog/confirmDialog.vue.js} +4 -4
- package/lib/components/{appConfirmDialog/appConfirmMethod.js → hyConfirmDialog/confirmMethod.js} +9 -9
- package/lib/components/hyConfirmDialog/index.js +12 -0
- package/lib/components/{appCutter/appCutter.vue.js → hyCutter/cutter.vue.js} +11 -11
- package/lib/components/hyCutter/index.js +11 -0
- package/lib/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
- package/lib/components/{appDatePicker/appDatePicker.vue.js → hyDatePicker/datePicker.vue.js} +3 -3
- package/lib/components/hyDatePicker/index.js +13 -0
- package/lib/components/{appDialog/appDialog.vue.js → hyDialog/dialog.vue.js} +6 -6
- package/lib/components/hyDialog/index.js +11 -0
- package/lib/components/{appForm → hyForm}/cpns/arrayItem.vue.js +4 -4
- package/lib/components/{appForm → hyForm}/cpns/extraItem.vue.js +5 -5
- package/lib/components/{appForm/cpns/appFormItem.vue.js → hyForm/cpns/formItem.vue.js} +15 -16
- package/lib/components/{appForm/appForm.vue.js → hyForm/form.vue.js} +5 -5
- package/lib/components/{appForm → hyForm}/index.js +4 -4
- package/{es/components/appForm/style/appForm.scss → lib/components/hyForm/style/form.scss} +6 -6
- package/lib/components/{appIcon/appIcon.vue.js → hyIcon/icon.vue.js} +4 -4
- package/lib/components/hyIcon/index.js +11 -0
- package/lib/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
- package/lib/components/{appIconBox/appIconBox.vue.js → hyIconBox/iconBox.vue.js} +6 -6
- package/lib/components/hyIconBox/index.js +11 -0
- package/lib/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
- package/lib/components/hyInput/index.js +13 -0
- package/lib/components/{appInput/appInput.vue.js → hyInput/input.vue.js} +1 -1
- package/lib/components/hyMenu/index.js +11 -0
- package/lib/components/{appMenu/appMenu.vue.js → hyMenu/menu.vue.js} +42 -52
- package/lib/components/hyNoPermissions/index.js +11 -0
- package/lib/components/{appNoPermissions/appNoPermissions.vue.js → hyNoPermissions/noPermissions.vue.js} +4 -4
- package/lib/components/hyNoPermissionsMap/index.js +11 -0
- package/lib/components/{appNoPermissionsMap/appNoPermissionsMap.vue.js → hyNoPermissionsMap/noPermissionsMap.vue.js} +4 -4
- package/lib/components/hyOrgCascader/index.js +11 -0
- package/lib/components/{appOrgCascader/appOrgCascader.vue.js → hyOrgCascader/orgCascader.vue.js} +3 -3
- package/lib/components/{appSearch/cpns/appSearchItem.vue.js → hySearch/cpns/searchItem.vue.js} +14 -20
- package/lib/components/{appSearch → hySearch}/index.js +4 -4
- package/lib/components/{appSearch/appSearch.vue.js → hySearch/search.vue.js} +9 -9
- package/lib/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
- package/lib/components/{appTable → hyTable}/cpns/columnSelect.vue.js +2 -2
- package/lib/components/{appTable → hyTable}/cpns/columnSelectItem.vue.js +2 -2
- package/lib/components/{appTable → hyTable}/cpns/headerItem.vue.js +1 -1
- package/lib/components/{appTable → hyTable}/cpns/virtualTable.vue.js +9 -10
- package/lib/components/{appTable → hyTable}/index.js +4 -4
- package/lib/components/{appTable → hyTable}/js/useAppTable.js +1 -1
- package/lib/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
- package/lib/components/{appTable/appTable.vue.js → hyTable/table.vue.js} +20 -23
- package/lib/components/hyTableForm/index.js +11 -0
- package/lib/components/hyTableForm/tableForm.vue.js +25 -0
- package/lib/components/hyTimePicker/index.js +13 -0
- package/lib/components/hyTimePicker/style/timePicker.scss +0 -0
- package/lib/components/{appTimePicker/appTimePicker.vue.js → hyTimePicker/timePicker.vue.js} +2 -2
- package/lib/components/hyTooltip/index.js +13 -0
- package/lib/components/hyTooltip/style/tooltip.scss +0 -0
- package/lib/components/{appTooltip/appTooltip.vue.js → hyTooltip/tooltip.vue.js} +4 -4
- package/lib/components/hyTree/index.js +11 -0
- package/lib/components/{appTree/appTree.vue.js → hyTree/tree.vue.js} +3 -3
- package/lib/components/hyUserAvatar/index.js +11 -0
- package/{es/components/appUserAvatar/style/appUserAvatar.scss → lib/components/hyUserAvatar/style/userAvatar.scss} +1 -1
- package/lib/components/{appUserAvatar/appUserAvatar.vue.js → hyUserAvatar/userAvatar.vue.js} +7 -7
- package/lib/components/hyVideoPlayer/index.js +11 -0
- package/lib/components/{appVideoPlayer → hyVideoPlayer}/js/index.js +3 -3
- package/lib/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
- package/lib/components/{appVideoPlayer/appVideoPlayer.vue.js → hyVideoPlayer/videoPlayer.vue.js} +29 -29
- package/lib/components/index.js +53 -51
- package/lib/index.js +53 -51
- package/lib/make-installer.js +0 -2
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/es/components/appAudioPlayer/index.mjs +0 -6
- package/es/components/appButton/index.mjs +0 -6
- package/es/components/appConfigProvider/index.mjs +0 -6
- package/es/components/appConfirmDialog/index.mjs +0 -7
- package/es/components/appCutter/index.mjs +0 -6
- package/es/components/appDatePicker/index.mjs +0 -7
- package/es/components/appDialog/index.mjs +0 -6
- package/es/components/appForm/index.mjs +0 -7
- package/es/components/appIcon/index.mjs +0 -6
- package/es/components/appIconBox/index.mjs +0 -6
- package/es/components/appInput/index.mjs +0 -7
- package/es/components/appMenu/appMenu.vue.mjs +0 -130
- package/es/components/appMenu/index.mjs +0 -6
- package/es/components/appNoPermissions/index.mjs +0 -6
- package/es/components/appNoPermissionsMap/index.mjs +0 -6
- package/es/components/appOrgCascader/index.mjs +0 -6
- package/es/components/appSearch/index.mjs +0 -7
- package/es/components/appTable/index.mjs +0 -7
- package/es/components/appTimePicker/index.mjs +0 -7
- package/es/components/appTooltip/index.mjs +0 -7
- package/es/components/appTree/index.mjs +0 -6
- package/es/components/appUserAvatar/index.mjs +0 -6
- package/es/components/appVideoPlayer/index.mjs +0 -6
- package/lib/components/appAudioPlayer/index.js +0 -11
- package/lib/components/appButton/index.js +0 -11
- package/lib/components/appConfigProvider/index.js +0 -11
- package/lib/components/appConfirmDialog/index.js +0 -12
- package/lib/components/appCutter/index.js +0 -11
- package/lib/components/appDatePicker/index.js +0 -13
- package/lib/components/appDialog/index.js +0 -11
- package/lib/components/appIcon/index.js +0 -11
- package/lib/components/appIconBox/index.js +0 -11
- package/lib/components/appInput/index.js +0 -13
- package/lib/components/appMenu/index.js +0 -11
- package/lib/components/appNoPermissions/index.js +0 -11
- package/lib/components/appNoPermissionsMap/index.js +0 -11
- package/lib/components/appOrgCascader/index.js +0 -11
- package/lib/components/appTimePicker/index.js +0 -13
- package/lib/components/appTooltip/index.js +0 -13
- package/lib/components/appTree/index.js +0 -11
- package/lib/components/appUserAvatar/index.js +0 -11
- package/lib/components/appVideoPlayer/index.js +0 -11
- package/es/components/{appAudioPlayer → hyAudioPlayer}/js/index.mjs +1 -1
- package/es/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
- package/es/components/{appDatePicker/style/appDatePicker.scss → hyDatePicker/style/datePicker.scss} +0 -0
- package/es/components/{appDialog/style/appDialog.scss → hyDialog/style/dialog.scss} +0 -0
- package/es/components/{appForm → hyForm}/js/index.mjs +0 -0
- package/es/components/{appForm → hyForm}/js/useAppForm.mjs +1 -1
- package/es/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
- package/es/components/{appNoPermissions/style/appNoPermissions.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
- package/es/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
- package/es/components/{appOrgCascader/style/appOrgCascader.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
- package/es/components/{appSearch → hySearch}/js/index.mjs +0 -0
- package/es/components/{appSearch → hySearch}/js/useAppSearch.mjs +0 -0
- package/es/components/{appTable → hyTable}/js/index.mjs +0 -0
- package/es/components/{appTable → hyTable}/js/search.mjs +0 -0
- package/es/components/{appTimePicker/style/appTimePicker.scss → hyTableForm/style/tableForm.scss} +0 -0
- package/es/components/{appTooltip/style/appTooltip.scss → hyTimePicker/style/timePicker.scss} +0 -0
- package/{lib/components/appDatePicker/style/appDatePicker.scss → es/components/hyTooltip/style/tooltip.scss} +0 -0
- package/es/components/{appTree → hyTree}/config/tree-config.mjs +0 -0
- package/es/components/{appTree → hyTree}/js/index.mjs +0 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.mjs +0 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
- package/lib/components/{appAudioPlayer → hyAudioPlayer}/js/index.js +1 -1
- package/lib/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
- package/lib/components/{appDialog/style/appDialog.scss → hyDatePicker/style/datePicker.scss} +0 -0
- package/lib/components/{appNoPermissions/style/appNoPermissions.scss → hyDialog/style/dialog.scss} +0 -0
- package/lib/components/{appForm → hyForm}/js/index.js +0 -0
- package/lib/components/{appForm → hyForm}/js/useAppForm.js +1 -1
- /package/lib/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
- /package/lib/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
- /package/lib/components/{appOrgCascader/style/appOrgCascader.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
- /package/lib/components/{appTimePicker/style/appTimePicker.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
- /package/lib/components/{appSearch → hySearch}/js/index.js +0 -0
- /package/lib/components/{appSearch → hySearch}/js/useAppSearch.js +0 -0
- /package/lib/components/{appTable → hyTable}/js/index.js +0 -0
- /package/lib/components/{appTable → hyTable}/js/search.js +0 -0
- /package/lib/components/{appTooltip/style/appTooltip.scss → hyTableForm/style/tableForm.scss} +0 -0
- /package/lib/components/{appTree → hyTree}/config/tree-config.js +0 -0
- /package/lib/components/{appTree → hyTree}/js/index.js +0 -0
- /package/lib/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.js +0 -0
- /package/lib/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
|
@@ -6,10 +6,10 @@ var vue = require('vue');
|
|
|
6
6
|
var Sortable = require('sortablejs');
|
|
7
7
|
var elementPlus = require('element-plus');
|
|
8
8
|
var iconsVue = require('@element-plus/icons-vue');
|
|
9
|
-
var index = require('../../appButton/index.js');
|
|
10
9
|
var index$1 = require('../js/index.js');
|
|
11
10
|
var columnSelectItem = require('./columnSelectItem.vue.js');
|
|
12
11
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
12
|
+
var index = require('../../hyButton/index.js');
|
|
13
13
|
var is = require('../../../utils/is.js');
|
|
14
14
|
|
|
15
15
|
const _sfc_main = {
|
|
@@ -345,7 +345,7 @@ const _sfc_main = {
|
|
|
345
345
|
/* TEXT */
|
|
346
346
|
)
|
|
347
347
|
])) : vue.createCommentVNode("v-if", true),
|
|
348
|
-
vue.createVNode(vue.unref(index.
|
|
348
|
+
vue.createVNode(vue.unref(index.HyButton), {
|
|
349
349
|
type: "primary",
|
|
350
350
|
size: "small",
|
|
351
351
|
onClick: onConfirmHandler
|
|
@@ -6,8 +6,8 @@ var vue = require('vue');
|
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
8
|
var index = require('../js/index.js');
|
|
9
|
-
var index$1 = require('../../appTooltip/index.js');
|
|
10
9
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
10
|
+
var index$1 = require('../../hyTooltip/index.js');
|
|
11
11
|
|
|
12
12
|
const _sfc_main = {
|
|
13
13
|
__name: "columnSelectItem",
|
|
@@ -66,7 +66,7 @@ const _sfc_main = {
|
|
|
66
66
|
}, ["stop"])
|
|
67
67
|
}, null, 8, ["value", "onClick"])),
|
|
68
68
|
vue.createElementVNode("div", { class: "w-0 flex-1" }, [
|
|
69
|
-
vue.createVNode(vue.unref(index$1.
|
|
69
|
+
vue.createVNode(vue.unref(index$1.HyTooltip), {
|
|
70
70
|
"is-always": false,
|
|
71
71
|
"over-line": 1,
|
|
72
72
|
content: vue.unref(index.renderHeaderHandler)(__props.column)
|
|
@@ -94,7 +94,7 @@ const _sfc_main = {
|
|
|
94
94
|
}, 8, ["color", "onClick"])
|
|
95
95
|
]),
|
|
96
96
|
vue.renderSlot(_ctx.$slots, "default")
|
|
97
|
-
], 8, ["onClick"])) : vue.renderSlot(_ctx.$slots, "default", {
|
|
97
|
+
], 8, ["onClick"])) : vue.renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1);
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
};
|
|
@@ -7,10 +7,10 @@ var elementPlus = require('element-plus');
|
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
8
|
var index = require('../js/index.js');
|
|
9
9
|
var headerItem = require('./headerItem.vue.js');
|
|
10
|
-
var index$2 = require('../../appIcon/index.js');
|
|
11
10
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
12
11
|
var is = require('../../../utils/is.js');
|
|
13
|
-
var index$1 = require('../../
|
|
12
|
+
var index$1 = require('../../hyTooltip/index.js');
|
|
13
|
+
var index$2 = require('../../hyIcon/index.js');
|
|
14
14
|
|
|
15
15
|
const _sfc_main = {
|
|
16
16
|
__name: "virtualTable",
|
|
@@ -308,7 +308,7 @@ const _sfc_main = {
|
|
|
308
308
|
],
|
|
309
309
|
64
|
|
310
310
|
/* STABLE_FRAGMENT */
|
|
311
|
-
)) : !vue.unref(is.isEmpty)(vue.unref(index.renderHeaderHandler)(column, { column, $index })) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
311
|
+
)) : !vue.unref(is.isEmpty)(vue.unref(index.renderHeaderHandler)(column, { column, $index })) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyTooltip), {
|
|
312
312
|
key: 1,
|
|
313
313
|
"is-always": false,
|
|
314
314
|
"over-line": 1,
|
|
@@ -333,7 +333,7 @@ const _sfc_main = {
|
|
|
333
333
|
indeterminate: indeterminateKeys.value.has(getRowKey(row)),
|
|
334
334
|
disabled: !isSelectable(row),
|
|
335
335
|
onClick: vue.withModifiers(($event) => switchCheckHandler(row), ["stop"])
|
|
336
|
-
}, null, 8, ["model-value", "indeterminate", "disabled", "onClick"])) : column?.slot ? vue.renderSlot(_ctx.$slots, column?.slot, vue.normalizeProps(vue.
|
|
336
|
+
}, null, 8, ["model-value", "indeterminate", "disabled", "onClick"])) : column?.slot ? vue.renderSlot(_ctx.$slots, column?.slot, vue.normalizeProps(vue.guardReactiveProps({ column, row, $index, cellIndex })), void 0, void 0, 2) : column.type === "index" ? (vue.openBlock(), vue.createElementBlock(
|
|
337
337
|
vue.Fragment,
|
|
338
338
|
{ key: 3 },
|
|
339
339
|
[
|
|
@@ -361,7 +361,7 @@ const _sfc_main = {
|
|
|
361
361
|
{ column, row, $index, cellIndex },
|
|
362
362
|
"default"
|
|
363
363
|
), (citem, cindex) => {
|
|
364
|
-
return vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
364
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index$1.HyTooltip), {
|
|
365
365
|
key: cindex,
|
|
366
366
|
"is-always": "",
|
|
367
367
|
overLine: 1,
|
|
@@ -377,7 +377,7 @@ const _sfc_main = {
|
|
|
377
377
|
"default"
|
|
378
378
|
)
|
|
379
379
|
}, [
|
|
380
|
-
vue.createVNode(vue.unref(index$2.
|
|
380
|
+
vue.createVNode(vue.unref(index$2.HyIcon), {
|
|
381
381
|
"svg-name": citem.svgName,
|
|
382
382
|
"class-name": "!w-4 !h-4"
|
|
383
383
|
}, null, 8, ["svg-name"]),
|
|
@@ -492,7 +492,7 @@ const _sfc_main = {
|
|
|
492
492
|
]),
|
|
493
493
|
default: vue.withCtx(() => [
|
|
494
494
|
vue.createElementVNode("span", null, [
|
|
495
|
-
vue.createVNode(vue.unref(index$1.
|
|
495
|
+
vue.createVNode(vue.unref(index$1.HyTooltip), {
|
|
496
496
|
"is-always": "",
|
|
497
497
|
overLine: 1,
|
|
498
498
|
content: vue.unref(t)("table.moreOperations")
|
|
@@ -534,7 +534,7 @@ const _sfc_main = {
|
|
|
534
534
|
[
|
|
535
535
|
!vue.unref(is.isEmpty)(
|
|
536
536
|
vue.unref(index.renderContentHandler)(column, { column, row, $index, cellIndex })
|
|
537
|
-
) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
537
|
+
) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyTooltip), {
|
|
538
538
|
key: 0,
|
|
539
539
|
"is-always": false,
|
|
540
540
|
"over-line": 2,
|
|
@@ -550,10 +550,9 @@ const _sfc_main = {
|
|
|
550
550
|
]),
|
|
551
551
|
row: vue.withCtx(({ cells, depth, expanded, rowData: row }) => [
|
|
552
552
|
depth > 0 && isExpandTable.value ? vue.renderSlot(_ctx.$slots, expandColumn.value.slot, {
|
|
553
|
-
key: 0,
|
|
554
553
|
row,
|
|
555
554
|
expanded: expandedMap.value.has(getRowKey(row))
|
|
556
|
-
}) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(() => cells), { key: 1 }))
|
|
555
|
+
}, void 0, void 0, 0) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(() => cells), { key: 1 }))
|
|
557
556
|
]),
|
|
558
557
|
empty: vue.withCtx(() => [
|
|
559
558
|
vue.renderSlot(_ctx.$slots, "empty")
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var table = require('./table.vue.js');
|
|
6
6
|
var useAppTable = require('./js/useAppTable.js');
|
|
7
7
|
var handler = require('../../utils/handler.js');
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const HyTable = handler.withInstall(table.default);
|
|
10
10
|
|
|
11
11
|
exports.useAppTable = useAppTable.useAppTable;
|
|
12
|
-
exports.
|
|
13
|
-
exports.default =
|
|
12
|
+
exports.HyTable = HyTable;
|
|
13
|
+
exports.default = HyTable;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
|
-
var useAppSearch = require('../../appSearch/js/useAppSearch.js');
|
|
5
4
|
var is = require('../../../utils/is.js');
|
|
5
|
+
var useAppSearch = require('../../hySearch/js/useAppSearch.js');
|
|
6
6
|
var useLocale = require('../../../hooks/useLocale.js');
|
|
7
7
|
|
|
8
8
|
function getColumnDefaultConfig(column) {
|
|
@@ -10,19 +10,19 @@ var search = require('./js/search.js');
|
|
|
10
10
|
var headerItem = require('./cpns/headerItem.vue.js');
|
|
11
11
|
var columnSelect = require('./cpns/columnSelect.vue.js');
|
|
12
12
|
var virtualTable = require('./cpns/virtualTable.vue.js');
|
|
13
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
13
14
|
var useMixins = require('../../hooks/useMixins.js');
|
|
14
|
-
var index
|
|
15
|
-
var index$
|
|
15
|
+
var index = require('../hyTooltip/index.js');
|
|
16
|
+
var index$1 = require('../hyButton/index.js');
|
|
17
|
+
var index$2 = require('../hyIcon/index.js');
|
|
18
|
+
var index$3 = require('../hySearch/index.js');
|
|
16
19
|
var adaptive = require('../../utils/adaptive.js');
|
|
17
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
18
|
-
var index = require('../appTooltip/index.js');
|
|
19
|
-
var index$2 = require('../appIcon/index.js');
|
|
20
20
|
var is = require('../../utils/is.js');
|
|
21
21
|
|
|
22
|
-
import "./style/
|
|
22
|
+
import "./style/table.scss";
|
|
23
23
|
|
|
24
24
|
const __default__ = vue.defineComponent({
|
|
25
|
-
name: "
|
|
25
|
+
name: "HyTable"
|
|
26
26
|
});
|
|
27
27
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
28
28
|
props: {
|
|
@@ -254,7 +254,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
254
254
|
{
|
|
255
255
|
ref_key: "containerRef",
|
|
256
256
|
ref: containerRef,
|
|
257
|
-
class: "
|
|
257
|
+
class: "hy-table"
|
|
258
258
|
},
|
|
259
259
|
[
|
|
260
260
|
vue.createCommentVNode(" \u64CD\u4F5C\u680F "),
|
|
@@ -287,7 +287,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
287
287
|
/* TEXT */
|
|
288
288
|
)
|
|
289
289
|
], 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
|
|
290
|
-
vue.unref(searchPlaceholder) ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
290
|
+
vue.unref(searchPlaceholder) ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyTooltip), {
|
|
291
291
|
key: 2,
|
|
292
292
|
"is-always": "",
|
|
293
293
|
overLine: 1,
|
|
@@ -308,7 +308,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
308
308
|
vue.createVNode(vue.unref(elementPlus.ElInput), {
|
|
309
309
|
modelValue: __props.filterModel.query,
|
|
310
310
|
"onUpdate:modelValue": ($event) => __props.filterModel.query = $event,
|
|
311
|
-
class: "
|
|
311
|
+
class: "hy-table-search",
|
|
312
312
|
placeholder: vue.unref(t)("table.searchFor", [__props.controllerText || ""]),
|
|
313
313
|
onFocus: vue.unref(onSearchInputHandler),
|
|
314
314
|
onBlur: vue.unref(onSearchBlurHandler),
|
|
@@ -338,13 +338,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
338
338
|
]),
|
|
339
339
|
_: 1
|
|
340
340
|
/* STABLE */
|
|
341
|
-
})) : (vue.openBlock(), vue.createBlock(vue.unref(index$1.
|
|
341
|
+
})) : (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyButton), {
|
|
342
342
|
key: 3,
|
|
343
343
|
type: "primary",
|
|
344
344
|
onClick: ($event) => vue.unref(getData)()
|
|
345
345
|
}, {
|
|
346
346
|
default: vue.withCtx(() => [
|
|
347
|
-
vue.createVNode(vue.unref(index$2.
|
|
347
|
+
vue.createVNode(vue.unref(index$2.HyIcon), {
|
|
348
348
|
class: "w-[12px] h-[12px]",
|
|
349
349
|
"svg-name": "refres"
|
|
350
350
|
})
|
|
@@ -362,7 +362,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
362
362
|
])) : vue.createCommentVNode("v-if", true)
|
|
363
363
|
]),
|
|
364
364
|
vue.createCommentVNode(" \u67E5\u8BE2\u8FC7\u6EE4 "),
|
|
365
|
-
__props.filterColumns.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.
|
|
365
|
+
__props.filterColumns.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HySearch), {
|
|
366
366
|
key: 0,
|
|
367
367
|
ref_key: "appSearchRef",
|
|
368
368
|
ref: appSearchRef,
|
|
@@ -444,7 +444,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
444
444
|
}, {
|
|
445
445
|
default: vue.withCtx(() => [
|
|
446
446
|
vue.renderSlot(_ctx.$slots, column.headerSlot, vue.mergeProps({ ref_for: true }, { column, $index: scope.$index }), () => [
|
|
447
|
-
!vue.unref(is.isEmpty)(vue.unref(index$4.renderHeaderHandler)(column, scope)) ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
447
|
+
!vue.unref(is.isEmpty)(vue.unref(index$4.renderHeaderHandler)(column, scope)) ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyTooltip), {
|
|
448
448
|
key: 0,
|
|
449
449
|
"is-always": false,
|
|
450
450
|
"over-line": 1,
|
|
@@ -457,10 +457,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
457
457
|
}, 1032, ["column", "filter-model", "onSearch"])
|
|
458
458
|
]),
|
|
459
459
|
default: vue.withCtx((scope) => [
|
|
460
|
-
column?.slot ? vue.renderSlot(_ctx.$slots, column?.slot, vue.mergeProps({
|
|
461
|
-
key: 0,
|
|
462
|
-
ref_for: true
|
|
463
|
-
}, scope)) : column.type === "operator" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
460
|
+
column?.slot ? vue.renderSlot(_ctx.$slots, column?.slot, vue.mergeProps({ ref_for: true }, scope), void 0, void 0, 0) : column.type === "operator" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
464
461
|
key: 1,
|
|
465
462
|
class: "flex items-center justify-between text-main"
|
|
466
463
|
}, [
|
|
@@ -472,7 +469,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
472
469
|
scope,
|
|
473
470
|
"default"
|
|
474
471
|
), (citem, cindex) => {
|
|
475
|
-
return vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
472
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index.HyTooltip), {
|
|
476
473
|
key: cindex,
|
|
477
474
|
"is-always": "",
|
|
478
475
|
overLine: 1,
|
|
@@ -483,7 +480,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
483
480
|
class: vue.normalizeClass(["w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border cursor-pointer", citem.className]),
|
|
484
481
|
onClick: ($event) => vue.unref(index$4.operatorClickHandler)(cindex, column, scope, "default")
|
|
485
482
|
}, [
|
|
486
|
-
vue.createCommentVNode(' <
|
|
483
|
+
vue.createCommentVNode(' <HyIcon\n :svg-name="citem.svgName"\n class-name="!w-4 !h-4"\n /> '),
|
|
487
484
|
vue.createElementVNode("div", { class: "w-4 h-4" }, [
|
|
488
485
|
vue.createVNode(vue.unref(elementPlus.ElIcon), {
|
|
489
486
|
size: "16",
|
|
@@ -585,14 +582,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
585
582
|
]),
|
|
586
583
|
default: vue.withCtx(() => [
|
|
587
584
|
vue.createElementVNode("span", null, [
|
|
588
|
-
vue.createVNode(vue.unref(index.
|
|
585
|
+
vue.createVNode(vue.unref(index.HyTooltip), {
|
|
589
586
|
"is-always": "",
|
|
590
587
|
overLine: 1,
|
|
591
588
|
content: vue.unref(t)("table.moreOperations")
|
|
592
589
|
}, {
|
|
593
590
|
default: vue.withCtx(() => [
|
|
594
591
|
vue.createElementVNode("div", { class: "w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-main text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border cursor-pointer" }, [
|
|
595
|
-
vue.createVNode(vue.unref(index$2.
|
|
592
|
+
vue.createVNode(vue.unref(index$2.HyIcon), {
|
|
596
593
|
"svg-name": "system-burst_analysis_select_option",
|
|
597
594
|
"class-name": "!w-4 !h-4"
|
|
598
595
|
}),
|
|
@@ -617,7 +614,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
617
614
|
vue.Fragment,
|
|
618
615
|
{ key: 2 },
|
|
619
616
|
[
|
|
620
|
-
!vue.unref(is.isEmpty)(vue.unref(index$4.renderContentHandler)(column, scope)) ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
617
|
+
!vue.unref(is.isEmpty)(vue.unref(index$4.renderContentHandler)(column, scope)) ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyTooltip), {
|
|
621
618
|
key: 0,
|
|
622
619
|
"over-line": 2,
|
|
623
620
|
"is-always": false,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tableForm = require('./tableForm.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyTableForm = handler.withInstall(tableForm.default);
|
|
9
|
+
|
|
10
|
+
exports.HyTableForm = HyTableForm;
|
|
11
|
+
exports.default = HyTableForm;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
|
|
7
|
+
import "./style/tableForm.scss";
|
|
8
|
+
|
|
9
|
+
const __default__ = vue.defineComponent({
|
|
10
|
+
name: "HyTableForm"
|
|
11
|
+
});
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
13
|
+
props: {},
|
|
14
|
+
emits: [],
|
|
15
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
16
|
+
__expose({});
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
19
|
+
vue.createCommentVNode(" HyTableForm \u5185\u5BB9 ")
|
|
20
|
+
]);
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var timePicker = require('./timePicker.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyTimePicker = handler.withInstall(timePicker.default);
|
|
9
|
+
const ElTimePicker = handler.withInstall(timePicker.default, "ElTimePicker");
|
|
10
|
+
|
|
11
|
+
exports.ElTimePicker = ElTimePicker;
|
|
12
|
+
exports.HyTimePicker = HyTimePicker;
|
|
13
|
+
exports.default = HyTimePicker;
|
|
File without changes
|
package/lib/components/{appTimePicker/appTimePicker.vue.js → hyTimePicker/timePicker.vue.js}
RENAMED
|
@@ -8,10 +8,10 @@ var elementPlus = require('element-plus');
|
|
|
8
8
|
var useLocale = require('../../hooks/useLocale.js');
|
|
9
9
|
var is = require('../../utils/is.js');
|
|
10
10
|
|
|
11
|
-
import "./style/
|
|
11
|
+
import "./style/timePicker.scss";
|
|
12
12
|
|
|
13
13
|
const __default__ = vue.defineComponent({
|
|
14
|
-
name: "
|
|
14
|
+
name: "HyTimePicker"
|
|
15
15
|
});
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
17
17
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tooltip = require('./tooltip.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyTooltip = handler.withInstall(tooltip.default);
|
|
9
|
+
const ElTooltip = handler.withInstall(tooltip.default, "ElTooltip");
|
|
10
|
+
|
|
11
|
+
exports.ElTooltip = ElTooltip;
|
|
12
|
+
exports.HyTooltip = HyTooltip;
|
|
13
|
+
exports.default = HyTooltip;
|
|
File without changes
|
|
@@ -7,10 +7,10 @@ var elementPlus = require('element-plus');
|
|
|
7
7
|
var useTooltipConfig = require('../../hooks/useTooltipConfig.js');
|
|
8
8
|
var is = require('../../utils/is.js');
|
|
9
9
|
|
|
10
|
-
import "./style/
|
|
10
|
+
import "./style/tooltip.scss";
|
|
11
11
|
|
|
12
12
|
const __default__ = vue.defineComponent({
|
|
13
|
-
name: "
|
|
13
|
+
name: "HyTooltip"
|
|
14
14
|
});
|
|
15
15
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
16
16
|
props: {
|
|
@@ -73,13 +73,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
73
73
|
content: _ctx.$slots.content ? void 0 : __props.content
|
|
74
74
|
}), vue.createSlots({
|
|
75
75
|
default: vue.withCtx(() => [
|
|
76
|
-
__props.isAlways ? vue.renderSlot(_ctx.$slots, "default", {
|
|
76
|
+
__props.isAlways ? vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
77
77
|
vue.createTextVNode(
|
|
78
78
|
vue.toDisplayString(__props.content),
|
|
79
79
|
1
|
|
80
80
|
/* TEXT */
|
|
81
81
|
)
|
|
82
|
-
]) : (vue.openBlock(), vue.createElementBlock(
|
|
82
|
+
], void 0, 0) : (vue.openBlock(), vue.createElementBlock(
|
|
83
83
|
"span",
|
|
84
84
|
{
|
|
85
85
|
key: 1,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tree = require('./tree.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyTree = handler.withInstall(tree.default);
|
|
9
|
+
|
|
10
|
+
exports.HyTree = HyTree;
|
|
11
|
+
exports.default = HyTree;
|
|
@@ -8,10 +8,10 @@ var hyVirtualTree = require('hy-virtual-tree');
|
|
|
8
8
|
var index = require('./js/index.js');
|
|
9
9
|
var treeConfig = require('./config/tree-config.js');
|
|
10
10
|
var useMixins = require('../../hooks/useMixins.js');
|
|
11
|
-
var index$1 = require('../
|
|
11
|
+
var index$1 = require('../hyIcon/index.js');
|
|
12
12
|
|
|
13
13
|
const __default__ = vue.defineComponent({
|
|
14
|
-
name: "
|
|
14
|
+
name: "HyTree"
|
|
15
15
|
});
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
17
17
|
props: {
|
|
@@ -213,7 +213,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
213
213
|
class: "searchBox flex-shrink-0",
|
|
214
214
|
onClick: ($event) => vue.unref(refreshData)()
|
|
215
215
|
}, [
|
|
216
|
-
vue.createVNode(vue.unref(index$1.
|
|
216
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
217
217
|
"svg-name": "search",
|
|
218
218
|
"class-name": "w-[16px] h-[16px]"
|
|
219
219
|
})
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var userAvatar = require('./userAvatar.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyUserAvatar = handler.withInstall(userAvatar.default);
|
|
9
|
+
|
|
10
|
+
exports.HyUserAvatar = HyUserAvatar;
|
|
11
|
+
exports.default = HyUserAvatar;
|
package/lib/components/{appUserAvatar/appUserAvatar.vue.js → hyUserAvatar/userAvatar.vue.js}
RENAMED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
-
var
|
|
6
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
7
7
|
var useUserAvatarMap = require('../../hooks/useUserAvatarMap.js');
|
|
8
|
+
var index = require('../hyIcon/index.js');
|
|
8
9
|
var adaptive = require('../../utils/adaptive.js');
|
|
9
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
10
10
|
|
|
11
|
-
import "./style/
|
|
11
|
+
import "./style/userAvatar.scss";
|
|
12
12
|
|
|
13
13
|
const __default__ = vue.defineComponent({
|
|
14
|
-
name: "
|
|
14
|
+
name: "HyUserAvatar"
|
|
15
15
|
});
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
17
17
|
props: {
|
|
@@ -85,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
85
85
|
height: `${parseRem(__props.height)}rem`,
|
|
86
86
|
"border-color": __props.device?.onlineState === 1 ? __props.audioContextType ? "rgb(var(--hy-theme))" : isGbDevice.value ? "#FDE777" : "rgb(var(--hy-auxiliary))" : "rgb(var(--hy-info))"
|
|
87
87
|
}),
|
|
88
|
-
class: "
|
|
88
|
+
class: "hy-user-avatar"
|
|
89
89
|
},
|
|
90
90
|
[
|
|
91
91
|
isGbDevice.value ? (vue.openBlock(), vue.createElementBlock(
|
|
@@ -108,11 +108,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
108
108
|
key: 0,
|
|
109
109
|
src: headImg.value,
|
|
110
110
|
alt: vue.unref(t)("userAvatar.userAvatar")
|
|
111
|
-
}, null, 8, ["src", "alt"])) : __props.device?.onlineState === 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
111
|
+
}, null, 8, ["src", "alt"])) : __props.device?.onlineState === 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyIcon), {
|
|
112
112
|
key: 1,
|
|
113
113
|
"svg-name": __props.initSelectSvgName,
|
|
114
114
|
className: "svgBox"
|
|
115
|
-
}, null, 8, ["svg-name"])) : (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
115
|
+
}, null, 8, ["svg-name"])) : (vue.openBlock(), vue.createBlock(vue.unref(index.HyIcon), {
|
|
116
116
|
key: 2,
|
|
117
117
|
"svg-name": __props.initSvgName,
|
|
118
118
|
className: "svgBox"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var videoPlayer = require('./videoPlayer.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyVideoPlayer = handler.withInstall(videoPlayer.default);
|
|
9
|
+
|
|
10
|
+
exports.HyVideoPlayer = HyVideoPlayer;
|
|
11
|
+
exports.default = HyVideoPlayer;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var elementPlus = require('element-plus');
|
|
5
|
+
var useLocale = require('../../../hooks/useLocale.js');
|
|
5
6
|
var useVideoPlayerConfig = require('../../../hooks/useVideoPlayerConfig.js');
|
|
6
7
|
var date = require('../../../utils/date.js');
|
|
7
|
-
var index = require('../../
|
|
8
|
+
var index = require('../../hyConfirmDialog/index.js');
|
|
8
9
|
var handler = require('../../../utils/handler.js');
|
|
9
10
|
var is = require('../../../utils/is.js');
|
|
10
|
-
var useLocale = require('../../../hooks/useLocale.js');
|
|
11
11
|
|
|
12
12
|
const useVideoPlayer = (hy) => {
|
|
13
13
|
const { props, emits, videoRef, videoWrapperRef } = hy;
|
|
@@ -332,7 +332,7 @@ const useVideoPlayer = (hy) => {
|
|
|
332
332
|
if (newOpenWindow) {
|
|
333
333
|
elementPlus.ElMessage.success(t("videoPlayer.operationSuccessful"));
|
|
334
334
|
} else {
|
|
335
|
-
index.
|
|
335
|
+
index.HyConfirmDialog.confirm({
|
|
336
336
|
title: "\u8DF3\u8F6C\u63D0\u793A",
|
|
337
337
|
content: `<div><p>${t(
|
|
338
338
|
"videoPlayer.theCurrentBrowserBlocksTheOpeningOfNewWindows"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.operator-box {
|
|
28
28
|
height: 65px;
|
|
29
29
|
.center-operator {
|
|
30
|
-
.
|
|
30
|
+
.hy-icon {
|
|
31
31
|
width: 34px;
|
|
32
32
|
height: 34px;
|
|
33
33
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
height: 28px;
|
|
50
50
|
font-size: 14px;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.hy-icon {
|
|
53
53
|
width: 28px;
|
|
54
54
|
height: 28px;
|
|
55
55
|
&.volume-icon {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
z-index: 100;
|
|
67
67
|
color: rgba(var(--hy-main));
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
.hy-icon {
|
|
70
70
|
width: 28px;
|
|
71
71
|
height: 28px;
|
|
72
72
|
}
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
align-items: center;
|
|
152
152
|
justify-content: center;
|
|
153
153
|
cursor: pointer;
|
|
154
|
-
.
|
|
154
|
+
.hy-icon {
|
|
155
155
|
width: 26px;
|
|
156
156
|
height: 26px;
|
|
157
157
|
}
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
background-color: rgba(var(--hy-background-2));
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.
|
|
192
|
+
.hy-icon {
|
|
193
193
|
width: 18px;
|
|
194
194
|
height: 18px;
|
|
195
195
|
cursor: pointer;
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
row-gap: 10px;
|
|
213
213
|
transition: all 0.3s linear;
|
|
214
214
|
|
|
215
|
-
.
|
|
215
|
+
.hy-icon {
|
|
216
216
|
width: 24px;
|
|
217
217
|
height: 24px;
|
|
218
218
|
cursor: pointer;
|