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
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var useEnsureHyIcon = require('../../hooks/useEnsureHyIcon.js');
|
|
7
7
|
|
|
8
|
-
import "./style/
|
|
8
|
+
import "./style/icon.scss";
|
|
9
9
|
|
|
10
10
|
const __default__ = vue.defineComponent({
|
|
11
|
-
name: "
|
|
11
|
+
name: "HyIcon"
|
|
12
12
|
});
|
|
13
13
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
14
14
|
props: {
|
|
@@ -36,9 +36,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
36
36
|
const iconName = vue.computed(() => `#${props.prefix}${props.svgName}`);
|
|
37
37
|
const svgClass = vue.computed(() => {
|
|
38
38
|
if (props.className) {
|
|
39
|
-
return "
|
|
39
|
+
return "hy-icon " + props.className || "";
|
|
40
40
|
} else {
|
|
41
|
-
return "
|
|
41
|
+
return "hy-icon";
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
return (_ctx, _cache) => {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var icon = require('./icon.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyIcon = handler.withInstall(icon.default);
|
|
9
|
+
|
|
10
|
+
exports.HyIcon = HyIcon;
|
|
11
|
+
exports.default = HyIcon;
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
-
var index = require('../
|
|
7
|
+
var index = require('../hyIcon/index.js');
|
|
8
8
|
|
|
9
|
-
import "./style/
|
|
9
|
+
import "./style/iconBox.scss";
|
|
10
10
|
|
|
11
11
|
const __default__ = vue.defineComponent({
|
|
12
|
-
name: "
|
|
12
|
+
name: "HyIconBox"
|
|
13
13
|
});
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
15
15
|
props: {
|
|
@@ -56,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
return (_ctx, _cache) => {
|
|
59
|
-
return vue.openBlock(), vue.createElementBlock("div", { class: "
|
|
59
|
+
return vue.openBlock(), vue.createElementBlock("div", { class: "hy-icon-box" }, [
|
|
60
60
|
vue.createVNode(vue.unref(elementPlus.ElTooltip), {
|
|
61
61
|
"open-delay": 500,
|
|
62
62
|
class: "item",
|
|
@@ -69,11 +69,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
69
69
|
vue.createElementVNode(
|
|
70
70
|
"div",
|
|
71
71
|
{
|
|
72
|
-
class: vue.normalizeClass(["
|
|
72
|
+
class: vue.normalizeClass(["hy-icon-box-content clickBox", __props.className]),
|
|
73
73
|
style: vue.normalizeStyle(style.value)
|
|
74
74
|
},
|
|
75
75
|
[
|
|
76
|
-
vue.createVNode(vue.unref(index.
|
|
76
|
+
vue.createVNode(vue.unref(index.HyIcon), {
|
|
77
77
|
prefix: __props.prefix,
|
|
78
78
|
"svg-name": __props.svgName,
|
|
79
79
|
style: { width: "100%", height: "100%" }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var iconBox = require('./iconBox.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyIconBox = handler.withInstall(iconBox.default);
|
|
9
|
+
|
|
10
|
+
exports.HyIconBox = HyIconBox;
|
|
11
|
+
exports.default = HyIconBox;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var input = require('./input.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyInput = handler.withInstall(input.default);
|
|
9
|
+
const ElInput = handler.withInstall(input.default, "ElInput");
|
|
10
|
+
|
|
11
|
+
exports.ElInput = ElInput;
|
|
12
|
+
exports.HyInput = HyInput;
|
|
13
|
+
exports.default = HyInput;
|
|
@@ -7,7 +7,7 @@ var elementPlus = require('element-plus');
|
|
|
7
7
|
var form = require('../../utils/form.js');
|
|
8
8
|
|
|
9
9
|
const __default__ = vue.defineComponent({
|
|
10
|
-
name: "
|
|
10
|
+
name: "HyInput"
|
|
11
11
|
});
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
13
13
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var menu = require('./menu.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyMenu = handler.withInstall(menu.default);
|
|
9
|
+
|
|
10
|
+
exports.HyMenu = HyMenu;
|
|
11
|
+
exports.default = HyMenu;
|
|
@@ -5,14 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
-
var
|
|
9
|
-
var index = require('../
|
|
10
|
-
var index$1 = require('../appIcon/index.js');
|
|
8
|
+
var index = require('../hyTooltip/index.js');
|
|
9
|
+
var index$1 = require('../hyIcon/index.js');
|
|
11
10
|
|
|
12
|
-
import "./style/
|
|
11
|
+
import "./style/menu.scss";
|
|
13
12
|
|
|
14
13
|
const __default__ = vue.defineComponent({
|
|
15
|
-
name: "
|
|
14
|
+
name: "HyMenu"
|
|
16
15
|
});
|
|
17
16
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
18
17
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -20,24 +19,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
20
19
|
type: Array,
|
|
21
20
|
default: () => []
|
|
22
21
|
},
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: () => ""
|
|
25
|
+
},
|
|
23
26
|
showShrink: {
|
|
24
27
|
type: Boolean,
|
|
25
28
|
default: false
|
|
26
29
|
}
|
|
27
30
|
}, {
|
|
28
|
-
"modelValue": { type: String, default: "" },
|
|
29
|
-
"modelModifiers": {},
|
|
30
31
|
"expand": { type: Boolean, default: true },
|
|
31
32
|
"expandModifiers": {}
|
|
32
33
|
}),
|
|
33
|
-
emits: /* @__PURE__ */ vue.mergeModels(["select", "open", "close"], ["update:
|
|
34
|
+
emits: /* @__PURE__ */ vue.mergeModels(["select", "open", "close"], ["update:expand"]),
|
|
34
35
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
35
36
|
const emits = __emit;
|
|
36
|
-
const { permissionMap } = usePermissionMap.usePermissionMap();
|
|
37
|
-
const modelValue = vue.useModel(__props, "modelValue");
|
|
38
37
|
const expand = vue.useModel(__props, "expand");
|
|
39
38
|
function onClickHandler(item) {
|
|
40
|
-
modelValue.value = item.path;
|
|
41
39
|
emits("select", item);
|
|
42
40
|
}
|
|
43
41
|
function onExpandHandler() {
|
|
@@ -57,47 +55,39 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
57
55
|
vue.Fragment,
|
|
58
56
|
null,
|
|
59
57
|
vue.renderList(__props.menu, (item, index$2) => {
|
|
60
|
-
return vue.openBlock(), vue.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
]),
|
|
94
|
-
_: 2
|
|
95
|
-
/* DYNAMIC */
|
|
96
|
-
}, 1032, ["disabled", "content"])) : vue.createCommentVNode("v-if", true)
|
|
97
|
-
],
|
|
98
|
-
64
|
|
99
|
-
/* STABLE_FRAGMENT */
|
|
100
|
-
);
|
|
58
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index.HyTooltip), {
|
|
59
|
+
key: index$2,
|
|
60
|
+
"is-always": "",
|
|
61
|
+
overLine: 1,
|
|
62
|
+
disabled: expand.value,
|
|
63
|
+
content: item.label,
|
|
64
|
+
placement: "right"
|
|
65
|
+
}, {
|
|
66
|
+
default: vue.withCtx(() => [
|
|
67
|
+
vue.createElementVNode("div", {
|
|
68
|
+
class: vue.normalizeClass(["operator-menu-item", { "operator-menu-item-active": __props.modelValue === item.path }]),
|
|
69
|
+
onClick: vue.withModifiers(($event) => onClickHandler(item), ["stop"])
|
|
70
|
+
}, [
|
|
71
|
+
vue.createElementVNode("div", { class: "operator-label clickBox" }, [
|
|
72
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
73
|
+
"svg-name": `${item.iconName}`,
|
|
74
|
+
"class-name": "!w-5 !h-5 flex-shrink-0"
|
|
75
|
+
}, null, 8, ["svg-name"]),
|
|
76
|
+
vue.createElementVNode(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
class: vue.normalizeClass([{ "ml-3": expand.value }, "over_one_line w-full px-2"])
|
|
80
|
+
},
|
|
81
|
+
vue.toDisplayString(expand.value ? item.label : item.tip || item.label),
|
|
82
|
+
3
|
|
83
|
+
/* TEXT, CLASS */
|
|
84
|
+
)
|
|
85
|
+
])
|
|
86
|
+
], 10, ["onClick"])
|
|
87
|
+
]),
|
|
88
|
+
_: 2
|
|
89
|
+
/* DYNAMIC */
|
|
90
|
+
}, 1032, ["disabled", "content"]);
|
|
101
91
|
}),
|
|
102
92
|
128
|
|
103
93
|
/* KEYED_FRAGMENT */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var noPermissions = require('./noPermissions.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyNoPermissions = handler.withInstall(noPermissions.default);
|
|
9
|
+
|
|
10
|
+
exports.HyNoPermissions = HyNoPermissions;
|
|
11
|
+
exports.default = HyNoPermissions;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
-
var index = require('../appIcon/index.js');
|
|
7
6
|
var useLocale = require('../../hooks/useLocale.js');
|
|
7
|
+
var index = require('../hyIcon/index.js');
|
|
8
8
|
|
|
9
|
-
import "./style/
|
|
9
|
+
import "./style/noPermissions.scss";
|
|
10
10
|
|
|
11
11
|
const __default__ = vue.defineComponent({
|
|
12
|
-
name: "
|
|
12
|
+
name: "HyNoPermissions"
|
|
13
13
|
});
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
15
15
|
props: {
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
24
24
|
__expose({});
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
26
|
return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full bg-background-2 text-auxiliary text-base flex flex-col items-center justify-center" }, [
|
|
27
|
-
vue.createVNode(vue.unref(index.
|
|
27
|
+
vue.createVNode(vue.unref(index.HyIcon), {
|
|
28
28
|
"svg-name": __props.svgName,
|
|
29
29
|
"class-name": "!w-[46px] !h-[46px]"
|
|
30
30
|
}, null, 8, ["svg-name"]),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var noPermissionsMap = require('./noPermissionsMap.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyNoPermissionsMap = handler.withInstall(noPermissionsMap.default);
|
|
9
|
+
|
|
10
|
+
exports.HyNoPermissionsMap = HyNoPermissionsMap;
|
|
11
|
+
exports.default = HyNoPermissionsMap;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
-
var index = require('../appIcon/index.js');
|
|
7
6
|
var useLocale = require('../../hooks/useLocale.js');
|
|
7
|
+
var index = require('../hyIcon/index.js');
|
|
8
8
|
|
|
9
|
-
import "./style/
|
|
9
|
+
import "./style/noPermissionsMap.scss";
|
|
10
10
|
|
|
11
11
|
const __default__ = vue.defineComponent({
|
|
12
|
-
name: "
|
|
12
|
+
name: "HyNoPermissionsMap"
|
|
13
13
|
});
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
15
15
|
props: {
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
24
24
|
__expose({});
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
26
|
return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full bg-background-2 text-auxiliary text-base flex flex-col items-center justify-center" }, [
|
|
27
|
-
vue.createVNode(vue.unref(index.
|
|
27
|
+
vue.createVNode(vue.unref(index.HyIcon), {
|
|
28
28
|
"svg-name": __props.svgName,
|
|
29
29
|
"class-name": "!w-[46px] !h-[46px]"
|
|
30
30
|
}, null, 8, ["svg-name"]),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var orgCascader = require('./orgCascader.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyOrgCascader = handler.withInstall(orgCascader.default);
|
|
9
|
+
|
|
10
|
+
exports.HyOrgCascader = HyOrgCascader;
|
|
11
|
+
exports.default = HyOrgCascader;
|
package/lib/components/{appOrgCascader/appOrgCascader.vue.js → hyOrgCascader/orgCascader.vue.js}
RENAMED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
8
7
|
var useApi = require('../../hooks/useApi.js');
|
|
8
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
9
9
|
|
|
10
|
-
import "./style/
|
|
10
|
+
import "./style/orgCascader.scss";
|
|
11
11
|
|
|
12
12
|
const __default__ = vue.defineComponent({
|
|
13
|
-
name: "
|
|
13
|
+
name: "HyOrgCascader"
|
|
14
14
|
});
|
|
15
15
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
16
16
|
props: /* @__PURE__ */ vue.mergeModels({
|
package/lib/components/{appSearch/cpns/appSearchItem.vue.js → hySearch/cpns/searchItem.vue.js}
RENAMED
|
@@ -7,13 +7,13 @@ var elementPlus = require('element-plus');
|
|
|
7
7
|
var index = require('../js/index.js');
|
|
8
8
|
var is = require('../../../utils/is.js');
|
|
9
9
|
var form = require('../../../utils/form.js');
|
|
10
|
-
var index$1 = require('../../
|
|
11
|
-
var index$2 = require('../../
|
|
12
|
-
var index$3 = require('../../
|
|
13
|
-
var index$4 = require('../../
|
|
10
|
+
var index$1 = require('../../hyInput/index.js');
|
|
11
|
+
var index$2 = require('../../hyDatePicker/index.js');
|
|
12
|
+
var index$3 = require('../../hyTimePicker/index.js');
|
|
13
|
+
var index$4 = require('../../hyOrgCascader/index.js');
|
|
14
14
|
|
|
15
15
|
const _sfc_main = {
|
|
16
|
-
__name: "
|
|
16
|
+
__name: "searchItem",
|
|
17
17
|
props: {
|
|
18
18
|
model: {
|
|
19
19
|
type: Object,
|
|
@@ -96,10 +96,7 @@ const _sfc_main = {
|
|
|
96
96
|
}])
|
|
97
97
|
},
|
|
98
98
|
[
|
|
99
|
-
__props.column.labelSlot && _ctx.$slots[__props.column.labelSlot] ? vue.renderSlot(_ctx.$slots, __props.column.labelSlot, {
|
|
100
|
-
key: 0,
|
|
101
|
-
column: __props.column
|
|
102
|
-
}) : (vue.openBlock(), vue.createElementBlock(
|
|
99
|
+
__props.column.labelSlot && _ctx.$slots[__props.column.labelSlot] ? vue.renderSlot(_ctx.$slots, __props.column.labelSlot, { column: __props.column }, void 0, void 0, 0) : (vue.openBlock(), vue.createElementBlock(
|
|
103
100
|
"span",
|
|
104
101
|
{ key: 1 },
|
|
105
102
|
vue.toDisplayString(__props.column.label),
|
|
@@ -114,20 +111,17 @@ const _sfc_main = {
|
|
|
114
111
|
vue.createElementVNode(
|
|
115
112
|
"div",
|
|
116
113
|
{
|
|
117
|
-
class: vue.normalizeClass({ "
|
|
114
|
+
class: vue.normalizeClass({ "hy-search-custom-wrapper": __props.column.slot }),
|
|
118
115
|
style: vue.normalizeStyle(vue.unref(index.columnItemInputStyle)(props, __props.column))
|
|
119
116
|
},
|
|
120
117
|
[
|
|
121
118
|
vue.createCommentVNode(" \u81EA\u5B9A\u4E49\u5177\u540D\u63D2\u69FD "),
|
|
122
|
-
__props.column.slot ? vue.renderSlot(_ctx.$slots, __props.column.slot, {
|
|
123
|
-
key: 0,
|
|
124
|
-
column: __props.column
|
|
125
|
-
}) : __props.column.type === "input" ? (vue.openBlock(), vue.createElementBlock(
|
|
119
|
+
__props.column.slot ? vue.renderSlot(_ctx.$slots, __props.column.slot, { column: __props.column }, void 0, void 0, 0) : __props.column.type === "input" ? (vue.openBlock(), vue.createElementBlock(
|
|
126
120
|
vue.Fragment,
|
|
127
121
|
{ key: 1 },
|
|
128
122
|
[
|
|
129
123
|
vue.createCommentVNode(" \u8F93\u5165\u6846 "),
|
|
130
|
-
vue.createVNode(vue.unref(index$1.
|
|
124
|
+
vue.createVNode(vue.unref(index$1.HyInput), vue.mergeProps({
|
|
131
125
|
modelValue: bindValue.value,
|
|
132
126
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
133
127
|
}, __props.column.attrs, {
|
|
@@ -164,7 +158,7 @@ const _sfc_main = {
|
|
|
164
158
|
"daterange",
|
|
165
159
|
"monthrange",
|
|
166
160
|
"yearrange"
|
|
167
|
-
].includes(__props.column.attrs?.type) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.
|
|
161
|
+
].includes(__props.column.attrs?.type) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyDatePicker), vue.mergeProps({
|
|
168
162
|
key: 0,
|
|
169
163
|
start: bindValue.value,
|
|
170
164
|
"onUpdate:start": ($event) => bindValue.value = $event,
|
|
@@ -176,7 +170,7 @@ const _sfc_main = {
|
|
|
176
170
|
}, __props.column.attrs, {
|
|
177
171
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
178
172
|
onChange: ($event) => onChangeHandler($event, __props.column)
|
|
179
|
-
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "timeRangeFill", "disabled", "onChange"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.
|
|
173
|
+
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "timeRangeFill", "disabled", "onChange"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyDatePicker), vue.mergeProps({
|
|
180
174
|
key: 1,
|
|
181
175
|
modelValue: bindValue.value,
|
|
182
176
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
@@ -195,7 +189,7 @@ const _sfc_main = {
|
|
|
195
189
|
{ key: 4 },
|
|
196
190
|
[
|
|
197
191
|
vue.createCommentVNode(" \u65F6\u95F4\u9009\u62E9\u6846 "),
|
|
198
|
-
__props.column.attrs.isRange ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.
|
|
192
|
+
__props.column.attrs.isRange ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTimePicker), vue.mergeProps({
|
|
199
193
|
key: 0,
|
|
200
194
|
start: bindValue.value,
|
|
201
195
|
"onUpdate:start": ($event) => bindValue.value = $event,
|
|
@@ -206,7 +200,7 @@ const _sfc_main = {
|
|
|
206
200
|
}, __props.column.attrs, {
|
|
207
201
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
208
202
|
onChange: onChangeHandler
|
|
209
|
-
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$3.
|
|
203
|
+
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTimePicker), vue.mergeProps({
|
|
210
204
|
key: 1,
|
|
211
205
|
modelValue: bindValue.value,
|
|
212
206
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
@@ -224,7 +218,7 @@ const _sfc_main = {
|
|
|
224
218
|
{ key: 5 },
|
|
225
219
|
[
|
|
226
220
|
vue.createCommentVNode(" \u90E8\u95E8\u7EA7\u8054\u9009\u62E9\u6846 "),
|
|
227
|
-
vue.createVNode(vue.unref(index$4.
|
|
221
|
+
vue.createVNode(vue.unref(index$4.HyOrgCascader), vue.mergeProps({
|
|
228
222
|
modelValue: bindValue.value,
|
|
229
223
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
230
224
|
}, __props.column.attrs, {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var search = require('./search.vue.js');
|
|
6
6
|
var useAppSearch = require('./js/useAppSearch.js');
|
|
7
7
|
var handler = require('../../utils/handler.js');
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const HySearch = handler.withInstall(search.default);
|
|
10
10
|
|
|
11
11
|
exports.useAppSearch = useAppSearch.useAppSearch;
|
|
12
|
-
exports.
|
|
13
|
-
exports.default =
|
|
12
|
+
exports.HySearch = HySearch;
|
|
13
|
+
exports.default = HySearch;
|
|
@@ -5,16 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
7
|
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
-
var
|
|
8
|
+
var searchItem = require('./cpns/searchItem.vue.js');
|
|
9
9
|
var index = require('./js/index.js');
|
|
10
10
|
var useAppSearch = require('./js/useAppSearch.js');
|
|
11
11
|
var useLocale = require('../../hooks/useLocale.js');
|
|
12
12
|
var is = require('../../utils/is.js');
|
|
13
13
|
|
|
14
|
-
import "./style/
|
|
14
|
+
import "./style/search.scss";
|
|
15
15
|
|
|
16
16
|
const __default__ = vue.defineComponent({
|
|
17
|
-
name: "
|
|
17
|
+
name: "HySearch"
|
|
18
18
|
});
|
|
19
19
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
20
20
|
props: {
|
|
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
65
65
|
return getFilterCount(props.model, defaultValue);
|
|
66
66
|
});
|
|
67
67
|
const appClass = vue.computed(() => {
|
|
68
|
-
return [props.class, { "
|
|
68
|
+
return [props.class, { "hy-search-hidden": props.hidden }].filter(Boolean);
|
|
69
69
|
});
|
|
70
70
|
const containerStyle = vue.computed(() => {
|
|
71
71
|
const style = {};
|
|
@@ -124,13 +124,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
124
124
|
return vue.openBlock(), vue.createElementBlock(
|
|
125
125
|
"div",
|
|
126
126
|
{
|
|
127
|
-
class: vue.normalizeClass(["
|
|
127
|
+
class: vue.normalizeClass(["hy-search", appClass.value])
|
|
128
128
|
},
|
|
129
129
|
[
|
|
130
130
|
vue.createElementVNode(
|
|
131
131
|
"div",
|
|
132
132
|
{
|
|
133
|
-
class: vue.normalizeClass(["
|
|
133
|
+
class: vue.normalizeClass(["hy-search-header", { "hy-search-header-hidden": __props.hidden }])
|
|
134
134
|
},
|
|
135
135
|
[
|
|
136
136
|
vue.createElementVNode("div", { class: "flex items-center gap-2" }, [
|
|
@@ -207,7 +207,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
207
207
|
model: __props.model,
|
|
208
208
|
"label-position": "top",
|
|
209
209
|
size: __props.size,
|
|
210
|
-
class: "
|
|
210
|
+
class: "hy-search-form"
|
|
211
211
|
}, _ctx.$attrs, { style: containerStyle.value }), {
|
|
212
212
|
default: vue.withCtx(() => [
|
|
213
213
|
vue.createElementVNode(
|
|
@@ -215,7 +215,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
215
215
|
{
|
|
216
216
|
ref_key: "formItemWrapper",
|
|
217
217
|
ref: formItemWrapper,
|
|
218
|
-
class: "
|
|
218
|
+
class: "hy-search-container"
|
|
219
219
|
},
|
|
220
220
|
[
|
|
221
221
|
vue.createCommentVNode(" \u8868\u5355\u9879 "),
|
|
@@ -223,7 +223,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
223
223
|
vue.Fragment,
|
|
224
224
|
null,
|
|
225
225
|
vue.renderList(__props.columns, (column) => {
|
|
226
|
-
return vue.openBlock(), vue.createBlock(
|
|
226
|
+
return vue.openBlock(), vue.createBlock(searchItem.default, {
|
|
227
227
|
key: column.key,
|
|
228
228
|
model: __props.model,
|
|
229
229
|
column,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.hy-search {
|
|
2
2
|
border-radius: 4px;
|
|
3
3
|
border: 1px solid rgb(var(--hy-border));
|
|
4
4
|
background-color: rgb(var(--hy-background));
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
opacity: 1;
|
|
7
7
|
transition: all 0.3s linear;
|
|
8
8
|
overflow: hidden;
|
|
9
|
-
&.
|
|
9
|
+
&.hy-search-hidden {
|
|
10
10
|
padding-top: 0;
|
|
11
11
|
padding-bottom: 0;
|
|
12
12
|
opacity: 0;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.hy-search-header {
|
|
16
16
|
height: 16px;
|
|
17
17
|
display: flex;
|
|
18
18
|
align-items: center;
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
color: rgb(var(--hy-main));
|
|
21
21
|
margin-bottom: 16px;
|
|
22
22
|
transition: all 0.3s linear;
|
|
23
|
-
&.
|
|
23
|
+
&.hy-search-header-hidden {
|
|
24
24
|
height: 0;
|
|
25
25
|
margin-bottom: 0px;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.hy-search-form {
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
transition: all 0.3s;
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.hy-search-container {
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-wrap: wrap;
|
|
35
35
|
gap: 16px;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
box-shadow: none !important;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.hy-search-custom-wrapper {
|
|
67
67
|
min-height: var(--hy-el-component-size);
|
|
68
68
|
}
|
|
69
69
|
}
|